﻿// Decompiled by AS3 Sorcerer 1.40
// http://www.as3sorcerer.com/

//------------------------------------------------------------
// case._-1XM

package  case
{
    import _-4rn._-59O;

    public class _-1XM 
    {

        public static const _-4kP:Number = 100000000;

        public var x:int = 0;
        public var y:int = 0;
        public var z:Number = 0;
        public var name:String = "";
        public var sprite:_-59O = null;

        public function dispose():void
        {
            this.sprite = null;
            this.z = -(_-4kP);
        }

    }
}//package  case

//------------------------------------------------------------
// case._-27y

package  case
{
    public class _-27y 
    {

        private var _-44i:String = "";
        private var _-G-:String = "";

        public function get _-mx():String
        {
            return (this._-44i);
        }
        public function set _-mx(_arg1:String):void
        {
            this._-44i = _arg1;
        }
        public function get _-3u():String
        {
            return (this._-G-);
        }
        public function set _-3u(_arg1:String):void
        {
            this._-G- = _arg1;
        }

    }
}//package  case

//------------------------------------------------------------
// case._-2tl

package  case
{
    import flash.display.BitmapData;
    import flash.geom.Point;

    public class _-2tl extends BitmapData 
    {

        private static const _-4XR:Point = new Point(0, 0);

        private var _-0sp:int = 0;
        private var _disposed:Boolean = false;

        public function _-2tl(_arg1:int, _arg2:int, _arg3:Boolean=true, _arg4:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        public function get _-44Q():int
        {
            return (this._-0sp);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-4EN():void
        {
            this._-0sp++;
        }
        override public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (--this._-0sp <= 0)
            {
                super.dispose();
                this._disposed = true;
            };
        }
        override public function clone():BitmapData
        {
            var data:_-2tl;
            try
            {
                data = new _-2tl(width, height, true, 0xFFFFFF);
                data.copyPixels(this, rect, _-4XR, null, null, true);
            }
            catch(e:Error)
            {
                data = new _-2tl(1, 1, true, 0xFFFFFF);
            };
            return (data);
        }

    }
}//package  case

//------------------------------------------------------------
// case._-3Fs

package  case
{
    import flash.display.Bitmap;
    import flash.geom.Point;
    import flash.display.BitmapData;

    public class _-3Fs extends Bitmap 
    {

        private var _-fk:int = 128;
        private var _-2h4:Point;
        private var _-2CI:String = "";
        private var _-0cx:String = "";
        private var _-4bh:Boolean = false;
        private var _-1vV:Boolean = false;
        private var _-04k:_-2tl = null;
        private var _-0Dz:int = 0;
        private var _height:int = 0;
        private var _updateID1:int = -1;
        private var _updateID2:int = -1;

        public function _-3Fs():void
        {
            this._-2h4 = new Point();
            cacheAsBitmap = false;
        }
        public function get _-4l2():int
        {
            return (this._-fk);
        }
        public function set _-4l2(_arg1:int):void
        {
            this._-fk = _arg1;
        }
        public function get tag():String
        {
            return (this._-2CI);
        }
        public function set tag(_arg1:String):void
        {
            this._-2CI = _arg1;
        }
        public function get identifier():String
        {
            return (this._-0cx);
        }
        public function set identifier(_arg1:String):void
        {
            this._-0cx = _arg1;
        }
        public function get _-2lJ():Boolean
        {
            return (this._-1vV);
        }
        public function set _-2lJ(_arg1:Boolean):void
        {
            this._-1vV = _arg1;
        }
        public function get _-0Yj():Boolean
        {
            return (this._-4bh);
        }
        public function set _-0Yj(_arg1:Boolean):void
        {
            this._-4bh = _arg1;
        }
        public function dispose():void
        {
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
        }
        override public function set bitmapData(_arg1:BitmapData):void
        {
            var k:_-2tl;
            if (_arg1 == bitmapData)
            {
                return;
            };
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
            if (_arg1 != null)
            {
                this._-0Dz = _arg1.width;
                this._height = _arg1.height;
                k = (_arg1 as _-2tl);
                if (k != null)
                {
                    k._-4EN();
                    this._-04k = k;
                };
            }
            else
            {
                this._-0Dz = 0;
                this._height = 0;
                this._updateID1 = -1;
                this._updateID2 = -1;
            };
            super.bitmapData = _arg1;
        }
        public function _-2G9(_arg1:int, _arg2:int):Boolean
        {
            if (((!((_arg1 == this._updateID1))) || (!((_arg2 == this._updateID2)))))
            {
                this._updateID1 = _arg1;
                this._updateID2 = _arg2;
                return (true);
            };
            if (((!((this._-04k == null))) && (this._-04k.disposed)))
            {
                return (true);
            };
            return (false);
        }
        override public function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean
        {
            return (this.hitTest(_arg1, _arg2));
        }
        public function hitTest(_arg1:int, _arg2:int):Boolean
        {
            if ((((this._-fk > 0xFF)) || ((bitmapData == null))))
            {
                return (false);
            };
            if ((((((((_arg1 < 0)) || ((_arg2 < 0)))) || ((_arg1 >= this._-0Dz)))) || ((_arg2 >= this._height))))
            {
                return (false);
            };
            return (this._-zL(_arg1, _arg2));
        }
        private function _-zL(_arg1:int, _arg2:int):Boolean
        {
            var k:uint;
            var k:Boolean;
            try
            {
                k = bitmapData.getPixel32(_arg1, _arg2);
                k = (k >> 24);
                k = (k > this._-fk);
            }
            catch(e:Error)
            {
            };
            return (k);
        }

    }
}//package  case

//------------------------------------------------------------
//_-00A._-LV

package _-00A
{
    import _-FP._-2ul;
    import _-Ew.IWindowContainer;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-3pq;
    import flash.events.IEventDispatcher;
    import _-295._-2kE;
    import _-295._-243;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-ZI.FigureData;
    import _-1FD._-N9;

    public class _-LV extends _-2ul 
    {

        private static const _-3uY:String = "Boy";
        private static const _-Vy:String = "Girl";

        private var _-PZ:IWindowContainer;
        private var _-44i:int = 0;
        private var _-1pz:int = 0;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-LV(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function dispose():void
        {
            this._-Vd();
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-3pq._-01l, this._-0Mz);
            _arg1.addEventListener(_-3pq._-20W, this._-0Mz);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-3pq._-01l, this._-0Mz);
            _arg1.removeEventListener(_-3pq._-20W, this._-0Mz);
        }
        private function _-0Mz(_arg1:_-3pq):void
        {
            switch (_arg1.type)
            {
                case _-3pq._-01l:
                    this._-0er(_arg1);
                    return;
            };
        }
        private function _-0er(_arg1:_-3pq):void
        {
            this._-Vd();
            this._-44i = _arg1._-mx;
            this._-1pz = _arg1._-4hA;
            this._-1Rt = _arg1.roomId;
            this._-0wA = _arg1.roomCategory;
            var k:_-2kE = assets.getAssetByName("boygirl");
            var k:_-243 = _-243(k);
            if (k == null)
            {
                return;
            };
            this._-PZ = (windowManager.createWindow("clothing change gender selection", "", _-4Pi._-0Dc, _-29z.NULL, (((_-3hb._-4zp | _-3hb._-2r9) | _-3hb._-0l) | _-3hb._-0g6), new Rectangle(100, 100, 200, 200), null, 0) as IWindowContainer);
            this._-PZ.buildFromXML(XML(k.content));
            this._-PZ.addEventListener(WindowMouseEvent._-90, this._-4iO);
            this._-PZ.center();
            var k:IWindow = this._-PZ.findChildByTag("close");
            if (k != null)
            {
                k.procedure = this._-59Z;
            };
            k = this._-PZ.findChildByName(_-3uY);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4iO);
            };
            k = this._-PZ.findChildByName(_-Vy);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4iO);
            };
        }
        private function _-Vd():void
        {
            if (this._-PZ != null)
            {
                this._-PZ.dispose();
                this._-PZ = null;
            };
        }
        private function _-59Z(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Vd();
        }
        private function _-4iO(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case _-3uY:
                    this._-4eP();
                    this._-Vd();
                    return;
                case _-Vy:
                    this._-1O2();
                    this._-Vd();
                    return;
                case "close":
                case "close_btn":
                    this._-Vd();
                    return;
            };
        }
        private function _-4eP():void
        {
            this._-1qz(FigureData._-0pA);
        }
        private function _-1O2():void
        {
            this._-1qz(FigureData._-0Ag);
        }
        private function _-1qz(_arg1:String):void
        {
            var k:_-N9 = new _-N9(_-N9._-23N, _arg1, this._-44i, this._-1pz, this._-1Rt, this._-0wA);
            messageListener.processWidgetMessage(k);
        }

    }
}//package _-00A

//------------------------------------------------------------
//_-00v._-2d7

package _-00v
{
    import _-16i.AbstractView;
    import _-3gx._-4BJ;
    import _-1ae.IFrameWindow;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import _-0eb._-1ih;
    import _-295._-39L;
    import _-U2._-2Pr;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1ae._-4mB;
    import _-1ae.IButtonWindow;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0eb.*;

    public class _-2d7 extends AbstractView implements _-8K 
    {

        private var _-478:_-4BJ;
        private var _-4bD:IFrameWindow = null;

        public function _-2d7(_arg1:_-1ih, _arg2:uint, _arg3:_-39L)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboCommunicationManager(), this._-35Q);
        }
        override public function dispose():void
        {
            if (this._-4bD != null)
            {
                this._-4bD.dispose();
                this._-4bD = null;
            };
            super.dispose();
        }
        private function _-35Q(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-478 = _-4BJ(_arg2);
            this._-478.addHabboConnectionMessageEvent(new _-2Pr(this._-1b6));
        }
        private function _-1b6(_arg1:_-2Pr):void
        {
            this._-0QU(_arg1._-3-5()._-WJ);
        }
        public function _-0QU(_arg1:String):void
        {
            if (this._-4bD != null)
            {
                this._-4bD.dispose();
            };
            this._-4bD = IFrameWindow(_-U-.buildFromXML((assets.getAssetByName("epic_popup_frame_xml").content as XML)));
            _-4mB(this._-4bD.findChildByName("content_static_bitmap")).assetUri = _arg1;
            IButtonWindow(this._-4bD.findChildByName("close_button")).procedure = this.buttonEventProc;
            IRegionWindow(IWindowContainer(this._-4bD).findChildByName("header_button_close")).procedure = this.buttonEventProc;
            this._-4bD.center();
        }
        private function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (this._-4bD)
            {
                if (_arg1.type == WindowMouseEvent._-90)
                {
                    this._-4bD.dispose();
                    this._-4bD = null;
                };
            };
        }

    }
}//package _-00v

//------------------------------------------------------------
//_-01j.Game2ArenaEnteredMessageParser

package _-01j
{
    import _-1Fi.Game2PlayerData;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2ArenaEnteredMessageParser implements _-58N 
    {

        private var _-pa:Game2PlayerData;

        public function flush():Boolean
        {
            if (this._-pa)
            {
                this._-pa.dispose();
                this._-pa = null;
            };
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-pa = new Game2PlayerData();
            this._-pa.parse(_arg1);
            return (true);
        }
        public function get player():Game2PlayerData
        {
            return (this._-pa);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2EnterArenaFailedMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2EnterArenaFailedMessageParser implements _-58N 
    {

        public static const _-UD:int = 1;
        public static const _-ic:int = 2;
        public static const _-3K-:int = 3;
        public static const _-35o:int = 4;

        private var _-3Dw:int;

        public function get reason():int
        {
            return (this._-3Dw);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            return (true);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2EnterArenaMessageParser

package _-01j
{
    import _-1Fi._-0Iz;
    import _-1Fi.Game2PlayerData;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2EnterArenaMessageParser implements _-58N 
    {

        private var _-2t:int;
        private var _-07F:int;
        private var _-3li:int;
        private var _-3lc:Array;
        private var _-4vm:_-0Iz;

        public function Game2EnterArenaMessageParser()
        {
            this._-3lc = [];
        }
        public function flush():Boolean
        {
            var k:Game2PlayerData;
            this._-2t = -1;
            this._-07F = -1;
            this._-3li = -1;
            for each (k in this._-3lc)
            {
                k.dispose();
            };
            this._-3lc = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:Game2PlayerData;
            this._-2t = _arg1._-2BW();
            this._-07F = _arg1._-2BW();
            this._-3li = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new Game2PlayerData();
                k.parse(_arg1);
                this._-3lc.push(k);
                k++;
            };
            this._-4vm = new _-0Iz(_arg1);
            return (true);
        }
        public function get _-3ca():int
        {
            return (this._-2t);
        }
        public function get _-4dH():int
        {
            return (this._-07F);
        }
        public function get _-0Sk():int
        {
            return (this._-3li);
        }
        public function get _-EZ():Array
        {
            return (this._-3lc);
        }
        public function get _-3DF():_-0Iz
        {
            return (this._-4vm);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2GameChatFromPlayerMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameChatFromPlayerMessageParser implements _-58N 
    {

        private var _-4lu:int;
        private var _-mI:String;

        public function flush():Boolean
        {
            this._-4lu = -1;
            this._-mI = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            this._-mI = _arg1.readString();
            return (true);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-4Is():String
        {
            return (this._-mI);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2GameEndingMessageParser

package _-01j
{
    import _-1Fi.Game2SnowWarGameStats;
    import _-1Fi.Game2GameResult;
    import _-1Fi.Game2TeamScoreData;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameEndingMessageParser implements _-58N 
    {

        private var _-0NW:int;
        private var _-4jA:Array;
        private var _-l-:Array;
        private var _-4gi:Game2SnowWarGameStats;
        private var _-hZ:Game2GameResult;

        public function flush():Boolean
        {
            this._-0NW = -1;
            this._-4jA = [];
            this._-l- = [];
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            this._-0NW = _arg1._-2BW();
            this._-hZ = new Game2GameResult(_arg1);
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-4jA.push(new Game2TeamScoreData(_arg1));
                k++;
            };
            this._-4gi = new Game2SnowWarGameStats(_arg1);
            return (true);
        }
        public function get _-0Zj():int
        {
            return (this._-0NW);
        }
        public function get _-4zd():Array
        {
            return (this._-4jA);
        }
        public function get _-07P():Array
        {
            return (this._-l-);
        }
        public function get _-xi():Game2GameResult
        {
            return (this._-hZ);
        }
        public function get _-3lM():Game2SnowWarGameStats
        {
            return (this._-4gi);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2GameRejoinMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameRejoinMessageParser implements _-58N 
    {

        private var _-51Q:int;

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-51Q = _arg1._-2BW();
            return (true);
        }
        public function get _-0HJ():int
        {
            return (this._-51Q);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2PlayerExitedGameArenaMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2PlayerExitedGameArenaMessageParser implements _-58N 
    {

        private var _-4lu:int;
        private var _-4tG:int;

        public function flush():Boolean
        {
            this._-4lu = NaN;
            this._-4tG = NaN;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            this._-4tG = _arg1._-2BW();
            return (true);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-4-j():int
        {
            return (this._-4tG);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2PlayerRematchesMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2PlayerRematchesMessageParser implements _-58N 
    {

        private var _-4lu:int;

        public function get userId():int
        {
            return (this._-4lu);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            return (true);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2StageEndingMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2StageEndingMessageParser implements _-58N 
    {

        private var _-0NW:int;

        public function flush():Boolean
        {
            this._-0NW = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0NW = _arg1._-2BW();
            return (true);
        }
        public function get _-0Zj():int
        {
            return (this._-0NW);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2StageLoadMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2StageLoadMessageParser implements _-58N 
    {

        private var _-2t:int;

        public function flush():Boolean
        {
            this._-2t = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2t = _arg1._-2BW();
            return (true);
        }
        public function get _-3ca():int
        {
            return (this._-2t);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2StageRunningMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2StageRunningMessageParser implements _-58N 
    {

        private var _-0D7:int;

        public function flush():Boolean
        {
            this._-0D7 = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0D7 = _arg1._-2BW();
            return (true);
        }
        public function get _-4hw():int
        {
            return (this._-0D7);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2StageStartingMessageParser

package _-01j
{
    import _-1Fi._-09J;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2StageStartingMessageParser implements _-58N 
    {

        private var _-4op:_-09J;
        private var _-2t:int;
        private var _-2PS:String;
        private var _-3eI:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2t = _arg1._-2BW();
            this._-2PS = _arg1.readString();
            this._-3eI = _arg1._-2BW();
            this._-4op = new _-09J(_arg1);
            return (true);
        }
        public function get _-3mz():_-09J
        {
            return (this._-4op);
        }
        public function get _-3ca():int
        {
            return (this._-2t);
        }
        public function get roomType():String
        {
            return (this._-2PS);
        }
        public function get _-57d():int
        {
            return (this._-3eI);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-01j.Game2StageStillLoadingMessageParser

package _-01j
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2StageStillLoadingMessageParser implements _-58N 
    {

        private var _-1wx:int;
        private var _-303:Array;

        public function get _-Zt():int
        {
            return (this._-1wx);
        }
        public function get _-3b7():Array
        {
            return (this._-303);
        }
        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1wx = _arg1._-2BW();
            this._-303 = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-303.push(_arg1._-2BW());
                k++;
            };
            return (true);
        }

    }
}//package _-01j

//------------------------------------------------------------
//_-022._-2G2

package _-022
{
    import _-295._-2kE;

    public interface _-2G2 
    {

        function get flipV():Boolean;
        function get flipH():Boolean;
        function get width():int;
        function get height():int;
        function get asset():_-2kE;
        function get assetName():String;
        function get _-1u3():String;
        function get offsetX():int;
        function get offsetY():int;
        function get _-07f():int;
        function get _-3BA():int;
        function get usesPalette():Boolean;

    }
}//package _-022

//------------------------------------------------------------
//_-022._-2KD

package _-022
{
    import _-295._-39L;
    import flash.display.BitmapData;

    public interface _-2KD 
    {

        function dispose():void;
        function set assetLibrary(_arg1:_-39L):void;
        function _-4EN():void;
        function _-5Bb():void;
        function _-22u():int;
        function _-1a-():int;
        function _-2E(_arg1:XML):Boolean;
        function getAsset(_arg1:String):_-2G2;
        function getAssetWithPalette(_arg1:String, _arg2:String):_-2G2;
        function _-1TP():Array;
        function  if(_arg1:String):Array;
        function _-2va(_arg1:String):XML;
        function addAsset(_arg1:String, _arg2:BitmapData, _arg3:Boolean, _arg4:int=0, _arg5:int=0, _arg6:Boolean=false, _arg7:Boolean=false):Boolean;
        function disposeAsset(_arg1:String):void;

    }
}//package _-022

//------------------------------------------------------------
//_-022._-3Z8

package _-022
{
    import flash.utils.ByteArray;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.display.BitmapDataChannel;

    public class _-3Z8 
    {

        private static var _-66:Array = [];

        private var _-4s8:Array;
        private var _-4ug:int = 0;
        private var _-5:int = 0;

        public function _-3Z8(_arg1:ByteArray, _arg2:int, _arg3:int)
        {
            var k:uint;
            var k:uint;
            var k:uint;
            var k:uint;
            this._-4s8 = [];
            super();
            _arg1.position = 0;
            while (_arg1.bytesAvailable >= 3)
            {
                k = _arg1.readUnsignedByte();
                k = _arg1.readUnsignedByte();
                k = _arg1.readUnsignedByte();
                k = ((((0xFF << 24) | (k << 16)) | (k << 8)) | k);
                this._-4s8.push(k);
            };
            while (this._-4s8.length < 0x0100)
            {
                this._-4s8.push(0);
            };
            while (_-66.length < 0x0100)
            {
                _-66.push(0);
            };
            this._-4ug = _arg2;
            this._-5 = _arg3;
        }
        public function get _-4zy():int
        {
            return (this._-4ug);
        }
        public function get _-0xU():int
        {
            return (this._-5);
        }
        public function dispose():void
        {
            this._-4s8 = [];
        }
        public function _-0Na(_arg1:BitmapData):void
        {
            var k:BitmapData = _arg1.clone();
            _arg1.paletteMap(_arg1, _arg1.rect, new Point(0, 0), _-66, this._-4s8, _-66, _-66);
            _arg1.copyChannel(k, _arg1.rect, new Point(0, 0), BitmapDataChannel.ALPHA, BitmapDataChannel.ALPHA);
            k.dispose();
        }

    }
}//package _-022

//------------------------------------------------------------
//_-022.GraphicAsset

package _-022
{
    import __AS3__.vec.Vector;
    import _-295.BitmapDataAsset;
    import _-295._-2kE;
    import flash.display.BitmapData;
    import __AS3__.vec.*;

    public class GraphicAsset implements _-2G2 
    {

        private static const _-2yU:Vector.<GraphicAsset> = new Vector.<GraphicAsset>();

        private var _-1sU:String;
        private var _-19g:String;
        private var _-xd:BitmapDataAsset;
        private var _-4tY:Boolean;
        private var _-3VQ:Boolean;
        private var _-452:Boolean;
        private var _-3jO:int;
        private var _-1Mv:int;
        private var _-0Dz:int;
        private var _height:int;
        private var _-3WC:Boolean;

        public static function _-2W5(_arg1:String, _arg2:String, _arg3:_-2kE, _arg4:Boolean, _arg5:Boolean, _arg6:int, _arg7:int, _arg8:Boolean=false):GraphicAsset
        {
            var k:GraphicAsset = (((_-2yU.length > 0)) ? _-2yU.pop() : new (GraphicAsset)());
            k._-1sU = _arg1;
            k._-19g = _arg2;
            var k:BitmapDataAsset = (_arg3 as BitmapDataAsset);
            if (k != null)
            {
                k._-xd = k;
                k._-3WC = false;
            }
            else
            {
                k._-xd = null;
                k._-3WC = true;
            };
            k._-4tY = _arg4;
            k._-3VQ = _arg5;
            k._-3jO = _arg6;
            k._-1Mv = _arg7;
            k._-452 = _arg8;
            return (k);
        }

        public function recycle():void
        {
            this._-xd = null;
            _-2yU.push(this);
        }
        private function initialize():void
        {
            var k:BitmapData;
            if (((!(this._-3WC)) && (!((this._-xd == null)))))
            {
                k = (this._-xd.content as BitmapData);
                if (k != null)
                {
                    this._-0Dz = k.width;
                    this._height = k.height;
                };
                this._-3WC = true;
            };
        }
        public function get flipV():Boolean
        {
            return (this._-3VQ);
        }
        public function get flipH():Boolean
        {
            return (this._-4tY);
        }
        public function get width():int
        {
            this.initialize();
            return (this._-0Dz);
        }
        public function get height():int
        {
            this.initialize();
            return (this._height);
        }
        public function get assetName():String
        {
            return (this._-1sU);
        }
        public function get _-1u3():String
        {
            return (this._-19g);
        }
        public function get asset():_-2kE
        {
            return (this._-xd);
        }
        public function get usesPalette():Boolean
        {
            return (this._-452);
        }
        public function get offsetX():int
        {
            if (!this._-4tY)
            {
                return (this._-3jO);
            };
            return (-((this.width + this._-3jO)));
        }
        public function get offsetY():int
        {
            if (!this._-3VQ)
            {
                return (this._-1Mv);
            };
            return (-((this.height + this._-1Mv)));
        }
        public function get _-07f():int
        {
            return (this._-3jO);
        }
        public function get _-3BA():int
        {
            return (this._-1Mv);
        }

    }
}//package _-022

//------------------------------------------------------------
//_-022.GraphicAssetCollection

package _-022
{
    import _-18r.Map;
    import _-295._-39L;
    import flash.utils.Dictionary;
    import flash.utils.getTimer;
    import _-295._-2kE;
    import flash.utils.ByteArray;
    import _-0y0.XMLValidator;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;

    public class GraphicAssetCollection implements _-2KD 
    {

        private static const _-41t:int = 10;
        private static const _-2Iv:Array = ["id", "source"];
        private static const _-38w:Boolean = false;

        private var _assets:Map;
        private var _-9Z:_-39L;
        private var var :Map;
        private var _-2vs:Array;
        private var _-0KF:Map;
        private var _-0sp:int = 0;
        private var _-3Ml:int = 0;
        private var _-0rt:Dictionary;

        public function GraphicAssetCollection()
        {
            this._assets = new Map();
            this.var  = new Map();
            this._-0KF = new Map();
            this._-2vs = [];
            this._-0rt = new Dictionary();
        }
        public function dispose():void
        {
            var k:String;
            var k:_-3Z8;
            var k:GraphicAsset;
            var k:String;
            if (this.var  != null)
            {
                for (k in this.var )
                {
                    k = this.var [k];
                    if (k != null)
                    {
                        k.dispose();
                    };
                };
                this.var .reset();
            };
            if (this._-0KF != null)
            {
                this.var .reset();
            };
            if (this._-2vs != null)
            {
                this._-0MO();
                this._-2vs = null;
            };
            if (this._assets != null)
            {
                for (k in this._assets)
                {
                    k = this._assets[k];
                    if (k != null)
                    {
                        k.recycle();
                    };
                };
                this._assets.reset();
            };
            if (this._-0rt)
            {
                for (k in this._-0rt)
                {
                    delete this._-0rt[k];
                };
            };
            this._-9Z = null;
        }
        public function set assetLibrary(_arg1:_-39L):void
        {
            this._-9Z = _arg1;
        }
        public function _-4EN():void
        {
            this._-0sp++;
            this._-3Ml = getTimer();
        }
        public function _-5Bb():void
        {
            this._-0sp--;
            if (this._-0sp <= 0)
            {
                this._-0sp = 0;
                this._-3Ml = getTimer();
                this._-0MO(false);
            };
        }
        public function _-22u():int
        {
            return (this._-0sp);
        }
        public function _-1a-():int
        {
            return (this._-3Ml);
        }
        public function _-2E(_arg1:XML):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:XMLList = _arg1.asset;
            if (k == null)
            {
                return (false);
            };
            var k:XMLList = _arg1.palette;
            if (k != null)
            {
                this._-2ST(k);
            };
            if (_-38w)
            {
                this._-2kd(k);
            }
            else
            {
                this._-1P9(k);
            };
            return (true);
        }
        private function _-2kd(_arg1:XMLList):void
        {
            var k:XML;
            var k:String;
            for each (k in _arg1)
            {
                k = k.@name;
                if (k.length > 0)
                {
                    this._-0rt[k] = k;
                };
            };
        }
        private function _-1P9(_arg1:XMLList):void
        {
            var k:XML;
            var k:String;
            var k:String;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:_-2kE;
            var k:Boolean;
            var k:_-2G2;
            var k:int = _arg1.length();
            var k:int;
            while (k < k)
            {
                k = _arg1[k];
                k = k.@name;
                if (k.length > 0)
                {
                    k = null;
                    k = false;
                    k = false;
                    k = false;
                    k = 0;
                    k = 0;
                    k = -(int(k.@x));
                    k = -(int(k.@y));
                    k = k.@source;
                    if (int(k.@flipH) > 0)
                    {
                        if (k.length > 0)
                        {
                            k = true;
                        };
                    };
                    if (int(k.@flipV) > 0)
                    {
                        if (k.length > 0)
                        {
                            k = true;
                        };
                    };
                    k = !((int(k.@usesPalette) == 0));
                    if (k.length == 0)
                    {
                    };
                    k = this._-9Z.getAssetByName(k);
                    if (k != null)
                    {
                        k = this._-529(k, k, k, k, k, k, k, k);
                        if (!k)
                        {
                            k = this.getAsset(k);
                            if (((!((k == null))) && (!((k.assetName == k._-1u3)))))
                            {
                                k = this._-3CP(k, k, k, k, k, k, k, k);
                            };
                        };
                    };
                };
                k++;
            };
        }
        private function _-2ST(_arg1:XMLList):void
        {
            var k:XML;
            var k:String;
            var k:String;
            var k:_-2kE;
            var k:ByteArray;
            var k:int;
            var k:int;
            var k:String;
            var k:_-3Z8;
            for each (k in _arg1)
            {
                if (XMLValidator._-4qb(k, _-2Iv))
                {
                    k = k.@id;
                    k = k.@source;
                    if (this.var [k] == null)
                    {
                        k = this._-9Z.getAssetByName(k);
                        if ((k.content is Class))
                        {
                            k = (new ((k.content as Class))() as ByteArray);
                        }
                        else
                        {
                            k = (k.content as ByteArray);
                        };
                        k = 0xFFFFFF;
                        k = 0xFFFFFF;
                        k = k.@color1;
                        if (k.length > 0)
                        {
                            k = parseInt(k, 16);
                        };
                        k = k.@color2;
                        if (k.length > 0)
                        {
                            k = parseInt(k, 16);
                        };
                        k = new _-3Z8(k, k, k);
                        this.var [k] = k;
                        this._-0KF[k] = k;
                    };
                };
            };
        }
        protected function _-529(_arg1:String, _arg2:String, _arg3:_-2kE, _arg4:Boolean, _arg5:Boolean, _arg6:Number, _arg7:Number, _arg8:Boolean):Boolean
        {
            if (this._assets[_arg1] != null)
            {
                return (false);
            };
            if (this._-0rt[_arg1])
            {
                return (false);
            };
            var k:GraphicAsset = GraphicAsset._-2W5(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
            this._assets[_arg1] = k;
            return (true);
        }
        protected function _-3CP(_arg1:String, _arg2:String, _arg3:_-2kE, _arg4:Boolean, _arg5:Boolean, _arg6:Number, _arg7:Number, _arg8:Boolean):Boolean
        {
            var k:GraphicAsset = this._assets.remove(_arg1);
            if (k != null)
            {
                k.recycle();
            }
            else
            {
                delete this._-0rt[_arg1];
            };
            return (this._-529(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
        }
        public function getAsset(_arg1:String):_-2G2
        {
            var k:String;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:_-2kE;
            var _local11:_-2G2;
            var k:_-2G2 = this._assets.getValue(_arg1);
            if (k)
            {
                return (k);
            };
            var k:XML = this._-0rt[_arg1];
            if (k)
            {
                delete this._-0rt[_arg1];
                k = null;
                k = false;
                k = false;
                k = false;
                k = 0;
                k = 0;
                k = -(int(k.@x));
                k = -(int(k.@y));
                k = k.@source;
                if (int(k.@flipH) > 0)
                {
                    if (k.length > 0)
                    {
                        k = true;
                    };
                };
                if (int(k.@flipV) > 0)
                {
                    if (k.length > 0)
                    {
                        k = true;
                    };
                };
                k = !((int(k.@usesPalette) == 0));
                if (k.length == 0)
                {
                    k = _arg1;
                };
                k = this._-9Z.getAssetByName(k);
                if (k != null)
                {
                    if (this._-529(_arg1, k, k, k, k, k, k, k))
                    {
                        return (this._assets[_arg1]);
                    };
                    _local11 = this.getAsset(_arg1);
                    if (((!((_local11 == null))) && (!((_local11.assetName == _local11._-1u3)))))
                    {
                        if (!this._-3CP(_arg1, k, k, k, k, k, k, k))
                        {
                            return (null);
                        };
                    };
                };
            };
            return (null);
        }
        public function getAssetWithPalette(_arg1:String, _arg2:String):_-2G2
        {
            var k:_-2G2;
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:_-3Z8;
            var k:BitmapData;
            var k:String = ((_arg1 + "@") + _arg2);
            var k:_-2G2 = this.getAsset(k);
            if (k == null)
            {
                k = this.getAsset(_arg1);
                if ((((k == null)) || (!(k.usesPalette))))
                {
                    return (k);
                };
                k = ((k._-1u3 + "@") + _arg2);
                k = this._-1Cx(k);
                if (k == null)
                {
                    k = (k.asset.content as BitmapData);
                    if (k != null)
                    {
                        k = this._-0yD(_arg2);
                        if (k != null)
                        {
                            k = k.clone();
                            k._-0Na(k);
                            k = this._-3g7(k, k);
                            if (k == null)
                            {
                                k.dispose();
                                return (null);
                            };
                        }
                        else
                        {
                            return (k);
                        };
                    };
                };
                this._-2vs.push(k);
                this._-529(k, k, k, k.flipH, k.flipV, k._-07f, k._-3BA, false);
                k = this.getAsset(k);
            };
            return (k);
        }
        public function _-1TP():Array
        {
            return (this.var ._-18C());
        }
        public function  if(_arg1:String):Array
        {
            var k:_-3Z8 = this._-0yD(_arg1);
            if (k != null)
            {
                return ([k._-4zy, k._-0xU]);
            };
            return (null);
        }
        public function _-2va(_arg1:String):XML
        {
            return (this._-0KF[_arg1]);
        }
        private function _-0yD(_arg1:String):_-3Z8
        {
            var k:_-3Z8 = this.var [_arg1];
            return (k);
        }
        public function addAsset(_arg1:String, _arg2:BitmapData, _arg3:Boolean, _arg4:int=0, _arg5:int=0, _arg6:Boolean=false, _arg7:Boolean=false):Boolean
        {
            var k:BitmapData;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            if (this._-9Z == null)
            {
                return (false);
            };
            var k:BitmapDataAsset = this._-1Cx(_arg1);
            if (k == null)
            {
                k = new BitmapDataAsset(this._-9Z.getAssetTypeDeclarationByClass(BitmapDataAsset));
                this._-9Z.setAsset(_arg1, k);
                k._-2OI(_arg2);
                return (this._-529(_arg1, _arg1, k, _arg6, _arg7, _arg4, _arg5, false));
            };
            if (_arg3)
            {
                k = (k.content as BitmapData);
                if (((!((k == null))) && (!((k == _arg2)))))
                {
                    k.dispose();
                };
                k._-2OI(_arg2);
                return (true);
            };
            return (false);
        }
        public function disposeAsset(_arg1:String):void
        {
            var k:BitmapDataAsset;
            var k:GraphicAsset = this._assets.remove(_arg1);
            if (k != null)
            {
                k = this._-1Cx(k._-1u3);
                if (k != null)
                {
                    this._-9Z.removeAsset(k);
                    k.dispose();
                };
                k.recycle();
            }
            else
            {
                delete this._-0rt[_arg1];
            };
        }
        private function _-1Cx(_arg1:String):BitmapDataAsset
        {
            var k:BitmapDataAsset = (this._-9Z.getAssetByName(_arg1) as BitmapDataAsset);
            return (k);
        }
        private function _-3g7(_arg1:String, _arg2:BitmapData):BitmapDataAsset
        {
            var k:BitmapDataAsset = this._-1Cx(_arg1);
            if (k == null)
            {
                k = new BitmapDataAsset(this._-9Z.getAssetTypeDeclarationByClass(BitmapDataAsset));
                this._-9Z.setAsset(_arg1, k);
                k._-2OI(_arg2);
                return (k);
            };
            return (null);
        }
        private function _-0MO(_arg1:Boolean=true):void
        {
            var k:String;
            if (this._-2vs != null)
            {
                if (((_arg1) || ((this._-2vs.length > _-41t))))
                {
                    for each (k in this._-2vs)
                    {
                        this.disposeAsset(k);
                    };
                    this._-2vs = [];
                };
            };
        }

    }
}//package _-022

//------------------------------------------------------------
//_-02T._-1gL

package _-02T
{
    import _-4Aj.*;

    public class _-1gL implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-1OW

package _-02T
{
    import _-4Aj.*;

    public class _-1OW implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-1sD

package _-02T
{
    import _-4Aj.*;

    public class _-1sD implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1sD(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-1sR

package _-02T
{
    import _-4Aj.*;

    public class _-1sR implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-1X9

package _-02T
{
    import _-4Aj.*;

    public class _-1X9 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1X9(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-2L3

package _-02T
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2L3 implements _-1oF, _-1zZ 
    {

        public function get disposed():Boolean
        {
            return (true);
        }
        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-2mJ

package _-02T
{
    import _-4Aj.*;

    public class _-2mJ implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2mJ(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-36O

package _-02T
{
    import _-4Aj.*;

    public class _-36O implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-36O(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-473

package _-02T
{
    import _-4Aj.*;

    public class _-473 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-473(_arg1:Boolean, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-48c

package _-02T
{
    import _-4Aj.*;

    public class _-48c implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-48c(_arg1:String, _arg2:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1, _arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-AR

package _-02T
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-AR implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-AR()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-qU

package _-02T
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-qU implements _-1oF, _-1zZ 
    {

        public function get disposed():Boolean
        {
            return (true);
        }
        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-u9

package _-02T
{
    import _-4Aj.*;

    public class _-u9 implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-Wm

package _-02T
{
    import _-4Aj.*;

    public class _-Wm implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-Wp

package _-02T
{
    import _-4Aj.*;

    public class _-Wp implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-02T._-YF

package _-02T
{
    import _-4Aj.*;

    public class _-YF implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-02T

//------------------------------------------------------------
//_-04Z._-1xf

package _-04Z
{
    import _-2Mh._-3Uw;
    import _-1lc._-2eJ;
    import _-0mD._-2tY;
    import _-Ew.IWindow;

    public class _-1xf 
    {

        public static function _-2v3(_arg1:_-2eJ):Boolean
        {
            if (_arg1._-5DX == _-3Uw._-0Z7)
            {
                return (true);
            };
            return (false);
        }
        public static function _-2Of(_arg1:_-2tY, _arg2:IWindow):void
        {
            var k:_-2eJ;
            if (((((((!(_arg2)) || (!(_arg1)))) || (!(_arg1.productContainer)))) || (!(_arg1.productContainer.products))))
            {
                return;
            };
            var k:Boolean;
            var k:Array = _arg1.productContainer.products;
            for each (k in k)
            {
                if (_-1xf._-2v3(k))
                {
                    k = true;
                };
            };
            _arg2.caption = ((k) ? "${catalog.purchase_confirmation.rent}" : "${catalog.purchase_confirmation.buy}");
        }

    }
}//package _-04Z

//------------------------------------------------------------
//_-06C._-0kG

package _-06C
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0kG implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0kG(_arg1:int, _arg2:Array, _arg3:String, _arg4:Array, _arg5:int)
        {
            var k:int;
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2.length);
            for each (k in _arg2)
            {
                this._-4Nw.push(k);
            };
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4.length);
            for each (k in _arg4)
            {
                this._-4Nw.push(k);
            };
            this._-4Nw.push(_arg5);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-06C

//------------------------------------------------------------
//_-06C._-3L-

package _-06C
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3L- implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3L-(_arg1:int, _arg2:Array, _arg3:String, _arg4:Array, _arg5:int, _arg6:int)
        {
            var k:int;
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2.length);
            for each (k in _arg2)
            {
                this._-4Nw.push(k);
            };
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4.length);
            for each (k in _arg4)
            {
                this._-4Nw.push(k);
            };
            this._-4Nw.push(_arg5);
            this._-4Nw.push(_arg6);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-06C

//------------------------------------------------------------
//_-06C._-3v9

package _-06C
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3v9 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3v9(_arg1:int, _arg2:Array, _arg3:String, _arg4:Array, _arg5:int)
        {
            var k:int;
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2.length);
            for each (k in _arg2)
            {
                this._-4Nw.push(k);
            };
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4.length);
            for each (k in _arg4)
            {
                this._-4Nw.push(k);
            };
            this._-4Nw.push(_arg5);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-06C

//------------------------------------------------------------
//_-06C._-71

package _-06C
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-71 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-71(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-06C

//------------------------------------------------------------
//_-06C._-wK

package _-06C
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-wK implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-wK(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-06C

//------------------------------------------------------------
//_-06J._-1mb

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-Ew.IWindow;
    import _-253._-4Qc;
    import _-253._-4ie;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-3iu.*;

    public class _-1mb implements _-487, _-4FJ 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _disposed:Boolean = false;
        private var _-5Cp:int;
        private var _-sQ:Array;

        public function _-1mb(_arg1:HabboLandingView)
        {
            this._-sQ = new Array();
            super();
            this._-07j = _arg1;
            this._-sQ.push("title");
            this._-sQ.push("header");
            this._-sQ.push("info");
        }
        protected static function get xmlAssetName():String
        {
            return ("room_hopper_network");
        }

        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow(xmlAssetName));
            this._-5Cp = parseInt(this._-07j.configurationManager.getKey("landing.view.roomhopper.network.id", "0"));
            var k:_-4mB = _-4mB(this._container.findChildByName("bitmap"));
            k.assetUri = this._-07j.configurationManager.getKey("landing.view.roomhopper.image.uri", "");
            this._container.findChildByName("button").procedure = this._-o;
        }
        public function refresh():void
        {
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._container)
                {
                    this._container.dispose();
                    this._container = null;
                };
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set settings(_arg1:_-4ie):void
        {
            _-4Qc._-rh(this._container, _arg1);
        }
        private function _-o(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.navigator._-431(this._-5Cp, false);
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-1rE

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-3iu.*;

    public class _-1rE implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-0zp:String;

        public function _-1rE(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("pixel_removal_promo"));
            this._container.findChildByName("go_button").procedure = this._-7y;
            this._-0zp = this._-07j.configurationManager.getKey("landing.view.pixelremove.promo.catalogpage");
        }
        public function refresh():void
        {
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-7y(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.catalog.openCatalogPage(this._-0zp);
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-1Yy

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-48G._-1om;
    import _-Fe._-4e4;
    import _-1ae._-4mB;
    import _-1ae._-3Yi;
    import _-0Ix._-2Zl;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-2iw._-0Nh;
    import _-4Aj._-0tL;
    import _-253._-4Qc;
    import _-253._-4ie;
    import _-3iu.*;

    public class _-1Yy implements _-487, _-4FJ 
    {

        private static const _-3Rx:Number = (30 * 1000);//30000

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-2iE:String = "";
        private var _-2K4:int;
        private var _-1Wa:String;
        private var _-3qc:Date;

        public function _-1Yy(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("expiring_catalog_page"));
            this._container.findChildByName("open_catalog_button").procedure = this._-45x;
            this._container.visible = false;
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-1om(this._-4aP));
            HabboLandingView._-51x(this._container, "page_expiry_title", "hdr_line");
        }
        public function refresh():void
        {
            if ((((this._-3qc == null)) || (((this._-3qc.time + _-3Rx) < new Date().time))))
            {
                this._-07j.send(new _-4e4());
                this._-3qc = new Date();
            };
        }
        private function refreshContent():void
        {
            if (this._-2iE == "")
            {
                this._container.visible = false;
                return;
            };
            this._container.visible = true;
            this._container.findChildByName("page_header_txt").caption = this.getText("landing.view.pageexpiry", ("page." + this._-2iE), "header");
            this._container.findChildByName("page_desc_txt").caption = this.getText("landing.view.pageexpiry", ("page." + this._-2iE), "desc");
            var k:_-4mB = _-4mB(this._container.findChildByName("promo_bitmap"));
            k.assetUri = (("${image.library.url}reception/catalog_teaser_" + this._-2iE) + ".png");
            this._-48s();
        }
        private function _-48s():void
        {
            var k:_-3Yi = _-3Yi(this._container.findChildByName("countdown_widget"));
            var k:_-2Zl = _-2Zl(k.widget);
            k.seconds = this._-2K4;
        }
        private function getText(_arg1:String, _arg2:String, _arg3:String):String
        {
            var k:String = (((_arg1 + ((this._-3EV) ? "" : ("." + _arg2))) + ".") + _arg3);
            return (this._-07j.localizationManager.getKey(k, k));
        }
        private function get _-3EV():Boolean
        {
            return (false);
        }
        private function _-45x(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.catalog.openCatalogPage(this._-2iE);
                this._-07j.tracking.trackGoogle("landingView", "click_goToExpiringCatalogPage");
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-4aP(_arg1:_-0tL):void
        {
            var k:_-0Nh = _-0Nh(_arg1.parser);
            this._-2iE = k.pageName;
            this._-2K4 = k._-4t6;
            this._-1Wa = k.image;
            this.refreshContent();
        }
        public function set settings(_arg1:_-4ie):void
        {
            _-4Qc._-rh(this._container, _arg1);
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-24g

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-U2._-1Yl;
    import _-Ew.IWindow;
    import _-U2._-0KQ;
    import _-02T._-473;
    import _-Ia._-4KI;
    import _-4Aj._-0tL;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-02T._-1X9;
    import _-02T._-1gL;
    import _-1B-.*;
    import _-3iu.*;

    public class _-24g implements _-1zZ, _-487, _-0aR, _-1oV 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-0qE:_-1Yl;
        private var _-04i:int;
        private var _-2a2:int;
        private var _index:int;
        private var _-0am:int;
        private var _-0ak:int;
        private var _-2HT:String;

        public function _-24g(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public static function _-3hs(_arg1:IWindowContainer, _arg2:int):void
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                k.x = k;
                k = (k + (k.width + _arg2));
                k++;
            };
        }

        public function set _-4wk(_arg1:String):void
        {
            this._-2HT = _arg1;
        }
        public function set slot(_arg1:int):void
        {
            this._-0ak = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
            this._-0qE = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("daily_quest"));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-0KQ(this._-20Z));
            this._container.findChildByName("accept_button").procedure = this._-4ZS;
            this._container.findChildByName("go_button").procedure = this._-7y;
            this._container.findChildByName("next_quest_region").procedure = this._-02c;
            this._container.findChildByName("cancel_quest_region").procedure = this._-3LR;
            this._container.findChildByName("easy_region").procedure = this._-468;
            this._container.findChildByName("hard_region").procedure = this._-2Ns;
            var k:IWindow = this._container.findChildByName("hdr_line");
            this._-0am = (k.x + k.width);
            GenericWidget._-0Vi(this._-07j, this._-0ak, this._-2HT, this._container);
        }
        public function refresh():void
        {
            this._index = 0;
            this._-07j.send(new _-473(true, 0));
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-20Z(_arg1:_-0tL):void
        {
            var k:_-4KI = _-4KI(_arg1.parser);
            this._-0qE = k.quest;
            this._-04i = k._-0Ud;
            this._-2a2 = k._-2MG;
            this.refreshContent();
        }
        private function refreshContent():void
        {
            this._container.findChildByName("caption_txt").caption = ((this._-0qE) ? this._-s8("chaincaption") : this.getText("landing.view.quest.currenttask.alldone.caption"));
            this._container.findChildByName("info_txt").caption = ((this._-0qE) ? this._-s8("chaininfo") : this.getText("landing.view.quest.currenttask.alldone.info"));
            this._container.findChildByName("accept_button").visible = ((this._-0qE) && (!(this._-0qE.accepted)));
            this._container.findChildByName("next_quest_region").visible = ((((this._-0qE) && (!(this._-0qE.accepted)))) && ((((this._-0qE.easy) ? this._-04i : this._-2a2) > 1)));
            this._container.findChildByName("next_quest_txt").caption = this.getText(("landing.view.quest.nextquest." + ((((this._-0qE) && (this._-0qE.easy))) ? "easy" : "hard")));
            this._container.findChildByName("title_txt").caption = this.getText(("landing.view.quest.title." + ((((this._-0qE) && (this._-0qE.accepted))) ? "accepted" : "notaccepted")));
            HabboLandingView._-51x(this._container, "title_txt", "hdr_line");
            this._container.findChildByName("cancel_quest_region").visible = ((this._-0qE) && (this._-0qE.accepted));
            this._container.findChildByName("current_quest_border").visible = ((this._-0qE) && (this._-0qE.accepted));
            if (this._-0qE)
            {
                this._-07j.localizationManager.registerParameter("landing.view.quest.currenttask", "task", this._-yr());
            };
            var k:IWindowContainer = IWindowContainer(this._container.findChildByName("difficulty_container"));
            var k:int = (k.x + k.width);
            k.visible = ((((((this._-0qE) && (!(this._-0qE.accepted)))) && ((this._-04i > 0)))) && ((this._-2a2 > 0)));
            this._-20t("easy_region", ((this._-0qE) && (!(this._-0qE.easy))));
            this._-20t("hard_region", ((this._-0qE) && (this._-0qE.easy)));
            _-3hs(k, 5);
            k.width = (k.findChildByName("hard_region").x + k.findChildByName("hard_region").width);
            k.x = (k - k.width);
            var k:IWindow = this._container.findChildByName("hdr_line");
            var k:int = ((k.visible) ? (k.x - 5) : this._-0am);
            k.width = (k - k.x);
        }
        private function _-20t(_arg1:String, _arg2:Boolean):void
        {
            var k:IWindowContainer = IWindowContainer(this._container.findChildByName(_arg1));
            var k:ITextWindow = ITextWindow(k.findChildByName("label_txt"));
            k.width = k.textWidth;
            k.underline = _arg2;
            k.width = k.width;
        }
        private function _-3VK(_arg1:String):String
        {
            return (((((("quests." + this._-0qE._-0-l) + ".") + this._-0qE._-1G6) + ".") + _arg1));
        }
        private function _-s8(_arg1:String):String
        {
            var k:String = this._-3VK(_arg1);
            return (this._-07j.localizationManager.getKey(k, k));
        }
        private function getText(_arg1:String):String
        {
            return (this._-07j.localizationManager.getKey(_arg1, _arg1));
        }
        private function _-7y(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.goToRoom();
            };
        }
        private function _-468(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-10q(true);
            };
        }
        private function _-2Ns(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-10q(false);
            };
        }
        public function _-yr():String
        {
            var k = (this._-0qE._-1PR() + ".name");
            return (this._-07j.localizationManager.getKey(k, k));
        }
        private function _-4ZS(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.send(new _-1X9(this._-0qE.id));
            };
        }
        private function _-02c(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._index++;
                this._-10q(this._-0qE.easy);
            };
        }
        private function _-3LR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.send(new _-1gL());
            };
        }
        private function _-10q(_arg1:Boolean):void
        {
            this._-07j.send(new _-473(_arg1, this._index));
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-29

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-1ae._-4mB;
    import _-3iu.*;

    public class _-29 implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;

        public function _-29(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("home_room_button"));
            this._container.findChildByName("home_room_button_center").addEventListener(WindowEvent._-3K0, this._-4TS);
            this._container.procedure = this._-2RM;
            this._-4TS();
        }
        public function refresh():void
        {
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-4TS(_arg1:WindowEvent=null):void
        {
            var k:IWindowContainer = (this._container.findChildByName("home_room_button_center") as IWindowContainer);
            k.findChildByName("home_room_button_center_background").width = k.width;
        }
        private function _-2RM(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case WindowMouseEvent._-90:
                    this._-07j.navigator.goToHomeRoom();
                    this._-07j.tracking.trackGoogle("landingView", "click_homeRoomButton");
                    return;
                case WindowMouseEvent._-4ea:
                    _-4mB(IWindowContainer(_arg2).findChildByName("home_room_button_left")).assetUri = "landing_view_reception_homebutton_hover";
                    _-4mB(IWindowContainer(_arg2).findChildByName("home_room_button_center_background")).assetUri = "landing_view_reception_homebutton_hover";
                    _-4mB(IWindowContainer(_arg2).findChildByName("home_room_button_right")).assetUri = "landing_view_reception_homebutton_hover";
                    return;
                case WindowMouseEvent._-4e2:
                    _-4mB(IWindowContainer(_arg2).findChildByName("home_room_button_left")).assetUri = "landing_view_reception_homebutton_normal";
                    _-4mB(IWindowContainer(_arg2).findChildByName("home_room_button_center_background")).assetUri = "landing_view_reception_homebutton_normal";
                    _-4mB(IWindowContainer(_arg2).findChildByName("home_room_button_right")).assetUri = "landing_view_reception_homebutton_normal";
                    return;
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-2Oc

package _-06J
{
    import _-3Q9.HabboLandingView;

    public class _-2Oc extends CatalogPromoWidget 
    {

        public function _-2Oc(_arg1:HabboLandingView)
        {
            super(_arg1);
        }
        override protected function get xmlAssetName():String
        {
            return ("catalog_promo_small");
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-34m

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-1ae._-1hm;
    import _-Ew.IWindowContainer;
    import _-3iu.*;

    public class _-34m extends TwitterWidget implements _-0aR 
    {

        private var _-1-h:int = -1;

        public function _-34m(_arg1:HabboLandingView)
        {
            super(_arg1);
        }
        public function set slot(_arg1:int):void
        {
            this._-1-h = _arg1;
        }
        override protected function get layoutXmlName():String
        {
            if ((((this._-1-h == 3)) || ((this._-1-h == 5))))
            {
                return ("twitter_feed_fixed_size_small");
            };
            return ("twitter_feed_fixed_size_wide");
        }
        override public function refreshContent():void
        {
            var k:int;
            var k:_-1hm;
            if (landingView.configurationManager.keyExists("landing.view.twitter.widget.height"))
            {
                k = parseInt(landingView.configurationManager.getKey("landing.view.twitter.widget.height"));
                IWindowContainer(container).height = k;
                k = _-1hm(IWindowContainer(container).findChildByName("tweet_list"));
                k.height = (k - k.y);
            };
            super.refreshContent();
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-3MP

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-U2._-3kM;
    import _-02T._-u9;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-3iu.*;

    public class _-3MP implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-30d:int;

        public function _-3MP(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("habbo_way_promo"));
            this._container.findChildByName("go_button").procedure = this._-7y;
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-3kM(this._-3Gd));
        }
        public function refresh():void
        {
            this._-07j.send(new _-u9());
            this.refreshContent();
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-7y(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.habboHelp._-3sC();
            };
        }
        private function _-3Gd(_arg1:_-3kM):void
        {
            this._-30d = _arg1._-3-5().data._-58V;
            this.refreshContent();
        }
        private function refreshContent():void
        {
            var k:String = ("" + this._-30d);
            while (k.length < 8)
            {
                k = ("0" + k);
            };
            this._container.findChildByName("counter_txt").caption = k;
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-3sX

package _-06J
{
    import _-2hH.Xmas2012Layout;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import flash.geom.Rectangle;
    import _-1ae._-4mB;
    import _-0Ie.WindowEvent;
    import _-1B-.*;
    import _-3iu.*;

    public class _-3sX implements _-487, _-0gI 
    {

        public static const _-37E:int = 0;
        public static const _-31i:int = 1;
        public static const _-3fG:int = 2;
        public static const _-1sy:int = 3;
        public static const _-32u:int = 4;
        public static const _-2ko:int = 5;
        public static const _-2kU:int = 6;

        private var _-2YF:Xmas2012Layout;
        private var _container:IWindowContainer;
        private var _-4m9:int;
        private var _-0Ke:int = 0;
        private var _-4TW:String = "";

        public function _-3sX(_arg1:Xmas2012Layout)
        {
            this._-2YF = _arg1;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-2YF.landingView.getXmlWindow("xmas_calendar_door_widget"));
            this._container.procedure = this.procedure;
        }
        public function refresh():void
        {
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-2YF = null;
            this._container = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2YF == null));
        }
        public function set number(_arg1:int):void
        {
            this._-4m9 = (_arg1 + this._-2YF._-4vj);
            if (this._-4m9 < 1)
            {
                this._-4m9 = (this._-4m9 + 30);
            };
            this._container.findChildByName("number").caption = this._-4m9.toString();
        }
        public function set state(_arg1:int):void
        {
            var k:int = this._-0Ke;
            switch (_arg1)
            {
                case _-37E:
                    this._-0BC = false;
                    this._-1lo = false;
                    this._-1N7 = false;
                    this._-2JU = false;
                    this._-0Ke = _-37E;
                    break;
                case _-31i:
                    this._-0BC = true;
                    this._-1lo = false;
                    this._-1N7 = false;
                    this._-2JU = false;
                    this._-0Ke = _-31i;
                    break;
                case _-1sy:
                    if (k == _-31i)
                    {
                        this._-0BC = true;
                        this._-1lo = true;
                        this._-1N7 = false;
                        this._-2JU = false;
                        this._-0Ke = _-3fG;
                    }
                    else
                    {
                        this._-0BC = false;
                        this._-1lo = true;
                        this._-1N7 = false;
                        this._-2JU = false;
                        this._-0Ke = _-1sy;
                    };
                    break;
                case _-32u:
                    this._-0BC = false;
                    this._-1lo = false;
                    this._-1N7 = false;
                    this._-2JU = false;
                    this._-0Ke = _-31i;
                    break;
                case _-2ko:
                    this._-0BC = false;
                    this._-1lo = true;
                    this._-1N7 = true;
                    this._-2JU = false;
                    this._-0Ke = _-2ko;
                    break;
                case _-2kU:
                    this._-0BC = false;
                    this._-1lo = true;
                    this._-1N7 = true;
                    this._-2JU = true;
                    this._-0Ke = _-2kU;
                    break;
            };
            this._-0Ke = _arg1;
        }
        public function get rectangleToContentBackground():Rectangle
        {
            var k:Rectangle = this._container.rectangle.clone();
            var k:IWindow = this._container.parent;
            while (k.name != "content_background")
            {
                k.x = (k.x + k.x);
                k.y = (k.y + k.y);
                k = k.parent;
            };
            return (k);
        }
        private function set _-0BC(_arg1:Boolean):void
        {
            this._container.findChildByName("hatch").visible = _arg1;
        }
        private function set _-1lo(_arg1:Boolean):void
        {
            this._container.findChildByName("completion").visible = _arg1;
        }
        private function set _-1N7(_arg1:Boolean):void
        {
            _-4mB(this._container.findChildByName("completion")).greyscale = _arg1;
        }
        private function set _-2JU(_arg1:Boolean):void
        {
            this._container.findChildByName("completion_icon").visible = _arg1;
        }
        private function set _-0Gr(_arg1:int):void
        {
        }
        public function update(_arg1:uint):void
        {
        }
        private function procedure(_arg1:WindowEvent, _arg2:IWindow):void
        {
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-4pi

package _-06J
{
    import _-2WG._-0l7;
    import _-3Q9.HabboLandingView;
    import _-29G._-3mi;
    import _-2WG._-0Jd;
    import _-U2._-SA;
    import _-Ew.IWindowContainer;

    public class _-4pi extends UserListWidget 
    {

        private var _-0qE:_-0l7;

        public function _-4pi(_arg1:HabboLandingView)
        {
            super(_arg1);
        }
        override public function refresh():void
        {
            landingView.send(new _-3mi());
        }
        override protected function registerMessageListeners():void
        {
            landingView.communicationManager.addHabboConnectionMessageEvent(new _-0Jd(this._-4gp));
        }
        override protected function get users():Array
        {
            return ((((this._-0qE == null)) ? null : this._-0qE.guides));
        }
        override protected function refreshPopup(_arg1:_-SA, _arg2:IWindowContainer):void
        {
            _arg2.findChildByName("user_name_txt").caption = _arg1.userName;
        }
        override protected function getPopupXml():String
        {
            return ("on_duty_guide_user_popup");
        }
        private function _-4gp(_arg1:_-0Jd):void
        {
            this._-0qE = _arg1._-3-5().data;
            refreshContent();
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-4QD

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-48G._-1om;
    import _-Fe._-4e4;
    import _-1ae._-4mB;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae._-3Yi;
    import _-0Ix._-2Zl;
    import _-2iw._-0Nh;
    import _-4Aj._-0tL;
    import _-253._-4Qc;
    import _-253._-4ie;
    import _-3iu.*;

    public class _-4QD implements _-487, _-4FJ 
    {

        private static const _-3Rx:Number = (30 * 1000);//30000

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-2iE:String = "";
        private var _-3qc:Date;
        private var _-2K4:int;

        public function _-4QD(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("expiring_catalog_page_small"));
            this._container.findChildByName("open_catalog_button").procedure = this._-45x;
            this._container.visible = false;
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-1om(this._-4aP));
        }
        public function refresh():void
        {
            if ((((this._-3qc == null)) || (((this._-3qc.time + _-3Rx) < new Date().time))))
            {
                this._-07j.send(new _-4e4());
                this._-3qc = new Date();
            };
        }
        private function refreshContent():void
        {
            if (this._-2iE == "")
            {
                this._container.visible = false;
                return;
            };
            this._container.visible = true;
            this._container.findChildByName("page_header_txt").caption = this.getText((("landing.view.pageexpiry.page." + this._-2iE) + ".header"));
            this._container.findChildByName("page_desc_txt").caption = this.getText((("landing.view.pageexpiry.page." + this._-2iE) + ".desc"));
            var k:_-4mB = _-4mB(this._container.findChildByName("promo_bitmap"));
            k.assetUri = (("${image.library.url}reception/catalog_teaser_" + this._-2iE) + ".png");
            this._-48s();
        }
        private function getText(_arg1:String):String
        {
            return (this._-07j.localizationManager.getKey(_arg1, _arg1));
        }
        private function _-45x(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.catalog.openCatalogPage(this._-2iE);
                this._-07j.tracking.trackGoogle("landingView", "click_goToExpiringCatalogPage");
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-48s():void
        {
            var k:_-3Yi = _-3Yi(this._container.findChildByName("countdown_widget"));
            var k:_-2Zl = _-2Zl(k.widget);
            k.seconds = this._-2K4;
        }
        private function _-4aP(_arg1:_-0tL):void
        {
            var k:_-0Nh = _-0Nh(_arg1.parser);
            this._-2iE = k.pageName;
            this._-2K4 = k._-4t6;
            this.refreshContent();
        }
        public function set settings(_arg1:_-4ie):void
        {
            _-4Qc._-rh(this._container, _arg1);
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-4rL

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-3iu.*;

    public class _-4rL implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;

        public function _-4rL(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("habbo_moderation_promo"));
            HabboLandingView._-51x(this._container, "title_txt", "hdr_line");
        }
        public function refresh():void
        {
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-4tV

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0GO._-3lN;
    import _-0Ie.WindowEvent;
    import _-3iu.*;

    public class _-4tV implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-30d:int;

        public function _-4tV(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("fast_food_game_promo"));
            this._container.findChildByName("go_button").procedure = this._-7y;
        }
        public function refresh():void
        {
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-7y(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.openGameCenterByGameName(_-3lN._-1os);
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-fC

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-2Pt._-2yb;
    import _-0Ie.WindowEvent;
    import _-3iu.*;

    public class _-fC implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;

        public function _-fC(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("habbo_talents_promo"));
            this._container.findChildByName("go_button").procedure = this._-7y;
            HabboLandingView._-51x(this._container, "title_txt", "hdr_line");
        }
        public function refresh():void
        {
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-7y(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.tracking.trackTalentTrackOpen(this._-07j.sessionDataManager.currentTalentTrack, "landingpagepromo");
                this._-07j.send(new _-2yb(this._-07j.sessionDataManager.currentTalentTrack));
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J._-lY

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0Ix._-3La;
    import _-1ae._-3Yi;
    import _-3iu.*;

    public class _-lY implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _disposed:Boolean;

        public function _-lY(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("safety_quiz_promo"));
            this._container.procedure = this._-4rF;
            this.refresh();
        }
        private function _-4rF(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((_arg1.type == WindowMouseEvent._-90)) && ((_arg2.name == "safety_quiz_button"))))
            {
                this._-07j.habboHelp.showSafetyBooklet();
            };
        }
        public function refresh():void
        {
            if (((!((this._container == null))) && (!(this._container.disposed))))
            {
                _-3La(_-3Yi(this._container.findChildByName("avatar")).widget).figure = this._-07j.sessionDataManager.figure;
            };
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._container != null)
                {
                    this._container.dispose();
                    this._container = null;
                };
                this._-07j = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.AvatarImageWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-1ae._-3Yi;
    import _-1HK._-GF;
    import _-1Q8._-0PF;
    import _-Ew.IWindow;
    import _-4Aj._-0tL;
    import _-0Ix._-3La;
    import _-3iu.*;

    public class AvatarImageWidget implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _-2ag:_-3Yi;
        private var _-5AE:String;

        public function AvatarImageWidget(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-0PF(this._-374));
        }
        public function get container():IWindow
        {
            return (this._-2ag);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._-2ag = null;
        }
        public function initialize():void
        {
            this._-2ag = _-3Yi(this._-07j.getXmlWindow("avatar_image"));
        }
        public function refresh():void
        {
            this._-0JV();
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-2y3(_arg1:_-GF):void
        {
            this._-5AE = _arg1._-3-5().figure;
            this._-0JV();
        }
        private function _-374(_arg1:_-0tL):void
        {
            var k:_-0PF = (_arg1 as _-0PF);
            if (k == null)
            {
                return;
            };
            if (k.id == -1)
            {
                this._-5AE = k.figure;
                this._-0JV();
            };
        }
        private function _-0JV():void
        {
            var k:_-3La;
            if (this._-2ag != null)
            {
                k = (this._-2ag.widget as _-3La);
                if (k != null)
                {
                    k.figure = this._-5AE;
                };
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.AvatarInfoWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-1HK._-GF;
    import _-Ew.IWindow;
    import _-3iu.*;

    public class AvatarInfoWidget implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;

        public function AvatarInfoWidget(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("avatar_info"));
            this._container.visible = false;
        }
        public function refresh():void
        {
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-2y3(_arg1:_-GF):void
        {
            if (this._container != null)
            {
                this._container.visible = true;
                this._-07j.localizationManager.registerParameter("landing.view.generic.welcome.title", "username", _arg1._-3-5().name);
                this._-07j.localizationManager.registerParameter("landing.view.generic.welcome.content", "lastlogin", _arg1._-3-5()._-0ZW);
                if (_arg1._-3-5()._-0ZW == "")
                {
                    this._container.findChildByName("avatar_info_text").caption = "${landing.view.generic.welcome.first_login}";
                };
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.CatalogPromoWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-0Ie.WindowMouseEvent;
    import _-18r.Map;
    import _-Ew.IWindow;
    import _-uF.ILocalization;
    import _-253._-4Qc;
    import _-253._-4ie;
    import _-3iu.*;

    public class CatalogPromoWidget implements _-487, _-4FJ 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-0YH:String;
        private var _disposed:Boolean = false;

        public function CatalogPromoWidget(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        protected function get xmlAssetName():String
        {
            return ("catalog_promo");
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow(this.xmlAssetName));
            this._-0YH = this._-07j.configurationManager.getKey("landing.view.catalog.promo.target", "");
            var k:_-4mB = _-4mB(this._container.findChildByName("picture"));
            k.assetUri = this._-07j.configurationManager.getKey("landing.view.catalog.promo.image.uri", "");
            this._container.findChildByName("open_page_button").addEventListener(WindowMouseEvent._-90, this._-4cF);
            if ((((this._-0YH == "")) && ((k.assetUri == ""))))
            {
                this._container.visible = false;
            }
            else
            {
                this._container.visible = true;
            };
            var k:Map = new Map();
            k.add("catalog_promo_caption", "landing.view.catalog.promo.caption");
            k.add("catalog_promo_info", "landing.view.catalog.promo.info");
            k.add("open_page_button", "landing.view.catalog.open.page");
            k.add("catalog_promo_picture_text", "landing.view.catalog.promo.picture.text");
            k.add("catalog_promo_title", "landing.view.catalog.promo.title");
            var k:int;
            while (k < k.length)
            {
                this._-23F(k._-18C()[k], k._-0hn()[k], this._-0YH);
                k++;
            };
        }
        public function refresh():void
        {
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                this._-07j = null;
                if (this._container != null)
                {
                    this._container.dispose();
                    this._container = null;
                };
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-4cF(_arg1:WindowMouseEvent):void
        {
            this._-07j.catalog.openCatalogPage(this._-0YH);
        }
        private function _-23F(_arg1:String, _arg2:String, _arg3:String):void
        {
            var k:IWindow;
            var k:ILocalization = this._-07j.localizationManager.getLocalization(((_arg2 + ".") + _arg3));
            if (k != null)
            {
                k = this._container.findChildByName(_arg1);
                if (k != null)
                {
                    k.caption = (((("${" + _arg2) + ".") + _arg3) + "}");
                };
            };
        }
        public function set settings(_arg1:_-4ie):void
        {
            _-4Qc._-rh(this._container, _arg1);
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.CommunityGoalHallOfFameWidget

package _-06J
{
    import _-U2._-2Rz;
    import _-3Q9.HabboLandingView;
    import _-U2._-2Vp;
    import _-448._-1ZF;
    import _-2lx._-X1;
    import _-U2._-2vV;
    import _-U2._-SA;
    import _-Ew.IWindowContainer;
    import _-2lx._-G8;
    import _-02T._-36O;
    import _-3Q9.*;

    public class CommunityGoalHallOfFameWidget extends UserListWidget 
    {

        private var _-0qE:_-2Rz;
        private var _-2kt:String;

        public function CommunityGoalHallOfFameWidget(_arg1:HabboLandingView)
        {
            super(_arg1);
        }
        override public function initialize():void
        {
            super.initialize();
            this._-2kt = landingView.configurationManager.getKey("landing.view.dynamic.slot.6.conf");
        }
        override protected function registerMessageListeners():void
        {
            landingView.communicationManager.addHabboConnectionMessageEvent(new _-2Vp(this._-0TK));
            landingView.communicationManager.addHabboConnectionMessageEvent(new _-1ZF(this._-1Zu));
        }
        override public function refresh():void
        {
            landingView.send(new _-X1(this._-2kt));
        }
        override protected function get users():Array
        {
            return ((((this._-0qE == null)) ? null : this._-0qE.hof));
        }
        override protected function refreshPopup(_arg1:_-SA, _arg2:IWindowContainer):void
        {
            var k:_-2vV = _-2vV(_arg1);
            _arg2.findChildByName("user_name_txt").caption = k.userName;
            var k:String = "landing.view.competition.hof.points";
            landingView.localizationManager.registerParameter(k, "points", ("" + k._-Db));
            _arg2.findChildByName("score_txt").caption = getText(k);
            _arg2.findChildByName("rank_desc_txt").caption = getText((("landing.view.competition.hof." + this._-0qE._-0Tu) + ".rankdesc.leader"));
        }
        override protected function getPopupXml():String
        {
            return ("competition_user_popup");
        }
        private function _-0TK(_arg1:_-2Vp):void
        {
            this._-0qE = _arg1._-3-5().data;
            refreshContent();
        }
        override protected function hasExtraLink():Boolean
        {
            return (landingView.configurationManager.getBoolean("landing.view.communitygoalhof.hasroomlink", false));
        }
        override protected function extraLinkClicked(_arg1:_-SA):void
        {
            landingView.send(new _-G8(this._-0qE._-0Tu, _arg1.userId));
        }
        private function _-1Zu(_arg1:_-1ZF):void
        {
            var k:String = _arg1._-3-5().code;
            if ((((((_arg1._-3-5()._-4Zp == this._-2kt)) && (!((k == ""))))) && (!(disposed))))
            {
                this._-2cU(k);
                landingView.send(new _-36O(_arg1._-3-5().code));
            };
        }
        private function _-2cU(_arg1:String):void
        {
            var k:Array;
            var k:int;
            var k = (("landing.view." + _arg1) + ".avatarlist.yoffsets.array");
            if (landingView.configurationManager.keyExists(k))
            {
                k = landingView.configurationManager.getKey(k).split(",");
                k = 0;
                while (k < k.length)
                {
                    k[k] = parseInt(k[k]);
                    k++;
                };
                _-1fa = k;
            };
            var k = (("landing.view." + _arg1) + ".avatarlist.widths.array");
            if (landingView.configurationManager.keyExists(k))
            {
                k = landingView.configurationManager.getKey(k).split(",");
                k = 0;
                while (k < k.length)
                {
                    k[k] = parseInt(k[k]);
                    k++;
                };
                _-5BK = k;
            };
            var k = (("landing.view." + _arg1) + ".avatarlist.startoffset");
            if (landingView.configurationManager.keyExists(k))
            {
                _-4vj = parseInt(landingView.configurationManager.getKey(k));
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.CommunityGoalPrizesWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-U2._-4Lx;
    import _-Ew.IWindow;
    import _-U2._-3kM;
    import _-1HK._-GF;
    import _-1Q8._-0PF;
    import _-1ae._-4mB;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-3Q9.*;
    import _-3iu.*;

    public class CommunityGoalPrizesWidget implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-0qE:_-4Lx;
        private var _-5AE:String;

        public function CommunityGoalPrizesWidget(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
            this._-0qE = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("achievement_competition_prizes"));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-3kM(this._-3Gd));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-0PF(this._-374));
        }
        public function refresh():void
        {
            this.refreshContent();
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function refreshContent():void
        {
            if (this._-0qE == null)
            {
                this._container.visible = false;
                return;
            };
            this._container.visible = true;
            this._-2Wr(1);
            this._-2Wr(2);
            this._-2Wr(3);
            this._-07j.localizationManager.registerParameter(this._-VV("yourrankinfo"), "points", ("" + this._-0qE._-182));
            this._container.findChildByName("caption_txt").caption = this._-0OA("caption");
            this._container.findChildByName("info_txt").caption = this._-0OA("info");
            this._container.findChildByName("reward_name_txt").caption = this._-0OA("rewardname");
            this._container.findChildByName("reward_info_txt").caption = this._-0OA("rewardinfo");
            this._container.findChildByName("rank_1_txt").caption = this._-0OA("rank1");
            this._container.findChildByName("rank_2_txt").caption = this._-0OA("rank2");
            this._container.findChildByName("rank_3_txt").caption = this._-0OA("rank3");
            this._container.findChildByName("user_rank_border").visible = ((!(this._-0qE._-0Bn)) || ((this._-0qE._-0bg > 0)));
            var k:String = ((this._-0qE._-0Bn) ? "yourfinalrank" : (((this._-0qE._-0bg > 0)) ? "yourrank" : "youarenotranked"));
            this._-07j.localizationManager.registerParameter(this.getKey(k), "rank", ("" + this._-0qE._-0bg));
            this._container.findChildByName("user_rank_txt").caption = this.getText(k);
            this._container.findChildByName("user_rank_info_txt").visible = !(this._-0qE._-0Bn);
            this._container.findChildByName("user_rank_info_txt").caption = this._-0OA((((this._-0qE._-0bg > 0)) ? "yourrankinfo" : "youarenotrankedinfo"));
            _-4mB(this._container.findChildByName("reward_image")).assetUri = (("${image.library.url}reception/" + this._-0qE._-0Tu) + "Reward.png");
        }
        private function _-2Wr(_arg1:int):void
        {
            var k:int = this._-3OB(_arg1);
            var k:int = this._-1x0(_arg1);
            var k:String = (((k == k)) ? this.getKey("rank") : this.getKey("ranks"));
            this._-07j.localizationManager.registerParameter(k, "start", ("" + k));
            this._-07j.localizationManager.registerParameter(k, "end", ("" + k));
            this._container.findChildByName((("rank_" + _arg1) + "_info_txt")).caption = this._-07j.localizationManager.getKey(k, k);
        }
        private function _-3OB(_arg1:int):int
        {
            var k:int = this._-0qE._-4a6[(_arg1 - 2)];
            return ((k + 1));
        }
        private function _-1x0(_arg1:int):int
        {
            return (this._-0qE._-4a6[(_arg1 - 1)]);
        }
        private function _-3Gd(_arg1:_-3kM):void
        {
            this._-0qE = _arg1._-3-5().data;
            this.refreshContent();
        }
        private function getKey(_arg1:String):String
        {
            return (("landing.view.competition.prizes." + _arg1));
        }
        private function _-VV(_arg1:String):String
        {
            return (this.getKey(((this._-0qE._-0Tu + ".") + _arg1)));
        }
        private function _-0OA(_arg1:String):String
        {
            var k:String = this._-VV(_arg1);
            return (this._-07j.localizationManager.getKey(k, k));
        }
        private function getText(_arg1:String):String
        {
            var k:String = this.getKey(_arg1);
            return (this._-07j.localizationManager.getKey(k, k));
        }
        private function _-2y3(_arg1:_-GF):void
        {
            this._-5AE = _arg1._-3-5().figure;
            this._-0JV();
        }
        private function _-374(_arg1:_-0PF):void
        {
            if (((!((_arg1 == null))) && ((_arg1.id == -1))))
            {
                this._-5AE = _arg1.figure;
                this._-0JV();
            };
        }
        private function _-0JV():void
        {
            var k:_-3Yi = _-3Yi(this._container.findChildByName("avatar_image"));
            var k:_-3La = _-3La(k.widget);
            k.figure = this._-5AE;
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.CommunityGoalWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-U2._-4Lx;
    import _-Ew.IWindow;
    import _-1B-._-Px;
    import _-U2._-3kM;
    import _-uF.ILocalization;
    import _-1ae.ITextWindow;
    import _-02T._-u9;
    import _-Ia._-4lV;
    import _-4Aj._-0tL;
    import _-0Ie.WindowMouseEvent;
    import _-2Mh._-cF;
    import _-0Ie.WindowEvent;
    import _-253._-4Qc;
    import _-253._-4ie;
    import _-1B-.*;
    import _-3Q9.*;
    import _-3iu.*;

    public class CommunityGoalWidget implements _-0gI, _-487, _-4FJ 
    {

        private static const _-4Sy:Array = [0, 8, 16, 23];
        private static const _-0IZ:int = 1500;
        private static const _-0xi:int = 1000;

        private var _-07j:HabboLandingView;
        private var _-8r:IWindowContainer;
        private var _-2-B:_-4mB;
        private var _-4ov:_-4Lx;
        private var _-2et:Boolean = false;
        private var _-3bu:Number = 0;
        private var _-1XF:Number = 0;
        private var _-rY:Boolean = false;
        private var _-yy:Boolean = true;

        public function CommunityGoalWidget(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._-8r);
        }
        public function dispose():void
        {
            if (((!((this._-07j == null))) && (this._-07j.windowManager)))
            {
                _-Px(this._-07j.windowManager).removeUpdateReceiver(this);
            };
            this._-07j = null;
            this._-8r = null;
            this._-4ov = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function initialize():void
        {
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-3kM(this._-3Gd));
            this._-8r = IWindowContainer(this._-07j.getXmlWindow("community_goal"));
            this._-2-B = _-4mB(this._-8r.findChildByName("meter_needle"));
            var k:IWindow = this._-8r.findChildByName("community_catalog_button");
            this._-yy = this._-07j.configurationManager.getBoolean("landing.view.community.interactive", true);
            k.visible = this._-yy;
            k.procedure = this._-19K;
            HabboLandingView._-51x(this._-8r, "community_title", "hdr_line");
        }
        private function _-1mX(_arg1:IWindow):void
        {
            var k:_-4mB = _-4mB(_arg1);
            var k:int = k.assetUri.indexOf(".png");
            k.assetUri = (((k.assetUri.substr(0, k) + "_") + this._-4ov._-0Tu) + ".png");
        }
        private function _-TE(_arg1:String, _arg2:String):void
        {
            var k:IWindow;
            var k:ILocalization = this._-07j.localizationManager.getLocalization(((_arg2 + ".") + this._-4ov._-0Tu));
            if (k != null)
            {
                k = this._-8r.findChildByName(_arg1);
                if (k != null)
                {
                    k.caption = (((("${" + _arg2) + ".") + this._-4ov._-0Tu) + "}");
                };
            };
        }
        private function _-2Ea():int
        {
            if (this._-4ov._-3qk >= (_-4Sy.length - 1))
            {
                return (_-4Sy[(_-4Sy.length - 1)]);
            };
            var k:int = _-4Sy[this._-4ov._-3qk];
            var k:int = (_-4Sy[(this._-4ov._-3qk + 1)] - k);
            return ((k + Math.floor(((this._-4ov._-au * (k + 0.001)) / 100))));
        }
        private function _-44v():void
        {
            var k:int;
            if (((!((this._-4ov == null))) && (!((this._-4ov._-0Tu == null)))))
            {
                k = 0;
                while (k < _-4Sy.length)
                {
                    this._-1mX(this._-8r.findChildByName(("meter_level_" + k)));
                    if (k > 0)
                    {
                        this._-1mX(this._-8r.findChildByName((("meter_level_" + k) + "_icon")));
                        this._-1mX(this._-8r.findChildByName((("meter_level_" + k) + "_icon_locked")));
                    };
                    k++;
                };
                this._-TE("community_title", "landing.view.community.headline");
                this._-TE("goal_caption", "landing.view.community.caption");
                this._-TE("goal_info", "landing.view.community.info");
                this._-TE("community_catalog_button", "landing.view.community_catalog_button.text");
                this._-rY = true;
            };
        }
        private function refreshContent():void
        {
            if (this._-4ov == null)
            {
                this._-8r.visible = false;
                return;
            };
            if (!this._-rY)
            {
                this._-44v();
            };
            var k:int = 1;
            while (k < _-4Sy.length)
            {
                this._-8r.findChildByName(("meter_level_" + k)).visible = false;
                this._-8r.findChildByName((("meter_level_" + k) + "_icon")).visible = false;
                this._-8r.findChildByName((("meter_level_" + k) + "_icon_locked")).visible = false;
                k++;
            };
            var k:String = "landing.view.community.meter";
            this._-07j.localizationManager.registerParameter(k, "userRank", this._-4ov._-0bg.toString());
            this._-07j.localizationManager.registerParameter(k, "userAmount", this._-4ov._-182.toString());
            this._-07j.localizationManager.registerParameter(k, "totalAmount", this._-4ov._-58V.toString());
            if (((!((this._-4ov == null))) && (!((this._-4ov._-0Tu == null)))))
            {
                this._-07j.localizationManager.registerParameter(("landing.view.community.meter." + this._-4ov._-0Tu), "totalAmount", this._-4ov._-58V.toString());
                this._-TE("community_total_status", "landing.view.community.meter");
            };
            var k:ITextWindow = ITextWindow(this._-8r.findChildByName("goal_info"));
            k.height = (k.textHeight + 6);
            this._-8r.findChildByName("community_catalog_button").visible = this._-yy;
            this._-8r.visible = true;
            this._-8r.invalidate();
        }
        private function _-1kP(_arg1:int):void
        {
            var k:Boolean;
            var k:int = 1;
            while (k < _-4Sy.length)
            {
                k = (_arg1 >= _-4Sy[k]);
                this._-8r.findChildByName(("meter_level_" + k)).visible = k;
                this._-8r.findChildByName((("meter_level_" + k) + "_icon")).visible = k;
                this._-8r.findChildByName((("meter_level_" + k) + "_icon_locked")).visible = !(k);
                k++;
            };
            this._-2-B.assetUri = ("landing_view_needle_meter_needle" + _arg1);
        }
        public function refresh():void
        {
            this._-2WB();
            this.refreshContent();
        }
        private function _-2WB():void
        {
            if (!this._-2et)
            {
                this._-07j.send(new _-u9());
                this._-2et = true;
            };
        }
        public function update(_arg1:uint):void
        {
            this._-3bu = (this._-3bu + _arg1);
            if (this._-3bu > _-0IZ)
            {
                this._-1XF = (this._-1XF + (_arg1 / _-0xi));
                if (this._-1XF > 1)
                {
                    this._-1XF = 1;
                    _-Px(this._-07j.windowManager).removeUpdateReceiver(this);
                };
                this._-1kP(Math.floor((this._-2Ea() * this._-1XF)));
            };
        }
        private function _-3Gd(_arg1:_-0tL):void
        {
            this._-4ov = _-4lV(_arg1.parser).data;
            this._-2et = false;
            this.refreshContent();
            _-Px(this._-07j.windowManager).registerUpdateReceiver(this, 10);
        }
        private function _-19K(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-07j.configurationManager.getKey("landing.view.community.catalog.target", _-cF._-179);
                this._-07j.catalog.openCatalogPage(k);
                this._-07j.tracking.trackGoogle("landingView", "click_communityCatalogTarget");
            };
        }
        public function set settings(_arg1:_-4ie):void
        {
            _-4Qc._-rh(this._-8r, _arg1);
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.GenericWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-18r.Map;
    import _-1ae._-4mB;
    import _-Ew.IWindow;
    import _-253.DynamicLayoutManager;
    import _-2mR._-3xa;
    import _-1B-._-1zZ;
    import _-1ae.IItemListWindow;
    import _-0t._-47v;
    import _-2mR._-2fJ;
    import _-2mR._-03d;
    import _-0t.TitleElementHandler;
    import _-253._-4Qc;
    import _-253._-4ie;
    import _-2mR._-1Nm;
    import _-3Q9.*;
    import _-3iu.*;

    public class GenericWidget implements _-487, _-0aR, _-4FJ, _-1oV, _-4Fo 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-0ak:int;
        private var _-2HT:String;
        private var _-3Z5:Map;

        public function GenericWidget(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
            this._-3Z5 = new Map();
        }
        public static function _-0Vi(_arg1:HabboLandingView, _arg2:int, _arg3:String, _arg4:IWindowContainer):void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:String = _-55C(_arg1, _arg2, _arg3, "layout");
            var k:Array = k.split(";");
            var k:_-4mB = _-4mB(_arg4.findChildByName("bitmap"));
            var k:IWindow = _arg4.findChildByName("content_container");
            k.x = ((_-36x(_arg2)) ? DynamicLayoutManager._-38o : 0);
            _arg4.width = ((_-36x(_arg2)) ? DynamicLayoutManager._-4P1 : DynamicLayoutManager._-2SL);
            for each (k in k)
            {
                k = k.split(",");
                k = k[0];
                k = k[1];
                switch (k)
                {
                    case "bitmap.uri":
                        k.assetUri = k;
                        break;
                    case "bitmap.width":
                        k.width = parseInt(k);
                        break;
                    case "bitmap.height":
                        k.height = parseInt(k);
                        break;
                    case "bitmap.x":
                        k.x = parseInt(k);
                        break;
                    case "bitmap.y":
                        k.y = parseInt(k);
                        break;
                    case "content.x":
                        k.x = parseInt(k);
                        break;
                    case "content.y":
                        k.y = parseInt(k);
                        break;
                    case "content.width":
                        k.width = parseInt(k);
                        break;
                    case "container.height":
                        _arg4.height = Math.max(parseInt(k), _arg4.height);
                        break;
                };
            };
        }
        private static function _-55C(_arg1:HabboLandingView, _arg2:int, _arg3:String, _arg4:String):String
        {
            var k:String = (((_arg3)!=null) ? ((("landing.view." + _arg3) + ".") + _arg4) : ((("landing.view.dynamic.slot." + _arg2) + ".") + _arg4));
            return (_arg1.configurationManager.getKey(k));
        }
        private static function _-36x(_arg1:int):Boolean
        {
            return (((!((_arg1 == 3))) && (!((_arg1 == 5)))));
        }

        public function set slot(_arg1:int):void
        {
            this._-0ak = _arg1;
        }
        public function set _-4wk(_arg1:String):void
        {
            this._-2HT = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            var k:_-3xa;
            this._-07j = null;
            this._container = null;
            for each (k in this._-3Z5)
            {
                if ((k is _-1zZ))
                {
                    _-1zZ(k).dispose();
                };
            };
            this._-3Z5 = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("generic_widget"));
            this._-2w7();
            _-0Vi(this._-07j, this._-0ak, this._-2HT, this._container);
        }
        public function _-0og(_arg1:String):_-3xa
        {
            return ((this._-3Z5.getValue(_arg1) as _-3xa));
        }
        private function _-2w7():void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:_-3xa;
            var k:String;
            var k:IWindow;
            var k:String = _-55C(this._-07j, this._-0ak, this._-2HT, "conf");
            var k:Array = k.split(";");
            if ((((k == null)) || ((k == ""))))
            {
                return;
            };
            var k:IItemListWindow = IItemListWindow(this._container.findChildByName("content_container"));
            for each (k in k)
            {
                k = k.split(",");
                k = k[0];
                k = _-47v._-XF(k);
                k = (((k is _-2fJ)) ? _-2fJ(k)._-4bE : ("element_" + k));
                _-Nb.log(("Element: " + k));
                k = this._-07j.getXmlWindow(k);
                if (k != null)
                {
                    k.initialize(this._-07j, k, k, this);
                    this._-3Z5.add(k, k);
                };
                if ((((k is _-03d)) && (_-03d(k)._-2F0(_-36x(this._-0ak)))))
                {
                    if ((k is TitleElementHandler))
                    {
                        k.width = ((_-36x(this._-0ak)) ? DynamicLayoutManager._-4P1 : DynamicLayoutManager._-2SL);
                    };
                    this._container.addChild(k);
                }
                else
                {
                    k.addListItem(k);
                };
            };
        }
        public function refresh():void
        {
            var k:_-3xa;
            for each (k in this._-3Z5)
            {
                k.refresh();
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function set settings(_arg1:_-4ie):void
        {
            _-4Qc._-rh(this._container, _arg1);
        }
        public function disable():void
        {
            var k:_-3xa;
            for each (k in this._-3Z5)
            {
                if ((k is _-1Nm))
                {
                    _-1Nm(k).disable();
                };
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.NextLimitedRareCountdownWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import _-48G._-4V4;
    import _-Fe._-Qu;
    import flash.events.TimerEvent;
    import _-Ew.IWindow;
    import _-1ae._-3Yi;
    import _-0Ix._-2Zl;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-253._-4Qc;
    import _-253._-4ie;
    import _-3iu.*;
    import _-32F.*;

    public class NextLimitedRareCountdownWidget implements _-487, _-Hw, _-4FJ 
    {

        private static const _-3Rx:Number = (30 * 1000);//30000

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-2bN:int = 0;
        private var _-2Aj:int;
        private var _-2W3:int;
        private var _-Gu:String;
        private var _-3qc:Date;
        private var _-vf:Timer;

        public function NextLimitedRareCountdownWidget(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-vf != null)
                {
                    this._-vf.stop();
                    this._-vf = null;
                };
                this._-07j = null;
                this._container = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._container == null));
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("next_ltd_available"));
            this._container.findChildByName("get").procedure = this._-45x;
            this._container.visible = false;
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-4V4(this._-34d));
            this._-3Hy(null);
        }
        private function _-3Hy(_arg1:TimerEvent):void
        {
            this._-07j.communicationManager._-4gR(null).send(new _-Qu());
        }
        public function refresh():void
        {
            if ((((this._-3qc == null)) || (((this._-3qc.time + _-3Rx) < new Date().time))))
            {
                this._-3Hy(null);
                this._-3qc = new Date();
            };
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function _-52N():void
        {
            this.refreshContent();
        }
        private function refreshContent():void
        {
            if (this.disposed)
            {
                return;
            };
            if (this._-07j.getProductData(this._-Gu, this) != null)
            {
                this._container.findChildByName("get").caption = this._-07j.getProductData(this._-Gu, this).name;
            };
            if (this._-2Aj >= 0)
            {
                this._container.visible = true;
                this._container.findChildByName("get").visible = true;
                this._container.findChildByName("countdown").visible = false;
            }
            else
            {
                if (this._-2bN > 0)
                {
                    this._container.visible = true;
                    this._container.findChildByName("get").visible = false;
                    this._container.findChildByName("countdown").visible = true;
                }
                else
                {
                    this._container.visible = false;
                };
            };
            this._-48s();
        }
        private function _-48s():void
        {
            var k:_-3Yi = _-3Yi(this._container.findChildByName("countdown"));
            var k:_-2Zl = _-2Zl(k.widget);
            k.seconds = this._-2bN;
            k.running = true;
        }
        private function _-j6(_arg1:int):void
        {
            if (_arg1 <= 0)
            {
                return;
            };
            if (this._-vf != null)
            {
                this._-vf.stop();
                this._-vf = null;
            };
            this._-vf = new Timer(((_arg1 + 1) * 1000), 1);
            this._-vf.addEventListener(TimerEvent.TIMER, this._-3Hy);
            this._-vf.start();
        }
        private function _-34d(_arg1:_-4V4):void
        {
            this._-2bN = _arg1._-3-5()._-0C-;
            this._-2Aj = _arg1._-3-5().pageId;
            this._-2W3 = _arg1._-3-5().offerId;
            this._-Gu = _arg1._-3-5()._-5DX;
            this.refreshContent();
            this._-j6(this._-2bN);
        }
        private function _-45x(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.catalog._-33R(this._-2Aj, this._-2W3);
                this._-07j.tracking.trackGoogle("landingView", "click_goToNextLimitedCatalogPage");
            };
        }
        public function set settings(_arg1:_-4ie):void
        {
            _-4Qc._-rh(this._container, _arg1);
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.PersonalMessagesWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1HK._-GF;
    import _-U2._-1F2;
    import _-02T._-Wm;
    import flash.geom.Rectangle;
    import _-U2._-05B;
    import _-0Ie.WindowMouseEvent;
    import _-02T._-1sD;
    import _-0Ie.WindowEvent;
    import _-1ae._-4mB;
    import _-3Q9.*;
    import _-3iu.*;

    public class PersonalMessagesWidget implements _-487, _-29l 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-2j-:Array;
        private var _-2lb:String = "";
        private var _-0J7:String = "";

        public function PersonalMessagesWidget(_arg1:HabboLandingView)
        {
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("personal_messages"));
            this._container.visible = false;
            this._container.findChildByName("redeem_button").procedure = this._-3xd;
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-1F2(this._-1li));
        }
        public function refresh():void
        {
            this._-07j.send(new _-Wm());
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-2y3(_arg1:_-GF):void
        {
            this._-2lb = _arg1._-3-5().name;
            this._-0J7 = _arg1._-3-5()._-0ZW;
        }
        public function _-78():void
        {
            var k:Rectangle = this._container.desktop.rectangle;
            var k:int = 55;
            this._container.y = Math.max(0, Math.min(330, ((k.height - this._container.height) - k)));
        }
        private function _-1li(_arg1:_-1F2):void
        {
            this._-2j- = _arg1._-3-5().prizes;
            this.refreshContent();
        }
        private function _-3xd(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-05B;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-2j-[0];
                this._-07j.send(new _-1sD(k._-4Vc));
            };
        }
        private function refreshContent():void
        {
            if (this._container == null)
            {
                return;
            };
            if (this._-2lb == "")
            {
                this._container.visible = false;
                return;
            };
            this._container.visible = true;
            this._-Vv();
            this._-00c();
            var k:int = this._container.height;
            this._container.height = this._container.findChildByName("itemlist").height;
            this._-78();
        }
        private function _-3Q2():IWindowContainer
        {
            return (IWindowContainer(this._container.findChildByName("prize_container")));
        }
        private function _-Vv():void
        {
            if ((((this._-2j- == null)) || ((this._-2j-.length == 0))))
            {
                this._-3Q2().visible = false;
                this._-3Q2().height = 0;
                return;
            };
            this._-3Q2().height = 127;
            this._-3Q2().visible = true;
            var k:_-05B = this._-2j-[0];
            var k:IWindow = this._container.findChildByName("info_txt");
            k.caption = k._-0Fe;
            _-4mB(this._container.findChildByName("prize_image")).assetUri = this._-1cH(k);
        }
        private function _-00c():void
        {
            this._-07j.localizationManager.registerParameter("landing.view.generic.welcome.title", "username", this._-2lb);
            this._-07j.localizationManager.registerParameter("landing.view.generic.welcome.content", "lastlogin", this._-0J7);
            if (this._-0J7 == "")
            {
                this._container.findChildByName("avatar_info_text").caption = "${landing.view.generic.welcome.first_login}";
            };
        }
        private function _-1cH(_arg1:_-05B):String
        {
            return (((_arg1.badge) ? (("${image.library.url}album1584/" + _arg1._-5X) + ".gif") : (("${image.library.url}reception/" + _arg1._-5X) + ".png")));
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.PixelRemovalCreditPromoWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-Ew.IWindow;
    import _-48G._-3rV;
    import _-48G._-3E6;
    import _-48G._-0wm;
    import _-32F._-48b;
    import _-1ae._-3Yi;
    import _-0Ix._-2Zl;
    import _-Fe._-0Ih;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae._-4mB;
    import _-48G._-16p;
    import _-2iw._-4av;
    import _-4Aj._-0tL;
    import _-2iw._-3Gt;
    import _-Fe._-3Iu;
    import flash.display.BitmapData;
    import _-293._-2Gt;
    import flash.geom.Point;
    import _-0y0._-Xl;
    import _-2Mh._-3Uw;
    import _-293.*;
    import _-1B-.*;
    import _-3Q9.*;
    import _-3iu.*;

    public class PixelRemovalCreditPromoWidget implements _-487, dynamic, _-0gI 
    {

        private static const _-3Rx:Number = (5 * 1000);//5000

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-0zp:String;
        private var _-3qc:Date;
        private var _-3k2:int;
        private var _-4GM:Array;
        private var _-16x:int = 0;
        private var _-1i-:String;
        private var _-2iy:IBitmapWrapperWindow;
        private var _-9o:SimpleOfferData;

        public function PixelRemovalCreditPromoWidget(_arg1:HabboLandingView)
        {
            this._-4GM = [];
            super();
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            var k:SimpleOfferData;
            this._-07j.removeUpdateReceiver(this);
            for each (k in this._-4GM)
            {
                k.dispose();
            };
            this._-07j = null;
            this._container = null;
            this._-4GM = [];
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("pixel_removal_credit_promo"));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-3rV(this._-0To));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-3E6(this._-4fB));
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-0wm(this._-4aP));
            this._-0zp = this._-07j.configurationManager.getKey("landing.view.pixelremove.promo.catalogpage");
            this._container.findChildByName("open_catalog_button").procedure = this._-1ek;
            this._container.visible = false;
            this.refreshContent();
        }
        private function refreshContent():void
        {
            var k:String;
            var k:String;
            var k:int;
            if (this._-16x <= 0)
            {
                this._container.visible = false;
                return;
            };
            this._container.visible = true;
            if (this._-4GM.length > 0)
            {
                k = (Math.random() * this._-4GM.length);
                this._-9o = this._-4GM[k];
            };
            this._-2iy = (this._container.findChildByName("promo_bitmap") as IBitmapWrapperWindow);
            if (this._-9o == null)
            {
                return;
            };
            this._-3Sp(this._-9o);
            var k:String = this._-9o._-5Dp;
            var k:_-48b = this._-07j.catalog.getProductData(k);
            if (k != null)
            {
                k = (("${" + k.name) + "}");
                k = (("${" + k.description) + "}");
            }
            else
            {
                k = (("${" + k) + "}");
                k = (("${" + k) + "}");
            };
            this._container.findChildByName("page_header_txt").caption = k;
            this._container.findChildByName("page_desc_txt").caption = k;
        }
        private function _-48s():void
        {
            var k:_-3Yi = _-3Yi(this._container.findChildByName("pixels_countdown_widget"));
            var k:_-2Zl = _-2Zl(k.widget);
            k.seconds = this._-16x;
            k.running = true;
        }
        public function refresh():void
        {
            if ((((this._-3qc == null)) || (((this._-3qc.time + _-3Rx) < new Date().time))))
            {
                this._-07j.send(new _-0Ih(this._-0zp));
                this._-3qc = new Date();
            };
            this.refreshContent();
        }
        public function update(_arg1:uint):void
        {
            this._-3k9();
        }
        private function _-3k9():void
        {
            if (this._container == null)
            {
                return;
            };
            var k:_-3Yi = _-3Yi(this._container.findChildByName("pixels_countdown_widget"));
            var k:_-2Zl = _-2Zl(k.widget);
            if (k == null)
            {
                return;
            };
            if (k.seconds > 0)
            {
                this._container.visible = true;
            }
            else
            {
                this._container.visible = false;
                this._-07j.removeUpdateReceiver(this);
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function _-1ek(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.catalog._-33R(this._-3k2, this._-9o.offerId);
            };
        }
        private function _-qb(_arg1:String, _arg2:String):void
        {
            if (_arg2 == null)
            {
                return;
            };
            var k:_-4mB = _-4mB(this._container.findChildByName(_arg1));
            if (k != null)
            {
                k.assetUri = _arg2;
            };
        }
        private function _-4aP(_arg1:_-0tL):void
        {
            var k:_-16p;
            var k:SimpleOfferData;
            var k:_-0wm = (_arg1 as _-0wm);
            var k:_-4av = k._-3-5();
            _-Nb.log("Got the Catalog Page to promote!");
            if (k.pageId == this._-3k2)
            {
                this._-4GM = [];
                for each (k in k.offers)
                {
                    k = new SimpleOfferData(k);
                    this._-4GM.push(k);
                };
                this.refreshContent();
            };
        }
        private function _-0To(_arg1:_-0tL):void
        {
            this._-3qc = null;
            this.refresh();
        }
        private function _-4fB(_arg1:_-3E6):void
        {
            var k:_-3Gt = _arg1._-3-5();
            _-Nb.log("Got the Catalog Page Information !");
            if ((((k.pageName == this._-0zp)) && (!((k.pageId == 0)))))
            {
                this._-3k2 = k.pageId;
                this._-07j.send(new _-3Iu(this._-3k2, -1));
                this._-16x = k._-4t6;
                this._-1i- = k.image;
                this.refreshContent();
                this._-48s();
                this._-07j.registerUpdateReceiver(this, 10);
            };
        }
        private function _-3Sp(_arg1:SimpleOfferData):void
        {
            var k:BitmapData;
            var k:_-2Gt;
            var k:Point = new Point(0, 0);
            switch (_arg1._-5DX)
            {
                case _-3Uw._-5Ds:
                    k = this._-07j.roomEngine.getFurnitureImage(_arg1._-3yk, new _-Xl(90, 0, 0), 64, this, 0, _arg1._-1gg, -1, -1, null);
                    _arg1._-3PE = k.id;
                    break;
                case _-3Uw._-0xA:
                    k = this._-07j.roomEngine.getWallItemImage(_arg1._-3yk, new _-Xl(90, 0, 0), 64, this, 0, _arg1._-1gg);
                    _arg1._-3PE = k.id;
                    break;
                case _-3Uw._-0Z7:
                    break;
                case _-3Uw._-17R:
                    break;
                case _-3Uw._-0dl:
                    break;
                default:
                    _-Nb.log(("[ProductViewCatalogWidget] Unknown Product Type: " + _arg1._-5DX));
            };
            if (k != null)
            {
                k = k.data;
            };
            this._-Cy(k, true, k);
            this._container.invalidate();
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (!this.disposed)
            {
                this._-Cy(_arg2, true);
            };
        }
        private function _-Cy(_arg1:BitmapData, _arg2:Boolean, _arg3:Point=null):void
        {
            var k:Point;
            if (((!((this._-2iy == null))) && (!(this._container.disposed))))
            {
                if (_arg1 == null)
                {
                    k = new BitmapData(1, 1);
                    k = true;
                };
                if (this._-2iy.bitmap == null)
                {
                    this._-2iy.bitmap = new BitmapData(this._-2iy.width, this._-2iy.height, true, 0xFFFFFF);
                };
                this._-2iy.bitmap.fillRect(this._-2iy.bitmap.rect, 0xFFFFFF);
                k = new Point(((this._-2iy.width - _arg1.width) / 2), ((this._-2iy.height - _arg1.height) / 2));
                this._-2iy.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
                this._-2iy.invalidate();
                if (_arg3 != null)
                {
                    this._-2iy.x = (this._-2iy.x + _arg3.x);
                    this._-2iy.y = (this._-2iy.y + _arg3.y);
                };
            };
            if (_arg2)
            {
                _arg1.dispose();
            };
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.SimpleOfferData

package _-06J
{
    import _-48G._-4hq;
    import _-48G._-16p;

    public class SimpleOfferData 
    {

        private var _-2W3:int;
        private var _-0El:String;
        private var _-Gu:String;
        private var _-2wF:int;
        private var _-2Uq:String;
        private var _-4sC:int;

        public function SimpleOfferData(_arg1:_-16p)
        {
            var k:_-4hq;
            super();
            this._-2W3 = _arg1.offerId;
            this._-0El = _arg1._-5Dp;
            if (_arg1.products.length > 0)
            {
                k = _arg1.products[0];
                this._-Gu = k._-5DX;
                this._-2wF = k._-3Zu;
                this._-2Uq = k._-1gg;
            };
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-5Dp():String
        {
            return (this._-0El);
        }
        public function get _-5DX():String
        {
            return (this._-Gu);
        }
        public function get _-3yk():int
        {
            return (this._-2wF);
        }
        public function get _-1gg():String
        {
            return (this._-2Uq);
        }
        public function get _-3PE():int
        {
            return (this._-4sC);
        }
        public function set _-3PE(_arg1:int):void
        {
            this._-4sC = _arg1;
        }
        public function dispose():void
        {
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.TwitterWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.IItemListWindow;
    import _-18r.Map;
    import flash.utils.Timer;
    import mx.utils.StringUtil;
    import flash.events.TimerEvent;
    import flash.external.ExternalInterface;
    import flash.utils.getTimer;
    import adobe.serialization.json.JSON;
    import _-1ae._-4mB;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-11j;
    import _-0Ie.WindowEvent;
    import _-253._-4Qc;
    import _-253._-4ie;
    import _-1B-.*;
    import _-3iu.*;

    public class TwitterWidget implements _-1zZ, _-487, _-4FJ 
    {

        private static const _-09f:String = "ClientTwitter.poll";
        private static const _-0Tq:String = "twitterPollHandler";
        private static const _-3XO:String = "twitterPollFailed";
        private static const _-2GV:String = "http://twitter.com/";
        private static const _-4Ar:int = 3;
        private static const _-04x:int = 1000;
        private static const _-37D:int = (60 * _-04x);//60000
        private static const _-4Ng:int = (60 * _-37D);//3600000
        private static const _-3px:int = (24 * _-4Ng);//86400000

        private var _-07j:HabboLandingView;
        private var _disposed:Boolean = false;
        private var _-2UT:Boolean = false;
        private var _container:IWindowContainer;
        private var _-2en:IWindow;
        private var _-1GH:IWindow;
        private var _-2js:IItemListWindow;
        private var _-4yT:Array;
        private var _-09q:Map;
        private var _-32p:Timer;
        private var _-3BV:int = 20;
        private var _-4bN:int = 300;
        private var _-2YC:int = -2147483648;
        private var _-2kV:int = -1;
        private var _-24o:int = -1;

        public function TwitterWidget(_arg1:HabboLandingView)
        {
            var k:String;
            this._-4yT = [];
            this._-09q = new Map();
            super();
            this._-07j = _arg1;
            var k:Array = this._-07j.configurationManager.getKey("landing.view.twitter.tweeters", "Habbo,HabboFI").split(",");
            var k:int;
            while (k < k.length)
            {
                k = StringUtil.trim(k[k]).toLowerCase();
                if (k.length > 0)
                {
                    this._-09q.add(k, "");
                };
                k++;
            };
            this._-3BV = parseInt(this._-07j.configurationManager.getKey("landing.view.twitter.max.count", this._-3BV.toString()));
            this._-4bN = parseInt(this._-07j.configurationManager.getKey("landing.view.twitter.poll.interval", this._-4bN.toString()));
            this._-32p = new Timer((this._-4bN * 1000), 0);
            this._-32p.addEventListener(TimerEvent.TIMER, this._-0Zz);
            if (ExternalInterface.available)
            {
                ExternalInterface.addCallback(_-0Tq, this.twitterPollHandler);
                ExternalInterface.addCallback(_-3XO, this.twitterPollFailed);
            };
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.addCallback(_-0Tq, null);
                    ExternalInterface.addCallback(_-3XO, null);
                };
                if (this._-32p)
                {
                    this._-32p.removeEventListener(TimerEvent.TIMER, this._-0Zz);
                };
                this._-07j = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        protected function get layoutXmlName():String
        {
            return ("twitter_feed");
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow(this.layoutXmlName));
            this._-2js = (this._container.findChildByName("tweet_list") as IItemListWindow);
            this._-2en = this._-2js.getListItemByName("tweet_template").clone();
            this._-1GH = this._-2js.getListItemByName("tweet_separator_template").clone();
            this._-32p.start();
        }
        private function _-4zm():void
        {
            if (((((getTimer() - this._-2YC) < (this._-4bN * 1000))) || (!(this._-2UT))))
            {
                return;
            };
            this._-2YC = getTimer();
            this._-2kV = -1;
            this._-1sx();
        }
        private function _-1sx():void
        {
            this._-2kV++;
            if (this._-2kV < this._-09q.length)
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call(_-09f, this._-09q.getKey(this._-2kV), this._-3BV, this._-09q.getWithIndex(this._-2kV));
                };
            }
            else
            {
                this.refresh();
                return;
            };
        }
        private function twitterPollHandler(_arg1:String):void
        {
            var data:Array;
            var screenName:String;
            var body:String;
            var url:Object;
            var json:String = _arg1;
            var i:int;
            try
            {
                data = (JSON.decode(json, false) as Array);
            }
            catch(e:Error)
            {
                _-Nb.log("Failed to parse twitter json data.");
                return;
            };
            if (((data) && ((data.length > 0))))
            {
                screenName = String(data[0].user.screen_name).toLowerCase();
                if (this._-09q._-VD(screenName))
                {
                    this._-09q[screenName] = data[0].id_str;
                    i = 0;
                    while (i < data.length)
                    {
                        body = data[i].text;
                        if (((!((data[i].entities == null))) && (!((data[i].entities.urls == null)))))
                        {
                            for each (url in data[i].entities.urls)
                            {
                                body = body.replace(url.url, url.display_url);
                            };
                        };
                        this._-3G2(data[i].id_str, body, data[i].created_at, data[i].user.id_str, data[i].user.name, data[i].user.screen_name, data[i].user.profile_image_url);
                        i = (i + 1);
                    };
                };
            };
            this._-1sx();
        }
        private function twitterPollFailed(_arg1:String):void
        {
            _-Nb.log(("Error receiving data from twitter for user: " + _arg1));
        }
        private function _-0Zz(_arg1:TimerEvent):void
        {
            this._-4zm();
        }
        private function _-1yy(_arg1:String):String
        {
            var k:String = "";
            var k:int = (22 - _arg1.length);
            while (k > 0)
            {
                k = ("0" + k);
                k--;
            };
            return ((k + _arg1));
        }
        private function _-3G2(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:String):void
        {
            this._-4yT.push({
                paddedTweetId:this._-1yy(_arg1),
                tweetId:_arg1,
                content:_arg2,
                creationTime:_arg3,
                userId:_arg4,
                userName:_arg5,
                userScreenName:_arg6,
                profileImageUrl:_arg7
            });
        }
        public function refresh():void
        {
            this._-2UT = true;
            this._-4zm();
            this.refreshContent();
        }
        public function refreshContent():void
        {
            var k:int;
            var k:int;
            var k:Array;
            var k:IWindowContainer;
            var k:Object;
            if (this._-2js == null)
            {
                return;
            };
            this._-4yT.sortOn("paddedTweetId", Array.DESCENDING);
            if (this._-4yT.length > 0)
            {
                k = new Array();
                k.push(this._-4yT[0]);
                k = 1;
                k = 0;
                while ((((k < this._-4yT.length)) && ((k.length < 150))))
                {
                    if (this._-4yT[k].tweetId !== k[k].tweetId)
                    {
                        k.push(this._-4yT[k]);
                        k++;
                    };
                    k++;
                };
                this._-4yT = k;
            };
            this._-2js._-Ls();
            var k:Number = new Date().time;
            var k:int = this._-4yT.length;
            k = 0;
            while (k < k)
            {
                k = (this._-2en.clone() as IWindowContainer);
                k = this._-4yT[k];
                k.findChildByName("twitter_nick").caption = k.userScreenName;
                k.findChildByName("twitter_realname").caption = k.userName;
                k.findChildByName("tweet_body").caption = k.content;
                k.findChildByName("tweet_time").caption = this._-20F(k.creationTime, k);
                _-4mB(k.findChildByName("tweet_icon")).assetUri = k.profileImageUrl;
                k.tags.push((((_-2GV + k.userScreenName) + "/status/") + k.tweetId));
                k.procedure = this._-4Km;
                k.findChildByName("reply_link").tags.push(((_-2GV + "intent/tweet?in_reply_to=") + k.tweetId));
                k.findChildByName("reply_link").procedure = this._-4Km;
                k.findChildByName("retweet_link").tags.push(((_-2GV + "intent/retweet?tweet_id=") + k.tweetId));
                k.findChildByName("retweet_link").procedure = this._-4Km;
                k.findChildByName("favorite_link").tags.push(((_-2GV + "intent/favorite?tweet_id=") + k.tweetId));
                k.findChildByName("favorite_link").procedure = this._-4Km;
                this._-2js.addListItem(k);
                if (k < (k - 1))
                {
                    this._-2js.addListItem(this._-1GH.clone());
                };
                k++;
            };
        }
        private function _-4Km(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.target.tags.length > 0)
            {
                switch (_arg1.type)
                {
                    case WindowMouseEvent._-3Jy:
                        this._-24o = WindowMouseEvent(_arg1).stageY;
                        return;
                    case WindowMouseEvent._-02B:
                        if ((((this._-24o >= 0)) && ((Math.abs((this._-24o - WindowMouseEvent(_arg1).stageY)) < _-4Ar))))
                        {
                            this._-24o = -1;
                            this._-07j.windowManager.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, null);
                            _-11j._-0D8(_arg1.target.tags[0]);
                        };
                        return;
                };
            };
        }
        private function _-20F(_arg1:String, _arg2:Number):String
        {
            var k:Number = Date.parse(_arg1);
            var k:Number = (_arg2 - k);
            var k:Number = Math.abs(k);
            if (k > _-3px)
            {
                this._-07j.localizationManager.registerParameter("landing.view.twitter.days", "day_count", int((k / _-3px)).toString());
                return (this._-07j.localizationManager.getKey("landing.view.twitter.days", ""));
            };
            if (k > _-4Ng)
            {
                this._-07j.localizationManager.registerParameter("landing.view.twitter.hours", "hour_count", int((k / _-4Ng)).toString());
                return (this._-07j.localizationManager.getKey("landing.view.twitter.hours", ""));
            };
            if (k > _-37D)
            {
                this._-07j.localizationManager.registerParameter("landing.view.twitter.minutes", "minute_count", int((k / _-37D)).toString());
                return (this._-07j.localizationManager.getKey("landing.view.twitter.minutes", ""));
            };
            this._-07j.localizationManager.registerParameter("landing.view.twitter.seconds", "second_count", int((k / _-04x)).toString());
            return (this._-07j.localizationManager.getKey("landing.view.twitter.seconds", ""));
        }
        protected function get landingView():HabboLandingView
        {
            return (this._-07j);
        }
        public function set settings(_arg1:_-4ie):void
        {
            _-4Qc._-rh(IWindowContainer(this._-2en), _arg1);
            _-4Qc._-rh(this._container, _arg1);
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.UserListWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-2vN._-3Xv;
    import _-Ew.IWindow;
    import _-U2._-SA;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-0Ie.WindowMouseEvent;
    import _-0Pi._-RA;
    import _-0Ie.WindowEvent;
    import _-3Q9.*;
    import _-3iu.*;

    public class UserListWidget implements _-487 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-0Xf:IWindowContainer;
        private var _-1Dd:int = 150;
        private var _-58J:Array;
        private var _-0lc:Array;
        private var _-1JD:Array;

        public function UserListWidget(_arg1:HabboLandingView)
        {
            this._-58J = [0, 10, 5, 0, 5, 10, 0, 10, 5, 10];
            this._-0lc = [];
            this._-1JD = [_-3Xv._-1Ag, _-3Xv._-2P, _-3Xv._-1Ag, _-3Xv._-1Ag, _-3Xv._-2P, _-3Xv._-1Ag, _-3Xv._-1Ag, _-3Xv._-1Ag, _-3Xv._-2P, _-3Xv._-1Ag];
            super();
            this._-07j = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
            if (this._-0Xf != null)
            {
                this._-0Xf.dispose();
                this._-0Xf = null;
            };
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("user_list"));
            this.registerMessageListeners();
        }
        public function refresh():void
        {
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function refreshContent():void
        {
            if (this.users == null)
            {
                this._container.visible = false;
                return;
            };
            this._container.visible = true;
            this._-I8();
            this._-4s2();
        }
        private function _-I8():void
        {
            var k:IWindowContainer;
            var k:_-SA;
            var k:_-3Yi;
            var k:_-3La;
            var k:int = this._-1Dd;
            var k:int;
            while (k < 10)
            {
                k = this._-0iO(k);
                if (k == null)
                {
                    k = this._-314(k);
                    this._container.addChild(k);
                    k.x = k;
                    k = (k + k.width);
                };
                k = this.users[k];
                k.visible = !((k == null));
                if (k)
                {
                    k = _-3Yi(k.findChildByName("avatar_image_widget"));
                    k = _-3La(k.widget);
                    k.figure = k.figure;
                };
                k++;
            };
        }
        private function _-0iO(_arg1:int):IWindowContainer
        {
            return (IWindowContainer(this._container.getChildByID(_arg1)));
        }
        private function _-314(_arg1:int):IWindowContainer
        {
            var k:IWindowContainer = IWindowContainer(this._-07j.getXmlWindow("user_entry"));
            this._-356(k, _arg1);
            k.procedure = this._-0my;
            k.id = _arg1;
            if (this._-0lc.length > _arg1)
            {
                k.width = this._-0lc[_arg1];
            };
            var k:IWindow = k.findChildByName("extra_link_region");
            k.visible = this.hasExtraLink();
            k.procedure = this._-0Qf;
            k.id = _arg1;
            return (k);
        }
        private function _-356(_arg1:IWindowContainer, _arg2:int):void
        {
            var k:_-3Yi = _-3Yi(_arg1.findChildByName("avatar_image_widget"));
            var k:_-3La = _-3La(k.widget);
            _arg1.y = (_arg1.y + (this._-58J[_arg2] + 70));
            if (this._-58J[_arg2] < 0)
            {
                _arg1.height = (_arg1.height + -(this._-58J[_arg2]));
            };
            k.direction = this._-1JD[_arg2];
            _arg1.findChildByName("extra_link_region").y = (_arg1.findChildByName("extra_link_region").y - this._-58J[_arg2]);
        }
        private function _-1mU(_arg1:IWindow):_-SA
        {
            var k:int = _arg1.id;
            return (this.users[k]);
        }
        private function _-0my(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-SA = this._-1mU(_arg2);
            if (k == null)
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.send(new _-RA(k.userId));
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    this._-0QU(k, _arg2);
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        this._-4s2();
                    };
                };
            };
        }
        private function _-0Qf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-SA;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-1mU(_arg2);
                if (k == null)
                {
                    return;
                };
                this.extraLinkClicked(k);
            }
            else
            {
                this._-0my(_arg1, _arg2.parent);
            };
        }
        private function _-0QU(_arg1:_-SA, _arg2:IWindow):void
        {
            if (this._-0Xf == null)
            {
                this._-0Xf = IWindowContainer(this._-07j.getXmlWindow(this.getPopupXml()));
                this._container.addChild(this._-0Xf);
            };
            this.refreshPopup(_arg1, this._-0Xf);
            this._-0Xf.y = Math.max(0, (79 - this._-0Xf.height));
            this._-0Xf.x = (_arg2.x + ((_arg2.width - this._-0Xf.width) / 2));
            this._-0Xf.visible = true;
        }
        private function _-4s2():void
        {
            if (this.users.length > 0)
            {
                this._-0QU(this.users[0], this._container.getChildByID(0));
            }
            else
            {
                if (this._-0Xf != null)
                {
                    this._-0Xf.visible = false;
                };
            };
        }
        protected function get landingView():HabboLandingView
        {
            return (this._-07j);
        }
        protected function getText(_arg1:String):String
        {
            return (this.landingView.localizationManager.getKey(_arg1, _arg1));
        }
        protected function registerMessageListeners():void
        {
        }
        protected function get users():Array
        {
            return (null);
        }
        protected function refreshPopup(_arg1:_-SA, _arg2:IWindowContainer):void
        {
        }
        protected function getPopupXml():String
        {
            return (null);
        }
        protected function hasExtraLink():Boolean
        {
            return (false);
        }
        protected function extraLinkClicked(_arg1:_-SA):void
        {
        }
        protected function set _-1fa(_arg1:Array):void
        {
            this._-58J = _arg1;
        }
        protected function set _-5BK(_arg1:Array):void
        {
            this._-0lc = _arg1;
        }
        public function set _-4vj(_arg1:int):void
        {
            this._-1Dd = _arg1;
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-06J.WidgetContainerWidget

package _-06J
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import _-253._-4ie;
    import _-253._-3fj;
    import _-Ew.IWindow;
    import _-448._-1ZF;
    import _-2lx._-X1;
    import _-253._-299;
    import _-3iu._-487;
    import _-3iu._-0aR;
    import _-3iu._-1oV;
    import _-3Q9.*;
    import _-3iu.*;

    public class WidgetContainerWidget implements _-487, _-0aR 
    {

        private var _-07j:HabboLandingView;
        private var _container:IWindowContainer;
        private var _-4ye:Dictionary;
        private var _-Ll:_-4ie;
        private var _-0ak:int;
        private var _-2kt:String;
        private var _-3Jk:_-3fj;

        public function WidgetContainerWidget(_arg1:HabboLandingView)
        {
            this._-4ye = new Dictionary();
            super();
            this._-07j = _arg1;
        }
        public static function _-LK(_arg1:IWindowContainer):void
        {
            var k:int;
            while (k < _arg1.numChildren)
            {
                _arg1.getChildAt(k).visible = false;
                k++;
            };
        }

        public function set slot(_arg1:int):void
        {
            this._-0ak = _arg1;
        }
        public function get container():IWindow
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._container = null;
        }
        public function initialize():void
        {
            this._container = IWindowContainer(this._-07j.getXmlWindow("widget_container_widget"));
            this._-Ll = new _-4ie(this._-07j.configurationManager);
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-1ZF(this._-1Zu));
            this._-2kt = this._-07j.configurationManager.getKey((("landing.view.dynamic.slot." + this._-0ak) + ".conf"));
        }
        public function refresh():void
        {
            this._-07j.send(new _-X1(this._-2kt));
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        private function refreshContent():void
        {
            _-LK(this._container);
            if (this._-3Jk != null)
            {
                this._-3Jk.refresh(this._container);
                this._-3Jk.container.visible = true;
                this._container.height = this._-3Jk.container.height;
                this._container.width = this._-3Jk.container.width;
            };
        }
        private function _-4te(_arg1:String):_-3fj
        {
            var k:String = this._-07j.configurationManager.getKey((("landing.view." + _arg1) + ".widget"));
            var k:_-487 = _-299._-3Oh(k, this._-07j);
            if ((k is _-0aR))
            {
                _-0aR(k).slot = this._-0ak;
            };
            if ((k is _-1oV))
            {
                _-1oV(k)._-4wk = _arg1;
            };
            var k:_-3fj = new _-3fj(k, null, this._-Ll, this._container);
            this._-4ye[_arg1] = k;
            return (k);
        }
        private function _-1Zu(_arg1:_-1ZF):void
        {
            if ((((_arg1._-3-5()._-4Zp == this._-2kt)) && (!(this.disposed))))
            {
                this._-3Js(_arg1._-3-5().code);
                this.refreshContent();
            };
        }
        private function _-3Js(_arg1:String):void
        {
            if (_arg1 == "")
            {
                this._-3Jk = null;
                return;
            };
            var k:_-3fj = this._-4ye[_arg1];
            if (k == null)
            {
                k = this._-4te(_arg1);
            };
            this._-3Jk = k;
        }

    }
}//package _-06J

//------------------------------------------------------------
//_-071._-1PC

package _-071
{
    import flash.events.Event;

    public class _-1PC extends Event 
    {

        public static const _-2jd:String = "RCLE_SUCCESS";
        public static const _-3U3:String = "RCLE_FAILURE";
        public static const _-0Q9:String = "RCLE_CANCEL";

        private var _-yx:String;

        public function _-1PC(_arg1:String, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-yx = _arg2;
        }
        public function get contentType():String
        {
            return (this._-yx);
        }

    }
}//package _-071

//------------------------------------------------------------
//_-071._-2Z2

package _-071
{
    import flash.events.Event;
    import _-3V-._-3SU;

    public class _-2Z2 extends Event 
    {

        private var _-XQ:_-3SU;

        public function _-2Z2(_arg1:String, _arg2:_-3SU, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-XQ = _arg2;
        }
        public function get object():_-3SU
        {
            return (this._-XQ);
        }
        public function get _-mx():int
        {
            if (this._-XQ != null)
            {
                return (this._-XQ.getId());
            };
            return (-1);
        }
        public function get _-2zd():String
        {
            if (this._-XQ != null)
            {
                return (this._-XQ.getType());
            };
            return (null);
        }

    }
}//package _-071

//------------------------------------------------------------
//_-071._-3gM

package _-071
{
    public class _-3gM 
    {

        private var _-5K:String = "";
        private var _-43B:String = "";
        private var _-1ed:String = "";
        private var _-G-:String = "";
        private var _-39i:Number = 0;
        private var _-0ec:Number = 0;
        private var _-59N:Number = 0;
        private var _-4pr:Number = 0;
        private var _-ao:Boolean = false;
        private var _-2PK:Boolean = false;
        private var _-5D8:Boolean = false;
        private var _-01T:Boolean = false;

        public function _-3gM(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:Number, _arg7:Number=0, _arg8:Number=0, _arg9:Boolean=false, _arg10:Boolean=false, _arg11:Boolean=false, _arg12:Boolean=false)
        {
            this._-5K = _arg1;
            this._-43B = _arg2;
            this._-1ed = _arg3;
            this._-G- = _arg4;
            this._-39i = _arg5;
            this._-0ec = _arg6;
            this._-59N = _arg7;
            this._-4pr = _arg8;
            this._-ao = _arg9;
            this._-2PK = _arg10;
            this._-5D8 = _arg11;
            this._-01T = _arg12;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get _-F7():String
        {
            return (this._-43B);
        }
        public function get _-1n1():String
        {
            return (this._-1ed);
        }
        public function get _-3u():String
        {
            return (this._-G-);
        }
        public function get _-3Ow():Number
        {
            return (this._-39i);
        }
        public function get _-4az():Number
        {
            return (this._-0ec);
        }
        public function get localX():Number
        {
            return (this._-59N);
        }
        public function get localY():Number
        {
            return (this._-4pr);
        }
        public function get ctrlKey():Boolean
        {
            return (this._-ao);
        }
        public function get altKey():Boolean
        {
            return (this._-2PK);
        }
        public function get shiftKey():Boolean
        {
            return (this._-5D8);
        }
        public function get buttonDown():Boolean
        {
            return (this._-01T);
        }

    }
}//package _-071

//------------------------------------------------------------
//_-071._-4l1

package _-071
{
    import _-3V-._-3SU;

    public class _-4l1 extends _-2Z2 
    {

        public static const _-se:String = "ROE_MOUSE_CLICK";
        public static const _-3iY:String = "ROE_MOUSE_ENTER";
        public static const _-Mb:String = "ROE_MOUSE_MOVE";
        public static const _-Ug:String = "ROE_MOUSE_LEAVE";
        public static const _-00l:String = "ROE_MOUSE_DOUBLE_CLICK";
        public static const _-01d:String = "ROE_MOUSE_DOWN";

        private var _-43B:String = "";
        private var _-2PK:Boolean;
        private var _-ao:Boolean;
        private var _-5D8:Boolean;
        private var _-01T:Boolean;

        public function _-4l1(_arg1:String, _arg2:_-3SU, _arg3:String, _arg4:Boolean=false, _arg5:Boolean=false, _arg6:Boolean=false, _arg7:Boolean=false, _arg8:Boolean=false, _arg9:Boolean=false)
        {
            super(_arg1, _arg2, _arg8, _arg9);
            this._-43B = _arg3;
            this._-2PK = _arg4;
            this._-ao = _arg5;
            this._-5D8 = _arg6;
            this._-01T = _arg7;
        }
        public function get _-F7():String
        {
            return (this._-43B);
        }
        public function get altKey():Boolean
        {
            return (this._-2PK);
        }
        public function get ctrlKey():Boolean
        {
            return (this._-ao);
        }
        public function get shiftKey():Boolean
        {
            return (this._-5D8);
        }
        public function get buttonDown():Boolean
        {
            return (this._-01T);
        }

    }
}//package _-071

//------------------------------------------------------------
//_-07u.ChatBubbleFactory

package _-07u
{
    import _-18r.Map;
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-1ae.IRegionWindow;
    import _-2HX._-39F;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.geom.ColorTransform;
    import flash.display.BlendMode;
    import flash.geom.Matrix;
    import flash.geom.Rectangle;

    public class ChatBubbleFactory 
    {

        private var _-0Fg:Map;

        public function ChatBubbleFactory(_arg1:_-39L, _arg2:_-3Ts, _arg3:XML)
        {
            var child:XML;
            var styleId:int;
            var assetId:String;
            var configXmlAssetName:String;
            var configXml:XML;
            var style:ChatBubbleStyle;
            var assets:_-39L = _arg1;
            var windowManager:_-3Ts = _arg2;
            var config:XML = _arg3;
            this._-0Fg = new Map();
            super();
            for each (child in config.child("style"))
            {
                styleId = child.@id[0];
                assetId = child.@assetId[0];
                configXmlAssetName = (("roomchat_styles_" + assetId) + "_style_xml");
                configXml = XML(assets.getAssetByName(configXmlAssetName).content);
                try
                {
                    style = new ChatBubbleStyle(assets, windowManager, configXml);
                    this._-0Fg.add(styleId, style);
                }
                catch(e:Error)
                {
                    _-Nb.log(((("Error initializing chat style: " + styleId) + ", error message: ") + e.message));
                };
            };
        }
        public function _-2NN(_arg1:int, _arg2:int):IRegionWindow
        {
            var k:ChatBubbleStyle = ChatBubbleStyle(this._-0Fg.getValue(_arg1));
            switch (_arg2)
            {
                case _-39F._-2H0:
                    return (IRegionWindow(k._-3yl.clone()));
                case _-39F._-4t9:
                    if (k.shoutLayout != null)
                    {
                        return (IRegionWindow(k.shoutLayout.clone()));
                    };
                    return (IRegionWindow(k._-3yl.clone()));
                case _-39F._-lR:
                    if (k.whisperLayout != null)
                    {
                        return (IRegionWindow(k.whisperLayout.clone()));
                    };
                    return (IRegionWindow(k._-3yl.clone()));
                default:
                    if (k.whisperLayout != null)
                    {
                        return (IRegionWindow(k.whisperLayout.clone()));
                    };
                    return (IRegionWindow(k._-3yl.clone()));
            };
        }
        public function _-3St(_arg1:int):BitmapData
        {
            var k:ChatBubbleStyle = ChatBubbleStyle(this._-0Fg.getValue(_arg1));
            return (k.pointerBitmapData);
        }
        public function _-0cs(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:uint):BitmapData
        {
            var k:uint;
            var k:uint;
            var k:uint;
            var _local15:int;
            var _local16:int;
            var k:ChatBubbleStyle = ChatBubbleStyle(this._-0Fg.getValue(_arg1));
            var k:int;
            var k:Point = new Point();
            var k:BitmapData = new BitmapData(((k._-52R.width + _arg3) + k._-2cO.width), _arg4, true, 0);
            k = (k + k._-52R.width);
            k.copyPixels(k._-52R, k._-52R.rect, k);
            if (k._-28Y != null)
            {
                k = 232;
                k = 177;
                k = 55;
                if (_arg5 != 0)
                {
                    k = ((_arg5 >> 16) & 0xFF);
                    k = ((_arg5 >> 8) & 0xFF);
                    k = ((_arg5 >> 0) & 0xFF);
                };
                k.draw(k._-28Y, null, new ColorTransform((k / 0xFF), (k / 0xFF), (k / 0xFF)), BlendMode.DARKEN);
            };
            var k:Matrix = new Matrix();
            if (k._-3kZ.width == 1)
            {
                k.scale((_arg3 / k._-3kZ.width), 1);
                k.translate(k, 0);
                k.draw(k._-3kZ, k);
            }
            else
            {
                k.translate(k, 0);
                _local15 = ((_arg3 / k._-3kZ.width) + 1);
                _local16 = 0;
                while (_local16 < _local15)
                {
                    k.draw(k._-3kZ, k);
                    k.translate(k._-3kZ.width, 0);
                    _local16++;
                };
            };
            k = (k + _arg3);
            k.x = k;
            k.copyPixels(k._-2cO, k._-2cO.rect, k);
            var k:Rectangle = k._-2cO.rect.clone();
            k.offsetPoint(k);
            return (k);
        }
        public function _-382():Array
        {
            return (this._-0Fg._-18C());
        }
        public function _-13W():Array
        {
            var k:int;
            var k:ChatBubbleStyle;
            var k:Array = new Array();
            for each (k in this._-382())
            {
                k = this._-0Fg.getValue(k);
                if (!k._-1IP)
                {
                    k.push(k);
                };
            };
            return (k);
        }
        public function _-2fI(_arg1:int):BitmapData
        {
            var k:ChatBubbleStyle = ChatBubbleStyle(this._-0Fg.getValue(_arg1));
            return (k._-3D9);
        }
        public function _-2Yp(_arg1:int):int
        {
            var k:ChatBubbleStyle = ChatBubbleStyle(this._-0Fg.getValue(_arg1));
            return (k._-3kZ.height);
        }

    }
}//package _-07u

//------------------------------------------------------------
//_-07u.ChatBubbleStyle

package _-07u
{
    import _-1ae.IRegionWindow;
    import flash.display.BitmapData;
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-295._-2kE;
    import _-09j.WindowParam;

    public class ChatBubbleStyle 
    {

        private var _-2mp:int;
        private var _-3BP:String;
        private var _-4BO:Boolean = false;
        private var _-39x:IRegionWindow;
        private var _-3KC:IRegionWindow;
        private var _-4sH:IRegionWindow;
        private var _-0z0:BitmapData;
        private var _-2Wx:BitmapData;
        private var _-1ib:BitmapData;
        private var _-21P:BitmapData;
        private var _-ts:BitmapData;
        private var _-42L:BitmapData;

        public function ChatBubbleStyle(_arg1:_-39L, _arg2:_-3Ts, _arg3:XML)
        {
            this._-2mp = _arg3.@id[0];
            this._-3BP = _arg3.@name[0];
            this._-4BO = _arg3.@systemstyle[0];
            var k:XML = _arg3.child("layouts")[0];
            var k:XML = _arg3.child("bitmaps")[0];
            this._-39x = this._-44U(_arg2, _arg1, _-4wH(k, "speakLayout"));
            this._-3KC = this._-44U(_arg2, _arg1, _-4wH(k, "whisperLayout"));
            this._-4sH = this._-44U(_arg2, _arg1, _-4wH(k, "shoutLayout"));
            var k:String = _-4wH(k, "leftBitmap");
            var k:String = _-4wH(k, "leftColorBitmap");
            var k:String = _-4wH(k, "middleBitmap");
            var k:String = _-4wH(k, "rightBitmap");
            var k:String = _-4wH(k, "pointerBitmap");
            if (k)
            {
                this._-0z0 = this._-4He(k, _arg1);
            };
            if (k)
            {
                this._-2Wx = this._-4He(k, _arg1);
            };
            if (k)
            {
                this._-1ib = this._-4He(k, _arg1);
            };
            if (k)
            {
                this._-21P = this._-4He(k, _arg1);
            };
            if (k)
            {
                this._-ts = this._-4He(k, _arg1);
            };
            var k:String = _-4wH(k, "previewIconBitmap");
            if (k)
            {
                this._-42L = this._-4He(k, _arg1);
            };
        }
        private static function _-4wH(_arg1:XML, _arg2:String):String
        {
            var k:XMLList = _arg1.child(_arg2);
            if (k.length() < 1)
            {
                return (null);
            };
            var k:XMLList = XML(k[0]).attribute("assetId");
            if (k.length() < 1)
            {
                return (null);
            };
            return (k[0]);
        }

        public function get _-3yl():IRegionWindow
        {
            return (this._-39x);
        }
        public function get whisperLayout():IRegionWindow
        {
            return (this._-3KC);
        }
        public function get shoutLayout():IRegionWindow
        {
            return (this._-4sH);
        }
        public function get _-52R():BitmapData
        {
            return (this._-0z0);
        }
        public function get _-28Y():BitmapData
        {
            return (this._-2Wx);
        }
        public function get _-3kZ():BitmapData
        {
            return (this._-1ib);
        }
        public function get _-2cO():BitmapData
        {
            return (this._-21P);
        }
        public function get pointerBitmapData():BitmapData
        {
            return (this._-ts);
        }
        public function get _-1IP():Boolean
        {
            return (this._-4BO);
        }
        public function get _-3D9():BitmapData
        {
            return (this._-42L);
        }
        private function _-44U(_arg1:_-3Ts, _arg2:_-39L, _arg3:String):IRegionWindow
        {
            if (_arg3 == null)
            {
                return (null);
            };
            var k:_-2kE = _arg2.getAssetByName(this._-3cq((_arg3 + "_xml")));
            var k:IRegionWindow = (_arg1.buildFromXML((k.content as XML), 1) as IRegionWindow);
            k.tags.push("roomchat_bubble");
            k.x = 0;
            k.y = 0;
            k.width = 0;
            k.background = true;
            k.mouseThreshold = 0;
            k.setParamFlag(WindowParam._-2gg, true);
            return (k);
        }
        private function _-3cq(_arg1:String):String
        {
            var k:String = ((("roomchat_styles_" + this._-3BP) + "_") + _arg1);
            return (k);
        }
        private function _-4He(_arg1:String, _arg2:_-39L):BitmapData
        {
            var k:_-2kE = _arg2.getAssetByName(this._-3cq(_arg1));
            if (k)
            {
                return (BitmapData(k.content));
            };
            throw (new Error(("Configured bitmapdata asset missing for chat bubble style: " + this._-3cq(_arg1))));
        }

    }
}//package _-07u

//------------------------------------------------------------
//_-098._-x-

package _-098
{
    import _-3Qs._-1Lj;
    import flash.display.Bitmap;
    import _-3Qs._-N4;
    import flash.display.BitmapData;
    import _-2eC.ISkinRenderer;
    import _-bY._-4U6;
    import _-3Qs.IGraphicContextHost;
    import _-3Qs.IGraphicContext;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import flash.geom.Point;

    public class _-x- extends _-1Lj 
    {

        private static const _-3-Y:Bitmap = new Bitmap();

        public function _-x-(_arg1:_-N4)
        {
            super(_arg1);
        }
        override public function render(_arg1:IWindow, _arg2:Point, _arg3:Rectangle, _arg4:Rectangle, _arg5:BitmapData):BitmapData
        {
            var k:Boolean;
            var k:BitmapData;
            var k:uint = ((_arg1.background) ? _-0TO : _-4E6);
            var k:ISkinRenderer = _-2HM.getSkinRendererByTypeAndStyle(_arg1.type, _arg1.style);
            if (k != null)
            {
                if (k.isStateDrawable(_-3bM))
                {
                    k = _-ct;
                };
            };
            var k:int = Math.max(_arg1.width, 1);
            var k:int = Math.max(_arg1.height, 1);
            var k:Boolean = true;
            if (k != _-4E6)
            {
                if (((((!(_-1wu)) || (!((_-1wu.width == k))))) || (!((_-1wu.height == k)))))
                {
                    if (_-1wu)
                    {
                        _-1wu.dispose();
                    };
                    _-1wu = new _-4U6(this, k, k, true, _arg1.color);
                    _-4ST = true;
                    k = false;
                };
            };
            var k:IGraphicContext = IGraphicContextHost(_arg1).getGraphicContext(false);
            if (k)
            {
                if (!k.visible)
                {
                    k.visible = true;
                };
                k = _arg1._-1s-(WindowParam._-2gg);
                k = k._-1w6(_arg1.rectangle, !(_arg1._-1s-(WindowParam._-Cp)), ((k) ? _arg3 : null));
                if (k)
                {
                };
                if (k)
                {
                    k = new Rectangle(0, 0, k, k);
                };
            };
            var k = !(_arg1._-1s-(WindowParam._-Cp));
            if (k != _-4E6)
            {
                if (_arg5 != null)
                {
                    _arg5.lock();
                    if (k == _-ct)
                    {
                        if (k)
                        {
                            _arg5.fillRect(_arg3, 0);
                        };
                        if (_-4ST)
                        {
                            _-4ST = false;
                            if (k)
                            {
                                _-1wu.fillRect(_-1wu.rect, _arg1.color);
                            };
                            k.draw(_arg1, _-1wu, _-1wu.rect, _-3bM, false);
                        };
                        if ((((_arg1.blend < 1)) && (!(k))))
                        {
                            _-41H.tx = (_arg2.x - _arg3.x);
                            _-41H.ty = (_arg2.y - _arg3.y);
                            _-0ex.alphaMultiplier = _arg1.blend;
                            _arg3.offset(_-41H.tx, _-41H.ty);
                            _-3-Y.bitmapData = _-1wu;
                            _arg5.draw(_-3-Y, _-41H, _-0ex, null, _arg3, false);
                            _-3-Y.bitmapData = null;
                            _arg3.offset(-(_-41H.tx), -(_-41H.ty));
                        }
                        else
                        {
                            _arg5.copyPixels(_-1wu, _arg3, _arg2, null, null, true);
                        };
                    }
                    else
                    {
                        if (k == _-0TO)
                        {
                            if (!k)
                            {
                                _-1wu.fillRect(_-1wu.rect, _arg1.color);
                                _arg5.copyPixels(_-1wu, _arg3, _arg2, null, null, true);
                            }
                            else
                            {
                                _arg5.fillRect(new Rectangle(_arg2.x, _arg2.y, _arg3.width, _arg3.height), _arg1.color);
                                k.blend = _arg1.blend;
                            };
                        };
                    };
                    _arg5.unlock();
                };
            }
            else
            {
                if (((_-4ST) && (k)))
                {
                    _-4ST = false;
                    if (_arg5 != null)
                    {
                        _arg5.fillRect(_arg3, 0);
                    };
                };
            };
            _-16o = _-3bM;
            return (_arg5);
        }

    }
}//package _-098

//------------------------------------------------------------
//_-098.WindowRendererPatch

package _-098
{
    import _-3Qs.WindowRenderer;
    import _-3Qs._-N4;
    import _-3Qs._-1Lj;
    import _-0Ie._-4C7;
    import _-Ew.IWindow;
    import _-3Qs.*;

    public class WindowRendererPatch extends WindowRenderer 
    {

        public function WindowRendererPatch(_arg1:_-N4)
        {
            super(_arg1);
        }
        override public function registerRenderable(_arg1:IWindow):void
        {
            var k:_-1Lj = (_-28i[_arg1] as _-1Lj);
            if (k == null)
            {
                k = new _-x-(_-2HM);
                _-28i[_arg1] = k;
                _arg1.addEventListener(_-4C7._-3vn, _-3ey);
            };
        }

    }
}//package _-098

//------------------------------------------------------------
//_-09j._-25s

package _-09j
{
    public class _-25s 
    {

        public static const _-3dr:uint = 0;
        public static const ARROW:uint = 1;
        public static const _-4hH:uint = 2;
        public static const _-2GA:uint = 3;
        public static const _-3Km:uint = 4;
        public static const _-0VB:uint = 5;
        public static const _-0qX:uint = 6;
        public static const _-am:uint = 7;
        public static const _-3bU:uint = 8;
        public static const _-3Z6:uint = 9;
        public static const _-XN:uint = 10;
        public static const _-go:uint = 11;
        public static const _-2uy:uint = 12;
        public static const _-2Jn:uint = 13;
        public static const NONE:uint = 0xFFFFFFFE;
        public static const _-4fP:uint = 0xFFFFFFFF;

    }
}//package _-09j

//------------------------------------------------------------
//_-09j._-az

package _-09j
{
    public class _-az 
    {

        public static const TOP_LEFT:uint = 0;
        public static const _-4qK:uint = 1;
        public static const _-02y:uint = 2;
        public static const _-11q:uint = 3;
        public static const CENTER:uint = 4;
        public static const _-Qe:uint = 5;
        public static const _-4oo:uint = 6;
        public static const _-2QU:uint = 7;
        public static const _-0vs:uint = 8;
        public static const _-3ax:Array = ["top left", "top center", "top right", "center left", "center", "center right", "bottom left", "bottom center", "bottom right"];

        public static function _-4mR(_arg1:String):uint
        {
            return (_-3ax.indexOf(_arg1));
        }

    }
}//package _-09j

//------------------------------------------------------------
//_-09j._-nM

package _-09j
{
    public class _-nM 
    {

        public static const _-CR:String = "_self";
        public static const _-66:String = "_blank";
        public static const _-1Ah:String = "_parent";
        public static const _-2wo:String = "_top";
        public static const _-3dr:String = "default";
        public static const _-aP:String = "internal";

    }
}//package _-09j

//------------------------------------------------------------
//_-09j._-QC

package _-09j
{
    public class _-QC 
    {

        public static const UP:String = "up";
        public static const DOWN:String = "down";
        public static const LEFT:String = "left";
        public static const RIGHT:String = "right";

    }
}//package _-09j

//------------------------------------------------------------
//_-09j.MouseListenerType

package _-09j
{
    public class MouseListenerType 
    {

        public static const _-1Xj:uint = 0;
        public static const _-E8:uint = 1;
        public static const _-4El:uint = 3;

    }
}//package _-09j

//------------------------------------------------------------
//_-09j.WindowParam

package _-09j
{
    public class WindowParam 
    {

        public static const _-Lm:uint = 0;
        public static const _-55Y:uint = (1 << 0);
        public static const _-3Qn:uint = (_-55Y | (1 << 1));
        public static const _-22p:uint = (_-55Y | (1 << 2));
        public static const _-0Sf:uint = (_-55Y | (1 << 3));
        public static const _-Cp:uint = (1 << 4);
        public static const _-JK:uint = (1 << 5);
        public static const _-4Gm:uint = 0;
        public static const _-ci:uint = ((1 << 6) | _-4Gm);
        public static const _-170:uint = ((1 << 7) | _-4Gm);
        public static const _-07N:uint = ((_-4Gm | _-ci) | _-170);
        public static const _-WC:uint = _-07N;
        public static const _-2zO:uint = 0;
        public static const _-1If:uint = ((1 << 10) | _-2zO);
        public static const _-0Ef:uint = ((1 << 11) | _-2zO);
        public static const _-0LA:uint = ((_-2zO | _-1If) | _-0Ef);
        public static const _-DX:uint = _-0LA;
        public static const _-0FF:uint = (_-4Gm | _-2zO);
        public static const _-2YA:uint = (_-ci | _-1If);
        public static const _-Qa:uint = (_-170 | _-0Ef);
        public static const _-1uG:uint = (_-07N | _-0LA);
        public static const _-Bh:uint = (1 << 17);
        public static const _-4Uq:uint = ((1 << 14) | _-Bh);
        public static const _-Oi:uint = (1 << 15);
        public static const _-cc:uint = ((1 << 8) | _-55Y);
        public static const _-0WF:uint = (_-Oi | _-cc);
        public static const _-2ZP:uint = (1 << 16);
        public static const _-21i:uint = (1 << 12);
        public static const _-4rz:uint = (1 << 13);
        public static const _-51t:uint = (_-21i | _-4rz);
        public static const _-4by:uint = _-51t;
        public static const _-3dS:uint = (_-2ZP | _-51t);
        public static const _-05d:uint = 0;
        public static const _-1EO:uint = (1 << 18);
        public static const _-2PN:uint = ((1 << 19) | _-1EO);
        public static const _-1CP:uint = 0;
        public static const _-27N:uint = (1 << 20);
        public static const _-4uL:uint = ((1 << 21) | _-27N);
        public static const _-28v:uint = (_-2PN | _-4uL);
        public static const _-0a0:uint = _-05d;//0
        public static const _-1MD:uint = _-2PN;
        public static const _-2KQ:uint = _-1EO;
        public static const _-4M6:uint = _-1CP;//0
        public static const _-xz:uint = _-4uL;
        public static const _-2Xh:uint = _-27N;
        public static const _-1ZE:uint = ((_-0a0 | _-1MD) | _-2KQ);
        public static const _-wC:uint = ((_-4M6 | _-xz) | _-2Xh);
        public static const _-0Pb:uint = (1 << 22);
        public static const _-2a6:uint = (1 << 23);
        public static const _-3TP:uint = (_-0Pb | _-2a6);
        public static const _-2QG:uint = ((_-55Y | _-4Gm) | _-2zO);
        public static const _-4K1:uint = (_-55Y | _-JK);
        public static const _-2J8:uint = (((_-55Y | _-JK) | _-3Qn) | _-Cp);
        public static const _-2gg:uint = (1 << 30);
        public static const _-0Oc:uint = (1 << 31);

    }
}//package _-09j

//------------------------------------------------------------
//_-09j.WindowState

package _-09j
{
    public class WindowState 
    {

        public static const _-50M:uint = (0 << 0);
        public static const _-143:uint = (1 << 0);
        public static const _-0SB:uint = (1 << 1);
        public static const _-1kG:uint = (1 << 2);
        public static const _-t0:uint = (1 << 3);
        public static const _-0pb:uint = (1 << 4);
        public static const _-4C-:uint = (1 << 5);
        public static const _-2Rp:uint = (1 << 6);
        public static const _-3jl:uint = (1 << 30);

    }
}//package _-09j

//------------------------------------------------------------
//_-09j.WindowStyle

package _-09j
{
    public class WindowStyle 
    {

        public static const _-5B8:uint = 0;

    }
}//package _-09j

//------------------------------------------------------------
//_-09j.WindowType

package _-09j
{
    public class WindowType 
    {

        public static const _-4Jd:uint = 0;
        public static const _-047:uint = 1;
        public static const _-1Q3:uint = 2;
        public static const _-4q6:uint = 4;
        public static const _-4Y4:uint = 5;
        public static const _-xo:uint = 6;
        public static const _-3Mp:uint = 7;
        public static const _-2qK:uint = 8;
        public static const _-4lE:uint = 9;
        public static const _-3va:uint = 10;
        public static const _-1Gk:uint = 11;
        public static const _-VE:uint = 12;
        public static const _-3nF:uint = 14;
        public static const _-ja:uint = 15;
        public static const _-5AK:uint = 16;
        public static const _-0Nv:uint = 20;
        public static const _-0HS:uint = 21;
        public static const _-4ON:uint = 22;
        public static const _-5Dq:uint = 23;
        public static const _-45W:uint = 30;
        public static const _-74:uint = 31;
        public static const _-3uC:uint = 32;
        public static const _-2-Z:uint = 33;
        public static const _-1op:uint = 35;
        public static const _-dO:uint = 36;
        public static const _-3JG:uint = 37;
        public static const _-0BD:uint = 38;
        public static const _-ke:uint = 40;
        public static const _-CP:uint = 41;
        public static const _-32g:uint = 42;
        public static const _-0-a:uint = 43;
        public static const _-2ks:uint = 45;
        public static const _-4f8:uint = 46;
        public static const _-Jv:uint = 47;
        public static const _-3sY:uint = 48;
        public static const _-15O:uint = 49;
        public static const _-SD:uint = 50;
        public static const _-1J0:uint = 50;
        public static const _-0BA:uint = 51;
        public static const _-IW:uint = 52;
        public static const _-0bm:uint = 53;
        public static const _-cS:uint = 54;
        public static const _-xh:uint = 55;
        public static const _-0CI:uint = 56;
        public static const _-4f-:uint = 57;
        public static const _-1zW:uint = 60;
        public static const _-2la:uint = 61;
        public static const _-0JX:uint = 62;
        public static const _-4aS:uint = 63;
        public static const _-23T:uint = 64;
        public static const _-1wf:uint = 65;
        public static const _-58-:uint = 66;
        public static const _-4F5:uint = 67;
        public static const _-iW:uint = 68;
        public static const _-4T2:uint = 69;
        public static const _-1-S:uint = 70;
        public static const _-1nH:uint = 71;
        public static const _-3G4:uint = 72;
        public static const _-0CG:uint = 73;
        public static const _-26d:uint = 74;
        public static const _-1w3:uint = 75;
        public static const _-Ba:uint = 76;
        public static const _-4di:uint = 77;
        public static const _-1Yj:uint = 78;
        public static const _-0-8:uint = 90;
        public static const _-1io:uint = 91;
        public static const _-48Q:uint = 92;
        public static const _-0jC:uint = 93;
        public static const _-1fp:uint = 94;
        public static const _-3Oi:uint = 100;
        public static const _-2a4:uint = 101;
        public static const _-1M0:uint = 102;
        public static const _-4Yi:uint = 103;
        public static const _-4ya:uint = 104;
        public static const _-1qf:uint = 105;
        public static const _-2kj:uint = 106;
        public static const _-4g0:uint = 110;
        public static const _-xw:uint = 111;
        public static const _-4T0:uint = 112;
        public static const _-1Fv:uint = 120;
        public static const _-3tr:uint = 121;
        public static const _-41n:uint = 122;
        public static const _-3tF:uint = 130;
        public static const _-3hf:uint = 131;
        public static const _-1Ko:uint = 132;
        public static const _-0di:uint = 133;
        public static const _-2AL:uint = 134;
        public static const _-401:uint = 135;
        public static const _-3lG:uint = 136;
        public static const _-4mU:uint = 137;
        public static const _-3UI:uint = 138;
        public static const _-4z3:uint = 139;

    }
}//package _-09j

//------------------------------------------------------------
//_-0A6._-4j9

package _-0A6
{
    import _-3pm._-dR;
    import _-4Aj.*;

    public class _-4j9 implements _-0s1 
    {

        private var _-0qE:Array;

        public function _-4j9(_arg1:Array)
        {
            this._-0qE = _arg1;
            this._-0qE.reverse();
        }
        public function _-0Ki():int
        {
            return (0);
        }
        public function readString():String
        {
            return (String(this._-0qE.pop()));
        }
        public function _-2BW():int
        {
            return (int(this._-0qE.pop()));
        }
        public function readBoolean():Boolean
        {
            return (Boolean(this._-0qE.pop()));
        }
        public function readShort():_-dR
        {
            return (_-dR(this._-0qE.pop()));
        }
        public function readFloat():Number
        {
            return (this._-0qE.pop());
        }
        public function get bytesAvailable():uint
        {
            return (0);
        }

    }
}//package _-0A6

//------------------------------------------------------------
//_-0A6._-nM

package _-0A6
{
    public class _-nM 
    {

        public static const NONE:uint = 0;
        public static const _-1pL:uint = 1;
        public static const _-GI:uint = 2;
        public static const ACHIEVEMENTS:uint = 3;
        public static const _-3Go:uint = 4;
        public static const _-Uy:uint = 5;
        public static const _-U:uint = 6;
        public static const _-2SN:uint = 7;

        private var _text:String;
        private var _-5K:uint;
        private var _-0cx:uint;
        private var _-2dD:String;
        private var _-2WN:Array;

        public function _-nM(_arg1:String, _arg2:uint, _arg3:uint, _arg4:String=null, _arg5:Array=null)
        {
            this._text = _arg1;
            this._-5K = _arg2;
            this._-0cx = _arg3;
            this._-2dD = _arg4;
            this._-2WN = _arg5;
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get type():uint
        {
            return (this._-5K);
        }
        public function get identifier():uint
        {
            return (this._-0cx);
        }
        public function get extraData():String
        {
            return (this._-2dD);
        }
        public function get intParamArray():Array
        {
            return (this._-2WN);
        }

    }
}//package _-0A6

//------------------------------------------------------------
//_-0A6.LinkResolver

package _-0A6
{
    import _-1B-._-4yI;
    import _-1Jd._-4LX;
    import com.sulake.iid.IIDHabboGroupsManager;
    import _-19Y._-29p;
    import _-1B-._-Wo;
    import com.sulake.iid.IIDHabboNavigator;
    import _-4GV._-0Uq;
    import com.sulake.iid.IIDHabboCatalog;
    import _-0mD._-2Jq;
    import com.sulake.iid.IIDHabboQuestEngine;
    import _-2tv._-03-;
    import com.sulake.iid.IIDRoomEngine;
    import _-293._-5-S;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import _-1Jd._-45k;
    import _-1Jd._-4JJ;
    import _-3mW._-1sV;
    import com.sulake.iid.IIDHabboEventStream;
    import _-3N5._-2VA;
    import com.sulake.iid.IIDHabboFriendList;
    import _-35b._-a8;
    import _-2ly._-11j;

    public class LinkResolver 
    {

        private static var _-0Cv:_-4yI;

        public static function set unknown(_arg1:_-4yI):void
        {
            _-0Cv = _arg1;
        }
        public static function open(_arg1:_-nM):Boolean
        {
            var ownAvatarId:int;
            var userData:_-4LX;
            var roomId:int;
            var roomCategory:int;
            var linkTarget:_-nM = _arg1;
            if (((!(_-0Cv)) || (_-0Cv.disposed)))
            {
                return (false);
            };
            if (!linkTarget)
            {
                return (false);
            };
            var returnValue:Boolean;
            switch (linkTarget.type)
            {
                case _-nM.NONE:
                    break;
                case _-nM._-1pL:
                    _-0Cv.queueInterface(new IIDHabboGroupsManager(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        _-29p(_arg2)._-SL(linkTarget.identifier);
                    });
                    break;
                case _-nM._-GI:
                    _-0Cv.queueInterface(new IIDHabboNavigator(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        _-0Uq(_arg2).goToPrivateRoom(linkTarget.identifier);
                        _arg2.release(_arg1);
                    });
                    break;
                case _-nM._-2SN:
                    _-0Cv.queueInterface(new IIDHabboCatalog(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        _-2Jq(_arg2)._-33R(linkTarget.intParamArray[0], linkTarget.intParamArray[1]);
                        _arg2.release(_arg1);
                    });
                    break;
                case _-nM.ACHIEVEMENTS:
                    _-0Cv.queueInterface(new IIDHabboQuestEngine(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        _-03-(_arg2).showAchievements();
                        _arg2.release(_arg1);
                    });
                    break;
                case _-nM._-3Go:
                    ownAvatarId = linkTarget.identifier;
                    roomId = 0;
                    roomCategory = 0;
                    _-0Cv.queueInterface(new IIDRoomEngine(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        roomId = _-5-S(_arg2).activeRoomId;
                        roomCategory = _-5-S(_arg2).activeRoomCategory;
                        _arg2.release(_arg1);
                    });
                    _-0Cv.queueInterface(new IIDHabboRoomSessionManager(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        var k:_-4JJ = _-45k(_arg2).getSession(roomId, roomCategory);
                        if (((!((k == null))) && (!((k.userDataManager == null)))))
                        {
                            userData = k.userDataManager._-2Xd(ownAvatarId);
                        };
                        _arg2.release(_arg1);
                    });
                    if (userData != null)
                    {
                        _-0Cv.queueInterface(new IIDRoomEngine(), function (_arg1:_-Wo, _arg2:_-4yI):void
                        {
                            _-5-S(_arg2)._-0P5(roomId, roomCategory, userData.roomObjectId, _-1sV._-3I0);
                            _arg2.release(_arg1);
                        });
                        _-0Cv.queueInterface(new IIDHabboEventStream(), function (_arg1:_-Wo, _arg2:_-4yI):void
                        {
                            _-2VA(_arg2).visible = false;
                            _arg2.release(_arg1);
                        });
                    };
                    break;
                case _-nM._-Uy:
                    _-0Cv.queueInterface(new IIDHabboFriendList(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        _-a8(_arg2)._-7a(linkTarget.identifier, linkTarget.extraData);
                        _arg2.release(_arg1);
                    });
                    returnValue = true;
                    break;
                case _-nM._-U:
                    _-11j._-0D8(linkTarget.extraData);
                    break;
                default:
                    throw (new Error("Don't forget to implement new link target types!"));
            };
            return (returnValue);
        }

    }
}//package _-0A6

//------------------------------------------------------------
//_-0ah._-0Pn

package _-0ah
{
    public class _-0Pn 
    {

        public static const _-GJ:String = "";
        public static const _-0EF:int = 0;
        public static const _-4XS:int = 0xFF;
        public static const _-4J6:Boolean = false;
        public static const _-3hI:int = 0;
        public static const _-10T:int = 0;
        public static const _-3Vi:int = 0;
        public static const _-2Pk:int = 1;
        public static const _-4Ni:int = 2;
        public static const _-2on:int = 3;

        private var _-2CI:String = "";
        private var _-456:int = 0;
        private var _-0PC:int = 0xFF;
        private var _-0XZ:Boolean = false;
        private var _-0yw:int = 0;
        private var _-Qm:int = 0;
        private var _-2ck:Number = 0;

        public function set tag(_arg1:String):void
        {
            this._-2CI = _arg1;
        }
        public function get tag():String
        {
            return (this._-2CI);
        }
        public function set ink(_arg1:int):void
        {
            this._-456 = _arg1;
        }
        public function get ink():int
        {
            return (this._-456);
        }
        public function set alpha(_arg1:int):void
        {
            this._-0PC = _arg1;
        }
        public function get alpha():int
        {
            return (this._-0PC);
        }
        public function set ignoreMouse(_arg1:Boolean):void
        {
            this._-0XZ = _arg1;
        }
        public function get ignoreMouse():Boolean
        {
            return (this._-0XZ);
        }
        public function set _-2DX(_arg1:int):void
        {
            this._-0yw = _arg1;
        }
        public function get _-2DX():int
        {
            return (this._-0yw);
        }
        public function set _-44l(_arg1:int):void
        {
            this._-Qm = _arg1;
        }
        public function get _-44l():int
        {
            return (this._-Qm);
        }
        public function set _-Fc(_arg1:Number):void
        {
            this._-2ck = _arg1;
        }
        public function get _-Fc():Number
        {
            return (this._-2ck);
        }
        public function _-45G(_arg1:_-0Pn):void
        {
            if (_arg1 != null)
            {
                this.tag = _arg1.tag;
                this.ink = _arg1.ink;
                this.alpha = _arg1.alpha;
                this.ignoreMouse = _arg1.ignoreMouse;
                this._-2DX = _arg1._-2DX;
                this._-44l = _arg1._-44l;
                this._-Fc = _arg1._-Fc;
            };
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah._-3D8

package _-0ah
{
    public class _-3D8 extends _-fS 
    {

        private var _-34q:DirectionalOffsetData;

        public function _-3D8(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:DirectionalOffsetData, _arg7:int)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg7);
            this._-34q = _arg6;
        }
        override public function hasDirectionalOffsets():Boolean
        {
            return (!((this._-34q == null)));
        }
        override public function getX(_arg1:int):int
        {
            if (this._-34q != null)
            {
                return (this._-34q._-0aG(_arg1, super.getX(_arg1)));
            };
            return (super.getX(_arg1));
        }
        override public function getY(_arg1:int):int
        {
            if (this._-34q != null)
            {
                return (this._-34q._-2jB(_arg1, super.getY(_arg1)));
            };
            return (super.getY(_arg1));
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah._-fS

package _-0ah
{
    public class _-fS 
    {

        private var _-0Kq:int = 0;
        private var _-2dX:int = 0;
        private var _-4TA:int = 0;
        private var _-3tQ:int = 0;
        private var _-2uY:int = 0;
        private var _-1gy:int = 1;

        public function _-fS(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int)
        {
            this._-0Kq = _arg1;
            this._-2dX = _arg2;
            this._-4TA = _arg3;
            this._-3tQ = _arg4;
            this._-2uY = _arg5;
            this._-1gy = _arg6;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function hasDirectionalOffsets():Boolean
        {
            return (false);
        }
        public function getX(_arg1:int):int
        {
            return (this._-2dX);
        }
        public function getY(_arg1:int):int
        {
            return (this._-4TA);
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-2dX);
        }
        public function get randomX():int
        {
            return (this._-3tQ);
        }
        public function get randomY():int
        {
            return (this._-2uY);
        }
        public function get repeats():int
        {
            return (this._-1gy);
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.AnimationData

package _-0ah
{
    import _-18r.Map;
    import _-0y0.XMLValidator;

    public class AnimationData 
    {

        public static const _-1m9:int = 0;
        private static const _-0qM:int = 1000000;
        private static const _-4VH:int = 2000000;

        private var _-5D4:Map = null;
        private var _-hl:int = -1;
        private var _-2aw:Boolean = false;
        private var _-O4:Array = null;

        public function AnimationData()
        {
            this._-5D4 = new Map();
        }
        public static function _-4q4(_arg1:int):int
        {
            return ((_-0qM + _arg1));
        }
        public static function _-0eX(_arg1:int):int
        {
            return ((_-4VH + _arg1));
        }
        public static function _-2qT(_arg1:int):Boolean
        {
            return ((((_arg1 >= _-0qM)) && ((_arg1 < _-4VH))));
        }
        public static function _-2pL(_arg1:int):Boolean
        {
            return ((_arg1 >= _-4VH));
        }

        public function dispose():void
        {
            var k:int;
            var k:AnimationLayerData;
            if (this._-5D4 != null)
            {
                k = 0;
                while (k < this._-5D4.length)
                {
                    k = (this._-5D4.getWithIndex(k) as AnimationLayerData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-5D4.dispose();
                this._-5D4 = null;
            };
            this._-O4 = null;
        }
        public function _-20i(_arg1:Array):void
        {
            this._-O4 = _arg1;
        }
        public function _-4YD(_arg1:int):Boolean
        {
            if (((!((this._-O4 == null))) && ((this._-O4.indexOf(_arg1) >= 0))))
            {
                return (true);
            };
            return (false);
        }
        public function _-4g9(_arg1:int):int
        {
            if (!this._-2aw)
            {
                return (0);
            };
            return ((Math.random() * this._-hl));
        }
        public function initialize(_arg1:XML):Boolean
        {
            var k:XML;
            var k:int;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:String;
            var k:String;
            this._-2aw = false;
            if (int(_arg1.@randomStart) != 0)
            {
                this._-2aw = true;
            };
            var k:Array = ["id"];
            var k:XMLList = _arg1.animationLayer;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = int(k.@id);
                k = 1;
                k = 1;
                k = false;
                k = k.@loopCount;
                if (k.length > 0)
                {
                    k = int(k);
                };
                k = k.@frameRepeat;
                if (k.length > 0)
                {
                    k = int(k);
                };
                k = !((int(k.@random) == 0));
                if (!this._-1Ew(k, k, k, k, k))
                {
                    return (false);
                };
                k++;
            };
            return (true);
        }
        private function _-1Ew(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean, _arg5:XML):Boolean
        {
            var k:XML;
            var k:int;
            var k:Boolean;
            var k:String;
            var k:AnimationFrameSequenceData;
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:DirectionalOffsetData;
            var k:AnimationLayerData = new AnimationLayerData(_arg2, _arg3, _arg4);
            var k:Array = ["id"];
            var k:XMLList = _arg5.frameSequence;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                k = 1;
                k = false;
                k = k.@loopCount;
                if (k.length > 0)
                {
                    k = int(k);
                };
                if (int(k.@random) != 0)
                {
                    k = true;
                };
                k = k._-3JB(k, k);
                k = k.frame;
                k = 0;
                while (k < k.length())
                {
                    k = k[k];
                    if (!XMLValidator._-4qb(k, k))
                    {
                        k.dispose();
                        return (false);
                    };
                    k = int(k.@id);
                    k = int(k.@x);
                    k = int(k.@y);
                    k = int(k.@randomX);
                    k = int(k.@randomY);
                    k = this._-4Wh(k);
                    k._-2hD(k, k, k, k, k, k);
                    k++;
                };
                k.initialize();
                k++;
            };
            k._-4Ba();
            this._-5D4.add(_arg1, k);
            var k:int = k._-2EV;
            if (k > this._-hl)
            {
                this._-hl = k;
            };
            return (true);
        }
        private function _-4Wh(_arg1:XML):DirectionalOffsetData
        {
            var k:Array;
            var k:XML;
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:int;
            var k:int;
            var k:int;
            var k:DirectionalOffsetData;
            var k:XMLList = _arg1.offsets;
            if (k.length() > 0)
            {
                k = ["direction"];
                k = k[0];
                k = k.offset;
                k = 0;
                while (k < k.length())
                {
                    k = k[k];
                    if (XMLValidator._-4qb(k, k))
                    {
                        k = int(k.@direction);
                        k = int(k.@x);
                        k = int(k.@y);
                        if (k == null)
                        {
                            k = new DirectionalOffsetData();
                        };
                        k._-3GZ(k, k, k);
                    };
                    k++;
                };
            };
            return (k);
        }
        public function _-44L(_arg1:int, _arg2:int, _arg3:int):AnimationFrame
        {
            var k:AnimationLayerData = (this._-5D4.getValue(_arg2) as AnimationLayerData);
            if (k != null)
            {
                return (k._-44L(_arg1, _arg3));
            };
            return (null);
        }
        public function _-20e(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):AnimationFrame
        {
            var k:AnimationLayerData = (this._-5D4.getValue(_arg2) as AnimationLayerData);
            if (k != null)
            {
                return (k._-20e(_arg1, _arg3, _arg4, _arg5));
            };
            return (null);
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.AnimationFrame

package _-0ah
{
    public class AnimationFrame 
    {

        public static const _-4qW:int = -1;
        public static const _-1zL:int = -1;
        private static const _-5FG:int = 3000;
        private static const _-3Kq:Array = [];

        private var _-0Kq:int = 0;
        private var _-2dX:int = 0;
        private var _-4TA:int = 0;
        private var _-1gy:int = 1;
        private var _-1cA:int = 1;
        private var _-2cH:int = 1;
        private var _-34a:int = -1;
        private var _-3Xh:int = 0;
        private var _-3z3:Boolean = false;
        private var _-0zj:Boolean = false;

        public static function _-2W5(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:Boolean, _arg7:int=-1, _arg8:int=0):AnimationFrame
        {
            var k:AnimationFrame = (((_-3Kq.length > 0)) ? _-3Kq.pop() : new (AnimationFrame)());
            k._-0zj = false;
            k._-0Kq = _arg1;
            k._-2dX = _arg2;
            k._-4TA = _arg3;
            k._-3z3 = _arg6;
            if (_arg4 < 1)
            {
                k = 1;
            };
            k._-1gy = _arg4;
            if (_arg5 < 0)
            {
                k = _-4qW;
            };
            k._-1cA = _arg5;
            k._-2cH = _arg5;
            if (_arg7 >= 0)
            {
                k._-34a = _arg7;
                k._-3Xh = _arg8;
            };
            return (k);
        }

        public function get id():int
        {
            if (this._-0Kq >= 0)
            {
                return (this._-0Kq);
            };
            return ((-(this._-0Kq) * Math.random()));
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }
        public function get repeats():int
        {
            return (this._-1gy);
        }
        public function get _-5DD():int
        {
            return (this._-1cA);
        }
        public function get _-1xP():Boolean
        {
            return (this._-3z3);
        }
        public function get _-4mp():int
        {
            if (this._-1cA < 0)
            {
                return (_-4qW);
            };
            return (this._-2cH);
        }
        public function set _-4mp(_arg1:int):void
        {
            if (_arg1 < 0)
            {
                k = 0;
            };
            if ((((this._-1cA > 0)) && ((_arg1 > this._-1cA))))
            {
                k = this._-1cA;
            };
            this._-2cH = _arg1;
        }
        public function get _-4cc():int
        {
            return (this._-34a);
        }
        public function get _-3dM():int
        {
            return (this._-3Xh);
        }
        public function recycle():void
        {
            if (!this._-0zj)
            {
                this._-0zj = true;
                if (_-3Kq.length < _-5FG)
                {
                    _-3Kq.push(this);
                };
            };
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.AnimationFrameSequenceData

package _-0ah
{
    public class AnimationFrameSequenceData 
    {

        private var _-0eh:Array;
        private var _-2BK:Array;
        private var _-1cA:Array;
        private var _-4mL:Boolean = false;
        private var _-2Qd:int = 1;

        public function AnimationFrameSequenceData(_arg1:int, _arg2:Boolean)
        {
            this._-0eh = [];
            this._-2BK = [];
            this._-1cA = [];
            super();
            if (_arg1 < 1)
            {
                k = 1;
            };
            this._-2Qd = _arg1;
            this._-4mL = _arg2;
        }
        public function get _-0Vc():Boolean
        {
            return (this._-4mL);
        }
        public function get _-2EV():int
        {
            return ((this._-2BK.length * this._-2Qd));
        }
        public function dispose():void
        {
            this._-0eh = [];
        }
        public function initialize():void
        {
            var k:int = 1;
            var k:int = -1;
            var k:int = (this._-2BK.length - 1);
            while (k >= 0)
            {
                if (this._-2BK[k] == k)
                {
                    k++;
                }
                else
                {
                    k = this._-2BK[k];
                    k = 1;
                };
                this._-1cA[k] = k;
                k--;
            };
        }
        public function _-2hD(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:DirectionalOffsetData):void
        {
            var k:_-fS;
            var k:int = 1;
            if (this._-0eh.length > 0)
            {
                k = this._-0eh[(this._-0eh.length - 1)];
                if ((((((((((((((((k.id == _arg1)) && (!(k.hasDirectionalOffsets())))) && ((k.x == _arg2)))) && ((k.y == _arg3)))) && ((k.randomX == _arg4)))) && ((_arg4 == 0)))) && ((k.randomY == _arg5)))) && ((_arg5 == 0))))
                {
                    k = (k + k.repeats);
                    this._-0eh.pop();
                };
            };
            var k:_-fS;
            if (_arg6 == null)
            {
                k = new _-fS(_arg1, _arg2, _arg3, _arg4, _arg5, k);
            }
            else
            {
                k = new _-3D8(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, k);
            };
            this._-0eh.push(k);
            this._-2BK.push((this._-0eh.length - 1));
            this._-1cA.push(1);
        }
        public function _-44L(_arg1:int):_-fS
        {
            if ((((((this._-0eh.length == 0)) || ((_arg1 < 0)))) || ((_arg1 >= this._-2EV))))
            {
                return (null);
            };
            k = this._-2BK[(_arg1 % this._-2BK.length)];
            return ((this._-0eh[k] as _-fS));
        }
        public function _-EG(_arg1:int):int
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2EV))))
            {
                return (-1);
            };
            if (this._-4mL)
            {
                k = (Math.random() * this._-2BK.length);
                if (k == this._-2BK.length)
                {
                    k--;
                };
            };
            return (_arg1);
        }
        public function _-5-c(_arg1:int):int
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2EV))))
            {
                return (0);
            };
            return (this._-1cA[(_arg1 % this._-1cA.length)]);
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.AnimationLayerData

package _-0ah
{
    public class AnimationLayerData 
    {

        private var _-0Of:Array;
        private var _-hl:int = -1;
        private var _-2Qd:int = 1;
        private var _-48Z:int = 1;
        private var _-4mL:Boolean = false;

        public function AnimationLayerData(_arg1:int, _arg2:int, _arg3:Boolean)
        {
            this._-0Of = [];
            super();
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (_arg2 < 1)
            {
                k = 1;
            };
            this._-2Qd = _arg1;
            this._-48Z = _arg2;
            this._-4mL = _arg3;
        }
        public function get _-2EV():int
        {
            if (this._-hl < 0)
            {
                this._-4Ba();
            };
            return (this._-hl);
        }
        public function dispose():void
        {
            var k:AnimationFrameSequenceData;
            var k:int;
            while (k < this._-0Of.length)
            {
                k = (this._-0Of[k] as AnimationFrameSequenceData);
                if (k != null)
                {
                    k.dispose();
                };
                k++;
            };
            this._-0Of = [];
        }
        public function _-3JB(_arg1:int, _arg2:Boolean):AnimationFrameSequenceData
        {
            var k:AnimationFrameSequenceData = new AnimationFrameSequenceData(_arg1, _arg2);
            this._-0Of.push(k);
            return (k);
        }
        public function _-4Ba():void
        {
            var k:AnimationFrameSequenceData;
            this._-hl = 0;
            var k:int;
            while (k < this._-0Of.length)
            {
                k = (this._-0Of[k] as AnimationFrameSequenceData);
                if (k != null)
                {
                    this._-hl = (this._-hl + k._-2EV);
                };
                k++;
            };
        }
        public function _-44L(_arg1:int, _arg2:int):AnimationFrame
        {
            var k:int;
            var k:int;
            if (this._-hl < 1)
            {
                return (null);
            };
            var k:AnimationFrameSequenceData;
            k = (_arg2 / this._-48Z);
            var k:Boolean;
            var k:int;
            if (!this._-4mL)
            {
                k = (k / this._-hl);
                k = (k % this._-hl);
                if ((((((this._-2Qd > 0)) && ((k >= this._-2Qd)))) || ((((this._-2Qd <= 0)) && ((this._-hl == 1))))))
                {
                    k = (this._-hl - 1);
                    k = true;
                };
                k = 0;
                k = 0;
                while (k < this._-0Of.length)
                {
                    k = (this._-0Of[k] as AnimationFrameSequenceData);
                    if (k != null)
                    {
                        if (k < (k + k._-2EV))
                        {
                            break;
                        };
                        k = (k + k._-2EV);
                    };
                    k++;
                };
                return (this._-0lt(_arg1, k, k, (k - k), k));
            };
            k = (this._-0Of.length * Math.random());
            k = (this._-0Of[k] as AnimationFrameSequenceData);
            if (k._-2EV < 1)
            {
                return (null);
            };
            k = 0;
            return (this._-0lt(_arg1, k, k, k, false));
        }
        public function _-20e(_arg1:int, _arg2:int, _arg3:int, _arg4:int):AnimationFrame
        {
            if ((((_arg2 < 0)) || ((_arg2 >= this._-0Of.length))))
            {
                return (null);
            };
            var k:AnimationFrameSequenceData = (this._-0Of[_arg2] as AnimationFrameSequenceData);
            if (k != null)
            {
                if (_arg3 >= k._-2EV)
                {
                    return (this._-44L(_arg1, _arg4));
                };
                return (this._-0lt(_arg1, k, _arg2, _arg3, false));
            };
            return (null);
        }
        private function _-0lt(_arg1:int, _arg2:AnimationFrameSequenceData, _arg3:int, _arg4:int, _arg5:Boolean):AnimationFrame
        {
            var k:int;
            var k:_-fS;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:AnimationFrame;
            if (_arg2 != null)
            {
                k = _arg2._-EG(_arg4);
                k = _arg2._-44L(k);
                if (k == null)
                {
                    return (null);
                };
                k = k.getX(_arg1);
                k = k.getY(_arg1);
                k = k.randomX;
                k = k.randomY;
                if (k != 0)
                {
                    k = (k + (k * Math.random()));
                };
                if (k != 0)
                {
                    k = (k + (k * Math.random()));
                };
                k = k.repeats;
                if (k > 1)
                {
                    k = _arg2._-5-c(k);
                };
                k = (this._-48Z * k);
                if (_arg5)
                {
                    k = AnimationFrame._-4qW;
                };
                k = false;
                if (((!(this._-4mL)) && (!(_arg2._-0Vc))))
                {
                    if ((((_arg3 == (this._-0Of.length - 1))) && ((_arg4 == (_arg2._-2EV - 1)))))
                    {
                        k = true;
                    };
                };
                k = AnimationFrame._-2W5(k.id, k, k, k, k, k, _arg3, _arg4);
                return (k);
            };
            return (null);
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.AnimationSizeData

package _-0ah
{
    import _-18r.Map;
    import _-0y0.XMLValidator;

    public class AnimationSizeData extends SizeData 
    {

        private var _-4Vy:Map = null;
        private var _-4pA:Array;

        public function AnimationSizeData(_arg1:int, _arg2:int)
        {
            this._-4pA = [];
            super(_arg1, _arg2);
            this._-4Vy = new Map();
        }
        override public function dispose():void
        {
            var k:int;
            var k:AnimationData;
            super.dispose();
            if (this._-4Vy != null)
            {
                k = 0;
                while (k < this._-4Vy.length)
                {
                    k = (this._-4Vy.getWithIndex(k) as AnimationData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-4Vy.dispose();
                this._-4Vy = null;
            };
        }
        public function _-4oV(_arg1:XML):Boolean
        {
            var k:XML;
            var k:int;
            var k:Boolean;
            var k:String;
            var k:AnimationData;
            var k:int;
            var k:int;
            var k:Array;
            var k:Array;
            var k:String;
            var k:int;
            if (_arg1 == null)
            {
                return (true);
            };
            var k:Array = ["id"];
            var k:XMLList = _arg1.animation;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = int(k.@id);
                k = false;
                k = k.@transitionTo;
                if (k.length > 0)
                {
                    k = int(k);
                    k = AnimationData._-4q4(k);
                    k = true;
                };
                k = k.@transitionFrom;
                if (k.length > 0)
                {
                    k = int(k);
                    k = AnimationData._-0eX(k);
                    k = true;
                };
                k = this._-4jN();
                if (!k.initialize(k))
                {
                    k.dispose();
                    return (false);
                };
                k = k.@immediateChangeFrom;
                if (k.length > 0)
                {
                    k = k.split(",");
                    k = [];
                    for each (k in k)
                    {
                        k = int(k);
                        if (k.indexOf(k) < 0)
                        {
                            k.push(k);
                        };
                    };
                    k._-20i(k);
                };
                this._-4Vy.add(k, k);
                if (!k)
                {
                    this._-4pA.push(k);
                };
                k++;
            };
            return (true);
        }
        protected function _-4jN():AnimationData
        {
            return (new AnimationData());
        }
        public function _-B3(_arg1:int):Boolean
        {
            if (this._-4Vy.getValue(_arg1) != null)
            {
                return (true);
            };
            return (false);
        }
        public function _-01V():int
        {
            return (this._-4pA.length);
        }
        public function getAnimationId(_arg1:int):int
        {
            var k:int = this._-01V();
            if ((((_arg1 >= 0)) && ((k > 0))))
            {
                return (this._-4pA[(_arg1 % k)]);
            };
            return (0);
        }
        public function _-4YD(_arg1:int, _arg2:int):Boolean
        {
            var k:AnimationData = (this._-4Vy.getValue(_arg1) as AnimationData);
            if (k != null)
            {
                return (k._-4YD(_arg2));
            };
            return (false);
        }
        public function _-4g9(_arg1:int, _arg2:int):int
        {
            var k:AnimationData = (this._-4Vy.getValue(_arg1) as AnimationData);
            if (k != null)
            {
                return (k._-4g9(_arg2));
            };
            return (0);
        }
        public function _-44L(_arg1:int, _arg2:int, _arg3:int, _arg4:int):AnimationFrame
        {
            var k:AnimationFrame;
            var k:AnimationData = (this._-4Vy.getValue(_arg1) as AnimationData);
            if (k != null)
            {
                k = k._-44L(_arg2, _arg3, _arg4);
                return (k);
            };
            return (null);
        }
        public function _-20e(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):AnimationFrame
        {
            var k:AnimationFrame;
            var k:AnimationData = (this._-4Vy.getValue(_arg1) as AnimationData);
            if (k != null)
            {
                k = k._-20e(_arg2, _arg3, _arg4, _arg5, _arg6);
                return (k);
            };
            return (null);
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.AnimationStateData

package _-0ah
{
    public class AnimationStateData 
    {

        private var _-1i1:int = -1;
        private var _-3JU:int = 0;
        private var _-1dU:Boolean = false;
        private var _-1fP:int = 0;
        private var _-0eh:Array;
        private var _-0je:Array;
        private var _-4fk:Array;
        private var _-0Am:int = 0;

        public function AnimationStateData()
        {
            this._-0eh = [];
            this._-0je = [];
            this._-4fk = [];
            super();
        }
        public function get _-4mC():Boolean
        {
            return (this._-1dU);
        }
        public function set _-4mC(_arg1:Boolean):void
        {
            this._-1dU = _arg1;
        }
        public function get _-52G():int
        {
            return (this._-1fP);
        }
        public function set _-52G(_arg1:int):void
        {
            this._-1fP = _arg1;
        }
        public function get animationId():int
        {
            return (this._-1i1);
        }
        public function set animationId(_arg1:int):void
        {
            if (_arg1 != this._-1i1)
            {
                this._-1i1 = _arg1;
                this._-2zM(false);
            };
        }
        public function get _-2Iy():int
        {
            return (this._-3JU);
        }
        public function set _-2Iy(_arg1:int):void
        {
            this._-3JU = _arg1;
        }
        public function dispose():void
        {
            this._-e3();
            this._-0eh = null;
            this._-0je = null;
            this._-4fk = null;
        }
        public function _-4v3(_arg1:int):void
        {
            this._-0Am = _arg1;
            this._-2zM();
        }
        public function _-2zM(_arg1:Boolean=true):void
        {
            var _local3:AnimationFrame;
            if (((_arg1) || ((this._-0eh == null))))
            {
                this._-e3();
                this._-0eh = [];
            };
            this._-0je = [];
            this._-4fk = [];
            this._-1dU = false;
            this._-1fP = 0;
            var k:int;
            while (k < this._-0Am)
            {
                if (((_arg1) || ((this._-0eh.length <= k))))
                {
                    this._-0eh[k] = null;
                }
                else
                {
                    _local3 = this._-0eh[k];
                    if (_local3 != null)
                    {
                        _local3.recycle();
                        this._-0eh[k] = AnimationFrame._-2W5(_local3.id, _local3.x, _local3.y, _local3.repeats, 0, _local3._-1xP);
                    };
                };
                this._-0je[k] = false;
                this._-4fk[k] = false;
                k++;
            };
        }
        private function _-e3():void
        {
            var k:AnimationFrame;
            if (this._-0eh != null)
            {
                for each (k in this._-0eh)
                {
                    if (k != null)
                    {
                        k.recycle();
                    };
                };
            };
        }
        public function _-44L(_arg1:int):AnimationFrame
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-0Am))))
            {
                return (this._-0eh[_arg1]);
            };
            return (null);
        }
        public function _-4lU(_arg1:int, _arg2:AnimationFrame):void
        {
            var k:AnimationFrame;
            if ((((_arg1 >= 0)) && ((_arg1 < this._-0Am))))
            {
                k = this._-0eh[_arg1];
                if (k != null)
                {
                    k.recycle();
                };
                this._-0eh[_arg1] = _arg2;
            };
        }
        public function _-hU(_arg1:int):Boolean
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-0Am))))
            {
                return (this._-4fk[_arg1]);
            };
            return (true);
        }
        public function _-0SH(_arg1:int, _arg2:Boolean):void
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-0Am))))
            {
                this._-4fk[_arg1] = _arg2;
            };
        }
        public function _-1tn(_arg1:int):Boolean
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-0Am))))
            {
                return (this._-0je[_arg1]);
            };
            return (true);
        }
        public function _-21T(_arg1:int, _arg2:Boolean):void
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-0Am))))
            {
                this._-0je[_arg1] = _arg2;
            };
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.ColorData

package _-0ah
{
    public class ColorData 
    {

        public static const _-2xB:uint = 0xFFFFFF;

        private var _-2Yf:Array;

        public function ColorData(_arg1:int)
        {
            this._-2Yf = [];
            super();
            var k:int;
            while (k < _arg1)
            {
                this._-2Yf.push(_-2xB);
                k++;
            };
        }
        public function dispose():void
        {
            this._-2Yf = null;
        }
        public function _-0fN(_arg1:uint, _arg2:int):void
        {
            if ((((_arg2 < 0)) || ((_arg2 >= this._-2Yf.length))))
            {
                return;
            };
            this._-2Yf[_arg2] = _arg1;
        }
        public function _-12f(_arg1:int):uint
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2Yf.length))))
            {
                return (_-2xB);
            };
            return (this._-2Yf[_arg1]);
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.DirectionalOffsetData

package _-0ah
{
    import flash.utils.Dictionary;

    public class DirectionalOffsetData 
    {

        private var _-3jO:Dictionary;
        private var _-1Mv:Dictionary;

        public function DirectionalOffsetData()
        {
            this._-3jO = new Dictionary();
            this._-1Mv = new Dictionary();
            super();
        }
        public function _-0aG(_arg1:int, _arg2:int):int
        {
            if (this._-3jO[_arg1] == null)
            {
                return (_arg2);
            };
            return (this._-3jO[_arg1]);
        }
        public function _-2jB(_arg1:int, _arg2:int):int
        {
            if (this._-1Mv[_arg1] == null)
            {
                return (_arg2);
            };
            return (this._-1Mv[_arg1]);
        }
        public function _-3GZ(_arg1:int, _arg2:int, _arg3:int):void
        {
            this._-3jO[_arg1] = _arg2;
            this._-1Mv[_arg1] = _arg3;
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.DirectionData

package _-0ah
{
    public class DirectionData 
    {

        public static const _-32P:int = -1;

        private var _-5D4:Array;

        public function DirectionData(_arg1:int)
        {
            var k:_-0Pn;
            this._-5D4 = [];
            super();
            var k:int;
            while (k < _arg1)
            {
                k = new _-0Pn();
                this._-5D4.push(k);
                k++;
            };
        }
        public function dispose():void
        {
            this._-5D4 = null;
        }
        public function get layerCount():int
        {
            return (this._-5D4.length);
        }
        private function _-3a5(_arg1:int):_-0Pn
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this.layerCount))))
            {
                return (null);
            };
            return (this._-5D4[_arg1]);
        }
        public function _-2Dc(_arg1:int):String
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                return (k.tag);
            };
            return (_-0Pn._-GJ);
        }
        public function _-3cF(_arg1:int, _arg2:String):void
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                k.tag = _arg2;
            };
        }
        public function _-57O(_arg1:int):int
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                return (k.ink);
            };
            return (_-0Pn._-0EF);
        }
        public function _-2Jw(_arg1:int, _arg2:int):void
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                k.ink = _arg2;
            };
        }
        public function _-1da(_arg1:int):int
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                return (k.alpha);
            };
            return (_-0Pn._-4XS);
        }
        public function _-4oY(_arg1:int, _arg2:int):void
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                k.alpha = _arg2;
            };
        }
        public function _-06m(_arg1:int):Boolean
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                return (k.ignoreMouse);
            };
            return (_-0Pn._-4J6);
        }
        public function _-25X(_arg1:int, _arg2:Boolean):void
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                k.ignoreMouse = _arg2;
            };
        }
        public function _-3K4(_arg1:int):int
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                return (k._-2DX);
            };
            return (_-0Pn._-3hI);
        }
        public function _-jV(_arg1:int, _arg2:int):void
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                k._-2DX = _arg2;
            };
        }
        public function _-3s2(_arg1:int):int
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                return (k._-44l);
            };
            return (_-0Pn._-10T);
        }
        public function _-GQ(_arg1:int, _arg2:int):void
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                k._-44l = _arg2;
            };
        }
        public function _-4yi(_arg1:int):Number
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                return (k._-Fc);
            };
            return (_-0Pn._-3Vi);
        }
        public function _-0Sc(_arg1:int, _arg2:Number):void
        {
            var k:_-0Pn = this._-3a5(_arg1);
            if (k != null)
            {
                k._-Fc = _arg2;
            };
        }
        public function _-45G(_arg1:DirectionData):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this.layerCount != _arg1.layerCount)
            {
                return;
            };
            var k:_-0Pn;
            var k:_-0Pn;
            var k:int;
            while (k < this.layerCount)
            {
                k = this._-3a5(k);
                k = _arg1._-3a5(k);
                if (k)
                {
                    k._-45G(k);
                };
                k++;
            };
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0ah.SizeData

package _-0ah
{
    import _-18r.Map;
    import _-0y0.XMLValidator;

    public class SizeData 
    {

        public static const _-i1:int = 1000;
        public static const _-2Hx:int = 0;

        private var _-0Am:int = 0;
        private var _-4LQ:int = 360;
        private var _-2cp:DirectionData = null;
        private var _-0r7:Map;
        private var _-2Yf:Map;
        private var _-Ms:DirectionData = null;
        private var _-4AW:int = -1;

        public function SizeData(_arg1:int, _arg2:int)
        {
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (_arg1 > _-i1)
            {
                k = _-i1;
            };
            this._-0Am = _arg1;
            if (_arg2 < 1)
            {
                k = 1;
            };
            if (_arg2 > 360)
            {
                k = 360;
            };
            this._-4LQ = _arg2;
            this._-2cp = new DirectionData(_arg1);
            this._-0r7 = new Map();
            this._-2Yf = new Map();
        }
        public function dispose():void
        {
            var k:DirectionData;
            var k:ColorData;
            if (this._-2cp != null)
            {
                this._-2cp.dispose();
                this._-2cp = null;
            };
            var k:int;
            if (this._-0r7 != null)
            {
                k = null;
                k = 0;
                while (k < this._-0r7.length)
                {
                    k = (this._-0r7.getWithIndex(k) as DirectionData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-0r7.dispose();
                this._-0r7 = null;
            };
            this._-Ms = null;
            if (this._-2Yf != null)
            {
                k = null;
                k = 0;
                while (k < this._-2Yf.length)
                {
                    k = (this._-2Yf.getWithIndex(k) as ColorData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-2Yf.dispose();
                this._-2Yf = null;
            };
        }
        public function get layerCount():int
        {
            return (this._-0Am);
        }
        public function _-2MV(_arg1:XML):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:XMLList = _arg1.layer;
            return (this._-48f(this._-2cp, k));
        }
        public function _-4E2(_arg1:XML):Boolean
        {
            var k:XML;
            var k:int;
            var k:XMLList;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:Array = ["id"];
            var k:DirectionData;
            var k:XMLList = _arg1.direction;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = int(k.@id);
                k = k.layer;
                if (this._-0r7.getValue(String(k)) != null)
                {
                    return (false);
                };
                k = new DirectionData(this.layerCount);
                k._-45G(this._-2cp);
                this._-48f(k, k);
                this._-0r7.add(String(k), k);
                this._-4AW = -1;
                this._-Ms = null;
                k++;
            };
            return (true);
        }
        private function _-48f(_arg1:DirectionData, _arg2:XMLList):Boolean
        {
            var k:XML;
            var k:int;
            var k:String;
            var k:String;
            var k:int;
            var k:int;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            var k:Array = ["id"];
            var k:int;
            while (k < _arg2.length())
            {
                k = _arg2[k];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = int(k.@id);
                if ((((k < 0)) || ((k >= this.layerCount))))
                {
                    return (false);
                };
                k = k.@tag;
                if (k.length > 0)
                {
                    _arg1._-3cF(k, k);
                };
                k = k.@ink;
                switch (k)
                {
                    case "ADD":
                        _arg1._-2Jw(k, _-0Pn._-2Pk);
                        break;
                    case "SUBTRACT":
                        _arg1._-2Jw(k, _-0Pn._-4Ni);
                        break;
                    case "DARKEN":
                        _arg1._-2Jw(k, _-0Pn._-2on);
                        break;
                };
                k = k.@alpha;
                if (k.length > 0)
                {
                    _arg1._-4oY(k, int(k));
                };
                k = k.@ignoreMouse;
                if (k.length > 0)
                {
                    k = int(k);
                    _arg1._-25X(k, !((k == 0)));
                };
                k = k.@x;
                if (k.length > 0)
                {
                    _arg1._-jV(k, int(k));
                };
                k = k.@y;
                if (k.length > 0)
                {
                    _arg1._-GQ(k, int(k));
                };
                k = k.@z;
                if (k.length > 0)
                {
                    k = int(k);
                    _arg1._-0Sc(k, (Number(k) / -1000));
                };
                k++;
            };
            return (true);
        }
        public function _-0YE(_arg1:XML):Boolean
        {
            var k:XML;
            var k:String;
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:int;
            var k:int;
            if (_arg1 == null)
            {
                return (true);
            };
            var k:ColorData;
            var k:Array = ["id"];
            var k:Array = ["id", "color"];
            var k:XMLList = _arg1.color;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = k.@id;
                if (this._-2Yf.getValue(k) != null)
                {
                    return (false);
                };
                k = new ColorData(this.layerCount);
                k = k.colorLayer;
                k = 0;
                while (k < k.length())
                {
                    k = k[k];
                    if (!XMLValidator._-4qb(k, k))
                    {
                        k.dispose();
                        return (false);
                    };
                    k = int(k.@id);
                    k = parseInt(k.@color, 16);
                    k._-0fN(k, k);
                    k++;
                };
                if (k != null)
                {
                    this._-2Yf.add(k, k);
                };
                k++;
            };
            return (true);
        }
        public function _-28H(_arg1:int):int
        {
            var k:int;
            var k:int;
            var k:int = (((((_arg1 % 360) + 360) + (this._-4LQ / 2)) % 360) / this._-4LQ);
            if (this._-0r7.getValue(String(k)) != null)
            {
                return (k);
            };
            k = (((_arg1 % 360) + 360) % 360);
            var k:int = -1;
            var k:int = -1;
            var k:int;
            while (k < this._-0r7.length)
            {
                k = (int(this._-0r7.getKey(k)) * this._-4LQ);
                k = (((k - k) + 360) % 360);
                if (k > 180)
                {
                    k = (360 - k);
                };
                if ((((k < k)) || ((k < 0))))
                {
                };
                k++;
            };
            if (k >= 0)
            {
                return (int(this._-0r7.getKey(k)));
            };
            return (_-2Hx);
        }
        private function _-2AU(_arg1:int):DirectionData
        {
            if ((((_arg1 == this._-4AW)) && (!((this._-Ms == null)))))
            {
                return (this._-Ms);
            };
            var k:DirectionData;
            k = (this._-0r7.getValue(String(_arg1)) as DirectionData);
            if (k == null)
            {
                k = this._-2cp;
            };
            this._-4AW = _arg1;
            this._-Ms = k;
            return (this._-Ms);
        }
        public function _-2Dc(_arg1:int, _arg2:int):String
        {
            var k:DirectionData;
            k = this._-2AU(_arg1);
            if (k != null)
            {
                return (k._-2Dc(_arg2));
            };
            return (_-0Pn._-GJ);
        }
        public function _-57O(_arg1:int, _arg2:int):int
        {
            var k:DirectionData;
            k = this._-2AU(_arg1);
            if (k != null)
            {
                return (k._-57O(_arg2));
            };
            return (_-0Pn._-0EF);
        }
        public function _-1da(_arg1:int, _arg2:int):int
        {
            var k:DirectionData;
            k = this._-2AU(_arg1);
            if (k != null)
            {
                return (k._-1da(_arg2));
            };
            return (_-0Pn._-4XS);
        }
        public function _-12f(_arg1:int, _arg2:int):uint
        {
            var k:ColorData = (this._-2Yf.getValue(String(_arg2)) as ColorData);
            if (k != null)
            {
                return (k._-12f(_arg1));
            };
            return (ColorData._-2xB);
        }
        public function _-06m(_arg1:int, _arg2:int):Boolean
        {
            var k:DirectionData;
            k = this._-2AU(_arg1);
            if (k != null)
            {
                return (k._-06m(_arg2));
            };
            return (_-0Pn._-4J6);
        }
        public function _-3K4(_arg1:int, _arg2:int):int
        {
            var k:DirectionData;
            k = this._-2AU(_arg1);
            if (k != null)
            {
                return (k._-3K4(_arg2));
            };
            return (_-0Pn._-3hI);
        }
        public function _-3s2(_arg1:int, _arg2:int):int
        {
            var k:DirectionData;
            k = this._-2AU(_arg1);
            if (k != null)
            {
                return (k._-3s2(_arg2));
            };
            return (_-0Pn._-10T);
        }
        public function _-4yi(_arg1:int, _arg2:int):Number
        {
            var k:DirectionData;
            k = this._-2AU(_arg1);
            if (k != null)
            {
                return (k._-4yi(_arg2));
            };
            return (_-0Pn._-3Vi);
        }

    }
}//package _-0ah

//------------------------------------------------------------
//_-0Ai._-034

package _-0Ai
{
    import _-0mD.HabboCatalog;
    import flash.utils.Timer;
    import _-Ew.IWindowContainer;
    import _-30J._-53p;
    import flash.events.TimerEvent;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-034 extends _-4n4 implements _-3eG 
    {

        private static const _-40F:int = 75;
        private static const _-4F2:int = 35;

        private var _-3oJ:HabboCatalog;
        private var _-3lK:int = 1;
        private var _-23f:int = 1;
        private var _-2Wz:int = 100;
        private var _-1ul:Timer;
        private var _-YC:Boolean = false;
        private var _-sR:Boolean = false;
        private var _-3S4:Boolean = false;
        private var _-01K:int = 1;
        private var _-0h2:Array;

        public function _-034(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            this._-0h2 = new Array(0);
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this._-1ul.stop();
                this._-1ul = null;
                events.removeEventListener(_-53p._-D5, this._-4mN);
                events.removeEventListener(_-53p._-WV, this._-18K);
                events.removeEventListener(_-53p._-1MR, this._-3tg);
                events.removeEventListener(_-53p._-4gc, this._-q-);
                events.removeEventListener(_-53p._-3kf, this._-2dt);
                super.dispose();
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            var k:IWindowContainer = IWindowContainer(this._-3oJ.utils.createWindow("spinnerWidget"));
            k.procedure = this._-0xS;
            window.addChild(k);
            window.visible = false;
            events.addEventListener(_-53p._-D5, this._-4mN);
            events.addEventListener(_-53p._-WV, this._-18K);
            events.addEventListener(_-53p._-1MR, this._-3tg);
            events.addEventListener(_-53p._-4gc, this._-q-);
            events.addEventListener(_-53p._-3kf, this._-2dt);
            this._-1ul = new Timer(_-40F);
            this._-1ul.addEventListener(TimerEvent.TIMER, this._-0ez);
            return (true);
        }
        private function refresh():void
        {
            this._-3lK = Math.max(this._-3lK, this._-23f);
            this._-3lK = Math.min(this._-3lK, this._-2Wz);
            events.dispatchEvent(new _-53p(_-53p._-0dA, this._-3lK));
            this._-0Di(this._-3lK.toString());
        }
        private function _-4mN(_arg1:_-53p):void
        {
            this._-3lK = _arg1.value;
            if (_arg1._-Ag != null)
            {
                this._-0h2 = _arg1._-Ag;
            };
            this.refresh();
        }
        private function _-18K(_arg1:_-53p):void
        {
            window.visible = true;
        }
        private function _-3tg(_arg1:_-53p):void
        {
            window.visible = false;
        }
        private function _-q-(_arg1:_-53p):void
        {
            this._-2Wz = _arg1.value;
        }
        private function _-2dt(_arg1:_-53p):void
        {
            this._-23f = _arg1.value;
        }
        private function _-0ez(_arg1:TimerEvent):void
        {
            if (disposed)
            {
                return;
            };
            this._-3S4 = true;
            if (this._-YC)
            {
                this._-0tP();
                if ((this._-3lK - this._-01K) > _-4F2)
                {
                    this._-0tP();
                };
            };
            if (this._-sR)
            {
                this._-1x-();
                if ((this._-01K - this._-3lK) > _-4F2)
                {
                    this._-1x-();
                };
            };
            this.refresh();
        }
        private function _-0tP():void
        {
            var k:int = (this._-3lK + 1);
            while (this._-0h2.indexOf(k) != -1)
            {
                k++;
            };
            this._-3lK = k;
        }
        private function _-1x-():void
        {
            var k:int = (this._-3lK - 1);
            while (this._-0h2.indexOf(k) != -1)
            {
                k--;
            };
            this._-3lK = k;
        }
        private function _-0Di(_arg1:String):void
        {
            if (_-0xv == null)
            {
                return;
            };
            var k:ITextWindow = ITextWindow(_-0xv.findChildByName("text_value"));
            k.text = _arg1;
        }
        private function _-0xS(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!(_arg1)) || (!(_arg2))))
            {
                return;
            };
            if (((((((!((_arg1.type == WindowMouseEvent._-90))) && (!((_arg1.type == WindowMouseEvent._-3Jy))))) && (!((_arg1.type == WindowMouseEvent._-02B))))) && (!((_arg1.type == WindowMouseEvent._-2uJ)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "button_less":
                    switch (_arg1.type)
                    {
                        case WindowMouseEvent._-3Jy:
                            this._-sR = true;
                            this._-01K = this._-3lK;
                            this._-1ul.start();
                            break;
                        case WindowMouseEvent._-02B:
                        case WindowMouseEvent._-2uJ:
                            this._-sR = false;
                            this._-1ul.stop();
                            break;
                        case WindowMouseEvent._-90:
                            if (!this._-3S4)
                            {
                                this._-1x-();
                            };
                            this.refresh();
                            this._-3S4 = false;
                            break;
                    };
                    return;
                case "button_more":
                    switch (_arg1.type)
                    {
                        case WindowMouseEvent._-3Jy:
                            this._-YC = true;
                            this._-01K = this._-3lK;
                            this._-1ul.start();
                            break;
                        case WindowMouseEvent._-02B:
                        case WindowMouseEvent._-2uJ:
                            this._-YC = false;
                            this._-1ul.stop();
                            break;
                        case WindowMouseEvent._-90:
                            if (!this._-3S4)
                            {
                                this._-0tP();
                            };
                            this.refresh();
                            this._-3S4 = false;
                            break;
                    };
                    return;
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-094

package _-0Ai
{
    import _-1ae.IButtonWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;

    public class _-094 extends _-4n4 implements _-3eG 
    {

        private var _-FG:IButtonWindow;

        public function _-094(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            super.dispose();
            if (this._-FG != null)
            {
                this._-FG.removeEventListener(WindowMouseEvent._-90, this._-xg);
                this._-FG = null;
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-FG = (_-0xv.findChildByName("ctlg_madmoney_button") as IButtonWindow);
            if (this._-FG != null)
            {
            };
            return (true);
        }
        private function _-xg(_arg1:WindowMouseEvent):void
        {
            var event:WindowMouseEvent = _arg1;
            page.viewer.catalog.windowManager.alert("TODO", "Fix in MadMoneyCatalogWidget.as", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-0pK

package _-0Ai
{
    import _-0mD.HabboCatalog;
    import _-3Bn._-0iB;
    import _-1lc.Offer;
    import flash.utils.Timer;
    import _-0Ix._-oy;
    import _-Ew.IWindowContainer;
    import flash.events.TimerEvent;
    import _-30J._-2KB;
    import _-1ae._-3Yi;
    import _-30J._-06;
    import _-30J._-2-9;
    import _-1lc._-2eJ;

    public class _-0pK extends _-4n4 implements _-3eG 
    {

        private static const _-40-:int = 20000;

        private var _-3oJ:HabboCatalog;
        private var _-1TR:_-0iB;
        private var _-25j:Offer;
        private var _-1bq:Timer;
        private var _-Jr:_-oy;

        public function _-0pK(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-1bq != null)
                {
                    this._-1bq.stop();
                    this._-1bq.removeEventListener(TimerEvent.TIMER, this._-aA);
                    this._-1bq = null;
                };
                window.visible = false;
                this._-3oJ = null;
                this._-25j = null;
                if (this._-1TR)
                {
                    this._-1TR.dispose();
                    this._-1TR = null;
                };
                events.removeEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
                events.removeEventListener(_-2KB._-1O6, this._-2ZW);
                super.dispose();
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            var k:_-3Yi = _-3Yi(_-0xv.findChildByName("unique_item_overlay_container"));
            this._-Jr = _-oy(k.widget);
            window.visible = false;
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            events.addEventListener(_-2KB._-1O6, this._-2ZW);
            this._-1bq = new Timer(_-40-);
            this._-1bq.addEventListener(TimerEvent.TIMER, this._-aA);
            return (true);
        }
        private function _-2vU(_arg1:_-06):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-25j = _arg1.offer;
            this.update(_arg1.offer, true);
        }
        private function _-2ZW(_arg1:_-2-9):void
        {
            this._-25j = _arg1.offer;
            this.update(_arg1.offer);
        }
        private function update(_arg1:Offer, _arg2:Boolean=false):void
        {
            var k:_-2eJ;
            if ((((_arg1._-1k2 == Offer._-3NL)) && (_arg1.productContainer._-1YN._-0bb)))
            {
                k = _arg1.productContainer._-1YN;
                this._-Jr._-2lp = k.uniqueLimitedItemsLeft;
                this._-Jr._-0O1 = k.uniqueLimitedItemSeriesSize;
                window.visible = true;
                if (_arg2)
                {
                    this._-3oJ._-2vf(_arg1.offerId);
                };
                this._-1bq.start();
            }
            else
            {
                window.visible = false;
                this._-1bq.stop();
            };
        }
        private function _-aA(_arg1:TimerEvent):void
        {
            if (((_-0xv.visible) && (!((this._-25j == null)))))
            {
                this.update(this._-25j, true);
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-139

package _-0Ai
{
    import _-Ew.IWindowContainer;
    import _-30J._-2KB;
    import _-0Ix._-aY;
    import _-1ae._-3Yi;
    import _-30J._-06;

    public class _-139 extends _-4n4 implements _-3eG 
    {

        public function _-139(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                events.removeEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
                super.dispose();
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            return (true);
        }
        private function _-2vU(_arg1:_-06):void
        {
            var k:_-aY;
            if (((!(disposed)) && (_arg1.offer._-3T)))
            {
                k = (_-3Yi(_-0xv.findChildByName("badge")).widget as _-aY);
                if (k != null)
                {
                    k.badgeId = _arg1.offer._-3T;
                };
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-1Qk

package _-0Ai
{
    import _-1ae.IButtonWindow;
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowKeyboardEvent;
    import flash.ui.Keyboard;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-3Bn._-1Ii;

    public class _-1Qk extends _-4n4 implements _-3eG 
    {

        private var _-3bY:IButtonWindow;
        private var _-0fe:ITextFieldWindow;

        public function _-1Qk(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            super.dispose();
            if (this._-3bY != null)
            {
                this._-3bY.removeEventListener(WindowMouseEvent._-90, this._-3xd);
                this._-3bY = null;
            };
            if (this._-0fe != null)
            {
                this._-0fe.removeEventListener(WindowKeyboardEvent._-2CS, this._-3Fm);
                this._-0fe = null;
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-3bY = (_-0xv.findChildByName("redeem") as IButtonWindow);
            if (this._-3bY != null)
            {
                this._-3bY.addEventListener(WindowMouseEvent._-90, this._-3xd);
            };
            this._-0fe = (_-0xv.findChildByName("voucher_code") as ITextFieldWindow);
            if (this._-0fe != null)
            {
                this._-0fe.addEventListener(WindowKeyboardEvent._-2CS, this._-3Fm);
            };
            return (true);
        }
        private function _-3xd(_arg1:WindowMouseEvent):void
        {
            this.redeem();
        }
        private function _-3Fm(_arg1:WindowEvent=null, _arg2:IWindow=null):void
        {
            var k:WindowKeyboardEvent = (_arg1 as WindowKeyboardEvent);
            if (k.charCode == Keyboard.ENTER)
            {
                this.redeem();
            };
        }
        private function redeem():void
        {
            var voucher:String;
            var input:ITextFieldWindow = (_-0xv.findChildByName("voucher_code") as ITextFieldWindow);
            if (input != null)
            {
                voucher = input.text;
                if (voucher.length > 0)
                {
                    page.viewer.catalog.redeemVoucher(voucher);
                    input.text = "";
                }
                else
                {
                    page.viewer.catalog.windowManager.alert("${catalog.voucher.empty.title}", "${catalog.voucher.empty.desc}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                };
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-1Ra

package _-0Ai
{
    import flash.display.BitmapData;
    import _-1lc.Offer;
    import _-Ew.IWindowContainer;
    import _-30J._-2KB;
    import _-1ae.IBitmapWrapperWindow;
    import _-30J._-06;
    import _-0Ie.WindowMouseEvent;
    import _-0mD.HabboCatalog;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-30J._-4N3;
    import _-293._-2Gt;
    import _-0y0._-Xl;
    import _-30J._-16H;
    import flash.geom.Point;
    import _-1lc.*;
    import _-293.*;

    public class _-1Ra extends _-4n4 implements _-3eG, dynamic, _-1FF 
    {

        private var _-2fX:int = -1;
        private var _-dj:int = -1;
        private var _-00X:BitmapData = null;
        private var _-4dN:BitmapData = null;
        private var _-1UN:Object;
        private var _-mB:Offer;

        public function _-1Ra(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            if (this._-00X != null)
            {
                this._-00X.dispose();
                this._-00X = null;
            };
            if (this._-4dN != null)
            {
                this._-4dN.dispose();
                this._-4dN = null;
            };
            events.removeEventListener(_-2KB.CWE_UPDATE_ROOM_PREVIEW, this._-4KU);
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            var k:IBitmapWrapperWindow = (window.getChildByName("catalog_floor_preview_example") as IBitmapWrapperWindow);
            k.procedure = this._-xg;
            events.addEventListener(_-2KB.CWE_UPDATE_ROOM_PREVIEW, this._-4KU);
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2iO);
            return (true);
        }
        private function _-2iO(_arg1:_-06):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-mB = _arg1.offer;
        }
        private function _-xg(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-02B)
            {
                this._-1UN = null;
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-3Jy)
                {
                    if (_arg2 == null)
                    {
                        return;
                    };
                    this._-1UN = _arg2;
                }
                else
                {
                    if ((((((_arg1.type == WindowMouseEvent._-4e2)) && (!((this._-1UN == null))))) && ((this._-1UN == _arg2))))
                    {
                        if (this._-mB)
                        {
                            (page.viewer.catalog as HabboCatalog)._-4Ks(this, this._-mB);
                            this._-1UN = null;
                        };
                    }
                    else
                    {
                        if (_arg1.type == WindowMouseEvent._-02B)
                        {
                            (this._-1UN == null);
                        }
                        else
                        {
                            if (_arg1.type == WindowMouseEvent._-90)
                            {
                                (this._-1UN == null);
                            }
                            else
                            {
                                if (_arg1.type == WindowMouseEvent._-4B7)
                                {
                                    this._-1UN = null;
                                };
                            };
                        };
                    };
                };
            };
        }
        public function _-1NL(_arg1:Boolean, _arg2:String):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1)
            {
                events.dispatchEvent(new _-4N3(false, _arg2));
            };
        }
        public function _-4Ov():void
        {
        }
        private function _-4KU(_arg1:_-16H):void
        {
            var k:BitmapData;
            var k:BitmapData;
            var k:String = "ads_twi_windw";
            var k:_-2Gt = page.viewer.roomEngine.getRoomImage(_arg1._-E-, _arg1._-1ts, _arg1._-Av, _arg1._-1he, this, k);
            var k:_-2Gt = page.viewer.roomEngine.getGenericRoomObjectImage(k, "", new _-Xl(180, 0, 0), _arg1._-1he, this);
            if (((!((k == null))) && (!((k == null)))))
            {
                this._-2fX = k.id;
                this._-dj = k.id;
                k = (k.data as BitmapData);
                k = (k.data as BitmapData);
                if (this._-00X != null)
                {
                    this._-00X.dispose();
                };
                if (this._-4dN != null)
                {
                    this._-4dN.dispose();
                };
                this._-00X = k;
                this._-4dN = k;
                this._-1Hu(k, k);
            };
        }
        private function _-1Hu(_arg1:BitmapData, _arg2:BitmapData):void
        {
            var k:IBitmapWrapperWindow;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            if (((((!((_arg1 == null))) && (!((_arg2 == null))))) && (!(window.disposed))))
            {
                k = (window.getChildByName("catalog_floor_preview_example") as IBitmapWrapperWindow);
                if (k != null)
                {
                    if (k.bitmap == null)
                    {
                        k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                    };
                    k = -45;
                    k = 20;
                    k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
                    k = (((k.width - _arg1.width) / 2) + k);
                    k = (((k.height - _arg1.height) / 2) + k);
                    k.bitmap.copyPixels(_arg1, _arg1.rect, new Point(k, k), null, null, true);
                    k = ((k.width / 2) + k);
                    k = (((k.height / 2) + k) - _arg2.height);
                    k = (k + 1);
                    k = (k + 44);
                    k.bitmap.copyPixels(_arg2, _arg2.rect, new Point(k, k), null, null, true);
                    k.invalidate();
                };
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (disposed)
            {
                return;
            };
            switch (_arg1)
            {
                case this._-2fX:
                    this._-2fX = 0;
                    if (this._-00X != null)
                    {
                        this._-00X.dispose();
                    };
                    this._-00X = _arg2;
                    break;
                case this._-dj:
                    this._-dj = 0;
                    if (this._-4dN != null)
                    {
                        this._-4dN.dispose();
                    };
                    this._-4dN = _arg2;
                    break;
            };
            if (((!((this._-00X == null))) && (!((this._-4dN == null)))))
            {
                this._-1Hu(this._-00X, this._-4dN);
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-1sY

package _-0Ai
{
    import _-Ew.IWindowContainer;
    import _-30J._-2KB;
    import _-30J._-06;

    public class _-1sY extends _-4n4 implements _-3eG 
    {

        public function _-1sY(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2iO);
            return (true);
        }
        private function _-2iO(_arg1:_-06):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _-0xv.visible = false;
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-1TT

package _-0Ai
{
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowKeyboardEvent;
    import _-30J._-zb;

    public class _-1TT extends _-4n4 implements _-3eG 
    {

        private var _-2Um:ITextFieldWindow;

        public function _-1TT(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-2Um = (_-0xv.findChildByName("input_text") as ITextFieldWindow);
            if (this._-2Um != null)
            {
                this._-2Um.addEventListener(WindowKeyboardEvent._-4Wf, this._-2zV);
            };
            return (true);
        }
        private function _-2zV(_arg1:WindowKeyboardEvent):void
        {
            if (this._-2Um == null)
            {
                return;
            };
            events.dispatchEvent(new _-zb(this._-2Um.text));
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-2C2

package _-0Ai
{
    import _-Ew.IWindowContainer;
    import _-0mD.HabboCatalog;
    import _-2JX._-1Vt;
    import _-Ew.IWindow;
    import _-2JX._-1sv;
    import _-1lc.Offer;

    public class _-2C2 extends _-4n4 implements _-3eG 
    {

        public function _-2C2(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            var k:HabboCatalog = HabboCatalog(page.viewer.catalog);
            k.events.removeEventListener(_-1Vt._-0QB, this._-3ZP);
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            var k:HabboCatalog = HabboCatalog(page.viewer.catalog);
            k.events.addEventListener(_-1Vt._-0QB, this._-3ZP);
            return (this._-6u());
        }
        private function _-6u():Boolean
        {
            if (disposed)
            {
                return (false);
            };
            if (_-0xv == null)
            {
                return (false);
            };
            var k:int = this._-2ux();
            if (k < 1)
            {
                _-0xv.visible = false;
                return (false);
            };
            var k:HabboCatalog = HabboCatalog(page.viewer.catalog);
            var k:String = ("catalog.purchase.youractivitypoints." + k);
            k.localization.registerParameter(k, "activitypoints", ("" + k.getPurse()._-3UR(k)));
            _-0xv.findChildByName("activity_points_txt").caption = k.localization.getKey(k);
            var k:IWindow = IWindow(_-0xv.findChildByName("activity_point_icon"));
            k.style = _-1sv._-45C(k, k.configuration, true);
            _-0xv.visible = true;
            return (true);
        }
        private function _-3ZP(_arg1:_-1Vt):void
        {
            this._-6u();
        }
        private function _-2ux():int
        {
            var k:Offer;
            if ((((page == null)) || ((page.offers == null))))
            {
                return (0);
            };
            for each (k in page.offers)
            {
                if (k.activityPointType > 0)
                {
                    return (k.activityPointType);
                };
            };
            return (0);
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-2Dn

package _-0Ai
{
    import _-O3._-4e6;
    import _-Ew.IWindowContainer;
    import _-30J._-2KB;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-30J._-1PO;

    public class _-2Dn extends _-4n4 implements _-3eG 
    {

        private var _-1ft:_-4e6;

        public function _-2Dn(_arg1:IWindowContainer, _arg2:_-4e6)
        {
            super(_arg1);
            this._-1ft = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this._-1ft = null;
                super.dispose();
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            events.addEventListener(_-2KB.CWE_GUILD_SELECTED, this._-3Oo);
            return (true);
        }
        private function _-3Oo(_arg1:_-1PO):void
        {
            if (disposed)
            {
                return;
            };
            var k:_-aY = (_-3Yi(_-0xv.findChildByName("badge")).widget as _-aY);
            if (k != null)
            {
                k.badgeId = _arg1._-3T;
                k.groupId = _arg1._-2Jo;
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-2G7

package _-0Ai
{
    import _-0mD.HabboCatalog;
    import _-3CK._-57F;
    import flash.utils.Timer;
    import _-Ew.IWindowContainer;
    import flash.events.TimerEvent;
    import _-30J._-56l;
    import _-30J._-53p;
    import _-3CK._-2Hp;
    import _-3CK._-JN;

    public class _-2G7 extends _-4n4 implements _-3eG 
    {

        private static const _-58:uint = 4000;

        private var _-3oJ:HabboCatalog;
        private var _-84:_-57F;
        private var _-2T7:int = 1;
        private var _-3SV:int;
        private var _-hQ:int;
        private var _-2Eu:int;
        private var _-0QK:String;
        private var _-Xy:int = -1;
        private var _-088:int = -1;
        private var _-sW:int = -1;
        private var _-23S:Boolean = false;
        private var _-1Ut:Timer;

        public function _-2G7(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this._-84.dispose();
                this._-84 = null;
                this._-3oJ = null;
                this._-1Ut.stop();
                this._-1Ut.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-1wC);
                this._-1Ut = null;
                events.removeEventListener(_-56l._-D5, this._-06p);
                events.removeEventListener(_-56l._-1MR, this._-3tg);
                events.removeEventListener(_-53p._-0dA, this._-072);
                events.removeEventListener(_-56l._-Tg, this._-5Dk);
                super.dispose();
            };
        }
        override public function init():Boolean
        {
            this._-84 = new _-57F(this, this._-3oJ);
            events.addEventListener(_-56l._-D5, this._-06p);
            events.addEventListener(_-56l._-1MR, this._-3tg);
            events.addEventListener(_-53p._-0dA, this._-072);
            events.addEventListener(_-56l._-Tg, this._-5Dk);
            this._-1Ut = new Timer(_-58, 1);
            this._-1Ut.addEventListener(TimerEvent.TIMER_COMPLETE, this._-1wC);
            return (true);
        }
        private function _-0iy():void
        {
            var k:_-2Hp = new _-2Hp(_-2Hp._-H7);
            k.quantity = this._-2T7;
            this._-Xy = this._-84._-0df(k);
        }
        private function _-0ya(_arg1:int):void
        {
            var k:_-JN;
            var k:_-2Hp;
            if (this._-Xy != -1)
            {
                k = _-JN(this._-84._-2fQ(this._-Xy));
                k = k.data;
                k.quantity = _arg1;
                k.update(k);
            };
        }
        private function _-4m7():void
        {
            if (this._-Xy != -1)
            {
                this._-84._-1UX(this._-Xy);
                this._-Xy = -1;
            };
        }
        private function _-3Lf():void
        {
            var k:_-2Hp = new _-2Hp(_-2Hp._-t-);
            k.quantity = this._-2T7;
            k.priceActivityPoints = this._-hQ;
            k.activityPointType = this._-2Eu;
            k.priceCredits = this._-3SV;
            this._-088 = this._-84._-0df(k);
            this._-3oJ.utils._-0mu();
        }
        private function _-hk(_arg1:int):void
        {
            var k:_-JN;
            var k:_-2Hp;
            if (this._-088 != -1)
            {
                k = _-JN(this._-84._-2fQ(this._-088));
                k = k.data;
                k.quantity = _arg1;
                k.discountPriceCredits = this._-3oJ.utils._-1Tv(true, this._-3SV, _arg1);
                k.discountPriceActivityPoints = this._-3oJ.utils._-1Tv(true, this._-hQ, _arg1);
                k.update(k);
            };
        }
        private function _-z():void
        {
            if (this._-088 != -1)
            {
                this._-84._-1UX(this._-088);
                this._-088 = -1;
            };
        }
        private function _-36R():void
        {
            var k:_-2Hp = new _-2Hp(_-2Hp._-3nd);
            this._-sW = this._-84._-0df(k);
            this._-3oJ.utils._-3-k();
        }
        private function _-53T():void
        {
            if (this._-sW != -1)
            {
                this._-84._-1UX(this._-sW);
                this._-sW = -1;
            };
        }
        private function _-06p(_arg1:_-56l):void
        {
            if (disposed)
            {
                return;
            };
            window.visible = true;
            this._-3SV = _arg1.data.priceCredits;
            this._-hQ = _arg1.data.priceActivityPoints;
            this._-2Eu = _arg1.data.activityPointType;
            this._-0QK = _arg1.data._-3T;
            this._-84.clear();
            this._-088 = -1;
            this._-Xy = -1;
            this._-1Ut.start();
        }
        private function _-072(_arg1:_-53p):void
        {
            if (disposed)
            {
                return;
            };
            if (!this._-3oJ._-5FE)
            {
                return;
            };
            if (_arg1.type == _-53p._-0dA)
            {
                if (_arg1.value != this._-2T7)
                {
                    if ((((_arg1.value >= this._-3oJ._-5FE._-4-I)) && ((this._-088 == -1))))
                    {
                        this._-3Lf();
                    }
                    else
                    {
                        if (_arg1.value < this._-3oJ._-5FE._-4-I)
                        {
                            this._-z();
                        };
                    };
                    this._-0ya(_arg1.value);
                    this._-hk(_arg1.value);
                    this._-2T7 = _arg1.value;
                    this._-53T();
                    if (this._-2T7 >= this._-3oJ.utils._-1pK)
                    {
                        this._-4m7();
                        this._-23S = true;
                    }
                    else
                    {
                        if (this._-23S)
                        {
                            this._-0iy();
                            this._-23S = false;
                        };
                    };
                    this._-3oJ.utils._-3M9();
                };
            };
        }
        private function _-3tg(_arg1:_-56l):void
        {
            window.visible = false;
        }
        private function _-5Dk(_arg1:_-56l):void
        {
            switch (_arg1.id)
            {
                case this._-Xy:
                    if (this._-sW == -1)
                    {
                        this._-36R();
                    };
                    return;
                case this._-sW:
                    this._-53T();
                    return;
            };
        }
        private function _-1wC(_arg1:TimerEvent):void
        {
            this._-0iy();
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-2HH

package _-0Ai
{
    import _-4P2._-7Z;
    import _-1ae.IItemListWindow;
    import _-18r.Map;
    import _-Ew.IWindowContainer;
    import _-0mD.HabboCatalog;
    import _-1ae.ITextWindow;
    import _-1lc.Offer;
    import _-Ew.IWindow;
    import _-48G._-16p;
    import _-32F._-48b;
    import _-48G._-4hq;
    import _-48G._-0N2;
    import _-4n1._-0hX;
    import _-1lc._-1Lw;
    import _-1lc._-2eJ;
    import _-1ae.IIconWindow;
    import _-1ae.IButtonWindow;
    import _-1lc._-1OU;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import flash.geom.Rectangle;
    import _-293._-2Gt;
    import _-1ae.IBitmapWrapperWindow;
    import _-0y0._-Xl;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-295._-243;

    public class _-2HH extends _-4n4 implements _-3eG 
    {

        private const _-0nY:int = 31;

        private var _-513:_-7Z;
        private var _-4xX:IItemListWindow;
        private var _-4GM:Map;
        private var _preview:IWindowContainer;
        private var _-3oJ:HabboCatalog;

        public function _-2HH(_arg1:IWindowContainer, _arg2:_-7Z, _arg3:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg3;
            this._-513 = _arg2;
            this._-4GM = new Map();
        }
        override public function dispose():void
        {
            super.dispose();
            this._-513 = null;
            this._-3oJ = null;
            if (this._preview)
            {
                this._preview.dispose();
                this._preview = null;
            };
        }
        override public function init():Boolean
        {
            if (!window)
            {
                return (false);
            };
            if (!super.init())
            {
                return (false);
            };
            this._-513.widget = this;
            var k:IWindowContainer = (window.findChildByName("widget_main_container") as IWindowContainer);
            if (!k)
            {
                k = (this.createWindow("clubGiftWidget") as IWindowContainer);
                if (!k)
                {
                    return (false);
                };
                window.addChild(k);
                this._-4xX = (k.findChildByName("gift_list") as IItemListWindow);
            };
            this.update();
            return (true);
        }
        public function update():void
        {
            this._-4ox();
            this._-4Za();
        }
        private function _-4ox():void
        {
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            if (((!(this._-513)) || (!(window))))
            {
                return;
            };
            var k:ITextWindow = (window.findChildByName("info_text") as ITextWindow);
            if (!k)
            {
                return;
            };
            if (this._-513._-W7 > 0)
            {
                k = "catalog.club_gift.available";
                this._-513.localization.registerParameter(k, "amount", this._-513._-W7.toString());
            }
            else
            {
                if (this._-513._-Q8 > 0)
                {
                    k = "catalog.club_gift.days_until_next";
                    this._-513.localization.registerParameter(k, "days", this._-513._-Q8.toString());
                }
                else
                {
                    if (this._-513._-2lD)
                    {
                        k = "catalog.club_gift.not_available";
                    }
                    else
                    {
                        k = "catalog.club_gift.no_club";
                    };
                };
            };
            k.text = this._-513.localization.getKey(k);
            if (!this._-513.purse)
            {
                return;
            };
            var k:ITextWindow = (window.findChildByName("past_club_days") as ITextWindow);
            if (k)
            {
                k = (this._-513.purse._-4pc + this._-513.purse._-0pO);
                k = (((k >= this._-0nY)) ? "catalog.club_gift.past_club.long" : "catalog.club_gift.past_club");
                k = (k % this._-0nY);
                k = (k / this._-0nY);
                this._-513.localization.registerParameter(k, "days", k.toString());
                this._-513.localization.registerParameter(k, "months", k.toString());
                k.text = this._-513.localization.getKey(k);
            };
            var k:ITextWindow = (window.findChildByName("past_vip_days") as ITextWindow);
            if (k)
            {
                k = (((this._-513.purse._-0pO >= this._-0nY)) ? "catalog.club_gift.past_vip.long" : "catalog.club_gift.past_vip");
                k = (this._-513.purse._-0pO % this._-0nY);
                k = (this._-513.purse._-0pO / this._-0nY);
                this._-513.localization.registerParameter(k, "days", k.toString());
                this._-513.localization.registerParameter(k, "months", k.toString());
                k.text = this._-513.localization.getKey(k);
            };
        }
        private function _-4Za():void
        {
            var k:Offer;
            var k:Array;
            var k:IWindow;
            var k:_-16p;
            var k:Array;
            var k:_-48b;
            var k:_-4hq;
            var k:_-0N2;
            var k:_-0hX;
            var k:_-1Lw;
            if (((((!(this._-513)) || (!(window)))) || (!(page))))
            {
                return;
            };
            for each (k in this._-4GM)
            {
                k.dispose();
            };
            this._-4GM.reset();
            k = this._-513._-13t();
            if (!k)
            {
                return;
            };
            var k:Map = this._-513._-12F();
            if (!k)
            {
                return;
            };
            var k:IItemListWindow = (window.findChildByName("gift_list") as IItemListWindow);
            if (!k)
            {
                return;
            };
            k._-Ls();
            for each (k in k)
            {
                k = new Array();
                k = this._-513.catalog.getProductData(k._-5Dp);
                for each (k in k.products)
                {
                    k = this._-513.catalog._-2QH(k._-3Zu, k._-5DX);
                    k = new _-1Lw(k._-5DX, k._-3Zu, k._-1gg, k.productCount, k.expiration, k, k, this._-3oJ);
                    k.push(k);
                };
                k = new Offer(k.offerId, k._-5Dp, k._-w6, k._-17D, k.activityPointType, k._-4SQ, k.clubLevel, k, k._-3by, page, this._-3oJ);
                k = (k.getValue(k.offerId) as _-0N2);
                k = this._-17G(k, k);
                if (k)
                {
                    k.addListItem(k);
                    this._-4GM.add(k.offerId, k);
                };
            };
        }
        private function _-17G(_arg1:Offer, _arg2:_-0N2):IWindow
        {
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            if (((((((!(_arg1)) || (!(_arg1.productContainer)))) || (!(_arg1.productContainer._-1YN)))) || (!(_arg2))))
            {
                return (null);
            };
            var k:IWindowContainer = (this.createWindow("club_gift_list_item") as IWindowContainer);
            if (!k)
            {
                return (null);
            };
            k.procedure = this._-0Cq;
            var k:_-2eJ = _arg1.productContainer._-1YN;
            if (!k)
            {
                return (null);
            };
            var k:_-48b = k._-08n;
            if (!k)
            {
                return (null);
            };
            this._-0Ab(k.findChildByName("gift_name"), k.name);
            this._-0Ab(k.findChildByName("gift_desc"), k.description);
            if (_arg2._-2Pc)
            {
                k = (_arg2._-4KL - this._-513.purse._-0pO);
            }
            else
            {
                k = (_arg2._-4KL - (this._-513.purse._-4pc + this._-513.purse._-0pO));
            };
            if (((!(_arg2._-06F)) && ((k > 0))))
            {
                if (_arg2._-2Pc)
                {
                    k = "catalog.club_gift.vip_missing";
                }
                else
                {
                    k = "catalog.club_gift.club_missing";
                };
                if (k >= this._-0nY)
                {
                    k = (k + ".long");
                };
                k = (k % this._-0nY);
                k = (k / this._-0nY);
                this._-513.localization.registerParameter(k, "days", k.toString());
                this._-513.localization.registerParameter(k, "months", k.toString());
            }
            else
            {
                if (this._-513._-W7 > 0)
                {
                    k = "catalog.club_gift.selectable";
                }
                else
                {
                    k = "";
                };
            };
            this._-0Ab(k.findChildByName("months_required"), (((k.length > 0)) ? this._-513.localization.getKey(k) : ""));
            var k:IIconWindow = (k.findChildByName("vip_icon") as IIconWindow);
            if (k)
            {
                k.visible = _arg2._-2Pc;
            };
            var k:IButtonWindow = (k.findChildByName("select_button") as IButtonWindow);
            if (k)
            {
                if (((_arg2._-06F) && ((this._-513._-W7 > 0))))
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
                k.id = _arg1.offerId;
            };
            var k:_-1OU = _arg1.productContainer;
            if (!k)
            {
                return (null);
            };
            if (((((!(page)) || (!(page.viewer)))) || (!(page.viewer.roomEngine))))
            {
                return (null);
            };
            var k:IWindowContainer = (k.findChildByName("image_container") as IWindowContainer);
            if (k)
            {
                k.view = k;
                k.initProductIcon(page.viewer.roomEngine);
                k.procedure = this._-3AC;
                k.id = _arg1.offerId;
            };
            return (k);
        }
        private function _-0Ab(_arg1:IWindow, _arg2:String):void
        {
            var k:ITextWindow = (_arg1 as ITextWindow);
            if (!k)
            {
                return;
            };
            k.text = _arg2;
        }
        private function _-0Cq(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((!(_arg1)) || (!(_arg2)))) || (!(this._-4GM)))) || (!(this._-513))))
            {
                return;
            };
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (_arg2.name != "select_button")
            {
                return;
            };
            var k:Offer = (this._-4GM.getValue(_arg2.id) as Offer);
            if (!k)
            {
                return;
            };
            this._-513._-1KY(k);
        }
        private function _-3AC(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Rectangle;
            if (((((!(_arg1)) || (!(_arg2)))) || (!(this._-4GM))))
            {
                return;
            };
            if (_arg2.name != "image_container")
            {
                return;
            };
            var k:Offer = (this._-4GM.getValue(_arg2.id) as Offer);
            if (!k)
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                k = new Rectangle();
                _arg2.getGlobalRectangle(k);
            };
            if (_arg1.type == WindowMouseEvent._-4e2)
            {
                this._-3hr();
            };
        }
        private function _-31H(_arg1:Offer, _arg2:Rectangle):void
        {
            var k:_-2Gt;
            if (((!(_arg1)) || (!(_arg1.productContainer))))
            {
                return;
            };
            if (((((!(page)) || (!(page.viewer)))) || (!(page.viewer.roomEngine))))
            {
                return;
            };
            var k:_-2eJ = _arg1.productContainer._-1YN;
            if (!k)
            {
                return;
            };
            if (!this._preview)
            {
                this._preview = (this.createWindow("club_gift_preview") as IWindowContainer);
            };
            if (!this._preview)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._preview.findChildByName("image") as IBitmapWrapperWindow);
            if (!k)
            {
                return;
            };
            switch (k._-5DX)
            {
                case "s":
                    k = page.viewer.roomEngine.getFurnitureImage(k._-3yk, new _-Xl(90), 64, null, 0, k._-1gg);
                    break;
                case "i":
                    k = page.viewer.roomEngine.getWallItemImage(k._-3yk, new _-Xl(90), 64, null, 0, k._-1gg);
                    break;
                default:
                    return;
            };
            if (((!(k)) || (!(k.data))))
            {
                return;
            };
            k.width = k.data.width;
            k.height = k.data.height;
            if (k.bitmap)
            {
                k.bitmap.dispose();
            };
            k.bitmap = new BitmapData(k.width, k.height);
            k.bitmap.draw(k.data);
            k.data.dispose();
            var k:Point = Point.interpolate(_arg2.topLeft, _arg2.bottomRight, 0.5);
            this._preview._-3gl(k.subtract(new Point((this._preview.width / 2), (this._preview.height / 2))));
            this._preview.visible = true;
            this._preview.activate();
        }
        private function _-3hr():void
        {
            if (this._preview)
            {
                this._preview.visible = false;
            };
        }
        private function createWindow(_arg1:String):IWindow
        {
            if (((((!(this._-513)) || (!(this._-513.assets)))) || (!(this._-513.windowManager))))
            {
                return (null);
            };
            var k:_-243 = (this._-513.assets.getAssetByName(_arg1) as _-243);
            if (((!(k)) || (!(k.content))))
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (!k)
            {
                return (null);
            };
            return (this._-513.windowManager.buildFromXML(k));
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-2-l

package _-0Ai
{
    public class _-2-l 
    {

        public static const _-4pH:String = "itemGridWidget";
        public static const _-3MM:String = "itemGroupWidget";
        public static const _-1Ry:String = "productViewWidget";
        public static const _-1RW:String = "songDiskProductViewWidget";
        public static const _-112:String = "singleViewWidget";
        public static const _-wg:String = "purchaseWidget";
        public static const _-4jy:String = "purseWidget";
        public static const _-3SE:String = "colourGridWidget";
        public static const _-1p4:String = "traxPreviewWidget";
        public static const _-334:String = "redeemItemCodeWidget";
        public static const _-1TG:String = "spacesWidget";
        public static const _-Zl:String = "spacesNewWidget";
        public static const _-3NH:String = "roomPreviewWidget";
        public static const _-0Dt:String = "trophyWidget";
        public static const _-10Z:String = "petsWidget";
        public static const _-1c3:String = "newPetsWidget";
        public static const _-4Z2:String = "roomAdsCatalogWidget";
        public static const _-45s:String = "textInputWidget";
        public static const _-oO:String = "specialInfoWidget";
        public static const _-16Z:String = "recyclerWidget";
        public static const _-2vC:String = "recyclerPrizesWidget";
        public static const _-0r5:String = "marketPlaceWidget";
        public static const _-2yO:String = "marketPlaceOwnItemsWidget";
        public static const _-05A:String = "clubGiftWidget";
        public static const _-1sZ:String = "clubBuyWidget";
        public static const _-0ru:String = "vipBuyWidget";
        public static const _-2Hu:String = "vipGiftWidget";
        public static const _-1Au:String = "activityPointDisplayWidget";
        public static const _-4vJ:String = "madMoneyWidget";
        public static const _-0wS:String = "buyGuildWidget";
        public static const _-1eT:String = "guildBadgeViewWidget";
        public static const _-0PJ:String = "guildSelectorWidget";
        public static const _-4KE:String = "petPreviewWidget";
        public static const _-0z4:String = "spinnerWidget";
        public static const _-1yG:String = "bundlePurchaseExtraInfoWidget";
        public static const _-uP:String = "totalPriceWidget";
        public static const _-3YG:String = "limitedItemWidget";
        public static const _-1QK:String = "soldLtdItemsWidget";
        public static const _-5FH:String = "addOnBadgeViewWidget";

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-2s8

package _-0Ai
{
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;

    public class _-2s8 extends _-4n4 implements _-3eG 
    {

        public function _-2s8(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            super.dispose();
        }
        override public function init():Boolean
        {
            var k:String;
            var k:ITextWindow;
            var k:ITextWindow;
            var k:ITextWindow;
            var k:IButtonWindow;
            if (!super.init())
            {
                return (false);
            };
            var k:Array = ["vouchers_btn", "coins_btn"];
            for each (k in k)
            {
                k = (_-0xv.findChildByName(k) as IButtonWindow);
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this.onMouseClick);
                };
            };
            k = (_-0xv.findChildByName("purse_info_tickets") as ITextWindow);
            k = (_-0xv.findChildByName("purse_info_film") as ITextWindow);
            k = (_-0xv.findChildByName("purse_amount") as ITextWindow);
            k.text = page.viewer.catalog.getPurse().credits.toString();
            return (true);
        }
        private function onMouseClick(_arg1:WindowMouseEvent):void
        {
            var event:WindowMouseEvent = _arg1;
            var element:IWindow = (event.target as IWindow);
            var id:String = element.name;
            switch (id)
            {
                case "vouchers_btn":
                    page.viewer.catalog.windowManager.alert("Purse Voucher", "Vouchers clicked", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case "coins_btn":
                    page.viewer.catalog.windowManager.alert("Purse Credits", "Credits clicked", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                default:
                    _-Nb.log("PurseCatalogWidget: unknonwn button");
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-2yu

package _-0Ai
{
    import _-0mD.HabboCatalog;
    import _-Ew.IWindowContainer;
    import _-30J._-2KB;
    import _-Ew.IWindow;
    import _-30J._-06;

    public class _-2yu extends _-4n4 implements _-3eG 
    {

        private var _-3oJ:HabboCatalog;

        public function _-2yu(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                events.removeEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2iO);
                super.dispose();
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            var k:IWindow = this._-3oJ.utils.createWindow("soldLtdItemsWidget");
            window.addChild(k);
            window.visible = false;
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2iO);
            return (true);
        }
        private function _-2iO(_arg1:_-06):void
        {
            if (_arg1 == null)
            {
                return;
            };
            window.visible = true;
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-3eG

package _-0Ai
{
    import _-1lc._-YK;
    import flash.events.IEventDispatcher;
    import _-Ew.IWindowContainer;

    public interface _-3eG 
    {

        function set page(_arg1:_-YK):void;
        function set events(_arg1:IEventDispatcher):void;
        function get window():IWindowContainer;
        function get events():IEventDispatcher;
        function get page():_-YK;
        function dispose():void;
        function init():Boolean;
        function closed():void;

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-3yd

package _-0Ai
{
    import _-0mD.HabboCatalog;
    import _-1ae.ITextWindow;
    import _-Ew.IWindowContainer;
    import _-30J._-53p;
    import _-30J._-2KB;
    import flash.events.Event;
    import _-30J._-06;
    import _-Ew.IWindow;
    import _-2JX._-1sv;
    import _-1ae.IItemListWindow;

    public class _-3yd extends _-4n4 implements _-3eG 
    {

        private static const _-039:String = "totalprice_container";
        private static const _-3hx:String = "plus";
        private static const _-0If:String = "amount_text_left";
        private static const _-11F:String = "amount_text_right";
        private static const _-3Um:String = "currency_indicator_bitmap_left";
        private static const _-46P:String = "currency_indicator_bitmap_right";

        private var _-3oJ:HabboCatalog;
        private var _-3SV:int;
        private var _-hQ:int;
        private var _-2Eu:int;
        private var _-79:ITextWindow;
        private var _-4Nb:ITextWindow;
        private var _-HB:int = 1;

        public function _-3yd(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this._-3oJ = null;
                events.removeEventListener(_-53p._-0dA, this._-4AT);
                events.removeEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2Bj);
                this.clear();
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            var k:IWindowContainer = IWindowContainer(this._-3oJ.utils.createWindow("totalPriceWidget"));
            window.addChild(k);
            window.visible = false;
            events.addEventListener(_-53p._-0dA, this._-4AT);
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2Bj);
            events.dispatchEvent(new Event(_-2KB.CWE_TOTAL_PRICE_WIDGET_INITIALIZED));
            return (true);
        }
        private function _-4AT(_arg1:_-53p):void
        {
            this._-HB = _arg1.value;
            this._-43F();
        }
        private function _-2Bj(_arg1:_-06):void
        {
            window.visible = _arg1.offer._-3by;
            this._-3SV = _arg1.offer._-w6;
            this._-hQ = _arg1.offer._-17D;
            this._-2Eu = _arg1.offer.activityPointType;
            this._-HB = 1;
            this.clear();
            this._-4BQ();
            this._-43F();
        }
        private function clear():void
        {
            this._-79 = null;
            this._-4Nb = null;
            _-0xv.findChildByName(_-3hx).visible = false;
            _-0xv.findChildByName(_-0If).visible = false;
            _-0xv.findChildByName(_-3Um).visible = false;
        }
        private function _-43F():void
        {
            var k:int = (this._-HB * this._-3SV);
            var k:int = (this._-HB * this._-hQ);
            if (this._-3oJ._-B6)
            {
                k = this._-3oJ.utils._-1Tv(true, this._-3SV, this._-HB);
                k = this._-3oJ.utils._-1Tv(true, this._-hQ, this._-HB);
            };
            if (this._-79 != null)
            {
                this._-79.text = k.toString();
            };
            if (this._-4Nb != null)
            {
                this._-4Nb.text = k.toString();
            };
        }
        private function _-4BQ():void
        {
            var k:IWindow;
            var k:IWindow;
            if (this._-3SV > 0)
            {
                if (this._-hQ > 0)
                {
                    this._-79 = ITextWindow(_-0xv.findChildByName(_-0If));
                    this._-79.visible = true;
                    k = _-0xv.findChildByName(_-3Um);
                    k.visible = true;
                    _-0xv.findChildByName("plus").visible = true;
                }
                else
                {
                    this._-79 = ITextWindow(_-0xv.findChildByName(_-11F));
                    k = _-0xv.findChildByName(_-46P);
                };
                if (page.acceptSeasonCurrencyAsCredits)
                {
                    k.style = _-1sv._-45C(this._-3oJ._-yc(), this._-3oJ.configuration, true, true);
                    k.width = 53;
                }
                else
                {
                    k.style = _-1sv._-45C(-1, this._-3oJ.configuration, true);
                    k.width = 22;
                };
            };
            if (this._-hQ > 0)
            {
                this._-4Nb = ITextWindow(_-0xv.findChildByName(_-11F));
                k = _-0xv.findChildByName(_-46P);
                k.style = _-1sv._-45C(this._-2Eu, this._-3oJ.configuration, true);
            };
            IItemListWindow(_-0xv.findChildByName(_-039))._-0O3();
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-4d4

package _-0Ai
{
    import _-mv._-54I;
    import _-2np._-1ZV;
    import _-Ew.IWindowContainer;
    import _-1ae.IButtonWindow;
    import _-1ae.ITextWindow;
    import _-4Aj._-0tL;
    import _-0Ie.WindowMouseEvent;
    import _-1ZZ._-3Wk;
    import _-59Q._-0b6;
    import _-0mD.HabboCatalog;
    import _-mv._-2rt;
    import _-30J._-2KB;
    import _-mv._-486;
    import _-1lc._-2eJ;
    import _-2vq._-3ul;
    import _-30J._-06;
    import _-3X8._-0hg;

    public class _-4d4 extends ProductViewCatalogWidget 
    {

        private var _-42G:_-54I;
        private var _-51u:_-1ZV;
        private var _-2Dd:IWindowContainer;
        private var _-25:IButtonWindow;
        private var _-4Hu:ITextWindow;
        private var _-3N7:int = -1;
        private var _-40n:String = "";
        private var _-1XK:String = "";
        private var _-3Ao:_-0tL = null;

        public function _-4d4(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1, _arg2);
            this._-25 = (_-0xv.findChildByName("listen") as IButtonWindow);
            this._-4Hu = (_-0xv.findChildByName("ctlg_song_length") as ITextWindow);
            if (this._-25 != null)
            {
                this._-25.addEventListener(WindowMouseEvent._-90, this._-4XA);
                this._-25.disable();
            };
            this._-2Dd = (_-0xv.findChildByName("playPreviewContainer") as IWindowContainer);
            if (this._-2Dd != null)
            {
                this._-2Dd.visible = false;
            };
            this._-42G = _arg2._-0Y;
            if (this._-42G != null)
            {
                this._-42G.events.addEventListener(_-3Wk._-3hw, this._-27W);
            };
            this._-51u = _arg2.connection;
            if (((this._-51u) && (!(this._-3Ao))))
            {
                this._-3Ao = new _-0b6(this._-1VD);
                this._-51u.addMessageEvent(this._-3Ao);
            };
        }
        override public function dispose():void
        {
            if (this._-25 != null)
            {
                this._-25.removeEventListener(WindowMouseEvent._-90, this._-4XA);
            };
            if (((!((this._-42G == null))) && (!((this._-42G._-2qH == null)))))
            {
                this._-42G._-2qH.stop(_-2rt._-kc);
                if (this._-42G.events != null)
                {
                    this._-42G.events.removeEventListener(_-3Wk._-3hw, this._-27W);
                };
                this._-42G = null;
                if (((this._-51u) && (this._-3Ao)))
                {
                    this._-51u.removeMessageEvent(this._-3Ao);
                    this._-3Ao = null;
                };
                this._-51u = null;
            };
            super.dispose();
        }
        override public function closed():void
        {
            super.closed();
            if (((!((this._-42G == null))) && (!((this._-42G._-2qH == null)))))
            {
                this._-42G._-2qH.stop(_-2rt._-kc);
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            if (page.offers.length == 0)
            {
                return (false);
            };
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            return (true);
        }
        private function _-4XA(_arg1:WindowMouseEvent):void
        {
            if (((!((this._-42G == null))) && (!((this._-42G._-2qH == null)))))
            {
                this._-Po(_-2rt._-4w3);
                this._-Po(_-2rt._-kc);
                this._-42G._-2qH._-3T9(this._-3N7, _-2rt._-kc, 15, 40, 0.5, 2);
            };
        }
        private function _-Po(_arg1:int):void
        {
            var k:_-486;
            var k:int = this._-42G._-2qH._-2cx(_arg1);
            if (k != -1)
            {
                k = this._-42G._-2qH._-rR(k);
                if (k._-340 != null)
                {
                    k._-340._-1V = 0;
                };
            };
        }
        private function _-2vU(_arg1:_-06):void
        {
            if ((((_arg1 == null)) || ((_arg1.offer == null))))
            {
                return;
            };
            var k:_-2eJ = _arg1.offer.productContainer._-1YN;
            if (k._-1gg.length > 0)
            {
                this._-3N7 = parseInt(k._-1gg);
                if (this._-3N7 == 0)
                {
                    this._-40n = k._-1gg;
                    if (this._-51u)
                    {
                        this._-51u.send(new _-3ul(this._-40n));
                    };
                };
                if (this._-2Dd != null)
                {
                    this._-2Dd.visible = true;
                };
            }
            else
            {
                this._-3N7 = -1;
            };
            this._-2D2();
        }
        private function _-2D2():void
        {
            var k:int;
            var k:int;
            var k:String;
            var k:String;
            var k:_-0hg;
            var k:String;
            var k:Boolean;
            var k:int = this._-2Do();
            if (k >= 0)
            {
                k = (k / 60);
                k = (k % 60);
                k = ("" + k);
                k = ("" + k);
                if (k < 10)
                {
                    k = ("0" + k);
                };
                k = (page.viewer.catalog as HabboCatalog).localization;
                k.registerParameter("catalog.song.length", "min", k);
                k = k.registerParameter("catalog.song.length", "sec", k);
                k = true;
                if (this._-4Hu != null)
                {
                    this._-4Hu.text = k;
                };
            }
            else
            {
                if (this._-4Hu != null)
                {
                    this._-4Hu.text = "";
                };
            };
            if (this._-25 != null)
            {
                if (k)
                {
                    this._-25.enable();
                }
                else
                {
                    this._-25.disable();
                };
            };
        }
        private function _-2Do():int
        {
            var k:_-486;
            if (((!((this._-42G == null))) && (!((this._-42G._-2qH == null)))))
            {
                k = this._-42G._-2qH._-rR(this._-3N7);
                if (k != null)
                {
                    return ((k.length / 1000));
                };
                this._-42G._-2qH._-3nW(this._-3N7);
            };
            return (-1);
        }
        private function _-27W(_arg1:_-3Wk):void
        {
            if (_arg1.id == this._-3N7)
            {
                this._-2D2();
            };
        }
        private function _-1VD(_arg1:_-0b6):void
        {
            if (_arg1._-3-5()._-56o == this._-40n)
            {
                this._-3N7 = _arg1._-3-5()._-FX;
                this._-2D2();
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-4E3

package _-0Ai
{
    import _-1lc._-55O;
    import _-Ew.IWindowContainer;
    import _-19z._-4Bz;
    import _-1ae.ITextWindow;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-19z._-JJ;
    import _-293._-2Gt;
    import flash.geom.Point;
    import _-3mW._-1sV;
    import _-293._-5-S;
    import _-293._-0xz;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-3mW._-2Ws;
    import _-3Bn._-1Ii;
    import _-295._-243;
    import _-295.BitmapDataAsset;
    import _-19z.*;

    public class _-4E3 extends _-4n4 implements _-3eG, _-4o7 
    {

        private var const:_-55O;

        public function _-4E3(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        private function get recycler():_-4Bz
        {
            return (page.viewer.catalog.getRecycler());
        }
        override public function dispose():void
        {
            if (this.const != null)
            {
                this.const.dispose();
                this.const = null;
            };
            if (this.recycler != null)
            {
                this.recycler.cancel();
            };
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            if (this.recycler == null)
            {
                return (false);
            };
            this.recycler.init(this);
            return (true);
        }
        public function _-39T():void
        {
            var k:XML = this._-2LJ("recyclerWidgetInactive");
            if (k == null)
            {
                return;
            };
            window.buildFromXML(k);
            this._-1OQ();
            var k:ITextWindow = ((window.parent as IWindowContainer).findChildByName("ctlg_header_text") as ITextWindow);
            if (k != null)
            {
                k.text = page.viewer.catalog.localization.getKey("recycler.info.closed");
            };
        }
        public function _-3BH(_arg1:int):void
        {
            var k:String = String(int((_arg1 / 60)));
            var k:String = String((_arg1 % 60));
            page.viewer.catalog.localization.registerParameter("recycler.alert.timeout", "minutes", k);
            page.viewer.catalog.localization.registerParameter("recycler.alert.timeout", "seconds", k);
            var k:XML = this._-2LJ("recyclerWidgetTimeout");
            if (k == null)
            {
                return;
            };
            window.removeChildAt(0);
            window.addChild(page.viewer.catalog.windowManager.buildFromXML(k));
            var k:ITextWindow = ((window.parent as IWindowContainer).findChildByName("ctlg_header_text") as ITextWindow);
            if (k != null)
            {
                k.text = page.viewer.catalog.localization.getKey("recycler.alert.timeout");
            };
        }
        public function _-2kO():void
        {
            var k:XML = this._-2LJ("recyclerWidgetInactive");
            if (k == null)
            {
                return;
            };
            window.removeChildAt(0);
            window.addChild(page.viewer.catalog.windowManager.buildFromXML(k));
            this._-1OQ();
            var k:ITextWindow = ((window.parent as IWindowContainer).findChildByName("ctlg_header_text") as ITextWindow);
            if (k != null)
            {
                k.text = "";
            };
        }
        public function _-546():void
        {
            var k:XML = this._-2LJ("recyclerWidgetInactive");
            if (k == null)
            {
                return;
            };
            window.removeChildAt(0);
            window.addChild(page.viewer.catalog.windowManager.buildFromXML(k));
            this._-1OQ();
            var k:ITextWindow = ((window.parent as IWindowContainer).findChildByName("ctlg_header_text") as ITextWindow);
            if (k != null)
            {
                k.text = page.viewer.catalog.localization.getKey("recycler.info.finished");
            };
            var k:IButtonWindow = IButtonWindow(window.findChildByName("recycle_again_button"));
            k.visible = true;
            k.addEventListener(WindowMouseEvent._-90, this._-Qp);
        }
        public function _-3rH():void
        {
            var k:XML = this._-2LJ("recyclerWidget");
            if (k == null)
            {
                return;
            };
            window.removeChildAt(0);
            window.addChild(page.viewer.catalog.windowManager.buildFromXML(k));
            this._-1OQ();
            window.procedure = this._-50V;
            window.parent.procedure = this._-50V;
            var k:ITextWindow = ((window.parent as IWindowContainer).findChildByName("ctlg_header_text") as ITextWindow);
            if (k != null)
            {
                k.text = page.viewer.catalog.localization.getKey("recycler.info.ready");
            };
        }
        private function _-1OQ():void
        {
            var k:int;
            var k:IBitmapWrapperWindow;
            var k:BitmapData = this._-2Dr("ctlg_recycler_slot_bg");
            if (k == null)
            {
                return;
            };
            k = 1;
            while (k <= this.recycler._-1p7)
            {
                k = (window.findChildByName(("slot_bg_" + k)) as IBitmapWrapperWindow);
                if (k != null)
                {
                    k.bitmap = k.clone();
                    k.procedure = this._-9A;
                };
                k++;
            };
            k = 1;
            while (k <= this.recycler._-1p7)
            {
                k = (window.findChildByName(("slot_img_" + k)) as IBitmapWrapperWindow);
                if (k != null)
                {
                    k.bitmap = k.clone();
                    k.procedure = this._-9A;
                };
                k++;
            };
        }
        public function _-1dc():void
        {
            var k:IBitmapWrapperWindow;
            var k:_-JJ;
            var _local4:_-2Gt;
            var k:BitmapData;
            var k:Point;
            if ((((window == null)) || ((this.recycler == null))))
            {
                return;
            };
            var k:int;
            while (k < this.recycler._-1p7)
            {
                k = (window.findChildByName(("slot_img_" + (k + 1))) as IBitmapWrapperWindow);
                if (k == null)
                {
                    return;
                };
                k = this.recycler._-4O7(k);
                if (k == null)
                {
                    k.bitmap = new BitmapData(1, 1, true, 0xFFFFFF);
                }
                else
                {
                    _local4 = this._-1Di(k);
                    if (((!((_local4 == null))) && (!((_local4.data == null)))))
                    {
                        k = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                        k.fillRect(k.rect, 0xFFFFFF);
                        k = new Point(((k.width - _local4.data.width) / 2), ((k.height - _local4.data.height) / 2));
                        k.copyPixels(_local4.data, _local4.data.rect, k, null, null, true);
                        k.bitmap = k;
                        _local4.data.dispose();
                    };
                };
                k++;
            };
        }
        private function _-1Di(_arg1:_-JJ):_-2Gt
        {
            var k:_-2Gt;
            if ((((_arg1 == null)) || ((page.viewer.roomEngine == null))))
            {
                return (null);
            };
            if (_arg1.category == _-1sV._-0u-)
            {
                return (page.viewer.roomEngine.getFurnitureIcon(_arg1.typeId, null));
            };
            if (_arg1.category == _-1sV._-20L)
            {
                return (page.viewer.roomEngine.getWallItemIcon(_arg1.typeId, null, _arg1.xxxExtra));
            };
            return (null);
        }
        private function _-50V(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-5-S = page.viewer.roomEngine;
            if (k == null)
            {
                return;
            };
            var k:_-0xz = k._-rV(k.activeRoomId, k.activeRoomCategory);
            switch (_arg1.type)
            {
                case WindowMouseEvent._-4e2:
                    if (this.const != null)
                    {
                        this.const._-1Bt();
                    };
                    return;
                case WindowMouseEvent._-2dT:
                    if (this.const != null)
                    {
                        this.const._-50V(_arg1, _arg2, k);
                    };
                    return;
                case WindowMouseEvent._-4ea:
                    if (this.const == null)
                    {
                        this.const = new _-55O();
                        this.const.mainContainer = window;
                        this.const.roomEngine = k;
                    };
                    return;
            };
        }
        private function _-9A(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var slotId:int;
            var event:WindowEvent = _arg1;
            var target:IWindow = _arg2;
            var roomEngine:_-5-S = page.viewer.roomEngine;
            if ((((roomEngine == null)) || ((this.recycler == null))))
            {
                return;
            };
            var objectData:_-0xz = roomEngine._-rV(roomEngine.activeRoomId, roomEngine.activeRoomCategory);
            if (event.type == WindowMouseEvent._-02B)
            {
                if (event.window.name.indexOf("slot_") == 0)
                {
                    slotId = (int(event.window.name.charAt((event.window.name.length - 1))) - 1);
                    if (objectData != null)
                    {
                        if (objectData._-34v != _-2Ws.OBJECT_PLACE)
                        {
                            page.viewer.catalog.windowManager.alert("${generic.alert.title}", "${catalog.alert.recycler.inventory}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                            {
                                _arg1.dispose();
                            });
                            return;
                        };
                        this.recycler._-3FR(slotId, objectData.id, objectData.category, objectData.typeId, objectData._-vc);
                    }
                    else
                    {
                        this.recycler._-00D(slotId);
                    };
                    roomEngine._-5Am();
                    if (this.const != null)
                    {
                        this.const._-1Bt();
                    };
                    return;
                };
            };
            if (event.type == WindowMouseEvent._-2dT)
            {
                this._-50V(event, target);
            };
        }
        public function _-1hq(_arg1:Boolean):void
        {
            if (((disposed) || ((window == null))))
            {
                return;
            };
            var k:IWindow = window.findChildByName("recycler_recycle");
            if (k != null)
            {
                if (_arg1)
                {
                    k.enable();
                    k.addEventListener(WindowMouseEvent._-90, this._-1kj);
                }
                else
                {
                    k.disable();
                };
            };
        }
        private function _-1kj(_arg1:WindowMouseEvent):void
        {
            if (this.recycler != null)
            {
                this.recycler._-2gw();
            };
        }
        private function _-Qp(_arg1:WindowMouseEvent):void
        {
            if (this.recycler != null)
            {
                this.recycler.empty();
                this.recycler.init(this);
            };
        }
        private function _-2LJ(_arg1:String):XML
        {
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName(_arg1) as _-243);
            if (k == null)
            {
                return (null);
            };
            return ((k.content as XML));
        }
        private function _-2Dr(_arg1:String):BitmapData
        {
            var k:BitmapDataAsset = (page.viewer.catalog.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k == null)
            {
                return (null);
            };
            return ((k.content as BitmapData));
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-4n4

package _-0Ai
{
    import _-Ew.IWindowContainer;
    import flash.events.IEventDispatcher;
    import _-1lc._-YK;

    public class _-4n4 
    {

        protected var _-0xv:IWindowContainer;
        protected var _-2Te:IEventDispatcher;
        private var _-0Wq:_-YK;
        private var _-4Bk:Boolean;

        public function _-4n4(_arg1:IWindowContainer)
        {
            this._-0xv = _arg1;
        }
        public function set page(_arg1:_-YK):void
        {
            this._-0Wq = _arg1;
        }
        public function set events(_arg1:IEventDispatcher):void
        {
            this._-2Te = _arg1;
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get events():IEventDispatcher
        {
            return (this._-2Te);
        }
        public function get page():_-YK
        {
            return (this._-0Wq);
        }
        public function dispose():void
        {
            this._-2Te = null;
            this._-0Wq = null;
            this._-0xv = null;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function init():Boolean
        {
            return (true);
        }
        public function closed():void
        {
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-4pZ

package _-0Ai
{
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindowContainer;
    import _-2gz.HabboTracking;
    import _-0Pi._-2Kf;

    public class _-4pZ extends _-4n4 implements _-3eG 
    {

        private var _button:IButtonWindow;

        public function _-4pZ(_arg1:IWindowContainer)
        {
            super(_arg1);
            if (this._button)
            {
                this._button.removeEventListener(WindowMouseEvent._-90, this._-435);
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._button = (window.findChildByName("start_guild_purchase") as IButtonWindow);
            this._button.addEventListener(WindowMouseEvent._-90, this._-435);
            return (true);
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            if (HabboTracking._-0ON() != null)
            {
                HabboTracking._-0ON().trackGoogle("groupPurchase", "catalogBuyClicked");
            };
            page.viewer.catalog.connection.send(new _-2Kf());
            page.viewer.catalog.toggleCatalog();
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-52Z

package _-0Ai
{
    import _-mv._-54I;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindowContainer;
    import _-mv._-2rt;
    import _-30J._-2KB;
    import _-1lc._-2eJ;
    import _-30J._-06;
    import _-mv._-486;

    public class _-52Z extends _-4n4 implements _-3eG 
    {

        private var _-42G:_-54I;
        private var _-25:IButtonWindow;
        private var _-3N7:int = -1;

        public function _-52Z(_arg1:IWindowContainer, _arg2:_-54I)
        {
            super(_arg1);
            this._-25 = (_-0xv.findChildByName("listen") as IButtonWindow);
            _-Nb.log(("Trax listener found button: " + this._-25));
            if (this._-25 != null)
            {
                this._-25.addEventListener(WindowMouseEvent._-90, this._-4XA);
                this._-25.disable();
            };
            this._-42G = _arg2;
        }
        override public function dispose():void
        {
            if (this._-25 != null)
            {
                this._-25.removeEventListener(WindowMouseEvent._-90, this._-4XA);
            };
            if (((!((this._-42G == null))) && (!((this._-42G._-2qH == null)))))
            {
                this._-42G._-2qH.stop(_-2rt._-kc);
                this._-42G = null;
            };
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            if (page.offers.length == 0)
            {
                return (false);
            };
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            return (true);
        }
        override public function closed():void
        {
            super.closed();
            if (((!((this._-42G == null))) && (!((this._-42G._-2qH == null)))))
            {
                this._-42G._-2qH.stop(_-2rt._-kc);
            };
        }
        private function _-2vU(_arg1:_-06):void
        {
            if ((((_arg1 == null)) || ((_arg1.offer == null))))
            {
                return;
            };
            var k:Boolean;
            var k:_-2eJ = _arg1.offer.productContainer._-1YN;
            if (k._-1gg.length > 0)
            {
                this._-3N7 = parseInt(k._-1gg);
                k = true;
            };
            if (this._-25 != null)
            {
                if (k)
                {
                    this._-25.enable();
                }
                else
                {
                    this._-25.disable();
                };
            };
        }
        private function _-4XA(_arg1:WindowMouseEvent):void
        {
            if (((!((this._-42G == null))) && (!((this._-42G._-2qH == null)))))
            {
                this._-Po(_-2rt._-4w3);
                this._-Po(_-2rt._-kc);
                this._-42G._-2qH._-3T9(this._-3N7, _-2rt._-kc, 15, 40, 0, 2);
            };
        }
        private function _-Po(_arg1:int):void
        {
            var k:_-486;
            var k:int = this._-42G._-2qH._-2cx(_arg1);
            if (k != -1)
            {
                k = this._-42G._-2qH._-rR(k);
                if (k._-340 != null)
                {
                    k._-340._-1V = 0;
                };
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-I

package _-0Ai
{
    import _-4P2._-2qn;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindowContainer;
    import _-2Mh._-uV;
    import _-4P2._-3AP;
    import _-3X8._-0hg;
    import _-2JX._-4gV;
    import _-1Jd._-1ij;
    import _-1ae.ITextWindow;
    import flash.text.TextFormat;
    import flash.text.TextFormatAlign;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-4P2._-I3;
    import _-18r.ErrorReportStorage;
    import _-1lc._-2lh;
    import _-1ae.IItemListWindow;

    public class _-I extends _-4n4 implements _-3eG, _-nS 
    {

        private var _-513:_-2qn;
        private var _-4GM:Array;
        private var _-3oJ:HabboCatalog;
        private var _-Oa:Boolean;

        public function _-I(_arg1:IWindowContainer, _arg2:HabboCatalog, _arg3:Boolean=false)
        {
            super(_arg1);
            this._-3oJ = _arg2;
            this._-Oa = _arg3;
        }
        public function get isGift():Boolean
        {
            return (this._-Oa);
        }
        override public function dispose():void
        {
            if (this._-513 != null)
            {
                this._-513._-3-l(this);
                this._-513 = null;
            };
            this.reset();
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-4GM = [];
            this._-513 = this._-3oJ._-230();
            this._-513._-1qp(this);
            this._-513._-3qm(((this._-Oa) ? _-uV._-3qJ : _-uV._-0q8));
            return (true);
        }
        public function reset():void
        {
            var k:_-3AP;
            for each (k in this._-4GM)
            {
                k.dispose();
            };
            this._-4GM = [];
        }
        public function _-2H8(_arg1:int):void
        {
            var k:int;
            var k:int;
            var k:int;
            if (disposed)
            {
                return;
            };
            var k:_-0hg = this._-3oJ.localization;
            var k:_-4gV = this._-3oJ.getPurse();
            if (((!((k == null))) && (!((k == null)))))
            {
                k = k.clubDays;
                k = k.clubPeriods;
                k = ((k * 31) + k);
                k.registerParameter("catalog.vip.extend.info", "days", String(k));
            };
            if (((((!((_-0xv == null))) && ((_arg1 == _-1ij._-1pk)))) && (!(this._-Oa))))
            {
                _-0xv.findChildByName("vip_title").caption = "${catalog.vip.extend.title}";
                _-0xv.findChildByName("vip_info").caption = "${catalog.vip.extend.info}";
            };
            if (_-0xv != null)
            {
                this._-11A((_-0xv.findChildByName("vip_title") as ITextWindow));
                this._-11A((_-0xv.findChildByName("vip_info") as ITextWindow), 3);
            };
            this._-14i();
        }
        private function _-11A(_arg1:ITextWindow, _arg2:Number=0):void
        {
            var k:TextFormat = _arg1.getTextFormat();
            k.align = TextFormatAlign.CENTER;
            k.leading = _arg2;
            _arg1.setTextFormat(k);
        }
        private function _-14i():void
        {
            var k:IWindow;
            if (_-0xv)
            {
                k = _-0xv.findChildByName("vip_link");
                if (k)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-2DE);
                    k.mouseThreshold = 0;
                };
            };
        }
        public function _-2DE(_arg1:WindowMouseEvent):void
        {
            this._-3oJ.utils.showVipBenefits();
        }
        public function _-0oq(_arg1:_-I3):void
        {
            var item:_-3AP;
            var offer:_-I3 = _arg1;
            if (((disposed) || (!(offer.vip))))
            {
                return;
            };
            _-Nb.log(("Offer: " + [offer.offerId, offer._-1A8, offer.priceCredits, offer.vip, offer.months, offer._-5-q, offer.year, offer.month, offer.day, offer._-535]));
            offer.page = page;
            try
            {
                item = new _-3AP(offer, this._-3oJ, ((this._-Oa) ? "HabboCatalogGift" : "HabboCatalogBuy"), this._-Oa);
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("ClubBuyCatalogWidget", (((("showOffer - new ClubBuyItem(" + String(offer)) + ", ") + String((page as _-2lh))) + ") crashed!"));
                return;
            };
            var target:IItemListWindow = (_-0xv.findChildByName("item_list_vip") as IItemListWindow);
            if (target != null)
            {
                target.addListItem(item.window);
            };
            this._-4GM.push(item);
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai._-nS

package _-0Ai
{
    import _-4P2._-I3;

    public interface _-nS 
    {

        function dispose():void;
        function init():Boolean;
        function reset():void;
        function _-2H8(_arg1:int):void;
        function _-0oq(_arg1:_-I3):void;
        function get isGift():Boolean;

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.ClubBuyCatalogWidget

package _-0Ai
{
    import _-4P2._-2qn;
    import _-Ew.IWindowContainer;
    import _-0mD.HabboCatalog;
    import _-2Mh._-uV;
    import _-4P2._-VQ;
    import _-3X8._-0hg;
    import _-2JX._-4gV;
    import _-1lc._-um;
    import _-1Jd._-1ij;
    import _-18r.ErrorReportStorage;
    import _-Ew.IWindow;
    import _-09j.WindowParam;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-4P2._-I3;
    import _-1lc._-2lh;
    import _-4Wu._-4uR;
    import _-2ly._-11j;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-295._-243;

    public class ClubBuyCatalogWidget extends _-4n4 implements _-3eG, _-nS 
    {

        private var _-513:_-2qn;
        private var _-4GM:Array;

        public function ClubBuyCatalogWidget(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            if (this._-513 != null)
            {
                this._-513._-3-l(this);
            };
            this._-513 = null;
            this.reset();
            super.dispose();
        }
        public function get isGift():Boolean
        {
            return (false);
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-4GM = [];
            this._-gB();
            this._-513 = (page.viewer.catalog as HabboCatalog)._-230();
            this._-513._-1qp(this);
            this._-513._-3qm(_-uV._-0MX);
            return (true);
        }
        private function _-gB():void
        {
            var k:XML = this._-2LJ("clubBuyWidget");
            if (((!(k)) || (!(window))))
            {
                return;
            };
            window.removeChildAt(0);
            if (((((((!(page)) || (!(page.viewer)))) || (!(page.viewer.catalog)))) || (!(page.viewer.catalog.windowManager))))
            {
                return;
            };
            window.addChild(page.viewer.catalog.windowManager.buildFromXML(k));
        }
        public function reset():void
        {
            var k:_-VQ;
            for each (k in this._-4GM)
            {
                k.dispose();
            };
            this._-4GM = [];
        }
        public function _-2H8(_arg1:int):void
        {
            var catalog:HabboCatalog;
            var localization:_-0hg;
            var purse:_-4gV;
            var clubDays:int;
            var clubPeriods:int;
            var clubDaysTotal:int;
            var clubType:int = _arg1;
            if (disposed)
            {
                return;
            };
            var viewer:_-um = page.viewer;
            if (viewer)
            {
                catalog = (viewer.catalog as HabboCatalog);
                if (catalog)
                {
                    localization = catalog.localization;
                    purse = catalog.getPurse();
                    if (((purse) && (localization)))
                    {
                        clubDays = purse.clubDays;
                        clubPeriods = purse.clubPeriods;
                        clubDaysTotal = ((clubPeriods * 31) + clubDays);
                        localization.registerParameter("catalog.club.buy.remaining.hc", "days", String(clubDaysTotal));
                        localization.registerParameter("catalog.club.buy.remaining.vip", "days", String(clubDaysTotal));
                    };
                };
            };
            try
            {
                if (_-0xv)
                {
                    switch (clubType)
                    {
                        case _-1ij._-42U:
                            _-0xv.findChildByName("club_header").caption = "${catalog.club.buy.header.none}";
                            _-0xv.findChildByName("club_info").caption = "${catalog.club.buy.info.none}";
                            _-0xv.findChildByName("club_remaining").visible = false;
                            _-0xv.findChildByName("club_remaining_bg").visible = false;
                            break;
                        case _-1ij._-12G:
                            _-0xv.findChildByName("club_header").caption = "${catalog.club.buy.header.hc}";
                            _-0xv.findChildByName("club_info").caption = "${catalog.club.buy.info.hc}";
                            _-0xv.findChildByName("club_remaining").caption = "${catalog.club.buy.remaining.hc}";
                            break;
                        case _-1ij._-1pk:
                            _-0xv.findChildByName("club_header").caption = "${catalog.club.buy.header.vip}";
                            _-0xv.findChildByName("club_info").caption = "${catalog.club.buy.info.vip}";
                            _-0xv.findChildByName("club_remaining").caption = "${catalog.club.buy.remaining.vip}";
                            this._-2wU();
                            break;
                    };
                };
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("ClubBuyCatalogWidget", "initClubType - Window not properly constructed!");
            };
            this._-14i();
        }
        private function _-14i():void
        {
            var k:IWindow;
            if (_-0xv)
            {
                k = _-0xv.findChildByName("club_link");
                if (k)
                {
                    k.setParamFlag(WindowParam._-55Y);
                    k.mouseThreshold = 0;
                    k.addEventListener(WindowMouseEvent._-90, this._-0-1);
                };
            };
        }
        public function _-0oq(_arg1:_-I3):void
        {
            var target:IItemListWindow;
            var item:_-VQ;
            var offer:_-I3 = _arg1;
            if (disposed)
            {
                return;
            };
            _-Nb.log(("Offer: " + [offer.offerId, offer._-1A8, offer.priceCredits, offer.vip, offer.months, offer._-5-q, offer.year, offer.month, offer.day, offer._-535]));
            offer.page = page;
            try
            {
                item = new _-VQ(offer, (page as _-2lh));
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("ClubBuyCatalogWidget", (((("showOffer - new ClubBuyItem(" + String(offer)) + ", ") + String((page as _-2lh))) + ") crashed!"));
                return;
            };
            if (offer.vip)
            {
                target = (_-0xv.findChildByName("item_list_vip") as IItemListWindow);
            }
            else
            {
                target = (_-0xv.findChildByName("item_list_hc") as IItemListWindow);
            };
            if (target != null)
            {
                target.addListItem(item.window);
            };
            this._-4GM.push(item);
        }
        private function _-0-1(_arg1:WindowMouseEvent):void
        {
            var k:_-4uR;
            var _local4:String;
            var k:String = IWindow(_arg1.target).name;
            k = (page.viewer.catalog as HabboCatalog).configuration;
            switch (k)
            {
                case "club_link":
                    _local4 = k.getKey("link.format.club", "credits/habboclub");
                    this.openExternalLink(_local4);
                    return;
            };
        }
        private function openExternalLink(_arg1:String):void
        {
            var k:_-4uR = (page.viewer.catalog as HabboCatalog).configuration;
            if (_arg1 != "")
            {
                page.viewer.catalog.windowManager.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-3yB);
                _-11j.navigateToURL(_arg1, "habboMain");
            };
        }
        private function _-3yB(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-2wU():void
        {
            var k:XML;
            var k:IWindow;
            var k:IItemListWindow = (_-0xv.findChildByName("item_list_hc") as IItemListWindow);
            if (k != null)
            {
                k = this._-2LJ("club_buy_info_item");
                k = page.viewer.catalog.windowManager.buildFromXML(k);
                k.addListItem(k);
            };
        }
        private function _-2LJ(_arg1:String):XML
        {
            if (((((((!(page)) || (!(page.viewer)))) || (!(page.viewer.catalog)))) || (!(page.viewer.catalog.assets))))
            {
                return (null);
            };
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName(_arg1) as _-243);
            if (k == null)
            {
                return (null);
            };
            return ((k.content as XML));
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.ColourGridCatalogWidget

package _-0Ai
{
    import _-1ae.IItemGridWindow;
    import flash.display.BitmapData;
    import _-Ew.IWindowContainer;
    import _-30J._-2KB;
    import _-295._-243;
    import _-295.BitmapDataAsset;
    import _-30J._-2V;
    import _-30J._-2gS;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-0Ie.WindowMouseEvent;
    import flash.geom.Point;
    import flash.geom.ColorTransform;
    import flash.geom.Rectangle;
    import _-30J._-06g;

    public class ColourGridCatalogWidget extends _-4n4 implements _-3eG 
    {

        private var _-0Ow:Array;
        private var _-r1:IItemGridWindow;
        private var _-4fS:XML;
        private var _-35s:BitmapData;
        private var _-4BG:BitmapData;
        private var _-3dK:BitmapData;
        private var _-4RB:IWindowContainer;

        public function ColourGridCatalogWidget(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            if (!this._-r1.disposed)
            {
                this._-r1.destroyGridItems();
                this._-r1.dispose();
            };
            this._-r1 = null;
            this._-4fS = null;
            this._-4RB = null;
            events.removeEventListener(_-2KB.CWE_COLOUR_ARRAY, this._-4Dn);
            events.removeEventListener(_-2KB.CWE_MULTI_COLOUR_ARRAY, this._-yJ);
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-r1 = (_-0xv.findChildByName("colourGrid") as IItemGridWindow);
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName("color_chooser_cell") as _-243);
            this._-4fS = (k.content as XML);
            events.addEventListener(_-2KB.CWE_COLOUR_ARRAY, this._-4Dn);
            events.addEventListener(_-2KB.CWE_MULTI_COLOUR_ARRAY, this._-yJ);
            return (true);
        }
        private function _-4Dn(_arg1:_-2V):void
        {
            var k:int;
            var k:BitmapDataAsset;
            var k:BitmapDataAsset;
            var k:BitmapDataAsset;
            this._-0Ow = [];
            for each (k in _arg1._-2Wk)
            {
                this._-0Ow.push([k]);
            };
            k = (page.viewer.catalog.assets.getAssetByName(_arg1._-Ly) as BitmapDataAsset);
            this._-35s = (k.content as BitmapData);
            k = (page.viewer.catalog.assets.getAssetByName(_arg1._-ZB) as BitmapDataAsset);
            this._-4BG = (k.content as BitmapData);
            k = (page.viewer.catalog.assets.getAssetByName(_arg1._-Xo) as BitmapDataAsset);
            this._-3dK = (k.content as BitmapData);
            this._-2j6();
            this.select((this._-r1._-jx(_arg1.index) as IWindowContainer));
        }
        private function _-yJ(_arg1:_-2gS):void
        {
            var k:Array;
            var k:BitmapDataAsset;
            var k:BitmapDataAsset;
            var k:BitmapDataAsset;
            this._-0Ow = [];
            for each (k in _arg1._-2Wk)
            {
                this._-0Ow.push(k.slice());
            };
            k = (page.viewer.catalog.assets.getAssetByName(_arg1._-Ly) as BitmapDataAsset);
            this._-35s = (k.content as BitmapData);
            k = (page.viewer.catalog.assets.getAssetByName(_arg1._-ZB) as BitmapDataAsset);
            this._-4BG = (k.content as BitmapData);
            k = (page.viewer.catalog.assets.getAssetByName(_arg1._-Xo) as BitmapDataAsset);
            this._-3dK = (k.content as BitmapData);
            this._-2j6();
            this.select((this._-r1._-jx(0) as IWindowContainer));
        }
        private function select(_arg1:IWindowContainer):void
        {
            var k:IWindow;
            _-Nb.log(("[ColourGridCatalogWidget] Select: " + _arg1));
            if (this._-4RB != null)
            {
                k = this._-4RB.getChildByName("chosen");
                if (k != null)
                {
                    k.visible = false;
                };
            };
            this._-4RB = _arg1;
            if (this._-4RB != null)
            {
                k = this._-4RB.getChildByName("chosen");
            };
            if (k != null)
            {
                k.visible = true;
            };
        }
        private function _-2j6():void
        {
            var k:Array;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:IBitmapWrapperWindow;
            var k:IBitmapWrapperWindow;
            var k:uint;
            var k:uint;
            var k:uint;
            var k:BitmapData;
            var k:BitmapData;
            var k:int;
            var k:int;
            var k:int;
            _-Nb.log(("[ColourGridCatalogWidget] Display colors: " + [this._-0Ow.length, this._-r1.numGridItems]));
            this._-r1.destroyGridItems();
            this._-4RB = null;
            for each (k in this._-0Ow)
            {
                if (k.length > 0)
                {
                    k = (page.viewer.catalog.windowManager.buildFromXML(this._-4fS) as IWindowContainer);
                    k.addEventListener(WindowMouseEvent._-90, this.onClick);
                    k.background = true;
                    k.color = 0xFFFFFFFF;
                    k.width = this._-35s.width;
                    k.height = this._-35s.height;
                    this._-r1._-2-F(k);
                    k = (k.findChildByTag("BG_BORDER") as IBitmapWrapperWindow);
                    if (k != null)
                    {
                        k.bitmap = new BitmapData(this._-35s.width, this._-35s.height, true, 0);
                        k.bitmap.copyPixels(this._-35s, this._-35s.rect, new Point(0, 0));
                    };
                    k = (k.findChildByTag("COLOR_IMAGE") as IBitmapWrapperWindow);
                    if (k != null)
                    {
                        k.bitmap = new BitmapData(this._-4BG.width, this._-4BG.height, true, 0);
                        k = 0xFF;
                        k = 0xFF;
                        k = 0xFF;
                        k = null;
                        k = null;
                        k = k[0];
                        if (k >= 0)
                        {
                            k = ((k >> 16) & 0xFF);
                            k = ((k >> 8) & 0xFF);
                            k = ((k >> 0) & 0xFF);
                        };
                        k = this._-4BG.clone();
                        k.colorTransform(k.rect, new ColorTransform((k / 0xFF), (k / 0xFF), (k / 0xFF)));
                        if (k.length > 1)
                        {
                            k = k[1];
                            if (k >= 0)
                            {
                                k = ((k >> 16) & 0xFF);
                                k = ((k >> 8) & 0xFF);
                                k = ((k >> 0) & 0xFF);
                            };
                            k = this._-4BG.clone();
                            k.colorTransform(k.rect, new ColorTransform((k / 0xFF), (k / 0xFF), (k / 0xFF)));
                        };
                        k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
                        k.dispose();
                        if (k != null)
                        {
                            k = (k.width / 2);
                            k.bitmap.copyPixels(k, new Rectangle(k, 0, (k.width - k), k.height), new Point((k.width / 2), 0));
                            k.dispose();
                        };
                    };
                    k = (k.findChildByTag("COLOR_CHOSEN") as IBitmapWrapperWindow);
                    if (k != null)
                    {
                        k.bitmap = new BitmapData(this._-3dK.width, this._-3dK.height, true, 0xFFFFFF);
                        k.bitmap.copyPixels(this._-3dK, this._-3dK.rect, new Point(0, 0), null, null, true);
                        k.visible = false;
                    };
                };
            };
        }
        private function onClick(_arg1:WindowMouseEvent):void
        {
            this.select((_arg1.target as IWindowContainer));
            var k:int = this._-r1.getGridItemIndex((_arg1.target as IWindow));
            events.dispatchEvent(new _-06g(k));
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.GuildSelectorCatalogWidget

package _-0Ai
{
    import _-1ae._-0bA;
    import _-O3._-4e6;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindowContainer;
    import _-30J._-1PO;
    import _-2It._-2CF;
    import _-1lc.Offer;
    import _-0Ie.WindowEvent;
    import _-30J._-3dq;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae._-2aK;

    public class GuildSelectorCatalogWidget extends _-4n4 implements _-3eG 
    {

        private static const _-MG:String = "guild_selector";
        private static const _-VN:String = "guild_selector_widget_item";
        private static const _-0ky:uint = 0;
        private static const _-06i:int = 1;
        private static const _-0Tw:int = 14;
        private static const _-5A5:int = 21;

        private var _-ug:_-0bA;
        private var _-1ft:_-4e6;
        private var _-3rb:Array;
        private var _-4Ka:IWindow;
        private var _-4Rl:IWindow;
        private var _-12l:IWindow;
        private var _-40m:int = -1;

        public function GuildSelectorCatalogWidget(_arg1:IWindowContainer, _arg2:_-4e6)
        {
            super(_arg1);
            this._-1ft = _arg2;
            this._-4Ka = _arg1.findChildByName("purchaseWidget");
            this._-4Rl = _arg1.findChildByName("guild_selector");
            this._-12l = _arg1.findChildByName("members_only");
            var k:IWindow = _arg1.findChildByName("find_groups_button");
            if (k)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2xz);
            };
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                page.dispatchWidgetEvent(new _-1PO(_-1PO._-zn, "", "", ""));
                if (this._-ug)
                {
                    this._-ug.procedure = null;
                    this._-ug = null;
                };
                this._-4Ka = null;
                this._-4Rl = null;
                this._-12l = null;
                if (this._-1ft)
                {
                    this._-1ft._-3cu(this);
                    this._-1ft = null;
                };
                super.dispose();
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-1ft._-1az(this);
            this._-ug = (_-0xv.findChildByName(_-MG) as _-0bA);
            if (this._-ug)
            {
                this._-ug.procedure = this._-4xM;
            }
            else
            {
                _-Nb.log((("ERROR: Missing '" + _-MG) + "' itemlist_dropmenu component from page layout xml"));
            };
            this._-4Ka.visible = false;
            this._-4Rl.visible = false;
            this._-12l.visible = false;
            return (true);
        }
        public function _-0zo(_arg1:Array):void
        {
            var k:_-2CF;
            var k:int = -1;
            this._-3rb = _arg1;
            var k = (_arg1.length > 0);
            IWindowContainer(IWindowContainer(this._-4Ka).getChildAt(0)).getChildAt(0).visible = k;
            this._-4Rl.visible = k;
            this._-12l.visible = !(k);
            var k:int = this._-ug.numMenuItems;
            var k:int;
            while (k < k)
            {
                this._-ug._-0Iu(0);
                k++;
            };
            var k:int;
            while (k < this._-3rb.length)
            {
                k = this._-3rb[k];
                this._-ug._-tA(this._-2Pq(k));
                if (k.favourite)
                {
                };
                k++;
            };
            if (this._-40m == -1)
            {
                if (k != -1)
                {
                    this._-ug.selection = k;
                }
                else
                {
                    if (this._-ug.numMenuItems > 0)
                    {
                        this._-ug.selection = 0;
                    };
                };
            }
            else
            {
                this._-ug.selection = this._-40m;
            };
        }
        public function _-4xi():void
        {
            if (((((page) && (page.offers))) && ((page.offers.length > 0))))
            {
                page.selectOffer(Offer(page.offers[0]).offerId);
            };
        }
        private function _-4xM(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case WindowEvent._-2wB:
                    this._-Sv(this._-ug.selection);
                    this._-40m = this._-ug.selection;
                    return;
            };
        }
        private function _-Sv(_arg1:int):void
        {
            var k:_-2CF;
            if (_arg1 > -1)
            {
                k = this._-3rb[_arg1];
                page.dispatchWidgetEvent(new _-1PO(k.groupId, k._-4zy, k._-0xU, k._-3T));
                events.dispatchEvent(new _-3dq(k.groupId.toString()));
            };
        }
        private function _-4-O(_arg1:uint, _arg2:uint):BitmapData
        {
            var k:BitmapData = new BitmapData(_-5A5, _-0Tw, false, _-0ky);
            var k:int = ((k.width / 2) + 1);
            var k:Rectangle = new Rectangle();
            k.left = _-06i;
            k.top = _-06i;
            k.right = k;
            k.bottom = (k.height - _-06i);
            var k:Rectangle = new Rectangle();
            k.left = k;
            k.top = _-06i;
            k.right = (k.width - _-06i);
            k.bottom = (k.height - _-06i);
            k.fillRect(k, _arg1);
            k.fillRect(k, _arg2);
            return (k);
        }
        private function _-2Pq(_arg1:_-2CF):IWindow
        {
            var k:BitmapData = this._-4-O(parseInt(_arg1._-4zy, 16), parseInt(_arg1._-0xU, 16));
            var k:XML = (page.viewer.catalog.assets.getAssetByName(_-VN).content as XML);
            var k:IWindowContainer = (page.viewer.catalog.windowManager.buildFromXML(k) as IWindowContainer);
            var k:IBitmapWrapperWindow = (k.findChildByName("guild_colors") as IBitmapWrapperWindow);
            var k:_-2aK = (k.findChildByName("guild_name") as _-2aK);
            k.bitmap = k;
            k.caption = _arg1.groupName;
            return (k);
        }
        private function _-2xz(_arg1:WindowMouseEvent):void
        {
            if (((((((page) && (page.viewer))) && (page.viewer.catalog))) && (page.viewer.catalog.navigator)))
            {
                page.viewer.catalog.navigator.performGuildBaseSearch();
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.ItemGridCatalogWidget

package _-0Ai
{
    import _-1ae.IItemGridWindow;
    import _-1lc._-3kE;
    import flash.utils.Timer;
    import _-1ae.IScrollbarWindow;
    import _-1Jd._-51K;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindowContainer;
    import flash.events.TimerEvent;
    import _-295._-243;
    import _-30J._-2KB;
    import _-1lc.ProductContainer;
    import _-1lc.Offer;
    import _-30J._-06;
    import _-2Mh._-3Uw;
    import _-30J._-3dq;
    import _-0mD.HabboCatalog;
    import _-30J._-4N3;
    import _-Ew.IWindow;
    import _-1lc._-ij;
    import _-1lc._-0cm;
    import _-293._-4q2;
    import _-0F-.StringArrayStuffData;
    import _-30J._-1PO;
    import _-1lc.*;

    public class ItemGridCatalogWidget extends _-4n4 implements _-3eG, _-4BV, _-1FF 
    {

        protected var _-8S:IItemGridWindow;
        protected var _-08o:XML;
        protected var _-4RB:_-3kE;
        private var _-fz:int = 0;
        protected var _-2J0:Timer;
        protected var _-2GC:Boolean = true;
        private var _-2n3:int = 0;
        private var _-1U4:IScrollbarWindow;
        protected var _-2Mi:_-51K;
        private var _-dl:int = -1;
        private var _selectedGuildColor1:String;
        private var _selectedGuildColor2:String;
        private var _-3PO:String;

        public function ItemGridCatalogWidget(_arg1:IWindowContainer, _arg2:_-51K)
        {
            super(_arg1);
            this._-1U4 = (_-0xv.findChildByName("itemGridScrollbar") as IScrollbarWindow);
            if (this._-1U4 != null)
            {
                this._-1U4.visible = false;
                this._-1U4.addEventListener(WindowEvent._-0T3, this._-0fb);
                this._-1U4.addEventListener(WindowEvent._-3Z0, this._-0fb);
                this._-1U4.addEventListener(WindowEvent._-2YL, this._-1QT);
                this._-1U4.addEventListener(WindowEvent._-15U, this._-1QT);
            };
            this._-2Mi = _arg2;
        }
        override public function dispose():void
        {
            if (this._-2J0 != null)
            {
                this._-2J0.stop();
                this._-2J0.removeEventListener(TimerEvent.TIMER, this._-0WP);
                this._-2J0 = null;
            };
            if (this._-8S != null)
            {
                this._-8S.destroyGridItems();
                this._-8S = null;
            };
            this._-08o = null;
            this._-4RB = null;
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-8S = (_-0xv.findChildByName("itemGrid") as IItemGridWindow);
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName("gridItem") as _-243);
            this._-08o = (k.content as XML);
            this.populateItemGrid();
            if (this._-2GC)
            {
                this._-2J0 = new Timer(25);
                this._-2J0.addEventListener(TimerEvent.TIMER, this._-0WP);
                this._-2J0.start();
            }
            else
            {
                this._-0WP();
            };
            events.addEventListener(_-2KB.CWE_GUILD_SELECTED, this._-3Oo);
            return (true);
        }
        public function select(_arg1:_-3kE):void
        {
            if (this._-4RB != null)
            {
                this._-4RB.deActivate();
            };
            this._-4RB = _arg1;
            _arg1.activate();
            var k:ProductContainer = (_arg1 as ProductContainer);
            if (!k)
            {
                return;
            };
            var k:Offer = k.offer;
            if (k != null)
            {
                events.dispatchEvent(new _-06(k));
                if (((((k.productContainer) && (k.productContainer._-1YN))) && ((k.productContainer._-1YN._-5DX == _-3Uw._-0xA))))
                {
                    events.dispatchEvent(new _-3dq(k.productContainer._-1YN._-1gg));
                };
            };
        }
        public function startDragAndDrop(_arg1:_-3kE):Boolean
        {
            var k:Offer = (_arg1 as ProductContainer).offer;
            if (k != null)
            {
                if (this._-2Mi.clubLevel >= k.clubLevel)
                {
                    (page.viewer.catalog as HabboCatalog)._-4Ks(this, k);
                };
            };
            return (true);
        }
        public function _-1NL(_arg1:Boolean, _arg2:String):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1)
            {
                events.dispatchEvent(new _-4N3(false, _arg2));
            };
        }
        public function _-4Ov():void
        {
        }
        protected function populateItemGrid():void
        {
            var k:Offer;
            for each (k in page.offers)
            {
                this._-1B9(k);
                k.productContainer.grid = this;
            };
        }
        protected function _-wc():void
        {
            if (this._-2J0 != null)
            {
                this._-2J0.reset();
            };
            this._-2n3 = 0;
        }
        protected function _-0WP(_arg1:TimerEvent=null):void
        {
            var k:int;
            var k:Offer;
            if (disposed)
            {
                return;
            };
            if (_arg1 != null)
            {
            };
            var k:int = page.offers.length;
            if (k > 0)
            {
                k = 0;
                while (k < 3)
                {
                    if ((((this._-2n3 >= 0)) && ((this._-2n3 < k))))
                    {
                        k = page.offers[this._-2n3];
                        this._-2e9(k);
                        k.productContainer.grid = this;
                    };
                    this._-2n3++;
                    if (this._-2n3 >= k)
                    {
                        this._-wc();
                        return;
                    };
                    k++;
                };
            };
        }
        private function _-0fb(_arg1:WindowEvent):void
        {
            (_arg1.target as IWindow).visible = true;
        }
        private function _-1QT(_arg1:WindowEvent):void
        {
            (_arg1.target as IWindow).visible = false;
        }
        protected function _-1B9(_arg1:Offer):void
        {
            var k:IWindowContainer = (page.viewer.catalog.windowManager.buildFromXML(this._-08o) as IWindowContainer);
            this._-8S._-2-F(k);
            _arg1.productContainer.view = k;
            _arg1.productContainer._-2UB(_arg1.clubLevel);
            if ((page.viewer.catalog as HabboCatalog)._-2oL(_arg1))
            {
                (_arg1.productContainer as _-3kE)._-4Es(true);
            };
            if (_arg1._-1k2 == Offer._-2mE)
            {
                this._-fz++;
                (_arg1.productContainer as _-ij)._-oZ(this._-fz);
            };
            if ((((_arg1._-1k2 == Offer._-3NL)) && (_arg1.productContainer._-1YN._-0bb)))
            {
                (_arg1.productContainer as _-0cm)._-3BJ();
            };
        }
        protected function _-2e9(_arg1:Offer):void
        {
            var k:_-4q2;
            var k:Array;
            var k:StringArrayStuffData;
            if (((!((_arg1 == null))) && (!(_arg1.disposed))))
            {
                k = null;
                if (this._-dl != _-1PO._-zn)
                {
                    k = new Array();
                    k.push("0");
                    k.push(this._-dl.toString());
                    k.push(this._-3PO);
                    k.push(this._selectedGuildColor1);
                    k.push(this._selectedGuildColor2);
                    k = new StringArrayStuffData();
                    k._-1Ll(k);
                };
                _arg1.productContainer.initProductIcon(page.viewer.roomEngine, k);
            };
        }
        private function _-3Oo(_arg1:_-1PO):void
        {
            var k:Offer;
            this._-dl = _arg1._-2Jo;
            this._selectedGuildColor1 = _arg1.color1;
            this._selectedGuildColor2 = _arg1.color2;
            this._-3PO = _arg1._-3T;
            this._-8S.destroyGridItems();
            for each (k in page.offers)
            {
                this._-1B9(k);
                this._-2e9(k);
                k.productContainer.grid = this;
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.ItemGroupCatalogWidget

package _-0Ai
{
    import _-Ew.IWindowContainer;
    import _-1Jd._-51K;
    import _-30J._-2KB;
    import _-1lc.Offer;
    import _-1lc._-3kE;
    import _-30J._-Xe;
    import _-4n1._-0hX;
    import _-30J._-2V;
    import _-0mD.HabboCatalog;
    import _-30J._-06;
    import _-30J._-06g;
    import _-1lc._-2Ij;
    import _-1lc._-2eJ;
    import _-2Mh._-3Uw;
    import _-1lc.*;

    public class ItemGroupCatalogWidget extends ItemGridCatalogWidget implements _-3eG, _-4BV, _-1FF 
    {

        private var _-4tt:Array;
        private var _-33I:Array;
        private var _-e1:int = 0;
        private var _-0Im:int = 0;

        public function ItemGroupCatalogWidget(_arg1:IWindowContainer, _arg2:_-51K)
        {
            this._-4tt = new Array();
            this._-33I = new Array();
            super(_arg1, _arg2);
        }
        override public function dispose():void
        {
            super.dispose();
        }
        override public function init():Boolean
        {
            _-Nb.log("Init Item Group Catalog Widget (Plasto)");
            this._-2AD();
            _-2GC = false;
            if (!super.init())
            {
                return (false);
            };
            events.addEventListener(_-2KB.CWE_WIDGETS_INITIALIZED, this._-0pC);
            events.addEventListener(_-2KB.CWE_COLOUR_INDEX, this._-0u4);
            return (true);
        }
        public function _-0pC(_arg1:_-Xe):void
        {
            var k:Offer = this._-33I[this._-e1][this._-0Im];
            this.select((k.productContainer as _-3kE));
        }
        override public function select(_arg1:_-3kE):void
        {
            var k:Offer;
            var k:_-0hX;
            var k:int;
            if (_arg1 == null)
            {
                return;
            };
            super.select(_arg1);
            this._-e1 = _-8S.getGridItemIndex(_arg1.view);
            var k:String = this._-4tt[this._-e1];
            var k:Array = (this._-33I[this._-e1] as Array);
            var k:Array = new Array();
            for each (k in k)
            {
                k = k.productContainer._-1YN._-5D1;
                k = k._-2Wk[(k._-2Wk.length - 1)];
                k.push(k);
            };
            _-Nb.log(((("Show the colors for current selection..." + k) + " ") + k.length));
            events.dispatchEvent(new _-2V(k, "ctlg_clr_40x32_1", "ctlg_clr_40x32_2", "ctlg_clr_40x32_3", this._-0Im));
        }
        override public function startDragAndDrop(_arg1:_-3kE):Boolean
        {
            var k:Array = (this._-33I[this._-e1] as Array);
            var k:Offer = (k[this._-0Im] as Offer);
            if (k != null)
            {
                if (_-2Mi.clubLevel >= k.clubLevel)
                {
                    (page.viewer.catalog as HabboCatalog)._-4Ks(this, k);
                };
            };
            return (true);
        }
        override protected function populateItemGrid():void
        {
            var k:Array;
            var k:Offer;
            for each (k in this._-33I)
            {
                if (this._-0Im < k.length)
                {
                    k = (k[this._-0Im] as Offer);
                    _-1B9(k);
                    _-2e9(k);
                    k.productContainer.grid = this;
                };
            };
        }
        private function _-0u4(_arg1:_-06g):void
        {
            this._-0Im = _arg1.index;
            var k:Array = (this._-33I[this._-e1] as Array);
            var k:Offer = (k[this._-0Im] as Offer);
            if (k != null)
            {
                events.dispatchEvent(new _-06(k));
            };
            this._-03D();
        }
        private function _-03D():void
        {
            if (_-4RB)
            {
                _-4RB.deActivate();
                _-4RB = null;
            };
            _-8S.destroyGridItems();
            this.populateItemGrid();
            var k:Array = (this._-33I[this._-e1] as Array);
            var k:Offer = (k[this._-0Im] as Offer);
            _-4RB = (k.productContainer as _-2Ij);
            _-4RB.activate();
        }
        private function _-2AD():void
        {
            var k:Offer;
            var k:Array;
            var k:_-2eJ;
            var k:int;
            var k:String;
            var k:int;
            for each (k in page.offers)
            {
                if ((((k._-1k2 == Offer._-3NL)) || ((k._-1k2 == Offer._-1sS))))
                {
                    k = k.productContainer._-1YN;
                    if (k != null)
                    {
                        k = k._-3yk;
                        if ((((k._-5DX == _-3Uw._-0xA)) || ((k._-5DX == _-3Uw._-5Ds))))
                        {
                            if (k._-5D1 != null)
                            {
                                k = k._-5D1.name;
                                if (this._-4tt.indexOf(k) == -1)
                                {
                                    this._-4tt.push(k);
                                    this._-33I.push(new Array());
                                };
                                k = this._-4tt.indexOf(k);
                                (this._-33I[k] as Array).push(k);
                            };
                        };
                    };
                };
            };
            for each (k in this._-33I)
            {
                k.sort(this._-4sG);
            };
        }
        private function debug(_arg1:Array):void
        {
            var k:Offer;
            var k:_-0hX;
            var k:uint;
            var k:Number;
            var k:Array = [];
            for each (k in _arg1)
            {
                k = k.productContainer._-1YN._-5D1;
                k = k._-2Wk[(k._-2Wk.length - 1)];
                k = this._-4O3(k);
                k.push(k);
                _-Nb.log(((k + " ") + k));
            };
            _-Nb.log(k);
        }
        private function _-4sG(_arg1:Offer, _arg2:Offer):int
        {
            var k:_-0hX = _arg1.productContainer._-1YN._-5D1;
            var k:_-0hX = _arg2.productContainer._-1YN._-5D1;
            var k:uint = k._-2Wk[(k._-2Wk.length - 1)];
            var k:uint = k._-2Wk[(k._-2Wk.length - 1)];
            var k:Number = this._-4O3(k);
            var k:Number = this._-4O3(k);
            if ((((k == 0xFF)) || ((k == 0))))
            {
                return (-1);
            };
            if ((((k == 0xFF)) || ((k == 0))))
            {
                return (1);
            };
            var k:Number = this._-02S(k);
            var k:Number = this._-02S(k);
            if (k > k)
            {
                return (1);
            };
            if (k < k)
            {
                return (-1);
            };
            return (0);
        }
        private function _-02S(_arg1:uint):uint
        {
            var k:uint = 0xFF;
            var k:uint = 0xFF;
            var k:uint = 0xFF;
            if (_arg1 >= 0)
            {
                k = ((_arg1 >> 16) & 0xFF);
                k = ((_arg1 >> 8) & 0xFF);
                k = ((_arg1 >> 0) & 0xFF);
            };
            var k:uint = Math.min(Math.min(k, k), k);
            var k:uint = Math.max(Math.max(k, k), k);
            if (k == k)
            {
                return (0);
            };
            var k:Number = (((k)==k) ? (k - k) : (((k)==k) ? (k - k) : (k - k)));
            var k:Number = (((k)==k) ? 3 : (((k)==k) ? 5 : 1));
            var k:uint = (Math.floor(((k - (k / (k - k))) * 60)) % 360);
            return (k);
        }
        private function _-4O3(_arg1:uint):Number
        {
            var k:uint = 0xFF;
            var k:uint = 0xFF;
            var k:uint = 0xFF;
            if (_arg1 >= 0)
            {
                k = ((_arg1 >> 16) & 0xFF);
                k = ((_arg1 >> 8) & 0xFF);
                k = ((_arg1 >> 0) & 0xFF);
            };
            return ((((k + k) + k) / 3));
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.LocalizationCatalogWidget

package _-0Ai
{
    import flash.utils.Dictionary;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindowContainer;
    import _-30J._-2KB;
    import _-30J._-06;
    import _-Ew.IWindow;
    import _-09j.WindowParam;
    import _-0Ie.WindowMouseEvent;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-2Mh._-cF;
    import _-2ly._-11j;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-1ae.ITextWindow;
    import _-295.BitmapDataAsset;
    import flash.geom.Point;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;

    public class LocalizationCatalogWidget extends _-4n4 implements _-3eG 
    {

        private var _-0ry:Dictionary;
        private var _-3oJ:HabboCatalog;

        public function LocalizationCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-0ry = new Dictionary();
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-3oJ = null;
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-2fp();
            this._-3Rb();
            this._-14i();
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-1DC);
            return (true);
        }
        private function _-1DC(_arg1:_-06):void
        {
            if (_arg1 == null)
            {
                return;
            };
        }
        private function _-14i():void
        {
            var k:String;
            var k:IWindow;
            if (page.hasLinks)
            {
                for each (k in page.links)
                {
                    k = _-0xv.findChildByName(k);
                    if (k != null)
                    {
                        k.setParamFlag(WindowParam._-55Y);
                        k.mouseThreshold = 0;
                        k.addEventListener(WindowMouseEvent._-90, this._-0-1);
                    };
                };
            };
        }
        private function _-0-1(_arg1:WindowMouseEvent):void
        {
            var k:_-0hg = (page.viewer.catalog as HabboCatalog).localization;
            var k:_-4uR = (page.viewer.catalog as HabboCatalog).configuration;
            var k:String = IWindow(_arg1.target).name;
            var k:String = "";
            switch (page.layoutCode)
            {
                case "frontpage3":
                    switch (k)
                    {
                        case "ctlg_txt3":
                            if (IWindow(_arg1.target).caption != "")
                            {
                                k = page.localization.getTextElementContent(6);
                                page.viewer.catalog.openCatalogPage(k);
                            };
                            break;
                        case "ctlg_txt7":
                            if (IWindow(_arg1.target).caption != "")
                            {
                                k = page.localization.getTextElementContent(10);
                                if (k.indexOf("http") >= 0)
                                {
                                    this.openExternalLink(k);
                                }
                                else
                                {
                                    if (k == _-cF._-4ji)
                                    {
                                        if ("true" == k.getKey("client.credits.embed.enabled"))
                                        {
                                            _-11j._-25R("credits");
                                        }
                                        else
                                        {
                                            k = k.getKey("link.format.credits", "/credits");
                                            this.openExternalLink(k);
                                        };
                                    }
                                    else
                                    {
                                        page.viewer.catalog.openCatalogPage(k);
                                    };
                                };
                            };
                            break;
                    };
                    return;
                case "info_pixels":
                    switch (k)
                    {
                        case "ctlg_text_5":
                            this._-3oJ.questEngine.showAchievements();
                            break;
                        case "ctlg_text_7":
                            k = page.localization.getTextElementContent(7);
                            page.viewer.catalog.openCatalogPage(k);
                            break;
                    };
                    return;
                case "info_credits":
                    switch (k)
                    {
                        case "ctlg_text_5":
                            if ("true" == k.getKey("client.credits.embed.enabled"))
                            {
                                _-11j._-25R("credits");
                            }
                            else
                            {
                                k = k.getKey("link.format.credits", "/credits");
                                this.openExternalLink(k);
                            };
                            break;
                        case "ctlg_text_7":
                            k = page.localization.getTextElementContent(7);
                            page.viewer.catalog.openCatalogPage(k);
                            break;
                    };
                    return;
                case "collectibles":
                    switch (k)
                    {
                        case "ctlg_collectibles_link":
                            k = k.getKey("link.format.collectibles", "/credits/collectibles");
                            this.openExternalLink(k);
                            break;
                    };
                    return;
                case "club1":
                    switch (k)
                    {
                        case "ctlg_text_5":
                            page.viewer.catalog.openCatalogPage(_-cF._-5Ax);
                            break;
                    };
                    return;
                case "club_buy":
                    switch (k)
                    {
                        case "club_link":
                            k = k.getKey("link.format.club", "/credits/collectibles");
                            this.openExternalLink(k);
                            break;
                    };
                    return;
                case "mad_money":
                    switch (k)
                    {
                        case "ctlg_madmoney_button":
                            k = k.getKey("link.format.madmoney", "/credits/credits_subscription");
                            this.openExternalLink(k);
                            break;
                    };
                    return;
                case "monkey":
                    switch (k)
                    {
                        case "ctlg_teaserimg_1_region":
                        case "ctlg_special_img_region":
                            k = k.getKey("link.format.monkey", "http://store.apple.com/");
                            this.openExternalLink(k);
                            break;
                    };
                    return;
                case "niko":
                    switch (k)
                    {
                        case "ctlg_teaserimg_1_region":
                        case "ctlg_special_img_region":
                            k = k.getKey("link.format.niko", "http://itunes.apple.com/us/app/niko/id481670205?mt=8");
                            this.openExternalLink(k);
                            break;
                    };
                    return;
                case "pets3":
                    switch (k)
                    {
                        case "ctlg_text_3":
                            k = k.getKey("link.format.pets3", "/me");
                            this.openExternalLink(k);
                            break;
                    };
                    return;
                default:
                    _-Nb.log(("[LocalizationCatalogWidget] Unhandled link clicked" + [page.layoutCode, k]));
            };
        }
        private function openExternalLink(_arg1:String):void
        {
            var k:_-4uR = (page.viewer.catalog as HabboCatalog).configuration;
            if (_arg1 != "")
            {
                page.viewer.catalog.windowManager.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-3yB);
                _-11j.navigateToURL(_arg1, "habboMain");
            };
        }
        private function _-3yB(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-3Rb():void
        {
            var k:IWindow;
            var k:String;
            var k:String;
            var k:int;
            while (k < _-0xv.numChildren)
            {
                k = _-0xv.getChildAt(k);
                if ((k is IBitmapWrapperWindow))
                {
                    if (k.tags.indexOf("STATIC_IMAGE") > -1)
                    {
                        k = k.name;
                        k = k.name;
                        this._-0ry[k] = k;
                        if (page.viewer.catalog.assets.hasAsset(k))
                        {
                            this._-qb(k, k);
                        }
                        else
                        {
                            this._-2Gz(k);
                        };
                    };
                };
                k++;
            };
        }
        protected function _-2fp():void
        {
            var k:String;
            var k:String;
            var k:IWindow;
            var k:BitmapData;
            var k:String;
            var k:Array;
            var k:Array;
            var k:uint;
            var k:int;
            var k:ITextWindow;
            var k:int;
            this._-0ry = new Dictionary();
            k = 0;
            while (k < page.localization.textCount)
            {
                k = page.localization.getTextElementName(k, page.layoutCode);
                k = page.localization.getTextElementContent(k);
                if (_-0xv != null)
                {
                    k = _-0xv.findChildByName(k);
                };
                if (k != null)
                {
                    k.caption = k;
                }
                else
                {
                    _-Nb.log(((("[LocalizationCatalogWidget] Could not place text in layout:  element: " + k) + ", content: ") + k));
                };
                k++;
            };
            k = 0;
            while (k < page.localization.imageCount)
            {
                k = page.localization.getImageElementName(k, page.layoutCode);
                k = page.localization.getImageElementContent(k);
                if (k == "")
                {
                }
                else
                {
                    if (k == "")
                    {
                    }
                    else
                    {
                        this._-0ry[k] = k;
                        if (page.viewer.catalog.assets.hasAsset(k))
                        {
                            this._-qb(k, k);
                        }
                        else
                        {
                            this._-2Gz(k);
                        };
                    };
                };
                k++;
            };
            if (page.localization.hasColors(page.layoutCode))
            {
                k = page.localization.getColorSources(page.layoutCode);
                k = page.localization.getColorTargets(page.layoutCode);
                k = 0;
                while (k < k.length)
                {
                    k = page.localization.getColorUintFromText(k[k]);
                    if ((k[k] as Array) != null)
                    {
                        k = 0;
                        while (k < (k[k] as Array).length)
                        {
                            if (_-0xv != null)
                            {
                                k = (_-0xv.findChildByName(k[k][k]) as ITextWindow);
                            };
                            if (k != null)
                            {
                                k.textColor = k;
                            };
                            k++;
                        };
                    };
                    k++;
                };
            };
        }
        private function _-qb(_arg1:String, _arg2:String):void
        {
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:int;
            var k:int;
            _-Nb.log(("[LocalizationCatalogWidget] Set Element Image: " + [_arg1, _arg2]));
            if (_-0xv == null)
            {
                _-Nb.log(("[LocalizationCatalogWidget] Window is null! " + [_arg1, _arg2]));
                return;
            };
            if (_-0xv.disposed)
            {
                _-Nb.log(("[LocalizationCatalogWidget] Window is disposed! " + [_arg1, _arg2, _-0xv.name]));
                return;
            };
            var k:IBitmapWrapperWindow = (_-0xv.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (page.viewer.catalog.assets.getAssetByName(_arg2) as BitmapDataAsset);
                if (k == null)
                {
                    _-Nb.log(("[LocalizationCatalogWidget] Asset does not exist: " + [_arg1, _arg2]));
                    return;
                };
                k = (k.content as BitmapData);
                if (k.bitmap == null)
                {
                    k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                };
                k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
                k = ((k.width - k.width) / 2);
                k = ((k.height - k.height) / 2);
                k.bitmap.copyPixels(k, k.rect, new Point(k, k), null, null, true);
            }
            else
            {
                _-Nb.log(("[LocalizationCatalogWidget] Could not find element: " + _arg1));
            };
        }
        private function _-2Gz(_arg1:String):void
        {
            var k:String;
            var k:String = page.viewer.catalog.configuration.getKey("image.library.catalogue.url");
            var k = (page.viewer.catalog.configuration.getKey("image.library.url") + "Top_Story_Images/");
            var k:String = this._-0ry[_arg1];
            var k:IWindow = (_-0xv.findChildByName(k) as IWindow);
            if (k.tags.indexOf("TOP_STORY") > -1)
            {
            }
            else
            {
            };
            var k = ((k + _arg1) + ".gif");
            _-Nb.log(("[LocalizationCatalogWidget]  : " + k));
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = page.viewer.catalog.assets.loadAssetFromFile(_arg1, k, "image/gif");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-3Ig);
        }
        private function _-3Ig(_arg1:AssetLoaderEvent):void
        {
            var k:String;
            var k:String;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                k = k.assetName;
                k = this._-0ry[k];
                this._-qb(k, k);
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.MarketPlaceCatalogWidget

package _-0Ai
{
    import _-0vj._-H4;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import _-18r.Map;
    import flash.events.TimerEvent;
    import _-0vj.MarketplaceChart;
    import flash.display.BitmapData;
    import _-0vj._-38V;
    import _-1ae.ITextWindow;
    import _-1ae.ISelectorWindow;
    import _-1ae.ISelectableWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-0vj._-3-I;
    import _-1ae.IDropMenuWindow;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-3X8._-0hg;
    import _-4pF._-3Ts;
    import _-293._-2Gt;
    import flash.geom.Point;
    import _-1ae._-3Yi;
    import _-0Ix._-4xG;
    import _-0Ix._-0nW;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-0Ix._-2Aa;
    import flash.geom.Matrix;
    import _-1ae.ITextFieldWindow;
    import _-293.*;
    import _-0vj.*;

    public class MarketPlaceCatalogWidget extends _-4n4 implements _-3eG, dynamic, _-3J0 
    {

        private const _-3j7:int = 1;
        private const _-0lj:int = 2;
        private const _-4CH:int = 40;
        private const _-4vs:int = 10;

        private var _-1G2:Array;
        private var _-9o:_-H4;
        private var _-4xX:IItemListWindow;
        private var _-2JK:IWindowContainer;
        private var _-1ia:Timer;
        private var _-4GM:Map;
        private var _-2TH:int;

        public function MarketPlaceCatalogWidget(_arg1:IWindowContainer)
        {
            this._-1G2 = [];
            super(_arg1);
        }
        override public function dispose():void
        {
            super.dispose();
            this._-9o = null;
            this._-4GM = null;
            this._-4xX = null;
            if (this._-2JK)
            {
                this._-2JK.dispose();
                this._-2JK = null;
            };
            if (this._-1ia)
            {
                this._-1ia.removeEventListener(TimerEvent.TIMER, this._-0lu);
                this._-1ia = null;
            };
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            if (this._-2xo == null)
            {
                return (false);
            };
            this._-2xo._-1qp(this);
            this._-gB();
            return (true);
        }
        public function _-050():void
        {
            this._-1RZ();
            this._-4Za();
        }
        public function _-4wp():void
        {
            var k:MarketplaceChart;
            var k:BitmapData;
            var k:String;
            if (((((!(this._-2xo)) || (!(this._-2xo.localization)))) || (!(_-0xv))))
            {
                return;
            };
            var k:_-38V = this._-2xo._-0Qo;
            if (!k)
            {
                return;
            };
            var k:IWindowContainer = (_-0xv.findChildByName("details_container") as IWindowContainer);
            if (((!(k)) || (!(k.visible))))
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName("offer_count") as ITextWindow);
            if (k)
            {
                this._-2xo.localization.registerParameter("catalog.marketplace.offer_details.offer_count", "count", k._-3rE.toString());
                k.visible = true;
            };
            var k:ISelectorWindow = (k.findChildByName("chart_selector") as ISelectorWindow);
            if (!k)
            {
                return;
            };
            var k:ISelectableWindow = k._-WM();
            if (!k)
            {
                return;
            };
            switch (k.name)
            {
                case "price_development":
                    k = new MarketplaceChart(k._-1ml, k._-3x9);
                    break;
                case "trade_volume":
                    k = new MarketplaceChart(k._-1ml, k._-3Rh);
                    break;
                default:
                    return;
            };
            if (!k)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (k.findChildByName("chart_bitmap") as IBitmapWrapperWindow);
            if (k)
            {
                k.bitmap = null;
                k.bitmap = new BitmapData(k.width, k.height);
                k = k.draw(k.width, k.height);
                k.bitmap.draw(k);
                k.dispose();
            };
            var k:ITextWindow = (k.findChildByName("chart_title") as ITextWindow);
            if (k)
            {
                if (k.available)
                {
                    k = ("catalog.marketplace.offer_details.chart_title." + k.name);
                    this._-2xo.localization.registerParameter(k, "days", k._-0Iy.toString());
                }
                else
                {
                    k = "catalog.marketplace.offer_details.chart_title.not_available";
                };
                k.text = this._-2xo.localization.getKey(k);
            };
        }
        private function get _-2xo():_-3-I
        {
            if (((((page) && (page.viewer))) && (page.viewer.catalog)))
            {
                return (page.viewer.catalog.getMarketPlace());
            };
            return (null);
        }
        public function _-gB():void
        {
            var k:XML = this._-2LJ("marketPlaceWidget");
            if (k == null)
            {
                return;
            };
            window.removeChildAt(0);
            if (((((((!(window)) || (!(page)))) || (!(page.viewer)))) || (!(page.viewer.catalog))))
            {
                return;
            };
            window.addChild(page.viewer.catalog.windowManager.buildFromXML(k));
            window.procedure = this._-4f1;
            this._-4xX = (window.findChildByName("offer_list") as IItemListWindow);
            this._-1gA("search_by_activity");
        }
        private function _-1gA(_arg1:String):void
        {
            var k:String;
            var k:ISelectorWindow = (_-0xv.findChildByName("search_selector") as ISelectorWindow);
            if (k == null)
            {
                return;
            };
            var k:ISelectableWindow = k._-4Vf(_arg1);
            if (k == null)
            {
                return;
            };
            k.setSelected(k);
            var k:IWindowContainer = (_-0xv.findChildByName("search_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            while (k.numChildren > 0)
            {
                k.removeChildAt(0);
            };
            switch (_arg1)
            {
                case "search_by_value":
                    k = "marketplace_search_simple";
                    this._-1G2 = [1, 2];
                    break;
                case "search_by_activity":
                    k = "marketplace_search_simple";
                    this._-1G2 = [3, 4, 5, 6];
                    break;
                case "search_advanced":
                    k = "marketplace_search_advanced";
                    this._-1G2 = [1, 2, 3, 4, 5, 6];
                    break;
                default:
                    return;
            };
            var k:IWindowContainer = (this.createWindow(k) as IWindowContainer);
            k.addChild(k);
            k.rectangle = k.rectangle;
            this._-0Af();
            var k:IDropMenuWindow = (_-0xv.findChildByName("sort_dropmenu") as IDropMenuWindow);
            if (k != null)
            {
                k.populate(this._-37K(this._-1G2));
                k.selection = 0;
            };
        }
        private function _-37K(_arg1:Array):Array
        {
            var k:int;
            var k:Array = [];
            for each (k in _arg1)
            {
                k.push(((("$" + "{catalog.marketplace.sort.") + k) + "}"));
            };
            return (k);
        }
        private function createWindow(_arg1:String):IWindow
        {
            if (((((((((!(page)) || (!(page.viewer)))) || (!(page.viewer.catalog)))) || (!(page.viewer.catalog.assets)))) || (!(page.viewer.catalog.windowManager))))
            {
                return (null);
            };
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName(_arg1) as _-243);
            if (((!(k)) || (!(k.content))))
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (!k)
            {
                return (null);
            };
            return (page.viewer.catalog.windowManager.buildFromXML(k));
        }
        private function _-0Af():void
        {
            if (!_-0xv)
            {
                return;
            };
            var k:IItemListWindow = (_-0xv.findChildByName("main_item_list") as IItemListWindow);
            var k:IWindowContainer = (_-0xv.findChildByName("offer_list_container") as IWindowContainer);
            k.height = (k.height - k.y);
        }
        private function _-1mZ(_arg1:int, _arg2:int=-1, _arg3:int=-1):void
        {
            var k:String;
            var k:_-0hg = this._-2xo.localization;
            if (!k)
            {
                return;
            };
            if (((((((!(window)) || (!(page)))) || (!(page.viewer)))) || (!(page.viewer.catalog))))
            {
                return;
            };
            var k:ITextWindow = (window.findChildByName("status_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            if (_arg1 == this._-3j7)
            {
                k = k.getKey("catalog.marketplace.searching");
            }
            else
            {
                if (this._-0lj)
                {
                    if (_arg3 > 0)
                    {
                        k = k.getKey("catalog.marketplace.items_found");
                        k = k.replace("%count%", _arg3);
                        if ((((_arg2 > 0)) && ((_arg2 < _arg3))))
                        {
                            k = (k + ((". " + k.getKey("catalog.marketplace.items_shown")) + "."));
                            k = k.replace("%count%", _arg2);
                        };
                    }
                    else
                    {
                        k = k.getKey("catalog.marketplace.no_items");
                    };
                };
            };
            k.text = k;
        }
        private function _-4Za():void
        {
            var k:XML;
            var k:_-3Ts;
            if (((!(this._-2xo)) || (!(window))))
            {
                return;
            };
            var k:Map = this._-2xo._-23L();
            if (!k)
            {
                return;
            };
            var k:int = this._-2xo._-03y();
            this._-4GM = k;
            if (!this._-4xX)
            {
                return;
            };
            this._-4xX._-Ls();
            if (!this._-2JK)
            {
                k = this._-2LJ("marketplace_offers_item");
                if (!k)
                {
                    return;
                };
                k = this._-2xo.windowManager;
                if (k == null)
                {
                    return;
                };
                this._-2JK = (k.buildFromXML(k) as IWindowContainer);
            };
            if (!this._-2JK)
            {
                return;
            };
            var k:Array = k._-18C();
            if (k == null)
            {
                return;
            };
            this._-1mZ(this._-0lj, k.length, k);
            if (!this._-1ia)
            {
                this._-1ia = new Timer(25);
                this._-1ia.addEventListener(TimerEvent.TIMER, this._-0lu);
            };
            this._-2TH = 0;
            this._-cz();
            this._-1ia.start();
        }
        private function _-0lu(_arg1:TimerEvent):void
        {
            if (!this._-1ia)
            {
                return;
            };
            if (this._-cz())
            {
                this._-1ia.stop();
            };
        }
        private function _-cz():Boolean
        {
            if (!this._-4GM)
            {
                return (true);
            };
            var k:int;
            while (k < 5)
            {
                if (this._-2TH >= this._-4GM.length)
                {
                    return (true);
                };
                this.addListItem(this._-4GM.getWithIndex(this._-2TH));
                this._-2TH++;
                k++;
            };
            return (false);
        }
        private function addListItem(_arg1:_-H4):void
        {
            var k:String;
            var k:String;
            var k:_-2Gt;
            var k:IBitmapWrapperWindow;
            var k:Point;
            var k:IWindow;
            var k:_-3Yi;
            var k:_-4xG;
            var k:_-3Yi;
            var k:_-0nW;
            var k:IWindow;
            if (((((((!(_arg1)) || (!(this._-4xX)))) || (!(this._-2JK)))) || (!(this._-2xo.localization))))
            {
                return;
            };
            var k:IWindowContainer = (this._-2JK.clone() as IWindowContainer);
            if (((!(k)) || (k.disposed)))
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName("item_name") as ITextWindow);
            if (k != null)
            {
                k.text = ((("$" + "{") + this._-2xo._-4TZ(_arg1)) + "}");
            };
            var k:ITextWindow = (k.findChildByName("item_desc") as ITextWindow);
            if (k != null)
            {
                k.text = ((("$" + "{") + this._-2xo._-3l0(_arg1)) + "}");
            };
            var k:ITextWindow = (k.findChildByName("item_price") as ITextWindow);
            if (k != null)
            {
                k = this._-2xo.localization.getKey("catalog.marketplace.offer.price_public_item");
                k = k.replace("%price%", _arg1.price);
                k = k.replace("%average%", (((_arg1._-4q8)!=0) ? _arg1._-4q8.toString() : " - "));
                k.text = k;
            };
            var k:ITextWindow = (k.findChildByName("offer_count") as ITextWindow);
            if (k)
            {
                k = this._-2xo.localization.getKey("catalog.marketplace.offer_count");
                k = k.replace("%count%", _arg1._-3rE);
                k.text = k;
            };
            if (_arg1.image == null)
            {
                k = this._-1Di(_arg1._-4Jh, _arg1._-0sM, _arg1.extraData);
                if (((!((k == null))) && (!((k.data == null)))))
                {
                    _arg1.image = (k.data as BitmapData);
                    _arg1._-3Ea = k.id;
                    k.id = k.id;
                };
            };
            if (_arg1.image != null)
            {
                k = (k.findChildByName("item_image") as IBitmapWrapperWindow);
                if (k != null)
                {
                    k = new Point(((k.width - _arg1.image.width) / 2), ((k.height - _arg1.image.height) / 2));
                    if (k.bitmap == null)
                    {
                        k.bitmap = new BitmapData(k.width, k.height, true, 0);
                    };
                    k.bitmap.copyPixels(_arg1.image, _arg1.image.rect, k);
                };
            };
            if (page.viewer.catalog.configuration.getBoolean("unique.limited.items.enabled", false))
            {
                if (_arg1._-0bb)
                {
                    k = k.findChildByName("unique_item_background_bitmap");
                    k = _-3Yi(k.findChildByName("unique_item_overlay_widget"));
                    k = _-4xG(k.widget);
                    k._-2GS = _arg1._-vM.uniqueSerialNumber;
                    k.visible = true;
                    k.visible = true;
                };
            };
            if (((_arg1._-vM) && ((_arg1._-vM.rarityLevel >= 0))))
            {
                k = _-3Yi(k.findChildByName("rarity_item_overlay_widget"));
                k = _-0nW(k.widget);
                k.visible = true;
                k.rarityLevel = _arg1._-vM.rarityLevel;
            };
            if (this._-2xo._-3ZA())
            {
                k = k.findChildByName("buy_button");
                if (k != null)
                {
                    k.disable();
                };
            };
            this._-4xX.addListItem(k);
            k.procedure = this._-1mo;
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:IWindowContainer;
            var k:_-H4;
            var k:IBitmapWrapperWindow;
            var k:Point;
            if (((((((((disposed) || (!(this._-2xo)))) || (!(_arg2)))) || (!(this._-4xX)))) || (!(this._-4GM))))
            {
                return;
            };
            var k:Array = [];
            if (this._-4xX._-1DH(_arg1, k))
            {
                for each (k in k)
                {
                    if (k)
                    {
                        k = (k.findChildByName("item_image") as IBitmapWrapperWindow);
                        if (k != null)
                        {
                            k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                            k = new Point(((k.width - _arg2.width) / 2), ((k.height - _arg2.height) / 2));
                            k.bitmap.copyPixels(_arg2, _arg2.rect, k, null, null, true);
                        };
                        k.id = 0;
                    };
                };
            };
            for each (k in this._-4GM)
            {
                if (k._-3Ea == _arg1)
                {
                    k._-3Ea = 0;
                    k.image = _arg2;
                };
            };
        }
        private function _-1Di(_arg1:int, _arg2:int, _arg3:String=null):_-2Gt
        {
            if (((((!(page)) || (!(page.viewer)))) || (!(page.viewer.roomEngine))))
            {
                return (null);
            };
            if (_arg2 == 1)
            {
                return (page.viewer.roomEngine.getFurnitureIcon(_arg1, this));
            };
            if (_arg2 == 2)
            {
                return (page.viewer.roomEngine.getWallItemIcon(_arg1, this, _arg3));
            };
            return (null);
        }
        private function _-1mo(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            var k:int;
            var k:Map;
            var k:_-H4;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (((((!(window)) || (!(this._-2xo)))) || (!(_arg2))))
                {
                    return;
                };
                if (this._-4xX == null)
                {
                    return;
                };
                k = this._-4xX._-ed(_arg1.window.parent);
                k = this._-2xo._-23L();
                k = (k.getWithIndex(k) as _-H4);
                if (!k)
                {
                    return;
                };
                switch (_arg2.name)
                {
                    case "buy_button":
                        this._-2xo._-4iG(k.offerId);
                        return;
                    case "more_button":
                        this._-a6(k);
                        return;
                };
            };
        }
        private function _-a6(_arg1:_-H4):void
        {
            var k:_-2Gt;
            var k:IBitmapWrapperWindow;
            var k:_-3Yi;
            var k:_-2Aa;
            var k:_-0nW;
            var k:IWindow;
            if (((((!(_arg1)) || (!(_-0xv)))) || (!(this._-2xo))))
            {
                return;
            };
            this._-9o = _arg1;
            var k:_-0hg = this._-2xo.localization;
            if (!k)
            {
                return;
            };
            var k:IWindow = _-0xv.findChildByName("main_item_list");
            if (k)
            {
                k.visible = false;
            };
            var k:IWindowContainer = (_-0xv.findChildByName("details_container") as IWindowContainer);
            if (k)
            {
                k.visible = true;
            }
            else
            {
                k = (this.createWindow("marketplace_offer_details") as IWindowContainer);
                _-0xv.addChild(k);
                k.procedure = this._-63;
            };
            var k:ITextWindow = (k.findChildByName("item_name") as ITextWindow);
            if (k)
            {
                k.text = ((("$" + "{") + this._-2xo._-4TZ(_arg1)) + "}");
            };
            k = (k.findChildByName("item_description") as ITextWindow);
            if (k)
            {
                k.text = ((("$" + "{") + this._-2xo._-3l0(_arg1)) + "}");
            };
            k = (k.findChildByName("item_count") as ITextWindow);
            if (k)
            {
                k.visible = false;
            };
            k.registerParameter("catalog.marketplace.offer_details.price", "price", _arg1.price.toString());
            k.registerParameter("catalog.marketplace.offer_details.average_price", "days", this._-2xo._-0Px.toString());
            var k:String = (((_arg1._-4q8 == 0)) ? " - " : _arg1._-4q8.toString());
            k.registerParameter("catalog.marketplace.offer_details.average_price", "average", k);
            if (_arg1.image == null)
            {
                k = this._-1Di(_arg1._-4Jh, _arg1._-0sM, _arg1.extraData);
                if (((!((k == null))) && (!((k.data == null)))))
                {
                    _arg1.image = (k.data as BitmapData);
                    _arg1._-3Ea = k.id;
                };
            };
            if (_arg1.image != null)
            {
                k = (k.findChildByName("item_image") as IBitmapWrapperWindow);
                if (k != null)
                {
                    k.bitmap = null;
                    k.bitmap = new BitmapData(k.width, k.height, true, 0);
                    k.bitmap.draw(_arg1.image, new Matrix(1, 0, 0, 1, ((k.width - _arg1.image.width) / 2), ((k.height - _arg1.image.height) / 2)));
                };
            };
            var k:ISelectorWindow = (k.findChildByName("chart_selector") as ISelectorWindow);
            if (k)
            {
                k.setSelected(k._-0wi(0));
            };
            var k:IBitmapWrapperWindow = (k.findChildByName("chart_bitmap") as IBitmapWrapperWindow);
            if (k)
            {
                k.bitmap = null;
            };
            if (page.viewer.catalog.configuration.getBoolean("unique.limited.items.enabled", false))
            {
                k = _-3Yi(k.findChildByName("unique_item_overlay_widget"));
                if (_arg1._-0bb)
                {
                    k = _-2Aa(k.widget);
                    k._-2GS = _arg1._-vM.uniqueSerialNumber;
                    k._-0O1 = _arg1._-vM._-2dO;
                    k.visible = true;
                }
                else
                {
                    k.visible = false;
                };
            };
            var k:_-3Yi = _-3Yi(k.findChildByName("rarity_item_overlay_widget"));
            if (((_arg1._-vM) && ((_arg1._-vM.rarityLevel >= 0))))
            {
                k = _-0nW(k.widget);
                k.visible = true;
                k.rarityLevel = _arg1._-vM.rarityLevel;
            }
            else
            {
                k.visible = false;
            };
            if (this._-2xo._-3ZA())
            {
                k = k.findChildByName("buy_button");
                if (k != null)
                {
                    k.disable();
                };
            };
            this._-2xo._-2Kz(_arg1._-0sM, _arg1._-4Jh);
        }
        private function _-1RZ():void
        {
            if (!_-0xv)
            {
                return;
            };
            this._-9o = null;
            var k:IWindow = _-0xv.findChildByName("details_container");
            if (k)
            {
                k.visible = false;
            };
            k = _-0xv.findChildByName("main_item_list");
            if (k)
            {
                k.visible = true;
            };
        }
        private function _-2p4():void
        {
            var k:ITextFieldWindow;
            this._-1mZ(this._-3j7);
            var k:int = -1;
            var k:int = -1;
            var k:String = "";
            var k:int = 1;
            k = (_-0xv.findChildByName("min_price_input") as ITextFieldWindow);
            if (k)
            {
                if (k.text == "")
                {
                    k = -1;
                }
                else
                {
                    k = parseInt(k.text);
                };
            };
            k = (_-0xv.findChildByName("max_price_input") as ITextFieldWindow);
            if (k)
            {
                if (k.text == "")
                {
                    k = -1;
                }
                else
                {
                    k = parseInt(k.text);
                };
            };
            k = (_-0xv.findChildByName("search_input") as ITextFieldWindow);
            if (k)
            {
                k = k.text;
            };
            var k:IDropMenuWindow = (_-0xv.findChildByName("sort_dropmenu") as IDropMenuWindow);
            if (((((k) && ((k.selection >= 0)))) && ((k.selection < this._-1G2.length))))
            {
                k = this._-1G2[k.selection];
            };
            this._-2xo._-3qm(k, k, k, k);
        }
        private function _-4f1(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            var _local5:ISelectorWindow;
            var _local6:ISelectableWindow;
            var k:ITextFieldWindow;
            var k:int;
            if (((((!(_arg1)) || (!(_arg2)))) || (!(this._-2xo))))
            {
                return;
            };
            var k:_-0hg = this._-2xo.localization;
            var k:ITextWindow = (window.findChildByName("search_input") as ITextWindow);
            if (_arg1.type == WindowEvent._-2wB)
            {
                switch (_arg2.name)
                {
                    case "sort_dropmenu":
                        _local5 = (_-0xv.findChildByName("search_selector") as ISelectorWindow);
                        if (!_local5)
                        {
                            return;
                        };
                        _local6 = _local5._-WM();
                        if (!_local6)
                        {
                            return;
                        };
                        if ((((_local6.name == "search_by_value")) || ((_local6.name == "search_by_activity"))))
                        {
                            this._-2p4();
                        };
                        break;
                    case "search_by_value":
                    case "search_by_activity":
                    case "search_advanced":
                        this._-1gA(_arg2.name);
                        break;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-90)
                {
                    switch (_arg2.name)
                    {
                        case "search_input":
                            if (((((k) && (k))) && ((k.text == k.getKey("catalog.marketplace.search_name")))))
                            {
                                k.text = "";
                            };
                            break;
                        case "search_button":
                            if (((((k) && (k))) && ((k.text == k.getKey("catalog.marketplace.search_name")))))
                            {
                                return;
                            };
                            this._-2p4();
                            break;
                    };
                }
                else
                {
                    if (_arg1.type == WindowEvent._-0cZ)
                    {
                        k = (_arg2 as ITextFieldWindow);
                        if (!k)
                        {
                            return;
                        };
                        switch (k.name)
                        {
                            case "min_price_input":
                            case "max_price_input":
                                k = this._-4vs;
                                break;
                            case "search_input":
                                k = this._-4CH;
                                break;
                            default:
                                return;
                        };
                        if (k.text.length > k)
                        {
                            k.text = k.text.substr(0, k);
                        };
                        k.scrollH = 0;
                    };
                };
            };
        }
        private function _-63(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!(_arg1)) || (!(_arg2))))
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "back_button":
                        this._-1RZ();
                        return;
                    case "buy_button":
                        this._-2xo._-4iG(this._-9o.offerId);
                        return;
                };
                return;
            };
            if (_arg1.type == WindowEvent._-2wB)
            {
                switch (_arg2.name)
                {
                    case "price_development":
                    case "trade_volume":
                        this._-4wp();
                        return;
                };
            };
        }
        private function _-2LJ(_arg1:String):XML
        {
            if (((((((!(page)) || (!(page.viewer)))) || (!(page.viewer.catalog)))) || (!(page.viewer.catalog.assets))))
            {
                return (null);
            };
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName(_arg1) as _-243);
            if (k == null)
            {
                return (null);
            };
            return ((k.content as XML));
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.MarketPlaceOwnItemsCatalogWidget

package _-0Ai
{
    import _-18r.Map;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import _-4pF._-3Ts;
    import _-0vj._-462;
    import _-3X8._-0hg;
    import _-1ae.ITextWindow;
    import _-0vj._-3-I;
    import _-0vj._-H4;
    import _-293._-2Gt;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import _-1ae._-3Yi;
    import _-0Ix._-4xG;
    import _-0Ix._-0nW;
    import flash.display.BitmapData;
    import _-1ae.IButtonWindow;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-293.*;
    import _-0vj.*;

    public class MarketPlaceOwnItemsCatalogWidget extends _-4n4 implements _-3eG, dynamic, _-3J0 
    {

        private const _-3j7:int = 1;
        private const _-0lj:int = 2;

        private var _-4Ok:Map;
        private var _-4xX:IItemListWindow;
        private var _-4GM:Map;

        public function MarketPlaceOwnItemsCatalogWidget(_arg1:IWindowContainer)
        {
            super(_arg1);
            this._-4Ok = new Map();
        }
        override public function dispose():void
        {
            super.dispose();
        }
        override public function init():Boolean
        {
            var k:IWindowContainer;
            var k:XML;
            if (!super.init())
            {
                return (false);
            };
            if (this._-2xo == null)
            {
                return (false);
            };
            var k:_-3Ts = this._-2xo.windowManager;
            if (k == null)
            {
                return (false);
            };
            k = this._-2LJ("marketplace_ongoing_item");
            if (k != null)
            {
                k = (k.buildFromXML(k) as IWindowContainer);
                if (k)
                {
                    this._-4Ok.add(_-462._-MI, k);
                };
            };
            k = this._-2LJ("marketplace_sold_item");
            if (k != null)
            {
                k = (k.buildFromXML(k) as IWindowContainer);
                if (k)
                {
                    this._-4Ok.add(_-462._-2FO, k);
                };
            };
            k = this._-2LJ("marketplace_expired_item");
            if (k != null)
            {
                k = (k.buildFromXML(k) as IWindowContainer);
                if (k)
                {
                    this._-4Ok.add(_-462._-3am, k);
                };
            };
            this._-2xo._-1qp(this);
            this._-gB();
            this._-2xo._-0x1();
            this._-1mZ(this._-3j7);
            this._-3J6(false);
            return (true);
        }
        private function _-3J6(_arg1:Boolean):void
        {
            if (!window)
            {
                return;
            };
            var k:IWindowContainer = (window.findChildByName("redeem_border") as IWindowContainer);
            if (k)
            {
                k.visible = _arg1;
            };
        }
        public function _-050():void
        {
            if (this._-2xo == null)
            {
                return;
            };
            this._-4Za(this._-2xo._-3J4());
        }
        private function _-1mZ(_arg1:int, _arg2:int=-1):void
        {
            var k:String;
            if (((!(this._-2xo)) || (!(window))))
            {
                return;
            };
            var k:_-0hg = this._-2xo.localization;
            if (!k)
            {
                return;
            };
            var k:ITextWindow = (window.findChildByName("status_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            if (_arg1 == this._-3j7)
            {
                k = k.getKey("catalog.marketplace.searching");
            }
            else
            {
                if (this._-0lj)
                {
                    if (_arg2 > 0)
                    {
                        k = k.getKey("catalog.marketplace.items_found");
                        k = k.replace("%count%", _arg2);
                    }
                    else
                    {
                        k = k.getKey("catalog.marketplace.no_items");
                    };
                };
            };
            k.text = k;
        }
        private function get _-2xo():_-3-I
        {
            if (((((!(page)) || (!(page.viewer)))) || (!(page.viewer.catalog))))
            {
                return (null);
            };
            return (page.viewer.catalog.getMarketPlace());
        }
        private function _-4Za(_arg1:Map):void
        {
            var k:IWindowContainer;
            var k:int;
            var k:_-H4;
            var k:IWindowContainer;
            var k:ITextWindow;
            var k:ITextWindow;
            var k:ITextWindow;
            var k:String;
            var k:ITextWindow;
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:String;
            var k:ITextWindow;
            var k:ITextWindow;
            var k:_-2Gt;
            var k:IBitmapWrapperWindow;
            var k:Point;
            var k:IWindow;
            var k:_-3Yi;
            var k:_-4xG;
            var k:_-3Yi;
            var k:_-0nW;
            if (((((!(_arg1)) || (!(this._-2xo)))) || (!(window))))
            {
                return;
            };
            this._-4GM = _arg1;
            var k:_-0hg = this._-2xo.localization;
            if (!k)
            {
                return;
            };
            var k:IItemListWindow = (window.findChildByName("item_list") as IItemListWindow);
            if (!k)
            {
                return;
            };
            k._-Ls();
            var k:int;
            var k:Array = _arg1._-18C();
            if (!k)
            {
                return;
            };
            this._-1mZ(this._-0lj, k.length);
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = (_arg1.getValue(k) as _-H4);
                if (k.status == _-462._-2FO)
                {
                    k++;
                };
                k = this._-4Ok.getValue(k.status);
                if (k)
                {
                    k = (k.clone() as IWindowContainer);
                    if (!((!(k)) || (k.disposed)))
                    {
                        k = (k.findChildByName("item_name") as ITextWindow);
                        if (k != null)
                        {
                            k.text = (((this._-2xo)!=null) ? ((("$" + "{") + this._-2xo._-4TZ(k)) + "}") : "");
                        };
                        k = (k.findChildByName("item_desc") as ITextWindow);
                        if (k != null)
                        {
                            k.text = (((this._-2xo)!=null) ? ((("$" + "{") + this._-2xo._-3l0(k)) + "}") : "");
                        };
                        k = (k.findChildByName("item_price") as ITextWindow);
                        if (k != null)
                        {
                            k = k.getKey("catalog.marketplace.offer.price_own_item");
                            k = k.replace("%price%", k.price);
                            k.text = k;
                        };
                        if (k.status == _-462._-MI)
                        {
                            k = (k.findChildByName("item_time") as ITextWindow);
                            if (k != null)
                            {
                                k = Math.max(1, k._-016);
                                k = Math.floor((k / 60));
                                k = (k - (k * 60));
                                k = ((k + " ") + k.getKey("catalog.marketplace.offer.minutes"));
                                if (k > 0)
                                {
                                    k = ((((k + " ") + k.getKey("catalog.marketplace.offer.hours")) + " ") + k);
                                };
                                k = k.getKey("catalog.marketplace.offer.time_left");
                                k = k.replace("%time%", k);
                                k.text = k;
                            };
                        };
                        if (k.status == _-462._-2FO)
                        {
                            k = (k.findChildByName("item_sold") as ITextWindow);
                            if (k != null)
                            {
                                k.text = k.getKey("catalog.marketplace.offer.sold");
                            };
                        };
                        if (k.status == _-462._-3am)
                        {
                            k = (k.findChildByName("item_expired") as ITextWindow);
                            if (k != null)
                            {
                                k.text = k.getKey("catalog.marketplace.offer.expired");
                            };
                        };
                        if (k.image == null)
                        {
                            k = this._-1Di(k._-4Jh, k._-0sM, k.extraData);
                            if (((!((k == null))) && (!((k.data == null)))))
                            {
                                k.image = (k.data as BitmapData);
                                k._-3Ea = k.id;
                                k.id = k.id;
                            };
                        };
                        if (k.image != null)
                        {
                            k = (k.findChildByName("item_image") as IBitmapWrapperWindow);
                            if (k != null)
                            {
                                k = new Point(((k.width - k.image.width) / 2), ((k.height - k.image.height) / 2));
                                if (k.bitmap == null)
                                {
                                    k.bitmap = new BitmapData(k.width, k.height, true, 0);
                                };
                                k.bitmap.copyPixels(k.image, k.image.rect, k);
                            };
                        };
                        if (page.viewer.catalog.configuration.getBoolean("unique.limited.items.enabled", false))
                        {
                            if (k._-0bb)
                            {
                                k = k.findChildByName("unique_item_background_bitmap");
                                k = _-3Yi(k.findChildByName("unique_item_overlay_widget"));
                                k = _-4xG(k.widget);
                                k._-2GS = k._-vM.uniqueSerialNumber;
                                k.visible = true;
                                k.visible = true;
                            };
                        };
                        if (((k._-vM) && ((k._-vM.rarityLevel >= 0))))
                        {
                            k = _-3Yi(k.findChildByName("rarity_item_overlay_widget"));
                            k = _-0nW(k.widget);
                            k.visible = true;
                            k.rarityLevel = k._-vM.rarityLevel;
                        };
                        k.addListItem(k);
                        k.procedure = this._-565;
                    };
                };
                k++;
            };
            this._-3J6(true);
            var k:IButtonWindow = (window.findChildByName("redeem_sold") as IButtonWindow);
            var k:ITextWindow = (window.findChildByName("redeem_info") as ITextWindow);
            if (((k) && (k)))
            {
                if (k > 0)
                {
                    k.enable();
                    k.registerParameter("catalog.marketplace.redeem.get_credits", "count", k.toString());
                    k.registerParameter("catalog.marketplace.redeem.get_credits", "credits", this._-2xo._-2ID.toString());
                    k.text = ("$" + "{catalog.marketplace.redeem.get_credits}");
                }
                else
                {
                    k.disable();
                    k.text = ("$" + "{catalog.marketplace.redeem.no_sold_items}");
                };
            };
        }
        public function _-gB():void
        {
            var k:XML = this._-2LJ("marketPlaceOwnItemsWidget");
            if (((!(k)) || (!(window))))
            {
                return;
            };
            window.removeChildAt(0);
            if (((((((!(page)) || (!(page.viewer)))) || (!(page.viewer.catalog)))) || (!(page.viewer.catalog.windowManager))))
            {
                return;
            };
            window.addChild(page.viewer.catalog.windowManager.buildFromXML(k));
            window.procedure = this._-4f1;
            this._-4xX = (window.findChildByName("item_list") as IItemListWindow);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:IWindowContainer;
            var k:_-H4;
            var k:IBitmapWrapperWindow;
            var k:Point;
            if (((((((((disposed) || (!(this._-2xo)))) || (!(_arg2)))) || (!(this._-4xX)))) || (!(this._-4GM))))
            {
                return;
            };
            var k:Array = [];
            if (this._-4xX._-1DH(_arg1, k))
            {
                for each (k in k)
                {
                    if (k)
                    {
                        k = (k.findChildByName("item_image") as IBitmapWrapperWindow);
                        if (k != null)
                        {
                            k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                            k = new Point(((k.width - _arg2.width) / 2), ((k.height - _arg2.height) / 2));
                            k.bitmap.copyPixels(_arg2, _arg2.rect, k, null, null, true);
                        };
                        k.id = 0;
                    };
                };
            };
            for each (k in this._-4GM)
            {
                if (k._-3Ea == _arg1)
                {
                    k._-3Ea = 0;
                    k.image = _arg2;
                };
            };
        }
        private function _-1Di(_arg1:int, _arg2:int, _arg3:String=null):_-2Gt
        {
            if (((((!(page)) || (!(page.viewer)))) || (!(page.viewer.roomEngine))))
            {
                return (null);
            };
            if (_arg2 == 1)
            {
                return (page.viewer.roomEngine.getFurnitureIcon(_arg1, this));
            };
            if (_arg2 == 2)
            {
                return (page.viewer.roomEngine.getWallItemIcon(_arg1, this, _arg3));
            };
            return (null);
        }
        private function _-2LJ(_arg1:String):XML
        {
            if (((((((!(page)) || (!(page.viewer)))) || (!(page.viewer.catalog)))) || (!(page.viewer.catalog.assets))))
            {
                return (null);
            };
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName(_arg1) as _-243);
            if (k == null)
            {
                return (null);
            };
            return ((k.content as XML));
        }
        private function _-565(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            var k:IItemListWindow;
            var k:int;
            var k:Map;
            var k:_-H4;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (((((!(this._-2xo)) || (!(_arg2)))) || (!(window))))
                {
                    return;
                };
                if (_arg2.name == "pick_button")
                {
                    k = (window.findChildByName("item_list") as IItemListWindow);
                    if (k == null)
                    {
                        return;
                    };
                    k = k._-ed(_arg1.window.parent);
                    k = this._-2xo._-3J4();
                    if (!k)
                    {
                        return;
                    };
                    k = (k.getWithIndex(k) as _-H4);
                    if (k)
                    {
                        this._-2xo._-3hi(k.offerId);
                    };
                };
            };
        }
        private function _-4f1(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg2 == null)
            {
                k = (_arg1.target as IWindow);
            };
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "redeem_sold":
                        if (this._-2xo)
                        {
                            this._-2xo._-0-F();
                        };
                        return;
                };
            };
        }
        public function _-4wp():void
        {
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.NewPetsCatalogWidget

package _-0Ai
{
    import _-18r.Map;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowEvent;
    import _-1lc.Offer;
    import _-30J._-2KB;
    import _-30J._-2uT;
    import _-30J._-06;
    import _-30J._-Xe;
    import _-2iw._-2xJ;
    import _-293.PetColorResult;
    import _-30J._-2gS;
    import _-30J._-06g;
    import _-30J._-3Xr;
    import _-3Bn._-1Ii;
    import _-3X8._-0hg;
    import _-30J._-0BT;
    import _-293._-5-S;
    import _-0l8._-10A;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import flash.display.BitmapData;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import flash.geom.Matrix;
    import _-293.*;

    public class NewPetsCatalogWidget extends _-4n4 implements _-3eG, dynamic 
    {

        private static const _-0yH:Array = [15];
        private static const _-1h2:int = 18;

        private var _-4GM:Map;
        private var _name:String;
        private var _-0Xk:int = -1;
        private var _-2WD:int = -1;
        private var _-1l8:String;
        private var _-4-v:Boolean = false;
        private var _-4Bk:Boolean = false;
        private var _-2PA:Array = null;
        private var _-3oJ:HabboCatalog;
        private var _-Kh:IWindow;
        private var _-4qm:Boolean = false;
        private var _-2mN:int = -1;

        public function NewPetsCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            if (this._-4Bk)
            {
                return;
            };
            this._-4-v = false;
            if (this._-4GM != null)
            {
                this._-4GM.dispose();
                this._-4GM = null;
            };
            this._-2PA = null;
            this._-3oJ = null;
            this._-Kh = null;
            super.dispose();
            this._-4Bk = true;
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-4-v = false;
            var k:ITextFieldWindow = (window.findChildByName("name_input_text") as ITextFieldWindow);
            if (k == null)
            {
                return (false);
            };
            k.addEventListener(WindowEvent._-0cZ, this._-18);
            this._-4GM = new Map();
            if (page.offers.length == 0)
            {
                return (false);
            };
            var k:Offer = page.offers[0];
            this._-0Xk = this._-52M(k._-5Dp);
            if (this._-0Xk < 8)
            {
                return (false);
            };
            this._-1l8 = k._-5Dp;
            this._-319(k._-5Dp);
            if (((!((this._-2PA == null))) && ((this._-2PA.length > 0))))
            {
                this._-2WD = 0;
            }
            else
            {
                this._-2WD = -1;
            };
            this._-4GM.add(this._-0Xk, k);
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            events.addEventListener(_-2KB.CWE_COLOUR_INDEX, this._-0u4);
            events.addEventListener(_-2KB._-0xs, this._-vd);
            events.addEventListener(_-2KB.CWE_WIDGETS_INITIALIZED, this._-0pC);
            events.addEventListener(_-2KB.CWE_SELLABLE_PET_PALETTES, this._-pv);
            return (true);
        }
        private function _-0pC(_arg1:_-Xe=null):void
        {
            if (this._-4Bk)
            {
                return;
            };
            events.dispatchEvent(new _-2uT(this._-3HF));
            var k:Offer = this._-4GM.getWithIndex(0);
            if (k != null)
            {
                events.dispatchEvent(new _-06(k));
            };
            this._-2r0();
        }
        private function _-2r0():void
        {
            var k:Array;
            var k:int;
            var k:_-2xJ;
            var k:PetColorResult;
            if (this._-2PA != null)
            {
                k = [];
                k = 0;
                while ((((k < _-1h2)) && ((k < this._-2PA.length))))
                {
                    k = this._-2PA[k];
                    k = this._-3oJ.roomEngine._-1Yb(this._-0Xk, k.paletteId);
                    if (k != null)
                    {
                        if (k._-4zy == k._-0xU)
                        {
                            k.push([k._-4zy]);
                        }
                        else
                        {
                            k.push([k._-4zy, k._-0xU]);
                        };
                    };
                    k++;
                };
                events.dispatchEvent(new _-2gS(k, "ctlg_clr_27x22_1", "ctlg_clr_27x22_2", "ctlg_clr_27x22_3"));
            };
        }
        private function _-0u4(_arg1:_-06g):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:int = _arg1.index;
            this._-IQ(k);
        }
        private function _-IQ(_arg1:int):void
        {
            if (((!((this._-2PA == null))) && ((this._-2PA.length > 0))))
            {
                if ((((_arg1 < 0)) || ((_arg1 > this._-2PA.length))))
                {
                    k = 0;
                };
                this._-2WD = _arg1;
                this._-2A();
            };
        }
        private function _-56R():String
        {
            var k:_-2xJ;
            if (this._-2WD < 0)
            {
                return ("");
            };
            if (((!((page == null))) && (!((page.viewer == null)))))
            {
                if (((!((this._-3oJ == null))) && (!((this._-3oJ.localization == null)))))
                {
                    k = (this._-2PA[this._-2WD] as _-2xJ);
                    return (this._-3oJ.localization.getKey(this._-0hE(this._-0Xk, k._-0qy), this._-0hE(this._-0Xk, k._-0qy)));
                };
            };
            k = this._-2PA[this._-2WD];
            return (this._-0hE(this._-0Xk, k._-0qy));
        }
        private function _-3HF(_arg1:WindowEvent, _arg2:Boolean):void
        {
            if (this._-4-v)
            {
                _-Nb.log("* Cannot buy a pet, pending previous name approval.");
            };
            if (this._-0lh() == "")
            {
                return;
            };
            this._-4-v = true;
            this._-4qm = _arg2;
            this._-3oJ._-4MS(this._name, 1);
        }
        private function _-18(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            this._name = k.text;
        }
        private function _-2vU(_arg1:_-06):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-2A();
        }
        private function _-vd(_arg1:_-3Xr):void
        {
            var event:_-3Xr = _arg1;
            var buyWithSeasonalCurrency:Boolean = this._-4qm;
            this._-4qm = false;
            if ((((event == null)) || (!(this._-4-v))))
            {
                return;
            };
            this._-4-v = false;
            var nameValidationInfo:String = event.nameValidationInfo;
            if (event.result != 0)
            {
                this._-3oJ._-2eK(false);
            };
            switch (event.result)
            {
                case 1:
                    this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", this._-3bX("long", nameValidationInfo), 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case 2:
                    this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", this._-3bX("short", nameValidationInfo), 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case 3:
                    this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", this._-3bX("chars", nameValidationInfo), 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case 4:
                    this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", this._-3bX("bobba", nameValidationInfo), 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
            };
            var extraParameter:String = this._-0lh();
            if (extraParameter == "")
            {
                _-Nb.log("* Not enough information to buy a pet!");
                return;
            };
            _-Nb.log(("* Will buy pet as " + extraParameter));
            var enablePublish:Boolean = this._-3oJ.configuration.getBoolean("friendbar.stream.pet_purchase.publish.enabled", false);
            this._-3oJ._-3So(this._-4GM.getWithIndex(0), page.pageId, extraParameter, 1, null, null, true, false, this._-2s2(), buyWithSeasonalCurrency);
        }
        private function _-3bX(_arg1:String, _arg2:String):String
        {
            var k:_-0hg = this._-3oJ.localization;
            var k:String = ("catalog.alert.petname." + _arg1);
            var k = (k + ".additionalInfo");
            k.registerParameter(k, "additional_info", _arg2);
            var k:String = k.getKey(k);
            var k:String = k.getKey(k);
            if (((((((!((_arg2 == null))) && ((_arg2.length > 0)))) && (!((k == null))))) && ((k.length > 0))))
            {
            };
            return (k);
        }
        private function _-pv(_arg1:_-0BT):void
        {
            if (_arg1._-1A8 == this._-1l8)
            {
                this._-2PA = this._-0TE(_arg1._-4XW);
                this._-2r0();
                this._-IQ(0);
                this._-2A();
            };
        }
        private function _-0TE(_arg1:Array):Array
        {
            var k:_-2xJ;
            if (!_arg1)
            {
                return (null);
            };
            var k:Array = new Array();
            for each (k in _arg1)
            {
                if ((((k.type == this._-0Xk)) && (k._-44d)))
                {
                    k.push(k);
                };
            };
            return (k);
        }
        private function _-2s2():BitmapData
        {
            var k:int;
            var k:_-5-S;
            var _local11:int;
            var _local12:int;
            var _local13:PetColorResult;
            var _local14:PetColorResult;
            var _local15:int;
            var _local16:int;
            var _local17:_-10A;
            var _local18:_-10A;
            var k:Offer = this._-4GM.getWithIndex(0);
            if ((((k == null)) || ((this._-2WD < 0))))
            {
                return (null);
            };
            k = this._-0Xk;
            var k:_-2xJ = this._-2PA[this._-2WD];
            var k:int = k.paletteId;
            var k = 0xFFFFFF;
            k = this._-3oJ.roomEngine;
            var k = (_-0yH.indexOf(k) == -1);
            var k:_-Xl = ((k) ? new _-Xl(135) : new _-Xl(90));
            var k:Array = [];
            switch (k)
            {
                case 15:
                    _local11 = k._-4OF(k, "hair");
                    _local12 = k._-4OF(k, "tail");
                    _local13 = k._-35B(k, "hair");
                    _local14 = k._-35B(k, "tail");
                    _local15 = ((_local13) ? parseInt(_local13.id) : -1);
                    _local16 = ((_local14) ? parseInt(_local14.id) : -1);
                    _local17 = new _-10A(_local11, -1, _local15);
                    _local18 = new _-10A(_local12, -1, _local16);
                    k = [_local17, _local18];
                    break;
            };
            var k:_-2Gt = k._-2s2(k, k, k, k, 64, this, true, 0, k);
            if (k != null)
            {
                this._-2mN = k.id;
                return (k.data);
            };
            return (null);
        }
        private function _-2A():void
        {
            var k:Offer = this._-4GM.getWithIndex(0);
            if ((((k == null)) || ((this._-2WD < 0))))
            {
                return;
            };
            var k:BitmapData = this._-2s2();
            if (k != null)
            {
                this._-Cy(k, true);
            };
            var k:IWindow = window.findChildByName("ctlg_teaserimg_1");
            this._-Kh = this._-3oJ.utils._-0GX(k, _-0xv, this._-Kh, k, 20, false, 24);
            var k:ITextWindow = (_-0xv.findChildByName("pet_breed_text") as ITextWindow);
            if (k)
            {
                k.caption = this._-56R();
            };
        }
        private function _-0lh():String
        {
            if ((((this._name == null)) || ((this._name.length == 0))))
            {
                this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", "${catalog.alert.petname.empty}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
                return ("");
            };
            if (this._-2WD < 0)
            {
                return ("");
            };
            var color:uint = 0xFFFFFF;
            var data:_-2xJ = this._-2PA[this._-2WD];
            var p:String = ((((this._name + String.fromCharCode(10)) + data.paletteId) + String.fromCharCode(10)) + this._-51n(color.toString(16).toUpperCase(), 6));
            return (p);
        }
        private function _-Cy(_arg1:BitmapData, _arg2:Boolean):void
        {
            var k:IBitmapWrapperWindow;
            var k:int;
            var k:BitmapData;
            var k:Point;
            if (!window.disposed)
            {
                if (_arg1 == null)
                {
                    k = new BitmapData(1, 1);
                    k = true;
                };
                k = (window.findChildByName("ctlg_teaserimg_1") as IBitmapWrapperWindow);
                if (k != null)
                {
                    if (k.bitmap == null)
                    {
                        k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                    };
                    k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
                    k = 1;
                    if (_-0yH.indexOf(this._-0Xk) == -1)
                    {
                        k = 2;
                    };
                    k = new BitmapData((_arg1.width * k), (_arg1.height * k), true, 0xFFFFFF);
                    k.draw(_arg1, new Matrix(k, 0, 0, k));
                    k = new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2));
                    k.bitmap.copyPixels(k, k.rect, k, null, null, true);
                    k.invalidate();
                    k.dispose();
                };
            };
            if (_arg2)
            {
                _arg1.dispose();
            };
        }
        private function _-52M(_arg1:String):int
        {
            if (_arg1.length == 0)
            {
                return (0);
            };
            var k:int;
            k = (_arg1.length - 1);
            while (k >= 0)
            {
                if (isNaN(parseInt(_arg1.charAt(k))))
                {
                    break;
                };
                k--;
            };
            if (k > 0)
            {
                return (int(_arg1.substring((k + 1))));
            };
            return (-1);
        }
        private function _-0hE(_arg1:int, _arg2:int):String
        {
            return (((("pet.breed." + _arg1) + ".") + _arg2));
        }
        private function _-51n(_arg1:String, _arg2:int):String
        {
            while (_arg1.length < _arg2)
            {
                k = ("0" + _arg1);
            };
            return (_arg1);
        }
        private function _-319(_arg1:String):void
        {
            var k:Array;
            if (this._-2PA == null)
            {
                k = this._-3oJ._-2D9(_arg1);
                this._-2PA = this._-0TE(k);
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1 == this._-2mN)
            {
                this._-Cy(_arg2, true);
                this._-0pC();
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.PetPreviewCatalogWidget

package _-0Ai
{
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-295._-243;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import _-30J._-2KB;
    import _-1lc.Offer;
    import flash.display.BitmapData;
    import _-293._-5-S;
    import _-1lc._-2eJ;
    import _-4n1._-0hX;
    import _-293.PetColorResult;
    import _-0l8._-10A;
    import _-32F._-48b;
    import _-3cY._-1mk;
    import _-30J._-06;
    import _-293.*;

    public class PetPreviewCatalogWidget extends _-4n4 implements _-3eG, dynamic 
    {

        private var _-tk:int = 15;
        private var _-3GH:int = 1;
        private var COLOR:int = 0xFFFFFF;
        private var _-1m1:int = 2;
        private var _-30y:int = -1;
        private var _-4V6:ITextWindow;
        private var _-3vV:ITextWindow;
        private var _-2iy:IBitmapWrapperWindow;
        private var _-Py:Point;
        private var _-4sC:int;
        protected var _-08o:XML;
        private var _-3oJ:HabboCatalog;
        private var _-Kh:IWindow;

        public function PetPreviewCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            this._-3oJ = null;
            this._-Kh = null;
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-4V6 = (_-0xv.findChildByName("ctlg_product_name") as ITextWindow);
            this._-3vV = (_-0xv.findChildByName("ctlg_description") as ITextWindow);
            this._-2iy = (_-0xv.findChildByName("ctlg_teaserimg_1") as IBitmapWrapperWindow);
            this._-Py = new Point(this._-2iy.x, this._-2iy.y);
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName("gridItem") as _-243);
            this._-08o = (k.content as XML);
            var k:_-2Gt = (page.viewer.catalog as HabboCatalog).roomEngine._-2s2(this._-tk, this._-1m1, this.COLOR, new _-Xl(90), 64, this, true, 0);
            if (k != null)
            {
                this._-Cy(k.data, true, new Point(0, 0));
                this._-4sC = k.id;
            };
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2iO);
            return (true);
        }
        private function _-2iO(_arg1:_-06):void
        {
            var k:Offer;
            var k:String;
            var k:String;
            var k:BitmapData;
            var k:_-5-S;
            var _local9:_-2eJ;
            var _local10:_-2Gt;
            var _local11:_-0hX;
            var _local12:String;
            var _local13:Array;
            var _local14:int;
            var _local15:Array;
            var _local16:Array;
            var _local17:Array;
            var _local18:Array;
            var _local19:int;
            var _local20:String;
            var _local21:Array;
            var _local22:int;
            var k:PetColorResult;
            var _local24:int;
            var _local25:int;
            var _local26:PetColorResult;
            var _local27:PetColorResult;
            var _local28:int;
            var _local29:int;
            var _local30:_-10A;
            var _local31:_-10A;
            if (_arg1 == null)
            {
                return;
            };
            k = _arg1.offer;
            var k:_-48b = page.viewer.catalog.getProductData(k._-5Dp);
            if (k != null)
            {
                k = (("${" + k.name) + "}");
                k = (("${" + k.description) + "}");
            }
            else
            {
                k = (("${" + k._-5Dp) + "}");
                k = (("${" + k._-5Dp) + "}");
            };
            this._-4V6.text = k;
            this._-3vV.text = k;
            this._-4V6.height = (this._-4V6.textHeight + 5);
            this._-3vV.y = (this._-4V6.y + this._-4V6.height);
            this._-3vV.height = Math.max(130, (this._-3vV.textHeight + 5));
            this._-Kh = this._-3oJ.utils._-0GX(_arg1.offer, _-0xv, this._-Kh, this._-2iy, -6, true, 6);
            var k:Point = new Point(0, 0);
            k = (page.viewer.catalog as HabboCatalog).roomEngine;
            switch (k._-1k2)
            {
                case Offer._-3NL:
                case Offer._-1sS:
                    _local9 = k.productContainer._-1YN;
                    _local11 = _local9._-5D1;
                    if ((((_local11 == null)) || ((_local11._-yz == null))))
                    {
                        _-Nb.log(("[PetPreviewCatalogWidget] Unsupported product: " + _local9._-5DX));
                        break;
                    };
                    _local12 = _local11._-yz;
                    _local13 = _local12.split(" ");
                    if (_local13.length < 1)
                    {
                        _-Nb.log(("[PetPreviewCatalogWidget] Invalid custom params: " + _local9._-5DX));
                        break;
                    };
                    _local14 = int(_local13[0]);
                    _local18 = [];
                    switch (_local11.category)
                    {
                        case _-1mk._-06w:
                            if (_local13.length < 2)
                            {
                                _-Nb.log(("[PetPreviewCatalogWidget] Invalid custom params: " + _local9._-5DX));
                                break;
                            };
                            _local20 = _local13[1];
                            _local21 = k._-0Pw(_local14, _local20);
                            for each (k in _local21)
                            {
                                if (k.breed == this._-3GH)
                                {
                                    _local22 = int(k.id);
                                    break;
                                };
                            };
                            switch (_local14)
                            {
                                case 15:
                                    _local24 = k._-4OF(_local14, "hair");
                                    _local25 = k._-4OF(_local14, "tail");
                                    _local26 = k._-35B(_local14, "hair");
                                    _local27 = k._-35B(_local14, "tail");
                                    _local28 = ((_local26) ? parseInt(_local26.id) : -1);
                                    _local29 = ((_local27) ? parseInt(_local27.id) : -1);
                                    _local30 = new _-10A(_local24, -1, _local28);
                                    _local31 = new _-10A(_local25, -1, _local29);
                                    _local18 = [_local30, _local31];
                                    break;
                            };
                            _local10 = k._-2s2(_local14, _local22, this.COLOR, new _-Xl(90), 64, this, true, 0, _local18);
                            break;
                        case _-1mk._-4cm:
                            if (_local13.length < 4)
                            {
                                _-Nb.log(("[PetPreviewCatalogWidget] Invalid custom params: " + _local9._-5DX));
                                break;
                            };
                            _local15 = (_local13[1] as String).split(",");
                            _local16 = (_local13[2] as String).split(",");
                            _local17 = (_local13[3] as String).split(",");
                            _local19 = 0;
                            while (_local19 < _local15.length)
                            {
                                _local18.push(new _-10A(int(_local15[_local19]), int(_local16[_local19]), int(_local17[_local19])));
                                _local19++;
                            };
                            _local10 = k._-2s2(_local14, this._-1m1, this.COLOR, new _-Xl(90), 64, this, true, 0, _local18);
                            break;
                        case _-1mk._-4yV:
                            if (_local13.length < 3)
                            {
                                _-Nb.log(("[PetPreviewCatalogWidget] Invalid custom params: " + _local9._-5DX));
                                break;
                            };
                            _local15 = (_local13[1] as String).split(",");
                            _local17 = (_local13[2] as String).split(",");
                            _local19 = 0;
                            while (_local19 < _local15.length)
                            {
                                _local18.push(new _-10A(int(_local15[_local19]), this._-30y, int(_local17[_local19])));
                                _local19++;
                            };
                            _local10 = k._-2s2(_local14, this._-1m1, this.COLOR, new _-Xl(90), 64, this, true, 0, _local18);
                            break;
                        case _-1mk._-0b3:
                            if (_local13.length < 4)
                            {
                                _-Nb.log(("[PetPreviewCatalogWidget] Invalid custom params: " + _local9._-5DX));
                            };
                            _local18.push(new _-10A(int(_local13[1]), int(_local13[2]), int(_local13[3])));
                            _local10 = k._-2s2(_local14, this._-1m1, this.COLOR, new _-Xl(90), 64, this, true, 0, _local18);
                            break;
                        default:
                            _-Nb.log(("[PetPreviewCatalogWidget] Unsupported Product Type: " + _local9._-5DX));
                    };
                    if (_local10 != null)
                    {
                        k._-3PE = _local10.id;
                        k = _local10.data;
                    };
                    break;
                default:
                    _-Nb.log(("[PetPreviewCatalogWidget] Unknown pricing model" + k._-1k2));
            };
            this._-Cy(k, true, k);
            _-0xv.invalidate();
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var _local3:Offer;
            if (((((disposed) || ((page == null)))) || ((page.offers == null))))
            {
                return;
            };
            if (this._-4sC == _arg1)
            {
                this._-Cy(_arg2, true);
                this._-4sC = 0;
            }
            else
            {
                for each (_local3 in page.offers)
                {
                    if (_local3._-3PE == _arg1)
                    {
                        this._-Cy(_arg2, true);
                        _local3._-3PE = 0;
                        break;
                    };
                };
            };
        }
        private function _-Cy(_arg1:BitmapData, _arg2:Boolean, _arg3:Point=null):void
        {
            var k:Point;
            if (((!((this._-2iy == null))) && (!(window.disposed))))
            {
                if (_arg1 == null)
                {
                    k = new BitmapData(1, 1);
                    k = true;
                };
                if (this._-2iy.bitmap == null)
                {
                    this._-2iy.bitmap = new BitmapData(this._-2iy.width, this._-2iy.height, true, 0xFFFFFF);
                };
                this._-2iy.bitmap.fillRect(this._-2iy.bitmap.rect, 0xFFFFFF);
                k = new Point(((this._-2iy.width - _arg1.width) / 2), ((this._-2iy.height - _arg1.height) / 2));
                this._-2iy.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
                this._-2iy.invalidate();
                this._-2iy.x = this._-Py.x;
                this._-2iy.y = this._-Py.y;
                if (_arg3 != null)
                {
                    this._-2iy.x = (this._-2iy.x + _arg3.x);
                    this._-2iy.y = (this._-2iy.y + _arg3.y);
                };
            };
            if (_arg2)
            {
                _arg1.dispose();
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.PetsCatalogWidget

package _-0Ai
{
    import _-18r.Map;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowEvent;
    import _-1lc.Offer;
    import _-30J._-2KB;
    import _-30J._-2uT;
    import _-30J._-06;
    import _-30J._-2V;
    import _-30J._-Xe;
    import _-1ae.IDropMenuWindow;
    import _-30J._-06g;
    import _-30J._-3Xr;
    import _-3Bn._-1Ii;
    import _-3X8._-0hg;
    import _-30J._-0BT;
    import _-2iw._-2xJ;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import flash.geom.Matrix;
    import _-293.*;

    public class PetsCatalogWidget extends _-4n4 implements _-3eG, dynamic 
    {

        private var _-4GM:Map;
        private var _name:String;
        private var _-0Xk:int = -1;
        private var _-2WD:int = 0;
        private var _-3NW:int = 0;
        private var _-1l8:String;
        private var _-4-v:Boolean = false;
        private var _-2PA:Array;
        private var _-0e:Array;
        private var _-4Bk:Boolean = false;
        private var _-3oJ:HabboCatalog;
        private var _-Kh:IWindow;
        private var _-4qm:Boolean;
        private var _-2mN:int = -1;

        public function PetsCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            if (this._-4Bk)
            {
                return;
            };
            this._-4-v = false;
            this._-4GM.dispose();
            this._-4GM = null;
            this._-2PA = null;
            this._-0e = null;
            this._-3oJ = null;
            this._-Kh = null;
            super.dispose();
            this._-4Bk = true;
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            this._-4-v = false;
            var k:IWindow = window.findChildByName("ctlg_buy_button");
            var k:ITextFieldWindow = (window.findChildByName("name_input_text") as ITextFieldWindow);
            if (k == null)
            {
                return (false);
            };
            k.addEventListener(WindowEvent._-0cZ, this._-18);
            this._-4GM = new Map();
            if (page.offers.length == 0)
            {
                return (false);
            };
            var k:Offer = page.offers[0];
            this._-0Xk = this._-52M(k._-5Dp);
            if (this._-0Xk >= 8)
            {
                return (false);
            };
            this._-319(k._-5Dp);
            this._-1l8 = k._-5Dp;
            this._-1dL();
            this._-4GM.add(this._-0Xk, k);
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            events.addEventListener(_-2KB.CWE_COLOUR_INDEX, this._-0u4);
            events.addEventListener(_-2KB._-0xs, this._-vd);
            events.addEventListener(_-2KB.CWE_WIDGETS_INITIALIZED, this._-0pC);
            events.addEventListener(_-2KB.CWE_SELLABLE_PET_PALETTES, this._-pv);
            return (true);
        }
        private function _-1dL():void
        {
            this._-0e = [];
            if (this._-0Xk == 0)
            {
                this._-0e = [16743226, 16750435, 16764339, 0xF59500, 16498012, 16704690, 0xEDD400, 16115545, 16513201, 8694111, 11585939, 14413767, 6664599, 9553845, 12971486, 8358322, 10002885, 13292268, 10780600, 12623573, 14403561, 12418717, 14327229, 15517403, 14515069, 15764368, 16366271, 0xABABAB, 0xD4D4D4, 0xFFFFFF, 14256481, 14656129, 15848130, 14005087, 14337152, 15918540, 15118118, 15531929, 9764857, 11258085];
            }
            else
            {
                if (this._-0Xk == 1)
                {
                    this._-0e = [16743226, 16750435, 16764339, 0xF59500, 16498012, 16704690, 0xEDD400, 16115545, 16513201, 8694111, 11585939, 14413767, 6664599, 9553845, 12971486, 8358322, 10002885, 13292268, 10780600, 12623573, 14403561, 12418717, 14327229, 15517403, 14515069, 15764368, 16366271, 0xABABAB, 0xD4D4D4, 0xFFFFFF, 14256481, 14656129, 15848130, 14005087, 14337152, 15918540, 15118118, 15531929, 9764857, 11258085];
                }
                else
                {
                    if (this._-0Xk == 2)
                    {
                        this._-0e = [16579283, 15378351, 8830016, 15257125, 9340985, 8949607, 6198292, 8703620, 9889626, 8972045, 12161285, 13162269, 8620113, 12616503, 8628101, 0xD2FF00, 9764857];
                    }
                    else
                    {
                        if (this._-0Xk == 3)
                        {
                            this._-0e = [0xFFFFFF, 0xEEEEEE, 0xDDDDDD];
                        }
                        else
                        {
                            if (this._-0Xk == 4)
                            {
                                this._-0e = [0xFFFFFF, 16053490, 15464440, 16248792, 15396319, 15007487];
                            }
                            else
                            {
                                if (this._-0Xk == 5)
                                {
                                    this._-0e = [0xFFFFFF, 0xEEEEEE, 0xDDDDDD];
                                }
                                else
                                {
                                    if (this._-0Xk == 6)
                                    {
                                        this._-0e = [0xFFFFFF, 0xEEEEEE, 0xDDDDDD, 16767177, 16770205, 16751331];
                                    }
                                    else
                                    {
                                        if (this._-0Xk == 7)
                                        {
                                            this._-0e = [0xCCCCCC, 0xAEAEAE, 16751331, 10149119, 16763290, 16743786];
                                        };
                                    };
                                };
                            };
                        };
                    };
                };
            };
        }
        private function _-0pC(_arg1:_-Xe=null):void
        {
            var k:int;
            if (this._-4Bk)
            {
                return;
            };
            events.dispatchEvent(new _-2uT(this._-3HF));
            var k:Offer = this._-4GM.getWithIndex(0);
            if (k != null)
            {
                events.dispatchEvent(new _-06(k));
            };
            var k:Array = [];
            for each (k in this._-0e)
            {
                k.push(k);
            };
            events.dispatchEvent(new _-2V(k, "ctlg_clr_27x22_1", "ctlg_clr_27x22_2", "ctlg_clr_27x22_3"));
        }
        private function _-3HF(_arg1:WindowEvent, _arg2:Boolean):void
        {
            if (this._-4-v)
            {
                _-Nb.log("* Cannot buy a pet, pending previous name approval.");
            };
            if (this._-0lh() == "")
            {
                return;
            };
            this._-4-v = true;
            this._-4qm = _arg2;
            this._-3oJ._-4MS(this._name, 1);
        }
        public function _-3Di(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            if (_arg1.type == WindowEvent._-2wB)
            {
                k = IDropMenuWindow(_arg2).selection;
                if ((((this._-2PA == null)) || ((k >= this._-2PA.length))))
                {
                    return;
                };
                this._-2WD = k;
                this._-2A();
            };
        }
        private function _-18(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            this._name = k.text;
        }
        private function _-2vU(_arg1:_-06):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-2A();
        }
        private function _-0u4(_arg1:_-06g):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-3NW = _arg1.index;
            if ((((this._-3NW < 0)) || ((this._-3NW > this._-0e.length))))
            {
                this._-3NW = 0;
            };
            this._-2A();
        }
        private function _-vd(_arg1:_-3Xr):void
        {
            var event:_-3Xr = _arg1;
            var buyWithSeasonalCurrency:Boolean = this._-4qm;
            this._-4qm = false;
            if ((((event == null)) || (!(this._-4-v))))
            {
                return;
            };
            this._-4-v = false;
            var nameValidationInfo:String = event.nameValidationInfo;
            if (event.result != 0)
            {
                this._-3oJ._-2eK(false);
            };
            switch (event.result)
            {
                case 1:
                    this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", this._-3bX("long", nameValidationInfo), 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case 2:
                    this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", this._-3bX("short", nameValidationInfo), 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case 3:
                    this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", this._-3bX("chars", nameValidationInfo), 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case 4:
                    this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", this._-3bX("bobba", nameValidationInfo), 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
            };
            var extraParameter:String = this._-0lh();
            if (extraParameter == "")
            {
                _-Nb.log("* Not enough information to buy a pet!");
                return;
            };
            _-Nb.log(("* Will buy pet as " + extraParameter));
            var enablePublish:Boolean = this._-3oJ.configuration.getBoolean("friendbar.stream.pet_purchase.publish.enabled", false);
            this._-3oJ._-3So(this._-4GM.getWithIndex(0), page.pageId, extraParameter, 1, null, null, true, false, this._-2s2(), buyWithSeasonalCurrency);
        }
        private function _-3bX(_arg1:String, _arg2:String):String
        {
            var k:_-0hg = this._-3oJ.localization;
            var k:String = ("catalog.alert.petname." + _arg1);
            var k = (k + ".additionalInfo");
            k.registerParameter(k, "additional_info", _arg2);
            var k:String = k.getKey(k);
            var k:String = k.getKey(k);
            if (((((((!((_arg2 == null))) && ((_arg2.length > 0)))) && (!((k == null))))) && ((k.length > 0))))
            {
            };
            return (k);
        }
        private function _-pv(_arg1:_-0BT):void
        {
            if (_arg1._-1A8 == this._-1l8)
            {
                this._-2PA = this._-0TE(_arg1._-4XW);
                this._-2WD = 0;
                this._-1fm();
            };
        }
        private function _-0TE(_arg1:Array):Array
        {
            var k:_-2xJ;
            if (!_arg1)
            {
                return (null);
            };
            var k:Array = new Array();
            for each (k in _arg1)
            {
                if ((((k.type == this._-0Xk)) && (k._-44d)))
                {
                    k.push(k);
                };
            };
            return (k);
        }
        private function _-1fm():void
        {
            var k:_-2xJ;
            var k:_-0hg = this._-3oJ.localization;
            var k:Array = new Array();
            var k:int;
            while (k < this._-2PA.length)
            {
                k = (this._-2PA[k] as _-2xJ);
                k.push(k.getKey(this._-0hE(this._-0Xk, k._-0qy), this._-0hE(this._-0Xk, k._-0qy)));
                k++;
            };
            var k:IDropMenuWindow = (window.findChildByName("type_drop_menu") as IDropMenuWindow);
            if (k == null)
            {
                return;
            };
            if (k.length > 1)
            {
                k.populate(k);
                k.selection = 0;
                k.procedure = this._-3Di;
                k.visible = true;
            }
            else
            {
                k.visible = false;
            };
            this._-2A();
        }
        private function _-2s2():BitmapData
        {
            var k:Offer = this._-4GM.getWithIndex(0);
            if (k == null)
            {
                return (null);
            };
            if ((((this._-2PA == null)) || ((this._-2WD >= this._-2PA.length))))
            {
                return (null);
            };
            var k:uint = 0xFFFFFF;
            if ((((this._-3NW >= 0)) && ((this._-3NW < this._-0e.length))))
            {
                k = this._-0e[this._-3NW];
            };
            var k:int = this._-0Xk;
            var k:_-2xJ = (this._-2PA[this._-2WD] as _-2xJ);
            var k:int = k.paletteId;
            var k:_-2Gt = this._-3oJ.roomEngine._-2s2(k, k, k, new _-Xl(90, 0, 0), 64, this);
            if (k != null)
            {
                this._-2mN = k.id;
                return (k.data);
            };
            return (null);
        }
        private function _-2A():void
        {
            var k:Offer = this._-4GM.getWithIndex(0);
            if ((((k == null)) || ((this._-2WD < 0))))
            {
                return;
            };
            var k:BitmapData = this._-2s2();
            if (k != null)
            {
                this._-Cy(k, true);
            };
            var k:IWindow = window.findChildByName("ctlg_teaserimg_1");
            this._-Kh = this._-3oJ.utils._-0GX(k, _-0xv, this._-Kh, k, 35, false, 24);
        }
        private function _-0lh():String
        {
            if ((((this._name == null)) || ((this._name.length == 0))))
            {
                this._-3oJ.windowManager.alert("${catalog.alert.purchaseerror.title}", "${catalog.alert.petname.empty}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
                return ("");
            };
            if ((((this._-2PA == null)) || ((this._-2WD >= this._-2PA.length))))
            {
                return ("");
            };
            if (this._-3NW >= this._-0e.length)
            {
                return ("");
            };
            var color:uint = this._-0e[this._-3NW];
            var data:_-2xJ = (this._-2PA[this._-2WD] as _-2xJ);
            var paletteId:int = data.paletteId;
            var p:String = ((((this._name + String.fromCharCode(10)) + paletteId) + String.fromCharCode(10)) + this._-51n(color.toString(16).toUpperCase(), 6));
            return (p);
        }
        private function _-Cy(_arg1:BitmapData, _arg2:Boolean):void
        {
            var k:IBitmapWrapperWindow;
            var k:int;
            var k:BitmapData;
            var k:Point;
            if (!window.disposed)
            {
                if (_arg1 == null)
                {
                    k = new BitmapData(1, 1);
                    k = true;
                };
                k = (window.findChildByName("ctlg_teaserimg_1") as IBitmapWrapperWindow);
                if (k != null)
                {
                    if (k.bitmap == null)
                    {
                        k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                    };
                    k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
                    k = 2;
                    k = new BitmapData((_arg1.width * k), (_arg1.height * k), true, 0xFFFFFF);
                    k.draw(_arg1, new Matrix(k, 0, 0, k));
                    k = new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2));
                    k.bitmap.copyPixels(k, k.rect, k, null, null, true);
                    k.invalidate();
                    k.dispose();
                };
            };
            if (_arg2)
            {
                _arg1.dispose();
            };
        }
        private function _-52M(_arg1:String):int
        {
            if (_arg1.length == 0)
            {
                return (0);
            };
            var k:int;
            k = (_arg1.length - 1);
            while (k >= 0)
            {
                if (isNaN(parseInt(_arg1.charAt(k))))
                {
                    break;
                };
                k--;
            };
            if (k > 0)
            {
                return (int(_arg1.substring((k + 1))));
            };
            return (-1);
        }
        private function _-0hE(_arg1:int, _arg2:int):String
        {
            return (((("pet.breed." + _arg1) + ".") + _arg2));
        }
        private function _-51n(_arg1:String, _arg2:int):String
        {
            while (_arg1.length < _arg2)
            {
                k = ("0" + _arg1);
            };
            return (_arg1);
        }
        private function _-319(_arg1:String):void
        {
            var k:Array;
            if (this._-2PA == null)
            {
                k = this._-3oJ._-2D9(_arg1);
                this._-2PA = this._-0TE(k);
                this._-2WD = 0;
                if (this._-2PA != null)
                {
                    this._-1fm();
                };
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1 == this._-2mN)
            {
                this._-Cy(_arg2, true);
                this._-0pC();
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.ProductViewCatalogWidget

package _-0Ai
{
    import flash.display.BitmapData;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IDisplayObjectWrapper;
    import flash.geom.Point;
    import _-1ae.IItemGridWindow;
    import _-1ae.IScrollbarWindow;
    import _-30J._-06;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindow;
    import _-1lc._-2eJ;
    import _-2Mh._-3Uw;
    import _-1lc._-1Lw;
    import _-30J._-2KB;
    import _-30J._-53p;
    import _-0Ie.WindowMouseEvent;
    import _-1lc._-2Ml;
    import flash.display.DisplayObject;
    import _-295._-243;
    import _-295.BitmapDataAsset;
    import _-1lc.Offer;
    import _-293._-2Gt;
    import _-293._-4q2;
    import _-1lc._-ij;
    import _-0F-.StringArrayStuffData;
    import _-4Kb._-40f;
    import _-4pF._-3Ts;
    import _-1kb._-Gh;
    import _-1kb._-cH;
    import _-1kb._-oL;
    import _-32F._-48b;
    import _-30J._-56l;
    import _-1lc.ProductImageConfiguration;
    import _-30J._-1PO;
    import _-0y0._-Xl;
    import _-0se._-1uH;
    import _-0se._-18q;
    import _-0se._-24J;
    import _-3CK._-2Hp;
    import flash.geom.Matrix;
    import flash.display.BlendMode;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import flash.events.Event;
    import _-293.*;

    public class ProductViewCatalogWidget extends _-4n4 implements _-3eG, dynamic 
    {

        private var _-4QJ:BitmapData;
        private var _-4V6:ITextWindow;
        private var _-3vV:ITextWindow;
        private var _-2iy:IBitmapWrapperWindow;
        private var _-24b:IWindowContainer;
        private var _-15o:IDisplayObjectWrapper;
        private var _-Py:Point;
        private var _-09S:IItemGridWindow;
        private var _-372:IScrollbarWindow;
        protected var _-08o:XML;
        private var _-1u:Array;
        private var _-dl:int = -1;
        private var _selectedGuildColor1:String;
        private var _selectedGuildColor2:String;
        private var _-3PO:String;
        private var _-2Ya:_-06 = null;
        private var _-3oJ:HabboCatalog;
        private var _-Kh:IWindow;
        private var _-1-T:Boolean = true;
        private var _-1qB:Boolean = false;

        public function ProductViewCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        private static function _-4bk(_arg1:_-06):Boolean
        {
            var k:int;
            var k:_-2eJ;
            var k:Boolean;
            if (_arg1.offer.productContainer.products.length == 2)
            {
                k = 0;
                while (k < 2)
                {
                    k = _arg1.offer.productContainer.products[k];
                    if ((((k._-5DX == _-3Uw._-17R)) && ((k._-3yk == _-1Lw._-3Jj))))
                    {
                        k = true;
                    };
                    k++;
                };
            };
            return (k);
        }

        override public function dispose():void
        {
            if (!disposed)
            {
                events.removeEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2iO);
                events.removeEventListener(_-2KB.CWE_GUILD_SELECTED, this._-3Oo);
                events.removeEventListener(_-53p._-0dA, this._-072);
                events.removeEventListener(_-2KB.CWE_TOTAL_PRICE_WIDGET_INITIALIZED, this._-gM);
                this._-3oJ = null;
                this._-Kh = null;
                super.dispose();
                this._-4QJ = null;
                if (this._-24b != null)
                {
                    this._-24b.removeEventListener(WindowMouseEvent._-90, this._-26s);
                    this._-24b = null;
                };
            };
        }
        override public function init():Boolean
        {
            var k:_-2Ml;
            var k:DisplayObject;
            if (!super.init())
            {
                return (false);
            };
            this._-Kh = null;
            this._-4V6 = (_-0xv.findChildByName("ctlg_product_name") as ITextWindow);
            this._-3vV = (_-0xv.findChildByName("ctlg_description") as ITextWindow);
            this._-2iy = (_-0xv.findChildByName("ctlg_teaserimg_1") as IBitmapWrapperWindow);
            this._-24b = (_-0xv.findChildByName("room_canvas_container") as IWindowContainer);
            if (this._-24b != null)
            {
                this._-24b.visible = false;
                this._-15o = (this._-24b.findChildByName("room_canvas") as IDisplayObjectWrapper);
                k = (page.viewer.catalog as HabboCatalog)._-0ro;
                if (((!((this._-15o == null))) && (!((k == null)))))
                {
                    this._-24b.addEventListener(WindowMouseEvent._-90, this._-26s);
                    k._-4AN = false;
                    k.reset(false);
                    k = k._-20M(this._-15o.width, this._-15o.height);
                    if (k != null)
                    {
                        this._-15o.setDisplayObject(k);
                    };
                }
                else
                {
                    this._-24b = null;
                    this._-15o = null;
                };
            };
            this._-Py = new Point(this._-2iy.x, this._-2iy.y);
            this._-09S = (_-0xv.findChildByName("bundleGrid") as IItemGridWindow);
            this._-372 = (_-0xv.findChildByName("bundleGridScrollbar") as IScrollbarWindow);
            if (this._-09S == null)
            {
                _-Nb.log("[ProductViewCatalogWidget] Bundle Grid not initialized!");
            };
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName("gridItem") as _-243);
            this._-08o = (k.content as XML);
            var k:BitmapDataAsset = (page.viewer.catalog.assets.getAssetByName("ctlg_dyndeal_background") as BitmapDataAsset);
            this._-4QJ = (k.content as BitmapData);
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2iO);
            events.addEventListener(_-2KB.CWE_GUILD_SELECTED, this._-3Oo);
            events.addEventListener(_-53p._-0dA, this._-072);
            events.addEventListener(_-2KB.CWE_TOTAL_PRICE_WIDGET_INITIALIZED, this._-gM);
            return (true);
        }
        private function _-2iO(_arg1:_-06):void
        {
            var k:Offer;
            var k:String;
            var k:String;
            var _local6:BitmapData;
            var _local7:Point;
            var _local8:_-2Ml;
            var _local9:_-2eJ;
            var _local10:_-2Gt;
            var _local11:_-4q2;
            var k:_-ij;
            var k:Array;
            var k:StringArrayStuffData;
            var _local15:_-40f;
            var k:String;
            var _local17:_-3Ts;
            var _local18:IWindowContainer;
            var _local19:uint;
            var _local20:BitmapData;
            var _local21:HabboCatalog;
            var _local22:_-40f;
            var k:String;
            var k:Point;
            var k:int;
            var k:Point;
            var k:_-Gh;
            var k:_-cH;
            var k:_-oL;
            if (_arg1 == null)
            {
                return;
            };
            this._-2Ya = _arg1;
            this._-3ba();
            k = _arg1.offer;
            if (this._-09S != null)
            {
                this._-09S.visible = false;
                this._-09S.destroyGridItems();
            };
            if (this._-372 != null)
            {
                this._-372.visible = false;
            };
            var k:_-48b = page.viewer.catalog.getProductData(k._-5Dp);
            if (k != null)
            {
                k = (("${" + k.name) + "}");
                k = (("${" + k.description) + "}");
            }
            else
            {
                k = (("${" + k._-5Dp) + "}");
                k = (("${" + k._-5Dp) + "}");
            };
            this._-4V6.text = k;
            this._-3vV.text = k;
            this._-4V6.height = (this._-4V6.textHeight + 5);
            this._-3vV.y = (this._-4V6.y + this._-4V6.height);
            this._-3vV.height = Math.max(130, (this._-3vV.textHeight + 5));
            if (((((this._-3oJ._-2bx) && (_arg1.offer._-3by))) && (this._-1qB)))
            {
                this._-4ia();
                this._-2vd(k);
                this._-1-T = false;
            }
            else
            {
                events.dispatchEvent(new _-53p(_-53p._-1MR));
                events.dispatchEvent(new _-56l(_-56l._-1MR));
                this._-1-T = true;
            };
            if (this._-1-T)
            {
                this._-Kh = this._-3oJ.utils._-0GX(_arg1.offer, _-0xv, this._-Kh, this._-2iy, -6, true, 6, page.acceptSeasonCurrencyAsCredits, page.acceptSeasonCurrencyAsCredits);
            }
            else
            {
                if (this._-Kh != null)
                {
                    _-0xv.removeChild(this._-Kh);
                    this._-Kh.dispose();
                    this._-Kh = null;
                };
            };
            if (((!((_arg1.offer._-3T == null))) && (!((_arg1.offer._-3T == "")))))
            {
                this._-3oJ.utils._-0Lr(_arg1.offer._-3T, _-0xv, 6, 38, true, false);
            }
            else
            {
                if (_-4bk(_arg1))
                {
                    this._-3oJ.utils._-2f4("catalogue_effects_ninja", _-0xv, 6, 38, true, false);
                }
                else
                {
                    this._-3oJ.utils._-4D4(_-0xv);
                };
            };
            if (ProductImageConfiguration._-0H3(k._-5Dp))
            {
                this._-1pO(ProductImageConfiguration._-57-[k._-5Dp]);
                if (this._-24b != null)
                {
                    this._-24b.visible = false;
                };
            }
            else
            {
                _local7 = new Point(0, 0);
                _local8 = (page.viewer.catalog as HabboCatalog)._-0ro;
                switch (k._-1k2)
                {
                    case Offer._-2mE:
                        _local6 = this._-4QJ.clone();
                        if (this._-09S != null)
                        {
                            this._-09S.visible = true;
                            k = (k.productContainer as _-ij);
                            k.populateItemGrid(this._-09S, this._-372, this._-08o);
                            this._-09S.scrollV = 0;
                        };
                        if (this._-24b != null)
                        {
                            this._-24b.visible = false;
                        };
                        break;
                    case Offer._-3NL:
                    case Offer._-1sS:
                        _local9 = k.productContainer._-1YN;
                        if (this._-24b != null)
                        {
                            if ((((((_local9._-5DX == _-3Uw._-5Ds)) || ((_local9._-5DX == _-3Uw._-0xA)))) || ((_local9._-5DX == _-3Uw._-17R))))
                            {
                                this._-24b.visible = true;
                            }
                            else
                            {
                                this._-24b.visible = false;
                            };
                        };
                        _local11 = null;
                        if (this._-dl != _-1PO._-zn)
                        {
                            k = new Array();
                            k.push("0");
                            k.push(this._-dl.toString());
                            k.push(this._-3PO);
                            k.push(this._selectedGuildColor1);
                            k.push(this._selectedGuildColor2);
                            k = new StringArrayStuffData();
                            k._-1Ll(k);
                            _local11 = k;
                        };
                        if (((!((_local8 == null))) && (!((this._-15o == null)))))
                        {
                            _local8._-323.y = ((_local9._-0bb) ? -15 : 0);
                            _local8._-4AN = false;
                        };
                        switch (_local9._-5DX)
                        {
                            case _-3Uw._-5Ds:
                                if (((!((_local8 == null))) && (!((this._-15o == null)))))
                                {
                                    _local8._-0T0(_local9._-3yk, new _-Xl(90, 0, 0), _local11);
                                }
                                else
                                {
                                    _local10 = page.viewer.roomEngine.getFurnitureImage(_local9._-3yk, new _-Xl(90, 0, 0), 64, this, 0, _local9._-1gg, -1, -1, _local11);
                                    k._-3PE = _local10.id;
                                };
                                break;
                            case _-3Uw._-0xA:
                                if (((!((_local8 == null))) && (!((this._-15o == null)))))
                                {
                                    _local8._-0B(_local9._-3yk, new _-Xl(90, 0, 0), _local9._-1gg);
                                }
                                else
                                {
                                    _local10 = page.viewer.roomEngine.getWallItemImage(_local9._-3yk, new _-Xl(90, 0, 0), 64, this, 0, _local9._-1gg);
                                    k._-3PE = _local10.id;
                                };
                                break;
                            case _-3Uw._-0Z7:
                                _local15 = this._-3oJ.avatarRenderManager.createAvatarImage(_local9._-1gg, _-1uH._-JU, null);
                                _local15.appendAction(_-18q._-4QC, _-18q._-X8);
                                _local15.setDirection(_-24J._-2YU, 4);
                                _local15.setDirection(_-24J._-0GH, 3);
                                _local6 = _local15._-1hx(_-24J._-2YU);
                                break;
                            case _-3Uw._-17R:
                                if (((!((_local8 == null))) && (!((this._-15o == null)))))
                                {
                                    k = (page.viewer.catalog as HabboCatalog).sessionDataManager.figure;
                                    _local8._-8Z(k, _local9._-3yk);
                                }
                                else
                                {
                                    _local17 = page.viewer.catalog.windowManager;
                                    _local18 = (_-0xv.findChildByName("pixelsBackground") as IWindowContainer);
                                    _local19 = 4291611852;
                                    if (_local18 != null)
                                    {
                                        _local18.visible = true;
                                        _local19 = _local18.color;
                                    };
                                    _local6 = new BitmapData(this._-2iy.width, this._-2iy.height, false, _local19);
                                    _local20 = null;
                                    _local21 = (page.viewer.catalog as HabboCatalog);
                                    if (_local21.avatarRenderManager != null)
                                    {
                                        k = _local21.sessionDataManager.figure;
                                        _local22 = _local21.avatarRenderManager.createAvatarImage(k, _-1uH._-JU);
                                        if (_local22 != null)
                                        {
                                            _local22.setDirection(_-24J._-0GH, 3);
                                            _local22._-3E7();
                                            _local22.appendAction(_-18q._-4QC, _-18q._-X8);
                                            _local22.appendAction(_-18q._-46C, _local9._-3yk);
                                            _local22._-1Z0();
                                            _local22._-4CN(1);
                                            _local22._-4CN(1);
                                            _local20 = _local22._-2Xc(_-24J._-2YU, true);
                                            k = new Point(0, 0);
                                            if (_local20 != null)
                                            {
                                                k = _local22._-4iV;
                                                if (k != null)
                                                {
                                                };
                                                k.x = ((_local6.width - _local20.width) / 2);
                                                k.y = ((_local6.height - _local20.height) / 2);
                                                for each (k in _local22._-3YU())
                                                {
                                                    if (k.id == "avatar")
                                                    {
                                                        k = _local22._-0JM(k);
                                                        _local7.x = k.dx;
                                                        _local7.y = k.dy;
                                                    };
                                                };
                                            };
                                            k = 64;
                                            k = new Point(((_local20.width - k) / 2), (_local20.height - (k / 4)));
                                            this._-5Bg(_local6, _local22, _local7, k.add(k), false);
                                            _local6.copyPixels(_local20, _local20.rect, k, null, null, true);
                                            this._-5Bg(_local6, _local22, _local7, k.add(k));
                                        };
                                    };
                                    if (_local22)
                                    {
                                        _local22.dispose();
                                    };
                                };
                                break;
                            case _-3Uw._-0dl:
                                break;
                            default:
                                _-Nb.log(("[ProductViewCatalogWidget] Unknown Product Type: " + _local9._-5DX));
                        };
                        if (_local10 != null)
                        {
                            _local6 = _local10.data;
                        };
                        break;
                    default:
                        _-Nb.log(("[ProductViewCatalogWidget] Unknown pricing model" + k._-1k2));
                };
                this._-Cy(_local6, true, _local7);
            };
            _-0xv.invalidate();
        }
        private function _-2vd(_arg1:Offer):void
        {
            var k:_-2Hp = new _-2Hp(_-2Hp._-3Is);
            k.activityPointType = _arg1.activityPointType;
            k.priceActivityPoints = _arg1._-17D;
            k.priceCredits = _arg1._-w6;
            k._-3T = _arg1._-3T;
            events.dispatchEvent(new _-56l(_-56l._-D5, k));
        }
        private function _-4ia():void
        {
            if (this._-3oJ._-B6)
            {
                events.dispatchEvent(new _-53p(_-53p._-D5, 1, this._-3oJ.utils._-4DJ));
            }
            else
            {
                events.dispatchEvent(new _-53p(_-53p._-D5, 1));
            };
            events.dispatchEvent(new _-53p(_-53p._-WV));
            if (this._-3oJ._-5FE != null)
            {
                events.dispatchEvent(new _-53p(_-53p._-4gc, this._-3oJ._-5FE._-3zW));
            };
            events.dispatchEvent(new _-53p(_-53p._-3kf, 1));
        }
        private function _-5Bg(_arg1:BitmapData, _arg2:_-40f, _arg3:Point, _arg4:Point, _arg5:Boolean=true):void
        {
            var k:_-cH;
            var k:int;
            var k:_-oL;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Matrix;
            for each (k in _arg2._-3YU())
            {
                k = _-0xv.getChildIndex(this._-2iy);
                k = _arg2._-0JM(k);
                k = 0;
                k = k._-xO(_arg2.getDirection());
                k = k._-1je(_arg2.getDirection());
                k = k._-bi(_arg2.getDirection());
                k = 0;
                if (!_arg5)
                {
                    if (k >= 0)
                    {
                        continue;
                    };
                }
                else
                {
                    if (k < 0)
                    {
                        continue;
                    };
                };
                if (k._-2MN)
                {
                    k = _arg2.getDirection();
                };
                if (k != null)
                {
                    k = k._-2Ec;
                    k = (k + k.dx);
                    k = (k + k.dy);
                    k = (k + k._-3J7);
                };
                if (k < 0)
                {
                    k = (k + 8);
                };
                if (k > 7)
                {
                    k = (k - 8);
                };
                k = ((((((_arg2._-Z8() + "_") + k.member) + "_") + k) + "_") + k);
                k = _arg2.getAsset(k);
                if (k == null)
                {
                }
                else
                {
                    k = (k.content as BitmapData).clone();
                    k = 1;
                    k = ((_arg4.x - (1 * k.offset.x)) + k);
                    k = ((_arg4.y - (1 * k.offset.y)) + k);
                    if (k.ink == 33)
                    {
                        k = new Matrix(1, 0, 0, 1, (k - _arg3.x), (k - _arg3.y));
                        _arg1.draw(k, k, null, BlendMode.ADD, null, false);
                    }
                    else
                    {
                        _arg1.copyPixels(k, k.rect, new Point((k - _arg3.x), (k - _arg3.y)));
                    };
                };
            };
        }
        private function _-3ba():void
        {
            var k:IBitmapWrapperWindow;
            for each (k in this._-1u)
            {
                _-0xv.removeChild(k);
                k.dispose();
                k = null;
            };
            this._-1u = new Array();
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:Offer;
            if (((((disposed) || ((page == null)))) || ((page.offers == null))))
            {
                return;
            };
            for each (k in page.offers)
            {
                if (k._-3PE == _arg1)
                {
                    this._-Cy(_arg2, true);
                    k._-3PE = 0;
                    break;
                };
            };
        }
        private function _-Cy(_arg1:BitmapData, _arg2:Boolean, _arg3:Point=null):void
        {
            var k:Point;
            if (((!((this._-2iy == null))) && (!(window.disposed))))
            {
                if (_arg1 == null)
                {
                    k = new BitmapData(1, 1);
                    k = true;
                };
                if (this._-2iy.bitmap == null)
                {
                    this._-2iy.bitmap = new BitmapData(this._-2iy.width, this._-2iy.height, true, 0xFFFFFF);
                };
                this._-2iy.bitmap.fillRect(this._-2iy.bitmap.rect, 0xFFFFFF);
                k = new Point(((this._-2iy.width - _arg1.width) / 2), ((this._-2iy.height - _arg1.height) / 2));
                this._-2iy.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
                this._-2iy.invalidate();
                this._-2iy.x = this._-Py.x;
                this._-2iy.y = this._-Py.y;
                if (_arg3 != null)
                {
                    this._-2iy.x = (this._-2iy.x + _arg3.x);
                    this._-2iy.y = (this._-2iy.y + _arg3.y);
                };
            };
            if (_arg2)
            {
                _arg1.dispose();
            };
        }
        private function _-1pO(_arg1:String):void
        {
            if (((((((((!(_arg1)) || (!(page)))) || (!(page.viewer)))) || (!(page.viewer.catalog)))) || (!(page.viewer.catalog.assets))))
            {
                return;
            };
            var k:BitmapDataAsset = (page.viewer.catalog.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k == null)
            {
                this._-4Jr(_arg1);
                return;
            };
            this._-Cy((k.content as BitmapData), false);
        }
        private function _-4Jr(_arg1:String):void
        {
            if (((((((((!(_arg1)) || (!(page)))) || (!(page.viewer)))) || (!(page.viewer.catalog)))) || (!(page.viewer.catalog.configuration))))
            {
                return;
            };
            var k = ((page.viewer.catalog.imageGalleryHost + _arg1) + ".gif");
            _-Nb.log(("[ProductViewCatalogWidget] Retrieve Product Preview Asset: " + k));
            var k:URLRequest = new URLRequest(k);
            if (!page.viewer.catalog.assets)
            {
                return;
            };
            var k:_-4Rz = page.viewer.catalog.assets.loadAssetFromFile(_arg1, k, "image/gif");
            if (!k)
            {
                return;
            };
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-4JW);
        }
        private function _-4JW(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                this._-1pO(k.assetName);
                k.removeEventListener(AssetLoaderEvent._-1Tr, this._-4JW);
            };
        }
        private function _-26s(_arg1:WindowMouseEvent):void
        {
            var k:_-2Ml = (page.viewer.catalog as HabboCatalog)._-0ro;
            if (k != null)
            {
                k._-TN();
            };
        }
        private function _-3Oo(_arg1:_-1PO):void
        {
            var k:_-2Ml;
            this._-dl = _arg1._-2Jo;
            this._selectedGuildColor1 = _arg1.color1;
            this._selectedGuildColor2 = _arg1.color2;
            this._-3PO = _arg1._-3T;
            if (((!((this._-2Ya == null))) && (!((this._-dl == _-1PO._-zn)))))
            {
                k = (page.viewer.catalog as HabboCatalog)._-0ro;
                if (k != null)
                {
                    k.reset(false);
                };
                this._-2iO(this._-2Ya);
            };
        }
        private function _-072(_arg1:_-53p):void
        {
            var k:IWindowContainer;
            if (_arg1.type == _-53p._-0dA)
            {
                k = (window.findChildByName("price_box_new") as IWindowContainer);
                if (((!((k == null))) && (!((this._-2Ya == null)))))
                {
                    this._-3oJ.utils._-2xX(k, this._-2Ya.offer, _arg1.value, page.acceptSeasonCurrencyAsCredits, true);
                };
            };
        }
        private function _-gM(_arg1:Event):void
        {
            this._-1qB = true;
        }
        override public function closed():void
        {
            var k:_-2Ml = (page.viewer.catalog as HabboCatalog)._-0ro;
            k._-4AN = true;
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.PurchaseCatalogWidget

package _-0Ai
{
    import _-Ew.IWindowContainer;
    import _-1lc.Offer;
    import _-293._-4q2;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindow;
    import _-30J._-2KB;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IIconWindow;
    import _-295._-243;
    import _-30J._-53p;
    import _-30J._-2uT;
    import _-04Z._-1xf;
    import _-1ae.ITextWindow;
    import _-30J._-06;
    import _-1lc._-2eJ;
    import _-30J._-3dq;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-2gz.HabboTracking;
    import _-30J._-4N3;
    import _-2Mh._-3YS;
    import _-0F-.StringArrayStuffData;
    import _-30J._-1PO;

    public class PurchaseCatalogWidget extends _-4n4 implements _-3eG 
    {

        private var _-4r0:XML;
        private var _-oY:IWindowContainer;
        private var _-mB:Offer;
        private var _-1wb:String = "";
        private var _-3UQ:_-4q2 = null;
        private var _-HB:int = 1;
        private var _-3rD:Function;
        private var _-3oJ:HabboCatalog;
        private var _-4xF:IWindow;

        public function PurchaseCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            events.removeEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            events.removeEventListener(_-2KB._-0h3, this._-0Cb);
            events.removeEventListener(_-2KB.CWE_PURCHASE_OVERRIDE, this._-2NG);
            super.dispose();
        }
        override public function init():Boolean
        {
            var k:String;
            var _local3:IButtonWindow;
            if (!super.init())
            {
                return (false);
            };
            this._-4xF = this._-3oJ.utils.createWindow("purchaseButtons");
            _-0xv.addChild(this._-4xF);
            _-0xv.getChildAt(0).y = (_-0xv.getChildAt(0).y - 2);
            _-0xv.getChildAt(0).x = (_-0xv.getChildAt(0).x + 2);
            this._-4xF.visible = false;
            if (window.tags.indexOf("ROOM_INITIATE_PURCHASE") > -1)
            {
                this._-3oJ._-aj();
            };
            if (page.acceptSeasonCurrencyAsCredits)
            {
                _-0xv.findChildByName("default_buttons").visible = false;
                _-0xv.findChildByName("seasonal_buttons").visible = true;
                _-0xv.findChildByName("buy_with_credits_button").addEventListener(WindowMouseEvent._-90, this._-3HF);
                _-0xv.findChildByName("buy_with_seasonal_currency_button").addEventListener(WindowMouseEvent._-90, this._-2OB);
                k = this._-3oJ.configuration.getKey("seasonalcurrencyindicator.currency", "101");
                IIconWindow(_-0xv.findChildByName("currency_icon")).style = int(this._-3oJ.configuration.getKey(("currencyiconstyle.big." + k)));
            }
            else
            {
                _-0xv.findChildByName("default_buttons").visible = true;
                _-0xv.findChildByName("seasonal_buttons").visible = false;
                _-0xv.findChildByName("buy_button").addEventListener(WindowMouseEvent._-90, this._-3HF);
                _local3 = (_-0xv.findChildByName("gift_button") as IButtonWindow);
                if (window.tags.indexOf("NO_GIFT_OPTION") > -1)
                {
                    _local3.visible = false;
                };
                _local3.addEventListener(WindowMouseEvent._-90, this._-V9);
                _local3.disable();
            };
            var k:_-243 = (this._-3oJ.assets.getAssetByName("purchaseWidgetBuyVipStub") as _-243);
            if (k != null)
            {
                this._-4r0 = (k.content as XML);
            };
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            events.addEventListener(_-2KB._-0h3, this._-0Cb);
            events.addEventListener(_-2KB.CWE_PURCHASE_OVERRIDE, this._-2NG);
            events.addEventListener(_-2KB.CWE_INIT_PURCHASE, this._-2k4);
            events.addEventListener(_-2KB.CWE_GUILD_SELECTED, this._-3Oo);
            events.addEventListener(_-53p._-0dA, this._-2-z);
            return (true);
        }
        private function _-2NG(_arg1:_-2uT):void
        {
            this._-3rD = _arg1.callback;
        }
        private function _-L8(_arg1:Offer):void
        {
            var k:IWindowContainer;
            var k:IButtonWindow;
            if (this._-oY != null)
            {
                this._-oY.visible = false;
                _-0xv.removeChild(this._-oY);
                this._-oY.dispose();
                this._-oY = null;
            };
            if (this._-3oJ.sessionDataManager.clubLevel < _arg1.clubLevel)
            {
                k = (this._-3oJ.windowManager.buildFromXML(this._-4r0) as IWindowContainer);
                if (k != null)
                {
                    this._-oY = k;
                    _-0xv.addChild(k);
                    this._-oY.x = 0;
                    this._-oY.y = 0;
                };
                k = (window.findChildByName("ctlg_buy_club_button") as IButtonWindow);
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-Rw);
                };
                this._-4xF.visible = false;
            };
        }
        private function _-2vU(_arg1:_-06):void
        {
            var k:Boolean;
            this._-HB = 1;
            this._-mB = _arg1.offer;
            this._-L8(this._-mB);
            this._-3oJ._-2eK(false);
            if (this._-oY == null)
            {
                this._-4xF.visible = true;
                this._-Zw(true);
                this._-2Rx(true);
                _-1xf._-2Of(this._-mB, (_-0xv.findChildByName("purchase_label") as ITextWindow));
                if (!this._-mB._-4SQ)
                {
                    this._-2Rx(false);
                };
                k = this._-2wy(this._-mB);
                if (k)
                {
                    this._-Zw(false);
                    this._-2Rx(false);
                };
                window.visible = true;
            };
        }
        private function _-2wy(_arg1:Offer):Boolean
        {
            var k:_-2eJ;
            var k:Boolean;
            if (_arg1 != null)
            {
                if (_arg1._-1k2 == Offer._-3NL)
                {
                    k = this._-mB.productContainer._-1YN;
                    if (((!((k == null))) && (k._-0bb)))
                    {
                        k = (k.uniqueLimitedItemsLeft == 0);
                        return (k);
                    };
                };
            };
            return (false);
        }
        private function _-Zw(_arg1:Boolean):void
        {
            if (this._-3oJ.sessionDataManager._-3ZA())
            {
                k = false;
            };
            this._-v6("buy_button", _arg1);
        }
        private function _-2Rx(_arg1:Boolean):void
        {
            if (this._-3oJ.sessionDataManager._-3ZA())
            {
                k = false;
            };
            this._-v6("gift_button", _arg1);
        }
        private function _-v6(_arg1:String, _arg2:Boolean):void
        {
            if (_-0xv == null)
            {
                return;
            };
            var k:IWindow = _-0xv.findChildByName(_arg1);
            if (k == null)
            {
                return;
            };
            if (_arg2)
            {
                k.enable();
                k.blend = 1;
            }
            else
            {
                k.disable();
                k.blend = 0.5;
            };
        }
        private function _-0Cb(_arg1:_-3dq):void
        {
            this._-1wb = _arg1._-y-;
        }
        private function _-3HF(_arg1:WindowMouseEvent, _arg2:Boolean=false, _arg3:Boolean=false):void
        {
            var event:WindowMouseEvent = _arg1;
            var isGift:Boolean = _arg2;
            var buyWithSeasonalCurrency:Boolean = _arg3;
            this._-3oJ._-2eK(isGift);
            if (this._-3rD == null)
            {
                if (this._-mB != null)
                {
                    if (((!((this._-3oJ._-42s == null))) && ((this._-3oJ._-42s.offerId == this._-mB.offerId))))
                    {
                        if (this._-3oJ._-42s._-3EU == 0)
                        {
                            this._-3oJ.windowManager.alert("${roomad.error.title}", "${roomad.alert.no.available.room}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                            {
                                _arg1.dispose();
                            });
                            return;
                        };
                        if ((((this._-3oJ._-42s.name == null)) || ((this._-3oJ._-42s.name.length == 0))))
                        {
                            this._-3oJ.windowManager.alert("${roomad.error.title}", "${roomad.alert.name.empty}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                            {
                                _arg1.dispose();
                            });
                            return;
                        };
                    };
                    this._-3oJ._-3So(this._-mB, page.pageId, this._-1wb, this._-HB, null, null, true, false, null, buyWithSeasonalCurrency);
                };
            }
            else
            {
                this._-3rD(event, buyWithSeasonalCurrency);
            };
        }
        private function _-V9(_arg1:WindowMouseEvent):void
        {
            this._-3HF(_arg1, true);
            HabboTracking._-0ON().trackEventLog("Catalog", "click", "client.buy_as_gift.clicked");
        }
        private function _-2OB(_arg1:WindowMouseEvent):void
        {
            this._-3HF(_arg1, false, true);
            HabboTracking._-0ON().trackEventLog("Catalog", "click", "client.buy_with_seasonal_currency.clicked");
        }
        private function _-2k4(_arg1:_-4N3):void
        {
            if (this._-mB != null)
            {
                this._-3oJ._-3So(this._-mB, page.pageId, this._-1wb, this._-HB, null, null, true, false, null);
            };
        }
        private function _-Rw(_arg1:WindowMouseEvent):void
        {
            this._-3oJ._-1ok(page.pageId);
            this._-3oJ.openClubBuy(_-3YS._-36p, "PurchaseCatalogWidget");
            HabboTracking._-0ON().trackEventLog("Catalog", "click", "BUY_CLUB");
        }
        private function _-3Oo(_arg1:_-1PO):void
        {
            var k:Array;
            var k:StringArrayStuffData;
            if (_arg1._-2Jo != _-1PO._-zn)
            {
                k = new Array();
                k.push("0");
                k.push(_arg1._-2Jo);
                k.push(_arg1._-3T);
                k.push(_arg1.color1);
                k.push(_arg1.color2);
                k = new StringArrayStuffData();
                k._-1Ll(k);
                this._-3UQ = k;
            }
            else
            {
                this._-3UQ = null;
            };
        }
        private function _-2-z(_arg1:_-53p):void
        {
            this._-HB = _arg1.value;
            if (this._-HB > 1)
            {
                this._-2Rx(false);
            }
            else
            {
                if (this._-mB != null)
                {
                    this._-2Rx(this._-mB._-4SQ);
                };
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.RecyclerPrizesCatalogWidget

package _-0Ai
{
    import _-19z.PrizeViewer;
    import _-1ae.IItemListWindow;
    import _-1lc._-3kE;
    import _-Ew.IWindowContainer;
    import _-295._-243;
    import flash.events.TimerEvent;
    import _-19z._-wJ;
    import _-1ae.ITextWindow;
    import _-1ae.IItemGridWindow;
    import _-19z.PrizeLevelContainer;
    import _-19z.DealPrizeContainer;
    import _-19z._-4Bz;
    import _-1lc.*;

    public class RecyclerPrizesCatalogWidget extends _-4n4 implements _-3eG, _-4BV 
    {

        private var _-2j-:Array;
        private var _-3AG:PrizeViewer;
        private var _-4xX:IItemListWindow;
        private var _-08o:XML;
        private var _-1I9:XML;
        private var _-4RB:_-3kE;

        public function RecyclerPrizesCatalogWidget(_arg1:IWindowContainer)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            super.dispose();
            if (this._-3AG != null)
            {
                this._-3AG.dispose();
                this._-3AG = null;
            };
            this._-2j- = null;
            this._-4xX = null;
            this._-08o = null;
            this._-1I9 = null;
            this._-4RB = null;
        }
        override public function init():Boolean
        {
            var k:_-243;
            if (!super.init())
            {
                return (false);
            };
            this._-3AG = new PrizeViewer();
            this._-2j- = this.recycler._-13L();
            if (this._-2j- == null)
            {
                return (false);
            };
            this._-4xX = (_-0xv.findChildByName("itemList") as IItemListWindow);
            k = (page.viewer.catalog.assets.getAssetByName("gridItem") as _-243);
            this._-08o = (k.content as XML);
            k = (page.viewer.catalog.assets.getAssetByName("recyclerPrizesWidgetLevelItem") as _-243);
            this._-1I9 = (k.content as XML);
            this.populateItemGrid();
            if ((((this._-2j-.length > 0)) && ((this._-2j-[0].prizes.length > 0))))
            {
                this.select((this._-2j-[0].prizes[0] as _-3kE));
            };
            return (true);
        }
        private function populateItemGrid(_arg1:TimerEvent=null):void
        {
            var k:int;
            while (k < this._-2j-.length)
            {
                this._-1R4(this._-2j-[k]);
                k++;
            };
        }
        private function _-1R4(_arg1:PrizeLevelContainer):void
        {
            var k:_-wJ;
            var k:IWindowContainer = (page.viewer.catalog.windowManager.buildFromXML(this._-1I9) as IWindowContainer);
            this._-4xX.addListItem(k);
            var k:ITextWindow = (k.findChildByName("headerText") as ITextWindow);
            if (k != null)
            {
                k.text = page.viewer.catalog.localization.getKey(("recycler.prizes.category." + _arg1._-0gZ));
            };
            var k:IItemGridWindow = (k.findChildByName("itemGrid") as IItemGridWindow);
            var k:int;
            while (k < _arg1.prizes.length)
            {
                k = _arg1.prizes[k];
                this._-4Hx(k, k);
                k++;
            };
        }
        private function _-4Hx(_arg1:_-wJ, _arg2:IItemGridWindow):void
        {
            if ((((((_arg1 == null)) || ((_arg2 == null)))) || (_arg2.disposed)))
            {
                return;
            };
            var k:IWindowContainer = (page.viewer.catalog.windowManager.buildFromXML(this._-08o) as IWindowContainer);
            k.findChildByName("clubLevelIcon").visible = false;
            _arg1.view = k;
            _arg1.grid = this;
            _arg1.setIcon(page.viewer.roomEngine);
            _arg2._-2-F(k);
            _arg2.height = _arg2._-2yI.height;
            if ((_arg1 is DealPrizeContainer))
            {
                _arg2.width = _arg2._-2yI.width;
            };
        }
        public function select(_arg1:_-3kE):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this._-4RB != null)
            {
                this._-4RB.deActivate();
            };
            this._-4RB = _arg1;
            _arg1.activate();
            var k:IWindowContainer = (window.findChildByName("productView") as IWindowContainer);
            var k:_-wJ = (_arg1 as _-wJ);
            var k:DealPrizeContainer = (_arg1 as DealPrizeContainer);
            var k:String = "";
            if (k != null)
            {
                k = page.viewer.catalog.localization.getKey(("recycler.prizes.odds." + k._-4yL));
                this._-3AG._-16F(page.viewer.roomEngine, page, this._-08o, k, k, k.title, k);
            }
            else
            {
                if (k != null)
                {
                    k = page.viewer.catalog.localization.getKey(("recycler.prizes.odds." + k._-4yL));
                    this._-3AG._-1tY(page.viewer.roomEngine, k, k._-3Ks, k._-2eb, k.title, k);
                };
            };
        }
        public function startDragAndDrop(_arg1:_-3kE):Boolean
        {
            return (false);
        }
        private function get recycler():_-4Bz
        {
            return (page.viewer.catalog.getRecycler());
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.RoomAdsCatalogWidget

package _-0Ai
{
    import _-0mD.HabboCatalog;
    import _-4Aj._-0tL;
    import _-Ew.IWindowContainer;
    import _-2np._-1ZV;
    import _-48G._-1vd;
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowEvent;
    import _-30J._-2KB;
    import _-56G._-1Zs;
    import _-59g._-2ga;
    import _-2It._-3Es;
    import _-1ae.IDropMenuWindow;
    import _-2iw._-1eK;
    import _-1lc.Offer;
    import _-30J._-06;
    import _-30J._-3pk;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-1Jd._-1ij;

    public class RoomAdsCatalogWidget extends _-4n4 implements _-3eG 
    {

        private var _-3oJ:HabboCatalog;
        private var _-0m-:_-0tL = null;
        private var _name:String;
        private var _-1Td:String;
        private var _-sT:Array;
        private var _-D9:Boolean;

        public function RoomAdsCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            if (this._-3oJ == null)
            {
                return (false);
            };
            var k:_-1ZV = this._-3oJ.connection;
            if (this._-0m- == null)
            {
                this._-0m- = new _-1vd(this._-1v5);
                k.addMessageEvent(this._-0m-);
            };
            this._-3oJ._-3Ln();
            var k:ITextFieldWindow = (window.findChildByName("name_input_text") as ITextFieldWindow);
            k.addEventListener(WindowEvent._-0cZ, this._-kB);
            var k:ITextFieldWindow = (window.findChildByName("desc_input_text") as ITextFieldWindow);
            k.addEventListener(WindowEvent._-0cZ, this._-VK);
            events.addEventListener(_-2KB.CWE_PURCHASE, this._-2Nm);
            var k:_-1Zs = this._-3oJ._-42s;
            var k:int = parseInt(this._-3oJ.configuration.getKey("room_ad.duration.minutes", "120"));
            var k:int = this._-2Ep(k, k);
            this._-3oJ.localization.registerParameter("roomad.catalog_text", "duration", String(k));
            this._-3oJ.roomEngine.events.addEventListener(_-2ga._-4sh, this._-3Hi);
            return (true);
        }
        private function _-2Ep(_arg1:_-1Zs, _arg2:int):int
        {
            var k:String = this._-3oJ.configuration.getKey("roomad.limited_extension", "false");
            if ((((((((k == "false")) || ((k == "0")))) || ((_arg1 == null)))) || ((_arg1._-3YT == null))))
            {
                return (_arg2);
            };
            var k:Date = new Date();
            var k:Number = k.getTime();
            var k:Number = _arg1._-3YT.getTime();
            var k:Number = (k - k);
            var k:Number = (k / (1000 * 60));
            k = (k + _arg2);
            return (k);
        }
        private function _-3Hi(_arg1:_-2ga):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-3h1(_arg1.roomId, false);
        }
        private function _-3h1(_arg1:int, _arg2:Boolean=false):void
        {
            var k:_-3Es;
            var k:String;
            var k:_-1Zs;
            if (window == null)
            {
                return;
            };
            var k:IDropMenuWindow = (window.findChildByName("room_drop_menu") as IDropMenuWindow);
            if (this._-sT == null)
            {
                if (k.numMenuItems > 0)
                {
                    k.selection = 0;
                };
                return;
            };
            var k:int;
            var k:Array = new Array();
            var k:int;
            while (k < this._-sT.length)
            {
                k = (this._-sT[k] as _-3Es);
                if (_arg2)
                {
                    if (k.roomName.length > 25)
                    {
                        k = (k.roomName.substr(0, 25) + "...");
                        k.push(k);
                    }
                    else
                    {
                        k.push(k.roomName);
                    };
                };
                if (k.roomId == _arg1)
                {
                };
                k++;
            };
            if (_arg2)
            {
                if (k.length == 0)
                {
                    k.push(this._-3oJ.localization.getKey("roomad.no.available.room", "roomad.no.available.room"));
                };
                k.populate(k);
            };
            var k:_-3Es = (this._-sT[k] as _-3Es);
            if (k != null)
            {
                k.selection = k;
                k = this._-3oJ._-42s;
                if (k == null)
                {
                    k = new _-1Zs();
                    this._-3oJ._-42s = k;
                };
                k._-3EU = k.roomId;
            }
            else
            {
                k.selection = 0;
            };
        }
        private function _-0lO():void
        {
            var k:_-3Es;
            var k:ITextFieldWindow = (window.findChildByName("name_input_text") as ITextFieldWindow);
            var k:ITextFieldWindow = (window.findChildByName("desc_input_text") as ITextFieldWindow);
            var k:_-1Zs = this._-3oJ._-42s;
            if (((!((k == null))) && (k._-1tQ)))
            {
                k.caption = k.name;
                k.caption = k.description;
                k = new _-3Es(k._-3EU, k.roomName, false);
                if (this._-sT != null)
                {
                    this._-sT.push(k);
                };
            };
        }
        public function _-1v5(_arg1:_-0tL):void
        {
            var k:_-1vd;
            var k:_-1eK;
            var k:IDropMenuWindow;
            var k:int;
            var k:Offer;
            var k:_-1Zs;
            var k:IWindowContainer;
            if (window != null)
            {
                k = (_arg1 as _-1vd);
                k = k._-3-5();
                k = (window.findChildByName("room_drop_menu") as IDropMenuWindow);
                this._-sT = k.rooms;
                this._-D9 = k._-2Pc;
                k = this._-3oJ.roomEngine.activeRoomId;
                this._-0lO();
                this._-3h1(k, true);
                k.visible;
                k.procedure = this._-3Di;
                k = this._-2BP();
                if (k != null)
                {
                    events.dispatchEvent(new _-06(k));
                    k = this._-3oJ._-42s;
                    if (k == null)
                    {
                        k = new _-1Zs();
                        this._-3oJ._-42s = k;
                    };
                    k.offerId = k.offerId;
                    this._-3oJ._-42s = k;
                    k = (window.findChildByName("price_container") as IWindowContainer);
                    this._-3oJ.utils._-2xX(k, k);
                };
            };
        }
        private function _-2Nm(_arg1:_-3pk):void
        {
            this._-3oJ._-3Ln();
            var k:ITextFieldWindow = (window.findChildByName("name_input_text") as ITextFieldWindow);
            k.caption = "";
            var k:ITextFieldWindow = (window.findChildByName("desc_input_text") as ITextFieldWindow);
            k.caption = "";
            if (this._-3oJ._-42s)
            {
                this._-3oJ._-42s.clear();
            };
        }
        private function _-kB(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            var k:_-1Zs = this._-3oJ._-42s;
            if (k != null)
            {
                k.name = k.text;
            };
        }
        private function _-VK(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            var k:_-1Zs = this._-3oJ._-42s;
            if (k != null)
            {
                k.description = k.text;
            };
        }
        private function _-3Di(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            var k:_-3Es;
            var k:_-1Zs;
            var k:int;
            var k:ITextWindow;
            var k:String;
            if ((((_arg1.type == WindowEvent._-2wB)) && ((this._-sT.length > 0))))
            {
                k = IDropMenuWindow(_arg2).selection;
                k = (this._-sT[k] as _-3Es);
                k = this._-3oJ._-42s;
                if (k)
                {
                    k._-3EU = k.roomId;
                    k = parseInt(this._-3oJ.configuration.getKey("room_ad.duration.minutes", "120"));
                    if (k.roomId == k._-3Hr)
                    {
                        k = this._-2Ep(k, k);
                    };
                    k = ITextWindow(window.findChildByName("ctlg_text_1"));
                    k.caption = "${roomad.catalog_text}";
                    this._-3oJ.localization.registerParameter("roomad.catalog_text", "duration", String(k));
                    k = this._-3oJ.localization.getKey("roomad.catalog_text");
                    k.text = k;
                };
            };
        }
        private function _-2BP():Offer
        {
            var k:int;
            var k:Offer;
            var k:Array = page.offers;
            if (((!((k == null))) && (k)))
            {
                if (k.length == 1)
                {
                    return (k[0]);
                };
                k = 0;
                while (k < k.length)
                {
                    k = (k[k] as Offer);
                    if ((((((k.clubLevel == _-1ij._-1pk)) && (this._-D9))) || (((!((k.clubLevel == _-1ij._-1pk))) && (!(this._-D9))))))
                    {
                        return (k);
                    };
                    k++;
                };
            };
            return (null);
        }
        override public function dispose():void
        {
            var k:_-1ZV;
            super.dispose();
            if (this._-3oJ != null)
            {
                k = this._-3oJ.connection;
                if (this._-0m- != null)
                {
                    k.removeMessageEvent(this._-0m-);
                    this._-0m- = null;
                };
                this._-3oJ.roomEngine.events.removeEventListener(_-2ga._-4sh, this._-3Hi);
                this._-3oJ = null;
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.SingleViewCatalogWidget

package _-0Ai
{
    import _-Ew.IWindowContainer;
    import _-0mD.HabboCatalog;
    import _-30J._-2KB;
    import _-1lc.Offer;
    import _-30J._-06;
    import _-30J._-Xe;

    public class SingleViewCatalogWidget extends ProductViewCatalogWidget implements _-3eG 
    {

        public function SingleViewCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1, _arg2);
        }
        override public function dispose():void
        {
            super.dispose();
        }
        override public function init():Boolean
        {
            if (!super.init())
            {
                return (false);
            };
            events.addEventListener(_-2KB.CWE_WIDGETS_INITIALIZED, this._-0pC);
            return (true);
        }
        public function _-0pC(_arg1:_-Xe):void
        {
            if (page.offers.length == 0)
            {
                return;
            };
            var k:Offer = page.offers[0];
            events.dispatchEvent(new _-06(k));
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.SpacesCatalogWidget

package _-0Ai
{
    import flash.utils.Dictionary;
    import _-Ew.IWindowContainer;
    import _-1lc.Offer;
    import _-1lc._-2eJ;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-30J._-16H;
    import _-0mD.HabboCatalog;
    import _-1ae.ITextWindow;
    import _-3X8._-0hg;

    public class SpacesCatalogWidget extends _-4n4 implements _-3eG 
    {

        private static const _-BF:String = "floor";
        private static const _-3ve:String = "wallpaper";
        private static const _-9L:String = "landscape";

        private var _-0S4:Array;
        private var _-1fO:Array;
        private var _-0aU:int = 0;
        private var _-51b:int = 0;
        private var _-1W0:int = 0;
        private var _-3j8:String = "default";
        private var _-3CJ:Array;
        private var _-9k:Array;
        private var _-4Vk:int = 0;
        private var _-1zD:int = 0;
        private var _-1pg:int = 0;
        private var _-8h:String = "default";
        private var _-46G:Array;
        private var _-0tR:Array;
        private var _-3V2:int = 0;
        private var _-1LA:int = 0;
        private var _-3b8:int = 0;
        private var _-0Rk:String = "1.1";
        private var _-2LA:Dictionary;
        private var _-1EQ:Dictionary;
        private var _-A4:Dictionary;

        public function SpacesCatalogWidget(_arg1:IWindowContainer)
        {
            this._-0S4 = [];
            this._-1fO = [];
            this._-3CJ = [];
            this._-9k = [];
            this._-46G = [];
            this._-0tR = [];
            super(_arg1);
        }
        override public function dispose():void
        {
            this._-2LA = null;
            this._-1EQ = null;
            this._-A4 = null;
            this._-0S4 = null;
            this._-1fO = null;
            this._-3CJ = null;
            this._-9k = null;
            this._-46G = null;
            this._-0tR = null;
            super.dispose();
        }
        override public function init():Boolean
        {
            var k:Offer;
            var k:int;
            var k:_-2eJ;
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:String;
            var k:Array;
            var k:IWindow;
            if (!super.init())
            {
                return (false);
            };
            if (window == null)
            {
                return (false);
            };
            var k:_-243 = (page.viewer.catalog.assets.getAssetByName("configuration_catalog_spaces") as _-243);
            if (k == null)
            {
                return (false);
            };
            var k:XML = (k.content as XML);
            if (k == null)
            {
                return (false);
            };
            this._-2LA = this._-56u(k.floors.pattern);
            this._-1EQ = this._-56u(k.walls.pattern);
            this._-A4 = this._-56u(k.landscapes.pattern);
            for each (k in page.offers)
            {
                k = k.productContainer._-1YN;
                k = k._-5Dp;
                k = (((k)!=null) ? k.split(" ") : null);
                if ((((k == null)) || (!((k.length == 2)))))
                {
                }
                else
                {
                    k = k[1];
                    k = k._-5D1.name;
                    switch (k)
                    {
                        case "floor":
                            for (k in this._-2LA)
                            {
                                k = this._-2LA[k];
                                if (this._-1fO.indexOf(k) == -1)
                                {
                                    this._-1fO.push(k);
                                    this._-0S4.push(k);
                                };
                            };
                            break;
                        case "wallpaper":
                            if (this._-1EQ[k] != null)
                            {
                                this._-9k.push(k);
                                this._-3CJ.push(k);
                            }
                            else
                            {
                                _-Nb.log(("[SpacesCatalogWidget] Could not find wallpaper pattern configuration! " + [k, k]));
                            };
                            break;
                        case "landscape":
                            if (this._-A4[k] != null)
                            {
                                this._-0tR.push(k);
                                this._-46G.push(k);
                            }
                            else
                            {
                                _-Nb.log(("[SpacesCatalogWidget] Could not find landscape pattern configuration! " + [k, k]));
                            };
                            break;
                        default:
                            _-Nb.log(("[SpacesCatalogWidget] : " + k));
                    };
                };
            };
            k = 0;
            while (k < _-0xv.numChildren)
            {
                k = _-0xv.getChildAt(k);
                if ((k is IButtonWindow))
                {
                    k.addEventListener(WindowMouseEvent._-90, this.onClick);
                };
                k++;
            };
            this._-0cj(_-BF, 0);
            this._-0cj(_-3ve, 0);
            this._-0cj(_-9L, 0);
            this._-0Yp();
            events.dispatchEvent(new _-16H(this._-3j8, this._-8h, this._-0Rk, 64));
            return (true);
        }
        private function _-56u(_arg1:XMLList):Dictionary
        {
            var k:XML;
            var k:String;
            var k:Array;
            var k:XMLList;
            var k:XML;
            var k:String;
            var k:Dictionary = new Dictionary();
            if (_arg1 != null)
            {
                for each (k in _arg1)
                {
                    k = String(k.@id);
                    if (k != null)
                    {
                        k = new Array();
                        k[k] = k;
                        k = k.children();
                        if (((!((k == null))) && ((k.length() > 0))))
                        {
                            for each (k in k)
                            {
                                k = k.@id;
                                if (((!((k == null))) && ((k.indexOf(k) == -1))))
                                {
                                    k.push(k);
                                };
                            };
                        };
                    };
                };
            };
            return (k);
        }
        private function onClick(_arg1:WindowMouseEvent):void
        {
            var k:Offer;
            var k:IWindow = (_arg1.target as IWindow);
            if (k == null)
            {
                return;
            };
            switch (k.name)
            {
                case "ctlg_wall_pattern_prev":
                    this._-0cj(_-3ve, -1);
                    break;
                case "ctlg_wall_pattern_next":
                    this._-0cj(_-3ve, 1);
                    break;
                case "ctlg_wall_color_prev":
                    this._-4Of(_-3ve, -1);
                    break;
                case "ctlg_wall_color_next":
                    this._-4Of(_-3ve, 1);
                    break;
                case "ctlg_buy_wall":
                    k = this._-3CJ[this._-4Vk];
                    if (k != null)
                    {
                        (page.viewer.catalog as HabboCatalog)._-3So(k, page.pageId, this._-8h);
                    };
                    break;
                case "ctlg_floor_pattern_prev":
                    this._-0cj(_-BF, -1);
                    break;
                case "ctlg_floor_pattern_next":
                    this._-0cj(_-BF, 1);
                    break;
                case "ctlg_floor_color_prev":
                    this._-4Of(_-BF, -1);
                    break;
                case "ctlg_floor_color_next":
                    this._-4Of(_-BF, 1);
                    break;
                case "ctlg_buy_floor":
                    k = this._-0S4[this._-0aU];
                    if (k != null)
                    {
                        (page.viewer.catalog as HabboCatalog)._-3So(k, page.pageId, this._-3j8);
                    };
                    break;
                case "ctlg_landscape_pattern_next":
                    this._-0cj(_-9L, -1);
                    break;
                case "ctlg_landscape_pattern_prev":
                    this._-0cj(_-9L, 1);
                    break;
                case "ctlg_landscape_color_prev":
                    this._-4Of(_-9L, -1);
                    break;
                case "ctlg_landscape_color_next":
                    this._-4Of(_-9L, 1);
                    break;
                case "ctlg_buy_landscape":
                    k = this._-46G[this._-3V2];
                    if (k != null)
                    {
                        (page.viewer.catalog as HabboCatalog)._-3So(k, page.pageId, this._-0Rk);
                    };
                    break;
                default:
                    _-Nb.log(("Spaces, unknown button: " + k.name));
            };
            this._-0Yp();
            events.dispatchEvent(new _-16H(this._-3j8, this._-8h, this._-0Rk, 64));
        }
        private function _-0Yp():void
        {
            var k:String;
            var k:ITextWindow;
            var k:String;
            var k:ITextWindow;
            var k:String;
            var k:ITextWindow;
            var k:_-0hg = (page.viewer.catalog as HabboCatalog).localization;
            var k:String = this._-1fO[this._-0aU];
            var k:Array = this._-2LA[k];
            if (((!((k == null))) && ((this._-51b >= 0))))
            {
                k = k[this._-51b];
                if (k != null)
                {
                    this._-3j8 = k;
                };
            };
            var k:Offer = this._-0S4[this._-0aU];
            if (k != null)
            {
                k = (_-0xv.findChildByName("ctlg_floor_price") as ITextWindow);
                if (k != null)
                {
                    k.caption = k.registerParameter("catalog.purchase.price.credits", "credits", String(k._-w6));
                };
            };
            var k:String = this._-9k[this._-4Vk];
            var k:Array = this._-1EQ[k];
            if (((!((k == null))) && ((this._-1zD >= 0))))
            {
                k = k[this._-1zD];
                if (k != null)
                {
                    this._-8h = k;
                };
            };
            var k:Offer = this._-3CJ[this._-4Vk];
            if (k != null)
            {
                k = (_-0xv.findChildByName("ctlg_wall_price") as ITextWindow);
                if (k != null)
                {
                    k.caption = k.registerParameter("catalog.purchase.price.credits", "credits", String(k._-w6));
                };
            };
            var k:String = this._-0tR[this._-3V2];
            var k:Array = this._-A4[k];
            if (((!((k == null))) && ((this._-1LA >= 0))))
            {
                k = k[this._-1LA];
                if (k != null)
                {
                    this._-0Rk = k;
                };
            };
            var k:Offer = this._-46G[this._-3V2];
            if (k != null)
            {
                k = (_-0xv.findChildByName("ctlg_landscape_price") as ITextWindow);
                if (k != null)
                {
                    k.caption = k.registerParameter("catalog.purchase.price.credits", "credits", String(k._-w6));
                };
            };
        }
        private function _-0cj(_arg1:String, _arg2:int):void
        {
            var k:IButtonWindow;
            var k:IButtonWindow;
            var _local5:String;
            var _local6:Array;
            var _local7:String;
            var _local8:Array;
            var _local9:String;
            var _local10:Array;
            switch (_arg1)
            {
                case _-BF:
                    this._-0aU = (this._-0aU + _arg2);
                    if (this._-0aU < 0)
                    {
                        this._-0aU = (this._-1fO.length - 1);
                    };
                    if (this._-0aU >= this._-1fO.length)
                    {
                        this._-0aU = 0;
                    };
                    this._-51b = 0;
                    this._-1W0 = 0;
                    _local5 = this._-1fO[this._-0aU];
                    _local6 = this._-2LA[_local5];
                    if (_local6 != null)
                    {
                        this._-1W0 = _local6.length;
                    };
                    k = (_-0xv.findChildByName("ctlg_floor_color_prev") as IButtonWindow);
                    k = (_-0xv.findChildByName("ctlg_floor_color_next") as IButtonWindow);
                    if (this._-1W0 < 2)
                    {
                        if (k != null)
                        {
                            k.disable();
                        };
                        if (k != null)
                        {
                            k.disable();
                        };
                    }
                    else
                    {
                        if (k != null)
                        {
                            k.enable();
                        };
                        if (k != null)
                        {
                            k.enable();
                        };
                    };
                    this._-4mO("ctlg_buy_floor");
                    return;
                case _-3ve:
                    this._-4Vk = (this._-4Vk + _arg2);
                    if (this._-4Vk < 0)
                    {
                        this._-4Vk = (this._-9k.length - 1);
                    };
                    if (this._-4Vk == this._-9k.length)
                    {
                        this._-4Vk = 0;
                    };
                    this._-1zD = 0;
                    this._-1pg = 0;
                    _local7 = this._-9k[this._-4Vk];
                    _local8 = this._-1EQ[_local7];
                    if (_local8 != null)
                    {
                        this._-1pg = _local8.length;
                    };
                    k = (_-0xv.findChildByName("ctlg_wall_color_prev") as IButtonWindow);
                    k = (_-0xv.findChildByName("ctlg_wall_color_next") as IButtonWindow);
                    if (this._-1pg < 2)
                    {
                        if (k != null)
                        {
                            k.disable();
                        };
                        if (k != null)
                        {
                            k.disable();
                        };
                    }
                    else
                    {
                        if (k != null)
                        {
                            k.enable();
                        };
                        if (k != null)
                        {
                            k.enable();
                        };
                    };
                    this._-4mO("ctlg_buy_wall");
                    return;
                case _-9L:
                    this._-3V2 = (this._-3V2 + _arg2);
                    if (this._-3V2 < 0)
                    {
                        this._-3V2 = (this._-0tR.length - 1);
                    };
                    if (this._-3V2 >= this._-0tR.length)
                    {
                        this._-3V2 = 0;
                    };
                    this._-1LA = 0;
                    this._-3b8 = 0;
                    _local9 = this._-0tR[this._-3V2];
                    _local10 = this._-A4[_local9];
                    if (_local10 != null)
                    {
                        this._-3b8 = _local10.length;
                    };
                    k = (_-0xv.findChildByName("ctlg_landscape_color_prev") as IButtonWindow);
                    k = (_-0xv.findChildByName("ctlg_landscape_color_next") as IButtonWindow);
                    if (this._-3b8 < 2)
                    {
                        if (k != null)
                        {
                            k.disable();
                        };
                        if (k != null)
                        {
                            k.disable();
                        };
                    }
                    else
                    {
                        if (k != null)
                        {
                            k.enable();
                        };
                        if (k != null)
                        {
                            k.enable();
                        };
                    };
                    this._-4mO("ctlg_buy_landscape");
                    return;
            };
        }
        private function _-4mO(_arg1:String):void
        {
            var k:IWindow = _-0xv.findChildByName(_arg1);
            if ((page.viewer.catalog as HabboCatalog).sessionDataManager._-3ZA())
            {
                if (k != null)
                {
                    k.disable();
                };
            };
        }
        private function _-4Of(_arg1:String, _arg2:int):void
        {
            switch (_arg1)
            {
                case _-BF:
                    this._-51b = (this._-51b + _arg2);
                    if (this._-51b < 0)
                    {
                        if (this._-1W0 > 0)
                        {
                            this._-51b = (this._-1W0 - 1);
                        }
                        else
                        {
                            this._-51b = 0;
                        };
                    };
                    if (this._-51b >= this._-1W0)
                    {
                        this._-51b = 0;
                    };
                    return;
                case _-3ve:
                    this._-1zD = (this._-1zD + _arg2);
                    if (this._-1zD < 0)
                    {
                        if (this._-1pg > 0)
                        {
                            this._-1zD = (this._-1pg - 1);
                        }
                        else
                        {
                            this._-1zD = 0;
                        };
                    };
                    if (this._-1zD >= this._-1pg)
                    {
                        this._-1zD = 0;
                    };
                    return;
                case _-9L:
                    this._-1LA = (this._-1LA + _arg2);
                    if (this._-1LA < 0)
                    {
                        if (this._-3b8 > 0)
                        {
                            this._-1LA = (this._-3b8 - 1);
                        }
                        else
                        {
                            this._-1LA = 0;
                        };
                    };
                    if (this._-1LA >= this._-3b8)
                    {
                        this._-1LA = 0;
                    };
                    return;
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.SpacesNewCatalogWidget

package _-0Ai
{
    import _-1ae.ISelectorWindow;
    import _-Ew.IWindow;
    import _-1ae.ISelectableWindow;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindowContainer;
    import _-1Jd._-51K;
    import _-1lc.Offer;
    import _-30J._-2KB;
    import _-1lc._-3kE;
    import _-30J._-Xe;
    import _-1lc.ProductContainer;
    import _-30J._-3dq;
    import _-30J._-16H;
    import _-1lc._-2eJ;
    import _-2Mh._-3Uw;
    import _-1lc.*;
    import _-1B-.*;

    public class SpacesNewCatalogWidget extends ItemGridCatalogWidget implements _-1zZ, _-3eG, _-4BV 
    {

        private var _-4tt:Array;
        private var _-33I:Array;
        private var _-e1:int = 0;
        private var _-0Im:Array;
        private var _-BY:ISelectorWindow;
        private var _-2Db:Array;

        public function SpacesNewCatalogWidget(_arg1:IWindowContainer, _arg2:_-51K)
        {
            var k:int;
            var k:IWindow;
            this._-4tt = ["wallpaper", "floor", "landscape"];
            this._-33I = new Array();
            this._-0Im = [0, 0, 0];
            this._-2Db = ["group.walls", "group.floors", "group.views"];
            super(_arg1, _arg2);
            this._-BY = (_-0xv.findChildByName("groups") as ISelectorWindow);
            if (this._-BY)
            {
                k = 0;
                while (k < this._-BY._-1aI)
                {
                    k = this._-BY._-0wi(k);
                    if ((k is ISelectableWindow))
                    {
                        k.addEventListener(WindowEvent._-2wB, this._-18N);
                    };
                    k++;
                };
            };
        }
        override public function dispose():void
        {
            var k:Array;
            var k:Offer;
            super.dispose();
            for each (k in this._-33I)
            {
                for each (k in k)
                {
                    k.dispose();
                };
            };
            this._-33I = null;
        }
        override public function init():Boolean
        {
            _-Nb.log("Init Item Group Catalog Widget (Spaces New)");
            this._-2AD();
            if (!super.init())
            {
                return (false);
            };
            events.addEventListener(_-2KB.CWE_WIDGETS_INITIALIZED, this._-0pC);
            this.switchCategory(this._-2Db[this._-e1]);
            this._-2rg();
            return (true);
        }
        public function _-0pC(_arg1:_-Xe):void
        {
            var k:int = this._-0Im[this._-e1];
            var k:Offer = this._-33I[this._-e1][k];
            this.select((k.productContainer as _-3kE));
        }
        public function _-12q(_arg1:int):void
        {
            var k:Offer;
            if ((((_arg1 > -1)) && ((_arg1 < _-8S.numGridItems))))
            {
                k = this._-33I[this._-e1][_arg1];
                this.select((k.productContainer as _-3kE));
            };
        }
        override public function select(_arg1:_-3kE):void
        {
            if (_arg1 == null)
            {
                return;
            };
            super.select(_arg1);
            var k:Offer = (_arg1 as ProductContainer).offer;
            if (k == null)
            {
                return;
            };
            events.dispatchEvent(new _-3dq(k.productContainer._-1YN._-1gg));
            this._-0Im[this._-e1] = (this._-33I[this._-e1] as Array).indexOf(k);
            this._-2rg();
        }
        private function _-2rg():void
        {
            var k:int = this._-0Im[0];
            var k:int = this._-0Im[1];
            var k:int = this._-0Im[2];
            var k:Offer = this._-33I[0][k];
            var k:Offer = this._-33I[1][k];
            var k:Offer = this._-33I[2][k];
            if (((((!(k)) || (!(k)))) || (!(k))))
            {
                return;
            };
            events.dispatchEvent(new _-16H(k.productContainer._-1YN._-1gg, k.productContainer._-1YN._-1gg, k.productContainer._-1YN._-1gg, 64));
        }
        private function _-2AD():Boolean
        {
            var k:Offer;
            var k:_-2eJ;
            var k:int;
            var k:String;
            var k:int;
            for each (k in page.offers)
            {
                if ((((k._-1k2 == Offer._-3NL)) || ((k._-1k2 == Offer._-1sS))))
                {
                    k = k.productContainer._-1YN;
                    if (k != null)
                    {
                        k = k._-3yk;
                        if ((((k._-5DX == _-3Uw._-0xA)) || ((k._-5DX == _-3Uw._-5Ds))))
                        {
                            if (k._-5D1 != null)
                            {
                                k = k._-5D1.name;
                                k = this._-4tt.indexOf(k);
                                if (this._-4tt.indexOf(k) == -1)
                                {
                                    this._-4tt.push(k);
                                };
                                while (this._-33I.length < this._-4tt.length)
                                {
                                    this._-33I.push(new Array());
                                };
                                switch (k)
                                {
                                    case "floor":
                                        (this._-33I[k] as Array).push(k);
                                        break;
                                    case "wallpaper":
                                        (this._-33I[k] as Array).push(k);
                                        break;
                                    case "landscape":
                                        (this._-33I[k] as Array).push(k);
                                        break;
                                    default:
                                        _-Nb.log(("[SpacesCatalogWidget] : " + k));
                                };
                            };
                        };
                    };
                };
            };
            page.replaceOffers([], false);
            return (true);
        }
        private function _-18N(_arg1:WindowEvent):void
        {
            var k:int;
            var k:ISelectableWindow = (_arg1.target as ISelectableWindow);
            if (k)
            {
                k = this._-BY._-2Vt(k);
                _-Nb.log(("select: " + [k.name, k]));
                this.switchCategory(k.name);
            };
        }
        private function switchCategory(_arg1:String):void
        {
            var k:int;
            if (disposed)
            {
                return;
            };
            if (!this._-BY)
            {
                return;
            };
            this._-BY.setSelected(this._-BY._-4Vf(_arg1));
            var k:int = -1;
            switch (_arg1)
            {
                case "group.walls":
                    k = 0;
                    break;
                case "group.floors":
                    k = 1;
                    break;
                case "group.views":
                    k = 2;
                    break;
                default:
                    k = -1;
            };
            if (k > -1)
            {
                if (_-4RB != null)
                {
                    _-4RB.deActivate();
                };
                _-4RB = null;
                this._-e1 = k;
                if (_-8S)
                {
                    _-8S.destroyGridItems();
                };
                page.replaceOffers(this._-33I[this._-e1], false);
                _-wc();
                populateItemGrid();
                _-0WP();
                if (_-2J0)
                {
                    _-2J0.start();
                };
                k = this._-0Im[this._-e1];
                this._-12q(k);
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0Ai.TrophyCatalogWidget

package _-0Ai
{
    import _-1ae.IBitmapWrapperWindow;
    import _-18r.Map;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-30J._-2KB;
    import _-1ae.IContainerButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1lc.Offer;
    import _-30J._-06;
    import _-30J._-2V;
    import _-30J._-Xe;
    import flash.display.BitmapData;
    import _-1lc._-2eJ;
    import _-293._-2Gt;
    import _-32F._-48b;
    import _-1lc.ProductImageConfiguration;
    import _-0y0._-Xl;
    import _-30J._-06g;
    import _-30J._-3dq;
    import _-30J._-zb;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-293.*;

    public class TrophyCatalogWidget extends _-4n4 implements _-3eG, dynamic 
    {

        private static const gold:int = 0xFFCC00;
        private static const silver:int = 0xCCCCCC;
        private static const _-3aC:int = 0xCC6600;

        private var _-2iy:IBitmapWrapperWindow;
        private var _-0wz:Map;
        private var _-Ho:int = 0;
        private var _-wQ:String = "g";
        private var _-3oJ:HabboCatalog;
        private var _-Kh:IWindow;

        public function TrophyCatalogWidget(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-3oJ = _arg2;
        }
        override public function dispose():void
        {
            if (this._-0wz != null)
            {
                this._-0wz.dispose();
            };
            this._-0wz = null;
            this._-3oJ = null;
            this._-Kh = null;
            super.dispose();
        }
        override public function init():Boolean
        {
            var k:String;
            var k:String;
            var k:Map;
            if (!super.init())
            {
                return (false);
            };
            this._-2iy = (window.findChildByName("ctlg_teaserimg_1") as IBitmapWrapperWindow);
            events.addEventListener(_-2KB.CWE_SELECT_PRODUCT, this._-2vU);
            events.addEventListener(_-2KB.CWE_COLOUR_INDEX, this._-0u4);
            events.addEventListener(_-2KB.CWE_TEXT_INPUT, this._-0Gf);
            var k:IContainerButtonWindow = (window.findChildByName("ctlg_nextmodel_button") as IContainerButtonWindow);
            var k:IContainerButtonWindow = (window.findChildByName("ctlg_prevmodel_button") as IContainerButtonWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2MD);
            };
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4Fj);
            };
            this._-0wz = new Map();
            var k:Offer;
            for each (k in page.offers)
            {
                k = this._-18G(k._-5Dp);
                k = this._-M0(k._-5Dp);
                if (this._-0wz.getValue(k) == null)
                {
                    this._-0wz.add(k, new Map());
                };
                k = (this._-0wz.getValue(k) as Map);
                k.add(k, k);
            };
            events.addEventListener(_-2KB.CWE_WIDGETS_INITIALIZED, this._-0pC);
            return (true);
        }
        private function _-0pC(_arg1:_-Xe):void
        {
            var k:Offer;
            var k:Array = new Array();
            k.push(gold);
            k.push(silver);
            k.push(_-3aC);
            var k:Map = this._-0wz.getWithIndex(this._-Ho);
            if (k != null)
            {
                k = k.getValue(this._-wQ);
                if (k == null)
                {
                    k = k.getWithIndex(0);
                };
                if (k != null)
                {
                    events.dispatchEvent(new _-06(k));
                };
            };
            events.dispatchEvent(new _-2V(k, "ctlg_clr_40x32_1", "ctlg_clr_40x32_2", "ctlg_clr_40x32_3"));
        }
        private function _-2vU(_arg1:_-06):void
        {
            var _local4:BitmapData;
            var _local5:_-2eJ;
            var _local6:_-2Gt;
            if (_arg1 == null)
            {
                return;
            };
            var k:Offer = _arg1.offer;
            var k:_-48b = page.viewer.catalog.getProductData(k._-5Dp);
            if (ProductImageConfiguration._-0H3(k._-5Dp))
            {
                this._-1pO(ProductImageConfiguration._-57-[k._-5Dp]);
            }
            else
            {
                _local5 = k.productContainer._-1YN;
                _local6 = page.viewer.roomEngine.getFurnitureImage(_local5._-3yk, new _-Xl(2, 0, 0), 64, this, 0, _local5._-1gg);
                k._-3PE = _local6.id;
                if (_local6 != null)
                {
                    _local4 = _local6.data;
                };
                this._-Cy(_local4, true);
            };
            this._-Kh = this._-3oJ.utils._-0GX(k, _-0xv, this._-Kh, this._-2iy, 0, false, 0);
        }
        private function _-0u4(_arg1:_-06g):void
        {
            var k:Offer;
            if (_arg1.index == 0)
            {
                this._-wQ = "g";
            };
            if (_arg1.index == 1)
            {
                this._-wQ = "s";
            };
            if (_arg1.index == 2)
            {
                this._-wQ = "b";
            };
            var k:Map = this._-0wz.getWithIndex(this._-Ho);
            if (k != null)
            {
                k = k.getValue(this._-wQ);
                if (k == null)
                {
                    k = k.getWithIndex(0);
                };
                if (k != null)
                {
                    events.dispatchEvent(new _-06(k));
                };
            };
            this._-Kh = this._-3oJ.utils._-0GX(k, _-0xv, this._-Kh, this._-2iy, 0, false, 0);
        }
        public function _-0Gf(_arg1:_-zb):void
        {
            events.dispatchEvent(new _-3dq(_arg1.text));
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:Offer;
            if (((((disposed) || ((page == null)))) || ((page.offers == null))))
            {
                return;
            };
            for each (k in page.offers)
            {
                if (k._-3PE == _arg1)
                {
                    k._-3PE = 0;
                    this._-Cy(_arg2, true);
                    break;
                };
            };
        }
        private function _-18G(_arg1:String):String
        {
            var k:String = this._-M0(_arg1);
            if (k.length > 0)
            {
                return (_arg1.slice(0, ((_arg1.length - 1) - k.length)));
            };
            return (_arg1);
        }
        private function _-M0(_arg1:String):String
        {
            var k:int = _arg1.indexOf("prizetrophy_2011_");
            if (k != -1)
            {
                return ("");
            };
            var k:int = (_arg1.lastIndexOf("_") + 1);
            if (k <= 0)
            {
                return ("");
            };
            var k:String = _arg1.substr(k);
            if ((((k.length > 1)) || (((((!((k == "g"))) && (!((k == "s"))))) && (!((k == "b")))))))
            {
                return ("");
            };
            return (k);
        }
        private function _-2MD(_arg1:WindowMouseEvent):void
        {
            var k:Offer;
            this._-Ho++;
            if (this._-Ho >= this._-0wz.length)
            {
                this._-Ho = 0;
            };
            var k:Map = this._-0wz.getWithIndex(this._-Ho);
            if (k != null)
            {
                k = k.getValue(this._-wQ);
                if (k == null)
                {
                    k = k.getWithIndex(0);
                };
                if (k != null)
                {
                    events.dispatchEvent(new _-06(k));
                };
            };
        }
        private function _-4Fj(_arg1:WindowMouseEvent):void
        {
            var k:Offer;
            this._-Ho--;
            if (this._-Ho < 0)
            {
                this._-Ho = (this._-0wz.length - 1);
            };
            var k:Map = this._-0wz.getWithIndex(this._-Ho);
            if (k != null)
            {
                k = k.getValue(this._-wQ);
                if (k == null)
                {
                    k = k.getWithIndex(0);
                };
                if (k != null)
                {
                    events.dispatchEvent(new _-06(k));
                };
            };
        }
        private function _-Cy(_arg1:BitmapData, _arg2:Boolean):void
        {
            var k:Point;
            if (((!(window.disposed)) && (!((this._-2iy == null)))))
            {
                if (_arg1 == null)
                {
                    k = new BitmapData(1, 1);
                    k = true;
                };
                if (this._-2iy.bitmap == null)
                {
                    this._-2iy.bitmap = new BitmapData(this._-2iy.width, this._-2iy.height, true, 0xFFFFFF);
                };
                this._-2iy.bitmap.fillRect(this._-2iy.bitmap.rect, 0xFFFFFF);
                k = new Point(((this._-2iy.width - _arg1.width) / 2), ((this._-2iy.height - _arg1.height) / 2));
                this._-2iy.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
                this._-2iy.invalidate();
            };
            if (((_arg2) && (!((_arg1 == null)))))
            {
                _arg1.dispose();
            };
        }
        private function _-1pO(_arg1:String):void
        {
            var k:BitmapDataAsset = (page.viewer.catalog.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k == null)
            {
                this._-4Jr(_arg1);
                return;
            };
            this._-Cy((k.content as BitmapData), false);
        }
        private function _-4Jr(_arg1:String):void
        {
            var k = ((page.viewer.catalog.imageGalleryHost + _arg1) + ".gif");
            _-Nb.log(("[TrophyCatalogWidget] Retrieve Product Preview Asset: " + k));
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = page.viewer.catalog.assets.loadAssetFromFile(_arg1, k, "image/gif");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-4JW);
        }
        private function _-4JW(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                this._-1pO(k.assetName);
            };
        }

    }
}//package _-0Ai

//------------------------------------------------------------
//_-0AI._-0ML

package _-0AI
{
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-295._-39L;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;

    public class _-0ML 
    {

        private var _-Ke:DimmerView;
        private var _-0VQ:IWindowContainer;
        private var _-176:BitmapData;
        private var _-1yu:BitmapData;
        private var _-6i:int;
        private var _-3BY:int;
        private var _-23f:int = 0;
        private var _-2Wz:int = 0xFF;

        public function _-0ML(_arg1:DimmerView, _arg2:IWindowContainer, _arg3:_-39L, _arg4:int=0, _arg5:int=0xFF)
        {
            this._-Ke = _arg1;
            this._-0VQ = _arg2;
            this._-23f = _arg4;
            this._-2Wz = _arg5;
            this._-01E(_arg3);
            this._-2LK();
        }
        public function dispose():void
        {
            this._-Ke = null;
            this._-0VQ = null;
            this._-176 = null;
            this._-1yu = null;
        }
        public function _-4R2(_arg1:int):void
        {
            if (this._-0VQ == null)
            {
                return;
            };
            var k:IWindow = this._-0VQ.findChildByName("slider_button");
            if (k != null)
            {
                k.x = this._-4ge(_arg1);
            };
        }
        public function set min(_arg1:Number):void
        {
            this._-23f = _arg1;
            this._-4R2(this._-Ke._-457);
        }
        public function set max(_arg1:Number):void
        {
            this._-2Wz = _arg1;
            this._-4R2(this._-Ke._-457);
        }
        private function _-4ge(_arg1:int):int
        {
            return (int((this._-6i * (Number((_arg1 - this._-23f)) / (this._-2Wz - this._-23f)))));
        }
        private function getValue(_arg1:Number):int
        {
            return ((int(((_arg1 / this._-6i) * (this._-2Wz - this._-23f))) + this._-23f));
        }
        private function _-18h(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!((_arg1.type == WindowMouseEvent._-02B))) && (!((_arg1.type == WindowMouseEvent._-2uJ)))))
            {
                return;
            };
            this._-Ke._-457 = this.getValue(_arg2.x);
        }
        private function _-2LK():void
        {
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            if (this._-0VQ == null)
            {
                return;
            };
            k = (this._-0VQ.findChildByName("slider_base") as IBitmapWrapperWindow);
            if (((!((k == null))) && (!((this._-176 == null)))))
            {
                k.bitmap = new BitmapData(this._-176.width, this._-176.height, true, 0xFFFFFF);
                k.bitmap.copyPixels(this._-176, this._-176.rect, new Point(0, 0), null, null, true);
            };
            k = (this._-0VQ.findChildByName("slider_movement_area") as IWindowContainer);
            if (k != null)
            {
                k = (k.findChildByName("slider_button") as IBitmapWrapperWindow);
                if (((!((k == null))) && (!((this._-1yu == null)))))
                {
                    k.bitmap = new BitmapData(this._-1yu.width, this._-1yu.height, true, 0xFFFFFF);
                    k.bitmap.copyPixels(this._-1yu, this._-1yu.rect, new Point(0, 0), null, null, true);
                    k.procedure = this._-18h;
                    this._-6i = (k.width - k.width);
                };
            };
        }
        private function _-01E(_arg1:_-39L):void
        {
            var k:BitmapDataAsset;
            if (_arg1 == null)
            {
                return;
            };
            k = BitmapDataAsset(_arg1.getAssetByName("dimmer_slider_base"));
            this._-176 = BitmapData(k.content);
            k = BitmapDataAsset(_arg1.getAssetByName("dimmer_slider_button"));
            this._-1yu = BitmapData(k.content);
        }

    }
}//package _-0AI

//------------------------------------------------------------
//_-0AI._-20Y

package _-0AI
{
    import _-1ae.IItemGridWindow;
    import flash.display.BitmapData;
    import _-Ew.IWindowContainer;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.ColorTransform;
    import _-0Ie.WindowMouseEvent;
    import flash.geom.Point;
    import _-295._-243;
    import _-295.BitmapDataAsset;

    public class _-20Y 
    {

        private var _-1C2:IItemGridWindow;
        private var _-Ke:DimmerView;
        private var _-07H:XML;
        private var _-05o:BitmapData;
        private var _-41U:BitmapData;
        private var _-3Az:BitmapData;
        private var _-4RB:IWindowContainer;

        public function _-20Y(_arg1:DimmerView, _arg2:IItemGridWindow, _arg3:_-3Ts, _arg4:_-39L)
        {
            this._-Ke = _arg1;
            this._-1C2 = _arg2;
            this._-01E(_arg4);
            this.populate(_arg3);
        }
        public function dispose():void
        {
            this._-Ke = null;
            this._-1C2 = null;
            this._-07H = null;
            this._-05o = null;
            this._-41U = null;
            this._-3Az = null;
        }
        public function _-1lH(_arg1:int):void
        {
            if (this._-1C2 == null)
            {
                return;
            };
            if ((((_arg1 < 0)) || ((_arg1 >= this._-1C2.numGridItems))))
            {
                return;
            };
            this.select((this._-1C2._-jx(_arg1) as IWindowContainer));
        }
        private function populate(_arg1:_-3Ts):void
        {
            if ((((this._-Ke == null)) || ((this._-1C2 == null))))
            {
                return;
            };
            this._-2j6(_arg1);
        }
        private function select(_arg1:IWindowContainer):void
        {
            var k:IWindow;
            if (this._-4RB != null)
            {
                k = this._-4RB.getChildByName("chosen");
                if (k != null)
                {
                    k.visible = false;
                };
            };
            this._-4RB = _arg1;
            k = this._-4RB.getChildByName("chosen");
            if (k != null)
            {
                k.visible = true;
            };
        }
        private function _-2j6(_arg1:_-3Ts):void
        {
            var k:uint;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:IBitmapWrapperWindow;
            var k:IBitmapWrapperWindow;
            var k:uint;
            var k:uint;
            var k:uint;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:ColorTransform;
            var k:BitmapData;
            this._-1C2.destroyGridItems();
            this._-4RB = null;
            for each (k in this.colors)
            {
                k = (_arg1.buildFromXML(this._-07H) as IWindowContainer);
                k.addEventListener(WindowMouseEvent._-90, this.onClick);
                k.background = true;
                k.color = 0xFFFFFFFF;
                k.width = this._-05o.width;
                k.height = this._-05o.height;
                this._-1C2._-2-F(k);
                k = (k.findChildByTag("BG_BORDER") as IBitmapWrapperWindow);
                if (k != null)
                {
                    k.bitmap = new BitmapData(this._-05o.width, this._-05o.height, true, 0);
                    k.bitmap.copyPixels(this._-05o, this._-05o.rect, new Point(0, 0));
                };
                k = (k.findChildByTag("COLOR_IMAGE") as IBitmapWrapperWindow);
                if (k != null)
                {
                    k.bitmap = new BitmapData(this._-41U.width, this._-41U.height, true, 0);
                    k = ((k >> 16) & 0xFF);
                    k = ((k >> 8) & 0xFF);
                    k = ((k >> 0) & 0xFF);
                    k = ((k / 0xFF) * 1);
                    k = ((k / 0xFF) * 1);
                    k = ((k / 0xFF) * 1);
                    k = new ColorTransform(k, k, k);
                    k = this._-41U.clone();
                    k.colorTransform(k.rect, k);
                    k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
                };
                k = (k.findChildByTag("COLOR_CHOSEN") as IBitmapWrapperWindow);
                if (k != null)
                {
                    k.bitmap = new BitmapData(this._-3Az.width, this._-3Az.height, true, 0xFFFFFF);
                    k.bitmap.copyPixels(this._-3Az, this._-3Az.rect, new Point(0, 0), null, null, true);
                    k.visible = false;
                };
            };
        }
        private function onClick(_arg1:WindowMouseEvent):void
        {
            var k:int = this._-1C2.getGridItemIndex((_arg1.target as IWindow));
            this._-1lH(k);
            this._-Ke._-4l = k;
        }
        private function _-01E(_arg1:_-39L):void
        {
            var k:_-243;
            var k:BitmapDataAsset;
            if (_arg1 == null)
            {
                return;
            };
            k = _-243(_arg1.getAssetByName("dimmer_color_chooser_cell"));
            this._-07H = XML(k.content);
            k = BitmapDataAsset(_arg1.getAssetByName("dimmer_color_frame"));
            this._-05o = BitmapData(k.content);
            k = BitmapDataAsset(_arg1.getAssetByName("dimmer_color_button"));
            this._-41U = BitmapData(k.content);
            k = BitmapDataAsset(_arg1.getAssetByName("dimmer_color_selected"));
            this._-3Az = BitmapData(k.content);
        }
        private function get colors():Array
        {
            if (this._-Ke == null)
            {
                return ([]);
            };
            return (this._-Ke.colors);
        }

    }
}//package _-0AI

//------------------------------------------------------------
//_-0AI._-du

package _-0AI
{
    public class _-du 
    {

        private var _-0Kq:int = 0;
        private var _-5K:int = 0;
        private var _color:uint = 0;
        private var _-3Ar:uint = 0;

        public function _-du(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint)
        {
            this._-0Kq = _arg1;
            this._-5K = _arg2;
            this._color = _arg3;
            this._-3Ar = _arg4;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-IP():uint
        {
            return (this._-3Ar);
        }
        public function set type(_arg1:int):void
        {
            this._-5K = _arg1;
        }
        public function set color(_arg1:uint):void
        {
            this._color = _arg1;
        }
        public function set _-IP(_arg1:uint):void
        {
            this._-3Ar = _arg1;
        }

    }
}//package _-0AI

//------------------------------------------------------------
//_-0AI.DimmerFurniWidget

package _-0AI
{
    import _-FP._-2ul;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og.RoomWidgetDimmerUpdateEvent;
    import _-og._-0gO;
    import flash.events.IEventDispatcher;
    import _-og._-4wy;
    import _-1FD._-1ev;
    import _-1FD._-TC;
    import _-1FD._-sb;

    public class DimmerFurniWidget extends _-2ul 
    {

        private static const _-3bh:Array = new Array(7665141, 21495, 15161822, 15353138, 15923281, 8581961, 0);
        private static const _-0AA:Array = new Array(int((0.3 * 0xFF)), int((0.3 * 0xFF)));

        private var _-Ke:DimmerView;
        private var _-0HN:Array;
        private var _-2-r:int;
        private var _-4w2:int;
        private var _-W5:int;
        private var _-57p:int;
        private var _color:uint = 0xFFFFFF;
        private var _-08E:uint = 0xFF;

        public function DimmerFurniWidget(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        public function get _-3W5():int
        {
            return (this._-4w2);
        }
        public function get _-VR():Array
        {
            return (this._-0HN);
        }
        public function get colors():Array
        {
            return (_-3bh);
        }
        public function get _-2I7():Array
        {
            return (_-0AA);
        }
        public function get _-1ks():int
        {
            return (this._-2-r);
        }
        public function set _-1ks(_arg1:int):void
        {
            this._-2-r = _arg1;
        }
        override public function dispose():void
        {
            this._-3MR();
            this._-0HN = null;
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(RoomWidgetDimmerUpdateEvent._-1oZ, this._-3Ok);
            _arg1.addEventListener(RoomWidgetDimmerUpdateEvent._-Ne, this._-3bm);
            _arg1.addEventListener(_-0gO._-2di, this._-al);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(RoomWidgetDimmerUpdateEvent._-1oZ, this._-3Ok);
            _arg1.removeEventListener(RoomWidgetDimmerUpdateEvent._-Ne, this._-3bm);
            _arg1.removeEventListener(_-0gO._-2di, this._-al);
        }
        private function _-3Ok(_arg1:RoomWidgetDimmerUpdateEvent):void
        {
            var k:_-4wy;
            var k:_-du;
            this._-2-r = (_arg1._-39D - 1);
            this._-0HN = new Array();
            var k:int;
            while (k < _arg1._-VR.length)
            {
                k = _arg1._-VR[k];
                k = new _-du(k.id, k.type, k.color, k._-IP);
                this._-0HN.push(k);
                k++;
            };
            this._-3Zl();
        }
        private function _-3bm(_arg1:RoomWidgetDimmerUpdateEvent):void
        {
            this._-3MR();
        }
        private function _-3MR():void
        {
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        private function _-al(_arg1:_-0gO):void
        {
            var k:_-1ev;
            if (_arg1 == null)
            {
                return;
            };
            this._-4w2 = _arg1.state;
            this._-W5 = _arg1._-0Wp;
            this._-57p = _arg1._-33s;
            this._color = _arg1.color;
            this._-08E = _arg1._-42j;
            if (this._-Ke != null)
            {
                this._-Ke.update();
            };
            if (!this._-04e(this._-08E, this._-57p))
            {
                return;
            };
            k = new _-1ev(this._color, this._-08E, (this._-57p == 2));
            messageListener.processWidgetMessage(k);
        }
        private function _-3Zl():void
        {
            if (this._-Ke == null)
            {
                this._-Ke = new DimmerView(this);
            };
            if (this._-Ke != null)
            {
                this._-Ke._-3Zl();
            };
        }
        public function _-39X(_arg1:Boolean):void
        {
            var k:_-TC;
            if (this._-4w2 == 0)
            {
                return;
            };
            if (messageListener == null)
            {
                return;
            };
            var k:int = (this._-2-r + 1);
            if ((((((this._-0HN == null)) || ((k < 0)))) || ((k > this._-0HN.length))))
            {
                return;
            };
            var k:int = this._-Ke._-1wO;
            var k:uint = this.colors[this._-Ke._-4l];
            var k:int = this._-Ke._-457;
            var k:_-du = (this._-0HN[this._-2-r] as _-du);
            if (((((((((!((k == null))) && ((k.type == k)))) && ((k.color == k)))) && ((k._-IP == k)))) && (!(_arg1))))
            {
                return;
            };
            k.type = k;
            k.color = k;
            k._-IP = k;
            if (!this._-04e(k, k))
            {
                return;
            };
            k = new _-TC(k, k, k, k, _arg1);
            messageListener.processWidgetMessage(k);
        }
        public function _-4cb():void
        {
            var k:_-1ev;
            if (this._-4w2 == 0)
            {
                return;
            };
            if (messageListener == null)
            {
                return;
            };
            if (!this._-04e(this._-Ke._-457, this._-Ke._-1wO))
            {
                return;
            };
            k = new _-1ev(this.colors[this._-Ke._-4l], this._-Ke._-457, (this._-Ke._-1wO == 2));
            messageListener.processWidgetMessage(k);
        }
        public function _-3vD():void
        {
            var k:_-sb;
            if (messageListener != null)
            {
                k = new _-sb();
                messageListener.processWidgetMessage(k);
            };
        }
        public function _-2qB():void
        {
            var k:_-1ev;
            if (messageListener == null)
            {
                return;
            };
            if (!this._-04e(this._-08E, this._-57p))
            {
                return;
            };
            k = new _-1ev(this._color, this._-08E, (this._-57p == 2));
            messageListener.processWidgetMessage(k);
        }
        private function _-04e(_arg1:uint, _arg2:int):Boolean
        {
            return (true);
        }

    }
}//package _-0AI

//------------------------------------------------------------
//_-0AI.DimmerView

package _-0AI
{
    import _-Ew.IWindowContainer;
    import _-1ae.ITabContextWindow;
    import _-Ew.IWindow;
    import _-1ae.ITabButtonWindow;
    import flash.display.BitmapData;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-1ae.IItemGridWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import flash.geom.Point;
    import _-1ae.ICheckBoxWindow;
    import _-0Ie.WindowEvent;
    import _-1ae.ISelectableWindow;
    import _-295._-243;

    public class DimmerView 
    {

        private static const _-3SS:Number = 100;
        private static const _-OU:Number = 100;

        private var _-0xv:IWindowContainer;
        private var _-44a:ITabContextWindow;
        private var _-ub:XML;
        private var _-0dg:DimmerFurniWidget;
        private var _-3S6:_-20Y;
        private var set :_-0ML;
        private var _-13N:int;
        private var _-3NW:int;
        private var _-51M:int;

        public function DimmerView(_arg1:DimmerFurniWidget)
        {
            this._-0dg = _arg1;
        }
        public function get _-457():int
        {
            return (this._-13N);
        }
        public function get _-4l():int
        {
            return (this._-3NW);
        }
        public function get _-1wO():int
        {
            return (this._-51M);
        }
        public function dispose():void
        {
            this._-0of();
            this._-0dg = null;
        }
        public function _-3Zl():void
        {
            if (this._-0xv == null)
            {
                this.createWindow();
            };
            this._-1kF(this._-0dg._-1ks);
            this.update();
        }
        public function update():void
        {
            var k:String;
            if ((((this._-0xv == null)) || ((this._-0dg == null))))
            {
                return;
            };
            var k = (this._-0dg._-3W5 == 1);
            var k:IWindow = this._-0xv.findChildByName("on_off_button");
            if (k != null)
            {
                k = ((k) ? "${widget.dimmer.button.off}" : "${widget.dimmer.button.on}");
                k.caption = k;
            };
            k = this._-0xv.findChildByName("tabbedview");
            if (k != null)
            {
                k.visible = k;
            };
            k = this._-0xv.findChildByName("apply_button");
            if (k != null)
            {
                if (k)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
            k = this._-0xv.findChildByName("off_border");
            if (k)
            {
                k.visible = !(k);
            };
        }
        public function _-0of():void
        {
            if (this._-0dg != null)
            {
                this._-0dg._-2qB();
            };
            if (this._-3S6 != null)
            {
                this._-3S6.dispose();
                this._-3S6 = null;
            };
            if (this.set  != null)
            {
                this.set .dispose();
                this.set  = null;
            };
            this._-44a = null;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function createWindow():void
        {
            var k:IWindow;
            var k:IWindow;
            var k:ITabButtonWindow;
            var k:BitmapData;
            if ((((((this._-0dg == null)) || ((this._-0dg.windowManager == null)))) || ((this._-17S == null))))
            {
                return;
            };
            this._-0xv = (this._-0dg.windowManager.createWindow("dimmerui_container", "", _-4Pi._-0Dc, _-29z._-3dr, (_-3hb._-0l | _-3hb._-0g6), new Rectangle(_-3SS, _-OU, 2, 2), null, 0) as IWindowContainer);
            this._-0xv.buildFromXML(this._-17S);
            k = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.procedure = this._-lf;
            };
            k = this._-0xv.findChildByName("color_grid_container");
            if (k != null)
            {
                k = (k as IWindowContainer).findChildByName("color_grid");
                if (k != null)
                {
                    this._-3S6 = new _-20Y(this, (k as IItemGridWindow), this._-0dg.windowManager, this._-0dg.assets);
                };
            };
            k = this._-0xv.findChildByName("brightness_container");
            if (k != null)
            {
                this.set  = new _-0ML(this, (k as IWindowContainer), this._-0dg.assets);
            };
            this._-44a = ITabContextWindow(this._-0xv.findChildByName("tab_context"));
            this._-5B1(this._-0dg._-1ks);
            var k:int;
            while (k < this._-44a._-2Z)
            {
                k = this._-44a._-3Zg(k);
                k.setParamFlag(_-3hb._-0g6, true);
                k.procedure = this._-12p;
                k++;
            };
            k = this._-0xv.findChildByName("type_checkbox");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            k = this._-0xv.findChildByName("apply_button");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            k = this._-0xv.findChildByName("on_off_button");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("off_image") as IBitmapWrapperWindow);
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName("dimmer_info") as BitmapDataAsset);
            if (((!((k == null))) && (!((k == null)))))
            {
                k.bitmap = new BitmapData(k.width, k.height);
                k = (k.content as BitmapData);
                if (k != null)
                {
                    k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
                };
            };
        }
        private function _-2yr(_arg1:WindowMouseEvent):void
        {
            var _local4:ICheckBoxWindow;
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "type_checkbox":
                    _local4 = (_arg1.target as ICheckBoxWindow);
                    if (_local4 == null)
                    {
                        return;
                    };
                    if (_local4._-vX)
                    {
                        this._-1wO = 2;
                    }
                    else
                    {
                        this._-1wO = 1;
                    };
                    this._-0dg._-4cb();
                    return;
                case "apply_button":
                    this._-0dg._-39X(true);
                    return;
                case "cancel":
                case "close":
                    this._-0of();
                    return;
                case "on_off_button":
                    this._-0dg._-3vD();
                    return;
            };
        }
        private function _-12p(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowEvent._-2wB)
            {
                return;
            };
            this._-0dg._-39X(false);
            var k:int = _arg2.id;
            this._-1kF(k);
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-0of();
        }
        private function _-1kF(_arg1:int):void
        {
            if ((((((((this._-0dg == null)) || ((this._-0dg._-VR == null)))) || ((_arg1 < 0)))) || ((_arg1 >= this._-0dg._-VR.length))))
            {
                return;
            };
            this._-0dg._-1ks = _arg1;
            var k:_-du = this._-0dg._-VR[_arg1];
            if (k == null)
            {
                return;
            };
            this._-5B1(_arg1);
            this._-13N = k._-IP;
            if (this.set  != null)
            {
                this.set ._-4R2(this._-13N);
            };
            this._-3NW = this.colors.indexOf(k.color);
            if (this._-3S6 != null)
            {
                this._-3S6._-1lH(this._-3NW);
            };
            this._-1wO = k.type;
            this._-0dg._-4cb();
        }
        private function _-5B1(_arg1:int):void
        {
            if (this._-44a == null)
            {
                return;
            };
            var k:IWindow = this._-44a._-3Zg(_arg1);
            if (k != null)
            {
                this._-44a.selector.setSelected((k as ISelectableWindow));
            };
        }
        private function _-4Yj():int
        {
            if (this._-44a == null)
            {
                return (-1);
            };
            var k:ISelectableWindow = this._-44a.selector._-WM();
            return (this._-44a.selector._-2Vt(k));
        }
        private function get _-17S():XML
        {
            if (this._-ub != null)
            {
                return (this._-ub);
            };
            if ((((((this._-0dg == null)) || ((this._-0dg.assets == null)))) || ((this._-0dg.assets.getAssetByName("dimmer_ui") == null))))
            {
                return (null);
            };
            var k:_-243 = _-243(this._-0dg.assets.getAssetByName("dimmer_ui"));
            this._-ub = XML(k.content);
            return (this._-ub);
        }
        public function get colors():Array
        {
            if (this._-0dg == null)
            {
                return (null);
            };
            return (this._-0dg.colors);
        }
        public function set _-1wO(_arg1:int):void
        {
            if (((!((_arg1 == 1))) && (!((_arg1 == 2)))))
            {
                return;
            };
            this._-51M = _arg1;
            var k:ICheckBoxWindow = (this._-0xv.findChildByName("type_checkbox") as ICheckBoxWindow);
            if (k != null)
            {
                if (_arg1 == 2)
                {
                    k.select();
                }
                else
                {
                    k._-5Aq();
                };
            };
            if (this.set  != null)
            {
                this.set .min = this._-0dg._-2I7[(_arg1 - 1)];
            };
        }
        public function set _-4l(_arg1:int):void
        {
            this._-3NW = _arg1;
            if (this._-3S6 != null)
            {
                this._-3S6._-1lH(_arg1);
            };
            this._-0dg._-4cb();
        }
        public function set _-457(_arg1:int):void
        {
            this._-13N = _arg1;
            if (this.set  != null)
            {
                this.set ._-4R2(_arg1);
            };
            this._-0dg._-4cb();
        }

    }
}//package _-0AI

//------------------------------------------------------------
//_-0B2._-0Pa

package _-0B2
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Pa implements _-58N 
    {

        private var _-3Dw:String = "";

        public function get reason():String
        {
            return (this._-3Dw);
        }
        public function flush():Boolean
        {
            this._-3Dw = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1.readString();
            return (true);
        }

    }
}//package _-0B2

//------------------------------------------------------------
//_-0B2._-2BC

package _-0B2
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2BC implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-1hg:Boolean = false;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get isOpen():Boolean
        {
            return (this._-1hg);
        }
        public function flush():Boolean
        {
            this._-1hg = false;
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1hg = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-0B2

//------------------------------------------------------------
//_-0B2._-44R

package _-0B2
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-44R implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-0B2

//------------------------------------------------------------
//_-0c3._-0c9

package _-0c3
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0c9 implements _-58N 
    {

        private var _-0-G:Boolean;
        private var _-0F7:_-0Xj;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0-G = _arg1.readBoolean();
            this._-0F7 = new _-0Xj(_arg1);
            return (true);
        }
        public function get _-3rt():Boolean
        {
            return (this._-0-G);
        }
        public function get item():_-0Xj
        {
            return (this._-0F7);
        }

    }
}//package _-0c3

//------------------------------------------------------------
//_-0c3._-0iN

package _-0c3
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0iN implements _-58N 
    {

        private var _-8k:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-8k = _arg1._-2BW();
            return (true);
        }
        public function get itemId():int
        {
            return (this._-8k);
        }

    }
}//package _-0c3

//------------------------------------------------------------
//_-0c3._-0Xj

package _-0c3
{
    import _-4Aj._-0s1;

    public class _-0Xj 
    {

        private var _-0Kq:int;
        private var _name:String;
        private var _-4Cb:String;
        private var _-5AE:String;

        public function _-0Xj(_arg1:_-0s1)
        {
            this._-0Kq = _arg1._-2BW();
            this._name = _arg1.readString();
            this._-4Cb = _arg1.readString();
            this._-5AE = _arg1.readString();
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }

    }
}//package _-0c3

//------------------------------------------------------------
//_-0c3._-1KZ

package _-0c3
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1KZ implements _-58N 
    {

        private var _-2ZH:Map;

        public function flush():Boolean
        {
            if (this._-2ZH)
            {
                this._-2ZH.dispose();
                this._-2ZH = null;
            };
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:_-0Xj;
            this._-2ZH = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new _-0Xj(_arg1);
                this._-2ZH.add(k.id, k);
                k++;
            };
            return (true);
        }
        public function get items():Map
        {
            return (this._-2ZH);
        }

    }
}//package _-0c3

//------------------------------------------------------------
//_-0c3._-4fA

package _-0c3
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4fA implements _-58N 
    {

        private var _-0F7:_-0Xj;
        private var _-3nI:Boolean;

        public function flush():Boolean
        {
            this._-0F7 = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0F7 = new _-0Xj(_arg1);
            this._-3nI = _arg1.readBoolean();
            return (true);
        }
        public function get item():_-0Xj
        {
            return (this._-0F7);
        }
        public function _-wR():Boolean
        {
            return (this._-3nI);
        }

    }
}//package _-0c3

//------------------------------------------------------------
//_-0cq._-2eR

package _-0cq
{
    import _-1am.CurrencyIndicatorBase;
    import _-0mD._-2Jq;
    import _-2JX._-1sv;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-uF.ICoreLocalizationManager;
    import _-2JX._-0I-;
    import flash.events.IEventDispatcher;
    import _-0Ie.WindowMouseEvent;

    public class _-2eR extends CurrencyIndicatorBase 
    {

        private const _-2YV:uint = 4283212437;
        private const _-2ab:uint = 4282748017;

        private var _-3oJ:_-2Jq;

        public function _-2eR(_arg1:_-3Ts, _arg2:_-39L, _arg3:_-2Jq, _arg4:ICoreLocalizationManager)
        {
            super(_arg1, _arg2);
            this._-3oJ = _arg3;
            this._-14 = this._-2YV;
            this._-2sp = this._-2ab;
            this._-1uh = "amount";
            this._-3oK = "amount_shadow";
            this._-15W = _arg4.getKey("purse.snowflakes.zero.amount.text", "Info");
            createWindow("purse_indicator_seasonal_xml", null);
            view.findChildByName("seasonal_icon").style = _-1sv._-45C(this._-11Y(), this._-3oJ.configuration, true);
            this._-1FZ(0);
        }
        private function _-11Y():int
        {
            return (int(this._-3oJ.configuration.getKey("seasonalcurrencyindicator.currency", "1")));
        }
        private function _-00V():String
        {
            return (this._-3oJ.configuration.getKey("seasonalcurrencyindicator.page", ""));
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (!_arg1)
            {
                return;
            };
            _arg1.addEventListener(_-0I-._-0tl, this._-0-k);
        }
        override protected function onContainerClick(_arg1:WindowMouseEvent):void
        {
            this._-3oJ.openCatalogPage(this._-00V());
        }
        private function _-0-k(_arg1:_-0I-):void
        {
            if (_arg1.activityPointType == this._-11Y())
            {
                this._-1FZ(_arg1.balance);
            };
        }
        private function _-1FZ(_arg1:int):void
        {
            var k:String = _arg1.toString();
            if (_arg1 == 0)
            {
                k = this._-15W;
                _-31u(true);
            }
            else
            {
                _-31u(false);
            };
            _-0Ab(k);
        }

    }
}//package _-0cq

//------------------------------------------------------------
//_-0cq.ClubDaysIndicator

package _-0cq
{
    import _-1am.CurrencyIndicatorBase;
    import _-0mD._-2Jq;
    import _-3Zp._-1bw;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-uF.ICoreLocalizationManager;
    import _-4WI._-4pP;
    import flash.events.IEventDispatcher;
    import _-2Mh._-3YS;
    import _-0Ie.WindowMouseEvent;
    import _-1Jd._-1ij;
    import _-1ae.IIconWindow;

    public class ClubDaysIndicator extends CurrencyIndicatorBase 
    {

        private static const _-2YV:uint = 4286084205;
        private static const _-2ab:uint = 4283781966;
        private static const _-1AM:int = 13;
        private static const _-4nz:int = 14;

        private var _-3oJ:_-2Jq;
        private var _-YX:_-1bw;

        public function ClubDaysIndicator(_arg1:_-3Ts, _arg2:_-39L, _arg3:_-2Jq, _arg4:_-1bw, _arg5:ICoreLocalizationManager)
        {
            super(_arg1, _arg2);
            this._-3oJ = _arg3;
            this._-YX = _arg4;
            this._-14 = _-2YV;
            this._-2sp = _-2ab;
            this._-1uh = "days";
            this._-3oK = "days_shadow";
            this._-15W = _arg5.getKey("purse.clubdays.zero.amount.text", "Get");
            createWindow("purse_indicator_club_xml", "");
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (!_arg1)
            {
                return;
            };
            _arg1.addEventListener(_-4pP._-U3, this._-0u2);
        }
        override protected function onContainerClick(_arg1:WindowMouseEvent):void
        {
            this._-3oJ.openClubBuy(_-3YS._-36p, "ClubDaysIndicator");
        }
        private function _-0u2(_arg1:_-4pP):void
        {
            var k:int = ((this._-YX.clubPeriods * 31) + this._-YX.clubDays);
            _-0Ab(k.toString());
            switch (this._-YX.clubLevel)
            {
                case _-1ij._-42U:
                    this._-PU(_-4nz);
                    _-0Ab(this._-15W);
                    _-31u(true);
                    return;
                case _-1ij._-12G:
                    this._-PU(_-1AM);
                    _-31u(false);
                    return;
                case _-1ij._-1pk:
                    this._-PU(_-4nz);
                    _-31u(false);
                    return;
            };
        }
        private function _-PU(_arg1:int):void
        {
            var k:IIconWindow = (this.view.findChildByName("club_icon") as IIconWindow);
            if (k)
            {
                k.style = _arg1;
                k.invalidate();
            };
        }

    }
}//package _-0cq

//------------------------------------------------------------
//_-0cq.CreditsIndicator

package _-0cq
{
    import _-1am.CurrencyIndicatorBase;
    import _-0mD._-2Jq;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-uF.ICoreLocalizationManager;
    import _-2JX._-0I-;
    import flash.events.IEventDispatcher;
    import _-0Ie.WindowMouseEvent;

    public class CreditsIndicator extends CurrencyIndicatorBase 
    {

        private static const _-2YV:uint = 4291993382;
        private static const _-2ab:uint = 0xFFC08500;
        private static const _-10C:Array = ["icon_credit_0_png", "icon_credit_1_png", "icon_credit_2_png", "icon_credit_3_png", "icon_credit_4_png", "icon_credit_5_png", "icon_credit_6_png"];

        private var _-2l8:int = -1;
        private var _-3oJ:_-2Jq;

        public function CreditsIndicator(_arg1:_-3Ts, _arg2:_-39L, _arg3:_-2Jq, _arg4:ICoreLocalizationManager)
        {
            super(_arg1, _arg2);
            this._-3oJ = _arg3;
            this._-14 = _-2YV;
            this._-2sp = _-2ab;
            this._-1uh = "credits";
            this._-3oK = "credits_shadow";
            this._-1Nn = _-10C;
            this._-fd = 50;
            this._-15W = _arg4.getKey("purse.credits.zero.amount.text", "Buy");
            createWindow("purse_indicator_credits_xml", _-10C[0]);
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (!_arg1)
            {
                return;
            };
            _arg1.addEventListener(_-0I-._-3-q, this._-3C-);
        }
        override protected function onContainerClick(_arg1:WindowMouseEvent):void
        {
            this._-3oJ.openCreditsHabblet();
        }
        private function _-3C-(_arg1:_-0I-):void
        {
            var k:String = _arg1.balance.toString();
            if (_arg1.balance == 0)
            {
                k = this._-15W;
                _-31u(true);
            }
            else
            {
                _-31u(false);
            };
            this._-0Ab(k);
            if (this._-2l8 != -1)
            {
                if (this._-2l8 > _arg1.balance)
                {
                    _-2Wy(CurrencyIndicatorBase.ANIM_DIRECTION_FORWARD);
                }
                else
                {
                    _-2Wy(CurrencyIndicatorBase.ANIM_DIRECTION_BACKWARD);
                };
            };
            this._-2l8 = _arg1.balance;
        }

    }
}//package _-0cq

//------------------------------------------------------------
//_-0cq.PixelsIndicator

package _-0cq
{
    import _-1am.CurrencyIndicatorBase;
    import _-0mD._-2Jq;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-uF.ICoreLocalizationManager;
    import _-2JX._-0I-;
    import flash.events.IEventDispatcher;
    import _-2Mh._-cF;
    import _-0Ie.WindowMouseEvent;
    import _-2JX._-1sv;

    public class PixelsIndicator extends CurrencyIndicatorBase 
    {

        private static const _-2YV:uint = 4285767869;
        private static const _-2ab:uint = 4283664040;
        private static const _-10C:Array = ["icon_pixel_0_png", "icon_pixel_1_png", "icon_pixel_2_png", "icon_pixel_3_png"];

        private var _-Lb:int = 0;
        private var _-3oJ:_-2Jq;

        public function PixelsIndicator(_arg1:_-3Ts, _arg2:_-39L, _arg3:_-2Jq, _arg4:ICoreLocalizationManager)
        {
            super(_arg1, _arg2);
            this._-3oJ = _arg3;
            this._-14 = _-2YV;
            this._-2sp = _-2ab;
            this._-1uh = "pixels";
            this._-3oK = "pixels_shadow";
            this._-1Nn = _-10C.concat(_-10C);
            this._-fd = 50;
            this._-15W = _arg4.getKey("purse.pixels.zero.amount.text", "Get");
            createWindow("purse_indicator_pixels_xml", _-10C[0]);
            this._-1FZ(0);
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (!_arg1)
            {
                return;
            };
            _arg1.addEventListener(_-0I-._-0tl, this._-17B);
        }
        override protected function onContainerClick(_arg1:WindowMouseEvent):void
        {
            this._-3oJ.openCatalogPage(_-cF._-3LZ);
        }
        private function _-17B(_arg1:_-0I-):void
        {
            if (_arg1.activityPointType != _-1sv.PIXEL)
            {
                return;
            };
            this._-1FZ(_arg1.balance);
            if (this._-Lb != 0)
            {
                if (this._-Lb > _arg1.balance)
                {
                    _-2Wy(CurrencyIndicatorBase.ANIM_DIRECTION_FORWARD);
                }
                else
                {
                    _-2Wy(CurrencyIndicatorBase.ANIM_DIRECTION_BACKWARD);
                };
            };
            this._-Lb = _arg1.balance;
        }
        private function _-1FZ(_arg1:int):void
        {
            var k:String = _arg1.toString();
            if (_arg1 == 0)
            {
                k = this._-15W;
                _-31u(true);
            }
            else
            {
                _-31u(false);
            };
            _-0Ab(k);
        }

    }
}//package _-0cq

//------------------------------------------------------------
//_-0dE._-0qk

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-2fh;

    public class _-0qk extends _-7V 
    {

        public function _-0qk(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function get _-45M():int
        {
            return (this._-3-5()._-45M);
        }
        public function get _-481():Boolean
        {
            return (this._-3-5()._-481);
        }
        public function get _-2Y7():int
        {
            return (this._-3-5()._-2Y7);
        }
        public function get _-39A():Boolean
        {
            return (this._-3-5()._-39A);
        }
        public function _-3-5():_-2fh
        {
            return ((_-515 as _-2fh));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-0VW

package _-0dE
{
    import _-293._-4q2;

    public class _-0VW 
    {

        private var _-1nG:int;
        private var _-53-:String;
        private var _-0NO:int;
        private var _-4q0:int;
        private var _-JS:int;
        private var _-56Y:_-4q2;
        private var _-31w:int;
        private var _-1AG:int;
        private var _-3pc:int;
        private var _-3le:int;
        private var _-0Zt:int;
        private var _-38r:Boolean;
        private var _-1US:int;

        public function _-0VW(_arg1:int, _arg2:String, _arg3:int, _arg4:int, _arg5:int, _arg6:_-4q2, _arg7:int, _arg8:int, _arg9:int, _arg10:int, _arg11:int, _arg12:Boolean)
        {
            this._-1nG = _arg1;
            this._-53- = _arg2;
            this._-0NO = _arg3;
            this._-4q0 = _arg4;
            this._-JS = _arg5;
            this._-56Y = _arg6;
            this._-31w = _arg7;
            this._-1AG = _arg8;
            this._-3pc = _arg9;
            this._-3le = _arg10;
            this._-0Zt = _arg11;
            this._-38r = _arg12;
        }
        public function get _-6N():int
        {
            return (this._-1nG);
        }
        public function get _-15x():String
        {
            return (this._-53-);
        }
        public function get _-5DW():int
        {
            return (this._-0NO);
        }
        public function get _-3g8():int
        {
            return (this._-4q0);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function get _-33C():int
        {
            return (this._-31w);
        }
        public function get _-DJ():int
        {
            return (this._-1AG);
        }
        public function get _-2n9():int
        {
            return (this._-3pc);
        }
        public function get _-LB():int
        {
            return (this._-3le);
        }
        public function get _-6B():int
        {
            return (this._-0Zt);
        }
        public function get _-0uu():Boolean
        {
            return (this._-38r);
        }
        public function get _-tq():int
        {
            return (this._-31w);
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-11J

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-2sj;

    public class _-11J extends _-7V 
    {

        public function _-11J(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function _-3-5():_-2sj
        {
            return ((_-515 as _-2sj));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-1GN

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-92;

    public class _-1GN extends _-7V 
    {

        public function _-1GN(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function _-3-5():_-92
        {
            return ((_-515 as _-92));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-2gK

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-2wX;

    public class _-2gK extends _-7V 
    {

        public function _-2gK(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function _-3-5():_-2wX
        {
            return ((_-515 as _-2wX));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-2k6

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-4No;

    public class _-2k6 extends _-7V 
    {

        public function _-2k6(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function get _-45M():int
        {
            return (this._-3-5()._-45M);
        }
        public function get _-2Pu():Boolean
        {
            return (this._-3-5()._-2Pu);
        }
        public function _-3-5():_-4No
        {
            return ((_-515 as _-4No));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-3Sb

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-2dQ;

    public class _-3Sb extends _-7V 
    {

        public function _-3Sb(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function _-3-5():_-2dQ
        {
            return ((_-515 as _-2dQ));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-3sK

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-03I;

    public class _-3sK extends _-7V 
    {

        public function _-3sK(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function _-3-5():_-03I
        {
            return ((_-515 as _-03I));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-3-w

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-0Qh;

    public class _-3-w extends _-7V 
    {

        public function _-3-w(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function _-3-5():_-0Qh
        {
            return ((_-515 as _-0Qh));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-Pz

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-1BN;

    public class _-Pz extends _-7V 
    {

        public function _-Pz(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function get _-03Z():int
        {
            return (this._-3-5()._-03Z);
        }
        public function get _-2-p():int
        {
            return (this._-3-5()._-2-p);
        }
        public function get _-4P3():Array
        {
            return (this._-3-5()._-4P3);
        }
        public function get _-R():Array
        {
            return (this._-3-5()._-R);
        }
        public function _-3-5():_-1BN
        {
            return ((_-515 as _-1BN));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-S8

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-1of;

    public class _-S8 extends _-7V 
    {

        public function _-S8(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function get _-45M():int
        {
            return (this._-3-5()._-45M);
        }
        public function _-3-5():_-1of
        {
            return ((_-515 as _-1of));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0dE._-uT

package _-0dE
{
    import _-4Aj._-7V;
    import _-1Z1._-3Hl;

    public class _-uT extends _-7V 
    {

        public function _-uT(_arg1:Function, _arg2:Class)
        {
            super(_arg1, _arg2);
        }
        public function _-3-5():_-3Hl
        {
            return ((_-515 as _-3Hl));
        }

    }
}//package _-0dE

//------------------------------------------------------------
//_-0eb._-1ih

package _-0eb
{
    import _-1B-.ComponentContext;
    import _-0A6.LinkResolver;
    import _-4yS.HabboFriendBarData;
    import com.sulake.iid.IIDHabboFriendBarData;
    import _-16i.HabboFriendBarView;
    import com.sulake.iid.IIDHabboFriendBarView;
    import _-3N5.HabboEventStream;
    import com.sulake.iid.IIDHabboEventStream;
    import _-3Q9.HabboLandingView;
    import com.sulake.iid.IIDHabboLandingView;
    import _-1vi.HabboTalent;
    import com.sulake.iid.IIDHabboTalent;
    import _-00v._-2d7;
    import com.sulake.iid.IIDHabboEpicPopupView;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-16i._-tO;
    import _-IS._-TI;

    public class _-1ih extends ComponentContext implements _-q9 
    {

        public function _-1ih(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            LinkResolver.unknown = this;
            _-5AO(new HabboFriendBarData(this, 0, _arg3), [new IIDHabboFriendBarData()]);
            _-5AO(new HabboFriendBarView(this, 0, _arg3), [new IIDHabboFriendBarView()]);
            _-5AO(new HabboEventStream(this, 0, _arg3), [new IIDHabboEventStream()]);
            _-5AO(new HabboLandingView(this, 0, _arg3), [new IIDHabboLandingView()]);
            _-5AO(new HabboTalent(this, 0, _arg3), [new IIDHabboTalent()]);
            _-5AO(new _-2d7(this, 0, _arg3), [new IIDHabboEpicPopupView()]);
        }
        public function set visible(_arg1:Boolean):void
        {
            var k:_-tO = (queueInterface(new IIDHabboFriendBarView()) as _-tO);
            if (k)
            {
                k.visible = _arg1;
            };
            var k:_-TI = (queueInterface(new IIDHabboEventStream()) as _-TI);
            if (k)
            {
                k.visible = false;
            };
        }

    }
}//package _-0eb

//------------------------------------------------------------
//_-0eb._-417

package _-0eb
{
    import _-1B-.*;

    public interface _-417 extends _-4yI 
    {

    }
}//package _-0eb

//------------------------------------------------------------
//_-0eb._-4-p

package _-0eb
{
    import _-1B-.*;

    public interface _-4-p extends _-4yI 
    {

        function activate():void;
        function disable():void;

    }
}//package _-0eb

//------------------------------------------------------------
//_-0eb._-8K

package _-0eb
{
    import _-1B-.*;

    public interface _-8K extends _-4yI 
    {

        function _-0QU(_arg1:String):void;

    }
}//package _-0eb

//------------------------------------------------------------
//_-0eb._-q9

package _-0eb
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-q9 extends _-4yI 
    {

        function get events():IEventDispatcher;
        function set visible(_arg1:Boolean):void;

    }
}//package _-0eb

//------------------------------------------------------------
//_-0eZ._-2m-

package _-0eZ
{
    import _-Ew.IWindowContainer;
    import _-52B._-1ig;
    import _-2S9.Exception;

    public class _-2m- implements _-3on 
    {

        public static const PANE_VIEW_LEVEL_BASE:int = 0;
        public static const PANE_VIEW_LEVEL_FEED:int = 1;
        public static const PANE_VIEW_LEVEL_MODAL:int = 2;

        protected var _-4Bk:Boolean;
        protected var _-4Zt:Boolean;
        private var _-3ZD:int;
        protected var _-0xv:IWindowContainer;
        protected var _-3Dl:_-1ig;
        protected var _name:String;

        public function _-2m-(_arg1:String, _arg2:_-1ig, _arg3:IWindowContainer, _arg4:int)
        {
            if (_arg3 == null)
            {
                throw (new Exception(("Window was null for feed pane: " + _arg1)));
            };
            this._name = _arg1;
            this._-3Dl = _arg2;
            this._-3ZD = _arg4;
            this._-0xv = _arg3;
        }
        public function dispose():void
        {
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-JW():int
        {
            return (this._-3ZD);
        }
        public function set _-0m7(_arg1:Boolean):void
        {
            this._-4Zt = _arg1;
            this._-0xv.visible = this._-4Zt;
        }
        public function get _-0m7():Boolean
        {
            return (this._-4Zt);
        }

    }
}//package _-0eZ

//------------------------------------------------------------
//_-0eZ._-31F

package _-0eZ
{
    import _-1ae.IItemListWindow;
    import _-52B._-1ig;
    import _-Ew.IWindowContainer;
    import _-2fV._-jh;

    public class _-31F extends _-2m- 
    {

        private var _-3EB:IItemListWindow;

        public function _-31F(_arg1:String, _arg2:_-1ig, _arg3:IWindowContainer)
        {
            super(_arg1, _arg2, _arg3, _-2m-.PANE_VIEW_LEVEL_FEED);
            this._-3EB = (_-0xv.findChildByName("list") as IItemListWindow);
        }
        override public function dispose():void
        {
            this._-3EB = null;
            super.dispose();
        }
        public function _-0df(_arg1:_-jh):void
        {
            this._-3EB.addListItem(_arg1.window);
        }

    }
}//package _-0eZ

//------------------------------------------------------------
//_-0eZ._-3on

package _-0eZ
{
    import _-1B-.*;

    public interface _-3on extends _-1zZ 
    {

        function get _-JW():int;
        function set _-0m7(_arg1:Boolean):void;
        function get _-0m7():Boolean;

    }
}//package _-0eZ

//------------------------------------------------------------
//_-0eZ._-3Ps

package _-0eZ
{
    import _-1ae.IItemListWindow;
    import _-52B._-1ig;
    import _-Ew.IWindowContainer;
    import _-2fV._-jh;
    import _-52B.FeedSettings;

    public class _-3Ps extends _-2m- 
    {

        private static const _-2Yc:String = "list";
        private static const _-11t:String = "list_urgent";
        private static const _-1pv:String = "list_actions";
        private static const _-St:String = "list_persistent";
        private static const _-3o-:String = "list_notifications";

        private var _-3EB:IItemListWindow;

        public function _-3Ps(_arg1:String, _arg2:_-1ig, _arg3:IWindowContainer)
        {
            super(_arg1, _arg2, _arg3, _-2m-.PANE_VIEW_LEVEL_FEED);
            this._-57c();
        }
        override public function dispose():void
        {
            this._-3EB = null;
            super.dispose();
        }
        private function _-57c():void
        {
            this._-3EB = (_-0xv.findChildByName(_-2Yc) as IItemListWindow);
        }
        public function _-0df(_arg1:int, _arg2:_-jh):void
        {
            var k:IItemListWindow = this._-4Bt(_arg1);
            k._-kE(_arg2.window, 0);
        }
        private function _-4Bt(_arg1:int):IItemListWindow
        {
            var k:String;
            switch (_arg1)
            {
                case FeedSettings._-Fz:
                    k = _-11t;
                    break;
                case FeedSettings._-4SH:
                    k = _-1pv;
                    break;
                case FeedSettings._-0g8:
                    k = _-St;
                    break;
                case FeedSettings._-0vH:
                    k = _-3o-;
                    break;
            };
            return ((this._-3EB.getListItemByName(k) as IItemListWindow));
        }

    }
}//package _-0eZ

//------------------------------------------------------------
//_-0eZ._-55Z

package _-0eZ
{
    import _-52B._-1ig;
    import _-Ew.IWindowContainer;
    import _-52B.FeedSettings;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-55Z extends _-2m- 
    {

        public function _-55Z(_arg1:String, _arg2:_-1ig, _arg3:IWindowContainer)
        {
            super(_arg1, _arg2, _arg3, _-2m-.PANE_VIEW_LEVEL_MODAL);
            this._-3A0();
            _-0xv.procedure = this._-4v4;
        }
        override public function dispose():void
        {
            super.dispose();
        }
        private function _-3A0():void
        {
            var k:FeedSettings = _-3Dl.controller.getSettings();
            k._-0hH();
        }
        public function _-4v4(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:FeedSettings;
            var k:int;
            var k:String;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = _-3Dl.controller.getSettings();
                for each (k in _arg2.tags)
                {
                    switch (k)
                    {
                        case "ME":
                            k = FeedSettings._-3GF;
                            break;
                        case "HOTEL":
                            k = FeedSettings._-130;
                            break;
                        case "FRIENDS":
                            k = FeedSettings._-zu;
                            break;
                    };
                    k._-4ob(k);
                };
                this._-3A0();
            };
        }

    }
}//package _-0eZ

//------------------------------------------------------------
//_-0eZ._-5EC

package _-0eZ
{
    import _-0Ie.WindowMouseEvent;
    import _-52B._-1ig;
    import _-Ew.IWindowContainer;

    public class _-5EC extends _-2m- 
    {

        private static const _-V1:String = "minimize_toggle";
        private static const _-2eZ:String = "notification_feed_button";
        private static const _-33F:String = "stream_feed_button";

        public function _-5EC(_arg1:String, _arg2:_-1ig, _arg3:IWindowContainer)
        {
            super(_arg1, _arg2, _arg3, _-2m-.PANE_VIEW_LEVEL_BASE);
            _-0xv.findChildByName(_-V1).addEventListener(WindowMouseEvent._-90, this._-mK);
            _-0xv.findChildByName(_-2eZ).addEventListener(WindowMouseEvent._-90, this._-0GP);
            _-0xv.findChildByName(_-33F).addEventListener(WindowMouseEvent._-90, this._-IM);
        }
        override public function dispose():void
        {
            if (_-0xv)
            {
                _-0xv.findChildByName(_-V1).removeEventListener(WindowMouseEvent._-90, this._-mK);
                _-0xv.findChildByName(_-2eZ).removeEventListener(WindowMouseEvent._-90, this._-mK);
                (_-0xv.findChildByName(_-33F)(WindowMouseEvent._-90, this._-mK));
            };
        }
        private function _-mK(_arg1:WindowMouseEvent):void
        {
            _-3Dl.toggleMinimized();
        }
        private function _-0GP(_arg1:WindowMouseEvent):void
        {
            _-3Dl.switchToPane(_-1ig._-3h3);
        }
        private function _-IM(_arg1:WindowMouseEvent):void
        {
            _-3Dl.switchToPane(_-1ig._-25f);
        }

    }
}//package _-0eZ

//------------------------------------------------------------
//_-0eZ._-Fx

package _-0eZ
{
    import _-1ae.IContainerButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-52B._-1ig;
    import _-Ew.IWindowContainer;

    public class _-Fx extends _-2m- 
    {

        public function _-Fx(_arg1:String, _arg2:_-1ig, _arg3:IWindowContainer)
        {
            super(_arg1, _arg2, _arg3, _-2m-.PANE_VIEW_LEVEL_MODAL);
            (_-0xv.findChildByName("info_ok") as IContainerButtonWindow).addEventListener(WindowMouseEvent._-90, this._-6L);
        }
        override public function dispose():void
        {
            var k:IContainerButtonWindow;
            super.dispose();
            if (_-0xv)
            {
                k = (_-0xv.findChildByName("info_ok") as IContainerButtonWindow);
                if (k)
                {
                    k.removeEventListener(WindowMouseEvent._-90, this._-6L);
                    k = null;
                };
            };
        }
        private function _-6L(_arg1:WindowMouseEvent):void
        {
            _-3Dl.closePaneLevel(_-2m-.PANE_VIEW_LEVEL_MODAL);
        }

    }
}//package _-0eZ

//------------------------------------------------------------
//_-0F-._-0T2

package _-0F-
{
    public class _-0T2 
    {

        public static const _-0uJ:int = 0;
        public static const _-4va:int = 1;
        public static const _-2m3:int = 2;
        public static const _-0Do:int = 3;
        public static const _-pf:int = 4;
        public static const _-0Es:int = 5;

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-._-1Dq

package _-0F-
{
    import _-4Aj._-0s1;
    import _-3mW._-4Wq;
    import _-3V-._-30N;
    import _-3V-._-4s6;
    import _-293._-4q2;
    import _-293.*;

    public class _-1Dq implements _-4q2 
    {

        private var _-3yf:int;
        private var _-3WN:int = 0;
        private var _-4EM:int = 0;

        public function set flags(_arg1:int):void
        {
            this._-3yf = _arg1;
        }
        public function initializeFromIncomingMessage(_arg1:_-0s1):void
        {
            if ((this._-3yf & _-4FK._-1mv) > 0)
            {
                this._-3WN = _arg1._-2BW();
                this._-4EM = _arg1._-2BW();
            };
        }
        public function initializeFromRoomObjectModel(_arg1:_-30N):void
        {
            this._-3WN = _arg1.getNumber(_-4Wq._-0lT);
            this._-4EM = _arg1.getNumber(_-4Wq._-1yc);
        }
        public function writeRoomObjectModel(_arg1:_-4s6):void
        {
            _arg1.setNumber(_-4Wq._-0lT, this._-3WN);
            _arg1.setNumber(_-4Wq._-1yc, this._-4EM);
        }
        public function get uniqueSerialNumber():int
        {
            return (this._-3WN);
        }
        public function get _-2dO():int
        {
            return (this._-4EM);
        }
        public function set uniqueSerialNumber(_arg1:int):void
        {
            this._-3WN = _arg1;
        }
        public function set _-2dO(_arg1:int):void
        {
            this._-4EM = _arg1;
        }
        public function getLegacyString():String
        {
            return ("");
        }
        public function compare(_arg1:_-4q2):Boolean
        {
            return (false);
        }
        public function get rarityLevel():int
        {
            return (-1);
        }

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-._-1Uz

package _-0F-
{
    import _-4Aj._-0s1;
    import _-3mW._-4Wq;
    import _-18r.Map;
    import _-3V-._-4s6;
    import _-3V-._-30N;
    import _-293._-4q2;
    import _-293.*;

    public class _-1Uz extends _-1Dq implements _-4q2 
    {

        public static const _-eJ:int = _-0T2._-0Do;//3
        private static const _-da:String = "s";
        private static const _-0q4:String = "r";

        private var _-0Ke:String = "";
        private var _result:int;

        override public function initializeFromIncomingMessage(_arg1:_-0s1):void
        {
            this._-0Ke = _arg1.readString();
            this._result = _arg1._-2BW();
            super.initializeFromIncomingMessage(_arg1);
        }
        override public function writeRoomObjectModel(_arg1:_-4s6):void
        {
            super.writeRoomObjectModel(_arg1);
            _arg1.setNumber(_-4Wq._-4YM, _-eJ);
            var k:Map = new Map();
            k.add(_-da, this._-0Ke);
            k.add(_-0q4, this._result.toString());
            _arg1._-4ds(_-4Wq._-3jB, k);
        }
        override public function initializeFromRoomObjectModel(_arg1:_-30N):void
        {
            super.initializeFromRoomObjectModel(_arg1);
            var k:Map = _arg1._-Bf(_-4Wq._-3jB);
            this._-0Ke = k.getValue(_-da);
            this._result = int(k.getValue(_-0q4));
        }
        override public function getLegacyString():String
        {
            return (this._-0Ke);
        }
        public function setString(_arg1:String):void
        {
            this._-0Ke = _arg1;
        }
        public function get result():int
        {
            return (this._result);
        }
        override public function compare(_arg1:_-4q2):Boolean
        {
            return (true);
        }

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-._-3c-

package _-0F-
{
    import _-4Aj._-0s1;
    import _-3V-._-30N;
    import _-3V-._-4s6;
    import _-293._-4q2;
    import _-293.*;

    public class _-3c- extends _-1Dq implements _-4q2 
    {

        override public function initializeFromIncomingMessage(_arg1:_-0s1):void
        {
            super.initializeFromIncomingMessage(_arg1);
        }
        override public function initializeFromRoomObjectModel(_arg1:_-30N):void
        {
            super.initializeFromRoomObjectModel(_arg1);
        }
        override public function writeRoomObjectModel(_arg1:_-4s6):void
        {
            super.writeRoomObjectModel(_arg1);
        }
        override public function getLegacyString():String
        {
            return ("");
        }
        override public function compare(_arg1:_-4q2):Boolean
        {
            return (super.compare(_arg1));
        }

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-._-4FK

package _-0F-
{
    public class _-4FK 
    {

        public static const _-1mv:uint = 0x0100;

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-._-4iQ

package _-0F-
{
    import _-293._-4q2;

    public class _-4iQ 
    {

        public static function _-3hY(_arg1:int):_-4q2
        {
            var k = (_arg1 & 0xFF);
            var k:_-4q2;
            switch (k)
            {
                case _-HJ._-eJ:
                    k = (new _-HJ() as _-4q2);
                    break;
                case MapStuffData._-eJ:
                    k = (new MapStuffData() as _-4q2);
                    break;
                case StringArrayStuffData._-eJ:
                    k = (new StringArrayStuffData() as _-4q2);
                    break;
                case _-1Uz._-eJ:
                    k = (new _-1Uz() as _-4q2);
                    break;
                case _-0T2._-pf:
                    k = (new _-3c-() as _-4q2);
                    break;
                case _-0T2._-0Es:
                    k = (new IntArrayStuffData() as _-4q2);
                    break;
            };
            if (k != null)
            {
                k.flags = (_arg1 & 0xFF00);
            };
            return (k);
        }

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-._-HJ

package _-0F-
{
    import _-4Aj._-0s1;
    import _-3mW._-4Wq;
    import _-3V-._-30N;
    import _-3V-._-4s6;
    import _-293._-4q2;
    import _-293.*;

    public class _-HJ extends _-1Dq implements _-4q2 
    {

        public static const _-eJ:int = _-0T2._-0uJ;//0

        private var _-0qE:String = "";

        override public function initializeFromIncomingMessage(_arg1:_-0s1):void
        {
            this._-0qE = _arg1.readString();
            super.initializeFromIncomingMessage(_arg1);
        }
        override public function initializeFromRoomObjectModel(_arg1:_-30N):void
        {
            super.initializeFromRoomObjectModel(_arg1);
            this._-0qE = _arg1.getString(_-4Wq._-3jB);
        }
        override public function writeRoomObjectModel(_arg1:_-4s6):void
        {
            super.writeRoomObjectModel(_arg1);
            _arg1.setNumber(_-4Wq._-4YM, _-eJ);
            _arg1.setString(_-4Wq._-3jB, this._-0qE);
        }
        override public function getLegacyString():String
        {
            return (this._-0qE);
        }
        public function setString(_arg1:String):void
        {
            this._-0qE = _arg1;
        }
        override public function compare(_arg1:_-4q2):Boolean
        {
            return ((this._-0qE == _arg1.getLegacyString()));
        }

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-.IntArrayStuffData

package _-0F-
{
    import _-4Aj._-0s1;
    import _-3mW._-4Wq;
    import _-3V-._-30N;
    import _-3V-._-4s6;
    import _-293._-4q2;
    import _-293.*;

    public class IntArrayStuffData extends _-1Dq implements _-4q2 
    {

        public static const _-eJ:int = _-0T2._-0Es;//5
        private static const _-0fV:int = 0;

        private var _-0qE:Array;

        public function IntArrayStuffData()
        {
            this._-0qE = [];
            super();
        }
        override public function initializeFromIncomingMessage(_arg1:_-0s1):void
        {
            var k:int;
            this._-0qE = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                this._-0qE.push(k);
                k++;
            };
            super.initializeFromIncomingMessage(_arg1);
        }
        override public function initializeFromRoomObjectModel(_arg1:_-30N):void
        {
            super.initializeFromRoomObjectModel(_arg1);
            this._-0qE = _arg1.getNumberArray(_-4Wq._-3jB);
        }
        override public function writeRoomObjectModel(_arg1:_-4s6):void
        {
            super.writeRoomObjectModel(_arg1);
            _arg1.setNumber(_-4Wq._-4YM, _-eJ);
            _arg1.setNumberArray(_-4Wq._-3jB, this._-0qE);
        }
        override public function getLegacyString():String
        {
            return (this._-0qE[_-0fV]);
        }
        public function getValue(_arg1:int):int
        {
            if (((this._-0qE) && ((_arg1 < this._-0qE.length))))
            {
                return (this._-0qE[_arg1]);
            };
            return (-1);
        }
        public function _-1Ll(_arg1:Array):void
        {
            this._-0qE = _arg1;
        }
        override public function compare(_arg1:_-4q2):Boolean
        {
            var k:IntArrayStuffData = (_arg1 as IntArrayStuffData);
            if (!k)
            {
                return (false);
            };
            var k:int;
            while (k < this._-0qE.length)
            {
                if (k == _-0fV)
                {
                }
                else
                {
                    if (this._-0qE[k] != k.getValue(k))
                    {
                        return (false);
                    };
                };
                k++;
            };
            return (true);
        }

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-.MapStuffData

package _-0F-
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-3mW._-4Wq;
    import _-3V-._-30N;
    import _-3V-._-4s6;
    import _-293._-4q2;
    import _-3mW.*;
    import _-293.*;

    public class MapStuffData extends _-1Dq implements _-4q2 
    {

        public static const _-eJ:int = _-0T2._-4va;//1
        private static const _-4qN:String = "state";
        private static const _-2jR:String = "rarity";

        private var _-0qE:Map;

        public function MapStuffData(_arg1:Map=null)
        {
            if (_arg1)
            {
                this._-0qE = _arg1;
            };
        }
        override public function initializeFromIncomingMessage(_arg1:_-0s1):void
        {
            var k:String;
            var k:String;
            this._-0qE = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1.readString();
                k = _arg1.readString();
                this._-0qE.add(k, k);
                k++;
            };
            super.initializeFromIncomingMessage(_arg1);
        }
        override public function initializeFromRoomObjectModel(_arg1:_-30N):void
        {
            super.initializeFromRoomObjectModel(_arg1);
            this._-0qE = _arg1._-Bf(_-4Wq._-3jB);
        }
        override public function writeRoomObjectModel(_arg1:_-4s6):void
        {
            super.writeRoomObjectModel(_arg1);
            _arg1.setNumber(_-4Wq._-4YM, _-eJ);
            _arg1._-4ds(_-4Wq._-3jB, this._-0qE);
        }
        override public function getLegacyString():String
        {
            if (this._-0qE.getValue(_-4qN) != null)
            {
                return (this._-0qE[_-4qN]);
            };
            return ("");
        }
        public function getValue(_arg1:String):String
        {
            return (this._-0qE[_arg1]);
        }
        override public function compare(_arg1:_-4q2):Boolean
        {
            return (false);
        }
        override public function get rarityLevel():int
        {
            var k:String = this._-0qE[_-2jR];
            if (k)
            {
                return (int(k));
            };
            return (-1);
        }

    }
}//package _-0F-

//------------------------------------------------------------
//_-0F-.StringArrayStuffData

package _-0F-
{
    import _-4Aj._-0s1;
    import _-3mW._-4Wq;
    import _-3V-._-30N;
    import _-3V-._-4s6;
    import _-293._-4q2;
    import _-293.*;

    public class StringArrayStuffData extends _-1Dq implements _-4q2 
    {

        public static const _-eJ:int = _-0T2._-2m3;//2
        private static const _-0fV:int = 0;

        private var _-0qE:Array;

        public function StringArrayStuffData()
        {
            this._-0qE = [];
            super();
        }
        override public function initializeFromIncomingMessage(_arg1:_-0s1):void
        {
            var k:String;
            this._-0qE = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1.readString();
                this._-0qE.push(k);
                k++;
            };
            super.initializeFromIncomingMessage(_arg1);
        }
        override public function initializeFromRoomObjectModel(_arg1:_-30N):void
        {
            super.initializeFromRoomObjectModel(_arg1);
            this._-0qE = _arg1._-4H6(_-4Wq._-3jB);
        }
        override public function writeRoomObjectModel(_arg1:_-4s6):void
        {
            super.writeRoomObjectModel(_arg1);
            _arg1.setNumber(_-4Wq._-4YM, _-eJ);
            _arg1._-FJ(_-4Wq._-3jB, this._-0qE);
        }
        override public function getLegacyString():String
        {
            return (this._-0qE[_-0fV]);
        }
        public function getValue(_arg1:int):String
        {
            if (((this._-0qE) && ((_arg1 < this._-0qE.length))))
            {
                return (this._-0qE[_arg1]);
            };
            return ("");
        }
        public function _-1Ll(_arg1:Array):void
        {
            this._-0qE = _arg1;
        }
        override public function compare(_arg1:_-4q2):Boolean
        {
            var k:StringArrayStuffData = (_arg1 as StringArrayStuffData);
            if (!k)
            {
                return (false);
            };
            var k:int;
            while (k < this._-0qE.length)
            {
                if (k == _-0fV)
                {
                }
                else
                {
                    if (this._-0qE[k] != k.getValue(k))
                    {
                        return (false);
                    };
                };
                k++;
            };
            return (true);
        }

    }
}//package _-0F-

//------------------------------------------------------------
//_-0f1._-1hE

package _-0f1
{
    import flash.utils.ByteArray;
    import _-4Aj.*;

    public class _-1hE implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1hE(_arg1:ByteArray)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0f1

//------------------------------------------------------------
//_-0g4._-1Bw

package _-0g4
{
    import _-3Zp.HabboInventory;
    import _-295._-39L;
    import _-3gx._-4BJ;
    import _-293._-5-S;
    import _-0mD._-2Jq;
    import _-18r.Map;
    import _-59g._-4KP;
    import _-4pF._-3Ts;
    import _-2np._-1ZV;
    import _-0S1._-1DM;
    import _-Os._-21K;
    import _-3cY._-503;
    import flash.events.Event;
    import _-4WI._-3at;
    import _-2Nr.FurniModel;
    import _-Ew.IWindowContainer;
    import _-0l8._-3iK;
    import _-3mW._-1sV;
    import _-3mW._-1IS;
    import _-4xL._-7P;
    import _-1Jd._-4JJ;
    import _-3cY._-2Jr;
    import _-3Zp.*;

    public class _-1Bw implements _-4Yh 
    {

        private var _-513:HabboInventory;
        private var _-Ke:PetsView;
        private var _assets:_-39L;
        private var _-0ud:_-4BJ;
        private var _-0tK:_-5-S;
        private var _-3oJ:_-2Jq;
        private var _-4JG:Map;
        private var _-4b6:Boolean = false;
        private var _disposed:Boolean = false;
        private var _-8H:Boolean;

        public function _-1Bw(_arg1:HabboInventory, _arg2:_-3Ts, _arg3:_-4BJ, _arg4:_-39L, _arg5:_-5-S, _arg6:_-2Jq)
        {
            this._-513 = _arg1;
            this._assets = _arg4;
            this._-0ud = _arg3;
            this._-0tK = _arg5;
            this._-0tK.events.addEventListener(_-4KP._-2pN, this._-3Uv);
            this._-3oJ = _arg6;
            this._-4JG = new Map();
            this._-Ke = new PetsView(this, _arg2, _arg4, _arg5);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-Ke)
                {
                    this._-Ke.dispose();
                    this._-Ke = null;
                };
                if (this._-0tK)
                {
                    if (this._-0tK.events)
                    {
                        this._-0tK.events.removeEventListener(_-4KP._-2pN, this._-3Uv);
                    };
                    this._-0tK = null;
                };
                if (this._-4JG)
                {
                    this._-4JG.dispose();
                    this._-4JG = null;
                };
                this._-513 = null;
                this._-3oJ = null;
                this._assets = null;
                this._-0ud = null;
                this._disposed = true;
            };
        }
        public function get controller():HabboInventory
        {
            return (this._-513);
        }
        public function _-0NU():Boolean
        {
            return (this._-8H);
        }
        public function _-2-t():void
        {
            this._-8H = true;
            this._-Ke._-4iK();
        }
        public function _-1gl():void
        {
            if (this._-0ud == null)
            {
                return;
            };
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k == null)
            {
                return;
            };
            k.send(new _-1DM());
        }
        public function _-1JA():void
        {
            this._-3oJ.openCatalog();
        }
        public function get pets():Map
        {
            return (this._-4JG);
        }
        public function _-0Mq(_arg1:_-21K):void
        {
            if (this._-4JG.add(_arg1.id, _arg1))
            {
                this._-Ke._-0Mq(_arg1);
            };
            this._-Ke._-4iK();
        }
        public function _-2hf(_arg1:Map):void
        {
            var k:int;
            var k:Array = _arg1._-18C();
            var k:Array = this._-4JG._-18C();
            for each (k in k)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-4JG.remove(k);
                    this._-Ke._-Mf(k);
                };
            };
            for each (k in k)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-4JG.add(k, _arg1.getValue(k));
                    this._-Ke._-0Mq(_arg1.getValue(k));
                };
            };
        }
        public function _-Mf(_arg1:int):void
        {
            this._-4JG.remove(_arg1);
            this._-Ke._-Mf(_arg1);
            this._-Ke._-4iK();
        }
        public function _-eq(_arg1:int=0):void
        {
            this._-1gl();
        }
        public function _-52O(_arg1:String):void
        {
            if ((((_arg1 == _-503._-0Ij)) && (this._-513._-0m7)))
            {
                this._-Ke._-4Fy();
                this._-513.events.dispatchEvent(new Event(_-3at.HABBO_INVENTORY_TRACKING_EVENT_PETS));
            };
        }
        public function _-0eP(_arg1:String, _arg2:Boolean=false):void
        {
            this._-21o();
            var k:FurniModel = this._-513._-4FQ;
            if (k != null)
            {
                k.switchCategory(_arg1);
                this._-513._-4Op(_-503._-2uv, _arg2);
            };
        }
        public function getWindowContainer():IWindowContainer
        {
            return (this._-Ke.getWindowContainer());
        }
        public function _-3mZ():void
        {
            if (this._-Ke._-0m7)
            {
                this._-21o();
            };
        }
        public function _-3NF(_arg1:String):void
        {
        }
        public function _-42B(_arg1:int, _arg2:Boolean=false):Boolean
        {
            var k:int;
            var k:_-21K = this._-sA(_arg1);
            if (k == null)
            {
                return (false);
            };
            var k:String;
            if (k.typeId == _-3iK._-2CJ)
            {
                if (k.level >= 7)
                {
                    k = "std";
                }
                else
                {
                    k = ("grw" + k.level);
                };
            };
            if (this._-513.roomSession._-49x)
            {
                k = (k.id * -1);
                this._-4b6 = this._-0tK._-WZ(k, _-1sV._-3I0, _-1IS._-2rN, k._-11I, null, -1, -1, k);
                this._-513._-29e();
                return (this._-4b6);
            };
            if (!this._-513.roomSession._-sS)
            {
                return (false);
            };
            if (!_arg2)
            {
                this._-0ud._-4gR(null).send(new _-7P(k.id, 0, 0));
            };
            return (true);
        }
        public function _-2D2():void
        {
            if (this._-Ke == null)
            {
                return;
            };
            this._-Ke.update();
        }
        private function _-sA(_arg1:int):_-21K
        {
            var k:_-21K;
            for each (k in this._-4JG)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-3Uv(_arg1:Event):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (((this._-4b6) && ((_arg1.type == _-4KP._-2pN))))
            {
                this._-513._-192();
                this._-4b6 = false;
            };
        }
        public function get roomSession():_-4JJ
        {
            return (this._-513.roomSession);
        }
        public function _-1zJ():void
        {
            this._-Ke.update();
        }
        public function _-21o():void
        {
            this._-513._-20u._-4oQ(_-2Jr._-0Zq);
            this._-513._-1XT();
            this._-Ke.update();
        }
        public function _-0-v(_arg1:int):Boolean
        {
            return (this._-513._-20u._-0-v(_-2Jr._-0Zq, _arg1));
        }
        public function _-541(_arg1:int):Boolean
        {
            var k:Boolean;
            if (this._-0-v(_arg1))
            {
                k = this._-513._-20u._-08D(_-2Jr._-0Zq, _arg1);
                if (k)
                {
                    this._-513._-20u._-14C(_-2Jr._-0Zq);
                };
            };
            return (k);
        }

    }
}//package _-0g4

//------------------------------------------------------------
//_-0g4._-2hl

package _-0g4
{
    import _-Os._-21K;
    import _-Ew.IWindowContainer;
    import _-295._-39L;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-0l8._-3iK;
    import flash.display.BitmapData;
    import _-4pF._-3Ts;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;

    public class _-2hl 
    {

        private static const _-3Z1:int = 0xCCCCCC;
        private static const _-DN:int = 10275685;

        private var _-BJ:_-21K;
        private var _-0xv:IWindowContainer;
        private var _assets:_-39L;
        private var _-0Vh:IWindow;
        private var _-208:Boolean;
        private var _-0AV:PetsView;
        private var _-0d0:int = -1;
        private var _-5AS:Boolean;
        private var _-1MV:Boolean;

        public function _-2hl(_arg1:PetsView, _arg2:_-21K, _arg3:_-3Ts, _arg4:_-39L, _arg5:Boolean)
        {
            if ((((((((_arg1 == null)) || ((_arg2 == null)))) || ((_arg3 == null)))) || ((_arg4 == null))))
            {
                return;
            };
            this._assets = _arg4;
            this._-0AV = _arg1;
            this._-BJ = _arg2;
            this._-1MV = _arg5;
            var k:_-243 = (_arg4.getAssetByName("inventory_thumb_xml") as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return;
            };
            this._-0xv = (_arg3.buildFromXML((k.content as XML)) as IWindowContainer);
            this._-0xv.procedure = this._-3go;
            var k:int = 64;
            var k:int = 3;
            var k:Boolean;
            var k:String;
            if (_arg2.typeId == _-3iK._-3p6)
            {
                k = 32;
                k = 2;
                k = true;
            }
            else
            {
                if (_arg2.typeId == _-3iK._-2CJ)
                {
                    k = 32;
                    k = 2;
                    k = true;
                    if (_arg2.level >= 7)
                    {
                        k = "std";
                    }
                    else
                    {
                        k = ("grw" + _arg2.level);
                    };
                };
            };
            var k:BitmapData = _arg1._-2s2(_arg2, k, k, this, k, k);
            this._-3uM(k);
            this._-0VZ();
        }
        public function dispose():void
        {
            this._assets = null;
            this._-0AV = null;
            this._-BJ = null;
            this._-0Vh = null;
            this._-0d0 = -1;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-3go(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case WindowMouseEvent._-3Jy:
                    this._-0AV._-2tH(this);
                    this._-5AS = true;
                    return;
                case WindowMouseEvent._-02B:
                    this._-5AS = false;
                    return;
                case WindowMouseEvent._-4e2:
                    if (this._-5AS)
                    {
                        this._-5AS = false;
                        this._-0AV._-42B(this._-BJ.id, true);
                    };
                    return;
            };
        }
        public function _-3uM(_arg1:BitmapData):void
        {
            if (!this._-0xv)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("bitmap") as IBitmapWrapperWindow);
            var k:BitmapData = new BitmapData(k.width, k.height);
            k.fillRect(k.rect, 0);
            k.copyPixels(_arg1, _arg1.rect, new Point(((k.width / 2) - (_arg1.width / 2)), ((k.height / 2) - (_arg1.height / 2))));
            if (k.bitmap)
            {
                k.bitmap.dispose();
            };
            k.bitmap = k;
        }
        public function _-4Q(_arg1:Boolean):void
        {
            if (this._-1MV != _arg1)
            {
                this._-1MV = _arg1;
                this._-0VZ();
            };
        }
        public function setSelected(_arg1:Boolean):void
        {
            if (this._-208 != _arg1)
            {
                this._-208 = _arg1;
                if (((!(this._-0xv)) || (!(this._-0Vh))))
                {
                    return;
                };
                this._-0VZ();
            };
        }
        private function _-0VZ():void
        {
            var k:IWindow = this._-0xv.findChildByName("outline");
            if (k != null)
            {
                k.visible = this._-208;
            };
            if (!this._-0Vh)
            {
                this._-0Vh = this._-0xv.findChildByTag("BG_COLOR");
            };
            this._-0Vh.color = ((this._-1MV) ? _-DN : _-3Z1);
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        public function get pet():_-21K
        {
            return (this._-BJ);
        }
        public function set _-3Ai(_arg1:int):void
        {
            this._-0d0 = _arg1;
        }
        public function get _-3Ai():int
        {
            return (this._-0d0);
        }

    }
}//package _-0g4

//------------------------------------------------------------
//_-0g4.PetsView

package _-0g4
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemGridWindow;
    import _-293._-5-S;
    import _-18r.Map;
    import _-1ae.IButtonWindow;
    import _-295._-243;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-Os._-21K;
    import _-0Ie.WindowEvent;
    import _-2Nr.FurniModel;
    import _-Ew.IWindow;
    import _-1ae.ISelectorWindow;
    import _-0l8._-3iK;
    import _-1ae.ITextWindow;
    import _-Os.PetFigureData;
    import _-0l8._-10A;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import _-3cY._-2Jr;
    import _-293.*;
    import _-3Zp.*;

    public class PetsView implements _-3Nt, dynamic 
    {

        private static const _-RT:int = 4;

        private const _-43s:int = 0;
        private const _-3Se:int = 1;
        private const _-1k:int = 2;
        private const _-1b9:int = 3;

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-Ke:IWindowContainer;
        private var _-3n-:_-1Bw;
        private var _disposed:Boolean = false;
        private var _-2Mt:IItemGridWindow;
        private var _-0tK:_-5-S;
        private var _-2Nj:Map;
        private var _-4RB:_-2hl;
        private var _-3HP:int = 0;
        private var _-j5:int;

        public function PetsView(_arg1:_-1Bw, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-5-S)
        {
            var k:IButtonWindow;
            super();
            this._-3n- = _arg1;
            this._-AV = _arg3;
            this._-U- = _arg2;
            this._-0tK = _arg4;
            this._-2Nj = new Map();
            var k:_-243 = (this._-AV.getAssetByName("inventory_pets_view_xml") as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return;
            };
            this._-Ke = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
            if (this._-Ke == null)
            {
                return;
            };
            this._-Ke.visible = false;
            this._-Ke.procedure = this._-0Rw;
            this._-0y7();
            this._-2Mt = (this._-Ke.findChildByName("grid") as IItemGridWindow);
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("download_image") as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height);
            var k:BitmapData = (this._-AV.getAssetByName("download_icon_png").content as BitmapData);
            k.bitmap.copyPixels(k, k.rect, new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2)), null, null, true);
            k = (this._-Ke.findChildByName("image") as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height);
            var k:BitmapData = (this._-AV.getAssetByName("inventory_empty_png").content as BitmapData);
            k.bitmap.copyPixels(k, k.rect, new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2)), null, null, true);
            k = (this._-Ke.findChildByName("place_button") as IButtonWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-Pk);
            };
            k = (this._-Ke.findChildByName("open_catalog_btn") as IButtonWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-41V);
            };
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("preview_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-3Jy, this._-Pk);
            };
            this._-06e();
            this._-2HS();
            this._-4iK();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-U- = null;
                this._-3n- = null;
                this._-Ke = null;
                this._disposed = true;
            };
        }
        public function get _-0m7():Boolean
        {
            return (((!((this._-Ke.parent == null))) && (this._-Ke.visible)));
        }
        public function update():void
        {
            this._-4Fy();
            this._-3Fl();
            this._-2HS(this._-4RB);
        }
        public function _-Mf(_arg1:int):void
        {
            var k:_-2hl = (this._-2Nj.remove(_arg1) as _-2hl);
            if (k == null)
            {
                return;
            };
            this._-2Mt._-0SW(k.window);
            if (this._-4RB == k)
            {
                this._-4RB = null;
                this._-09m();
            };
        }
        private function _-09m():void
        {
            if ((((this._-2Nj == null)) || ((this._-2Nj.length == 0))))
            {
                this._-2HS();
                return;
            };
            this._-2tH(this._-2Nj.getWithIndex(0));
        }
        public function _-0Mq(_arg1:_-21K):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this._-2Nj.getValue(_arg1.id) != null)
            {
                return;
            };
            var k:_-2hl = new _-2hl(this, _arg1, this._-U-, this._-AV, this._-3n-._-0-v(_arg1.id));
            if (k != null)
            {
                this._-2Mt._-2-F(k.window);
                this._-2Nj.add(_arg1.id, k);
                if (this._-4RB == null)
                {
                    this._-09m();
                };
            };
        }
        private function _-3Fl():void
        {
            var k:int;
            var k:_-2hl;
            if (this._-Ke == null)
            {
                return;
            };
            var k:Array = this._-2Nj._-18C();
            var k:Array = ((this._-3n-.pets) ? this._-3n-.pets._-18C() : new Array());
            this._-2Mt.lock();
            for each (k in k)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-Mf(k);
                };
            };
            for each (k in k)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-0Mq(this._-3n-.pets.getValue(k));
                };
                k = this._-2Nj.getValue(k);
                k._-4Q(this._-3n-._-0-v(k));
            };
            this._-2Mt.unlock();
        }
        private function _-41V(_arg1:WindowMouseEvent):void
        {
            this._-3n-._-1JA();
        }
        private function _-Pk(_arg1:WindowMouseEvent):void
        {
            if (this._-4RB == null)
            {
                return;
            };
            var k:_-21K = this._-4RB.pet;
            if (k == null)
            {
                return;
            };
            this._-42B(k.id);
        }
        public function _-42B(_arg1:int, _arg2:Boolean=false):void
        {
            this._-3n-._-42B(_arg1, _arg2);
        }
        public function getWindowContainer():IWindowContainer
        {
            if (this._-Ke == null)
            {
                return (null);
            };
            if (this._-Ke.disposed)
            {
                return (null);
            };
            return (this._-Ke);
        }
        private function _-0Rw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-2wB)
            {
                switch (_arg2.name)
                {
                    case "tab_floor":
                        this._-3n-._-0eP(FurniModel._-4A5);
                        break;
                    case "tab_wall":
                        this._-3n-._-0eP(FurniModel._-0fv);
                        break;
                };
                this._-06e();
            };
        }
        private function _-06e():void
        {
            if (this._-Ke == null)
            {
                return;
            };
            var k:ISelectorWindow = (this._-Ke.findChildByName("category_selector") as ISelectorWindow);
            if (k != null)
            {
                k.setSelected(k._-4Vf("tab_pets"));
            };
        }
        public function _-2tH(_arg1:_-2hl):void
        {
            if (this._-4RB != null)
            {
                this._-4RB.setSelected(false);
            };
            this._-4RB = _arg1;
            if (this._-4RB != null)
            {
                this._-4RB.setSelected(true);
            };
            this._-2HS(_arg1);
        }
        public function _-4iK():void
        {
            var k:int;
            var k:Map = this._-3n-.pets;
            if (!this._-3n-._-0NU())
            {
                k = this._-3Se;
            }
            else
            {
                if (((!(k)) || ((k.length == 0))))
                {
                    k = this._-1k;
                }
                else
                {
                    k = this._-1b9;
                };
            };
            if (this._-3HP == k)
            {
                return;
            };
            this._-3HP = k;
            var k:IWindowContainer = (this._-Ke.findChildByName("loading_container") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("empty_container") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("grid_container") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("preview_container") as IWindowContainer);
            switch (k)
            {
                case this._-3Se:
                    k.visible = true;
                    k.visible = false;
                    k.visible = false;
                    k.visible = false;
                    return;
                case this._-1k:
                    k.visible = false;
                    k.visible = true;
                    k.visible = false;
                    k.visible = false;
                    return;
                case this._-1b9:
                    k.visible = false;
                    k.visible = false;
                    k.visible = true;
                    k.visible = true;
                    this._-3Fl();
                    this._-2HS();
                    return;
            };
        }
        private function _-2HS(_arg1:_-2hl=null):void
        {
            var k:BitmapData;
            var k:String;
            var k:String;
            var k:Boolean;
            var _local16:_-21K;
            var k:BitmapData;
            if (this._-Ke == null)
            {
                return;
            };
            var k:int = 64;
            var k:int = 4;
            var k:Boolean = true;
            var k:String;
            this._-j5 = -1;
            if ((((_arg1 == null)) || ((_arg1.pet == null))))
            {
                k = new BitmapData(1, 1);
                k = "";
                k = "";
                k = false;
            }
            else
            {
                _local16 = _arg1.pet;
                k = _local16.name;
                if (_local16.typeId == _-3iK._-2CJ)
                {
                    k = 2;
                    k = true;
                    if (_local16.level >= 7)
                    {
                        k = "std";
                    }
                    else
                    {
                        k = ("grw" + _local16.level);
                    };
                };
                k = this._-2s2(_local16, k, k, null, k, k);
                k = true;
            };
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("preview_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = new BitmapData(k.width, k.height);
                k.fillRect(k.rect, 0);
                k.copyPixels(k, k.rect, new Point(((k.width / 2) - (k.width / 2)), ((k.height / 2) - (k.height / 2))));
                k.bitmap = k;
            };
            k.dispose();
            var k:ITextWindow = (this._-Ke.findChildByName("preview_text") as ITextWindow);
            if (k != null)
            {
                k.caption = k;
            };
            k = (this._-Ke.findChildByName("preview_description") as ITextWindow);
            if (k != null)
            {
                k.caption = k;
            };
            var k:Boolean;
            var k:Boolean;
            if (this._-3n-.roomSession != null)
            {
                k = this._-3n-.roomSession._-sS;
                k = this._-3n-.roomSession._-49x;
            };
            var k:String = "";
            if (!k)
            {
                if (k)
                {
                    k = "${inventory.pets.allowed}";
                }
                else
                {
                    k = "${inventory.pets.forbidden}";
                };
            };
            k = (this._-Ke.findChildByName("preview_info") as ITextWindow);
            if (k != null)
            {
                k.caption = k;
            };
            var k:IButtonWindow = (this._-Ke.findChildByName("place_button") as IButtonWindow);
            if (k != null)
            {
                if (((k) && (((k) || (k)))))
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
        }
        public function _-2s2(_arg1:_-21K, _arg2:int, _arg3:Boolean, _arg4:_-2hl=null, _arg5:int=64, _arg6:String=null):BitmapData
        {
            var k:PetFigureData = _arg1.figureData;
            var k:BitmapData;
            var k:uint = parseInt(k.color, 16);
            var k:uint;
            var k:Array = [];
            var k:int;
            while (k < (k._-Lo * 3))
            {
                k.push(new _-10A(k._-uk[k], k._-uk[(k + 1)], k._-uk[(k + 2)]));
                k = (k + 3);
            };
            var k:_-2Gt = this._-0tK._-2s2(k.typeId, k.paletteId, k, new _-Xl((_arg2 * 45)), _arg5, this, _arg3, k, k, _arg6);
            if (k != null)
            {
                k = k.data;
                if (_arg4 != null)
                {
                    _arg4._-3Ai = k.id;
                }
                else
                {
                    if (_arg3)
                    {
                        this._-j5 = k.id;
                    };
                };
            };
            if (k == null)
            {
                k = new BitmapData(30, 30, false, 4289374890);
            };
            return (k);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:_-2hl;
            if (_arg1 == this._-j5)
            {
                this._-2HS(this._-4RB);
                return;
            };
            for each (k in this._-2Nj)
            {
                if (k._-3Ai == _arg1)
                {
                    k._-3uM(_arg2);
                    return;
                };
            };
        }
        private function _-0y7():void
        {
            var k:IWindowContainer;
            var k:IWindow;
            var k:String;
            var k:IWindow;
            var k:_-243 = (this._-AV.getAssetByName("unseen_item_symbol_xml") as _-243);
            var k:IWindow = this._-U-.buildFromXML((k.content as XML));
            for each (k in ["floor", "wall", "pets"])
            {
                k = this._-Ke.findChildByName(("tab_" + k));
                k = (k.clone() as IWindowContainer);
                k = k.findChildByName("text");
                if (k)
                {
                    k.caption = ((("$" + "{") + k.caption) + "}");
                };
                k.x = ((k.right - k.width) - _-RT);
                k.y = (k.y + _-RT);
                k.tags.push(("unseen_symbol_" + k));
                k.visible = false;
                this._-Ke.addChild(k);
            };
            k.dispose();
        }
        public function _-4Fy():void
        {
            var k:IWindow;
            k = this._-Ke.findChildByTag("unseen_symbol_floor");
            k.visible = (this._-3n-.controller._-20u._-4JM(_-2Jr._-4Aq) > 0);
            k = this._-Ke.findChildByTag("unseen_symbol_wall");
            k.visible = (this._-3n-.controller._-20u._-4JM(_-2Jr._-59K) > 0);
            k = this._-Ke.findChildByTag("unseen_symbol_pets");
            k.visible = (this._-3n-.controller._-20u._-4JM(_-2Jr._-0Zq) > 0);
        }

    }
}//package _-0g4

//------------------------------------------------------------
//_-0gD._-2sn

package _-0gD
{
    public class _-2sn 
    {

        private var _-5K:String = null;
        private var _-WI:Number = 0;
        private var _-Oo:Number = 0;

        public function _-2sn(_arg1:String, _arg2:Number, _arg3:Number)
        {
            this._-5K = _arg1;
            this._-WI = _arg2;
            this._-Oo = _arg3;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get _-302():Number
        {
            return (this._-WI);
        }
        public function get _-2bQ():Number
        {
            return (this._-Oo);
        }

    }
}//package _-0gD

//------------------------------------------------------------
//_-0gD._-dr

package _-0gD
{
    public class _-dr 
    {

        private var _-WI:Number = 0;
        private var _-Oo:Number = 0;
        private var _-4Fg:Number = 0;
        private var _-4mb:Number = 0;

        public function _-dr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number)
        {
            this._-WI = _arg1;
            this._-Oo = _arg2;
            this._-4Fg = _arg3;
            this._-4mb = _arg4;
        }
        public function get _-302():Number
        {
            return (this._-WI);
        }
        public function get _-2bQ():Number
        {
            return (this._-Oo);
        }
        public function get _-1bG():Number
        {
            return (this._-4Fg);
        }
        public function get _-0KK():Number
        {
            return (this._-4mb);
        }

    }
}//package _-0gD

//------------------------------------------------------------
//_-0gD._-x7

package _-0gD
{
    import _-1qL._-0Rp;
    import _-3mW._-4Wq;

    public class _-x7 extends _-0Rp 
    {

        private var _-3Wy:Number = 0;

        public function get _-2bI():Number
        {
            return (this._-3Wy);
        }
        public function set _-2bI(_arg1:Number):void
        {
            this._-3Wy = _arg1;
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (_arg3 == 1)
            {
                this._-2bI = object.getModel().getNumber(_-4Wq._-a9);
                return ((-(this._-2bI) * (_arg1 / 2)));
            };
            return (super.getSpriteYOffset(_arg1, _arg2, _arg3));
        }

    }
}//package _-0gD

//------------------------------------------------------------
//_-0gD.RoomPlane

package _-0gD
{
    import flash.geom.Point;
    import _-0y0._-Xl;
    import flash.display.BitmapData;
    import _-2zl._-07m;
    import _-tn.PlaneMaskManager;
    import _-18r.Map;
    import _-0vU._-0Va;
    import _-0y0._-06R;
    import _-0y0._-3q6;
    import _-0vU.Randomizer;
    import flash.geom.Matrix;
    import flash.geom.Rectangle;
    import flash.display.BitmapDataChannel;
    import flash.display.BlendMode;

    public class RoomPlane 
    {

        private static const _-4XR:Point = new Point(0, 0);
        public static const _-27L:int = 0;
        public static const _-0N8:int = 1;
        public static const _-BF:int = 2;
        public static const _-9L:int = 3;

        private var _disposed:Boolean = false;
        private var _-29O:int = 0;
        private var _-j1:_-Xl = null;
        private var _-0cX:_-Xl = null;
        private var _-2DV:_-Xl = null;
        private var _-1yh:_-Xl = null;
        private var _normal:_-Xl = null;
        private var _-2yp:Array;
        private var _-0h1:int = -1;
        private var _-5K:int = 0;
        private var _-4Zt:Boolean = false;
        private var _-04k:BitmapData = null;
        private var _-47U:Boolean = true;
        private var _-1fe:Point = null;
        private var _-1jf:Number = 0;
        private var _color:uint = 0;
        private var _-2LN:_-07m = null;
        private var _-3Qx:PlaneMaskManager = null;
        private var _-0Kq:String = null;
        private var _-1MS:Number = 0;
        private var _-50n:Number = 0;
        private var _-2SP:Number = 0;
        private var _-3nS:Number = 0;
        private var _-0ph:Map = null;
        private var _-3wt:_-0Va = null;
        private var _-2R-:Boolean = false;
        private var _-4XE:Array;
        private var _-5Cc:Array;
        private var _-3eZ:Boolean = false;
        private var _-3gS:BitmapData = null;
        private var _-1QL:BitmapData = null;
        private var _-0lS:Array;
        private var _-5T:Array;
        private var _-331:_-Xl = null;
        private var _-4q7:_-Xl = null;
        private var _-33T:_-Xl = null;
        private var _-0Yl:_-Xl = null;
        private var _-0Dz:Number = 0;
        private var _height:Number = 0;
        private var _-397:Boolean = true;

        public function RoomPlane(_arg1:_-06R, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R, _arg5:int, _arg6:Boolean, _arg7:Array, _arg8:int, _arg9:Number=0, _arg10:Number=0, _arg11:Number=0, _arg12:Number=0)
        {
            var k:int;
            var k:_-06R;
            var k:_-Xl;
            this._-2yp = [];
            this._-4XE = [];
            this._-5Cc = [];
            this._-0lS = [];
            this._-5T = [];
            super();
            this._-29O = _arg8;
            this._-j1 = new _-Xl();
            this._-j1._-3jn(_arg1);
            this._-0cX = new _-Xl();
            this._-0cX._-3jn(_arg2);
            this._-2DV = new _-Xl();
            this._-2DV._-3jn(_arg3);
            this._-1yh = new _-Xl();
            this._-1yh._-3jn(_arg4);
            this._normal = _-Xl._-2H2(this._-2DV, this._-1yh);
            if (this._normal.length > 0)
            {
                this._normal._-2Dq((1 / this._normal.length));
            };
            if (_arg7 != null)
            {
                k = 0;
                while (k < _arg7.length)
                {
                    k = (_arg7[k] as _-06R);
                    if (k != null)
                    {
                        k = new _-Xl();
                        k._-3jn(k);
                        this._-2yp.push(k);
                    };
                    k++;
                };
            };
            this._-1fe = new Point();
            this._-5K = _arg5;
            this._-0ph = new Map();
            this._-331 = new _-Xl();
            this._-4q7 = new _-Xl();
            this._-33T = new _-Xl();
            this._-0Yl = new _-Xl();
            this._-1MS = _arg9;
            this._-50n = _arg10;
            this._-2SP = _arg11;
            this._-3nS = _arg12;
            this._-2R- = _arg6;
        }
        public function set _-0UY(_arg1:Boolean):void
        {
            if (_arg1 != this._-397)
            {
                if (!this._-397)
                {
                    this._-EC();
                };
                this._-397 = _arg1;
            };
        }
        public function get _-0UY():Boolean
        {
            return (this._-397);
        }
        public function get bitmapData():BitmapData
        {
            var k:BitmapData;
            if (this.visible)
            {
                if (this._-04k != null)
                {
                    try
                    {
                        k = this._-04k.clone();
                    }
                    catch(e:Error)
                    {
                    };
                };
            };
            return (k);
        }
        public function get visible():Boolean
        {
            return (((this._-4Zt) && (this._-397)));
        }
        public function get offset():Point
        {
            return (this._-1fe);
        }
        public function get relativeDepth():Number
        {
            return (this._-1jf);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function set color(_arg1:uint):void
        {
            this._color = _arg1;
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get _-5DB():_-06R
        {
            return (this._-2DV);
        }
        public function get _-3hO():_-06R
        {
            return (this._-1yh);
        }
        public function get location():_-06R
        {
            return (this._-0cX);
        }
        public function get normal():_-06R
        {
            return (this._normal);
        }
        public function get _-2dp():Boolean
        {
            return (this._-47U);
        }
        public function set _-2dp(_arg1:Boolean):void
        {
            this._-47U = _arg1;
        }
        public function set rasterizer(_arg1:_-07m):void
        {
            this._-2LN = _arg1;
        }
        public function set _-0Ru(_arg1:PlaneMaskManager):void
        {
            this._-3Qx = _arg1;
        }
        public function set id(_arg1:String):void
        {
            if (_arg1 != this._-0Kq)
            {
                this._-EC();
                this._-0Kq = _arg1;
            };
        }
        public function dispose():void
        {
            var k:int;
            var k:_-0Va;
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
            if (this._-0ph != null)
            {
                k = 0;
                while (k < this._-0ph.length)
                {
                    k = (this._-0ph.getWithIndex(k) as _-0Va);
                    if (k != null)
                    {
                        if (k.bitmap != null)
                        {
                            k.bitmap.dispose();
                        };
                        k.dispose();
                    };
                    k++;
                };
                this._-0ph.dispose();
                this._-0ph = null;
            };
            this._-3wt = null;
            this._-0cX = null;
            this._-j1 = null;
            this._-2DV = null;
            this._-1yh = null;
            this._normal = null;
            this._-2LN = null;
            this._-331 = null;
            this._-4q7 = null;
            this._-33T = null;
            this._-0Yl = null;
            this._-4XE = null;
            this._-5Cc = null;
            if (this._-3gS != null)
            {
                this._-3gS.dispose();
                this._-3gS = null;
            };
            if (this._-1QL != null)
            {
                this._-1QL.dispose();
                this._-1QL = null;
            };
            this._disposed = true;
        }
        public function _-2jb(_arg1:BitmapData):BitmapData
        {
            if (this.visible)
            {
                if (((!((this._-04k == null))) && (!((_arg1 == null)))))
                {
                    if ((((this._-04k.width == _arg1.width)) && ((this._-04k.height == _arg1.height))))
                    {
                        _arg1.copyPixels(this._-04k, this._-04k.rect, _-4XR);
                        return (_arg1);
                    };
                };
            };
            return (null);
        }
        private function _-095(_arg1:String, _arg2:_-0Va):Boolean
        {
            var k:_-0Va = (this._-0ph.remove(_arg1) as _-0Va);
            if (k != null)
            {
                if (((!((_arg2 == null))) && (!((_arg2.bitmap == k.bitmap)))))
                {
                    k.bitmap.dispose();
                };
                k.dispose();
            };
            this._-3wt = _arg2;
            this._-0ph.add(_arg1, _arg2);
            return (true);
        }
        private function _-EC(_arg1:BitmapData=null):void
        {
            var k:int;
            var k:_-0Va;
            if (this._-0ph != null)
            {
                k = 0;
                while (k < this._-0ph.length)
                {
                    k = (this._-0ph.getWithIndex(k) as _-0Va);
                    if (k != null)
                    {
                        if (((!((k.bitmap == null))) && (!((k.bitmap == _arg1)))))
                        {
                            k.bitmap.dispose();
                        };
                        k.dispose();
                    };
                    k++;
                };
                this._-0ph.reset();
            };
            this._-3wt = null;
        }
        private function getTextureIdentifier(_arg1:Number):String
        {
            if (this._-2LN != null)
            {
                return (this._-2LN.getTextureIdentifier(_arg1, this.normal));
            };
            return (String(_arg1));
        }
        private function _-0rP(_arg1:_-3q6, _arg2:int):Boolean
        {
            var k:String;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:_-0Va = this._-3wt;
            if (k == null)
            {
                k = this.getTextureIdentifier(_arg1.scale);
                k = (this._-0ph.getValue(k) as _-0Va);
            };
            this._-1vc();
            if (((this._-397) && ((((((k == null)) || ((((k.timeStamp >= 0)) && ((_arg2 > k.timeStamp)))))) || (this._-3eZ)))))
            {
                return (true);
            };
            return (false);
        }
        private function _-3Eh(_arg1:_-3q6, _arg2:int):BitmapData
        {
            var k:Number;
            var k:Number;
            var k:_-06R;
            var k:BitmapData;
            var _local9:BitmapData;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:_-0Va;
            var k:String;
            if (this._-0rP(_arg1, _arg2))
            {
                k = (this._-2DV.length * _arg1.scale);
                k = (this._-1yh.length * _arg1.scale);
                k = _arg1._-2y5(this._normal);
                k = this.getTextureIdentifier(_arg1.scale);
                if (this._-3wt != null)
                {
                    k = this._-3wt;
                }
                else
                {
                    k = (this._-0ph.getValue(k) as _-0Va);
                };
                k = null;
                if (k != null)
                {
                    k = k.bitmap;
                };
                if (this._-2LN != null)
                {
                    k = this._-2LN.render(k, this._-0Kq, k, k, _arg1.scale, k, this._-47U, this._-1MS, this._-50n, this._-2SP, this._-3nS, _arg2);
                    if (k != null)
                    {
                        if (((!((k == null))) && (!((k.bitmap == k)))))
                        {
                            k.dispose();
                        };
                    };
                }
                else
                {
                    _local9 = new BitmapData(k, k, true, (0xFF000000 | this._color));
                    k = new _-0Va(_local9, -1);
                };
                if (k != null)
                {
                    this._-05N(k.bitmap, _arg1);
                    this._-095(k, k);
                };
            }
            else
            {
                if (this._-3wt != null)
                {
                    k = this._-3wt;
                }
                else
                {
                    k = this.getTextureIdentifier(_arg1.scale);
                    k = (this._-0ph.getValue(k) as _-0Va);
                };
            };
            if (k != null)
            {
                this._-3wt = k;
                return (k.bitmap);
            };
            return (null);
        }
        private function _-3sW(_arg1:_-0Va):void
        {
        }
        public function update(_arg1:_-3q6, _arg2:int):Boolean
        {
            var cosAngle:Number;
            var i:int;
            var originPos:_-06R;
            var originZ:Number;
            var relativeDepth:Number;
            var texture:BitmapData;
            var geometry:_-3q6 = _arg1;
            var timeSinceStartMs:int = _arg2;
            if ((((geometry == null)) || (this._disposed)))
            {
                return (false);
            };
            var geometryChanged:Boolean;
            if (this._-0h1 != geometry._-3KH)
            {
                geometryChanged = true;
            };
            if (((!(geometryChanged)) || (!(this._-397))))
            {
                if (!this.visible)
                {
                    return (false);
                };
            };
            if (geometryChanged)
            {
                this._-3wt = null;
                cosAngle = 0;
                cosAngle = _-Xl.cosAngle(geometry._-00G, this.normal);
                if (cosAngle > -0.001)
                {
                    if (this._-4Zt)
                    {
                        this._-4Zt = false;
                        return (true);
                    };
                    return (false);
                };
                i = 0;
                while (i < this._-2yp.length)
                {
                    cosAngle = _-Xl.cosAngle(geometry._-00G, this._-2yp[i]);
                    if (cosAngle > -0.001)
                    {
                        if (this._-4Zt)
                        {
                            this._-4Zt = false;
                            return (true);
                        };
                        return (false);
                    };
                    i = (i + 1);
                };
                this._-0dk(geometry);
                originPos = geometry._-58F(this._-j1);
                originZ = originPos.z;
                relativeDepth = Math.max((this._-331.z - originZ), (this._-4q7.z - originZ), (this._-33T.z - originZ), (this._-0Yl.z - originZ));
                if (this._-5K == _-9L)
                {
                    relativeDepth = (relativeDepth + 0.02);
                };
                this._-1jf = relativeDepth;
                this._-4Zt = true;
                this._-0h1 = geometry._-3KH;
            };
            if (((geometryChanged) || (this._-0rP(geometry, timeSinceStartMs))))
            {
                if ((((((this._-04k == null)) || (!((this._-0Dz == this._-04k.width))))) || (!((this._height == this._-04k.height)))))
                {
                    if (this._-04k != null)
                    {
                        this._-04k.dispose();
                        this._-04k = null;
                        if ((((this._-0Dz < 1)) || ((this._height < 1))))
                        {
                            return (true);
                        };
                    }
                    else
                    {
                        if ((((this._-0Dz < 1)) || ((this._height < 1))))
                        {
                            return (false);
                        };
                    };
                    try
                    {
                        this._-04k = new BitmapData(this._-0Dz, this._height, true, 0xFFFFFF);
                    }
                    catch(e:Error)
                    {
                        _-04k = null;
                    };
                    if (this._-04k == null)
                    {
                        return (false);
                    };
                    this._-04k.lock();
                }
                else
                {
                    this._-04k.lock();
                    this._-04k.fillRect(this._-04k.rect, 0xFFFFFF);
                };
                Randomizer._-3hk(this._-29O);
                texture = this._-3Eh(geometry, timeSinceStartMs);
                if (texture != null)
                {
                    this._-4gY(geometry, texture);
                };
                this._-04k.unlock();
                return (((texture) || (geometryChanged)));
            };
            return (false);
        }
        private function _-0dk(_arg1:_-3q6):void
        {
            this._-331._-3jn(_arg1._-58F(this._-0cX));
            this._-4q7._-3jn(_arg1._-58F(_-Xl._-3SY(this._-0cX, this._-1yh)));
            this._-33T._-3jn(_arg1._-58F(_-Xl._-3SY(_-Xl._-3SY(this._-0cX, this._-2DV), this._-1yh)));
            this._-0Yl._-3jn(_arg1._-58F(_-Xl._-3SY(this._-0cX, this._-2DV)));
            this._-1fe = _arg1._-2Et(this._-j1);
            this._-331.x = Math.round(this._-331.x);
            this._-331.y = Math.round(this._-331.y);
            this._-4q7.x = Math.round(this._-4q7.x);
            this._-4q7.y = Math.round(this._-4q7.y);
            this._-33T.x = Math.round(this._-33T.x);
            this._-33T.y = Math.round(this._-33T.y);
            this._-0Yl.x = Math.round(this._-0Yl.x);
            this._-0Yl.y = Math.round(this._-0Yl.y);
            this._-1fe.x = Math.round(this._-1fe.x);
            this._-1fe.y = Math.round(this._-1fe.y);
            var k:Number = Math.min(this._-331.x, this._-4q7.x, this._-33T.x, this._-0Yl.x);
            var k:Number = Math.max(this._-331.x, this._-4q7.x, this._-33T.x, this._-0Yl.x);
            var k:Number = Math.min(this._-331.y, this._-4q7.y, this._-33T.y, this._-0Yl.y);
            var k:Number = Math.max(this._-331.y, this._-4q7.y, this._-33T.y, this._-0Yl.y);
            k = (k - k);
            this._-1fe.x = (this._-1fe.x - k);
            this._-331.x = (this._-331.x - k);
            this._-4q7.x = (this._-4q7.x - k);
            this._-33T.x = (this._-33T.x - k);
            this._-0Yl.x = (this._-0Yl.x - k);
            k = (k - k);
            this._-1fe.y = (this._-1fe.y - k);
            this._-331.y = (this._-331.y - k);
            this._-4q7.y = (this._-4q7.y - k);
            this._-33T.y = (this._-33T.y - k);
            this._-0Yl.y = (this._-0Yl.y - k);
            this._-0Dz = k;
            this._height = k;
        }
        private function _-4gY(_arg1:_-3q6, _arg2:BitmapData):void
        {
            if ((((((((((((this._-331 == null)) || ((this._-4q7 == null)))) || ((this._-33T == null)))) || ((this._-0Yl == null)))) || ((_arg2 == null)))) || ((this._-04k == null))))
            {
                return;
            };
            var k:Number = (this._-0Yl.x - this._-33T.x);
            var k:Number = (this._-0Yl.y - this._-33T.y);
            var k:Number = (this._-4q7.x - this._-33T.x);
            var k:Number = (this._-4q7.y - this._-33T.y);
            if ((((this._-5K == _-0N8)) || ((this._-5K == _-9L))))
            {
                if (Math.abs((k - _arg2.width)) <= 1)
                {
                    k = _arg2.width;
                };
                if (Math.abs((k - _arg2.width)) <= 1)
                {
                    k = _arg2.width;
                };
                if (Math.abs((k - _arg2.height)) <= 1)
                {
                    k = _arg2.height;
                };
                if (Math.abs((k - _arg2.height)) <= 1)
                {
                    k = _arg2.height;
                };
            };
            var k:Number = (k / _arg2.width);
            var k:Number = (k / _arg2.width);
            var k:Number = (k / _arg2.height);
            var k:Number = (k / _arg2.height);
            var k:Matrix = new Matrix();
            k.a = k;
            k.b = k;
            k.c = k;
            k.d = k;
            k.translate(this._-33T.x, this._-33T.y);
            this.draw(_arg2, k);
        }
        private function draw(_arg1:BitmapData, _arg2:Matrix):void
        {
            var k:int;
            var k:int;
            var k:Number;
            var k:int;
            var k:int;
            if (this._-04k != null)
            {
                if ((((((((((((_arg2.a == 1)) && ((_arg2.d == 1)))) && ((_arg2.c == 0)))) && (!((_arg2.b == 0))))) && ((Math.abs(_arg2.b) <= 1)))) && ((((this._-5K == _-0N8)) || ((this._-5K == _-9L))))))
                {
                    k = 0;
                    k = 0;
                    k = 0;
                    k = 0;
                    if (_arg2.b > 0)
                    {
                        _arg2.ty++;
                    };
                    k = 0;
                    while (k < _arg1.width)
                    {
                        k++;
                        k = (k + Math.abs(_arg2.b));
                        if (k >= 1)
                        {
                            this._-04k.copyPixels(_arg1, new Rectangle((k + k), 0, (k - k), _arg1.height), new Point((_arg2.tx + k), (_arg2.ty + k)), null, null, true);
                            if (_arg2.b > 0)
                            {
                                k++;
                            }
                            else
                            {
                                k--;
                            };
                            k = 0;
                        };
                    };
                    if (k > 0)
                    {
                        this._-04k.copyPixels(_arg1, new Rectangle(k, 0, (k - k), _arg1.height), new Point((_arg2.tx + k), (_arg2.ty + k)), null, null, true);
                    };
                    return;
                };
                this._-04k.draw(_arg1, _arg2, null, null, null, false);
            };
        }
        public function _-2qs():void
        {
            if (this._-2R-)
            {
                if (this._-4XE.length == 0)
                {
                    return;
                };
                this._-3eZ = true;
                this._-4XE = [];
            };
        }
        public function _-UZ(_arg1:String, _arg2:Number, _arg3:Number):Boolean
        {
            var k:_-2sn;
            var k:int;
            if (this._-2R-)
            {
                k = null;
                k = 0;
                while (k < this._-4XE.length)
                {
                    k = (this._-4XE[k] as _-2sn);
                    if (k != null)
                    {
                        if ((((((k.type == _arg1)) && ((k._-302 == _arg2)))) && ((k._-2bQ == _arg3))))
                        {
                            return (false);
                        };
                    };
                    k++;
                };
                k = new _-2sn(_arg1, _arg2, _arg3);
                this._-4XE.push(k);
                this._-3eZ = true;
                return (true);
            };
            return (false);
        }
        public function _-1zb():void
        {
            if (this._-2R-)
            {
                if (this._-5Cc.length == 0)
                {
                    return;
                };
                this._-3eZ = true;
                this._-5Cc = [];
            };
        }
        public function _-091(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Boolean
        {
            var k:_-dr;
            var k:int;
            if (this._-2R-)
            {
                k = null;
                k = 0;
                while (k < this._-5Cc.length)
                {
                    k = (this._-5Cc[k] as _-dr);
                    if (k != null)
                    {
                        if ((((((((k._-302 == _arg1)) && ((k._-2bQ == _arg2)))) && ((k._-1bG == _arg3)))) && ((k._-0KK == _arg4))))
                        {
                            return (false);
                        };
                    };
                    k++;
                };
                k = new _-dr(_arg1, _arg2, _arg3, _arg4);
                this._-5Cc.push(k);
                this._-3eZ = true;
                return (true);
            };
            return (false);
        }
        private function _-1vc():void
        {
            var k:Boolean;
            var k:_-2sn;
            if (!this._-3eZ)
            {
                return;
            };
            var k:int;
            var k:int;
            var k:Boolean = true;
            var k:_-2sn;
            var k:_-dr;
            if (this._-4XE.length == this._-0lS.length)
            {
                while (k < this._-4XE.length)
                {
                    k = (this._-4XE[k] as _-2sn);
                    if (k != null)
                    {
                        k = false;
                        while (k < this._-0lS.length)
                        {
                            k = (this._-0lS[k] as _-2sn);
                            if (k != null)
                            {
                                if ((((((k.type == k.type)) && ((k._-302 == k._-302)))) && ((k._-2bQ == k._-2bQ))))
                                {
                                    k = true;
                                    break;
                                };
                            };
                            k++;
                        };
                        if (!k)
                        {
                            k = false;
                            break;
                        };
                    };
                    k++;
                };
            }
            else
            {
                k = false;
            };
            if (this._-5Cc.length > this._-5T.length)
            {
                k = false;
            };
            if (k)
            {
                this._-3eZ = false;
            };
        }
        private function _-05N(_arg1:BitmapData, _arg2:_-3q6):void
        {
            var k:_-06R;
            var k:int;
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            if (((((!(this._-2R-)) || ((((((this._-4XE.length == 0)) && ((this._-5Cc.length == 0)))) && (!(this._-3eZ)))))) || ((this._-3Qx == null))))
            {
                return;
            };
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            var k:_-2sn;
            var k:_-dr;
            var k:int;
            var k:int;
            this._-1vc();
            var k:Number = _arg1.width;
            var k:Number = _arg1.height;
            if ((((((this._-3gS == null)) || (!((this._-3gS.width == k))))) || (!((this._-3gS.height == k)))))
            {
                if (this._-3gS != null)
                {
                    this._-3gS.dispose();
                    this._-3gS = null;
                };
                this._-3gS = new BitmapData(k, k, true, 0xFFFFFF);
                this._-3eZ = true;
            };
            if (this._-3eZ)
            {
                this._-0lS = [];
                this._-5T = [];
                if (this._-3gS != null)
                {
                    this._-3gS.fillRect(this._-3gS.rect, 0xFFFFFF);
                };
                this._-EC(_arg1);
                k = _arg2._-2y5(this._normal);
                k = 0;
                k = 0;
                k = 0;
                while (k < this._-4XE.length)
                {
                    k = (this._-4XE[k] as _-2sn);
                    if (k != null)
                    {
                        k = (this._-3gS.width - ((this._-3gS.width * k._-302) / this._-2DV.length));
                        k = (this._-3gS.height - ((this._-3gS.height * k._-2bQ) / this._-1yh.length));
                        k = k.type;
                        this._-3Qx._-05N(this._-3gS, k, _arg2.scale, k, k, k);
                        this._-0lS.push(new _-2sn(k, k._-302, k._-2bQ));
                    };
                    k++;
                };
                k = 0;
                while (k < this._-5Cc.length)
                {
                    k = (this._-5Cc[k] as _-dr);
                    if (k != null)
                    {
                        k = (this._-3gS.width - ((this._-3gS.width * k._-302) / this._-2DV.length));
                        k = (this._-3gS.height - ((this._-3gS.height * k._-2bQ) / this._-1yh.length));
                        k = ((this._-3gS.width * k._-1bG) / this._-2DV.length);
                        k = ((this._-3gS.height * k._-0KK) / this._-1yh.length);
                        this._-3gS.fillRect(new Rectangle((k - k), (k - k), k, k), 0xFF000000);
                        this._-5T.push(new _-dr(k._-1bG, k._-2bQ, k._-1bG, k._-0KK));
                    };
                    k++;
                };
                this._-3eZ = false;
            };
            this._-0h-(_arg1, this._-3gS);
        }
        private function _-0h-(_arg1:BitmapData, _arg2:BitmapData):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (((!((this._-1QL == null))) && (((!((this._-1QL.width == _arg1.width))) || (!((this._-1QL.height == _arg1.height)))))))
            {
                this._-1QL.dispose();
                this._-1QL = null;
            };
            if (this._-1QL == null)
            {
                this._-1QL = new BitmapData(_arg1.width, _arg1.height, true, 0xFFFFFFFF);
            };
            this._-1QL.copyChannel(_arg1, _arg1.rect, _-4XR, BitmapDataChannel.ALPHA, BitmapDataChannel.RED);
            this._-1QL.draw(_arg2, null, null, BlendMode.DARKEN);
            _arg1.copyChannel(this._-1QL, this._-1QL.rect, _-4XR, BitmapDataChannel.RED, BitmapDataChannel.ALPHA);
        }

    }
}//package _-0gD

//------------------------------------------------------------
//_-0gD.RoomVisualization

package _-0gD
{
    import _-4rn.RoomObjectSpriteVisualization;
    import _-295.AssetLibrary;
    import _-3mW.RoomPlaneParser;
    import flash.geom.Rectangle;
    import _-3mW.RoomPlaneBitmapMaskParser;
    import _-295._-2kE;
    import _-4rn._-H0;
    import _-4rn._-59O;
    import _-3D7._-2fB;
    import _-3D7._-1Wb;
    import _-0y0._-06R;
    import _-3V-._-3SU;
    import _-3mW._-4Wq;
    import _-0y0._-Xl;
    import _-3mW.RoomPlaneData;
    import _-3V-._-30N;
    import _-0y0._-3q6;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-3mW._-28E;

    public class RoomVisualization extends RoomObjectSpriteVisualization 
    {

        public static const _-2Hf:int = 0xFFFFFF;
        public static const _-0zU:int = 0xCCCCCC;
        private static const _-4EV:int = 0xFFFFFF;
        private static const _-nP:int = 0xCCCCCC;
        private static const _-3n7:int = 0x999999;
        private static const _-0Dn:int = 0x999999;
        public static const _-k7:int = 0xFFFFFF;
        public static const _-4Ui:int = 0xCCCCCC;
        public static const _-2IS:int = 0x999999;

        private const _-7n:int = 250;

        protected var _-0qE:RoomVisualizationData = null;
        private var _-AV:AssetLibrary = null;
        private var _-3Uy:RoomPlaneParser = null;
        private var _-1zq:Array;
        private var _-2y1:Boolean = false;
        private var _-3Db:Array;
        private var _-0YB:Array;
        private var _-0PR:Rectangle = null;
        private var _-1S8:RoomPlaneBitmapMaskParser = null;
        private var _-8h:String = null;
        private var _-3j8:String = null;
        private var _-0Rk:String = null;
        private var _-bJ:Number = NaN;
        private var _-4Bn:Number = NaN;
        private var _-4iI:Number = NaN;
        private var _-1oK:String = null;
        private var _-47x:uint = 0xFFFFFF;
        private var _-2kT:int = 0xFF;
        private var _-4Qm:int = 0xFF;
        private var _-Th:int = 0xFF;
        private var _-21e:Boolean = true;
        private var _-zr:int = 0;
        private var _-0E-:int = -1000;
        private var _-0h1:int = -1;
        private var _-2B-:Number = 0;
        private var _-2gU:Number = 0;
        private var _-2PT:Number = 0;
        private var _-52Y:Number = 0;
        private var _-1xg:Array;

        public function RoomVisualization()
        {
            this._-1zq = [];
            this._-3Db = [];
            this._-0YB = [];
            this._-1xg = [];
            super();
            this._-AV = new AssetLibrary("room visualization");
            this._-3Uy = new RoomPlaneParser();
            this._-1S8 = new RoomPlaneBitmapMaskParser();
            this._-1xg[RoomPlane._-27L] = false;
            this._-1xg[RoomPlane._-BF] = true;
            this._-1xg[RoomPlane._-0N8] = true;
            this._-1xg[RoomPlane._-9L] = true;
        }
        public function get floorRelativeDepth():Number
        {
            return (100.1);
        }
        public function get wallRelativeDepth():Number
        {
            return (100.5);
        }
        public function get _-dW():Number
        {
            return (100.49);
        }
        public function get _-ER():int
        {
            return (this._-1zq.length);
        }
        override public function dispose():void
        {
            var k:int;
            var k:_-2kE;
            super.dispose();
            if (this._-AV != null)
            {
                k = 0;
                while (k < this._-AV._-1JM)
                {
                    k = this._-AV._-1nE(k);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-AV.dispose();
                this._-AV = null;
            };
            this._-3lZ();
            this._-1zq = null;
            this._-3Db = null;
            this._-0YB = null;
            if (this._-3Uy != null)
            {
                this._-3Uy.dispose();
                this._-3Uy = null;
            };
            if (this._-1S8 != null)
            {
                this._-1S8.dispose();
                this._-1S8 = null;
            };
            if (this._-0qE != null)
            {
                this._-0qE._-0q5();
                this._-0qE = null;
            };
        }
        private function _-3lZ():void
        {
            var k:int;
            var k:RoomPlane;
            if (this._-1zq != null)
            {
                k = 0;
                while (k < this._-1zq.length)
                {
                    k = (this._-1zq[k] as RoomPlane);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-1zq = [];
            };
            this._-2y1 = false;
            this._-zr = (this._-zr + 1);
            this.reset();
        }
        override protected function reset():void
        {
            super.reset();
            this._-8h = null;
            this._-3j8 = null;
            this._-0Rk = null;
            this._-1oK = null;
            this._-0h1 = -1;
            this._-52Y = 0;
        }
        override public function get boundingRectangle():Rectangle
        {
            if (this._-0PR == null)
            {
                this._-0PR = super.boundingRectangle;
            };
            return (new Rectangle(this._-0PR.x, this._-0PR.y, this._-0PR.width, this._-0PR.height));
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            this.reset();
            if ((((_arg1 == null)) || (!((_arg1 is RoomVisualizationData)))))
            {
                return (false);
            };
            this._-0qE = (_arg1 as RoomVisualizationData);
            this._-0qE.initializeAssetCollection(_-0-Z);
            return (true);
        }
        protected function _-Ob():void
        {
            var k:RoomPlane;
            var k:_-59O;
            var k:int = this._-1zq.length;
            _-2Dm(k);
            var k:int;
            while (k < k)
            {
                k = (this._-1zq[k] as RoomPlane);
                k = _-2IM(k);
                if (((((((!((k == null))) && (!((k == null))))) && (!((k._-5DB == null))))) && (!((k._-3hO == null)))))
                {
                    if ((((k.type == RoomPlane._-0N8)) && ((((k._-5DB.length < 1)) || ((k._-3hO.length < 1))))))
                    {
                        k._-4l2 = _-2fB._-3D2;
                    }
                    else
                    {
                        k._-4l2 = _-2fB._-85;
                    };
                    if (k.type == RoomPlane._-0N8)
                    {
                        k.tag = ("plane.wall@" + (k + 1));
                    }
                    else
                    {
                        if (k.type == RoomPlane._-BF)
                        {
                            k.tag = ("plane.floor@" + (k + 1));
                        }
                        else
                        {
                            k.tag = ("plane@" + (k + 1));
                        };
                    };
                    k._-y8 = _-1Wb._-mC;
                };
                k++;
            };
        }
        protected function _-0Cj():void
        {
            var k:_-06R;
            var k:_-06R;
            var k:_-06R;
            var k:Array;
            var k:int;
            var k:RoomPlane;
            var k:_-06R;
            var k:int;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            if (this._-2y1)
            {
                return;
            };
            var k:_-3SU = object;
            if (k == null)
            {
                return;
            };
            if (!isNaN(this._-bJ))
            {
                this._-3Uy._-0F5 = this._-bJ;
            };
            if (!isNaN(this._-4Bn))
            {
                this._-3Uy._-00q = this._-4Bn;
            };
            var k:String = k.getModel().getString(_-4Wq._-1O9);
            if (!this._-3Uy._-1aO(new XML(k)))
            {
                return;
            };
            var k:Number = this._-0r3();
            var k:Number = this._-4cL();
            var k:Number = 0;
            var k:int = k.getModel().getNumber(_-4Wq._-3A9);
            var k:int;
            while (k < this._-3Uy._-ER)
            {
                k = this._-3Uy._-3q7(k);
                k = this._-3Uy._-3DY(k);
                k = this._-3Uy._-WL(k);
                k = this._-3Uy._-2D3(k);
                k = this._-3Uy._-3-m(k);
                k = null;
                if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
                {
                    k = _-Xl._-2H2(k, k);
                    k = ((k * 7613) + 517);
                    k = null;
                    if (k == RoomPlaneData._-2LS)
                    {
                        k = new RoomPlane(k.getLocation(), k, k, k, RoomPlane._-BF, true, k, k);
                        if (k.z != 0)
                        {
                            k.color = _-2Hf;
                        }
                        else
                        {
                            k.color = _-0zU;
                        };
                        if ((((k.length < 1)) || ((k.length < 1))))
                        {
                            k._-2dp = false;
                        };
                        if (this._-0qE != null)
                        {
                            k.rasterizer = this._-0qE._-0Y3;
                        };
                    }
                    else
                    {
                        if (k == RoomPlaneData._-42W)
                        {
                            k = new RoomPlane(k.getLocation(), k, k, k, RoomPlane._-0N8, true, k, k);
                            if ((((k.length < 1)) || ((k.length < 1))))
                            {
                                k._-2dp = false;
                            };
                            if ((((k.x == 0)) && ((k.y == 0))))
                            {
                                k.color = _-0Dn;
                            }
                            else
                            {
                                if (k.y > 0)
                                {
                                    k.color = _-4EV;
                                }
                                else
                                {
                                    if (k.y == 0)
                                    {
                                        k.color = _-nP;
                                    }
                                    else
                                    {
                                        k.color = _-3n7;
                                    };
                                };
                            };
                            if (this._-0qE != null)
                            {
                                k.rasterizer = this._-0qE._-4C9;
                            };
                        }
                        else
                        {
                            if (k == RoomPlaneData._-3CH)
                            {
                                k = new RoomPlane(k.getLocation(), k, k, k, RoomPlane._-9L, true, k, k, k, 0, k, k);
                                if (k.y > 0)
                                {
                                    k.color = _-k7;
                                }
                                else
                                {
                                    if (k.y == 0)
                                    {
                                        k.color = _-4Ui;
                                    }
                                    else
                                    {
                                        k.color = _-2IS;
                                    };
                                };
                                if (this._-0qE != null)
                                {
                                    k.rasterizer = this._-0qE._-1Pl;
                                };
                                k = (k + k.length);
                            }
                            else
                            {
                                if (k == RoomPlaneData._-18U)
                                {
                                    k = new RoomPlane(k.getLocation(), k, k, k, RoomPlane._-0N8, true, k, k);
                                    if ((((k.length < 1)) || ((k.length < 1))))
                                    {
                                        k._-2dp = false;
                                    };
                                    if ((((k.x == 0)) && ((k.y == 0))))
                                    {
                                        k.color = _-0Dn;
                                    }
                                    else
                                    {
                                        if (k.y > 0)
                                        {
                                            k.color = _-4EV;
                                        }
                                        else
                                        {
                                            if (k.y == 0)
                                            {
                                                k.color = _-nP;
                                            }
                                            else
                                            {
                                                k.color = _-3n7;
                                            };
                                        };
                                    };
                                    if (this._-0qE != null)
                                    {
                                        k.rasterizer = this._-0qE._-3iF;
                                    };
                                };
                            };
                        };
                    };
                    if (k != null)
                    {
                        k._-0Ru = this._-0qE._-0Ru;
                        k = 0;
                        while (k < this._-3Uy._-3Vx(k))
                        {
                            k = this._-3Uy._-4ld(k, k);
                            k = this._-3Uy._-4Fk(k, k);
                            k = this._-3Uy._-2GI(k, k);
                            k = this._-3Uy._-Hp(k, k);
                            k._-091(k, k, k, k);
                            k++;
                        };
                        this._-1zq.push(k);
                    };
                }
                else
                {
                    return;
                };
                k++;
            };
            this._-2y1 = true;
            this._-Ob();
        }
        private function _-0r3():Number
        {
            var k:int;
            var k:_-06R;
            var k:Number = 0;
            var k:int;
            while (k < this._-3Uy._-ER)
            {
                k = this._-3Uy._-3-m(k);
                if (k == RoomPlaneData._-3CH)
                {
                    k = this._-3Uy._-3DY(k);
                    k = (k + k.length);
                };
                k++;
            };
            return (k);
        }
        private function _-4cL():Number
        {
            var k:int;
            var k:_-06R;
            var k:Number = 0;
            var k:int;
            while (k < this._-3Uy._-ER)
            {
                k = this._-3Uy._-3-m(k);
                if (k == RoomPlaneData._-3CH)
                {
                    k = this._-3Uy._-WL(k);
                    if (k.length > k)
                    {
                        k = k.length;
                    };
                };
                k++;
            };
            if (k > 5)
            {
                k = 5;
            };
            return (k);
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            var k:int;
            var k:int;
            var k:_-59O;
            var k:RoomPlane;
            var k:uint;
            var k:uint;
            var k:uint;
            var k:uint;
            var k:uint;
            var k:_-3SU = object;
            if (k == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            var k:Boolean = this._-4nK(_arg1);
            var k:_-30N = k.getModel();
            var k:Boolean;
            if (this._-2Hn(k))
            {
                k = true;
            };
            if (this._-mR(k))
            {
                k = true;
            };
            this._-0Cj();
            k = this._-42b(k);
            var k:int = _arg2;
            if ((((((k < (this._-0E- + this._-7n))) && (!(k)))) && (!(k))))
            {
                return;
            };
            if (this._-0pi(k))
            {
                k = true;
            };
            if (this._-50E(_arg1, k, _arg2))
            {
                k = true;
            };
            if (k)
            {
                k = 0;
                while (k < this._-3Db.length)
                {
                    k = this._-0YB[k];
                    k = _-2IM(k);
                    k = (this._-3Db[k] as RoomPlane);
                    if (((((!((k == null))) && (!((k == null))))) && (!((k.type == RoomPlane._-9L)))))
                    {
                        if (this._-21e)
                        {
                            k = k.color;
                            k = (((k & 0xFF) * this._-Th) / 0xFF);
                            k = ((((k >> 8) & 0xFF) * this._-4Qm) / 0xFF);
                            k = ((((k >> 16) & 0xFF) * this._-2kT) / 0xFF);
                            k = (k >> 24);
                            k = ((((k << 24) + (k << 16)) + (k << 8)) + k);
                            k.color = k;
                        }
                        else
                        {
                            k.color = k.color;
                        };
                    };
                    k++;
                };
                _-3qW();
            };
            _-1WO = k._-1Pk();
            this._-0E- = k;
        }
        private function _-4nK(_arg1:_-3q6):Boolean
        {
            var k:_-06R;
            var k:Boolean;
            if (_arg1._-3KH != this._-0h1)
            {
                this._-0h1 = _arg1._-3KH;
                this._-0PR = null;
                k = _arg1.direction;
                if (((!((k == null))) && (((((((!((k.x == this._-2B-))) || (!((k.y == this._-2gU))))) || (!((k.z == this._-2PT))))) || (!((_arg1.scale == this._-52Y)))))))
                {
                    this._-2B- = k.x;
                    this._-2gU = k.y;
                    this._-2PT = k.z;
                    this._-52Y = _arg1.scale;
                    k = true;
                };
            };
            return (k);
        }
        private function _-42b(_arg1:_-30N):Boolean
        {
            var k:String;
            var k:uint;
            var k:Boolean;
            var k:Boolean;
            if (_-1WO != _arg1._-1Pk())
            {
                k = _arg1.getString(_-4Wq._-0Ar);
                if (k != this._-1oK)
                {
                    this._-0fo(k);
                    this._-1oK = k;
                    k = true;
                };
                k = _arg1.getNumber(_-4Wq._-51W);
                if (k != this._-47x)
                {
                    this._-47x = k;
                    this._-Th = (this._-47x & 0xFF);
                    this._-4Qm = ((this._-47x >> 8) & 0xFF);
                    this._-2kT = ((this._-47x >> 16) & 0xFF);
                    k = true;
                };
                k = Boolean(_arg1.getNumber(_-4Wq._-4z2));
                if (k != this._-21e)
                {
                    this._-21e = k;
                    k = true;
                };
            };
            return (k);
        }
        private function _-0pi(_arg1:_-30N):Boolean
        {
            var k:String;
            var k:String;
            var k:String;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            if (_-1WO != _arg1._-1Pk())
            {
                k = _arg1.getString(_-4Wq._-3Sr);
                k = _arg1.getString(_-4Wq._-3Oy);
                k = _arg1.getString(_-4Wq._-3HV);
                this._-Pw(k, k, k);
                k = Boolean(_arg1.getNumber(_-4Wq._-1kT));
                k = Boolean(_arg1.getNumber(_-4Wq._-142));
                k = Boolean(_arg1.getNumber(_-4Wq._-1F9));
                this._-0gR(k, k, k);
                return (true);
            };
            return (false);
        }
        private function _-2Hn(_arg1:_-30N):Boolean
        {
            var k:Number;
            var k:Number;
            if (_-1WO != _arg1._-1Pk())
            {
                k = _arg1.getNumber(_-4Wq._-5DA);
                k = _arg1.getNumber(_-4Wq._-4GH);
                if (((((!(isNaN(k))) && (!(isNaN(k))))) && (((!((k == this._-bJ))) || (!((k == this._-4Bn)))))))
                {
                    this._-bJ = k;
                    this._-4Bn = k;
                    this._-3lZ();
                    return (true);
                };
            };
            return (false);
        }
        private function _-mR(_arg1:_-30N):Boolean
        {
            var k:Number;
            if (_-1WO != _arg1._-1Pk())
            {
                k = _arg1.getNumber(_-4Wq._-SJ);
                if (((!(isNaN(k))) && (!((k == this._-4iI)))))
                {
                    this._-4iI = k;
                    this._-3lZ();
                    return (true);
                };
            };
            return (false);
        }
        protected function _-Pw(_arg1:String, _arg2:String, _arg3:String):Boolean
        {
            var k:RoomPlane;
            if (_arg1 != this._-3j8)
            {
                this._-3j8 = _arg1;
            }
            else
            {
                k = null;
            };
            if (_arg2 != this._-8h)
            {
                this._-8h = _arg2;
            }
            else
            {
                k = null;
            };
            if (_arg3 != this._-0Rk)
            {
                this._-0Rk = _arg3;
            }
            else
            {
                k = null;
            };
            if ((((((_arg1 == null)) && ((_arg2 == null)))) && ((_arg3 == null))))
            {
                return (false);
            };
            var k:int;
            while (k < this._-1zq.length)
            {
                k = (this._-1zq[k] as RoomPlane);
                if (k != null)
                {
                    if ((((k.type == RoomPlane._-BF)) && (!((_arg1 == null)))))
                    {
                        k.id = _arg1;
                    }
                    else
                    {
                        if ((((k.type == RoomPlane._-0N8)) && (!((_arg2 == null)))))
                        {
                            k.id = _arg2;
                        }
                        else
                        {
                            if ((((k.type == RoomPlane._-9L)) && (!((_arg3 == null)))))
                            {
                                k.id = _arg3;
                            };
                        };
                    };
                };
                k++;
            };
            return (true);
        }
        private function _-0gR(_arg1:Boolean, _arg2:Boolean, _arg3:Boolean):void
        {
            if (((((!((_arg1 == this._-1xg[RoomPlane._-BF]))) || (!((_arg2 == this._-1xg[RoomPlane._-0N8]))))) || (!((_arg3 == this._-1xg[RoomPlane._-9L])))))
            {
                this._-1xg[RoomPlane._-BF] = _arg1;
                this._-1xg[RoomPlane._-0N8] = _arg2;
                this._-1xg[RoomPlane._-9L] = _arg3;
                this._-3Db = [];
                this._-0YB = [];
            };
        }
        protected function _-50E(_arg1:_-3q6, _arg2:Boolean, _arg3:int):Boolean
        {
            var k:int;
            var k:_-59O;
            var k:RoomPlane;
            var k:Number;
            var k:String;
            var k:_-3SU = object;
            if (k == null)
            {
                return (false);
            };
            if (_arg1 == null)
            {
                return (false);
            };
            this._-zr++;
            if (_arg2)
            {
                this._-3Db = [];
                this._-0YB = [];
            };
            var k:int = _arg3;
            var k:Array = this._-3Db;
            if (this._-3Db.length == 0)
            {
                k = this._-1zq;
            };
            var k:Boolean;
            var k = (this._-3Db.length > 0);
            var k:int;
            while (k < k.length)
            {
                if (k)
                {
                    k = this._-0YB[k];
                };
                k = _-2IM(k);
                if (k != null)
                {
                    k = (k[k] as RoomPlane);
                    if (k != null)
                    {
                        if (k.update(_arg1, k))
                        {
                            if (k.visible)
                            {
                                k = ((k.relativeDepth + this.floorRelativeDepth) + (Number(k) / 1000));
                                if (k.type != RoomPlane._-BF)
                                {
                                    k = ((k.relativeDepth + this.wallRelativeDepth) + (Number(k) / 1000));
                                    if ((((k._-5DB.length < 1)) || ((k._-3hO.length < 1))))
                                    {
                                        k = (k + 50);
                                    };
                                };
                                k = ((("plane " + k) + " ") + _arg1.scale);
                                this._-07q(k, k, k, k);
                            };
                            k = true;
                        };
                        if (k.visible != ((k.visible) && (this._-1xg[k.type])))
                        {
                            k.visible = !(k.visible);
                            k = true;
                        };
                        if (k.visible)
                        {
                            if (!k)
                            {
                                this._-3Db.push(k);
                                this._-0YB.push(k);
                            };
                        };
                    }
                    else
                    {
                        if (k.visible)
                        {
                            k.visible = false;
                            k = true;
                        };
                    };
                };
                k++;
            };
            return (k);
        }
        private function _-07q(_arg1:_-59O, _arg2:RoomPlane, _arg3:String, _arg4:Number):void
        {
            var k:Point = _arg2.offset;
            _arg1.offsetX = -(k.x);
            _arg1.offsetY = -(k.y);
            _arg1.relativeDepth = _arg4;
            _arg1.color = _arg2.color;
            _arg1.asset = this._-00M(_arg2, _arg3);
            _arg1.assetName = ((_arg3 + "_") + this._-zr);
        }
        private function _-00M(_arg1:RoomPlane, _arg2:String):BitmapData
        {
            var k:BitmapDataAsset = (this._-AV.getAssetByName(_arg2) as BitmapDataAsset);
            if (k == null)
            {
                k = new BitmapDataAsset(this._-AV.getAssetTypeDeclarationByClass(BitmapDataAsset));
                this._-AV.setAsset(_arg2, k);
            };
            var k:BitmapData = (k.content as BitmapData);
            var k:BitmapData = _arg1._-2jb(k);
            if (k == null)
            {
                k = _arg1.bitmapData;
                if (k != null)
                {
                    if (k != k)
                    {
                        if (k != null)
                        {
                            k.dispose();
                        };
                        k._-2OI(k);
                    };
                };
            };
            return (k);
        }
        protected function _-0fo(_arg1:String):void
        {
            var k:String;
            var k:_-06R;
            var k:String;
            var k:int;
            var k:_-06R;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:int;
            if (_arg1 == null)
            {
                return;
            };
            var k:XML = XML(_arg1);
            this._-1S8.initialize(k);
            var k:RoomPlane;
            var k:Array = [];
            var k:Array = [];
            var k:Boolean;
            var k:int;
            while (k < this._-1zq.length)
            {
                k = (this._-1zq[k] as RoomPlane);
                if (k != null)
                {
                    k._-2qs();
                    if (k.type == RoomPlane._-9L)
                    {
                        k.push(k);
                    };
                };
                k++;
            };
            var k:int;
            while (k < this._-1S8._-2tf)
            {
                k = this._-1S8._-1Im(k);
                k = this._-1S8._-4kr(k);
                k = this._-1S8._-315(k);
                if (k != null)
                {
                    k = 0;
                    while (k < this._-1zq.length)
                    {
                        k = (this._-1zq[k] as RoomPlane);
                        if ((((k.type == RoomPlane._-0N8)) || ((k.type == RoomPlane._-9L))))
                        {
                            if (((((!((k == null))) && (!((k.location == null))))) && (!((k.normal == null)))))
                            {
                                k = _-Xl._-4gy(k, k.location);
                                k = Math.abs(_-Xl._-50X(k, k.normal));
                                if (k < 0.01)
                                {
                                    if (((!((k._-5DB == null))) && (!((k._-3hO == null)))))
                                    {
                                        k = _-Xl._-50X(k, k._-5DB);
                                        k = _-Xl._-50X(k, k._-3hO);
                                        if ((((k.type == RoomPlane._-0N8)) || ((((k.type == RoomPlane._-9L)) && ((k == _-28E._-1Hh))))))
                                        {
                                            k._-UZ(k, k, k);
                                        }
                                        else
                                        {
                                            if (k.type == RoomPlane._-9L)
                                            {
                                                if (!k._-0UY)
                                                {
                                                    k = true;
                                                };
                                                k._-0UY = true;
                                                k.push(k);
                                            };
                                        };
                                    };
                                };
                            };
                        };
                        k++;
                    };
                };
                k++;
            };
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                if (k.indexOf(k) < 0)
                {
                    k = (this._-1zq[k] as RoomPlane);
                    k._-0UY = false;
                    k = true;
                };
                k++;
            };
            if (k)
            {
                this._-3Db = [];
                this._-0YB = [];
            };
        }

    }
}//package _-0gD

//------------------------------------------------------------
//_-0gD.RoomVisualizationData

package _-0gD
{
    import _-1wa.WallRasterizer;
    import _-1wa.FloorRasterizer;
    import _-1wa.WallAdRasterizer;
    import _-2cl.LandscapeRasterizer;
    import _-tn.PlaneMaskManager;
    import _-2zl._-07m;
    import _-022._-2KD;
    import _-4rn.*;

    public class RoomVisualizationData implements _-H0 
    {

        private var _-0D5:WallRasterizer;
        private var _-083:FloorRasterizer;
        private var _-1js:WallAdRasterizer;
        private var _-1W5:LandscapeRasterizer;
        private var _-3Qx:PlaneMaskManager;
        private var _-3WC:Boolean = false;

        public function RoomVisualizationData()
        {
            this._-0D5 = new WallRasterizer();
            this._-083 = new FloorRasterizer();
            this._-1js = new WallAdRasterizer();
            this._-1W5 = new LandscapeRasterizer();
            this._-3Qx = new PlaneMaskManager();
        }
        public function get _-Lj():Boolean
        {
            return (this._-3WC);
        }
        public function get _-0Y3():_-07m
        {
            return (this._-083);
        }
        public function get _-4C9():_-07m
        {
            return (this._-0D5);
        }
        public function get _-3iF():WallAdRasterizer
        {
            return (this._-1js);
        }
        public function get _-1Pl():_-07m
        {
            return (this._-1W5);
        }
        public function get _-0Ru():PlaneMaskManager
        {
            return (this._-3Qx);
        }
        public function dispose():void
        {
            if (this._-0D5 != null)
            {
                this._-0D5.dispose();
                this._-0D5 = null;
            };
            if (this._-083 != null)
            {
                this._-083.dispose();
                this._-083 = null;
            };
            if (this._-1js != null)
            {
                this._-1js.dispose();
                this._-1js = null;
            };
            if (this._-1W5 != null)
            {
                this._-1W5.dispose();
                this._-1W5 = null;
            };
            if (this._-3Qx != null)
            {
                this._-3Qx.dispose();
                this._-3Qx = null;
            };
        }
        public function _-0q5():void
        {
            if (this._-0D5 != null)
            {
                this._-0D5._-0q5();
            };
            if (this._-083 != null)
            {
                this._-083._-0q5();
            };
            if (this._-1W5 != null)
            {
                this._-1W5._-0q5();
            };
        }
        public function initialize(_arg1:XML):Boolean
        {
            var k:XML;
            var k:XML;
            var k:XML;
            var k:XML;
            var k:XML;
            this.reset();
            if (_arg1 == null)
            {
                return (false);
            };
            var k:XMLList = _arg1.wallData;
            if (k.length() > 0)
            {
                k = k[0];
                this._-0D5.initialize(k);
            };
            var k:XMLList = _arg1.floorData;
            if (k.length() > 0)
            {
                k = k[0];
                this._-083.initialize(k);
            };
            var k:XMLList = _arg1.wallAdData;
            if (k.length() > 0)
            {
                k = k[0];
                this._-1js.initialize(k);
            };
            var k:XMLList = _arg1.landscapeData;
            if (k.length() > 0)
            {
                k = k[0];
                this._-1W5.initialize(k);
            };
            var k:XMLList = _arg1.maskData;
            if (k.length() > 0)
            {
                k = k[0];
                this._-3Qx.initialize(k);
            };
            return (true);
        }
        public function initializeAssetCollection(_arg1:_-2KD):void
        {
            if (this._-3WC)
            {
                return;
            };
            this._-0D5.initializeAssetCollection(_arg1);
            this._-083.initializeAssetCollection(_arg1);
            this._-1js.initializeAssetCollection(_arg1);
            this._-1W5.initializeAssetCollection(_arg1);
            this._-3Qx.initializeAssetCollection(_arg1);
            this._-3WC = true;
        }
        protected function reset():void
        {
        }

    }
}//package _-0gD

//------------------------------------------------------------
//_-0GO._-1Z9

package _-0GO
{
    import flash.events.IEventDispatcher;
    import _-59g._-1Ey;
    import _-1B-.*;

    public interface _-1Z9 extends _-4yI 
    {

        function initGameDirectoryConnection():void;
        function _-4Hs(_arg1:String):void;
        function _-3da():void;
        function _-2SE():void;
        function get events():IEventDispatcher;
        function _-32t(_arg1:_-1Ey):void;
        function _-34J(_arg1:int, _arg2:Boolean, _arg3:Boolean):void;
        function _-1Nh():void;
        function _-3tY(_arg1:int, _arg2:Boolean, _arg3:Boolean):void;
        function get gameCenterEnabled():Boolean;
        function get _-1Tf():Boolean;
        function loadGameClient(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:int, _arg7:int, _arg8:int, _arg9:Object):void;
        function _-1Pe(_arg1:int, _arg2:String, _arg3:String):void;
        function _-582(_arg1:int, _arg2:String, _arg3:String):void;
        function joinPlayerQueue(_arg1:int):void;
        function _-43D(_arg1:int):void;
        function acceptGameInvite(_arg1:int, _arg2:int):void;
        function showGameCenter(_arg1:String, _arg2:int=0):void;
        function showGameCenterByGameName(_arg1:String, _arg2:String):void;
        function _-1sK():void;
        function _-3RB(_arg1:int):String;
        function getGameId(_arg1:String):int;
        function getGameAssetURL(_arg1:int, _arg2:String):String;

    }
}//package _-0GO

//------------------------------------------------------------
//_-0GO._-3lN

package _-0GO
{
    public class _-3lN 
    {

        public static const get:String = "snowwar";
        public static const _-1os:String = "basejump";
        public static const _-40G:int = 0;

    }
}//package _-0GO

//------------------------------------------------------------
//_-0GO._-44Y

package _-0GO
{
    public class _-44Y 
    {

        public static const _-sJ:String = "GAE_ICON";
        public static const _-54V:String = "GAE_SMALL_ICON";
        public static const _-3J3:String = "GAE_LOGO";
        public static const _-0wk:String = "GAE_GRADIENT";
        public static const _-1b3:String = "GAE_THEME";

    }
}//package _-0GO

//------------------------------------------------------------
//_-0GO.HabboGameManager

package _-0GO
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-4pF._-3Ts;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-1Jd._-51K;
    import _-1Jd._-45k;
    import _-3vb._-3b;
    import _-4Kb._-3nt;
    import _-0mD._-2Jq;
    import _-293._-5-S;
    import _-0jj._-0QY;
    import _-3Zp._-1bw;
    import _-4GV._-0Uq;
    import _-2b4.SnowWarEngine;
    import _-cO.SharedMessageHandler;
    import _-ZK._-vJ;
    import _-50-.GameCenterView;
    import _-0eb._-4-p;
    import flash.display.Loader;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboLandingView;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboHelp;
    import com.sulake.iid.IIDHabboInventory;
    import com.sulake.iid.IIDHabboNavigator;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1Jd._-3wh;
    import _-3MI._-0Sy;
    import _-0W2.WindowUtils;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-50-.GameConfigurations;
    import _-3vb.HabboToolbarIconEnum;
    import _-2or._-31I;
    import _-uw.Game2CheckGameDirectoryStatusMessageComposer;
    import _-uw.Game2StartSnowWarMessageComposer;
    import _-uw.Game2QuickJoinGameMessageComposer;
    import _-59g._-1Ey;
    import _-4Aj._-1oF;
    import _-2Mh._-3YS;
    import _-2np._-1ZV;
    import _-2p5._-2ka;
    import _-Fe._-1Vp;
    import _-1zF._-1LB;
    import _-3vb._-1Ix;
    import _-4Q0._-0wP;
    import _-4Q0._-5Bm;
    import flash.system.LoaderContext;
    import _-2ly.PlayerVersionCheck;
    import _-4Q0._-4us;
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import flash.events.SecurityErrorEvent;
    import flash.events.ProgressEvent;
    import flash.system.Capabilities;
    import flash.system.ApplicationDomain;
    import flash.system.SecurityDomain;
    import flash.events.UncaughtErrorEvent;
    import flash.display.Stage;
    import _-3cY._-2Jr;
    import _-2ly._-11j;
    import flash.net.URLVariables;
    import flash.display.DisplayObject;
    import _-p-.Core;
    import flash.display.StageScaleMode;
    import _-cO.SharedEventToGameEnum;
    import _-4Q0._-34z;
    import _-4Q0._-3vQ;
    import _-4Q0._-1z;
    import flash.events.ErrorEvent;
    import _-uw.*;

    public class HabboGameManager extends _-Px implements _-1Z9 
    {

        private static const EMBEDDED:int = 0;
        private static const _-3XT:int = 1;

        private var _-0ud:_-4BJ;
        private var _-U-:_-3Ts;
        private var _-3fD:_-4uR;
        private var _-cU:_-0hg;
        private var _-0pW:_-51K;
        private var _-16k:_-45k;
        private var _-0a7:_-3b;
        private var _-It:_-3nt;
        private var _-3oJ:_-2Jq;
        private var _-0tK:_-5-S;
        private var _-Je:_-0QY;
        private var _-YX:_-1bw;
        private var _-2bJ:_-0Uq;
        private var _-3Mh:SnowWarEngine;
        private var _-YG:IncomingMessages;
        private var _-5A-:SharedMessageHandler;
        private var _-30P:_-vJ;
        private var _-4Qk:Boolean = false;
        private var _-0SG:Boolean = false;
        private var _-3dB:Boolean = false;
        private var _-3E3:GameCenterView;
        private var _-07j:_-4-p;
        private var _-0Ly:Loader;
        private var _-4ay:String;
        private var _-7q:String;
        private var _-2F:String;
        private var _-2xj:int;
        private var _-4GB:String;
        private var _-Rk:int;
        private var _-0Xg:int = -1;
        private var _-4Yx:int = -1;
        private var _-4fN:int = -1;
        private var _-30g:Array;
        private var _-25o:Boolean = false;
        private var _-4-r:int = 0;

        public function HabboGameManager(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboCommunicationManager(), this._-2WR);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDAvatarRenderManager(), this._-1dv);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboLandingView(), this._-yM);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboHelp(), this._-04o);
            queueInterface(new IIDHabboInventory(), this._-3l3);
            queueInterface(new IIDHabboNavigator(), this._-3Q7);
            this._-3Mh = new SnowWarEngine(this, _arg1, 0, _arg3);
            this._-30P = new _-vJ(this, true);
            HabboGamesCom.log(("HabboGameManager initialized: " + _arg3));
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get config():_-4uR
        {
            return (this._-3fD);
        }
        public function get _-5-f():_-3nt
        {
            return (this._-It);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        public function get inventory():_-1bw
        {
            return (this._-YX);
        }
        public function get navigator():_-0Uq
        {
            return (this._-2bJ);
        }
        public function get gameCenterEnabled():Boolean
        {
            return (((this._-4Qk) || (((this._-0SG) && (this.sessionDataManager._-2t1(_-3wh._-46t))))));
        }
        public function get _-1Tf():Boolean
        {
            return (this._-3dB);
        }
        public function set _-1hN(_arg1:Boolean):void
        {
            this._-3dB = _arg1;
        }
        override public function dispose():void
        {
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-0pW != null)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-Je != null)
            {
                this._-Je.release(new IIDHabboHelp());
                this._-Je = null;
            };
            if (this._-0a7)
            {
                if (this._-0a7.events)
                {
                    this._-0a7.events.removeEventListener(_-0Sy._-40N, this._-2J3);
                };
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
            if (this._-It != null)
            {
                this._-It.release(new IIDAvatarRenderManager());
                this._-It = null;
            };
            if (this._-3oJ != null)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-YG)
            {
                this._-YG.dispose();
                this._-YG = null;
            };
            if (this._-07j)
            {
                this._-07j.release(new IIDHabboLandingView());
                this._-07j = null;
            };
            if (this._-0tK)
            {
                this._-0tK.release(new IIDRoomEngine());
                this._-0tK = null;
            };
            if (this._-YX)
            {
                this._-YX.release(new IIDHabboInventory());
                this._-YX = null;
            };
            if (this._-2bJ)
            {
                this._-2bJ.release(new IIDHabboNavigator());
                this._-2bJ = null;
            };
            if (this._-5A-)
            {
                this._-5A-.dispose();
                this._-5A- = null;
            };
            if (this._-30P)
            {
                this._-30P.dispose();
                this._-30P = null;
            };
            this._-4Yx = -1;
            super.dispose();
        }
        private function _-1bB(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-U- = (_arg2 as _-3Ts);
            WindowUtils.init(assets, this._-U-);
        }
        private function _-2WR(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0ud = (_arg2 as _-4BJ);
            this._-YG = new IncomingMessages(this);
        }
        private function _-1d3(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-3fD = (_arg2 as _-4uR);
            this._-4Qk = this._-3fD.getBoolean("game.center.enabled", false);
            this._-0SG = this._-3fD.getBoolean("game.center.enabled.forStaff", false);
        }
        private function _-3V9(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-cU = (_arg2 as _-0hg);
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0pW = (_arg2 as _-51K);
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-16k = (_arg2 as _-45k);
        }
        private function _-1dv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-It = (_arg2 as _-3nt);
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = (_arg2 as _-3b);
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-2J3);
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = (_arg2 as _-2Jq);
        }
        private function _-yM(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-07j = (_arg2 as _-4-p);
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0tK = (_arg2 as _-5-S);
        }
        private function _-04o(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Je = (_arg2 as _-0QY);
        }
        private function _-3l3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-YX = (_arg2 as _-1bw);
        }
        private function _-3Q7(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2bJ = (_arg2 as _-0Uq);
        }
        public function _-1pu(_arg1:int):void
        {
            this._-4-r = _arg1;
        }
        public function _-q4():int
        {
            var k:String = this._-3fD.getKey("game.center.promoted_game");
            var k:int = GameConfigurations.getId(k);
            return (k);
        }
        public function _-P():void
        {
            var k:String = GameConfigurations._-3r4(this._-q4());
            if (((((!((k == null))) && (!(this._-25o)))) && ((this._-4-r == 0))))
            {
                this._-25o = true;
                this._-Je._-2J2(HabboToolbarIconEnum.GAMES, (k.toLowerCase() + ".promotion"), _-31I.LEFT, "GAMES");
            };
        }
        public function initGameDirectoryConnection():void
        {
            this.send(new Game2CheckGameDirectoryStatusMessageComposer());
        }
        public function _-4Hs(_arg1:String):void
        {
            this.initGameDirectoryConnection();
            this.send(new Game2StartSnowWarMessageComposer(_arg1));
        }
        public function _-3da():void
        {
            this.send(new Game2QuickJoinGameMessageComposer());
        }
        public function _-2SE():void
        {
            if (!this._-3Mh._-3yj)
            {
                this._-3Mh._-419();
                this._-0Xg = -1;
                if (this.gameCenterEnabled)
                {
                    this.showGameCenter("showGameCenter.gameEnd");
                }
                else
                {
                    if (((this._-3fD.getBoolean("landing.view.enabled", false)) && (!((this._-07j == null)))))
                    {
                        this._-07j.activate();
                    };
                };
            };
        }
        public function _-1Nh():void
        {
            if (this._-3Mh)
            {
                this._-3Mh._-1Nh();
            };
        }
        public function _-32t(_arg1:_-1Ey):void
        {
            if (this._-3Mh)
            {
                this._-3Mh._-32t(_arg1);
            };
        }
        public function _-34J(_arg1:int, _arg2:Boolean, _arg3:Boolean):void
        {
            if (this._-3Mh)
            {
                this._-3Mh._-34J(_arg1, _arg2, _arg3);
            };
        }
        public function _-3tY(_arg1:int, _arg2:Boolean, _arg3:Boolean):void
        {
            if (this._-3Mh)
            {
                this._-3Mh._-3tY(_arg1, _arg2, _arg3);
            };
        }
        public function send(_arg1:_-1oF):void
        {
            if (this._-0ud)
            {
                this._-0ud._-4gR(null).send(_arg1);
            };
        }
        public function _-4GR(_arg1:String, _arg2:String, _arg3:int=-1):void
        {
            this._-3oJ.openClubBuy(_-3YS._-36p, "HabboGameManager");
            this._-1Bs(_arg1, _arg2);
        }
        public function alert(_arg1:String):void
        {
            if (((this.gameCenterEnabled) && (this._-3E3)))
            {
                this._-3E3._-1GS(_arg1);
            };
        }
        public function _-1Bs(_arg1:String, _arg2:String, _arg3:String="", _arg4:int=0):void
        {
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k)
            {
                this.send(new _-2ka("GameCenter", _arg1, _arg2, _arg3, _arg4));
            };
        }
        private function _-2J3(_arg1:_-0Sy):void
        {
            switch (_arg1._-1wJ)
            {
                case HabboToolbarIconEnum.GAMES:
                    if (this.gameCenterEnabled)
                    {
                        this.showGameCenterByGameName("showGameCenter.toolBarClick", this._-1wZ);
                    }
                    else
                    {
                        this.initGameDirectoryConnection();
                        this.send(new _-1Vp());
                    };
                    return;
                case HabboToolbarIconEnum.RECEPTION:
                    this._-1sK();
                    return;
            };
        }
        private function get _-1wZ():String
        {
            return (this._-3fD.getKey("game.center.default_game", _-3lN._-1os));
        }
        public function showGameCenterByGameName(_arg1:String, _arg2:String):void
        {
            var k:int = GameConfigurations.getId(_arg2);
            if (k > -1)
            {
                this.showGameCenter(_arg1, k);
            }
            else
            {
                k = GameConfigurations.getId(this._-1wZ);
                this.showGameCenter(_arg1, k);
            };
        }
        public function showGameCenter(_arg1:String, _arg2:int=0):void
        {
            this._-0LW();
            if (!this._-3E3)
            {
                this._-3E3 = new GameCenterView(this);
            };
            if (((this._-16k) && (this._-16k.getSession(-1, -1))))
            {
                this._-16k._-50S(-1, -1, false);
                this.send(new _-1LB());
            };
            this._-0a7._-4pw(_-1Ix._-0l3);
            this._-3E3.initialize(_arg2);
            this._-1Bs(GameConfigurations._-3r4(_arg2), _arg1);
            if (this._-2bJ)
            {
                this._-2bJ._-rv();
            };
        }
        private function _-0LW():void
        {
            GameConfigurations._-Lj = false;
            this.send(new _-0wP());
            this.send(new _-5Bm());
        }
        public function _-1sK():void
        {
            if (this._-3E3)
            {
                this._-3E3.disable();
            };
        }
        public function loadGameClient(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:int, _arg7:int, _arg8:int, _arg9:Object):void
        {
            var k:LoaderContext;
            if (!PlayerVersionCheck._-39C(_arg7, _arg8))
            {
                this._-1Bs(GameConfigurations._-3r4(_arg1), "versionCheckFailed");
                this.send(new _-4us(_arg1));
                this._-cU.registerParameter("gamecenter.flash_version_required", "version", ((_arg7 + ".") + _arg8));
                this.alert("${gamecenter.flash_version_required}");
                return;
            };
            var k:Loader = new Loader();
            var k:URLRequest = new URLRequest(_arg3);
            k.addEventListener(MouseEvent.CLICK, this._-2rn);
            k.addEventListener(MouseEvent.DOUBLE_CLICK, this._-2rn);
            k.addEventListener(MouseEvent.MOUSE_UP, this._-2rn);
            k.addEventListener(MouseEvent.MOUSE_DOWN, this._-2rn);
            k.addEventListener(MouseEvent.MOUSE_OVER, this._-2rn);
            k.addEventListener(MouseEvent.MOUSE_OUT, this._-2rn);
            k.addEventListener(MouseEvent.MOUSE_MOVE, this._-2rn);
            k.addEventListener(MouseEvent.MOUSE_WHEEL, this._-2rn);
            k.addEventListener(MouseEvent.ROLL_OVER, this._-2rn);
            k.addEventListener(MouseEvent.ROLL_OUT, this._-2rn);
            k.contentLoaderInfo.addEventListener(Event.COMPLETE, this._-lH);
            k.contentLoaderInfo.addEventListener(Event.INIT, this._-2dC);
            k.contentLoaderInfo.addEventListener(Event.UNLOAD, this._-0u3);
            k.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this._-3OX);
            k.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-2e6);
            k.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, this._-1pl);
            if (k.contentLoaderInfo.hasOwnProperty("uncaughtErrorEvents"))
            {
                k.contentLoaderInfo["uncaughtErrorEvents"].addEventListener("uncaughtError", this._-2G, true, int.MAX_VALUE);
                k.contentLoaderInfo["uncaughtErrorEvents"].addEventListener("uncaughtError", this._-2G, false, int.MAX_VALUE);
            };
            this._-0Ly = k;
            this._-4ay = _arg2;
            if (this._-5A-)
            {
                this._-5A-.dispose();
            };
            this._-5A- = new SharedMessageHandler(this, k.contentLoaderInfo.sharedEvents);
            this._-7q = _arg4;
            this._-2F = _arg5;
            this._-2xj = _arg6;
            if (Capabilities.playerType == "StandAlone")
            {
                k = new LoaderContext(false, new ApplicationDomain());
            }
            else
            {
                k = new LoaderContext(false, new ApplicationDomain(), SecurityDomain.currentDomain);
            };
            k.data = this._-4Y1(_arg9);
            if (PlayerVersionCheck._-39C(10, 2))
            {
                k.data = null;
                k.parameters = _arg9;
            };
            k.load(k, k);
            k.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, this._-2G, true, int.MAX_VALUE);
            k.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, this._-2G, false, int.MAX_VALUE);
            var k:Stage = context.displayObjectContainer.stage;
            this._-4GB = k.quality;
            this._-Rk = k.frameRate;
            this._-4Yx = _arg1;
            this._-4fN = EMBEDDED;
            this._-1Bs(GameConfigurations._-3r4(_arg1), "loadGameClient");
            this.inventory._-20u._-0H4(_-2Jr.GAMES, [_arg1]);
            if (this._-3E3)
            {
                this._-3E3._-0vS(_arg1);
            };
        }
        public function _-1Pe(_arg1:int, _arg2:String, _arg3:String):void
        {
            _-11j.showGame(_arg3);
            this._-4Yx = _arg1;
            this._-4fN = _-3XT;
            this._-4ay = _arg2;
            this._-1Bs(GameConfigurations._-3r4(_arg1), "loadGameClient");
            this.inventory._-20u._-0H4(_-2Jr.GAMES, [_arg1]);
            if (this._-3E3)
            {
                this._-3E3._-0vS(_arg1);
            };
        }
        private function _-4Y1(_arg1:Object):URLVariables
        {
            var k:String;
            var k:URLVariables = new URLVariables();
            for (k in _arg1)
            {
                k[k] = _arg1[k];
            };
            return (k);
        }
        private function _-2dC(_arg1:Event):void
        {
            var k:DisplayObject;
            var k:Stage = context.displayObjectContainer.stage;
            k.quality = this._-7q;
            k.frameRate = this._-2xj;
            this._-30g = new Array();
            var k:int = (k.numChildren - 1);
            while (k >= 0)
            {
                k = k.getChildAt(k);
                this._-30g.push(k);
                k.removeChildAt(k);
                k--;
            };
            this._-30g.reverse();
            k.addEventListener(Event.RESIZE, this._-2tV);
            k.addChild(this._-0Ly);
            Core._-1ey._-1Cp(0);
            this._-2tV();
        }
        private function _-lH(_arg1:Event):void
        {
            HabboGamesCom.log("[HabboGameManager] external game client complete");
            this._-2tV();
            this._-ii();
        }
        public function _-ii():void
        {
            this._-1Bs(GameConfigurations._-3r4(this._-4Yx), "gameClientLoaded");
        }
        private function _-2tV(_arg1:Event=null):void
        {
            var k:Stage;
            var _local3:Number;
            var _local4:Number;
            if (disposed)
            {
                return;
            };
            k = context.displayObjectContainer.stage;
            if (this._-0Ly)
            {
                switch (this._-2F)
                {
                    case StageScaleMode.SHOW_ALL:
                        _local3 = (this._-0Ly.width / this._-0Ly.height);
                        _local4 = (k.stageWidth / k.stageHeight);
                        if (_local3 > _local4)
                        {
                            this._-0Ly.width = k.stageWidth;
                            this._-0Ly.scaleY = this._-0Ly.scaleX;
                        }
                        else
                        {
                            this._-0Ly.height = k.stageHeight;
                            this._-0Ly.scaleX = this._-0Ly.scaleY;
                        };
                        this._-0Ly.x = ((k.stageWidth - this._-0Ly.width) / 2);
                        this._-0Ly.y = ((k.stageHeight - this._-0Ly.height) / 2);
                        break;
                    case StageScaleMode.NO_SCALE:
                        this._-0Ly.width = k.stageWidth;
                        this._-0Ly.height = k.stageHeight;
                        this._-0Ly.scaleX = 1;
                        this._-0Ly.scaleY = 1;
                        this._-0Ly.x = 0;
                        this._-0Ly.y = 0;
                        break;
                };
                if (((this._-5A-) && ((this._-5A-._-4P4 > -1))))
                {
                    this._-5A-.send(this._-5A-._-4P4, SharedEventToGameEnum._-4Zg, new Array(k.stageWidth, k.stageHeight));
                };
            };
        }
        private function _-3OX(_arg1:IOErrorEvent):void
        {
            HabboGamesCom.log("[HabboGameManager] external game client IO error");
            context.error(("IOError while loading game client for " + this._-4Yx), false);
            this._-582(this._-4Yx, this._-4ay, "loadGameClientError");
        }
        private function _-2e6(_arg1:SecurityErrorEvent):void
        {
            HabboGamesCom.log("[HabboGameManager] external game client security error");
            context.error(("SecurityError while loading game client for " + this._-4Yx), false);
            this._-582(this._-4Yx, this._-4ay, "loadGameClientError");
        }
        private function _-1pl(_arg1:ProgressEvent):void
        {
            HabboGamesCom.log(((("[HabboGameManager] external game client progress " + _arg1.bytesLoaded) + "/") + _arg1.bytesTotal));
        }
        private function _-2rn(_arg1:Event):void
        {
            _arg1.stopImmediatePropagation();
        }
        public function joinPlayerQueue(_arg1:int):void
        {
            this._-0-5();
            if (_arg1 == _-3lN._-40G)
            {
                this._-3da();
            }
            else
            {
                this.send(new _-34z(_arg1));
                if (this._-3E3)
                {
                    this._-3E3._-07T(_arg1);
                };
            };
            this._-0Xg = _arg1;
            this._-1Bs(GameConfigurations._-3r4(_arg1), "joinPlayerQueue");
        }
        private function _-0-5():void
        {
            if (this._-0Xg == _-3lN._-40G)
            {
                this._-3Mh._-4Sn.close(true);
            }
            else
            {
                if (this._-0Xg != -1)
                {
                    this._-43D(this._-0Xg);
                };
            };
        }
        public function _-43D(_arg1:int):void
        {
            this.send(new _-3vQ(_arg1));
            this._-0Xg = -1;
        }
        public function acceptGameInvite(_arg1:int, _arg2:int):void
        {
            this._-0-5();
            this.send(new _-1z(_arg1, _arg2));
            this._-0Xg = _arg1;
            this._-1Bs(GameConfigurations._-3r4(_arg1), "joinPlayerQueue", "", _arg2);
            if (this._-3E3)
            {
                this._-3E3._-07T(_arg1);
            };
        }
        public function _-0u3(_arg1:Event):void
        {
            HabboGamesCom.log("[HabboGameManager] external game client unloaded");
        }
        public function _-582(_arg1:int, _arg2:String, _arg3:String):void
        {
            this._-0Xg = -1;
            if (this._-3E3)
            {
                this._-3E3._-0vS(_arg1);
            };
            if ((((this._-4Yx > -1)) && ((this._-4ay == _arg2))))
            {
                this._-1Bs(GameConfigurations._-3r4(this._-4Yx), _arg3);
                this._-4Yx = -1;
                Core._-1ey._-1f4();
                switch (this._-4fN)
                {
                    case EMBEDDED:
                        this.unloadGameClient();
                        break;
                    case _-3XT:
                        this._-19C();
                        break;
                };
                if (this._-3E3)
                {
                    this._-3E3.activate(_arg1);
                    this._-1Bs(GameConfigurations._-3r4(_arg1), "showGameCenter.gameEnd");
                };
                this.send(new _-4us(_arg1));
            };
        }
        public function _-1xc():void
        {
            if (this._-4Yx > -1)
            {
                this._-582(this._-4Yx, this._-4ay, "unloadGameClient");
            };
        }
        private function unloadGameClient():void
        {
            var k:DisplayObject;
            var k:Stage = context.displayObjectContainer.stage;
            k.removeEventListener(Event.RESIZE, this._-2tV);
            if (this._-0Ly)
            {
                if (k.contains(this._-0Ly))
                {
                    k.removeChild(this._-0Ly);
                };
                if (this._-0Ly.contentLoaderInfo.hasOwnProperty("uncaughtErrorEvents"))
                {
                    this._-0Ly.contentLoaderInfo["uncaughtErrorEvents"].removeEventListener("uncaughtError", this._-2G, true);
                    this._-0Ly.contentLoaderInfo["uncaughtErrorEvents"].removeEventListener("uncaughtError", this._-2G, false);
                };
                this._-0Ly.removeEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, this._-2G, true);
                this._-0Ly.removeEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, this._-2G, false);
                this._-0Ly.unloadAndStop();
                this._-0Ly = null;
            };
            for each (k in this._-30g)
            {
                k.addChild(k);
            };
            this._-30g = null;
            k.quality = this._-4GB;
            k.frameRate = this._-Rk;
        }
        private function _-19C():void
        {
            _-11j.hideGame();
        }
        public function _-3RB(_arg1:int):String
        {
            return (GameConfigurations._-3r4(_arg1));
        }
        public function getGameId(_arg1:String):int
        {
            return (GameConfigurations.getId(_arg1));
        }
        public function getGameAssetURL(_arg1:int, _arg2:String):String
        {
            return (GameConfigurations._-3DD(_arg1, _arg2));
        }
        private function _-2G(_arg1:UncaughtErrorEvent):void
        {
            var k:Error;
            var k:ErrorEvent;
            HabboGamesCom.log(((("[HabboGameManager] external game client crashed, eventType:" + _arg1.type) + " errorID:") + _arg1.errorID));
            if ((_arg1.error is Error))
            {
                k = (_arg1.error as Error);
                context.error(k.message, false, k.errorID, k);
            }
            else
            {
                if ((_arg1.error is ErrorEvent))
                {
                    k = (_arg1.error as ErrorEvent);
                    context.error(k.type, false, k.errorID, null);
                }
                else
                {
                    context.error(_arg1.type, false, _arg1.errorID, null);
                };
            };
            this._-582(this._-4Yx, this._-4ay, "gameClientCrash");
            _arg1.stopImmediatePropagation();
        }
        public function _-1Dj():void
        {
            this._-3Mh._-3yI();
        }
        public function _-3P8():Boolean
        {
            return (this._-3Mh._-As());
        }

    }
}//package _-0GO

//------------------------------------------------------------
//_-0GO.IncomingMessages

package _-0GO
{
    import _-3gx._-4BJ;
    import _-4at._-A6;
    import _-4at._-b0;
    import _-4at._-3ci;
    import _-4at._-M9;
    import _-4at._-59w;
    import _-4at._-R8;
    import _-1HK._-4Pw;
    import _-4s1.Game2AccountGameStatusMessageEvent;
    import _-4zR._-1b-;
    import _-4zR._-33r;
    import _-4zR._-2y9;
    import _-4at._-4rg;
    import _-4at._-ZG;
    import _-1yU._-1yf;
    import _-1yU._-23X;
    import _-1yU.LoadGameMessageParser;
    import _-1yU._-2wC;
    import _-1yU._-1ZT;
    import _-1yU._-5-r;
    import _-36E.Game2AccountGameStatusMessageParser;
    import _-uw.Game2GetAccountGameStatusMessageComposer;
    import _-4Q0._-0wP;
    import _-4Q0._-5Bm;
    import _-4Aj._-0tL;
    import _-1yU._-268;
    import _-1yU.GameListMessageParser;
    import _-50-.GameConfigurations;
    import _-50-._-1WG;
    import _-1yU._-3cQ;
    import _-1yU.GameAchievementsMessageParser;
    import _-1B-.*;

    public class IncomingMessages implements _-1zZ 
    {

        private var _-4oB:HabboGameManager;
        private var _-4Bk:Boolean = false;

        public function IncomingMessages(_arg1:HabboGameManager)
        {
            this._-4oB = _arg1;
            var k:_-4BJ = this._-4oB.communication;
            k.addHabboConnectionMessageEvent(new _-A6(this._-4gQ));
            k.addHabboConnectionMessageEvent(new _-b0(this._-5Aj));
            k.addHabboConnectionMessageEvent(new _-3ci(this._-2RI));
            k.addHabboConnectionMessageEvent(new _-M9(this._-CA));
            k.addHabboConnectionMessageEvent(new _-59w(this._-Z5));
            k.addHabboConnectionMessageEvent(new _-R8(this._-2dS));
            k.addHabboConnectionMessageEvent(new _-4Pw(this._-4dy));
            k.addHabboConnectionMessageEvent(new Game2AccountGameStatusMessageEvent(this._-2Lo));
            k.addHabboConnectionMessageEvent(new _-1b-(this._-2c5));
            k.addHabboConnectionMessageEvent(new _-33r(this._-2c5));
            k.addHabboConnectionMessageEvent(new _-2y9(this._-2c5));
            k.addHabboConnectionMessageEvent(new _-4rg(this._-46B));
            k.addHabboConnectionMessageEvent(new _-ZG(this._-0rT));
        }
        public function dispose():void
        {
            this._-4oB = null;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        private function _-4gQ(_arg1:_-A6):void
        {
            var k:_-1yf = _arg1._-3-5();
            HabboGamesCom.log(("[BaseJump] joined queue for game " + k._-3tJ));
        }
        private function _-5Aj(_arg1:_-b0):void
        {
            var k:_-23X = _arg1._-3-5();
            HabboGamesCom.log(("[BaseJump] left queue for game " + k._-3tJ));
        }
        private function _-2RI(_arg1:_-3ci):void
        {
            var k:LoadGameMessageParser = _arg1._-3-5();
            HabboGamesCom.log(((("[BaseJump] load game " + k._-3tJ) + " url:") + k.url));
            this._-4oB.loadGameClient(k._-3tJ, k._-2L9, k.url, k.quality, k.scaleMode, k.frameRate, k._-2lX, k._-0qA, k.params);
        }
        private function _-CA(_arg1:_-M9):void
        {
            var k:_-2wC = _arg1._-3-5();
            HabboGamesCom.log(((("[BaseJump] load game url " + k._-3tJ) + " url:") + k.url));
            this._-4oB._-1Pe(k._-3tJ, k._-2L9, k.url);
        }
        private function _-Z5(_arg1:_-59w):void
        {
            var k:_-1ZT = _arg1._-3-5();
            HabboGamesCom.log(("[BaseJump] unload game " + k._-3tJ));
            this._-4oB._-582(k._-3tJ, k._-2L9, "unloadGameClient");
        }
        private function _-2dS(_arg1:_-R8):void
        {
            var k:_-5-r = _arg1._-3-5();
            var k:String = "snowwar.error.generic";
            switch (k.reason)
            {
                case _-5-r._-1uU:
                    k = "snowwar.error.duplicate_machineid";
                    break;
            };
            this._-4oB.alert((("${" + k) + "}"));
        }
        private function _-2Lo(_arg1:Game2AccountGameStatusMessageEvent):void
        {
            var k:Game2AccountGameStatusMessageParser = _arg1._-3-5();
            if (k._-3tJ == this._-4oB._-q4())
            {
                this._-4oB._-1pu(k._-5Ba);
                this._-4oB._-P();
            };
        }
        private function _-4dy(_arg1:_-4Pw):void
        {
            var k:int = this._-4oB._-q4();
            if (k != -1)
            {
                this._-4oB.send(new Game2GetAccountGameStatusMessageComposer(k));
            };
            this._-4oB.send(new _-0wP());
            this._-4oB.send(new _-5Bm());
        }
        private function _-2c5(_arg1:_-0tL):void
        {
            this._-4oB._-1hN = true;
        }
        private function _-46B(_arg1:_-4rg):void
        {
            var k:_-268;
            var k:GameListMessageParser = (_arg1.parser as GameListMessageParser);
            GameConfigurations._-3vv();
            for each (k in k.games)
            {
                GameConfigurations._-4Wk(new _-1WG(k._-4IC, k._-4HT, k.bgColor, k.textColor, k._-2BT));
            };
            GameConfigurations._-4Ox(this._-4oB.events);
        }
        private function _-0rT(_arg1:_-ZG):void
        {
            var k:_-3cQ;
            var k:int;
            var k:String;
            var k:GameAchievementsMessageParser = (_arg1.parser as GameAchievementsMessageParser);
            GameConfigurations._-3Y3();
            for each (k in k.achievements)
            {
                k = 1;
                while (k <= k._-0Ko)
                {
                    k = (("ACH_" + k._-4bF) + k);
                    GameConfigurations._-bb(k._-3tJ, k);
                    k++;
                };
            };
            GameConfigurations._-1KL(this._-4oB.events);
        }

    }
}//package _-0GO

//------------------------------------------------------------
//_-0hd._-073

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-073 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-073(_arg1:int=0)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-08I

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-08I implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-08I(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0dv

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0dv implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0dv(_arg1:String, _arg2:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0K4

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0K4 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0K4(_arg1:String, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0kp

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0kp implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0kp(_arg1:String, _arg2:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0Li

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0Li implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0Li(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0oV

package _-0hd
{
    import _-4Aj.*;

    public class _-0oV implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0tQ

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0tQ implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0tQ(_arg1:int, _arg2:Boolean)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0w7

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0w7 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0w7(_arg1:int, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0xK

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0xK implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0xK(_arg1:int, _arg2:String, _arg3:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-0yx

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0yx implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0yx(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-1H5

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1H5 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1H5(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-1kB

package _-0hd
{
    import _-4Aj.*;

    public class _-1kB implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-1P1

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1P1 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1P1()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-1YG

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1YG implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1YG(_arg1:int, _arg2:String, _arg3:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-20a

package _-0hd
{
    import _-4Aj.*;

    public class _-20a implements _-1oF 
    {

        private var _-4Nw:Array;

        public function _-20a(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-2b

package _-0hd
{
    import _-4Aj.*;

    public class _-2b implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-2gm

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2gm implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2gm()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-2mP

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2mP implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2mP(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-2rD

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2rD implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2rD(_arg1:int, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-2Xu

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2Xu implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2Xu()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-39o

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-39o implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-39o(_arg1:int, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4);
        }
        public function _-5BN(_arg1:int, _arg2:int):void
        {
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-3gJ

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3gJ implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3gJ(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-3Jl

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3Jl implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3Jl()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-3uv

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3uv implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3uv(_arg1:int, _arg2:Boolean, _arg3:Boolean)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(((_arg2) ? 1 : 0));
            this._-4Nw.push(((_arg3) ? 1 : 0));
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-3xP

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3xP implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3xP()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-41A

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-41A implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-41A()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-4BS

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4BS implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-4BS()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-4t1

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4t1 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-4t1(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-4Xz

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4Xz implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-4Xz(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-jP

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-jP implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-jP(_arg1:int, _arg2:String, _arg3:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-Ki

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-Ki implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-Ki(_arg1:String, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-Ko

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-Ko implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-Ko(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0hd._-yb

package _-0hd
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-yb implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-yb(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0hd

//------------------------------------------------------------
//_-0Hq.Game2FullGameStatusMessageParser

package _-0Hq
{
    import _-1Fi._-2ZQ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2FullGameStatusMessageParser implements _-58N 
    {

        private var _-0O9:_-2ZQ;

        public function get _-J-():_-2ZQ
        {
            return (this._-0O9);
        }
        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0O9 = new _-2ZQ(_arg1);
            return (true);
        }

    }
}//package _-0Hq

//------------------------------------------------------------
//_-0Hq.Game2GameStatusMessageParser

package _-0Hq
{
    import _-1Fi._-3Sn;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameStatusMessageParser implements _-58N 
    {

        private var _-8R:_-3Sn;

        public function get status():_-3Sn
        {
            return (this._-8R);
        }
        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-8R = new _-3Sn(_arg1);
            return (true);
        }

    }
}//package _-0Hq

//------------------------------------------------------------
//_-0HQ._-0Gw

package _-0HQ
{
    import _-3CK._-4eG;
    import _-0mD.HabboCatalog;
    import _-Ew.IWindowContainer;
    import _-0Ai._-2G7;
    import _-3CK._-2Hp;
    import _-0Ie.WindowMouseEvent;
    import _-30J._-56l;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-0Gw extends _-4eG 
    {

        private var _-3oJ:HabboCatalog;
        private var _-0xv:IWindowContainer;
        private var _-0dg:_-2G7;

        public function _-0Gw(_arg1:_-2G7, _arg2:int, _arg3:_-2Hp, _arg4:HabboCatalog)
        {
            super(_arg1, _arg2, _arg3, _-4eG.ALIGN_OVERLAY, true);
            this._-3oJ = _arg4;
            this._-0dg = _arg1;
        }
        override public function getRenderedWindow():IWindowContainer
        {
            if (this._-0xv == null)
            {
                this.createWindow();
            };
            return (this._-0xv);
        }
        private function createWindow():void
        {
            this._-0xv = IWindowContainer(this._-3oJ.utils.createWindow("bundlesInfoItem"));
            this._-0xv.procedure = this._-rA;
        }
        private function _-rA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-0dg.events.dispatchEvent(new _-56l(_-56l._-Tg, data, id));
            };
        }

    }
}//package _-0HQ

//------------------------------------------------------------
//_-0HQ._-1OX

package _-0HQ
{
    import _-3CK._-4eG;
    import _-3CK._-2Hp;
    import _-Ew.IWindowContainer;

    public class _-1OX extends _-4eG 
    {

        public function _-1OX(_arg1:int, _arg2:_-2Hp)
        {
            super(null, _arg1, _arg2, _-4eG.ALIGN_TOP);
        }
        override public function getRenderedWindow():IWindowContainer
        {
            return (null);
        }

    }
}//package _-0HQ

//------------------------------------------------------------
//_-0HQ._-3kY

package _-0HQ
{
    import _-3CK._-JN;
    import _-Ew.IWindowContainer;
    import _-0mD.HabboCatalog;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-3CK._-2Hp;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-0mD.HabboCatalogUtils;
    import _-Ew.IWindow;
    import _-2JX._-1sv;
    import _-295._-2kE;
    import _-295.BitmapDataAsset;

    public class _-3kY extends _-JN 
    {

        private static const _-31k:String = "icon_splash_bitmap";
        private static const _-30:String = "icon_bitmap";
        private static const _-0yF:String = "total_currency_value_left";
        private static const _-21R:String = "total_currency_icon_left";
        private static const _-0Qk:String = "striketrough_total_currency_left";
        private static const _-3rX:String = "total_currency_value_right";
        private static const _-cm:String = "total_currency_icon_right";
        private static const _-062:String = "striketrough_total_currency_right";
        private static const _-2Zr:String = "discount_currency_value_left";
        private static const _-2DI:String = "discount_currency_icon_left";
        private static const _-0Tm:String = "discount_currency_value_right";
        private static const _-0Yy:String = "discount_currency_icon_right";
        private static const _-15H:int = 4;
        private static const _-0Ae:int = (16 + _-15H);//20

        private var _-0xv:IWindowContainer = null;
        private var _-0WX:Boolean = true;
        private var _-3oJ:HabboCatalog;
        private var _-1g2:int = 0;
        private var _-0rd:Timer;
        private var _-IH:Boolean;
        private var _-58t:Boolean;
        private var _-1yY:Boolean;
        private var _-2kg:Boolean = false;

        public function _-3kY(_arg1:int, _arg2:_-2Hp, _arg3:HabboCatalog)
        {
            super(null, _arg1, _arg2, _-1L2, true);
            this._-3oJ = _arg3;
            this._-0rd = new Timer(150);
            this._-0rd.addEventListener(TimerEvent.TIMER, this._-0hV);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-0rd != null)
                {
                    this._-0rd.stop();
                    this._-0rd = null;
                };
                this._-3oJ = null;
                super.dispose();
            };
        }
        override public function update(_arg1:_-2Hp):void
        {
            super.update(_arg1);
            this._-IH = false;
            this._-58t = false;
            this._-1yY = false;
            if ((((_arg1.priceCredits > 0)) && ((_arg1.priceActivityPoints > 0))))
            {
                this._-IH = true;
            }
            else
            {
                if ((((_arg1.priceActivityPoints > 0)) && ((_arg1.priceCredits == 0))))
                {
                    this._-1yY = true;
                }
                else
                {
                    this._-58t = true;
                };
            };
            this._-0WX = true;
            this.render();
            if (!this._-2kg)
            {
                this._-14c();
            };
        }
        override public function getRenderedWindow():IWindowContainer
        {
            if (this._-0WX)
            {
                this.render();
            };
            return (this._-0xv);
        }
        private function createWindow():void
        {
            this._-0xv = IWindowContainer(this._-3oJ.utils.createWindow("discountValueItem"));
            this._-1Zt(_-30, "thumb_up");
            this._-17d();
        }
        private function render():void
        {
            if (this._-0xv == null)
            {
                this.createWindow();
            };
            this._-3Xa();
            this._-3dC();
            this._-0N1();
            this._-0WX = false;
        }
        private function _-3Xa():void
        {
            if (((this._-1yY) || (this._-58t)))
            {
                this._-rI(false);
            }
            else
            {
                this._-rI(true);
            };
        }
        private function _-14c():void
        {
            if (this._-IH)
            {
                this._-4w8(_-21R, -1);
                this._-4w8(_-2DI, -1);
            };
            if (this._-58t)
            {
                this._-4w8(_-cm, -1);
                this._-4w8(_-0Yy, -1);
            }
            else
            {
                this._-4w8(_-cm, data.activityPointType);
                this._-4w8(_-0Yy, data.activityPointType);
            };
            this._-2kg = true;
        }
        private function _-3dC():void
        {
            if (this._-IH)
            {
                this._-4IT(_-0yF, (data.quantity * data.priceCredits).toString());
                this._-4IT(_-2Zr, ((data.quantity * data.priceCredits) - data.discountPriceCredits).toString());
            };
            if (this._-58t)
            {
                this._-4IT(_-3rX, (data.quantity * data.priceCredits).toString());
                this._-4IT(_-0Tm, ((data.quantity * data.priceCredits) - data.discountPriceCredits).toString());
            }
            else
            {
                this._-4IT(_-3rX, (data.quantity * data.priceActivityPoints).toString());
                this._-4IT(_-0Tm, ((data.quantity * data.priceActivityPoints) - data.discountPriceActivityPoints).toString());
            };
        }
        private function _-0N1():void
        {
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName(_-0yF));
            var k:int = ((k.x + k.width) - k.textWidth);
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName(_-0Qk));
            k.x = (k - _-15H);
            k.width = ((_-15H + k.textWidth) + _-0Ae);
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName(_-3rX));
            var k:int = ((k.x + k.width) - k.textWidth);
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName(_-062));
            k.x = (k - _-15H);
            k.width = ((_-15H + k.textWidth) + _-0Ae);
        }
        private function _-4IT(_arg1:String, _arg2:String):void
        {
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName(_arg1));
            k.text = _arg2;
        }
        private function _-1Zt(_arg1:String, _arg2:String):void
        {
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0xv.findChildByName(_arg1));
            var k:BitmapData = BitmapData(this._-3oJ.assets.getAssetByName(_arg2).content);
            HabboCatalogUtils._-4Hh(k, k);
        }
        private function _-4w8(_arg1:String, _arg2:int):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            k.style = _-1sv._-45C(_arg2, this._-3oJ.configuration, false);
        }
        private function _-rI(_arg1:Boolean):void
        {
            var k:String;
            var k:Array = [_-2DI, _-2Zr, _-21R, _-0Qk, _-0yF];
            for each (k in k)
            {
                this._-0xv.findChildByName(k).visible = _arg1;
            };
        }
        private function _-17d():void
        {
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0xv.findChildByName(_-31k));
            k.bitmap = new BitmapData(k.width, k.height, true, 0);
            this._-0hV(new TimerEvent(TimerEvent.TIMER));
            this._-0rd.start();
        }
        private function _-0hV(_arg1:TimerEvent):void
        {
            var k:IBitmapWrapperWindow;
            var k:_-2kE;
            if (this._-0xv != null)
            {
                k = IBitmapWrapperWindow(this._-0xv.findChildByName(_-31k));
                k = this._-3oJ.assets.getAssetByName(("bundle_discount_star_" + this._-1g2));
                HabboCatalogUtils._-4Hh(k, BitmapData(k.content), BitmapDataAsset(k).rectangle);
                if (++this._-1g2 > 7)
                {
                    this._-1g2 = 0;
                };
            };
        }

    }
}//package _-0HQ

//------------------------------------------------------------
//_-0HQ._-3O9

package _-0HQ
{
    import _-3CK._-4eG;
    import _-0mD.HabboCatalog;
    import _-3CK._-2Hp;
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-293.*;

    public class _-3O9 extends _-4eG implements dynamic 
    {

        private var _-3oJ:HabboCatalog;

        public function _-3O9(_arg1:int, _arg2:_-2Hp, _arg3:HabboCatalog)
        {
            super(null, _arg1, _arg2, _-4eG.ALIGN_TOP);
            this._-3oJ = _arg3;
        }
        override public function getRenderedWindow():IWindowContainer
        {
            return (null);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
        }

    }
}//package _-0HQ

//------------------------------------------------------------
//_-0HQ.ExtraInfoPromoItem

package _-0HQ
{
    import _-3CK._-JN;
    import _-Ew.IWindowContainer;
    import _-0mD.HabboCatalog;
    import _-18r.Map;
    import _-0Ai._-2G7;
    import flash.utils.Timer;
    import _-3CK._-4eG;
    import flash.events.TimerEvent;
    import _-3CK._-2Hp;
    import _-1ae.IBitmapWrapperWindow;
    import _-0mD.HabboCatalogUtils;
    import flash.display.BitmapData;
    import _-1ae.ITextWindow;
    import _-30J._-56l;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class ExtraInfoPromoItem extends _-JN 
    {

        private static const _-3Nf:String = "catalog.bundlewidget.discount.promo";

        private var _-0xv:IWindowContainer = null;
        private var _-0WX:Boolean = true;
        private var _-3oJ:HabboCatalog;
        private var _-MO:Map;
        private var _-08F:int = 0;
        private var _-0dg:_-2G7;
        private var _-4S3:Number = 0;
        private var _-0Rr:Timer;

        public function ExtraInfoPromoItem(_arg1:_-2G7, _arg2:int, _arg3:_-2Hp, _arg4:HabboCatalog)
        {
            super(null, _arg2, _arg3, _-4eG.ALIGN_TOP);
            this._-0dg = _arg1;
            this._-3oJ = _arg4;
            this._-4MY();
            this._-37X();
            this._-0Rr = new Timer(50);
            this._-0Rr.addEventListener(TimerEvent.TIMER, this._-55t);
            this._-0Rr.start();
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this._-0Rr.stop();
                this._-0Rr.removeEventListener(TimerEvent.TIMER, this._-55t);
                this._-0Rr = null;
                this._-MO = null;
                this._-3oJ = null;
                super.dispose();
            };
        }
        override public function update(_arg1:_-2Hp):void
        {
            super.update(_arg1);
            var k:int = this._-08F;
            this._-37X();
            if (this._-08F != k)
            {
                this._-4S3 = 1;
            };
            this._-0WX = true;
            this.render();
        }
        override public function getRenderedWindow():IWindowContainer
        {
            if (this._-0xv == null)
            {
                this.createWindow();
            };
            if (this._-0WX)
            {
                this.render();
            };
            return (this._-0xv);
        }
        private function createWindow():void
        {
            this._-0xv = IWindowContainer(this._-3oJ.utils.createWindow("discountPromoItem"));
            this._-0xv.procedure = this._-rA;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0xv.findChildByName("icon_bitmap"));
            HabboCatalogUtils._-4Hh(k, BitmapData(this._-3oJ.assets.getAssetByName("thumb_up").content).clone());
        }
        private function render():void
        {
            this._-3oJ.localization.registerParameter(_-3Nf, "quantity", this._-08F.toString());
            this._-3oJ.localization.registerParameter(_-3Nf, "discount", this._-MO.getValue(this._-08F));
            var k:String = this._-3oJ.localization.getLocalization(_-3Nf).value;
            ITextWindow(this._-0xv.findChildByName("promo_text")).text = k;
            ITextWindow(this._-0xv.findChildByName("promo_text_effect")).text = k;
            this._-0WX = false;
        }
        private function _-37X():void
        {
            var k:Array = this._-MO._-18C();
            var k:int;
            while (k < k.length)
            {
                if (int(k[k]) > data.quantity)
                {
                    this._-08F = int(k[k]);
                    return;
                };
                k++;
            };
        }
        private function _-4MY():void
        {
            var k:int;
            var k:int;
            this._-MO = new Map();
            var k:int = 1;
            var k:int;
            while (k <= 100)
            {
                k = this._-3oJ.utils._-1Tv(true, 1, k);
                k = (k - k);
                if ((((k > k)) && ((this._-3oJ.utils._-4DJ.indexOf(k) == -1))))
                {
                    this._-MO.add(k, k);
                };
                k++;
            };
        }
        private function _-55t(_arg1:TimerEvent):void
        {
            if (this._-4S3 > 0)
            {
                this._-4S3 = (this._-4S3 - 0.1);
                if (this._-4S3 < 0)
                {
                    this._-4S3 = 0;
                };
                this._-0xv.findChildByName("promo_text_effect").blend = this._-4S3;
            };
        }
        private function _-rA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg2.name == "click_region")
            {
                switch (_arg1.type)
                {
                    case WindowMouseEvent._-90:
                        this._-0dg.events.dispatchEvent(new _-56l(_-56l._-Tg, data, id));
                        return;
                    case WindowMouseEvent._-4ea:
                        ITextWindow(this._-0xv.findChildByName("promo_text")).textColor = 12582911;
                        return;
                    case WindowMouseEvent._-4e2:
                        ITextWindow(this._-0xv.findChildByName("promo_text")).textColor = 0xFFFFFF;
                        return;
                };
            };
        }

    }
}//package _-0HQ

//------------------------------------------------------------
//_-0IA._-2oU

package _-0IA
{
    public class _-2oU 
    {

        private var _location:Vector3D;
        private var _-4ru:Vector3D;
        private var _-0kP:Boolean = false;

        public function _-2oU(_arg1:Number, _arg2:Number, _arg3:Number)
        {
            this._-4ru = new Vector3D();
            super();
            this._location = new Vector3D(_arg1, _arg2, _arg3);
            if (((((!((_arg1 == 0))) || (!((_arg2 == 0))))) || (!((_arg3 == 0)))))
            {
                this._-0kP = true;
            };
        }
        public function get location():Vector3D
        {
            return (this._location);
        }
        public function get _-1ex():Vector3D
        {
            return (this._-4ru);
        }
        public function _-0fm(_arg1:Matrix4x4):void
        {
            if (this._-0kP)
            {
                this._-4ru = _arg1._-4i-(this._location);
            };
        }

    }
}//package _-0IA

//------------------------------------------------------------
//_-0IA.AvatarModelGeometry

package _-0IA
{
    import flash.utils.Dictionary;
    import _-1A6.AvatarCanvas;
    import _-4Kb._-40f;

    public class AvatarModelGeometry 
    {

        private var _-Xq:AvatarSet;
        private var _-fo:Dictionary;
        private var _-4na:Dictionary;
        private var _-eE:Matrix4x4;
        private var _-1HT:Vector3D;
        private var _-1ix:Dictionary;

        public function AvatarModelGeometry(_arg1:XML)
        {
            var k:XML;
            var k:XML;
            var k:AvatarCanvas;
            var k:XML;
            var k:Dictionary;
            var k:Dictionary;
            var k:XML;
            var k:GeometryBodyPart;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:String;
            var k:Dictionary;
            var k:String;
            this._-1HT = new Vector3D(0, 0, 10);
            super();
            this._-eE = new Matrix4x4();
            this._-fo = new Dictionary();
            this._-4na = new Dictionary();
            this._-Xq = new AvatarSet(_arg1.avatarset[0]);
            this._-1ix = new Dictionary();
            var k:XML = _arg1.camera[0];
            if (k != null)
            {
                k = parseFloat(k.x.text());
                k = parseFloat(k.y.text());
                k = parseFloat(k.z.text());
                this._-1HT.x = k;
                this._-1HT.y = k;
                this._-1HT.z = k;
            };
            for each (k in _arg1.canvas)
            {
                k = String(k.@scale);
                k = new Dictionary();
                for each (k in k.geometry)
                {
                    k = new AvatarCanvas(k, k);
                    k[String(k.@id)] = k;
                };
                this._-1ix[k] = k;
            };
            for each (k in _arg1.type)
            {
                k = new Dictionary();
                k = new Dictionary();
                for each (k in k.bodypart)
                {
                    k = new GeometryBodyPart(k);
                    k[String(k.@id)] = k;
                    for each (k in k._-4aY(null))
                    {
                        k[k] = k;
                    };
                };
                this._-fo[String(k.@id)] = k;
                this._-4na[String(k.@id)] = k;
            };
        }
        public function _-0Wr(_arg1:_-40f):void
        {
            var k:Dictionary;
            var k:GeometryBodyPart;
            for each (k in this._-fo)
            {
                for each (k in k)
                {
                    k._-2uR(_arg1);
                };
            };
        }
        public function _-1cs(_arg1:String):Array
        {
            var k:Array = [];
            var k:AvatarSet = this._-Xq._-4v7(_arg1);
            if (k != null)
            {
                k = k._-1t6();
            };
            return (k);
        }
        public function _-zC(_arg1:String):Boolean
        {
            var k:AvatarSet = this._-Xq._-4v7(_arg1);
            if (k != null)
            {
                return (k._-ev);
            };
            return (false);
        }
        public function _-3zT(_arg1:String, _arg2:String):AvatarCanvas
        {
            var k:AvatarCanvas;
            var k:Dictionary = this._-1ix[_arg1];
            if (k != null)
            {
                k = (k[_arg2] as AvatarCanvas);
            };
            return (k);
        }
        private function _-0J5(_arg1:String):Boolean
        {
            return (!((this._-fo[_arg1] == null)));
        }
        private function _-0EL(_arg1:String, _arg2:String):Boolean
        {
            var k:Dictionary;
            if (this._-0J5(_arg1))
            {
                k = (this._-fo[_arg1] as Dictionary);
                return (!((k[_arg2] == null)));
            };
            return (false);
        }
        private function _-1gO(_arg1:String):Array
        {
            var k:String;
            var k:Dictionary = this._-49u(_arg1);
            var k:Array = new Array();
            for (k in this._-fo)
            {
                k.push(k);
            };
            return (k);
        }
        private function _-49u(_arg1:String):Dictionary
        {
            if (this._-0J5(_arg1))
            {
                return ((this._-fo[_arg1] as Dictionary));
            };
            return (new Dictionary());
        }
        public function _-pP(_arg1:String, _arg2:String):GeometryBodyPart
        {
            var k:Dictionary = this._-49u(_arg1);
            return (k[_arg2]);
        }
        public function _-R-(_arg1:String, _arg2:String, _arg3:_-40f):GeometryBodyPart
        {
            var k:GeometryBodyPart;
            var k:Dictionary;
            var k:Dictionary = this._-4na[_arg1];
            if (k != null)
            {
                k = k[_arg2];
                if (k != null)
                {
                    return (k);
                };
                k = this._-49u(_arg1);
                for each (k in k)
                {
                    if (k._-3tj(_arg2, _arg3))
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        private function _-4ZA(_arg1:Dictionary, _arg2:String):Array
        {
            var k:GeometryBodyPart;
            var k:String;
            var k:Array = [];
            var k:Array = this._-1cs(_arg2);
            for each (k in k)
            {
                k = _arg1[k];
                if (k != null)
                {
                    k.push(k);
                };
            };
            return (k);
        }
        public function _-Lv(_arg1:String, _arg2:uint, _arg3:String):Array
        {
            var k:GeometryBodyPart;
            var k:Number;
            var k:Array;
            if (_arg3 == null)
            {
                _-Nb.log("[AvatarModelGeometry] ERROR: Geometry ID not found for action: ");
                return ([]);
            };
            var k:Dictionary = this._-49u(_arg3);
            var k:Array = this._-4ZA(k, _arg1);
            var k:Array = new Array();
            var k:Array = new Array();
            this._-eE = Matrix4x4._-3A4(_arg2);
            for each (k in k)
            {
                k._-0fm(this._-eE);
                k = k._-3Ya(this._-1HT);
                k.push([k, k]);
            };
            k.sort(this._-2V8);
            for each (k in k)
            {
                k = (k[1] as GeometryBodyPart);
                k.push(k.id);
            };
            return (k);
        }
        public function _-43K(_arg1:String, _arg2:String, _arg3:uint, _arg4:Array, _arg5:_-40f):Array
        {
            var k:GeometryBodyPart;
            if (this._-0EL(_arg1, _arg2))
            {
                k = (this._-49u(_arg1)[_arg2] as GeometryBodyPart);
                this._-eE = Matrix4x4._-3A4(_arg3);
                return (k._-43K(this._-eE, this._-1HT, _arg4, _arg5));
            };
            return ([]);
        }
        private function _-2V8(_arg1:Array, _arg2:Array):Number
        {
            var k:Number = (_arg1[0] as Number);
            var k:Number = (_arg2[0] as Number);
            if (k < k)
            {
                return (-1);
            };
            if (k > k)
            {
                return (1);
            };
            return (0);
        }

    }
}//package _-0IA

//------------------------------------------------------------
//_-0IA.AvatarSet

package _-0IA
{
    import flash.utils.Dictionary;

    public class AvatarSet 
    {

        private var _-0Kq:String;
        private var _-0Ew:Dictionary;
        private var _-089:Array;
        private var _-V4:Array;
        private var _-0qZ:Boolean;

        public function AvatarSet(_arg1:XML)
        {
            var k:AvatarSet;
            var k:XML;
            var k:XML;
            var k:Array;
            super();
            this._-0Kq = String(_arg1.@id);
            var k:String = String(_arg1.@main);
            this._-0qZ = (((k)==null) ? false : Boolean(parseInt(k)));
            this._-0Ew = new Dictionary();
            this._-089 = new Array();
            for each (k in _arg1.avatarset)
            {
                k = new AvatarSet(k);
                this._-0Ew[String(k.@id)] = k;
            };
            for each (k in _arg1.bodypart)
            {
                this._-089.push(String(k.@id));
            };
            k = this._-089.concat();
            for each (k in this._-0Ew)
            {
                k = k.concat(k._-1t6());
            };
            this._-V4 = k;
        }
        public function _-4v7(_arg1:String):AvatarSet
        {
            var k:AvatarSet;
            if (_arg1 == this._-0Kq)
            {
                return (this);
            };
            for each (k in this._-0Ew)
            {
                if (k._-4v7(_arg1) != null)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-1t6():Array
        {
            return (this._-V4.concat());
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get _-ev():Boolean
        {
            var _local1:AvatarSet;
            if (this._-0qZ)
            {
                return (true);
            };
            for each (_local1 in this._-0Ew)
            {
                if (_local1._-ev)
                {
                    return (true);
                };
            };
            return (false);
        }

    }
}//package _-0IA

//------------------------------------------------------------
//_-0IA.GeometryBodyPart

package _-0IA
{
    import flash.utils.Dictionary;
    import _-4Kb._-40f;

    public class GeometryBodyPart extends _-2oU 
    {

        private var _-0Kq:String;
        private var _-2aI:Dictionary;
        private var _-3Na:Number;
        private var _-3DK:Dictionary;

        public function GeometryBodyPart(_arg1:XML)
        {
            var k:XML;
            var k:GeometryItem;
            super(parseFloat(_arg1.@x), parseFloat(_arg1.@y), parseFloat(_arg1.@z));
            this._-3Na = parseFloat(_arg1.@radius);
            this._-0Kq = String(_arg1.@id);
            this._-2aI = new Dictionary();
            this._-3DK = new Dictionary(true);
            for each (k in _arg1..item)
            {
                k = new GeometryItem(k);
                this._-2aI[String(k.@id)] = k;
            };
        }
        public function _-1oq(_arg1:_-40f):Array
        {
            var k:GeometryItem;
            var k:Array = [];
            if (this._-3DK[_arg1] !== undefined)
            {
                for each (k in this._-3DK[_arg1])
                {
                    if (k != null)
                    {
                        k.push(k);
                    };
                };
            };
            return (k);
        }
        public function _-4aY(_arg1:_-40f):Array
        {
            var k:GeometryItem;
            var k:Array = [];
            for each (k in this._-2aI)
            {
                if (k != null)
                {
                    k.push(k.id);
                };
            };
            if (this._-3DK[_arg1] !== undefined)
            {
                for each (k in this._-3DK[_arg1])
                {
                    if (k != null)
                    {
                        k.push(k.id);
                    };
                };
            };
            return (k);
        }
        public function _-2uR(_arg1:_-40f):Boolean
        {
            var k:String;
            if (this._-3DK[_arg1] !== undefined)
            {
                for (k in this._-3DK[_arg1])
                {
                    delete this._-3DK[_arg1][k];
                };
                this._-3DK[_arg1] = null;
                delete this._-3DK[_arg1];
            };
            return (true);
        }
        public function _-2ci(_arg1:XML, _arg2:_-40f):Boolean
        {
            var k:String = String(_arg1.@id);
            if (this._-3tj(k, _arg2))
            {
                return (false);
            };
            if (this._-3DK[_arg2] === undefined)
            {
                this._-3DK[_arg2] = new Dictionary();
            };
            this._-3DK[_arg2][k] = new GeometryItem(_arg1, true);
            return (true);
        }
        public function _-3tj(_arg1:String, _arg2:_-40f):Boolean
        {
            var k:GeometryItem = this._-2aI[_arg1];
            if ((((k == null)) && (!((this._-3DK[_arg2] === undefined)))))
            {
                k = this._-3DK[_arg2][_arg1];
            };
            return (!((k == null)));
        }
        public function _-43K(_arg1:Matrix4x4, _arg2:Vector3D, _arg3:Array, _arg4:_-40f):Array
        {
            var k:Number;
            var k:GeometryItem;
            var k:Array;
            var k:Array = new Array();
            var k:Array = new Array();
            for each (k in this._-2aI)
            {
                if (k != null)
                {
                    k._-0fm(_arg1);
                    k = k._-3Ya(_arg2);
                    k.push([k, k]);
                };
            };
            for each (k in this._-3DK[_arg4])
            {
                if (k != null)
                {
                    k._-0fm(_arg1);
                    k = k._-3Ya(_arg2);
                    k.push([k, k]);
                };
            };
            k.sort(this._-0qQ);
            for each (k in k)
            {
                k = (k[1] as GeometryItem);
                k.push(k.id);
            };
            return (k);
        }
        public function _-3Ya(_arg1:Vector3D):Number
        {
            var k:Number = Math.abs(((_arg1.z - this._-1ex.z) - this._-3Na));
            var k:Number = Math.abs(((_arg1.z - this._-1ex.z) + this._-3Na));
            return (Math.min(k, k));
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        private function _-0qQ(_arg1:Array, _arg2:Array):Number
        {
            var k:Number = (_arg1[0] as Number);
            var k:Number = (_arg2[0] as Number);
            if (k < k)
            {
                return (-1);
            };
            if (k > k)
            {
                return (1);
            };
            return (0);
        }
        public function get radius():Number
        {
            return (this._-3Na);
        }

    }
}//package _-0IA

//------------------------------------------------------------
//_-0IA.GeometryItem

package _-0IA
{
    public class GeometryItem extends _-2oU 
    {

        private var _-0Kq:String;
        private var _-3Na:Number;
        private var _normal:Vector3D;
        private var _-1vD:Boolean = false;
        private var _-0Yr:Boolean = false;

        public function GeometryItem(_arg1:XML, _arg2:Boolean=false)
        {
            super(parseFloat(_arg1.@x), parseFloat(_arg1.@y), parseFloat(_arg1.@z));
            this._-0Kq = String(_arg1.@id);
            this._-3Na = parseFloat(_arg1.@radius);
            this._normal = new Vector3D(parseFloat(_arg1.@nx), parseFloat(_arg1.@ny), parseFloat(_arg1.@nz));
            this._-1vD = (parseInt(_arg1.@double) as Boolean);
            this._-0Yr = _arg2;
        }
        public function _-3Ya(_arg1:Vector3D):Number
        {
            var k:Number = Math.abs(((_arg1.z - this._-1ex.z) - this._-3Na));
            var k:Number = Math.abs(((_arg1.z - this._-1ex.z) + this._-3Na));
            return (Math.min(k, k));
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get normal():Vector3D
        {
            return (this._normal);
        }
        public function get _-2k():Boolean
        {
            return (this._-1vD);
        }
        public function toString():String
        {
            var k:String = ((((this._-0Kq + ": ") + this.location) + " - ") + this._-1ex);
            return (k);
        }
        public function get _-4Vn():Boolean
        {
            return (this._-0Yr);
        }

    }
}//package _-0IA

//------------------------------------------------------------
//_-0IA.Matrix4x4

package _-0IA
{
    public class Matrix4x4 
    {

        public static const _-3uz:Matrix4x4 = new Matrix4x4(1, 0, 0, 0, 1, 0, 0, 0, 1);
        private static const _-42N:Number = 1E-18;

        private var _-0qE:Array;

        public function Matrix4x4(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0, _arg9:Number=0)
        {
            this._-0qE = [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9];
        }
        public static function _-2sa(_arg1:Number):Matrix4x4
        {
            var k:Number = ((_arg1 * Math.PI) / 180);
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:Matrix4x4 = new Matrix4x4(1, 0, 0, 0, k, -(k), 0, k, k);
            return (k);
        }
        public static function _-3A4(_arg1:Number):Matrix4x4
        {
            var k:Number = ((_arg1 * Math.PI) / 180);
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:Matrix4x4 = new Matrix4x4(k, 0, k, 0, 1, 0, -(k), 0, k);
            return (k);
        }
        public static function _-4wc(_arg1:Number):Matrix4x4
        {
            var k:Number = ((_arg1 * Math.PI) / 180);
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:Matrix4x4 = new Matrix4x4(k, -(k), 0, k, k, 0, 0, 0, 1);
            return (k);
        }

        public function identity():Matrix4x4
        {
            this._-0qE = [1, 0, 0, 0, 1, 0, 0, 0, 1];
            return (this);
        }
        public function _-4i-(_arg1:Vector3D):Vector3D
        {
            var k:Number = (((_arg1.x * this._-0qE[0]) + (_arg1.y * this._-0qE[3])) + (_arg1.z * this._-0qE[6]));
            var k:Number = (((_arg1.x * this._-0qE[1]) + (_arg1.y * this._-0qE[4])) + (_arg1.z * this._-0qE[7]));
            var k:Number = (((_arg1.x * this._-0qE[2]) + (_arg1.y * this._-0qE[5])) + (_arg1.z * this._-0qE[8]));
            return (new Vector3D(k, k, k));
        }
        public function _-2yK(_arg1:Matrix4x4):Matrix4x4
        {
            var k:Number = (((this._-0qE[0] * _arg1.data[0]) + (this._-0qE[1] * _arg1.data[3])) + (this._-0qE[2] * _arg1.data[6]));
            var k:Number = (((this._-0qE[0] * _arg1.data[1]) + (this._-0qE[1] * _arg1.data[4])) + (this._-0qE[2] * _arg1.data[7]));
            var k:Number = (((this._-0qE[0] * _arg1.data[2]) + (this._-0qE[1] * _arg1.data[5])) + (this._-0qE[2] * _arg1.data[8]));
            var k:Number = (((this._-0qE[3] * _arg1.data[0]) + (this._-0qE[4] * _arg1.data[3])) + (this._-0qE[5] * _arg1.data[6]));
            var k:Number = (((this._-0qE[3] * _arg1.data[1]) + (this._-0qE[4] * _arg1.data[4])) + (this._-0qE[5] * _arg1.data[7]));
            var k:Number = (((this._-0qE[3] * _arg1.data[2]) + (this._-0qE[4] * _arg1.data[5])) + (this._-0qE[5] * _arg1.data[8]));
            var k:Number = (((this._-0qE[6] * _arg1.data[0]) + (this._-0qE[7] * _arg1.data[3])) + (this._-0qE[8] * _arg1.data[6]));
            var k:Number = (((this._-0qE[6] * _arg1.data[1]) + (this._-0qE[7] * _arg1.data[4])) + (this._-0qE[8] * _arg1.data[7]));
            var k:Number = (((this._-0qE[6] * _arg1.data[2]) + (this._-0qE[7] * _arg1.data[5])) + (this._-0qE[8] * _arg1.data[8]));
            return (new Matrix4x4(k, k, k, k, k, k, k, k, k));
        }
        public function _-4Ur(_arg1:Number):void
        {
            var k:int;
            while (k < this._-0qE.length)
            {
                this._-0qE[k] = (this._-0qE[k] * _arg1);
                k++;
            };
        }
        public function _-0za(_arg1:Number):Matrix4x4
        {
            var k:Number = ((_arg1 * Math.PI) / 180);
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:Matrix4x4 = new Matrix4x4(1, 0, 0, 0, k, -(k), 0, k, k);
            return (k._-2yK(this));
        }
        public function _-3zC(_arg1:Number):Matrix4x4
        {
            var k:Number = ((_arg1 * Math.PI) / 180);
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:Matrix4x4 = new Matrix4x4(k, 0, k, 0, 1, 0, -(k), 0, k);
            return (k._-2yK(this));
        }
        public function _-4VF(_arg1:Number):Matrix4x4
        {
            var k:Number = ((_arg1 * Math.PI) / 180);
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:Matrix4x4 = new Matrix4x4(k, -(k), 0, k, k, 0, 0, 0, 1);
            return (k._-2yK(this));
        }
        public function _-0op():void
        {
        }
        public function _-33N():Matrix4x4
        {
            return (new Matrix4x4(this._-0qE[0], this._-0qE[3], this._-0qE[6], this._-0qE[1], this._-0qE[4], this._-0qE[7], this._-0qE[2], this._-0qE[5], this._-0qE[8]));
        }
        public function _-DQ(_arg1:Matrix4x4):Boolean
        {
            return (false);
        }
        public function get data():Array
        {
            return (this._-0qE);
        }

    }
}//package _-0IA

//------------------------------------------------------------
//_-0IA.Vector3D

package _-0IA
{
    public class Vector3D 
    {

        private var _-2dX:Number;
        private var _-4TA:Number;
        private var _-0l1:Number;

        public function Vector3D(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0)
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
            this._-0l1 = _arg3;
        }
        public static function _-cp(_arg1:Vector3D, _arg2:Vector3D):Number
        {
            return ((((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y)) + (_arg1.z * _arg2.z)));
        }
        public static function _-4ch(_arg1:Vector3D, _arg2:Vector3D):Vector3D
        {
            var k:Vector3D = new (Vector3D)();
            k.x = ((_arg1.y * _arg2.z) - (_arg1.z * _arg2.y));
            k.y = ((_arg1.z * _arg2.x) - (_arg1.x * _arg2.z));
            k.z = ((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x));
            return (k);
        }
        public static function subtract(_arg1:Vector3D, _arg2:Vector3D):Vector3D
        {
            return (new Vector3D((_arg1.x - _arg2.x), (_arg1.y - _arg2.y), (_arg1.z - _arg2.z)));
        }

        public function _-cp(_arg1:Vector3D):Number
        {
            return ((((this._-2dX * _arg1.x) + (this._-4TA * _arg1.y)) + (this._-0l1 * _arg1.z)));
        }
        public function _-4ch(_arg1:Vector3D):Vector3D
        {
            var k:Vector3D = new Vector3D();
            k.x = ((this._-4TA * _arg1.z) - (this._-0l1 * _arg1.y));
            k.y = ((this._-0l1 * _arg1.x) - (this._-2dX * _arg1.z));
            k.z = ((this._-2dX * _arg1.y) - (this._-4TA * _arg1.x));
            return (k);
        }
        public function subtract(_arg1:Vector3D):void
        {
            this._-2dX = (this._-2dX - _arg1.x);
            this._-4TA = (this._-4TA - _arg1.y);
            this._-0l1 = (this._-0l1 - _arg1.z);
        }
        public function add(_arg1:Vector3D):void
        {
            this._-2dX = (this._-2dX + _arg1.x);
            this._-4TA = (this._-4TA + _arg1.y);
            this._-0l1 = (this._-0l1 + _arg1.z);
        }
        public function normalize():void
        {
            var k:Number = (1 / this.length());
            this._-2dX = (this._-2dX * k);
            this._-4TA = (this._-4TA * k);
            this._-0l1 = (this._-0l1 * k);
        }
        public function length():Number
        {
            return (Math.sqrt((((this._-2dX * this._-2dX) + (this._-4TA * this._-4TA)) + (this._-0l1 * this._-0l1))));
        }
        public function toString():String
        {
            var k = (((((("Vector3D: (" + this._-2dX) + ",") + this._-4TA) + ",") + this._-0l1) + ")");
            return (k);
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function set x(_arg1:Number):void
        {
            this._-2dX = _arg1;
        }
        public function set y(_arg1:Number):void
        {
            this._-4TA = _arg1;
        }
        public function set z(_arg1:Number):void
        {
            this._-0l1 = _arg1;
        }

    }
}//package _-0IA

//------------------------------------------------------------
//_-0Ie._-1Dh

package _-0Ie
{
    import _-Ew.IWindow;

    public class _-1Dh extends WindowEvent 
    {

        public static const _-3oG:String = "WTE_BEGIN";
        public static const _-1iS:String = "WTE_END";
        public static const _-rd:String = "WTE_MOVE";
        public static const _-38:String = "WTE_OUT";
        public static const _-JB:String = "WTE_OVER";
        public static const _-58O:String = "WTE_ROLL_OUT";
        public static const _-f5:String = "WTE_ROLL_OVER";
        public static const _-4n0:String = "WTE_TAP";
        private static const _-3Kq:Array = [];

        public var localX:Number;
        public var localY:Number;
        public var stageX:Number;
        public var stageY:Number;
        public var altKey:Boolean;
        public var ctrlKey:Boolean;
        public var shiftKey:Boolean;
        public var _-58p:Number;
        public var _-43A:Number;
        public var _-3oN:Number;

        public static function _-2W5(_arg1:String, _arg2:IWindow, _arg3:IWindow, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:Number, _arg11:Boolean, _arg12:Boolean, _arg13:Boolean):_-1Dh
        {
            var k:_-1Dh;
            k = (((_-3Kq.length)>0) ? _-3Kq.pop() : new (_-1Dh)());
            k._-5K = _arg1;
            k._-0xv = _arg2;
            k._-0UP = _arg3;
            k._-4-t = false;
            k._-24a = _-3Kq;
            k._-43A = _arg6;
            k._-3oN = _arg7;
            k.localX = _arg4;
            k.localY = _arg5;
            k.stageX = _arg8;
            k.stageY = _arg9;
            k._-58p = _arg10;
            k.altKey = _arg11;
            k.ctrlKey = _arg12;
            k.shiftKey = _arg13;
            return (k);
        }

        override public function clone():WindowEvent
        {
            return (_-2W5(_-5K, window, _-2JE, this.localX, this.localY, this._-43A, this._-3oN, this.stageX, this.stageY, this._-58p, this.altKey, this.ctrlKey, this.shiftKey));
        }
        override public function toString():String
        {
            return ((((((((((("WindowTouchEvent { type: " + _-5K) + " cancelable: ") + _-2UO) + " window: ") + _-0xv) + " localX: ") + this.localX) + " localY: ") + this.localY) + " }"));
        }

    }
}//package _-0Ie

//------------------------------------------------------------
//_-0Ie._-4C7

package _-0Ie
{
    import _-Ew.IWindow;

    public class _-4C7 extends WindowEvent 
    {

        public static const _-3vn:String = "WINDOW_DISPOSE_EVENT";
        private static const _-3Kq:Array = [];

        public function _-4C7()
        {
            _-5K = _-3vn;
        }
        public static function _-2W5(_arg1:IWindow):_-4C7
        {
            var k:_-4C7 = (((_-3Kq.length)>0) ? _-3Kq.pop() : new (_-4C7)());
            k._-0xv = _arg1;
            k._-4-t = false;
            k._-24a = _-3Kq;
            return (k);
        }

        override public function clone():WindowEvent
        {
            return (_-2W5(window));
        }
        override public function toString():String
        {
            return ((((("WindowDisposeEvent { type: " + _-5K) + " window: ") + _-0xv) + " }"));
        }

    }
}//package _-0Ie

//------------------------------------------------------------
//_-0Ie._-4HN

package _-0Ie
{
    import _-Ew.IWindow;

    public class _-4HN extends WindowEvent 
    {

        public static const _-4s3:String = "WE_LINK";
        private static const _-3Kq:Array = [];

        private var _-349:String;

        public function _-4HN()
        {
            _-5K = _-4s3;
        }
        public static function _-2W5(_arg1:String, _arg2:IWindow, _arg3:IWindow):WindowEvent
        {
            var k:_-4HN = (((_-3Kq.length)>0) ? _-3Kq.pop() : new (_-4HN)());
            k._-349 = _arg1;
            k._-0xv = _arg2;
            k._-0UP = _arg3;
            k._-4-t = false;
            k._-24a = _-3Kq;
            return (k);
        }

        public function get link():String
        {
            return (this._-349);
        }
        override public function clone():WindowEvent
        {
            return (_-2W5(this._-349, window, _-2JE));
        }
        override public function toString():String
        {
            return ((((((((("WindowLinkEvent { type: " + _-5K) + " link: ") + this.link) + " cancelable: ") + _-2UO) + " window: ") + _-0xv) + " }"));
        }

    }
}//package _-0Ie

//------------------------------------------------------------
//_-0Ie.WindowEvent

package _-0Ie
{
    import _-Ew.IWindow;

    public class WindowEvent 
    {

        public static const _-31U:String = "WE_DESTROY";
        public static const _-Lx:String = "WE_DESTROYED";
        public static const _-3Nc:String = "WE_OPEN";
        public static const _-4Kn:String = "WE_OPENED";
        public static const _-57x:String = "WE_CLOSE";
        public static const _-2H-:String = "WE_CLOSED";
        public static const _-2nP:String = "WE_FOCUS";
        public static const _-4JH:String = "WE_FOCUSED";
        public static const _-4vR:String = "WE_UNFOCUS";
        public static const _-1gM:String = "WE_UNFOCUSED";
        public static const _-f2:String = "WE_ACTIVATE";
        public static const _-1M3:String = "WE_ACTIVATED";
        public static const _-4Ph:String = "WE_DEACTIVATE";
        public static const _-zQ:String = "WE_DEACTIVATED";
        public static const _-0P3:String = "WE_SELECT";
        public static const _-2wB:String = "WE_SELECTED";
        public static const _-4Yk:String = "WE_UNSELECT";
        public static const _-1Ef:String = "WE_UNSELECTED";
        public static const _-3U7:String = "WE_LOCK";
        public static const _-0Mo:String = "WE_LOCKED";
        public static const _-01Q:String = "WE_UNLOCK";
        public static const _-4Ss:String = "WE_UNLOCKED";
        public static const _-0T3:String = "WE_ENABLE";
        public static const _-3Z0:String = "WE_ENABLED";
        public static const _-2YL:String = "WE_DISABLE";
        public static const _-15U:String = "WE_DISABLED";
        public static const _-2pA:String = "WE_RELOCATE";
        public static const _-4e0:String = "WE_RELOCATED";
        public static const _-4hh:String = "WE_RESIZE";
        public static const _-3K0:String = "WE_RESIZED";
        public static const _-4h2:String = "WE_MINIMIZE";
        public static const _-3V1:String = "WE_MINIMIZED";
        public static const _-4Dr:String = "WE_MAXIMIZE";
        public static const _-0N4:String = "WE_MAXIMIZED";
        public static const _-3nw:String = "WE_RESTORE";
        public static const _-0Qz:String = "WE_RESTORED";
        public static const _-14K:String = "WE_CHILD_ADDED";
        public static const _-4jq:String = "WE_CHILD_REMOVED";
        public static const _-hr:String = "WE_CHILD_RELOCATED";
        public static const _-jw:String = "WE_CHILD_RESIZED";
        public static const _-0kV:String = "WE_CHILD_ACTIVATED";
        public static const _-3g1:String = "WE_PARENT_ADDED";
        public static const _-3NU:String = "WE_PARENT_REMOVED";
        public static const _-0Aa:String = "WE_PARENT_RELOCATED";
        public static const _-4cR:String = "WE_PARENT_RESIZED";
        public static const _-1Ty:String = "WE_PARENT_ACTIVATED";
        public static const _-0-9:String = "WE_OK";
        public static const _-4dG:String = "WE_CANCEL";
        public static const _-0cZ:String = "WE_CHANGE";
        public static const _-4Gq:String = "WE_SCROLL";
        public static const UNKNOWN:String = "";
        private static const _-3Kq:Array = [];

        protected var _-5K:String;
        protected var _-0xv:IWindow;
        protected var _-0UP:IWindow;
        protected var _-0aj:Boolean;
        protected var _-2UO:Boolean;
        protected var _-4-t:Boolean;
        protected var _-24a:Array;

        public static function _-2W5(_arg1:String, _arg2:IWindow, _arg3:IWindow, _arg4:Boolean=false):WindowEvent
        {
            var k:WindowEvent = (((_-3Kq.length)>0) ? _-3Kq.pop() : new (WindowEvent)());
            k._-5K = _arg1;
            k._-0xv = _arg2;
            k._-0UP = _arg3;
            k._-2UO = _arg4;
            k._-4-t = false;
            k._-24a = _-3Kq;
            return (k);
        }

        public function get type():String
        {
            return (this._-5K);
        }
        public function get target():IWindow
        {
            return (this._-0xv);
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        public function get _-2JE():IWindow
        {
            return (this._-0UP);
        }
        public function get cancelable():Boolean
        {
            return (this._-2UO);
        }
        public function recycle():void
        {
            if (this._-4-t)
            {
                throw (new Error("Event already recycled!"));
            };
            this._-0xv = (this._-0UP = null);
            this._-4-t = true;
            this._-0aj = false;
            this._-24a.push(this);
        }
        public function clone():WindowEvent
        {
            return (_-2W5(this._-5K, this.window, this._-2JE, this.cancelable));
        }
        public function preventDefault():void
        {
            this._-iE();
        }
        public function isDefaultPrevented():Boolean
        {
            return (this._-0aj);
        }
        public function _-iE():void
        {
            if (this.cancelable)
            {
                this._-0aj = true;
            }
            else
            {
                throw (new Error("Attempted to prevent window operation that is not cancelable!"));
            };
        }
        public function _-UW():Boolean
        {
            return (this._-0aj);
        }
        public function stopPropagation():void
        {
            this._-0aj = true;
        }
        public function stopImmediatePropagation():void
        {
            this._-0aj = true;
        }
        public function toString():String
        {
            return ((((((("WindowEvent { type: " + this._-5K) + " cancelable: ") + this._-2UO) + " window: ") + this._-0xv) + " }"));
        }

    }
}//package _-0Ie

//------------------------------------------------------------
//_-0Ie.WindowEventDispatcher

package _-0Ie
{
    import flash.utils.Dictionary;
    import _-Ew.IWindow;
    import _-0yf.EventListenerStruct;
    import _-1B-.*;

    public class WindowEventDispatcher implements _-1zZ 
    {

        private static const EVENT_RESULT_TRUE:uint = 0;
        private static const EVENT_RESULT_FALSE:uint = 1;
        private static const EVENT_RESULT_ERROR:uint = 2;

        protected var _disposed:Boolean = false;
        private var _eventListenerTable:Dictionary;
        private var _result:uint;
        private var _error:Error;

        public function WindowEventDispatcher(_arg1:IWindow)
        {
            this._eventListenerTable = new Dictionary();
            super();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get error():Error
        {
            return (this._error);
        }
        public function addEventListener(_arg1:String, _arg2:Function, _arg3:int=0):void
        {
            var _local6:EventListenerStruct;
            var k:Array = this._eventListenerTable[_arg1];
            var k:EventListenerStruct = new EventListenerStruct(_arg2, false, _arg3);
            if (!k)
            {
                k = [k];
                this._eventListenerTable[_arg1] = k;
            }
            else
            {
                for each (_local6 in k)
                {
                    if (_local6.callback == _arg2)
                    {
                        return;
                    };
                    if (_arg3 > _local6.priority)
                    {
                        k.splice(k.indexOf(_local6), 0, k);
                        return;
                    };
                };
                k.push(k);
            };
        }
        public function removeEventListener(_arg1:String, _arg2:Function):void
        {
            var k:Array;
            var k:uint;
            var k:EventListenerStruct;
            if (!this._disposed)
            {
                k = this._eventListenerTable[_arg1];
                if (k)
                {
                    k = 0;
                    for each (k in k)
                    {
                        if (k.callback == _arg2)
                        {
                            k.splice(k, 1);
                            k.callback = null;
                            if (k.length == 0)
                            {
                                delete this._eventListenerTable[_arg1];
                            };
                            return;
                        };
                        k++;
                    };
                };
            };
        }
        public function dispatchEvent(_arg1:WindowEvent):Boolean
        {
            var k:Array;
            var k:Array;
            var k:Function;
            var k:EventListenerStruct;
            if (!this._disposed)
            {
                this._result = EVENT_RESULT_TRUE;
                k = this._eventListenerTable[_arg1.type];
                if (k)
                {
                    k = [];
                    for each (k in k)
                    {
                        k.push(k.callback);
                    };
                    while (k.length > 0)
                    {
                        k = k.shift();
                        (k(_arg1));
                    };
                };
                this._result = ((_arg1.isDefaultPrevented()) ? EVENT_RESULT_FALSE : EVENT_RESULT_TRUE);
                return ((this._result == EVENT_RESULT_TRUE));
            };
            return (false);
        }
        public function hasEventListener(_arg1:String):Boolean
        {
            return (((this._disposed) ? false : !((this._eventListenerTable[_arg1] == null))));
        }
        public function dispose():void
        {
            var k:Object;
            var k:Array;
            var k:EventListenerStruct;
            if (!this._disposed)
            {
                for (k in this._eventListenerTable)
                {
                    k = (this._eventListenerTable[k] as Array);
                    for each (k in k)
                    {
                        k.callback = null;
                    };
                    delete this._eventListenerTable[k];
                };
                this._eventListenerTable = null;
                this._disposed = true;
            };
        }

    }
}//package _-0Ie

//------------------------------------------------------------
//_-0Ie.WindowKeyboardEvent

package _-0Ie
{
    import flash.events.KeyboardEvent;
    import flash.events.Event;
    import _-Ew.IWindow;

    public class WindowKeyboardEvent extends WindowEvent 
    {

        public static const _-4Wf:String = "WKE_KEY_UP";
        public static const _-2CS:String = "WKE_KEY_DOWN";
        private static const _-3Kq:Array = [];

        private var _-sI:KeyboardEvent;

        public static function _-2W5(_arg1:String, _arg2:Event, _arg3:IWindow, _arg4:IWindow, _arg5:Boolean=false):WindowKeyboardEvent
        {
            var k:WindowKeyboardEvent = (((_-3Kq.length)>0) ? _-3Kq.pop() : new (WindowKeyboardEvent)());
            k._-5K = _arg1;
            k._-sI = (_arg2 as KeyboardEvent);
            k._-0xv = _arg3;
            k._-0UP = _arg4;
            k._-4-t = false;
            k._-2UO = _arg5;
            k._-24a = _-3Kq;
            return (k);
        }

        public function get charCode():uint
        {
            return (this._-sI.charCode);
        }
        public function get keyCode():uint
        {
            return (this._-sI.keyCode);
        }
        public function get keyLocation():uint
        {
            return (this._-sI.keyLocation);
        }
        public function get altKey():Boolean
        {
            return (this._-sI.altKey);
        }
        public function get shiftKey():Boolean
        {
            return (this._-sI.shiftKey);
        }
        public function get ctrlKey():Boolean
        {
            return (this._-sI.ctrlKey);
        }
        override public function clone():WindowEvent
        {
            return (_-2W5(_-5K, this._-sI, window, _-2JE, cancelable));
        }
        override public function toString():String
        {
            return ((((((((("WindowKeyboardEvent { type: " + _-5K) + " cancelable: ") + _-2UO) + " window: ") + _-0xv) + " charCode: ") + this.charCode) + " }"));
        }

    }
}//package _-0Ie

//------------------------------------------------------------
//_-0Ie.WindowMessage

package _-0Ie
{
    import _-Ew.IWindow;

    public class WindowMessage extends WindowEvent 
    {

        private static const _-0QP:String = "WE_MESSAGE";
        private static const _-3Kq:Array = [];

        public var message:String;

        public function WindowMessage()
        {
            _-5K = _-0QP;
        }
        public static function _-2W5(_arg1:String, _arg2:IWindow, _arg3:IWindow, _arg4:Boolean=false):WindowEvent
        {
            var k:WindowMessage = (((_-3Kq.length)>0) ? _-3Kq.pop() : new (WindowMessage)());
            k.message = _arg1;
            k._-0xv = _arg2;
            k._-0UP = _arg3;
            k._-2UO = _arg4;
            k._-4-t = false;
            k._-24a = _-3Kq;
            return (k);
        }

        override public function clone():WindowEvent
        {
            return (_-2W5(this.message, window, _-2JE, cancelable));
        }
        override public function toString():String
        {
            return ((((((((("WindowLinkEvent { type: " + _-5K) + " message: ") + this.message) + " cancelable: ") + _-2UO) + " window: ") + _-0xv) + " }"));
        }

    }
}//package _-0Ie

//------------------------------------------------------------
//_-0Ie.WindowMouseEvent

package _-0Ie
{
    import _-Ew.IWindow;

    public class WindowMouseEvent extends WindowEvent 
    {

        public static const _-90:String = "WME_CLICK";
        public static const _-4B7:String = "WME_DOUBLE_CLICK";
        public static const _-3Jy:String = "WME_DOWN";
        public static const _-1z6:String = "WME_MIDDLE_CLICK";
        public static const _-4ps:String = "WME_MIDDLE_DOWN";
        public static const _-I1:String = "WME_MIDDLE_UP";
        public static const _-2dT:String = "WME_MOVE";
        public static const _-4e2:String = "WME_OUT";
        public static const _-4ea:String = "WME_OVER";
        public static const _-02B:String = "WME_UP";
        public static const _-2uJ:String = "WME_UP_OUTSIDE";
        public static const _-yk:String = "WME_WHEEL";
        public static const _-1cT:String = "WME_RIGHT_CLICK";
        public static const _-00J:String = "WME_RIGHT_DOWN";
        public static const _-Ig:String = "WME_RIGHT_UP";
        public static const _-4Id:String = "WME_ROLL_OUT";
        public static const _-4os:String = "WME_ROLL_OVER";
        public static const _-4wV:String = "WME_HOVERING";
        private static const _-3Kq:Array = [];

        public var delta:int;
        public var localX:Number;
        public var localY:Number;
        public var stageX:Number;
        public var stageY:Number;
        public var altKey:Boolean;
        public var ctrlKey:Boolean;
        public var shiftKey:Boolean;
        public var buttonDown:Boolean;

        public static function _-2W5(_arg1:String, _arg2:IWindow, _arg3:IWindow, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Boolean, _arg9:Boolean, _arg10:Boolean, _arg11:Boolean, _arg12:int):WindowMouseEvent
        {
            var k:WindowMouseEvent = (((_-3Kq.length)>0) ? _-3Kq.pop() : new (WindowMouseEvent)());
            k._-5K = _arg1;
            k._-0xv = _arg2;
            k._-0UP = _arg3;
            k._-4-t = false;
            k._-24a = _-3Kq;
            k.localX = _arg4;
            k.localY = _arg5;
            k.stageX = _arg6;
            k.stageY = _arg7;
            k.altKey = _arg8;
            k.ctrlKey = _arg9;
            k.shiftKey = _arg10;
            k.buttonDown = _arg11;
            k.delta = _arg12;
            return (k);
        }

        override public function clone():WindowEvent
        {
            return (_-2W5(_-5K, window, _-2JE, this.localX, this.localY, this.stageX, this.stageY, this.altKey, this.ctrlKey, this.shiftKey, this.buttonDown, this.delta));
        }
        override public function toString():String
        {
            return ((((((((((("WindowMouseEvent { type: " + _-5K) + " cancelable: ") + _-2UO) + " window: ") + _-0xv) + " localX: ") + this.localX) + " localY: ") + this.localY) + " }"));
        }

    }
}//package _-0Ie

//------------------------------------------------------------
//_-0Ix._-0EI

package _-0Ix
{
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.utils.getTimer;
    import _-3Bn.LimitedItemOverlayNumberBitmapGenerator;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-1B-.*;

    public class _-0EI implements _-4xG, _-0gI 
    {

        public static const _-45i:String = "limited_item_overlay_grid";

        private const _-Al:uint = 10000;
        private const _-2uF:uint = 250;

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-0Is:BitmapData;
        private var _-C8:IBitmapWrapperWindow;
        private var _-uq:int;
        private var _-2B7:uint;
        private var _-2in:uint;

        public function _-0EI(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-2B7 = getTimer();
            this._-2in = this._-2B7;
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0Is = BitmapData(this._-U-.assets.getAssetByName("unique_item_label_plaque_metal").content).clone();
            this._-0J9 = IWindowContainer(this._-U-.buildFromXML(XML(this._-U-.assets.getAssetByName("unique_item_overlay_griditem_xml").content)));
            this._-C8 = IBitmapWrapperWindow(this._-0J9.findChildByName("unique_item_overlay_plaque_background_bitmap"));
            this._-C8.bitmap = this._-0Is;
            this._-2mK._-5Ec = this._-0J9;
            this._-U-.registerUpdateReceiver(this, 5);
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                this._-U-.removeUpdateReceiver(this);
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                this._-U- = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set _-2GS(_arg1:int):void
        {
            this._-uq = _arg1;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0J9.findChildByName("unique_item_overlay_plaque_number_bitmap"));
            k.bitmap = LimitedItemOverlayNumberBitmapGenerator._-3HD(this._-U-.assets, this._-2GS, k.width, k.height);
        }
        public function set _-0O1(_arg1:int):void
        {
        }
        public function get _-2GS():int
        {
            return (this._-uq);
        }
        public function get _-0O1():int
        {
            return (0);
        }
        public function get properties():Array
        {
            return ([]);
        }
        public function set properties(_arg1:Array):void
        {
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function update(_arg1:uint):void
        {
            var k:BitmapData;
            var k:Number;
            var k:int;
            if (!this.disposed)
            {
                this._-2B7 = (this._-2B7 + _arg1);
                if ((this._-2B7 - this._-2in) > this._-Al)
                {
                    k = new BitmapData(this._-C8.width, this._-C8.height, false);
                    k = (((this._-2B7 - this._-2in) - this._-Al) / this._-2uF);
                    if (k < 1)
                    {
                        k = ((this._-0Is.height - this._-C8.height) * k);
                        k.copyPixels(this._-0Is, new Rectangle(0, k, this._-C8.width, this._-C8.height), new Point(0, 0));
                        this._-C8.bitmap = k;
                    }
                    else
                    {
                        this._-C8.bitmap = this._-0Is;
                        this._-2in = this._-2B7;
                    };
                };
            };
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-0la

package _-0Ix
{
    import _-Ew.*;

    public interface _-0la extends _-2cX 
    {

        function reset():void;
        function get timeStamp():Number;
        function set timeStamp(_arg1:Number):void;
        function set align(_arg1:String):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-0nW

package _-0Ix
{
    public interface _-0nW extends _-3eH 
    {

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-0SS

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-2SC._-38M;
    import _-3EM._-yZ;

    public class _-0SS implements _-26h 
    {

        public static const _-45i:String = "rarity_item_overlay_preview";
        private static const _-47k:String = (_-45i + ":level");
        private static const _-0Cu:PropertyStruct = new PropertyStruct(_-47k, 0, PropertyStruct._-48r);

        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-1KD:int;
        private var _disposed:Boolean;
        private var _-0Lt:ITextWindow;

        public function _-0SS(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = IWindowContainer(this._-U-.buildFromXML(XML(this._-U-.assets.getAssetByName("rarity_item_overlay_preview_xml").content)));
            this._-0Lt = (this._-0J9.findChildByName("level") as ITextWindow);
            this._-2mK._-5Ec = this._-0J9;
        }
        public function set rarityLevel(_arg1:int):void
        {
            this._-1KD = _arg1;
            this._-0Lt.caption = _arg1.toString();
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-0Cu._-25t(this.rarityLevel));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-47k:
                        this.rarityLevel = int(k.value);
                        break;
                };
            };
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-0TM

package _-0Ix
{
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-2SC._-38M;
    import _-3EM._-yZ;

    public class _-0TM implements _-oy 
    {

        public static const _-45i:String = "limited_item_overlay_supply";

        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-58A:int;
        private var _-0O:int;

        public function _-0TM(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = IWindowContainer(this._-U-.buildFromXML(XML(this._-U-.assets.getAssetByName("unique_item_overlay_supply_xml").content)));
            this._-2mK._-5Ec = this._-0J9;
        }
        public function set _-2lp(_arg1:int):void
        {
            this._-58A = _arg1;
            var k:ITextWindow = (this._-0J9.findChildByName("items_left_count") as ITextWindow);
            k.text = _arg1.toString();
            var k:Boolean;
            this._-0J9.findChildByName("unique_item_sold_out_bitmap").visible = k;
        }
        public function get _-2lp():int
        {
            return (this._-58A);
        }
        public function set _-2GS(_arg1:int):void
        {
        }
        public function set _-0O1(_arg1:int):void
        {
            this._-0O = _arg1;
            var k:ITextWindow = (this._-0J9.findChildByName("items_total_count") as ITextWindow);
            k.text = _arg1.toString();
        }
        public function get _-2GS():int
        {
            return (0);
        }
        public function get _-0O1():int
        {
            return (this._-0O);
        }
        public function get properties():Array
        {
            return ([]);
        }
        public function set properties(_arg1:Array):void
        {
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-0J9 == null));
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-0wK

package _-0Ix
{
    import _-Ew.*;

    public interface _-0wK extends _-2cX 
    {

        function get message():String;
        function set message(_arg1:String):void;
        function get _-2Id():_-572;
        function set _-2Id(_arg1:_-572):void;
        function get _-0lq():String;
        function set _-0lq(_arg1:String):void;
        function get _-4cW():String;
        function set _-4cW(_arg1:String):void;
        function get multiline():Boolean;
        function set multiline(_arg1:Boolean):void;
        function get maxChars():int;
        function set maxChars(_arg1:int):void;
        function get _-4Xa():Boolean;
        function set _-4Xa(_arg1:Boolean):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-0Yw

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-0Ie.WindowEvent;
    import _-3EM._-yZ;
    import _-Ew.IWindow;
    import flash.geom.Point;
    import flash.geom.Rectangle;
    import _-295.BitmapDataAsset;

    public class _-0Yw implements _-4hg 
    {

        public static const _-45i:String = "separator";
        private static const _-2G8:String = (_-45i + ":vertical");
        private static const _-jX:PropertyStruct = new PropertyStruct(_-2G8, false, PropertyStruct._-11e);
        private static const _-2AV:String = "illumina_light_separator_horizontal";
        private static const _-3Te:String = "illumina_light_separator_vertical";

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-06f:IBitmapWrapperWindow;
        private var _-Jg:BitmapData;
        private var _-16P:IWindowContainer;
        private var _-3AA:Boolean;

        public function _-0Yw(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-3AA = Boolean(_-jX.value);
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("separator_xml").content as XML)) as IWindowContainer);
            this._-06f = (this._-0J9.getChildByName("canvas") as IBitmapWrapperWindow);
            this._-16P = (this._-0J9.getChildByName("children") as IWindowContainer);
            this._-06f.addEventListener(WindowEvent._-4hh, this._-4AC);
            this._-06f.addEventListener(WindowEvent._-3K0, this._-4AC);
            this._-16P.addEventListener(WindowEvent._-14K, this._-4AC);
            this._-16P.addEventListener(WindowEvent._-4jq, this._-4AC);
            this._-16P.addEventListener(WindowEvent._-hr, this._-4AC);
            this._-16P.addEventListener(WindowEvent._-jw, this._-4AC);
            this._-2mK._-5Ec = this._-0J9;
            this._-0J9.width = this._-2mK.width;
            this._-0J9.height = this._-2mK.height;
        }
        private function _-4AC(_arg1:WindowEvent):void
        {
            this.refresh();
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-Jg != null)
                {
                    this._-Jg.dispose();
                    this._-Jg = null;
                };
                if (this._-06f != null)
                {
                    this._-06f.removeEventListener(WindowEvent._-4hh, this._-4AC);
                    this._-06f.removeEventListener(WindowEvent._-3K0, this._-4AC);
                    this._-06f = null;
                };
                if (this._-16P != null)
                {
                    this._-16P.removeEventListener(WindowEvent._-14K, this._-4AC);
                    this._-16P.removeEventListener(WindowEvent._-4jq, this._-4AC);
                    this._-16P.removeEventListener(WindowEvent._-hr, this._-4AC);
                    this._-16P.removeEventListener(WindowEvent._-jw, this._-4AC);
                    this._-16P = null;
                };
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (this._-16P.iterator);
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-jX._-25t(this._-3AA));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            if (this._disposed)
            {
                return;
            };
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-2G8:
                        this.vertical = Boolean(k.value);
                        break;
                };
            };
        }
        public function get vertical():Boolean
        {
            return (this._-3AA);
        }
        public function set vertical(_arg1:Boolean):void
        {
            this._-3AA = _arg1;
            this.refresh();
        }
        private function refresh():void
        {
            var k:IWindow;
            var k:BitmapData;
            var k:Point;
            if (this._disposed)
            {
                return;
            };
            if ((((((this._-Jg == null)) || (!((this._-Jg.width == this._-06f.width))))) || (!((this._-Jg.height == this._-06f.height)))))
            {
                if (this._-Jg != null)
                {
                    this._-Jg.dispose();
                };
                this._-Jg = new BitmapData(Math.max(1, this._-06f.width), Math.max(1, this._-06f.height), true, 0);
                this._-06f.bitmap = this._-Jg;
            };
            this._-Jg.lock();
            this._-Jg.fillRect(new Rectangle(0, 0, this._-06f.width, this._-06f.height), 0);
            var k:BitmapDataAsset = (this._-U-.assets.getAssetByName(((this._-3AA) ? _-3Te : _-2AV)) as BitmapDataAsset);
            if (k != null)
            {
                k = (k.content as BitmapData);
                if (this._-3AA)
                {
                    k = new Point(((this._-06f.width / 2) - 1), 0);
                    while (k.y < this._-06f.height)
                    {
                        this._-Jg.copyPixels(k, k.rectangle, k);
                        k.y = (k.y + k.rectangle.height);
                    };
                }
                else
                {
                    k = new Point(0, ((this._-06f.height / 2) - 1));
                    while (k.x < this._-06f.width)
                    {
                        this._-Jg.copyPixels(k, k.rectangle, k);
                        k.x = (k.x + k.rectangle.width);
                    };
                };
            };
            for each (k in this._-16P.iterator)
            {
                if (k.visible)
                {
                    this._-Jg.fillRect(k.rectangle, 0);
                };
            };
            this._-Jg.unlock();
            this._-06f.invalidate();
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-12U

package _-0Ix
{
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-1ae.IBitmapWrapperWindow;
    import _-3Bn.LimitedItemOverlayNumberBitmapGenerator;
    import _-2SC._-38M;
    import _-3EM._-yZ;

    public class _-12U implements _-0nW 
    {

        public static const _-45i:String = "rarity_item_overlay_grid";

        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _disposed:Boolean;
        private var _-0J9:IWindowContainer;
        private var _-1KD:int;
        private var _-3e8:_-4mB;

        public function _-12U(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = IWindowContainer(this._-U-.buildFromXML(XML(this._-U-.assets.getAssetByName("rarity_item_overlay_griditem_xml").content)));
            this._-2mK._-5Ec = this._-0J9;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set rarityLevel(_arg1:int):void
        {
            this._-1KD = _arg1;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0J9.findChildByName("rarity_item_overlay_plaque_number_bitmap"));
            k.bitmap = LimitedItemOverlayNumberBitmapGenerator._-3HD(this._-U-.assets, this.rarityLevel, k.width, k.height);
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function get properties():Array
        {
            return ([]);
        }
        public function set properties(_arg1:Array):void
        {
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-1gf

package _-0Ix
{
    import _-Ew.*;

    public interface _-1gf extends _-2cX 
    {

        function get size():uint;
        function set size(_arg1:uint):void;
        function get position():uint;
        function set position(_arg1:uint):void;
        function get mode():String;
        function set mode(_arg1:String):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-1uf

package _-0Ix
{
    import _-Ew.*;

    public interface _-1uf extends _-2cX 
    {

        function get _-21y():String;
        function set _-21y(_arg1:String):void;
        function get _-2Ha():int;
        function set _-2Ha(_arg1:int):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-1WW

package _-0Ix
{
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-3Bn.LimitedItemOverlayNumberBitmapGenerator;
    import _-2SC._-38M;
    import _-3EM._-yZ;

    public class _-1WW implements _-2Aa 
    {

        public static const _-45i:String = "limited_item_overlay_preview";

        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-uq:int;
        private var _-0O:int;

        public function _-1WW(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = IWindowContainer(this._-U-.buildFromXML(XML(this._-U-.assets.getAssetByName("unique_item_overlay_preview_xml").content)));
            this._-2mK._-5Ec = this._-0J9;
        }
        public function set _-2GS(_arg1:int):void
        {
            this._-uq = _arg1;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0J9.findChildByName("unique_item_serial_number_bitmap"));
            k.bitmap = LimitedItemOverlayNumberBitmapGenerator._-3HD(this._-U-.assets, this._-2GS, k.width, k.height);
        }
        public function set _-0O1(_arg1:int):void
        {
            this._-0O = _arg1;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0J9.findChildByName("unique_item_edition_size_bitmap"));
            k.bitmap = LimitedItemOverlayNumberBitmapGenerator._-3HD(this._-U-.assets, _arg1, k.width, k.height);
        }
        public function get _-2GS():int
        {
            return (this._-uq);
        }
        public function get _-0O1():int
        {
            return (this._-0O);
        }
        public function get properties():Array
        {
            return ([]);
        }
        public function set properties(_arg1:Array):void
        {
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-0J9 == null));
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-1Xh

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-2vN._-4O-;
    import _-2vN._-1a7;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-1ae.IItemListWindow;
    import _-09j.WindowParam;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-1ae._-4mB;
    import flash.display.BitmapData;
    import _-3EM._-47w;

    public class _-1Xh implements _-1gf 
    {

        public static const _-45i:String = "progress_indicator";
        private static const _-2XC:String = (_-45i + ":style");
        private static const _-15F:String = (_-45i + ":size");
        private static const _-1Vk:String = (_-45i + ":position");
        private static const _-2Gr:String = (_-45i + ":mode");
        private static const _-Ni:PropertyStruct = new PropertyStruct(_-2XC, _-4O-._-2JZ, PropertyStruct.STRING, false, _-4O-._-5-t);
        private static const _-11N:PropertyStruct = new PropertyStruct(_-15F, 1, PropertyStruct._-02g);
        private static const _-2FY:PropertyStruct = new PropertyStruct(_-1Vk, 0, PropertyStruct._-02g);
        private static const _-hn:PropertyStruct = new PropertyStruct(_-2Gr, _-1a7._-4MX, PropertyStruct.STRING, false, _-1a7._-5-t);
        private static const _-3iz:uint = 1000;

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IItemListWindow;
        private var _-oi:uint;
        private var _-bl:String;
        private var _-3Wi:String;

        public function _-1Xh(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-oi = uint(_-2FY.value);
            this._-bl = String(_-Ni.value);
            this._-3Wi = String(_-hn.value);
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("progress_indicator_xml").content as XML)) as IItemListWindow);
            this._-2mK.setParamFlag(WindowParam._-4Uq);
            this._-2mK._-5Ec = this._-0J9;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-Ni._-25t(this._-bl));
            k.push(_-11N._-25t(this.size));
            k.push(_-2FY._-25t(this._-oi));
            k.push(_-hn._-25t(this._-3Wi));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            if (this._disposed)
            {
                return;
            };
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-2XC:
                        this.style = String(k.value);
                        break;
                    case _-15F:
                        this.size = uint(k.value);
                        break;
                    case _-1Vk:
                        this.position = uint(k.value);
                        break;
                    case _-2Gr:
                        this.mode = String(k.value);
                        break;
                };
            };
        }
        public function get style():String
        {
            return (this._-bl);
        }
        public function set style(_arg1:String):void
        {
            this._-bl = _arg1;
            this.refresh();
        }
        public function get size():uint
        {
            return (this._-0J9.numListItems);
        }
        public function set size(_arg1:uint):void
        {
            k = Math.min(Math.max(_arg1, 1), _-3iz);
            if (k != this.size)
            {
                while (k < this.size)
                {
                    this._-0J9._-3yK((this.size - 1));
                };
                while (k > this.size)
                {
                    this._-0J9.addListItem(this._-0J9.getListItemAt(0).clone());
                };
                this.refresh();
            };
        }
        public function get position():uint
        {
            return (this._-oi);
        }
        public function set position(_arg1:uint):void
        {
            this._-oi = _arg1;
            this.refresh();
        }
        public function get mode():String
        {
            return (this._-3Wi);
        }
        public function set mode(_arg1:String):void
        {
            this._-3Wi = _arg1;
            this.refresh();
        }
        private function refresh():void
        {
            var k:_-4mB;
            var k:Boolean;
            var k:BitmapData;
            var k:int;
            while (k < this.size)
            {
                k = (this._-0J9.getListItemAt(k) as _-4mB);
                switch (this._-3Wi)
                {
                    case _-1a7._-4MX:
                        k = ((k + 1) == this.position);
                        break;
                    case _-1a7.PROGRESS:
                        k = (k < this.position);
                        break;
                };
                k.assetUri = (("progress_disk_" + this._-bl) + ((k) ? "_on" : "_off"));
                k = _-47w(k).bitmapData;
                k.width = k.width;
                k.height = k.height;
                this._-0J9.height = k.height;
                k++;
            };
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-26h

package _-0Ix
{
    public interface _-26h extends _-3eH 
    {

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-2Aa

package _-0Ix
{
    public interface _-2Aa extends _-3RG 
    {

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-2Zl

package _-0Ix
{
    import _-Ew.*;

    public interface _-2Zl extends _-2cX 
    {

        function get _-55h():int;
        function set _-55h(_arg1:int):void;
        function get running():Boolean;
        function set running(_arg1:Boolean):void;
        function get _-04E():uint;
        function set _-04E(_arg1:uint):void;
        function get seconds():int;
        function set seconds(_arg1:int):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-3eH

package _-0Ix
{
    import _-Ew.*;

    public interface _-3eH extends _-2cX 
    {

        function set rarityLevel(_arg1:int):void;
        function get rarityLevel():int;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-3La

package _-0Ix
{
    import _-Ew.*;

    public interface _-3La extends _-2cX 
    {

        function get figure():String;
        function set figure(_arg1:String):void;
        function get scale():String;
        function set scale(_arg1:String):void;
        function get _-38I():Boolean;
        function set _-38I(_arg1:Boolean):void;
        function get _-4i():Boolean;
        function set _-4i(_arg1:Boolean):void;
        function get direction():int;
        function set direction(_arg1:int):void;
        function get userId():int;
        function set userId(_arg1:int):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-3ol

package _-0Ix
{
    import _-Ew.*;

    public interface _-3ol extends _-2cX 
    {

        function get number():int;
        function set number(_arg1:int):void;
        function set _-05S(_arg1:int):void;
        function get _-04E():uint;
        function set _-04E(_arg1:uint):void;
        function get _-55h():int;
        function set _-55h(_arg1:int):void;
        function get _-4Rh():int;
        function set _-4Rh(_arg1:int):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-3RG

package _-0Ix
{
    import _-Ew.*;

    public interface _-3RG extends _-2cX 
    {

        function set _-2GS(_arg1:int):void;
        function set _-0O1(_arg1:int):void;
        function get _-2GS():int;
        function get _-0O1():int;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-4hg

package _-0Ix
{
    import _-Ew.*;

    public interface _-4hg extends _-2cX 
    {

        function get vertical():Boolean;
        function set vertical(_arg1:Boolean):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-4PA

package _-0Ix
{
    import _-Ew.*;

    public interface _-4PA extends _-2cX 
    {

        function get _-0wn():Boolean;
        function set _-0wn(_arg1:Boolean):void;
        function get userName():String;
        function set userName(_arg1:String):void;
        function get userId():int;
        function set userId(_arg1:int):void;
        function get figure():String;
        function set figure(_arg1:String):void;
        function get message():String;
        function set message(_arg1:String):void;
        function get timeStamp():Number;
        function set timeStamp(_arg1:Number):void;
        function set _-3ny(_arg1:Boolean):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-4qj

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae.IButtonWindow;
    import _-1ae.ITextFieldWindow;
    import _-1ae._-2aK;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-09j.WindowParam;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowKeyboardEvent;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;

    public class _-4qj implements _-0wK 
    {

        public static const _-45i:String = "illumina_input";
        private static const _-Cr:String = (_-45i + ":button_caption");
        private static const _-1sj:String = (_-45i + ":empty_message");
        private static const _-2iJ:String = (_-45i + ":multiline");
        private static const _-15L:String = (_-45i + ":max_chars");
        private static const _-28S:String = (_-45i + ":white_list_words");
        private static const _-4Rw:PropertyStruct = new PropertyStruct(_-Cr, "${widgets.chatinput.say}", PropertyStruct.STRING);
        private static const _-4p-:PropertyStruct = new PropertyStruct(_-1sj, "", PropertyStruct.STRING);
        private static const _-3hM:PropertyStruct = new PropertyStruct(_-2iJ, false, PropertyStruct._-11e);
        private static const _-Bl:PropertyStruct = new PropertyStruct(_-15L, 0, PropertyStruct._-48r);
        private static const _-0Bc:PropertyStruct = new PropertyStruct(_-28S, false, PropertyStruct._-11e);
        private static const _-xC:int = 28;

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-1bT:IButtonWindow;
        private var _-3Kd:ITextFieldWindow;
        private var _-UB:_-2aK;
        private var _-0gl:_-572;

        public function _-4qj(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("illumina_input_xml").content as XML)) as IWindowContainer);
            this._-0J9.width = this._-2mK.width;
            this._-1bT = (this._-0J9.findChildByName("submit") as IButtonWindow);
            this._-3Kd = (this._-0J9.findChildByName("input") as ITextFieldWindow);
            this._-UB = (this._-0J9.findChildByName("empty_message") as _-2aK);
            this._-0lq = String(_-4Rw.value);
            this._-4cW = String(_-4p-.value);
            this.multiline = Boolean(_-3hM.value);
            this.maxChars = int(_-Bl.value);
            this.refresh();
            this._-0J9.procedure = this._-4rF;
            this._-2mK._-5Ec = this._-0J9;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-3Kd != null)
                {
                    this._-3Kd = null;
                };
                this._-1bT = null;
                this._-UB = null;
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-4Rw._-25t(this._-0lq));
            k.push(_-4p-._-25t(this._-4cW));
            k.push(_-3hM._-25t(this.multiline));
            k.push(_-Bl._-25t(this.maxChars));
            k.push(_-0Bc._-25t(this._-4Xa));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            if (this._disposed)
            {
                return;
            };
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-Cr:
                        this._-0lq = String(k.value);
                        break;
                    case _-1sj:
                        this._-4cW = String(k.value);
                        break;
                    case _-2iJ:
                        this.multiline = Boolean(k.value);
                        break;
                    case _-15L:
                        this.maxChars = int(k.value);
                        break;
                    case _-28S:
                        this._-4Xa = Boolean(k.value);
                        break;
                };
            };
        }
        public function get _-0lq():String
        {
            return (this._-1bT.caption);
        }
        public function set _-0lq(_arg1:String):void
        {
            this._-1bT.caption = _arg1;
            this._-1bT.visible = ((!((_arg1 == null))) && ((_arg1.length > 0)));
            this.refresh();
        }
        public function get _-4cW():String
        {
            return (this._-UB.caption);
        }
        public function set _-4cW(_arg1:String):void
        {
            this._-UB.caption = _arg1;
        }
        public function get multiline():Boolean
        {
            return (this._-3Kd.multiline);
        }
        public function set multiline(_arg1:Boolean):void
        {
            this._-3Kd.multiline = _arg1;
            this._-0J9.setParamFlag(WindowParam._-0Ef, _arg1);
            this._-0J9.height = ((_arg1) ? this._-2mK.height : _-xC);
        }
        public function get maxChars():int
        {
            return (this._-3Kd.maxChars);
        }
        public function get _-4Xa():Boolean
        {
            return (this._-3Kd._-3sq);
        }
        public function set _-4Xa(_arg1:Boolean):void
        {
            this._-3Kd._-3sq = _arg1;
        }
        public function set maxChars(_arg1:int):void
        {
            this._-3Kd.maxChars = _arg1;
        }
        public function get message():String
        {
            return (this._-3Kd.caption);
        }
        public function set message(_arg1:String):void
        {
            this._-3Kd.caption = _arg1;
            this.refresh();
        }
        public function get _-2Id():_-572
        {
            return (this._-0gl);
        }
        public function set _-2Id(_arg1:_-572):void
        {
            this._-0gl = _arg1;
        }
        private function _-4rF(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case WindowEvent._-0cZ:
                    if (_arg2 == this._-3Kd)
                    {
                        this.refresh();
                    };
                    return;
                case WindowKeyboardEvent._-2CS:
                    if ((((((_arg2 == this._-3Kd)) && ((WindowKeyboardEvent(_arg1).charCode == 13)))) && (this._-1bT.visible)))
                    {
                        this._-3Ki();
                    };
                    return;
                case WindowMouseEvent._-90:
                    if (_arg2 == this._-1bT)
                    {
                        this._-3Ki();
                    };
                    return;
            };
        }
        private function _-3Ki():void
        {
            if (this._-0gl != null)
            {
                this._-0gl._-2tx(this._-2mK, this.message);
            };
        }
        private function refresh():void
        {
            this._-UB.visible = (this._-3Kd.length == 0);
            this._-3Kd.width = (((this._-1bT.visible) ? this._-1bT.x : this._-0J9.width) - (this._-3Kd.x * 2));
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-4UF

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-2vN._-o5;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-0Ie.WindowEvent;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import _-2ly._-0d3;

    public class _-4UF implements _-1uf 
    {

        public static const _-45i:String = "balloon";
        private static const _-1t0:String = (_-45i + ":arrow_pivot");
        private static const _-24k:String = (_-45i + ":arrow_displacement");
        private static const _-3ig:PropertyStruct = new PropertyStruct(_-1t0, _-o5._-4b2, PropertyStruct.STRING, false, _-o5._-5-t);
        private static const _-2S7:PropertyStruct = new PropertyStruct(_-24k, 0, PropertyStruct._-48r);
        private static const _-Yt:String = "illumina_light_balloon_arrow_";
        private static const _-96:int = 6;
        private static const _-32K:int = 6;
        private static const _-0W5:int = 9;

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-4vw:Boolean = false;
        private var _-4uU:Boolean = false;
        private var _-0J9:IWindowContainer;
        private var _-Ht:IWindowContainer;
        private var _-H8:_-4mB;
        private var _-39Q:String;
        private var _-3Yt:int;

        public function _-4UF(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-39Q = String(_-3ig.value);
            this._-3Yt = int(_-2S7.value);
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("balloon_xml").content as XML)) as IWindowContainer);
            this._-H8 = (this._-0J9.findChildByName("bitmap") as _-4mB);
            this._-Ht = (this._-0J9.findChildByName("border") as IWindowContainer);
            this._-1WF();
            this._-2mK.addEventListener(WindowEvent._-4hh, this._-4AC);
            this._-2mK.addEventListener(WindowEvent._-3K0, this._-4AC);
            this._-Ht.addEventListener(WindowEvent._-4hh, this._-4AC);
            this._-Ht.addEventListener(WindowEvent._-3K0, this._-4AC);
            this._-2mK._-5Ec = this._-0J9;
            this._-0J9.width = this._-2mK.width;
            this._-0J9.height = this._-2mK.height;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-Ht != null)
                {
                    this._-Ht.removeEventListener(WindowEvent._-4hh, this._-4AC);
                    this._-Ht.removeEventListener(WindowEvent._-3K0, this._-4AC);
                    this._-Ht = null;
                };
                this._-H8 = null;
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK.removeEventListener(WindowEvent._-4hh, this._-4AC);
                    this._-2mK.removeEventListener(WindowEvent._-3K0, this._-4AC);
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return ((((this._-Ht == null)) ? _-38M._-Kj : this._-Ht.iterator));
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-3ig._-25t(this._-39Q));
            k.push(_-2S7._-25t(this._-3Yt));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            this._-4vw = true;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-1t0:
                        this._-21y = String(k.value);
                        break;
                    case _-24k:
                        this._-2Ha = int(k.value);
                        break;
                };
            };
            this._-4vw = false;
            this.refresh();
        }
        public function get _-21y():String
        {
            return (this._-39Q);
        }
        public function set _-21y(_arg1:String):void
        {
            this._-39Q = _arg1;
            this._-2J7();
            this.refresh();
            this._-1WF();
            this.refresh();
        }
        public function get _-2Ha():int
        {
            return (this._-3Yt);
        }
        public function set _-2Ha(_arg1:int):void
        {
            this._-3Yt = _arg1;
            this.refresh();
        }
        private function _-4AC(_arg1:WindowEvent):void
        {
            this.refresh();
        }
        private function _-1WF():void
        {
            if (this._-Ht != null)
            {
                this._-Ht.setParamFlag(WindowParam._-Bh, this._-2mK._-52W(WindowParam._-Bh));
                this._-Ht.setParamFlag(WindowParam._-4Uq, this._-2mK._-52W(WindowParam._-4Uq));
            };
        }
        private function _-2J7():void
        {
            if (this._-Ht != null)
            {
                this._-Ht.setParamFlag(WindowParam._-Bh, false);
                this._-Ht.setParamFlag(WindowParam._-4Uq, false);
            };
        }
        private function refresh():void
        {
            var k:int;
            var k:int;
            var k:int;
            if (((((((this._-4vw) || (this._-4uU))) || (this._disposed))) || ((this._-Ht == null))))
            {
                return;
            };
            var k:String = _-o5._-OW(this._-39Q);
            switch (k)
            {
                case _-o5.UP:
                case _-o5.DOWN:
                    k = this._-Ht.width;
                    k = ((this._-Ht.height + _-32K) - 1);
                    break;
                case _-o5.LEFT:
                case _-o5.RIGHT:
                    k = ((this._-Ht.width + _-32K) - 1);
                    k = this._-Ht.height;
                    break;
            };
            this._-4uU = true;
            if (this._-2mK._-1s-(WindowParam._-4Uq))
            {
                this._-0J9.width = k;
                this._-0J9.height = k;
            }
            else
            {
                if (this._-2mK._-1s-(WindowParam._-Bh))
                {
                    this._-0J9.width = Math.max(this._-2mK.width, k);
                    this._-0J9.height = Math.max(this._-2mK.height, k);
                }
                else
                {
                    this._-0J9.width = this._-2mK.width;
                    this._-0J9.height = this._-2mK.height;
                };
            };
            this._-2mK.width = this._-0J9.width;
            this._-2mK.height = this._-0J9.height;
            this._-4uU = false;
            this._-H8.assetUri = (_-Yt + k);
            switch (k)
            {
                case _-o5.UP:
                case _-o5.DOWN:
                    switch (_-o5._-3oH(this._-39Q))
                    {
                        case _-o5._-07Z:
                            k = _-96;
                            break;
                        case _-o5._-2Aq:
                            k = ((this._-0J9.width - _-0W5) / 2);
                            break;
                        case _-o5._-1Gh:
                            k = ((this._-0J9.width - _-96) - _-0W5);
                            break;
                    };
                    this._-4uU = true;
                    this._-Ht.rectangle = new Rectangle(0, (((k == _-o5.UP)) ? (_-32K - 1) : 0), this._-0J9.width, ((this._-0J9.height + 1) - _-32K));
                    this._-4uU = false;
                    this._-H8.rectangle = new Rectangle(_-0d3._-4Jf((k + this._-3Yt), _-96, (this._-0J9.width - _-96)), (((k == _-o5.UP)) ? 0 : (this._-Ht.bottom - 1)), _-0W5, _-32K);
                    return;
                case _-o5.LEFT:
                case _-o5.RIGHT:
                    switch (_-o5._-3oH(this._-39Q))
                    {
                        case _-o5._-07Z:
                            k = _-96;
                            break;
                        case _-o5._-2Aq:
                            k = ((this._-0J9.height - _-0W5) / 2);
                            break;
                        case _-o5._-1Gh:
                            k = ((this._-0J9.height - _-96) - _-0W5);
                            break;
                    };
                    this._-4uU = true;
                    this._-Ht.rectangle = new Rectangle((((k == _-o5.LEFT)) ? (_-32K - 1) : 0), 0, ((this._-0J9.width + 1) - _-32K), this._-0J9.height);
                    this._-4uU = false;
                    this._-H8.rectangle = new Rectangle((((k == _-o5.LEFT)) ? 0 : (this._-Ht.right - 1)), _-0d3._-4Jf((k + this._-3Yt), _-96, (this._-0J9.height - _-96)), _-32K, _-0W5);
                    return;
            };
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-4W-

package _-0Ix
{
    import flash.utils.Timer;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-1ae._-2aK;
    import _-09j.WindowType;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import flash.events.TimerEvent;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-2ly._-28n;

    public class _-4W- implements _-0la 
    {

        public static const _-45i:String = "updating_timestamp";
        private static const _-1pS:Timer = new Timer(60000);

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:_-2aK;
        private var _-1Jv:Number;

        {
            _-1pS.start();
        }
        public function _-4W-(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.create("", WindowType._-VE, 100, WindowParam._-Cp, new Rectangle()) as _-2aK);
            this._-0J9.textColor = 0x555555;
            this._-2mK._-5Ec = this._-0J9;
            _-1pS.addEventListener(TimerEvent.TIMER, this._-2OY);
            this.reset();
        }
        public function reset():void
        {
            this._-1Jv = new Date().getTime();
            this._-2OY();
        }
        public function get properties():Array
        {
            return ([]);
        }
        public function set properties(_arg1:Array):void
        {
        }
        public function set align(_arg1:String):void
        {
            this._-0J9.defaultTextFormat.align = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                _-1pS.removeEventListener(TimerEvent.TIMER, this._-2OY);
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function get timeStamp():Number
        {
            return (this._-1Jv);
        }
        public function set timeStamp(_arg1:Number):void
        {
            this._-1Jv = _arg1;
            this._-2OY();
        }
        private function _-2OY(_arg1:TimerEvent=null):void
        {
            this._-0J9.caption = _-28n._-kh(this._-U-.localization, ((new Date().getTime() - this._-1Jv) / 1000), ".ago", 1);
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-4WY

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-1ae._-4mB;
    import _-0Ie.WindowMouseEvent;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-484._-0S0;

    public class _-4WY implements _-GP 
    {

        public static const _-45i:String = "hover_bitmap";
        private static const _-4zb:String = (_-45i + ":hover_asset");
        private static const _-1NH:String = (_-45i + ":normal_asset");
        private static const _-30L:PropertyStruct = new PropertyStruct(_-4zb, null, PropertyStruct.STRING);
        private static const _-0s2:PropertyStruct = new PropertyStruct(_-1NH, null, PropertyStruct.STRING);

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _bitmap:_-4mB;
        private var _-Ey:String;
        private var _-E2:String;
        private var _-1zY:Boolean = false;

        public function _-4WY(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._bitmap = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("hover_bitmap_xml").content as XML)) as _-4mB);
            this._bitmap.addEventListener(WindowMouseEvent._-4ea, this._-1hF);
            this._bitmap.addEventListener(WindowMouseEvent._-4e2, this._-45Q);
            this._-2mK._-5Ec = this._bitmap;
            this._bitmap.width = this._-2mK.width;
            this._bitmap.height = this._-2mK.height;
            this._bitmap.invalidate();
        }
        private function _-1hF(_arg1:WindowMouseEvent):void
        {
            this._-1zY = true;
            this._bitmap.assetUri = this._-E2;
        }
        private function _-45Q(_arg1:WindowMouseEvent):void
        {
            this._-1zY = false;
            this._bitmap.assetUri = this._-Ey;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._bitmap != null)
                {
                    this._bitmap.dispose();
                    this._bitmap = null;
                };
                this._-2mK._-5Ec = null;
                this._-2mK = null;
                this._-U- = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function get properties():Array
        {
            var k:PropertyStruct;
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-0s2._-25t(this._-Ey));
            k.push(_-30L._-25t(this._-E2));
            if (this._bitmap != null)
            {
                for each (k in this._bitmap.properties)
                {
                    if (k.key != _-0S0._-0Zd)
                    {
                        k.push(k);
                    };
                };
            };
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            if (this._disposed)
            {
                return;
            };
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-1NH:
                        this.native = String(k.value);
                        break;
                    case _-4zb:
                        this._-2oM = String(k.value);
                        break;
                };
            };
            if (this._bitmap != null)
            {
                this._bitmap.properties = _arg1;
                this._bitmap.invalidate();
            };
        }
        public function get native():String
        {
            return (this._-Ey);
        }
        public function set native(_arg1:String):void
        {
            this._-Ey = _arg1;
            if (!this._-1zY)
            {
                this._bitmap.assetUri = this._-Ey;
            };
        }
        public function get _-2oM():String
        {
            return (this._-E2);
        }
        public function set _-2oM(_arg1:String):void
        {
            this._-E2 = _arg1;
            if (this._-1zY)
            {
                this._bitmap.assetUri = this._-E2;
            };
        }
        public function get _-2AP():_-4mB
        {
            return (this._bitmap);
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-4xG

package _-0Ix
{
    public interface _-4xG extends _-3RG 
    {

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-53V

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-09j.WindowParam;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-1ae.ITextWindow;
    import _-1B-.*;

    public class _-53V implements _-3ol, _-0gI 
    {

        public static const _-45i:String = "running_number";
        private static const _-7O:String = (_-45i + ":number");
        private static const _-0WW:String = (_-45i + ":digits");
        private static const _-17s:String = (_-45i + ":color_style");
        private static const _-08A:String = (_-45i + ":update_frequency");
        private static const _-0fU:PropertyStruct = new PropertyStruct(_-7O, 0, PropertyStruct._-48r);
        private static const _-0TB:PropertyStruct = new PropertyStruct(_-0WW, 8, PropertyStruct._-02g);
        private static const _-02U:PropertyStruct = new PropertyStruct(_-17s, 0, PropertyStruct._-48r);
        private static const _-2r8:PropertyStruct = new PropertyStruct(_-08A, 50, PropertyStruct._-48r);

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-0pc:int;
        private var _-347:uint;
        private var _-3pP:int;
        private var _-01X:int;
        private var _-2aA:Number = 0;
        private var _-5-8:uint = 0;

        public function _-53V(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-0pc = int(_-02U.value);
            this._-347 = uint(_-0TB.value);
            this._-3pP = int(_-2r8.value);
            this._-01X = int(_-0fU.value);
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("running_number_xml").content as XML)) as IWindowContainer);
            this._-U-.registerUpdateReceiver(this, this._-3pP);
            this._-2mK.setParamFlag(WindowParam._-4Uq);
            this._-2mK._-5Ec = this._-0J9;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U-.removeUpdateReceiver(this);
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-0fU._-25t(this._-55h));
            k.push(_-02U._-25t(this._-55h));
            k.push(_-0TB._-25t(this._-04E));
            k.push(_-2r8._-25t(this._-4Rh));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            if (this._disposed)
            {
                return;
            };
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-7O:
                        this.number = int(k.value);
                        break;
                    case _-0WW:
                        this._-04E = uint(k.value);
                        break;
                    case _-17s:
                        this._-55h = int(k.value);
                        break;
                    case _-08A:
                        this._-4Rh = int(k.value);
                        break;
                };
            };
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function update(_arg1:uint):void
        {
            if (this._-2aA < this.number)
            {
                this._-5-8 = (this._-5-8 + _arg1);
                if (this._-5-8 > this._-3pP)
                {
                    this._-2aA = Math.min(this._-01X, (this._-2aA + (this._-5-8 / this._-3pP)));
                    this._-5-8 = (this._-5-8 - this._-3pP);
                };
                this._-0mF = this._-2aA;
            };
        }
        private function set _-0mF(_arg1:uint):void
        {
            var k:String = _arg1.toString();
            while (k.length < this._-347)
            {
                k = ("0" + k);
            };
            var k:ITextWindow = ITextWindow(this._-0J9.findChildByName("number_field"));
            k.text = k;
            k.invalidate();
        }
        public function get _-04E():uint
        {
            return (this._-347);
        }
        public function set _-04E(_arg1:uint):void
        {
            this._-347 = _arg1;
        }
        public function get _-55h():int
        {
            return (this._-0pc);
        }
        public function set _-55h(_arg1:int):void
        {
            this._-0pc = _arg1;
        }
        public function get _-4Rh():int
        {
            return (this._-3pP);
        }
        public function set _-4Rh(_arg1:int):void
        {
            this._-3pP = _arg1;
        }
        public function get number():int
        {
            return (this._-01X);
        }
        public function set number(_arg1:int):void
        {
            this._-01X = _arg1;
        }
        public function set _-05S(_arg1:int):void
        {
            this._-2aA = _arg1;
            this._-01X = _arg1;
            this._-0mF = this._-2aA;
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-572

package _-0Ix
{
    import _-1ae._-3Yi;

    public interface _-572 
    {

        function _-2tx(_arg1:_-3Yi, _arg2:String):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-5W

package _-0Ix
{
    import _-Ew.*;

    public interface _-5W extends _-2cX 
    {

        function get _-1bK():String;
        function set _-1bK(_arg1:String):void;
        function get _-2Vz():String;
        function set _-2Vz(_arg1:String):void;
        function get _-4US():uint;
        function set _-4US(_arg1:uint):void;
        function get _-3EZ():uint;
        function set _-3EZ(_arg1:uint):void;
        function get _-0-J():uint;
        function set _-0-J(_arg1:uint):void;
        function get _-50i():String;
        function set _-50i(_arg1:String):void;
        function get _-2RV():String;
        function set _-2RV(_arg1:String):void;
        function get _-0d6():String;
        function set _-0d6(_arg1:String):void;
        function get _-1a8():String;
        function set _-1a8(_arg1:String):void;
        function get _-4DN():String;
        function set _-4DN(_arg1:String):void;
        function get _-4wj():String;
        function set _-4wj(_arg1:String):void;
        function get _-Mi():Boolean;
        function set _-Mi(_arg1:Boolean):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-aY

package _-0Ix
{
    import _-3EM.*;
    import _-Ew.*;

    public interface _-aY extends _-2cX, _-47w 
    {

        function get type():String;
        function set type(_arg1:String):void;
        function get badgeId():String;
        function set badgeId(_arg1:String):void;
        function get groupId():int;
        function set groupId(_arg1:int):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-GP

package _-0Ix
{
    import _-1ae._-4mB;
    import _-Ew.*;

    public interface _-GP extends _-2cX 
    {

        function get _-2AP():_-4mB;
        function get native():String;
        function set native(_arg1:String):void;
        function get _-2oM():String;
        function set _-2oM(_arg1:String):void;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix._-oy

package _-0Ix
{
    public interface _-oy extends _-3RG 
    {

        function set _-2lp(_arg1:int):void;
        function get _-2lp():int;

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix.AvatarImageWidget

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-0se._-1uH;
    import _-2vN._-3Xv;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import flash.display.BitmapData;
    import _-0Pi._-RA;
    import _-4Kb.*;

    public class AvatarImageWidget implements _-3La, _-3QA 
    {

        public static const _-45i:String = "avatar_image";
        private static const _-4zX:String = (_-45i + ":figure");
        private static const _-3e0:String = (_-45i + ":scale");
        private static const _-30U:String = (_-45i + ":only_head");
        private static const _-4Gk:String = (_-45i + ":cropped");
        private static const _-0sv:String = (_-45i + ":direction");
        private static const _-3Sy:Array = ["northeast", "east", "southeast", "south", "southwest", "west", "northwest", "north"];
        private static const _-4IM:PropertyStruct = new PropertyStruct(_-4zX, "hr-893-45.hd-180-2.ch-210-66.lg-270-82.sh-300-91.wa-2007-.ri-1-", PropertyStruct.STRING);
        private static const _-1Yw:PropertyStruct = new PropertyStruct(_-3e0, _-1uH._-JU, PropertyStruct.STRING, false, [_-1uH._-Pq, _-1uH._-JU]);
        private static const _-26V:PropertyStruct = new PropertyStruct(_-30U, false, PropertyStruct._-11e);
        private static const _-4Hv:PropertyStruct = new PropertyStruct(_-4Gk, false, PropertyStruct._-11e);
        private static const _-2wG:PropertyStruct = new PropertyStruct(_-0sv, _-3Sy[_-3Xv._-1Ag], PropertyStruct.STRING, false, _-3Sy);

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _bitmap:IBitmapWrapperWindow;
        private var _-4y2:IRegionWindow;
        private var _-5AE:String;
        private var _-3Tb:String;
        private var _-0LZ:Boolean;
        private var _cropped:Boolean;
        private var _-3r2:int;
        private var _-4lu:int;

        public function AvatarImageWidget(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-5AE = String(_-4IM.value);
            this._-3Tb = String(_-1Yw.value);
            this._-0LZ = Boolean(_-26V.value);
            this._cropped = Boolean(_-4Hv.value);
            this._-3r2 = _-3Sy.indexOf(String(_-2wG.value));
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("avatar_image_xml").content as XML)) as IWindowContainer);
            this._bitmap = (this._-0J9.findChildByName("bitmap") as IBitmapWrapperWindow);
            this._-4y2 = (this._-0J9.findChildByName("region") as IRegionWindow);
            this._-4y2.addEventListener(WindowMouseEvent._-90, this.onClick);
            this.refresh();
            this._-2mK._-5Ec = this._-0J9;
            this._-0J9.width = this._-2mK.width;
            this._-0J9.height = this._-2mK.height;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-4y2 != null)
                {
                    this._-4y2.removeEventListener(WindowMouseEvent._-90, this.onClick);
                    this._-4y2.dispose();
                    this._-4y2 = null;
                };
                this._bitmap = null;
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-4IM._-25t(this._-5AE));
            k.push(_-1Yw._-25t(this._-3Tb));
            k.push(_-26V._-25t(this._-0LZ));
            k.push(_-4Hv._-25t(this._cropped));
            k.push(_-2wG._-25t(_-3Sy[this._-3r2]));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-4zX:
                        this.figure = String(k.value);
                        break;
                    case _-3e0:
                        this.scale = String(k.value);
                        break;
                    case _-30U:
                        this._-38I = Boolean(k.value);
                        break;
                    case _-4Gk:
                        this._-4i = Boolean(k.value);
                        break;
                    case _-0sv:
                        this.direction = _-3Sy.indexOf(String(k.value));
                        break;
                };
            };
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function set figure(_arg1:String):void
        {
            this._-5AE = this._-1vH(_arg1);
            this.refresh();
        }
        public function get scale():String
        {
            return (this._-3Tb);
        }
        public function set scale(_arg1:String):void
        {
            this._-3Tb = _arg1;
            this.refresh();
        }
        public function get _-38I():Boolean
        {
            return (this._-0LZ);
        }
        public function set _-38I(_arg1:Boolean):void
        {
            this._-0LZ = _arg1;
            this.refresh();
        }
        public function get _-4i():Boolean
        {
            return (this._cropped);
        }
        public function set _-4i(_arg1:Boolean):void
        {
            this._cropped = _arg1;
            this.refresh();
        }
        public function get direction():int
        {
            return (this._-3r2);
        }
        public function set direction(_arg1:int):void
        {
            this._-3r2 = _arg1;
            this.refresh();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function set userId(_arg1:int):void
        {
            this._-4lu = _arg1;
            this._-4y2.visible = (this._-4lu > 0);
        }
        public function _-0-V(_arg1:String):void
        {
            if (this._-1vH(_arg1) == this._-5AE)
            {
                this.refresh();
            };
        }
        private function refresh():void
        {
            var k:_-40f;
            var k:String;
            this._bitmap.bitmap = null;
            if (this._-U-._-uU != null)
            {
                k = this._-U-._-uU.createAvatarImage(this._-5AE, this._-3Tb, null, this);
                if (k != null)
                {
                    k.setDirection(((this._-0LZ) ? _-24J._-0GH : _-24J._-2YU), this._-3r2);
                    if (this._cropped)
                    {
                        this._bitmap.bitmap = k._-1hx(((this._-0LZ) ? _-24J._-0GH : _-24J._-2YU));
                    }
                    else
                    {
                        this._bitmap.bitmap = k._-2Xc(((this._-0LZ) ? _-24J._-0GH : _-24J._-2YU), true);
                    };
                    this._bitmap._-30Z = true;
                    k.dispose();
                };
            };
            if ((((this._bitmap.bitmap == null)) || ((this._bitmap.bitmap.width < 2))))
            {
                k = (((("placeholder_avatar" + (((this._-3Tb == _-1uH._-Pq)) ? "_small" : "")) + ((this._-0LZ) ? "_head" : "")) + ((this._cropped) ? "_cropped" : "")) + "_png");
                this._bitmap.bitmap = (this._-U-.assets.getAssetByName(k).content as BitmapData);
                this._bitmap._-30Z = false;
            };
            this._bitmap.invalidate();
            this._-2mK.width = this._bitmap.bitmap.width;
            this._-2mK.height = this._bitmap.bitmap.height;
        }
        private function _-1vH(_arg1:String):String
        {
            return ((((_arg1 == null)) ? String(_-4IM.value) : _arg1.replace(/NaN/g, "")));
        }
        private function onClick(_arg1:WindowMouseEvent):void
        {
            if (this._-4lu > 0)
            {
                this._-U-.communication._-4gR(null).send(new _-RA(this._-4lu));
            };
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix.BadgeImageWidget

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-2vN._-1J;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-1ae.IRegionWindow;
    import _-2It._-0RK;
    import _-2It._-21L;
    import _-0Ie.WindowMouseEvent;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-484._-0S0;
    import _-3EM._-47w;
    import flash.display.BitmapData;
    import _-0Pi._-1Eb;
    import _-50-.GameConfigurations;

    public class BadgeImageWidget implements _-aY 
    {

        public static const _-45i:String = "badge_image";
        private static const _-yI:String = (_-45i + ":type");
        private static const _-xa:String = (_-45i + ":badge_id");
        private static const _-0jV:PropertyStruct = new PropertyStruct(_-yI, _-1J.NORMAL, PropertyStruct.STRING, false, _-1J._-5-t);
        private static const _-2A9:PropertyStruct = new PropertyStruct(_-xa, "", PropertyStruct.STRING);

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0-E:Boolean;
        private var _-0J9:IWindowContainer;
        private var _bitmap:_-4mB;
        private var _-4y2:IRegionWindow;
        private var _-5K:String;
        private var _-5Dg:String;
        private var _-5CV:int;
        private var _-1FO:_-0RK;
        private var _-7r:_-21L;

        public function BadgeImageWidget(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-5K = String(_-0jV.value);
            this._-5Dg = String(_-2A9.value);
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("badge_image_xml").content as XML)) as IWindowContainer);
            this._bitmap = (this._-0J9.findChildByName("bitmap") as _-4mB);
            this._-4y2 = (this._-0J9.findChildByName("region") as IRegionWindow);
            this._-4y2.addEventListener(WindowMouseEvent._-90, this.onClick);
            this._-2mK._-5Ec = this._-0J9;
            this._-0J9.width = this._-2mK.width;
            this._-0J9.height = this._-2mK.height;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this.groupId = 0;
                if (this._-4y2 != null)
                {
                    this._-4y2.removeEventListener(WindowMouseEvent._-90, this.onClick);
                    this._-4y2.dispose();
                    this._-4y2 = null;
                };
                this._bitmap = null;
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function get properties():Array
        {
            var k:PropertyStruct;
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-0jV._-25t(this._-5K));
            k.push(_-2A9._-25t(this._-5Dg));
            for each (k in this._bitmap.properties)
            {
                if (k.key != _-0S0._-0Zd)
                {
                    k.push(k._-4Ns(_-45i));
                };
            };
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            this._-0-E = true;
            var k:Array = [];
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-yI:
                        this.type = String(k.value);
                        break;
                    case _-xa:
                        this.badgeId = String(k.value);
                        break;
                };
                if (k.key != ((_-45i + ":") + _-0S0._-0Zd))
                {
                    k.push(k._-5Ex());
                };
            };
            this._bitmap.properties = k;
            this._-0-E = false;
            this.refresh();
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function set type(_arg1:String):void
        {
            this._-5K = _arg1;
            this.refresh();
        }
        public function get badgeId():String
        {
            return (this._-5Dg);
        }
        public function set badgeId(_arg1:String):void
        {
            this._-5Dg = _arg1;
            this.refresh();
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function set groupId(_arg1:int):void
        {
            this._-5CV = _arg1;
            var k:Boolean = (((this._-5K == _-1J._-3nz)) && ((this._-5CV > 0)));
            if (this._-U-)
            {
                if (((!(k)) && (!((this._-7r == null)))))
                {
                    this._-U-.communication._-3cs(this._-1FO);
                    this._-U-.communication._-3cs(this._-7r);
                    this._-1FO = null;
                    this._-7r = null;
                }
                else
                {
                    if (((k) && ((this._-7r == null))))
                    {
                        this._-1FO = new _-0RK(this._-0Ww);
                        this._-7r = new _-21L(this._-2M9);
                        this._-U-.communication.addHabboConnectionMessageEvent(this._-1FO);
                        this._-U-.communication.addHabboConnectionMessageEvent(this._-7r);
                    };
                };
            };
        }
        public function get bitmapData():BitmapData
        {
            return (_-47w(this._bitmap).bitmapData);
        }
        public function get pivotPoint():uint
        {
            return (this._bitmap.pivotPoint);
        }
        public function set pivotPoint(_arg1:uint):void
        {
            this._bitmap.pivotPoint = _arg1;
            this._bitmap.invalidate();
        }
        public function get stretchedX():Boolean
        {
            return (this._bitmap.stretchedX);
        }
        public function set stretchedX(_arg1:Boolean):void
        {
            this._bitmap.stretchedX = _arg1;
            this._bitmap.invalidate();
        }
        public function get stretchedY():Boolean
        {
            return (this._bitmap.stretchedY);
        }
        public function set stretchedY(_arg1:Boolean):void
        {
            this._bitmap.stretchedY = _arg1;
            this._bitmap.invalidate();
        }
        public function get _-yR():Number
        {
            return (this._bitmap._-yR);
        }
        public function set _-yR(_arg1:Number):void
        {
            this._bitmap._-yR = _arg1;
            this._bitmap.invalidate();
        }
        public function get _-394():Number
        {
            return (this._bitmap._-394);
        }
        public function set _-394(_arg1:Number):void
        {
            this._bitmap._-394 = _arg1;
            this._bitmap.invalidate();
        }
        public function get greyscale():Boolean
        {
            return (this._bitmap.greyscale);
        }
        public function set greyscale(_arg1:Boolean):void
        {
            this._bitmap.greyscale = _arg1;
            this._bitmap.invalidate();
        }
        public function get etchingColor():uint
        {
            return (this._bitmap.etchingColor);
        }
        public function set etchingColor(_arg1:uint):void
        {
            this._bitmap.etchingColor = _arg1;
            this._bitmap.invalidate();
        }
        public function get _-3hC():Boolean
        {
            return (this._bitmap._-3hC);
        }
        public function set _-3hC(_arg1:Boolean):void
        {
            this._bitmap._-3hC = _arg1;
            this._bitmap.invalidate();
        }
        private function onClick(_arg1:WindowMouseEvent):void
        {
            if (this._-5CV > 0)
            {
                this._-U-.communication._-4gR(null).send(new _-1Eb(this._-5CV, true));
            };
        }
        private function refresh():void
        {
            if (this._-0-E)
            {
                return;
            };
            this._bitmap.assetUri = this.assetUri;
            this._bitmap.invalidate();
        }
        private function get assetUri():String
        {
            var k:String = "";
            if (((!((this._-5Dg == null))) && ((this._-5Dg.length > 0))))
            {
                switch (this._-5K)
                {
                    case _-1J.NORMAL:
                        if (GameConfigurations._-4p0(this._-5Dg))
                        {
                            k = GameConfigurations._-4w5(this._-5Dg);
                        }
                        else
                        {
                            k = (("${image.library.url}album1584/" + this._-5Dg) + ".gif");
                        };
                        break;
                    case _-1J._-3nz:
                        k = this._-U-.configuration.getKey("group.badge.url").replace("%imagerdata%", this._-5Dg);
                        break;
                    case _-1J._-2n-:
                        k = (("${image.library.url}perk/" + this._-5Dg) + ".png");
                        break;
                };
            };
            return (k);
        }
        private function _-221(_arg1:int, _arg2:String):void
        {
            if (_arg1 != this._-5CV)
            {
                return;
            };
            this._-5Dg = _arg2;
            this._-U-._-3bG.removeAsset(this.assetUri);
            this.refresh();
        }
        private function _-0Ww(_arg1:_-0RK):void
        {
            this._-221(_arg1.groupId, this._-5Dg);
        }
        private function _-2M9(_arg1:_-21L):void
        {
            if (_arg1.badges._-VD(this._-5CV))
            {
                this._-221(this._-5CV, _arg1.badges[this._-5CV]);
            };
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix.CountdownWidget

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import flash.utils.getTimer;
    import _-09j.WindowParam;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-1B-.*;

    public class CountdownWidget implements _-2Zl, _-0gI 
    {

        public static const _-45i:String = "countdown";
        private static const _-3Pb:String = (_-45i + ":running");
        private static const _-0WW:String = (_-45i + ":digits");
        private static const _-0II:String = (_-45i + ":seconds");
        private static const _-17s:String = (_-45i + ":color_style");
        private static const _-0yb:PropertyStruct = new PropertyStruct(_-3Pb, false, PropertyStruct._-11e);
        private static const _-0TB:PropertyStruct = new PropertyStruct(_-0WW, 3, PropertyStruct._-02g);
        private static const _-2Px:PropertyStruct = new PropertyStruct(_-0II, 0, PropertyStruct._-48r);
        private static const _-02U:PropertyStruct = new PropertyStruct(_-17s, 0, PropertyStruct._-48r);
        private static const _-53n:String = "countdown_clock_unit_";
        private static const _-028:Array = ["weeks", "days", "hours", "minutes", "seconds"];
        private static const _-11S:Array = [604800, 86400, 3600, 60, 1];
        private static const _-3cV:Array = [100, 7, 24, 60, 60];
        private static const _-23a:Array = [0, 0xFFFFFF];
        private static const _-102:Array = [3003121663, 0];

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IItemListWindow;
        private var _-Vk:IWindowContainer;
        private var _-0UN:ITextWindow;
        private var _-0FJ:Boolean;
        private var _-2BS:int;
        private var _-4Dy:int;
        private var _-0pc:int;
        private var _-N8:int = -1;

        public function CountdownWidget(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-0FJ = Boolean(_-0yb.value);
            this._-2BS = int(_-2Px.value);
            this._-4Dy = getTimer();
            this._-0pc = int(_-02U.value);
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("clock_base_xml").content as XML)) as IItemListWindow);
            this._-Vk = (this._-0J9.getListItemByName("counter") as IWindowContainer);
            this._-0UN = (this._-0J9.getListItemByName("separator") as ITextWindow);
            this._-04E = uint(_-0TB.value);
            this._-U-.registerUpdateReceiver(this, 10);
            this._-2mK.setParamFlag(WindowParam._-4Uq);
            this._-2mK._-5Ec = this._-0J9;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-Vk != null)
                {
                    this._-Vk.dispose();
                    this._-Vk = null;
                };
                if (this._-0UN != null)
                {
                    this._-0UN.dispose();
                    this._-0UN = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U-.removeUpdateReceiver(this);
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function update(_arg1:uint):void
        {
            this._-1gv();
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-0yb._-25t(this._-0FJ));
            k.push(_-0TB._-25t(this._-04E));
            k.push(_-2Px._-25t(this.seconds));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            if (this._disposed)
            {
                return;
            };
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-3Pb:
                        this.running = Boolean(k.value);
                        break;
                    case _-0WW:
                        this._-04E = uint(k.value);
                        break;
                    case _-0II:
                        this.seconds = int(k.value);
                        break;
                    case _-17s:
                        this._-55h = int(k.value);
                        break;
                };
            };
        }
        public function get _-55h():int
        {
            return (this._-0pc);
        }
        public function set _-55h(_arg1:int):void
        {
            var k:IWindowContainer;
            var k:ITextWindow;
            var k:uint;
            var k:uint;
            this._-0pc = _arg1;
            var k:int = this._-0J9.numListItems;
            var k:int;
            while (k < k)
            {
                k = (this._-0J9.getListItemAt(k) as IWindowContainer);
                if (k != null)
                {
                    k = (k.getChildByName("unit") as ITextWindow);
                    if (k != null)
                    {
                        k = k.textColor;
                        k = k.etchingColor;
                        if ((((this._-55h >= 0)) && ((this._-55h < _-23a.length))))
                        {
                            k = _-23a[this._-55h];
                            k = _-102[this._-55h];
                        };
                        k.textColor = k;
                        k.etchingColor = k;
                    };
                };
                k++;
            };
        }
        public function get running():Boolean
        {
            return (this._-0FJ);
        }
        public function set running(_arg1:Boolean):void
        {
            if (((this._-0FJ) && (!(_arg1))))
            {
                this._-2BS = this.seconds;
            };
            if (((!(this._-0FJ)) && (_arg1)))
            {
                this._-4Dy = getTimer();
            };
            this._-0FJ = _arg1;
        }
        public function get _-04E():uint
        {
            return (((this._-0J9.numListItems + 1) / 2));
        }
        public function set _-04E(_arg1:uint):void
        {
            var k:int;
            k = Math.max(2, Math.min(4, _arg1));
            if (k != this._-04E)
            {
                this._-0J9._-3mI();
                k = 0;
                while (k < k)
                {
                    if (k != 0)
                    {
                        this._-0J9.addListItem(this._-0UN.clone());
                    };
                    this._-0J9.addListItem(this._-Vk.clone());
                    k++;
                };
                this._-1gv(true);
            };
        }
        public function get seconds():int
        {
            return (((this._-0FJ) ? Math.max(0, (this._-2BS - ((getTimer() - this._-4Dy) / 1000))) : this._-2BS));
        }
        public function set seconds(_arg1:int):void
        {
            this._-2BS = _arg1;
            this._-4Dy = getTimer();
            this._-1gv();
        }
        private function _-1gv(_arg1:Boolean=false):void
        {
            var k:int;
            var k:int;
            var k:IWindowContainer;
            var k:int;
            var k:int = this.seconds;
            if ((((k == this._-N8)) && (!(_arg1))))
            {
                return;
            };
            var k:int = this._-04E;
            k = 0;
            while (k < (_-11S.length - k))
            {
                if (k >= _-11S[k])
                {
                    break;
                };
                k++;
            };
            var k:int;
            while (k < k)
            {
                k = (k + k);
                k = (this._-0J9.getListItemAt((k * 2)) as IWindowContainer);
                k = ((k / _-11S[k]) % _-3cV[k]);
                k.getChildByName("value").caption = ((((k < 10)) ? "0" : "") + k.toString());
                k.getChildByName("unit").caption = ((("${" + _-53n) + _-028[k]) + "}");
                k++;
            };
            this._-N8 = k;
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix.IlluminaBorderWidget

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import flash.geom.Matrix;
    import flash.utils.Dictionary;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-0Ie.WindowEvent;
    import _-3EM._-yZ;
    import _-295.BitmapDataAsset;
    import _-Ew.IWindow;
    import flash.geom.Rectangle;
    import _-09j.WindowParam;

    public class IlluminaBorderWidget implements _-5W 
    {

        public static const _-45i:String = "illumina_border";
        public static const _-00P:String = "illumina_light";
        public static const _-AU:String = "illumina_dark";
        public static const _-1uQ:Array = [_-00P, _-AU];
        public static const _-0rQ:String = (_-45i + ":border_style");
        private static const _-0KB:String = (_-45i + ":content_child");
        private static const _-3Jd:String = (_-45i + ":content_padding");
        private static const _-49C:String = (_-45i + ":side_padding");
        private static const _-4SF:String = (_-45i + ":child_margin");
        private static const _-1hU:String = (_-45i + ":top_left_child");
        private static const _-4aQ:String = (_-45i + ":top_center_child");
        private static const _-0-M:String = (_-45i + ":top_right_child");
        private static const _-bv:String = (_-45i + ":bottom_left_child");
        private static const _-4LS:String = (_-45i + ":bottom_center_child");
        private static const _-3fE:String = (_-45i + ":bottom_right_child");
        private static const _-4Q-:String = (_-45i + ":landing_view_mode");
        private static const _-1on:PropertyStruct = new PropertyStruct(_-0KB, "", PropertyStruct.STRING);
        private static const _-ZZ:PropertyStruct = new PropertyStruct(_-3Jd, 5, PropertyStruct._-02g);
        private static const _-33i:PropertyStruct = new PropertyStruct(_-49C, 15, PropertyStruct._-02g);
        private static const _-ka:PropertyStruct = new PropertyStruct(_-4SF, 3, PropertyStruct._-02g);
        private static const _-di:PropertyStruct = new PropertyStruct(_-1hU, "", PropertyStruct.STRING);
        private static const _-rp:PropertyStruct = new PropertyStruct(_-4aQ, "", PropertyStruct.STRING);
        private static const _-1lJ:PropertyStruct = new PropertyStruct(_-0-M, "", PropertyStruct.STRING);
        private static const _-0k2:PropertyStruct = new PropertyStruct(_-bv, "", PropertyStruct.STRING);
        private static const _-1ta:PropertyStruct = new PropertyStruct(_-4LS, "", PropertyStruct.STRING);
        private static const _-4nY:PropertyStruct = new PropertyStruct(_-3fE, "", PropertyStruct.STRING);
        private static const _-3td:PropertyStruct = new PropertyStruct(_-4Q-, false, PropertyStruct._-11e);
        private static const _-41H:Matrix = new Matrix();
        private static const TOP_LEFT:String = "top_left";
        private static const _-2wo:String = "top_center";
        private static const _-02y:String = "top_right";
        private static const RIGHT:String = "center_right";
        private static const _-0vs:String = "bottom_right";
        private static const _-3KL:String = "bottom_center";
        private static const _-4oo:String = "bottom_left";
        private static const LEFT:String = "center_left";
        private static const _-53h:Array = [TOP_LEFT, _-2wo, _-02y, RIGHT, _-0vs, _-3KL, _-4oo, LEFT];

        private var _-tU:Dictionary;
        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-06f:IBitmapWrapperWindow;
        private var _-Jg:BitmapData;
        private var _-16P:IWindowContainer;
        private var _-4vw:Boolean = false;
        private var _-4uU:Boolean = false;
        private var _-bC:String;
        private var _-3Wt:String;
        private var _-5Bv:uint;
        private var _-1qo:uint;
        private var _-43J:uint;
        private var _-1Q:String;
        private var _-4cd:String;
        private var _-4SR:String;
        private var _-4S6:String;
        private var _-2RQ:String;
        private var _-1kv:String;
        private var _-4do:Boolean;

        public function IlluminaBorderWidget(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-3Wt = String(_-1on.value);
            this._-5Bv = uint(_-ZZ.value);
            this._-1qo = uint(_-33i.value);
            this._-43J = uint(_-ka.value);
            this._-1Q = String(_-di.value);
            this._-4cd = String(_-rp.value);
            this._-4SR = String(_-1lJ.value);
            this._-4S6 = String(_-0k2.value);
            this._-2RQ = String(_-1ta.value);
            this._-1kv = String(_-4nY.value);
            this._-4do = Boolean(_-3td.value);
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("illumina_border_xml").content as XML)) as IWindowContainer);
            this._-06f = (this._-0J9.getChildByName("canvas") as IBitmapWrapperWindow);
            this._-16P = (this._-0J9.getChildByName("children") as IWindowContainer);
            this._-1bK = String(this._-2mK._-aJ(_-0rQ).value);
            this._-2mK.addEventListener(WindowEvent._-4hh, this._-4AC);
            this._-2mK.addEventListener(WindowEvent._-3K0, this._-4AC);
            this._-16P.addEventListener(WindowEvent._-14K, this._-4AC);
            this._-16P.addEventListener(WindowEvent._-4jq, this._-4AC);
            this._-16P.addEventListener(WindowEvent._-hr, this._-4AC);
            this._-16P.addEventListener(WindowEvent._-jw, this._-4AC);
            this._-2mK._-5Ec = this._-0J9;
            this._-0J9.width = this._-2mK.width;
            this._-0J9.height = this._-2mK.height;
        }
        private function _-4AC(_arg1:WindowEvent):void
        {
            this.refresh();
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-Jg != null)
                {
                    this._-Jg.dispose();
                    this._-Jg = null;
                };
                if (this._-06f != null)
                {
                    this._-06f.removeEventListener(WindowEvent._-4hh, this._-4AC);
                    this._-06f.removeEventListener(WindowEvent._-3K0, this._-4AC);
                    this._-06f = null;
                };
                if (this._-16P != null)
                {
                    this._-16P.removeEventListener(WindowEvent._-14K, this._-4AC);
                    this._-16P.removeEventListener(WindowEvent._-4jq, this._-4AC);
                    this._-16P.removeEventListener(WindowEvent._-hr, this._-4AC);
                    this._-16P.removeEventListener(WindowEvent._-jw, this._-4AC);
                    this._-16P = null;
                };
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-tU = null;
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (this._-16P.iterator);
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(this._-2mK._-4wa(_-0rQ, this._-bC));
            k.push(_-1on._-25t(this._-3Wt));
            k.push(_-ZZ._-25t(this._-5Bv));
            k.push(_-33i._-25t(this._-1qo));
            k.push(_-ka._-25t(this._-43J));
            k.push(_-di._-25t(this._-1Q));
            k.push(_-rp._-25t(this._-4cd));
            k.push(_-1lJ._-25t(this._-4SR));
            k.push(_-0k2._-25t(this._-4S6));
            k.push(_-1ta._-25t(this._-2RQ));
            k.push(_-4nY._-25t(this._-1kv));
            k.push(_-3td._-25t(this._-4do));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            if (this._disposed)
            {
                return;
            };
            this._-4vw = true;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0rQ:
                        this._-1bK = String(k.value);
                        break;
                    case _-0KB:
                        this._-2Vz = String(k.value);
                        break;
                    case _-3Jd:
                        this._-4US = uint(k.value);
                        break;
                    case _-49C:
                        this._-3EZ = uint(k.value);
                        break;
                    case _-4SF:
                        this._-0-J = uint(k.value);
                        break;
                    case _-1hU:
                        this._-50i = String(k.value);
                        break;
                    case _-4aQ:
                        this._-2RV = String(k.value);
                        break;
                    case _-0-M:
                        this._-0d6 = String(k.value);
                        break;
                    case _-bv:
                        this._-1a8 = String(k.value);
                        break;
                    case _-4LS:
                        this._-4DN = String(k.value);
                        break;
                    case _-3fE:
                        this._-4wj = String(k.value);
                        break;
                    case _-4Q-:
                        this._-Mi = Boolean(k.value);
                        break;
                };
            };
            this._-4vw = false;
            this.refresh();
        }
        public function get _-1bK():String
        {
            return (this._-bC);
        }
        public function set _-1bK(_arg1:String):void
        {
            var k:String;
            this._-bC = _arg1;
            this._-tU = new Dictionary();
            for each (k in _-53h)
            {
                this._-tU[k] = this._-U-.assets.getAssetByName(((this._-bC + "_border_") + k));
            };
            this.refresh();
        }
        public function get _-2Vz():String
        {
            return (this._-3Wt);
        }
        public function set _-2Vz(_arg1:String):void
        {
            this._-3Wt = (((_arg1)!=null) ? _arg1 : "");
            this.refresh();
        }
        public function get _-4US():uint
        {
            return (this._-5Bv);
        }
        public function set _-4US(_arg1:uint):void
        {
            this._-5Bv = _arg1;
            this.refresh();
        }
        public function get _-3EZ():uint
        {
            return (this._-1qo);
        }
        public function set _-3EZ(_arg1:uint):void
        {
            this._-1qo = _arg1;
            this.refresh();
        }
        public function get _-0-J():uint
        {
            return (this._-43J);
        }
        public function set _-0-J(_arg1:uint):void
        {
            this._-43J = _arg1;
            this.refresh();
        }
        public function get _-50i():String
        {
            return (this._-1Q);
        }
        public function set _-50i(_arg1:String):void
        {
            this._-1Q = (((_arg1)!=null) ? _arg1 : "");
            this.refresh();
        }
        public function get _-2RV():String
        {
            return (this._-4cd);
        }
        public function set _-2RV(_arg1:String):void
        {
            this._-4cd = (((_arg1)!=null) ? _arg1 : "");
            this.refresh();
        }
        public function get _-0d6():String
        {
            return (this._-4SR);
        }
        public function set _-0d6(_arg1:String):void
        {
            this._-4SR = (((_arg1)!=null) ? _arg1 : "");
            this.refresh();
        }
        public function get _-1a8():String
        {
            return (this._-4S6);
        }
        public function set _-1a8(_arg1:String):void
        {
            this._-4S6 = (((_arg1)!=null) ? _arg1 : "");
            this.refresh();
        }
        public function get _-4DN():String
        {
            return (this._-2RQ);
        }
        public function set _-4DN(_arg1:String):void
        {
            this._-2RQ = (((_arg1)!=null) ? _arg1 : "");
            this.refresh();
        }
        public function get _-4wj():String
        {
            return (this._-1kv);
        }
        public function set _-4wj(_arg1:String):void
        {
            this._-1kv = (((_arg1)!=null) ? _arg1 : "");
            this.refresh();
        }
        public function get _-Mi():Boolean
        {
            return (this._-4do);
        }
        public function set _-Mi(_arg1:Boolean):void
        {
            this._-4do = _arg1;
            this.refresh();
        }
        private function _-3Gf(_arg1:String):BitmapDataAsset
        {
            return (this._-tU[_arg1]);
        }
        private function _-1jY(_arg1:String):int
        {
            var k:IWindow = this._-16P.getChildByName(_arg1);
            return (((((((!((_arg1 == null))) && ((_arg1.length > 0)))) && (!((k == null))))) ? k.height : 0));
        }
        private function get _-3jp():int
        {
            return ((Math.max(this._-1jY(this._-4cd), Math.max(this._-1jY(this._-1Q), this._-1jY(this._-4SR))) / 2));
        }
        private function get _-3PF():int
        {
            return ((Math.max(this._-1jY(this._-2RQ), Math.max(this._-1jY(this._-4S6), this._-1jY(this._-1kv))) / 2));
        }
        private function refresh():void
        {
            var k:String;
            var k:Array;
            var k:IWindow;
            var k:int;
            var k:int;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Rectangle;
            var k:Rectangle;
            var k:int;
            var k:int;
            if (((((this._-4vw) || (this._-4uU))) || (this.disposed)))
            {
                return;
            };
            this._-0J9._-2rW.setEmpty();
            this._-0J9.width = this._-2mK.width;
            this._-0J9.height = this._-2mK.height;
            var k:IWindow = this._-16P.getChildByName(this._-3Wt);
            if (k != null)
            {
                k = Math.max(1, (k.width + (2 * this._-5Bv)));
                k = Math.max(1, (((k.height + (2 * this._-5Bv)) + this._-3jp) + this._-3PF));
                this._-4uU = true;
                if (this._-2mK._-1s-(WindowParam._-Bh))
                {
                    this._-0J9._-2rW.minWidth = k;
                    this._-0J9._-2rW.minHeight = k;
                };
                if (this._-2mK._-1s-(WindowParam._-4Uq))
                {
                    this._-0J9._-2rW.minWidth = k;
                    this._-0J9._-2rW.minHeight = k;
                    this._-0J9._-2rW.maxWidth = k;
                    this._-0J9._-2rW.maxHeight = k;
                };
                this._-4uU = false;
            };
            if ((((((this._-Jg == null)) || (!((this._-Jg.width == this._-0J9.width))))) || (!((this._-Jg.height == this._-0J9.height)))))
            {
                this._-06f.width = this._-0J9.width;
                this._-06f.height = this._-0J9.height;
                this._-16P.width = this._-0J9.width;
                this._-16P.height = this._-0J9.height;
                if (this._-Jg != null)
                {
                    this._-Jg.dispose();
                };
                this._-Jg = new BitmapData(this._-06f.width, this._-06f.height, true, 0);
                this._-06f.bitmap = this._-Jg;
            };
            var k:Rectangle = this._-06f.rectangle;
            k.y = (k.y + this._-3jp);
            k.height = (k.height - (this._-3jp + this._-3PF));
            this._-Jg.lock();
            this._-Jg.fillRect(new Rectangle(0, 0, this._-06f.width, this._-06f.height), 0);
            for (k in this._-tU)
            {
                k = this._-3Gf(k);
                if ((((k == null)) || (((this._-4do) && ((((((k == TOP_LEFT)) || ((k == LEFT)))) || ((k == _-4oo))))))))
                {
                }
                else
                {
                    k = (k.content as BitmapData);
                    k = k.rectangle;
                    k = new Rectangle(k.x, k.y, k.width, k.height);
                    switch (k)
                    {
                        case TOP_LEFT:
                            break;
                        case _-2wo:
                            k.x = (k.x + this._-3Gf(TOP_LEFT).rectangle.width);
                            k.width = ((k.width - this._-3Gf(TOP_LEFT).rectangle.width) - this._-3Gf(_-02y).rectangle.width);
                            break;
                        case _-02y:
                            k.x = (k.x + (k.width - k.width));
                            break;
                        case RIGHT:
                            k.x = (k.x + (k.width - k.width));
                            k.y = (k.y + this._-3Gf(_-02y).rectangle.height);
                            k.height = ((k.height - this._-3Gf(_-02y).rectangle.height) - this._-3Gf(_-0vs).rectangle.height);
                            break;
                        case _-0vs:
                            k.x = (k.x + (k.width - k.width));
                            k.y = (k.y + (k.height - k.height));
                            break;
                        case _-3KL:
                            k.x = (k.x + this._-3Gf(_-4oo).rectangle.width);
                            k.y = (k.y + (k.height - k.height));
                            k.width = ((k.width - this._-3Gf(_-4oo).rectangle.width) - this._-3Gf(_-0vs).rectangle.width);
                            if (this._-4do)
                            {
                                k = (k.width / 2);
                                k.x = (k.x + k);
                                k.width = (k.width - k);
                            };
                            break;
                        case _-4oo:
                            k.y = (k.y + (k.height - k.height));
                            break;
                        case LEFT:
                            k.y = (k.y + this._-3Gf(TOP_LEFT).rectangle.height);
                            k.height = ((k.height - this._-3Gf(TOP_LEFT).rectangle.height) - this._-3Gf(_-4oo).rectangle.height);
                            break;
                    };
                    _-41H.a = (k.width / k.width);
                    _-41H.d = (k.height / k.height);
                    _-41H.tx = (k.x - (k.x * _-41H.a));
                    _-41H.ty = (k.y - (k.y * _-41H.d));
                    this._-Jg.draw(k, _-41H, null, null, k, false);
                };
            };
            k = [this._-1Q, this._-4cd, this._-4SR, this._-4S6, this._-2RQ, this._-1kv];
            for each (k in this._-16P.iterator)
            {
                if (((!((k.name == null))) && ((k.name.length > 0))))
                {
                    k = k.indexOf(k.name);
                    if (k < 0)
                    {
                        if (k.name == this._-3Wt)
                        {
                            k.x = (k.x + this._-4US);
                            k.y = (k.y + this._-4US);
                            k.visible = true;
                        }
                        else
                        {
                            k.visible = false;
                        };
                    }
                    else
                    {
                        switch ((k % 3))
                        {
                            case 0:
                                k.x = Math.min(this._-1qo, (this._-06f.width - k.width));
                                break;
                            case 1:
                                k.x = (Math.max((this._-06f.width - k.width), 0) / 2);
                                break;
                            case 2:
                                k.x = Math.max(((this._-06f.width - k.width) - this._-1qo), 0);
                                break;
                        };
                        if (k < 3)
                        {
                            k.y = (this._-3jp - (k.height / 2));
                        }
                        else
                        {
                            k.y = (this._-06f.height - (this._-3PF + (k.height / 2)));
                        };
                        k.visible = true;
                        this._-Jg.fillRect(new Rectangle((k.x - this._-43J), k.y, (k.width + (this._-43J * 2)), k.height), 0);
                    };
                }
                else
                {
                    k.visible = false;
                };
            };
            this._-Jg.unlock();
            this._-06f.invalidate();
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix.IlluminaChatBubbleWidget

package _-0Ix
{
    import _-3EM.PropertyStruct;
    import _-1ae._-3Yi;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-1ae._-2aK;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IRegionWindow;
    import _-1ae._-4mB;
    import _-09j.WindowParam;
    import _-2SC._-38M;
    import _-3EM._-yZ;
    import _-2vN._-3Xv;
    import _-0Ie.WindowEvent;
    import _-0Pi._-RA;
    import _-0Ie.WindowMouseEvent;

    public class IlluminaChatBubbleWidget implements _-4PA 
    {

        public static const _-45i:String = "illumina_chat_bubble";
        private static const _-1MX:String = (_-45i + ":flipped");
        private static const _-2Jh:String = (_-45i + ":user_name");
        private static const _-4zX:String = (_-45i + ":figure");
        private static const _-3Hh:String = (_-45i + ":message");
        private static const _-4SU:PropertyStruct = new PropertyStruct(_-1MX, false, PropertyStruct._-11e);
        private static const _-0CR:PropertyStruct = new PropertyStruct(_-2Jh, "", PropertyStruct.STRING);
        private static const _-4IM:PropertyStruct = new PropertyStruct(_-4zX, "", PropertyStruct.STRING);
        private static const _-An:PropertyStruct = new PropertyStruct(_-3Hh, "", PropertyStruct.STRING);

        private var _disposed:Boolean;
        private var _-2mK:_-3Yi;
        private var _-U-:HabboWindowManagerComponent;
        private var _-0J9:IWindowContainer;
        private var _-L4:Boolean;
        private var _-2lb:_-2aK;
        private var _-2EW:IWindow;
        private var _-2lO:_-3La;
        private var _-508:IWindow;
        private var _-2md:ITextWindow;
        private var _-1NC:_-0la;
        private var _-0lR:IRegionWindow;
        private var _-0PU:_-4mB;
        private var _-0-E:Boolean;

        public function IlluminaChatBubbleWidget(_arg1:_-3Yi, _arg2:HabboWindowManagerComponent)
        {
            this._-L4 = Boolean(_-4SU.value);
            super();
            this._-2mK = _arg1;
            this._-U- = _arg2;
            this._-0J9 = (this._-U-.buildFromXML((this._-U-.assets.getAssetByName("illumina_chat_bubble_xml").content as XML)) as IWindowContainer);
            this._-2lb = (this._-0J9.findChildByName("user_name") as _-2aK);
            var k:_-3Yi = (this._-0J9.findChildByName("user_avatar") as _-3Yi);
            this._-2EW = k.parent;
            this._-2lO = (k.widget as _-3La);
            this._-508 = this._-0J9.findChildByName("bubble_wrapper");
            this._-2md = (this._-0J9.findChildByName("message") as ITextWindow);
            this._-1NC = (_-3Yi(this._-0J9.findChildByName("post_time")).widget as _-0la);
            this._-0lR = (this._-0J9.findChildByName("offline_placeholder") as IRegionWindow);
            this._-0lR.height = 0;
            this._-0PU = (this._-0J9.findChildByName("arrow_point") as _-4mB);
            this._-0J9.findChildByName("message_region").setParamFlag(WindowParam._-55Y, false);
            this._-0J9.procedure = this._-2Kb;
            this.userName = String(_-0CR.value);
            this.figure = String(_-4IM.value);
            this.message = String(_-An.value);
            this._-2mK._-5Ec = this._-0J9;
            this._-2mK.setParamFlag(WindowParam._-4Uq);
            this._-0J9.width = this._-2mK.width;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0J9 != null)
                {
                    this._-0J9.dispose();
                    this._-0J9 = null;
                };
                if (this._-2mK != null)
                {
                    this._-2mK._-5Ec = null;
                    this._-2mK = null;
                };
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get iterator():_-yZ
        {
            return (_-38M._-Kj);
        }
        public function get properties():Array
        {
            var k:Array = [];
            if (this._disposed)
            {
                return (k);
            };
            k.push(_-4SU._-25t(this._-0wn));
            k.push(_-0CR._-25t(this.userName));
            k.push(_-4IM._-25t(this.figure));
            k.push(_-An._-25t(this.message));
            return (k);
        }
        public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            if (this._disposed)
            {
                return;
            };
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-1MX:
                        this._-0wn = Boolean(k.value);
                        break;
                    case _-2Jh:
                        this.userName = String(k.value);
                        break;
                    case _-4zX:
                        this.figure = String(k.value);
                        break;
                    case _-3Hh:
                        this.message = String(k.value);
                        break;
                };
            };
        }
        public function get _-0wn():Boolean
        {
            return (this._-L4);
        }
        public function set _-0wn(_arg1:Boolean):void
        {
            this._-L4 = _arg1;
            this.refresh();
        }
        public function get userName():String
        {
            return (this._-2lb.caption.slice(0, -1));
        }
        public function set userName(_arg1:String):void
        {
            this._-2lb.caption = (_arg1 + ":");
        }
        public function get userId():int
        {
            return (this._-2lO.userId);
        }
        public function set userId(_arg1:int):void
        {
            this._-2lO.userId = _arg1;
        }
        public function get figure():String
        {
            return (this._-2lO.figure);
        }
        public function set figure(_arg1:String):void
        {
            this._-2lO.figure = _arg1;
        }
        public function get message():String
        {
            return (this._-2md.caption);
        }
        public function set message(_arg1:String):void
        {
            this._-2md.caption = _arg1;
        }
        public function get timeStamp():Number
        {
            return (this._-1NC.timeStamp);
        }
        public function set timeStamp(_arg1:Number):void
        {
            this._-1NC.timeStamp = _arg1;
        }
        public function set _-3ny(_arg1:Boolean):void
        {
            this._-0lR.height = ((_arg1) ? 0 : 16);
        }
        public function refresh():void
        {
            if (this._-0-E)
            {
                return;
            };
            this._-0-E = true;
            this._-0J9._-2rW.minWidth = this._-0J9.width;
            this._-0J9._-2rW.maxWidth = this._-0J9.width;
            this._-0J9.height = this._-508.bottom;
            this._-508.width = (this._-0J9.width - this._-2EW.width);
            this._-2md.width = this._-508.width;
            this._-2lO.direction = ((this._-L4) ? _-3Xv._-2P : _-3Xv._-1Ag);
            if (this._-L4)
            {
                this._-2EW.x = (this._-0J9.width - this._-2EW.width);
                this._-0PU._-yR = 1;
                this._-0PU.x = this._-2EW.x;
                this._-508.x = 0;
            }
            else
            {
                this._-2EW.x = 0;
                this._-0PU._-yR = -1;
                this._-0PU.x = (this._-2EW.right - this._-0PU.width);
                this._-508.x = this._-2EW.right;
            };
            this._-0J9._-2rW.setEmpty();
            this._-0PU.invalidate();
            this._-0-E = false;
        }
        private function _-2Kb(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case WindowEvent._-3K0:
                    this.refresh();
                    return;
                case WindowEvent._-jw:
                    this.refresh();
                    return;
                case WindowMouseEvent._-90:
                    if ((((this.userId > 0)) && ((_arg2.name == "user_name_region"))))
                    {
                        this._-U-.communication._-4gR(null).send(new _-RA(this.userId));
                    };
                    return;
            };
        }

    }
}//package _-0Ix

//------------------------------------------------------------
//_-0Ix.WidgetClasses

package _-0Ix
{
    import flash.utils.Dictionary;

    public class WidgetClasses 
    {

        public static var _-1Lv:Dictionary = new Dictionary();
        public static var _-59l:Array = [];
        private static var key:String;

        {
            _-1Lv[AvatarImageWidget._-45i] = AvatarImageWidget;
            _-1Lv[BadgeImageWidget._-45i] = BadgeImageWidget;
            _-1Lv[_-4UF._-45i] = _-4UF;
            _-1Lv[CountdownWidget._-45i] = CountdownWidget;
            _-1Lv[_-4WY._-45i] = _-4WY;
            _-1Lv[IlluminaBorderWidget._-45i] = IlluminaBorderWidget;
            _-1Lv[IlluminaChatBubbleWidget._-45i] = IlluminaChatBubbleWidget;
            _-1Lv[_-4qj._-45i] = _-4qj;
            _-1Lv[_-1Xh._-45i] = _-1Xh;
            _-1Lv[_-0EI._-45i] = _-0EI;
            _-1Lv[_-1WW._-45i] = _-1WW;
            _-1Lv[_-0TM._-45i] = _-0TM;
            _-1Lv[_-12U._-45i] = _-12U;
            _-1Lv[_-0SS._-45i] = _-0SS;
            _-1Lv[_-0Yw._-45i] = _-0Yw;
            _-1Lv[_-4W-._-45i] = _-4W-;
            _-1Lv[_-53V._-45i] = _-53V;
            for (key in _-1Lv)
            {
                _-59l.push(key);
            };
            _-59l.sort();
        }
    }
}//package _-0Ix

//------------------------------------------------------------
//_-0J._-0qv

package _-0J
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-1Jd._-4JJ;
    import _-1C6._-4ky;
    import _-4OG._-0bW;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-0qv implements _-1zZ 
    {

        private static const _-0Tc:String = "room_event_info";

        private var _-2bJ:HabboNavigator;
        private var _-0xv:IWindowContainer;
        private var _-2jY:Boolean = true;

        public function _-0qv(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        private function get enabled():Boolean
        {
            return (this._-2bJ.configuration.getBoolean("eventinfo.enabled", false));
        }
        public function dispose():void
        {
            if (this._-2bJ)
            {
                this._-2bJ.toolbar.extensionView._-21z(_-0Tc);
            };
            this._-2bJ = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2bJ == null));
        }
        public function refresh():void
        {
            if ((((((this._-2bJ.toolbar == null)) || ((this._-2bJ.toolbar.extensionView == null)))) || (!(this.enabled))))
            {
                return;
            };
            var k = !((this._-2bJ.data._-32z == null));
            var k:Boolean = ((this._-2bJ.data._-1QZ) || (this._-2bJ.data._-cu));
            var k:int = this._-2bJ.data._-4jj;
            var k:_-4JJ = this._-2bJ._-1ED.getSession(k, 0);
            if (!k)
            {
                return;
            };
            if (k._-125 == _-4ky._-YE)
            {
                k = true;
            };
            var k:Boolean = this._-2bJ.data._-1QZ;
            if (((((!(k)) && (!(k)))) && (!(k))))
            {
                this._-2bJ.toolbar.extensionView._-21z(_-0Tc);
                return;
            };
            this._-eN();
            var k:Boolean = ((((this._-2jY) && (k))) && (k));
            this._-0xv.findChildByName("event_bg_owner").visible = k;
            var k:Boolean = ((((this._-2jY) && (k))) && (!(k)));
            this._-0xv.findChildByName("event_bg_visitor").visible = k;
            var k:Boolean = ((!(this._-2jY)) || (!(k)));
            this._-0xv.findChildByName("event_bg_contracted").visible = k;
            var k:Boolean = ((((this._-2jY) && (k))) && (k));
            this._-0xv.findChildByName("modify_link_region").visible = k;
            this._-0xv.findChildByName("extend_event_region").visible = ((k) && (this._-38e()));
            var k:Boolean = ((!(k)) && (k));
            this._-0xv.findChildByName("get_event").visible = k;
            this._-0xv.findChildByName("create_link").visible = false;
            var k:Boolean = ((((this._-2jY) && (k))) && (!(k)));
            this._-0xv.findChildByName("in_progress_txt").visible = k;
            var k:Boolean = ((this._-2jY) && (k));
            this._-0xv.findChildByName("desc_txt").visible = k;
            this._-0xv.findChildByName("header_txt").visible = k;
            this._-0xv.visible = ((((k) && (((((((((((k) || (k))) || (k))) || (k))) || (k))) || (k))))) || (k));
            if (k)
            {
                this._-0xv.findChildByName("header_txt").caption = this._-2bJ.data._-32z.eventName;
                this._-0xv.findChildByName("desc_txt").caption = this._-2bJ.data._-32z.eventDescription;
            };
            this._-2bJ.toolbar.extensionView._-408(_-0Tc, this._-0xv, -1, ["next_quest_timer", "quest_tracker"]);
            this._-0xv.x = 0;
            this._-0xv.y = 0;
            this._-0xv.height = ((((this._-2jY) && (k))) ? this._-0xv.findChildByName("event_bg_visitor").height : this._-0xv.findChildByName("event_bg_contracted").height);
        }
        private function _-38e():Boolean
        {
            var k:_-0bW = this._-2bJ.data._-32z;
            if (k == null)
            {
                return (false);
            };
            var k:String = this._-2bJ.configuration.getKey("roomad.limited_extension", "false");
            if ((((k == "false")) || ((k == "0"))))
            {
                return (true);
            };
            var k:Date = new Date();
            var k:Number = k.getTime();
            var k:Date = k._-3YT;
            var k:int = parseInt(this._-2bJ.configuration.getKey("room_ad.duration.minutes", "120"));
            return (((k + ((k * 60) * 1000)) > k.getTime()));
        }
        private function _-2BL(_arg1:WindowEvent):void
        {
            if (this._-2bJ.data._-32z != null)
            {
                this._-2jY = !(this._-2jY);
                this.refresh();
            }
            else
            {
                this._-2bJ._-Gj();
            };
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IWindowContainer(this._-2bJ.getXmlWindow("iro_event_info"));
            this._-0xv.findChildByName("modify_link_region").procedure = this._-01c;
            this._-0xv.findChildByName("extend_event_region").procedure = this._-4tQ;
            this._-0xv.findChildByName("bg_region").addEventListener(WindowMouseEvent._-90, this._-2BL);
        }
        public function close():void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-0xv.visible = false;
                this._-2bJ.toolbar.extensionView._-21z(_-0Tc);
            };
        }
        private function _-01c(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2bJ._-hO.show();
            };
        }
        private function _-4tQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-0bW;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-2bJ.data._-32z;
                this._-2bJ._-4h9(k.eventName, k.eventDescription, k._-3YT);
            };
        }
        public function set expanded(_arg1:Boolean):void
        {
            this._-2jY = _arg1;
        }

    }
}//package _-0J

//------------------------------------------------------------
//_-0J._-gL

package _-0J
{
    import _-4GV.HabboNavigator;
    import _-1ae.IFrameWindow;
    import _-4GV._-sd;
    import _-4OG._-0bW;
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowEvent;
    import _-0hd._-1YG;
    import _-0hd._-20a;
    import _-MT._-4uy;
    import _-1tU._-2Eb;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-gL implements _-1zZ 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0xv:IFrameWindow;
        private var _-2FZ:_-sd;
        private var _-5CD:_-sd;

        public function _-gL(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function dispose():void
        {
            this._-2bJ = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-2FZ = null;
            this._-5CD = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2bJ == null));
        }
        public function show():void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-0xv.visible = false;
                return;
            };
            this._-eN();
            this._-Z();
            var k:_-0bW = this._-2bJ.data._-32z;
            if (k == null)
            {
                this._-2sN();
            }
            else
            {
                this._-07Q(k);
            };
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        private function _-07Q(_arg1:_-0bW):void
        {
            this._-0xv.caption = this._-2bJ.getText("navigator.eventsettings.editcaption");
            this._-2FZ._-0Ab(_arg1.eventName);
            this._-5CD._-0Ab(_arg1.eventDescription);
        }
        private function _-2sN():void
        {
            this._-0xv.caption = this._-2bJ.getText("navigator.createevent");
            this._-5CD._-0Yh();
            this._-2FZ._-0Yh();
        }
        private function _-gj(_arg1:String):ITextFieldWindow
        {
            return (ITextFieldWindow(this._-0xv.findChildByName(_arg1)));
        }
        private function _-4F9(_arg1:WindowEvent):void
        {
            this.close();
        }
        private function save():void
        {
            var k:int = this._-2bJ.data._-32z.adId;
            var k:String = this._-2FZ.getText();
            var k:String = this._-5CD.getText();
            if (!this._-4dr())
            {
                return;
            };
            this._-2bJ.send(new _-1YG(k, k, k));
        }
        private function _-1CW(_arg1:WindowEvent):void
        {
            this._-2bJ.send(new _-20a(this._-2bJ.data._-32z.adId));
            this.close();
        }
        private function _-2lt(_arg1:WindowEvent):void
        {
            this.close();
        }
        private function _-3KG(_arg1:WindowEvent):void
        {
            if (this._-2bJ.data._-32z != null)
            {
                this.save();
            };
        }
        private function _-rf(_arg1:_-2Eb):void
        {
            this._-Z();
            var k:_-4uy = _arg1._-3-5();
            var k:int = k.errorCode;
            if (k == 0)
            {
                this._-2FZ._-1zE(this._-2bJ.getText("roomad.error.0.description"));
                this._-2FZ._-0Ab(k._-4mA);
            }
            else
            {
                if (k == 1)
                {
                    this._-5CD._-1zE(this._-2bJ.getText("roomad.error.0.description"));
                    this._-5CD._-0Ab(k._-4mA);
                };
            };
        }
        private function _-4dr():Boolean
        {
            this._-Z();
            if (!this._-2FZ._-Ak(this._-2bJ.getText("navigator.eventsettings.nameerr")))
            {
                return (false);
            };
            return (true);
        }
        private function _-Z():void
        {
            this._-2FZ._-Z();
            this._-5CD._-Z();
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-2bJ.getXmlWindow("iro_event_settings"));
            this._-00i(this._-0xv.findChildByTag("close"), this._-4F9);
            this._-2FZ = new _-sd(this._-2bJ, this._-gj("event_name"), 25);
            this._-5CD = new _-sd(this._-2bJ, this._-gj("event_desc"), 100);
            this._-2FZ.input.addEventListener(WindowEvent._-1gM, this._-3KG);
            this._-5CD.input.addEventListener(WindowEvent._-1gM, this._-3KG);
            this._-2bJ.communication.addHabboConnectionMessageEvent(new _-2Eb(this._-rf));
            this._-0xv.center();
        }
        private function _-00i(_arg1:IWindow, _arg2:Function):void
        {
            if (_arg1 != null)
            {
                _arg1.addEventListener(WindowMouseEvent._-90, _arg2);
            };
        }
        private function find(_arg1:String):IWindow
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k == null)
            {
                throw (new Error((("Window element with name: " + _arg1) + " cannot be found!")));
            };
            return (k);
        }
        private function _-Bd():void
        {
            var k:String;
            var k:String;
            var k:Array = new Array();
            var k:int = 100;
            var k:int = 1;
            while (k < k)
            {
                k = ("roomevent_type_" + k);
                k = this._-2bJ.getText(k);
                if ((((k == null)) || ((k == k))))
                {
                    return;
                };
                k.push(k);
                k++;
            };
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
            };
        }

    }
}//package _-0J

//------------------------------------------------------------
//_-0J._-Ra

package _-0J
{
    import _-4GV.HabboNavigator;
    import _-4GV._-DC;
    import _-1ae.IFrameWindow;
    import _-4GV.TagRenderer;
    import flash.events.Event;
    import _-Ph._-1AJ;
    import _-4GV._-3UA;
    import _-4OG._-3pI;
    import _-1ae.ITextWindow;
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-2ly._-174;
    import _-4OG._-3u9;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-4GV.SimpleAlertView;
    import _-0hd._-4t1;
    import _-0Ie.WindowEvent;
    import _-0hd._-3gJ;
    import _-3wJ._-4sS;
    import _-0hd._-Ko;
    import _-0hd._-2mP;
    import _-0hd._-0tQ;
    import _-2ly._-11j;
    import _-0Pi._-RA;

    public class _-Ra 
    {

        private var _-2bJ:HabboNavigator;
        private var _-368:_-DC;
        private var _-0xv:IFrameWindow;
        private var _-5CK:TagRenderer;
        private var _-5By:Boolean = false;
        private var _-r3:Boolean = false;

        public function _-Ra(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
            this._-368 = new _-DC(this._-2bJ);
            this._-5CK = new TagRenderer(this._-2bJ);
        }
        public function dispose():void
        {
            this._-2bJ = null;
            this._-r3 = false;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-5CK)
            {
                this._-5CK.dispose();
                this._-5CK = null;
            };
            if (this._-368)
            {
                this._-368.dispose();
                this._-368 = null;
            };
        }
        public function close():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-r3 = false;
            this._-0xv.dispose();
            this._-0xv = null;
            this._-2bJ.events.dispatchEvent(new Event(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_CLOSED));
        }
        public function _-8C():void
        {
            if (this._-r3)
            {
                this.refresh();
            };
        }
        public function _-4NB():void
        {
            if (this._-r3)
            {
                this._-r3 = false;
                if (this._-0xv)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
            }
            else
            {
                this._-r3 = true;
                this.refresh();
                this._-0xv.activate();
            };
        }
        private function refresh():void
        {
            this._-eN();
            _-3UA._-LK(this._-0xv.content);
            this._-W1(this._-2bJ.data._-51D);
            this._-3Uu(this._-2bJ.data._-055);
            this._-01J();
            this._-368.refresh(this._-0xv.content, this._-2bJ.data._-51D);
            this._-3fO(this._-2bJ.data._-51D);
            _-3UA._-0OL(this._-0xv.content, ["room_details", "public_space_details", "guild_info", "embed_info", "buttons_cont"], 0, 3);
            this._-0xv.findChildByName("guild_info").x = 11;
            this._-0xv.height = (_-3UA._-5DG(this._-0xv.content) + 45);
        }
        private function _-0rU(_arg1:_-3pI):Boolean
        {
            return (((!((_arg1 == null))) && ((_arg1._-3EU == this._-2bJ.data._-0I7))));
        }
        private function _-01J():void
        {
            var k:ITextWindow;
            var k:ITextFieldWindow;
            var k:IWindow;
            var k:IWindowContainer = IWindowContainer(this.find("embed_info"));
            var k = (this._-2bJ.configuration.getKey("embed.showInRoomInfo", "false") == "true");
            var k = !((this._-2bJ.data._-51D == null));
            if (((k) && (k)))
            {
                k = ITextWindow(k.findChildByName("embed_info_txt"));
                k = ITextFieldWindow(k.findChildByName("embed_src_txt"));
                k = k.findChildByName("embed_info_region");
                k.visible = true;
                if (this._-5By)
                {
                    k.text = this._-3ys();
                };
                k.visible = this._-5By;
                k.visible = this._-5By;
                k.visible = false;
                k.height = (_-3UA._-5DG(k) + 5);
                k.visible = true;
                k.height = ((this._-5By) ? k.y : k.height);
            }
            else
            {
                k.visible = false;
            };
        }
        private function _-W1(_arg1:_-3pI):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:IWindowContainer = IWindowContainer(this.find("room_details"));
            var k:ITextWindow = ITextWindow(this.find("room_name"));
            k.text = _arg1.roomName;
            k.height = (k.textHeight + 5);
            var k:ITextWindow = ITextWindow(this.find("owner_name"));
            if (((_arg1._-2AG) && ((_arg1._-nJ > 0))))
            {
                this.find("owner_name_cont").visible = true;
                k.visible = true;
                k.text = _arg1._-0aC;
                _-174._-2C5(false, k);
            }
            else
            {
                this.find("owner_name_cont").visible = false;
            };
            var k:ITextWindow = ITextWindow(this.find("room_desc"));
            k.text = _arg1.description;
            this._-5CK._-38C(k, _arg1.tags);
            k.visible = false;
            if (_arg1.description != "")
            {
                k.height = (k.textHeight + 5);
                k.visible = true;
            };
            this.find("rating_region").visible = this._-2bJ.data._-13C;
            ITextWindow(this.find("rating_txt")).text = ("" + this._-2bJ.data._-0X3);
            var k:IWindow = this._-0xv.findChildByName("rating_txt");
            this._-0xv.findChildByName("rating_region").x = ((k.x + k.width) + 5);
            this.find("ranking_cont").visible = (_arg1._-4CI > 0);
            ITextWindow(this.find("ranking_txt")).text = ("" + _arg1._-4CI);
            this._-2bJ.refreshButton(k, "home", this._-0rU(_arg1), null, 0);
            this._-0xv.findChildByName("make_home_region").visible = !(this._-0rU(_arg1));
            this._-0xv.findChildByName("make_favourite_region").visible = ((!(this._-2bJ.data._-1QZ)) && (!(this._-2bJ.data._-0Tn())));
            this._-0xv.findChildByName("favourite_region").visible = ((!(this._-2bJ.data._-1QZ)) && (this._-2bJ.data._-0Tn()));
            _-3UA._-0OL(k, ["room_name", "owner_name_cont", "rating_cont", "ranking_cont", "padding_cont", "tags", "room_desc"], k.y, 0);
            k.visible = true;
            k.height = _-3UA._-5DG(k);
        }
        private function _-1DU():void
        {
            var k:IWindow;
            if (this._-0xv)
            {
                k = this._-0xv.findChildByName("staff_pick_button");
                if (!this._-2bJ.data._-191)
                {
                    k.visible = false;
                    return;
                };
                k.visible = true;
                k.caption = this._-2bJ.getText(((this._-2bJ.data._-5C9) ? "navigator.staffpicks.unpick" : "navigator.staffpicks.pick"));
            };
        }
        private function _-3Uu(_arg1:_-3u9):void
        {
            if ((((_arg1 == null)) || ((this._-0xv == null))))
            {
                return;
            };
            var k:ITextWindow = ITextWindow(this.find("public_space_name"));
            k.text = this._-2bJ._-0Sh(_arg1._-1DO, _arg1._-PV);
            k.height = (k.textHeight + 5);
            var k:ITextWindow = ITextWindow(this.find("public_space_desc"));
            k.text = this._-2bJ._-56p(_arg1._-1DO, _arg1._-PV);
            k.height = (k.textHeight + 5);
            var k:IWindowContainer = IWindowContainer(this.find("public_space_details"));
            _-3UA._-0OL(k, ["public_space_name", "public_space_desc"], k.y, 0);
            k.visible = true;
            k.height = Math.max(86, _-3UA._-5DG(k));
        }
        public function _-3fO(_arg1:_-3pI):void
        {
            var k:IWindowContainer;
            if ((((this._-2bJ.data._-51D == null)) || ((this._-0xv == null))))
            {
                return;
            };
            this.find("room_settings_button").visible = this._-2bJ.data._-3ye;
            if (!this._-2bJ.configuration.getBoolean("room.report.enabled", true))
            {
                k = IWindowContainer(this.find("room_report_button"));
                if (k)
                {
                    k.visible = false;
                };
            };
            var k:IWindowContainer = IWindowContainer(this.find("facebook_like_button"));
            var k:Boolean = true;
            k.visible = k;
            this._-1DU();
            var k:IWindow = this.find("room_muteall_button");
            k.visible = ((this._-2bJ.data._-51D._-1XE) && (this._-2bJ.configuration.getBoolean("room_moderation.mute_all.enabled", false)));
            var k:Boolean = this._-2bJ.data._-51D._-1IY;
            k.caption = ((k) ? "${navigator.muteall_on}" : "${navigator.muteall_off}");
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName("buttons_cont"));
            var k:Array = ["facebook_like_button", "room_settings_button", "staff_pick_button", "room_report_button", "room_muteall_button"];
            _-3UA._-0OL(k, k, 0, 3);
            k.visible = _-3UA._-3DE(IWindowContainer(k));
            k.height = _-3UA._-5DG(k);
        }
        private function _-eN():void
        {
            this._-r3 = true;
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-2bJ.getXmlWindow("iro_room_details_framed"));
            this._-0xv.center();
            this._-00i(this.find("make_favourite_region"), this._-54g);
            this._-00i(this.find("favourite_region"), this._-b-);
            this._-00i(this.find("room_settings_button"), this._-cf);
            this._-00i(this.find("room_muteall_button"), this._-1Ka);
            this._-00i(this.find("make_home_region"), this._-1im);
            this._-00i(this.find("rating_region"), this._-2rQ);
            this._-00i(this.find("embed_src_txt"), this._-th);
            this._-00i(this.find("staff_pick_button"), this._-k0);
            this._-00i(this.find("facebook_like_button"), this._-4A6);
            this._-00i(this.find("room_report_button"), this._-3j3);
            this._-2bJ.refreshButton(IRegionWindow(this.find("make_home_region")), "make_home", true, null, 0);
            this._-2bJ.refreshButton(IRegionWindow(this.find("favourite_region")), "favourite", true, null, 0);
            this._-2bJ.refreshButton(IRegionWindow(this.find("make_favourite_region")), "make_favourite", true, null, 0);
            this._-2bJ.refreshButton(IRegionWindow(this.find("rating_region")), "thumb_up", true, null, 0);
            this._-2bJ.refreshButton(IWindowContainer(this.find("embed_info")), "icon_weblink", true, null, 0);
            this._-00i(this._-0xv.findChildByTag("close"), this._-2eU);
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName("owner_name_cont"));
            k.procedure = this._-Qs;
            _-3UA._-42(k, 1000, 10, 2, 5);
            this._-0IT("rating_cont", "rating_caption", "rating_txt");
            this._-0IT("ranking_cont", "ranking_caption", "ranking_txt");
            var k:IWindowContainer = IWindowContainer(this.find("embed_info"));
            var k:ITextWindow = ITextWindow(this.find("embed_info_txt"));
            k.height = (k.textHeight + 5);
            _-3UA._-0OL(k, ["embed_info_txt", "embed_src_txt"], k.y, 2);
            k.height = (_-3UA._-5DG(k) + 5);
            k.findChildByName("embed_info_region").procedure = this._-4sF;
            this._-2bJ.refreshButton(IWindowContainer(this.find("facebook_like_button")), "facebook_logo_small", true, null, 0);
        }
        private function _-0IT(_arg1:String, _arg2:String, _arg3:String):void
        {
            var k:IWindowContainer = IWindowContainer(this.find(_arg1));
            var k:ITextWindow = ITextWindow(k.findChildByName(_arg2));
            k.width = k.textWidth;
            _-3UA._-3hs(k, [_arg2, _arg3], k.x, k.y, 3);
        }
        private function _-00i(_arg1:IWindow, _arg2:Function):void
        {
            if (_arg1 != null)
            {
                _arg1.addEventListener(WindowMouseEvent._-90, _arg2);
            };
        }
        private function find(_arg1:String):IWindow
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k == null)
            {
                throw (new Error((("Window element with name: " + _arg1) + " cannot be found!")));
            };
            return (k);
        }
        public function _-54g(_arg1:WindowEvent):void
        {
            var k:SimpleAlertView;
            if (this._-2bJ.data._-51D == null)
            {
                return;
            };
            if (this._-2bJ.data._-2uK())
            {
                k = new SimpleAlertView(this._-2bJ, "${navigator.favouritesfull.title}", "${navigator.favouritesfull.body}");
                k.show();
            }
            else
            {
                this._-2bJ.trackGoogle("roomInfo", "addFavourite");
                this._-2bJ.send(new _-4t1(this._-2bJ.data._-51D._-3EU));
            };
        }
        public function _-b-(_arg1:WindowEvent):void
        {
            if (this._-2bJ.data._-51D == null)
            {
                return;
            };
            this._-2bJ.trackGoogle("roomInfo", "removeFavourite");
            this._-2bJ.send(new _-3gJ(this._-2bJ.data._-51D._-3EU));
        }
        private function _-cf(_arg1:WindowEvent):void
        {
            var k:_-3pI = this._-2bJ.data._-51D;
            if (k == null)
            {
                _-Nb.log("No entered room data?!");
                return;
            };
            this._-2bJ.trackGoogle("roomInfo", "editRoomSettings");
            this._-2bJ._-r8._-2P3(k._-3EU);
            this.close();
        }
        private function _-1Ka(_arg1:WindowEvent):void
        {
            this._-2bJ.send(new _-4sS());
        }
        private function _-1im(_arg1:WindowEvent):void
        {
            var k:_-3pI = this._-2bJ.data._-51D;
            if (k == null)
            {
                _-Nb.log("No entered room data?!");
                return;
            };
            _-Nb.log(("SETTING HOME ROOM TO: " + k._-3EU));
            this._-2bJ.trackGoogle("roomInfo", "makeHome");
            this._-2bJ.send(new _-Ko(k._-3EU));
        }
        private function _-2eU(_arg1:WindowEvent):void
        {
            this._-8T(null);
        }
        private function _-2rQ(_arg1:WindowEvent):void
        {
            this._-2bJ.trackGoogle("roomInfo", "thumpUp");
            this._-2bJ.send(new _-2mP(1));
        }
        private function _-k0(_arg1:WindowEvent):void
        {
            this._-2bJ.send(new _-0tQ(this._-2bJ.data._-51D._-3EU, this._-2bJ.data._-5C9));
        }
        private function _-4A6(_arg1:WindowEvent):void
        {
            this._-2bJ.trackGoogle("roomInfo", "facebookLike");
            _-11j.facebookLike(this._-2bJ.data._-51D._-3EU);
        }
        private function _-3j3(_arg1:WindowEvent):void
        {
            this._-2bJ.trackGoogle("roomInfo", "reportRoom");
            var k:_-3pI = this._-2bJ.data._-51D;
            this._-2bJ.habboHelp.reportRoom(k._-3EU, k.roomName, k.description);
            this.close();
        }
        private function _-th(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = ITextFieldWindow(this.find("embed_src_txt"));
            k.setSelection(0, k.text.length);
            this._-2bJ.trackGoogle("roomInfo", "embedSrc");
        }
        private function _-8T(_arg1:Event):void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-r3 = false;
        }
        private function _-3ys():String
        {
            var k:String;
            var k:String;
            if (this._-2bJ.data._-51D != null)
            {
                k = "private";
                k = ("" + this._-2bJ.data._-51D._-3EU);
            }
            else
            {
                k = "public";
                k = ("" + this._-2bJ.data._-4rM);
                _-Nb.log(("Node id is: " + k));
            };
            var k:String = this._-2bJ.configuration.getKey("user.hash", "");
            this._-2bJ.registerParameter("navigator.embed.src", "roomType", k);
            this._-2bJ.registerParameter("navigator.embed.src", "embedCode", k);
            this._-2bJ.registerParameter("navigator.embed.src", "roomId", k);
            return (this._-2bJ.getText("navigator.embed.src"));
        }
        private function _-4sF(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-5By = !(this._-5By);
            this.refresh();
        }
        private function _-Qs(_arg1:WindowEvent, _arg2:IWindow):void
        {
            _-174._-0my(_arg1, _arg2);
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2bJ.trackGoogle("roomInfo", "extendedProfile");
                this._-2bJ.trackGoogle("extendedProfile", "navigator_roomInfo");
                this._-2bJ.send(new _-RA(this._-2bJ.data._-51D._-nJ));
            };
        }

    }
}//package _-0J

//------------------------------------------------------------
//_-0jG._-2sD

package _-0jG
{
    import _-1B-.*;

    public interface _-2sD extends _-4yI 
    {

        function _-0rp(_arg1:int, _arg2:String):void;

    }
}//package _-0jG

//------------------------------------------------------------
//_-0jG._-3UA

package _-0jG
{
    import _-2vN._-3hb;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;

    public class _-3UA 
    {

        public static function _-hE(_arg1:IWindow, _arg2:Function):void
        {
            _arg1.setParamFlag(_-3hb._-0g6, true);
            _arg1.procedure = _arg2;
        }
        public static function _-5DG(_arg1:IWindowContainer):int
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (k.visible)
                {
                    k = Math.max(k, (k.y + k.height));
                };
                k++;
            };
            return (k);
        }
        public static function _-LK(_arg1:IWindowContainer):void
        {
            var k:int;
            while (k < _arg1.numChildren)
            {
                _arg1.getChildAt(k).visible = false;
                k++;
            };
        }
        public static function _-3L5(_arg1:IWindowContainer):void
        {
            var k:int;
            while (k < _arg1.numChildren)
            {
                _arg1.getChildAt(k).visible = true;
                k++;
            };
        }
        public static function _-0OL(_arg1:IWindowContainer, _arg2:Array, _arg3:int, _arg4:int):void
        {
            var k:String;
            var k:IWindow;
            for each (k in _arg2)
            {
                k = _arg1.getChildByName(k);
                if (((((!((k == null))) && (k.visible))) && ((k.height > 0))))
                {
                    k.y = _arg3;
                    k = (_arg3 + (k.height + _arg4));
                };
            };
        }
        public static function _-4ZO(_arg1:IWindowContainer, _arg2:int, _arg3:int):void
        {
            var k:int;
            var k:IWindow;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (((((!((k == null))) && (k.visible))) && ((k.height > 0))))
                {
                    k.y = _arg2;
                    k = (_arg2 + (k.height + _arg3));
                };
                k++;
            };
        }

    }
}//package _-0jG

//------------------------------------------------------------
//_-0jG._-5i

package _-0jG
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-4dT.UserDefinedRoomEventsCtrl;
    import _-293._-5-S;
    import _-1Jd._-4JJ;
    import _-1Jd._-45k;
    import _-1Jd._-51K;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-293._-3Ic;
    import _-293._-0xz;
    import _-4Aj._-1oF;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-Ew.IWindowContainer;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-yT._-7k;

    public class _-5i extends _-Px implements _-2sD 
    {

        private var _-U-:_-3Ts;
        private var _-0ud:_-4BJ;
        private var _-cU:_-0hg;
        private var _-3fD:_-4uR;
        private var _-2Yu:UserDefinedRoomEventsCtrl;
        private var _-YG:IncomingMessages;
        private var _-0tK:_-5-S;
        private var _-06h:_-4JJ;
        private var _-16k:_-45k;
        private var _-0pW:_-51K;
        private var _-2lb:String;

        public function _-5i(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            _-Nb.log(("UDE initialized: " + _arg3));
            this._-2Yu = new UserDefinedRoomEventsCtrl(this);
            queueInterface(new IIDHabboCommunicationManager(), this._-0tq);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        override public function dispose():void
        {
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            super.dispose();
        }
        public function _-0rp(_arg1:int, _arg2:String):void
        {
            var k:_-0xz = (this._-0tK as _-3Ic)._-3v2(this.roomId, this.roomCategory);
            if (((k) && ((k.id == -(_arg1)))))
            {
                (this._-0tK as _-3Ic)._-nt(this.roomId, this.roomCategory, null);
                return;
            };
            this._-2Yu._-0rp(_arg1, _arg2);
        }
        public function send(_arg1:_-1oF, _arg2:Boolean=false):void
        {
            this._-0ud._-4gR(null).send(_arg1);
        }
        public function getXmlWindow(_arg1:String):IWindow
        {
            var k:_-2kE;
            var k:_-243;
            var k:IWindow;
            try
            {
                k = assets.getAssetByName((_arg1 + "_xml"));
                k = _-243(k);
                k = this._-U-.buildFromXML(XML(k.content));
            }
            catch(e:Error)
            {
            };
            return (k);
        }
        public function refreshButton(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:Function, _arg5:int, _arg6:String=null):void
        {
            if (!_arg6)
            {
                k = _arg2;
            };
            var k:IBitmapWrapperWindow = (_arg1.findChildByName(_arg2) as IBitmapWrapperWindow);
            if (!_arg3)
            {
                k.visible = false;
            }
            else
            {
                this._-2rU(k, _arg6, _arg4, _arg5);
                k.visible = true;
            };
        }
        private function _-2rU(_arg1:IBitmapWrapperWindow, _arg2:String, _arg3:Function, _arg4:int):void
        {
            _arg1.id = _arg4;
            _arg1.procedure = _arg3;
            if (_arg1.bitmap != null)
            {
                return;
            };
            _arg1.bitmap = this._-1JQ(_arg2);
            _arg1.width = _arg1.bitmap.width;
            _arg1.height = _arg1.bitmap.height;
        }
        public function _-1JQ(_arg1:String, _arg2:String="_png"):BitmapData
        {
            var k:String = (_arg1 + _arg2);
            var k:_-2kE = assets.getAssetByName(k);
            var k:BitmapDataAsset = BitmapDataAsset(k);
            var k:BitmapData = BitmapData(k.content);
            return (k.clone());
        }
        private function _-0tq(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = _-4BJ(_arg2);
            this._-YG = new IncomingMessages(this);
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = _-3Ts(_arg2);
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-cU = _-0hg(_arg2);
        }
        public function get _-0f3():UserDefinedRoomEventsCtrl
        {
            return (this._-2Yu);
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0tK = _-5-S(_arg2);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        private function _-1d3(_arg1:_-Wo, _arg2:_-4yI):void
        {
            if (_arg2 == null)
            {
                return;
            };
            this._-3fD = (_arg2 as _-4uR);
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-16k = (_arg2 as _-45k);
            this._-3cx();
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0pW = (_arg2 as _-51K);
        }
        private function _-3cx():void
        {
            if (this._-16k)
            {
                this._-16k.events.addEventListener(_-7k._-3h9, this._-27K);
                this._-16k.events.addEventListener(_-7k._-1YC, this._-27K);
                this._-16k.events.addEventListener(_-7k._-44W, this._-27K);
            };
        }
        private function _-27K(_arg1:_-7k):void
        {
            if (this._-0tK == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-7k._-3h9:
                case _-7k._-1YC:
                case _-7k._-44W:
                    this._-06h = _arg1.session;
                    return;
            };
        }
        public function get roomId():int
        {
            return (((this._-06h) ? this._-06h.roomId : 0));
        }
        public function get roomCategory():int
        {
            return (((this._-06h) ? this._-06h.roomCategory : 0));
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function set userName(_arg1:String):void
        {
            this._-2lb = _arg1;
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }

    }
}//package _-0jG

//------------------------------------------------------------
//_-0jG.IncomingMessages

package _-0jG
{
    import _-3gx._-4BJ;
    import _-OR._-47m;
    import _-OR._-3rO;
    import _-OR._-2zQ;
    import _-OR._-22E;
    import _-1HK._-GF;
    import _-2na._-1G-;
    import _-1Q8._-4oh;
    import _-OR._-26G;
    import _-OR._-1jm;
    import _-OR._-0oZ;
    import _-58c._-1D1;
    import _-06C._-wK;
    import _-4Aj._-0tL;
    import _-58c._-0m3;
    import _-58c._-oz;
    import _-58c._-3c3;
    import _-hT._-128;
    import _-Co._-3H5;
    import _-58c._-2hY;
    import _-58c._-4ll;

    public class IncomingMessages 
    {

        private var _-07:_-5i;

        public function IncomingMessages(_arg1:_-5i)
        {
            this._-07 = _arg1;
            var k:_-4BJ = this._-07.communication;
            k.addHabboConnectionMessageEvent(new _-47m(this._-1ma));
            k.addHabboConnectionMessageEvent(new _-3rO(this._-4Ea));
            k.addHabboConnectionMessageEvent(new _-2zQ(this._-3CT));
            k.addHabboConnectionMessageEvent(new _-22E(this._-4e3));
            k.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            k.addHabboConnectionMessageEvent(new _-1G-(this._-5m));
            k.addHabboConnectionMessageEvent(new _-4oh(this._-1Mq));
            k.addHabboConnectionMessageEvent(new _-26G(this._-4wA));
            k.addHabboConnectionMessageEvent(new _-1jm(this._-3hv));
            k.addHabboConnectionMessageEvent(new _-0oZ(this._-4Fp));
        }
        private function _-1ma(_arg1:_-0tL):void
        {
            var k:_-1D1 = (_arg1 as _-47m)._-3-5();
            this._-07.send(new _-wK(k._-2Ds));
        }
        private function _-4Ea(_arg1:_-0tL):void
        {
            var k:_-0m3 = (_arg1 as _-3rO)._-3-5();
            this._-07._-0f3._-36t(k._-4e8);
        }
        private function _-3CT(_arg1:_-0tL):void
        {
            var k:_-oz = (_arg1 as _-2zQ)._-3-5();
            this._-07._-0f3._-36t(k._-4e8);
        }
        private function _-4e3(_arg1:_-0tL):void
        {
            var k:_-3c3 = (_arg1 as _-22E)._-3-5();
            this._-07._-0f3._-36t(k._-4e8);
        }
        private function _-2y3(_arg1:_-0tL):void
        {
            var k:_-128 = (_arg1 as _-GF)._-3-5();
            this._-07.userName = k.name;
        }
        private function _-5m(_arg1:_-0tL):void
        {
            this._-07._-0f3.close();
        }
        private function _-1Mq(_arg1:_-0tL):void
        {
            var k:_-3H5 = (_arg1 as _-4oh)._-3-5();
            _-Nb.log(((("Received object remove event: " + k.id) + ", ") + k._-3iy));
            this._-07._-0f3._-2-U(k.id);
        }
        private function _-4wA(_arg1:_-0tL):void
        {
            var k:_-2hY = _-26G(_arg1)._-3-5();
            if (k.reason == _-26G._-0PN)
            {
                this._-07.windowManager.alert(this._-07.localization.getKey("wiredfurni.rewardsuccess.title"), this._-07.localization.getKey("wiredfurni.rewardsuccess.body"), 0, null);
            }
            else
            {
                if (k.reason == _-26G._-4NN)
                {
                    this._-07.windowManager.alert(this._-07.localization.getKey("wiredfurni.badgereceived.title"), this._-07.localization.getKey("wiredfurni.badgereceived.body"), 0, null);
                }
                else
                {
                    this._-07.windowManager.alert(this._-07.localization.getKey("wiredfurni.rewardfailed.title"), this._-07.localization.getKey(("wiredfurni.rewardfailed.reason." + k.reason)), 0, null);
                };
            };
        }
        private function _-3hv(_arg1:_-0tL):void
        {
            var k:_-4ll = _-1jm(_arg1)._-3-5();
            this._-07.windowManager.alert("Update failed", k.info, 0, null);
        }
        private function _-4Fp(_arg1:_-0tL):void
        {
            this._-07._-0f3.close();
        }

    }
}//package _-0jG

//------------------------------------------------------------
//_-0jj._-05Y

package _-0jj
{
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1ae._-4mB;
    import _-0Ix._-1gf;
    import _-1ae._-3Yi;
    import _-1B-.*;

    public class _-05Y implements _-1zZ 
    {

        private const _-4za:int = 0;
        private const _-2OG:int = 7;

        private var _-Je:HabboHelp;
        private var _-05i:_-0xN;
        private var _-0xv:IWindowContainer;
        private var _disposed:Boolean = false;
        private var _-4Pr:int = 0;

        public function _-05Y(_arg1:HabboHelp)
        {
            this._-Je = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this.closeWindow();
                if (this._-Je)
                {
                    this._-Je = null;
                };
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-t8():void
        {
            this.closeWindow();
            this._-05i = this._-Je._-Ml("safety_booklet");
            this._-0xv = IWindowContainer(this._-05i._-5Ec);
            this._-0xv.procedure = this._-1DQ;
            this._-31q(this._-4za);
            this._-Je.tracking.trackEventLog("Quiz", "", "talent.quiz.open");
        }
        public function closeWindow():void
        {
            this._-0xv = null;
            if (this._-05i)
            {
                this._-05i.dispose();
                this._-05i = null;
            };
        }
        private function _-1DQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this._disposed) || (!(this._-0xv)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                    this.closeWindow();
                    return;
                case "next_button":
                    this._-31q(Math.min(this._-2OG, (this._-4Pr + 1)));
                    this._-Je.tracking.trackEventLog("Quiz", ("" + this._-4Pr), "talent.quiz.change_page");
                    this._-Je.trackGoogle("safetyBooklet", ("clickNextPage_" + this._-4Pr));
                    return;
                case "back_button":
                case "previous_button":
                    this._-31q(Math.max(this._-4za, (this._-4Pr - 1)));
                    this._-Je.tracking.trackEventLog("Quiz", ("" + this._-4Pr), "talent.quiz.change_page");
                    this._-Je.trackGoogle("safetyBooklet", ("clickPrevPage_" + this._-4Pr));
                    return;
                case "quiz_button":
                    this._-Je.trackGoogle("safetyBooklet", "clickQuiz");
                    this._-Je._-274();
                    return;
                case "ok_button":
                    this._-Je.trackGoogle("safetyBooklet", "clickOk");
                    this._-Je._-274();
                    this._-Je._-2-7();
                    return;
            };
        }
        private function _-31q(_arg1:int):void
        {
            this._-4Pr = _arg1;
            this._-0xv.findChildByName("safety.quiz.explanation").visible = !(this._-Je._-3Jf);
            if (this._-4Pr < this._-2OG)
            {
                if (this._-4Pr == this._-4za)
                {
                    this._-0xv.findChildByName("previous_button").visible = false;
                }
                else
                {
                    this._-0xv.findChildByName("previous_button").visible = true;
                };
                _-4mB(this._-0xv.findChildByName("illustration")).assetUri = ("help_safetybooklet_page_" + this._-4Pr);
                _-4mB(this._-0xv.findChildByName("safety_image")).assetUri = "help_safetybooklet_safety_off";
                _-1gf(_-3Yi(this._-0xv.findChildByName("page_widget")).widget).position = (this._-4Pr + 1);
                this._-0xv.findChildByName("title").caption = (("${safety.booklet.page." + this._-4Pr) + ".title}");
                this._-0xv.findChildByName("description").caption = (("${safety.booklet.page." + this._-4Pr) + ".description}");
                this._-0xv.findChildByName("page_container").visible = true;
                this._-0xv.findChildByName("final_page").visible = false;
                this._-0xv.findChildByName("final_page_no_questions").visible = false;
                this._-0xv.findChildByName("page_container").invalidate();
            }
            else
            {
                _-4mB(this._-0xv.findChildByName("illustration")).assetUri = "help_safetybooklet_page_end.png";
                _-4mB(this._-0xv.findChildByName("safety_image")).assetUri = "help_safetybooklet_safety_on";
                _-1gf(_-3Yi(this._-0xv.findChildByName("page_widget")).widget).position = 0;
                this._-0xv.findChildByName("page_container").visible = false;
                if (this._-Je._-3Jf)
                {
                    this._-0xv.findChildByName("final_page_no_questions").visible = true;
                    this._-0xv.findChildByName("final_page_no_questions").invalidate();
                }
                else
                {
                    this._-0xv.findChildByName("final_page").visible = true;
                    this._-0xv.findChildByName("final_page").invalidate();
                };
            };
        }

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj._-0QY

package _-0jj
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-0QY extends _-4yI 
    {

        function _-od():void;
        function get events():IEventDispatcher;
        function _-4pL(_arg1:int):void;
        function _-1fk(_arg1:int, _arg2:int):void;
        function _-1bk(_arg1:int):void;
        function reportRoom(_arg1:int, _arg2:String, _arg3:String):void;
        function _-js():void;
        function _-2J2(_arg1:String, _arg2:String, _arg3:int, _arg4:String=null):void;
        function set _-44E(_arg1:Boolean):void;
        function _-3sC():void;
        function showSafetyBooklet():void;
        function _-2cr():void;

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj._-0Vl

package _-0jj
{
    import _-3fI._-53x;
    import _-3fI.GuideSessionController;
    import _-3MI._-0Sy;
    import _-1Q8._-567;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-4Aj._-0tL;
    import _-595._-3RQ;
    import _-3vb.HabboToolbarIconEnum;
    import _-1B-.*;

    public class _-0Vl implements _-1zZ 
    {

        private var _-Je:HabboHelp;
        private var _-4oX:_-53x;
        private var _-10v:GuideSessionController;
        private var _-4Iu:_-RH;
        private var _disposed:Boolean = false;
        private var _-2wb:Boolean;
        private var _-2kq:int;
        private var _-1cI:String;

        public function _-0Vl(_arg1:HabboHelp)
        {
            this._-Je = _arg1;
            this._-4oX = new _-53x(this);
            this._-10v = new GuideSessionController(this);
            this._-4Iu = new _-RH(this._-Je);
            this._-Je.toolbar.events.addEventListener(_-0Sy._-40N, this._-0WL);
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-567(this._-0TW));
        }
        public function get habboHelp():HabboHelp
        {
            return (this._-Je);
        }
        private function _-0TW(_arg1:_-0tL):void
        {
            var k:Timer;
            if (((((((this._-Je._-0Jm) && (!(this._-Je._-1Tk)))) && (this._-Je._-1uI))) && (!(this._-2wb))))
            {
                k = new Timer(this._-3AW(), 1);
                k.addEventListener(TimerEvent.TIMER, this._-2JD);
                k.start();
                this._-Je.tracking.trackEventLog("Help", "", "tour.new_user.create", "", this._-3AW());
                this._-Je.trackGoogle("newbieTourWindow", "timer_popupCreated");
            };
        }
        private function _-2JD(_arg1:TimerEvent):void
        {
            this._-Je.tracking.trackEventLog("Help", "", "tour.new_user.show", "", this._-3AW());
            this._-Je.trackGoogle("newbieTourWindow", "timer_popupShown");
            this._-37s();
        }
        public function _-37s():void
        {
            this._-4oX._-37s();
            this._-2wb = true;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (this._-4oX)
            {
                this._-4oX.dispose();
                this._-4oX = null;
            };
            if (this._-10v)
            {
                this._-10v.dispose();
                this._-10v = null;
            };
            if (this._-4Iu)
            {
                this._-4Iu.dispose();
                this._-4Iu = null;
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-2KP():void
        {
            this._-10v._-2KP();
        }
        public function _-4KJ(_arg1:_-3RQ):void
        {
            this._-4oX._-4KJ(_arg1);
        }
        public function _-1Vj(_arg1:uint):void
        {
            this._-10v._-1Vj(_arg1);
        }
        public function _-3EN():void
        {
            this._-10v._-3EN();
        }
        public function _-0Jr(_arg1:String):void
        {
            this._-4Iu.show(_arg1);
        }
        private function _-3AW():int
        {
            return ((int(this._-Je.configurationManager.getKey("guide.help.new.user.tour.popup.delay", "30")) * 1000));
        }
        private function _-0WL(_arg1:_-0Sy):void
        {
            if (_arg1.type == _-0Sy._-40N)
            {
                switch (_arg1._-1wJ)
                {
                    case HabboToolbarIconEnum.PANIC:
                        this._-5B2();
                        return;
                    case HabboToolbarIconEnum.HELP:
                        this._-4oX._-4cw();
                        return;
                    case HabboToolbarIconEnum.GUIDE:
                        this._-2KP();
                        return;
                };
            };
        }
        private function _-5B2():void
        {
            this._-2kq = this._-Je._-3v0.roomId;
            this._-1cI = this._-Je._-3v0.roomName;
            var k:Timer = new Timer(1000, 1);
            k.addEventListener(TimerEvent.TIMER, this._-0wU);
            k.start();
            this._-Je.trackGoogle("panicButton", "click_panic");
        }
        private function _-0wU(_arg1:TimerEvent):void
        {
            this._-Je._-1vX(this._-2kq, this._-1cI);
            this._-Je.trackGoogle("panicButton", "show_emergency");
            this._-2kq = -1;
            this._-1cI = null;
        }

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj._-2B9

package _-0jj
{
    import _-Ew.IWindowContainer;
    import _-2WG._-7X;
    import _-2WG._-4Jt;
    import _-2WG._-36Q;
    import _-1mK._-iw;
    import _-1ae.ISelectableWindow;
    import _-0Ix._-0wK;
    import _-1ae._-3Yi;
    import _-1ae.IItemListWindow;
    import _-1ae.ISelectorWindow;
    import _-1bH._-4rN;
    import _-0Ix._-3La;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-29G._-3Ze;
    import _-2vN._-54k;
    import _-3Bn._-1Ii;
    import _-1xw._-01n;
    import _-4Aj._-0tL;
    import _-1xw._-57n;
    import _-2or._-4wn;
    import _-1xw._-2IR;
    import _-3XR.RemoveFriendMessageComposer;
    import _-29G._-w1;
    import _-2or._-3KO;
    import _-29G._-1d-;
    import _-29G._-0kq;
    import _-29G._-23K;
    import _-29G._-0YA;
    import _-29G._-0rm;
    import _-1B-.*;

    public class _-2B9 implements _-1zZ 
    {

        private static const _-1XD:String = "114";
        private static const _-3Ck:int = 253;
        private static const _-4A7:String = "emergency_help_request";
        private static const _-56w:String = "abusive_notice";
        private static const _-1Af:String = "pending_request";

        private var _disposed:Boolean;
        private var _-Je:HabboHelp;
        private var _-0xv:IWindowContainer;
        private var _-5BG:int = -1;
        private var _-0Bu:int = -1;
        private var _-4UJ:String;
        private var _-19F:String;
        private var _-4LO:int;
        private var _-0B3:int;

        public function _-2B9(_arg1:HabboHelp)
        {
            this._-Je = _arg1;
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-7X(this._-2nj));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-4Jt(this._-1rI));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-36Q(this._-0Gx));
        }
        private static function _-J7(_arg1:int):String
        {
            if (_arg1 == 1)
            {
                return ("useless");
            };
            if (_arg1 == 2)
            {
                return ("abusive");
            };
            return ("resolved");
        }

        public function dispose():void
        {
            if (!this._disposed)
            {
                this.closeWindow();
                this._-Je = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-4pL(_arg1:int, _arg2:int):void
        {
            if (this._-Je._-376)
            {
                this._-5BG = _arg1;
                this._-0Bu = _arg2;
                this._-4LO = -1;
                this._-Je._-6Y(_-iw._-1tk);
            }
            else
            {
                this._-1fk(_arg1, HabboHelp._-4Kz, 123);
            };
        }
        public function _-1fk(_arg1:int, _arg2:int, _arg3:int):void
        {
            this._-5BG = _arg1;
            this._-0Bu = -1;
            this._-4LO = -1;
            this._-0B3 = _arg3;
            this._-Je._-0BR(_arg2);
        }
        public function reportRoom(_arg1:int, _arg2:String, _arg3:String, _arg4:int):void
        {
            this._-0Bu = _arg1;
            this._-4UJ = _arg2;
            this._-19F = _arg3;
            this._-5BG = -1;
            this._-4LO = -1;
            this._-Je._-0BR(_arg4);
        }
        public function _-0u6():void
        {
            this._-1fk(0, HabboHelp._-4Kz, -1);
        }
        private function _-16j():void
        {
            this.closeWindow();
            this._-0xv = (this._-Je.getXmlWindow("abusive_notice") as IWindowContainer);
            this._-0xv.center();
            this._-0xv.findChildByName("header_button_close").visible = false;
            this._-0xv.procedure = this._-13s;
        }
        public function _-1uz(_arg1:int):void
        {
            var k:ISelectableWindow;
            var k:ISelectableWindow;
            var _local7:Boolean;
            this.closeWindow();
            this._-4LO = _arg1;
            if (this._-4LO == HabboHelp._-2-s)
            {
                this._-0xv = (this._-Je.getXmlWindow("bully_report") as IWindowContainer);
                this._-0xv.procedure = this._-1n9;
            }
            else
            {
                this._-0xv = (this._-Je.getXmlWindow("emergency_help_request") as IWindowContainer);
                this._-0xv.procedure = this._-35C;
                _-0wK(_-3Yi(this._-0xv.findChildByName("help_message")).widget).maxChars = _-3Ck;
            };
            this._-0xv.center();
            var k:IItemListWindow = (this._-0xv.findChildByName("user_panel") as IItemListWindow);
            var k:IItemListWindow = (this._-0xv.findChildByName("room_panel") as IItemListWindow);
            var k:ISelectorWindow = ISelectorWindow(this._-0xv.findChildByName("topic_selector"));
            if (k != null)
            {
                k = k._-4Vf(("" + this._-0B3));
                if (k != null)
                {
                    k.setSelected(k);
                };
                k = k._-4Vf("123");
                if (((!((k == null))) && (this._-Je._-376)))
                {
                    k.visible = false;
                };
            };
            switch (this._-4LO)
            {
                case HabboHelp._-42o:
                    k.visible = true;
                    k.visible = false;
                    this._-0xv.findChildByName("submit_box_wide").visible = true;
                    this._-0xv.findChildByName("submit_box_narrow").visible = false;
                    this._-0xv.findChildByName("separator").visible = true;
                    k.getListItemByName("room_name").caption = (((this._-4UJ)!=null) ? this._-4UJ : "");
                    k.getListItemByName("room_description").caption = (((this._-19F)!=null) ? this._-19F : "");
                    return;
                case HabboHelp._-4Kz:
                case HabboHelp._-1CK:
                case HabboHelp._-3TQ:
                    _local7 = (_arg1 == HabboHelp._-4Kz);
                    k.visible = _local7;
                    this._-0xv.findChildByName("submit_box_wide").visible = _local7;
                    this._-0xv.findChildByName("submit_box_narrow").visible = !(_local7);
                    this._-0xv.findChildByName("separator").visible = _local7;
                    k.visible = false;
                    if (_local7)
                    {
                        this._-43i();
                    }
                    else
                    {
                        this._-0xv.width = 301;
                    };
                    return;
                case HabboHelp._-2-s:
                    this._-43i();
                    return;
            };
        }
        private function _-43i():void
        {
            var k:_-4rN;
            var k:IWindowContainer;
            var k:Boolean;
            var k:IItemListWindow = (this._-0xv.findChildByName("user_list") as IItemListWindow);
            var k:IWindowContainer = (k.getListItemAt(0) as IWindowContainer);
            k._-3mI();
            for each (k in this._-Je._-3v0._-2oj())
            {
                k = (k.clone() as IWindowContainer);
                k = (k.userId == this._-5BG);
                k.name = k.userId.toString();
                k.blend = ((k) ? 1 : 0);
                k.procedure = this._-1Ti;
                k.findChildByName("user_name").caption = k.userName;
                k.findChildByName("room_name").id = k.roomId;
                if (k)
                {
                    this._-0Bu = k.roomId;
                };
                k.findChildByName("room_name").caption = (((k.roomName)!="") ? this._-Je.localization._-5CG("help.emergency.main.step.two.room.name", "", "room_name", k.roomName) : "");
                _-3La(_-3Yi(k.findChildByName("user_avatar")).widget).figure = k.figure;
                k._-kE(k, 0);
            };
        }
        private function _-0Us():void
        {
            var k:IWindowContainer;
            var k:IItemListWindow = (this._-0xv.findChildByName("user_list") as IItemListWindow);
            var k:int;
            while (k < k.numListItems)
            {
                k = IWindowContainer(k.getListItemAt(k));
                k.blend = (((int(k.name) == this._-5BG)) ? 1 : 0);
                k++;
            };
        }
        public function _-4e5(_arg1:String):void
        {
            this.closeWindow();
            this._-0xv = (this._-Je.getXmlWindow("pending_request") as IWindowContainer);
            this._-0xv.findChildByName("request_message").caption = _arg1;
            this._-0xv.center();
            this._-0xv.procedure = this._-1xJ;
        }
        private function closeWindow():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-13s(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "close_button":
                        this.closeWindow();
                        return;
                };
            };
        }
        private function _-35C(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "submit_button":
                        this._-HK();
                        return;
                    case "header_button_close":
                        this.closeWindow();
                        return;
                };
            };
        }
        private function _-1n9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "submit_button":
                        if (this._-5BG > 0)
                        {
                            this._-Je._-0cM(new _-3Ze(this._-5BG, this._-0Bu));
                            this.closeWindow();
                        }
                        else
                        {
                            this._-Je.windowManager.alert("${generic.alert.title}", "${guide.bully.request.usermissing}", 0, null);
                        };
                        return;
                    case "header_button_close":
                        this.closeWindow();
                        return;
                };
            };
        }
        private function _-1Ti(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-1wI((_arg2 as IWindowContainer));
            };
        }
        private function _-1wI(_arg1:IWindowContainer):void
        {
            if ((((((this._-0xv == null)) || (!((this._-0xv.name == _-4A7))))) || ((_arg1 == null))))
            {
                return;
            };
            var k:int = int(_arg1.name);
            if (this._-5BG == k)
            {
                this._-5BG = 0;
                this._-0Bu = -1;
            }
            else
            {
                this._-5BG = k;
                this._-0Bu = _arg1.findChildByName("room_name").id;
            };
            this._-0Us();
        }
        private function _-HK(_arg1:Boolean=true):void
        {
            if ((((this._-0xv == null)) || (!((this._-0xv.name == _-4A7)))))
            {
                return;
            };
            if (((_arg1) && (!((this._-Je._-4zV._-4F0(this._-5BG) == null)))))
            {
                this._-Je.windowManager.confirm("${help.cfh.unfriend.confirm.title}", "${help.cfh.unfriend.confirm.message}", (_-54k._-1Ct | _-54k._-35t), this._-56z);
                return;
            };
            var k:String = _-0wK(_-3Yi(this._-0xv.findChildByName("help_message")).widget).message;
            var k:int;
            var k:ISelectableWindow = ISelectorWindow(this._-0xv.findChildByName("topic_selector"))._-WM();
            if (k != null)
            {
                k = int(k.name);
            };
            this._-2fy(k, k, this._-5BG, this._-0Bu);
        }
        private function _-56z(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            if (_arg2.type == WindowEvent._-0-9)
            {
                this._-HK(false);
            };
            _arg1.dispose();
        }
        private function _-1xJ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "keep_button":
                    case "header_button_close":
                        this.closeWindow();
                        return;
                    case "discard_button":
                        this._-0dT();
                        this.closeWindow();
                        return;
                };
            };
        }
        private function _-2nj(_arg1:_-0tL):void
        {
            var k:_-01n = _-7X(_arg1)._-3-5();
            this._-Je.windowManager.alert("${help.cfh.reply.title}", k.message, 0, null);
        }
        private function _-1rI(_arg1:_-0tL):void
        {
            var k:String;
            var k:_-57n = _-4Jt(_arg1)._-3-5();
            var k:int = k._-0zc;
            switch (k)
            {
                case _-4wn._-2Cw:
                    this._-Je._-0BR(HabboHelp._-4Kz);
                    return;
                case _-4wn._-3Gr:
                    this._-16j();
                    return;
                default:
                    this._-Je.windowManager.alert("${help.cfh.sent.title}", "${help.cfh.sent.text}", 0, null);
            };
        }
        private function _-0Gx(_arg1:_-0tL):void
        {
            var k:_-2IR = _-36Q(_arg1)._-3-5();
            this._-Je.windowManager.alert("${mod.alert.title}", (("${help.cfh.closed." + _-J7(k._-2LW)) + "}"), 0, null);
        }
        private function _-2fy(_arg1:String, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:RemoveFriendMessageComposer;
            if ((((_arg1 == null)) || ((_arg1 == ""))))
            {
                this._-Je.windowManager.alert("${generic.alert.title}", "${help.cfh.error.nomsg}", 0, null);
                return;
            };
            if (_arg1.length < int(this._-Je.configurationManager.getKey("help.cfh.length.minimum", "15")))
            {
                this._-Je.windowManager.alert("${generic.alert.title}", "${help.cfh.error.msgtooshort}", 0, null);
                return;
            };
            if (_arg2 == 0)
            {
                this._-Je.windowManager.alert("${generic.alert.title}", "${help.cfh.error.notopic}", 0, null);
                return;
            };
            this.closeWindow();
            switch (this._-4LO)
            {
                case HabboHelp._-4Kz:
                    if (this._-Je._-44E)
                    {
                        this._-Je._-0cM(new _-w1(_arg1, _-3KO._-4Nz, _arg2, _arg3));
                    }
                    else
                    {
                        this._-Je._-0cM(new _-1d-(_arg1, _-3KO._-4Nz, _arg2, _arg3));
                    };
                    break;
                case HabboHelp._-1CK:
                    this._-Je._-0cM(new _-0kq(_arg1, _arg2, _arg3));
                    break;
                case HabboHelp._-3TQ:
                    this._-Je._-0cM(new _-23K(_arg1, _arg2, _arg4));
                    break;
                case HabboHelp._-42o:
                    this._-Je._-0cM(new _-0YA(_arg1, _arg2, _arg4));
                    break;
            };
            if (this._-Je._-4zV._-4F0(_arg3) != null)
            {
                k = new RemoveFriendMessageComposer();
                k._-1Vh(_arg3);
                this._-Je._-0cM(k);
            };
        }
        private function _-0dT():void
        {
            this._-Je._-0cM(new _-0rm());
        }

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj._-2Lc

package _-0jj
{
    import _-3X8._-0hg;
    import _-295._-39L;
    import _-Ew.IWindow;

    public interface _-2Lc 
    {

        function get localization():_-0hg;
        function get assets():_-39L;
        function get _-2Yd():String;
        function _-5Ca(_arg1:String, _arg2:uint=1):IWindow;
        function checkName(_arg1:String):void;
        function _-0MI(_arg1:String):void;
        function _-192():void;
        function _-1Ex():void;

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj._-3dG

package _-0jj
{
    import _-Ew.IWindowContainer;
    import flash.geom.Point;
    import _-3MI._-0Sy;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.ITextWindow;
    import _-295._-243;
    import _-1ae.IFrameWindow;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-2or._-31I;
    import _-1B-.*;

    public class _-3dG implements _-0gI 
    {

        private var _-Je:HabboHelp;
        private var _disposed:Boolean;
        private var _-0xv:IWindowContainer;
        private var _-42r:Point;
        private var _-32o:String;
        private var _-C-:int;
        private var _-1pB:String;

        public function _-3dG(_arg1:HabboHelp)
        {
            this._-42r = new Point(72, 10);
            super();
            this._-Je = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._-Je)
            {
                this._-Je.removeUpdateReceiver(this);
                this._-Je.toolbar.events.removeEventListener(_-0Sy._-40N, this._-3KQ);
                this._-Je.toolbar.events.removeEventListener(_-0Sy._-2B8, this._-3KQ);
                this._-Je.toolbar.events.removeEventListener(_-0Sy._-Wv, this._-029);
                this._-Je = null;
            };
            if (this._-0xv)
            {
                this._-0xv.findChildByName("close").removeEventListener(WindowMouseEvent._-90, this._-0An);
                this._-0xv.findChildByName("click").removeEventListener(WindowMouseEvent._-90, this._-1dW);
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._disposed = true;
        }
        public function _-2J2(_arg1:String, _arg2:String, _arg3:int, _arg4:String):void
        {
            if (this._disposed)
            {
                return;
            };
            this._-32o = _arg1;
            this._-C- = _arg3;
            this._-1pB = _arg4;
            this._-Je.toolbar.events.addEventListener(_-0Sy._-40N, this._-3KQ);
            this._-Je.toolbar.events.addEventListener(_-0Sy._-2B8, this._-3KQ);
            this._-Je.toolbar.events.addEventListener(_-0Sy._-Wv, this._-029);
            if (this._-0xv == null)
            {
                this._-2JF();
            };
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName("text"));
            k.caption = (("${" + _arg2) + "}");
            k.height = (k.textHeight + 5);
            this._-2N3();
            this._-o4();
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        private function _-2JF():void
        {
            var k:_-243 = (this._-Je.assets.getAssetByName("welcome_screen_xml") as _-243);
            this._-0xv = (this._-Je.windowManager.buildFromXML((k.content as XML), 2) as IWindowContainer);
            var k:IFrameWindow = (this._-0xv.findChildByName("frame") as IFrameWindow);
            k.header.visible = false;
            k.content.y = (k.content.y - 20);
            var k:ITextWindow = (this._-0xv.findChildByName("text") as ITextWindow);
            k.height = (k.textHeight + 5);
            k.content.setParamFlag(WindowParam._-0Ef, false);
            k.height = (k.height - 20);
            this._-0xv.findChildByName("close").addEventListener(WindowMouseEvent._-90, this._-0An);
            this._-0xv.findChildByName("click").addEventListener(WindowMouseEvent._-90, this._-1dW);
        }
        private function _-2N3():void
        {
            var k:Rectangle = this._-Je.toolbar._-mJ(this._-32o);
            var k:IWindow = this._-0xv.findChildByName("arrow");
            var k:IWindow = this._-0xv.findChildByName("arrow_right");
            if (k == null)
            {
                k = new Rectangle(0, 0, this._-0xv.width, this._-0xv.height);
            };
            if (this._-C- == _-31I.LEFT)
            {
                this._-42r.x = 72;
                this._-0xv.x = -(this._-0xv.width);
                k.y = ((this._-0xv.height - k.height) / 2);
                k.visible = true;
                k.visible = false;
            }
            else
            {
                this._-42r.x = (k.x - this._-0xv.width);
                this._-0xv.x = ((k.x + k.width) + this._-0xv.width);
                k.y = ((this._-0xv.height - k.height) / 2);
                k.visible = true;
                k.visible = false;
            };
            if (k != null)
            {
                this._-42r.y = ((k.y + (k.height / 2)) - (this._-0xv.height / 2));
            }
            else
            {
                this._-42r.y = 0;
            };
            this._-0xv.y = this._-42r.y;
        }
        private function _-029(_arg1:_-0Sy):void
        {
            var k:Rectangle = this._-Je.toolbar._-mJ(this._-32o);
            if (k != null)
            {
                this._-42r.y = ((k.y + (k.height / 2)) - (this._-0xv.height / 2));
                this._-0xv.y = this._-42r.y;
            };
        }
        private function _-0An(_arg1:WindowMouseEvent):void
        {
            this.closeWindow();
        }
        private function _-1dW(_arg1:WindowMouseEvent):void
        {
            if (this._-1pB != null)
            {
                this._-Je.toolbar.toggleWindowVisibility(this._-1pB);
            };
            this.closeWindow();
        }
        private function _-3KQ(_arg1:_-0Sy):void
        {
            this.closeWindow();
        }
        private function closeWindow():void
        {
            if (!this._-0xv)
            {
                return;
            };
            this._-0xv.visible = false;
            this.dispose();
        }
        public function update(_arg1:uint):void
        {
            var k:Point;
            if (this._-0xv == null)
            {
                this._-Je.removeUpdateReceiver(this);
                return;
            };
            var k:Number = Point.distance(this._-0xv.position, this._-42r);
            if (k > 5)
            {
                k = Point.interpolate(this._-0xv.position, this._-42r, 0.5);
                this._-0xv.x = k.x;
                this._-0xv.y = k.y;
            }
            else
            {
                this._-0xv.x = this._-42r.x;
                this._-0xv.y = this._-42r.y;
                this._-Je.removeUpdateReceiver(this);
            };
        }
        private function _-o4():void
        {
            this._-Je.removeUpdateReceiver(this);
            this._-Je.registerUpdateReceiver(this, 10);
        }

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj._-4yQ

package _-0jj
{
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1ae._-4mB;
    import _-0Ix._-1gf;
    import _-1ae._-3Yi;

    public class _-4yQ 
    {

        private const _-4za:int = 0;
        private const _-2OG:int = 6;

        private var _-4dX:int = 0;
        private var _-4Pr:int = 0;
        private var _-Je:HabboHelp;
        private var _-05i:_-0xN;
        private var _-0xv:IWindowContainer;
        private var _disposed:Boolean = false;

        public function _-4yQ(_arg1:HabboHelp)
        {
            this._-Je = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this.closeWindow();
                if (this._-Je)
                {
                    this._-Je = null;
                };
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-3sC():void
        {
            this.closeWindow();
            this._-05i = this._-Je._-Ml("habbo_way");
            this._-0xv = IWindowContainer(this._-05i._-5Ec);
            this._-0xv.procedure = this._-1DQ;
            this._-31q(this._-4za);
        }
        public function closeWindow():void
        {
            this._-0xv = null;
            if (this._-05i)
            {
                this._-05i.dispose();
                this._-05i = null;
            };
        }
        private function _-1DQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this._disposed) || (!(this._-0xv)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                    this.closeWindow();
                    return;
                case "next_button":
                    this._-31q(Math.min(this._-2OG, (this._-4Pr + 1)));
                    this._-Je.trackGoogle("habboWay", ("clickNextPage_" + this._-4Pr));
                    return;
                case "back_button":
                case "previous_button":
                    this._-31q(Math.max(this._-4za, (this._-4Pr - 1)));
                    this._-Je.trackGoogle("habboWay", ("clickPrevPage_" + this._-4Pr));
                    return;
                case "quiz_button":
                    this._-Je.trackGoogle("habboWay", "clickQuiz");
                    this._-Je._-4db();
                    return;
            };
        }
        private function _-31q(_arg1:int):void
        {
            this._-4Pr = _arg1;
            if (this._-4Pr < this._-2OG)
            {
                if (this._-4Pr == this._-4za)
                {
                    this._-0xv.findChildByName("previous_button").visible = false;
                }
                else
                {
                    this._-0xv.findChildByName("previous_button").visible = true;
                };
                _-4mB(this._-0xv.findChildByName("illustration")).assetUri = (("${image.library.url}habboway/page_" + this._-4Pr) + ".png");
                _-4mB(this._-0xv.findChildByName("dove_image")).assetUri = "help_habboway_dove_off";
                _-1gf(_-3Yi(this._-0xv.findChildByName("page_widget")).widget).position = (this._-4Pr + 1);
                this._-0xv.findChildByName("correct_title").caption = (("${habbo.way.page." + this._-4Pr) + ".correct.title}");
                this._-0xv.findChildByName("correct_description").caption = (("${habbo.way.page." + this._-4Pr) + ".correct.description}");
                this._-0xv.findChildByName("wrong_title").caption = (("${habbo.way.page." + this._-4Pr) + ".wrong.title}");
                this._-0xv.findChildByName("wrong_description").caption = (("${habbo.way.page." + this._-4Pr) + ".wrong.description}");
                this._-0xv.findChildByName("page_container").visible = true;
                this._-0xv.findChildByName("final_page").visible = false;
                this._-0xv.findChildByName("page_container").invalidate();
            }
            else
            {
                _-4mB(this._-0xv.findChildByName("illustration")).assetUri = "${image.library.url}habboway/page_end.png";
                _-4mB(this._-0xv.findChildByName("dove_image")).assetUri = "help_habboway_dove_on";
                _-1gf(_-3Yi(this._-0xv.findChildByName("page_widget")).widget).position = 0;
                this._-0xv.findChildByName("page_container").visible = false;
                this._-0xv.findChildByName("final_page").visible = true;
                this._-0xv.findChildByName("final_page").invalidate();
            };
        }

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj._-RH

package _-0jj
{
    import _-1ae.IFrameWindow;
    import _-2WG._-1rM;
    import _-2WG._-1Ga;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-RH implements _-1zZ 
    {

        private var _-Je:HabboHelp;
        private var _-0xv:IFrameWindow;

        public function _-RH(_arg1:HabboHelp)
        {
            this._-Je = _arg1;
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-1rM(this._-eC));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-1Ga(this._-1dG));
        }
        public function dispose():void
        {
            this._-Je = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Je == null));
        }
        private function _-eC(_arg1:_-1rM):void
        {
            this.show(_arg1._-3-5()._-Sy);
        }
        private function _-1dG(_arg1:_-1Ga):void
        {
            this.show(_arg1._-3-5()._-Sy);
        }
        public function show(_arg1:String):void
        {
            if (!this.enabled)
            {
                return;
            };
            this.prepare();
            this._-0Ab("caption_txt", _arg1, "caption");
            this._-0Ab("body_txt", _arg1, "body");
            this._-0Ab("note_txt", _arg1, "note");
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName("caption_txt"));
            this._-0xv.findChildByName("body_txt").y = ((k.y + k.textHeight) + 5);
            this._-0xv.visible = true;
        }
        private function _-0Ab(_arg1:String, _arg2:String, _arg3:String):void
        {
            var k:String = ((("guide.bully.request.reporter." + _arg2) + ".") + _arg3);
            if (this._-Je.localization.getKey(k, "") == "")
            {
                k = ("guide.bully.request.reporter." + _arg3);
            };
            this._-0xv.findChildByName(_arg1).caption = (("${" + k) + "}");
        }
        private function prepare():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-Je.getXmlWindow("chat_review_reporter_feedback"));
            this._-0xv.procedure = this._-rA;
            this._-0xv.center();
        }
        private function _-rA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((!((_arg1.type == WindowMouseEvent._-90))) || ((this._-0xv == null)))) || (this._-0xv.disposed)))
            {
                return;
            };
            if ((((_arg2.name == "close_button")) || ((_arg2.name == "header_button_close"))))
            {
                this._-0xv.visible = false;
            };
        }
        private function get enabled():Boolean
        {
            return (this._-Je.configurationManager.getBoolean("chatreviewreporterfeedbackctrl.enabled", true));
        }

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj.HabboHelp

package _-0jj
{
    import _-1B-._-Px;
    import _-3vb._-3b;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-1Jd._-45k;
    import _-1Jd._-51K;
    import _-4GV._-0Uq;
    import _-2gz._-2UE;
    import _-mv._-54I;
    import _-35b._-a8;
    import _-nm._-0kX;
    import _-1bH._-4Rq;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDHabboTracking;
    import com.sulake.iid.IIDHabboSoundManager;
    import com.sulake.iid.IIDHabboFriendList;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1mK._-iw;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-18r.ErrorReportStorage;
    import _-3Bn._-0xN;
    import _-4Aj._-1oF;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1Q8._-4mq;
    import _-2na._-3qY;
    import _-4OG._-Ex;
    import _-3QI.Game2StageStartingMessageEvent;
    import _-2WG._-25m;
    import _-2WG._-16U;
    import _-2WG._-0Z2;
    import _-2WG._-4X1;
    import _-1Q8._-567;
    import _-29G._-kx;
    import _-2Pt._-1lL;
    import _-29G._-4PK;
    import _-1xw.CallForHelpPendingCallsMessageParser;
    import _-4Aj._-0tL;
    import _-1xw._-43b;
    import _-1Q8._-2ML;
    import _-Co.UsersMessageParser;
    import _-3mW._-1IS;
    import _-4h0._-02n;
    import _-01j.Game2StageStartingMessageParser;
    import _-2tT._-3uk;
    import _-55m._-2Vu;
    import _-Co._-4SS;

    public class HabboHelp extends _-Px implements _-0QY 
    {

        public static const _-4Kz:int = 1;
        public static const _-0gN:int = 2;
        public static const _-1CK:int = 3;
        public static const _-42o:int = 4;
        public static const _-3TQ:int = 5;
        public static const _-2-s:int = 6;

        private var _-0a7:_-3b;
        private var _-U-:_-3Ts;
        private var _-478:_-4BJ;
        private var _-1u4:_-0hg;
        private var _-qn:_-4uR;
        private var _-16k:_-45k;
        private var _-0pW:_-51K;
        private var _-2bJ:_-0Uq;
        private var _tracking:_-2UE;
        private var _-42G:_-54I;
        private var _-Ie:_-a8;
        private var _-2tL:_-0Vl;
        private var _-05U:_-0kX;
        private var _-3tf:_-2B9;
        private var _-0Rc:_-3dG;
        private var _-3vq:_-4yQ;
        private var _-2Ad:HabboWayQuizController;
        private var _-172:_-05Y;
        private var _-1X8:Boolean;
        private var _-4LO:int;
        private var _-4bl:int = -1;
        private var _-2nA:_-4Rq;
        private var _-11i:int;

        public function HabboHelp(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            this._-2nA = new _-4Rq();
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboCommunicationManager(), this._-35Q);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboLocalizationManager(), this._-1i2);
            queueInterface(new IIDHabboConfigurationManager(), this._-nh);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDHabboNavigator(), this._-wL);
            queueInterface(new IIDHabboTracking(), this._-4eW);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
            queueInterface(new IIDHabboFriendList(), this._-2Xx);
        }
        public function get localization():_-0hg
        {
            return (this._-1u4);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get toolbar():_-3b
        {
            return (this._-0a7);
        }
        public function get _-1ED():_-45k
        {
            return (this._-16k);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get communicationManager():_-4BJ
        {
            return (this._-478);
        }
        public function get configurationManager():_-4uR
        {
            return (this._-qn);
        }
        public function get navigator():_-0Uq
        {
            return (this._-2bJ);
        }
        public function get tracking():_-2UE
        {
            return (this._tracking);
        }
        public function get _-0Y():_-54I
        {
            return (this._-42G);
        }
        public function get _-0Jm():Boolean
        {
            return (this._-qn.getBoolean("guide.help.new.user.tour.enabled", false));
        }
        public function get _-1uI():Boolean
        {
            return (this._-qn.getBoolean("new.identity", false));
        }
        public function get _-1Tk():Boolean
        {
            return (this._-qn.getBoolean("talent.track.citizenship.enabled", false));
        }
        public function get _-3Jf():Boolean
        {
            return (this._-qn.getBoolean("safety_quiz.disabled", false));
        }
        public function _-od():void
        {
            this._-2tL._-1Vj(_-iw._-3Qb);
        }
        public function _-4pL(_arg1:int):void
        {
            if (this._-3tf != null)
            {
                this._-3tf._-4pL(_arg1, this._-11i);
            };
        }
        public function _-1fk(_arg1:int, _arg2:int):void
        {
            if (this._-3tf != null)
            {
                this._-3tf._-1fk(_arg1, _-4Kz, _arg2);
            };
        }
        public function _-1bk(_arg1:int):void
        {
            if (this._-3tf != null)
            {
                this._-3tf._-1fk(_arg1, _-1CK, -1);
            };
        }
        public function reportRoom(_arg1:int, _arg2:String, _arg3:String):void
        {
            if (this._-3tf != null)
            {
                this._-3tf.reportRoom(_arg1, _arg2, _arg3, _-42o);
            };
        }
        public function _-1vX(_arg1:int, _arg2:String):void
        {
            if (this._-3tf != null)
            {
                this._-3tf.reportRoom(_arg1, _arg2, "", _-3TQ);
            };
        }
        public function _-js():void
        {
            if (this._-05U != null)
            {
                this._-05U._-192();
            };
        }
        public function _-1Mf():void
        {
            if (this._-3tf != null)
            {
                this._-3tf._-0u6();
            };
        }
        public function _-2J2(_arg1:String, _arg2:String, _arg3:int, _arg4:String=null):void
        {
            if ((((this._-0Rc == null)) || (this._-0Rc.disposed)))
            {
                this._-0Rc = new _-3dG(this);
            };
            this._-0Rc._-2J2(_arg1, _arg2, _arg3, _arg4);
        }
        public function _-3sC():void
        {
            if (!this._-3vq)
            {
                this._-3vq = new _-4yQ(this);
            };
            this._-3vq._-3sC();
        }
        public function _-0y-():void
        {
            if (this._-3vq != null)
            {
                this._-3vq.closeWindow();
            };
        }
        public function showSafetyBooklet():void
        {
            if (!this._-172)
            {
                this._-172 = new _-05Y(this);
            };
            this._-172._-t8();
        }
        public function _-2-7():void
        {
            if (this._-172 != null)
            {
                this._-172.closeWindow();
            };
        }
        public function _-4db():void
        {
            if ((((this._-2Ad == null)) || (this._-2Ad.disposed)))
            {
                this._-2Ad = new HabboWayQuizController(this);
            };
            this._-2Ad._-4db();
        }
        public function _-274():void
        {
            if ((((this._-2Ad == null)) || (this._-2Ad.disposed)))
            {
                this._-2Ad = new HabboWayQuizController(this);
            };
            this._-2Ad._-274();
        }
        public function _-2cr():void
        {
            this._-2tL._-37s();
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-172 != null)
                {
                    this._-172.dispose();
                    this._-172 = null;
                };
                if (this._-3vq != null)
                {
                    this._-3vq.dispose();
                    this._-3vq = null;
                };
                if (this._-0Rc != null)
                {
                    this._-0Rc.dispose();
                    this._-0Rc = null;
                };
                if (this._-05U != null)
                {
                    this._-05U.dispose();
                    this._-05U = null;
                };
                if (this._-0a7)
                {
                    this._-0a7.release(new IIDHabboToolbar());
                    this._-0a7 = null;
                };
                if (this._-1u4)
                {
                    this._-1u4.release(new IIDHabboLocalizationManager());
                    this._-1u4 = null;
                };
                if (this._-478)
                {
                    this._-478.release(new IIDHabboCommunicationManager());
                    this._-478 = null;
                };
                if (this._-qn)
                {
                    this._-qn.release(new IIDHabboConfigurationManager());
                    this._-qn = null;
                };
                if (this._-U-)
                {
                    this._-U-.release(new IIDHabboWindowManager());
                    this._-U- = null;
                };
                if (this._-0pW != null)
                {
                    this._-0pW.release(new IIDSessionDataManager());
                    this._-0pW = null;
                };
                if (this._-16k != null)
                {
                    this._-16k.release(new IIDHabboRoomSessionManager());
                    this._-16k = null;
                };
                if (this._-2bJ != null)
                {
                    this._-2bJ.release(new IIDHabboNavigator());
                    this._-2bJ = null;
                };
                if (this._tracking != null)
                {
                    this._tracking.release(new IIDHabboTracking());
                    this._tracking = null;
                };
                super.dispose();
            };
        }
        public function getXmlWindow(_arg1:String, _arg2:uint=1):IWindow
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var layer:int = _arg2;
            var window:IWindow;
            try
            {
                asset = assets.getAssetByName((name + "_xml"));
                xmlAsset = _-243(asset);
                window = this._-U-.buildFromXML(XML(xmlAsset.content), layer);
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboNavigator", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + _-U-) + "!"));
                throw (e);
            };
            return (window);
        }
        public function _-Ml(_arg1:String):_-0xN
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var dialog:_-0xN;
            try
            {
                asset = assets.getAssetByName((name + "_xml"));
                xmlAsset = _-243(asset);
                dialog = this._-U-.buildModalDialogFromXML(XML(xmlAsset.content));
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboNavigator", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + _-U-) + "!"));
                throw (e);
            };
            return (dialog);
        }
        public function trackGoogle(_arg1:String, _arg2:String, _arg3:int=-1):void
        {
            if (this._tracking)
            {
                this._tracking.trackGoogle(_arg1, _arg2, _arg3);
            };
        }
        public function _-0cM(_arg1:_-1oF):void
        {
            if (((!((this._-478 == null))) && (!((_arg1 == null)))))
            {
                this._-478._-4gR(null).send(_arg1);
            };
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = _-3Ts(_arg2);
            this.tryInitialize();
        }
        private function _-35Q(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-478 = _-4BJ(_arg2);
            this.tryInitialize();
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = _-3b(_arg2);
            this.tryInitialize();
        }
        private function _-wL(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2bJ = _-0Uq(_arg2);
            this.tryInitialize();
        }
        private function _-1i2(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-1u4 = _-0hg(_arg2);
            this.tryInitialize();
        }
        private function _-nh(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-qn = _-4uR(_arg2);
            this.tryInitialize();
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-16k = _-45k(_arg2);
            this.tryInitialize();
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0pW = (_arg2 as _-51K);
            this.tryInitialize();
        }
        private function _-4eW(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._tracking = _-2UE(_arg2);
            this.tryInitialize();
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-42G = (_arg2 as _-54I);
            this.tryInitialize();
        }
        private function _-2Xx(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-Ie = (_arg2 as _-a8);
            this.tryInitialize();
        }
        private function tryInitialize():void
        {
            if (((((((((((((((((((((((!(disposed)) && (this._-U-))) && (this._-478))) && (this._-0a7))) && (this._-1u4))) && (this._-qn))) && (this._-16k))) && (this._-0pW))) && (this._-2bJ))) && (this._tracking))) && (this._-42G))) && (this._-Ie)))
            {
                this._-478.addHabboConnectionMessageEvent(new _-4mq(this._-3K9));
                this._-478.addHabboConnectionMessageEvent(new _-3qY(this._-0fE));
                this._-478.addHabboConnectionMessageEvent(new _-Ex(this._-0uq));
                this._-478.addHabboConnectionMessageEvent(new Game2StageStartingMessageEvent(this._-32a));
                this._-478.addHabboConnectionMessageEvent(new _-25m(this._-2z7));
                this._-478.addHabboConnectionMessageEvent(new _-16U(this._-5Ag));
                this._-478.addHabboConnectionMessageEvent(new _-0Z2(this._-00n));
                this._-478.addHabboConnectionMessageEvent(new _-4X1(this._-1j));
                this._-478.addHabboConnectionMessageEvent(new _-567(this._-0TW));
                this._-2tL = new _-0Vl(this);
                this._-3tf = new _-2B9(this);
                this._-05U = new _-0kX(this);
            };
        }
        public function get _-1L8():String
        {
            return (this._-05U._-1L8);
        }
        public function get _-3UH():int
        {
            return (this._-05U._-3UH);
        }
        public function get _-44E():Boolean
        {
            return (this._-1X8);
        }
        public function set _-44E(_arg1:Boolean):void
        {
            this._-1X8 = _arg1;
        }
        public function _-0BR(_arg1:int):void
        {
            this._-4LO = _arg1;
            this._-0cM(new _-kx());
        }
        public function _-6Y(_arg1:int):void
        {
            this._-4bl = _arg1;
            this._-0cM(new _-1lL());
            this._-0cM(new _-4PK());
        }
        private function _-2z7(_arg1:_-0tL):void
        {
            var k:CallForHelpPendingCallsMessageParser = _-25m(_arg1)._-3-5();
            if (k._-2mX == 0)
            {
                this._-3EN();
            }
            else
            {
                this._-3tf._-4e5(k._-0PZ[0].message);
            };
        }
        private function _-5Ag(_arg1:_-0tL):void
        {
            this._-3EN();
        }
        private function _-1j(_arg1:_-4X1):void
        {
            var k:_-43b = _arg1._-3-5();
            switch (k._-3F3)
            {
                case _-43b._-0Wa:
                    this._-2Uj();
                    return;
                case _-43b._-29H:
                    this._-2tL._-4KJ(k._-0mH);
                    return;
                default:
                    this._-2tL._-0Jr(k._-Sy);
            };
        }
        private function _-3EN():void
        {
            switch (this._-4LO)
            {
                case _-4Kz:
                case _-1CK:
                case _-42o:
                case _-3TQ:
                    this._-3tf._-1uz(this._-4LO);
                    break;
                case _-0gN:
                    this._-2tL._-3EN();
                    break;
            };
            this._-4LO = 0;
        }
        private function _-2Uj():void
        {
            switch (this._-4bl)
            {
                case _-iw._-3Qb:
                case _-iw._-2vR:
                case _-iw._-4IR:
                    this._-2tL._-1Vj(this._-4bl);
                    break;
                case _-iw._-1tk:
                    this._-3tf._-1uz(_-2-s);
                    break;
            };
            this._-4bl = -1;
        }
        private function _-00n(_arg1:_-0Z2):void
        {
            this._-U-.simpleAlert("${help.emergency.global_mute.caption}", "${help.emergency.global_mute.subtitle}", "${help.emergency.global_mute.message}", "${help.emergency.global_mute.link}", _arg1._-3-5()._-1eI);
        }
        public function get _-4zV():_-a8
        {
            return (this._-Ie);
        }
        private function _-3K9(_arg1:_-0tL):void
        {
            var k:_-2ML;
            var k:UsersMessageParser = _-4mq(_arg1)._-3-5();
            var k:int;
            while (k < k._-2cL())
            {
                k = k._-4d0(k);
                if (((!((k._-2-w == this._-3UH))) && ((k._-5EQ == _-1IS._-0p3))))
                {
                    this._-2nA._-4z9(k._-2-w, k.name, k.figure);
                };
                k++;
            };
        }
        private function _-32a(_arg1:Game2StageStartingMessageEvent):void
        {
            var k:Object;
            var k:_-02n;
            var k:Game2StageStartingMessageParser = _arg1._-3-5();
            var k:Array = k._-3mz._-3mz;
            var k:int = this._-2nA.roomId;
            var k:String = this._-2nA.roomName;
            this._-2nA._-1WI(-1, "SnowStorm");
            for each (k in k)
            {
                k = (k as _-02n);
                if (((!((k == null))) && (!((k.userId == this._-3UH)))))
                {
                    this._-2nA._-4z9(k.userId, k.name, k.figure);
                };
            };
            this._-2nA._-1WI(k, k);
        }
        private function _-0fE(_arg1:_-0tL):void
        {
            var _local3:String;
            var k:_-3uk = _-3qY(_arg1)._-3-5();
            if (k.roomType.indexOf("model_") == 0)
            {
                this._-2nA._-1WI(k.roomId, "");
            }
            else
            {
                _local3 = (((("nav_venue_" + k.roomType) + "/") + 0) + "_name");
                this._-2nA._-1WI(k.roomId, this.localization.getKey(_local3));
            };
        }
        private function _-0uq(_arg1:_-0tL):void
        {
            var k:_-2Vu = _-Ex(_arg1)._-3-5();
            this._-2nA._-1WI(k.data._-3EU, k.data.roomName);
        }
        public function get _-3v0():_-4Rq
        {
            return (this._-2nA);
        }
        private function _-0TW(_arg1:_-567):void
        {
            var k:_-4SS = _-567(_arg1)._-3-5();
            this._-11i = ((k._-Jj) ? k._-1At : -1);
        }
        public function get _-376():Boolean
        {
            return (this._-qn.getBoolean("guardians.enabled", false));
        }

    }
}//package _-0jj

//------------------------------------------------------------
//_-0jj.HabboWayQuizController

package _-0jj
{
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-1ae.ISelectorListWindow;
    import _-1ae.ISelectableWindow;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-2WG._-bK;
    import _-2WG._-1Bf;
    import _-29G._-bd;
    import _-1xw._-4mF;
    import _-1xw._-3Dc;
    import _-1ae._-4mB;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-29G.PostQuizAnswersComposer;
    import _-1B-.*;

    public class HabboWayQuizController implements _-1zZ 
    {

        private static const _-0Sw:String = "HabboWay1";
        private static const _-28-:String = "SafetyQuiz1";
        private static const _-18R:int = 1;
        private static const _-58z:int = 2;
        private static const _-19c:int = 3;
        private static const _-3jb:int = 4;

        private var _disposed:Boolean;
        private var _-Je:HabboHelp;
        private var _-05i:_-0xN;
        private var _-0xv:IWindowContainer;
        private var _-2Zc:IWindowContainer;
        private var _-1Ts:ISelectorListWindow;
        private var _-1rK:ISelectableWindow;
        private var _-0M1:IItemListWindow;
        private var _-13v:IWindow;
        private var _-2nr:String;
        private var _-1BL:Array;
        private var _-4hJ:Array;
        private var _-1tl:Array;
        private var _-4mQ:Array;
        private var _-1m2:int;

        public function HabboWayQuizController(_arg1:HabboHelp)
        {
            this._-Je = _arg1;
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-bK(this._-50a));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-1Bf(this._-0T7));
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-2Zc = null;
                this._-1Ts = null;
                if (this._-1rK != null)
                {
                    this._-1rK.dispose();
                    this._-1rK = null;
                };
                this._-0M1 = null;
                if (this._-13v != null)
                {
                    this._-13v.dispose();
                    this._-13v = null;
                };
                this.closeWindow();
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-4db():void
        {
            this._-Je._-0cM(new _-bd(_-0Sw));
        }
        public function _-274():void
        {
            this._-Je._-0cM(new _-bd(_-28-));
        }
        private function _-50a(_arg1:_-bK):void
        {
            var k:_-4mF = _arg1._-3-5();
            this._-Je._-0y-();
            this._-Je._-2-7();
            this._-3VE(k._-0Xw, k._-rj);
        }
        private function _-0T7(_arg1:_-1Bf):void
        {
            var k:_-3Dc = _arg1._-3-5();
            this._-4mQ = k._-ie;
            if (this._-4mQ.length == 0)
            {
                this._-1oA(_-58z);
            }
            else
            {
                this._-1oA(_-19c);
            };
        }
        private function _-3VE(_arg1:String, _arg2:Array):void
        {
            this.closeWindow();
            this._-05i = this._-Je._-Ml("habbo_way_quiz");
            this._-0xv = IWindowContainer(this._-05i._-5Ec);
            this._-0xv.procedure = this._-1DQ;
            this._-2Zc = IWindowContainer(this._-0xv.findChildByName("question_pane"));
            this._-1Ts = ISelectorListWindow(this._-2Zc.findChildByName("answer_list"));
            this._-1rK = this._-1Ts._-0wi(0);
            this._-1Ts._-1KF(this._-1rK);
            this._-0M1 = IItemListWindow(this._-0xv.findChildByName("analysis_pane"));
            this._-13v = this._-0M1.getListItemAt(0);
            this._-0M1._-3mI();
            this._-0M1.spacing = 4;
            this._-2nr = _arg1;
            this._-1BL = _arg2;
            this._-4hJ = new Array(this._-5BD);
            this._-1tl = new Array(this._-5BD);
            this._-lo(0);
            var k:IWindowContainer = IWindowContainer(IItemListWindow(this._-13v).getListItemByName("explanation_container"));
            switch (this._-2nr)
            {
                case _-0Sw:
                    _-4mB(this._-0xv.findChildByName("question_illustration")).assetUri = "${image.library.url}habboway/quiz_question.png";
                    _-4mB(this._-0xv.findChildByName("indicator_image")).assetUri = "help_habboway_dove_on";
                    _-4mB(this._-0xv.findChildByName("success_illustration")).assetUri = "${image.library.url}habboway/quiz_success.png";
                    _-4mB(k.findChildByName("explanation_illustration")).assetUri = "help_habboway_dove_quizz";
                    break;
                case _-28-:
                    _-4mB(this._-0xv.findChildByName("question_illustration")).assetUri = "help_safetybooklet_question_illustration";
                    _-4mB(this._-0xv.findChildByName("indicator_image")).assetUri = "help_safetybooklet_safety_on";
                    _-4mB(this._-0xv.findChildByName("failure_illustration")).assetUri = "help_safetybooklet_result_failure";
                    _-4mB(this._-0xv.findChildByName("success_illustration")).assetUri = "help_safetybooklet_result_success";
                    _-4mB(k.findChildByName("explanation_illustration")).assetUri = "help_safetybooklet_safety_on";
                    break;
            };
            this._-1oA(_-18R);
        }
        private function closeWindow():void
        {
            this._-0xv = null;
            if (this._-05i != null)
            {
                this._-05i.dispose();
                this._-05i = null;
            };
        }
        private function _-1oA(_arg1:int):void
        {
            var _local4:int;
            var k:int;
            var k:int;
            var k:IItemListWindow;
            var k:String;
            var k:String;
            this._-0xv.findChildByName("question_pane").visible = (_arg1 == _-18R);
            this._-0xv.findChildByName("success_pane").visible = (_arg1 == _-58z);
            this._-0xv.findChildByName("failure_pane").visible = (_arg1 == _-19c);
            this._-0M1.visible = (_arg1 == _-3jb);
            this._-0xv.findChildByName("prev_next_buttons").visible = (_arg1 == _-18R);
            this._-0xv.findChildByName("failure_buttons").visible = (_arg1 == _-19c);
            this._-0xv.findChildByName("exit_button_container").visible = (((_arg1 == _-58z)) || ((_arg1 == _-3jb)));
            var k:IWindow = this._-0xv.findChildByName("top_indicator");
            var k:IWindow = this._-0xv.findChildByName("indicator_image");
            switch (_arg1)
            {
                case _-18R:
                    this._-0xv.caption = this._-2fC("question.title");
                    k.visible = true;
                    k.visible = true;
                    k.caption = this._-Je.localization._-5CG(this._-42X("question.page"), "", "current_page", 1, "page_count", this._-5BD.toString());
                    k.caption = this._-2fC("question.page");
                    return;
                case _-58z:
                    this._-0xv.caption = this._-2fC("success.title");
                    this._-0xv.findChildByName("failure_advice").caption = this._-2fC("failure.advice");
                    this._-0xv.findChildByName("success_results").caption = this._-Je.localization._-5CG(this._-42X("success.results"), "", "question_count", this._-5BD.toString());
                    k.visible = false;
                    k.visible = false;
                    k.caption = "";
                    return;
                case _-19c:
                    _local4 = (this._-1BL.length - this._-4mQ.length);
                    this._-0xv.caption = this._-2fC("failure.title");
                    this._-0xv.findChildByName("failure_advice").caption = this._-2fC("failure.advice");
                    this._-0xv.findChildByName("failure_results").caption = this._-Je.localization._-5CG(this._-42X("failure.results"), "", "correct_count", _local4.toString(), "total_count", this._-5BD.toString());
                    k.visible = false;
                    k.visible = false;
                    k.caption = "";
                    return;
                case _-3jb:
                    this._-0xv.caption = this._-2fC("analysis.title");
                    k.visible = true;
                    k.visible = true;
                    k.caption = this._-2fC("analysis.top");
                    for each (k in this._-4mQ)
                    {
                        k = this._-4hJ[this._-1BL.indexOf(k)];
                        k = IItemListWindow(this._-13v.clone());
                        k = (("${quiz." + this._-2nr) + ".");
                        k = (((("." + k) + ".") + k) + "}");
                        k.getListItemByName("question").caption = (((k + "question.") + k) + "}");
                        IWindowContainer(k.getListItemByName("answer_container")).findChildByName("answer").caption = ((k + "answer") + k);
                        IWindowContainer(k.getListItemByName("explanation_container")).findChildByName("explanation").caption = ((k + "explanation") + k);
                        this._-0M1.addListItem(k);
                    };
                    IItemListWindow(this._-0M1.getListItemAt((this._-0M1.numListItems - 1))).getListItemByName("separator").dispose();
                    return;
            };
        }
        private function _-1DQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this._disposed) || ((this._-0xv == null)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            if ((_arg2 is ISelectableWindow))
            {
                this._-4hJ[this._-1m2] = int(_arg2.name);
                this._-0xv.findChildByName("next_dimmer").visible = false;
            }
            else
            {
                switch (_arg2.name)
                {
                    case "header_button_close":
                    case "exit_button":
                        this.closeWindow();
                        return;
                    case "prev_button":
                        this._-lo((this._-1m2 - 1));
                        return;
                    case "next_button":
                        this._-lo((this._-1m2 + 1));
                        return;
                    case "review_button":
                        this._-1oA(_-3jb);
                        return;
                };
            };
        }
        private function _-lo(_arg1:int):void
        {
            var k:int;
            var k:Array;
            var k:int;
            var k:ISelectableWindow;
            var k:String;
            var k:ISelectableWindow;
            var k:int;
            var k:ISelectableWindow;
            var _local10:int;
            if (_arg1 >= this._-5BD)
            {
                this._-Je._-0cM(new PostQuizAnswersComposer(this._-2nr, this._-4hJ));
            }
            else
            {
                if (_arg1 >= 0)
                {
                    this._-1m2 = _arg1;
                    this._-0xv.findChildByName("prev_dimmer").visible = (_arg1 <= 0);
                    this._-0xv.findChildByName("next_dimmer").visible = (this._-4hJ[this._-1m2] == null);
                    this._-0xv.findChildByName("top_indicator").caption = this._-Je.localization._-5CG(this._-42X("question.page"), "", "current_page", String((_arg1 + 1)), "page_count", this._-5BD.toString());
                    while (this._-1Ts._-1aI > 0)
                    {
                        this._-1Ts._-1KF(this._-1Ts._-0wi(0)).dispose();
                    };
                    k = this._-1BL[this._-1m2];
                    k = [];
                    this._-2Zc.findChildByName("question").caption = (((("${quiz." + this._-2nr) + ".question.") + k) + "}");
                    k = 0;
                    while (true)
                    {
                        k = this._-Je.localization.getKey(((((("quiz." + this._-2nr) + ".answer.") + k) + ".") + k), "");
                        if (k.length > 0)
                        {
                            k = ISelectableWindow(this._-1rK.clone());
                            k.caption = k;
                            k.name = k.toString();
                            k.push(k);
                        }
                        else
                        {
                            break;
                        };
                        k++;
                    };
                    if (this._-1tl[this._-1m2] == null)
                    {
                        this._-1tl[this._-1m2] = [];
                        k = 0;
                        while (k < k)
                        {
                            k = k.splice(int((Math.random() * k.length)), 1)[0];
                            this._-1Ts._-4La(k);
                            this._-1tl[this._-1m2].push(int(k.name));
                            k++;
                        };
                    }
                    else
                    {
                        for each (_local10 in this._-1tl[this._-1m2])
                        {
                            this._-1Ts._-4La(k[_local10]);
                        };
                    };
                    k = this._-1Ts._-4Vf(String(this._-4hJ[this._-1m2]));
                    if (k != null)
                    {
                        k.select();
                    };
                };
            };
        }
        private function get _-5BD():int
        {
            return ((((this._-1BL)!=null) ? this._-1BL.length : 0));
        }
        private function _-2fC(_arg1:String):String
        {
            return ((("${" + this._-42X(_arg1)) + "}"));
        }
        private function _-42X(_arg1:String):String
        {
            switch (this._-2nr)
            {
                case _-0Sw:
                    return (("habbo.way.quiz." + _arg1));
                default:
                    return (((("quiz." + this._-2nr) + ".") + _arg1));
            };
        }

    }
}//package _-0jj

//------------------------------------------------------------
//_-0l8._-10A

package _-0l8
{
    public class _-10A 
    {

        private var  for:int;
        private var _-0hq:int;
        private var _-28U:int;

        public function _-10A(_arg1:int, _arg2:int, _arg3:int)
        {
            this. for = _arg1;
            this._-0hq = _arg2;
            this._-28U = _arg3;
        }
        public function get paletteId():int
        {
            return (this._-28U);
        }
        public function set paletteId(_arg1:int):void
        {
            this._-28U = _arg1;
        }
        public function get _-1hb():int
        {
            return (this._-0hq);
        }
        public function set _-1hb(_arg1:int):void
        {
            this._-0hq = _arg1;
        }
        public function get _-2SJ():int
        {
            return (this. for);
        }
        public function set _-2SJ(_arg1:int):void
        {
            this. for = _arg1;
        }

    }
}//package _-0l8

//------------------------------------------------------------
//_-0l8._-3iK

package _-0l8
{
    public class _-3iK 
    {

        public static const _-4mh:int = 0;
        public static const _-1oW:int = 1;
        public static const _-1U0:int = 2;
        public static const _-2KF:int = 3;
        public static const _-0GU:int = 4;
        public static const _-0Ji:int = 5;
        public static const _-Fw:int = 6;
        public static const _-0Yn:int = 7;
        public static const _-286:int = 8;
        public static const _-4jc:int = 9;
        public static const _-V8:int = 10;
        public static const _-vB:int = 11;
        public static const _-0sF:int = 12;
        public static const _-1Fk:int = 13;
        public static const _-4uQ:int = 14;
        public static const _-3p6:int = 15;
        public static const _-2CJ:int = 16;
        public static const _-36:int = 17;
        public static const _-2Lm:int = 18;
        public static const _-260:int = 19;
        public static const _-4oN:int = 20;
        public static const _-5En:int = 21;
        public static const _-B8:int = 22;
        public static const _-430:int = 23;

    }
}//package _-0l8

//------------------------------------------------------------
//_-0l8.PetFigureData

package _-0l8
{
    public class PetFigureData 
    {

        private var _-3Gp:int;
        private var _-28U:int;
        private var _color:int;
        private var _-3W6:Array;
        private var _-18Q:Array;
        private var _-04S:Array;
        private var _-UC:Array;
        private var _-0Le:Boolean;

        public function PetFigureData(_arg1:String)
        {
            this._-3Gp = this._-jo(_arg1);
            this._-28U = this._-4LI(_arg1);
            this._color = this._-12f(_arg1);
            this._-0Le = this._-1h0(_arg1);
            var k:Array = this._-20Q(_arg1);
            this._-18Q = this._-3Md(k);
            this._-04S = this._-Ti(k);
            this._-UC = this._-2gT(k);
            this._-3W6 = [];
            var k:int;
            while (k < this._-18Q.length)
            {
                this._-3W6.push(new _-10A(this._-18Q[k], this._-04S[k], this._-UC[k]));
                k++;
            };
        }
        public function get typeId():int
        {
            return (this._-3Gp);
        }
        public function get paletteId():int
        {
            return (this._-28U);
        }
        public function get color():int
        {
            return (this._color);
        }
        public function get _-5C7():Array
        {
            return (this._-18Q);
        }
        public function get _-1rt():Array
        {
            return (this._-04S);
        }
        public function get _-3tc():Array
        {
            return (this._-UC);
        }
        public function get _-uk():Array
        {
            return (this._-3W6);
        }
        public function _-18B(_arg1:int):_-10A
        {
            var k:_-10A;
            if (this._-3W6 != null)
            {
                for each (k in this._-3W6)
                {
                    if (k._-2SJ == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function get _-1a0():Boolean
        {
            return (((!((this._-18Q == null))) && ((this._-18Q.length > 0))));
        }
        public function get _-0QJ():Boolean
        {
            return (this._-0Le);
        }
        public function get _-11I():String
        {
            var k:_-10A;
            var k:String = ((((this.typeId + " ") + this.paletteId) + " ") + this.color.toString(16));
            k = (k + (" " + this._-uk.length));
            for each (k in this._-uk)
            {
                k = (k + (((((" " + k._-2SJ) + " ") + k._-1hb) + " ") + k.paletteId));
            };
            return (k);
        }
        private function _-20Q(_arg1:String):Array
        {
            var k:Array;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Array = [];
            if (_arg1 != null)
            {
                k = _arg1.split(" ");
                k = ((this._-0Le) ? 1 : 0);
                k = (4 + k);
                if (k.length > k)
                {
                    k = (3 + k);
                    k = parseInt(k[k]);
                    k = k.slice(k, (k + (k * 3)));
                };
            };
            return (k);
        }
        private function _-3Md(_arg1:Array):Array
        {
            var k:Array = [];
            var k:int;
            while (k < _arg1.length)
            {
                k.push(parseInt(_arg1[(k + 0)]));
                k = (k + 3);
            };
            return (k);
        }
        private function _-Ti(_arg1:Array):Array
        {
            var k:Array = [];
            var k:int;
            while (k < _arg1.length)
            {
                k.push(parseInt(_arg1[(k + 1)]));
                k = (k + 3);
            };
            return (k);
        }
        private function _-2gT(_arg1:Array):Array
        {
            var k:Array = [];
            var k:int;
            while (k < _arg1.length)
            {
                k.push(parseInt(_arg1[(k + 2)]));
                k = (k + 3);
            };
            return (k);
        }
        private function _-jo(_arg1:String):int
        {
            var k:Array;
            if (_arg1 != null)
            {
                k = _arg1.split(" ");
                if (k.length >= 1)
                {
                    return (parseInt(k[0]));
                };
            };
            return (0);
        }
        private function _-4LI(_arg1:String):int
        {
            var k:Array;
            if (_arg1 != null)
            {
                k = _arg1.split(" ");
                if (k.length >= 2)
                {
                    return (parseInt(k[1]));
                };
            };
            return (0);
        }
        private function _-12f(_arg1:String):int
        {
            var k:Array;
            if (_arg1 != null)
            {
                k = _arg1.split(" ");
                if (k.length >= 3)
                {
                    return (parseInt(k[2], 16));
                };
            };
            return (0xFFFFFF);
        }
        private function _-1h0(_arg1:String):Boolean
        {
            var k:Array;
            if (_arg1 != null)
            {
                k = _arg1.split(" ");
                if (k.length >= 4)
                {
                    return ((k[3] == "head"));
                };
            };
            return (false);
        }

    }
}//package _-0l8

//------------------------------------------------------------
//_-0ld.Node

package _-0ld
{
    import flash.utils.Dictionary;
    import _-0ld.*;

    class Node 
    {

        private var _-4G-:String;
        private var _-2Ma:Boolean;
        private var _-16P:Dictionary;
        private var _parent:Node;

        public function Node(_arg1:String, _arg2:Node)
        {
            this._-4G- = _arg1;
            this._parent = _arg2;
        }
        public function dispose():void
        {
            this._-4G- = "";
            this._-2Ma = false;
            this._-16P = null;
            this._parent = null;
        }
        public function removeChild(_arg1:Node):void
        {
            if (_arg1 != null)
            {
                delete this._-16P[_arg1._-20x];
                _arg1.dispose();
            };
        }
        public function get _-20x():String
        {
            return (this._-4G-);
        }
        public function get _-064():Boolean
        {
            return (this._-2Ma);
        }
        public function set _-064(_arg1:Boolean):void
        {
            this._-2Ma = _arg1;
        }
        public function addChild(_arg1:String):Node
        {
            if (!this._-16P)
            {
                this._-16P = new Dictionary();
            };
            if (this._-16P[_arg1] == null)
            {
                this._-16P[_arg1] = new Node(_arg1, this);
            };
            return (this._-16P[_arg1]);
        }
        public function _-1d4(_arg1:String):Node
        {
            if (this._-16P)
            {
                return (this._-16P[_arg1]);
            };
            return (null);
        }
        public function _-1xx():Boolean
        {
            var k:*;
            if (this._-16P == null)
            {
                return (false);
            };
            for (k in this._-16P)
            {
                return (true);
            };
            return (false);
        }
        public function toString():String
        {
            return (this._-20x);
        }
        public function get _-45F():Dictionary
        {
            return (this._-16P);
        }
        public function get parent():Node
        {
            return (this._parent);
        }
        public function get word():String
        {
            var k:Array = [];
            k.push(this._-20x);
            var k:Node = this._parent;
            while (k != null)
            {
                k.unshift(k._-20x);
                k = k.parent;
            };
            return (k.join(""));
        }

    }
}//package _-0ld

//------------------------------------------------------------
//_-0ld.TrieTree

package _-0ld
{
    public class TrieTree 
    {

        private var _-0J9:Node;

        public function TrieTree():void
        {
            this._-0J9 = new Node(null, null);
        }
        public function _-0zF(_arg1:String):Boolean
        {
            var k:Node;
            if (_arg1.length == 1)
            {
                k = this._-0J9._-1d4(_arg1);
                if (k)
                {
                    return (k._-064);
                };
                return (false);
            };
            var k:Array = this._-x0(_arg1);
            return ((k.indexOf(_arg1) > -1));
        }
        public function _-3dH(_arg1:String):Boolean
        {
            var k:Node = this._-0J9._-1d4(_arg1.substr(0, 1));
            var k:Node = this._-0zB(_arg1, 1, k);
            if (k == null)
            {
                return (false);
            };
            return (((k._-064) || (k._-1xx())));
        }
        public function add(_arg1:String):void
        {
            k = _arg1.toLocaleLowerCase();
            var k:String = k.substr(0, 1);
            var k:Node = this._-0J9._-1d4(k);
            if (!k)
            {
                k = this._-0J9.addChild(k);
            };
            if (k.length == 1)
            {
                k._-064 = true;
                return;
            };
            this._-5-B(k, 1, k);
        }
        public function remove(_arg1:String):void
        {
            var k:Node;
            var k:Array = this._-1r8(_arg1);
            while (k.length > 0)
            {
                k = k[0];
                if (k._-1xx())
                {
                    return;
                };
                if (k.parent != null)
                {
                    k.parent.removeChild(k);
                };
                k.shift();
            };
        }
        private function _-0zB(_arg1:String, _arg2:uint, _arg3:Node):Node
        {
            if (!_arg3)
            {
                return (null);
            };
            var k:String = _arg1.substr(_arg2, 1);
            var k:Node = _arg3._-1d4(k);
            if (!k)
            {
                if (_arg1.length == _arg2)
                {
                    return (_arg3);
                };
                return (null);
            };
            if (_arg1.length == _arg2)
            {
                return (k);
            };
            ++k;
            return (this._-0zB(_arg1, k, k));
        }
        private function _-x0(_arg1:String):Array
        {
            var k:Array = [];
            var k:Node = this._-0J9._-1d4(_arg1.substr(0, 1));
            if (!k)
            {
                return (k);
            };
            this._-0Ot(_arg1, 1, k, k);
            return (k);
        }
        private function _-0Ot(_arg1:String, _arg2:uint, _arg3:Node, _arg4:Array):void
        {
            var k:String = _arg1.substr(_arg2, 1);
            var k:Node = _arg3._-1d4(k);
            if (!k)
            {
                return;
            };
            if (k._-064)
            {
                _arg4.push(_arg1.substr(0, (_arg2 + 1)));
            };
            ++k;
            this._-0Ot(_arg1, k, k, _arg4);
        }
        private function _-5-B(_arg1:String, _arg2:uint, _arg3:Node):void
        {
            if (_arg2 == _arg1.length)
            {
                return;
            };
            var k:String = _arg1.substr(_arg2, 1);
            if (!k)
            {
                return;
            };
            var k:Node = _arg3._-1d4(k);
            if (!k)
            {
                k = _arg3.addChild(k);
            };
            if (_arg2 == (_arg1.length - 1))
            {
                k._-064 = true;
            }
            else
            {
                ++k;
                this._-5-B(_arg1, k, k);
            };
        }
        public function _-0ID(_arg1:String, _arg2:int=3):Array
        {
            if (_arg1.length < _arg2)
            {
                return ([]);
            };
            k = _arg1.substr(0, _arg2);
            var k:Node = this._-0J9._-1d4(k.substr(0, 1));
            var k:Node = this._-0zB(k, 1, k);
            if (k == null)
            {
                return ([]);
            };
            var k:Array = [];
            this._-4Tf(k, k);
            return (k);
        }
        private function _-4Tf(_arg1:Node, _arg2:Array):void
        {
            var k:Node;
            if (_arg1._-064)
            {
                _arg2.push(_arg1.word);
            };
            for each (k in _arg1._-45F)
            {
                if (k._-064)
                {
                    _arg2.push(k.word);
                }
                else
                {
                    this._-4Tf(k, _arg2);
                };
            };
        }
        private function _-1r8(_arg1:String):Array
        {
            var k:Array = [];
            var k:Node = this._-0J9._-1d4(_arg1.substr(0, 1));
            if (!k)
            {
                return (k);
            };
            k.unshift(k);
            this._-hs(_arg1, 1, k, k);
            return (k);
        }
        private function _-hs(_arg1:String, _arg2:int, _arg3:Node, _arg4:Array):void
        {
            var k:String = _arg1.substr(_arg2, 1);
            var k:Node = _arg3._-1d4(k);
            if (!k)
            {
                return;
            };
            _arg4.unshift(k);
            ++k;
            this._-hs(_arg1, k, k, _arg4);
        }

    }
}//package _-0ld

//------------------------------------------------------------
//_-0ln._-5Ev

package _-0ln
{
    import _-3Zp.HabboInventory;
    import _-295._-39L;
    import _-293._-5-S;
    import _-3gx._-4BJ;
    import _-3X8._-0hg;
    import _-mv._-54I;
    import _-4Wu._-4uR;
    import _-18r.Map;
    import _-4pF._-3Ts;
    import _-0F-.StringArrayStuffData;
    import _-293._-4q2;
    import _-3cY._-503;
    import flash.events.Event;
    import _-4WI._-3at;
    import _-3cY._-4xg;
    import _-2Nr.FurniModel;
    import _-0ly._-2IL;
    import _-0ly._-2P9;
    import _-Ew.IWindowContainer;
    import _-293._-2Gt;
    import _-0ly._-2G-;
    import _-0y0._-Xl;
    import flash.display.BitmapData;
    import _-0dE._-S8;
    import _-0dE._-3-w;
    import _-1Z1._-0Qh;
    import _-0dE._-2k6;
    import _-0dE._-3Sb;
    import _-0dE._-uT;
    import _-1Z1._-1of;
    import _-0dE._-11J;
    import _-0dE._-3sK;
    import _-0dE._-1GN;
    import _-4Aj._-0tL;
    import _-2ly._-4WX;
    import _-2YR._-4Tn;
    import _-3-3._-1Wp;
    import _-3-3._-DF;
    import _-3cY._-1mk;
    import _-3-3._-3GC;
    import _-3-3._-1Do;
    import _-3-3._-2YN;
    import _-3-3._-5Aw;
    import _-3-3._-2D8;
    import _-3-3._-4sm;
    import _-293.*;
    import _-3Zp.*;

    public class _-5Ev implements _-4Yh, dynamic 
    {

        public static const _-3od:uint = 9;
        public static const _-1uA:uint = 0;
        public static const _-3QO:uint = 1;
        public static const _-2to:uint = 2;
        public static const _-0a9:uint = 3;
        public static const _-04y:uint = 4;
        public static const _-2d5:uint = 5;
        public static const super:uint = 6;

        private var _-YX:HabboInventory;
        private var _-AV:_-39L;
        private var _-0tK:_-5-S;
        private var _-0ud:_-4BJ;
        private var _-cU:_-0hg;
        private var _-42G:_-54I;
        private var _-0Xx:_-4uR;
        private var _-36n:TradingView;
        private var _disposed:Boolean = false;
        private var _-0FJ:Boolean = false;
        private var _-0Ke:uint = 0;
        private var _-3r0:int = -1;
        private var _-2LE:String = "";
        private var _-126:Map;
        private var _-Kn:Boolean = false;
        private var _-2Dj:Boolean = false;
        private var _-1QX:int = -1;
        private var _-0nQ:String = "";
        private var _-1lf:Map;
        private var _-1Bp:Boolean = false;
        private var _-2p8:Boolean = false;

        public function _-5Ev(_arg1:HabboInventory, _arg2:_-3Ts, _arg3:_-4BJ, _arg4:_-39L, _arg5:_-5-S, _arg6:_-0hg, _arg7:_-54I, _arg8:_-4uR)
        {
            this._-YX = _arg1;
            this._-0ud = _arg3;
            this._-AV = _arg4;
            this._-0tK = _arg5;
            this._-cU = _arg6;
            this._-42G = _arg7;
            this._-0Xx = _arg8;
            this._-36n = new TradingView(this, _arg2, _arg4, _arg5, _arg6, _arg7);
        }
        public static function _-2lE(_arg1:int, _arg2:_-4q2):String
        {
            var k:String = _arg1.toString();
            var k:StringArrayStuffData = (_arg2 as StringArrayStuffData);
            if (!k)
            {
                return (k);
            };
            var k:int = 1;
            while (k < 5)
            {
                k = (k + ("," + k.getValue(k)));
                k++;
            };
            return (k);
        }

        public function get running():Boolean
        {
            return (!((this._-0Ke == _-1uA)));
        }
        public function get state():uint
        {
            return (this._-0Ke);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-3UH():int
        {
            return (this._-3r0);
        }
        public function get _-1L8():String
        {
            return (this._-2LE);
        }
        public function get _-2Op():Map
        {
            return (this._-126);
        }
        public function get _-xP():Boolean
        {
            return (this._-Kn);
        }
        public function get _-3Du():Boolean
        {
            return (this._-2Dj);
        }
        public function get _-2dA():int
        {
            return (this._-1QX);
        }
        public function get _-4co():String
        {
            return (this._-0nQ);
        }
        public function get _-4VZ():Map
        {
            return (this._-1lf);
        }
        public function get _-2zz():Boolean
        {
            return (this._-1Bp);
        }
        public function get _-39A():Boolean
        {
            return (this._-2p8);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (((this._-36n) && (!(this._-36n.disposed))))
                {
                    this._-36n.dispose();
                    this._-36n = null;
                };
                this._-YX = null;
                this._-0ud = null;
                this._-AV = null;
                this._-0tK = null;
                this._-cU = null;
                this._-0Xx = null;
                this._disposed = true;
            };
        }
        public function _-22z(_arg1:int, _arg2:String, _arg3:Boolean, _arg4:int, _arg5:String, _arg6:Boolean):void
        {
            this._-3r0 = _arg1;
            this._-2LE = _arg2;
            this._-126 = new Map();
            this._-Kn = false;
            this._-2Dj = _arg3;
            this._-1QX = _arg4;
            this._-0nQ = _arg5;
            this._-1lf = new Map();
            this._-1Bp = false;
            this._-2p8 = _arg6;
            this._-0FJ = true;
            this.state = _-3QO;
            this._-36n.setup(_arg1, _arg3, _arg4, _arg6);
            this._-36n._-Yb(this._-3r0);
            this._-36n._-Yb(this._-1QX);
            this._-36n._-4n();
            this._-36n._-4Yn();
            this._-YX._-4Op(_-503._-2uv);
            this._-YX.events.dispatchEvent(new Event(_-3at.HABBO_INVENTORY_TRACKING_EVENT_TRADING));
        }
        public function close():void
        {
            if (this._-0FJ)
            {
                if (((!((this._-0Ke == _-1uA))) && (!((this._-0Ke == _-2d5)))))
                {
                    this._-2mh();
                    this.state = _-5Ev.super;
                };
                this.state = _-1uA;
                this._-YX._-O-(_-4xg._-3kW);
                this._-0FJ = false;
            };
            this._-36n._-1ID(false);
        }
        public function _-52O(_arg1:String):void
        {
            this._-36n._-1ID(!((_arg1 == _-503._-2uv)));
            this._-YX._-Y9();
        }
        public function set state(_arg1:uint):void
        {
            _-Nb.log(((((((("OLD STATE: " + this._-0Ke) + " NEW STATE: ") + _arg1) + " OWN: ") + this._-Kn) + " OTHER: ") + this._-1Bp));
            var k:Boolean;
            if (this._-0Ke == _arg1)
            {
                return;
            };
            switch (this._-0Ke)
            {
                case _-1uA:
                    if ((((_arg1 == _-3QO)) || ((_arg1 == _-2d5))))
                    {
                        this._-0Ke = _arg1;
                        k = true;
                    };
                    break;
                case _-3QO:
                    if (_arg1 == _-2to)
                    {
                        this._-0Ke = _arg1;
                        k = true;
                        this._-08N();
                    }
                    else
                    {
                        if (_arg1 == super)
                        {
                            this._-0Ke = _arg1;
                            this._-36n._-1ID(false);
                            k = true;
                        };
                    };
                    break;
                case _-2to:
                    if (_arg1 == _-0a9)
                    {
                        this._-0Ke = _arg1;
                        k = true;
                    }
                    else
                    {
                        if (_arg1 == super)
                        {
                            this._-0Ke = _arg1;
                            this._-36n._-1ID(false);
                            k = true;
                        }
                        else
                        {
                            if (_arg1 == _-3QO)
                            {
                                this._-0Ke = _arg1;
                                k = true;
                                this._-5CI();
                            };
                        };
                    };
                    break;
                case _-0a9:
                    if (_arg1 == _-04y)
                    {
                        this._-0Ke = _arg1;
                        k = true;
                    }
                    else
                    {
                        if (_arg1 == _-2d5)
                        {
                            this._-0Ke = _arg1;
                            k = true;
                            this.close();
                        }
                        else
                        {
                            if (_arg1 == super)
                            {
                                this._-0Ke = _arg1;
                                this._-36n._-1ID(false);
                                k = true;
                                this.close();
                            };
                        };
                    };
                    break;
                case _-04y:
                    if (_arg1 == _-2d5)
                    {
                        this._-0Ke = _arg1;
                        this._-36n._-1ID(false);
                        k = true;
                        this.close();
                    }
                    else
                    {
                        if (_arg1 == super)
                        {
                            this._-0Ke = _arg1;
                            this._-36n._-1ID(false);
                            k = true;
                            this.close();
                        };
                    };
                    break;
                case _-2d5:
                    if (_arg1 == _-1uA)
                    {
                        this._-0Ke = _arg1;
                        k = true;
                    };
                    break;
                case super:
                    if (_arg1 == _-1uA)
                    {
                        this._-0Ke = _arg1;
                        k = true;
                    }
                    else
                    {
                        if (_arg1 == _-3QO)
                        {
                            this._-0Ke = _arg1;
                            k = true;
                        };
                    };
                    break;
                default:
                    throw (new Error((('Unknown trading progress state: "' + this._-0Ke) + '"')));
            };
            if (k)
            {
                this._-36n._-4n();
            }
            else
            {
                throw (new Error("Error assigning trading process status!"));
            };
        }
        public function _-24h():FurniModel
        {
            return (this._-YX._-4FQ);
        }
        public function _-0ft(_arg1:int, _arg2:Map, _arg3:int, _arg4:Map):void
        {
            if (this._-YX == null)
            {
                return;
            };
            if (this._-126 != null)
            {
                this._-126.dispose();
            };
            if (this._-1lf != null)
            {
                this._-1lf.dispose();
            };
            if (_arg1 == this._-3r0)
            {
                this._-126 = _arg2;
                this._-1lf = _arg4;
            }
            else
            {
                this._-126 = _arg4;
                this._-1lf = _arg2;
            };
            this._-Kn = false;
            this._-1Bp = false;
            this._-36n._-Yb(this._-3r0);
            this._-36n._-Yb(this._-1QX);
            this._-36n._-4n();
            var k:FurniModel = this._-YX._-4FQ;
            if (k != null)
            {
                k._-0zY([FurniModel._-4A5, FurniModel._-0fv]);
            };
        }
        public function _-1w0():Array
        {
            var k:_-2IL;
            var k:_-2P9;
            var k:int;
            var k:Array = new Array();
            if ((((this._-126 == null)) || (this._-126.disposed)))
            {
                return (k);
            };
            var k:int;
            while (k < this._-126.length)
            {
                k = (this._-126.getWithIndex(k) as _-2IL);
                if (k != null)
                {
                    k = 0;
                    while (k < k._-3w1())
                    {
                        k = k._-00m(k);
                        if (k != null)
                        {
                            k.push(k.ref);
                        };
                        k++;
                    };
                };
                k++;
            };
            return (k);
        }
        public function getWindowContainer():IWindowContainer
        {
            return (this._-36n.getWindowContainer());
        }
        public function _-eq(_arg1:int=0):void
        {
        }
        public function _-3NF(_arg1:String):void
        {
            if (this._-0FJ)
            {
                if (this._-0Ke != _-1uA)
                {
                    this._-2mh();
                };
            };
        }
        public function _-3mZ():void
        {
            if (this._-0FJ)
            {
                this.close();
            };
        }
        public function _-08N():void
        {
            this._-36n._-08N();
        }
        public function _-5CI():void
        {
            this._-36n._-5CI();
        }
        public function _-1BV():void
        {
            if (this._-0Ke == _-2to)
            {
                this.state = _-0a9;
            };
        }
        public function _-w4(_arg1:_-2P9):BitmapData
        {
            var k:_-2Gt;
            if ((_arg1 is _-2G-))
            {
                k = this._-0tK.getFurnitureImage(_arg1.type, new _-Xl(180, 0, 0), 64, this, 0, String(_arg1._-33C), -1, -1, _arg1._-vM);
            }
            else
            {
                k = this._-0tK.getWallItemImage(_arg1.type, new _-Xl(180, 0, 0), 64, this, 0, _arg1._-vM.getLegacyString());
            };
            return ((k.data as BitmapData));
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            this._-36n._-D-(_arg1, _arg2);
        }
        public function _-2wz(_arg1:_-0tL):void
        {
            var k:_-S8;
            if ((_arg1 is _-3-w))
            {
                _-Nb.log("TRADING::TradingOpenFailedEvent");
                if (this._-4wN)
                {
                    this._-36n._-26w(_-3-w(_arg1));
                }
                else
                {
                    if ((((_-3-w(_arg1)._-3-5().reason == _-0Qh._-2OH)) || ((_-3-w(_arg1)._-3-5().reason == _-0Qh._-2xx))))
                    {
                        this._-36n._-2sl(TradingView._-0Zk);
                    };
                };
            }
            else
            {
                if ((_arg1 is _-2k6))
                {
                    _-Nb.log("TRADING::TradingAcceptEvent");
                    if (_-2k6(_arg1)._-45M == this._-3r0)
                    {
                        this._-Kn = !((_-2k6(_arg1)._-2Pu == 0));
                    }
                    else
                    {
                        this._-1Bp = !((_-2k6(_arg1)._-2Pu == 0));
                    };
                    this._-36n._-4n();
                }
                else
                {
                    if ((_arg1 is _-3Sb))
                    {
                        _-Nb.log("TRADING::TradingConfirmationEvent");
                        this.state = _-2to;
                    }
                    else
                    {
                        if ((_arg1 is _-uT))
                        {
                            _-Nb.log("TRADING::TradingCompletedEvent");
                            this.state = _-2d5;
                        }
                        else
                        {
                            if ((_arg1 is _-S8))
                            {
                                _-Nb.log("TRADING::TradingCloseEvent");
                                if (!this._-0FJ)
                                {
                                    _-Nb.log("Received TradingCloseEvent, but trading already stopped!!!");
                                    return;
                                };
                                k = (_arg1 as _-S8);
                                if (k._-3-5().reason == _-1of._-5CO)
                                {
                                    if (this._-0Xx.getBoolean("trading.commiterror.enabled", true))
                                    {
                                        this._-36n.windowManager.simpleAlert("${inventory.trading.notification.title}", "${inventory.trading.notification.commiterror.caption}", "${inventory.trading.notification.commiterror.info}");
                                    };
                                }
                                else
                                {
                                    if (k._-3-5()._-45M != this._-3r0)
                                    {
                                        this._-36n._-2sl(TradingView._-0XM);
                                    };
                                };
                                this.close();
                            }
                            else
                            {
                                if ((_arg1 is _-11J))
                                {
                                    _-Nb.log("TRADING::TradingNotOpenEvent");
                                }
                                else
                                {
                                    if ((_arg1 is _-3sK))
                                    {
                                        this._-36n._-2cd("${inventory.trading.warning.others_account_disabled}");
                                    }
                                    else
                                    {
                                        if ((_arg1 is _-1GN))
                                        {
                                            this._-36n._-UL("${inventory.trading.warning.own_account_disabled}");
                                        }
                                        else
                                        {
                                            _-Nb.log(("TRADING/Unknown message event: " + _arg1));
                                        };
                                    };
                                };
                            };
                        };
                    };
                };
            };
        }
        public function _-4yw():void
        {
            this._-YX._-4Op(_-503._-2uv);
        }
        public function _-0P7(_arg1:int):void
        {
            if (_-4WX.isPerkAllowed(this._-YX._-cT, this._-YX.windowManager, _-4Tn.TRADE))
            {
                this._-0ud._-4gR(null).send(new _-1Wp(_arg1));
            };
        }
        public function _-0qI(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean, _arg5:_-4q2):Boolean
        {
            var _local6:String;
            if (this._-Kn)
            {
                return (false);
            };
            if (this._-126 == null)
            {
                return (false);
            };
            if (this._-126.length < _-3od)
            {
                this._-0ud._-4gR(null).send(new _-DF(_arg1));
            }
            else
            {
                if (!_arg4)
                {
                    return (false);
                };
                _local6 = String(_arg2);
                if (_arg3 == _-1mk._-2lg)
                {
                    _local6 = ((String(_arg2) + "poster") + _arg5.getLegacyString());
                }
                else
                {
                    if (_arg3 == _-1mk._-0CW)
                    {
                        _local6 = _-2lE(_arg2, _arg5);
                    };
                };
                if (this._-126.getValue(_local6) != null)
                {
                    this._-0ud._-4gR(null).send(new _-DF(_arg1));
                }
                else
                {
                    return (false);
                };
            };
            return (true);
        }
        public function _-2CY(_arg1:int):void
        {
            var k:_-2P9;
            if (this._-Kn)
            {
                return;
            };
            var k:_-2IL = this._-2Op.getWithIndex(_arg1);
            if (k)
            {
                k = k._-3-b();
                if (k)
                {
                    this._-0ud._-4gR(null).send(new _-3GC(k.id));
                };
            };
        }
        public function _-9a():void
        {
            this._-0ud._-4gR(null).send(new _-1Do());
        }
        public function _-ml():void
        {
            this._-0ud._-4gR(null).send(new _-2YN());
        }
        public function _-0ga():void
        {
            this.state = _-04y;
            this._-0ud._-4gR(null).send(new _-5Aw());
        }
        public function _-37I():void
        {
            this._-0ud._-4gR(null).send(new _-2D8());
        }
        public function _-2mh():void
        {
            this._-0ud._-4gR(null).send(new _-4sm());
        }
        private function get _-4wN():Boolean
        {
            return (this._-YX.config.getBoolean("talent.track.citizenship.enabled", false));
        }

    }
}//package _-0ln

//------------------------------------------------------------
//_-0ln.TradingView

package _-0ln
{
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-293._-5-S;
    import _-295._-39L;
    import _-3Zp._-f-;
    import _-mv._-54I;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import _-0ly._-2IL;
    import _-295._-2kE;
    import _-295._-243;
    import _-1ZZ._-3Wk;
    import flash.events.TimerEvent;
    import _-1ae.IItemGridWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.ITextWindow;
    import flash.display.BitmapData;
    import _-18r.Map;
    import flash.geom.Point;
    import _-0dE._-3-w;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-293._-2Gt;
    import _-0ly._-2G-;
    import _-0ly._-Gz;
    import _-0ly._-2P9;
    import _-3cY._-1mk;
    import _-mv._-486;
    import _-293.*;
    import _-3Zp.*;

    public class TradingView implements _-3Nt, dynamic 
    {

        private static const _-0fc:uint = 4284532064;
        private static const _-0vm:uint = 2577770;
        public static const _-0V4:int = 0;
        public static const _-0XM:int = 1;
        public static const _-0Zk:int = 2;

        private var _-2my:_-5Ev;
        private var _-U-:_-3Ts;
        private var _-cU:_-0hg;
        private var _-0tK:_-5-S;
        private var _-AV:_-39L;
        private var _-2C9:_-f-;
        private var _-42G:_-54I;
        private var _disposed:Boolean = false;
        private var _-r3:Boolean;
        private var _-1x2:IWindowContainer;
        private var _-2iK:IWindowContainer;
        private var _-2J0:Timer;
        private var _-40m:_-2IL;
        private var _-4EW:Boolean;
        private var _-3hK:Array;

        public function TradingView(_arg1:_-5Ev, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-5-S, _arg5:_-0hg, _arg6:_-54I)
        {
            this._-3hK = new Array();
            super();
            this._-2my = _arg1;
            this._-U- = _arg2;
            this._-cU = _arg5;
            this._-AV = _arg3;
            this._-0tK = _arg4;
            this._-42G = _arg6;
            this._-r3 = false;
            var k:_-2kE = this._-AV.getAssetByName("item_popup_xml");
            var k:_-243 = _-243(k);
            var k:IWindowContainer = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
            k.visible = false;
            this._-2C9 = new _-f-(k, this._-AV, this._-U-);
            this._-42G.events.addEventListener(_-3Wk._-3hw, this._-27W);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get visible():Boolean
        {
            return (this._-r3);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (((this._-1x2) && (!(this._-1x2.disposed))))
                {
                    this._-1x2.dispose();
                    this._-1x2 = null;
                };
                if (this._-2J0)
                {
                    this._-2J0.removeEventListener(TimerEvent.TIMER, this._-1Es);
                    this._-2J0.stop();
                    this._-2J0 = null;
                };
                if (this._-2C9 != null)
                {
                    this._-2C9.dispose();
                    this._-2C9 = null;
                };
                if (this._-42G)
                {
                    if (this._-42G.events != null)
                    {
                        this._-42G.events.removeEventListener(_-3Wk._-3hw, this._-27W);
                    };
                    this._-42G = null;
                };
                this._-3hK = null;
                this._-2my = null;
                this._-U- = null;
                this._-0tK = null;
                this._-cU = null;
                this._-AV = null;
                this._-40m = null;
                this._-r3 = false;
                this._disposed = true;
            };
        }
        public function setup(_arg1:int, _arg2:Boolean, _arg3:int, _arg4:Boolean):void
        {
            this._-1ID(false);
            this._-57U();
            this._-yu();
            if (((!(_arg2)) && (!(_arg4))))
            {
                this._-53Y("${inventory.trading.warning.both_accounts_disabled}");
                this._-UL("");
                this._-2cd("");
            }
            else
            {
                if (!_arg2)
                {
                    this._-UL("${inventory.trading.warning.own_account_disabled}");
                };
                if (!_arg4)
                {
                    this._-2cd("${inventory.trading.warning.others_account_disabled}");
                };
            };
        }
        public function getWindowContainer():IWindowContainer
        {
            if (this._-1x2 == null)
            {
                this._-1x2 = this._-1mc();
            };
            if (this._-2iK == null)
            {
                this._-2iK = this._-4JF();
            };
            if (!this._-4EW)
            {
                return (this._-1x2);
            };
            return (this._-2iK);
        }
        private function _-1mc():IWindowContainer
        {
            var k:IItemGridWindow;
            var k:IWindow;
            var k:IWindowContainer;
            var k:uint;
            var k:XML = (_-243(this._-AV.getAssetByName("inventory_trading_xml")).content as XML);
            var k:IWindowContainer = (this._-U-.buildFromXML(k) as IWindowContainer);
            k = (k.findChildByTag("OWN_USER_GRID") as IItemGridWindow);
            k = 0;
            while (k < k.numGridItems)
            {
                k = k._-jx(k);
                k.id = k;
                k.procedure = this._-45e;
                k.addEventListener(WindowMouseEvent._-4ea, this._-45e);
                k.addEventListener(WindowMouseEvent._-4e2, this._-45e);
                k++;
            };
            k = (k.findChildByTag("OTHER_USER_GRID") as IItemGridWindow);
            k = 0;
            while (k < k.numGridItems)
            {
                k = k._-jx(k);
                k.id = k;
                k.procedure = this._-ut;
                k.addEventListener(WindowMouseEvent._-4ea, this._-ut);
                k.addEventListener(WindowMouseEvent._-4e2, this._-ut);
                k++;
            };
            k.procedure = this._-3kk;
            return (k);
        }
        private function _-4JF():IWindowContainer
        {
            var k:XML = (_-243(this._-AV.getAssetByName("inventory_trading_minimized_xml")).content as XML);
            var k:IWindowContainer = (this._-U-.buildFromXML(k) as IWindowContainer);
            k.procedure = this._-0ge;
            return (k);
        }
        public function _-1ID(_arg1:Boolean=false):void
        {
            this._-4EW = _arg1;
        }
        protected function _-1QS():IItemGridWindow
        {
            return ((this._-1x2.findChildByTag("OWN_USER_GRID") as IItemGridWindow));
        }
        protected function _-2rp():IItemGridWindow
        {
            return ((this._-1x2.findChildByTag("OTHER_USER_GRID") as IItemGridWindow));
        }
        public function _-Yb(_arg1:int):void
        {
            var k:_-2IL;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:ITextWindow;
            var k:BitmapData;
            var k:BitmapData;
            var k:uint;
            var k = (_arg1 == this._-2my._-2dA);
            var k:Map = ((k) ? this._-2my._-4VZ : this._-2my._-2Op);
            var k:IItemGridWindow = ((k) ? this._-2rp() : this._-1QS());
            while (k < k.length)
            {
                k = (k.getWithIndex(k) as _-2IL);
                k = (k._-jx(k) as IWindowContainer);
                if (k)
                {
                    k.id = k;
                    while (k.numChildren > 0)
                    {
                        k.removeChildAt(0);
                    };
                    k.addChild(k.window);
                    k.window.id = k;
                    k._-4Ep();
                };
                k++;
            };
            while (k < k.numGridItems)
            {
                k = (k._-jx(k) as IWindowContainer);
                if (k)
                {
                    k.id = k;
                    k.removeChildAt(0);
                    k.invalidate();
                };
                k++;
            };
            this._-3P9();
        }
        public function _-4Yn():void
        {
            var k:IItemGridWindow;
            var k:IWindowContainer;
            var k:uint;
            k = this._-1QS();
            k = 0;
            while (k < k.numGridItems)
            {
                k = (k._-jx(k) as IWindowContainer);
                if (k)
                {
                    k.id = k;
                    k.removeChildAt(0);
                };
                k++;
            };
            k = this._-2rp();
            k = 0;
            while (k < k.numGridItems)
            {
                k = (k._-jx(k) as IWindowContainer);
                if (k)
                {
                    k.id = k;
                    k.removeChildAt(0);
                };
                k++;
            };
        }
        public function _-4n():void
        {
            var k:IWindow;
            var k:ITextWindow;
            var k:IBitmapWrapperWindow;
            if (this._-1x2)
            {
                this._-3P9();
                k = (this._-1x2.findChildByTag("OTHER_USER_NAME") as ITextWindow);
                if (k)
                {
                    k.text = this._-2my._-4co;
                };
                k = this._-1x2.findChildByTag("OWN_USER_BORDER");
                if (k)
                {
                    k.color = ((this._-2my._-xP) ? _-0fc : _-0vm);
                };
                k = (this._-1x2.findChildByTag("OWN_USER_LOCK") as IBitmapWrapperWindow);
                if (k)
                {
                    if (k.bitmap == null)
                    {
                        k.bitmap = new BitmapData(k.width, k.height, true);
                    };
                    k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
                    k.bitmap.copyPixels((this._-AV.getAssetByName(((this._-2my._-xP) ? "trading_locked_icon_png" : "trading_unlocked_icon_png")).content as BitmapData), k.bitmap.rect, new Point());
                    k.invalidate();
                };
                k = this._-1x2.findChildByTag("OTHER_USER_BORDER");
                if (k)
                {
                    k.color = ((this._-2my._-2zz) ? _-0fc : _-0vm);
                };
                k = (this._-1x2.findChildByTag("OTHER_USER_LOCK") as IBitmapWrapperWindow);
                if (k)
                {
                    if (k.bitmap == null)
                    {
                        k.bitmap = new BitmapData(k.width, k.height, true);
                    };
                    k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
                    k.bitmap.copyPixels((this._-AV.getAssetByName(((this._-2my._-2zz) ? "trading_locked_icon_png" : "trading_unlocked_icon_png")).content as BitmapData), k.bitmap.rect, new Point());
                    k.invalidate();
                };
            };
        }
        public function _-3P9():void
        {
            var k:IWindow;
            if (this._-1x2)
            {
                k = this._-1x2.findChildByName("button_accept");
                if (!k)
                {
                    return;
                };
                switch (this._-2my.state)
                {
                    case _-5Ev._-1uA:
                        if ((((this._-2my._-4VZ.length > 0)) || ((this._-2my._-2Op.length > 0))))
                        {
                            k.enable();
                        }
                        else
                        {
                            k.disable();
                        };
                        k.caption = "${inventory.trading.accept}";
                        return;
                    case _-5Ev._-3QO:
                        if ((((this._-2my._-4VZ.length > 0)) || ((this._-2my._-2Op.length > 0))))
                        {
                            k.enable();
                        }
                        else
                        {
                            k.disable();
                        };
                        k.caption = ((this._-2my._-xP) ? "${inventory.trading.modify}" : "${inventory.trading.accept}");
                        this._-53Y("${inventory.trading.info.add}");
                        return;
                    case _-5Ev._-2to:
                        k.disable();
                        k.caption = "${inventory.trading.countdown}";
                        this._-53Y("${inventory.trading.info.confirm}");
                        return;
                    case _-5Ev._-0a9:
                        k.enable();
                        k.caption = "${inventory.trading.confirm}";
                        this._-53Y("${inventory.trading.info.confirm}");
                        return;
                    case _-5Ev._-04y:
                        k.disable();
                        this._-53Y("${inventory.trading.info.waiting}");
                        return;
                    case _-5Ev._-2d5:
                        k.disable();
                        k.caption = "${inventory.trading.accept}";
                        this._-53Y("${inventory.trading.info.confirm}");
                        return;
                    case _-5Ev.super:
                        return;
                    default:
                        throw (new Error((('Unknown trading progress state: "' + this._-2my.state) + '"')));
                };
            };
        }
        public function _-53Y(_arg1:String):void
        {
            var k:ITextWindow = (this._-1x2.findChildByName("help_text") as ITextWindow);
            k.text = _arg1;
            k.visible = true;
        }
        public function _-UL(_arg1:String):void
        {
            var k:ITextWindow = (this._-1x2.findChildByName("info_text_0") as ITextWindow);
            k.text = _arg1;
            k.visible = true;
            var k:IItemGridWindow = (this._-1x2.findChildByName("item_grid_0") as IItemGridWindow);
            if (k)
            {
                k.visible = false;
            };
        }
        public function _-57U():void
        {
            var k:ITextWindow = (this._-1x2.findChildByName("info_text_0") as ITextWindow);
            k.visible = false;
            var k:IItemGridWindow = (this._-1x2.findChildByName("item_grid_0") as IItemGridWindow);
            if (k)
            {
                k.visible = true;
            };
        }
        public function _-2cd(_arg1:String):void
        {
            var k:ITextWindow = (this._-1x2.findChildByName("info_text_1") as ITextWindow);
            k.text = _arg1;
            k.visible = true;
            var k:IItemGridWindow = (this._-1x2.findChildByName("item_grid_1") as IItemGridWindow);
            if (k)
            {
                k.visible = false;
            };
        }
        public function _-yu():void
        {
            var k:ITextWindow = (this._-1x2.findChildByName("info_text_1") as ITextWindow);
            k.visible = false;
            var k:IItemGridWindow = (this._-1x2.findChildByName("item_grid_1") as IItemGridWindow);
            if (k)
            {
                k.visible = true;
            };
        }
        public function _-26w(_arg1:_-3-w):void
        {
            var k:String = ("inventory.trading.openfail." + _arg1._-3-5().reason);
            this._-U-.registerLocalizationParameter(k, "otherusername", _arg1._-3-5()._-4co);
            this._-U-.simpleAlert("${inventory.trading.openfail.title}", "${inventory.trading.openfail.caption}", (("${" + k) + "}"));
        }
        public function _-2sl(_arg1:int):void
        {
            switch (_arg1)
            {
                case _-0V4:
                    this._-U-.alert("${inventory.trading.notification.title}", "${inventory.trading.warning.other_not_offering}", 0, this._-4xb);
                    return;
                case _-0XM:
                    this._-U-.alert("${inventory.trading.notification.title}", "${inventory.trading.info.closed}", 0, this._-4xb);
                    return;
                case _-0Zk:
                    this._-U-.alert("${inventory.trading.notification.title}", "${inventory.trading.info.already_open}", 0, this._-4xb);
                    return;
            };
        }
        public function _-13Z(_arg1:String, _arg2:String, _arg3:Function):void
        {
            var title:String = _arg1;
            var description:String = _arg2;
            var callback:Function = _arg3;
            this._-U-.alert(title, description, 0, (((callback)!=null) ? callback : function (_arg1:_-1Ii, _arg2:WindowEvent):void
{
    _arg1.dispose();
}));
        }
        public function _-08N():void
        {
            if (this._-2J0 == null)
            {
                this._-2J0 = new Timer(1000, 3);
                this._-2J0.addEventListener(TimerEvent.TIMER, this._-1Es);
            };
            this._-2J0.reset();
            this._-2J0.repeatCount = 3;
            this._-2J0.start();
            this._-U-.registerLocalizationParameter("inventory.trading.countdown", "counter", "3");
            this._-4n();
        }
        public function _-5CI():void
        {
            if (this._-2J0 != null)
            {
                this._-2J0.reset();
            };
        }
        private function _-1Es(_arg1:TimerEvent):void
        {
            this._-U-.registerLocalizationParameter("inventory.trading.countdown", "counter", String((3 - this._-2J0.currentCount)));
            if (this._-2J0.currentCount == 3)
            {
                this._-2my._-1BV();
                this._-2J0.reset();
            };
        }
        protected function _-36U(_arg1:_-2IL):BitmapData
        {
            var k:_-2Gt;
            var k:BitmapData = _arg1._-3VJ;
            if (k == null)
            {
                if ((_arg1._-3-b() is _-2G-))
                {
                    k = this._-0tK.getFurnitureIcon(_arg1.type, this, null, _arg1._-vM);
                }
                else
                {
                    if ((_arg1._-3-b() is _-Gz))
                    {
                        k = this._-0tK.getWallItemIcon(_arg1.type, this, _arg1._-vM.getLegacyString());
                    };
                };
                if (k.id > 0)
                {
                    _arg1._-3jy = k.id;
                };
                k = k.data;
                _arg1._-3VJ = k;
            };
            return (k);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:uint;
            var k:_-2IL;
            var k:Map;
            var k:Boolean;
            k = this._-2my._-2Op;
            k = false;
            k = 0;
            while (k < k.length)
            {
                k = (k.getWithIndex(k) as _-2IL);
                if (k._-3jy == _arg1)
                {
                    k._-3VJ = _arg2;
                    k = true;
                };
                k++;
            };
            if (k)
            {
                this._-Yb(this._-2my._-3UH);
            };
            k = this._-2my._-4VZ;
            k = false;
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as _-2IL);
                if (k._-3jy == _arg1)
                {
                    k._-3VJ = _arg2;
                    k = true;
                };
                k++;
            };
            if (k)
            {
                this._-Yb(this._-2my._-2dA);
            };
        }
        protected function _-3KT():IWindowContainer
        {
            var k:XML = (_-243(this._-AV.getAssetByName("inventory_thumb_xml")).content as XML);
            return ((this._-U-.buildFromXML(k) as IWindowContainer));
        }
        protected function _-0YC(_arg1:uint):void
        {
            var k:_-2IL;
            if ((((this._-2my == null)) || ((this._-2my._-2Op == null))))
            {
                return;
            };
            if (_arg1 < this._-2my._-2Op.length)
            {
                k = (this._-2my._-2Op.getWithIndex(_arg1) as _-2IL);
                this.setSelection(k);
                if (k)
                {
                    this._-2my._-24h()._-21v(k);
                };
            };
        }
        protected function _-52u(_arg1:uint):void
        {
            var k:_-2IL;
            if ((((this._-2my == null)) || ((this._-2my._-4VZ == null))))
            {
                return;
            };
            if (_arg1 < this._-2my._-4VZ.length)
            {
                k = (this._-2my._-4VZ.getWithIndex(_arg1) as _-2IL);
                this.setSelection(k);
                if (k)
                {
                    this._-2my._-24h()._-21v(k);
                };
            };
        }
        public function setSelection(_arg1:_-2IL):void
        {
            this.removeSelection();
            if (_arg1)
            {
                this._-40m = _arg1;
                this._-40m._-vX = true;
            };
        }
        public function removeSelection():void
        {
            if (this._-40m)
            {
                this._-40m._-vX = false;
                this._-40m = null;
            };
        }
        public function _-D-(_arg1:int, _arg2:BitmapData):void
        {
        }
        private function _-0ge(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "button_continue":
                        this._-2my._-4yw();
                        return;
                    case "button_cancel":
                        this._-2my._-2mh();
                        return;
                };
            };
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "button_accept":
                        switch (this._-2my.state)
                        {
                            case _-5Ev._-3QO:
                                if ((((this._-2my._-4VZ.length == 0)) && (!(this._-2my._-xP))))
                                {
                                    this._-2sl(_-0V4);
                                };
                                if (this._-2my._-xP)
                                {
                                    this._-2my._-ml();
                                }
                                else
                                {
                                    this._-2my._-9a();
                                };
                                break;
                            case _-5Ev._-0a9:
                                _arg2.disable();
                                this._-2my._-0ga();
                                break;
                        };
                        return;
                    case "button_cancel":
                        switch (this._-2my.state)
                        {
                            case _-5Ev._-3QO:
                                this._-2my._-2mh();
                                break;
                            case _-5Ev._-0a9:
                                this._-2my._-37I();
                                break;
                        };
                        return;
                };
            };
        }
        private function _-45e(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-38-(_arg1, _arg2, true);
        }
        private function _-ut(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-38-(_arg1, _arg2, false);
        }
        private function _-38-(_arg1:WindowEvent, _arg2:IWindow, _arg3:Boolean):void
        {
            var k:_-2IL;
            var k:_-2P9;
            var k:BitmapData;
            var k:String;
            var k:_-2G-;
            var k:Date;
            if (((_arg3) && ((_arg1.type == WindowMouseEvent._-90))))
            {
                this._-2my._-2CY(_arg2.id);
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                if (_arg3)
                {
                    k = this._-2my._-2Op.getWithIndex(_arg2.id);
                }
                else
                {
                    k = this._-2my._-4VZ.getWithIndex(_arg2.id);
                };
                if (k == null)
                {
                    return;
                };
                k = k._-3-b();
                if (k == null)
                {
                    return;
                };
                k = this._-2my._-w4(k);
                if ((k is _-2G-))
                {
                    k = ((("$" + "{roomItem.name.") + k.type) + "}");
                }
                else
                {
                    k = ((("$" + "{wallItem.name.") + k.type) + "}");
                };
                if (k.category == _-1mk._-2lg)
                {
                    k = (("${poster_" + k._-vM.getLegacyString()) + "_name}");
                };
                if (k.category == _-1mk._-0Om)
                {
                    k = (k as _-2G-);
                    k = new Date(k._-6B, (k._-LB - 1), k._-2n9);
                    k = ((this._-cU.getKey(("roomItem.name." + k.type)) + " ") + k.toLocaleDateString());
                };
                if (k.category == _-1mk._-570)
                {
                    k = this._-3N3(k, k, true, _arg2.id, _arg3);
                };
                this._-2C9._-0PO((_arg2 as IWindowContainer), k, k, k._-3-b()._-vM);
                this._-2C9.show();
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    this._-2C9._-2fR();
                };
            };
        }
        public function _-4xb(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            if (_arg2.type == WindowEvent._-0-9)
            {
                _arg1.dispose();
            };
        }
        private function _-3N3(_arg1:_-2IL, _arg2:String, _arg3:Boolean, _arg4:uint=1, _arg5:Boolean=false):String
        {
            var k:_-2P9 = _arg1._-3-b();
            var k:_-486 = this._-42G._-2qH._-rR(k._-33C);
            if (k != null)
            {
                this._-cU.registerParameter("songdisc.info", "name", k.name);
                this._-cU.registerParameter("songdisc.info", "author", k.creator);
                k = this._-cU.getKey("songdisc.info");
            }
            else
            {
                if (_arg3)
                {
                    if (this._-3hK.length > 0)
                    {
                        this._-3hK.pop();
                        this._-3hK.pop();
                        this._-3hK.pop();
                    };
                    this._-3hK.push(_arg4);
                    this._-3hK.push(_arg1);
                    this._-3hK.push(_arg5);
                    this._-42G._-2qH._-3nW(k._-33C);
                };
            };
            return (_arg2);
        }
        private function _-27W(_arg1:_-3Wk):void
        {
            var k:Boolean;
            var k:_-2IL;
            var k:uint;
            var k:_-2P9;
            var k:String;
            var k:BitmapData;
            var k:IWindow;
            if (this._-3hK.length > 0)
            {
                k = this._-3hK.pop();
                k = this._-3hK.pop();
                k = this._-3hK.pop();
                k = k._-3-b();
                if (k._-33C == _arg1.id)
                {
                    if (((((k) && ((this._-2my._-2Op.getWithIndex(k) == k)))) || (((!(k)) && ((this._-2my._-4VZ.getWithIndex(k) == k))))))
                    {
                        k = this._-3N3(k, "", false);
                        k = this._-2my._-w4(k);
                        k = ((k) ? this._-1QS()._-jx(k) : this._-2rp()._-jx(k));
                        this._-2C9._-0PO((k as IWindowContainer), k, k);
                    };
                }
                else
                {
                    this._-3hK.push(k);
                    this._-3hK.push(k);
                    this._-3hK.push(k);
                };
            };
        }

    }
}//package _-0ln

//------------------------------------------------------------
//_-0Lo._-0wg

package _-0Lo
{
    import _-4Aj.*;

    public class _-0wg implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0wg(_arg1:String, _arg2:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Lo

//------------------------------------------------------------
//_-0ly._-2G-

package _-0ly
{
    import _-293._-4q2;

    public class _-2G- implements _-2P9 
    {

        protected var _-0Kq:int;
        protected var _-1ou:int;
        protected var _-JS:int;
        protected var _-5K:int;
        protected var _-56Y:_-4q2;
        protected var _-31w:Number;
        protected var _-04-:Boolean;
        protected var _-3TW:Boolean;
        protected var _-38r:Boolean;
        protected var _-2c2:Boolean;
        protected var _-4VJ:int;
        protected var _-3pc:int;
        protected var _-3le:int;
        protected var _-0Zt:int;
        protected var _-1-h:String;
        protected var _-0hW:int;
        protected var _-2pj:Boolean;

        public function _-2G-(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean, _arg8:Boolean, _arg9:_-4q2, _arg10:Number, _arg11:int, _arg12:int, _arg13:int, _arg14:int, _arg15:String, _arg16:int)
        {
            this._-0Kq = _arg1;
            this._-5K = _arg2;
            this._-1ou = _arg3;
            this._-JS = _arg4;
            this._-38r = _arg5;
            this._-3TW = _arg6;
            this._-04- = _arg7;
            this._-2c2 = _arg8;
            this._-56Y = _arg9;
            this._-31w = _arg10;
            this._-4VJ = _arg11;
            this._-3pc = _arg12;
            this._-3le = _arg13;
            this._-0Zt = _arg14;
            this._-1-h = _arg15;
            this._-0hW = _arg16;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get ref():int
        {
            return (this._-1ou);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function get _-33C():Number
        {
            return (this._-31w);
        }
        public function get _-b4():Boolean
        {
            return (this._-04-);
        }
        public function get _-2x3():Boolean
        {
            return (this._-3TW);
        }
        public function get _-0uu():Boolean
        {
            return (this._-38r);
        }
        public function get _-44d():Boolean
        {
            return (this._-2c2);
        }
        public function get _-40y():int
        {
            return (this._-4VJ);
        }
        public function get _-2n9():int
        {
            return (this._-3pc);
        }
        public function get _-LB():int
        {
            return (this._-3le);
        }
        public function get _-6B():int
        {
            return (this._-0Zt);
        }
        public function get slotId():String
        {
            return (this._-1-h);
        }
        public function get _-FX():int
        {
            return (this._-0hW);
        }
        public function set locked(_arg1:Boolean):void
        {
            this._-2pj = _arg1;
        }
        public function get locked():Boolean
        {
            return (this._-2pj);
        }

    }
}//package _-0ly

//------------------------------------------------------------
//_-0ly._-2IL

package _-0ly
{
    import _-2Nr.FurniModel;
    import _-18r.Map;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-293._-5-S;
    import _-293._-4q2;
    import flash.display.BitmapData;
    import _-293._-2Gt;
    import _-3cY._-1mk;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae._-3Yi;
    import _-0Ix._-4xG;
    import _-0Ix._-0nW;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-293.*;

    public class _-2IL implements dynamic 
    {

        private static const _-3Z1:int = 0xCCCCCC;
        private static const _-DN:int = 10275685;

        private const _-0pS:Number = 1;
        private const _-2yJ:Number = 0.2;

        protected var _-3n-:FurniModel;
        protected var _-5K:int;
        protected var _-2ZH:Map;
        protected var _-0xv:IWindowContainer;
        private var _-0Vh:IWindow;
        protected var _-0tK:_-5-S;
        protected var _-2pj:Boolean;
        protected var _-2dY:Boolean;
        protected var _-1-6:String;
        protected var _-JS:int;
        protected var _-56Y:_-4q2;
        protected var _-31w:Number;
        protected var _-1h7:int = 0;
        protected var _-52z:BitmapData;
        protected var _-4sC:int;
        protected var _-3wu:Boolean;
        protected var _-1cW:Boolean;
        private var _-2Th:Boolean;
        private var _-3bB:Boolean;

        public function _-2IL(_arg1:FurniModel, _arg2:int, _arg3:String, _arg4:int, _arg5:IWindowContainer, _arg6:_-5-S, _arg7:Boolean, _arg8:_-4q2=null, _arg9:Number=NaN, _arg10:BitmapData=null, _arg11:Boolean=false)
        {
            this._-3n- = _arg1;
            this._-5K = _arg2;
            this._-0xv = _arg5;
            this._-0tK = _arg6;
            this._-1cW = _arg7;
            this._-2ZH = new Map();
            this._-1-6 = _arg3;
            this._-JS = _arg4;
            this._-56Y = _arg8;
            this._-31w = _arg9;
            if (_arg10 != null)
            {
                this._-Uq(_arg10);
            }
            else
            {
                if (!_arg11)
                {
                    this._-2Me();
                };
            };
            this._-0xv.procedure = this._-2m1;
        }
        public function dispose():void
        {
            this._-3n- = null;
            this._-0Vh = null;
            this._-0tK = null;
            if (this._-2ZH)
            {
                this._-2ZH.dispose();
                this._-2ZH = null;
            };
            this._-56Y = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
            };
        }
        public function _-4Ep():void
        {
            this._-0xv.procedure = null;
        }
        public function get _-2kL():String
        {
            return (this._-1-6);
        }
        private function _-Uq(_arg1:BitmapData):void
        {
            this._-52z = _arg1;
            this._-3wu = true;
            this._-1h7 = -1;
            this._-1Tp();
        }
        private function _-RB(_arg1:BitmapData):void
        {
            this._-52z = _arg1;
            this._-3wu = true;
            this._-1Tp();
        }
        public function _-2Me(_arg1:Boolean=true):void
        {
            var k:_-2Gt;
            if (this._-52z != null)
            {
                return;
            };
            if (this._-1-6 == FurniModel._-4A5)
            {
                k = this._-0tK.getFurnitureIcon(this._-5K, this, String(this._-31w), this._-56Y);
            }
            else
            {
                k = this._-0tK.getWallItemIcon(this._-5K, this, this._-56Y.getLegacyString());
            };
            if (k.id > 0)
            {
                if (_arg1)
                {
                    this._-RB(k.data);
                };
                this._-1h7 = k.id;
            }
            else
            {
                this._-Uq(k.data);
                this._-1h7 = -1;
            };
            this._-3wu = true;
        }
        public function get _-4U1():Boolean
        {
            return (this._-3wu);
        }
        public function get _-3LH():Boolean
        {
            return ((this._-1h7 == -1));
        }
        public function set _-vX(_arg1:Boolean):void
        {
            if (this._-2dY != _arg1)
            {
                this._-2dY = _arg1;
                this._-y5();
            };
        }
        public function get window():IWindowContainer
        {
            if (this._-0xv == null)
            {
                return (null);
            };
            if (this._-0xv.disposed)
            {
                return (null);
            };
            return (this._-0xv);
        }
        public function set _-3Ji(_arg1:Boolean):void
        {
            this._-2pj = _arg1;
        }
        public function get _-3Ji():Boolean
        {
            return (this._-2pj);
        }
        public function get _-vX():Boolean
        {
            return (this._-2dY);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get _-3VJ():BitmapData
        {
            return (this._-52z);
        }
        public function set _-3VJ(_arg1:BitmapData):void
        {
            this._-52z = _arg1;
        }
        public function get _-3jy():int
        {
            return (this._-1h7);
        }
        public function set _-3jy(_arg1:int):void
        {
            this._-1h7 = _arg1;
        }
        public function get _-3PE():int
        {
            return (this._-4sC);
        }
        public function set _-3PE(_arg1:int):void
        {
            this._-4sC = _arg1;
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function get _-33C():Number
        {
            return (this._-31w);
        }
        public function set _-de(_arg1:Boolean):void
        {
            if (this._-1cW != _arg1)
            {
                this._-1cW = _arg1;
                this._-0TI();
            };
        }
        public function push(_arg1:_-2P9, _arg2:Boolean=false):void
        {
            var k:_-2P9 = this._-2ZH.getValue(_arg1.id);
            if (k == null)
            {
                this._-2ZH.add(_arg1.id, _arg1);
            }
            else
            {
                k.locked = false;
            };
            this._-4bn();
            this._-y5();
            if (_arg2 != this._-2Th)
            {
                this._-2Th = _arg2;
                this._-0gz();
            };
        }
        public function unshift(_arg1:_-2P9):void
        {
            var k:_-2P9 = this._-2ZH.getValue(_arg1.id);
            if (k == null)
            {
                this._-2ZH.unshift(_arg1.id, _arg1);
            }
            else
            {
                k.locked = false;
            };
            this._-1jd();
        }
        public function pop():_-2P9
        {
            var k:_-2P9;
            if (this._-2ZH.length > 0)
            {
                k = (this._-2ZH.getWithIndex((this._-2ZH.length - 1)) as _-2P9);
                this._-2ZH.remove(k.id);
            };
            this._-1jd();
            return (k);
        }
        public function _-3-b():_-2P9
        {
            var k:_-2P9;
            if (this._-2ZH.length > 0)
            {
                k = (this._-2ZH.getWithIndex((this._-2ZH.length - 1)) as _-2P9);
            };
            return (k);
        }
        public function _-00m(_arg1:int):_-2P9
        {
            return (this._-2ZH.getWithIndex(_arg1));
        }
        public function _-1C7():_-2P9
        {
            var k:_-2P9;
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = this._-2ZH.getWithIndex(k);
                if (((!(k.locked)) && (k._-2x3)))
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-2le():_-2P9
        {
            var k:_-2P9;
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = this._-2ZH.getWithIndex(k);
                if (((!(k.locked)) && (k._-b4)))
                {
                    this._-2qy(k.id);
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-13d():_-2P9
        {
            var k:_-2P9;
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = this._-2ZH.getWithIndex(k);
                if (((!(k.locked)) && (k._-44d)))
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-3SN():Array
        {
            var k:_-2P9;
            var k:Array = [];
            for each (k in this._-2ZH)
            {
                k.push(k.ref);
            };
            return (k);
        }
        public function _-2qy(_arg1:int):Boolean
        {
            var k:_-2P9;
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = this._-2ZH.getWithIndex(k);
                if (k.id == _arg1)
                {
                    k.locked = true;
                    this._-4bn();
                    return (true);
                };
                k++;
            };
            return (false);
        }
        public function _-3vl(_arg1:Array):void
        {
            var k:Boolean;
            var k:_-2P9;
            var k:Boolean;
            var k:int = (this._-2ZH.length - 1);
            while (k >= 0)
            {
                k = this._-2ZH.getWithIndex(k);
                k = (_arg1.indexOf(k.ref) >= 0);
                if (k.locked != k)
                {
                    k.locked = k;
                    k = true;
                };
                k--;
            };
            if (k)
            {
                this._-4bn();
            };
        }
        public function _-1SQ(_arg1:int):Boolean
        {
            var k:_-2P9;
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = this._-2ZH.getWithIndex(k);
                if (k.id == _arg1)
                {
                    k.locked = false;
                    this._-4bn();
                    return (true);
                };
                k++;
            };
            return (false);
        }
        public function _-22M():void
        {
            var k:Boolean;
            var k:_-2P9;
            var k:int = (this._-2ZH.length - 1);
            while (k >= 0)
            {
                k = this._-2ZH.getWithIndex(k);
                if (k.locked)
                {
                    k.locked = false;
                    k = true;
                };
                k--;
            };
            if (k)
            {
                this._-4bn();
            };
        }
        public function _-3w1():int
        {
            var k:int;
            var k:int;
            var k:_-2P9;
            if (this.category == _-1mk._-2zi)
            {
                k = 0;
                k = 0;
                while (k < this._-2ZH.length)
                {
                    k = (this._-2ZH.getWithIndex(k) as _-2P9);
                    k = (k + int(k._-vM.getLegacyString()));
                    k++;
                };
                return (k);
            };
            return (this._-2ZH.length);
        }
        public function _-4Cd():int
        {
            var k:_-2P9;
            var k:int;
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = (this._-2ZH.getWithIndex(k) as _-2P9);
                if (((k._-b4) && (!(k.locked))))
                {
                    k++;
                };
                k++;
            };
            return (k);
        }
        public function _-3-x():int
        {
            var k:_-2P9;
            var k:int;
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = (this._-2ZH.getWithIndex(k) as _-2P9);
                if (((k._-2x3) && (!(k.locked))))
                {
                    k++;
                };
                k++;
            };
            return (k);
        }
        public function remove(_arg1:int):_-2P9
        {
            var k:_-2P9 = this._-2ZH.getValue(_arg1);
            if (k)
            {
                this._-2ZH.remove(_arg1);
                this._-1jd();
                return (k);
            };
            return (null);
        }
        public function _-2fQ(_arg1:int):_-2P9
        {
            var k:_-2P9 = this._-2ZH.getValue(_arg1);
            return (k);
        }
        public function _-0Hn(_arg1:int, _arg2:_-2P9):void
        {
            this._-2ZH.add(_arg1, _arg2);
            this._-1jd();
        }
        public function _-1Uo():int
        {
            var k:_-2P9;
            if (this.category == _-1mk._-2zi)
            {
                return (this._-3w1());
            };
            var k:int;
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = this._-2ZH.getWithIndex(k);
                if (!k.locked)
                {
                    k++;
                };
                k++;
            };
            return (k);
        }
        private function _-4bn():void
        {
            var k:ITextWindow;
            var k:int = this._-1Uo();
            var k:IWindow = this._-0xv.findChildByName("number_container");
            k.visible = (k > 1);
            if (k > 1)
            {
                k = (this._-0xv.findChildByName("number") as ITextWindow);
                k.text = String(k);
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("bitmap") as IBitmapWrapperWindow);
            if (k <= 0)
            {
                k.blend = this._-2yJ;
            }
            else
            {
                k.blend = this._-0pS;
            };
        }
        private function _-0gz():void
        {
            if (!this._-0Vh)
            {
                this._-0Vh = this._-0xv.findChildByTag("BG_COLOR");
            };
            this._-0Vh.color = ((this._-2Th) ? _-DN : _-3Z1);
        }
        private function _-y5():void
        {
            this._-0xv.findChildByName("outline").visible = this._-vX;
        }
        private function _-0TI():void
        {
            var k:IWindow = this._-0xv.findChildByName("recyclable_container");
            if (k)
            {
                k.visible = ((this._-1cW) && ((this._-4Cd() > 0)));
            };
        }
        private function _-1Tp():void
        {
            var k:_-3Yi;
            var k:_-4xG;
            var k:_-3Yi;
            var k:_-0nW;
            var k:BitmapData;
            if ((((this._-vM.uniqueSerialNumber > 0)) && (this._-3n-._-3a4)))
            {
                k = _-3Yi(this._-0xv.findChildByName("unique_item_overlay_container"));
                k = _-4xG(k.widget);
                k.visible = true;
                k._-2GS = this._-vM.uniqueSerialNumber;
                this._-0xv.findChildByName("unique_item_background_bitmap").visible = true;
            }
            else
            {
                if (this._-vM.rarityLevel >= 0)
                {
                    k = _-3Yi(this._-0xv.findChildByName("rarity_item_overlay_container"));
                    k = _-0nW(k.widget);
                    k.rarityLevel = this._-vM.rarityLevel;
                    k.visible = true;
                };
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("bitmap") as IBitmapWrapperWindow);
            if (k)
            {
                if (this._-52z != null)
                {
                    k = ((k.bitmap) ? k.bitmap : new BitmapData(k.width, k.height));
                    k.fillRect(k.rect, 0);
                    k.copyPixels(this._-52z, this._-52z.rect, new Point(((k.width / 2) - (this._-52z.width / 2)), ((k.height / 2) - (this._-52z.height / 2))));
                    k.bitmap = k;
                };
            };
        }
        public function _-1jd():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            if (this._-0xv.disposed)
            {
                return;
            };
            this._-1Tp();
            this._-0gz();
            this._-4bn();
            this._-0TI();
            this._-y5();
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            if (this._-0xv.disposed)
            {
                return;
            };
            if (this._-1h7 != _arg1)
            {
                return;
            };
            this._-52z = _arg2;
            this._-1Tp();
        }
        public function set _-0aO(_arg1:Boolean):void
        {
            if (this._-2Th != _arg1)
            {
                this._-2Th = _arg1;
                this._-0gz();
            };
        }
        public function get _-0aO():Boolean
        {
            return (this._-2Th);
        }
        private function _-2m1(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:Boolean;
            switch (_arg1.type)
            {
                case WindowMouseEvent._-02B:
                    this._-3bB = false;
                    this._-3n-._-1ZJ();
                    return;
                case WindowMouseEvent._-3Jy:
                    this._-3n-._-3m8(this._-2kL);
                    this._-vX = true;
                    this._-3bB = true;
                    this._-3n-._-2Cn();
                    return;
                case WindowMouseEvent._-4e2:
                    if (((!(this._-3bB)) || (this._-3n-._-0sh)))
                    {
                        return;
                    };
                    _local3 = this._-3n-._-0kz(true);
                    if (_local3)
                    {
                        this._-3bB = false;
                    };
                    return;
                case WindowMouseEvent._-90:
                    this._-3bB = false;
                    return;
                case WindowMouseEvent._-4B7:
                    this._-3n-._-1i9();
                    this._-3bB = false;
                    return;
            };
        }

    }
}//package _-0ly

//------------------------------------------------------------
//_-0ly._-2P9

package _-0ly
{
    import _-293._-4q2;

    public interface _-2P9 
    {

        function get id():int;
        function get ref():int;
        function get type():int;
        function get _-vM():_-4q2;
        function get _-33C():Number;
        function get category():int;
        function get _-b4():Boolean;
        function get _-2x3():Boolean;
        function get _-0uu():Boolean;
        function get _-44d():Boolean;
        function get locked():Boolean;
        function set locked(_arg1:Boolean):void;

    }
}//package _-0ly

//------------------------------------------------------------
//_-0ly._-Gz

package _-0ly
{
    import _-293._-4q2;

    public class _-Gz implements _-2P9 
    {

        protected var _-0Kq:int;
        protected var _-5K:int;
        protected var _-1ou:int;
        protected var _-JS:int;
        protected var _-31w:Number;
        protected var _-56Y:_-4q2;
        protected var _-04-:Boolean;
        protected var _-3TW:Boolean;
        protected var _-38r:Boolean;
        protected var _-2c2:Boolean;
        protected var _-2pj:Boolean;

        public function _-Gz(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean, _arg8:Boolean, _arg9:_-4q2, _arg10:Number)
        {
            this._-0Kq = _arg1;
            this._-5K = _arg2;
            this._-1ou = _arg3;
            this._-JS = _arg4;
            this._-38r = _arg5;
            this._-3TW = _arg6;
            this._-04- = _arg7;
            this._-2c2 = _arg8;
            this._-56Y = _arg9;
            this._-31w = _arg10;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get ref():int
        {
            return (this._-1ou);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get _-33C():Number
        {
            return (this._-31w);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function set _-vM(_arg1:_-4q2):void
        {
            this._-56Y = _arg1;
        }
        public function get _-b4():Boolean
        {
            return (this._-04-);
        }
        public function get _-2x3():Boolean
        {
            return (this._-3TW);
        }
        public function get _-0uu():Boolean
        {
            return (this._-38r);
        }
        public function get _-44d():Boolean
        {
            return (this._-2c2);
        }
        public function get locked():Boolean
        {
            return (this._-2pj);
        }
        public function set locked(_arg1:Boolean):void
        {
            this._-2pj = _arg1;
        }

    }
}//package _-0ly

//------------------------------------------------------------
//_-0M-._-4iZ

package _-0M-
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4iZ implements _-58N 
    {

        private var _-by:int;

        public function get _-0nn():int
        {
            return (this._-by);
        }
        public function flush():Boolean
        {
            this._-by = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-by = _arg1._-2BW();
            return (true);
        }

    }
}//package _-0M-

//------------------------------------------------------------
//_-0M7._-0tE

package _-0M7
{
    public class _-0tE 
    {

        public static const _-4LW:String = "helper";
        public static const _-0-O:String = "citizenship";

        public static function get _-0zn():Array
        {
            return ([_-4LW, _-0-O]);
        }

    }
}//package _-0M7

//------------------------------------------------------------
//_-0mD._-1vM

package _-0mD
{
    public interface _-1vM 
    {

        function offersAvailable(_arg1:int):void;

    }
}//package _-0mD

//------------------------------------------------------------
//_-0mD._-2Jq

package _-0mD
{
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-4Wu._-4uR;
    import flash.events.IEventDispatcher;
    import _-3X8._-0hg;
    import _-2np._-1ZV;
    import _-4GV._-0Uq;
    import _-32F._-48b;
    import _-4n1._-0hX;
    import flash.display.BitmapData;
    import _-2JX._-4gV;
    import _-19z._-4Bz;
    import _-0vj._-3-I;
    import _-1B-.*;

    public interface _-2Jq extends _-4yI 
    {

        function redeemVoucher(_arg1:String):void;
        function _-wS(_arg1:int, _arg2:int):void;
        function _-1Wn():void;
        function _-3Io():void;
        function _-227(_arg1:Array):void;
        function get assets():_-39L;
        function get windowManager():_-3Ts;
        function get configuration():_-4uR;
        function get events():IEventDispatcher;
        function get localization():_-0hg;
        function get connection():_-1ZV;
        function get navigator():_-0Uq;
        function get _-33Q():_-J9;
        function toggleCatalog(_arg1:Boolean=false):void;
        function openCatalog():void;
        function openCatalogPage(_arg1:String):void;
        function _-01v(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Date):void;
        function _-33R(_arg1:int, _arg2:int):void;
        function _-109(_arg1:String):void;
        function openCreditsHabblet():void;
        function _-11a(_arg1:Boolean):void;
        function _-4Ga():int;
        function _-1KG(_arg1:int):Boolean;
        function get _-4BK():Boolean;
        function get _-10n():Boolean;
        function getProductData(_arg1:String):_-48b;
        function _-2QH(_arg1:int, _arg2:String):_-0hX;
        function getPixelEffectIcon(_arg1:int):BitmapData;
        function getSubscriptionProductIcon(_arg1:int):BitmapData;
        function getPurse():_-4gV;
        function getRecycler():_-4Bz;
        function getMarketPlace():_-3-I;
        function _-Zv(_arg1:int, _arg2:int, _arg3:String, _arg4:int):void;
        function _-2FN():void;
        function _-Xu(_arg1:int):void;
        function _-3Af():void;
        function _-19T(_arg1:int):void;
        function _-43O(_arg1:int, _arg2:int):void;
        function _-3fU():void;
        function _-4aF(_arg1:int):void;
        function openClubBuy(_arg1:int, _arg2:String):void;
        function set _-4Y5(_arg1:String):void;
        function _-D8():void;
        function get imageGalleryHost():String;
        function showVipBenefits():void;

    }
}//package _-0mD

//------------------------------------------------------------
//_-0mD._-2tY

package _-0mD
{
    import _-1lc._-YK;
    import _-1lc._-1OU;
    import _-1B-.*;

    public interface _-2tY extends _-1zZ 
    {

        function get offerId():int;
        function get _-17D():int;
        function get activityPointType():int;
        function get _-w6():int;
        function get page():_-YK;
        function get _-0bd():String;
        function get productContainer():_-1OU;
        function get _-5Dp():String;
        function get _-3by():Boolean;
        function get _-30T():Boolean;

    }
}//package _-0mD

//------------------------------------------------------------
//_-0mD._-J9

package _-0mD
{
    import _-2Mh._-4WL;

    public interface _-J9 
    {

        function get enabled():Boolean;
        function load(_arg1:_-1vM):void;
        function _-wi(_arg1:_-4WL):Boolean;

    }
}//package _-0mD

//------------------------------------------------------------
//_-0mD.HabboCatalog

package _-0mD
{
    import _-1B-._-Px;
    import flash.geom.Point;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-3vb._-3b;
    import _-4Wu._-4uR;
    import _-293._-5-S;
    import _-1Jd._-45k;
    import _-1Jd._-4JJ;
    import _-3X8._-0hg;
    import _-3Zp._-1bw;
    import _-1Jd._-51K;
    import _-4Kb._-3nt;
    import _-mv._-54I;
    import _-35b._-a8;
    import _-4GV._-0Uq;
    import _-0eb._-q9;
    import _-19Y._-29p;
    import _-4Kb._-1V5;
    import _-2tv._-03-;
    import _-1lc._-3UD;
    import _-1xv._-4fV;
    import _-2JX.Purse;
    import _-19z.RecyclerLogic;
    import _-0vj._-3-I;
    import _-Ew.IWindowContainer;
    import _-56G.PurchaseConfirmationDialog;
    import _-56G._-2Ra;
    import _-4P2._-7Z;
    import _-4P2._-2qn;
    import _-4P2._-3fx;
    import _-4P2._-4ms;
    import _-18r.Map;
    import _-1lc._-1FF;
    import _-56G.PlacedObjectPurchaseData;
    import _-1lc._-2Ml;
    import _-O3._-4e6;
    import _-1lc._-3s;
    import _-48G._-51z;
    import _-1xv._-58y;
    import _-56G._-1Zs;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboInventory;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboSoundManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDHabboFriendList;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDHabboFriendBar;
    import com.sulake.iid.IIDHabboGroupsManager;
    import com.sulake.iid.IIDHabboAvatarEditor;
    import com.sulake.iid.IIDHabboQuestEngine;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IDisplayObjectWrapper;
    import flash.display.BitmapData;
    import flash.display.Bitmap;
    import _-Ew.IWindow;
    import _-2np._-1ZV;
    import _-3MI._-0Sy;
    import _-3ly._-iO;
    import _-yT._-7k;
    import _-0nV._-2H6;
    import _-0pR._-1ov;
    import _-p-.Core;
    import _-4Aj._-1oF;
    import _-Fe._-3Iu;
    import _-Fe._-0gB;
    import _-Fe._-1Ir;
    import _-Fe._-2XD;
    import _-Fe._-6G;
    import _-Fe._-G1;
    import _-Fe._-1sO;
    import _-Fe._-3Wm;
    import _-0Pi._-5FI;
    import _-2BO._-5Ck;
    import _-2BO._-iu;
    import _-2BO._-2Gb;
    import _-1xv._-4SI;
    import _-1lc.Offer;
    import _-4P2._-I3;
    import _-2Mh._-cF;
    import _-293._-4q2;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-48G._-2NK;
    import _-48G._-0wm;
    import _-48G._-3rV;
    import _-48G._-0wb;
    import _-48G._-4D5;
    import _-48G._-EM;
    import _-48G._-320;
    import _-48G._-0n7;
    import _-4pT._-0c8;
    import _-0Yg._-1zj;
    import _-0Yg._-082;
    import _-48G._-3vw;
    import _-48G._-2KN;
    import _-2It._-0Kr;
    import _-2It._-44B;
    import _-48G._-1gk;
    import _-1pi._-4pU;
    import _-1pi._-1wP;
    import _-1pi._-2c;
    import _-Aj._-0NG;
    import _-Aj._-1Lt;
    import _-Aj._-1-V;
    import _-Aj._-0SV;
    import _-48G._-2HQ;
    import _-Aj._-3nV;
    import _-Aj._-2cw;
    import _-Aj._-fX;
    import _-48G._-bL;
    import _-48G._-4Np;
    import _-2na._-1G-;
    import _-48G._-Xc;
    import _-2It._-1b5;
    import _-48G._-0OF;
    import _-48G._-3ZC;
    import _-48G._-1Ba;
    import _-48G._-2HB;
    import _-4WI._-51i;
    import _-59g._-4KP;
    import _-2ly._-11j;
    import _-32F._-48b;
    import _-4n1._-0hX;
    import _-2Mh._-3Uw;
    import _-2JX._-4gV;
    import _-19z._-4Bz;
    import _-2XB._-2Ci;
    import _-Fe._-TU;
    import _-Fe._-2s4;
    import _-2XB._-29q;
    import _-2XB._-0Xs;
    import _-2XB._-0K2;
    import _-2XB._-0jA;
    import _-2XB._-1Lm;
    import _-295.BitmapDataAsset;
    import _-Fe._-0H;
    import _-2JX._-1sv;
    import _-2vN._-39Y;
    import _-1ae.IIconWindow;
    import _-1ae.ITextWindow;
    import _-3vb.HabboToolbarIconEnum;
    import _-2ly._-F-;
    import _-2gz.HabboTracking;
    import flash.events.Event;
    import _-2Mh._-060;
    import _-Fe._-0d;
    import _-Fe._-3Gg;
    import _-1xv.CatalogNavigator;
    import _-295._-243;
    import _-09j.WindowParam;
    import _-0vj._-1HZ;
    import _-Fe._-2VU;
    import _-Fe._-4Q1;
    import _-Fe._-WG;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-48G._-1f6;
    import _-4Aj._-0tL;
    import _-2iw._-4av;
    import _-1lc.PageLocalization;
    import _-1lc._-dt;
    import _-2iw._-Eh;
    import _-2iw._-Zm;
    import _-2iw._-2WK;
    import _-ta._-0R8;
    import _-30J._-3Xr;
    import _-0TF._-38c;
    import _-mv._-2TN;
    import _-2JX._-0I-;
    import _-2JX._-1Vt;
    import _-ta._-mk;
    import _-2iw._-1wR;
    import _-28d._-zE;
    import _-28d._-4Js;
    import _-28d._-2sG;
    import _-2gf._-0Aq;
    import _-0vj._-38V;
    import _-2gf._-gS;
    import _-2gf._-4lf;
    import _-2iw._-447;
    import _-2Mh._-uV;
    import _-2iw._-4kf;
    import _-30J._-0BT;
    import _-3Bn._-1Ii;
    import _-3Bn._-1xB;
    import _-Fe._-0mi;
    import _-1C6._-4ky;
    import _-1lc._-2eJ;
    import _-3mW._-4Wq;
    import _-3mW._-1sV;
    import _-1Jd._-4LX;
    import _-0pR._-Am;
    import _-59g._-3D4;
    import _-3V-._-lb;
    import _-0y0._-Xl;
    import _-0F-._-HJ;
    import _-59g._-4UZ;
    import _-1Xv._-32d;
    import _-3cY._-1mk;
    import _-4xL._-3j6;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-1ae.IDesktopWindow;
    import _-2iw._-5-4;
    import _-Fe._-1Vp;
    import _-Fe._-0iK;
    import _-Fe._-3Zk;
    import _-Fe._-1NA;
    import _-2iw._-2U0;
    import _-2iw._-556;
    import _-48G._-16p;
    import _-48G._-4hq;
    import _-1lc._-YK;
    import com.sulake.iid.*;
    import _-1B-.*;
    import _-32F.*;

    public class HabboCatalog extends _-Px implements _-2Jq, _-Hw, _-0gI 
    {

        private static const _-38G:uint = 1;
        private static const _-0uv:Point = new Point(100, 20);
        private static const _-4lx:Point = new Point(100, 5);
        private static const _-dV:int = 60;

        private var _-U-:_-3Ts;
        private var _-0ud:_-4BJ;
        private var _-0a7:_-3b;
        private var _-3fD:_-4uR;
        private var _-0tK:_-5-S;
        private var _-16k:_-45k;
        private var _-06h:_-4JJ;
        private var _-cU:_-0hg;
        private var _-YX:_-1bw;
        private var _-0pW:_-51K;
        private var _-47n:_-3nt;
        private var _-42G:_-54I;
        private var _-Ie:_-a8;
        private var _-2bJ:_-0Uq;
        private var _-1q0:_-q9;
        private var _-i0:_-29p;
        private var _-31b:_-1V5;
        private var _-2EK:_-03-;
        private var _-3ja:VideoOfferManager;
        private var _-3WC:Boolean = false;
        private var _-Qw:Boolean = false;
        private var _-pw:_-3UD;
        private var _-4xW:_-4fV;
        private var _-LD:Purse;
        private var _-2az:RecyclerLogic;
        private var _-1QY:_-3-I;
        private var _-4oy:IWindowContainer;
        private var _-1xH:PurchaseConfirmationDialog;
        private var _-0TC:String;
        private var _-7K:Boolean;
        private var _-E5:Boolean = true;
        private var _-1Ds:Boolean = true;
        private var _-4Xl:Boolean = false;
        private var _-3h8:_-2Ra;
        private var _-0zk:_-7Z;
        private var _-6y:_-2qn;
        private var _-6r:_-3fx;
        private var _-1Qu:_-4ms;
        private var _-4uq:Map;
        private var _-sl:Boolean = false;
        private var _-0hk:_-2tY;
        private var _-0FN:_-1FF;
        private var _-0Q1:PlacedObjectPurchaseData;
        private var _-1ht:Boolean;
        private var _-0KO:Boolean;
        private var _-2PW:_-2Ml;
        private var _-2ce:_-4e6;
        private var _-16E:HabboCatalogUtils;
        private var _-1St:Boolean = false;
        private var _-2Gu:String = null;
        private var _-0tB:_-3s;
        private var _-2jH:_-51z = null;
        private var _-2xi:_-58y;
        private var _-1A0:int;
        private var _-3nl:_-1Zs;

        public function HabboCatalog(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            this._-4uq = new Map();
            super(_arg1, _arg2, _arg3);
            this._-LD = new Purse();
            this._-16E = new HabboCatalogUtils(this);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboInventory(), this._-3SD);
            queueInterface(new IIDSessionDataManager(), this._-b8);
            queueInterface(new IIDAvatarRenderManager(), this._-PS);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDHabboFriendList(), this._-2Xx);
            queueInterface(new IIDHabboNavigator(), this._-wL);
            queueInterface(new IIDHabboFriendBar(), this._-2MA);
            queueInterface(new IIDHabboGroupsManager(), this._-iv);
            queueInterface(new IIDHabboAvatarEditor(), this._-jf);
            queueInterface(new IIDHabboQuestEngine(), this._-of);
            registerUpdateReceiver(this, 1);
            this._-2xi = new _-58y();
        }
        public static function _-3rR(_arg1:IWindow, _arg2:BitmapData, _arg3:int=0):void
        {
            var k:IBitmapWrapperWindow;
            var k:IDisplayObjectWrapper;
            if (_arg2 == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1.disposed)
            {
                return;
            };
            var k:int = (((_arg3)>0) ? _arg3 : _arg1.height);
            var k:int = ((_arg1.width - _arg2.width) / 2);
            var k:int = ((k - _arg2.height) / 2);
            if ((_arg1 as IBitmapWrapperWindow) != null)
            {
                k = IBitmapWrapperWindow(_arg1);
                if ((((k.bitmap == null)) || ((_arg3 > 0))))
                {
                    k.bitmap = new BitmapData(_arg1.width, k, true, 0xFFFFFF);
                };
                k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
                k.bitmap.copyPixels(_arg2, _arg2.rect, new Point(k, k), null, null, false);
                _arg1.invalidate();
            }
            else
            {
                if ((_arg1 as IDisplayObjectWrapper) != null)
                {
                    k = IDisplayObjectWrapper(_arg1);
                    k.setDisplayObject(new Bitmap(_arg2));
                    _arg1.invalidate();
                };
            };
        }

        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get avatarRenderManager():_-3nt
        {
            return (this._-47n);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function get connection():_-1ZV
        {
            return (this._-0ud._-4gR(null));
        }
        public function get _-0go():_-2Ra
        {
            return (this._-3h8);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        public function get _-0Y():_-54I
        {
            return (this._-42G);
        }
        public function get _-0ro():_-2Ml
        {
            return (this._-2PW);
        }
        public function get navigator():_-0Uq
        {
            return (this._-2bJ);
        }
        public function get utils():HabboCatalogUtils
        {
            return (this._-16E);
        }
        public function get questEngine():_-03-
        {
            return (this._-2EK);
        }
        public function get _-33Q():_-J9
        {
            return (this._-3ja);
        }
        override public function dispose():void
        {
            removeUpdateReceiver(this);
            if (this._-3ja)
            {
                this._-3ja.dispose();
                this._-3ja = null;
            };
            this.reset(true);
            if (this._-0a7)
            {
                this._-0a7.events.removeEventListener(_-0Sy._-40N, this._-0WL);
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
            if (this._-42G)
            {
                this._-42G.release(new IIDHabboSoundManager());
                this._-42G = null;
            };
            if (this._-0pW)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-47n)
            {
                this._-47n.release(new IIDAvatarRenderManager());
                this._-47n = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-Ie)
            {
                this._-Ie.release(new IIDHabboFriendList());
                this._-Ie = null;
            };
            if (this._-YX)
            {
                this._-YX.release(new IIDHabboInventory());
                this._-YX = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-0tK != null)
            {
                this._-0tK.release(new IIDRoomEngine());
                this._-0tK = null;
            };
            if (this._-U- != null)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-0ud != null)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-2bJ != null)
            {
                this._-2bJ.release(new IIDHabboNavigator());
                this._-2bJ = null;
            };
            if (this._-1q0 != null)
            {
                if (this._-1q0.events != null)
                {
                    this._-1q0.events.removeEventListener(_-iO._-059, this._-M7);
                };
                this._-1q0.release(new IIDHabboFriendBar());
                this._-1q0 = null;
            };
            if (this._-2EK != null)
            {
                this._-2EK.release(new IIDHabboQuestEngine());
                this._-2EK = null;
            };
            if (this._-1xH != null)
            {
                this._-1xH.dispose();
                this._-1xH = null;
            };
            if (this._-2az != null)
            {
                this._-2az.dispose();
                this._-2az = null;
            };
            this._-LD = null;
            this._-1QY = null;
            if (this._-6y != null)
            {
                this._-6y.dispose();
                this._-6y = null;
            };
            if (this._-1Qu != null)
            {
                this._-1Qu.dispose();
                this._-1Qu = null;
            };
            if (this._-4uq != null)
            {
                this._-4uq.dispose();
                this._-4uq = null;
            };
            this._-06h = null;
            if (this._-16k != null)
            {
                this._-16k.events.removeEventListener(_-7k._-1YC, this._-2ED);
                this._-16k.events.removeEventListener(_-7k._-44W, this._-2ED);
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            this._-265();
            this._-sl = false;
            this._-0FN = null;
            if (this._-2PW != null)
            {
                this._-2PW.dispose();
                this._-2PW = null;
            };
            if (this._-2ce != null)
            {
                this._-2ce.dispose();
                this._-2ce = null;
            };
            if (this._-i0 != null)
            {
                if (this._-i0.events != null)
                {
                    this._-i0.events.removeEventListener(_-2H6._-0n2, this._-1G0);
                };
                this._-i0.release(new IIDHabboGroupsManager());
                this._-i0 = null;
            };
            if (this._-16E != null)
            {
                this._-16E.dispose();
                this._-16E = null;
            };
            if (this._-0tB != null)
            {
                this._-0tB.dispose();
                this._-0tB = null;
            };
            if (this._-2xi)
            {
                this._-2xi = null;
            };
            super.dispose();
        }
        private function init():void
        {
            if (((!(this._-3WC)) && (this._-Qw)))
            {
                this._-2pq();
                this._-1V-();
                this._-4jY();
                this._-3MT();
                this._-3WC = true;
                this._-Ui();
                this._-1ay();
                this._-3WP();
                this._-1no();
                this._-55i();
                this._-qN();
                this._-0-m();
                this._-3gI();
                this._-2nD();
                events.dispatchEvent(new _-1ov(_-1ov.CATALOG_INITIALIZED));
            };
        }
        private function reset(_arg1:Boolean=false):void
        {
            var k:Boolean;
            this._-3WC = false;
            if (this._-pw != null)
            {
                this._-pw.dispose();
                this._-pw = null;
            };
            if (this._-4xW != null)
            {
                this._-4xW.dispose();
                this._-4xW = null;
            };
            if (this._-4oy != null)
            {
                this._-4oy.dispose();
                this._-4oy = null;
            };
            if (!_arg1)
            {
                if (this._-0pW == null)
                {
                    Core._-4Tm("Could not reload product data after reset() because _sessionDataManager was null", Core. set);
                    return;
                };
                k = this._-0pW.loadProductData(this);
                if (k)
                {
                    this.init();
                }
                else
                {
                    events.dispatchEvent(new _-1ov(_-1ov.CATALOG_NOT_READY));
                };
            };
        }
        private function send(_arg1:_-1oF):void
        {
            if (this.connection == null)
            {
                return;
            };
            this.connection.send(_arg1);
        }
        public function _-wS(_arg1:int, _arg2:int):void
        {
            this._-1A0 = _arg1;
            this.send(new _-3Iu(_arg1, _arg2));
        }
        public function _-004():void
        {
            if (this._-0tB != null)
            {
                this.send(new _-0gB(this._-0tB.offerId));
            };
        }
        public function _-0SJ(_arg1:int, _arg2:int, _arg3:String="", _arg4:int=1, _arg5:Boolean=false, _arg6:Boolean=false):void
        {
            if ((((this._-42s == null)) || (!((this._-42s.offerId == _arg2)))))
            {
                if (_arg6)
                {
                    this.send(new _-1Ir(_arg1, _arg2, _arg3, _arg4, _arg5));
                }
                else
                {
                    this.send(new _-2XD(_arg1, _arg2, _arg3, _arg4, _arg5));
                };
            }
            else
            {
                this.send(new _-6G(_arg1, _arg2, this._-42s._-3EU, this._-42s.name, this._-42s._-1tQ, this._-42s.description));
            };
        }
        public function _-0Bh(_arg1:int):void
        {
            this.send(new _-G1(_arg1));
        }
        public function _-0Rx(_arg1:int):void
        {
            this.send(new _-1sO(_arg1));
        }
        public function _-1q6(_arg1:int, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:int, _arg7:int, _arg8:int, _arg9:Boolean=false):void
        {
            this.send(new _-3Wm(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9));
        }
        public function get _-42s():_-1Zs
        {
            return (this._-3nl);
        }
        public function set _-42s(_arg1:_-1Zs):void
        {
            this._-3nl = _arg1;
        }
        public function _-4MS(_arg1:String, _arg2:int):void
        {
            this.send(new _-5FI(_arg1, _arg2));
        }
        public function _-1Wn():void
        {
            this.send(new _-5Ck());
        }
        public function _-3Io():void
        {
            this.send(new _-iu());
        }
        public function _-227(_arg1:Array):void
        {
            this.send(new _-2Gb(_arg1));
        }
        public function set _-4Y5(_arg1:String):void
        {
            this._-0TC = _arg1;
        }
        public function _-yc():int
        {
            return (int(this._-3fD.getKey("seasonalcurrencyindicator.currency", "1")));
        }
        public function _-3So(_arg1:_-2tY, _arg2:int, _arg3:String="", _arg4:int=1, _arg5:_-4q2=null, _arg6:String=null, _arg7:Boolean=true, _arg8:Boolean=false, _arg9:BitmapData=null, _arg10:Boolean=false):void
        {
            var k:Array;
            var k:String;
            var k:_-4SI;
            _-Nb.log(("buy: " + [_arg4, _arg1.offerId, _arg3]));
            var k:int = this._-yc();
            var k:int = _arg1._-w6;
            var k:int = _arg1._-17D;
            if (this._-2bx)
            {
                k = this._-16E._-1Tv(true, _arg1._-w6, _arg4);
                k = this._-16E._-1Tv(true, _arg1._-17D, _arg4);
            };
            if (_arg10)
            {
                if ((((k > 0)) && ((k > this._-LD._-3UR(k)))))
                {
                    this._-3Op(k);
                    return;
                };
            }
            else
            {
                if ((((k > 0)) && ((k > this._-LD.credits))))
                {
                    this._-3fU();
                    return;
                };
                if ((((k > 0)) && ((k > this._-LD._-3UR(_arg1.activityPointType)))))
                {
                    this._-3Op(_arg1.activityPointType);
                    return;
                };
            };
            if ((((((_arg1 is Offer)) || (this._-7K))) || ((_arg1 is _-3s))))
            {
                if ((((this._-1xH == null)) || (this._-1xH.disposed)))
                {
                    this._-1xH = new PurchaseConfirmationDialog(this._-cU, assets);
                };
                k = [];
                if (this._-Ie != null)
                {
                    k = this._-Ie._-3kQ();
                };
                k = _arg6;
                if (k == null)
                {
                    if (this._-0TC != null)
                    {
                        k = this._-0TC;
                    };
                };
                this._-1xH._-0oq(this, this._-0tK, _arg1, _arg2, _arg3, _arg4, _arg5, k, k, _arg8, _arg9, _arg10);
            }
            else
            {
                if ((_arg1 is _-I3))
                {
                    if (_arg2 == -1)
                    {
                        k = this._-4xW._-1ZU(_-cF._-5Ax);
                        if (k != null)
                        {
                            k = k.pageId;
                        };
                    };
                    if (_arg2 >= 0)
                    {
                        this._-6y._-53A((_arg1 as _-I3), _arg2);
                    };
                };
            };
            if (this._-7K)
            {
                this._-7K = false;
                this._-1xH._-3K1();
            };
        }
        public function _-2eK(_arg1:Boolean):void
        {
            this._-7K = _arg1;
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = (_arg2 as _-3Ts);
        }
        private function _-w(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = (_arg2 as _-4BJ);
            this._-0ud.addHabboConnectionMessageEvent(new _-2NK(this._-0tC));
            this._-0ud.addHabboConnectionMessageEvent(new _-0wm(this._-4aP));
            this._-0ud.addHabboConnectionMessageEvent(new _-3rV(this._-0To));
            this._-0ud.addHabboConnectionMessageEvent(new _-0wb(this._-57s));
            this._-0ud.addHabboConnectionMessageEvent(new _-4D5(this._-rN));
            this._-0ud.addHabboConnectionMessageEvent(new _-EM(this._-26f));
            this._-0ud.addHabboConnectionMessageEvent(new _-320(this._-0Oh));
            this._-0ud.addHabboConnectionMessageEvent(new _-0n7(this._-Rj));
            this._-0ud.addHabboConnectionMessageEvent(new _-0c8(this._-3C-));
            this._-0ud.addHabboConnectionMessageEvent(new _-1zj(this._-xb));
            this._-0ud.addHabboConnectionMessageEvent(new _-082(this._-1v4));
            this._-0ud.addHabboConnectionMessageEvent(new _-3vw(this._-2Lh));
            this._-0ud.addHabboConnectionMessageEvent(new _-2KN(this._-0vn));
            this._-0ud.addHabboConnectionMessageEvent(new _-0Kr(this._-vd));
            this._-0ud.addHabboConnectionMessageEvent(new _-44B(this._-1O4));
            this._-0ud.addHabboConnectionMessageEvent(new _-1gk(this._-4uA));
            this._-0ud.addHabboConnectionMessageEvent(new _-4pU(this._-li));
            this._-0ud.addHabboConnectionMessageEvent(new _-1wP(this._-43r));
            this._-0ud.addHabboConnectionMessageEvent(new _-2c(this._-2AY));
            this._-0ud.addHabboConnectionMessageEvent(new _-0NG(this._-2ud));
            this._-0ud.addHabboConnectionMessageEvent(new _-1Lt(this._-nH));
            this._-0ud.addHabboConnectionMessageEvent(new _-1-V(this._-0DI));
            this._-0ud.addHabboConnectionMessageEvent(new _-0SV(this._-2zb));
            this._-0ud.addHabboConnectionMessageEvent(new _-2HQ(this._-0aW));
            this._-0ud.addHabboConnectionMessageEvent(new _-3nV(this._-2V1));
            this._-0ud.addHabboConnectionMessageEvent(new _-2cw(this._-2rV));
            this._-0ud.addHabboConnectionMessageEvent(new _-fX(this._-21g));
            this._-0ud.addHabboConnectionMessageEvent(new _-bL(this._-4NT));
            this._-0ud.addHabboConnectionMessageEvent(new _-4Np(this._-15f));
            this._-0ud.addHabboConnectionMessageEvent(new _-1G-(this._-5m));
            this._-0ud.addHabboConnectionMessageEvent(new _-Xc(this._-0Fo));
            this._-0ud.addHabboConnectionMessageEvent(new _-1b5(this._-4Y2));
            this._-0ud.addHabboConnectionMessageEvent(new _-0OF(this._-2oR));
            this._-0ud.addHabboConnectionMessageEvent(new _-3ZC(this._-1G7));
            this._-0ud.addHabboConnectionMessageEvent(new _-1Ba(this._-23H));
            this._-0ud.addHabboConnectionMessageEvent(new _-2HB(this._-4x4));
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = (_arg2 as _-3b);
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-0WL);
        }
        private function _-1d3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3fD = (_arg2 as _-4uR);
            this._-0KO = this._-0nS();
            this._-3ja = new VideoOfferManager(this);
            this._-2gY();
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-cU = (_arg2 as _-0hg);
        }
        private function _-3SD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-YX = (_arg2 as _-1bw);
            this._-YX.events.addEventListener(_-51i.HABBO_INVENTORY_ITEM_ADDED, this._-1qP);
        }
        private function _-b8(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0pW = (_arg2 as _-51K);
            this._-0pW.loadProductData(this);
        }
        private function _-PS(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-47n = (_arg2 as _-3nt);
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0tK = (_arg2 as _-5-S);
            this._-0tK.events.addEventListener(_-4KP._-2pN, this._-1Z4);
            this._-0tK.events.addEventListener(_-4KP._-3dR, this._-Nc);
            this._-0tK.events.addEventListener(_-4KP._-9h, this._-3B5);
            this._-2gY();
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-42G = (_arg2 as _-54I);
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-16k = (_arg2 as _-45k);
            if (this._-16k != null)
            {
                this._-16k.events.addEventListener(_-7k._-1YC, this._-2ED);
                this._-16k.events.addEventListener(_-7k._-44W, this._-2ED);
            };
        }
        private function _-2Xx(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-Ie = (_arg2 as _-a8);
        }
        private function _-wL(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2bJ = (_arg2 as _-0Uq);
        }
        private function _-2MA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-1q0 = (_arg2 as _-q9);
            this._-1q0.events.addEventListener(_-iO._-059, this._-M7);
        }
        private function _-iv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-i0 = (_arg2 as _-29p);
            this._-i0.events.addEventListener(_-2H6._-0n2, this._-1G0);
        }
        private function _-jf(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-31b = (_arg2 as _-1V5);
        }
        private function _-of(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2EK = (_arg2 as _-03-);
        }
        private function _-2gY():void
        {
            if (((((!((this._-0tK == null))) && (!((this._-3fD == null))))) && ((this._-3fD.getKey("catalog.furniture.animation", "false") == "true"))))
            {
                if (this._-2PW == null)
                {
                    this._-2PW = new _-2Ml(this._-0tK);
                };
            };
        }
        private function _-0nS():Boolean
        {
            return (this._-3fD.getBoolean("toolbar.new_additions.notification.enabled", false));
        }
        public function openCatalog():void
        {
            this._-1ZJ();
            this.toggleCatalog(true);
        }
        public function openCatalogPage(_arg1:String):void
        {
            this._-1ZJ();
            this.toggleCatalog(true);
            if (((((!(this._-3WC)) || (!(this._-4xW)))) || (!(this._-4xW._-25k()))))
            {
                this._-2xi._-5u = _arg1;
                return;
            };
            this._-4xW._-0Wn(_arg1);
        }
        public function _-01v(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Date):void
        {
            var k:int = this._-1A0;
            this._-3nl = new _-1Zs();
            this._-3nl.name = _arg2;
            this._-3nl._-1tQ = true;
            this._-3nl._-3Hr = this._-0tK.activeRoomId;
            this._-3nl.description = _arg3;
            this._-3nl._-3EU = this._-0tK.activeRoomId;
            this._-3nl.roomName = _arg4;
            this._-3nl._-3YT = _arg5;
            this.openCatalogPage(_arg1);
            var k:_-4SI = this._-4xW._-1ZU(_arg1);
            if (((!((k == null))) && ((k.pageId == k))))
            {
                this._-3Ln();
            };
        }
        public function _-33R(_arg1:int, _arg2:int):void
        {
            if (this._-3WC)
            {
                this.toggleCatalog(true);
                this._-4xW._-q1(_arg1, _arg2);
            }
            else
            {
                this.toggleCatalog();
                this._-2xi._-4fh = _arg1;
                this._-2xi._-30C = _arg2;
            };
        }
        public function _-109(_arg1:String):void
        {
            if (this._-YX == null)
            {
                return;
            };
            this._-YX._-4Op(_arg1);
        }
        public function openCreditsHabblet():void
        {
            var _local2:String;
            if (this._-3fD == null)
            {
                return;
            };
            var k = (this._-3fD.getKey("client.credits.embed.enabled", "false") == "true");
            if (k)
            {
                _-11j._-25R("credits");
            }
            else
            {
                _local2 = this._-3fD.getKey("link.format.credits", "/credits");
                this._-U-.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-3yB);
                _-11j.navigateToURL(_local2, "habboMain");
            };
        }
        public function _-11a(_arg1:Boolean):void
        {
            if (this._-YX == null)
            {
                return;
            };
            this._-YX._-v3(_arg1);
        }
        public function get _-4BK():Boolean
        {
            return (this._-4Xl);
        }
        public function get _-10n():Boolean
        {
            if (this._-YX == null)
            {
                return (false);
            };
            return (this._-YX._-10n);
        }
        public function _-4Ga():int
        {
            if (this._-YX == null)
            {
                return (0);
            };
            return (this._-YX._-1z3());
        }
        public function _-1KG(_arg1:int):Boolean
        {
            if (this._-YX == null)
            {
                return (false);
            };
            return (this._-YX._-1KG(_arg1));
        }
        public function getProductData(_arg1:String):_-48b
        {
            return (this._-0pW.getProductData(_arg1));
        }
        public function _-2QH(_arg1:int, _arg2:String):_-0hX
        {
            var k:_-0hX;
            if (_arg2 == _-3Uw._-5Ds)
            {
                k = this._-0pW._-LX(_arg1);
            };
            if (_arg2 == _-3Uw._-0xA)
            {
                k = this._-0pW._-3LT(_arg1);
            };
            return (k);
        }
        public function getPurse():_-4gV
        {
            return (this._-LD);
        }
        public function getRecycler():_-4Bz
        {
            return (this._-2az);
        }
        public function getMarketPlace():_-3-I
        {
            return (this._-1QY);
        }
        public function _-4yp():_-7Z
        {
            return (this._-0zk);
        }
        public function _-230():_-2qn
        {
            return (this._-6y);
        }
        public function _-yq():_-4ms
        {
            return (this._-1Qu);
        }
        public function _-Zv(_arg1:int, _arg2:int, _arg3:String, _arg4:int):void
        {
            this.send(new _-2Ci(_arg1, _arg2, _arg3, _arg4));
        }
        public function _-3Ln():void
        {
            this.send(new _-TU());
        }
        public function _-aj():void
        {
            this.send(new _-2s4());
        }
        public function _-2FN():void
        {
            this.send(new _-29q());
        }
        public function _-Xu(_arg1:int):void
        {
            this.send(new _-0Xs(_arg1));
        }
        public function _-3Af():void
        {
            this.send(new _-0K2());
        }
        public function _-19T(_arg1:int):void
        {
            this.send(new _-0jA(_arg1));
        }
        public function _-43O(_arg1:int, _arg2:int):void
        {
            if (!this._-0ud)
            {
                return;
            };
            this.send(new _-1Lm(_arg1, _arg2));
        }
        public function _-1g8():_-4e6
        {
            return (this._-2ce);
        }
        public function getPixelEffectIcon(_arg1:int):BitmapData
        {
            var k:BitmapDataAsset = ((this._-YX as _-Px).assets.getAssetByName((("fx_icon_" + _arg1) + "_png")) as BitmapDataAsset);
            if (k != null)
            {
                return ((k.content as BitmapData).clone());
            };
            return (new BitmapData(1, 1, true, 0xFFFFFF));
        }
        public function getSubscriptionProductIcon(_arg1:int):BitmapData
        {
            var k:BitmapDataAsset = (assets.getAssetByName("icon_duck_vipwhite") as BitmapDataAsset);
            if (k != null)
            {
                return ((k.content as BitmapData).clone());
            };
            return (new BitmapData(1, 1, true, 0xFFFFFF));
        }
        public function _-2D9(_arg1:String):Array
        {
            var k:Array = this._-4uq.getValue(_arg1);
            if (k != null)
            {
                return (k.slice());
            };
            this.send(new _-0H(_arg1));
            return (null);
        }
        private function _-Ui():void
        {
            var k:String;
            if (this._-4oy == null)
            {
                return;
            };
            this._-cU.registerParameter("catalog.purse.creditbalance", "balance", String(this._-LD.credits));
            this._-cU.registerParameter("catalog.purse.pixelbalance", "balance", String(this._-LD._-3UR(_-1sv.PIXEL)));
            var k:uint = _-39Y._-4y4;
            if (!this._-LD._-2uV)
            {
                k = "catalog.purse.club.join";
            }
            else
            {
                if (this._-LD._-0Dl)
                {
                    k = "catalog.purse.vipdays";
                    k = _-39Y._-qX;
                }
                else
                {
                    k = "catalog.purse.clubdays";
                };
                this._-cU.registerParameter(k, "days", String(this._-LD.clubDays));
                this._-cU.registerParameter(k, "months", String(this._-LD.clubPeriods));
            };
            var k:IIconWindow = (this._-4oy.findChildByName("clubIcon") as IIconWindow);
            if (k)
            {
                k.style = k;
            };
            var k:ITextWindow = (this._-4oy.findChildByName("clubText") as ITextWindow);
            if (k)
            {
                k.caption = this._-cU.getKey(k);
            };
        }
        private function _-0WL(_arg1:_-0Sy):void
        {
            if ((((_arg1._-1wJ == HabboToolbarIconEnum.CATALOGUE)) && ((_arg1.type == _-0Sy._-40N))))
            {
                this.toggleCatalog();
            };
        }
        public function toggleCatalog(_arg1:Boolean=false):void
        {
            this._-1ZJ();
            if (this._-4oy == null)
            {
                this.init();
            };
            if (((!(this._-0E6())) || (_arg1)))
            {
                if (this._-1ht)
                {
                    this._-1ht = false;
                    events.dispatchEvent(new _-1ov(_-1ov.CATALOG_NEW_ITEMS_HIDE));
                    this._-3Y0();
                };
                this._-1Rw();
            }
            else
            {
                if (!_-F-._-32W(this._-4oy))
                {
                    this._-1Ea();
                };
            };
            if (this._-0E6())
            {
                if (this._-4oy != null)
                {
                    this._-4oy.activate();
                    this._-4oy.y = Math.max(this._-4oy.y, _-dV);
                }
                else
                {
                    _-Nb.log("[Catalog] No main container!");
                };
                HabboTracking._-0ON().trackGoogle("catalogue", "open");
            };
            if (this._-0E6())
            {
                events.dispatchEvent(new Event(_-060.HABBO_CATALOG_TRACKING_EVENT_OPEN));
                if (((!((this._-2az == null))) && ((this._-37f() == "recycler"))))
                {
                    this._-2az.activate();
                };
            }
            else
            {
                events.dispatchEvent(new Event(_-060.HABBO_CATALOG_TRACKING_EVENT_CLOSE));
                if (((!((this._-2az == null))) && ((this._-37f() == "recycler"))))
                {
                    this._-2az.cancel();
                };
            };
            if (this._-2az != null)
            {
                this._-11a(((this._-2az.active) && (this._-0E6())));
            };
        }
        private function _-37f():String
        {
            if (this._-pw == null)
            {
                return ("");
            };
            return (this._-pw._-37f());
        }
        private function _-3MT():void
        {
            this.send(new _-0d());
        }
        private function _-3Y0():void
        {
            this.send(new _-3Gg());
        }
        private function _-1V-():void
        {
            var k:IWindowContainer = (this._-4oy.findChildByName("navigatorMain") as IWindowContainer);
            this._-4xW = (new CatalogNavigator(this, k) as _-4fV);
            var k:BitmapDataAsset = (assets.getAssetByName("purse_coins_small") as BitmapDataAsset);
            this._-qb("creditsIcon", (k.content as BitmapData));
            var k:BitmapDataAsset = (assets.getAssetByName("purse_pixels_small") as BitmapDataAsset);
            this._-qb("pixelsIcon", (k.content as BitmapData));
            var k:BitmapDataAsset = (assets.getAssetByName("purse_club_small") as BitmapDataAsset);
            this._-qb("clubIcon", (k.content as BitmapData));
        }
        private function _-4jY():void
        {
            var k:IWindowContainer = (this._-4oy.findChildByName("layoutContainer") as IWindowContainer);
            this._-pw = new _-3UD(this, k, this._-0tK);
            this._-pw._-1sq = this;
        }
        private function _-2pq():void
        {
            var k:String = "catalog_larger";
            var k:_-243 = (assets.getAssetByName(k) as _-243);
            this._-4oy = (this._-U-.buildFromXML((k.content as XML), _-38G) as IWindowContainer);
            this._-4oy.tags.push("habbo_catalog");
            this._-4oy.position = _-4lx;
            this._-1Ea();
            var k:String = "layout_bg_larger";
            var k:BitmapDataAsset = (assets.getAssetByName(k) as BitmapDataAsset);
            this._-qb("layoutBackground", (k.content as BitmapData));
            var k:IWindowContainer = (this._-4oy.findChildByName("navigatorMain") as IWindowContainer);
            k.setParamFlag(WindowParam._-Oi, false);
            var k:IWindow = this._-4oy.findChildByName("titlebar_close_button");
            if (k == null)
            {
                k = this._-4oy.findChildByTag("close");
            };
            if (k != null)
            {
                k.procedure = this._-lf;
            };
        }
        private function _-2ED(_arg1:_-7k):void
        {
            switch (_arg1.type)
            {
                case _-7k._-1YC:
                    this._-4Xl = _arg1.session._-3-;
                    this._-06h = _arg1.session;
                    if (this._-2az != null)
                    {
                        this._-2az._-0lH(true);
                    };
                    return;
                case _-7k._-44W:
                    this._-4Xl = false;
                    this._-06h = null;
                    if (this._-2az != null)
                    {
                        this._-2az._-0lH(false);
                    };
                    return;
            };
        }
        private function _-1ay():void
        {
            this._-2az = new RecyclerLogic(this, this._-U-);
            this._-3Io();
        }
        private function _-3WP():void
        {
            if (this._-1QY == null)
            {
                this._-1QY = new _-1HZ(this, this._-U-, this._-0tK);
            };
        }
        private function _-1no():void
        {
            if (this._-0zk == null)
            {
                this._-0zk = new _-7Z(this);
            };
        }
        private function _-qN():void
        {
            if (this._-6y == null)
            {
                this._-6y = new _-2qn(this, this.connection);
            };
        }
        private function _-0-m():void
        {
            if (this._-1Qu == null)
            {
                this._-1Qu = new _-4ms(this);
            };
        }
        private function _-3gI():void
        {
            if (this._-2ce == null)
            {
                this._-2ce = new _-4e6(this);
            };
        }
        private function _-55i():void
        {
            this.send(new _-2VU());
        }
        public function _-4aF(_arg1:int):void
        {
            this.send(new _-4Q1(_arg1));
        }
        public function _-4nd():void
        {
            this.send(new _-WG());
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1Ea();
            if (this._-pw != null)
            {
                this._-pw._-553();
            };
            if (((!((this._-2az == null))) && ((this._-37f() == "recycler"))))
            {
                this._-2az.cancel();
                this._-11a(false);
            };
        }
        private function _-0tC(_arg1:_-0tL):void
        {
            if ((_arg1 as _-2NK) == null)
            {
                return;
            };
            if (this._-4xW == null)
            {
                return;
            };
            var k:_-1f6 = (_arg1 as _-2NK).root;
            this._-1ht = (_arg1 as _-2NK)._-1H1;
            this._-4xW._-4Io(k);
            switch (this._-2xi._-Hu)
            {
                case _-58y._-4Qz:
                    if (((((this._-1ht) && (this._-0KO))) && (!(this._-2Tj))))
                    {
                        events.dispatchEvent(new _-1ov(_-1ov.CATALOG_NEW_ITEMS_SHOW));
                        this.openCatalogPage(_-cF._-0CP);
                    }
                    else
                    {
                        this._-4xW._-2Ru();
                    };
                    return;
                case _-58y._-0-T:
                    this._-4xW._-q1(this._-2xi._-0nn, this._-2xi._-30C);
                    this._-2xi._-1f();
                    return;
                case _-58y._-3dN:
                    this.openCatalogPage(this._-2xi._-tW);
                    this._-2xi._-1f();
                    return;
            };
        }
        private function _-4aP(_arg1:_-0tL):void
        {
            var k:_-0wm = (_arg1 as _-0wm);
            var k:_-4av = k._-3-5();
            var k:int = k.pageId;
            var k:String = k.layoutCode;
            var k:Array = k.localization.images.concat();
            var k:Array = k.localization.texts.concat();
            var k:_-dt = new PageLocalization(k, k);
            var k:int = k.offerId;
            var k:Boolean = k.acceptSeasonCurrencyAsCredits;
            if (((!((this._-pw == null))) && ((this._-1A0 == k))))
            {
                this._-pw._-23h(k, k, k, k.offers, k, k);
            };
        }
        private function _-0To(_arg1:_-0tL):void
        {
            var k:Boolean;
            if (this._-4oy != null)
            {
                k = this._-0E6();
            };
            this.reset();
            if (k)
            {
                this._-U-.alert("${catalog.alert.published.title}", "${catalog.alert.published.description}", 0, this._-4nU);
            };
        }
        private function _-57s(_arg1:_-0tL):void
        {
            var k:_-0wb = (_arg1 as _-0wb);
            var k:_-Eh = k._-3-5();
            var k:int = k.errorCode;
            var k:String = (((k > 0)) ? (("${catalog.alert.purchaseerror.description." + k) + "}") : "${catalog.alert.purchaseerror.description}");
            this._-U-.alert("${catalog.alert.purchaseerror.title}", k, 0, this._-4nU);
            if (this._-1xH != null)
            {
                this._-1xH.dispose();
                this._-1xH = null;
            };
        }
        private function _-rN(_arg1:_-0tL):void
        {
            var k:_-4D5 = (_arg1 as _-4D5);
            var k:_-Zm = k._-3-5();
            var k:int = k.errorCode;
            var k:String = "";
            switch (k)
            {
                case 1:
                    k = "${catalog.alert.purchasenotallowed.hc.description}";
                    break;
                default:
                    k = "${catalog.alert.purchasenotallowed.unknown.description}";
            };
            this._-U-.alert("${catalog.alert.purchasenotallowed.title}", k, 0, this._-4nU);
        }
        private function _-26f(_arg1:_-0tL):void
        {
            var k:IBitmapWrapperWindow;
            var k:BitmapData;
            var k:Point;
            var k:String;
            if (this._-1xH != null)
            {
                if (((!(this._-sl)) && (!(this._-1xH._-10j()))))
                {
                    k = this._-1xH._-8u();
                    if (k)
                    {
                        k = k.bitmap;
                        if (k)
                        {
                            k = new Point();
                            k.getGlobalPosition(k);
                            k = HabboToolbarIconEnum.INVENTORY;
                            if (this._-1xH._-5DX == _-3Uw._-17R)
                            {
                                k = HabboToolbarIconEnum.MEMENU;
                            };
                            this._-0a7._-0jv(k, k.clone(), k.x, k.y);
                        };
                    };
                };
                this._-1xH.dispose();
            };
            this._-1xH = null;
            if (((this._-YX) && (!(this._-YX._-0io))))
            {
                this._-YX._-20g();
            };
        }
        private function _-0Oh(_arg1:_-320):void
        {
            if (this._-1xH != null)
            {
                this._-1xH._-0bu();
            };
        }
        private function _-Rj(_arg1:_-0tL):void
        {
            var k:_-0n7 = (_arg1 as _-0n7);
            var k:_-2WK = k._-3-5();
            if (k._-3fP)
            {
                this._-3fU();
            }
            else
            {
                if (k._-2-f)
                {
                    this._-3Op(k.activityPointType);
                };
            };
            if (this._-1xH != null)
            {
                this._-1xH._-3fP();
            };
        }
        public function _-3fU():void
        {
            if (!this._-U-)
            {
                return;
            };
            this._-U-.confirm("${catalog.alert.notenough.title}", "${catalog.alert.notenough.credits.description}", 0, this._-2SB);
        }
        private function _-3Op(_arg1:int):void
        {
            var k:String = ("catalog.alert.notenough.activitypoints.title." + _arg1);
            var k:String = ("catalog.alert.notenough.activitypoints.description." + _arg1);
            if (_arg1 == 0)
            {
                this._-U-.confirm(this.localization.getKey(k), this.localization.getKey(k), 0, this._-37R);
            }
            else
            {
                this._-U-.alert(this.localization.getKey(k), this.localization.getKey(k), 0, this._-4nU);
            };
        }
        private function _-2Lh(_arg1:_-3vw):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:String = "${catalog.alert.voucherredeem.ok.description}";
            if (_arg1.productName != "")
            {
                k = "catalog.alert.voucherredeem.ok.description.furni";
                this._-cU.registerParameter(k, "productName", _arg1.productName);
                this._-cU.registerParameter(k, "productDescription", _arg1.productDescription);
                k = (("${" + k) + "}");
            };
            this._-U-.alert("${catalog.alert.voucherredeem.ok.title}", k, 0, this._-4nU);
        }
        private function _-0vn(_arg1:_-2KN):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:String = "${catalog.alert.voucherredeem.error.title}";
            var k = (("${catalog.alert.voucherredeem.error.description." + _arg1.errorCode) + "}");
            this._-U-.alert(k, k, 0, this._-4nU);
        }
        private function _-vd(_arg1:_-0Kr):void
        {
            if ((((_arg1 == null)) || ((this._-pw == null))))
            {
                return;
            };
            var k:_-0R8 = _arg1._-3-5();
            this._-pw.dispatchWidgetEvent(new _-3Xr(k.result, k.nameValidationInfo));
        }
        private function _-3C-(_arg1:_-0tL):void
        {
            var k:_-0c8 = (_arg1 as _-0c8);
            var k:_-38c = k._-3-5();
            this._-LD.credits = k.balance;
            this._-Ui();
            if (((!(this._-E5)) && (!((this._-42G == null)))))
            {
                this._-42G._-lx(_-2TN._-La);
            };
            this._-E5 = false;
            events.dispatchEvent(new _-0I-(_-0I-._-3-q, this._-LD.credits, 0));
            events.dispatchEvent(new _-1Vt());
            this._-4PB();
        }
        private function _-xb(_arg1:_-0tL):void
        {
            var k:_-1zj = (_arg1 as _-1zj);
            this._-LD._-49s[k.type] = k.amount;
            this._-Ui();
            if (((!(this._-1Ds)) && (!((this._-42G == null)))))
            {
                this._-42G._-lx(_-2TN._-FE);
            };
            this._-1Ds = false;
            events.dispatchEvent(new _-0I-(_-0I-._-0tl, k.amount, k.type));
            events.dispatchEvent(new _-1Vt());
        }
        private function _-1v4(_arg1:_-0tL):void
        {
            var k:String;
            var k:int;
            var k:_-082 = (_arg1 as _-082);
            this._-LD._-49s = k.points;
            this._-Ui();
            for (k in k.points)
            {
                k = int(k);
                events.dispatchEvent(new _-0I-(_-0I-._-0tl, k.points[k], k));
            };
            events.dispatchEvent(new _-1Vt());
        }
        private function _-1O4(_arg1:_-0tL):void
        {
            var k:_-mk = (_arg1 as _-44B)._-3-5();
            this._-LD.clubDays = Math.max(0, k._-2Kk);
            this._-LD.clubPeriods = Math.max(0, k._-2yA);
            this._-LD._-0Dl = k._-0Dl;
            this._-LD._-4pc = k._-4pc;
            this._-LD._-0pO = k._-0pO;
            this._-LD._-1Hq = (((k._-Wa)==_-mk._-0WE) ? true : false);
            this._-LD._-2J = k._-2J;
            this._-Ui();
            if (k._-Wa == _-mk._-4is)
            {
                this.reset();
                if (this._-2Gu != null)
                {
                    this.openCatalogPage(this._-2Gu);
                    this._-2Gu = null;
                };
            };
        }
        private function _-4uA(_arg1:_-1gk):void
        {
            if (((!(_arg1)) || (!(this._-0zk))))
            {
                return;
            };
            var k:_-1wR = _arg1._-3-5();
            if (!k)
            {
                return;
            };
            this._-0zk._-lC(k._-Q8, k._-W7, k.offers, k._-2ma);
        }
        private function _-li(_arg1:_-0tL):void
        {
            var k:_-zE = (_arg1 as _-4pU)._-3-5();
            if ((((k == null)) || ((this._-2az == null))))
            {
                return;
            };
            this._-2az._-4qX(k._-1cB, k._-298);
        }
        private function _-43r(_arg1:_-0tL):void
        {
            var k:_-4Js = (_arg1 as _-1wP)._-3-5();
            if ((((k == null)) || ((this._-2az == null))))
            {
                return;
            };
            this._-2az._-33O(k._-U8, k.prizeId);
        }
        private function _-2AY(_arg1:_-0tL):void
        {
            var k:_-2sG = (_arg1 as _-2c)._-3-5();
            if ((((k == null)) || ((this._-2az == null))))
            {
                return;
            };
            this._-2az._-0fs(k._-8B);
        }
        private function _-2ud(_arg1:_-0tL):void
        {
            if (this._-1QY != null)
            {
                this._-1QY._-56S(_arg1);
            };
        }
        private function _-nH(_arg1:_-0tL):void
        {
            if (this._-1QY != null)
            {
                this._-1QY._-3JX(_arg1);
            };
        }
        private function _-0DI(_arg1:_-0tL):void
        {
            if (this._-1QY != null)
            {
                this._-1QY._-3Vh(_arg1);
            };
        }
        private function _-2zb(_arg1:_-0tL):void
        {
            if (this._-1QY != null)
            {
                this._-1QY._-4Bu(_arg1);
            };
        }
        private function _-0aW(_arg1:_-2HQ):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-3h8 = new _-2Ra(_arg1);
        }
        private function _-2V1(_arg1:_-3nV):void
        {
            if (((!(_arg1)) || (!(this._-1QY))))
            {
                return;
            };
            var k:_-0Aq = _arg1._-3-5();
            if (!k)
            {
                return;
            };
            var k:_-38V = new _-38V();
            k._-4q8 = k._-4q8;
            k._-3rE = k._-3rE;
            k._-0Iy = k._-0Iy;
            k._-1ml = k._-1ml;
            k._-3x9 = k._-3x9;
            k._-3Rh = k._-3Rh;
            k._-2i5 = k._-2i5;
            k._-FZ = k._-FZ;
            this._-1QY._-0Qo = k;
        }
        private function _-2rV(_arg1:_-2cw):void
        {
            if (((!(_arg1)) || (!(this._-1QY))))
            {
                return;
            };
            var k:_-gS = _arg1._-3-5();
            if (!k)
            {
                return;
            };
            this._-1QY._-0Px = k._-0Px;
        }
        private function _-21g(_arg1:_-fX):void
        {
            if (((!(_arg1)) || (!(this._-1QY))))
            {
                return;
            };
            var k:_-4lf = _arg1._-3-5();
            if (!k)
            {
                return;
            };
            if (k.result == 1)
            {
                this._-1QY._-1f-();
            };
        }
        private function _-4NT(_arg1:_-bL):void
        {
            var k:_-447 = _arg1._-3-5();
            if (((!((this._-6y == null))) && ((((((k.source == _-uV._-0MX)) || ((k.source == _-uV._-0q8)))) || ((k.source == _-uV._-3qJ))))))
            {
                this._-6y._-56S(k);
            };
            if (((!((this._-6r == null))) && ((((((k.source == _-uV._-3vx)) || ((k.source == _-uV._-3ls)))) || ((k.source == _-uV._-4NV))))))
            {
                this._-6r._-56S(k);
            };
        }
        private function _-15f(_arg1:_-4Np):void
        {
            if (!this._-3WC)
            {
                this.init();
            };
            if (this._-1Qu)
            {
                this._-1Qu._-4hb(_arg1);
            };
        }
        private function _-5m(_arg1:_-0tL):void
        {
        }
        private function _-0Fo(_arg1:_-Xc):void
        {
            var k:_-4kf = _arg1._-3-5();
            this._-4uq.remove(k._-1A8);
            var k:Array = k._-4XW;
            if (k != null)
            {
                this._-4uq.add(k._-1A8, k.slice());
                this._-pw.dispatchWidgetEvent(new _-0BT(k._-1A8, k.slice()));
            };
        }
        private function _-qb(_arg1:String, _arg2:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-4oy.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k.bitmap.copyPixels(_arg2, _arg2.rect, new Point(0, 0));
            }
            else
            {
                _-Nb.log(("Could not find element: " + _arg1));
            };
        }
        private function _-4nU(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
            this._-265();
        }
        private function _-2SB(_arg1:_-1xB, _arg2:WindowEvent):void
        {
            var _local3:String;
            _arg1.dispose();
            this._-265();
            if (_arg2.type == WindowEvent._-0-9)
            {
                if ("true" == this._-3fD.getKey("client.credits.embed.enabled"))
                {
                    _-11j._-25R("credits");
                }
                else
                {
                    _local3 = this._-3fD.getKey("link.format.credits");
                    if (_local3 != "")
                    {
                        this._-U-.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-3yB);
                        _-11j.navigateToURL(_local3, "habboMain");
                    };
                };
            };
        }
        private function _-37R(_arg1:_-1xB, _arg2:WindowEvent):void
        {
            var k:String;
            _arg1.dispose();
            this._-265();
            if (_arg2.type == WindowEvent._-0-9)
            {
                k = this._-3fD.getKey("link.format.pixels");
                if (k != "")
                {
                    this._-U-.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-3yB);
                    _-11j.navigateToURL(k, "habboMain");
                };
            };
        }
        private function _-3yB(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        public function redeemVoucher(_arg1:String):void
        {
            var k:_-1oF = new _-0mi(_arg1);
            this.send(k);
            k.dispose();
            k = null;
        }
        public function _-52N():void
        {
            this._-Qw = true;
            events.dispatchEvent(new _-1ov(_-1ov.CATALOG_INITIALIZED));
        }
        public function _-2oL(_arg1:Offer):Boolean
        {
            if (((!(this._-3fD.keyExists("catalog.drag_and_drop"))) || (!((this._-3fD.getKey("catalog.drag_and_drop") == "true")))))
            {
                return (false);
            };
            if (((!(this._-06h)) || (!(((this._-06h._-49x) || (((this._-06h._-5J) && ((this._-06h._-125 >= _-4ky._-4CJ)))))))))
            {
                return (false);
            };
            var k:_-2eJ = _arg1.productContainer._-1YN;
            if (!k)
            {
                return (false);
            };
            var k:Boolean = true;
            switch (k._-5DX)
            {
                case _-3Uw._-17R:
                    k = false;
                    break;
                case _-3Uw._-0dl:
                    k = false;
                    break;
            };
            if (((this._-pw._-3bP) && (!(this._-pw._-3bP._-1C))))
            {
                k = false;
            };
            return (k);
        }
        private function _-3Vl(_arg1:String, _arg2:String):void
        {
            var k:String = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3Sr);
            var k:String = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3Oy);
            var k:String = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3HV);
            k = ((((k) && ((k.length > 0)))) ? k : "101");
            k = ((((k) && ((k.length > 0)))) ? k : "101");
            k = ((((k) && ((k.length > 0)))) ? k : "1.1");
            switch (_arg1)
            {
                case "floor":
                    this._-0tK._-501(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _arg2, k, k, true);
                    return;
                case "wallpaper":
                    this._-0tK._-501(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, k, _arg2, k, true);
                    return;
                case "landscape":
                    this._-0tK._-501(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, k, k, _arg2, true);
                    return;
                default:
                    this._-0tK._-501(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, k, k, k, true);
            };
        }
        public function _-4Ks(_arg1:_-1FF, _arg2:Offer):void
        {
            var k:int;
            if (!this._-2oL(_arg2))
            {
                return;
            };
            var k:_-2eJ = _arg2.productContainer._-1YN;
            switch (k._-5DX)
            {
                case _-3Uw._-5Ds:
                    k = _-1sV._-0u-;
                    break;
                case _-3Uw._-0xA:
                    k = _-1sV._-20L;
                    break;
            };
            var k:Boolean = this._-0tK._-WZ(-(_arg2.offerId), k, k._-3yk, k._-1gg.toString());
            if (k)
            {
                this._-0hk = _arg2;
                this._-0FN = _arg1;
                this._-1Ea();
                this._-sl = true;
            };
        }
        private function _-3B5(_arg1:_-4KP):void
        {
            var k:_-4LX;
            if (_arg1 == null)
            {
                return;
            };
            if ((((_arg1.type == _-4KP._-9h)) && ((_arg1.category == _-1sV._-3I0))))
            {
                k = this._-0Ad(_arg1);
                if (k != null)
                {
                    events.dispatchEvent(new _-Am(_-1ov.CATALOG_USER_SELECTED, k._-2-w, k.name));
                };
            };
        }
        private function _-M7(_arg1:_-iO):void
        {
            var k:int;
            var k:String;
            var k:_-1FF;
            if (((this._-sl) && ((_arg1.type == _-iO._-059))))
            {
                this._-265(true);
                if ((((this._-0hk == null)) || (this._-0hk.disposed)))
                {
                    this._-09H();
                    return;
                };
                k = _arg1.friendId;
                k = _arg1.friendName;
                k = this._-0FN;
                if (k != null)
                {
                    k._-1NL(true, k);
                };
                this._-09H(false);
                this._-1ZJ();
            };
        }
        private function _-0Ad(_arg1:_-4KP):_-4LX
        {
            var k:_-4JJ;
            var k:_-4LX;
            if (this._-16k != null)
            {
                k = this._-16k.getSession(_arg1.roomId, _arg1.roomCategory);
                if (k != null)
                {
                    k = k.userDataManager.getUserDataByIndex(_arg1._-mx);
                };
            };
            return (k);
        }
        private function _-Nc(_arg1:_-3D4):void
        {
            var k:String;
            var k:_-4LX;
            var k:_-1FF;
            if (((this._-sl) && ((_arg1.type == _-4KP._-3dR))))
            {
                this._-265(true);
                if ((((this._-0hk == null)) || (this._-0hk.disposed)))
                {
                    this._-09H();
                    return;
                };
                k = null;
                k = this._-0Ad(_arg1);
                if (k != null)
                {
                    k = k.name;
                };
                k = this._-0FN;
                if (k != null)
                {
                    k._-1NL(true, k);
                };
                this._-09H(false);
                this._-1ZJ();
            };
        }
        private function _-1Z4(_arg1:_-4UZ):void
        {
            var k:int;
            var k:_-2eJ;
            var k:Boolean;
            var k:_-1FF;
            var k:_-lb;
            if (((this._-sl) && ((_arg1.type == _-4KP._-2pN))))
            {
                this._-265(true);
                if ((((this._-0hk == null)) || (this._-0hk.disposed)))
                {
                    this._-09H();
                    return;
                };
                k = _arg1.category;
                k = this._-0hk.productContainer._-1YN;
                k = false;
                if (k == _-1sV._-20L)
                {
                    switch (k._-5D1.name)
                    {
                        case "floor":
                        case "wallpaper":
                        case "landscape":
                            k = ((_arg1._-3qh) || (_arg1._-0v3));
                            break;
                        default:
                            k = _arg1._-3dZ;
                    };
                }
                else
                {
                    k = _arg1._-3dZ;
                };
                if (!k)
                {
                    this._-09H();
                    return;
                };
                this._-0Q1 = new PlacedObjectPurchaseData(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, _arg1.category, _arg1._-07C, _arg1.x, _arg1.y, _arg1.direction, this._-0hk);
                k = this._-0FN;
                if (k != null)
                {
                    k._-1NL(true, null);
                };
                if (k == _-1sV._-0u-)
                {
                    this._-0tK._-2Pv(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, k._-3yk, new _-Xl(_arg1.x, _arg1.y, _arg1.z), new _-Xl(_arg1.direction, 0, 0), 0, new _-HJ());
                }
                else
                {
                    if (k == _-1sV._-20L)
                    {
                        switch (k._-5D1.name)
                        {
                            case "floor":
                            case "wallpaper":
                            case "landscape":
                                this._-3Vl(k._-5D1.name, k._-1gg);
                                break;
                            default:
                                this._-0tK._-0xm(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, k._-3yk, new _-Xl(_arg1.x, _arg1.y, _arg1.z), new _-Xl((_arg1.direction * 45), 0, 0), 0, _arg1._-vc, 0);
                        };
                    };
                };
                k = (this._-0tK.getRoomObject(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, _arg1.category) as _-lb);
                if (k)
                {
                    k.getModelController().setNumber(_-4Wq._-50W, 0.5);
                };
            };
        }
        private function _-09H(_arg1:Boolean=true):void
        {
            if (((_arg1) && (this._-sl)))
            {
                this._-1Rw();
            };
            this._-sl = false;
            this._-0FN = null;
        }
        public function _-1o4(_arg1:_-2tY):void
        {
            if (this._-0Q1)
            {
                if (this._-0Q1.offerId != _arg1.offerId)
                {
                    this._-265();
                };
            };
        }
        public function _-265(_arg1:Boolean=false):void
        {
            if (!_arg1)
            {
                this._-09H();
            };
            if (this._-0Q1 != null)
            {
                if (this._-0Q1.category == _-1sV._-0u-)
                {
                    this._-0tK._-4OW(this._-0Q1.roomId, this._-0Q1.roomCategory, this._-0Q1._-mx);
                }
                else
                {
                    if (this._-0Q1.category == _-1sV._-20L)
                    {
                        switch (this._-0Q1.furniData.name)
                        {
                            case "floor":
                            case "wallpaper":
                            case "landscape":
                                this._-3Vl("reset", "");
                                break;
                            default:
                                this._-0tK._-Re(this._-0Q1.roomId, this._-0Q1.roomCategory, this._-0Q1._-mx);
                        };
                    }
                    else
                    {
                        this._-0tK._-1Wi(this._-0Q1._-mx, this._-0Q1.category);
                    };
                };
                this._-0Q1.dispose();
                this._-0Q1 = null;
            };
        }
        public function _-1ZJ():void
        {
            if (this._-0hk != null)
            {
                this._-0tK._-5Am();
                this._-sl = false;
                this._-0hk = null;
            };
        }
        private function _-1qP(_arg1:_-51i):void
        {
            var k:int;
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            var _local8:String;
            var _local9:String;
            var _local10:String;
            if (((!((this._-0Q1 == null))) && ((this._-0Q1._-3yk == _arg1._-YT))))
            {
                if ((((this._-0Q1.roomCategory == this._-0tK.activeRoomCategory)) && ((this._-0Q1.roomId == this._-0tK.activeRoomId))))
                {
                    k = _arg1._-23C;
                    k = this._-0Q1.category;
                    k = this._-0Q1._-07C;
                    k = this._-0Q1.x;
                    k = this._-0Q1.y;
                    k = this._-0Q1.direction;
                    switch (_arg1.category)
                    {
                        case _-1mk._-3s7:
                            _local8 = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3Oy);
                            if (this._-0Q1.extraParameter != _local8)
                            {
                                this.send(new _-32d(k));
                            };
                            break;
                        case _-1mk._-3hq:
                            _local9 = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3Sr);
                            if (this._-0Q1.extraParameter != _local9)
                            {
                                this.send(new _-32d(k));
                            };
                            break;
                        case _-1mk._-48R:
                            _local10 = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3HV);
                            if (this._-0Q1.extraParameter != _local10)
                            {
                                this.send(new _-32d(k));
                            };
                            break;
                        default:
                            this.send(new _-3j6(k, k, k, k, k, k));
                    };
                    this._-265();
                };
            };
        }
        public function setImageFromAsset(_arg1:IWindow, _arg2:String, _arg3:Function):void
        {
            if (((!(_arg2)) || (!(assets))))
            {
                return;
            };
            var k:BitmapDataAsset = (assets.getAssetByName(_arg2) as BitmapDataAsset);
            if (k == null)
            {
                this._-4Jr(_arg2, _arg3);
                return;
            };
            if (_arg1)
            {
                HabboCatalog._-3rR(_arg1, (k.content as BitmapData));
            };
        }
        public function get imageGalleryHost():String
        {
            return (this._-3fD.getKey("image.library.catalogue.url"));
        }
        private function _-4Jr(_arg1:String, _arg2:Function):void
        {
            if (((!(_arg1)) || (!(assets))))
            {
                return;
            };
            var k = ((this.imageGalleryHost + _arg1) + ".png");
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = assets.loadAssetFromFile(_arg1, k, "image/png");
            if (!k)
            {
                return;
            };
            if (_arg2 != null)
            {
                k.addEventListener(AssetLoaderEvent._-1Tr, _arg2);
            };
        }
        private function _-1Rw():void
        {
            var k:IDesktopWindow;
            if (((((!((this._-U- == null))) && (!((this._-4oy == null))))) && ((this._-4oy.parent == null))))
            {
                k = this._-U-.getDesktop(_-38G);
                if (k != null)
                {
                    k.addChild(this._-4oy);
                };
            };
        }
        private function _-1Ea():void
        {
            var k:IDesktopWindow;
            if (((((!((this._-U- == null))) && (!((this._-4oy == null))))) && (!((this._-4oy.parent == null)))))
            {
                k = this._-U-.getDesktop(_-38G);
                if (((!((k == null))) && (!(this._-1St))))
                {
                    k.removeChild(this._-4oy);
                    if (this._-pw != null)
                    {
                        this._-pw._-553();
                    };
                };
                this._-1St = false;
            };
        }
        private function _-0E6():Boolean
        {
            if (((((!((this._-U- == null))) && (!((this._-4oy == null))))) && (!((this._-4oy.parent == null)))))
            {
                return (true);
            };
            return (false);
        }
        public function update(_arg1:uint):void
        {
            if (this._-2PW != null)
            {
                this._-2PW._-1Gl();
            };
        }
        public function _-4Y2(_arg1:_-1b5):void
        {
            if (this._-2ce)
            {
                this._-2ce._-2FJ(_arg1);
            };
        }
        private function _-2oR(_arg1:_-0OF):void
        {
            var k:_-5-4 = _arg1._-3-5();
            if (this._-0tB != null)
            {
                this._-0tB.dispose();
                this._-0tB = null;
            };
            this._-0tB = new _-3s(k.offerId, k._-5Dp, k._-w6);
        }
        public function _-D8():void
        {
            if (this._-0tB != null)
            {
                this._-3So(this._-0tB, -1, "");
            }
            else
            {
                this._-0ud._-4gR(null).send(new _-1Vp());
            };
        }
        public function openClubBuy(_arg1:int, _arg2:String):void
        {
            this.init();
            if (this._-6r != null)
            {
                this._-6r._-33p(_arg2);
            };
            HabboTracking._-0ON().trackEventLog("Vip", _arg1.toString(), "vip.dialog.shown", _arg2, ((this._-LD.clubPeriods * 31) + this._-LD.clubDays));
        }
        private function _-1G0(_arg1:_-2H6):void
        {
            if (this._-2ce)
            {
                this._-2ce._-1G0(_arg1._-2Jo);
            };
        }
        public function get avatarEditor():_-1V5
        {
            return (this._-31b);
        }
        public function _-1Zj(_arg1:Offer):void
        {
            this.send(new _-0iK(_arg1.offerId));
        }
        private function _-4PB():void
        {
            if ((((((((this._-6r == null)) && (!((this._-U- == null))))) && (!((this._-3fD == null))))) && (!((this._-0ud == null)))))
            {
                this._-6r = new _-3fx(this, this._-LD);
            };
        }
        public function _-4af():void
        {
            if (this._-6r != null)
            {
                this._-6r._-2pl();
            };
        }
        public function _-1ok(_arg1:int):void
        {
            var k:_-4SI = this._-4xW._-0Gp(_arg1);
            this._-2Gu = k.pageName;
        }
        public function _-4ws():void
        {
            this._-2Gu = null;
            this._-1St = false;
        }
        public function _-2WV():void
        {
            this._-1St = !((this._-2Gu == null));
        }
        private function _-2nD():void
        {
            if (this._-3fD != null)
            {
                if (this._-3fD.getBoolean("bundle.dynamic.discounts.enabled", false))
                {
                    this._-436();
                };
            };
        }
        private function _-436():void
        {
            this.send(new _-3Zk());
        }
        public function _-2vf(_arg1:int):void
        {
            this.send(new _-1NA(_arg1));
        }
        private function _-1G7(_arg1:_-3ZC):void
        {
            var k:_-2U0 = _arg1._-3-5();
            this._-2jH = k._-5FE;
            this._-16E._-58k();
        }
        private function _-23H(_arg1:_-1Ba):void
        {
            this._-U-.alert("${catalog.alert.limited_edition_sold_out.title}", "${catalog.alert.limited_edition_sold_out.message}", 0, this._-4nU);
            if (this._-1xH != null)
            {
                this._-1xH.dispose();
                this._-1xH = null;
            };
        }
        private function _-4x4(_arg1:_-2HB):void
        {
            var k:_-556 = _arg1._-3-5();
            var k:_-16p = k._-07D;
            if (((!(k)) || ((k.products.length == 0))))
            {
                return;
            };
            var k:_-4hq = k.products[0];
            if (k._-4r7)
            {
                this._-pw._-3bP._-3T1(k.offerId, k.uniqueLimitedItemsLeft);
            };
        }
        public function get _-B6():Boolean
        {
            if (this._-3fD != null)
            {
                return (this._-3fD.getBoolean("bundle.dynamic.discounts.enabled", false));
            };
            return (false);
        }
        public function get _-5FE():_-51z
        {
            return (this._-2jH);
        }
        public function get _-2bx():Boolean
        {
            if (this._-3fD != null)
            {
                if (this._-3fD.getBoolean("catalog.multiple.purchase.enabled", false))
                {
                    return (true);
                };
            };
            return (false);
        }
        public function get _-2Tj():Boolean
        {
            if (this._-3fD != null)
            {
                return (this._-3fD.getBoolean("catalog.new.additions.page.open.disabled", false));
            };
            return (false);
        }
        public function showVipBenefits():void
        {
            if (!this._-16E)
            {
                this.init();
            };
            if (this._-16E)
            {
                this._-16E.showVipBenefits();
            };
        }
        public function get _-3bP():_-YK
        {
            return (this._-pw._-3bP);
        }

    }
}//package _-0mD

//------------------------------------------------------------
//_-0mD.HabboCatalogUtils

package _-0mD
{
    import _-4P2._-Ca;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-1ae.IBitmapWrapperWindow;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-18r.Map;
    import _-1ae.ITextWindow;
    import _-1ae.IItemListWindow;
    import _-2JX._-1sv;
    import _-1lc.Offer;
    import _-1ae._-4mB;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-295._-2kE;
    import flash.geom.Matrix;
    import _-2ly._-11j;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-48G._-51z;
    import _-2gz.HabboTracking;
    import _-1B-.*;

    public class HabboCatalogUtils implements _-1zZ 
    {

        private var _-3Wh:String = "HCU_dynamic_badge";
        private var _disposed:Boolean = false;
        private var _-3oJ:HabboCatalog;
        private var _-42I:_-Ca;
        private var _-8-:Array;
        private var _-4Ct:int;
        private var _-0Zm:Boolean = false;
        private var _-22B:Boolean = false;
        private var _-4VA:Boolean = false;

        public function HabboCatalogUtils(_arg1:HabboCatalog)
        {
            this._-8- = new Array(0);
            super();
            this._-3oJ = _arg1;
        }
        public static function _-4Hh(_arg1:IBitmapWrapperWindow, _arg2:BitmapData, _arg3:Rectangle=null):void
        {
            if (!_arg1.bitmap)
            {
                _arg1.bitmap = new BitmapData(_arg1.width, _arg1.height, true, 0);
            }
            else
            {
                _arg1.bitmap.fillRect(_arg1.bitmap.rect, 0);
            };
            var k:BitmapData = _arg1.bitmap;
            var k:Rectangle = (((_arg3)!=null) ? _arg3 : _arg2.rect);
            k.copyPixels(_arg2, k, new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2)), null, null, true);
            _arg1.invalidate();
        }

        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-42I != null)
                {
                    this._-42I.dispose();
                    this._-42I = null;
                };
                this._-3oJ = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function createWindow(_arg1:String, _arg2:uint=1, _arg3:Map=null):IWindow
        {
            var k:Array;
            var k:IWindow;
            var k:IBitmapWrapperWindow;
            if ((((this._-3oJ.windowManager == null)) || ((this._-3oJ.assets == null))))
            {
                return (null);
            };
            var k:_-243 = (this._-3oJ.assets.getAssetByName(_arg1) as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return (null);
            };
            var k:IWindow = this._-3oJ.windowManager.buildFromXML((k.content as XML), _arg2, _arg3);
            var k:IWindowContainer = (k as IWindowContainer);
            if (k != null)
            {
                k = [];
                k._-507("bitmap", k, -1);
                for each (k in k)
                {
                    k = (k as IBitmapWrapperWindow);
                    if (k != null)
                    {
                        k._-30Z = false;
                        this._-0sN(k, k._-2Qt);
                    };
                };
            };
            return (k);
        }
        public function _-2xX(_arg1:IWindowContainer, _arg2:_-2tY, _arg3:int=1, _arg4:Boolean=false, _arg5:Boolean=false):void
        {
            var k:int;
            var k:int;
            var k:ITextWindow;
            var k:IWindow;
            var k:int;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            var k:IItemListWindow = (this.createWindow("price_display") as IItemListWindow);
            if (k == null)
            {
                return;
            };
            while (_arg1.numChildren > 0)
            {
                _arg1.removeChildAt(0).dispose();
            };
            var k:Array = [];
            var k:int = -1;
            if (_arg2._-w6 > 0)
            {
                k = this._-1Tv(_arg2._-3by, _arg2._-w6, _arg3);
                k = ((_arg4) ? this._-3oJ._-yc() : -1);
                k.push({
                    amount:k,
                    unit:k
                });
            };
            if (_arg2._-17D > 0)
            {
                k = this._-1Tv(_arg2._-3by, _arg2._-17D, _arg3);
                k.push({
                    amount:k,
                    unit:_arg2.activityPointType
                });
            };
            if (k.length == 0)
            {
                k.push({
                    amount:0,
                    unit:-1
                });
            };
            k = 0;
            while (k < k.length)
            {
                k = (k.getListItemByName(("amount_" + k)) as ITextWindow);
                k = k.getListItemByName(("unit_" + k));
                k.text = ((((k > 0)) ? "+ " : "") + k[k].amount);
                k = -1;
                k.style = _-1sv._-45C(k[k].unit, this._-3oJ.configuration, true, _arg5);
                k.width = ((((_arg4) && (_arg5))) ? 53 : 22);
                k++;
            };
            var k:int = (k * 2);
            while (k.numListItems > k)
            {
                k._-3yK(k);
            };
            _arg1.addChild(k);
        }
        public function _-0GX(_arg1:Offer, _arg2:IWindowContainer, _arg3:IWindow, _arg4:IWindow, _arg5:int, _arg6:Boolean, _arg7:int, _arg8:Boolean=false, _arg9:Boolean=false):IWindow
        {
            var k:IWindow;
            if (_arg3 != null)
            {
                _arg2.removeChild(_arg3);
                _arg3.dispose();
            };
            k = this._-3oJ.utils.createWindow("priceDisplayWidget");
            _arg2.addChild(k);
            var k:IWindowContainer = (_arg2.findChildByName("price_box_new") as IWindowContainer);
            if (k != null)
            {
                this._-3oJ.utils._-2xX(k, _arg1, 1, _arg8, _arg9);
                k = _arg2.findChildByName("room_canvas_container");
                if (k == null)
                {
                    k = _arg4;
                };
                if (k != null)
                {
                    k.x = (((k.x + k.width) + _arg5) - k.width);
                    if (_arg6)
                    {
                        k.y = (k.y + _arg7);
                    }
                    else
                    {
                        k.y = ((k.y + k.height) - (k.height + _arg7));
                    };
                };
                if (_arg1._-17D == 0)
                {
                    k.color = 14992765;
                };
                if (_arg1._-w6 == 0)
                {
                    switch (_arg1.activityPointType)
                    {
                        case _-1sv.PIXEL:
                            k.color = 11257559;
                            break;
                        default:
                            k.color = 9032648;
                    };
                };
            };
            return (k);
        }
        public function _-0Lr(_arg1:String, _arg2:IWindowContainer, _arg3:int, _arg4:int, _arg5:Boolean=true, _arg6:Boolean=true):void
        {
            var k:IWindowContainer = (_arg2.findChildByName(this._-3Wh) as IWindowContainer);
            if (k == null)
            {
                k = (this.createWindow("badgeDisplayWidget") as IWindowContainer);
                k.name = this._-3Wh;
            };
            _-4mB(k.findChildByName("asset_image")).assetUri = "catalogue_badge_background";
            var k:_-3Yi = (k.findChildByName("badge_image") as _-3Yi);
            var k:_-aY = (k.widget as _-aY);
            k.visible = true;
            k.badgeId = _arg1;
            _arg2.addChild(k);
            k.x = ((_arg6) ? _arg3 : ((_arg2.width - k.width) - _arg3));
            k.y = ((_arg5) ? _arg4 : ((_arg2.height - k.height) - _arg4));
        }
        public function _-4D4(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = (_arg1.findChildByName(this._-3Wh) as IWindowContainer);
            if (k)
            {
                _arg1.removeChild(k);
            };
        }
        public function _-2f4(_arg1:String, _arg2:IWindowContainer, _arg3:int, _arg4:int, _arg5:Boolean=true, _arg6:Boolean=true):void
        {
            var k:IWindowContainer = (_arg2.findChildByName(this._-3Wh) as IWindowContainer);
            if (k == null)
            {
                k = (this.createWindow("badgeDisplayWidget") as IWindowContainer);
                k.name = this._-3Wh;
            };
            k.findChildByName("badge_image").visible = false;
            _-4mB(k.findChildByName("badge_image")).assetUri = _arg1;
            _arg2.addChild(k);
            k.x = ((_arg6) ? _arg3 : ((_arg2.width - k.width) - _arg3));
            k.y = ((_arg5) ? _arg4 : ((_arg2.height - k.height) - _arg4));
        }
        public function _-0sN(_arg1:IBitmapWrapperWindow, _arg2:String):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-2kE = this._-3oJ.assets.getAssetByName(_arg2);
            if (k == null)
            {
                return;
            };
            var k:BitmapData = (k.content as BitmapData);
            if (k == null)
            {
                return;
            };
            if (_arg1.bitmap != null)
            {
                _arg1.bitmap.dispose();
                _arg1.bitmap = null;
            };
            if (_arg1.bitmap == null)
            {
                _arg1.bitmap = new BitmapData(_arg1.width, _arg1.height, true, 0);
            };
            var k:int = ((_arg1.width - k.width) * 0.5);
            var k:int = ((_arg1.height - k.height) * 0.5);
            _arg1.bitmap.draw(k, new Matrix(1, 0, 0, 1, k, k));
        }
        public function showVipBenefits():void
        {
            if (this._-3oJ.configuration.getBoolean("catalog.vip.benefits.enabled", false))
            {
                if ((((this._-42I == null)) || (this._-42I.disposed)))
                {
                    this._-42I = new _-Ca(this._-3oJ);
                };
            }
            else
            {
                this._-52(this._-3oJ.configuration.getKey("link.format.club", "credits/habboclub"));
            };
        }
        public function _-52(_arg1:String):void
        {
            if (_arg1 != "")
            {
                this._-3oJ.windowManager.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-0i7);
                _-11j._-0D8(_arg1, "habboMain");
            };
        }
        private function _-0i7(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        public function _-1Tv(_arg1:Boolean, _arg2:int, _arg3:int):int
        {
            var k:int;
            if (((((this._-3oJ._-B6) && (_arg1))) && (!((this._-3oJ._-5FE == null)))))
            {
                k = this._-04U(_arg3);
                k = (k + this._-0VM(_arg3));
                k = (k + this._-524(_arg3));
                return ((_arg2 * (_arg3 - k)));
            };
            return ((_arg2 * _arg3));
        }
        private function _-04U(_arg1:int):int
        {
            var k:_-51z = this._-3oJ._-5FE;
            var k:int = (_arg1 / k._-4-I);
            return ((k * k._-0CM));
        }
        private function _-0VM(_arg1:int):int
        {
            var k:int;
            var k:int;
            var k:_-51z = this._-3oJ._-5FE;
            var k:int = (_arg1 / k._-4-I);
            if (k >= k._-4ml)
            {
                k = (_arg1 % k._-4-I);
                if (k == (k._-4-I - 1))
                {
                    k++;
                };
                k = (k + (k - k._-4ml));
            };
            return (k);
        }
        private function _-524(_arg1:int):int
        {
            var k:int;
            var k:int;
            var k:_-51z = this._-3oJ._-5FE;
            for each (k in k._-244)
            {
                if (_arg1 >= k)
                {
                    k++;
                };
            };
            return (k);
        }
        public function get _-4DJ():Array
        {
            return (this._-8-);
        }
        public function get _-1pK():int
        {
            return (this._-4Ct);
        }
        public function _-58k():void
        {
            var k:int;
            var k:int;
            this._-8- = new Array();
            this._-4Ct = 0;
            var k:int;
            while (k < 99)
            {
                k = this._-1Tv(true, 1, k);
                k = this._-1Tv(true, 1, (k + 1));
                if (k == k)
                {
                    this._-8-.push(k);
                    this._-4Ct = k;
                };
                k++;
            };
        }
        public function _-3M9():void
        {
            if (!this._-0Zm)
            {
                HabboTracking._-0ON().trackEventLog("Catalog", "spinnerValueChanged", "client.bundle.discounts");
                this._-0Zm = true;
            };
        }
        public function _-3-k():void
        {
            if (!this._-22B)
            {
                HabboTracking._-0ON().trackEventLog("Catalog", "bundlesInfoOpened", "client.bundle.discounts");
                this._-22B = true;
            };
        }
        public function _-0mu():void
        {
            if (!this._-4VA)
            {
                HabboTracking._-0ON().trackEventLog("Catalog", "discountItemShown", "client.bundle.discounts");
                this._-4VA = true;
            };
        }

    }
}//package _-0mD

//------------------------------------------------------------
//_-0mD.VideoOfferManager

package _-0mD
{
    import __AS3__.vec.Vector;
    import _-1HK._-2Xf;
    import flash.external.ExternalInterface;
    import _-1Jd._-3wh;
    import _-2p5._-2ka;
    import _-2Mh._-4WL;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class VideoOfferManager implements _-J9, _-1zZ 
    {

        private static const _-3DV:String = "supersaverAdsOnCampaignsReady";
        private static const _-3-f:String = "supersaverAdsOnCampaignCompleted";
        private static const _-0bf:String = "supersaverAdsOnCampaignOpen";
        private static const _-3G1:String = "supersaverAdsOnCampaignClose";
        private static const _-a7:String = "supersaverAdsLoadCampaigns";
        private static const _-30S:String = "supersaverAdsCamapaignEngage";

        private var _disposed:Boolean;
        private var _-3oJ:HabboCatalog;
        private var _-4Zy:Boolean;
        private var _-1Q-:int;
        private var _-3BW:int = 0;
        private var _-2SS:Boolean;
        private var _-2ix:Boolean;
        private var _-4RR:Vector.<_-1vM>;
        private var _-3Bt:Boolean;

        public function VideoOfferManager(_arg1:HabboCatalog)
        {
            this._-3oJ = _arg1;
            this._-4RR = new Vector.<_-1vM>();
            this._-4Zy = this._-3oJ.configuration.getBoolean("supersaverads.video.promo.enabled", false);
            this._-3oJ.connection.addMessageEvent(new _-2Xf(this._-4tb));
            this._-1vs();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get enabled():Boolean
        {
            return (this._-4Zy);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._-3oJ = null;
            this._-4RR = null;
            this._-4Zy = false;
            if (((this._-3Bt) && (ExternalInterface.available)))
            {
                ExternalInterface.addCallback(_-3DV, null);
                ExternalInterface.addCallback(_-3-f, null);
                ExternalInterface.addCallback(_-0bf, null);
                ExternalInterface.addCallback(_-3G1, null);
                this._-3Bt = false;
            };
            this._disposed = true;
        }
        private function _-1vs():void
        {
            if (((((this._-4Zy) && (!(this._-3Bt)))) && (ExternalInterface.available)))
            {
                ExternalInterface.addCallback(_-3DV, this._-1eb);
                ExternalInterface.addCallback(_-3-f, this._-ze);
                ExternalInterface.addCallback(_-0bf, this._-1pQ);
                ExternalInterface.addCallback(_-3G1, this._-29K);
                this._-3Bt = true;
            };
        }
        private function _-4tb(_arg1:_-2Xf):void
        {
            if (_arg1._-0gt >= _-3wh._-4WP)
            {
                this._-4Zy = ((this._-4Zy) || (this._-3oJ.configuration.getBoolean("supersaverads.video.promo.development.mode", false)));
                this._-1vs();
            };
        }
        public function load(_arg1:_-1vM):void
        {
            if (!this._-4Zy)
            {
                return;
            };
            if (((this._-2SS) && (this._-2ix)))
            {
                _arg1.offersAvailable(this._-1Q-);
            }
            else
            {
                if (((!(this._-2SS)) && (ExternalInterface.available)))
                {
                    ExternalInterface.call(_-a7);
                    this._-2SS = true;
                };
                this._-4RR.push(_arg1);
            };
        }
        public function _-wi(_arg1:_-4WL):Boolean
        {
            if (((!(this._-4Zy)) || ((this._-1Q- < 1))))
            {
                return (false);
            };
            if (ExternalInterface.available)
            {
                this._-3BW = (this._-3BW + 1);
                ExternalInterface.call(_-30S);
                this._-3Aq();
                if (this._-3oJ.connection)
                {
                    this._-3oJ.connection.send(new _-2ka("SuperSaverAds", "client_action", "supersaverads.video.promo.launched"));
                };
                return ((this._-1Q- > this._-3BW));
            };
            return (false);
        }
        private function _-1eb(_arg1:String):void
        {
            this._-2ix = true;
            this._-1Q- = parseInt(_arg1);
            if (isNaN(this._-1Q-))
            {
                this._-1Q- = 0;
            };
            while (this._-4RR.length > 0)
            {
                this._-4RR.pop().offersAvailable(this._-1Q-);
            };
        }
        private function _-1pQ():void
        {
        }
        private function _-29K():void
        {
            this._-0rF();
            if (this._-3oJ.connection)
            {
                this._-3oJ.connection.send(new _-2ka("SuperSaverAds", "client_action", "supersaverads.video.promo.close"));
            };
        }
        private function _-ze():void
        {
            this._-0rF();
            if (this._-3oJ.connection)
            {
                this._-3oJ.connection.send(new _-2ka("SuperSaverAds", "client_action", "supersaverads.video.promo.complete"));
            };
        }
        private function _-3Aq():void
        {
            if (this._-3oJ._-0Y)
            {
                this._-3oJ._-0Y.mute(true);
            };
        }
        private function _-0rF():void
        {
            if (this._-3oJ._-0Y)
            {
                this._-3oJ._-0Y.mute(false);
            };
        }

    }
}//package _-0mD

//------------------------------------------------------------
//_-0NA._-0AN

package _-0NA
{
    import _-3XW.ButtonMenuView;
    import _-3V-._-3SU;
    import _-3XW._-50z;

    public class _-0AN extends ButtonMenuView 
    {

        protected var _-XQ:_-3SU;
        protected var _-o7:String;

        public function _-0AN(_arg1:_-50z)
        {
            super(_arg1);
        }
        public static function setup(_arg1:_-0AN, _arg2:_-3SU, _arg3:String=""):void
        {
            _arg1._-XQ = _arg2;
            _arg1._-o7 = _arg3;
            _-0nx(_arg1);
        }

        protected function get _-0rN():_-3SU
        {
            return (this._-XQ);
        }
        override public function dispose():void
        {
            this._-XQ = null;
            super.dispose();
        }

    }
}//package _-0NA

//------------------------------------------------------------
//_-0NA._-0Tz

package _-0NA
{
    import _-Ew.IWindowContainer;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-4n1._-0hX;
    import _-3mW._-1sV;
    import _-3V-._-3SU;
    import _-3cY._-1mk;
    import flash.display.BitmapData;
    import _-1ae.IFrameWindow;
    import _-295._-2kE;
    import _-293._-2Gt;
    import _-0y0._-Xl;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-1yP;
    import _-1FD._-0gH;
    import _-293.*;
    import _-1B-.*;

    public class _-0Tz implements _-1zZ, dynamic 
    {

        private static const _-4OA:int = -1;
        private static const _-0WG:int = 0;
        private static const _-Zr:String = "header_button_close";
        private static const _-3Yn:String = "save_button";
        private static const _-40E:String = "cancel_text";
        private static const _-sr:String = "ok_button";

        private var _-0xv:IWindowContainer;
        private var _-4Bk:Boolean = false;
        private var _-0dg:_-49m;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-1nK:int = -1;
        private var _-4sC:int;
        private var _-4zT:_-0hX;

        public function _-0Tz(_arg1:_-49m)
        {
            this._-0dg = _arg1;
            this._-U- = _arg1.windowManager;
            this._assets = this._-0dg.assets;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._-4Bk = true;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-4zT = null;
        }
        public function open(_arg1:int):void
        {
            var k:int = this._-0dg.handler.roomSession.roomId;
            var k:int = this._-0dg.handler.roomSession.roomCategory;
            var k:_-3SU = this._-0dg.handler.roomEngine.getRoomObject(k, k, _arg1, _-1sV._-0u-);
            if (k != null)
            {
                this._-4zT = this._-0dg.handler._-co(k);
                this._-1nK = k.getId();
            };
            var k:int = _-4OA;
            switch (this._-4zT.category)
            {
                case _-1mk._-1ss:
                    k = _-0WG;
                    break;
                default:
                    _-Nb.log(("[PlantSeedConfirmationView.open()] Unsupported furniture category: " + this._-4zT.category));
            };
            this._-0-s(k);
            this._-0xv.visible = true;
        }
        private function _-0-s(_arg1:int):void
        {
            var k:String;
            var k:BitmapData = new BitmapData(10, 10);
            this._-0dg.localizations.registerParameter("useproduct.widget.title.plant_seed", "name", this._-4zT.title);
            if (!this._-0xv)
            {
                k = "use_product_widget_frame_plant_seed_xml";
                this._-0xv = (this._-U-.buildFromXML((this._assets.getAssetByName(k).content as XML)) as IWindowContainer);
                this._-2gQ(_-Zr);
                this._-0xv.center();
            };
            this._-0dg.localizations.registerParameter("useproduct.widget.text.plant_seed", "productName", this._-4zT.title);
            var k:IFrameWindow = (this._-0xv as IFrameWindow);
            k.content.removeChildAt(0);
            var k:IWindowContainer = this.createWindow(_arg1);
            k.content.addChild(k);
            switch (_arg1)
            {
                case _-0WG:
                    this._-2gQ(_-3Yn);
                    this._-2gQ(_-40E);
                    k = this._-1wl(this._-4zT);
                    break;
                default:
                    throw (new Error(("Invalid type for use product confirmation content apply: " + _arg1)));
            };
            this._-1bO(k);
            this._-0xv.invalidate();
        }
        private function createWindow(_arg1:int):IWindowContainer
        {
            var k:_-2kE;
            var k:IWindowContainer;
            switch (_arg1)
            {
                case _-0WG:
                    k = this._assets.getAssetByName("use_product_controller_plant_seed_xml");
                    break;
                default:
                    throw (new Error(("Invalid type for view content creation: " + _arg1)));
            };
            k = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
            return (k);
        }
        private function _-1wl(_arg1:_-0hX):BitmapData
        {
            var k:_-2Gt;
            var k:BitmapData;
            if (!_arg1)
            {
                return (null);
            };
            var k:Array = _arg1._-yz.split(" ");
            switch (_arg1.category)
            {
                case _-1mk._-1ss:
                    k = this._-0dg.handler.roomEngine.getFurnitureImage(this._-4zT.id, new _-Xl(90, 0, 0), 64, this, 0, "", -1, -1, null);
                    break;
                default:
                    _-Nb.log(("[PlantSeedConfirmationView] Unsupported furniture category: " + _arg1.category));
            };
            if (k != null)
            {
                this._-4sC = k.id;
                k = k.data;
            };
            return (k);
        }
        private function _-1bO(_arg1:BitmapData):void
        {
            if (((!(this._-0xv)) || (!(_arg1))))
            {
                return;
            };
            this._-Cy("preview_image_bg");
            this._-Cy("preview_image");
        }
        private function _-Cy(_arg1:String):void
        {
            if (!this._-0xv)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            var k:BitmapDataAsset = (this._assets.getAssetByName(k._-2Qt) as BitmapDataAsset);
            if (k == null)
            {
                return;
            };
            k._-30Z = false;
            k.bitmap = (k.content as BitmapData);
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
            };
        }
        private function _-2gQ(_arg1:String):void
        {
            this._-0xv.findChildByName(_arg1).addEventListener(WindowMouseEvent._-90, this.onMouseClick);
        }
        private function onMouseClick(_arg1:WindowMouseEvent):void
        {
            var k:_-1yP;
            switch (_arg1.target.name)
            {
                case _-Zr:
                case _-40E:
                case _-sr:
                    this.close();
                    break;
                case _-3Yn:
                    k = new _-0gH(_-0gH._-1ss, this._-1nK);
                    this.close();
                    break;
            };
            if (k)
            {
                this._-0dg.messageListener.processWidgetMessage(k);
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (this.disposed)
            {
                return;
            };
            if (this._-4sC == _arg1)
            {
                this._-1bO(_arg2);
                this._-4sC = 0;
            };
        }

    }
}//package _-0NA

//------------------------------------------------------------
//_-0NA._-1dp

package _-0NA
{
    import _-3XW._-50z;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;

    public class _-1dp extends _-0AN 
    {

        private var _-1pz:int;

        public function _-1dp(_arg1:_-50z)
        {
            super(_arg1);
        }
        override protected function updateWindow():void
        {
            var k:XML;
            var k:IWindow;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("monsterplant_seed_menu")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    k = _-0xv.findChildByName("minimize");
                    if (k != null)
                    {
                        k.addEventListener(WindowMouseEvent._-90, _-3jC);
                        k.addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                        k.addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                    };
                };
                _-0xv.findChildByName("furni_name").caption = "${furni.mnstr_seed.name}";
                _-0xv.findChildByName("buttons").procedure = this.buttonEventProc;
                _-0xv.visible = false;
                activeView = _-0xv;
                _-3Ot = false;
            };
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local4:_-49m;
            if (((((disposed) || (!(_-0xv)))) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    switch (_arg2.parent.name)
                    {
                        case "use":
                            _local4 = (_-0dg as _-49m);
                            if (_local4 != null)
                            {
                                _local4._-44G(_-XQ);
                            };
                            break;
                    };
                };
                k = true;
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        public function set _-4hA(_arg1:int):void
        {
            this._-1pz = _arg1;
        }

    }
}//package _-0NA

//------------------------------------------------------------
//_-0NA._-49m

package _-0NA
{
    import _-FP._-2ul;
    import _-1B-._-Px;
    import _-3V-._-3SU;
    import _-3tz._-39P;
    import _-0mD._-2Jq;
    import _-1ye._-G0;
    import _-59g._-4KP;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-19Y._-29p;
    import _-4f7._-4lz;
    import _-293._-5-S;
    import _-3XW._-1eN;
    import _-3mW._-1sV;
    import _-1B-.*;
    import _-3XW.*;

    public class _-49m extends _-2ul implements _-50z, _-0gI 
    {

        private var _-3Gv:_-Px;
        private var _-Ke:_-0AN;
        private var _-0te:_-3SU = null;
        private var _-4GJ:_-39P;
        private var _-3M6:_-4aT;
        private var _-zW:_-1dp;
        private var _-0l0:_-0Tz;
        private var _-3oJ:_-2Jq;
        private var _container:_-G0 = null;

        public function _-49m(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-4uR, _arg5:_-0hg, _arg6:_-Px, _arg7:_-29p, _arg8:_-2Jq)
        {
            super(_arg1, _arg2, _arg3, _arg5);
            this._-3Gv = _arg6;
            this._-4GJ = new _-39P(this, _arg7);
            this._-3M6 = new _-4aT(this);
            this._-zW = new _-1dp(this);
            this._-0l0 = new _-0Tz(this);
            this._-3oJ = _arg8;
            this.handler.widget = this;
            this.handler.roomEngine.events.addEventListener(_-4KP._-1NF, this._-2xD);
        }
        override public function dispose():void
        {
            if (disposed)
            {
                return;
            };
            this._-3Gv.removeUpdateReceiver(this);
            this.removeView(this._-Ke, false);
            this._-4GJ.dispose();
            this._-4GJ = null;
            this._-3M6.dispose();
            this._-3M6 = null;
            this._-zW.dispose();
            this._-zW = null;
            this._-0l0.dispose();
            this._-0l0 = null;
            this._-3oJ = null;
            super.dispose();
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function get handler():_-4lz
        {
            return ((_-0nf as _-4lz));
        }
        public function get roomEngine():_-5-S
        {
            return (((this._container) ? this._container.roomEngine : null));
        }
        public function _-09x(_arg1:_-3SU):void
        {
            if (((!((this._-0te == null))) && ((this._-0te.getId() == _arg1.getId()))))
            {
                this.removeView(this._-Ke, false);
                this._-3Gv.removeUpdateReceiver(this);
                this._-0te = null;
            };
        }
        public function _-3DX(_arg1:_-3SU, _arg2:int, _arg3:String, _arg4:int, _arg5:Boolean):void
        {
            this._-0te = _arg1;
            this._-4GJ._-0qe = _arg2;
            this._-4GJ._-0sy = _arg4;
            this._-4GJ._-3H0 = _arg5;
            if (this._-Ke != null)
            {
                this.removeView(this._-Ke, false);
            };
            this._-Ke = this._-4GJ;
            _-0AN.setup(this._-Ke, _arg1, _arg3);
            this._-3Gv.registerUpdateReceiver(this, 10);
        }
        public function _-3ip(_arg1:_-3SU, _arg2:int):void
        {
            this._-0te = _arg1;
            if (this._-Ke != null)
            {
                this.removeView(this._-Ke, false);
            };
            this._-3M6._-4hA = _arg2;
            this._-Ke = this._-3M6;
            _-0AN.setup(this._-Ke, _arg1);
            this._-3Gv.registerUpdateReceiver(this, 10);
        }
        public function _-092(_arg1:_-3SU, _arg2:int):void
        {
            this._-0te = _arg1;
            if (this._-Ke != null)
            {
                this.removeView(this._-Ke, false);
            };
            this._-zW._-4hA = _arg2;
            this._-Ke = this._-zW;
            _-0AN.setup(this._-Ke, _arg1);
            this._-3Gv.registerUpdateReceiver(this, 10);
        }
        public function _-44G(_arg1:_-3SU):void
        {
            this._-0te = _arg1;
            if (this._-Ke != null)
            {
                this.removeView(this._-Ke, false);
            };
            if (!this._-0l0)
            {
                this._-0l0 = new _-0Tz(this);
            };
            this._-0l0.open(_arg1.getId());
        }
        private function _-4b5():void
        {
            if (this._-0l0 != null)
            {
                this._-0l0.close();
            };
        }
        public function removeView(_arg1:_-1eN, _arg2:Boolean):void
        {
            if (_arg1)
            {
                _arg1.hide(false);
                if (_arg1 == this._-Ke)
                {
                    this._-Ke = null;
                };
            };
        }
        public function update(_arg1:uint):void
        {
            if (((this._-Ke) && (this._-0te)))
            {
                this._-Ke.update(this.handler._-1M5(this._-0te.getId()), this.handler._-3VX(this._-0te.getId()), _arg1);
            };
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        private function _-2xD(_arg1:_-4KP):void
        {
            var k:int;
            if (_arg1.category == _-1sV._-0u-)
            {
                k = _arg1._-mx;
                if (((!((this._-0te == null))) && ((this._-0te.getId() == k))))
                {
                    this.removeView(this._-Ke, false);
                    this._-4b5();
                    this._-3Gv.removeUpdateReceiver(this);
                    this._-0te = null;
                };
            };
        }

    }
}//package _-0NA

//------------------------------------------------------------
//_-0NA._-4aT

package _-0NA
{
    import _-3XW._-50z;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-2ve;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-4aT extends _-0AN 
    {

        private var _-1pz:int;

        public function _-4aT(_arg1:_-50z)
        {
            super(_arg1);
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("random_teleport_menu")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0xv.findChildByName("furni_name").caption = "${furni.random_teleport.name}";
                _-0xv.findChildByName("buttons").procedure = this.buttonEventProc;
                _-0xv.visible = false;
                activeView = _-0xv;
                _-3Ot = false;
            };
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((disposed) || (!(_-0xv)))) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    switch (_arg2.parent.name)
                    {
                        case "use":
                            _-0dg.messageListener.processWidgetMessage(new _-2ve(_-2ve._-032, _-XQ.getId(), this._-1pz, null));
                            break;
                    };
                };
                k = true;
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        public function set _-4hA(_arg1:int):void
        {
            this._-1pz = _arg1;
        }

    }
}//package _-0NA

//------------------------------------------------------------
//_-0Ns._-0sY

package _-0Ns
{
    public class _-0sY 
    {

        public static const HABBO_MEMENU_TRACKING_EVENT_CLOSE:String = "HABBO_MEMENU_TRACKING_EVENT_CLOSE";
        public static const HABBO_MEMENU_TRACKING_EVENT_DEFAULT:String = "HABBO_MEMENU_TRACKING_EVENT_DEFAULT";
        public static const HABBO_MEMENU_TRACKING_EVENT_DANCE:String = "HABBO_MEMENU_TRACKING_EVENT_DANCE";
        public static const HABBO_MEMENU_TRACKING_EVENT_EFFECTS:String = "HABBO_MEMENU_TRACKING_EVENT_EFFECTS";

    }
}//package _-0Ns

//------------------------------------------------------------
//_-0nV._-2H6

package _-0nV
{
    import flash.events.Event;

    public class _-2H6 extends Event 
    {

        public static const _-0n2:String = "GSCIME_GUILD_VISUAL_SETTINGS_CHANGED";

        private var _-0qe:int;

        public function _-2H6(_arg1:String, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-0qe = _arg2;
        }
        public function get _-2Jo():int
        {
            return (this._-0qe);
        }

    }
}//package _-0nV

//------------------------------------------------------------
//_-0nV._-3qA

package _-0nV
{
    import flash.events.Event;

    public class _-3qA extends Event 
    {

        public static const _-0wu:String = "HGE_EDIT_INFO";

        public function _-3qA(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-0wu, _arg1, _arg2);
        }
    }
}//package _-0nV

//------------------------------------------------------------
//_-0NX._-1eW

package _-0NX
{
    import _-4Aj._-7V;
    import _-4bZ._-4gE;
    import _-4Aj.*;

    public class _-1eW extends _-7V implements _-0tL 
    {

        public function _-1eW(_arg1:Function)
        {
            super(_arg1, _-4gE);
        }
        public function _-3-5():_-4gE
        {
            return ((_-515 as _-4gE));
        }

    }
}//package _-0NX

//------------------------------------------------------------
//_-0NX._-44X

package _-0NX
{
    import _-4Aj._-7V;
    import _-4bZ._-sN;
    import _-4Aj.*;

    public class _-44X extends _-7V implements _-0tL 
    {

        public function _-44X(_arg1:Function)
        {
            super(_arg1, _-sN);
        }
        public function _-3-5():_-sN
        {
            return ((_-515 as _-sN));
        }

    }
}//package _-0NX

//------------------------------------------------------------
//_-0ok._-1MW

package _-0ok
{
    public class _-1MW 
    {

        private var _-7t:String;
        private var _-0Ut:String;
        private var _-1qk:String;
        private var _-1pI:Boolean;
        private var _-te:int = -1;

        public function _-1MW(_arg1:XML)
        {
            this._-7t = String(_arg1.@["set-type"]);
            this._-0Ut = String(_arg1.@["flipped-set-type"]);
            this._-1qk = String(_arg1.@["remove-set-type"]);
            this._-1pI = false;
        }
        public function _-0O-():Boolean
        {
            return ((this._-te >= 0));
        }
        public function get _-2vo():int
        {
            return (this._-te);
        }
        public function set _-2vo(_arg1:int):void
        {
            this._-te = _arg1;
        }
        public function get _-4mm():String
        {
            return (this._-7t);
        }
        public function get _-2av():String
        {
            return (this._-0Ut);
        }
        public function get _-1y1():String
        {
            return (this._-1qk);
        }
        public function get _-3hy():Boolean
        {
            return (this._-1pI);
        }
        public function set _-3hy(_arg1:Boolean):void
        {
            this._-1pI = _arg1;
        }
        public function set _-2av(_arg1:String):void
        {
            this._-0Ut = _arg1;
        }

    }
}//package _-0ok

//------------------------------------------------------------
//_-0ok.ActivePartSet

package _-0ok
{
    public class ActivePartSet 
    {

        private var _-0Kq:String;
        private var _-2aI:Array;

        public function ActivePartSet(_arg1:XML)
        {
            var k:XML;
            super();
            this._-0Kq = String(_arg1.@id);
            this._-2aI = new Array();
            for each (k in _arg1.activePart)
            {
                this._-2aI.push(String(k.@["set-type"]));
            };
        }
        public function get _-1xN():Array
        {
            return (this._-2aI);
        }

    }
}//package _-0ok

//------------------------------------------------------------
//_-0Pi._-09c

package _-0Pi
{
    import _-4Aj.*;

    public class _-09c implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-09c(_arg1:int, _arg2:int, _arg3:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-09Z

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-09Z implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-09Z(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-0JR

package _-0Pi
{
    import _-4Aj.*;

    public class _-0JR implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0JR(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-0m4

package _-0Pi
{
    import _-4Aj.*;

    public class _-0m4 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0m4()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-0MT

package _-0Pi
{
    import _-4Aj.*;

    public class _-0MT implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0MT(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-0Ri

package _-0Pi
{
    import _-4Aj.*;

    public class _-0Ri implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0Ri(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-0rJ

package _-0Pi
{
    import _-4Aj.*;

    public class _-0rJ implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0rJ(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-1AL

package _-0Pi
{
    import _-4Aj.*;

    public class _-1AL implements _-1oF 
    {

        private var _-gw:String;

        public function _-1AL(_arg1:String)
        {
            this._-gw = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-gw]);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-1Dv

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1Dv implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1Dv(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-1Eb

package _-0Pi
{
    import _-4Aj.*;

    public class _-1Eb implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1Eb(_arg1:int, _arg2:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-1xC

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1xC implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1xC(_arg1:String)
        {
            this._-4Nw = [];
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-1Yc

package _-0Pi
{
    import _-4Aj.*;

    public class _-1Yc implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1Yc(_arg1:int, _arg2:String, _arg3:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-26L

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-26L implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-26L(_arg1:int)
        {
            this._-4Nw = [];
            super();
            this._-4Nw.push(int(_arg1));
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-2Io

package _-0Pi
{
    import _-4Aj.*;

    public class _-2Io implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2Io(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-2jt

package _-0Pi
{
    import _-4Aj.*;

    public class _-2jt implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2jt()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-2Kf

package _-0Pi
{
    import _-4Aj.*;

    public class _-2Kf implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2Kf()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-2ok

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2ok implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2ok(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-2ov

package _-0Pi
{
    import _-4Aj.*;

    public class _-2ov implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2ov(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-3Ba

package _-0Pi
{
    import _-4Aj.*;

    public class _-3Ba implements _-1oF 
    {

        private var _-gw:String;

        public function _-3Ba(_arg1:String)
        {
            this._-gw = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-gw]);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-42S

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-42S implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-42S(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-4AP

package _-0Pi
{
    import _-4Aj.*;

    public class _-4AP implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-4Kl

package _-0Pi
{
    import _-4Aj.*;

    public class _-4Kl implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4Kl(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-4KO

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4KO implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-4KO(_arg1:int)
        {
            this._-4Nw = [];
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-4mH

package _-0Pi
{
    import _-4Aj.*;

    public class _-4mH implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4mH(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-4rd

package _-0Pi
{
    import _-4Aj.*;

    public class _-4rd implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4rd(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-4rv

package _-0Pi
{
    import _-4Aj.*;

    public class _-4rv implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4rv(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-4tk

package _-0Pi
{
    import _-4Aj.*;

    public class _-4tk implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-4zs

package _-0Pi
{
    import _-4Aj.*;

    public class _-4zs implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4zs(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-5FI

package _-0Pi
{
    import _-4Aj.*;

    public class _-5FI implements _-1oF 
    {

        private var _name:String;
        private var _-5K:int;

        public function _-5FI(_arg1:String, _arg2:int)
        {
            this._name = _arg1;
            this._-5K = _arg2;
        }
        public function _-43Z():Array
        {
            return ([this._name, this._-5K]);
        }
        public function dispose():void
        {
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-fA

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-fA implements _-1oF, _-1zZ 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-je

package _-0Pi
{
    import _-4Aj.*;

    public class _-je implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-je(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-Qc

package _-0Pi
{
    import _-4Aj.*;

    public class _-Qc implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-Qc(_arg1:int, _arg2:int, _arg3:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-RA

package _-0Pi
{
    import _-4Aj.*;

    public class _-RA implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-RA(_arg1:int, _arg2:Boolean=true)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-vl

package _-0Pi
{
    import _-4Aj.*;

    public class _-vl implements _-1oF 
    {

        public static const _-0sT:int = 0;
        public static const _-TF:int = 1;
        public static const _-4AH:int = 2;

        private var _-0qE:Array;

        public function _-vl(_arg1:int, _arg2:int, _arg3:String, _arg4:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi._-Ya

package _-0Pi
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-Ya implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-Ya(_arg1:int)
        {
            this._-4Nw = [];
            super();
            this._-4Nw.push(int(_arg1));
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi.CreateGuildMessageComposer

package _-0Pi
{
    import _-4Aj.*;

    public class CreateGuildMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function CreateGuildMessageComposer(_arg1:String, _arg2:String, _arg3:int, _arg4:int, _arg5:int, _arg6:Array)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
            this._-0qE.push(_arg6.length);
            var k:int;
            while (k < _arg6.length)
            {
                this._-0qE.push(int(_arg6[k]));
                k++;
            };
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0Pi.UpdateGuildBadgeMessageComposer

package _-0Pi
{
    import _-4Aj.*;

    public class UpdateGuildBadgeMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function UpdateGuildBadgeMessageComposer(_arg1:int, _arg2:Array)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2.length);
            var k:int;
            while (k < _arg2.length)
            {
                this._-0qE.push(int(_arg2[k]));
                k++;
            };
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0Pi

//------------------------------------------------------------
//_-0pR._-1ov

package _-0pR
{
    import flash.events.Event;

    public class _-1ov extends Event 
    {

        public static const CATALOG_INITIALIZED:String = "CATALOG_INITIALIZED";
        public static const CATALOG_NOT_READY:String = "CATALOG_NOT_READY";
        public static const CATALOG_NEW_ITEMS_SHOW:String = "CATALOG_NEW_ITEMS_SHOW";
        public static const CATALOG_NEW_ITEMS_HIDE:String = "CATALOG_NEW_ITEMS_HIDE";
        public static const CATALOG_USER_SELECTED:String = "CATALOG_USER_SELECTED";

        public function _-1ov(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-0pR

//------------------------------------------------------------
//_-0pR._-Am

package _-0pR
{
    public class _-Am extends _-1ov 
    {

        private var _-4lu:int;
        private var _-2lb:String;

        public function _-Am(_arg1:String, _arg2:int, _arg3:String, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
            this._-4lu = _arg2;
            this._-2lb = _arg3;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-0pR

//------------------------------------------------------------
//_-0pY._-4Ij

package _-0pY
{
    import _-3gx._-4BJ;
    import _-2EA._-1O8;
    import _-2EA._-3Hz;
    import _-2EA._-2qt;
    import flash.external.ExternalInterface;
    import _-2np._-1ZV;
    import _-3DQ._-0wo;
    import _-3DQ._-3p;
    import _-1B-.*;

    public class _-4Ij implements _-1zZ 
    {

        private static const _-nx:String = "FlashExternalInterface.authenticateFacebook";
        private static const _-N5:String = "sendAccessTokenToServer";
        private static const _-4it:String = "fbKLogOut";

        private var _disposed:Boolean;
        private var _-51u:_-4BJ;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-51u = null;
                this._disposed = true;
            };
        }
        public function set communication(_arg1:_-4BJ):void
        {
            this._-51u = _arg1;
            this._-51u.addHabboConnectionMessageEvent(new _-1O8(this._-4K5));
            this._-51u.addHabboConnectionMessageEvent(new _-3Hz(this._-127));
            this._-51u.addHabboConnectionMessageEvent(new _-2qt(this._-Lt));
        }
        private function _-4K5(_arg1:_-1O8):void
        {
            _-Nb.log("-- -- FACEBOOK SESSION RECEIVED onAuthenticate!");
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.addCallback(_-N5, this._-1g1);
                    ExternalInterface.addCallback(_-4it, this._-1x1);
                    _-Nb.log("-- -- ADDED JAVASCRIPT CALLBACK HOOKS!");
                    ExternalInterface.call(_-nx);
                    _-Nb.log(("-- -- CALLED JAVASCRIPT METHOD " + _-nx));
                };
            }
            catch(e:Error)
            {
            };
        }
        private function _-1g1(_arg1:String, _arg2:String, _arg3:String):void
        {
            var k:_-1ZV;
            _-Nb.log(((((("-- -- CALLBACK FROM JAVASCRIPT, RECEIVED VALUE " + _arg1) + ", ") + _arg2) + ", ") + _arg3));
            if (!this._-51u.disposed)
            {
                k = this._-51u._-4gR(null);
                if (k)
                {
                    k.send(new _-0wo(_arg1, _arg2, _arg3));
                };
            };
        }
        private function _-1x1(_arg1:String):void
        {
            var k:_-1ZV;
            if (!this._-51u.disposed)
            {
                k = this._-51u._-4gR(null);
                if (k)
                {
                    this._-51u._-4gR(null).send(new _-3p());
                };
            };
        }
        private function _-127(_arg1:_-3Hz):void
        {
        }
        private function _-Lt(_arg1:_-2qt):void
        {
        }

    }
}//package _-0pY

//------------------------------------------------------------
//_-0qc._-0WM

package _-0qc
{
    import _-4Aj.*;

    public class _-0WM implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-0WM(_arg1:int=0, _arg2:int=0)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-0qc

//------------------------------------------------------------
//_-0qc._-2fb

package _-0qc
{
    import _-4Aj.*;

    public class _-2fb implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-2fb(_arg1:int=0, _arg2:int=0)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-0qc

//------------------------------------------------------------
//_-0qc._-3Td

package _-0qc
{
    import _-4Aj.*;

    public class _-3Td implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2r2:int = 0;

        public function _-3Td(_arg1:int, _arg2:int=0, _arg3:int=0)
        {
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
            this._-2r2 = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-2r2]);
        }

    }
}//package _-0qc

//------------------------------------------------------------
//_-0qO._-0BJ

package _-0qO
{
    import _-1Vw._-0Md;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0BJ implements _-58N 
    {

        private var _-0qE:_-0Md;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-0Md(_arg1);
            return (true);
        }
        public function get data():_-0Md
        {
            return (this._-0qE);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-0db

package _-0qO
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-0db implements _-1zZ 
    {

        private var _-4uu:String;
        private var _-31V:int;
        private var _-0YL:int;
        private var _-4Bk:Boolean = false;

        public function _-0db(_arg1:_-0s1)
        {
            this._-4uu = _arg1.readString();
            this._-31V = _arg1._-2BW();
            this._-0YL = _arg1._-2BW();
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._-4uu = "";
            this._-31V = -1;
            this._-0YL = -1;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get pattern():String
        {
            return (this._-4uu);
        }
        public function get startIndex():int
        {
            return (this._-31V);
        }
        public function get endIndex():int
        {
            return (this._-0YL);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-0FV

package _-0qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0FV implements _-58N 
    {

        private var _-4NM:int;

        public function get _-43T():int
        {
            return (this._-4NM);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4NM = parseInt(_arg1.readString());
            return (true);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-0H6

package _-0qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0H6 implements _-58N 
    {

        private var _-4lu:int;
        private var _-2cn:Boolean;

        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get success():Boolean
        {
            return (this._-2cn);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            this._-2cn = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-0U4

package _-0qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0U4 implements _-58N 
    {

        private var _-2md:String;
        private var _-5Q:String;

        public function get message():String
        {
            return (this._-2md);
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function flush():Boolean
        {
            this._-2md = "";
            this._-5Q = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2md = _arg1.readString();
            this._-5Q = _arg1.readString();
            return (true);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-16q

package _-0qO
{
    import _-1Vw._-3x;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-16q implements _-58N 
    {

        private var _-0qE:_-3x;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-3x(_arg1);
            return (true);
        }
        public function get data():_-3x
        {
            return (this._-0qE);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-1J3

package _-0qO
{
    import _-1Vw._-n9;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1J3 implements _-58N 
    {

        private var _-0qE:_-n9;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-n9(_arg1);
            return (true);
        }
        public function get data():_-n9
        {
            return (this._-0qE);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-2CP

package _-0qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2CP implements _-58N 
    {

        private var _-0qE:_-3Kp;

        public function flush():Boolean
        {
            if (this._-0qE != null)
            {
                this._-0qE.dispose();
                this._-0qE = null;
            };
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-3Kp(_arg1);
            return (true);
        }
        public function get data():_-3Kp
        {
            return (this._-0qE);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-2KC

package _-0qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2KC implements _-58N 
    {

        private var _-2md:String;

        public function get message():String
        {
            return (this._-2md);
        }
        public function flush():Boolean
        {
            this._-2md = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2md = _arg1.readString();
            return (true);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-2NA

package _-0qO
{
    import _-1Vw._-4o9;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2NA implements _-58N 
    {

        private var _-0qE:_-4o9;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-4o9(_arg1);
            return (true);
        }
        public function get data():_-4o9
        {
            return (this._-0qE);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-3Kp

package _-0qO
{
    import _-1Vw._-0NN;
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-3Kp implements _-1zZ 
    {

        private var _-4zA:Array;
        private var _-23m:Array;
        private var _-3Jn:Array;
        private var _-9q:Array;
        private var _-3rY:Boolean;
        private var _-OF:Boolean;
        private var _-0f2:Boolean;
        private var _-4NL:Boolean;
        private var _-08p:Boolean;
        private var _-2j3:Boolean;
        private var _-0R1:Boolean;
        private var _disposed:Boolean;

        public function _-3Kp(_arg1:_-0s1)
        {
            var k:_-3U- = new _-3U-();
            this._-3Jn = [];
            this._-4zA = [];
            this._-23m = [];
            this._-9q = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                if (k.parse(_arg1))
                {
                    this._-3Jn.push(k._-0cC);
                };
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-4zA.push(_arg1.readString());
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-9q.push(new _-0NN(_arg1));
                k++;
            };
            this._-3rY = _arg1.readBoolean();
            this._-OF = _arg1.readBoolean();
            this._-0f2 = _arg1.readBoolean();
            this._-4NL = _arg1.readBoolean();
            this._-08p = _arg1.readBoolean();
            this._-2j3 = _arg1.readBoolean();
            this._-0R1 = _arg1.readBoolean();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-23m.push(_arg1.readString());
                k++;
            };
        }
        public function dispose():void
        {
            var k:_-0NN;
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-4zA = null;
            this._-23m = null;
            this._-3Jn = null;
            for each (k in this._-9q)
            {
                k.dispose();
            };
            this._-9q = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-4l9():Array
        {
            return (this._-4zA);
        }
        public function get _-55E():Array
        {
            return (this._-23m);
        }
        public function get issues():Array
        {
            return (this._-3Jn);
        }
        public function get _-4su():Array
        {
            return (this._-9q);
        }
        public function get _-fb():Boolean
        {
            return (this._-3rY);
        }
        public function get _-4Or():Boolean
        {
            return (this._-OF);
        }
        public function get _-0cB():Boolean
        {
            return (this._-0f2);
        }
        public function get _-0kr():Boolean
        {
            return (this._-4NL);
        }
        public function get _-27E():Boolean
        {
            return (this._-08p);
        }
        public function get _-1Q0():Boolean
        {
            return (this._-2j3);
        }
        public function get _-5G():Boolean
        {
            return (this._-0R1);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-3U-

package _-0qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3U- implements _-58N 
    {

        private var _-2rz:_-4Uv;

        public function get _-0cC():_-4Uv
        {
            return (this._-2rz);
        }
        public function flush():Boolean
        {
            if (this._-2rz)
            {
            };
            this._-2rz = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:String;
            var k:int;
            var k:int;
            var k:String;
            var k:int;
            var k:String;
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:Number = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            if (k == 0)
            {
                k = _arg1.readString();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
            }
            else
            {
                if (k == 1)
                {
                    k = _arg1.readString();
                    k = _arg1._-2BW();
                    k = _arg1.readString();
                };
            };
            var k:int = _arg1._-2BW();
            var k:Array = [];
            var k:int;
            while (k < k)
            {
                k.push(new _-0db(_arg1));
                k++;
            };
            this._-2rz = new _-4Uv(k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k);
            return (true);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-47H

package _-0qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-47H implements _-58N 
    {

        private var _-3Jn:Array;
        private var _-1Vn:Boolean;
        private var _-4gN:int;

        public function get issues():Array
        {
            return (this._-3Jn);
        }
        public function get retryEnabled():Boolean
        {
            return (this._-1Vn);
        }
        public function get retryCount():int
        {
            return (this._-4gN);
        }
        public function flush():Boolean
        {
            this._-3Jn = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:String;
            var k:_-4Uv;
            this._-3Jn = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = new _-4Uv(k, 0, 0, 0, 0, 0, 0, null, 0, null, k, k, null, 0, null, 0, null, 0, null, null, 0, 0, []);
                this._-3Jn.push(k);
                k++;
            };
            this._-1Vn = _arg1.readBoolean();
            this._-4gN = _arg1._-2BW();
            return (true);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-4Uv

package _-0qO
{
    import flash.utils.getTimer;
    import _-1B-.*;

    public class _-4Uv implements _-1zZ 
    {

        public static const _-06T:int = 1;
        public static const _-3JK:int = 2;
        public static const _-0fW:int = 3;

        private var _-4NM:int;
        private var _-0Ke:int;
        private var _-4d9:int;
        private var _-1Am:int;
        private var _-0do:Number;
        private var _priority:int;
        private var _-4GX:int;
        private var _-X5:String;
        private var _-5BG:int;
        private var _-2dI:String;
        private var _-3m1:int;
        private var _-4WZ:String;
        private var _-2md:String;
        private var _-3DW:int;
        private var _-14l:String;
        private var _-2PS:int;
        private var _-2Zq:String;
        private var _-1jw:int;
        private var _-4kR:String;
        private var _-1QG:String;
        private var _-7m:int;
        private var _-2r2:int;
        private var _-4U0:Array;
        private var _-4Bk:Boolean = false;
        private var _-16K:Number;

        public function _-4Uv(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Number, _arg6:int, _arg7:int, _arg8:String, _arg9:int, _arg10:String, _arg11:int, _arg12:String, _arg13:String, _arg14:int, _arg15:String, _arg16:int, _arg17:String, _arg18:int, _arg19:String, _arg20:String, _arg21:int, _arg22:int, _arg23:Array)
        {
            this._-4NM = _arg1;
            this._-0Ke = _arg2;
            this._-4d9 = _arg3;
            this._-1Am = _arg4;
            this._-0do = _arg5;
            this._priority = _arg6;
            this._-4GX = _arg7;
            this._-X5 = _arg8;
            this._-5BG = _arg9;
            this._-2dI = _arg10;
            this._-3m1 = _arg11;
            this._-4WZ = _arg12;
            this._-2md = _arg13;
            this._-3DW = _arg14;
            this._-14l = _arg15;
            this._-2PS = _arg16;
            this._-2Zq = _arg17;
            this._-1jw = _arg18;
            this._-4kR = _arg19;
            this._-1QG = _arg20;
            this._-7m = _arg21;
            this._-2r2 = _arg22;
            this._-4U0 = _arg23;
            this._-16K = getTimer();
        }
        public function get _-43T():int
        {
            return (this._-4NM);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-2d-():int
        {
            return (this._-4d9);
        }
        public function get _-2VR():int
        {
            return (this._-1Am);
        }
        public function get issueAgeInMilliseconds():Number
        {
            return (this._-0do);
        }
        public function get priority():int
        {
            return (this._priority);
        }
        public function get _-1w4():int
        {
            return (this._-4GX);
        }
        public function get _-0eK():String
        {
            return (this._-X5);
        }
        public function get _-2NX():int
        {
            return (this._-5BG);
        }
        public function get _-0ij():String
        {
            return (this._-2dI);
        }
        public function get _-YM():int
        {
            return (this._-3m1);
        }
        public function get _-59X():String
        {
            return (this._-4WZ);
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function get _-0--():int
        {
            return (this._-3DW);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function get roomType():int
        {
            return (this._-2PS);
        }
        public function get _-0ds():String
        {
            return (this._-2Zq);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get _-3-N():String
        {
            return (this._-4kR);
        }
        public function get _-1kY():String
        {
            return (this._-1QG);
        }
        public function get _-2As():int
        {
            return (this._-7m);
        }
        public function get _-PV():int
        {
            return (this._-2r2);
        }
        public function get _-pS():Array
        {
            return (this._-4U0);
        }
        public function dispose():void
        {
            var k:_-0db;
            if (this.disposed)
            {
                return;
            };
            for each (k in this._-4U0)
            {
                k.dispose();
            };
            this._-4U0 = [];
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function _-kl(_arg1:int):String
        {
            var k:int = (((this._-0do + _arg1) - this._-16K) / 1000);
            var k:int = (k / 60);
            var k:int = (k % 60);
            var k:int = (k / 60);
            var k:String = ((((k < 10)) ? "0" : "") + k);
            var k:String = ((((k < 10)) ? "0" : "") + k);
            return (((k + ":") + k));
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-4W3

package _-0qO
{
    import _-1Vw._-2YB;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4W3 implements _-58N 
    {

        private var _-0qE:_-2YB;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-2YB(_arg1);
            return (true);
        }
        public function get data():_-2YB
        {
            return (this._-0qE);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0qO._-5B4

package _-0qO
{
    import _-1Vw._-1Q1;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-5B4 implements _-58N 
    {

        private var _-0qE:_-1Q1;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-1Q1(_arg1);
            return (true);
        }
        public function get data():_-1Q1
        {
            return (this._-0qE);
        }

    }
}//package _-0qO

//------------------------------------------------------------
//_-0S1._-0M5

package _-0S1
{
    import _-4Aj.*;

    public class _-0M5 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0M5(_arg1:int, _arg2:String, _arg3:int, _arg4:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0S1

//------------------------------------------------------------
//_-0S1._-1DM

package _-0S1
{
    import _-4Aj.*;

    public class _-1DM implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-0S1

//------------------------------------------------------------
//_-0S1._-3w3

package _-0S1
{
    import _-4Aj.*;

    public class _-3w3 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3w3(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-0S1

//------------------------------------------------------------
//_-0sD._-2nQ

package _-0sD
{
    import flash.events.IEventDispatcher;
    import _-3V-._-lb;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-4bd._-1yr;

    public class _-2nQ implements _-31x 
    {

        private var _-2Te:IEventDispatcher;
        private var _-XQ:_-lb;

        public function get _-2g3():IEventDispatcher
        {
            return (this._-2Te);
        }
        public function set _-2g3(_arg1:IEventDispatcher):void
        {
            this._-2Te = _arg1;
        }
        public function getEventTypes():Array
        {
            return ([]);
        }
        protected function _-Jz(_arg1:Array, _arg2:Array):Array
        {
            var k:String;
            var k:Array = _arg1.concat();
            for each (k in _arg2)
            {
                if (k.indexOf(k) < 0)
                {
                    k.push(k);
                };
            };
            return (k);
        }
        public function dispose():void
        {
            this._-XQ = null;
        }
        public function set object(_arg1:_-lb):void
        {
            if (this._-XQ == _arg1)
            {
                return;
            };
            if (this._-XQ != null)
            {
                this._-XQ._-3Iq(null);
            };
            if (_arg1 == null)
            {
                this.dispose();
                this._-XQ = null;
            }
            else
            {
                this._-XQ = _arg1;
                this._-XQ._-3Iq(this);
            };
        }
        public function get object():_-lb
        {
            return (this._-XQ);
        }
        public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
        }
        public function initialize(_arg1:XML):void
        {
        }
        public function update(_arg1:int):void
        {
        }
        public function processUpdateMessage(_arg1:_-1yr):void
        {
            if (_arg1 != null)
            {
                if (this._-XQ != null)
                {
                    this._-XQ.setLocation(_arg1.loc);
                    this._-XQ.setDirection(_arg1.dir);
                };
            };
        }
        public function useObject():void
        {
        }

    }
}//package _-0sD

//------------------------------------------------------------
//_-0sD._-31x

package _-0sD
{
    import _-3V-._-lb;
    import _-4bd._-1yr;
    import flash.events.IEventDispatcher;

    public interface _-31x extends _-4Oa 
    {

        function set object(_arg1:_-lb):void;
        function get object():_-lb;
        function dispose():void;
        function initialize(_arg1:XML):void;
        function update(_arg1:int):void;
        function processUpdateMessage(_arg1:_-1yr):void;
        function useObject():void;
        function set _-2g3(_arg1:IEventDispatcher):void;
        function get _-2g3():IEventDispatcher;
        function getEventTypes():Array;

    }
}//package _-0sD

//------------------------------------------------------------
//_-0sD._-4Oa

package _-0sD
{
    import _-071._-3gM;
    import _-0y0._-3q6;

    public interface _-4Oa 
    {

        function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void;

    }
}//package _-0sD

//------------------------------------------------------------
//_-0se._-06U

package _-0se
{
    public class _-06U 
    {

        public static const _-0g7:uint = 0;
        public static const _-35f:uint = 1;
        public static const _-4MI:uint = 2;
        public static const _-4Dt:uint = 3;

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-0DW

package _-0se
{
    public class _-0DW 
    {

        public static const AVATAR_EDITOR_READY:String = "AVATAR_EDITOR_READY";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-0OZ

package _-0se
{
    public class _-0OZ 
    {

        public static const AVATAR_RENDER_READY:String = "AVATAR_RENDER_READY";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-0Sz

package _-0se
{
    public class _-0Sz 
    {

        public static const _-9w:String = "tool";
        public static const _-3h2:String = "component";
        public static const _-vg:String = "online_tool";
        public static const _-54L:String = "local_only";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-0tD

package _-0se
{
    public class _-0tD 
    {

        public static const NONE:int = 0;
        public static const GUIDE:int = 1;
        public static const _-0IL:int = 2;

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-18q

package _-0se
{
    public class _-18q 
    {

        public static const _-Q6:String = "sign";
        public static const _-4P8:String = "respect";
        public static const _-rQ:String = "dance";
        public static const _-1hz:String = "Sleep";
        public static const _-1Cb:String = "cri";
        public static const _-4Xg:String = "usei";
        public static const _-46C:String = "fx";
        public static const _-1Fu:String = "talk";
        public static const _-4QC:String = "gest";
        public static const _-2xr:String = "wave";
        public static const _-34A:String = "blow";
        public static const _-1VQ:String = "laugh";
        public static const _-0Wl:String = "cry";
        public static const _-4Q4:String = "idle";
        public static const _-X8:String = "sml";
        public static const _-58h:String = "agr";
        public static const _-1BH:String = "srp";
        public static const _-15Z:String = "sad";
        public static const _-2vX:String = "joy";
        public static const override:String = "crz";
        public static const _-53a:String = "tng";
        public static const _-2bL:String = "eyb";
        public static const _-PI:String = "mis";
        public static const _-1Li:String = "puz";
        public static const _-03o:String = "posture";
        public static const _-3TX:String = "std";
        public static const _-L9:String = "sit";
        public static const _-20-:String = "mv";
        public static const _-13K:String = "lay";
        public static const _-2Vk:String = "swim";
        public static const _-28N:String = "float";
        public static const _-04Q:String = "swrun";
        public static const _-3PV:String = "swdiefront";
        public static const _-Yu:String = "swdieback";
        public static const _-17t:String = "swpick";
        public static const _-Tz:String = "swthrow";
        public static const _-4-:String = "sbollie";
        public static const _-1ha:String = "sb360";
        public static const _-wd:String = "ridejump";
        public static const _-4h-:Array = ["", _-X8, _-58h, _-1BH, _-15Z, _-2vX, override, _-53a, _-2bL, _-PI, _-1Li];

        public static function _-8E(_arg1:int):int
        {
            switch (_arg1)
            {
                case 1:
                    return (5000);
                case 2:
                    return (1400);
                case 3:
                    return (2000);
                case 4:
                    return (2000);
                case 5:
                    return (0);
                case 6:
                    return (700);
                case 7:
                    return (2000);
                case 8:
                    return (1500);
                case 9:
                    return (1500);
                case 10:
                    return (1500);
                default:
                    return (0);
            };
        }

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-1uH

package _-0se
{
    public final class _-1uH 
    {

        public static const _-JU:String = "h";
        public static const _-Pq:String = "sh";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-24J

package _-0se
{
    public class _-24J 
    {

        public static const _-2YU:String = "full";
        public static const _-0GH:String = "head";
        public static const _-150:String = "body";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-33

package _-0se
{
    public class _-33 
    {

        public static const _-4U8:String = "vertical";
        public static const _-0qb:String = "sitting";
        public static const _-4yk:String = "horizontal";
        public static const _-4sd:String = "swim";
        public static const _-4JV:String = "swhorizontal";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-37p

package _-0se
{
    public class _-37p 
    {

        public static const _-150:String = "bd";
        public static const _-0x:String = "sh";
        public static const _-4a1:String = "lg";
        public static const _-07o:String = "ch";
        public static const _-3wN:String = "wa";
        public static const _-h3:String = "ca";
        public static const _-0dd:String = "li";
        public static const _-ll:String = "lh";
        public static const _-3sm:String = "ls";
        public static const _-0BZ:String = "rh";
        public static const _-sw:String = "rs";
        public static const _-0GH:String = "hd";
        public static const _-2o8:String = "fc";
        public static const _-12K:String = "ey";
        public static const _-Id:String = "hr";
        public static const _-2IF:String = "hrb";
        public static const _-54l:String = "fa";
        public static const _-4zi:String = "ea";
        public static const _-1Qp:String = "ha";
        public static const _-4Jm:String = "he";
        public static const _-2i0:String = "ri";
        public static const _-0NC:String = "lc";
        public static const _-xk:String = "rc";
        public static const _-1EM:String = "cc";
        public static const _-3ck:String = "cp";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-4aD

package _-0se
{
    public class _-4aD 
    {

        public static const _-2Hk:String = "nothing";
        public static const _-2mQ:String = "wardrobe";
        public static const _-0h4:String = "club_promo";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-4Xb

package _-0se
{
    public class _-4Xb 
    {

        public static const AVATAR_RENDERER_ANIMATIONS_INITIALIZED_EVENT:String = "AVATAR_RENDERER_ANIMATIONS_INITIALIZED_EVENT";

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-aR

package _-0se
{
    public class _-aR 
    {

        public static const _-0NZ:Array = [45, 90, 135, 180, 225, 270, 315, 0];
        public static const _-1SI:Array = [false, false, false, false, true, true, true, false];
        public static const _-4IG:int = 0;
        public static const _-4KZ:int = 7;

    }
}//package _-0se

//------------------------------------------------------------
//_-0se._-e7

package _-0se
{
    public class _-e7 
    {

        public static const _-4Hr:String = "generic";
        public static const _-0GH:String = "head";
        public static const _-a3:String = "torso";
        public static const _-4a1:String = "legs";
        public static const _-2JB:String = "hotlooks";
        public static const _-2mQ:String = "wardrobe";
        public static const _-4ma:String = "effects";

    }
}//package _-0se

//------------------------------------------------------------
//_-0sw.GarbageMonitor

package _-0sw
{
    import flash.utils.Dictionary;
    import _-1B-.*;

    public class GarbageMonitor implements _-1zZ 
    {

        private var _disposed:Boolean = false;
        private var _-1Iq:Dictionary;

        public function GarbageMonitor()
        {
            this._-1Iq = new Dictionary(true);
        }
        public function dispose():void
        {
            var k:*;
            if (!this._disposed)
            {
                for each (k in this._-1Iq)
                {
                    delete this._-1Iq[k];
                };
                this._-1Iq = null;
                this._disposed = true;
            };
        }
        public function insert(_arg1:Object, _arg2:String=null):void
        {
            this._-1Iq[_arg1] = (((_arg2 == null)) ? _arg1.toString() : _arg2);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get list():Array
        {
            var k:*;
            var k:Array = new Array();
            for each (k in this._-1Iq)
            {
                k.push(k);
            };
            return (k);
        }

    }
}//package _-0sw

//------------------------------------------------------------
//_-0t._-07X

package _-0t
{
    import _-U2._-3kM;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-02T._-u9;
    import _-U2._-4Lx;

    public class _-07X extends AbstractTimerElementHandler 
    {

        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            _arg1.communicationManager.addHabboConnectionMessageEvent(new _-3kM(this._-3Gd));
        }
        override public function refresh():void
        {
            landingView.send(new _-u9());
        }
        private function _-3Gd(_arg1:_-3kM):void
        {
            var k:_-4Lx = _arg1._-3-5().data;
            _-0JU(((k._-0Bn) ? 0 : k._-0fg));
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t._-0uP

package _-0t
{
    public class _-0uP extends AbstractButtonElementHandler 
    {

        override protected function onClick():void
        {
            landingView.questEngine.reenableRoomCompetitionWindow();
            landingView.navigator.goToHomeRoom();
            landingView.tracking.trackGoogle("landingView", "click_gotohomeroom");
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t._-2ap

package _-0t
{
    public class _-2ap extends AbstractButtonElementHandler 
    {

        override protected function onClick():void
        {
            landingView.catalog.openCreditsHabblet();
            landingView.tracking.trackGoogle("landingView", "click_credithabblet");
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t._-47v

package _-0t
{
    import _-2mR._-3xa;

    public class _-47v 
    {

        public static const _-1YI:String = "caption";
        public static const _-3xR:String = "title";
        public static const _-3-E:String = "subcaption";
        public static const _-1LO:String = "bodytext";
        public static const _-3vJ:String = "spacing";
        public static const _-1gY:String = "catalogbutton";
        public static const _-2fj:String = "promotedroombutton";
        public static const LINK:String = "link";
        public static const _-1zh:String = "gotoroombutton";
        public static const _-01Y:String = "requestbadgebutton";
        public static const _-2sg:String = "credithabbletbutton";
        public static const _-0Cm:String = "communitygoaltimer";
        public static const _-1E2:String = "customtimer";
        public static const _-261:String = "gotohomeroombutton";
        public static const _-4je:String = "gotocompetitionroombutton";
        public static const _-On:String = "rewardbadge";
        public static const _-5j:String = "image";
        public static const _-0aY:String = "submitcompetitionroom";
        public static const _-1cG:String = "concurrentusersmeter";
        public static const _-1JS:String = "concurrentusersinfo";
        public static const _-2Dg:String = "dailyquest";
        public static const _-27S:String = "buyvipbutton";
        public static const _-2L-:String = "communitygoalscore";
        public static const _-0x7:String = "gamecenterbutton";

        public static function _-XF(_arg1:String):_-3xa
        {
            switch (_arg1)
            {
                case _-47v._-1YI:
                case _-47v._-3-E:
                case _-47v._-1LO:
                    return (new TextElementHandler());
                case _-47v._-3xR:
                    return (new TitleElementHandler());
                case _-47v._-3vJ:
                    return (new SpacingElementHandler());
                case _-47v._-1gY:
                    return (new CatalogButtonElementHandler());
                case _-47v._-2fj:
                    return (new PromotedRoomButtonElementHandler());
                case _-47v.LINK:
                    return (new LinkElementHandler());
                case _-47v._-1zh:
                    return (new GoToRoomButtonElementHandler());
                case _-47v._-01Y:
                    return (new RequestBadgeButtonElementHandler());
                case _-47v._-2sg:
                    return (new _-2ap());
                case _-47v._-0Cm:
                    return (new _-07X());
                case _-47v._-1E2:
                    return (new CustomTimerElementHandler());
                case _-47v._-261:
                    return (new _-0uP());
                case _-47v._-4je:
                    return (new GoToCompetitionRoomButtonElementHandler());
                case _-47v._-On:
                    return (new RewardBadgeElementHandler());
                case _-47v._-5j:
                    return (new ImageElementHandler());
                case _-47v._-0aY:
                    return (new SubmitCompetitionRoomElementHandler());
                case _-47v._-1cG:
                    return (new ConcurrentUsersMeterElementHandler());
                case _-47v._-1JS:
                    return (new ConcurrentUsersInfoElementHandler());
                case _-47v._-2Dg:
                    return (new DailyQuestElementHandler());
                case _-47v._-27S:
                    return (new _-4nc());
                case _-47v._-2L-:
                    return (new CommunityGoalScoreCounterElementHandler());
                case _-47v._-0x7:
                    return (new GameCenterButtonElementHandler());
            };
            return (null);
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t._-4nc

package _-0t
{
    import _-2Mh._-3YS;

    public class _-4nc extends AbstractButtonElementHandler 
    {

        override protected function onClick():void
        {
            landingView.catalog.openClubBuy(_-3YS._-36p, "LandingViewBuyVipButton");
            landingView.tracking.trackGoogle("landingView", "click_buyVip");
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.AbstractButtonElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1B-.*;
    import _-2mR.*;

    public class AbstractButtonElementHandler implements _-3xa, _-1zZ, _-2fJ 
    {

        private var _-07j:HabboLandingView;
        private var _-0xv:IWindow;

        public function get _-4bE():String
        {
            return ("element_button");
        }
        public function dispose():void
        {
            this._-07j = null;
            this._-0xv = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            this._-07j = _arg1;
            this._-0xv = _arg2;
            var k:String = _arg3[1];
            _arg2.procedure = this._-Oq;
            _arg2.caption = _arg1.localizationManager.getKey(k, k);
        }
        private function _-Oq(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.onClick();
            };
        }
        protected function onClick():void
        {
        }
        public function refresh():void
        {
        }
        public function get landingView():HabboLandingView
        {
            return (this._-07j);
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.AbstractTimerElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-1ae._-3Yi;
    import _-0Ix._-2Zl;
    import _-1B-.*;
    import _-2mR.*;

    public class AbstractTimerElementHandler implements _-3xa, _-1zZ, _-03d, _-2fJ 
    {

        private var _-07j:HabboLandingView;
        private var _-0xv:IWindowContainer;
        private var _-1l4:Boolean;
        private var _-56y:String;
        private var _-2Nh:String;

        public function get _-4bE():String
        {
            return ("element_timer");
        }
        public function _-2F0(_arg1:Boolean):Boolean
        {
            return (this._-1l4);
        }
        public function dispose():void
        {
            this._-07j = null;
            this._-0xv = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function refresh():void
        {
        }
        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            this._-07j = _arg1;
            this._-0xv = IWindowContainer(_arg2);
            this._-1l4 = (_arg3[1] == "true");
            this._-56y = _arg3[4];
            this._-2Nh = _arg3[5];
            this._-50j(null);
            if (this._-1l4)
            {
                this._-0xv.x = int(_arg3[2]);
                this._-0xv.y = int(_arg3[3]);
            };
        }
        protected function _-0JU(_arg1:int):void
        {
            var k:_-3Yi = _-3Yi(this._-0xv.findChildByName("countdown_widget"));
            k.visible = (_arg1 > 0);
            var k:_-2Zl = _-2Zl(k.widget);
            k.seconds = _arg1;
            this._-50j((((_arg1 > 0)) ? this._-56y : this._-2Nh));
        }
        private function _-50j(_arg1:String):void
        {
            var k:IWindow = this._-0xv.findChildByName("timer_caption_txt");
            var k:Boolean = ((!((_arg1 == null))) && (!((_arg1 == ""))));
            k.visible = k;
            if (k)
            {
                k.caption = this._-07j.localizationManager.getKey(_arg1, _arg1);
            };
        }
        public function get landingView():HabboLandingView
        {
            return (this._-07j);
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.CatalogButtonElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;

    public class CatalogButtonElementHandler extends AbstractButtonElementHandler 
    {

        private var _-2iE:String;

        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            this._-2iE = _arg3[2];
        }
        override protected function onClick():void
        {
            if (this._-2iE)
            {
                landingView.catalog.openCatalogPage(this._-2iE);
            }
            else
            {
                landingView.catalog.openCatalog();
            };
            landingView.tracking.trackGoogle("landingView", "click_genericcatalog");
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.CommunityGoalScoreCounterElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import _-U2._-3kM;
    import flash.events.TimerEvent;
    import _-1ae._-3Yi;
    import _-0Ix._-3ol;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-02T._-u9;
    import _-U2._-4Lx;
    import _-1B-.*;
    import _-2mR.*;

    public class CommunityGoalScoreCounterElementHandler implements _-3xa, _-1zZ, _-03d, _-2fJ, _-1Nm 
    {

        private var _-07j:HabboLandingView;
        private var _-0xv:IWindowContainer;
        private var _-1l4:Boolean;
        private var _-32p:Timer;
        private var _-14V:Boolean;

        public function dispose():void
        {
            if (this._-07j)
            {
                this._-07j.communicationManager._-3cs(new _-3kM(this._-3Gd));
                this._-07j = null;
            };
            if (this._-32p)
            {
                this._-32p.stop();
                this._-32p.removeEventListener(TimerEvent.TIMER, this._-0Zz);
                this._-32p = null;
            };
            this._-0xv = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            this._-07j = _arg1;
            this._-0xv = IWindowContainer(_arg2);
            var k:int = _arg3[1];
            var k:int = _arg3[2];
            var k:int = _arg3[3];
            this._-1l4 = (_arg3[4] == "true");
            var k:_-3Yi = _-3Yi(this._-0xv.findChildByName("running_number_widget"));
            var k:_-3ol = _-3ol(k.widget);
            k._-04E = k;
            k._-4Rh = k;
            if (this._-1l4)
            {
                this._-0xv.x = int(_arg3[5]);
                this._-0xv.y = int(_arg3[6]);
            };
            this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-3kM(this._-3Gd));
            this._-32p = new Timer(k);
            this._-32p.addEventListener(TimerEvent.TIMER, this._-0Zz);
        }
        public function disable():void
        {
            this._-32p.stop();
        }
        public function refresh():void
        {
            this._-07j.send(new _-u9());
            this._-14V = false;
            this._-32p.start();
        }
        public function _-2F0(_arg1:Boolean):Boolean
        {
            return (this._-1l4);
        }
        public function get _-4bE():String
        {
            return ("element_community_goal_score");
        }
        private function _-3Gd(_arg1:_-3kM):void
        {
            var k:_-4Lx;
            var k:_-3Yi;
            var k:_-3ol;
            if (this._-07j)
            {
                k = _arg1._-3-5().data;
                k = _-3Yi(this._-0xv.findChildByName("running_number_widget"));
                k = _-3ol(k.widget);
                if (this._-14V)
                {
                    k.number = k._-58V;
                }
                else
                {
                    k._-05S = k._-58V;
                    this._-14V = true;
                };
            };
        }
        private function _-0Zz(_arg1:TimerEvent):void
        {
            this._-07j.send(new _-u9());
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.ConcurrentUsersInfoElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-06J.GenericWidget;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-1ae._-4mB;
    import _-U2._-KQ;
    import _-Ew.IWindow;
    import _-02T._-2L3;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-02T._-qU;
    import _-1B-.*;
    import _-2mR.*;

    public class ConcurrentUsersInfoElementHandler implements _-3xa, _-1zZ 
    {

        private static const _-203:int = 0;
        private static const _-2b6:int = 1;
        private static const _-1vK:int = 2;
        private static const _-4-B:int = 3;
        private static const _-1i7:int = 5000;

        private var _-07j:HabboLandingView;
        private var _-0dg:GenericWidget;
        private var _-1Oa:String;
        private var _-0Ke:int = -1;
        private var _-15I:int = -1;
        private var _-0ki:int = -1;
        private var _-0xv:IWindowContainer;
        private var _-4j6:Timer;
        private var _-4Bk:Boolean = false;

        public function ConcurrentUsersInfoElementHandler()
        {
            this._-4j6 = new Timer(_-1i7);
            this._-4j6.addEventListener(TimerEvent.TIMER, this._-2TE);
        }
        private function _-2TE(_arg1:TimerEvent):void
        {
            if ((((((this._-0xv == null)) || ((this._-0xv.visible == false)))) || (!(this._-07j._-Jm))))
            {
                return;
            };
            this.refresh();
        }
        public function dispose():void
        {
            if (this._-4j6)
            {
                this._-4j6.stop();
            };
            this._-4j6 = null;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            this._-0dg = _arg4;
            this._-07j = _arg1;
            this._-0xv = (_arg2 as IWindowContainer);
            this._-1Oa = _arg3[1];
            this._-0xv.findChildByName("users_desc").caption = (("${" + this._-1Oa) + "}");
            var k:_-4mB = _-4mB(this._-0xv.findChildByName("badge_image"));
            var k:String = (((_arg3.length > 2)) ? _arg3[2] : "ConcurrentUsersReward");
            var k = (("${image.library.url}album1584/" + k) + ".gif");
            k.assetUri = k;
            this._-Yl();
            _arg2.procedure = this._-Oq;
            _arg1.communicationManager.addHabboConnectionMessageEvent(new _-KQ(this._-0ll));
            this._-4j6.start();
        }
        public function refresh():void
        {
            this._-07j.send(new _-2L3());
        }
        private function _-Yl():void
        {
            var k:String = "landing.view.concurrentusers.caption";
            var k:String = "landing.view.concurrentusers.bodytext";
            this._-07j.windowManager.registerLocalizationParameter(this._-1Oa, "userCount", this._-15I.toString());
            this._-07j.windowManager.registerLocalizationParameter(this._-1Oa, "userGoal", this._-0ki.toString());
            this._-07j.windowManager.registerLocalizationParameter("landing.view.concurrentusers.bodytext", "userCount", this._-15I.toString());
            this._-07j.windowManager.registerLocalizationParameter("landing.view.concurrentusers.bodytext", "userGoal", this._-0ki.toString());
            this._-07j.windowManager.registerLocalizationParameter("landing.view.concurrentusers.bodytext", "domain", this._-07j.localizationManager.getKey("landing.view.hotel.domain", "Habbo"));
            switch (this._-0Ke)
            {
                case _-203:
                    this._-0xv.findChildByName("state.active").visible = true;
                    this._-0xv.findChildByName("state.achieved").visible = false;
                    break;
                case _-2b6:
                    this._-0xv.findChildByName("state.active").visible = true;
                    this._-0xv.findChildByName("state.achieved").visible = false;
                    break;
                case _-1vK:
                    if (this._-4j6)
                    {
                        this._-4j6.stop();
                    };
                    k = (k + ".success");
                    k = (k + ".success");
                    this._-0xv.findChildByName("state.active").visible = false;
                    this._-0xv.findChildByName("state.active").enable();
                    this._-0xv.findChildByName("state.achieved").visible = true;
                    this._-0xv.findChildByName("action_button").visible = true;
                    break;
                case _-4-B:
                    if (this._-4j6)
                    {
                        this._-4j6.stop();
                    };
                    k = (k + ".success");
                    k = (k + ".success");
                    this._-0xv.findChildByName("state.active").visible = false;
                    this._-0xv.findChildByName("state.achieved").visible = true;
                    this._-0xv.findChildByName("action_button").visible = false;
                    break;
            };
            var k:TextElementHandler = (this._-0dg._-0og("bodytext") as TextElementHandler);
            if (k)
            {
                k._-40r = k;
            };
            var k:TextElementHandler = (this._-0dg._-0og("caption") as TextElementHandler);
            if (k)
            {
                k._-40r = k;
            };
        }
        private function _-0ll(_arg1:_-KQ):void
        {
            this._-0Ke = _arg1._-3-5().state;
            this._-15I = _arg1._-3-5().userCount;
            this._-0ki = _arg1._-3-5()._-2iR;
            this._-Yl();
        }
        private function _-Oq(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.onClick();
            };
        }
        protected function onClick():void
        {
            this._-07j.send(new _-qU());
            this._-07j.send(new _-2L3());
            this._-0xv.findChildByName("state.active").disable();
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.ConcurrentUsersMeterElementHandler

package _-0t
{
    import _-1ae._-4mB;
    import _-U2._-KQ;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2mR.*;

    public class ConcurrentUsersMeterElementHandler implements _-3xa, _-03d 
    {

        private var _-4Gj:_-4mB;
        private var _-0Ke:int;
        private var _-15I:int;
        private var _-0ki:int;

        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            this._-4Gj = _-4mB(_arg2);
            var k:String = _arg3[1];
            this._-4Gj.assetUri = k;
            this._-4Gj.x = (((_arg3.length > 2)) ? int(_arg3[2]) : 0);
            this._-4Gj.y = (((_arg3.length > 3)) ? int(_arg3[3]) : 0);
            _-Nb.log(("Init Concurrent users meter: " + k));
            _arg1.communicationManager.addHabboConnectionMessageEvent(new _-KQ(this._-0ll));
        }
        public function refresh():void
        {
        }
        public function _-2F0(_arg1:Boolean):Boolean
        {
            return (true);
        }
        private function _-0ll(_arg1:_-KQ):void
        {
            this._-0Ke = _arg1._-3-5().state;
            this._-15I = _arg1._-3-5().userCount;
            this._-0ki = _arg1._-3-5()._-2iR;
            var k:int = ((this._-15I / this._-0ki) * 100);
            k = Math.max(20, Math.min(100, k));
            k = (Math.floor((k / 10)) * 10);
            var k:String = ("challenge_meter_" + k);
            this._-4Gj.assetUri = (("${image.library.url}reception/" + k) + ".png");
            _-Nb.log(("Updating meter: " + k));
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.CustomTimerElementHandler

package _-0t
{
    import _-448._-3s1;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2lx._-4kk;

    public class CustomTimerElementHandler extends AbstractTimerElementHandler 
    {

        private var _-1D8:String;

        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            this._-1D8 = _arg3[6];
            _arg1.communicationManager.addHabboConnectionMessageEvent(new _-3s1(this._-24N));
        }
        override public function refresh():void
        {
            landingView.send(new _-4kk(this._-1D8));
        }
        private function _-24N(_arg1:_-3s1):void
        {
            if (_arg1._-3-5().for  == this._-1D8)
            {
                _-0JU(_arg1._-3-5()._-4TH);
            };
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.DailyQuestElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-06J.GenericWidget;
    import _-Ew.IWindowContainer;
    import _-U2._-1Yl;
    import _-Ew.IWindow;
    import _-U2._-0KQ;
    import _-02T._-473;
    import _-Ia._-4KI;
    import _-4Aj._-0tL;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-02T._-1X9;
    import _-02T._-1gL;
    import _-1B-.*;
    import _-2mR.*;

    public class DailyQuestElementHandler implements _-3xa, _-03d, _-1zZ 
    {

        private var _-07j:HabboLandingView;
        private var _-0dg:GenericWidget;
        private var _-0xv:IWindowContainer;
        private var _container:IWindowContainer;
        private var _-0qE:_-1Yl;
        private var _-04i:int;
        private var _-2a2:int;
        private var _index:int;
        private var _-1PG:Boolean = false;
        private var _disposed:Boolean = false;
        private var null :String = "";
        private var _-4xP:String = "";

        public static function _-3hs(_arg1:IWindowContainer, _arg2:int):void
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                k.x = k;
                k = (k + (k.width + _arg2));
                k++;
            };
        }

        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            this._-0dg = _arg4;
            this._-07j = _arg1;
            this._-0xv = (_arg2 as IWindowContainer);
            if (_arg3.length > 2)
            {
                this._-1PG = (_arg3[2] == "true");
            };
            if (_arg3.length > 3)
            {
                _arg2.x = int(_arg3[3]);
            };
            if (_arg3.length > 4)
            {
                _arg2.y = int(_arg3[4]);
            };
            if (_arg3.length > 5)
            {
                this.null  = _arg3[5];
            };
            if (_arg3.length > 6)
            {
                this._-4xP = _arg3[6];
            };
            _arg1.communicationManager.addHabboConnectionMessageEvent(new _-0KQ(this._-20Z));
            this._container = (_arg2 as IWindowContainer);
            this._container.findChildByName("accept_button").procedure = this._-4ZS;
            this._container.findChildByName("go_button").procedure = this._-7y;
            this._container.findChildByName("next_quest_region").procedure = this._-02c;
            this._container.findChildByName("cancel_quest_region").procedure = this._-3LR;
            this._container.findChildByName("easy_region").procedure = this._-468;
            this._container.findChildByName("hard_region").procedure = this._-2Ns;
        }
        public function dispose():void
        {
            this._-07j = null;
            this._disposed = true;
        }
        public function _-2F0(_arg1:Boolean):Boolean
        {
            return (this._-1PG);
        }
        public function refresh():void
        {
            this._index = 0;
            this._-07j.send(new _-473(true, 0));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-20Z(_arg1:_-0tL):void
        {
            var k:_-4KI = _-4KI(_arg1.parser);
            this._-0qE = k.quest;
            this._-04i = k._-0Ud;
            this._-2a2 = k._-2MG;
            this.refreshContent();
        }
        private function refreshContent():void
        {
            this._container.findChildByName("caption_txt").caption = ((this._-0qE) ? this._-s8("chaincaption") : this.getText("landing.view.quest.currenttask.alldone.caption"));
            this._container.findChildByName("accept_button").visible = ((this._-0qE) && (!(this._-0qE.accepted)));
            this._container.findChildByName("next_quest_region").visible = ((((this._-0qE) && (!(this._-0qE.accepted)))) && ((((this._-0qE.easy) ? this._-04i : this._-2a2) > 1)));
            this._container.findChildByName("next_quest_txt").caption = this.getText(("landing.view.quest.nextquest." + ((((this._-0qE) && (this._-0qE.easy))) ? "easy" : "hard")));
            this._container.findChildByName("cancel_quest_region").visible = ((this._-0qE) && (this._-0qE.accepted));
            this._container.findChildByName("current_quest_border").visible = ((this._-0qE) && (this._-0qE.accepted));
            if (this._-0qE)
            {
                this._-07j.localizationManager.registerParameter("landing.view.quest.currenttask", "task", this._-yr());
            };
            var k:IWindowContainer = IWindowContainer(this._container.findChildByName("difficulty_container"));
            var k:int = (k.x + k.width);
            k.visible = ((((((this._-0qE) && (!(this._-0qE.accepted)))) && ((this._-04i > 0)))) && ((this._-2a2 > 0)));
            this._-20t("easy_region", ((this._-0qE) && (!(this._-0qE.easy))));
            this._-20t("hard_region", ((this._-0qE) && (this._-0qE.easy)));
            _-3hs(k, 5);
            k.width = (k.findChildByName("hard_region").x + k.findChildByName("hard_region").width);
            k.x = (k - k.width);
        }
        private function _-20t(_arg1:String, _arg2:Boolean):void
        {
            var k:IWindowContainer = IWindowContainer(this._container.findChildByName(_arg1));
            var k:ITextWindow = ITextWindow(k.findChildByName("label_txt"));
            k.width = k.textWidth;
            k.underline = _arg2;
            k.width = k.width;
        }
        private function _-3VK(_arg1:String):String
        {
            return (((((("quests." + this._-0qE._-0-l) + ".") + this._-0qE._-1G6) + ".") + _arg1));
        }
        private function _-s8(_arg1:String):String
        {
            var k:String = this._-3VK(_arg1);
            return (this._-07j.localizationManager.getKey(k, k));
        }
        private function getText(_arg1:String):String
        {
            return (this._-07j.localizationManager.getKey(_arg1, _arg1));
        }
        private function _-7y(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.goToRoom();
            };
        }
        private function _-468(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-10q(true);
            };
        }
        private function _-2Ns(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-10q(false);
            };
        }
        public function _-yr():String
        {
            var k = (this._-0qE._-1PR() + ".name");
            return (this._-07j.localizationManager.getKey(k, k));
        }
        private function _-4ZS(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.send(new _-1X9(this._-0qE.id));
            };
        }
        private function _-02c(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._index++;
                this._-10q(this._-0qE.easy);
            };
        }
        private function _-3LR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.send(new _-1gL());
            };
        }
        private function _-10q(_arg1:Boolean):void
        {
            this._-07j.send(new _-473(_arg1, this._index));
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.GameCenterButtonElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;

    public class GameCenterButtonElementHandler extends AbstractButtonElementHandler 
    {

        private var _-3dj:String;

        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            this._-3dj = _arg3[2];
        }
        override protected function onClick():void
        {
            if (this._-3dj)
            {
                landingView.openGameCenterByGameName(this._-3dj);
            }
            else
            {
                landingView.openGameCenter();
            };
            landingView.tracking.trackGoogle("landingView", "click_gamecenter");
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.GoToCompetitionRoomButtonElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2lx._-37-;

    public class GoToCompetitionRoomButtonElementHandler extends AbstractButtonElementHandler 
    {

        private var _-HU:String;

        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            this._-HU = _arg3[2];
        }
        override protected function onClick():void
        {
            landingView.questEngine.reenableRoomCompetitionWindow();
            landingView.send(new _-37-(this._-HU));
            landingView.tracking.trackGoogle("landingView", "click_gotocompetitionroom");
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.GoToRoomButtonElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;

    public class GoToRoomButtonElementHandler extends AbstractButtonElementHandler 
    {

        private var _-1Rt:int;

        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            this._-1Rt = int(_arg3[2]);
        }
        override protected function onClick():void
        {
            landingView.navigator.goToPrivateRoom(this._-1Rt);
            landingView.tracking.trackGoogle("landingView", "click_gotoroom");
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.ImageElementHandler

package _-0t
{
    import _-1ae._-4mB;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2mR.*;

    public class ImageElementHandler implements _-3xa 
    {

        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            var k:_-4mB = _-4mB(_arg2);
            var k:String = ("${image.library.url}" + _arg3[1]);
            k.assetUri = k;
            k.x = int(_arg3[2]);
        }
        public function refresh():void
        {
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.LinkElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-11j;
    import _-0Ie.WindowEvent;
    import _-1B-.*;
    import _-2mR.*;

    public class LinkElementHandler implements _-3xa, _-1zZ 
    {

        private var _-07j:HabboLandingView;
        private var _-5Q:String;

        public function dispose():void
        {
            this._-07j = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            this._-07j = _arg1;
            var k:String = _arg3[1];
            this._-5Q = _arg3[2];
            _arg2.procedure = this._-4Km;
            IWindowContainer(_arg2).findChildByName("link_txt").caption = _arg1.localizationManager.getKey(k, k);
        }
        private function _-4Km(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-07j.windowManager.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, null);
                _-11j._-0D8(this._-5Q);
                this._-07j.tracking.trackGoogle("landingView", "click_link");
            };
        }
        public function refresh():void
        {
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.PromotedRoomButtonElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;

    public class PromotedRoomButtonElementHandler extends AbstractButtonElementHandler 
    {

        private var _-16h:String;

        override protected function onClick():void
        {
            landingView.goToRoom(this._-16h);
            landingView.tracking.trackGoogle("landingView", ("click_promotedroom" + this._-16h));
        }
        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            if (_arg3.length > 1)
            {
                this._-16h = _arg3[2];
            };
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.RequestBadgeButtonElementHandler

package _-0t
{
    import _-ge._-1Io;
    import _-OR._-26G;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-b9._-gR;
    import _-2mR.*;

    public class RequestBadgeButtonElementHandler extends AbstractButtonElementHandler implements _-03d 
    {

        private var _-1xD:String;
        private var _-1PG:Boolean = true;

        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            this._-1xD = _arg3[2];
            _arg2.x = int(_arg3[3]);
            _arg2.y = int(_arg3[4]);
            if (_arg3.length > 5)
            {
                this._-1PG = (_arg3[5] == "true");
            };
            _arg1.communicationManager.addHabboConnectionMessageEvent(new _-1Io(this._-2bF));
            _arg1.communicationManager.addHabboConnectionMessageEvent(new _-26G(this._-0ss));
        }
        override protected function onClick():void
        {
            landingView.requestBadge(this._-1xD);
            landingView.tracking.trackGoogle("landingView", ("click_requestbadge_" + this._-1xD));
        }
        override public function refresh():void
        {
            super.refresh();
            landingView.send(new _-gR(this._-1xD));
        }
        public function _-2F0(_arg1:Boolean):Boolean
        {
            return (this._-1PG);
        }
        private function _-2bF(_arg1:_-1Io):void
        {
            if (_arg1._-3-5()._-547 == this._-1xD)
            {
                window.visible = !(_arg1._-3-5()._-2sH);
            };
        }
        private function _-0ss(_arg1:_-26G):void
        {
            if (window)
            {
                landingView.send(new _-gR(this._-1xD));
            };
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.RewardBadgeElementHandler

package _-0t
{
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2mR.*;

    public class RewardBadgeElementHandler implements _-3xa 
    {

        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            var k:String = _arg3[2];
            var k:IWindowContainer = IWindowContainer(_arg2);
            k.findChildByName("badge_desc").caption = _arg1.localizationManager.getKey(k, k);
            var k:_-4mB = _-4mB(k.findChildByName("badge_image"));
            var k = (("${image.library.url}album1584/" + _arg3[1]) + ".gif");
            _-Nb.log(("IMAGE: " + k));
            k.assetUri = k;
        }
        public function refresh():void
        {
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.SpacingElementHandler

package _-0t
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2mR.*;

    public class SpacingElementHandler implements _-3xa 
    {

        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            _arg2.height = int(_arg3[1]);
        }
        public function refresh():void
        {
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.SubmitCompetitionRoomElementHandler

package _-0t
{
    import _-448._-5AC;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2lx._-1uq;
    import _-2lx._-0ac;

    public class SubmitCompetitionRoomElementHandler extends AbstractButtonElementHandler 
    {

        private var _-ST:String;
        private var _-HU:String;
        private var _-07b:Boolean;
        private var _-08e:int;

        override public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            super.initialize(_arg1, _arg2, _arg3, _arg4);
            this._-ST = _arg3[2];
            this._-HU = _arg3[3];
            _arg1.communicationManager.addHabboConnectionMessageEvent(new _-5AC(this._-2bF));
        }
        override public function refresh():void
        {
            super.refresh();
            landingView.send(new _-1uq(this._-HU));
        }
        override protected function onClick():void
        {
            landingView.questEngine.reenableRoomCompetitionWindow();
            if (this._-07b)
            {
                landingView.navigator.goToPrivateRoom(this._-08e);
                landingView.tracking.trackGoogle("landingView", "click_submittedroom");
            }
            else
            {
                landingView.send(new _-0ac());
                landingView.tracking.trackGoogle("landingView", "click_startsubmit");
            };
        }
        private function _-2bF(_arg1:_-5AC):void
        {
            this._-07b = _arg1._-3-5()._-58n;
            this._-08e = _arg1._-3-5()._-0sa;
            if (this._-07b)
            {
                window.caption = landingView.localizationManager.getKey(this._-ST, this._-ST);
            };
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.TextElementHandler

package _-0t
{
    import _-1ae.ITextWindow;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2mR.*;

    public class TextElementHandler implements _-3xa 
    {

        private var _-0xv:ITextWindow;

        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            this._-0xv = (_arg2 as ITextWindow);
            var k:String = _arg3[1];
            this._-0xv.caption = (("${" + k) + "}");
            if (_arg3.length > 2)
            {
                this._-0xv.width = parseInt(_arg3[2]);
            };
            if ((((_arg3.length > 3)) && ((_arg3[3] == "true"))))
            {
                this._-0xv.border = true;
            };
        }
        public function refresh():void
        {
        }
        public function set _-40r(_arg1:String):void
        {
            this._-0xv.caption = (("${" + _arg1) + "}");
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0t.TitleElementHandler

package _-0t
{
    import _-Ew.IWindowContainer;
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;
    import _-2mR.*;

    public class TitleElementHandler implements _-3xa, _-03d 
    {

        private var _-vr:Boolean = false;

        public function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void
        {
            var k:IWindowContainer = IWindowContainer(_arg2);
            var k:String = _arg3[1];
            this._-vr = (((_arg3.length > 2)) ? (_arg3[2] == "true") : false);
            k.findChildByName("title_txt").caption = _arg1.localizationManager.getKey(k, k);
            HabboLandingView._-51x(k, "title_txt", "hdr_line");
        }
        public function _-2F0(_arg1:Boolean):Boolean
        {
            return (((_arg1) || (this._-vr)));
        }
        public function refresh():void
        {
        }

    }
}//package _-0t

//------------------------------------------------------------
//_-0TF._-38c

package _-0TF
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-38c implements _-58N 
    {

        private var _-04q:int;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-04q = int(_arg1.readString());
            return (true);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function get balance():int
        {
            return (this._-04q);
        }

    }
}//package _-0TF

//------------------------------------------------------------
//_-0uk._-1OR

package _-0uk
{
    import _-1ae.IBorderWindow;
    import _-295._-39L;
    import _-1ae.IItemGridWindow;
    import flash.geom.Rectangle;
    import _-Ew.IWindowContainer;
    import flash.geom.Point;
    import _-1B-.*;

    public class _-1OR implements _-1zZ 
    {

        private static const _-3OE:int = 92;

        private var _-0xv:IBorderWindow;
        private var _-0vX:ChatStyleSelector;

        public function _-1OR(_arg1:ChatStyleSelector)
        {
            this._-0vX = _arg1;
            var k:_-39L = _arg1._-kp.widget.assets;
            this._-0xv = IBorderWindow(_arg1._-kp.widget.windowManager.buildFromXML(XML(k.getAssetByName("styleselector_menu_xml").content)));
            this._-0xv.visible = false;
        }
        public function dispose():void
        {
            this._-0xv.dispose();
            this._-0xv = null;
            this._-0vX = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-0xv == null));
        }
        public function get grid():IItemGridWindow
        {
            return (IItemGridWindow(this._-0xv.findChildByName("itemgrid")));
        }
        public function get window():IBorderWindow
        {
            return (this._-0xv);
        }
        public function _-2ES(_arg1:IWindowContainer):void
        {
            var k:int;
            var k:Rectangle = new Rectangle();
            _arg1.getGlobalRectangle(k);
            var k:IWindowContainer = IWindowContainer(this._-0xv.parent);
            k.x = (k.right - this._-0xv.width);
            k.y = (k.bottom - this._-0xv.height);
            var k:Point = new Point();
            k.getGlobalPosition(k);
            if (k.x < _-3OE)
            {
                k = (_-3OE - k.x);
                k.x = (k.x + k);
            };
        }

    }
}//package _-0uk

//------------------------------------------------------------
//_-0uk._-HI

package _-0uk
{
    import flash.display.BitmapData;

    public class _-HI 
    {

        private var _-0Kq:int;
        private var _bitmap:BitmapData;

        public function _-HI(_arg1:int, _arg2:BitmapData)
        {
            this._-0Kq = _arg1;
            this._bitmap = _arg2;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get bitmap():BitmapData
        {
            return (this._bitmap);
        }

    }
}//package _-0uk

//------------------------------------------------------------
//_-0uk.ChatStyleSelector

package _-0uk
{
    import _-3fZ.RoomChatInputView;
    import _-1ae.IBorderWindow;
    import __AS3__.vec.Vector;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class ChatStyleSelector implements _-1zZ 
    {

        private static const _-2Ni:int = 1;
        private static const _-30Q:int = 3;

        private static var _-2dY:_-HI = null;

        private var _-4E:RoomChatInputView;
        private var _container:IBorderWindow;
        private var _-49w:_-1OR;
        private var _-3gb:Vector.<_-HI>;
        private var _-12i:IWindow;

        public function ChatStyleSelector(_arg1:RoomChatInputView, _arg2:IBorderWindow)
        {
            this._-3gb = new Vector.<_-HI>();
            super();
            this._-4E = _arg1;
            this._-49w = new _-1OR(this);
            this._-12i = _arg1.widget.windowManager.buildFromXML((_arg1.widget.assets.getAssetByName("chatinput_chatstyle_template_xml").content as XML));
            this._container = _arg2;
            this._container.procedure = this._-1Uy;
            this._-4E._-2v0.addChild(this._-49w.window);
            this._-49w.window.x = 0;
            this._-49w.window.y = 0;
        }
        public function dispose():void
        {
            while (this._-3gb.length > 1)
            {
                this._-3gb.pop();
            };
            this._-3gb = null;
            this._-49w.dispose();
            this._-49w = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-49w == null));
        }
        public function get _-kp():RoomChatInputView
        {
            return (this._-4E);
        }
        public function _-0df(_arg1:int, _arg2:BitmapData):void
        {
            this._-3gb.push(new _-HI(_arg1, _arg2));
            this._-49w.grid._-2-F(this._-16S(_arg2));
        }
        public function get _-3OG():int
        {
            if (this.selected)
            {
                return (this.selected.id);
            };
            return (-1);
        }
        public function get _-09y():BitmapData
        {
            if (this.selected)
            {
                return (this.selected.bitmap);
            };
            return (null);
        }
        public function _-la():void
        {
            this.selected = this.selected;
        }
        public function set _-1fC(_arg1:int):void
        {
            k = Math.min(_arg1, _-30Q);
            var k:int = (((k - 1) * (this._-12i.width + _-2Ni)) + this._-12i.width);
            if (k > 1)
            {
                this._-49w.grid.width = k;
            }
            else
            {
                this._-49w.grid.width = (this._-12i.width + 16);
            };
        }
        private function set selected(_arg1:_-HI):void
        {
            _-2dY = _arg1;
            IBitmapWrapperWindow(this._container.findChildByName("preview_bitmap")).bitmap = _arg1.bitmap;
        }
        private function get selected():_-HI
        {
            if (_-2dY == null)
            {
                _-2dY = this._-3gb[(this._-3gb.length - 1)];
            };
            return (_-2dY);
        }
        private function _-16S(_arg1:BitmapData):IWindow
        {
            var k:IWindowContainer = IWindowContainer(this._-12i.clone());
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(k.findChildByName("bubble_preview"));
            k.bitmap = _arg1;
            k.center();
            k.procedure = this._-3KI;
            return (k);
        }
        public function _-4up():void
        {
            if (this._-49w.window.visible)
            {
                this._-49w._-2ES(this._container);
            };
        }
        private function _-1Uy(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-49w.window.visible = !(this._-49w.window.visible);
                this._-4up();
            };
        }
        private function _-3KI(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-49w.grid.getGridItemIndex(_arg2);
                this.selected = this._-3gb[k];
                this._-49w.window.visible = false;
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                IWindowContainer(_arg2).findChildByName("background_color").color = 4291875024;
            };
            if (_arg1.type == WindowMouseEvent._-4e2)
            {
                IWindowContainer(_arg2).findChildByName("background_color").color = 0xFFFFFFFF;
            };
        }

    }
}//package _-0uk

//------------------------------------------------------------
//_-0vj._-1GX

package _-0vj
{
    import _-0mD._-2Jq;
    import _-293._-5-S;
    import _-1ae.IFrameWindow;
    import _-uF.ILocalization;
    import _-Ew.IWindow;
    import _-1ae._-3Yi;
    import _-0Ix._-4xG;
    import _-0Ix._-0nW;
    import _-1ae.ITextWindow;
    import _-293._-2Gt;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Matrix;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-295._-243;
    import _-293.*;

    public class _-1GX implements dynamic 
    {

        private var _-TK:_-1HZ;
        private var _-3oJ:_-2Jq;
        private var _-0tK:_-5-S;
        private var _-0xv:IFrameWindow;
        private var _-mB:_-H4;

        public function _-1GX(_arg1:_-1HZ, _arg2:_-2Jq, _arg3:_-5-S)
        {
            this._-TK = _arg1;
            this._-3oJ = _arg2;
            this._-0tK = _arg3;
        }
        public function dispose():void
        {
            this._-TK = null;
            this._-3oJ = null;
            this._-0tK = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-mB = null;
        }
        public function _-53A(_arg1:int, _arg2:_-H4):void
        {
            var k:String;
            var k:ILocalization;
            var k:String;
            var k:IWindow;
            var k:_-3Yi;
            var k:_-4xG;
            var k:_-3Yi;
            var k:_-0nW;
            if (!_arg2)
            {
                return;
            };
            this._-mB = _arg2;
            if (((((!(this._-TK)) || (!(this._-3oJ)))) || (!(this._-3oJ.localization))))
            {
                return;
            };
            if (this._-0xv)
            {
                this._-0xv.dispose();
            };
            this._-0xv = (this.createWindow("marketplace_purchase_confirmation") as IFrameWindow);
            this._-0xv.procedure = this._-3go;
            this._-0xv.center();
            var k:ITextWindow = (this._-0xv.findChildByName("header_text") as ITextWindow);
            if (k)
            {
                if (_arg1 == this._-TK._-oR)
                {
                    k.text = ("$" + "{catalog.marketplace.confirm_header}");
                };
                if (_arg1 == this._-TK._-3CQ)
                {
                    k.text = ("$" + "{catalog.marketplace.confirm_higher_header}");
                };
            };
            k = (this._-0xv.findChildByName("item_name") as ITextWindow);
            if (k)
            {
                k.text = ((("$" + "{") + this._-TK._-4TZ(_arg2)) + "}");
            };
            k = (this._-0xv.findChildByName("item_price") as ITextWindow);
            if (k)
            {
                k = this._-3oJ.localization.getKey("catalog.marketplace.confirm_price");
                k = k.replace("%price%", this._-mB.price);
                k.text = k;
            };
            k = (this._-0xv.findChildByName("item_average_price") as ITextWindow);
            if (k)
            {
                k = this._-3oJ.localization.getLocalization("catalog.marketplace.offer_details.average_price");
                if (k)
                {
                    k = k._-ad;
                    k = k.replace("%days%", this._-TK._-0Px.toString());
                    k = (((this._-mB._-4q8 == 0)) ? " - " : this._-mB._-4q8.toString());
                    k = k.replace("%average%", k);
                    k.text = k;
                }
                else
                {
                    k.visible = false;
                };
            };
            k = (this._-0xv.findChildByName("offer_count") as ITextWindow);
            if (k)
            {
                k = this._-3oJ.localization.getLocalization("catalog.marketplace.offer_details.offer_count");
                if (k)
                {
                    k = k._-ad;
                    k = k.replace("%count%", this._-mB._-3rE);
                    k.text = k;
                }
                else
                {
                    k.visible = false;
                };
            };
            if (this._-3oJ.configuration.getBoolean("unique.limited.items.enabled", false))
            {
                if (_arg2._-0bb)
                {
                    k = this._-0xv.findChildByName("unique_item_background_bitmap");
                    k.visible = true;
                    k = _-3Yi(this._-0xv.findChildByName("unique_item_overlay_widget"));
                    k = _-4xG(k.widget);
                    k.visible = true;
                    k._-2GS = _arg2._-vM.uniqueSerialNumber;
                };
            };
            if (((_arg2._-vM) && ((_arg2._-vM.rarityLevel >= 0))))
            {
                k = _-3Yi(this._-0xv.findChildByName("rarity_item_overlay_widget"));
                k = _-0nW(k.widget);
                k.visible = true;
                k.rarityLevel = _arg2._-vM.rarityLevel;
            };
            this._-1xp();
        }
        private function _-1xp():void
        {
            var k:_-2Gt;
            var k:IBitmapWrapperWindow;
            if (((((!(this._-mB)) || (!(this._-0xv)))) || (!(this._-0tK))))
            {
                return;
            };
            if (!this._-mB.image)
            {
                if (this._-mB._-0sM == 1)
                {
                    k = this._-0tK.getFurnitureIcon(this._-mB._-4Jh, this);
                }
                else
                {
                    if (this._-mB._-0sM == 2)
                    {
                        k = this._-0tK.getWallItemIcon(this._-mB._-4Jh, this);
                    };
                };
                if (((k) && (k.data)))
                {
                    this._-mB.image = (k.data as BitmapData);
                    this._-mB._-3Ea = k.id;
                };
            };
            if (this._-mB.image != null)
            {
                k = (this._-0xv.findChildByName("item_image") as IBitmapWrapperWindow);
                if (k)
                {
                    if (k.bitmap)
                    {
                        k.bitmap.dispose();
                        k.bitmap = null;
                    };
                    k.bitmap = new BitmapData(k.width, k.height, true, 0);
                    k.bitmap.draw(this._-mB.image, new Matrix(1, 0, 0, 1, ((k.width - this._-mB.image.width) / 2), ((k.height - this._-mB.image.height) / 2)));
                };
            };
        }
        private function _-3go(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!(_arg1)) || (!(_arg2))))
            {
                return;
            };
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "buy_button":
                    this._-3oJ._-Xu(this._-mB.offerId);
                    this.hide();
                    return;
                case "header_button_close":
                case "cancel_button":
                    this.hide();
                    return;
            };
        }
        private function hide():void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (((this._-mB) && ((this._-mB._-3Ea == _arg1))))
            {
                this._-mB.image = _arg2;
                this._-1xp();
            };
        }
        private function createWindow(_arg1:String):IWindow
        {
            if (((((!(this._-3oJ)) || (!(this._-3oJ.assets)))) || (!(this._-3oJ.windowManager))))
            {
                return (null);
            };
            var k:_-243 = (this._-3oJ.assets.getAssetByName(_arg1) as _-243);
            if (((!(k)) || (!(k.content))))
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (!k)
            {
                return (null);
            };
            return (this._-3oJ.windowManager.buildFromXML(k));
        }

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vj._-1HZ

package _-0vj
{
    import _-0mD.HabboCatalog;
    import _-4pF._-3Ts;
    import _-293._-5-S;
    import _-18r.Map;
    import _-3X8._-0hg;
    import _-2XB._-0-N;
    import _-Aj._-11U;
    import _-Aj._-0NG;
    import _-2gf._-0Oj;
    import _-4Aj._-0tL;
    import _-Aj._-1Lt;
    import _-2gf._-2gI;
    import _-Aj._-1-V;
    import _-2gf._-41l;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-Aj._-0SV;
    import _-2gf._-36a;
    import _-4n1._-0hX;
    import _-2Mh._-3Uw;

    public class _-1HZ implements _-3-I 
    {

        private static const _-4Xo:String = "poster";

        public const _-oR:int = 1;
        public const _-3CQ:int = 2;
        public const _-ZW:int = 3;

        private var _-3oJ:HabboCatalog;
        private var _-U-:_-3Ts;
        private var _-0tK:_-5-S;
        private var _visualization:_-3J0;
        private var _-1xH:_-1GX;
        private var _-3Pc:Map;
        private var _-3cO:Map;
        private var _-1iq:int;
        private var _-NA:int = -1;
        private var _-3b4:_-38V;
        private var _-3Ye:int;
        private var _-nK:int;
        private var _-18S:int;
        private var _-3Gi:int = 0;
        private var _-2nI:int = 0;
        private var _-2Yn:String = "";
        private var _-3Vc:int = -1;
        private var _disposed:Boolean = false;

        public function _-1HZ(_arg1:HabboCatalog, _arg2:_-3Ts, _arg3:_-5-S)
        {
            this._-3oJ = _arg1;
            this._-U- = _arg2;
            this._-0tK = _arg3;
            this._-2gb();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._-3oJ = null;
            this._-U- = null;
            if (this._-3Pc != null)
            {
                this._-2hR(this._-3Pc);
                this._-3Pc = null;
            };
            if (this._-3cO != null)
            {
                this._-2hR(this._-3cO);
                this._-3cO = null;
            };
            this._disposed = true;
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get localization():_-0hg
        {
            return (this._-3oJ.localization);
        }
        public function _-1qp(_arg1:_-3J0=null):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._visualization = _arg1;
        }
        private function _-2gb():void
        {
            if (((!(this._-3oJ)) || (!(this._-3oJ.connection))))
            {
                return;
            };
            this._-3oJ.connection.send(new _-0-N());
        }
        private function _-53A(_arg1:int, _arg2:_-H4):void
        {
            if (!this._-1xH)
            {
                this._-1xH = new _-1GX(this, this._-3oJ, this._-0tK);
            };
            this._-1xH._-53A(_arg1, _arg2);
        }
        public function _-0Zh(_arg1:String):void
        {
            if (this._-3oJ)
            {
                this._-3oJ._-Zv(-1, -1, _arg1, -1);
            };
        }
        public function _-2sI(_arg1:int):void
        {
            if (this._-3oJ)
            {
                this._-3oJ._-Zv(_arg1, -1, "", -1);
            };
        }
        public function _-3qm(_arg1:int, _arg2:int, _arg3:String, _arg4:int):void
        {
            this._-3Gi = _arg1;
            this._-2nI = _arg2;
            this._-2Yn = _arg3;
            this._-3Vc = _arg4;
            if (this._-3oJ)
            {
                this._-3oJ._-Zv(_arg1, _arg2, _arg3, _arg4);
            };
        }
        public function _-1f-():void
        {
            this._-3qm(this._-3Gi, this._-2nI, this._-2Yn, this._-3Vc);
        }
        public function _-0x1():void
        {
            if (this._-3oJ)
            {
                this._-3oJ._-2FN();
            };
        }
        public function _-2Kz(_arg1:int, _arg2:int):void
        {
            if (this._-3oJ)
            {
                this._-nK = _arg2;
                this._-3Ye = _arg1;
                this._-3oJ._-43O(_arg1, _arg2);
            };
        }
        public function _-4iG(_arg1:int):void
        {
            if (((((!(this._-3Pc)) || (!(this._-3oJ)))) || (!(this._-3oJ.getPurse()))))
            {
                return;
            };
            var k:_-H4 = (this._-3Pc.getValue(_arg1) as _-H4);
            if (!k)
            {
                return;
            };
            if (this._-3oJ.getPurse().credits < k.price)
            {
                this._-3oJ._-3fU();
                return;
            };
            this._-53A(this._-oR, k);
        }
        public function _-3hi(_arg1:int):void
        {
            if (this._-3oJ)
            {
                this._-3oJ._-19T(_arg1);
            };
        }
        public function _-0-F():void
        {
            var k:int;
            var k:_-H4;
            if (this.disposed)
            {
                return;
            };
            if (this._-3cO == null)
            {
                return;
            };
            var k:Array = this._-3cO._-18C();
            for each (k in k)
            {
                k = this._-3cO.getValue(k);
                if (k.status == _-462._-2FO)
                {
                    this._-3cO.remove(k);
                    k.dispose();
                };
            };
            if (this._-3oJ)
            {
                this._-3oJ._-3Af();
            };
            if (this._visualization != null)
            {
                this._visualization._-050();
            };
        }
        private function _-2hR(_arg1:Map):void
        {
            var k:_-H4;
            if (_arg1 != null)
            {
                for each (k in _arg1)
                {
                    if (k != null)
                    {
                        k.dispose();
                    };
                };
                _arg1.dispose();
            };
        }
        public function _-56S(_arg1:_-0tL):void
        {
            var k:_-11U;
            var k:_-H4;
            var k:_-0NG = (_arg1 as _-0NG);
            if (k == null)
            {
                return;
            };
            var k:_-0Oj = (k._-3-5() as _-0Oj);
            if (k == null)
            {
                return;
            };
            this._-2hR(this._-3Pc);
            this._-3Pc = new Map();
            for each (k in k.offers)
            {
                k = new _-H4(k.offerId, k._-4Jh, k._-0sM, k.extraData, k._-vM, k.price, k.status, k._-4q8, k._-3rE);
                k._-016 = k._-016;
                this._-3Pc.add(k.offerId, k);
            };
            this._-18S = k._-03y;
            if (this._visualization != null)
            {
                this._visualization._-050();
            };
        }
        public function _-3JX(_arg1:_-0tL):void
        {
            var k:_-11U;
            var k:_-H4;
            var k:_-1Lt = (_arg1 as _-1Lt);
            if (k == null)
            {
                return;
            };
            var k:_-2gI = (k._-3-5() as _-2gI);
            if (k == null)
            {
                return;
            };
            this._-2hR(this._-3cO);
            this._-3cO = new Map();
            this._-1iq = k._-2ID;
            for each (k in k.offers)
            {
                k = new _-H4(k.offerId, k._-4Jh, k._-0sM, k.extraData, k._-vM, k.price, k.status, k._-4q8);
                k._-016 = k._-016;
                this._-3cO.add(k.offerId, k);
            };
            if (this._visualization != null)
            {
                this._visualization._-050();
            };
        }
        public function _-3Vh(_arg1:_-0tL):void
        {
            var item:_-H4;
            var updateItem:_-H4;
            var event:_-0tL = _arg1;
            var buyEvent:_-1-V = (event as _-1-V);
            if (event == null)
            {
                return;
            };
            var parser:_-41l = (buyEvent._-3-5() as _-41l);
            if (parser == null)
            {
                return;
            };
            if (parser.result == 1)
            {
                this._-1f-();
            }
            else
            {
                if (parser.result == 2)
                {
                    item = this._-3Pc.remove(parser._-30C);
                    if (item != null)
                    {
                        item.dispose();
                    };
                    if (this._visualization != null)
                    {
                        this._visualization._-050();
                    };
                    if (this._-U- != null)
                    {
                        this._-U-.alert("${catalog.marketplace.not_available_title}", "${catalog.marketplace.not_available_header}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                        {
                            _arg1.dispose();
                        });
                    };
                }
                else
                {
                    if (parser.result == 3)
                    {
                        updateItem = (this._-3Pc.getValue(parser._-30C) as _-H4);
                        if (updateItem)
                        {
                            updateItem.offerId = parser.offerId;
                            updateItem.price = parser._-4Ex;
                            updateItem._-3rE--;
                            this._-3Pc.add(parser.offerId, updateItem);
                        };
                        this._-3Pc.remove(parser._-30C);
                        this._-53A(this._-3CQ, updateItem);
                        if (this._visualization != null)
                        {
                            this._visualization._-050();
                        };
                    }
                    else
                    {
                        if (parser.result == 4)
                        {
                            if (this._-U- != null)
                            {
                                this._-U-.alert("${catalog.alert.notenough.title}", "${catalog.alert.notenough.credits.description}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                                {
                                    _arg1.dispose();
                                });
                            };
                        };
                    };
                };
            };
        }
        public function _-4Bu(_arg1:_-0tL):void
        {
            var item:_-H4;
            var event:_-0tL = _arg1;
            var cancelEvent:_-0SV = (event as _-0SV);
            if (event == null)
            {
                return;
            };
            var parser:_-36a = (cancelEvent._-3-5() as _-36a);
            if (parser == null)
            {
                return;
            };
            if (parser.success)
            {
                item = this._-3cO.remove(parser.offerId);
                if (item != null)
                {
                    item.dispose();
                };
                if (this._visualization != null)
                {
                    this._visualization._-050();
                };
            }
            else
            {
                if (this._-U- != null)
                {
                    this._-U-.alert("${catalog.marketplace.operation_failed.topic}", "{{catalog.marketplace.cancel_failed}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                };
            };
        }
        public function _-23L():Map
        {
            return (this._-3Pc);
        }
        public function _-3J4():Map
        {
            return (this._-3cO);
        }
        public function _-03y():int
        {
            return (this._-18S);
        }
        public function set _-0Qo(_arg1:_-38V):void
        {
            if (((!((_arg1._-2i5 == this._-3Ye))) || (!((_arg1._-FZ == this._-nK)))))
            {
                return;
            };
            this._-3b4 = _arg1;
            if (this._visualization != null)
            {
                this._visualization._-4wp();
            };
        }
        public function get _-0Qo():_-38V
        {
            return (this._-3b4);
        }
        public function get _-2ID():int
        {
            return (this._-1iq);
        }
        public function get _-0Px():int
        {
            return (this._-NA);
        }
        public function set _-0Px(_arg1:int):void
        {
            this._-NA = _arg1;
        }
        private function _-5FF(_arg1:_-2f2):Boolean
        {
            var k:_-0hX;
            var k:String;
            var k:Boolean;
            if ((((_arg1._-0sM == 2)) && (!((_arg1.extraData == null)))))
            {
                k = this._-3oJ._-2QH(_arg1._-4Jh, _-3Uw._-0xA);
                if (k)
                {
                    k = k.name;
                    if (((!((k == null))) && ((k == _-4Xo))))
                    {
                        k = true;
                    };
                };
            };
            return (k);
        }
        public function _-4TZ(_arg1:_-2f2):String
        {
            var k:String = "";
            if (_arg1 != null)
            {
                if (this._-5FF(_arg1))
                {
                    k = (("poster_" + _arg1.extraData) + "_name");
                }
                else
                {
                    if (_arg1._-0sM == _-H4._-BF)
                    {
                        k = ("roomItem.name." + _arg1._-4Jh);
                    }
                    else
                    {
                        if (_arg1._-0sM == _-H4._-0N8)
                        {
                            k = ("wallItem.name." + _arg1._-4Jh);
                        };
                    };
                };
            };
            return (k);
        }
        public function _-3l0(_arg1:_-2f2):String
        {
            var k:String = "";
            if (_arg1 != null)
            {
                if (this._-5FF(_arg1))
                {
                    k = (("poster_" + _arg1.extraData) + "_desc");
                }
                else
                {
                    if (_arg1._-0sM == _-H4._-BF)
                    {
                        k = ("roomItem.desc." + _arg1._-4Jh);
                    }
                    else
                    {
                        if (_arg1._-0sM == _-H4._-0N8)
                        {
                            k = ("wallItem.desc." + _arg1._-4Jh);
                        };
                    };
                };
            };
            return (k);
        }
        public function _-3ZA():Boolean
        {
            if (this._-3oJ)
            {
                return (this._-3oJ.sessionDataManager._-3ZA());
            };
            return (false);
        }

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vj._-2f2

package _-0vj
{
    import _-293._-4q2;
    import flash.display.BitmapData;

    public interface _-2f2 
    {

        function get offerId():int;
        function get _-4Jh():int;
        function get _-0sM():int;
        function get extraData():String;
        function get _-vM():_-4q2;
        function get price():int;
        function get _-4q8():int;
        function get image():BitmapData;
        function set image(_arg1:BitmapData):void;
        function set _-3Ea(_arg1:int):void;
        function get _-3Ea():int;
        function get status():int;
        function get _-016():int;
        function set _-016(_arg1:int):void;
        function set price(_arg1:int):void;
        function set offerId(_arg1:int):void;
        function get _-3rE():int;
        function set _-3rE(_arg1:int):void;

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vj._-38V

package _-0vj
{
    public class _-38V 
    {

        private var _-58g:int;
        private var _-3un:int;
        private var _-2tP:int;
        private var _-4N4:Array;
        private var _-2wR:Array;
        private var _-1iZ:Array;
        private var _-I6:int;
        private var _-1wh:int;

        public function get _-4q8():int
        {
            return (this._-58g);
        }
        public function get _-3rE():int
        {
            return (this._-3un);
        }
        public function get _-0Iy():int
        {
            return (this._-2tP);
        }
        public function get _-1ml():Array
        {
            return (this._-4N4);
        }
        public function get _-3x9():Array
        {
            return (this._-2wR);
        }
        public function get _-3Rh():Array
        {
            return (this._-1iZ);
        }
        public function get _-FZ():int
        {
            return (this._-I6);
        }
        public function get _-2i5():int
        {
            return (this._-1wh);
        }
        public function set _-4q8(_arg1:int):void
        {
            this._-58g = _arg1;
        }
        public function set _-3rE(_arg1:int):void
        {
            this._-3un = _arg1;
        }
        public function set _-0Iy(_arg1:int):void
        {
            this._-2tP = _arg1;
        }
        public function set _-1ml(_arg1:Array):void
        {
            this._-4N4 = _arg1.slice();
        }
        public function set _-3x9(_arg1:Array):void
        {
            this._-2wR = _arg1.slice();
        }
        public function set _-3Rh(_arg1:Array):void
        {
            this._-1iZ = _arg1.slice();
        }
        public function set _-FZ(_arg1:int):void
        {
            this._-I6 = _arg1;
        }
        public function set _-2i5(_arg1:int):void
        {
            this._-1wh = _arg1;
        }

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vj._-3-I

package _-0vj
{
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-4Aj._-0tL;
    import _-18r.Map;

    public interface _-3-I 
    {

        function get windowManager():_-3Ts;
        function get localization():_-0hg;
        function _-1qp(_arg1:_-3J0=null):void;
        function _-56S(_arg1:_-0tL):void;
        function _-3JX(_arg1:_-0tL):void;
        function _-3Vh(_arg1:_-0tL):void;
        function _-4Bu(_arg1:_-0tL):void;
        function _-0Zh(_arg1:String):void;
        function _-2sI(_arg1:int):void;
        function _-3qm(_arg1:int, _arg2:int, _arg3:String, _arg4:int):void;
        function _-1f-():void;
        function _-0x1():void;
        function _-2Kz(_arg1:int, _arg2:int):void;
        function _-4iG(_arg1:int):void;
        function _-3hi(_arg1:int):void;
        function _-0-F():void;
        function _-23L():Map;
        function _-3J4():Map;
        function _-03y():int;
        function set _-0Qo(_arg1:_-38V):void;
        function get _-0Qo():_-38V;
        function get _-2ID():int;
        function get _-0Px():int;
        function set _-0Px(_arg1:int):void;
        function _-4TZ(_arg1:_-2f2):String;
        function _-3l0(_arg1:_-2f2):String;
        function _-3ZA():Boolean;

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vj._-3J0

package _-0vj
{
    public interface _-3J0 
    {

        function _-gB():void;
        function _-050():void;
        function _-4wp():void;

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vj._-462

package _-0vj
{
    public class _-462 
    {

        public static const _-2ow:int = 1;
        public static const _-MI:int = 1;
        public static const _-2FO:int = 2;
        public static const _-3am:int = 3;

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vj._-H4

package _-0vj
{
    import _-293._-4q2;
    import flash.display.BitmapData;

    public class _-H4 implements _-2f2 
    {

        public static const _-BF:int = 1;
        public static const _-0N8:int = 2;

        private var _-2W3:int;
        private var _-1Rh:int;
        private var _-2G6:int;
        private var _-2dD:String;
        private var _-56Y:_-4q2;
        private var _-26b:int;
        private var _-58g:int;
        private var _-4CE:int;
        private var _-8R:int;
        private var _-4o3:int = -1;
        private var _-3Fz:int;
        private var _-4Gj:BitmapData;

        public function _-H4(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:_-4q2, _arg6:int, _arg7:int, _arg8:int, _arg9:int=-1)
        {
            this._-2W3 = _arg1;
            this._-1Rh = _arg2;
            this._-2G6 = _arg3;
            this._-2dD = _arg4;
            this._-56Y = _arg5;
            this._-26b = _arg6;
            this._-8R = _arg7;
            this._-58g = _arg8;
            this._-3Fz = _arg9;
        }
        public function dispose():void
        {
            if (this._-4Gj)
            {
                this._-4Gj.dispose();
                this._-4Gj = null;
            };
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-4Jh():int
        {
            return (this._-1Rh);
        }
        public function get _-0sM():int
        {
            return (this._-2G6);
        }
        public function get extraData():String
        {
            return (this._-2dD);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function get price():int
        {
            return (this._-26b);
        }
        public function get _-4q8():int
        {
            return (this._-58g);
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function set image(_arg1:BitmapData):void
        {
            if (this._-4Gj != null)
            {
                this._-4Gj.dispose();
            };
            this._-4Gj = _arg1;
        }
        public function set _-3Ea(_arg1:int):void
        {
            this._-4CE = _arg1;
        }
        public function get _-3Ea():int
        {
            return (this._-4CE);
        }
        public function get status():int
        {
            return (this._-8R);
        }
        public function get _-016():int
        {
            return (this._-4o3);
        }
        public function set _-016(_arg1:int):void
        {
            this._-4o3 = _arg1;
        }
        public function set price(_arg1:int):void
        {
            this._-26b = _arg1;
        }
        public function set offerId(_arg1:int):void
        {
            this._-2W3 = _arg1;
        }
        public function get _-3rE():int
        {
            return (this._-3Fz);
        }
        public function set _-3rE(_arg1:int):void
        {
            this._-3Fz = _arg1;
        }
        public function get _-0bb():Boolean
        {
            return (((!((this._-vM == null))) && ((this._-vM.uniqueSerialNumber > 0))));
        }

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vj.MarketplaceChart

package _-0vj
{
    import flash.text.TextField;
    import flash.text.TextFormat;
    import flash.display.Shape;
    import flash.display.BitmapData;
    import flash.geom.Matrix;

    public class MarketplaceChart 
    {

        private var _-2dX:Array;
        private var _-4TA:Array;
        private var _-1Pg:int;
        private var _-3y7:int;
        private var _-1XW:int = -30;
        private var _-3XD:int;

        public function MarketplaceChart(_arg1:Array, _arg2:Array)
        {
            this._-2dX = _arg1.slice();
            this._-4TA = _arg2.slice();
        }
        public function draw(_arg1:int, _arg2:int):BitmapData
        {
            var k:int;
            var k:int;
            var k:TextField;
            var k:TextFormat;
            var k:int;
            var k:Shape;
            var k:int;
            var k:BitmapData = new BitmapData(_arg1, _arg2);
            if (!this.available)
            {
                return (k);
            };
            this._-3XD = 0;
            for each (k in this._-4TA)
            {
                if (k > this._-3XD)
                {
                    this._-3XD = k;
                };
            };
            k = Math.pow(10, (int(this._-3XD).toString().length - 1));
            this._-3XD = (Math.ceil((this._-3XD / k)) * k);
            k = new TextField();
            k = new TextFormat();
            k.embedFonts = true;
            k.font = "Volter";
            k.size = 9;
            k.defaultTextFormat = k;
            k.text = this._-3XD.toString();
            k.draw(k);
            this._-1Pg = ((_arg1 - k.textWidth) - 2);
            this._-3y7 = (_arg2 - k.textHeight);
            k = k.textWidth;
            k.text = "0";
            k.draw(k, new Matrix(1, 0, 0, 1, ((k - k.textWidth) + 1), ((_arg2 - k.textHeight) - 1)));
            k = new Shape();
            k.graphics.lineStyle(1, 0xCCCCCC);
            k.graphics.moveTo(0, 0);
            k.graphics.lineTo(0, this._-3y7);
            k = 0;
            while (k <= 5)
            {
                k = (((this._-3y7 - 1) / 5) * k);
                k.graphics.moveTo(0, k);
                k.graphics.lineTo((this._-1Pg - 1), k);
                k++;
            };
            k.graphics.lineStyle(2, 0xFF);
            k.graphics.moveTo(this.getX(0), this.getY(0));
            k = 1;
            while (k < this._-2dX.length)
            {
                k.graphics.lineTo(this.getX(k), this.getY(k));
                k++;
            };
            k.draw(k, new Matrix(1, 0, 0, 1, (_arg1 - this._-1Pg), ((_arg2 - this._-3y7) / 2)));
            return (k);
        }
        private function getX(_arg1:int):Number
        {
            return ((this._-1Pg + ((this._-1Pg / -(this._-1XW)) * this._-2dX[_arg1])));
        }
        private function getY(_arg1:int):Number
        {
            return ((this._-3y7 - ((this._-3y7 / this._-3XD) * this._-4TA[_arg1])));
        }
        public function get available():Boolean
        {
            return (((((this._-2dX) && (this._-4TA))) && ((this._-2dX.length > 1))));
        }

    }
}//package _-0vj

//------------------------------------------------------------
//_-0vU._-0Va

package _-0vU
{
    import flash.display.BitmapData;

    public class _-0Va 
    {

        private var _bitmap:BitmapData = null;
        private var _-1Jv:int = 0;

        public function _-0Va(_arg1:BitmapData, _arg2:int)
        {
            this._bitmap = _arg1;
            this._-1Jv = _arg2;
        }
        public function get bitmap():BitmapData
        {
            return (this._bitmap);
        }
        public function get timeStamp():int
        {
            return (this._-1Jv);
        }
        public function dispose():void
        {
            this._bitmap = null;
        }

    }
}//package _-0vU

//------------------------------------------------------------
//_-0vU.Randomizer

package _-0vU
{
    public class Randomizer 
    {

        public static const _-1JT:int = 1;
        public static const _-0LH:int = 16777216;

        private static var _-0k6:Randomizer = null;

        private var _-Nx:int = 1;
        private var _-2If:int = 16777216;
        private var _-15:int = 69069;
        private var _-22I:int = 5;

        public static function _-3hk(_arg1:int=1):void
        {
            if (_-0k6 == null)
            {
                _-0k6 = new (Randomizer)();
            };
            _-0k6._-2rh = _arg1;
        }
        public static function _-29F(_arg1:int=16777216):void
        {
            if (_-0k6 == null)
            {
                _-0k6 = new (Randomizer)();
            };
            _-0k6._-46w = _arg1;
        }
        public static function _-0hn(_arg1:int, _arg2:int, _arg3:int):Array
        {
            if (_-0k6 == null)
            {
                _-0k6 = new (Randomizer)();
            };
            return (_-0k6._-1r5(_arg1, _arg2, _arg3));
        }
        public static function _-03K(_arg1:int, _arg2:int):Array
        {
            if (_-0k6 == null)
            {
                _-0k6 = new (Randomizer)();
            };
            return (_-0k6._-1zS(_arg1, _arg2));
        }

        public function set _-2rh(_arg1:int):void
        {
            this._-Nx = _arg1;
        }
        public function set _-46w(_arg1:int):void
        {
            if (_arg1 < 1)
            {
                k = 1;
            };
            this._-2If = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-1r5(_arg1:int, _arg2:int, _arg3:int):Array
        {
            var k:Array = [];
            var k:int;
            while (k < _arg1)
            {
                k.push(this._-3k0(_arg2, (_arg3 - _arg2)));
                k++;
            };
            return (k);
        }
        public function _-1zS(_arg1:int, _arg2:int):Array
        {
            var k:int;
            if ((((_arg1 > _arg2)) || ((_arg2 > 1000))))
            {
                return (null);
            };
            var k:Array = [];
            var k:int;
            while (k <= _arg2)
            {
                k.push(k);
                k++;
            };
            var k:Array = [];
            var k:int;
            while (k < _arg1)
            {
                k = this._-3k0(0, (k.length - 1));
                k.push(k[k]);
                k.splice(k, 1);
                k++;
            };
            return (k);
        }
        private function _-2MT():int
        {
            var k:int = ((this._-15 * this._-Nx) + this._-22I);
            if (k < 0)
            {
                k = -(k);
            };
            k = (k % this._-2If);
            this._-Nx = k;
            return (k);
        }
        private function _-3k0(_arg1:int, _arg2:int):int
        {
            var k:int = this._-2MT();
            if (_arg2 < 1)
            {
                return (_arg1);
            };
            k = (_arg1 + ((k / this._-2If) * _arg2));
            return (k);
        }

    }
}//package _-0vU

//------------------------------------------------------------
//_-0W2._-0IC

package _-0W2
{
    import _-1B-.*;

    public class _-0IC implements _-1zZ 
    {

        private var _-2dX:int;
        private var _-4TA:int;
        private var _-0l1:int;
        private var _-4Bk:Boolean = false;

        public function _-0IC(_arg1:int, _arg2:int, _arg3:int)
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
            this._-0l1 = _arg3;
        }
        public static function _-0Mc(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Boolean
        {
            var k:int = (_arg3 - _arg1);
            if (k < 0)
            {
                k = -(k);
            };
            var k:int = (_arg4 - _arg2);
            if (k < 0)
            {
                k = -(k);
            };
            if ((((k > _arg5)) || ((k > _arg5))))
            {
                return (false);
            };
            if (((k * k) + (k * k)) < (_arg5 * _arg5))
            {
                return (true);
            };
            return (false);
        }

        public function dispose():void
        {
            this._-2dX = 0;
            this._-4TA = 0;
            this._-0l1 = 0;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }
        public function get z():int
        {
            return (this._-0l1);
        }
        public function _-02j(_arg1:int, _arg2:int, _arg3:int):void
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
            this._-0l1 = _arg3;
        }
        public function _-0ti(_arg1:int, _arg2:int):void
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
        }
        public function _-4LJ(_arg1:_-0IC):void
        {
            this._-2dX = _arg1._-2dX;
            this._-4TA = _arg1._-4TA;
            this._-0l1 = _arg1._-0l1;
        }
        public function distanceTo(_arg1:_-0IC):int
        {
            var k:int = (_arg1._-2dX - this._-2dX);
            var k:int = (_arg1._-4TA - this._-4TA);
            var k:int = (_arg1._-0l1 - this._-0l1);
            var k:int = ((Math.abs(k) + Math.abs(k)) + Math.abs(k));
            return (k);
        }
        public function directionTo(_arg1:_-0IC):Direction8
        {
            if ((((_arg1._-2dX == this._-2dX)) && ((_arg1._-4TA == this._-4TA))))
            {
                return (null);
            };
            var k:int = (_arg1._-2dX - this._-2dX);
            var k:int = (_arg1._-4TA - this._-4TA);
            var k:int = Direction360._-4uM(k, k);
            return (Direction360.direction360ValueToDirection8(k));
        }
        public function _-DQ(_arg1:Object):Boolean
        {
            if (this == _arg1)
            {
                return (true);
            };
            if (!(_arg1 is _-0IC))
            {
                return (false);
            };
            var k:_-0IC = _-0IC(_arg1);
            if (this._-2dX != k._-2dX)
            {
                return (false);
            };
            if (this._-4TA != k._-4TA)
            {
                return (false);
            };
            if (this._-0l1 != k._-0l1)
            {
                return (false);
            };
            return (true);
        }
        public function _-3eb():int
        {
            var k:int;
            k = this._-2dX;
            k = ((29 * k) + this._-4TA);
            k = ((29 * k) + this._-0l1);
            return (k);
        }
        public function toString():String
        {
            return (((((("_x:" + this._-2dX) + "yy:") + this._-4TA) + "_zz:") + this._-0l1));
        }
        public function _-Gl(_arg1:_-0IC, _arg2:int):Boolean
        {
            return (_-0Mc(this._-2dX, this._-4TA, _arg1._-2dX, _arg1._-4TA, _arg2));
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2._-0uG

package _-0W2
{
    import _-48o._-4a8;

    public class _-0uG implements _-3FG 
    {

        private var _-48w:int = -1;
        private var _-1id:Direction8;
        private var _-06q:_-3FG;
        private var _-1cu:int;
        private var _-3Vt:int;
        private var _-4Bk:Boolean = false;

        public function dispose():void
        {
            this._-1id = null;
            this._-06q = null;
            this._-1cu = 0;
            this._-3Vt = 0;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get _-35W():Direction8
        {
            return (this._-1id);
        }
        public function set _-35W(_arg1:Direction8):void
        {
            this._-1id = _arg1;
        }
        public function get _-0j8():_-3FG
        {
            return (this._-06q);
        }
        public function set _-0j8(_arg1:_-3FG):void
        {
            this._-06q = _arg1;
        }
        public function get _-0tu():int
        {
            return (this._-1cu);
        }
        public function set _-0tu(_arg1:int):void
        {
            this._-1cu = _arg1;
        }
        public function get _-28o():int
        {
            return (this._-3Vt);
        }
        public function set _-28o(_arg1:int):void
        {
            this._-3Vt = _arg1;
        }
        public function _-2uh(_arg1:_-0uG):int
        {
            var k:int = (this._-3Vt + this._-1cu);
            var k:int = (_arg1._-3Vt + _arg1._-1cu);
            if (k < k)
            {
                return (-1);
            };
            if (k > k)
            {
                return (1);
            };
            return (0);
        }
        public function distanceTo(_arg1:_-3FG):int
        {
            return (0);
        }
        public function directionTo(_arg1:_-3FG):Direction8
        {
            return (null);
        }
        public function getNodeAt(_arg1:Direction8):_-3FG
        {
            return (null);
        }
        public function directionIsBlocked(_arg1:Direction8, _arg2:_-4a8):Boolean
        {
            return (false);
        }
        public function getPathCost(_arg1:Direction8, _arg2:_-4a8):int
        {
            return (0);
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2._-1N8

package _-0W2
{
    import _-1B-.*;

    public interface _-1N8 extends _-1zZ 
    {

        function get boundingType():int;
        function get boundingData():Array;
        function get location3D():_-0IC;
        function get direction360():Direction360;

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2._-1UK

package _-0W2
{
    public class _-1UK 
    {

        public static function _-3Jg(_arg1:int):int
        {
            var k:int;
            if (_arg1 == 0)
            {
                k = -1;
            };
            k = (_arg1 << 13);
            k = (_arg1 ^ k);
            k = (k >> 17);
            k = (k ^ k);
            k = (k << 5);
            k = (k ^ k);
            return (k);
        }
        public static function _-4Iq(_arg1:int, _arg2:int):int
        {
            if (_arg2 == 0)
            {
                return (0);
            };
            return (((((_arg1 < 0)) ? (_arg1 * -1) : _arg1) % _arg2));
        }
        protected static function _-0lA(_arg1:int):String
        {
            var k:String = "";
            var k:int = 31;
            while (k >= 0)
            {
                k = (k + ((((_arg1 & (1 << k)) > 0)) ? "1" : "0"));
                k--;
            };
            return (k);
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2._-33Y

package _-0W2
{
    public class _-33Y 
    {

        public static function _-4x3(_arg1:Number):int
        {
            if (_arg1 >= 0)
            {
                return (Math.floor(_arg1));
            };
            return (Math.ceil(_arg1));
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2._-3FG

package _-0W2
{
    import _-48o._-4a8;
    import _-1B-.*;

    public interface _-3FG extends _-1zZ 
    {

        function distanceTo(_arg1:_-3FG):int;
        function directionTo(_arg1:_-3FG):Direction8;
        function getNodeAt(_arg1:Direction8):_-3FG;
        function directionIsBlocked(_arg1:Direction8, _arg2:_-4a8):Boolean;
        function getPathCost(_arg1:Direction8, _arg2:_-4a8):int;
        function set _-35W(_arg1:Direction8):void;
        function get _-35W():Direction8;
        function set _-0j8(_arg1:_-3FG):void;
        function get _-0j8():_-3FG;
        function set _-28o(_arg1:int):void;
        function get _-28o():int;
        function set _-0tu(_arg1:int):void;
        function get _-0tu():int;

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2.CollisionDetection

package _-0W2
{
    public class CollisionDetection 
    {

        public static const _-0H2:int = 0;
        public static const _-0SM:int = 1;
        public static const _-3jI:int = 2;
        public static const _-0Ir:int = 3;
        public static const _-20p:int = 4;
        public static const _-2Fl:int = 0;
        public static const _-4xK:int = 1;
        public static const _-4KQ:int = 2;
        public static const _-1Oi:int = 3;
        public static const _-5U:int = 4;
        public static const _-3G8:int = 5;

        public static function _-41y(_arg1:_-1N8, _arg2:_-1N8):Boolean
        {
            if (_arg2 == _arg1)
            {
                return (false);
            };
            switch (_arg2.boundingType)
            {
                case _-0H2:
                    break;
                case _-0SM:
                    break;
                case _-3jI:
                    switch (_arg1.boundingType)
                    {
                        case _-0SM:
                            if (_-pZ(_arg1, _arg2))
                            {
                                return (true);
                            };
                            break;
                        case _-3jI:
                            if (_-45z(_arg1, _arg2))
                            {
                                return (true);
                            };
                            break;
                        case _-20p:
                            if (_-3l2(_arg2, _arg1))
                            {
                                return (true);
                            };
                            break;
                    };
                    break;
                case _-20p:
                    switch (_arg1.boundingType)
                    {
                        case _-0SM:
                            if (_-BR(_arg1, _arg2))
                            {
                                return (true);
                            };
                            break;
                        case _-3jI:
                            if (_-3l2(_arg1, _arg2))
                            {
                                return (true);
                            };
                            break;
                        case _-20p:
                            if (_-1RI(_arg1, _arg2))
                            {
                                return (true);
                            };
                            break;
                    };
                    break;
                case _-0Ir:
                    if (_arg1.boundingType == _-0SM)
                    {
                        if (_-1KU(_arg1, _arg2))
                        {
                            return (true);
                        };
                    };
                    break;
            };
            return (false);
        }
        private static function _-pZ(_arg1:_-1N8, _arg2:_-1N8):Boolean
        {
            return (_arg1.location3D._-Gl(_arg2.location3D, _arg2.boundingData[0]));
        }
        private static function _-1KU(_arg1:_-1N8, _arg2:_-1N8):Boolean
        {
            var k:Array = _arg2.boundingData;
            if ((((((((_arg1.location3D.x > (_arg2.location3D.x + k[0]))) && ((_arg1.location3D.x < (_arg2.location3D.x + k[2]))))) && ((_arg1.location3D.y > (_arg2.location3D.y + k[1]))))) && ((_arg1.location3D.y < (_arg2.location3D.y + k[3])))))
            {
                return (true);
            };
            return (false);
        }
        private static function _-45z(_arg1:_-1N8, _arg2:_-1N8):Boolean
        {
            return (_arg1.location3D._-Gl(_arg2.location3D, (_arg1.boundingData[0] + _arg2.boundingData[0])));
        }
        private static function _-BR(_arg1:_-1N8, _arg2:_-1N8):Boolean
        {
            var k:int = _-1r0((_arg2.location3D.x - _arg1.location3D.x));
            if (k > _arg2.boundingData[5])
            {
                return (false);
            };
            var k:int = _-1r0((_arg2.location3D.y - _arg1.location3D.y));
            if (k > _arg2.boundingData[5])
            {
                return (false);
            };
            var k:int = (_arg2.location3D.x + _-33Y._-4x3(((Direction360._-06a(_arg2.direction360._-33x()) * _arg2.boundingData[3]) / 0x0100)));
            var k:int = (_arg2.location3D.y + _-33Y._-4x3(((Direction360._-3VR(_arg2.direction360._-33x()) * _arg2.boundingData[3]) / 0x0100)));
            if (_-0IC._-0Mc(k, k, _arg1.location3D.x, _arg1.location3D.y, _arg2.boundingData[0]))
            {
                return (true);
            };
            if (_-0IC._-0Mc(_arg2.location3D.x, _arg2.location3D.y, _arg1.location3D.x, _arg1.location3D.y, _arg2.boundingData[1]))
            {
                return (true);
            };
            var k:int = (_arg2.location3D.x + _-33Y._-4x3(((Direction360._-06a(_arg2.direction360._-33x()) * _arg2.boundingData[4]) / 0x0100)));
            var k:int = (_arg2.location3D.y + _-33Y._-4x3(((Direction360._-3VR(_arg2.direction360._-33x()) * _arg2.boundingData[4]) / 0x0100)));
            if (_-0IC._-0Mc(k, k, _arg1.location3D.x, _arg1.location3D.y, _arg2.boundingData[2]))
            {
                return (true);
            };
            return (false);
        }
        private static function _-3l2(_arg1:_-1N8, _arg2:_-1N8):Boolean
        {
            var k:int = _-1r0((_arg2.location3D.x - _arg1.location3D.x));
            if (k > (_arg1.boundingData[0] + _arg2.boundingData[5]))
            {
                return (false);
            };
            var k:int = _-1r0((_arg2.location3D.y - _arg1.location3D.y));
            if (k > (_arg1.boundingData[0] + _arg2.boundingData[5]))
            {
                return (false);
            };
            var k:int = (_arg2.location3D.x + _-33Y._-4x3(((Direction360._-06a(_arg2.direction360._-33x()) * _arg2.boundingData[3]) / 0x0100)));
            var k:int = (_arg2.location3D.y + _-33Y._-4x3(((Direction360._-3VR(_arg2.direction360._-33x()) * _arg2.boundingData[3]) / 0x0100)));
            if (_-0IC._-0Mc(k, k, _arg1.location3D.x, _arg1.location3D.y, (_arg2.boundingData[0] + _arg1.boundingData[0])))
            {
                return (true);
            };
            if (_-0IC._-0Mc(_arg2.location3D.x, _arg2.location3D.y, _arg1.location3D.x, _arg1.location3D.y, (_arg2.boundingData[1] + _arg1.boundingData[0])))
            {
                return (true);
            };
            var k:int = (_arg2.location3D.x + _-33Y._-4x3(((Direction360._-06a(_arg2.direction360._-33x()) * _arg2.boundingData[4]) / 0x0100)));
            var k:int = (_arg2.location3D.y + _-33Y._-4x3(((Direction360._-3VR(_arg2.direction360._-33x()) * _arg2.boundingData[4]) / 0x0100)));
            if (_-0IC._-0Mc(k, k, _arg1.location3D.x, _arg1.location3D.y, (_arg2.boundingData[2] + _arg1.boundingData[0])))
            {
                return (true);
            };
            return (false);
        }
        private static function _-1RI(_arg1:_-1N8, _arg2:_-1N8):Boolean
        {
            var k:int = _-1r0((_arg2.location3D.x - _arg1.location3D.x));
            if (k > (_arg1.boundingData[_-3G8] + _arg2.boundingData[_-3G8]))
            {
                return (false);
            };
            var k:int = _-1r0((_arg2.location3D.y - _arg1.location3D.y));
            if (k > (_arg1.boundingData[_-3G8] + _arg2.boundingData[_-3G8]))
            {
                return (false);
            };
            var k:int = (_arg1.location3D.x + _-33Y._-4x3(((Direction360._-06a(_arg1.direction360._-33x()) * _arg1.boundingData[_-1Oi]) / 0x0100)));
            var k:int = (_arg1.location3D.y + _-33Y._-4x3(((Direction360._-3VR(_arg1.direction360._-33x()) * _arg1.boundingData[_-1Oi]) / 0x0100)));
            var k:int = (_arg2.location3D.x + _-33Y._-4x3(((Direction360._-06a(_arg2.direction360._-33x()) * _arg2.boundingData[_-1Oi]) / 0x0100)));
            var k:int = (_arg2.location3D.y + _-33Y._-4x3(((Direction360._-3VR(_arg2.direction360._-33x()) * _arg2.boundingData[_-1Oi]) / 0x0100)));
            if (_-0IC._-0Mc(k, k, k, k, (_arg1.boundingData[_-2Fl] + _arg2.boundingData[_-2Fl])))
            {
                return (true);
            };
            if (_-0IC._-0Mc(k, k, _arg2.location3D.x, _arg2.location3D.y, (_arg1.boundingData[_-2Fl] + _arg2.boundingData[_-4xK])))
            {
                return (true);
            };
            var k:int = (_arg2.location3D.x + _-33Y._-4x3(((Direction360._-06a(_arg2.direction360._-33x()) * _arg2.boundingData[_-5U]) / 0x0100)));
            var k:int = (_arg2.location3D.y + _-33Y._-4x3(((Direction360._-3VR(_arg2.direction360._-33x()) * _arg2.boundingData[_-5U]) / 0x0100)));
            if (_-0IC._-0Mc(k, k, k, k, (_arg1.boundingData[_-2Fl] + _arg2.boundingData[_-4KQ])))
            {
                return (true);
            };
            if (_-0IC._-0Mc(_arg1.location3D.x, _arg1.location3D.y, k, k, (_arg1.boundingData[_-4xK] + _arg2.boundingData[_-2Fl])))
            {
                return (true);
            };
            if (_-0IC._-0Mc(_arg1.location3D.x, _arg1.location3D.y, _arg2.location3D.x, _arg2.location3D.y, (_arg1.boundingData[_-4xK] + _arg2.boundingData[_-4xK])))
            {
                return (true);
            };
            if (_-0IC._-0Mc(_arg1.location3D.x, _arg1.location3D.y, k, k, (_arg1.boundingData[_-4xK] + _arg2.boundingData[_-4KQ])))
            {
                return (true);
            };
            var k:int = (_arg1.location3D.x + _-33Y._-4x3(((Direction360._-06a(_arg1.direction360._-33x()) * _arg1.boundingData[_-5U]) / 0x0100)));
            var k:int = (_arg1.location3D.y + _-33Y._-4x3(((Direction360._-3VR(_arg1.direction360._-33x()) * _arg1.boundingData[_-5U]) / 0x0100)));
            if (_-0IC._-0Mc(k, k, k, k, (_arg1.boundingData[_-4KQ] + _arg2.boundingData[_-2Fl])))
            {
                return (true);
            };
            if (_-0IC._-0Mc(k, k, _arg2.location3D.x, _arg2.location3D.y, (_arg1.boundingData[_-4KQ] + _arg2.boundingData[_-4xK])))
            {
                return (true);
            };
            if (_-0IC._-0Mc(k, k, k, k, (_arg1.boundingData[_-4KQ] + _arg2.boundingData[_-4KQ])))
            {
                return (true);
            };
            return (false);
        }
        protected static function _-1r0(_arg1:int):int
        {
            if (_arg1 < 0)
            {
                return (-(_arg1));
            };
            return (_arg1);
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2.Direction360

package _-0W2
{
    import _-1B-.*;

    public class Direction360 implements _-1zZ 
    {

        private static const _-3KR:Number = 1;
        public static const N:int = 0;
        public static const NE:int = 45;
        public static const E:int = 90;
        public static const SE:int = 135;
        public static const S:int = 180;
        public static const SW:int = 225;
        public static const W:int = 270;
        public static const NW:int = 315;

        private static var _-0US:Array = [[0, 4, 8, 13, 17, 22, 26, 31, 35, 40, 44, 48, 53, 57, 61, 66, 70, 74, 79, 83, 87, 91, 95, 100, 104, 108, 112, 116, 120, 124, 127, 131, 135, 139, 143, 146, 150, 154, 157, 161, 164, 167, 171, 174, 177, 181, 184, 187, 190, 193, 196, 198, 201, 204, 207, 209, 212, 214, 217, 219, 221, 223, 226, 228, 230, 232, 233, 235, 237, 238, 240, 242, 243, 244, 246, 247, 248, 249, 250, 251, 252, 252, 253, 254, 254, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0100, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 254, 254, 253, 252, 252, 251, 250, 249, 248, 247, 246, 244, 243, 242, 240, 238, 237, 235, 233, 232, 230, 228, 226, 223, 221, 219, 217, 214, 212, 209, 207, 204, 201, 198, 196, 193, 190, 187, 184, 181, 177, 174, 171, 167, 164, 161, 157, 154, 150, 146, 143, 139, 135, 131, 127, 124, 120, 116, 112, 108, 104, 100, 95, 91, 87, 83, 79, 74, 70, 66, 61, 57, 53, 48, 44, 40, 35, 31, 26, 22, 17, 13, 8, 4, 0, -4, -8, -13, -17, -22, -26, -31, -35, -40, -44, -48, -53, -57, -61, -66, -70, -74, -79, -83, -87, -91, -95, -100, -104, -108, -112, -116, -120, -124, -128, -131, -135, -139, -143, -146, -150, -154, -157, -161, -164, -167, -171, -174, -177, -181, -184, -187, -190, -193, -196, -198, -201, -204, -207, -209, -212, -214, -217, -219, -221, -223, -226, -228, -230, -232, -233, -235, -237, -238, -240, -242, -243, -244, -246, -247, -248, -249, -250, -251, -252, -252, -253, -254, -254, -255, -255, -255, -255, -255, -256, -255, -255, -255, -255, -255, -254, -254, -253, -252, -252, -251, -250, -249, -248, -247, -246, -244, -243, -242, -240, -238, -237, -235, -233, -232, -230, -228, -226, -223, -221, -219, -217, -214, -212, -209, -207, -204, -201, -198, -196, -193, -190, -187, -184, -181, -177, -174, -171, -167, -164, -161, -157, -154, -150, -146, -143, -139, -135, -131, -128, -124, -120, -116, -112, -108, -104, -100, -95, -91, -87, -83, -79, -74, -70, -66, -61, -57, -53, -48, -44, -40, -35, -31, -26, -22, -17, -13, -8, -4], [-256, -255, -255, -255, -255, -255, -254, -254, -253, -252, -252, -251, -250, -249, -248, -247, -246, -244, -243, -242, -240, -238, -237, -235, -233, -232, -230, -228, -226, -223, -221, -219, -217, -214, -212, -209, -207, -204, -201, -198, -196, -193, -190, -187, -184, -181, -177, -174, -171, -167, -164, -161, -157, -154, -150, -146, -143, -139, -135, -131, -128, -124, -120, -116, -112, -108, -104, -100, -95, -91, -87, -83, -79, -74, -70, -66, -61, -57, -53, -48, -44, -40, -35, -31, -26, -22, -17, -13, -8, -4, 0, 4, 8, 13, 17, 22, 26, 31, 35, 40, 44, 48, 53, 57, 61, 66, 70, 74, 79, 83, 87, 91, 95, 100, 104, 108, 112, 116, 120, 124, 127, 131, 135, 139, 143, 146, 150, 154, 157, 161, 164, 167, 171, 174, 177, 181, 184, 187, 190, 193, 196, 198, 201, 204, 207, 209, 212, 214, 217, 219, 221, 223, 226, 228, 230, 232, 233, 235, 237, 238, 240, 242, 243, 244, 246, 247, 248, 249, 250, 251, 252, 252, 253, 254, 254, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0100, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 254, 254, 253, 252, 252, 251, 250, 249, 248, 247, 246, 244, 243, 242, 240, 238, 237, 235, 233, 232, 230, 228, 226, 223, 221, 219, 217, 214, 212, 209, 207, 204, 201, 198, 196, 193, 190, 187, 184, 181, 177, 174, 171, 167, 164, 161, 157, 154, 150, 146, 143, 139, 135, 131, 128, 124, 120, 116, 112, 108, 104, 100, 95, 91, 87, 83, 79, 74, 70, 66, 61, 57, 53, 48, 44, 40, 35, 31, 26, 22, 17, 13, 8, 4, 0, -4, -8, -13, -17, -22, -26, -31, -35, -40, -44, -48, -53, -57, -61, -66, -70, -74, -79, -83, -87, -91, -95, -100, -104, -108, -112, -116, -120, -124, -128, -131, -135, -139, -143, -146, -150, -154, -157, -161, -164, -167, -171, -174, -177, -181, -184, -187, -190, -193, -196, -198, -201, -204, -207, -209, -212, -214, -217, -219, -221, -223, -226, -228, -230, -232, -233, -235, -237, -238, -240, -242, -243, -244, -246, -247, -248, -249, -250, -251, -252, -252, -253, -254, -254, -255, -255, -255, -255, -255]];
        private static var _-3Zs:Array = [0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 30, 30, 30, 30, 30, 30, 31, 31, 31, 31, 31, 31, 32, 32, 32, 32, 32, 32, 33, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 34, 34, 35, 35, 35, 35, 35, 35, 36, 36, 36, 36, 36, 36, 36, 37, 37, 37, 37, 37, 37, 37, 38, 38, 38, 38, 38, 38, 38, 39, 39, 39, 39, 39, 39, 39, 39, 40, 40, 40, 40, 40, 40, 40, 41, 41, 41, 41, 41, 41, 41, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 43, 43, 43, 43, 43, 43, 43, 44, 44, 44, 44, 44, 44, 44, 44, 44, 45, 45, 45, 45, 45];

        private var _-0gG:int = 0;
        private var _-4Bk:Boolean = false;

        public function Direction360(_arg1:int)
        {
            this._-0gG = _arg1;
        }
        public static function validateDirection360Value(_arg1:int):int
        {
            if (_arg1 > 359)
            {
                k = (_arg1 % 360);
            }
            else
            {
                if (_arg1 < 0)
                {
                    k = (360 + (_arg1 % 360));
                };
            };
            return (_arg1);
        }
        public static function direction360ValueToDirection8(_arg1:int):Direction8
        {
            return (Direction8._-4DE(Direction8.validateDirection8Value((_-33Y._-4x3((validateDirection360Value((_arg1 - 22)) / 45)) + 1))));
        }
        public static function direction8ToDirection360Value(_arg1:Direction8):int
        {
            switch (_arg1._-33x())
            {
                case 0:
                    return (Direction360.N);
                case 1:
                    return (Direction360.NE);
                case 2:
                    return (Direction360.E);
                case 3:
                    return (Direction360.SE);
                case 4:
                    return (Direction360.S);
                case 5:
                    return (Direction360.SW);
                case 6:
                    return (Direction360.W);
                case 7:
                    return (Direction360.NW);
            };
            return (-1);
        }
        public static function _-06a(_arg1:int):int
        {
            k = validateDirection360Value(_arg1);
            return (_-0US[0][k]);
        }
        public static function _-3VR(_arg1:int):int
        {
            k = validateDirection360Value(_arg1);
            return (_-0US[1][k]);
        }
        public static function _-4uM(_arg1:int, _arg2:int):int
        {
            var k:int;
            if (_-1r0(_arg1) <= _-1r0(_arg2))
            {
                if (_arg2 == 0)
                {
                    k = 1;
                };
                k = (_arg1 * 0x0100);
                k = _-33Y._-4x3((k / _arg2));
                if (k < 0)
                {
                    k = -(k);
                };
                if (k > 0xFF)
                {
                    k = 0xFF;
                };
                if (_arg2 < 0)
                {
                    if (k > 0)
                    {
                        return (_-3Zs[k]);
                    };
                    return ((360 - _-3Zs[k]));
                };
                if (k > 0)
                {
                    return ((180 - _-3Zs[k]));
                };
                return ((180 + _-3Zs[k]));
            };
            if (_arg1 == 0)
            {
                k = 1;
            };
            k = (_arg2 * 0x0100);
            k = _-33Y._-4x3((k / _arg1));
            if (k < 0)
            {
                k = -(k);
            };
            if (k > 0xFF)
            {
                k = 0xFF;
            };
            if (k < 0)
            {
                if (_arg1 > 0)
                {
                    return ((90 - _-3Zs[k]));
                };
                return ((270 + _-3Zs[k]));
            };
            if (_arg1 > 0)
            {
                return ((90 + _-3Zs[k]));
            };
            return ((270 - _-3Zs[k]));
        }
        public static function _-1r0(_arg1:int):int
        {
            if (_arg1 < 0)
            {
                return (-(_arg1));
            };
            return (_arg1);
        }
        private static function _-2Km(_arg1:int, _arg2:int):int
        {
            return (int(Math.atan2(Number(_arg1), ((Number(_arg2) * 57.295) + 0.5))));
        }

        public function dispose():void
        {
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function _-33x():int
        {
            return (this._-0gG);
        }
        public function _-4jt(_arg1:int):void
        {
            this._-0gG = validateDirection360Value(_arg1);
        }
        public function _-3Sg(_arg1:int):void
        {
            this._-0gG = (this._-0gG + _arg1);
            this._-0gG = validateDirection360Value(this._-0gG);
        }
        public function toString():String
        {
            return ((("[" + this._-0gG) + "]"));
        }
        public function direction8Value():Direction8
        {
            return (direction360ValueToDirection8(this._-0gG));
        }
        public function _-06a():int
        {
            return (_-0US[0][this._-0gG]);
        }
        public function _-3VR():int
        {
            return (_-0US[1][this._-0gG]);
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2.Direction8

package _-0W2
{
    public class Direction8 
    {

        public static const N:Direction8 = new Direction8(0, "N", 0, -1);
        public static const NE:Direction8 = new Direction8(1, "NE", 1, -1);
        public static const E:Direction8 = new Direction8(2, "E", 1, 0);
        public static const SE:Direction8 = new Direction8(3, "SE", 1, 1);
        public static const S:Direction8 = new Direction8(4, "S", 0, 1);
        public static const SW:Direction8 = new Direction8(5, "SW", -1, 1);
        public static const W:Direction8 = new Direction8(6, "W", -1, 0);
        public static const NW:Direction8 = new Direction8(7, "NW", -1, -1);
        public static const _-4vn:Direction8 = S;
        public static const _-0JN:Direction8 = SW;

        public static var _-PD:Array = [];
        private static var _-3Zs:Array = [0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 30, 30, 30, 30, 30, 30, 31, 31, 31, 31, 31, 31, 32, 32, 32, 32, 32, 32, 33, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 34, 34, 35, 35, 35, 35, 35, 35, 36, 36, 36, 36, 36, 36, 36, 37, 37, 37, 37, 37, 37, 37, 38, 38, 38, 38, 38, 38, 38, 39, 39, 39, 39, 39, 39, 39, 39, 40, 40, 40, 40, 40, 40, 40, 41, 41, 41, 41, 41, 41, 41, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 43, 43, 43, 43, 43, 43, 43, 44, 44, 44, 44, 44, 44, 44, 44, 44, 45, 45, 45, 45, 45];

        private var _-3r2:int;
        private var _-02w:int;
        private var _-0FG:int;
        private var _-3JV:String;

        public function Direction8(_arg1:int, _arg2:String, _arg3:int, _arg4:int)
        {
            this._-3r2 = _arg1;
            this._-3JV = _arg2;
            this._-02w = _arg3;
            this._-0FG = _arg4;
            _-PD[_arg1] = this;
        }
        public static function _-4DE(_arg1:int):Direction8
        {
            if ((((_arg1 < 0)) || ((_arg1 > 7))))
            {
                return (null);
            };
            return (_-PD[_arg1]);
        }
        public static function validateDirection8Value(_arg1:int):int
        {
            return ((_arg1 & 7));
        }
        public static function _-3AN(_arg1:int, _arg2:int, _arg3:int, _arg4:int):Direction8
        {
            var k:int = (_arg3 - _arg1);
            var k:int = (_arg4 - _arg2);
            if ((((k == 0)) && ((k < 0))))
            {
                return (N);
            };
            if ((((k == 0)) && ((k > 0))))
            {
                return (S);
            };
            if ((((k > 0)) && ((k < 0))))
            {
                return (NE);
            };
            if ((((k > 0)) && ((k == 0))))
            {
                return (E);
            };
            if ((((k > 0)) && ((k > 0))))
            {
                return (SE);
            };
            if ((((k < 0)) && ((k < 0))))
            {
                return (NW);
            };
            if ((((k < 0)) && ((k == 0))))
            {
                return (W);
            };
            if ((((k < 0)) && ((k > 0))))
            {
                return (SW);
            };
            return (null);
        }
        private static function validateDirection360Value(_arg1:int):int
        {
            if (_arg1 > 359)
            {
                k = (_arg1 % 360);
            }
            else
            {
                if (_arg1 < 0)
                {
                    k = (360 + (_arg1 % 360));
                };
            };
            return (_arg1);
        }
        private static function _-4uM(_arg1:int, _arg2:int):int
        {
            var k:int;
            if (Math.abs(_arg1) <= Math.abs(_arg2))
            {
                if (_arg2 == 0)
                {
                    k = 1;
                };
                k = (_arg1 * 0x0100);
                k = _-33Y._-4x3((k / _arg2));
                if (k < 0)
                {
                    k = -(k);
                };
                if (k > 0xFF)
                {
                    k = 0xFF;
                };
                if (_arg2 < 0)
                {
                    if (k > 0)
                    {
                        return (_-3Zs[k]);
                    };
                    return ((360 - _-3Zs[k]));
                };
                if (k > 0)
                {
                    return ((180 - _-3Zs[k]));
                };
                return ((180 + _-3Zs[k]));
            };
            if (_arg1 == 0)
            {
                k = 1;
            };
            k = (_arg2 * 0x0100);
            k = _-33Y._-4x3((k / _arg1));
            if (k < 0)
            {
                k = -(k);
            };
            if (k > 0xFF)
            {
                k = 0xFF;
            };
            if (k < 0)
            {
                if (_arg1 > 0)
                {
                    return ((90 - _-3Zs[k]));
                };
                return ((270 + _-3Zs[k]));
            };
            if (_arg1 > 0)
            {
                return ((90 + _-3Zs[k]));
            };
            return ((270 - _-3Zs[k]));
        }

        public function _-33x():int
        {
            return (this._-3r2);
        }
        public function _-2ei():Direction8
        {
            return (this._-3Sg(4));
        }
        public function rotateDirection45Degrees(_arg1:Boolean):Direction8
        {
            return (this._-3Sg(((_arg1) ? 1 : -1)));
        }
        public function rotateDirection90Degrees(_arg1:Boolean):Direction8
        {
            return (this._-3Sg(((_arg1) ? 2 : -2)));
        }
        public function _-3ai():Boolean
        {
            return (((this._-3r2 % 2) == 0));
        }
        public function _-3eb():int
        {
            return (this._-3r2);
        }
        public function _-3Sg(_arg1:int):Direction8
        {
            var k:int = (this._-3r2 + _arg1);
            k = validateDirection8Value(k);
            return (_-PD[k]);
        }
        public function toString():String
        {
            return ((((this._-3JV + "(") + this._-3r2.toString()) + ")"));
        }
        public function _-2FH():String
        {
            return (this._-3JV);
        }
        public function _-1bx():int
        {
            return (this._-02w);
        }
        public function _-1M1():int
        {
            return (this._-0FG);
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2.SnowWarAnimatedWindowElement

package _-0W2
{
    import _-1ae.IBitmapWrapperWindow;
    import flash.utils.Timer;
    import flash.display.BitmapData;
    import flash.events.TimerEvent;
    import _-295._-39L;
    import flash.geom.Point;
    import _-1B-.*;

    public class SnowWarAnimatedWindowElement implements _-1zZ 
    {

        private var _-hl:int;
        private var _-1Ur:String;
        private var _-0eh:Array;
        private var _-4GQ:int;
        private var _-46m:IBitmapWrapperWindow;
        private var _-2J0:Timer;
        private var _disposed:Boolean = false;

        public function SnowWarAnimatedWindowElement(_arg1:_-39L, _arg2:IBitmapWrapperWindow, _arg3:String, _arg4:int, _arg5:int=100, _arg6:Boolean=false)
        {
            var k:int;
            this._-0eh = [];
            super();
            this._-46m = _arg2;
            this._-1Ur = _arg3;
            this._-hl = _arg4;
            k = 1;
            while (k <= this._-hl)
            {
                if (_arg1.hasAsset((this._-1Ur + k)))
                {
                    this._-0eh.push((_arg1.getAssetByName((this._-1Ur + k)).content as BitmapData));
                }
                else
                {
                    this._-0eh.push(new BitmapData(1, 1));
                    _-Nb.log((("Missing asset for Snow War: " + this._-1Ur) + k));
                };
                k++;
            };
            if (_arg6)
            {
                this._-hl = (this._-hl + (_arg4 - 2));
                k = (_arg4 - 1);
                while (k > 1)
                {
                    if (_arg1.hasAsset((this._-1Ur + k)))
                    {
                        this._-0eh.push((_arg1.getAssetByName((this._-1Ur + k)).content as BitmapData));
                    }
                    else
                    {
                        this._-0eh.push(new BitmapData(1, 1));
                        _-Nb.log((("Missing loop asset for Snow War: " + this._-1Ur) + k));
                    };
                    k--;
                };
            };
            this.update();
            this._-2J0 = new Timer(_arg5);
            this._-2J0.addEventListener(TimerEvent.TIMER, this._-0wE);
            this._-2J0.start();
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-2J0.removeEventListener(TimerEvent.TIMER, this._-0wE);
                this._-2J0.stop();
                this._-2J0 = null;
                if (((this._-46m) && (this._-46m.bitmap)))
                {
                    this._-46m.bitmap.fillRect(this._-46m.bitmap.rect, 0);
                    this._-46m.invalidate();
                };
                this._-46m = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-0wE(_arg1:TimerEvent):void
        {
            this.update();
        }
        private function update():void
        {
            this._-4GQ = (++this._-4GQ % this._-hl);
            if (!this._-46m.bitmap)
            {
                this._-46m.bitmap = new BitmapData(this._-46m.width, this._-46m.height);
            };
            this._-46m.bitmap.fillRect(this._-46m.bitmap.rect, 0);
            var k:BitmapData = this._-0eh[this._-4GQ];
            var k:Point = new Point(((this._-46m.width - k.width) / 2), ((this._-46m.height - k.height) / 2));
            this._-46m.bitmap.copyPixels(k, k.rect, k);
            this._-46m.invalidate();
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2.SquareRoot

package _-0W2
{
    public class SquareRoot 
    {

        private static var _-1jF:Array = [0, 16, 22, 27, 32, 35, 39, 42, 45, 48, 50, 53, 55, 57, 59, 61, 64, 65, 67, 69, 71, 73, 75, 76, 78, 80, 81, 83, 84, 86, 87, 89, 90, 91, 93, 94, 96, 97, 98, 99, 101, 102, 103, 104, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 128, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 144, 145, 146, 147, 148, 149, 150, 150, 151, 152, 153, 154, 155, 155, 156, 157, 158, 159, 160, 160, 161, 162, 163, 163, 164, 165, 166, 167, 167, 168, 169, 170, 170, 171, 172, 173, 173, 174, 175, 176, 176, 177, 178, 178, 179, 180, 181, 181, 182, 183, 183, 184, 185, 185, 186, 187, 187, 188, 189, 189, 190, 191, 192, 192, 193, 193, 194, 195, 195, 196, 197, 197, 198, 199, 199, 200, 201, 201, 202, 203, 203, 204, 204, 205, 206, 206, 207, 208, 208, 209, 209, 210, 211, 211, 212, 212, 213, 214, 214, 215, 215, 216, 217, 217, 218, 218, 219, 219, 220, 221, 221, 222, 222, 223, 224, 224, 225, 225, 226, 226, 227, 227, 228, 229, 229, 230, 230, 231, 231, 232, 232, 233, 234, 234, 235, 235, 236, 236, 237, 237, 238, 238, 239, 240, 240, 241, 241, 242, 242, 243, 243, 244, 244, 245, 245, 246, 246, 247, 247, 248, 248, 249, 249, 250, 250, 251, 251, 252, 252, 253, 253, 254, 254, 0xFF];

        public static function _-0yv(_arg1:int):int
        {
            if (_arg1 >= 65536)
            {
                if (_arg1 >= 16777216)
                {
                    if (_arg1 >= 0x10000000)
                    {
                        if (_arg1 >= 0x40000000)
                        {
                            return ((_-1jF[(_arg1 >> 24)] << 8));
                        };
                        return ((_-1jF[(_arg1 >> 22)] << 7));
                    };
                    if (_arg1 >= 67108864)
                    {
                        return ((_-1jF[(_arg1 >> 20)] << 6));
                    };
                    return ((_-1jF[(_arg1 >> 18)] << 5));
                };
                if (_arg1 >= 0x100000)
                {
                    if (_arg1 >= 0x400000)
                    {
                        return ((_-1jF[(_arg1 >> 16)] << 4));
                    };
                    return ((_-1jF[(_arg1 >> 14)] << 3));
                };
                if (_arg1 >= 262144)
                {
                    return ((_-1jF[(_arg1 >> 12)] << 2));
                };
                return ((_-1jF[(_arg1 >> 10)] << 1));
            };
            if (_arg1 >= 0x0100)
            {
                if (_arg1 >= 0x1000)
                {
                    if (_arg1 >= 0x4000)
                    {
                        return (_-1jF[(_arg1 >> 8)]);
                    };
                    return ((_-1jF[(_arg1 >> 6)] >> 1));
                };
                if (_arg1 >= 0x0400)
                {
                    return ((_-1jF[(_arg1 >> 4)] >> 2));
                };
                return ((_-1jF[(_arg1 >> 2)] >> 3));
            };
            if (_arg1 >= 0)
            {
                return ((_-1jF[_arg1] >> 4));
            };
            return (-1);
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0W2.WindowUtils

package _-0W2
{
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-1ae.IItemGridWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IDisplayObjectWrapper;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.display.Bitmap;
    import _-295._-243;
    import _-295._-2kE;
    import _-3EM.PropertyStruct;
    import _-295.BitmapDataAsset;
    import _-1ae.ITextWindow;

    public class WindowUtils 
    {

        private static var _assets:_-39L;
        private static var _-U-:_-3Ts;

        public static function _-50j(_arg1:IWindow, _arg2:String):void
        {
            var k:IWindow;
            _arg1.caption = _arg2;
            if ((_arg1.parent is IWindowContainer))
            {
                k = (_arg1.parent as IWindowContainer).findChildByName((_arg1.name + "_stroke"));
            };
            if ((_arg1.parent is IItemListWindow))
            {
                k = (_arg1.parent as IItemListWindow).getListItemByName((_arg1.name + "_stroke"));
            };
            if ((_arg1.parent is IItemGridWindow))
            {
                k = (_arg1.parent as IItemGridWindow)._-5g((_arg1.name + "_stroke"));
            };
            if (k)
            {
                if (k.caption != _arg2)
                {
                    k.caption = _arg2;
                };
            };
        }
        public static function init(_arg1:_-39L, _arg2:_-3Ts):void
        {
            _assets = _arg1;
            _-U- = _arg2;
        }
        public static function _-qb(_arg1:IWindow, _arg2:BitmapData, _arg3:int=0, _arg4:int=0, _arg5:int=0):void
        {
            var k:IBitmapWrapperWindow;
            var k:IDisplayObjectWrapper;
            if (_arg2 == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1.disposed)
            {
                return;
            };
            var k:int = (((_arg3)>0) ? _arg3 : _arg1.height);
            var k:int = (((_arg1.width - _arg2.width) / 2) + _arg4);
            var k:int = (((k - _arg2.height) / 2) + _arg5);
            if ((_arg1 as IBitmapWrapperWindow) != null)
            {
                k = IBitmapWrapperWindow(_arg1);
                if ((((k.bitmap == null)) || ((_arg3 > 0))))
                {
                    k.bitmap = new BitmapData(_arg1.width, k, true, 0xFFFFFF);
                };
                k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
                k.bitmap.copyPixels(_arg2, _arg2.rect, new Point(k, k), null, null, false);
                _arg1.invalidate();
            }
            else
            {
                if ((_arg1 as IDisplayObjectWrapper) != null)
                {
                    k = IDisplayObjectWrapper(_arg1);
                    k.setDisplayObject(new Bitmap(_arg2));
                };
            };
        }
        public static function createWindow(_arg1:String, _arg2:int=2):IWindow
        {
            var k:IWindow;
            var k:IBitmapWrapperWindow;
            HabboGamesCom.log(("CreateWindow: " + _arg1));
            if (((!(_assets)) || (!(_-U-))))
            {
                return (null);
            };
            var k:_-243 = (_assets.getAssetByName(_arg1) as _-243);
            if (k == null)
            {
                HabboGamesCom.log(("CreateWindow() could not find the asset for window: " + _arg1));
                return (null);
            };
            var k:IWindow = _-U-.buildFromXML((k.content as XML), _arg2);
            var k:Array = [];
            if ((k is IWindowContainer))
            {
                (k as IWindowContainer)._-507("bitmap", k, -1);
            }
            else
            {
                if ((k is IItemListWindow))
                {
                    (k as IItemListWindow)._-07n("bitmap", k, -1);
                }
                else
                {
                    if ((k is IItemGridWindow))
                    {
                    };
                };
            };
            for each (k in k)
            {
                HabboGamesCom.log(("Found child: " + k.name));
            };
            for each (k in k)
            {
                if (k == null)
                {
                }
                else
                {
                    _-1t9(k, false);
                };
            };
            return (k);
        }
        private static function _-1t9(_arg1:IBitmapWrapperWindow, _arg2:Boolean):void
        {
            var asset:_-2kE;
            var assetName:String;
            var src:BitmapData;
            var bmpWindow:IBitmapWrapperWindow = _arg1;
            var active:Boolean = _arg2;
            if (!_assets)
            {
                return;
            };
            if (bmpWindow == null)
            {
                return;
            };
            var result:Array = bmpWindow.properties.filter(function (_arg1, _arg2:int, _arg3:Array):Boolean
            {
                return ((PropertyStruct(_arg1).key == "bitmap_asset_name"));
            });
            var offset:Point = new Point();
            if (((result) && (result.length)))
            {
                assetName = (PropertyStruct(result[0]).value as String);
                HabboGamesCom.log(((("Found Image: " + bmpWindow.name) + " : ") + assetName));
                if (active)
                {
                    assetName = assetName.replace("_on", "");
                };
                asset = _assets.getAssetByName(assetName);
                if (((asset) && ((asset is BitmapDataAsset))))
                {
                    bmpWindow.bitmap = new BitmapData(bmpWindow.width, bmpWindow.height, true, 0);
                    src = (asset.content as BitmapData);
                    offset.x = ((bmpWindow.width - src.width) / 2);
                    offset.y = ((bmpWindow.height - src.height) / 2);
                    bmpWindow.bitmap.copyPixels(src, src.rect, offset);
                };
            };
        }
        public static function _-1Mx(_arg1:IWindowContainer, _arg2:String):void
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            if (k)
            {
                k.visible = false;
            };
            var k:IWindow = _arg1.findChildByName((_arg2 + "_stroke"));
            if (k)
            {
                k.visible = false;
            };
        }
        public static function _-3ga(_arg1:IWindow, _arg2:uint):void
        {
            var k:ITextWindow;
            var k:Array = [];
            if ((_arg1 is IWindowContainer))
            {
                (_arg1 as IWindowContainer)._-507("stroke", k, 10);
            }
            else
            {
                if ((_arg1 is IItemListWindow))
                {
                    (_arg1 as IItemListWindow)._-07n("stroke", k, 10);
                }
                else
                {
                    if ((_arg1 is IItemGridWindow))
                    {
                    };
                };
            };
            for each (k in k)
            {
                if (k == null)
                {
                }
                else
                {
                    k.textColor = _arg2;
                };
            };
        }
        public static function _-Ny(_arg1:IWindowContainer, _arg2:String):void
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            if (k)
            {
                k.visible = true;
            };
            var k:IWindow = _arg1.findChildByName((_arg2 + "_stroke"));
            if (k)
            {
                k.visible = true;
            };
        }

    }
}//package _-0W2

//------------------------------------------------------------
//_-0y0._-06R

package _-0y0
{
    public interface _-06R 
    {

        function get x():Number;
        function get y():Number;
        function get z():Number;
        function get length():Number;

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0._-074

package _-0y0
{
    import flash.geom.Point;

    public class _-074 
    {

        public static function _-3SY(_arg1:Point, _arg2:Point):Point
        {
            return (new Point((_arg1.x + _arg2.x), (_arg1.y + _arg2.y)));
        }
        public static function _-0XL(_arg1:Point, _arg2:Point):Point
        {
            return (new Point((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)));
        }
        public static function _-2Dq(_arg1:Point, _arg2:Number):Point
        {
            return (new Point((_arg1.x * _arg2), (_arg1.y * _arg2)));
        }

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0._-2bT

package _-0y0
{
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.geom.Matrix;

    public class _-2bT 
    {

        public static function line(_arg1:BitmapData, _arg2:Point, _arg3:Point, _arg4:int):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int = _arg2.x;
            var k:int = _arg2.y;
            k = (_arg3.x - _arg2.x);
            k = (_arg3.y - _arg2.y);
            k = (((k)>0) ? 1 : -1);
            k = (((k)>0) ? 1 : -1);
            k = Math.abs(k);
            k = Math.abs(k);
            _arg1.lock();
            _arg1.setPixel32(k, k, _arg4);
            if ((((k == 0)) && ((k == 0))))
            {
                return;
            };
            if (k > k)
            {
                k = (k - 1);
                while (k >= 0)
                {
                    k = (k + k);
                    k = (k + k);
                    if (k >= (k / 2))
                    {
                        k = (k - k);
                        k = (k + k);
                    };
                    _arg1.setPixel32(k, k, _arg4);
                    k--;
                };
            }
            else
            {
                k = (k - 1);
                while (k >= 0)
                {
                    k = (k + k);
                    k = (k + k);
                    if (k >= (k / 2))
                    {
                        k = (k - k);
                        k = (k + k);
                    };
                    _arg1.setPixel32(k, k, _arg4);
                    k--;
                };
            };
            _arg1.setPixel32(_arg3.x, _arg3.y, _arg4);
            _arg1.unlock();
        }
        public static function _-44s(_arg1:BitmapData):BitmapData
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:BitmapData;
            k = new BitmapData(_arg1.width, _arg1.height, true, 0xFFFFFF);
            var k:Matrix = new Matrix();
            k.scale(-1, 1);
            k.translate(_arg1.width, 0);
            k.draw(_arg1, k);
            return (k);
        }
        public static function _-3Rr(_arg1:BitmapData):BitmapData
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:BitmapData;
            k = new BitmapData(_arg1.width, _arg1.height, true, 0xFFFFFF);
            var k:Matrix = new Matrix();
            k.scale(1, -1);
            k.translate(0, _arg1.height);
            k.draw(_arg1, k);
            return (k);
        }
        public static function _-3RM(_arg1:BitmapData):BitmapData
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:BitmapData;
            k = new BitmapData(_arg1.width, _arg1.height, true, 0xFFFFFF);
            var k:Matrix = new Matrix();
            k.scale(-1, -1);
            k.translate(_arg1.width, _arg1.height);
            k.draw(_arg1, k);
            return (k);
        }

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0._-2QE

package _-0y0
{
    import _-18r.Map;
    import flash.geom.Point;

    public class _-2QE implements _-3q6 
    {

        public static const _-4U2:Number = 64;
        public static const _-4Jv:Number = 32;

        private var _-0bC:int = 0;
        private var _-2dX:_-Xl;
        private var _-4TA:_-Xl;
        private var _-0l1:_-Xl;
        private var _-0P8:_-Xl;
        private var _location:_-Xl;
        private var _-3r2:_-Xl;
        private var _-1Fo:_-Xl;
        private var _-3Tb:Number = 1;
        private var _-0Nd:Number = 1;
        private var _-5-1:Number = 1;
        private var _-4Qh:Number = 1;
        private var _-2hS:Number = 1;
        private var _-5I:Number = 1;
        private var _-iz:Number = 1;
        private var _-0cX:_-Xl;
        private var _-ai:_-Xl;
        private var _-5CJ:Number = -500;
        private var _-51q:Number = 500;
        private var _-3jf:Map = null;

        public function _-2QE(_arg1:Number, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R=null)
        {
            this.scale = _arg1;
            this._-2dX = new _-Xl();
            this._-4TA = new _-Xl();
            this._-0l1 = new _-Xl();
            this._-0P8 = new _-Xl();
            this._location = new _-Xl();
            this._-3r2 = new _-Xl();
            this._-1Fo = new _-Xl();
            this._-2hS = 1;
            this._-5I = 1;
            this._-41z = 1;
            this._-g2 = 1;
            this._-iz = (Math.sqrt((1 / 2)) / Math.sqrt((3 / 4)));
            this._-v9 = 1;
            this.location = new _-Xl(_arg3.x, _arg3.y, _arg3.z);
            this.direction = new _-Xl(_arg2.x, _arg2.y, _arg2.z);
            if (_arg4 != null)
            {
                this._-4SC(_arg4);
            }
            else
            {
                this._-4SC(_arg2);
            };
            this._-3jf = new Map();
        }
        public static function _-fT(_arg1:_-06R, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R):_-06R
        {
            var k:Number = _-Xl._-4DW(_arg2, _arg4);
            if (Math.abs(k) < 1E-5)
            {
                return (null);
            };
            var k:_-Xl = _-Xl._-4gy(_arg1, _arg3);
            var k:Number = (-(_-Xl._-4DW(_arg4, k)) / k);
            var k:_-Xl = _-Xl._-3SY(_arg1, _-Xl.product(_arg2, k));
            return (k);
        }

        public function get _-3KH():int
        {
            return (this._-0bC);
        }
        public function get scale():Number
        {
            return ((this._-3Tb / Math.sqrt(0.5)));
        }
        public function get _-00G():_-06R
        {
            return (this._-0P8);
        }
        public function get location():_-06R
        {
            this._location._-3jn(this._-0cX);
            this._location.x = (this._location.x * this._-0Nd);
            this._location.y = (this._location.y * this._-5-1);
            this._location.z = (this._location.z * this._-4Qh);
            return (this._location);
        }
        public function get direction():_-06R
        {
            return (this._-3r2);
        }
        public function set _-41z(_arg1:Number):void
        {
            if (this._-0Nd != (_arg1 * this._-2hS))
            {
                this._-0Nd = (_arg1 * this._-2hS);
                this._-0bC++;
            };
        }
        public function set _-g2(_arg1:Number):void
        {
            if (this._-5-1 != (_arg1 * this._-5I))
            {
                this._-5-1 = (_arg1 * this._-5I);
                this._-0bC++;
            };
        }
        public function set _-v9(_arg1:Number):void
        {
            if (this._-4Qh != (_arg1 * this._-iz))
            {
                this._-4Qh = (_arg1 * this._-iz);
                this._-0bC++;
            };
        }
        public function set scale(_arg1:Number):void
        {
            if (_arg1 <= 1)
            {
                k = 1;
            };
            k = (_arg1 * Math.sqrt(0.5));
            if (k != this._-3Tb)
            {
                this._-3Tb = k;
                this._-0bC++;
            };
        }
        public function set location(_arg1:_-06R):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this._-0cX == null)
            {
                this._-0cX = new _-Xl();
            };
            var k:Number = this._-0cX.x;
            var k:Number = this._-0cX.y;
            var k:Number = this._-0cX.z;
            this._-0cX._-3jn(_arg1);
            this._-0cX.x = (this._-0cX.x / this._-0Nd);
            this._-0cX.y = (this._-0cX.y / this._-5-1);
            this._-0cX.z = (this._-0cX.z / this._-4Qh);
            if (((((!((this._-0cX.x == k))) || (!((this._-0cX.y == k))))) || (!((this._-0cX.z == k)))))
            {
                this._-0bC++;
            };
        }
        public function set direction(_arg1:_-06R):void
        {
            var k:Number;
            var k:Number;
            var k:_-Xl;
            var k:_-Xl;
            var k:_-Xl;
            if (_arg1 == null)
            {
                return;
            };
            if (this._-ai == null)
            {
                this._-ai = new _-Xl();
            };
            var k:Number = this._-ai.x;
            var k:Number = this._-ai.y;
            var k:Number = this._-ai.z;
            this._-ai._-3jn(_arg1);
            this._-3r2._-3jn(_arg1);
            if (((((!((this._-ai.x == k))) || (!((this._-ai.y == k))))) || (!((this._-ai.z == k)))))
            {
                this._-0bC++;
            };
            var k:_-Xl = new _-Xl(0, 1, 0);
            var k:_-Xl = new _-Xl(0, 0, 1);
            var k:_-Xl = new _-Xl(1, 0, 0);
            var k:Number = ((_arg1.x / 180) * Math.PI);
            var k:Number = ((_arg1.y / 180) * Math.PI);
            var k:Number = ((_arg1.z / 180) * Math.PI);
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(k, k), _-Xl.product(k, -(k)));
            var k:_-Xl = new _-Xl(k.x, k.y, k.z);
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(k, k), _-Xl.product(k, k));
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:_-Xl = new _-Xl(k.x, k.y, k.z);
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(k, k), _-Xl.product(k, k));
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(k, -(k)), _-Xl.product(k, k));
            if (k != 0)
            {
                k = Math.cos(k);
                k = Math.sin(k);
                k = _-Xl._-3SY(_-Xl.product(k, k), _-Xl.product(k, k));
                k = _-Xl._-3SY(_-Xl.product(k, -(k)), _-Xl.product(k, k));
                k = new _-Xl(k.x, k.y, k.z);
                this._-2dX._-3jn(k);
                this._-4TA._-3jn(k);
                this._-0l1._-3jn(k);
                this._-0P8._-3jn(this._-0l1);
            }
            else
            {
                this._-2dX._-3jn(k);
                this._-4TA._-3jn(k);
                this._-0l1._-3jn(k);
                this._-0P8._-3jn(this._-0l1);
            };
        }
        public function dispose():void
        {
            this._-2dX = null;
            this._-4TA = null;
            this._-0l1 = null;
            this._-0cX = null;
            this._-ai = null;
            this._-0P8 = null;
            this._location = null;
            if (this._-3jf != null)
            {
                this._-3jf.dispose();
                this._-3jf = null;
            };
        }
        public function _-aS(_arg1:_-06R, _arg2:_-06R):void
        {
            var k:String;
            var k:_-Xl;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (this._-3jf != null)
            {
                k = ((((int(Math.round(_arg1.x)) + "_") + int(Math.round(_arg1.y))) + "_") + int(Math.round(_arg1.z)));
                this._-3jf.remove(k);
                k = new _-Xl();
                k._-3jn(_arg2);
                this._-3jf.add(k, k);
                this._-0bC++;
            };
        }
        private function _-ez(_arg1:_-06R):_-06R
        {
            var k:String;
            if (this._-3jf != null)
            {
                k = ((((int(Math.round(_arg1.x)) + "_") + int(Math.round(_arg1.y))) + "_") + int(Math.round(_arg1.z)));
                return (this._-3jf.getValue(k));
            };
            return (null);
        }
        public function _-4SC(_arg1:_-06R):void
        {
            var k:Number;
            var k:Number;
            var k:_-Xl;
            var k:_-Xl;
            var k:_-Xl;
            var k:_-Xl = new _-Xl(0, 1, 0);
            var k:_-Xl = new _-Xl(0, 0, 1);
            var k:_-Xl = new _-Xl(1, 0, 0);
            var k:Number = ((_arg1.x / 180) * Math.PI);
            var k:Number = ((_arg1.y / 180) * Math.PI);
            var k:Number = ((_arg1.z / 180) * Math.PI);
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(k, k), _-Xl.product(k, -(k)));
            var k:_-Xl = new _-Xl(k.x, k.y, k.z);
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(k, k), _-Xl.product(k, k));
            var k:Number = Math.cos(k);
            var k:Number = Math.sin(k);
            var k:_-Xl = new _-Xl(k.x, k.y, k.z);
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(k, k), _-Xl.product(k, k));
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(k, -(k)), _-Xl.product(k, k));
            if (k != 0)
            {
                k = Math.cos(k);
                k = Math.sin(k);
                k = _-Xl._-3SY(_-Xl.product(k, k), _-Xl.product(k, k));
                k = _-Xl._-3SY(_-Xl.product(k, -(k)), _-Xl.product(k, k));
                k = new _-Xl(k.x, k.y, k.z);
                this._-1Fo._-3jn(k);
            }
            else
            {
                this._-1Fo._-3jn(k);
            };
            this._-0bC++;
        }
        public function _-EP(_arg1:_-06R, _arg2:Number):void
        {
            if ((((_arg1 == null)) || ((this._-0l1 == null))))
            {
                return;
            };
            var k:_-Xl = _-Xl.product(this._-0l1, -(_arg2));
            var k:_-Xl = new _-Xl((_arg1.x + k.x), (_arg1.y + k.y), (_arg1.z + k.z));
            this.location = k;
        }
        public function _-2y5(_arg1:_-06R):_-06R
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:Number = _-Xl._-50X(_arg1, this._-2dX);
            var k:Number = _-Xl._-50X(_arg1, this._-4TA);
            var k:Number = _-Xl._-50X(_arg1, this._-0l1);
            var k:_-Xl = new _-Xl(k, k, k);
            return (k);
        }
        public function _-58F(_arg1:_-06R):_-06R
        {
            var k:_-Xl = _-Xl._-4gy(_arg1, this._-0cX);
            k.x = (k.x * this._-0Nd);
            k.y = (k.y * this._-5-1);
            k.z = (k.z * this._-4Qh);
            var k:Number = _-Xl._-50X(k, this._-1Fo);
            if ((((k < this._-5CJ)) || ((k > this._-51q))))
            {
                return (null);
            };
            var k:Number = _-Xl._-50X(k, this._-2dX);
            var k:Number = -(_-Xl._-50X(k, this._-4TA));
            k = (k * this._-3Tb);
            k = (k * this._-3Tb);
            var k:_-06R = this._-ez(_arg1);
            if (k != null)
            {
                k = _-Xl._-4gy(_arg1, this._-0cX);
                k.add(k);
                k.x = (k.x * this._-0Nd);
                k.y = (k.y * this._-5-1);
                k.z = (k.z * this._-4Qh);
                k = _-Xl._-50X(k, this._-1Fo);
            };
            k.x = k;
            k.y = k;
            k.z = k;
            return (k);
        }
        public function _-2Et(_arg1:_-06R):Point
        {
            var k:_-06R = this._-58F(_arg1);
            if (k == null)
            {
                return (null);
            };
            var k:Point = new Point(k.x, k.y);
            return (k);
        }
        public function _-0Co(_arg1:Point, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R):Point
        {
            var k:Number;
            var k:Number;
            var k:Number = (_arg1.x / this._-3Tb);
            var k:Number = (-(_arg1.y) / this._-3Tb);
            var k:_-Xl = _-Xl.product(this._-2dX, k);
            k.add(_-Xl.product(this._-4TA, k));
            var k:_-Xl = new _-Xl((this._-0cX.x * this._-0Nd), (this._-0cX.y * this._-5-1), (this._-0cX.z * this._-4Qh));
            k.add(k);
            var k:_-06R = this._-0l1;
            var k:_-Xl = new _-Xl((_arg2.x * this._-0Nd), (_arg2.y * this._-5-1), (_arg2.z * this._-4Qh));
            var k:_-Xl = new _-Xl((_arg3.x * this._-0Nd), (_arg3.y * this._-5-1), (_arg3.z * this._-4Qh));
            var k:_-Xl = new _-Xl((_arg4.x * this._-0Nd), (_arg4.y * this._-5-1), (_arg4.z * this._-4Qh));
            var k:_-06R = _-Xl._-2H2(k, k);
            var k:_-Xl = new _-Xl();
            k._-3jn(_-2QE._-fT(k, k, k, k));
            if (k != null)
            {
                k._-0XL(k);
                k = ((_-Xl._-50X(k, _arg3) / k.length) * _arg3.length);
                k = ((_-Xl._-50X(k, _arg4) / k.length) * _arg4.length);
                return (new Point(k, k));
            };
            return (null);
        }
        public function _-0BV():void
        {
            if (this._-1ba())
            {
                this.scale = _-4Jv;
            }
            else
            {
                this.scale = _-4U2;
            };
        }
        public function _-1ba():Boolean
        {
            return ((this.scale == _-4U2));
        }
        public function _-1RO():void
        {
            this.scale = _-4Jv;
        }
        public function _-1sf():void
        {
            this.scale = _-4U2;
        }

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0._-3q6

package _-0y0
{
    import flash.geom.Point;

    public interface _-3q6 
    {

        function get scale():Number;
        function get _-00G():_-06R;
        function get direction():_-06R;
        function _-2y5(_arg1:_-06R):_-06R;
        function _-2Et(_arg1:_-06R):Point;
        function _-58F(_arg1:_-06R):_-06R;
        function _-0Co(_arg1:Point, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R):Point;
        function _-aS(_arg1:_-06R, _arg2:_-06R):void;
        function _-EP(_arg1:_-06R, _arg2:Number):void;
        function _-0BV():void;
        function _-1RO():void;
        function _-1sf():void;
        function _-1ba():Boolean;
        function get _-3KH():int;
        function set _-v9(_arg1:Number):void;

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0._-4xU

package _-0y0
{
    public class _-4xU 
    {

        public static function _-4Ux(_arg1:int):int
        {
            var k:Number = (((_arg1 >> 16) & 0xFF) / 0xFF);
            var k:Number = (((_arg1 >> 8) & 0xFF) / 0xFF);
            var k:Number = ((_arg1 & 0xFF) / 0xFF);
            var k:Number = Math.max(k, k, k);
            var k:Number = Math.min(k, k, k);
            var k:Number = (k - k);
            var k:Number = 0;
            var k:Number = 0;
            var k:Number = 0;
            if (k == 0)
            {
                k = 0;
            }
            else
            {
                if (k == k)
                {
                    if (k > k)
                    {
                        k = ((60 * (k - k)) / k);
                    }
                    else
                    {
                        k = (((60 * (k - k)) / k) + 360);
                    };
                }
                else
                {
                    if (k == k)
                    {
                        k = (((60 * (k - k)) / k) + 120);
                    }
                    else
                    {
                        if (k == k)
                        {
                            k = (((60 * (k - k)) / k) + 240);
                        };
                    };
                };
            };
            k = (0.5 * (k + k));
            if (k == 0)
            {
                k = 0;
            }
            else
            {
                if (k <= 0.5)
                {
                    k = ((k / k) * 0.5);
                }
                else
                {
                    k = ((k / (1 - k)) * 0.5);
                };
            };
            var k:int = Math.round(((k / 360) * 0xFF));
            var k:int = Math.round((k * 0xFF));
            var k:int = Math.round((k * 0xFF));
            var k:int = (((k << 16) + (k << 8)) + k);
            return (k);
        }
        public static function _-Ys(_arg1:int):int
        {
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number = (((_arg1 >> 16) & 0xFF) / 0xFF);
            var k:Number = (((_arg1 >> 8) & 0xFF) / 0xFF);
            var k:Number = ((_arg1 & 0xFF) / 0xFF);
            var k:Number = 0;
            var k:Number = 0;
            var k:Number = 0;
            if (k > 0)
            {
                k = 0;
                k = 0;
                if (k < 0.5)
                {
                    k = (k * (1 + k));
                }
                else
                {
                    k = ((k + k) - (k * k));
                };
                k = ((2 * k) - k);
                k = (k + (1 / 3));
                k = (k - (1 / 3));
                if (k < 0)
                {
                    k = (k + 1);
                }
                else
                {
                    if (k > 1)
                    {
                        k--;
                    };
                };
                if (k < 0)
                {
                    k = (k + 1);
                }
                else
                {
                    if (k > 1)
                    {
                        k--;
                    };
                };
                if (k < 0)
                {
                    k = (k + 1);
                }
                else
                {
                    if (k > 1)
                    {
                        k--;
                    };
                };
                if ((k * 6) < 1)
                {
                    k = (k + (((k - k) * 6) * k));
                }
                else
                {
                    if ((k * 2) < 1)
                    {
                    }
                    else
                    {
                        if ((k * 3) < 2)
                        {
                            k = (k + (((k - k) * 6) * ((2 / 3) - k)));
                        }
                        else
                        {
                        };
                    };
                };
                if ((k * 6) < 1)
                {
                    k = (k + (((k - k) * 6) * k));
                }
                else
                {
                    if ((k * 2) < 1)
                    {
                    }
                    else
                    {
                        if ((k * 3) < 2)
                        {
                            k = (k + (((k - k) * 6) * ((2 / 3) - k)));
                        }
                        else
                        {
                        };
                    };
                };
                if ((k * 6) < 1)
                {
                    k = (k + (((k - k) * 6) * k));
                }
                else
                {
                    if ((k * 2) < 1)
                    {
                    }
                    else
                    {
                        if ((k * 3) < 2)
                        {
                            k = (k + (((k - k) * 6) * ((2 / 3) - k)));
                        }
                        else
                        {
                        };
                    };
                };
            }
            else
            {
            };
            var k:int = Math.round((k * 0xFF));
            var k:int = Math.round((k * 0xFF));
            var k:int = Math.round((k * 0xFF));
            var k:int = (((k << 16) + (k << 8)) + k);
            return (k);
        }
        public static function rgb2xyz(_arg1:int):_-06R
        {
            var k:Number = (((_arg1 >> 16) & 0xFF) / 0xFF);
            var k:Number = (((_arg1 >> 8) & 0xFF) / 0xFF);
            var k:Number = (((_arg1 >> 0) & 0xFF) / 0xFF);
            if (k > 0.04045)
            {
                k = Math.pow(((k + 0.055) / 1.055), 2.4);
            }
            else
            {
                k = (k / 12.92);
            };
            if (k > 0.04045)
            {
                k = Math.pow(((k + 0.055) / 1.055), 2.4);
            }
            else
            {
                k = (k / 12.92);
            };
            if (k > 0.04045)
            {
                k = Math.pow(((k + 0.055) / 1.055), 2.4);
            }
            else
            {
                k = (k / 12.92);
            };
            k = (k * 100);
            k = (k * 100);
            k = (k * 100);
            return (new _-Xl((((k * 0.4124) + (k * 0.3576)) + (k * 0.1805)), (((k * 0.2126) + (k * 0.7152)) + (k * 0.0722)), (((k * 0.0193) + (k * 0.1192)) + (k * 0.9505))));
        }
        public static function _-4kZ(_arg1:_-06R):_-06R
        {
            var k:Number = (_arg1.x / 95.047);
            var k:Number = (_arg1.y / 100);
            var k:Number = (_arg1.z / 108.883);
            if (k > 0.008856)
            {
                k = Math.pow(k, (1 / 3));
            }
            else
            {
                k = ((7.787 * k) + (16 / 116));
            };
            if (k > 0.008856)
            {
                k = Math.pow(k, (1 / 3));
            }
            else
            {
                k = ((7.787 * k) + (16 / 116));
            };
            if (k > 0.008856)
            {
                k = Math.pow(k, (1 / 3));
            }
            else
            {
                k = ((7.787 * k) + (16 / 116));
            };
            return (new _-Xl(((116 * k) - 16), (500 * (k - k)), (200 * (k - k))));
        }
        public static function rgb2CieLab(_arg1:int):_-06R
        {
            return (_-4xU._-4kZ(_-4xU.rgb2xyz(_arg1)));
        }

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0._-53w

package _-0y0
{
    public class _-53w 
    {

        private var _-3vC:int = 0;
        private var _-11X:Array;
        private var _-2f:Array;

        public function _-53w(_arg1:int)
        {
            this._-11X = [];
            this._-2f = [];
            super();
            if (_arg1 < 0)
            {
                k = 0;
            };
            var k:int;
            while (k < _arg1)
            {
                this._-2f.push(k);
                k++;
            };
        }
        public function dispose():void
        {
            this._-11X = null;
            this._-2f = null;
            this._-3vC = 0;
        }
        public function _-4L5():int
        {
            var k:int;
            if (this._-2f.length > 0)
            {
                k = (this._-2f.pop() as int);
                this._-11X.push(k);
                return (k);
            };
            return (-1);
        }
        public function _-3vX(_arg1:int):void
        {
            var k:int = this._-11X.indexOf(_arg1);
            if (k >= 0)
            {
                this._-11X.splice(k, 1);
                this._-2f.push(_arg1);
            };
        }

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0._-AY

package _-0y0
{
    import flash.utils.getTimer;

    public class _-AY 
    {

        public static const _-3r7:int = 0;
        public static const _-3Xf:int = 1;
        public static const _-0LQ:int = 2;
        public static const _-2Vy:int = 3;

        private static var _-0Ke:int = _-3r7;//0
        private static var _-P9:Boolean = false;
        private static var _-1uV:Number;
        private static var _-0TV:int = 0;
        private static var _-1AC:int = (20 * 1000);//20000
        private static var _-s5:int = 2000;

        public static function init(_arg1:int, _arg2:int):void
        {
            _-1uV = 0;
            _-1AC = _arg1;
            _-s5 = _arg2;
            _-0TV = getTimer();
            _-0Ke = _-3Xf;
        }
        public static function _-0IO():void
        {
            if ((((_-0Ke == _-3r7)) || ((_-0Ke == _-2Vy))))
            {
                return;
            };
            var k:int = (getTimer() - _-0TV);
            if (k > (_-1AC + _-s5))
            {
                _-0Ke = _-2Vy;
                return;
            };
            _-P9 = true;
            if (k < _-1AC)
            {
                _-0Ke = _-3Xf;
                return;
            };
            _-0Ke = _-0LQ;
            _-1uV = ((k - _-1AC) / _-s5);
        }
        public static function _-0Wv():void
        {
            _-P9 = false;
        }
        public static function _-3Zn():Boolean
        {
            return (((_-P9) && (_-4Bs())));
        }
        public static function _-4Bs():Boolean
        {
            if ((((_-0Ke == _-3Xf)) || ((_-0Ke == _-0LQ))))
            {
                return (true);
            };
            return (false);
        }
        public static function _-4BE(_arg1:Number=0, _arg2:Number=1):Number
        {
            return (Math.min(Math.max(_-1uV, _arg1), _arg2));
        }
        public static function get _-2nx():int
        {
            return ((_-1AC + _-s5));
        }

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0._-Xl

package _-0y0
{
    public class _-Xl implements _-06R 
    {

        private var _-2dX:Number;
        private var _-4TA:Number;
        private var _-0l1:Number;
        private var _-0p1:Number = NaN;

        public function _-Xl(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0)
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
            this._-0l1 = _arg3;
        }
        public static function _-3SY(_arg1:_-06R, _arg2:_-06R):_-Xl
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (null);
            };
            var k:_-Xl = new _-Xl((_arg1.x + _arg2.x), (_arg1.y + _arg2.y), (_arg1.z + _arg2.z));
            return (k);
        }
        public static function _-4gy(_arg1:_-06R, _arg2:_-06R):_-Xl
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (null);
            };
            var k:_-Xl = new _-Xl((_arg1.x - _arg2.x), (_arg1.y - _arg2.y), (_arg1.z - _arg2.z));
            return (k);
        }
        public static function product(_arg1:_-06R, _arg2:Number):_-Xl
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:_-Xl = new _-Xl((_arg1.x * _arg2), (_arg1.y * _arg2), (_arg1.z * _arg2));
            return (k);
        }
        public static function _-4DW(_arg1:_-06R, _arg2:_-06R):Number
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (0);
            };
            return ((((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y)) + (_arg1.z * _arg2.z)));
        }
        public static function _-2H2(_arg1:_-06R, _arg2:_-06R):_-Xl
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (null);
            };
            var k:_-Xl = new _-Xl(((_arg1.y * _arg2.z) - (_arg1.z * _arg2.y)), ((_arg1.z * _arg2.x) - (_arg1.x * _arg2.z)), ((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x)));
            return (k);
        }
        public static function _-50X(_arg1:_-06R, _arg2:_-06R):Number
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (-1);
            };
            var k:Number = _arg2.length;
            if (k > 0)
            {
                return (((((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y)) + (_arg1.z * _arg2.z)) / k));
            };
            return (-1);
        }
        public static function cosAngle(_arg1:_-06R, _arg2:_-06R):Number
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (0);
            };
            var k:Number = (_arg1.length * _arg2.length);
            if (k == 0)
            {
                return (0);
            };
            return ((_-Xl._-4DW(_arg1, _arg2) / k));
        }
        public static function _-3QV(_arg1:_-06R, _arg2:_-06R):Boolean
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            if ((((((_arg1.x == _arg2.x)) && ((_arg1.y == _arg2.y)))) && ((_arg1.z == _arg2.z))))
            {
                return (true);
            };
            return (false);
        }

        public function get x():Number
        {
            return (this._-2dX);
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function get length():Number
        {
            if (isNaN(this._-0p1))
            {
                this._-0p1 = Math.sqrt((((this._-2dX * this._-2dX) + (this._-4TA * this._-4TA)) + (this._-0l1 * this._-0l1)));
            };
            return (this._-0p1);
        }
        public function set x(_arg1:Number):void
        {
            this._-2dX = _arg1;
            this._-0p1 = NaN;
        }
        public function set y(_arg1:Number):void
        {
            this._-4TA = _arg1;
            this._-0p1 = NaN;
        }
        public function set z(_arg1:Number):void
        {
            this._-0l1 = _arg1;
            this._-0p1 = NaN;
        }
        public function _-wA():void
        {
            this._-2dX = -(this._-2dX);
            this._-4TA = -(this._-4TA);
            this._-0l1 = -(this._-0l1);
        }
        public function add(_arg1:_-06R):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-2dX = (this._-2dX + _arg1.x);
            this._-4TA = (this._-4TA + _arg1.y);
            this._-0l1 = (this._-0l1 + _arg1.z);
            this._-0p1 = NaN;
        }
        public function _-0XL(_arg1:_-06R):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-2dX = (this._-2dX - _arg1.x);
            this._-4TA = (this._-4TA - _arg1.y);
            this._-0l1 = (this._-0l1 - _arg1.z);
            this._-0p1 = NaN;
        }
        public function _-2Dq(_arg1:Number):void
        {
            this._-2dX = (this._-2dX * _arg1);
            this._-4TA = (this._-4TA * _arg1);
            this._-0l1 = (this._-0l1 * _arg1);
            this._-0p1 = NaN;
        }
        public function div(_arg1:Number):void
        {
            if (_arg1 != 0)
            {
                this._-2dX = (this._-2dX / _arg1);
                this._-4TA = (this._-4TA / _arg1);
                this._-0l1 = (this._-0l1 / _arg1);
                this._-0p1 = NaN;
            };
        }
        public function _-3jn(_arg1:_-06R):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-2dX = _arg1.x;
            this._-4TA = _arg1.y;
            this._-0l1 = _arg1.z;
            this._-0p1 = NaN;
        }
        public function toString():String
        {
            return ((("(" + [this._-2dX, this._-4TA, this._-0l1].join(",")) + ")"));
        }

    }
}//package _-0y0

//------------------------------------------------------------
//_-0y0.XMLValidator

package _-0y0
{
    public class XMLValidator 
    {

        public static function _-4qb(_arg1:Object, _arg2:Array):Boolean
        {
            var k:XML;
            var k:XMLList;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            var k:int;
            if ((_arg1 is XML))
            {
                k = (_arg1 as XML);
                k = 0;
                while (k < _arg2.length)
                {
                    if (k.attribute(String(_arg2[k])).length() == 0)
                    {
                        return (false);
                    };
                    k++;
                };
            }
            else
            {
                if ((_arg1 is XMLList))
                {
                    k = (_arg1 as XMLList);
                    k = 0;
                    while (k < _arg2.length)
                    {
                        if (k.attribute(String(_arg2[k])).length() == 0)
                        {
                            return (false);
                        };
                        k++;
                    };
                }
                else
                {
                    return (false);
                };
            };
            return (true);
        }

    }
}//package _-0y0

//------------------------------------------------------------
//_-0yf._-0c4

package _-0yf
{
    import flash.events.ProgressEvent;

    public class _-0c4 extends ProgressEvent 
    {

        private var _-4kh:int = 0;
        private var _-0Mh:String = "";

        public function _-0c4(_arg1:String, _arg2:uint=0, _arg3:uint=0, _arg4:int=0)
        {
            this._-0Mh = _arg1;
            this._-4kh = _arg4;
            super(ProgressEvent.PROGRESS, false, false, _arg2, _arg3);
        }
        public function get _-04b():int
        {
            return (this._-4kh);
        }
        public function get _-CK():String
        {
            return (this._-0Mh);
        }

    }
}//package _-0yf

//------------------------------------------------------------
//_-0yf._-29M

package _-0yf
{
    import flash.events.Event;

    public class _-29M extends Event 
    {

        protected var _-2md:String;

        public function _-29M(_arg1:String, _arg2:String)
        {
            this._-2md = (((_arg2 == null)) ? "undefined" : _arg2);
            super(_arg1);
        }
        public function get message():String
        {
            return (this._-2md);
        }

    }
}//package _-0yf

//------------------------------------------------------------
//_-0yf._-2zT

package _-0yf
{
    import flash.events.Event;

    public class _-2zT extends Event 
    {

        public static const HOTEL_VIEW_READY:String = "HOTEL_VIEW_READY";

        public function _-2zT(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-0yf

//------------------------------------------------------------
//_-0yf._-EA

package _-0yf
{
    import flash.events.Event;
    import _-1B-._-4yI;

    public class _-EA extends Event 
    {

        public var unknown:_-4yI;

        public function _-EA(_arg1:String, _arg2:_-4yI)
        {
            this.unknown = _arg2;
            super(_arg1);
        }
    }
}//package _-0yf

//------------------------------------------------------------
//_-0yf.ErrorEvent

package _-0yf
{
    public class ErrorEvent extends _-29M 
    {

        protected var _-JS:int;
        protected var _-kQ:Boolean;
        protected var _error:Error;

        public function ErrorEvent(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:int, _arg5:Error=null)
        {
            this._-kQ = _arg3;
            this._-JS = _arg4;
            this._error = _arg5;
            super(_arg1, _arg2);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get _-4ic():Boolean
        {
            return (this._-kQ);
        }
        public function get error():Error
        {
            return (this._error);
        }

    }
}//package _-0yf

//------------------------------------------------------------
//_-0yf.EventDispatcherWrapper

package _-0yf
{
    import flash.events.EventDispatcher;
    import flash.utils.Dictionary;
    import flash.events.IEventDispatcher;
    import _-p-.Core;
    import flash.utils.getQualifiedClassName;
    import flash.events.Event;
    import _-1B-.*;
    import flash.events.*;

    public class EventDispatcherWrapper implements IEventDispatcher, _-1zZ 
    {

        private static const EVENT_RESULT_TRUE:uint = 0;
        private static const EVENT_RESULT_FALSE:uint = 1;
        private static const EVENT_RESULT_ERROR:uint = 2;

        protected var _disposed:Boolean = false;
        private var _eventDispatcher:EventDispatcher;
        private var _eventListenerTable:Dictionary;
        private var _result:uint;
        private var _error:Error;

        public function EventDispatcherWrapper(_arg1:IEventDispatcher=null)
        {
            this._eventListenerTable = new Dictionary();
            super();
            this._eventDispatcher = new EventDispatcher(((_arg1) ? _arg1 : this));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get error():Error
        {
            return (this._error);
        }
        public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void
        {
            var _local8:EventListenerStruct;
            var k:Array = this._eventListenerTable[_arg1];
            var k:EventListenerStruct = new EventListenerStruct(_arg2, _arg3, _arg4, _arg5);
            if (!k)
            {
                k = [k];
                this._eventListenerTable[_arg1] = k;
                this._eventDispatcher.addEventListener(_arg1, this.eventProcessor);
            }
            else
            {
                for each (_local8 in k)
                {
                    if ((((_local8.callback == _arg2)) && ((_local8._-1Nj == _arg3))))
                    {
                        return;
                    };
                    if (_arg4 > _local8.priority)
                    {
                        k.splice(k.indexOf(_local8), 0, k);
                        return;
                    };
                };
                k.push(k);
            };
        }
        public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void
        {
            var k:Array;
            var k:uint;
            var k:EventListenerStruct;
            if (!this._disposed)
            {
                k = this._eventListenerTable[_arg1];
                if (k)
                {
                    k = 0;
                    for each (k in k)
                    {
                        if ((((k.callback == _arg2)) && ((k._-1Nj == _arg3))))
                        {
                            k.splice(k, 1);
                            k.callback = null;
                            if (k.length == 0)
                            {
                                delete this._eventListenerTable[_arg1];
                                this._eventDispatcher.removeEventListener(_arg1, this.eventProcessor);
                            };
                            return;
                        };
                        k++;
                    };
                };
            };
        }
        public function dispatchEvent(_arg1:Event):Boolean
        {
            if (!this._disposed)
            {
                this._result = EVENT_RESULT_TRUE;
                this._eventDispatcher.dispatchEvent(_arg1);
                if (this._result == EVENT_RESULT_ERROR)
                {
                    if (this._error != null)
                    {
                        Core._-4Tm(((("Error caught when handling " + getQualifiedClassName(_arg1)) + ": ") + this._error.message), this._error.errorID, this._error);
                    }
                    else
                    {
                        Core._-4Tm((("Error caught when handling " + getQualifiedClassName(_arg1)) + ". No error data available!"), 0, this._error);
                    };
                };
                return ((this._result == EVENT_RESULT_TRUE));
            };
            return (false);
        }
        public function hasEventListener(_arg1:String):Boolean
        {
            return (((this._disposed) ? false : !((this._eventListenerTable[_arg1] == null))));
        }
        public function callEventListeners(_arg1:String):void
        {
            var k:EventListenerStruct;
            var k:Array = this._eventListenerTable[_arg1];
            if (k)
            {
                for each (k in k)
                {
                    k.callback(null);
                };
            };
        }
        public function willTrigger(_arg1:String):Boolean
        {
            return (((this._disposed) ? false : !((this._eventListenerTable[_arg1] == null))));
        }
        private function eventProcessor(_arg1:Event):void
        {
            var callbacks:Array;
            var callback:Function;
            var struct:EventListenerStruct;
            var event:Event = _arg1;
            var array:Array = this._eventListenerTable[event.type];
            if (array)
            {
                callbacks = [];
                for each (struct in array)
                {
                    callbacks.push(struct.callback);
                };
                while (callbacks.length > 0)
                {
                    try
                    {
                        callback = callbacks.shift();
                        (callback(event));
                    }
                    catch(e:Error)
                    {
                        _-Nb.log(e.getStackTrace());
                        _result = EVENT_RESULT_ERROR;
                        _error = e;
                        return;
                    };
                };
            };
            this._result = ((event.isDefaultPrevented()) ? EVENT_RESULT_FALSE : EVENT_RESULT_TRUE);
        }
        public function dispose():void
        {
            var k:String;
            var k:Array;
            var k:EventListenerStruct;
            if (!this._disposed)
            {
                for (k in this._eventListenerTable)
                {
                    k = (this._eventListenerTable[k] as Array);
                    for each (k in k)
                    {
                        k.callback = null;
                    };
                    delete this._eventListenerTable[k];
                    this._eventDispatcher.removeEventListener(k, this.eventProcessor);
                };
                this._eventListenerTable = null;
                this._eventDispatcher = null;
                this._disposed = true;
            };
        }

    }
}//package _-0yf

//------------------------------------------------------------
//_-0yf.EventListenerStruct

package _-0yf
{
    import flash.utils.Dictionary;

    public class EventListenerStruct 
    {

        private var _-4-E:Dictionary;
        public var _-1Nj:Boolean;
        public var priority:int;
        public var _-3CF:Boolean;

        public function EventListenerStruct(_arg1:Function, _arg2:Boolean=false, _arg3:int=0, _arg4:Boolean=false)
        {
            this._-4-E = new Dictionary(_arg4);
            this.callback = _arg1;
            this._-1Nj = _arg2;
            this.priority = _arg3;
            this._-3CF = _arg4;
        }
        public function set callback(_arg1:Function):void
        {
            var k:Object;
            for (k in this._-4-E)
            {
                delete this._-4-E[k];
            };
            this._-4-E[_arg1] = null;
        }
        public function get callback():Function
        {
            var k:Object;
            for (k in this._-4-E)
            {
                return ((k as Function));
            };
            return (null);
        }

    }
}//package _-0yf

//------------------------------------------------------------
//_-0Yg._-082

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO.ActivityPointsMessageParser;
    import flash.utils.Dictionary;
    import _-4Aj.*;

    public class _-082 extends _-7V implements _-0tL 
    {

        public function _-082(_arg1:Function)
        {
            super(_arg1, ActivityPointsMessageParser);
        }
        public function get points():Dictionary
        {
            return ((_-515 as ActivityPointsMessageParser).points);
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-0nq

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-vi;
    import _-4Aj.*;

    public class _-0nq extends _-7V implements _-0tL 
    {

        public function _-0nq(_arg1:Function)
        {
            super(_arg1, _-vi);
        }
        public function get _-0bv():String
        {
            return ((_-515 as _-vi)._-0bv);
        }
        public function _-3-5():_-vi
        {
            return ((_-515 as _-vi));
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-0pH

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-4lw;
    import _-4Aj.*;

    public class _-0pH extends _-7V implements _-0tL 
    {

        public function _-0pH(_arg1:Function)
        {
            super(_arg1, _-4lw);
        }
        public function _-3-5():_-4lw
        {
            return ((_-515 as _-4lw));
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-0xd

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-zZ;
    import _-4Aj.*;

    public class _-0xd extends _-7V implements _-0tL 
    {

        public function _-0xd(_arg1:Function)
        {
            super(_arg1, _-zZ);
        }
        public function _-3-5():_-zZ
        {
            return ((_-515 as _-zZ));
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-0XG

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-550;
    import _-4Aj.*;

    public class _-0XG extends _-7V implements _-0tL 
    {

        public function _-0XG(_arg1:Function)
        {
            super(_arg1, _-550);
        }
        public function get enabled():Boolean
        {
            return ((_-515 as _-550).enabled);
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-1iU

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-1xA;
    import _-4Aj.*;

    public class _-1iU extends _-7V implements _-0tL 
    {

        public function _-1iU(_arg1:Function)
        {
            super(_arg1, _-1xA);
        }
        public function get _-3xk():int
        {
            return ((_-515 as _-1xA)._-3xk);
        }
        public function get realName():String
        {
            return ((_-515 as _-1xA).realName);
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-1yd

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-km;
    import _-4Aj.*;

    public class _-1yd extends _-7V implements _-0tL 
    {

        public function _-1yd(_arg1:Function)
        {
            super(_arg1, _-km);
        }
        public function get _-1Xw():String
        {
            return ((_-515 as _-km)._-1Xw);
        }
        public function get shareID():String
        {
            return ((_-515 as _-km).shareID);
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-1zj

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-2wn;
    import _-4Aj.*;

    public class _-1zj extends _-7V implements _-0tL 
    {

        public function _-1zj(_arg1:Function)
        {
            super(_arg1, _-2wn);
        }
        public function get amount():int
        {
            return ((_-515 as _-2wn).amount);
        }
        public function get change():int
        {
            return ((_-515 as _-2wn).change);
        }
        public function get type():int
        {
            return ((_-515 as _-2wn).type);
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-2Iz

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-3TG;
    import _-4Aj.*;

    public class _-2Iz extends _-7V implements _-0tL 
    {

        public function _-2Iz(_arg1:Function)
        {
            super(_arg1, _-3TG);
        }
        public function _-3-5():_-3TG
        {
            return ((_-515 as _-3TG));
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-3vt

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-vn;
    import _-4Aj.*;

    public class _-3vt extends _-7V implements _-0tL 
    {

        public function _-3vt(_arg1:Function)
        {
            super(_arg1, _-vn);
        }
        public function _-3-5():_-vn
        {
            return ((_-515 as _-vn));
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-4OH

package _-0Yg
{
    import _-4Aj._-0s1;

    public class _-4OH 
    {

        private var _-5K:int;
        private var _-55e:int;
        private var _-55o:int;
        private var _-4g6:int;
        private var _-0nD:int;
        private var _-1gS:int;
        private var _-5Dg:int;
        private var _-2gP:String = "";
        private var _-4We:String = "";
        private var _-0ji:int;
        private var _-JS:String;
        private var _-4DK:Boolean;

        public function _-4OH(_arg1:_-0s1)
        {
            this._-5K = _arg1._-2BW();
            this._-55e = _arg1._-2BW();
            this._-5Dg = _arg1._-2BW();
            this._-2gP = _arg1.readString();
            this._-55o = _arg1._-2BW();
            this._-4g6 = _arg1._-2BW();
            this._-0nD = _arg1._-2BW();
            this._-1gS = _arg1._-2BW();
            this._-0ji = _arg1._-2BW();
            this._-4We = _arg1.readString();
            this._-JS = _arg1.readString();
            this._-4DK = _arg1.readBoolean();
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get points():int
        {
            return (this._-55o);
        }
        public function get _-02I():int
        {
            return (this._-4g6);
        }
        public function get _-2M0():int
        {
            return (this._-0nD);
        }
        public function get _-3xk():int
        {
            return (this._-1gS);
        }
        public function get badgeId():int
        {
            return (this._-5Dg);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }
        public function get _-3Ay():String
        {
            return (this._-4We);
        }
        public function get _-0Qc():int
        {
            return (this._-0ji);
        }
        public function get category():String
        {
            return (this._-JS);
        }
        public function get _-1I():Boolean
        {
            return (this._-4DK);
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-4Sc

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-4qF;
    import _-4Aj.*;

    public class _-4Sc extends _-7V implements _-0tL 
    {

        public function _-4Sc(_arg1:Function)
        {
            super(_arg1, _-4qF);
        }
        public function _-3-5():_-4qF
        {
            return ((_-515 as _-4qF));
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yg._-KL

package _-0Yg
{
    import _-4Aj._-7V;
    import _-2qO._-1DJ;
    import _-4Aj.*;

    public class _-KL extends _-7V implements _-0tL 
    {

        public function _-KL(_arg1:Function)
        {
            super(_arg1, _-1DJ);
        }
        public function _-3-5():_-1DJ
        {
            return ((_-515 as _-1DJ));
        }

    }
}//package _-0Yg

//------------------------------------------------------------
//_-0Yi._-0fT

package _-0Yi
{
    import _-4Aj._-7V;
    import _-Os._-1g4;
    import _-4Aj.*;

    public class _-0fT extends _-7V implements _-0tL 
    {

        public function _-0fT(_arg1:Function)
        {
            super(_arg1, _-1g4);
        }
        public function _-3-5():_-1g4
        {
            return ((_-515 as _-1g4));
        }

    }
}//package _-0Yi

//------------------------------------------------------------
//_-0Yi._-14D

package _-0Yi
{
    import _-4Aj._-7V;
    import _-Os._-IF;
    import _-4Aj.*;

    public class _-14D extends _-7V implements _-0tL 
    {

        public function _-14D(_arg1:Function)
        {
            super(_arg1, _-IF);
        }
        public function _-3-5():_-IF
        {
            return ((_-515 as _-IF));
        }

    }
}//package _-0Yi

//------------------------------------------------------------
//_-0Yi._-1R0

package _-0Yi
{
    import _-4Aj._-7V;
    import _-Os._-406;
    import _-4Aj.*;

    public class _-1R0 extends _-7V implements _-0tL 
    {

        public function _-1R0(_arg1:Function)
        {
            super(_arg1, _-406);
        }
        public function _-3-5():_-406
        {
            return ((_-515 as _-406));
        }

    }
}//package _-0Yi

//------------------------------------------------------------
//_-0Yi._-2cP

package _-0Yi
{
    import _-4Aj._-7V;
    import _-Os._-0Pr;
    import _-4Aj.*;

    public class _-2cP extends _-7V implements _-0tL 
    {

        public function _-2cP(_arg1:Function)
        {
            super(_arg1, _-0Pr);
        }
        public function _-3-5():_-0Pr
        {
            return ((_-515 as _-0Pr));
        }

    }
}//package _-0Yi

//------------------------------------------------------------
//_-0Yi._-3F2

package _-0Yi
{
    import _-4Aj._-7V;
    import _-Os._-Il;
    import _-4Aj.*;

    public class _-3F2 extends _-7V implements _-0tL 
    {

        public function _-3F2(_arg1:Function)
        {
            super(_arg1, _-Il);
        }
        public function _-3-5():_-Il
        {
            return ((_-515 as _-Il));
        }

    }
}//package _-0Yi

//------------------------------------------------------------
//_-0Yi._-4kA

package _-0Yi
{
    import _-4Aj._-7V;
    import _-Os._-1eS;
    import _-4Aj.*;

    public class _-4kA extends _-7V implements _-0tL 
    {

        public function _-4kA(_arg1:Function)
        {
            super(_arg1, _-1eS);
        }
        public function _-3-5():_-1eS
        {
            return ((_-515 as _-1eS));
        }

    }
}//package _-0Yi

//------------------------------------------------------------
//_-0Yi._-5Ap

package _-0Yi
{
    import _-4Aj._-7V;
    import _-Os._-1kL;
    import _-4Aj.*;

    public class _-5Ap extends _-7V implements _-0tL 
    {

        public function _-5Ap(_arg1:Function)
        {
            super(_arg1, _-1kL);
        }
        public function _-3-5():_-1kL
        {
            return ((_-515 as _-1kL));
        }

    }
}//package _-0Yi

//------------------------------------------------------------
//_-0Yi._-xp

package _-0Yi
{
    import _-4Aj._-7V;
    import _-Os._-1S4;
    import _-4Aj.*;

    public class _-xp extends _-7V implements _-0tL 
    {

        public function _-xp(_arg1:Function)
        {
            super(_arg1, _-1S4);
        }
        public function _-3-5():_-1S4
        {
            return ((_-515 as _-1S4));
        }

    }
}//package _-0Yi

//------------------------------------------------------------
//_-0yt._-3EP

package _-0yt
{
    import _-FP._-2ul;
    import _-1ae.IFrameWindow;
    import _-4Wu._-4uR;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-1a6;
    import flash.events.IEventDispatcher;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.ITextWindow;
    import _-1ae.IButtonWindow;
    import _-Ew.IWindowContainer;
    import _-1FD._-1He;

    public class _-3EP extends _-2ul 
    {

        private var _-0xv:IFrameWindow;
        private var _-0Xx:_-4uR;
        private var _-4ua:int;
        private var _-22y:Boolean;
        private var _-R4:String;
        private var _-1bt:Boolean;
        private var _-4EF:Boolean;

        public function _-3EP(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-4uR)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-0Xx = _arg5;
        }
        override public function dispose():void
        {
            this._-0kD();
            this._-0Xx = null;
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-1a6._-4KD, this._-08y);
            _arg1.addEventListener(_-1a6._-1V4, this._-08y);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-1a6._-4KD, this._-08y);
            _arg1.removeEventListener(_-1a6._-1V4, this._-08y);
        }
        private function _-0kD():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-08y(_arg1:_-1a6):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1._-3Cm)
            {
                this._-R4 = _arg1.type;
                this._-1bt = false;
                this._-4ua = _arg1.position;
            }
            else
            {
                this._-1bt = true;
            };
            this._-22y = _arg1._-XH;
            this._-4EF = _arg1._-0TQ;
            localizations.registerParameter("room.queue.position", "position", this._-4ua.toString());
            localizations.registerParameter("room.queue.position.hc", "position", this._-4ua.toString());
            localizations.registerParameter("room.queue.spectator.position", "position", this._-4ua.toString());
            localizations.registerParameter("room.queue.spectator.position.hc", "position", this._-4ua.toString());
            this._-3Zl();
        }
        private function createWindow():Boolean
        {
            if (this._-0xv != null)
            {
                return (true);
            };
            var k:_-243 = (assets.getAssetByName("room_queue") as _-243);
            this._-0xv = (windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            if (this._-0xv == null)
            {
                return (false);
            };
            this._-0xv.visible = false;
            var k:IWindow = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-3xz);
            };
            k = this._-0xv.findChildByName("cancel_button");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-3xz);
            };
            k = this._-0xv.findChildByName("link_text");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-52);
            };
            k = this._-0xv.findChildByName("change_button");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-3oA);
            };
            this._-0xv.center();
            return (true);
        }
        private function _-3Zl():void
        {
            if (!this.createWindow())
            {
                return;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("info_text") as ITextWindow);
            var k:IButtonWindow = (this._-0xv.findChildByName("change_button") as IButtonWindow);
            var k:IWindow = this._-0xv.findChildByName("spectator_info");
            if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
            {
                switch (this._-R4)
                {
                    case _-1a6._-4KD:
                        k.caption = ((this._-4EF) ? "${room.queue.position.hc}" : "${room.queue.position}");
                        k.caption = "${room.queue.spectatormode}";
                        k.visible = this._-1bt;
                        break;
                    case _-1a6._-1V4:
                        k.caption = ((this._-4EF) ? "${room.queue.spectator.position.hc}" : "${room.queue.spectator.position}");
                        k.caption = "${room.queue.back}";
                        k.visible = false;
                        break;
                };
                k.visible = this._-1bt;
            };
            var k:IWindowContainer = (this._-0xv.findChildByName("club_container") as IWindowContainer);
            if (k != null)
            {
                k.visible = !(this._-22y);
            };
            this._-0xv.visible = true;
        }
        private function _-3xz(_arg1:WindowMouseEvent):void
        {
            if (messageListener == null)
            {
                return;
            };
            var k:_-1He = new _-1He(_-1He._-0Yo);
            messageListener.processWidgetMessage(k);
            this._-0kD();
        }
        private function _-52(_arg1:WindowMouseEvent):void
        {
            messageListener.processWidgetMessage(new _-1He(_-1He._-4Um));
        }
        private function _-3oA(_arg1:WindowMouseEvent):void
        {
            var k:_-1He;
            if (messageListener == null)
            {
                return;
            };
            if (this._-R4 == _-1a6._-4KD)
            {
                k = new _-1He(_-1He._-Ku);
            }
            else
            {
                k = new _-1He(_-1He._-3di);
            };
            messageListener.processWidgetMessage(k);
            this._-0kD();
        }

    }
}//package _-0yt

//------------------------------------------------------------
//_-0Z1._-0uA

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-9K;
    import _-4Aj.*;

    public class _-0uA extends _-7V implements _-0tL 
    {

        public function _-0uA(_arg1:Function)
        {
            super(_arg1, _-9K);
        }
        public function _-3-5():_-9K
        {
            return ((_-515 as _-9K));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-0v7

package _-0Z1
{
    import _-4Aj._-0s1;

    public class _-0v7 
    {

        private var _-57N:int;
        private var _-09k:Array;

        public function _-0v7(_arg1:_-0s1)
        {
            this._-57N = _arg1._-2BW();
            this._-09k = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-09k.push(_arg1._-2BW());
                k++;
            };
        }
        public function dispose():void
        {
            this._-57N = -1;
            this._-09k = [];
        }
        public function get _-2RU():int
        {
            return (this._-57N);
        }
        public function get breeds():Array
        {
            return (this._-09k);
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-0yS

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-1mY;
    import _-4Aj.*;

    public class _-0yS extends _-7V implements _-0tL 
    {

        public function _-0yS(_arg1:Function)
        {
            super(_arg1, _-1mY);
        }
        public function _-3-5():_-1mY
        {
            return ((_-515 as _-1mY));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-1ah

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-2y4;
    import _-4Aj.*;

    public class _-1ah extends _-7V implements _-0tL 
    {

        public function _-1ah(_arg1:Function)
        {
            super(_arg1, _-2y4);
        }
        public function _-3-5():_-2y4
        {
            return ((_-515 as _-2y4));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-2CT

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-4JX;
    import _-4Aj.*;

    public class _-2CT extends _-7V implements _-0tL 
    {

        public function _-2CT(_arg1:Function)
        {
            super(_arg1, _-4JX);
        }
        public function _-3-5():_-4JX
        {
            return ((_-515 as _-4JX));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-2ZU

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-4vk;
    import _-4Aj.*;

    public class _-2ZU extends _-7V implements _-0tL 
    {

        public function _-2ZU(_arg1:Function)
        {
            super(_arg1, _-4vk);
        }
        public function _-3-5():_-4vk
        {
            return ((_-515 as _-4vk));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-3UG

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-1zA;
    import _-4Aj.*;

    public class _-3UG extends _-7V implements _-0tL 
    {

        public function _-3UG(_arg1:Function)
        {
            super(_arg1, _-1zA);
        }
        public function _-3-5():_-1zA
        {
            return ((_-515 as _-1zA));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-4d7

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-4jH;
    import _-4Aj.*;

    public class _-4d7 extends _-7V implements _-0tL 
    {

        public function _-4d7(_arg1:Function)
        {
            super(_arg1, _-4jH);
        }
        public function _-3-5():_-4jH
        {
            return ((_-515 as _-4jH));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-4HB

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-cG;
    import _-4Aj.*;

    public class _-4HB extends _-7V implements _-0tL 
    {

        public function _-4HB(_arg1:Function)
        {
            super(_arg1, _-cG);
        }
        public function _-3-5():_-cG
        {
            return ((_-515 as _-cG));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-4wI

package _-0Z1
{
    public class _-4wI 
    {

        private var _-2CO:int;
        private var _-0xc:int;
        private var _-03u:String;
        private var _-4lu:int;
        private var _-2lb:String;
        private var _-1KD:int;
        private var _-4dc:Boolean;

        public function _-4wI(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:String, _arg6:int, _arg7:Boolean)
        {
            this._-2CO = _arg1;
            this._-0xc = _arg2;
            this._-03u = _arg3;
            this._-4lu = _arg4;
            this._-2lb = _arg5;
            this._-1KD = _arg6;
            this._-4dc = _arg7;
        }
        public function get _-2Ds():int
        {
            return (this._-2CO);
        }
        public function get _-YT():int
        {
            return (this._-0xc);
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function get _-2Zg():Boolean
        {
            return (this._-4dc);
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-4ZX

package _-0Z1
{
    import _-4Aj._-0s1;

    public class _-4ZX 
    {

        private var _-3Z9:int;
        private var _name:String;
        private var _-55e:int;
        private var _-5AE:String;
        private var _-3f-:String;

        public function _-4ZX(_arg1:_-0s1)
        {
            this._-3Z9 = _arg1._-2BW();
            this._name = _arg1.readString();
            this._-55e = _arg1._-2BW();
            this._-5AE = _arg1.readString();
            this._-3f- = _arg1.readString();
        }
        public function dispose():void
        {
            this._-3Z9 = 0;
            this._name = "";
            this._-55e = 0;
            this._-5AE = "";
            this._-3f- = "";
        }
        public function get _-2HY():int
        {
            return (this._-3Z9);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get owner():String
        {
            return (this._-3f-);
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0Z1._-6D

package _-0Z1
{
    import _-4Aj._-7V;
    import _-3wm._-f4;
    import _-4Aj.*;

    public class _-6D extends _-7V implements _-0tL 
    {

        public function _-6D(_arg1:Function)
        {
            super(_arg1, _-f4);
        }
        public function _-3-5():_-f4
        {
            return ((_-515 as _-f4));
        }

    }
}//package _-0Z1

//------------------------------------------------------------
//_-0ZI._-07M

package _-0ZI
{
    import _-4Aj._-7V;
    import _-1-P._-1W-;

    public class _-07M extends _-7V 
    {

        public function _-07M(_arg1:Function)
        {
            super(_arg1, _-1W-);
        }
        public function _-3-5():_-1W-
        {
            return ((_-515 as _-1W-));
        }

    }
}//package _-0ZI

//------------------------------------------------------------
//_-0ZI._-0sC

package _-0ZI
{
    import _-4Aj._-7V;
    import _-1-P._-4RY;

    public class _-0sC extends _-7V 
    {

        public function _-0sC(_arg1:Function)
        {
            super(_arg1, _-4RY);
        }
        public function _-3-5():_-4RY
        {
            return ((_-515 as _-4RY));
        }

    }
}//package _-0ZI

//------------------------------------------------------------
//_-0ZI._-0Zf

package _-0ZI
{
    public class _-0Zf 
    {

        private var _-5K:int;
        private var _-50Z:int;
        private var _-0Jk:int;
        private var _-3TB:int;
        private var _-3qw:int;

        public function get type():int
        {
            return (this._-5K);
        }
        public function set type(_arg1:int):void
        {
            this._-5K = _arg1;
        }
        public function get _-4N():int
        {
            return (this._-50Z);
        }
        public function set _-4N(_arg1:int):void
        {
            this._-50Z = _arg1;
        }
        public function get duration():int
        {
            return (this._-0Jk);
        }
        public function set duration(_arg1:int):void
        {
            this._-0Jk = _arg1;
        }
        public function get _-3mx():int
        {
            return (this._-3TB);
        }
        public function set _-3mx(_arg1:int):void
        {
            this._-3TB = _arg1;
        }
        public function get _-0yu():int
        {
            return (this._-3qw);
        }
        public function set _-0yu(_arg1:int):void
        {
            this._-3qw = _arg1;
        }

    }
}//package _-0ZI

//------------------------------------------------------------
//_-0ZI._-2gy

package _-0ZI
{
    import _-4Aj._-7V;
    import _-1-P._-53d;

    public class _-2gy extends _-7V 
    {

        public function _-2gy(_arg1:Function)
        {
            super(_arg1, _-53d);
        }
        public function _-3-5():_-53d
        {
            return ((_-515 as _-53d));
        }

    }
}//package _-0ZI

//------------------------------------------------------------
//_-0ZI._-3jv

package _-0ZI
{
    import _-4Aj._-7V;
    import _-1-P._-uN;

    public class _-3jv extends _-7V 
    {

        public function _-3jv(_arg1:Function)
        {
            super(_arg1, _-uN);
        }
        public function _-3-5():_-uN
        {
            return ((_-515 as _-uN));
        }

    }
}//package _-0ZI

//------------------------------------------------------------
//_-0ZI._-3tK

package _-0ZI
{
    import _-4Aj._-7V;
    import _-1-P._-2cM;

    public class _-3tK extends _-7V 
    {

        public function _-3tK(_arg1:Function)
        {
            super(_arg1, _-2cM);
        }
        public function _-3-5():_-2cM
        {
            return ((_-515 as _-2cM));
        }

    }
}//package _-0ZI

//------------------------------------------------------------
//_-1-2._-0aw

package _-1-2
{
    import flash.utils.getTimer;

    public class _-0aw 
    {

        private var _-0hW:int;
        private var _-3ns:Number;
        private var _-pb:Number;
        private var _-3W1:int;
        private var _-4NP:Number;
        private var _-3Ng:Number;

        public function _-0aw(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number=2, _arg5:Number=1)
        {
            this._-0hW = _arg1;
            this._-3ns = _arg2;
            this._-pb = _arg3;
            this._-4NP = _arg4;
            this._-3Ng = _arg5;
            this._-3W1 = getTimer();
        }
        public function get _-FX():int
        {
            return (this._-0hW);
        }
        public function get startPos():Number
        {
            if (this._-3ns < 0)
            {
                return (0);
            };
            return ((this._-3ns + ((getTimer() - this._-3W1) / 1000)));
        }
        public function get _-5AT():Number
        {
            return (this._-pb);
        }
        public function get _-1pH():Number
        {
            return (this._-4NP);
        }
        public function get _-1V():Number
        {
            return (this._-3Ng);
        }

    }
}//package _-1-2

//------------------------------------------------------------
//_-1-2._-0-U

package _-1-2
{
    import _-59Q._-33D;
    import _-mv._-0Bp;
    import _-mv.*;

    public class _-0-U extends _-33D implements _-486 
    {

        private var _-3iO:_-0Bp = null;
        private var _-0BU:String;
        private var _-3kT:int = -1;

        public function _-0-U(_arg1:int, _arg2:int, _arg3:String, _arg4:String, _arg5:_-0Bp)
        {
            this._-3iO = _arg5;
            this._-0BU = "";
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function get id():int
        {
            return (_-0hW);
        }
        override public function get length():int
        {
            return (_-1Qd);
        }
        override public function get name():String
        {
            return (_-3vA);
        }
        override public function get creator():String
        {
            return (_-27k);
        }
        public function get loaded():Boolean
        {
            return ((((this._-3iO == null)) ? false : this._-3iO.ready));
        }
        public function get _-340():_-0Bp
        {
            return (this._-3iO);
        }
        public function get _-3MA():String
        {
            return (this._-0BU);
        }
        public function get _-3cX():int
        {
            return (this._-3kT);
        }
        public function set _-340(_arg1:_-0Bp):void
        {
            this._-3iO = _arg1;
        }
        public function set _-3MA(_arg1:String):void
        {
            this._-0BU = _arg1;
        }
        public function set _-3cX(_arg1:int):void
        {
            this._-3kT = _arg1;
        }

    }
}//package _-1-2

//------------------------------------------------------------
//_-1-2.HabboMusicController

package _-1-2
{
    import _-mv._-2rt;
    import _-mv.HabboSoundManagerFlash10;
    import _-2np._-1ZV;
    import flash.events.IEventDispatcher;
    import _-18r.Map;
    import _-mv._-4vP;
    import flash.utils.Timer;
    import _-4Aj._-0tL;
    import _-59Q._-0AE;
    import _-59Q._-Cn;
    import _-59g._-iV;
    import flash.events.TimerEvent;
    import _-1ZZ._-21f;
    import _-1ZZ._-z6;
    import _-mv._-0Bp;
    import _-mv._-486;
    import _-2vq._-4pz;
    import _-XY.TraxSequencer;
    import _-2vq._-36B;
    import _-59Q._-1LF;
    import _-45A._-2Gj;
    import _-1ZZ._-3Wk;
    import _-1ZZ._-5A0;
    import flash.utils.getTimer;
    import _-45A._-3ym;
    import flash.events.Event;
    import _-2vq._-20C;
    import _-1B-.*;
    import _-mv.*;

    public class HabboMusicController implements _-d4, _-1zZ 
    {

        public static const _-3H2:int = -1;
        private static const _-2Wf:int = _-2rt._-4w3;//0

        private var _-42G:HabboSoundManagerFlash10;
        private var _-51u:_-1ZV;
        private var _-2Te:IEventDispatcher;
        private var _-07:IEventDispatcher;
        private var _-01P:Map;
        private var _-0R2:Map;
        private var _-3GQ:Array;
        private var _-1CQ:_-4vP = null;
        private var _disposed:Boolean = false;
        private var _-11:Array;
        private var _-2l-:Array;
        private var _-h6:int = -1;
        private var _-0BF:int = -1;
        private var _-3hD:int = -1;
        private var _-1Pn:Timer;
        private var _-4Fa:Map;
        private var _-3bH:Array;
        private var _-2JW:Array;
        private var _-2Nq:int = -1;
        private var _-2uN:int = -1;

        public function HabboMusicController(_arg1:HabboSoundManagerFlash10, _arg2:IEventDispatcher, _arg3:IEventDispatcher, _arg4:_-1ZV)
        {
            var k:_-0tL;
            var k:int;
            this._-01P = new Map();
            this._-0R2 = new Map();
            this._-3GQ = new Array();
            this._-11 = [];
            this._-2l- = [];
            this._-4Fa = new Map();
            this._-3bH = new Array();
            this._-2JW = [];
            super();
            this._-42G = _arg1;
            this._-2Te = _arg2;
            this._-07 = _arg3;
            this._-51u = _arg4;
            this._-2JW.push(new _-0AE(this._-29W));
            this._-2JW.push(new _-Cn(this._-2XO));
            for each (k in this._-2JW)
            {
                this._-51u.addMessageEvent(k);
            };
            this._-07.addEventListener(_-iV._-1Dn, this._-DZ);
            this._-07.addEventListener(_-iV._-4uE, this._-xr);
            this._-07.addEventListener(_-iV._-4pp, this._-2sq);
            this._-07.addEventListener(_-iV._-4bX, this._-45t);
            this._-1Pn = new Timer(1000);
            this._-1Pn.start();
            this._-1Pn.addEventListener(TimerEvent.TIMER, this._-3fS);
            this._-2Te.addEventListener(_-21f._-041, this._-39J);
            k = 0;
            while (k < _-2rt._-1Vc)
            {
                this._-11[k] = null;
                this._-2l-[k] = 0;
                k++;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get events():IEventDispatcher
        {
            return (this._-2Te);
        }
        protected function _-39J(_arg1:_-21f):void
        {
            var k:int;
            _-Nb.log((("Song " + _arg1.id) + " finished playing"));
            if (this._-2cx(this._-h6) == _arg1.id)
            {
                if ((((this._-1oU() == this._-h6)) && ((this._-2J4(this._-h6) == this._-3hD))))
                {
                    this._-4Wl(this._-h6);
                };
                k = this._-h6;
                this._-3ej();
                if (k >= _-2rt._-1Ei)
                {
                    this._-2Te.dispatchEvent(new _-z6(_-z6._-3x8, k, _arg1.id, -1));
                };
            };
        }
        public function dispose():void
        {
            var k:_-0tL;
            var k:int;
            var k:_-0-U;
            var k:_-0Bp;
            if (!this._disposed)
            {
                this._-42G = null;
                this._-3GQ = null;
                if (this._-51u)
                {
                    for each (k in this._-2JW)
                    {
                        this._-51u.removeMessageEvent(k);
                        k.dispose();
                    };
                    this._-2JW = null;
                    this._-51u = null;
                };
                if (this._-1CQ)
                {
                    this._-1CQ.dispose();
                    this._-1CQ = null;
                };
                if (this._-01P)
                {
                    k = 0;
                    while (k < this._-01P.length)
                    {
                        k = (this._-01P.getWithIndex(k) as _-0-U);
                        k = (k._-340 as _-0Bp);
                        if (k != null)
                        {
                            k.stop();
                        };
                        k._-340 = null;
                        k++;
                    };
                    this._-01P.dispose();
                    this._-01P = null;
                };
                if (this._-0R2 != null)
                {
                    this._-0R2.dispose();
                    this._-0R2 = null;
                };
                this._-1Pn.stop();
                this._-1Pn = null;
                if (this._-07)
                {
                    this._-07.removeEventListener(_-iV._-1Dn, this._-DZ);
                    this._-07.removeEventListener(_-iV._-4uE, this._-xr);
                    this._-07.removeEventListener(_-iV._-4pp, this._-2sq);
                    this._-07.removeEventListener(_-iV._-4bX, this._-45t);
                };
                if (this._-4Fa != null)
                {
                    this._-4Fa.dispose();
                    this._-4Fa = null;
                };
                this._disposed = true;
            };
        }
        public function _-2EL(_arg1:int=-1):_-4vP
        {
            return (this._-1CQ);
        }
        private function _-0Cy(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean
        {
            if ((((_arg1 < 0)) || ((_arg1 >= _-2rt._-1Vc))))
            {
                return (false);
            };
            var k:_-0aw = new _-0aw(_arg2, _arg3, _arg4, _arg5, _arg6);
            this._-11[_arg1] = k;
            this._-2l-[_arg1] = (this._-2l-[_arg1] + 1);
            return (true);
        }
        private function _-1N1(_arg1:int):_-0aw
        {
            return (this._-11[_arg1]);
        }
        private function _-3x1(_arg1:int):int
        {
            if ((((_arg1 < 0)) || ((_arg1 >= _-2rt._-1Vc))))
            {
                return (-1);
            };
            if (this._-11[_arg1] == null)
            {
                return (-1);
            };
            var k:_-0aw = this._-11[_arg1];
            return (k._-FX);
        }
        private function _-2J4(_arg1:int):int
        {
            if ((((_arg1 < 0)) || ((_arg1 >= _-2rt._-1Vc))))
            {
                return (-1);
            };
            return (this._-2l-[_arg1]);
        }
        private function _-1oU():int
        {
            var k:int = (this._-11.length - 1);
            while (k >= 0)
            {
                if (this._-11[k] != null)
                {
                    return (k);
                };
                k--;
            };
            return (-1);
        }
        private function _-4Wl(_arg1:int):void
        {
            if ((((_arg1 >= 0)) && ((_arg1 < _-2rt._-1Vc))))
            {
                this._-11[_arg1] = null;
            };
        }
        private function _-kN(_arg1:int):void
        {
            this._-2l-[_arg1] = (this._-2l-[_arg1] + 1);
        }
        private function _-4q1(_arg1:int, _arg2:Boolean=true):Boolean
        {
            var k:_-0-U = this._-1WM(_arg1);
            if (k == null)
            {
                this._-4y0(_arg1);
                return (false);
            };
            if (k._-340 == null)
            {
                k._-340 = this._-42G._-4yO(k.id, k._-3MA);
            };
            var k:_-0Bp = k._-340;
            if (!k.ready)
            {
                return (false);
            };
            return (true);
        }
        public function _-3T9(_arg1:int, _arg2:int, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0.5, _arg6:Number=0.5):Boolean
        {
            _-Nb.log((("Requesting " + _arg1) + " for playing"));
            if (!this._-0Cy(_arg2, _arg1, _arg3, _arg4, _arg5, _arg6))
            {
                return (false);
            };
            if (!this._-4q1(_arg1))
            {
                return (false);
            };
            if (_arg2 >= this._-h6)
            {
                this._-2oq(_arg2, _arg1);
            }
            else
            {
                _-Nb.log(((("Higher priority song blocked playing. Stored song " + _arg1) + " for priority ") + _arg2));
            };
            return (true);
        }
        private function _-3ej():void
        {
            var k:int;
            this._-h6 = -1;
            this._-0BF = -1;
            this._-3hD = -1;
            var k:int = this._-1oU();
            var k:int = k;
            while (k >= 0)
            {
                k = this._-3x1(k);
                if ((((k >= 0)) && (this._-2oq(k, k))))
                {
                    return;
                };
                k--;
            };
        }
        public function stop(_arg1:int):void
        {
            var k = (_arg1 == this._-h6);
            var k = (this._-1oU() == _arg1);
            if (k)
            {
                this._-4Wl(_arg1);
                this._-6R(_arg1);
            }
            else
            {
                this._-4Wl(_arg1);
                if (k)
                {
                    this._-kN(this._-h6);
                };
            };
        }
        private function _-6R(_arg1:int):Boolean
        {
            var k:int;
            var k:_-0-U;
            if ((((_arg1 == this._-h6)) && ((this._-h6 >= 0))))
            {
                k = this._-2cx(_arg1);
                if (k >= 0)
                {
                    k = this._-1WM(k);
                    this._-353(k);
                    return (true);
                };
            };
            return (false);
        }
        private function _-353(_arg1:_-0-U):void
        {
            var k:_-0Bp;
            if (_arg1 != null)
            {
                _-Nb.log(("Stopping current song " + _arg1.id));
                k = _arg1._-340;
                if (k != null)
                {
                    k.stop();
                };
            };
        }
        private function _-1WM(_arg1:int):_-0-U
        {
            var k:_-0-U;
            if (this._-01P != null)
            {
                k = (this._-01P.getValue(_arg1) as _-0-U);
            };
            return (k);
        }
        public function _-39N(_arg1:Number):void
        {
            var k:int;
            var k:_-0-U;
            var k:int;
            while (k < _-2rt._-1Vc)
            {
                k = this._-2cx(k);
                if (k >= 0)
                {
                    k = (this._-1WM(k) as _-0-U);
                    if (((!((k == null))) && (!((k._-340 == null)))))
                    {
                        k._-340._-04l = _arg1;
                    };
                };
                k++;
            };
        }
        public function _-31l(_arg1:int):void
        {
            var k:int;
            _-Nb.log(("Song loaded : " + _arg1));
            var k:int = this._-1oU();
            if (k >= 0)
            {
                k = this._-3x1(k);
                if (_arg1 == k)
                {
                    this._-2oq(k, _arg1);
                };
            };
        }
        public function _-4y0(_arg1:int):void
        {
            this._-3NM(_arg1, true);
        }
        public function _-3nW(_arg1:int):void
        {
            this._-3NM(_arg1, false);
        }
        private function _-3NM(_arg1:int, _arg2:Boolean):void
        {
            if (this._-0R2.getValue(_arg1) == null)
            {
                this._-0R2.add(_arg1, _arg2);
                this._-3GQ.push(_arg1);
            };
        }
        public function _-rR(_arg1:int):_-486
        {
            var k:_-0-U = this._-1WM(_arg1);
            if (k == null)
            {
                this._-3nW(_arg1);
            };
            return (k);
        }
        public function _-Ci():void
        {
            if (this._-51u == null)
            {
                return;
            };
            this._-51u.send(new _-4pz());
        }
        public function _-Xd():int
        {
            return (this._-4Fa.length);
        }
        public function _-40e(_arg1:int):int
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-4Fa.length))))
            {
                return (this._-4Fa.getKey(_arg1));
            };
            return (-1);
        }
        public function _-4cC(_arg1:int):int
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-4Fa.length))))
            {
                return (this._-4Fa.getWithIndex(_arg1));
            };
            return (-1);
        }
        public function _-2cx(_arg1:int):int
        {
            if (_arg1 != this._-h6)
            {
                return (-1);
            };
            return (this._-0BF);
        }
        public function _-0O5(_arg1:Array):void
        {
            var k:_-0-U;
            var k:TraxSequencer;
            var k:Array;
            var k:int;
            var k:int;
            while (k < this._-01P.length)
            {
                k = (this._-01P.getWithIndex(k) as _-0-U);
                k = (k._-340 as TraxSequencer);
                if (((((!((k.id == this._-0BF))) && (!((k == null))))) && (k.ready)))
                {
                    k = k._-0zi._-03e();
                    k = 0;
                    while (k < _arg1.length)
                    {
                        if (k.indexOf(_arg1[k]) != -1)
                        {
                            k._-340 = null;
                            k.dispose();
                            _-Nb.log(((("Unloaded " + k.name) + " by ") + k.creator));
                        };
                        k++;
                    };
                };
                k++;
            };
        }
        public function get _-34X():Array
        {
            var k:_-0aw;
            var k:_-0-U;
            var k:TraxSequencer;
            var k:Array = [];
            var k:int;
            while (k < this._-11.length)
            {
                if (this._-11[k] != null)
                {
                    k = this._-11[k];
                    k = this._-01P.getValue(k._-FX);
                    if (k != null)
                    {
                        k = (k._-340 as TraxSequencer);
                        if (k != null)
                        {
                            k = k.concat(k._-0zi._-03e());
                        };
                    };
                };
                k++;
            };
            return (k);
        }
        private function _-3fS(_arg1:TimerEvent):void
        {
            if (this._-3GQ.length < 1)
            {
                return;
            };
            if (this._-51u == null)
            {
                return;
            };
            this._-51u.send(new _-36B(this._-3GQ));
            _-Nb.log(("Requested song info's : " + this._-3GQ));
            this._-3GQ = new Array();
        }
        private function _-29W(_arg1:_-0tL):void
        {
            var k:_-1LF;
            var k:Boolean;
            var k:Boolean;
            var k:_-0Bp;
            var k:_-0-U;
            var k:int;
            var k:int;
            var k:_-0AE = (_arg1 as _-0AE);
            var k:_-2Gj = (k._-3-5() as _-2Gj);
            var k:Array = k._-0ar;
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = (this._-1WM(k.id) == null);
                k = this._-25i(k.id);
                if (k)
                {
                    k = null;
                    if (k)
                    {
                        k = this._-42G._-4yO(k.id, k.data);
                    };
                    k = new _-0-U(k.id, k.length, k.name, k.creator, k);
                    k._-3MA = k.data;
                    this._-01P.add(k.id, k);
                    k = this._-1oU();
                    k = this._-3x1(k);
                    if (((((!((k == null))) && (k.ready))) && ((k.id == k))))
                    {
                        this._-2oq(k, k);
                    };
                    this._-2Te.dispatchEvent(new _-3Wk(_-3Wk._-3hw, k.id));
                    while (this._-3bH.indexOf(k.id) != -1)
                    {
                        this._-3bH.splice(this._-3bH.indexOf(k.id), 1);
                        if (this._-3bH.length == 0)
                        {
                            this._-2Te.dispatchEvent(new _-5A0(_-5A0._-0da));
                        };
                    };
                    _-Nb.log(("Received song info : " + k.id));
                };
                k++;
            };
        }
        private function _-2oq(_arg1:int, _arg2:int):Boolean
        {
            if ((((((_arg2 == -1)) || ((_arg1 < 0)))) || ((_arg1 >= _-2rt._-1Vc))))
            {
                return (false);
            };
            var k:Boolean;
            if (this._-6R(this._-h6))
            {
                k = true;
            };
            var k:_-0-U = this._-1WM(_arg2);
            if (k == null)
            {
                _-Nb.log((("WARNING: Unable to find song entry id " + _arg2) + " that was supposed to be loaded."));
                return (false);
            };
            var k:_-0Bp = k._-340;
            if ((((k == null)) || (!(k.ready))))
            {
                return (false);
            };
            if (k)
            {
                _-Nb.log(("Waiting previous song to stop before playing song " + _arg2));
                return (true);
            };
            k._-04l = this._-42G._-0nr;
            var k:Number = _-3H2;
            var k:Number = 0;
            var k:Number = 2;
            var k:Number = 1;
            var k:_-0aw = this._-1N1(_arg1);
            if (k != null)
            {
                k = k.startPos;
                k = k._-5AT;
                k = k._-1pH;
                k = k._-1V;
            };
            if (k >= (k.length / 1000))
            {
                return (false);
            };
            if (k == _-3H2)
            {
                k = 0;
            };
            k._-1pH = k;
            k._-1V = k;
            k.position = k;
            k.play(k);
            this._-h6 = _arg1;
            this._-3hD = this._-2J4(_arg1);
            this._-0BF = _arg2;
            if (this._-h6 <= _-2Wf)
            {
                this._-0GJ(k);
            };
            if (_arg1 > _-2rt._-4w3)
            {
                this._-2Te.dispatchEvent(new _-z6(_-z6._-0zO, _arg1, k.id, -1));
            };
            _-Nb.log(((((((((("Started playing song " + _arg2) + " at position ") + k) + " for ") + k) + " seconds (length ") + (k.length / 1000)) + ") with priority ") + _arg1));
            return (true);
        }
        private function _-0GJ(_arg1:_-0-U):void
        {
            var k = 8000;
            var k:int = getTimer();
            if ((((_arg1.length >= k)) && (((!((this._-2Nq == _arg1.id))) || ((k > (this._-2uN + k)))))))
            {
                this._-42G._-0jq(_arg1.name, _arg1.creator);
                this._-2Nq = _arg1.id;
                this._-2uN = k;
            };
        }
        private function _-25i(_arg1:int):Boolean
        {
            if (this._-0R2.getValue(_arg1) == null)
            {
                return (false);
            };
            return (this._-0R2.getValue(_arg1));
        }
        private function _-2XO(_arg1:_-0tL):void
        {
            var k:int;
            var k:int;
            var k:_-Cn = (_arg1 as _-Cn);
            var k:_-3ym = (k._-3-5() as _-3ym);
            this._-4Fa.reset();
            var k:int;
            while (k < k._-3qZ)
            {
                k = k._-0Kb(k);
                k = k._-2Xy(k);
                this._-4Fa.add(k, k);
                if (this._-01P.getValue(k) == null)
                {
                    this._-3bH.push(k);
                    this._-3nW(k);
                };
                k++;
            };
            if (this._-3bH.length == 0)
            {
                this._-2Te.dispatchEvent(new _-5A0(_-5A0._-0da));
            };
        }
        private function _-2sq(_arg1:Event):void
        {
            this._-mN();
            this._-1CQ = (new SoundMachinePlayListController(this._-42G, this, this._-2Te, this._-07, this._-51u) as _-4vP);
        }
        private function _-45t(_arg1:Event):void
        {
            this._-mN();
        }
        private function _-DZ(_arg1:Event):void
        {
            this._-mN();
            this._-1CQ = (new JukeboxPlayListController(this._-42G, this, this._-2Te, this._-51u) as _-4vP);
            this._-51u.send(new _-20C());
        }
        private function _-xr(_arg1:Event):void
        {
            this._-mN();
        }
        private function _-mN():void
        {
            if (this._-1CQ != null)
            {
                this._-1CQ.dispose();
                this._-1CQ = null;
            };
        }

    }
}//package _-1-2

//------------------------------------------------------------
//_-1-2.JukeboxPlayListController

package _-1-2
{
    import _-mv._-d4;
    import flash.events.IEventDispatcher;
    import _-2np._-1ZV;
    import _-mv.HabboSoundManagerFlash10;
    import _-4Aj._-0tL;
    import _-59Q._-4xw;
    import _-59Q._-1DZ;
    import _-59Q._-2KV;
    import _-1ZZ._-21f;
    import _-1ZZ._-3Wk;
    import _-mv._-2rt;
    import _-2vq._-37;
    import _-mv._-486;
    import _-45A._-0-H;
    import _-1ZZ._-z6;
    import _-45A._-27P;
    import _-1ZZ._-3SC;
    import _-mv.*;

    public class JukeboxPlayListController implements _-4vP 
    {

        private var _disposed:Boolean = false;
        private var _-2aZ:Boolean = false;
        private var _-3gb:Array;
        private var _-3ne:_-d4;
        private var _-2Te:IEventDispatcher;
        private var _-51u:_-1ZV;
        private var _-42G:HabboSoundManagerFlash10;
        private var _-3iN:int = -1;
        private var _-44c:Array;
        private var _-2JW:Array;
        private var _-2kM:int = -1;

        public function JukeboxPlayListController(_arg1:HabboSoundManagerFlash10, _arg2:HabboMusicController, _arg3:IEventDispatcher, _arg4:_-1ZV)
        {
            var k:_-0tL;
            this._-3gb = new Array();
            this._-44c = new Array();
            super();
            this._-42G = _arg1;
            this._-3ne = _arg2;
            this._-2Te = _arg3;
            this._-51u = _arg4;
            this._-2JW = [];
            this._-2JW.push(new _-4xw(this._-0wV));
            this._-2JW.push(new _-1DZ(this._-3Hw));
            this._-2JW.push(new _-2KV(this._-4QI));
            for each (k in this._-2JW)
            {
                this._-51u.addMessageEvent(k);
            };
            this._-2Te.addEventListener(_-21f._-041, this._-39J);
            this._-3ne.events.addEventListener(_-3Wk._-3hw, this._-27W);
        }
        public function get priority():int
        {
            return (_-2rt._-4w3);
        }
        public function get _-1HS():int
        {
            return (this._-3iN);
        }
        public function get _-26S():int
        {
            return (this._-2kM);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-3uA():Boolean
        {
            return (this._-2aZ);
        }
        public function get length():int
        {
            if (this._-3gb == null)
            {
                return (0);
            };
            return (this._-3gb.length);
        }
        public function dispose():void
        {
            var k:_-0tL;
            if (!this._disposed)
            {
                this._-vs();
                if (this._-3ne.events)
                {
                    this._-3ne.events.removeEventListener(_-3Wk._-3hw, this._-27W);
                };
                this._-3ne = null;
                this._-42G = null;
                if (this._-51u)
                {
                    for each (k in this._-2JW)
                    {
                        this._-51u.removeMessageEvent(k);
                        k.dispose();
                    };
                    this._-2JW = null;
                    this._-51u = null;
                };
                if (this._-2Te)
                {
                    this._-2Te.removeEventListener(_-21f._-041, this._-39J);
                    this._-2Te = null;
                };
                this._disposed = true;
            };
        }
        public function _-vs():void
        {
            this._-3ne.stop(this.priority);
            this._-3iN = -1;
            this._-2kM = -1;
            this._-2aZ = false;
        }
        public function _-0NS():void
        {
            if (this._-51u == null)
            {
                return;
            };
            this._-51u.send(new _-37());
        }
        public function _-1mU(_arg1:int):_-486
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-3gb.length))))
            {
                return (null);
            };
            return (this._-3gb[_arg1]);
        }
        protected function _-39J(_arg1:_-21f):void
        {
        }
        private function _-0wV(_arg1:_-0tL):void
        {
            var k:_-4xw = (_arg1 as _-4xw);
            var k:_-0-H = (k._-3-5() as _-0-H);
            _-Nb.log(((((("Received Now Playing message with: " + k._-4Fs) + ", ") + k._-0sP) + ", ") + k._-2hA));
            this._-2aZ = !((k._-4Fs == -1));
            if (k._-4Fs >= 0)
            {
                this._-3ne._-3T9(k._-4Fs, _-2rt._-4w3, (k._-2hA / 1000), 0, 1, 1);
                this._-3iN = k._-4Fs;
            }
            else
            {
                this._-vs();
            };
            if (k._-0sP >= 0)
            {
                this._-3ne._-4y0(k._-0sP);
            };
            this._-2kM = k._-2XI;
            this._-42G.events.dispatchEvent(new _-z6(_-z6._-47G, _-2rt._-4w3, k._-4Fs, k._-2XI));
        }
        private function _-3Hw(_arg1:_-0tL):void
        {
            var k:int;
            var k:int;
            var k:_-0-U;
            var k:_-1DZ = (_arg1 as _-1DZ);
            var k:_-27P = (k._-3-5() as _-27P);
            _-Nb.log(("Received Jukebox song disks (=playlist) message, length of playlist: " + k._-ww.length));
            this._-3gb = new Array();
            var k:int;
            while (k < k._-ww.length)
            {
                k = k._-ww.getWithIndex(k);
                k = k._-ww.getKey(k);
                k = (this._-3ne._-rR(k) as _-0-U);
                if (k == null)
                {
                    k = new _-0-U(k, -1, null, null, null);
                    if (this._-44c.indexOf(k) < 0)
                    {
                        this._-44c.push(k);
                        this._-3ne._-3nW(k);
                    };
                };
                k._-3cX = k;
                this._-3gb.push(k);
                k++;
            };
            if (this._-44c.length == 0)
            {
                this._-2Te.dispatchEvent(new _-3SC(_-3SC._-0t3));
            };
        }
        private function _-4QI(_arg1:_-0tL):void
        {
            _-Nb.log("Received jukebox playlist full message.");
            this._-2Te.dispatchEvent(new _-3SC(_-3SC._-0lL));
        }
        private function _-27W(_arg1:_-3Wk):void
        {
            var k:_-486;
            var k:int;
            var k:_-0-U;
            var k:int;
            while (k < this.length)
            {
                k = this._-3gb[k];
                if (k.id == _arg1.id)
                {
                    k = k._-3cX;
                    k = (this._-3ne._-rR(_arg1.id) as _-0-U);
                    if (k != null)
                    {
                        k._-3cX = k;
                        this._-3gb[k] = k;
                    };
                    break;
                };
                k++;
            };
            var k:int = this._-44c.indexOf(_arg1.id);
            if (k >= 0)
            {
                this._-44c.splice(k, 1);
            };
            if (this._-44c.length == 0)
            {
                this._-2Te.dispatchEvent(new _-3SC(_-3SC._-0t3));
            };
        }

    }
}//package _-1-2

//------------------------------------------------------------
//_-1-2.SoundMachinePlayListController

package _-1-2
{
    import _-mv.HabboSoundManagerFlash10;
    import _-2np._-1ZV;
    import flash.events.IEventDispatcher;
    import _-4Aj._-0tL;
    import _-59Q._-3jQ;
    import _-59Q._-2lT;
    import _-1ZZ._-21f;
    import _-1ZZ._-3Wk;
    import _-59g._-iV;
    import _-mv._-2rt;
    import flash.events.Event;
    import _-mv._-486;
    import _-2vq._-2ac;
    import _-59Q._-33D;
    import _-45A._-26i;
    import _-1ZZ._-3SC;
    import _-45A._-31D;
    import _-mv.*;

    public class SoundMachinePlayListController implements _-4vP 
    {

        private var _-42G:HabboSoundManagerFlash10;
        private var _-3ne:HabboMusicController;
        private var _-51u:_-1ZV;
        private var _-2Te:IEventDispatcher;
        private var _-07:IEventDispatcher;
        private var _-3iN:int = -1;
        private var _-3ZG:Array;
        private var _-2aZ:Boolean;
        private var _disposed:Boolean = false;
        private var _-2JW:Array;

        public function SoundMachinePlayListController(_arg1:HabboSoundManagerFlash10, _arg2:HabboMusicController, _arg3:IEventDispatcher, _arg4:IEventDispatcher, _arg5:_-1ZV)
        {
            var k:_-0tL;
            this._-3ZG = new Array();
            super();
            this._-42G = _arg1;
            this._-2Te = _arg3;
            this._-07 = _arg4;
            this._-51u = _arg5;
            this._-3ne = _arg2;
            this._-2JW = [];
            this._-2JW.push(new _-3jQ(this._-0ep));
            this._-2JW.push(new _-2lT(this._-0DZ));
            for each (k in this._-2JW)
            {
                this._-51u.addMessageEvent(k);
            };
            this._-2Te.addEventListener(_-21f._-041, this._-39J);
            this._-2Te.addEventListener(_-3Wk._-3hw, this._-27W);
            this._-07.addEventListener(_-iV._-4OL, this._-3we);
            this._-07.addEventListener(_-iV._-3RY, this._-zl);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get priority():int
        {
            return (_-2rt._-4w3);
        }
        public function get length():int
        {
            if (this._-3ZG == null)
            {
                return (0);
            };
            return (this._-3ZG.length);
        }
        public function get _-26S():int
        {
            return (-1);
        }
        public function get _-1HS():int
        {
            return (this._-3iN);
        }
        public function get _-3uA():Boolean
        {
            return (this._-2aZ);
        }
        public function set _-26S(_arg1:int):void
        {
        }
        public function dispose():void
        {
            var k:_-0tL;
            if (!this._disposed)
            {
                if (this._-2aZ)
                {
                    this._-vs();
                };
                this._-42G = null;
                if (this._-51u)
                {
                    for each (k in this._-2JW)
                    {
                        this._-51u.removeMessageEvent(k);
                        k.dispose();
                    };
                    this._-2JW = null;
                    this._-51u = null;
                };
                this._-3ZG = null;
                this._-3ne = null;
                if (this._-2Te)
                {
                    this._-2Te.removeEventListener(_-21f._-041, this._-39J);
                    this._-2Te = null;
                };
                if (this._-07)
                {
                    this._-07.removeEventListener(_-iV._-4OL, this._-3we);
                    this._-07.removeEventListener(_-iV._-3RY, this._-zl);
                    this._-07 = null;
                };
                this._disposed = true;
            };
        }
        private function _-3we(_arg1:Event):void
        {
            this._-3jH();
        }
        private function _-zl(_arg1:Event):void
        {
            this._-vs();
        }
        public function _-3jH():void
        {
            if (this._-2aZ)
            {
                return;
            };
            if ((((this._-3ZG == null)) || ((this._-3ZG.length == 0))))
            {
                this._-0NS();
                this._-2aZ = true;
                return;
            };
            this._-vs();
            this._-3iN = -1;
            this._-2aZ = true;
            this._-0a-();
        }
        public function _-2s5(_arg1:int):void
        {
            var k:_-0-U;
            if (this._-3iN == _arg1)
            {
                this._-3a1(this._-3iN);
                k = this._-0W7();
                if (k != null)
                {
                    this._-3ne._-4y0(k.id);
                };
            };
        }
        public function _-vs():void
        {
            this._-3iN = -1;
            this._-2aZ = false;
            this._-3ne.stop(_-2rt._-4w3);
        }
        public function _-39N(_arg1:Number):void
        {
        }
        public function _-0df(_arg1:_-486, _arg2:int=0):int
        {
            return (-1);
        }
        public function _-1ao(_arg1:int, _arg2:int):void
        {
        }
        public function _-1UX(_arg1:int):void
        {
        }
        private function _-39J(_arg1:_-21f):void
        {
            if (_arg1.id == this._-3iN)
            {
                this._-0a-();
            };
        }
        private function _-27W(_arg1:_-3Wk):void
        {
            var k:_-0-U;
            var k:_-0-U;
            if ((((this._-3ZG == null)) || ((this._-3ZG.length == 0))))
            {
                return;
            };
            var k:int;
            while (k < this._-3ZG.length)
            {
                k = this._-3ZG[k];
                if (k.id == _arg1.id)
                {
                    k = (this._-3ne._-rR(_arg1.id) as _-0-U);
                    if (k != null)
                    {
                        this._-3ZG[k] = k;
                    };
                    return;
                };
                k++;
            };
        }
        private function _-0a-():void
        {
            var k:_-0-U = this._-0W7();
            if (k != null)
            {
                this._-3iN = k.id;
                this._-3a1(this._-3iN);
            };
        }
        private function _-3a1(_arg1:int):void
        {
            var k:_-0-U = (this._-3AB(_arg1) as _-0-U);
            if (k == null)
            {
                return;
            };
            var k:Number = k._-0d7;
            k._-0d7 = 0;
            if (this._-3ne._-3T9(_arg1, _-2rt._-4w3, k, 0, 0, 0))
            {
                _-Nb.log(((("Trax song started by playlist: " + k.name) + " by ") + k.creator));
            };
        }
        private function _-0W7():_-0-U
        {
            var k:_-0-U;
            if ((((this._-3ZG == null)) || ((this._-3ZG.length == 0))))
            {
                return (null);
            };
            var k:int;
            var k:int;
            while (k < this._-3ZG.length)
            {
                k = this._-3ZG[k];
                if (k.id == this._-3iN)
                {
                    k = (k + 1);
                };
                k++;
            };
            if (k >= this._-3ZG.length)
            {
                k = 0;
            };
            k = this._-3ZG[k];
            return (k);
        }
        public function _-1mU(_arg1:int):_-486
        {
            if ((((((this._-3ZG == null)) || ((_arg1 < 0)))) || ((_arg1 >= this._-3ZG.length))))
            {
                return (null);
            };
            return (this._-3ZG[_arg1]);
        }
        public function _-3AB(_arg1:int):_-486
        {
            var k:_-0-U;
            if ((((this._-3ZG == null)) || ((this._-3ZG.length == 0))))
            {
                return (null);
            };
            var k:int;
            while (k < this._-3ZG.length)
            {
                k = this._-3ZG[k];
                if (k.id == _arg1)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-0NS():void
        {
            if (this._-51u == null)
            {
                return;
            };
            this._-51u.send(new _-2ac());
        }
        private function _-4NY(_arg1:Array):Array
        {
            var k:_-33D;
            var k:Array = new Array();
            for each (k in _arg1)
            {
                k.push(new _-0-U(k.id, k.length, k.name, k.creator, null));
            };
            return (k);
        }
        private function _-0ep(_arg1:_-0tL):void
        {
            var k:_-0-U;
            var k:int;
            var k:_-3jQ = (_arg1 as _-3jQ);
            var k:_-26i = (k._-3-5() as _-26i);
            var k:int = k._-2ew;
            var k:Array = this._-4NY(k._-4T3);
            if ((((k == null)) || ((k.length == 0))))
            {
                return;
            };
            this._-3ZG = k;
            var k:int;
            k = 0;
            while (k < k.length)
            {
                k = this._-3ZG[k];
                k = (k + k.length);
                k++;
            };
            if (k < 0)
            {
                k = 0;
            };
            k = (k % k);
            k = 0;
            while (k < k.length)
            {
                k = this._-3ZG[k];
                if (k > k.length)
                {
                    k = (k - k.length);
                }
                else
                {
                    this._-3iN = k.id;
                    k._-0d7 = (Number(k) / 1000);
                    break;
                };
                k++;
            };
            this._-2Te.dispatchEvent(new _-3SC(_-3SC._-0t3));
            if (((!((k == null))) && (this._-2aZ)))
            {
                this._-3a1(k.id);
            };
        }
        private function _-0DZ(_arg1:_-0tL):void
        {
            var k:_-2lT = (_arg1 as _-2lT);
            var k:_-31D = (k._-3-5() as _-31D);
            var k:_-0-U = new _-0-U(k.entry.id, k.entry.length, k.entry.name, k.entry.creator, null);
            if (k == null)
            {
                return;
            };
            this._-3ZG.push(k);
            this._-2Te.dispatchEvent(new _-3SC(_-3SC._-0t3));
            if (!this._-2aZ)
            {
                return;
            };
            if (this._-3ZG.length == 1)
            {
                this._-3a1(k.id);
            }
            else
            {
                this._-2s5(k.id);
            };
        }

    }
}//package _-1-2

//------------------------------------------------------------
//_-1-2.TraxSampleManager

package _-1-2
{
    import _-mv.HabboSoundManagerFlash10;
    import _-18r.Map;
    import flash.utils.ByteArray;
    import flash.net.URLRequest;
    import flash.media.Sound;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import _-1ZZ._-2sw;
    import _-XY.TraxSample;
    import flash.utils.getTimer;
    import _-1B-.*;

    public class TraxSampleManager implements _-1zZ 
    {

        private static const _-0Gb:int = 60;
        private static const _-0NF:int = 25165823;
        private static const _-5AG:int = 0xFFFFFF;

        private var _-42G:HabboSoundManagerFlash10;
        private var _-3Xn:Map;
        private var _-55b:Array;
        private var _-49g:Map;
        private var _-4lq:ByteArray;
        private var _-3Tv:Function;
        private var _-411:Boolean = false;
        private var _disposed:Boolean = false;

        public function TraxSampleManager(_arg1:HabboSoundManagerFlash10, _arg2:Function)
        {
            this._-3Xn = new Map();
            this._-55b = [];
            this._-49g = new Map();
            this._-4lq = new ByteArray();
            super();
            this._-3Tv = _arg2;
            this._-42G = _arg1;
            if (this._-42G.configuration.getBoolean("trax.player.sample.memory.purge.enabled", false))
            {
                this._-411 = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-4lq = null;
                this._-55b = null;
                if (this._-49g != null)
                {
                    this._-49g.dispose();
                    this._-49g = null;
                };
                if (this._-3Xn != null)
                {
                    this._-3Xn.dispose();
                    this._-3Xn = null;
                };
                this._-42G = null;
                this._disposed = true;
            };
        }
        public function get _-4yK():Map
        {
            return (this._-49g);
        }
        public function _-1-D(_arg1:int):void
        {
            if (this._-42G.configuration == null)
            {
                return;
            };
            var k:String = this._-42G.configuration.getKey("flash.dynamic.download.url", "furniture/");
            k = (k + this._-42G.configuration.getKey("flash.dynamic.download.samples.template", "mp3/sound_machine_sample_%typeid%.mp3"));
            k = k.replace(/%typeid%/, _arg1.toString());
            var k:URLRequest = new URLRequest(k);
            var k:Sound = new Sound();
            k.addEventListener(Event.COMPLETE, this._-1JL);
            k.addEventListener(IOErrorEvent.IO_ERROR, this._-2w0);
            k.load(k);
            this._-3Xn.add(k, _arg1);
        }
        public function update(_arg1:uint):void
        {
            this._-5CQ();
        }
        private function _-1JL(_arg1:Event):void
        {
            var k:Sound = (_arg1.target as Sound);
            this._-55b.push(k);
        }
        private function _-2w0(_arg1:Event):void
        {
            this._-42G.events.dispatchEvent(new _-2sw(_-2sw._-ea, this._-42G._-3Xo));
            this._-3Tv.call();
        }
        private function _-3k4(_arg1:Sound):void
        {
            var k:int;
            var k:Number;
            var k:TraxSample;
            if (this._-3Xn.getValue(_arg1) != null)
            {
                k = this._-3Xn.remove(_arg1);
                if (this._-49g.getValue(k) == null)
                {
                    this._-4lq.clear();
                    k = _arg1.length;
                    _arg1.extract(this._-4lq, int((k * 44.1)));
                    k = new TraxSample(this._-4lq, k, TraxSample.SAMPLE_FREQUENCY_44KHZ, TraxSample.SAMPLE_SCALE_16BIT);
                    this._-49g.add(k, k);
                };
            };
        }
        private function _-5CQ():void
        {
            var k:int;
            var k:int;
            var k:Sound;
            if (this._-55b.length > 0)
            {
                k = getTimer();
                while (((((k - k) < _-0Gb)) && ((this._-55b.length > 0))))
                {
                    k = this._-55b.splice(0, 1)[0];
                    this._-3k4(k);
                    k = getTimer();
                };
                if ((((this._-3Xn.length == 0)) && (!((this._-42G._-3Xo == -1)))))
                {
                    this._-42G.events.dispatchEvent(new _-2sw(_-2sw._-3Il, this._-42G._-3Xo));
                    if (this._-411)
                    {
                        this._-3sr();
                    };
                };
            };
        }
        private function _-4mv():void
        {
        }
        private function _-3sr():void
        {
            var k:int;
            var k:TraxSample;
            var k:Array;
            var k:uint;
            var k:int;
            var k:TraxSample;
            var k:int;
            var k:TraxSample;
            var k:uint;
            var k:Array = [];
            var k:Array = this._-42G._-2qH._-34X;
            var k:int;
            while (k < this._-49g.length)
            {
                k = this._-49g.getKey(k);
                k = this._-49g.getWithIndex(k);
                if (((!((k._-2Pl == 0))) && ((k.indexOf(k) == -1))))
                {
                    k.push(k);
                };
                k = (k + k.length);
                k++;
            };
            if (k > _-0NF)
            {
                k = [];
                _-Nb.log("Sample memory limit reached, clearing the oldest and least frequently used samples");
                k.sort(this._-BH);
                k = 0;
                k = 0;
                while ((((k < (k - _-5AG))) && ((k < k.length))))
                {
                    k = k[k++];
                    k = (k + k.length);
                    k.push(k.id);
                };
                k = null;
                if (k.length > 0)
                {
                    for each (k in k)
                    {
                        _-Nb.log(("Purging sample : " + k));
                        k = (this._-49g.getValue(k) as TraxSample);
                        k.dispose();
                        this._-49g.remove(k);
                    };
                    this._-42G._-2qH._-0O5(k);
                };
            };
        }
        private function _-BH(_arg1:TraxSample, _arg2:TraxSample):int
        {
            if (_arg1._-2Pl < _arg2._-2Pl)
            {
                return (-1);
            };
            if (_arg1._-2Pl > _arg2._-2Pl)
            {
                return (1);
            };
            if (_arg1._-3kI < _arg2._-3kI)
            {
                return (-1);
            };
            if (_arg1._-3kI > _arg2._-3kI)
            {
                return (1);
            };
            return (0);
        }

    }
}//package _-1-2

//------------------------------------------------------------
//_-16i._-tO

package _-16i
{
    import flash.events.IEventDispatcher;
    import _-1qT._-33H;
    import flash.display.BitmapData;
    import _-1B-.*;

    public interface _-tO extends _-4yI 
    {

        function get events():IEventDispatcher;
        function set visible(_arg1:Boolean):void;
        function get visible():Boolean;
        function _-5B1(_arg1:_-33H, _arg2:Boolean):void;
        function deSelect(_arg1:Boolean):void;
        function getAvatarFaceBitmap(_arg1:String):BitmapData;
        function setMessengerIconNotify(_arg1:Boolean):void;
        function _-2F2(_arg1:Boolean):void;
        function _-57o(_arg1:Boolean):void;
        function _-1ne():void;
        function removeMessengerNotifications():void;

    }
}//package _-16i

//------------------------------------------------------------
//_-16i.AbstractView

package _-16i
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-4Kb._-3nt;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-1Jd._-51K;
    import _-2gz._-2UE;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboTracking;
    import _-0eb._-1ih;
    import _-295._-39L;
    import _-1B-._-Wo;
    import _-1B-._-4yI;

    public class AbstractView extends _-Px 
    {

        protected var _-U-:_-3Ts;
        protected var _-It:_-3nt;
        protected var _-1u4:_-0hg;
        protected var _-qn:_-4uR;
        protected var _-0pW:_-51K;
        protected var _tracking:_-2UE;

        public function AbstractView(_arg1:_-1ih, _arg2:uint, _arg3:_-39L)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDSessionDataManager(), this._-2zq);
            queueInterface(new IIDAvatarRenderManager(), this._-4Ew);
            queueInterface(new IIDHabboWindowManager(), this._-1cz);
            queueInterface(new IIDHabboLocalizationManager(), this._-4MM);
            queueInterface(new IIDHabboConfigurationManager(), this.onConfigurationAvailable);
            queueInterface(new IIDHabboTracking(), this._-2Nd);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-U-)
                {
                    if (!this._-U-.disposed)
                    {
                        this._-U-.release(new IIDHabboWindowManager());
                        this._-U- = null;
                    };
                };
                if (this._-It)
                {
                    if (!this._-It.disposed)
                    {
                        this._-It.release(new IIDAvatarRenderManager());
                        this._-It = null;
                    };
                };
                if (this._-1u4)
                {
                    if (!this._-1u4.disposed)
                    {
                        this._-1u4.release(new IIDHabboLocalizationManager());
                        this._-1u4 = null;
                    };
                };
                if (this._-qn)
                {
                    if (!this._-qn.disposed)
                    {
                        this._-qn.release(new IIDHabboConfigurationManager());
                        this._-qn = null;
                    };
                };
                if (this._-0pW)
                {
                    if (!this._-0pW.disposed)
                    {
                        this._-0pW.release(new IIDSessionDataManager());
                        this._-0pW = null;
                    };
                };
                if (this._tracking)
                {
                    if (!this._tracking.disposed)
                    {
                        this._tracking.release(new IIDHabboTracking());
                        this._tracking = null;
                    };
                };
                super.dispose();
            };
        }
        protected function _-4Ew(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-It = (_arg2 as _-3nt);
            this.tryInitialize();
        }
        protected function _-1cz(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-U- = (_arg2 as _-3Ts);
            this.tryInitialize();
        }
        protected function _-4MM(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-1u4 = (_arg2 as _-0hg);
            this.tryInitialize();
        }
        protected function onConfigurationAvailable(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-qn = (_arg2 as _-4uR);
            this.tryInitialize();
        }
        protected function _-2zq(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0pW = (_arg2 as _-51K);
            this.tryInitialize();
        }
        protected function _-2Nd(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._tracking = (_arg2 as _-2UE);
            this.tryInitialize();
        }
        protected function tryInitialize():Boolean
        {
            if (((((((((((this._tracking) && (this._-0pW))) && (this._-qn))) && (this._-1u4))) && (this._-It))) && (this._-U-)))
            {
                return (true);
            };
            return (false);
        }

    }
}//package _-16i

//------------------------------------------------------------
//_-16i.HabboFriendBarView

package _-16i
{
    import _-4yS._-0oL;
    import _-0GO._-1Z9;
    import _-Ew.IWindowContainer;
    import __AS3__.vec.Vector;
    import _-1qT._-33H;
    import _-1Y._-0vR;
    import _-1Y._-18A;
    import _-1Y._-nd;
    import _-1Y._-2c4;
    import flash.utils.Timer;
    import com.sulake.iid.IIDHabboFriendBarData;
    import com.sulake.iid.IIDHabboGameManager;
    import _-0eb._-1ih;
    import _-295._-39L;
    import flash.events.TimerEvent;
    import _-3ly._-0RA;
    import _-3ly._-1Wo;
    import _-3ly._-0ie;
    import _-3ly._-45I;
    import _-3ly._-3a3;
    import _-0Ie.WindowEvent;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0y0._-AY;
    import _-4yS._-0gu;
    import _-4yS._-1CF;
    import _-1qT._-4So;
    import _-1ae.IItemListWindow;
    import _-1qT._-2GQ;
    import _-1qT.FriendRequestsTab;
    import _-1qT.FriendEntityTab;
    import _-1qT._-3KB;
    import _-1qT._-5-;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1lS._-4w0;
    import _-295._-2kE;
    import _-09j.WindowParam;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-4Kb._-40f;
    import _-0se._-1uH;
    import _-0se._-24J;
    import _-4yS._-6a;
    import flash.events.Event;
    import _-3Bn._-1Ii;
    import _-2vN._-54k;
    import _-1Y.Icon;
    import _-4yS._-4f9;
    import __AS3__.vec.*;
    import _-4Kb.*;

    public class HabboFriendBarView extends AbstractView implements _-tO, _-3QA 
    {

        private static const _-3op:int = 127;
        private static const _-0hG:int = 1;
        private static const _-4CG:int = 0;
        private static const _-0tk:int = 0;
        private static const _-1CU:int = 0;
        private static const _-3N8:Boolean = false;
        private static const _-1-q:int = 3;
        private static const _-aq:String = "arrow";
        private static const _-3qa:String = "left";
        private static const _-4jU:String = "right";
        private static const _-3w7:String = "bar_xml";
        private static const _-2Eg:String = "toggle_xml";
        private static const _-0Dc:String = "container";
        private static const _-1Qw:String = "wrapper";
        private static const _-3cp:String = "border";
        private static const _-gF:String = "list";
        private static const _-0YW:String = "header";
        private static const _-1B6:String = "canvas";
        private static const ICON:String = "icon";
        private static const _-00C:String = "pieces";
        private static const _-2tX:String = "button_left";
        private static const _-1ax:String = "button_right";
        private static const _-0Xd:String = "button_left_page";
        private static const _-Zj:String = "button_right_page";
        private static const _-ET:String = "button_left_end";
        private static const _-2Og:String = "button_right_end";
        private static const _-1SK:String = "button_close";
        private static const _-54w:String = "button_open";
        private static const _-0r2:String = "link_friendlist";
        private static const _-4sf:String = "messenger";
        private static const _-1OF:String = "friendlist";
        private static const _-0At:String = "stream";
        private static const _-4hK:String = "stream_new_label";

        private var _-0zz:_-0oL;
        private var _-4oB:_-1Z9;
        private var _-3No:IWindowContainer;
        private var _-t7:IWindowContainer;
        private var _-4iA:Vector.<_-33H>;
        private var _-0jK:_-33H;
        private var _-0v-:int = -1;
        private var _-31V:int = 0;
        private var _-0W1:_-0vR;
        private var _-3bF:_-18A;
        private var _-0s6:_-nd;
        private var _-1z-:_-2c4;
        private var _-4FE:Boolean = true;
        private var _-32l:Boolean = false;
        private var _-0Qa:int = 0;
        private var _-41B:Timer;

        public function HabboFriendBarView(_arg1:_-1ih, _arg2:uint, _arg3:_-39L)
        {
            super(_arg1, _arg2, _arg3);
            this._-0W1 = new _-0vR();
            this._-4iA = new Vector.<_-33H>();
            queueInterface(new IIDHabboFriendBarData(), this._-55B);
            queueInterface(new IIDHabboGameManager(), this._-3s9);
        }
        public function setMessengerIconNotify(_arg1:Boolean):void
        {
            if (this._-0s6)
            {
                this._-0s6.notify(_arg1);
            };
        }
        public function _-2F2(_arg1:Boolean):void
        {
            if (this._-3bF)
            {
                this._-3bF.notify(_arg1);
            };
        }
        public function _-57o(_arg1:Boolean):void
        {
            if (this._-1z-)
            {
                this._-1z-.notify(_arg1);
            };
        }
        public function _-1ne():void
        {
            this._-0zz._-1FU();
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-41B)
                {
                    this._-41B.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-32k);
                    this._-41B = null;
                };
                if (this._-0s6)
                {
                    this._-0s6.dispose();
                    this._-0s6 = null;
                };
                if (this._-3bF)
                {
                    this._-3bF.dispose();
                    this._-3bF = null;
                };
                if (this._-1z-)
                {
                    this._-1z-.dispose();
                    this._-1z- = null;
                };
                if (this._-t7)
                {
                    this._-t7.dispose();
                    this._-t7 = null;
                };
                if (this._-3No)
                {
                    this._-3No.dispose();
                    this._-3No = null;
                };
                while (this._-4iA.length > 0)
                {
                    _-33H(this._-4iA.pop()).dispose();
                };
                if (this._-0zz)
                {
                    if (!this._-0zz.disposed)
                    {
                        if (this._-0zz.events)
                        {
                            this._-0zz.events.removeEventListener(_-0RA._-15R, this._-5x);
                            this._-0zz.events.removeEventListener(_-1Wo._-45i, this._-0T1);
                            this._-0zz.events.removeEventListener(_-0ie._-0t0, this._-3Uj);
                            this._-0zz.events.removeEventListener(_-45I._-Mm, this._-43W);
                            this._-0zz.events.removeEventListener(_-3a3._-01Z, this._-4-4);
                        };
                        this._-0zz.release(new IIDHabboFriendBarData());
                        this._-0zz = null;
                    };
                };
                if (this._-4oB)
                {
                    if (!this._-4oB.disposed)
                    {
                        this._-4oB.release(new IIDHabboGameManager());
                        this._-4oB = null;
                    };
                };
                if (_-U-)
                {
                    if (!_-U-.disposed)
                    {
                        _-U-.getWindowContext(_-0hG).getDesktopWindow().removeEventListener(WindowEvent._-3K0, this._-0QH);
                    };
                };
                this._-0W1.dispose();
                this._-0W1 = null;
                super.dispose();
            };
        }
        public function set visible(_arg1:Boolean):void
        {
            if (this._-3No)
            {
                this._-3No.visible = _arg1;
                this._-3No.activate();
            };
            if (this._-t7)
            {
                this._-t7.visible = !(_arg1);
                if (this._-3No)
                {
                    this._-t7.x = this._-3No.x;
                    this._-t7.y = this._-3No.y;
                    this._-t7.activate();
                };
            };
        }
        private function _-0EE():void
        {
            var k:IWindow = _-U-.createWindow("bar_dimmer", "", _-4Pi._-3cp, _-29z._-4od, ((_-3hb._-2jp | _-3hb._-2P7) | _-3hb._-0g6), new Rectangle(0, 0, this._-3No.width, this._-3No.height), null, 0);
            k.color = 0;
            k.blend = 0.3;
            this._-3No.addChild(k);
            this._-3No.invalidate();
            if (this._-41B == null)
            {
                this._-41B = new Timer(_-AY._-2nx, 1);
                this._-41B.addEventListener(TimerEvent.TIMER_COMPLETE, this._-32k);
                this._-41B.start();
            };
        }
        private function _-32k(_arg1:TimerEvent):void
        {
            this._-41B.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-32k);
            this._-41B = null;
            var k:IWindow = this._-3No.findChildByName("bar_dimmer");
            if (k != null)
            {
                this._-3No.removeChild(k);
                _-U-.destroy(k);
            };
        }
        public function get visible():Boolean
        {
            return (((this._-3No) && (this._-3No.visible)));
        }
        public function populate():void
        {
            var k:int;
            var k:_-0gu;
            var k:_-1CF;
            var k:_-4So;
            var k:int;
            var k:_-4So;
            var k:_-4So;
            this._-32l = _-qn.getBoolean("friendbar.playSnowStorm.enabled", false);
            this._-32l = ((this._-32l) && (_-qn.getBoolean("games_icon_enabled", true)));
            this._-0Qa = int(_-qn.getKey("friendbar.playSnowStorm.friendsThreshold", "0"));
            var k:int = this._-0v-;
            this.deSelect(false);
            var k:IWindowContainer = (this._-3No.findChildByName(_-0Dc) as IWindowContainer);
            var k:IItemListWindow = (k.findChildByName(_-gF) as IItemListWindow);
            k.autoArrangeItems = false;
            var k:int = k.numListItems;
            while (k > 0)
            {
                k._-3yK((k - 1));
                k--;
            };
            while (this._-4iA.length > 0)
            {
                this._-4iA.pop().recycle();
            };
            var k:int = this._-0zz._-qP;
            var k:int = this._-0zz._-11r;
            var k:int = this._-3Sl;
            var k:int = ((k + ((this._-4FE) ? 1 : 0)) + (((k > 0)) ? 1 : 0));
            var k:int = Math.min(k, k);
            if ((this._-31V + k) > k)
            {
                this._-31V = Math.max(0, (this._-31V - ((this._-31V + k) - k)));
            };
            var k:int = this._-31V;
            if (k > 0)
            {
                if (this._-31V == 0)
                {
                    if (this._-4iA.length < k)
                    {
                        if (k == 1)
                        {
                            k = this._-0zz._-48F(0);
                            k = _-2GQ._-2W5(k);
                            this._-4iA.push(k);
                            k.addListItem(k.window);
                        }
                        else
                        {
                            if (k > 1)
                            {
                                k = FriendRequestsTab._-2W5(this._-0zz._-2G5());
                                this._-4iA.push(k);
                                k.addListItem(k.window);
                            };
                        };
                    };
                }
                else
                {
                    k--;
                };
            };
            while (k < (k + k))
            {
                if (k >= k) break;
                if (this._-4iA.length >= k) break;
                k = this._-0zz._-2w1(k);
                k = FriendEntityTab._-2W5(k);
                this._-4iA.push(k);
                k.addListItem(k.window);
                k++;
            };
            if (this._-4FE)
            {
                k = this._-0ip(k, k, k, k);
                k = ((k + k) + (((k > 0)) ? 1 : 0));
                while (k-- > 0)
                {
                    k = _-3KB._-2W5();
                    k.addListItem(k.window);
                    this._-4iA.push(k);
                };
            };
            if (this._-16v(k, this._-4iA.length, k))
            {
                k = (k + 1);
                k = _-5-._-2W5();
                k.addListItem(k.window);
                this._-4iA.push(k);
            };
            k.autoArrangeItems = true;
            if (k > -1)
            {
                this._-0Z4(k);
            };
            k.visible = (this._-4iA.length > 0);
            this._-4O((this._-4iA.length < k), !((this._-31V == 0)), ((this._-31V + this._-4iA.length) < k));
        }
        private function _-0ip(_arg1:int, _arg2:int, _arg3:int, _arg4:int):int
        {
            if (this._-4iA.length >= _arg1)
            {
                return (0);
            };
            var k:int = 1;
            var k:int = ((this._-16v(_arg1, (_arg2 + k), _arg3)) ? 1 : 0);
            if ((this._-4iA.length + k) < (_-1-q - k))
            {
                k = Math.min((_arg1 - this._-4iA.length), ((_-1-q - this._-4iA.length) - k));
            };
            return (k);
        }
        private function _-16v(_arg1:int, _arg2:int, _arg3:int):Boolean
        {
            if (((((this._-32l) && ((_arg2 < _arg1)))) && ((_arg3 <= this._-0Qa))))
            {
                return (true);
            };
            return (false);
        }
        private function _-1Dx(_arg1:int):FriendEntityTab
        {
            var k:FriendEntityTab;
            var k:int = this._-4iA.length;
            var k:int;
            while (k < k)
            {
                k = (this._-4iA[k] as FriendEntityTab);
                if (k)
                {
                    if (k.friend.id == _arg1)
                    {
                        return (k);
                    };
                };
                k++;
            };
            return (null);
        }
        private function _-55B(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0zz = (_arg2 as _-0oL);
            this._-0zz.events.addEventListener(_-0RA._-15R, this._-5x);
            this._-0zz.events.addEventListener(_-1Wo._-45i, this._-0T1);
            this._-0zz.events.addEventListener(_-0ie._-0t0, this._-3Uj);
            this._-0zz.events.addEventListener(_-45I._-Mm, this._-43W);
            this._-0zz.events.addEventListener(_-3a3._-01Z, this._-4-4);
        }
        private function _-3s9(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-4oB = (_arg2 as _-1Z9);
        }
        private function _-vI():Boolean
        {
            return (((this._-3No) && (!(this._-3No.disposed))));
        }
        private function _-4Q8():void
        {
            var k:IWindowContainer;
            _-4So._-2fD = this._-0zz;
            _-4So.GAMES = this._-4oB;
            _-4So._-4Cg = this;
            _-4So._-14d = assets;
            _-4So._-4gz = _-U-;
            _-4So._-0vx = _-1u4;
            _-4So._-0fR = this._-0W1;
            _-4So._-1uY = _tracking;
            _-4w0._-4gz = _-U-;
            _-4w0._-14d = assets;
            _-4w0.GAMES = this._-4oB;
            var k:_-2kE = assets.getAssetByName(_-3w7);
            this._-3No = (_-U-.buildFromXML((k.content as XML), _-0hG) as IWindowContainer);
            this._-3No.x = _-0tk;
            this._-3No.y = (this._-3No.parent.height - (this._-3No.height + _-4CG));
            this._-3No.width = (this._-3No.parent.width - (_-0tk + _-1CU));
            this._-3No.setParamFlag(WindowParam._-1If, true);
            this._-3No.procedure = this._-3OU;
            if (_-3N8)
            {
                k = assets.getAssetByName(_-2Eg);
                this._-t7 = (_-U-.buildFromXML((k.content as XML), _-0hG) as IWindowContainer);
                this._-t7.x = this._-3No.x;
                this._-t7.y = this._-3No.y;
                this._-t7.setParamFlag(WindowParam._-1If, true);
                this._-t7.visible = false;
                this._-t7.procedure = this._-2SV;
            };
            k = IWindowContainer(this._-3No.findChildByName(_-1OF));
            if (k.visible)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-0dD);
                k.addEventListener(WindowMouseEvent._-4ea, this._-0dD);
                k.addEventListener(WindowMouseEvent._-4e2, this._-0dD);
                this._-3bF = new _-18A(assets, (k.getChildByName(ICON) as IBitmapWrapperWindow));
            };
            k = IWindowContainer(this._-3No.findChildByName(_-4sf));
            if (k.visible)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-0dD);
                k.addEventListener(WindowMouseEvent._-4ea, this._-0dD);
                k.addEventListener(WindowMouseEvent._-4e2, this._-0dD);
                this._-0s6 = new _-nd(assets, (k.getChildByName(ICON) as IBitmapWrapperWindow));
                this._-0s6.enable(false);
            };
            this.visible = true;
            if (_-AY._-4Bs())
            {
                this._-0EE();
            };
            _-U-.getWindowContext(_-0hG).getDesktopWindow().addEventListener(WindowEvent._-3K0, this._-0QH);
            this._-3No.findChildByName(_-0At).visible = (_-qn.getBoolean("friendbar.stream.enabled", false) == true);
            k = IWindowContainer(this._-3No.findChildByName(_-0At));
            k.addEventListener(WindowMouseEvent._-90, this._-0dD);
            k.addEventListener(WindowMouseEvent._-4ea, this._-0dD);
            k.addEventListener(WindowMouseEvent._-4e2, this._-0dD);
            this._-1z- = new _-2c4(assets, (k.getChildByName(ICON) as IBitmapWrapperWindow));
        }
        public function getAvatarFaceBitmap(_arg1:String):BitmapData
        {
            var k:BitmapData;
            var k:_-40f;
            if (_-It)
            {
                k = _-It.createAvatarImage(_arg1, _-1uH._-JU, null, this);
                if (k)
                {
                    k = k._-1hx(_-24J._-0GH);
                    k.dispose();
                };
            };
            return (k);
        }
        public function _-0-V(_arg1:String):void
        {
            var k:_-1CF;
            var k:_-6a;
            var k:BitmapData;
            var k:IWindowContainer;
            var k:IItemListWindow;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:_-4So;
            var k:IItemListWindow = (this._-3No.findChildByName(_-gF) as IItemListWindow);
            var k:int = this._-0zz._-qP;
            var k:int;
            while (k < k)
            {
                k = this._-0zz._-2w1(k);
                if (k.figure == _arg1)
                {
                    k = this.getAvatarFaceBitmap(_arg1);
                    if (k)
                    {
                        k = (k._-Ar(k.id) as IWindowContainer);
                        if (k)
                        {
                            k = (k.getChildByName(_-00C) as IItemListWindow);
                            if (k)
                            {
                                k = IWindowContainer(k.getListItemByName(_-0YW));
                                if (k)
                                {
                                    k = (k.findChildByName(_-1B6) as IBitmapWrapperWindow);
                                    k.bitmap = k;
                                    k.width = k.width;
                                    k.height = k.height;
                                };
                            };
                        };
                    };
                    return;
                };
                k++;
            };
            var k:Array = this._-0zz._-2G5();
            for each (k in k)
            {
                if (k.figure == _arg1)
                {
                    for each (k in this._-4iA)
                    {
                        if ((k is _-2GQ))
                        {
                            _-2GQ(k)._-0-V(k, this.getAvatarFaceBitmap(_arg1));
                            return;
                        };
                        if ((k is FriendRequestsTab))
                        {
                            FriendRequestsTab(k)._-0-V(k, this.getAvatarFaceBitmap(_arg1));
                            return;
                        };
                    };
                };
            };
        }
        public function _-1CA(_arg1:BitmapData):void
        {
        }
        private function _-33d(_arg1:_-1CF):Boolean
        {
            return ((this._-0v- == _arg1.id));
        }
        public function _-5B1(_arg1:_-33H, _arg2:Boolean):void
        {
            if (!_arg1.selected)
            {
                if (this._-0jK)
                {
                    this.deSelect(true);
                };
                _arg1.select(_arg2);
                this._-0jK = _arg1;
                if ((_arg1 is FriendEntityTab))
                {
                    this._-0v- = FriendEntityTab(_arg1).friend.id;
                };
            };
        }
        public function _-0Z4(_arg1:int):void
        {
            if (this._-0v- == _arg1)
            {
                return;
            };
            var k:FriendEntityTab = this._-1Dx(_arg1);
            if (k)
            {
                this._-5B1(k, false);
                this._-0v- = _arg1;
            };
        }
        public function deSelect(_arg1:Boolean):void
        {
            if (this._-0jK)
            {
                this._-0jK.deselect(_arg1);
                this._-0jK = null;
                this._-0v- = -1;
            };
        }
        private function _-5x(_arg1:Event):void
        {
            if (!this._-vI())
            {
                this._-4Q8();
            };
            this._-1Bi(true);
        }
        private function _-0T1(_arg1:_-1Wo):void
        {
            var event:_-1Wo = _arg1;
            var title:String = ((event.success) ? "${friendbar.find.success.title}" : "${friendbar.find.error.title}");
            var text:String = ((event.success) ? "${friendbar.find.success.text}" : "${friendbar.find.error.text}");
            _-U-.notify(title, text, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            }, _-54k._-1Ct);
        }
        private function _-3Uj(_arg1:_-0ie):void
        {
            if (this._-3bF)
            {
                this._-3bF.notify((this._-0zz._-11r > 0));
            };
            this.populate();
        }
        private function _-43W(_arg1:_-45I):void
        {
            if (this._-0s6)
            {
                if (_arg1.notify)
                {
                    this._-0s6.notify(true);
                }
                else
                {
                    this._-0s6.enable(true);
                    this._-0s6.notify(false);
                };
            };
        }
        private function _-4-4(_arg1:_-3a3):void
        {
            var k:FriendEntityTab = this._-1Dx(_arg1.friendId);
            if (!k)
            {
                return;
            };
            k._-3fr(_arg1.notification);
        }
        private function _-3OU(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            var k:int;
            if (_arg1.type == WindowMouseEvent._-3Jy)
            {
                k = this._-31V;
                k = ((this._-0zz._-qP + ((this._-4FE) ? 1 : 0)) + (((this._-0zz._-11r > 0)) ? 1 : 0));
                switch (_arg2.name)
                {
                    case _-2tX:
                        k = Math.max(0, (this._-31V - 1));
                        break;
                    case _-0Xd:
                        k = Math.max(0, (this._-31V - this._-3Sl));
                        break;
                    case _-ET:
                        k = 0;
                        break;
                    case _-1ax:
                        k = Math.max(0, Math.min((k - this._-3Sl), (this._-31V + 1)));
                        break;
                    case _-Zj:
                        k = Math.max(0, Math.min((k - this._-3Sl), (this._-31V + this._-3Sl)));
                        break;
                    case _-2Og:
                        k = Math.max(0, (k - this._-3Sl));
                        break;
                    case _-1SK:
                        this.visible = false;
                        break;
                    case _-3cp:
                        this.deSelect(true);
                        break;
                    case _-0r2:
                        this._-0zz._-2e-();
                        break;
                };
                if (k != this._-31V)
                {
                    this.deSelect(true);
                    this._-31V = k;
                    this._-1Bi(true);
                };
            };
            if (_arg1.type == WindowEvent._-zQ)
            {
                this.deSelect(true);
            };
        }
        private function _-0dD(_arg1:WindowMouseEvent):void
        {
            var k:Icon;
            switch (_arg1.window.name)
            {
                case _-1OF:
                    k = this._-3bF;
                    break;
                case _-4sf:
                    k = this._-0s6;
                    break;
                case _-0At:
                    k = this._-1z-;
                    break;
            };
            if (k == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case WindowMouseEvent._-90:
                    if ((k is _-18A))
                    {
                        this._-0zz._-2e-();
                        k.notify(false);
                    }
                    else
                    {
                        if ((k is _-nd))
                        {
                            this._-0zz._-13o();
                            k.notify(false);
                            this.removeMessengerNotifications();
                        }
                        else
                        {
                            if ((k is _-2c4))
                            {
                                this._-0zz._-kR();
                                k.notify(false);
                            };
                        };
                    };
                    return;
                case WindowMouseEvent._-4ea:
                    k.hover(true);
                    return;
                case WindowMouseEvent._-4e2:
                    k.hover(false);
                    return;
            };
        }
        public function removeMessengerNotifications():void
        {
            var k:_-33H;
            for each (k in this._-4iA)
            {
                if ((k is FriendEntityTab))
                {
                    FriendEntityTab(k)._-22s(_-4f9._-0t5, true);
                };
            };
        }
        private function _-2SV(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (this._-t7.visible)
            {
                if (_arg1.type == WindowMouseEvent._-3Jy)
                {
                    switch (_arg2.name)
                    {
                        case _-54w:
                            this.visible = true;
                            return;
                    };
                };
            };
        }
        private function _-4O(_arg1:Boolean, _arg2:Boolean, _arg3:Boolean):void
        {
            var k:IWindow;
            var k:Array;
            var k:IWindowContainer = (this._-3No.findChildByName(_-1Qw) as IWindowContainer);
            k = [];
            k._-507(_-aq, k);
            for each (k in k)
            {
                k.visible = _arg1;
            };
            k = [];
            k._-507(_-3qa, k);
            for each (k in k)
            {
                if (_arg2)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
            k = [];
            k._-507(_-4jU, k);
            for each (k in k)
            {
                if (_arg3)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
        }
        private function _-1Bi(_arg1:Boolean=false):void
        {
            var k:int;
            if (!disposed)
            {
                if (this._-3No)
                {
                    this._-3No.width = (this._-3No.parent.width - (_-0tk + _-1CU));
                    if (!_arg1)
                    {
                        k = this._-3Sl;
                        if (k < this._-4iA.length)
                        {
                            k = true;
                        }
                        else
                        {
                            if (k > this._-4iA.length)
                            {
                                if (this._-4iA.length < _-1-q)
                                {
                                    k = true;
                                }
                                else
                                {
                                    if (this._-4iA.length < (this._-0zz._-qP + ((this._-4FE) ? 1 : 0)))
                                    {
                                        k = true;
                                    }
                                    else
                                    {
                                        if (this._-1wE < this._-0zz._-qP)
                                        {
                                            k = true;
                                        };
                                    };
                                };
                            };
                        };
                    };
                    if (_arg1)
                    {
                        this.populate();
                    };
                };
            };
        }
        private function get _-1wE():int
        {
            var k:int;
            var k:int = this._-4iA.length;
            while (k-- > 0)
            {
                if ((this._-4iA[k] is FriendEntityTab))
                {
                    k++;
                };
            };
            return (k);
        }
        private function get _-3Sl():int
        {
            var k:IWindowContainer = (this._-3No.findChildByName(_-0Dc) as IWindowContainer);
            var k:IWindowContainer = (k.getChildByName(_-1Qw) as IWindowContainer);
            var k:IItemListWindow = (k.findChildByName(_-gF) as IItemListWindow);
            var k:int = (k.width - k.width);
            return (((k.width - k) / (_-3op + k.spacing)));
        }
        private function _-0QH(_arg1:WindowEvent):void
        {
            this._-1Bi(false);
        }

    }
}//package _-16i

//------------------------------------------------------------
//_-171._-1X-

package _-171
{
    import _-FP._-2ul;
    import _-1ae.IFrameWindow;
    import _-4f7._-2yl;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-1ae._-4mB;
    import _-3Zp._-47i;
    import _-0Ie.WindowMouseEvent;
    import _-2Mh._-3YS;
    import _-3Zp._-0Ak;
    import _-0se._-06U;
    import _-0se._-e7;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-1X- extends _-2ul 
    {

        public static const _-1Sc:String = "viphopper";
        public static const _-1cE:String = "vipgate";
        public static const _-3pr:String = "costumehopper";
        public static const _-36L:String = "respectfailedstage";
        public static const _-4bx:String = "respectfailedaudience";

        private var _-0xv:IFrameWindow;
        private var _-1D-:_-2yl;

        public function _-1X-(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-1D- = _-2yl(_arg1);
            this._-1D-.widget = this;
        }
        public function open(_arg1:String=""):void
        {
            if (!this._-0xv)
            {
                switch (_arg1)
                {
                    case _-1Sc:
                        this._-0xv = IFrameWindow(windowManager.buildFromXML(XML(assets.getAssetByName("viphopper_viprequired_xml").content)));
                        break;
                    case _-1cE:
                        this._-0xv = IFrameWindow(windowManager.buildFromXML(XML(assets.getAssetByName("gate_viprequired_xml").content)));
                        break;
                    case _-3pr:
                        this._-0xv = IFrameWindow(windowManager.buildFromXML(XML(assets.getAssetByName("costumehopper_costumerequired_xml").content)));
                        break;
                    case _-36L:
                        this._-0xv = IFrameWindow(windowManager.buildFromXML(XML(assets.getAssetByName("respect_giving_failed_notification_xml").content)));
                        this._-0Ab("stage");
                        this._-3ru("stage");
                        break;
                    case _-4bx:
                        this._-0xv = IFrameWindow(windowManager.buildFromXML(XML(assets.getAssetByName("respect_giving_failed_notification_xml").content)));
                        this._-0Ab("audience");
                        this._-3ru("audience");
                        break;
                };
                this._-0xv.center();
                this._-0xv.procedure = this._-xg;
            };
        }
        private function _-0Ab(_arg1:String):void
        {
            var k:String = ("respect.giving.failed.no." + _arg1);
            var k:String = this._-1D-.container.localization.getKey(k);
            var k:String = this._-1D-.container.config.getKey("respect.talent.show.min.audience");
            if (k)
            {
                k = k.replace("%users%", k);
            };
            this._-0xv.findChildByName("body_txt").caption = k;
        }
        private function _-3ru(_arg1:String):void
        {
            var k = (("${image.library.url}notifications/habbo_talent_show_" + _arg1) + ".png");
            var k:_-4mB = (this._-0xv.content.getChildByName("respectFailedNotificationBitmap") as _-4mB);
            k.assetUri = k;
        }
        public function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-xg(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:Array;
            var _local4:Boolean;
            var k:_-47i;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "buy_vip":
                        this._-1D-.container.catalog.openClubBuy(_-3YS._-1pk, "VipHopperVipRequiredWidget");
                        break;
                    case "vip_benefits":
                        this._-1D-.container.catalog.showVipBenefits();
                        break;
                    case "buy_costumes":
                        _local3 = this._-1D-.container.inventory.getAvatarEffects();
                        _local4 = false;
                        for each (k in _local3)
                        {
                            if (k._-4N == _-0Ak._-m7)
                            {
                                _local4 = true;
                                break;
                            };
                        };
                        if (_local4)
                        {
                            this._-1D-.container.avatarEditor.openEditor(_-06U._-0g7, null, null, true, null, _-e7._-4ma);
                            this._-1D-.container.avatarEditor.loadOwnAvatarInEditor(_-06U._-0g7);
                        }
                        else
                        {
                            this._-1D-.container.catalog.openCatalogPage("costumes");
                        };
                        break;
                    case "close":
                        this.close();
                        break;
                };
                if (_arg2.tags.indexOf("close") != -1)
                {
                    this.close();
                };
            };
        }

    }
}//package _-171

//------------------------------------------------------------
//_-185._-0XB

package _-185
{
    import mx.core.ByteArrayAsset;

    public class _-0XB extends ByteArrayAsset 
    {

    }
}//package _-185

//------------------------------------------------------------
//_-185._-1nD

package _-185
{
    import _-1B-.*;

    public interface _-1nD extends _-1zZ 
    {

        function get caption():String;
        function set visible(_arg1:Boolean):void;
        function get visible():Boolean;

    }
}//package _-185

//------------------------------------------------------------
//_-185._-2au

package _-185
{
    import flash.geom.Point;
    import _-1B-._-32Z;
    import _-1B-._-vx;
    import _-1ae.IFrameWindow;
    import _-Ew.ICoreWindowManager;
    import _-3Qs._-4RO;
    import _-18r.Map;
    import _-1B-._-5CE;
    import flash.utils.ByteArray;
    import _-1ae._-2aK;
    import _-1B-._-4WH;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1ae.IItemListWindow;
    import flash.events.Event;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-09j.WindowState;
    import _-2Zw.ProfilerAgentTask;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;

    public class _-2au implements _-1nD 
    {

        private static const _-4XR:Point = new Point();

        private static var _-1zB:Class = _-2N0;
        private static var _-0Ni:Class = _-0XB;

        private var _disposed:Boolean = false;
        private var _-3I-:_-32Z;
        private var _core:_-vx;
        private var _-0xv:IFrameWindow;
        private var _-2R4:Array;
        private var _-U-:ICoreWindowManager;
        private var _-2Cl:_-4RO;
        private var _-4Nh:Boolean = false;
        private var _-3hu:Map;

        public function _-2au(_arg1:_-5CE, _arg2:ICoreWindowManager, _arg3:_-4RO)
        {
            this._core = (_arg1 as _-vx);
            this._-2R4 = new Array();
            this._-3I- = this.profiler;
            this._-U- = _arg2;
            this._-2Cl = _arg3;
            this._-3hu = new Map();
        }
        private static function _-0EY(_arg1:String, _arg2:int, _arg3:String=" ", _arg4:Boolean=false):String
        {
            var k:int = (_arg2 - _arg1.length);
            if (k <= 0)
            {
                return (_arg1.substring(0, _arg2));
            };
            var k:String = "";
            var k:int;
            while (k < k)
            {
                k = (k + _arg3);
                k++;
            };
            return (((_arg4) ? (k + _arg1) : (_arg1 + k)));
        }

        public function get caption():String
        {
            return ("Component Profiler");
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get visible():Boolean
        {
            return (((this._-0xv) && (this._-0xv.visible)));
        }
        public function set visible(_arg1:Boolean):void
        {
            var bytes:ByteArray;
            var xml:XML;
            var value:Boolean = _arg1;
            if (((!(this._-0xv)) && (value)))
            {
                bytes = (new _-1zB() as ByteArray);
                xml = new XML(bytes.readUTFBytes(bytes.length));
                this._-0xv = (this._-U-.buildFromXML(xml, 2) as IFrameWindow);
                this._-0xv.procedure = this._-4k0;
                this._-0xv.findChildByName("header").caption = (((((((_-0EY("task", 28) + "|") + _-0EY("#rounds", 8)) + "|") + _-0EY("latest ms", 8)) + "|") + _-0EY("total ms", 8)) + "|");
                this._-0xv.findChildByName("footer").caption = "<- Click to enable bitmap memory tracking";
                _-2aK(this._-0xv.findChildByName("footer")).textColor = 4284900966;
            };
            if (this._-0xv)
            {
                if (value)
                {
                    this._-0xv.activate();
                    this._core._-1Dc(true);
                    this._core.queueInterface(new _-4WH(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        profiler = (_arg2 as _-32Z);
                    });
                }
                else
                {
                    this._core._-1Dc(false);
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
            };
        }
        public function set profiler(_arg1:_-32Z):void
        {
            if (this._-3I-)
            {
                this._-3I-._-3QM(this.refresh);
                this._-3I- = null;
            };
            if (((!(this._-3I-)) && (_arg1)))
            {
                this._-3I- = _arg1;
                this._-3I-._-3N9(this.refresh);
            };
        }
        public function get profiler():_-32Z
        {
            return (this._-3I-);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0xv)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                this._-3I-._-3QM(this.refresh);
                this._-3I- = null;
                this._-U- = null;
                this._-2Cl = null;
                this._-3hu.dispose();
                this._-3hu = null;
                this._disposed = true;
            };
        }
        private function _-4k0(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.tags.indexOf("close") > -1)
                {
                    this.visible = false;
                }
                else
                {
                    if (_arg2.name == "button_gc")
                    {
                        this._-3I-._-1P8();
                    };
                };
            };
            if (_arg2.name == "footer_enable_toggle")
            {
                if (_arg1.type == WindowEvent._-2wB)
                {
                    this._-4Nh = true;
                    _-2aK(this._-0xv.findChildByName("footer")).textColor = 0xFF000000;
                }
                else
                {
                    if (_arg1.type == WindowEvent._-1Ef)
                    {
                        this._-4Nh = false;
                        _-2aK(this._-0xv.findChildByName("footer")).textColor = 4284900966;
                    };
                };
            };
        }
        public function refresh(_arg1:Event):void
        {
            if (!this._-0xv)
            {
                return;
            };
            this._-3hu.reset();
            var k:Array = this._-3I-._-3VI();
            var k:IItemListWindow = (this._-0xv.findChildByName("list") as IItemListWindow);
            var k:uint;
            while (k.length > 0)
            {
                k = this._-54K(k.pop(), k, k, 0);
            };
            if (this._-4Nh)
            {
                this._-0xv.findChildByName("footer").caption = (((((((((((("Assets - Libraries: " + this._-3I-._-36z) + " ") + "Bitmaps: ") + this._-3I-._-1Km) + " / ") + this._-3I-._-50x) + " bytes \n") + "Tracked bitmap data: ") + this._-3I-._-4Xp) + " / ") + this._-3I-._-zi) + " bytes");
            };
        }
        private function _-54K(_arg1:ProfilerAgentTask, _arg2:IItemListWindow, _arg3:uint, _arg4:uint):uint
        {
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            if (_arg3 >= _arg2.numListItems)
            {
                k = this._-17G(_arg2);
            }
            else
            {
                k = (_arg2.getListItemAt(_arg3) as IWindowContainer);
            };
            var k:String = _arg1.name;
            if (_arg4 > 0)
            {
                k = _-0EY(k, (_arg4 + k.length), "-", true);
            };
            var k:IWindow = (k.findChildByName("text") as IWindow);
            k.caption = (((((((_-0EY(k, 28, " ", false) + "|") + _-0EY(String(_arg1._-EW), 8, " ", true)) + "|") + _-0EY(String(_arg1._-0F), 8, " ", true)) + "|") + _-0EY(String(_arg1.total), 8, " ", true)) + "|\r");
            k.findChildByName("caption").caption = _arg1.caption;
            k.findChildByName("check")._-1H2(WindowState._-t0, !(_arg1._-0k0));
            this._-3hu.add(k, _arg1);
            if (!_arg1._-0k0)
            {
                k = (k.findChildByName("canvas") as IBitmapWrapperWindow);
                this._-Ja(k, _arg1);
            };
            k++;
            var k:uint;
            while (k < _arg1._-bg)
            {
                k = this._-54K(_arg1._-4Fu(k), _arg2, k, (_arg4 + 1));
                k++;
            };
            return (k);
        }
        private function _-Ja(_arg1:IBitmapWrapperWindow, _arg2:ProfilerAgentTask):void
        {
            var k:BitmapData = _arg1.bitmap;
            if (k == null)
            {
                k = new BitmapData(_arg1.width, _arg1.height, false, 0xFFFFFFFF);
                _arg1.bitmap = k;
            };
            var k:Rectangle = k.rect;
            var k:int = _arg2._-0F;
            var k:int = (((k > k.height)) ? k.height : k);
            k.x = (k.x + 1);
            k.width = (k.width - 1);
            k.copyPixels(k, k, _-4XR);
            k.x = (k.x + (k.width - 2));
            k.y = (k.y + (k.height - k));
            k.width = 1;
            k.height = k;
            k.fillRect(k, (((k > k.height)) ? 0xFFFF0000 : 0xFF0000FF));
            _arg1.invalidate();
        }
        private function _-17G(_arg1:IItemListWindow):IWindowContainer
        {
            var k:ByteArray = (new _-0Ni() as ByteArray);
            var k:XML = new XML(k.readUTFBytes(k.length));
            var k:IWindowContainer = (this._-U-.buildFromXML(k, 2) as IWindowContainer);
            _arg1.addListItem(k);
            var k:IWindow = k.findChildByName("check");
            k.addEventListener(WindowMouseEvent._-90, this._-213);
            return (k);
        }
        private function _-213(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.window;
            var k:ProfilerAgentTask = this._-3hu.getValue(k.parent);
            if (k)
            {
                k._-0k0 = !(k._-3AV(WindowState._-t0));
            };
        }

    }
}//package _-185

//------------------------------------------------------------
//_-185._-2N0

package _-185
{
    import mx.core.ByteArrayAsset;

    public class _-2N0 extends ByteArrayAsset 
    {

    }
}//package _-185

//------------------------------------------------------------
//_-18r._-2K6

package _-18r
{
    import flash.events.Event;

    public class _-2K6 extends Event 
    {

        public static const LIBRARY_LOADER_EVENT_COMPLETE:String = "LIBRARY_LOADER_EVENT_COMPLETE";
        public static const LIBRARY_LOADER_EVENT_PROGRESS:String = "LIBRARY_LOADER_EVENT_PROGRESS";
        public static const LIBRARY_LOADER_EVENT_UNLOAD:String = "LIBRARY_LOADER_EVENT_UNLOAD";
        public static const LIBRARY_LOADER_EVENT_STATUS:String = "LIBRARY_LOADER_EVENT_STATUS";
        public static const LIBRARY_LOADER_EVENT_ERROR:String = "LIBRARY_LOADER_EVENT_ERROR";
        public static const LIBRARY_LOADER_EVENT_DEBUG:String = "LIBRARY_LOADER_EVENT_DEBUG";
        public static const LIBRARY_LOADER_EVENT_DISPOSE:String = "LIBRARY_LOADER_EVENT_DISPOSE";

        private var _-8R:int;
        private var _-1NU:uint;
        private var _-2-k:uint;
        private var _-4kh:uint;

        public function _-2K6(_arg1:String, _arg2:int, _arg3:uint, _arg4:uint, _arg5:uint)
        {
            this._-8R = _arg2;
            this._-1NU = _arg3;
            this._-2-k = _arg4;
            this._-4kh = _arg5;
            super(_arg1, false, false);
        }
        public function get status():int
        {
            return (this._-8R);
        }
        public function get bytesTotal():uint
        {
            return (this._-1NU);
        }
        public function get bytesLoaded():uint
        {
            return (this._-2-k);
        }
        public function get _-04b():uint
        {
            return (this._-4kh);
        }
        override public function clone():Event
        {
            return (new _-2K6(type, this._-8R, this._-1NU, this._-2-k, this._-04b));
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r._-3q9

package _-18r
{
    import _-0yf.EventDispatcherWrapper;
    import _-1B-.*;

    public class _-3q9 extends EventDispatcherWrapper implements _-1zZ 
    {

        protected static const _-0Z5:int = 4;

        private var _-2Qq:Boolean = false;
        private var _-0Rj:Array;
        private var _-Gk:Array;

        public function _-3q9(_arg1:Boolean=false)
        {
            this._-0Rj = new Array();
            this._-Gk = new Array();
            this._-2Qq = _arg1;
            super();
        }
        public function get length():int
        {
            return ((this._-0Rj.length + this._-Gk.length));
        }
        override public function dispose():void
        {
            var k:LibraryLoader;
            if (!disposed)
            {
                for each (k in this._-Gk)
                {
                    k.dispose();
                };
                for each (k in this._-0Rj)
                {
                    k.dispose();
                };
                this._-Gk = null;
                this._-0Rj = null;
                super.dispose();
            };
        }
        public function push(_arg1:LibraryLoader):void
        {
            if (((((!(disposed)) && (!(this._-02a(_arg1.url))))) && (!(this._-2AW(_arg1.url)))))
            {
                if (_arg1._-0k0)
                {
                    this._-0Rj.push(_arg1);
                }
                else
                {
                    this._-Gk.push(_arg1);
                };
                _arg1.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-tj);
                _arg1.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_PROGRESS, this._-9X);
                _arg1.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_DISPOSE, this._-3UT);
                _arg1.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-1Yu);
                this.next();
            };
        }
        private function next():void
        {
            var k:LibraryLoader;
            if (!disposed)
            {
                while ((((this._-Gk.length < _-0Z5)) && ((this._-0Rj.length > 0))))
                {
                    k = this._-0Rj.shift();
                    this._-Gk.push(k);
                    k._-1f4();
                };
            };
        }
        private function _-tj(_arg1:_-2K6):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            if (k)
            {
                this._-36l(k);
            };
            this.next();
        }
        private function _-9X(_arg1:_-2K6):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
        }
        private function _-3UT(_arg1:_-2K6):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            this._-36l(k);
            this.next();
        }
        private function _-1Yu(_arg1:_-2K6):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            if (k)
            {
                _-Nb.log(("Failed to download  specified file: " + k.url));
                this._-36l(k);
            };
            this.next();
        }
        private function _-36l(_arg1:LibraryLoader):void
        {
            var index:int;
            var loader:LibraryLoader = _arg1;
            loader.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-tj);
            loader.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_PROGRESS, this._-9X);
            loader.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_DISPOSE, this._-3UT);
            loader.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-1Yu);
            try
            {
                index = this._-0Rj.indexOf(loader);
                if (index > -1)
                {
                    this._-0Rj.splice(index, 1);
                };
                index = this._-Gk.indexOf(loader);
                if (index > -1)
                {
                    this._-Gk.splice(index, 1);
                };
            }
            catch(e:Error)
            {
                _-Nb.log("LibraryLoaderQueue was propably disposed!");
            };
        }
        private function _-02a(_arg1:String, _arg2:Boolean=true):Boolean
        {
            var k:LibraryLoader;
            if (!disposed)
            {
                if (((_arg2) && ((_arg1.indexOf("?") > -1))))
                {
                    k = _arg1.slice(0, _arg1.indexOf("?"));
                };
                for each (k in this._-0Rj)
                {
                    if (_arg2)
                    {
                        if (k.url.indexOf(_arg1) == 0)
                        {
                            return (true);
                        };
                    }
                    else
                    {
                        if (k.url == _arg1)
                        {
                            return (true);
                        };
                    };
                };
            };
            return (false);
        }
        public function _-2AW(_arg1:String, _arg2:Boolean=true):LibraryLoader
        {
            var k:LibraryLoader;
            if (!disposed)
            {
                if (((_arg2) && ((_arg1.indexOf("?") > -1))))
                {
                    k = _arg1.slice(0, _arg1.indexOf("?"));
                };
                for each (k in this._-Gk)
                {
                    if (_arg2)
                    {
                        if (k.url.indexOf(_arg1) == 0)
                        {
                            return (k);
                        };
                    }
                    else
                    {
                        if (k.url == _arg1)
                        {
                            return (k);
                        };
                    };
                };
            };
            return (null);
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r._-4-g

package _-18r
{
    import flash.utils.flash_proxy

    public class _-4-g extends Map 
    {

        override flash_proxy function setProperty(_arg1, _arg2):void
        {
            if (_-VD((((_arg1 is QName)) ? QName(_arg1).localName : _arg1)))
            {
                throw (new Error(((("Trying to overwrite value in SingleWriteMap - key: " + _arg1) + ", value: ") + _arg2)));
            };
            super.setProperty(_arg1, _arg2);
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r.ClassUtils

package _-18r
{
    import flash.utils.describeType;
    import flash.utils.*;

    public class ClassUtils 
    {

        public static function implementsInterface(_arg1:Class, _arg2:Class):Boolean
        {
            var testedClass:Class = _arg1;
            var interfaceClass:Class = _arg2;
            return ((describeType(testedClass).factory.implementsInterface.(@type == getQualifiedClassName(interfaceClass)).length() > 0));
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r.ErrorReportStorage

package _-18r
{
    public class ErrorReportStorage 
    {

        private static var _-zT:Map = new Map();
        private static var _-22Q:Map = new Map();

        public static function _-4ZR():String
        {
            var k:String = "";
            var k:int;
            while (k < _-22Q.length)
            {
                if (k == 0)
                {
                    k = _-22Q.getWithIndex(k);
                }
                else
                {
                    k = ((k + " ** ") + _-22Q.getWithIndex(k));
                };
                k++;
            };
            if (k.length > 400)
            {
                k = k.substr((k.length - 400));
            };
            return (k);
        }
        public static function _-0QQ(_arg1:String, _arg2:String):void
        {
            _-22Q.remove(_arg1);
            _-22Q.add(_arg1, _arg2);
        }
        public static function _-gN(_arg1:String, _arg2:String):void
        {
            _-zT[_arg1] = _arg2;
        }
        public static function _-3pD(_arg1:String):String
        {
            return (_-zT[_arg1]);
        }
        public static function _-4LP():Array
        {
            return (_-zT._-18C());
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r.FontEnum

package _-18r
{
    import flash.text.Font;
    import flash.utils.getQualifiedClassName;

    public class FontEnum 
    {

        private static const _-4VT:Map = new Map();
        private static const _-1BZ:Map = new Map();

        private static var _-15G:Boolean = false;

        {
            init();
        }
        public static function _-3BM(_arg1:String):Boolean
        {
            return (!((_-4VT.getValue(_arg1) == null)));
        }
        public static function _-0DE(_arg1:String):Boolean
        {
            return (!((_-1BZ.getValue(_arg1) == null)));
        }
        public static function get _-pC():Map
        {
            return (_-4VT);
        }
        public static function get _-3oq():Map
        {
            return (_-1BZ);
        }
        public static function registerFont(_arg1:Class):Font
        {
            var k:Font;
            Font.registerFont((_arg1 as Class));
            var k:String = getQualifiedClassName(_arg1);
            var k:Array = Font.enumerateFonts(false);
            var k:int = k.length;
            var k:int = k;
            while (k > 0)
            {
                k = k[(k - 1)];
                if (getQualifiedClassName(k) == k)
                {
                    break;
                };
                k--;
            };
            _-1BZ.add(k.fontName, k);
            return (k);
        }
        private static function init():void
        {
            var k:Array;
            var k:Array;
            var k:Font;
            if (!_-15G)
            {
                k = Font.enumerateFonts(true);
                k = Font.enumerateFonts(false);
                for each (k in k)
                {
                    if (k.indexOf(k) == -1)
                    {
                        _-4VT.add(k.fontName, k);
                    };
                };
                _-15G = true;
            };
        }
        public static function refresh():void
        {
            var k:Font;
            var k:Font;
            var k:Array = Font.enumerateFonts(false);
            var k:int = k.length;
            var k:int;
            while (k < k)
            {
                k = k[k];
                k = _-1BZ.getValue(k.fontName);
                if (((((!(k)) || (!((k.fontType == k.fontType))))) || (!((k.fontStyle == k.fontStyle)))))
                {
                    _-1BZ.add(k.fontName, k);
                };
                k++;
            };
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r.LibraryLoader

package _-18r
{
    import _-0yf.EventDispatcherWrapper;
    import flash.display.Loader;
    import flash.system.LoaderContext;
    import flash.net.URLRequest;
    import flash.system.ApplicationDomain;
    import flash.events.Event;
    import flash.events.ProgressEvent;
    import flash.events.HTTPStatusEvent;
    import flash.events.IOErrorEvent;
    import flash.events.SecurityErrorEvent;
    import flash.utils.getTimer;
    import flash.display.DisplayObject;
    import flash.net.URLRequestHeader;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import flash.display.MovieClip;
    import flash.display.FrameLabel;
    import flash.utils.ByteArray;
    import _-p-.Core;
    import _-1B-.*;

    public class LibraryLoader extends EventDispatcherWrapper implements _-1zZ 
    {

        protected static const _-0QI:uint = 1;
        protected static const _-5Br:uint = 2;
        protected static const _-1B3:uint = 4;
        protected static const _-48N:uint = 3;
        protected static const _-0IQ:uint = 7;
        public static const _-099:int = 5;
        public static const LIBRARY_LOADER_FINALIZE:String = "LIBRARY_LOADER_FINALIZE";
        public static const _-I5:Boolean = false;
        public static const _-0Z5:int = 2;

        private static var _-2Rt:Array = new Array();
        private static var _-4BN:Array = new Array();

        protected var _-bS:Loader;
        protected var _context:LoaderContext;
        protected var _-8R:int = 0;
        protected var _-4vX:URLRequest;
        protected var _-fW:XML;
        protected var _-2oi:Class;
        protected var _-03J:uint = 0;
        protected var _name:String;
        protected var _-2v:Boolean = false;
        protected var _-2Qq:Boolean = false;
        protected var _-3WE:Boolean = false;
        protected var _-4tW:String = "";
        protected var _-1Yr:String = "";
        protected var _-2fL:int;
        protected var _-2pU:int;
        protected var _-2OJ:int;
        protected var _-18-:uint = 0;
        protected var _-41f:Boolean = true;

        public function LibraryLoader(_arg1:LoaderContext=null, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            if (_arg1 == null)
            {
                this._context = new LoaderContext();
                this._context.applicationDomain = ApplicationDomain.currentDomain;
            }
            else
            {
                this._context = _arg1;
            };
            this._-3WE = _arg2;
            this._-2Qq = _arg3;
            this._-8R = 0;
            this._-bS = new Loader();
            this._-bS.contentLoaderInfo.addEventListener(Event.INIT, this._-4bt);
            this._-bS.contentLoaderInfo.addEventListener(Event.COMPLETE, this._-4bt);
            this._-bS.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, this._-4bt);
            this._-bS.contentLoaderInfo.addEventListener(Event.UNLOAD, this._-4bt);
            this._-bS.contentLoaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, this._-4bt);
            this._-bS.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this._-4bt);
            this._-bS.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-4bt);
        }
        protected static function _-1CZ(_arg1:String):String
        {
            var k:int;
            k = _arg1.indexOf("?", 0);
            if (k > -1)
            {
                k = _arg1.slice(0, k);
            };
            k = _arg1.lastIndexOf(".");
            if (k > -1)
            {
                k = _arg1.slice(0, k);
            };
            k = _arg1.lastIndexOf("/");
            if (k > -1)
            {
                k = _arg1.slice((k + 1), _arg1.length);
            };
            return (_arg1);
        }
        protected static function queue(_arg1:LibraryLoader):void
        {
            if (_-I5)
            {
                if (_-2Rt.indexOf(_arg1) == -1)
                {
                    _-2Rt.push(_arg1);
                };
                _-4UM();
            }
            else
            {
                _arg1._-bS.load(_arg1._-4vX, _arg1._context);
            };
        }
        protected static function _-4UM():void
        {
            var k:LibraryLoader;
            var k:int;
            if (_-I5)
            {
                k = (_-4BN.length - 1);
                while (k > -1)
                {
                    k = (_-4BN[k] as LibraryLoader);
                    if (((k) && (((k.ready) || (k.disposed)))))
                    {
                        _-4BN.splice(k, 1);
                    };
                    k--;
                };
                while ((((_-4BN.length < _-0Z5)) && ((_-2Rt.length > 0))))
                {
                    k = (_-2Rt.shift() as LibraryLoader);
                    if (((!(k.ready)) && (!(k.disposed))))
                    {
                        _-4BN.push(k);
                        k._-bS.load(k._-4vX, k._context);
                    };
                };
            };
        }

        public function get url():String
        {
            return (((this._-4vX) ? this._-4vX.url : null));
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get ready():Boolean
        {
            return (this._-2v);
        }
        public function get status():int
        {
            return (this._-8R);
        }
        public function get domain():ApplicationDomain
        {
            return (this._-bS.contentLoaderInfo.applicationDomain);
        }
        public function get request():URLRequest
        {
            return (this._-4vX);
        }
        public function get resource():Class
        {
            return (this._-2oi);
        }
        public function get manifest():XML
        {
            return (this._-fW);
        }
        public function get bytesTotal():uint
        {
            return (this._-bS.contentLoaderInfo.bytesTotal);
        }
        public function get bytesLoaded():uint
        {
            return (this._-bS.contentLoaderInfo.bytesLoaded);
        }
        public function get _-04b():uint
        {
            return (((this._-2v) ? (this._-2pU - this._-2fL) : (getTimer() - this._-2fL)));
        }
        public function get _-0k0():Boolean
        {
            return (this._-3WE);
        }
        protected function get content():DisplayObject
        {
            return (this._-bS.content);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                dispatchEvent(new _-2K6(_-2K6.LIBRARY_LOADER_EVENT_DISPOSE, this._-8R, this.bytesTotal, this.bytesLoaded, this._-04b));
                try
                {
                    this._-bS.close();
                }
                catch(e:Error)
                {
                };
                try
                {
                    this._-bS.unload();
                }
                catch(e:Error)
                {
                };
                this._-bS = null;
                this._context = null;
                this._-2oi = null;
                this._-fW = null;
                super.dispose();
            };
        }
        public function load(_arg1:URLRequest, _arg2:int=5):void
        {
            this._-4vX = _arg1;
            this._name = _-1CZ(this._-4vX.url);
            this._-2v = false;
            this._-2OJ = _arg2;
            ErrorReportStorage._-0QQ("Library url", ("Library url " + _arg1.url));
            ErrorReportStorage._-0QQ("Library name", ("Library name " + this._name));
            if (!this._-3WE)
            {
                this._-3WE = true;
                this._-1f4();
            };
        }
        public function _-1f4():void
        {
            if (((this._-3WE) && (!(_disposed))))
            {
                this._-3WE = false;
                if (((!(this._-2v)) && (this._-4vX)))
                {
                    this._-2pU = -1;
                    this._-2fL = getTimer();
                    queue(this);
                };
            };
        }
        protected function retry():Boolean
        {
            if (((((!(this._-2v)) && (!(_disposed)))) && ((this._-2OJ > 0))))
            {
                try
                {
                    this._-bS.close();
                    this._-bS.unload();
                }
                catch(e:Error)
                {
                };
                this._-4Hl(this._-4vX, (_-099 - this._-2OJ));
                if (this._-41f)
                {
                    this._-4vX.requestHeaders.push(new URLRequestHeader("pragma", "no-cache"));
                    this._-4vX.requestHeaders.push(new URLRequestHeader("Cache-Control", "no-cache"));
                    this._-41f = false;
                };
                this._-2OJ--;
                this._-03J = 0;
                this._-bS.load(this._-4vX, this._context);
                return (true);
            };
            return (false);
        }
        public function hasDefinition(_arg1:String):Boolean
        {
            var k:Boolean;
            try
            {
                k = this._-bS.contentLoaderInfo.applicationDomain.hasDefinition(_arg1);
            }
            catch(e:Error)
            {
            };
            return (k);
        }
        public function getDefinition(_arg1:String):Object
        {
            var k:Object;
            try
            {
                if (this._-bS.contentLoaderInfo.applicationDomain.hasDefinition(_arg1))
                {
                    k = this._-bS.contentLoaderInfo.applicationDomain.getDefinition(_arg1);
                };
            }
            catch(e:Error)
            {
            };
            return (k);
        }
        protected function _-4bt(_arg1:Event):void
        {
            var _local2:Timer;
            var k:Boolean;
            switch (_arg1.type)
            {
                case Event.INIT:
                    this.debug((('Load event INIT for file "' + this.url) + '"'));
                    this._-03J = (this._-03J | LibraryLoader._-5Br);
                    break;
                case Event.COMPLETE:
                    this.debug((('Load event COMPLETE for file "' + this.url) + '"'));
                    this._-03J = (this._-03J | LibraryLoader._-0QI);
                    break;
                case Event.ENTER_FRAME:
                    break;
                case HTTPStatusEvent.HTTP_STATUS:
                    this._-8R = HTTPStatusEvent(_arg1).status;
                    this.debug((((("Load event STATUS " + this._-8R) + ' for file "') + this.url) + '"'));
                    break;
                case Event.UNLOAD:
                    this.debug((('Load event UNLOAD for file "' + this.url) + '"'));
                    dispatchEvent(new _-2K6(_-2K6.LIBRARY_LOADER_EVENT_UNLOAD, this._-8R, this.bytesTotal, this.bytesLoaded, this._-04b));
                    break;
                case ProgressEvent.PROGRESS:
                    this.debug(((((('Load event PROGRESS for file "' + this.url) + '"  bytes: ') + this.bytesLoaded) + "/") + this.bytesTotal));
                    dispatchEvent(new _-2K6(_-2K6.LIBRARY_LOADER_EVENT_PROGRESS, this._-8R, this.bytesTotal, this.bytesLoaded, this._-04b));
                    break;
                case IOErrorEvent.IO_ERROR:
                    this.debug((('Load event IO ERROR for file "' + this.url) + '"'));
                    if (!this._-1zu(this._-8R))
                    {
                        this._-2pU = getTimer();
                        this.failure((('IO Error, send or load operation failed for file "' + this.url) + '"'));
                        this._-4xA();
                    };
                    break;
                case SecurityErrorEvent.SECURITY_ERROR:
                    this._-2pU = getTimer();
                    this.failure((('Security Error, security violation with file "' + this.url) + '"'));
                    this._-4xA();
                    break;
                case TimerEvent.TIMER:
                    _local2 = (TimerEvent(_arg1).target as Timer);
                    _local2.removeEventListener(TimerEvent.TIMER, this._-4bt);
                    _local2.stop();
                    if (!_disposed)
                    {
                        this._-03J = LibraryLoader._-0IQ;
                        this._-4bt(new Event(Event.COMPLETE));
                    };
                    return;
                default:
                    _-Nb.log((("LibraryLoader::loadEventHandler(" + _arg1) + ")"));
            };
            if (this._-03J == LibraryLoader._-48N)
            {
                if (this._-53k())
                {
                    this._-03J = (this._-03J | LibraryLoader._-1B3);
                };
            };
            if (this._-03J == LibraryLoader._-0IQ)
            {
                k = this._-5Cg();
                if (k)
                {
                    this._-2v = true;
                    this._-2pU = getTimer();
                    this._-4xA();
                    _-4UM();
                    dispatchEvent(new _-2K6(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-8R, this.bytesTotal, this.bytesLoaded, this._-04b));
                    dispatchEvent(new Event(LIBRARY_LOADER_FINALIZE));
                };
            };
        }
        protected function _-53k():Boolean
        {
            var k:MovieClip;
            var k:FrameLabel;
            var k:Array;
            var k:uint;
            this.debug((((('Analyzing library "' + this._name) + '", content ') + (((this.content is MovieClip)) ? "is" : "is not")) + " a MovieClip"));
            this.debug(((("\tBytes loaded: " + this._-bS.contentLoaderInfo.bytesLoaded) + "/") + this._-bS.contentLoaderInfo.bytesTotal));
            if ((this.content is MovieClip))
            {
                k = (this.content as MovieClip);
                k = k.currentLabels;
                this.debug((((((('\tLibrary "' + this._name) + '" is in frame ') + k.currentFrame) + "(") + k.currentLabel) + ")"));
                if (k.length > 1)
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as FrameLabel);
                        if (k.name == this._name)
                        {
                            if (k.frame != k.currentFrame)
                            {
                                k.addEventListener(Event.ENTER_FRAME, this._-4bt);
                                return (false);
                            };
                        };
                        k++;
                    };
                };
            };
            return (true);
        }
        protected function _-5Cg():Boolean
        {
            var xmlClass:Class;
            this.debug((('Preparing library "' + this._name) + '"'));
            this._-2oi = (this.getDefinition(this._name) as Class);
            if (this._-2oi == null)
            {
                if (!this.retry())
                {
                    this.failure((((('Failed to find resource class "' + this._name) + '" from library ') + this._-4vX.url) + "!"));
                };
                return (false);
            };
            var result:Boolean = true;
            try
            {
                xmlClass = (this._-2oi.manifest as Class);
                if (xmlClass == null)
                {
                    return (false);
                };
            }
            catch(e:Error)
            {
                if (!retry())
                {
                    failure((("Failed to find embedded manifest.xml from library " + _-4vX.url) + "!"));
                };
                result = false;
            };
            if (!result)
            {
                return (false);
            };
            var bytes:ByteArray = (new (xmlClass)() as ByteArray);
            try
            {
                this._-fW = new XML(bytes.readUTFBytes(bytes.length));
            }
            catch(e:Error)
            {
                if (!retry())
                {
                    failure(((("Failed to extract manifest.xml from library " + _name) + "!\n") + e.message));
                };
                result = false;
            };
            return (result);
        }
        protected function _-1zu(_arg1:int):Boolean
        {
            if ((((_arg1 == 0)) || ((_arg1 >= 400))))
            {
                if (this.retry())
                {
                    return (true);
                };
                this.failure((((("HTTP Error " + _arg1) + ' "') + this._-bS.contentLoaderInfo.url) + '"'));
                this._-4xA();
            };
            return (false);
        }
        protected function _-4Hl(_arg1:URLRequest, _arg2:int):void
        {
            var k:int;
            var k:String;
            if ((((_arg1.url == null)) || ((_arg1.url == ""))))
            {
                return;
            };
            var k:Array = _arg1.url.split("?");
            var k:String = k[0];
            var k:String = (((k.length > 1)) ? k[1] : "");
            var k:String = "counterparameter";
            var k:Array = k.split("&");
            var k:Boolean;
            k = 0;
            while (k < k.length)
            {
                k = k[k];
                if (k.indexOf((k + "=")) >= 0)
                {
                    k = ((k + "=") + _arg2.toString());
                    k[k] = k;
                    k = true;
                    break;
                };
                k++;
            };
            if (!k)
            {
                k.push(((k + "=") + _arg2));
            };
            k = 0;
            while (k < k.length)
            {
                k = (k + ((((k == 0)) ? "?" : "&") + k[k]));
                k++;
            };
            _arg1.url = k;
        }
        protected function _-4xA():void
        {
            if (this._-bS)
            {
                if (this._-bS.content != null)
                {
                    this._-bS.content.removeEventListener(Event.ENTER_FRAME, this._-4bt);
                };
                this._-bS.contentLoaderInfo.removeEventListener(Event.INIT, this._-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(Event.COMPLETE, this._-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, this._-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(Event.UNLOAD, this._-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(HTTPStatusEvent.HTTP_STATUS, this._-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, this._-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-4bt);
            };
        }
        protected function debug(_arg1:String):void
        {
            Core.debug(_arg1);
            this._-1Yr = _arg1;
            if (this._-2Qq)
            {
                dispatchEvent(new _-2K6(_-2K6.LIBRARY_LOADER_EVENT_DEBUG, this._-8R, this.bytesTotal, this.bytesLoaded, this._-04b));
            };
        }
        protected function failure(_arg1:String):void
        {
            Core.warning(_arg1);
            this._-4tW = _arg1;
            _-4UM();
            dispatchEvent(new _-2K6(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-8R, this.bytesTotal, this.bytesLoaded, this._-04b));
            dispatchEvent(new Event(LIBRARY_LOADER_FINALIZE));
        }
        public function _-0Wj():String
        {
            return (this._-1Yr);
        }
        public function getLastErrorMessage():String
        {
            return (this._-4tW);
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r.Map

package _-18r
{
    import flash.utils.Proxy;
    import flash.utils.Dictionary;
    import _-1B-.*;
    import flash.utils.flash_proxy

    public class Map extends Proxy implements _-1zZ 
    {

        private var _-0p1:uint;
        private var _-4-E:Dictionary;
        private var _-4Nw:Array;
        private var _-0aa:Array;

        public function Map()
        {
            this._-0p1 = 0;
            this._-4-E = new Dictionary();
            this._-4Nw = [];
            this._-0aa = [];
        }
        public function get length():uint
        {
            return (this._-0p1);
        }
        public function get disposed():Boolean
        {
            return ((this._-4-E == null));
        }
        public function dispose():void
        {
            var k:Object;
            if (this._-4-E != null)
            {
                for (k in this._-4-E)
                {
                    delete this._-4-E[k];
                };
                this._-4-E = null;
            };
            this._-0p1 = 0;
            this._-4Nw = null;
            this._-0aa = null;
        }
        public function reset():void
        {
            var k:Object;
            for (k in this._-4-E)
            {
                delete this._-4-E[k];
            };
            this._-0p1 = 0;
            this._-4Nw = [];
            this._-0aa = [];
        }
        public function unshift(_arg1, _arg2):Boolean
        {
            if (this._-4-E[_arg1] != null)
            {
                return (false);
            };
            this._-4-E[_arg1] = _arg2;
            this._-4Nw.unshift(_arg2);
            this._-0aa.unshift(_arg1);
            this._-0p1++;
            return (true);
        }
        public function add(_arg1, _arg2):Boolean
        {
            if (this._-4-E[_arg1] != null)
            {
                return (false);
            };
            this._-4-E[_arg1] = _arg2;
            this._-4Nw[this._-0p1] = _arg2;
            this._-0aa[this._-0p1] = _arg1;
            this._-0p1++;
            return (true);
        }
        public function remove(_arg1)
        {
            var k:Object = this._-4-E[_arg1];
            if (k == null)
            {
                return (null);
            };
            var k:int = this._-4Nw.indexOf(k);
            if (k >= 0)
            {
                this._-4Nw.splice(k, 1);
                this._-0aa.splice(k, 1);
                this._-0p1--;
            };
            delete this._-4-E[_arg1];
            return (k);
        }
        public function getWithIndex(_arg1:int)
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-0p1))))
            {
                return (null);
            };
            return (this._-4Nw[_arg1]);
        }
        public function getKey(_arg1:int)
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-0p1))))
            {
                return (null);
            };
            return (this._-0aa[_arg1]);
        }
        public function _-18C():Array
        {
            return (this._-0aa.slice());
        }
        public function _-VD(_arg1):Boolean
        {
            return ((this._-0aa.indexOf(_arg1) > -1));
        }
        public function getValue(_arg1)
        {
            return (this._-4-E[_arg1]);
        }
        public function _-0hn():Array
        {
            return (this._-4Nw.slice());
        }
        public function _-51H(_arg1):Boolean
        {
            return ((this._-4Nw.indexOf(_arg1) > -1));
        }
        public function indexOf(_arg1):int
        {
            return (this._-4Nw.indexOf(_arg1));
        }
        public function _-3FO(_arg1:Map):void
        {
            var k:*;
            var k:Array = _arg1._-0aa;
            for each (k in k)
            {
                this.add(k, _arg1[k]);
            };
        }
        override flash_proxy function getProperty(_arg1)
        {
            if ((_arg1 is QName))
            {
                k = QName(_arg1).localName;
            };
            return (this._-4-E[_arg1]);
        }
        override flash_proxy function setProperty(_arg1, _arg2):void
        {
            if ((_arg1 is QName))
            {
                k = QName(_arg1).localName;
            };
            this._-4-E[_arg1] = _arg2;
            var k:int = this._-0aa.indexOf(_arg1);
            if (k == -1)
            {
                this._-4Nw[this._-0p1] = _arg2;
                this._-0aa[this._-0p1] = _arg1;
                this._-0p1++;
            }
            else
            {
                this._-4Nw.splice(k, 1, _arg2);
            };
        }
        override flash_proxy function nextNameIndex(_arg1:int):int
        {
            return ((((_arg1 < this._-0p1)) ? (_arg1 + 1) : 0));
        }
        override flash_proxy function nextName(_arg1:int):String
        {
            return (this._-0aa[(_arg1 - 1)]);
        }
        override flash_proxy function nextValue(_arg1:int)
        {
            return (this._-4Nw[(_arg1 - 1)]);
        }
        override flash_proxy function callProperty(_arg1, ... _args)
        {
            return ((((_arg1.localName == "toString")) ? "Map" : null));
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r.Player

package _-18r
{
    import flash.system.Capabilities;

    public class Player 
    {

        private static var _-16T:int;
        private static var _-WP:int;
        private static var _-1Fy:String;

        {
            init();
        }
        public static function get majorVersion():int
        {
            return (_-16T);
        }
        public static function get _-29R():int
        {
            return (_-WP);
        }
        public static function get _-3ut():String
        {
            return (_-1Fy);
        }
        private static function init():void
        {
            var k:String = Capabilities.version;
            var k:Array = k.split(" ");
            var k:Array = k[1].split(",");
            _-1Fy = k[0];
            _-16T = parseInt(k[0]);
            _-WP = parseInt(k[1]);
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r.PurgeTrigger

package _-18r
{
    import flash.utils.setTimeout;
    import flash.system.System;
    import flash.utils.getTimer;
    import _-p-.Core;
    import flash.net.LocalConnection;

    public class PurgeTrigger 
    {

        private static var _-WE:uint = 300;
        private static var _-0ri:uint = 400;
        private static var _-0eY:uint = (60 * 1000);//60000
        private static var _-0FJ:Boolean = false;

        public static function get _-4wY():uint
        {
            return (_-WE);
        }
        public static function set _-4wY(_arg1:uint):void
        {
            _-WE = _arg1;
        }
        public static function get _-4ew():uint
        {
            return (_-0ri);
        }
        public static function set _-4ew(_arg1:uint):void
        {
            _-0ri = Math.max(_arg1, _-WE);
        }
        public static function get _-VC():uint
        {
            return (_-0eY);
        }
        public static function set _-VC(_arg1:uint):void
        {
            _-0eY = _arg1;
        }
        public static function get _-4Bs():Boolean
        {
            return (_-0FJ);
        }
        protected static function get _-1kS():Boolean
        {
            return ((((Player.majorVersion > 10)) || ((((Player.majorVersion == 10)) && ((Player._-29R >= 1))))));
        }
        public static function start():void
        {
            if (!_-0FJ)
            {
                if (!_-1kS)
                {
                    _-0eY = (_-0eY * 2);
                    _-WE = 0;
                    _-0ri = int.MAX_VALUE;
                };
                setTimeout(_-17o, _-0eY);
                _-0FJ = true;
            };
        }
        public static function stop():void
        {
            if (_-0FJ)
            {
                _-0FJ = false;
            };
        }
        public static function trigger():void
        {
            var k:int;
            var k:Number;
            var k:Object = System;
            var k:Number = ((_-1kS) ? (((k.totalMemory - k.freeMemory) / 0x0400) / 0x0400) : (_-4wY + 1));
            if (k > _-4wY)
            {
                k = getTimer();
                Core.purge();
                k = ((_-1kS) ? (((k.totalMemory - k.freeMemory) / 0x0400) / 0x0400) : 0);
                if (k > _-0ri)
                {
                    _-1-j();
                };
            };
        }
        public static function _-1-j():void
        {
            try
            {
                new LocalConnection().connect("GC");
                new LocalConnection().connect("GC");
            }
            catch(e)
            {
            };
        }
        private static function _-17o():void
        {
            if (_-0FJ)
            {
                trigger();
                setTimeout(_-17o, _-0eY);
            };
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-18r.XMLVariableParser

package _-18r
{
    import flash.geom.Point;
    import flash.geom.Rectangle;

    public class XMLVariableParser 
    {

        public static const _-2FT:String = "hex";
        public static const _-48r:String = "int";
        public static const _-02g:String = "uint";
        public static const NUMBER:String = "Number";
        public static const _-4j0:String = "float";
        public static const _-11e:String = "Boolean";
        public static const _-4Pc:String = "bool";
        public static const STRING:String = "String";
        public static const _-2o9:String = "Point";
        public static const _-0ov:String = "Rectangle";
        public static const _-11L:String = "Array";
        public static const _-1F5:String = "Map";
        private static const _-2N-:String = "key";
        private static const _-45i:String = "type";
        private static const _-4qV:String = "value";
        private static const TRUE:String = "true";
        private static const FALSE:String = "false";
        private static const X:String = "x";
        private static const _-1Kx:String = "y";
        private static const _-38n:String = "width";
        private static const _-0KS:String = "height";
        private static const COMMA:String = ",";

        public static function parseVariableList(_arg1:XMLList, _arg2:Map, _arg3:Array=null):uint
        {
            var k:uint;
            var k:uint = _arg1.length();
            k = 0;
            while (k < k)
            {
                XMLVariableParser.parseVariableToken(_arg1[k], _arg2, _arg3);
                k++;
            };
            return (k);
        }
        private static function parseVariableToken(_arg1:XML, _arg2:Map, _arg3:Array=null):void
        {
            var k:String;
            var k:String;
            var k:XMLList;
            var _local8:XML;
            var k:XML;
            var k:String = STRING;
            k = _arg1.attribute(_-2N-);
            if (k.length() > 0)
            {
                k = String(_arg1.attribute(_-2N-));
            }
            else
            {
                k = _arg1.child(_-2N-)[0];
            };
            k = _arg1.attribute(_-45i);
            if (k.length() > 0)
            {
                k = String(_arg1.attribute(_-45i));
            };
            k = _arg1.attribute(_-4qV);
            if (k.length() > 0)
            {
                k = String(_arg1.attribute(_-4qV));
            };
            if (k != null)
            {
                _arg2[k] = XMLVariableParser.castStringToType(k, k);
            }
            else
            {
                _local8 = _arg1.child(_-4qV)[0];
                if (_local8 != null)
                {
                    k = _local8.child(0)[0];
                    k = k.children()[0];
                    k = k.localName();
                    _arg2[k] = XMLVariableParser.parseValueType(k, k);
                }
                else
                {
                    if ((((k == _-1F5)) || ((k == _-11L))))
                    {
                        _arg2[k] = XMLVariableParser.parseValueType(_arg1, k);
                    };
                };
            };
            if (_arg3)
            {
                _arg3.push(k);
            };
        }
        public static function castStringToType(_arg1:String, _arg2:String):Object
        {
            switch (_arg2)
            {
                case _-02g:
                    return (uint(_arg1));
                case _-48r:
                    return (int(_arg1));
                case NUMBER:
                    return (Number(_arg1));
                case _-4j0:
                    return (Number(_arg1));
                case _-11e:
                    return ((((_arg1 == TRUE)) || ((int(_arg1) > 0))));
                case _-4Pc:
                    return ((((_arg1 == TRUE)) || ((int(_arg1) > 0))));
                case _-2FT:
                    return (uint(_arg1));
                case _-11L:
                    return (_arg1.split(COMMA));
                default:
                    return (String(_arg1));
            };
        }
        public static function parseValueType(_arg1:XML, _arg2:String):Object
        {
            var k:Map;
            var _local4:Point;
            var _local5:Rectangle;
            var _local6:Array;
            var _local7:String;
            switch (_arg2)
            {
                case STRING:
                    return (String(_arg1));
                case _-2o9:
                    _local4 = new Point();
                    _local4.x = Number(_arg1.attribute(X));
                    _local4.y = Number(_arg1.attribute(_-1Kx));
                    return (_local4);
                case _-0ov:
                    _local5 = new Rectangle();
                    _local5.x = Number(_arg1.attribute(X));
                    _local5.y = Number(_arg1.attribute(_-1Kx));
                    _local5.width = Number(_arg1.attribute(_-38n));
                    _local5.height = Number(_arg1.attribute(_-0KS));
                    return (_local5);
                case _-11L:
                    k = new Map();
                    parseVariableList(_arg1.children(), k);
                    _local6 = new Array();
                    for (_local7 in k)
                    {
                        _local6.push(k[_local7]);
                    };
                    return (_local6);
                case _-1F5:
                    k = new Map();
                    XMLVariableParser.parseVariableList(_arg1.children(), k);
                    return (k);
            };
            throw (new Error((('Unable to parse data type "' + _arg2) + '", unknown type!')));
        }

    }
}//package _-18r

//------------------------------------------------------------
//_-19Y._-01y

package _-19Y
{
    import _-1ae.IFrameWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Pi._-1Eb;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-01y implements _-1zZ 
    {

        private var _-Ry:_-0e3;
        private var _-0xv:IFrameWindow;
        private var _-5CV:int;

        public function _-01y(_arg1:_-0e3)
        {
            this._-Ry = _arg1;
        }
        public function dispose():void
        {
            this._-Ry = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        public function show(_arg1:int):void
        {
            this._-5CV = _arg1;
            this._-eN();
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-Ry.getXmlWindow("group_created_window"));
            this._-0xv.findChildByTag("close").procedure = this._-4F9;
            this._-0xv.findChildByName("ok_button").procedure = this._-4F9;
            this._-0xv.center();
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
                this._-Ry.send(new _-1Eb(this._-5CV, false));
            };
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
            };
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y._-0ad

package _-19Y
{
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-2It._-2am;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-0ad implements _-1zZ 
    {

        private var _-Ry:_-0e3;
        private var _-0xv:IFrameWindow;
        private var _-2dj:_-3xn;
        private var _-5CV:int;

        public function _-0ad(_arg1:_-0e3)
        {
            this._-Ry = _arg1;
            this._-2dj = new _-3xn(_arg1, true);
        }
        public function dispose():void
        {
            this._-Ry = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-2dj)
            {
                this._-2dj.dispose();
                this._-2dj = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        public function _-sv(_arg1:int):Boolean
        {
            return (((((!((this._-0xv == null))) && (this._-0xv.visible))) && ((_arg1 == this._-5CV))));
        }
        public function _-0kU(_arg1:_-2am):void
        {
            if (((((((!((this._-0xv == null))) && (this._-0xv.visible))) && ((_arg1.groupId == this._-5CV)))) || (_arg1._-0br)))
            {
                this._-5CV = _arg1.groupId;
                this._-eN();
                this._-2dj._-0kU(IWindowContainer(this._-0xv.findChildByName("group_cont")), _arg1);
                if (_arg1._-0br)
                {
                    this._-0xv.visible = true;
                    this._-0xv.activate();
                };
            };
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-Ry.getXmlWindow("group_info_window"));
            this._-0xv.findChildByTag("close").procedure = this._-4F9;
            this._-0xv.center();
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.close();
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                this._-5CV = 0;
                this._-0xv.visible = false;
            };
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y._-0e3

package _-19Y
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-4pF._-3Ts;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-1Jd._-51K;
    import _-1Jd._-45k;
    import _-4Kb._-3nt;
    import _-4GV._-0Uq;
    import _-35b._-a8;
    import _-0mD._-2Jq;
    import _-IS._-TI;
    import _-3vb._-3b;
    import _-2gz._-2UE;
    import _-2It.GuildEditorData;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDHabboFriendList;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboEventStream;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboTracking;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-2It._-4AA;
    import _-2It._-0fQ;
    import _-2It._-r4;
    import _-2It._-0RK;
    import _-2It._-29u;
    import _-2na._-1G-;
    import _-1Q8._-567;
    import _-2It._-1eO;
    import _-2It._-1Mj;
    import _-2It._-ue;
    import _-2It._-4zc;
    import _-2It._-1Gg;
    import _-2It._-3TD;
    import _-2It._-ty;
    import _-2It._-Fm;
    import _-2It._-Ou;
    import _-1HK._-GF;
    import _-4OG._-3vj;
    import _-2It._-2NJ;
    import _-2It._-1Ze;
    import _-2It._-44B;
    import _-4OG._-Ex;
    import _-2p5._-2ka;
    import _-0Pi._-1Eb;
    import _-4Aj._-1oF;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-2It._-2am;
    import _-4Aj._-0tL;
    import _-2It._-1XZ;
    import _-ta._-1KA;
    import _-2It._-0SN;
    import _-2It._-2DY;
    import _-Co._-4SS;
    import _-0Pi._-0Ri;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-0nV._-3qA;
    import _-ta._-Oc;
    import _-hT._-128;
    import _-55m._-564;
    import _-2It._-2SQ;
    import _-2It.GuildMemberData;
    import _-0Pi._-2ov;
    import _-3Bn._-1xB;
    import _-ta._-mk;
    import _-55m._-2Vu;
    import _-0Pi._-0m4;
    import _-0Pi._-RA;
    import _-2Mh._-3YS;

    public class _-0e3 extends _-Px implements _-29p 
    {

        public static const _-uO:String = "HabboGroups";

        private var _-0ud:_-4BJ;
        private var _-U-:_-3Ts;
        private var _-3fD:_-4uR;
        private var _-cU:_-0hg;
        private var _-0pW:_-51K;
        private var _-16k:_-45k;
        private var _-It:_-3nt;
        private var _-2bJ:_-0Uq;
        private var _-0TG:_-a8;
        private var _-3oJ:_-2Jq;
        private var _-3jF:_-TI;
        private var _-0a7:_-3b;
        private var _-1e8:_-2UE;
        private var _-044:_-0ad;
        private var _-0NT:GuildMembersWindowCtrl;
        private var _-1j2:GuildManagementWindowCtrl;
        private var _-5BU:ExtendedProfileWindowCtrl;
        private var _-1HH:HcRequiredWindowCtrl;
        private var _-zk:_-01y;
        private var _-21Y:_-3KS;
        private var _-0g:GuildEditorData;
        private var _-hg:int;
        private var _-1Rt:int;
        private var _-2i1:Boolean;
        private var _-4xC:_-st;

        public function _-0e3(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboCommunicationManager(), this._-2WR);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDAvatarRenderManager(), this._-1dv);
            queueInterface(new IIDHabboNavigator(), this._-wL);
            queueInterface(new IIDHabboFriendList(), this._-tK);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboEventStream(), this._-4sJ);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboTracking(), this._-0dV);
            this._-044 = new _-0ad(this);
            this._-0NT = new GuildMembersWindowCtrl(this);
            this._-1j2 = new GuildManagementWindowCtrl(this);
            this._-5BU = new ExtendedProfileWindowCtrl(this);
            this._-1HH = new HcRequiredWindowCtrl(this);
            this._-zk = new _-01y(this);
            this._-21Y = new _-3KS(this);
            _-Nb.log(("HabboGroupsManager initialized: " + _arg3));
        }
        private function _-1bB(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-U- = (_arg2 as _-3Ts);
        }
        private function _-2WR(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0ud = (_arg2 as _-4BJ);
            this._-0ud.addHabboConnectionMessageEvent(new _-4AA(this._-0kU));
            this._-0ud.addHabboConnectionMessageEvent(new _-0fQ(this._-48x));
            this._-0ud.addHabboConnectionMessageEvent(new _-r4(this._-3YJ));
            this._-0ud.addHabboConnectionMessageEvent(new _-0RK(this._-0Ww));
            this._-0ud.addHabboConnectionMessageEvent(new _-29u(this._-15X));
            this._-0ud.addHabboConnectionMessageEvent(new _-1G-(this._-1Xl));
            this._-0ud.addHabboConnectionMessageEvent(new _-567(this._-0TW));
            this._-0ud.addHabboConnectionMessageEvent(new _-1eO(this._-0FA));
            this._-0ud.addHabboConnectionMessageEvent(new _-1Mj(this._-1bF));
            this._-0ud.addHabboConnectionMessageEvent(new _-ue(this._-0NT._-597));
            this._-0ud.addHabboConnectionMessageEvent(new _-4zc(this._-0NT._-04d));
            this._-0ud.addHabboConnectionMessageEvent(new _-1Gg(this._-0NT._-03B));
            this._-0ud.addHabboConnectionMessageEvent(new _-3TD(this._-0NT._-1WZ));
            this._-0ud.addHabboConnectionMessageEvent(new _-ty(this._-3Ga));
            this._-0ud.addHabboConnectionMessageEvent(new _-Fm(this._-1HP));
            this._-0ud.addHabboConnectionMessageEvent(new _-Ou(this._-0NT._-bw));
            this._-0ud.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            this._-0ud.addHabboConnectionMessageEvent(new _-3vj(this._-4IK));
            this._-0ud.addHabboConnectionMessageEvent(new _-2NJ(this._-5B-));
            this._-0ud.addHabboConnectionMessageEvent(new _-1Ze(this._-4-J));
            this._-0ud.addHabboConnectionMessageEvent(new _-44B(this._-1O4));
            this._-0ud.addHabboConnectionMessageEvent(new _-Ex(this._-1Pw));
        }
        private function _-1d3(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-3fD = (_arg2 as _-4uR);
        }
        private function _-3V9(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-cU = (_arg2 as _-0hg);
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0pW = (_arg2 as _-51K);
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-16k = (_arg2 as _-45k);
        }
        private function _-1dv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-It = (_arg2 as _-3nt);
        }
        private function _-wL(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2bJ = (_arg2 as _-0Uq);
        }
        private function _-tK(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0TG = (_arg2 as _-a8);
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = (_arg2 as _-2Jq);
        }
        private function _-4sJ(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3jF = (_arg2 as _-TI);
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = (_-3b(_arg2) as _-3b);
        }
        private function _-0dV(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-1e8 = (_arg2 as _-2UE);
        }
        override public function dispose():void
        {
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-16k)
            {
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            if (this._-0pW != null)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-044)
            {
                this._-044.dispose();
                this._-044 = null;
            };
            if (this._-0NT)
            {
                this._-0NT.dispose();
                this._-0NT = null;
            };
            if (this._-1j2)
            {
                this._-1j2.dispose();
                this._-1j2 = null;
            };
            if (this._-5BU)
            {
                this._-5BU.dispose();
                this._-5BU = null;
            };
            if (this._-It)
            {
                this._-It.release(new IIDAvatarRenderManager());
                this._-It = null;
            };
            if (this._-2bJ)
            {
                this._-2bJ.release(new IIDHabboNavigator());
                this._-2bJ = null;
            };
            if (this._-0TG)
            {
                this._-0TG.release(new IIDHabboFriendList());
                this._-0TG = null;
            };
            if (this._-3oJ != null)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-3jF != null)
            {
                this._-3jF.release(new IIDHabboEventStream());
                this._-3jF = null;
            };
            if (this._-0a7)
            {
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
            if (this._-1e8 != null)
            {
                this._-1e8.release(new IIDHabboTracking());
                this._-1e8 = null;
            };
            if (this._-1HH)
            {
                this._-1HH.dispose();
                this._-1HH = null;
            };
            if (this._-zk)
            {
                this._-zk.dispose();
                this._-zk = null;
            };
            if (this._-21Y)
            {
                this._-21Y.dispose();
                this._-21Y = null;
            };
            super.dispose();
        }
        public function _-1n2(_arg1:Boolean, _arg2:int):void
        {
            this._-4SK(_arg2);
            this.send(new _-2ka(_-uO, ("" + _arg2), "badge clicked"));
        }
        public function _-4SK(_arg1:int):void
        {
            if (this._-3fD.getKey("groupBadgeInfo.enabled") == "false")
            {
                this._-U-.alert("${group.inconstruction.title}", "${group.inconstruction.desc}", 0, this._-498);
            }
            else
            {
                this.send(new _-1Eb(_arg1, true));
            };
        }
        public function send(_arg1:_-1oF):void
        {
            this._-0ud._-4gR(null).send(_arg1);
        }
        public function getXmlWindow(_arg1:String):IWindow
        {
            var k:_-2kE;
            var k:_-243;
            var k:IWindow;
            try
            {
                k = assets.getAssetByName(_arg1);
                k = _-243(k);
                k = this._-U-.buildFromXML(XML(k.content));
            }
            catch(e:Error)
            {
            };
            return (k);
        }
        public function _-1JQ(_arg1:String):BitmapData
        {
            var k:String = _arg1;
            var k:_-2kE = assets.getAssetByName(k);
            var k:BitmapDataAsset = BitmapDataAsset(k);
            var k:BitmapData = BitmapData(k.content);
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0);
            k.draw(k);
            return (k);
        }
        private function _-0kU(_arg1:_-0tL):void
        {
            var k:_-2am = _-4AA(_arg1).data;
            this._-044._-0kU(k);
            this._-5BU._-0kU(k);
            this._-21Y._-0kU(k);
        }
        private function _-48x(_arg1:_-0tL):void
        {
            var k:_-1XZ = _-0fQ(_arg1).data;
            if (k._-2gB)
            {
                this._-5BU._-1Wk(k);
            };
        }
        private function _-3YJ(_arg1:_-0tL):void
        {
            var k:int = _-r4(_arg1).userId;
            this._-5BU._-29g(k);
        }
        private function _-0Ww(_arg1:_-0tL):void
        {
            var k:int = _-0RK(_arg1).groupId;
            if (((this._-044._-sv(k)) || (this._-21Y._-sv(k))))
            {
                this.send(new _-1Eb(k, false));
            };
        }
        private function _-15X(_arg1:_-0tL):void
        {
            var _local3:String;
            var _local4:String;
            var k:int = _-29u(_arg1).reason;
            if (k == _-1KA._-0Rs)
            {
                this._-1HH.show(false);
            }
            else
            {
                _local3 = ("group.joinfail." + k);
                _local4 = this._-cU.getKey(_local3, _local3);
                this._-U-.alert("${group.joinfail.title}", _local4, 0, this._-498);
            };
        }
        private function _-0FA(_arg1:_-0tL):void
        {
            var k:_-0SN = _-1eO(_arg1).data;
            this._-1j2._-0FA(k);
            this._-2nC();
        }
        private function _-1bF(_arg1:_-0tL):void
        {
            var k:_-2DY = _-1Mj(_arg1).data;
            this._-1j2._-1bF(k);
            this._-2nC();
        }
        private function _-1Xl(_arg1:_-0tL):void
        {
            this._-044.close();
            this._-21Y.close();
        }
        private function _-0TW(_arg1:_-0tL):void
        {
            this._-044.close();
            this._-21Y.close();
            var k:_-4SS = _-567(_arg1)._-3-5();
            this._-1Rt = ((k._-Jj) ? k._-1At : 0);
            if (((!((this._-4xC == null))) && (this._-4xC._-2zK)))
            {
                if (this._-1Rt == this._-4xC._-H2)
                {
                    this.send(new _-0Ri(this._-4xC._-2Uy, this._-4xC._-0Bf));
                }
                else
                {
                    this._-4xC = null;
                };
            };
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-3Ga(_arg1:_-0tL):void
        {
            this._-0g = _-ty(_arg1).data;
            events.dispatchEvent(new _-3qA());
        }
        private function _-1HP(_arg1:_-0tL):void
        {
            var _local3:String;
            var _local4:String;
            var k:int = _-Fm(_arg1).reason;
            if (k == _-Oc._-0Rs)
            {
                this._-1HH.show(true);
            }
            else
            {
                _local3 = ("group.edit.fail." + k);
                _local4 = this._-cU.getKey(_local3, _local3);
                this._-U-.alert("${group.edit.fail.title}", _local4, 0, this._-498);
            };
        }
        private function _-2y3(_arg1:_-0tL):void
        {
            var k:_-128 = _-GF(_arg1)._-3-5();
            this._-hg = k.id;
        }
        private function _-4IK(_arg1:_-0tL):void
        {
            var k:_-564 = _-3vj(_arg1)._-3-5();
            this._-1j2._-4IK(k._-3EU, k._-jl);
        }
        private function _-5B-(_arg1:_-0tL):void
        {
            var k:_-2NJ = _-2NJ(_arg1);
            this._-zk.show(k.groupId);
            this._-1j2.close();
            this._-21Y._-c- = k.groupId;
            if (this._-1Rt != k._-1me)
            {
                this._-2bJ.goToPrivateRoom(k._-1me);
            };
        }
        private function _-4-J(_arg1:_-0tL):void
        {
            var k:int = _-1Ze(_arg1).userId();
            var k:int = _-1Ze(_arg1)._-1UL();
            var k:_-2SQ;
            var k:GuildMemberData = this._-0NT.data;
            if (k > 0)
            {
                if (k == this._-hg)
                {
                    this.localization.registerParameter("group.leaveconfirm.desc", "amount", k.toString());
                    this._-U-.confirm("${group.leaveconfirm.title}", "${group.leaveconfirm.desc}", 0, this._-ZU);
                }
                else
                {
                    k = k._-4d0(k);
                    this.localization.registerParameter("group.kickconfirm.desc", "amount", k.toString());
                    this.localization.registerParameter("group.kickconfirm.desc", "user", k.userName);
                    this._-U-.confirm("${group.kickconfirm.title}", "${group.kickconfirm.desc}", 0, this._-ZU);
                };
            }
            else
            {
                if (k == this._-hg)
                {
                    this._-U-.confirm("${group.leaveconfirm.title}", "${group.leaveconfirm_nofurni.desc}", 0, this._-ZU);
                }
                else
                {
                    k = k._-4d0(k);
                    this.localization.registerParameter("group.kickconfirm_nofurni.desc", "user", k.userName);
                    this._-U-.confirm("${group.kickconfirm.title}", "${group.kickconfirm_nofurni.desc}", 0, this._-ZU);
                };
            };
        }
        private function _-ZU(_arg1:_-1xB, _arg2:WindowEvent):void
        {
            if (((((_arg1.disposed) || ((_arg1 == null)))) || ((this._-4xC == null))))
            {
                this._-4xC = null;
                return;
            };
            _arg1.dispose();
            if (_arg2.type == WindowEvent._-0-9)
            {
                this.send(new _-2ov(this._-4xC._-2Uy, this._-4xC._-0Bf));
            };
            this._-4xC = null;
        }
        private function _-1O4(_arg1:_-0tL):void
        {
            var k:_-mk = _-44B(_arg1)._-3-5();
            this._-2i1 = ((k._-0Dl) && ((k._-2J > 0)));
            this._-1j2._-Pe();
        }
        private function _-1Pw(_arg1:_-0tL):void
        {
            var k:_-2Vu = _-Ex(_arg1)._-3-5();
            if (k._-278)
            {
                this._-21Y._-1Pw(k.data);
            };
        }
        private function _-2nC():void
        {
            if (this._-0g == null)
            {
                this.send(new _-0m4());
            };
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get _-1ED():_-45k
        {
            return (this._-16k);
        }
        public function get _-0rj():GuildManagementWindowCtrl
        {
            return (this._-1j2);
        }
        public function get _-2SW():_-3KS
        {
            return (this._-21Y);
        }
        public function get _-4sL():Boolean
        {
            return (this._-3fD.getBoolean("guilds.enabled", false));
        }
        public function get _-6J():Boolean
        {
            return (((((this._-4sL) && (!((this._-3fD == null))))) && (this._-3fD.getBoolean("groupRoomInfo.enabled", true))));
        }
        public function get _-rs():Boolean
        {
            return (((((this._-6J) && (!((this._-3fD == null))))) && (this._-3fD.getBoolean("groupRoomInfo.badge.enabled", true))));
        }
        public function get _-4o-():Boolean
        {
            return (((((this._-6J) && (!((this._-3fD == null))))) && (this._-3fD.getBoolean("groupRoomInfo.attach.enabled", true))));
        }
        public function get _-ln():GuildEditorData
        {
            return (this._-0g);
        }
        public function get _-2hz():int
        {
            return (this._-hg);
        }
        public function get _-5-f():_-3nt
        {
            return (this._-It);
        }
        public function get navigator():_-0Uq
        {
            return (this._-2bJ);
        }
        public function get friendlist():_-a8
        {
            return (this._-0TG);
        }
        public function get _-2jW():GuildMembersWindowCtrl
        {
            return (this._-0NT);
        }
        public function get _-4Gp():_-TI
        {
            return (this._-3jF);
        }
        public function get habboTracking():_-2UE
        {
            return (this._-1e8);
        }
        public function trackGoogle(_arg1:String, _arg2:String, _arg3:int=-1):void
        {
            if (this._-1e8 != null)
            {
                this._-1e8.trackGoogle(_arg1, _arg2, _arg3);
            };
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get toolbar():_-3b
        {
            return (this._-0a7);
        }
        public function _-0-I(_arg1:int):void
        {
            this._-5BU._-0-I(_arg1);
        }
        public function _-SL(_arg1:int):void
        {
            this.send(new _-RA(_arg1));
        }
        public function openCatalog(_arg1:String):void
        {
            this._-3oJ.openCatalogPage(_arg1);
        }
        public function _-4uS(_arg1:String):void
        {
            this._-3oJ.openClubBuy(_-3YS._-36p, _arg1);
        }
        public function get _-0n9():Boolean
        {
            return (this._-2i1);
        }
        public function _-Dm(_arg1:int, _arg2:int, _arg3:int):void
        {
            if (this._-1Rt != _arg3)
            {
                this._-4xC = new _-st(_arg1, _arg2, _arg3, true);
                this._-2bJ.goToPrivateRoom(_arg3);
            }
            else
            {
                this._-4xC = new _-st(_arg1, _arg2, _arg3, false);
                this.send(new _-0Ri(_arg2, _arg1));
            };
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y._-0FT

package _-19Y
{
    import _-2It._-qC;

    public class _-0FT 
    {

        private var _-3-G:int;
        private var _-9-:int;
        private var _-4Vb:Boolean = false;

        public function _-0FT(_arg1:_-qC=null)
        {
            this._-3-G = _-z7._-34T;
            this._-9- = _-z7._-5CC;
            super();
            if (_arg1 == null)
            {
                return;
            };
            this._-3-G = _arg1._-19r;
            this._-9- = _arg1._-3Dv;
        }
        public function get _-19r():int
        {
            return (this._-3-G);
        }
        public function set _-19r(_arg1:int):void
        {
            if (_arg1 != this._-3-G)
            {
                this._-4Vb = true;
            };
            this._-3-G = _arg1;
        }
        public function get _-14Z():int
        {
            return (this._-9-);
        }
        public function set _-14Z(_arg1:int):void
        {
            if (_arg1 != this._-9-)
            {
                this._-4Vb = true;
            };
            this._-9- = _arg1;
        }
        public function get _-3Up():Boolean
        {
            return (this._-4Vb);
        }
        public function _-2NW():void
        {
            this._-4Vb = false;
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y._-29p

package _-19Y
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-29p extends _-4yI 
    {

        function _-1n2(_arg1:Boolean, _arg2:int):void;
        function _-4SK(_arg1:int):void;
        function _-0-I(_arg1:int):void;
        function _-SL(_arg1:int):void;
        function get events():IEventDispatcher;

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y._-3KS

package _-19Y
{
    import _-Ew.IWindowContainer;
    import _-2It._-2am;
    import _-0Pi._-1Eb;
    import _-4OG._-3pI;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-0Ie.WindowMouseEvent;
    import _-3MI._-0Sy;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0Pi._-2Io;
    import _-0Pi._-4rd;
    import _-2p5._-2ka;
    import _-1B-.*;

    public class _-3KS implements _-1zZ 
    {

        private static const _-0Tc:String = "room_group_info";

        private var _-Ry:_-0e3;
        private var _-0xv:IWindowContainer;
        private var _-2jY:Boolean = true;
        private var _-28m:_-2am;
        private var _-2gr:int;

        public function _-3KS(_arg1:_-0e3)
        {
            this._-Ry = _arg1;
        }
        public function dispose():void
        {
            if (this._-2fH())
            {
                this._-Ry.toolbar.extensionView._-21z(_-0Tc);
            };
            this._-Ry = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        public function _-1Pw(_arg1:_-3pI):void
        {
            if (!this._-Ry._-6J)
            {
                return;
            };
            if (_arg1._-i5 > 0)
            {
                this._-2gr = _arg1._-i5;
                this._-Ry.send(new _-1Eb(_arg1._-i5, false));
            }
            else
            {
                this._-2gr = 0;
                this.close();
            };
        }
        public function _-0kU(_arg1:_-2am):void
        {
            if (!this._-Ry._-6J)
            {
                return;
            };
            if (_arg1.groupId == this._-2gr)
            {
                this._-2jY = true;
                this._-28m = _arg1;
                this.refresh();
            };
        }
        public function _-sv(_arg1:int):Boolean
        {
            return (((((!((this._-0xv == null))) && (!((this._-28m == null))))) && ((_arg1 == this._-28m.groupId))));
        }
        private function refresh():void
        {
            if (((!(this._-Ry._-4sL)) || (!(this._-28m._-lk))))
            {
                return;
            };
            this._-eN();
            this._-0xv.findChildByName("bg_expanded").visible = this._-2jY;
            this._-0xv.findChildByName("bg_contracted").visible = !(this._-2jY);
            this._-0xv.findChildByName("group_name_txt").visible = this._-2jY;
            this._-0xv.findChildByName("join_button").visible = ((this._-2jY) && (this._-28m._-3mK));
            this._-0xv.findChildByName("request_membership_button").visible = ((this._-2jY) && (this._-28m._-558));
            this._-0xv.findChildByName("manage_button").visible = ((this._-2jY) && (this._-28m._-M2));
            this._-0xv.findChildByName("group_logo").visible = this._-2jY;
            this._-0xv.findChildByName("group_name_txt").caption = this._-28m.groupName;
            this._-0xv.findChildByName("info_region").visible = this._-2jY;
            var k:_-aY = (_-3Yi(this._-0xv.findChildByName("group_logo")).widget as _-aY);
            k.badgeId = this._-28m._-3T;
            k.groupId = this._-28m.groupId;
            this._-0xv.x = 0;
            this._-0xv.y = 0;
            this._-0xv.height = ((this._-2jY) ? this._-0xv.findChildByName("bg_expanded").height : this._-0xv.findChildByName("bg_contracted").height);
            if (this._-2fH())
            {
                this._-Ry.toolbar.extensionView._-408(_-0Tc, this._-0xv, -1, ["next_quest_timer", "quest_tracker", "event_info_window"]);
            };
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IWindowContainer(this._-Ry.getXmlWindow("group_room_info"));
            this._-0xv.findChildByName("join_button").procedure = this._-55q;
            this._-0xv.findChildByName("request_membership_button").procedure = this._-55q;
            this._-0xv.findChildByName("manage_button").procedure = this._-2Sa;
            this._-0xv.findChildByName("title_region").procedure = this._-5FM;
            this._-0xv.findChildByName("info_region").procedure = this._-GU;
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                if (this._-2fH())
                {
                    this._-Ry.toolbar.extensionView._-21z(_-0Tc);
                };
                this._-2gr = 0;
                this._-28m = null;
            };
        }
        private function _-5FM(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-2jY = !(this._-2jY);
            this.refresh();
            this._-Ry.toolbar.events.dispatchEvent(new _-0Sy(_-0Sy._-2B8));
        }
        private function _-GU(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-Ry.trackGoogle("groupRoomInfo", "groupInfo");
                this._-Ry.send(new _-1Eb(this._-28m.groupId, true));
                this._-Ry.toolbar.events.dispatchEvent(new _-0Sy(_-0Sy._-2B8));
            };
        }
        private function _-2Sa(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-Ry.trackGoogle("groupRoomInfo", "manageGroup");
                this._-Ry.send(new _-2Io(this._-28m.groupId));
                this._-Ry.toolbar.events.dispatchEvent(new _-0Sy(_-0Sy._-2B8));
            };
        }
        private function _-55q(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-Ry.trackGoogle("groupRoomInfo", "joinGroup");
                this._-Ry.send(new _-4rd(this._-28m.groupId));
                this._-Ry.send(new _-2ka(_-0e3._-uO, ("" + this._-28m.groupId), "join"));
                this._-Ry.toolbar.events.dispatchEvent(new _-0Sy(_-0Sy._-2B8));
            };
        }
        public function set _-c-(_arg1:int):void
        {
            this._-2gr = _arg1;
        }
        private function _-2fH():Boolean
        {
            return (((((((!((this._-Ry == null))) && (!((this._-Ry.toolbar == null))))) && (!((this._-Ry.toolbar.extensionView == null))))) && (this._-Ry._-4o-)));
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y._-3xn

package _-19Y
{
    import _-Ew.IWindowContainer;
    import _-2It._-2am;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-0Pi._-4rd;
    import _-2p5._-2ka;
    import _-2ly._-11j;
    import _-3Bn._-1Ii;
    import _-0Pi._-2Io;
    import _-0Pi._-vl;
    import _-2Mh._-cF;
    import _-1B-.*;

    public class _-3xn implements _-1zZ 
    {

        private var _-Ry:_-0e3;
        private var _-0xv:IWindowContainer;
        private var _-e1:_-2am;

        public function _-3xn(_arg1:_-0e3, _arg2:Boolean)
        {
            this._-Ry = _arg1;
        }
        public function dispose():void
        {
            this._-Ry = null;
            this._-e1 = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        private function _-eN(_arg1:IWindowContainer):void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IWindowContainer(this._-Ry.getXmlWindow("group"));
            this._-4Hc("group_homepage_link_region", this._-30p);
            this._-4Hc("group_room_link_region", this._-5Cr);
            this._-4Hc("manage_guild_region", this._-338);
            this._-4Hc("members_region", this._-4aj);
            this._-4Hc("pending_members_region", this._-2oE);
            this._-4Hc("show_groups_link_region", this._-17v);
            this._-4Hc("buy_furni_link_region", this._-1zf);
            this._-0xv.findChildByName("leave_button").procedure = this._-3lQ;
            this._-0xv.findChildByName("join_button").procedure = this._-55q;
            this._-0xv.findChildByName("request_membership_button").procedure = this._-55q;
            _arg1.addChild(this._-0xv);
        }
        public function _-0kU(_arg1:IWindowContainer, _arg2:_-2am):void
        {
            this._-e1 = _arg2;
            this._-eN(_arg1);
            var k:IWindow = this._-0xv.findChildByName("group_decorate_icon_region");
            var k:IWindow = this._-0xv.findChildByName("group_name");
            k.caption = _arg2.groupName;
            k.visible = _arg2._-2fl;
            k.x = ((_arg2._-2fl) ? (k.x + k.width) : k.x);
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName("group_description"));
            k.caption = _arg2.description;
            k.height = (k.textHeight + 5);
            this._-0xv.findChildByName("group_description_scrollbar").visible = (k.height > this._-0xv.findChildByName("group_description_item_list").height);
            this._-Ry.windowManager.registerLocalizationParameter("group.created", "date", ("" + _arg2._-xT));
            this._-Ry.windowManager.registerLocalizationParameter("group.created", "owner", ("" + _arg2._-0aC));
            this._-0xv.findChildByName("created_txt").caption = this._-Ry.localization.getKey("group.created");
            this._-Ry.windowManager.registerLocalizationParameter("group.membercount", "totalMembers", ("" + _arg2.totalMembers));
            this._-0xv.findChildByName("members_txt").caption = this._-Ry.localization.getKey("group.membercount");
            this._-0xv.findChildByName("group_room_link_region").visible = (_arg2.roomId > -1);
            this._-Ry.windowManager.registerLocalizationParameter("group.linktobase", "room_name", _arg2.roomName);
            this._-0xv.findChildByName("group_room_link").caption = this._-Ry.localization.getKey("group.linktobase");
            this._-0xv.findChildByName("group_homepage_link").caption = this._-Ry.localization.getKey(((_arg2._-lk) ? "group.linktoforum" : "group.homepage"));
            var k:_-aY = (_-3Yi(this._-0xv.findChildByName("group_logo")).widget as _-aY);
            k.badgeId = this._-e1._-3T;
            k.groupId = this._-e1.groupId;
            this._-0xv.findChildByName("join_button").visible = _arg2._-3mK;
            this._-0xv.findChildByName("request_membership_button").visible = _arg2._-558;
            this._-0xv.findChildByName("leave_button").visible = _arg2._-4g7;
            this._-0xv.findChildByName("membership_pending_txt").visible = (_arg2.status == _-2am._-9W);
            this._-0xv.findChildByName("youaremember_txt").visible = ((!(this._-e1._-lk)) && ((_arg2.status == _-2am._-1WS)));
            this._-0xv.findChildByName("youaremember_icon").visible = ((!(this._-e1._-lk)) && ((_arg2.status == _-2am._-1WS)));
            var k:IWindow = this._-0xv.findChildByName("pending_members_region");
            k.visible = (this._-e1._-0ye > 0);
            if (this._-e1._-0ye > 0)
            {
                this._-Ry.windowManager.registerLocalizationParameter("group.pendingmembercount", "amount", ("" + _arg2._-0ye));
                this._-0xv.findChildByName("pending_members_txt").caption = this._-Ry.localization.getKey("group.pendingmembercount");
            };
            var k:IWindow = this._-0xv.findChildByName("manage_guild_region");
            k.visible = ((((this._-Ry._-4sL) && (this._-e1._-M2))) && (this._-e1._-lk));
            k.y = ((k.visible) ? (k.y + 16) : k.y);
            this._-0xv.findChildByName("you_are_owner_region").visible = ((this._-e1._-lk) && (this._-e1._-M2));
            this._-0xv.findChildByName("you_are_admin_region").visible = ((((this._-e1._-lk) && (this._-e1._-0W))) && (!(this._-e1._-M2)));
            this._-0xv.findChildByName("you_are_member_region").visible = ((this._-e1._-lk) && ((((this._-e1.status == _-2am._-1WS)) && (!(((this._-e1._-0W) || (this._-e1._-M2)))))));
            this._-7W(0).visible = false;
            this._-7W(1).visible = false;
            this._-7W(2).visible = false;
            if (this._-7W(_arg2.type) != null)
            {
                this._-7W(_arg2.type).visible = true;
            };
        }
        private function _-7W(_arg1:int):IWindow
        {
            return (this._-0xv.findChildByName(("grouptype_region_" + _arg1)));
        }
        private function _-3P(_arg1:int):IWindow
        {
            return (this._-0xv.findChildByName(("grouptype_icon_" + _arg1)));
        }
        private function _-4Hc(_arg1:String, _arg2:Function):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            k.mouseThreshold = 0;
            k.procedure = _arg2;
        }
        private function _-3lQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.trackGoogle("groupDetails", "leaveGroup");
            this._-Ry._-Dm(this._-Ry._-2hz, this._-e1.groupId, this._-e1.roomId);
        }
        private function _-55q(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.trackGoogle("groupDetails", "joinGroup");
            this._-Ry.send(new _-4rd(this._-e1.groupId));
            this._-Ry.send(new _-2ka(_-0e3._-uO, ("" + this._-e1.groupId), "join"));
        }
        private function _-30p(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:String = this._-Ry.configuration.getKey("group.homepage.url", ("http://%predefined%/groups/%groupid%/id" + ((this._-e1._-lk) ? "/discussions" : "")));
            k = k.replace("%groupid%", this._-e1.groupId);
            this.openExternalLink(k);
            this._-Ry.trackGoogle("groupDetails", "groupForum");
            this._-Ry.send(new _-2ka(_-0e3._-uO, ("" + this._-e1.groupId), "homepage"));
        }
        private function _-5Cr(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.trackGoogle("groupDetails", "groupBaseRoom");
            this._-Ry.navigator.goToPrivateRoom(this._-e1.roomId);
            this._-Ry.send(new _-2ka(_-0e3._-uO, ("" + this._-e1.groupId), "base"));
        }
        private function openExternalLink(_arg1:String):void
        {
            if (_arg1 != "")
            {
                this._-Ry.windowManager.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-3yB);
                _-11j.navigateToURL(_arg1, "_empty");
            };
        }
        private function _-3yB(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-338(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.trackGoogle("groupDetails", "groupManage");
            this._-Ry.send(new _-2Io(this._-e1.groupId));
        }
        private function _-4aj(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.trackGoogle("groupDetails", "groupMembers");
            this._-Ry._-2jW._-3Pg(this._-e1.groupId, _-vl._-0sT);
        }
        private function _-2oE(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.trackGoogle("groupDetails", "groupPendingMembers");
            this._-Ry._-2jW._-3Pg(this._-e1.groupId, _-vl._-4AH);
        }
        private function _-17v(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.trackGoogle("groupDetails", "hottestGroups");
            this._-Ry.navigator.performGuildBaseSearch();
        }
        private function _-1zf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.trackGoogle("groupDetails", "groupFurni");
            this._-Ry.openCatalog(_-cF._-33b);
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y._-st

package _-19Y
{
    public class _-st 
    {

        private var _-0TS:int;
        private var _-1zG:int;
        private var _-Ue:int;
        private var _-4Oj:Boolean;

        public function _-st(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean)
        {
            this._-0TS = _arg1;
            this._-1zG = _arg2;
            this._-Ue = _arg3;
            this._-4Oj = _arg4;
        }
        public function get _-0Bf():int
        {
            return (this._-0TS);
        }
        public function get _-2Uy():int
        {
            return (this._-1zG);
        }
        public function get _-H2():int
        {
            return (this._-Ue);
        }
        public function get _-2zK():Boolean
        {
            return (this._-4Oj);
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y._-z7

package _-19Y
{
    import _-1ae.ISelectorWindow;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ICheckBoxWindow;
    import _-Ew.IWindowContainer;
    import _-2It._-qC;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-11j;

    public class _-z7 
    {

        public static const _-34T:int = 0;
        public static const _-2CQ:int = 1;
        public static const _-250:int = 2;
        public static const _-mA:int = 3;
        public static const _-2Wm:int = 4;
        public static const _-5CC:int = 0;
        public static const _-my:int = 1;

        private var _-Ry:_-0e3;
        private var _-5CV:int;
        private var _-0qE:_-0FT;
        private var _-4Rl:ISelectorWindow;
        private var _-ZH:IRadioButtonWindow;
        private var _-2NY:IRadioButtonWindow;
        private var _-4EG:IRadioButtonWindow;
        private var _-3YN:ICheckBoxWindow;

        public function _-z7(_arg1:_-0e3)
        {
            this._-Ry = _arg1;
        }
        public function prepare(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = (_arg1.findChildByName("step_cont_5") as IWindowContainer);
            this._-4Rl = (k.findChildByName("group_type_selector") as ISelectorWindow);
            this._-ZH = (k.findChildByName("rb_type_regular") as IRadioButtonWindow);
            this._-ZH.procedure = this._-1IC;
            this._-2NY = (k.findChildByName("rb_type_exclusive") as IRadioButtonWindow);
            this._-2NY.procedure = this._-uL;
            this._-4EG = (k.findChildByName("rb_type_private") as IRadioButtonWindow);
            this._-4EG.procedure = this._-0lU;
            this._-3YN = (k.findChildByName("cb_member_rights") as ICheckBoxWindow);
            this._-3YN.procedure = this._-Wt;
            k.findChildByName("region_guild_url").procedure = this._-0yT;
        }
        public function refresh(_arg1:_-qC):void
        {
            this._-0qE = new _-0FT(_arg1);
            this._-5CV = _arg1.groupId;
            switch (this._-0qE._-19r)
            {
                case _-34T:
                    this._-4Rl.setSelected(this._-ZH);
                    break;
                case _-2CQ:
                    this._-4Rl.setSelected(this._-2NY);
                    break;
                case _-250:
                    this._-4Rl.setSelected(this._-4EG);
                    break;
                default:
                    this._-4Rl.setSelected(this._-ZH);
            };
            if (this._-0qE._-14Z == _-z7._-5CC)
            {
                this._-3YN.select();
            }
            else
            {
                this._-3YN._-5Aq();
            };
            this._-4Rl.invalidate();
        }
        private function _-1IC(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-0P3)
            {
                this._-0qE._-19r = _-34T;
            };
        }
        private function _-uL(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-0P3)
            {
                this._-0qE._-19r = _-2CQ;
            };
        }
        private function _-0lU(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-0P3)
            {
                this._-0qE._-19r = _-250;
            };
        }
        private function _-Wt(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-0P3)
            {
                this._-0qE._-14Z = _-z7._-5CC;
            };
            if (_arg1.type == WindowEvent._-4Yk)
            {
                this._-0qE._-14Z = _-z7._-my;
            };
        }
        public function _-2NW():void
        {
            if (((!((this._-0qE == null))) && (this._-0qE._-3Up)))
            {
                this._-0qE._-2NW();
            };
        }
        public function get _-19r():int
        {
            return (this._-0qE._-19r);
        }
        public function get _-14Z():int
        {
            return (this._-0qE._-14Z);
        }
        public function get _-25k():Boolean
        {
            return (!((this._-0qE == null)));
        }
        private function _-0yT(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var url:String;
            var event:WindowEvent = _arg1;
            var target:IWindow = _arg2;
            if (event.type == WindowMouseEvent._-90)
            {
                url = this._-Ry.configuration.getKey("group.homepage.url", "http://%predefined%/groups/%groupid%/id");
                url = url.replace("%groupid%", this._-5CV);
                try
                {
                    _-11j.navigateToURL(url, "habboMain");
                }
                catch(e:Error)
                {
                    _-Nb.log(("GOT ERROR: " + e));
                };
            };
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y.ColorGridCtrl

package _-19Y
{
    import _-Ew.IWindowContainer;
    import __AS3__.vec.Vector;
    import _-2It._-2eo;
    import _-1ae.IItemGridWindow;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.ColorTransform;
    import _-295.BitmapDataAsset;
    import _-2S9.Exception;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;

    public class ColorGridCtrl 
    {

        private var _-Ry:_-0e3;
        private var _-3yY:IWindowContainer;
        private var _-0tg:Function;
        private var _-1LX:Vector.<_-2eo>;
        private var _-3S6:IItemGridWindow;
        private var _-3NW:int = -1;
        private var _-1QW:BitmapData;
        private var _-3cg:BitmapData;
        private var _-3-B:BitmapData;
        private var _disposed:Boolean = false;

        public function ColorGridCtrl(_arg1:_-0e3, _arg2:Function)
        {
            this._-Ry = _arg1;
            this._-0tg = _arg2;
        }
        public function get _-4l():int
        {
            return (this._-3NW);
        }
        public function get _-25k():Boolean
        {
            return (((!((this._-1LX == null))) && (!((this._-3S6 == null)))));
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-3S6)
                {
                    this._-3S6.destroyGridItems();
                    this._-3S6 = null;
                };
                if (this._-3cg)
                {
                    this._-3cg.dispose();
                    this._-3cg = null;
                };
                if (this._-3-B)
                {
                    this._-3-B.dispose();
                    this._-3-B = null;
                };
                if (this._-3cg)
                {
                    this._-3cg.dispose();
                    this._-3cg = null;
                };
                if (this._-1QW)
                {
                    this._-1QW.dispose();
                    this._-1QW = null;
                };
                this._-Ry = null;
                this._-3yY = null;
                this._disposed = true;
            };
        }
        public function _-4Y-(_arg1:IWindowContainer, _arg2:String, _arg3:Vector.<_-2eo>):void
        {
            var k:_-2eo;
            var k:IWindowContainer;
            if (((((((!((this._-3S6 == null))) || ((_arg1 == null)))) || ((_arg2 == null)))) || ((_arg3 == null))))
            {
                return;
            };
            this._-3yY = _arg1;
            this._-1LX = _arg3;
            this._-3S6 = (this._-3yY.findChildByName(_arg2) as IItemGridWindow);
            this._-3cg = this._-5Es("color_chooser_bg");
            this._-3-B = this._-5Es("color_chooser_fg");
            this._-1QW = this._-5Es("color_chooser_selected");
            for each (k in this._-1LX)
            {
                k = (this._-Ry.getXmlWindow("badge_color_item") as IWindowContainer);
                k.procedure = this.onClick;
                k.background = true;
                k.color = 4290689957;
                k.width = this._-3cg.width;
                k.height = this._-3cg.height;
                this._-sB(k, "background", this._-3cg, true, null);
                this._-sB(k, "foreground", this._-3-B, true, k);
                this._-sB(k, "selected", this._-1QW, false, null);
                this._-3S6._-2-F(k);
            };
        }
        private function _-sB(_arg1:IWindowContainer, _arg2:String, _arg3:BitmapData, _arg4:Boolean, _arg5:_-2eo=null):void
        {
            var k:BitmapData;
            var k:IBitmapWrapperWindow = (_arg1.findChildByName(_arg2) as IBitmapWrapperWindow);
            if (k != null)
            {
                k = _arg3.clone();
                if (_arg5 != null)
                {
                    k.colorTransform(k.rect, new ColorTransform((_arg5.red / 0xFF), (_arg5.green / 0xFF), (_arg5.blue / 0xFF)));
                };
                k.bitmap = k;
                k.visible = _arg4;
            };
        }
        public function _-1lH(_arg1:int, _arg2:Boolean=true):void
        {
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (((!((this._-3NW == _arg1))) && ((_arg1 < this._-3S6.numGridItems))))
            {
                this._-16c(this._-3NW, false);
                this._-3NW = _arg1;
                this._-16c(this._-3NW, true);
            };
            if (((_arg2) && (!((this._-0tg == null)))))
            {
                this._-0tg(this);
            };
        }
        public function _-2d1(_arg1:int):void
        {
            if (!this._-25k)
            {
                return;
            };
            var k:int;
            while (k < this._-1LX.length)
            {
                if (this._-1LX[k].id == _arg1)
                {
                    this._-1lH(k);
                    return;
                };
                k++;
            };
            this._-1lH(0);
        }
        public function _-2lv():int
        {
            var k:_-2eo = this._-43Y();
            if (k != null)
            {
                return (k.id);
            };
            return (0);
        }
        public function _-43Y():_-2eo
        {
            if (((((!((this._-1LX == null))) && ((this._-3NW >= 0)))) && ((this._-3NW < this._-1LX.length))))
            {
                return (this._-1LX[this._-3NW]);
            };
            return (null);
        }
        private function _-5Es(_arg1:String):BitmapData
        {
            var k:BitmapData;
            var k:BitmapDataAsset = (this._-Ry.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k)
            {
                k = (k.content as BitmapData);
                if (k != null)
                {
                    return (k);
                };
            };
            throw (new Exception((("Failed to load bitmap asset " + _arg1) + " in ColorGridWidget")));
        }
        private function _-16c(_arg1:int, _arg2:Boolean):void
        {
            var k:IWindow;
            if ((((_arg1 < 0)) || ((_arg1 >= this._-3S6.numGridItems))))
            {
                return;
            };
            var k:IWindowContainer = (this._-3S6._-jx(_arg1) as IWindowContainer);
            if (k != null)
            {
                k = (k.findChildByName("selected") as IWindow);
                if (k != null)
                {
                    k.visible = _arg2;
                };
            };
        }
        private function onClick(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1lH(this._-3S6.getGridItemIndex(_arg2));
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y.ExtendedProfileWindowCtrl

package _-19Y
{
    import _-Ew.IWindowContainer;
    import _-2It._-1XZ;
    import _-1ae.IFrameWindow;
    import _-0Pi._-RA;
    import _-2It._-2CF;
    import _-0Pi._-1Eb;
    import _-2ly._-28n;
    import _-1ae.IContainerButtonWindow;
    import _-Ew.IWindow;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-1ae.IRegionWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-2It._-2am;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-2p5._-2ka;
    import _-0Pi._-4zs;
    import _-0Pi._-4mH;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-4Kb.*;
    import _-1B-.*;

    public class ExtendedProfileWindowCtrl implements _-1zZ, _-3QA 
    {

        private static const _-3ak:int = 6;
        private static const _-do:int = 0;
        private static const _-1ie:int = -5;
        private static const _-4Uy:int = 6;
        private static const _-365:int = 35;

        private var _-Ry:_-0e3;
        private var _-0xv:IWindowContainer;
        private var _-02u:IWindowContainer;
        private var _-4FH:int;
        private var _-2dj:_-3xn;
        private var _-0qE:_-1XZ;
        private var _-48O:int = 0;
        private var _-1vg:Boolean;

        public function ExtendedProfileWindowCtrl(_arg1:_-0e3)
        {
            this._-Ry = _arg1;
            this._-2dj = new _-3xn(_arg1, false);
        }
        public function dispose():void
        {
            this._-Ry = null;
            this._-02u = null;
            this._-0qE = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-2dj)
            {
                this._-2dj.dispose();
                this._-2dj = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-Ry.getXmlWindow("extended_profile_window"));
            this._-0xv.findChildByTag("close").procedure = this._-4F9;
            this._-0xv.findChildByName("addasfriend_button").procedure = this._-2a1;
            this._-0xv.findChildByName("rooms_button").procedure = this._-0Tp;
            this._-0xv.findChildByName("stream_button").procedure = this._-0eW;
            this._-0xv.findChildByName("previous_page_button").procedure = this._-KA;
            this._-0xv.findChildByName("next_page_button").procedure = this._-0EM;
            this._-0xv.findChildByName("view_groups_button").procedure = this._-14h;
            this._-02u = IWindowContainer(this._-0xv.findChildByName("groups_cont"));
            this._-0xv.center();
        }
        public function _-29g(_arg1:int):void
        {
            if (((((((!((this._-0qE == null))) && ((this._-0qE.userId == _arg1)))) && (!((this._-0xv == null))))) && (this._-0xv.visible)))
            {
                this._-Ry.send(new _-RA(_arg1));
                this._-1vg = true;
            };
        }
        public function _-1Wk(_arg1:_-1XZ):void
        {
            var k:int;
            this._-0qE = _arg1;
            var k:_-2CF = this._-220();
            if (k == null)
            {
                if (this._-0qE.guilds.length > 0)
                {
                    this._-4FH = this._-0qE.guilds[0].groupId;
                    k = this._-0qE.guilds[0];
                }
                else
                {
                    this._-4FH = 0;
                };
            };
            if (this._-4FH > 0)
            {
                k = this._-0qE.guilds.indexOf(k);
                this._-48O = Math.floor((k / this._-3or()));
                this._-Ry.send(new _-1Eb(this._-4FH, false));
            };
            this.refresh();
            this._-0xv.visible = true;
            if (!this._-1vg)
            {
                this._-0xv.activate();
            };
            this._-1vg = false;
        }
        private function _-220():_-2CF
        {
            var k:_-2CF;
            for each (k in this._-0qE.guilds)
            {
                if (k.groupId == this._-4FH)
                {
                    return (k);
                };
            };
            return (null);
        }
        private function refresh():void
        {
            this._-eN();
            this._-8Y();
            this._-52L();
        }
        private function _-52L():void
        {
            var k:IWindowContainer;
            this._-02u.x = ((this._-0Bg()) ? _-365 : _-4Uy);
            var k:int = this._-3or();
            var k:int;
            while (k < k)
            {
                this._-f1(k, this._-0qE.guilds[(k + (this._-48O * k))]);
                k++;
            };
            if (this._-0Bg())
            {
                k = IWindowContainer(this._-02u.getChildByName(("" + k)));
                if (k != null)
                {
                    k.visible = false;
                };
            };
            this._-02u.visible = (this._-0qE.guilds.length > 0);
        }
        private function _-8Y():void
        {
            var k:int;
            var k:int;
            var k:String;
            var k = (this._-0qE.userId == this._-Ry._-2hz);
            this._-0xv.caption = this._-0qE.userName;
            this._-0xv.findChildByName("motto_txt").caption = this._-0qE.motto;
            this._-0xv.findChildByName("created_txt").caption = this._-0qE._-xT;
            this._-0xv.findChildByName("achscore_txt").caption = ("" + this._-0qE._-4pE);
            this._-0xv.findChildByName("status_txt").visible = ((this._-0qE._-3EX) || (k));
            this._-0xv.findChildByName("friend_request_sent_txt").visible = this._-0qE._-0CB;
            this._-0xv.findChildByName("offline_icon").visible = !(this._-0qE._-0B8);
            this._-0xv.findChildByName("online_icon").visible = this._-0qE._-0B8;
            this._-0xv.findChildByName("stream_button").visible = this._-0qE._-3EX;
            this._-0xv.findChildByName("last_access_txt").visible = (this._-0qE._-2gV > -1);
            this._-0xv.findChildByName("last_access_txt").caption = _-28n._-kh(this._-Ry.localization, this._-0qE._-2gV, ".ago");
            this._-3ze();
            this._-588(IContainerButtonWindow(this._-0xv.findChildByName("previous_page_button")), this._-2pM(), this._-0Bg());
            this._-588(IContainerButtonWindow(this._-0xv.findChildByName("next_page_button")), this._-2yi(), this._-0Bg());
            this._-Ry.localization.registerParameter("group.list.groupcount", "count", ("" + this._-0qE.guilds.length));
            var k:String = this._-Ry.localization.getKey("group.list.groupcount");
            if (((this._-2yi()) || (this._-2pM())))
            {
                k = ((this._-48O * this._-3or()) + 1);
                k = Math.min(((this._-48O + 1) * this._-3or()), this._-0qE.guilds.length);
                k = ((k + " - ") + k);
                this._-Ry.localization.registerParameter("group.list.page", "span", k);
                k = ((k + " ") + this._-Ry.localization.getKey("group.list.page"));
            };
            this._-0xv.findChildByName("groups_caption").caption = k;
            this._-0xv.findChildByName("groups_caption").visible = (this._-0qE.guilds.length > 0);
            this._-0xv.findChildByName("no_groups_cont").visible = (this._-0qE.guilds.length < 1);
            this._-0xv.findChildByName("no_groups_caption").caption = this._-Ry.localization.getKey(((this._-Ry._-4sL) ? ((k) ? "extendedprofile.nogroups.me" : "extendedprofile.nogroups.user") : "extendedprofile.groupteaser"));
            this._-0xv.findChildByName("group_cont").visible = (this._-0qE.guilds.length > 0);
            this._-0xv.findChildByName("view_groups_button").visible = this._-Ry._-4sL;
            var k = (this._-0qE._-1Ot > -1);
            var k:Boolean = ((((this._-0qE._-3EX) && (k))) || (k));
            this._-0xv.findChildByName("addasfriend_button").visible = ((((((((!(this._-0qE._-3EX)) && (!(this._-0qE._-0CB)))) && (!(k)))) && (this._-Ry.friendlist._-4QN(this._-0qE.userId)))) && (k));
            this._-0xv.findChildByName("ok_icon").visible = k;
            this._-0xv.findChildByName("status_txt").visible = k;
            this._-0xv.findChildByName("friends_label_txt").visible = k;
            this._-0xv.findChildByName("friends_txt").visible = k;
            this._-0xv.findChildByName("friends_txt").caption = ("" + this._-0qE._-1Ot);
            this._-0xv.findChildByName("status_txt").caption = this._-Ry.localization.getKey(((this._-0qE._-3EX) ? "extendedprofile.friend" : "extendedprofile.me"));
            this._-0xv.findChildByName("ok_icon").x = (this._-0xv.findChildByName("status_txt").x - 20);
        }
        private function _-588(_arg1:IContainerButtonWindow, _arg2:Boolean, _arg3:Boolean):void
        {
            _arg1.visible = _arg3;
            if (_arg2)
            {
                _arg1.enable();
            }
            else
            {
                _arg1.disable();
            };
        }
        private function _-f1(_arg1:int, _arg2:_-2CF):void
        {
            var k:IWindowContainer = IWindowContainer(this._-02u.getChildByName(("" + _arg1)));
            if (k == null)
            {
                k = IWindowContainer(this._-Ry.getXmlWindow("group_entry"));
                k.name = ("" + _arg1);
                this._-02u.addChild(k);
                k.x = ((k.width + _-1ie) * _arg1);
                k.y = _-do;
                k.findChildByName("bg_region").procedure = this._-18N;
                this._-xy(k, "make_favourite", this._-4HJ, "make_favourite");
                this._-xy(k, "clear_favourite", this._-0Jl, "clear_favourite");
            };
            var k:IWindow = k.findChildByName("bg_region");
            var k:int = (((_arg2 == null)) ? 0 : _arg2.groupId);
            k.id = k;
            k.visible = !((_arg2 == null));
            var k:IWindow = k.findChildByName("make_favourite");
            var k:IWindow = k.findChildByName("clear_favourite");
            k.visible = ((((!((_arg2 == null))) && (!(_arg2.favourite)))) && ((this._-0qE.userId == this._-Ry._-2hz)));
            k.visible = ((((!((_arg2 == null))) && (_arg2.favourite))) && ((this._-0qE.userId == this._-Ry._-2hz)));
            k.id = k;
            k.id = k;
            var k:IWindow = k.findChildByName("bg_unselected_bitmap");
            var k:IWindow = k.findChildByName("bg_selected_bitmap");
            var k:_-3Yi = (k.findChildByName("group_pic_bitmap") as _-3Yi);
            k.visible = !((_arg2 == null));
            if (_arg2 != null)
            {
                _-aY(k.widget).badgeId = _arg2._-3T;
            };
            if (_arg2)
            {
                k.visible = !((_arg2.groupId == this._-4FH));
                k.visible = (_arg2.groupId == this._-4FH);
                k.visible = true;
            }
            else
            {
                k.visible = false;
                k.visible = true;
                k.visible = true;
            };
        }
        private function _-xy(_arg1:IWindowContainer, _arg2:String, _arg3:Function, _arg4:String):void
        {
            var k:IRegionWindow = IRegionWindow(_arg1.findChildByName(_arg2));
            k.procedure = _arg3;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(k.findChildByName("icon"));
            k.bitmap = this._-Ry._-1JQ(_arg4);
        }
        public function _-0kU(_arg1:_-2am):void
        {
            var k:IWindowContainer;
            if (this._-4FH == _arg1.groupId)
            {
                k = IWindowContainer(this._-0xv.findChildByName("group_cont"));
                this._-2dj._-0kU(k, _arg1);
            };
        }
        private function _-4Hc(_arg1:String, _arg2:Function):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            k.mouseThreshold = 0;
            k.procedure = _arg2;
        }
        private function _-2a1(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.friendlist._-7a(this._-0qE.userId, this._-0qE.userName);
            this._-0qE._-0CB = true;
            this.refresh();
        }
        private function _-0Tp(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.navigator._-jg(("owner:" + this._-0qE.userName));
        }
        private function _-0eW(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry._-4Gp._-41-(this._-0qE.userId, this._-0qE.userName);
        }
        private function _-14h(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.navigator.performGuildBaseSearch();
        }
        private function _-18N(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-4FH = _arg2.id;
            this._-Ry.send(new _-1Eb(this._-4FH, false));
            this._-Ry.send(new _-2ka(_-0e3._-uO, ("" + _arg2.id), "select"));
            this._-52L();
        }
        private function _-4HJ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.send(new _-4zs(_arg2.id));
            this._-Ry.send(new _-2ka(_-0e3._-uO, ("" + _arg2.parent.id), "make favourite"));
            this._-4FH = _arg2.id;
        }
        private function _-0Jl(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.send(new _-4mH(_arg2.id));
            this._-Ry.send(new _-2ka(_-0e3._-uO, ("" + _arg2.parent.id), "clear favourite"));
            this._-4FH = _arg2.id;
        }
        private function _-0EM(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-48O = this._-2Dw((this._-48O + 1));
            this.refresh();
        }
        private function _-KA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-48O = this._-2Dw((this._-48O - 1));
            this.refresh();
        }
        private function _-2pM():Boolean
        {
            return (!((this._-48O == this._-2Dw((this._-48O - 1)))));
        }
        private function _-2yi():Boolean
        {
            return (!((this._-48O == this._-2Dw((this._-48O + 1)))));
        }
        private function _-2Dw(_arg1:int):int
        {
            var k:int = this._-3or();
            var k:int = Math.ceil((this._-0qE.guilds.length / k));
            return (Math.max(0, Math.min(_arg1, (k - 1))));
        }
        private function _-0Bg():Boolean
        {
            return ((this._-0qE.guilds.length > _-3ak));
        }
        private function _-3or():int
        {
            return (((this._-0Bg()) ? (_-3ak - 1) : _-3ak));
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.close();
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
            };
        }
        private function _-3ze(_arg1:Boolean=false):void
        {
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0xv.findChildByName("avatar_image"));
            if (((!(_arg1)) && ((k.tags[0] == this._-0qE.figure))))
            {
                return;
            };
            _-Nb.log(("Refreshing avatar image: " + this._-0qE.figure));
            k.tags[0] = this._-0qE.figure;
            if (!k.bitmap)
            {
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
            }
            else
            {
                k.bitmap.fillRect(k.bitmap.rect, 0);
            };
            var k:BitmapData = k.bitmap;
            var k:BitmapData = this._-54S(this._-0qE.figure);
            k.copyPixels(k, k.rect, new Point(((k.width - k.width) / 2), (k.height - k.height)), null, null, true);
            k.invalidate();
        }
        private function _-54S(_arg1:String):BitmapData
        {
            var k:_-40f = this._-Ry._-5-f.createAvatarImage(this._-0qE.figure, _-1uH._-JU, null, this);
            if (!k)
            {
                return (null);
            };
            var k:BitmapData = k._-2Xc(_-24J._-2YU, true);
            k.dispose();
            return (k);
        }
        public function _-0-V(_arg1:String):void
        {
            if (((((((!((this._-0xv == null))) && (this._-0xv.visible))) && (!((this._-0qE == null))))) && ((this._-0qE.figure == _arg1))))
            {
                this._-3ze(true);
            };
        }
        public function _-0-I(_arg1:int):void
        {
            if (((((((!((this._-0xv == null))) && (this._-0xv.visible))) && (!((this._-0qE == null))))) && (!((this._-0qE.userId == _arg1)))))
            {
                this._-Ry.send(new _-RA(_arg1));
            };
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y.GuildManagementWindowCtrl

package _-19Y
{
    import _-Ew.IWindowContainer;
    import _-4kp.BadgeEditorCtrl;
    import _-2It._-qC;
    import _-1ae.IFrameWindow;
    import _-0Ie.WindowEvent;
    import _-2It._-3Es;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-2It._-2eo;
    import _-1ae.ITextWindow;
    import _-2It._-0SN;
    import _-1ae.ITabContextWindow;
    import _-1ae.ISelectableWindow;
    import _-2It._-2DY;
    import _-0Ie.WindowMouseEvent;
    import _-0Pi._-vl;
    import _-3Bn._-1Ii;
    import _-1ae.ITextFieldWindow;
    import _-0Pi._-1Yc;
    import _-0nV._-2H6;
    import _-0Pi.UpdateGuildBadgeMessageComposer;
    import _-0Pi._-Qc;
    import _-0Pi._-09c;
    import _-0Pi.CreateGuildMessageComposer;
    import _-1ae.IDropMenuWindow;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-1B-.*;

    public class GuildManagementWindowCtrl implements _-1zZ 
    {

        private static const _-3ez:int = 1;
        private static const _-0vQ:int = 2;
        private static const _-432:int = 3;
        private static const _-4-7:int = 4;
        private static const _-vz:int = 5;
        private static const _-35g:int = 43;
        private static const _-0CA:int = 69;
        private static const _-1Gt:int = -20;
        private static const _-Of:int = 36;
        private static const _-B4:int = 5;
        private static const _-Wl:int = 9;
        private static const _-01k:int = 6;
        private static const _-2xF:int = 10;
        private static const _-2JT:int = 0xFF;
        private static const _-DT:int = 30;

        private var _-Ry:_-0e3;
        private var _-0xv:IWindowContainer;
        private var _-qI:BadgeEditorCtrl;
        private var _-3qB:ColorGridCtrl;
        private var _-1HA:ColorGridCtrl;
        private var continue:_-z7;
        private var _-3iv:Boolean = false;
        private var _-0WR:int = 0;
        private var _-0qE:_-qC;
        private var _-0im:int = 1;

        public function GuildManagementWindowCtrl(_arg1:_-0e3)
        {
            this._-Ry = _arg1;
            this._-qI = new BadgeEditorCtrl(this._-Ry);
            this._-3qB = new ColorGridCtrl(this._-Ry, this._-0kf);
            this._-1HA = new ColorGridCtrl(this._-Ry, this._-2BR);
            this.continue = new _-z7(this._-Ry);
        }
        public function dispose():void
        {
            this._-Ry = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-qI)
            {
                this._-qI.dispose();
                this._-qI = null;
            };
            if (this._-3qB)
            {
                this._-3qB.dispose();
                this._-3qB = null;
            };
            if (this._-1HA)
            {
                this._-1HA.dispose();
                this._-1HA = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        private function prepare():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-Ry.getXmlWindow("group_management_window"));
            this._-0xv.findChildByTag("close").procedure = this._-3mF;
            this._-0xv.center();
            this._-0xv.findChildByName("create_room_link_region").procedure = this._-24V;
            this._-0xv.findChildByName("cancel_link_region").procedure = this._-1wM;
            this._-0xv.findChildByName("next_step_button").procedure = this._-0aV;
            this._-0xv.findChildByName("previous_step_link_region").procedure = this._-0L8;
            this._-0xv.findChildByName("buy_button").procedure = this._-31B;
            this._-0xv.findChildByName("vip_required_region").procedure = this._-4aX;
            this._-0xv.addEventListener(WindowEvent._-zQ, this._-4Mz);
            this._-0xv.findChildByName("edit_tab_1").procedure = this._-0EZ;
            this._-0xv.findChildByName("edit_tab_2").procedure = this._-0EZ;
            this._-0xv.findChildByName("edit_tab_3").procedure = this._-0EZ;
            this._-0xv.findChildByName("edit_tab_5").procedure = this._-0EZ;
            this._-0xv.findChildByName("reset_badge").procedure = this._-ph;
            this._-0xv.findChildByName("reset_colors").procedure = this._-MU;
            this._-0xv.findChildByName("step_1_members_region").procedure = this._-3Pg;
            this.continue.prepare(this._-0xv);
        }
        public function _-4IK(_arg1:int, _arg2:String):void
        {
            if (((((((!((this._-0xv == null))) && (this._-0xv.visible))) && (!((this._-0qE == null))))) && (!(this._-0qE._-2pO))))
            {
                this._-0qE._-4Hy.splice(0, 0, new _-3Es(_arg1, _arg2, false));
                this._-1Rg();
                this._-0jz().selection = 0;
            };
        }
        public function _-Pe():void
        {
            if (((((((((!((this._-0xv == null))) && (this._-0xv.visible))) && (!((this._-0qE == null))))) && (!(this._-0qE._-2pO)))) && ((this._-0im == _-4-7))))
            {
                this.refresh();
            };
        }
        public function refresh():void
        {
            var k:IWindow;
            this.prepare();
            var k:Boolean = ((!(this._-0qE._-2pO)) || (this._-0qE._-M2));
            this._-0xv.findChildByName("edit_tab_1").visible = k;
            this._-0xv.findChildByName("edit_tab_2").visible = k;
            this._-0xv.findChildByName("edit_tab_3").visible = k;
            this._-0xv.findChildByName("edit_tab_5").visible = k;
            var k:int = 1;
            while (k <= _-vz)
            {
                this._-3-2(k).visible = (this._-0im == k);
                k = this._-0xv.findChildByName(("header_pic_bitmap_step_" + k));
                k.y = ((this._-0qE._-2pO) ? 0 : _-Of);
                k.visible = (this._-0im == k);
                k++;
            };
            this._-0xv.findChildByName("header_caption_txt").caption = this._-52o();
            this._-0xv.findChildByName("header_desc_txt").caption = this._-4IE();
            this._-0xv.findChildByName("header_pic_bitmap");
            this._-0xv.findChildByName("header_caption_txt").y = (_-35g + this._-4MF());
            this._-0xv.findChildByName("header_desc_txt").y = (_-0CA + this._-4MF());
            this._-0xv.findChildByName("edit_guild_tab_context").visible = this._-0qE._-2pO;
            this._-0xv.findChildByName("footer_cont").visible = !(this._-0qE._-2pO);
            this._-0xv.findChildByName("reset_badge").visible = false;
            this._-0xv.findChildByName("reset_colors").visible = false;
            if (this._-0im == _-0vQ)
            {
                if (!this._-0qE._-2pO)
                {
                    this._-Ry.trackGoogle("groupPurchase", "step2_badge");
                };
                if (!this._-qI._-30q)
                {
                    this._-qI.createWindow(this._-3-2(_-0vQ), this._-0qE._-41R);
                    this._-qI._-01q(this._-0qE._-41R);
                };
                this._-0xv.findChildByName("reset_badge").visible = this._-0qE._-2pO;
            };
            if (this._-0im == _-432)
            {
                if (!this._-0qE._-2pO)
                {
                    this._-Ry.trackGoogle("groupPurchase", "step3_colors");
                };
                if (!this._-3qB._-25k)
                {
                    this._-3qB._-4Y-(this._-3-2(_-432), "guild_primary_color_selector", this._-Ry._-ln._-31-);
                    if (this._-0qE._-2pO)
                    {
                        this._-3qB._-2d1(this._-0qE._-2Lx);
                    }
                    else
                    {
                        this._-3qB._-2d1(this._-Ry._-ln._-25-(this._-qI._-ns));
                    };
                };
                if (!this._-1HA._-25k)
                {
                    this._-1HA._-4Y-(this._-3-2(_-432), "guild_secondary_color_selector", this._-Ry._-ln._-4hN);
                    if (this._-0qE._-2pO)
                    {
                        this._-1HA._-2d1(this._-0qE._-0ub);
                    }
                    else
                    {
                        this._-1HA._-2d1(this._-Ry._-ln._-2X3(this._-qI._-0Qn));
                    };
                };
                this._-0xv.findChildByName("reset_colors").visible = this._-0qE._-2pO;
            };
            if (this._-0im == _-vz)
            {
                if (!this.continue._-25k)
                {
                    this.continue.refresh(this._-0qE);
                };
            };
            if (this._-0im == _-4-7)
            {
                if (!this._-0qE._-2pO)
                {
                    this._-Ry.trackGoogle("groupPurchase", "step4_confirm");
                };
                this._-5v();
            };
            if (this._-0im == _-3ez)
            {
                if (!this._-0qE._-2pO)
                {
                    this._-Ry.trackGoogle("groupPurchase", "step1_identity");
                }
                else
                {
                    this._-Ry.windowManager.registerLocalizationParameter("group.membercount", "totalMembers", ("" + this._-0qE._-3BT));
                    this._-0xv.findChildByName("step_1_members_txt").caption = this._-Ry.localization.getKey("group.membercount");
                };
                this._-0xv.findChildByName("base_label").visible = !(this._-0qE._-2pO);
                this._-0xv.findChildByName("base_dropmenu").visible = !(this._-0qE._-2pO);
                this._-0xv.findChildByName("base_warning").visible = !(this._-0qE._-2pO);
                this._-0xv.findChildByName("create_room_link_region").visible = !(this._-0qE._-2pO);
                this._-0xv.findChildByName("step_1_members_region").visible = this.data._-2pO;
            };
            this._-ix();
        }
        private function _-5v():void
        {
            var k:BitmapData;
            var k:IBitmapWrapperWindow;
            var k:_-2eo;
            var k:IWindow;
            var k:_-2eo;
            var k:IWindow;
            if ((((this._-Ry._-ln == null)) || ((this._-0xv == null))))
            {
                return;
            };
            if (this._-qI._-30q)
            {
                k = this._-qI._-3hX();
                k = (this._-0xv.findChildByName("badge_preview_image") as IBitmapWrapperWindow);
                if (((!((k == null))) && (!((k == null)))))
                {
                    k.bitmap = k;
                };
            };
            if (this._-3qB._-25k)
            {
                k = this._-3qB._-43Y();
                k = this._-0xv.findChildByName("badge_preview_primary_color_top");
                if (((!((k == null))) && (!((k == null)))))
                {
                    k.color = k.color;
                };
            };
            if (this._-1HA._-25k)
            {
                k = this._-1HA._-43Y();
                k = this._-0xv.findChildByName("badge_preview_secondary_color_top");
                if (((!((k == null))) && (!((k == null)))))
                {
                    k.color = k.color;
                };
            };
            if (this._-Ry._-0n9)
            {
                this._-0xv.findChildByName("buy_button").enable();
                this._-0xv.findChildByName("buy_border").color = 0xFFC300;
            }
            else
            {
                this._-0xv.findChildByName("buy_border").color = 0xAAAAAA;
                this._-0xv.findChildByName("buy_button").disable();
            };
            this._-0xv.findChildByName("vip_required_border").visible = !(this._-Ry._-0n9);
            this._-0xv.findChildByName("confirmation_caption").caption = ITextWindow(this._-0xv.findChildByName("name_txt")).text;
        }
        private function _-4MF():int
        {
            return (((this._-0qE._-2pO) ? _-1Gt : 0));
        }
        private function _-ix():void
        {
            this._-0xv.findChildByName("steps_header_cont").visible = !(this._-0qE._-2pO);
            if (this._-0qE._-2pO)
            {
                return;
            };
            this._-0xv.findChildByName("next_step_button").visible = this._-uQ();
            this._-0xv.findChildByName("previous_step_link_region").visible = this._-4q();
            this._-0xv.findChildByName("cancel_link_region").visible = !(this._-4q());
            this._-0xv.findChildByName("buy_border").visible = !(this._-uQ());
            var k:int = 1;
            while (k <= _-4-7)
            {
                this._-0dI(k, false).visible = !((k == this._-0im));
                this._-0dI(k, true).visible = (k == this._-0im);
                this._-0xv.findChildByName(("step_title_" + k)).y = (((k == this._-0im)) ? _-B4 : _-Wl);
                k++;
            };
            this._-0xv.findChildByName("gcreate_icon_credit").y = (((this._-0im == _-4-7)) ? _-01k : _-2xF);
        }
        private function _-0dI(_arg1:int, _arg2:Boolean):IWindow
        {
            return (this._-0xv.findChildByName(((("gcreate_" + _arg1) + "_") + ((_arg2) ? "1" : "0"))));
        }
        private function _-3-2(_arg1:int):IWindowContainer
        {
            return (IWindowContainer(this._-0xv.findChildByName(("step_cont_" + _arg1))));
        }
        private function _-52o():String
        {
            var k:String = (((this._-0qE._-2pO) ? "group.edit.tabcaption." : "group.create.stepcaption.") + this._-0im);
            return (this._-Ry.localization.getKey(k, k));
        }
        private function _-4IE():String
        {
            var k:String = (((this._-0qE._-2pO) ? "group.edit.tabdesc." : "group.create.stepdesc.") + this._-0im);
            return (this._-Ry.localization.getKey(k, k));
        }
        public function _-0FA(_arg1:_-0SN):void
        {
            this._-0qE = _arg1;
            this._-0im = _-3ez;
            this._-0WR = 0;
            this.refresh();
            this._-1E9();
            this._-0D2();
            this._-Ry.localization.registerParameter("group.create.confirm.buyinfo", "amount", ("" + _arg1._-3J-));
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        public function _-1bF(_arg1:_-2DY):void
        {
            this._-0qE = _arg1;
            this._-0im = _-3ez;
            this._-0WR = 0;
            this.refresh();
            this._-1E9();
            this._-0D2();
            var k:ITabContextWindow = ITabContextWindow(this._-0xv.findChildByName("edit_guild_tab_context"));
            var k:ISelectableWindow = ISelectableWindow(this._-0xv.findChildByName(("edit_tab_" + this._-0im)));
            k.selector.setSelected(k);
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        private function _-0D2():void
        {
            ITextWindow(this._-0xv.findChildByName("name_txt")).text = this._-0qE.groupName;
            ITextWindow(this._-0xv.findChildByName("desc_txt")).text = this._-0qE._-3wd;
            this._-1Rg();
            this._-qI._-01q(this._-0qE._-41R);
            this._-3qB._-2d1(this._-0qE._-2Lx);
            this._-1HA._-2d1(this._-0qE._-0ub);
            this.continue.refresh(this._-0qE);
        }
        private function _-0EZ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!((_arg1.type == WindowEvent._-0P3))) || ((_arg2.id == this._-0im))))
            {
                return;
            };
            if (!this._-3KF())
            {
                _arg1.preventDefault();
                return;
            };
            this._-4H9();
            this._-0im = _arg2.id;
            this.refresh();
        }
        private function _-MU(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (this._-3qB._-25k)
                {
                    this._-3qB._-2d1(this._-0qE._-2Lx);
                };
                if (this._-1HA._-25k)
                {
                    this._-1HA._-2d1(this._-0qE._-0ub);
                };
            };
        }
        private function _-ph(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((_arg1.type == WindowMouseEvent._-90)) && (this._-qI._-30q)))
            {
                this._-qI._-01q(this._-0qE._-41R);
            };
        }
        private function _-3Pg(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((((_arg1.type == WindowMouseEvent._-90)) && (this._-0qE._-2pO))) && (!((this._-Ry._-2jW == null)))))
            {
                this._-Ry.trackGoogle("groupManagement", "groupMembers");
                this._-Ry._-2jW._-3Pg(this._-0qE.groupId, _-vl._-0sT);
            };
        }
        private function _-1wM(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.close();
        }
        private function _-24V(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.navigator._-34x();
        }
        private function _-0aV(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (!this._-3KF())
            {
                return;
            };
            this._-0im = this._-0Ej((this._-0im + 1));
            this.refresh();
        }
        private function _-0L8(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (!this._-3KF())
            {
                return;
            };
            this._-0im = this._-0Ej((this._-0im - 1));
            this.refresh();
        }
        private function _-31B(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (!this._-0qE._-2pO)
            {
                this._-Ry.trackGoogle("groupPurchase", "buyGroup");
            };
            this._-0kB();
        }
        private function _-4aX(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (!this._-0qE._-2pO)
            {
                this._-Ry.trackGoogle("groupPurchase", "buyVip");
            };
            this._-Ry._-4uS("GuildManagementWindowCtrl");
        }
        private function _-1GS(_arg1:String, _arg2:String):void
        {
            if (!this._-3iv)
            {
                this._-3iv = true;
                this._-Ry.windowManager.alert(_arg1, _arg2, 0, this._-498);
            };
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
            this._-3iv = false;
        }
        private function _-3KF():Boolean
        {
            var _local1:String;
            var _local2:String;
            var _local3:Array;
            var k:_-3Es;
            switch (this._-0im)
            {
                case _-3ez:
                    _local1 = ITextFieldWindow(this._-0xv.findChildByName("name_txt")).text;
                    if (!this._-0qE._-2pO)
                    {
                        k = this._-3rZ();
                        if ((((((((_local1 == null)) || ((_local1.length == 0)))) || ((k == null)))) || ((k.roomId == 0))))
                        {
                            this._-1GS("${group.edit.error.title}", "${group.edit.error.no.name.or.room.selected}");
                            return (false);
                        };
                        if (((k._-2-i) && (!((this._-0WR == k.roomId)))))
                        {
                            this._-0WR = k.roomId;
                            this._-1GS("${group.edit.error.warning}", "${group.edit.error.controllers}");
                            return (false);
                        };
                    };
                    if (_local1.length >= _-DT)
                    {
                        this._-1GS("${group.edit.error.title}", "${group.edit.error.name.length}");
                        return (false);
                    };
                    _local2 = ITextFieldWindow(this._-0xv.findChildByName("desc_txt")).text;
                    if (((!((_local2 == null))) && ((_local2.length >= _-2JT))))
                    {
                        this._-1GS("${group.edit.error.title}", "${group.edit.error.desc.length}");
                        return (false);
                    };
                    return (true);
                case _-0vQ:
                    _local3 = ((this._-qI._-30q) ? this._-qI._-23Z() : this._-0qE._-41R);
                    this._-qI._-4PV();
                    return (true);
                case _-432:
                    if ((((this._-3qB._-43Y() == null)) || ((this._-1HA._-43Y() == null))))
                    {
                        this._-1GS("${group.edit.error.title}", "${group.edit.error.no.color.selected}");
                        return (false);
                    };
                    return (true);
                default:
                    return (true);
            };
        }
        private function _-4H9():void
        {
            var _local1:String;
            var _local2:String;
            var _local3:Array;
            var _local4:int;
            var _local5:int;
            switch (this._-0im)
            {
                case _-3ez:
                    _local1 = ITextFieldWindow(this._-0xv.findChildByName("name_txt")).text;
                    _local2 = ITextFieldWindow(this._-0xv.findChildByName("desc_txt")).text;
                    this._-Ry.send(new _-1Yc(this._-0qE.groupId, _local1, _local2));
                    this._-Ry.events.dispatchEvent(new _-2H6(_-2H6._-0n2, this._-0qE.groupId));
                    return;
                case _-0vQ:
                    _local3 = ((this._-qI._-30q) ? this._-qI._-23Z() : this._-0qE._-41R);
                    this._-Ry.send(new UpdateGuildBadgeMessageComposer(this._-0qE.groupId, _local3));
                    this._-Ry.events.dispatchEvent(new _-2H6(_-2H6._-0n2, this._-0qE.groupId));
                    return;
                case _-432:
                    _local4 = ((this._-3qB._-25k) ? this._-3qB._-2lv() : this._-0qE._-2Lx);
                    _local5 = ((this._-1HA._-25k) ? this._-1HA._-2lv() : this._-0qE._-0ub);
                    this._-Ry.send(new _-Qc(this._-0qE.groupId, _local4, _local5));
                    this._-Ry.events.dispatchEvent(new _-2H6(_-2H6._-0n2, this._-0qE.groupId));
                    return;
                case _-vz:
                    this._-Ry.send(new _-09c(this._-0qE.groupId, this.continue._-19r, this.continue._-14Z));
                    this.continue._-2NW();
                    return;
            };
        }
        private function _-0kB():void
        {
            var k:String = ITextFieldWindow(this._-0xv.findChildByName("name_txt")).text;
            var k:String = ITextFieldWindow(this._-0xv.findChildByName("desc_txt")).text;
            var k:_-3Es = this._-3rZ();
            var k:Array = ((this._-qI._-30q) ? this._-qI._-23Z() : this._-0qE._-41R);
            var k:int = ((this._-3qB._-25k) ? this._-3qB._-2lv() : this._-0qE._-2Lx);
            var k:int = ((this._-1HA._-25k) ? this._-1HA._-2lv() : this._-0qE._-0ub);
            this._-0WR = 0;
            this._-Ry.send(new CreateGuildMessageComposer(k, k, k.roomId, k, k, k));
        }
        private function _-4q():Boolean
        {
            return (!((this._-0im == this._-0Ej((this._-0im - 1)))));
        }
        private function _-uQ():Boolean
        {
            return (!((this._-0im == this._-0Ej((this._-0im + 1)))));
        }
        private function _-0Ej(_arg1:int):int
        {
            return (Math.max(1, Math.min(_arg1, _-4-7)));
        }
        private function _-0jz():IDropMenuWindow
        {
            return (IDropMenuWindow(this._-0xv.findChildByName("base_dropmenu")));
        }
        private function _-1Rg():void
        {
            var k:_-3Es;
            var k:IDropMenuWindow = this._-0jz();
            var k:Array = new Array();
            var k:int;
            k.push(this._-Ry.localization.getKey("group.edit.base.select.room", "group.edit.base.select.room"));
            var k:int;
            while (k < this._-0qE._-4Hy.length)
            {
                k = this._-0qE._-4Hy[k];
                k.push(k.roomName);
                if (k.roomId == this._-0qE._-1me)
                {
                    k = (k + 1);
                };
                k++;
            };
            k.populate(k);
            if (k.length > 0)
            {
                k.selection = k;
            };
        }
        private function _-3rZ():_-3Es
        {
            var k:IDropMenuWindow = IDropMenuWindow(this._-0xv.findChildByName("base_dropmenu"));
            var k:int = (k.selection - 1);
            if ((((((k >= 0)) && ((k < this._-0qE._-4Hy.length)))) && (!((this._-0qE._-4Hy[k] == null)))))
            {
                return (_-3Es(this._-0qE._-4Hy[k]));
            };
            return (null);
        }
        private function _-3mF(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (this._-0qE._-2pO)
            {
                if (!this._-3KF())
                {
                    return;
                };
                this._-4H9();
            };
            this.close();
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
            };
        }
        public function _-0kf(_arg1:ColorGridCtrl):void
        {
            var k:_-2eo;
            var k:IWindow = this._-0xv.findChildByName("guild_color_primary_color_top");
            if (((((((!((k == null))) && (!((this._-Ry._-ln == null))))) && ((_arg1._-4l >= 0)))) && ((_arg1._-4l <= this._-Ry._-ln._-31-.length))))
            {
                k = this._-Ry._-ln._-31-[_arg1._-4l];
                k.color = k.color;
            };
        }
        public function _-2BR(_arg1:ColorGridCtrl):void
        {
            var k:_-2eo;
            var k:IWindow = this._-0xv.findChildByName("guild_color_secondary_color_top");
            if (((((!((this._-Ry._-ln == null))) && ((_arg1._-4l >= 0)))) && ((_arg1._-4l <= this._-Ry._-ln._-4hN.length))))
            {
                k = this._-Ry._-ln._-4hN[_arg1._-4l];
                k.color = k.color;
            };
        }
        public function get data():_-qC
        {
            return (this._-0qE);
        }
        private function _-1E9():void
        {
            var k:IWindow = this._-0xv.findChildByName("step_1_badge");
            var k:_-aY = (_-3Yi(this._-0xv.findChildByName("group_logo")).widget as _-aY);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            if (!this._-0qE._-2pO)
            {
                k.visible = false;
                k.invalidate();
            }
            else
            {
                k.badgeId = this._-0qE._-3T;
                k.groupId = this._-0qE.groupId;
                k.visible = true;
                k.invalidate();
            };
        }
        private function _-4Mz(_arg1:WindowEvent):void
        {
            if (((((((!((this._-0qE == null))) && (this._-0qE._-2pO))) && (!((this._-0xv == null))))) && (this._-0xv.visible)))
            {
                this._-4H9();
            };
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y.GuildMembersWindowCtrl

package _-19Y
{
    import flash.geom.Point;
    import _-1ae.IFrameWindow;
    import flash.utils.Timer;
    import _-2It.GuildMemberData;
    import _-2ly._-TB;
    import _-2ly.LoadingIcon;
    import flash.events.TimerEvent;
    import _-1ae.IIconWindow;
    import _-2It._-ue;
    import _-4Aj._-0tL;
    import _-2It._-4zc;
    import _-2It._-Ou;
    import _-2It._-1Gg;
    import _-2It._-3TD;
    import _-ta._-3e2;
    import _-0Pi._-vl;
    import _-Ew.IWindowContainer;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-2It._-2SQ;
    import _-1ae.IRegionWindow;
    import _-1ae.ITextWindow;
    import _-0Ix._-3La;
    import _-0Pi._-4Kl;
    import _-0Pi._-0JR;
    import _-0Pi._-0MT;
    import _-0Pi._-0rJ;
    import _-0Pi._-RA;
    import _-0Pi._-je;
    import _-1ae.IDropMenuWindow;
    import flash.events.Event;
    import _-1B-.*;

    public class GuildMembersWindowCtrl implements _-1zZ 
    {

        private static const _-3Rv:Point = new Point(5, 5);

        private var _-Ry:_-0e3;
        private var _-0xv:IFrameWindow;
        private var _-5CV:int;
        private var _-Dg:Timer;
        private var _-0qE:GuildMemberData;
        private var _-Yy:_-TB;
        private var _-3E9:LoadingIcon;

        public function GuildMembersWindowCtrl(_arg1:_-0e3)
        {
            this._-Dg = new Timer(1000, 1);
            super();
            this._-Ry = _arg1;
            this._-Dg.addEventListener(TimerEvent.TIMER, this._-gK);
            this._-3E9 = new LoadingIcon();
        }
        public function dispose():void
        {
            this._-Ry = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-Yy != null)
            {
                this._-Yy.dispose();
                this._-Yy = null;
            };
            if (this._-Dg)
            {
                this._-Dg.removeEventListener(TimerEvent.TIMER, this._-gK);
                this._-Dg.stop();
                this._-Dg = null;
            };
            if (this._-3E9)
            {
                this._-3E9.dispose();
                this._-3E9 = null;
            };
        }
        private function _-3Ey(_arg1:Boolean):void
        {
            if (this._-0xv)
            {
                this._-3E9._-4RP(IIconWindow(this._-0xv.findChildByName("searching_icon")), _arg1);
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        public function _-597(_arg1:_-0tL):void
        {
            this._-0qE = _-ue(_arg1).data;
            this.show();
            this._-1YS();
            this._-0jx();
        }
        public function _-04d(_arg1:_-0tL):void
        {
            var k:_-4zc = _-4zc(_arg1);
            if (((!((this._-0qE == null))) && ((this._-0qE.groupId == k._-2Jo))))
            {
                this._-0qE.update(k.data);
                this._-8C();
            };
        }
        public function _-bw(_arg1:_-0tL):void
        {
            var k:_-Ou = _-Ou(_arg1);
            var k:int = k.reason;
            var k:String = ("group.membermgmt.fail." + k);
            var k:String = this._-Ry.localization.getKey(k, k);
            this._-Ry.windowManager.alert("${group.membermgmt.fail.title}", k, 0, null);
            if (((((((!((this._-0qE == null))) && ((this._-0qE.groupId == k._-2Jo)))) && (!((this._-0xv == null))))) && (this._-0xv.visible)))
            {
                this._-2p4(this._-0qE._-0WS);
            };
        }
        public function _-03B(_arg1:_-0tL):void
        {
            var k:_-1Gg = _-1Gg(_arg1);
            if (((((((this._-0xv) && (this._-0xv.visible))) && (!((this._-0qE == null))))) && ((this._-0qE.groupId == k._-3-5()._-2Jo))))
            {
                this._-2p4(this._-0qE._-0WS);
            };
        }
        public function _-1WZ(_arg1:_-0tL):void
        {
            var k:_-3e2 = _-3TD(_arg1)._-3-5();
            if (((((((this._-0xv) && (this._-0xv.visible))) && (!((this._-0qE == null))))) && ((this._-0qE.groupId == k.groupId))))
            {
                this._-2p4(this._-0qE._-0WS);
            };
        }
        public function _-3Pg(_arg1:int, _arg2:int):void
        {
            if (this._-Ry.configuration.getKey("groupMembers.enabled", "true") != "true")
            {
                return;
            };
            if (((((!((this._-0xv == null))) && (this._-0xv.visible))) && ((this._-5CV == _arg1))))
            {
                this.close();
            }
            else
            {
                if (this._-Yy)
                {
                    this._-Yy._-0Yh();
                };
                this._-5CV = _arg1;
                this._-Ry.send(new _-vl(_arg1, 0, "", _arg2));
            };
        }
        public function show():void
        {
            this._-eN();
            this.refresh();
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        public function _-8C():void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this.refresh();
            };
        }
        private function refresh():void
        {
            this._-Ry.localization.registerParameter("group.members.title", "groupName", this._-0qE.groupName);
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName("members_cont"));
            var k:Array = this._-0qE.entries;
            var k:int;
            while (k < this._-0qE._-2-c)
            {
                this._-wY(k, k, k[k]);
                k++;
            };
            var k:_-aY = (_-3Yi(this._-0xv.findChildByName("group_logo")).widget as _-aY);
            k.badgeId = this._-0qE._-3T;
            k.groupId = this._-0qE.groupId;
            this._-Ry.localization.registerParameter("group.members.pageinfo", "amount", ("" + this._-0qE._-59-));
            this._-Ry.localization.registerParameter("group.members.pageinfo", "page", ("" + (this._-0qE._-0WS + 1)));
            this._-Ry.localization.registerParameter("group.members.pageinfo", "totalPages", ("" + this._-0qE.totalPages));
            this._-0xv.findChildByName("previous_page_button").visible = this._-2pM();
            this._-0xv.findChildByName("next_page_button").visible = this._-2yi();
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-Ry.getXmlWindow("guild_members_window"));
            this._-0xv.findChildByTag("close").procedure = this._-4F9;
            this._-0xv.findChildByName("previous_page_button").procedure = this._-KA;
            this._-0xv.findChildByName("next_page_button").procedure = this._-0EM;
            this._-Yy = new _-TB(ITextFieldWindow(this._-0xv.findChildByName("filter_members_input")), this._-Ry.localization.getKey("group.members.searchinfo"));
            this._-0xv.center();
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.close();
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                this._-5CV = 0;
                this._-0xv.visible = false;
            };
        }
        private function _-wY(_arg1:IWindowContainer, _arg2:int, _arg3:_-2SQ):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.getChildAt(_arg2));
            if (k == null)
            {
                if (_arg3 == null)
                {
                    return;
                };
                k = this.getListEntry();
                k.tags[0] = ("" + _arg2);
                _arg1.addChild(k);
                k.x = ((((_arg2 % 2) == 0)) ? 0 : (k.width + _-3Rv.x));
                k.y = (Math.floor((_arg2 / 2)) * (k.height + _-3Rv.y));
            };
            if (_arg3 != null)
            {
                this._-1Ee(k, _arg3);
                k.visible = true;
            }
            else
            {
                k.visible = false;
            };
        }
        public function _-1Ee(_arg1:IWindowContainer, _arg2:_-2SQ):void
        {
            var k:Boolean;
            _arg1.findChildByName("user_name_txt").caption = _arg2.userName;
            _arg1.findChildByName("icon_owner").visible = _arg2.owner;
            this._-1qV(_arg2.member, _arg2._-xc, _arg1);
            var k:IWindow = _arg1.findChildByName("admin_container");
            k.visible = ((!(k)) && (((_arg2._-xc) || (this._-0qE._-LR))));
            var k:IRegionWindow = IRegionWindow(_arg1.findChildByName("bg_region"));
            k.id = _arg2.userId;
            this._-0YV(false, _arg1);
            this._-1MH(false, _arg1);
            k = (_arg2.userId == this._-Ry._-2hz);
            var k:IRegionWindow = IRegionWindow(_arg1.findChildByName("remove_region"));
            k._-2QR = this._-Ry.localization.getKey(((_arg2.member) ? "group.members.kick" : "group.members.reject"));
            k.visible = ((((!(_arg2.owner)) && (!(k)))) && (this._-0qE._-LR));
            k.id = _arg2.userId;
            var k:Boolean = ((!(k)) && (this._-0qE._-LR));
            var k:IRegionWindow = IRegionWindow(_arg1.findChildByName("action_link_region"));
            k.visible = k;
            k.id = _arg2.userId;
            var k:ITextWindow = ITextWindow(_arg1.findChildByName("member_since_txt"));
            k.visible = ((!(k)) && (!((_arg2._-4Az == ""))));
            this._-Ry.localization.registerParameter("group.members.since", "date", _arg2._-4Az);
            k.caption = this._-Ry.localization.getKey("group.members.since");
            _-3La(_-3Yi(_arg1.findChildByName("avatar_image")).widget).figure = _arg2.figure;
            if (_arg2.owner)
            {
                this._-0Oq(_arg1, "group.members.owner", false);
            }
            else
            {
                if (_arg2._-xc)
                {
                    this._-0Oq(_arg1, "group.members.removerights", true);
                }
                else
                {
                    if (_arg2.member)
                    {
                        this._-0Oq(_arg1, "group.members.giverights", true);
                    }
                    else
                    {
                        this._-0Oq(_arg1, "group.members.accept", true);
                    };
                };
            };
        }
        public function getListEntry():IWindowContainer
        {
            var k:IWindowContainer = IWindowContainer(this._-Ry.getXmlWindow("member_entry"));
            var k:IRegionWindow = IRegionWindow(k.findChildByName("bg_region"));
            k.procedure = this._-4sn;
            var k:IRegionWindow = IRegionWindow(k.findChildByName("remove_region"));
            k.addEventListener(WindowMouseEvent._-4ea, this._-l2);
            k.addEventListener(WindowMouseEvent._-4e2, this._-UI);
            k.addEventListener(WindowMouseEvent._-90, this._-2XM);
            var k:IRegionWindow = IRegionWindow(k.findChildByName("action_link_region"));
            k.addEventListener(WindowMouseEvent._-4ea, this._-3hZ);
            k.addEventListener(WindowMouseEvent._-4e2, this._-1Xc);
            k.addEventListener(WindowMouseEvent._-90, this._-4ts);
            return (k);
        }
        private function _-l2(_arg1:WindowEvent):void
        {
            var k:IRegionWindow = IRegionWindow(_arg1.target);
            this._-0YV(true, k);
        }
        private function _-UI(_arg1:WindowEvent):void
        {
            var k:IRegionWindow = IRegionWindow(_arg1.target);
            this._-0YV(false, k);
        }
        private function _-2XM(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            var k:_-2SQ = this._-0qE._-4d0(k.id);
            if ((((k == null)) || (k.owner)))
            {
                return;
            };
            if (k.member)
            {
                this._-Ry._-Dm(k.id, this._-0qE.groupId, this._-0qE._-1me);
            }
            else
            {
                this._-Ry.send(new _-4Kl(this._-0qE.groupId, k.userId));
            };
        }
        private function _-0Oq(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean):void
        {
            var k:ITextWindow = ITextWindow(_arg1.findChildByName("action_link"));
            k.text = this._-Ry.localization.getKey(_arg2, _arg2);
            k.underline = _arg3;
        }
        private function _-0YV(_arg1:Boolean, _arg2:IWindowContainer):void
        {
            _arg2.findChildByName("icon_close_off").visible = !(_arg1);
            _arg2.findChildByName("icon_close_over").visible = _arg1;
            _arg2.findChildByName("icon_close_down").visible = false;
        }
        private function _-1MH(_arg1:Boolean, _arg2:IWindowContainer):void
        {
            var k:ITextWindow = ITextWindow(_arg2.findChildByName("action_link"));
            k.textColor = ((_arg1) ? 4280984060 : 4285492837);
        }
        private function _-3hZ(_arg1:WindowEvent):void
        {
            var k:IRegionWindow = IRegionWindow(_arg1.target);
            var k:_-2SQ = this._-0qE._-4d0(_arg1.target.id);
            if ((((k == null)) || (k.owner)))
            {
                return;
            };
            this._-1MH(true, k);
            this._-1qV(k.member, !(k._-xc), IWindowContainer(k.parent));
        }
        private function _-1Xc(_arg1:WindowEvent):void
        {
            var k:IRegionWindow = IRegionWindow(_arg1.target);
            this._-1MH(false, k);
            var k:_-2SQ = this._-0qE._-4d0(_arg1.target.id);
            if (k != null)
            {
                this._-1qV(k.member, k._-xc, IWindowContainer(k.parent));
            };
        }
        private function _-4ts(_arg1:WindowEvent):void
        {
            var k:_-2SQ = this._-0qE._-4d0(_arg1.target.id);
            if ((((k == null)) || (k.owner)))
            {
                return;
            };
            if (k._-xc)
            {
                this._-Ry.send(new _-0JR(this._-0qE.groupId, k.userId));
            }
            else
            {
                if (k.member)
                {
                    this._-Ry.send(new _-0MT(this._-0qE.groupId, k.userId));
                }
                else
                {
                    this._-Ry.send(new _-0rJ(this._-0qE.groupId, k.userId));
                };
            };
        }
        private function _-1qV(_arg1:Boolean, _arg2:Boolean, _arg3:IWindowContainer):void
        {
            _arg3.findChildByName("icon_admin_off").visible = ((_arg1) && (_arg2));
            _arg3.findChildByName("icon_admin_over").visible = ((_arg1) && (!(_arg2)));
        }
        private function _-4sn(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-Ry.send(new _-RA(_arg2.id));
            };
        }
        private function _-0tx(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-0cZ)
            {
                this._-Dg.reset();
                this._-Dg.start();
                this._-3Ey(true);
            };
        }
        private function _-JV(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-2wB)
            {
                this._-2p4(0);
            };
        }
        private function _-2p4(_arg1:int):void
        {
            this._-Dg.stop();
            this._-Dg.reset();
            this._-3Ey(true);
            var k:GuildMemberData = this._-0qE;
            var k:String = this._-Yy.getText();
            var k:int = this._-ON().selection;
            this._-Ry.send(new _-vl(k.groupId, _arg1, k, k));
        }
        private function _-3z2(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ry.send(new _-je(this._-0qE.groupId));
        }
        private function _-ON():IDropMenuWindow
        {
            return (IDropMenuWindow(this._-0xv.findChildByName("type_drop_menu")));
        }
        private function _-gK(_arg1:Event):void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-2p4(0);
            };
        }
        private function _-0EM(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-2p4(this._-2Dw((this._-0qE._-0WS + 1)));
        }
        private function _-KA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-2p4(this._-2Dw((this._-0qE._-0WS - 1)));
        }
        private function _-2pM():Boolean
        {
            return (!((this._-0qE._-0WS == this._-2Dw((this._-0qE._-0WS - 1)))));
        }
        private function _-2yi():Boolean
        {
            return (!((this._-0qE._-0WS == this._-2Dw((this._-0qE._-0WS + 1)))));
        }
        private function _-2Dw(_arg1:int):int
        {
            var k:int = Math.ceil((this._-0qE._-59- / this._-0qE._-2-c));
            return (Math.max(0, Math.min(_arg1, (k - 1))));
        }
        public function get data():GuildMemberData
        {
            return (this._-0qE);
        }
        private function _-1YS():void
        {
            var k:Array = new Array();
            k.push("${group.members.search.all}");
            k.push("${group.members.search.admins}");
            if (this._-0qE._-LR)
            {
                k.push("${group.members.search.pending}");
            };
            var k:IDropMenuWindow = this._-ON();
            k.procedure = null;
            k.populate(k);
            k.selection = ((this._-0qE._-LR) ? this._-0qE.searchType : Math.min(this._-0qE.searchType, 1));
            k.procedure = this._-JV;
        }
        private function _-0jx():void
        {
            var k:ITextFieldWindow = this._-Yy.input;
            k.procedure = null;
            if (this._-Yy.getText() != this._-0qE._-4AR)
            {
                this._-Yy._-0Ab(this._-0qE._-4AR);
            };
            k.procedure = this._-0tx;
            this._-Dg.stop();
            this._-3Ey(false);
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19Y.HcRequiredWindowCtrl

package _-19Y
{
    import _-1ae.IFrameWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class HcRequiredWindowCtrl implements _-1zZ 
    {

        private var _-Ry:_-0e3;
        private var _-0xv:IFrameWindow;

        public function HcRequiredWindowCtrl(_arg1:_-0e3)
        {
            this._-Ry = _arg1;
        }
        public function dispose():void
        {
            this._-Ry = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        public function show(_arg1:Boolean):void
        {
            this._-eN();
            this._-0xv.findChildByName("info_txt").caption = ((_arg1) ? "${group.hcrequired.info.manage}" : "${group.hcrequired.info.join}");
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-Ry.getXmlWindow("club_required"));
            this._-0xv.findChildByTag("close").procedure = this._-4F9;
            this._-0xv.findChildByName("cancel_link_region").procedure = this._-4F9;
            this._-0xv.findChildByName("join_button").procedure = this._-4uT;
            this._-0xv.findChildByName("more_info_link_region").procedure = this._-4uT;
            this._-0xv.center();
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
            };
        }
        private function _-4uT(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-Ry._-4uS("HcRequiredWindowCtrl");
                this.close();
            };
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
            };
        }

    }
}//package _-19Y

//------------------------------------------------------------
//_-19z._-0RI

package _-19z
{
    import _-1lc._-2Ij;
    import _-0mD.HabboCatalog;
    import _-293._-2Gt;
    import flash.display.BitmapData;
    import _-2Mh._-3Uw;
    import _-293._-5-S;
    import _-1lc.*;
    import _-293.*;

    public class _-0RI extends _-2Ij implements dynamic, _-3kE 
    {

        public function _-0RI(_arg1:HabboCatalog)
        {
            super(_arg1);
        }
        protected function initProductIcon(_arg1:_-5-S, _arg2:String, _arg3:int, _arg4:String=""):void
        {
            var k:_-2Gt;
            var k:BitmapData;
            switch (_arg2)
            {
                case _-3Uw._-5Ds:
                    k = _arg1.getFurnitureIcon(_arg3, this);
                    break;
                case _-3Uw._-0xA:
                    k = _arg1.getWallItemIcon(_arg3, this, _arg4);
                    break;
                default:
                    _-Nb.log(("[PrizeItemContainer] Can not yet handle this type of product: " + _arg2));
                    return;
            };
            if (k != null)
            {
                k = k.data;
                setIconImage(k, true);
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (disposed)
            {
                return;
            };
            setIconImage(_arg2, true);
        }

    }
}//package _-19z

//------------------------------------------------------------
//_-19z._-4Bz

package _-19z
{
    public interface _-4Bz 
    {

        function init(_arg1:_-4o7=null):void;
        function cancel():void;
        function empty():void;
        function _-4O7(_arg1:int):_-JJ;
        function _-3FR(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String):void;
        function _-00D(_arg1:int):void;
        function _-2gw():void;
        function _-049():Boolean;
        function _-13L():Array;
        function get _-1p7():int;

    }
}//package _-19z

//------------------------------------------------------------
//_-19z._-4o7

package _-19z
{
    public interface _-4o7 
    {

        function _-3rH():void;
        function _-2kO():void;
        function _-546():void;
        function _-39T():void;
        function _-3BH(_arg1:int):void;
        function _-1dc():void;
        function _-1hq(_arg1:Boolean):void;
        function get disposed():Boolean;

    }
}//package _-19z

//------------------------------------------------------------
//_-19z._-JJ

package _-19z
{
    public class _-JJ 
    {

        private var _-0Kq:int = 0;
        private var _-JS:int = 0;
        private var _-3Gp:int = 0;
        private var _-1r2:String = null;

        public function _-JJ(_arg1:int, _arg2:int, _arg3:int=0, _arg4:String=null)
        {
            this._-0Kq = _arg1;
            this._-JS = _arg2;
            this._-3Gp = _arg3;
            this._-1r2 = _arg4;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get typeId():int
        {
            return (this._-3Gp);
        }
        public function get xxxExtra():String
        {
            return (this._-1r2);
        }
        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }

    }
}//package _-19z

//------------------------------------------------------------
//_-19z._-wJ

package _-19z
{
    import _-4n1._-0hX;
    import _-0mD.HabboCatalog;
    import _-293._-5-S;

    public class _-wJ extends _-0RI 
    {

        private var _-3mV:String;
        private var _-0wj:int;
        private var _-NK:int;
        private var _-4zT:_-0hX;
        private var _-2Ot:_-0RI;

        public function _-wJ(_arg1:String, _arg2:int, _arg3:_-0hX, _arg4:int, _arg5:HabboCatalog)
        {
            super(_arg5);
            this._-3mV = _arg1;
            this._-0wj = _arg2;
            this._-4zT = _arg3;
            this._-NK = _arg4;
        }
        public function setIcon(_arg1:_-5-S):void
        {
            if ((((_arg1 == null)) || ((this._-4zT == null))))
            {
                return;
            };
            initProductIcon(_arg1, this._-4zT.type, this._-0wj);
        }
        public function get _-3Ks():String
        {
            return (this._-3mV);
        }
        public function get _-2eb():int
        {
            return (this._-0wj);
        }
        public function get gridItem():_-0RI
        {
            return (this._-2Ot);
        }
        public function get _-4yL():int
        {
            return (this._-NK);
        }
        public function get title():String
        {
            if (this._-4zT == null)
            {
                return ("");
            };
            return (this._-4zT.title);
        }

    }
}//package _-19z

//------------------------------------------------------------
//_-19z.DealPrizeContainer

package _-19z
{
    import _-0mD.HabboCatalog;
    import flash.display.BitmapData;
    import _-1pi._-19q;
    import _-4n1._-0hX;
    import _-295._-243;
    import _-295.BitmapDataAsset;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-1ae.ITextWindow;
    import _-293._-5-S;

    public class DealPrizeContainer extends _-wJ 
    {

        private var _-1ka:Array;
        private var _-4u:Array;
        private var _-3oJ:HabboCatalog;
        private var _-08o:XML;
        private var _-0ZA:BitmapData;

        public function DealPrizeContainer(_arg1:Array, _arg2:int, _arg3:HabboCatalog)
        {
            var k:int;
            var k:_-19q;
            var k:_-0hX;
            this._-4u = [];
            this._-3oJ = _arg3;
            this._-1ka = _arg1;
            while (k < _arg1.length)
            {
                k = _arg1[k];
                k = _arg3._-2QH(k._-2eb, k._-3Ks);
                this._-4u.push(k);
                k++;
            };
            var k:_-243 = (_arg3.assets.getAssetByName("gridItem") as _-243);
            this._-08o = (k.content as XML);
            var k:BitmapDataAsset = (_arg3.assets.getAssetByName("ctlg_pic_deal_icon_narrow") as BitmapDataAsset);
            this._-0ZA = BitmapData(k.content);
            super("deal", -1, null, _arg2, _arg3);
        }
        override public function setIcon(_arg1:_-5-S):void
        {
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(view.findChildByName("image"));
            k.bitmap = new BitmapData(k.width, k.height, true, 0);
            k.bitmap.copyPixels(this._-0ZA, this._-0ZA.rect, new Point(((k.width - this._-0ZA.width) / 2), ((k.height - this._-0ZA.height) / 2)));
            ITextWindow(view.findChildByName("bundleCounter")).text = this._-1ka.length.toString();
        }
        override public function get title():String
        {
            return ("");
        }
        public function get _-3HX():Array
        {
            return (this._-1ka);
        }
        public function get _-4wG():Array
        {
            return (this._-4u);
        }

    }
}//package _-19z

//------------------------------------------------------------
//_-19z.PrizeLevelContainer

package _-19z
{
    import _-1pi._-3Q3;
    import _-4n1._-0hX;
    import _-1pi._-0qJ;
    import _-0mD.HabboCatalog;

    public class PrizeLevelContainer 
    {

        private var _-Nr:int;
        private var _-2j-:Array;

        public function PrizeLevelContainer(_arg1:_-0qJ, _arg2:HabboCatalog)
        {
            var k:_-3Q3;
            var k:_-wJ;
            var _local6:_-0hX;
            super();
            this._-Nr = _arg1._-0gZ;
            _arg2.localization.registerParameter(("recycler.prizes.odds." + this._-Nr), "odds", ("1:" + _arg1._-4lK));
            this._-2j- = new Array();
            var k:int;
            while (k < _arg1.prizes.length)
            {
                k = _arg1.prizes[k];
                if (k._-3nA)
                {
                    k = new DealPrizeContainer(k._-3HX, this._-Nr, _arg2);
                }
                else
                {
                    _local6 = _arg2._-2QH(k._-2eb, k._-3Ks);
                    k = new _-wJ(k._-3Ks, k._-2eb, _local6, this._-Nr, _arg2);
                };
                this._-2j-.push(k);
                k++;
            };
        }
        public function get _-0gZ():int
        {
            return (this._-Nr);
        }
        public function get prizes():Array
        {
            return (this._-2j-);
        }

    }
}//package _-19z

//------------------------------------------------------------
//_-19z.PrizeViewer

package _-19z
{
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IItemGridWindow;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-Ew.IWindowContainer;
    import _-293._-2Gt;
    import _-0y0._-Xl;
    import _-2Mh._-3Uw;
    import _-1ae.ITextWindow;
    import _-293._-5-S;
    import _-1pi._-19q;
    import _-295.BitmapDataAsset;
    import _-1lc._-YK;
    import _-293.*;

    public class PrizeViewer implements dynamic 
    {

        private var _-4mk:IBitmapWrapperWindow;
        private var _-3UL:int = 0;
        private var _-3Ft:Array;
        private var _-09S:IItemGridWindow;

        private static function _-1Ww(_arg1:IWindowContainer, _arg2:BitmapData):IBitmapWrapperWindow
        {
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(_arg1.findChildByName("image"));
            k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
            k.bitmap.copyPixels(_arg2, _arg2.rect, new Point(((k.width - _arg2.width) / 2), ((k.height - _arg2.height) / 2)));
            return (k);
        }

        public function dispose():void
        {
            this._-3Ft = null;
            this._-4mk = null;
        }
        public function _-1tY(_arg1:_-5-S, _arg2:IWindowContainer, _arg3:String, _arg4:int, _arg5:String, _arg6:String, _arg7:String=""):void
        {
            var k:_-2Gt;
            this._-4mk = (_arg2.findChildByName("ctlg_teaserimg_1") as IBitmapWrapperWindow);
            var k:IItemGridWindow = (_arg2.findChildByName("bundleGrid") as IItemGridWindow);
            k.visible = false;
            switch (_arg3)
            {
                case _-3Uw._-5Ds:
                    k = _arg1.getFurnitureImage(_arg4, new _-Xl(90, 0, 0), 64, this, 0, _arg7);
                    break;
                case _-3Uw._-0xA:
                    k = _arg1.getWallItemImage(_arg4, new _-Xl(90, 0, 0), 64, this, 0, _arg7);
                    break;
                default:
                    return;
            };
            if (k != null)
            {
                this._-Cy(k.data, true);
            };
            this._-3UL = k.id;
            var k:ITextWindow = (_arg2.findChildByName("ctlg_product_name") as ITextWindow);
            if (k != null)
            {
                k.text = _arg5;
            };
            k = (_arg2.findChildByName("ctlg_description") as ITextWindow);
            if (k != null)
            {
                k.text = _arg6;
            };
        }
        public function _-16F(_arg1:_-5-S, _arg2:_-YK, _arg3:XML, _arg4:IWindowContainer, _arg5:DealPrizeContainer, _arg6:String, _arg7:String):void
        {
            var k:_-19q;
            var k:IWindowContainer;
            var k:_-2Gt;
            var k:ITextWindow;
            this._-4mk = (_arg4.findChildByName("ctlg_teaserimg_1") as IBitmapWrapperWindow);
            var k:BitmapDataAsset = (_arg2.viewer.catalog.assets.getAssetByName("ctlg_dyndeal_background") as BitmapDataAsset);
            var k:BitmapData = BitmapData(k.content);
            this._-4mk.bitmap = new BitmapData(this._-4mk.width, this._-4mk.height, true, 0xFFFFFF);
            this._-4mk.bitmap.copyPixels(k, k.rect, new Point(((this._-4mk.width - k.width) / 2), ((this._-4mk.height - k.height) / 2)));
            this._-09S = (_arg4.findChildByName("bundleGrid") as IItemGridWindow);
            this._-09S.destroyGridItems();
            this._-09S.visible = true;
            this._-1Wq(_arg5._-3HX.length);
            var k:int;
            while (k < _arg5._-3HX.length)
            {
                k = _arg5._-3HX[k];
                k = IWindowContainer(_arg2.viewer.catalog.windowManager.buildFromXML(_arg3));
                k.findChildByName("clubLevelIcon").visible = false;
                k.findChildByName("multiContainer").visible = false;
                switch (k._-3Ks)
                {
                    case _-3Uw._-5Ds:
                        k = _arg1.getFurnitureIcon(k._-2eb, this);
                        break;
                    case _-3Uw._-0xA:
                        k = _arg1.getWallItemIcon(k._-2eb, this);
                        break;
                    default:
                        return;
                };
                if (k != null)
                {
                    _-1Ww(k, k.data);
                    this._-09S._-2-F(k);
                };
                if (k.id != 0)
                {
                    this._-hy(k, k.id);
                };
                k = (_arg4.findChildByName("ctlg_product_name") as ITextWindow);
                if (k != null)
                {
                    k.text = _arg6;
                };
                k = (_arg4.findChildByName("ctlg_description") as ITextWindow);
                if (k != null)
                {
                    k.text = _arg7;
                };
                k++;
            };
            if (_arg5._-3HX.length > 6)
            {
                _arg4.findChildByName("bundleGridScrollbar").visible = true;
            }
            else
            {
                _arg4.findChildByName("bundleGridScrollbar").visible = false;
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:int;
            var k:IWindowContainer;
            if (_arg1 == this._-3UL)
            {
                this._-Cy(_arg2, true);
                this._-3UL = 0;
            }
            else
            {
                if (((!((this._-09S == null))) && (!((this._-3Ft == null)))))
                {
                    k = this._-3Ft.indexOf(_arg1);
                    if (k != -1)
                    {
                        k = IWindowContainer(this._-09S._-jx(k));
                        _-1Ww(k, _arg2);
                    }
                    else
                    {
                        this._-3Ft[k] = 0;
                    };
                };
            };
        }
        private function _-Cy(_arg1:BitmapData, _arg2:Boolean):void
        {
            var k:Point;
            if (((!((this._-4mk == null))) && (!(this._-4mk.disposed))))
            {
                if (_arg1 == null)
                {
                    k = new BitmapData(1, 1);
                    k = true;
                };
                this._-4mk.bitmap = new BitmapData(this._-4mk.width, this._-4mk.height, true, 0xFFFFFF);
                this._-4mk.bitmap.fillRect(this._-4mk.bitmap.rect, 0xFFFFFF);
                k = new Point(((this._-4mk.width - _arg1.width) / 2), ((this._-4mk.height - _arg1.height) / 2));
                this._-4mk.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
            };
            if (((_arg2) && (!((_arg1 == null)))))
            {
                _arg1.dispose();
            };
        }
        private function _-1Wq(_arg1:int):void
        {
            this._-3Ft = new Array(_arg1);
            var k:int;
            while (k < this._-3Ft.length)
            {
                this._-3Ft[k] = 0;
                k++;
            };
        }
        private function _-hy(_arg1:int, _arg2:int):void
        {
            this._-3Ft[_arg1] = _arg2;
        }

    }
}//package _-19z

//------------------------------------------------------------
//_-19z.RecyclerLogic

package _-19z
{
    import _-0mD.HabboCatalog;
    import _-4pF._-3Ts;
    import _-1pi._-4pU;
    import _-1pi._-1wP;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;

    public class RecyclerLogic implements _-4Bz 
    {

        private static const _-55Q:int = 0;
        private static const _-2tk:int = 1;
        private static const _-2tB:int = 2;

        private var _-2Rn:int = 0;
        private var _-4tK:int;
        private var _-Qn:Array;
        private var _-3oJ:HabboCatalog;
        private var _-U-:_-3Ts;
        private var _-Ke:_-4o7;
        private var _-2j-:Array;
        private var _-0Wb:int;

        public function RecyclerLogic(_arg1:HabboCatalog, _arg2:_-3Ts)
        {
            this._-Qn = new Array();
            super();
            this._-3oJ = _arg1;
            this._-U- = _arg2;
            this._-0Wb = int(_arg1.configuration.getKey("recycler.number_of_slots", "5"));
        }
        private function get _-0UU():Boolean
        {
            return (!((this._-2Rn == _-55Q)));
        }
        private function get _-4rP():Boolean
        {
            return (!((this._-4tK == _-4pU._-4Z6)));
        }
        private function get ready():Boolean
        {
            return (((this.active) && ((this._-2Rn == _-2tk))));
        }
        public function get active():Boolean
        {
            return (((this._-0UU) && (this._-4rP)));
        }
        public function get _-1p7():int
        {
            return (this._-0Wb);
        }
        public function dispose():void
        {
            this._-Qn = null;
            this._-3oJ = null;
            this._-U- = null;
        }
        public function init(_arg1:_-4o7=null):void
        {
            this._-2Rn = _-2tB;
            this._-Qn = new Array(this._-0Wb);
            if (_arg1 == null)
            {
                return;
            };
            this._-Ke = _arg1;
            this._-3oJ._-1Wn();
        }
        public function activate():void
        {
            if (this._-4rP)
            {
                this._-2Rn = _-2tk;
            };
        }
        public function cancel():void
        {
            this._-3oJ._-11a(false);
            var k:int;
            while (k < this._-0Wb)
            {
                this._-00D(k);
                k++;
            };
            this._-2Rn = _-55Q;
        }
        public function empty():void
        {
            var k:int;
            while (k < this._-0Wb)
            {
                this._-00D(k);
                k++;
            };
            this._-2VH();
            this._-G7();
        }
        public function _-4qX(_arg1:int, _arg2:int):void
        {
            this._-4tK = _arg1;
            if (!this._-4rP)
            {
                return;
            };
            switch (this._-4tK)
            {
                case _-4pU._-1TN:
                    this._-2Rn = _-2tk;
                    if ((((this._-Ke == null)) || (this._-Ke.disposed)))
                    {
                        return;
                    };
                    this._-Ke._-3rH();
                    this._-3oJ._-11a(true);
                    this._-3Ev();
                    this._-2VH();
                    this._-G7();
                    return;
                case _-4pU._-4Z6:
                    if ((((this._-Ke == null)) || (this._-Ke.disposed)))
                    {
                        return;
                    };
                    this._-Ke._-39T();
                    this._-3oJ._-11a(false);
                    return;
                case _-4pU._-3fk:
                    if ((((this._-Ke == null)) || (this._-Ke.disposed)))
                    {
                        return;
                    };
                    this._-Ke._-3BH(_arg2);
                    this._-3oJ._-11a(false);
                    return;
            };
        }
        public function _-33O(_arg1:int, _arg2:int):void
        {
            var status:int = _arg1;
            var prizeId:int = _arg2;
            if (!this._-0UU)
            {
                return;
            };
            this._-2Rn = _-2tk;
            if (!this._-4rP)
            {
                return;
            };
            switch (status)
            {
                case _-1wP._-1UG:
                    if (this._-Ke != null)
                    {
                        this._-Ke._-546();
                    };
                    break;
                case _-1wP._-0i2:
                    _-Nb.log("* Recycler finished with FAILURE");
                    this._-U-.alert("${generic.alert.title}", "${recycler.info.closed}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    if (this._-Ke != null)
                    {
                        this._-Ke._-39T();
                    };
                    break;
            };
            this._-3oJ._-11a(false);
        }
        public function _-4O7(_arg1:int):_-JJ
        {
            if (this._-Qn == null)
            {
                return (null);
            };
            if (_arg1 >= this._-Qn.length)
            {
                return (null);
            };
            return (this._-Qn[_arg1]);
        }
        public function _-3FR(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String):void
        {
            var oldObjectData:_-JJ;
            var newSlotId:int;
            var slotId:int = _arg1;
            var id:int = _arg2;
            var category:int = _arg3;
            var typeId:int = _arg4;
            var xxxExtra:String = _arg5;
            if (!this.ready)
            {
                return;
            };
            if (this._-Qn.length > 0)
            {
                oldObjectData = this._-Qn[0];
                newSlotId = 0;
                while (((!((oldObjectData == null))) && ((newSlotId < this._-0Wb))))
                {
                    oldObjectData = this._-Qn[newSlotId];
                    if (oldObjectData != null)
                    {
                        newSlotId = (newSlotId + 1);
                    };
                };
                if (oldObjectData == null)
                {
                    slotId = newSlotId;
                }
                else
                {
                    return;
                };
            };
            var itemId:int = this._-3oJ._-4Ga();
            if (itemId == 0)
            {
                this._-U-.alert("${generic.alert.title}", "${recycler.alert.non.recyclable}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
                return;
            };
            this._-Qn[slotId] = new _-JJ(itemId, category, typeId, xxxExtra);
            this._-2VH();
            this._-G7();
        }
        public function _-00D(_arg1:int):void
        {
            if (!this.ready)
            {
                return;
            };
            if (this._-Qn[_arg1] == null)
            {
                return;
            };
            if (!this._-3oJ._-1KG(this._-Qn[_arg1].id))
            {
                return;
            };
            this._-Qn[_arg1] = null;
            this._-2VH();
            this._-G7();
        }
        public function _-2gw():void
        {
            var k:_-JJ;
            if (!this._-049())
            {
                return;
            };
            this._-2Rn = _-2tB;
            this._-G7();
            var k:Array = new Array();
            var k:int;
            while (k < this._-Qn.length)
            {
                k = this._-Qn[k];
                if (k == null)
                {
                    return;
                };
                k.push(k.id);
                k++;
            };
            this._-3oJ._-227(k);
            this._-Ke._-2kO();
        }
        public function _-049():Boolean
        {
            if (((!(this.ready)) || (!(this._-3oJ._-4BK))))
            {
                return (false);
            };
            if (this._-NI())
            {
                this._-U-.alert("${generic.alert.title}", "${recycler.alert.trading}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
                return (false);
            };
            return (this._-2DC());
        }
        public function _-0lH(_arg1:Boolean):void
        {
            if (_arg1 == false)
            {
                this.empty();
                this._-3Ev();
            };
            this._-G7();
        }
        private function _-3Ev():void
        {
            if (((!(this._-3oJ._-4BK)) && (this.ready)))
            {
                this._-U-.alert("${generic.alert.title}", "${recycler.alert.privateroom}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
            };
        }
        private function _-2VH():void
        {
            if ((((this._-Ke == null)) || (!(this._-0UU))))
            {
                return;
            };
            this._-Ke._-1dc();
        }
        private function _-G7():void
        {
            if ((((this._-Ke == null)) || (!(this._-0UU))))
            {
                return;
            };
            this._-Ke._-1hq(this._-049());
        }
        private function _-2DC():Boolean
        {
            if (this._-Qn == null)
            {
                return (false);
            };
            if (this._-Qn.length < this._-0Wb)
            {
                return (false);
            };
            var k:int;
            while (k < this._-Qn.length)
            {
                if (this._-Qn[k] == null)
                {
                    return (false);
                };
                k++;
            };
            return (true);
        }
        private function _-NI():Boolean
        {
            return (this._-3oJ._-10n);
        }
        public function _-0fs(_arg1:Array):void
        {
            var k:PrizeLevelContainer;
            this._-2j- = new Array();
            var k:int;
            while (k < _arg1.length)
            {
                k = new PrizeLevelContainer(_arg1[k], this._-3oJ);
                this._-2j-.push(k);
                k++;
            };
        }
        public function _-13L():Array
        {
            if (this._-2j- == null)
            {
                this._-3oJ._-3Io();
                return (null);
            };
            return (this._-2j-);
        }

    }
}//package _-19z

//------------------------------------------------------------
//_-1A6._-1Zn

package _-1A6
{
    public interface _-1Zn 
    {

        function parse(_arg1:XML):Boolean;
        function _-4Cm(_arg1:XML):Boolean;

    }
}//package _-1A6

//------------------------------------------------------------
//_-1A6._-37G

package _-1A6
{
    import _-4xH._-0rk;
    import _-4xH._-2TT;

    public interface _-37G 
    {

        function _-2Cc(_arg1:String):_-0rk;
        function _-0yD(_arg1:int):_-2TT;

    }
}//package _-1A6

//------------------------------------------------------------
//_-1A6._-3nD

package _-1A6
{
    import _-0yf.EventDispatcherWrapper;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-295._-39L;
    import flash.events.Event;
    import _-p-.Core;
    import _-2ly._-11j;

    public class _-3nD extends EventDispatcherWrapper 
    {

        public static const _-2uB:String = "AVATAR_STRUCTURE_DONE";

        private var _-2fn:_-1Zn;

        public function _-3nD(_arg1:_-39L, _arg2:String, _arg3:_-1Zn)
        {
            this._-2fn = _arg3;
            if (_arg1.hasAsset(_arg2))
            {
                _-Nb.log(("[AvatarStructureDownload] reload data for url: " + _arg2));
            };
            var k:URLRequest = new URLRequest(_arg2);
            var k:_-4Rz = _arg1.loadAssetFromFile(_arg2, k, "text/plain");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-4jl);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-3-i);
        }
        private function _-4jl(_arg1:Event):void
        {
            var data:String;
            var dataSet:XML;
            var event:Event = _arg1;
            var loaderStruct:_-4Rz = (event.target as _-4Rz);
            if ((((loaderStruct == null)) || ((loaderStruct._-48Y == null))))
            {
                return;
            };
            try
            {
                data = (loaderStruct._-48Y.content as String);
                if ((((data == null)) || ((data.length == 0))))
                {
                    Core.error((((("Could not load avatar structure, got empty data from URL " + loaderStruct._-48Y.url) + " data length = ") + data.length) + "."), false, Core._-3Qt);
                };
                dataSet = new XML(data);
            }
            catch(e:Error)
            {
                _-Nb.log(("[AvatarStructureDownload] Error: " + e.message));
                return;
            };
            if (dataSet == null)
            {
                _-Nb.log((("[AvatarStructureDownload] XML error: " + loaderStruct) + " not valid XML"));
                return;
            };
            this._-2fn._-4Cm(dataSet);
            dispatchEvent(new Event(_-3nD._-2uB));
        }
        private function _-3-i(_arg1:Event):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            var k:String = "";
            if (((!((k == null))) && (!((k._-48Y == null)))))
            {
                k = k._-48Y.url;
            };
            _-11j.logEventLog(("figurepartlist download error " + k));
            Core.error(("Could not load avatar structure. Failed to get data from URL " + k), true, Core._-3Qt);
        }

    }
}//package _-1A6

//------------------------------------------------------------
//_-1A6.AnimationData

package _-1A6
{
    import flash.utils.Dictionary;
    import _-2c1.AnimationAction;
    import _-3o7._-0kA;
    import _-2c1.*;

    public class AnimationData implements _-1Zn 
    {

        private var _-Hy:Dictionary;

        public function AnimationData()
        {
            this._-Hy = new Dictionary();
        }
        public function parse(_arg1:XML):Boolean
        {
            var k:XML;
            if (_arg1 == null)
            {
                return (false);
            };
            for each (k in _arg1.action)
            {
                this._-Hy[String(k.@id)] = new AnimationAction(k);
            };
            return (true);
        }
        public function _-4Cm(_arg1:XML):Boolean
        {
            var k:XML;
            if (_arg1 == null)
            {
                return (false);
            };
            for each (k in _arg1.action)
            {
                this._-Hy[String(k.@id)] = new AnimationAction(k);
            };
            return (true);
        }
        public function _-3tb(_arg1:_-0kA):AnimationAction
        {
            return (this._-Hy[_arg1.id]);
        }
        public function _-2Ef(_arg1:_-0kA):int
        {
            var k:AnimationAction = this._-3tb(_arg1);
            if (!k)
            {
                return (0);
            };
            return (k._-2EV);
        }

    }
}//package _-1A6

//------------------------------------------------------------
//_-1A6.AvatarCanvas

package _-1A6
{
    import flash.geom.Point;
    import _-0se._-1uH;

    public class AvatarCanvas 
    {

        private var _-0Kq:String;
        private var _-0Dz:int;
        private var _height:int;
        private var _-1fe:Point;
        private var _-4TB:Point;

        public function AvatarCanvas(_arg1:XML, _arg2:String)
        {
            this._-0Kq = String(_arg1.@id);
            this._-0Dz = parseInt(_arg1.@width);
            this._height = parseInt(_arg1.@height);
            this._-1fe = new Point(parseInt(_arg1.@dx), parseInt(_arg1.@dy));
            if (_arg2 == _-1uH._-JU)
            {
                this._-4TB = new Point(((this._-0Dz - 64) / 2), 0);
            }
            else
            {
                this._-4TB = new Point(((this._-0Dz - 32) / 2), 0);
            };
        }
        public function get width():int
        {
            return (this._-0Dz);
        }
        public function get height():int
        {
            return (this._height);
        }
        public function get offset():Point
        {
            return (this._-1fe);
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get _-29t():Point
        {
            return (this._-4TB);
        }

    }
}//package _-1A6

//------------------------------------------------------------
//_-1A6.FigureData

package _-1A6
{
    import flash.utils.Dictionary;
    import _-4xH.Palette;
    import _-4xH.SetType;
    import _-4xH._-08d;
    import _-4xH._-0rk;
    import _-4xH._-2TT;
    import _-4xH.*;

    public class FigureData implements _-1Zn, _-37G 
    {

        private var var :Dictionary;
        private var _-3Ku:Dictionary;

        public function FigureData()
        {
            this.var  = new Dictionary();
            this._-3Ku = new Dictionary();
        }
        public function dispose():void
        {
        }
        public function parse(_arg1:XML):Boolean
        {
            var k:XML;
            var k:XML;
            if (_arg1 == null)
            {
                return (false);
            };
            for each (k in _arg1.colors.palette)
            {
                this.var [String(k.@id)] = new Palette(k);
            };
            for each (k in _arg1.sets.settype)
            {
                this._-3Ku[String(k.@type)] = new SetType(k);
            };
            return (true);
        }
        public function _-1Xb(_arg1:XML):void
        {
            var k:XML;
            var k:SetType;
            for each (k in _arg1.sets.settype)
            {
                k = this._-3Ku[String(k.@type)];
                if (k != null)
                {
                    k._-0oP(k);
                }
                else
                {
                    this._-3Ku[String(k.@type)] = new SetType(k);
                };
            };
            this._-4Cm(_arg1);
        }
        public function _-4Cm(_arg1:XML):Boolean
        {
            var k:XML;
            var k:XML;
            var k:Palette;
            var k:SetType;
            if (_arg1 == null)
            {
                return (false);
            };
            for each (k in _arg1.colors.palette)
            {
                k = this.var [String(k.@id)];
                if (k == null)
                {
                    this.var [String(k.@id)] = new Palette(k);
                }
                else
                {
                    k._-4RZ(k);
                };
            };
            for each (k in _arg1.sets.settype)
            {
                k = this._-3Ku[String(k.@type)];
                if (k == null)
                {
                    this._-3Ku[String(k.@type)] = new SetType(k);
                }
                else
                {
                    k._-4RZ(k);
                };
            };
            return (false);
        }
        public function _-3ME(_arg1:String, _arg2:int):Array
        {
            var k:SetType;
            var k:Array = new Array();
            for each (k in this._-3Ku)
            {
                if (((k) && (k._-24c(_arg1, _arg2))))
                {
                    k.push(k.type);
                };
            };
            return (k);
        }
        public function _-01A(_arg1:String, _arg2:String):_-08d
        {
            var k:SetType = (this._-3Ku[_arg1] as SetType);
            if (k)
            {
                return (k._-01A(_arg2));
            };
            return (null);
        }
        public function _-2Cc(_arg1:String):_-0rk
        {
            return (this._-3Ku[_arg1]);
        }
        public function _-0yD(_arg1:int):_-2TT
        {
            return (this.var [String(_arg1)]);
        }

    }
}//package _-1A6

//------------------------------------------------------------
//_-1A6.PartSetsData

package _-1A6
{
    import flash.utils.Dictionary;
    import _-0ok._-1MW;
    import _-0ok.ActivePartSet;
    import _-3o7._-0kA;
    import _-3o7.ActionDefinition;
    import _-0ok.*;

    public class PartSetsData implements _-1Zn 
    {

        private var _-2aI:Dictionary;
        private var _-2BF:Dictionary;

        public function PartSetsData()
        {
            this._-2aI = new Dictionary();
            this._-2BF = new Dictionary();
        }
        public function parse(_arg1:XML):Boolean
        {
            var k:XML;
            var k:XML;
            if (_arg1 == null)
            {
                return (false);
            };
            for each (k in _arg1.partSet[0].part)
            {
                this._-2aI[String(k.@["set-type"])] = new _-1MW(k);
            };
            for each (k in _arg1.activePartSet)
            {
                this._-2BF[String(k.@id)] = new ActivePartSet(k);
            };
            return (true);
        }
        public function _-4Cm(_arg1:XML):Boolean
        {
            var k:XML;
            var k:XML;
            if (_arg1 == null)
            {
                return (false);
            };
            for each (k in _arg1.partSet[0].part)
            {
                this._-2aI[String(k.@["set-type"])] = new _-1MW(k);
            };
            for each (k in _arg1.activePartSet)
            {
                this._-2BF[String(k.@id)] = new ActivePartSet(k);
            };
            return (false);
        }
        public function _-59H(_arg1:_-0kA):Array
        {
            var k:ActivePartSet = this._-2BF[_arg1.activePartSet];
            if (k != null)
            {
                return (k._-1xN);
            };
            return ([]);
        }
        public function _-1kk(_arg1:String):_-1MW
        {
            return ((this._-2aI[_arg1] as _-1MW));
        }
        public function _-4Mp(_arg1:XML):_-1MW
        {
            var k:String = String(_arg1.@["set-type"]);
            if (this._-2aI[k] == null)
            {
                this._-2aI[k] = new _-1MW(_arg1);
            };
            return (this._-2aI[k]);
        }
        public function get _-1xN():Dictionary
        {
            return (this._-2aI);
        }
        public function get _-3KE():Dictionary
        {
            return (this._-2BF);
        }
        public function _-495(_arg1:ActionDefinition):ActivePartSet
        {
            return ((this._-2BF[_arg1.activePartSet] as ActivePartSet));
        }

    }
}//package _-1A6

//------------------------------------------------------------
//_-1ae._-0bA

package _-1ae
{
    import _-Ew.IWindow;
    import _-3EM.*;

    public interface _-0bA extends IInteractiveWindow, _-QQ 
    {

        function get selection():int;
        function set selection(_arg1:int):void;
        function get numMenuItems():int;
        function _-tA(_arg1:IWindow):IWindow;
        function _-Yr(_arg1:IWindow, _arg2:int):IWindow;
        function _-0V2(_arg1:IWindow):int;
        function _-5Cb(_arg1:int):IWindow;
        function _-1hc(_arg1:IWindow):IWindow;
        function _-0Iu(_arg1:int):IWindow;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-0C5

package _-1ae
{
    public interface _-0C5 extends ITextWindow, IInteractiveWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-0eI

package _-1ae
{
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-0eI extends _-Dn implements IRadioButtonWindow 
    {

        protected static const _-1CL:String = "_CAPTION_TEXT";

        public function _-0eI(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 | WindowParam._-55Y);
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function set caption(_arg1:String):void
        {
            super.caption = _arg1;
            var k:IWindow = getChildByName(_-1CL);
            if (k != null)
            {
                k.caption = caption;
            };
        }
        override public function setRectangle(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            super.setRectangle(_arg1, _arg2, _arg3, _arg4);
            var k:ITextWindow = (getChildByName(_-1CL) as ITextWindow);
            if (k != null)
            {
                k.width = _arg3;
            };
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-0GK

package _-1ae
{
    import _-Ew.WindowController;
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-2SC._-c0;
    import _-3EM._-yZ;
    import _-3Qs._-49b;
    import _-3Qs.IGraphicContext;
    import _-Ew.*;

    public class _-0GK extends WindowController implements IWindowContainer 
    {

        public function _-0GK(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-2Hw = ((((_-4aE) || (_-1s-(WindowParam._-55Y)))) || (!(_-1s-(WindowParam._-Cp))));
        }
        public function get iterator():_-yZ
        {
            return (new _-c0(this));
        }
        override public function getGraphicContext(_arg1:Boolean):IGraphicContext
        {
            if (((_arg1) && (!(_-3in))))
            {
                _-3in = new _-49b((("GC {" + _name) + "}"), ((_-1s-(WindowParam._-Cp)) ? _-49b.GC_TYPE_CONTAINER : _-49b.GC_TYPE_BITMAP), rectangle);
                _-3in.visible = _-r3;
            };
            return (_-3in);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-0HO

package _-1ae
{
    import _-1B-.*;

    public interface _-0HO extends _-1zZ 
    {

        function get focused():Boolean;
        function focus():Boolean;
        function unfocus():Boolean;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-0t2

package _-1ae
{
    import _-Ew.IWindow;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-0Ie.WindowEvent;
    import _-Ew.WindowController;

    public class _-0t2 extends _-0GK 
    {

        protected var _-1IR:IWindow;

        public function _-0t2(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            if (_arg2.type == WindowEvent._-0kV)
            {
                this._-3la((_arg1 as IWindow));
            }
            else
            {
                if (_arg2.type == WindowEvent._-1Ty)
                {
                    return (true);
                };
            };
            return (super.update(_arg1, _arg2));
        }
        public function _-40V():IWindow
        {
            return (this._-1IR);
        }
        public function _-3la(_arg1:IWindow):IWindow
        {
            if (_arg1.parent != this)
            {
                while (true)
                {
                    k = _arg1.parent;
                    if (k == null)
                    {
                        throw (new Error("Window passed to activator is not a child!"));
                    };
                    if (k.parent == this)
                    {
                        break;
                    };
                };
            };
            var k:IWindow = this._-1IR;
            if (this._-1IR != _arg1)
            {
                if (this._-1IR != null)
                {
                    if (!this._-1IR.disposed)
                    {
                        this._-1IR.deactivate();
                    };
                };
                this._-1IR = _arg1;
                if (getChildIndex(_arg1) != (numChildren - 1))
                {
                    setChildIndex(_arg1, (numChildren - 1));
                };
            };
            return (k);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-0wx

package _-1ae
{
    import _-Ew.WindowController;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-0wx extends WindowController implements IIconWindow 
    {

        public function _-0wx(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-10R

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-10R extends TextController 
    {

        public function _-10R(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function set text(_arg1:String):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (_-2OW)
            {
                context.removeLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                _-2OW = false;
            };
            _-3BO = _arg1;
            if (((((!(_-1Gj)) && ((_-3BO.charAt(0) == "$")))) && ((_-3BO.charAt(1) == "{"))))
            {
                _-2OW = true;
                context.registerLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
            }
            else
            {
                if (_-0VK != null)
                {
                    _-0VK.htmlText = _-3BO;
                    refreshTextImage();
                };
            };
        }
        override public function set localization(_arg1:String):void
        {
            if (((!((_arg1 == null))) && (!((_-0VK == null)))))
            {
                _-0VK.htmlText = _-0E0(_arg1);
                refreshTextImage();
            };
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-1hm

package _-1ae
{
    public interface _-1hm extends IItemListWindow 
    {

        function set _-4Ad(_arg1:Boolean):void;
        function get _-4Ad():Boolean;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-1J9

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-1J9 extends _-0GK implements IBorderWindow 
    {

        public function _-1J9(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-1se

package _-1ae
{
    import _-Ew.WindowController;
    import _-Ew._-2La;
    import _-Ew._-2cX;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-484._-0S0;
    import _-3EM.PropertyStruct;
    import _-2SC._-38M;
    import _-3EM._-yZ;

    public class _-1se extends WindowController implements _-3Yi 
    {

        private var _-0dh:_-2La;
        private var _-4V8:String = "";
        private var _-0dg:_-2cX;

        public function _-1se(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-0dh = _arg5._-1bg();
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-0dg != null)
                {
                    this._-0dg.dispose();
                    this._-0dg = null;
                };
                this._-0dh = null;
                super.dispose();
            };
        }
        override public function get properties():Array
        {
            var k:Array = (((this._-0dg)!=null) ? this._-0dg.properties : []);
            k.unshift(_-4wa(_-0S0._-3fJ, this._-4V8));
            return (super.properties.concat(k));
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            var k:String;
            for each (k in _arg1)
            {
                if (k.key == _-0S0._-3fJ)
                {
                    k = String(k.value);
                    if (this._-4V8 != k)
                    {
                        if (this._-0dg != null)
                        {
                            removeChildAt(0);
                            this._-0dg.dispose();
                        };
                        this._-0dg = this._-0dh._-2CG(String(k.value), this);
                        this._-4V8 = k;
                    };
                    break;
                };
            };
            if (this._-0dg != null)
            {
                this._-0dg.properties = _arg1;
            };
            super.properties = _arg1;
        }
        override public function set color(_arg1:uint):void
        {
            var k:IWindow;
            super.color = _arg1;
            var k:Array = new Array();
            _-507(_-1Jf, k, -1);
            for each (k in k)
            {
                k.color = _arg1;
            };
        }
        public function get iterator():_-yZ
        {
            return ((((this._-0dg)!=null) ? this._-0dg.iterator : _-38M._-Kj));
        }
        public function get widget():_-2cX
        {
            return (this._-0dg);
        }
        public function get _-5Ec():IWindow
        {
            return (getChildAt(0));
        }
        public function set _-5Ec(_arg1:IWindow):void
        {
            removeChildAt(0);
            if (_arg1 == null)
            {
                return;
            };
            addChild(_arg1);
            if (_arg1.tags.indexOf(WindowController.TAG_EXCLUDE) < 0)
            {
                _arg1.tags.push(WindowController.TAG_EXCLUDE);
            };
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-1w7

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-1w7 extends TextFieldController implements IPasswordFieldWindow 
    {

        public function _-1w7(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-0VK.displayAsPassword = true;
        }
    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-24S

package _-1ae
{
    import _-484._-0S0;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import _-3Qs._-2b3;
    import _-3EM.PropertyStruct;
    import _-3EM.*;

    public class _-24S extends BitmapDataController implements IBitmapWrapperWindow, _-47w 
    {

        protected var _-IO:Boolean;
        protected var _-4v:String;

        public function _-24S(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-IO = Boolean(_arg5.getWindowFactory().getThemeManager().getPropertyDefaults(_arg3).get(_-0S0._-3x0));
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get bitmap():BitmapData
        {
            return (_-04k);
        }
        public function set bitmap(_arg1:BitmapData):void
        {
            if (((((this._-IO) && (_-04k))) && (!((_arg1 == _-04k)))))
            {
                _-04k.dispose();
            };
            _-04k = _arg1;
            _-0XK();
            _context.invalidate(this, null, _-2b3._-35h);
        }
        public function set bitmapData(_arg1:BitmapData):void
        {
            this.bitmap = _arg1;
        }
        public function get _-2Qt():String
        {
            return (this._-4v);
        }
        public function set _-2Qt(_arg1:String):void
        {
            this._-4v = _arg1;
        }
        public function get _-30Z():Boolean
        {
            return (this._-IO);
        }
        public function set _-30Z(_arg1:Boolean):void
        {
            this._-IO = _arg1;
        }
        override public function clone():IWindow
        {
            var k:_-24S = (super.clone() as _-24S);
            k._-04k = ((((this._-IO) && (_-04k))) ? _-04k.clone() : _-04k);
            k._-IO = this._-IO;
            k._-4v = this._-4v;
            return (k);
        }
        override public function dispose():void
        {
            if (_-04k)
            {
                if (this._-IO)
                {
                    _-04k.dispose();
                };
                _-04k = null;
            };
            super.dispose();
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            k.unshift(_-4wa(_-0S0._-3x0, this._-IO));
            k.unshift(_-4wa(_-0S0._-4Oz, this._-4v));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-3x0:
                        this._-IO = (k.value as Boolean);
                        break;
                    case _-0S0._-4Oz:
                        this._-4v = (k.value as String);
                        break;
                };
            };
            super.properties = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-25T

package _-1ae
{
    import _-Ew.*;

    public interface _-25T extends IWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-2aK

package _-1ae
{
    import flash.text.TextFormat;
    import _-3EM.IMargins;
    import _-3EM.TextStyle;
    import _-Ew.*;

    public interface _-2aK extends IWindow 
    {

        function get antiAliasType():String;
        function get autoSize():String;
        function get bold():Boolean;
        function get border():Boolean;
        function get borderColor():uint;
        function get defaultTextFormat():TextFormat;
        function get embedFonts():Boolean;
        function get _-PX():String;
        function get fontSize():uint;
        function get gridFitType():String;
        function get italic():Boolean;
        function get kerning():Boolean;
        function get length():int;
        function get margins():IMargins;
        function get maxChars():int;
        function get sharpness():Number;
        function get spacing():Number;
        function get text():String;
        function get textColor():uint;
        function get _-1X4():Boolean;
        function get _-48j():uint;
        function get textHeight():Number;
        function get textWidth():Number;
        function get _-5-G():TextStyle;
        function get thickness():Number;
        function get underline():Boolean;
        function get vertical():Boolean;
        function set text(_arg1:String):void;
        function set _-5-G(_arg1:TextStyle):void;
        function set textColor(_arg1:uint):void;
        function set vertical(_arg1:Boolean):void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-2CV

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-2SC._-c0;
    import _-3EM._-yZ;

    public class _-2CV extends InteractiveController implements IContainerButtonWindow 
    {

        public function _-2CV(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get iterator():_-yZ
        {
            return (new _-c0(this));
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-2o2

package _-1ae
{
    import _-Ew.WindowController;
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-3Qs._-49b;
    import _-3Qs.IGraphicContext;
    import _-3Qs.IGraphicContextHost;
    import flash.display.DisplayObject;

    public class _-2o2 extends WindowController implements IDisplayObjectWrapper 
    {

        public function _-2o2(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 & ~(WindowParam._-Cp));
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-2Hw = false;
        }
        override public function getGraphicContext(_arg1:Boolean):IGraphicContext
        {
            if (((_arg1) && (!(_-3in))))
            {
                _-3in = new _-49b((("GC {" + _name) + "}"), _-49b.GC_TYPE_CONTAINER, rectangle);
            };
            return (_-3in);
        }
        public function getDisplayObject():DisplayObject
        {
            return (IGraphicContextHost(this).getGraphicContext(true).getDisplayObject());
        }
        public function setDisplayObject(_arg1:DisplayObject):void
        {
            IGraphicContextHost(this).getGraphicContext(true).setDisplayObject(_arg1);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-2Rl

package _-1ae
{
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-2Rl extends _-tP implements _-25T 
    {

        public function _-2Rl(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 | WindowParam._-Bh);
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-2VO

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-09j._-QC;
    import _-0Ie.WindowEvent;
    import _-Ew.WindowController;
    import _-484._-0S0;
    import _-3EM.PropertyStruct;

    public class _-2VO extends _-58v implements _-C7 
    {

        private static const _-2zS:String = "_POINTER_UP";
        private static const _-nC:String = "_POINTER_DOWN";
        private static const _-lh:String = "_POINTER_LEFT";
        private static const _-2kW:String = "_POINTER_RIGHT";

        private var _-3r2:String = "down";
        private var _-4SN:int = 0;

        public function _-2VO(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get direction():String
        {
            return (this._-3r2);
        }
        public function set direction(_arg1:String):void
        {
            var k:IWindow;
            if (_arg1 != this._-3r2)
            {
                k = getChildByName(_arg1);
                if (!k)
                {
                    throw (new Error((('Invalid pointer direction: "' + _arg1) + '"!')));
                };
                getChildByName(this._-3r2).visible = false;
                k.visible = true;
                this._-3r2 = _arg1;
                this._-1Bv = this._-4SN;
            };
        }
        public function get _-1Bv():int
        {
            return (this._-4SN);
        }
        public function set _-1Bv(_arg1:int):void
        {
            var k:IWindow = getChildByName(this._-3r2);
            if (!k)
            {
                throw (new Error((('Invalid pointer direction: "' + this._-3r2) + '"!')));
            };
            if ((((this._-3r2 == _-QC.UP)) || ((this._-3r2 == _-QC.DOWN))))
            {
                k.x = ((width / 2) + _arg1);
            }
            else
            {
                k.y = ((height / 2) + _arg1);
            };
            this._-4SN = _arg1;
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:Boolean = super.update(_arg1, _arg2);
            if (this._-4SN != 0)
            {
                if (_arg1 == this)
                {
                    if (_arg2.type == WindowEvent._-3K0)
                    {
                        this._-1Bv = this._-4SN;
                    };
                };
            };
            return (k);
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            k.push(_-4wa(_-0S0._-0cH, this._-3r2));
            k.push(_-4wa(_-0S0._-6o, this._-4SN));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-0cH:
                        this.direction = (k.value as String);
                        break;
                    case _-0S0._-6o:
                        this._-1Bv = (k.value as int);
                        break;
                };
            };
            super.properties = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-2wW

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-2wW extends InteractiveController implements IScalerWindow 
    {

        public function _-2wW(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-2x6

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-2SC._-06v;
    import _-3EM._-yZ;
    import _-0Ie.WindowEvent;
    import _-Ew.WindowController;
    import _-3EM.*;

    public class _-2x6 extends InteractiveController implements ISelectorWindow, _-QQ 
    {

        private var _-2dY:ISelectableWindow;
        protected var _-4rx:Boolean = true;

        public function _-2x6(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get iterator():_-yZ
        {
            return (new _-06v(this));
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            if (_arg2.type == WindowEvent._-0kV)
            {
                if ((_arg1 is ISelectableWindow))
                {
                    this.setSelected((_arg1 as ISelectableWindow));
                };
            };
            return (super.update(_arg1, _arg2));
        }
        public function get _-1aI():uint
        {
            return (numChildren);
        }
        public function _-WM():ISelectableWindow
        {
            return ((this._-2dY as ISelectableWindow));
        }
        public function setSelected(_arg1:ISelectableWindow):void
        {
            var k:ISelectableWindow;
            if (_arg1 != null)
            {
                if (_arg1 != this._-2dY)
                {
                    if (this._-2dY != null)
                    {
                        if (!this._-2dY._-5Aq())
                        {
                            return;
                        };
                    };
                    k = this._-2dY;
                    this._-2dY = _arg1;
                    if (this._-2dY.select())
                    {
                        if (getChildIndex(_arg1) > -1)
                        {
                            if (this._-4rx)
                            {
                                if (getChildIndex(_arg1) != (numChildren - 1))
                                {
                                    setChildIndex(_arg1, (numChildren - 1));
                                };
                            };
                        };
                    }
                    else
                    {
                        this._-2dY = k;
                        if (this._-2dY != null)
                        {
                            this._-2dY.select();
                        };
                    };
                };
            };
        }
        public function _-4La(_arg1:ISelectableWindow):ISelectableWindow
        {
            var k:ISelectableWindow = ISelectableWindow(addChild(_arg1));
            return (k);
        }
        public function _-1Sw(_arg1:ISelectableWindow, _arg2:int):ISelectableWindow
        {
            var k:ISelectableWindow = ISelectableWindow(addChildAt(_arg1, _arg2));
            return (k);
        }
        public function _-0wi(_arg1:int):ISelectableWindow
        {
            return ((getChildAt(_arg1) as ISelectableWindow));
        }
        public function _-pG(_arg1:uint):ISelectableWindow
        {
            return ((getChildByID(_arg1) as ISelectableWindow));
        }
        public function _-138(_arg1:String):ISelectableWindow
        {
            return ((_-32X(_arg1) as ISelectableWindow));
        }
        public function _-4Vf(_arg1:String):ISelectableWindow
        {
            return ((getChildByName(_arg1) as ISelectableWindow));
        }
        public function _-2Vt(_arg1:ISelectableWindow):int
        {
            return (getChildIndex(_arg1));
        }
        public function _-1KF(_arg1:ISelectableWindow):ISelectableWindow
        {
            var k:int = getChildIndex(_arg1);
            if (k > -1)
            {
                if (_arg1 == this._-2dY)
                {
                    if (this._-1aI > 1)
                    {
                        this.setSelected(this._-0wi((((k == 0)) ? 1 : 0)));
                    }
                    else
                    {
                        this._-2dY = null;
                    };
                };
                return (ISelectableWindow(removeChild(_arg1)));
            };
            return (null);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-2yw

package _-1ae
{
    import _-Ew.WindowController;
    import _-09j.WindowState;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-3EM._-yZ;

    public class _-2yw extends WindowController implements _-1hm 
    {

        private var _-1vQ:IItemListWindow;
        private var _-3AD:IScrollbarWindow;
        private var _-lT:Boolean = true;

        public function _-2yw(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            this._-1U4.scrollable = this._-4xX;
            if (this._-1U4._-eg(WindowState._-4C-))
            {
                this._-4iE();
            };
        }
        override public function dispose():void
        {
            if (this._-3AD)
            {
                this._-3AD.removeEventListener(WindowEvent._-3Z0, this._-pF);
                this._-3AD.removeEventListener(WindowEvent._-15U, this._-pF);
                this._-3AD = null;
            };
            if (this._-1vQ)
            {
                this._-1vQ = null;
            };
            super.dispose();
        }
        protected function get _-4xX():IItemListWindow
        {
            if (!this._-1vQ)
            {
                this._-1vQ = (findChildByTag("_ITEMLIST") as IItemListWindow);
            };
            return (this._-1vQ);
        }
        protected function get _-1U4():IScrollbarWindow
        {
            if (!this._-3AD)
            {
                this._-3AD = (findChildByTag("_SCROLLBAR") as IScrollbarWindow);
                if (this._-3AD)
                {
                    this._-3AD.addEventListener(WindowEvent._-3Z0, this._-pF);
                    this._-3AD.addEventListener(WindowEvent._-15U, this._-pF);
                };
            };
            return (this._-3AD);
        }
        private function _-pF(_arg1:WindowEvent):void
        {
            if (_arg1.type == WindowEvent._-3Z0)
            {
                this._-09h();
            }
            else
            {
                if (_arg1.type == WindowEvent._-15U)
                {
                    this._-4iE();
                };
            };
        }
        private function _-4iE():void
        {
            if (this._-1U4.visible)
            {
                this._-1U4.visible = false;
                this._-4xX.width = _-Eb;
            };
        }
        private function _-09h():void
        {
            if (!this._-1U4.visible)
            {
                this._-1U4.visible = true;
                this._-4xX.width = (_-Eb - this._-1U4.width);
            };
        }
        private function _-584():void
        {
            if (this._-lT)
            {
                if (this._-1U4._-eg(WindowState._-4C-))
                {
                    if (this._-1U4.visible)
                    {
                        this._-4iE();
                    };
                };
            }
            else
            {
                if (this._-1U4.visible)
                {
                    this._-09h();
                };
            };
        }
        protected function _-0I0():Boolean
        {
            return (((this._-4xX) && (this._-1U4)));
        }
        public function set _-4Ad(_arg1:Boolean):void
        {
            this._-lT = _arg1;
            this._-584();
        }
        public function get _-4Ad():Boolean
        {
            return (this._-lT);
        }
        public function get iterator():_-yZ
        {
            return (((this._-0I0()) ? this._-4xX.iterator : null));
        }
        public function get scrollH():Number
        {
            return (this._-4xX.scrollH);
        }
        public function get scrollV():Number
        {
            return (this._-4xX.scrollV);
        }
        public function set scrollH(_arg1:Number):void
        {
            this._-4xX.scrollH = _arg1;
        }
        public function set scrollV(_arg1:Number):void
        {
            this._-4xX.scrollV = _arg1;
        }
        public function get maxScrollH():int
        {
            return (this._-4xX.maxScrollH);
        }
        public function get maxScrollV():int
        {
            return (this._-4xX.maxScrollV);
        }
        public function get _-0yi():Rectangle
        {
            return (this._-4xX._-0yi);
        }
        public function get _-2yI():Rectangle
        {
            return (this._-4xX._-2yI);
        }
        public function get scrollStepH():Number
        {
            return (this._-4xX.scrollStepH);
        }
        public function get scrollStepV():Number
        {
            return (this._-4xX.scrollStepV);
        }
        public function set scrollStepH(_arg1:Number):void
        {
            this._-4xX.scrollStepH = _arg1;
        }
        public function set scrollStepV(_arg1:Number):void
        {
            this._-4xX.scrollStepV = _arg1;
        }
        public function get spacing():int
        {
            return (this._-4xX.spacing);
        }
        public function set spacing(_arg1:int):void
        {
            this._-4xX.spacing = _arg1;
        }
        public function get _-2zg():Boolean
        {
            return (this._-4xX._-2zg);
        }
        public function set _-2zg(_arg1:Boolean):void
        {
            this._-4xX._-2zg = _arg1;
        }
        public function get autoArrangeItems():Boolean
        {
            return (this._-4xX.autoArrangeItems);
        }
        public function set autoArrangeItems(_arg1:Boolean):void
        {
            this._-4xX.autoArrangeItems = _arg1;
        }
        public function set _-nF(_arg1:Boolean):void
        {
            this._-4xX._-nF = _arg1;
        }
        public function get _-nF():Boolean
        {
            return (this._-4xX._-nF);
        }
        public function get numListItems():int
        {
            return (this._-4xX.numListItems);
        }
        public function addListItem(_arg1:IWindow):IWindow
        {
            return (this._-4xX.addListItem(_arg1));
        }
        public function _-kE(_arg1:IWindow, _arg2:uint):IWindow
        {
            return (this._-4xX._-kE(_arg1, _arg2));
        }
        public function getListItemAt(_arg1:uint):IWindow
        {
            return (this._-4xX.getListItemAt(_arg1));
        }
        public function _-Ar(_arg1:uint):IWindow
        {
            return (this._-4xX._-Ar(_arg1));
        }
        public function getListItemByName(_arg1:String):IWindow
        {
            return (this._-4xX.getListItemByName(_arg1));
        }
        public function _-2yP(_arg1:String):IWindow
        {
            return (this._-4xX._-2yP(_arg1));
        }
        public function _-ed(_arg1:IWindow):int
        {
            return (this._-4xX._-ed(_arg1));
        }
        public function _-4sE(_arg1:IWindow):IWindow
        {
            return (this._-4xX._-4sE(_arg1));
        }
        public function _-3yK(_arg1:int):IWindow
        {
            return (this._-4xX._-3yK(_arg1));
        }
        public function _-0ei(_arg1:IWindow, _arg2:int):void
        {
            this._-4xX._-0ei(_arg1, _arg2);
        }
        public function _-0bn(_arg1:IWindow, _arg2:IWindow):void
        {
            this._-4xX._-0bn(_arg1, _arg2);
        }
        public function _-4sB(_arg1:int, _arg2:int):void
        {
            this._-4xX._-4sB(_arg1, _arg2);
        }
        public function _-1DH(_arg1:uint, _arg2:Array, _arg3:int=0):uint
        {
            return (this._-4xX._-1DH(_arg1, _arg2, _arg3));
        }
        public function _-07n(_arg1:String, _arg2:Array, _arg3:int=0):uint
        {
            return (this._-4xX._-07n(_arg1, _arg2, _arg3));
        }
        public function _-3mI():void
        {
            this._-4xX._-3mI();
        }
        public function _-Ls():void
        {
            this._-4xX._-Ls();
        }
        public function _-0O3():void
        {
            this._-4xX._-0O3();
        }
        public function _-4Wt():void
        {
            this._-4xX._-4Wt();
        }
        public function set _-4XB(_arg1:Boolean):void
        {
            this._-4xX._-4XB = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-37V

package _-1ae
{
    import _-Ew.IWindow;

    public interface _-37V extends IButtonWindow 
    {

        function get menu():IDropMenuWindow;
        function get value():IWindow;
        function set value(_arg1:IWindow):void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-3C0

package _-1ae
{
    import _-Ew.WindowController;
    import _-Ew.IWindowContainer;
    import _-09j.WindowType;
    import _-484._-4iz;
    import _-484._-0S0;
    import _-09j.WindowParam;
    import _-09j.WindowStyle;
    import flash.geom.Rectangle;
    import _-0Ie.WindowEvent;
    import _-Ew.WindowContext;
    import _-Ew.IWindow;
    import _-3Qs._-2b3;
    import _-2SC._-3gK;
    import _-3EM._-yZ;
    import _-0Ie.WindowMouseEvent;
    import _-3EM.PropertyStruct;
    import _-3EM.*;

    public class _-3C0 extends WindowController implements IItemListWindow, _-101 
    {

        private var _-4PR:Boolean = false;
        protected var _-3fh:Number;
        protected var _-A7:Number;
        protected var _-2x:Number;
        protected var _-4Xu:Number;
        protected var _container:IWindowContainer;
        protected var _-0dq:Boolean = false;
        protected var _-3Nx:Boolean = false;
        protected var _-2Ld:int;
        protected var _-35n:Boolean = false;
        protected var _-4Uw:Number = -1;
        protected var _-4-x:Number = -1;
        protected var _-30B:Boolean;
        protected var _-Wz:Boolean;
        protected var _-50D:Boolean;
        protected var _-wu:Number;
        protected var _-34c:Number;
        protected var _-4oM:Number;
        protected var _-4ZJ:Number;
        protected var _-0RP:Boolean;

        public function _-3C0(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-3fh = 0;
            this._-A7 = 0;
            this._-2x = 0;
            this._-4Xu = 0;
            this._-35n = (_arg2 == WindowType._-0BA);
            var k:_-4iz = _arg5.getWindowFactory().getThemeManager();
            this._-2Ld = int(k.getPropertyDefaults(_arg3).get(_-0S0._-3pV).value);
            this._-30B = k.getPropertyDefaults(_arg3).get(_-0S0._-1F1).value;
            this._-Wz = k.getPropertyDefaults(_arg3).get(_-0S0._-3wY).value;
            this._-50D = k.getPropertyDefaults(_arg3).get(_-0S0._-2Lz).value;
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-2Hw = ((_-4aE) || (!(_-1s-(WindowParam._-Cp))));
            this._container = (_context.create("_CONTAINER", "", WindowType._-4q6, WindowStyle._-5B8, ((WindowParam._-Cp | WindowParam._-0FF) | WindowParam._-Lm), new Rectangle(0, 0, width, height), null, this, 0, null, [TAG_INTERNAL, TAG_EXCLUDE]) as IWindowContainer);
            this._container.addEventListener(WindowEvent._-3K0, this._-1Yk);
            this._container.addEventListener(WindowEvent._-4jq, this._-1Yk);
            this._container.addEventListener(WindowEvent._-jw, this._-1Yk);
            this._container.addEventListener(WindowEvent._-hr, this._-1Yk);
            this._container.clipping = clipping;
            this._-nF = this._-50D;
        }
        public function get spacing():int
        {
            return (this._-2Ld);
        }
        public function set spacing(_arg1:int):void
        {
            if (_arg1 != this._-2Ld)
            {
                this._-2Ld = _arg1;
                this._-0VT();
            };
        }
        public function get scrollH():Number
        {
            return (this._-3fh);
        }
        public function get scrollV():Number
        {
            return (this._-A7);
        }
        public function get maxScrollH():int
        {
            return (Math.max(0, (this._-2x - width)));
        }
        public function get maxScrollV():int
        {
            return (Math.max(0, (this._-4Xu - height)));
        }
        public function get _-0yi():Rectangle
        {
            return (new Rectangle((this._-3fh * this.maxScrollH), (this._-A7 * this.maxScrollV), width, height));
        }
        public function get _-2yI():Rectangle
        {
            return (this._container.rectangle);
        }
        public function set scrollH(_arg1:Number):void
        {
            var k:WindowEvent;
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (_arg1 > 1)
            {
                k = 1;
            };
            if (_arg1 != this._-3fh)
            {
                this._-3fh = _arg1;
                this._container.x = (-(this._-3fh) * this.maxScrollH);
                _context.invalidate(this._container, this._-0yi, _-2b3._-35h);
                if (_-2Te)
                {
                    k = WindowEvent._-2W5(WindowEvent._-4Gq, this, null);
                    _-2Te.dispatchEvent(k);
                    k.recycle();
                };
            };
        }
        public function set scrollV(_arg1:Number):void
        {
            var k:WindowEvent;
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (_arg1 > 1)
            {
                k = 1;
            };
            if (_arg1 != this._-A7)
            {
                this._-A7 = _arg1;
                this._container.y = (-(this._-A7) * this.maxScrollV);
                if (_-2Te)
                {
                    k = WindowEvent._-2W5(WindowEvent._-4Gq, this, null);
                    _-2Te.dispatchEvent(k);
                    k.recycle();
                };
            };
        }
        public function get scrollStepH():Number
        {
            if (this._-4Uw >= 0)
            {
                return (this._-4Uw);
            };
            return (((this._-35n) ? (this._container.width / this.numListItems) : (0.1 * this._container.width)));
        }
        public function get scrollStepV():Number
        {
            if (this._-4-x >= 0)
            {
                return (this._-4-x);
            };
            return (((this._-35n) ? (0.1 * this._container.height) : (this._container.height / this.numListItems)));
        }
        public function set scrollStepH(_arg1:Number):void
        {
            this._-4Uw = _arg1;
        }
        public function set scrollStepV(_arg1:Number):void
        {
            this._-4-x = _arg1;
        }
        public function set _-2zg(_arg1:Boolean):void
        {
            if (this._-Wz != _arg1)
            {
                this._-Wz = _arg1;
                this._-0VT();
            };
        }
        public function get _-2zg():Boolean
        {
            return (this._-Wz);
        }
        public function set autoArrangeItems(_arg1:Boolean):void
        {
            this._-30B = _arg1;
            this._-0VT();
        }
        public function get autoArrangeItems():Boolean
        {
            return (this._-30B);
        }
        public function set _-nF(_arg1:Boolean):void
        {
            this._-50D = _arg1;
            if (this._container)
            {
                if (this._-35n)
                {
                    this._container.setParamFlag(WindowParam._-0Pb, _arg1);
                }
                else
                {
                    this._container.setParamFlag(WindowParam._-2a6, _arg1);
                };
            };
        }
        public function get _-nF():Boolean
        {
            return (this._-50D);
        }
        public function get iterator():_-yZ
        {
            return (new _-3gK(this));
        }
        public function get _-2PC():IWindow
        {
            return ((((this.numListItems)>0) ? this.getListItemAt(0) : null));
        }
        public function get _-4Kq():IWindow
        {
            return ((((this.numListItems)>0) ? this.getListItemAt((this.numListItems - 1)) : null));
        }
        override public function set clipping(_arg1:Boolean):void
        {
            super.clipping = _arg1;
            if (this._container)
            {
                this._container.clipping = _arg1;
            };
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                this._container.removeEventListener(WindowEvent._-3K0, this._-1Yk);
                this._container.removeEventListener(WindowEvent._-4jq, this._-1Yk);
                this._container.removeEventListener(WindowEvent._-jw, this._-1Yk);
                this._container.removeEventListener(WindowEvent._-hr, this._-1Yk);
                super.dispose();
            };
        }
        override protected function cloneChildWindows(_arg1:WindowController):void
        {
            var k:int;
            while (k < this.numListItems)
            {
                IItemListWindow(_arg1).addListItem(this.getListItemAt(k).clone());
                k++;
            };
        }
        public function get numListItems():int
        {
            return ((((this._container)!=null) ? this._container.numChildren : 0));
        }
        public function addListItem(_arg1:IWindow):IWindow
        {
            this._-3Nx = true;
            if (this._-35n)
            {
                _arg1.x = (this._-2x + (((this.numListItems)>0) ? this._-2Ld : 0));
                this._-2x = _arg1.right;
                this._container.width = this._-2x;
            }
            else
            {
                if (this.autoArrangeItems)
                {
                    _arg1.y = (this._-4Xu + (((this.numListItems)>0) ? this._-2Ld : 0));
                    this._-4Xu = _arg1.bottom;
                }
                else
                {
                    this._-4Xu = Math.max(this._-4Xu, _arg1.bottom);
                };
                this._container.height = this._-4Xu;
            };
            k = this._container.addChild(_arg1);
            this._-3Nx = false;
            return (k);
        }
        public function _-kE(_arg1:IWindow, _arg2:uint):IWindow
        {
            k = this._container.addChildAt(_arg1, _arg2);
            this._-0VT();
            return (k);
        }
        public function getListItemAt(_arg1:uint):IWindow
        {
            return (this._container.getChildAt(_arg1));
        }
        public function _-Ar(_arg1:uint):IWindow
        {
            return (this._container.getChildByID(_arg1));
        }
        public function getListItemByName(_arg1:String):IWindow
        {
            return (this._container.getChildByName(_arg1));
        }
        public function _-2yP(_arg1:String):IWindow
        {
            return (this._container._-32X(_arg1));
        }
        public function _-ed(_arg1:IWindow):int
        {
            return (this._container.getChildIndex(_arg1));
        }
        public function _-4sE(_arg1:IWindow):IWindow
        {
            k = this._container.removeChild(_arg1);
            if (k)
            {
                this._-0VT();
            };
            return (k);
        }
        public function _-3yK(_arg1:int):IWindow
        {
            var k:IWindow = this._container.removeChildAt(_arg1);
            return (k);
        }
        public function _-0ei(_arg1:IWindow, _arg2:int):void
        {
            this._container.setChildIndex(_arg1, _arg2);
        }
        public function _-0bn(_arg1:IWindow, _arg2:IWindow):void
        {
            this._container.swapChildren(_arg1, _arg2);
            this._-0VT();
        }
        public function _-4sB(_arg1:int, _arg2:int):void
        {
            this._container.swapChildrenAt(_arg1, _arg2);
            this._-0VT();
        }
        public function _-1DH(_arg1:uint, _arg2:Array, _arg3:int=0):uint
        {
            return (this._container._-0tX(_arg1, _arg2, _arg3));
        }
        public function _-07n(_arg1:String, _arg2:Array, _arg3:int=0):uint
        {
            return (this._container._-507(_arg1, _arg2, _arg3));
        }
        public function _-3mI():void
        {
            this._-3Nx = true;
            while (this.numListItems > 0)
            {
                this._container.removeChildAt(0);
            };
            this._-3Nx = false;
            this._-0VT();
        }
        public function _-Ls():void
        {
            this._-3Nx = true;
            while (this.numListItems > 0)
            {
                this._container.removeChildAt(0).destroy();
            };
            this._-3Nx = false;
            this._-0VT();
        }
        public function _-0O3():void
        {
            this._-0VT();
        }
        override public function populate(_arg1:Array):void
        {
            WindowController(this._container).populate(_arg1);
            this._-0VT();
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:Boolean = super.update(_arg1, _arg2);
            switch (_arg2.type)
            {
                case WindowEvent._-4hh:
                    this._-0dq = true;
                    break;
                case WindowEvent._-3K0:
                    if (!this._-Wz)
                    {
                        if (this._-35n)
                        {
                            this._container.height = _-ar;
                        }
                        else
                        {
                            this._container.width = _-Eb;
                        };
                    };
                    this._-0VT();
                    this._-0dq = false;
                    break;
                default:
                    if ((_arg2 is WindowEvent))
                    {
                        k = this.process((_arg2 as WindowEvent));
                    };
            };
            return (k);
        }
        public function process(_arg1:WindowEvent):Boolean
        {
            var k:Boolean;
            var k:int;
            var k:int;
            var k:int;
            if ((_arg1 is WindowMouseEvent))
            {
                k = WindowMouseEvent(_arg1).localX;
                k = WindowMouseEvent(_arg1).localY;
                k = WindowMouseEvent(_arg1).delta;
            };
            switch (_arg1.type)
            {
                case WindowMouseEvent._-yk:
                    if (this._-35n)
                    {
                        this.scrollH = (this.scrollH - ((k * this.scrollStepH) / this.maxScrollH));
                    }
                    else
                    {
                        this.scrollV = (this.scrollV - ((k * this.scrollStepV) / this.maxScrollV));
                    };
                    k = true;
                    break;
                case WindowMouseEvent._-3Jy:
                    this._-wu = k;
                    this._-34c = k;
                    this._-4oM = (this._-3fh * this.maxScrollH);
                    this._-4ZJ = (this._-A7 * this.maxScrollV);
                    this._-0RP = true;
                    k = true;
                    break;
                case WindowMouseEvent._-2dT:
                    if (((this._-0RP) && (!(this._-4PR))))
                    {
                        if (this._-35n)
                        {
                            this.scrollH = (((this._-4oM + this._-wu) - k) / this.maxScrollH);
                        }
                        else
                        {
                            this.scrollV = (((this._-4ZJ + this._-34c) - k) / this.maxScrollV);
                        };
                        k = true;
                    };
                    break;
                case WindowMouseEvent._-02B:
                case WindowMouseEvent._-2uJ:
                    if (this._-0RP)
                    {
                        this._-0RP = false;
                        k = true;
                    };
                    break;
            };
            return (k);
        }
        private function _-2QX(_arg1:int, _arg2:int):void
        {
            if (!disposed)
            {
                this.scrollH = (this.scrollH - (_arg1 / this._-2x));
                this.scrollV = (this.scrollV - (_arg2 / this._-4Xu));
            };
        }
        private function _-1Yk(_arg1:WindowEvent):void
        {
            var k:WindowEvent;
            switch (_arg1.type)
            {
                case WindowEvent._-4jq:
                    this._-0VT();
                    return;
                case WindowEvent._-jw:
                    if (!this._-0dq)
                    {
                        this._-0VT();
                    };
                    return;
                case WindowEvent._-hr:
                    this._-0VT();
                    return;
                case WindowEvent._-3K0:
                    if (_-2Te)
                    {
                        k = WindowEvent._-2W5(WindowEvent._-3K0, this, null);
                        _-2Te.dispatchEvent(k);
                        k.recycle();
                    };
                    return;
                default:
                    _-Nb.log((("ItemListController::containerEventHandler(" + _arg1.type) + ")"));
            };
        }
        protected function _-0VT():void
        {
            var k:uint;
            var k:IWindow;
            var k:int;
            var k:uint;
            if (((((this._-30B) && (!(this._-3Nx)))) && (this._container)))
            {
                this._-3Nx = true;
                k = this._container.numChildren;
                if (this._-35n)
                {
                    this._-2x = 0;
                    this._-4Xu = _-ar;
                    k = 0;
                    while (k < k)
                    {
                        k = this._container.getChildAt(k);
                        if (k.visible)
                        {
                            k.x = this._-2x;
                            this._-2x = (this._-2x + (k.width + this._-2Ld));
                            if (this._-Wz)
                            {
                                k = (k.height + k.y);
                                this._-4Xu = (((k)>this._-4Xu) ? k : this._-4Xu);
                            };
                        };
                        k++;
                    };
                    if (k > 0)
                    {
                        this._-2x = (this._-2x - this._-2Ld);
                    };
                }
                else
                {
                    this._-2x = _-Eb;
                    this._-4Xu = 0;
                    k = 0;
                    while (k < k)
                    {
                        k = this._container.getChildAt(k);
                        if (k.visible)
                        {
                            k.y = this._-4Xu;
                            this._-4Xu = (this._-4Xu + (k.height + this._-2Ld));
                            if (this._-Wz)
                            {
                                k = (k.width + k.x);
                                this._-2x = (((k)>this._-2x) ? k : this._-2x);
                            };
                        };
                        k++;
                    };
                    if (k > 0)
                    {
                        this._-4Xu = (this._-4Xu - this._-2Ld);
                    };
                };
                if (this._-3fh > 0)
                {
                    if (this._-2x <= _-Eb)
                    {
                        this.scrollH = 0;
                    }
                    else
                    {
                        this._container.x = -((this._-3fh * this.maxScrollH));
                    };
                };
                if (this._-A7 > 0)
                {
                    if (this._-4Xu <= _-ar)
                    {
                        this.scrollV = 0;
                    }
                    else
                    {
                        this._container.y = -((this._-A7 * this.maxScrollV));
                    };
                };
                this._container.height = this._-4Xu;
                this._container.width = this._-2x;
                this._-3Nx = false;
            };
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            k.push(_-4wa(_-0S0._-3pV, this._-2Ld));
            k.push(_-4wa(_-0S0._-1F1, this._-30B));
            k.push(_-4wa(_-0S0._-3wY, this._-Wz));
            k.push(_-4wa(_-0S0._-2Lz, this._-50D));
            k.push(_-4wa(_-0S0._-19W, this._-4Uw));
            k.push(_-4wa(_-0S0._-1ue, this._-4-x));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-3pV:
                        this.spacing = (k.value as int);
                        break;
                    case _-0S0._-3wY:
                        this._-2zg = (k.value as Boolean);
                        break;
                    case _-0S0._-2Lz:
                        this._-nF = (k.value as Boolean);
                        break;
                    case _-0S0._-1F1:
                        this._-30B = (k.value as Boolean);
                        break;
                    case _-0S0._-19W:
                        this._-4Uw = (k.value as Number);
                        break;
                    case _-0S0._-1ue:
                        this._-4-x = (k.value as Number);
                        break;
                };
            };
            super.properties = _arg1;
        }
        public function _-4Wt():void
        {
            this._-0RP = false;
        }
        public function set _-4XB(_arg1:Boolean):void
        {
            this._-4PR = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-3JA

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-Ew.WindowController;
    import _-484._-0S0;
    import _-3EM.PropertyStruct;

    public class _-3JA extends _-2x6 implements ISelectorListWindow 
    {

        protected var _-2Ld:int = 0;
        private var _-4qC:Boolean = false;
        private var _-3AA:Boolean;

        public function _-3JA(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-4rx = false;
        }
        public function get spacing():int
        {
            return (this._-2Ld);
        }
        public function set spacing(_arg1:int):void
        {
            this._-2Ld = _arg1;
            this._-l7();
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            if (_arg2.type == WindowEvent._-14K)
            {
                this._-l7();
            }
            else
            {
                if (_arg2.type == WindowEvent._-jw)
                {
                    this._-l7();
                }
                else
                {
                    if (_arg2.type == WindowEvent._-hr)
                    {
                        this._-l7();
                    };
                };
            };
            return (super.update(_arg1, _arg2));
        }
        private function _-l7():void
        {
            var k:IWindow;
            var k:uint;
            if (this._-4qC)
            {
                return;
            };
            this._-4qC = true;
            var k:uint = _-1aI;
            var k:int;
            k = 0;
            while (k < k)
            {
                k = _-0wi(k);
                if (this._-3AA)
                {
                    k.y = k;
                    k = (k + (k.height + this._-2Ld));
                }
                else
                {
                    k.x = k;
                    k = (k + (k.width + this._-2Ld));
                };
                k++;
            };
            this._-4qC = false;
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            k.push(_-4wa(_-0S0._-3pV, this._-2Ld));
            k.push(_-4wa(_-0S0._-4U8, this._-3AA));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-3pV:
                        if (k.value != this._-2Ld)
                        {
                            this.spacing = (k.value as int);
                        };
                        break;
                    case _-0S0._-4U8:
                        if (k.value != this._-3AA)
                        {
                            this.vertical = (k.value as Boolean);
                        };
                        break;
                };
            };
            super.properties = _arg1;
        }
        public function get vertical():Boolean
        {
            return (this._-3AA);
        }
        public function set vertical(_arg1:Boolean):void
        {
            this._-3AA = _arg1;
            this._-l7();
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-3Yi

package _-1ae
{
    import _-Ew._-2cX;
    import _-Ew.IWindow;
    import _-3EM.*;
    import _-Ew.*;

    public interface _-3Yi extends IWindow, _-QQ 
    {

        function get widget():_-2cX;
        function get _-5Ec():IWindow;
        function set _-5Ec(_arg1:IWindow):void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-44y

package _-1ae
{
    import _-09j.WindowType;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-2SC._-32G;
    import _-3EM._-yZ;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.WindowController;
    import _-09j.WindowStyle;
    import _-09j.WindowParam;

    public class _-44y extends _-3C0 implements IItemGridWindow 
    {

        public function _-44y(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-35n = !((_arg2 == WindowType._-cS));
            _-Wz = true;
            if (!_-35n)
            {
                throw (new Error("Horizontal item grid not yet implemented!"));
            };
        }
        override public function set spacing(_arg1:int):void
        {
            var k:uint = numListItems;
            while (k-- > 0)
            {
                IItemListWindow(getListItemAt(k)).spacing = _arg1;
            };
            super.spacing = _arg1;
        }
        override public function set background(_arg1:Boolean):void
        {
            super.background = _arg1;
            var k:uint;
            while (k < numListItems)
            {
                getListItemAt(k).background = _arg1;
                k++;
            };
        }
        override public function set color(_arg1:uint):void
        {
            super.color = _arg1;
            var k:uint;
            while (k < numListItems)
            {
                getListItemAt(k).color = _arg1;
                k++;
            };
        }
        override public function set autoArrangeItems(_arg1:Boolean):void
        {
            super.autoArrangeItems = _arg1;
            var k:int;
            while (k < this._-10I)
            {
                IItemListWindow(getListItemAt(k)).autoArrangeItems = _arg1;
                k++;
            };
        }
        override public function get scrollStepH():Number
        {
            if (_-4Uw >= 0)
            {
                return (_-4Uw);
            };
            return (((_-35n) ? (0.1 * _-2yI.height) : (_-2yI.width / this._-10I)));
        }
        override public function get scrollStepV():Number
        {
            if (_-4-x >= 0)
            {
                return (_-4-x);
            };
            return (((_-35n) ? (_-2yI.height / this._-3X0) : (0.1 * _-2yI.width)));
        }
        override public function get iterator():_-yZ
        {
            return (new _-32G(this));
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:Boolean = super.update(_arg1, _arg2);
            switch (_arg2.type)
            {
                case WindowEvent._-3K0:
                    this._-13z();
                    break;
                case WindowMouseEvent._-yk:
                    if (_-35n)
                    {
                        scrollV = (scrollV - (WindowMouseEvent(_arg2).delta * 0.01));
                    }
                    else
                    {
                        scrollH = (scrollH - (WindowMouseEvent(_arg2).delta * 0.01));
                    };
                    k = true;
                    break;
            };
            return (k);
        }
        public function get numGridItems():uint
        {
            var k:uint = numListItems;
            var k:uint;
            while (k-- > 0)
            {
                k = (k + IItemListWindow(getListItemAt(k)).numListItems);
            };
            return (k);
        }
        public function get _-10I():uint
        {
            return (numListItems);
        }
        public function get _-3X0():uint
        {
            var k:uint;
            var k:uint = this._-10I;
            var k:uint;
            while (k < k)
            {
                k = Math.max(k, IItemListWindow(getListItemAt(k)).numListItems);
                k++;
            };
            return (k);
        }
        public function _-2-F(_arg1:IWindow):IWindow
        {
            var k:IItemListWindow = this._-4Ko(_arg1);
            return (_arg1);
        }
        public function _-F4(_arg1:IWindow, _arg2:uint):IWindow
        {
            this._-3XS(_arg1, Math.min(this.numGridItems, _arg2));
            return (_arg1);
        }
        public function _-jx(_arg1:uint):IWindow
        {
            var k:IItemListWindow = this._-UR(_arg1);
            if (k == null)
            {
                return (null);
            };
            return (k.getListItemAt((_arg1 / this._-10I)));
        }
        public function _-3p3(_arg1:uint):IWindow
        {
            var k:IItemListWindow;
            var k:IWindow;
            var k:uint;
            var k:uint = this._-10I;
            k = 0;
            while (k < k)
            {
                k = (getChildAt(k) as IItemListWindow);
                k = k._-Ar(_arg1);
                if (k)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-5g(_arg1:String):IWindow
        {
            var k:IItemListWindow;
            var k:IWindow;
            var k:uint;
            var k:uint = this._-10I;
            k = 0;
            while (k < k)
            {
                k = (getChildAt(k) as IItemListWindow);
                k = k.getListItemByName(_arg1);
                if (k)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-0c6(_arg1:String):IWindow
        {
            var k:IItemListWindow;
            var k:IWindow;
            var k:uint;
            var k:uint = this._-10I;
            k = 0;
            while (k < k)
            {
                k = (getChildAt(k) as IItemListWindow);
                k = k._-2yP(_arg1);
                if (k)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function getGridItemIndex(_arg1:IWindow):int
        {
            var k:IItemListWindow = this._-44F(_arg1);
            if (k == null)
            {
                return (-1);
            };
            return (((k._-ed(_arg1) * this._-10I) + this._-1aQ(k)));
        }
        public function _-0SW(_arg1:IWindow):IWindow
        {
            var k:int = this.getGridItemIndex(_arg1);
            if (k == -1)
            {
                return (null);
            };
            if (this._-3Fn(k) != _arg1)
            {
                throw (new Error("Item grid is out of order!"));
            };
            var k:IItemListWindow = this._-UR(k);
            if (!_-35n)
            {
                k.width = k._-2yI.width;
            }
            else
            {
                k.height = k._-2yI.height;
            };
            return (_arg1);
        }
        public function _-14z(_arg1:int):IWindow
        {
            return (this._-0SW(this._-jx(_arg1)));
        }
        public function _-0h8(_arg1:IWindow, _arg2:int):void
        {
            if (this._-0SW(_arg1) == null)
            {
                throw (new Error("Item not found in grid!"));
            };
            _-kE(_arg1, _arg2);
        }
        public function _-rP(_arg1:IWindow, _arg2:IWindow):void
        {
            throw (new Error("ItemGridWindow / Unimplemented method!"));
        }
        public function _-10g(_arg1:int, _arg2:int):void
        {
            this._-rP(this._-jx(_arg1), this._-jx(_arg2));
        }
        public function _-360():void
        {
            var k:IItemListWindow;
            var k:uint = this._-10I;
            var k:uint;
            while (k < k)
            {
                k = IItemListWindow(getListItemAt(k));
                k._-3mI();
                if (!_-35n)
                {
                    k.width = 0;
                }
                else
                {
                    k.height = 0;
                };
                k++;
            };
        }
        public function destroyGridItems():void
        {
            var k:IItemListWindow;
            var k:uint = this._-10I;
            var k:uint;
            while (k < k)
            {
                k = IItemListWindow(getListItemAt(k));
                k._-Ls();
                if (!_-35n)
                {
                    k.width = 0;
                }
                else
                {
                    k.height = 0;
                };
                k++;
            };
        }
        protected function _-ML(_arg1:WindowEvent, _arg2:IWindow):void
        {
        }
        protected function _-wy(_arg1:WindowEvent):void
        {
            var k:IWindow;
            if (_arg1.type == WindowEvent._-Lx)
            {
                k = (_arg1.target as IWindow);
                this._-0SW(k);
            };
        }
        protected function _-1aQ(_arg1:IItemListWindow):int
        {
            return (_-ed(_arg1));
        }
        protected function _-UR(_arg1:uint):IItemListWindow
        {
            return ((getListItemAt((_arg1 % this._-10I)) as IItemListWindow));
        }
        public function _-qV(_arg1:uint):uint
        {
            return ((_arg1 % this._-10I));
        }
        public function _-337(_arg1:uint):uint
        {
            return ((_arg1 / this._-10I));
        }
        override public function populate(_arg1:Array):void
        {
            var k:IItemListWindow;
            var k:IWindow;
            var k:IItemListWindow;
            var k:int;
            var k:Boolean;
            var k:Boolean = autoArrangeItems;
            this.autoArrangeItems = false;
            var k:int = this.numGridItems;
            var k:int = this._-10I;
            var k:Array = [];
            for each (k in _arg1)
            {
                if (k == 0)
                {
                    this._-2Vx(k);
                    k++;
                }
                else
                {
                    if (k > 0)
                    {
                        k = this._-UR((((k > 0)) ? (k - 1) : 0));
                        k = _-ed(k);
                        k = (((k > -1)) ? (k == (k - 1)) : true);
                        if (k)
                        {
                            if (k.numListItems == 1)
                            {
                                if ((k.right + k.width) <= _-Eb)
                                {
                                    this._-2Vx(k);
                                    continue;
                                };
                            };
                        };
                        k = (getListItemAt(((k) ? 0 : (k + 1))) as IItemListWindow);
                    }
                    else
                    {
                        k = (getListItemAt(0) as IItemListWindow);
                    };
                    k.addListItem(k);
                    k++;
                    if (k.width > k.width)
                    {
                        k.width = k.width;
                    };
                    if (k.bottom > k.height)
                    {
                        k.height = k.bottom;
                    };
                };
            };
            this.autoArrangeItems = k;
        }
        protected function _-44F(_arg1:IWindow):IItemListWindow
        {
            var k:IItemListWindow;
            var k:uint = this._-10I;
            while (k-- > 0)
            {
                k = IItemListWindow(getListItemAt(k));
                if (k._-ed(_arg1) > -1)
                {
                    return (k);
                };
            };
            return (null);
        }
        protected function _-4Ko(_arg1:IWindow):IItemListWindow
        {
            var k:IItemListWindow;
            var k:IItemListWindow;
            var k:int;
            var k:Boolean;
            if (this._-10I == 0)
            {
                return (this._-2Vx(_arg1));
            };
            var k:uint = this.numGridItems;
            if (k > 0)
            {
                k = this._-UR((((k > 0)) ? (k - 1) : 0));
                k = _-ed(k);
                k = (((k > -1)) ? (k == (this._-10I - 1)) : true);
                if (k)
                {
                    if (k.numListItems == 1)
                    {
                        if ((k.right + _arg1.width) <= _-Eb)
                        {
                            return (this._-2Vx(_arg1));
                        };
                    };
                };
                k = (getListItemAt(((k) ? 0 : (k + 1))) as IItemListWindow);
            }
            else
            {
                k = (getListItemAt(0) as IItemListWindow);
            };
            k.addListItem(_arg1);
            if (_arg1.width > k.width)
            {
                k.width = _arg1.width;
            };
            if (_arg1.bottom > k.height)
            {
                k.height = _arg1.bottom;
            };
            return (k);
        }
        protected function _-2Vx(_arg1:IWindow):IItemListWindow
        {
            var k:IItemListWindow = (_context.create(((_name + "_COLUMN_") + numListItems), null, WindowType._-1J0, WindowStyle._-5B8, (WindowParam._-Cp | WindowParam._-Lm), new Rectangle(0, 0, Math.max(_arg1.width, 0), Math.max(_arg1.height, 0)), this._-ML, null, numListItems, null, [WindowController.TAG_INTERNAL, WindowController.TAG_EXCLUDE]) as IItemListWindow);
            k.background = background;
            k.color = color;
            k.spacing = _-2Ld;
            addListItem(k);
            k.addListItem(_arg1);
            return (k);
        }
        protected function _-1Lr(_arg1:uint):void
        {
            var k:IItemListWindow = (removeChildAt(_arg1) as IItemListWindow);
            if (k)
            {
                k.dispose();
            };
        }
        protected function _-3XS(_arg1:IWindow, _arg2:uint):void
        {
            var k:IItemListWindow;
            var k:IWindow;
            var k:uint;
            var k:uint = this.numGridItems;
            var k:int = (k - 1);
            var k:uint = this._-10I;
            var k:int;
            while (k < k)
            {
                IItemListWindow(getListItemAt(k)).autoArrangeItems = false;
                k++;
            };
            if (k <= _arg2)
            {
                this._-4Ko(_arg1);
            }
            else
            {
                if (this._-3X0 == 1)
                {
                    k = this._-jx(k);
                    k = this._-4Ko(k);
                    k--;
                };
                while (k >= _arg2)
                {
                    k = this._-jx(k);
                    k = this._-337((k + 1));
                    k = this._-UR((k + 1));
                    k._-kE(k, k);
                    k--;
                };
                this._-UR(_arg2)._-kE(_arg1, (_arg2 / this._-10I));
            };
            var k:uint;
            k = this._-10I;
            k = 0;
            while (k < k)
            {
                k = IItemListWindow(getListItemAt(k));
                k.autoArrangeItems = true;
                k.height = k._-2yI.height;
                k = Math.max(k, k.height);
                k++;
            };
            _container.height = k;
        }
        protected function _-3Fn(_arg1:uint):IWindow
        {
            var k:IWindow;
            var k:uint = this._-337(_arg1);
            var k:IItemListWindow = this._-UR(_arg1);
            var k:IWindow = k._-3yK(k);
            var k:uint = this.numGridItems;
            var k:uint = _arg1;
            if (k == null)
            {
                return (null);
            };
            var k:int;
            while (k < this._-10I)
            {
                IItemListWindow(getListItemAt(k)).autoArrangeItems = false;
                k++;
            };
            while (k < k)
            {
                k = this._-337(k);
                k = this._-jx((k + 1));
                k = this._-UR(k);
                k._-kE(k, k);
                k++;
            };
            var k:uint;
            k = 0;
            while (k < this._-10I)
            {
                k = IItemListWindow(getListItemAt(k));
                k.autoArrangeItems = true;
                k.height = k._-2yI.height;
                k = Math.max(k, k.height);
                k++;
            };
            _container.height = k;
            return (k);
        }
        protected function _-13z():void
        {
            var k:IItemListWindow;
            var k:IWindow;
            var k:int;
            var k:int = this.numGridItems;
            var k:Array = new Array();
            var k:int = this._-10I;
            while (k > 0)
            {
                k = 0;
                while (k < k)
                {
                    k = (getListItemAt(k) as IItemListWindow);
                    k = k._-3yK(0);
                    k.push(k);
                    --k;
                    if (k < 1) break;
                    k++;
                };
            };
            _-Ls();
            for each (k in k)
            {
                this._-2-F(k);
            };
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-48I

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-Ew.WindowController;
    import _-09j.WindowState;
    import _-0Ie.WindowEvent;

    public class _-48I extends _-tP implements ISelectableWindow 
    {

        public function _-48I(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get selector():ISelectorWindow
        {
            var k:IWindow;
            if (_parent)
            {
                k = (_parent as WindowController);
                while (k)
                {
                    if ((k is ISelectorWindow))
                    {
                        return ((k as ISelectorWindow));
                    };
                    k = k.parent;
                };
            };
            return (null);
        }
        public function get _-vX():Boolean
        {
            return (_-eg(WindowState._-t0));
        }
        public function set _-vX(_arg1:Boolean):void
        {
            _-1H2(WindowState._-t0, _arg1);
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:WindowController;
            var k:WindowEvent;
            if (_arg2.type == WindowEvent._-1M3)
            {
                if (_parent)
                {
                    if (!(_parent is ISelectorWindow))
                    {
                        k = (_parent.parent as WindowController);
                        while (k)
                        {
                            if ((k is ISelectorWindow))
                            {
                                k = WindowEvent._-2W5(WindowEvent._-0kV, this, null);
                                k.update(this, k);
                                k.recycle();
                                break;
                            };
                            k = (k.parent as WindowController);
                        };
                    };
                };
            };
            return (super.update(_arg1, _arg2));
        }
        public function select():Boolean
        {
            if (_-3AV(WindowState._-t0))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-0P3, this, null, true);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            _-1H2(WindowState._-t0, true);
            k = WindowEvent._-2W5(WindowEvent._-2wB, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function _-5Aq():Boolean
        {
            if (!_-3AV(WindowState._-t0))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-4Yk, this, null, true);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            _-1H2(WindowState._-t0, false);
            k = WindowEvent._-2W5(WindowEvent._-1Ef, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-4B0

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-r7.*;

    public class _-4B0 extends _-tP implements _-37V, _-0AT 
    {

        public function _-4B0(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get menu():IDropMenuWindow
        {
            var k:IWindow = parent;
            while (k)
            {
                if ((k is IDropMenuWindow))
                {
                    break;
                };
                k = k.parent;
            };
            return ((k as IDropMenuWindow));
        }
        public function get value():IWindow
        {
            return (this);
        }
        public function set value(_arg1:IWindow):void
        {
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-4e7

package _-1ae
{
    import _-Ew.WindowController;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-3EM._-yZ;
    import _-0Ie.WindowEvent;
    import _-3EM.*;

    public class _-4e7 extends WindowController implements ITabContextWindow, _-QQ 
    {

        private static const _-10F:String = "_SELECTOR";
        private static const _-26P:String = "_CONTENT";

        protected var _-19L:ISelectorListWindow;
        protected var _-4yH:IWindowContainer;
        private var _-4qC:Boolean = false;
        private var _-3WC:Boolean = false;

        public function _-4e7(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            var k:IWindow;
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            var k:Array = new Array();
            _-507(WindowController.TAG_INTERNAL, k, -1);
            for each (k in k)
            {
                k.style = _-bl;
                k.procedure = this._-qW;
            };
            this._-3WC = true;
        }
        public function get selector():ISelectorListWindow
        {
            if (this._-19L == null)
            {
                this._-19L = (findChildByTag(_-10F) as ISelectorListWindow);
                if (this._-19L != null)
                {
                    this._-19L.procedure = this._-qW;
                };
            };
            return (this._-19L);
        }
        public function get container():IWindowContainer
        {
            if (this._-4yH == null)
            {
                this._-4yH = (findChildByTag(_-26P) as IWindowContainer);
            };
            return (this._-4yH);
        }
        public function get iterator():_-yZ
        {
            return (((this._-3WC) ? this.selector.iterator : null));
        }
        public function get _-2Z():uint
        {
            return (this._-19L._-1aI);
        }
        public function _-1IO(_arg1:ITabButtonWindow):ITabButtonWindow
        {
            return ((this.selector._-4La(_arg1) as ITabButtonWindow));
        }
        public function _-0Y-(_arg1:ITabButtonWindow, _arg2:uint):ITabButtonWindow
        {
            return ((this.selector._-1Sw(_arg1, _arg2) as ITabButtonWindow));
        }
        public function _-32B(_arg1:ITabButtonWindow):void
        {
            this.selector._-1KF(_arg1);
        }
        public function _-3Zg(_arg1:uint):ITabButtonWindow
        {
            return ((this.selector._-0wi(_arg1) as ITabButtonWindow));
        }
        public function _-4UW(_arg1:String):ITabButtonWindow
        {
            return ((this.selector._-4Vf(_arg1) as ITabButtonWindow));
        }
        public function _-08S(_arg1:uint):ITabButtonWindow
        {
            return ((this.selector._-pG(_arg1) as ITabButtonWindow));
        }
        public function _-5Ah(_arg1:ITabButtonWindow):uint
        {
            return (this.selector._-2Vt(_arg1));
        }
        private function _-qW(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-2wB)
            {
                _-1WJ(_arg1);
            };
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-4mB

package _-1ae
{
    import _-3EM.*;
    import _-Ew.*;

    public interface _-4mB extends IWindow, _-47w 
    {

        function get assetUri():String;
        function set assetUri(_arg1:String):void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-4Md

package _-1ae
{
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-4Md extends _-0GK implements IHeaderWindow 
    {

        private static const _-65:String = "_TITLE";
        private static const _-0m5:String = "_CONTROLS";

        public function _-4Md(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 | WindowParam._-55Y);
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get title():_-2aK
        {
            return ((findChildByTag(_-65) as _-2aK));
        }
        public function get controls():IItemListWindow
        {
            return ((findChildByTag(_-0m5) as IItemListWindow));
        }
        override public function set caption(_arg1:String):void
        {
            var value:String = _arg1;
            super.caption = value;
            try
            {
                this.title.text = value;
            }
            catch(e:Error)
            {
                _-Nb.log("Header contains no title element!");
            };
        }
        override public function set color(_arg1:uint):void
        {
            var k:IWindow;
            super.color = _arg1;
            var k:Array = new Array();
            _-507(_-1Jf, k, -1);
            for each (k in k)
            {
                k.color = _arg1;
            };
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-4nF

package _-1ae
{
    public interface _-4nF extends IInteractiveWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-4PS

package _-1ae
{
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-Ew.WindowController;

    public class _-4PS extends _-Dn implements ITabButtonWindow 
    {

        private static const _-3Al:String = "TAB_BUTTON_CONTENT";
        private static const _-2Uu:String = "TAB_BUTTON_TITLE";
        private static const _-2eS:String = "TAB_BUTTON_ICON";

        public function _-4PS(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 | WindowParam._-55Y);
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function set caption(_arg1:String):void
        {
            super.caption = _arg1;
            var k:IWindow = findChildByTag(_-2Uu);
            if (k != null)
            {
                k.caption = _arg1;
            };
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            if (_arg2.type == WindowEvent._-jw)
            {
                WindowController.resizeToAccommodateChildren(this);
            };
            return (super.update(_arg1, _arg2));
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-4Qb

package _-1ae
{
    public interface _-4Qb extends ITextFieldWindow 
    {

        function set linkTarget(_arg1:String):void;
        function get linkTarget():String;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-52Q

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-3Qs._-49b;
    import _-3Qs.IGraphicContext;
    import flash.display.DisplayObject;
    import _-0Ie.WindowEvent;

    public class _-52Q extends _-0t2 implements IDesktopWindow, IDisplayObjectWrapper 
    {

        public function _-52Q(_arg1:String, _arg2:WindowContext, _arg3:Rectangle)
        {
            super(_arg1, 0, 0, 0, _arg2, _arg3, null, this._-1Fe, null, null, 0);
        }
        public function get mouseX():int
        {
            return (this.getDisplayObject().stage.mouseX);
        }
        public function get mouseY():int
        {
            return (this.getDisplayObject().stage.mouseY);
        }
        override public function set parent(_arg1:IWindow):void
        {
            throw (new Error("Desktop window doesn't have parent!"));
        }
        override public function set procedure(_arg1:Function):void
        {
            _-07S = (((_arg1)!=null) ? _arg1 : this._-1Fe);
        }
        override public function get host():IWindow
        {
            return (this);
        }
        override public function get desktop():IDesktopWindow
        {
            return (this);
        }
        override public function getGraphicContext(_arg1:Boolean):IGraphicContext
        {
            if (((_arg1) && (!(_-3in))))
            {
                _-3in = new _-49b((("GC {" + _name) + "}"), _-49b.GC_TYPE_DESKTOP, rectangle);
                _-49b(_-3in).mouseEnabled = true;
                _-49b(_-3in).doubleClickEnabled = true;
            };
            return (_-3in);
        }
        public function _-2x-():IWindow
        {
            return (_-40V());
        }
        public function _-0dG(_arg1:IWindow):IWindow
        {
            return (_-3la(_arg1));
        }
        public function getDisplayObject():DisplayObject
        {
            return ((this.getGraphicContext(true) as DisplayObject));
        }
        public function setDisplayObject(_arg1:DisplayObject):void
        {
            this.getGraphicContext(true).setDisplayObject(_arg1);
        }
        override public function invalidate(_arg1:Rectangle=null):void
        {
        }
        private function _-1Fe(_arg1:WindowEvent, _arg2:IWindow):void
        {
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-52X

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-r7.*;

    public class _-52X extends _-2CV implements _-37V, _-0AT 
    {

        public function _-52X(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get menu():IDropMenuWindow
        {
            var k:IWindow = parent;
            while (k)
            {
                if ((k is IDropMenuWindow))
                {
                    break;
                };
                k = k.parent;
            };
            return ((k as IDropMenuWindow));
        }
        public function get value():IWindow
        {
            return (getChildAt(0));
        }
        public function set value(_arg1:IWindow):void
        {
            var k:IWindow = getChildAt(0);
            if (k != _arg1)
            {
                removeChildAt(0);
                if (_arg1)
                {
                    addChild(_arg1);
                };
            };
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-55d

package _-1ae
{
    import _-09j.WindowParam;
    import _-Ew.IWindow;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-0Ie.WindowEvent;
    import _-Ew.WindowController;

    public class _-55d extends InteractiveController implements IDragBarWindow 
    {

        protected var _-3jO:Number;
        protected var _-1Mv:Number;
        protected var _-1U4:ScrollBarController;

        public function _-55d(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-3jO = 0;
            this._-1Mv = 0;
            k = (_arg4 | WindowParam._-JK);
            k = (k | WindowParam._-Oi);
            k = (k | WindowParam._-cc);
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            var k:IWindow = _arg7;
            while (k != null)
            {
                if ((k is IScrollbarWindow))
                {
                    this._-1U4 = ScrollBarController(k);
                    k = null;
                }
                else
                {
                    k = k.parent;
                };
            };
            if (this._-1U4.horizontal)
            {
                _-2rW.minWidth = width;
            }
            else
            {
                _-2rW.minHeight = height;
            };
        }
        public function get offsetX():Number
        {
            return (this._-3jO);
        }
        public function get offsetY():Number
        {
            return (this._-1Mv);
        }
        public function set offsetX(_arg1:Number):void
        {
        }
        public function set offsetY(_arg1:Number):void
        {
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:WindowEvent;
            if (_arg2.type == WindowEvent._-4e0)
            {
                this._-3jO = (((x)!=0) ? (x / Number((_parent.width - width))) : 0);
                this._-1Mv = (((y)!=0) ? (y / Number((_parent.height - height))) : 0);
                if (_parent != this._-1U4)
                {
                    k = WindowEvent._-2W5(WindowEvent._-hr, this, null);
                    this._-1U4.update(this, k);
                    k.recycle();
                };
            };
            return (super.update(_arg1, _arg2));
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-58v

package _-1ae
{
    import _-Ew.IWindowContainer;
    import _-3EM.IMargins;
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-3EM._-1AU;
    import _-2SC._-c0;
    import _-3EM._-yZ;
    import _-18r.Map;
    import _-Ew.WindowController;
    import _-3EM.PropertyStruct;
    import _-484._-0S0;

    public class _-58v extends _-0GK implements IFrameWindow 
    {

        private static const _-65:String = "_TITLE";
        private static const _-AL:String = "_HEADER";
        private static const _-jz:String = "_CONTENT";
        private static const _-23u:String = "_SCALER";

        private var _-o7:_-2aK;
        private var _-2-n:IHeaderWindow;
        private var _-0Mb:IWindowContainer;
        private var _-N1:IMargins;
        private var _-2v:Boolean = false;

        public function _-58v(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 | WindowParam._-55Y);
            k = (k & ~(WindowParam._-Cp));
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            this._-2v = true;
            activate();
            this._-hu();
        }
        public function get title():_-2aK
        {
            return (((this._-o7) ? this._-o7 : this._-o7 = _-2aK(findChildByTag(_-65))));
        }
        public function get header():IHeaderWindow
        {
            return (((this._-2-n) ? this._-2-n : this._-2-n = IHeaderWindow(findChildByTag(_-AL))));
        }
        public function get content():IWindowContainer
        {
            return (((this._-0Mb) ? this._-0Mb : this._-0Mb = IWindowContainer(findChildByTag(_-jz))));
        }
        public function get scaler():IScalerWindow
        {
            return ((findChildByTag(_-23u) as IScalerWindow));
        }
        public function get margins():IMargins
        {
            if (!this._-N1)
            {
                this._-N1 = new _-1AU(this.content.left, this.content.top, this.content.right, this.content.bottom, this._-0kn);
            };
            return (this._-N1);
        }
        override public function set caption(_arg1:String):void
        {
            super.caption = _arg1;
            try
            {
                this.title.text = _arg1;
            }
            catch(e:Error)
            {
            };
        }
        override public function set color(_arg1:uint):void
        {
            var k:IWindow;
            super.color = _arg1;
            var k:Array = new Array();
            _-507(_-1Jf, k);
            for each (k in k)
            {
                k.color = _arg1;
            };
        }
        override public function get iterator():_-yZ
        {
            return (((((!((this.content == null))) && (this._-2v))) ? this.content.iterator : new _-c0(this)));
        }
        override public function buildFromXML(_arg1:XML, _arg2:Map=null):Boolean
        {
            return (!((context.getWindowParser().parseAndConstruct(_arg1, this.content, _arg2) == null)));
        }
        override public function setParamFlag(_arg1:uint, _arg2:Boolean=true):void
        {
            super.setParamFlag(_arg1, _arg2);
            this._-hu();
        }
        private function _-hu():void
        {
            var k:IWindow = this.scaler;
            var k:Boolean = _-1s-(WindowParam._-2ZP);
            var k:Boolean = _-1s-(WindowParam._-4rz);
            var k:Boolean = _-1s-(WindowParam._-21i);
            if (k)
            {
                if (((k) || (k)))
                {
                    k.setParamFlag(WindowParam._-4rz, true);
                }
                else
                {
                    k.setParamFlag(WindowParam._-4rz, false);
                };
                if (((k) || (k)))
                {
                    k.setParamFlag(WindowParam._-21i, true);
                }
                else
                {
                    k.setParamFlag(WindowParam._-21i, false);
                };
                k.visible = ((((k) || (k))) || (k));
            };
        }
        public function _-Ic():void
        {
            resizeToAccommodateChildren((this.content as WindowController));
        }
        private function _-0kn(_arg1:IMargins):void
        {
            var k:IWindow = this.content;
            var k:uint = k.param;
            var k:uint = (k.param & (WindowParam._-WC | WindowParam._-DX));
            if (k)
            {
                k.setParamFlag((WindowParam._-WC | WindowParam._-DX), false);
            };
            var k:uint = (k.param & WindowParam._-3TP);
            if (k)
            {
                k.setParamFlag(WindowParam._-3TP, false);
            };
            k.rectangle = new Rectangle(_arg1.left, _arg1.top, (_arg1.right - _arg1.left), (_arg1.bottom - _arg1.top));
            if (((k) || (k)))
            {
                k.setParamFlag(0xFFFFFFFF, false);
                k.setParamFlag(k, true);
            };
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            var k = !((this._-N1 == null));
            k.push(new PropertyStruct(_-0S0._-3Y7, this.content.left, PropertyStruct._-48r, k));
            k.push(new PropertyStruct(_-0S0._-3if, this.content.top, PropertyStruct._-48r, k));
            k.push(new PropertyStruct(_-0S0._-0Ia, (_-Eb - this.content.right), PropertyStruct._-48r, k));
            k.push(new PropertyStruct(_-0S0._-3Za, (_-ar - this.content.bottom), PropertyStruct._-48r, k));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-3Y7:
                        this.margins.left = (k.value as int);
                        break;
                    case _-0S0._-3if:
                        this.margins.top = (k.value as int);
                        break;
                    case _-0S0._-0Ia:
                        this.margins.right = (_-Eb - (k.value as int));
                        break;
                    case _-0S0._-3Za:
                        this.margins.bottom = (_-ar - (k.value as int));
                        break;
                };
            };
            super.properties = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-5AV

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;

    public class _-5AV extends InteractiveController implements _-4nF 
    {

        public function _-5AV(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-94

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-3Qs._-2b3;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-295._-2kE;
    import _-484._-0S0;
    import _-3EM.PropertyStruct;
    import _-3EM.*;
    import _-295.*;

    public class _-94 extends BitmapDataController implements _-4mB, _-47w, _-53S 
    {

        protected var _-45b:String;
        protected var _-0qg:Boolean = false;

        public function _-94(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                if (this._-0qg)
                {
                    _-04k.dispose();
                };
                super.dispose();
            };
        }
        public function get assetUri():String
        {
            return (this._-45b);
        }
        public function set assetUri(_arg1:String):void
        {
            if (this._-45b == _arg1)
            {
                return;
            };
            this._-45b = _arg1;
            if ((((_arg1 == null)) || ((_arg1.length <= 0))))
            {
                if (this._-0qg)
                {
                    _-04k.dispose();
                };
                _-04k = null;
                this._-0qg = false;
                _context.invalidate(this, null, _-2b3._-35h);
            }
            else
            {
                _context.getResourceManager().retrieveAsset(this._-45b, this);
            };
        }
        public function _-56a(_arg1:_-2kE, _arg2:String):void
        {
            var k:Rectangle;
            if (((_disposed) || (!(_context.getResourceManager().isSameAsset(this._-45b, _arg2)))))
            {
                return;
            };
            var k:BitmapDataAsset = (_arg1 as BitmapDataAsset);
            if (k == null)
            {
                return;
            };
            var k:BitmapData = (k.content as BitmapData);
            if (k == null)
            {
                return;
            };
            if (_-04k != k)
            {
                if (this._-0qg)
                {
                    _-04k.dispose();
                };
                this._-0qg = false;
                k = k.rectangle;
                if ((((k.width == k.width)) && ((k.height == k.height))))
                {
                    _-04k = k;
                }
                else
                {
                    _-04k = new BitmapData(k.width, k.height);
                    _-04k.copyPixels(k, k, new Point(0, 0));
                    this._-0qg = true;
                };
                _context.invalidate(this, null, _-2b3._-35h);
            };
            _-0XK();
        }
        override public function clone():IWindow
        {
            var k:_-94 = (super.clone() as _-94);
            if (this._-0qg)
            {
                k._-04k = _-04k.clone();
            }
            else
            {
                k._-04k = _-04k;
            };
            k._-45b = this._-45b;
            k._-0qg = this._-0qg;
            return (k);
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            k.unshift(_-4wa(_-0S0._-0Zd, this._-45b));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-0Zd:
                        this.assetUri = (k.value as String);
                        break;
                };
            };
            super.properties = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-C7

package _-1ae
{
    import _-3EM.IMargins;
    import _-Ew.IWindowContainer;
    import _-Ew.*;

    public interface _-C7 extends IWindowContainer 
    {

        function get direction():String;
        function set direction(_arg1:String):void;
        function get _-1Bv():int;
        function set _-1Bv(_arg1:int):void;
        function get margins():IMargins;
        function get content():IWindowContainer;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-Dn

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-Ew.WindowController;
    import _-09j.WindowState;
    import _-0Ie.WindowEvent;

    public class _-Dn extends InteractiveController implements ISelectableWindow 
    {

        public function _-Dn(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get selector():ISelectorWindow
        {
            var k:IWindow;
            if (_parent)
            {
                k = (_parent as WindowController);
                while (k)
                {
                    if ((k is ISelectorWindow))
                    {
                        return ((k as ISelectorWindow));
                    };
                    k = k.parent;
                };
            };
            return (null);
        }
        public function get _-vX():Boolean
        {
            return (_-eg(WindowState._-t0));
        }
        public function set _-vX(_arg1:Boolean):void
        {
            _-1H2(WindowState._-t0, _arg1);
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:WindowController;
            var k:WindowEvent;
            if (_arg2.type == WindowEvent._-1M3)
            {
                if (_parent)
                {
                    if (!(_parent is ISelectorWindow))
                    {
                        k = (_parent.parent as WindowController);
                        while (k)
                        {
                            if ((k is ISelectorWindow))
                            {
                                k = WindowEvent._-2W5(WindowEvent._-0kV, this, null);
                                k.update(this, k);
                                k.recycle();
                                break;
                            };
                            k = (k.parent as WindowController);
                        };
                    };
                };
            };
            return (super.update(_arg1, _arg2));
        }
        public function select():Boolean
        {
            if (_-3AV(WindowState._-t0))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-0P3, this, null, true);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            _-1H2(WindowState._-t0, true);
            k = WindowEvent._-2W5(WindowEvent._-2wB, this, null);
            this.update(this, k);
            k.recycle();
            activate();
            return (true);
        }
        public function _-5Aq():Boolean
        {
            if (!_-3AV(WindowState._-t0))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-4Yk, this, null, true);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            _-1H2(WindowState._-t0, false);
            k = WindowEvent._-2W5(WindowEvent._-1Ef, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-T1

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-2SC._-c0;
    import _-3EM._-yZ;
    import _-Ew.*;

    public class _-T1 extends _-Dn implements ITabButtonWindow, IWindowContainer 
    {

        public function _-T1(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get iterator():_-yZ
        {
            return (new _-c0(this));
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-Td

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.WindowController;
    import _-0Ie.WindowEvent;

    public class _-Td extends _-Dn implements ICheckBoxWindow 
    {

        protected static const _-1CL:String = "_CAPTION_TEXT";

        public function _-Td(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function set caption(_arg1:String):void
        {
            super.caption = _arg1;
            var k:IWindow = getChildByName(_-1CL);
            if (k != null)
            {
                k.caption = caption;
            };
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            if (_arg1 == this)
            {
                switch (_arg2.type)
                {
                    case WindowMouseEvent._-02B:
                        if (_-vX)
                        {
                            _-5Aq();
                        }
                        else
                        {
                            select();
                        };
                        break;
                };
            };
            return (super.update(_arg1, _arg2));
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-tP

package _-1ae
{
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-0Ie._-1Dh;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.WindowController;
    import _-r7.*;

    public class _-tP extends InteractiveController implements IButtonWindow, _-0AT 
    {

        protected static const _-1CL:String = "_BTN_TEXT";
        protected static const _-04L:Number = 0.5;

        public function _-tP(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 | WindowParam._-Bh);
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function set caption(_arg1:String):void
        {
            super.caption = _arg1;
            var k:IWindow = getChildByName(_-1CL);
            if (k != null)
            {
                k.caption = caption;
            };
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:String;
            var k:WindowEvent;
            var k:Boolean;
            if ((_arg2 is WindowEvent))
            {
                switch (_arg2.type)
                {
                    case WindowEvent._-jw:
                        width = 0;
                        break;
                    case WindowEvent._-3Z0:
                        try
                        {
                            getChildByName(_-1CL).blend = (getChildByName(_-1CL).blend + _-04L);
                        }
                        catch(e:Error)
                        {
                        };
                        break;
                    case WindowEvent._-15U:
                        try
                        {
                            getChildByName(_-1CL).blend = (getChildByName(_-1CL).blend - _-04L);
                        }
                        catch(e:Error)
                        {
                        };
                        break;
                };
            }
            else
            {
                if ((_arg2 is _-1Dh))
                {
                    k = WindowEvent.UNKNOWN;
                    switch (_arg2.type)
                    {
                        case _-1Dh._-3oG:
                            k = WindowMouseEvent._-3Jy;
                            break;
                        case _-1Dh._-1iS:
                            k = WindowMouseEvent._-02B;
                            break;
                        case _-1Dh._-4n0:
                            k = WindowMouseEvent._-90;
                            break;
                    };
                    k = WindowMouseEvent._-2W5(k, _-1Dh(_arg2).window, _-1Dh(_arg2)._-2JE, _-1Dh(_arg2).localX, _-1Dh(_arg2).localY, _-1Dh(_arg2).stageX, _-1Dh(_arg2).stageY, _-1Dh(_arg2).altKey, _-1Dh(_arg2).ctrlKey, _-1Dh(_arg2).shiftKey, true, 0);
                    k = super.update(_arg1, k);
                    k.recycle();
                    return (k);
                };
            };
            return (super.update(_arg1, _arg2));
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-Uc

package _-1ae
{
    import _-Ew.WindowController;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-2SC._-c0;
    import _-3EM._-yZ;

    public class _-Uc extends WindowController implements IBackgroundWindow 
    {

        public function _-Uc(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            background = true;
            color = 0xFFFFFFFF;
        }
        public function get iterator():_-yZ
        {
            return (new _-c0(this));
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae._-xH

package _-1ae
{
    import _-484._-0S0;
    import flash.text.StyleSheet;
    import flash.text.TextFieldType;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import flash.net.URLRequest;
    import flash.external.ExternalInterface;
    import flash.net.navigateToURL;
    import _-09j._-nM;
    import flash.events.TextEvent;
    import _-0Ie.WindowEvent;
    import _-0Ie._-4HN;
    import flash.events.Event;
    import _-3EM.PropertyStruct;

    public class _-xH extends TextFieldController implements _-4Qb 
    {

        private static const _-0ch:String = "html_stylesheet";

        private static var _-Qx:String = _-0S0._-0Bv;

        private var _-589:String;
        private var _-3Po:String = null;
        private var _-H5:StyleSheet = null;

        public function _-xH(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-589 = _-0S0._-0Bv;
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-0Qw = false;
            this.immediateClickMode = true;
            _-0VK.type = TextFieldType.DYNAMIC;
            _-0VK.mouseEnabled = true;
            _-0VK.selectable = false;
        }
        public static function set _-3c9(_arg1:String):void
        {
            _-Qx = _arg1;
        }
        public static function get _-3c9():String
        {
            return (_-Qx);
        }
        private static function _-4LN(_arg1:_-xH, _arg2:String):void
        {
            var k:StyleSheet;
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1._-3Po == _arg2)
            {
                return;
            };
            _arg1._-3Po = _arg2;
            _arg1._-H5 = null;
            if (_arg1._-3Po != null)
            {
                k = new StyleSheet();
                k.parseCSS(_arg1._-3Po);
                _arg1._-H5 = k;
            };
        }
        private static function _-4lr(_arg1:String):String
        {
            var k:RegExp;
            k = /<a[^>]+(http:\/\/[^"']+)['"][^>]*>(.*)<\/a>/gi;
            k = _arg1.replace(k, "<a href='event:$1'>$2</a>");
            k = /<a[^>]+(https:\/\/[^"']+)['"][^>]*>(.*)<\/a>/gi;
            k = k.replace(k, "<a href='event:$1'>$2</a>");
            return (k);
        }
        private static function _-0D8(_arg1:String, _arg2:String):void
        {
            var userAgent:String;
            var request:URLRequest;
            var result:* = undefined;
            var url:String = _arg1;
            var target:String = _arg2;
            if (target == null)
            {
                target = _-Qx;
            };
            if (ExternalInterface.available)
            {
                try
                {
                    userAgent = String(ExternalInterface.call("function() { return navigator.userAgent; }")).toLowerCase();
                }
                catch(e:Error)
                {
                    userAgent = "";
                };
                if ((((((((userAgent.indexOf("safari") > -1)) || ((userAgent.indexOf("chrome") > -1)))) || ((userAgent.indexOf("firefox") > -1)))) || ((((userAgent.indexOf("msie") > -1)) && ((uint(userAgent.substr((userAgent.indexOf("msie") + 5), 3)) >= 7))))))
                {
                    try
                    {
                        result = ExternalInterface.call((((("function() {var win = window.open('" + url) + "', '") + target) + "'); if (win) { win.focus();} return true; }"));
                    }
                    catch(e:Error)
                    {
                        _-Nb.log("ExternalInterface not working, failed to open external link.");
                    };
                    if (result)
                    {
                        _-Nb.log(("Opened web page url = " + url));
                        return;
                    };
                };
                request = new URLRequest(url);
                navigateToURL(request, target);
            };
        }

        public function set linkTarget(_arg1:String):void
        {
            if (_-0S0._-3Zd.indexOf(_arg1) > -1)
            {
                this._-589 = _arg1;
            };
        }
        public function get linkTarget():String
        {
            return ((((this._-589 == _-nM._-3dr)) ? _-3c9 : this._-589));
        }
        public function get _-29o():String
        {
            return (this._-3Po);
        }
        public function set _-29o(_arg1:String):void
        {
            _-4LN(this, _arg1);
        }
        override public function set immediateClickMode(_arg1:Boolean):void
        {
            if (_arg1 != _-0i)
            {
                super.immediateClickMode = _arg1;
                if (_-0i)
                {
                    _-0VK.addEventListener(TextEvent.LINK, this.immediateClickHandler);
                }
                else
                {
                    _-0VK.removeEventListener(TextEvent.LINK, this.immediateClickHandler);
                };
            };
        }
        override public function set text(_arg1:String):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (_-2OW)
            {
                context.removeLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                _-2OW = false;
            };
            _-3BO = _arg1;
            if ((((_-3BO.charAt(0) == "$")) && ((_-3BO.charAt(1) == "{"))))
            {
                context.registerLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                _-2OW = true;
            }
            else
            {
                if (_-0VK != null)
                {
                    _-0VK.htmlText = _-4lr(_-3BO);
                    refreshTextImage();
                };
            };
        }
        override public function set localization(_arg1:String):void
        {
            if (((!((_arg1 == null))) && (!((_-0VK == null)))))
            {
                _-0VK.htmlText = _-0E0(_-4lr(_arg1));
                refreshTextImage();
            };
        }
        override public function set htmlText(_arg1:String):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (_-2OW)
            {
                context.removeLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                _-2OW = false;
            };
            _-3BO = _arg1;
            if ((((_-3BO.charAt(0) == "$")) && ((_-3BO.charAt(1) == "{"))))
            {
                context.registerLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                _-2OW = true;
            }
            else
            {
                if (_-0VK != null)
                {
                    _-0VK.htmlText = _-4lr(_-3BO);
                    _-0VK.styleSheet = this._-H5;
                    refreshTextImage();
                };
            };
        }
        override protected function immediateClickHandler(_arg1:Event):void
        {
            var k:WindowEvent;
            if ((_arg1 is TextEvent))
            {
                k = _-4HN._-2W5(TextEvent(_arg1).text, this, null);
                if (_-2Te)
                {
                    _-2Te.dispatchEvent(k);
                };
                if (!k._-UW())
                {
                    if (procedure != null)
                    {
                        procedure(k, this);
                    };
                };
                if (((!(k._-UW())) && (!((this.linkTarget == _-nM._-aP)))))
                {
                    _-0D8(TextEvent(_arg1).text, this.linkTarget);
                };
                _arg1.stopImmediatePropagation();
                k.recycle();
            }
            else
            {
                super.immediateClickHandler(_arg1);
            };
        }
        override public function get properties():Array
        {
            var k:Array = InteractiveController._-0Wz(this, super.properties);
            k.push(_-4wa(_-0S0._-29s, (_-0VK.type == TextFieldType.INPUT)));
            k.push(_-4wa(_-0S0._-n-, _-3L1));
            k.push(_-4wa(_-0S0._-3MH, _-0VK.selectable));
            k.push(_-4wa(_-0S0._-0g3, _-0VK.displayAsPassword));
            k.push(_-4wa(_-0S0._-2xy, _-1Gj));
            k.push(_-4wa(_-0S0._-0IU, this._-589));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-0IU:
                        this._-589 = (k.value as String);
                        break;
                    case _-0ch:
                        this._-29o = (k.value as String);
                        break;
                };
            };
            super.properties = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.BitmapDataController

package _-1ae
{
    import _-Ew.WindowController;
    import flash.display.BitmapData;
    import _-484._-04P;
    import _-09j._-az;
    import _-484._-0S0;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-3EM.PropertyStruct;
    import _-3EM.*;

    public class BitmapDataController extends WindowController implements _-47w 
    {

        protected var _-04k:BitmapData;
        protected var _-2Vc:uint;
        protected var _-9r:Boolean;
        protected var _-4rq:Boolean;
        protected var _-4a7:Number;
        protected var _-1uv:Number;
        protected var _-Sd:Boolean;
        protected var _-2Su:uint;
        protected var _-1Fc:Boolean;

        public function BitmapDataController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            var k:_-04P = _arg5.getWindowFactory().getThemeManager().getPropertyDefaults(_arg3);
            this._-2Vc = _-az._-4mR(String(k.get(_-0S0._-5V).value));
            this._-9r = Boolean(k.get(_-0S0._-4pV).value);
            this._-4rq = Boolean(k.get(_-0S0._-1R7).value);
            this._-4a7 = Number(k.get(_-0S0._-1GZ).value);
            this._-1uv = Number(k.get(_-0S0._-0rI).value);
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function dispose():void
        {
            this._-04k = null;
            super.dispose();
        }
        public function get bitmapData():BitmapData
        {
            return (this._-04k);
        }
        public function get pivotPoint():uint
        {
            return (this._-2Vc);
        }
        public function set pivotPoint(_arg1:uint):void
        {
            this._-2Vc = _arg1;
        }
        public function get stretchedX():Boolean
        {
            return (this._-9r);
        }
        public function set stretchedX(_arg1:Boolean):void
        {
            this._-9r = _arg1;
        }
        public function get stretchedY():Boolean
        {
            return (this._-4rq);
        }
        public function set stretchedY(_arg1:Boolean):void
        {
            this._-4rq = _arg1;
        }
        public function get _-yR():Number
        {
            return (this._-4a7);
        }
        public function set _-yR(_arg1:Number):void
        {
            this._-4a7 = _arg1;
            this._-0XK();
        }
        public function get _-394():Number
        {
            return (this._-1uv);
        }
        public function set _-394(_arg1:Number):void
        {
            this._-1uv = _arg1;
            this._-0XK();
        }
        public function get greyscale():Boolean
        {
            return (this._-Sd);
        }
        public function set greyscale(_arg1:Boolean):void
        {
            this._-Sd = _arg1;
        }
        public function get etchingColor():uint
        {
            return (this._-2Su);
        }
        public function set etchingColor(_arg1:uint):void
        {
            this._-2Su = _arg1;
        }
        public function get _-3hC():Boolean
        {
            return (this._-1Fc);
        }
        public function set _-3hC(_arg1:Boolean):void
        {
            this._-1Fc = _arg1;
            this._-0XK();
        }
        protected function _-0XK():void
        {
            if (((this._-1Fc) && (!((this._-04k == null)))))
            {
                width = (this._-04k.width * this._-4a7);
                height = (this._-04k.height * this._-1uv);
            };
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            k.push(_-4wa(_-0S0._-5V, _-az._-3ax[this._-2Vc]));
            k.push(_-4wa(_-0S0._-4pV, this._-9r));
            k.push(_-4wa(_-0S0._-1R7, this._-4rq));
            k.push(_-4wa(_-0S0._-1GZ, this._-4a7));
            k.push(_-4wa(_-0S0._-0rI, this._-1uv));
            k.push(_-4wa(_-0S0._-46k, this._-Sd));
            k.push(_-4wa(_-0S0._-4fC, this._-2Su));
            k.push(_-4wa(_-0S0._-3ha, this._-1Fc));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-5V:
                        this._-2Vc = _-az._-4mR(String(k.value));
                        break;
                    case _-0S0._-4pV:
                        this._-9r = Boolean(k.value);
                        break;
                    case _-0S0._-1R7:
                        this._-4rq = Boolean(k.value);
                        break;
                    case _-0S0._-1GZ:
                        this._-4a7 = Number(k.value);
                        break;
                    case _-0S0._-0rI:
                        this._-1uv = Number(k.value);
                        break;
                    case _-0S0._-46k:
                        this._-Sd = Boolean(k.value);
                        break;
                    case _-0S0._-4fC:
                        this._-2Su = uint(k.value);
                        break;
                    case _-0S0._-3ha:
                        this._-3hC = (k.value as Boolean);
                        break;
                };
            };
            super.properties = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.DropBaseController

package _-1ae
{
    import __AS3__.vec.Vector;
    import _-Ew.IWindow;
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.WindowController;
    import _-09j.WindowType;
    import _-09j.WindowState;
    import _-0Ie._-1Dh;
    import _-484._-0S0;
    import _-3EM.PropertyStruct;
    import __AS3__.vec.*;
    import _-r7.*;

    public class DropBaseController extends InteractiveController implements _-0AT 
    {

        protected static const _-1CL:String = "_DROPLIST_TITLETEXT";
        protected static const _-JA:String = "_DROPLIST_ITEMLIST";

        private var _-1kM:Boolean = false;
        private var _-1YD:Boolean = false;
        protected var _-562:Vector.<IWindow>;
        protected var _-0Hu:int = -1;
        protected var _-2z1:Boolean = false;
        protected var _-4D2:DropBaseController;

        public function DropBaseController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-562 = new Vector.<IWindow>();
            k = (_arg4 | WindowParam._-55Y);
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get selection():int
        {
            return (this._-0Hu);
        }
        public function set selection(_arg1:int):void
        {
            if (_arg1 > (this.numMenuItems - 1))
            {
                throw (new Error("Menu selection index out of range!"));
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-0P3, this, null, true);
            this.update(this, k);
            if (!k._-UW())
            {
                k.recycle();
                this._-0Hu = _arg1;
                this.closeExpandedMenuView();
                k = WindowEvent._-2W5(WindowEvent._-2wB, this, null);
                this.update(this, k);
            };
            k.recycle();
        }
        override public function set caption(_arg1:String):void
        {
            super.caption = _arg1;
            var k:_-2aK = this._-0cO();
            if (k)
            {
                k.text = _arg1;
            };
        }
        override public function dispose():void
        {
            var k:IWindow;
            if (((!((this._-4D2 == null))) && (!(this._-4D2.disposed))))
            {
                this._-4D2.destroy();
                this._-4D2 = null;
            };
            for each (k in this._-562)
            {
                k.dispose();
            };
            this._-562 = null;
            super.dispose();
        }
        override public function activate():Boolean
        {
            if (this._-2z1)
            {
                return (true);
            };
            return (super.activate());
        }
        public function _-0cO():_-2aK
        {
            return ((getChildByName(_-1CL) as _-2aK));
        }
        public function _-3Or():IItemListWindow
        {
            return ((getChildByName(_-JA) as IItemListWindow));
        }
        override public function populate(_arg1:Array):void
        {
            var k:IWindow;
            this._-2z1 = true;
            this.closeExpandedMenuView();
            this._-0Hu = -1;
            while (this._-562.length > 0)
            {
                k = this._-562.pop();
                if (_arg1.indexOf(k) == -1)
                {
                    k.dispose();
                };
            };
            var k:uint;
            while (k < _arg1.length)
            {
                this._-562.push(_arg1[k]);
                k++;
            };
        }
        protected function _-hL():void
        {
            if (!this._-2z1)
            {
                if (this.open())
                {
                    if (this.numMenuItems > 0)
                    {
                        this._-2z1 = true;
                        this.populateExpandedMenu(this._-562, this._-1U1(), this._-4RQ);
                    };
                };
            };
        }
        protected function closeExpandedMenuView():void
        {
            var k:_-37V;
            var k:IWindow;
            var k:IItemListWindow;
            var k:int;
            var k:_-2aK;
            if (this.close())
            {
                if (this._-4D2 != null)
                {
                    k = this._-4D2._-3Or();
                    k.autoArrangeItems = false;
                    k = 0;
                    while (k < k.numListItems)
                    {
                        k = (k.getListItemAt(k) as _-37V);
                        if (k)
                        {
                            k = k.value;
                            if (this._-562.indexOf(k) > -1)
                            {
                                k.value = null;
                                k.setParamFlag(WindowParam._-3Qn, false);
                            };
                        };
                        k++;
                    };
                    this._-4D2.destroy();
                    this._-4D2 = null;
                };
                this._-2z1 = false;
                if (!disposed)
                {
                    k = this._-0cO();
                    k = this._-3Or();
                    if (k)
                    {
                        while (k.numListItems > 0)
                        {
                            k._-3yK(0);
                        };
                        if ((((this._-0Hu < this.numMenuItems)) && ((this._-0Hu > -1))))
                        {
                            k = this._-562[this._-0Hu];
                            k.removeEventListener(WindowMouseEvent._-3Jy, this._-5-w);
                            k.addEventListener(WindowMouseEvent._-3Jy, this._-5-w);
                            k.x = 0;
                            k.y = 0;
                            k.addListItem(k);
                            k.visible = false;
                        }
                        else
                        {
                            k.visible = true;
                        };
                    };
                };
            };
        }
        private function _-1U1():DropBaseController
        {
            var k:Rectangle = new Rectangle();
            getGlobalRectangle(k);
            if ((((this._-4D2 == null)) || (this._-4D2.disposed)))
            {
                this._-4D2 = (context.create((name + "::subMenu"), "", type, _-bl, ((WindowParam._-Bh | uint(((this._-1kM) ? WindowParam._-2Xh : 0))) | WindowParam._-Lm), k, this._-4RQ, null, 0, null, [WindowController.TAG_EXCLUDE]) as DropBaseController);
            }
            else
            {
                this._-4D2._-439(k);
            };
            this._-4D2.activate();
            return (this._-4D2);
        }
        protected function populateExpandedMenu(_arg1:Vector.<IWindow>, _arg2:DropBaseController, _arg3:Function):void
        {
            var k:_-37V;
            var k:IWindow;
            var k:IItemListWindow = _arg2._-3Or();
            k.autoArrangeItems = false;
            var k:uint = _arg1.length;
            var k:int = k.width;
            var k:int = k;
            var k:uint;
            while (k < k)
            {
                k = _arg1[k];
                k = (context.create((((name + "::menuItem[") + k) + "]"), k.caption, WindowType._-2kj, _-bl, ((((WindowParam._-4Gm | WindowParam._-2zO) | WindowParam._-Cp) | WindowParam._-55Y) | WindowParam._-Lm), null, _arg3, null, k, null, [WindowController.TAG_EXCLUDE]) as _-52X);
                k.x = 0;
                k.y = 0;
                k.setParamFlag(WindowParam._-3Qn, true);
                k.value = k;
                k.width = k.value.width;
                k.height = k.value.height;
                k._-2rW.minWidth = k;
                k = Math.max(k, k.width);
                k.addListItem(k);
                k++;
            };
            if (k > k)
            {
                _arg2.width = (_arg2.width + (k - k.width));
                k = 0;
                while (k < k)
                {
                    k.getListItemAt(k)._-2rW.minWidth = k;
                    k++;
                };
            };
            var k:IWindow = context.create((name + "::padding"), "", WindowType._-4q6, _-bl, (((WindowParam._-4Gm | WindowParam._-2zO) | WindowParam._-Cp) | WindowParam._-Lm), new Rectangle(0, 0, 1, 3), null, null, 0, null, [WindowController.TAG_EXCLUDE]);
            k.addListItem(k);
            k.autoArrangeItems = true;
            this._-2bf(_arg2);
            _arg2.activate();
            if ((((this._-0Hu > -1)) && (k)))
            {
                k.getListItemAt(this._-0Hu)._-1H2(WindowState._-t0, true);
            };
        }
        protected function _-2bf(_arg1:IWindow):void
        {
            var k:Rectangle = new Rectangle();
            _arg1.getGlobalRectangle(k);
            if (k.bottom > desktop.bottom)
            {
                _arg1.offset(0, (desktop.bottom - k.bottom));
            }
            else
            {
                if (k.top < desktop.top)
                {
                    _arg1.offset(0, (k.top - desktop.top));
                };
            };
            if (k.left < desktop.left)
            {
                _arg1.offset((k.left - desktop.left), 0);
            }
            else
            {
                if (k.right > desktop.right)
                {
                    _arg1.offset((desktop.right - k.right), 0);
                };
            };
        }
        private function _-5-w(_arg1:WindowEvent):void
        {
            if ((((_arg1.type == WindowMouseEvent._-3Jy)) || ((_arg1.type == _-1Dh._-4n0))))
            {
                if (!this._-2z1)
                {
                    this._-hL();
                };
            };
        }
        protected function _-4RQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case _-1Dh._-1iS:
                case WindowMouseEvent._-02B:
                    if ((_arg2 is _-37V))
                    {
                        if (_arg2._-eg(WindowState._-1kG))
                        {
                            this.selection = this._-rC(_arg2);
                        };
                    };
                    return;
                case _-1Dh._-3oG:
                case WindowMouseEvent._-3Jy:
                    this.selection = this._-rC(_arg2);
                    return;
                case WindowEvent._-zQ:
                    if (_arg2 == this._-4D2)
                    {
                        if (((this._-1YD) && (this._-2z1)))
                        {
                            return;
                        };
                        this.closeExpandedMenuView();
                    };
                    return;
            };
        }
        protected function _-rC(_arg1:IWindow):int
        {
            var k:int = this._-562.indexOf(_arg1);
            if (k == -1)
            {
                if ((_arg1 is _-37V))
                {
                    k = this._-562.indexOf(_-37V(_arg1).value);
                };
            };
            if (k == -1)
            {
                return (this._-0Hu);
            };
            return (k);
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            switch (_arg2.type)
            {
                case _-1Dh._-3oG:
                case WindowMouseEvent._-3Jy:
                    if (this._-2z1)
                    {
                        if (this._-1YD)
                        {
                            this.closeExpandedMenuView();
                        };
                    }
                    else
                    {
                        this._-hL();
                    };
                    break;
            };
            return (super.update(_arg1, _arg2));
        }
        public function open():Boolean
        {
            if (_-3AV(WindowState._-50M))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-3Nc, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            visible = true;
            k = WindowEvent._-2W5(WindowEvent._-4Kn, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function close():Boolean
        {
            if (!_-3AV(WindowState._-50M))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-57x, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            visible = false;
            k = WindowEvent._-2W5(WindowEvent._-2H-, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function get numMenuItems():int
        {
            return (this._-562.length);
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            k.push(_-4wa(_-0S0._-2vB, this._-1kM));
            k.push(_-4wa(_-0S0._-2xl, this._-1YD));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-2vB:
                        this._-1kM = Boolean(k.value);
                        break;
                    case _-0S0._-2xl:
                        this._-1YD = Boolean(k.value);
                        break;
                };
            };
            super.properties = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.DropListController

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-2SC._-0zt;
    import _-3EM._-yZ;
    import _-3EM.*;
    import _-r7.*;

    public class DropListController extends DropBaseController implements _-0bA, _-QQ, _-0AT 
    {

        public function DropListController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get iterator():_-yZ
        {
            return (new _-0zt(this));
        }
        public function _-tA(_arg1:IWindow):IWindow
        {
            return (this._-Yr(_arg1, _-562.length));
        }
        public function _-Yr(_arg1:IWindow, _arg2:int):IWindow
        {
            if (((_arg1) && ((_-562.indexOf(_arg1) == -1))))
            {
                if (!_-0cO())
                {
                    if ((_arg1 is _-2aK))
                    {
                        if (_arg1.name == _-1CL)
                        {
                            return (addChildAt(_arg1, _arg2));
                        };
                    };
                };
                if (!_-3Or())
                {
                    if ((_arg1 is IItemListWindow))
                    {
                        if (_arg1.name == _-JA)
                        {
                            return (addChildAt(_arg1, _arg2));
                        };
                    };
                };
                if (_-2z1)
                {
                    closeExpandedMenuView();
                    _-562.push(_arg1);
                    _-hL();
                }
                else
                {
                    _-562.push(_arg1);
                };
                return (_arg1);
            };
            return (null);
        }
        public function _-5Cb(_arg1:int):IWindow
        {
            return ((((((_arg1 > -1)) && ((_arg1 < _-562.length)))) ? _-562[_arg1] : null));
        }
        public function _-1hc(_arg1:IWindow):IWindow
        {
            var k:int = _-562.indexOf(_arg1);
            if (k > -1)
            {
                if (k == _-0Hu)
                {
                    _-0Hu = -1;
                };
                _-562.splice(k, 1);
                if (_-2z1)
                {
                    closeExpandedMenuView();
                    _-hL();
                };
                return (_arg1);
            };
            return (null);
        }
        public function _-0Iu(_arg1:int):IWindow
        {
            var k:IWindow = _-562[_arg1];
            return (((k) ? this._-1hc(k) : null));
        }
        public function _-0V2(_arg1:IWindow):int
        {
            return (_-562.indexOf(_arg1));
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.DropMenuController

package _-1ae
{
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-09j.WindowType;
    import _-09j.WindowParam;
    import _-Ew.WindowController;
    import _-09j.WindowState;
    import __AS3__.vec.Vector;
    import _-484._-0S0;
    import _-3EM.PropertyStruct;

    public class DropMenuController extends DropBaseController implements IDropMenuWindow 
    {

        private var _-0hx:Array;

        public function DropMenuController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-0hx = [];
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        override public function dispose():void
        {
            this._-0hx = null;
            super.dispose();
        }
        override public function populate(_arg1:Array):void
        {
            _-0Hu = -1;
            while (this._-0hx.length > 0)
            {
                this._-0hx.pop();
            };
            var k:uint;
            while (k < _arg1.length)
            {
                this._-0hx.push(_arg1[k]);
                k++;
            };
            _-2z1 = true;
            this.closeExpandedMenuView();
        }
        override protected function populateExpandedMenu(_arg1:Vector.<IWindow>, _arg2:DropBaseController, _arg3:Function):void
        {
            var k:_-37V;
            if (!_arg2)
            {
                _-Nb.log("Target menu is null, was probably disposed during activation!");
                return;
            };
            var k:IItemListWindow = _arg2._-3Or();
            k.autoArrangeItems = false;
            var k:uint = this._-0hx.length;
            var k:int = k.width;
            var k:int = k;
            var k:uint;
            while (k < k)
            {
                k = (context.create((((name + "::menuItem[") + k) + "]"), this._-0hx[k], WindowType._-4Yi, _-bl, ((((WindowParam._-4Gm | WindowParam._-2zO) | WindowParam._-Cp) | WindowParam._-55Y) | WindowParam._-Lm), null, _arg3, null, k, null, [WindowController.TAG_EXCLUDE]) as _-4B0);
                _-562.push(k);
                k = Math.max(k, k.width);
                k.width = k;
                k.addListItem(k);
                k++;
            };
            if (k > k)
            {
                _arg2.width = (_arg2.width + (k - k.width));
                k = 0;
                while (k < k)
                {
                    k.getListItemAt(k).width = k;
                    k++;
                };
            };
            var k:IWindow = context.create((name + "::padding"), "", WindowType._-4q6, _-bl, (((WindowParam._-4Gm | WindowParam._-2zO) | WindowParam._-Cp) | WindowParam._-Lm), new Rectangle(0, 0, 1, 3), null, null, 0, null, [WindowController.TAG_EXCLUDE]);
            k.addListItem(k);
            k.autoArrangeItems = true;
            _-2bf(_arg2);
            _arg2.activate();
            if ((((_-0Hu > -1)) && (k)))
            {
                k.getListItemAt(_-0Hu)._-1H2(WindowState._-t0, true);
            };
        }
        override protected function closeExpandedMenuView():void
        {
            var k:_-2aK;
            if (close())
            {
                if (_-4D2 != null)
                {
                    _-4D2.destroy();
                    _-4D2 = null;
                };
                _-2z1 = false;
                while (_-562.length > 0)
                {
                    _-562.pop().dispose();
                };
                if (!disposed)
                {
                    k = _-0cO();
                    if (k)
                    {
                        k.text = (((((_-0Hu < this._-0hx.length)) && ((_-0Hu > -1)))) ? this._-0hx[_-0Hu] : caption);
                    };
                };
            };
        }
        public function _-2z4():Array
        {
            var k:int;
            var k:Array = [];
            if (!_disposed)
            {
                k = 0;
                while (k < this._-0hx.length)
                {
                    k.push(this._-0hx[k]);
                    k++;
                };
            };
            return (k);
        }
        override public function get numMenuItems():int
        {
            return (this._-0hx.length);
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            k.push(_-4wa(_-0S0._-0MA, this._-0hx));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-0MA:
                        this.populate((k.value as Array));
                        break;
                };
            };
            super.properties = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IBackgroundWindow

package _-1ae
{
    import _-Ew.*;

    public interface IBackgroundWindow extends IWindowContainer 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IBitmapWrapperWindow

package _-1ae
{
    import flash.display.BitmapData;
    import _-Ew.*;

    public interface IBitmapWrapperWindow extends IWindow 
    {

        function set bitmap(_arg1:BitmapData):void;
        function get bitmap():BitmapData;
        function get _-2Qt():String;
        function set _-2Qt(_arg1:String):void;
        function set _-30Z(_arg1:Boolean):void;
        function get _-30Z():Boolean;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IBorderWindow

package _-1ae
{
    import _-Ew.*;

    public interface IBorderWindow extends IWindowContainer 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IButtonWindow

package _-1ae
{
    public interface IButtonWindow extends IInteractiveWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ICaptionWindow

package _-1ae
{
    import _-Ew.*;

    public interface ICaptionWindow extends IWindowContainer 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ICheckBoxWindow

package _-1ae
{
    public interface ICheckBoxWindow extends ISelectableWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IContainerButtonWindow

package _-1ae
{
    import _-Ew.*;

    public interface IContainerButtonWindow extends IInteractiveWindow, IWindowContainer 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IDesktopWindow

package _-1ae
{
    import _-Ew.IWindow;
    import flash.geom.Point;
    import _-Ew.*;

    public interface IDesktopWindow extends IWindowContainer, IDisplayObjectWrapper 
    {

        function get mouseX():int;
        function get mouseY():int;
        function _-2x-():IWindow;
        function _-0dG(_arg1:IWindow):IWindow;
        function _-3JT(_arg1:Point, _arg2:Array, _arg3:uint=0):void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IDisplayObjectWrapper

package _-1ae
{
    import flash.display.DisplayObject;
    import _-Ew.*;

    public interface IDisplayObjectWrapper extends IWindow 
    {

        function setDisplayObject(_arg1:DisplayObject):void;
        function getDisplayObject():DisplayObject;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IDragBarWindow

package _-1ae
{
    public interface IDragBarWindow extends IInteractiveWindow 
    {

        function get offsetX():Number;
        function get offsetY():Number;
        function set offsetX(_arg1:Number):void;
        function set offsetY(_arg1:Number):void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IDropMenuWindow

package _-1ae
{
    public interface IDropMenuWindow extends IInteractiveWindow 
    {

        function get selection():int;
        function set selection(_arg1:int):void;
        function get numMenuItems():int;
        function populate(_arg1:Array):void;
        function _-2z4():Array;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IFrameWindow

package _-1ae
{
    import _-Ew.IWindowContainer;
    import _-3EM.IMargins;
    import _-Ew.*;

    public interface IFrameWindow extends IWindowContainer 
    {

        function get title():_-2aK;
        function get header():IHeaderWindow;
        function get content():IWindowContainer;
        function get margins():IMargins;
        function get scaler():IScalerWindow;
        function _-Ic():void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IHeaderWindow

package _-1ae
{
    import _-Ew.*;

    public interface IHeaderWindow extends IWindowContainer 
    {

        function get title():_-2aK;
        function get controls():IItemListWindow;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IIconWindow

package _-1ae
{
    import _-Ew.*;

    public interface IIconWindow extends IWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IInteractiveWindow

package _-1ae
{
    import _-Ew.*;

    public interface IInteractiveWindow extends IWindow 
    {

        function set _-2QR(_arg1:String):void;
        function get _-2QR():String;
        function set _-1e(_arg1:uint):void;
        function get _-1e():uint;
        function set _-5Z(_arg1:Boolean):void;
        function get _-5Z():Boolean;
        function _-4H7(_arg1:_-25T):void;
        function _-4IH():void;
        function _-1iv(_arg1:uint, _arg2:uint):uint;
        function _-lr(_arg1:uint):uint;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IItemGridWindow

package _-1ae
{
    import _-Ew.IWindow;
    import _-3EM.*;
    import _-Ew.*;

    public interface IItemGridWindow extends IWindow, IScrollableWindow, _-QQ 
    {

        function get _-10I():uint;
        function get _-3X0():uint;
        function get numGridItems():uint;
        function get autoArrangeItems():Boolean;
        function set autoArrangeItems(_arg1:Boolean):void;
        function _-2-F(_arg1:IWindow):IWindow;
        function _-F4(_arg1:IWindow, _arg2:uint):IWindow;
        function _-jx(_arg1:uint):IWindow;
        function _-3p3(_arg1:uint):IWindow;
        function _-5g(_arg1:String):IWindow;
        function _-0c6(_arg1:String):IWindow;
        function getGridItemIndex(_arg1:IWindow):int;
        function _-0SW(_arg1:IWindow):IWindow;
        function _-14z(_arg1:int):IWindow;
        function _-0h8(_arg1:IWindow, _arg2:int):void;
        function _-rP(_arg1:IWindow, _arg2:IWindow):void;
        function _-10g(_arg1:int, _arg2:int):void;
        function _-360():void;
        function destroyGridItems():void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IItemListWindow

package _-1ae
{
    import _-Ew.IWindow;
    import _-3EM.*;
    import _-Ew.*;

    public interface IItemListWindow extends IWindow, IScrollableWindow, _-QQ 
    {

        function get spacing():int;
        function set spacing(_arg1:int):void;
        function get _-2zg():Boolean;
        function set _-2zg(_arg1:Boolean):void;
        function get autoArrangeItems():Boolean;
        function set autoArrangeItems(_arg1:Boolean):void;
        function get _-nF():Boolean;
        function set _-nF(_arg1:Boolean):void;
        function get numListItems():int;
        function addListItem(_arg1:IWindow):IWindow;
        function _-kE(_arg1:IWindow, _arg2:uint):IWindow;
        function getListItemAt(_arg1:uint):IWindow;
        function _-Ar(_arg1:uint):IWindow;
        function getListItemByName(_arg1:String):IWindow;
        function _-2yP(_arg1:String):IWindow;
        function _-ed(_arg1:IWindow):int;
        function _-4sE(_arg1:IWindow):IWindow;
        function _-3yK(_arg1:int):IWindow;
        function _-0ei(_arg1:IWindow, _arg2:int):void;
        function _-0bn(_arg1:IWindow, _arg2:IWindow):void;
        function _-1DH(_arg1:uint, _arg2:Array, _arg3:int=0):uint;
        function _-07n(_arg1:String, _arg2:Array, _arg3:int=0):uint;
        function _-4sB(_arg1:int, _arg2:int):void;
        function _-3mI():void;
        function _-Ls():void;
        function _-0O3():void;
        function populate(_arg1:Array):void;
        function _-4Wt():void;
        function set _-4XB(_arg1:Boolean):void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.INotifyWindow

package _-1ae
{
    import _-Ew.*;

    public interface INotifyWindow extends IWindowContainer 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.InteractiveController

package _-1ae
{
    import _-Ew.WindowController;
    import _-18r.Map;
    import _-09j.WindowParam;
    import _-484._-4iz;
    import _-484._-0S0;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-3EM.PropertyStruct;
    import _-09j._-25s;

    public class InteractiveController extends WindowController implements IInteractiveWindow 
    {

        protected var _-1-f:uint;
        protected var _-29x:String;
        protected var _-1nm:Boolean;
        protected var _-01h:Map;

        public function InteractiveController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 | WindowParam._-55Y);
            var k:_-4iz = _arg5.getWindowFactory().getThemeManager();
            this._-1-f = int(k.getPropertyDefaults(_arg3).get(_-0S0._-0iQ).value);
            this._-29x = String(k.getPropertyDefaults(_arg3).get(_-0S0._-25d).value);
            this._-1nm = k.getPropertyDefaults(_arg3).get(_-0S0._-1g3).value;
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public static function _-3kw(_arg1:IInteractiveWindow, _arg2:WindowEvent):void
        {
            if (_arg1._-5Z)
            {
                if (_arg2.type == WindowMouseEvent._-4ea)
                {
                    _arg1.context.getWindowServices().getToolTipAgentService().begin(_arg1);
                }
                else
                {
                    if (_arg2.type == WindowMouseEvent._-2dT)
                    {
                        _arg1.context.getWindowServices().getToolTipAgentService().updateCaption(_arg1);
                    }
                    else
                    {
                        if (_arg2.type == WindowMouseEvent._-4e2)
                        {
                            _arg1.context.getWindowServices().getToolTipAgentService().end(_arg1);
                        };
                    };
                };
            }
            else
            {
                if (((!((_arg1._-2QR == null))) && ((_arg1._-2QR.length > 0))))
                {
                    if (_arg2.type == WindowMouseEvent._-4ea)
                    {
                        _arg1.context.getWindowServices().getToolTipAgentService().begin(_arg1);
                    }
                    else
                    {
                        if (_arg2.type == WindowMouseEvent._-4e2)
                        {
                            _arg1.context.getWindowServices().getToolTipAgentService().end(_arg1);
                        };
                    };
                };
            };
        }
        public static function _-0N(_arg1:IInteractiveWindow, _arg2:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg2)
            {
                switch (k.key)
                {
                    case _-0S0._-25d:
                        if (k.value != _arg1._-2QR)
                        {
                            _arg1._-2QR = (k.value as String);
                        };
                        break;
                    case _-0S0._-0iQ:
                        if (k.value != _arg1._-1e)
                        {
                            _arg1._-1e = (k.value as uint);
                        };
                        break;
                    case _-0S0._-1g3:
                        if (k.value != _arg1._-5Z)
                        {
                            _arg1._-5Z = (k.value as Boolean);
                        };
                        break;
                };
            };
        }
        public static function _-0Wz(_arg1:IInteractiveWindow, _arg2:Array):Array
        {
            _arg2.push(_arg1._-4wa(_-0S0._-25d, _arg1._-2QR));
            _arg2.push(_arg1._-4wa(_-0S0._-0iQ, _arg1._-1e));
            _arg2.push(_arg1._-4wa(_-0S0._-1g3, _arg1._-5Z));
            return (_arg2);
        }

        public function set _-2QR(_arg1:String):void
        {
            this._-29x = (((_arg1 == null)) ? String(_-aJ(_-0S0._-25d).value) : _arg1);
        }
        public function get _-2QR():String
        {
            return (this._-29x);
        }
        public function set _-1e(_arg1:uint):void
        {
            this._-1-f = _arg1;
        }
        public function get _-1e():uint
        {
            return (this._-1-f);
        }
        public function _-1iv(_arg1:uint, _arg2:uint):uint
        {
            if (!this._-01h)
            {
                this._-01h = new Map();
            };
            var k:uint = this._-01h[_arg1];
            if ((((_arg2 == _-25s._-3dr)) || ((_arg2 == -1))))
            {
                this._-01h.remove(_arg1);
            }
            else
            {
                this._-01h[_arg1] = _arg2;
            };
            return (k);
        }
        public function _-lr(_arg1:uint):uint
        {
            if (!this._-01h)
            {
                return (_-25s._-3dr);
            };
            return (this._-01h.getValue(_arg1));
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            if (_arg1 == this)
            {
                _-3kw(this, _arg2);
            };
            return (super.update(_arg1, _arg2));
        }
        public function _-4H7(_arg1:_-25T):void
        {
        }
        public function _-4IH():void
        {
        }
        override public function get properties():Array
        {
            return (_-0Wz(this, super.properties));
        }
        override public function set properties(_arg1:Array):void
        {
            _-0N(this, _arg1);
            super.properties = _arg1;
        }
        public function set _-5Z(_arg1:Boolean):void
        {
            this._-1nm = _arg1;
        }
        public function get _-5Z():Boolean
        {
            return (this._-1nm);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IPasswordFieldWindow

package _-1ae
{
    public interface IPasswordFieldWindow extends ITextFieldWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IRadioButtonSelectionWindow

package _-1ae
{
    import _-Ew.*;

    public interface IRadioButtonSelectionWindow extends IWindowContainer 
    {

        function get selected():IRadioButtonWindow;
        function _-0yQ(_arg1:IRadioButtonWindow):void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IRadioButtonWindow

package _-1ae
{
    public interface IRadioButtonWindow extends ISelectableWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IRegionWindow

package _-1ae
{
    import _-Ew.*;

    public interface IRegionWindow extends IWindowContainer, IInteractiveWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IScalerWindow

package _-1ae
{
    import _-Ew.*;

    public interface IScalerWindow extends IWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IScrollableWindow

package _-1ae
{
    import flash.geom.Rectangle;
    import _-Ew.*;

    public interface IScrollableWindow extends IWindow 
    {

        function get scrollH():Number;
        function get scrollV():Number;
        function set scrollH(_arg1:Number):void;
        function set scrollV(_arg1:Number):void;
        function get scrollStepH():Number;
        function get scrollStepV():Number;
        function set scrollStepH(_arg1:Number):void;
        function set scrollStepV(_arg1:Number):void;
        function get maxScrollH():int;
        function get maxScrollV():int;
        function get _-0yi():Rectangle;
        function get _-2yI():Rectangle;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IScrollbarWindow

package _-1ae
{
    public interface IScrollbarWindow extends IInteractiveWindow 
    {

        function get scrollH():Number;
        function get scrollV():Number;
        function get scrollable():IScrollableWindow;
        function set scrollH(_arg1:Number):void;
        function set scrollV(_arg1:Number):void;
        function set scrollable(_arg1:IScrollableWindow):void;
        function get vertical():Boolean;
        function get horizontal():Boolean;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ISelectableWindow

package _-1ae
{
    import _-Ew.*;

    public interface ISelectableWindow extends IWindow 
    {

        function get selector():ISelectorWindow;
        function get _-vX():Boolean;
        function set _-vX(_arg1:Boolean):void;
        function select():Boolean;
        function _-5Aq():Boolean;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ISelectorListWindow

package _-1ae
{
    import _-3EM.*;

    public interface ISelectorListWindow extends ISelectorWindow, _-QQ 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ISelectorWindow

package _-1ae
{
    import _-Ew.*;

    public interface ISelectorWindow extends IWindow 
    {

        function get _-1aI():uint;
        function _-WM():ISelectableWindow;
        function setSelected(_arg1:ISelectableWindow):void;
        function _-4La(_arg1:ISelectableWindow):ISelectableWindow;
        function _-1Sw(_arg1:ISelectableWindow, _arg2:int):ISelectableWindow;
        function _-0wi(_arg1:int):ISelectableWindow;
        function _-pG(_arg1:uint):ISelectableWindow;
        function _-138(_arg1:String):ISelectableWindow;
        function _-4Vf(_arg1:String):ISelectableWindow;
        function _-2Vt(_arg1:ISelectableWindow):int;
        function _-1KF(_arg1:ISelectableWindow):ISelectableWindow;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ITabButtonWindow

package _-1ae
{
    public interface ITabButtonWindow extends ISelectableWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ITabContentWindow

package _-1ae
{
    import _-Ew.*;

    public interface ITabContentWindow extends IWindowContainer 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ITabContextWindow

package _-1ae
{
    import _-Ew.IWindowContainer;
    import _-3EM.*;
    import _-Ew.*;

    public interface ITabContextWindow extends IWindow, _-QQ 
    {

        function get selector():ISelectorListWindow;
        function get container():IWindowContainer;
        function get _-2Z():uint;
        function _-1IO(_arg1:ITabButtonWindow):ITabButtonWindow;
        function _-0Y-(_arg1:ITabButtonWindow, _arg2:uint):ITabButtonWindow;
        function _-32B(_arg1:ITabButtonWindow):void;
        function _-3Zg(_arg1:uint):ITabButtonWindow;
        function _-4UW(_arg1:String):ITabButtonWindow;
        function _-08S(_arg1:uint):ITabButtonWindow;
        function _-5Ah(_arg1:ITabButtonWindow):uint;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ITextFieldWindow

package _-1ae
{
    public interface ITextFieldWindow extends ITextWindow, _-0HO, IInteractiveWindow 
    {

        function get editable():Boolean;
        function set editable(_arg1:Boolean):void;
        function get selectable():Boolean;
        function set selectable(_arg1:Boolean):void;
        function get displayAsPassword():Boolean;
        function set displayAsPassword(_arg1:Boolean):void;
        function get _-0hQ():Boolean;
        function set _-0hQ(_arg1:Boolean):void;
        function get _-3sq():Boolean;
        function set _-3sq(_arg1:Boolean):void;
        function setSelection(_arg1:int, _arg2:int):void;
        function get selectionBeginIndex():int;
        function get selectionEndIndex():int;
        function get restrict():String;
        function set restrict(_arg1:String):void;
        function _-1Ax():void;
        function _-3ex(_arg1:int, _arg2:int):String;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ITextWindow

package _-1ae
{
    import flash.text.TextFormat;
    import _-3EM.IMargins;
    import _-3EM.TextStyle;
    import flash.geom.Rectangle;
    import flash.display.DisplayObject;
    import flash.text.TextLineMetrics;
    import _-Ew.*;

    public interface ITextWindow extends IWindow, IScrollableWindow 
    {

        function get antiAliasType():String;
        function get autoSize():String;
        function get bold():Boolean;
        function get border():Boolean;
        function get borderColor():uint;
        function get bottomScrollV():int;
        function get defaultTextFormat():TextFormat;
        function get embedFonts():Boolean;
        function get _-PX():String;
        function get fontSize():uint;
        function get gridFitType():String;
        function get htmlText():String;
        function get italic():Boolean;
        function get kerning():Boolean;
        function get length():int;
        function get margins():IMargins;
        function get maxChars():int;
        function get multiline():Boolean;
        function get numLines():int;
        function get sharpness():Number;
        function get spacing():Number;
        function get text():String;
        function get textColor():uint;
        function get _-1X4():Boolean;
        function get _-48j():uint;
        function get textHeight():Number;
        function get textWidth():Number;
        function get _-5-G():TextStyle;
        function get thickness():Number;
        function get underline():Boolean;
        function get wordWrap():Boolean;
        function get immediateClickMode():Boolean;
        function get etchingColor():uint;
        function get etchingPosition():String;
        function set antiAliasType(_arg1:String):void;
        function set autoSize(_arg1:String):void;
        function set bold(_arg1:Boolean):void;
        function set border(_arg1:Boolean):void;
        function set borderColor(_arg1:uint):void;
        function set defaultTextFormat(_arg1:TextFormat):void;
        function set embedFonts(_arg1:Boolean):void;
        function set _-PX(_arg1:String):void;
        function set fontSize(_arg1:uint):void;
        function set gridFitType(_arg1:String):void;
        function set htmlText(_arg1:String):void;
        function set italic(_arg1:Boolean):void;
        function set kerning(_arg1:Boolean):void;
        function set maxChars(_arg1:int):void;
        function set multiline(_arg1:Boolean):void;
        function set sharpness(_arg1:Number):void;
        function set spacing(_arg1:Number):void;
        function set text(_arg1:String):void;
        function set textColor(_arg1:uint):void;
        function set _-1X4(_arg1:Boolean):void;
        function set _-48j(_arg1:uint):void;
        function set _-5-G(_arg1:TextStyle):void;
        function set thickness(_arg1:Number):void;
        function set underline(_arg1:Boolean):void;
        function set wordWrap(_arg1:Boolean):void;
        function set immediateClickMode(_arg1:Boolean):void;
        function set etchingColor(_arg1:uint):void;
        function set etchingPosition(_arg1:String):void;
        function appendText(_arg1:String):void;
        function getCharBoundaries(_arg1:int):Rectangle;
        function getCharIndexAtPoint(_arg1:Number, _arg2:Number):int;
        function getFirstCharInParagraph(_arg1:int):int;
        function getImageReference(_arg1:String):DisplayObject;
        function getLineIndexAtPoint(_arg1:Number, _arg2:Number):int;
        function getLineIndexOfChar(_arg1:int):int;
        function getLineLength(_arg1:int):int;
        function getLineMetrics(_arg1:int):TextLineMetrics;
        function getLineOffset(_arg1:int):int;
        function getLineText(_arg1:int):String;
        function getParagraphLength(_arg1:int):int;
        function getTextFormat(_arg1:int=-1, _arg2:int=-1):TextFormat;
        function replaceText(_arg1:int, _arg2:int, _arg3:String):void;
        function setTextFormat(_arg1:TextFormat, _arg2:int=-1, _arg3:int=-1):void;
        function _-Sk():void;

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.IToolBarWindow

package _-1ae
{
    import _-Ew.*;

    public interface IToolBarWindow extends IWindow 
    {

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.RegionController

package _-1ae
{
    import _-18r.Map;
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-09j._-25s;
    import _-Ew.WindowController;
    import _-0Ie.WindowEvent;

    public class RegionController extends _-0GK implements IRegionWindow 
    {

        protected static const _-Sr:String = "tool_tip_caption";
        protected static const _-0rf:String = "";
        protected static const _-2Ct:String = "tool_tip_delay";
        protected static const _-2gn:uint = 500;

        protected var _-1-f:uint = 500;
        protected var _-29x:String = "";
        protected var _-1nm:Boolean = false;
        protected var _-01h:Map;

        public function RegionController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            k = (_arg4 | WindowParam._-55Y);
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function set _-2QR(_arg1:String):void
        {
            this._-29x = (((_arg1 == null)) ? "" : _arg1);
        }
        public function get _-2QR():String
        {
            return (this._-29x);
        }
        public function set _-1e(_arg1:uint):void
        {
            this._-1-f = _arg1;
        }
        public function get _-1e():uint
        {
            return (this._-1-f);
        }
        public function _-4H7(_arg1:_-25T):void
        {
        }
        public function _-4IH():void
        {
        }
        public function _-1iv(_arg1:uint, _arg2:uint):uint
        {
            if (!this._-01h)
            {
                this._-01h = new Map();
            };
            var k:uint = this._-01h[_arg1];
            if ((((_arg2 == _-25s._-3dr)) || ((_arg2 == -1))))
            {
                this._-01h.remove(_arg1);
            }
            else
            {
                this._-01h[_arg1] = _arg2;
            };
            return (k);
        }
        public function _-lr(_arg1:uint):uint
        {
            if (!this._-01h)
            {
                return (_-25s._-3dr);
            };
            return (this._-01h.getValue(_arg1));
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:Boolean = super.update(_arg1, _arg2);
            if (_arg1 == this)
            {
                InteractiveController._-3kw(this, _arg2);
            };
            return (k);
        }
        override public function get properties():Array
        {
            return (InteractiveController._-0Wz(this, super.properties));
        }
        override public function set properties(_arg1:Array):void
        {
            InteractiveController._-0N(this, _arg1);
            super.properties = _arg1;
        }
        public function set _-5Z(_arg1:Boolean):void
        {
            this._-1nm = _arg1;
        }
        public function get _-5Z():Boolean
        {
            return (this._-1nm);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.ScrollBarController

package _-1ae
{
    import _-Ew.IWindow;
    import _-09j.WindowType;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-0Ie.WindowEvent;
    import _-484._-0S0;
    import _-3EM.PropertyStruct;
    import _-Ew.WindowController;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie._-1Dh;
    import _-Ew.IWindowContainer;
    import _-r7.*;

    public class ScrollBarController extends InteractiveController implements IScrollbarWindow, _-0AT 
    {

        private static const _-0Mw:String = "increment";
        private static const _-3nm:String = "decrement";
        private static const _-1DV:String = "slider_track";
        private static const _-0kY:String = "slider_bar";

        protected var _-1fe:Number = 0;
        protected var _-1nS:Number = 0.1;
        protected var _-20O:IScrollableWindow;
        private var _-35n:Boolean;
        private var _-4T-:String;
        private var _-ot:Boolean = false;

        public function ScrollBarController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0, _arg12:IScrollableWindow=null)
        {
            var k:IWindow;
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-2Hw = false;
            this._-20O = _arg12;
            this._-35n = (_arg2 == WindowType._-3tF);
            var k:Array = new Array();
            _-507(TAG_INTERNAL, k, -1);
            for each (k in k)
            {
                k.procedure = this._-2pw;
            };
            this._-0Kw();
        }
        public function get scrollH():Number
        {
            return (((this._-35n) ? this._-1fe : 0));
        }
        public function get scrollV():Number
        {
            return (((this._-35n) ? 0 : this._-1fe));
        }
        public function get scrollable():IScrollableWindow
        {
            return (this._-20O);
        }
        public function set scrollH(_arg1:Number):void
        {
            if (this._-35n)
            {
                if (this._-1sX(_arg1))
                {
                    this._-0Kw();
                };
            };
        }
        public function set scrollV(_arg1:Number):void
        {
            if (!this._-35n)
            {
                if (this._-1sX(_arg1))
                {
                    this._-0Kw();
                };
            };
        }
        public function set scrollable(_arg1:IScrollableWindow):void
        {
            if (((!((this._-20O == null))) && (!(this._-20O.disposed))))
            {
                this._-20O.removeEventListener(WindowEvent._-3K0, this._-4Se);
                this._-20O.removeEventListener(WindowEvent._-4Gq, this._-2E1);
            };
            this._-20O = _arg1;
            if (((!((this._-20O == null))) && (!(this._-20O.disposed))))
            {
                this._-20O.addEventListener(WindowEvent._-3K0, this._-4Se);
                this._-20O.addEventListener(WindowEvent._-4Gq, this._-2E1);
                this._-0Kw();
            };
        }
        public function get horizontal():Boolean
        {
            return (this._-35n);
        }
        public function get vertical():Boolean
        {
            return (!(this._-35n));
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            var k:String;
            if ((this._-20O is IWindow))
            {
                k = IWindow(this._-20O).name;
            }
            else
            {
                if (this._-4T- != null)
                {
                    k = this._-4T-;
                };
            };
            if (k == null)
            {
                k.push(_-aJ(_-0S0._-ud));
            }
            else
            {
                k.push(_-4wa(_-0S0._-ud, k));
            };
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-ud:
                        this._-4T- = (k.value as String);
                        this._-20O = null;
                        break;
                };
            };
            super.properties = _arg1;
        }
        protected function get track():WindowController
        {
            return ((findChildByName(_-1DV) as WindowController));
        }
        protected function get _-tF():WindowController
        {
            return ((this.track.findChildByName(_-0kY) as WindowController));
        }
        override public function dispose():void
        {
            this.scrollable = null;
            super.dispose();
        }
        override public function enable():Boolean
        {
            var k:Array;
            var k:uint;
            if (super.enable())
            {
                k = new Array();
                _-507(TAG_INTERNAL, k, -1);
                k = 0;
                while (k < k.length)
                {
                    IWindow(k[k]).enable();
                    k++;
                };
                return (true);
            };
            return (false);
        }
        override public function disable():Boolean
        {
            var k:Array;
            var k:uint;
            if (super.disable())
            {
                k = new Array();
                _-507(TAG_INTERNAL, k, -1);
                k = 0;
                while (k < k.length)
                {
                    IWindow(k[k]).disable();
                    k++;
                };
                return (true);
            };
            return (false);
        }
        protected function _-1sX(_arg1:Number):Boolean
        {
            var k:Boolean;
            if ((((this._-20O == null)) || (this._-20O.disposed)))
            {
                if (!this._-4bz())
                {
                    return (false);
                };
            };
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (_arg1 > 1)
            {
                k = 1;
            };
            this._-1fe = _arg1;
            if (this._-35n)
            {
                k = !((this._-20O.scrollH == this._-1fe));
                if (k)
                {
                    this._-20O.scrollH = this._-1fe;
                };
            }
            else
            {
                k = !((this._-20O.scrollV == this._-1fe));
                if (k)
                {
                    this._-20O.scrollV = this._-1fe;
                };
            };
            return (k);
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            switch (_arg1.name)
            {
                case ScrollBarController._-0kY:
                    if (_arg2.type == WindowEvent._-hr)
                    {
                        if (!this._-ot)
                        {
                            if (this._-35n)
                            {
                                this._-1sX(_-55d(_arg1).offsetX);
                            }
                            else
                            {
                                this._-1sX(_-55d(_arg1).offsetY);
                            };
                        };
                    };
                    break;
            };
            var k:Boolean = super.update(_arg1, _arg2);
            if (_arg2.type == WindowEvent._-3g1)
            {
                if (this._-20O == null)
                {
                    this._-4bz();
                };
            };
            if (_arg1 == this)
            {
                if (_arg2.type == WindowEvent._-3K0)
                {
                    this._-0Kw();
                }
                else
                {
                    if (_arg2.type == WindowMouseEvent._-yk)
                    {
                        if (WindowMouseEvent(_arg2).delta > 0)
                        {
                            if (this._-35n)
                            {
                                this.scrollH = (this.scrollH - this._-1nS);
                            }
                            else
                            {
                                this.scrollV = (this.scrollV - this._-1nS);
                            };
                        }
                        else
                        {
                            if (this._-35n)
                            {
                                this.scrollH = (this.scrollH + this._-1nS);
                            }
                            else
                            {
                                this.scrollV = (this.scrollV + this._-1nS);
                            };
                        };
                        k = true;
                    };
                };
            };
            return (k);
        }
        private function _-0Kw():void
        {
            var k:Number;
            var k:int;
            if ((((this._-20O == null)) || (this._-20O.disposed)))
            {
                if (((_disposed) || (!(this._-4bz()))))
                {
                    return;
                };
            };
            var k:WindowController = this.track;
            var k:WindowController = this._-tF;
            if (k != null)
            {
                if (this._-35n)
                {
                    k = (this._-20O._-0yi.width / this._-20O._-2yI.width);
                    if (k > 1)
                    {
                        k = 1;
                    };
                    k = (k * k.width);
                    k.width = k;
                    k.x = Math.round((this._-20O.scrollH * (k.width - k)));
                }
                else
                {
                    k = (this._-20O._-0yi.height / this._-20O._-2yI.height);
                    if (k > 1)
                    {
                        k = 1;
                    };
                    k = (k * k.height);
                    k.height = k;
                    k.y = Math.round((this._-20O.scrollV * (k.height - k.height)));
                };
            };
            if (k == 1)
            {
                this.disable();
            }
            else
            {
                this.enable();
            };
        }
        private function _-4NZ(_arg1:WindowEvent, _arg2:IWindow):void
        {
        }
        private function _-2pw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            var k:int;
            var k:IWindow;
            var k:Boolean;
            if ((((_arg1.type == WindowMouseEvent._-3Jy)) || ((_arg1.type == _-1Dh._-4n0))))
            {
                if (_arg2.name == _-0Mw)
                {
                    if (this._-20O)
                    {
                        this._-ot = true;
                        if (this._-35n)
                        {
                            this.scrollH = (this.scrollH + (this._-20O.scrollStepH / this._-20O.maxScrollH));
                        }
                        else
                        {
                            this.scrollV = (this.scrollV + (this._-20O.scrollStepV / this._-20O.maxScrollV));
                        };
                        this._-ot = false;
                    };
                }
                else
                {
                    if (_arg2.name == _-3nm)
                    {
                        if (this._-20O)
                        {
                            this._-ot = true;
                            if (this._-35n)
                            {
                                this.scrollH = (this.scrollH - (this._-20O.scrollStepH / this._-20O.maxScrollH));
                            }
                            else
                            {
                                this.scrollV = (this.scrollV - (this._-20O.scrollStepV / this._-20O.maxScrollV));
                            };
                            this._-ot = false;
                        };
                    }
                    else
                    {
                        if (_arg2.name == _-1DV)
                        {
                            if ((_arg1 is WindowMouseEvent))
                            {
                                k = WindowMouseEvent(_arg1).localX;
                                k = WindowMouseEvent(_arg1).localY;
                            }
                            else
                            {
                                if ((_arg1 is _-1Dh))
                                {
                                    k = _-1Dh(_arg1).localX;
                                    k = _-1Dh(_arg1).localY;
                                };
                            };
                            k = WindowController(_arg2).getChildByName(ScrollBarController._-0kY);
                            if (this._-35n)
                            {
                                if (k < k.x)
                                {
                                    this.scrollH = (this.scrollH - ((this._-20O._-0yi.width - this._-20O.scrollStepH) / this._-20O.maxScrollH));
                                }
                                else
                                {
                                    if (k > k.right)
                                    {
                                        this.scrollH = (this.scrollH + ((this._-20O._-0yi.width - this._-20O.scrollStepH) / this._-20O.maxScrollH));
                                    };
                                };
                            }
                            else
                            {
                                if (k < k.y)
                                {
                                    this.scrollV = (this.scrollV - ((this._-20O._-0yi.height - this._-20O.scrollStepV) / this._-20O.maxScrollV));
                                }
                                else
                                {
                                    if (k > k.bottom)
                                    {
                                        this.scrollV = (this.scrollV + ((this._-20O._-0yi.height - this._-20O.scrollStepV) / this._-20O.maxScrollV));
                                    };
                                };
                            };
                            k = true;
                        };
                    };
                };
            };
            if (_arg1.type == WindowMouseEvent._-yk)
            {
                if (WindowMouseEvent(_arg1).delta > 0)
                {
                    if (this._-35n)
                    {
                        this.scrollH = (this.scrollH - this._-1nS);
                    }
                    else
                    {
                        this.scrollV = (this.scrollV - this._-1nS);
                    };
                }
                else
                {
                    if (this._-35n)
                    {
                        this.scrollH = (this.scrollH + this._-1nS);
                    }
                    else
                    {
                        this.scrollV = (this.scrollV + this._-1nS);
                    };
                };
                k = true;
            };
            if (k)
            {
                this._-0Kw();
            };
        }
        private function _-4bz():Boolean
        {
            var k:IScrollableWindow;
            var k:uint;
            var k:IScrollableWindow;
            var k:uint;
            if (this._-20O != null)
            {
                if (!this._-20O.disposed)
                {
                    return (true);
                };
            };
            if (this._-4T- != null)
            {
                k = (_-4Ju(this._-4T-) as IScrollableWindow);
                if ((((((k == null)) && ((_parent is IWindowContainer)))) && (!((_parent is IDesktopWindow)))))
                {
                    k = (IWindowContainer(_parent).findChildByName(this._-4T-) as IScrollableWindow);
                    if (k)
                    {
                        this.scrollable = k;
                        return (true);
                    };
                };
            };
            if ((_parent is IScrollableWindow))
            {
                this.scrollable = IScrollableWindow(_parent);
                return (true);
            };
            if ((((_parent is IWindowContainer)) && (!((_parent is IDesktopWindow)))))
            {
                k = IWindowContainer(_parent).numChildren;
                k = 0;
                while (k < k)
                {
                    k = (IWindowContainer(_parent).getChildAt(k) as IScrollableWindow);
                    if (k)
                    {
                        this.scrollable = k;
                        return (true);
                    };
                    k++;
                };
            };
            return (false);
        }
        private function _-4Se(_arg1:WindowEvent):void
        {
            this._-0Kw();
            this._-1sX(this._-1fe);
        }
        private function _-2E1(_arg1:WindowEvent):void
        {
            this._-0Kw();
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.SubstituteParentController

package _-1ae
{
    import _-Ew.WindowController;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-Ew.WindowContext;
    import _-3Qs.IGraphicContext;
    import _-0Ie.WindowEvent;
    import __AS3__.vec.*;

    public class SubstituteParentController extends WindowController 
    {

        public function SubstituteParentController(_arg1:WindowContext)
        {
            super("_CONTEXT_SUBSTITUTE_PARENT", 0, 0, WindowParam._-Cp, _arg1, new Rectangle(0, 0, 2000, 2000), null, null, null, null, 0);
            _-16P = new Vector.<IWindow>();
            _-2Hw = false;
        }
        override public function getGraphicContext(_arg1:Boolean):IGraphicContext
        {
            return (null);
        }
        override public function setupGraphicsContext():IGraphicContext
        {
            return (null);
        }
        private function _-43M(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.window;
            if (getChildIndex(k) != -1)
            {
                if (!k._-1s-(WindowParam._-Cp))
                {
                    k.desktop.addChild(k);
                };
            };
        }
        override public function addChild(_arg1:IWindow):IWindow
        {
            _-16P.push(_arg1);
            return (_arg1);
        }
        override public function addChildAt(_arg1:IWindow, _arg2:int):IWindow
        {
            var k:WindowController = WindowController(_arg1);
            if (k.parent != null)
            {
                WindowController(k.parent).removeChild(k);
            };
            _-16P.splice(_arg2, 0, _arg1);
            k.parent = this;
            return (_arg1);
        }
        override public function getChildAt(_arg1:int):IWindow
        {
            return (((_-16P) ? (((_arg1 < _-16P.length)) ? _-16P[_arg1] : null) : null));
        }
        override public function getChildByID(_arg1:uint):IWindow
        {
            var k:IWindow;
            if (_-16P)
            {
                for each (k in _-16P)
                {
                    if (k.id == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        override public function getChildByName(_arg1:String):IWindow
        {
            var k:IWindow;
            if (_-16P)
            {
                for each (k in _-16P)
                {
                    if (k.name == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        override public function findChildByName(_arg1:String):IWindow
        {
            var k:WindowController;
            if (_-16P)
            {
                for each (k in _-16P)
                {
                    if (k.name == _arg1)
                    {
                        return (k);
                    };
                };
                for each (k in _-16P)
                {
                    k = (k.findChildByName(_arg1) as WindowController);
                    if (k)
                    {
                        return ((k as IWindow));
                    };
                };
            };
            return (null);
        }
        override public function removeChild(_arg1:IWindow):IWindow
        {
            var k:int = _-16P.indexOf(_arg1);
            if (k > -1)
            {
                _-16P.splice(k, 1);
                _arg1.parent = null;
                return (_arg1);
            };
            return (null);
        }
        override public function setChildIndex(_arg1:IWindow, _arg2:int):void
        {
            var k:int = _-16P.indexOf(_arg1);
            if ((((k > -1)) && (!((_arg2 == k)))))
            {
                _-16P.splice(k, 1);
                _-16P.splice(_arg2, 0, _arg1);
            };
        }
        override public function swapChildren(_arg1:IWindow, _arg2:IWindow):void
        {
            var k:int;
            var k:int;
            var k:IWindow;
            var k:int;
            if (((((!((_arg1 == null))) && (!((_arg2 == null))))) && (!((_arg1 == _arg2)))))
            {
                k = _-16P.indexOf(_arg1);
                if (k < 0)
                {
                    return;
                };
                k = _-16P.indexOf(_arg2);
                if (k < 0)
                {
                    return;
                };
                if (k < k)
                {
                    k = _arg1;
                    k = _arg2;
                };
                _-16P.splice(k, 1);
                _-16P.splice(k, 1);
                _-16P.splice(k, 0, _arg2);
                _-16P.splice(k, 0, _arg1);
            };
        }
        override public function swapChildrenAt(_arg1:int, _arg2:int):void
        {
            this.swapChildren(_-16P[_arg1], _-16P[_arg2]);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.TextController

package _-1ae
{
    import _-Ew.WindowController;
    import flash.utils.Dictionary;
    import flash.text.TextField;
    import _-3EM._-1AU;
    import flash.text.TextFormat;
    import _-3EM.TextStyle;
    import _-484._-0S0;
    import _-3EM.TextStyleManager;
    import flash.events.Event;
    import flash.text.TextFieldAutoSize;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import flash.text.AntiAliasType;
    import flash.text.TextFormatAlign;
    import _-18r.FontEnum;
    import _-18r.Map;
    import flash.text.FontStyle;
    import _-3EM.IMargins;
    import _-3Qs.IGraphicContext;
    import flash.events.MouseEvent;
    import _-0Ie.WindowEvent;
    import flash.geom.Point;
    import _-09j.WindowParam;
    import _-0Ie.WindowMouseEvent;
    import _-3Qs._-2b3;
    import flash.display.DisplayObject;
    import flash.text.TextLineMetrics;
    import _-18r.XMLVariableParser;
    import _-3EM.PropertyStruct;
    import _-3EM.*;
    import _-uF.*;

    public class TextController extends WindowController implements ITextWindow, _-0-3, ILocalizable 
    {

        protected static const _-4Sh:Dictionary = _-29U();

        protected var _-0VK:TextField;
        protected var _-55W:Number;
        protected var _-3HB:Number;
        protected var _-1VL:Boolean;
        protected var _-N1:_-1AU;
        protected var _-3Me:String = "none";
        protected var _-2OW:Boolean = false;
        protected var _-0sg:int = 0;
        protected var _-1Gj:Boolean = false;
        protected var _-2Su:uint;
        protected var _-0kC:String;
        protected var _-4R8:TextFormat;
        protected var _-0i:Boolean = false;
        private var _-3R-:String;
        private var _-3Fg:TextStyle;
        protected var _-2Bc:Boolean;

        public function TextController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-3Fg = new TextStyle();
            this._-N1 = new _-1AU(0, 0, 0, 0, this._-3ox);
            this._-1VL = false;
            this._-55W = 0;
            this._-3HB = 0;
            if (this._-0VK == null)
            {
                this._-0VK = new TextField();
                if (_arg6)
                {
                    this._-0VK.width = _arg6.width;
                    this._-0VK.height = _arg6.height;
                };
                this._-0VK.mouseWheelEnabled = false;
            };
            this._-3R- = String(_arg5.getWindowFactory().getThemeManager().getPropertyDefaults(_arg3).get(_-0S0._-2mA));
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-1ea(this);
            TextStyleManager.events.addEventListener(Event.CHANGE, this._-p2);
            if (this._-0VK.autoSize == TextFieldAutoSize.NONE)
            {
                this._-0VK.width = _-Eb;
                this._-0VK.height = _-ar;
            };
        }
        private static function _-44n(_arg1:TextController, _arg2:String):void
        {
            k = (((_arg2 == AntiAliasType.ADVANCED)) ? AntiAliasType.ADVANCED : AntiAliasType.NORMAL);
            _arg1._-3Fg.antiAliasType = k;
            _arg1._-0VK.antiAliasType = k;
            _arg1.refreshTextImage();
        }
        private static function _-42t(_arg1:TextController, _arg2:Boolean):void
        {
            _arg1._-0VK.alwaysShowSelection = _arg2;
        }
        private static function _-V0(_arg1:TextController, _arg2:String):void
        {
            var k:TextFormat;
            if (_arg2 != _arg1._-3Me)
            {
                _arg1._-3Me = _arg2;
                _arg1._-0VK.autoSize = (((_arg2)!=TextFieldAutoSize.NONE) ? TextFieldAutoSize.LEFT : TextFieldAutoSize.NONE);
                k = _arg1.defaultTextFormat;
                switch (_arg2)
                {
                    case TextFieldAutoSize.CENTER:
                        k.align = TextFormatAlign.CENTER;
                        break;
                    case TextFieldAutoSize.RIGHT:
                        k.align = TextFormatAlign.RIGHT;
                        break;
                    default:
                        k.align = TextFormatAlign.LEFT;
                };
                _arg1.setTextFormat(new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading));
                _arg1.defaultTextFormat = k;
                _arg1.refreshTextImage();
            };
        }
        private static function _-4cT(_arg1:TextController, _arg2:Boolean):void
        {
            _arg1.background = _arg2;
        }
        private static function _-DR(_arg1:TextController, _arg2:uint):void
        {
            _arg1.color = _arg2;
        }
        private static function true(_arg1:TextController, _arg2:Boolean):void
        {
            var k:TextFormat = _arg1.defaultTextFormat;
            k.bold = _arg2;
            _arg1.setTextFormat(new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading));
            _arg1.defaultTextFormat = k;
            _arg1._-3Fg.fontWeight = TextStyle.BOLD;
        }
        private static function _-4uB(_arg1:TextController, _arg2:Boolean):void
        {
            _arg1._-0VK.border = _arg2;
            _arg1.refreshTextImage();
        }
        private static function _-0VD(_arg1:TextController, _arg2:uint):void
        {
            _arg1._-0VK.borderColor = _arg2;
            _arg1.refreshTextImage();
        }
        private static function _-3Hn(_arg1:TextController, _arg2:Boolean):void
        {
            _arg1._-0VK.condenseWhite = _arg2;
            _arg1.refreshTextImage();
        }
        private static function _-3BU(_arg1:TextController, _arg2:TextFormat):void
        {
            _arg1._-0VK.defaultTextFormat = _arg2;
            _arg1.refreshTextImage();
        }
        private static function _-1aU(_arg1:TextController, _arg2:Boolean):void
        {
            _arg1._-0VK.embedFonts = _arg2;
        }
        private static function _-wp(_arg1:TextController, _arg2:String):void
        {
            var k:TextFormat = _arg1.defaultTextFormat;
            k.font = _arg2;
            _arg1.setTextFormat(new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading));
            _arg1._-0VK.embedFonts = FontEnum._-0DE(_arg2);
            _arg1.defaultTextFormat = k;
            _arg1._-3Fg.fontFamily = _arg2;
        }
        private static function _-1Y6(_arg1:TextController, _arg2:uint):void
        {
            var k:TextFormat = _arg1.defaultTextFormat;
            k.size = _arg2;
            _arg1.setTextFormat(new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading));
            _arg1.defaultTextFormat = k;
            _arg1._-3Fg.fontSize = _arg2;
        }
        private static function _-mW(_arg1:TextController, _arg2:String):void
        {
            _arg1._-0VK.gridFitType = _arg2;
            _arg1.refreshTextImage();
        }
        private static function _-48L(_arg1:TextController, _arg2:String):void
        {
            if (_arg2 == null)
            {
                return;
            };
            if (_arg1._-2OW)
            {
                _arg1.context.removeLocalizationListener(_arg1._-3BO.slice(2, _arg1._-3BO.indexOf("}")), _arg1);
                _arg1._-2OW = false;
            };
            _arg1._-3BO = _arg2;
            if ((((_arg1._-3BO.charAt(0) == "$")) && ((_arg1._-3BO.charAt(1) == "{"))))
            {
                _arg1.context.registerLocalizationListener(_arg1._-3BO.slice(2, _arg1._-3BO.indexOf("}")), _arg1);
                _arg1._-2OW = true;
            }
            else
            {
                if (_arg1._-0VK != null)
                {
                    _arg1._-0VK.htmlText = _arg1._-3BO;
                    _arg1.refreshTextImage();
                };
            };
        }
        private static function _-0m8(_arg1:TextController, _arg2:Boolean):void
        {
            var k:TextFormat = _arg1.defaultTextFormat;
            k.italic = _arg2;
            _arg1.setTextFormat(new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading));
            _arg1.defaultTextFormat = k;
            _arg1._-3Fg.fontStyle = ((_arg2) ? TextStyle.ITALIC : TextStyle.NORMAL);
        }
        private static function _-2TX(_arg1:TextController, _arg2:Boolean):void
        {
            var k:TextFormat = _arg1.defaultTextFormat;
            k.kerning = _arg2;
            var k:TextFormat = new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading);
            k.kerning = _arg2;
            _arg1.setTextFormat(k);
            _arg1.defaultTextFormat = k;
            _arg1._-3Fg.kerning = _arg2;
        }
        private static function _-0HH(_arg1:TextController, _arg2:Map):void
        {
            if (_arg1._-N1)
            {
                _arg1._-N1._-3jn(int(_arg2["left"]), int(_arg2["top"]), int(_arg2["right"]), int(_arg2["bottom"]), _arg1._-3ox);
            }
            else
            {
                _arg1._-N1 = new _-1AU(int(_arg2["left"]), int(_arg2["top"]), int(_arg2["right"]), int(_arg2["bottom"]), _arg1._-3ox);
            };
            _arg1.refreshTextImage();
        }
        private static function _-3-6(_arg1:TextController, _arg2:int):void
        {
            if (((_arg1._-N1) && (!((_arg1._-N1.left == _arg2)))))
            {
                _arg1.margins.left = _arg2;
            };
        }
        private static function _-Kw(_arg1:TextController, _arg2:int):void
        {
            if (((_arg1._-N1) && (!((_arg1._-N1.top == _arg2)))))
            {
                _arg1.margins.top = _arg2;
            };
        }
        private static function _-0HW(_arg1:TextController, _arg2:int):void
        {
            if (((_arg1._-N1) && (!((_arg1._-N1.right == _arg2)))))
            {
                _arg1.margins.right = _arg2;
            };
        }
        private static function _-2TG(_arg1:TextController, _arg2:int):void
        {
            if (((_arg1._-N1) && (!((_arg1._-N1.bottom == _arg2)))))
            {
                _arg1.margins.bottom = _arg2;
            };
        }
        private static function _-4D(_arg1:TextController, _arg2:int):void
        {
            _arg1._-0VK.maxChars = _arg2;
            _arg1.refreshTextImage();
        }
        private static function _-4Pz(_arg1:TextController, _arg2:Boolean):void
        {
            _arg1._-0VK.mouseWheelEnabled = _arg2;
        }
        private static function _-3yr(_arg1:TextController, _arg2:Boolean):void
        {
            _arg1._-0VK.multiline = _arg2;
            _arg1.refreshTextImage();
        }
        private static function _-3zy(_arg1:TextController, _arg2:String):void
        {
            _arg1._-0VK.restrict = _arg2;
        }
        private static function _-3th(_arg1:TextController, _arg2:Number):void
        {
            _arg1._-0VK.sharpness = _arg2;
            _arg1.refreshTextImage();
            _arg1._-3Fg.sharpness = _arg2;
        }
        private static function _-3yJ(_arg1:TextController, _arg2:Number):void
        {
            var k:TextFormat = _arg1.defaultTextFormat;
            k.letterSpacing = _arg2;
            var k:TextFormat = new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading);
            k.letterSpacing = _arg2;
            _arg1.setTextFormat(k);
            _arg1.defaultTextFormat = k;
            _arg1._-3Fg.letterSpacing = _arg2;
        }
        private static function _-4q5(_arg1:TextController, _arg2:int):void
        {
            _arg1._-0sg = _arg2;
            _arg1.refreshTextImage();
        }
        private static function _-Qz(_arg1:TextController, _arg2:Number):void
        {
            var k:TextFormat = _arg1.defaultTextFormat;
            k.leading = _arg2;
            var k:TextFormat = new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading);
            k.leading = _arg2;
            _arg1.setTextFormat(k);
            _arg1.defaultTextFormat = k;
            _arg1._-3Fg.leading = _arg2;
        }
        private static function _-0jY(_arg1:TextController, _arg2:uint):void
        {
            _arg1._-0VK.textColor = _arg2;
            _arg1.refreshTextImage();
            _arg1._-3Fg.color = _arg2;
        }
        private static function _-06L(_arg1:TextController, _arg2:TextStyle):void
        {
            if (((!(_arg1)) || (!(_arg2))))
            {
                return;
            };
            var k:TextStyle = TextStyleManager.getStyle(_arg2.name);
            if (((k) && (!(k._-DQ(_arg2)))))
            {
                k = TextStyleManager._-2Z0(_arg2.toString());
            };
            if (k)
            {
                _arg1._-3R- = k.name;
                _-1ea(_arg1);
                _arg1.refreshTextImage();
            };
        }
        private static function _-qQ(_arg1:TextController, _arg2:String):void
        {
            var k:TextFormat;
            var k:TextStyle = TextStyleManager.getStyle(_arg2);
            if (!k)
            {
                k = TextStyleManager._-2Z0(_arg2);
            };
            if (k)
            {
                _arg1._-3R- = k.name;
                _-1ea(_arg1);
                _arg1.refreshTextImage();
            }
            else
            {
                k = TextStyleManager.parseCSS(_arg2)[0];
                if (k)
                {
                    if (!TextStyleManager.getStyle(k.name))
                    {
                        TextStyleManager._-0G-(k.name, k);
                    };
                    _-06L(_arg1, k);
                };
            };
            if (_arg1._-3Me == TextFieldAutoSize.CENTER)
            {
                k = new TextFormat();
                k.align = TextFormatAlign.CENTER;
                _arg1._-0VK.setTextFormat(k);
            };
        }
        private static function _-Wh(_arg1:TextController, _arg2:Number):void
        {
            _arg1._-0VK.thickness = _arg2;
            _arg1.refreshTextImage();
            _arg1._-3Fg.thickness = _arg2;
        }
        private static function _-3x7(_arg1:TextController, _arg2:Boolean):void
        {
            var k:TextFormat = _arg1.defaultTextFormat;
            k.underline = _arg2;
            _arg1.setTextFormat(new TextFormat(k.font, k.size, k.color, k.bold, k.italic, k.underline, k.url, k.target, k.align, k.leftMargin, k.rightMargin, k.indent, k.leading));
            _arg1.defaultTextFormat = k;
            _arg1._-3Fg.textDecoration = ((_arg2) ? TextStyle._-0Nw : TextStyle.NONE);
        }
        private static function _-48m(_arg1:TextController, _arg2:Boolean):void
        {
            _arg1._-0VK.wordWrap = _arg2;
            _arg1.refreshTextImage();
        }
        protected static function _-1ea(_arg1:TextController):void
        {
            var k:TextField = _arg1._-0VK;
            var k:String = _arg1._-3R-;
            var k:TextStyle = _arg1._-3Fg;
            var k:TextStyle = TextStyleManager.getStyle(k);
            var k:TextFormat = k.defaultTextFormat;
            if (!k)
            {
                k = TextStyleManager.getStyle(TextStyleManager.REGULAR);
            };
            if (!k.color)
            {
                k.color = 0;
            };
            if (!k.fontFamily)
            {
                k.font = k.fontFamily;
            };
            if (!k.fontSize)
            {
                k.size = k.fontSize;
            };
            if (!k.color)
            {
                k.color = k.color;
            };
            if (!k.fontWeight)
            {
                k.bold = (((k.fontWeight == FontStyle.BOLD)) ? true : null);
            };
            if (!k.fontStyle)
            {
                k.italic = (((k.fontStyle == FontStyle.ITALIC)) ? true : null);
            };
            if (!k.textDecoration)
            {
                k.underline = (((k.textDecoration == TextStyle._-0Nw)) ? true : null);
            };
            if (!k.textIndent)
            {
                k.indent = k.textIndent;
            };
            if (!k.leading)
            {
                k.leading = k.leading;
            };
            if (!k.kerning)
            {
                k.kerning = k.kerning;
            };
            if (!k.letterSpacing)
            {
                k.letterSpacing = k.letterSpacing;
            };
            if (!k.antiAliasType)
            {
                k.antiAliasType = (((k.antiAliasType == AntiAliasType.ADVANCED)) ? AntiAliasType.ADVANCED : AntiAliasType.NORMAL);
            };
            if (!k.sharpness)
            {
                k.sharpness = int(k.sharpness);
            };
            if (!k.thickness)
            {
                k.thickness = int(k.thickness);
            };
            if (k.etchingColor == null)
            {
                _arg1.etchingColor = uint(k.etchingColor);
            };
            if (k.etchingPosition == null)
            {
                _arg1.etchingPosition = String(k.etchingPosition);
            };
            if (((!(k.fontWeight)) && (!(k.fontWeight))))
            {
                k.bold = false;
            };
            if (((!(k.fontStyle)) && (!(k.fontStyle))))
            {
                k.italic = false;
            };
            if (((!(k.textDecoration)) && (!(k.textDecoration))))
            {
                k.underline = false;
            };
            if (((!(k.textIndent)) && (!(k.textIndent))))
            {
                k.indent = 0;
            };
            if (((!(k.leading)) && (!(k.leading))))
            {
                k.leading = 0;
            };
            if (((!(k.kerning)) && (!(k.kerning))))
            {
                k.kerning = false;
            };
            if (((!(k.letterSpacing)) && (!(k.letterSpacing))))
            {
                k.letterSpacing = 0;
            };
            if (((!(k.antiAliasType)) && (!(k.antiAliasType))))
            {
                k.antiAliasType = AntiAliasType.NORMAL;
            };
            if (((!(k.sharpness)) && (!(k.sharpness))))
            {
                k.sharpness = 0;
            };
            if (((!(k.thickness)) && (!(k.thickness))))
            {
                k.thickness = 0;
            };
            if ((((k.etchingColor == null)) && ((k.etchingColor == null))))
            {
                _arg1.etchingColor = 0;
            };
            if ((((k.etchingPosition == null)) && ((k.etchingPosition == null))))
            {
                _arg1.etchingPosition = TextStyle._-3KL;
            };
            k.setTextFormat(k);
            k.embedFonts = FontEnum._-0DE(k.font);
            k.defaultTextFormat = k;
            _arg1._-4R8 = k;
        }
        protected static function _-29U():Dictionary
        {
            var k:Dictionary = new Dictionary();
            k[_-0S0._-56e] = _-42t;
            k["background"] = _-4cT;
            k["background_color"] = _-DR;
            k[_-0S0.BOLD] = true;
            k[_-0S0._-3cp] = _-4uB;
            k[_-0S0._-3Nz] = _-0VD;
            k[_-0S0._-4jx] = _-3Hn;
            k["default_text_format"] = _-3BU;
            k[_-0S0._-4fC] = _-2zs;
            k[_-0S0._-300] = _-7H;
            k[_-0S0._-0H1] = _-wp;
            k[_-0S0._-33-] = _-1Y6;
            k[_-0S0._-3rJ] = _-mW;
            k[_-0S0.ITALIC] = _-0m8;
            k[_-0S0._-3gj] = _-2TX;
            k[_-0S0._-0gP] = _-4D;
            k[_-0S0._-283] = _-3yr;
            k[_-0S0._-3Cy] = _-3zy;
            k[_-0S0._-3vJ] = _-3yJ;
            k[_-0S0._-0Ld] = _-3th;
            k[_-0S0._-0cY] = _-Wh;
            k[_-0S0._-0Nw] = _-3x7;
            k[_-0S0._-9O] = _-48m;
            k["margins"] = _-0HH;
            k[_-0S0._-4K9] = _-4q5;
            k[_-0S0._-s] = _-Qz;
            k[_-0S0._-Gm] = _-44n;
            k[_-0S0._-1f9] = _-V0;
            k[_-0S0._-sn] = _-4Pz;
            k[_-0S0._-1s0] = _-0jY;
            k[_-0S0._-2mA] = _-qQ;
            k[_-0S0._-3Y7] = _-3-6;
            k[_-0S0._-3if] = _-Kw;
            k[_-0S0._-0Ia] = _-0HW;
            k[_-0S0._-3Za] = _-2TG;
            return (k);
        }
        private static function _-2zs(_arg1:TextController, _arg2:uint):void
        {
            _arg1._-2Su = _arg2;
            _arg1.refreshTextImage();
            _arg1._-3Fg.etchingColor = _arg1._-2Su;
        }
        private static function _-7H(_arg1:TextController, _arg2:String):void
        {
            _arg1._-0kC = _arg2;
            _arg1.refreshTextImage();
            _arg1._-3Fg.etchingPosition = _arg1._-0kC;
        }

        public function get antiAliasType():String
        {
            return (this._-0VK.antiAliasType);
        }
        public function get autoSize():String
        {
            return (this._-3Me);
        }
        public function get bold():Boolean
        {
            return (this._-0VK.defaultTextFormat.bold);
        }
        public function get border():Boolean
        {
            return (this._-0VK.border);
        }
        public function get borderColor():uint
        {
            return (this._-0VK.borderColor);
        }
        public function get bottomScrollV():int
        {
            return (this._-0VK.bottomScrollV);
        }
        public function get defaultTextFormat():TextFormat
        {
            return (this._-0VK.defaultTextFormat);
        }
        public function get embedFonts():Boolean
        {
            return (this._-0VK.embedFonts);
        }
        public function get _-PX():String
        {
            return (this._-0VK.defaultTextFormat.font);
        }
        public function get fontSize():uint
        {
            return ((((this._-0VK.defaultTextFormat.size == null)) ? 12 : uint(this._-0VK.defaultTextFormat.size)));
        }
        public function get gridFitType():String
        {
            return (this._-0VK.gridFitType);
        }
        public function get htmlText():String
        {
            return (this._-0VK.htmlText);
        }
        public function get italic():Boolean
        {
            return (this._-0VK.defaultTextFormat.italic);
        }
        public function get kerning():Boolean
        {
            return (this._-0VK.defaultTextFormat.kerning);
        }
        public function get length():int
        {
            return (this._-0VK.length);
        }
        public function get margins():IMargins
        {
            return (this._-N1);
        }
        public function get maxChars():int
        {
            return (this._-0VK.maxChars);
        }
        public function get multiline():Boolean
        {
            return (this._-0VK.multiline);
        }
        public function get numLines():int
        {
            return (this._-0VK.numLines);
        }
        public function get restrict():String
        {
            return (this._-0VK.restrict);
        }
        public function get sharpness():Number
        {
            return (this._-0VK.sharpness);
        }
        public function get spacing():Number
        {
            return (Number(this._-0VK.defaultTextFormat.letterSpacing));
        }
        public function get text():String
        {
            return ((((this._-0VK)!=null) ? this._-0VK.text : ""));
        }
        public function get textColor():uint
        {
            return (this._-0VK.textColor);
        }
        public function get _-1X4():Boolean
        {
            return (background);
        }
        public function get _-48j():uint
        {
            return (color);
        }
        public function get textHeight():Number
        {
            return (this._-0VK.textHeight);
        }
        public function get textWidth():Number
        {
            return (this._-0VK.textWidth);
        }
        public function get _-5-G():TextStyle
        {
            return (TextStyleManager.getStyle(this._-3R-));
        }
        public function get thickness():Number
        {
            return (this._-0VK.thickness);
        }
        public function get underline():Boolean
        {
            return (this._-0VK.defaultTextFormat.underline);
        }
        public function get wordWrap():Boolean
        {
            return (this._-0VK.wordWrap);
        }
        public function get textField():TextField
        {
            return (this._-0VK);
        }
        public function get immediateClickMode():Boolean
        {
            return (this._-0i);
        }
        public function get _-0ZH():int
        {
            return (this._-0sg);
        }
        public function get leading():Number
        {
            return (Number(this._-0VK.defaultTextFormat.leading));
        }
        public function get scrollH():Number
        {
            return (this._-55W);
        }
        public function get scrollV():Number
        {
            return (this._-3HB);
        }
        public function get maxScrollH():int
        {
            return (this._-0VK.maxScrollH);
        }
        public function get maxScrollV():int
        {
            return (Math.max((this._-0VK.textHeight - height), 0));
        }
        public function set antiAliasType(_arg1:String):void
        {
            _-44n(this, _arg1);
        }
        public function set autoSize(_arg1:String):void
        {
            _-V0(this, _arg1);
        }
        public function set bold(_arg1:Boolean):void
        {
            true(this, _arg1);
        }
        public function set border(_arg1:Boolean):void
        {
            _-4uB(this, _arg1);
        }
        public function set borderColor(_arg1:uint):void
        {
            _-0VD(this, _arg1);
        }
        public function set defaultTextFormat(_arg1:TextFormat):void
        {
            _-3BU(this, _arg1);
        }
        public function set embedFonts(_arg1:Boolean):void
        {
            _-1aU(this, _arg1);
        }
        public function set _-PX(_arg1:String):void
        {
            _-wp(this, _arg1);
        }
        public function set fontSize(_arg1:uint):void
        {
            _-1Y6(this, _arg1);
        }
        public function set gridFitType(_arg1:String):void
        {
            _-mW(this, _arg1);
        }
        public function set htmlText(_arg1:String):void
        {
            _-48L(this, _arg1);
        }
        public function set italic(_arg1:Boolean):void
        {
            _-0m8(this, _arg1);
        }
        public function set kerning(_arg1:Boolean):void
        {
            _-2TX(this, _arg1);
        }
        public function set maxChars(_arg1:int):void
        {
            _-4D(this, _arg1);
        }
        public function set multiline(_arg1:Boolean):void
        {
            _-3yr(this, _arg1);
        }
        public function set restrict(_arg1:String):void
        {
            _-3zy(this, _arg1);
        }
        public function set sharpness(_arg1:Number):void
        {
            _-3th(this, _arg1);
        }
        public function set spacing(_arg1:Number):void
        {
            _-3yJ(this, _arg1);
        }
        public function set textColor(_arg1:uint):void
        {
            _-0jY(this, _arg1);
        }
        public function set _-1X4(_arg1:Boolean):void
        {
            _-4cT(this, _arg1);
        }
        public function set _-48j(_arg1:uint):void
        {
            _-DR(this, _arg1);
        }
        public function set _-5-G(_arg1:TextStyle):void
        {
            _-06L(this, _arg1);
        }
        public function set thickness(_arg1:Number):void
        {
            _-Wh(this, _arg1);
        }
        public function set underline(_arg1:Boolean):void
        {
            _-3x7(this, _arg1);
        }
        public function set wordWrap(_arg1:Boolean):void
        {
            _-48m(this, _arg1);
        }
        public function set _-0ZH(_arg1:int):void
        {
            _-4q5(this, _arg1);
        }
        public function set leading(_arg1:Number):void
        {
            _-Qz(this, _arg1);
        }
        protected function _-0E0(_arg1:String):String
        {
            return ((((this.maxChars > 0)) ? _arg1.substr(0, this.maxChars) : _arg1));
        }
        override public function setRectangle(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            if (((((this._-2Bc) || (!(this.multiline)))) || (!(this.wordWrap))))
            {
                super.setRectangle(_arg1, _arg2, _arg3, _arg4);
                return;
            };
            this._-2Bc = true;
            var k:String = this.autoSize;
            this.autoSize = TextFieldAutoSize.NONE;
            super.setRectangle(_arg1, _arg2, _arg3, _arg4);
            this.autoSize = k;
            this._-2Bc = false;
        }
        public function set scrollH(_arg1:Number):void
        {
            this._-55W = _arg1;
            this._-0VK.scrollH = (this._-55W * Number(this._-0VK.maxScrollH));
            this.refreshTextImage();
        }
        public function set scrollV(_arg1:Number):void
        {
            if (_arg1 > this._-3HB)
            {
                this._-3HB = _arg1;
                this._-0VK.scrollV = Math.max(this._-0VK.scrollV, ((_arg1 * this._-0VK.maxScrollV) + 1));
                this.refreshTextImage();
            }
            else
            {
                if (_arg1 < this._-3HB)
                {
                    this._-3HB = _arg1;
                    this._-0VK.scrollV = Math.min(this._-0VK.scrollV, ((_arg1 * this._-0VK.maxScrollV) - 1));
                    this.refreshTextImage();
                };
            };
        }
        public function get _-0yi():Rectangle
        {
            return (new Rectangle((this._-55W * this.maxScrollH), (this._-3HB * this.maxScrollV), width, height));
        }
        public function get _-2yI():Rectangle
        {
            return (new Rectangle(0, 0, (this.maxScrollH + width), (this.maxScrollV + height)));
        }
        public function get scrollStepH():Number
        {
            return (10);
        }
        public function get scrollStepV():Number
        {
            return ((this._-0VK.textHeight / this._-0VK.numLines));
        }
        public function set scrollStepH(_arg1:Number):void
        {
        }
        public function set scrollStepV(_arg1:Number):void
        {
        }
        public function set text(_arg1:String):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this._-2OW)
            {
                context.removeLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                this._-2OW = false;
            };
            _-3BO = _arg1;
            if (((((!(this._-1Gj)) && ((_-3BO.charAt(0) == "$")))) && ((_-3BO.charAt(1) == "{"))))
            {
                this._-2OW = true;
                context.registerLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
            }
            else
            {
                if (this._-0VK != null)
                {
                    this._-0VK.text = _-3BO;
                    this.refreshTextImage();
                };
            };
        }
        override public function set caption(_arg1:String):void
        {
            this.text = _arg1;
        }
        override public function set color(_arg1:uint):void
        {
            super.color = _arg1;
            this._-0VK.backgroundColor = _arg1;
        }
        override public function set background(_arg1:Boolean):void
        {
            super.background = _arg1;
            this._-0VK.background = _arg1;
        }
        public function set localization(_arg1:String):void
        {
            if (((!((_arg1 == null))) && (!((this._-0VK == null)))))
            {
                this._-0VK.text = this._-0E0(_arg1);
                this.refreshTextImage();
            };
        }
        public function set immediateClickMode(_arg1:Boolean):void
        {
            var k:IGraphicContext;
            if (_arg1 != this._-0i)
            {
                this._-0i = _arg1;
                k = getGraphicContext(false);
                if (k)
                {
                    if (this._-0i)
                    {
                        k._-1Uh = true;
                        k.addEventListener(MouseEvent.CLICK, this.immediateClickHandler);
                    }
                    else
                    {
                        k._-1Uh = false;
                        k.removeEventListener(MouseEvent.CLICK, this.immediateClickHandler);
                    };
                };
            };
        }
        override public function clone():IWindow
        {
            var k:TextController = (super.clone() as TextController);
            k._-0VK.backgroundColor = color;
            k._-0VK.background = background;
            k._-55W = this._-55W;
            k._-3HB = this._-3HB;
            k._-N1 = this._-N1.clone(k._-3ox);
            k._-3Me = this._-3Me;
            k._-2OW = this._-2OW;
            return (k);
        }
        override public function dispose():void
        {
            this.immediateClickMode = false;
            TextStyleManager.events.removeEventListener(Event.CHANGE, this._-p2);
            if (this._-2OW)
            {
                context.removeLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
            };
            if (this._-N1 != null)
            {
                this._-N1.dispose();
                this._-N1 = null;
            };
            this._-0VK = null;
            super.dispose();
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            if (!this._-1VL)
            {
                if (_arg2.type == WindowEvent._-3K0)
                {
                    this.refreshTextImage(true);
                };
            };
            return (super.update(_arg1, _arg2));
        }
        protected function immediateClickHandler(_arg1:Event):void
        {
            var k:IWindow;
            var k:MouseEvent = (_arg1 as MouseEvent);
            var k:Point = new Point(k.stageX, k.stageY);
            var k:Array = [];
            desktop.groupChildrenUnderPoint(k, k);
            while (k.length > 0)
            {
                k = k.pop();
                if (k == this) break;
                if (k._-52W(WindowParam._-55Y))
                {
                    return;
                };
            };
            _-1o1(k);
            var k:WindowEvent = WindowMouseEvent._-2W5(WindowMouseEvent._-90, this, null, k.x, k.y, k.stageX, k.stageY, k.altKey, k.ctrlKey, k.shiftKey, k.buttonDown, k.delta);
            if (_-2Te)
            {
                _-2Te.dispatchEvent(k);
            };
            if (!k._-UW())
            {
                if (procedure != null)
                {
                    procedure(k, this);
                };
            };
            _arg1.stopImmediatePropagation();
            k.recycle();
        }
        protected function refreshTextImage(_arg1:Boolean=false):void
        {
            var k:WindowEvent;
            if (this._-1VL)
            {
                return;
            };
            this._-1VL = true;
            var k:int = (this._-N1.left + this._-N1.right);
            var k:int = (this._-N1.top + this._-N1.bottom);
            var k:int = (_-Eb - k);
            var k:int = (_-ar - k);
            var k:int = (Math.floor(this._-0VK.width) + ((this._-0VK.border) ? 1 : 0));
            var k:Boolean;
            if (k != k)
            {
                if (this._-3Me == TextFieldAutoSize.LEFT)
                {
                    this.setRectangle(_-2dX, _-4TA, (k + k), (Math.floor(this._-0VK.height) + k));
                    k = true;
                }
                else
                {
                    if (this._-3Me != TextFieldAutoSize.RIGHT)
                    {
                        if (this._-3Me != TextFieldAutoSize.CENTER)
                        {
                            this._-0VK.width = (k - ((this._-0VK.border) ? 1 : 0));
                            this._-0VK.height = (k - ((this._-0VK.border) ? 1 : 0));
                        };
                    };
                };
            };
            if ((this._-0VK.height + ((this._-0VK.border) ? 1 : 0)) < k)
            {
                if (this._-3Me == TextFieldAutoSize.NONE)
                {
                    this._-0VK.height = (k - ((this._-0VK.border) ? 1 : 0));
                }
                else
                {
                    height = (Math.floor(this._-0VK.height) + k);
                    k = true;
                };
            }
            else
            {
                if ((this._-0VK.height + ((this._-0VK.border) ? 1 : 0)) > k)
                {
                    if (this._-3Me != TextFieldAutoSize.NONE)
                    {
                        height = (Math.floor(this._-0VK.height) + k);
                        k = true;
                    };
                };
            };
            this._-1VL = false;
            _context.invalidate(this, null, _-2b3._-35h);
            if (((((!(k)) && (!(_arg1)))) && (_-2Te)))
            {
                k = WindowEvent._-2W5(WindowEvent._-3K0, this, null);
                _-2Te.dispatchEvent(k);
                k.recycle();
            };
        }
        public function appendText(_arg1:String):void
        {
            this._-0VK.appendText(_arg1);
            this.refreshTextImage();
        }
        public function getCharBoundaries(_arg1:int):Rectangle
        {
            return (this._-0VK.getCharBoundaries(_arg1));
        }
        public function getCharIndexAtPoint(_arg1:Number, _arg2:Number):int
        {
            return (this._-0VK.getCharIndexAtPoint(_arg1, _arg2));
        }
        public function getFirstCharInParagraph(_arg1:int):int
        {
            return (this._-0VK.getFirstCharInParagraph(_arg1));
        }
        public function getImageReference(_arg1:String):DisplayObject
        {
            return (this._-0VK.getImageReference(_arg1));
        }
        public function getLineIndexAtPoint(_arg1:Number, _arg2:Number):int
        {
            return (this._-0VK.getLineIndexAtPoint(_arg1, _arg2));
        }
        public function getLineIndexOfChar(_arg1:int):int
        {
            return (this._-0VK.getLineIndexOfChar(_arg1));
        }
        public function getLineLength(_arg1:int):int
        {
            return (this._-0VK.getLineLength(_arg1));
        }
        public function getLineMetrics(_arg1:int):TextLineMetrics
        {
            return (this._-0VK.getLineMetrics(_arg1));
        }
        public function getLineOffset(_arg1:int):int
        {
            return (this._-0VK.getLineOffset(_arg1));
        }
        public function getLineText(_arg1:int):String
        {
            return (this._-0VK.getLineText(_arg1));
        }
        public function getParagraphLength(_arg1:int):int
        {
            return (this._-0VK.getParagraphLength(_arg1));
        }
        public function getTextFormat(_arg1:int=-1, _arg2:int=-1):TextFormat
        {
            return (this._-0VK.getTextFormat(_arg1, _arg2));
        }
        public function replaceText(_arg1:int, _arg2:int, _arg3:String):void
        {
            this._-0VK.replaceText(_arg1, _arg2, _arg3);
            this.refreshTextImage();
        }
        public function setTextFormat(_arg1:TextFormat, _arg2:int=-1, _arg3:int=-1):void
        {
            if ((((((_arg2 >= 0)) && ((_arg3 > _arg2)))) && ((_arg3 < this._-0VK.length))))
            {
                this._-0VK.setTextFormat(_arg1, _arg2, _arg3);
                this.refreshTextImage();
            };
        }
        public function _-3ox(_arg1:IMargins):void
        {
            if (_arg1 != this._-N1)
            {
                this._-N1.dispose();
                this._-N1 = new _-1AU(_arg1.left, _arg1.top, _arg1.right, _arg1.bottom, this._-3ox);
            };
            if (this._-3Me == TextFieldAutoSize.LEFT)
            {
                this._-0VK.width = ((_-Eb - this._-N1.left) - this._-N1.right);
            };
            this.refreshTextImage();
        }
        private function _-p2(_arg1:Event):void
        {
            _-1ea(this);
            this.refreshTextImage();
        }
        protected function _-Y2(_arg1:XML):void
        {
            var k:String;
            var k:Function;
            var k:Map;
            if (_arg1 != null)
            {
                k = new Map();
                XMLVariableParser.parseVariableList(_arg1.children(), k);
                this._-1VL = true;
                for (k in k)
                {
                    k = _-4Sh[k];
                    if (k != null)
                    {
                        (k(this, k[k]));
                    };
                };
                this._-1VL = false;
            };
        }
        override public function set properties(_arg1:Array):void
        {
            var k:Function;
            var k:PropertyStruct;
            this._-1VL = true;
            for each (k in _arg1)
            {
                k = _-4Sh[k.key];
                if (k != null)
                {
                    (k(this, k.value));
                };
            };
            this._-1VL = false;
            super.properties = _arg1;
            this.refreshTextImage();
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            var k:TextStyle = TextStyleManager.getStyle(this._-3R-);
            k.push(_-4wa(_-0S0._-56e, this._-0VK.alwaysShowSelection));
            k.push(new PropertyStruct(_-0S0._-Gm, this._-0VK.antiAliasType, PropertyStruct.STRING, !((this._-0VK.antiAliasType == k.antiAliasType)), _-0S0._-4QE));
            k.push(_-4wa(_-0S0._-1f9, this._-3Me));
            k.push(_-4wa(_-0S0._-3cp, this._-0VK.border));
            k.push(_-4wa(_-0S0._-3Nz, this._-0VK.borderColor));
            k.push(new PropertyStruct(_-0S0._-4fC, this._-2Su, PropertyStruct._-2FT, !((this._-2Su == uint(k.etchingColor)))));
            k.push(new PropertyStruct(_-0S0._-300, this._-0kC, PropertyStruct.STRING, !((this._-0kC == String(k.etchingPosition))), _-0S0._-1Cv));
            k.push(_-4wa(_-0S0._-4jx, this._-0VK.condenseWhite));
            k.push(new PropertyStruct(_-0S0._-0H1, this.defaultTextFormat.font, PropertyStruct.STRING, !((this.defaultTextFormat.font == k.fontFamily))));
            k.push(new PropertyStruct(_-0S0._-33-, this.defaultTextFormat.size, PropertyStruct._-02g, !((this.defaultTextFormat.size == k.fontSize))));
            k.push(_-4wa(_-0S0._-3rJ, this._-0VK.gridFitType));
            var k:uint = uint((((k.color)!=null) ? k.color : _-aJ(_-0S0._-1s0).value));
            k.push(new PropertyStruct(_-0S0._-1s0, this._-0VK.textColor, PropertyStruct._-2FT, !((this._-0VK.textColor == k))));
            k.push(_-4wa(_-0S0._-2mA, this._-3R-));
            k.push(_-4wa(_-0S0._-3Y7, this._-N1.left));
            k.push(_-4wa(_-0S0._-3if, this._-N1.top));
            k.push(_-4wa(_-0S0._-0Ia, this._-N1.right));
            k.push(_-4wa(_-0S0._-3Za, this._-N1.bottom));
            k.push(_-4wa(_-0S0._-sn, this._-0VK.mouseWheelEnabled));
            k.push(_-4wa(_-0S0._-0gP, this._-0VK.maxChars));
            k.push(_-4wa(_-0S0._-283, this._-0VK.multiline));
            k.push(_-4wa(_-0S0._-3Cy, this._-0VK.restrict));
            k.push(new PropertyStruct(_-0S0._-0Ld, this._-0VK.sharpness, PropertyStruct.NUMBER, !((this._-0VK.sharpness == k.sharpness))));
            k.push(new PropertyStruct(_-0S0._-0cY, this._-0VK.thickness, PropertyStruct.NUMBER, !((this._-0VK.thickness == k.thickness))));
            k.push(_-4wa(_-0S0._-9O, this._-0VK.wordWrap));
            k.push(_-4wa(_-0S0._-4K9, this._-0ZH));
            k.push(new PropertyStruct(_-0S0.BOLD, !((this._-0VK.defaultTextFormat.bold == false)), PropertyStruct._-11e, !((this._-0VK.defaultTextFormat.bold == (k.fontWeight == FontStyle.BOLD)))));
            k.push(new PropertyStruct(_-0S0.ITALIC, !((this._-0VK.defaultTextFormat.italic == false)), PropertyStruct._-11e, !((this._-0VK.defaultTextFormat.italic == (k.fontStyle == FontStyle.ITALIC)))));
            k.push(new PropertyStruct(_-0S0._-0Nw, !((this._-0VK.defaultTextFormat.underline == false)), PropertyStruct._-11e, !((this._-0VK.defaultTextFormat.underline == (k.textDecoration == "underline")))));
            k.push(new PropertyStruct(_-0S0._-3gj, !((this._-0VK.defaultTextFormat.kerning == false)), PropertyStruct._-11e, !((this._-0VK.defaultTextFormat.kerning == k.kerning))));
            k.push(new PropertyStruct(_-0S0._-3vJ, this._-0VK.defaultTextFormat.letterSpacing, PropertyStruct.NUMBER, !((this._-0VK.defaultTextFormat.letterSpacing == k.letterSpacing))));
            k.push(new PropertyStruct(_-0S0._-s, this._-0VK.defaultTextFormat.leading, PropertyStruct.NUMBER, !((this._-0VK.defaultTextFormat.leading == k.leading))));
            return (k);
        }
        public function get etchingColor():uint
        {
            return (this._-2Su);
        }
        public function set etchingColor(_arg1:uint):void
        {
            _-2zs(this, _arg1);
        }
        public function get etchingPosition():String
        {
            return (this._-0kC);
        }
        public function set etchingPosition(_arg1:String):void
        {
            _-7H(this, _arg1);
        }
        public function _-Sk():void
        {
            this._-3Fg = new TextStyle();
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.TextFieldController

package _-1ae
{
    import flash.text.TextFormat;
    import flash.filters.DropShadowFilter;
    import _-09j.WindowParam;
    import flash.text.TextField;
    import flash.events.TextEvent;
    import flash.events.KeyboardEvent;
    import flash.events.Event;
    import flash.events.FocusEvent;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import flash.text.TextFieldType;
    import _-3Qs._-49b;
    import _-3Qs.IGraphicContext;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.WindowController;
    import flash.geom.Point;
    import flash.text.TextFieldAutoSize;
    import _-0Ie.WindowKeyboardEvent;
    import _-Ew._-1Po;
    import _-09j.WindowState;
    import _-484._-0S0;
    import _-3EM.PropertyStruct;

    public class TextFieldController extends TextController implements ITextFieldWindow 
    {

        private static const _-0OK:RegExp = /[~%&!\\;:"',<>?#\s\.\-()=\[\]\{\}\^_]/g;

        private static var _-51p:TextFormat = new TextFormat(null, null, 0xFF0000, null, null, true);
        private static var _-4ET:TextFormat = new TextFormat(null, null, 0x999999, null, null, true);

        private var _-1Hc:DropShadowFilter;
        protected var _-0Qw:Boolean = false;
        protected var _-1-f:uint = 500;
        protected var _-29x:String = "";
        protected var _-1nm:Boolean = false;
        protected var _-3L1:Boolean = false;
        protected var _-3WC:Boolean = false;
        protected var _-2gW:Array;
        protected var _-1SS:Boolean;

        public function TextFieldController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-1Hc = new DropShadowFilter(1, 90, 0xFFFFFF, 1, 0, 0);
            this._-2gW = [];
            k = (_arg4 & ~(WindowParam._-Cp));
            k = (k | WindowParam._-55Y);
            _-2dX = _arg6.x;
            _-4TA = _arg6.y;
            _-Eb = _arg6.width;
            _-ar = _arg6.height;
            _-0VK = TextField(this.getGraphicContext(true).getDisplayObject());
            super(_arg1, _arg2, _arg3, k, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            _-0VK.addEventListener(TextEvent.TEXT_INPUT, this._-1hw);
            _-0VK.addEventListener(KeyboardEvent.KEY_DOWN, this._-4SX);
            _-0VK.addEventListener(KeyboardEvent.KEY_UP, this._-De);
            _-0VK.addEventListener(Event.CHANGE, this._-4FX);
            _-0VK.addEventListener(FocusEvent.FOCUS_IN, this._-06S);
            _-0VK.addEventListener(FocusEvent.FOCUS_OUT, this._-06S);
            _-0VK.addEventListener(Event.REMOVED_FROM_STAGE, this._-4lO);
            _-2Hw = false;
            this._-3WC = true;
        }
        public static function _-2DJ(_arg1:String):Array
        {
            var k:Object;
            var k:Array = new Array();
            k.push(0);
            while ((k = _-0OK.exec(_arg1)) != null)
            {
                if (k.index < _arg1.length)
                {
                    k.push((k.index + 1));
                };
            };
            return (k);
        }

        public function get focused():Boolean
        {
            if (_-0VK)
            {
                if (_-0VK.stage)
                {
                    return ((_-0VK.stage.focus == _-0VK));
                };
            };
            return (false);
        }
        override public function enable():Boolean
        {
            if (super.enable())
            {
                _-0VK.type = TextFieldType.INPUT;
                return (true);
            };
            _-0VK.type = TextFieldType.DYNAMIC;
            return (false);
        }
        override public function disable():Boolean
        {
            if (super.disable())
            {
                _-0VK.type = TextFieldType.DYNAMIC;
                return (true);
            };
            _-0VK.type = TextFieldType.INPUT;
            return (false);
        }
        public function get editable():Boolean
        {
            return ((_-0VK.type == TextFieldType.INPUT));
        }
        public function set editable(_arg1:Boolean):void
        {
            _-0VK.type = ((_arg1) ? TextFieldType.INPUT : TextFieldType.DYNAMIC);
        }
        public function get selectable():Boolean
        {
            return (_-0VK.selectable);
        }
        public function set selectable(_arg1:Boolean):void
        {
            _-0VK.selectable = _arg1;
        }
        public function set displayAsPassword(_arg1:Boolean):void
        {
            _-0VK.displayAsPassword = _arg1;
        }
        public function get displayAsPassword():Boolean
        {
            return (_-0VK.displayAsPassword);
        }
        public function set mouseCursorType(_arg1:uint):void
        {
        }
        public function get mouseCursorType():uint
        {
            return (0);
        }
        public function set _-2QR(_arg1:String):void
        {
            this._-29x = (((_arg1 == null)) ? "" : _arg1);
        }
        public function get _-2QR():String
        {
            return (this._-29x);
        }
        public function set _-1e(_arg1:uint):void
        {
            this._-1-f = _arg1;
        }
        public function get _-1e():uint
        {
            return (this._-1-f);
        }
        public function _-1iv(_arg1:uint, _arg2:uint):uint
        {
            throw (new Error("Unimplemented method!"));
        }
        public function _-lr(_arg1:uint):uint
        {
            throw (new Error("Unimplemented method!"));
        }
        public function _-4H7(_arg1:_-25T):void
        {
            throw (new Error("Unimplemented method!"));
        }
        public function _-4IH():void
        {
            throw (new Error("Unimplemented method!"));
        }
        override public function set autoSize(_arg1:String):void
        {
            super.autoSize = _arg1;
            this._-5CU();
        }
        override public function set background(_arg1:Boolean):void
        {
            _-0VK.background = _arg1;
            _-4aE = _arg1;
            _-3Fe = ((_-4aE) ? (_-3Fe | _-3nf) : (_-3Fe & 0xFFFFFF));
        }
        public function setSelection(_arg1:int, _arg2:int):void
        {
            _-0VK.setSelection(_arg1, _arg2);
        }
        public function get selectionBeginIndex():int
        {
            return (_-0VK.selectionBeginIndex);
        }
        public function get selectionEndIndex():int
        {
            return (_-0VK.selectionEndIndex);
        }
        override public function getGraphicContext(_arg1:Boolean):IGraphicContext
        {
            if (((_arg1) && (!(_-3in))))
            {
                _-3in = new _-49b((("GC {" + _name) + "}"), _-49b.GC_TYPE_TEXTFIELD, rectangle);
            };
            return (_-3in);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                _context.getWindowServices().getFocusManagerService().removeFocusWindow(this);
                this._-3L1 = false;
                if (_-0VK)
                {
                    if (this.focused)
                    {
                        this.unfocus();
                    };
                    _-0VK.removeEventListener(KeyboardEvent.KEY_DOWN, this._-4SX);
                    _-0VK.removeEventListener(KeyboardEvent.KEY_UP, this._-De);
                    _-0VK.removeEventListener(Event.CHANGE, this._-4FX);
                    _-0VK.removeEventListener(FocusEvent.FOCUS_IN, this._-06S);
                    _-0VK.removeEventListener(FocusEvent.FOCUS_OUT, this._-06S);
                    _-0VK.removeEventListener(Event.REMOVED_FROM_STAGE, this._-4lO);
                };
                super.dispose();
            };
        }
        override public function set text(_arg1:String):void
        {
            super.text = _arg1;
            this._-5CU();
        }
        override public function focus():Boolean
        {
            var k:Boolean = super.focus();
            if (k)
            {
                if (_-0VK)
                {
                    if (_-0VK.stage)
                    {
                        if (_-0VK.stage.focus != _-0VK)
                        {
                            _-0VK.stage.focus = _-0VK;
                        };
                    };
                };
            };
            return (k);
        }
        override public function unfocus():Boolean
        {
            if (_-0VK)
            {
                if (_-0VK.stage)
                {
                    if (_-0VK.stage.focus == _-0VK)
                    {
                        _-0VK.stage.focus = null;
                    };
                };
            };
            return (super.unfocus());
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:Boolean = super.update(_arg1, _arg2);
            switch (_arg2.type)
            {
                case WindowEvent._-1M3:
                case WindowMouseEvent._-3Jy:
                    this.focus();
                    break;
                case WindowEvent._-3K0:
                    if (_arg1 == this)
                    {
                        _-0VK.width = this.width;
                        _-0VK.height = this.height;
                    };
                    break;
            };
            if (_arg1 == this)
            {
                InteractiveController._-3kw(this, _arg2);
            };
            return (k);
        }
        protected function _-5CU():void
        {
            var k:Point;
            var k:Point;
            var k:Point;
            if (((this._-3WC) && (!((autoSize == TextFieldAutoSize.NONE)))))
            {
                if (((!((_-Eb == _-0VK.width))) || (!((_-ar == _-0VK.height)))))
                {
                    k = _-0VK.localToGlobal(new Point(_-0VK.x, _-0VK.y));
                    k = new Point();
                    getGlobalPosition(k);
                    k = new Point((k.x - k.x), (k.y - k.y));
                    setRectangle((_-2dX + k.x), (_-4TA + k.y), _-0VK.width, _-0VK.height);
                };
            };
        }
        override public function set filters(_arg1:Array):void
        {
            this._-1SS = true;
            this._-2gW = _arg1;
            this._-55A();
        }
        override public function get filters():Array
        {
            return (this._-2gW);
        }
        override public function set etchingColor(_arg1:uint):void
        {
            this._-1SS = true;
            super.etchingColor = _arg1;
        }
        private function _-55A():void
        {
            var k:Array;
            if (!this._-1SS)
            {
                return;
            };
            this._-1SS = false;
            if ((_-2Su & 0xFF000000) != 0)
            {
                this._-1Hc.color = (_-2Su & 0xFFFFFF);
                this._-1Hc.alpha = (((_-2Su >> 24) & 0xFF) / 0xFF);
                k = this._-2gW.slice();
                k.push(this._-1Hc);
                this.getGraphicContext(true).filters = k;
            }
            else
            {
                this.getGraphicContext(true).filters = this._-2gW;
            };
        }
        override protected function refreshTextImage(_arg1:Boolean=false):void
        {
            var k:WindowEvent;
            var k:Boolean;
            this._-55A();
            if (_-Eb != _-0VK.width)
            {
                if (autoSize != TextFieldAutoSize.NONE)
                {
                    width = _-0VK.width;
                    k = true;
                }
                else
                {
                    _-0VK.width = width;
                };
            };
            if (_-ar != _-0VK.height)
            {
                if (autoSize != TextFieldAutoSize.NONE)
                {
                    height = _-0VK.height;
                    k = true;
                }
                else
                {
                    _-0VK.height = height;
                };
            };
            if (((((!(k)) && (!(_arg1)))) && (_-2Te)))
            {
                k = WindowEvent._-2W5(WindowEvent._-3K0, this, null);
                _-2Te.dispatchEvent(k);
                k.recycle();
            };
        }
        private function _-1hw(_arg1:TextEvent):void
        {
            if (this._-0bH(_arg1.text))
            {
                _arg1.preventDefault();
            };
            this._-0oS();
        }
        private function _-0bH(_arg1:String):Boolean
        {
            var k:String;
            var k:int;
            var k:Boolean;
            if (((multiline) && ((_-0ZH > 0))))
            {
                k = (numLines > _-0ZH);
                if (_arg1 != null)
                {
                    k = _-0VK.text;
                    k = _-0VK.caretIndex;
                    _-0VK.text = ((k.substring(0, k) + _arg1) + k.substring(k, k.length));
                    if (numLines > _-0ZH)
                    {
                        k = true;
                    };
                    _-0VK.text = k;
                };
            };
            return (k);
        }
        private function _-4SX(_arg1:KeyboardEvent):void
        {
            var windowEvent:WindowKeyboardEvent;
            var tracker:_-1Po;
            var event:KeyboardEvent = _arg1;
            try
            {
                windowEvent = WindowKeyboardEvent._-2W5(WindowKeyboardEvent._-2CS, event, this, null);
                this.update(this, windowEvent);
                if (disposed)
                {
                    return;
                };
                for each (tracker in _context.inputEventTrackers)
                {
                    tracker._-0Q7(windowEvent, this);
                };
                windowEvent.recycle();
            }
            catch(e:Error)
            {
                _context.handleError(WindowContext._-2Qv, e);
            };
        }
        private function _-0oS():void
        {
            var startPos:int;
            var endPos:int;
            var word:String;
            var isSafeWord:Boolean;
            var isSafePrefix:Boolean;
            if (((((!(context.whiteListFilterActive)) || (!(this._-3sq)))) || (this.displayAsPassword)))
            {
                return;
            };
            var caretIndex:int = _-0VK.caretIndex;
            var txt:String = _-0VK.text;
            _-0VK.setTextFormat(_-4R8);
            var wordPositions:Array = _-2DJ(txt);
            var i:int;
            while (i < wordPositions.length)
            {
                startPos = wordPositions[i];
                endPos = txt.length;
                if ((i + 1) < wordPositions.length)
                {
                    endPos = (wordPositions[(i + 1)] - 1);
                };
                word = text.substring(startPos, endPos);
                if (((word) && (!((word == "")))))
                {
                    try
                    {
                        isSafeWord = this.context.isSafeWord(word);
                        isSafePrefix = this.context.isSafePrefix(word);
                        if (!isSafeWord)
                        {
                            if (((isSafePrefix) && ((((caretIndex >= startPos)) && ((caretIndex <= endPos))))))
                            {
                                _-0VK.setTextFormat(_-4ET, startPos, endPos);
                            }
                            else
                            {
                                _-0VK.setTextFormat(_-51p, startPos, endPos);
                            };
                        };
                    }
                    catch(e:Error)
                    {
                        _-Nb.log(("Word filtering error: " + e));
                    };
                };
                i = (i + 1);
            };
        }
        private function _-De(_arg1:KeyboardEvent):void
        {
            var windowEvent:WindowKeyboardEvent;
            var tracker:_-1Po;
            var event:KeyboardEvent = _arg1;
            try
            {
                _-3BO = _-0VK.text;
                this._-0oS();
                windowEvent = WindowKeyboardEvent._-2W5(WindowKeyboardEvent._-4Wf, event, this, null);
                this.update(this, windowEvent);
                if (disposed)
                {
                    return;
                };
                for each (tracker in _context.inputEventTrackers)
                {
                    tracker._-0Q7(windowEvent, this);
                };
                windowEvent.recycle();
            }
            catch(e:Error)
            {
                _context.handleError(WindowContext._-2Qv, e);
            };
        }
        public function _-1Ax():void
        {
            this._-4FX(null);
        }
        private function _-4FX(_arg1:Event):void
        {
            var windowEvent:WindowEvent;
            var event:Event = _arg1;
            try
            {
                this._-0oS();
                this._-5CU();
                windowEvent = WindowEvent._-2W5(WindowEvent._-0cZ, this, null);
                this.update(this, windowEvent);
                windowEvent.recycle();
            }
            catch(e:Error)
            {
                _context.handleError(WindowContext._-2Qv, e);
            };
        }
        private function _-06S(_arg1:FocusEvent):void
        {
            var event:FocusEvent = _arg1;
            try
            {
                if (event.type == FocusEvent.FOCUS_IN)
                {
                    if (!_-3AV(WindowState._-0SB))
                    {
                        this.focus();
                    };
                }
                else
                {
                    if (event.type == FocusEvent.FOCUS_OUT)
                    {
                        this._-0oS();
                        if (_-3AV(WindowState._-0SB))
                        {
                            this.unfocus();
                        };
                    };
                };
            }
            catch(e:Error)
            {
                _context.handleError(WindowContext._-2Qv, e);
            };
        }
        private function _-4lO(_arg1:Event):void
        {
            var event:Event = _arg1;
            try
            {
                if (_-3AV(WindowState._-0SB))
                {
                    this.unfocus();
                };
            }
            catch(e:Error)
            {
                _context.handleError(WindowContext._-2Qv, e);
            };
        }
        override public function get properties():Array
        {
            var k:Array = InteractiveController._-0Wz(this, super.properties);
            k.push(_-4wa(_-0S0._-29s, (_-0VK.type == TextFieldType.INPUT)));
            k.push(_-4wa(_-0S0._-n-, this._-3L1));
            k.push(_-4wa(_-0S0._-3MH, _-0VK.selectable));
            k.push(_-4wa(_-0S0._-0g3, _-0VK.displayAsPassword));
            k.push(_-4wa(_-0S0._-2xy, _-1Gj));
            k.push(_-4wa(_-0S0._-335, this._-0Qw));
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            InteractiveController._-0N(this, _arg1);
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-n-:
                        this._-3L1 = (k.value as Boolean);
                        if (this._-3L1)
                        {
                            _context.getWindowServices().getFocusManagerService().registerFocusWindow(this);
                        };
                        break;
                    case _-0S0._-3MH:
                        _-0VK.selectable = (k.value as Boolean);
                        break;
                    case _-0S0._-29s:
                        _-0VK.type = ((k.value) ? TextFieldType.INPUT : TextFieldType.DYNAMIC);
                        break;
                    case _-0S0._-0g3:
                        _-0VK.displayAsPassword = (k.value as Boolean);
                        break;
                    case _-0S0._-2xy:
                        _-1Gj = (k.value as Boolean);
                        break;
                    case _-0S0._-335:
                        this._-0Qw = Boolean(k.value);
                        break;
                };
            };
            super.properties = _arg1;
        }
        public function set _-5Z(_arg1:Boolean):void
        {
            this._-1nm = _arg1;
        }
        public function get _-5Z():Boolean
        {
            return (this._-1nm);
        }
        public function set _-0hQ(_arg1:Boolean):void
        {
            _-1Gj = _arg1;
        }
        public function get _-0hQ():Boolean
        {
            return (_-1Gj);
        }
        override public function set localization(_arg1:String):void
        {
            super.localization = _-0E0(((_-1Gj) ? _-3BO : _arg1));
        }
        public function _-3ex(_arg1:int, _arg2:int):String
        {
            var k:int;
            var k:int;
            var k:int = getCharIndexAtPoint(_arg1, _arg2);
            var k:String = _-0VK.text;
            var k:Array = _-2DJ(k);
            var k:String = "";
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = k.length;
                if ((k + 1) < k.length)
                {
                    k = (k[(k + 1)] - 1);
                };
                if ((((k >= k)) && ((k <= k))))
                {
                    k = k.substring(k, k);
                    break;
                };
                k++;
            };
            return (k);
        }
        public function get _-3sq():Boolean
        {
            return (this._-0Qw);
        }
        public function set _-3sq(_arg1:Boolean):void
        {
            this._-0Qw = _arg1;
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.TextLabelController

package _-1ae
{
    import _-Ew.WindowController;
    import _-3EM._-1AU;
    import _-484._-0S0;
    import _-3EM.TextStyleManager;
    import flash.events.Event;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import flash.text.TextFormat;
    import _-3EM.IMargins;
    import _-3EM.TextStyle;
    import _-3EM.TextFieldCache;
    import flash.text.TextField;
    import _-0Ie.WindowEvent;
    import _-3Qs._-2b3;
    import _-18r.Map;
    import _-3EM.PropertyStruct;
    import _-uF.*;

    public class TextLabelController extends WindowController implements _-2aK, ILocalizable 
    {

        private static const _-3If:String = "margins";

        private var _-1Ug:Object = null;
        private var _-3R-:String;
        private var _text:String = "";
        private var _-2OW:Boolean = false;
        private var _-N1:_-1AU;
        private var _-2n2:Number = 0;
        private var _-0fk:Number = 0;
        private var _-0-E:Boolean = false;
        private var _-3AA:Boolean = false;

        public function TextLabelController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            this._-3R- = String(_arg5.getWindowFactory().getThemeManager().getPropertyDefaults(_arg3).get(_-0S0._-2mA));
            TextStyleManager.events.addEventListener(Event.CHANGE, this._-p2);
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
        }
        public function get antiAliasType():String
        {
            return (this.textField.antiAliasType);
        }
        public function get autoSize():String
        {
            return (this.textField.autoSize);
        }
        public function get bold():Boolean
        {
            return (this.textField.defaultTextFormat.bold);
        }
        public function get border():Boolean
        {
            return (this.textField.border);
        }
        public function get borderColor():uint
        {
            return (this.textField.borderColor);
        }
        public function get defaultTextFormat():TextFormat
        {
            return (this.textField.defaultTextFormat);
        }
        public function get embedFonts():Boolean
        {
            return (this.textField.embedFonts);
        }
        public function get _-PX():String
        {
            return (this.textField.defaultTextFormat.font);
        }
        public function get fontSize():uint
        {
            return ((((this.textField.defaultTextFormat.size == null)) ? 12 : uint(this.textField.defaultTextFormat.size)));
        }
        public function get gridFitType():String
        {
            return (this.textField.gridFitType);
        }
        public function get italic():Boolean
        {
            return (this.textField.defaultTextFormat.italic);
        }
        public function get kerning():Boolean
        {
            return (this.textField.defaultTextFormat.kerning);
        }
        public function get length():int
        {
            return (this._text.length);
        }
        public function get margins():IMargins
        {
            if (!this._-N1)
            {
                this._-N1 = new _-1AU(0, 0, 0, 0, this._-3ox);
            };
            return (this._-N1);
        }
        public function get maxChars():int
        {
            return (this.textField.maxChars);
        }
        public function get sharpness():Number
        {
            return (this.textField.sharpness);
        }
        public function get spacing():Number
        {
            return (Number(this.textField.defaultTextFormat.letterSpacing));
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get textColor():uint
        {
            return (uint(this._-1Ug));
        }
        public function get _-1X4():Boolean
        {
            return (background);
        }
        public function get _-48j():uint
        {
            return (color);
        }
        public function get textHeight():Number
        {
            return (this._-2n2);
        }
        public function get textWidth():Number
        {
            return (this._-0fk);
        }
        public function get _-5-G():TextStyle
        {
            return (TextStyleManager.getStyle(this._-3R-));
        }
        public function get thickness():Number
        {
            return (this.textField.thickness);
        }
        public function get underline():Boolean
        {
            return (this.textField.defaultTextFormat.underline);
        }
        public function get _-1Iw():int
        {
            return (((this._-N1) ? this._-N1.left : 0));
        }
        public function get _-1HF():int
        {
            return (((this._-N1) ? this._-N1.top : 0));
        }
        public function get _-0xe():Boolean
        {
            return (!((this._-1Ug == null)));
        }
        protected function get textField():TextField
        {
            var k:TextField = TextFieldCache._-3G9(this._-3R-);
            if (k)
            {
                k.text = this._text;
                if (this._-1Ug != null)
                {
                    k.textColor = uint(this._-1Ug);
                };
            };
            return (k);
        }
        public function set text(_arg1:String):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this._-2OW)
            {
                context.removeLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                this._-2OW = false;
            };
            _-3BO = _arg1;
            if ((((_-3BO.charAt(0) == "$")) && ((_-3BO.charAt(1) == "{"))))
            {
                context.registerLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                this._-2OW = true;
            }
            else
            {
                this._text = _arg1;
                this.refresh();
            };
        }
        override public function set caption(_arg1:String):void
        {
            this.text = _arg1;
        }
        public function set localization(_arg1:String):void
        {
            if (_arg1 != null)
            {
                this._text = _arg1;
                this.refresh();
            };
        }
        public function set _-5-G(_arg1:TextStyle):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this._-3R- != _arg1.name)
            {
                this._-3R- = _arg1.name;
                this.refresh();
            };
        }
        public function set textColor(_arg1:uint):void
        {
            if (_arg1 != this._-1Ug)
            {
                this._-1Ug = _arg1;
                this.refresh();
            };
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                TextStyleManager.events.removeEventListener(Event.CHANGE, this._-p2);
                if (this._-2OW)
                {
                    this._-2OW = false;
                    context.removeLocalizationListener(_-3BO.slice(2, _-3BO.indexOf("}")), this);
                };
                if (this._-N1)
                {
                    this._-N1.dispose();
                    this._-N1 = null;
                };
                super.dispose();
            };
        }
        private function refresh(_arg1:Boolean=false):void
        {
            var k:WindowEvent;
            if (this._-0-E)
            {
                return;
            };
            this._-0-E = true;
            var k:TextField = this.textField;
            if (!k)
            {
                this._-0-E = false;
                return;
            };
            this._-0fk = k.textWidth;
            this._-2n2 = k.textHeight;
            var k:int = ((k.border) ? 1 : 0);
            var k:int = ((this._-N1) ? (this._-N1.left + this._-N1.right) : 0);
            var k:int = ((this._-N1) ? (this._-N1.top + this._-N1.bottom) : 0);
            var k:int = (_-Eb - k);
            var k:int = (_-ar - k);
            var k:int = (Math.floor(k.width) + k);
            var k:int = (Math.floor(k.height) + k);
            var k:Boolean;
            if (this._-3AA)
            {
                if (k != k)
                {
                    setRectangle(_-2dX, _-4TA, (k + k), (Math.floor(k.width) + k));
                    k = true;
                };
                if (k < k)
                {
                    k.height = (k - k);
                }
                else
                {
                    if (k > k)
                    {
                        setRectangle(_-2dX, _-4TA, (k + k), (Math.floor(k.width) + k));
                        k = true;
                    };
                };
            }
            else
            {
                if (k != k)
                {
                    setRectangle(_-2dX, _-4TA, (k + k), (Math.floor(k.height) + k));
                    k = true;
                };
                if (k < k)
                {
                    k.height = (k - k);
                }
                else
                {
                    if (k > k)
                    {
                        setRectangle(_-2dX, _-4TA, (k + k), (Math.floor(k.height) + k));
                        k = true;
                    };
                };
            };
            this._-0-E = false;
            _context.invalidate(this, null, _-2b3._-35h);
            if (((((!(k)) && (!(_arg1)))) && (_-2Te)))
            {
                k = WindowEvent._-2W5(WindowEvent._-3K0, this, null);
                _-2Te.dispatchEvent(k);
                k.recycle();
            };
        }
        private function _-3ox(_arg1:IMargins):void
        {
            if (((_arg1) && (!((_arg1 == this._-N1)))))
            {
                if (this._-N1)
                {
                    this._-N1._-3jn(_arg1.left, _arg1.top, _arg1.right, _arg1.bottom, this._-3ox);
                }
                else
                {
                    this._-N1 = new _-1AU(_arg1.left, _arg1.top, _arg1.right, _arg1.bottom, this._-3ox);
                };
            };
            this.refresh();
        }
        private function _-p2(_arg1:Event):void
        {
            this.refresh();
        }
        private function _-0HH(_arg1:Map):void
        {
            if (this._-N1)
            {
                this._-N1._-3jn(int(_arg1["left"]), int(_arg1["top"]), int(_arg1["right"]), int(_arg1["bottom"]), this._-3ox);
            }
            else
            {
                this._-N1 = new _-1AU(int(_arg1["left"]), int(_arg1["top"]), int(_arg1["right"]), int(_arg1["bottom"]), this._-3ox);
            };
            this.refresh();
        }
        override public function get properties():Array
        {
            var k:Array = super.properties;
            var k:TextStyle = TextStyleManager.getStyle(this._-3R-);
            k.push(_-4wa(_-0S0._-2mA, this._-3R-));
            var k:uint = uint((((k.color)!=null) ? k.color : _-aJ(_-0S0._-1s0).value));
            k.push(new PropertyStruct(_-0S0._-1s0, (((this._-1Ug == null)) ? k : this._-1Ug), PropertyStruct._-2FT, ((!((this._-1Ug == null))) && (!((this._-1Ug == k))))));
            k.push(_-4wa(_-0S0._-4U8, this._-3AA));
            if (this._-N1 != null)
            {
                k.push(_-4wa(_-0S0._-3Y7, this._-N1.left));
                k.push(_-4wa(_-0S0._-3if, this._-N1.top));
                k.push(_-4wa(_-0S0._-0Ia, this._-N1.right));
                k.push(_-4wa(_-0S0._-3Za, this._-N1.bottom));
            }
            else
            {
                k.push(_-aJ(_-0S0._-3Y7));
                k.push(_-aJ(_-0S0._-3if));
                k.push(_-aJ(_-0S0._-0Ia));
                k.push(_-aJ(_-0S0._-3Za));
            };
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            var k:PropertyStruct;
            for each (k in _arg1)
            {
                switch (k.key)
                {
                    case _-0S0._-2mA:
                        this._-5-G = TextStyleManager.getStyle((k.value as String));
                        break;
                    case _-0S0._-1s0:
                        this._-1Ug = (k.value as uint);
                        break;
                    case _-0S0._-3Y7:
                        if (((!((this._-N1 == null))) || (k.valid)))
                        {
                            this.margins.left = (k.value as int);
                        };
                        break;
                    case _-0S0._-3if:
                        if (((!((this._-N1 == null))) || (k.valid)))
                        {
                            this.margins.top = (k.value as int);
                        };
                        break;
                    case _-0S0._-0Ia:
                        if (((!((this._-N1 == null))) || (k.valid)))
                        {
                            this.margins.right = (k.value as int);
                        };
                        break;
                    case _-0S0._-3Za:
                        if (((!((this._-N1 == null))) || (k.valid)))
                        {
                            this.margins.bottom = (k.value as int);
                        };
                        break;
                    case _-3If:
                        this._-0HH((k.value as Map));
                        break;
                    case _-0S0._-4U8:
                        this.vertical = (k.value as Boolean);
                        break;
                };
            };
            super.properties = _arg1;
        }
        public function get vertical():Boolean
        {
            return (this._-3AA);
        }
        public function set vertical(_arg1:Boolean):void
        {
            this._-3AA = _arg1;
            this.refresh();
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1ae.TextLinkController

package _-1ae
{
    import _-18r.Map;
    import _-484._-4iz;
    import _-484._-0S0;
    import _-09j.WindowParam;
    import _-Ew.WindowContext;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-Ew.WindowController;
    import _-0Ie.WindowEvent;
    import _-09j._-25s;

    public class TextLinkController extends TextController implements _-0C5 
    {

        private var _-1-f:uint;
        private var _-29x:String;
        private var _-1nm:Boolean;
        protected var _-01h:Map;

        public function TextLinkController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            var k:_-4iz = _arg5.getWindowFactory().getThemeManager();
            this._-1-f = int(k.getPropertyDefaults(_arg3).get(_-0S0._-0iQ).value);
            this._-29x = String(k.getPropertyDefaults(_arg3).get(_-0S0._-25d).value);
            this._-1nm = k.getPropertyDefaults(_arg3).get(_-0S0._-1g3).value;
            super(_arg1, _arg2, _arg3, ((_arg4 | WindowParam._-55Y) & ~(WindowParam._-Cp)), _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11);
            immediateClickMode = true;
            mouseThreshold = 0;
        }
        override public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:Boolean = super.update(_arg1, _arg2);
            if (_arg1 == this)
            {
                InteractiveController._-3kw(this, _arg2);
            };
            return (k);
        }
        public function set mouseCursorType(_arg1:uint):void
        {
        }
        public function get mouseCursorType():uint
        {
            return (0);
        }
        public function set _-2QR(_arg1:String):void
        {
            this._-29x = (((_arg1 == null)) ? "" : _arg1);
        }
        public function get _-2QR():String
        {
            return (this._-29x);
        }
        public function set _-1e(_arg1:uint):void
        {
            this._-1-f = _arg1;
        }
        public function get _-1e():uint
        {
            return (this._-1-f);
        }
        public function _-1iv(_arg1:uint, _arg2:uint):uint
        {
            if (!this._-01h)
            {
                this._-01h = new Map();
            };
            var k:uint = this._-01h[_arg1];
            if ((((_arg2 == _-25s._-3dr)) || ((_arg2 == -1))))
            {
                this._-01h.remove(_arg1);
            }
            else
            {
                this._-01h[_arg1] = _arg2;
            };
            return (k);
        }
        public function _-lr(_arg1:uint):uint
        {
            if (!this._-01h)
            {
                return (_-25s._-3dr);
            };
            return (this._-01h.getValue(_arg1));
        }
        public function _-4H7(_arg1:_-25T):void
        {
            throw (new Error("Unimplemented method!"));
        }
        public function _-4IH():void
        {
            throw (new Error("Unimplemented method!"));
        }
        override public function get properties():Array
        {
            var k:Array = InteractiveController._-0Wz(this, super.properties);
            return (k);
        }
        override public function set properties(_arg1:Array):void
        {
            InteractiveController._-0N(this, _arg1);
            super.properties = _arg1;
        }
        public function set _-5Z(_arg1:Boolean):void
        {
            this._-1nm = _arg1;
        }
        public function get _-5Z():Boolean
        {
            return (this._-1nm);
        }

    }
}//package _-1ae

//------------------------------------------------------------
//_-1am._-0Yv

package _-1am
{
    import _-Ew.IWindowContainer;
    import flash.events.IEventDispatcher;

    public interface _-0Yv 
    {

        function dispose():void;
        function get view():IWindowContainer;
        function registerUpdateEvents(_arg1:IEventDispatcher):void;

    }
}//package _-1am

//------------------------------------------------------------
//_-1am.CurrencyIndicatorBase

package _-1am
{
    import _-Ew.IWindowContainer;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-1ae.IBitmapWrapperWindow;
    import __AS3__.vec.Vector;
    import flash.display.BitmapData;
    import flash.utils.Timer;
    import flash.events.IEventDispatcher;
    import _-0Ie.WindowMouseEvent;
    import _-295._-243;
    import flash.events.TimerEvent;
    import _-1ae.ITextWindow;
    import _-295._-2kE;
    import __AS3__.vec.*;

    public class CurrencyIndicatorBase implements _-0Yv 
    {

        protected static const ANIM_DIRECTION_FORWARD:int = 0;
        protected static const ANIM_DIRECTION_BACKWARD:int = 1;

        private var _-Ke:IWindowContainer;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _disposed:Boolean = false;
        private var _-2qo:IBitmapWrapperWindow;
        private var _-05s:uint;
        private var _-4TP:uint;
        private var _-1xt:String;
        private var _-4N1:String;
        private var _-2rM:Vector.<BitmapData>;
        private var _-50G:uint;
        private var _-2Yg:String = null;
        private var _-0Bs:uint = 0;
        private var _-6f:int;
        private var _-0Ob:Timer;

        public function CurrencyIndicatorBase(_arg1:_-3Ts, _arg2:_-39L)
        {
            this._-2rM = new Vector.<BitmapData>();
            super();
            this._-Ke = null;
            this._-U- = _arg1;
            this._assets = _arg2;
            this._-0Ob = null;
        }
        protected function set _-14(_arg1:uint):void
        {
            this._-05s = _arg1;
        }
        protected function set _-2sp(_arg1:uint):void
        {
            this._-4TP = _arg1;
        }
        protected function set _-1uh(_arg1:String):void
        {
            this._-1xt = _arg1;
        }
        protected function set _-3oK(_arg1:String):void
        {
            this._-4N1 = _arg1;
        }
        protected function set _-fd(_arg1:uint):void
        {
            this._-50G = _arg1;
        }
        protected function set _-15W(_arg1:String):void
        {
            this._-2Yg = _arg1;
        }
        protected function get _-15W():String
        {
            return (this._-2Yg);
        }
        public function get view():IWindowContainer
        {
            return (this._-Ke);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (this._-0Ob)
            {
                this._-0Ob.stop();
                this._-0Ob = null;
            };
            if (this._-2rM)
            {
                this._-2rM = null;
            };
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._disposed = true;
        }
        public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
        }
        public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
        }
        protected function onContainerClick(_arg1:WindowMouseEvent):void
        {
        }
        protected function createWindow(_arg1:String, _arg2:String):void
        {
            var k:Array;
            var k:BitmapData;
            var k:_-243 = (this._assets.getAssetByName(_arg1) as _-243);
            if (k)
            {
                this._-Ke = (this._-U-.buildFromXML((k.content as XML), 1) as IWindowContainer);
                if (this._-Ke)
                {
                    this._-Ke.addEventListener(WindowMouseEvent._-90, this.onContainerClick);
                    this._-Ke.addEventListener(WindowMouseEvent._-4ea, this._-03k);
                    this._-Ke.addEventListener(WindowMouseEvent._-4e2, this._-0Fa);
                    k = [];
                    if (this._-Ke._-507("ICON", k, -1) == 1)
                    {
                        this._-2qo = (k[0] as IBitmapWrapperWindow);
                        k = (this._assets.getAssetByName(_arg2).content as BitmapData);
                        if (k)
                        {
                            this._-3rs(k);
                        };
                    };
                };
            };
        }
        protected function _-2Wy(_arg1:int):void
        {
            this._-0Bs = _arg1;
            if (((this._-2qo) && ((this._-2rM.length > 0))))
            {
                if (this._-0Bs == ANIM_DIRECTION_FORWARD)
                {
                    this._-6f = 0;
                }
                else
                {
                    this._-6f = (this._-2rM.length - 1);
                };
                this._-0Ob = new Timer(this._-50G, this._-2rM.length);
                this._-0Ob.addEventListener(TimerEvent.TIMER, this._-2uj);
                this._-0Ob.addEventListener(TimerEvent.TIMER_COMPLETE, this._-03N);
                this._-0Ob.start();
                this._-2uj(null);
            };
        }
        protected function _-0Ab(_arg1:String):void
        {
            if (this._-Ke)
            {
                this._-Ke.findChildByName(this._-1xt).caption = _arg1;
                this._-Ke.findChildByName(this._-4N1).caption = _arg1;
            };
        }
        protected function _-31u(_arg1:Boolean):void
        {
            var k:ITextWindow;
            var k:ITextWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName(this._-1xt) as ITextWindow);
                k = (this._-Ke.findChildByName(this._-4N1) as ITextWindow);
                k.underline = _arg1;
                k.underline = _arg1;
            };
        }
        protected function set _-1Nn(_arg1:Array):void
        {
            var k:String;
            var k:_-2kE;
            var k:BitmapData;
            for each (k in _arg1)
            {
                k = this._assets.getAssetByName(k);
                if (k)
                {
                    k = (k.content as BitmapData);
                    if (k)
                    {
                        this._-2rM.push(k.clone());
                    };
                };
            };
        }
        private function _-2uj(_arg1:TimerEvent):void
        {
            if (((this._-2qo) && ((this._-2rM.length > 0))))
            {
                this._-3rs(this._-2rM[this._-6f]);
                if (this._-0Bs == ANIM_DIRECTION_FORWARD)
                {
                    this._-6f++;
                    this._-6f = (((this._-6f)<this._-2rM.length) ? this._-6f : (this._-2rM.length - 1));
                }
                else
                {
                    this._-6f--;
                    this._-6f = (((this._-6f)>=0) ? this._-6f : 0);
                };
            };
        }
        private function _-03N(_arg1:TimerEvent):void
        {
            if (this._-2rM.length > 0)
            {
                this._-3rs(this._-2rM[0]);
            };
        }
        private function _-3rs(_arg1:BitmapData):void
        {
            if (this._-2qo)
            {
                this._-2qo.bitmap = _arg1.clone();
                this._-2qo.width = _arg1.width;
                this._-2qo.height = _arg1.height;
                this._-2qo.invalidate();
            };
        }
        private function _-03k(_arg1:WindowMouseEvent):void
        {
            this._-Ke.color = this._-4TP;
        }
        private function _-0Fa(_arg1:WindowMouseEvent):void
        {
            this._-Ke.color = this._-05s;
        }

    }
}//package _-1am

//------------------------------------------------------------
//_-1am.PurseExtension

package _-1am
{
    import _-Ew.IWindow;
    import _-1ae.IItemGridWindow;
    import __AS3__.vec.Vector;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-0cq.CreditsIndicator;
    import _-0cq.ClubDaysIndicator;
    import _-0cq._-2eR;
    import _-0cq.PixelsIndicator;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-4Wu._-4uR;
    import _-0mD._-2Jq;
    import _-3Zp._-1bw;
    import _-uF.ICoreLocalizationManager;
    import flash.events.IEventDispatcher;
    import __AS3__.vec.*;

    public class PurseExtension 
    {

        private var _-0xv:IWindow;
        private var _-8S:IItemGridWindow;
        private var _-4Av:Vector.<_-0Yv>;
        private var _disposed:Boolean = false;

        public function PurseExtension(_arg1:_-3Ts, _arg2:_-39L, _arg3:_-4uR, _arg4:_-2Jq, _arg5:_-1bw, _arg6:ICoreLocalizationManager)
        {
            this._-4Av = new Vector.<_-0Yv>();
            super();
            var k:_-243 = (_arg2.getAssetByName("purse_xml") as _-243);
            if (k)
            {
                this._-0xv = (_arg1.buildFromXML((k.content as XML), 1) as IWindow);
                if (this._-0xv)
                {
                    this._-8S = (IWindowContainer(this._-0xv).findChildByName("purse_grid") as IItemGridWindow);
                    this._-33P(this._-8S, new CreditsIndicator(_arg1, _arg2, _arg4, _arg6), _arg4.events);
                    this._-33P(this._-8S, new ClubDaysIndicator(_arg1, _arg2, _arg4, _arg5, _arg6), _arg5.events);
                    if (_arg3.getBoolean("seasonalcurrencyindicator.enabled", false))
                    {
                        this._-33P(this._-8S, new _-2eR(_arg1, _arg2, _arg4, _arg6), _arg4.events);
                    };
                    if (_arg3.getBoolean("pixelsindicator.enabled", false))
                    {
                        this._-33P(this._-8S, new PixelsIndicator(_arg1, _arg2, _arg4, _arg6), _arg4.events);
                    };
                    this._-0xv.x = 0;
                    this._-0xv.y = 0;
                    this._-0xv.visible = true;
                };
            };
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        public function dispose():void
        {
            var k:_-0Yv;
            if (!this._disposed)
            {
                if (this._-4Av)
                {
                    for each (k in this._-4Av)
                    {
                        k.dispose();
                    };
                    this._-4Av = null;
                };
                this._disposed = true;
            };
        }
        private function _-33P(_arg1:IItemGridWindow, _arg2:_-0Yv, _arg3:IEventDispatcher):void
        {
            if (_arg2.view)
            {
                _arg1._-2-F(_arg2.view);
                _arg2.registerUpdateEvents(_arg3);
                this._-4Av.push(_arg2);
            }
            else
            {
                _-Nb.log("ERROR: currency indicator view was null!");
            };
        }

    }
}//package _-1am

//------------------------------------------------------------
//_-1B._-2lY

package _-1B
{
    import _-FP._-2ul;
    import _-Ew.IWindowContainer;
    import _-1ae._-1hm;
    import _-18r.Map;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-4f7._-3Pt;
    import _-295._-243;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-3Mo._-26z;

    public class _-2lY extends _-2ul 
    {

        private static const _-2lM:int = 320;
        private static const _-0A0:int = 48;
        private static const _-4Bv:int = 2;

        private var _-Ke:IWindowContainer;
        private var _-3EB:_-1hm;
        private var _-09w:Map;

        public function _-2lY(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L)
        {
            super(_arg1, _arg2, _arg3);
            this.handler.widget = this;
            this._-09w = new Map();
        }
        public function get handler():_-3Pt
        {
            return ((_-0nf as _-3Pt));
        }
        override public function dispose():void
        {
            var k:_-4my;
            if (disposed)
            {
                return;
            };
            if (this._-09w)
            {
                for each (k in this._-09w)
                {
                    k.dispose();
                };
                this._-09w.dispose();
                this._-09w = null;
            };
            this._-3EB = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            super.dispose();
        }
        public function open():void
        {
            var k:_-243;
            var k:Rectangle;
            var k:IWindow;
            if (!this._-Ke)
            {
                k = (assets.getAssetByName("effects_widget") as _-243);
                this._-Ke = (windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
                k = this.handler.container.toolbar.getRect();
                this._-Ke.x = (k.right + _-4Bv);
                this._-Ke.y = (k.bottom - this._-Ke.height);
                this._-3EB = (this._-Ke.findChildByName("list") as _-1hm);
                k = this._-Ke.findChildByName("close");
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            this.update();
            this._-Ke.visible = true;
        }
        public function update():void
        {
            var k:_-4my;
            var k:_-26z;
            var k:int;
            var k:Array = this.handler.container.inventory.getAvatarEffects();
            for each (k in k)
            {
                k = (this._-09w.getValue(k.type) as _-4my);
                if (k)
                {
                    k.update();
                }
                else
                {
                    k = new _-4my(this, k);
                    this._-09w.add(k.type, k);
                    this._-3EB.addListItem(k.window);
                };
            };
            k = (this._-09w.length - 1);
            while (k >= 0)
            {
                k = this._-09w.getWithIndex(k);
                if (k.indexOf(k.effect) == -1)
                {
                    this._-3EB._-4sE(k.window);
                    this._-09w.remove(this._-09w.getKey(k));
                    k.dispose();
                };
                k--;
            };
            var k:int = this._-3EB._-2yI.height;
            this._-3EB.height = Math.max(Math.min(k, _-2lM), _-0A0);
            this._-Ke.findChildByName("no_effects").visible = (k.length == 0);
        }
        public function _-0Cf(_arg1:int, _arg2:Boolean):void
        {
            if (_arg2)
            {
                this.handler.container.inventory.setEffectDeselected(_arg1);
            }
            else
            {
                this.handler.container.inventory.setEffectSelected(_arg1);
            };
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-Ke.visible = false;
        }

    }
}//package _-1B

//------------------------------------------------------------
//_-1B._-4my

package _-1B
{
    import _-Ew.IWindowContainer;
    import _-3Mo._-26z;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import flash.events.Event;
    import _-295._-243;
    import _-1ae.IButtonWindow;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;

    public class _-4my 
    {

        private const _-1mB:int = 1000;

        private var _-0dg:_-2lY;
        private var _-0xv:IWindowContainer;
        private var _-32f:_-26z;
        private var _-3ID:IWindow;
        private var _-2ww:Number;
        private var _-70:ITextWindow;
        private var _-2J0:Timer;
        private var _-1dj:IWindow;

        public function _-4my(_arg1:_-2lY, _arg2:_-26z)
        {
            this._-32f = _arg2;
            this._-0dg = _arg1;
            this._-2J0 = new Timer(this._-1mB);
            this._-2J0.addEventListener(TimerEvent.TIMER, this._-0Mz);
            this.update();
        }
        public function get effect():_-26z
        {
            return (this._-32f);
        }
        public function dispose():void
        {
            if (this._-2J0 != null)
            {
                this._-2J0.stop();
                this._-2J0.removeEventListener(TimerEvent.TIMER, this._-0Mz);
                this._-2J0 = null;
            };
            this._-0dg = null;
            this._-32f = null;
            this._-3ID = null;
            this._-70 = null;
            this._-1dj = null;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        private function _-0Mz(_arg1:Event=null):void
        {
            var k:Number;
            if (this._-3ID == null)
            {
                this._-2J0.stop();
                return;
            };
            if (this._-32f._-3Cm)
            {
                k = (this._-32f._-51V / Number(this._-32f.duration));
                this._-3ID.width = (k * this._-2ww);
            }
            else
            {
                this._-3ID.width = 0;
                this._-2J0.stop();
            };
            this._-39E();
        }
        private function _-39E():void
        {
            var k:String;
            var k:int;
            var _local3:int;
            var _local4:int;
            var _local5:int;
            var _local6:int;
            var _local7:String;
            var _local8:String;
            var _local9:String;
            if (this._-70 == null)
            {
                this._-70 = (this._-0xv.findChildByName("time_left") as ITextWindow);
                if (this._-70 == null)
                {
                    return;
                };
            };
            if (!this._-32f._-3Cm)
            {
                this._-70.caption = "${widgets.memenu.effects.activate}";
                return;
            };
            if (this._-32f._-51V > ((60 * 60) * 24))
            {
                this._-70.caption = "${widgets.memenu.effects.active.daysleft}";
                k = this._-70.text;
                k = Math.floor((this._-32f._-51V / ((60 * 60) * 24)));
                k = k.replace("%days_left%", k);
            }
            else
            {
                this._-70.caption = "${widgets.memenu.effects.active.timeleft}";
                k = this._-70.text;
                _local3 = this._-32f._-51V;
                _local4 = Math.floor((_local3 / (60 * 60)));
                _local5 = (Math.floor((_local3 / 60)) % 60);
                _local6 = (_local3 % 60);
                _local7 = (((_local4)<10) ? "0" : "");
                _local8 = (((_local5)<10) ? "0" : "");
                _local9 = (((_local6)<10) ? "0" : "");
                if (_local4 > 0)
                {
                    k = k.replace("%time_left%", (((((((_local7 + _local4) + ":") + _local8) + _local5) + ":") + _local9) + _local6));
                }
                else
                {
                    k = k.replace("%time_left%", ((((_local8 + _local5) + ":") + _local9) + _local6));
                };
            };
            this._-70.text = k;
        }
        public function update():void
        {
            var k:_-243;
            var k:IWindow;
            var k:IButtonWindow;
            if (!this._-0xv)
            {
                this._-0xv = (this._-0dg.windowManager.createWindow("", "", _-4Pi._-0Dc, _-29z._-3dr, _-3hb._-2rR) as IWindowContainer);
            };
            while (this._-0xv.numChildren > 0)
            {
                k = this._-0xv.removeChildAt(0);
                k.dispose();
            };
            this._-3ID = null;
            this._-1dj = null;
            this._-70 = null;
            var k:String = "";
            if (this._-32f._-1V2)
            {
                k = "memenu_effect_selected";
            }
            else
            {
                if (this._-32f._-3Cm)
                {
                    k = "memenu_effect_unselected";
                }
                else
                {
                    k = "memenu_effect_inactive";
                };
            };
            k = (this._-0dg.assets.getAssetByName(k) as _-243);
            var k:IWindowContainer = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            this._-0xv.addChild(k);
            var k:ITextWindow = (this._-0xv.findChildByName("effect_name") as ITextWindow);
            if (k != null)
            {
                k.caption = ((("$" + "{fx_") + this._-32f.type) + "}");
            };
            var k:ITextWindow = (this._-0xv.findChildByName("effect_amount") as ITextWindow);
            if (k != null)
            {
                k.caption = (this._-32f._-1p6 + "");
            };
            var k:IWindowContainer = (this._-0xv.findChildByName("effect_amount_bg1") as IWindowContainer);
            if (this._-32f._-1p6 < 2)
            {
                if (k != null)
                {
                    k.visible = false;
                };
            };
            if (k == "memenu_effect_inactive")
            {
                k = (this._-0xv.findChildByName("activate_effect") as IButtonWindow);
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-2yr);
                };
            }
            else
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
                if (this._-32f._-3Cm)
                {
                    k.addEventListener(WindowMouseEvent._-4ea, this._-2yr);
                    k.addEventListener(WindowMouseEvent._-4e2, this._-2yr);
                };
                if (this._-32f._-1V2)
                {
                    this._-qb("effect_hilite", "memenu_fx_pause");
                }
                else
                {
                    this._-qb("effect_hilite", "memenu_fx_play");
                };
                this._-1dj = this._-0xv.findChildByName("effect_hilite");
                this._-1dj.visible = false;
            };
            this._-39E();
            this._-3ID = this._-0xv.findChildByName("loader_bar");
            if (this._-3ID != null)
            {
                this._-2ww = this._-3ID.width;
                this._-2J0.start();
                this._-0Mz();
            };
            if (this._-32f.icon)
            {
                this._-1Zt("effect_icon", this._-32f.icon);
            };
            this._-0xv.rectangle = k.rectangle;
        }
        private function _-1Zt(_arg1:String, _arg2:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (k != null)
            {
                if (k.bitmap)
                {
                    k.bitmap.dispose();
                };
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k.bitmap.copyPixels(_arg2, _arg2.rect, new Point(0, 0));
            }
            else
            {
                _-Nb.log(("Could not find element: " + _arg1));
            };
        }
        private function _-2yr(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.type)
            {
                case WindowMouseEvent._-4ea:
                    if (this._-1dj != null)
                    {
                        this._-1dj.visible = true;
                    };
                    return;
                case WindowMouseEvent._-4e2:
                    if (this._-1dj != null)
                    {
                        this._-1dj.visible = false;
                    };
                    return;
                case WindowMouseEvent._-90:
                    this._-0dg._-0Cf(this._-32f.type, this._-32f._-1V2);
                    return;
            };
        }
        private function _-qb(_arg1:String, _arg2:String):void
        {
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName(_arg2) as BitmapDataAsset);
            var k:BitmapData = (k.content as BitmapData);
            this._-1Zt(_arg1, k);
        }

    }
}//package _-1B

//------------------------------------------------------------
//_-1B-._-0gI

package _-1B-
{
    public interface _-0gI extends _-1zZ 
    {

        function update(_arg1:uint):void;

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-1zZ

package _-1B-
{
    public interface _-1zZ 
    {

        function dispose():void;
        function get disposed():Boolean;

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-32Z

package _-1B-
{
    import _-2Zw._-1ZA;

    public interface _-32Z 
    {

        function _-0Kz(_arg1:_-0gI):_-1ZA;
        function _-3VI():Array;
        function _-48q(_arg1:Function):void;
        function _-3N9(_arg1:Function):void;
        function _-3I1(_arg1:Function):void;
        function _-3QM(_arg1:Function):void;
        function _-1P8():void;
        function get _-36z():uint;
        function get _-1Km():uint;
        function get _-50x():uint;
        function get _-4Xp():uint;
        function get _-zi():uint;

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-4dA

package _-1B-
{
    public final class _-4dA implements _-Wo 
    {

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-4WH

package _-1B-
{
    public final class _-4WH implements _-Wo 
    {

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-4XL

package _-1B-
{
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import flash.utils.getQualifiedClassName;
    import _-1B-.*;

    final class _-4XL implements _-1zZ 
    {

        private var _-Nu:_-Wo;
        private var _-2k7:String;
        private var _-2nz:_-4yI;
        private var _-3pa:uint;

        public function _-4XL(_arg1:_-Wo, _arg2:_-4yI)
        {
            this._-Nu = _arg1;
            this._-2k7 = getQualifiedClassName(this._-Nu);
            this._-2nz = _arg2;
            this._-3pa = 0;
        }
        public function get iid():_-Wo
        {
            return (this._-Nu);
        }
        public function get _-MM():String
        {
            return (this._-2k7);
        }
        public function get unknown():_-4yI
        {
            return (this._-2nz);
        }
        public function get _-3cc():uint
        {
            return (this._-3pa);
        }
        public function get disposed():Boolean
        {
            return ((this._-2nz == null));
        }
        public function dispose():void
        {
            this._-Nu = null;
            this._-2k7 = null;
            this._-2nz = null;
            this._-3pa = 0;
        }
        public function _-1TS():uint
        {
            return (++this._-3pa);
        }
        public function release():uint
        {
            return ((((this._-3cc)>0) ? --this._-3pa : 0));
        }

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-4yh

package _-1B-
{
    import flash.utils.Dictionary;

    public interface _-4yh 
    {

        function keyExists(_arg1:String):Boolean;
        function getKey(_arg1:String, _arg2:String="", _arg3:Dictionary=null):String;
        function getBoolean(_arg1:String, _arg2:Boolean):Boolean;

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-4yI

package _-1B-
{
    public interface _-4yI extends _-1zZ 
    {

        function queueInterface(_arg1:_-Wo, _arg2:Function=null):_-4yI;
        function release(_arg1:_-Wo):uint;

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-5AI

package _-1B-
{
    public interface _-5AI 
    {

        function log(... _args):void;

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-5CE

package _-1B-
{
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import flash.display.DisplayObjectContainer;
    import flash.net.URLRequest;
    import flash.system.LoaderContext;
    import _-18r.LibraryLoader;
    import flash.system.ApplicationDomain;

    public interface _-5CE extends _-4yI 
    {

        function get assets():_-39L;
        function get events():IEventDispatcher;
        function get root():_-5CE;
        function error(_arg1:String, _arg2:Boolean, _arg3:int=-1, _arg4:Error=null):void;
        function getLastErrorMessage():String;
        function debug(_arg1:String):void;
        function _-0Wj():String;
        function warning(_arg1:String):void;
        function _-2N5():String;
        function get displayObjectContainer():DisplayObjectContainer;
        function loadFromFile(_arg1:URLRequest, _arg2:LoaderContext):LibraryLoader;
        function _-5AO(_arg1:_-Px, _arg2:Array):void;
        function _-3BB(_arg1:_-Px):void;
        function _-3rC(_arg1:Class, _arg2:uint=0, _arg3:ApplicationDomain=null):_-4yI;
        function _-4V-(_arg1:XML, _arg2:Class):Boolean;
        function registerUpdateReceiver(_arg1:_-0gI, _arg2:uint):void;
        function removeUpdateReceiver(_arg1:_-0gI):void;
        function toXMLString(_arg1:uint=0):String;

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-Px

package _-1B-
{
    import _-295._-39L;
    import _-0yf.EventDispatcherWrapper;
    import _-295.AssetLibrary;
    import _-2S9._-4dJ;
    import flash.events.IEventDispatcher;
    import _-2S9._-4G4;
    import flash.utils.getQualifiedClassName;
    import flash.events.Event;
    import _-0yf._-EA;

    public class _-Px implements _-4yI 
    {

        public static const COMPONENT_EVENT_RUNNING:String = "COMPONENT_EVENT_RUNNING";
        public static const COMPONENT_EVENT_DISPOSING:String = "COMPONENT_EVENT_DISPOSING";
        public static const COMPONENT_EVENT_WARNING:String = "COMPONENT_EVENT_WARNING";
        public static const COMPONENT_EVENT_ERROR:String = "COMPONENT_EVENT_ERROR";
        public static const COMPONENT_EVENT_DEBUG:String = "COMPONENT_EVENT_DEBUG";
        protected static const _-55z:String = "_INTERNAL_EVENT_UNLOCKED";
        public static const COMPONENT_FLAG_NULL:uint = 0;
        public static const _-4qw:uint = 1;
        public static const COMPONENT_FLAG_CONTEXT:uint = 2;
        public static const _-3Eg:uint = 4;

        protected var _-3pa:uint = 0;
        protected var _-oE:String = "";
        protected var _-3oO:String = "";
        protected var _-4li:String = "";
        private var _assets:_-39L;
        private var _-2Te:EventDispatcherWrapper;
        private var _-3yf:uint;
        private var _-2FQ:InterfaceStructList;
        private var _context:_-5CE = null;
        private var _disposed:Boolean = false;
        private var _-2pj:Boolean = false;

        public function _-Px(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            this._-3yf = _arg2;
            this._-2FQ = new InterfaceStructList();
            this._-2Te = new EventDispatcherWrapper();
            this._context = _arg1;
            this._assets = (((_arg3)!=null) ? _arg3 : new AssetLibrary("_internal_asset_library"));
            if (this._context == null)
            {
                throw (new _-4dJ("IContext not provided to Component's constructor!"));
            };
        }
        public static function _-0cL(_arg1:_-Px):InterfaceStructList
        {
            return (_arg1._-2FQ);
        }

        public function get locked():Boolean
        {
            return (this._-2pj);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get context():_-5CE
        {
            return (this._context);
        }
        public function get events():IEventDispatcher
        {
            return (this._-2Te);
        }
        public function get assets():_-39L
        {
            return (this._assets);
        }
        public function queueInterface(_arg1:_-Wo, _arg2:Function=null):_-4yI
        {
            var k:_-4XL = this._-2FQ.getStructByInterface(_arg1);
            if (k == null)
            {
                return (this._context.queueInterface(_arg1, _arg2));
            };
            if (this._disposed)
            {
                throw (new _-4G4((('Failed to queue interface trough disposed Component "' + getQualifiedClassName(this)) + '"!')));
            };
            if (this._-2pj)
            {
                return (null);
            };
            k._-1TS();
            var k:_-4yI = (k.unknown as _-4yI);
            if (_arg2 != null)
            {
                (_arg2(_arg1, k));
            };
            return (k);
        }
        public function release(_arg1:_-Wo):uint
        {
            if (this._disposed)
            {
                return (0);
            };
            var k:_-4XL = this._-2FQ.getStructByInterface(_arg1);
            if (k == null)
            {
                this._-oE = (("Attempting to release unknown interface:" + _arg1) + "!");
                throw (new Error(this._-oE));
            };
            var k:uint = k.release();
            if ((this._-3yf & _-3Eg))
            {
                if (k == 0)
                {
                    if (this._-2FQ._-80() == 0)
                    {
                        this._context._-3BB(this);
                        this.dispose();
                    };
                };
            };
            return (k);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                _-Nb.log(("Disposing component " + getQualifiedClassName(this)));
                this._-2Te.dispatchEvent(new Event(_-Px.COMPONENT_EVENT_DISPOSING));
                this._-2Te = null;
                this._-2FQ.dispose();
                this._-2FQ = null;
                this._assets.dispose();
                this._assets = null;
                this._context = null;
                this._-3pa = 0;
                this._disposed = true;
            };
        }
        public function purge():void
        {
        }
        final protected function lock():void
        {
            if (!this._-2pj)
            {
                this._-2pj = true;
            };
        }
        final protected function unlock():void
        {
            if (this._-2pj)
            {
                this._-2pj = false;
                this._-2Te.dispatchEvent(new _-EA(_-55z, this));
            };
        }
        public function toString():String
        {
            return ((((("[component " + getQualifiedClassName(this)) + " refs: ") + this._-3pa) + "]"));
        }
        public function toXMLString(_arg1:uint=0):String
        {
            var k:_-4XL;
            var k:String = "";
            var k:uint;
            while (k < _arg1)
            {
                k = (k + "\t");
                k++;
            };
            var k:String = getQualifiedClassName(this);
            var k:String = "";
            k = (k + (((k + '<component class="') + k) + '">\n'));
            var k:uint = this._-2FQ.length;
            var k:uint;
            while (k < k)
            {
                k = this._-2FQ._-0n3(k);
                k = (k + (((((k + '\t<interface iid="') + k._-MM) + '" refs="') + k._-3cc) + '"/>\n'));
                k++;
            };
            k = (k + (k + "</component>\n"));
            return (k);
        }
        public function registerUpdateReceiver(_arg1:_-0gI, _arg2:uint):void
        {
            if (!this._disposed)
            {
                this._context.registerUpdateReceiver(_arg1, _arg2);
            };
        }
        public function removeUpdateReceiver(_arg1:_-0gI):void
        {
            if (!this._disposed)
            {
                this._context.removeUpdateReceiver(_arg1);
            };
        }

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-vx

package _-1B-
{
    import flash.events.IEventDispatcher;

    public interface _-vx extends _-5CE 
    {

        function initialize():void;
        function purge():void;
        function _-1Cp(_arg1:int, _arg2:int=1):void;
        function _-1f4():void;
        function _-0O2(_arg1:XML, _arg2:IEventDispatcher=null):void;
        function _-1WY():uint;
        function _-3SA():uint;
        function _-1Dc(_arg1:Boolean):void;

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-._-Wo

package _-1B-
{
    public interface _-Wo 
    {

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-.ComponentContext

package _-1B-
{
    import __AS3__.vec.Vector;
    import _-18r.LibraryLoader;
    import flash.display.DisplayObjectContainer;
    import flash.display.Sprite;
    import _-295._-39L;
    import flash.events.Event;
    import _-0yf._-29M;
    import _-0yf.ErrorEvent;
    import _-18r._-2K6;
    import flash.net.URLRequest;
    import flash.system.LoaderContext;
    import _-p-.Core;
    import flash.utils.ByteArray;
    import flash.system.ApplicationDomain;
    import _-295.AssetLibrary;
    import flash.utils.getDefinitionByName;
    import _-2S9._-4dJ;
    import flash.utils.getQualifiedClassName;
    import _-0yf._-EA;
    import __AS3__.vec.*;

    public class ComponentContext extends _-Px implements _-5CE 
    {

        protected var _-17W:Vector.<_-Px>;
        protected var _-4FV:Vector.<ComponentInterfaceQueue>;
        protected var _-Gk:Vector.<LibraryLoader>;
        protected var _-2Qq:Boolean = false;
        protected var _-0bR:DisplayObjectContainer;

        public function ComponentContext(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, (_arg2 | _-Px.COMPONENT_FLAG_CONTEXT), _arg3);
            this._-0bR = new Sprite();
            this._-17W = new Vector.<_-Px>();
            this._-4FV = new Vector.<ComponentInterfaceQueue>();
        }
        public function get root():_-5CE
        {
            if (((!(context)) || ((context == this))))
            {
                return (this);
            };
            return (context.root);
        }
        public function get displayObjectContainer():DisplayObjectContainer
        {
            return (this._-0bR);
        }
        override public function purge():void
        {
            var k:_-Px;
            super.purge();
            for each (k in this._-17W)
            {
                if (k != this)
                {
                    k.purge();
                };
            };
        }
        public function debug(_arg1:String):void
        {
            _-3oO = _arg1;
            if (((this._-2Qq) && (events)))
            {
                events.dispatchEvent(new Event(_-Px.COMPONENT_EVENT_DEBUG));
            };
        }
        public function _-0Wj():String
        {
            return (_-3oO);
        }
        public function warning(_arg1:String):void
        {
            _-4li = _arg1;
            if (events == null)
            {
                _-Nb.log(("Failed to dispatch warning because events was null.\nMessage: " + _arg1));
            }
            else
            {
                events.dispatchEvent(new _-29M(_-Px.COMPONENT_EVENT_WARNING, _arg1));
            };
        }
        public function _-2N5():String
        {
            return (_-4li);
        }
        public function error(_arg1:String, _arg2:Boolean, _arg3:int=-1, _arg4:Error=null):void
        {
            _-oE = _arg1;
            if (events == null)
            {
                _-Nb.log(("Failed to dispatch an error because events was null.\nMessage: " + _arg1));
            }
            else
            {
                events.dispatchEvent(new ErrorEvent(_-Px.COMPONENT_EVENT_ERROR, _arg1, _arg2, _arg3, _arg4));
            };
        }
        public function getLastErrorMessage():String
        {
            return (_-oE);
        }
        final public function loadFromFile(_arg1:URLRequest, _arg2:LoaderContext):LibraryLoader
        {
            var k:LibraryLoader;
            if (this._-Gk == null)
            {
                this._-Gk = new Vector.<LibraryLoader>();
            };
            for each (k in this._-Gk)
            {
                if (k.url == _arg1.url)
                {
                    return (k);
                };
            };
            k = new LibraryLoader(_arg2, this._-2Qq);
            k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-2AZ, false);
            k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-1Yu, false);
            k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_DEBUG, this._-9g, false);
            k.load(_arg1);
            this._-Gk.push(k);
            return (k);
        }
        final protected function _-2AZ(_arg1:_-2K6):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            this._-2gZ(k);
            this._-3rC(k.resource, _-Px.COMPONENT_FLAG_NULL, k.domain);
        }
        protected function _-1Yu(_arg1:_-2K6):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            var k:String = k.getLastErrorMessage();
            this._-2gZ(k);
            this.error((((('Failed to download component resource "' + k.url) + '"!') + "\r") + k), true, Core._-0T-);
        }
        protected function _-9g(_arg1:_-2K6):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            var k:String = k._-0Wj();
            this.debug(k);
        }
        protected function _-2gZ(_arg1:LibraryLoader):void
        {
            _arg1.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-2AZ, false);
            _arg1.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-2AZ, false);
            _arg1.dispose();
            var k:int = this._-Gk.indexOf(_arg1);
            if (k > -1)
            {
                this._-Gk.splice(k, 1);
            };
        }
        public function _-4V-(_arg1:XML, _arg2:Class):Boolean
        {
            return (assets.loadFromResource(_arg1, _arg2));
        }
        final public function _-3rC(_arg1:Class, _arg2:uint=0, _arg3:ApplicationDomain=null):_-4yI
        {
            var manifest:XML;
            var component:_-Px;
            var componentClass:Class;
            var componentString:String;
            var interfaceList:XMLList;
            var iid:_-Wo;
            var iidList:Array;
            var iidClass:Class;
            var iidString:String;
            var item:XML;
            var version:String;
            var unknown:_-4yI;
            var source:Object;
            var bytes:ByteArray;
            var assetList:XMLList;
            var aliasList:XMLList;
            var assetLibrary:_-39L;
            var assetManifest:XML;
            var j:uint;
            var resource:Class = _arg1;
            var flags:int = _arg2;
            var domain = _arg3;
            if (domain == null)
            {
                domain = ApplicationDomain.currentDomain;
            };
            try
            {
                source = (resource as Object).manifest;
                if ((source is XML))
                {
                    manifest = (source as XML);
                }
                else
                {
                    if ((source is Class))
                    {
                        bytes = (new ((source as Class))() as ByteArray);
                        manifest = new XML(bytes.readUTFBytes(bytes.length));
                    };
                };
            }
            catch(e:Error)
            {
                manifest = null;
            };
            if (manifest == null)
            {
                _-Nb.log((("Failed to find embedded manifest.xml in " + resource) + "!"));
                return (null);
            };
            var componentList:XMLList = manifest.child("component");
            var i:uint;
            while (i < componentList.length())
            {
                item = componentList[i];
                version = item.attribute("version");
                componentString = item.attribute("class");
                assetList = item.child("assets");
                aliasList = item.child("aliases");
                assetLibrary = null;
                if (assetList.length() > 0)
                {
                    assetManifest = new XML("<manifest><library /></manifest>");
                    assetManifest.library.appendChild(assetList);
                    assetManifest.library.appendChild(aliasList);
                    assetLibrary = new AssetLibrary(("_assets@" + componentString), assetManifest);
                    assetLibrary.loadFromResource(assetManifest, resource);
                };
                componentClass = (domain.getDefinition(componentString) as Class);
                if (componentClass == null)
                {
                    componentClass = (getDefinitionByName(componentString) as Class);
                };
                if (componentClass == null)
                {
                    this.error((("Invalid component class " + componentString) + "!"), true, Core._-ak);
                    return (null);
                };
                component = (((assetLibrary)==null) ? new componentClass(this, flags) : new componentClass(this, flags, assetLibrary));
                if (component != null)
                {
                    if (assetLibrary != null)
                    {
                        if (component.assets != assetLibrary)
                        {
                            assetLibrary.dispose();
                            this.error((('Component "' + componentString) + '" did not save provided asset library!'), true, Core._-ak);
                        };
                    };
                    interfaceList = item.child("interface");
                    iidList = new Array();
                    j = 0;
                    while (j < interfaceList.length())
                    {
                        iidString = interfaceList[j].attribute("iid");
                        iidClass = (domain.getDefinition(iidString) as Class);
                        if (iidClass == null)
                        {
                            iidClass = (getDefinitionByName(iidString) as Class);
                        };
                        if (iidClass == null)
                        {
                            throw (new _-4dJ(("Identifier class defined in manifest not found: " + iidString)));
                        };
                        iid = new (iidClass)();
                        unknown = (component as _-4yI);
                        _-0cL(component).insert(new _-4XL(iid, component));
                        iidList.push(iid);
                        j = (j + 1);
                    };
                    this._-5AO(component, iidList);
                };
                i = (i + 1);
            };
            return ((component as _-4yI));
        }
        final public function _-5AO(_arg1:_-Px, _arg2:Array):void
        {
            var k:uint;
            var k:_-Wo;
            var k:_-Wo;
            if (this._-17W.indexOf(_arg1) > -1)
            {
                this.error((("Component " + _arg1) + " already attached to context!"), false);
                return;
            };
            this._-17W.push(_arg1);
            if (_arg1.locked)
            {
                _arg1.events.addEventListener(_-55z, this._-0Y1);
            };
            var k:uint = _arg2.length;
            k = 0;
            while (k < k)
            {
                k = _arg2[k];
                if (_-0cL(_arg1).find(k) == null)
                {
                    _-0cL(_arg1).insert(new _-4XL(k, _arg1));
                };
                _-0cL(this).insert(new _-4XL(k, _arg1));
                k++;
            };
            if (!_arg1.locked)
            {
                k = 0;
                while (k < k)
                {
                    k = _arg2[k];
                    if (this._-44r(k))
                    {
                        this._-1gR(k, _arg1);
                    };
                    k++;
                };
            };
        }
        final public function _-3BB(_arg1:_-Px):void
        {
            var k:_-4XL;
            var k:InterfaceStructList = _-0cL(this);
            var k:int = k._-4xe(_arg1);
            while (k > -1)
            {
                k = k.remove(k);
                k = k._-4xe(_arg1);
            };
            var k:uint;
            while (k < this._-17W.length)
            {
                if (this._-17W[k] == _arg1)
                {
                    this._-17W.splice(k, 1);
                    _arg1.events.removeEventListener(_-55z, this._-0Y1);
                    return;
                };
                k++;
            };
        }
        override public function queueInterface(_arg1:_-Wo, _arg2:Function=null):_-4yI
        {
            var k:_-4yI;
            var k:_-4XL = _-0cL(this).getStructByInterface(_arg1);
            if (k != null)
            {
                if ((((k.unknown == this)) && ((k._-MM == getQualifiedClassName(_arg1)))))
                {
                    return (super.queueInterface(_arg1, _arg2));
                };
                k = k.unknown.queueInterface(_arg1, _arg2);
                if (k)
                {
                    return (k);
                };
            };
            if (_arg2 != null)
            {
                this._-1t3(_arg1, _arg2);
                if (((context) && (!((context == this)))))
                {
                    context.queueInterface(_arg1, this._-1gR);
                };
            };
            return (null);
        }
        final protected function _-1t3(_arg1:_-Wo, _arg2:Function):void
        {
            var k:ComponentInterfaceQueue;
            if (this._-44r(_arg1))
            {
                k = this._-4IX(_arg1);
            }
            else
            {
                k = new ComponentInterfaceQueue(_arg1);
                this._-4FV.push(k);
            };
            k.receivers.unshift(_arg2);
        }
        final protected function _-44r(_arg1:_-Wo):Boolean
        {
            var k:String = getQualifiedClassName(_arg1);
            var k:uint = this._-4FV.length;
            var k:uint;
            while (k < k)
            {
                if (getQualifiedClassName(this._-4FV[k].identifier) == k)
                {
                    return (true);
                };
                k++;
            };
            return (false);
        }
        final protected function _-4IX(_arg1:_-Wo):ComponentInterfaceQueue
        {
            var k:ComponentInterfaceQueue;
            var k:String = getQualifiedClassName(_arg1);
            var k:uint = this._-4FV.length;
            var k:uint;
            while (k < k)
            {
                k = this._-4FV[k];
                if (getQualifiedClassName(k.identifier) == k)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        final protected function _-1gR(_arg1:_-Wo, _arg2:_-Px):void
        {
            var k:_-4yI;
            var k:ComponentInterfaceQueue = this._-4IX(_arg1);
            if (k == null)
            {
                return;
            };
            var k:uint = k.receivers.length;
            var k:uint;
            while (k < k)
            {
                k = _arg2.queueInterface(_arg1);
                if (k == null)
                {
                    this.error((("Interface " + _arg1) + " still unavailable!"), true, Core._-T);
                };
                (k.receivers.pop()(_arg1, k));
                k++;
            };
        }
        override public function dispose():void
        {
            var k:uint;
            var k:LibraryLoader;
            if (!disposed)
            {
                super.dispose();
                if (this._-17W != null)
                {
                    k = this._-17W.length;
                    while (k-- > 0)
                    {
                        _-4yI(this._-17W.pop()).dispose();
                    };
                    this._-17W = null;
                };
                if (this._-4FV != null)
                {
                    k = this._-4FV.length;
                    while (k-- > 0)
                    {
                        _-1zZ(this._-4FV.pop()).dispose();
                    };
                    this._-4FV = null;
                };
                if (this._-Gk != null)
                {
                    k = this._-Gk.length;
                    while (k-- > 0)
                    {
                        k = this._-Gk[0];
                        this._-2gZ(k);
                        k.dispose();
                    };
                    this._-Gk = null;
                };
            };
        }
        private function _-0Y1(_arg1:_-EA):void
        {
            var k:_-Px;
            var k:Array;
            var k:_-4XL;
            if (_arg1.type == _-55z)
            {
                k = (_arg1.unknown as _-Px);
                if (!k.disposed)
                {
                    k.events.removeEventListener(_-55z, this._-0Y1);
                };
                if (!disposed)
                {
                    k = new Array();
                    _-0cL(this).mapStructsByImplementor(k, k);
                    while (((((k.length) && (!(k.disposed)))) && (!(disposed))))
                    {
                        k = k.pop();
                        this._-1gR(k.iid, k);
                    };
                };
            };
        }
        override public function toXMLString(_arg1:uint=0):String
        {
            var k:_-4XL;
            var k:_-Px;
            var k:String = "";
            var k:uint;
            while (k < _arg1)
            {
                k = (k + "\t");
                k++;
            };
            var k:String = getQualifiedClassName(this);
            var k:String = "";
            k = (k + (((k + '<context class="') + k) + '" >\n'));
            var k:Array = new Array();
            var k:uint = _-0cL(this).mapStructsByImplementor(this, k);
            var k:uint;
            while (k < k)
            {
                k = k[k];
                k = (k + (((((k + '\t<interface iid="') + k._-MM) + '" refs="') + k._-3cc) + '"/>\n'));
                k++;
            };
            var k:uint;
            while (k < this._-17W.length)
            {
                k = (this._-17W[k] as _-Px);
                if (k != this)
                {
                    k = (k + k.toXMLString((_arg1 + 1)));
                };
                k++;
            };
            k = (k + (k + "</context>\n"));
            return (k);
        }

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-.ComponentInterfaceQueue

package _-1B-
{
    import _-1B-._-Wo;
    import __AS3__.vec.Vector;
    import __AS3__.vec.*;
    import _-1B-.*;

    class ComponentInterfaceQueue implements _-1zZ 
    {

        private var _-0cx:_-Wo;
        private var _-4Bk:Boolean;
        private var _-0pq:Vector.<Function>;

        public function ComponentInterfaceQueue(_arg1:_-Wo)
        {
            this._-0cx = _arg1;
            this._-0pq = new Vector.<Function>();
            this._-4Bk = false;
        }
        public function get identifier():_-Wo
        {
            return (this._-0cx);
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get receivers():Vector.<Function>
        {
            return (this._-0pq);
        }
        public function dispose():void
        {
            if (!this._-4Bk)
            {
                this._-4Bk = true;
                this._-0cx = null;
                while (this._-0pq.length > 0)
                {
                    this._-0pq.pop();
                };
                this._-0pq = null;
            };
        }

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-.CoreComponentContext

package _-1B-
{
    import _-18r._-3q9;
    import flash.events.IEventDispatcher;
    import _-295.AssetLibraryCollection;
    import _-p-.Core;
    import flash.utils.getTimer;
    import flash.events.Event;
    import _-2Zw._-27R;
    import flash.display.DisplayObjectContainer;
    import _-18r.PurgeTrigger;
    import _-18r.LibraryLoader;
    import flash.system.LoaderContext;
    import flash.system.ApplicationDomain;
    import flash.net.URLRequest;
    import _-18r._-2K6;
    import _-0yf._-0c4;
    import flash.utils.getQualifiedClassName;

    public final class CoreComponentContext extends ComponentContext implements _-vx 
    {

        private static const _-27D:uint = 3;
        private static const _-2VY:String = "asset-libraries";
        private static const _-0jO:String = "library";
        private static const _-1S7:String = "service-libraries";
        private static const _-2Ly:String = "library";
        private static const _-0zV:String = "component-libraries";
        private static const _-444:String = "library";

        private var _-0Jh:_-3q9;
        private var _-4cD:IEventDispatcher;
        private var _-31e:uint;
        private var _-52b:Function;
        private var _-0gd:Profiler;
        private var _-2dr:Array;
        private var _-4es:Array;
        private var _lastUpdateTimeMs:uint;
        private var _-3yf:uint = 0;
        private var _-3lV:int = -1;
        private var _-2aV:uint;

        public function CoreComponentContext(_arg1:DisplayObjectContainer, _arg2:uint)
        {
            super(this, _-Px.COMPONENT_FLAG_CONTEXT, new AssetLibraryCollection("_core_assets"));
            this._-3yf = _arg2;
            _-2Qq = ((_arg2 & Core.CORE_SETUP_DEBUG) == Core.CORE_SETUP_DEBUG);
            this._-2dr = new Array();
            this._-4es = new Array();
            _-0bR = _arg1;
            var k:uint;
            while (k < CoreComponentContext._-27D)
            {
                this._-2dr.push(new Array());
                this._-4es.push(0);
                k++;
            };
            this._lastUpdateTimeMs = getTimer();
            _-5AO(this, [new _-4dA()]);
            _-0bR.addEventListener(Event.ENTER_FRAME, this.onEnterFrame);
            switch ((_arg2 & Core._-2HV))
            {
                case Core._-Dr:
                    debug("Core; using simple frame update handler");
                    this._-52b = this._-3Cg;
                    return;
                case Core._-0d1:
                    debug("Core; using complex frame update handler");
                    this._-52b = this._-05z;
                    return;
                case Core._-0XS:
                    debug("Core; using profiler frame update handler");
                    this._-52b = this._-0in;
                    this._-0gd = new Profiler(this);
                    _-5AO(this._-0gd, [new _-4WH()]);
                    _-0bR.addChild(new _-27R(this._-0gd));
                    return;
                case Core._-2Je:
                    debug("Core; using experimental frame update handler");
                    this._-52b = this._-1A4;
                    return;
                case Core.CORE_SETUP_DEBUG:
                    debug("Core; using debug frame update handler");
                    this._-52b = this._-44O;
                    return;
            };
        }
        public function _-1WY():uint
        {
            return (this._-0Jh.length);
        }
        public function _-3SA():uint
        {
            return ((this._-31e - this._-1WY()));
        }
        public function initialize():void
        {
            events.dispatchEvent(new Event(_-Px.COMPONENT_EVENT_RUNNING));
            PurgeTrigger.start();
        }
        override public function dispose():void
        {
            var k:uint;
            var k:Array;
            var k:*;
            var k:uint;
            if (!disposed)
            {
                debug("Disposing core");
                PurgeTrigger.stop();
                try
                {
                    k = 0;
                    while (k < CoreComponentContext._-27D)
                    {
                        k = (this._-2dr[k] as Array);
                        k = k.length;
                        while (k-- > 0)
                        {
                            k = k.pop();
                            if ((k is UpdateDelegate))
                            {
                                UpdateDelegate(k).dispose();
                            };
                        };
                        k++;
                    };
                }
                catch(e:Error)
                {
                };
                if (_-0bR)
                {
                    _-0bR.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
                    _-0bR = null;
                };
                if (this._-0Jh != null)
                {
                    this._-0Jh.dispose();
                    this._-0Jh = null;
                };
                super.dispose();
            };
        }
        override public function error(_arg1:String, _arg2:Boolean, _arg3:int=-1, _arg4:Error=null):void
        {
            if (_arg4)
            {
                _-Nb.log(_arg4.getStackTrace());
            };
            super.error(_arg1, _arg2, _arg3, _arg4);
            if (_arg2)
            {
                this.dispose();
            };
        }
        public function _-0O2(_arg1:XML, _arg2:IEventDispatcher=null):void
        {
            var k:XML;
            var k:XMLList;
            var k:XML;
            var k:String;
            var k:LibraryLoader;
            var k:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
            debug("Parsing config document");
            this._-4cD = _arg2;
            if (this._-0Jh == null)
            {
                this._-0Jh = new _-3q9(_-2Qq);
            };
            k = _arg1.child(_-2VY)[0];
            if (k != null)
            {
                k = k.child(_-0jO);
                for each (k in k)
                {
                    k = k.attribute("url").toString();
                    k = new LibraryLoader(k, true, _-2Qq);
                    assets.loadFromFile(k, true);
                    k.load(new URLRequest(k));
                    this._-0Jh.push(k);
                    k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-5BJ);
                    k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-PE);
                    this._-31e++;
                };
            };
            k = _arg1.child(_-1S7)[0];
            if (k != null)
            {
                k = k.child(_-2Ly);
                for each (k in k)
                {
                    k = k.attribute("url").toString();
                    k = new LibraryLoader(k, true, _-2Qq);
                    k.load(new URLRequest(k));
                    this._-0Jh.push(k);
                    k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-5BJ);
                    k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-PE);
                    this._-31e++;
                };
            };
            k = _arg1.child(_-0zV)[0];
            if (k != null)
            {
                k = k.child(_-444);
                for each (k in k)
                {
                    k = k.attribute("url").toString();
                    k = new LibraryLoader(k, true, _-2Qq);
                    k.load(new URLRequest(k));
                    this._-0Jh.push(k);
                    k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-5BJ);
                    k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-PE);
                    this._-31e++;
                };
            };
            if (!disposed)
            {
                this._-5BJ();
            };
        }
        private function _-PE(_arg1:_-2K6=null):void
        {
            var k:LibraryLoader = LibraryLoader(_arg1.target);
            this.error(((((('Failed to download library "' + k.url) + '" HTTP status ') + _arg1.status) + ": ") + k.getLastErrorMessage()), true, Core._-1QF);
            if (!disposed)
            {
                this._-5BJ(_arg1);
            };
        }
        private function _-3AO():void
        {
            if (this._-4cD != null)
            {
                this._-4cD.dispatchEvent(new Event(Event.COMPLETE));
                this._-4cD = null;
            };
        }
        private function _-33L(_arg1:_-2K6=null):void
        {
            var k:LibraryLoader;
            if (this._-4cD != null)
            {
                k = (_arg1.target as LibraryLoader);
                this._-4cD.dispatchEvent(new _-0c4(k.url, _arg1.bytesLoaded, _arg1.bytesTotal, k._-04b));
            };
        }
        private function _-5BJ(_arg1:_-2K6=null):void
        {
            var k:LibraryLoader;
            var k:String;
            if (_arg1 != null)
            {
                if ((((_arg1.type == _-2K6.LIBRARY_LOADER_EVENT_COMPLETE)) || ((_arg1.type == _-2K6.LIBRARY_LOADER_EVENT_ERROR))))
                {
                    k = (_arg1.target as LibraryLoader);
                    k.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-5BJ);
                    k.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-PE);
                    k.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_PROGRESS, this._-33L);
                    k = k.url;
                    debug(((('Loading library "' + k) + '" ') + (((_arg1.type == _-2K6.LIBRARY_LOADER_EVENT_COMPLETE)) ? "ready" : ("failed\n" + k.getLastErrorMessage()))));
                    k.dispose();
                    if (!disposed)
                    {
                        if (this._-4cD != null)
                        {
                            this._-4cD.dispatchEvent(new _-0c4(k.url, (this._-31e - this._-0Jh.length), this._-31e, k._-04b));
                        };
                    };
                };
            };
            if (!disposed)
            {
                if (this._-0Jh.length == 0)
                {
                    this._-3AO();
                    debug("All libraries loaded, Core is now running");
                };
            };
        }
        override public function registerUpdateReceiver(_arg1:_-0gI, _arg2:uint):void
        {
            this.removeUpdateReceiver(_arg1);
            k = (((_arg2 >= CoreComponentContext._-27D)) ? (CoreComponentContext._-27D - 1) : _arg2);
            var k:int = ((this._-0gd) ? Core._-0XS : (this._-3yf & Core._-2HV));
            if (k == Core._-2Je)
            {
                this._-2dr[k].push(new UpdateDelegate(_arg1, this, k));
            }
            else
            {
                this._-2dr[k].push(_arg1);
            };
        }
        override public function removeUpdateReceiver(_arg1:_-0gI):void
        {
            var k:int;
            var k:Array;
            var k:UpdateDelegate;
            if (disposed)
            {
                return;
            };
            var k:int = ((this._-0gd) ? Core._-0XS : (this._-3yf & Core._-2HV));
            var k:uint;
            while (k < CoreComponentContext._-27D)
            {
                k = (this._-2dr[k] as Array);
                if (k == Core._-2Je)
                {
                    for each (k in k)
                    {
                        if (k.receiver == _arg1)
                        {
                            k.dispose();
                            return;
                        };
                    };
                }
                else
                {
                    k = k.indexOf(_arg1);
                    if (k > -1)
                    {
                        k[k] = null;
                        return;
                    };
                };
                k++;
            };
        }
        public function _-1Cp(_arg1:int, _arg2:int=1):void
        {
            if (!this._-0mp)
            {
                PurgeTrigger.stop();
                this._-3lV = _arg1;
                this._-2aV = (1000 / _arg2);
            };
        }
        public function _-1f4():void
        {
            if (this._-0mp)
            {
                PurgeTrigger.start();
                this._-3lV = -1;
            };
        }
        private function get _-0mp():Boolean
        {
            return ((this._-3lV > -1));
        }
        private function get _-14R():uint
        {
            return (((this._-0mp) ? (this._-3lV + 1) : CoreComponentContext._-27D));
        }
        private function onEnterFrame(_arg1:Event):void
        {
            var k:uint = getTimer();
            var k:uint = (k - this._lastUpdateTimeMs);
            if (((!(this._-0mp)) || ((k > this._-2aV))))
            {
                this._-52b(k, k);
                this._lastUpdateTimeMs = k;
            };
        }
        private function _-3Cg(_arg1:uint, _arg2:uint):void
        {
            var priority:uint;
            var receivers:Array;
            var receiver:_-0gI;
            var length:uint;
            var index:uint;
            var msCurrentTime:uint = _arg1;
            var msSinceLastUpdate:uint = _arg2;
            priority = 0;
            while (priority < this._-14R)
            {
                this._-4es[priority] = 0;
                receivers = this._-2dr[priority];
                index = 0;
                length = receivers.length;
                while (index != length)
                {
                    receiver = _-0gI(receivers[index]);
                    if ((((receiver == null)) || (receiver.disposed)))
                    {
                        receivers.splice(index, 1);
                        length = (length - 1);
                    }
                    else
                    {
                        try
                        {
                            receiver.update(msSinceLastUpdate);
                        }
                        catch(e:Error)
                        {
                            _-Nb.log(e.getStackTrace());
                            error(((('Error in update receiver "' + getQualifiedClassName(receiver)) + '": ') + e.message), true, e.errorID, e);
                            return;
                        };
                        index = (index + 1);
                    };
                };
                priority = (priority + 1);
            };
        }
        private function _-05z(_arg1:uint, _arg2:uint):void
        {
            var priority:uint;
            var receivers:Array;
            var receiver:_-0gI;
            var length:uint;
            var index:uint;
            var skip:Boolean;
            var t:uint;
            var msCurrentTime:uint = _arg1;
            var msSinceLastUpdate:uint = _arg2;
            var proceed:Boolean = true;
            var maxTimePerFrame:uint = (1000 / _-0bR.stage.frameRate);
            priority = 0;
            while (priority < this._-14R)
            {
                t = getTimer();
                skip = false;
                if ((t - msCurrentTime) > maxTimePerFrame)
                {
                    if (this._-4es[priority] < priority)
                    {
                        var _local4 = this._-4es;
                        var _local5 = priority;
                        var _local6 = (_local4[_local5] + 1);
                        _local4[_local5] = _local6;
                        skip = true;
                    };
                };
                if (!skip)
                {
                    this._-4es[priority] = 0;
                    receivers = this._-2dr[priority];
                    index = 0;
                    length = receivers.length;
                    while (((!((index == length))) && (proceed)))
                    {
                        receiver = _-0gI(receivers[index]);
                        if ((((receiver == null)) || (receiver.disposed)))
                        {
                            receivers.splice(index, 1);
                            length = (length - 1);
                        }
                        else
                        {
                            try
                            {
                                receiver.update(msSinceLastUpdate);
                            }
                            catch(e:Error)
                            {
                                _-Nb.log(e.getStackTrace());
                                error(((('Error in update receiver "' + getQualifiedClassName(receiver)) + '": ') + e), true, e.errorID, e);
                                proceed = false;
                            };
                            index = (index + 1);
                        };
                    };
                };
                priority = (priority + 1);
            };
        }
        private function _-0in(_arg1:uint, _arg2:uint):void
        {
            var priority:uint;
            var receivers:Array;
            var receiver:_-0gI;
            var length:uint;
            var index:uint;
            var msCurrentTime:uint = _arg1;
            var msSinceLastUpdate:uint = _arg2;
            this._-0gd.start();
            priority = 0;
            while (priority < this._-14R)
            {
                this._-4es[priority] = 0;
                receivers = this._-2dr[priority];
                index = 0;
                length = receivers.length;
                while (index != length)
                {
                    receiver = _-0gI(receivers[index]);
                    if ((((receiver == null)) || (receiver.disposed)))
                    {
                        receivers.splice(index, 1);
                        length = (length - 1);
                    }
                    else
                    {
                        try
                        {
                            this._-0gd.update(receiver, msSinceLastUpdate);
                        }
                        catch(e:Error)
                        {
                            error(((('Error in update receiver "' + getQualifiedClassName(receiver)) + '": ') + e.message), true, e.errorID, e);
                            return;
                        };
                        index = (index + 1);
                    };
                };
                priority = (priority + 1);
            };
            this._-0gd.stop();
        }
        private function _-1A4(_arg1:uint, _arg2:uint):void
        {
            var k:Array;
            var k:int;
            var k:int;
            while (k < CoreComponentContext._-27D)
            {
                k = this._-2dr[k];
                k = (k.length - 1);
                while (k > -1)
                {
                    if (k[k].disposed)
                    {
                        k.splice(k, 1);
                    };
                    k--;
                };
                k++;
            };
        }
        private function _-44O(_arg1:uint, _arg2:uint):void
        {
            var k:uint;
            var k:Array;
            var k:_-0gI;
            var k:uint;
            var k:uint;
            k = 0;
            while (k < this._-14R)
            {
                this._-4es[k] = 0;
                k = this._-2dr[k];
                k = 0;
                k = k.length;
                while (k != k)
                {
                    k = _-0gI(k[k]);
                    if ((((k == null)) || (k.disposed)))
                    {
                        k.splice(k, 1);
                        k--;
                    }
                    else
                    {
                        k.update(_arg2);
                        k++;
                    };
                };
                k++;
            };
        }
        public function _-1Dc(_arg1:Boolean):void
        {
            var k:int;
            var k:Array;
            var k:Object;
            var k:int;
            if (_arg1)
            {
                this._-52b = this._-0in;
                if (((!(this._-0gd)) || (this._-0gd.disposed)))
                {
                    this._-0gd = new Profiler(this);
                };
                _-5AO(this._-0gd, [new _-4WH()]);
                k = 0;
                while (k < CoreComponentContext._-27D)
                {
                    k = this._-2dr[k];
                    k = (k.length - 1);
                    while (k > -1)
                    {
                        k = k[k];
                        if ((k is UpdateDelegate))
                        {
                            k[k] = UpdateDelegate(k).receiver;
                            UpdateDelegate(k).dispose();
                        };
                        k--;
                    };
                    k++;
                };
            }
            else
            {
                _-3BB(this._-0gd);
                switch ((this._-3yf & Core._-2HV))
                {
                    case Core._-Dr:
                        this._-52b = this._-3Cg;
                        return;
                    case Core._-0d1:
                        this._-52b = this._-05z;
                        return;
                    case Core._-2Je:
                        this._-52b = this._-1A4;
                        k = 0;
                        while (k < CoreComponentContext._-27D)
                        {
                            k = this._-2dr[k];
                            k = (k.length - 1);
                            while (k > -1)
                            {
                                k = k[k];
                                if ((k is _-0gI))
                                {
                                    k[k] = new UpdateDelegate(_-0gI(k), this, k);
                                };
                                k--;
                            };
                            k++;
                        };
                        return;
                    default:
                        this._-52b = this._-44O;
                };
            };
        }

    }
}//package _-1B-

import _-1B-._-0gI;
import _-1B-._-5CE;
import flash.events.Event;
import flash.utils.getTimer;
import flash.utils.getQualifiedClassName;
import _-1B-.*;

class UpdateDelegate implements _-1zZ 
{

    private var _receiver:_-0gI;
    private var _context:_-5CE;
    private var _priority:int;
    private var _lastUpdateTimeMs:uint;
    private var _framesSkipped:uint = 0;

    public function UpdateDelegate(_arg1:_-0gI, _arg2:_-5CE, _arg3:int)
    {
        if (((_arg2) && (_arg1)))
        {
            this._receiver = _arg1;
            this._context = _arg2;
            this._priority = _arg3;
            _arg2.displayObjectContainer.stage.addEventListener((((this._priority == 0)) ? Event.EXIT_FRAME : Event.ENTER_FRAME), this.onFrameUpdate);
            this._lastUpdateTimeMs = getTimer();
        };
    }
    public function get priority():int
    {
        return (this._priority);
    }
    public function get receiver():_-0gI
    {
        return (this._receiver);
    }
    public function get disposed():Boolean
    {
        return (((this._receiver) ? this._receiver.disposed : true));
    }
    public function dispose():void
    {
        if (this._receiver)
        {
            this._receiver = null;
            this._context.displayObjectContainer.stage.removeEventListener((((this._priority == 0)) ? Event.EXIT_FRAME : Event.ENTER_FRAME), this.onFrameUpdate);
            this._context = null;
        };
    }
    private function onFrameUpdate(_arg1:Event):void
    {
        var msCurrentTime:uint;
        var msDeltaTime:uint;
        var event:Event = _arg1;
        if (!this.disposed)
        {
            msCurrentTime = getTimer();
            msDeltaTime = (msCurrentTime - this._lastUpdateTimeMs);
            this._lastUpdateTimeMs = msCurrentTime;
            if ((((this._priority > 0)) && ((this._framesSkipped < this._priority))))
            {
                if (msDeltaTime > (1000 / this._context.displayObjectContainer.stage.frameRate))
                {
                    this._framesSkipped++;
                    return;
                };
            };
            this._framesSkipped = 0;
            try
            {
                this._receiver.update(msDeltaTime);
            }
            catch(e:Error)
            {
                _context.error(((('Error in update receiver "' + getQualifiedClassName(_receiver)) + '": ') + e.message), true, e.errorID, e);
            };
        };
    }

}

//------------------------------------------------------------
//_-1B-.InterfaceStructList

package _-1B-
{
    import flash.utils.getQualifiedClassName;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1B-.*;

    final class InterfaceStructList implements _-1zZ 
    {

        private var _-3EB:Array;

        public function InterfaceStructList()
        {
            this._-3EB = new Array();
            super();
        }
        public function get length():uint
        {
            return (this._-3EB.length);
        }
        public function get disposed():Boolean
        {
            return ((this._-3EB == null));
        }
        public function dispose():void
        {
            var k:_-4XL;
            var k:uint = this._-3EB.length;
            var k:uint;
            while (k < k)
            {
                k = this._-3EB.pop();
                k.dispose();
                k++;
            };
            this._-3EB = null;
        }
        public function insert(_arg1:_-4XL):uint
        {
            this._-3EB.push(_arg1);
            return (this._-3EB.length);
        }
        public function remove(_arg1:uint):_-4XL
        {
            var k:_-4XL;
            if (_arg1 < this._-3EB.length)
            {
                k = this._-3EB[_arg1];
                this._-3EB.splice(_arg1, 1);
                return (k);
            };
            throw (new Error("Index out of range!"));
        }
        public function find(_arg1:_-Wo):_-4yI
        {
            var k:_-4XL;
            var k:String = getQualifiedClassName(_arg1);
            var k:uint = this._-3EB.length;
            var k:uint;
            while (k < k)
            {
                k = (this._-3EB[k] as _-4XL);
                if (k._-MM == k)
                {
                    return (k.unknown);
                };
                k++;
            };
            return (null);
        }
        public function getStructByInterface(_arg1:_-Wo):_-4XL
        {
            var k:_-4XL;
            var k:String = getQualifiedClassName(_arg1);
            var k:uint = this._-3EB.length;
            var k:uint;
            while (k < k)
            {
                k = (this._-3EB[k] as _-4XL);
                if (k._-MM == k)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-4TY(_arg1:_-Wo):int
        {
            var k:_-4XL;
            var k:String = getQualifiedClassName(_arg1);
            var k:uint = this._-3EB.length;
            var k:int;
            while (k < k)
            {
                k = (this._-3EB[k] as _-4XL);
                if (k._-MM == k)
                {
                    return (k);
                };
                k++;
            };
            return (-1);
        }
        public function _-3Gx(_arg1:_-Wo, _arg2:Array):uint
        {
            var k:_-4XL;
            var k:String = getQualifiedClassName(_arg1);
            var k:uint;
            var k:uint = this._-3EB.length;
            var k:uint;
            while (k < k)
            {
                k = (this._-3EB[k] as _-4XL);
                if (k._-MM == k)
                {
                    _arg2.push(k);
                    k++;
                };
                k++;
            };
            return (k);
        }
        public function _-3hT(_arg1:_-4yI):_-4XL
        {
            var k:_-4XL;
            var k:uint = this._-3EB.length;
            var k:uint;
            while (k < k)
            {
                k = (this._-3EB[k] as _-4XL);
                if (k.unknown == _arg1)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-4xe(_arg1:_-4yI):int
        {
            var k:_-4XL;
            var k:uint = this._-3EB.length;
            var k:uint;
            while (k < k)
            {
                k = (this._-3EB[k] as _-4XL);
                if (k.unknown == _arg1)
                {
                    return (k);
                };
                k++;
            };
            return (-1);
        }
        public function mapStructsByImplementor(_arg1:_-4yI, _arg2:Array):uint
        {
            var k:_-4XL;
            var k:uint;
            var k:uint = this._-3EB.length;
            var k:uint;
            while (k < k)
            {
                k = (this._-3EB[k] as _-4XL);
                if (k.unknown == _arg1)
                {
                    _arg2.push(k);
                    k++;
                };
                k++;
            };
            return (k);
        }
        public function _-0n3(_arg1:uint):_-4XL
        {
            return ((((_arg1)<this._-3EB.length) ? this._-3EB[_arg1] : null));
        }
        public function _-80():uint
        {
            var k:_-4XL;
            var k:uint;
            var k:uint = this._-3EB.length;
            var k:uint;
            while (k < k)
            {
                k = (this._-3EB[k] as _-4XL);
                k = (k + k._-3cc);
                k++;
            };
            return (k);
        }

    }
}//package _-1B-

//------------------------------------------------------------
//_-1B-.Profiler

package _-1B-
{
    import _-1B-._-Px;
    import flash.utils.Dictionary;
    import _-1B-._-5CE;
    import _-295.AssetLibrary;
    import _-295.BitmapDataAsset;
    import _-bY._-4U6;
    import _-1B-._-1zZ;
    import flash.net.LocalConnection;
    import flash.events.Event;
    import flash.utils.getTimer;
    import _-1B-._-0gI;
    import _-2Zw._-1ZA;
    import _-1B-.*;

    class Profiler extends _-Px implements _-32Z 
    {

        public static const PROFILER_START:String = "PROFILER_START";
        public static const PROFILER_STOP:String = "PROFILER_STOP";

        private var _-FL:Dictionary;
        private var _-4Dy:int;
        private var _-bU:int;

        public function Profiler(_arg1:_-5CE)
        {
            this._-FL = new Dictionary(true);
            super(_arg1, 0, null);
        }
        public function get _-36z():uint
        {
            return (AssetLibrary._-36z);
        }
        public function get _-1Km():uint
        {
            return (BitmapDataAsset._-52v);
        }
        public function get _-50x():uint
        {
            return (BitmapDataAsset._-s7);
        }
        public function get _-4Xp():uint
        {
            return (_-4U6._-1dy);
        }
        public function get _-zi():uint
        {
            return (_-4U6._-s7);
        }
        override public function dispose():void
        {
            var k:Object;
            if (!disposed)
            {
                for (k in this._-FL)
                {
                    _-1zZ(this._-FL[k]).dispose();
                    delete this._-FL[k];
                };
                super.dispose();
            };
        }
        public function _-1P8():void
        {
            try
            {
                new LocalConnection().connect("foo");
                new LocalConnection().connect("foo");
            }
            catch(e)
            {
            };
        }
        public function start():void
        {
            events.dispatchEvent(new Event(PROFILER_START, false, false));
            this._-4Dy = getTimer();
        }
        public function stop():void
        {
            this._-bU = (getTimer() - this._-4Dy);
            events.dispatchEvent(new Event(PROFILER_STOP, false, false));
        }
        public function update(_arg1:_-0gI, _arg2:uint):void
        {
            this._-0Kz(_arg1).update(_arg2);
        }
        public function get _-1bm():uint
        {
            var k:Object;
            var k:uint;
            for (k in this._-FL)
            {
                if (!_-1zZ(k).disposed)
                {
                    k++;
                };
            };
            return (k);
        }
        public function _-3VI():Array
        {
            var k:_-0gI;
            var k:Object;
            var k:Array = new Array();
            for (k in this._-FL)
            {
                k = (k as _-0gI);
                if (_-1zZ(k).disposed)
                {
                    _-1zZ(this._-FL[k]).dispose();
                    delete this._-FL[k];
                }
                else
                {
                    k.push(this._-FL[k]);
                };
            };
            return (k);
        }
        public function _-0Kz(_arg1:_-0gI):_-1ZA
        {
            var k:_-1ZA = this._-FL[_arg1];
            return ((((k)!=null) ? k : this._-4yt(_arg1)));
        }
        public function _-4yt(_arg1:_-0gI):_-1ZA
        {
            if (this._-FL[_arg1] != null)
            {
                throw (new Error("Profiler for receiver already exists!"));
            };
            var k:_-1ZA = new _-1ZA(_arg1);
            this._-FL[_arg1] = k;
            return (k);
        }
        public function _-48q(_arg1:Function):void
        {
            events.addEventListener(PROFILER_START, _arg1);
        }
        public function _-3N9(_arg1:Function):void
        {
            events.addEventListener(PROFILER_STOP, _arg1);
        }
        public function _-3I1(_arg1:Function):void
        {
            events.removeEventListener(PROFILER_START, _arg1);
        }
        public function _-3QM(_arg1:Function):void
        {
            events.removeEventListener(PROFILER_STOP, _arg1);
        }

    }
}//package _-1B-

//------------------------------------------------------------
//_-1bH._-4rN

package _-1bH
{
    public class _-4rN 
    {

        private var _-4lu:int;
        private var _-2lb:String = "";
        private var _-14l:String = "";
        private var _-5AE:String = "";
        private var _-1Rt:int;

        public function _-4rN(_arg1:int, _arg2:String, _arg3:String, _arg4:int, _arg5:String="")
        {
            this._-4lu = _arg1;
            this._-2lb = _arg2;
            this._-1Rt = _arg4;
            this._-14l = _arg5;
            this._-5AE = _arg3;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function set roomName(_arg1:String):void
        {
            this._-14l = _arg1;
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }

    }
}//package _-1bH

//------------------------------------------------------------
//_-1bH._-4Rq

package _-1bH
{
    import _-18r.Map;

    public class _-4Rq 
    {

        private static const _-08a:int = 80;

        private var _-49v:Map;
        private var _-14l:String = "";
        private var _-1Rt:int;
        private var _-0U3:Array;

        public function _-4Rq()
        {
            this._-49v = new Map();
            this._-0U3 = new Array();
            super();
        }
        public function _-2oj():Map
        {
            return (this._-49v);
        }
        public function _-1WI(_arg1:int, _arg2:String):void
        {
            this._-1Rt = _arg1;
            this._-14l = _arg2;
            if (this._-14l != "")
            {
                this._-1Y4();
            };
        }
        public function _-4z9(_arg1:int, _arg2:String, _arg3:String=""):void
        {
            var k:_-4rN;
            if (this._-49v.getValue(_arg1) != null)
            {
                this._-49v.remove(_arg1);
            };
            k = new _-4rN(_arg1, _arg2, _arg3, this._-1Rt, this._-14l);
            if (this._-14l == "")
            {
                this._-0U3.push(_arg1);
            };
            this._-49v.add(_arg1, k);
            this._-4ki();
        }
        private function _-4ki():void
        {
            var k:int;
            while (this._-49v.length > _-08a)
            {
                k = this._-49v.getKey(0);
                this._-49v.remove(k);
            };
        }
        private function _-1Y4():void
        {
            var k:_-4rN;
            while (this._-0U3.length > 0)
            {
                k = this._-49v.getValue(this._-0U3.shift());
                if (((!((k == null))) && ((k.roomId == this._-1Rt))))
                {
                    k.roomName = this._-14l;
                };
            };
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }

    }
}//package _-1bH

//------------------------------------------------------------
//_-1c._-1NX

package _-1c
{
    public class _-1NX 
    {

        public static const _-3dr:uint = 0;
        public static const _-3Dt:uint = 0x10000000;

    }
}//package _-1c

//------------------------------------------------------------
//_-1C6._-1fF

package _-1C6
{
    public class _-1fF 
    {

        public static const _-0Jz:int = 1;
        public static const _-4c9:int = 11;
        public static const _-FU:int = 12;
        public static const _-2Ae:int = 20;
        public static const _-4Eg:int = 21;
        public static const _-1RA:int = 22;
        public static const _-2iG:int = 23;

    }
}//package _-1C6

//------------------------------------------------------------
//_-1C6._-1FG

package _-1C6
{
    public class _-1FG 
    {

        public static const _-4St:int = 4008;
        public static const _-3dk:int = -32000;
        public static const _-1sM:int = -13001;

    }
}//package _-1C6

//------------------------------------------------------------
//_-1C6._-2Am

package _-1C6
{
    public class _-2Am 
    {

        public static const _-2ua:int = 0;
        public static const _-3D:int = 1;
        public static const _-td:int = 2;

    }
}//package _-1C6

//------------------------------------------------------------
//_-1C6._-4ky

package _-1C6
{
    public class _-4ky 
    {

        public static const _-1uk:int = 0;
        public static const _-YE:int = 1;
        public static const _-4CJ:int = 2;
        public static const _-3iJ:int = 3;
        public static const _-1U:int = 4;
        public static const _-15c:int = 5;

    }
}//package _-1C6

//------------------------------------------------------------
//_-1di._-3n

package _-1di
{
    import _-Ew.IWindowContainer;
    import _-3Bn._-0xN;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-3n implements _-1zZ 
    {

        private var _-0dg:_-3vU;
        private var _-0xv:IWindowContainer;
        private var _-05i:_-0xN;
        private var _disposed:Boolean = false;
        private var _-6d:IBitmapWrapperWindow;
        private var _-1Vu:BitmapData;

        public function _-3n(_arg1:_-3vU)
        {
            this._-0dg = _arg1;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this.closeWindow();
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set image(_arg1:BitmapData):void
        {
            this._-1Vu = _arg1;
            this._-6d.bitmap = this._-1Vu;
        }
        public function closeWindow():void
        {
            this._-0xv = null;
            if (this._-05i)
            {
                this._-05i.dispose();
                this._-05i = null;
            };
        }
        public function _-3lz():void
        {
            this.closeWindow();
        }
        private function _-0Rw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this._disposed) || (!(this._-0xv)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
        }
        protected function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.closeWindow();
        }

    }
}//package _-1di

//------------------------------------------------------------
//_-1di._-3vU

package _-1di
{
    import _-FP._-2ul;
    import _-1B-._-Px;
    import _-59g._-2ga;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-1ye._-G0;
    import _-4f7._-1Hr;
    import _-293._-5-S;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-18r.ErrorReportStorage;
    import _-3Bn._-0xN;
    import _-1Jd._-4JJ;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import mx.graphics.codec.PNGEncoder;
    import flash.utils.ByteArray;

    public class _-3vU extends _-2ul 
    {

        private var _-3Gv:_-Px;
        private var _-0jk:_-54A;
        private var _-3i6:_-3n;

        public function _-3vU(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-4uR, _arg5:_-0hg, _arg6:_-Px)
        {
            super(_arg1, _arg2, _arg3, _arg5);
            this._-3Gv = _arg6;
            this.handler.widget = this;
            this._-0jk = new _-54A(this);
            if (this.roomEngine)
            {
                this.roomEngine.events.addEventListener(_-2ga._-1dz, this._-1iR);
            };
        }
        override public function dispose():void
        {
            if (disposed)
            {
                return;
            };
            if (this._-0jk)
            {
                this._-0jk.dispose();
                this._-0jk = null;
            };
            if (this._-3i6)
            {
                this._-3i6.dispose();
                this._-3i6 = null;
            };
            super.dispose();
        }
        public function get container():_-G0
        {
            return (this.handler.container);
        }
        public function get handler():_-1Hr
        {
            return ((_-0nf as _-1Hr));
        }
        public function get roomEngine():_-5-S
        {
            return (((this.container) ? this.container.roomEngine : null));
        }
        public function _-4HH():void
        {
            this._-0jk.show();
        }
        public function get component():_-Px
        {
            return (this._-3Gv);
        }
        public function getXmlWindow(_arg1:String, _arg2:uint=1):IWindow
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var layer:int = _arg2;
            var window:IWindow;
            try
            {
                asset = assets.getAssetByName((name + "_xml"));
                xmlAsset = _-243(asset);
                window = windowManager.buildFromXML(XML(xmlAsset.content), layer);
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboNavigator", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + windowManager) + "!"));
                throw (e);
            };
            return (window);
        }
        public function _-Ml(_arg1:String):_-0xN
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var dialog:_-0xN;
            try
            {
                asset = assets.getAssetByName((name + "_xml"));
                xmlAsset = _-243(asset);
                dialog = windowManager.buildModalDialogFromXML(XML(xmlAsset.content));
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboNavigator", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + windowManager) + "!"));
                throw (e);
            };
            return (dialog);
        }
        private function _-1iR(_arg1:_-2ga):void
        {
            if (this._-0jk)
            {
                this._-0jk.hide();
            };
            if (this._-3i6)
            {
                this._-3i6.closeWindow();
            };
        }
        public function _-4hF(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):BitmapData
        {
            var k:_-4JJ = this.container.roomSession;
            var k:BitmapData = this.roomEngine._-Fl(k.roomId, k.roomCategory, this.container._-1mN());
            var k:BitmapData = new BitmapData(_arg3, _arg4, false, 0);
            var k:Point = this.container.roomEngine._-uR(k.roomId, k.roomCategory, this.container._-1mN());
            var k:int = ((-(_arg1) + k.x) - _arg5);
            var k:int = ((-(_arg2) + k.y) - _arg6);
            k.copyPixels(k, k.rect, new Point(k, k));
            return (k);
        }
        public function _-13Y(_arg1:BitmapData):void
        {
            if (this._-3i6 == null)
            {
                this._-3i6 = new _-3n(this);
            };
            this._-3i6._-3lz();
            this._-3i6.image = _arg1;
        }
        public function _-2t9(_arg1:BitmapData):void
        {
            var k:PNGEncoder = new PNGEncoder();
            var k:ByteArray = k.encode(_arg1);
            if (k.length < 8000)
            {
                this.handler._-1eY(k);
            };
        }

    }
}//package _-1di

//------------------------------------------------------------
//_-1di._-54A

package _-1di
{
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import flash.display.BitmapData;
    import flash.geom.Matrix;
    import _-1ae._-4mB;
    import _-1B-.*;

    public class _-54A implements _-0gI 
    {

        private static const _-4tT:int = 10;
        private static const _-GE:int = 1;

        private var _-0dg:_-3vU;
        private var _-0xv:IWindowContainer;
        private var _disposed:Boolean = false;
        private var _-6d:IBitmapWrapperWindow;
        private var _-0bj:int;
        private var _-0DS:int;
        private var _-1YY:int = 1;

        public function _-54A(_arg1:_-3vU)
        {
            this._-0dg = _arg1;
            this._-3zF();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._-0dg.component.removeUpdateReceiver(this);
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-3zF():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = (this._-0dg.getXmlWindow("camera_interface") as IWindowContainer);
            this._-0xv.center();
            this._-0xv.visible = false;
            this._-6d = (this._-0xv.findChildByName("image") as IBitmapWrapperWindow);
            this._-0bj = this._-6d.width;
            this._-0DS = this._-6d.height;
            this._-6d.visible = true;
            var k:IWindow = this._-0xv.findChildByName("button_release");
            if (k)
            {
                k.addEventListener(WindowMouseEvent._-90, this.onClick);
                k.addEventListener(WindowMouseEvent._-4ea, this._-1hF);
                k.addEventListener(WindowMouseEvent._-4e2, this._-45Q);
            };
            var k:IWindow = this._-0xv.findChildByName("button_zoom_out");
            if (k)
            {
                k.addEventListener(WindowMouseEvent._-90, this.onClick);
                k.addEventListener(WindowMouseEvent._-4ea, this._-1hF);
                k.addEventListener(WindowMouseEvent._-4e2, this._-45Q);
            };
            var k:IWindow = this._-0xv.findChildByName("button_zoom_in");
            if (k)
            {
                k.addEventListener(WindowMouseEvent._-90, this.onClick);
                k.addEventListener(WindowMouseEvent._-4ea, this._-1hF);
                k.addEventListener(WindowMouseEvent._-4e2, this._-45Q);
            };
            var k:IWindow = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
        }
        public function update(_arg1:uint):void
        {
            var k:BitmapData = this._-0dg._-4hF(this._-0xv.x, this._-0xv.y, this._-0bj, this._-0DS, this._-6d.x, this._-6d.y);
            this.render(k);
        }
        public function render(_arg1:BitmapData):void
        {
            if (this._-6d.bitmap == null)
            {
                this._-6d.bitmap = new BitmapData(this._-0bj, this._-0DS, false, 0);
            };
            this._-6d.bitmap.fillRect(this._-6d.bitmap.rect, 0);
            var k:Matrix = new Matrix();
            k.scale(this._-1YY, this._-1YY);
            var k:int = (((this._-1YY * this._-0bj) / 2) - (this._-0bj / 2));
            var k:int = (((this._-1YY * this._-0DS) / 2) - (this._-0DS / 2));
            k.translate(-(k), -(k));
            this._-6d.bitmap.draw(_arg1, k, null, null, null, false);
            this._-6d.invalidate();
        }
        public function show():void
        {
            this._-0xv.visible = true;
            this._-0xv.center();
            this._-0dg.component.registerUpdateReceiver(this, 100);
        }
        public function hide():void
        {
            this._-0xv.visible = false;
            this._-0dg.component.removeUpdateReceiver(this);
        }
        protected function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.hide();
        }
        private function onClick(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.target.name)
            {
                case "button_zoom_out":
                    this._-1YY = (((--this._-1YY)<=_-GE) ? _-GE : this._-1YY);
                    return;
                case "button_zoom_in":
                    this._-1YY = (((++this._-1YY)>_-4tT) ? _-4tT : this._-1YY);
                    return;
                case "button_release":
                    this._-0dg._-13Y(this._-6d.bitmap.clone());
                    this.hide();
                    return;
            };
        }
        private function _-1hF(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.target.name)
            {
                case "button_zoom_out":
                    return;
                case "button_zoom_in":
                    return;
                case "button_release":
                    ((_arg1.target as IWindowContainer).findChildByTag("image") as _-4mB).assetUri = "camera_camera_btn_down";
                    return;
            };
        }
        private function _-45Q(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.target.name)
            {
                case "button_zoom_out":
                    return;
                case "button_zoom_in":
                    return;
                case "button_release":
                    ((_arg1.target as IWindowContainer).findChildByTag("image") as _-4mB).assetUri = "camera_camera_btn";
                    return;
            };
        }

    }
}//package _-1di

//------------------------------------------------------------
//_-1DS._-5Ek

package _-1DS
{
    import _-484.PropertyMap;

    public class _-5Ek 
    {

        public static const NONE:String = "None";
        public static const ICON:String = "Icon";
        public static const _-241:String = "Legacy border";
        public static const _-1n6:String = "Volter";
        public static const _-3Z2:String = "Ubuntu";
        public static const _-0FX:String = "Illumina Light";
        public static const _-0Ff:String = "Illumina Dark";

        private var _name:String;
        private var _-4Yp:Boolean;
        private var _-0uQ:uint;
        private var _-4sM:uint;
        private var _-0yl:PropertyMap;

        public function _-5Ek(_arg1:String, _arg2:Boolean, _arg3:uint, _arg4:uint, _arg5:PropertyMap)
        {
            this._name = _arg1;
            this._-4Yp = _arg2;
            this._-0uQ = _arg3;
            this._-4sM = _arg4;
            this._-0yl = _arg5;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-47S():Boolean
        {
            return (this._-4Yp);
        }
        public function get _-3Vf():uint
        {
            return (this._-0uQ);
        }
        public function get _-3SH():uint
        {
            return (this._-4sM);
        }
        public function get _-1PY():PropertyMap
        {
            return (this._-0yl);
        }
        public function _-0TU(_arg1:uint):Boolean
        {
            return ((((_arg1 >= this._-0uQ)) && ((_arg1 < (this._-0uQ + this._-4sM)))));
        }

    }
}//package _-1DS

//------------------------------------------------------------
//_-1DS.ThemeManager

package _-1DS
{
    import flash.utils.Dictionary;
    import _-3Qs.SkinContainer;
    import _-484.PropertyMap;
    import _-484._-0S0;
    import flash.text.AntiAliasType;
    import flash.text.TextFieldAutoSize;
    import _-09j._-QC;
    import flash.text.GridFitType;
    import _-09j._-nM;
    import _-09j._-az;
    import _-3EM.TextStyleManager;
    import _-0Ix.WidgetClasses;
    import _-0Ix.IlluminaBorderWidget;
    import _-09j.WindowType;
    import _-484._-04P;
    import _-484.*;

    public class ThemeManager implements _-4iz 
    {

        private static const _-T0:Array = [_-5Ek.NONE, _-5Ek._-1n6, _-5Ek._-3Z2, _-5Ek._-0FX, _-5Ek._-0Ff, _-5Ek.ICON, _-5Ek._-241];
        private static const _-2Bo:int = 100;

        private var _-31t:Dictionary;
        private var _-2HM:SkinContainer;

        public function ThemeManager(_arg1:SkinContainer):void
        {
            var k:PropertyMap;
            var k:PropertyMap;
            super();
            this._-2HM = _arg1;
            k = new PropertyMap();
            k._-2Ik(_-0S0._-56e, false);
            k._-3rn(_-0S0._-Gm, AntiAliasType.NORMAL, [AntiAliasType.NORMAL, AntiAliasType.ADVANCED]);
            k._-1Tz(_-0S0._-0Zd, null);
            k._-2Ik(_-0S0._-1F1, true);
            k._-3rn(_-0S0._-1f9, TextFieldAutoSize.NONE, [TextFieldAutoSize.NONE, TextFieldAutoSize.LEFT, TextFieldAutoSize.CENTER, TextFieldAutoSize.RIGHT]);
            k._-1Tz(_-0S0._-4Oz, null);
            k._-2Ik(_-0S0._-3cp, false);
            k._-1jD(_-0S0._-3Nz, 0);
            k._-2Ik(_-0S0._-4jx, false);
            k._-3rn(_-0S0._-0cH, _-QC.DOWN, [_-QC.UP, _-QC.DOWN, _-QC.LEFT, _-QC.RIGHT]);
            k._-2Ik(_-0S0._-0g3, false);
            k._-2Ik(_-0S0._-2xy, false);
            k._-2Ik(_-0S0._-29s, true);
            k._-1jD(_-0S0._-4fC, 0);
            k._-2Ik(_-0S0._-3ha, false);
            k._-2Ik(_-0S0._-n-, false);
            k._-2Ik(_-0S0._-46k, false);
            k._-3rn(_-0S0._-3rJ, GridFitType.PIXEL, [GridFitType.PIXEL, GridFitType.NONE, GridFitType.SUBPIXEL]);
            k._-2Ik(_-0S0._-3x0, true);
            k._-3rn(_-0S0._-0IU, _-nM._-3dr, [_-nM._-3dr, _-nM._-66, _-nM._-1Ah, _-nM._-CR, _-nM._-2wo, _-nM._-aP]);
            k._-3Re(_-0S0._-3pV, 0);
            k._-3Re(_-0S0._-3Y7, 0);
            k._-3Re(_-0S0._-3if, 0);
            k._-3Re(_-0S0._-0Ia, 0);
            k._-3Re(_-0S0._-3Za, 0);
            k._-3Re(_-0S0._-0gP, 0);
            k._-3Re(_-0S0._-4K9, 0);
            k._-1iW(_-0S0._-0MA, []);
            k._-2Ik(_-0S0._-sn, true);
            k._-2Ik(_-0S0._-283, false);
            k._-3rn(_-0S0._-5V, _-az._-3ax[_-az.TOP_LEFT], _-0S0._-1Zb);
            k._-3Re(_-0S0._-6o, 0);
            k._-2Ik(_-0S0._-2Lz, false);
            k._-1Tz(_-0S0._-3Cy, null);
            k._-2Ik(_-0S0._-3wY, false);
            k._-1Tz(_-0S0._-ud, "");
            k._-O(_-0S0._-19W, -1);
            k._-O(_-0S0._-1ue, -1);
            k._-2Ik(_-0S0._-3MH, true);
            k._-2Ik(_-0S0._-4pV, true);
            k._-2Ik(_-0S0._-1R7, true);
            k._-1jD(_-0S0._-1s0, 0);
            k._-3rn(_-0S0._-2mA, TextStyleManager.REGULAR, TextStyleManager._-1Fs());
            k._-1Tz(_-0S0._-25d, "");
            k._-Nq(_-0S0._-0iQ, 500);
            k._-2Ik(_-0S0._-1g3, false);
            k._-2Ik(_-0S0._-4U8, false);
            k._-3rn(_-0S0._-3fJ, "", WidgetClasses._-59l);
            k._-2Ik(_-0S0._-335, false);
            k._-2Ik(_-0S0._-9O, false);
            k._-O(_-0S0._-1GZ, 1);
            k._-O(_-0S0._-0rI, 1);
            k._-2Ik(_-0S0._-2vB, false);
            k._-2Ik(_-0S0._-2xl, false);
            k._-3rn(IlluminaBorderWidget._-0rQ, IlluminaBorderWidget._-00P, IlluminaBorderWidget._-1uQ);
            this._-31t = new Dictionary();
            this._-31t[_-5Ek.NONE] = new _-5Ek(_-5Ek.NONE, false, 0, uint.MAX_VALUE, k);
            var k:int;
            while (this._-2HM._-4YU(WindowType._-047, k))
            {
                k++;
            };
            this._-31t[_-5Ek.ICON] = new _-5Ek(_-5Ek.ICON, false, 0, k, k);
            var k:int;
            while (((this._-2HM._-4YU(WindowType._-45W, k)) && ((k < _-2Bo))))
            {
                k++;
            };
            this._-31t[_-5Ek._-241] = new _-5Ek(_-5Ek._-241, false, 0, k, k);
            this._-31t[_-5Ek._-1n6] = new _-5Ek(_-5Ek._-1n6, true, 0, 3, k.clone());
            k = k.clone();
            k._-3rn(_-0S0._-Gm, AntiAliasType.ADVANCED, [AntiAliasType.NORMAL, AntiAliasType.ADVANCED]);
            k._-3rn(_-0S0._-2mA, "u_regular", TextStyleManager._-1Fs());
            this._-31t[_-5Ek._-3Z2] = new _-5Ek(_-5Ek._-3Z2, true, 3, 3, k);
            k = k.clone();
            k._-3rn(_-0S0._-Gm, AntiAliasType.ADVANCED, [AntiAliasType.NORMAL, AntiAliasType.ADVANCED]);
            k._-1jD(_-0S0._-4fC, 3003121663);
            k._-3rn(_-0S0._-2mA, "il_regular", TextStyleManager._-1Fs());
            this._-31t[_-5Ek._-0FX] = new _-5Ek(_-5Ek._-0FX, true, 100, 100, k);
            k = k.clone();
            k._-3rn(IlluminaBorderWidget._-0rQ, IlluminaBorderWidget._-AU, IlluminaBorderWidget._-1uQ);
            this._-31t[_-5Ek._-0Ff] = new _-5Ek(_-5Ek._-0Ff, true, 200, 100, k);
        }
        public function getStyle(_arg1:String, _arg2:uint, _arg3:String):uint
        {
            var k:uint;
            if (_arg1 == _-5Ek.NONE)
            {
                return (int(_arg3));
            };
            var k:_-5Ek = this._-31t[_arg1];
            if (k == null)
            {
                return (0);
            };
            var k:int;
            while (k < k._-3SH)
            {
                k = (k._-3Vf + k);
                if (_arg3 == this._-2HM._-m0(_arg2, k))
                {
                    return (k);
                };
                k++;
            };
            return (k._-3Vf);
        }
        public function _-JQ(_arg1:uint, _arg2:uint):Object
        {
            var _local4:_-5Ek;
            var k:String = this._-2HM._-m0(_arg1, _arg2);
            if (_arg1 == WindowType._-047)
            {
                return ({
                    theme:_-5Ek.ICON,
                    intent:k
                });
            };
            if ((((_arg1 == WindowType._-45W)) && ((_arg2 < _-2Bo))))
            {
                return ({
                    theme:_-5Ek._-241,
                    intent:k
                });
            };
            for each (_local4 in this._-31t)
            {
                if (((_local4._-47S) && (_local4._-0TU(_arg2))))
                {
                    return ({
                        theme:_local4.name,
                        intent:k
                    });
                };
            };
            return ({
                theme:_-5Ek.NONE,
                intent:k
            });
        }
        public function _-3nR(_arg1:uint, _arg2:String, _arg3:uint):Array
        {
            var k:_-5Ek;
            var k:int;
            var k:String;
            var k:Array = [];
            if (_arg2 != _-5Ek.NONE)
            {
                k = this._-31t[_arg2];
                k = 0;
                while (k < k._-3SH)
                {
                    k = this._-2HM._-m0(_arg1, (k._-3Vf + k));
                    if (k != null)
                    {
                        k.push(k);
                    };
                    k++;
                };
            };
            if (k.length == 0)
            {
                k.push(_arg3.toString());
            };
            return (k);
        }
        public function getPropertyDefaults(_arg1:uint):_-04P
        {
            var k:PropertyMap;
            var k:_-5Ek;
            for each (k in this._-31t)
            {
                if (((k._-47S) && (k._-0TU(_arg1))))
                {
                    k = k._-1PY;
                    break;
                };
            };
            if (k == null)
            {
                k = new PropertyMap();
            };
            return (k);
        }
        public function _-2HG():Array
        {
            return (_-T0);
        }

    }
}//package _-1DS

//------------------------------------------------------------
//_-1Fd._-1Np

package _-1Fd
{
    import _-0y0._-Xl;
    import flash.utils.getTimer;
    import _-071._-4l1;
    import _-59g._-1Su;
    import _-59g._-2K9;
    import _-071._-2Z2;
    import _-72._-2p9;
    import _-72._-3RT;
    import _-72._-6p;
    import _-72._-4DO;
    import _-72._-0yk;
    import _-72._-3wZ;
    import _-72._-0iT;
    import _-72._-3dX;
    import _-72._-52F;
    import _-72._-119;
    import _-72._-3Xd;
    import _-72._-2Ht;
    import _-72._-0Da;
    import _-72._-4y-;
    import _-72._-TL;
    import _-72._-un;
    import _-72._-3za;
    import _-72._-4J9;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;
    import _-72._-3GU;
    import _-0se._-18q;
    import _-72._-2MZ;
    import _-4bd._-1yr;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-0y0._-06R;

    public class _-1Np extends _-3P5 
    {

        private static const _-1p9:Number = 1.5;
        private static const _-4-z:int = 28;
        private static const _-Jc:int = 29;
        private static const _-3hc:int = 500;
        private static const _-1En:int = 0;
        private static const _-LH:int = 999;
        private static const _-33K:int = 999999999;
        private static const _-4ei:int = 5000;
        private static const _-ZE:int = 1500;

        private var _-2dY:Boolean = false;
        private var _-E6:_-Xl = null;
        private var _-gz:int = 0;
        private var _-4tA:int = 0;
        private var _-4Ot:int = 0;
        private var _-1tg:int = 0;
        private var _-5Em:int = 0;
        private var _-3lW:int = 0;
        private var _-0mq:int = 0;
        private var _-4zU:int = 0;
        private var _-0BK:int = 0;
        private var _-4N-:int = 0;
        private var _-4E-:Boolean = false;
        private var _-0Fs:int = 0;
        private var _-1Va:int = 0;
        private var _-aG:int = 0;

        public function _-1Np()
        {
            this._-1Va = (getTimer() + this._-3xe());
        }
        override public function getEventTypes():Array
        {
            var k:Array = [_-4l1._-se, _-1Su._-w7, _-4l1._-3iY, _-4l1._-Ug, _-2K9._-49J, _-2K9._-4Wb];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function dispose():void
        {
            var k:_-2Z2;
            if (((this._-2dY) && (!((object == null)))))
            {
                if (_-2g3 != null)
                {
                    k = new _-1Su(_-1Su._-197, object);
                    _-2g3.dispatchEvent(k);
                };
            };
            super.dispose();
            this._-E6 = null;
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-2p9;
            var k:_-3RT;
            var k:_-6p;
            var k:_-4DO;
            var k:_-0yk;
            var k:_-3wZ;
            var k:_-0iT;
            var k:_-3dX;
            var k:_-52F;
            var k:_-119;
            var k:_-3Xd;
            var k:int;
            var k:int;
            var k:_-2Ht;
            var k:_-0Da;
            var k:_-4y-;
            var k:_-TL;
            var k:Number;
            var k:_-un;
            var k:String;
            var k:String;
            var k:String;
            var k:_-3za;
            var k:_-4J9;
            if ((((_arg1 == null)) || ((object == null))))
            {
                return;
            };
            super.processUpdateMessage(_arg1);
            var k:_-4s6 = object.getModelController();
            if ((_arg1 is _-2p9))
            {
                k = (_arg1 as _-2p9);
                k.setString(_-4Wq._-0nJ, k._-2VE);
                k.setString(_-4Wq._-4HY, k._-y-);
                return;
            };
            if ((_arg1 is _-3RT))
            {
                k = (_arg1 as _-3RT);
                k.setNumber(_-4Wq._-3Mr, 1);
                this._-4Ot = (getTimer() + (k._-0x2 * 1000));
                return;
            };
            if ((_arg1 is _-6p))
            {
                k = (_arg1 as _-6p);
                k.setNumber(_-4Wq._-1bn, Number(k._-1SB));
                return;
            };
            if ((_arg1 is _-4DO))
            {
                k = (_arg1 as _-4DO);
                k.setNumber(_-4Wq._-4LD, Number(k._-3JH));
                return;
            };
            if ((_arg1 is _-0yk))
            {
                k = (_arg1 as _-0yk);
                k.setNumber(_-4Wq._-3UC, Number(k._-1cq));
                return;
            };
            if ((_arg1 is _-3wZ))
            {
                k = (_arg1 as _-3wZ);
                k.setNumber(_-4Wq._-49h, k._-4nG);
                k.setNumber(_-4Wq._-4bY, Number(k._-2Rb));
                k.setNumber(_-4Wq._-Kk, k._-3XQ);
                return;
            };
            if ((_arg1 is _-0iT))
            {
                k = (_arg1 as _-0iT);
                k.setNumber(_-4Wq._-0Bj, k.gesture);
                this._-0mq = (getTimer() + (3 * 1000));
                return;
            };
            if ((_arg1 is _-3GU))
            {
                k.setNumber(_-4Wq._-Bj, _-3GU(_arg1)._-0lP);
                this._-3lW = _-18q._-8E(k.getNumber(_-4Wq._-Bj));
                if (this._-3lW > -1)
                {
                    this._-3lW = (this._-3lW + getTimer());
                };
                return;
            };
            if ((_arg1 is _-3dX))
            {
                k = (_arg1 as _-3dX);
                k.setNumber(_-4Wq._-10t, k._-Xk);
                return;
            };
            if ((_arg1 is _-52F))
            {
                k = (_arg1 as _-52F);
                k.setNumber(_-4Wq._-4uh, Number(k._-54Y));
                return;
            };
            if ((_arg1 is _-119))
            {
                k = (_arg1 as _-119);
                k.setNumber(_-4Wq._-4JZ, k.value);
                this._-aG = (getTimer() + 3000);
                return;
            };
            if ((_arg1 is _-3Xd))
            {
                k = (_arg1 as _-3Xd);
                k = k.effect;
                k = k._-2Zj;
                this._-34N(k, k, k);
                return;
            };
            if ((_arg1 is _-2Ht))
            {
                k = (_arg1 as _-2Ht);
                k.setNumber(_-4Wq._-3kn, k._-15x);
                k.setNumber(_-4Wq._-0wc, 0);
                this._-0BK = getTimer();
                if (k._-15x < _-33K)
                {
                    this._-4N- = 0;
                    this._-4E- = (k._-15x <= _-LH);
                }
                else
                {
                    this._-4N- = (this._-0BK + _-ZE);
                    this._-4E- = false;
                };
                return;
            };
            if ((_arg1 is _-0Da))
            {
                k = (_arg1 as _-0Da);
                k.setNumber(_-4Wq._-0wc, k._-15x);
                return;
            };
            if ((_arg1 is _-4y-))
            {
                k = (_arg1 as _-4y-);
                k.setNumber(_-4Wq._-578, k._-1Du);
                this._-4zU = (getTimer() + (5 * 1000));
                return;
            };
            if ((_arg1 is _-TL))
            {
                k = (_arg1 as _-TL);
                k = parseInt(k._-xe);
                if ((((((k == k)) && ((k >= 0)))) && ((k <= 5))))
                {
                    k.setNumber(_-4Wq._-1mF, k);
                }
                else
                {
                    k.setNumber(_-4Wq._-1mF, 0);
                };
                return;
            };
            if ((_arg1 is _-un))
            {
                k = (_arg1 as _-un);
                k = k.getString(_-4Wq._-4lL);
                k = k.figure;
                k = k.gender;
                if (((!((k == null))) && (!((k.indexOf(".bds-") == -1)))))
                {
                    k = (k + k.substr(k.indexOf(".bds-")));
                };
                k.setString(_-4Wq._-4lL, k);
                k.setString(_-4Wq._-36h, k);
                return;
            };
            if ((_arg1 is _-3za))
            {
                k = (_arg1 as _-3za);
                this._-2dY = k.selected;
                this._-E6 = null;
                return;
            };
            if ((_arg1 is _-4J9))
            {
                k = (_arg1 as _-4J9);
                k.setNumber(_-4Wq._-4CO, k._-1M2);
                return;
            };
            if ((_arg1 is _-2MZ))
            {
                k.setNumber(_-4Wq._-0Kp, 1);
                return;
            };
        }
        private function _-34N(_arg1:int, _arg2:int, _arg3:_-4s6):void
        {
            if (_arg1 == _-4-z)
            {
                this._-gz = (getTimer() + _-3hc);
                this._-4tA = _-Jc;
            }
            else
            {
                if (_arg3.getNumber(_-4Wq._-4AQ) == _-Jc)
                {
                    this._-gz = (getTimer() + _-3hc);
                    this._-4tA = _arg1;
                    k = _-4-z;
                }
                else
                {
                    if (_arg2 == 0)
                    {
                        this._-gz = 0;
                    }
                    else
                    {
                        this._-gz = (getTimer() + _arg2);
                        this._-4tA = _arg1;
                        return;
                    };
                };
            };
            _arg3.setNumber(_-4Wq._-4AQ, _arg1);
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:_-2Z2;
            if ((((object == null)) || ((_arg1 == null))))
            {
                return;
            };
            var k:_-4s6 = object.getModelController();
            var k:String;
            switch (_arg1.type)
            {
                case MouseEvent.CLICK:
                    k = _-4l1._-se;
                    break;
                case MouseEvent.ROLL_OVER:
                    k = _-4l1._-3iY;
                    if (k != null)
                    {
                        k.setNumber(_-4Wq._-13B, 1);
                    };
                    _-2g3.dispatchEvent(new _-2K9(_-2K9._-49J, object));
                    break;
                case MouseEvent.ROLL_OUT:
                    if (k != null)
                    {
                        k.setNumber(_-4Wq._-13B, 0);
                    };
                    k = _-4l1._-Ug;
                    _-2g3.dispatchEvent(new _-2K9(_-2K9._-4Wb, object));
                    break;
            };
            if (k != null)
            {
                if (_-2g3 != null)
                {
                    k = new _-4l1(k, object, _arg1._-F7, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey, _arg1.buttonDown);
                    _-2g3.dispatchEvent(k);
                };
            };
        }
        override public function update(_arg1:int):void
        {
            var k:_-06R;
            var k:_-2Z2;
            var k:_-4s6;
            super.update(_arg1);
            if (((this._-2dY) && (!((object == null)))))
            {
                if (_-2g3 != null)
                {
                    k = object.getLocation();
                    if ((((((((this._-E6 == null)) || (!((this._-E6.x == k.x))))) || (!((this._-E6.y == k.y))))) || (!((this._-E6.z == k.z)))))
                    {
                        if (this._-E6 == null)
                        {
                            this._-E6 = new _-Xl();
                        };
                        this._-E6._-3jn(k);
                        k = new _-1Su(_-1Su._-w7, object);
                        _-2g3.dispatchEvent(k);
                    };
                };
            };
            if (object != null)
            {
                k = object.getModelController();
                if (k != null)
                {
                    this._-3FA(_arg1, k);
                };
            };
        }
        private function _-3FA(_arg1:int, _arg2:_-4s6):void
        {
            if (this._-4Ot > 0)
            {
                if (_arg1 > this._-4Ot)
                {
                    _arg2.setNumber(_-4Wq._-3Mr, 0);
                    this._-4Ot = 0;
                    this._-5Em = 0;
                    this._-1tg = 0;
                }
                else
                {
                    if ((((this._-1tg == 0)) && ((this._-5Em == 0))))
                    {
                        this._-5Em = (_arg1 + this._-1KE());
                        this._-1tg = (this._-5Em + this._-SR());
                    }
                    else
                    {
                        if ((((this._-5Em > 0)) && ((_arg1 > this._-5Em))))
                        {
                            _arg2.setNumber(_-4Wq._-3Mr, 0);
                            this._-5Em = 0;
                        }
                        else
                        {
                            if ((((this._-1tg > 0)) && ((_arg1 > this._-1tg))))
                            {
                                _arg2.setNumber(_-4Wq._-3Mr, 1);
                                this._-1tg = 0;
                            };
                        };
                    };
                };
            };
            if ((((this._-3lW > 0)) && ((_arg1 > this._-3lW))))
            {
                _arg2.setNumber(_-4Wq._-Bj, 0);
                this._-3lW = 0;
            };
            if ((((this._-0mq > 0)) && ((_arg1 > this._-0mq))))
            {
                _arg2.setNumber(_-4Wq._-0Bj, 0);
                this._-0mq = 0;
            };
            if ((((this._-4zU > 0)) && ((_arg1 > this._-4zU))))
            {
                _arg2.setNumber(_-4Wq._-578, -1);
                this._-4zU = 0;
            };
            if (this._-4N- > 0)
            {
                if (_arg1 > this._-4N-)
                {
                    _arg2.setNumber(_-4Wq._-3kn, _-1En);
                    _arg2.setNumber(_-4Wq._-0wc, 0);
                    this._-0BK = (this._-4N- = 0);
                    this._-4E- = false;
                };
            };
            if (this._-4E-)
            {
                if ((_arg1 - this._-0BK) > _-4ei)
                {
                    if (((_arg1 - this._-0BK) % 10000) < 1000)
                    {
                        _arg2.setNumber(_-4Wq._-0wc, 1);
                    }
                    else
                    {
                        _arg2.setNumber(_-4Wq._-0wc, 0);
                    };
                };
            };
            if (_arg1 > this._-1Va)
            {
                _arg2.setNumber(_-4Wq._-4RV, 1);
                this._-1Va = (_arg1 + this._-3xe());
                this._-0Fs = (_arg1 + this._-3x-());
            };
            if ((((this._-0Fs > 0)) && ((_arg1 > this._-0Fs))))
            {
                _arg2.setNumber(_-4Wq._-4RV, 0);
                this._-0Fs = 0;
            };
            if ((((this._-gz > 0)) && ((_arg1 > this._-gz))))
            {
                _arg2.setNumber(_-4Wq._-4AQ, this._-4tA);
                this._-gz = 0;
            };
            if ((((this._-aG > 0)) && ((_arg1 > this._-aG))))
            {
                _arg2.setNumber(_-4Wq._-4JZ, 0);
                this._-aG = 0;
            };
        }
        private function _-1KE():int
        {
            return ((100 + (Math.random() * 200)));
        }
        private function _-SR():int
        {
            return ((75 + (Math.random() * 75)));
        }
        private function _-3xe():int
        {
            return ((4500 + (Math.random() * 1000)));
        }
        private function _-3x-():int
        {
            return ((50 + (Math.random() * 200)));
        }
        private function _-137(_arg1:_-06R):Boolean
        {
            var k:_-06R = object.getLocation();
            if (_arg1 == null)
            {
                return (false);
            };
            if ((((k.x == 0)) && ((k.y == 0))))
            {
                return (false);
            };
            if ((((Math.abs((k.x - _arg1.x)) > _-1p9)) || ((Math.abs((k.y - _arg1.y)) > _-1p9))))
            {
                return (true);
            };
            return (false);
        }

    }
}//package _-1Fd

//------------------------------------------------------------
//_-1Fd._-3P5

package _-1Fd
{
    import _-0sD._-2nQ;
    import _-0y0._-Xl;
    import _-3V-._-lb;
    import _-0y0._-06R;
    import _-72._-HN;
    import _-4bd._-1yr;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;

    public class _-3P5 extends _-2nQ 
    {

        public static const _-46X:int = 500;

        private static var _-0eQ:_-Xl = new _-Xl();

        private var _-Pj:_-Xl;
        private var _-0cX:_-Xl;
        private var _-37H:Number = 0;
        private var _-0E-:int = 0;
        private var _-2aW:int;
        private var _-1yC:int = 500;

        public function _-3P5()
        {
            this._-Pj = new _-Xl();
            this._-0cX = new _-Xl();
            super();
        }
        protected function get _-27I():int
        {
            return (this._-0E-);
        }
        override public function dispose():void
        {
            super.dispose();
            this._-0cX = null;
            this._-Pj = null;
        }
        override public function set object(_arg1:_-lb):void
        {
            super.object = _arg1;
            if (_arg1 != null)
            {
                this._-0cX._-3jn(_arg1.getLocation());
            };
        }
        protected function set _-1Kw(_arg1:int):void
        {
            if (_arg1 <= 0)
            {
                k = 1;
            };
            this._-1yC = _arg1;
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-06R;
            if (_arg1 == null)
            {
                return;
            };
            super.processUpdateMessage(_arg1);
            if (_arg1.loc != null)
            {
                this._-0cX._-3jn(_arg1.loc);
            };
            var k:_-HN = (_arg1 as _-HN);
            if (k == null)
            {
                return;
            };
            if (object != null)
            {
                if (_arg1.loc != null)
                {
                    k = k._-LC;
                    this._-2aW = this._-0E-;
                    this._-Pj._-3jn(k);
                    this._-Pj._-0XL(this._-0cX);
                };
            };
        }
        protected function getLocationOffset():_-06R
        {
            return (null);
        }
        override public function update(_arg1:int):void
        {
            var k:int;
            var k:_-06R = this.getLocationOffset();
            var k:_-4s6 = object.getModelController();
            if (k != null)
            {
                if (k != null)
                {
                    if (this._-37H != k.z)
                    {
                        this._-37H = k.z;
                        k.setNumber(_-4Wq._-0-L, this._-37H);
                    };
                }
                else
                {
                    if (this._-37H != 0)
                    {
                        this._-37H = 0;
                        k.setNumber(_-4Wq._-0-L, this._-37H);
                    };
                };
            };
            if ((((this._-Pj.length > 0)) || (!((k == null)))))
            {
                k = (_arg1 - this._-2aW);
                if (k == (this._-1yC >> 1))
                {
                    k++;
                };
                if (k > this._-1yC)
                {
                    k = this._-1yC;
                };
                if (this._-Pj.length > 0)
                {
                    _-0eQ._-3jn(this._-Pj);
                    _-0eQ._-2Dq((k / Number(this._-1yC)));
                    _-0eQ.add(this._-0cX);
                }
                else
                {
                    _-0eQ._-3jn(this._-0cX);
                };
                if (k != null)
                {
                    _-0eQ.add(k);
                };
                if (object != null)
                {
                    object.setLocation(_-0eQ);
                };
                if (k == this._-1yC)
                {
                    this._-Pj.x = 0;
                    this._-Pj.y = 0;
                    this._-Pj.z = 0;
                };
            };
            this._-0E- = _arg1;
        }

    }
}//package _-1Fd

//------------------------------------------------------------
//_-1Fd.PetLogic

package _-1Fd
{
    import _-0y0._-Xl;
    import _-071._-4l1;
    import _-59g._-1Su;
    import _-071._-2Z2;
    import _-0y0.XMLValidator;
    import _-3mW._-4Wq;
    import _-72._-2p9;
    import _-72._-3wZ;
    import _-72._-3RT;
    import _-72._-13G;
    import _-72._-52F;
    import _-72._-3za;
    import _-72._-1oH;
    import _-72._-un;
    import _-0l8.PetFigureData;
    import _-3V-._-4s6;
    import flash.utils.getTimer;
    import _-4bd._-1yr;
    import _-0y0._-06R;
    import flash.events.MouseEvent;
    import _-0l8._-3iK;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class PetLogic extends _-3P5 
    {

        private var _-4Ot:int = 0;
        private var _-0mq:int = 0;
        private var _-2jM:int = 0;
        private var _-2dY:Boolean = false;
        private var _-E6:_-Xl = null;
        private var _-CT:Boolean = false;
        private var _-0Ss:int = 0;
        private var _-1ac:int = 0;
        private var _-34b:int = 0;
        private var _-18m:int = 0;
        private var _-0r7:Array;

        public function PetLogic()
        {
            this._-0r7 = [];
            super();
        }
        override public function getEventTypes():Array
        {
            var k:Array = [_-4l1._-se, _-1Su._-w7];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function dispose():void
        {
            var k:_-2Z2;
            if (((this._-2dY) && (!((object == null)))))
            {
                if (_-2g3 != null)
                {
                    k = new _-1Su(_-1Su._-197, object);
                    _-2g3.dispatchEvent(k);
                };
            };
            this._-0r7 = null;
            super.dispose();
            this._-E6 = null;
        }
        override public function initialize(_arg1:XML):void
        {
            var k:XML;
            var k:int;
            super.initialize(_arg1);
            this._-0r7 = [];
            var k:XMLList = _arg1.model.directions.direction;
            var k:Array = ["id"];
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, k))
                {
                    k = parseInt(k.@id);
                    this._-0r7.push(k);
                };
                k++;
            };
            this._-0r7.sort(Array.NUMERIC);
            object.getModelController().setNumberArray(_-4Wq._-mf, this._-0r7, true);
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-2p9;
            var k:_-3wZ;
            var k:_-3RT;
            var k:_-13G;
            var k:_-52F;
            var k:_-3za;
            var k:_-1oH;
            var k:_-un;
            var k:String;
            var k:PetFigureData;
            if ((((_arg1 == null)) || ((object == null))))
            {
                return;
            };
            var k:_-4s6 = object.getModelController();
            if (!this._-CT)
            {
                super.processUpdateMessage(_arg1);
                if ((_arg1 is _-2p9))
                {
                    k = (_arg1 as _-2p9);
                    k.setString(_-4Wq._-0nJ, k._-2VE);
                    return;
                };
                if ((_arg1 is _-3wZ))
                {
                    k = (_arg1 as _-3wZ);
                    k.setNumber(_-4Wq._-49h, k._-4nG);
                    return;
                };
                if ((_arg1 is _-3RT))
                {
                    k = (_arg1 as _-3RT);
                    k.setNumber(_-4Wq._-3Mr, 1);
                    this._-4Ot = (getTimer() + (k._-0x2 * 1000));
                    return;
                };
                if ((_arg1 is _-13G))
                {
                    k = (_arg1 as _-13G);
                    k.setString(_-4Wq._-0Bj, k.gesture);
                    this._-0mq = (getTimer() + (3 * 1000));
                    return;
                };
                if ((_arg1 is _-52F))
                {
                    k = (_arg1 as _-52F);
                    k.setNumber(_-4Wq._-4uh, Number(k._-54Y));
                    return;
                };
            };
            if ((_arg1 is _-3za))
            {
                k = (_arg1 as _-3za);
                this._-2dY = k.selected;
                this._-E6 = null;
                return;
            };
            if ((_arg1 is _-1oH))
            {
                k = (_arg1 as _-1oH);
                k.setNumber(_-4Wq._-45r, Number(getTimer()));
                k.setNumber(_-4Wq._-3KD, Number(k._-2-));
                return;
            };
            if ((_arg1 is _-un))
            {
                k = (_arg1 as _-un);
                k = k.getString(_-4Wq._-4lL);
                k = new PetFigureData(k.figure);
                k.setString(_-4Wq._-4lL, k.figure);
                k.setString(_-4Wq._-Yj, k.race);
                k.setNumber(_-4Wq._-4QR, k.paletteId);
                k.setNumber(_-4Wq._-xD, k.color);
                k.setNumber(_-4Wq._-3pv, k.typeId);
                k.setNumberArray(_-4Wq._-1H7, k._-5C7);
                k.setNumberArray(_-4Wq._-2qV, k._-1rt);
                k.setNumberArray(_-4Wq._-4-3, k._-3tc);
                k.setNumber(_-4Wq._-dp, ((k._-0mh) ? 1 : 0));
                return;
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:int;
            var k:_-2Z2;
            if ((((object == null)) || ((_arg1 == null))))
            {
                return;
            };
            var k:_-4s6 = object.getModelController();
            var k:_-06R;
            var k:_-Xl;
            var k:String;
            switch (_arg1.type)
            {
                case MouseEvent.CLICK:
                    k = _-4l1._-se;
                    if (this._-CT)
                    {
                        this._-38R(_arg1);
                    };
                    break;
                case MouseEvent.DOUBLE_CLICK:
                    break;
                case MouseEvent.MOUSE_DOWN:
                    if (!this._-CT)
                    {
                        k = k.getNumber(_-4Wq._-3pv);
                        if (k == _-3iK._-2CJ)
                        {
                            if (_-2g3 != null)
                            {
                                k = new _-4l1(_-4l1._-01d, object, _arg1._-F7, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey, _arg1.buttonDown);
                                _-2g3.dispatchEvent(k);
                            };
                        };
                    };
                    break;
            };
            if (k != null)
            {
                if (_-2g3 != null)
                {
                    k = new _-4l1(k, object, _arg1._-F7, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey, _arg1.buttonDown);
                    _-2g3.dispatchEvent(k);
                };
            };
        }
        private function _-38R(_arg1:_-3gM):void
        {
            var k:int;
            var k:_-4s6 = object.getModelController();
            if (((!(_arg1.altKey)) && (!(_arg1.ctrlKey))))
            {
                k = this._-0r7[this._-18m];
                object.setDirection(new _-Xl(k));
                k.setNumber(_-4Wq._-49h, (k + this._-34b));
                this._-18m++;
                if (this._-18m == this._-0r7.length)
                {
                    this._-18m = 0;
                };
            }
            else
            {
                if (((_arg1.altKey) && (!(_arg1.ctrlKey))))
                {
                    this._-0Ss++;
                    k.setNumber(_-4Wq._-0nJ, this._-0Ss);
                    k.setNumber(_-4Wq._-0Bj, NaN);
                }
                else
                {
                    if (((_arg1.ctrlKey) && (!(_arg1.altKey))))
                    {
                        this._-1ac++;
                        k.setNumber(_-4Wq._-0Bj, this._-1ac);
                    }
                    else
                    {
                        this._-34b = (this._-34b + 45);
                        if (this._-34b > 45)
                        {
                            this._-34b = -45;
                        };
                        k = object.getDirection().x;
                        k.setNumber(_-4Wq._-49h, (k + this._-34b));
                    };
                };
            };
        }
        override public function update(_arg1:int):void
        {
            var k:_-06R;
            var k:_-2Z2;
            super.update(_arg1);
            if (((this._-2dY) && (!((object == null)))))
            {
                if (_-2g3 != null)
                {
                    k = object.getLocation();
                    if ((((((((this._-E6 == null)) || (!((this._-E6.x == k.x))))) || (!((this._-E6.y == k.y))))) || (!((this._-E6.z == k.z)))))
                    {
                        if (this._-E6 == null)
                        {
                            this._-E6 = new _-Xl();
                        };
                        this._-E6._-3jn(k);
                        k = new _-1Su(_-1Su._-w7, object);
                        _-2g3.dispatchEvent(k);
                    };
                };
            };
            if (((!((object == null))) && (!((object.getModelController() == null)))))
            {
                this._-3FA(_arg1, object.getModelController());
            };
        }
        private function _-3FA(_arg1:int, _arg2:_-4s6):void
        {
            if ((((this._-0mq > 0)) && ((_arg1 > this._-0mq))))
            {
                _arg2.setString(_-4Wq._-0Bj, null);
                this._-0mq = 0;
            };
            if (this._-4Ot > 0)
            {
                if (_arg1 > this._-4Ot)
                {
                    _arg2.setNumber(_-4Wq._-3Mr, 0);
                    this._-4Ot = 0;
                };
            };
            if ((((this._-2jM > 0)) && ((_arg1 > this._-2jM))))
            {
                _arg2.setNumber(_-4Wq._-Bj, 0);
                this._-2jM = 0;
            };
        }

    }
}//package _-1Fd

//------------------------------------------------------------
//_-1FD._-0aJ

package _-1FD
{
    public class _-0aJ extends _-1yP 
    {

        public static const _-29i:String = "RWFCRM_REDEEM";

        private var _-44i:int;

        public function _-0aJ(_arg1:String, _arg2:int)
        {
            super(_arg1);
            this._-44i = _arg2;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-0gH

package _-1FD
{
    public class _-0gH extends _-1yP 
    {

        public static const _-UY:String = "RWUPM_PET_PRODUCT";
        public static const _-1ss:String = "RWUPM_MONSTERPLANT_SEED";

        private var _-1B1:int = 0;
        private var _-b:int = -1;

        public function _-0gH(_arg1:String, _arg2:int, _arg3:int=-1)
        {
            super(_arg1);
            this._-1B1 = _arg2;
            this._-b = _arg3;
        }
        public function get roomObjectId():int
        {
            return (this._-1B1);
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-0hl

package _-1FD
{
    public class _-0hl extends _-1yP 
    {

        public static const _-4wM:String = "RWGOI_MESSAGE_GET_OBJECT_LOCATION";
        public static const _-34O:String = "RWGOI_MESSAGE_GET_GAME_OBJECT_LOCATION";

        private var _-44i:int;
        private var _-39b:int;

        public function _-0hl(_arg1:String, _arg2:int, _arg3:int)
        {
            super(_arg1);
            this._-44i = _arg2;
            this._-39b = _arg3;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-2zd():int
        {
            return (this._-39b);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-0Op

package _-1FD
{
    public class _-0Op extends _-1yP 
    {

        public static const _-2Oy:String = "RWPM_START";
        public static const _-A1:String = "RWPM_REJECT";
        public static const _-4BU:String = "RWPM_ANSWER";

        private var _-0Kq:int = -1;
        private var _-3hm:int = 0;
        private var _-1yi:Array = null;

        public function _-0Op(_arg1:String, _arg2:int)
        {
            this._-0Kq = _arg2;
            super(_arg1);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-2Zb():int
        {
            return (this._-3hm);
        }
        public function set _-2Zb(_arg1:int):void
        {
            this._-3hm = _arg1;
        }
        public function get answers():Array
        {
            return (this._-1yi);
        }
        public function set answers(_arg1:Array):void
        {
            this._-1yi = _arg1;
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1ev

package _-1FD
{
    public class _-1ev extends _-1yP 
    {

        public static const _-416:String = "RWDPM_PREVIEW_DIMMER_PRESET";

        private var _color:uint;
        private var _-08E:int;
        private var _-09C:Boolean;

        public function _-1ev(_arg1:uint, _arg2:int, _arg3:Boolean)
        {
            super(_-416);
            this._color = _arg1;
            this._-08E = _arg2;
            this._-09C = _arg3;
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-42j():int
        {
            return (this._-08E);
        }
        public function get _-2J-():Boolean
        {
            return (this._-09C);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1Ez

package _-1FD
{
    public class _-1Ez extends _-1yP 
    {

        public static const _-4G:String = "RWCM_MESSAGE_SELECT_EFFECT";
        public static const _-2IP:String = "RWCM_MESSAGE_UNSELECT_EFFECT";
        public static const _-4Rb:String = "RWCM_MESSAGE_UNSELECT_ALL_EFFECTS";

        private var _-0kS:int;

        public function _-1Ez(_arg1:String, _arg2:int=-1)
        {
            super(_arg1);
            this._-0kS = _arg2;
        }
        public function get _-2xh():int
        {
            return (this._-0kS);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1FX

package _-1FD
{
    public class _-1FX extends _-1yP 
    {

        public static const _-9t:String = "RWGOI_MESSAGE_GET_BADGE_IMAGE";

        private var _-5Dg:String = "";

        public function _-1FX(_arg1:String)
        {
            super(_-9t);
            this._-5Dg = _arg1;
        }
        public function get badgeId():String
        {
            return (this._-5Dg);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1He

package _-1FD
{
    public class _-1He extends _-1yP 
    {

        public static const _-0Yo:String = "RWRQM_EXIT_QUEUE";
        public static const _-3di:String = "RWRQM_CHANGE_TO_VISITOR_QUEUE";
        public static const _-Ku:String = "RWRQM_CHANGE_TO_SPECTATOR_QUEUE";
        public static const _-4Um:String = "RWRQM_CLUB_LINK";

        public function _-1He(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1ic

package _-1FD
{
    public class _-1ic extends _-1yP 
    {

        public static const _-4TL:String = "select_outfit";

        private var _-20v:int;

        public function _-1ic(_arg1:int)
        {
            super(_-4TL);
            this._-20v = _arg1;
        }
        public function get _-5-l():int
        {
            return (this._-20v);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1lN

package _-1FD
{
    import _-og._-49d;

    public class _-1lN extends _-49d 
    {

        public static const _-1nJ:String = "RWIUM_INVENTORY_UPDATED";

        public function _-1lN(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1m0

package _-1FD
{
    public class _-1m0 extends _-1yP 
    {

        public static const _-q2:String = "RWROM_GET_OBJECT_INFO";
        public static const _-1lV:String = "RWROM_GET_OBJECT_NAME";
        public static const _-2Ai:String = "RWROM_SELECT_OBJECT";
        public static const _-0cl:String = "RWROM_GET_OWN_CHARACTER_INFO";
        public static const _-LP:String = "RWROM_GET_AVATAR_LIST";

        private var _-0Kq:int = 0;
        private var _-JS:int = 0;

        public function _-1m0(_arg1:String, _arg2:int, _arg3:int)
        {
            super(_arg1);
            this._-0Kq = _arg2;
            this._-JS = _arg3;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get category():int
        {
            return (this._-JS);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1px

package _-1FD
{
    public class _-1px extends _-1yP 
    {

        public static const _-2rf:String = "RWSUM_STICKIE_SEND_UPDATE";
        public static const _-2Ao:String = "RWSUM_STICKIE_SEND_DELETE";

        private var _-44i:int;
        private var _text:String;
        private var _-22L:String;

        public function _-1px(_arg1:String, _arg2:int, _arg3:String="", _arg4:String="")
        {
            super(_arg1);
            this._-44i = _arg2;
            this._text = _arg3;
            this._-22L = _arg4;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get _-2vn():String
        {
            return (this._-22L);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-1yP

package _-1FD
{
    public class _-1yP 
    {

        public static const _-2LH:String = "RWM_MESSAGE_TEST";

        private var _-5K:String = "";

        public function _-1yP(_arg1:String)
        {
            this._-5K = _arg1;
        }
        public function get type():String
        {
            return (this._-5K);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-25a

package _-1FD
{
    import _-2HX._-uu;

    public class _-25a extends _-1yP 
    {

        public static const _-59i:String = "RWCM_MESSAGE_AVATAR_EXPRESSION";

        private var _-1FT:_-uu;

        public function _-25a(_arg1:_-uu)
        {
            super(_-59i);
            this._-1FT = _arg1;
        }
        public function get animation():_-uu
        {
            return (this._-1FT);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-28e

package _-1FD
{
    public class _-28e extends _-1yP 
    {

        public static const _-g6:String = "RWSORM_SHOW_OWN_ROOMS";

        public function _-28e()
        {
            super(_-g6);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-29n

package _-1FD
{
    public class _-29n extends _-1yP 
    {

        public static const _-2YK:String = "RWPLAM_ADD_TO_PLAYLIST";
        public static const _-3rA:String = "RWPLAM_REMOVE_FROM_PLAYLIST";

        private var _-08Z:int;
        private var _-e4:int;

        public function _-29n(_arg1:String, _arg2:int=-1, _arg3:int=-1)
        {
            super(_arg1);
            this._-e4 = _arg2;
            this._-08Z = _arg3;
        }
        public function get _-3cX():int
        {
            return (this._-08Z);
        }
        public function get _-4s7():int
        {
            return (this._-e4);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2A3

package _-1FD
{
    public class _-2A3 extends _-1yP 
    {

        public static const _-2bM:String = "RWLUIM_LET_USER_IN";

        private var _-2lb:String;
        private var _-181:Boolean;

        public function _-2A3(_arg1:String, _arg2:Boolean)
        {
            super(_-2bM);
            this._-2lb = _arg1;
            this._-181 = _arg2;
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get _-3sF():Boolean
        {
            return (this._-181);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2aY

package _-1FD
{
    public class _-2aY extends _-1yP 
    {

        public static const _-3Nv:String = "RWVM_CHANGE_MOTTO_MESSAGE";

        private var _-2sb:String;

        public function _-2aY(_arg1:String)
        {
            super(_-3Nv);
            this._-2sb = _arg1;
        }
        public function get motto():String
        {
            return (this._-2sb);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2bi

package _-1FD
{
    public class _-2bi extends _-1yP 
    {

        public static const _-5A2:String = "RWCM_MESSAGE_GET_EFFECTS";

        public function _-2bi()
        {
            super(_-5A2);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2bY

package _-1FD
{
    public class _-2bY extends _-1yP 
    {

        public static const _-U6:String = "RWCSAM_MESSAGE_SELECT_AVATAR";

        private var _-44i:int;
        private var _-2lb:String;
        private var _-1Rt:int;
        private var _-0wA:int;

        public function _-2bY(_arg1:String, _arg2:int, _arg3:String, _arg4:int, _arg5:int)
        {
            super(_arg1);
            this._-44i = _arg2;
            this._-1Rt = _arg4;
            this._-2lb = _arg3;
            this._-0wA = _arg5;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2CC

package _-1FD
{
    public class _-2CC extends _-1yP 
    {

        public static const _-1E3:String = "RWRWM_USER_CHOOSER";
        public static const _-3y4:String = "RWRWM_FURNI_CHOOSER";
        public static const _-34H:String = "RWRWM_ME_MENU";
        public static const _-34B:String = "RWRWM_EFFECTS";
        public static const _-2pB:String = "RWRWM_CAMERA";

        public function _-2CC(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2Fk

package _-1FD
{
    public class _-2Fk extends _-1yP 
    {

        public static const _-0IH:String = "RWCPM_MESSAGE_CHANGE_POSTURE";
        public static const _-3TX:int = 0;
        public static const _-L9:int = 1;

        private var _-53c:int = 0;

        public function _-2Fk(_arg1:int)
        {
            super(_-0IH);
            this._-53c = _arg1;
        }
        public function get posture():int
        {
            return (this._-53c);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2H1

package _-1FD
{
    public class _-2H1 extends _-1yP 
    {

        public static const _-0q:String = "RWMMM_MESSAGE_ME_MENU_OPENED";

        public function _-2H1(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2jE

package _-1FD
{
    public class _-2jE extends _-1yP 
    {

        public static const _-5B0:String = "RWGOI_MESSAGE_GET_BADGE_DETAILS";

        private var _-0pa:Boolean;
        private var _-5CV:int = 0;

        public function _-2jE(_arg1:Boolean, _arg2:int)
        {
            super(_-5B0);
            this._-0pa = _arg1;
            this._-5CV = _arg2;
        }
        public function get _-0uB():Boolean
        {
            return (this._-0pa);
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2Lv

package _-1FD
{
    public class _-2Lv extends _-1yP 
    {

        public static const _-3zj:String = "RWEBOM_OPEN_ECOTRONBOX";

        private var _-44i:int;

        public function _-2Lv(_arg1:String, _arg2:int)
        {
            super(_arg1);
            this._-44i = _arg2;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2Nv

package _-1FD
{
    public class _-2Nv extends _-1yP 
    {

        public static const _-4bS:String = "RWGOI_MESSAGE_OPEN_CATALOG";
        public static const _-4tU:String = "RWOCM_CLUB_MAIN";
        public static const _-4zh:String = "RWOCM_PIXELS";
        public static const _-1Hf:String = "RWOCM_CREDITS";
        public static const _-20r:String = "RWOCM_SHELLS";

        private var _-2Kp:String = "";

        public function _-2Nv(_arg1:String)
        {
            super(_-4bS);
            this._-2Kp = _arg1;
        }
        public function get _-3ER():String
        {
            return (this._-2Kp);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2pd

package _-1FD
{
    import _-Ew.IWindowContainer;

    public class _-2pd extends _-1yP 
    {

        public static const _-06H:String = "RWCM_OPEN_AVATAR_EDITOR";
        public static const _-3ow:String = "RWCM_GET_WARDROBE";
        public static const _-1bQ:String = "RWAEM_AVATAR_EDITOR_VIEW_DISPOSED";

        private var _context:IWindowContainer;

        public function _-2pd(_arg1:String, _arg2:IWindowContainer=null)
        {
            super(_arg1);
            this._context = _arg2;
        }
        public function get context():IWindowContainer
        {
            return (this._context);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2ve

package _-1FD
{
    public class _-2ve extends _-1yP 
    {

        public static const _-1J6:String = "RWFUAM_ROTATE";
        public static const _-0qX:String = "RWFAM_MOVE";
        public static const _-5-b:String = "RWFAM_PICKUP";
        public static const _-1te:String = "RWFAM_EJECT";
        public static const _-032:String = "RWFAM_USE";
        public static const _-PG:String = "RWFAM_OPEN_WELCOME_GIFT";
        public static const _-1c4:String = "RWFAM_SAVE_STUFF_DATA";

        private var _-1Rh:int = 0;
        private var _-0oC:int = 0;
        private var _-5EJ:String;

        public function _-2ve(_arg1:String, _arg2:int, _arg3:int, _arg4:String=null)
        {
            super(_arg1);
            this._-1Rh = _arg2;
            this._-0oC = _arg3;
            this._-5EJ = _arg4;
        }
        public function get _-4Jh():int
        {
            return (this._-1Rh);
        }
        public function get _-3dE():int
        {
            return (this._-0oC);
        }
        public function get objectData():String
        {
            return (this._-5EJ);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2Ye

package _-1FD
{
    public class _-2Ye extends _-1yP 
    {

        public static const _-2o4:String = "RWCPM_CONVERSION_POINT";

        private var _-JS:String;
        private var _-1Vy:String;
        private var _-0iA:String;
        private var _-4kX:String;
        private var _-0W4:int;

        public function _-2Ye(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String="", _arg6:int=0)
        {
            super(_arg1);
            this._-JS = _arg2;
            this._-1Vy = _arg3;
            this._-0iA = _arg4;
            this._-4kX = ((_arg5) ? _arg5 : "");
            this._-0W4 = ((_arg6) ? _arg6 : 0);
        }
        public function get category():String
        {
            return (this._-JS);
        }
        public function get _-4Bc():String
        {
            return (this._-1Vy);
        }
        public function get action():String
        {
            return (this._-0iA);
        }
        public function get _-lI():String
        {
            return (this._-4kX);
        }
        public function get _-2YH():int
        {
            return (this._-0W4);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2Zs

package _-1FD
{
    public class _-2Zs extends _-1yP 
    {

        public static const _-2yV:String = "RWVM_VOTE_MESSAGE";

        private var _-MK:int;

        public function _-2Zs(_arg1:int)
        {
            super(_-2yV);
            this._-MK = _arg1;
        }
        public function get vote():int
        {
            return (this._-MK);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-2ZY

package _-1FD
{
    public class _-2ZY extends _-1yP 
    {

        public static const _-4z1:String = "RWCTM_TYPING_STATUS";

        private var _-3XG:Boolean;

        public function _-2ZY(_arg1:Boolean)
        {
            super(_-4z1);
            this._-3XG = _arg1;
        }
        public function get _-1SB():Boolean
        {
            return (this._-3XG);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-35J

package _-1FD
{
    public class _-35J extends _-1yP 
    {

        public static const _-ZO:String = "RWPCM_REQUEST_PET_COMMANDS";
        public static const _-dH:String = "RWPCM_PET_COMMAND";
        public static const _-4AF:int = 46;

        private var _-b:int = 0;
        private var _-3lK:String;

        public function _-35J(_arg1:String, _arg2:int, _arg3:String=null)
        {
            super(_arg1);
            this._-b = _arg2;
            this._-3lK = _arg3;
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get value():String
        {
            return (this._-3lK);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-38W

package _-1FD
{
    public class _-38W extends _-1yP 
    {

        public static const _-4iL:String = "RWFWM_MESSAGE_REQUEST_CREDITFURNI";
        public static const _-1y-:String = "RWFWM_MESSAGE_REQUEST_STICKIE";
        public static const _-2mb:String = "RWFWM_MESSAGE_REQUEST_PRESENT";
        public static const _-4V0:String = "RWFWM_MESSAGE_REQUEST_TROPHY";
        public static const _-2l1:String = "RWFWM_MESSAGE_REQUEST_TEASER";
        public static const _-59G:String = "RWFWM_MESSAGE_REQUEST_ECOTRONBOX";
        public static const _-1kf:String = "RWFWM_MESSAGE_REQUEST_DIMMER";
        public static const _-1jS:String = "RWFWM_MESSAGE_REQUEST_PLACEHOLDER";
        public static const _-40I:String = "RWFWM_MESSAGE_REQUEST_CLOTHING_CHANGE";
        public static const _-1Bb:String = "RWFWM_MESSAGE_REQUEST_PLAYLIST_EDITOR";

        private var _-0Kq:int = 0;
        private var _-JS:int = 0;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-38W(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int)
        {
            super(_arg1);
            this._-0Kq = _arg2;
            this._-JS = _arg3;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-3Eq

package _-1FD
{
    public class _-3Eq extends _-1yP 
    {

        public static const _-mz:String = "RWSWPFEE_SEND_POSTIT_DATA";

        private var _-44i:int;
        private var _location:String;
        private var _text:String;
        private var _-22L:String;

        public function _-3Eq(_arg1:String, _arg2:int, _arg3:String, _arg4:String, _arg5:String)
        {
            super(_arg1);
            this._-44i = _arg2;
            this._location = _arg3;
            this._text = _arg4;
            this._-22L = _arg5;
        }
        public function get location():String
        {
            return (this._location);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get _-2vn():String
        {
            return (this._-22L);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-3o3

package _-1FD
{
    public class _-3o3 extends _-1yP 
    {

        public static const _-2qw:String = "RWGSM_GET_SETTINGS";

        public function _-3o3(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-3VD

package _-1FD
{
    public class _-3VD extends _-1yP 
    {

        public static const _-5Db:String = "RWUAM_WHISPER_USER";
        public static const _-2nT:String = "RWUAM_IGNORE_USER";
        public static const _-1VV:String = "RWUAM_IGNORE_USER_BUBBLE";
        public static const _-0AR:String = "RWUAM_UNIGNORE_USER";
        public static const _-2k0:String = "RWUAM_KICK_USER";
        public static const  use:String = "RWUAM_BAN_USER";
        public static const _-2wa:String = "RWUAM_BAN_USER_HOUR";
        public static const _-05u:String = "RWUAM_BAN_USER_DAY";
        public static const _-0Ue:String = "RWUAM_BAN_USER_PERM";
        public static const MUTE_USER_2MIN:String = "RWUAM_MUTE_USER_2MIN";
        public static const MUTE_USER_5MIN:String = "RWUAM_MUTE_USER_5MIN";
        public static const MUTE_USER_10MIN:String = "RWUAM_MUTE_USER_10MIN";
        public static const _-12e:String = "RWUAM_SEND_FRIEND_REQUEST";
        public static const _-u4:String = "RWUAM_RESPECT_USER";
        public static const _-2qF:String = "RWUAM_GIVE_RIGHTS";
        public static const _-2pY:String = "RWUAM_TAKE_RIGHTS";
        public static const _-0tp:String = "RWUAM_START_TRADING";
        public static const _-0MS:String = "RWUAM_OPEN_HOME_PAGE";
        public static const _-4Po:String = "RWUAM_REPORT";
        public static const _-09:String = "RWUAM_PICKUP_PET";
        public static const _-44:String = "RWUAM_MOUNT_PET";
        public static const _-3L3:String = "RWUAM_TOGGLE_PET_RIDING_PERMISSION";
        public static const _-3ob:String = "RWUAM_TOGGLE_PET_BREEDING_PERMISSION";
        public static const _-5As:String = "RWUAM_DISMOUNT_PET";
        public static const _-hN:String = "RWUAM_SADDLE_OFF";
        public static const _-2aj:String = "RWUAM_TRAIN_PET";
        public static const _-2yN:String = " RWUAM_RESPECT_PET";
        public static const _-27c:String = "RWUAM_TREAT_PET";
        public static const _-3Om:String = "RWUAM_REQUEST_PET_UPDATE";
        public static const _-4Cv:String = "RWUAM_START_NAME_CHANGE";
        public static const _-0kH:String = "RWUAM_PASS_CARRY_ITEM";
        public static const _-46O:String = "RWUAM_DROP_CARRY_ITEM";
        public static const _-4e1:String = "RWUAM_GIVE_CARRY_ITEM_TO_PET";
        public static const _-1Sa:String = "RWUAM_GIVE_WATER_TO_PET";
        public static const _-3cn:String = "RWUAM_GIVE_LIGHT_TO_PET";
        public static const _-CM:String = "RWUAM_REQUEST_BREED_PET";
        public static const _-0vh:String = "RWUAM_HARVEST_PET";
        public static const _-5F5:String = "RWUAM_REVIVE_PET";
        public static const _-1lg:String = "RWUAM_REPORT_BULLYING";
        public static const _-214:String = "RWUAM_REPORT_CFH_SEXUAL";
        public static const _-AH:String = "RWUAM_REPORT_CFH_PII";
        public static const _-1Gc:String = "RWUAM_REPORT_CFH_OTHER";

        private var _-4lu:int = 0;

        public function _-3VD(_arg1:String, _arg2:int=0)
        {
            super(_arg1);
            this._-4lu = _arg2;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-3X1

package _-1FD
{
    public class _-3X1 extends _-1yP 
    {

        public static const _-23w:String = "RWCM_MESSAGE_DANCE";
        public static const _-1qH:int = 0;
        public static const _-Zu:Array = [2, 3, 4];

        private var _-bl:int = 0;

        public function _-3X1(_arg1:int)
        {
            super(_-23w);
            this._-bl = _arg1;
        }
        public function get style():int
        {
            return (this._-bl);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-45L

package _-1FD
{
    public class _-45L extends _-1yP 
    {

        public static const _-1h3:String = "rwcem_change_email";

        private var _-gw:String;

        public function _-45L(_arg1:String)
        {
            super(_-1h3);
            this._-gw = _arg1;
        }
        public function get _-3eE():String
        {
            return (this._-gw);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-45O

package _-1FD
{
    public class _-45O extends _-1yP 
    {

        public static const _-00W:String = "RWPOM_OPEN_PRESENT";

        private var _-44i:int;

        public function _-45O(_arg1:String, _arg2:int)
        {
            super(_arg1);
            this._-44i = _arg2;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-47B

package _-1FD
{
    public class _-47B extends _-1yP 
    {

        public static const _-XK:String = "RWCM_MESSAGE_CHAT";
        public static const _-0Js:int = 0;
        public static const _-cB:int = 1;
        public static const _-3Oz:int = 2;

        private var _-2Jm:int = 0;
        private var _text:String = "";
        private var _-2ll:String = "";
        private var _-2mp:int;

        public function _-47B(_arg1:String, _arg2:String, _arg3:int=0, _arg4:String="", _arg5:int=0)
        {
            super(_arg1);
            this._text = _arg2;
            this._-2Jm = _arg3;
            this._-2ll = _arg4;
            this._-2mp = _arg5;
        }
        public function get _-54R():int
        {
            return (this._-2Jm);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get _-4L1():String
        {
            return (this._-2ll);
        }
        public function get styleId():int
        {
            return (this._-2mp);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-48D

package _-1FD
{
    public class _-48D extends _-1yP 
    {

        public static const _-4Tw:String = "RWRTSM_ROOM_TAG_SEARCH";

        private var _-2CI:String = "";

        public function _-48D(_arg1:String)
        {
            super(_-4Tw);
            this._-2CI = _arg1;
        }
        public function get tag():String
        {
            return (this._-2CI);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4CA

package _-1FD
{
    public class _-4CA extends _-1yP 
    {

        public static const _-2Sv:String = "RWPLPS_TOGGLE_PLAY_PAUSE";

        private var _-1Rh:int;
        private var _-oi:int;

        public function _-4CA(_arg1:String, _arg2:int, _arg3:int=-1)
        {
            super(_arg1);
            this._-1Rh = _arg2;
            this._-oi = _arg3;
        }
        public function get _-4Jh():int
        {
            return (this._-1Rh);
        }
        public function get position():int
        {
            return (this._-oi);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4cB

package _-1FD
{
    public class _-4cB extends _-1yP 
    {

        public static const _-4dp:String = "RWGOI_MESSAGE_NAVIGATE_TO_ROOM";
        public static const _-1sL:String = "RWGOI_MESSAGE_NAVIGATE_HOME";

        private var _-1Rt:int;

        public function _-4cB(_arg1:String, _arg2:int=-1)
        {
            super(_arg1);
            this._-1Rt = _arg2;
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4II

package _-1FD
{
    public class _-4II extends _-1yP 
    {

        public static const _-1Cm:String = "RWSSM_STORE_SETTINGS";
        public static const _-YZ:String = "RWSSM_STORE_SOUND";
        public static const _-0UH:String = "RWSSM_PREVIEW_SOUND";

        private var _-0Kj:Number;
        private var _-fi:Number;
        private var _-17r:Number;

        public function _-4II(_arg1:String)
        {
            super(_arg1);
        }
        public function get _-0nr():Number
        {
            return (this._-0Kj);
        }
        public function set _-0nr(_arg1:Number):void
        {
            this._-0Kj = _arg1;
        }
        public function get _-46y():Number
        {
            return (this._-fi);
        }
        public function set _-46y(_arg1:Number):void
        {
            this._-fi = _arg1;
        }
        public function get _-1hL():Number
        {
            return (this._-17r);
        }
        public function set _-1hL(_arg1:Number):void
        {
            this._-17r = _arg1;
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4jZ

package _-1FD
{
    public class _-4jZ extends _-1yP 
    {

        public static const _-3aE:String = "RWOPEM_OPEN_USER_PROFILE";

        private var _-4lu:int;
        private var _-oj:String;

        public function _-4jZ(_arg1:String, _arg2:int, _arg3:String)
        {
            super(_arg1);
            this._-4lu = _arg2;
            this._-oj = _arg3;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-2Xz():String
        {
            return (this._-oj);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4MU

package _-1FD
{
    public class _-4MU extends _-1yP 
    {

        public static const _-5FL:String = "RWEBOM_ECOTRONBOX_OPENED";

        private var _-53-:String;
        private var _-0xc:int;

        public function _-4MU(_arg1:String, _arg2:String, _arg3:int)
        {
            super(_arg1);
            this._-53- = _arg2;
            this._-0xc = _arg3;
        }
        public function get _-15x():String
        {
            return (this._-53-);
        }
        public function get _-YT():int
        {
            return (this._-0xc);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4Th

package _-1FD
{
    public class _-4Th extends _-1yP 
    {

        public static const _-4t5:String = "RWGOI_MESSAGE_STOP_EFFECT";

        public function _-4Th()
        {
            super(_-4t5);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4Ty

package _-1FD
{
    public class _-4Ty extends _-1yP 
    {

        public static const _-0i3:String = "RWGOI_MESSAGE_OPEN_INVENTORY";
        public static const _-3HA:String = "inventory_effects";
        public static const _-4Ht:String = "inventory_badges";
        public static const _-4ig:String = "inventory_clothes";
        public static const _-4-s:String = "inventory_furniture";

        private var _-1fN:String;

        public function _-4Ty(_arg1:String)
        {
            super(_-0i3);
            this._-1fN = _arg1;
        }
        public function get _-1AT():String
        {
            return (this._-1fN);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4Vo

package _-1FD
{
    public class _-4Vo extends _-1yP 
    {

        public static const _-3R4:String = "RWOPPM_OPEN_PET_PACKAGE";

        private var _-44i:int;
        private var _name:String;

        public function _-4Vo(_arg1:String, _arg2:int, _arg3:String)
        {
            super(_arg1);
            this._-44i = _arg2;
            this._name = _arg3;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get name():String
        {
            return (this._name);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-4xB

package _-1FD
{
    public class _-4xB extends _-1yP 
    {

        public static const _-iL:String = "RWFRM_ACCEPT";
        public static const _-10k:String = "RWFRM_DECLINE";

        private var _-by:int = 0;

        public function _-4xB(_arg1:String, _arg2:int=0)
        {
            super(_arg1);
            this._-by = _arg2;
        }
        public function get _-0nn():int
        {
            return (this._-by);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-hF

package _-1FD
{
    public class _-hF extends _-1yP 
    {

        public static const _-39H:String = "RWPLUA_OPEN_CATALOGUE_BUTTON_PRESSED";

        public function _-hF(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-N9

package _-1FD
{
    public class _-N9 extends _-1yP 
    {

        public static const _-23N:String = "RWCCM_REQUEST_EDITOR";

        private var _-44i:int = 0;
        private var _-1pz:int = 0;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4Cb:String = "";

        public function _-N9(_arg1:String, _arg2:String, _arg3:int, _arg4:int, _arg5:int, _arg6:int)
        {
            super(_arg1);
            this._-4Cb = _arg2;
            this._-44i = _arg3;
            this._-1pz = _arg4;
            this._-1Rt = _arg5;
            this._-0wA = _arg6;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-4hA():int
        {
            return (this._-1pz);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-sb

package _-1FD
{
    public class _-sb extends _-1yP 
    {

        public static const CHANGE_STATE:String = "RWCDSM_CHANGE_STATE";

        public function _-sb()
        {
            super(_-sb.CHANGE_STATE);
        }
    }
}//package _-1FD

//------------------------------------------------------------
//_-1FD._-TC

package _-1FD
{
    public class _-TC extends _-1yP 
    {

        public static const _-09W:String = "RWSDPM_SAVE_PRESET";

        private var _-2a:int;
        private var _-2ib:int;
        private var _color:uint;
        private var _-08E:int;
        private var _-4YN:Boolean;

        public function _-TC(_arg1:int, _arg2:int, _arg3:uint, _arg4:int, _arg5:Boolean)
        {
            super(_-09W);
            this._-2a = _arg1;
            this._-2ib = _arg2;
            this._color = _arg3;
            this._-08E = _arg4;
            this._-4YN = _arg5;
        }
        public function get _-57g():int
        {
            return (this._-2a);
        }
        public function get _-4n8():int
        {
            return (this._-2ib);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-42j():int
        {
            return (this._-08E);
        }
        public function get apply():Boolean
        {
            return (this._-4YN);
        }

    }
}//package _-1FD

//------------------------------------------------------------
//_-1Fi._-09J

package _-1Fi
{
    import _-4Aj._-0s1;
    import _-4h0.SnowWarGameObjectData;

    public class _-09J 
    {

        private var _-4op:Array;

        public function _-09J(_arg1:_-0s1)
        {
            this._-4op = [];
            super();
            this.parse(_arg1);
        }
        public function get _-3mz():Array
        {
            return (this._-4op);
        }
        public function parse(_arg1:_-0s1):void
        {
            var k:int;
            var k:int;
            var k:SnowWarGameObjectData;
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = SnowWarGameObjectData.create(k, k);
                k.parse(_arg1);
                this._-4op.push(k);
                k++;
            };
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi._-0Iz

package _-1Fi
{
    import _-4Aj._-0s1;

    public class _-0Iz 
    {

        private var _-0Dz:int;
        private var _height:int;
        private var _-258:String;
        private var _-F3:Array;

        public function _-0Iz(_arg1:_-0s1)
        {
            this._-F3 = [];
            super();
            this.parse(_arg1);
        }
        public function get width():int
        {
            return (this._-0Dz);
        }
        public function get height():int
        {
            return (this._height);
        }
        public function get _-3al():String
        {
            return (this._-258);
        }
        public function get fuseObjects():Array
        {
            return (this._-F3);
        }
        public function parse(_arg1:_-0s1):void
        {
            var k:int;
            var k:_-iq;
            this._-0Dz = _arg1._-2BW();
            this._height = _arg1._-2BW();
            this._-258 = _arg1.readString();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                k = new _-iq();
                k.parse(_arg1);
                this._-F3.push(k);
                k++;
            };
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi._-2jf

package _-1Fi
{
    import _-4Aj._-0s1;

    public class _-2jf 
    {

        public static var _-1Qb:Function = _-27B;
        public static var _-2AM:Function = _-2Bz;

        private var _-4lu:int;
        private var _name:String;
        private var _-5AE:String;
        private var _-4Cb:String;
        private var _-11d:int;
        private var _-00e:int;
        private var _-0vi:int;
        private var _-4zz:int;

        public function _-2jf(_arg1:_-0s1)
        {
            this._-4lu = _arg1._-2BW();
            this._name = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-4Cb = _arg1.readString();
            this._-11d = _arg1._-2BW();
            this._-00e = _arg1._-2BW();
            this._-0vi = _arg1._-2BW();
            this._-4zz = _arg1._-2BW();
        }
        private static function _-27B(_arg1:_-2jf, _arg2:_-2jf):Number
        {
            var k:int = _arg1._-0aL;
            var k:int = _arg2._-0aL;
            if (k < k)
            {
                return (1);
            };
            if (k == k)
            {
                return (0);
            };
            return (-1);
        }
        private static function _-2Bz(_arg1:_-2jf, _arg2:_-2jf):Number
        {
            var k:int = _arg1.skillLevel;
            var k:int = _arg2.skillLevel;
            if (k < k)
            {
                return (1);
            };
            if (k == k)
            {
                return (0);
            };
            return (-1);
        }

        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get _-0b0():int
        {
            return (this._-11d);
        }
        public function get skillLevel():int
        {
            return (this._-00e);
        }
        public function get _-0aL():int
        {
            return (this._-0vi);
        }
        public function get _-0hP():int
        {
            return (this._-4zz);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi._-2qg

package _-1Fi
{
    import _-4Aj._-0s1;

    public class _-2qg 
    {

        private var _-2zr:int;
        private var _-3gz:String;
        private var _-2t:int;
        private var _-07F:int;
        private var _-3li:int;
        private var _-6T:int;
        private var _-3id:String;
        private var _-4pu:int;
        private var _-3lc:Array;

        public function _-2qg(_arg1:_-0s1)
        {
            this._-3lc = [];
            super();
            this._-2zr = _arg1._-2BW();
            this._-3gz = _arg1.readString();
            this._-2t = _arg1._-2BW();
            this._-07F = _arg1._-2BW();
            this._-3li = _arg1._-2BW();
            this._-6T = _arg1._-2BW();
            this._-3id = _arg1.readString();
            this._-4pu = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-3lc.push(new _-2jf(_arg1));
                k++;
            };
        }
        public function get _-4IC():int
        {
            return (this._-2zr);
        }
        public function get _-3ca():int
        {
            return (this._-2t);
        }
        public function get _-4dH():int
        {
            return (this._-07F);
        }
        public function get _-0Sk():int
        {
            return (this._-3li);
        }
        public function get _-1Gz():int
        {
            return (this._-6T);
        }
        public function get _-2pE():String
        {
            return (this._-3id);
        }
        public function get _-2Oo():int
        {
            return (this._-4pu);
        }
        public function get _-EZ():Array
        {
            return (this._-3lc);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi._-2ZQ

package _-1Fi
{
    import _-4Aj._-0s1;

    public class _-2ZQ 
    {

        private var _-51I:int;
        private var _-0cN:int;
        private var _-4op:_-09J;
        private var _-3li:int;
        private var _-2Hr:_-3Sn;

        public function _-2ZQ(_arg1:_-0s1)
        {
            this.parse(_arg1);
        }
        public function get _-0uH():int
        {
            return (this._-51I);
        }
        public function get _-2LR():int
        {
            return (this._-0cN);
        }
        public function get _-3mz():_-09J
        {
            return (this._-4op);
        }
        public function get _-0Sk():int
        {
            return (this._-3li);
        }
        public function get _-4ee():_-3Sn
        {
            return (this._-2Hr);
        }
        public function parse(_arg1:_-0s1):void
        {
            _arg1._-2BW();
            this._-51I = _arg1._-2BW();
            this._-0cN = _arg1._-2BW();
            this._-4op = new _-09J(_arg1);
            _arg1._-2BW();
            this._-3li = _arg1._-2BW();
            this._-2Hr = new _-3Sn(_arg1);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi._-3Sn

package _-1Fi
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-1nc._-0jn;

    public class _-3Sn 
    {

        private var _-3v3:int;
        private var _-3HT:int;
        private var _-1Mi:Map;

        public function _-3Sn(_arg1:_-0s1)
        {
            this.parse(_arg1);
        }
        public function get _-0EN():int
        {
            return (this._-3v3);
        }
        public function get _-yn():int
        {
            return (this._-3HT);
        }
        public function get events():Map
        {
            return (this._-1Mi);
        }
        public function parse(_arg1:_-0s1):void
        {
            var k:int;
            var k:Array;
            var k:int;
            var k:int;
            var k:_-0jn;
            this._-3v3 = _arg1._-2BW();
            this._-3HT = _arg1._-2BW();
            this._-1Mi = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = [];
                k = 0;
                while (k < k)
                {
                    k = _arg1._-2BW();
                    k = _-0jn.create(k);
                    if (k)
                    {
                        k.parse(_arg1);
                        k.push(k);
                    };
                    k++;
                };
                this._-1Mi.add(k, k);
                k++;
            };
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi._-iq

package _-1Fi
{
    import _-293._-4q2;
    import _-Co._-1ad;
    import _-4Aj._-0s1;

    public class _-iq 
    {

        private var _name:String;
        private var _-0Kq:int;
        private var _-2dX:int;
        private var _-4TA:int;
        private var _-2Pj:int;
        private var _-2zp:int;
        private var _height:int;
        private var _-3r2:int;
        private var _-0VA:int;
        private var _-1oN:Boolean;
        private var _-56Y:_-4q2;

        public function parse(_arg1:_-0s1):void
        {
            this._name = _arg1.readString();
            this._-0Kq = _arg1._-2BW();
            this._-2dX = _arg1._-2BW();
            this._-4TA = _arg1._-2BW();
            this._-2Pj = _arg1._-2BW();
            this._-2zp = _arg1._-2BW();
            this._height = _arg1._-2BW();
            this._-3r2 = _arg1._-2BW();
            this._-0VA = _arg1._-2BW();
            this._-1oN = _arg1.readBoolean();
            this._-56Y = _-1ad._-7c(_arg1);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }
        public function get _-2j():int
        {
            return (this._-2Pj);
        }
        public function get _-1kX():int
        {
            return (this._-2zp);
        }
        public function get height():int
        {
            return (this._height);
        }
        public function get direction():int
        {
            return (this._-3r2);
        }
        public function get _-t1():int
        {
            return (this._-0VA);
        }
        public function get _-t2():Boolean
        {
            return (this._-1oN);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi.Game2GameResult

package _-1Fi
{
    import _-4Aj._-0s1;

    public class Game2GameResult 
    {

        public static const _-0qD:int = 0;
        public static const _-0cz:int = 1;
        public static const _-3Da:int = 2;

        private var _-2rA:Boolean;
        private var _-0na:int;
        private var _-12T:int;

        public function Game2GameResult(_arg1:_-0s1)
        {
            this._-2rA = _arg1.readBoolean();
            this._-0na = _arg1._-2BW();
            this._-12T = _arg1._-2BW();
        }
        public function get _-2NV():Boolean
        {
            return (this._-2rA);
        }
        public function get _-0zc():int
        {
            return (this._-0na);
        }
        public function get _-1MP():int
        {
            return (this._-12T);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi.Game2PlayerData

package _-1Fi
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class Game2PlayerData implements _-1zZ 
    {

        private var _-41K:int;
        private var _-2lb:String;
        private var _-Wd:String;
        private var _-4Cb:String;
        private var _-11d:int;
        private var _-4Bk:Boolean = false;

        public function dispose():void
        {
            this._-2lb = null;
            this._-Wd = null;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function parse(_arg1:_-0s1):void
        {
            this._-41K = _arg1._-2BW();
            this._-2lb = _arg1.readString();
            this._-Wd = _arg1.readString();
            this._-4Cb = _arg1.readString();
            this._-11d = _arg1._-2BW();
        }
        public function toString():String
        {
            return (((("[Game Player] " + this._-41K) + ": ") + this._-2lb));
        }
        public function get _-7z():int
        {
            return (this._-41K);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get _-11I():String
        {
            return (this._-Wd);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get _-0b0():int
        {
            return (this._-11d);
        }
        public function get _-qr():Boolean
        {
            return (this._-4Bk);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi.Game2PlayerStatsData

package _-1Fi
{
    import _-4Aj._-0s1;

    public class Game2PlayerStatsData 
    {

        private var _-00d:int;
        private var _-3jw:int;
        private var _-4LL:int;
        private var _-0jD:int;
        private var _-1ND:int;
        private var _-1qA:int;
        private var _-0-C:int;
        private var _-2pr:int;
        private var _-4oH:int;
        private var _-4ib:int;

        public function Game2PlayerStatsData(_arg1:_-0s1)
        {
            this._-00d = _arg1._-2BW();
            this._-3jw = _arg1._-2BW();
            this._-4LL = _arg1._-2BW();
            this._-0jD = _arg1._-2BW();
            this._-1ND = _arg1._-2BW();
            this._-1qA = _arg1._-2BW();
            this._-0-C = _arg1._-2BW();
            this._-2pr = _arg1._-2BW();
            this._-4oH = _arg1._-2BW();
            this._-4ib = _arg1._-2BW();
        }
        public function get score():int
        {
            return (this._-00d);
        }
        public function get _-1hA():int
        {
            return (this._-3jw);
        }
        public function get _-1s6():int
        {
            return (this._-4LL);
        }
        public function get _-7o():int
        {
            return (this._-0jD);
        }
        public function get _-0f-():int
        {
            return (this._-1ND);
        }
        public function get _-4Ed():int
        {
            return (this._-1qA);
        }
        public function get _-1Rf():int
        {
            return (this._-0-C);
        }
        public function get _-3FX():int
        {
            return (this._-2pr);
        }
        public function get _-2Y0():int
        {
            return (this._-4oH);
        }
        public function get _-0C0():int
        {
            return (this._-4ib);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi.Game2SnowWarGameStats

package _-1Fi
{
    import _-4Aj._-0s1;

    public class Game2SnowWarGameStats 
    {

        private var _-1Lz:int;
        private var _-2jm:int;

        public function Game2SnowWarGameStats(_arg1:_-0s1)
        {
            this._-1Lz = _arg1._-2BW();
            this._-2jm = _arg1._-2BW();
        }
        public function get _-3zD():int
        {
            return (this._-1Lz);
        }
        public function get _-3Qc():int
        {
            return (this._-2jm);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi.Game2TeamPlayerData

package _-1Fi
{
    import _-4Aj._-0s1;

    public class Game2TeamPlayerData 
    {

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-00d:int;
        private var _-5AE:String;
        private var _-4Cb:String;
        private var _-ye:Game2PlayerStatsData;
        private var _-11d:int;
        private var _-4lG:Boolean;

        public function Game2TeamPlayerData(_arg1:int, _arg2:_-0s1):void
        {
            this._-11d = _arg1;
            this._-2lb = _arg2.readString();
            this._-4lu = _arg2._-2BW();
            this._-5AE = _arg2.readString();
            this._-4Cb = _arg2.readString();
            this._-00d = _arg2._-2BW();
            this._-ye = new Game2PlayerStatsData(_arg2);
            this._-4lG = false;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get score():int
        {
            return (this._-00d);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get playerStats():Game2PlayerStatsData
        {
            return (this._-ye);
        }
        public function get _-0b0():int
        {
            return (this._-11d);
        }
        public function get _-0A1():Boolean
        {
            return (this._-4lG);
        }
        public function set _-0A1(_arg1:Boolean):void
        {
            this._-4lG = _arg1;
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1Fi.Game2TeamScoreData

package _-1Fi
{
    import _-4Aj._-0s1;

    public class Game2TeamScoreData 
    {

        private var _-00d:int;
        private var _-48p:int;
        private var _-3lc:Array;

        public function Game2TeamScoreData(_arg1:_-0s1)
        {
            this._-48p = _arg1._-2BW();
            this._-00d = _arg1._-2BW();
            this._-3lc = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-3lc.push(new Game2TeamPlayerData(this._-48p, _arg1));
                k++;
            };
        }
        public function get score():int
        {
            return (this._-00d);
        }
        public function get _-2lR():int
        {
            return (this._-48p);
        }
        public function get _-EZ():Array
        {
            return (this._-3lc);
        }

    }
}//package _-1Fi

//------------------------------------------------------------
//_-1FI._-0Dv

package _-1FI
{
    import _-1B-.*;

    public interface _-0Dv extends _-4yI 
    {

        function _-2VK(_arg1:int, _arg2:String):void;

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-0x9

package _-1FI
{
    import _-1ae.IFrameWindow;
    import _-0qO._-4Uv;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class _-0x9 implements _-1zZ, _-1mg 
    {

        private var _-1-u:_-2lC;
        private var _-4lu:int;
        private var _frame:IFrameWindow;
        private var _disposed:Boolean;
        private var _-217:_-55a;
        private var _-eS:_-4Uv;

        public function _-0x9(_arg1:_-2lC, _arg2:int, _arg3:_-4Uv=null)
        {
            this._-1-u = _arg1;
            this._-4lu = _arg2;
            this._-eS = _arg3;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function show():void
        {
            this._frame = IFrameWindow(this._-1-u.getXmlWindow("user_info_frame"));
            this._frame.caption = "User Info";
            var k:IWindow = this._frame.findChildByTag("close");
            k.procedure = this._-4F9;
            this._-217 = new _-55a(this._frame, this._-1-u, "", this._-eS, null, true);
            this._-217.load(this._frame.content, this._-4lu);
            this._frame.visible = true;
        }
        public function getType():int
        {
            return (WindowTracker._-PN);
        }
        public function getId():String
        {
            return (("" + this._-4lu));
        }
        public function _-44L():IFrameWindow
        {
            return (this._frame);
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.dispose();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._frame != null)
            {
                this._frame.destroy();
                this._frame = null;
            };
            if (this._-217 != null)
            {
                this._-217.dispose();
                this._-217 = null;
            };
            this._-eS = null;
            this._-1-u = null;
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-1bi

package _-1FI
{
    public class _-1bi 
    {

        public static const _-4bv:int = 1;
        public static const _-1rL:int = 2;
        public static const _-4It:int = 3;

        private var _name:String;
        private var _-0lb:int;
        private var _-4vG:int;

        public function _-1bi(_arg1:String, _arg2:int, _arg3:int)
        {
            this._name = _arg1;
            this._-0lb = _arg2;
            this._-4vG = _arg3;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-1Br():int
        {
            return (this._-0lb);
        }
        public function get _-0hS():int
        {
            return (this._-4vG);
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-1mg

package _-1FI
{
    import _-1ae.IFrameWindow;
    import _-1B-.*;

    public interface _-1mg extends _-1zZ 
    {

        function getType():int;
        function getId():String;
        function _-44L():IFrameWindow;
        function show():void;

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-1u5

package _-1FI
{
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;

    public class _-1u5 implements _-2xq 
    {

        private var _-2U1:IssueManager;
        private var _-3xv:_-1W;
        private var _-0xv:IWindowContainer;
        private var _-1Hw:_-3wK;

        public function _-1u5(_arg1:IssueManager, _arg2:_-1W, _arg3:IWindowContainer)
        {
            this._-2U1 = _arg1;
            this._-3xv = _arg2;
            this._-0xv = (this._-3xv.createWindow("picked_issues_xml") as IWindowContainer);
            _arg3.addChild(this._-0xv);
            var k:IItemListWindow = (this._-0xv.findChildByName("issue_list") as IItemListWindow);
            this._-1Hw = new _-3wK(_arg1, _arg2, k, "picked_issues_list_item_xml");
        }
        public function get view():IWindowContainer
        {
            return (this._-0xv);
        }
        public function set visible(_arg1:Boolean):void
        {
            this._-0xv.visible = _arg1;
        }
        public function update():void
        {
            var k:Array = this._-2U1._-3OR(IssueManager._-0n5);
            this._-1Hw.update(k);
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-1u9

package _-1FI
{
    public class _-1u9 
    {

        public static function _-2SD(_arg1:int):String
        {
            switch (_arg1)
            {
                case 1:
                    return ("Normal");
                case 2:
                    return ("Normal");
                case 3:
                    return ("Automatic");
                case 4:
                    return ("Automatic IM");
                case 5:
                    return ("Guide System");
                case 6:
                    return ("IM");
                case 7:
                    return ("Room");
                case 8:
                    return ("Panic");
                case 9:
                    return ("Guardian");
                case 10:
                    return ("Automatic Helper");
                default:
                    return ("Unknown");
            };
        }
        public static function _-0Dh(_arg1:int):String
        {
            switch (_arg1)
            {
                case 1:
                    return ("Room ");
                case 2:
                    return ("Room ");
                case 3:
                    return ("Room ");
                case 4:
                    return ("IM ");
                case 5:
                    return ("Helper ");
                case 6:
                    return ("IM ");
                case 7:
                    return ("Room ");
                case 8:
                    return ("Room ");
                case 9:
                    return ("Room ");
                case 10:
                    return ("Helper ");
                default:
                    return ("");
            };
        }
        public static function _-WS(_arg1:int):String
        {
            switch (_arg1)
            {
                case 0:
                    return ("Automatic");
                case 101:
                    return ("Sex");
                case 102:
                    return ("PII");
                case 103:
                    return ("Scam");
                case 104:
                    return ("Bullying");
                case 105:
                    return ("Disruption");
                case 106:
                    return ("Other");
                case 111:
                    return ("Sex");
                case 112:
                    return ("Scam");
                case 113:
                    return ("Disruption");
                case 114:
                    return ("Other");
                case 121:
                    return ("Sex");
                case 122:
                    return ("PII");
                case 123:
                    return ("Bullying");
                case 124:
                    return ("Other");
                case 0x0400:
                    return ("Guide");
                case 1025:
                    return ("Bullying");
                case 1026:
                    return ("Severe Alert");
                default:
                    return ("Unknown");
            };
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-1W

package _-1FI
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-1ae.IFrameWindow;
    import _-1ae.ITabContextWindow;
    import _-Ew.IWindow;
    import _-1ae.ITabButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae.ISelectableWindow;
    import _-295._-243;

    public class _-1W 
    {

        private const _-048:String = "my_issues";
        private const _-8V:String = "open_issues";
        private const _-3py:String = "picked_issues";
        private const _-4IY:String = "closed_issues";

        private var _-2U1:IssueManager;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-0xv:IFrameWindow;
        private var _-44a:ITabContextWindow;
        private var _-1M6:_-2xq;
        private var _-QY:_-2xq;
        private var _-2oO:_-2xq;
        private var _-8e:_-1u5;

        public function _-1W(_arg1:IssueManager, _arg2:_-3Ts, _arg3:_-39L)
        {
            this._-2U1 = _arg1;
            this._-U- = _arg2;
            this._assets = _arg3;
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get assets():_-39L
        {
            return (this._assets);
        }
        public function get _-0Aj():IssueManager
        {
            return (this._-2U1);
        }
        public function show():void
        {
            if (this._-0xv == null)
            {
                this._-4lF();
            };
            this._-0xv.visible = true;
            this._-0xv.activate();
            this.update();
        }
        public function isOpen():Boolean
        {
            return (((!((this._-0xv == null))) && (this._-0xv.visible)));
        }
        private function _-4lF():void
        {
            var k:IWindow;
            var k:IWindow;
            var k:IWindow;
            var k:ITabButtonWindow;
            var k:int;
            if (this._-0xv == null)
            {
                this._-0xv = (this.createWindow("issue_browser_xml") as IFrameWindow);
                if (this._-0xv == null)
                {
                    return;
                };
                k = this._-0xv.desktop;
                this._-0xv.x = ((k.width / 2) - (this._-0xv.width / 2));
                this._-0xv.y = ((k.height / 2) - (this._-0xv.height / 2));
                k = this._-0xv.findChildByTag("close");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-4F9);
                };
                k = this._-0xv.findChildByName("auto_pick");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-2ik);
                };
                this._-44a = (this._-0xv.findChildByName("tab_context") as ITabContextWindow);
                k = 0;
                while (k < this._-44a._-2Z)
                {
                    k = this._-44a._-3Zg(k);
                    k.addEventListener(WindowEvent._-2wB, this._-2fm);
                    k++;
                };
            };
            this._-44a = (this._-0xv.findChildByName("tab_context") as ITabContextWindow);
            if ((((this._-44a == null)) || ((this._-44a.container == null))))
            {
                return;
            };
            var k:ISelectableWindow = this._-44a.selector._-4Vf("open_issues");
            this._-44a.selector.setSelected(k);
        }
        private function _-1Ak(_arg1:String):void
        {
            var k:_-2xq = this._-0E3(_arg1);
            if (this._-1M6 == k)
            {
                return;
            };
            if (this._-1M6 != null)
            {
                this._-1M6.visible = false;
            };
            this._-1M6 = k;
            if (this._-1M6 == null)
            {
                return;
            };
            this._-1M6.view.width = this._-44a.container.width;
            this._-1M6.view.height = this._-44a.container.height;
            this._-1M6.visible = true;
            this._-1M6.update();
        }
        private function _-0E3(_arg1:String):_-2xq
        {
            switch (_arg1)
            {
                case this._-048:
                    if (this._-QY == null)
                    {
                        this._-QY = new _-32R(this._-0Aj, this, this._-44a.container);
                    };
                    return (this._-QY);
                case this._-8V:
                    if (this._-2oO == null)
                    {
                        this._-2oO = new _-5Cl(this._-0Aj, this, this._-44a.container);
                    };
                    return (this._-2oO);
                case this._-3py:
                    if (this._-8e == null)
                    {
                        this._-8e = new _-1u5(this._-0Aj, this, this._-44a.container);
                    };
                    return (this._-8e);
                default:
                    return (null);
            };
        }
        private function _-2fm(_arg1:WindowEvent):void
        {
            if ((((_arg1 == null)) || ((_arg1.window == null))))
            {
                return;
            };
            this._-1Ak(_arg1.window.name);
        }
        public function update():void
        {
            if ((((this._-0xv == null)) || (!(this._-0xv.visible))))
            {
                return;
            };
            if (this._-1M6 == null)
            {
                return;
            };
            this._-1M6.update();
        }
        public function createWindow(_arg1:String):IWindow
        {
            if ((((this._-U- == null)) || ((this._assets == null))))
            {
                return (null);
            };
            var k:_-243 = (this._assets.getAssetByName(_arg1) as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return (null);
            };
            return (this._-U-.buildFromXML((k.content as XML)));
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-0xv.visible = false;
        }
        private function _-2ik(_arg1:WindowMouseEvent):void
        {
            if (this._-2U1 != null)
            {
                this._-2U1._-357();
            };
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-23v

package _-1FI
{
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0hd._-yb;
    import _-0Ie.WindowEvent;

    public class _-23v 
    {

        private var _-1-u:_-2lC;
        private var _-Vp:Boolean;
        private var _-1Rt:int;

        public function _-23v(_arg1:_-2lC, _arg2:IWindow, _arg3:Boolean, _arg4:int)
        {
            this._-1-u = _arg1;
            this._-Vp = _arg3;
            this._-1Rt = _arg4;
            _arg2.procedure = this.onClick;
        }
        private function onClick(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (this._-Vp)
            {
                this._-1-u.connection.send(new _-yb(this._-1Rt));
            }
            else
            {
                this._-1-u.goToRoom(this._-1Rt);
            };
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-2lC

package _-1FI
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-2np._-1ZV;
    import _-1Jd._-51K;
    import _-4Wu._-4uR;
    import _-4GV._-0Uq;
    import _-mv._-54I;
    import _-2gz._-2UE;
    import _-0qO._-3Kp;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDHabboSoundManager;
    import com.sulake.iid.IIDHabboTracking;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-2ly._-11j;
    import _-1ae.IButtonWindow;
    import _-Ew.IWindowContainer;

    public class _-2lC extends _-Px implements _-0Dv 
    {

        private var _-U-:_-3Ts;
        private var _-0ud:_-4BJ;
        private var _-51u:_-1ZV;
        private var _-0pW:_-51K;
        private var _-3fD:_-4uR;
        private var _-2bJ:_-0Uq;
        private var _-42G:_-54I;
        private var _tracking:_-2UE;
        private var _-4HP:ModerationMessageHandler;
        private var _-2U1:IssueManager;
        private var _-28L:_-4My;
        private var _-0x4:WindowTracker;
        private var _-3es:_-3Kp;
        private var _-3Rl:int;

        public function _-2lC(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
            queueInterface(new IIDSessionDataManager(), this._-6P);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboNavigator(), this._-wL);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
            queueInterface(new IIDHabboTracking(), this._-4eW);
            this._-28L = new _-4My(this);
            this._-0x4 = new WindowTracker();
        }
        override public function dispose():void
        {
            if (this._-28L)
            {
                this._-28L.dispose();
                this._-28L = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-0pW)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-2bJ)
            {
                this._-2bJ.release(new IIDHabboNavigator());
                this._-2bJ = null;
            };
            if (this._-42G)
            {
                this._-42G.release(new IIDHabboSoundManager());
                this._-42G = null;
            };
            if (this._tracking != null)
            {
                this._tracking.release(new IIDHabboTracking());
                this._tracking = null;
            };
            this._-51u = null;
            super.dispose();
        }
        public function _-2VK(_arg1:int, _arg2:String):void
        {
            _-Nb.log(((("USER SELECTED: " + _arg1) + ", ") + _arg2));
            this._-28L._-2VK(_arg1, _arg2);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get _-0Aj():IssueManager
        {
            return (this._-2U1);
        }
        public function get connection():_-1ZV
        {
            return (this._-51u);
        }
        public function get _-1-3():_-4My
        {
            return (this._-28L);
        }
        public function get _-2Xo():_-3Kp
        {
            return (this._-3es);
        }
        public function get _-0XC():ModerationMessageHandler
        {
            return (this._-4HP);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function get _-10h():WindowTracker
        {
            return (this._-0x4);
        }
        public function get _-4F7():int
        {
            return (this._-3Rl);
        }
        public function get _-0Y():_-54I
        {
            return (this._-42G);
        }
        public function set _-2Xo(_arg1:_-3Kp):void
        {
            this._-3es = _arg1;
        }
        public function set _-4F7(_arg1:int):void
        {
            this._-3Rl = _arg1;
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-U- = (_arg2 as _-3Ts);
            this._-2U1 = new IssueManager(this);
        }
        private function _-w(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0ud = (_arg2 as _-4BJ);
            if (this._-0ud != null)
            {
                this._-51u = this._-0ud._-4gR(this._-1QP);
                if (this._-51u != null)
                {
                    this._-1QP(this._-51u);
                };
            };
        }
        private function _-1QP(_arg1:_-1ZV):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-51u = _arg1;
                this._-4HP = new ModerationMessageHandler(this);
            };
        }
        private function _-6P(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0pW = (_arg2 as _-51K);
        }
        private function _-1d3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-3fD = (_arg2 as _-4uR);
        }
        private function _-wL(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2bJ = _-0Uq(_arg2);
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-42G = (_arg2 as _-54I);
        }
        private function _-4eW(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._tracking = _-2UE(_arg2);
        }
        public function getXmlWindow(_arg1:String, _arg2:String="_xml", _arg3:int=1):IWindow
        {
            var k:_-2kE;
            var k:_-243;
            var k:IWindow;
            try
            {
                k = assets.getAssetByName((_arg1 + _arg2));
                k = _-243(k);
                k = this._-U-.buildFromXML(XML(k.content), _arg3);
            }
            catch(e:Error)
            {
            };
            return (k);
        }
        public function _-0DR(_arg1:String, _arg2:String):void
        {
            var k:String = this.configuration.getKey(_arg1);
            var k:String = (k + _arg2);
            var k:String = "housekeeping";
            _-11j.navigateToURL(k, k);
        }
        public function _-3IF(_arg1:Boolean, _arg2:IWindowContainer, _arg3:String):void
        {
            var k:IButtonWindow = IButtonWindow(_arg2.findChildByName(_arg3));
            if (!_arg1)
            {
                k.disable();
                k._-2QR = "No permission";
            };
        }
        public function goToRoom(_arg1:int):void
        {
            _-Nb.log(("MOD: GO TO ROOM: " + _arg1));
            this._-2bJ.goToPrivateRoom(_arg1);
        }
        function trackGoogle(_arg1:String, _arg2:int=-1):void
        {
            if (this._tracking != null)
            {
                this._tracking.trackGoogle("moderationManager", _arg1, _arg2);
            };
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-2lf

package _-1FI
{
    import _-1ae.IFrameWindow;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-2eW._-53L;
    import _-Ew.IWindow;
    import _-1Vw._-2YB;
    import _-1Vw._-0Ps;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class _-2lf implements _-1zZ, _-1mg 
    {

        private static var _-0ZG:Array = [];
        private static var _-28K:int = 200;

        private var _-1-u:_-2lC;
        private var _frame:IFrameWindow;
        private var _-3EB:IItemListWindow;
        private var _-4lu:int;
        private var _-sT:Array;
        private var _disposed:Boolean;
        private var _-1hC:IWindowContainer;
        private var _-345:Timer;
        private var _-1GW:Array;

        public function _-2lf(_arg1:_-2lC, _arg2:int)
        {
            this._-1GW = [];
            super();
            this._-1-u = _arg1;
            this._-4lu = _arg2;
        }
        public static function _-2AK(_arg1:int, _arg2:int):String
        {
            return (((_-3aw(_arg1) + ":") + _-3aw(_arg2)));
        }
        public static function _-3aw(_arg1:int):String
        {
            return ((((_arg1 < 10)) ? ("0" + _arg1) : ("" + _arg1)));
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function show():void
        {
            this._-1hC = IWindowContainer(this._-1-u.getXmlWindow("roomvisits_row"));
            this._-345 = new Timer(300, 1);
            this._-345.addEventListener(TimerEvent.TIMER, this._-2VZ);
            this._-1-u._-0XC._-3EL(this);
            this._-1-u.connection.send(new _-53L(this._-4lu));
            this._frame = IFrameWindow(this._-1-u.getXmlWindow("roomvisits_frame"));
            this._-3EB = IItemListWindow(this._frame.findChildByName("visits_list"));
            this._frame.procedure = this._-177;
            var k:IWindow = this._frame.findChildByTag("close");
            k.procedure = this._-4F9;
        }
        public function _-51X(_arg1:_-2YB):void
        {
            if (_arg1.userId != this._-4lu)
            {
                return;
            };
            if (this._disposed)
            {
                return;
            };
            this._-sT = _arg1.rooms;
            this._frame.caption = ("Room visits: " + _arg1.userName);
            this.populate();
            this._-2VZ(null);
            this._frame.visible = true;
            this._-1-u._-0XC._-3He(this);
        }
        public function getType():int
        {
            return (WindowTracker._-1oS);
        }
        public function getId():String
        {
            return (("" + this._-4lu));
        }
        public function _-44L():IFrameWindow
        {
            return (this._frame);
        }
        private function populate():void
        {
            var k:_-0Ps;
            var k:Boolean = true;
            for each (k in this._-sT)
            {
                this._-0u1(k, k);
                k = !(k);
            };
        }
        private function _-0u1(_arg1:_-0Ps, _arg2:Boolean):void
        {
            var k:IWindowContainer = this._-3Rg();
            var k:uint = ((_arg2) ? 4288861930 : 0xFFFFFFFF);
            k.color = k;
            var k:IWindow = k.findChildByName("room_name_txt");
            k.caption = _arg1.roomName;
            new _-4Ma(this._frame, this._-1-u, k, _arg1._-0MC, _arg1.roomId);
            k.color = k;
            var k:ITextWindow = ITextWindow(k.findChildByName("time_txt"));
            k.text = _-2AK(_arg1._-1k1, _arg1._-nz);
            var k:ITextWindow = ITextWindow(k.findChildByName("view_room_txt"));
            new _-23v(this._-1-u, k, _arg1._-0MC, _arg1.roomId);
            k.color = k;
            this._-474(k, this._-3EB);
        }
        private function _-474(_arg1:IWindowContainer, _arg2:IItemListWindow):void
        {
            _arg2.addListItem(_arg1);
            this._-1GW.push(_arg1);
        }
        private function _-3Rg():IWindowContainer
        {
            if (_-0ZG.length > 0)
            {
                return ((_-0ZG.pop() as IWindowContainer));
            };
            return (IWindowContainer(this._-1hC.clone()));
        }
        private function _-4Zl(_arg1:IWindowContainer):void
        {
            var k:IWindow;
            var k:IWindow;
            if (_-0ZG.length < _-28K)
            {
                k = _arg1.findChildByName("room_name_txt");
                k.procedure = null;
                k = _arg1.findChildByName("view_room_txt");
                k.procedure = null;
                _arg1.width = this._-1hC.width;
                _arg1.height = this._-1hC.height;
                _-0ZG.push(_arg1);
            }
            else
            {
                _arg1.dispose();
            };
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.dispose();
        }
        private function _-177(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!((_arg1.type == WindowEvent._-3K0))) || (!((_arg2 == this._frame)))))
            {
                return;
            };
            if (!this._-345.running)
            {
                this._-345.reset();
                this._-345.start();
            };
        }
        private function _-2VZ(_arg1:TimerEvent):void
        {
            var k:IWindowContainer = IWindowContainer(this._-3EB.parent);
            var k:IWindow = (k.getChildByName("scroller") as IWindow);
            var k = (this._-3EB._-2yI.height > this._-3EB.height);
            var k:int = 17;
            if (k.visible)
            {
                if (!k)
                {
                    k.visible = false;
                    this._-3EB.width = (this._-3EB.width + k);
                };
            }
            else
            {
                if (k)
                {
                    k.visible = true;
                    this._-3EB.width = (this._-3EB.width - k);
                };
            };
        }
        public function dispose():void
        {
            var k:IWindowContainer;
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-3EB != null)
            {
                this._-3EB._-3mI();
                this._-3EB.dispose();
                this._-3EB = null;
            };
            if (this._frame != null)
            {
                this._frame.destroy();
                this._frame = null;
            };
            this._-1-u = null;
            if (this._-345 != null)
            {
                this._-345.stop();
                this._-345.removeEventListener(TimerEvent.TIMER, this._-2VZ);
                this._-345 = null;
            };
            for each (k in this._-1GW)
            {
                this._-4Zl(k);
            };
            if (this._-1hC != null)
            {
                this._-1hC.dispose();
                this._-1hC = null;
            };
            this._-1GW = [];
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-2su

package _-1FI
{
    import _-18r.Map;
    import _-0qO._-4Uv;

    public class _-2su 
    {

        private var _-0Kq:int;
        private var _-3Jn:Map;
        private var _-0Ke:int;
        private var _-3m1:int = 0;
        private var _-2h1:String = "";
        private var _-5BG:int;
        private var _-F0:int = 0;
        private var _-0do:int = 0;
        private var _-1iJ:_-4Uv = null;
        private var _-2Kc:_-4Uv = null;

        public function _-2su(_arg1:int, _arg2:_-4Uv)
        {
            this._-0Kq = _arg1;
            this._-3Jn = new Map();
            this._-0Ke = _arg2.state;
            this._-3m1 = _arg2._-YM;
            this._-2h1 = _arg2._-59X;
            this._-5BG = _arg2._-2NX;
            this._-5d(_arg2);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get issues():Array
        {
            return (this._-3Jn._-0hn());
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-YM():int
        {
            return (this._-3m1);
        }
        public function get _-3cv():String
        {
            return (this._-2h1);
        }
        public function _-0Wo(_arg1:_-4Uv):void
        {
            this._-3ZE(_arg1._-43T);
            this._-5d(_arg1);
        }
        private function _-5d(_arg1:_-4Uv):void
        {
            this._-3Jn.add(_arg1._-43T, _arg1);
            this._-0do = _arg1.issueAgeInMilliseconds;
            if (((!((_arg1.message == null))) && (!((_arg1.message == "")))))
            {
                this._-F0++;
            };
            if ((((this._-1iJ == null)) || ((_arg1.issueAgeInMilliseconds > this._-1iJ.issueAgeInMilliseconds))))
            {
                this._-1iJ = _arg1;
            };
            if ((((this._-2Kc == null)) || ((_arg1.priority > this._-2Kc.priority))))
            {
                this._-2Kc = _arg1;
            };
        }
        public function _-3ZE(_arg1:int):_-4Uv
        {
            var k:_-4Uv = (this._-3Jn.remove(_arg1) as _-4Uv);
            if (k != null)
            {
                if (((!((k.message == null))) && (!((k.message == "")))))
                {
                    this._-F0--;
                };
                if (this._-1iJ == k)
                {
                    this._-1iJ = null;
                };
                if (this._-2Kc == k)
                {
                    this._-2Kc = null;
                };
            };
            return (k);
        }
        public function get highestPriority():int
        {
            if (this._-2Kc == null)
            {
                this._-1Xp();
            };
            if (this._-2Kc != null)
            {
                return (this._-2Kc.priority);
            };
            return (0);
        }
        public function _-1Xp():_-4Uv
        {
            var k:_-4Uv;
            var k:int;
            var k:_-4Uv = this._-2Kc;
            if (k == null)
            {
                if ((((this._-3Jn == null)) || ((this._-3Jn.length < 1))))
                {
                    return (null);
                };
                k = this._-3Jn.getWithIndex(0);
                k = 1;
                while (k < this._-3Jn.length)
                {
                    k = this._-3Jn.getWithIndex(k);
                    if (((!((k == null))) && ((k.priority > k.priority))))
                    {
                    };
                    k++;
                };
                this._-2Kc = k;
            };
            return (k);
        }
        public function _-4KS():int
        {
            if (this._-3Jn == null)
            {
                return (0);
            };
            return (this._-3Jn.length);
        }
        public function _-38i():Array
        {
            if (this._-3Jn == null)
            {
                return ([]);
            };
            return (this._-3Jn._-18C());
        }
        public function get _-2NX():int
        {
            return (this._-5BG);
        }
        public function _-01H():int
        {
            return (this._-F0);
        }
        public function get issueAgeInMilliseconds():int
        {
            return (this._-0do);
        }
        public function _-kl(_arg1:int):String
        {
            var k:_-4Uv;
            var k:_-4Uv = this._-1iJ;
            if (k == null)
            {
                for each (k in this._-3Jn)
                {
                    if ((((k == null)) || ((k.issueAgeInMilliseconds > k.issueAgeInMilliseconds))))
                    {
                    };
                };
                this._-1iJ = k;
            };
            if (k != null)
            {
                return (k._-kl(_arg1));
            };
            return ("");
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-2xq

package _-1FI
{
    import _-Ew.IWindowContainer;

    public interface _-2xq 
    {

        function set visible(_arg1:Boolean):void;
        function update():void;
        function get view():IWindowContainer;

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-2yY

package _-1FI
{
    import _-1Vw._-1Q1;

    public interface _-2yY 
    {

        function _-3y(_arg1:_-1Q1):void;

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-32R

package _-1FI
{
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;

    public class _-32R implements _-2xq 
    {

        private var _-2U1:IssueManager;
        private var _-3xv:_-1W;
        private var _-0xv:IWindowContainer;
        private var _-1Hw:_-3wK;

        public function _-32R(_arg1:IssueManager, _arg2:_-1W, _arg3:IWindowContainer)
        {
            this._-2U1 = _arg1;
            this._-3xv = _arg2;
            this._-0xv = (this._-3xv.createWindow("my_issues_xml") as IWindowContainer);
            _arg3.addChild(this._-0xv);
            var k:IItemListWindow = (this._-0xv.findChildByName("issue_list") as IItemListWindow);
            this._-1Hw = new _-3wK(_arg1, _arg2, k, "my_issues_list_item_xml");
            var k:IWindow = this._-0xv.findChildByName("release_all");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-32L);
            };
        }
        public function get view():IWindowContainer
        {
            return (this._-0xv);
        }
        public function set visible(_arg1:Boolean):void
        {
            this._-0xv.visible = _arg1;
        }
        public function update():void
        {
            var k:Array = this._-2U1._-3OR(IssueManager._-Yc);
            this._-1Hw.update(k);
        }
        private function _-32L(_arg1:WindowMouseEvent):void
        {
            if (this._-2U1 == null)
            {
                return;
            };
            this._-2U1._-0Zw();
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-3wK

package _-1FI
{
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-Ew.IWindow;
    import _-0qO._-4Uv;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import flash.utils.getTimer;
    import _-0Ie.WindowMouseEvent;

    public class _-3wK 
    {

        private var _-2U1:IssueManager;
        private var _-3xv:_-1W;
        private var _-3EB:IItemListWindow;
        private var _-1sU:String;
        private var _-vk:IWindowContainer;
        private var _-3dw:BitmapData;
        private var _-1fL:BitmapData;
        private var _-4ZF:int = 200;

        public function _-3wK(_arg1:IssueManager, _arg2:_-1W, _arg3:IItemListWindow, _arg4:String)
        {
            this._-2U1 = _arg1;
            this._-3xv = _arg2;
            this._-3EB = _arg3;
            this._-1sU = _arg4;
            this._-vk = (this._-3xv.createWindow(_arg4) as IWindowContainer);
            this._-4ZF = _arg1._-0b-;
        }
        public function update(_arg1:Array):void
        {
            var k:int;
            var k:IWindowContainer;
            var k:IWindow;
            var k:_-2su;
            var k:IWindow;
            var k:_-4Uv;
            var k:IBitmapWrapperWindow;
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            if (this._-3EB == null)
            {
                return;
            };
            if ((((_arg1 == null)) || ((_arg1.length == 0))))
            {
                this._-3EB._-Ls();
                return;
            };
            _arg1.sortOn(["highestPriority", "issueAgeInMilliseconds"], [(Array.DESCENDING | Array.NUMERIC), Array.NUMERIC]);
            var k:int = this._-3EB.numListItems;
            var k:int = _arg1.length;
            if (k > this._-4ZF)
            {
                k = this._-4ZF;
            };
            if (k < k)
            {
                k = 0;
                while (k < (k - k))
                {
                    k = (this._-vk.clone() as IWindowContainer);
                    this._-3EB.addListItem(k);
                    k++;
                };
            }
            else
            {
                if (k > k)
                {
                    k = 0;
                    while (k < (k - k))
                    {
                        k = this._-3EB._-3yK(0);
                        k.dispose();
                        k++;
                    };
                };
            };
            k = 1;
            var k:int = getTimer();
            for each (k in _arg1)
            {
                if (k > this._-4ZF) break;
                if ((((k == null)) || ((this._-vk == null))))
                {
                    return;
                };
                k = (this._-3EB.getListItemAt((k - 1)) as IWindowContainer);
                if (k == null)
                {
                    return;
                };
                k.width = this._-3EB.width;
                var _temp1 = k;
                var _temp2 = k;
                k = (k + 1);
                _temp1.color = (((_temp2 % 2)) ? 4289914618 : 0xFFFFFFFF);
                k = k.findChildByName("score");
                if (k != null)
                {
                    k.caption = k.highestPriority.toString();
                };
                k = k._-1Xp();
                if (k == null)
                {
                    return;
                };
                k = k.findChildByName("source");
                if (k != null)
                {
                    k.caption = _-1u9._-2SD(k._-2d-);
                };
                k = k.findChildByName("category");
                if (k != null)
                {
                    k.caption = _-1u9._-WS(k._-2VR);
                };
                k = k.findChildByName("target_name");
                if (k != null)
                {
                    if (k._-2NX != 0)
                    {
                        k.caption = k._-0ij;
                    }
                    else
                    {
                        k.caption = k.roomName;
                    };
                };
                k = (k.findChildByName("target_icon") as IBitmapWrapperWindow);
                if (k != null)
                {
                    k = ((k._-2NX) ? "user_icon_png" : "room_icon_png");
                    k = (this._-3xv.assets.getAssetByName(k) as BitmapDataAsset);
                    if (((!((k == null))) && (!(((k.content as BitmapData) == null)))))
                    {
                        k = (k.content as BitmapData);
                        if (k != null)
                        {
                            k.bitmap = k.clone();
                        };
                    };
                };
                k = k.findChildByName("time");
                if (k != null)
                {
                    k.caption = k._-kl(k);
                };
                k = k.findChildByName("msgs");
                if (k != null)
                {
                    k.caption = k._-01H().toString();
                };
                k = k.findChildByName("picker");
                if (k != null)
                {
                    k.caption = k._-3cv;
                };
                k = k.findChildByName("pick_button");
                if (k != null)
                {
                    k.id = k.id;
                    k.removeEventListener(WindowMouseEvent._-90, this._-4gs);
                    k.addEventListener(WindowMouseEvent._-90, this._-4gs);
                };
                k = k.findChildByName("handle_button");
                if (k != null)
                {
                    k.id = k.id;
                    k.removeEventListener(WindowMouseEvent._-90, this._-18b);
                    k.addEventListener(WindowMouseEvent._-90, this._-18b);
                };
                k = k.findChildByName("release_button");
                if (k != null)
                {
                    k.id = k.id;
                    k.removeEventListener(WindowMouseEvent._-90, this._-2V4);
                    k.addEventListener(WindowMouseEvent._-90, this._-2V4);
                };
            };
        }
        private function _-4gs(_arg1:WindowMouseEvent):void
        {
            if (this._-2U1 == null)
            {
                return;
            };
            this._-2U1._-MP(_arg1.window.id);
        }
        private function _-18b(_arg1:WindowMouseEvent):void
        {
            if (this._-3xv == null)
            {
                return;
            };
            this._-2U1._-4o0(_arg1.window.id);
        }
        private function _-2V4(_arg1:WindowMouseEvent):void
        {
            if (this._-2U1 == null)
            {
                return;
            };
            this._-2U1._-20d(_arg1.window.id);
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-4Ma

package _-1FI
{
    import _-1ae.IFrameWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-3Bn._-1Ii;

    public class _-4Ma 
    {

        private var _frame:IFrameWindow;
        private var _-1-u:_-2lC;
        private var _-Vp:Boolean;
        private var _-1Rt:int;

        public function _-4Ma(_arg1:IFrameWindow, _arg2:_-2lC, _arg3:IWindow, _arg4:Boolean, _arg5:int)
        {
            this._frame = _arg1;
            this._-1-u = _arg2;
            this._-Vp = _arg4;
            this._-1Rt = _arg5;
            _arg3.procedure = this.onClick;
        }
        private function onClick(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (this._-Vp)
            {
                this._-1-u.windowManager.alert("Alert", "Room tool is not available for public spaces. Public spaces can be moderated using in-room chat moderation commands.", 0, this._-498);
            }
            else
            {
                this._-1-u._-10h.show(new RoomToolCtrl(this._-1-u, this._-1Rt), this._frame, false, false, true);
            };
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-4My

package _-1FI
{
    import _-1ae.IFrameWindow;
    import _-1ae.IButtonWindow;
    import _-Co._-4SS;
    import _-55m._-3i-;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-2eW._-3j0;
    import _-1B-.*;

    public class _-4My implements _-1zZ 
    {

        private var _-1-u:_-2lC;
        private var _frame:IFrameWindow;
        private var _-4lu:int;
        private var _-415:Boolean;
        private var _-1Rt:int;
        private var _disposed:Boolean = false;

        public function _-4My(_arg1:_-2lC)
        {
            this._-1-u = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-1-u = null;
                if (this._frame)
                {
                    this._frame.dispose();
                    this._frame = null;
                };
            };
        }
        public function _-2VK(_arg1:int, _arg2:String):void
        {
            if (this._frame == null)
            {
                return;
            };
            this._-4lu = _arg1;
            var k:IButtonWindow = IButtonWindow(this._frame.findChildByName("userinfo_but"));
            k.enable();
            k.caption = ("User info: " + _arg2);
        }
        public function _-4eT(_arg1:_-4SS):void
        {
            if ((((this._frame == null)) || ((_arg1 == null))))
            {
                return;
            };
            this._frame.findChildByName("room_tool_but").enable();
            this._-3Ls();
            this._-415 = true;
            this._-1Rt = _arg1._-1At;
        }
        public function _-08M(_arg1:_-3i-):void
        {
            if ((((this._frame == null)) || ((_arg1 == null))))
            {
                return;
            };
            this._frame.findChildByName("room_tool_but").disable();
            this._-3Ls();
            this._-415 = false;
            this._-1Rt = _arg1._-4Lc;
        }
        public function _-15j():void
        {
            if (this._frame == null)
            {
                return;
            };
            this._frame.findChildByName("room_tool_but").disable();
            this._frame.findChildByName("chatlog_but").disable();
        }
        public function show():void
        {
            if (this._frame == null)
            {
                this._frame = IFrameWindow(this._-1-u.getXmlWindow("start_panel"));
                this._frame.findChildByName("room_tool_but").procedure = this._-4ka;
                this._frame.findChildByName("chatlog_but").procedure = this._-1W9;
                this._frame.findChildByName("ticket_queue_but").procedure = this._-RC;
                this._frame.findChildByName("userinfo_but").procedure = this.each ;
                this._frame.findChildByName("userinfo_but").disable();
                this._frame.findChildByName("room_tool_but").disable();
                this._frame.findChildByName("chatlog_but").disable();
                this._-1-u._-3IF(this._-1-u._-2Xo._-fb, this._frame, "ticket_queue_but");
                this._-1-u._-3IF(this._-1-u._-2Xo._-4Or, this._frame, "chatlog_but");
            };
            this._frame.visible = true;
        }
        private function _-3Ls():void
        {
            if (this._-1-u._-2Xo._-4Or)
            {
                this._frame.findChildByName("chatlog_but").enable();
            };
        }
        private function _-4ka(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1-u._-10h.show(new RoomToolCtrl(this._-1-u, this._-1Rt), this._frame, false, false, true);
        }
        private function _-1W9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1-u._-10h.show(new ChatlogCtrl(new _-3j0(((this._-415) ? 0 : 1), this._-1Rt), this._-1-u, WindowTracker._-1Sz, this._-1Rt), this._frame, false, false, true);
        }
        private function each (_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1-u._-10h.show(new _-0x9(this._-1-u, this._-4lu), this._frame, false, false, true);
        }
        private function _-RC(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1-u._-0Aj.init();
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-4Sq

package _-1FI
{
    import _-1B-.*;

    public interface _-4Sq extends _-1zZ 
    {

        function _-3SW():void;

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-55a

package _-1FI
{
    import _-1ae.IFrameWindow;
    import _-0qO._-4Uv;
    import _-1Vw._-1Q1;
    import _-Ew.IWindowContainer;
    import _-2eW._-3e1;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-2eW._-4wP;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-55a implements _-1zZ, _-2yY 
    {

        private static const _-2JS:int = 60;
        private static const _-1hn:int = (60 * 60);//3600
        private static const _-3vP:int = ((60 * 60) * 24);//86400
        private static const _-43k:int = (((60 * 60) * 24) * 365);//31536000

        private var _-2Qr:IFrameWindow;
        private var _-1-u:_-2lC;
        private var _-4lu:int;
        private var _-dK:String;
        private var _-eS:_-4Uv;
        private var _-0qE:_-1Q1;
        private var _-Hd:IWindowContainer;
        private var _-3h7:Boolean;
        private var _disposed:Boolean;
        private var _-Lu:_-56;

        public function _-55a(_arg1:IFrameWindow, _arg2:_-2lC, _arg3:String, _arg4:_-4Uv, _arg5:_-56=null, _arg6:Boolean=false)
        {
            this._-2Qr = _arg1;
            this._-1-u = _arg2;
            this._-dK = _arg3;
            this._-eS = _arg4;
            this._-3h7 = _arg6;
            this._-Lu = _arg5;
        }
        public static function _-500(_arg1:int):String
        {
            if (_arg1 < (2 * _-2JS))
            {
                return ((_arg1 + " secs ago"));
            };
            if (_arg1 < (2 * _-1hn))
            {
                return ((Math.round((_arg1 / _-2JS)) + " mins ago"));
            };
            if (_arg1 < (2 * _-3vP))
            {
                return ((Math.round((_arg1 / _-1hn)) + " hours ago"));
            };
            if (_arg1 < (2 * _-43k))
            {
                return ((Math.round((_arg1 / _-3vP)) + " days ago"));
            };
            return ((Math.round((_arg1 / _-43k)) + " years ago"));
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function load(_arg1:IWindowContainer, _arg2:int):void
        {
            this._-Hd = _arg1;
            this._-4lu = _arg2;
            this._-0qE = null;
            this.refresh();
            this._-1-u._-0XC._-6Q(this);
            this._-1-u.connection.send(new _-3e1(_arg2));
        }
        public function _-3y(_arg1:_-1Q1):void
        {
            if (_arg1.userId != this._-4lu)
            {
                return;
            };
            this._-0qE = _arg1;
            this.refresh();
        }
        public function refresh():void
        {
            if (this._-Hd.disposed)
            {
                return;
            };
            var k:IWindowContainer = this.prepare();
            if (this._-0qE == null)
            {
                k.findChildByName("fields").visible = false;
                k.findChildByName("loading_txt").visible = true;
                return;
            };
            k.findChildByName("fields").visible = true;
            k.findChildByName("loading_txt").visible = false;
            this._-4Xm(k, "name_txt", this._-0qE.userName);
            this._-4Xm(k, "cfh_count_txt", ("" + this._-0qE._-1vT));
            this._-36V(k, "abusive_cfh_count_txt", this._-0qE._-0r1, false);
            this._-36V(k, "caution_count_txt", this._-0qE._-4j1, true);
            this._-36V(k, "ban_count_txt", this._-0qE._-5E5, true);
            this._-4Xm(k, "registered_txt", _-500((this._-0qE._-1aJ * 60)));
            this._-4Xm(k, "last_login_txt", _-500((this._-0qE._-sm * 60)));
            this._-4Xm(k, "online_txt", ((this._-0qE.online) ? "Yes" : "No"));
            this._-4Xm(k, "last_purchase_txt", this._-0qE._-1FV);
            this._-4Xm(k, "email_address_txt", this._-0qE._-1Mo);
            this._-4Xm(k, "id_bans_txt", ("" + this._-0qE._-gV));
            _-Nb.log(((((("USER: " + this._-0qE.userName) + ", ") + this._-0qE._-5E5) + ", ") + this._-0qE._-4j1));
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-1-u._-0XC._-3aK(this);
            this._-2Qr = null;
            this._-1-u = null;
            this._-0qE = null;
            this._-Hd = null;
        }
        private function prepare():IWindowContainer
        {
            var k:IWindowContainer = IWindowContainer(this._-Hd.findChildByName("user_info"));
            if (k == null)
            {
                k = IWindowContainer(this._-1-u.getXmlWindow("user_info"));
                this._-Hd.addChild(k);
                this._-1-u._-3IF(this._-1-u._-2Xo._-4Or, k, "chatlog_but");
                this._-1-u._-3IF(this._-1-u._-2Xo._-0cB, k, "message_but");
                this._-1-u._-3IF(((((this._-1-u._-2Xo._-0cB) || (this._-1-u._-2Xo._-0kr))) || (this._-1-u._-2Xo._-27E)), k, "modaction_but");
            };
            k.findChildByName("chatlog_but").procedure = this._-1W9;
            k.findChildByName("roomvisits_but").procedure = this._-0WN;
            k.findChildByName("habboinfotool_but").procedure = this._-1jW;
            k.findChildByName("message_but").procedure = this._-Aa;
            k.findChildByName("modaction_but").procedure = this._-OD;
            k.findChildByName("view_caution_count_txt").procedure = this._-3rI;
            k.findChildByName("view_ban_count_txt").procedure = this._-1-9;
            k.findChildByName("view_id_bans_txt").procedure = this._-1FC;
            return (k);
        }
        private function _-36V(_arg1:IWindowContainer, _arg2:String, _arg3:int, _arg4:Boolean):void
        {
            var k:ITextWindow = ITextWindow(_arg1.findChildByName(_arg2));
            var k:ITextWindow = ITextWindow(_arg1.findChildByName(("view_" + _arg2)));
            if (k != null)
            {
                k.visible = (_arg3 > 0);
            };
            k.visible = (_arg3 > 0);
            k.text = ("" + _arg3);
        }
        private function _-4Xm(_arg1:IWindowContainer, _arg2:String, _arg3:String):void
        {
            var k:ITextWindow = ITextWindow(_arg1.findChildByName(_arg2));
            k.text = _arg3;
        }
        private function _-1W9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-56F("chatLog");
            this._-1-u._-10h.show(new ChatlogCtrl(new _-4wP(this._-0qE.userId), this._-1-u, WindowTracker._-2BJ, this._-0qE.userId), this._-2Qr, this._-3h7, false, true);
        }
        private function _-0WN(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1-u._-10h.show(new _-2lf(this._-1-u, this._-0qE.userId), this._-2Qr, this._-3h7, false, true);
        }
        private function _-1jW(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-56F("openInfoTool");
            this._-1-u._-0DR("habboinfotool.url", this._-0qE.userName);
        }
        private function _-Aa(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-56F("openSendMessage");
            this._-1-u._-10h.show(new SendMsgsCtrl(this._-1-u, this._-0qE.userId, this._-0qE.userName, this._-dK, this._-eS), this._-2Qr, this._-3h7, false, true);
        }
        private function _-OD(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-56F("openModAction");
            this._-1-u._-10h.show(new ModActionCtrl(this._-1-u, this._-0qE.userId, this._-0qE.userName, this._-dK, this._-eS, this), this._-2Qr, this._-3h7, false, true);
        }
        private function _-3rI(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-56F("viewCautions");
            this._-mc();
        }
        private function _-1-9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-56F("viewBans");
            this._-mc();
        }
        private function _-1FC(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-56F("viewIdentityInfo");
            this._-4nt();
        }
        private function _-mc():void
        {
            this._-1-u._-0DR("moderatoractionlog.url", this._-0qE.userName);
        }
        private function _-4nt():void
        {
            this._-1-u._-0DR("identityinformationtool.url", ("" + this._-0qE._-4zO));
        }
        function _-56F(_arg1:String):void
        {
            if ((((this._-Lu == null)) || (this._-Lu.disposed)))
            {
                this._-1-u.trackGoogle(("userInfo_" + _arg1));
            }
            else
            {
                if (this == this._-Lu._-0mJ)
                {
                    this._-Lu._-56F(("callerUserInfo_" + _arg1));
                }
                else
                {
                    if (this == this._-Lu._-0uU)
                    {
                        this._-Lu._-56F(("reportedUserInfo_" + _arg1));
                    }
                    else
                    {
                        this._-Lu._-56F(("userInfo_" + _arg1));
                    };
                };
            };
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-56

package _-1FI
{
    import _-0qO._-4Uv;
    import _-1ae.IFrameWindow;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindowContainer;
    import _-1ae.ICheckBoxWindow;
    import flash.utils.getTimer;
    import _-1ae.ITextWindow;
    import _-2eW._-2ku;

    public class _-56 implements _-1mg, _-4Sq 
    {

        private var _-502:_-2lC;
        private var _-1FM:_-2su;
        private var _-2m8:_-4Uv;
        private var _-0xv:IFrameWindow;
        private var _-26Y:_-55a;
        private var _-1ro:_-55a;
        private var _disposed:Boolean;
        private var _-1T1:int = 0;

        public function _-56(_arg1:_-2lC, _arg2:_-2su)
        {
            this._-502 = _arg1;
            this._-1FM = _arg2;
        }
        public function getType():int
        {
            return (WindowTracker._-2ZA);
        }
        public function getId():String
        {
            return (("" + this._-1FM.id));
        }
        public function _-44L():IFrameWindow
        {
            return (this._-0xv);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-26Y != null)
            {
                this._-26Y.dispose();
                this._-26Y = null;
            };
            if (this._-1ro != null)
            {
                this._-1ro.dispose();
                this._-1ro = null;
            };
            this._-502 = null;
            this._-1FM = null;
        }
        public function show():void
        {
            this._-4j();
        }
        private function _-4j():void
        {
            var _local5:IItemListWindow;
            var _local6:IWindow;
            if (this._-0xv != null)
            {
                return;
            };
            if ((((this._-502.windowManager == null)) || ((this._-502.assets == null))))
            {
                return;
            };
            var k:_-243 = (this._-502.assets.getAssetByName("issue_handler_xml") as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return;
            };
            this._-0xv = (this._-502.windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            var k:IWindow = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            k = this._-0xv.findChildByName("issue_cont");
            if (k != null)
            {
                k.addEventListener(WindowEvent._-3K0, this._-3Sa);
            };
            this._-4Hc("close_useless", this._-1Te);
            this._-4Hc("close_abusive", this._-3ZO);
            this._-4Hc("close_resolved", this._-4Up);
            this._-4Hc("release", this._-2V4);
            this._-4Hc("show_chatlog", this._-cv);
            this._-502._-3IF(this._-502._-2Xo._-4Or, this._-0xv, "show_chatlog");
            k = this._-0xv.findChildByName("move_to_player_support");
            if (k != null)
            {
                k.disable();
            };
            this._-2m8 = this._-1FM._-1Xp();
            this._-26Y = new _-55a(this._-0xv, this._-502, this._-2m8.message, this._-2m8, this);
            this._-1ro = new _-55a(this._-0xv, this._-502, this._-2m8.message, this._-2m8, this);
            this._-26Y.load(IWindowContainer(this._-0xv.findChildByName("caller_user_info")), this._-2m8._-1w4);
            this._-549();
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName("reported_user_info"));
            if (this._-1FM._-2NX > 0)
            {
                this._-1ro.load(k, this._-1FM._-2NX);
            }
            else
            {
                _local5 = IItemListWindow(this._-0xv.findChildByName("issue_cont"));
                _local6 = this._-0xv.findChildByName("reported_user_info_caption");
                _local5._-4sE(_local6);
                _local5._-4sE(k);
            };
            var k:ICheckBoxWindow = (this._-0xv.findChildByName("handle_next_checkbox") as ICheckBoxWindow);
            if (k != null)
            {
                k.select();
            };
            _-Nb.log(("HARASSER: " + this._-1FM._-2NX));
            this._-JM();
            this._-3Lb();
        }
        private function _-549():void
        {
            this._-0xv.findChildByName("show_chatlog").caption = (_-1u9._-0Dh(this._-2m8._-2d-) + "Chat Log");
        }
        private function _-3Sa(_arg1:WindowEvent):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:IItemListWindow = (_arg1.window as IItemListWindow);
            if (k == null)
            {
                return;
            };
            var k:IItemListWindow = (k.getListItemByName("issues_item_list") as IItemListWindow);
            var k:IItemListWindow = (k.getListItemByName("msg_item_list") as IItemListWindow);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            var k:int = ((((k.height - k._-2yI.height) + k.height) + k.height) * 0.5);
            k.autoArrangeItems = false;
            k.height = k;
            k.height = k;
            k.autoArrangeItems = true;
        }
        private function _-JM():void
        {
            var k:IWindowContainer;
            var k:_-4Uv;
            var k:_-243;
            var k:IWindowContainer;
            var k:IWindow;
            if (this._-0xv == null)
            {
                return;
            };
            var k:IItemListWindow = (this._-0xv.findChildByName("issues_item_list") as IItemListWindow);
            if (k == null)
            {
                return;
            };
            var k:Array = this._-1FM.issues;
            var k:int;
            var k:int = k.numListItems;
            var k:int = k.length;
            if (k < k)
            {
                k = (this._-502.assets.getAssetByName("issue_handler_issue_info_xml") as _-243);
                if ((((k == null)) || ((k.content == null))))
                {
                    return;
                };
                k = (this._-502.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
                if (k == null)
                {
                    return;
                };
                k.addListItem(k);
                k = 1;
                while (k < (k - k))
                {
                    k = (k.clone() as IWindowContainer);
                    if (k == null)
                    {
                        return;
                    };
                    k.addListItem(k);
                    k++;
                };
            }
            else
            {
                if (k > k)
                {
                    k = 0;
                    while (k < (k - k))
                    {
                        k = k._-3yK(0);
                        k.dispose();
                        k++;
                    };
                };
            };
            var k:int = getTimer();
            k = 0;
            for each (k in k)
            {
                k = (k.getListItemAt(k) as IWindowContainer);
                if (k == null)
                {
                    return;
                };
                var _temp1 = k;
                var _temp2 = k;
                k = (k + 1);
                _temp1.background = ((_temp2 % 2) == 0);
                k.id = k._-43T;
                k.removeEventListener(WindowMouseEvent._-90, this._-3WM);
                k.addEventListener(WindowMouseEvent._-90, this._-3WM);
                this._-50j(k.findChildByName("reporter"), k._-0eK);
                this._-50j(k.findChildByName("type"), _-1u9._-2SD(k._-2d-));
                this._-50j(k.findChildByName("category"), _-1u9._-WS(k._-2VR));
                this._-50j(k.findChildByName("room"), k.roomName);
                this._-50j(k.findChildByName("time_open"), k._-kl(k));
            };
        }
        private function _-3Lb():void
        {
            var k:ITextWindow;
            var k:_-4Uv;
            var k:_-243;
            var k:ITextWindow;
            var k:IWindow;
            if (this._-0xv == null)
            {
                return;
            };
            var k:IItemListWindow = (this._-0xv.findChildByName("msg_item_list") as IItemListWindow);
            if (k == null)
            {
                return;
            };
            var k:Array = this._-1FM.issues;
            var k:int;
            var k:int = k.numListItems;
            var k:int = k.length;
            if (k < k)
            {
                k = (this._-502.assets.getAssetByName("issue_handler_message_list_item_xml") as _-243);
                if ((((k == null)) || ((k.content == null))))
                {
                    return;
                };
                k = (this._-502.windowManager.buildFromXML((k.content as XML)) as ITextWindow);
                if (k == null)
                {
                    return;
                };
                k.addListItem(k);
                k = 1;
                while (k < (k - k))
                {
                    k = (k.clone() as ITextWindow);
                    if (k == null)
                    {
                        return;
                    };
                    k.addListItem(k);
                    k++;
                };
            }
            else
            {
                if (k > k)
                {
                    k = 0;
                    while (k < (k - k))
                    {
                        k = k._-3yK(0);
                        k.dispose();
                        k++;
                    };
                };
            };
            k = 0;
            for each (k in k)
            {
                k = (k.getListItemAt(k) as ITextWindow);
                if (k == null)
                {
                    return;
                };
                k.width = k.width;
                var _temp1 = k;
                var _temp2 = k;
                k = (k + 1);
                _temp1.background = ((_temp2 % 2) == 0);
                k.caption = ((k._-0eK + ": ") + k.message);
                k.height = (k.textHeight + 10);
            };
        }
        private function _-50j(_arg1:IWindow, _arg2:String):void
        {
            if (_arg1 != null)
            {
                _arg1.caption = _arg2;
            };
        }
        private function _-4Hc(_arg1:String, _arg2:Function):void
        {
            this._-0xv.findChildByName(_arg1).addEventListener(WindowMouseEvent._-90, _arg2);
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            if (((((!((this._-502 == null))) && (!((this._-502._-0Aj == null))))) && (!((this._-1FM == null)))))
            {
                this._-502._-0Aj._-2HL(this._-1FM.id);
                this._-56F("closeWindow");
            };
            this.dispose();
        }
        private function _-1Te(_arg1:WindowMouseEvent):void
        {
            _-Nb.log("Close useless clicked");
            this._-56F("closeUseless");
            this._-502.trackGoogle("actionCountUseless", this._-1T1);
            this._-502._-0Aj._-2YJ(this._-1FM.id, IssueManager._-4wq);
            this._-y9();
            this.dispose();
        }
        private function _-3ZO(_arg1:WindowMouseEvent):void
        {
            _-Nb.log("Close abusive clicked");
            this._-56F("closeAbusive");
            this._-502.trackGoogle("actionCountAbusive", this._-1T1);
            this._-502._-0Aj._-2YJ(this._-1FM.id, IssueManager._-1N0);
            this._-y9();
            this.dispose();
        }
        private function _-4Up(_arg1:WindowMouseEvent):void
        {
            _-Nb.log("Close resolved clicked");
            this._-56F("closeResolved");
            this._-502.trackGoogle("actionCountResolved", this._-1T1);
            this._-502._-0Aj._-2YJ(this._-1FM.id, IssueManager._-4zf);
            this._-y9();
            this.dispose();
        }
        private function _-2V4(_arg1:WindowMouseEvent):void
        {
            _-Nb.log("Release clicked");
            this._-56F("release");
            this._-502._-0Aj._-20d(this._-1FM.id);
            this._-y9();
            this.dispose();
        }
        private function _-cv(_arg1:WindowMouseEvent):void
        {
            _-Nb.log("Show chatlog clicked");
            this._-56F("showChatlog");
            this._-502._-10h.show(new ChatlogCtrl(new _-2ku(this._-2m8._-43T), this._-502, WindowTracker._-2yB, this._-2m8._-43T, this._-2m8), this._-0xv, false, false, true);
        }
        private function _-3WM(_arg1:WindowMouseEvent):void
        {
            var k:_-4Uv;
            var k:int;
            for each (k in this._-1FM.issues)
            {
                if (k._-43T == _arg1.window.id)
                {
                    this._-2m8 = k;
                    k = k._-2NX;
                    if (k != 0)
                    {
                        if (this._-26Y != null)
                        {
                            this._-26Y.dispose();
                        };
                        this._-26Y = new _-55a(this._-0xv, this._-502, k.message, k, this);
                        this._-26Y.load(IWindowContainer(this._-0xv.findChildByName("caller_user_info")), k);
                    };
                    this._-549();
                    break;
                };
            };
        }
        public function _-3SW():void
        {
            this._-JM();
            this._-3Lb();
        }
        private function _-y9():void
        {
            if ((((((this._-0xv == null)) || ((this._-502 == null)))) || ((this._-502._-0Aj == null))))
            {
                return;
            };
            var k:ICheckBoxWindow = (this._-0xv.findChildByName("handle_next_checkbox") as ICheckBoxWindow);
            if (((!((k == null))) && (k._-vX)))
            {
                this._-502._-0Aj._-357();
            };
        }
        function get _-0mJ():_-55a
        {
            return (this._-26Y);
        }
        function get _-0uU():_-55a
        {
            return (this._-1ro);
        }
        function _-56F(_arg1:String):void
        {
            if ((((this._-502 == null)) || (this._-502.disposed)))
            {
                return;
            };
            this._-1T1++;
            this._-502.trackGoogle(("issueHandler_" + _arg1));
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-5Cl

package _-1FI
{
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;

    public class _-5Cl implements _-2xq 
    {

        private var _-2U1:IssueManager;
        private var _-3xv:_-1W;
        private var _-0xv:IWindowContainer;
        private var _-1Hw:_-3wK;

        public function _-5Cl(_arg1:IssueManager, _arg2:_-1W, _arg3:IWindowContainer)
        {
            this._-2U1 = _arg1;
            this._-3xv = _arg2;
            this._-0xv = (this._-3xv.createWindow("open_issues_xml") as IWindowContainer);
            _arg3.addChild(this._-0xv);
            var k:IItemListWindow = (this._-0xv.findChildByName("issue_list") as IItemListWindow);
            this._-1Hw = new _-3wK(_arg1, _arg2, k, "open_issues_list_item_xml");
        }
        public function get view():IWindowContainer
        {
            return (this._-0xv);
        }
        public function set visible(_arg1:Boolean):void
        {
            this._-0xv.visible = _arg1;
        }
        public function update():void
        {
            var k:Array = this._-2U1._-3OR(IssueManager._-4vz);
            this._-1Hw.update(k);
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI._-Dq

package _-1FI
{
    import flash.utils.Dictionary;

    public interface _-Dq 
    {

        function _-1V0(_arg1:String, _arg2:int, _arg3:int, _arg4:Array, _arg5:Dictionary):void;

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI.AutoIssueHandler

package _-1FI
{
    import flash.text.TextFormat;
    import flash.geom.Point;
    import _-1ae.IFrameWindow;
    import _-1ae.IItemGridWindow;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import _-1Vw._-3TV;
    import _-1Vw._-0NN;
    import _-Ew.IWindow;
    import flash.utils.Dictionary;
    import _-1ae.ICheckBoxWindow;
    import _-2eW._-3e1;
    import _-1ae.ITextWindow;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-1Vw._-1Q1;
    import _-1Vw._-3x;
    import _-1Vw._-14u;
    import _-0qO._-4Uv;
    import _-0Ix._-0la;
    import _-0qO._-0db;
    import _-2eW._-2ku;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-0Pi._-RA;
    import _-2eW._-2je;
    import _-2eW._-P-;

    public class AutoIssueHandler implements _-1mg, _-2yY, _-Dq, _-4Sq 
    {

        private static const _-2Gl:int = (480 - 32);//448
        private static const _-1KI:int = 320;
        private static const _-4fI:int = 220;

        private static var _-51p:TextFormat = new TextFormat(null, null, 0xFF0000, null, true, false);
        private static var _-0RD:Point;

        private var _-502:_-2lC;
        private var _-1FM:_-2su;
        private var _-0xv:IFrameWindow;
        private var _disposed:Boolean;
        private var _-1Xa:IItemGridWindow;
        private var _-1bM:IItemGridWindow;
        private var _-51C:IItemListWindow;
        private var _-4Xt:IItemListWindow;
        private var _-4kw:Array;
        private var _-0FS:IWindowContainer;
        private var _-1T1:int = 0;
        private var _-GO:Array;

        public function AutoIssueHandler(_arg1:_-2lC, _arg2:_-2su)
        {
            this._-GO = [];
            super();
            this._-502 = _arg1;
            this._-1FM = _arg2;
            this._-502._-0XC._-4ir(this);
            this._-4kw = new Array();
        }
        private static function _-3gc(_arg1:int, _arg2:int):String
        {
            if (_arg2 > 0)
            {
                return ((("Mute for " + _arg2) + " hour(s)"));
            };
            if (_arg1 == 100000)
            {
                return ("Perm ban");
            };
            if ((((_arg1 > 0)) && (((_arg1 % 365) == 0))))
            {
                return ((("Ban for " + ((_arg1 / 24) / 365)) + " year(s)"));
            };
            if (_arg1 > 72)
            {
                return ((("Ban for " + (_arg1 / 24)) + " day(s)"));
            };
            return ((("Ban for " + _arg1) + " hour(s)"));
        }
        private static function _-3st(_arg1:IWindowContainer):String
        {
            return (((_arg1) ? _arg1.findChildByName("offence_name").caption : ""));
        }
        private static function _-WS(_arg1:IWindowContainer):String
        {
            return (((_arg1) ? _arg1.findChildByName("offence_category").tags[0] : ""));
        }

        public function getType():int
        {
            return (WindowTracker._-3Ve);
        }
        public function getId():String
        {
            return (("" + this._-1FM.id));
        }
        public function _-44L():IFrameWindow
        {
            return (this._-0xv);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-502._-0XC._-4K-(this);
            this._-502._-0XC._-3aK(this);
            this._-502 = null;
            this._-1FM = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function show():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-01-();
            this._-4d3();
            this._-1TF();
            this._-3xT();
        }
        private function _-3Ia():void
        {
            var k:int = (this._-1FM.issues.length * this._-502.getXmlWindow("auto_issue_handler_chat_line").height);
            this._-0xv.findChildByName("issues_container").height = (k + 20);
            this._-51C.height = k;
            this._-0xv.findChildByName("chatlog_container").height = (_-2Gl - this._-0xv.findChildByName("issues_container").height);
            this._-4Xt.height = (this._-0xv.findChildByName("chatlog_container").height - 20);
        }
        private function _-1TF():void
        {
            var k:_-3TV;
            var k:_-0NN;
            var k:IItemGridWindow;
            var k:Array;
            this._-1Xa = (this._-0xv.findChildByName("itemlist_category_pii") as IItemGridWindow);
            this._-1bM = (this._-0xv.findChildByName("itemgrid_category_sexual_behaviour") as IItemGridWindow);
            var k:Array = this._-502._-2Xo._-4su;
            var k:IWindow = this._-502.getXmlWindow("auto_issue_handler_offence_button");
            var k:Dictionary = new Dictionary();
            k["PII"] = this._-1Xa;
            k["Sexually Explicit"] = this._-1bM;
            for each (k in k)
            {
                k = k[k.name];
                if (k == null)
                {
                }
                else
                {
                    k = k._-0ag.concat();
                    k.sort(this._-2cW);
                    for each (k in k)
                    {
                        k._-2-F(this._-159(k, k, k.name));
                    };
                };
            };
        }
        private function _-159(_arg1:IWindow, _arg2:_-3TV, _arg3:String):IWindowContainer
        {
            var k:IWindowContainer = (_arg1.clone() as IWindowContainer);
            k.findChildByName("offence_name").caption = _arg2.name;
            k.findChildByName("offence_category").tags[0] = _arg3;
            k.findChildByName("offence_category").caption = _-3gc(_arg2._-4gn, _arg2._-2Mf);
            k.procedure = this._-2nd;
            return (k);
        }
        private function _-01-():void
        {
            this._-0xv = (this._-502.getXmlWindow("auto_issue_handler") as IFrameWindow);
            this._-0xv.procedure = this._-3kk;
            if (_-0RD != null)
            {
                this._-0xv.position = _-0RD;
            }
            else
            {
                this._-0xv.center();
            };
            (this._-0xv.findChildByName("checkbox_next_alert_ticket") as ICheckBoxWindow)._-vX = true;
            this._-0xv.findChildByName("button_verify").disable();
            this._-51C = (this._-0xv.findChildByName("issues") as IItemListWindow);
            this._-4Xt = (this._-0xv.findChildByName("chatlog") as IItemListWindow);
            this._-38l("", "Choose an offence from above!");
        }
        private function _-3xT():void
        {
            this._-502._-0XC._-6Q(this);
            this._-502.connection.send(new _-3e1(this._-1FM._-2NX));
        }
        public function _-3y(_arg1:_-1Q1):void
        {
            this._-0xv.findChildByName("user_name").caption = _arg1.userName;
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName("total_bans"));
            k.caption = (_arg1._-5E5 + " bans");
            if (_arg1._-5E5 > 0)
            {
                k.textColor = 0x990000;
            };
            if (_arg1._-1FV == "")
            {
                this._-0xv.findChildByName("last_purchase").caption = "Never purchased";
            }
            else
            {
                this._-0xv.findChildByName("last_purchase").caption = ("Purchased " + _arg1._-1FV);
            };
            var k:Number = (_arg1._-1aJ * 60);
            this._-0xv.findChildByName("account_age").caption = ("Registered " + _-55a._-500(k));
            var k:_-3Yi = (this._-0xv.findChildByName("avatar_image") as _-3Yi);
            (k.widget as _-3La).figure = _arg1.figure;
        }
        public function _-1V0(_arg1:String, _arg2:int, _arg3:int, _arg4:Array, _arg5:Dictionary):void
        {
            var k:_-3x;
            var k:_-14u;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:_-14u;
            if (this._disposed)
            {
                return;
            };
            if ((((_arg2 == WindowTracker._-2BJ)) && (!((_arg3 == this._-1FM._-2NX)))))
            {
                return;
            };
            if (_arg2 == WindowTracker._-2yB)
            {
            };
            for each (k in _arg4)
            {
                for each (k in k.chatlog)
                {
                    if (k._-4B2 != this._-1FM._-2NX)
                    {
                    }
                    else
                    {
                        k = true;
                        k = -1;
                        k = 0;
                        while (k < this._-4kw.length)
                        {
                            k = this._-4kw[k];
                            if (k._-5-C == k._-5-C)
                            {
                                k = false;
                                break;
                            };
                            if ((((k == -1)) && ((k._-pV < k._-pV))))
                            {
                                break;
                            };
                            k++;
                        };
                        if (k)
                        {
                            if (k == -1)
                            {
                                this._-4kw.push(k);
                            }
                            else
                            {
                                this._-4kw.splice(k, 0, k);
                            };
                        };
                    };
                };
            };
            this._-1w8();
        }
        private function _-2cW(_arg1:_-3TV, _arg2:_-3TV):int
        {
            if (_arg1._-4gn < _arg2._-4gn)
            {
                return (1);
            };
            if (_arg1._-4gn > _arg2._-4gn)
            {
                return (-1);
            };
            if (_arg1.name < _arg2.name)
            {
                return (-1);
            };
            if (_arg1.name > _arg2.name)
            {
                return (1);
            };
            return (0);
        }
        public function _-3SW():void
        {
            this._-4d3();
        }
        private function _-4d3():void
        {
            var k:IItemListWindow;
            var k:_-4Uv;
            var k:IWindowContainer;
            var k:_-0la;
            var k:Array;
            var k:_-0db;
            var k:IWindow = this._-502.getXmlWindow("auto_issue_handler_match");
            this._-51C._-3mI();
            for each (k in this._-1FM.issues)
            {
                k = (k.clone() as IItemListWindow);
                k.getListItemByName("chat_line").caption = k.message;
                k = (k.getListItemByName("info_container") as IWindowContainer);
                k = ((k.findChildByName("time") as _-3Yi).widget as _-0la);
                k.timeStamp = (new Date().getTime() - k.issueAgeInMilliseconds);
                k = [];
                for each (k in k._-pS)
                {
                    (k.getListItemByName("chat_line") as ITextWindow).setTextFormat(_-51p, k.startIndex, k.endIndex);
                    k.push(k.pattern);
                };
                k.findChildByName("pattern_match").caption = ("Matched to: " + k.join(", "));
                if (this._-GO.indexOf(k._-43T) == -1)
                {
                    this._-502.connection.send(new _-2ku(k._-43T));
                    this._-GO.push(k._-43T);
                };
                this._-51C.addListItem(k);
            };
            this._-3Ia();
        }
        public function _-1w8():void
        {
            var k:_-14u;
            var k:IItemListWindow;
            var k:IWindow = this._-502.getXmlWindow("auto_issue_handler_chat_line");
            this._-4Xt._-3mI();
            for each (k in this._-4kw)
            {
                k = (k.clone() as IItemListWindow);
                k.getListItemByName("chat_line").caption = k._-5-C;
                this._-4Xt.addListItem(k);
            };
            this._-3Ia();
        }
        private function _-2nd(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:IRegionWindow = (_arg2 as IRegionWindow);
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-4S5(k);
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                if (k != this._-0FS)
                {
                    k.findChildByName("mouseover").visible = true;
                };
            };
            if (_arg1.type == WindowMouseEvent._-4e2)
            {
                if (k != this._-0FS)
                {
                    k.findChildByName("mouseover").visible = false;
                };
                k._-2QR = "";
            };
        }
        private function _-38l(_arg1:String, _arg2:String):void
        {
            this._-0xv.findChildByName("resolution_summary_title").caption = _arg2;
            var k:_-3TV = this._-2LB(_arg1, _arg2);
            if (k != null)
            {
                this._-0xv.findChildByName("resolution_message_title").visible = true;
                this._-0xv.findChildByName("resolution_message_desc").caption = k._-5-C;
                this._-0xv.findChildByName("resolution_summary_desc").caption = _-3gc(k._-4gn, k._-2Mf);
            }
            else
            {
                this._-0xv.findChildByName("resolution_message_title").visible = false;
                this._-0xv.findChildByName("resolution_message_desc").caption = "";
                this._-0xv.findChildByName("resolution_summary_desc").caption = "";
            };
        }
        private function _-4S5(_arg1:IWindowContainer):void
        {
            if (this._-0FS != null)
            {
                this._-0FS.findChildByName("border").visible = false;
            };
            this._-0FS = _arg1;
            this._-0FS.findChildByName("border").visible = true;
            this._-0FS.findChildByName("mouseover").visible = false;
            this._-38l(this._-0u5, this._-2fF);
            this._-0xv.findChildByName("button_verify").enable();
        }
        private function get _-2fF():String
        {
            return (_-3st(this._-0FS));
        }
        private function get _-0u5():String
        {
            return (_-WS(this._-0FS));
        }
        private function _-2LB(_arg1:String, _arg2:String):_-3TV
        {
            var k:_-3TV;
            var k:_-0NN;
            var k:Array = this._-502._-2Xo._-4su;
            for each (k in k)
            {
                if (k.name == _arg1)
                {
                    for each (k in k._-0ag)
                    {
                        if (k.name == _arg2)
                        {
                            return (k);
                        };
                    };
                };
            };
            return (null);
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:int;
            var _local4:_-2lC;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "header_button_close":
                        this._-4F9();
                        break;
                    case "user_details":
                        this._-502.connection.send(new _-RA(this._-1FM._-2NX));
                        break;
                    case "button_verify":
                        this._-3P7();
                        break;
                    case "button_invalid":
                        this._-3yL();
                        break;
                    case "button_classic":
                        _local3 = this._-1FM.id;
                        _local4 = this._-502;
                        this._-502._-0Aj._-4o0(this._-1FM.id, true);
                        this.dispose();
                        break;
                };
            };
            if (_arg1.type == WindowEvent._-4e0)
            {
                _-0RD = this._-0xv.position.clone();
                if (this._-0xv.y < 0)
                {
                    this._-0xv.y = 0;
                };
            };
        }
        private function _-4F9():void
        {
            if (((((!((this._-502 == null))) && (!((this._-502._-0Aj == null))))) && (!((this._-1FM == null)))))
            {
                this._-502._-0Aj._-20d(this._-1FM.id);
                this._-502._-0Aj._-2HL(this._-1FM.id);
                this._-56F("closeWindow");
            };
            this.dispose();
        }
        private function _-3yL():void
        {
            this._-56F("closeUseless");
            this._-502.trackGoogle("actionCountUseless", this._-1T1);
            this._-502._-0Aj._-2YJ(this._-1FM.id, IssueManager._-4wq);
            this._-y9();
            this.dispose();
        }
        private function _-3P7():void
        {
            if (!this._-0FS)
            {
                return;
            };
            var k:_-3TV = this._-2LB(this._-0u5, this._-2fF);
            var k:_-4Uv = this._-1FM._-1Xp();
            if (k._-2Mf > 0)
            {
                this._-502.connection.send(new _-2je(this._-1FM._-2NX, k._-5-C, (k._-2Mf * 60), k.message, this._-0vg(), k._-43T));
                this._-56F("mute");
            }
            else
            {
                this._-502.connection.send(new _-P-(this._-1FM._-2NX, k._-5-C, k._-4gn, k.message, this._-0vg(), false, k._-43T));
                this._-56F("ban");
            };
            this._-502.trackGoogle("actionCountResolved", this._-1T1);
            this._-502._-0Aj._-2YJ(this._-1FM.id, IssueManager._-4zf);
            this._-56F("closeResolved");
            this._-y9();
            this.dispose();
        }
        private function _-0vg():String
        {
            var k:String = this._-0u5.replace(/\W/g, "").toLowerCase();
            var k:String = this._-2fF.replace(/\W/g, "").toLowerCase();
            return (((k + ".") + k));
        }
        function _-56F(_arg1:String):void
        {
            if ((((this._-502 == null)) || (this._-502.disposed)))
            {
                return;
            };
            this._-1T1++;
            this._-502.trackGoogle(("issueHandler_" + _arg1));
        }
        private function _-y9():void
        {
            if ((((((this._-0xv == null)) || ((this._-502 == null)))) || ((this._-502._-0Aj == null))))
            {
                return;
            };
            var k:ICheckBoxWindow = (this._-0xv.findChildByName("checkbox_next_alert_ticket") as ICheckBoxWindow);
            if (((!((k == null))) && (k._-vX)))
            {
                this._-502._-0Aj._-357();
            };
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI.ChatlogCtrl

package _-1FI
{
    import _-4Aj._-1oF;
    import _-1ae.IFrameWindow;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import flash.utils.Timer;
    import _-18r.Map;
    import _-0qO._-4Uv;
    import flash.events.TimerEvent;
    import _-Ew.IWindow;
    import _-1Vw._-3x;
    import _-1Vw._-14u;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class ChatlogCtrl implements _-1zZ, _-1mg, _-Dq 
    {

        private static var _-1cL:Array = [];
        private static var _-4RJ:int = 1000;
        private static var _-2SO:Array = [];
        private static var _-49L:int = 200;

        private var _-5K:int;
        private var _-0Kq:int;
        private var _-1dC:_-1oF;
        private var _-1-u:_-2lC;
        private var _frame:IFrameWindow;
        private var _-3EB:IItemListWindow;
        private var _-sT:Array;
        private var _disposed:Boolean;
        private var _-5S:IWindowContainer;
        private var _-48C:IWindowContainer;
        private var _-m5:Dictionary;
        private var _-345:Timer;
        private var _-55g:Map;
        private var _-eS:_-4Uv;
        private var _-4kw:Array;
        private var _-0QR:Array;

        public function ChatlogCtrl(_arg1:_-1oF, _arg2:_-2lC, _arg3:int, _arg4:int, _arg5:_-4Uv=null)
        {
            this._-4kw = [];
            this._-0QR = [];
            super();
            this._-1-u = _arg2;
            this._-5K = _arg3;
            this._-0Kq = _arg4;
            this._-1dC = _arg1;
            this._-55g = new Map();
            this._-eS = _arg5;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function show():void
        {
            this._-5S = IWindowContainer(this._-1-u.getXmlWindow("chatlog_roomheader"));
            this._-48C = IWindowContainer(this._-1-u.getXmlWindow("chatlog_chatline"));
            this._-345 = new Timer(1000, 1);
            this._-345.addEventListener(TimerEvent.TIMER, this._-2VZ);
            this._frame = IFrameWindow(this._-1-u.getXmlWindow("chatlog_frame"));
            this._-3EB = IItemListWindow(this._frame.findChildByName("chatline_list"));
            this._frame.procedure = this._-177;
            var k:IWindow = this._frame.findChildByTag("close");
            k.procedure = this._-4F9;
            this._-1-u.connection.send(this._-1dC);
            this._-1-u._-0XC._-4ir(this);
        }
        public function _-1V0(_arg1:String, _arg2:int, _arg3:int, _arg4:Array, _arg5:Dictionary):void
        {
            if (((((!((_arg2 == this._-5K))) || (!((_arg3 == this._-0Kq))))) || (this._disposed)))
            {
                return;
            };
            this._-1-u._-0XC._-4K-(this);
            this._frame.caption = _arg1;
            this._-sT = _arg4;
            this._-m5 = _arg5;
            this.populate();
            this._-2VZ(null);
            this._frame.visible = true;
        }
        public function getType():int
        {
            return (this._-5K);
        }
        public function getId():String
        {
            return (("" + this._-0Kq));
        }
        public function _-44L():IFrameWindow
        {
            return (this._frame);
        }
        private function populate():void
        {
            var k:_-3x;
            this._-3EB.autoArrangeItems = false;
            for each (k in this._-sT)
            {
                this._-55x(k);
            };
            this._-3EB.autoArrangeItems = true;
        }
        private function _-55x(_arg1:_-3x):void
        {
            var k:_-14u;
            var k:IWindowContainer = this._-3ES();
            var k:ITextWindow = ITextWindow(k.findChildByName("room_name_txt"));
            if (_arg1.roomId > 0)
            {
                k.caption = _arg1.roomName;
                k.underline = true;
                new _-4Ma(this._frame, this._-1-u, k, _arg1._-0MC, _arg1.roomId);
            }
            else
            {
                k.caption = "Not in room";
                k.underline = false;
            };
            this._-0I6(k, this._-3EB);
            var k:Boolean = true;
            for each (k in _arg1.chatlog)
            {
                this._-47J(this._-3EB, k, k);
                k = !(k);
            };
        }
        private function _-51U(_arg1:IWindowContainer, _arg2:IItemListWindow):void
        {
            _arg2.addListItem(_arg1);
            this._-4kw.push(_arg1);
        }
        private function _-0I6(_arg1:IWindowContainer, _arg2:IItemListWindow):void
        {
            _arg2.addListItem(_arg1);
            this._-0QR.push(_arg1);
        }
        private function _-4bJ():IWindowContainer
        {
            if (_-1cL.length > 0)
            {
                return ((_-1cL.pop() as IWindowContainer));
            };
            return (IWindowContainer(this._-48C.clone()));
        }
        private function _-49t(_arg1:IWindowContainer):void
        {
            var k:ITextWindow;
            if (_-1cL.length < _-4RJ)
            {
                k = ITextWindow(_arg1.findChildByName("chatter_txt"));
                k.removeEventListener(WindowMouseEvent._-90, this._-0De);
                _arg1.width = this._-48C.width;
                _arg1.height = this._-48C.height;
                _-1cL.push(_arg1);
            }
            else
            {
                _arg1.dispose();
            };
        }
        private function _-3ES():IWindowContainer
        {
            if (_-2SO.length > 0)
            {
                return ((_-2SO.pop() as IWindowContainer));
            };
            return (IWindowContainer(this._-5S.clone()));
        }
        private function _-0wZ(_arg1:IWindowContainer):void
        {
            var k:ITextWindow;
            if (_-2SO.length < _-49L)
            {
                k = ITextWindow(_arg1.findChildByName("room_name_txt"));
                k.procedure = null;
                _arg1.width = this._-5S.width;
                _arg1.height = this._-5S.height;
                _-2SO.push(_arg1);
            }
            else
            {
                _arg1.dispose();
            };
        }
        private function _-47J(_arg1:IItemListWindow, _arg2:_-14u, _arg3:Boolean):void
        {
            var k:IWindowContainer = this._-4bJ();
            k.color = (((this._-m5[_arg2._-4B2])!=null) ? ((_arg3) ? 4294623571 : 0xFFFFE240) : ((_arg3) ? 4288861930 : 0xFFFFFFFF));
            var k:ITextWindow = ITextWindow(k.findChildByName("time_txt"));
            var k:Number = (new Date().getTime() - _arg2._-pV);
            var k:Date = new Date(k);
            k.text = _-2lf._-2AK(k.hours, k.minutes);
            var k:ITextWindow = ITextWindow(k.findChildByName("chatter_txt"));
            k.color = k.color;
            if (_arg2._-4B2 > 0)
            {
                k.text = _arg2._-4C8;
                k.underline = true;
                k.addEventListener(WindowMouseEvent._-90, this._-0De);
                if (!this._-55g.getValue(_arg2._-4C8))
                {
                    this._-55g.add(_arg2._-4C8, _arg2._-4B2);
                };
            }
            else
            {
                if (_arg2._-4B2 == 0)
                {
                    k.text = "Bot / pet";
                    k.underline = false;
                }
                else
                {
                    k.text = "-";
                    k.underline = false;
                };
            };
            var k:ITextWindow = ITextWindow(k.findChildByName("msg_txt"));
            k.text = _arg2._-5-C;
            k.height = (k.textHeight + 5);
            k.height = k.height;
            this._-51U(k, _arg1);
        }
        private function _-0De(_arg1:WindowMouseEvent):void
        {
            var k:String = _arg1.target.caption;
            var k:int = this._-55g.getValue(k);
            this._-1-u._-10h.show(new _-0x9(this._-1-u, k, this._-eS), this._frame, false, false, true);
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.dispose();
        }
        private function _-177(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!((_arg1.type == WindowEvent._-3K0))) || (!((_arg2 == this._frame)))))
            {
                return;
            };
            this._-345.reset();
            this._-345.start();
        }
        private function _-2VZ(_arg1:TimerEvent):void
        {
            this._-1DB();
            var k:Boolean = this._-2X0();
        }
        private function _-1DB():void
        {
            var k:IWindowContainer;
            var k:ITextWindow;
            this._-3EB.autoArrangeItems = false;
            var k:int = this._-3EB.numListItems;
            var k:int;
            while (k < k)
            {
                k = IWindowContainer(this._-3EB.getListItemAt(k));
                if (k.name == "chatline")
                {
                    k = ITextWindow(k.findChildByName("msg_txt"));
                    k.width = (k.width - k.x);
                    k.height = (k.textHeight + 5);
                    k.height = k.height;
                };
                k++;
            };
            this._-3EB.autoArrangeItems = true;
        }
        private function _-2X0():Boolean
        {
            var k:IWindowContainer = IWindowContainer(this._-3EB.parent);
            var k:IWindow = (k.getChildByName("scroller") as IWindow);
            var k = (this._-3EB._-2yI.height > this._-3EB.height);
            var k:int = 22;
            if (k.visible)
            {
                if (k)
                {
                    return (false);
                };
                k.visible = false;
                this._-3EB.width = (this._-3EB.width + k);
                return (true);
            };
            if (k)
            {
                k.visible = true;
                this._-3EB.width = (this._-3EB.width - k);
                return (true);
            };
            return (false);
        }
        public function dispose():void
        {
            var k:IWindowContainer;
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-1-u = null;
            this._-1dC = null;
            this._-eS = null;
            if (this._-3EB != null)
            {
                this._-3EB._-3mI();
                this._-3EB.dispose();
                this._-3EB = null;
            };
            if (this._frame != null)
            {
                this._frame.destroy();
                this._frame = null;
            };
            this._-sT = null;
            this._-m5 = null;
            if (this._-345 != null)
            {
                this._-345.stop();
                this._-345.removeEventListener(TimerEvent.TIMER, this._-2VZ);
                this._-345 = null;
            };
            for each (k in this._-4kw)
            {
                this._-49t(k);
            };
            for each (k in this._-0QR)
            {
                this._-0wZ(k);
            };
            this._-4kw = [];
            this._-0QR = [];
            if (this._-5S != null)
            {
                this._-5S.dispose();
                this._-5S = null;
            };
            if (this._-48C != null)
            {
                this._-48C.dispose();
                this._-48C = null;
            };
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI.IssueManager

package _-1FI
{
    import _-18r.Map;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-0qO._-4Uv;
    import _-2eW.ReleaseIssuesMessageComposer;
    import _-mv._-2TN;
    import flash.events.Event;
    import _-2or._-3KO;
    import _-2eW.CloseIssuesMessageComposer;
    import _-2eW.PickIssuesMessageComposer;

    public class IssueManager 
    {

        public static const _-4vz:String = "issue_bundle_open";
        public static const _-Yc:String = "issue_bundle_my";
        public static const _-0n5:String = "issue_bundle_picked";
        public static const _-2dz:int = 15000;
        public static const _-4wq:int = 1;
        public static const _-1N0:int = 2;
        public static const _-4zf:int = 3;
        private static const _-3Q-:String = "POTENTIAL_SPAMMER";

        private var _-502:_-2lC;
        private var _-3xv:_-1W;
        private var _-3Jn:Map;
        private var _-47g:Map;
        private var _-1dF:Map;
        private var _-Ts:Array;
        private var _-yX:Array;
        private var _-51N:Map;
        private var _-04R:int = 1;
        private var _-zz:int;
        private var _-rK:Timer;
        private var _-4ZF:int;

        public function IssueManager(_arg1:_-2lC)
        {
            this._-502 = _arg1;
            this._-3Jn = new Map();
            this._-47g = new Map();
            this._-1dF = new Map();
            this._-3xv = new _-1W(this, this._-502.windowManager, this._-502.assets);
            this._-Ts = [];
            this._-yX = [];
            this._-51N = new Map();
            this._-zz = parseInt(this._-502.configuration.getKey("chf.score.updatefactor", "60"));
            this._-4ZF = parseInt(this._-502.configuration.getKey("max.call_for_help.results", "200"));
            this._-rK = new Timer(_-2dz, 0);
            this._-rK.addEventListener(TimerEvent.TIMER, this._-22G);
            this._-rK.start();
        }
        public function get _-0b-():int
        {
            return (this._-4ZF);
        }
        public function init():void
        {
            this._-3xv.show();
        }
        public function _-MP(_arg1:int, _arg2:Boolean=false, _arg3:int=0):void
        {
            var k:_-2su = (this._-47g.getValue(_arg1) as _-2su);
            if (k == null)
            {
                return;
            };
            this._-1LN(k._-38i(), _arg2, _arg3);
            this._-Ts = this._-Ts.concat(k._-38i());
        }
        public function _-357(_arg1:Boolean=false, _arg2:int=0):void
        {
            var k:_-2su;
            var k:_-2su;
            var k:Array = this._-47g._-0hn();
            for each (k in k)
            {
                if ((((k.state == _-4Uv._-06T)) && ((((k == null)) || (this._-zD(k, k))))))
                {
                };
            };
            if (k == null)
            {
                return;
            };
            this._-MP(k.id, _arg1, _arg2);
        }
        private function _-zD(_arg1:_-2su, _arg2:_-2su):Boolean
        {
            if (_arg1.highestPriority > _arg2.highestPriority)
            {
                return (true);
            };
            return ((((_arg1.highestPriority == _arg2.highestPriority)) && ((_arg1.issueAgeInMilliseconds < _arg2.issueAgeInMilliseconds))));
        }
        public function _-0Zw():void
        {
            var k:_-2su;
            if (this._-47g == null)
            {
                return;
            };
            var k:int = this._-502.sessionDataManager.userId;
            var k:Array = [];
            for each (k in this._-47g)
            {
                if ((((k.state == _-4Uv._-3JK)) && ((k._-YM == k))))
                {
                    k = k.concat(k._-38i());
                };
            };
            this._-4IB(k);
        }
        public function _-20d(_arg1:int):void
        {
            if (this._-47g == null)
            {
                return;
            };
            var k:_-2su = (this._-47g.getValue(_arg1) as _-2su);
            if (k == null)
            {
                return;
            };
            this._-4IB(k._-38i());
        }
        private function _-4IB(_arg1:Array):void
        {
            if ((((((((_arg1 == null)) || ((_arg1.length == 0)))) || ((this._-502 == null)))) || ((this._-502.connection == null))))
            {
                return;
            };
            this._-502.connection.send(new ReleaseIssuesMessageComposer(_arg1));
            this._-yX = this._-yX.concat(_arg1);
        }
        public function _-lx(_arg1:_-4Uv):void
        {
            if (this._-3Jn[_arg1._-43T] != null)
            {
                return;
            };
            if ((((this._-3xv == null)) || (!(this._-3xv.isOpen()))))
            {
                this._-502._-0Y._-lx(_-2TN._-2OE);
            };
        }
        public function _-0Wo(_arg1:_-4Uv):void
        {
            var k:_-2su;
            var k:_-2su;
            var k:int;
            var k:Array;
            var k:Boolean;
            var k:_-2su;
            var k:int;
            if (_arg1 == null)
            {
                return;
            };
            this._-3Jn.remove(_arg1._-43T);
            this._-3Jn.add(_arg1._-43T, _arg1);
            var k:int = int(this._-1dF.getValue(_arg1._-43T));
            if (k != 0)
            {
                k = (this._-47g.getValue(k) as _-2su);
                if (k != null)
                {
                    if (this._-mp(k, _arg1))
                    {
                        k._-0Wo(_arg1);
                    }
                    else
                    {
                        k._-3ZE(_arg1._-43T);
                        if (k._-4KS() == 0)
                        {
                            this._-47g.remove(k.id);
                            this._-2HL(k.id);
                        };
                        this._-1dF.remove(_arg1._-43T);
                        k = null;
                    };
                };
            };
            if (_arg1.state == _-4Uv._-0fW)
            {
                this._-3Jn.remove(_arg1._-43T);
                return;
            };
            if (k == null)
            {
                for each (k in this._-47g)
                {
                    if (this._-mp(k, _arg1))
                    {
                        k._-0Wo(_arg1);
                        this._-1dF.add(_arg1._-43T, k.id);
                        break;
                    };
                };
            };
            if (k == null)
            {
                k = this._-04R++;
                k = new _-2su(k, _arg1);
                this._-1dF.add(_arg1._-43T, k);
                this._-47g.add(k, k);
            };
            if (k == null)
            {
                return;
            };
            if (this._-Ts.indexOf(_arg1._-43T) != -1)
            {
                this._-4o0(k.id);
                k = this._-502.sessionDataManager.userId;
                if (k != _arg1._-YM)
                {
                    if (_arg1.state == _-4Uv._-3JK)
                    {
                        this._-4Jj(k.id);
                    };
                };
            };
            if (_arg1.state == _-4Uv._-06T)
            {
                k = this._-3OR(_-Yc);
                k = false;
                for each (k in k)
                {
                    if (this._-mp(k, _arg1, true))
                    {
                        k = true;
                        break;
                    };
                };
                k = this._-yX.indexOf(_arg1._-43T);
                if ((((k == -1)) && (k)))
                {
                    this._-1LN([_arg1._-43T]);
                }
                else
                {
                    this._-yX.splice(k, 1);
                };
            };
            this._-0ua(k.id);
            this._-3xv.update();
        }
        public function _-22G(_arg1:Event=null):void
        {
            if ((((this._-502 == null)) || ((this._-502.configuration == null))))
            {
                return;
            };
            if (this._-3xv != null)
            {
                this._-3xv.update();
            };
        }
        private function _-0ua(_arg1:int):void
        {
            var k:_-4Sq = this._-51N.getValue(_arg1);
            if (k != null)
            {
                k._-3SW();
            };
        }
        public function _-2HL(_arg1:int):void
        {
            var k:_-4Sq = this._-51N.remove(_arg1);
            if (k != null)
            {
                k.dispose();
                k = null;
            };
        }
        public function _-3ZE(_arg1:int):void
        {
            var k:_-2su;
            if (this._-3Jn == null)
            {
                return;
            };
            var k:int = this._-1dF.getValue(_arg1);
            if (k != 0)
            {
                k = (this._-47g.getValue(k) as _-2su);
                if (k != null)
                {
                    k._-3ZE(_arg1);
                    if (k._-4KS() == 0)
                    {
                        this._-47g.remove(k.id);
                    };
                };
            };
            this._-3Jn.remove(_arg1);
            this._-3xv.update();
        }
        public function _-3OR(_arg1:String):Array
        {
            var k:_-2su;
            if (this._-47g == null)
            {
                return ([]);
            };
            var k:Array = [];
            var k:int = this._-502.sessionDataManager.userId;
            for each (k in this._-47g)
            {
                switch (_arg1)
                {
                    case _-4vz:
                        if (k.state == _-4Uv._-06T)
                        {
                            k.push(k);
                        };
                        break;
                    case _-Yc:
                        if ((((k.state == _-4Uv._-3JK)) && ((k._-YM == k))))
                        {
                            k.push(k);
                        };
                        break;
                    case _-0n5:
                        if ((((k.state == _-4Uv._-3JK)) && (!((k._-YM == k)))))
                        {
                            k.push(k);
                        };
                        break;
                };
            };
            return (k);
        }
        public function _-4o0(_arg1:int, _arg2:Boolean=false):void
        {
            var k:_-4Sq;
            var k:_-4Uv;
            var k:_-2su = (this._-47g.getValue(_arg1) as _-2su);
            if (k == null)
            {
                return;
            };
            var k:Boolean;
            if (this._-502.configuration.getBoolean("revamped_auto_alert_window.enabled", false))
            {
                for each (k in k.issues)
                {
                    if ((((k._-2d- == _-3KO._-3WU)) || ((k._-2d- == _-3KO._-3ST))))
                    {
                        k = true;
                        break;
                    };
                };
            };
            if (((!(_arg2)) && (k)))
            {
                k = new AutoIssueHandler(this._-502, k);
                _-1mg(k).show();
            }
            else
            {
                k = new _-56(this._-502, k);
                this._-502._-10h.show((k as _-1mg), null, false, false, false);
            };
            this._-2HL(_arg1);
            this._-51N.add(_arg1, k);
            this._-Ts = [];
        }
        public function _-4Jj(_arg1:int):void
        {
            var k:_-2su = (this._-47g.getValue(_arg1) as _-2su);
            if (k == null)
            {
                return;
            };
            var k:_-1mg = this._-51N.remove(_arg1);
            if (k != null)
            {
                k.dispose();
            };
        }
        public function _-2YJ(_arg1:int, _arg2:int):void
        {
            var k:_-2su = (this._-47g.getValue(_arg1) as _-2su);
            if (k == null)
            {
                return;
            };
            this._-32v(k._-38i(), _arg2);
        }
        public function _-4ah(_arg1:int, _arg2:int):void
        {
            this._-32v([_arg1], _arg2);
        }
        private function _-32v(_arg1:Array, _arg2:int):void
        {
            if ((((((_arg1 == null)) || ((this._-502 == null)))) || ((this._-502.connection == null))))
            {
                return;
            };
            this._-502.connection.send(new CloseIssuesMessageComposer(_arg1, _arg2));
        }
        private function _-1LN(_arg1:Array, _arg2:Boolean=false, _arg3:int=0):void
        {
            if ((((((_arg1 == null)) || ((this._-502 == null)))) || ((this._-502.connection == null))))
            {
                return;
            };
            this._-502.connection.send(new PickIssuesMessageComposer(_arg1, _arg2, _arg3));
        }
        private function _-mp(_arg1:_-2su, _arg2:_-4Uv, _arg3:Boolean=false):Boolean
        {
            if (_arg2._-2NX == 0)
            {
                return (false);
            };
            if (_arg1._-2NX != _arg2._-2NX)
            {
                return (false);
            };
            if (!_arg3)
            {
                if (_arg1.state != _arg2.state)
                {
                    return (false);
                };
                if (_arg1._-YM != _arg2._-YM)
                {
                    return (false);
                };
            };
            return (true);
        }
        public function _-3tS(_arg1:int):void
        {
            var k:_-2su;
            var k:_-2su;
            var k:Array = this._-47g._-0hn();
            var k:int = this._-502.sessionDataManager.userId;
            for each (k in k)
            {
                if ((((((((k.state == _-4Uv._-3JK)) && ((k._-YM == k)))) && (!((k.id == _arg1))))) && ((((k == null)) || ((k.highestPriority > k.highestPriority))))))
                {
                };
            };
            if (k == null)
            {
                this._-357();
                return;
            };
            this._-4o0(k.id);
        }
        public function _-1hk(_arg1:Array):Boolean
        {
            var k:_-4Uv;
            var k:int;
            var k:String;
            var k:int;
            var k:_-2su;
            var k:_-2su;
            var k:Array;
            var k:int;
            var k:int;
            var k:_-4Sq;
            if (!_arg1)
            {
                return (false);
            };
            var k:Boolean;
            var k:int = this._-502.sessionDataManager.userId;
            for each (k in _arg1)
            {
                k = k._-43T;
                k = k._-59X;
                k = k._-YM;
                if (((!((k == -1))) && (!((k == k)))))
                {
                    k = true;
                };
                k = null;
                for each (k in this._-47g)
                {
                    k = k._-38i();
                    if (k != null)
                    {
                        for each (k in k)
                        {
                            if (k == k)
                            {
                                break;
                            };
                        };
                    };
                };
                if (k != null)
                {
                    k = k.id;
                    k = this._-51N.getValue(k);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    this._-20d(k);
                };
            };
            return (k);
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI.ModActionCtrl

package _-1FI
{
    import _-0qO._-4Uv;
    import _-1ae.IFrameWindow;
    import _-1ae.IDropMenuWindow;
    import _-1ae.ITextFieldWindow;
    import _-1Vw._-0NN;
    import _-1Vw._-3TV;
    import _-1ae.IButtonWindow;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1Vw._-KJ;
    import _-0Ie.WindowMouseEvent;
    import _-2eW._-0Dw;
    import _-0Ie.WindowEvent;
    import _-2eW._-08J;
    import _-2eW._-2je;
    import _-2eW._-P-;
    import _-3Bn._-1Ii;
    import _-1B-.*;

    public class ModActionCtrl implements _-1zZ, _-1mg 
    {

        private static var _-35S:Array;

        private var _-1-u:_-2lC;
        private var _-3Mq:int;
        private var _-4-T:String;
        private var _-dK:String;
        private var _-eS:_-4Uv;
        private var _frame:IFrameWindow;
        private var _-57B:IDropMenuWindow;
        private var _-3zK:ITextFieldWindow;
        private var _disposed:Boolean;
        private var _-0Gu:Boolean = true;
        private var _-0wL:_-0NN;
        private var _-0eE:_-3TV;
        private var _-4NR:_-55a;
        private var _-4KG:IButtonWindow;
        private var _-1EG:IButtonWindow;

        public function ModActionCtrl(_arg1:_-2lC, _arg2:int, _arg3:String, _arg4:String, _arg5:_-4Uv, _arg6:_-55a)
        {
            this._-1-u = _arg1;
            this._-3Mq = _arg2;
            this._-4-T = _arg3;
            this._-dK = _arg4;
            this._-eS = _arg5;
            this._-4NR = _arg6;
            var k:Boolean = this._-1-u.configuration.getBoolean("moderation.mute.enabled", false);
            if (_-35S == null)
            {
                _-35S = new Array();
                if (k)
                {
                    _-35S.push(new _-1bi("Mute 1 hours", _-1bi._-4bv, 1));
                    _-35S.push(new _-1bi("Ban 24 hours", _-1bi._-1rL, 24));
                    _-35S.push(new _-1bi("Ban 1 month", _-1bi._-1rL, 720));
                    _-35S.push(new _-1bi("Ban 2 years", _-1bi._-1rL, 17520));
                    _-35S.push(new _-1bi("Permanent Ban", _-1bi._-1rL, 100000));
                    _-35S.push(new _-1bi("Avatar Permban", _-1bi._-4It, 100000));
                }
                else
                {
                    _-35S.push(new _-1bi("2 hours", _-1bi._-1rL, 2));
                    _-35S.push(new _-1bi("4 hours", _-1bi._-1rL, 4));
                    _-35S.push(new _-1bi("12 hours", _-1bi._-1rL, 12));
                    _-35S.push(new _-1bi("24 hours", _-1bi._-1rL, 24));
                    _-35S.push(new _-1bi("2 days", _-1bi._-1rL, 48));
                    _-35S.push(new _-1bi("3 days", _-1bi._-1rL, 72));
                    _-35S.push(new _-1bi("1 week", _-1bi._-1rL, 168));
                    _-35S.push(new _-1bi("2 weeks", _-1bi._-1rL, 336));
                    _-35S.push(new _-1bi("3 weeks", _-1bi._-1rL, 504));
                    _-35S.push(new _-1bi("1 month", _-1bi._-1rL, 720));
                    _-35S.push(new _-1bi("2 months", _-1bi._-1rL, 1440));
                    _-35S.push(new _-1bi("1 year", _-1bi._-1rL, 8760));
                    _-35S.push(new _-1bi("2 years", _-1bi._-1rL, 17520));
                    _-35S.push(new _-1bi("Permanent", _-1bi._-1rL, 100000));
                };
            };
            this._-4KG = IButtonWindow(this._-1-u.getXmlWindow("modact_offence"));
            this._-1EG = IButtonWindow(this._-1-u.getXmlWindow("modact_offencectg"));
        }
        public static function _-LK(_arg1:IWindowContainer):void
        {
            var k:int;
            while (k < _arg1.numChildren)
            {
                _arg1.getChildAt(k).visible = false;
                k++;
            };
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function show():void
        {
            this._frame = IFrameWindow(this._-1-u.getXmlWindow("modact_summary"));
            this._frame.caption = ("Mod action on: " + this._-4-T);
            this._frame.findChildByName("send_caution_but").procedure = this._-iH;
            this._frame.findChildByName("kick_but").procedure = this._-16u;
            this._frame.findChildByName("ban_but").procedure = this._-2oV;
            this._frame.findChildByName("change_categorization_but").procedure = this._-3Ce;
            this._-1-u._-3IF(this._-1-u._-2Xo._-0cB, this._frame, "send_caution_but");
            this._-1-u._-3IF(this._-1-u._-2Xo._-0kr, this._frame, "kick_but");
            this._-1-u._-3IF(this._-1-u._-2Xo._-27E, this._frame, "ban_but");
            this._-3zK = ITextFieldWindow(this._frame.findChildByName("message_input"));
            this._-3zK.procedure = this._-yH;
            this._-57B = IDropMenuWindow(this._frame.findChildByName("banLengthSelect"));
            this._-2X1(this._-57B);
            var k:IWindow = this._frame.findChildByTag("close");
            k.procedure = this._-4F9;
            this._-1en();
            this._frame.visible = true;
        }
        public function _-1en():void
        {
            var k:IWindowContainer = IWindowContainer(this._frame.findChildByName("categorization_cont"));
            _-LK(k);
            k.findChildByName("categorization_caption_txt").visible = true;
            k.findChildByName("change_categorization_but").visible = !((this._-0wL == null));
            if (this._-0eE != null)
            {
                this._frame.findChildByName("offence_txt").caption = this._-0eE.name;
                this._frame.findChildByName("offence_category").visible = true;
            }
            else
            {
                if (this._-0wL != null)
                {
                    this._-3fO("offences_cont", 2, this._-0wL._-0ag, this._-4KG, this._-1M9);
                }
                else
                {
                    this._-3fO("offence_categories_cont", 3, this._-1-u._-2Xo._-4su, this._-1EG, this._-0zu);
                    k.height = RoomToolCtrl._-5DG(k);
                };
            };
        }
        private function _-3fO(_arg1:String, _arg2:int, _arg3:Array, _arg4:IWindow, _arg5:Function):void
        {
            var k:_-KJ;
            var k:String;
            var k:IButtonWindow;
            var k:IWindowContainer = IWindowContainer(this._frame.findChildByName(_arg1));
            _-LK(k);
            var k:int;
            var k:int;
            var k:int;
            var k:int = 5;
            for each (k in _arg3)
            {
                k = ("" + k);
                k = IButtonWindow(k.findChildByName(k));
                if (k == null)
                {
                    k = IButtonWindow(_arg4.clone());
                    k.procedure = _arg5;
                    k.x = (k * (_arg4.width + k));
                    k.y = (k * (_arg4.height + k));
                    k.name = k;
                    k.addChild(k);
                };
                k.caption = k.name;
                k.visible = true;
                k++;
                k++;
                if (k >= _arg2)
                {
                    k = 0;
                    k++;
                };
            };
            k.height = RoomToolCtrl._-5DG(k);
            k.visible = true;
        }
        public function getType():int
        {
            return (WindowTracker._-1ju);
        }
        public function getId():String
        {
            return (this._-4-T);
        }
        public function _-44L():IFrameWindow
        {
            return (this._frame);
        }
        private function _-56F(_arg1:String):void
        {
            if (((!((this._-4NR == null))) && (!(this._-4NR.disposed))))
            {
                this._-4NR._-56F(("modAction_" + _arg1));
            };
        }
        private function _-2X1(_arg1:IDropMenuWindow):void
        {
            var k:_-1bi;
            var k:Array = new Array();
            for each (k in _-35S)
            {
                k.push(k.name);
            };
            _arg1.populate(k);
        }
        private function _-iH(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Sending caution...");
            if (!this._-2dh())
            {
                return;
            };
            this._-56F("sendCaution");
            this._-1-u.connection.send(new _-0Dw(this._-3Mq, this._-3zK.text, this._-dK, this._-55M()));
            this.dispose();
        }
        private function _-0zu(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:int = int(_arg2.name);
            this._-56F("pickOffenceCategory");
            this._-0wL = this._-1-u._-2Xo._-4su[k];
            this._-1en();
        }
        private function _-1M9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:int = int(_arg2.name);
            this._-0eE = this._-0wL._-0ag[k];
            this._-3zK.text = this._-0eE._-5-C;
            this._-0Gu = false;
            this._-56F("pickOffence");
            this._-1en();
        }
        private function _-3Ce(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (this._-0eE != null)
            {
                this._-0eE = null;
            }
            else
            {
                this._-0wL = null;
            };
            this._-56F("changeCategorization");
            this._-1en();
        }
        private function _-16u(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Kick...");
            if (!this._-2dh())
            {
                return;
            };
            this._-56F("kick");
            this._-1-u.connection.send(new _-08J(this._-3Mq, this._-3zK.text, this._-dK, this._-0vg(), this._-55M()));
            this.dispose();
        }
        private function _-2oV(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1bi;
            var _local5:int;
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Mute/Ban...");
            if (!this._-2dh())
            {
                return;
            };
            if (this._-57B.selection < 0)
            {
                this._-1-u.windowManager.alert("Alert", "You must select moderation action", 0, this._-498);
                return;
            };
            var k:int = this._-57B.selection;
            k = _-35S[k];
            switch (k._-1Br)
            {
                case _-1bi._-4bv:
                    _local5 = (k._-0hS * 60);
                    this._-56F("mute");
                    this._-1-u.connection.send(new _-2je(this._-3Mq, this._-3zK.text, _local5, this._-dK, this._-0vg(), this._-55M()));
                    break;
                case _-1bi._-1rL:
                    this._-56F("ban");
                    this._-1-u.connection.send(new _-P-(this._-3Mq, this._-3zK.text, k._-0hS, this._-dK, this._-0vg(), false, this._-55M()));
                    break;
                case _-1bi._-4It:
                    this._-56F("ban_avatar");
                    this._-1-u.connection.send(new _-P-(this._-3Mq, this._-3zK.text, k._-0hS, this._-dK, this._-0vg(), true, this._-55M()));
                    break;
            };
            this.dispose();
        }
        private function _-2dh():Boolean
        {
            if (((this._-0Gu) || ((this._-3zK.text == ""))))
            {
                this._-1-u.windowManager.alert("Alert", "You must input a message to the user", 0, this._-498);
                return (false);
            };
            return (true);
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-56F("close");
            this.dispose();
        }
        private function _-yH(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowEvent._-4JH)
            {
                return;
            };
            if (!this._-0Gu)
            {
                return;
            };
            this._-3zK.text = "";
            this._-0Gu = false;
        }
        private function _-0vg():String
        {
            if (this._-0wL == null)
            {
                return ("");
            };
            var k:String = this._-0wL.name.replace(/\W/g, "").toLowerCase();
            if (this._-0eE == null)
            {
                return (k);
            };
            var k:String = this._-0eE.name.replace(/\W/g, "").toLowerCase();
            return (((k + ".") + k));
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._frame != null)
            {
                this._frame.destroy();
                this._frame = null;
            };
            if (this._-4KG != null)
            {
                this._-4KG.destroy();
                this._-4KG = null;
            };
            if (this._-1EG != null)
            {
                this._-1EG.destroy();
                this._-1EG = null;
            };
            this._-57B = null;
            this._-3zK = null;
            this._-1-u = null;
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-55M():int
        {
            return ((((this._-eS)!=null) ? this._-eS._-43T : _-P-._-2Em));
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI.ModerationMessageHandler

package _-1FI
{
    import _-2np._-1ZV;
    import _-1Vw._-4kL;
    import _-1Vw._-1CB;
    import _-1Vw._-sL;
    import _-1Vw._-fB;
    import _-1Vw._-3RK;
    import _-1Vw._-2uG;
    import _-1Vw._-4Yz;
    import _-1Vw._-3eS;
    import _-1Vw._-Ix;
    import _-1Vw._-0k-;
    import _-1Q8._-567;
    import _-4OG._-4B9;
    import _-2na._-1G-;
    import _-1Vw._-0t4;
    import _-0qO._-3U-;
    import _-0qO._-4Uv;
    import _-0qO._-2CP;
    import _-0qO._-3Kp;
    import _-0qO._-47H;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-0qO._-0FV;
    import _-0qO._-5B4;
    import _-0qO._-1J3;
    import _-0qO._-0BJ;
    import flash.utils.Dictionary;
    import _-0qO._-16q;
    import _-0qO._-2NA;
    import _-0qO._-4W3;
    import _-Co._-4SS;
    import _-55m._-3i-;
    import _-0qO._-0H6;
    import _-2eW._-3e1;
    import _-1Vw.*;
    import _-0qO.*;

    public class ModerationMessageHandler 
    {

        private var _-502:_-2lC;
        private var _-47Q:Array;
        private var _-51A:Array;
        private var _-5D2:Array;
        private var _-Zf:Array;
        private var _-1Hm:Array;

        public function ModerationMessageHandler(_arg1:_-2lC)
        {
            this._-47Q = new Array();
            this._-51A = new Array();
            this._-5D2 = new Array();
            this._-Zf = new Array();
            this._-1Hm = new Array();
            super();
            this._-502 = _arg1;
            var k:_-1ZV = _arg1.connection;
            k.addMessageEvent(new _-4kL(this._-4Kd));
            k.addMessageEvent(new _-1CB(this._-1uF));
            k.addMessageEvent(new _-sL(this._-3Zb));
            k.addMessageEvent(new _-fB(this._-1ME));
            k.addMessageEvent(new _-3RK(this._-3y));
            k.addMessageEvent(new _-2uG(this._-1Pw));
            k.addMessageEvent(new _-4Yz(this._-1My));
            k.addMessageEvent(new _-3eS(this._-0rS));
            k.addMessageEvent(new _-Ix(this._-4xq));
            k.addMessageEvent(new _-0k-(this._-51X));
            k.addMessageEvent(new _-567(this._-0TW));
            k.addMessageEvent(new _-4B9(this._-12N));
            k.addMessageEvent(new _-1G-(this._-5m));
            k.addMessageEvent(new _-0t4(this._-3dV));
        }
        private function _-4Kd(_arg1:_-4kL):void
        {
            if ((((_arg1 == null)) || ((this._-502 == null))))
            {
                return;
            };
            var k:_-3U- = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4Uv = k._-0cC;
            this._-502._-0Aj._-lx(k);
            this._-502._-0Aj._-0Wo(k);
        }
        private function _-1uF(_arg1:_-1CB):void
        {
            var k:_-4Uv;
            if ((((_arg1 == null)) || ((this._-502 == null))))
            {
                return;
            };
            var k:_-2CP = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-3Kp = k.data;
            var k:Array = k.issues;
            var k:Array = k._-4l9;
            for each (k in k)
            {
                this._-502._-0Aj._-0Wo(k);
            };
            this._-502._-0Aj._-22G();
            this._-502._-2Xo = k;
            this._-502._-1-3.show();
        }
        private function _-3Zb(_arg1:_-sL):void
        {
            var event:_-sL = _arg1;
            var parser:_-47H = event._-3-5();
            if (parser == null)
            {
                return;
            };
            var alert:Boolean = true;
            var issues:Array = parser.issues;
            var retryEnabled:Boolean = parser.retryEnabled;
            var retryCount:int = parser.retryCount;
            var pickedAlready:Boolean = this._-502._-0Aj._-1hk(issues);
            if (pickedAlready)
            {
                if (retryEnabled)
                {
                    if (retryCount < 10)
                    {
                        alert = false;
                        this._-502._-0Aj._-357(retryEnabled, retryCount);
                    };
                };
            };
            if (alert)
            {
                this._-502.windowManager.alert("Error", "Issue picking failed", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
            };
        }
        private function _-1ME(_arg1:_-fB):void
        {
            if ((((_arg1 == null)) || ((this._-502 == null))))
            {
                return;
            };
            var k:_-0FV = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            this._-502._-0Aj._-3ZE(k._-43T);
        }
        private function _-3y(_arg1:_-3RK):void
        {
            var k:_-2yY;
            var k:_-5B4 = _arg1._-3-5();
            _-Nb.log(((("GOT USER INFO: " + k.data.userId) + ", ") + k.data._-4j1));
            for each (k in this._-47Q)
            {
                k._-3y(k.data);
            };
        }
        private function _-1Pw(_arg1:_-2uG):void
        {
            var k:RoomToolCtrl;
            var k:_-1J3 = _arg1._-3-5();
            for each (k in this._-Zf)
            {
                k._-1Pw(k.data);
            };
        }
        private function _-1My(_arg1:_-4Yz):void
        {
            var k:_-0BJ = _arg1._-3-5();
            var k:Array = new Array();
            k.push(k.data.room);
            var k:Dictionary = new Dictionary();
            k[k.data._-34F] = "yes";
            k[k.data._-2NX] = "yes";
            this._-1V0(("Call For Help Chatlog: " + k.data._-0--), WindowTracker._-2yB, k.data.callId, k, k);
        }
        private function _-4xq(_arg1:_-Ix):void
        {
            var k:_-16q = _arg1._-3-5();
            var k:Array = new Array();
            k.push(k.data);
            var k:Dictionary = new Dictionary();
            this._-1V0(("Room Chatlog: " + k.data.roomName), WindowTracker._-1Sz, k.data.roomId, k, k);
        }
        private function _-0rS(_arg1:_-3eS):void
        {
            var k:_-2NA = _arg1._-3-5();
            var k:Dictionary = new Dictionary();
            k[k.data.userId] = "yes";
            this._-1V0(("User Chatlog: " + k.data.userName), WindowTracker._-2BJ, k.data.userId, k.data.rooms, k);
        }
        private function _-1V0(_arg1:String, _arg2:int, _arg3:int, _arg4:Array, _arg5:Dictionary):void
        {
            var k:_-Dq;
            var k:Array = this._-5D2.concat();
            for each (k in k)
            {
                k._-1V0(_arg1, _arg2, _arg3, _arg4, _arg5);
            };
        }
        private function _-51X(_arg1:_-0k-):void
        {
            var k:_-2lf;
            var k:_-4W3 = _arg1._-3-5();
            var k:Array = this._-51A.concat();
            for each (k in k)
            {
                k._-51X(k.data);
            };
        }
        private function _-0TW(_arg1:_-567):void
        {
            var k:RoomToolCtrl;
            var k:_-4SS = _arg1._-3-5();
            if (k._-Jj)
            {
                this._-502._-4F7 = k._-1At;
                this._-502._-1-3._-4eT(k);
            }
            else
            {
                this._-502._-4F7 = 0;
            };
            for each (k in this._-1Hm)
            {
                k._-1a2();
            };
        }
        private function _-12N(_arg1:_-4B9):void
        {
            var k:_-3i- = _arg1._-3-5();
            this._-502._-1-3._-08M(k);
        }
        private function _-5m(_arg1:_-1G-):void
        {
            var k:RoomToolCtrl;
            this._-502._-4F7 = 0;
            this._-502._-1-3._-15j();
            for each (k in this._-1Hm)
            {
                k._-1a2();
            };
        }
        private function _-3dV(_arg1:_-0t4):void
        {
            var k:_-0H6 = _arg1._-3-5();
            _-Nb.log(((("GOT MOD ACTION RESULT: " + k.userId) + ", ") + k.success));
            if (k.success)
            {
                this._-502.connection.send(new _-3e1(k.userId));
            }
            else
            {
                this._-502.windowManager.alert("Alert", "Moderation action failed", 0, this._-498);
            };
        }
        public function _-6Q(_arg1:_-2yY):void
        {
            this._-47Q.push(_arg1);
        }
        public function _-3aK(_arg1:_-2yY):void
        {
            var k:_-2yY;
            var k:Array = new Array();
            for each (k in this._-47Q)
            {
                if (k != _arg1)
                {
                    k.push(k);
                };
            };
            this._-47Q = k;
        }
        public function _-k4(_arg1:RoomToolCtrl):void
        {
            this._-Zf.push(_arg1);
        }
        public function _-E4(_arg1:RoomToolCtrl):void
        {
            var k:RoomToolCtrl;
            var k:Array = new Array();
            for each (k in this._-Zf)
            {
                if (k != _arg1)
                {
                    k.push(k);
                };
            };
            this._-Zf = k;
        }
        public function _-0Gh(_arg1:RoomToolCtrl):void
        {
            this._-1Hm.push(_arg1);
        }
        public function _-571(_arg1:RoomToolCtrl):void
        {
            var k:RoomToolCtrl;
            var k:Array = new Array();
            for each (k in this._-1Hm)
            {
                if (k != _arg1)
                {
                    k.push(k);
                };
            };
            this._-1Hm = k;
        }
        public function _-3EL(_arg1:_-2lf):void
        {
            this._-51A.push(_arg1);
        }
        public function _-3He(_arg1:_-2lf):void
        {
            var k:_-2lf;
            var k:Array = new Array();
            for each (k in this._-51A)
            {
                if (k != _arg1)
                {
                    k.push(k);
                };
            };
            this._-51A = k;
        }
        public function _-4ir(_arg1:_-Dq):void
        {
            this._-5D2.push(_arg1);
        }
        public function _-4K-(_arg1:_-Dq):void
        {
            var k:_-Dq;
            var k:Array = new Array();
            for each (k in this._-5D2)
            {
                if (k != _arg1)
                {
                    k.push(k);
                };
            };
            this._-5D2 = k;
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI.RoomToolCtrl

package _-1FI
{
    import _-1Vw._-n9;
    import _-1ae.IFrameWindow;
    import _-1ae.IItemListWindow;
    import _-1ae.IDropMenuWindow;
    import _-1ae.ITextFieldWindow;
    import _-1ae.ICheckBoxWindow;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-2eW._-1ff;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae.IButtonWindow;
    import _-1ae.ITextWindow;
    import _-1Vw._-0Ea;
    import _-2eW._-3j0;
    import _-2eW._-5-j;
    import _-2eW._-4Mw;
    import _-3Bn._-1Ii;
    import _-1B-.*;
    import flash.net.*;

    public class RoomToolCtrl implements _-1zZ, _-1mg 
    {

        private var _-1-u:_-2lC;
        private var _-1jw:int;
        private var _-0qE:_-n9;
        private var _frame:IFrameWindow;
        private var _-3EB:IItemListWindow;
        private var _disposed:Boolean;
        private var _-3om:IDropMenuWindow;
        private var _-3zK:ITextFieldWindow;
        private var _-0Gu:Boolean = true;
        private var _-0lK:ICheckBoxWindow;
        private var _-52m:ICheckBoxWindow;
        private var _-4fx:ICheckBoxWindow;

        public function RoomToolCtrl(_arg1:_-2lC, _arg2:int)
        {
            this._-1-u = _arg1;
            this._-1jw = _arg2;
        }
        public static function _-5DG(_arg1:IWindowContainer):int
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (k.visible)
                {
                    k = Math.max(k, (k.y + k.height));
                };
                k++;
            };
            return (k);
        }
        public static function _-0OL(_arg1:IWindowContainer, _arg2:int, _arg3:int):void
        {
            var k:IWindow;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (((((!((k == null))) && (k.visible))) && ((k.height > 0))))
                {
                    k.y = _arg2;
                    k = (_arg2 + (k.height + _arg3));
                };
                k++;
            };
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function show():void
        {
            this._frame = IFrameWindow(this._-1-u.getXmlWindow("roomtool_frame"));
            this._-1-u._-0XC._-k4(this);
            this._-1-u.connection.send(new _-1ff(this._-1jw));
            _-Nb.log(("BEGINNING TO SHOW: " + this._-1jw));
        }
        public function getType():int
        {
            return (WindowTracker._-1fG);
        }
        public function getId():String
        {
            return (("" + this._-1jw));
        }
        public function _-44L():IFrameWindow
        {
            return (this._frame);
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.dispose();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-1-u._-0XC._-571(this);
            if (this._frame != null)
            {
                this._frame.destroy();
                this._frame = null;
            };
            if (this._-0qE != null)
            {
                this._-0qE.dispose();
                this._-0qE = null;
            };
            this._-1-u = null;
            this._-3EB = null;
            this._-3om = null;
            this._-3zK = null;
            this._-0lK = null;
            this._-52m = null;
            this._-4fx = null;
        }
        public function _-1a2():void
        {
            this._-1vj("send_caution_but");
            this._-1vj("send_message_but");
        }
        private function _-1vj(_arg1:String):void
        {
            var k:Boolean = ((!((this._-0qE == null))) && ((this._-0qE._-3EU == this._-1-u._-4F7)));
            var k:IButtonWindow = IButtonWindow(this._frame.findChildByName(_arg1));
            if (((k) && (this._-1-u._-2Xo._-1Q0)))
            {
                k.enable();
            }
            else
            {
                k.disable();
            };
        }
        public function _-1Pw(_arg1:_-n9):void
        {
            if (this._disposed)
            {
                return;
            };
            _-Nb.log(((("GOT ROOM INFO: " + _arg1._-3EU) + ", ") + this._-1jw));
            if (_arg1._-3EU != this._-1jw)
            {
                _-Nb.log(((("NOT THE SAME FLAT: " + _arg1._-3EU) + ", ") + this._-1jw));
                return;
            };
            this._-0qE = _arg1;
            this.populate();
            this._-1-u._-0XC._-E4(this);
            this._frame.visible = true;
            this._-1-u._-0XC._-0Gh(this);
        }
        public function populate():void
        {
            this._-3EB = IItemListWindow(this._frame.findChildByName("list_cont"));
            var k:IWindow = this._frame.findChildByTag("close");
            k.procedure = this._-4F9;
            this._-3zK = ITextFieldWindow(this._frame.findChildByName("message_input"));
            this._-3zK.procedure = this._-yH;
            this._-3om = IDropMenuWindow(this._frame.findChildByName("msgTemplatesSelect"));
            this._-2T0(this._-3om);
            this._-3om.procedure = this._-330;
            this._-0lK = ICheckBoxWindow(this._frame.findChildByName("kick_check"));
            this._-52m = ICheckBoxWindow(this._frame.findChildByName("lock_check"));
            this._-4fx = ICheckBoxWindow(this._frame.findChildByName("changename_check"));
            this._-3fX(this._-0qE.room, "room_cont");
            this._-4Xm("owner_name_txt", this._-0qE._-0aC);
            this._-4Xm("owner_in_room_txt", ((this._-0qE._-3AF) ? "Yes" : "No"));
            this._-4Xm("user_count_txt", ("" + this._-0qE.userCount));
            this._frame.findChildByName("enter_room_but").procedure = this._-3zq;
            this._frame.findChildByName("chatlog_but").procedure = this._-1V0;
            this._frame.findChildByName("edit_in_hk_but").procedure = this._-1uX;
            this._frame.findChildByName("send_caution_but").procedure = this._-1j9;
            this._frame.findChildByName("send_message_but").procedure = this._-ZS;
            this._-1-u._-3IF(this._-1-u._-2Xo._-4Or, this._frame, "chatlog_but");
            if (!this._-1-u._-2Xo._-5G)
            {
                this._-0lK.disable();
            };
            this._frame.findChildByName("owner_name_txt").procedure = this._-Qs;
            this._-1a2();
        }
        private function _-0vd(_arg1:IItemListWindow, _arg2:IWindow):void
        {
            var k:IWindow = _arg1._-4sE(_arg2);
            if (k != null)
            {
                k.dispose();
            };
        }
        private function _-3fX(_arg1:_-0Ea, _arg2:String):void
        {
            var k:IWindowContainer = IWindowContainer(this._-3EB.getListItemByName(_arg2));
            var k:IWindowContainer = IWindowContainer(k.findChildByName("room_data"));
            if (k == null)
            {
                k = IWindowContainer(this._-1-u.getXmlWindow("roomtool_roomdata"));
                k.addChild(k);
            };
            if (!_arg1._-2pO)
            {
                this._-0vd(this._-3EB, k);
                this._-0vd(this._-3EB, this._-3EB.getListItemByName("event_spacing"));
                return;
            };
            var k:ITextWindow = ITextWindow(k.findChildByName("name"));
            k.text = _arg1.name;
            k.height = (k.textHeight + 5);
            var k:ITextWindow = ITextWindow(k.findChildByName("desc"));
            k.text = _arg1.desc;
            k.height = (k.textHeight + 5);
            var k:IWindowContainer = IWindowContainer(k.findChildByName("tags_cont"));
            var k:ITextWindow = ITextWindow(k.findChildByName("tags_txt"));
            k.text = this._-Ow(_arg1.tags);
            k.height = (k.textHeight + 5);
            k.height = k.height;
            if (_arg1.tags.length < 1)
            {
                k.removeChild(k);
            };
            _-0OL(k, k.y, 0);
            k.height = _-5DG(k);
            k.height = (k.height + (2 * k.y));
            _-Nb.log(((((((((((("XXXX: " + k.height) + ", ") + k.height) + ", ") + k.height) + ", ") + k.height) + ", ") + k.height) + ", ") + k.height));
        }
        private function _-Ow(_arg1:Array):String
        {
            var k:String;
            var k:String = "";
            for each (k in _arg1)
            {
                if (k == "")
                {
                }
                else
                {
                    k = ((k + ", ") + k);
                };
            };
            return (k);
        }
        private function _-4Xm(_arg1:String, _arg2:String):void
        {
            var k:ITextWindow = ITextWindow(this._frame.findChildByName(_arg1));
            k.text = _arg2;
        }
        private function _-Qs(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1-u._-10h.show(new _-0x9(this._-1-u, this._-0qE._-nJ), this._frame, false, false, true);
        }
        private function _-3zq(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Enter room clicked");
            this._-1-u.goToRoom(this._-0qE._-3EU);
        }
        private function _-1V0(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1-u._-10h.show(new ChatlogCtrl(new _-3j0(0, this._-0qE._-3EU), this._-1-u, WindowTracker._-1Sz, this._-0qE._-3EU), this._frame, false, false, true);
        }
        private function _-1uX(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Edit in hk clicked");
            this._-1-u._-0DR("roomadmin.url", ("" + this._-0qE._-3EU));
        }
        private function _-1j9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Sending caution...");
            this._-1lk(true);
        }
        private function _-ZS(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Sending message...");
            this._-1lk(false);
        }
        private function _-1lk(_arg1:Boolean):void
        {
            if (((this._-0Gu) || ((this._-3zK.text == ""))))
            {
                this._-1-u.windowManager.alert("Alert", "You must input a message to the user", 0, this._-498);
                return;
            };
            var k:int = this._-2v2(_arg1, this._-0lK._-vX);
            this._-1-u.connection.send(new _-5-j(_-5-j._-07p, k, this._-3zK.text, "", ""));
            if (((((this._-52m._-vX) || (this._-4fx._-vX))) || (this._-0lK._-vX)))
            {
                this._-1-u.connection.send(new _-4Mw(this._-0qE._-3EU, this._-52m._-vX, this._-4fx._-vX, this._-0lK._-vX));
            };
            this.dispose();
        }
        private function _-2v2(_arg1:Boolean, _arg2:Boolean):int
        {
            if (_arg2)
            {
                return (((_arg1) ? _-5-j._-2H : _-5-j._-x9));
            };
            return (((_arg1) ? _-5-j._-4J5 : _-5-j._-HC));
        }
        private function _-yH(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowEvent._-4JH)
            {
                return;
            };
            if (!this._-0Gu)
            {
                return;
            };
            this._-3zK.text = "";
            this._-0Gu = false;
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-2T0(_arg1:IDropMenuWindow):void
        {
            _-Nb.log(("MSG TEMPLATES: " + this._-1-u._-2Xo._-55E.length));
            _arg1.populate(this._-1-u._-2Xo._-55E);
        }
        private function _-330(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowEvent._-2wB)
            {
                return;
            };
            var k:String = this._-1-u._-2Xo._-55E[this._-3om.selection];
            if (k != null)
            {
                this._-0Gu = false;
                this._-3zK.text = k;
            };
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI.SendMsgsCtrl

package _-1FI
{
    import _-0qO._-4Uv;
    import _-1ae.IFrameWindow;
    import _-1ae.IDropMenuWindow;
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-2eW._-1sr;
    import _-2eW._-P-;
    import _-3Bn._-1Ii;
    import _-1B-.*;

    public class SendMsgsCtrl implements _-1zZ, _-1mg 
    {

        private var _-1-u:_-2lC;
        private var _-3Mq:int;
        private var _-4-T:String;
        private var _-dK:String;
        private var _-eS:_-4Uv;
        private var _frame:IFrameWindow;
        private var _-3om:IDropMenuWindow;
        private var _-3zK:ITextFieldWindow;
        private var _disposed:Boolean;
        private var _-0Gu:Boolean = true;

        public function SendMsgsCtrl(_arg1:_-2lC, _arg2:int, _arg3:String, _arg4:String, _arg5:_-4Uv)
        {
            this._-1-u = _arg1;
            this._-3Mq = _arg2;
            this._-4-T = _arg3;
            this._-dK = _arg4;
            this._-eS = _arg5;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function show():void
        {
            this._frame = IFrameWindow(this._-1-u.getXmlWindow("send_msgs"));
            this._frame.caption = ("Msg To: " + this._-4-T);
            this._frame.findChildByName("send_message_but").procedure = this._-1Ia;
            this._-3zK = ITextFieldWindow(this._frame.findChildByName("message_input"));
            this._-3zK.procedure = this._-yH;
            this._-3om = IDropMenuWindow(this._frame.findChildByName("msgTemplatesSelect"));
            this._-2T0(this._-3om);
            this._-3om.procedure = this._-330;
            var k:IWindow = this._frame.findChildByTag("close");
            k.procedure = this._-4F9;
            this._frame.visible = true;
        }
        public function getType():int
        {
            return (WindowTracker._-3w2);
        }
        public function getId():String
        {
            return (this._-4-T);
        }
        public function _-44L():IFrameWindow
        {
            return (this._frame);
        }
        private function _-2T0(_arg1:IDropMenuWindow):void
        {
            _-Nb.log(("MSG TEMPLATES: " + this._-1-u._-2Xo._-4l9.length));
            _arg1.populate(this._-1-u._-2Xo._-4l9);
        }
        private function _-330(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowEvent._-2wB)
            {
                return;
            };
            var k:String = this._-1-u._-2Xo._-4l9[this._-3om.selection];
            if (k != null)
            {
                this._-0Gu = false;
                this._-3zK.text = k;
            };
        }
        private function _-1Ia(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Sending message...");
            if (((this._-0Gu) || ((this._-3zK.text == ""))))
            {
                this._-1-u.windowManager.alert("Alert", "You must input a message to the user", 0, this._-498);
                return;
            };
            this._-1-u.connection.send(new _-1sr(this._-3Mq, this._-3zK.text, this._-dK, (((this._-eS)!=null) ? this._-eS._-43T : _-P-._-2Em)));
            this.dispose();
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.dispose();
        }
        private function _-yH(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowEvent._-4JH)
            {
                return;
            };
            if (!this._-0Gu)
            {
                return;
            };
            this._-3zK.text = "";
            this._-0Gu = false;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._frame != null)
            {
                this._frame.destroy();
                this._frame = null;
            };
            this._-3om = null;
            this._-3zK = null;
            this._-1-u = null;
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1FI.WindowTracker

package _-1FI
{
    import flash.utils.Dictionary;
    import _-Ew.IWindow;
    import _-1ae.IFrameWindow;

    public class WindowTracker 
    {

        public static const _-PN:int = 1;
        public static const _-3w2:int = 2;
        public static const _-2yB:int = 3;
        public static const _-1Sz:int = 4;
        public static const _-2BJ:int = 5;
        public static const _-1oS:int = 6;
        public static const _-1ju:int = 7;
        public static const _-2ZA:int = 8;
        public static const _-1fG:int = 9;
        public static const _-1NB:int = 10;
        public static const _-3Ve:int = 11;

        private var _-0bE:Dictionary;

        public function WindowTracker()
        {
            this._-0bE = new Dictionary();
            super();
        }
        public function show(_arg1:_-1mg, _arg2:IFrameWindow, _arg3:Boolean, _arg4:Boolean, _arg5:Boolean):void
        {
            var _local7:IWindow;
            var k:int;
            var _local9:IWindow;
            var k:_-1mg = this._-0kD(_arg1.getType(), _arg1.getId());
            if (((!((k == null))) && (!(k.disposed))))
            {
                if (_arg5)
                {
                    _arg1.dispose();
                    k.dispose();
                    return;
                };
                _arg1.show();
                _local7 = k._-44L();
                _arg1._-44L().x = _local7.x;
                _arg1._-44L().y = _local7.y;
                _arg1._-44L().width = _local7.width;
                _arg1._-44L().height = _local7.height;
                this._-3qO(_arg1.getType())[_arg1.getId()] = _arg1;
                k.dispose();
            }
            else
            {
                if (!_arg4)
                {
                    _arg1.show();
                    if (_arg2 != null)
                    {
                        k = 5;
                        if (_arg3)
                        {
                            _arg1._-44L().x = _arg2.x;
                            _arg1._-44L().y = ((_arg2.y + _arg2.height) + k);
                        }
                        else
                        {
                            _arg1._-44L().x = ((_arg2.x + _arg2.width) + k);
                            _arg1._-44L().y = _arg2.y;
                        };
                    }
                    else
                    {
                        _local9 = _arg1._-44L().desktop;
                        _arg1._-44L().x = ((_local9.width / 2) - (_arg1._-44L().width / 2));
                        _arg1._-44L().y = ((_local9.height / 2) - (_arg1._-44L().height / 2));
                    };
                    _arg1._-44L().x = Math.max(0, Math.min(_arg1._-44L().x, (_arg1._-44L().desktop.width - _arg1._-44L().width)));
                    _arg1._-44L().y = Math.max(0, Math.min(_arg1._-44L().y, (_arg1._-44L().desktop.height - _arg1._-44L().height)));
                    this._-3qO(_arg1.getType())[_arg1.getId()] = _arg1;
                };
            };
        }
        private function _-0kD(_arg1:int, _arg2:String):_-1mg
        {
            var k:Dictionary = this._-3qO(_arg1);
            var k:_-1mg = k[_arg2];
            k[_arg2] = null;
            return (k);
        }
        private function _-3qO(_arg1:int):Dictionary
        {
            var k:Dictionary = this._-0bE[_arg1];
            if (k == null)
            {
                k = new Dictionary();
                this._-0bE[_arg1] = k;
            };
            return (k);
        }

    }
}//package _-1FI

//------------------------------------------------------------
//_-1fM._-1OA

package _-1fM
{
    import flash.display.BitmapData;
    import _-4Kb.*;
    import _-3Zp.*;
    import _-3Mo.*;

    public class _-1OA implements _-26z, _-0ko, _-3TS, _-47i 
    {

        private var _-5K:int;
        private var _-50Z:int;
        private var _-0Jk:int;
        private var _-1FQ:int = 1;
        private var _-2z:int;
        private var _-2UT:Boolean = false;
        private var _-208:Boolean = false;
        private var _-4z8:Boolean = false;
        private var _-52z:BitmapData;
        private var _-2Gs:Date;

        public function get type():int
        {
            return (this._-5K);
        }
        public function get _-4N():int
        {
            return (this._-50Z);
        }
        public function get duration():int
        {
            return (this._-0Jk);
        }
        public function get _-1p6():int
        {
            return (this._-1FQ);
        }
        public function get _-3Cm():Boolean
        {
            return (this._-2UT);
        }
        public function get _-1V2():Boolean
        {
            return (this._-4z8);
        }
        public function get _-vX():Boolean
        {
            return (this._-208);
        }
        public function get icon():BitmapData
        {
            return (this._-52z);
        }
        public function get _-3VJ():BitmapData
        {
            return (this._-52z);
        }
        public function get _-51V():int
        {
            var k:int;
            if (this._-2UT)
            {
                k = (this._-2z - ((new Date().valueOf() - this._-2Gs.valueOf()) / 1000));
                k = Math.floor(k);
                if (k < 0)
                {
                    k = 0;
                };
                return (k);
            };
            return (this._-2z);
        }
        public function set type(_arg1:int):void
        {
            this._-5K = _arg1;
        }
        public function set _-4N(_arg1:int):void
        {
            this._-50Z = _arg1;
        }
        public function set duration(_arg1:int):void
        {
            this._-0Jk = _arg1;
        }
        public function set _-51V(_arg1:int):void
        {
            this._-2z = _arg1;
        }
        public function set _-vX(_arg1:Boolean):void
        {
            this._-208 = _arg1;
        }
        public function set _-1V2(_arg1:Boolean):void
        {
            this._-4z8 = _arg1;
        }
        public function set _-3VJ(_arg1:BitmapData):void
        {
            this._-52z = _arg1;
        }
        public function set _-1p6(_arg1:int):void
        {
            this._-1FQ = _arg1;
        }
        public function set _-3Cm(_arg1:Boolean):void
        {
            if (((_arg1) && (!(this._-2UT))))
            {
                this._-2Gs = new Date();
            };
            this._-2UT = _arg1;
        }
        public function _-hG():void
        {
            this._-1FQ--;
            if (this._-1FQ < 0)
            {
                this._-1FQ = 0;
            };
            this._-2z = this._-0Jk;
            this._-2UT = false;
            this._-4z8 = false;
        }

    }
}//package _-1fM

//------------------------------------------------------------
//_-1fM._-Cb

package _-1fM
{
    import _-3rG.*;

    public class _-Cb implements _-1xn 
    {

        private var _-3n-:EffectsModel;
        private var _-2D4:int;

        public function _-Cb(_arg1:EffectsModel, _arg2:int)
        {
            this._-3n- = _arg1;
            this._-2D4 = _arg2;
        }
        public function dispose():void
        {
            this._-3n- = null;
        }
        public function _-4I3():Array
        {
            return (this._-3n-._-0fP(this._-2D4));
        }

    }
}//package _-1fM

//------------------------------------------------------------
//_-1fM.EffectsModel

package _-1fM
{
    import _-3Zp.HabboInventory;
    import _-295._-39L;
    import _-3gx._-4BJ;
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-iK._-3Qf;
    import _-iK._-0dZ;
    import _-3Zp._-47i;
    import _-Ew.IWindowContainer;
    import _-3Zp.*;

    public class EffectsModel implements _-4Yh 
    {

        private var _-513:HabboInventory;
        private var _-Ke:EffectsView;
        private var _-Xa:Array;
        private var _assets:_-39L;
        private var _-0ud:_-4BJ;
        private var _-yC:_-Cb;
        private var _-5-F:_-Cb;
        private var _disposed:Boolean = false;
        private var _-4NW:int = -1;

        public function EffectsModel(_arg1:HabboInventory, _arg2:_-3Ts, _arg3:_-4BJ, _arg4:_-39L, _arg5:_-0hg)
        {
            this._-513 = _arg1;
            this._-Xa = new Array();
            this._assets = _arg4;
            this._-0ud = _arg3;
            this._-yC = new _-Cb(this, 1);
            this._-5-F = new _-Cb(this, 0);
            this._-Ke = new EffectsView(this, _arg2, _arg4, _arg5, this._-yC, this._-5-F);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-513 = null;
                if (this._-Ke != null)
                {
                    this._-Ke.dispose();
                };
                if (this._-yC != null)
                {
                    this._-yC.dispose();
                    this._-yC = null;
                };
                if (this._-5-F != null)
                {
                    this._-5-F.dispose();
                    this._-5-F = null;
                };
                this._disposed = true;
            };
        }
        public function _-eq(_arg1:int=0):void
        {
        }
        public function _-52O(_arg1:String):void
        {
        }
        public function _-3JL(_arg1:_-1OA, _arg2:Boolean=true):void
        {
            var _local4:BitmapDataAsset;
            var k:_-1OA = this._-3hJ(_arg1.type);
            if (k != null)
            {
                k._-1p6++;
            }
            else
            {
                _local4 = BitmapDataAsset(this._assets.getAssetByName((("fx_icon_" + _arg1.type) + "_png")));
                if (_local4 != null)
                {
                    _arg1._-3VJ = BitmapData(_local4.content);
                };
                this._-Xa.push(_arg1);
            };
            if (_arg2)
            {
                this._-0g0();
            };
        }
        private function _-3hJ(_arg1:int):_-1OA
        {
            var k:_-1OA;
            var k:int;
            while (k < this._-Xa.length)
            {
                k = this._-Xa[k];
                if (k.type == _arg1)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        private function _-0Cp(_arg1:int):void
        {
            var k:_-1OA;
            var k:int;
            while (k < this._-Xa.length)
            {
                k = this._-Xa[k];
                if (k.type == _arg1)
                {
                    this._-Xa.splice(k, 1);
                    this._-0g0();
                    return;
                };
                k++;
            };
        }
        public function _-0g0():void
        {
            this._-Ke._-1Kz();
            this._-Ke._-2Cn();
        }
        public function _-1lF(_arg1:int):void
        {
            this._-513.communication._-4gR(null).send(new _-3Qf(_arg1));
        }
        public function _-3bn(_arg1:int):void
        {
            var k:_-1OA = this._-3hJ(_arg1);
            if (k != null)
            {
                this._-0DD(false, false);
                k._-3Cm = true;
                k._-1V2 = true;
                this._-0g0();
            };
        }
        public function _-3eP(_arg1:int):void
        {
            this._-0DD(false, false, true);
            var k:_-1OA = this._-3hJ(_arg1);
            if (k == null)
            {
                return;
            };
            if (!k._-3Cm)
            {
                this._-1lF(k.type);
            };
            if (k._-1V2 == false)
            {
                k._-1V2 = true;
                this._-513.communication._-4gR(null).send(new _-0dZ(_arg1));
                this._-4NW = _arg1;
                this._-0g0();
            };
        }
        public function _-0w6(_arg1:int, _arg2:Boolean=false):void
        {
            var k:_-1OA = this._-3hJ(_arg1);
            if (k != null)
            {
                if (k._-1V2 == true)
                {
                    k._-1V2 = false;
                    if (_arg2)
                    {
                        this._-513.communication._-4gR(null).send(new _-0dZ(-1));
                        this._-4NW = -1;
                    };
                    this._-0g0();
                };
            };
        }
        public function _-0DD(_arg1:Boolean=true, _arg2:Boolean=true, _arg3:Boolean=false):void
        {
            var k:_-1OA;
            var k:int;
            while (k < this._-Xa.length)
            {
                k = this._-Xa[k];
                k._-1V2 = false;
                k++;
            };
            if (_arg1)
            {
                this._-513.communication._-4gR(null).send(new _-0dZ(-1));
            };
            if (_arg2)
            {
                this._-0g0();
            };
            if (_arg3)
            {
                this._-4NW = -1;
            };
        }
        public function _-2TW(_arg1:int):void
        {
            var k:_-1OA = this._-3hJ(_arg1);
            if (k != null)
            {
                if (k._-vX)
                {
                    this.setEffectDeselected(_arg1);
                }
                else
                {
                    this.setEffectSelected(_arg1);
                };
                this._-0g0();
            };
        }
        public function _-IC(_arg1:int):_-47i
        {
            return ((this._-3hJ(_arg1) as _-47i));
        }
        public function setEffectSelected(_arg1:int):void
        {
            var k:_-1OA = this._-3hJ(_arg1);
            if (k != null)
            {
                this._-0iM(false);
                k._-vX = true;
                this._-0g0();
            };
        }
        public function setEffectDeselected(_arg1:int):void
        {
            var k:_-1OA = this._-3hJ(_arg1);
            if (k != null)
            {
                k._-vX = false;
                this._-0g0();
            };
        }
        private function _-0iM(_arg1:Boolean=true):void
        {
            var k:_-1OA;
            var k:int;
            while (k < this._-Xa.length)
            {
                k = this._-Xa[k];
                k._-vX = false;
                k++;
            };
            if (_arg1)
            {
                this._-0g0();
            };
        }
        public function _-3ji(_arg1:int=-1):_-1OA
        {
            var k:_-1OA;
            var k:Array = this._-0fP(_arg1);
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                if (k._-vX)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        private function _-0cc(_arg1:int, _arg2:int=-1):int
        {
            var k:Array;
            var k:int;
            var k:_-1OA;
            var k:_-1OA = this._-3hJ(_arg1);
            if (k != null)
            {
                k = this._-0fP(_arg2);
                k = 0;
                while (k < k.length)
                {
                    k = k[k];
                    if (k.type == _arg1)
                    {
                        return (k);
                    };
                    k++;
                };
            };
            return (-1);
        }
        public function _-0fP(_arg1:int=-1):Array
        {
            var k:_-1OA;
            var k:Array = new Array();
            var k:int;
            while (k < this._-Xa.length)
            {
                k = this._-Xa[k];
                if (((((((k._-3Cm) && ((_arg1 == 1)))) || (((!(k._-3Cm)) && ((_arg1 == 0)))))) || ((_arg1 == -1))))
                {
                    k.push(k);
                };
                k++;
            };
            return (k);
        }
        public function _-2nm(_arg1:int):void
        {
            this._-4NW = -1;
            var k:_-1OA = this._-3hJ(_arg1);
            if (k != null)
            {
                if (k._-1p6 > 1)
                {
                    k._-hG();
                    this._-0g0();
                }
                else
                {
                    this._-0Cp(k.type);
                };
            };
        }
        public function _-4RF(_arg1:int, _arg2:int=-1):_-1OA
        {
            var k:Array = this._-0fP(_arg2);
            if ((((_arg1 < 0)) || ((_arg1 >= k.length))))
            {
                return (null);
            };
            var k:_-1OA = k[_arg1];
            return (k);
        }
        public function getWindowContainer():IWindowContainer
        {
            return (this._-Ke.getWindowContainer());
        }
        public function _-3mZ():void
        {
        }
        public function _-3NF(_arg1:String):void
        {
        }
        public function _-0-Y():void
        {
            if (this._-4NW != -1)
            {
                this._-3eP(this._-4NW);
            };
        }

    }
}//package _-1fM

//------------------------------------------------------------
//_-1fM.EffectsView

package _-1fM
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-3rG.ThumbListManager;
    import _-295._-2kE;
    import _-295._-243;
    import _-1ae.IBitmapWrapperWindow;
    import _-3X8._-0hg;
    import _-3rG._-1xn;
    import flash.display.BitmapData;
    import _-1ae.IButtonWindow;
    import _-1ae.ITextWindow;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-3Zp.*;

    public class EffectsView implements _-3Nt 
    {

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-Ke:IWindowContainer;
        private var _-3n-:EffectsModel;
        private var _-2l4:ThumbListManager;
        private var _-2wL:ThumbListManager;
        private var _disposed:Boolean = false;

        public function EffectsView(_arg1:EffectsModel, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-1xn, _arg6:_-1xn)
        {
            this._-3n- = _arg1;
            this._-AV = _arg3;
            this._-U- = _arg2;
            var k:_-2kE = this._-AV.getAssetByName("inventory_effects_xml");
            var k:_-243 = _-243(k);
            this._-Ke = IWindowContainer(this._-U-.buildFromXML(XML(k.content)));
            this._-Ke.visible = false;
            this._-Ke.procedure = this._-3kk;
            this._-2l4 = new ThumbListManager(this._-AV, _arg5, "thumb_bg_png", "thumb_bg_selected_png", this._-0rK(), this._-4u0());
            this._-2wL = new ThumbListManager(this._-AV, _arg6, "thumb_bg_png", "thumb_bg_selected_png", this._-0rK(), this._-4u0());
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("active_items_image") as IBitmapWrapperWindow);
            k.procedure = this._-53y;
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("inactive_items_image") as IBitmapWrapperWindow);
            k.procedure = this._-3Sh;
            this._-Ke.procedure = this._-3kk;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-U- = null;
                this._-3n- = null;
                this._-Ke = null;
                if (this._-2l4 != null)
                {
                    this._-2l4.dispose();
                    this._-2l4 = null;
                };
                if (this._-2wL != null)
                {
                    this._-2wL.dispose();
                    this._-2wL = null;
                };
                this._disposed = true;
            };
        }
        public function _-0rK():int
        {
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("active_items_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return (0);
            };
            return (k.width);
        }
        public function _-4u0():int
        {
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("active_items_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return (0);
            };
            return (k.height);
        }
        public function _-5DS():int
        {
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("inactive_items_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return (0);
            };
            return (k.width);
        }
        public function _-15i():int
        {
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("inactive_items_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return (0);
            };
            return (k.height);
        }
        public function getWindowContainer():IWindowContainer
        {
            if (this._-Ke == null)
            {
                return (null);
            };
            if (this._-Ke.disposed)
            {
                return (null);
            };
            return (this._-Ke);
        }
        public function _-1Kz():void
        {
            if (this._-Ke == null)
            {
                return;
            };
            if (this._-Ke.disposed)
            {
                return;
            };
            this._-2wL._-2Au();
            this._-2l4._-2Au();
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("inactive_items_image") as IBitmapWrapperWindow);
            var k:BitmapData = this._-2wL._-03z();
            k.bitmap = k;
            k.width = k.width;
            k.height = k.height;
            k.invalidate();
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("active_items_image") as IBitmapWrapperWindow);
            var k:BitmapData = this._-2l4._-03z();
            k.bitmap = k;
            k.width = k.width;
            k.height = k.height;
            k.invalidate();
        }
        public function _-2Cn():void
        {
            if (this._-Ke == null)
            {
                return;
            };
            if (this._-Ke.disposed)
            {
                return;
            };
            var k:IButtonWindow = (this._-Ke.findChildByName("activateEffect_button") as IButtonWindow);
            var k:ITextWindow = (this._-Ke.findChildByName("effectDescriptionText") as ITextWindow);
            if (k == null)
            {
                return;
            };
            if (k == null)
            {
                return;
            };
            var k:_-1OA = this._-3n-._-3ji(-1);
            if (k == null)
            {
                k.disable();
                this._-4MA(null);
                k.text = "${inventory.effects.defaultdescription}";
            }
            else
            {
                if (k._-3Cm)
                {
                    k.disable();
                    this._-4MA(k._-3VJ);
                    k.text = "${inventory.effects.active}";
                    this._-U-.registerLocalizationParameter("inventory.effects.active", "timeleft", this._-38x(k._-51V));
                    this._-U-.registerLocalizationParameter("inventory.effects.active", "duration", this._-38x(k.duration));
                    this._-U-.registerLocalizationParameter("inventory.effects.active", "itemcount", String(k._-1p6));
                }
                else
                {
                    k.enable();
                    this._-4MA(k._-3VJ);
                    k.text = "${inventory.effects.inactive}";
                    this._-U-.registerLocalizationParameter("inventory.effects.inactive", "duration", this._-38x(k.duration));
                    this._-U-.registerLocalizationParameter("inventory.effects.inactive", "itemcount", String(k._-1p6));
                };
            };
        }
        private function _-4MA(_arg1:BitmapData):void
        {
            if (this._-Ke == null)
            {
                return;
            };
            if (this._-Ke.disposed)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("effectDescriptionImage") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            if (k.bitmap == null)
            {
                k.bitmap = new BitmapData(k.width, k.height, false);
            };
            if (_arg1 == null)
            {
                k = new BitmapData(k.width, k.height);
            };
            var k:Point = new Point(((k.width - _arg1.width) / 2), ((k.height - _arg1.height) / 2));
            k.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, false);
            k.invalidate();
        }
        private function _-38x(_arg1:int):String
        {
            var k:int = Math.floor(((_arg1 / 60) / 60));
            var k:int = Math.floor(((_arg1 - ((k * 60) * 60)) / 60));
            var k:int = ((_arg1 - ((k * 60) * 60)) - (k * 60));
            var k:String = "";
            if (k > 0)
            {
                k = (k + ":");
            };
            k = (((k)<10) ? ((k + "0") + k) : (k + k));
            k = (k + ":");
            k = (((k)<10) ? ((k + "0") + k) : (k + k));
            return (k);
        }
        private function _-53y(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Point;
            var k:int;
            var k:_-1OA;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = new Point(WindowMouseEvent(_arg1).localX, WindowMouseEvent(_arg1).localY);
                k = this._-2l4._-1-4(k);
                k = this._-3n-._-4RF(k, 1);
                if (k != null)
                {
                    this._-3n-._-2TW(k.type);
                };
            };
        }
        private function _-3Sh(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Point;
            var k:int;
            var k:_-1OA;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = new Point(WindowMouseEvent(_arg1).localX, WindowMouseEvent(_arg1).localY);
                k = this._-2wL._-1-4(k);
                k = this._-3n-._-4RF(k, 0);
                if (k != null)
                {
                    this._-3n-._-2TW(k.type);
                };
            };
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1OA;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "activateEffect_button")
                {
                    k = this._-3n-._-3ji(0);
                    if (k != null)
                    {
                        this._-3n-._-1lF(k.type);
                    };
                };
            };
        }

    }
}//package _-1fM

//------------------------------------------------------------
//_-1g9._-1gw

package _-1g9
{
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowEvent;
    import _-0jG._-5i;
    import _-OR.Triggerable;
    import _-1ae.ITextFieldWindow;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class _-1gw extends _-Nd 
    {

        private var _cont:IWindowContainer;

        override public function get code():int
        {
            return (_-CH._-4mr);
        }
        override public function readStringParamFromForm(_arg1:IWindowContainer):String
        {
            var k:String = this._-gj().text;
            return (((this._-wv()._-vX) ? k : ""));
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._cont = _arg1;
            this._-wv().addEventListener(WindowEvent._-0P3, this._-XC);
            this._-wv().addEventListener(WindowEvent._-4Yk, this._-0Ax);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            if (_arg2._-2f6 != "")
            {
                this._-1Zi().setSelected(this._-wv());
                this._-gj().text = _arg2._-2f6;
                this._-gj().visible = true;
            }
            else
            {
                this._-1Zi().setSelected(this._-1S5());
                this._-gj().text = "";
                this._-gj().visible = false;
            };
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj():ITextFieldWindow
        {
            return (ITextFieldWindow(this._cont.findChildByName("avatar_name_txt")));
        }
        private function _-wv():IRadioButtonWindow
        {
            return (IRadioButtonWindow(this._cont.findChildByName("certain_avatar_radio")));
        }
        private function _-1S5():IRadioButtonWindow
        {
            return (IRadioButtonWindow(this._cont.findChildByName("any_avatar_radio")));
        }
        private function _-1Zi():ISelectorWindow
        {
            return (ISelectorWindow(this._cont.findChildByName("avatar_radio")));
        }
        private function _-XC(_arg1:WindowEvent):void
        {
            this._-gj().visible = true;
        }
        private function _-0Ax(_arg1:WindowEvent):void
        {
            this._-gj().text = "";
            this._-gj().visible = false;
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-1vA

package _-1g9
{
    import _-4dT._-lc;
    import _-OR._-2uu;
    import _-OR.Triggerable;
    import _-4dT.*;

    public class _-1vA implements _-2qQ 
    {

        private var _-477:Array;

        public function _-1vA()
        {
            this._-477 = new Array();
            super();
            this._-477.push(new AvatarSaysSomething());
            this._-477.push(new _-45l());
            this._-477.push(new _-bV());
            this._-477.push(new TriggerOnce());
            this._-477.push(new _-1WN());
            this._-477.push(new TriggerPeriodically());
            this._-477.push(new _-1gw());
            this._-477.push(new _-1Yv());
            this._-477.push(new _-450());
            this._-477.push(new ScoreAchieved());
            this._-477.push(new _-4v-());
            this._-477.push(new _-dZ());
        }
        public function get _-04w():Array
        {
            return (this._-477);
        }
        public function _-2Jx(_arg1:int):_-4X6
        {
            var k:_-4X6;
            for each (k in this._-477)
            {
                if (k.code == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-1xE(_arg1:int):_-lc
        {
            return (this._-2Jx(_arg1));
        }
        public function _-rc(_arg1:Triggerable):Boolean
        {
            return (!(((_arg1 as _-2uu) == null)));
        }
        public function getKey():String
        {
            return ("trigger");
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-1WN

package _-1g9
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-1WN extends _-Nd 
    {

        override public function get code():int
        {
            return (_-CH._-0ZV);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-2JR);
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-1Yv

package _-1g9
{
    public class _-1Yv extends _-Nd 
    {

        override public function get code():int
        {
            return (_-CH._-3-L);
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-450

package _-1g9
{
    public class _-450 extends _-Nd 
    {

        override public function get code():int
        {
            return (_-CH._-19Z);
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-45l

package _-1g9
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-45l extends _-Nd 
    {

        override public function get code():int
        {
            return (_-CH._-2Cd);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-2JR);
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-4v-

package _-1g9
{
    public class _-4v- extends _-Nd 
    {

        override public function get code():int
        {
            return (_-CH._-1pJ);
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-4X6

package _-1g9
{
    import _-4dT.*;

    public interface _-4X6 extends _-lc 
    {

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-bV

package _-1g9
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-bV extends _-Nd 
    {

        override public function get code():int
        {
            return (_-CH._-3H);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-2JR);
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-CH

package _-1g9
{
    public class _-CH 
    {

        public static var _-54N:int = 0;
        public static var _-2Cd:int = 1;
        public static var _-3H:int = 2;
        public static var _-2fq:int = 3;
        public static var _-0ZV:int = 4;
        public static var _-GB:int = 6;
        public static var _-4mr:int = 7;
        public static var _-3-L:int = 8;
        public static var _-19Z:int = 9;
        public static var _-3Ib:int = 10;
        public static var _-1pJ:int = 11;
        public static var _-3hA:int = 12;

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-dZ

package _-1g9
{
    public class _-dZ extends _-Nd 
    {

        override public function get code():int
        {
            return (_-CH._-1pJ);
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9._-Nd

package _-1g9
{
    import _-4dT._-1GI;

    public class _-Nd extends _-1GI implements _-4X6 
    {

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9.AvatarSaysSomething

package _-1g9
{
    import _-Ew.IWindowContainer;
    import _-0jG._-5i;
    import _-OR.Triggerable;
    import _-1ae.ITextFieldWindow;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class AvatarSaysSomething extends _-Nd 
    {

        override public function get code():int
        {
            return (_-CH._-54N);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(((this._-41F(_arg1)._-vX) ? 1 : 0));
            return (k);
        }
        override public function readStringParamFromForm(_arg1:IWindowContainer):String
        {
            return (this._-gj(_arg1).text);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            _arg1.findChildByName("me_txt").caption = _arg2.userName;
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            this._-gj(_arg1).text = _arg2._-2f6;
            if ((((_arg2._-2Hj.length > 0)) && ((_arg2._-2Hj[0] == 1))))
            {
                this._-1Zi(_arg1).setSelected(this._-41F(_arg1));
            }
            else
            {
                this._-1Zi(_arg1).setSelected(this._-1S5(_arg1));
            };
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):ITextFieldWindow
        {
            var k:ITextFieldWindow = ITextFieldWindow(_arg1.findChildByName("chat_txt"));
            return (k);
        }
        private function _-1S5(_arg1:IWindowContainer):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName("any_avatar_radio")));
        }
        private function _-41F(_arg1:IWindowContainer):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName("me_radio")));
        }
        private function _-1Zi(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("avatar_radio")));
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9.ScoreAchieved

package _-1g9
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;

    public class ScoreAchieved extends _-Nd 
    {

        private var _-07:_-5i;
        private var _-4y9:_-4Vz;

        override public function get code():int
        {
            return (_-CH._-3Ib);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-4y9.getValue());
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-4y9 = new _-4Vz(_arg2, this._-gj(_arg1), _arg2.assets, 1, 1000, 1);
            this._-4y9._-4R2(1);
            this._-4y9.addEventListener(Event.CHANGE, this._-2u4);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            this._-4y9._-4R2(k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("score_slider_cont") as IWindowContainer));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    this._-07.localization.registerParameter("wiredfurni.params.setscore", "points", ("" + k));
                };
            };
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9.TriggerOnce

package _-1g9
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;

    public class TriggerOnce extends _-Nd 
    {

        private var _-07:_-5i;
        private var _-4y9:_-4Vz;

        public static function _-4Et(_arg1:int):String
        {
            var k:int = Math.floor((_arg1 / 2));
            if ((_arg1 % 2) == 0)
            {
                return (("" + k));
            };
            return ((k + ".5"));
        }

        override public function get code():int
        {
            return (_-CH._-2fq);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-4y9.getValue());
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-4y9 = new _-4Vz(_arg2, this._-gj(_arg1), _arg2.assets, 1, 1200, 1);
            this._-4y9._-4R2(1);
            this._-4y9.addEventListener(Event.CHANGE, this._-2u4);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            this._-4y9._-4R2(k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("slider_container") as IWindowContainer));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            var k:String;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    k = TriggerOnce._-4Et(k);
                    this._-07.localization.registerParameter("wiredfurni.params.settime", "seconds", k);
                };
            };
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1g9.TriggerPeriodically

package _-1g9
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;

    public class TriggerPeriodically extends _-Nd 
    {

        private var _-07:_-5i;
        private var _-4y9:_-4Vz;

        override public function get code():int
        {
            return (_-CH._-GB);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-4y9.getValue());
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-4y9 = new _-4Vz(_arg2, this._-gj(_arg1), _arg2.assets, 1, 120, 1);
            this._-4y9._-4R2(1);
            this._-4y9.addEventListener(Event.CHANGE, this._-2u4);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            this._-4y9._-4R2(k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("slider_container") as IWindowContainer));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            var k:String;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    k = TriggerOnce._-4Et(k);
                    this._-07.localization.registerParameter("wiredfurni.params.settime", "seconds", k);
                };
            };
        }

    }
}//package _-1g9

//------------------------------------------------------------
//_-1Gd._-bI

package _-1Gd
{
    public class _-bI 
    {

        public static const _-0gS:String = "line";
        public static const _-rG:String = "spiral";
        public static const _-3RC:String = "animated";
        public static const _-2F6:String = "randomwalk";
        public static const _-3Ad:Class = LinearMovingBackgroundObject;
        public static const _-30k:Class = SpiralMovingBackgroundObject;
        public static const _-11x:Class = StaticAnimatedBackgroundObject;
        public static const _-25Y:Class = RandomWalkMovingBackgroundObject;

    }
}//package _-1Gd

//------------------------------------------------------------
//_-1Gd._-Vf

package _-1Gd
{
    import _-Ew.IWindow;
    import flash.events.EventDispatcher;
    import _-1ae._-4mB;
    import _-Ew.IWindowContainer;
    import _-3Q9.HabboLandingView;
    import _-1B-.*;

    public class _-Vf implements _-1zZ, _-0gI 
    {

        private var _-0Kq:int;
        private var _-0xv:IWindow;
        private var _-2Te:EventDispatcher;
        private var _-6K:_-4mB;

        public function _-Vf(_arg1:int, _arg2:IWindowContainer, _arg3:EventDispatcher, _arg4:HabboLandingView, _arg5:String)
        {
            this._-0Kq = _arg1;
            this._-0xv = _arg2;
            this._-2Te = _arg3;
            this._-6K = _-4mB(_arg4.getXmlWindow("moving_object"));
            _arg2.addChild(this._-6K);
        }
        public function dispose():void
        {
            this._-0xv = null;
            this._-6K = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-0xv == null));
        }
        public function set sprite(_arg1:_-4mB):void
        {
            this._-6K = _arg1;
        }
        public function get sprite():_-4mB
        {
            return (this._-6K);
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        public function set window(_arg1:IWindow):void
        {
            this._-0xv = _arg1;
        }
        public function get events():EventDispatcher
        {
            return (this._-2Te);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function update(_arg1:uint):void
        {
            if (!this._-6K)
            {
                return;
            };
        }

    }
}//package _-1Gd

//------------------------------------------------------------
//_-1Gd.LinearMovingBackgroundObject

package _-1Gd
{
    import _-Ew.IWindowContainer;
    import flash.events.EventDispatcher;
    import _-3Q9.HabboLandingView;
    import _-2UF._-0ic;

    public class LinearMovingBackgroundObject extends _-Vf 
    {

        private var _-2CM:int;
        private var _-4CK:int;
        private var _-2U5:Number;
        private var _-1Gu:Number;
        private var _-0ir:Number;
        private var _-2RZ:Number;

        public function LinearMovingBackgroundObject(_arg1:int, _arg2:IWindowContainer, _arg3:EventDispatcher, _arg4:HabboLandingView, _arg5:String)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
            var k:Array = _arg5.split(";");
            var k:String = k[0];
            this._-2CM = int(k[2]);
            this._-4CK = int(k[3]);
            this._-0ir = Number(k[4]);
            this._-2RZ = Number(k[5]);
            this._-2U5 = this._-2CM;
            this._-1Gu = this._-4CK;
            sprite.assetUri = (("${image.library.url}reception/" + k) + ".png");
        }
        override public function update(_arg1:uint):void
        {
            super.update(_arg1);
            if (!sprite)
            {
                return;
            };
            var k:int = window.width;
            var k:int = window.height;
            this._-2U5 = (this._-2U5 + (_arg1 * this._-0ir));
            this._-1Gu = (this._-1Gu + (_arg1 * this._-2RZ));
            sprite.x = this._-2U5;
            sprite.y = (this._-1Gu + window.desktop.height);
            if ((((((((((this._-0ir > 0)) && ((sprite.x > k)))) || ((((this._-0ir < 0)) && (((sprite.x + sprite.width) < 0)))))) || ((((this._-2RZ > 0)) && ((sprite.y > k)))))) || ((((this._-2RZ < 0)) && (((sprite.y + sprite.height) < 0))))))
            {
                this._-2U5 = this._-2CM;
                this._-1Gu = this._-4CK;
                events.dispatchEvent(new _-0ic(_-0ic._-0kT, id));
            };
        }

    }
}//package _-1Gd

//------------------------------------------------------------
//_-1Gd.RandomWalkMovingBackgroundObject

package _-1Gd
{
    import _-Ew.IWindowContainer;
    import flash.events.EventDispatcher;
    import _-3Q9.HabboLandingView;
    import _-2ly._-0d3;
    import _-2UF._-0ic;

    public class RandomWalkMovingBackgroundObject extends _-Vf 
    {

        private var _-2CM:int;
        private var _-4CK:int;
        private var _-3tQ:Number;
        private var _-2uY:Number;
        private var _-0ir:Number;
        private var _-2RZ:Number;
        private var _-1AP:Number;
        private var _-2J0:uint = 0;
        private var _-2U5:Number;
        private var _-1Gu:Number;
        private var _-1Ek:Number = 0;
        private var _-1th:Number = 0;
        private var _-46-:Number = 0;
        private var _-2oy:Number = 0;
        private var _-0PH:uint;

        public function RandomWalkMovingBackgroundObject(_arg1:int, _arg2:IWindowContainer, _arg3:EventDispatcher, _arg4:HabboLandingView, _arg5:String)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
            var k:Array = _arg5.split(";");
            var k:String = k[0];
            this._-2CM = int(k[2]);
            this._-4CK = int(k[3]);
            this._-0ir = Number(k[4]);
            this._-2RZ = Number(k[5]);
            this._-3tQ = Number(k[6]);
            this._-2uY = Number(k[7]);
            this._-1AP = int(k[8]);
            this._-2U5 = this._-2CM;
            this._-1Gu = this._-4CK;
            sprite.assetUri = (("${image.library.url}" + k) + ".png");
        }
        override public function update(_arg1:uint):void
        {
            super.update(_arg1);
            if (!sprite)
            {
                return;
            };
            this._-2J0 = (this._-2J0 + _arg1);
            if ((this._-2J0 - this._-0PH) > this._-1AP)
            {
                this._-46- = this._-1Ek;
                this._-2oy = this._-1th;
                this._-1Ek = (((Math.random() * 2) - 1) * this._-3tQ);
                this._-1th = (((Math.random() * 2) - 1) * this._-2uY);
                this._-0PH = this._-2J0;
            };
            var k:int = window.width;
            var k:int = window.height;
            var k:Number = (Number((this._-2J0 - this._-0PH)) / this._-1AP);
            this._-2U5 = (this._-2U5 + ((_arg1 / 1000) * (this._-0ir + _-0d3._-1SO(k, this._-46-, this._-1Ek))));
            this._-1Gu = (this._-1Gu + ((_arg1 / 1000) * (this._-2RZ + _-0d3._-1SO(k, this._-2oy, this._-1th))));
            sprite.x = this._-2U5;
            sprite.y = this._-1Gu;
            if ((((((((((this._-0ir > 0)) && ((sprite.x > k)))) || ((((this._-0ir < 0)) && (((sprite.x + sprite.width) < 0)))))) || ((((this._-2RZ > 0)) && ((sprite.y > k)))))) || ((((this._-2RZ < 0)) && (((sprite.y + sprite.height) < 0))))))
            {
                this._-2U5 = this._-2CM;
                this._-1Gu = this._-4CK;
                events.dispatchEvent(new _-0ic(_-0ic._-0kT, id));
            };
        }

    }
}//package _-1Gd

//------------------------------------------------------------
//_-1Gd.SpiralMovingBackgroundObject

package _-1Gd
{
    import _-Ew.IWindowContainer;
    import flash.events.EventDispatcher;
    import _-3Q9.HabboLandingView;
    import _-2UF._-0ic;
    import _-09j._-az;

    public class SpiralMovingBackgroundObject extends _-Vf 
    {

        private var _-1KS:int;
        private var _-4qQ:int;
        private var _-0OD:Number;
        private var _-49P:Number;
        private var _-ip:Number;
        private var _-21S:Number;
        private var _-07J:Number;
        private var _-Fo:Number;

        public function SpiralMovingBackgroundObject(_arg1:int, _arg2:IWindowContainer, _arg3:EventDispatcher, _arg4:HabboLandingView, _arg5:String)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
            var k:Array = _arg5.split(";");
            var k:String = k[0];
            this._-1KS = int(k[2]);
            this._-4qQ = int(k[3]);
            this._-ip = Number(k[4]);
            this._-21S = Number(k[5]);
            this._-07J = Number(k[6]);
            this._-Fo = Number(k[7]);
            this._-0OD = this._-1KS;
            this._-49P = this._-4qQ;
            sprite.assetUri = (("${image.library.url}reception/" + k) + ".png");
        }
        override public function update(_arg1:uint):void
        {
            super.update(_arg1);
            var k:Number = (this._-1KS / this._-0OD);
            var k:Number = (1 + ((this._-1KS / this._-0OD) / 8));
            this._-0OD = (this._-0OD + (_arg1 * this._-ip));
            this._-49P = (this._-49P + ((_arg1 * this._-21S) * k));
            if (sprite.bitmapData)
            {
                if (this._-0OD <= 0)
                {
                    this._-0OD = this._-1KS;
                    sprite.width = sprite.bitmapData.width;
                    sprite.height = sprite.bitmapData.height;
                    events.dispatchEvent(new _-0ic(_-0ic._-0kT, id));
                };
            };
            if (this._-0OD > this._-1KS)
            {
                this._-0OD = 0;
                sprite.width = 0;
                sprite.height = 0;
                events.dispatchEvent(new _-0ic(_-0ic._-0kT, id));
            };
            if (this._-49P < 0)
            {
                this._-49P = (Math.PI * 2);
            };
            if (this._-49P > (Math.PI * 2))
            {
                this._-49P = 0;
            };
            sprite.x = (this._-07J + (Math.sin(this._-49P) * this._-0OD));
            sprite.y = (this._-Fo + (Math.cos(this._-49P) * this._-0OD));
            if (sprite.bitmapData)
            {
                sprite.pivotPoint = _-az.CENTER;
                sprite.stretchedX = true;
                sprite.stretchedY = true;
                sprite.width = (sprite.bitmapData.width / k);
                sprite.height = (sprite.bitmapData.height / k);
            };
        }

    }
}//package _-1Gd

//------------------------------------------------------------
//_-1Gd.StaticAnimatedBackgroundObject

package _-1Gd
{
    import _-2UF._-0ic;
    import _-Ew.IWindowContainer;
    import flash.events.EventDispatcher;
    import _-3Q9.HabboLandingView;

    public class StaticAnimatedBackgroundObject extends _-Vf 
    {

        private var _-2qh:uint = 0;
        private var _-J8:String;
        private var _-hl:int;
        private var _-1Qy:int;
        private var _-2U5:int;
        private var _-1Gu:int;
        private var _-0Dk:Array;
        private var _-4DT:uint = 0;

        public function StaticAnimatedBackgroundObject(_arg1:int, _arg2:IWindowContainer, _arg3:EventDispatcher, _arg4:HabboLandingView, _arg5:String)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
            var k:Array = _arg5.split(";");
            this._-J8 = ("${image.library.url}reception/" + k[0]);
            this._-hl = int(k[2]);
            this._-1Qy = int(k[3]);
            this._-2U5 = int(k[4]);
            this._-1Gu = int(k[5]);
            this._-0Dk = String(k[6]).split(",");
            _arg3.addEventListener(_-0ic._-0kT, this._-3eN);
            sprite.x = this._-2U5;
            sprite.y = this._-1Gu;
        }
        override public function dispose():void
        {
            events.removeEventListener(_-0ic._-0kT, this._-3eN);
            super.dispose();
        }
        override public function update(_arg1:uint):void
        {
            super.update(_arg1);
            var k:int = (1000 / this._-1Qy);
            var k:uint = (this._-2qh - this._-4DT);
            var k:int = (this._-hl - 1);
            if (this._-0Dk.length > 0)
            {
                if (k < (this._-hl * k))
                {
                    k = (k / k);
                };
            }
            else
            {
                k = (this._-2qh % k);
            };
            sprite.assetUri = ((this._-J8 + (k + 1)) + ".png");
            this._-2qh = (this._-2qh + _arg1);
        }
        private function _-3eN(_arg1:_-0ic):void
        {
            if (this._-0Dk.indexOf(_arg1._-mx.toString()) != -1)
            {
                this._-4DT = this._-2qh;
            };
        }

    }
}//package _-1Gd

//------------------------------------------------------------
//_-1gE._-0dy

package _-1gE
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-0dy extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-0lr);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-4zI);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-0sl

package _-1gE
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-0sl extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-1yv);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-2JR);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-1cx

package _-1gE
{
    public class _-1cx 
    {

        public static var _-2WL:int = 0;
        public static var _-D5:int = 1;
        public static var _-4qp:int = 3;
        public static var _-vS:int = 4;
        public static var _-2hQ:int = 6;
        public static var _-TY:int = 7;
        public static var _-1yv:int = 8;
        public static var _-19D:int = 9;
        public static var _-4xT:int = 10;
        public static var _-0yz:int = 11;
        public static var _-0lr:int = 12;
        public static var _-4s4:int = 13;
        public static var _-3CO:int = 14;
        public static var _-3cb:int = 15;
        public static var _-3O6:int = 16;
        public static var _-3t5:int = 17;

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-1o3

package _-1gE
{
    import _-4dT.UserDefinedRoomEventsCtrl;
    import _-Ew.IWindowContainer;
    import _-OR.Triggerable;
    import _-1ae.ICheckBoxWindow;

    public class _-1o3 extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-4qp);
        }
        override public function get allowDelaying():Boolean
        {
            return (true);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-3je);
        }
        override public function get hasStateSnapshot():Boolean
        {
            return (true);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            this.select(this._-1lU(_arg1), _arg2.getBoolean(0));
            this.select(this._-3gL(_arg1), _arg2.getBoolean(1));
            this.select(this._-3PG(_arg1), _arg2.getBoolean(2));
        }
        private function select(_arg1:ICheckBoxWindow, _arg2:Boolean):void
        {
            if (_arg2)
            {
                _arg1.select();
            }
            else
            {
                _arg1._-5Aq();
            };
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-4sN(this._-1lU(_arg1)));
            k.push(this._-4sN(this._-3gL(_arg1)));
            k.push(this._-4sN(this._-3PG(_arg1)));
            return (k);
        }
        private function _-4sN(_arg1:ICheckBoxWindow):int
        {
            return (((_arg1._-vX) ? 1 : 0));
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-1lU(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("include_state_checkbox")));
        }
        private function _-3gL(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("include_rotation_checkbox")));
        }
        private function _-3PG(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("include_location_checkbox")));
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-21d

package _-1gE
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-21d extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-2WL);
        }
        override public function get allowDelaying():Boolean
        {
            return (true);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-4zI);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-2qk

package _-1gE
{
    import _-4dT._-1GI;

    public class _-2qk extends _-1GI implements ActionType 
    {

        public function get allowDelaying():Boolean
        {
            return (false);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-3Ew

package _-1gE
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-3Ew extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-0yz);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-4zI);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-3f5

package _-1gE
{
    import _-Ew.IWindowContainer;
    import _-OR.Triggerable;
    import _-1ae.ITextFieldWindow;
    import _-0jG._-5i;

    public class _-3f5 extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-TY);
        }
        override public function readStringParamFromForm(_arg1:IWindowContainer):String
        {
            var k:String = this._-gj(_arg1).text;
            return (k);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            this._-gj(_arg1).text = _arg2._-2f6;
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):ITextFieldWindow
        {
            var k:ITextFieldWindow = ITextFieldWindow(_arg1.findChildByName("chat_message"));
            return (k);
        }
        override public function validate(_arg1:IWindowContainer, _arg2:_-5i):String
        {
            var k:String;
            var k:int = 100;
            if (this._-gj(_arg1).text.length > k)
            {
                k = "wiredfurni.chatmsgtoolong";
                return (_arg2.localization.getKey(k, k));
            };
            return (null);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-4h4

package _-1gE
{
    import _-4dT._-lc;
    import _-OR.ActionDefinition;
    import _-OR.Triggerable;
    import _-4dT.*;

    public class _-4h4 implements _-2qQ 
    {

        private var _-4vT:Array;

        public function _-4h4()
        {
            this._-4vT = new Array();
            super();
            this._-4vT.push(new _-21d());
            this._-4vT.push(new _-4NA());
            this._-4vT.push(new _-1o3());
            this._-4vT.push(new MoveFurni());
            this._-4vT.push(new GiveScore());
            this._-4vT.push(new _-3f5());
            this._-4vT.push(new _-0sl());
            this._-4vT.push(new JoinTeam());
            this._-4vT.push(new _-4SZ());
            this._-4vT.push(new _-3Ew());
            this._-4vT.push(new _-0dy());
            this._-4vT.push(new MoveToDirection());
            this._-4vT.push(new GiveScoreToPredefinedTeam());
            this._-4vT.push(new _-He());
            this._-4vT.push(new MoveFurniTo());
            this._-4vT.push(new GiveReward());
        }
        public function get _-4u1():Array
        {
            return (this._-4vT);
        }
        public function _-2Jx(_arg1:int):ActionType
        {
            var k:ActionType;
            for each (k in this._-4vT)
            {
                if (k.code == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-1xE(_arg1:int):_-lc
        {
            return (this._-2Jx(_arg1));
        }
        public function _-rc(_arg1:Triggerable):Boolean
        {
            return (!(((_arg1 as ActionDefinition) == null)));
        }
        public function getKey():String
        {
            return ("action");
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-4NA

package _-1gE
{
    public class _-4NA extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-D5);
        }
        override public function get allowDelaying():Boolean
        {
            return (true);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-4SZ

package _-1gE
{
    public class _-4SZ extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-4xT);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE._-He

package _-1gE
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-He extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-3cb);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-4zI);
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE.ActionType

package _-1gE
{
    import _-4dT.*;

    public interface ActionType extends _-lc 
    {

        function get allowDelaying():Boolean;

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE.GiveReward

package _-1gE
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;
    import _-1ae.ITextFieldWindow;
    import _-1ae.ICheckBoxWindow;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0jG._-3UA;

    public class GiveReward extends _-2qk 
    {

        private const _-wB:int = 20;

        private var _-07:_-5i;
        private var _-O0:_-4Vz;
        private var _-3oX:int = 5;

        override public function get code():int
        {
            return (_-1cx._-3t5);
        }
        override public function validate(_arg1:IWindowContainer, _arg2:_-5i):String
        {
            var k:IWindowContainer;
            var k:String;
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("rewards_container"));
            var k:int;
            var k:int;
            while (k < k.numChildren)
            {
                k = IWindowContainer(k.getChildAt(k));
                if (k.visible)
                {
                    k = this._-1k-(k, this._-0AX(_arg1)._-vX);
                    if (k != null)
                    {
                        return (k);
                    };
                    k = (k + int(this._-536(k).text));
                };
                k++;
            };
            if (k > 100)
            {
                return ((("The sum of probabilities cannot exceed 100. You now have " + k) + "."));
            };
            return (null);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-UT(_arg1)._-WM().id);
            k.push(((this._-0AX(_arg1)._-vX) ? 1 : 0));
            k.push(((this._-2AS(_arg1)._-vX) ? this._-O0.getValue() : 0));
            return (k);
        }
        override public function readStringParamFromForm(_arg1:IWindowContainer):String
        {
            var k:IWindowContainer;
            var k:String;
            var k:String = "";
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("rewards_container"));
            var k:int;
            while (k < k.numChildren)
            {
                k = IWindowContainer(k.getChildAt(k));
                if (k.visible)
                {
                    k = this._-1nR(k);
                    if (k != null)
                    {
                        k = (k + ((((k == "")) ? "" : ";") + k));
                    };
                };
                k++;
            };
            return (k);
        }
        private function _-1k-(_arg1:IWindowContainer, _arg2:Boolean):String
        {
            var k:int;
            var k:String = this._-n4(_arg1).text;
            var k:String = this._-536(_arg1).text;
            if ((((k == "")) && ((k == ""))))
            {
                return (null);
            };
            if (k.indexOf(",") > 0)
            {
                return ("Product/badge codes must not contain ',' characters.");
            };
            if (k.indexOf(";") > 0)
            {
                return ("Product/badge codes must not contain ';' characters.");
            };
            var k:int = 100;
            if (k.length > k)
            {
                return ((("Product/badge codes cannot contain more than " + k) + " characters."));
            };
            if (k == "")
            {
                return ("Remember to define product/badge codes for all rewards (fill all fields or leave all fields empty).");
            };
            if (!_arg2)
            {
                if (k == "")
                {
                    return ("Remember to define probabilities for all rewards (fill all fields or leave all fields empty).");
                };
                if (isNaN(Number(k)))
                {
                    return ("Make sure are probabilities are numbers.");
                };
                k = int(k);
                if ((((k < 1)) || ((k > 100))))
                {
                    return ("Make sure all probabilities are numbers between 1 and 100.");
                };
            };
            return (null);
        }
        private function _-1nR(_arg1:IWindowContainer):String
        {
            var k:String = this._-n4(_arg1).text;
            var k:String = this._-536(_arg1).text;
            var k:Boolean = this._-0bZ(_arg1)._-vX;
            k = this._-cQ(k, ";", "");
            k = this._-cQ(k, ",", "");
            if (k == "")
            {
                return (null);
            };
            var k:int = ((isNaN(Number(k))) ? 0 : int(k));
            return (((((((k) ? "0" : "1") + ",") + k) + ",") + k));
        }
        private function _-Iu(_arg1:int, _arg2:IWindowContainer, _arg3:String):void
        {
            var k:Array = (((_arg3 == null)) ? new Array() : _arg3.split(","));
            this._-n4(_arg2).text = ((k[1]) ? k[1] : "");
            this._-536(_arg2).text = ((k[2]) ? k[2] : "");
            if (((k[0]) && ((k[0] == "0"))))
            {
                this._-0bZ(_arg2).select();
            }
            else
            {
                this._-0bZ(_arg2)._-5Aq();
            };
        }
        private function _-cQ(_arg1:String, _arg2:String, _arg3:String):String
        {
            var k:int = 100;
            while (_arg1.indexOf(_arg2) > -1)
            {
                k = _arg1.replace(_arg2, _arg3);
                k--;
                if (k < 1)
                {
                    break;
                };
            };
            return (_arg1);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            var k:IWindowContainer;
            this._-07 = _arg2;
            this._-O0 = new _-4Vz(_arg2, this._-4Vj(_arg1), _arg2.assets, 1, 1000, 1);
            this._-O0.addEventListener(Event.CHANGE, this._-2u4);
            this._-O0._-4R2(1);
            this._-2AS(_arg1).procedure = this._-MN;
            this._-0AX(_arg1).procedure = this._-47u;
            _arg1.findChildByName("add_reward_txt").procedure = this._-3C3;
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("rewards_container"));
            var k:int;
            while (k < this._-wB)
            {
                k = IWindowContainer(this._-07.getXmlWindow("ude_action_inputs_17_reward"));
                k.addChild(k);
                k.y = (k * 14);
                k.id = k;
                k++;
            };
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:IWindowContainer;
            var k:int = _arg2._-2Hj[0];
            this._-UT(_arg1).setSelected(this._-1q3(_arg1, k));
            var k = (_arg2._-2Hj[1] == 1);
            if (k)
            {
                this._-0AX(_arg1).select();
            }
            else
            {
                this._-0AX(_arg1)._-5Aq();
            };
            var k:int = _arg2._-2Hj[2];
            if (k > 0)
            {
                this._-O0._-4R2(k);
                this._-2AS(_arg1).select();
            }
            else
            {
                this._-2AS(_arg1)._-5Aq();
            };
            this._-1ww(_arg1);
            var k:Array = _arg2._-2f6.split(";");
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("rewards_container"));
            var k:int;
            while (k < this._-wB)
            {
                k = IWindowContainer(k.getChildAt(k));
                this._-Iu(k, k, k[k]);
                if (k[k])
                {
                    this._-3oX = (k + 1);
                };
                k++;
            };
            this._-301(_arg1);
            this._-2hs(_arg1);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-n4(_arg1:IWindowContainer):ITextFieldWindow
        {
            return (ITextFieldWindow(_arg1.findChildByName("reward_code_input")));
        }
        private function _-536(_arg1:IWindowContainer):ITextFieldWindow
        {
            return (ITextFieldWindow(_arg1.findChildByName("propability_input")));
        }
        private function _-0bZ(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("is_badge_checkbox")));
        }
        private function _-4Vj(_arg1:IWindowContainer):IWindowContainer
        {
            return (IWindowContainer(_arg1.findChildByName("slider_container")));
        }
        private function _-0AX(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("unique_prize_checkbox")));
        }
        private function _-2AS(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("prize_limit_checkbox")));
        }
        private function _-1q3(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("interval_" + _arg2) + "_radio"))));
        }
        private function _-UT(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("user_reward_interval_selector")));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    this._-1tM(("" + k));
                };
            };
        }
        private function _-MN(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-1ww(IWindowContainer(_arg2.parent));
            };
        }
        private function _-47u(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2hs(IWindowContainer(_arg2.parent));
            };
        }
        private function _-3C3(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-3oX++;
                this._-301(IWindowContainer(_arg2.parent.parent));
            };
        }
        private function _-1ww(_arg1:IWindowContainer):void
        {
            var k:Boolean = this._-2AS(_arg1)._-vX;
            _arg1.findChildByName("prize_limit_warning_txt").visible = !(k);
            this._-4Vj(_arg1).visible = k;
            this._-1tM(((k) ? ("" + this._-O0.getValue()) : ""));
        }
        private function _-1tM(_arg1:String):void
        {
            this._-07.localization.registerParameter("wiredfurni.params.prizelimit", "amount", _arg1);
        }
        private function _-301(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer;
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("rewards_container"));
            var k:int;
            while (k < this._-wB)
            {
                k = IWindowContainer(k.getChildAt(k));
                k.visible = (k < this._-3oX);
                k++;
            };
            k.height = _-3UA._-5DG(k);
            _arg1.height = _-3UA._-5DG(_arg1);
            this._-07._-0f3.refresh();
        }
        private function _-2hs(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer;
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("rewards_container"));
            var k:Boolean = this._-0AX(_arg1)._-vX;
            _arg1.findChildByName("propability_txt").visible = !(k);
            var k:int;
            while (k < this._-wB)
            {
                k = IWindowContainer(k.getChildAt(k));
                this._-536(k).visible = !(k);
                k++;
            };
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE.GiveScore

package _-1gE
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;

    public class GiveScore extends _-2qk 
    {

        private var _-07:_-5i;
        private var _-4y9:_-4Vz;
        private var _-5-v:_-4Vz;

        override public function get code():int
        {
            return (_-1cx._-2hQ);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-4y9.getValue());
            k.push(this._-5-v.getValue());
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-4y9 = new _-4Vz(_arg2, this._-gj(_arg1), _arg2.assets, 1, 100, 1);
            this._-4y9.addEventListener(Event.CHANGE, this._-2u4);
            this._-4y9._-4R2(1);
            this._-5-v = new _-4Vz(_arg2, this._-4U7(_arg1), _arg2.assets, 1, 10, 1);
            this._-5-v.addEventListener(Event.CHANGE, this._-1Ce);
            this._-5-v._-4R2(1);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            var k:int = _arg2._-2Hj[1];
            this._-4y9._-4R2(k);
            this._-5-v._-4R2(k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("slider_container") as IWindowContainer));
        }
        private function _-4U7(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("counter_slider_container") as IWindowContainer));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    this._-07.localization.registerParameter("wiredfurni.params.setpoints", "points", ("" + k));
                };
            };
        }
        private function _-1Ce(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    this._-07.localization.registerParameter("wiredfurni.params.settimesingame", "times", ("" + k));
                };
            };
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE.GiveScoreToPredefinedTeam

package _-1gE
{
    import _-Ew.IWindowContainer;
    import _-OR.Triggerable;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class GiveScoreToPredefinedTeam extends GiveScore 
    {

        override public function get code():int
        {
            return (_-1cx._-3CO);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            super.onEditStart(_arg1, _arg2);
            var k:int = _arg2._-2Hj[2];
            this._-30z(_arg1).setSelected(this._-rS(_arg1, k));
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = super.readIntParamsFromForm(_arg1);
            k.push(this._-30z(_arg1)._-WM().id);
            return (k);
        }
        private function _-rS(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("team_" + _arg2) + "_radio"))));
        }
        private function _-30z(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("team_selector")));
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE.JoinTeam

package _-1gE
{
    import _-Ew.IWindowContainer;
    import _-OR.Triggerable;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class JoinTeam extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-19D);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            this._-30z(_arg1).setSelected(this._-rS(_arg1, k));
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-30z(_arg1)._-WM().id);
            return (k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-rS(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("team_" + _arg2) + "_radio"))));
        }
        private function _-30z(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("team_selector")));
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE.MoveFurni

package _-1gE
{
    import _-4dT.UserDefinedRoomEventsCtrl;
    import _-Ew.IWindowContainer;
    import _-0jG._-5i;
    import _-OR.Triggerable;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class MoveFurni extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-vS);
        }
        override public function get allowDelaying():Boolean
        {
            return (true);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-4zI);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            _arg2.refreshButton(_arg1, "move_0", true, null, 0);
            _arg2.refreshButton(_arg1, "move_2", true, null, 0);
            _arg2.refreshButton(_arg1, "move_4", true, null, 0);
            _arg2.refreshButton(_arg1, "move_6", true, null, 0);
            _arg2.refreshButton(_arg1, "move_diag", true, null, 0);
            _arg2.refreshButton(_arg1, "move_rnd", true, null, 0);
            _arg2.refreshButton(_arg1, "move_vrt", true, null, 0);
            _arg2.refreshButton(_arg1, "rotate_ccw", true, null, 0);
            _arg2.refreshButton(_arg1, "rotate_cw", true, null, 0);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            var k:int = _arg2._-2Hj[1];
            this._-1pa(_arg1).setSelected(this._-1Mw(_arg1, k));
            this._-2jG(_arg1).setSelected(this._-27z(_arg1, k));
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            var k:int = this._-1pa(_arg1)._-WM().id;
            var k:int = this._-2jG(_arg1)._-WM().id;
            k.push(k);
            k.push(k);
            return (k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-1Mw(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("move_" + _arg2) + "_radio"))));
        }
        private function _-27z(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("rotate_" + _arg2) + "_radio"))));
        }
        private function _-1pa(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("move_selector")));
        }
        private function _-2jG(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("rotate_selector")));
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE.MoveFurniTo

package _-1gE
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-4dT.UserDefinedRoomEventsCtrl;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class MoveFurniTo extends _-2qk 
    {

        private var _-07:_-5i;
        private var _-4y9:_-4Vz;

        override public function get code():int
        {
            return (_-1cx._-3O6);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-2JR);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-4ly(_arg1)._-WM().id);
            k.push(int(this._-4y9.getValue()));
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-4y9 = new _-4Vz(_arg2, this._-gj(_arg1), _arg2.assets, 1, 5, 1);
            this._-4y9._-4R2(1);
            this._-4y9.addEventListener(Event.CHANGE, this._-2u4);
            _arg2.refreshButton(_arg1, "move_0", true, null, 0);
            _arg2.refreshButton(_arg1, "move_2", true, null, 0);
            _arg2.refreshButton(_arg1, "move_4", true, null, 0);
            _arg2.refreshButton(_arg1, "move_6", true, null, 0);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            this._-4ly(_arg1).setSelected(this._-2wT(_arg1, k));
            this._-4y9._-4R2(_arg2._-2Hj[1]);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("slider_container") as IWindowContainer));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    this._-07.localization.registerParameter("wiredfurni.params.emptytiles", "tiles", ("" + k));
                };
            };
        }
        private function _-2wT(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("direction_" + _arg2) + "_radio"))));
        }
        private function _-4ly(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("direction_selector")));
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1gE.MoveToDirection

package _-1gE
{
    import _-4dT.UserDefinedRoomEventsCtrl;
    import _-Ew.IWindowContainer;
    import _-0jG._-5i;
    import _-OR.Triggerable;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class MoveToDirection extends _-2qk 
    {

        override public function get code():int
        {
            return (_-1cx._-4s4);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-4zI);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            _arg2.refreshButton(_arg1, "move_0", true, null, 0);
            _arg2.refreshButton(_arg1, "move_2", true, null, 0);
            _arg2.refreshButton(_arg1, "move_4", true, null, 0);
            _arg2.refreshButton(_arg1, "move_6", true, null, 0);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            var k:int = _arg2._-2Hj[1];
            this._-1cP(_arg1).setSelected(this._-2uS(_arg1, k));
            this._-2o0(_arg1).setSelected(this._-4cq(_arg1, k));
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-1cP(_arg1)._-WM().id);
            k.push(this._-2o0(_arg1)._-WM().id);
            return (k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-2uS(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("startdir_" + _arg2) + "_radio"))));
        }
        private function _-4cq(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("turn_" + _arg2) + "_radio"))));
        }
        private function _-1cP(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("startdir_selector")));
        }
        private function _-2o0(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("turn_selector")));
        }

    }
}//package _-1gE

//------------------------------------------------------------
//_-1Gv._-1z2

package _-1Gv
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1z2 implements _-58N 
    {

        private var _-2PS:String = "";
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get roomType():String
        {
            return (this._-2PS);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-2PS = "";
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2PS = _arg1.readString();
            this._-1Rt = _arg1._-2BW();
            if (this._-2PS.indexOf("model_") < 0)
            {
                this._-0wA = 1;
            };
            return (true);
        }

    }
}//package _-1Gv

//------------------------------------------------------------
//_-1H6._-4DZ

package _-1H6
{
    import flash.events.Event;
    import flash.display.BitmapData;

    public class _-4DZ extends Event 
    {

        public static const _-1Ss:String = "AE_INTERSTITIAL_SHOW";
        public static const _-UG:String = "AE_INTERSTITIAL_COMPLETE";

        private var _-4Gj:BitmapData;
        private var _-4L-:String;

        public function _-4DZ(_arg1:String, _arg2:BitmapData=null, _arg3:String="", _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function get _-eO():String
        {
            return (this._-4L-);
        }

    }
}//package _-1H6

//------------------------------------------------------------
//_-1H6._-z2

package _-1H6
{
    import flash.events.Event;
    import flash.display.BitmapData;

    public class _-z2 extends Event 
    {

        public static const _-3gk:String = "AE_ROOM_AD_IMAGE_LOADED";
        public static const _-1BR:String = "AE_ROOM_AD_IMAGE_LOADING_FAILED";
        public static const _-0X7:String = "AE_ROOM_AD_SHOW";

        private var _-4Gj:BitmapData;
        private var _-1Rt:int;
        private var _-0wA:int;
        private var _-4Jn:String;
        private var _-03A:String;
        private var _-0m6:BitmapData;
        private var _-4Sv:BitmapData;
        private var _-44i:int;
        private var _-1pz:int;

        public function _-z2(_arg1:String, _arg2:int, _arg3:int, _arg4:BitmapData=null, _arg5:String="", _arg6:String="", _arg7:BitmapData=null, _arg8:BitmapData=null, _arg9:int=-1, _arg10:int=-1, _arg11:Boolean=false, _arg12:Boolean=false)
        {
            super(_arg1, _arg11, _arg12);
            this._-4Gj = _arg4;
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
            this._-4Jn = _arg5;
            this._-03A = _arg6;
            this._-0m6 = _arg7;
            this._-4Sv = _arg8;
            this._-44i = _arg9;
            this._-1pz = _arg10;
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get imageUrl():String
        {
            return (this._-4Jn);
        }
        public function get clickUrl():String
        {
            return (this._-03A);
        }
        public function get adWarningL():BitmapData
        {
            return (this._-0m6);
        }
        public function get _-2Fx():BitmapData
        {
            return (this._-4Sv);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-4hA():int
        {
            return (this._-1pz);
        }

    }
}//package _-1H6

//------------------------------------------------------------
//_-1h8._-27d

package _-1h8
{
    import _-4Aj.*;

    public class _-27d implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-27d(_arg1:int=0, _arg2:int=0)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-1h8

//------------------------------------------------------------
//_-1h8._-3uq

package _-1h8
{
    import _-4Aj.*;

    public class _-3uq implements _-1oF 
    {

        private var _text:String;
        private var _-2ll:String;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2mp:int = 0;

        public function _-3uq(_arg1:String, _arg2:String, _arg3:int=0, _arg4:int=0, _arg5:int=0)
        {
            this._-2ll = _arg1;
            this._text = _arg2;
            this._-2mp = _arg3;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:String = ((this._-2ll + " ") + this._text);
            return ([k, this._-2mp]);
        }

    }
}//package _-1h8

//------------------------------------------------------------
//_-1h8._-4uH

package _-1h8
{
    import _-4Aj.*;

    public class _-4uH implements _-1oF 
    {

        private var _text:String;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-50K:int = 0;
        private var _-2mp:int = 0;

        public function _-4uH(_arg1:String, _arg2:int=0, _arg3:int=-1, _arg4:int=0, _arg5:int=0)
        {
            this._text = _arg1;
            this._-2mp = _arg2;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
            this._-50K = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._text, this._-2mp, this._-50K]);
        }

    }
}//package _-1h8

//------------------------------------------------------------
//_-1h8._-BI

package _-1h8
{
    import _-4Aj.*;

    public class _-BI implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-BI(_arg1:int=0, _arg2:int=0)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-1h8

//------------------------------------------------------------
//_-1h8._-QH

package _-1h8
{
    import _-4Aj.*;

    public class _-QH implements _-1oF 
    {

        private var _text:String;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2mp:int = 0;

        public function _-QH(_arg1:String, _arg2:int=0, _arg3:int=0, _arg4:int=0)
        {
            this._text = _arg1;
            this._-2mp = _arg2;
            this._-1Rt = _arg3;
            this._-0wA = _arg4;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._text, this._-2mp]);
        }

    }
}//package _-1h8

//------------------------------------------------------------
//_-1HK._-025

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-4Xf;
    import _-4Aj.*;

    public class _-025 extends _-7V implements _-0tL 
    {

        public static const _-3Vz:int = 0;
        public static const _-2RJ:int = 1;
        public static const _-3ds:int = 2;
        public static const _-3yO:int = 3;
        public static const _-3fq:int = 4;
        public static const _-1EX:int = 5;
        public static const _-3jt:int = 10;
        public static const _-0-y:int = 11;
        public static const _-10m:int = 12;
        public static const _-19J:int = 13;
        public static const _-44t:int = 16;
        public static const _-3hp:int = 17;
        public static const _-4bC:int = 18;
        public static const _-0eN:int = 19;
        public static const _-381:int = 20;
        public static const _-1jZ:int = 22;
        public static const _-2Ob:int = 23;
        public static const _-4Sp:int = 24;
        public static const _-1do:int = 25;
        public static const _-1WD:int = 26;
        public static const _-2cv:int = 27;
        public static const _-4KT:int = 28;
        public static const _-52f:int = 29;
        public static const _-4R3:int = 100;
        public static const _-3yu:int = 101;
        public static const _-2xW:int = 102;
        public static const _-4Q2:int = 103;
        public static const _-Zq:int = 104;
        public static const _-4a5:int = 105;
        public static const _-52g:int = 106;
        public static const _-2D0:int = 107;
        public static const _-3MX:int = 108;
        public static const _-3zb:int = 109;
        public static const _-1KC:int = 110;
        public static const _-cJ:int = 111;
        public static const _-jZ:int = 112;
        public static const _-17c:int = 113;
        public static const _-7G:int = 114;
        public static const _-2Qx:int = 115;
        public static const _-1dn:int = 116;
        public static const SOCKET_WRITE_EXCEPTION_1:int = 117;
        public static const SOCKET_WRITE_EXCEPTION_2:int = 118;
        public static const SOCKET_WRITE_EXCEPTION_3:int = 119;

        public function _-025(_arg1:Function)
        {
            super(_arg1, _-4Xf);
        }
        public function get reason():int
        {
            return ((this._-515 as _-4Xf).reason);
        }
        public function get _-4mS():String
        {
            switch (this.reason)
            {
                case _-2RJ:
                case _-3jt:
                    return ("banned");
                case _-3ds:
                    return ("concurrentlogin");
                default:
                    return ("logout");
            };
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-0hm

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-uZ;
    import _-4Aj.*;

    public class _-0hm extends _-7V implements _-0tL 
    {

        public function _-0hm(_arg1:Function)
        {
            super(_arg1, _-uZ);
        }
        private function _-3-5():_-uZ
        {
            return ((this._-515 as _-uZ));
        }
        public function get _-4Nr():String
        {
            return (this._-3-5()._-4Nr);
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-0uR

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-2Mo;
    import _-4Aj.*;

    public class _-0uR extends _-7V implements _-0tL 
    {

        public function _-0uR(_arg1:Function)
        {
            super(_arg1, _-2Mo);
        }
    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-2bH

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-53I;
    import _-4Aj.*;

    public class _-2bH extends _-7V implements _-0tL 
    {

        public function _-2bH(_arg1:Function)
        {
            super(_arg1, _-53I);
        }
        public function _-3-5():_-53I
        {
            return ((this._-515 as _-53I));
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-2Xf

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-3j2;
    import _-4Aj.*;

    public class _-2Xf extends _-7V implements _-0tL 
    {

        public function _-2Xf(_arg1:Function)
        {
            super(_arg1, _-3j2);
        }
        public function get clubLevel():int
        {
            return ((this._-515 as _-3j2).clubLevel);
        }
        public function get _-0gt():int
        {
            return ((this._-515 as _-3j2)._-0gt);
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-4Pw

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-0Nj;
    import _-4Aj.*;

    public class _-4Pw extends _-7V implements _-0tL 
    {

        public function _-4Pw(_arg1:Function)
        {
            super(_arg1, _-0Nj);
        }
    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-4qS

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-16b;
    import _-4Aj.*;

    public class _-4qS extends _-7V implements _-0tL 
    {

        public function _-4qS(_arg1:Function)
        {
            super(_arg1, _-16b);
        }
        public function get _-3O7():String
        {
            return ((this._-515 as _-16b)._-3O7);
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-4sX

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-0RC;
    import _-4Aj.*;

    public class _-4sX extends _-7V implements _-0tL 
    {

        public function _-4sX(_arg1:Function)
        {
            super(_arg1, _-0RC);
        }
        public function _-3-5():_-0RC
        {
            return ((this._-515 as _-0RC));
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-Ga

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-0Y0;
    import _-4Aj.*;

    public class _-Ga extends _-7V implements _-0tL 
    {

        public function _-Ga(_arg1:Function)
        {
            super(_arg1, _-0Y0);
        }
        public function _-3-5():_-0Y0
        {
            return ((this._-515 as _-0Y0));
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-GF

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-128;
    import _-4Aj.*;

    public class _-GF extends _-7V implements _-0tL 
    {

        public function _-GF(_arg1:Function)
        {
            super(_arg1, _-128);
        }
        public function _-3-5():_-128
        {
            return ((this._-515 as _-128));
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1HK._-zx

package _-1HK
{
    import _-4Aj._-7V;
    import _-hT._-Bm;
    import _-4Aj.*;

    public class _-zx extends _-7V implements _-0tL 
    {

        public function _-zx(_arg1:Function)
        {
            super(_arg1, _-Bm);
        }
        public function get token():String
        {
            return ((this._-515 as _-Bm).token);
        }
        public function get _-4Hq():Boolean
        {
            return ((this._-515 as _-Bm)._-4Hq);
        }
        public function get _-13-():Boolean
        {
            return ((this._-515 as _-Bm)._-13-);
        }

    }
}//package _-1HK

//------------------------------------------------------------
//_-1Ho._-2Le

package _-1Ho
{
    import _-4Aj._-7V;
    import _-1-X._-3Id;
    import _-4Aj.*;

    public class _-2Le extends _-7V implements _-0tL 
    {

        public function _-2Le(_arg1:Function)
        {
            super(_arg1, _-3Id);
        }
        public function _-3-5():_-3Id
        {
            return ((_-515 as _-3Id));
        }

    }
}//package _-1Ho

//------------------------------------------------------------
//_-1Ho._-2SH

package _-1Ho
{
    import _-4Aj._-7V;
    import _-1-X.PollContentsParser;
    import _-4Aj.*;

    public class _-2SH extends _-7V implements _-0tL 
    {

        public function _-2SH(_arg1:Function)
        {
            super(_arg1, PollContentsParser);
        }
        public function _-3-5():PollContentsParser
        {
            return ((_-515 as PollContentsParser));
        }

    }
}//package _-1Ho

//------------------------------------------------------------
//_-1Ho._-3Ha

package _-1Ho
{
    import _-4Aj._-7V;
    import _-1-X._-Tq;
    import _-4Aj.*;

    public class _-3Ha extends _-7V implements _-0tL 
    {

        public function _-3Ha(_arg1:Function)
        {
            super(_arg1, _-Tq);
        }
        public function _-3-5():_-Tq
        {
            return ((_-515 as _-Tq));
        }

    }
}//package _-1Ho

//------------------------------------------------------------
//_-1Ho._-3Hm

package _-1Ho
{
    import _-4Aj._-7V;
    import _-1-X._-3xp;
    import _-4Aj.*;

    public class _-3Hm extends _-7V implements _-0tL 
    {

        public function _-3Hm(_arg1:Function)
        {
            super(_arg1, _-3xp);
        }
        public function _-3-5():_-3xp
        {
            return ((_-515 as _-3xp));
        }

    }
}//package _-1Ho

//------------------------------------------------------------
//_-1Ho._-4iP

package _-1Ho
{
    import _-4Aj._-7V;
    import _-1-X._-2At;
    import _-4Aj.*;

    public class _-4iP extends _-7V implements _-0tL 
    {

        public function _-4iP(_arg1:Function)
        {
            super(_arg1, _-2At);
        }
        public function _-3-5():_-2At
        {
            return ((this._-515 as _-2At));
        }

    }
}//package _-1Ho

//------------------------------------------------------------
//_-1Id.LayoutRasterizer

package _-1Id
{
    import _-022._-2KD;
    import _-0y0._-Xl;
    import _-18r.Map;
    import flash.geom.Point;
    import _-0y0._-3q6;
    import _-4rn._-59O;
    import _-3mW._-4Wq;
    import _-4rn._-E7;
    import flash.display.BlendMode;
    import _-3D7._-2fB;
    import _-022._-2G2;
    import flash.display.BitmapData;

    public class LayoutRasterizer 
    {

        private var _-3e3:_-2KD;
        private var _-4Xx:XMLList;
        private var _-3jO:int;
        private var _-1Mv:int;
        private var _-2QN:_-Xl;
        private var _-yG:String;
        private var _-0uz:Map = null;
        private var _-2NZ:String = "";
        private var _-0mn:int = -1;
        private var _-gi:int = -1;
        private var _-0CK:Boolean = false;
        private var _-04K:String = "";
        private var _-ny:int = 0;
        private var _-3QS:Boolean = true;
        private var _-4Fv:Array;
        private var _-3xB:Array;
        private var _-3yg:Array;
        private var _-1Cy:Point = null;
        private var _-1ry:LayoutRasterizerData = null;

        public function LayoutRasterizer()
        {
            this._-4Fv = [];
            this._-3xB = [];
            this._-3yg = [];
            super();
            this._-0uz = new Map();
            this._-yG = "";
            this._-1Cy = new Point();
        }
        public function get graphicsChanged():Boolean
        {
            return (this._-3QS);
        }
        public function set layout(_arg1:String):void
        {
            if (_arg1 != this._-yG)
            {
                this._-yG = _arg1;
                this._-0mn = -1;
                this._-gi = -1;
                this._-1ry = this._-0uz.getValue(this._-yG);
            };
        }
        public function dispose():void
        {
            var k:int;
            var k:LayoutRasterizerData;
            this._-3e3 = null;
            this._-4Xx = null;
            this._-4Fv = null;
            this._-3xB = null;
            this._-3yg = null;
            if (this._-0uz != null)
            {
                k = 0;
                while (k < this._-0uz.length)
                {
                    k = (this._-0uz.getWithIndex(k) as LayoutRasterizerData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-0uz.dispose();
                this._-0uz = null;
            };
            this._-1ry = null;
        }
        public function initialize(_arg1:XML):void
        {
            var k:String = String(_arg1.@name);
            var k:LayoutRasterizerData = new LayoutRasterizerData(_arg1);
            this._-0uz.add(k, k);
            this._-2QN = new _-Xl(-0.5, 0.5, 0);
            this._-3QS = false;
        }
        public function _-NL(_arg1:_-3q6):void
        {
            var k:Point = _arg1._-2Et(new _-Xl(0, 0, 0));
            var k:Point = _arg1._-2Et(this._-2QN);
            k.x = (k.x - k.x);
            k.y = (k.y - k.y);
            k.x = Math.round(k.x);
            k.y = Math.round(k.y);
            this._-1Cy.x = k.x;
            this._-1Cy.y = k.y;
        }
        public function _-44V(_arg1:int, _arg2:_-E7):void
        {
            var k:XML;
            var k:XMLList;
            var k:XML;
            var k:String;
            var k:String;
            this._-ny = _arg1;
            var k:LayoutRasterizerData = this._-0uz.getValue(this._-yG);
            if (k == null)
            {
                return;
            };
            var k:XMLList = k._-5Cw;
            if (k == null)
            {
                return;
            };
            var k:_-59O;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (k != null)
                {
                    k = k.visualization;
                    if ((((k.length() > 0)) && ((k.visualizationLayer.length() > 0))))
                    {
                        k = k.visualizationLayer[0];
                        if (k != null)
                        {
                            if (k.@id.toString().length > 0)
                            {
                                k = String(k.@id);
                                if (k == "billboard_bg")
                                {
                                    this._-0mn = k;
                                    k = String(k.@asset);
                                    if (k.indexOf("left") > -1)
                                    {
                                        this._-2NZ = _-4Wq._-to;
                                    };
                                    if (k.indexOf("right") > -1)
                                    {
                                        this._-2NZ = _-4Wq._-3XC;
                                    };
                                    if (_arg2 != null)
                                    {
                                        k = _arg2._-2IM((this._-ny + this._-0mn));
                                        if (k != null)
                                        {
                                            k.visible = false;
                                            k.alpha = 0;
                                        };
                                    };
                                };
                                if (k == "billboard_img")
                                {
                                    this._-gi = k;
                                    if (_arg2 != null)
                                    {
                                        k = _arg2._-2IM((this._-ny + this._-gi));
                                        if (k != null)
                                        {
                                            k.visible = false;
                                            k.alpha = 0;
                                        };
                                    };
                                };
                            };
                        };
                    };
                };
                k++;
            };
        }
        public function initializeAssetCollection(_arg1:_-2KD):void
        {
            this._-3e3 = _arg1;
        }
        public function elementCount():int
        {
            var k:LayoutRasterizerData = this._-0uz.getValue(this._-yG);
            if (k == null)
            {
                return (0);
            };
            var k:XMLList = k._-5Cw;
            if (k == null)
            {
                return (0);
            };
            return (k.length());
        }
        private function _-0vW(_arg1:String):String
        {
            var k:String = BlendMode.NORMAL;
            switch (_arg1)
            {
                case "ADD":
                    k = BlendMode.ADD;
                    break;
                case "SUBTRACT":
                    k = BlendMode.SUBTRACT;
                    break;
                case "DARKEN":
                    k = BlendMode.DARKEN;
                    break;
            };
            return (k);
        }
        public function _-1qZ(_arg1:_-E7, _arg2:String="", _arg3:Boolean=false):void
        {
            if ((((_arg2 == this._-04K)) && ((_arg3 == this._-0CK))))
            {
                return;
            };
            if ((((this._-0mn == -1)) || ((this._-gi == -1))))
            {
                _-Nb.log("ERROR! Billboard sprite indices not defined, cannot show room ad!");
                return;
            };
            var k:_-59O;
            var k:_-59O;
            if (_arg1 != null)
            {
                k = _arg1._-2IM((this._-ny + this._-0mn));
                k = _arg1._-2IM((this._-ny + this._-gi));
            };
            if ((((k == null)) || ((k == null))))
            {
                _-Nb.log("ERROR! Billboard sprites not defined, cannot show room ad!");
                return;
            };
            if (_arg3)
            {
                this._-4FA("billboard_img", _arg2);
            }
            else
            {
                this._-4FA("billboard_img", this._-2NZ);
            };
            this.setElementToSprite(this._-0mn, k, _arg2, _arg3);
            this.setElementToSprite(this._-gi, k, _arg2, _arg3);
            if (_arg3)
            {
                k._-4l2 = _-2fB._-85;
                k._-0Yj = true;
                k.tag = _-4Wq._-0rE;
            };
            if (_arg2 != "")
            {
                k.visible = true;
                k.alpha = 0xFF;
                k.visible = true;
                k.alpha = 0xFF;
            }
            else
            {
                k.visible = false;
                k.alpha = 0;
                k.visible = false;
                k.alpha = 0;
            };
            k.offsetX = (k.offsetX - (k.width / 2));
            k.offsetY = (k.offsetY - (k.height / 2));
            this._-04K = _arg2;
            this._-0CK = _arg3;
        }
        public function setElementToSprite(_arg1:int, _arg2:_-59O, _arg3:String="", _arg4:Boolean=false):void
        {
            var k:String;
            if (this._-1ry == null)
            {
                return;
            };
            var k:XMLList = this._-1ry._-5Cw;
            if (k == null)
            {
                return;
            };
            if ((((_arg1 < 0)) || ((_arg1 >= k.length()))))
            {
                return;
            };
            var k:XML = k[_arg1];
            if (k == null)
            {
                return;
            };
            var k:XMLList = k.visualization;
            if ((((k.length() == 0)) || ((k.visualizationLayer.length() == 0))))
            {
                return;
            };
            var k:XML = k.visualizationLayer[0];
            if (k == null)
            {
                return;
            };
            var k:_-2G2 = this._-3e3.getAsset(k.@asset);
            if ((((k == null)) || ((k.asset == null))))
            {
                return;
            };
            _arg2.visible = true;
            _arg2.alpha = 0xFF;
            _arg2.asset = (k.asset.content as BitmapData);
            _arg2.offsetX = ((int(k.@x) + k.offsetX) + this._-1Cy.x);
            _arg2.offsetY = ((int(k.@y) + k.offsetY) + this._-1Cy.y);
            _arg2.blendMode = this._-0vW(String(k.@ink));
            _arg2._-4l2 = _-2fB._-3D2;
            if (parseInt(k.@capturesMouse) > 0)
            {
                _arg2._-4l2 = _-2fB._-85;
                _arg2.tag = String(k.@id);
            };
            if (String(k.@z) != "")
            {
                _arg2.relativeDepth = ((-(Number(k.@z)) / Math.sqrt(2)) - (1E-5 * _arg1));
            }
            else
            {
                _arg2.relativeDepth = -((0.001 * _arg1));
            };
            if (k.@blend.toString().length > 0)
            {
                _arg2.alpha = int((Number(k.@blend) * 2.55));
            };
            if (k.@flipH.toString().length > 0)
            {
                _arg2.flipH = Boolean(k.@flipH);
            };
            if (k.@id.toString().length > 0)
            {
                k = String(k.@id);
                if ((((this._-4Fv.indexOf(k) >= 0)) && (this._-3QS)))
                {
                    k = this._-4Fv.indexOf(k);
                    if (this._-3xB[k] != "")
                    {
                        k = this._-3e3.getAsset(this._-3xB[k]);
                        if (((!((k == null))) && (!((k.asset == null)))))
                        {
                            _arg2.asset = (k.asset.content as BitmapData);
                        }
                        else
                        {
                            _arg2.asset = null;
                        };
                    };
                    if (this._-3yg[k] != -1)
                    {
                        _arg2.alpha = this._-3yg[k];
                    };
                    this._-4Fv.splice(k, 1);
                    this._-3xB.splice(k, 1);
                    this._-3yg.splice(k, 1);
                    if (this._-4Fv.length == 0)
                    {
                        this._-3QS = false;
                    };
                };
            };
        }
        public function _-4FA(_arg1:String, _arg2:String):void
        {
            this._-3QS = true;
            var k:int = this._-4Fv.indexOf(_arg1);
            if (k < 0)
            {
                this._-4Fv.push(_arg1);
                this._-3xB.push(_arg2);
                this._-3yg.push(-1);
            }
            else
            {
                this._-3xB[k] = _arg2;
            };
        }
        public function changeElementAlpha(_arg1:String, _arg2:Number):void
        {
            this._-3QS = true;
            var k:int = this._-4Fv.indexOf(_arg1);
            if (k < 0)
            {
                this._-4Fv.push(_arg1);
                this._-3xB.push("");
                this._-3yg.push(_arg2);
            }
            else
            {
                this._-3yg[k] = _arg2;
            };
        }

    }
}//package _-1Id

//------------------------------------------------------------
//_-1Id.LayoutRasterizerData

package _-1Id
{
    public class LayoutRasterizerData 
    {

        private var _-4Xx:XMLList;

        public function LayoutRasterizerData(_arg1:XML)
        {
            this._-4Xx = _arg1.elements.element;
        }
        public function get _-5Cw():XMLList
        {
            return (this._-4Xx);
        }
        public function dispose():void
        {
            this._-4Xx = null;
        }

    }
}//package _-1Id

//------------------------------------------------------------
//_-1IX._-1CG

package _-1IX
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import _-uF.ICoreLocalizationManager;
    import _-2np._-1ZV;
    import _-3vb._-YA;
    import _-1ae.IBorderWindow;
    import _-4Aj._-0tL;
    import _-1Jk._-1aN;
    import _-3vb.HabboToolbar;
    import _-295._-2kE;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IRegionWindow;
    import _-3vb._-03X;
    import _-02T._-48c;
    import _-1ae.IItemListWindow;
    import _-1ae._-4mB;
    import _-3vb._-34g;

    public class _-1CG 
    {

        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-2Te:IEventDispatcher;
        private var _-0Xx:_-4uR;
        private var _-cU:ICoreLocalizationManager;
        private var _-51u:_-1ZV;
        private var _-HY:_-YA;
        private var _-Ke:IBorderWindow;
        private var _disposed:Boolean = false;
        private var _-2jY:Boolean = true;
        private var _-29Z:int = 216;
        private var _-3uc:String;
        private var _-1tF:_-0tL = null;

        public function _-1CG(_arg1:HabboToolbar, _arg2:_-3Ts, _arg3:_-39L, _arg4:IEventDispatcher, _arg5:_-4uR, _arg6:ICoreLocalizationManager, _arg7:_-1ZV)
        {
            this._-U- = _arg2;
            this._assets = _arg3;
            this._-2Te = _arg4;
            this._-0Xx = _arg5;
            this._-cU = _arg6;
            this._-51u = _arg7;
            this._-HY = _arg1.extensionView;
            this._-1tF = new _-1aN(this._-3gQ);
            this._-51u.addMessageEvent(this._-1tF);
            this._-3uc = this._-0Xx.getKey("citizenship.vip.tutorial.quest.campaign.name", "VIPTutorials");
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (((this._-51u) && (this._-1tF)))
            {
                this._-51u.removeMessageEvent(this._-1tF);
                this._-1tF = null;
            };
            this._-3Ly();
            this._-cU = null;
            this._-0Xx = null;
            this._assets = null;
            this._-2Te = null;
            this._-U- = null;
            this._-51u = null;
            this._-HY = null;
            this._disposed = true;
        }
        private function createWindow():IBorderWindow
        {
            var k:IBorderWindow;
            var k:_-2kE = this._assets.getAssetByName("vip_quests_promo_xml");
            if (k)
            {
                k = (this._-U-.buildFromXML((k.content as XML), 1) as IBorderWindow);
                if (k)
                {
                    IButtonWindow(k.findChildByName("quests_button").addEventListener(WindowMouseEvent._-90, this._-435));
                    IRegionWindow(k.findChildByName("minimize_region")).addEventListener(WindowMouseEvent._-90, this._-4SG);
                    IRegionWindow(k.findChildByName("maximize_region")).addEventListener(WindowMouseEvent._-90, this._-4SG);
                    this._-29Z = k.height;
                };
            };
            return (k);
        }
        private function _-3Ly():void
        {
            if (this._-HY)
            {
                this._-HY._-21z(_-03X._-14W);
            };
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            if (this._-51u)
            {
                this._-51u.send(new _-48c(this._-3uc, false));
            };
            this._-3Ly();
        }
        private function _-4SG(_arg1:WindowMouseEvent):void
        {
            this._-2jY = !(this._-2jY);
            this._-4L2();
        }
        private function _-4L2():void
        {
            IItemListWindow(this._-Ke.findChildByName("content_itemlist")).visible = this._-2jY;
            _-4mB(this._-Ke.findChildByName("promo_img")).visible = this._-2jY;
            this._-Ke.height = ((this._-2jY) ? this._-29Z : 33);
        }
        private function _-3gQ(_arg1:_-0tL):void
        {
            if (this._-Ke == null)
            {
                this._-Ke = this.createWindow();
            };
            this._-4L2();
            this._-HY._-21z(_-03X._-0h4);
            this._-HY._-408(_-03X._-14W, this._-Ke, _-34g._-4ab);
        }

    }
}//package _-1IX

//------------------------------------------------------------
//_-1IX._-1gq

package _-1IX
{
    import _-3vb.HabboToolbar;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import _-uF.ICoreLocalizationManager;
    import _-3vb._-YA;
    import _-Ew.IWindowContainer;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-3vb._-34g;
    import _-3MI._-0Sy;

    public class _-1gq 
    {

        private static const _-4fa:String = "camera";
        private static const _-2yh:uint = 0xFFFFFF;
        private static const in :uint = 12247545;

        private var _-2lI:HabboToolbar;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-2Te:IEventDispatcher;
        private var _-0Xx:_-4uR;
        private var _-cU:ICoreLocalizationManager;
        private var _-HY:_-YA;
        private var _-Ke:IWindowContainer;
        private var _disposed:Boolean = false;
        private var _-4YI:IRegionWindow;

        public function _-1gq(_arg1:HabboToolbar, _arg2:_-3Ts, _arg3:_-39L, _arg4:IEventDispatcher, _arg5:_-4uR, _arg6:ICoreLocalizationManager)
        {
            this._-2lI = _arg1;
            this._-U- = _arg2;
            this._assets = _arg3;
            this._-2Te = _arg4;
            this._-0Xx = _arg5;
            this._-cU = _arg6;
            this._-HY = _arg1.extensionView;
            this._-Ke = this.createWindow(this._assets, this._-U-);
        }
        public function get window():IWindow
        {
            return (this._-Ke);
        }
        private function createWindow(_arg1:_-39L, _arg2:_-3Ts):IWindowContainer
        {
            var k:ITextWindow;
            var k:ITextWindow;
            var k:IWindowContainer;
            var k:_-243 = (_arg1.getAssetByName("camera_xml") as _-243);
            if (k)
            {
                k = (_arg2.buildFromXML((k.content as XML), 1) as IWindowContainer);
                if (k)
                {
                    k = (k.findChildByName("camera_text") as ITextWindow);
                    k = (k.findChildByName("camera_text_shadow") as ITextWindow);
                    this._-4YI = (k.findChildByName("text_region") as IRegionWindow);
                    if (this._-4YI)
                    {
                        this._-4YI.addEventListener(WindowMouseEvent._-90, this._-4qi);
                        this._-4YI.addEventListener(WindowMouseEvent._-4ea, this._-4Ua);
                        this._-4YI.addEventListener(WindowMouseEvent._-4e2, this._-1bb);
                    };
                    this._-HY._-408(_-4fa, k, _-34g._-w3);
                };
            };
            return (k);
        }
        private function _-3Ly():void
        {
            if (this._-Ke)
            {
                if (this._-4YI)
                {
                    this._-4YI.removeEventListener(WindowMouseEvent._-90, this._-4qi);
                    this._-4YI.removeEventListener(WindowMouseEvent._-4ea, this._-4Ua);
                    this._-4YI.removeEventListener(WindowMouseEvent._-4e2, this._-1bb);
                    this._-4YI = null;
                };
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-HY)
                {
                    this._-HY._-21z(_-4fa);
                    this._-HY = null;
                };
                this._-3Ly();
                this._-2lI = null;
                this._-cU = null;
                this._-0Xx = null;
                this._assets = null;
                this._-2Te = null;
                this._disposed = true;
            };
        }
        private function _-4qi(_arg1:WindowMouseEvent):void
        {
            this._-2lI.events.dispatchEvent(new _-0Sy(_-0Sy._-4EP));
        }
        private function _-4Ua(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName("camera_text") as ITextWindow);
                k.textColor = in ;
            };
        }
        private function _-1bb(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName("camera_text") as ITextWindow);
                k.textColor = _-2yh;
            };
        }

    }
}//package _-1IX

//------------------------------------------------------------
//_-1IX._-1v-

package _-1IX
{
    import _-3vb.HabboToolbar;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import _-uF.ICoreLocalizationManager;
    import _-3Zp._-1bw;
    import _-0mD._-2Jq;
    import _-2np._-1ZV;
    import _-3vb._-YA;
    import _-Ew.IWindowContainer;
    import _-1ae.IRegionWindow;
    import _-1ae.IIconWindow;
    import _-4WI._-4pP;
    import _-Ew.IWindow;
    import _-1Jd._-1ij;
    import _-1ae.ITextWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-243;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-3vb._-34g;
    import _-2p5._-2ka;
    import _-2Mh._-4WL;
    import _-0mD.*;

    public class _-1v- implements _-1vM 
    {

        private static const _-4fa:String = "video_offer";
        private static const _-2yh:uint = 0xFFFFFF;
        private static const in :uint = 12247545;
        private static const _-4ij:uint = 0x666666;
        private static const _-4P5:uint = 0xCCCCCC;

        private var _-2lI:HabboToolbar;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-2Te:IEventDispatcher;
        private var _-0Xx:_-4uR;
        private var _-cU:ICoreLocalizationManager;
        private var _-YX:_-1bw;
        private var _-3oJ:_-2Jq;
        private var _-51u:_-1ZV;
        private var _-HY:_-YA;
        private var _-Ke:IWindowContainer;
        private var _disposed:Boolean = false;
        private var _-4YI:IRegionWindow;
        private var _-0ob:IIconWindow;
        private var _-0qm:Boolean = false;

        public function _-1v-(_arg1:HabboToolbar, _arg2:_-3Ts, _arg3:_-39L, _arg4:IEventDispatcher, _arg5:_-4uR, _arg6:ICoreLocalizationManager, _arg7:_-1bw, _arg8:_-2Jq, _arg9:_-1ZV)
        {
            this._-U- = _arg2;
            this._assets = _arg3;
            this._-2Te = _arg4;
            this._-0Xx = _arg5;
            this._-cU = _arg6;
            this._-YX = _arg7;
            this._-3oJ = _arg8;
            this._-51u = _arg9;
            this._-2lI = _arg1;
            this._-HY = _arg1.extensionView;
            if (this._-YX)
            {
                this._-YX.events.addEventListener(_-4pP._-U3, this._-0u2);
            };
        }
        public function get window():IWindow
        {
            return (this._-Ke);
        }
        private function _-0u2(_arg1:_-4pP):void
        {
            if (((((this._-YX._-1Kf) && (!(this._-Ke)))) && (this._-49K())))
            {
                this._-HY._-21z(_-4fa);
                this._-3Ly();
                return;
            };
            if (((!(this._-0qm)) && (!(this._-Ke))))
            {
                this._-3oJ._-33Q.load(this);
            };
        }
        private function _-49K():Boolean
        {
            return ((((this._-YX.clubLevel == _-1ij._-1pk)) && (this._-0Xx.getBoolean("club.membership.extend.vip.promotion.enabled", false))));
        }
        public function offersAvailable(_arg1:int):void
        {
            if (this._disposed)
            {
                return;
            };
            if ((((((_arg1 <= 0)) || (this._-0qm))) || (((this._-YX._-1Kf) && (this._-49K())))))
            {
                if (this._-Ke)
                {
                    this._-3Ly();
                };
                return;
            };
            if (!this._-Ke)
            {
                this._-Ke = this.createWindow(this._assets, this._-U-);
            };
        }
        private function createWindow(_arg1:_-39L, _arg2:_-3Ts):IWindowContainer
        {
            var k:String;
            var k:ITextWindow;
            var k:ITextWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:IBitmapWrapperWindow;
            var k:IWindowContainer;
            var k:_-243 = (_arg1.getAssetByName("video_offer_promotion_xml") as _-243);
            if (k)
            {
                k = (_arg2.buildFromXML((k.content as XML), 1) as IWindowContainer);
                if (k)
                {
                    k = this._-cU.getKey("supersaverads.video.promo.offer", "Watch a video and earn a credit!");
                    k = (k.findChildByName("promo_text") as ITextWindow);
                    k = (k.findChildByName("promo_text_shadow") as ITextWindow);
                    if (k)
                    {
                        k.text = k;
                    };
                    if (k)
                    {
                        k.text = k;
                    };
                    k = (this._assets.getAssetByName("offer_icon_png") as BitmapDataAsset);
                    if (k != null)
                    {
                        k = (k.content as BitmapData);
                        k = (k.findChildByName("promo_icon") as IBitmapWrapperWindow);
                        if (((!((k == null))) && (!((k == null)))))
                        {
                            k.bitmap = new BitmapData(k.width, k.height, true, 0);
                            k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
                        };
                    };
                    this._-4YI = (k.findChildByName("text_region") as IRegionWindow);
                    if (this._-4YI)
                    {
                        this._-4YI.addEventListener(WindowMouseEvent._-90, this._-4qi);
                        this._-4YI.addEventListener(WindowMouseEvent._-4ea, this._-4Ua);
                        this._-4YI.addEventListener(WindowMouseEvent._-4e2, this._-1bb);
                    };
                    this._-0ob = (k.findChildByName("promo_close_icon") as IIconWindow);
                    if (this._-0ob)
                    {
                        this._-0ob.addEventListener(WindowMouseEvent._-90, this._-4UO);
                        this._-0ob.addEventListener(WindowMouseEvent._-4ea, this._-1VM);
                        this._-0ob.addEventListener(WindowMouseEvent._-4e2, this._-15q);
                    };
                    this._-HY._-408(_-4fa, k, _-34g._-4ab);
                };
            };
            return (k);
        }
        private function _-3Ly():void
        {
            if (this._-Ke)
            {
                if (this._-4YI)
                {
                    this._-4YI.removeEventListener(WindowMouseEvent._-90, this._-4qi);
                    this._-4YI.removeEventListener(WindowMouseEvent._-4ea, this._-4Ua);
                    this._-4YI.removeEventListener(WindowMouseEvent._-4e2, this._-1bb);
                    this._-4YI = null;
                };
                if (this._-0ob)
                {
                    this._-0ob.removeEventListener(WindowMouseEvent._-90, this._-4UO);
                    this._-0ob.removeEventListener(WindowMouseEvent._-4ea, this._-1VM);
                    this._-0ob.removeEventListener(WindowMouseEvent._-4e2, this._-15q);
                    this._-0ob = null;
                };
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-HY)
                {
                    this._-HY._-21z(_-4fa);
                    this._-HY = null;
                };
                this._-3Ly();
                if (this._-YX)
                {
                    this._-YX.events.removeEventListener(_-4pP._-U3, this._-0u2);
                    this._-YX = null;
                };
                this._-2lI = null;
                this._-YX = null;
                this._-3oJ = null;
                this._-cU = null;
                this._-0Xx = null;
                this._assets = null;
                this._-2Te = null;
                this._disposed = true;
            };
        }
        private function _-4UO(_arg1:WindowMouseEvent):void
        {
            this._-0qm = true;
            this._-3Ly();
            if (this._-51u)
            {
                this._-51u.send(new _-2ka("SuperSaverAds", "client_action", "supersaverads.video.promo.close_clicked"));
            };
        }
        private function _-1VM(_arg1:WindowMouseEvent):void
        {
            if (this._-0ob)
            {
                this._-0ob.color = _-4P5;
            };
        }
        private function _-15q(_arg1:WindowMouseEvent):void
        {
            if (this._-0ob)
            {
                this._-0ob.color = _-4ij;
            };
        }
        private function _-4qi(_arg1:WindowMouseEvent):void
        {
            if (!this._-3oJ._-33Q._-wi(_-4WL._-qE))
            {
                this._-3Ly();
            };
        }
        private function _-4Ua(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName("promo_text") as ITextWindow);
                k.textColor = in ;
            };
        }
        private function _-1bb(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName("promo_text") as ITextWindow);
                k.textColor = _-2yh;
            };
        }

    }
}//package _-1IX

//------------------------------------------------------------
//_-1IX._-2Bn

package _-1IX
{
    import _-3vb.HabboToolbar;
    import _-3MI._-0Sy;
    import _-3vb.HabboToolbarIconEnum;
    import _-2ly._-11j;

    public class _-2Bn 
    {

        private var _-0a7:HabboToolbar;

        public function _-2Bn(_arg1:HabboToolbar)
        {
            this._-0a7 = _arg1;
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-2J3);
        }
        public function dispose():void
        {
            if (this._-0a7)
            {
                this._-0a7.events.addEventListener(_-0Sy._-40N, this._-2J3);
            };
            this._-0a7 = null;
        }
        private function _-2J3(_arg1:_-0Sy):void
        {
            if (_arg1._-1wJ == HabboToolbarIconEnum.MINIMAIL)
            {
                _-11j._-25R("minimail", "#mail/inbox/");
            };
        }

    }
}//package _-1IX

//------------------------------------------------------------
//_-1IX._-2Tp

package _-1IX
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import _-uF.ICoreLocalizationManager;
    import _-3Zp._-1bw;
    import _-0mD._-2Jq;
    import _-2np._-1ZV;
    import _-3vb._-YA;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import flash.utils.Timer;
    import flash.display.BitmapData;
    import _-4WI._-4pP;
    import _-3vb.HabboToolbar;
    import _-1ae.IRegionWindow;
    import _-295._-2kE;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-1Jd._-1ij;
    import _-2p5._-2ka;
    import _-Fe._-WG;
    import flash.events.TimerEvent;
    import _-3vb._-34g;
    import _-1ae.ITextWindow;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-1ae.IIconWindow;

    public class _-2Tp 
    {

        private static const _-4fa:String = "club_promo";
        private static const _-4nz:int = 14;
        private static const _-2yh:uint = 0xFFFFFF;
        private static const in :uint = 12247545;

        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-2Te:IEventDispatcher;
        private var _-0Xx:_-4uR;
        private var _-cU:ICoreLocalizationManager;
        private var _-YX:_-1bw;
        private var _-3oJ:_-2Jq;
        private var _-51u:_-1ZV;
        private var _-HY:_-YA;
        private var _-Ke:IWindowContainer;
        private var _disposed:Boolean = false;
        private var _-39t:IBitmapWrapperWindow;
        private var _-0Ob:Timer;
        private var _-530:int = 0;
        private var _-25x:int;
        private var _-3nX:Timer;
        private var _-2hy:BitmapData;
        private var _-1Ih:Timer;

        public function _-2Tp(_arg1:HabboToolbar, _arg2:_-3Ts, _arg3:_-39L, _arg4:IEventDispatcher, _arg5:_-4uR, _arg6:ICoreLocalizationManager, _arg7:_-1bw, _arg8:_-2Jq, _arg9:_-1ZV)
        {
            this._-U- = _arg2;
            this._assets = _arg3;
            this._-2Te = _arg4;
            this._-0Xx = _arg5;
            this._-cU = _arg6;
            this._-YX = _arg7;
            this._-3oJ = _arg8;
            this._-51u = _arg9;
            this._-HY = _arg1.extensionView;
            if (this._-YX)
            {
                this._-YX.events.addEventListener(_-4pP._-U3, this._-0u2);
            };
        }
        private function createWindow(_arg1:_-39L, _arg2:_-3Ts):IWindowContainer
        {
            var k:IRegionWindow;
            var k:_-2kE;
            var k:IWindowContainer;
            var k:_-243 = (_arg1.getAssetByName("club_discount_promotion_xml") as _-243);
            if (k)
            {
                k = (_arg2.buildFromXML((k.content as XML), 1) as IWindowContainer);
                if (k)
                {
                    this._-39t = (k.findChildByName("flashing_animation") as IBitmapWrapperWindow);
                    if (this._-39t)
                    {
                        k = (this._assets.getAssetByName("extend_hilite_png") as _-2kE);
                        if (k)
                        {
                            this._-2hy = (k.content as BitmapData);
                            if (this._-2hy)
                            {
                                this._-39t.bitmap = this._-2hy.clone();
                            };
                        };
                        this._-39t.visible = false;
                    };
                    k = (k.findChildByName("text_region") as IRegionWindow);
                    if (k)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-4qi);
                        k.addEventListener(WindowMouseEvent._-4ea, this._-4Ua);
                        k.addEventListener(WindowMouseEvent._-4e2, this._-1bb);
                    };
                    this._-4L2();
                };
            };
            return (k);
        }
        private function _-3Ly():void
        {
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
                this._-39t = null;
            };
            this.animate(false);
            this._-1S6();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (this._-HY)
            {
                this._-HY._-21z(_-4fa);
                this._-HY = null;
            };
            this._-7p();
            this._-3Ly();
            if (this._-YX)
            {
                this._-YX.events.removeEventListener(_-4pP._-U3, this._-0u2);
                this._-YX = null;
            };
            this._-3oJ = null;
            this._-cU = null;
            this._-0Xx = null;
            this._assets = null;
            this._-2Te = null;
            this._-U- = null;
            this._-51u = null;
            this._disposed = true;
        }
        private function _-4qi(_arg1:WindowMouseEvent):void
        {
            if (this._-51u)
            {
                if (this._-YX.clubLevel == _-1ij._-1pk)
                {
                    this._-51u.send(new _-2ka("DiscountPromo", "discount", "client.club.extend.discount.clicked"));
                    this._-51u.send(new _-WG());
                };
            };
        }
        private function _-4L2():void
        {
            switch (this._-YX.clubLevel)
            {
                case _-1ij._-42U:
                    this._-0Ab(this._-cU.getKey("discount.bar.no.club.promo"));
                    this._-PU(_-4nz);
                    break;
                case _-1ij._-1pk:
                    this._-0Ab(this._-cU.getKey("discount.bar.vip.expiring", "Save 5 cr by extending your VIP subscription now!"));
                    this._-PU(_-4nz);
                    break;
            };
            this.animate(true);
        }
        private function _-0u2(_arg1:_-4pP):void
        {
            if (((((this._-YX._-1Kf) && (!(this._-Ke)))) && (this._-4ii())))
            {
                this._-Ke = this.createWindow(this._assets, this._-U-);
                if (this._-1Ih != null)
                {
                    this._-1S6();
                };
                if ((((this._-YX._-0yE < 1440)) && ((this._-YX._-0yE > 0))))
                {
                    this._-1Ih = new Timer(((this._-YX._-0yE * 60) * 1000), 1);
                    this._-1Ih.addEventListener(TimerEvent.TIMER_COMPLETE, this._-yN);
                    this._-1Ih.start();
                };
                this._-4L2();
                this._-HY._-408(_-4fa, this._-Ke, _-34g._-4ab);
            }
            else
            {
                this._-HY._-21z(_-4fa);
                this._-3Ly();
            };
        }
        private function _-1S6():void
        {
            if (this._-1Ih)
            {
                this._-1Ih.stop();
                this._-1Ih.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-yN);
                this._-1Ih = null;
            };
        }
        private function _-yN(_arg1:TimerEvent):void
        {
            this._-HY._-21z(_-4fa);
            this._-3Ly();
        }
        private function _-4ii():Boolean
        {
            if ((((this._-YX.clubLevel == _-1ij._-1pk)) && (this._-0Xx.getBoolean("club.membership.extend.vip.promotion.enabled", false))))
            {
                return (true);
            };
            return (false);
        }
        private function _-0Ab(_arg1:String):void
        {
            var k:ITextWindow;
            var k:ITextWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName("promo_text") as ITextWindow);
                k = (this._-Ke.findChildByName("promo_text_shadow") as ITextWindow);
                if (k)
                {
                    k.text = _arg1;
                };
                if (k)
                {
                    k.text = _arg1;
                };
            };
        }
        private function animate(_arg1:Boolean):void
        {
            if (_arg1)
            {
                _-Nb.log("Animate window");
                if (this._-3nX)
                {
                    this._-3nX.stop();
                };
                this._-3nX = new Timer(15000);
                this._-3nX.addEventListener(TimerEvent.TIMER, this._-0dp);
                this._-3nX.start();
            }
            else
            {
                if (this._-3nX)
                {
                    this._-3nX.stop();
                    this._-3nX = null;
                };
                this._-7p();
            };
        }
        private function _-7p():void
        {
            if (this._-39t)
            {
                this._-39t.visible = false;
                this._-39t.bitmap = null;
                this._-39t = null;
                this._-Ke.invalidate();
                if (this._-0Ob)
                {
                    this._-0Ob.stop();
                    this._-0Ob = null;
                };
            };
        }
        private function _-0dp(_arg1:TimerEvent):void
        {
            if (this._-39t)
            {
                if (this._-39t.context)
                {
                    this._-39t.visible = true;
                    this._-36r();
                    this._-2s-();
                };
            };
        }
        private function _-36r():void
        {
            this._-39t.x = 3;
            this._-39t.y = 3;
            this._-39t.bitmap = this._-2hy.clone();
            this._-39t.height = (this._-Ke.height - 6);
            this._-39t.width = this._-39t.bitmap.width;
            this._-39t.invalidate();
            this._-25x = ((this._-Ke.width - 7) - this._-39t.bitmap.width);
            this._-530 = 0;
        }
        private function _-2s-():void
        {
            this._-0Ob = new Timer(25, 26);
            this._-0Ob.addEventListener(TimerEvent.TIMER, this._-2uj);
            this._-0Ob.addEventListener(TimerEvent.TIMER_COMPLETE, this._-03N);
            this._-0Ob.start();
        }
        private function _-2uj(_arg1:TimerEvent):void
        {
            var k:int;
            var k:BitmapData;
            this._-39t.x = (3 + ((this._-530 / 20) * this._-25x));
            if (this._-39t.x > this._-25x)
            {
                k = ((this._-Ke.width - 4) - this._-39t.x);
                k = new BitmapData(k, this._-2hy.height);
                k.copyPixels(this._-2hy, new Rectangle(0, 0, k, this._-2hy.height), new Point(0, 0));
                this._-39t.bitmap = k;
                this._-39t.width = k;
            };
            this._-39t.invalidate();
            this._-530++;
        }
        private function _-03N(_arg1:TimerEvent):void
        {
            this._-7p();
        }
        private function _-PU(_arg1:int):void
        {
            var k:IIconWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName("club_icon") as IIconWindow);
                if (k)
                {
                    k.style = _arg1;
                    k.invalidate();
                };
            };
        }
        private function _-4Ua(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName("promo_text") as ITextWindow);
                k.textColor = in ;
            };
        }
        private function _-1bb(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow;
            if (this._-Ke)
            {
                k = (this._-Ke.findChildByName("promo_text") as ITextWindow);
                k.textColor = _-2yh;
            };
        }

    }
}//package _-1IX

//------------------------------------------------------------
//_-1IX._-2w5

package _-1IX
{
    import _-3vb.HabboToolbar;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.ITextWindow;
    import _-295._-243;
    import flash.geom.Point;
    import _-3MI._-0Sy;
    import flash.external.ExternalInterface;
    import _-0Ie.WindowEvent;

    public class _-2w5 
    {

        private static const _-3h5:uint = 0xFFFFFF;
        private static const _-ri:uint = 12247545;
        private static const _-1Y7:String = "HELP";
        private static const _-0du:String = "ROOMINFO";

        private var _-0a7:HabboToolbar;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-2Te:IEventDispatcher;
        private var _-0Xx:_-4uR;
        private var _-0xv:IWindowContainer;
        private var _-3EB:IItemListWindow;
        private var _-2Lp:IWindow;
        private var _-3H8:IRegionWindow;
        private var _-3zx:IWindowContainer;

        public function _-2w5(_arg1:HabboToolbar, _arg2:_-3Ts, _arg3:_-39L, _arg4:IEventDispatcher, _arg5:_-4uR)
        {
            var k:IWindow;
            super();
            this._-0a7 = _arg1;
            this._-U- = _arg2;
            this._assets = _arg3;
            this._-2Te = _arg4;
            this._-0Xx = _arg5;
            this._-0xv = (this.createWindow("logout_xml") as IWindowContainer);
            this._-2-I();
            this._-2Lp = this._-0xv.findChildByName("roominfo_region");
            this._-3H8 = IRegionWindow(this._-0xv.findChildByName("zoom_region"));
            this._-3EB = (this._-0xv.findChildByName("list") as IItemListWindow);
            var k:Array = [];
            this._-3EB._-07n("REGION", k);
            for each (k in k)
            {
                k.addEventListener(WindowMouseEvent._-4ea, this._-1hF);
                k.addEventListener(WindowMouseEvent._-4e2, this._-45Q);
            };
            this._-2A6();
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        private function _-2-I():void
        {
            var k:IWindow;
            k = this._-0xv.findChildByName("roominfo_text");
            k.caption = ((("$" + "{") + k.caption) + "}");
            k = this._-0xv.findChildByName("help_text");
            k.caption = ((("$" + "{") + k.caption) + "}");
            k = this._-0xv.findChildByName("logout_text");
            k.caption = ((("$" + "{") + k.caption) + "}");
        }
        public function dispose():void
        {
            this._-0a7 = null;
            this._-U- = null;
            this._assets = null;
            this._-2Te = null;
            this._-0Xx = null;
            this._-3EB = null;
            this._-2Lp = null;
            this._-3H8 = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-3zx)
            {
                this._-3zx.dispose();
                this._-3zx = null;
            };
        }
        public function _-2A6():void
        {
            this._-3EB.x = 5;
            this._-3EB._-4sE(this._-2Lp);
            this._-3EB._-4sE(this._-3H8);
        }
        public function _-5De(_arg1:Boolean):void
        {
            this._-3EB.x = ((_arg1) ? 0 : 5);
            this._-3EB._-kE(this._-2Lp, 0);
            if (_arg1)
            {
                this._-3EB._-kE(this._-3H8, 0);
                this._-35i(false);
            };
        }
        private function _-1hF(_arg1:WindowMouseEvent):void
        {
            if (_arg1.window.name == "zoom_region")
            {
                this._-35i(true);
                return;
            };
            var k:ITextWindow = (IWindowContainer(_arg1.window).findChildByTag("TEXT") as ITextWindow);
            k.textColor = _-ri;
        }
        private function _-45Q(_arg1:WindowMouseEvent):void
        {
            if (_arg1.window.name == "zoom_region")
            {
                this._-35i(false);
                return;
            };
            var k:ITextWindow = (IWindowContainer(_arg1.window).findChildByTag("TEXT") as ITextWindow);
            k.textColor = _-3h5;
        }
        private function _-35i(_arg1:Boolean):void
        {
            if (this._-3H8 != null)
            {
                this._-3H8.findChildByName("icon_zoom_off").visible = !(_arg1);
                this._-3H8.findChildByName("icon_zoom_over").visible = _arg1;
            };
        }
        private function createWindow(_arg1:String):IWindow
        {
            var k:_-243 = (this._assets.getAssetByName(_arg1) as _-243);
            var k:IWindow = this._-U-.buildFromXML((k.content as XML));
            k.procedure = this.onClick;
            return (k);
        }
        private function _-53A():void
        {
            var k:Point;
            if (!this._-3zx)
            {
                this._-3zx = (this.createWindow("logout_confirmation_xml") as IWindowContainer);
                k = new Point();
                this._-0xv.getGlobalPosition(k);
                this._-3zx.x = ((k.x + this._-0xv.width) - this._-3zx.width);
                this._-3zx.y = ((k.y + this._-0xv.height) - this._-3zx.height);
            };
        }
        private function _-9T():void
        {
            if (this._-3zx)
            {
                this._-3zx.dispose();
                this._-3zx = null;
            };
        }
        private function onClick(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "logout_region":
                    this._-53A();
                    return;
                case "help_region":
                    this._-0a7.toggleWindowVisibility(_-1Y7);
                    return;
                case "roominfo_region":
                    this._-0a7.toggleWindowVisibility(_-0du);
                    return;
                case "zoom_region":
                    this._-0a7.events.dispatchEvent(new _-0Sy(_-0Sy._-37m));
                    return;
                case "confirm":
                    try
                    {
                        if (ExternalInterface.available)
                        {
                            ExternalInterface.call("FlashExternalInterface.logout");
                        };
                    }
                    catch(e:Error)
                    {
                    };
                    this._-9T();
                    return;
                case "cancel":
                    this._-9T();
                    return;
            };
        }

    }
}//package _-1IX

//------------------------------------------------------------
//_-1IX._-4sT

package _-1IX
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import _-uF.ICoreLocalizationManager;
    import _-3Zp._-1bw;
    import _-0mD._-2Jq;
    import _-2np._-1ZV;
    import _-3vb._-YA;
    import _-1ae.IBorderWindow;
    import flash.utils.Timer;
    import _-4WI._-4pP;
    import _-3vb.HabboToolbar;
    import _-295._-2kE;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IRegionWindow;
    import _-3vb._-03X;
    import _-1Jd._-1ij;
    import _-2p5._-2ka;
    import _-Fe._-WG;
    import _-1ae.IItemListWindow;
    import _-1ae._-4mB;
    import flash.events.TimerEvent;
    import _-3vb._-34g;

    public class _-4sT 
    {

        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-2Te:IEventDispatcher;
        private var _-0Xx:_-4uR;
        private var _-cU:ICoreLocalizationManager;
        private var _-YX:_-1bw;
        private var _-3oJ:_-2Jq;
        private var _-51u:_-1ZV;
        private var _-HY:_-YA;
        private var _-Ke:IBorderWindow;
        private var _disposed:Boolean = false;
        private var _-2jY:Boolean = true;
        private var _-29Z:int = 216;
        private var _-1Ih:Timer;

        public function _-4sT(_arg1:HabboToolbar, _arg2:_-3Ts, _arg3:_-39L, _arg4:IEventDispatcher, _arg5:_-4uR, _arg6:ICoreLocalizationManager, _arg7:_-1bw, _arg8:_-2Jq, _arg9:_-1ZV)
        {
            this._-U- = _arg2;
            this._assets = _arg3;
            this._-2Te = _arg4;
            this._-0Xx = _arg5;
            this._-cU = _arg6;
            this._-YX = _arg7;
            this._-3oJ = _arg8;
            this._-51u = _arg9;
            this._-HY = _arg1.extensionView;
            if (this._-YX)
            {
                this._-YX.events.addEventListener(_-4pP._-U3, this._-0u2);
            };
        }
        private function createWindow(_arg1:_-39L, _arg2:_-3Ts):IBorderWindow
        {
            var k:IBorderWindow;
            var k:_-2kE = _arg1.getAssetByName("vip_discount_promotion_v2_xml");
            if (k)
            {
                k = (_arg2.buildFromXML((k.content as XML), 1) as IBorderWindow);
                if (k)
                {
                    IButtonWindow(k.findChildByName("extend_button").addEventListener(WindowMouseEvent._-90, this._-435));
                    IRegionWindow(k.findChildByName("minimize_region")).addEventListener(WindowMouseEvent._-90, this._-4SG);
                    IRegionWindow(k.findChildByName("maximize_region")).addEventListener(WindowMouseEvent._-90, this._-4SG);
                    this._-29Z = k.height;
                };
            };
            return (k);
        }
        private function _-3Ly():void
        {
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-1S6();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (this._-HY)
            {
                this._-HY._-21z(_-03X._-0h4);
                this._-HY = null;
            };
            this._-3Ly();
            if (this._-YX)
            {
                this._-YX.events.removeEventListener(_-4pP._-U3, this._-0u2);
                this._-YX = null;
            };
            this._-3oJ = null;
            this._-cU = null;
            this._-0Xx = null;
            this._assets = null;
            this._-2Te = null;
            this._-U- = null;
            this._-51u = null;
            this._disposed = true;
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            if (this._-51u)
            {
                if (this._-YX.clubLevel == _-1ij._-1pk)
                {
                    this._-51u.send(new _-2ka("DiscountPromo", "citizenshipdiscount", "client.club.extend.discount.clicked"));
                    this._-51u.send(new _-WG());
                };
            };
        }
        private function _-4L2():void
        {
            IItemListWindow(this._-Ke.findChildByName("content_itemlist")).visible = this._-2jY;
            _-4mB(this._-Ke.findChildByName("promo_img")).visible = this._-2jY;
            this._-Ke.height = ((this._-2jY) ? this._-29Z : 33);
        }
        private function _-0u2(_arg1:_-4pP):void
        {
            if (((((this._-YX._-4jL) && (!(this._-Ke)))) && (this._-4ii())))
            {
                this._-Ke = (this.createWindow(this._assets, this._-U-) as IBorderWindow);
                if (this._-1Ih != null)
                {
                    this._-1S6();
                };
                if ((((this._-YX._-0yE < 1440)) && ((this._-YX._-0yE > 0))))
                {
                    this._-1Ih = new Timer(((this._-YX._-0yE * 60) * 1000), 1);
                    this._-1Ih.addEventListener(TimerEvent.TIMER_COMPLETE, this._-yN);
                    this._-1Ih.start();
                };
                this._-4L2();
                if (!this._-HY._-2A2(_-03X._-14W))
                {
                    this._-HY._-408(_-03X._-0h4, this._-Ke, _-34g._-4ab);
                };
            }
            else
            {
                this._-HY._-21z(_-03X._-14W);
                this._-3Ly();
            };
        }
        private function _-1S6():void
        {
            if (this._-1Ih)
            {
                this._-1Ih.stop();
                this._-1Ih.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-yN);
                this._-1Ih = null;
            };
        }
        private function _-yN(_arg1:TimerEvent):void
        {
            this._-HY._-21z(_-03X._-0h4);
            this._-3Ly();
        }
        private function _-4ii():Boolean
        {
            return ((((this._-YX.clubLevel == _-1ij._-1pk)) && (this._-0Xx.getBoolean("club.membership.extend.vip.promotion.enabled", false))));
        }
        private function _-4SG(_arg1:WindowMouseEvent):void
        {
            this._-2jY = !(this._-2jY);
            this._-4L2();
        }

    }
}//package _-1IX

//------------------------------------------------------------
//_-1Jd._-11-

package _-1Jd
{
    import _-2np._-1ZV;
    import _-2It._-3Bl;
    import _-2It._-4nv;
    import _-0Pi._-09Z;
    import _-4Aj._-0tL;
    import _-0Pi._-1xC;
    import _-0Pi._-1Dv;

    public class _-11- 
    {

        private var _-2Mi:SessionDataManager;
        private var _-0mC:Array;
        private var _-4rc:Array;

        public function _-11-(_arg1:SessionDataManager)
        {
            this._-0mC = [];
            this._-4rc = [];
            super();
            this._-2Mi = _arg1;
        }
        public function dispose():void
        {
            this._-2Mi = null;
        }
        public function _-2sK():void
        {
            var k:_-1ZV = this._-2Mi.communication._-4gR(null);
            if (k == null)
            {
                return;
            };
            k.addMessageEvent(new _-3Bl(this._-0o2));
            k.addMessageEvent(new _-4nv(this._-1FW));
        }
        public function _-0Dj():void
        {
            this._-2Mi.send(new _-09Z(this._-2Mi.userName));
        }
        private function _-1FW(_arg1:_-0tL):void
        {
            var k:_-4nv = (_arg1 as _-4nv);
            this._-0mC = k._-2be;
        }
        private function _-0o2(_arg1:_-0tL):void
        {
            var k:_-3Bl = (_arg1 as _-3Bl);
            var k:String = String(this._-4rc.shift());
            switch (k.result)
            {
                case 0:
                    return;
                case 1:
                    this._-0mB(k);
                    return;
                case 2:
                    this._-0mB(k);
                    this._-0mC.shift();
                    return;
                case 3:
                    this._-0hC(k);
                    return;
            };
        }
        private function _-0mB(_arg1:String):void
        {
            if (this._-0mC.indexOf(_arg1) < 0)
            {
                this._-0mC.push(_arg1);
            };
        }
        private function _-0hC(_arg1:String):void
        {
            var k:int = this._-0mC.indexOf(_arg1);
            if (k >= 0)
            {
                this._-0mC.splice(k, 1);
            };
        }
        public function _-49D(_arg1:String):void
        {
            this._-4rc.push(_arg1);
            this._-2Mi.send(new _-1xC(_arg1));
        }
        public function _-0PA(_arg1:String):void
        {
            this._-4rc.push(_arg1);
            this._-2Mi.send(new _-1Dv(_arg1));
        }
        public function _-3dp(_arg1:String):Boolean
        {
            return ((this._-0mC.indexOf(_arg1) >= 0));
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-1cF

package _-1Jd
{
    public class _-1cF implements _-4LX 
    {

        private var _-1B1:int = -1;
        private var _name:String = "";
        private var _-5K:int = 0;
        private var _-0o6:String = "";
        private var _-5AE:String = "";
        private var _-Aq:String = "";
        private var _-1Cz:int;
        private var _-4M1:int = 0;
        private var _-2p6:String = "";
        private var _-3P6:int = 0;
        private var _-3jX:String = "";
        private var _-2U6:int = 0;
        private var _-237:String = "";
        private var _-4V7:int = 0;
        private var _-1KD:int = 0;
        private var _-4ja:Boolean;
        private var _-2uo:Boolean;
        private var _-us:Boolean;
        private var _-4PY:Boolean;
        private var _-27p:Boolean;
        private var _-2Yx:Boolean;
        private var _-4PL:Array;

        public function _-1cF(_arg1:int)
        {
            this._-1B1 = _arg1;
        }
        public function get roomObjectId():int
        {
            return (this._-1B1);
        }
        public function get _-4pE():int
        {
            return (this._-1Cz);
        }
        public function set _-4pE(_arg1:int):void
        {
            this._-1Cz = _arg1;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function set type(_arg1:int):void
        {
            this._-5K = _arg1;
        }
        public function get _-af():String
        {
            return (this._-0o6);
        }
        public function set _-af(_arg1:String):void
        {
            this._-0o6 = _arg1;
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function set figure(_arg1:String):void
        {
            this._-5AE = _arg1;
        }
        public function get custom():String
        {
            return (this._-Aq);
        }
        public function set custom(_arg1:String):void
        {
            this._-Aq = _arg1;
        }
        public function get _-2-w():int
        {
            return (this._-4M1);
        }
        public function set _-2-w(_arg1:int):void
        {
            this._-4M1 = _arg1;
        }
        public function get _-2oZ():String
        {
            return (this._-2p6);
        }
        public function set _-2oZ(_arg1:String):void
        {
            this._-2p6 = _arg1;
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function set groupName(_arg1:String):void
        {
            this._-3jX = _arg1;
        }
        public function get _-5Bj():int
        {
            return (this._-3P6);
        }
        public function set _-5Bj(_arg1:int):void
        {
            this._-3P6 = _arg1;
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function set _-nJ(_arg1:int):void
        {
            this._-2U6 = _arg1;
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function set _-0aC(_arg1:String):void
        {
            this._-237 = _arg1;
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function set rarityLevel(_arg1:int):void
        {
            this._-1KD = _arg1;
        }
        public function get _-05m():Boolean
        {
            return (this._-4ja);
        }
        public function set _-05m(_arg1:Boolean):void
        {
            this._-4ja = _arg1;
        }
        public function get _-0mh():Boolean
        {
            return (this._-2uo);
        }
        public function set _-0mh(_arg1:Boolean):void
        {
            this._-2uo = _arg1;
        }
        public function get _-4a2():Boolean
        {
            return (this._-us);
        }
        public function set _-4a2(_arg1:Boolean):void
        {
            this._-us = _arg1;
        }
        public function get _-02Z():Boolean
        {
            return (this._-4PY);
        }
        public function set _-02Z(_arg1:Boolean):void
        {
            this._-4PY = _arg1;
        }
        public function get _-2gH():Boolean
        {
            return (this._-27p);
        }
        public function set _-2gH(_arg1:Boolean):void
        {
            this._-27p = _arg1;
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }
        public function set _-4td(_arg1:Boolean):void
        {
            this._-2Yx = _arg1;
        }
        public function get _-4mx():int
        {
            return (this._-4V7);
        }
        public function set _-4mx(_arg1:int):void
        {
            this._-4V7 = _arg1;
        }
        public function get _-0zR():Array
        {
            return (this._-4PL);
        }
        public function set _-0zR(_arg1:Array):void
        {
            this._-4PL = _arg1;
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-1hT

package _-1Jd
{
    public interface _-1hT 
    {

        function _-4xp(_arg1:_-4LX):void;
        function _-2Xd(_arg1:int):_-4LX;
        function _-3hQ(_arg1:int, _arg2:int):_-4LX;
        function getUserDataByIndex(_arg1:int):_-4LX;
        function _-gn(_arg1:String):_-4LX;
        function _-0N7(_arg1:int):Array;
        function _-Hx(_arg1:int):void;
        function _-2hn(_arg1:int, _arg2:Array):void;
        function _-51(_arg1:int, _arg2:String, _arg3:String, _arg4:Boolean, _arg5:Boolean):void;
        function _-1r1(_arg1:int, _arg2:int):void;
        function _-4lh(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:Boolean, _arg5:Boolean):void;
        function _-0rX(_arg1:int, _arg2:String):void;
        function _-2eO(_arg1:int, _arg2:int):void;
        function _-2XW(_arg1:int, _arg2:String):void;
        function _-lD(_arg1:int):_-4LX;
        function _-31R(_arg1:int):_-4LX;
        function _-2yW(_arg1:int):void;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-1ij

package _-1Jd
{
    public class _-1ij 
    {

        public static const _-42U:int = 0;
        public static const _-12G:int = 1;
        public static const _-1pk:int = 2;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-2oa

package _-1Jd
{
    public interface _-2oa 
    {

        function get _-3yD():int;
        function get level():int;
        function get _-0Cc():int;
        function get experience():int;
        function get _-2fu():int;
        function get energy():int;
        function get _-Ds():int;
        function get _-4Z1():int;
        function get _-3IJ():int;
        function get _-nJ():int;
        function get _-0aC():String;
        function get respect():int;
        function get age():int;
        function get _-0qy():int;
        function get _-2U8():Boolean;
        function get _-0mh():Boolean;
        function get _-4a2():Boolean;
        function get _-02Z():Boolean;
        function get _-2gH():Boolean;
        function get rarityLevel():int;
        function get _-2YM():Array;
        function get _-3fV():int;
        function get _-0E2():int;
        function get _-0Ez():int;
        function get _-35w():int;
        function get _-4td():Boolean;
        function get _-54D():int;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-2Wb

package _-1Jd
{
    import flash.display.BitmapData;

    public class _-2Wb 
    {

        private var _-4Gj:BitmapData;
        private var _-GY:Boolean;

        public function _-2Wb(_arg1:BitmapData, _arg2:Boolean)
        {
            this._-4Gj = _arg1;
            this._-GY = _arg2;
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function get placeHolder():Boolean
        {
            return (this._-GY);
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-3Im

package _-1Jd
{
    import _-2np._-1ZV;
    import _-4Aj._-1oF;
    import _-18r.Map;
    import _-2gz._-2UE;
    import _-3yH._-0lY;
    import _-yT._-7k;
    import _-1C6._-4ky;
    import _-1C6._-2Am;
    import _-1zF._-4wO;
    import _-1zF._-2ri;
    import _-T7.Game2GameChatMessageComposer;
    import _-1h8._-4uH;
    import flash.utils.getTimer;
    import _-4ik._-10X;
    import _-1h8._-QH;
    import _-1h8._-3uq;
    import _-1h8._-27d;
    import _-1h8._-BI;
    import _-4ik._-4CD;
    import _-4ik._-3lg;
    import _-4ik._-2aR;
    import _-4ik._-Jb;
    import _-Mq._-0ot;
    import _-Mq._-Rd;
    import _-Mq._-0vT;
    import _-Mq._-4N8;
    import _-Mq._-405;
    import _-Mq._-1NY;
    import _-2p5._-2ka;
    import _-1z9._-2Gn;
    import _-1z9._-3em;
    import _-1z9._-4gH;
    import _-1z9.PollAnswerComposer;
    import _-3wJ._-bA;
    import _-3wJ._-0yc;
    import _-3wJ._-1J-;
    import _-3wJ._-4Nx;
    import _-3wJ._-xM;
    import _-3wJ.RemoveRightsMessageComposer;
    import _-3wJ._-4CM;
    import _-4xL._-XR;
    import _-4xL._-0S2;
    import _-4xL._-1ZD;
    import _-4xL._-3jA;
    import _-4xL._-2lZ;
    import _-4xL._-tV;
    import _-4xL._-02V;
    import _-2Vm._-3EE;
    import _-4xL._-0Vv;
    import _-1zF._-1LB;
    import _-1zF._-0On;
    import _-4xL._-4qO;

    public class _-3Im implements _-4JJ 
    {

        private const _-0us:int = 2500;

        private var _-51u:_-1ZV;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-1ZG:String = "";
        private var _-1QG:String = "";
        private var _-1O0:_-1oF = null;
        private var _-0Ke:String = "RSE_CREATED";
        private var _-0Dm:_-57C;
        private var _-2GW:int = -1;
        private var _-05R:Boolean = false;
        private var _-2Ge:int = 0;
        private var _-sG:int = 0;
        private var _-pe:Boolean = false;
        private var _-0EX:Boolean = false;
        private var _-1HD:Boolean = false;
        private var _-3Vm:Map;
        private var _-50K:int = 0;
        private var _-1e8:_-2UE = null;
        private var _-5Bo:Boolean = false;
        private var _-4Cq:Boolean = false;
        private var _-3In:_-0lY = null;

        public function _-3Im()
        {
            this._-3Vm = new Map();
            super();
            this._-0Dm = new _-57C();
        }
        public function set connection(_arg1:_-1ZV):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-51u = _arg1;
            if (this._-0Dm != null)
            {
                this._-0Dm.connection = _arg1;
            };
        }
        public function dispose():void
        {
            this._-51u = null;
            if (this._-0Dm != null)
            {
                this._-0Dm.dispose();
                this._-0Dm = null;
            };
            if (this._-3Vm != null)
            {
                this._-3Vm.dispose();
                this._-3Vm = null;
            };
            if (this._-1O0)
            {
                this._-1O0.dispose();
                this._-1O0 = null;
            };
            if (this._-3In != null)
            {
                this._-3In = null;
            };
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function set roomId(_arg1:int):void
        {
            this._-1Rt = _arg1;
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function set roomCategory(_arg1:int):void
        {
            this._-0wA = _arg1;
        }
        public function get _-0fS():String
        {
            return (this._-1ZG);
        }
        public function set _-0fS(_arg1:String):void
        {
            this._-1ZG = _arg1;
        }
        public function get _-1kY():String
        {
            return (this._-1QG);
        }
        public function set _-1kY(_arg1:String):void
        {
            this._-1QG = _arg1;
        }
        public function get _-2TD():_-1oF
        {
            return (this._-1O0);
        }
        public function set _-2TD(_arg1:_-1oF):void
        {
            this._-1O0 = _arg1;
        }
        public function get state():String
        {
            return (this._-0Ke);
        }
        public function get habboTracking():_-2UE
        {
            return (this._-1e8);
        }
        public function set habboTracking(_arg1:_-2UE):void
        {
            this._-1e8 = _arg1;
        }
        public function get isGameSession():Boolean
        {
            return (this._-4Cq);
        }
        public function set isGameSession(_arg1:Boolean):void
        {
            this._-4Cq = _arg1;
        }
        public function get _-1so():_-0lY
        {
            return (this._-3In);
        }
        public function set _-1so(_arg1:_-0lY):void
        {
            this._-3In = _arg1;
        }
        public function start():Boolean
        {
            if ((((this._-0Ke == _-7k._-3h9)) && (!((this._-51u == null)))))
            {
                this._-0Ke = _-7k._-1YC;
                if (this._-1O0)
                {
                    return (this._-3fg());
                };
                if (this._-3-)
                {
                    return (this._-0jZ());
                };
                return (this._-0Ui(this._-1Rt, 0, true));
            };
            return (false);
        }
        public function reset(_arg1:int, _arg2:int):void
        {
            if (((!((_arg1 == this._-1Rt))) || (!((_arg2 == this._-0wA)))))
            {
                this._-1Rt = _arg1;
                this._-0wA = _arg2;
                this._-05R = false;
                this._-2Ge = _-4ky._-1uk;
                this._-sG = _-2Am._-2ua;
                this._-0EX = false;
            };
        }
        private function _-0Ui(_arg1:int, _arg2:int, _arg3:Boolean):Boolean
        {
            if (this._-51u == null)
            {
                return (false);
            };
            this._-51u.send(new _-4wO(_arg3, _arg1, _arg2));
            return (true);
        }
        private function _-0jZ():Boolean
        {
            if (this._-51u == null)
            {
                return (false);
            };
            this._-51u.send(new _-2ri(this._-1Rt, this._-1ZG));
            return (true);
        }
        private function _-3fg():Boolean
        {
            if (this._-51u == null)
            {
                return (false);
            };
            this._-51u.send(this._-1O0);
            this._-1O0 = null;
            return (true);
        }
        public function _-55S(_arg1:String, _arg2:int=0):void
        {
            if (this._-4Cq)
            {
                this._-51u.send(new Game2GameChatMessageComposer(_arg1));
            }
            else
            {
                this._-51u.send(new _-4uH(_arg1, _arg2, this._-50K));
                this._-3Vm.add(this._-50K, getTimer());
                this._-50K++;
            };
        }
        public function _-1sT(_arg1:String):void
        {
            this._-51u.send(new _-10X(_arg1));
        }
        public function _-1wr(_arg1:int):void
        {
            var k:int;
            var k:Object = this._-3Vm.remove(_arg1);
            if (k != null)
            {
                k = getTimer();
                if ((k - int(k)) > this._-0us)
                {
                    if (this._-1e8 != null)
                    {
                        this._-1e8._-0hp(k);
                    };
                };
            };
        }
        public function _-1ET(_arg1:String, _arg2:int=0):void
        {
            this._-51u.send(new _-QH(_arg1, _arg2));
        }
        public function _-3Rt(_arg1:String, _arg2:String, _arg3:int=0):void
        {
            this._-51u.send(new _-3uq(_arg1, _arg2, _arg3));
        }
        public function _-2Md(_arg1:Boolean):void
        {
            if (_arg1)
            {
                this._-51u.send(new _-27d(this._-1Rt, this._-0wA));
            }
            else
            {
                this._-51u.send(new _-BI(this._-1Rt, this._-0wA));
            };
        }
        public function _-tg(_arg1:int):void
        {
            this._-51u.send(new _-4CD(_arg1));
        }
        public function _-59b(_arg1:int):void
        {
            if ((((_arg1 >= 0)) && ((_arg1 <= 17))))
            {
                this._-51u.send(new _-3lg(_arg1));
            };
        }
        public function _-0Il(_arg1:int):void
        {
            this._-51u.send(new _-2aR(_arg1));
        }
        public function _-1Qn(_arg1:int):void
        {
            this._-51u.send(new _-Jb(_arg1));
        }
        public function _-Yv(_arg1:int):void
        {
            this._-51u.send(new _-0ot(_arg1));
        }
        public function _-5E2(_arg1:int):void
        {
            this._-51u.send(new _-Rd(_arg1));
        }
        public function _-26M(_arg1:int, _arg2:String):void
        {
            this._-51u.send(new _-0vT(_arg1, _arg2));
        }
        public function _-0h0():void
        {
            this._-51u.send(new _-4N8(this._-1Rt, this._-0wA));
        }
        public function _-1C9(_arg1:int, _arg2:int, _arg3:uint, _arg4:int, _arg5:Boolean):void
        {
            var k:String = ("000000" + _arg3.toString(16).toUpperCase());
            var k:String = ("#" + k.substr((k.length - 6)));
            this._-51u.send(new _-405(_arg1, _arg2, k, _arg4, _arg5, this._-1Rt, this._-0wA));
        }
        public function _-0V1():void
        {
            this._-51u.send(new _-1NY(this._-1Rt, this._-0wA));
        }
        public function _-3de(_arg1:String, _arg2:String, _arg3:String, _arg4:String=null, _arg5:int=0):void
        {
            this._-51u.send(new _-2ka(_arg1, _arg2, _arg3, _arg4, _arg5));
        }
        public function _-3Wv(_arg1:int):void
        {
            this._-51u.send(new _-2Gn(_arg1));
        }
        public function _-4uY(_arg1:int):void
        {
            this._-51u.send(new _-3em(_arg1));
        }
        public function _-3T7(_arg1:int):void
        {
            this._-51u.send(new _-4gH(_arg1));
        }
        public function _-2qA(_arg1:int, _arg2:int, _arg3:Array):void
        {
            this._-51u.send(new PollAnswerComposer(_arg1, _arg2, _arg3));
        }
        public function _-43c(_arg1:int):void
        {
            this._-51u.send(new _-bA(_arg1, this.roomId, this.roomCategory));
        }
        public function _-0jI(_arg1:int):void
        {
            this._-51u.send(new _-0yc(_arg1, this.roomId, this.roomCategory));
        }
        public function _-4Ml(_arg1:int, _arg2:String):void
        {
            this._-51u.send(new _-1J-(_arg1, _arg2, this.roomId));
        }
        public function _-0Ws(_arg1:int, _arg2:int):void
        {
            this._-51u.send(new _-4Nx(_arg1, _arg2, this.roomId));
        }
        public function _-1iX(_arg1:int):void
        {
            this._-51u.send(new _-xM(_arg1));
        }
        public function _-4xm(_arg1:int):void
        {
            var k:Array = new Array();
            k.push(_arg1);
            var k:RemoveRightsMessageComposer = new RemoveRightsMessageComposer(k);
            this._-51u.send(k);
        }
        public function _-5P(_arg1:String, _arg2:Boolean):void
        {
            this._-51u.send(new _-4CM(_arg1, _arg2));
        }
        public function _-1UC(_arg1:int):void
        {
            this._-51u.send(new _-XR(_arg1));
        }
        public function _-Ws(_arg1:int):void
        {
            this._-51u.send(new _-0S2(_arg1, true));
        }
        public function _-1Cl(_arg1:int):void
        {
            this._-51u.send(new _-1ZD(_arg1));
        }
        public function _-zt(_arg1:int):void
        {
            this._-51u.send(new _-3jA(_arg1));
        }
        public function _-0ww(_arg1:int):void
        {
            this._-51u.send(new _-0S2(_arg1, false));
        }
        public function _-1Fn(_arg1:int):void
        {
            this._-51u.send(new _-2lZ(_arg1));
        }
        public function _-2zP(_arg1:int):void
        {
            this._-51u.send(new _-tV(_arg1));
        }
        public function _-1HB(_arg1:int):void
        {
            this._-51u.send(new _-02V(_arg1));
        }
        public function _-3tu(_arg1:int, _arg2:int):void
        {
            this._-51u.send(new _-3EE(_arg1, _arg2));
        }
        public function _-0jl(_arg1:int):void
        {
            this._-51u.send(new _-0Vv(_arg1));
        }
        public function _-vQ():void
        {
            if (this._-51u != null)
            {
                this._-51u.send(new _-1LB());
            };
        }
        public function _-3oA(_arg1:int):void
        {
            if (this._-51u == null)
            {
                return;
            };
            this._-51u.send(new _-0On(_arg1));
        }
        public function _-10z(_arg1:int, _arg2:String, _arg3:String):void
        {
            if (this._-51u == null)
            {
                return;
            };
            var k:_-4qO = new _-4qO(_arg1, _arg2, _arg3);
            this._-51u.send(k);
            k.dispose();
            k = null;
        }
        public function get userDataManager():_-1hT
        {
            return ((this._-0Dm as _-1hT));
        }
        public function get _-1NZ():int
        {
            return (this._-2GW);
        }
        public function set _-1NZ(_arg1:int):void
        {
            this._-2GW = _arg1;
        }
        public function set _-49x(_arg1:Boolean):void
        {
            this._-05R = _arg1;
        }
        public function get _-49x():Boolean
        {
            return (this._-05R);
        }
        public function set _-125(_arg1:int):void
        {
            if ((((_arg1 >= _-4ky._-1uk)) && ((_arg1 <= _-4ky._-15c))))
            {
                this._-2Ge = _arg1;
            }
            else
            {
                _-Nb.log((("Invalid roomControllerLevel " + _arg1) + ", setting to ROOM_CONTROL_LEVEL_NONE instead"));
                this._-2Ge = _-4ky._-1uk;
            };
        }
        public function get _-125():int
        {
            return (this._-2Ge);
        }
        public function get _-YP():int
        {
            return (this._-sG);
        }
        public function get _-3-():Boolean
        {
            return ((this._-0wA == 0));
        }
        public function set _-YP(_arg1:int):void
        {
            this._-sG = _arg1;
        }
        public function get _-5J():Boolean
        {
            return (this._-pe);
        }
        public function set _-5J(_arg1:Boolean):void
        {
            this._-pe = _arg1;
        }
        public function get _-25V():Boolean
        {
            return (this._-0EX);
        }
        public function set _-25V(_arg1:Boolean):void
        {
            this._-0EX = _arg1;
        }
        public function get _-sS():Boolean
        {
            return (this._-1HD);
        }
        public function set _-sS(_arg1:Boolean):void
        {
            this._-1HD = _arg1;
        }
        public function get _-54Z():Boolean
        {
            return (this._-05R);
        }
        public function get _-4bQ():Boolean
        {
            return (this._-5Bo);
        }
        public function set _-4bQ(_arg1:Boolean):void
        {
            this._-5Bo = _arg1;
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-3wh

package _-1Jd
{
    public class _-3wh 
    {

        public static const _-01D:int = 9;
        public static const _-Yd:int = 8;
        public static const _-1gi:int = 7;
        public static const _-2k-:int = 6;
        public static const _-15c:int = 5;
        public static const _-46t:int = 4;
        public static const _-Fb:int = 3;
        public static const _-DP:int = 2;
        public static const _-4WP:int = 1;
        public static const NONE:int = 0;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-45k

package _-1Jd
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-45k extends _-4yI 
    {

        function set _-4-m(_arg1:Boolean):void;
        function _-4eb(_arg1:Boolean, _arg2:int, _arg3:String="", _arg4:String=""):Boolean;
        function _-29h(_arg1:int, _arg2:int):Boolean;
        function _-4hE():Boolean;
        function _-16l(_arg1:_-4JJ):Boolean;
        function getSession(_arg1:int, _arg2:int):_-4JJ;
        function get events():IEventDispatcher;
        function get _-0OQ():Boolean;
        function _-1NV():void;
        function _-4Lj():void;
        function _-50S(_arg1:int, _arg2:int, _arg3:Boolean=true):void;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-4iR

package _-1Jd
{
    import flash.events.IEventDispatcher;

    public interface _-4iR 
    {

        function sessionUpdate(_arg1:int, _arg2:int, _arg3:String):void;
        function sessionReinitialize(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void;
        function getSession(_arg1:int, _arg2:int):_-4JJ;
        function get events():IEventDispatcher;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-4JJ

package _-1Jd
{
    import _-3yH._-0lY;

    public interface _-4JJ 
    {

        function get roomId():int;
        function get roomCategory():int;
        function get _-1kY():String;
        function get state():String;
        function start():Boolean;
        function _-55S(_arg1:String, _arg2:int=0):void;
        function _-1sT(_arg1:String):void;
        function _-1ET(_arg1:String, _arg2:int=0):void;
        function _-3Rt(_arg1:String, _arg2:String, _arg3:int=0):void;
        function _-2Md(_arg1:Boolean):void;
        function _-tg(_arg1:int):void;
        function _-59b(_arg1:int):void;
        function _-0Il(_arg1:int):void;
        function _-1Qn(_arg1:int):void;
        function _-Yv(_arg1:int):void;
        function _-5E2(_arg1:int):void;
        function _-26M(_arg1:int, _arg2:String):void;
        function _-0h0():void;
        function _-1C9(_arg1:int, _arg2:int, _arg3:uint, _arg4:int, _arg5:Boolean):void;
        function _-0V1():void;
        function _-3de(_arg1:String, _arg2:String, _arg3:String, _arg4:String=null, _arg5:int=0):void;
        function _-3Wv(_arg1:int):void;
        function _-4uY(_arg1:int):void;
        function _-3T7(_arg1:int):void;
        function _-2qA(_arg1:int, _arg2:int, _arg3:Array):void;
        function _-43c(_arg1:int):void;
        function _-0jI(_arg1:int):void;
        function _-4Ml(_arg1:int, _arg2:String):void;
        function _-0Ws(_arg1:int, _arg2:int):void;
        function _-1iX(_arg1:int):void;
        function _-4xm(_arg1:int):void;
        function _-5P(_arg1:String, _arg2:Boolean):void;
        function _-1UC(_arg1:int):void;
        function _-Ws(_arg1:int):void;
        function _-1Cl(_arg1:int):void;
        function _-0ww(_arg1:int):void;
        function _-1Fn(_arg1:int):void;
        function _-1HB(_arg1:int):void;
        function _-3tu(_arg1:int, _arg2:int):void;
        function _-0jl(_arg1:int):void;
        function _-vQ():void;
        function _-3oA(_arg1:int):void;
        function _-10z(_arg1:int, _arg2:String, _arg3:String):void;
        function _-1wr(_arg1:int):void;
        function get _-1NZ():int;
        function set _-1NZ(_arg1:int):void;
        function get _-49x():Boolean;
        function set _-49x(_arg1:Boolean):void;
        function set _-125(_arg1:int):void;
        function get _-125():int;
        function get _-5J():Boolean;
        function set _-5J(_arg1:Boolean):void;
        function get _-YP():int;
        function get _-3-():Boolean;
        function set _-YP(_arg1:int):void;
        function get userDataManager():_-1hT;
        function get _-25V():Boolean;
        function set _-25V(_arg1:Boolean):void;
        function get _-sS():Boolean;
        function set _-sS(_arg1:Boolean):void;
        function get _-54Z():Boolean;
        function get _-4bQ():Boolean;
        function set _-4bQ(_arg1:Boolean):void;
        function get isGameSession():Boolean;
        function get _-1so():_-0lY;
        function set _-1so(_arg1:_-0lY):void;
        function _-2zP(_arg1:int):void;
        function _-zt(_arg1:int):void;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-4LX

package _-1Jd
{
    public interface _-4LX 
    {

        function get roomObjectId():int;
        function get name():String;
        function get custom():String;
        function get _-4pE():int;
        function get type():int;
        function get figure():String;
        function get _-af():String;
        function get _-2oZ():String;
        function get _-5Bj():int;
        function get groupName():String;
        function get _-2-w():int;
        function get _-nJ():int;
        function get _-0aC():String;
        function get rarityLevel():int;
        function get _-05m():Boolean;
        function get _-0mh():Boolean;
        function get _-4a2():Boolean;
        function get _-02Z():Boolean;
        function get _-2gH():Boolean;
        function get _-4td():Boolean;
        function get _-4mx():int;
        function get _-0zR():Array;
        function set figure(_arg1:String):void;
        function set name(_arg1:String):void;
        function set _-af(_arg1:String):void;
        function set custom(_arg1:String):void;
        function set _-4pE(_arg1:int):void;
        function set _-2oZ(_arg1:String):void;
        function set groupName(_arg1:String):void;
        function set _-nJ(_arg1:int):void;
        function set _-0aC(_arg1:String):void;
        function set rarityLevel(_arg1:int):void;
        function set _-05m(_arg1:Boolean):void;
        function set _-0mh(_arg1:Boolean):void;
        function set _-4a2(_arg1:Boolean):void;
        function set _-02Z(_arg1:Boolean):void;
        function set _-2gH(_arg1:Boolean):void;
        function set _-4td(_arg1:Boolean):void;
        function set _-4mx(_arg1:int):void;
        function set _-0zR(_arg1:Array):void;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-4pQ

package _-1Jd
{
    public class _-4pQ implements _-2oa 
    {

        private var _-b:int;
        private var _-55e:int;
        private var _-4dY:int;
        private var _-Up:int;
        private var _-4oD:int;
        private var _-30x:int;
        private var _-5DQ:int;
        private var _-3FW:int;
        private var _-0Su:int;
        private var _-2U6:int;
        private var _-237:String;
        private var _-G5:int;
        private var _-4tD:int;
        private var _-1EN:int;
        private var _-0Rn:Boolean;
        private var _-2uo:Boolean;
        private var _-us:Boolean;
        private var _-10S:Array;
        private var _-1BS:int;
        private var _-4PY:Boolean;
        private var _-27p:Boolean;
        private var _-2S6:int;
        private var _-1Sx:int;
        private var _-3r-:int;
        private var _-1KD:int;
        private var _-2Yx:Boolean;
        private var _-3xM:int = 7;

        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get _-0Cc():int
        {
            return (this._-4dY);
        }
        public function get experience():int
        {
            return (this._-Up);
        }
        public function get _-2fu():int
        {
            return (this._-4oD);
        }
        public function get energy():int
        {
            return (this._-30x);
        }
        public function get _-Ds():int
        {
            return (this._-5DQ);
        }
        public function get _-4Z1():int
        {
            return (this._-3FW);
        }
        public function get _-3IJ():int
        {
            return (this._-0Su);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get respect():int
        {
            return (this._-G5);
        }
        public function get age():int
        {
            return (this._-4tD);
        }
        public function get _-0qy():int
        {
            return (this._-1EN);
        }
        public function get _-2U8():Boolean
        {
            return (this._-0Rn);
        }
        public function get _-0mh():Boolean
        {
            return (this._-2uo);
        }
        public function get _-2YM():Array
        {
            return (this._-10S);
        }
        public function get _-3fV():int
        {
            return (this._-1BS);
        }
        public function get _-4a2():Boolean
        {
            return (this._-us);
        }
        public function get _-02Z():Boolean
        {
            return (this._-4PY);
        }
        public function get _-2gH():Boolean
        {
            return (this._-27p);
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function set _-3yD(_arg1:int):void
        {
            this._-b = _arg1;
        }
        public function set level(_arg1:int):void
        {
            this._-55e = _arg1;
        }
        public function set _-0Cc(_arg1:int):void
        {
            this._-4dY = _arg1;
        }
        public function set experience(_arg1:int):void
        {
            this._-Up = _arg1;
        }
        public function set _-2fu(_arg1:int):void
        {
            this._-4oD = _arg1;
        }
        public function set energy(_arg1:int):void
        {
            this._-30x = _arg1;
        }
        public function set _-Ds(_arg1:int):void
        {
            this._-5DQ = _arg1;
        }
        public function set _-4Z1(_arg1:int):void
        {
            this._-3FW = _arg1;
        }
        public function set _-3IJ(_arg1:int):void
        {
            this._-0Su = _arg1;
        }
        public function set _-nJ(_arg1:int):void
        {
            this._-2U6 = _arg1;
        }
        public function set _-0aC(_arg1:String):void
        {
            this._-237 = _arg1;
        }
        public function set respect(_arg1:int):void
        {
            this._-G5 = _arg1;
        }
        public function set age(_arg1:int):void
        {
            this._-4tD = _arg1;
        }
        public function set _-0qy(_arg1:int):void
        {
            this._-1EN = _arg1;
        }
        public function set _-2U8(_arg1:Boolean):void
        {
            this._-0Rn = _arg1;
        }
        public function set _-0mh(_arg1:Boolean):void
        {
            this._-2uo = _arg1;
        }
        public function set _-2YM(_arg1:Array):void
        {
            this._-10S = _arg1;
        }
        public function set _-3fV(_arg1:int):void
        {
            this._-1BS = _arg1;
        }
        public function set _-4a2(_arg1:Boolean):void
        {
            this._-us = _arg1;
        }
        public function set _-02Z(_arg1:Boolean):void
        {
            this._-4PY = _arg1;
        }
        public function set _-2gH(_arg1:Boolean):void
        {
            this._-27p = _arg1;
        }
        public function get _-0E2():int
        {
            return (this._-2S6);
        }
        public function set _-0E2(_arg1:int):void
        {
            this._-2S6 = _arg1;
        }
        public function get _-0Ez():int
        {
            return (this._-1Sx);
        }
        public function set _-0Ez(_arg1:int):void
        {
            this._-1Sx = _arg1;
        }
        public function get _-35w():int
        {
            return (this._-3r-);
        }
        public function set _-35w(_arg1:int):void
        {
            this._-3r- = _arg1;
        }
        public function set rarityLevel(_arg1:int):void
        {
            this._-1KD = _arg1;
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }
        public function set _-4td(_arg1:Boolean):void
        {
            this._-2Yx = _arg1;
        }
        public function get _-54D():int
        {
            return (this._-3xM);
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-51K

package _-1Jd
{
    import flash.events.IEventDispatcher;
    import flash.display.BitmapData;
    import _-32F._-48b;
    import _-4n1._-0hX;
    import _-32F._-Hw;
    import _-4n1._-44P;
    import _-1B-.*;

    public interface _-51K extends _-4yI 
    {

        function get events():IEventDispatcher;
        function get _-19x():Boolean;
        function get _-0o8():Boolean;
        function _-2t1(_arg1:int):Boolean;
        function get clubLevel():int;
        function get userId():int;
        function get userName():String;
        function get realName():String;
        function get figure():String;
        function get gender():String;
        function get _-3pl():Boolean;
        function get _-3eu():Boolean;
        function _-2-C(_arg1:int):Array;
        function getBadgeImage(_arg1:String):BitmapData;
        function requestBadgeImage(_arg1:String):BitmapData;
        function _-4zS(_arg1:String):_-2Wb;
        function _-0h5(_arg1:int):String;
        function _-1ot(_arg1:String):BitmapData;
        function _-3WS(_arg1:String):BitmapData;
        function _-2pP(_arg1:String):String;
        function _-0mU(_arg1:String):String;
        function _-3ZA():Boolean;
        function _-3dp(_arg1:String):Boolean;
        function _-49D(_arg1:String):void;
        function _-0PA(_arg1:String):void;
        function get _-2Vb():int;
        function get _-193():int;
        function _-4Lq(_arg1:int):void;
        function _-1WQ():void;
        function _-0lX(_arg1:int):void;
        function getProductData(_arg1:String):_-48b;
        function _-LX(_arg1:int):_-0hX;
        function _-2ae(_arg1:int):Array;
        function _-3LT(_arg1:int):_-0hX;
        function _-1qx(_arg1:String, _arg2:int=0):_-0hX;
        function _-0lJ(_arg1:String, _arg2:int=0):_-0hX;
        function _-0Tl(_arg1:int):void;
        function _-3bZ(_arg1:int, _arg2:int):void;
        function _-1UJ(_arg1:int, _arg2:int):void;
        function loadProductData(_arg1:_-Hw=null):Boolean;
        function _-co(_arg1:_-44P):Array;
        function _-OL(_arg1:_-Hw):void;
        function isPerkAllowed(_arg1:String):Boolean;
        function _-05D(_arg1:String):String;
        function sendSpecialCommandMessage(_arg1:String):void;
        function get currentTalentTrack():String;

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-57C

package _-1Jd
{
    import _-18r.Map;
    import _-2np._-1ZV;
    import _-0Pi._-Ya;
    import _-2Vm._-u7;

    public class _-57C implements _-1hT 
    {

        private static const _-Lw:int = 1;
        private static const _-0Lc:int = 2;
        private static const _-0nB:int = 3;
        private static const _-2Hy:int = 4;

        private var _-0tA:Map;
        private var _-0cD:Map;
        private var _-3hW:Map;
        private var _-51u:_-1ZV;

        public function _-57C()
        {
            this._-0tA = new Map();
            this._-0cD = new Map();
            this._-3hW = new Map();
        }
        public function dispose():void
        {
            this._-51u = null;
            this._-0tA.dispose();
            this._-0tA = null;
            this._-0cD.dispose();
            this._-0cD = null;
            this._-3hW.dispose();
            this._-3hW = null;
        }
        public function set connection(_arg1:_-1ZV):void
        {
            this._-51u = _arg1;
        }
        public function _-2Xd(_arg1:int):_-4LX
        {
            return (this._-3hQ(_arg1, _-Lw));
        }
        public function _-3hQ(_arg1:int, _arg2:int):_-4LX
        {
            var k:_-4LX;
            var k:Map = this._-0tA.getValue(_arg2);
            if (k != null)
            {
                k = k.getValue(_arg1);
            };
            return (k);
        }
        public function getUserDataByIndex(_arg1:int):_-4LX
        {
            return (this._-0cD.getValue(_arg1));
        }
        public function _-gn(_arg1:String):_-4LX
        {
            var k:_-4LX;
            for each (k in this._-0cD)
            {
                if (k.name == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-0N7(_arg1:int):Array
        {
            if (this._-51u != null)
            {
                this._-51u.send(new _-Ya(_arg1));
            };
            var k:Array = (this._-3hW.getValue(_arg1) as Array);
            if (k == null)
            {
                k = [];
            };
            return (k);
        }
        public function _-4xp(_arg1:_-4LX):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-Hx(_arg1.roomObjectId);
            var k:Map = this._-0tA.getValue(_arg1.type);
            if (k == null)
            {
                k = new Map();
                this._-0tA.add(_arg1.type, k);
            };
            k.add(_arg1._-2-w, _arg1);
            this._-0cD.add(_arg1.roomObjectId, _arg1);
        }
        public function _-Hx(_arg1:int):void
        {
            var k:Map;
            var k:_-4LX;
            var k:_-4LX = this._-0cD.remove(_arg1);
            if (k != null)
            {
                k = this._-0tA.getValue(k.type);
                if (k != null)
                {
                    k = k.remove(k._-2-w);
                    if (k != null)
                    {
                    };
                };
            };
        }
        public function _-2hn(_arg1:int, _arg2:Array):void
        {
            this._-3hW.remove(_arg1);
            this._-3hW.add(_arg1, _arg2);
        }
        public function _-51(_arg1:int, _arg2:String, _arg3:String, _arg4:Boolean, _arg5:Boolean):void
        {
            var k:_-4LX = this.getUserDataByIndex(_arg1);
            if (k != null)
            {
                k.figure = _arg2;
                k._-af = _arg3;
                k._-05m = _arg4;
                k._-0mh = _arg5;
            };
        }
        public function _-1r1(_arg1:int, _arg2:int):void
        {
            var k:_-4LX = this.getUserDataByIndex(_arg1);
            if (k != null)
            {
                k._-4mx = _arg2;
            };
        }
        public function _-4lh(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:Boolean, _arg5:Boolean):void
        {
            var k:_-4LX = this.getUserDataByIndex(_arg1);
            if (k != null)
            {
                k._-4a2 = _arg2;
                k._-02Z = _arg3;
                k._-2gH = _arg4;
                k._-4td = _arg5;
            };
        }
        public function _-0rX(_arg1:int, _arg2:String):void
        {
            var k:_-4LX = this.getUserDataByIndex(_arg1);
            if (k != null)
            {
                k.custom = _arg2;
            };
        }
        public function _-2eO(_arg1:int, _arg2:int):void
        {
            var k:_-4LX = this.getUserDataByIndex(_arg1);
            if (k != null)
            {
                k._-4pE = _arg2;
            };
        }
        public function _-2XW(_arg1:int, _arg2:String):void
        {
            var k:_-4LX = this.getUserDataByIndex(_arg1);
            if (k != null)
            {
                k.name = _arg2;
            };
        }
        public function _-lD(_arg1:int):_-4LX
        {
            return (this._-3hQ(_arg1, _-0Lc));
        }
        public function _-31R(_arg1:int):_-4LX
        {
            return (this._-3hQ(_arg1, _-2Hy));
        }
        public function _-2yW(_arg1:int):void
        {
            var k:_-4LX = this._-lD(_arg1);
            if (((!((k == null))) && (!((this._-51u == null)))))
            {
                this._-51u.send(new _-u7(k._-2-w));
            };
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-5Cn

package _-1Jd
{
    import _-3gx._-4BJ;
    import _-18r.Map;
    import flash.events.IEventDispatcher;
    import _-2It._-4Hm;
    import _-yT._-3GX;
    import _-4Aj._-0tL;
    import _-2np._-1ZV;
    import _-0Pi._-26L;

    public class _-5Cn 
    {

        private var _-0ud:_-4BJ;
        private var _-596:Map;
        private var _-2Te:IEventDispatcher;

        public function _-5Cn(_arg1:IEventDispatcher)
        {
            this._-596 = new Map();
            this._-2Te = _arg1;
        }
        public function set communication(_arg1:_-4BJ):void
        {
            this._-0ud = _arg1;
            this._-0ud.addHabboConnectionMessageEvent(new _-4Hm(this._-46g));
        }
        private function _-46g(_arg1:_-0tL):void
        {
            var k:_-4Hm = (_arg1 as _-4Hm);
            var k:int = k.userId;
            var k:Array = k.tags;
            this._-596.add(k, k);
            this._-2Te.dispatchEvent(new _-3GX(k, k.slice()));
        }
        public function _-4a4(_arg1:int):Array
        {
            var k:Array = (this._-596.getValue(_arg1) as Array);
            if (k != null)
            {
                return (k.slice());
            };
            if (this._-0ud == null)
            {
                _-Nb.log("oops! communication interface not ready");
            };
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k)
            {
                k.send(new _-26L(_arg1));
            };
            return (null);
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd._-qo

package _-1Jd
{
    import _-3gx._-4BJ;
    import flash.events.IEventDispatcher;
    import _-18r.Map;
    import _-2na._-3qY;
    import _-4Aj._-0tL;
    import _-2It._-21L;
    import _-0Pi._-fA;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;

    public class _-qo 
    {

        private var _-12Q:SessionDataManager;
        private var _-0ud:_-4BJ;
        private var _-2Te:IEventDispatcher;
        private var _-38s:Map;

        public function _-qo(_arg1:SessionDataManager, _arg2:IEventDispatcher)
        {
            this._-12Q = _arg1;
            this._-38s = new Map();
            this._-2Te = _arg2;
        }
        public function dispose():void
        {
            this._-0ud = null;
        }
        public function set communication(_arg1:_-4BJ):void
        {
            this._-0ud = _arg1;
            this._-0ud.addHabboConnectionMessageEvent((new _-3qY(this._-0fE) as _-0tL));
            this._-0ud.addHabboConnectionMessageEvent(new _-21L(this._-2M9));
        }
        private function _-0fE(_arg1:_-0tL):void
        {
            this._-0ud._-4gR(null).send(new _-fA());
        }
        private function _-2M9(_arg1:_-0tL):void
        {
            var k:int;
            var k:String;
            var k:_-21L = (_arg1 as _-21L);
            var k:Map = k.badges;
            var k:int;
            while (k < k.length)
            {
                k = k.getKey(k);
                if (this._-38s.getValue(k) != null)
                {
                    this._-38s.remove(k);
                };
                this._-38s.add(k, k.getWithIndex(k));
                k++;
            };
        }
        public function _-2-K(_arg1:int):String
        {
            return (this._-38s.getValue(_arg1));
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd.BadgeImageManager

package _-1Jd
{
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import flash.utils.Dictionary;
    import _-295.AssetLibrary;
    import flash.display.BitmapData;
    import flash.net.URLRequest;
    import _-295.BitmapDataAsset;
    import _-295._-4Rz;
    import _-50-.GameConfigurations;
    import _-1tB.AssetLoaderEvent;
    import flash.display.Bitmap;
    import _-yT._-a5;
    import flash.geom.Matrix;
    import _-295._-2kE;

    public class BadgeImageManager 
    {

        public static const _-2iV:String = "group_badge";
        public static const _-Jt:String = "normal_badge";

        private const _-1nF:String = "badge_";
        private const _-11f:String = "_32";

        private var _assets:_-39L;
        private var _-2Te:IEventDispatcher;
        private var _-3fD:_-4uR;
        private var _-cU:_-0hg;
        private var _-4IL:Dictionary;

        public function BadgeImageManager(_arg1:_-39L, _arg2:IEventDispatcher, _arg3:_-4uR, _arg4:_-0hg)
        {
            this._-4IL = new Dictionary();
            super();
            if (_arg1 == null)
            {
                k = new AssetLibrary("badge_images");
            };
            this._assets = _arg1;
            this._-2Te = _arg2;
            this._-3fD = _arg3;
            this._-cU = _arg4;
        }
        public function dispose():void
        {
            this._assets = null;
        }
        public function getBadgeImage(_arg1:String, _arg2:String="normal_badge", _arg3:Boolean=true):BitmapData
        {
            var k:BitmapData = this._-3S0(_arg1, _arg2);
            if (((!(k)) && (_arg3)))
            {
                k = this._-2DT();
            };
            return (k);
        }
        public function _-3Y9(_arg1:String, _arg2:String="normal_badge"):BitmapData
        {
            return (this.getBadgeImage((_arg1 + this._-11f)));
        }
        public function _-4zS(_arg1:String):_-2Wb
        {
            var k:BitmapData = this._-3S0(_arg1);
            return ((((k)!=null) ? new _-2Wb(k, false) : new _-2Wb(this._-2DT(), true)));
        }
        public function _-4hy(_arg1:String, _arg2:String="group_badge"):String
        {
            var k:String = (this._-1nF + _arg1);
            if (this._assets.hasAsset(k))
            {
                return (k);
            };
            this._-3S0(_arg1, _arg2);
            return (null);
        }
        public function _-qG(_arg1:String, _arg2:String="group_badge"):String
        {
            return (this._-4hy((_arg1 + this._-11f)));
        }
        private function _-3S0(_arg1:String, _arg2:String="normal_badge"):BitmapData
        {
            var k:URLRequest;
            var k:String;
            var k:BitmapDataAsset;
            var k:_-4Rz;
            var k:String = (this._-1nF + _arg1);
            _-Nb.log(("Request badge: " + _arg1));
            if (this._assets.hasAsset(k))
            {
                k = (this._assets.getAssetByName(k) as BitmapDataAsset);
                return ((k.content as BitmapData).clone());
            };
            switch (_arg2)
            {
                case _-Jt:
                    if (this._-3fD != null)
                    {
                        if (GameConfigurations._-4p0(_arg1))
                        {
                            k = GameConfigurations._-4w5(_arg1);
                        }
                        else
                        {
                            k = this._-3fD.getKey("image.library.url", "http://images.habbo.com/c_images/");
                            k = (k + (("album1584/" + _arg1) + ".gif"));
                        };
                        k = new URLRequest(k);
                    };
                    break;
                case _-2iV:
                    if (((!((this._-3fD == null))) && (!(this._-4IL[k]))))
                    {
                        k = this._-3fD.getKey("group.badge.url");
                        k = k.replace("%imagerdata%", _arg1);
                        k = new URLRequest(k);
                        this._-4IL[k] = true;
                    };
                    break;
            };
            if (k != null)
            {
                k = this._assets.loadAssetFromFile(k, k, "image/gif");
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-M6);
            };
            return (null);
        }
        private function _-2DT():BitmapData
        {
            return (BitmapData(this._assets.getAssetByName("loading_icon").content).clone());
        }
        private function _-M6(_arg1:AssetLoaderEvent):void
        {
            var k:String;
            var k:String;
            var k:Bitmap;
            var k:BitmapData;
            var k:BitmapDataAsset;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                if (((!((k._-48Y == null))) && (!((k._-48Y.content == null)))))
                {
                    k = k.assetName;
                    k = k.replace(this._-1nF, "");
                    k = (k._-48Y.content as Bitmap);
                    if (k == null)
                    {
                        if (this._-4IL[k])
                        {
                            delete this._-4IL[k];
                        };
                        return;
                    };
                    if (this._-4IL[k])
                    {
                        k = this._-0Pv(k);
                        if (k)
                        {
                            k = new BitmapDataAsset(this._assets.getAssetTypeDeclarationByClass(BitmapDataAsset));
                            if (k != null)
                            {
                                this._assets.setAsset(((this._-1nF + k) + this._-11f), k);
                                k._-2OI(k);
                            };
                        };
                    };
                    this._-2Te.dispatchEvent(new _-a5(k, k.bitmapData.clone()));
                };
            };
        }
        private function _-0Pv(_arg1:String):BitmapData
        {
            var k:BitmapData;
            var k:BitmapData;
            var k:Matrix;
            var k:_-2kE = this._assets.getAssetByName(_arg1);
            if (k != null)
            {
                k = (k.content as BitmapData);
                k = new BitmapData((k.width / 2), (k.height / 2), true, 0);
                k = new Matrix(0.5, 0, 0, 0.5);
                k.draw(k, k, null, null, null, true);
                return (k);
            };
            return (null);
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd.PerkManager

package _-1Jd
{
    import flash.utils.Dictionary;
    import _-1Jk._-3nT;
    import _-35T._-1Ym;
    import _-35T.PerkAllowancesMessageParser;
    import __AS3__.vec.Vector;
    import _-1B-.*;

    public class PerkManager implements _-1zZ 
    {

        private var _-8M:SessionDataManager;
        private var _-0Gg:Dictionary;
        private var _disposed:Boolean = false;

        public function PerkManager(_arg1:SessionDataManager)
        {
            this._-0Gg = new Dictionary();
            super();
            this._-8M = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            var k:String;
            if (!this._disposed)
            {
                if (this._-0Gg)
                {
                    for (k in this._-0Gg)
                    {
                        delete this._-0Gg[k];
                    };
                    this._-0Gg = null;
                };
                this._-8M = null;
                this._disposed = true;
            };
        }
        public function _-w():void
        {
            this._-8M.communication.addHabboConnectionMessageEvent(new _-3nT(this._-0rM));
        }
        public function isPerkAllowed(_arg1:String):Boolean
        {
            return ((((_arg1 in this._-0Gg)) && (this._-0Gg[_arg1].isAllowed)));
        }
        public function _-05D(_arg1:String):String
        {
            var k:_-1Ym = this._-0Gg[_arg1];
            return ((((k)!=null) ? k.errorMessage : ""));
        }
        private function _-0rM(_arg1:_-3nT):void
        {
            var k:_-1Ym;
            var k:PerkAllowancesMessageParser = _arg1._-3-5();
            var k:Vector.<_-1Ym> = k._-4Li();
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                this._-0Gg[k.code] = k;
                k++;
            };
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd.RoomSessionManager

package _-1Jd
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-2np._-1ZV;
    import _-18r.Map;
    import _-2gz._-2UE;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboTracking;
    import _-1B-._-5CE;
    import _-1B-._-1zZ;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1R1._-4FR;
    import _-1R1._-4Dd;
    import _-1R1._-2BI;
    import _-1R1._-0sQ;
    import _-1R1._-3q1;
    import _-1R1._-1Nt;
    import _-1R1._-0Vj;
    import _-1R1._-2d3;
    import _-1R1._-1NQ;
    import _-1R1._-oB;
    import _-1R1._-3au;
    import _-1R1._-0g9;
    import _-1R1._-06I;
    import _-1R1._-0X0;
    import _-1R1._-3i4;
    import _-4kK._-07d;
    import _-29G._-2G3;
    import _-yT._-7k;
    import _-1R1._-2EN;
    import com.sulake.iid.*;

    public class RoomSessionManager extends _-Px implements _-45k, _-4iR 
    {

        private static var _-4VB:int = 0;
        private static var _-0si:int = 1;

        private var _-0ud:_-4BJ = null;
        private var _-51u:_-1ZV = null;
        private var _-4tf:Array = null;
        private var _-3WC:Boolean = false;
        private var _-3xD:Boolean = false;
        private var _-4ej:Map = null;
        private var _-49j:_-3Im;
        private var _-T6:Boolean = false;
        private var _-1e8:_-2UE;

        public function RoomSessionManager(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
            this._-4tf = [];
            this._-4ej = new Map();
            queueInterface(new IIDHabboCommunicationManager(), this._-58b);
            queueInterface(new IIDHabboTracking(), this._-2Jl);
        }
        public function set _-4-m(_arg1:Boolean):void
        {
            this._-3xD = _arg1;
            this._-p3();
        }
        public function get _-Lj():Boolean
        {
            if (((this._-3WC) && (this._-3xD)))
            {
                return (true);
            };
            return (false);
        }
        public function get _-0OQ():Boolean
        {
            return (this._-T6);
        }
        override public function dispose():void
        {
            var k:String;
            var k:_-3Im;
            var k:int;
            var k:_-1zZ;
            super.dispose();
            if (this._-0ud != null)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-1e8 != null)
            {
                this._-1e8.release(new IIDHabboTracking());
                this._-1e8 = null;
            };
            this._-51u = null;
            if (this._-4ej)
            {
                while (this._-4ej.length > 0)
                {
                    k = (this._-4ej.getKey(0) as String);
                    k = (this._-4ej.remove(k) as _-3Im);
                    if (k != null)
                    {
                        k.dispose();
                    };
                };
                this._-4ej.dispose();
                this._-4ej = null;
            };
            if (this._-4tf)
            {
                k = 0;
                while (k < this._-4tf.length)
                {
                    k = (this._-4tf[k] as _-1zZ);
                    if (k)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-4tf = null;
            };
        }
        private function _-58b(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0ud = (_arg2 as _-4BJ);
            if (this._-0ud != null)
            {
                this._-51u = this._-0ud._-4gR(this._-1QP);
                if (this._-51u != null)
                {
                    this._-1QP(this._-51u);
                };
            };
        }
        private function _-2Jl(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-1e8 = (_arg2 as _-2UE);
        }
        private function _-1QP(_arg1:_-1ZV):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-51u = _arg1;
                this._-8n();
                this._-p3();
            };
        }
        private function _-8n():void
        {
            if (this._-51u == null)
            {
                return;
            };
            this._-4tf.push(new _-4FR(this._-51u, this));
            this._-4tf.push(new _-4Dd(this._-51u, this));
            this._-4tf.push(new _-2BI(this._-51u, this));
            this._-4tf.push(new _-0sQ(this._-51u, this));
            this._-4tf.push(new _-3q1(this._-51u, this));
            this._-4tf.push(new _-1Nt(this._-51u, this));
            this._-4tf.push(new _-0Vj(this._-51u, this));
            this._-4tf.push(new _-2d3(this._-51u, this));
            this._-4tf.push(new _-1NQ(this._-51u, this));
            this._-4tf.push(new _-oB(this._-51u, this));
            this._-4tf.push(new _-3au(this._-51u, this));
            this._-4tf.push(new _-0g9(this._-51u, this));
            this._-4tf.push(new _-06I(this._-51u, this));
            this._-4tf.push(new _-0X0(this._-51u, this));
            this._-4tf.push(new _-3i4(this._-51u, this));
        }
        private function _-p3():void
        {
            if (this._-0ud != null)
            {
                this._-3WC = true;
            };
            if (((this._-Lj) && (this._-49j)))
            {
                this._-su(this._-49j);
                this._-49j = null;
            };
        }
        public function _-4eb(_arg1:Boolean, _arg2:int, _arg3:String="", _arg4:String=""):Boolean
        {
            var k:_-3Im = new _-3Im();
            k.roomId = _arg2;
            k.roomCategory = ((_arg1) ? _-0si : _-4VB);
            k._-0fS = _arg3;
            k._-1kY = _arg4;
            k.habboTracking = this._-1e8;
            return (this._-su(k));
        }
        public function _-29h(_arg1:int, _arg2:int):Boolean
        {
            var k:_-3Im = new _-3Im();
            k.roomId = 1;
            k.roomCategory = _-4VB;
            k._-0fS = "";
            k.habboTracking = this._-1e8;
            k._-2TD = new _-07d(_arg1, _arg2);
            return (this._-su(k));
        }
        public function _-4hE():Boolean
        {
            var k:_-3Im = new _-3Im();
            k.roomId = 1;
            k.roomCategory = _-4VB;
            k._-0fS = "";
            k.habboTracking = this._-1e8;
            k._-2TD = new _-2G3();
            return (this._-su(k));
        }
        private function _-su(_arg1:_-3Im):Boolean
        {
            if (!this._-Lj)
            {
                this._-49j = _arg1;
                return (false);
            };
            var k:String = this._-1FJ(_arg1.roomId, _arg1.roomCategory);
            this._-T6 = true;
            if (this._-4ej.getValue(k) != null)
            {
                this._-50S(_arg1.roomId, _arg1.roomCategory, false);
            };
            _arg1.connection = this._-51u;
            this._-4ej.add(k, _arg1);
            events.dispatchEvent(new _-7k(_-7k._-3h9, _arg1));
            return (true);
        }
        public function _-16l(_arg1:_-4JJ):Boolean
        {
            if (_arg1.state == _-7k._-1YC)
            {
                return (false);
            };
            if (_arg1.isGameSession)
            {
                return (true);
            };
            if (_arg1.start())
            {
                this._-T6 = false;
                events.dispatchEvent(new _-7k(_-7k._-1YC, _arg1));
                this._-0sI(_arg1);
            }
            else
            {
                this._-50S(_arg1.roomId, _arg1.roomCategory);
                this._-T6 = false;
                return (false);
            };
            return (true);
        }
        public function _-1NV():void
        {
            var k:_-3Im = new _-3Im();
            k.roomId = 1;
            k.roomCategory = 0;
            k.habboTracking = this._-1e8;
            k.isGameSession = true;
            k.connection = this._-51u;
            this._-4ej.add(this._-1FJ(k.roomId, k.roomCategory), k);
            events.dispatchEvent(new _-7k(_-7k._-3h9, k));
        }
        public function _-4Lj():void
        {
            var k:String = this._-1FJ(1, 0);
            var k:_-3Im = this._-4ej.getValue(k);
            if (((k) && (k.isGameSession)))
            {
                this._-50S(1, 0, false);
            };
        }
        public function sessionUpdate(_arg1:int, _arg2:int, _arg3:String):void
        {
            var k:_-4JJ = this.getSession(_arg1, _arg2);
            if (k != null)
            {
                switch (_arg3)
                {
                    case _-4FR._-2aU:
                        return;
                    case _-4FR._-2A0:
                        return;
                    case _-4FR._-35j:
                        this._-50S(_arg1, _arg2);
                        return;
                };
            };
        }
        public function sessionReinitialize(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:_-3Im;
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-3Im = (this._-4ej.remove(k) as _-3Im);
            if (k != null)
            {
                k = _arg2;
                k.reset(_arg3, k);
                k = this._-1FJ(_arg3, k);
                k = this._-4ej.remove(k);
                if (k != null)
                {
                };
                this._-4ej.add(k, k);
                this._-0sI(k);
            };
        }
        public function getSession(_arg1:int, _arg2:int):_-4JJ
        {
            var k:String = this._-1FJ(_arg1, _arg2);
            return ((this._-4ej.getValue(k) as _-4JJ));
        }
        public function _-50S(_arg1:int, _arg2:int, _arg3:Boolean=true):void
        {
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-3Im = (this._-4ej.remove(k) as _-3Im);
            if (k != null)
            {
                events.dispatchEvent(new _-7k(_-7k._-44W, k, _arg3));
                k.dispose();
            };
        }
        private function _-0sI(_arg1:_-4JJ):void
        {
            var k:int;
            var k:_-2EN;
            if (((!((_arg1 == null))) && (!((this._-4tf == null)))))
            {
                k = 0;
                while (k < this._-4tf.length)
                {
                    k = (this._-4tf[k] as _-2EN);
                    if (k != null)
                    {
                        k._-0e- = _arg1.roomId;
                        k._-0mk = _arg1.roomCategory;
                    };
                    k++;
                };
            };
        }
        private function _-1FJ(_arg1:int, _arg2:int):String
        {
            return ("hard_coded_room_id");
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jd.SessionDataManager

package _-1Jd
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-4pF._-3Ts;
    import flash.utils.Dictionary;
    import _-32F.ProductDataParser;
    import _-18r.Map;
    import _-4n1.FurnitureDataParser;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-0pY._-4Ij;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import _-3PZ._-0hr;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1HK._-2Xf;
    import _-1HK._-GF;
    import _-1Q8._-0PF;
    import _-2It._-1r3;
    import _-1rc._-4bH;
    import _-4zR._-4uj;
    import _-0Z1._-6D;
    import _-1HK._-4Pw;
    import _-2na._-3qY;
    import _-4Aj._-0tL;
    import _-2It._-153;
    import flash.events.Event;
    import _-4n1._-44P;
    import _-hT._-128;
    import _-yT._-54q;
    import _-ta._-zs;
    import _-yT._-1-M;
    import _-2Zi._-4A3;
    import _-8p._-10W;
    import _-ta._-20D;
    import flash.display.BitmapData;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-4Aj._-1oF;
    import _-0Pi._-4KO;
    import _-2Vm._-0RR;
    import _-32F._-48b;
    import _-4n1._-0hX;
    import _-2ly._-11j;
    import _-1C6._-4ky;
    import _-3Bn._-1xB;
    import _-32F._-Hw;
    import _-2tT._-3uk;
    import _-1h8._-4uH;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import _-2YR._-4Tn;
    import _-0M7._-0tE;
    import com.sulake.iid.*;

    public class SessionDataManager extends _-Px implements _-51K 
    {

        private var _-0ud:_-4BJ;
        private var _-U-:_-3Ts;
        private var _-16k:_-45k;
        private var _-12A:PerkManager;
        private var _-0Kq:int;
        private var _name:String;
        private var _-5AE:String;
        private var _-4Cb:String;
        private var _-pj:String;
        private var _-2bg:int = 0;
        private var _-0MM:int = 0;
        private var _-1Zk:int = 0;
        private var _-52w:Boolean = true;
        private var _-1xq:Array;
        private var _-5Cx:Boolean;
        private var _-Ql:Boolean;
        private var _-0N9:Dictionary;
        private var _-4Cw:ProductDataParser;
        private var _-3CB:Map;
        private var _-14o:Map;
        private var _-0i-:Map;
        private var _-4Og:FurnitureDataParser;
        private var _-4-y:_-5Cn;
        private var _-322:BadgeImageManager;
        private var _-4Jk:_-qo;
        private var _-4xI:_-11-;
        private var _-3fD:_-4uR;
        private var _-cU:_-0hg;
        private var _-Qw:Boolean = false;
        private var _-51-:Array;
        private var _-0MU:Array;
        private var _-05-:int;
        private var _-2Dy:int;
        private var _-hD:_-4Ij;
        private var _-2D5:Boolean = false;

        public function SessionDataManager(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-1xq = [];
            this._-4-y = new _-5Cn(events);
            this._-4Jk = new _-qo(this, events);
            this._-4xI = new _-11-(this);
            this._-12A = new PerkManager(this);
            this._-hD = new _-4Ij();
            this._-0N9 = new Dictionary();
            this._-51- = [];
            this._-0MU = [];
            this._-3CB = new Map();
            this._-14o = new Map();
            this._-0i- = new Map();
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboCommunicationManager(), this._-2WR);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            _arg1.events.addEventListener(_-0hr._-4kN, this._-0hu);
            _arg1.events.addEventListener(_-0hr._-1sg, this._-0hu);
        }
        override public function dispose():void
        {
            if (this._-3CB)
            {
                this._-3CB.dispose();
                this._-3CB = null;
            };
            if (this._-0i-)
            {
                this._-0i-.dispose();
                this._-0i- = null;
            };
            if (this._-12A)
            {
                this._-12A.dispose();
                this._-12A = null;
            };
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-16k)
            {
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            this._-0MU = null;
            if (this._-4Og)
            {
                this._-4Og.removeEventListener(FurnitureDataParser._-1AF, this._-0UT);
                this._-4Og.dispose();
                this._-4Og = null;
            };
            if (this._-4Cw)
            {
                this._-4Cw.removeEventListener(ProductDataParser._-1AF, this._-3xV);
                this._-4Cw.dispose();
                this._-4Cw = null;
            };
            if (this._-hD)
            {
                this._-hD.dispose();
                this._-hD = null;
            };
            super.dispose();
        }
        private function _-3X6():void
        {
            if (this._-322 != null)
            {
                return;
            };
            if ((((this._-3fD == null)) || ((this._-cU == null))))
            {
                return;
            };
            this._-322 = new BadgeImageManager(assets, events, this._-3fD, this._-cU);
        }
        private function _-1bB(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-U- = (_arg2 as _-3Ts);
        }
        private function _-2WR(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0ud = (_arg2 as _-4BJ);
            if (this._-0ud == null)
            {
                return;
            };
            this._-0ud.addHabboConnectionMessageEvent(new _-2Xf(this._-4tb));
            this._-0ud.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            this._-0ud.addHabboConnectionMessageEvent(new _-0PF(this._-374));
            this._-0ud.addHabboConnectionMessageEvent(new _-1r3(this._-1LE));
            this._-0ud.addHabboConnectionMessageEvent(new _-4bH(this._-61));
            this._-0ud.addHabboConnectionMessageEvent(new _-4uj(this._-0Ey));
            this._-0ud.addHabboConnectionMessageEvent(new _-6D(this._-0D9));
            this._-0ud.addHabboConnectionMessageEvent(new _-4Pw(this._-4sK));
            this._-0ud.addHabboConnectionMessageEvent((new _-3qY(this._-0fE) as _-0tL));
            this._-0ud.addHabboConnectionMessageEvent(new _-153(this._-45Y));
            this._-4-y.communication = this._-0ud;
            this._-4Jk.communication = this._-0ud;
            this._-hD.communication = this._-0ud;
            this._-4xI._-2sK();
            this._-12A._-w();
        }
        private function _-1d3(_arg1:_-Wo, _arg2:_-4yI):void
        {
            if (_arg2 == null)
            {
                return;
            };
            this._-3fD = (_arg2 as _-4uR);
        }
        private function _-0hu(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-0hr.INIT:
                    return;
                case _-0hr._-1WR:
                    return;
                case _-0hr._-1Nb:
                    return;
                case _-0hr._-0xg:
                    return;
                case _-0hr._-4kN:
                    return;
                case _-0hr._-1sg:
                    this._-3X6();
                    this._-1Ui();
                    return;
            };
        }
        private function _-1Ui():void
        {
            var k:String;
            if (!this._-4Og)
            {
                this._-4Og = new FurnitureDataParser(this._-3CB, this._-14o, this._-0i-, this._-cU);
                this._-4Og.addEventListener(FurnitureDataParser._-1AF, this._-0UT);
                if (this._-3fD.keyExists("furnidata.load.url"))
                {
                    k = this._-3fD.getKey("furnidata.load.url");
                    this._-4Og._-35r(k);
                };
            };
        }
        private function _-3V9(_arg1:_-Wo, _arg2:_-4yI):void
        {
            if (_arg2 == null)
            {
                return;
            };
            this._-cU = (_arg2 as _-0hg);
            this._-3X6();
            if (this._-4Og)
            {
                this._-4Og.localization = this._-cU;
                this._-4Og._-0eR();
            };
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-16k = (_arg2 as _-45k);
        }
        private function _-0UT(_arg1:Event=null):void
        {
            var k:_-44P;
            this._-4Og.removeEventListener(FurnitureDataParser._-1AF, this._-0UT);
            for each (k in this._-0MU)
            {
                k._-2bO();
            };
            this._-0MU = [];
        }
        private function _-4tb(_arg1:_-0tL):void
        {
            var k:_-2Xf = _-2Xf(_arg1);
            this._-05- = k.clubLevel;
            this._-2Dy = k._-0gt;
        }
        private function _-2y3(_arg1:_-0tL):void
        {
            var k:_-GF = (_arg1 as _-GF);
            var k:_-128 = k._-3-5();
            this._-0Kq = k.id;
            this._name = k.name;
            this._-2bg = k._-vG;
            this._-0MM = k._-2Vb;
            this._-1Zk = k._-193;
            this._-5AE = k.figure;
            this._-4Cb = k._-af;
            this._-pj = k.realName;
            this._-52w = k._-3pl;
            this._-2D5 = k._-41s;
            this._-4xI._-0Dj();
        }
        private function _-374(_arg1:_-0tL):void
        {
            var k:_-0PF = (_arg1 as _-0PF);
            if (k == null)
            {
                return;
            };
            if (k.id == -1)
            {
                this._-5AE = k.figure;
                this._-4Cb = k._-af;
                events.dispatchEvent(new _-54q(this._-0Kq, this._-5AE, this._-4Cb));
            };
        }
        private function _-1LE(_arg1:_-0tL):void
        {
            var k:_-1r3 = (_arg1 as _-1r3);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:_-zs = k._-3-5();
            if (k._-2HY == this._-0Kq)
            {
                this._name = k._-3A7;
                this._-52w = false;
                events.dispatchEvent(new _-1-M(this._name));
            };
        }
        private function _-61(_arg1:_-4bH):void
        {
            var k:_-4A3 = _arg1._-3-5();
            if (k._-rJ == _-4bH._-3Mi)
            {
                this._-52w = false;
                events.dispatchEvent(new _-1-M(k.name));
            };
        }
        private function _-0Ey(_arg1:_-0tL):void
        {
            var k:_-10W = (_arg1 as _-4uj)._-3-5();
            if (k == null)
            {
                return;
            };
            this._-5Cx = k.isOpen;
            this._-Ql = k._-4f5;
        }
        private function _-0D9(_arg1:_-6D):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-1Zk++;
        }
        private function _-4sK(_arg1:_-0tL):void
        {
            this.loadProductData();
        }
        private function _-45Y(_arg1:_-153):void
        {
            var k:_-20D = _arg1._-3-5();
            this._-2D5 = (k.status == _-20D._-3Nu);
        }
        public function get _-19x():Boolean
        {
            return (this._-5Cx);
        }
        public function get _-0o8():Boolean
        {
            return (this._-Ql);
        }
        public function _-2t1(_arg1:int):Boolean
        {
            return ((this._-2Dy >= _arg1));
        }
        public function get clubLevel():int
        {
            return (this._-05-);
        }
        public function get userId():int
        {
            return (this._-0Kq);
        }
        public function get userName():String
        {
            return (this._name);
        }
        public function get realName():String
        {
            return (this._-pj);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-3eu():Boolean
        {
            return ((this._-2Dy >= _-3wh._-15c));
        }
        public function _-2-C(_arg1:int):Array
        {
            return (this._-4-y._-4a4(_arg1));
        }
        public function getBadgeImage(_arg1:String):BitmapData
        {
            return (this._-322.getBadgeImage(_arg1));
        }
        public function requestBadgeImage(_arg1:String):BitmapData
        {
            return (this._-322.getBadgeImage(_arg1, BadgeImageManager._-Jt, false));
        }
        public function _-4zS(_arg1:String):_-2Wb
        {
            return (this._-322._-4zS(_arg1));
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        public function _-0h5(_arg1:int):String
        {
            return (this._-4Jk._-2-K(_arg1));
        }
        public function send(_arg1:_-1oF):void
        {
            this._-0ud._-4gR(null).send(_arg1);
        }
        public function _-1ot(_arg1:String):BitmapData
        {
            return (this._-322.getBadgeImage(_arg1, BadgeImageManager._-2iV));
        }
        public function _-3WS(_arg1:String):BitmapData
        {
            return (this._-322._-3Y9(_arg1, BadgeImageManager._-2iV));
        }
        public function _-2pP(_arg1:String):String
        {
            return (this._-322._-4hy(_arg1, BadgeImageManager._-2iV));
        }
        public function _-0mU(_arg1:String):String
        {
            return (this._-322._-qG(_arg1, BadgeImageManager._-2iV));
        }
        public function _-3ZA():Boolean
        {
            return (this._-2D5);
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        public function _-3dp(_arg1:String):Boolean
        {
            return (this._-4xI._-3dp(_arg1));
        }
        public function _-49D(_arg1:String):void
        {
            this._-4xI._-49D(_arg1);
        }
        public function _-0PA(_arg1:String):void
        {
            this._-4xI._-0PA(_arg1);
        }
        public function get _-2Vb():int
        {
            return (this._-0MM);
        }
        public function get _-193():int
        {
            return (this._-1Zk);
        }
        public function _-4Lq(_arg1:int):void
        {
            if ((((_arg1 >= 0)) && ((this._-0MM > 0))))
            {
                this.send(new _-4KO(_arg1));
                this._-0MM = (this._-0MM - 1);
            };
        }
        public function _-1WQ():void
        {
            this._-0MM = (this._-0MM + 1);
        }
        public function _-0lX(_arg1:int):void
        {
            if ((((_arg1 >= 0)) && ((this._-1Zk > 0))))
            {
                this.send(new _-0RR(_arg1));
                this._-1Zk = (this._-1Zk - 1);
            };
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function getProductData(_arg1:String):_-48b
        {
            if (!this._-Qw)
            {
                this.loadProductData();
            };
            return (this._-0N9[_arg1]);
        }
        public function _-LX(_arg1:int):_-0hX
        {
            if (this._-3CB == null)
            {
                return (null);
            };
            return (this._-3CB.getValue(_arg1.toString()));
        }
        public function _-2ae(_arg1:int):Array
        {
            var k:_-0hX;
            var k:Array = [];
            if (this._-3CB != null)
            {
                for each (k in this._-3CB)
                {
                    if (k.category == _arg1)
                    {
                        k.push(k);
                    };
                };
            };
            return (k);
        }
        public function _-3LT(_arg1:int):_-0hX
        {
            if (this._-14o == null)
            {
                return (null);
            };
            return (this._-14o.getValue(_arg1.toString()));
        }
        public function _-1qx(_arg1:String, _arg2:int=0):_-0hX
        {
            var k:int;
            if (this._-0i- == null)
            {
                return (null);
            };
            var k:Array = this._-0i-.getValue(_arg1);
            if (((!((k == null))) && ((_arg2 <= (k.length - 1)))))
            {
                k = k[_arg2];
                return (this._-LX(k));
            };
            return (null);
        }
        public function _-0lJ(_arg1:String, _arg2:int=0):_-0hX
        {
            var k:int;
            if (this._-0i- == null)
            {
                return (null);
            };
            var k:Array = this._-0i-.getValue(_arg1);
            if (((!((k == null))) && ((_arg2 <= (k.length - 1)))))
            {
                k = k[_arg2];
                return (this._-3LT(k));
            };
            return (null);
        }
        public function _-0Tl(_arg1:int):void
        {
            var urlString:String;
            var userId:int = _arg1;
            if (this._-3fD != null)
            {
                urlString = this._-3fD.getKey("link.format.userpage");
                urlString = urlString.replace("%ID%", String(userId));
                try
                {
                    _-11j.navigateToURL(urlString, "habboMain");
                }
                catch(e:Error)
                {
                    _-Nb.log("Error occurred!");
                };
            };
        }
        public function _-3bZ(_arg1:int, _arg2:int):void
        {
            var roomId:int = _arg1;
            var roomCategory:int = _arg2;
            if ((((this._-16k == null)) || ((this._-U- == null))))
            {
                return;
            };
            var session:_-4JJ = this._-16k.getSession(roomId, roomCategory);
            if (session == null)
            {
                return;
            };
            if (((((session._-49x) || (this._-3eu))) || ((session._-125 >= _-4ky._-YE))))
            {
                this._-U-.confirm("${generic.alert.title}", "${room.confirm.pick_all}", 0, function (_arg1:_-1xB, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                    if (_arg2.type == WindowEvent._-0-9)
                    {
                        sendSpecialCommandMessage(":pickall");
                    };
                });
            };
        }
        public function _-1UJ(_arg1:int, _arg2:int):void
        {
            var roomId:int = _arg1;
            var roomCategory:int = _arg2;
            if ((((this._-16k == null)) || ((this._-U- == null))))
            {
                return;
            };
            var session:_-4JJ = this._-16k.getSession(roomId, roomCategory);
            if (session == null)
            {
                return;
            };
            if (((session._-49x) || (this._-3eu)))
            {
                this._-U-.confirm("${generic.alert.title}", "${room.confirm.eject_all}", 0, function (_arg1:_-1xB, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                    if (_arg2.type == WindowEvent._-0-9)
                    {
                        sendSpecialCommandMessage(":ejectall");
                    };
                });
            };
        }
        public function loadProductData(_arg1:_-Hw=null):Boolean
        {
            var k:String;
            if (this._-Qw)
            {
                return (true);
            };
            if (((_arg1) && ((this._-51-.indexOf(_arg1) == -1))))
            {
                this._-51-.push(_arg1);
            };
            if (!this._-3fD)
            {
                return (false);
            };
            if (this._-4Cw == null)
            {
                k = this._-3fD.getKey("productdata.load.url");
                this._-4Cw = new ProductDataParser(k, this._-0N9);
                this._-4Cw.addEventListener(ProductDataParser._-1AF, this._-3xV);
            };
            return (false);
        }
        public function _-OL(_arg1:_-Hw):void
        {
            if (this._-Qw)
            {
                _arg1._-52N();
                return;
            };
            if (((_arg1) && ((this._-51-.indexOf(_arg1) == -1))))
            {
                this._-51-.push(_arg1);
            };
        }
        private function _-3xV(_arg1:Event):void
        {
            var k:_-Hw;
            this._-4Cw.removeEventListener(ProductDataParser._-1AF, this._-3xV);
            this._-Qw = true;
            for each (k in this._-51-)
            {
                if (((!((k == null))) && (!(k.disposed))))
                {
                    k._-52N();
                };
            };
            this._-51- = [];
        }
        private function _-0fE(_arg1:_-0tL):void
        {
            var k:_-3qY = (_arg1 as _-3qY);
            if ((((((k == null)) || ((k._-3-5() == null)))) || ((_arg1.connection == null))))
            {
                return;
            };
            var k:_-3uk = k._-3-5();
            _-11j.roomVisited(k.roomId);
        }
        public function sendSpecialCommandMessage(_arg1:String):void
        {
            this.send(new _-4uH(_arg1));
        }
        public function get _-1ED():_-45k
        {
            return (this._-16k);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function _-co(_arg1:_-44P):Array
        {
            if ((((this._-3CB == null)) || ((this._-3CB.length == 0))))
            {
                if (this._-0MU.indexOf(_arg1) == -1)
                {
                    this._-0MU.push(_arg1);
                };
                return (null);
            };
            var k:Array = this._-3CB._-0hn();
            return (k.concat(this._-14o._-0hn()));
        }
        public function getXmlWindow(_arg1:String):IWindow
        {
            var k:_-2kE;
            var k:_-243;
            var k:IWindow;
            try
            {
                k = assets.getAssetByName(_arg1);
                k = _-243(k);
                k = this._-U-.buildFromXML(XML(k.content));
            }
            catch(e:Error)
            {
            };
            return (k);
        }
        public function _-1JQ(_arg1:String):BitmapData
        {
            var k:String = _arg1;
            var k:_-2kE = assets.getAssetByName(k);
            var k:BitmapDataAsset = BitmapDataAsset(k);
            var k:BitmapData = BitmapData(k.content);
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0);
            k.draw(k);
            return (k);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get _-3pl():Boolean
        {
            return (this._-52w);
        }
        public function isPerkAllowed(_arg1:String):Boolean
        {
            return (this._-12A.isPerkAllowed(_arg1));
        }
        public function _-05D(_arg1:String):String
        {
            return (this._-12A._-05D(_arg1));
        }
        public function get currentTalentTrack():String
        {
            return (((((this._-3fD.getBoolean("talent.track.citizenship.enabled", false)) && (!(this.isPerkAllowed(_-4Tn.CITIZEN))))) ? _-0tE._-0-O : _-0tE._-4LW));
        }

    }
}//package _-1Jd

//------------------------------------------------------------
//_-1Jk._-1aN

package _-1Jk
{
    import _-4Aj._-7V;
    import _-35T._-4gU;
    import _-4Aj.*;

    public class _-1aN extends _-7V implements _-0tL 
    {

        public function _-1aN(_arg1:Function)
        {
            super(_arg1, _-4gU);
        }
        public function _-3-5():_-4gU
        {
            return ((_-515 as _-4gU));
        }

    }
}//package _-1Jk

//------------------------------------------------------------
//_-1Jk._-3nT

package _-1Jk
{
    import _-4Aj._-7V;
    import _-35T.PerkAllowancesMessageParser;
    import _-4Aj.*;

    public class _-3nT extends _-7V implements _-0tL 
    {

        public function _-3nT(_arg1:Function)
        {
            super(_arg1, PerkAllowancesMessageParser);
        }
        public function _-3-5():PerkAllowancesMessageParser
        {
            return ((_-515 as PerkAllowancesMessageParser));
        }

    }
}//package _-1Jk

//------------------------------------------------------------
//_-1kb._-2oX

package _-1kb
{
    public interface _-2oX 
    {

        function _-4DC():Boolean;
        function _-15S():Boolean;
        function _-4pf():Boolean;
        function get id():String;
        function get _-1or():Array;
        function get _-2CB():Array;
        function get _-3u1():Array;
        function get resetOnToggle():Boolean;

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb._-4nZ

package _-1kb
{
    import flash.utils.Dictionary;

    public interface _-4nZ 
    {

        function get animations():Dictionary;
        function _-0RO(_arg1:String):_-2oX;
        function _-0JM(_arg1:String, _arg2:int, _arg3:String):_-oL;

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb._-cH

package _-1kb
{
    public interface _-cH 
    {

        function get animation():_-2oX;
        function get id():String;
        function get ink():int;
        function get member():String;
        function get _-2MN():Boolean;
        function get _-0uN():Boolean;
        function _-xO(_arg1:int):int;
        function _-1je(_arg1:int):int;
        function _-bi(_arg1:int):int;

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb._-Gh

package _-1kb
{
    import flash.geom.ColorTransform;

    public interface _-Gh 
    {

        function get ink():int;
        function get colorTransform():ColorTransform;
        function get _-4tM():Boolean;
        function get reds():Array;
        function get greens():Array;
        function get blues():Array;
        function get alphas():Array;

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb._-oL

package _-1kb
{
    import _-3o7._-3yS;

    public interface _-oL 
    {

        function get id():String;
        function get action():_-3yS;
        function get _-2Ec():int;
        function get dx():int;
        function get dy():int;
        function get dz():int;
        function get _-3J7():int;

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb.AddDataContainer

package _-1kb
{
    public class AddDataContainer 
    {

        private var _-0Kq:String;
        private var _-2q:String;
        private var _-1zt:String;
        private var _-456:String;
        private var _-4Ay:Number = 1;

        public function AddDataContainer(_arg1:XML)
        {
            this._-0Kq = String(_arg1.@id);
            this._-2q = String(_arg1.@align);
            this._-1zt = String(_arg1.@base);
            this._-456 = String(_arg1.@ink);
            var k:String = String(_arg1.@blend);
            if (k.length > 0)
            {
                this._-4Ay = Number(k);
                if (this._-4Ay > 1)
                {
                    this._-4Ay = (this._-4Ay / 100);
                };
            };
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get align():String
        {
            return (this._-2q);
        }
        public function get base():String
        {
            return (this._-1zt);
        }
        public function get ink():String
        {
            return (this._-456);
        }
        public function get blend():Number
        {
            return (this._-4Ay);
        }
        public function get _-3L9():Boolean
        {
            return (!((this._-4Ay == 1)));
        }

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb.Animation

package _-1kb
{
    import _-18r.Map;
    import _-4Kb.AvatarStructure;
    import _-3o7._-0kA;

    public class Animation implements _-2oX 
    {

        private static const _-0Vk:Array = [];

        private var _-0Kq:String;
        private var _-1Td:String;
        private var _-0eh:Array;
        private var _-2jU:Array;
        private var _-2wI:AvatarDataContainer;
        private var _-09L:DirectionDataContainer;
        private var _-24Q:Array;
        private var _-18p:Array;
        private var _-4w:Map;
        private var _-48:Map;
        private var _-3ub:Boolean;

        public function Animation(_arg1:AvatarStructure, _arg2:XML)
        {
            var k:XML;
            var k:XML;
            var k:XML;
            var k:XML;
            var k:String;
            var k:String;
            var k:Array;
            this._-0eh = [];
            super();
            this._-0Kq = String(_arg2.@name);
            if (_arg2.hasOwnProperty("@desc"))
            {
                this._-1Td = String(_arg2.@desc);
            }
            else
            {
                this._-1Td = this._-0Kq;
            };
            if (_arg2.hasOwnProperty("@resetOnToggle"))
            {
                this._-3ub = Boolean(_arg2.@resetOnToggle);
            }
            else
            {
                this._-3ub = false;
            };
            if (_arg2.hasOwnProperty("sprite"))
            {
                this._-2jU = [];
                for each (k in _arg2.sprite)
                {
                    this._-2jU.push(new SpriteDataContainer((this as _-2oX), k));
                };
            };
            if (_arg2.hasOwnProperty("avatar"))
            {
                this._-2wI = new AvatarDataContainer(_arg2.avatar[0]);
            };
            if (_arg2.hasOwnProperty("direction"))
            {
                this._-09L = new DirectionDataContainer(_arg2.direction[0]);
            };
            if (_arg2.hasOwnProperty("remove"))
            {
                this._-24Q = [];
                for each (k in _arg2.remove)
                {
                    this._-24Q.push(String(k.@id));
                };
            };
            if (_arg2.hasOwnProperty("add"))
            {
                this._-18p = [];
                for each (k in _arg2.add)
                {
                    this._-18p.push(new AddDataContainer(k));
                };
            };
            if (_arg2.hasOwnProperty("override"))
            {
                this._-48 = new Map();
                this._-4w = new Map();
                for each (k in _arg2.override)
                {
                    k = k.@name;
                    k = k.@override;
                    this._-4w.add(k, k);
                    k = new Array();
                    this._-0sR(k, k.frame, _arg1);
                    this._-48.add(k, k);
                };
            };
            this._-0sR(this._-0eh, _arg2.frame, _arg1);
        }
        private function _-0sR(_arg1:Array, _arg2:XMLList, _arg3:AvatarStructure):void
        {
            var k:Array;
            var k:_-0kA;
            var k:XML;
            var k:int;
            var k:int;
            var k:XML;
            var k:XML;
            var k:AnimationLayerData;
            var k:AnimationLayerData;
            for each (k in _arg2)
            {
                k = 1;
                if (k.@repeats > 1)
                {
                    k = int(k.@repeats);
                };
                k = 0;
                while (k < k)
                {
                    k = new Array();
                    for each (k in k.bodypart)
                    {
                        k = _arg3._-p6(String(k.@action));
                        k = new AnimationLayerData(k, AnimationLayerData._-11v, k);
                        k.push(k);
                    };
                    for each (k in k.fx)
                    {
                        k = _arg3._-p6(String(k.@action));
                        k = new AnimationLayerData(k, AnimationLayerData._-3uP, k);
                        k.push(k);
                        if (k != null)
                        {
                        };
                    };
                    _arg1.push(k);
                    k++;
                };
            };
        }
        public function _-2EV(_arg1:String=null):int
        {
            var k:Array;
            if (!_arg1)
            {
                return (this._-0eh.length);
            };
            if (this._-48)
            {
                k = this._-48.getValue(_arg1);
                if (k)
                {
                    return (k.length);
                };
            };
            return (0);
        }
        public function _-2iA():Boolean
        {
            if (!this._-4w)
            {
                return (false);
            };
            return ((this._-4w.length > 0));
        }
        public function _-Hk():Array
        {
            if (!this._-4w)
            {
                return (null);
            };
            return (this._-4w._-18C());
        }
        public function _-0HT(_arg1:String):String
        {
            if (!this._-4w)
            {
                return (null);
            };
            return (this._-4w.getValue(_arg1));
        }
        private function _-44L(_arg1:int, _arg2:String=null):Array
        {
            var _local4:Array;
            var k:Array = [];
            if (!_arg2)
            {
                if (this._-0eh.length > 0)
                {
                    k = this._-0eh[(_arg1 % this._-0eh.length)];
                };
            }
            else
            {
                _local4 = (this._-48.getValue(_arg2) as Array);
                if (((_local4) && ((_local4.length > 0))))
                {
                    k = _local4[(_arg1 % _local4.length)];
                };
            };
            return (k);
        }
        public function _-1bV(_arg1:int, _arg2:String=null):Array
        {
            var k:AnimationLayerData;
            var k:AddDataContainer;
            var k:Array = new Array();
            for each (k in this._-44L(_arg1, _arg2))
            {
                if (k.type == AnimationLayerData._-11v)
                {
                    k.push(k.id);
                }
                else
                {
                    if (k.type == AnimationLayerData._-3uP)
                    {
                        if (this._-18p)
                        {
                            for each (k in this._-18p)
                            {
                                if (k.id == k.id)
                                {
                                    k.push(k.align);
                                };
                            };
                        };
                    };
                };
            };
            return (k);
        }
        public function _-0JM(_arg1:int, _arg2:String, _arg3:String=null):AnimationLayerData
        {
            var k:AnimationLayerData;
            var k:AddDataContainer;
            for each (k in this._-44L(_arg1, _arg3))
            {
                if (k.id == _arg2)
                {
                    return ((k as AnimationLayerData));
                };
                if (k.type == AnimationLayerData._-3uP)
                {
                    for each (k in this._-18p)
                    {
                        if ((((k.align == _arg2)) && ((k.id == k.id))))
                        {
                            return ((k as AnimationLayerData));
                        };
                    };
                };
            };
            return (null);
        }
        public function _-4DC():Boolean
        {
            return (!((this._-2wI == null)));
        }
        public function _-15S():Boolean
        {
            return (!((this._-09L == null)));
        }
        public function _-4pf():Boolean
        {
            return (!((this._-18p == null)));
        }
        public function _-1Ln(_arg1:String):AddDataContainer
        {
            var k:AddDataContainer;
            if (this._-18p)
            {
                for each (k in this._-18p)
                {
                    if (k.id == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get _-1or():Array
        {
            return (((this._-2jU) ? this._-2jU : _-0Vk));
        }
        public function get _-0gn():AvatarDataContainer
        {
            return (this._-2wI);
        }
        public function get _-27g():DirectionDataContainer
        {
            return (this._-09L);
        }
        public function get _-2CB():Array
        {
            return (((this._-24Q) ? this._-24Q : _-0Vk));
        }
        public function get _-3u1():Array
        {
            return (((this._-18p) ? this._-18p : _-0Vk));
        }
        public function toString():String
        {
            return (this._-1Td);
        }
        public function get resetOnToggle():Boolean
        {
            return (this._-3ub);
        }

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb.AnimationLayerData

package _-1kb
{
    import _-3o7._-3yS;
    import _-18r.Map;
    import _-3o7._-1k3;
    import _-3o7._-0kA;

    public class AnimationLayerData implements _-oL 
    {

        public static const _-11v:String = "bodypart";
        public static const _-3uP:String = "fx";

        private var _-0Kq:String;
        private var _-0iA:_-3yS;
        private var _-4Eq:int;
        private var _-24n:int;
        private var _-3yx:int;
        private var _-41D:int;
        private var _-4gt:int;
        private var _-5K:String;
        private var _-1zt:String;
        private var _-2ZH:Map;

        public function AnimationLayerData(_arg1:XML, _arg2:String, _arg3:_-0kA)
        {
            var k:XML;
            var k:String;
            this._-2ZH = new Map();
            super();
            this._-0Kq = String(_arg1.@id);
            this._-4Eq = parseInt(_arg1.@frame);
            this._-24n = parseInt(_arg1.@dx);
            this._-3yx = parseInt(_arg1.@dy);
            this._-41D = parseInt(_arg1.@dz);
            this._-4gt = parseInt(_arg1.@dd);
            this._-5K = _arg2;
            this._-1zt = String(_arg1.@base);
            for each (k in _arg1.item)
            {
                this._-2ZH[String(k.@id)] = String(k.@base);
            };
            k = "";
            if (this._-1zt != "")
            {
                k = String(this._-1kg());
            };
            if (_arg3 != null)
            {
                this._-0iA = new _-1k3(_arg3.state, this.base);
                this._-0iA._-0LY = _arg3;
            };
        }
        public function get items():Map
        {
            return (this._-2ZH);
        }
        private function _-1kg():int
        {
            var k:int;
            var k:int;
            while (k < this._-1zt.length)
            {
                k = (k + this._-1zt.charCodeAt(k));
                k++;
            };
            return (k);
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get _-2Ec():int
        {
            return (this._-4Eq);
        }
        public function get dx():int
        {
            return (this._-24n);
        }
        public function get dy():int
        {
            return (this._-3yx);
        }
        public function get dz():int
        {
            return (this._-41D);
        }
        public function get _-3J7():int
        {
            return (this._-4gt);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get base():String
        {
            return (this._-1zt);
        }
        public function get action():_-3yS
        {
            return (this._-0iA);
        }

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb.AnimationManager

package _-1kb
{
    import flash.utils.Dictionary;
    import _-4Kb.AvatarStructure;

    public class AnimationManager implements _-4nZ 
    {

        private var _-4Vy:Dictionary;

        public function AnimationManager()
        {
            this._-4Vy = new Dictionary();
        }
        public function _-0IW(_arg1:AvatarStructure, _arg2:XML):Boolean
        {
            var k:String = String(_arg2.@name);
            this._-4Vy[k] = new Animation(_arg1, _arg2);
            return (true);
        }
        public function _-0RO(_arg1:String):_-2oX
        {
            return (this._-4Vy[_arg1]);
        }
        public function _-0JM(_arg1:String, _arg2:int, _arg3:String):_-oL
        {
            var k:Animation = (this._-4Vy[_arg1] as Animation);
            if (k != null)
            {
                return (k._-0JM(_arg2, _arg3));
            };
            return (null);
        }
        public function get animations():Dictionary
        {
            return (this._-4Vy);
        }

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb.AvatarDataContainer

package _-1kb
{
    import flash.geom.ColorTransform;
    import _-18r.Map;

    public class AvatarDataContainer implements _-Gh 
    {

        private var _-456:int;
        private var _-4wr:uint;
        private var _-2Nf:uint;
        private var _-1Cw:ColorTransform;
        private var _-3IR:uint;
        private var _r:uint;
        private var _g:uint;
        private var _b:uint;
        private var _-2Hm:Number = 1;
        private var _-586:Number = 1;
        private var _-28l:Number = 1;
        private var _-4GT:Number = 1;
        private var _-1b7:Map;
        private var _-3It:Boolean = true;

        public function AvatarDataContainer(_arg1:XML)
        {
            this._-456 = parseInt(_arg1.@ink);
            var k:String = String(_arg1.@foreground);
            k = k.replace("#", "");
            var k:String = String(_arg1.@background);
            k = k.replace("#", "");
            this._-4wr = parseInt(k, 16);
            this._-2Nf = parseInt(k, 16);
            this._-3IR = parseInt(k, 16);
            this._r = ((this._-3IR >> 16) & 0xFF);
            this._g = ((this._-3IR >> 8) & 0xFF);
            this._b = ((this._-3IR >> 0) & 0xFF);
            this._-2Hm = ((this._r / 0xFF) * 1);
            this._-586 = ((this._g / 0xFF) * 1);
            this._-28l = ((this._b / 0xFF) * 1);
            if (this._-456 == 37)
            {
                this._-4GT = 0.5;
                this._-3It = false;
            };
            this._-1Cw = new ColorTransform(this._-2Hm, this._-586, this._-28l, this._-4GT);
            this._-1b7 = this._-2Fs(this._-2Nf, this._-4wr);
        }
        public function get ink():int
        {
            return (this._-456);
        }
        public function get colorTransform():ColorTransform
        {
            return (this._-1Cw);
        }
        public function get reds():Array
        {
            return ((this._-1b7.getValue("reds") as Array));
        }
        public function get greens():Array
        {
            return ((this._-1b7.getValue("greens") as Array));
        }
        public function get blues():Array
        {
            return ((this._-1b7.getValue("blues") as Array));
        }
        public function get alphas():Array
        {
            return ((this._-1b7.getValue("alphas") as Array));
        }
        public function get _-4tM():Boolean
        {
            return (this._-3It);
        }
        private function _-2Fs(_arg1:uint, _arg2:uint):Map
        {
            var k = ((_arg1 >> 24) & 0xFF);
            var k = ((_arg1 >> 16) & 0xFF);
            var k = ((_arg1 >> 8) & 0xFF);
            var k = ((_arg1 >> 0) & 0xFF);
            var k = ((_arg2 >> 24) & 0xFF);
            var k = ((_arg2 >> 16) & 0xFF);
            var k = ((_arg2 >> 8) & 0xFF);
            var k = ((_arg2 >> 0) & 0xFF);
            var k:Number = ((k - k) / 0xFF);
            var k:Number = ((k - k) / 0xFF);
            var k:Number = ((k - k) / 0xFF);
            var k:Number = ((k - k) / 0xFF);
            var k:Map = new Map();
            var k:Array = [];
            var k:Array = [];
            var k:Array = [];
            var k:Array = [];
            var k:Number = k;
            var k:Number = k;
            var k:Number = k;
            var k:Number = k;
            var k:int;
            while (k < 0x0100)
            {
                if ((((((k == k)) && ((k == k)))) && ((k == k))))
                {
                    k = 0;
                };
                k = (k + k);
                k = (k + k);
                k = (k + k);
                k = (k + k);
                k.push((k << 24));
                k.push(((((k << 24) | (k << 16)) | (k << 8)) | k));
                k.push(((((k << 24) | (k << 16)) | (k << 8)) | k));
                k.push(((((k << 24) | (k << 16)) | (k << 8)) | k));
                k++;
            };
            k.add("alphas", k);
            k.add("reds", k);
            k.add("greens", k);
            k.add("blues", k);
            return (k);
        }

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb.DirectionDataContainer

package _-1kb
{
    public class DirectionDataContainer 
    {

        private var _-1fe:int;

        public function DirectionDataContainer(_arg1:XML)
        {
            this._-1fe = parseInt(_arg1.@offset);
        }
        public function get offset():int
        {
            return (this._-1fe);
        }

    }
}//package _-1kb

//------------------------------------------------------------
//_-1kb.SpriteDataContainer

package _-1kb
{
    public class SpriteDataContainer implements _-cH 
    {

        private var _-1FT:_-2oX;
        private var _-0Kq:String;
        private var _-456:int;
        private var _-54C:String;
        private var _-10:Boolean;
        private var _-3F0:Boolean;
        private var _-24n:Array;
        private var _-3yx:Array;
        private var _-41D:Array;

        public function SpriteDataContainer(_arg1:_-2oX, _arg2:XML)
        {
            var k:XML;
            var k:int;
            super();
            this._-1FT = _arg1;
            this._-0Kq = String(_arg2.@id);
            this._-456 = parseInt(_arg2.@ink);
            this._-54C = String(_arg2.@member);
            this._-3F0 = Boolean(parseInt(_arg2.@staticY));
            this._-10 = Boolean(parseInt(_arg2.@directions));
            this._-24n = [];
            this._-3yx = [];
            this._-41D = [];
            for each (k in _arg2.direction)
            {
                k = parseInt(k.@id);
                this._-24n[k] = parseInt(k.@dx);
                this._-3yx[k] = parseInt(k.@dy);
                this._-41D[k] = parseInt(k.@dz);
            };
        }
        public function _-xO(_arg1:int):int
        {
            if (_arg1 < this._-24n.length)
            {
                return (this._-24n[_arg1]);
            };
            return (0);
        }
        public function _-1je(_arg1:int):int
        {
            if (_arg1 < this._-3yx.length)
            {
                return (this._-3yx[_arg1]);
            };
            return (0);
        }
        public function _-bi(_arg1:int):int
        {
            if (_arg1 < this._-41D.length)
            {
                return (this._-41D[_arg1]);
            };
            return (0);
        }
        public function get animation():_-2oX
        {
            return (this._-1FT);
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get ink():int
        {
            return (this._-456);
        }
        public function get member():String
        {
            return (this._-54C);
        }
        public function get _-2MN():Boolean
        {
            return (this._-10);
        }
        public function get _-0uN():Boolean
        {
            return (this._-3F0);
        }

    }
}//package _-1kb

//------------------------------------------------------------
//_-1Kc._-0XU

package _-1Kc
{
    import _-FP._-2ul;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-1FD._-1m0;

    public class _-0XU extends _-2ul 
    {

        public function _-0XU(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        public function _-1IV(_arg1:int, _arg2:int):void
        {
            var k:_-1m0 = new _-1m0(_-1m0._-2Ai, _arg1, _arg2);
            messageListener.processWidgetMessage(k);
        }

    }
}//package _-1Kc

//------------------------------------------------------------
//_-1Kc._-1mQ

package _-1Kc
{
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-2C8;
    import _-og._-4Iz;
    import flash.events.IEventDispatcher;
    import _-1FD._-2CC;

    public class _-1mQ extends _-0XU 
    {

        private var _-0Gt:ChooserView;

        public function _-1mQ(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function dispose():void
        {
            if (this._-0Gt != null)
            {
                this._-0Gt.dispose();
                this._-0Gt = null;
            };
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-2C8._-31o, this._-1Hg);
            _arg1.addEventListener(_-4Iz._-1AW, this._-1oC);
            _arg1.addEventListener(_-4Iz._-1iL, this._-1oC);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-2C8._-31o, this._-1Hg);
            _arg1.removeEventListener(_-4Iz._-1AW, this._-1oC);
            _arg1.removeEventListener(_-4Iz._-1iL, this._-1oC);
        }
        private function _-1Hg(_arg1:_-2C8):void
        {
            if ((((_arg1 == null)) || ((_arg1.items == null))))
            {
                return;
            };
            if (this._-0Gt == null)
            {
                this._-0Gt = new ChooserView(this, "${widget.chooser.furni.title}");
            };
            this._-0Gt.populate(_arg1.items, _arg1._-3eu);
        }
        private function _-1oC(_arg1:_-4Iz):void
        {
            if ((((this._-0Gt == null)) || (!(this._-0Gt.isOpen()))))
            {
                return;
            };
            var k:_-2CC = new _-2CC(_-2CC._-3y4);
            messageListener.processWidgetMessage(k);
        }

    }
}//package _-1Kc

//------------------------------------------------------------
//_-1Kc._-3Zf

package _-1Kc
{
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-1FD._-2CC;
    import _-og._-2C8;
    import _-og._-4Iz;
    import flash.events.IEventDispatcher;

    public class _-3Zf extends _-0XU 
    {

        private const _-2C4:int = 0;
        private const _-2cz:int = 1;

        private var _-14-:ChooserView;

        public function _-3Zf(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function get state():int
        {
            if (((!((this._-14- == null))) && (this._-14-.isOpen())))
            {
                return (this._-2cz);
            };
            return (this._-2C4);
        }
        override public function initialize(_arg1:int=0):void
        {
            var k:_-2CC;
            super.initialize(_arg1);
            if (_arg1 == this._-2cz)
            {
                k = new _-2CC(_-2CC._-1E3);
                messageListener.processWidgetMessage(k);
            };
        }
        override public function dispose():void
        {
            if (this._-14- != null)
            {
                this._-14-.dispose();
                this._-14- = null;
            };
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-2C8._-0UG, this._-1Hg);
            _arg1.addEventListener(_-4Iz._-58q, this._-2Qp);
            _arg1.addEventListener(_-4Iz._-4g3, this._-2Qp);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-2C8._-0UG, this._-1Hg);
            _arg1.removeEventListener(_-4Iz._-58q, this._-2Qp);
            _arg1.removeEventListener(_-4Iz._-4g3, this._-2Qp);
        }
        private function _-1Hg(_arg1:_-2C8):void
        {
            if ((((_arg1 == null)) || ((_arg1.items == null))))
            {
                return;
            };
            if (this._-14- == null)
            {
                this._-14- = new ChooserView(this, "${widget.chooser.user.title}");
            };
            this._-14-.populate(_arg1.items, false);
        }
        private function _-2Qp(_arg1:_-4Iz):void
        {
            if ((((this._-14- == null)) || (!(this._-14-.isOpen()))))
            {
                return;
            };
            var k:_-2CC = new _-2CC(_-2CC._-1E3);
            messageListener.processWidgetMessage(k);
        }

    }
}//package _-1Kc

//------------------------------------------------------------
//_-1Kc.ChooserView

package _-1Kc
{
    import _-1ae.IFrameWindow;
    import _-1ae.IItemListWindow;
    import _-og._-4mJ;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;

    public class ChooserView 
    {

        private const _-4T4:uint = 4293848814;
        private const _-3NV:uint = 0;
        private const _-jB:uint = 4282169599;

        private var _-0dg:_-0XU;
        private var _-o7:String;
        private var _-0xv:IFrameWindow;
        private var _-4xX:IItemListWindow;
        private var _-2ZH:Array;
        private var _-4jQ:Boolean;
        private var _-0X2:int;

        public function ChooserView(_arg1:_-0XU, _arg2:String)
        {
            this._-0dg = _arg1;
            this._-o7 = _arg2;
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function isOpen():Boolean
        {
            return (((!((this._-0xv == null))) && (this._-0xv.visible)));
        }
        public function populate(_arg1:Array, _arg2:Boolean):void
        {
            var k:_-4mJ;
            var k:IWindowContainer;
            var k:int;
            var k:ITextWindow;
            if (this._-0dg == null)
            {
                return;
            };
            if (this._-0xv == null)
            {
                this.createWindow();
            };
            if ((((((this._-0xv == null)) || ((this._-4xX == null)))) || ((_arg1 == null))))
            {
                return;
            };
            this._-4xX._-Ls();
            var k:_-243 = _-243(this._-0dg.assets.getAssetByName("chooser_item"));
            if (k == null)
            {
                return;
            };
            this._-2ZH = _arg1.slice();
            this._-4jQ = _arg2;
            k = 0;
            while (k < _arg1.length)
            {
                k = (_arg1[k] as _-4mJ);
                if (k != null)
                {
                    k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
                    if (k == null)
                    {
                        return;
                    };
                    k = (k.findChildByName("itemtext") as ITextWindow);
                    if (k == null)
                    {
                        return;
                    };
                    k.id = k;
                    if (this._-4jQ)
                    {
                        k.text = ((k.name + " id: ") + k.id);
                    }
                    else
                    {
                        k.text = k.name;
                    };
                    k.color = (((k % 2)) ? this._-3NV : this._-4T4);
                    k.addEventListener(WindowMouseEvent._-90, this._-4rR);
                    this._-4xX.addListItem(k);
                };
                k++;
            };
            k = 0;
            while (k < this._-4xX.numListItems)
            {
                k = (this._-4xX.getListItemAt(k) as IWindowContainer);
                if (k != null)
                {
                    k.width = this._-4xX.width;
                };
                k++;
            };
            this._-0X2 = -1;
        }
        private function createWindow():void
        {
            var k:_-243 = _-243(this._-0dg.assets.getAssetByName("chooser_view"));
            if (k == null)
            {
                return;
            };
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.caption = this._-o7;
            this._-4xX = (this._-0xv.findChildByName("item_list") as IItemListWindow);
            var k:IWindow = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            if (this._-0xv.parent != null)
            {
                this._-0xv.x = (this._-0xv.parent.width - this._-0xv.width);
                this._-0xv.y = 0;
            };
        }
        private function _-0vy():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-4rR(_arg1:WindowMouseEvent):void
        {
            if ((((((_arg1 == null)) || ((_arg1.window == null)))) || ((this._-2ZH == null))))
            {
                return;
            };
            var k:int = _arg1.window.id;
            if ((((k < 0)) || ((k > this._-2ZH.length))))
            {
                return;
            };
            var k:_-4mJ = (this._-2ZH[k] as _-4mJ);
            if (k == null)
            {
                return;
            };
            this._-0dg._-1IV(k.id, k.category);
            this._-2dw(k);
        }
        private function _-2dw(_arg1:int):void
        {
            var k:IWindowContainer;
            if ((((((((this._-4xX == null)) || ((_arg1 < 0)))) || ((_arg1 > this._-4xX.numListItems)))) || ((_arg1 == this._-0X2))))
            {
                return;
            };
            if (this._-0X2 != -1)
            {
                k = (this._-4xX.getListItemAt(this._-0X2) as IWindowContainer);
                if (k != null)
                {
                    k.color = (((this._-0X2 % 2)) ? this._-3NV : this._-4T4);
                };
            };
            k = (this._-4xX.getListItemAt(_arg1) as IWindowContainer);
            if (k != null)
            {
                k.color = this._-jB;
                this._-0X2 = _arg1;
            };
        }
        public function _-1UX(_arg1:int, _arg2:int):void
        {
            var k:_-4mJ;
            if ((((this._-2ZH == null)) || ((this._-4xX == null))))
            {
                return;
            };
            var k:int;
            while (k < this._-2ZH.length)
            {
                k = (this._-2ZH[k] as _-4mJ);
                if (k != null)
                {
                    if ((((k.id == _arg1)) && ((k.category == _arg2))))
                    {
                        this._-2ZH.splice(k, 1);
                        break;
                    };
                };
                k++;
            };
            this.populate(this._-2ZH, this._-4jQ);
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-0vy();
        }

    }
}//package _-1Kc

//------------------------------------------------------------
//_-1l1._-1mP

package _-1l1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1mP implements _-58N 
    {

        private var _-b2:int;
        private var _-4F4:int;
        private var _-4DA:String;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4F4 = _arg1._-2BW();
            this._-b2 = _arg1._-2BW();
            this._-4DA = _arg1.readString();
            return (true);
        }
        public function flush():Boolean
        {
            this._-b2 = 0;
            this._-4F4 = 0;
            this._-4DA = null;
            return (true);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function get messageId():int
        {
            return (this._-4F4);
        }
        public function get timestamp():String
        {
            return (this._-4DA);
        }

    }
}//package _-1l1

//------------------------------------------------------------
//_-1lc._-0cm

package _-1lc
{
    import _-0mD.HabboCatalog;
    import _-0mD._-2tY;
    import flash.display.BitmapData;
    import _-293._-5-S;
    import _-293._-4q2;
    import _-1ae._-3Yi;
    import _-0Ix._-4xG;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;

    public class _-0cm extends ProductContainer 
    {

        public function _-0cm(_arg1:Offer, _arg2:Array, _arg3:HabboCatalog)
        {
            super(_arg1, _arg2, _arg3);
        }
        override public function initProductIcon(_arg1:_-5-S, _arg2:_-4q2=null):void
        {
            var k:_-2eJ = _-1YN;
            var k:BitmapData = k._-3cd(this, this, this, (offer as _-2tY), _icon, _arg2, this._-4JW);
            this.setIconImage(k, true);
        }
        public function _-3BJ():void
        {
            if (!catalog.configuration.getBoolean("unique.limited.items.enabled", false))
            {
                return;
            };
            _-Ke.findChildByName("unique_item_background_bitmap").visible = true;
            var k:_-3Yi = _-3Yi(_-Ke.findChildByName("unique_item_overlay_container"));
            var k:_-4xG = _-4xG(k.widget);
            k.visible = true;
            k._-2GS = _-1YN.uniqueLimitedItemSeriesSize;
            if (_-1YN.uniqueLimitedItemsLeft == 0)
            {
                _-Ke.findChildByName("unique_item_sold_out_bitmap").visible = true;
            }
            else
            {
                _-Ke.findChildByName("unique_item_sold_out_bitmap").visible = false;
            };
        }
        private function _-4JW(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz;
            if (((!(disposed)) && (!((offer.page.viewer.catalog == null)))))
            {
                k = (_arg1.target as _-4Rz);
                if (k != null)
                {
                    (offer.page.viewer.catalog as HabboCatalog).setImageFromAsset(_icon, k.assetName, null);
                };
            };
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-1FF

package _-1lc
{
    public interface _-1FF 
    {

        function _-1NL(_arg1:Boolean, _arg2:String):void;

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-1Lw

package _-1lc
{
    import _-32F._-48b;
    import _-4n1._-0hX;
    import _-0mD.HabboCatalog;
    import _-2Mh._-3Uw;
    import _-yT._-a5;
    import _-293._-2Gt;
    import flash.display.BitmapData;
    import _-293._-5-S;
    import _-293.dynamic;
    import _-4Kb._-3QA;
    import _-0mD._-2tY;
    import _-1ae.IBitmapWrapperWindow;
    import _-293._-4q2;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-Ew.IWindowContainer;
    import _-293.*;

    public class _-1Lw extends _-2Ij implements _-2eJ, dynamic 
    {

        public static const _-3Jj:int = 108;

        private var _-Gu:String;
        private var _-2wF:int;
        private var _-2Uq:String;
        private var _-4lD:int;
        private var _-4tn:int;
        private var _-1Ue:_-48b;
        private var _-4zT:_-0hX;
        private var _-1dS:Boolean;
        private var _-2qd:int;
        private var _-0Ei:int;
        private var _-4Ch:_-1OU;

        public function _-1Lw(_arg1:String, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:_-48b, _arg7:_-0hX, _arg8:HabboCatalog, _arg9:Boolean=false, _arg10:int=0, _arg11:int=0)
        {
            super(_arg8);
            this._-Gu = _arg1;
            this._-2wF = _arg2;
            this._-2Uq = _arg3;
            this._-4lD = _arg4;
            this._-4tn = _arg5;
            this._-1Ue = _arg6;
            this._-4zT = _arg7;
            this._-1dS = _arg9;
            this._-2qd = _arg10;
            this._-0Ei = _arg11;
        }
        public static function _-VU(_arg1:Array):Array
        {
            var k:_-1Lw;
            if (_arg1.length == 1)
            {
                return (_arg1);
            };
            var k:Array = new Array();
            for each (k in _arg1)
            {
                if (((!((k._-5DX == _-3Uw._-0tW))) && (!((((k._-5DX == _-3Uw._-17R)) && ((k._-3yk == _-3Jj)))))))
                {
                    k.push(k);
                };
            };
            return (k);
        }

        public function get _-5DX():String
        {
            return (this._-Gu);
        }
        public function get _-3yk():int
        {
            return (this._-2wF);
        }
        public function set _-1gg(_arg1:String):void
        {
            this._-2Uq = _arg1;
        }
        public function get _-1gg():String
        {
            return (this._-2Uq);
        }
        public function get productCount():int
        {
            return (this._-4lD);
        }
        public function get expiration():int
        {
            return (this._-4tn);
        }
        public function get _-08n():_-48b
        {
            return (this._-1Ue);
        }
        public function get _-5D1():_-0hX
        {
            return (this._-4zT);
        }
        public function get _-0bb():Boolean
        {
            return (this._-1dS);
        }
        public function get uniqueLimitedItemSeriesSize():int
        {
            return (this._-2qd);
        }
        public function get uniqueLimitedItemsLeft():int
        {
            return (this._-0Ei);
        }
        public function set uniqueLimitedItemsLeft(_arg1:int):void
        {
            this._-0Ei = _arg1;
        }
        override public function dispose():void
        {
            if (disposed)
            {
                return;
            };
            this._-Gu = "";
            this._-2wF = 0;
            this._-2Uq = "";
            this._-4lD = 0;
            this._-4tn = 0;
            this._-1Ue = null;
            this._-4zT = null;
            if (((catalog) && (catalog.sessionDataManager)))
            {
                catalog.sessionDataManager.events.removeEventListener(_-a5._-4pG, this._-M6);
            };
            super.dispose();
        }
        public function _-3cd(_arg1:_-1OU, _arg2:dynamic=null, _arg3:_-3QA=null, _arg4:_-2tY=null, _arg5:IBitmapWrapperWindow=null, _arg6:_-4q2=null, _arg7:Function=null):BitmapData
        {
            var k:_-2Gt;
            var k:String;
            if (disposed)
            {
                return (null);
            };
            var k:BitmapData;
            if (_arg2 == null)
            {
                k = this;
            };
            var k:_-5-S = (_arg1 as ProductContainer).offer.page.viewer.roomEngine;
            if (((!(k)) || (!(catalog))))
            {
                return (null);
            };
            switch (this._-Gu)
            {
                case _-3Uw._-5Ds:
                    k = k.getFurnitureIcon(this._-3yk, _arg2, null, _arg6);
                    break;
                case _-3Uw._-0xA:
                    if (((_arg4) && (this._-4zT)))
                    {
                        k = "";
                        switch (this._-4zT.name)
                        {
                            case "floor":
                                k = ["th", this._-4zT.name, _arg4.productContainer._-1YN._-1gg].join("_");
                                break;
                            case "wallpaper":
                                k = ["th", "wall", _arg4.productContainer._-1YN._-1gg].join("_");
                                break;
                            case "landscape":
                                k = ["th", this._-4zT.name, _arg4.productContainer._-1YN._-1gg.replace(".", "_"), "001"].join("_");
                                break;
                            default:
                                k = k.getWallItemIcon(this._-3yk, _arg2, this._-2Uq);
                        };
                        catalog.setImageFromAsset(_arg5, k, _arg7);
                    }
                    else
                    {
                        k = k.getWallItemIcon(this._-3yk, _arg2, this._-2Uq);
                    };
                    break;
                case _-3Uw._-17R:
                    k = catalog.getPixelEffectIcon(this._-3yk);
                    if (_arg2 == this)
                    {
                        this.setIconImage(k, true);
                    };
                    break;
                case _-3Uw._-0dl:
                    k = catalog.getSubscriptionProductIcon(this._-3yk);
                    break;
                case _-3Uw._-0tW:
                    catalog.sessionDataManager.events.addEventListener(_-a5._-4pG, this._-M6);
                    k = catalog.sessionDataManager.getBadgeImage(this._-2Uq);
                    this._-4Ch = _arg1;
                    break;
                case _-3Uw._-0Z7:
                    k = _-2t4(this._-2Uq, _arg3);
                    setIconImage(k, false);
                    break;
                default:
                    _-Nb.log(("[Product] Can not yet handle this type of product: " + this._-5DX));
            };
            if (k != null)
            {
                k = k.data;
                if (_arg2 == this)
                {
                    this.setIconImage(k, true);
                };
            };
            return (k);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (!disposed)
            {
                setIconImage(_arg2, true);
            };
        }
        private function _-M6(_arg1:_-a5):void
        {
            if (!disposed)
            {
                if ((((this._-Gu == _-3Uw._-0tW)) && ((_arg1.badgeId == this._-2Uq))))
                {
                    _-2Ij(this._-4Ch).setIconImage(_arg1._-0tr, false);
                    if (((catalog) && (catalog.sessionDataManager)))
                    {
                        catalog.sessionDataManager.events.removeEventListener(_-a5._-4pG, this._-M6);
                    };
                };
            };
        }
        override public function set view(_arg1:IWindowContainer):void
        {
            var k:IWindow;
            var k:ITextWindow;
            if (!_arg1)
            {
                return;
            };
            super.view = _arg1;
            if (this._-4lD > 1)
            {
                k = _-Ke.findChildByName("multiContainer");
                if (k)
                {
                    k.visible = true;
                };
                k = (_-Ke.findChildByName("multiCounter") as ITextWindow);
                if (k)
                {
                    k.text = ("x" + this.productCount);
                };
            };
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-1OU

package _-1lc
{
    import _-293._-5-S;
    import _-293._-4q2;
    import _-Ew.IWindowContainer;
    import _-1B-.*;

    public interface _-1OU extends _-1zZ 
    {

        function initProductIcon(_arg1:_-5-S, _arg2:_-4q2=null):void;
        function activate():void;
        function deActivate():void;
        function get products():Array;
        function get _-1YN():_-2eJ;
        function set view(_arg1:IWindowContainer):void;
        function get view():IWindowContainer;
        function set grid(_arg1:_-4BV):void;
        function _-2UB(_arg1:int):void;

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-2eJ

package _-1lc
{
    import _-32F._-48b;
    import _-4n1._-0hX;
    import _-293.dynamic;
    import _-4Kb._-3QA;
    import _-0mD._-2tY;
    import _-1ae.IBitmapWrapperWindow;
    import _-293._-4q2;
    import flash.display.BitmapData;
    import _-Ew.IWindowContainer;
    import _-293.*;
    import _-1B-.*;

    public interface _-2eJ extends dynamic, _-1zZ 
    {

        function get _-5DX():String;
        function get _-3yk():int;
        function set _-1gg(_arg1:String):void;
        function get _-1gg():String;
        function get productCount():int;
        function get expiration():int;
        function get _-08n():_-48b;
        function get _-5D1():_-0hX;
        function get _-0bb():Boolean;
        function get uniqueLimitedItemSeriesSize():int;
        function get uniqueLimitedItemsLeft():int;
        function set uniqueLimitedItemsLeft(_arg1:int):void;
        function _-3cd(_arg1:_-1OU, _arg2:dynamic=null, _arg3:_-3QA=null, _arg4:_-2tY=null, _arg5:IBitmapWrapperWindow=null, _arg6:_-4q2=null, _arg7:Function=null):BitmapData;
        function set view(_arg1:IWindowContainer):void;
        function set grid(_arg1:_-4BV):void;

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-2Ij

package _-1lc
{
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-0mD.HabboCatalog;
    import _-2vN._-29z;
    import _-Ew.IWindow;
    import _-1ae.IInteractiveWindow;
    import _-09j.WindowState;
    import _-09j._-25s;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-4Kb._-3QA;

    public class _-2Ij implements _-3kE 
    {

        private static const _-2lm:String = "bg";

        protected var _-Ke:IWindowContainer;
        private var _-2Mt:_-4BV;
        protected var _icon:IBitmapWrapperWindow;
        private var _disposed:Boolean = false;
        private var _-1UN:Object;
        private var _-3oJ:HabboCatalog;

        public function _-2Ij(_arg1:HabboCatalog)
        {
            this._-3oJ = _arg1;
            super();
        }
        public function get view():IWindowContainer
        {
            return (this._-Ke);
        }
        public function set grid(_arg1:_-4BV):void
        {
            this._-2Mt = _arg1;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-2Mt = null;
            this._icon = null;
            this._-3oJ = null;
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        protected function get catalog():HabboCatalog
        {
            return (this._-3oJ);
        }
        public function activate():void
        {
            this._-Ke.getChildByName(_-2lm).style = _-29z._-3dr;
        }
        public function deActivate():void
        {
            this._-Ke.getChildByName(_-2lm).style = 3;
        }
        public function set view(_arg1:IWindowContainer):void
        {
            if (!_arg1)
            {
                return;
            };
            this._-Ke = _arg1;
            this._-Ke.procedure = this._-xg;
            this._icon = (this._-Ke.findChildByName("image") as IBitmapWrapperWindow);
            var k:IWindow = this._-Ke.findChildByName("multiContainer");
            if (k)
            {
                k.visible = false;
            };
        }
        public function _-4Es(_arg1:Boolean):void
        {
            if (((this._-Ke) && (_arg1)))
            {
                (this._-Ke as IInteractiveWindow)._-1iv(WindowState._-1kG, _-25s._-0VB);
                (this._-Ke as IInteractiveWindow)._-1iv((WindowState._-1kG | WindowState._-143), _-25s._-0VB);
            };
        }
        private function _-xg(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-02B)
            {
                this._-1UN = null;
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-3Jy)
                {
                    if (_arg2 == null)
                    {
                        return;
                    };
                    this._-2Mt.select(this);
                    this._-1UN = _arg2;
                }
                else
                {
                    if ((((((_arg1.type == WindowMouseEvent._-4e2)) && (!((this._-1UN == null))))) && ((this._-1UN == _arg2))))
                    {
                        k = this._-2Mt.startDragAndDrop(this);
                        if (k)
                        {
                            this._-1UN = null;
                        };
                    }
                    else
                    {
                        if (_arg1.type == WindowMouseEvent._-02B)
                        {
                            this._-1UN = null;
                        }
                        else
                        {
                            if (_arg1.type == WindowMouseEvent._-90)
                            {
                                this._-1UN = null;
                            }
                            else
                            {
                                if (_arg1.type == WindowMouseEvent._-4B7)
                                {
                                    this._-1UN = null;
                                };
                            };
                        };
                    };
                };
            };
        }
        public function setIconImage(_arg1:BitmapData, _arg2:Boolean):void
        {
            var k:int;
            var k:int;
            if (_arg1 == null)
            {
                return;
            };
            if (((!((this._icon == null))) && (!(this._icon.disposed))))
            {
                k = ((this._icon.width - _arg1.width) / 2);
                k = ((this._icon.height - _arg1.height) / 2);
                if (this._icon.bitmap == null)
                {
                    this._icon.bitmap = new BitmapData(this._icon.width, this._icon.height, true, 0xFFFFFF);
                }
                else
                {
                    this._icon.bitmap.fillRect(this._icon.bitmap.rect, 0xFFFFFF);
                };
                this._icon.bitmap.copyPixels(_arg1, _arg1.rect, new Point(k, k), null, null, false);
                this._icon.invalidate();
            };
            if (_arg2)
            {
                _arg1.dispose();
            };
        }
        protected function _-2t4(_arg1:String, _arg2:_-3QA):BitmapData
        {
            var k:_-40f = this._-3oJ.avatarRenderManager.createAvatarImage(_arg1, _-1uH._-Pq, null, _arg2);
            var k:BitmapData = k._-1hx(_-24J._-0GH);
            k.dispose();
            return (k);
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-2lh

package _-1lc
{
    import _-Ew.IWindowContainer;
    import _-0yf.EventDispatcherWrapper;
    import _-0mD.HabboCatalog;
    import _-0Ai.ItemGridCatalogWidget;
    import _-48G._-16p;
    import _-32F._-48b;
    import _-48G._-4hq;
    import _-4n1._-0hX;
    import _-04Z._-1xf;
    import _-1ae.ITextFieldWindow;
    import _-0Ai._-2-l;
    import _-0Ai._-3eG;
    import _-295._-243;
    import _-0Ai.ItemGroupCatalogWidget;
    import _-0Ai.ProductViewCatalogWidget;
    import _-0Ai._-4d4;
    import _-0Ai.SingleViewCatalogWidget;
    import _-0Ai.PurchaseCatalogWidget;
    import _-0Ai._-2s8;
    import _-0Ai.ColourGridCatalogWidget;
    import _-0Ai._-52Z;
    import _-0Ai._-1Qk;
    import _-0Ai.SpacesCatalogWidget;
    import _-0Ai.SpacesNewCatalogWidget;
    import _-0Ai._-1Ra;
    import _-0Ai.TrophyCatalogWidget;
    import _-0Ai._-139;
    import _-0Ai.PetsCatalogWidget;
    import _-0Ai.NewPetsCatalogWidget;
    import _-0Ai.RoomAdsCatalogWidget;
    import _-0Ai._-1TT;
    import _-0Ai._-1sY;
    import _-0Ai._-4E3;
    import _-0Ai.RecyclerPrizesCatalogWidget;
    import _-0Ai.MarketPlaceCatalogWidget;
    import _-0Ai.MarketPlaceOwnItemsCatalogWidget;
    import _-0Ai._-2HH;
    import _-0Ai.ClubBuyCatalogWidget;
    import _-0Ai._-I;
    import _-0Ai._-2C2;
    import _-0Ai._-094;
    import _-0Ai._-4pZ;
    import _-0Ai._-2Dn;
    import _-0Ai.GuildSelectorCatalogWidget;
    import _-0Ai.PetPreviewCatalogWidget;
    import _-0Ai._-034;
    import _-0Ai._-2G7;
    import _-0Ai._-3yd;
    import _-0Ai._-0pK;
    import _-0Ai._-2yu;
    import _-30J._-Xe;
    import _-0Ai.LocalizationCatalogWidget;
    import flash.events.Event;
    import _-30J._-2-9;

    public class _-2lh implements _-YK 
    {

        protected static const _-2bw:String = "ctlg_";
        protected static const _-0jr:String = "_larger";

        protected var _-2YF:XML;
        protected var _-0xv:IWindowContainer;
        private var _-3AG:_-um;
        private var _-2Aj:int;
        private var _-0M6:String;
        private var _-4GM:Array;
        private var _-cU:_-dt;
        private var _-4ye:Array;
        private var _-3oU:EventDispatcherWrapper;
        private var _-3oJ:HabboCatalog;
        private var _-05Z:Boolean = false;
        private var _-3ek:ItemGridCatalogWidget;
        private var _-Dp:Boolean;

        public function _-2lh(_arg1:_-um, _arg2:int, _arg3:String, _arg4:_-dt, _arg5:Array, _arg6:HabboCatalog, _arg7:Boolean)
        {
            var k:_-16p;
            var k:Array;
            var k:_-48b;
            var k:Boolean;
            var k:_-4hq;
            var k:Offer;
            var k:_-0hX;
            var k:_-1Lw;
            this._-4ye = [];
            super();
            this._-3AG = _arg1;
            this._-2Aj = _arg2;
            this._-0M6 = _arg3;
            this._-cU = _arg4;
            this._-4GM = new Array();
            this._-3oJ = _arg6;
            for each (k in _arg5)
            {
                k = new Array();
                k = this._-3AG.catalog.getProductData(k._-5Dp);
                k = false;
                for each (k in k.products)
                {
                    k = this._-3AG.catalog._-2QH(k._-3Zu, k._-5DX);
                    k = new _-1Lw(k._-5DX, k._-3Zu, k._-1gg, k.productCount, k.expiration, k, k, _arg6, k._-4r7, k.uniqueLimitedItemSeriesSize, k.uniqueLimitedItemsLeft);
                    k.push(k);
                    if (_-1xf._-2v3(k))
                    {
                        k = true;
                    };
                };
                k = new Offer(k.offerId, k._-5Dp, k._-w6, k._-17D, k.activityPointType, k._-4SQ, k.clubLevel, k, k._-3by, this, _arg6);
                k._-30T = k;
                if (k.productContainer != null)
                {
                    this._-4GM.push(k);
                }
                else
                {
                    k.dispose();
                };
            };
            this._-3oU = new EventDispatcherWrapper();
            this._-4ye = new Array();
            this._-Dp = _arg7;
            this.init();
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get viewer():_-um
        {
            return (this._-3AG);
        }
        public function get pageId():int
        {
            return (this._-2Aj);
        }
        public function get layoutCode():String
        {
            return (this._-0M6);
        }
        public function get offers():Array
        {
            return (this._-4GM);
        }
        public function get localization():_-dt
        {
            return (this._-cU);
        }
        public function get links():Array
        {
            return (this._-cU._-0Rm(this._-0M6));
        }
        public function get hasLinks():Boolean
        {
            return (this._-cU.hasLinks(this._-0M6));
        }
        public function _-4nx():Boolean
        {
            return (this._-05Z);
        }
        public function get acceptSeasonCurrencyAsCredits():Boolean
        {
            return (this._-Dp);
        }
        public function get _-1C():Boolean
        {
            return (!((this._-0M6 == "sold_ltd_items")));
        }
        public function selectOffer(_arg1:int):void
        {
            var k:Offer;
            var k:_-3kE;
            var k:ITextFieldWindow;
            if (((!((this._-3ek == null))) && ((_arg1 > -1))))
            {
                _-Nb.log(("selecting offer " + _arg1));
                for each (k in this._-4GM)
                {
                    if (k.offerId == _arg1)
                    {
                        k = (k.productContainer as _-3kE);
                        this._-3ek.select(k);
                    };
                };
            };
            if (((this._-0xv) && (!((this._-0xv.findChildByName(_-2-l._-0Dt) == null)))))
            {
                k = (this._-0xv.findChildByName("input_text") as ITextFieldWindow);
                k.focus();
                k.activate();
            };
        }
        public function dispose():void
        {
            var k:_-3eG;
            var k:Offer;
            for each (k in this._-4ye)
            {
                k.dispose();
            };
            this._-4ye = null;
            this._-cU.dispose();
            for each (k in this._-4GM)
            {
                k.dispose();
            };
            this._-4GM = [];
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-3oU != null)
            {
                this._-3oU.dispose();
                this._-3oU = null;
            };
            this._-3AG = null;
            this._-2YF = null;
            this._-2Aj = 0;
            this._-0M6 = "";
            this._-Dp = false;
        }
        public function init():void
        {
            if (this.createWindow(this.layoutCode))
            {
                this._-3zh();
            };
        }
        public function closed():void
        {
            var k:_-3eG;
            if (this._-4ye != null)
            {
                for each (k in this._-4ye)
                {
                    k.closed();
                };
            };
        }
        protected function createWindow(_arg1:String):Boolean
        {
            var k:String = (_-2bw + _arg1);
            if (this.viewer.catalog.assets.getAssetByName((k + _-0jr)) != null)
            {
                k = (k + _-0jr);
                this._-05Z = true;
            };
            var k:_-243 = (this.viewer.catalog.assets.getAssetByName(k) as _-243);
            if (k == null)
            {
                _-Nb.log(("Could not find asset for layout " + k));
                return (false);
            };
            this._-2YF = (k.content as XML);
            this._-0xv = (this.viewer.catalog.windowManager.buildFromXML(this._-2YF) as IWindowContainer);
            if (this._-0xv == null)
            {
                _-Nb.log(("Could not create layout " + _arg1));
                return (false);
            };
            return (true);
        }
        private function _-0O6():void
        {
        }
        private function _-3zh():void
        {
            this._-0cA(this._-0xv);
            this._-0sO();
        }
        private function _-0cA(_arg1:IWindowContainer):void
        {
            var k:int;
            var k:IWindowContainer;
            if (_arg1 != null)
            {
                k = 0;
                while (k < _arg1.numChildren)
                {
                    k = (_arg1.getChildAt(k) as IWindowContainer);
                    if (k != null)
                    {
                        this._-2CG(k);
                        this._-0cA(k);
                    };
                    k++;
                };
            };
        }
        private function _-2CG(_arg1:IWindowContainer):void
        {
            if (_arg1 == null)
            {
                return;
            };
            switch (_arg1.name)
            {
                case _-2-l._-4pH:
                    if (this._-3ek == null)
                    {
                        this._-3ek = new ItemGridCatalogWidget(_arg1, this._-3oJ.sessionDataManager);
                        this._-4ye.push(this._-3ek);
                    };
                    return;
                case _-2-l._-3MM:
                    this._-4ye.push(new ItemGroupCatalogWidget(_arg1, this._-3oJ.sessionDataManager));
                    return;
                case _-2-l._-1Ry:
                    this._-4ye.push(new ProductViewCatalogWidget(_arg1, this._-3oJ));
                    return;
                case _-2-l._-1RW:
                    this._-4ye.push(new _-4d4(_arg1, this._-3oJ));
                    return;
                case _-2-l._-112:
                    this._-4ye.push(new SingleViewCatalogWidget(_arg1, this._-3oJ));
                    return;
                case _-2-l._-wg:
                    this._-4ye.push(new PurchaseCatalogWidget(_arg1, this._-3oJ));
                    return;
                case _-2-l._-4jy:
                    this._-4ye.push(new _-2s8(_arg1));
                    return;
                case _-2-l._-3SE:
                    this._-4ye.push(new ColourGridCatalogWidget(_arg1));
                    return;
                case _-2-l._-1p4:
                    this._-4ye.push(new _-52Z(_arg1, this._-3oJ._-0Y));
                    return;
                case _-2-l._-334:
                    this._-4ye.push(new _-1Qk(_arg1));
                    return;
                case _-2-l._-1TG:
                    this._-4ye.push(new SpacesCatalogWidget(_arg1));
                    return;
                case _-2-l._-Zl:
                    this._-4ye.push(new SpacesNewCatalogWidget(_arg1, this._-3oJ.sessionDataManager));
                    return;
                case _-2-l._-3NH:
                    this._-4ye.push(new _-1Ra(_arg1));
                    return;
                case _-2-l._-0Dt:
                    this._-4ye.push(new TrophyCatalogWidget(_arg1, this._-3oJ));
                    return;
                case _-2-l._-5FH:
                    this._-4ye.push(new _-139(_arg1));
                    return;
                case _-2-l._-10Z:
                    this._-4ye.push(new PetsCatalogWidget(_arg1, this._-3oJ));
                    return;
                case _-2-l._-1c3:
                    this._-4ye.push(new NewPetsCatalogWidget(_arg1, this._-3oJ));
                    return;
                case _-2-l._-4Z2:
                    this._-4ye.push(new RoomAdsCatalogWidget(_arg1, this._-3oJ));
                case _-2-l._-45s:
                    this._-4ye.push(new _-1TT(_arg1));
                    return;
                case _-2-l._-oO:
                    this._-4ye.push(new _-1sY(_arg1));
                    return;
                case _-2-l._-16Z:
                    this._-4ye.push(new _-4E3(_arg1));
                    return;
                case _-2-l._-2vC:
                    this._-4ye.push(new RecyclerPrizesCatalogWidget(_arg1));
                    return;
                case _-2-l._-0r5:
                    this._-4ye.push(new MarketPlaceCatalogWidget(_arg1));
                    return;
                case _-2-l._-2yO:
                    this._-4ye.push(new MarketPlaceOwnItemsCatalogWidget(_arg1));
                    return;
                case _-2-l._-05A:
                    this._-4ye.push(new _-2HH(_arg1, this._-3oJ._-4yp(), this._-3oJ));
                    return;
                case _-2-l._-1sZ:
                    this._-4ye.push(new ClubBuyCatalogWidget(_arg1));
                    return;
                case _-2-l._-0ru:
                    this._-4ye.push(new _-I(_arg1, this._-3oJ));
                    return;
                case _-2-l._-2Hu:
                    this._-4ye.push(new _-I(_arg1, this._-3oJ, true));
                    return;
                case _-2-l._-1Au:
                    this._-4ye.push(new _-2C2(_arg1));
                    return;
                case _-2-l._-4vJ:
                    this._-4ye.push(new _-094(_arg1));
                    return;
                case _-2-l._-0wS:
                    this._-4ye.push(new _-4pZ(_arg1));
                    return;
                case _-2-l._-1eT:
                    this._-4ye.push(new _-2Dn(_arg1, this._-3oJ._-1g8()));
                    return;
                case _-2-l._-0PJ:
                    this._-4ye.push(new GuildSelectorCatalogWidget(_arg1, this._-3oJ._-1g8()));
                    return;
                case _-2-l._-4KE:
                    this._-4ye.push(new PetPreviewCatalogWidget(_arg1, this._-3oJ));
                    return;
                case _-2-l._-0z4:
                    if (this._-3oJ._-2bx)
                    {
                        this._-4ye.push(new _-034(_arg1, this._-3oJ));
                    };
                    return;
                case _-2-l._-1yG:
                    if (((this._-3oJ._-2bx) && (this._-3oJ._-B6)))
                    {
                        this._-4ye.push(new _-2G7(_arg1, this._-3oJ));
                    };
                    return;
                case _-2-l._-uP:
                    if (this._-3oJ._-2bx)
                    {
                        this._-4ye.push(new _-3yd(_arg1, this._-3oJ));
                    };
                    return;
                case _-2-l._-3YG:
                    if (this._-3oJ.configuration.getBoolean("unique.limited.items.enabled", false))
                    {
                        this._-4ye.push(new _-0pK(_arg1, this._-3oJ));
                    };
                    return;
                case _-2-l._-1QK:
                    if (this._-3oJ.configuration.getBoolean("unique.limited.items.enabled", false))
                    {
                        this._-4ye.push(new _-2yu(_arg1, this._-3oJ));
                    };
                    return;
            };
        }
        private function _-0sO():void
        {
            var k:_-3eG;
            var k:Array = [];
            for each (k in this._-4ye)
            {
                k.page = this;
                k.events = this._-3oU;
                if (!k.init())
                {
                    k.push(k);
                };
            };
            this._-20R(k);
            this._-44v();
            this._-3oU.dispatchEvent(new _-Xe());
        }
        private function _-44v():void
        {
            var k:_-3eG = new LocalizationCatalogWidget(this._-0xv, this._-3oJ);
            this._-4ye.push(k);
            k.page = this;
            k.events = this._-3oU;
            k.init();
        }
        private function _-20R(_arg1:Array):void
        {
            var k:_-3eG;
            var k:_-3eG;
            var k:int;
            if ((((_arg1 == null)) || ((_arg1.length == 0))))
            {
                return;
            };
            for each (k in this._-4ye)
            {
                if (k.window != null)
                {
                    for each (k in _arg1)
                    {
                        if (k.window != null)
                        {
                            if (k.window.getChildIndex(k.window) >= 0)
                            {
                                if (_arg1.indexOf(k) < 0)
                                {
                                    _arg1.push(k);
                                };
                                break;
                            };
                        };
                    };
                };
            };
            for each (k in _arg1)
            {
                if (k.window != null)
                {
                    this._-0xv.removeChild(k.window);
                    k.window.dispose();
                };
                k = this._-4ye.indexOf(k);
                if (k >= 0)
                {
                    this._-4ye.splice(k, 1);
                };
                k.dispose();
            };
        }
        public function dispatchWidgetEvent(_arg1:Event):Boolean
        {
            if (this._-3oU != null)
            {
                return (this._-3oU.dispatchEvent(_arg1));
            };
            return (false);
        }
        public function replaceOffers(_arg1:Array, _arg2:Boolean=false):void
        {
            var k:Offer;
            if (_arg2)
            {
                for each (k in this._-4GM)
                {
                    k.dispose();
                };
            };
            this._-4GM = _arg1;
        }
        public function _-3T1(_arg1:int, _arg2:int):void
        {
            var k:Offer;
            for each (k in this._-4GM)
            {
                if (k.offerId == _arg1)
                {
                    k.productContainer._-1YN.uniqueLimitedItemsLeft = _arg2;
                    this._-3oU.dispatchEvent(new _-2-9(k));
                    return;
                };
            };
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-2Ml

package _-1lc
{
    import _-293._-5-S;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-59g._-4KP;
    import _-59g._-2ga;
    import _-3mW.RoomPlaneParser;
    import _-3mW._-1sV;
    import _-0F-._-HJ;
    import _-0y0._-Xl;
    import flash.utils.getTimer;
    import _-0y0._-06R;
    import _-293._-4q2;
    import flash.display.DisplayObject;
    import _-0y0._-3q6;
    import _-3V-._-3SU;
    import _-3mW._-4Wq;

    public class _-2Ml 
    {

        private static const _-24m:int = -100;
        private static const _-1Lu:int = 1;
        private static const _-1Rv:int = 1;
        private static const _-12z:int = 1;
        private static const _-2rd:int = 2;
        private static const _-00O:int = 2;
        private static const _-25C:Number = 0.25;
        private static const _-0iV:int = 64;
        private static const _-22o:int = 32;
        private static const _-1db:int = 2500;

        private var _-0tK:_-5-S;
        private var _-385:int = 0;
        private var _-LT:int = 0;
        private var _-0uW:String = "";
        private var _-1rR:Rectangle = null;
        private var _-1GU:int = 0;
        private var _-3TZ:int = 0;
        private var _-4C4:int = 64;
        private var _-4ZQ:Boolean;
        private var _-27M:Boolean;
        private var _-0V5:int;
        private var _-207:Point;
        private var _-4OS:Boolean = false;

        public function _-2Ml(_arg1:_-5-S)
        {
            this._-207 = new Point(0, 0);
            super();
            this._-0tK = _arg1;
            if (this._-0tK != null)
            {
                this._-0tK.events.addEventListener(_-4KP._-1MI, this._-1rW);
                this._-0tK.events.addEventListener(_-4KP._-3i9, this._-1rW);
                this._-0tK.events.addEventListener(_-2ga._-4sh, this._-3Hi);
            };
            this._-461();
        }
        public function dispose():void
        {
            this.reset(true);
            if (((!((this._-0tK == null))) && (!((this._-0tK.events == null)))))
            {
                this._-0tK.events.removeEventListener(_-4KP._-1MI, this._-1rW);
                this._-0tK.events.removeEventListener(_-4KP._-3i9, this._-1rW);
                this._-0tK.events.removeEventListener(_-2ga._-4sh, this._-3Hi);
            };
        }
        private function _-461():void
        {
            var k:int;
            var k:RoomPlaneParser;
            var k:int;
            var k:int;
            if (this._-0tK != null)
            {
                k = 7;
                k = new RoomPlaneParser();
                k._-1wG((k + 2), (k + 2));
                k = 1;
                while (k < (1 + k))
                {
                    k = 1;
                    while (k < (1 + k))
                    {
                        k._-2sx(k, k, 0);
                        k++;
                    };
                    k++;
                };
                k._-38X();
                this._-0tK._-3be(_-1Lu, _-24m, k._-4sV());
                k.dispose();
            };
        }
        public function reset(_arg1:Boolean):void
        {
            if (this._-0tK != null)
            {
                this._-0tK._-4OW(_-1Lu, _-24m, _-12z);
                this._-0tK._-Re(_-1Lu, _-24m, _-12z);
                this._-0tK._-2I4(_-1Lu, _-24m, _-12z);
                if (!_arg1)
                {
                    this._-1Gl();
                };
            };
            this._-LT = _-1sV._-4hz;
        }
        public function _-0T0(_arg1:int, _arg2:_-06R, _arg3:_-4q2=null):int
        {
            var k:int = -1;
            if (_arg3 == null)
            {
                k = new _-HJ();
            };
            if (this._-0tK != null)
            {
                if ((((this._-LT == _-1sV._-0u-)) && ((this._-385 == _arg1))))
                {
                    return (_-12z);
                };
                this.reset(false);
                this._-385 = _arg1;
                this._-LT = _-1sV._-0u-;
                this._-0uW = "";
                if (this._-0tK._-2Pv(_-1Lu, _-24m, _-12z, _arg1, new _-Xl(_-2rd, _-00O, 0), _arg2, 0, _arg3))
                {
                    this._-0V5 = getTimer();
                    this._-27M = true;
                    k = _-12z;
                    this._-1Gl();
                };
            };
            return (k);
        }
        public function _-0B(_arg1:int, _arg2:_-06R, _arg3:String):int
        {
            var k:int = -1;
            if (this._-0tK != null)
            {
                if ((((((this._-LT == _-1sV._-20L)) && ((this._-385 == _arg1)))) && ((this._-0uW == _arg3))))
                {
                    return (_-12z);
                };
                this.reset(false);
                this._-385 = _arg1;
                this._-LT = _-1sV._-20L;
                this._-0uW = _arg3;
                if (this._-0tK._-0xm(_-1Lu, _-24m, _-12z, _arg1, new _-Xl(0.5, 2.3, 1.8), _arg2, 0, _arg3))
                {
                    this._-0V5 = getTimer();
                    this._-27M = true;
                    return (_-12z);
                };
            };
            return (k);
        }
        public function _-8Z(_arg1:String, _arg2:int):int
        {
            if (this._-0tK != null)
            {
                this.reset(false);
                this._-385 = 1;
                this._-LT = _-1sV._-3I0;
                this._-0uW = _arg1;
                if (this._-0tK._-Kv(_-1Lu, _-24m, _-12z, new _-Xl(_-2rd, _-00O, 0), new _-Xl(90, 0, 0), 135, 1, _arg1))
                {
                    this._-0V5 = getTimer();
                    this._-27M = true;
                    this._-0tK._-4ys(_-1Lu, _-24m, _-12z, 1);
                    this._-0tK._-20A(_-1Lu, _-24m, _-12z, _arg2);
                    this._-0tK._-2ml(_-1Lu, _-24m, _-12z, "std");
                };
                return (_-12z);
            };
            return (-1);
        }
        public function _-TN():void
        {
            if (this._-0tK != null)
            {
                this._-27M = false;
                if (this._-LT != _-1sV._-3I0)
                {
                    this._-0tK._-45d(_-1Lu, _-24m, _-12z, this._-LT);
                };
            };
        }
        private function _-56n():void
        {
            var k:int;
            if (this._-27M)
            {
                k = getTimer();
                if (k > (this._-0V5 + _-1db))
                {
                    this._-0V5 = k;
                    if (this._-0tK != null)
                    {
                        this._-0tK._-45d(_-1Lu, _-24m, _-12z, this._-LT);
                    };
                };
            };
        }
        public function _-20M(_arg1:int, _arg2:int):DisplayObject
        {
            var k:DisplayObject;
            var k:_-3q6;
            if (this._-0tK != null)
            {
                k = this._-0tK._-2TL(_-1Lu, _-24m, _-1Rv, _arg1, _arg2, this._-4C4);
                this._-0tK._-2zt(_-1Lu, _-24m, _-1Rv, true);
                k = this._-0tK._-3NP(_-1Lu, _-24m, _-1Rv);
                if (k != null)
                {
                    k._-EP(new _-Xl(_-2rd, _-00O, 0), 30);
                };
                this._-1GU = _arg1;
                this._-3TZ = _arg2;
                return (k);
            };
            return (null);
        }
        public function set _-323(_arg1:Point):void
        {
            this._-207 = _arg1;
        }
        public function get _-323():Point
        {
            return (this._-207);
        }
        private function _-3ww(_arg1:Point):void
        {
            var _local3:Rectangle;
            var k:Rectangle = this._-0tK._-1Uk(_-1Lu, _-24m, _-12z, this._-LT, _-1Rv);
            if (((!((k == null))) && (!((_arg1 == null)))))
            {
                k.offset(-((this._-1GU >> 1)), -((this._-3TZ >> 1)));
                k.offset(-(_arg1.x), -(_arg1.y));
                if (this._-1rR == null)
                {
                    this._-1rR = k;
                }
                else
                {
                    _local3 = this._-1rR.union(k);
                    if (((((((((_local3.width - this._-1rR.width) > ((this._-1GU - this._-1rR.width) >> 1))) || (((_local3.height - this._-1rR.height) > ((this._-3TZ - this._-1rR.height) >> 1))))) || ((this._-1rR.width < 1)))) || ((this._-1rR.height < 1))))
                    {
                        this._-1rR = _local3;
                    };
                };
            };
        }
        private function _-4rS(_arg1:Point):Point
        {
            if ((((this._-1rR.width < 1)) || ((this._-1rR.height < 1))))
            {
                return (_arg1);
            };
            var k:_-3q6 = this._-0tK._-3NP(_-1Lu, _-24m, _-1Rv);
            if ((((this._-1rR.width > (this._-1GU * (1 + _-25C)))) || ((this._-1rR.height > (this._-3TZ * (1 + _-25C))))))
            {
                if (k._-1ba())
                {
                    k._-1RO();
                    this._-4C4 = _-22o;
                    this._-4ZQ = true;
                    _arg1.x = (_arg1.x >> 1);
                    _arg1.y = (_arg1.y >> 1);
                    this._-1rR.left = (this._-1rR.left >> 2);
                    this._-1rR.right = (this._-1rR.right >> 2);
                    this._-1rR.top = (this._-1rR.top >> 2);
                    this._-1rR.bottom = (this._-1rR.bottom >> 2);
                };
            }
            else
            {
                if (((((this._-1rR.width << 1) < ((this._-1GU * (1 + _-25C)) - 5))) && (((this._-1rR.height << 1) < ((this._-3TZ * (1 + _-25C)) - 5)))))
                {
                    if (((!(k._-1ba())) && (!(this._-4ZQ))))
                    {
                        k._-1sf();
                        this._-4C4 = _-0iV;
                        _arg1.x = (_arg1.x << 1);
                        _arg1.y = (_arg1.y << 1);
                    };
                };
            };
            return (_arg1);
        }
        private function _-46v(_arg1:Point):Point
        {
            var k:Number;
            if ((((this._-1rR.width < 1)) || ((this._-1rR.height < 1))))
            {
                return (_arg1);
            };
            var k = (-((this._-1rR.left + this._-1rR.right)) >> 1);
            var k = (-((this._-1rR.top + this._-1rR.bottom)) >> 1);
            var k = ((this._-3TZ - this._-1rR.height) >> 1);
            if (k > 10)
            {
                k = (k + Math.min(15, (k - 10)));
            }
            else
            {
                if (this._-LT != _-1sV._-3I0)
                {
                    k = (k + (5 - Math.max(0, (k / 2))));
                }
                else
                {
                    k = (k - (5 - Math.min(0, (k / 2))));
                };
            };
            k = (k + this._-207.y);
            k = (k + this._-207.x);
            var k:int = (k - _arg1.x);
            var k:int = (k - _arg1.y);
            if (((!((k == 0))) || (!((k == 0)))))
            {
                k = Math.sqrt(((k * k) + (k * k)));
                if (k > 10)
                {
                    k = (_arg1.x + ((k * 10) / k));
                    k = (_arg1.y + ((k * 10) / k));
                };
                return (new Point(k, k));
            };
            return (null);
        }
        public function _-1Gl():void
        {
            var k:Point;
            var k:int;
            var k:Point;
            if (this._-4OS)
            {
                return;
            };
            this._-56n();
            if (this._-0tK != null)
            {
                k = this._-0tK._-uR(_-1Lu, _-24m, _-1Rv);
                if (k != null)
                {
                    this._-3ww(k);
                    if (this._-1rR != null)
                    {
                        k = this._-4C4;
                        k = this._-4rS(k);
                        k = this._-46v(k);
                        if (k != null)
                        {
                            this._-0tK._-43R(_-1Lu, _-24m, _-1Rv, k);
                        };
                        if (this._-4C4 != k)
                        {
                            this._-1rR = null;
                        };
                    };
                };
            };
        }
        public function set _-4AN(_arg1:Boolean):void
        {
            this._-4OS = _arg1;
        }
        private function _-3Hi(_arg1:_-2ga):void
        {
            if (_arg1 == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-2ga._-4sh:
                    if ((((_arg1.roomCategory == _-24m)) && ((_arg1.roomId == _-1Lu))))
                    {
                        this._-0tK._-501(_-1Lu, _-24m, "110", "99999");
                    };
                    return;
            };
        }
        private function _-1rW(_arg1:_-4KP):void
        {
            var k:_-3SU;
            var k:Number;
            var k:Number;
            if ((((((((_arg1.roomId == _-1Lu)) && ((_arg1.roomCategory == _-24m)))) && ((_arg1._-mx == _-12z)))) && ((_arg1.category == this._-LT))))
            {
                this._-1rR = null;
                this._-4ZQ = false;
                k = this._-0tK.getRoomObject(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, _arg1.category);
                if (((((!((k == null))) && (!((k.getModel() == null))))) && ((_arg1.category == _-1sV._-20L))))
                {
                    k = k.getModel().getNumber(_-4Wq._-Mt);
                    k = k.getModel().getNumber(_-4Wq._-3iL);
                    if (((!(isNaN(k))) && (!(isNaN(k)))))
                    {
                        this._-0tK._-2JV(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, new _-Xl(0.5, 2.3, (((3.6 - k) / 2) + k)));
                    };
                };
            };
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-3kE

package _-1lc
{
    import _-Ew.IWindowContainer;
    import _-1B-.*;

    public interface _-3kE extends _-1zZ 
    {

        function get view():IWindowContainer;
        function set view(_arg1:IWindowContainer):void;
        function set grid(_arg1:_-4BV):void;
        function _-4Es(_arg1:Boolean):void;
        function activate():void;
        function deActivate():void;

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-3s

package _-1lc
{
    import _-1B-.*;
    import _-0mD.*;

    public class _-3s implements _-2tY, _-1zZ 
    {

        private var _-2W3:int;
        private var _-0El:String;
        private var _-3RW:int;

        public function _-3s(_arg1:int, _arg2:String, _arg3:int)
        {
            this._-2W3 = _arg1;
            this._-0El = _arg2;
            this._-3RW = _arg3;
        }
        public function dispose():void
        {
        }
        public function get disposed():Boolean
        {
            return (false);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-17D():int
        {
            return (0);
        }
        public function get activityPointType():int
        {
            return (0);
        }
        public function get _-w6():int
        {
            return (this._-3RW);
        }
        public function get page():_-YK
        {
            return (null);
        }
        public function get _-0bd():String
        {
            return (Offer._-2sv);
        }
        public function get productContainer():_-1OU
        {
            return (null);
        }
        public function get _-5Dp():String
        {
            return (this._-0El);
        }
        public function get _-3by():Boolean
        {
            return (false);
        }
        public function get _-30T():Boolean
        {
            return (false);
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-3UD

package _-1lc
{
    import _-0mD._-2Jq;
    import _-Ew.IWindowContainer;
    import _-293._-5-S;
    import _-0mD.HabboCatalog;
    import flash.geom.Rectangle;
    import flash.events.Event;

    public class _-3UD implements _-um 
    {

        private var _-3oJ:_-2Jq;
        private var _container:IWindowContainer;
        private var _-0tK:_-5-S;
        private var _-4Sd:HabboCatalog;
        private var _-0Wq:_-YK;

        public function _-3UD(_arg1:_-2Jq, _arg2:IWindowContainer, _arg3:_-5-S)
        {
            this._-3oJ = _arg1;
            this._container = _arg2;
            this._-0tK = _arg3;
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        public function set _-1sq(_arg1:HabboCatalog):void
        {
            this._-4Sd = _arg1;
        }
        public function get _-1sq():HabboCatalog
        {
            return (this._-4Sd);
        }
        public function dispose():void
        {
            if (this._-0Wq)
            {
                this._-0Wq.dispose();
                this._-0Wq = null;
            };
            this._-3oJ = null;
            this._container = null;
            this._-0tK = null;
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function _-23h(_arg1:int, _arg2:String, _arg3:_-dt, _arg4:Array, _arg5:int, _arg6:Boolean):void
        {
            var k:Rectangle;
            _-Nb.log(("[Catalog Viewer] Show Catalog Page: " + [_arg1, _arg2, _arg4.length, _arg5]));
            var k:Boolean;
            if (this._-0Wq != null)
            {
                k = this._-0Wq._-4nx();
                if (this._-0Wq.pageId == _arg1)
                {
                    if (_arg5 > -1)
                    {
                        this._-0Wq.selectOffer(_arg5);
                    };
                    return;
                };
                this._container.removeChild(this._-0Wq.window);
                this._-0Wq.dispose();
            };
            var k:_-YK = new _-2lh(this, _arg1, _arg2, _arg3, _arg4, this._-4Sd, _arg6);
            this._-0Wq = k;
            if (k.window != null)
            {
                k = new Rectangle();
                if (((k) && (!(this._-0Wq._-4nx()))))
                {
                    this._container._-3Eb(k);
                    this._container.context.invalidate(this._container, k, (1 << 0));
                };
                this._container.addChild(k.window);
                k.window.center();
            }
            else
            {
                _-Nb.log(("[CatalogViewer] No window for page: " + _arg2));
            };
            this._container.visible = true;
            k.selectOffer(_arg5);
        }
        public function _-553():void
        {
            if (this._-0Wq != null)
            {
                this._-0Wq.closed();
            };
        }
        public function dispatchWidgetEvent(_arg1:Event):Boolean
        {
            return (this._-0Wq.dispatchWidgetEvent(_arg1));
        }
        public function _-37f():String
        {
            if (this._-0Wq == null)
            {
                return ("");
            };
            return (this._-0Wq.layoutCode);
        }
        public function get _-3bP():_-YK
        {
            return (this._-0Wq);
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-4BV

package _-1lc
{
    public interface _-4BV 
    {

        function select(_arg1:_-3kE):void;
        function startDragAndDrop(_arg1:_-3kE):Boolean;
        function dispose():void;

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-55O

package _-1lc
{
    import _-293._-5-S;
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-0Ie.WindowMouseEvent;
    import _-293._-2Gt;
    import _-3mW._-2Ws;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-293._-0xz;
    import _-3mW._-1sV;
    import flash.display.Sprite;
    import flash.display.Bitmap;
    import _-293.*;

    public class _-55O implements dynamic 
    {

        private static const _-4bB:String = "CatalogOverlaySprite";

        private var _-0tK:_-5-S;
        private var _-4oy:IWindowContainer;
        private var _-0Ke:Boolean = false;

        public function set roomEngine(_arg1:_-5-S):void
        {
            this._-0tK = _arg1;
        }
        public function set mainContainer(_arg1:IWindowContainer):void
        {
            this._-4oy = _arg1;
        }
        public function get state():Boolean
        {
            return (this._-0Ke);
        }
        public function dispose():void
        {
            this._-Ek();
            this._-4oy = null;
            this._-0tK = null;
            this._-0Ke = false;
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
        }
        public function _-50V(_arg1:WindowEvent, _arg2:IWindow, _arg3:_-0xz):void
        {
            var k:WindowMouseEvent;
            var _local5:int;
            var _local6:int;
            var k:_-2Gt;
            if (this._-0tK == null)
            {
                return;
            };
            k = (_arg1 as WindowMouseEvent);
            switch (_arg1.type)
            {
                case WindowMouseEvent._-2dT:
                    if ((((_arg3 == null)) || (!((_arg3._-34v == _-2Ws.OBJECT_PLACE)))))
                    {
                        return;
                    };
                    _local5 = k.stageX;
                    _local6 = k.stageY;
                    if (this._-zV() == null)
                    {
                        k = this._-1Di(_arg3);
                        if (k == null)
                        {
                            return;
                        };
                        this._-m1(k.data);
                    };
                    this._-0Ke = true;
                    this._-1dk(_local5, _local6);
                    return;
                case WindowMouseEvent._-4e2:
                    if (this._-0Ke)
                    {
                        if ((((((((k.localX >= 0)) && ((k.localX < _arg1.target.width)))) && ((k.localY >= 0)))) && ((k.localY < _arg1.target.height))))
                        {
                            return;
                        };
                        this._-1Bt();
                    };
                    return;
            };
        }
        public function _-1Bt():void
        {
            if (this._-0Ke)
            {
                this._-Ek();
                this._-0Ke = false;
            };
        }
        private function _-1Di(_arg1:_-0xz):_-2Gt
        {
            var k:_-2Gt;
            if ((((_arg1 == null)) || ((this._-0tK == null))))
            {
                return (null);
            };
            if (_arg1.category == _-1sV._-0u-)
            {
                return (this._-0tK.getFurnitureIcon(_arg1.typeId, this));
            };
            if (_arg1.category == _-1sV._-20L)
            {
                return (this._-0tK.getWallItemIcon(_arg1.typeId, this, _arg1._-vc));
            };
            return (null);
        }
        private function _-m1(_arg1:BitmapData):void
        {
            if ((((((((_arg1 == null)) || ((this._-4oy == null)))) || ((this._-4oy.desktop == null)))) || (!((this._-zV() == null)))))
            {
                return;
            };
            var k:Sprite = (this._-4oy.desktop.getDisplayObject() as Sprite);
            var k:Sprite = new Sprite();
            k.name = _-4bB;
            k.mouseEnabled = false;
            k.visible = true;
            var k:Bitmap = new Bitmap(_arg1);
            k.addChild(k);
            k.addChild(k);
        }
        private function _-zV():Sprite
        {
            if ((((this._-4oy == null)) || ((this._-4oy.desktop == null))))
            {
                return (null);
            };
            var k:Sprite = (this._-4oy.desktop.getDisplayObject() as Sprite);
            var k:Sprite = (k.getChildByName(_-4bB) as Sprite);
            return (k);
        }
        private function _-1dk(_arg1:int, _arg2:int):void
        {
            var k:Sprite = this._-zV();
            if (k == null)
            {
                return;
            };
            k.x = (_arg1 - Math.round((k.width / 2)));
            k.y = (_arg2 - Math.round((k.height / 2)));
        }
        private function _-Ek():void
        {
            if ((((((this._-4oy == null)) || ((this._-4oy.desktop == null)))) || ((this._-zV() == null))))
            {
                return;
            };
            var k:Sprite = (this._-4oy.desktop.getDisplayObject() as Sprite);
            var k:Sprite = (k.getChildByName(_-4bB) as Sprite);
            if (k == null)
            {
                return;
            };
            var k:Bitmap = (k.removeChildAt(0) as Bitmap);
            if (((!((k == null))) && (!((k.bitmapData == null)))))
            {
                k.bitmapData.dispose();
            };
            k.removeChild(k.getChildByName(_-4bB));
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-dt

package _-1lc
{
    public interface _-dt 
    {

        function get imageCount():int;
        function get textCount():int;
        function getTextElementName(_arg1:int, _arg2:String):String;
        function getImageElementName(_arg1:int, _arg2:String):String;
        function getTextElementContent(_arg1:int):String;
        function getImageElementContent(_arg1:int):String;
        function dispose():void;
        function hasLinks(_arg1:String):Boolean;
        function _-0Rm(_arg1:String):Array;
        function hasColors(_arg1:String):Boolean;
        function getColorTargets(_arg1:String):Array;
        function getColorSources(_arg1:String):Array;
        function getColorUintFromText(_arg1:int):uint;

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-ij

package _-1lc
{
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import _-0mD.HabboCatalog;
    import _-293._-5-S;
    import _-293._-4q2;
    import _-Ew.IWindowContainer;
    import _-1ae.IBorderWindow;
    import _-1ae.IIconWindow;
    import _-2Mh._-3Uw;
    import _-1ae.IItemGridWindow;
    import _-1ae.IScrollbarWindow;
    import _-1ae.ITextWindow;

    public class _-ij extends ProductContainer implements _-4BV 
    {

        private static const _-3YX:int = 6;

        private var _-0ZA:BitmapData;

        public function _-ij(_arg1:Offer, _arg2:Array, _arg3:HabboCatalog)
        {
            super(_arg1, _arg2, _arg3);
            var k:BitmapDataAsset = (_arg1.page.viewer.catalog.assets.getAssetByName("ctlg_pic_deal_icon_narrow") as BitmapDataAsset);
            if (k != null)
            {
                this._-0ZA = (k.content as BitmapData);
            }
            else
            {
                this._-0ZA = new BitmapData(1, 1, true, 0xFFFFFF);
            };
        }
        override public function dispose():void
        {
            if (disposed)
            {
                return;
            };
            this._-0ZA = null;
            super.dispose();
        }
        override public function initProductIcon(_arg1:_-5-S, _arg2:_-4q2=null):void
        {
            setIconImage(this._-0ZA.clone(), true);
        }
        public function populateItemGrid(_arg1:IItemGridWindow, _arg2:IScrollbarWindow, _arg3:XML):void
        {
            var k:_-2eJ;
            var k:IWindowContainer;
            var k:IBorderWindow;
            var k:BitmapData;
            var k:IIconWindow;
            var k:IWindowContainer = (offer.page.viewer.catalog.windowManager.buildFromXML(_arg3) as IWindowContainer);
            for each (k in offer.productContainer.products)
            {
                if (k._-5DX == _-3Uw._-0tW)
                {
                }
                else
                {
                    k = (k.clone() as IWindowContainer);
                    k = (k.findChildByName("bg") as IBorderWindow);
                    if (k != null)
                    {
                        k = (k.findChildByName("clubLevelIcon") as IIconWindow);
                        if (k != null)
                        {
                            k.visible = false;
                        };
                    };
                    _arg1._-2-F(k);
                    k.view = k;
                    k = k._-3cd(this);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k.grid = this;
                };
            };
            if (_arg2 != null)
            {
                _arg2.visible = (offer.productContainer.products.length > _-3YX);
            };
        }
        public function _-oZ(_arg1:int):void
        {
            var k:ITextWindow = (_-Ke.findChildByName("bundleCounter") as ITextWindow);
            if (k != null)
            {
                k.text = (_arg1 + "");
            };
        }
        public function select(_arg1:_-3kE):void
        {
            _-Nb.log(("Product Bundle, select item: " + _arg1));
        }
        public function startDragAndDrop(_arg1:_-3kE):Boolean
        {
            return (false);
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-T8

package _-1lc
{
    import _-0mD.HabboCatalog;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-293._-5-S;
    import _-293._-4q2;

    public class _-T8 extends _-0cm 
    {

        public function _-T8(_arg1:Offer, _arg2:Array, _arg3:HabboCatalog)
        {
            super(_arg1, _arg2, _arg3);
        }
        override public function initProductIcon(_arg1:_-5-S, _arg2:_-4q2=null):void
        {
            super.initProductIcon(_arg1);
            var k:IWindow = _-Ke.findChildByName("multiContainer");
            if (k)
            {
                k.visible = true;
            };
            var k:ITextWindow = (_-Ke.findChildByName("multiCounter") as ITextWindow);
            if (k)
            {
                k.text = ("x" + _-1YN.productCount);
            };
            this._-2UB(offer.clubLevel);
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-um

package _-1lc
{
    import flash.events.Event;
    import _-0mD._-2Jq;
    import _-293._-5-S;

    public interface _-um 
    {

        function _-23h(_arg1:int, _arg2:String, _arg3:_-dt, _arg4:Array, _arg5:int, _arg6:Boolean):void;
        function dispatchWidgetEvent(_arg1:Event):Boolean;
        function get catalog():_-2Jq;
        function get roomEngine():_-5-S;
        function dispose():void;
        function _-37f():String;

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc._-YK

package _-1lc
{
    import flash.events.Event;
    import _-Ew.IWindowContainer;

    public interface _-YK 
    {

        function dispose():void;
        function init():void;
        function closed():void;
        function dispatchWidgetEvent(_arg1:Event):Boolean;
        function get window():IWindowContainer;
        function get viewer():_-um;
        function get pageId():int;
        function get offers():Array;
        function get localization():_-dt;
        function get layoutCode():String;
        function get hasLinks():Boolean;
        function get links():Array;
        function selectOffer(_arg1:int):void;
        function replaceOffers(_arg1:Array, _arg2:Boolean=false):void;
        function _-4nx():Boolean;
        function _-3T1(_arg1:int, _arg2:int):void;
        function get acceptSeasonCurrencyAsCredits():Boolean;
        function get _-1C():Boolean;

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc.Offer

package _-1lc
{
    import _-0mD.HabboCatalog;
    import _-2Mh._-3Uw;
    import _-4n1._-0hX;
    import _-32F._-48b;
    import _-0mD.*;

    public class Offer implements _-2tY 
    {

        public static const _-3PX:String = "pricing_model_unknown";
        public static const _-3NL:String = "pricing_model_single";
        public static const _-1sS:String = "pricing_model_multi";
        public static const _-2mE:String = "pricing_model_bundle";
        public static const _-33n:String = "price_type_none";
        public static const _-2sv:String = "price_type_credits";
        public static const _-3wS:String = "price_type_activitypoints";
        public static const _-0dX:String = "price_type_credits_and_activitypoints";

        private var _-0j6:String;
        private var _-4f6:String;
        private var _-2W3:int;
        private var _-0El:String;
        private var _-3RW:int;
        private var _-5FC:int;
        private var _-05f:int;
        private var _-0DC:Boolean;
        private var _-3mg:Boolean;
        private var _-0Wq:_-YK;
        private var _-4Ch:_-1OU;
        private var _disposed:Boolean = false;
        private var _-05-:int = 0;
        private var _-2gP:String;
        private var _-yA:Boolean = false;
        private var _-3oJ:HabboCatalog;
        private var _-4sC:int;

        public function Offer(_arg1:int, _arg2:String, _arg3:int, _arg4:int, _arg5:int, _arg6:Boolean, _arg7:int, _arg8:Array, _arg9:Boolean, _arg10:_-YK, _arg11:HabboCatalog)
        {
            var k:_-1Lw;
            super();
            this._-2W3 = _arg1;
            this._-0El = _arg2;
            this._-3RW = _arg3;
            this._-5FC = _arg4;
            this._-05f = _arg5;
            this._-0DC = _arg6;
            this._-0Wq = _arg10;
            this._-05- = _arg7;
            this._-yA = _arg9;
            this._-3oJ = _arg11;
            this._-x1(_arg8);
            this._-3tp();
            this._-qv(_arg8);
            for each (k in _arg8)
            {
                if (k._-5DX == _-3Uw._-0tW)
                {
                    this._-2gP = k._-1gg;
                    break;
                };
            };
        }
        public function get clubLevel():int
        {
            return (this._-05-);
        }
        public function get page():_-YK
        {
            return (this._-0Wq);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-5Dp():String
        {
            return (this._-0El);
        }
        public function get _-w6():int
        {
            return (this._-3RW);
        }
        public function get _-17D():int
        {
            return (this._-5FC);
        }
        public function get activityPointType():int
        {
            return (this._-05f);
        }
        public function get _-4SQ():Boolean
        {
            return (this._-0DC);
        }
        public function get productContainer():_-1OU
        {
            return (this._-4Ch);
        }
        public function get _-1k2():String
        {
            return (this._-0j6);
        }
        public function get _-0bd():String
        {
            return (this._-4f6);
        }
        public function get _-3PE():int
        {
            return (this._-4sC);
        }
        public function set _-3PE(_arg1:int):void
        {
            this._-4sC = _arg1;
        }
        public function get _-3by():Boolean
        {
            return (this._-yA);
        }
        public function get _-30T():Boolean
        {
            return (this._-3mg);
        }
        public function set _-30T(_arg1:Boolean):void
        {
            this._-3mg = _arg1;
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._disposed = true;
            this._-2W3 = 0;
            this._-0El = "";
            this._-3RW = 0;
            this._-5FC = 0;
            this._-05f = 0;
            this._-0Wq = null;
            this._-3oJ = null;
            if (this._-4Ch != null)
            {
                this._-4Ch.dispose();
                this._-4Ch = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-qv(_arg1:Array):void
        {
            switch (this._-0j6)
            {
                case _-3NL:
                    this._-4Ch = new _-0cm(this, _arg1, this._-3oJ);
                    return;
                case _-1sS:
                    this._-4Ch = new _-T8(this, _arg1, this._-3oJ);
                    return;
                case _-2mE:
                    this._-4Ch = new _-ij(this, _arg1, this._-3oJ);
                    return;
                default:
                    this._-4Ch = new ProductContainer(this, _arg1, this._-3oJ);
                    _-Nb.log(("[Offer] Unknown pricing model" + this._-0j6));
            };
        }
        private function _-x1(_arg1:Array):void
        {
            var k:Array = _-1Lw._-VU(_arg1);
            if (k.length == 1)
            {
                if (k[0].productCount == 1)
                {
                    this._-0j6 = _-3NL;
                }
                else
                {
                    this._-0j6 = _-1sS;
                };
            }
            else
            {
                if (k.length > 1)
                {
                    this._-0j6 = _-2mE;
                }
                else
                {
                    this._-0j6 = _-3PX;
                };
            };
        }
        private function _-3tp():void
        {
            if ((((this._-3RW > 0)) && ((this._-5FC > 0))))
            {
                this._-4f6 = _-0dX;
            }
            else
            {
                if (this._-3RW > 0)
                {
                    this._-4f6 = _-2sv;
                }
                else
                {
                    if (this._-5FC > 0)
                    {
                        this._-4f6 = _-3wS;
                    }
                    else
                    {
                        this._-4f6 = _-33n;
                    };
                };
            };
        }
        public function clone():Offer
        {
            var k:_-1Lw;
            var k:_-0hX;
            var k:_-1Lw;
            var k:Array = new Array();
            var k:_-48b = this._-0Wq.viewer.catalog.getProductData(this._-5Dp);
            for each (k in this._-4Ch.products)
            {
                k = this._-0Wq.viewer.catalog._-2QH(k._-3yk, k._-5DX);
                k = new _-1Lw(k._-5DX, k._-3yk, k._-1gg, k.productCount, k.expiration, k, k, this._-3oJ);
                k.push(k);
            };
            return (new Offer(this.offerId, this._-5Dp, this._-w6, this._-17D, this.activityPointType, this._-4SQ, this.clubLevel, k, this._-3by, this.page, this._-3oJ));
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc.PageLocalization

package _-1lc
{
    import flash.utils.Dictionary;

    public class PageLocalization implements _-dt 
    {

        private static const _-11z:Array = ["ctlg_header_text", "ctlg_description", "ctlg_special_txt", "ctlg_text_1", "ctlg_text_2"];
        private static const _-2sW:Array = ["ctlg_header_img", "ctlg_teaserimg_1", "ctlg_special_img", "ctlg_teaserimg_2", "ctlg_teaserimg_3"];
        private static const _-5-a:Object = {frontpage3:["ctlg_header_img", "ctlg_special_img", "frontpage_promotion"]};
        private static const _-5DU:Object = {
            camera1:["ctlg_header_text", "ctlg_text_1"],
            club1:["ctlg_text_1", "ctlg_text_2", "ctlg_text_3", "ctlg_text_4", "ctlg_text_5"],
            club2:["ctlg_text_1", "ctlg_text_2", "ctlg_text_3", "ctlg_text_4"],
            presents:["ctlg_header_text", "ctlg_text1"],
            collectibles:["ctlg_header_text", "ctlg_collectibles_link"],
            purse:["ctlg_header_text", "ctlg_special_txt"],
            pets:["ctlg_header_text", "ctlg_text_1", "ctlg_text_2", "ctlg_text_3"],
            pets2:["ctlg_header_text", "ctlg_text_1", "ctlg_text_2", "ctlg_text_3"],
            pets3:["ctlg_header_text", "ctlg_text_1", "ctlg_text_2", "ctlg_text_3"],
            info_credits:["ctlg_text_1", "ctlg_text_2", "ctlg_text_3", "ctlg_text_4", "ctlg_text_5", "ctlg_text_6", "ctlg_text_7", "ctlg_text_8"],
            info_pixels:["ctlg_text_1", "ctlg_text_2", "ctlg_text_3", "ctlg_text_4", "ctlg_text_5", "ctlg_text_6", "ctlg_text_7", "ctlg_text_8"],
            frontpage3:["ctlg_txt1", "ctlg_txt2", "ctlg_txt3", "ctlg_txt4", "ctlg_txt5", "ctlg_txt6", "", "", "", "ctlg_txt7"],
            bots:["ctlg_header_text", "ctlg_select_product", "name_your_bot", "ctlg_product_name"]
        };
        private static const _-1jz:Dictionary = new Dictionary();
        private static const _-15v:Object = {frontpage3:[7, 8]};
        private static const _-4-o:Object = {frontpage3:[["ctlg_txt1", "ctlg_txt2"], ["ctlg_txt3"]]};

        private var _-2qP:Array;
        private var _-4eo:Array;

        {
            _-1jz["frontpage3"] = ["ctlg_txt3", "ctlg_txt7"];
            _-1jz["info_pixels"] = ["ctlg_text_5", "ctlg_text_7"];
            _-1jz["info_credits"] = ["ctlg_text_5", "ctlg_text_7"];
            _-1jz["collectibles"] = ["ctlg_collectibles_link"];
            _-1jz["club1"] = ["ctlg_text_5"];
            _-1jz["club_buy"] = ["club_link"];
            _-1jz["mad_money"] = ["ctlg_madmoney_button"];
            _-1jz["monkey"] = ["ctlg_teaserimg_1_region", "ctlg_special_img_region"];
            _-1jz["niko"] = ["ctlg_teaserimg_1_region", "ctlg_special_img_region"];
            _-1jz["pets3"] = ["ctlg_text_3"];
        }
        public function PageLocalization(_arg1:Array, _arg2:Array)
        {
            this._-2qP = _arg1;
            this._-4eo = _arg2;
        }
        public function get imageCount():int
        {
            return (this._-2qP.length);
        }
        public function get textCount():int
        {
            return (this._-4eo.length);
        }
        public function dispose():void
        {
            this._-2qP = null;
            this._-4eo = null;
        }
        public function hasLinks(_arg1:String):Boolean
        {
            return (!((_-1jz[_arg1] == null)));
        }
        public function _-0Rm(_arg1:String):Array
        {
            return (_-1jz[_arg1]);
        }
        public function hasColors(_arg1:String):Boolean
        {
            return (((!((_-4-o[_arg1] == null))) && (!((_-15v[_arg1] == null)))));
        }
        public function getColorTargets(_arg1:String):Array
        {
            return (_-4-o[_arg1]);
        }
        public function getColorSources(_arg1:String):Array
        {
            return (_-15v[_arg1]);
        }
        public function getTextElementName(_arg1:int, _arg2:String):String
        {
            var k:Array = _-5DU[_arg2];
            if (k == null)
            {
                k = _-11z;
            };
            if (_arg1 < k.length)
            {
                return (k[_arg1]);
            };
            return ("");
        }
        public function getImageElementName(_arg1:int, _arg2:String):String
        {
            var k:Array = _-5-a[_arg2];
            if (k == null)
            {
                k = _-2sW;
            };
            if (_arg1 < k.length)
            {
                return (k[_arg1]);
            };
            return ("");
        }
        public function getTextElementContent(_arg1:int):String
        {
            if (_arg1 < this._-4eo.length)
            {
                return (this._-4eo[_arg1]);
            };
            return ("");
        }
        public function getImageElementContent(_arg1:int):String
        {
            if (_arg1 < this._-2qP.length)
            {
                return (this._-2qP[_arg1]);
            };
            return ("");
        }
        public function getColorUintFromText(_arg1:int):uint
        {
            var k:String;
            if (_arg1 < this._-4eo.length)
            {
                k = String(this._-4eo[_arg1]).replace("#", "0x");
                return (uint(Number(k)));
            };
            return (0);
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc.ProductContainer

package _-1lc
{
    import _-2Mh._-3Uw;
    import _-0mD.HabboCatalog;
    import _-293._-5-S;
    import _-293._-4q2;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-2kE;
    import flash.display.BitmapData;
    import _-1ae.IBorderWindow;
    import _-1ae.IIconWindow;
    import _-1Jd._-1ij;
    import _-4Kb.*;
    import _-293.*;

    public class ProductContainer extends _-2Ij implements dynamic, _-1OU, _-3kE, _-3QA 
    {

        protected var _-mB:Offer;
        protected var _-0N9:Array;

        public function ProductContainer(_arg1:Offer, _arg2:Array, _arg3:HabboCatalog)
        {
            var k:String;
            var k:_-1Lw;
            super(_arg3);
            for each (k in _arg2)
            {
                if (k._-5DX != _-3Uw._-0tW)
                {
                    k = k._-1gg;
                    break;
                };
            };
            this._-mB = _arg1;
            this._-0N9 = _arg2;
        }
        public function get products():Array
        {
            return (this._-0N9);
        }
        public function get _-1YN():_-2eJ
        {
            if (((!(this._-0N9)) || ((this._-0N9.length == 0))))
            {
                return (null);
            };
            if (this._-0N9.length == 1)
            {
                return (this._-0N9[0]);
            };
            var k:Array = _-1Lw._-VU(this._-0N9);
            return ((((k.length > 0)) ? (k[0] as _-2eJ) : null));
        }
        public function get offer():Offer
        {
            return (this._-mB);
        }
        override public function dispose():void
        {
            var k:_-1Lw;
            if (disposed)
            {
                return;
            };
            for each (k in this._-0N9)
            {
                k.dispose();
            };
            this._-0N9 = null;
            super.dispose();
        }
        public function initProductIcon(_arg1:_-5-S, _arg2:_-4q2=null):void
        {
        }
        override public function set view(_arg1:IWindowContainer):void
        {
            var k:int;
            var k:_-2eJ;
            super.view = _arg1;
            if (_-Ke == null)
            {
                return;
            };
            if (((((((catalog) && (this._-mB._-3T))) && (!((this._-mB._-3T == ""))))) && ((this._-mB.productContainer.products.length > 1))))
            {
                this._-4Tb("catalog_icon_badge_included");
            }
            else
            {
                if (((catalog) && ((this._-mB.productContainer.products.length == 2))))
                {
                    k = 0;
                    while (k < 2)
                    {
                        k = this._-mB.productContainer.products[k];
                        if ((((k._-5DX == _-3Uw._-17R)) && ((k._-3yk == _-1Lw._-3Jj))))
                        {
                            this._-4Tb("catalog_icon_ninja_effect_included");
                        };
                        k++;
                    };
                };
            };
        }
        private function _-4Tb(_arg1:String):void
        {
            var k:IBitmapWrapperWindow = (_-Ke.findChildByName("badge_add_on") as IBitmapWrapperWindow);
            var k:_-2kE = catalog.assets.getAssetByName(_arg1);
            k.bitmap = (k.content as BitmapData);
            var k:BitmapData = (k.content as BitmapData);
            k.width = k.width;
            k.height = k.height;
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            setIconImage(_arg2, true);
        }
        public function _-2UB(_arg1:int):void
        {
            if (view == null)
            {
                return;
            };
            var k:IBorderWindow = (view.findChildByName("bg") as IBorderWindow);
            if (k == null)
            {
                return;
            };
            var k:IIconWindow = (k.findChildByName("clubLevelIcon") as IIconWindow);
            if (k == null)
            {
                return;
            };
            switch (this.offer.clubLevel)
            {
                case _-1ij._-42U:
                    k.visible = false;
                    return;
                case _-1ij._-12G:
                    k.visible = true;
                    k.style = 11;
                    k.x = (k.x + 3);
                    return;
                case _-1ij._-1pk:
                    k.visible = true;
                    k.style = 12;
                    return;
            };
        }
        public function _-0-V(_arg1:String):void
        {
            var k:_-1Lw;
            if (!disposed)
            {
                for each (k in this.products)
                {
                    if ((((k._-5DX == _-3Uw._-0Z7)) && ((k._-1gg == _arg1))))
                    {
                        setIconImage(_-2t4(k._-1gg, this), true);
                        return;
                    };
                };
            };
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lc.ProductImageConfiguration

package _-1lc
{
    import flash.utils.Dictionary;

    public class ProductImageConfiguration 
    {

        public static const _-57-:Dictionary = new Dictionary();

        {
            _-57-["deal01"] = "ctlg_pic_deal01";
            _-57-["deal02"] = "ctlg_pic_deal02";
            _-57-["deal03"] = "ctlg_pic_deal03";
            _-57-["deal04"] = "ctlg_pic_deal04";
            _-57-["deal05"] = "ctlg_pic_deal05";
            _-57-["deal06"] = "ctlg_pic_deal06";
            _-57-["deal07"] = "ctlg_pic_deal07";
            _-57-["deal08"] = "ctlg_pic_deal08";
            _-57-["deal09"] = "ctlg_pic_deal09";
            _-57-["deal10"] = "ctlg_pic_deal10";
            _-57-["deal97"] = "ctlg_pic_deal97";
            _-57-["deal98"] = "ctlg_pic_deal98";
            _-57-["deal99"] = "ctlg_pic_deal99";
            _-57-["noob_set_1"] = "ctlg_pic_noob_set_1";
            _-57-["noob_set_2"] = "ctlg_pic_noob_set_2";
            _-57-["noob_set_3"] = "ctlg_pic_noob_set_3";
            _-57-["noob_set_4"] = "ctlg_pic_noob_set_4";
            _-57-["noob_set_5"] = "ctlg_pic_noob_set_5";
            _-57-["noob_set_6"] = "ctlg_pic_noob_set_6";
            _-57-["a0 deal100"] = "ctlg_pic_a0_deal100";
            _-57-["a0 raredaffodilrug"] = "ctlg_pic_a0_raredaffodilrug";
            _-57-["a2 slp"] = "ctlg_pic_a2_slp";
            _-57-["A2 tlp 20"] = "ctlg_pic_A2_tlp_20";
            _-57-["DEAL_HC_1"] = "ctlg_pic_hc_deal01";
            _-57-["DEAL_HC_2"] = "ctlg_pic_hc_deal02";
            _-57-["DEAL_HC_3"] = "ctlg_pic_hc_deal03";
            _-57-["hween09_ghost"] = "ctlg_pic_hween09_ghost";
            _-57-["ads_twi_mist"] = "ctlg_pic_ads_twi_mist";
            _-57-["party_lights"] = "ctlg_pic_party_lights";
            _-57-["xmas_snow"] = "ctlg_pic_xmas_snow";
            _-57-["wf_deal1"] = "ctlg_pic_deal_wired_pswdoor";
            _-57-["wf_deal2"] = "ctlg_pic_deal_wired_swtchdoor";
            _-57-["wf_deal3"] = "ctlg_pic_deal_wired_coopdoor";
            _-57-["wf_deal4"] = "ctlg_pic_deal_wired_rmtdoor";
            _-57-["wf_deal5"] = "ctlg_pic_deal_wired_wlcmmsg";
            _-57-["wf_deal6"] = "ctlg_pic_deal_wired_pswtele";
            _-57-["wf_deal7"] = "ctlg_pic_deal_wired_dircntrl";
            _-57-["wf_deal8"] = "ctlg_pic_deal_wired_mvngfurni";
            _-57-["wf_deal9"] = "ctlg_pic_deal_wired_flshfires";
            _-57-["qt_val11_heartlights"] = "ctlg_pic_qt_val11_heartlights";
            _-57-["GET_SNOWWAR_TOKENS"] = "snowwar_tokens_10";
            _-57-["room_ad_plus_badge"] = "events_confirm_purchase";
        }
        public static function _-0H3(_arg1:String):Boolean
        {
            return (!((_-57-[_arg1] == null)));
        }

    }
}//package _-1lc

//------------------------------------------------------------
//_-1lS._-0Ce

package _-1lS
{
    import _-4yS._-1CF;
    import _-4yS._-1D2;
    import _-3X8._-0hg;

    public class _-0Ce extends _-4w0 
    {

        public function _-0Ce(_arg1:_-1CF, _arg2:_-1D2, _arg3:_-0hg)
        {
            super(_arg2);
            var k:String = _arg3.getBadgeName(_arg2.message);
            prepare("${friendbar.notify.achievement}", k, "message_piece_xml", "friend_bar_event_notification_icon");
        }
    }
}//package _-1lS

//------------------------------------------------------------
//_-1lS._-0hJ

package _-1lS
{
    import _-0GO._-44Y;
    import _-4yS._-1CF;
    import _-4yS._-1D2;

    public class _-0hJ extends _-4w0 
    {

        public function _-0hJ(_arg1:_-1CF, _arg2:_-1D2)
        {
            super(_arg2);
            var k:String = _arg2.message;
            var k = (("${gamecenter." + k) + ".name}");
            var k:int = _-0JL.getGameId(_arg2.message);
            var k:String = _-0JL.getGameAssetURL(k, _-44Y._-54V);
            prepare("${friendbar.notify.game}", k, "message_piece_xml", k);
        }
    }
}//package _-1lS

//------------------------------------------------------------
//_-1lS._-2e3

package _-1lS
{
    import _-4yS._-1CF;
    import _-4yS._-1D2;

    public class _-2e3 extends _-4w0 
    {

        public function _-2e3(_arg1:_-1CF, _arg2:_-1D2)
        {
            super(_arg2);
            prepare("${friendbar.notify.messenger}", _arg2.message, "message_piece_xml", "messenger_notification_icon");
        }
    }
}//package _-1lS

//------------------------------------------------------------
//_-1lS._-4ry

package _-1lS
{
    import _-4yS._-1CF;
    import _-4yS._-1D2;

    public class _-4ry extends _-4w0 
    {

        public function _-4ry(_arg1:_-1CF, _arg2:_-1D2)
        {
            super(_arg2);
            var k = (("${quests." + _arg2.message) + ".name}");
            prepare("${friendbar.notify.quest}", k, "message_piece_xml", "friend_bar_event_notification_icon");
        }
    }
}//package _-1lS

//------------------------------------------------------------
//_-1lS._-4w0

package _-1lS
{
    import flash.geom.Rectangle;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-0GO._-1Z9;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindowContainer;
    import _-4yS._-1D2;
    import _-Ew.IWindow;
    import _-09j.WindowType;
    import _-09j.WindowStyle;
    import _-09j.WindowParam;
    import _-1ae._-4mB;
    import _-3nP.Motions;
    import _-3nP._-4lk;
    import _-1B-.*;

    public class _-4w0 implements _-1zZ 
    {

        protected static const _-3xR:String = "title";
        protected static const MESSAGE:String = "message";
        protected static const _-lz:Rectangle = new Rectangle(0, 0, 25, 25);

        protected static var _-3fC:_-3Ts;
        protected static var _-BA:_-39L;
        protected static var _-0JL:_-1Z9;

        protected var _icon:IRegionWindow;
        protected var _-0xv:IWindowContainer;
        protected var _disposed:Boolean;
        protected var _-18z:_-1D2;

        public function _-4w0(_arg1:_-1D2)
        {
            this._-18z = _arg1;
        }
        public static function set _-4gz(_arg1:_-3Ts):void
        {
            _-3fC = _arg1;
        }
        public static function set _-14d(_arg1:_-39L):void
        {
            _-BA = _arg1;
        }
        public static function set GAMES(_arg1:_-1Z9):void
        {
            _-0JL = _arg1;
        }

        public function get _-3sS():int
        {
            return (this._-18z._-3sS);
        }
        public function get _-0wQ():Boolean
        {
            return (this._-18z._-0wQ);
        }
        public function get notification():_-1D2
        {
            return (this._-18z);
        }
        public function get _-1Sv():IWindow
        {
            return (this._icon);
        }
        public function get _-01F():IWindow
        {
            return (this._-0xv);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._icon)
            {
                this._icon.dispose();
                this._icon = null;
            };
            this._-18z = null;
            this._disposed = true;
        }
        protected function prepare(_arg1:String, _arg2:String, _arg3:String, _arg4:String):void
        {
            this._-0xv = (_-3fC.buildFromXML((_-BA.getAssetByName(_arg3).content as XML)) as IWindowContainer);
            this._-0xv.findChildByName(_-3xR).caption = _arg1;
            this._-0xv.findChildByName(MESSAGE).caption = ((_arg2) ? _arg2 : "");
            this._icon = (_-3fC.create(("ICON_" + this._-3sS), WindowType._-4Y4, WindowStyle._-5B8, WindowParam._-55Y, _-4w0._-lz) as IRegionWindow);
            this._icon.mouseThreshold = 0;
            var k:_-4mB = (_-3fC.create(("BITMAP_" + this._-3sS), WindowType._-5Dq, WindowStyle._-5B8, WindowParam._-Lm, _-4w0._-lz) as _-4mB);
            k.assetUri = _arg4;
            this._icon.addChild(k);
            if (Motions._-4UE(this._icon) == null)
            {
                Motions._-Pp(new _-4lk(this._icon, 600, 32));
            };
        }

    }
}//package _-1lS

//------------------------------------------------------------
//_-1lS._-HR

package _-1lS
{
    import _-4yS._-1CF;
    import _-4yS._-1D2;

    public class _-HR extends _-4w0 
    {

        public function _-HR(_arg1:_-1CF, _arg2:_-1D2)
        {
            super(_arg2);
            prepare("${friendbar.notify.event}", _arg2.message, "message_piece_xml", "friend_bar_event_notification_icon");
        }
    }
}//package _-1lS

//------------------------------------------------------------
//_-1lS._-rE

package _-1lS
{
    import _-0GO._-44Y;
    import _-4yS._-1CF;
    import _-4yS._-1D2;

    public class _-rE extends _-4w0 
    {

        public function _-rE(_arg1:_-1CF, _arg2:_-1D2)
        {
            super(_arg2);
            var k:String = _arg2.message;
            var k = (("${gamecenter." + k) + ".name}");
            var k:int = _-0JL.getGameId(_arg2.message);
            var k:String = _-0JL.getGameAssetURL(k, _-44Y._-54V);
            prepare("${friendbar.notify.game_invite}", k, "message_piece_xml", k);
        }
    }
}//package _-1lS

//------------------------------------------------------------
//_-1LV._-0AC

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-3zU;
    import _-4Aj.*;

    public class _-0AC extends _-7V implements _-0tL 
    {

        public function _-0AC(_arg1:Function)
        {
            super(_arg1, _-3zU);
        }
        public function _-3-5():_-3zU
        {
            return ((_-515 as _-3zU));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-0Xe

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-442;

    public class _-0Xe extends _-7V 
    {

        public function _-0Xe(_arg1:Function)
        {
            super(_arg1, _-442);
        }
        public function _-3-5():_-442
        {
            return ((parser as _-442));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-1cf

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-t4;
    import _-4Aj.*;

    public class _-1cf extends _-7V implements _-0tL 
    {

        public function _-1cf(_arg1:Function)
        {
            super(_arg1, _-t4);
        }
        public function _-3-5():_-t4
        {
            return ((_-515 as _-t4));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-1gT

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-4v5;
    import _-4Aj.*;

    public class _-1gT extends _-7V implements _-0tL 
    {

        public function _-1gT(_arg1:Function)
        {
            super(_arg1, _-4v5);
        }
        public function _-3-5():_-4v5
        {
            return ((_-515 as _-4v5));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-1rq

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-426;
    import _-4Aj.*;

    public class _-1rq extends _-7V implements _-0tL 
    {

        public function _-1rq(_arg1:Function)
        {
            super(_arg1, _-426);
        }
        public function _-3-5():_-426
        {
            return ((_-515 as _-426));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-2KW

package _-1LV
{
    public class _-2KW 
    {

        private var _-0Kq:int = 0;
        private var _-5K:int = 0;
        private var _color:uint = 0;
        private var _-3Ar:uint = 0;
        private var _-3oB:Boolean = false;

        public function _-2KW(_arg1:int)
        {
            this._-0Kq = _arg1;
        }
        public function _-3nQ():void
        {
            this._-3oB = true;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function set type(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-5K = _arg1;
            };
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function set color(_arg1:uint):void
        {
            if (!this._-3oB)
            {
                this._color = _arg1;
            };
        }
        public function get _-IP():int
        {
            return (this._-3Ar);
        }
        public function set _-IP(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-3Ar = _arg1;
            };
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-2u

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-4PJ;
    import _-4Aj.*;

    public class _-2u extends _-7V implements _-0tL 
    {

        public function _-2u(_arg1:Function)
        {
            super(_arg1, _-4PJ);
        }
        public function _-3-5():_-4PJ
        {
            return ((_-515 as _-4PJ));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-34h

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-2EX;
    import _-4Aj.*;

    public class _-34h extends _-7V implements _-0tL 
    {

        public function _-34h(_arg1:Function)
        {
            super(_arg1, _-2EX);
        }
        public function _-3-5():_-2EX
        {
            return ((_-515 as _-2EX));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-3-9

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-1L1;
    import _-4Aj.*;

    public class _-3-9 extends _-7V implements _-0tL 
    {

        public function _-3-9(_arg1:Function)
        {
            super(_arg1, _-1L1);
        }
        public function _-3-5():_-1L1
        {
            return ((_-515 as _-1L1));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-3iS

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI.RoomDimmerPresetsMessageParser;

    public class _-3iS extends _-7V 
    {

        public function _-3iS(_arg1:Function)
        {
            super(_arg1, RoomDimmerPresetsMessageParser);
        }
        public function _-3-5():RoomDimmerPresetsMessageParser
        {
            return ((_-515 as RoomDimmerPresetsMessageParser));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-4cz

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-40Q;

    public class _-4cz extends _-7V 
    {

        public function _-4cz(_arg1:Function)
        {
            super(_arg1, _-40Q);
        }
        public function _-3-5():_-40Q
        {
            return ((_-515 as _-40Q));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-4j2

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-3Bv;
    import _-4Aj.*;

    public class _-4j2 extends _-7V implements _-0tL 
    {

        public function _-4j2(_arg1:Function)
        {
            super(_arg1, _-3Bv);
        }
        public function _-3-5():_-3Bv
        {
            return ((_-515 as _-3Bv));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-4Zv

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-4-n;
    import _-4Aj.*;

    public class _-4Zv extends _-7V implements _-0tL 
    {

        public function _-4Zv(_arg1:Function)
        {
            super(_arg1, _-4-n);
        }
        public function _-3-5():_-4-n
        {
            return ((_-515 as _-4-n));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1LV._-5Be

package _-1LV
{
    import _-4Aj._-7V;
    import _-3wI._-0Uf;
    import _-4Aj.*;

    public class _-5Be extends _-7V implements _-0tL 
    {

        public function _-5Be(_arg1:Function)
        {
            super(_arg1, _-0Uf);
        }
        public function _-3-5():_-0Uf
        {
            return ((_-515 as _-0Uf));
        }

    }
}//package _-1LV

//------------------------------------------------------------
//_-1mK._-iw

package _-1mK
{
    public class _-iw 
    {

        public static const _-3Qb:int = 0;
        public static const _-4IR:int = 1;
        public static const _-2vR:int = 2;
        public static const _-1tk:int = 3;

    }
}//package _-1mK

//------------------------------------------------------------
//_-1n0._-1y5

package _-1n0
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1y5 implements _-58N 
    {

        private var _-2kt:String;
        private var _-0Nf:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2kt = _arg1.readString();
            this._-0Nf = _arg1.readString();
            return (true);
        }
        public function get _-4Zp():String
        {
            return (this._-2kt);
        }
        public function get code():String
        {
            return (this._-0Nf);
        }

    }
}//package _-1n0

//------------------------------------------------------------
//_-1n0._-2dk

package _-1n0
{
    import _-4Aj._-0s1;
    import _-3PZ._-4iF;
    import _-4Aj.*;

    public class _-2dk implements _-58N 
    {

        private var _-2OX:int;
        private var _-HU:String;
        private var _-3Bm:int;
        private var _-2yE:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2OX = _arg1._-2BW();
            this._-HU = _arg1.readString();
            this._-3Bm = _arg1._-2BW();
            this._-2yE = _arg1._-2BW();
            return (true);
        }
        public function get _-2JP():int
        {
            return (this._-2OX);
        }
        public function get _-0Tu():String
        {
            return (this._-HU);
        }
        public function get _-2B():Boolean
        {
            return ((this._-3Bm == _-4iF._-4tx));
        }
        public function get _-3NY():int
        {
            return (this._-2yE);
        }
        public function get _-rJ():int
        {
            return (this._-3Bm);
        }

    }
}//package _-1n0

//------------------------------------------------------------
//_-1n0._-3pN

package _-1n0
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3pN implements _-58N 
    {

        private var _-1D8:String;
        private var _-1xK:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1D8 = _arg1.readString();
            this._-1xK = _arg1._-2BW();
            return (true);
        }
        public function get for ():String
        {
            return (this._-1D8);
        }
        public function get _-4TH():int
        {
            return (this._-1xK);
        }

    }
}//package _-1n0

//------------------------------------------------------------
//_-1n0._-5EM

package _-1n0
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-5EM implements _-58N 
    {

        private var _-07b:Boolean;
        private var _-08e:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-07b = _arg1.readBoolean();
            this._-08e = _arg1._-2BW();
            return (true);
        }
        public function get _-58n():Boolean
        {
            return (this._-07b);
        }
        public function get _-0sa():int
        {
            return (this._-08e);
        }

    }
}//package _-1n0

//------------------------------------------------------------
//_-1n0._-5Eu

package _-1n0
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-5Eu implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1n0

//------------------------------------------------------------
//_-1n0.CompetitionEntrySubmitResultMessageParser

package _-1n0
{
    import flash.utils.Dictionary;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class CompetitionEntrySubmitResultMessageParser implements _-58N 
    {

        public static const _-4zw:int = 0;
        public static const _-2gl:int = 1;
        public static const _-1K6:int = 2;
        public static const _-3fp:int = 3;
        public static const _-2hO:int = 4;
        public static const _-0gY:int = 5;
        public static const _-3Xs:int = 6;

        private var _-2OX:int;
        private var _-HU:String;
        private var _result:int;
        private var _-54h:Array;
        private var _-2n:Dictionary;

        public function flush():Boolean
        {
            this._-54h = null;
            this._-2n = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2OX = _arg1._-2BW();
            this._-HU = _arg1.readString();
            this._result = _arg1._-2BW();
            this._-54h = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-54h.push(_arg1.readString());
                k++;
            };
            this._-2n = new Dictionary();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-2n[_arg1.readString()] = "";
                k++;
            };
            return (true);
        }
        public function get _-2JP():int
        {
            return (this._-2OX);
        }
        public function get _-0Tu():String
        {
            return (this._-HU);
        }
        public function get result():int
        {
            return (this._result);
        }
        public function get _-03F():Array
        {
            return (this._-54h);
        }
        public function _-1bD(_arg1:String):Boolean
        {
            return (!((this._-2n[_arg1] == null)));
        }

    }
}//package _-1n0

//------------------------------------------------------------
//_-1nc._-05M

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-05M extends _-0jn 
    {

        private var _-0So:int;
        private var _-Og:int;
        private var _-3ev:int;
        private var _-0ev:int;
        private var _-W3:int;

        public function _-05M(_arg1:int)
        {
            super(_arg1);
        }
        public function get _-2ls():int
        {
            return (this._-0So);
        }
        public function get _-vb():int
        {
            return (this._-Og);
        }
        public function get targetX():int
        {
            return (this._-3ev);
        }
        public function get _-1uD():int
        {
            return (this._-0ev);
        }
        public function get _-0Q5():int
        {
            return (this._-W3);
        }
        override public function parse(_arg1:_-0s1):void
        {
            this._-0So = _arg1._-2BW();
            this._-Og = _arg1._-2BW();
            this._-3ev = _arg1._-2BW();
            this._-0ev = _arg1._-2BW();
            this._-W3 = _arg1._-2BW();
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1nc._-0e7

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-0e7 extends _-0jn 
    {

        private var _-Og:int;
        private var _-0lv:int;
        private var _-W3:int;

        public function _-0e7(_arg1:int)
        {
            super(_arg1);
        }
        public function get _-vb():int
        {
            return (this._-Og);
        }
        public function get _-2LI():int
        {
            return (this._-0lv);
        }
        public function get _-0Q5():int
        {
            return (this._-W3);
        }
        override public function parse(_arg1:_-0s1):void
        {
            this._-Og = _arg1._-2BW();
            this._-0lv = _arg1._-2BW();
            this._-W3 = _arg1._-2BW();
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1nc._-0jn

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-0jn 
    {

        public static const _-12V:int = 1;
        public static const _-0LL:int = 2;
        public static const _-3qH:int = 3;
        public static const _-0Xh:int = 4;
        public static const _-05G:int = 7;
        public static const _-4YE:int = 8;
        public static const _-0lM:int = 11;
        public static const _-IY:int = 12;

        private var _-0Kq:int;

        public function _-0jn(_arg1:int)
        {
            this._-0Kq = _arg1;
        }
        public static function create(_arg1:int):_-0jn
        {
            switch (_arg1)
            {
                case _-0LL:
                    return (new _-4NH(_arg1));
                case _-3qH:
                    return (new _-0e7(_arg1));
                case _-0Xh:
                    return (new _-2CZ(_arg1));
                case _-05G:
                    return (new _-0nu(_arg1));
                case _-4YE:
                    return (new _-05M(_arg1));
                case _-0lM:
                    return (new _-2mZ(_arg1));
                case _-IY:
                    return (new _-0UA(_arg1));
                case _-12V:
                    return (new _-3vK(_arg1));
                default:
                    _-Nb.log(("[SnowWarGameEventData] unknown event id " + _arg1));
                    return (null);
            };
        }

        public function get id():int
        {
            return (this._-0Kq);
        }
        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function parse(_arg1:_-0s1):void
        {
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1nc._-0nu

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-0nu extends _-0jn 
    {

        private var _-Og:int;

        public function _-0nu(_arg1:int)
        {
            super(_arg1);
        }
        public function get _-vb():int
        {
            return (this._-Og);
        }
        override public function parse(_arg1:_-0s1):void
        {
            this._-Og = _arg1._-2BW();
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1nc._-0UA

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-0UA extends _-0jn 
    {

        private var _-Og:int;
        private var _-2Ah:int;

        public function _-0UA(_arg1:int)
        {
            super(_arg1);
        }
        public function get _-vb():int
        {
            return (this._-Og);
        }
        public function get _-21C():int
        {
            return (this._-2Ah);
        }
        override public function parse(_arg1:_-0s1):void
        {
            this._-Og = _arg1._-2BW();
            this._-2Ah = _arg1._-2BW();
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1nc._-2CZ

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-2CZ extends _-0jn 
    {

        private var _-Og:int;
        private var _-3ev:int;
        private var _-0ev:int;
        private var _-W3:int;

        public function _-2CZ(_arg1:int)
        {
            super(_arg1);
        }
        public function get _-vb():int
        {
            return (this._-Og);
        }
        public function get targetX():int
        {
            return (this._-3ev);
        }
        public function get _-1uD():int
        {
            return (this._-0ev);
        }
        public function get _-0Q5():int
        {
            return (this._-W3);
        }
        override public function parse(_arg1:_-0s1):void
        {
            this._-Og = _arg1._-2BW();
            this._-3ev = _arg1._-2BW();
            this._-0ev = _arg1._-2BW();
            this._-W3 = _arg1._-2BW();
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1nc._-2mZ

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-2mZ extends _-0jn 
    {

        private var _-2Ah:int;

        public function _-2mZ(_arg1:int)
        {
            super(_arg1);
        }
        public function get _-21C():int
        {
            return (this._-2Ah);
        }
        override public function parse(_arg1:_-0s1):void
        {
            this._-2Ah = _arg1._-2BW();
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1nc._-3vK

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-3vK extends _-0jn 
    {

        private var _-Og:int;

        public function _-3vK(_arg1:int)
        {
            super(_arg1);
        }
        public function get _-vb():int
        {
            return (this._-Og);
        }
        override public function parse(_arg1:_-0s1):void
        {
            this._-Og = _arg1._-2BW();
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1nc._-4NH

package _-1nc
{
    import _-4Aj._-0s1;

    public class _-4NH extends _-0jn 
    {

        private var _-Og:int;
        private var _-2dX:int;
        private var _-4TA:int;

        public function _-4NH(_arg1:int)
        {
            super(_arg1);
        }
        public function get _-vb():int
        {
            return (this._-Og);
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }
        override public function parse(_arg1:_-0s1):void
        {
            this._-Og = _arg1._-2BW();
            this._-2dX = _arg1._-2BW();
            this._-4TA = _arg1._-2BW();
        }

    }
}//package _-1nc

//------------------------------------------------------------
//_-1-o._-0sL

package _-1-o
{
    import _-0gD.RoomVisualization;
    import _-4rn._-H0;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import _-0y0._-3q6;
    import _-3V-._-3SU;

    public class _-0sL extends RoomVisualization 
    {

        protected var _-388:int = 0;
        private var _-2uI:Boolean = false;

        override public function get floorRelativeDepth():Number
        {
            return (131);
        }
        override public function get wallRelativeDepth():Number
        {
            return (135);
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            if ((!(_arg1) is PublicRoomVisualizationData))
            {
                return (false);
            };
            return (super.initialize(_arg1));
        }
        private function _-4yJ(_arg1:int):void
        {
            _-2Dm((this._-388 + _arg1));
        }
        protected function get data():PublicRoomVisualizationData
        {
            return ((_-0qE as PublicRoomVisualizationData));
        }
        private function _-Lc(_arg1:_-3q6):void
        {
            var k:_-30N;
            var k:String;
            var k:int;
            if (this._-2uI)
            {
                return;
            };
            if (this.data != null)
            {
                this._-388 = _-18O;
                k = object.getModel();
                k = k.getString(_-4Wq._-TO);
                this.data.layoutRasterizer.layout = k;
                this.data.layoutRasterizer._-NL(_arg1);
                this._-4yJ(this.data.layoutRasterizer.elementCount());
                k = 0;
                while (k < this.data.layoutRasterizer.elementCount())
                {
                    this.data.layoutRasterizer.setElementToSprite(k, _-2IM((k + this._-388)));
                    k++;
                };
                this.data.layoutRasterizer._-44V(this._-388, this);
            };
            this._-2uI = true;
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            super.update(_arg1, _arg2, _arg3, _arg4);
            var k:_-3SU = object;
            if (k == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            this._-Lc(_arg1);
            var k:_-30N = object.getModel();
            var k:String = k.getString(_-4Wq._-2HC);
            var k = !(Boolean(k.getNumber(_-4Wq._-2-Q)));
            if (((!((k == ""))) && (!((this.data == null)))))
            {
                this.data.layoutRasterizer._-1qZ(this, k, k);
            };
        }

    }
}//package _-1-o

//------------------------------------------------------------
//_-1-o._-1JG

package _-1-o
{
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import _-0y0._-3q6;

    public class _-1JG extends _-0sL 
    {

        private var _-0Gs:Boolean;

        public function _-1JG()
        {
            this._-0Gs = false;
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            var k:String;
            var k:int;
            super.update(_arg1, _arg2, _arg3, _arg4);
            var k:_-3SU = object;
            if (k == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            var k:_-30N = object.getModel();
            var k:int = k.getNumber(_-4Wq._-4kv);
            var k:Boolean = Boolean(k);
            if (data != null)
            {
                if (this._-0Gs != k)
                {
                    k = "";
                    if (k)
                    {
                        data.layoutRasterizer.changeElementAlpha("bus", 0);
                        data.layoutRasterizer.changeElementAlpha("bus_oviopen_hidden", 0xFF);
                    }
                    else
                    {
                        data.layoutRasterizer.changeElementAlpha("bus", 0xFF);
                        data.layoutRasterizer.changeElementAlpha("bus_oviopen_hidden", 0);
                    };
                    this._-0Gs = k;
                };
                if (data.layoutRasterizer.graphicsChanged)
                {
                    k = 0;
                    while (k < data.layoutRasterizer.elementCount())
                    {
                        data.layoutRasterizer.setElementToSprite(k, _-2IM((k + _-388)));
                        k++;
                    };
                };
            };
        }

    }
}//package _-1-o

//------------------------------------------------------------
//_-1-o._-3m5

package _-1-o
{
    public class _-3m5 extends _-0sL 
    {

        private var _-0Gs:Boolean;

        public function _-3m5()
        {
            this._-0Gs = false;
        }
    }
}//package _-1-o

//------------------------------------------------------------
//_-1-o.PublicRoomVisualizationData

package _-1-o
{
    import _-0gD.RoomVisualizationData;
    import _-1Id.LayoutRasterizer;
    import _-022._-2KD;

    public class PublicRoomVisualizationData extends RoomVisualizationData 
    {

        private var _-05O:LayoutRasterizer;
        private var _-3WC:Boolean = false;

        public function PublicRoomVisualizationData()
        {
            this._-05O = new LayoutRasterizer();
        }
        public function get layoutRasterizer():LayoutRasterizer
        {
            return (this._-05O);
        }
        override public function dispose():void
        {
            super.dispose();
            if (this._-05O != null)
            {
                this._-05O.dispose();
                this._-05O = null;
            };
        }
        override public function initialize(_arg1:XML):Boolean
        {
            var k:XML;
            if (!super.initialize(_arg1))
            {
                return (false);
            };
            if (_arg1 == null)
            {
                return (false);
            };
            var k:XMLList = _arg1.layoutData;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                this._-05O.initialize(k);
                k++;
            };
            return (true);
        }
        override public function initializeAssetCollection(_arg1:_-2KD):void
        {
            if (_-Lj)
            {
                return;
            };
            super.initializeAssetCollection(_arg1);
            this._-05O.initializeAssetCollection(_arg1);
        }
        override protected function reset():void
        {
            super.reset();
        }

    }
}//package _-1-o

//------------------------------------------------------------
//_-1-P._-1W-

package _-1-P
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1W- implements _-58N 
    {

        private var _-5K:int;
        private var _-50Z:int;
        private var _-0Jk:int;

        public function flush():Boolean
        {
            this._-5K = 0;
            this._-50Z = 0;
            this._-0Jk = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-5K = _arg1._-2BW();
            this._-50Z = _arg1._-2BW();
            this._-0Jk = _arg1._-2BW();
            return (true);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get _-4N():int
        {
            return (this._-50Z);
        }
        public function get duration():int
        {
            return (this._-0Jk);
        }

    }
}//package _-1-P

//------------------------------------------------------------
//_-1-P._-2cM

package _-1-P
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2cM implements _-58N 
    {

        private var _-5K:int;

        public function flush():Boolean
        {
            this._-5K = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-5K = _arg1._-2BW();
            return (true);
        }
        public function get type():int
        {
            return (this._-5K);
        }

    }
}//package _-1-P

//------------------------------------------------------------
//_-1-P._-4RY

package _-1-P
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4RY implements _-58N 
    {

        private var _-5K:int;
        private var _-0Jk:int;

        public function flush():Boolean
        {
            this._-5K = 0;
            this._-0Jk = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-5K = _arg1._-2BW();
            this._-0Jk = _arg1._-2BW();
            return (true);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get duration():int
        {
            return (this._-0Jk);
        }

    }
}//package _-1-P

//------------------------------------------------------------
//_-1-P._-53d

package _-1-P
{
    import _-0ZI._-0Zf;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-53d implements _-58N 
    {

        private var _-Xa:Array;

        public function flush():Boolean
        {
            this._-Xa = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:_-0Zf;
            this._-Xa = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new _-0Zf();
                k.type = _arg1._-2BW();
                k._-4N = _arg1._-2BW();
                k.duration = _arg1._-2BW();
                k._-3mx = _arg1._-2BW();
                k._-0yu = _arg1._-2BW();
                this._-Xa.push(k);
                k++;
            };
            return (true);
        }
        public function get effects():Array
        {
            return (this._-Xa);
        }

    }
}//package _-1-P

//------------------------------------------------------------
//_-1-P._-uN

package _-1-P
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-uN implements _-58N 
    {

        private var _-5K:int;

        public function flush():Boolean
        {
            this._-5K = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-5K = _arg1._-2BW();
            return (true);
        }
        public function get type():int
        {
            return (this._-5K);
        }

    }
}//package _-1-P

//------------------------------------------------------------
//_-1pF._-2qE

package _-1pF
{
    import _-2np._-1Yp;
    import _-2np._-1ZV;
    import _-1B-.*;

    public interface _-2qE extends _-4yI 
    {

        function _-2ZS(_arg1:_-1Yp=null):_-1ZV;

    }
}//package _-1pF

//------------------------------------------------------------
//_-1pF.CoreCommunicationManager

package _-1pF
{
    import _-1B-._-Px;
    import _-1B-._-5CE;
    import _-2np._-1ZV;
    import _-2np.SocketConnection;
    import _-2np._-1Yp;
    import com.sulake.iid.*;
    import _-1B-.*;

    public class CoreCommunicationManager extends _-Px implements _-2qE, _-0gI 
    {

        private var _-0K:Array;

        public function CoreCommunicationManager(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
            this._-0K = new Array();
            registerUpdateReceiver(this, 0);
        }
        override public function dispose():void
        {
            var k:_-1ZV;
            removeUpdateReceiver(this);
            for each (k in this._-0K)
            {
                k.dispose();
            };
            this._-0K = null;
            super.dispose();
        }
        public function _-2ZS(_arg1:_-1Yp=null):_-1ZV
        {
            var k:_-1ZV = new SocketConnection(this, _arg1);
            this._-0K.push(k);
            return (k);
        }
        public function update(_arg1:uint):void
        {
            var k:_-1ZV;
            var k:int;
            while (k < this._-0K.length)
            {
                k = this._-0K[k];
                k._-3ZL();
                if (disposed)
                {
                    return;
                };
                if (k.disposed)
                {
                    this._-0K.splice(k, 1);
                }
                else
                {
                    k++;
                };
            };
        }

    }
}//package _-1pF

//------------------------------------------------------------
//_-1pi._-0qJ

package _-1pi
{
    import _-4Aj._-0s1;

    public class _-0qJ 
    {

        private var _-Nr:int;
        private var _-2ng:int;
        private var _-2j-:Array;

        public function _-0qJ(_arg1:_-0s1)
        {
            this._-Nr = _arg1._-2BW();
            this._-2ng = _arg1._-2BW();
            this._-2j- = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-2j-.push(new _-3Q3(_arg1));
                k++;
            };
        }
        public function get _-0gZ():int
        {
            return (this._-Nr);
        }
        public function get _-4lK():int
        {
            return (this._-2ng);
        }
        public function get prizes():Array
        {
            return (this._-2j-);
        }

    }
}//package _-1pi

//------------------------------------------------------------
//_-1pi._-19q

package _-1pi
{
    import _-4Aj._-0s1;

    public class _-19q 
    {

        private var _-3mV:String;
        private var _-0wj:int;

        public function _-19q(_arg1:_-0s1)
        {
            this._-3mV = _arg1.readString();
            this._-0wj = _arg1._-2BW();
        }
        public function get _-3Ks():String
        {
            return (this._-3mV);
        }
        public function get _-2eb():int
        {
            return (this._-0wj);
        }

    }
}//package _-1pi

//------------------------------------------------------------
//_-1pi._-1wP

package _-1pi
{
    import _-4Aj._-7V;
    import _-28d._-4Js;
    import _-4Aj.*;

    public class _-1wP extends _-7V implements _-0tL 
    {

        public static const _-1UG:int = 1;
        public static const _-0i2:int = 2;

        public function _-1wP(_arg1:Function)
        {
            super(_arg1, _-4Js);
        }
        public function _-3-5():_-4Js
        {
            return ((_-515 as _-4Js));
        }

    }
}//package _-1pi

//------------------------------------------------------------
//_-1pi._-2c

package _-1pi
{
    import _-4Aj._-7V;
    import _-28d._-2sG;
    import _-4Aj.*;

    public class _-2c extends _-7V implements _-0tL 
    {

        public function _-2c(_arg1:Function)
        {
            super(_arg1, _-2sG);
        }
        public function _-3-5():_-2sG
        {
            return ((_-515 as _-2sG));
        }

    }
}//package _-1pi

//------------------------------------------------------------
//_-1pi._-3Q3

package _-1pi
{
    import _-4Aj._-0s1;

    public class _-3Q3 
    {

        private var _-168:int = 1;
        private var _-03u:String;
        private var _-1ka:Array;
        private var _-3mV:String;
        private var _-0wj:int;

        public function _-3Q3(_arg1:_-0s1)
        {
            var _local2:int;
            this._-1ka = [];
            super();
            this._-03u = _arg1.readString();
            this._-168 = _arg1._-2BW();
            if (!this._-3nA)
            {
                this._-3mV = _arg1.readString();
                this._-0wj = _arg1._-2BW();
            }
            else
            {
                while (_local2 < this._-168)
                {
                    this._-1ka.push(new _-19q(_arg1));
                    _local2++;
                };
            };
        }
        public function get _-3Ks():String
        {
            return (this._-3mV);
        }
        public function get _-2eb():int
        {
            return (this._-0wj);
        }
        public function get _-3nA():Boolean
        {
            return ((this._-168 > 1));
        }
        public function get _-3HX():Array
        {
            return (this._-1ka);
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }

    }
}//package _-1pi

//------------------------------------------------------------
//_-1pi._-4pU

package _-1pi
{
    import _-4Aj._-7V;
    import _-28d._-zE;
    import _-4Aj.*;

    public class _-4pU extends _-7V implements _-0tL 
    {

        public static const _-1TN:int = 1;
        public static const _-4Z6:int = 2;
        public static const _-3fk:int = 3;

        public function _-4pU(_arg1:Function)
        {
            super(_arg1, _-zE);
        }
        public function _-3-5():_-zE
        {
            return ((_-515 as _-zE));
        }

    }
}//package _-1pi

//------------------------------------------------------------
//_-1Q8._-0AM

package _-1Q8
{
    public class _-0AM 
    {

        private var _name:String = "";
        private var _-5K:String = "";
        private var _-2dX:Number = 0;
        private var _-4TA:Number = 0;
        private var _-0l1:Number = 0;
        private var _-ai:int = 0;
        private var _-24E:int = 0;
        private var _-LN:int = 0;
        private var _-3oB:Boolean = false;

        public function _-3nQ():void
        {
            this._-3oB = true;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function set type(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-5K = _arg1;
            };
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set name(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._name = _arg1;
            };
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function set x(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-2dX = _arg1;
            };
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function set y(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-4TA = _arg1;
            };
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function set z(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-0l1 = _arg1;
            };
        }
        public function get dir():int
        {
            return (this._-ai);
        }
        public function set dir(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-ai = _arg1;
            };
        }
        public function get _-43A():int
        {
            return (this._-24E);
        }
        public function set _-43A(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-24E = _arg1;
            };
        }
        public function get _-3oN():int
        {
            return (this._-LN);
        }
        public function set _-3oN(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-LN = _arg1;
            };
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-0DJ

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-3Fw;

    public class _-0DJ extends _-7V 
    {

        public function _-0DJ(_arg1:Function)
        {
            super(_arg1, _-3Fw);
        }
        public function _-3-5():_-3Fw
        {
            return ((_-515 as _-3Fw));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-0dP

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-1Ux;

    public class _-0dP extends _-7V 
    {

        public function _-0dP(_arg1:Function)
        {
            super(_arg1, _-1Ux);
        }
        public function _-3-5():_-1Ux
        {
            return ((_-515 as _-1Ux));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-0PF

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-1lZ;
    import _-4Aj.*;

    public class _-0PF extends _-7V implements _-0tL 
    {

        public function _-0PF(_arg1:Function)
        {
            super(_arg1, _-1lZ);
        }
        public function get roomId():int
        {
            return ((_-515 as _-1lZ).roomId);
        }
        public function get roomCategory():int
        {
            return ((_-515 as _-1lZ).roomCategory);
        }
        public function get id():int
        {
            return ((_-515 as _-1lZ).id);
        }
        public function get figure():String
        {
            return ((_-515 as _-1lZ).figure);
        }
        public function get _-af():String
        {
            return ((_-515 as _-1lZ)._-af);
        }
        public function get _-1Yh():String
        {
            return ((_-515 as _-1lZ)._-1Yh);
        }
        public function get _-4pE():int
        {
            return ((_-515 as _-1lZ)._-4pE);
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-1BQ

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-3XV;

    public class _-1BQ extends _-7V 
    {

        public function _-1BQ(_arg1:Function)
        {
            super(_arg1, _-3XV);
        }
        public function _-3-5():_-3XV
        {
            return ((_-515 as _-3XV));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-1Fg

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.ItemsMessageParser;

    public class _-1Fg extends _-7V 
    {

        public function _-1Fg(_arg1:Function)
        {
            super(_arg1, ItemsMessageParser);
        }
        public function _-3-5():ItemsMessageParser
        {
            return ((_-515 as ItemsMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-1ls

package _-1Q8
{
    public class _-1ls 
    {

        private var _-0lb:String;
        private var _-2WA:String;

        public function _-1ls(_arg1:String, _arg2:String)
        {
            this._-0lb = _arg1;
            this._-2WA = _arg2;
        }
        public function get _-1Br():String
        {
            return (this._-0lb);
        }
        public function get _-5-k():String
        {
            return (this._-2WA);
        }
        public function toString():String
        {
            return (((this._-0lb + ":") + this._-2WA));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-1QB

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.HeightMapUpdateMessageParser;

    public class _-1QB extends _-7V 
    {

        public function _-1QB(_arg1:Function)
        {
            super(_arg1, HeightMapUpdateMessageParser);
        }
        public function _-3-5():HeightMapUpdateMessageParser
        {
            return ((_-515 as HeightMapUpdateMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-1Rj

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-4kT;

    public class _-1Rj extends _-7V 
    {

        public function _-1Rj(_arg1:Function)
        {
            super(_arg1, _-4kT);
        }
        public function _-3-5():_-4kT
        {
            return ((_-515 as _-4kT));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-1xX

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.PublicRoomObjectsMessageParser;

    public class _-1xX extends _-7V 
    {

        public function _-1xX(_arg1:Function)
        {
            super(_arg1, PublicRoomObjectsMessageParser);
        }
        public function _-3-5():PublicRoomObjectsMessageParser
        {
            return ((_-515 as PublicRoomObjectsMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-20h

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-3I9;

    public class _-20h extends _-7V 
    {

        public function _-20h(_arg1:Function)
        {
            super(_arg1, _-3I9);
        }
        public function _-3-5():_-3I9
        {
            return ((_-515 as _-3I9));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-28C

package _-1Q8
{
    public class _-28C 
    {

        private var _-0Kq:int = 0;
        private var _-0oj:Boolean = false;
        private var _-25U:int = 0;
        private var _-3Kk:int = 0;
        private var _-59N:int = 0;
        private var _-4pr:int = 0;
        private var _-4TA:Number = 0;
        private var _-0l1:Number = 0;
        private var _-ai:String = "";
        private var _-5K:int = 0;
        private var _-0Ke:int = 0;
        private var _-0qE:String = "";
        private var _-3oB:Boolean = false;
        private var _-bQ:int = 0;
        private var _-2U6:int = 0;
        private var _-237:String = "";

        public function _-28C(_arg1:int, _arg2:int, _arg3:Boolean)
        {
            this._-0Kq = _arg1;
            this._-5K = _arg2;
            this._-0oj = _arg3;
        }
        public function _-3nQ():void
        {
            this._-3oB = true;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-0IN():Boolean
        {
            return (this._-0oj);
        }
        public function get _-0iU():Number
        {
            return (this._-25U);
        }
        public function set _-0iU(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-25U = _arg1;
            };
        }
        public function get _-24r():Number
        {
            return (this._-3Kk);
        }
        public function set _-24r(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-3Kk = _arg1;
            };
        }
        public function get localX():Number
        {
            return (this._-59N);
        }
        public function set localX(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-59N = _arg1;
            };
        }
        public function get localY():Number
        {
            return (this._-4pr);
        }
        public function set localY(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-4pr = _arg1;
            };
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function set y(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-4TA = _arg1;
            };
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function set z(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-0l1 = _arg1;
            };
        }
        public function get dir():String
        {
            return (this._-ai);
        }
        public function set dir(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-ai = _arg1;
            };
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function set type(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-5K = _arg1;
            };
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function set state(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-0Ke = _arg1;
            };
        }
        public function get data():String
        {
            return (this._-0qE);
        }
        public function set data(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-0qE = _arg1;
            };
        }
        public function get _-26m():int
        {
            return (this._-bQ);
        }
        public function set _-26m(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-bQ = _arg1;
            };
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function set _-nJ(_arg1:int):void
        {
            this._-2U6 = _arg1;
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function set _-0aC(_arg1:String):void
        {
            this._-237 = _arg1;
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-2he

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.UserUpdateMessageParser;

    public class _-2he extends _-7V 
    {

        public function _-2he(_arg1:Function)
        {
            super(_arg1, UserUpdateMessageParser);
        }
        public function _-3-5():UserUpdateMessageParser
        {
            return ((_-515 as UserUpdateMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-2J9

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-1Gy;

    public class _-2J9 extends _-7V 
    {

        public function _-2J9(_arg1:Function)
        {
            super(_arg1, _-1Gy);
        }
        public function _-3-5():_-1Gy
        {
            return ((_-515 as _-1Gy));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-2ML

package _-1Q8
{
    public class _-2ML 
    {

        public static const _-2si:String = "M";
        public static const _-1-Q:String = "F";

        private var _-0b1:int = 0;
        private var _-2dX:Number = 0;
        private var _-4TA:Number = 0;
        private var _-0l1:Number = 0;
        private var _-ai:int = 0;
        private var _name:String = "";
        private var _-4mT:int = 0;
        private var _-0o6:String = "";
        private var _-5AE:String = "";
        private var _-Aq:String = "";
        private var _-1Cz:int;
        private var _-4M1:int = 0;
        private var _-2p6:String = "";
        private var _-3P6:int = 0;
        private var _-3jX:String = "";
        private var _-50Z:String = "";
        private var _-2U6:int = 0;
        private var _-237:String;
        private var _-1KD:int;
        private var _-4ja:Boolean;
        private var _-2uo:Boolean;
        private var _-us:Boolean;
        private var _-4PY:Boolean;
        private var _-27p:Boolean;
        private var _-2Yx:Boolean;
        private var _-4V7:int = 0;
        private var _-2f9:String = "";
        private var _-4PL:Array;
        private var _-3oB:Boolean = false;

        public function _-2ML(_arg1:int)
        {
            this._-0b1 = _arg1;
        }
        public function _-3nQ():void
        {
            this._-3oB = true;
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function set x(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-2dX = _arg1;
            };
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function set y(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-4TA = _arg1;
            };
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function set z(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-0l1 = _arg1;
            };
        }
        public function get dir():int
        {
            return (this._-ai);
        }
        public function set dir(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-ai = _arg1;
            };
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set name(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._name = _arg1;
            };
        }
        public function get _-5EQ():int
        {
            return (this._-4mT);
        }
        public function set _-5EQ(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-4mT = _arg1;
            };
        }
        public function get _-af():String
        {
            return (this._-0o6);
        }
        public function set _-af(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-0o6 = _arg1;
            };
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function set figure(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-5AE = _arg1;
            };
        }
        public function get custom():String
        {
            return (this._-Aq);
        }
        public function set custom(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-Aq = _arg1;
            };
        }
        public function get _-4pE():int
        {
            return (this._-1Cz);
        }
        public function set _-4pE(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-1Cz = _arg1;
            };
        }
        public function get _-2-w():int
        {
            return (this._-4M1);
        }
        public function set _-2-w(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-4M1 = _arg1;
            };
        }
        public function get _-2oZ():String
        {
            return (this._-2p6);
        }
        public function set _-2oZ(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-2p6 = _arg1;
            };
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function set groupName(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-3jX = _arg1;
            };
        }
        public function get _-5Bj():int
        {
            return (this._-3P6);
        }
        public function set _-5Bj(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-3P6 = _arg1;
            };
        }
        public function get _-4N():String
        {
            return (this._-50Z);
        }
        public function set _-4N(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-50Z = _arg1;
            };
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function set _-nJ(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-2U6 = _arg1;
            };
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function set _-0aC(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-237 = _arg1;
            };
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function set rarityLevel(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-1KD = _arg1;
            };
        }
        public function get _-05m():Boolean
        {
            return (this._-4ja);
        }
        public function set _-05m(_arg1:Boolean):void
        {
            if (!this._-3oB)
            {
                this._-4ja = _arg1;
            };
        }
        public function get _-0mh():Boolean
        {
            return (this._-2uo);
        }
        public function set _-0mh(_arg1:Boolean):void
        {
            if (!this._-3oB)
            {
                this._-2uo = _arg1;
            };
        }
        public function get _-4a2():Boolean
        {
            return (this._-us);
        }
        public function set _-4a2(_arg1:Boolean):void
        {
            if (!this._-3oB)
            {
                this._-us = _arg1;
            };
        }
        public function get _-02Z():Boolean
        {
            return (this._-4PY);
        }
        public function set _-02Z(_arg1:Boolean):void
        {
            if (!this._-3oB)
            {
                this._-4PY = _arg1;
            };
        }
        public function get _-2gH():Boolean
        {
            return (this._-27p);
        }
        public function set _-2gH(_arg1:Boolean):void
        {
            if (!this._-3oB)
            {
                this._-27p = _arg1;
            };
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }
        public function set _-4td(_arg1:Boolean):void
        {
            if (!this._-3oB)
            {
                this._-2Yx = _arg1;
            };
        }
        public function get _-4mx():int
        {
            return (this._-4V7);
        }
        public function set _-4mx(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-4V7 = _arg1;
            };
        }
        public function get _-4T6():String
        {
            return (this._-2f9);
        }
        public function set _-4T6(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-2f9 = _arg1;
            };
        }
        public function get _-0zR():Array
        {
            return (this._-4PL);
        }
        public function set _-0zR(_arg1:Array):void
        {
            this._-4PL = _arg1;
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-2No

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-0cu;

    public class _-2No extends _-7V 
    {

        public function _-2No(_arg1:Function)
        {
            super(_arg1, _-0cu);
        }
        public function _-3-5():_-0cu
        {
            return ((_-515 as _-0cu));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-2Ul

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-4Z5;

    public class _-2Ul extends _-7V 
    {

        public function _-2Ul(_arg1:Function)
        {
            super(_arg1, _-4Z5);
        }
        public function _-3-5():_-4Z5
        {
            return ((_-515 as _-4Z5));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-2-v

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-2X9;
    import _-4Aj.*;

    public class _-2-v extends _-7V implements _-0tL 
    {

        public function _-2-v(_arg1:Function)
        {
            super(_arg1, _-2X9);
        }
        public function _-3-5():_-2X9
        {
            return ((_-515 as _-2X9));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-36M

package _-1Q8
{
    import _-293._-4q2;
    import _-0F-._-HJ;

    public class _-36M 
    {

        private var _-0Kq:int = 0;
        private var _-2dX:Number = 0;
        private var _-4TA:Number = 0;
        private var _-0l1:Number = 0;
        private var _-ai:int = 0;
        private var _-24E:int = 0;
        private var _-LN:int = 0;
        private var _-5K:int = 0;
        private var _-31w:int = -1;
        private var _-0Ke:int = 0;
        private var _-0qE:_-4q2;
        private var _-3AQ:int = 0;
        private var _-bQ:int;
        private var _-2U6:int = 0;
        private var _-237:String = "";
        private var _-0jb:String = null;
        private var _-3oB:Boolean = false;

        public function _-36M(_arg1:int)
        {
            this._-0qE = new _-HJ();
            super();
            this._-0Kq = _arg1;
        }
        public function _-3nQ():void
        {
            this._-3oB = true;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function set x(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-2dX = _arg1;
            };
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function set y(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-4TA = _arg1;
            };
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function set z(_arg1:Number):void
        {
            if (!this._-3oB)
            {
                this._-0l1 = _arg1;
            };
        }
        public function get dir():int
        {
            return (this._-ai);
        }
        public function set dir(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-ai = _arg1;
            };
        }
        public function get _-43A():int
        {
            return (this._-24E);
        }
        public function set _-43A(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-24E = _arg1;
            };
        }
        public function get _-3oN():int
        {
            return (this._-LN);
        }
        public function set _-3oN(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-LN = _arg1;
            };
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function set type(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-5K = _arg1;
            };
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function set state(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-0Ke = _arg1;
            };
        }
        public function get data():_-4q2
        {
            return (this._-0qE);
        }
        public function set data(_arg1:_-4q2):void
        {
            if (!this._-3oB)
            {
                this._-0qE = _arg1;
            };
        }
        public function get _-Gb():String
        {
            return (this._-0jb);
        }
        public function set _-Gb(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-0jb = _arg1;
            };
        }
        public function get _-33C():int
        {
            return (this._-31w);
        }
        public function set _-33C(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-31w = _arg1;
            };
        }
        public function get _-49r():int
        {
            return (this._-3AQ);
        }
        public function set _-49r(_arg1:int):void
        {
            if (!this._-3oB)
            {
                this._-3AQ = _arg1;
            };
        }
        public function get _-26m():int
        {
            return (this._-bQ);
        }
        public function set _-26m(_arg1:int):void
        {
            this._-bQ = _arg1;
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function set _-nJ(_arg1:int):void
        {
            this._-2U6 = _arg1;
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function set _-0aC(_arg1:String):void
        {
            this._-237 = _arg1;
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-3JI

package _-1Q8
{
    import _-0y0._-Xl;

    public class _-3JI 
    {

        public static const _-2Rh:String = "mv";
        public static const _-0x-:String = "sld";

        private var _-0Kq:int = 0;
        private var _-0cX:_-Xl;
        private var _-1hZ:_-Xl;
        private var _-36v:String;
        private var _-3oB:Boolean = false;

        public function _-3JI(_arg1:int, _arg2:_-Xl, _arg3:_-Xl, _arg4:String=null)
        {
            this._-0Kq = _arg1;
            this._-0cX = _arg2;
            this._-1hZ = _arg3;
            this._-36v = _arg4;
        }
        public function _-3nQ():void
        {
            this._-3oB = true;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get loc():_-Xl
        {
            return (this._-0cX);
        }
        public function set loc(_arg1:_-Xl):void
        {
            if (!this._-3oB)
            {
                this._-0cX = _arg1;
            };
        }
        public function get target():_-Xl
        {
            return (this._-1hZ);
        }
        public function set target(_arg1:_-Xl):void
        {
            if (!this._-3oB)
            {
                this._-1hZ = _arg1;
            };
        }
        public function get _-254():String
        {
            return (this._-36v);
        }
        public function set _-254(_arg1:String):void
        {
            if (!this._-3oB)
            {
                this._-36v = _arg1;
            };
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-3sN

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-0KW;

    public class _-3sN extends _-7V 
    {

        public function _-3sN(_arg1:Function)
        {
            super(_arg1, _-0KW);
        }
        public function _-3-5():_-0KW
        {
            return ((_-515 as _-0KW));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-3uw

package _-1Q8
{
    public class _-3uw 
    {

        private var _-0Kq:int = 0;
        private var _-2dX:Number = 0;
        private var _-4TA:Number = 0;
        private var _-0l1:Number = 0;
        private var _-yj:Number = 0;
        private var _-3ev:Number = 0;
        private var _-0ev:Number = 0;
        private var _-4Gu:Number = 0;
        private var _-ai:int = 0;
        private var _-40l:int = 0;
        private var _-Hy:Array;
        private var _-3t6:Boolean = false;
        private var _-59t:Boolean = false;

        public function _-3uw(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:int, _arg7:int, _arg8:Number, _arg9:Number, _arg10:Number, _arg11:Boolean, _arg12:Boolean, _arg13:Array)
        {
            this._-Hy = [];
            super();
            this._-0Kq = _arg1;
            this._-2dX = _arg2;
            this._-4TA = _arg3;
            this._-0l1 = _arg4;
            this._-yj = _arg5;
            this._-ai = _arg6;
            this._-40l = _arg7;
            this._-3ev = _arg8;
            this._-0ev = _arg9;
            this._-4Gu = _arg10;
            this._-3t6 = _arg11;
            this._-59t = _arg12;
            this._-Hy = _arg13;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function get _-463():Number
        {
            return (this._-yj);
        }
        public function get targetX():Number
        {
            return (this._-3ev);
        }
        public function get _-1uD():Number
        {
            return (this._-0ev);
        }
        public function get _-1cn():Number
        {
            return (this._-4Gu);
        }
        public function get dir():int
        {
            return (this._-ai);
        }
        public function get _-4nG():int
        {
            return (this._-40l);
        }
        public function get _-IZ():Boolean
        {
            return (this._-3t6);
        }
        public function get _-2Rb():Boolean
        {
            return (this._-59t);
        }
        public function get actions():Array
        {
            return (this._-Hy.slice());
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-3xE

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-1nZ;

    public class _-3xE extends _-7V 
    {

        public function _-3xE(_arg1:Function)
        {
            super(_arg1, _-1nZ);
        }
        public function _-3-5():_-1nZ
        {
            return ((_-515 as _-1nZ));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-3yw

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.ObjectsMessageParser;

    public class _-3yw extends _-7V 
    {

        public function _-3yw(_arg1:Function)
        {
            super(_arg1, ObjectsMessageParser);
        }
        public function _-3-5():ObjectsMessageParser
        {
            return ((_-515 as ObjectsMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-40v

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-0Jn;

    public class _-40v extends _-7V 
    {

        public function _-40v(_arg1:Function)
        {
            super(_arg1, _-0Jn);
        }
        public function _-3-5():_-0Jn
        {
            return ((_-515 as _-0Jn));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-4mq

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.UsersMessageParser;
    import _-4Aj.*;

    public class _-4mq extends _-7V implements _-0tL 
    {

        public function _-4mq(_arg1:Function)
        {
            super(_arg1, UsersMessageParser);
        }
        public function _-3-5():UsersMessageParser
        {
            return ((_-515 as UsersMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-4oh

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-3H5;

    public class _-4oh extends _-7V 
    {

        public function _-4oh(_arg1:Function)
        {
            super(_arg1, _-3H5);
        }
        public function _-3-5():_-3H5
        {
            return ((_-515 as _-3H5));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-4ol

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-0Or;

    public class _-4ol extends _-7V 
    {

        public function _-4ol(_arg1:Function)
        {
            super(_arg1, _-0Or);
        }
        public function _-3-5():_-0Or
        {
            return ((_-515 as _-0Or));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-4Xy

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.HeightMapMessageParser;

    public class _-4Xy extends _-7V 
    {

        public function _-4Xy(_arg1:Function)
        {
            super(_arg1, HeightMapMessageParser);
        }
        public function _-3-5():HeightMapMessageParser
        {
            return ((_-515 as HeightMapMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-4Z0

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.FloorHeightMapMessageParser;

    public class _-4Z0 extends _-7V 
    {

        public function _-4Z0(_arg1:Function)
        {
            super(_arg1, FloorHeightMapMessageParser);
        }
        public function _-3-5():FloorHeightMapMessageParser
        {
            return ((_-515 as FloorHeightMapMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-567

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-4SS;
    import _-4Aj.*;

    public class _-567 extends _-7V implements _-0tL 
    {

        public function _-567(_arg1:Function)
        {
            super(_arg1, _-4SS);
        }
        public function _-3-5():_-4SS
        {
            return ((_-515 as _-4SS));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-5-V

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co._-0IM;

    public class _-5-V extends _-7V 
    {

        public function _-5-V(_arg1:Function)
        {
            super(_arg1, _-0IM);
        }
        public function _-3-5():_-0IM
        {
            return ((_-515 as _-0IM));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-SO

package _-1Q8
{
    import _-293._-4q2;
    import _-0F-._-HJ;

    public class _-SO 
    {

        private var _-0Kq:int = 0;
        private var _-0Ke:int = 0;
        private var _-0qE:_-4q2;

        public function _-SO(_arg1:int, _arg2:int, _arg3:_-4q2)
        {
            this._-0qE = new _-HJ();
            super();
            this._-0Kq = _arg1;
            this._-0Ke = _arg2;
            this._-0qE = _arg3;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get data():_-4q2
        {
            return (this._-0qE);
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1Q8._-Z-

package _-1Q8
{
    import _-4Aj._-7V;
    import _-Co.ObjectsDataUpdateMessageParser;

    public class _-Z- extends _-7V 
    {

        public function _-Z-(_arg1:Function)
        {
            super(_arg1, ObjectsDataUpdateMessageParser);
        }
        public function _-3-5():ObjectsDataUpdateMessageParser
        {
            return ((_-515 as ObjectsDataUpdateMessageParser));
        }

    }
}//package _-1Q8

//------------------------------------------------------------
//_-1qL._-01x

package _-1qL
{
    import _-4rn._-H0;
    import _-0ah.ColorData;

    public class _-01x extends FurnitureVisualization 
    {

        private var _-0qE:FurnitureVisualizationData = null;

        override public function initialize(_arg1:_-H0):Boolean
        {
            this._-0qE = (_arg1 as FurnitureVisualizationData);
            return (super.initialize(_arg1));
        }
        override protected function getSpriteColor(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (this._-0qE == null)
            {
                return (ColorData._-2xB);
            };
            var k:int = this._-0qE._-12f(_arg1, _arg2, _arg3);
            return (k);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-0qU

package _-1qL
{
    import _-3aJ._-0MW;
    import _-4Kb._-3nt;
    import _-4Kb._-3QA;
    import _-4Kb._-40f;

    public class _-0qU extends FurnitureVisualizationData 
    {

        private var _-z4:_-0MW;

        public function _-0qU()
        {
            this._-z4 = new _-0MW();
        }
        public function set _-uU(_arg1:_-3nt):void
        {
            this._-z4._-uU = _arg1;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-z4.dispose();
            this._-z4 = null;
        }
        public function _-3M(_arg1:String, _arg2:Number, _arg3:String=null, _arg4:_-3QA=null):_-40f
        {
            return (this._-z4._-3M(_arg1, _arg2, _arg3, _arg4));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-0Rp

package _-1qL
{
    import _-0ah.AnimationStateData;
    import _-4rn._-H0;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import _-0ah.AnimationData;
    import _-0ah.AnimationFrame;

    public class _-0Rp extends FurnitureVisualization 
    {

        public static const _-3NQ:int = 0;

        private var _-3MS:AnimatedFurnitureVisualizationData = null;
        private var _-0Ke:int = -1;
        private var _-1TB:AnimationStateData;
        private var _-xS:int = 0;
        private var _-4Ab:int = 1;
        private var _-3B7:Number = 0;
        private var _-0Am:int = 0;
        private var _-3XY:Boolean = false;

        public function _-0Rp()
        {
            this._-1TB = new AnimationStateData();
        }
        protected function get layerCount():int
        {
            return (this._-0Am);
        }
        protected function get frameIncrease():int
        {
            return (this._-4Ab);
        }
        override protected function set direction(_arg1:int):void
        {
            if (this.direction != _arg1)
            {
                super.direction = _arg1;
                this._-3XY = true;
            };
        }
        override public function dispose():void
        {
            super.dispose();
            this._-3MS = null;
            if (this._-1TB != null)
            {
                this._-1TB.dispose();
                this._-1TB = null;
            };
        }
        public function get animationId():int
        {
            return (this._-1TB.animationId);
        }
        protected function getAnimationId(_arg1:AnimationStateData):int
        {
            var k:int = this.animationId;
            if (((!((k == _-3NQ))) && (this._-3MS._-B3(this._-3B7, k))))
            {
                return (k);
            };
            return (_-3NQ);
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            if (!(_arg1 is AnimatedFurnitureVisualizationData))
            {
                return (false);
            };
            this._-3MS = (_arg1 as AnimatedFurnitureVisualizationData);
            return (super.initialize(_arg1));
        }
        override protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            var k:_-3SU;
            var k:int;
            var k:_-30N;
            var k:int;
            if (super.updateObject(_arg1, _arg2))
            {
                k = object;
                if (k == null)
                {
                    return (false);
                };
                k = k.getState(0);
                if (k != this._-0Ke)
                {
                    this.setAnimation(k);
                    this._-0Ke = k;
                    k = k.getModel();
                    if (k != null)
                    {
                        k = k.getNumber(_-4Wq._-4MJ);
                        this._-xS = k;
                    };
                };
                return (true);
            };
            return (false);
        }
        override protected function updateModel(_arg1:Number):Boolean
        {
            var k:_-3SU;
            var k:_-30N;
            var k:Number;
            var k:int;
            var k:int;
            if (super.updateModel(_arg1))
            {
                k = object;
                if (k != null)
                {
                    k = k.getModel();
                    if (k != null)
                    {
                        if (this.usesAnimationResetting())
                        {
                            k = k.getNumber(_-4Wq._-4MJ);
                            if (k > this._-xS)
                            {
                                this._-xS = k;
                                this.setAnimation(this._-0Ke);
                            };
                        };
                        k = k.getNumber(_-4Wq._-45n);
                        if (!isNaN(k))
                        {
                            k = this._-3MS.getAnimationId(this._-3B7, k);
                            this.setAnimation(k);
                        };
                    };
                };
                return (true);
            };
            return (false);
        }
        private function _-1Ev(_arg1:AnimationStateData, _arg2:int):Boolean
        {
            var k:int = _arg1.animationId;
            if (((AnimationData._-2pL(k)) || (AnimationData._-2qT(k))))
            {
                if (_arg2 == _arg1._-2Iy)
                {
                    if (!_arg1._-4mC)
                    {
                        return (true);
                    };
                };
            };
            return (false);
        }
        private function _-1Xs(_arg1:AnimationStateData):int
        {
            var k:int = _arg1.animationId;
            if (((AnimationData._-2pL(k)) || (AnimationData._-2qT(k))))
            {
                return (_arg1._-2Iy);
            };
            return (k);
        }
        protected function setAnimation(_arg1:int):void
        {
            if (this._-3MS != null)
            {
                this._-2Zt(this._-1TB, _arg1, (this._-0Ke >= 0));
            };
        }
        protected function _-2Zt(_arg1:AnimationStateData, _arg2:int, _arg3:Boolean=true):Boolean
        {
            var k:int;
            var k:int;
            var k:int = _arg1.animationId;
            if (_arg3)
            {
                if (this._-1Ev(_arg1, _arg2))
                {
                    return (false);
                };
                k = this._-1Xs(_arg1);
                if (_arg2 != k)
                {
                    if (!this._-3MS._-4YD(this._-3B7, _arg2, k))
                    {
                        k = AnimationData._-0eX(k);
                        if (this._-3MS._-B3(this._-3B7, k))
                        {
                            _arg1._-2Iy = _arg2;
                        }
                        else
                        {
                            k = AnimationData._-4q4(_arg2);
                            if (this._-3MS._-B3(this._-3B7, k))
                            {
                                _arg1._-2Iy = _arg2;
                            };
                        };
                    };
                }
                else
                {
                    if (AnimationData._-2pL(k))
                    {
                        k = AnimationData._-4q4(_arg2);
                        if (this._-3MS._-B3(this._-3B7, k))
                        {
                            _arg1._-2Iy = _arg2;
                        };
                    }
                    else
                    {
                        if (!AnimationData._-2qT(k))
                        {
                            if (this.usesAnimationResetting())
                            {
                                k = AnimationData._-0eX(k);
                                if (this._-3MS._-B3(this._-3B7, k))
                                {
                                    _arg1._-2Iy = _arg2;
                                }
                                else
                                {
                                    k = AnimationData._-4q4(_arg2);
                                    if (this._-3MS._-B3(this._-3B7, k))
                                    {
                                        _arg1._-2Iy = _arg2;
                                    };
                                };
                            };
                        };
                    };
                };
            };
            if (k != _arg2)
            {
                _arg1.animationId = _arg2;
                return (true);
            };
            return (false);
        }
        protected function _-1tn(_arg1:int):Boolean
        {
            return (this._-1TB._-1tn(_arg1));
        }
        protected function resetAllAnimationFrames():void
        {
            if (this._-1TB != null)
            {
                this._-1TB._-4v3(this._-0Am);
            };
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            if (this._-3MS == null)
            {
                return (0);
            };
            if (_arg1 != this._-3B7)
            {
                this._-3B7 = _arg1;
                this._-0Am = this._-3MS._-Rr(_arg1);
                this.resetAllAnimationFrames();
            };
            var k:int = this.updateAnimations(_arg1);
            this._-3XY = false;
            return (k);
        }
        protected function updateAnimations(_arg1:Number):int
        {
            var k:int;
            if (((!(this._-1TB._-4mC)) || (this._-3XY)))
            {
                k = this._-11D(this._-1TB, _arg1);
                if (this._-1TB._-4mC)
                {
                    if (((AnimationData._-2pL(this._-1TB.animationId)) || (AnimationData._-2qT(this._-1TB.animationId))))
                    {
                        this.setAnimation(this._-1TB._-2Iy);
                        this._-1TB._-4mC = false;
                    };
                };
            };
            return (k);
        }
        protected function _-11D(_arg1:AnimationStateData, _arg2:Number):int
        {
            var k:Boolean;
            var k:Boolean;
            var k:AnimationFrame;
            var k:int;
            if (((_arg1._-4mC) && (!(this._-3XY))))
            {
                return (0);
            };
            var k:int = _arg1._-52G;
            var k:int = this.getAnimationId(_arg1);
            if (k == 0)
            {
                k = this._-3MS._-4g9(_arg2, k, direction);
            };
            k = (k + this.frameIncrease);
            _arg1._-52G = k;
            var k:int;
            _arg1._-4mC = true;
            var k = (1 << (this._-0Am - 1));
            var k:int = (this._-0Am - 1);
            while (k >= 0)
            {
                k = _arg1._-hU(k);
                if (((!(k)) || (this._-3XY)))
                {
                    k = _arg1._-1tn(k);
                    k = _arg1._-44L(k);
                    if (k != null)
                    {
                        if (((k._-1xP) && ((k._-4mp <= this.frameIncrease))))
                        {
                            k = true;
                        };
                    };
                    if (((((this._-3XY) || ((k == null)))) || ((((k._-4mp >= 0)) && (((k._-4mp = (k._-4mp - this.frameIncrease)) <= 0))))))
                    {
                        k = AnimationFrame._-1zL;
                        if (k != null)
                        {
                            k = k._-4cc;
                        };
                        if (k == AnimationFrame._-1zL)
                        {
                            k = this._-3MS._-44L(_arg2, k, direction, k, k);
                        }
                        else
                        {
                            k = this._-3MS._-20e(_arg2, k, direction, k, k, (k._-3dM + k.repeats), k);
                        };
                        _arg1._-4lU(k, k);
                        k = (k | k);
                    };
                    if ((((k == null)) || ((k._-4mp == AnimationFrame._-4qW))))
                    {
                        k = true;
                        k = true;
                    }
                    else
                    {
                        _arg1._-4mC = false;
                    };
                    _arg1._-21T(k, k);
                    _arg1._-0SH(k, k);
                };
                k = (k >> 1);
                k--;
            };
            return (k);
        }
        override protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            var k:AnimationFrame = this._-1TB._-44L(_arg2);
            if (k != null)
            {
                return (k.id);
            };
            return (super.getFrameNumber(_arg1, _arg2));
        }
        override protected function getSpriteXOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:int = super.getSpriteXOffset(_arg1, _arg2, _arg3);
            var k:AnimationFrame = this._-1TB._-44L(_arg3);
            if (k != null)
            {
                k = (k + k.x);
            };
            return (k);
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:int = super.getSpriteYOffset(_arg1, _arg2, _arg3);
            var k:AnimationFrame = this._-1TB._-44L(_arg3);
            if (k != null)
            {
                k = (k + k.y);
            };
            return (k);
        }
        protected function usesAnimationResetting():Boolean
        {
            return (false);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-12C

package _-1qL
{
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import _-022._-2G2;
    import flash.display.BitmapData;
    import flash.geom.Matrix;

    public class _-12C extends FurnitureVisualization 
    {

        private static const _-Vu:String = "branded_image";
        private static const _-4wD:int = 0;
        private static const _-41T:int = 1;
        private static const _-3Ka:int = 2;
        private static const _-5Ae:int = 3;

        protected var _-4Jn:String;
        protected var _-4N6:Boolean = false;
        protected var _-u8:int;
        protected var _-2vQ:int;
        protected var _-6x:int;
        private var _-bh:String;

        override public function dispose():void
        {
            if (((this._-bh) && (_-0-Z)))
            {
                _-0-Z.disposeAsset(this._-bh);
                this._-bh = null;
            };
            super.dispose();
            this._-4Jn = null;
        }
        override protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            if (super.updateObject(_arg1, _arg2))
            {
                if (this._-4N6)
                {
                    this._-4m3(_arg1);
                };
                return (true);
            };
            return (false);
        }
        override protected function updateModel(_arg1:Number):Boolean
        {
            var k:_-3SU;
            var k:_-30N;
            var k:Boolean = super.updateModel(_arg1);
            if (k)
            {
                k = object;
                if (k != null)
                {
                    k = k.getModel();
                    if (k != null)
                    {
                        this._-u8 = k.getNumber(_-4Wq._-1oe);
                        this._-2vQ = k.getNumber(_-4Wq._-2Wq);
                        this._-6x = k.getNumber(_-4Wq._-0rn);
                    };
                };
            };
            if (!this._-4N6)
            {
                this._-4N6 = this._-0U6();
                if (this._-4N6)
                {
                    this._-4m3(_arg1);
                    return (true);
                };
            }
            else
            {
                if (this._-31Z())
                {
                    this._-4N6 = false;
                    this._-4Jn = null;
                    return (true);
                };
            };
            return (k);
        }
        protected function _-31Z():Boolean
        {
            var k:_-30N;
            var k:String;
            var k:_-3SU = object;
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    k = k.getString(_-4Wq._-4JK);
                    if (((!((k == null))) && (!((k == this._-4Jn)))))
                    {
                        return (true);
                    };
                };
            };
            return (false);
        }
        protected function _-0U6():Boolean
        {
            var k:_-30N;
            var k:String;
            var k:Number;
            var k:_-2G2;
            var k:BitmapData;
            var k:_-3SU = object;
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    k = k.getString(_-4Wq._-4JK);
                    if (k != null)
                    {
                        if ((((this._-4Jn == null)) || (!((this._-4Jn == k)))))
                        {
                            k = k.getNumber(_-4Wq._-ag);
                            if (k == 1)
                            {
                                k = _-0-Z.getAsset(k);
                                if (k != null)
                                {
                                    k = (k.asset.content as BitmapData);
                                    if (k != null)
                                    {
                                        this.imageReady(k, k);
                                        return (true);
                                    };
                                };
                            };
                        };
                    };
                };
            };
            return (false);
        }
        override protected function updateSprites(_arg1:int, _arg2:Boolean, _arg3:int):void
        {
            super.updateSprites(_arg1, _arg2, _arg3);
        }
        protected function imageReady(_arg1:BitmapData, _arg2:String):void
        {
            _-Nb.log(("billboard visualization got image from url = " + _arg2));
            if (_arg1 != null)
            {
                this._-4Jn = _arg2;
            }
            else
            {
                this._-4Jn = null;
            };
        }
        override protected function getSpriteAssetName(_arg1:int, _arg2:int):String
        {
            var _local7:int;
            var k:int = _-1jp(_arg1);
            var k:String = type;
            var k:String = "";
            if (_arg2 < (_-18O - 1))
            {
                k = String.fromCharCode(("a".charCodeAt() + _arg2));
            }
            else
            {
                k = "sd";
            };
            if (k == 1)
            {
                k = (k + ("_icon_" + k));
            }
            else
            {
                _local7 = getFrameNumber(_arg1, _arg2);
                k = (k + ((((((("_" + k) + "_") + k) + "_") + direction) + "_") + _local7));
            };
            var k:String = _-4kG(_arg1, direction, _arg2);
            if (((!((this._-4Jn == null))) && ((k == _-Vu))))
            {
                return (((((this._-4Jn + "_") + k) + "_") + object.getState(0)));
            };
            return (k);
        }
        private function _-4m3(_arg1:int):void
        {
            var k:BitmapData;
            var k:Matrix;
            if ((((object == null)) || ((this._-4Jn == null))))
            {
                return;
            };
            var k:_-2G2 = _-0-Z.getAsset(this._-4Jn);
            if (k == null)
            {
                return;
            };
            var k:int = object.getState(0);
            var k:int = _-1jp(_arg1);
            var k:String = ((((this._-4Jn + "_") + k) + "_") + k);
            var k:_-2G2 = _-0-Z.getAsset(k);
            if (k != null)
            {
                return;
            };
            var k:BitmapData = (k.asset.content as BitmapData);
            if (k == null)
            {
                _-Nb.log(("could not find bitmap data for image " + k));
                return;
            };
            var k:Boolean = true;
            if (this._-4Jn.indexOf("noscale") > -1)
            {
                k = false;
            };
            if ((((k == 32)) && (k)))
            {
                k = new Matrix();
                k.scale(0.5, 0.5);
                k = new BitmapData((k.width / 2), (k.height / 2), true, 0xFFFFFF);
                k.draw(k, k);
            }
            else
            {
                k = k.clone();
            };
            var k:int;
            var k:int;
            var k:Boolean;
            var k:Boolean;
            switch (k)
            {
                case _-4wD:
                    k = 0;
                    k = 0;
                    k = false;
                    k = false;
                    break;
                case _-41T:
                    k = -(k.width);
                    k = 0;
                    k = true;
                    k = false;
                    break;
                case _-3Ka:
                    k = -(k.width);
                    k = -(k.height);
                    k = true;
                    k = true;
                    break;
                case _-5Ae:
                    k = 0;
                    k = -(k.height);
                    k = false;
                    k = true;
                    break;
                default:
                    _-Nb.log(("could not handle unknown state " + k));
            };
            if (this._-bh)
            {
                _-0-Z.disposeAsset(this._-bh);
            };
            this._-bh = k;
            var k:Boolean = _-0-Z.addAsset(k, k, true, k, k, k, k);
            if (!k)
            {
                _-Nb.log(("could not add asset for image " + k));
            };
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-1dI

package _-1qL
{
    public class _-1dI extends _-0Rp 
    {

        private static const ANIMATION_ID_OFFSET_SLOW1:int = 10;
        private static const ANIMATION_ID_OFFSET_SLOW2:int = 20;
        private static const _-05j:int = 31;
        private static const _-3Xu:int = 32;

        private var _-03n:Array;
        private var _-0FJ:Boolean = false;

        public function _-1dI()
        {
            this._-03n = new Array();
            super();
        }
        override protected function setAnimation(_arg1:int):void
        {
            if (_arg1 == -1)
            {
                if (!this._-0FJ)
                {
                    this._-0FJ = true;
                    this._-03n = new Array();
                    this._-03n.push(_-05j);
                    this._-03n.push(_-3Xu);
                    return;
                };
            };
            if ((((_arg1 > 0)) && ((_arg1 <= ANIMATION_ID_OFFSET_SLOW1))))
            {
                if (this._-0FJ)
                {
                    this._-0FJ = false;
                    this._-03n = new Array();
                    this._-03n.push((ANIMATION_ID_OFFSET_SLOW1 + _arg1));
                    this._-03n.push((ANIMATION_ID_OFFSET_SLOW2 + _arg1));
                    this._-03n.push(_arg1);
                    return;
                };
                super.setAnimation(_arg1);
            };
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            if (((((super._-1tn(1)) && (super._-1tn(2)))) && (super._-1tn(3))))
            {
                if (this._-03n.length > 0)
                {
                    super.setAnimation(this._-03n.shift());
                };
            };
            return (super.updateAnimation(_arg1));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-1iD

package _-1qL
{
    import _-3mW._-4Wq;

    public class _-1iD extends _-0Rp 
    {

        private var _-4Ab:int = 1;
        private var _-Qt:Number = 0;

        override protected function get frameIncrease():int
        {
            return (this._-4Ab);
        }
        override protected function updateAnimations(_arg1:Number):int
        {
            this._-Qt = (this._-Qt + object.getModel().getNumber(_-4Wq._-1AK));
            this._-4Ab = this._-Qt;
            this._-Qt = (this._-Qt - this._-4Ab);
            return (super.updateAnimations(_arg1));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-1tO

package _-1qL
{
    import _-3mW._-4Wq;

    public class _-1tO extends _-0Rp 
    {

        private static const _-1X3:String = "COLOR1";
        private static const _-2hp:String = "COLOR2";
        private static const _-4Ue:String = "BADGE";
        private static const DEFAULT_COLOR_1:int = 0xEEEEEE;
        private static const DEFAULT_COLOR_2:int = 0x4B4B4B;

        private var _color1:int;
        private var _color2:int;
        private var _-0mI:String = "";
        private var _-1gN:String = "";

        override protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            if (super.updateObject(_arg1, _arg2))
            {
                return (true);
            };
            return (false);
        }
        override protected function updateModel(_arg1:Number):Boolean
        {
            var k:Boolean;
            var k:Boolean = super.updateModel(_arg1);
            if (!isNaN(object.getModel().getNumber(_-4Wq._-33f)))
            {
                k = !((object.getModel().getNumber(_-4Wq._-33f) == 0));
                if (((k) && ((this._-0mI == ""))))
                {
                    this._-0mI = object.getModel().getString(_-4Wq._-44z);
                    if (this._-1gN == "")
                    {
                        this._-1gN = (this._-0mI + "_32");
                    };
                };
            };
            var k:Number = object.getModel().getNumber(_-4Wq.FURNITURE_GUILD_CUSTOMIZED_COLOR_1);
            this._color1 = ((isNaN(k)) ? DEFAULT_COLOR_1 : (k as int));
            var k:Number = object.getModel().getNumber(_-4Wq.FURNITURE_GUILD_CUSTOMIZED_COLOR_2);
            this._color2 = ((isNaN(k)) ? DEFAULT_COLOR_2 : (k as int));
            return (k);
        }
        override protected function getSpriteColor(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:String = _-4kG(_arg1, direction, _arg2);
            switch (k)
            {
                case _-1X3:
                    return (this._color1);
                case _-2hp:
                    return (this._color2);
            };
            return (super.getSpriteColor(_arg1, _arg2, _arg3));
        }
        override protected function getSpriteAssetName(_arg1:int, _arg2:int):String
        {
            var k:String = _-4kG(_arg1, direction, _arg2);
            if (k == _-4Ue)
            {
                if (_arg1 == 32)
                {
                    return (this._-1gN);
                };
                return (this._-0mI);
            };
            return (super.getSpriteAssetName(_arg1, _arg2));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-1x9

package _-1qL
{
    public class _-1x9 extends _-0Rp 
    {

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-2n8

package _-1qL
{
    public class _-2n8 extends _-0Rp 
    {

        private static const ANIMATION_ID_OFFSET_SLOW1:int = 20;
        private static const ANIMATION_ID_OFFSET_SLOW2:int = 9;
        private static const _-3Xu:int = -1;

        private var _-03n:Array;
        private var _-0FJ:Boolean = false;

        public function _-2n8()
        {
            this._-03n = new Array();
            super();
        }
        override protected function setAnimation(_arg1:int):void
        {
            if (_arg1 == -1)
            {
                if (!this._-0FJ)
                {
                    this._-0FJ = true;
                    this._-03n = new Array();
                    this._-03n.push(_-3Xu);
                    return;
                };
            };
            if ((((_arg1 >= 0)) && ((_arg1 <= 7))))
            {
                if (this._-0FJ)
                {
                    this._-0FJ = false;
                    this._-03n = new Array();
                    this._-03n.push(ANIMATION_ID_OFFSET_SLOW1);
                    this._-03n.push((ANIMATION_ID_OFFSET_SLOW2 + _arg1));
                    this._-03n.push(_arg1);
                    return;
                };
                super.setAnimation(_arg1);
            };
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            if (super._-1tn(0))
            {
                if (this._-03n.length > 0)
                {
                    super.setAnimation(this._-03n.shift());
                };
            };
            return (super.updateAnimation(_arg1));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-2N8

package _-1qL
{
    import _-295._-39L;
    import _-4rn.*;

    public class _-2N8 implements _-H0 
    {

        private var _assets:_-39L;

        public function dispose():void
        {
            this._assets = null;
        }
        public function initialize(_arg1:XML):Boolean
        {
            return (true);
        }
        public function set assets(_arg1:_-39L):void
        {
            this._assets = _arg1;
        }
        public function get assets():_-39L
        {
            return (this._assets);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-3fA

package _-1qL
{
    import _-3mW._-4Wq;
    import _-3V-._-30N;

    public class _-3fA extends _-12C 
    {

        override protected function getAdClickUrl(_arg1:_-30N):String
        {
            return (_arg1.getString(_-4Wq._-3Qv));
        }
        override protected function getSpriteXOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            return ((super.getSpriteXOffset(_arg1, _arg2, _arg3) + _-u8));
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            return ((super.getSpriteYOffset(_arg1, _arg2, _arg3) + _-2vQ));
        }
        override protected function getSpriteZOffset(_arg1:int, _arg2:int, _arg3:int):Number
        {
            return ((super.getSpriteZOffset(_arg1, _arg2, _arg3) + (_-6x * -1)));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-3FU

package _-1qL
{
    import _-0y0._-3q6;
    import _-3V-._-30N;
    import _-3V-._-3SU;
    import _-3mW._-4Wq;

    public class _-3FU extends FurnitureVisualization 
    {

        private var _-lu:int = 0;
        private var _-3Pk:int = 0;

        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            this._-m4();
            super.update(_arg1, _arg2, _arg3, _arg4);
        }
        private function _-m4():void
        {
            var k:_-30N;
            var k:int;
            var k:String;
            var k:int;
            var k:_-3SU = object;
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    k = 1000;
                    k = k.getString(_-4Wq._-3HL);
                    k = parseInt(k);
                    this._-lu = Math.floor((k / k));
                    this._-3Pk = (k % k);
                };
            };
        }
        override protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            if (_arg2 <= 1)
            {
                return (this._-lu);
            };
            return (this._-3Pk);
        }
        override protected function getSpriteAssetName(_arg1:int, _arg2:int):String
        {
            var k:int = _-1jp(_arg1);
            var k:String = type;
            var k:String = "";
            if (_arg2 < (_-18O - 1))
            {
                k = String.fromCharCode(("a".charCodeAt() + _arg2));
            }
            else
            {
                k = "sd";
            };
            var k:int = this.getFrameNumber(_arg1, _arg2);
            k = (k + ((((("_" + k) + "_") + k) + "_") + direction));
            k = (k + ("_" + k));
            return (k);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-3LP

package _-1qL
{
    import _-0y0._-Xl;
    import flash.display.BitmapData;
    import _-18r.Map;
    import flash.geom.Point;
    import _-0y0._-06R;
    import _-0y0._-3q6;
    import flash.geom.Matrix;
    import flash.geom.Rectangle;

    public class _-3LP 
    {

        private var _-0h1:int = -1;
        private var _-2B-:Number = 0;
        private var _-2gU:Number = 0;
        private var _-2PT:Number = 0;
        private var _-52Y:Number = 0;
        private var _-j1:_-Xl = null;
        private var _-0cX:_-Xl = null;
        private var _-2DV:_-Xl = null;
        private var _-1yh:_-Xl = null;
        private var _-3MB:_-Xl = null;
        private var _-1Dt:_-Xl = null;
        private var _normal:_-Xl = null;
        private var _-4Zt:Boolean = true;
        private var _-04k:BitmapData = null;
        private var _-0ph:Map = null;
        private var _-1fe:Point = null;
        private var _-1jf:Number = 0;
        private var _color:uint = 0;
        private var _-4PZ:Boolean = false;
        private var _-0Kq:String = null;
        private var _-331:_-Xl = null;
        private var _-4q7:_-Xl = null;
        private var _-33T:_-Xl = null;
        private var _-0Yl:_-Xl = null;
        private var _-0Dz:Number = 0;
        private var _height:Number = 0;

        public function _-3LP(_arg1:_-06R, _arg2:_-06R, _arg3:_-06R)
        {
            this._-j1 = new _-Xl();
            this._-0cX = new _-Xl();
            this._-0cX._-3jn(_arg1);
            this._-2DV = new _-Xl();
            this._-2DV._-3jn(_arg2);
            this._-1yh = new _-Xl();
            this._-1yh._-3jn(_arg3);
            this._-3MB = new _-Xl();
            this._-3MB._-3jn(_arg2);
            this._-1Dt = new _-Xl();
            this._-1Dt._-3jn(_arg3);
            this._normal = _-Xl._-2H2(this._-2DV, this._-1yh);
            if (this._normal.length > 0)
            {
                this._normal._-2Dq((1 / this._normal.length));
            };
            this._-1fe = new Point();
            this._-331 = new _-Xl();
            this._-4q7 = new _-Xl();
            this._-33T = new _-Xl();
            this._-0Yl = new _-Xl();
            this._-0ph = new Map();
        }
        public function get bitmapData():BitmapData
        {
            if (this._-4Zt)
            {
                if (this._-04k != null)
                {
                    return (this._-04k.clone());
                };
            };
            return (null);
        }
        public function get visible():Boolean
        {
            return (this._-4Zt);
        }
        public function get offset():Point
        {
            return (this._-1fe);
        }
        public function get relativeDepth():Number
        {
            return (this._-1jf);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function set color(_arg1:uint):void
        {
            this._color = _arg1;
        }
        public function get _-5DB():_-06R
        {
            return (this._-2DV);
        }
        public function get _-3hO():_-06R
        {
            return (this._-1yh);
        }
        public function get location():_-06R
        {
            return (this._-0cX);
        }
        public function get normal():_-06R
        {
            return (this._normal);
        }
        public function dispose():void
        {
            var k:int;
            var k:BitmapData;
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
            if (this._-0ph != null)
            {
                k = 0;
                while (k < this._-0ph.length)
                {
                    k = (this._-0ph.getWithIndex(k) as BitmapData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-0ph.dispose();
                this._-0ph = null;
            };
            this._-j1 = null;
            this._-0cX = null;
            this._-2DV = null;
            this._-1yh = null;
            this._-3MB = null;
            this._-1Dt = null;
            this._normal = null;
            this._-331 = null;
            this._-4q7 = null;
            this._-33T = null;
            this._-0Yl = null;
        }
        public function _-3wi(_arg1:Boolean):void
        {
            if (_arg1 != this._-4PZ)
            {
                if (!_arg1)
                {
                    this._-2DV._-3jn(this._-3MB);
                    this._-1yh._-3jn(this._-1Dt);
                }
                else
                {
                    this._-2DV._-3jn(this._-3MB);
                    this._-2DV._-2Dq((this._-1Dt.length / this._-3MB.length));
                    this._-1yh._-3jn(this._-1Dt);
                    this._-1yh._-2Dq((this._-3MB.length / this._-1Dt.length));
                };
                this._-0h1 = -1;
                this._-2B- = (this._-2B- - 1);
                this._-4PZ = _arg1;
                this._-EC();
            };
        }
        private function _-095(_arg1:String, _arg2:BitmapData):Boolean
        {
            var k:BitmapData = (this._-0ph.remove(_arg1) as BitmapData);
            if (((!((k == null))) && (!((_arg2 == k)))))
            {
                k.dispose();
            };
            this._-0ph.add(_arg1, _arg2);
            return (true);
        }
        private function _-EC():void
        {
            var k:int;
            var k:BitmapData;
            if (this._-0ph != null)
            {
                k = 0;
                while (k < this._-0ph.length)
                {
                    k = (this._-0ph.getWithIndex(k) as BitmapData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-0ph.reset();
            };
        }
        private function getTextureIdentifier(_arg1:_-3q6):String
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:String = String(_arg1.scale);
            return (k);
        }
        private function _-0rP(_arg1:_-3q6):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:String = this.getTextureIdentifier(_arg1);
            var k:BitmapData = (this._-0ph.getValue(k) as BitmapData);
            if ((((this._-0Dz > 0)) && ((this._height > 0))))
            {
                if (k == null)
                {
                    return (true);
                };
            };
            return (false);
        }
        private function _-3Eh(_arg1:_-3q6, _arg2:int):BitmapData
        {
            var k:Number;
            var k:Number;
            var k:_-06R;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:String = this.getTextureIdentifier(_arg1);
            var k:BitmapData;
            if (this._-0rP(_arg1))
            {
                k = (this._-2DV.length * _arg1.scale);
                k = (this._-1yh.length * _arg1.scale);
                if (k < 1)
                {
                    k = 1;
                };
                if (k < 1)
                {
                    k = 1;
                };
                k = _arg1._-2y5(this._normal);
                k = (this._-0ph.getValue(k) as BitmapData);
                if (k == null)
                {
                    k = new BitmapData(k, k, true, (0xFF000000 | this._color));
                    if (k != null)
                    {
                        this._-095(k, k);
                    };
                };
            }
            else
            {
                k = (this._-0ph.getValue(k) as BitmapData);
            };
            if (k != null)
            {
                return (k);
            };
            return (null);
        }
        public function update(_arg1:_-3q6, _arg2:int):Boolean
        {
            var k:_-06R;
            var k:Number;
            var k:_-06R;
            var k:Number;
            var k:Number;
            var k:BitmapData;
            if ((((((((((_arg1 == null)) || ((((this._-0cX == null)) && (!((this._-j1 == null))))))) || ((this._-2DV == null)))) || ((this._-1yh == null)))) || ((this._normal == null))))
            {
                return (false);
            };
            var k:Boolean;
            if (_arg1._-3KH != this._-0h1)
            {
                this._-0h1 = _arg1._-3KH;
                k = _arg1.direction;
                if (((!((k == null))) && (((((((!((k.x == this._-2B-))) || (!((k.y == this._-2gU))))) || (!((k.z == this._-2PT))))) || (!((_arg1.scale == this._-52Y)))))))
                {
                    this._-2B- = k.x;
                    this._-2gU = k.y;
                    this._-2PT = k.z;
                    this._-52Y = _arg1.scale;
                    k = true;
                    k = 0;
                    k = _-Xl.cosAngle(_arg1._-00G, this.normal);
                    if (k > -0.001)
                    {
                        if (this._-4Zt)
                        {
                            this._-4Zt = false;
                            return (true);
                        };
                        return (false);
                    };
                    this._-0dk(_arg1);
                    k = _arg1._-58F(this._-j1);
                    k = k.z;
                    k = Math.max((this._-331.z - k), (this._-4q7.z - k), (this._-33T.z - k), (this._-0Yl.z - k));
                    this._-1jf = k;
                    this._-4Zt = true;
                };
            };
            if (((this._-0rP(_arg1)) || (k)))
            {
                if ((((((this._-04k == null)) || (!((this._-0Dz == this._-04k.width))))) || (!((this._height == this._-04k.height)))))
                {
                    if (this._-04k != null)
                    {
                        this._-04k.dispose();
                        this._-04k = null;
                        if ((((this._-0Dz < 1)) || ((this._height < 1))))
                        {
                            return (true);
                        };
                    }
                    else
                    {
                        if ((((this._-0Dz < 1)) || ((this._height < 1))))
                        {
                            return (false);
                        };
                    };
                    this._-04k = new BitmapData(this._-0Dz, this._height, true, 0xFFFFFF);
                    this._-04k.lock();
                }
                else
                {
                    this._-04k.lock();
                    this._-04k.fillRect(this._-04k.rect, 0xFFFFFF);
                };
                k = this._-3Eh(_arg1, _arg2);
                if (k != null)
                {
                    this._-4gY(_arg1, k);
                };
                this._-04k.unlock();
                return (true);
            };
            return (false);
        }
        private function _-0dk(_arg1:_-3q6):void
        {
            this._-331._-3jn(_arg1._-58F(this._-0cX));
            this._-4q7._-3jn(_arg1._-58F(_-Xl._-3SY(this._-0cX, this._-1yh)));
            this._-33T._-3jn(_arg1._-58F(_-Xl._-3SY(_-Xl._-3SY(this._-0cX, this._-2DV), this._-1yh)));
            this._-0Yl._-3jn(_arg1._-58F(_-Xl._-3SY(this._-0cX, this._-2DV)));
            this._-1fe = _arg1._-2Et(this._-j1);
            this._-331.x = Math.round(this._-331.x);
            this._-331.y = Math.round(this._-331.y);
            this._-4q7.x = Math.round(this._-4q7.x);
            this._-4q7.y = Math.round(this._-4q7.y);
            this._-33T.x = Math.round(this._-33T.x);
            this._-33T.y = Math.round(this._-33T.y);
            this._-0Yl.x = Math.round(this._-0Yl.x);
            this._-0Yl.y = Math.round(this._-0Yl.y);
            this._-1fe.x = Math.round(this._-1fe.x);
            this._-1fe.y = Math.round(this._-1fe.y);
            var k:Number = Math.min(this._-331.x, this._-4q7.x, this._-33T.x, this._-0Yl.x);
            var k:Number = Math.max(this._-331.x, this._-4q7.x, this._-33T.x, this._-0Yl.x);
            var k:Number = Math.min(this._-331.y, this._-4q7.y, this._-33T.y, this._-0Yl.y);
            var k:Number = Math.max(this._-331.y, this._-4q7.y, this._-33T.y, this._-0Yl.y);
            k = (k - k);
            this._-1fe.x = (this._-1fe.x - k);
            this._-331.x = (this._-331.x - k);
            this._-4q7.x = (this._-4q7.x - k);
            this._-33T.x = (this._-33T.x - k);
            this._-0Yl.x = (this._-0Yl.x - k);
            k = (k - k);
            this._-1fe.y = (this._-1fe.y - k);
            this._-331.y = (this._-331.y - k);
            this._-4q7.y = (this._-4q7.y - k);
            this._-33T.y = (this._-33T.y - k);
            this._-0Yl.y = (this._-0Yl.y - k);
            this._-0Dz = k;
            this._height = k;
        }
        private function _-4gY(_arg1:_-3q6, _arg2:BitmapData):void
        {
            if ((((((((((((this._-331 == null)) || ((this._-4q7 == null)))) || ((this._-33T == null)))) || ((this._-0Yl == null)))) || ((_arg2 == null)))) || ((this._-04k == null))))
            {
                return;
            };
            var k:Number = (this._-0Yl.x - this._-33T.x);
            var k:Number = (this._-0Yl.y - this._-33T.y);
            var k:Number = (this._-4q7.x - this._-33T.x);
            var k:Number = (this._-4q7.y - this._-33T.y);
            if (Math.abs((k - _arg2.width)) <= 1)
            {
                k = _arg2.width;
            };
            if (Math.abs((k - _arg2.width)) <= 1)
            {
                k = _arg2.width;
            };
            if (Math.abs((k - _arg2.height)) <= 1)
            {
                k = _arg2.height;
            };
            if (Math.abs((k - _arg2.height)) <= 1)
            {
                k = _arg2.height;
            };
            var k:Number = (k / _arg2.width);
            var k:Number = (k / _arg2.width);
            var k:Number = (k / _arg2.height);
            var k:Number = (k / _arg2.height);
            var k:Matrix = new Matrix();
            k.a = k;
            k.b = k;
            k.c = k;
            k.d = k;
            k.translate(this._-33T.x, this._-33T.y);
            this.draw(_arg2, k);
        }
        private function draw(_arg1:BitmapData, _arg2:Matrix):void
        {
            var k:int;
            var k:int;
            var k:Number;
            var k:int;
            var k:int;
            if (this._-04k != null)
            {
                if ((((((((((_arg2.a == 1)) && ((_arg2.d == 1)))) && ((_arg2.c == 0)))) && (!((_arg2.b == 0))))) && ((Math.abs(_arg2.b) <= 1))))
                {
                    k = 0;
                    k = 0;
                    k = 0;
                    k = 0;
                    if (_arg2.b > 0)
                    {
                        _arg2.ty++;
                    };
                    k = 0;
                    while (k < _arg1.width)
                    {
                        k++;
                        k = (k + Math.abs(_arg2.b));
                        if (k >= 1)
                        {
                            this._-04k.copyPixels(_arg1, new Rectangle((k + k), 0, (k - k), _arg1.height), new Point((_arg2.tx + k), (_arg2.ty + k)), null, null, true);
                            if (_arg2.b > 0)
                            {
                                k++;
                            }
                            else
                            {
                                k--;
                            };
                            k = 0;
                        };
                    };
                    if (k > 0)
                    {
                        this._-04k.copyPixels(_arg1, new Rectangle(k, 0, (k - k), _arg1.height), new Point((_arg2.tx + k), (_arg2.ty + k)), null, null, true);
                    };
                    return;
                };
                this._-04k.draw(_arg1, _arg2, null, null, null, false);
            };
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-40A

package _-1qL
{
    import _-3V-._-30N;
    import _-3mW._-4Wq;

    public class _-40A extends _-0Rp 
    {

        private static const _-05v:String = "ones_sprite";
        private static const _-3Ne:String = "tens_sprite";
        private static const _-2rx:String = "hundreds_sprite";
        private static const _-0Q8:int = -1;

        override protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            super.updateObject(_arg1, _arg2);
            return (true);
        }
        override protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            var k:_-30N = object.getModel();
            var k:int = k.getNumber(_-4Wq._-4Uk);
            var k:String = _-4kG(_arg1, direction, _arg2);
            switch (k)
            {
                case _-05v:
                    return ((k % 10));
                case _-3Ne:
                    return (((k / 10) % 10));
                case _-2rx:
                    return (((k / 100) % 10));
                default:
                    return (super.getFrameNumber(_arg1, _arg2));
            };
        }
        override protected function getSpriteAlpha(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:String;
            var k:_-30N = object.getModel();
            var k:int = k.getNumber(_-4Wq._-4Uk);
            if (k == _-0Q8)
            {
                k = _-4kG(_arg1, _arg2, _arg3);
                switch (k)
                {
                    case _-05v:
                    case _-3Ne:
                    case _-2rx:
                        return (0);
                };
            };
            return (super.getSpriteAlpha(_arg1, _arg2, _arg3));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-4Sr

package _-1qL
{
    public class _-4Sr extends _-0Rp 
    {

        private static const _-3Xu:int = 3;
        private static const _-Be:int = 2;
        private static const _-4iH:int = 1;
        private static const _-3Ko:int = 15;

        private var _-03n:Array;
        private var _-4YW:int;

        public function _-4Sr()
        {
            this._-03n = new Array();
            super();
        }
        override protected function setAnimation(_arg1:int):void
        {
            if (_arg1 == _-Be)
            {
                this._-03n = new Array();
                this._-03n.push(_-4iH);
                this._-4YW = _-3Ko;
            };
            super.setAnimation(_arg1);
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            if (this._-4YW > 0)
            {
                this._-4YW--;
            };
            if (this._-4YW == 0)
            {
                if (this._-03n.length > 0)
                {
                    super.setAnimation(this._-03n.shift());
                };
            };
            return (super.updateAnimation(_arg1));
        }
        override protected function usesAnimationResetting():Boolean
        {
            return (true);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-52K

package _-1qL
{
    public class _-52K extends _-0Rp 
    {

        override protected function usesAnimationResetting():Boolean
        {
            return (true);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-5D3

package _-1qL
{
    public class _-5D3 extends _-0Rp 
    {

        private static const ANIMATION_ID_OFFSET_SLOW1:int = 20;
        private static const ANIMATION_ID_OFFSET_SLOW2:int = 10;
        private static const _-05j:int = 31;
        private static const _-3Xu:int = 32;
        private static const _-1Al:int = 30;

        private var _-03n:Array;
        private var _-0FJ:Boolean = false;

        public function _-5D3()
        {
            this._-03n = new Array();
            super();
            super.setAnimation(_-1Al);
        }
        override protected function setAnimation(_arg1:int):void
        {
            if (_arg1 == 0)
            {
                if (!this._-0FJ)
                {
                    this._-0FJ = true;
                    this._-03n = new Array();
                    this._-03n.push(_-05j);
                    this._-03n.push(_-3Xu);
                    return;
                };
            };
            if ((((_arg1 > 0)) && ((_arg1 <= ANIMATION_ID_OFFSET_SLOW2))))
            {
                if (this._-0FJ)
                {
                    this._-0FJ = false;
                    this._-03n = new Array();
                    if (direction == 2)
                    {
                        this._-03n.push(((ANIMATION_ID_OFFSET_SLOW1 + 5) - _arg1));
                        this._-03n.push(((ANIMATION_ID_OFFSET_SLOW2 + 5) - _arg1));
                    }
                    else
                    {
                        this._-03n.push((ANIMATION_ID_OFFSET_SLOW1 + _arg1));
                        this._-03n.push((ANIMATION_ID_OFFSET_SLOW2 + _arg1));
                    };
                    this._-03n.push(_-1Al);
                    return;
                };
                super.setAnimation(_-1Al);
            };
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            if (super._-1tn(11))
            {
                if (this._-03n.length > 0)
                {
                    super.setAnimation(this._-03n.shift());
                };
            };
            return (super.updateAnimation(_arg1));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-A

package _-1qL
{
    public class _-A extends _-0Rp 
    {

        private static const _-1XS:String = "seconds_sprite";
        private static const _-1x5:String = "ten_seconds_sprite";
        private static const _-0Xo:String = "minutes_sprite";
        private static const _-0zs:String = "ten_minutes_sprite";

        override public function get animationId():int
        {
            return (0);
        }
        override protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            var k:String = _-4kG(_arg1, direction, _arg2);
            var k:int = super.animationId;
            switch (k)
            {
                case _-1XS:
                    return (((k % 60) % 10));
                case _-1x5:
                    return (((k % 60) / 10));
                case _-0Xo:
                    return (((k / 60) % 10));
                case _-0zs:
                    return ((((k / 60) / 10) % 10));
                default:
                    return (super.getFrameNumber(_arg1, _arg2));
            };
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-qK

package _-1qL
{
    import _-0y0._-3q6;
    import _-3V-._-30N;
    import _-3V-._-3SU;
    import _-3mW._-4Wq;

    public class _-qK extends FurnitureFireworksVisualization 
    {

        private static const _-4mt:int = 0;

        private var _-lu:int = 0;
        private var _-3Pk:int = 0;
        private var _-0Ke:int = 0;

        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            this._-m4();
            super.update(_arg1, _arg2, _arg3, _arg4);
        }
        private function _-m4():void
        {
            var k:_-30N;
            var k:int;
            var k:String;
            var k:int;
            var k:_-3SU = object;
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    k = 1000;
                    k = k.getString(_-4Wq._-3HL);
                    k = parseInt(k);
                    this._-lu = Math.floor((k / k));
                    this._-3Pk = (k % k);
                };
            };
        }
        override protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            if (this._-0Ke == _-4mt)
            {
                if (_arg2 <= 1)
                {
                    return (this._-lu);
                };
                if (_arg2 == 2)
                {
                    return (this._-3Pk);
                };
            };
            return (super.getFrameNumber(_arg1, _arg2));
        }
        override protected function getSpriteAssetName(_arg1:int, _arg2:int):String
        {
            var k:int = _-1jp(_arg1);
            var k:String = type;
            var k:String = "";
            if (_arg2 < (_-18O - 1))
            {
                k = String.fromCharCode(("a".charCodeAt() + _arg2));
            }
            else
            {
                k = "sd";
            };
            var k:int = this.getFrameNumber(_arg1, _arg2);
            k = (k + ((((("_" + k) + "_") + k) + "_") + direction));
            k = (k + ("_" + k));
            return (k);
        }
        override protected function setAnimation(_arg1:int):void
        {
            this._-0Ke = _arg1;
            super.setAnimation(_arg1);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-Tj

package _-1qL
{
    public class _-Tj extends _-0Rp 
    {

        private static const _-05v:String = "ones_sprite";
        private static const _-3Ne:String = "tens_sprite";
        private static const _-2rx:String = "hundreds_sprite";
        private static const _-2Q8:String = "thousands_sprite";

        override public function get animationId():int
        {
            return (0);
        }
        override protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            var k:String = _-4kG(_arg1, direction, _arg2);
            var k:int = super.animationId;
            switch (k)
            {
                case _-05v:
                    return ((k % 10));
                case _-3Ne:
                    return (((k / 10) % 10));
                case _-2rx:
                    return (((k / 100) % 10));
                case _-2Q8:
                    return (((k / 1000) % 10));
                default:
                    return (super.getFrameNumber(_arg1, _arg2));
            };
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL._-yU

package _-1qL
{
    import _-3V-._-30N;
    import _-3mW._-4Wq;

    public class _-yU extends _-0Rp 
    {

        private static const _-05v:String = "ones_sprite";
        private static const _-3Ne:String = "tens_sprite";
        private static const _-2rx:String = "hundreds_sprite";
        private static const _-ec:Array = [-1, 1];
        private static const _-1l-:int = -1;

        override protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            super.updateObject(_arg1, _arg2);
            return (true);
        }
        override protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            var k:_-30N = object.getModel();
            var k:int = k.getNumber(_-4Wq._-0SQ);
            var k:String = _-4kG(_arg1, direction, _arg2);
            switch (k)
            {
                case _-05v:
                    return ((k % 10));
                case _-3Ne:
                    return (((k / 10) % 10));
                case _-2rx:
                    return (((k / 100) % 10));
                default:
                    return (super.getFrameNumber(_arg1, _arg2));
            };
        }
        override protected function getSpriteAlpha(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:String;
            var k:_-30N = object.getModel();
            var k:int = k.getNumber(_-4Wq._-0SQ);
            if (((!((_-ec.indexOf(object.getState(0)) == -1))) || ((k == _-1l-))))
            {
                k = _-4kG(_arg1, _arg2, _arg3);
                switch (k)
                {
                    case _-05v:
                    case _-3Ne:
                    case _-2rx:
                        return (0);
                };
            };
            return (super.getSpriteAlpha(_arg1, _arg2, _arg3));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.AnimatedFurnitureVisualizationData

package _-1qL
{
    import _-0ah.SizeData;
    import _-0ah.AnimationSizeData;
    import _-0ah.AnimationFrame;

    public class AnimatedFurnitureVisualizationData extends FurnitureVisualizationData 
    {

        override protected function createSizeData(_arg1:int, _arg2:int, _arg3:int):SizeData
        {
            var k:SizeData;
            k = new AnimationSizeData(_arg2, _arg3);
            return (k);
        }
        override protected function processVisualizationElement(_arg1:SizeData, _arg2:XML):Boolean
        {
            var _local3:AnimationSizeData;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            switch (String(_arg2.name()))
            {
                case "animations":
                    _local3 = (_arg1 as AnimationSizeData);
                    if (_local3 != null)
                    {
                        if (!_local3._-4oV(_arg2))
                        {
                            return (false);
                        };
                    };
                    break;
                default:
                    if (!super.processVisualizationElement(_arg1, _arg2))
                    {
                        return (false);
                    };
            };
            return (true);
        }
        public function _-B3(_arg1:int, _arg2:int):Boolean
        {
            var k:AnimationSizeData = (_-0TY(_arg1) as AnimationSizeData);
            if (k != null)
            {
                return (k._-B3(_arg2));
            };
            return (false);
        }
        public function _-01V(_arg1:int):int
        {
            var k:AnimationSizeData = (_-0TY(_arg1) as AnimationSizeData);
            if (k != null)
            {
                return (k._-01V());
            };
            return (0);
        }
        public function getAnimationId(_arg1:int, _arg2:int):int
        {
            var k:AnimationSizeData = (_-0TY(_arg1) as AnimationSizeData);
            if (k != null)
            {
                return (k.getAnimationId(_arg2));
            };
            return (0);
        }
        public function _-4YD(_arg1:int, _arg2:int, _arg3:int):Boolean
        {
            var k:AnimationSizeData = (_-0TY(_arg1) as AnimationSizeData);
            if (k != null)
            {
                return (k._-4YD(_arg2, _arg3));
            };
            return (false);
        }
        public function _-4g9(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:AnimationSizeData = (_-0TY(_arg1) as AnimationSizeData);
            if (k != null)
            {
                return (k._-4g9(_arg2, _arg3));
            };
            return (0);
        }
        public function _-44L(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):AnimationFrame
        {
            var k:AnimationSizeData = (_-0TY(_arg1) as AnimationSizeData);
            if (k != null)
            {
                return (k._-44L(_arg2, _arg3, _arg4, _arg5));
            };
            return (null);
        }
        public function _-20e(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):AnimationFrame
        {
            var k:AnimationSizeData = (_-0TY(_arg1) as AnimationSizeData);
            if (k != null)
            {
                return (k._-20e(_arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
            };
            return (null);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureCuboidVisualization

package _-1qL
{
    import _-4rn.RoomObjectSpriteVisualization;
    import _-295.AssetLibrary;
    import _-4rn._-H0;
    import _-0y0._-06R;
    import _-3V-._-3SU;
    import _-3mW._-4Wq;
    import _-0y0._-Xl;
    import _-0y0._-3q6;
    import _-295.BitmapDataAsset;
    import _-4rn._-59O;
    import flash.display.BitmapData;
    import flash.geom.Point;

    public class FurnitureCuboidVisualization extends RoomObjectSpriteVisualization 
    {

        private var _-AV:AssetLibrary = null;
        private var _-1zq:Array;
        private var _-2y1:Boolean = false;
        private var _-zr:int = 0;

        public function FurnitureCuboidVisualization()
        {
            this._-1zq = [];
            super();
        }
        override public function dispose():void
        {
            var k:int;
            var k:_-3LP;
            super.dispose();
            if (this._-AV != null)
            {
                this._-AV.dispose();
                this._-AV = null;
            };
            if (this._-1zq != null)
            {
                k = 0;
                while (k < this._-1zq.length)
                {
                    k = (this._-1zq[k] as _-3LP);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-1zq = null;
            };
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            reset();
            return (true);
        }
        protected function _-Ob():void
        {
            var k:int = 1;
            _-2Dm(k);
        }
        protected function initializePlanes():void
        {
            var k:_-06R;
            var k:_-3LP;
            if (this._-2y1)
            {
                return;
            };
            var k:_-3SU = object;
            if (k == null)
            {
                return;
            };
            var k:int = 1;
            var k:Number = k.getModel().getNumber(_-4Wq._-1VR);
            var k:Number = k.getModel().getNumber(_-4Wq._-1mA);
            var k:Number = k.getModel().getNumber(_-4Wq._-Mt);
            if (((((isNaN(k)) || (isNaN(k)))) || (isNaN(k))))
            {
                return;
            };
            var k:_-Xl = new _-Xl(k, 0, 0);
            var k:_-Xl = new _-Xl(0, k, 0);
            var k:_-Xl = new _-Xl(-0.5, -0.5, 0);
            if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
            {
                k = _-Xl._-2H2(k, k);
                k = new _-3LP(k, k, k);
                k.color = 0xFFFF00;
                this._-1zq.push(k);
            }
            else
            {
                return;
            };
            this._-2y1 = true;
            this._-Ob();
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            var k:_-3SU = object;
            if (k == null)
            {
                return;
            };
            if (this._-AV == null)
            {
                this._-AV = new AssetLibrary(("furniture cuboid visualization - " + k.getInstanceId()));
            };
            if (_arg1 == null)
            {
                return;
            };
            this.initializePlanes();
            this._-50E(_arg1, _arg2);
        }
        protected function _-50E(_arg1:_-3q6, _arg2:int):void
        {
            var k:Boolean;
            var k:String;
            var k:BitmapDataAsset;
            var k:_-3LP;
            var k:_-59O;
            var k:int;
            var k:BitmapData;
            var k:BitmapData;
            var k:Point;
            var k:_-3SU = object;
            if (k == null)
            {
                return;
            };
            if ((((_arg1 == null)) || ((this._-AV == null))))
            {
                return;
            };
            this._-zr++;
            var k:int = _arg2;
            var k:int;
            while (k < this._-1zq.length)
            {
                k = false;
                k = ((("plane " + k) + " ") + _arg1.scale);
                k = (this._-AV.getAssetByName(k) as BitmapDataAsset);
                if (k == null)
                {
                    k = new BitmapDataAsset(this._-AV.getAssetTypeDeclarationByClass(BitmapDataAsset));
                    this._-AV.setAsset(k, k);
                };
                k = (this._-1zq[k] as _-3LP);
                if (k != null)
                {
                    k = k.getDirection().x;
                    if (((((k / 45) == 2)) || (((k / 45) == 6))))
                    {
                        k._-3wi(true);
                    }
                    else
                    {
                        k._-3wi(false);
                    };
                    if (k.update(_arg1, k))
                    {
                        k = k.bitmapData;
                        k = (k.content as BitmapData);
                        if (k == null)
                        {
                            k = null;
                        }
                        else
                        {
                            if (k != k)
                            {
                                if (k != null)
                                {
                                    k.dispose();
                                };
                                k._-2OI(k);
                            };
                        };
                        k = true;
                    };
                }
                else
                {
                    k = null;
                };
                k = _-2IM(k);
                if (k != null)
                {
                    if (k != null)
                    {
                        k = k.offset;
                        k.offsetX = -(k.x);
                        k.offsetY = -(k.y);
                        k.color = k.color;
                        k.visible = k.visible;
                    }
                    else
                    {
                        k.visible = false;
                    };
                    if (k != null)
                    {
                        k.asset = (k.content as BitmapData);
                    }
                    else
                    {
                        k.asset = null;
                    };
                    if (k)
                    {
                        k.assetName = ((((k + "_") + k.getInstanceId()) + "_") + this._-zr);
                    };
                    k.relativeDepth = k.relativeDepth;
                };
                k++;
            };
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureFireworksVisualization

package _-1qL
{
    import flash.utils.Dictionary;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;

    public class FurnitureFireworksVisualization extends _-0Rp 
    {

        private var break:Dictionary;
        private var _-Tf:FurnitureParticleSystem;

        override public function dispose():void
        {
            var k:FurnitureParticleSystem;
            super.dispose();
            this._-Tf = null;
            if (this.break)
            {
                for each (k in this.break)
                {
                    k.dispose();
                };
                this.break = null;
            };
        }
        override protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            var k:Boolean;
            var k:FurnitureParticleSystem;
            if (super.updateObject(_arg1, _arg2))
            {
                k = false;
                if (!this.break)
                {
                    this._-1SX();
                    this._-Tf = this.break[_arg1];
                    k = true;
                }
                else
                {
                    if (((!((_arg1 == _-3RS))) || (!((this.break[_arg1] == this._-Tf)))))
                    {
                        k = this.break[_arg1];
                        k._-40u(this._-Tf);
                        if (this._-Tf)
                        {
                            this._-Tf.reset();
                        };
                        this._-Tf = k;
                        k = true;
                    };
                };
                return (true);
            };
            return (false);
        }
        override protected function updateSprites(_arg1:int, _arg2:Boolean, _arg3:int):void
        {
            super.updateSprites(_arg1, _arg2, _arg3);
            if (this._-Tf)
            {
                this._-Tf.updateSprites();
            };
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            if (this._-Tf)
            {
                this._-Tf.updateAnimation();
            };
            return (super.updateAnimation(_arg1));
        }
        override protected function setAnimation(_arg1:int):void
        {
            if (this._-Tf)
            {
                this._-Tf.setAnimation(_arg1);
            };
            super.setAnimation(_arg1);
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (((this._-Tf) && (this._-Tf._-3Xx(_arg3))))
            {
                return (this._-Tf.getSpriteYOffset(_arg1, _arg2, _arg3));
            };
            return (super.getSpriteYOffset(_arg1, _arg2, _arg3));
        }
        private function _-1SX():Boolean
        {
            var k:FurnitureParticleSystem;
            var k:int;
            var k:XML;
            var k:_-3SU = object;
            if (k == null)
            {
                return (false);
            };
            var k:_-30N = k.getModel();
            if (k == null)
            {
                return (false);
            };
            var k:String = k.getString(_-4Wq._-4nh);
            if (k.length == 0)
            {
                _-Nb.log("No Particle System Data Found.");
                return (false);
            };
            var k:XML = XML(k);
            this.break = new Dictionary();
            for each (k in k.particlesystem)
            {
                if (!k.hasOwnProperty("@size"))
                {
                    _-Nb.log("Particle System does not have size property!");
                }
                else
                {
                    k = k.@size;
                    k = new FurnitureParticleSystem(this);
                    k._-3B4(k);
                    this.break[k] = k;
                };
            };
            return (true);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureMannequinVisualization

package _-1qL
{
    import flash.utils.Dictionary;
    import _-4Kb._-40f;
    import _-4rn._-H0;
    import _-0se._-24J;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import _-4Kb.*;

    public class FurnitureMannequinVisualization extends FurnitureVisualization implements _-3QA 
    {

        private static const _-3yC:String = "avatar_image";

        private static var _-2dn:Dictionary;
        private static var _-1VY:int;

        private const _-06d:String = "hd-99999-99998";

        private var _-5AE:String;
        private var _-4Cb:String;
        private var _-3Tb:int;
        private var _-t:Boolean = false;
        private var _-bh:String;
        private var _-0qE:_-0qU;
        private var _-4Bk:Boolean = false;

        public function FurnitureMannequinVisualization()
        {
            _-1VY++;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        override public function dispose():void
        {
            var k:_-40f;
            if (!this._-4Bk)
            {
                this._-0qE = null;
                this._-4Bk = true;
                if (((this._-bh) && (_-0-Z)))
                {
                    _-0-Z.disposeAsset(this._-bh);
                    this._-bh = null;
                };
                super.dispose();
                _-1VY--;
                if ((((_-1VY == 0)) && (_-2dn)))
                {
                    for each (k in _-2dn)
                    {
                        k.dispose();
                    };
                    _-2dn = null;
                };
            };
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            this._-0qE = (_arg1 as _-0qU);
            super.initialize(_arg1);
            return (true);
        }
        override protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            var k:Boolean = super.updateObject(_arg1, _arg2);
            if (k)
            {
                if (this._-3Tb != _arg1)
                {
                    this._-3Tb = _arg1;
                    this._-1ee();
                };
            };
            return (k);
        }
        private function _-1ee(_arg1:Boolean=false):void
        {
            var k:_-40f;
            var k:_-40f;
            if (((!(this._-4L7())) || (_arg1)))
            {
                k = this._-0qE._-3M(this._-5AE, this._-3Tb, this._-4Cb, this);
                if (k)
                {
                    if (k.isPlaceholder())
                    {
                        k.dispose();
                        k = this._-3oe(this._-3Tb);
                        k.setDirection(_-24J._-2YU, direction);
                        _-0-Z.addAsset(this._-4O4(), k._-2Xc(_-24J._-2YU, true), true);
                        this._-t = true;
                        return;
                    };
                    k.setDirection(_-24J._-2YU, direction);
                    if (this._-bh)
                    {
                        _-0-Z.disposeAsset(this._-bh);
                    };
                    _-0-Z.addAsset(this._-4O4(), k._-2Xc(_-24J._-2YU, true), true);
                    this._-bh = this._-4O4();
                    this._-t = true;
                    k.dispose();
                };
            };
        }
        private function _-3oe(_arg1:int):_-40f
        {
            if (!_-2dn)
            {
                _-2dn = new Dictionary();
            };
            var k:_-40f = _-2dn[_arg1];
            if (k == null)
            {
                k = this._-0qE._-3M(this._-06d, _arg1, null, null);
                _-2dn[_arg1] = k;
            };
            return (k);
        }
        override protected function updateModel(_arg1:Number):Boolean
        {
            var k:_-3SU;
            var k:_-30N;
            var k:String;
            var k:Boolean = super.updateModel(_arg1);
            if (k)
            {
                k = object;
                if (k != null)
                {
                    k = k.getModel();
                    if (k != null)
                    {
                        k = k.getString(_-4Wq._-8L);
                        if (k)
                        {
                            this._-4Cb = k.getString(_-4Wq._-3tN);
                            this._-5AE = ((k + ".") + this._-06d);
                            this._-1ee();
                        };
                    };
                };
            };
            k = ((k) || (this._-t));
            this._-t = false;
            return (k);
        }
        private function _-4L7():Boolean
        {
            return (((this._-5AE) && (!((getAsset(this._-4O4()) == null)))));
        }
        override protected function getSpriteAssetName(_arg1:int, _arg2:int):String
        {
            var k:String = _-4kG(_arg1, direction, _arg2);
            if (((((!((this._-5AE == null))) && ((k == _-3yC)))) && (this._-4L7())))
            {
                return (this._-4O4());
            };
            return (super.getSpriteAssetName(_arg1, _arg2));
        }
        private function _-4O4():String
        {
            var k:_-3SU = object;
            if (!k)
            {
                return (null);
            };
            return (((((((("mannequin_" + this._-5AE) + "_") + this._-3Tb) + "_") + direction) + "_") + k.getId()));
        }
        public function _-0-V(_arg1:String):void
        {
            if (_arg1 == this._-5AE)
            {
                this._-1ee(true);
            };
        }
        override protected function getSpriteXOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:String = _-4kG(_arg1, _arg2, _arg3);
            if ((((k == _-3yC)) && (this._-4L7())))
            {
                return ((-(_-2IM(_arg3).width) / 2));
            };
            return (super.getSpriteXOffset(_arg1, _arg2, _arg3));
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:String = _-4kG(_arg1, _arg2, _arg3);
            if ((((k == _-3yC)) && (this._-4L7())))
            {
                return (-(_-2IM(_arg3).height));
            };
            return (super.getSpriteYOffset(_arg1, _arg2, _arg3));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureParticleSystem

package _-1qL
{
    import _-18r.Map;
    import flash.display.BitmapData;
    import _-4rn._-59O;
    import flash.geom.ColorTransform;
    import flash.geom.Matrix;
    import flash.geom.Rectangle;
    import _-022._-2G2;
    import flash.geom.Point;
    import flash.display.BlendMode;
    import flash.geom.Vector3D;

    public class FurnitureParticleSystem 
    {

        private var _-1bI:Map;
        private var _visualization:_-0Rp;
        private var _-3vC:int;
        private var _-1ed:int;
        private var _-1Mv:int;
        private var _-3IC:FurnitureParticleSystemEmitter;
        private var _-06f:BitmapData;
        private var _-4JN:_-59O;
        private var _-20c:Boolean = false;
        private var _-07J:int = 0;
        private var _-Fo:int = 0;
        private var _-4MQ:Number = 1;
        private var _-0c7:BitmapData;
        private var _-oo:ColorTransform;
        private var _-1nr:ColorTransform;
        private var _-34n:Matrix;
        private var _-06z:Matrix;
        private var _-4Ay:Number = 1;
        private var _-3RZ:uint = 0xFF000000;

        public function FurnitureParticleSystem(_arg1:_-0Rp)
        {
            this._-1bI = new Map();
            this._visualization = _arg1;
            this._-oo = new ColorTransform();
            this._-oo.alphaMultiplier = 1;
            this._-1nr = new ColorTransform();
            this._-34n = new Matrix();
            this._-06z = new Matrix();
        }
        public function dispose():void
        {
            var k:FurnitureParticleSystemEmitter;
            for each (k in this._-1bI)
            {
                k.dispose();
            };
            this._-1bI = null;
            if (this._-06f)
            {
                this._-06f.dispose();
                this._-06f = null;
            };
            if (this._-0c7)
            {
                this._-0c7.dispose();
                this._-0c7 = null;
            };
            this._-oo = null;
            this._-1nr = null;
            this._-34n = null;
            this._-06z = null;
        }
        public function reset():void
        {
            if (this._-3IC)
            {
                this._-3IC.reset();
            };
            this._-3IC = null;
            this._-20c = false;
            this._-2fk();
        }
        public function setAnimation(_arg1:int):void
        {
            if (this._-3IC)
            {
                this._-3IC.reset();
            };
            this._-3IC = this._-1bI[_arg1];
            this._-20c = false;
            this._-2fk();
        }
        private function _-2fk():void
        {
            if (!this._-3IC)
            {
                return;
            };
            if (this._-1ed >= 0)
            {
                this._-4JN = this._visualization._-2IM(this._-1ed);
                if (((this._-4JN) && (this._-4JN.asset)))
                {
                    if ((((this._-4JN.width <= 1)) || ((this._-4JN.height <= 1))))
                    {
                        return;
                    };
                    if (((this._-06f) && (((!((this._-06f.width == this._-4JN.width))) || (!((this._-06f.height == this._-4JN.height)))))))
                    {
                        this._-06f = null;
                    };
                    if (this._-06f == null)
                    {
                        this._-06f = this._-4JN.asset.clone();
                        if (this._-oo.alphaMultiplier != 1)
                        {
                            this._-0c7 = new BitmapData(this._-06f.width, this._-06f.height, true, this._-3RZ);
                        };
                    };
                    this._-07J = -(this._-4JN.offsetX);
                    this._-Fo = -(this._-4JN.offsetY);
                    this._-4JN.asset = this._-06f;
                };
                if (this._-06f)
                {
                    this._-06f.fillRect(this._-06f.rect, this._-3RZ);
                };
                if (this._-0c7)
                {
                    this._-0c7.fillRect(this._-0c7.rect, this._-3RZ);
                };
            };
        }
        public function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (((this._-3IC) && ((this._-3IC._-2Uz == _arg3))))
            {
                return ((this._-3IC.y * this._-4MQ));
            };
            return (0);
        }
        public function _-3Xx(_arg1:int):Boolean
        {
            if (this._-3IC)
            {
                return ((this._-3IC._-2Uz == _arg1));
            };
            return (false);
        }
        public function updateSprites():void
        {
            if (((!(this._-3IC)) || (!(this._-4JN))))
            {
                return;
            };
            if (((this._-06f) && (!((this._-4JN.asset == this._-06f)))))
            {
                this._-4JN.asset = this._-06f;
                this._-4JN.asset.width;
            };
            if (this._-20c)
            {
                if (this._-3IC._-2Uz >= 0)
                {
                    this._visualization._-2IM(this._-3IC._-2Uz).visible = false;
                };
            };
        }
        public function updateAnimation():void
        {
            var k:int;
            var k:int;
            var k:Rectangle;
            var k:_-2G2;
            var k:BitmapData;
            var k:Point;
            var k:Point;
            var k:FurnitureParticleSystemParticle;
            if (((!(this._-3IC)) || (!(this._-4JN))))
            {
                return;
            };
            var k:Number = 10;
            var k:Number = 0;
            var k:int;
            if (((!(this._-20c)) && (this._-3IC._-1S2)))
            {
                this._-20c = true;
            };
            k = (this._-1Mv * this._-4MQ);
            this._-3IC.update();
            if (this._-20c)
            {
                if (this._-3IC._-2Uz >= 0)
                {
                    this._visualization._-2IM(this._-3IC._-2Uz).visible = false;
                };
                if (!this._-06f)
                {
                    this._-2fk();
                };
                this._-06f.lock();
                if (this._-oo.alphaMultiplier == 1)
                {
                    this._-06f.fillRect(this._-06f.rect, this._-3RZ);
                }
                else
                {
                    this._-06f.draw(this._-0c7, this._-34n, this._-oo, BlendMode.NORMAL, null, false);
                };
                for each (k in this._-3IC.particles)
                {
                    k = k.y;
                    k = (this._-07J + ((((k.x - k.z) * k) / 10) * this._-4MQ));
                    k = ((this._-Fo - k) + ((((k + ((k.x + k.z) / 2)) * k) / 10) * this._-4MQ));
                    k = k.getAsset();
                    if (k)
                    {
                        k = (k.asset.content as BitmapData);
                        if (((k.fade) && ((k.alphaMultiplier < 1))))
                        {
                            this._-06z.identity();
                            this._-06z.translate((k + k.offsetX), (k + k.offsetY));
                            this._-1nr.alphaMultiplier = k.alphaMultiplier;
                            this._-06f.draw(k, this._-06z, this._-1nr, BlendMode.NORMAL, null, false);
                        }
                        else
                        {
                            k = new Point((k + k.offsetX), (k + k.offsetY));
                            this._-06f.copyPixels(k, k.rect, k, null, null, true);
                        };
                    }
                    else
                    {
                        k = new Rectangle((k - 1), (k - 1), 2, 2);
                        this._-06f.fillRect(k, 0xFFFFFFFF);
                    };
                };
                this._-06f.unlock();
            };
        }
        public function _-3B4(_arg1:XML):void
        {
            var k:_-59O;
            var k:XML;
            var k:int;
            var k:String;
            var k:int;
            var k:FurnitureParticleSystemEmitter;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:String;
            var k:Number;
            var k:int;
            var k:Boolean;
            var k:Boolean;
            var k:Array;
            var k:_-2G2;
            var k:XML;
            var k:XML;
            this._-3vC = parseInt(_arg1.@size);
            this._-1ed = ((_arg1.hasOwnProperty("@canvas_id")) ? parseInt(_arg1.@canvas_id) : -1);
            this._-1Mv = ((_arg1.hasOwnProperty("@offset_y")) ? parseInt(_arg1.@offset_y) : 10);
            this._-4MQ = (this._-3vC / 64);
            this._-4Ay = ((_arg1.hasOwnProperty("@blend")) ? Number(_arg1.@blend) : 1);
            this._-4Ay = Math.min(this._-4Ay, 1);
            this._-oo.alphaMultiplier = this._-4Ay;
            var k:String = ((_arg1.hasOwnProperty("@bgcolor")) ? String(_arg1.@bgcolor) : "0");
            this._-3RZ = ((_arg1.hasOwnProperty("@bgcolor")) ? parseInt(k, 16) : 0xFF000000);
            for each (k in _arg1.emitter)
            {
                k = parseInt(k.@id);
                k = k.@name;
                k = parseInt(k.@sprite_id);
                k = new FurnitureParticleSystemEmitter(k, k);
                this._-1bI[k] = k;
                k = parseInt(k.@max_num_particles);
                k = parseInt(k.@particles_per_frame);
                k = ((k.hasOwnProperty("@burst_pulse")) ? parseInt(k.@burst_pulse) : 1);
                k = parseInt(k.@fuse_time);
                k = Number(k.simulation.@force);
                k = Number(k.simulation.@direction);
                k = Number(k.simulation.@gravity);
                k = Number(k.simulation.@airfriction);
                k = k.simulation.@shape;
                k = Number(k.simulation.@energy);
                for each (k in k.particles.particle)
                {
                    k = parseInt(k.@lifetime);
                    k = (((k.@is_emitter)=="false") ? false : true);
                    k = ((((k.hasOwnProperty("@fade")) && ((k.@fade == "true")))) ? true : false);
                    k = [];
                    for each (k in k.frame)
                    {
                        k = this._visualization._-0-Z.getAsset(k.@name);
                        k.push(k);
                    };
                    k._-0x3(k, k, k, k);
                };
                k.setup(k, k, k, new Vector3D(0, k, 0), k, k, k, k, k, k);
            };
        }
        public function _-40u(_arg1:FurnitureParticleSystem):void
        {
            var k:int;
            if (((_arg1._-1bI) && (_arg1._-3IC)))
            {
                k = _arg1._-1bI.getKey(_arg1._-1bI._-0hn().indexOf(_arg1._-3IC));
            };
            this.setAnimation(k);
            if (this._-3IC)
            {
                this._-3IC._-40u(_arg1._-3IC, (Number(_arg1._-3vC) / Number(this._-3vC)));
            };
            this._-06f = null;
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureParticleSystemEmitter

package _-1qL
{
    import flash.geom.Vector3D;
    import flash.utils.Dictionary;

    public class FurnitureParticleSystemEmitter extends FurnitureParticleSystemParticle 
    {

        public static const _-1UH:String = "cone";
        public static const _-3A1:String = "plane";
        public static const _-3OI:String = "sphere";

        private var _name:String;
        private var _-1Z-:int = -1;
        private var _-3Ap:Number;
        private var _-3r2:Vector3D;
        private var _-1ce:Number = 0.1;
        private var _-0sj:Number;
        private var _-2xE:Number;
        private var _-00T:String;
        private var _-4ce:Array;
        private var _-3Fk:Array;
        private var _-1vC:int;
        private var _-3QU:int;
        private var _-4YA:int;
        private var _-51G:int = 10;
        private var _-30x:Number = 1;
        private var _-20c:Boolean = false;
        private var _-17Q:int = 1;

        public function FurnitureParticleSystemEmitter(_arg1:String="", _arg2:int=-1)
        {
            this._-3Fk = [];
            super();
            this._name = _arg1;
            this._-1Z- = _arg2;
            this._-4ce = [];
        }
        override public function dispose():void
        {
            var k:FurnitureParticleSystemParticle;
            for each (k in this._-3Fk)
            {
                k.dispose();
            };
            this._-3Fk = null;
            this._-3r2 = null;
            this._-4ce = null;
            super.dispose();
        }
        public function setup(_arg1:int, _arg2:int, _arg3:Number, _arg4:Vector3D, _arg5:Number, _arg6:Number, _arg7:String, _arg8:Number, _arg9:int, _arg10:int):void
        {
            this._-1vC = _arg1;
            this._-3QU = _arg2;
            this._-3Ap = _arg3;
            this._-3r2 = _arg4;
            this._-3r2.normalize();
            this._-0sj = _arg5;
            this._-2xE = _arg6;
            this._-00T = _arg7;
            this._-51G = _arg9;
            this._-30x = _arg8;
            this._-17Q = _arg10;
            this.reset();
        }
        public function reset():void
        {
            var k:FurnitureParticleSystemParticle;
            for each (k in this._-3Fk)
            {
                k.dispose();
            };
            this._-3Fk = [];
            this._-4YA = 0;
            this._-20c = false;
            this.init(0, 0, 0, this._-3r2, this._-3Ap, this._-1ce, this._-51G, true);
        }
        public function _-40u(_arg1:FurnitureParticleSystemEmitter, _arg2:Number):void
        {
            super.copy(_arg1, _arg2);
            this._-3Ap = _arg1._-3Ap;
            this._-3r2 = _arg1._-3r2;
            this._-0sj = _arg1._-0sj;
            this._-2xE = _arg1._-2xE;
            this._-00T = _arg1._-00T;
            this._-51G = _arg1._-51G;
            this._-30x = _arg1._-30x;
            this._-17Q = _arg1._-17Q;
            this._-1ce = _arg1._-1ce;
            this._-20c = _arg1._-20c;
        }
        public function _-0x3(_arg1:int, _arg2:Boolean, _arg3:Array, _arg4:Boolean):void
        {
            var k:Dictionary = new Dictionary();
            k["lifeTime"] = _arg1;
            k["isEmitter"] = _arg2;
            k["frames"] = _arg3;
            k["fade"] = _arg4;
            this._-4ce.push(k);
        }
        override protected function ignite():void
        {
            this._-20c = true;
            if ((this._-4YA < this._-1vC))
            {
                if (this.age > 1)
                {
                    this._-2mc(this, this.direction);
                };
            };
        }
        private function _-2mc(_arg1:FurnitureParticleSystemParticle, _arg2:Vector3D=null):void
        {
            var k:FurnitureParticleSystemParticle;
            var k:Dictionary;
            var k:int;
            var k:Array;
            if (!_arg2)
            {
                k = new Vector3D();
            };
            var k:Vector3D = new Vector3D();
            var k:Boolean;
            var k:Boolean;
            k = this._-2EJ();
            var k:int;
            while (k < this._-3QU)
            {
                switch (this._-00T)
                {
                    case _-1UH:
                        k.x = ((this._-0HI(0.5)) ? Math.random() : -(Math.random()));
                        k.y = -((Math.random() + 1));
                        k.z = ((this._-0HI(0.5)) ? Math.random() : -(Math.random()));
                        break;
                    case _-3A1:
                        k.x = ((this._-0HI(0.5)) ? Math.random() : -(Math.random()));
                        k.y = 0;
                        k.z = ((this._-0HI(0.5)) ? Math.random() : -(Math.random()));
                        break;
                    case _-3OI:
                        k.x = ((this._-0HI(0.5)) ? Math.random() : -(Math.random()));
                        k.y = ((this._-0HI(0.5)) ? Math.random() : -(Math.random()));
                        k.z = ((this._-0HI(0.5)) ? Math.random() : -(Math.random()));
                        break;
                };
                k.normalize();
                k = new FurnitureParticleSystemParticle();
                if (k)
                {
                    k = Math.floor(((Math.random() * k["lifeTime"]) + 10));
                    k = k["isEmitter"];
                    k = k["frames"];
                    k = k["fade"];
                }
                else
                {
                    k = Math.floor(((Math.random() * 20) + 10));
                    k = false;
                    k = [];
                };
                k.init(_arg1.x, _arg1.y, _arg1.z, k, this._-30x, this._-1ce, k, k, k, k);
                this._-3Fk.push(k);
                this._-4YA++;
                k++;
            };
        }
        private function _-2EJ():Dictionary
        {
            var k:int = Math.floor((Math.random() * this._-4ce.length));
            return (this._-4ce[k]);
        }
        override public function update():void
        {
            super.update();
            this._-4s-();
            this._-fH();
            this._-0h7();
            if (((!(_-3UB)) && ((this._-4YA < this._-1vC))))
            {
                if ((this.age % this._-17Q) == 0)
                {
                    this._-2mc(this, this.direction);
                };
            };
        }
        public function _-fH():void
        {
            var k:FurnitureParticleSystemParticle;
            var k:Number;
            var k:Number;
            var k:Number;
            if (((_-3UB) || ((this._-4YA < this._-1vC))))
            {
                k = this.x;
                k = this.y;
                k = this.z;
                this.x = (((2 - this._-2xE) * this.x) - ((1 - this._-2xE) * this._-4ZG));
                this.y = ((((2 - this._-2xE) * this.y) - ((1 - this._-2xE) * this._-KG)) + ((this._-0sj * this._-1ce) * this._-1ce));
                this.z = (((2 - this._-2xE) * this.z) - ((1 - this._-2xE) * this._-J5));
                this._-4ZG = k;
                this._-KG = k;
                this._-J5 = k;
            };
            var k:Array = [];
            for each (k in this._-3Fk)
            {
                k.update();
                k = k.x;
                k = k.y;
                k = k.z;
                k.x = (((2 - this._-2xE) * k.x) - ((1 - this._-2xE) * k._-4ZG));
                k.y = ((((2 - this._-2xE) * k.y) - ((1 - this._-2xE) * k._-KG)) + ((this._-0sj * this._-1ce) * this._-1ce));
                k.z = (((2 - this._-2xE) * k.z) - ((1 - this._-2xE) * k._-J5));
                k._-4ZG = k;
                k._-KG = k;
                k._-J5 = k;
                if ((((k.y > 10)) || (!(k._-3UB))))
                {
                    k.push(k);
                };
            };
            for each (k in k)
            {
                if (k.isEmitter)
                {
                };
                this._-3Fk.splice(this._-3Fk.indexOf(k), 1);
                k.dispose();
            };
        }
        private function _-0h7():void
        {
        }
        private function _-4s-():void
        {
            var k:FurnitureParticleSystemParticle;
            for each (k in this._-3Fk)
            {
            };
        }
        public function get particles():Array
        {
            return (this._-3Fk);
        }
        public function get _-1S2():Boolean
        {
            return (this._-20c);
        }
        private function _-0HI(_arg1:Number):Boolean
        {
            return ((Math.random() < _arg1));
        }
        public function get _-2Uz():int
        {
            return (this._-1Z-);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureParticleSystemParticle

package _-1qL
{
    import flash.geom.Vector3D;
    import _-022._-2G2;

    public class FurnitureParticleSystemParticle 
    {

        private var _-2dX:Number;
        private var _-4TA:Number;
        private var _-0l1:Number;
        private var _-1dh:Number;
        private var _-1MN:Number;
        private var _-AO:Number;
        private var _-k1:Boolean = false;
        private var _-3r2:Vector3D;
        private var _-4tD:int = 0;
        private var _-30n:int;
        private var _-57q:Boolean = false;
        private var _-4sY:Boolean = false;
        private var _-3cB:Number;
        private var _-4GT:Number = 1;
        private var _-0eh:Array;

        public function get fade():Boolean
        {
            return (this._-4sY);
        }
        public function get alphaMultiplier():Number
        {
            return (this._-4GT);
        }
        public function get direction():Vector3D
        {
            return (this._-3r2);
        }
        public function get age():int
        {
            return (this._-4tD);
        }
        public function init(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Vector3D, _arg5:Number, _arg6:Number, _arg7:int, _arg8:Boolean=false, _arg9:Array=null, _arg10:Boolean=false):void
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
            this._-0l1 = _arg3;
            this._-3r2 = new Vector3D(_arg4.x, _arg4.y, _arg4.z);
            this._-3r2.scaleBy(_arg5);
            this._-1dh = (this._-2dX - (this._-3r2.x * _arg6));
            this._-1MN = (this._-4TA - (this._-3r2.y * _arg6));
            this._-AO = (this._-0l1 - (this._-3r2.z * _arg6));
            this._-4tD = 0;
            this._-k1 = false;
            this._-30n = _arg7;
            this._-57q = _arg8;
            this._-0eh = _arg9;
            this._-4sY = _arg10;
            this._-4GT = 1;
            this._-3cB = (0.5 + (Math.random() * 0.5));
        }
        public function update():void
        {
            this._-4tD++;
            if (this._-4tD == this._-30n)
            {
                this.ignite();
            };
            if (this._-4sY)
            {
                if ((this._-4tD / this._-30n) > this._-3cB)
                {
                    this._-4GT = ((this._-30n - this._-4tD) / (this._-30n * (1 - this._-3cB)));
                };
            };
        }
        public function getAsset():_-2G2
        {
            if (((this._-0eh) && ((this._-0eh.length > 0))))
            {
                return (this._-0eh[(this._-4tD % this._-0eh.length)]);
            };
            return (null);
        }
        protected function ignite():void
        {
        }
        public function get isEmitter():Boolean
        {
            return (this._-57q);
        }
        public function get _-3UB():Boolean
        {
            return ((this._-4tD <= this._-30n));
        }
        public function dispose():void
        {
            this._-3r2 = null;
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function set x(_arg1:Number):void
        {
            this._-2dX = _arg1;
        }
        public function set y(_arg1:Number):void
        {
            this._-4TA = _arg1;
        }
        public function set z(_arg1:Number):void
        {
            this._-0l1 = _arg1;
        }
        public function get _-4ZG():Number
        {
            return (this._-1dh);
        }
        public function set _-4ZG(_arg1:Number):void
        {
            this._-k1 = true;
            this._-1dh = _arg1;
        }
        public function get _-KG():Number
        {
            return (this._-1MN);
        }
        public function set _-KG(_arg1:Number):void
        {
            this._-k1 = true;
            this._-1MN = _arg1;
        }
        public function get _-J5():Number
        {
            return (this._-AO);
        }
        public function set _-J5(_arg1:Number):void
        {
            this._-k1 = true;
            this._-AO = _arg1;
        }
        public function get _-BZ():Boolean
        {
            return (this._-k1);
        }
        public function toString():String
        {
            return ([this._-2dX, this._-4TA, this._-0l1].toString());
        }
        public function copy(_arg1:FurnitureParticleSystemParticle, _arg2:Number):void
        {
            this._-2dX = (_arg1._-2dX * _arg2);
            this._-4TA = (_arg1._-4TA * _arg2);
            this._-0l1 = (_arg1._-0l1 * _arg2);
            this._-1dh = (_arg1._-1dh * _arg2);
            this._-1MN = (_arg1._-1MN * _arg2);
            this._-AO = (_arg1._-AO * _arg2);
            this._-k1 = _arg1._-BZ;
            this._-3r2 = _arg1._-3r2;
            this._-4tD = _arg1._-4tD;
            this._-30n = _arg1._-30n;
            this._-57q = _arg1._-57q;
            this._-4sY = _arg1._-4sY;
            this._-3cB = _arg1._-3cB;
            this._-4GT = _arg1._-4GT;
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurniturePartyBeamerVisualization

package _-1qL
{
    import _-4rn._-59O;
    import flash.geom.Point;

    public class FurniturePartyBeamerVisualization extends _-0Rp 
    {

        private static const _-37v:int = 2;
        private static const _-4vU:int = 15;
        private static const _-1OG:int = 31;
        private static const _-3KA:int = 2;
        private static const _-4WR:int = 1;

        private var _-QN:Array;
        private var _-4EO:Array;
        private var _-2Fd:Array;
        private var _-2pW:Array;
        private var _-3UJ:Array;

        public function FurniturePartyBeamerVisualization()
        {
            this._-3UJ = new Array();
            super();
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            var k:_-59O;
            var k:Point;
            if (this._-2Fd == null)
            {
                this._-0XI(_arg1);
            };
            k = _-2IM(2);
            if (k != null)
            {
                this._-3UJ[0] = this._-21n(_arg1, 0);
            };
            k = _-2IM(3);
            if (k != null)
            {
                this._-3UJ[1] = this._-21n(_arg1, 1);
            };
            return (super.updateAnimation(_arg1));
        }
        override protected function getSpriteXOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            if ((((_arg3 == 2)) || ((_arg3 == 3))))
            {
                if (this._-3UJ.length == 2)
                {
                    return (this._-3UJ[(_arg3 - 2)].x);
                };
            };
            return (super.getSpriteXOffset(_arg1, _arg2, _arg3));
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            if ((((_arg3 == 2)) || ((_arg3 == 3))))
            {
                if (this._-3UJ.length == 2)
                {
                    return (this._-3UJ[(_arg3 - 2)].y);
                };
            };
            return (super.getSpriteYOffset(_arg1, _arg2, _arg3));
        }
        private function _-21n(_arg1:Number, _arg2:int):Point
        {
            var k:int;
            var k:Number = this._-QN[_arg2];
            var k:int = this._-4EO[_arg2];
            var k:int = this._-2Fd[_arg2];
            var k:Number = this._-2pW[_arg2];
            var k:Number = 1;
            if (_arg1 == 32)
            {
                k = _-4vU;
                k = 0.5;
            }
            else
            {
                k = _-1OG;
            };
            var k:Number = (k + (k * k));
            if (Math.abs(k) >= k)
            {
                if (k > 0)
                {
                    k = (k - (k - k));
                }
                else
                {
                    k = (k + (-(k) - k));
                };
                k = -(k);
                this._-4EO[_arg2] = k;
            };
            var k:Number = ((k - Math.abs(k)) * k);
            var k:Number = ((k * Math.sin(Math.abs((k / 4)))) * k);
            if (k > 0)
            {
                k = (k - k);
            }
            else
            {
                k = (k + k);
            };
            k = (k + ((k * k) * k));
            this._-QN[_arg2] = k;
            if (int(k) == 0)
            {
                this._-2pW[_arg2] = this._-2pe();
            };
            return (new Point(k, k));
        }
        private function _-0XI(_arg1:Number):void
        {
            var k:int;
            if (_arg1 == 32)
            {
                k = _-4vU;
            }
            else
            {
                k = _-1OG;
            };
            this._-QN = new Array();
            this._-QN.push(((Math.random() * k) * 1.5));
            this._-QN.push(((Math.random() * k) * 1.5));
            this._-4EO = new Array();
            this._-4EO.push(1);
            this._-4EO.push(-1);
            this._-2Fd = new Array();
            this._-2Fd.push(_-3KA);
            this._-2Fd.push(_-4WR);
            this._-2pW = new Array();
            this._-2pW.push(this._-2pe());
            this._-2pW.push(this._-2pe());
        }
        private function _-2pe():Number
        {
            return ((((Math.random() * 30) / 100) + 0.15));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurniturePlanetSystemVisualization

package _-1qL
{
    import _-0y0._-Xl;
    import _-4rn._-59O;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;

    public class FurniturePlanetSystemVisualization extends _-0Rp 
    {

        private var _-1Tl:Array;
        private var _-3Le:Array;
        private var _-2M8:Array;
        private var _-06k:_-Xl;

        public function FurniturePlanetSystemVisualization()
        {
            this._-2M8 = new Array();
            this._-06k = new _-Xl(0, 0, 0);
            super();
        }
        override public function dispose():void
        {
            var k:FurniturePlanetSystemVisualizationPlanetObject;
            if (this._-1Tl != null)
            {
                while (this._-1Tl.length > 0)
                {
                    k = this._-1Tl.shift();
                    k.dispose();
                };
            };
            this._-1Tl = null;
            this._-3Le = null;
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            var k:FurniturePlanetSystemVisualizationPlanetObject;
            var k:int;
            if ((((this._-1Tl == null)) && ((_-18O > 0))))
            {
                if (!this._-1SX())
                {
                    return (0);
                };
            };
            if (this._-1Tl != null)
            {
                k = 0;
                while (k < this._-1Tl.length)
                {
                    k = this._-1Tl[k];
                    k.update(this._-2M8, this._-06k, _arg1);
                    k++;
                };
                return (super.updateAnimation(_arg1));
            };
            return (0);
        }
        override protected function getSpriteXOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (_arg3 < this._-2M8.length)
            {
                return (this._-2M8[_arg3].x);
            };
            return (super.getSpriteXOffset(_arg1, _arg2, _arg3));
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (_arg3 < this._-2M8.length)
            {
                return (this._-2M8[_arg3].y);
            };
            return (super.getSpriteYOffset(_arg1, _arg2, _arg3));
        }
        override protected function getSpriteZOffset(_arg1:int, _arg2:int, _arg3:int):Number
        {
            if (_arg3 < this._-2M8.length)
            {
                return (this._-2M8[_arg3].z);
            };
            return (super.getSpriteZOffset(_arg1, _arg2, _arg3));
        }
        private function _-1SX():Boolean
        {
            var k:_-59O;
            var k:XML;
            var k:_-3SU = object;
            if (k == null)
            {
                return (false);
            };
            var k:_-30N = k.getModel();
            if (k == null)
            {
                return (false);
            };
            var k:String = k.getString(_-4Wq._-4m1);
            var k:XMLList = XMLList(k);
            var k:XMLList = k.children();
            var k:int = k.length();
            this._-1Tl = new Array();
            this._-3Le = new Array();
            var k:int;
            while (k < k)
            {
                k = k[k];
                k = _-2IM(k);
                if (k != null)
                {
                    this._-HS(k.@name, k, k.@parent, Number(k.@radius), Number(k.@arcspeed), Number(k.@arcoffset), Number(k.@height));
                };
                k++;
            };
            return (true);
        }
        private function _-HS(_arg1:String, _arg2:int, _arg3:String, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):void
        {
            var k:FurniturePlanetSystemVisualizationPlanetObject;
            if (this._-1Tl == null)
            {
                return;
            };
            var k:FurniturePlanetSystemVisualizationPlanetObject = new FurniturePlanetSystemVisualizationPlanetObject(_arg1, _arg2, _arg4, _arg5, _arg6, _arg7);
            k = this._-50b(_arg3);
            if (k != null)
            {
                k.addChild(k);
            }
            else
            {
                this._-1Tl.push(k);
                this._-3Le.push(_arg1);
            };
        }
        private function _-50b(_arg1:String):FurniturePlanetSystemVisualizationPlanetObject
        {
            var k:FurniturePlanetSystemVisualizationPlanetObject;
            var k:int;
            while (k < this._-1Tl.length)
            {
                k = this._-1Tl[k];
                if (k.name == _arg1)
                {
                    return (k);
                };
                if (k._-4Pv(_arg1))
                {
                    return (k._-1d4(_arg1));
                };
                k++;
            };
            return (null);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurniturePlanetSystemVisualizationPlanetObject

package _-1qL
{
    import _-0y0._-Xl;

    public class FurniturePlanetSystemVisualizationPlanetObject 
    {

        private static const _-zG:Number = 30;

        private var _index:int;
        private var _name:String;
        private var _-3Na:Number;
        private var _-he:Number;
        private var _-4zt:Number;
        private var _height:Number;
        private var _-oi:Number;
        private var _-0fj:_-Xl;
        private var _-16P:Array;

        public function FurniturePlanetSystemVisualizationPlanetObject(_arg1:String, _arg2:int, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number)
        {
            this._-0fj = new _-Xl(0, 0, 0);
            this._-16P = new Array();
            super();
            this._name = _arg1;
            this._index = _arg2;
            this._-3Na = _arg3;
            this._-he = (((_arg4 * Math.PI) * 2) / 360);
            this._-4zt = (((_arg5 * Math.PI) * 2) / 360);
            this._height = _arg6;
            this._-oi = 0;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function dispose():void
        {
            var k:FurniturePlanetSystemVisualizationPlanetObject;
            while (this._-16P.length > 0)
            {
                k = this._-16P.shift();
                if (k != null)
                {
                    k.dispose();
                };
            };
        }
        public function update(_arg1:Array, _arg2:_-Xl, _arg3:Number):void
        {
            var k:FurniturePlanetSystemVisualizationPlanetObject;
            this._-oi = (this._-oi + (this._-he / _-zG));
            _arg1[this._index] = this._-2c-(_arg2, _arg3);
            var k:int;
            while (k < this._-16P.length)
            {
                k = this._-16P[k];
                k.update(_arg1, this._-0fj, _arg3);
                k++;
            };
        }
        public function _-2c-(_arg1:_-Xl, _arg2:Number):_-Xl
        {
            var k:Number = (this._-3Na * Math.cos((this._-oi + this._-4zt)));
            var k:Number = (this._-3Na * Math.sin((this._-oi + this._-4zt)));
            var k:Number = this._height;
            this._-0fj.x = ((k - k) * (_arg2 / 2));
            this._-0fj.y = ((((k + k) * (_arg2 / 2)) * 0.5) - (this._height * (_arg2 / 2)));
            this._-0fj.z = -(int(((4 * (k + k)) - 0.7)));
            if (_arg1 != null)
            {
                this._-0fj.add(_arg1);
            };
            return (this._-0fj);
        }
        public function addChild(_arg1:FurniturePlanetSystemVisualizationPlanetObject):void
        {
            if (this._-16P.indexOf(_arg1) < 0)
            {
                this._-16P.push(_arg1);
            };
        }
        public function _-4Pv(_arg1:String):Boolean
        {
            var k:FurniturePlanetSystemVisualizationPlanetObject;
            var k:int;
            while (k < this._-16P.length)
            {
                k = this._-16P[k];
                if (k.name == _arg1)
                {
                    return (true);
                };
                if (k._-4Pv(_arg1))
                {
                    return (true);
                };
                k++;
            };
            return (false);
        }
        public function _-1d4(_arg1:String):FurniturePlanetSystemVisualizationPlanetObject
        {
            var k:FurniturePlanetSystemVisualizationPlanetObject;
            var k:int;
            while (k < this._-16P.length)
            {
                k = this._-16P[k];
                if (k.name == _arg1)
                {
                    return (k);
                };
                if (k._-4Pv(_arg1))
                {
                    return (k._-1d4(_arg1));
                };
                k++;
            };
            return (null);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureRoomBackgroundVisualization

package _-1qL
{
    import flash.utils.Dictionary;
    import _-3V-._-30N;
    import flash.display.BitmapData;
    import _-0ah.DirectionalOffsetData;
    import _-0y0._-2QE;

    public class FurnitureRoomBackgroundVisualization extends _-12C 
    {

        private var _-2j0:Dictionary;

        override public function dispose():void
        {
            super.dispose();
            this._-2j0 = null;
        }
        override protected function getAdClickUrl(_arg1:_-30N):String
        {
            return (null);
        }
        override protected function imageReady(_arg1:BitmapData, _arg2:String):void
        {
            var k:int;
            var k:int;
            var k:int;
            super.imageReady(_arg1, _arg2);
            if (_arg1 != null)
            {
                this._-2j0 = new Dictionary();
                k = 64;
                k = _arg1.width;
                k = _arg1.height;
                this._-1N9(k, k, k);
                k = 32;
                k = (k / 2);
                k = (k / 2);
                this._-1N9(k, k, k);
            };
        }
        private function _-1N9(_arg1:int, _arg2:int, _arg3:int):void
        {
            var k:int = _-1jp(_arg1);
            var k:DirectionalOffsetData = new DirectionalOffsetData();
            k._-3GZ(1, 0, -(_arg2));
            k._-3GZ(3, 0, 0);
            k._-3GZ(5, -(_arg3), 0);
            k._-3GZ(7, -(_arg3), -(_arg2));
            k._-3GZ(4, (-(_arg3) / 2), (-(_arg2) / 2));
            this._-2j0[k] = k;
        }
        override protected function getSpriteXOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:int;
            var k:DirectionalOffsetData;
            if (this._-2j0 != null)
            {
                k = _-1jp(_arg1);
                k = this._-2j0[k];
                if (k != null)
                {
                    return ((k._-0aG(_arg2, 0) + this._-1tV(_-u8, _arg1)));
                };
            };
            return ((super.getSpriteXOffset(_arg1, _arg2, _arg3) + this._-1tV(_-u8, _arg1)));
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:int;
            var k:DirectionalOffsetData;
            if (this._-2j0 != null)
            {
                k = _-1jp(_arg1);
                k = this._-2j0[k];
                if (k != null)
                {
                    return ((k._-2jB(_arg2, 0) + this._-1tV(_-2vQ, _arg1)));
                };
            };
            return ((super.getSpriteYOffset(_arg1, _arg2, _arg3) + this._-1tV(_-2vQ, _arg1)));
        }
        override protected function getSpriteZOffset(_arg1:int, _arg2:int, _arg3:int):Number
        {
            return ((super.getSpriteZOffset(_arg1, _arg2, _arg3) + (_-6x * -1)));
        }
        override protected function getSpriteMouseCapture(_arg1:int, _arg2:int, _arg3:int):Boolean
        {
            var k:Boolean;
            return (k);
        }
        private function _-1tV(_arg1:int, _arg2:int):Number
        {
            return (((_arg1 * _arg2) / _-2QE._-4U2));
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureVisualization

package _-1qL
{
    import _-4rn.RoomObjectSpriteVisualization;
    import _-4rn._-H0;
    import _-0y0._-3q6;
    import _-022._-2G2;
    import _-4rn._-59O;
    import flash.display.BitmapData;
    import _-3D7._-2fB;
    import flash.display.BlendMode;
    import _-0ah._-0Pn;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import _-0ah.ColorData;

    public class FurnitureVisualization extends RoomObjectSpriteVisualization 
    {

        protected static const _-43:Number = Math.sqrt(0.5);

        private var _-3r2:int;
        private var _-qJ:Number = NaN;
        private var _-42Z:int = -1;
        protected var _-4GT:Number = 1;
        private var _-03A:String = null;
        private var _-4bh:Boolean = false;
        private var _-0qE:FurnitureVisualizationData = null;
        private var _-5K:String = "";
        private var _-09v:Array;
        private var _-KZ:Array;
        private var _-0vr:Number = 0;
        private var _-3OF:int = -1;
        private var _-078:int = -1;
        private var _-4a0:Array;
        private var _-1eh:Array;
        private var _-11n:Array;
        private var _-1yV:Array;
        private var _-5E6:Array;
        private var static:Array;
        private var _-0zh:Array;
        private var _-4X8:Array;
        protected var _-2ji:Boolean = true;
        private var _-0Am:int = 0;
        private var _-2qq:int = -1;
        private var _-4R0:int = 0;
        private var _-Bk:Number = 0;

        public function FurnitureVisualization()
        {
            this._-09v = [];
            this._-KZ = [];
            this._-4a0 = [];
            this._-1eh = [];
            this._-11n = [];
            this._-1yV = [];
            this._-5E6 = [];
            this.static = [];
            this._-0zh = [];
            this._-4X8 = [];
            super();
            this.reset();
        }
        protected function set direction(_arg1:int):void
        {
            this._-3r2 = _arg1;
        }
        protected function get direction():int
        {
            return (this._-3r2);
        }
        protected function get type():String
        {
            return (this._-5K);
        }
        override public function dispose():void
        {
            super.dispose();
            this._-0qE = null;
            this._-09v = null;
            this._-KZ = null;
            this._-4a0 = null;
            this._-1eh = null;
            this._-11n = null;
            this._-1yV = null;
            this._-5E6 = null;
            this.static = null;
            this._-0zh = null;
            this._-4X8 = null;
        }
        override protected function reset():void
        {
            super.reset();
            this.direction = -1;
            this._-0qE = null;
            this._-09v = [];
            this._-KZ = [];
            this._-4a0 = [];
            this._-1eh = [];
            this._-11n = [];
            this._-1yV = [];
            this._-5E6 = [];
            this.static = [];
            this._-0zh = [];
            this._-4X8 = [];
            this._-2Dm(0);
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            this.reset();
            if ((((_arg1 == null)) || (!((_arg1 is FurnitureVisualizationData)))))
            {
                return (false);
            };
            this._-0qE = (_arg1 as FurnitureVisualizationData);
            this._-5K = this._-0qE.getType();
            return (true);
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:Boolean;
            var k:Number = _arg1.scale;
            if (this.updateObject(k, _arg1.direction.x))
            {
                k = true;
            };
            if (this.updateModel(k))
            {
                k = true;
            };
            var k:int;
            if (_arg4)
            {
                this._-4R0 = (this._-4R0 | this.updateAnimation(k));
            }
            else
            {
                k = (this.updateAnimation(k) | this._-4R0);
                this._-4R0 = 0;
            };
            if (((k) || (!((k == 0)))))
            {
                this.updateSprites(k, k, k);
                _-3RS = k;
                _-3qW();
            };
        }
        protected function updateSprites(_arg1:int, _arg2:Boolean, _arg3:int):void
        {
            var k:int;
            var _local5:int;
            if (this._-0Am != _-18O)
            {
                _-2Dm(this._-0Am);
            };
            if (_arg2)
            {
                k = (_-18O - 1);
                while (k >= 0)
                {
                    this._-07q(_arg1, k);
                    k--;
                };
            }
            else
            {
                _local5 = 0;
                while (_arg3 > 0)
                {
                    if ((_arg3 & 1))
                    {
                        this._-07q(_arg1, _local5);
                    };
                    _local5++;
                    k = (_arg3 >> 1);
                };
            };
            this._-2ji = false;
        }
        private function _-07q(_arg1:int, _arg2:int):void
        {
            var k:_-2G2;
            var k:Number;
            var _local7:int;
            var k:String = this.getSpriteAssetName(_arg1, _arg2);
            var k:_-59O = _-2IM(_arg2);
            if (((!((k == null))) && (!((k == null)))))
            {
                k = this.getAsset(k, _arg2);
                if (((!((k == null))) && (!((k.asset == null)))))
                {
                    k.visible = true;
                    k.asset = (k.asset.content as BitmapData);
                    k.flipH = k.flipH;
                    k.flipV = k.flipV;
                    k = 0;
                    if (_arg2 != this._-2qq)
                    {
                        k.tag = this._-4kG(_arg1, this._-3r2, _arg2);
                        k.alpha = this.getSpriteAlpha(_arg1, this._-3r2, _arg2);
                        k.color = this.getSpriteColor(_arg1, _arg2, this._-42Z);
                        k.offsetX = (k.offsetX + this.getSpriteXOffset(_arg1, this._-3r2, _arg2));
                        k.offsetY = (k.offsetY + this.getSpriteYOffset(_arg1, this._-3r2, _arg2));
                        k._-4l2 = ((this.getSpriteMouseCapture(_arg1, this._-3r2, _arg2)) ? _-2fB._-85 : _-2fB._-3D2);
                        k.blendMode = this._-0vW(this._-1oj(_arg1, this._-3r2, _arg2));
                        k = this.getSpriteZOffset(_arg1, this._-3r2, _arg2);
                        k = (k - (_arg2 * 0.001));
                    }
                    else
                    {
                        k.offsetX = k.offsetX;
                        k.offsetY = (k.offsetY + this.getSpriteYOffset(_arg1, this._-3r2, _arg2));
                        _local7 = 48;
                        _local7 = (_local7 * this._-4GT);
                        k.alpha = _local7;
                        k._-4l2 = _-2fB._-3D2;
                        k = 1;
                    };
                    k = (k * _-43);
                    k.relativeDepth = k;
                    k.assetName = k.assetName;
                    k._-0Yj = this._-4bh;
                }
                else
                {
                    this._-3lE(k);
                };
            }
            else
            {
                if (k != null)
                {
                    this._-3lE(k);
                };
            };
        }
        private function _-3lE(_arg1:_-59O):void
        {
            _arg1.asset = null;
            _arg1.assetName = "";
            _arg1.tag = "";
            _arg1.flipH = false;
            _arg1.flipV = false;
            _arg1.offsetX = 0;
            _arg1.offsetY = 0;
            _arg1.relativeDepth = 0;
            _arg1._-0Yj = false;
        }
        protected function _-0vW(_arg1:int):String
        {
            var k:String = BlendMode.NORMAL;
            switch (_arg1)
            {
                case _-0Pn._-0EF:
                    break;
                case _-0Pn._-2Pk:
                    k = BlendMode.ADD;
                    break;
                case _-0Pn._-2on:
                    k = BlendMode.DARKEN;
                    break;
                case _-0Pn._-4Ni:
                    k = BlendMode.SUBTRACT;
                    break;
            };
            return (k);
        }
        protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            var k:Number;
            var k:int;
            var k:_-3SU = object;
            if (k == null)
            {
                return (false);
            };
            if (((((!((_-0Tt == k._-1Pk()))) || (!((_arg1 == _-3RS))))) || (!((_arg2 == this._-qJ)))))
            {
                k = (k.getDirection().x - (_arg2 + 135));
                k = (((k % 360) + 360) % 360);
                if (this._-0qE != null)
                {
                    k = this._-0qE._-28H(_arg1, k);
                    this.direction = k;
                };
                _-0Tt = k._-1Pk();
                this._-qJ = _arg2;
                _-3RS = _arg1;
                this._-4hU(_arg1, this._-3r2);
                return (true);
            };
            return (false);
        }
        protected function updateModel(_arg1:Number):Boolean
        {
            var k:Number;
            var k:_-3SU = object;
            if (k == null)
            {
                return (false);
            };
            var k:_-30N = k.getModel();
            if (k == null)
            {
                return (false);
            };
            if (_-1WO != k._-1Pk())
            {
                this._-42Z = k.getNumber(_-4Wq._-44K);
                k = k.getNumber(_-4Wq._-50W);
                if (isNaN(k))
                {
                    k = 1;
                };
                if (k != this._-4GT)
                {
                    this._-4GT = k;
                    this._-2ji = true;
                };
                this._-03A = this.getAdClickUrl(k);
                this._-4bh = ((!((this._-03A == null))) && (!((this._-03A == ""))));
                this._-Bk = k.getNumber(_-4Wq._-0-L);
                _-1WO = k._-1Pk();
                return (true);
            };
            return (false);
        }
        protected function getAdClickUrl(_arg1:_-30N):String
        {
            return (_arg1.getString(_-4Wq._-YY));
        }
        protected function updateAnimation(_arg1:Number):int
        {
            return (0);
        }
        private function _-4hU(_arg1:Number, _arg2:int):void
        {
            if (((!((this._-078 == _arg2))) || (!((this._-0vr == _arg1)))))
            {
                this._-09v = [];
                this._-KZ = [];
                this._-4a0 = [];
                this._-1eh = [];
                this._-11n = [];
                this._-1yV = [];
                this._-5E6 = [];
                this.static = [];
                this._-0zh = [];
                this._-4X8 = [];
                this._-078 = _arg2;
                this._-0vr = _arg1;
                this._-3OF = this._-1jp(_arg1);
                this.updateLayerCount((this._-0qE._-Rr(_arg1) + this.getAdditionalSpriteCount()));
            };
        }
        protected function updateLayerCount(_arg1:int):void
        {
            this._-0Am = _arg1;
            this._-2qq = (this._-0Am - this.getAdditionalSpriteCount());
        }
        protected function getAdditionalSpriteCount():int
        {
            return (1);
        }
        protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            return (0);
        }
        protected function getAsset(_arg1:String, _arg2:int=-1):_-2G2
        {
            var k:_-2G2;
            if (_-0-Z != null)
            {
                k = _-0-Z.getAsset(_arg1);
                return (k);
            };
            return (null);
        }
        protected function getSpriteAssetName(_arg1:int, _arg2:int):String
        {
            var k:int;
            var k:String;
            if ((((this._-0qE == null)) || ((_arg2 >= FurnitureVisualizationData._-3YQ.length))))
            {
                return ("");
            };
            var k:String = this._-09v[_arg2];
            var k:Boolean = this._-KZ[_arg2];
            if ((((k == null)) || ((k.length == 0))))
            {
                k = this._-3OF;
                k = this._-5K;
                k = "";
                if (_arg2 != this._-2qq)
                {
                    k = FurnitureVisualizationData._-3YQ[_arg2];
                }
                else
                {
                    k = "sd";
                };
                if (k == 1)
                {
                    k = (k + ("_icon_" + k));
                    k = false;
                }
                else
                {
                    k = (k + (((((("_" + k) + "_") + k) + "_") + this._-3r2) + "_"));
                    k = true;
                };
                this._-09v[_arg2] = k;
                this._-KZ[_arg2] = k;
            };
            if (k)
            {
                k = (k + this.getFrameNumber(_arg1, _arg2));
            };
            return (k);
        }
        protected function _-4kG(_arg1:int, _arg2:int, _arg3:int):String
        {
            if (this._-4a0[_arg3] != null)
            {
                return (this._-4a0[_arg3]);
            };
            if (this._-0qE == null)
            {
                return ("");
            };
            var k:String = this._-0qE._-2Dc(_arg1, _arg2, _arg3);
            this._-4a0[_arg3] = k;
            return (k);
        }
        protected function getSpriteAlpha(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (((!((this._-1eh[_arg3] == null))) && (!(this._-2ji))))
            {
                return (this._-1eh[_arg3]);
            };
            if (this._-0qE == null)
            {
                return (_-0Pn._-4XS);
            };
            var k:int = this._-0qE._-1da(_arg1, _arg2, _arg3);
            k = (k * this._-4GT);
            this._-1eh[_arg3] = k;
            return (k);
        }
        protected function getSpriteColor(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (this._-11n[_arg2] != null)
            {
                return (this._-11n[_arg2]);
            };
            if (this._-0qE == null)
            {
                return (ColorData._-2xB);
            };
            var k:int = this._-0qE._-12f(_arg1, _arg2, _arg3);
            this._-11n[_arg2] = k;
            return (k);
        }
        protected function getSpriteXOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (this._-1yV[_arg3] != null)
            {
                return (this._-1yV[_arg3]);
            };
            if (this._-0qE == null)
            {
                return (_-0Pn._-3hI);
            };
            var k:int = this._-0qE._-3K4(_arg1, _arg2, _arg3);
            this._-1yV[_arg3] = k;
            return (k);
        }
        protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:int;
            if (_arg3 != this._-2qq)
            {
                if (this._-5E6[_arg3] != null)
                {
                    return (this._-5E6[_arg3]);
                };
                if (this._-0qE != null)
                {
                    k = this._-0qE._-3s2(_arg1, _arg2, _arg3);
                    this._-5E6[_arg3] = k;
                    return (k);
                };
                return (_-0Pn._-10T);
            };
            return (Math.ceil((this._-Bk * (_arg1 / 2))));
        }
        protected function getSpriteMouseCapture(_arg1:int, _arg2:int, _arg3:int):Boolean
        {
            if (this._-0zh[_arg3] != null)
            {
                return (this._-0zh[_arg3]);
            };
            if (this._-0qE == null)
            {
                return (true);
            };
            var k = !(this._-0qE._-06m(_arg1, _arg2, _arg3));
            this._-0zh[_arg3] = k;
            return (k);
        }
        protected function _-1oj(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (this._-4X8[_arg3] != null)
            {
                return (this._-4X8[_arg3]);
            };
            if (this._-0qE == null)
            {
                return (_-0Pn._-0EF);
            };
            var k:int = this._-0qE._-57O(_arg1, _arg2, _arg3);
            this._-4X8[_arg3] = k;
            return (k);
        }
        protected function getSpriteZOffset(_arg1:int, _arg2:int, _arg3:int):Number
        {
            if (this.static[_arg3] != null)
            {
                return (this.static[_arg3]);
            };
            if (this._-0qE == null)
            {
                return (_-0Pn._-3Vi);
            };
            var k:Number = this._-0qE._-4yi(_arg1, _arg2, _arg3);
            this.static[_arg3] = k;
            return (k);
        }
        protected function _-1jp(_arg1:int):int
        {
            if (this._-0qE != null)
            {
                return (this._-0qE._-1jp(_arg1));
            };
            return (_arg1);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureVisualizationData

package _-1qL
{
    import _-18r.Map;
    import _-0ah.SizeData;
    import _-0y0.XMLValidator;
    import _-0ah._-0Pn;
    import _-0ah.ColorData;
    import _-4rn.*;

    public class FurnitureVisualizationData implements _-H0 
    {

        public static const _-i1:int = 1000;
        public static const _-3YQ:Array = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");

        private var _-d7:Map;
        private var _-4Xn:Array;
        private var _-4v0:SizeData = null;
        private var _-SY:int = -1;
        private var _-3Xk:int = -1;
        private var _-tf:int = -1;
        private var _-5K:String = "";

        public function FurnitureVisualizationData()
        {
            this._-4Xn = [];
            super();
            this._-d7 = new Map();
        }
        public function dispose():void
        {
            var k:SizeData;
            var k:int;
            if (this._-d7 != null)
            {
                k = null;
                k = 0;
                while (k < this._-d7.length)
                {
                    k = (this._-d7.getWithIndex(k) as SizeData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-d7.dispose();
                this._-d7 = null;
            };
            this._-4v0 = null;
            this._-4Xn = null;
        }
        public function initialize(_arg1:XML):Boolean
        {
            this.reset();
            if (_arg1 == null)
            {
                return (false);
            };
            var k:String = _arg1.@type;
            if (k.length == 0)
            {
                return (false);
            };
            this._-5K = k;
            if (!this.defineVisualizations(_arg1))
            {
                this.reset();
                return (false);
            };
            return (true);
        }
        protected function reset():void
        {
            this._-5K = "";
            var k:SizeData;
            var k:int;
            while (k < this._-d7.length)
            {
                k = (this._-d7.getWithIndex(k) as SizeData);
                if (k != null)
                {
                    k.dispose();
                };
                k++;
            };
            this._-d7.reset();
            this._-4Xn = [];
            this._-4v0 = null;
            this._-SY = -1;
        }
        protected function defineVisualizations(_arg1:XML):Boolean
        {
            var k:XML;
            var k:int;
            var k:int;
            var k:int;
            var k:SizeData;
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:XMLList = _arg1.visualization;
            if (k.length() == 0)
            {
                return (false);
            };
            var k:int;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (!XMLValidator._-4qb(k, ["size", "layerCount", "angle"]))
                {
                    return (false);
                };
                k = int(k.@size);
                k = int(k.@layerCount);
                k = int(k.@angle);
                if (k < 1)
                {
                    k = 1;
                };
                if (this._-d7.getValue(String(k)) != null)
                {
                    return (false);
                };
                k = this.createSizeData(k, k, k);
                if (k == null)
                {
                    return (false);
                };
                k = k.children();
                k = 0;
                while (k < k.length())
                {
                    k = k[k];
                    if (!this.processVisualizationElement(k, k))
                    {
                        k.dispose();
                        return (false);
                    };
                    k++;
                };
                this._-d7.add(String(k), k);
                this._-4Xn.push(k);
                this._-4Xn.sort(Array.NUMERIC);
                k++;
            };
            return (true);
        }
        protected function createSizeData(_arg1:int, _arg2:int, _arg3:int):SizeData
        {
            var k:SizeData;
            k = new SizeData(_arg2, _arg3);
            return (k);
        }
        protected function processVisualizationElement(_arg1:SizeData, _arg2:XML):Boolean
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            switch (String(_arg2.name()))
            {
                case "layers":
                    if (!_arg1._-2MV(_arg2))
                    {
                        return (false);
                    };
                    break;
                case "directions":
                    if (!_arg1._-4E2(_arg2))
                    {
                        return (false);
                    };
                    break;
                case "colors":
                    if (!_arg1._-0YE(_arg2))
                    {
                        return (false);
                    };
                    break;
            };
            return (true);
        }
        public function getType():String
        {
            return (this._-5K);
        }
        private function _-2ek(_arg1:int):int
        {
            var k:int;
            var k:int;
            if (_arg1 > 0)
            {
                k = 1;
                while (k < this._-4Xn.length)
                {
                    if (this._-4Xn[k] > _arg1)
                    {
                        if ((this._-4Xn[k] / _arg1) < (_arg1 / this._-4Xn[(k - 1)]))
                        {
                        };
                        break;
                    };
                    k++;
                };
            };
            return (k);
        }
        public function _-1jp(_arg1:int):int
        {
            if (_arg1 == this._-tf)
            {
                return (this._-3Xk);
            };
            var k:int = this._-2ek(_arg1);
            var k:int = -1;
            if (k < this._-4Xn.length)
            {
                k = this._-4Xn[k];
            };
            this._-tf = _arg1;
            this._-3Xk = k;
            return (k);
        }
        public function _-Rr(_arg1:int):int
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k.layerCount);
            };
            return (0);
        }
        public function _-28H(_arg1:int, _arg2:int):int
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-28H(_arg2));
            };
            return (0);
        }
        public function _-2Dc(_arg1:int, _arg2:int, _arg3:int):String
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-2Dc(_arg2, _arg3));
            };
            return (_-0Pn._-GJ);
        }
        public function _-57O(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-57O(_arg2, _arg3));
            };
            return (_-0Pn._-0EF);
        }
        public function _-1da(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-1da(_arg2, _arg3));
            };
            return (_-0Pn._-4XS);
        }
        public function _-12f(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-12f(_arg2, _arg3));
            };
            return (ColorData._-2xB);
        }
        public function _-06m(_arg1:int, _arg2:int, _arg3:int):Boolean
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-06m(_arg2, _arg3));
            };
            return (_-0Pn._-4J6);
        }
        public function _-3K4(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-3K4(_arg2, _arg3));
            };
            return (_-0Pn._-3hI);
        }
        public function _-3s2(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-3s2(_arg2, _arg3));
            };
            return (_-0Pn._-10T);
        }
        public function _-4yi(_arg1:int, _arg2:int, _arg3:int):Number
        {
            var k:SizeData = this._-0TY(_arg1);
            if (k != null)
            {
                return (k._-4yi(_arg2, _arg3));
            };
            return (_-0Pn._-3Vi);
        }
        protected function _-0TY(_arg1:int):SizeData
        {
            if (_arg1 == this._-SY)
            {
                return (this._-4v0);
            };
            var k:int = this._-2ek(_arg1);
            if (k < this._-4Xn.length)
            {
                this._-4v0 = (this._-d7.getValue(String(this._-4Xn[k])) as SizeData);
            }
            else
            {
                this._-4v0 = null;
            };
            this._-SY = _arg1;
            return (this._-4v0);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.FurnitureWaterAreaVisualization

package _-1qL
{
    import flash.display.BitmapData;
    import _-022._-2G2;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import flash.geom.Point;

    public class FurnitureWaterAreaVisualization extends _-0Rp 
    {

        private static const _-2WO:String = "shore";

        private var _-17f:Boolean = true;
        private var _-0pd:Array;
        private var _-5AW:Array;
        private var _-0z8:Array;
        private var _-4k3:Boolean = false;
        private var _-24E:int = 0;
        private var _-LN:int = 0;
        private var _-2M7:int = 0;
        private var _-pM:int = -1;
        private var _-0YK:int = -1;
        private var _-3gS:BitmapData = null;

        public function FurnitureWaterAreaVisualization()
        {
            this._-0pd = [];
            this._-5AW = [];
            this._-0z8 = [];
            super();
        }
        override public function dispose():void
        {
            var k:int;
            if (_-0-Z != null)
            {
                for each (k in this._-0z8)
                {
                    ShoreMaskCreatorUtility._-0-h(object.getInstanceId(), k, _-0-Z);
                };
                this._-0z8 = [];
            };
            if (this._-3gS != null)
            {
                this._-3gS.dispose();
                this._-3gS = null;
            };
            super.dispose();
        }
        override protected function updateObject(_arg1:Number, _arg2:Number):Boolean
        {
            if (super.updateObject(_arg1, _arg2))
            {
                this._-4k3 = true;
                this._-3MZ();
                return (true);
            };
            return (false);
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            var k:int;
            var k:int = super.updateAnimation(_arg1);
            if (this._-3JO(_arg1))
            {
                k = this._-31Y(_arg1);
                k = (k | (1 << k));
            };
            return (k);
        }
        override protected function getSpriteAssetName(_arg1:int, _arg2:int):String
        {
            if ((((_arg1 == 1)) || (!((_arg2 == this._-31Y(_arg1))))))
            {
                return (super.getSpriteAssetName(_arg1, _arg2));
            };
            if (this._-17f)
            {
                return (ShoreMaskCreatorUtility._-fM(object.getInstanceId(), _-1jp(_arg1)));
            };
            return (null);
        }
        private function _-31Y(_arg1:int):int
        {
            if ((((this._-pM == _arg1)) && ((this._-0YK == direction))))
            {
                return (this._-2M7);
            };
            var k:int = (_-18O - 1);
            while (k >= 0)
            {
                if (_-4kG(_arg1, direction, k) == _-2WO)
                {
                    this._-2M7 = k;
                    this._-pM = _arg1;
                    this._-0YK = direction;
                    return (this._-2M7);
                };
                k--;
            };
            return (-1);
        }
        private function _-26J(_arg1:int):_-2G2
        {
            var k:String = super.getSpriteAssetName(_arg1, this._-31Y(_arg1));
            var k:_-2G2 = _-0-Z.getAsset(k);
            return (k);
        }
        private function _-1qb(_arg1:int):_-2G2
        {
            var k:int = _-1jp(_arg1);
            var k:_-2G2 = ShoreMaskCreatorUtility._-1qb(object.getInstanceId(), k, _-0-Z, this._-26J(_arg1));
            if (k != null)
            {
                if (this._-0z8.indexOf(k) < 0)
                {
                    this._-0z8.push(k);
                };
            };
            return (k);
        }
        private function _-3MZ():void
        {
            this._-1er();
            var k:int = object.getState(0);
            var k:Array = this._-TJ();
            var k:int = (this._-24E + 2);
            var k:int = (this._-LN + 2);
            var k:int;
            var k:Array = k[(k - 1)];
            k = (k - 1);
            while (k >= 0)
            {
                if ((k & 1))
                {
                    k[k] = true;
                };
                k = (k >> 1);
                k--;
            };
            k = (k - 2);
            while (k >= 1)
            {
                k = k[k];
                if ((k & 1))
                {
                    k[(k - 1)] = true;
                };
                k = (k >> 1);
                if ((k & 1))
                {
                    k[0] = true;
                };
                k = (k >> 1);
                k--;
            };
            k = k[0];
            k = (k - 1);
            while (k >= 0)
            {
                if ((k & 1))
                {
                    k[k] = true;
                };
                k = (k >> 1);
                k--;
            };
            var k:int;
            k = this._-Xp(k, k);
            k = this._-4Zs(k, k);
            k = this._-2hI(k, k);
            k = this._-8G(k, k);
            this._-17f = false;
            k = 0;
            while (k < this._-0pd.length)
            {
                if (this._-0pd[k] == true)
                {
                    this._-17f = true;
                };
                k++;
            };
        }
        private function _-Xp(_arg1:Array, _arg2:int):int
        {
            var k:int = (this._-24E + 2);
            var k:Array = _arg1[0];
            var k:Array = _arg1[1];
            var k:int;
            var k:int;
            var k:int = 1;
            while (k < (k - 1))
            {
                if (k[k] == false)
                {
                    this._-0pd[_arg2] = true;
                    if ((((k[(k - 1)] == false)) && ((k[(k - 1)] == false))))
                    {
                        k = ShoreMaskCreatorUtility._-3eV;
                    }
                    else
                    {
                        if (k[(k - 1)] == true)
                        {
                            k = ShoreMaskCreatorUtility._-44M;
                        }
                        else
                        {
                            k = ShoreMaskCreatorUtility._-47y;
                        };
                    };
                    if ((((k[(k + 1)] == false)) && ((k[(k + 1)] == false))))
                    {
                        k = ShoreMaskCreatorUtility._-3eV;
                    }
                    else
                    {
                        if (k[(k + 1)] == true)
                        {
                            k = ShoreMaskCreatorUtility._-44M;
                        }
                        else
                        {
                            k = ShoreMaskCreatorUtility._-47y;
                        };
                    };
                    this._-5AW[_arg2] = ShoreMaskCreatorUtility._-1Ro(k, k);
                };
                _arg2++;
                k++;
            };
            return (_arg2);
        }
        private function _-4Zs(_arg1:Array, _arg2:int):int
        {
            var k:int = (this._-24E + 2);
            var k:int = (this._-LN + 2);
            var k:int;
            var k:int;
            var k:Array;
            var k:Array;
            var k:Array;
            var k:int = 1;
            while (k < (k - 1))
            {
                k = _arg1[k];
                k = _arg1[(k - 1)];
                k = _arg1[(k + 1)];
                if (k[(k - 1)] == false)
                {
                    this._-0pd[_arg2] = true;
                    if ((((k[(k - 2)] == false)) && ((k[(k - 1)] == false))))
                    {
                        k = ShoreMaskCreatorUtility._-3eV;
                    }
                    else
                    {
                        if (k[(k - 1)] == true)
                        {
                            k = ShoreMaskCreatorUtility._-44M;
                        }
                        else
                        {
                            k = ShoreMaskCreatorUtility._-47y;
                        };
                    };
                    if ((((k[(k - 2)] == false)) && ((k[(k - 1)] == false))))
                    {
                        k = ShoreMaskCreatorUtility._-3eV;
                    }
                    else
                    {
                        if (k[(k - 1)] == true)
                        {
                            k = ShoreMaskCreatorUtility._-44M;
                        }
                        else
                        {
                            k = ShoreMaskCreatorUtility._-47y;
                        };
                    };
                    this._-5AW[_arg2] = ShoreMaskCreatorUtility._-1Ro(k, k);
                };
                _arg2++;
                k++;
            };
            return (_arg2);
        }
        private function _-2hI(_arg1:Array, _arg2:int):int
        {
            var k:int = (this._-24E + 2);
            var k:int = (this._-LN + 2);
            var k:int;
            var k:int;
            var k:Array = _arg1[(k - 1)];
            var k:Array = _arg1[(k - 2)];
            var k:int = (k - 2);
            while (k >= 1)
            {
                if (k[k] == false)
                {
                    this._-0pd[_arg2] = true;
                    if ((((k[(k + 1)] == false)) && ((k[(k + 1)] == false))))
                    {
                        k = ShoreMaskCreatorUtility._-3eV;
                    }
                    else
                    {
                        if (k[(k + 1)] == true)
                        {
                            k = ShoreMaskCreatorUtility._-44M;
                        }
                        else
                        {
                            k = ShoreMaskCreatorUtility._-47y;
                        };
                    };
                    if ((((k[(k - 1)] == false)) && ((k[(k - 1)] == false))))
                    {
                        k = ShoreMaskCreatorUtility._-3eV;
                    }
                    else
                    {
                        if (k[(k - 1)] == true)
                        {
                            k = ShoreMaskCreatorUtility._-44M;
                        }
                        else
                        {
                            k = ShoreMaskCreatorUtility._-47y;
                        };
                    };
                    this._-5AW[_arg2] = ShoreMaskCreatorUtility._-1Ro(k, k);
                };
                _arg2++;
                k--;
            };
            return (_arg2);
        }
        private function _-8G(_arg1:Array, _arg2:int):int
        {
            var k:int = (this._-24E + 2);
            var k:int = (this._-LN + 2);
            var k:int;
            var k:int;
            var k:Array;
            var k:Array;
            var k:Array;
            var k:int = (k - 2);
            while (k >= 1)
            {
                k = _arg1[k];
                k = _arg1[(k + 1)];
                k = _arg1[(k - 1)];
                if (k[0] == false)
                {
                    this._-0pd[_arg2] = true;
                    if ((((k[1] == false)) && ((k[0] == false))))
                    {
                        k = ShoreMaskCreatorUtility._-3eV;
                    }
                    else
                    {
                        if (k[0] == true)
                        {
                            k = ShoreMaskCreatorUtility._-44M;
                        }
                        else
                        {
                            k = ShoreMaskCreatorUtility._-47y;
                        };
                    };
                    if ((((k[1] == false)) && ((k[0] == false))))
                    {
                        k = ShoreMaskCreatorUtility._-3eV;
                    }
                    else
                    {
                        if (k[0] == true)
                        {
                            k = ShoreMaskCreatorUtility._-44M;
                        }
                        else
                        {
                            k = ShoreMaskCreatorUtility._-47y;
                        };
                    };
                    this._-5AW[_arg2] = ShoreMaskCreatorUtility._-1Ro(k, k);
                };
                _arg2++;
                k--;
            };
            return (_arg2);
        }
        private function _-1er():void
        {
            var k:_-30N;
            if ((((this._-24E == 0)) || ((this._-LN == 0))))
            {
                if ((((object == null)) || ((object.getModel() == null))))
                {
                    return;
                };
                k = object.getModel();
                this._-24E = k.getNumber(_-4Wq._-1VR);
                this._-LN = k.getNumber(_-4Wq._-1mA);
            };
            this._-0pd = [];
            this._-5AW = [];
            var k:int;
            while (k < ((this._-24E * 2) + (this._-LN * 2)))
            {
                this._-0pd.push(false);
                this._-5AW.push(ShoreMaskCreatorUtility._-47y);
                k++;
            };
        }
        private function _-TJ():Array
        {
            var k:int = (this._-24E + 2);
            var k:int = (this._-LN + 2);
            var k:Array = [];
            var k:Array;
            var k:int;
            var k:int;
            k = 0;
            while (k < k)
            {
                k = [];
                k = (k - 1);
                while (k >= 0)
                {
                    k.push(false);
                    k--;
                };
                k.push(k);
                k++;
            };
            k = 1;
            while (k < (k - 1))
            {
                k = k[k];
                k = 1;
                while (k < (k - 1))
                {
                    k[k] = true;
                    k++;
                };
                k++;
            };
            return (k);
        }
        private function _-1kI(_arg1:Number):Boolean
        {
            return (ShoreMaskCreatorUtility._-1kI(_-1jp(_arg1), _-0-Z, this._-26J(_arg1)));
        }
        private function _-22P(_arg1:int, _arg2:int, _arg3:Number):BitmapData
        {
            if ((((((this._-3gS == null)) || ((this._-3gS.width < _arg1)))) || ((this._-3gS.height < _arg2))))
            {
                if (this._-3gS != null)
                {
                    this._-3gS.dispose();
                };
                this._-3gS = ShoreMaskCreatorUtility._-4eU(_arg1, _arg2);
            };
            return (ShoreMaskCreatorUtility._-05V(this._-3gS, _-1jp(_arg3), this._-0pd, this._-5AW, _-0-Z));
        }
        private function _-3JO(_arg1:Number):Boolean
        {
            var k:BitmapData;
            var k:BitmapData;
            var k:_-2G2;
            var k:BitmapData;
            if (!this._-4k3)
            {
                return (false);
            };
            var k:_-2G2 = this._-1qb(_arg1);
            if (((((!((k == null))) && (!((k.asset == null))))) && (this._-1kI(_arg1))))
            {
                k = (k.asset.content as BitmapData);
                if (k != null)
                {
                    k = this._-22P(k.width, k.height, _arg1);
                    k = this._-26J(_arg1);
                    if (((!((k == null))) && (!((k.asset == null)))))
                    {
                        k = (k.asset.content as BitmapData);
                        if (k != null)
                        {
                            k.fillRect(k.rect, 0);
                            k.copyPixels(k, k.rect, new Point(0, 0), k, new Point(0, 0), true);
                        };
                        this._-4k3 = false;
                    };
                };
                return (true);
            };
            return (false);
        }
        override protected function setAnimation(_arg1:int):void
        {
            super.setAnimation(0);
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1qL.ShoreMaskCreatorUtility

package _-1qL
{
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import _-022._-2G2;
    import _-022._-2KD;
    import flash.geom.Point;
    import flash.geom.Rectangle;
    import _-0y0._-2bT;

    public class ShoreMaskCreatorUtility 
    {

        public static const _-3eV:int = 0;
        public static const _-47y:int = 1;
        public static const _-44M:int = 2;
        private static const _-be:int = 3;
        private static const _-24R:uint = 0;
        private static const _-0nM:uint = 0xFFFFFFFF;

        public static function _-4eU(_arg1:int, _arg2:int):BitmapData
        {
            var k:BitmapData = new BitmapData(_arg1, _arg2, true, _-24R);
            return (k);
        }
        public static function _-fM(_arg1:int, _arg2:int):String
        {
            var k:String = ((("instance_mask_" + _arg1) + "_") + _arg2);
            return (k);
        }
        public static function _-1Ro(_arg1:int, _arg2:int):int
        {
            return ((_arg1 + (_arg2 * _-be)));
        }
        public static function _-1qb(_arg1:int, _arg2:int, _arg3:_-2KD, _arg4:_-2G2):_-2G2
        {
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:String = _-fM(_arg1, _arg2);
            var k:_-2G2 = _arg3.getAsset(k);
            if (k == null)
            {
                if (_arg4 != null)
                {
                    k = (_arg4.asset as BitmapDataAsset);
                    if (k != null)
                    {
                        k = (k.content as BitmapData);
                        if (k != null)
                        {
                            _arg3.addAsset(k, new BitmapData(k.width, k.height, true, _-24R), false, _arg4.offsetX, _arg4.offsetY);
                            k = _arg3.getAsset(k);
                        };
                    };
                };
            };
            return (k);
        }
        public static function _-0-h(_arg1:int, _arg2:int, _arg3:_-2KD):void
        {
            var k:String = _-fM(_arg1, _arg2);
            _arg3.disposeAsset(k);
        }
        public static function _-05V(_arg1:BitmapData, _arg2:int, _arg3:Array, _arg4:Array, _arg5:_-2KD):BitmapData
        {
            var k:String;
            var k:_-2G2;
            var k:BitmapData;
            _arg1.fillRect(_arg1.rect, _-24R);
            var k:int;
            while (k < _arg3.length)
            {
                if (_arg3[k] == true)
                {
                    k = ((((("mask_" + _arg2) + "_") + k) + "_") + _arg4[k]);
                    k = _arg5.getAsset(k);
                    if (((!((k == null))) && (!((k.asset == null)))))
                    {
                        k = (k.asset.content as BitmapData);
                        if (k != null)
                        {
                            _arg1.copyPixels(k, k.rect, new Point(0, 0), k, new Point(0, 0), true);
                        };
                    };
                };
                k++;
            };
            return (_arg1);
        }
        public static function _-1kI(_arg1:int, _arg2:_-2KD, _arg3:_-2G2):Boolean
        {
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Array;
            var k:Array;
            var k:BitmapData;
            var k:int;
            if (_arg2 != null)
            {
                k = ("masks_done_" + _arg1);
                if (_arg2.getAsset(k) == null)
                {
                    if (_arg3 != null)
                    {
                        k = (_arg3.asset as BitmapDataAsset);
                        if (k != null)
                        {
                            k = (k.content as BitmapData);
                            k = [_-3eV, _-47y, _-44M, _-3eV, _-47y, _-44M];
                            k = [_-47y, _-47y, _-47y, _-44M, _-44M, _-44M];
                            k = null;
                            k = 0;
                            if (k != null)
                            {
                                k = 0;
                                while ((((k < k.length)) && ((k < k.length))))
                                {
                                    k = _-4fg(k.width, k.height);
                                    _-3WO(k, _arg1, k[k], k[k]);
                                    _-2Hb(_arg2, k, _arg1, k[k], k[k]);
                                    k = _-g4(k.width, k.height);
                                    _-jv(k, _arg1, k[k], k[k]);
                                    _-0Pk(_arg2, k, _arg1, k[k], k[k]);
                                    k++;
                                };
                            };
                        };
                        _arg2.addAsset(k, new BitmapData(1, 1), false);
                        return (true);
                    };
                    return (false);
                };
                return (true);
            };
            return (false);
        }
        private static function _-4fg(_arg1:int, _arg2:int):BitmapData
        {
            var k:BitmapData = new BitmapData(_arg1, _arg2, true, _-24R);
            _-52T(k, (k.width / 2), ((k.height / 2) - 1), 1, _-0nM);
            return (k);
        }
        private static function _-3WO(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int):void
        {
            if (_arg3 == _-47y)
            {
                _-57t(_arg1, _arg2, false);
            }
            else
            {
                if (_arg3 == _-44M)
                {
                    _-57t(_arg1, _arg2, true);
                };
            };
            if (_arg4 == _-44M)
            {
                _-2Uh(_arg1, _arg2);
            };
        }
        private static function _-57t(_arg1:BitmapData, _arg2:int, _arg3:Boolean):void
        {
            var k:int = ((_arg1.height / 2) - (_arg2 / 2));
            var k:int = (_arg1.width / 2);
            if (_arg3)
            {
                _arg1.fillRect(new Rectangle(k, 0, _arg1.width, k), _-24R);
            }
            else
            {
                _-52T(_arg1, k, (k - 1), 1, _-24R);
            };
        }
        private static function _-2Uh(_arg1:BitmapData, _arg2:int):void
        {
            var k:int = ((_arg1.width / 2) + (_arg2 / 2));
            _arg1.fillRect(new Rectangle(k, 0, _arg1.width, (_arg1.height / 2)), _-24R);
        }
        private static function _-g4(_arg1:int, _arg2:int):BitmapData
        {
            var k:BitmapData = new BitmapData(_arg1, _arg2, true, _-24R);
            _-3nU(k, ((k.width / 2) + 1), ((k.height / 2) - 1), _-0nM);
            return (k);
        }
        private static function _-jv(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int):void
        {
            if (_arg4 == _-47y)
            {
                _-0v6(_arg1, _arg2, false);
            }
            else
            {
                if (_arg4 == _-44M)
                {
                    _-0v6(_arg1, _arg2, true);
                };
            };
            if (_arg3 == _-44M)
            {
                _-0CX(_arg1, _arg2);
            };
        }
        private static function _-0CX(_arg1:BitmapData, _arg2:int):void
        {
            var k:int = ((_arg1.width / 2) + (_arg2 / 2));
            _arg1.fillRect(new Rectangle(k, 0, _arg1.width, ((_arg1.height / 2) - (_arg2 / 4))), _-24R);
        }
        private static function _-0v6(_arg1:BitmapData, _arg2:int, _arg3:Boolean):void
        {
            var k:int = (_arg1.height / 2);
            var k:int = ((_arg1.width / 2) + _arg2);
            if (_arg3)
            {
                _arg1.fillRect(new Rectangle(k, 0, _arg1.width, k), _-24R);
            }
            else
            {
                _-3nU(_arg1, (k + 1), (k - 1), _-24R);
            };
        }
        private static function _-2Hb(_arg1:_-2KD, _arg2:BitmapData, _arg3:int, _arg4:int, _arg5:int):void
        {
            var k:String;
            if (_arg1 != null)
            {
                k = "";
                k = ((("mask_" + _arg3) + "_0_") + _-1Ro(_arg4, _arg5));
                _arg1.addAsset(k, _arg2, false);
                k = ((("mask_" + _arg3) + "_3_") + _-1Ro(_arg5, _arg4));
                _arg1.addAsset(k, _-2bT._-3Rr(_arg2), false);
                k = ((("mask_" + _arg3) + "_4_") + _-1Ro(_arg4, _arg5));
                _arg1.addAsset(k, _-2bT._-3RM(_arg2), false);
                k = ((("mask_" + _arg3) + "_7_") + _-1Ro(_arg5, _arg4));
                _arg1.addAsset(k, _-2bT._-44s(_arg2), false);
            };
        }
        private static function _-0Pk(_arg1:_-2KD, _arg2:BitmapData, _arg3:int, _arg4:int, _arg5:int):void
        {
            var k:String;
            if (_arg1 != null)
            {
                k = "";
                k = ((("mask_" + _arg3) + "_1_") + _-1Ro(_arg4, _arg5));
                _arg1.addAsset(k, _arg2, false);
                k = ((("mask_" + _arg3) + "_2_") + _-1Ro(_arg5, _arg4));
                _arg1.addAsset(k, _-2bT._-3Rr(_arg2), false);
                k = ((("mask_" + _arg3) + "_5_") + _-1Ro(_arg4, _arg5));
                _arg1.addAsset(k, _-2bT._-3RM(_arg2), false);
                k = ((("mask_" + _arg3) + "_6_") + _-1Ro(_arg5, _arg4));
                _arg1.addAsset(k, _-2bT._-44s(_arg2), false);
            };
        }
        private static function _-52T(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:uint):void
        {
            var k:int;
            var k:int = _arg2;
            var k:int = _arg3;
            var k:int = _arg4;
            while (k >= 0)
            {
                while (k >= 0)
                {
                    _arg1.setPixel32(k, k, _arg5);
                    k--;
                };
                k++;
                if (k >= 2)
                {
                    k--;
                    k = 0;
                };
                k++;
            };
        }
        private static function _-3nU(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:uint):void
        {
            var k:int;
            var k:int = _arg2;
            var k:int = _arg3;
            while (k < _arg1.width)
            {
                while (k < _arg1.width)
                {
                    _arg1.setPixel32(k, k, _arg4);
                    k++;
                };
                k--;
                k = (k + 2);
            };
        }

    }
}//package _-1qL

//------------------------------------------------------------
//_-1Qs._-30D

package _-1Qs
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-30D implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-30D(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-1Qs

//------------------------------------------------------------
//_-1Qs._-3WY

package _-1Qs
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3WY implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3WY(_arg1:int, _arg2:Array)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2.length);
            this._-4Nw = this._-4Nw.concat(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-1Qs

//------------------------------------------------------------
//_-1qT._-2GQ

package _-1qT
{
    import _-1ae.IBitmapWrapperWindow;
    import _-4yS.FriendEntity;
    import _-4yS._-0gu;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import _-Ew.IWindowContainer;
    import _-1ae.IRegionWindow;
    import _-1ae._-C7;
    import _-0Ie.WindowMouseEvent;
    import _-09j.WindowType;
    import _-09j.WindowStyle;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import flash.display.BitmapData;
    import _-1ae.IItemListWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IIconWindow;
    import _-0Ie.WindowEvent;
    import _-4yS._-6a;

    public class _-2GQ extends FriendEntityTab 
    {

        protected static const _-2rl:String = "friend_request_tab_xml";
        protected static const _-0J6:String = "bubble";
        protected static const MESSAGE:String = "message";
        protected static const _-91:String = "button_accept";
        protected static const _-1SK:String = "button_close";
        protected static const _-1Ri:String = "click_region_reject";
        protected static const _-4zj:String = "link_reject";
        private static const _-2xB:uint = 16435481;
        private static const _-1qy:uint = 16767334;
        private static const _-0bq:uint = 16770666;
        private static const _-13q:uint = 0xFFFFFF;

        private static var _-oG:_-2GQ;

        private var _-021:String;

        public function _-2GQ()
        {
            _-0xv = this._-4DH();
            if (_-0xv)
            {
                _-0xv.findChildByName(_-0J6).visible = false;
            };
        }
        public static function _-2W5(_arg1:_-0gu):_-2GQ
        {
            var k:IBitmapWrapperWindow;
            var k:_-2GQ = ((_-oG) ? _-oG : new (_-2GQ)());
            k._-4-t = false;
            if (k.friend)
            {
                if (k.friend.figure != _arg1.figure)
                {
                    k = IBitmapWrapperWindow(k._-0xv.findChildByName(_-1B6));
                    k.bitmap = _-4Cg.getAvatarFaceBitmap(_arg1.figure);
                };
            };
            k.friend = new FriendEntity(_arg1.id, _arg1.name, null, null, -1, false, false, _arg1.figure, 0, null);
            return (k);
        }

        override public function dispose():void
        {
            if (_-0xv)
            {
                this._-4eN(_-0xv);
                _-0xv = null;
            };
            super.dispose();
        }
        override public function recycle():void
        {
            if (!disposed)
            {
                if (!_-4-t)
                {
                    _-1GY = null;
                    _-4-t = true;
                    _-oG = this;
                };
            };
        }
        override public function select(_arg1:Boolean):void
        {
            var k:IWindow;
            if (!selected)
            {
                if (_-0xv)
                {
                    k = _-0xv.findChildByName(_-0J6);
                    if (k)
                    {
                        k.visible = true;
                    };
                };
                super.select(_arg1);
            };
        }
        override public function deselect(_arg1:Boolean):void
        {
            var k:IWindow;
            if (selected)
            {
                if (_-0xv)
                {
                    k = _-0xv.findChildByName(_-0J6);
                    if (k)
                    {
                        k.visible = false;
                    };
                };
                super.deselect(_arg1);
            };
        }
        override protected function expose():void
        {
            super.expose();
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
        }
        override protected function conceal():void
        {
            super.conceal();
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
        }
        private function _-4DH():IWindowContainer
        {
            var k:BitmapDataAsset;
            var k:IWindowContainer = (_-4gz.buildFromXML((_-14d.getAssetByName(_-2rl).content as XML)) as IWindowContainer);
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(k.findChildByName(_-1B6));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-0YW));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-1pL));
            var k:IWindow = k.findChildByName(_-0g-);
            var k:_-C7 = (k.findChildByName(_-0J6) as _-C7);
            k.x = 0;
            k.y = 0;
            k.width = _-38n;
            k.height = _-0KS;
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.addEventListener(WindowMouseEvent._-90, _-35I);
            k._-2QR = _-0vx.getKey("infostand.profile.link.tooltip", "");
            k._-1e = 100;
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k._-30Z = true;
            k.procedure = this._-3aF;
            k.y = (-((k.height - (k.height - k.margins.bottom))) - 1);
            var k:IRegionWindow = (_-4gz.create("ICON", WindowType._-4Y4, WindowStyle._-5B8, WindowParam._-55Y, new Rectangle(0, 0, 25, 25)) as IRegionWindow);
            k.mouseThreshold = 0;
            var k:IBitmapWrapperWindow = (_-4gz.create("BITMAP", WindowType._-0HS, WindowStyle._-5B8, WindowParam._-Cp, new Rectangle(0, 0, 25, 25)) as IBitmapWrapperWindow);
            k._-30Z = false;
            k = (_-14d.getAssetByName("plus_friend_icon_png") as BitmapDataAsset);
            if (k)
            {
                k.bitmap = (k.content as BitmapData);
            };
            k.addChild(k);
            IItemListWindow(k.findChildByName(_-0g-))._-kE(k, 0);
            return (k);
        }
        private function _-4eN(_arg1:IWindowContainer):void
        {
            var k:IRegionWindow;
            var k:IWindow;
            var k:IRegionWindow;
            var k:IBitmapWrapperWindow;
            if (((_arg1) && (!(_arg1.disposed))))
            {
                _arg1.procedure = null;
                _arg1.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                _arg1.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                _arg1.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                k = IRegionWindow(_arg1.findChildByName(_-0YW));
                k.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                k.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                k = _arg1.findChildByName(_-0g-);
                k.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4ea, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4e2, onMouseClick);
                k = IRegionWindow(_arg1.findChildByName(_-1pL));
                k.removeEventListener(WindowMouseEvent._-90, _-35I);
                _arg1.width = _-38n;
                _arg1.height = _-0KS;
                _arg1.color = _-2xB;
                k = IBitmapWrapperWindow(_arg1.findChildByName(_-1B6));
                k.bitmap = null;
                ITextWindow(_arg1.findChildByTag("label")).underline = false;
            };
        }
        private function _-3aF(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case _-91:
                        _-2fD.acceptFriendRequest(_-1GY.id);
                        break;
                    case _-1SK:
                        if (selected)
                        {
                            _-4Cg.deSelect(true);
                        };
                        break;
                    case _-0BX:
                        _-1uY.trackGoogle("extendedProfile", "friendBar_friendRequestButton");
                        _-2fD.showProfile(_-1GY.id);
                        break;
                    case _-1Ri:
                        _-2fD.declineFriendRequest(_-1GY.id);
                        break;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    if (_arg2.name == _-1Ri)
                    {
                        ITextWindow(IWindowContainer(_arg2).getChildByName(_-4zj)).textColor = _-0bq;
                    };
                    if (_arg2.name == _-0BX)
                    {
                        IIconWindow(IWindowContainer(_arg2).findChildByName("icon")).style = 22;
                    };
                    if (_arg2.name == _-1pL)
                    {
                        ITextWindow(IWindowContainer(_arg2).getChildByName("name")).underline = true;
                    };
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        if (_arg2.name == _-1Ri)
                        {
                            ITextWindow(IWindowContainer(_arg2).getChildByName(_-4zj)).textColor = _-13q;
                        };
                        if (_arg2.name == _-0BX)
                        {
                            IIconWindow(IWindowContainer(_arg2).findChildByName("icon")).style = 21;
                        };
                        if (_arg2.name == _-1pL)
                        {
                            ITextWindow(IWindowContainer(_arg2).getChildByName("name")).underline = false;
                        };
                    };
                };
            };
        }
        public function _-0-V(_arg1:_-6a, _arg2:BitmapData):void
        {
            var k:IBitmapWrapperWindow;
            var k:BitmapData;
            if (!disposed)
            {
                if (friend)
                {
                    if (friend.figure == _arg1.figure)
                    {
                        k = (_-0xv.findChildByName(_-1B6) as IBitmapWrapperWindow);
                        if (k)
                        {
                            k = _-4Cg.getAvatarFaceBitmap(_arg1.figure);
                            if (k)
                            {
                                k.bitmap = k;
                                k.width = k.width;
                                k.height = k.height;
                            };
                        };
                    };
                };
            };
        }

    }
}//package _-1qT

//------------------------------------------------------------
//_-1qT._-33H

package _-1qT
{
    import _-Ew.IWindowContainer;
    import _-1B-.*;

    public interface _-33H extends _-1zZ 
    {

        function get window():IWindowContainer;
        function get selected():Boolean;
        function get _-4Sx():Boolean;
        function select(_arg1:Boolean):void;
        function deselect(_arg1:Boolean):void;
        function recycle():void;

    }
}//package _-1qT

//------------------------------------------------------------
//_-1qT._-3KB

package _-1qT
{
    import _-Ew.IWindowContainer;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-Ew.IWindow;
    import _-3nP.Motions;
    import _-3nP.Combo;
    import _-3nP._-0Tg;
    import _-3nP._-4rB;
    import _-3nP._-1CI;
    import _-1ae.ITextWindow;

    public class _-3KB extends _-4So 
    {

        protected static const ICON:String = "icon";
        protected static const TEXT:String = "text";
        protected static const _-0YW:String = "header";
        protected static const _-0WU:String = "label";
        protected static const BUTTON:String = "button";
        private static const _-38Y:String = "add_friends_tab_xml";
        private static const _-5DF:String = "find_friends_icon_png";
        private static const _-2xB:uint = 6907230;
        private static const _-1qy:uint = 9209986;
        private static const _-3Kq:Array = [];
        private static const _-1OZ:Array = [];

        private static var _-2P-:int = -1;

        public static function _-2W5():_-3KB
        {
            var k:_-3KB = (((_-3Kq.length > 0)) ? _-3Kq.pop() : new (_-3KB)());
            k._-4-t = false;
            k._-0xv = k._-qj();
            return (k);
        }

        public function _-qj():IWindowContainer
        {
            var k:IWindowContainer = (((_-1OZ.length > 0)) ? _-1OZ.pop() : (_-4gz.buildFromXML((_-14d.getAssetByName(_-38Y).content as XML)) as IWindowContainer));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-0YW));
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            if (_-2P- < 0)
            {
                _-2P- = k.height;
            };
            k.height = _-0KS;
            var k:IBitmapWrapperWindow = (k.findChildByName(ICON) as IBitmapWrapperWindow);
            k._-30Z = false;
            k.bitmap = (_-14d.getAssetByName(_-5DF).content as BitmapData);
            var k:IWindow = k.findChildByName(BUTTON);
            k.addEventListener(WindowMouseEvent._-90, this._-4Y8);
            var k:IWindow = k.findChildByName(TEXT);
            k.visible = false;
            return (k);
        }
        private function _-3xW(_arg1:IWindowContainer):void
        {
            var k:IRegionWindow;
            if (((_arg1) && (!(_arg1.disposed))))
            {
                _arg1.procedure = null;
                _arg1.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                _arg1.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                _arg1.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                k = IRegionWindow(_arg1.findChildByName(_-0YW));
                k.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                k.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                _arg1.findChildByName(BUTTON).removeEventListener(WindowMouseEvent._-90, this._-4Y8);
                _arg1.findChildByName(TEXT).visible = false;
                _arg1.width = _-38n;
                _arg1.height = _-0KS;
                if (_-1OZ.indexOf(_arg1) == -1)
                {
                    _-1OZ.push(_arg1);
                };
            };
        }
        override public function select(_arg1:Boolean):void
        {
            if (!selected)
            {
                if (((((_arg1) && (_-1RM))) && ((Motions._-4UE(_-0xv) == null))))
                {
                    Motions._-Pp(new Combo(new _-0Tg(new _-4rB(_-0xv, _-36P, _-0xv.width, _-2P-), _-0eV), new _-0Tg(new _-1CI(_-0xv, _-36P, _-0xv.x, -((_-2P- - _-0KS))), _-0eV)));
                }
                else
                {
                    _-0xv.height = _-2P-;
                    _-0xv.y = (_-0xv.y - (_-0xv.height - _-0KS));
                };
                _-0xv.findChildByName(TEXT).visible = true;
                super.select(_arg1);
            };
        }
        override public function deselect(_arg1:Boolean):void
        {
            if (selected)
            {
                _-0xv.y = 0;
                _-0xv.height = _-0KS;
                _-0xv.findChildByName(TEXT).visible = false;
                super.deselect(_arg1);
            };
        }
        override public function recycle():void
        {
            if (!disposed)
            {
                if (!_-4-t)
                {
                    if (_-0xv)
                    {
                        this._-3xW(_-0xv);
                        _-0xv = null;
                    };
                    _-4-t = true;
                    _-3Kq.push(this);
                };
            };
        }
        override protected function expose():void
        {
            super.expose();
            ITextWindow(_-0xv.findChildByTag(_-0WU)).underline = _-2QT;
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
        }
        override protected function conceal():void
        {
            super.conceal();
            ITextWindow(_-0xv.findChildByTag(_-0WU)).underline = _-2QT;
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
        }
        private function _-4Y8(_arg1:WindowMouseEvent):void
        {
            if (((!(disposed)) && (!(_-4Sx))))
            {
                _-2fD.findNewFriends();
                this.deselect(true);
            };
        }

    }
}//package _-1qT

//------------------------------------------------------------
//_-1qT._-4So

package _-1qT
{
    import _-4yS._-0oL;
    import _-0GO._-1Z9;
    import _-16i._-tO;
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-2gz._-2UE;
    import _-1Y._-0vR;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import flash.geom.Point;

    public class _-4So implements _-33H 
    {

        protected static const _-1RM:Boolean = false;
        protected static const _-36P:int = 80;
        protected static const _-0eV:int = 3;

        public static var _-38n:int = 127;
        public static var _-0KS:int = 36;
        public static var _-2fD:_-0oL;
        public static var GAMES:_-1Z9;
        public static var _-4Cg:_-tO;
        public static var _-14d:_-39L;
        public static var _-4gz:_-3Ts;
        public static var _-0vx:_-0hg;
        public static var _-1uY:_-2UE;
        public static var _-0fR:_-0vR;

        protected var _-0xv:IWindowContainer;
        protected var _-4-t:Boolean;
        private var _-pX:Boolean;
        private var _-2dY:Boolean;
        private var _disposed:Boolean;

        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get selected():Boolean
        {
            return (this._-2dY);
        }
        public function get _-4Sx():Boolean
        {
            return (this._-4-t);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        protected function get _-2QT():Boolean
        {
            return (this._-pX);
        }
        public function select(_arg1:Boolean):void
        {
            this.conceal();
            this._-2dY = true;
        }
        public function deselect(_arg1:Boolean):void
        {
            this._-2dY = false;
        }
        public function recycle():void
        {
            this.conceal();
            this._-4-t = true;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0xv)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                this._disposed = true;
            };
        }
        protected function expose():void
        {
            this._-pX = true;
        }
        protected function conceal():void
        {
            this._-pX = false;
        }
        protected function onMouseClick(_arg1:WindowMouseEvent):void
        {
            if (((this.disposed) || (this._-4Sx)))
            {
                return;
            };
            if (this.selected)
            {
                _-4Cg.deSelect(true);
            }
            else
            {
                _-4Cg._-5B1(this, true);
            };
        }
        protected function _-1hF(_arg1:WindowMouseEvent):void
        {
            if (((this.disposed) || (this._-4Sx)))
            {
                return;
            };
            if (!this.selected)
            {
                this.expose();
            };
        }
        protected function _-45Q(_arg1:WindowMouseEvent):void
        {
            if (((((this.disposed) || (this._-4Sx))) || ((this._-0xv == null))))
            {
                return;
            };
            if (!this.selected)
            {
                if (!this._-0xv.hitTestGlobalPoint(new Point(_arg1.stageX, _arg1.stageY)))
                {
                    this.conceal();
                };
            };
        }

    }
}//package _-1qT

//------------------------------------------------------------
//_-1qT._-5-

package _-1qT
{
    import _-Ew.IWindowContainer;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-0GO._-3lN;

    public class _-5- extends _-4So 
    {

        protected static const ICON:String = "icon";
        protected static const TEXT:String = "text";
        protected static const _-0YW:String = "header";
        protected static const _-0WU:String = "label";
        protected static const BUTTON:String = "button";
        private static const _-38Y:String = "play_snowstorm_tab_xml";
        private static const _-5DF:String = "play_snowstorm_icon_png";
        private static const _-2xB:uint = 9686751;
        private static const _-1qy:uint = 11660531;
        private static const _-3Kq:Array = [];
        private static const _-1OZ:Array = [];

        public static function _-2W5():_-5-
        {
            var k:_-5- = (((_-3Kq.length > 0)) ? _-3Kq.pop() : new (_-5-)());
            k._-4-t = false;
            k._-0xv = k._-qj();
            return (k);
        }

        public function _-qj():IWindowContainer
        {
            var k:IWindowContainer = (((_-1OZ.length > 0)) ? _-1OZ.pop() : (_-4gz.buildFromXML((_-14d.getAssetByName(_-38Y).content as XML)) as IWindowContainer));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-0YW));
            k.addEventListener(WindowMouseEvent._-90, this._-4Y8);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.addEventListener(WindowMouseEvent._-90, this._-4Y8);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.height = _-0KS;
            var k:IBitmapWrapperWindow = (k.findChildByName(ICON) as IBitmapWrapperWindow);
            k._-30Z = false;
            k.bitmap = (_-14d.getAssetByName(_-5DF).content as BitmapData);
            var k:IWindow = k.findChildByName(TEXT);
            k.visible = false;
            return (k);
        }
        private function _-3xW(_arg1:IWindowContainer):void
        {
            var k:IRegionWindow;
            if (((_arg1) && (!(_arg1.disposed))))
            {
                _arg1.procedure = null;
                _arg1.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                _arg1.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                _arg1.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                k = IRegionWindow(_arg1.findChildByName(_-0YW));
                k.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                k.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                _arg1.findChildByName(BUTTON).removeEventListener(WindowMouseEvent._-90, this._-4Y8);
                _arg1.findChildByName(TEXT).visible = false;
                _arg1.width = _-38n;
                _arg1.height = _-0KS;
                if (_-1OZ.indexOf(_arg1) == -1)
                {
                    _-1OZ.push(_arg1);
                };
            };
        }
        override public function recycle():void
        {
            if (!disposed)
            {
                if (!_-4-t)
                {
                    if (_-0xv)
                    {
                        this._-3xW(_-0xv);
                        _-0xv = null;
                    };
                    _-4-t = true;
                    _-3Kq.push(this);
                };
            };
        }
        override protected function expose():void
        {
            super.expose();
            ITextWindow(_-0xv.findChildByTag(_-0WU)).underline = _-2QT;
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
        }
        override protected function conceal():void
        {
            super.conceal();
            ITextWindow(_-0xv.findChildByTag(_-0WU)).underline = _-2QT;
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
        }
        private function _-4Y8(_arg1:WindowMouseEvent):void
        {
            if (((!(disposed)) && (!(_-4Sx))))
            {
                if (!GAMES.gameCenterEnabled)
                {
                    GAMES.initGameDirectoryConnection();
                    _-2fD.sendGameTabTracking("SnowStorm");
                }
                else
                {
                    GAMES.showGameCenter("showGameCenter.playSnowStormTab", _-3lN._-40G);
                };
            };
        }

    }
}//package _-1qT

//------------------------------------------------------------
//_-1qT.FriendEntityTab

package _-1qT
{
    import __AS3__.vec.Vector;
    import _-Ew.IWindowContainer;
    import _-4yS._-1CF;
    import _-1lS._-4w0;
    import _-4yS._-4f9;
    import _-Ew.IWindow;
    import _-1ae.IItemListWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.ITextWindow;
    import flash.display.BitmapData;
    import _-0Ie.WindowMouseEvent;
    import _-3nP.Motions;
    import _-3nP.Combo;
    import _-3nP._-0Tg;
    import _-3nP._-4rB;
    import _-3nP._-2kr;
    import _-1ae.IRegionWindow;
    import _-1ae._-C7;
    import _-1lS._-HR;
    import _-1lS._-0Ce;
    import _-1lS._-4ry;
    import _-1lS._-2e3;
    import _-1lS._-0hJ;
    import _-1lS._-rE;
    import _-4yS._-1D2;
    import _-0Ie.WindowEvent;
    import flash.utils.getQualifiedClassName;
    import __AS3__.vec.*;

    public class FriendEntityTab extends _-4So 
    {

        private static const _-4MT:String = "entity_xml";
        private static const _-Bg:String = "facebook_piece_xml";
        private static const _-1gt:String = "controls_piece_xml";
        protected static const _-00C:String = "pieces";
        protected static const _-0g-:String = "icons";
        protected static const _-0YW:String = "header";
        protected static const _-1pL:String = "region_profile";
        protected static const _-SU:String = "facebook";
        protected static const _-1MC:String = "controls";
        protected static const _-1B6:String = "canvas";
        protected static const _-0nO:String = "name";
        protected static const MESSAGE:String = "btn_message";
        protected static const _-xW:String = "icon_message";
        protected static const _-1uC:String = "btn_visit";
        protected static const ICON:String = "icon";
        protected static const _-0WU:String = "label";
        protected static const _-sq:String = "notification";
        protected static const _-0BX:String = "button_profile";
        protected static const _-06r:String = "btn_game";
        protected static const _-0W9:String = "icon_game";
        protected static const _-25G:String = "icon_game_invite";
        protected static const _-0J6:String = "bubble";
        protected static const _-0fw:String = "bubble_message";
        protected static const _-4a-:String = "bubble_button_accept";
        protected static const _-3Uk:String = "bubble_button_close";
        protected static const _-0Br:String = "bubble_click_region_reject";
        private static const _-2xB:uint = 10338138;
        private static const _-1qy:uint = 13891476;
        private static const _-04C:String = null;
        private static const _-4BM:String = "icon_tag_notify";
        private static const _-NR:String = "icon_tag_message";
        private static const _-48A:String = "icon_tag_game";
        private static const _-R0:String = "icon_tag_game_invite";
        private static const _-3Kq:Vector.<FriendEntityTab> = new Vector.<FriendEntityTab>();
        private static const _-0EC:Vector.<IWindowContainer> = new Vector.<IWindowContainer>();

        protected var _-1GY:_-1CF;
        protected var _-1HL:Vector.<_-4w0>;
        protected var _-4uK:Boolean = false;
        protected var _-NN:Boolean = false;
        protected var _-2t:String;

        public static function _-2W5(_arg1:_-1CF):FriendEntityTab
        {
            var k:FriendEntityTab;
            var k:_-4f9;
            k = (((_-3Kq.length > 0)) ? _-3Kq.pop() : new (FriendEntityTab)());
            k._-4-t = false;
            k.friend = _arg1;
            if (_arg1.notifications.length > 0)
            {
                for each (k in _arg1.notifications)
                {
                    k._-3fr(k);
                };
            };
            return (k);
        }
        private static function _-4dM(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer;
            var k:IWindow;
            var k:IItemListWindow = IItemListWindow(_arg1.getChildByName(_-00C));
            k = (k.getListItemByName(_-SU) as IWindowContainer);
            if (k)
            {
                k.dispose();
            };
            k = (k.getListItemByName(_-1MC) as IWindowContainer);
            if (k)
            {
                k.dispose();
            };
            var k:Array = [];
            k._-07n(_-sq, k);
            if (k.length > 0)
            {
                for each (k in k)
                {
                    k.parent = null;
                };
            };
            _arg1.height = _-0KS;
            _arg1.y = 0;
        }

        public function set friend(_arg1:_-1CF):void
        {
            this._-1GY = _arg1;
            this.refresh();
        }
        public function get friend():_-1CF
        {
            return (this._-1GY);
        }
        override public function recycle():void
        {
            if (!disposed)
            {
                if (!_-4-t)
                {
                    if (_-0xv)
                    {
                        this._-3K2(_-0xv);
                        _-0xv = null;
                    };
                    if (this._-1HL)
                    {
                        while (this._-1HL.length > 0)
                        {
                            this._-1HL.pop().dispose();
                        };
                        this._-1HL = null;
                    };
                    this._-1GY = null;
                    this._-4uK = false;
                    this._-NN = false;
                    this._-2t = "";
                    _-4-t = true;
                    _-3Kq.push(this);
                };
            };
        }
        override public function select(_arg1:Boolean):void
        {
            var k:IItemListWindow;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:Boolean;
            var k:ITextWindow;
            var k:_-4w0;
            var k:IWindow;
            var k:IWindow;
            var _local10:IWindow;
            var k:String;
            if (!selected)
            {
                k = IItemListWindow(window.getChildByName(_-00C));
                k = false;
                if (((!((this.friend.realName == null))) && (!((this.friend.realName == "")))))
                {
                    k = (_-4gz.buildFromXML((_-14d.getAssetByName(_-Bg).content as XML)) as IWindowContainer);
                    k.name = _-SU;
                    k = (k.getChildByName(_-0nO) as ITextWindow);
                    k.caption = this.friend.realName;
                    if (!k.wordWrap)
                    {
                        _-0fR.crop(k);
                    };
                    k = IBitmapWrapperWindow(k.getChildByName(ICON));
                    k.bitmap = (_-14d.getAssetByName(k._-2Qt).content as BitmapData);
                    k.width = k.bitmap.width;
                    k.height = k.bitmap.height;
                    k.addListItem(k);
                    k = true;
                };
                if (this._-1HL)
                {
                    for each (k in this._-1HL)
                    {
                        k.addListItem(k._-01F);
                        k = true;
                    };
                };
                if (this.friend.online)
                {
                    k = (_-4gz.buildFromXML((_-14d.getAssetByName(_-1gt).content as XML)) as IWindowContainer);
                    k.name = _-1MC;
                    k = k.getChildByName(MESSAGE);
                    if (k)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-4Y8);
                    };
                    if (((!(this._-4uK)) && (!(this._-NN))))
                    {
                        k = k.getChildByName(_-06r);
                        if (k)
                        {
                            k.visible = false;
                        };
                        k = k.getChildByName(_-1uC);
                        if (k)
                        {
                            if (this.friend.allowFollow)
                            {
                                k.visible = true;
                                k.addEventListener(WindowMouseEvent._-90, this._-4Y8);
                            }
                            else
                            {
                                k.visible = false;
                            };
                        };
                    }
                    else
                    {
                        _local10 = k.getChildByName(_-1uC);
                        if (_local10)
                        {
                            _local10.visible = false;
                        };
                        k = k.getChildByName(_-06r);
                        if (k)
                        {
                            k = _-0vx.getKey((("gamecenter." + this._-2t) + ".name"));
                            _-0vx.registerParameter("friend.bar.game", "game", k);
                            _-0vx.registerParameter("friend.bar.game.tip", "game", k);
                            k.visible = true;
                            k.addEventListener(WindowMouseEvent._-90, this._-4Y8);
                        };
                    };
                    k = k.getChildByName(_-0BX);
                    if (k)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-4Y8);
                    };
                    k.addListItem(k);
                    k = true;
                };
                if (((((((_arg1) && (_-1RM))) && (k))) && ((Motions._-4UE(window) == null))))
                {
                    Motions._-Pp(new Combo(new _-0Tg(new _-4rB(window, _-36P, window.width, k.height), _-0eV), new _-0Tg(new _-2kr(window, _-36P, window.x, (_-0KS - k.height)), _-0eV)));
                }
                else
                {
                    if (k)
                    {
                        window.height = k.height;
                    };
                    window.y = (_-0KS - window.height);
                };
                super.select(_arg1);
                if (_arg1)
                {
                    if (_-1uY)
                    {
                        _-1uY.trackEventLog("FriendBar", "", "clicked", "", (((this.friend.logEventId > 0)) ? this.friend.logEventId : 0));
                    };
                    this.friend.logEventId = -1;
                };
            };
        }
        override public function deselect(_arg1:Boolean):void
        {
            var k:int;
            var k:_-4w0;
            if (selected)
            {
                if (_-0xv)
                {
                    _-4dM(_-0xv);
                    if (this._-1HL)
                    {
                        k = (this._-1HL.length - 1);
                        while (k > -1)
                        {
                            k = this._-1HL[k];
                            if (k._-0wQ)
                            {
                                this._-22s(k._-3sS, _arg1);
                            };
                            k--;
                        };
                    };
                };
                super.deselect(_arg1);
            };
            var k:IWindow = _-0xv.findChildByName(_-0J6);
            if (k)
            {
                k.visible = false;
            };
        }
        override protected function expose():void
        {
            super.expose();
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
            ITextWindow(_-0xv.findChildByTag(_-0WU)).underline = _-2QT;
        }
        override protected function conceal():void
        {
            super.conceal();
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
            ITextWindow(_-0xv.findChildByTag(_-0WU)).underline = _-2QT;
        }
        protected function refresh():void
        {
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            if (!_-0xv)
            {
                _-0xv = this._-2LC();
            };
            if (this._-1GY)
            {
                _-0xv.id = this._-1GY.id;
                k = (IItemListWindow(_-0xv.getChildByName(_-00C)).getListItemByName(_-0YW) as IWindowContainer);
                k.findChildByName(_-0nO).caption = this._-1GY.name;
                _-0fR.crop((k.getChildByName(_-0nO) as ITextWindow));
                k = IBitmapWrapperWindow(k.findChildByName(_-1B6));
                k.bitmap = _-4Cg.getAvatarFaceBitmap(this._-1GY.figure);
                k.width = k.bitmap.width;
                k.height = k.bitmap.height;
            };
        }
        private function _-2LC():IWindowContainer
        {
            var k:IWindowContainer = (((_-0EC.length > 0)) ? _-0EC.pop() : (_-4gz.buildFromXML((_-14d.getAssetByName(_-4MT).content as XML)) as IWindowContainer));
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(k.findChildByName(_-1B6));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-0YW));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-1pL));
            var k:IWindow = k.findChildByName(_-0g-);
            var k:_-C7 = (k.findChildByName(_-0J6) as _-C7);
            k.x = 0;
            k.y = 0;
            k.width = _-38n;
            k.height = _-0KS;
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.addEventListener(WindowMouseEvent._-90, this._-35I);
            k._-2QR = _-0vx.getKey("infostand.profile.link.tooltip", "");
            k._-1e = 100;
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k._-30Z = true;
            k.procedure = this._-3aF;
            k.y = -((k.height + 5));
            k.visible = false;
            return (k);
        }
        private function _-3K2(_arg1:IWindowContainer):void
        {
            var k:IRegionWindow;
            var k:IWindow;
            var k:IRegionWindow;
            var k:IBitmapWrapperWindow;
            if (((_arg1) && (!(_arg1.disposed))))
            {
                _arg1.procedure = null;
                _arg1.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                _arg1.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                _arg1.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                k = IRegionWindow(_arg1.findChildByName(_-0YW));
                k.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                k.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                k = _arg1.findChildByName(_-0g-);
                k.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4ea, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4e2, onMouseClick);
                k = IRegionWindow(_arg1.findChildByName(_-1pL));
                k.removeEventListener(WindowMouseEvent._-90, this._-35I);
                _arg1.width = _-38n;
                _arg1.height = _-0KS;
                _arg1.color = _-2xB;
                k = IBitmapWrapperWindow(_arg1.findChildByName(_-1B6));
                k.bitmap = null;
                ITextWindow(_arg1.findChildByTag("label")).underline = false;
                _-4dM(_arg1);
                if (_-0EC.indexOf(_arg1) == -1)
                {
                    _-0EC.push(_arg1);
                };
            };
        }
        private function _-4Y8(_arg1:WindowMouseEvent):void
        {
            if (((!(disposed)) && (!(_-4Sx))))
            {
                switch (_arg1.window.name)
                {
                    case MESSAGE:
                    case _-xW:
                        _-4Cg.removeMessengerNotifications();
                        if (((_-2fD) && (this._-1GY)))
                        {
                            _-2fD.startConversation(this._-1GY.id);
                            this.deselect(true);
                            if (_arg1.window.name == _-xW)
                            {
                                _-4Cg.setMessengerIconNotify(false);
                            };
                        };
                        return;
                    case _-1uC:
                        if (((_-2fD) && (this._-1GY)))
                        {
                            _-2fD.followToRoom(this._-1GY.id);
                            this.deselect(true);
                        };
                        return;
                    case _-0BX:
                        if (((_-2fD) && (this._-1GY)))
                        {
                            _-1uY.trackGoogle("extendedProfile", "friendToolbar_friendButton");
                            _-2fD.showProfile(this._-1GY.id);
                            this.deselect(true);
                        };
                        return;
                    case _-06r:
                    case _-0W9:
                        if (GAMES)
                        {
                            this.deselect(true);
                            if (!GAMES.gameCenterEnabled)
                            {
                                GAMES.initGameDirectoryConnection();
                                _-2fD.sendGameButtonTracking(this._-2t);
                            }
                            else
                            {
                                if (this._-NN)
                                {
                                    this._-2Bg();
                                }
                                else
                                {
                                    GAMES.showGameCenterByGameName("showGameCenter.friendEntityTab", this._-2t);
                                };
                            };
                        };
                        return;
                    case _-25G:
                        this.deselect(true);
                        this._-2Bg();
                        return;
                };
            };
        }
        private function _-2Bg():void
        {
            var k:IWindow;
            if (_-0xv)
            {
                k = _-0xv.findChildByName(_-0J6);
                _-0xv.findChildByName(_-0fw).caption = _-0vx.getKey((("gamecenter." + this._-2t) + ".name"));
                k.visible = true;
            };
        }
        protected function _-35I(_arg1:WindowMouseEvent):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                _-1uY.trackGoogle("extendedProfile", "friendBar_friendAvatar");
                _-2fD.showProfile(this._-1GY.id);
                this.deselect(true);
            };
        }
        public function _-3fr(_arg1:_-1D2):void
        {
            var k:_-4w0;
            var k:Vector.<_-4w0>;
            var k:IItemListWindow;
            var k:IWindow;
            this._-22s(_arg1._-3sS, false);
            if (!this._-1HL)
            {
                this._-1HL = new Vector.<_-4w0>();
            };
            var k:Boolean = selected;
            if (k)
            {
                k = this._-1HL;
                this._-1HL = null;
                this.deselect(false);
                this._-1HL = k;
            };
            var k:String = _-04C;
            switch (_arg1._-3sS)
            {
                case _-4f9._-1K:
                    k = new _-HR(this.friend, _arg1);
                    k._-1Sv.addEventListener(WindowMouseEvent._-90, onMouseClick);
                    k = _-4BM;
                    break;
                case _-4f9._-1aB:
                    k = new _-0Ce(this.friend, _arg1, _-0vx);
                    k._-1Sv.addEventListener(WindowMouseEvent._-90, onMouseClick);
                    k = _-4BM;
                    break;
                case _-4f9._-4j5:
                    k = new _-4ry(this.friend, _arg1);
                    k._-1Sv.addEventListener(WindowMouseEvent._-90, onMouseClick);
                    k = _-4BM;
                    break;
                case _-4f9._-0t5:
                    k = new _-2e3(this.friend, _arg1);
                    k._-1Sv.name = _-xW;
                    k._-1Sv.addEventListener(WindowMouseEvent._-90, this._-4Y8);
                    k = _-NR;
                    break;
                case _-4f9._-47T:
                    k = new _-0hJ(this.friend, _arg1);
                    k._-1Sv.name = _-0W9;
                    k._-1Sv.addEventListener(WindowMouseEvent._-90, onMouseClick);
                    k = _-48A;
                    this._-4uK = true;
                    this._-2t = k.notification.message;
                    break;
                case _-4f9._-26c:
                    this._-22s(_-4f9._-47T, true);
                    this._-4uK = false;
                    return;
                case _-4f9._-3aU:
                    k = new _-rE(this.friend, _arg1);
                    k._-1Sv.name = _-25G;
                    k._-1Sv.addEventListener(WindowMouseEvent._-90, this._-4Y8);
                    k = _-R0;
                    this._-NN = true;
                    this._-2t = k.notification.message;
                    break;
                default:
                    throw (new Error((("Unknown friend notification type: " + _arg1._-3sS) + "!")));
            };
            if (k)
            {
                this._-1HL.push(k);
                if (k != _-04C)
                {
                    k = IItemListWindow(_-0xv.findChildByName(_-0g-));
                    if (!k._-2yP(k))
                    {
                        k = k._-1Sv;
                        if (k.tags.indexOf(k) == -1)
                        {
                            k.tags.push(k);
                        };
                        k._-kE(k, 0);
                    };
                };
            };
            if (k)
            {
                this.select(false);
            };
        }
        public function _-22s(_arg1:int, _arg2:Boolean):void
        {
            var k:_-4w0;
            if (!this._-1HL)
            {
                return;
            };
            var k:int = (this._-1HL.length - 1);
            while (k > -1)
            {
                k = this._-1HL[k];
                if (k._-3sS == _arg1)
                {
                    this._-1HL.splice(k, 1);
                    if (_arg2)
                    {
                        this._-1GY.notifications.splice(this._-1GY.notifications.indexOf(k.notification), 1);
                    };
                    k.dispose();
                    return;
                };
                k--;
            };
        }
        private function _-3aF(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case _-4a-:
                        if (GAMES)
                        {
                            k = GAMES.getGameId(this._-2t);
                            GAMES.showGameCenter("showGameCenter.friendEntityTab", k);
                            GAMES.acceptGameInvite(k, this._-1GY.id);
                        };
                    case _-3Uk:
                    case _-0Br:
                        this._-NN = false;
                        this._-22s(_-4f9._-3aU, true);
                        this.deselect(true);
                        return;
                };
            };
        }
        public function toString():String
        {
            return (((getQualifiedClassName(this) + " ") + this._-1GY.name));
        }

    }
}//package _-1qT

//------------------------------------------------------------
//_-1qT.FriendRequestsTab

package _-1qT
{
    import _-Ew.IWindowContainer;
    import _-1ae._-C7;
    import _-1ae.IItemListWindow;
    import _-4yS._-6a;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-295.BitmapDataAsset;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;

    public class FriendRequestsTab extends _-4So 
    {

        protected static const _-2c0:String = "friend_requests_tab_xml";
        protected static const ICON:String = "icon";
        protected static const _-0WU:String = "label";
        protected static const _-0YW:String = "header";
        protected static const _-1B6:String = "canvas";
        protected static const _-0J6:String = "bubble";
        protected static const _-4CL:String = "request_entity_list";
        protected static const _-0nO:String = "name";
        protected static const _-4U4:String = "badge_counter";
        protected static const _-A9:String = "region_profile";
        protected static const _-1fd:String = "region_profile_name";
        protected static const _-5FK:String = "button_accept_all";
        protected static const _-4SV:String = "click_area_discard_all";
        protected static const _-1SK:String = "button_close";
        protected static const _-91:String = "button_accept";
        protected static const _-1Rx:String = "click_area_discard";
        protected static const _-06E:String = "text_discard";
        private static const _-2xB:uint = 4294625561;
        private static const _-1qy:uint = 0xFFFFD966;
        private static const _-2p3:uint = 4289431312;
        private static const _-0FH:uint = 4290616362;
        private static const _-0bq:uint = 16770666;
        private static const _-13q:uint = 0xFFFFFF;

        private static var _-oG:FriendRequestsTab;

        private var _-3nc:Array;
        private var _-1U9:Boolean = false;
        private var _-4HM:IWindowContainer;

        public function FriendRequestsTab()
        {
            _-0xv = this._-2Jc();
        }
        public static function _-2W5(_arg1:Array):FriendRequestsTab
        {
            var k:FriendRequestsTab = ((_-oG) ? _-oG : new (FriendRequestsTab)());
            k._-4-t = false;
            k._-3nc = _arg1;
            k._-0xv.findChildByName(_-4U4).caption = String(_arg1.length);
            return (k);
        }

        override public function dispose():void
        {
            if (_-0xv)
            {
                this._-0I8(_-0xv);
                _-0xv = null;
            };
            if (this._-4HM)
            {
                this._-4HM.dispose();
                this._-4HM = null;
            };
            super.dispose();
        }
        override public function recycle():void
        {
            var k:_-C7;
            var k:IItemListWindow;
            if (!disposed)
            {
                if (!_-4-t)
                {
                    if (_-0xv)
                    {
                        k = (_-0xv.findChildByName(_-0J6) as _-C7);
                        if (k)
                        {
                            k = (k.content.getChildByName(_-4CL) as IItemListWindow);
                            if (k)
                            {
                                while (k.numListItems > 0)
                                {
                                    k._-3yK(0).dispose();
                                };
                            };
                        };
                    };
                    this._-1U9 = false;
                    this._-3nc = null;
                    _-4-t = true;
                    _-oG = this;
                };
            };
        }
        override public function select(_arg1:Boolean):void
        {
            var k:_-C7;
            var k:IItemListWindow;
            var k:IWindowContainer;
            var k:_-6a;
            var k:IBitmapWrapperWindow;
            var k:int;
            var k:int;
            var k:BitmapData;
            if (!selected)
            {
                if (_-0xv)
                {
                    k = (_-0xv.findChildByName(_-0J6) as _-C7);
                    if (k)
                    {
                        k.visible = true;
                        if (!this._-1U9)
                        {
                            k = (k.content.getChildByName(_-4CL) as IItemListWindow);
                            if (k)
                            {
                                k = 0;
                                k = 0;
                                while (k < this._-3nc.length)
                                {
                                    k = (this._-4HM.clone() as IWindowContainer);
                                    k.color = ((((k % 2) == 0)) ? _-2p3 : _-0FH);
                                    k = this._-3nc[k];
                                    k.id = k.id;
                                    k.findChildByName(_-0nO).caption = k.name;
                                    k = (k.findChildByName(_-1B6) as IBitmapWrapperWindow);
                                    k = _-4Cg.getAvatarFaceBitmap(k.figure);
                                    if (k)
                                    {
                                        k._-30Z = false;
                                        k.bitmap = k;
                                        k.width = k.width;
                                        k.height = k.height;
                                        k._-30Z = true;
                                    };
                                    k.addListItem(k);
                                    k = (k + (k.height + k.spacing));
                                    k++;
                                };
                                k.height = k;
                            };
                        };
                        this._-1U9 = true;
                    };
                };
                super.select(_arg1);
            };
        }
        override public function deselect(_arg1:Boolean):void
        {
            var k:IWindow;
            if (selected)
            {
                if (_-0xv)
                {
                    k = _-0xv.findChildByName(_-0J6);
                    if (k)
                    {
                        k.visible = false;
                    };
                };
                super.deselect(_arg1);
            };
        }
        override protected function expose():void
        {
            super.expose();
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
            ITextWindow(_-0xv.findChildByTag(_-0WU)).underline = _-2QT;
        }
        override protected function conceal():void
        {
            super.conceal();
            _-0xv.color = ((_-2QT) ? _-1qy : _-2xB);
            ITextWindow(_-0xv.findChildByTag(_-0WU)).underline = _-2QT;
        }
        private function _-2Jc():IWindowContainer
        {
            var k:BitmapDataAsset;
            var k:IWindowContainer = (_-4gz.buildFromXML((_-14d.getAssetByName(_-2c0).content as XML)) as IWindowContainer);
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(k.findChildByName(_-1B6));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-0YW));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-A9));
            var k:IRegionWindow = IRegionWindow(k.findChildByName(_-1fd));
            var k:_-C7 = (k.findChildByName(_-0J6) as _-C7);
            k.x = 0;
            k.y = 0;
            k.width = _-38n;
            k.height = _-0KS;
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.addEventListener(WindowMouseEvent._-90, onMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k._-2QR = _-0vx.getKey("infostand.profile.link.tooltip", "");
            k._-1e = 100;
            k._-2QR = _-0vx.getKey("infostand.profile.link.tooltip", "");
            k._-1e = 100;
            k._-30Z = true;
            k.visible = false;
            k.y = (-((k.height - (k.height - k.margins.bottom))) - 1);
            k.procedure = this._-3aF;
            k = (_-14d.getAssetByName("add_friends_icon_png") as BitmapDataAsset);
            var k:IBitmapWrapperWindow = (k.findChildByName(ICON) as IBitmapWrapperWindow);
            k._-30Z = false;
            k.bitmap = (k.content as BitmapData);
            var k:IItemListWindow = (k.content.getChildByName(_-4CL) as IItemListWindow);
            this._-4HM = (k._-3yK(0) as IWindowContainer);
            return (k);
        }
        private function _-0I8(_arg1:IWindowContainer):void
        {
            var k:IRegionWindow;
            var k:IBitmapWrapperWindow;
            if (((_arg1) && (!(_arg1.disposed))))
            {
                _arg1.procedure = null;
                _arg1.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                _arg1.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                _arg1.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                k = IRegionWindow(_arg1.findChildByName(_-0YW));
                k.removeEventListener(WindowMouseEvent._-90, onMouseClick);
                k.removeEventListener(WindowMouseEvent._-4ea, _-1hF);
                k.removeEventListener(WindowMouseEvent._-4e2, _-45Q);
                _arg1.width = _-38n;
                _arg1.height = _-0KS;
                _arg1.color = _-2xB;
                k = IBitmapWrapperWindow(_arg1.findChildByName(_-1B6));
                k.bitmap = null;
                ITextWindow(_arg1.findChildByTag(_-0WU)).underline = false;
            };
        }
        private function _-3aF(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case _-1SK:
                        if (selected)
                        {
                            _-4Cg.deSelect(true);
                        };
                        break;
                    case _-5FK:
                        _-2fD.acceptAllFriendRequests();
                        break;
                    case _-4SV:
                        _-2fD.declineAllFriendRequests();
                        break;
                    case _-91:
                        _-2fD.acceptFriendRequest(_arg2.parent.id);
                        break;
                    case _-1Rx:
                        _-2fD.declineFriendRequest(_arg2.parent.id);
                        break;
                    case _-A9:
                        _-1uY.trackGoogle("extendedProfile", "friendBar_multipleFriendRequestsAvatar");
                        _-2fD.showProfile(_arg2.parent.id);
                        break;
                    case _-1fd:
                        _-1uY.trackGoogle("extendedProfile", "friendBar_multipleFriendRequestsName");
                        _-2fD.showProfile(_arg2.parent.id);
                        break;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    if (_arg2.name == _-1Rx)
                    {
                        ITextWindow(IWindowContainer(_arg2).getChildByName(_-06E)).textColor = _-0bq;
                    };
                    if (_arg2.name == _-1fd)
                    {
                        ITextWindow(IWindowContainer(_arg2).getChildByName(_-0nO)).underline = true;
                    };
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        if (_arg2.name == _-1Rx)
                        {
                            ITextWindow(IWindowContainer(_arg2).getChildByName(_-06E)).textColor = _-13q;
                        };
                        if (_arg2.name == _-1fd)
                        {
                            ITextWindow(IWindowContainer(_arg2).getChildByName(_-0nO)).underline = false;
                        };
                    };
                };
            };
        }
        public function _-0-V(_arg1:_-6a, _arg2:BitmapData):void
        {
            var k:IItemListWindow;
            var k:IWindowContainer;
            var k:int;
            var k:IBitmapWrapperWindow;
            if (disposed)
            {
                return;
            };
            var k:_-C7 = (_-0xv.findChildByName(_-0J6) as _-C7);
            if (k)
            {
                k = (k.content.getChildByName(_-4CL) as IItemListWindow);
                if (k)
                {
                    k = 0;
                    while (k < k.numListItems)
                    {
                        k = (k.getListItemAt(k) as IWindowContainer);
                        if (k.id == _arg1.id)
                        {
                            k = (k.findChildByName(_-1B6) as IBitmapWrapperWindow);
                            k._-30Z = true;
                            k.bitmap = _arg2;
                            k.width = _arg2.width;
                            k.height = _arg2.height;
                            return;
                        };
                        k++;
                    };
                };
            };
        }

    }
}//package _-1qT

//------------------------------------------------------------
//_-1R1._-06I

package _-1R1
{
    import _-wm._-2yt;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-0qc._-2fb;

    public class _-06I extends _-2EN 
    {

        public function _-06I(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-2yt(this._-54T));
        }
        private function _-54T(_arg1:_-2yt):void
        {
            if ((((_arg1 == null)) || ((connection == null))))
            {
                return;
            };
            connection.send(new _-2fb());
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-0g9

package _-1R1
{
    import _-1Ho._-3Ha;
    import _-1Ho._-4iP;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-yT._-0QM;
    import _-1Jd._-4JJ;
    import _-1-X._-Tq;
    import _-1-X._-2At;

    public class _-0g9 extends _-2EN 
    {

        public function _-0g9(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (!_arg1)
            {
                return;
            };
            _arg1.addMessageEvent(new _-3Ha(this._-3Lu));
            _arg1.addMessageEvent(new _-4iP(this._-0dS));
        }
        private function _-3Lu(_arg1:_-3Ha):void
        {
            var k:_-0QM;
            if (!_arg1)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:_-Tq = _arg1._-3-5();
            k = new _-0QM(_-0QM._-3Wu, k, k.question, k.choices);
            _-3z4.events.dispatchEvent(k);
        }
        private function _-0dS(_arg1:_-4iP):void
        {
            var k:_-0QM;
            if (!_arg1)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:_-2At = _arg1._-3-5();
            k = new _-0QM(_-0QM._-4MV, k, k.question, k.choices, k.votes, k._-3DO);
            _-3z4.events.dispatchEvent(k);
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-0sQ

package _-1R1
{
    import _-3vB._-4hu;
    import _-3vB._-27J;
    import _-3vB._-3v6;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-1Jd._-4JJ;
    import _-4Aj._-0tL;
    import _-1C6._-4ky;

    public class _-0sQ extends _-2EN 
    {

        public function _-0sQ(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-4hu(this._-0s9));
            _arg1.addMessageEvent(new _-27J(this._-1Y9));
            _arg1.addMessageEvent(new _-3v6(this._-0Sa));
        }
        private function _-0s9(_arg1:_-0tL):void
        {
            var k:_-4hu = (_arg1 as _-4hu);
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            k._-125 = k._-3-5()._-125;
        }
        private function _-1Y9(_arg1:_-0tL):void
        {
            var k:_-27J = (_arg1 as _-27J);
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            k._-125 = _-4ky._-1uk;
        }
        private function _-0Sa(_arg1:_-0tL):void
        {
            var k:_-3v6 = (_arg1 as _-3v6);
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            k._-49x = true;
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-0Vj

package _-1R1
{
    import _-1LV._-0AC;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-3wI._-3zU;
    import _-1Jd._-4JJ;
    import _-yT._-gk;
    import _-4Aj._-0tL;

    public class _-0Vj extends _-2EN 
    {

        public function _-0Vj(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-0AC(this._-1lX));
        }
        private function _-1lX(_arg1:_-0tL):void
        {
            var k:_-3zU = (_arg1 as _-0AC)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:int = k.roomId;
            var k:int = k.roomCategory;
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            if (((_-3z4) && (_-3z4.events)))
            {
                _-3z4.events.dispatchEvent(new _-gk(_-gk._-1JI, k, k._-YT, k._-15x, k._-1A8, k._-17T, k._-eZ, k._-3dZ, k._-uc));
            };
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-0X0

package _-1R1
{
    import _-1LV._-3iS;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-1LV._-2KW;
    import _-3wI.RoomDimmerPresetsMessageParser;
    import _-1Jd._-4JJ;
    import _-yT.RoomSessionDimmerPresetsEvent;
    import _-4Aj._-0tL;

    public class _-0X0 extends _-2EN 
    {

        public function _-0X0(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-3iS(this._-3Mn));
        }
        private function _-3Mn(_arg1:_-0tL):void
        {
            var k:_-2KW;
            var k:_-3iS = (_arg1 as _-3iS);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:RoomDimmerPresetsMessageParser = k._-3-5();
            var k:int = k.roomId;
            var k:int = k.roomCategory;
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:RoomSessionDimmerPresetsEvent = new RoomSessionDimmerPresetsEvent(RoomSessionDimmerPresetsEvent._-3Qp, k);
            k._-39D = k._-39D;
            var k:int;
            while (k < k._-Mr)
            {
                k = k._-1I7(k);
                if (k != null)
                {
                    k._-5ER(k.id, k.type, k.color, k._-IP);
                };
                k++;
            };
            if (((_-3z4) && (_-3z4.events)))
            {
                _-3z4.events.dispatchEvent(k);
            };
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-1NQ

package _-1R1
{
    import _-1LV._-34h;
    import _-1LV._-4Zv;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-3wI._-2EX;
    import _-1Jd._-4JJ;
    import _-yT._-1P7;
    import _-4Aj._-0tL;
    import _-3wI._-4-n;

    public class _-1NQ extends _-2EN 
    {

        public function _-1NQ(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-34h(this._-1vO));
            _arg1.addMessageEvent(new _-4Zv(this._-lp));
        }
        private function _-1vO(_arg1:_-0tL):void
        {
            var k:_-2EX = (_arg1 as _-34h)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            if (((_-3z4) && (_-3z4.events)))
            {
                _-3z4.events.dispatchEvent(new _-1P7(_-1P7._-1iG, k));
            };
        }
        private function _-lp(_arg1:_-0tL):void
        {
            var k:_-4-n = (_arg1 as _-4Zv)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            if (((_-3z4) && (_-3z4.events)))
            {
                _-3z4.events.dispatchEvent(new _-1P7(_-1P7._-V7, k));
            };
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-1Nt

package _-1R1
{
    import _-4OG._-Ex;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-55m._-2Vu;
    import _-1Jd._-4JJ;
    import _-4OG._-3pI;
    import _-yT._-2vm;
    import _-4Aj._-0tL;

    public class _-1Nt extends _-2EN 
    {

        public function _-1Nt(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-Ex(this._-4Fq));
        }
        private function _-4Fq(_arg1:_-0tL):void
        {
            var k:_-Ex = (_arg1 as _-Ex);
            if (k == null)
            {
                return;
            };
            var k:_-2Vu = k._-3-5();
            if (k._-31S)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:_-3pI = k.data;
            k._-YP = k._-YP;
            k._-5J = !((k._-i5 == 0));
            k._-sS = k._-2l6;
            k._-1so = k._-1so;
            _-3z4.events.dispatchEvent(new _-2vm(_-2vm._-0zH, k));
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-2BI

package _-1R1
{
    import _-1Q8._-4mq;
    import _-1Q8._-5-V;
    import _-2It._-2Oz;
    import _-4OG._-1ZY;
    import _-1Q8._-0PF;
    import _-2It._-1r3;
    import _-0Z1._-3UG;
    import _-0Z1._-2CT;
    import _-0Z1._-4HB;
    import _-0Z1._-1ah;
    import _-0Z1._-0yS;
    import _-0Yi._-1R0;
    import _-0Z1._-2ZU;
    import _-0Z1._-4d7;
    import _-0Yi._-14D;
    import _-0Yi._-5Ap;
    import _-0NX._-44X;
    import _-2JC._-4q9;
    import _-2ch._-3qn;
    import _-1Q8._-3xE;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-yT._-4Ky;
    import _-Co._-1nZ;
    import _-1Jd._-4JJ;
    import _-1Jd._-4LX;
    import _-4Aj._-0tL;
    import _-1Q8._-2ML;
    import _-1Jd._-1cF;
    import _-Co.UsersMessageParser;
    import _-yT._-3Yq;
    import _-Co._-0IM;
    import _-yT._-2o-;
    import _-yT._-1eF;
    import _-yT._-56t;
    import _-ta._-zs;
    import _-3wm._-1zA;
    import _-1Jd._-4pQ;
    import _-yT._-3r;
    import _-3wm._-2y4;
    import _-yT._-4l5;
    import _-3wm._-1mY;
    import _-yT._-2Ny;
    import _-Os._-IF;
    import _-yT._-27a;
    import _-Os._-1kL;
    import _-yT._-04X;
    import _-Os._-406;
    import _-yT._-0Re;
    import _-3wm._-4vk;
    import _-yT._-1W3;
    import _-3wm._-4jH;
    import _-yT._-0vO;
    import _-3wm._-4JX;
    import _-yT._-0at;
    import _-yT._-1P7;
    import _-1Wu._-h1;
    import _-2JC._-4ni;
    import _-yT._-X3;
    import _-4qx._-4bL;
    import _-yT._-25b;

    public class _-2BI extends _-2EN 
    {

        public function _-2BI(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-4mq(this._-3K9));
            _arg1.addMessageEvent(new _-5-V(this._-OE));
            _arg1.addMessageEvent(new _-2Oz(this._-3fe));
            _arg1.addMessageEvent(new _-1ZY(this._-3wP));
            _arg1.addMessageEvent(new _-0PF(this._-374));
            _arg1.addMessageEvent(new _-1r3(this._-1LE));
            _arg1.addMessageEvent(new _-3UG(this._-bR));
            _arg1.addMessageEvent(new _-2CT(this._-24W));
            _arg1.addMessageEvent(new _-4HB(this._-2Rk));
            _arg1.addMessageEvent(new _-1ah(this._-2Hd));
            _arg1.addMessageEvent(new _-0yS(this._-0a1));
            _arg1.addMessageEvent(new _-1R0(this._-UJ));
            _arg1.addMessageEvent(new _-2ZU(this._-035));
            _arg1.addMessageEvent(new _-4d7(this._-3wE));
            _arg1.addMessageEvent(new _-14D(this._-1Hy));
            _arg1.addMessageEvent(new _-5Ap(this._-0E));
            _arg1.addMessageEvent(new _-44X(this._-17));
            _arg1.addMessageEvent(new _-4q9(this._-0j5));
            _arg1.addMessageEvent(new _-3qn(this._-4cU));
            _arg1.addMessageEvent(new _-3xE(this._-27O));
        }
        private function _-27O(_arg1:_-0tL):void
        {
            var k:_-4Ky;
            var k:_-1nZ = _-3xE(_arg1)._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:_-4LX = k.userDataManager.getUserDataByIndex(k._-0KC);
            if (k == null)
            {
                return;
            };
            k._-2oZ = ("" + k._-i5);
            k.groupName = k._-5E0;
            if (((_-3z4) && (_-3z4.events)))
            {
                k = new _-4Ky(k, k._-0KC, k._-i5, k.status, k._-5E0);
                _-3z4.events.dispatchEvent(k);
            };
        }
        private function _-3K9(_arg1:_-0tL):void
        {
            var k:_-2ML;
            var k:_-1cF;
            var k:_-4mq = (_arg1 as _-4mq);
            if (k == null)
            {
                return;
            };
            var k:UsersMessageParser = k._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:int;
            while (k < k._-2cL())
            {
                k = k._-4d0(k);
                k = new _-1cF(k._-0KC);
                k.name = k.name;
                k.custom = k.custom;
                k._-4pE = k._-4pE;
                k.figure = k.figure;
                k.type = k._-5EQ;
                k._-2-w = k._-2-w;
                k._-2oZ = k._-2oZ;
                k.groupName = k.groupName;
                k._-5Bj = k._-5Bj;
                k._-af = k._-af;
                k._-nJ = k._-nJ;
                k._-0aC = k._-0aC;
                k.rarityLevel = k.rarityLevel;
                k._-05m = k._-05m;
                k._-0mh = k._-0mh;
                k._-4a2 = k._-4a2;
                k._-02Z = k._-02Z;
                k._-2gH = k._-2gH;
                k._-4td = k._-4td;
                k._-4mx = k._-4mx;
                k._-0zR = k._-0zR;
                k.userDataManager._-4xp(k);
                k++;
            };
            _-3z4.events.dispatchEvent(new _-3Yq(k));
        }
        private function _-OE(_arg1:_-0tL):void
        {
            var k:_-5-V = (_arg1 as _-5-V);
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:int = (k._-3-5() as _-0IM).id;
            k.userDataManager._-Hx(k);
        }
        private function _-3fe(_arg1:_-0tL):void
        {
            var k:_-2Oz = (_arg1 as _-2Oz);
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            k.userDataManager._-2hn(k.userId, k.badges);
            _-3z4.events.dispatchEvent(new _-2o-(k, k.userId, k.badges));
        }
        private function _-3wP(_arg1:_-0tL):void
        {
            var k:_-1ZY = (_arg1 as _-1ZY);
            if (k == null)
            {
                return;
            };
            if (k.userName == "")
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            _-3z4.events.dispatchEvent(new _-1eF(_-1eF._-0Dp, k, k.userName));
        }
        private function _-374(_arg1:_-0tL):void
        {
            var k:_-0PF = (_arg1 as _-0PF);
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            if (k.id >= 0)
            {
                k.userDataManager._-51(k.id, k.figure, k._-af, false, false);
                k.userDataManager._-0rX(k.id, k._-1Yh);
                k.userDataManager._-2eO(k.id, k._-4pE);
                _-3z4.events.dispatchEvent(new _-56t(k, k.id, k.figure, k._-af, k._-1Yh, k._-4pE));
            };
        }
        private function _-1LE(_arg1:_-0tL):void
        {
            var k:_-1r3 = (_arg1 as _-1r3);
            if (k == null)
            {
                return;
            };
            var k:_-zs = k._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            k.userDataManager._-2XW(k.id, k._-3A7);
        }
        private function _-bR(_arg1:_-0tL):void
        {
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:_-3UG = (_arg1 as _-3UG);
            if (k == null)
            {
                return;
            };
            var k:_-1zA = k._-3-5();
            var k:_-4pQ = new _-4pQ();
            k._-3yD = k._-3yD;
            k.level = k.level;
            k._-0Cc = k._-3uj;
            k.experience = k.experience;
            k._-2fu = k._-2Lg;
            k.energy = k.energy;
            k._-Ds = k._-43L;
            k._-4Z1 = k._-4Z1;
            k._-3IJ = k._-26r;
            k._-nJ = k._-nJ;
            k._-0aC = k._-0aC;
            k.respect = k.respect;
            k.age = k.age;
            k._-0qy = k._-0qy;
            k._-2U8 = k._-2U8;
            k._-0mh = k._-0mh;
            k._-4a2 = k._-4a2;
            k._-02Z = k._-02Z;
            k.rarityLevel = k.rarityLevel;
            k._-2gH = k._-2gH;
            k._-2YM = k._-2YM;
            k._-3fV = k._-3fV;
            k._-0E2 = k._-0E2;
            k._-0Ez = k._-0Ez;
            k._-35w = k._-35w;
            k._-4td = k._-4td;
            _-3z4.events.dispatchEvent(new _-3r(k, k));
        }
        private function _-2Hd(_arg1:_-0tL):void
        {
            var k:_-1ah = (_arg1 as _-1ah);
            if (k == null)
            {
                return;
            };
            var k:_-2y4 = k._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:String = k.figureData._-11I;
            var k:int = k._-0KC;
            var k:int = k._-3yD;
            var k:Boolean = k._-05m;
            var k:Boolean = k._-0mh;
            k.userDataManager._-51(k, k, "", k, k);
            _-3z4.events.dispatchEvent(new _-4l5(k, k, k));
        }
        private function _-0a1(_arg1:_-0tL):void
        {
            var k:_-0yS = (_arg1 as _-0yS);
            if (k == null)
            {
                return;
            };
            var k:_-1mY = k._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            _-3z4.events.dispatchEvent(new _-2Ny(k, k.class, k._-0GL));
        }
        private function _-1Hy(_arg1:_-14D):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-IF = (_arg1.parser as _-IF);
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            _-3z4.events.dispatchEvent(new _-27a(k, k._-4rm, k.pet1, k.pet2, k._-4pB, k._-0Bx));
        }
        private function _-0E(_arg1:_-5Ap):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-1kL = (_arg1.parser as _-1kL);
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            _-3z4.events.dispatchEvent(new _-04X(k, k._-0YR, k.result));
        }
        private function _-UJ(_arg1:_-0tL):void
        {
            var k:_-1R0 = (_arg1 as _-1R0);
            if (k == null)
            {
                return;
            };
            var k:_-406 = k._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            _-3z4.events.dispatchEvent(new _-0Re(k, k.state, k._-4Mj, k._-OO));
        }
        private function _-035(_arg1:_-0tL):void
        {
            var k:_-2ZU = (_arg1 as _-2ZU);
            if (k == null)
            {
                return;
            };
            var k:_-4vk = k._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:int = k._-0KC;
            var k:int = k._-3yD;
            var k:Boolean = k._-02Z;
            var k:Boolean = k._-2gH;
            var k:Boolean = k._-4a2;
            var k:Boolean = k._-4td;
            k.userDataManager._-4lh(k, k, k, k, k);
            _-3z4.events.dispatchEvent(new _-1W3(k, k, k, k, k, k));
        }
        private function _-3wE(_arg1:_-0tL):void
        {
            var k:_-4d7 = (_arg1 as _-4d7);
            if (k == null)
            {
                return;
            };
            var k:_-4jH = k._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:int = k._-0KC;
            var k:int = k._-3yD;
            var k:int = k.level;
            k.userDataManager._-1r1(k, k);
            _-3z4.events.dispatchEvent(new _-0vO(k, k, k));
        }
        private function _-24W(_arg1:_-0tL):void
        {
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:_-2CT = (_arg1 as _-2CT);
            if (k == null)
            {
                return;
            };
            var k:_-4JX = k._-3-5();
            if (k != null)
            {
                _-3z4.events.dispatchEvent(new _-0at(k, k._-3yD, k._-O2, k._-1sl));
            };
        }
        private function _-2Rk(_arg1:_-4HB):void
        {
            var k:String;
            if ((((_arg1 == null)) || ((_arg1._-3-5() == null))))
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            switch (_arg1._-3-5().errorCode)
            {
                case 0:
                    k = _-1P7._-ha;
                    break;
                case 1:
                    k = _-1P7._-3v8;
                    break;
                case 2:
                    k = _-1P7._-4Eg;
                    break;
                case 3:
                    k = _-1P7._-2da;
                    break;
                case 4:
                    k = _-1P7._-4UN;
                    break;
                case 5:
                    k = _-1P7._-0mm;
                    break;
            };
            if (k != null)
            {
                _-3z4.events.dispatchEvent(new _-1P7(k, k));
            };
        }
        private function _-17(_arg1:_-44X):void
        {
            var k:String;
            if ((((_arg1 == null)) || ((_arg1._-3-5() == null))))
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            switch (_arg1._-3-5().errorCode)
            {
                case 0:
                    k = _-1P7._-59P;
                    break;
                case 1:
                    k = _-1P7._-3zE;
                    break;
                case 2:
                    k = _-1P7._-3lI;
                    break;
                case 3:
                    k = _-1P7._-3KK;
                    break;
                case 4:
                    k = _-1P7._-1YU;
                    break;
            };
            if (k != null)
            {
                _-3z4.events.dispatchEvent(new _-1P7(k, k));
            };
        }
        private function _-0j5(_arg1:_-4q9):void
        {
            if (((((!(_arg1)) || (!(_-3z4)))) || (!(_-3z4.events))))
            {
                return;
            };
            var k:_-h1 = _arg1._-3-5();
            if (!k)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (!k)
            {
                return;
            };
            var k:_-4ni = k.req;
            if (!k)
            {
                return;
            };
            _-3z4.events.dispatchEvent(new _-X3(k, k._-0nn, k._-0nn, k._-0Lf));
        }
        private function _-4cU(_arg1:_-3qn):void
        {
            var k:_-4bL = _arg1._-3-5();
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            _-3z4.events.dispatchEvent(new _-25b(k, k.userId, k._-Xk));
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-2d3

package _-1R1
{
    import _-1Q8._-2Ul;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-Co._-4Z5;
    import _-1Jd._-4JJ;
    import _-yT._-1P7;
    import _-1C6._-1fF;
    import _-4Aj._-0tL;

    public class _-2d3 extends _-2EN 
    {

        public function _-2d3(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-2Ul(this._-2j4));
        }
        private function _-2j4(_arg1:_-0tL):void
        {
            var k:String;
            var k:_-4Z5 = (_arg1 as _-2Ul)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            switch (k.errorCode)
            {
                case _-1fF._-0Jz:
                    k = _-1P7._-0Jz;
                    break;
                case _-1fF._-4c9:
                    k = _-1P7._-4c9;
                    break;
                case _-1fF._-2Ae:
                    k = _-1P7._-2Ae;
                    break;
                case _-1fF._-4Eg:
                    k = _-1P7._-4Eg;
                    break;
                case _-1fF._-1RA:
                    k = _-1P7._-1RA;
                    break;
                case _-1fF._-2iG:
                    k = _-1P7._-2iG;
                    break;
                case _-1fF._-FU:
                    k = _-1P7._-FU;
                    break;
                default:
                    return;
            };
            if (((_-3z4) && (_-3z4.events)))
            {
                _-3z4.events.dispatchEvent(new _-1P7(k, k));
            };
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-2EN

package _-1R1
{
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-1B-.*;

    public class _-2EN implements _-1zZ 
    {

        private var _-51u:_-1ZV;
        private var _-5Dn:_-4iR;
        private var _disposed:Boolean = false;
        public var _-0e-:int;
        public var _-0mk:int;

        public function _-2EN(_arg1:_-1ZV, _arg2:_-4iR)
        {
            this._-51u = _arg1;
            this._-5Dn = _arg2;
        }
        public function dispose():void
        {
            this._-51u = null;
            this._-5Dn = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get connection():_-1ZV
        {
            return (this._-51u);
        }
        public function get _-3z4():_-4iR
        {
            return (this._-5Dn);
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-3au

package _-1R1
{
    import _-1Ho._-2SH;
    import _-1Ho._-2Le;
    import _-1Ho._-3Hm;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-yT._-2f7;
    import _-1Jd._-4JJ;
    import _-1-X._-3Id;
    import _-1-X._-3xp;
    import _-1-X.PollContentsParser;

    public class _-3au extends _-2EN 
    {

        public function _-3au(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (!_arg1)
            {
                return;
            };
            _arg1.addMessageEvent(new _-2SH(this._-0Fu));
            _arg1.addMessageEvent(new _-2Le(this._-d8));
            _arg1.addMessageEvent(new _-3Hm(this._-mZ));
        }
        private function _-d8(_arg1:_-2Le):void
        {
            var k:_-2f7;
            if (!_arg1)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:_-3Id = _arg1._-3-5();
            k = new _-2f7(_-2f7._-5-I, k, k.id);
            k.summary = k.summary;
            _-3z4.events.dispatchEvent(k);
        }
        private function _-mZ(_arg1:_-3Hm):void
        {
            var k:_-2f7;
            if (!_arg1)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:_-3xp = _arg1._-3-5();
            k = new _-2f7(_-2f7._-080, k, -1);
            k.summary = "???";
            _-3z4.events.dispatchEvent(k);
        }
        private function _-0Fu(_arg1:_-2SH):void
        {
            var k:_-2f7;
            if (!_arg1)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:PollContentsParser = _arg1._-3-5();
            k = new _-2f7(_-2f7._-4Z-, k, k.id);
            k._-42v = k._-42v;
            k._-1X5 = k._-1X5;
            k._-2ez = k._-2ez;
            k._-5At = k._-5At;
            _-3z4.events.dispatchEvent(k);
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-3i4

package _-1R1
{
    import _-1LV._-1cf;
    import _-1LV._-1rq;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-3wI._-t4;
    import _-1Jd._-4JJ;
    import _-yT._-1Rr;
    import _-4Aj._-0tL;
    import _-3wI._-426;

    public class _-3i4 extends _-2EN 
    {

        public function _-3i4(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-1cf(this._-1pE));
            _arg1.addMessageEvent(new _-1rq(this._-3pd));
        }
        private function _-1pE(_arg1:_-0tL):void
        {
            var k:_-t4 = (_arg1 as _-1cf)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            if (((_-3z4) && (_-3z4.events)))
            {
                _-3z4.events.dispatchEvent(new _-1Rr(_-1Rr._-0AQ, k, k._-mx, k.figureData, 0, null));
            };
        }
        private function _-3pd(_arg1:_-0tL):void
        {
            var k:_-426 = (_arg1 as _-1rq)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            if (((_-3z4) && (_-3z4.events)))
            {
                _-3z4.events.dispatchEvent(new _-1Rr(_-1Rr._-0zD, k, k._-mx, null, k.nameValidationStatus, k.nameValidationInfo));
            };
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-3q1

package _-1R1
{
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-0ZI._-2gy;
    import _-1-P._-53d;
    import _-4Aj._-0tL;

    public class _-3q1 extends _-2EN 
    {

        public function _-3q1(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
        }
        private function _-4dV(_arg1:_-0tL):void
        {
            var k:_-2gy = (_arg1 as _-2gy);
            var k:_-53d = (k._-3-5() as _-53d);
            _-Nb.log(("Received active avatar effects: " + k.effects));
            if (((_-3z4) && (_-3z4.events)))
            {
            };
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-4Dd

package _-1R1
{
    import _-50N._-3Qo;
    import _-50N._-5Dt;
    import _-50N._-0Qm;
    import _-2It._-0G3;
    import _-2It._-4C1;
    import _-2It._-012;
    import _-50N._-Wf;
    import _-2It._-2td;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-1Jd._-4JJ;
    import _-352._-4jw;
    import _-yT._-Gi;
    import _-4Aj._-0tL;
    import _-1Jd._-4LX;
    import _-2HX._-1HE;
    import _-ta._-585;
    import _-ta._-0Np;
    import _-2It._-3ee;
    import _-352._-1NO;

    public class _-4Dd extends _-2EN 
    {

        public function _-4Dd(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-3Qo(this._-3ts));
            _arg1.addMessageEvent(new _-5Dt(this._-4J));
            _arg1.addMessageEvent(new _-0Qm(this._-1kr));
            _arg1.addMessageEvent(new _-0G3(this._-23D));
            _arg1.addMessageEvent(new _-4C1(this._-0N0));
            _arg1.addMessageEvent(new _-012(this._-1g0));
            _arg1.addMessageEvent(new _-Wf(this._-1Zz));
            _arg1.addMessageEvent(new _-2td(this._-1zr));
        }
        private function _-3ts(_arg1:_-0tL):void
        {
            var k:_-3Qo;
            var k:_-4JJ;
            var k:String;
            var k:int;
            var k:_-4jw;
            if (((_-3z4) && (_-3z4.events)))
            {
                k = (_arg1 as _-3Qo);
                if (((k) && (k._-3-5())))
                {
                    k = _-3z4.getSession(_-0e-, _-0mk);
                    if (k == null)
                    {
                        return;
                    };
                    k = _-Gi._-3Li;
                    k = _-Gi._-0Js;
                    k = k._-3-5();
                    if (k._-4Kg != -1)
                    {
                        k._-1wr(k._-4Kg);
                    };
                    _-3z4.events.dispatchEvent(new _-Gi(k, k, k.userId, k.text, k, k.styleId, k.links));
                };
            };
        }
        private function _-23D(_arg1:_-0tL):void
        {
            var k:_-4JJ;
            var k:String;
            var k:int;
            var k:_-4LX;
            var k:String;
            var k:_-0G3 = (_arg1 as _-0G3);
            if (((_-3z4) && (_-3z4.events)))
            {
                k = _-3z4.getSession(_-0e-, _-0mk);
                if (k == null)
                {
                    return;
                };
                k = _-Gi._-3Li;
                k = _-Gi._-3e-;
                k = k.userDataManager._-2Xd(k.userId);
                if (k == null)
                {
                    return;
                };
                k = "";
                _-3z4.events.dispatchEvent(new _-Gi(k, k, k.roomObjectId, k, k, _-1HE._-4Hr));
            };
        }
        private function _-0N0(_arg1:_-4C1):void
        {
            if ((((((_arg1 == null)) || ((_-3z4 == null)))) || ((_-3z4.events == null))))
            {
                return;
            };
            var k:_-585 = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:String = _-Gi._-3Li;
            var k:int = _-Gi._-Gx;
            if (k._-0XH())
            {
                k = _-Gi._-2ZO;
            };
            var k:_-4LX = k.userDataManager._-lD(k._-0FP.id);
            if (k == null)
            {
                return;
            };
            _-3z4.events.dispatchEvent(new _-Gi(k, k, k.roomObjectId, "", k, _-1HE._-4Hr));
        }
        private function _-1g0(_arg1:_-012):void
        {
            if ((((((_arg1 == null)) || ((_-3z4 == null)))) || ((_-3z4.events == null))))
            {
                return;
            };
            var k:_-0Np = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:String = _-Gi._-3Li;
            var k:int = _-Gi._-29a;
            switch (k._-4yu)
            {
                case _-3ee._-2sZ:
                    k = _-Gi._-29a;
                    break;
                case _-3ee._-1bv:
                    k = _-Gi._-Kf;
                    break;
                case _-3ee._-4oI:
                    k = _-Gi._-003;
                    break;
            };
            var k:_-4LX = k.userDataManager._-lD(k._-3yD);
            if (k == null)
            {
                return;
            };
            var k:int = -1;
            var k:_-4LX = k.userDataManager._-2Xd(k.userId);
            if (k != null)
            {
                k = k.roomObjectId;
            };
            _-3z4.events.dispatchEvent(new _-Gi(k, k, k.roomObjectId, "", k, _-1HE._-4Hr, null, k));
        }
        private function _-1zr(_arg1:_-2td):void
        {
            var k:_-4JJ;
            if (((_-3z4) && (_-3z4.events)))
            {
                k = _-3z4.getSession(_-0e-, _-0mk);
                if (k)
                {
                    _-3z4.events.dispatchEvent(new _-Gi(_-Gi._-3Li, k, _arg1._-Xt, "", _-Gi._-3Mt, _-1HE._-4Hr, null, _arg1._-3Oa));
                };
            };
        }
        private function _-4J(_arg1:_-0tL):void
        {
            var k:_-5Dt;
            var k:_-4JJ;
            var k:String;
            var k:int;
            var k:_-4jw;
            if (((_-3z4) && (_-3z4.events)))
            {
                k = (_arg1 as _-5Dt);
                if (((k) && (k._-3-5())))
                {
                    k = _-3z4.getSession(_-0e-, _-0mk);
                    if (k == null)
                    {
                        return;
                    };
                    k = _-Gi._-3Li;
                    k = _-Gi._-cB;
                    k = k._-3-5();
                    _-3z4.events.dispatchEvent(new _-Gi(k, k, k.userId, k.text, k, k.styleId, k.links));
                };
            };
        }
        private function _-1kr(_arg1:_-0tL):void
        {
            var k:_-0Qm;
            var k:_-4JJ;
            var k:String;
            var k:int;
            var k:_-4jw;
            if (((_-3z4) && (_-3z4.events)))
            {
                k = (_arg1 as _-0Qm);
                if (((k) && (k._-3-5())))
                {
                    k = _-3z4.getSession(_-0e-, _-0mk);
                    if (k == null)
                    {
                        return;
                    };
                    k = _-Gi._-3Li;
                    k = _-Gi._-3Oz;
                    k = k._-3-5();
                    _-3z4.events.dispatchEvent(new _-Gi(k, k, k.userId, k.text, k, k.styleId, k.links));
                };
            };
        }
        private function _-1Zz(_arg1:_-0tL):void
        {
            var k:_-1NO;
            var k:_-4JJ;
            var k:int;
            if (((_-3z4) && (_-3z4.events)))
            {
                k = (_arg1 as _-Wf)._-3-5();
                k = _-3z4.getSession(_-0e-, _-0mk);
                if (k == null)
                {
                    return;
                };
                k = k.seconds;
                _-Nb.log((("received flood control event for " + k) + " seconds"));
                _-3z4.events.dispatchEvent(new _-Gi(_-Gi._-0oo, k, -1, ("" + k), 0, 0, null));
            };
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-4FR

package _-1R1
{
    import _-2na._-3aG;
    import _-2na._-0rH;
    import _-2na._-3qY;
    import _-2na._-1G-;
    import _-4OG._-2oY;
    import _-2na._-51e;
    import _-2na._-1O7;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-4Aj._-0tL;
    import _-1Jd._-4JJ;
    import _-2tT._-4kF;
    import _-1zF._-41d;
    import _-yT._-1eF;
    import _-2tT._-3uk;
    import _-55m._-1Db;
    import _-2tT._-xA;
    import _-yT._-6C;
    import _-2tT._-1XA;

    public class _-4FR extends _-2EN 
    {

        public static const _-2aU:String = "RS_CONNECTED";
        public static const _-2A0:String = "RS_READY";
        public static const _-35j:String = "RS_DISCONNECTED";

        public function _-4FR(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-3aG(this._-229));
            _arg1.addMessageEvent(new _-0rH(this._-0mX));
            _arg1.addMessageEvent(new _-3qY(this._-0fE));
            _arg1.addMessageEvent(new _-1G-(this._-v-));
            _arg1.addMessageEvent(new _-2oY(this._-4Rg));
            _arg1.addMessageEvent(new _-51e(this._-9B));
            _arg1.addMessageEvent(new _-1O7(this._-0Mk));
        }
        private function _-229(_arg1:_-0tL):void
        {
            var k:int = _-0e-;
            var k:int = _-0mk;
            if (_-3z4)
            {
                _-3z4.sessionUpdate(k, k, _-4FR._-2aU);
            };
        }
        private function _-0mX(_arg1:_-0rH):void
        {
            var k:_-4JJ;
            var k:int = _-0e-;
            var k:int = _-0mk;
            var k:_-4kF = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            var k:String = k.userName;
            if ((((k == null)) || ((k.length == 0))))
            {
                connection.send(new _-41d(k));
            }
            else
            {
                if (((_-3z4) && (_-3z4.events)))
                {
                    k = _-3z4.getSession(k, k);
                    if (k != null)
                    {
                        _-3z4.events.dispatchEvent(new _-1eF(_-1eF._-4C6, k, k));
                    };
                };
            };
        }
        private function _-0fE(_arg1:_-0tL):void
        {
            var k:_-3uk;
            var k:int = _-0e-;
            var k:int = _-0mk;
            var k:int = k;
            var k:int = k;
            var k:_-3qY = (_arg1 as _-3qY);
            if (k != null)
            {
                k = k._-3-5();
                if (k != null)
                {
                    k = k.roomId;
                    k = k.roomCategory;
                };
            };
            if (_-3z4)
            {
                _-3z4.sessionReinitialize(k, k, k, k);
                _-3z4.sessionUpdate(k, k, _-4FR._-2A0);
            };
        }
        private function _-4Rg(_arg1:_-2oY):void
        {
            var k:_-4JJ;
            var k:int = _-0e-;
            var k:int = _-0mk;
            var k:_-1Db = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            var k:String = k.userName;
            if ((((k == null)) || ((k.length == 0))))
            {
                if (_-3z4)
                {
                    _-3z4.sessionUpdate(k, k, _-4FR._-35j);
                };
            }
            else
            {
                if (((_-3z4) && (_-3z4.events)))
                {
                    k = _-3z4.getSession(k, k);
                    if (k != null)
                    {
                        _-3z4.events.dispatchEvent(new _-1eF(_-1eF._-0Iv, k, k));
                    };
                };
            };
        }
        private function _-v-(_arg1:_-0tL):void
        {
            var k:int = _-0e-;
            var k:int = _-0mk;
            if (_-3z4)
            {
                _-3z4.sessionUpdate(k, k, _-4FR._-35j);
            };
        }
        private function _-9B(_arg1:_-51e):void
        {
            var k:_-xA;
            var k:_-6C;
            var k:Array;
            var k:int;
            var k:String;
            if ((((_-3z4 == null)) || ((_-3z4.events == null))))
            {
                return;
            };
            var k:_-1XA = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            var k:Array = k._-0XJ();
            var k:int = k._-1bW;
            for each (k in k)
            {
                k = k._-2QY(k);
                k = new _-6C(k, k.name, k.target, (k.target == k));
                k = k._-08-;
                for each (k in k)
                {
                    k._-1Co(k, k._-0E9(k));
                };
                _-3z4.events.dispatchEvent(k);
            };
        }
        private function _-0Mk(_arg1:_-1O7):void
        {
            if (_-3z4 == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            k._-25V = true;
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1R1._-oB

package _-1R1
{
    import _-1HK._-2bH;
    import _-2np._-1ZV;
    import _-1Jd._-4iR;
    import _-hT._-53I;
    import _-1Jd._-4JJ;
    import _-yT._-1P7;
    import _-1C6._-1FG;
    import _-4Aj._-0tL;

    public class _-oB extends _-2EN 
    {

        public function _-oB(_arg1:_-1ZV, _arg2:_-4iR)
        {
            super(_arg1, _arg2);
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addMessageEvent(new _-2bH(this._-4u4));
        }
        private function _-4u4(_arg1:_-0tL):void
        {
            var k:String;
            var k:_-53I = (_arg1 as _-2bH)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:_-4JJ = _-3z4.getSession(_-0e-, _-0mk);
            if (k == null)
            {
                return;
            };
            switch (k.errorCode)
            {
                case _-1FG._-3dk:
                    k = _-1P7._-04H;
                    break;
                case _-1FG._-4St:
                    k = _-1P7._-4St;
                    break;
                default:
                    return;
            };
            if (((_-3z4) && (_-3z4.events)))
            {
                _-3z4.events.dispatchEvent(new _-1P7(k, k));
            };
        }

    }
}//package _-1R1

//------------------------------------------------------------
//_-1rc._-0GM

package _-1rc
{
    import _-4Aj._-0s1;

    public class _-0GM 
    {

        private var _-1-h:int;
        private var _-Wd:String;
        private var _-4Cb:String;

        public function _-0GM(_arg1:_-0s1)
        {
            this._-1-h = _arg1._-2BW();
            this._-Wd = _arg1.readString();
            this._-4Cb = _arg1.readString();
        }
        public function get slotId():int
        {
            return (this._-1-h);
        }
        public function get _-11I():String
        {
            return (this._-Wd);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }

    }
}//package _-1rc

//------------------------------------------------------------
//_-1rc._-2fY

package _-1rc
{
    import _-4Aj._-7V;
    import _-2Zi._-En;
    import _-4Aj.*;

    public class _-2fY extends _-7V implements _-0tL 
    {

        public static const _-1Tb:int = 0;
        public static const _-4dP:int = 1;

        public function _-2fY(_arg1:Function)
        {
            super(_arg1, _-En);
        }
        private function _-3-5():_-En
        {
            return ((this._-515 as _-En));
        }
        public function get _-0Ca():Array
        {
            return (this._-3-5()._-0Ca);
        }
        public function get state():int
        {
            return (this._-3-5().state);
        }

    }
}//package _-1rc

//------------------------------------------------------------
//_-1rc._-3xJ

package _-1rc
{
    import _-4Aj._-7V;
    import _-2Zi._-1Wm;
    import _-4Aj.*;

    public class _-3xJ extends _-7V implements _-0tL 
    {

        public static var _-3Mi:int = 0;
        public static var _-0wT:int = 1;
        public static var _-0BE:int = 2;
        public static var _-3Gy:int = 3;
        public static var _-19y:int = 4;
        public static var _-3MN:int = 5;

        public function _-3xJ(_arg1:Function)
        {
            super(_arg1, _-1Wm);
        }
        public function _-3-5():_-1Wm
        {
            return ((_-515 as _-1Wm));
        }

    }
}//package _-1rc

//------------------------------------------------------------
//_-1rc._-4bH

package _-1rc
{
    import _-4Aj._-7V;
    import _-2Zi._-4A3;
    import _-4Aj.*;

    public class _-4bH extends _-7V implements _-0tL 
    {

        public static var _-3Mi:int = 0;
        public static var _-0wT:int = 1;
        public static var _-0BE:int = 2;
        public static var _-3Gy:int = 3;
        public static var _-19y:int = 4;
        public static var _-3MN:int = 5;
        public static var _-0qS:int = 6;
        public static var _-1TK:int = 7;

        public function _-4bH(_arg1:Function)
        {
            super(_arg1, _-4A3);
        }
        public function _-3-5():_-4A3
        {
            return ((_-515 as _-4A3));
        }

    }
}//package _-1rc

//------------------------------------------------------------
//_-1RL._-17m

package _-1RL
{
    import _-4Aj._-7V;
    import _-1Gv._-1z2;

    public class _-17m extends _-7V 
    {

        public function _-17m(_arg1:Function)
        {
            super(_arg1, _-1z2);
        }
        public function _-3-5():_-1z2
        {
            return ((_-515 as _-1z2));
        }

    }
}//package _-1RL

//------------------------------------------------------------
//_-1-s._-1ph

package _-1-s
{
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-Ew.IWindowContainer;
    import _-295._-243;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;

    public class _-1ph 
    {

        private var _-AV:_-39L;
        private var _-U-:_-3Ts;
        private var _-0xv:IWindowContainer;

        public function _-1ph(_arg1:_-39L, _arg2:_-3Ts)
        {
            this._-AV = _arg1;
            this._-U- = _arg2;
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function _-4cw():void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-0vy();
            }
            else
            {
                this._-3VE();
            };
        }
        public function _-3VE():void
        {
            if (this._-0xv == null)
            {
                this.createWindow();
            };
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.visible = true;
            this._-0xv.x = 200;
        }
        private function createWindow():void
        {
            var k:_-243 = (this._-AV.getAssetByName("placeholder") as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return;
            };
            this._-0xv = (this._-U-.createWindow("habbohelp_window", "", _-4Pi._-0Dc, _-29z.NULL, (_-3hb._-0l | _-3hb._-0g6), new Rectangle(-300, 300, 10, 10), null) as IWindowContainer);
            this._-0xv.buildFromXML((k.content as XML));
            this._-0xv.tags.push("habbo_help_window");
            this._-0xv.background = true;
            this._-0xv.color = 33554431;
            var k:IWindow = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.procedure = this._-lf;
            };
        }
        public function _-0vy():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
            };
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-0vy();
        }

    }
}//package _-1-s

//------------------------------------------------------------
//_-1-s._-yf

package _-1-s
{
    import _-FP._-2ul;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-2A7;
    import flash.events.IEventDispatcher;

    public class _-yf extends _-2ul 
    {

        private var _-Ke:_-1ph;

        public function _-yf(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function dispose():void
        {
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-2A7._-4sO, this._-18K);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-2A7._-4sO, this._-18K);
        }
        private function _-18K(_arg1:_-2A7):void
        {
            this._-3Zl();
        }
        private function _-3Zl():void
        {
            if (this._-Ke == null)
            {
                this._-Ke = new _-1ph(assets, windowManager);
            };
            this._-Ke._-3VE();
        }
        private function _-0of():void
        {
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }

    }
}//package _-1-s

//------------------------------------------------------------
//_-1sn._-0AW

package _-1sn
{
    import _-18r.Map;
    import _-CQ._-3Jb;
    import _-4Aj._-0s1;
    import _-Co._-1ad;
    import _-293._-4q2;
    import _-4Aj.*;

    public class _-0AW implements _-58N 
    {

        protected var _-WT:String;
        protected var _-aa:int;
        protected var _-Mx:int;
        protected var _-0Ql:Map;

        public function parse(_arg1:_-0s1):Boolean
        {
            var k:_-3Jb;
            this._-WT = _arg1.readString();
            this._-aa = _arg1._-2BW();
            this._-Mx = _arg1._-2BW();
            this._-0Ql = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = this._-3RJ(_arg1);
                this._-0Ql.add(k._-23C, k);
                k++;
            };
            return (true);
        }
        public function _-3RJ(_arg1:_-0s1):_-3Jb
        {
            var k:String;
            var k:int;
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:_-4q2 = _-1ad._-7c(_arg1);
            var k:Boolean = _arg1.readBoolean();
            var k:Boolean = _arg1.readBoolean();
            var k:Boolean = _arg1.readBoolean();
            var k:Boolean = _arg1.readBoolean();
            var k:int = _arg1._-2BW();
            var k:_-3Jb = new _-3Jb(k, k, k, k, k, k, k, k, k, k, k);
            if (k == "S")
            {
                k = _arg1.readString();
                k = _arg1._-2BW();
                k._-2ia(k, k);
            };
            return (k);
        }
        public function flush():Boolean
        {
            this._-0Ql = null;
            return (true);
        }
        public function get _-2A5():String
        {
            return (this._-WT);
        }
        public function get _-0Ao():int
        {
            return (this._-aa);
        }
        public function get _-2nV():int
        {
            return (this._-Mx);
        }
        public function _-1DY():Map
        {
            return (this._-0Ql);
        }

    }
}//package _-1sn

//------------------------------------------------------------
//_-1sn._-1OK

package _-1sn
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1OK implements _-58N 
    {

        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }
        public function flush():Boolean
        {
            return (true);
        }

    }
}//package _-1sn

//------------------------------------------------------------
//_-1sn._-3sk

package _-1sn
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3sk implements _-58N 
    {

        private var _-8k:int;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-8k = _arg1._-2BW();
            return (true);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function get _-23C():int
        {
            return (this._-8k);
        }

    }
}//package _-1sn

//------------------------------------------------------------
//_-1sn._-4sU

package _-1sn
{
    import _-4Aj._-0s1;
    import _-Co._-1ad;
    import _-293._-4q2;
    import _-CQ._-3Jb;
    import _-4Aj.*;

    public class _-4sU implements _-58N 
    {

        protected var _-0Ql:Array;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Ql = new Array();
            var k:int = 1;
            var k:int;
            while (k < k)
            {
                this._-0Ql.push(this._-3RJ(_arg1));
                k++;
            };
            return (true);
        }
        public function _-3RJ(_arg1:_-0s1):_-3Jb
        {
            var k:String;
            var k:int;
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:_-4q2 = _-1ad._-7c(_arg1);
            var k:Boolean = _arg1.readBoolean();
            var k:Boolean = _arg1.readBoolean();
            var k:Boolean = _arg1.readBoolean();
            var k:Boolean = _arg1.readBoolean();
            var k:int = _arg1._-2BW();
            var k:_-3Jb = new _-3Jb(k, k, k, k, k, k, k, k, k, k, k);
            if (k == "S")
            {
                k = _arg1.readString();
                k = _arg1._-2BW();
                k._-2ia(k, k);
            };
            return (k);
        }
        public function flush():Boolean
        {
            this._-0Ql = null;
            return (true);
        }
        public function _-1DY():Array
        {
            return (this._-0Ql);
        }

    }
}//package _-1sn

//------------------------------------------------------------
//_-1sn._-qe

package _-1sn
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-qe implements _-58N 
    {

        private var _-0Kq:int;
        private var _-45p:int;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Kq = _arg1._-2BW();
            this._-45p = _arg1._-2BW();
            return (true);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-3P3():int
        {
            return (this._-45p);
        }

    }
}//package _-1sn

//------------------------------------------------------------
//_-1Sy._-1Ns

package _-1Sy
{
    import _-3Mo._-4tq;
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-og._-2yo;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-3o3;
    import _-1FD._-4II;
    import _-3Mo.*;

    public class _-1Ns implements _-0QC 
    {

        private var _-0dg:_-4tq;
        private var _-0xv:IWindowContainer;
        private var _-3hl:_-3Bz;
        private var _-1Bq:_-3Bz;
        private var _-Fn:_-3Bz;
        private var _-0Er:BitmapData;
        private var _-4Wy:BitmapData;
        private var _-0TJ:BitmapData;
        private var _-3js:BitmapData;
        private var _-17r:Number = 1;
        private var _-fi:Number = 1;
        private var _-0Kj:Number = 1;

        public function init(_arg1:_-4tq, _arg2:String):void
        {
            this._-0dg = _arg1;
            this.createWindow(_arg2);
        }
        public function dispose():void
        {
            this._-1CS(this._-17r, this._-fi, this._-0Kj);
            this._-0dg = null;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
            };
            this._-0xv = null;
            if (this._-3hl != null)
            {
                this._-3hl.dispose();
            };
            this._-3hl = null;
            if (this._-1Bq != null)
            {
                this._-1Bq.dispose();
            };
            this._-1Bq = null;
            if (this._-Fn != null)
            {
                this._-Fn.dispose();
            };
            this._-Fn = null;
            if (this._-0Er)
            {
                this._-0Er.dispose();
                this._-0Er = null;
            };
            if (this._-4Wy)
            {
                this._-4Wy.dispose();
                this._-4Wy = null;
            };
            if (this._-0TJ)
            {
                this._-0TJ.dispose();
                this._-0TJ = null;
            };
            if (this._-3js)
            {
                this._-3js.dispose();
                this._-3js = null;
            };
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function _-01t(_arg1:_-2yo):void
        {
            this._-17r = _arg1._-2Lw;
            this._-fi = _arg1._-46y;
            this._-0Kj = _arg1._-0nr;
            if (this._-3hl != null)
            {
                this._-3hl._-4R2(this._-17r);
            };
            if (this._-1Bq != null)
            {
                this._-1Bq._-4R2(this._-fi);
            };
            if (this._-Fn != null)
            {
                this._-Fn._-4R2(this._-0Kj);
            };
        }
        private function createWindow(_arg1:String):void
        {
            var k:IWindow;
            var k:BitmapDataAsset;
            var k:_-243 = (this._-0dg.assets.getAssetByName("memenu_settings") as _-243);
            if (k)
            {
                this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            };
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct sound settings window from XML!"));
            };
            this._-0xv.name = _arg1;
            var k:int;
            while (k < this._-0xv.numChildren)
            {
                k = this._-0xv.getChildAt(k);
                k.addEventListener(WindowMouseEvent._-90, this._-435);
                k++;
            };
            k = (this._-0dg.assets.getAssetByName("sounds_off_color") as BitmapDataAsset);
            if (((!((k == null))) && (!((k.content == null)))))
            {
                this._-0Er = (k.content as BitmapData).clone();
            };
            k = (this._-0dg.assets.getAssetByName("sounds_off_white") as BitmapDataAsset);
            if (((!((k == null))) && (!((k.content == null)))))
            {
                this._-4Wy = (k.content as BitmapData).clone();
            };
            k = (this._-0dg.assets.getAssetByName("sounds_on_color") as BitmapDataAsset);
            if (((!((k == null))) && (!((k.content == null)))))
            {
                this._-0TJ = (k.content as BitmapData).clone();
            };
            k = (this._-0dg.assets.getAssetByName("sounds_on_white") as BitmapDataAsset);
            if (((!((k == null))) && (!((k.content == null)))))
            {
                this._-3js = (k.content as BitmapData).clone();
            };
            this._-3hl = new _-3Bz(this, _-3Bz._-m2, this._-50I);
            this._-1Bq = new _-3Bz(this, _-3Bz._-2Js, this._-pR);
            this._-Fn = new _-3Bz(this, _-3Bz._-4Lg, this._-RN);
            this._-0dg.messageListener.processWidgetMessage(new _-3o3(_-3o3._-2qw));
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "back_btn":
                    this._-0dg.changeView(_-4tq._-4ks);
                    return;
                default:
                    _-Nb.log(("Me Menu Settings View: unknown button: " + k));
            };
        }
        public function _-1CS(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Boolean=true):void
        {
            var k:_-4II;
            if (_arg4)
            {
                k = new _-4II(_-4II._-YZ);
            }
            else
            {
                k = new _-4II(_-4II._-0UH);
            };
            k._-1hL = (((_arg1)!=-1) ? _arg1 : this._-17r);
            k._-46y = (((_arg2)!=-1) ? _arg2 : this._-fi);
            k._-0nr = (((_arg3)!=-1) ? _arg3 : this._-0Kj);
            this._-0dg.messageListener.processWidgetMessage(k);
        }
        public function _-1qF(_arg1:String, _arg2:int):void
        {
        }
        public function get _-50I():IWindowContainer
        {
            return ((this._-0xv.findChildByName("ui_volume_container") as IWindowContainer));
        }
        public function get _-pR():IWindowContainer
        {
            return ((this._-0xv.findChildByName("furni_volume_container") as IWindowContainer));
        }
        public function get _-RN():IWindowContainer
        {
            return ((this._-0xv.findChildByName("trax_volume_container") as IWindowContainer));
        }
        public function get widget():_-4tq
        {
            return (this._-0dg);
        }
        public function get _-4zW():BitmapData
        {
            return (this._-0Er);
        }
        public function get _-3yW():BitmapData
        {
            return (this._-4Wy);
        }
        public function get _-39p():BitmapData
        {
            return (this._-0TJ);
        }
        public function get _-0WI():BitmapData
        {
            return (this._-3js);
        }

    }
}//package _-1Sy

//------------------------------------------------------------
//_-1Sy._-38t

package _-1Sy
{
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-295._-39L;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;

    public class _-38t 
    {

        private var _-4Rx:_-3Bz;
        private var _-0VQ:IWindowContainer;
        private var _-176:BitmapData;
        private var _-1yu:BitmapData;
        private var _-6i:int;
        private var _-23f:Number = 0;
        private var _-2Wz:Number = 1;

        public function _-38t(_arg1:_-3Bz, _arg2:IWindowContainer, _arg3:_-39L, _arg4:Number=0, _arg5:Number=1)
        {
            this._-4Rx = _arg1;
            this._-0VQ = _arg2;
            this._-23f = _arg4;
            this._-2Wz = _arg5;
            this._-01E(_arg3);
            this._-2LK();
        }
        public function dispose():void
        {
            this._-4Rx = null;
            this._-0VQ = null;
            this._-176 = null;
            this._-1yu = null;
        }
        public function _-4R2(_arg1:Number):void
        {
            if (this._-0VQ == null)
            {
                return;
            };
            var k:IWindow = this._-0VQ.findChildByName("slider_button");
            if (k != null)
            {
                k.x = this._-4ge(_arg1);
            };
        }
        private function _-4ge(_arg1:Number):int
        {
            return (int((this._-6i * (Number((_arg1 - this._-23f)) / (this._-2Wz - this._-23f)))));
        }
        private function getValue(_arg1:Number):Number
        {
            return ((((_arg1 / this._-6i) * (this._-2Wz - this._-23f)) + this._-23f));
        }
        private function _-18h(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowEvent._-4e0)
            {
                return;
            };
            this._-4Rx._-1CS(this.getValue(_arg2.x), false);
        }
        private function _-2LK():void
        {
            var k:IWindowContainer;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            if (this._-0VQ == null)
            {
                return;
            };
            k = (this._-0VQ.findChildByName("slider_base") as IBitmapWrapperWindow);
            if (((!((k == null))) && (!((this._-176 == null)))))
            {
                k.bitmap = new BitmapData(this._-176.width, this._-176.height, true, 0xFFFFFF);
                k.bitmap.copyPixels(this._-176, this._-176.rect, new Point(0, 0), null, null, true);
            };
            k = (this._-0VQ.findChildByName("slider_movement_area") as IWindowContainer);
            if (k != null)
            {
                k = (k.findChildByName("slider_button") as IWindowContainer);
                if (k != null)
                {
                    k = (k.findChildByName("slider_bitmap") as IBitmapWrapperWindow);
                    if (((!((k == null))) && (!((this._-1yu == null)))))
                    {
                        k.bitmap = new BitmapData(this._-1yu.width, this._-1yu.height, true, 0xFFFFFF);
                        k.bitmap.copyPixels(this._-1yu, this._-1yu.rect, new Point(0, 0), null, null, true);
                        k.procedure = this._-18h;
                        this._-6i = (k.width - k.width);
                    };
                };
            };
        }
        private function _-01E(_arg1:_-39L):void
        {
            var k:BitmapDataAsset;
            if (_arg1 == null)
            {
                return;
            };
            k = BitmapDataAsset(_arg1.getAssetByName("memenu_settings_slider_base"));
            this._-176 = BitmapData(k.content);
            k = BitmapDataAsset(_arg1.getAssetByName("memenu_settings_slider_button"));
            this._-1yu = BitmapData(k.content);
        }

    }
}//package _-1Sy

//------------------------------------------------------------
//_-1Sy._-3Bz

package _-1Sy
{
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-1B-.*;

    public class _-3Bz implements _-1zZ 
    {

        public static const _-m2:int = 0;
        public static const _-2Js:int = 1;
        public static const _-4Lg:int = 2;

        private var _-5K:int;
        private var _-494:Number;
        private var _-0xv:IWindowContainer;
        private var _-4y9:_-38t;
        private var _-47l:_-1Ns;

        public function _-3Bz(_arg1:_-1Ns, _arg2:int, _arg3:IWindowContainer):void
        {
            var k:IWindow;
            super();
            this._-5K = _arg2;
            this._-47l = _arg1;
            this._-0xv = _arg3;
            this._-4y9 = new _-38t(this, (this._-0xv.findChildByName("volume_container") as IWindowContainer), this._-47l.widget.assets, 0, 1);
            k = this._-0xv.findChildByName("sounds_off");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-435);
                k.addEventListener(WindowMouseEvent._-4ea, this._-0Bo);
                k.addEventListener(WindowMouseEvent._-4e2, this._-3an);
            };
            k = this._-0xv.findChildByName("sounds_on");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-435);
                k.addEventListener(WindowMouseEvent._-4ea, this._-0Bo);
                k.addEventListener(WindowMouseEvent._-4e2, this._-3an);
            };
            this._-jK();
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-4y9)
                {
                    this._-4y9.dispose();
                    this._-4y9 = null;
                };
                if (this._-0xv)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-47l == null));
        }
        public function _-1CS(_arg1:Number, _arg2:Boolean):void
        {
            this._-494 = _arg1;
            switch (this._-5K)
            {
                case _-m2:
                    this._-47l._-1CS(_arg1, -1, -1, _arg2);
                    break;
                case _-2Js:
                    this._-47l._-1CS(-1, _arg1, -1, _arg2);
                    break;
                case _-4Lg:
                    this._-47l._-1CS(-1, -1, _arg1, _arg2);
                    break;
            };
            this._-jK();
        }
        private function _-jK():void
        {
            if (this._-494 == 0)
            {
                this._-2P5("sounds_on_icon", this._-47l._-0WI);
                this._-2P5("sounds_off_icon", this._-47l._-4zW);
            }
            else
            {
                this._-2P5("sounds_on_icon", this._-47l._-39p);
                this._-2P5("sounds_off_icon", this._-47l._-3yW);
            };
        }
        private function _-0Bo(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "sounds_off_icon":
                case "sounds_off":
                    this._-2P5("sounds_off_icon", this._-47l._-4zW);
                    return;
                case "sounds_on_icon":
                case "sounds_on":
                    this._-2P5("sounds_on_icon", this._-47l._-39p);
                    return;
            };
        }
        private function _-3an(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "sounds_off":
                    if (this._-494 != 0)
                    {
                        this._-2P5("sounds_off_icon", this._-47l._-3yW);
                    };
                    return;
                case "sounds_on":
                    if (this._-494 != 1)
                    {
                        this._-2P5("sounds_on_icon", this._-47l._-0WI);
                    };
                    return;
            };
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "sounds_off":
                    this._-1CS(0, false);
                    return;
                case "sounds_on":
                    this._-1CS(1, false);
                    return;
                default:
                    _-Nb.log(("Me Menu Settings, Sound settings item: unknown button: " + k));
            };
        }
        private function _-2P5(_arg1:String, _arg2:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (((!((k == null))) && (!((_arg2 == null)))))
            {
                k.bitmap = _arg2.clone();
            };
        }
        public function _-4R2(_arg1:Number):void
        {
            this._-4y9._-4R2(_arg1);
            this._-jK();
        }

    }
}//package _-1Sy

//------------------------------------------------------------
//_-1tB._-1yz

package _-1tB
{
    import flash.display.Loader;
    import flash.system.LoaderContext;
    import flash.utils.Timer;
    import flash.events.Event;
    import flash.events.HTTPStatusEvent;
    import flash.events.ProgressEvent;
    import flash.events.IOErrorEvent;
    import flash.events.SecurityErrorEvent;
    import flash.net.URLRequest;
    import flash.events.TimerEvent;
    import flash.system.Security;

    public class _-1yz extends _-222 implements _-VL 
    {

        protected var _-5Q:String;
        protected var _-5K:String;
        protected var _-bS:Loader;
        protected var _-59s:LoaderContext;
        private var _-5Bw:Timer;
        private var _-4D6:Event;

        public function _-1yz(_arg1:String, _arg2:URLRequest=null)
        {
            this._-5Q = (((_arg2 == null)) ? "" : _arg2.url);
            this._-5K = _arg1;
            this._-bS = new Loader();
            this._-59s = new LoaderContext();
            this._-59s.checkPolicyFile = true;
            this._-bS.contentLoaderInfo.addEventListener(Event.COMPLETE, this._-5F9);
            this._-bS.contentLoaderInfo.addEventListener(Event.UNLOAD, _-4bt);
            this._-bS.contentLoaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, _-4bt);
            this._-bS.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, _-4bt);
            this._-bS.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _-4bt);
            this._-bS.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, _-4bt);
            if (((!((_arg2 == null))) && (!((_arg2.url == null)))))
            {
                this._-bS.load(_arg2, this._-59s);
            };
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get ready():Boolean
        {
            return ((((this.bytesTotal > 0)) ? (this.bytesTotal == this.bytesLoaded) : false));
        }
        public function get content():Object
        {
            return (((this._-bS) ? this._-bS.content : null));
        }
        public function get mimeType():String
        {
            return (this._-5K);
        }
        public function get bytesLoaded():uint
        {
            return (((this._-bS) ? this._-bS.contentLoaderInfo.bytesLoaded : 0));
        }
        public function get bytesTotal():uint
        {
            return (((this._-bS) ? this._-bS.contentLoaderInfo.bytesTotal : 0));
        }
        public function get _-28q():LoaderContext
        {
            return (this._-59s);
        }
        public function load(_arg1:URLRequest):void
        {
            this._-5Q = _arg1.url;
            _-2Zv = 0;
            this._-bS.load(_arg1, this._-59s);
        }
        override protected function retry():Boolean
        {
            if (!_disposed)
            {
                if (++_-2Zv <= _-4Zo)
                {
                    try
                    {
                        this._-bS.close();
                        this._-bS.unload();
                    }
                    catch(e:Error)
                    {
                    };
                    this._-bS.load(new URLRequest((((this._-5Q + (((this._-5Q.indexOf("?") == -1)) ? "?" : "&")) + "retry=") + _-2Zv)), this._-59s);
                    return (true);
                };
            };
            return (false);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                super.dispose();
                this._-bS.contentLoaderInfo.removeEventListener(Event.COMPLETE, this._-5F9);
                this._-bS.contentLoaderInfo.removeEventListener(Event.UNLOAD, _-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(HTTPStatusEvent.HTTP_STATUS, _-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, _-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, _-4bt);
                this._-bS.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, _-4bt);
                if (this._-5Bw)
                {
                    this._-5Bw.stop();
                    this._-5Bw.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-3ZM);
                    this._-5Bw = null;
                };
                try
                {
                    this._-bS.close();
                }
                catch(e)
                {
                };
                this._-bS.unload();
                this._-bS = null;
                this._-5K = null;
                this._-5Q = null;
            };
        }
        private function _-5F9(_arg1:Event):void
        {
            if (this._-5Q == this._-bS.contentLoaderInfo.url)
            {
                _-4bt(_arg1);
                return;
            };
            this._-4D6 = _arg1;
            var k:int = this._-bS.contentLoaderInfo.url.indexOf("//");
            var k = (this._-bS.contentLoaderInfo.url.slice(0, (this._-bS.contentLoaderInfo.url.indexOf("/", (k + 3)) + 1)) + "crossdomain.xml");
            Security.loadPolicyFile(k);
            this._-23E();
        }
        private function _-3ZM(_arg1:TimerEvent):void
        {
            if (this._-bS.contentLoaderInfo.childAllowsParent)
            {
                _-4bt(this._-4D6);
            }
            else
            {
                this._-23E();
            };
        }
        private function _-23E():void
        {
            this._-5Bw = new Timer(250, 1);
            this._-5Bw.addEventListener(TimerEvent.TIMER_COMPLETE, this._-3ZM);
            this._-5Bw.start();
        }

    }
}//package _-1tB

//------------------------------------------------------------
//_-1tB._-222

package _-1tB
{
    import _-0yf.EventDispatcherWrapper;
    import flash.events.HTTPStatusEvent;
    import _-1tB.AssetLoaderEvent;
    import flash.events.Event;
    import flash.events.ProgressEvent;
    import flash.events.IOErrorEvent;
    import flash.events.SecurityErrorEvent;
    import _-1B-.*;

    class _-222 extends EventDispatcherWrapper implements _-1zZ 
    {

        public static const NONE:uint = 0;
        public static const IO_ERROR:uint = 1;
        public static const SECURITY_ERROR:uint = 2;

        protected var _-8R:int = 0;
        protected var _-2Zv:int = 0;
        protected var _-4Zo:int = 2;
        protected var _-b2:uint = 0;

        public function get errorCode():uint
        {
            return (this._-b2);
        }
        protected function _-4bt(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case HTTPStatusEvent.HTTP_STATUS:
                    this._-8R = HTTPStatusEvent(_arg1).status;
                    dispatchEvent(new AssetLoaderEvent(AssetLoaderEvent._-4dw, this._-8R));
                    return;
                case Event.COMPLETE:
                    dispatchEvent(new AssetLoaderEvent(AssetLoaderEvent._-1Tr, this._-8R));
                    return;
                case Event.UNLOAD:
                    dispatchEvent(new AssetLoaderEvent(AssetLoaderEvent._-13f, this._-8R));
                    return;
                case Event.OPEN:
                    dispatchEvent(new AssetLoaderEvent(AssetLoaderEvent._-2z-, this._-8R));
                    return;
                case ProgressEvent.PROGRESS:
                    dispatchEvent(new AssetLoaderEvent(AssetLoaderEvent._-3V, this._-8R));
                    return;
                case IOErrorEvent.IO_ERROR:
                    this._-b2 = IO_ERROR;
                    if (!this.retry())
                    {
                        dispatchEvent(new AssetLoaderEvent(AssetLoaderEvent._-4ar, this._-8R));
                    };
                    return;
                case SecurityErrorEvent.SECURITY_ERROR:
                    this._-b2 = SECURITY_ERROR;
                    if (!this.retry())
                    {
                        dispatchEvent(new AssetLoaderEvent(AssetLoaderEvent._-4ar, this._-8R));
                    };
                    return;
                default:
                    _-Nb.log((("Unknown asset loader event! AssetLoaderEventBroker::loadEventHandler(" + _arg1) + ")"));
            };
        }
        protected function retry():Boolean
        {
            return (false);
        }

    }
}//package _-1tB

//------------------------------------------------------------
//_-1tB._-2Qf

package _-1tB
{
    import flash.media.Sound;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import flash.events.ProgressEvent;
    import flash.net.URLRequest;

    public class _-2Qf extends _-222 implements _-VL 
    {

        protected var _-5Q:String;
        protected var _-5K:String;
        protected var _-bS:Sound;

        public function _-2Qf(_arg1:String, _arg2:URLRequest=null)
        {
            this._-5Q = (((_arg2 == null)) ? "" : _arg2.url);
            this._-5K = _arg1;
            this._-bS = new Sound(null, null);
            this._-bS.addEventListener(Event.ID3, _-4bt);
            this._-bS.addEventListener(Event.OPEN, _-4bt);
            this._-bS.addEventListener(Event.COMPLETE, _-4bt);
            this._-bS.addEventListener(IOErrorEvent.IO_ERROR, _-4bt);
            this._-bS.addEventListener(ProgressEvent.PROGRESS, _-4bt);
            if (_arg2 != null)
            {
                this.load(_arg2);
            };
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get ready():Boolean
        {
            return ((((this.bytesTotal > 0)) ? (this.bytesTotal == this.bytesLoaded) : false));
        }
        public function get content():Object
        {
            return (this._-bS);
        }
        public function get mimeType():String
        {
            return (this._-5K);
        }
        public function get bytesLoaded():uint
        {
            return (((this._-bS) ? this._-bS.bytesLoaded : 0));
        }
        public function get bytesTotal():uint
        {
            return (((this._-bS) ? this._-bS.bytesTotal : 0));
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this._-bS.removeEventListener(Event.ID3, _-4bt);
                this._-bS.removeEventListener(Event.OPEN, _-4bt);
                this._-bS.removeEventListener(Event.COMPLETE, _-4bt);
                this._-bS.removeEventListener(IOErrorEvent.IO_ERROR, _-4bt);
                this._-bS.removeEventListener(ProgressEvent.PROGRESS, _-4bt);
                this._-bS = null;
                this._-5K = null;
                this._-5Q = null;
                super.dispose();
            };
        }
        public function load(_arg1:URLRequest):void
        {
            this._-5Q = _arg1.url;
            this._-bS.load(_arg1, null);
        }

    }
}//package _-1tB

//------------------------------------------------------------
//_-1tB._-47c

package _-1tB
{
    import flash.net.URLLoader;
    import flash.events.Event;
    import flash.events.HTTPStatusEvent;
    import flash.events.ProgressEvent;
    import flash.events.IOErrorEvent;
    import flash.events.SecurityErrorEvent;
    import flash.net.URLRequest;
    import flash.net.URLLoaderDataFormat;
    import flash.utils.Timer;
    import flash.events.TimerEvent;

    public class _-47c extends _-222 implements _-VL 
    {

        public static const _-jD:String = "/crossdomain.xml";

        protected var _-5Q:String;
        protected var _-5K:String;
        protected var _-0qE:String;
        protected var _-bS:URLLoader;

        public function _-47c(_arg1:String, _arg2:URLRequest=null)
        {
            this._-5Q = (((_arg2 == null)) ? "" : _arg2.url);
            this._-5K = _arg1;
            this._-bS = new URLLoader();
            this._-bS.addEventListener(Event.COMPLETE, _-4bt);
            this._-bS.addEventListener(Event.UNLOAD, _-4bt);
            this._-bS.addEventListener(HTTPStatusEvent.HTTP_STATUS, _-4bt);
            this._-bS.addEventListener(ProgressEvent.PROGRESS, _-4bt);
            this._-bS.addEventListener(IOErrorEvent.IO_ERROR, _-4bt);
            this._-bS.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-tI);
            if (_arg2 != null)
            {
                this.load(_arg2);
            };
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get ready():Boolean
        {
            return ((((this.bytesTotal > 0)) ? (this.bytesTotal == this.bytesLoaded) : false));
        }
        public function get content():Object
        {
            return (((this._-0qE) ? this._-0qE : ((this._-bS) ? this._-bS.data : null)));
        }
        public function get mimeType():String
        {
            return (this._-5K);
        }
        public function get bytesLoaded():uint
        {
            return (((this._-bS) ? this._-bS.bytesLoaded : 0));
        }
        public function get bytesTotal():uint
        {
            return (((this._-bS) ? this._-bS.bytesTotal : 0));
        }
        public function load(_arg1:URLRequest):void
        {
            this._-5Q = _arg1.url;
            this._-0qE = null;
            _-2Zv = 0;
            this._-bS.dataFormat = (((this._-5K == "application/octet-stream")) ? URLLoaderDataFormat.BINARY : URLLoaderDataFormat.TEXT);
            this._-bS.load(_arg1);
        }
        override protected function retry():Boolean
        {
            if (!_disposed)
            {
                if (++_-2Zv <= _-4Zo)
                {
                    try
                    {
                        this._-bS.close();
                    }
                    catch(e:Error)
                    {
                    };
                    this._-bS.load(new URLRequest((((this._-5Q + (((this._-5Q.indexOf("?") == -1)) ? "?" : "&")) + "retry=") + _-2Zv)));
                    return (true);
                };
            };
            return (false);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                super.dispose();
                this._-bS.removeEventListener(Event.COMPLETE, _-4bt);
                this._-bS.removeEventListener(Event.UNLOAD, _-4bt);
                this._-bS.removeEventListener(HTTPStatusEvent.HTTP_STATUS, _-4bt);
                this._-bS.removeEventListener(ProgressEvent.PROGRESS, _-4bt);
                this._-bS.removeEventListener(IOErrorEvent.IO_ERROR, _-4bt);
                this._-bS.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-tI);
                try
                {
                    this._-bS.close();
                }
                catch(e:Error)
                {
                };
                this._-bS = null;
                this._-5K = null;
                this._-0qE = null;
                this._-5Q = null;
            };
        }
        private function _-tI(_arg1:SecurityErrorEvent):void
        {
            if (!_disposed)
            {
                _-4bt(_arg1);
            };
        }
        private function _-1Es(_arg1:TimerEvent):void
        {
            var k:Timer = (_arg1.target as Timer);
            if (k)
            {
                k.stop();
                k.removeEventListener(TimerEvent.TIMER, this._-1Es);
            };
            if (!_disposed)
            {
                _-4bt(new Event(Event.COMPLETE));
            };
        }

    }
}//package _-1tB

//------------------------------------------------------------
//_-1tB._-4Cz

package _-1tB
{
    import flash.net.URLStream;
    import flash.events.Event;
    import flash.events.HTTPStatusEvent;
    import flash.events.IOErrorEvent;
    import flash.events.ProgressEvent;
    import flash.events.SecurityErrorEvent;
    import flash.net.URLRequest;

    public class _-4Cz extends _-222 implements _-VL 
    {

        protected var _-5Q:String;
        protected var _-5K:String;
        protected var _-2aa:URLStream;

        public function _-4Cz(_arg1:String, _arg2:URLRequest=null)
        {
            this._-5Q = (((_arg2 == null)) ? "" : _arg2.url);
            this._-5K = _arg1;
            this._-2aa = new URLStream();
            this._-2aa.addEventListener(Event.COMPLETE, _-4bt);
            this._-2aa.addEventListener(HTTPStatusEvent.HTTP_STATUS, _-4bt);
            this._-2aa.addEventListener(IOErrorEvent.IO_ERROR, _-4bt);
            this._-2aa.addEventListener(Event.OPEN, _-4bt);
            this._-2aa.addEventListener(ProgressEvent.PROGRESS, _-4bt);
            this._-2aa.addEventListener(SecurityErrorEvent.SECURITY_ERROR, _-4bt);
            if (_arg2 != null)
            {
                this.load(_arg2);
            };
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get ready():Boolean
        {
            return ((((this.bytesTotal > 0)) ? (this.bytesTotal == this.bytesLoaded) : false));
        }
        public function get content():Object
        {
            return (this._-2aa);
        }
        public function get mimeType():String
        {
            return (this._-5K);
        }
        public function get bytesLoaded():uint
        {
            return (this._-2aa.bytesAvailable);
        }
        public function get bytesTotal():uint
        {
            return (this._-2aa.bytesAvailable);
        }
        public function load(_arg1:URLRequest):void
        {
            this._-5Q = _arg1.url;
            this._-2aa.load(_arg1);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                super.dispose();
                this._-2aa.removeEventListener(Event.COMPLETE, _-4bt);
                this._-2aa.removeEventListener(HTTPStatusEvent.HTTP_STATUS, _-4bt);
                this._-2aa.removeEventListener(IOErrorEvent.IO_ERROR, _-4bt);
                this._-2aa.removeEventListener(Event.OPEN, _-4bt);
                this._-2aa.removeEventListener(ProgressEvent.PROGRESS, _-4bt);
                this._-2aa.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, _-4bt);
                this._-2aa.close();
                this._-2aa = null;
                this._-5K = null;
                this._-5Q = null;
            };
        }

    }
}//package _-1tB

//------------------------------------------------------------
//_-1tB._-VL

package _-1tB
{
    import flash.net.URLRequest;
    import _-1B-.*;
    import flash.events.*;

    public interface _-VL extends IEventDispatcher, _-1zZ 
    {

        function get url():String;
        function get ready():Boolean;
        function get content():Object;
        function get mimeType():String;
        function get bytesLoaded():uint;
        function get bytesTotal():uint;
        function get errorCode():uint;
        function load(_arg1:URLRequest):void;

    }
}//package _-1tB

//------------------------------------------------------------
//_-1tB.AssetLoaderEvent

package _-1tB
{
    import flash.events.Event;

    public class AssetLoaderEvent extends Event 
    {

        public static const _-1Tr:String = "AssetLoaderEventComplete";
        public static const _-3V:String = "AssetLoaderEventProgress";
        public static const _-13f:String = "AssetLoaderEventUnload";
        public static const _-4dw:String = "AssetLoaderEventStatus";
        public static const _-4ar:String = "AssetLoaderEventError";
        public static const _-2z-:String = "AssetLoaderEventOpen";

        private var _-8R:int;

        public function AssetLoaderEvent(_arg1:String, _arg2:int)
        {
            this._-8R = _arg2;
            super(_arg1, false, false);
        }
        public function get status():int
        {
            return (this._-8R);
        }
        override public function clone():Event
        {
            return (new AssetLoaderEvent(type, this._-8R));
        }
        override public function toString():String
        {
            return (formatToString("AssetLoaderEvent", "type", "status"));
        }

    }
}//package _-1tB

//------------------------------------------------------------
//_-1tU._-20E

package _-1tU
{
    import _-4Aj._-7V;
    import _-MT._-31h;
    import _-4Aj.*;

    public class _-20E extends _-7V implements _-0tL 
    {

        public function _-20E(_arg1:Function)
        {
            super(_arg1, _-31h);
        }
        public function _-3-5():_-31h
        {
            return ((this._-515 as _-31h));
        }

    }
}//package _-1tU

//------------------------------------------------------------
//_-1tU._-2Eb

package _-1tU
{
    import _-4Aj._-7V;
    import _-MT._-4uy;
    import _-4Aj.*;

    public class _-2Eb extends _-7V implements _-0tL 
    {

        public function _-2Eb(_arg1:Function)
        {
            super(_arg1, _-4uy);
        }
        public function _-3-5():_-4uy
        {
            return ((this._-515 as _-4uy));
        }

    }
}//package _-1tU

//------------------------------------------------------------
//_-1tU._-50l

package _-1tU
{
    import _-4Aj._-7V;
    import _-MT._-jL;
    import _-4Aj.*;

    public class _-50l extends _-7V implements _-0tL 
    {

        public function _-50l(_arg1:Function)
        {
            super(_arg1, _-jL);
        }
        public function _-3-5():_-jL
        {
            return ((this._-515 as _-jL));
        }

    }
}//package _-1tU

//------------------------------------------------------------
//_-1UD._-02D

package _-1UD
{
    import _-4Aj._-7V;
    import _-0M-._-4iZ;
    import _-4Aj.*;

    public class _-02D extends _-7V implements _-0tL 
    {

        public function _-02D(_arg1:Function)
        {
            super(_arg1, _-4iZ);
        }
        public function _-3-5():_-4iZ
        {
            return ((_-515 as _-4iZ));
        }

    }
}//package _-1UD

//------------------------------------------------------------
//_-1vi._-2h5

package _-1vi
{
    import _-Ew.IWindowContainer;
    import _-3vb._-03X;
    import _-4bo._-1j6;
    import _-4bo._-42P;
    import _-1HK._-GF;
    import _-2Pt._-211;
    import _-3GS._-1Ft;
    import _-3GS.TalentLevelUpMessageParser;
    import _-1ae._-4mB;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-2Pt._-2yb;
    import _-1B-.*;

    public class _-2h5 implements _-1zZ 
    {

        private static const _-04r:int = 33;

        private var _-Ry:HabboTalent;
        private var _-0xv:IWindowContainer;
        private var _-2jY:Boolean = true;
        private var _-55e:int;
        private var _-1ER:int;
        private var _-29Z:int;

        public function _-2h5(_arg1:HabboTalent)
        {
            this._-Ry = _arg1;
        }
        public function dispose():void
        {
            if (this._-2fH())
            {
                this._-Ry.toolbar.extensionView._-21z(_-03X._-34R);
            };
            this._-Ry = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-Ry == null));
        }
        public function initialize():void
        {
            if (!this.enabled)
            {
                return;
            };
            this._-Ry.communicationManager.addHabboConnectionMessageEvent(new _-1j6(this._-1K5));
            this._-Ry.communicationManager.addHabboConnectionMessageEvent(new _-42P(this._-12I));
            this._-Ry.communicationManager.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
        }
        private function _-2y3(_arg1:_-GF):void
        {
            this._-Ry.send(new _-211(this._-3gH));
        }
        private function _-1K5(_arg1:_-1j6):void
        {
            var k:_-1Ft = _arg1._-3-5();
            if (k._-4bc == this._-3gH)
            {
                this._-1ER = k._-3uj;
                this._-55e = k.level;
                this.refresh();
            };
        }
        private function _-12I(_arg1:_-42P):void
        {
            var k:TalentLevelUpMessageParser = _arg1._-3-5();
            if (k._-4bc == this._-3gH)
            {
                this._-55e = k.level;
                this.refresh();
            };
        }
        private function refresh():void
        {
            if (((!(this.enabled)) || (this._-2ev)))
            {
                this.close();
                return;
            };
            this._-eN();
            this._-0xv.findChildByName("content_itemlist").visible = this._-2jY;
            this._-0xv.findChildByName("level_img").visible = this._-2jY;
            this._-0xv.findChildByName("maximize_region").visible = !(this._-2jY);
            this._-0xv.findChildByName("minimize_region").visible = this._-2jY;
            this._-0Ab("title");
            this._-0Ab("caption");
            this._-0Ab("info");
            _-4mB(this._-0xv.findChildByName("level_img")).assetUri = (((("${image.library.url}talent/" + this._-3gH) + "_") + this._-55e) + ".png");
            this._-0xv.x = 0;
            this._-0xv.y = 0;
            this._-0xv.height = ((this._-2jY) ? this._-29Z : _-04r);
            if (this._-2fH())
            {
                this._-Ry.toolbar.extensionView._-408(_-03X._-34R, this._-0xv, -1, ["next_quest_timer", "quest_tracker", "event_info_window"]);
            };
        }
        private function _-0Ab(_arg1:String):void
        {
            this._-0xv.findChildByName((_arg1 + "_txt")).caption = this._-Ry.localizationManager.getKey(((("talentpromo." + this._-3gH) + ".") + _arg1));
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IWindowContainer(this._-Ry.getXmlWindow("track_promo"));
            this._-0xv.findChildByName("check_progress_button").procedure = this._-0jP;
            this._-0xv.findChildByName("maximize_region").procedure = this._-1ps;
            this._-0xv.findChildByName("minimize_region").procedure = this._-1ps;
            this._-29Z = this._-0xv.height;
        }
        public function close():void
        {
            if (this._-0xv != null)
            {
                if (this._-2fH())
                {
                    this._-Ry.toolbar.extensionView._-21z(_-03X._-34R);
                };
            };
        }
        private function _-1ps(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-2jY = !(this._-2jY);
            this.refresh();
        }
        private function _-0jP(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((_arg1.type == WindowMouseEvent._-90)) && (this.enabled)))
            {
                this._-Ry.tracking.trackTalentTrackOpen(this._-3gH, "talentpromo");
                this._-Ry.send(new _-2yb(this._-3gH));
            };
        }
        private function _-2fH():Boolean
        {
            return (((((((!((this._-Ry == null))) && (!((this._-Ry.toolbar == null))))) && (!((this._-Ry.toolbar.extensionView == null))))) && (this.enabled)));
        }
        private function get enabled():Boolean
        {
            return (!((this._-3gH == "")));
        }
        private function get _-3gH():String
        {
            return (this._-Ry.configurationManager.getKey("talentpromo.track", ""));
        }
        private function get _-2ev():Boolean
        {
            return ((this._-55e >= this._-1ER));
        }

    }
}//package _-1vi

//------------------------------------------------------------
//_-1vi._-3kA

package _-1vi
{
    import _-3GS.TalentTrack;
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-1ae._-3Yi;
    import _-2ly._-0d3;
    import _-0Ix._-3La;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-3kA implements _-1zZ 
    {

        private const _-07a:String = "talent_achieved_div";
        private const _-3mr:String = "talent_unachieved_div";
        private const _-0nb:String = "progress_divider_level_";
        private const _-RU:int = 10;

        private var _disposed:Boolean = false;
        private var _-Dc:HabboTalent;
        private var _-513:TalentTrackController;
        private var _-1Lf:TalentTrack;
        private var _-28h:IWindowContainer;
        private var _-4pg:_-4mB;
        private var _-0TR:_-3Yi;
        private var _-3tm:_-4mB;
        private var _-5Cy:_-4mB;

        public function _-3kA(_arg1:HabboTalent, _arg2:TalentTrackController)
        {
            this._-Dc = _arg1;
            this._-513 = _arg2;
            this._-1Lf = this._-513._-2Ou;
            this._-3QY();
        }
        public function get width():int
        {
            return (this._-513.window.width);
        }
        public function get _-4sp():int
        {
            return (int(Math.floor(_-0d3._-1SO(this._-1Lf._-27e, 0, this.width))));
        }
        private function _-3QY():void
        {
            var k:_-4mB;
            this._-28h = IWindowContainer(this._-513.window.findChildByName("progress_container"));
            this._-4pg = _-4mB(this._-28h.removeChild(this._-28h.findChildByName("progress_level_divider")));
            this._-3tm = _-4mB(this._-28h.findChildByName("achieved_mid"));
            this._-5Cy = _-4mB(this._-28h.findChildByName("unachieved_mid"));
            var k:int = 1;
            while (k < this._-1Lf._-0Ko.length)
            {
                k = _-4mB(this._-4pg.clone());
                k.name = (this._-0nb + k);
                this._-28h.addChild(k);
                k++;
            };
            this._-0TR = _-3Yi(this._-28h.findChildByName("progress_needle"));
            _-3La(this._-0TR.widget).figure = this._-Dc._-Vl.figure;
            this._-28h.setChildIndex(this._-0TR, (this._-28h.numChildren - 1));
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-4pg)
                {
                    this._-4pg.dispose();
                    this._-4pg = null;
                };
                this._-3tm = null;
                this._-5Cy = null;
                this._-0TR = null;
                this._-28h = null;
                this._-1Lf = null;
                this._-513 = null;
                this._-Dc = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-3b-():void
        {
            var k:_-4mB;
            var k:int = int(Math.floor(_-0d3._-1SO(this._-1Lf._-0bo, 0, this.width)));
            this._-28h.width = this.width;
            this._-5Cy.width = this.width;
            this._-3tm.width = k;
            this._-0TR.x = _-0d3._-4Jf((k - int((this._-0TR.width / 2))), 0, (this.width - this._-0TR.width));
            var k:IWindow = this._-28h.findChildByName("avatar_glow");
            k.x = (this._-0TR.x - this._-RU);
            k.y = (this._-0TR.y - this._-RU);
            k.width = (this._-0TR.width + (2 * this._-RU));
            k.height = (this._-0TR.height + (2 * this._-RU));
            var k:IWindow = this._-28h.findChildByName("progress_balloon");
            k.x = (((this._-0TR.x + Math.floor((this._-0TR.width / 2))) - Math.floor((k.width / 2))) + 5);
            var k:int = 1;
            while (k < this._-1Lf._-0Ko.length)
            {
                k = _-4mB(this._-28h.findChildByName((this._-0nb + k)));
                k.x = (k * this._-4sp);
                if (k.x < k)
                {
                    k.assetUri = this._-07a;
                }
                else
                {
                    k.assetUri = this._-3mr;
                };
                k.visible = true;
                k++;
            };
            this._-28h.invalidate();
        }

    }
}//package _-1vi

//------------------------------------------------------------
//_-1vi._-3nb

package _-1vi
{
    import _-3Bn._-0xN;
    import _-1Q8._-567;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-4Aj._-0tL;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0M7._-0tE;
    import _-2Pt._-2yb;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-3nb implements _-1zZ 
    {

        private var _-Dc:HabboTalent;
        private var _-05i:_-0xN;
        private var _disposed:Boolean;
        private var _-1Lq:_-567;
        private var _-13h:Boolean;

        public function _-3nb(_arg1:HabboTalent)
        {
            this._-Dc = _arg1;
            this._-1Lq = new _-567(this._-0TW);
            this._-Dc.communicationManager.addHabboConnectionMessageEvent(this._-1Lq);
        }
        private function _-0TW(_arg1:_-0tL):void
        {
            var k:Timer;
            if (((((this._-Dc._-1uI) && (!(this._-13h)))) && (!(this._-Dc.configurationManager.getBoolean("new.user.reception.enabled", false)))))
            {
                k = new Timer(10000, 1);
                k.addEventListener(TimerEvent.TIMER, this._-9C);
                k.start();
            };
        }
        private function _-9C(_arg1:TimerEvent):void
        {
            this._-571();
            this.show();
            this._-13h = true;
        }
        private function _-571():void
        {
            if (((!((this._-Dc == null))) && (!(this._-Dc.disposed))))
            {
                this._-Dc.communicationManager._-3cs(this._-1Lq);
            };
            this._-1Lq = null;
        }
        public function show():void
        {
            this.hide();
            this._-05i = this._-Dc._-Ml("citizenship_welcome");
            this._-05i._-5Ec.procedure = this._-1DQ;
            IWindowContainer(this._-05i._-5Ec).findChildByName("header_button_close").visible = false;
        }
        private function hide():void
        {
            if (((!((this._-05i == null))) && (!(this._-05i.disposed))))
            {
                this._-05i.dispose();
                this._-05i = null;
            };
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this.hide();
                this._-571();
                this._-Dc = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-1DQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((((this._-05i == null)) || (this._-05i.disposed))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "postpone_citizenship":
                    this.hide();
                    return;
                case "show_citizenship":
                    this.hide();
                    this._-Dc.tracking.trackTalentTrackOpen(_-0tE._-0-O, "citizenshippopup");
                    this._-Dc.send(new _-2yb(_-0tE._-0-O));
                    return;
            };
        }

    }
}//package _-1vi

//------------------------------------------------------------
//_-1vi._-4G9

package _-1vi
{
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-4bo._-42P;
    import _-3GS.TalentLevelUpMessageParser;
    import _-0M7._-0tE;
    import _-3GS._-2we;
    import _-3GS._-2ox;
    import _-1ae._-4mB;
    import _-1ae.IItemListWindow;
    import __AS3__.vec.Vector;
    import _-0Ix._-aY;
    import _-1ae._-3Yi;
    import _-0Ie.WindowMouseEvent;
    import _-2Pt._-2yb;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class _-4G9 implements _-1zZ 
    {

        private var _-Dc:HabboTalent;
        private var _disposed:Boolean;
        private var _-0xv:IWindowContainer;
        private var _-0H-:String;
        private var _-2nh:IWindow;
        private var _-3ll:IWindow;
        private var _-51P:IWindow;

        public function _-4G9(_arg1:HabboTalent)
        {
            this._-Dc = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-51P != null)
                {
                    this._-51P.dispose();
                    this._-51P = null;
                };
                if (this._-2nh != null)
                {
                    this._-2nh.dispose();
                    this._-2nh = null;
                };
                if (this._-3ll != null)
                {
                    this._-3ll.dispose();
                    this._-3ll = null;
                };
                this.closeWindow();
                this._-Dc = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function initialize():void
        {
            this._-Dc.communicationManager.addHabboConnectionMessageEvent(new _-42P(this._-12I));
        }
        private function _-12I(_arg1:_-42P):void
        {
            var k:TalentLevelUpMessageParser = _arg1._-3-5();
            if ((((((k.level == 1)) && ((k._-4bc == _-0tE._-4LW)))) && (this._-Dc._-1Tk)))
            {
                return;
            };
            this._-3VE(k._-4bc, k.level, k._-c, k._-14w);
        }
        public function _-3VE(_arg1:String, _arg2:int, _arg3:Vector.<_-2we>, _arg4:Vector.<_-2ox>):void
        {
            var k:_-2we;
            var k:_-2ox;
            this.closeWindow();
            this._-0H- = _arg1;
            this._-0xv = (this._-Dc.getXmlWindow("level_up") as IWindowContainer);
            this._-0xv.center();
            this._-0xv.procedure = this._-1DQ;
            _-4mB(this._-0xv.findChildByName("level_decoration")).assetUri = (((("${image.library.url}talent/" + _arg1) + "_levelup_") + _arg2) + ".png");
            this._-0xv.findChildByName("level_up_message").caption = (("${talent.track." + _arg1) + ".levelup.message}");
            this._-0xv.findChildByName("level_title").caption = (((("${talent.track." + _arg1) + ".level.") + _arg2) + ".title}");
            this._-0xv.findChildByName("level_description").caption = (((("${talent.track." + _arg1) + ".level.") + _arg2) + ".description}");
            var k:IItemListWindow = IItemListWindow(this._-0xv.findChildByName("reward_list"));
            var k:IWindow = k._-4sE(k.getListItemByName("plus_template"));
            this._-2nh = k._-4sE(k.getListItemByName("reward_product_template"));
            this._-3ll = k._-4sE(k.getListItemByName("reward_vip_template"));
            this._-51P = k._-4sE(k.getListItemByName("reward_perk_template"));
            var k:Boolean;
            for each (k in _arg3)
            {
                if (k)
                {
                    k.addListItem(k.clone());
                };
                k.addListItem(this._-2zw(k));
                k = true;
            };
            for each (k in _arg4)
            {
                if (k)
                {
                    k.addListItem(k.clone());
                };
                k.addListItem(this._-4yy(k));
                k = true;
            };
            if (k.numListItems < 1)
            {
                this._-0xv.findChildByName("level_rewards").visible = false;
                IItemListWindow(this._-0xv.findChildByName("level_up_layout"))._-0O3();
            };
        }
        private function _-2zw(_arg1:_-2we):IWindow
        {
            var k:IWindowContainer = (this._-51P.clone() as IWindowContainer);
            _-aY(_-3Yi(k.findChildByName("perk_image")).widget).badgeId = _arg1._-3UP;
            k.findChildByName("perk_name").caption = (("${perk." + _arg1._-3UP) + ".name}");
            return (k);
        }
        private function _-4yy(_arg1:_-2ox):IWindow
        {
            var k:IWindow;
            if (_arg1._-30Y == 0)
            {
                k = this._-2nh.clone();
                _-4mB(k).assetUri = (("${image.library.url}talent/reward_product_" + _arg1._-1A8.toLowerCase().replace(" ", "_")) + ".png");
            }
            else
            {
                k = this._-3ll.clone();
                IWindowContainer(k).findChildByName("vip_length").caption = this._-Dc.localizationManager._-5CG("catalog.vip.item.header.days", "", "num_days", _arg1._-30Y);
            };
            return (k);
        }
        private function closeWindow():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-1DQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((((this._-0xv == null)) || (this._-0xv.disposed))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                case "close_button":
                    this.closeWindow();
                    return;
                case "talent_button":
                    this.closeWindow();
                    this._-Dc.tracking.trackTalentTrackOpen(this._-0H-, "levelup");
                    this._-Dc.send(new _-2yb(this._-0H-));
                    return;
            };
        }

    }
}//package _-1vi

//------------------------------------------------------------
//_-1vi.HabboTalent

package _-1vi
{
    import _-16i.AbstractView;
    import _-3gx._-4BJ;
    import _-0jj._-0QY;
    import _-4GV._-0Uq;
    import _-3vb._-3b;
    import _-4Kb._-1V5;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboHelp;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboAvatarEditor;
    import _-0eb._-1ih;
    import _-295._-39L;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-1Jd._-51K;
    import _-2gz._-2UE;
    import _-4pF._-3Ts;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-4Aj._-1oF;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-18r.ErrorReportStorage;
    import _-3Bn._-0xN;
    import _-3GS.TalentTrackLevel;
    import _-0eb.*;

    public class HabboTalent extends AbstractView implements _-417 
    {

        private var _-1Lf:TalentTrackController;
        private var _-3RN:_-4G9;
        private var _-4ng:_-2h5;
        private var _-g0:_-3nb;
        private var _-478:_-4BJ;
        private var _-Je:_-0QY;
        private var _-2bJ:_-0Uq;
        private var _-0a7:_-3b;
        private var _-31b:_-1V5;

        public function HabboTalent(_arg1:_-1ih, _arg2:uint, _arg3:_-39L)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboCommunicationManager(), this._-35Q);
            queueInterface(new IIDHabboHelp(), this._-04o);
            queueInterface(new IIDHabboNavigator(), this._-3RO);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboAvatarEditor(), this._-jf);
        }
        public function get configurationManager():_-4uR
        {
            return (_-qn);
        }
        public function get communicationManager():_-4BJ
        {
            return (this._-478);
        }
        public function get localizationManager():_-0hg
        {
            return (_-1u4);
        }
        public function get _-Vl():_-51K
        {
            return (_-0pW);
        }
        public function get tracking():_-2UE
        {
            return (_tracking);
        }
        public function get windowManager():_-3Ts
        {
            return (_-U-);
        }
        public function get habboHelp():_-0QY
        {
            return (this._-Je);
        }
        public function get navigator():_-0Uq
        {
            return (this._-2bJ);
        }
        public function get _-2ss():Boolean
        {
            return (_-qn.getBoolean("talent.track.enabled", false));
        }
        public function get _-1Tk():Boolean
        {
            return (_-qn.getBoolean("talent.track.citizenship.enabled", false));
        }
        public function get _-0Jm():Boolean
        {
            return (_-qn.getBoolean("guide.help.new.user.tour.enabled", false));
        }
        public function get _-1uI():Boolean
        {
            return (_-qn.getBoolean("new.identity", false));
        }
        public function get toolbar():_-3b
        {
            return (this._-0a7);
        }
        public function get avatarEditor():_-1V5
        {
            return (this._-31b);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-3RN)
                {
                    this._-3RN.dispose();
                    this._-3RN = null;
                };
                if (this._-1Lf)
                {
                    this._-1Lf.dispose();
                    this._-1Lf = null;
                };
                if (this._-4ng)
                {
                    this._-4ng.dispose();
                    this._-4ng = null;
                };
                if (this._-g0 != null)
                {
                    this._-g0.dispose();
                    this._-g0 = null;
                };
                if (this._-478)
                {
                    this._-478.release(new IIDHabboCommunicationManager());
                    this._-478 = null;
                };
                if (this._-Je)
                {
                    this._-Je.release(new IIDHabboHelp());
                    this._-Je = null;
                };
                if (this._-2bJ)
                {
                    this._-2bJ.release(new IIDHabboNavigator());
                    this._-2bJ = null;
                };
                if (this._-0a7)
                {
                    this._-0a7.release(new IIDHabboToolbar());
                    this._-0a7 = null;
                };
                if (this._-31b)
                {
                    this._-31b.release(new IIDHabboAvatarEditor());
                    this._-31b = null;
                };
                super.dispose();
            };
        }
        override protected function tryInitialize():Boolean
        {
            if (!super.tryInitialize())
            {
                return (false);
            };
            if (((((((((this._-2ss) && (this._-478))) && (this._-Je))) && (this._-0a7))) && (this._-31b)))
            {
                this.initialize();
                return (true);
            };
            return (false);
        }
        private function initialize():void
        {
            this._-1Lf = new TalentTrackController(this);
            this._-3RN = new _-4G9(this);
            this._-4ng = new _-2h5(this);
            if (this._-1Tk)
            {
                this._-g0 = new _-3nb(this);
            };
            this._-1Lf.initialize();
            this._-3RN.initialize();
            this._-4ng.initialize();
        }
        private function _-35Q(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-478 = _-4BJ(_arg2);
            this.tryInitialize();
        }
        private function _-04o(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-Je = _-0QY(_arg2);
            this.tryInitialize();
        }
        private function _-3RO(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2bJ = _-0Uq(_arg2);
            this.tryInitialize();
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = (_-3b(_arg2) as _-3b);
            this.tryInitialize();
        }
        private function _-jf(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-31b = _-1V5(_arg2);
            this.tryInitialize();
        }
        public function send(_arg1:_-1oF):void
        {
            if (this._-478)
            {
                this._-478._-4gR(null).send(_arg1);
            };
        }
        public function getXmlWindow(_arg1:String, _arg2:uint=1):IWindow
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var layer:int = _arg2;
            var window:IWindow;
            try
            {
                asset = assets.getAssetByName((name + "_xml"));
                xmlAsset = _-243(asset);
                window = _-U-.buildFromXML(XML(xmlAsset.content), layer);
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboTalent", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + _-U-) + "!"));
                throw (e);
            };
            return (window);
        }
        public function _-Ml(_arg1:String):_-0xN
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var dialog:_-0xN;
            try
            {
                asset = assets.getAssetByName((name + "_xml"));
                xmlAsset = _-243(asset);
                dialog = _-U-.buildModalDialogFromXML(XML(xmlAsset.content));
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboTalent", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + _-U-) + "!"));
                throw (e);
            };
            return (dialog);
        }
        public function _-0Wg(_arg1:String, _arg2:TalentTrackLevel):void
        {
            this._-3RN._-3VE(_arg1, _arg2.level, _arg2._-c, _arg2._-14w);
        }

    }
}//package _-1vi

//------------------------------------------------------------
//_-1vi.TalentTrackController

package _-1vi
{
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-3GS.TalentTrack;
    import _-1ae.IBorderWindow;
    import _-Ew.IWindow;
    import _-4bo._-03W;
    import _-2It._-4AA;
    import _-2It._-iC;
    import _-2It._-2vk;
    import _-3GS._-3F8;
    import _-2It._-2am;
    import _-0Ie.WindowEvent;
    import _-0M7._-0tE;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-1ae.ITextWindow;
    import _-3GS._-2we;
    import _-3GS._-2ox;
    import __AS3__.vec.Vector;
    import _-3GS._-2nH;
    import flash.geom.Point;
    import _-3GS.TalentTrackLevel;
    import _-1ae._-4mB;
    import _-0Ix._-aY;
    import _-1ae.IRegionWindow;
    import _-2ly._-0d3;
    import _-0Ie.WindowMouseEvent;
    import _-2Pt._-2yb;
    import _-0Pi._-4AP;
    import _-0Pi._-1Eb;
    import _-0se._-06U;
    import _-2Pt._-1lL;
    import _-0Pi._-1AL;
    import _-ta._-0IP;
    import _-1ae.ITextFieldWindow;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class TalentTrackController implements _-1zZ 
    {

        private static const _-2T8:int = 3;
        private static const _-0ce:int = 100;
        private static const _-I0:String = "begin_";
        private static const _-59o:String = "level_pane_";
        private static const _-1ZP:String = "_no_citizenship";
        private static const _-2em:int = 40;
        private static const _-4Bb:int = 10;
        private static const _-29j:int = 200;
        private static const _-445:int = 60;

        private var _-Dc:HabboTalent;
        private var _disposed:Boolean = false;
        private var _-05i:_-0xN;
        private var _-0xv:IWindowContainer;
        private var _-2S3:_-0xN;
        private var _-0Al:IItemListWindow;
        private var _-1Lf:TalentTrack;
        private var _-34E:_-3kA;
        private var _-3fs:IWindowContainer;
        private var _-22l:IBorderWindow;
        private var _-1uZ:IBorderWindow;
        private var _-2nh:IBorderWindow;
        private var _-3ll:IBorderWindow;
        private var _-2nF:IWindowContainer;
        private var _-4gP:IWindowContainer;
        private var _-3gi:IWindowContainer;
        private var _-1qD:IWindow;
        private var _-3WW:int = -1;

        public function TalentTrackController(_arg1:HabboTalent)
        {
            this._-Dc = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-34E)
                {
                    this._-34E.dispose();
                    this._-34E = null;
                };
                this._-3Ly();
                this._-Dc = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get _-2Ou():TalentTrack
        {
            return (this._-1Lf);
        }
        public function initialize():void
        {
            this._-Dc.communicationManager.addHabboConnectionMessageEvent(new _-03W(this._-02R));
            this._-Dc.communicationManager.addHabboConnectionMessageEvent(new _-4AA(this._-0kU));
            this._-Dc.communicationManager.addHabboConnectionMessageEvent(new _-iC(this._-4PD));
            this._-Dc.communicationManager.addHabboConnectionMessageEvent(new _-2vk(this._-493));
        }
        private function _-4PD(_arg1:_-iC):void
        {
            var k:IWindowContainer = this._-20I();
            if (k != null)
            {
                this._-1l2().text = _arg1._-3-5().email;
                k.findChildByName("unverified_container").visible = !(_arg1._-3-5()._-0KL);
                k.findChildByName("verified_txt").visible = _arg1._-3-5()._-0KL;
            };
        }
        private function _-493(_arg1:_-2vk):void
        {
            this._-2jh(true, _arg1._-3-5().result);
        }
        private function _-02R(_arg1:_-03W):void
        {
            var k:_-3F8 = _arg1._-3-5();
            this._-1Lf = k._-5a();
            this.createWindow();
        }
        private function _-0kU(_arg1:_-4AA):void
        {
            var k:_-2am = _arg1.data;
            if (k.groupId == this._-3WW)
            {
                this._-3WW = -1;
                this._-Dc.navigator.goToPrivateRoom(k.roomId);
            };
        }
        private function createWindow():void
        {
            var k:String;
            var k:IWindowContainer;
            this._-3Ly();
            this._-05i = this._-Dc._-Ml("talent_track");
            this._-0xv = IWindowContainer(this._-05i._-5Ec);
            this._-0xv.procedure = this._-1DQ;
            this._-05i.background.procedure = this._-560;
            this._-Dc.windowManager.getWindowContext(_-2T8).getDesktopWindow().addEventListener(WindowEvent._-3K0, this._-0QH);
            this._-0Al = IItemListWindow(this._-0xv.findChildByName("panorama"));
            this._-3fs = IWindowContainer(this._-0Al._-4sE(this._-0Al.getListItemByName("level_pane")));
            var k:IItemListWindow = IItemListWindow(this._-3fs.findChildByName("reward_list"));
            this._-22l = IBorderWindow(k._-4sE(k.getListItemByName("reward_achieved")));
            this._-1uZ = IBorderWindow(k._-4sE(k.getListItemByName("reward_locked")));
            this._-2nh = IBorderWindow(k._-4sE(k.getListItemByName("reward_product")));
            this._-3ll = IBorderWindow(k._-4sE(k.getListItemByName("reward_vip")));
            var k:IItemListWindow = IItemListWindow(this._-3fs.findChildByName("task_list_top"));
            this._-2nF = IWindowContainer(k._-4sE(k.getListItemByName("task_achieved")));
            this._-4gP = IWindowContainer(k._-4sE(k.getListItemByName("task_ongoing")));
            this._-3gi = IWindowContainer(k._-4sE(k.getListItemByName("task_locked")));
            this._-1qD = this._-3fs.removeChild(this._-3fs.findChildByName("action_overlay"));
            var k:Boolean = this._-Dc._-1Tk;
            for each (k in _-0tE._-0zn)
            {
                k = (this._-0Al.getListItemByName((_-I0 + k)) as IWindowContainer);
                if (k != null)
                {
                    k.visible = (((k == this._-1Lf.name)) && (k));
                    if (k.visible)
                    {
                        this._-4jT(k);
                    };
                };
                if (k != _-0tE._-0-O)
                {
                    k = (this._-0Al.getListItemByName(((_-I0 + k) + _-1ZP)) as IWindowContainer);
                    if (k != null)
                    {
                        k.visible = (((k == this._-1Lf.name)) && (!(k)));
                        if (k.visible)
                        {
                            this._-4jT(k);
                        };
                    };
                };
            };
            this._-0xv.findChildByName("frame_title").caption = (("${talent.track." + this._-1Lf.name) + ".frame.title}");
            this._-0xv.findChildByName("frame_subtitle").caption = (("${talent.track." + this._-1Lf.name) + ".frame.subtitle}");
            this._-0xv.findChildByName("progress_text").caption = (("${talent.track." + this._-1Lf.name) + ".progress.title}");
            if (((k) && (!((this._-1Lf.name == _-0tE._-0-O)))))
            {
                this._-1Lf._-1Ld();
            };
            var k:int;
            var k:int;
            while (k < this._-1Lf._-0Ko.length)
            {
                this._-3NB(this._-1Lf._-0Ko[k], k);
                if (this._-1Lf._-0Ko[k].state == TalentTrack._-0YF)
                {
                };
                k++;
            };
            this._-34E = new _-3kA(this._-Dc, this);
            this._-0Al._-0ei(this._-0Al.getListItemByName("end_padding"), (this._-0Al.numListItems - 1));
            this.resizeWindow();
            this._-56c(k);
        }
        private function _-4jT(_arg1:IWindowContainer):void
        {
            var k:_-3Yi = (_arg1.findChildByName("avatar_image") as _-3Yi);
            if (k != null)
            {
                _-3La(k.widget).figure = this._-Dc._-Vl.figure;
            };
        }
        private function _-3NB(_arg1:TalentTrackLevel, _arg2:int):void
        {
            var _local9:IBorderWindow;
            var _local10:ITextWindow;
            var _local11:ITextWindow;
            var _local12:ITextWindow;
            var _local13:ITextWindow;
            var _local14:IItemListWindow;
            var _local15:int;
            var _local16:_-2we;
            var _local17:_-2ox;
            var _local18:IWindow;
            var _local19:Vector.<IWindow>;
            var _local20:_-2nH;
            var k:IWindow;
            var k:Point;
            var k:IWindowContainer = IWindowContainer(this._-3fs.clone());
            var k:IItemListWindow = IItemListWindow(k.findChildByName("status_list"));
            var k:IWindowContainer = IWindowContainer(k.findChildByName("level_reward"));
            var k:IWindowContainer = IWindowContainer(k.findChildByName("level_task"));
            var k:IItemListWindow = IItemListWindow(k.findChildByName("task_list_top"));
            var k:IItemListWindow = IItemListWindow(k.findChildByName("task_list_bottom"));
            k.name = (_-59o + _arg2);
            k.findChildByName("level_title").caption = (((("${talent.track." + this._-1Lf.name) + ".level.") + _arg1.level) + ".title}");
            k.findChildByName("level_description").caption = (((("${talent.track." + this._-1Lf.name) + ".level.") + _arg1.level) + ".description}");
            if (_arg2 == 0)
            {
                k.width = 0;
                k.visible = false;
                k.x = (4 * _-4Bb);
            }
            else
            {
                _local9 = IBorderWindow(k.findChildByName("border"));
                _local10 = ITextWindow(k.findChildByName("title_locked"));
                _local11 = ITextWindow(k.findChildByName("title_achieved"));
                _local12 = ITextWindow(k.findChildByName("description_locked"));
                _local13 = ITextWindow(k.findChildByName("description_achieved"));
                _local14 = IItemListWindow(k.findChildByName("reward_list"));
                switch (_arg1.state)
                {
                    case TalentTrack._-4hG:
                    case TalentTrack._-0YF:
                        _local9.color = 4537147;
                        _local10.visible = false;
                        _local11.caption = ((this._-Dc.localizationManager.getKey("talent.track.common.unlocked.level.prefix") + " ") + this._-Dc.localizationManager.getKey((((("talent.track." + this._-1Lf.name) + ".level.") + _arg1.level) + ".title")));
                        _local12.visible = false;
                        _local13.caption = (((("${talent.track." + this._-1Lf.name) + ".level.") + _arg1.level) + ".unlock}");
                        k.findChildByName("locked").visible = false;
                        break;
                    case TalentTrack._-2UH:
                        _local9.color = 0xBDBDBD;
                        _local9.findChildByName("unlocked").visible = false;
                        _local10.caption = (((("${talent.track." + this._-1Lf.name) + ".level.") + _arg1.level) + ".title}");
                        _local11.visible = false;
                        _local12.caption = (((("${talent.track." + this._-1Lf.name) + ".level.") + _arg1.level) + ".unlock}");
                        _local13.visible = false;
                        k.findChildByName("achieved").visible = false;
                        break;
                };
                if (_arg1._-42d == 0)
                {
                    _local15 = Math.max(_-29j, Math.max(_local11.width, _local10.width));
                    _local12.width = _local15;
                    _local13.width = _local15;
                    _local9.width = (_local15 + (2 * _-4Bb));
                    k.width = (_local15 + (2 * _-4Bb));
                    _local9.height = ((_local13.y + Math.max(_local13.height, _local12.height)) + _-4Bb);
                    k.height = (_local9.height + _local9.y);
                    _local14.visible = false;
                }
                else
                {
                    if ((((_arg1._-42d == 1)) && ((_arg1._-14w.length > 0))))
                    {
                        _local15 = Math.max((_-29j + (_-4Bb * 2)), Math.max(_local11.width, _local10.width));
                        _local12.width = _local15;
                        _local13.width = _local15;
                        _local14.addListItem(this._-4yy(_arg1, _arg1._-14w[0]));
                        _local9.width = (_local15 + (2 * _-4Bb));
                        k.width = (_local15 + (2 * _-4Bb));
                    }
                    else
                    {
                        if (_arg1._-42d == 1)
                        {
                            _local9.width = ((_-29j * 2) + (_-4Bb * 2));
                            _local12.width = (_-29j * 2);
                            _local13.width = (_-29j * 2);
                            _local14.addListItem((((_arg1._-c.length > 0)) ? this._-2zw(_arg1, _arg1._-c[0]) : this._-4yy(_arg1, _arg1._-14w[0])));
                            _local14._-0O3();
                            k.width = (_local14.width + (2 * _-4Bb));
                            _local9.width = (_local14.width + (2 * _-4Bb));
                        }
                        else
                        {
                            for each (_local16 in _arg1._-c)
                            {
                                _local14.addListItem(this._-2zw(_arg1, _local16));
                            };
                            for each (_local17 in _arg1._-14w)
                            {
                                _local14.addListItem(this._-4yy(_arg1, _local17));
                            };
                            _local14._-0O3();
                            k.width = (_local14.width + (2 * _-4Bb));
                            _local9.width = (_local14.width + (2 * _-4Bb));
                            _local13.width = (_local9.width - (2 * _-4Bb));
                        };
                    };
                };
            };
            if (_arg1._-2ja.length == 0)
            {
                k.width = 0;
                k.visible = false;
            }
            else
            {
                _local19 = new Vector.<IWindow>();
                for each (_local20 in _arg1._-2ja)
                {
                    _local18 = this._-2Qj(_arg1, _local20);
                    if (k.numListItems == k.numListItems)
                    {
                        k.addListItem(_local18);
                    }
                    else
                    {
                        k.addListItem(_local18);
                    };
                    if ((((_local20._-3T == _-2nH._-200)) && ((_local20.state == TalentTrack._-0YF))))
                    {
                        _local19.push(_local18);
                    };
                };
                k._-0O3();
                k._-0O3();
                k.width = Math.max(k.width, k.width);
                for each (_local18 in _local19)
                {
                    k = this._-1qD.clone();
                    k = new Point();
                    k.addChild(k);
                    _local18._-32V(k);
                    k._-fa(k);
                    k.x = (k.x + k.x);
                    k.y = (k.y + k.y);
                    k.visible = true;
                };
            };
            k._-0O3();
            k.width = ((k.width + _-4Bb) + k.width);
            k.width = ((k.x + k.width) + _-4Bb);
            this._-4K0(_arg1, k);
            this._-0Al.addListItem(k);
        }
        private function _-4K0(_arg1:TalentTrackLevel, _arg2:IWindowContainer):void
        {
            var k:IWindow = _arg2.findChildByName("level_description");
            var k:_-4mB = _-4mB(_arg2.findChildByName("level_illustration"));
            k.assetUri = (((("${image.library.url}talent/" + this._-1Lf.name) + "_") + _arg1.level) + ".png");
            if ((((_arg1.level == 8)) && ((this._-1Lf.name == _-0tE._-4LW))))
            {
                k.width = 220;
                k.height = 270;
                k.x = Math.max(k.right, _arg2.width);
            }
            else
            {
                if ((((_arg1.level == 0)) && ((this._-1Lf.name == _-0tE._-0-O))))
                {
                    k.width = 0;
                    k.x = Math.max(k.right, _arg2.width);
                }
                else
                {
                    if ((((_arg1.level == 4)) && ((this._-1Lf.name == _-0tE._-0-O))))
                    {
                        k.width = 220;
                        k.height = 280;
                        k.x = Math.max(k.right, _arg2.width);
                    }
                    else
                    {
                        k.x = Math.max(k.right, (_arg2.width - k.width));
                    };
                };
            };
            _arg2.width = Math.max(_arg2.width, k.right);
        }
        private function _-2zw(_arg1:TalentTrackLevel, _arg2:_-2we):IWindowContainer
        {
            var k:IWindowContainer;
            switch (_arg1.state)
            {
                case TalentTrack._-4hG:
                case TalentTrack._-0YF:
                    k = IWindowContainer(this._-22l.clone());
                    _-aY(_-3Yi(k.findChildByName("achieved")).widget).badgeId = _arg2._-3UP;
                    break;
                case TalentTrack._-2UH:
                    k = IWindowContainer(this._-1uZ.clone());
                    break;
            };
            var k:IWindow = IWindow(k.findChildByName("title"));
            var k:IWindow = ITextWindow(k.findChildByName("description"));
            k.caption = (("${perk." + _arg2._-3UP) + ".name}");
            k.caption = (("${perk." + _arg2._-3UP) + ".description}");
            if (_arg1._-42d == 1)
            {
                k.width = (_-29j * 2);
                k.findChildByName("title").width = ((_-29j * 2) - _-445);
                k.findChildByName("description").width = ((_-29j * 2) - _-445);
            }
            else
            {
                if (k.height > 30)
                {
                    k.width = (k.width + (4 * _-4Bb));
                };
                k.width = Math.max(k.width, k.width);
                k.width = ((Math.max(k.width, k.width) + _-445) + _-4Bb);
            };
            return (k);
        }
        private function _-4yy(_arg1:TalentTrackLevel, _arg2:_-2ox):IWindowContainer
        {
            var k:IWindowContainer;
            if (_arg2._-30Y == 0)
            {
                k = IWindowContainer(this._-2nh.clone());
                _-4mB(k.findChildByName("product_icon")).assetUri = (("${image.library.url}talent/reward_product_" + _arg2._-1A8.toLowerCase().replace(" ", "_")) + ".png");
            }
            else
            {
                k = IWindowContainer(this._-3ll.clone());
                k.findChildByName("vip_length").caption = this._-Dc.localizationManager._-5CG("catalog.vip.item.header.days", "", "num_days", _arg2._-30Y);
            };
            if (_arg1.state == TalentTrack._-2UH)
            {
                k.color = 0x979797;
                k.blend = 0.6;
            };
            return (k);
        }
        private function _-2Qj(_arg1:TalentTrackLevel, _arg2:_-2nH):IWindowContainer
        {
            var k:IWindowContainer;
            var _local6:IRegionWindow;
            if ((((_arg2._-3T == null)) || ((_arg2._-3T == ""))))
            {
                return (null);
            };
            switch (_arg2.state)
            {
                case TalentTrack._-4hG:
                    k = IWindowContainer(this._-2nF.clone());
                    _-aY(_-3Yi(k.findChildByName("badge")).widget).badgeId = _arg2._-3T;
                    break;
                case TalentTrack._-0YF:
                    k = IWindowContainer(this._-4gP.clone());
                    _-aY(_-3Yi(k.findChildByName("badge")).widget).badgeId = _arg2._-3T;
                    k.findChildByName("task_progress_fg").width = _-0d3._-17w(_arg2._-Db, 0, _arg2._-0aL, 0, 48);
                    _local6 = (k.findChildByName("task_ongoing_region") as IRegionWindow);
                    _local6.id = _arg2._-4Oi;
                    if (_arg2._-3T == _-2nH._-200)
                    {
                        _local6._-2QR = "";
                        _local6.name = _arg2._-3T;
                    };
                    break;
                case TalentTrack._-2UH:
                    k = IWindowContainer(this._-3gi.clone());
                    break;
            };
            var k:IWindow = k.findChildByName("title");
            var k:IWindow = k.findChildByName("description");
            k.caption = this._-Dc.localizationManager.getAchievementName(_arg2._-3T).toUpperCase();
            k.caption = this._-Dc.localizationManager._-0G0(_arg2._-3T);
            if (k.height > 20)
            {
                k.y = (k.y - 5);
                k.y = (k.y + 5);
            }
            else
            {
                if (k.height > 30)
                {
                    k.y = (k.y - 5);
                    k.y = (k.y - 5);
                };
            };
            return (k);
        }
        private function _-3Ly():void
        {
            this._-3y1();
            if (this._-1qD != null)
            {
                this._-1qD.dispose();
                this._-1qD = null;
            };
            if (this._-3fs)
            {
                this._-3fs.dispose();
                this._-3fs = null;
            };
            if (this._-22l)
            {
                this._-22l.dispose();
                this._-22l = null;
            };
            if (this._-1uZ)
            {
                this._-1uZ.dispose();
                this._-1uZ = null;
            };
            if (this._-2nh)
            {
                this._-2nh.dispose();
                this._-2nh = null;
            };
            if (this._-3ll)
            {
                this._-3ll.dispose();
                this._-3ll = null;
            };
            if (this._-2nF)
            {
                this._-2nF.dispose();
                this._-2nF = null;
            };
            if (this._-4gP)
            {
                this._-4gP.dispose();
                this._-4gP = null;
            };
            if (this._-3gi)
            {
                this._-3gi.dispose();
                this._-3gi = null;
            };
            if (this._-05i)
            {
                this._-05i.dispose();
                this._-05i = null;
                this._-0xv = null;
                this._-Dc.windowManager.getWindowContext(_-2T8).getDesktopWindow().removeEventListener(WindowEvent._-3K0, this._-0QH);
            };
        }
        private function resizeWindow():void
        {
            if ((((this._-05i == null)) || (this._-05i.disposed)))
            {
                return;
            };
            this._-0xv.x = _-0ce;
            this._-0xv.width = (this._-0xv.desktop.width - (2 * _-0ce));
            this._-0xv.findChildByName("frame").width = this._-0xv.width;
            this._-0xv.findChildByName("panorama").width = this._-0xv.width;
            this._-0xv.findChildByName("panorama_scrollbar").width = this._-0xv.width;
            this._-34E._-3b-();
            this._-0Al._-0O3();
            this._-0xv.invalidate();
        }
        private function _-0QH(_arg1:WindowEvent):void
        {
            this.resizeWindow();
        }
        private function _-1DQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:int;
            if ((((((this._-0xv == null)) || (this._-0xv.disposed))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                    this._-3Ly();
                    return;
                case "progress_container":
                    _local3 = WindowMouseEvent(_arg1).localX;
                    if (_local3 < _-2em)
                    {
                        this._-0Al.scrollH = 0;
                    }
                    else
                    {
                        if (_local3 > (this._-34E.width - _-2em))
                        {
                            this._-0Al.scrollH = 1;
                        }
                        else
                        {
                            this._-56c(int(Math.floor((_local3 / this._-34E._-4sp))));
                        };
                    };
                    return;
                case "task_ongoing_region":
                    this._-Do(_arg2.id);
                    return;
                case "citizenship_button":
                    this._-Dc.tracking.trackTalentTrackOpen(_-0tE._-0-O, "talentrack");
                    this._-Dc.send(new _-2yb(_-0tE._-0-O));
                    return;
                case "button_track_citizenship":
                    return;
                case "button_track_helper":
                    return;
                case _-2nH._-200:
                    this._-1vp(_arg2.name);
                    this._-Dc.habboHelp.showSafetyBooklet();
                    return;
            };
        }
        private function _-560(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((((this._-0xv == null)) || (this._-0xv.disposed))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            this._-3Ly();
        }
        private function _-56c(_arg1:int):void
        {
            var _local2:IWindow;
            if (_arg1 == 0)
            {
                this._-0Al.scrollH = 0;
            }
            else
            {
                _local2 = this._-0Al.getListItemByName((_-59o + _arg1));
                if (_local2 != null)
                {
                    _-Nb.log(this._-0Al.scrollH);
                    this._-0Al.scrollH = _-0d3._-17w((_local2.x - 20), 0, (this._-0Al._-2yI.width - this._-0Al._-0yi.width), 0, 1);
                    _-Nb.log(((((((_local2.x + " ") + this._-0Al._-2yI.width) + " ") + _-0d3._-17w(_local2.x, 0, this._-0Al._-2yI.width, 0, 1)) + " ") + this._-0Al.scrollH));
                };
            };
        }
        private function _-Do(_arg1:int):void
        {
            var k:String;
            var k:String;
            var k:Boolean;
            this._-3y1();
            var k:_-2nH = this._-1Lf._-1Nd(_arg1);
            if ((((((k == null)) || ((k._-3T == null)))) || ((k._-3T == ""))))
            {
                return;
            };
            this._-Dc.tracking.trackEventLog("Talent", this._-2Ou.name, "talent.progress.show", k._-3T);
            if (k._-3T == _-2nH._-0S7)
            {
                this._-4t4();
                return;
            };
            this._-2S3 = this._-Dc._-Ml("task_progress_dialog");
            this._-2S3._-5Ec.procedure = this._-1xi;
            this._-2S3.background.procedure = this._-1HV;
            var k:IWindowContainer = IWindowContainer(this._-2S3._-5Ec);
            k.findChildByName("instruction").caption = this._-Dc.localizationManager._-0G0(k._-3T);
            k.findChildByName("title").caption = this._-Dc.localizationManager.getAchievementName(k._-3T);
            k.findChildByName("progress_text").caption = ((((this._-Dc.localizationManager.getKey("talent.track.task.progress.dialog.progress") + " ") + k._-Db) + "/") + k._-0aL);
            _-aY(_-3Yi(k.findChildByName("badge")).widget).badgeId = k._-3T;
            this._-20I().visible = false;
            if (this._-Dc._-1Tk)
            {
                k = this._-Dc.localizationManager.getKey((((("talent.track.task.action." + this._-1Lf.name) + ".") + this._-4SE(k._-3T)) + ".description"), "");
                k = this._-Dc.localizationManager.getKey((((("talent.track.task.action." + this._-1Lf.name) + ".") + this._-4SE(k._-3T)) + ".link"), "");
                k = ((!((k == ""))) || (!((k == ""))));
                k.findChildByName("action_separator").visible = k;
                k.findChildByName("action_title").visible = k;
                this._-0Ab(k, "action_description", k);
                this._-0Ab(k, "action_link", k);
                k.findChildByName("action_link").name = k._-3T;
                k.findChildByName("progress_separator").visible = !((k == ""));
                if ((((k._-3T == _-2nH._-3J1)) && (this._-36W)))
                {
                    this._-20I().visible = true;
                    this._-20I().findChildByName("change_email_region").procedure = this._-2u8;
                    this._-1l2().procedure = this._-2i8;
                    this._-Dc.send(new _-4AP());
                    this._-2jh(false);
                };
            }
            else
            {
                k.findChildByName("action_separator").visible = false;
                k.findChildByName("action_title").visible = false;
                k.findChildByName("action_description").visible = false;
                k.findChildByName("action_link").visible = false;
            };
            IItemListWindow(k.findChildByName("top_list"))._-0O3();
            if (k._-Db <= 0)
            {
                k.findChildByName("achieved_left").visible = false;
                k.findChildByName("achieved_right").visible = false;
                k.findChildByName("achieved_mid").visible = false;
            }
            else
            {
                if (k._-Db < k._-0aL)
                {
                    k.findChildByName("achieved_right").visible = false;
                    k.findChildByName("achieved_mid").width = _-0d3._-17w(k._-Db, 0, k._-0aL, 0, k.findChildByName("unachieved_mid").width);
                };
            };
            var k:IItemListWindow = IItemListWindow(k.findChildByName("list"));
            if (!k._-27V())
            {
                k._-4sE(k.getListItemByName("progress_main_container"));
            };
            k._-0O3();
        }
        private function _-20I():IWindowContainer
        {
            if ((((this._-2S3 == null)) || ((this._-2S3._-5Ec == null))))
            {
                return (null);
            };
            var k:IWindowContainer = IWindowContainer(this._-2S3._-5Ec);
            return ((((k == null)) ? null : IWindowContainer(k.findChildByName("email_container"))));
        }
        private function _-4SE(_arg1:String):String
        {
            if ((((_arg1 == _-2nH.ROOM_ENTRY_1)) || ((_arg1 == _-2nH.ROOM_ENTRY_2))))
            {
                return ("ACH_RoomEntry");
            };
            return (_arg1);
        }
        private function _-0Ab(_arg1:IWindowContainer, _arg2:String, _arg3:String):void
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            k.caption = _arg3;
            k.visible = !((_arg3 == ""));
        }
        private function _-3y1():void
        {
            if (this._-2S3 != null)
            {
                this._-2S3.dispose();
                this._-2S3 = null;
            };
        }
        private function _-1xi(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:int;
            if ((((((this._-2S3 == null)) || (this._-2S3.disposed))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                case "thanks_button":
                    this._-3y1();
                    return;
                case _-2nH._-56Z:
                    this._-1vp(_arg2.name);
                    this._-Dc.habboHelp._-3sC();
                    return;
                case _-2nH._-ay:
                    this._-1vp(_arg2.name);
                    _local3 = int(this._-Dc.configurationManager.getKey("guide.help.alpha.groupid", "0"));
                    if (_local3 > 0)
                    {
                        this._-3WW = _local3;
                        this._-Dc.send(new _-1Eb(_local3, false));
                    };
                    return;
                case _-2nH._-200:
                    this._-1vp(_arg2.name);
                    this._-Dc.habboHelp.showSafetyBooklet();
                    return;
                case _-2nH.ROOM_ENTRY_1:
                case _-2nH.ROOM_ENTRY_2:
                    this._-1vp(_arg2.name);
                    this._-Dc.navigator._-2Yo(null);
                    return;
                case _-2nH._-3u2:
                    this._-1vp(_arg2.name);
                    this._-Dc.avatarEditor.openEditor(_-06U._-0g7, null, null, true);
                    this._-Dc.avatarEditor.loadOwnAvatarInEditor(_-06U._-0g7);
                    return;
            };
        }
        private function _-1vp(_arg1:String):void
        {
            this._-3Ly();
            this._-Dc.tracking.trackEventLog("Talent", this._-1Lf.name, "talent.progress.click_activity", _arg1);
        }
        private function _-4t4():void
        {
            this._-2S3 = this._-Dc._-Ml("tour_task_progress_dialog");
            var k:IWindowContainer = IWindowContainer(this._-2S3._-5Ec);
            k.findChildByName("take_tour_button").procedure = this._-0mR;
            k.findChildByName("decline_tour_region").procedure = this._-2xK;
            k.findChildByName("header_button_close").procedure = this._-2qR;
        }
        private function _-0mR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-3Ly();
                this._-3y1();
                this._-Dc.send(new _-1lL());
                this._-Dc.habboHelp._-od();
                this._-Dc.tracking.trackEventLog("Help", "", "tour.new_user.accept");
                this._-Dc.tracking.trackGoogle("newbieTourWindow", "click_acceptTour");
            };
        }
        private function _-2qR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-3y1();
            };
        }
        private function _-2xK(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-3Ly();
                this._-3y1();
                this._-Dc.send(new _-1lL());
                this._-Dc.tracking.trackEventLog("Help", "", "tour.new_user.cancel");
                this._-Dc.tracking.trackGoogle("newbieTourWindow", "click_refuseTour");
            };
        }
        private function _-2u8(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-1l2().text;
                this._-Dc.send(new _-1AL(k));
            };
        }
        private function _-2i8(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowEvent._-4JH)
            {
                this._-2jh(false);
            };
        }
        private function _-2jh(_arg1:Boolean, _arg2:int=0):void
        {
            if (this._-20I() == null)
            {
                return;
            };
            var k:Boolean = ((_arg1) && (!((_arg2 == _-0IP._-1q2))));
            var k:IWindowContainer = this._-20I();
            var k:IWindow = k.findChildByName("error_txt");
            k.visible = k;
            k.caption = ((("$" + "{welcome.gift.email.error.") + _arg2) + "}");
            k.findChildByName("error_border").visible = k;
            k.findChildByName("change_email_region").visible = !(_arg1);
            k.findChildByName("changed_container").visible = ((_arg1) && ((_arg2 == _-0IP._-1q2)));
        }
        private function _-1l2():ITextFieldWindow
        {
            return (ITextFieldWindow(this._-20I().findChildByName("email_txt")));
        }
        private function _-1HV(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((((this._-2S3 == null)) || (this._-2S3.disposed))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            this._-3y1();
        }
        private function get _-36W():Boolean
        {
            return (this._-Dc.configurationManager.getBoolean("talent.progress.emailchange.enabled", true));
        }

    }
}//package _-1vi

//------------------------------------------------------------
//_-1Vw._-0Ea

package _-1Vw
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-0Ea implements _-1zZ 
    {

        private var _-068:Boolean;
        private var _name:String;
        private var _desc:String;
        private var _-tz:Array;
        private var _disposed:Boolean;

        public function _-0Ea(_arg1:_-0s1)
        {
            this._-tz = new Array();
            super();
            this._-068 = _arg1.readBoolean();
            if (!this._-2pO)
            {
                return;
            };
            this._name = _arg1.readString();
            this._desc = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-tz.push(_arg1.readString());
                k++;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-tz = null;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get desc():String
        {
            return (this._desc);
        }
        public function get tags():Array
        {
            return (this._-tz);
        }
        public function get _-2pO():Boolean
        {
            return (this._-068);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-0k-

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-4W3;
    import _-4Aj.*;

    public class _-0k- extends _-7V implements _-0tL 
    {

        public function _-0k-(_arg1:Function)
        {
            super(_arg1, _-4W3);
        }
        public function _-3-5():_-4W3
        {
            return ((_-515 as _-4W3));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-0Md

package _-1Vw
{
    import _-4Aj._-0s1;

    public class _-0Md 
    {

        private var _-4k7:int;
        private var _-2UD:int;
        private var _-5BG:int;
        private var _-3DW:int;
        private var _-00o:_-3x;

        public function _-0Md(_arg1:_-0s1)
        {
            this._-4k7 = _arg1._-2BW();
            this._-2UD = _arg1._-2BW();
            this._-5BG = _arg1._-2BW();
            this._-3DW = _arg1._-2BW();
            this._-00o = new _-3x(_arg1);
            _-Nb.log(("READ CFHCHATLOGDATA: callId: " + this._-4k7));
        }
        public function get callId():int
        {
            return (this._-4k7);
        }
        public function get _-34F():int
        {
            return (this._-2UD);
        }
        public function get _-2NX():int
        {
            return (this._-5BG);
        }
        public function get _-0--():int
        {
            return (this._-3DW);
        }
        public function get room():_-3x
        {
            return (this._-00o);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-0NN

package _-1Vw
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-0NN implements _-KJ, _-1zZ 
    {

        private var _name:String;
        private var _-1nt:Boolean;
        private var _-40B:Array;
        private var _disposed:Boolean;

        public function _-0NN(_arg1:_-0s1)
        {
            this._-40B = new Array();
            super();
            this._name = _arg1.readString();
            _-Nb.log(("READ CAT: " + this._name));
            this._-1nt = _arg1.readBoolean();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-40B.push(new _-3TV(_arg1));
                k++;
            };
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-40B = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-0ag():Array
        {
            return (this._-40B);
        }
        public function get _-Jq():Boolean
        {
            return (this._-1nt);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-0Ps

package _-1Vw
{
    import _-4Aj._-0s1;

    public class _-0Ps 
    {

        private var _-Vp:Boolean;
        private var _-1Rt:int;
        private var _-14l:String;
        private var _-52C:int;
        private var _-3LL:int;

        public function _-0Ps(_arg1:_-0s1)
        {
            this._-Vp = _arg1.readBoolean();
            this._-1Rt = _arg1._-2BW();
            this._-14l = _arg1.readString();
            this._-52C = _arg1._-2BW();
            this._-3LL = _arg1._-2BW();
        }
        public function get _-0MC():Boolean
        {
            return (this._-Vp);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function get _-1k1():int
        {
            return (this._-52C);
        }
        public function get _-nz():int
        {
            return (this._-3LL);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-0t4

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-0H6;
    import _-4Aj.*;

    public class _-0t4 extends _-7V implements _-0tL 
    {

        public function _-0t4(_arg1:Function)
        {
            super(_arg1, _-0H6);
        }
        public function _-3-5():_-0H6
        {
            return ((_-515 as _-0H6));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-14u

package _-1Vw
{
    import _-4Aj._-0s1;

    public class _-14u 
    {

        private var _-2LQ:int;
        private var _-4gu:int;
        private var _-3zN:String;
        private var _-1dC:String;

        public function _-14u(_arg1:_-0s1)
        {
            this._-2LQ = _arg1._-2BW();
            this._-4gu = _arg1._-2BW();
            this._-3zN = _arg1.readString();
            this._-1dC = _arg1.readString();
        }
        public function get _-pV():int
        {
            return (this._-2LQ);
        }
        public function get _-4B2():int
        {
            return (this._-4gu);
        }
        public function get _-4C8():String
        {
            return (this._-3zN);
        }
        public function get _-5-C():String
        {
            return (this._-1dC);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-1CB

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-2CP;
    import _-4Aj.*;

    public class _-1CB extends _-7V implements _-0tL 
    {

        public function _-1CB(_arg1:Function)
        {
            super(_arg1, _-2CP);
        }
        public function _-3-5():_-2CP
        {
            return ((_-515 as _-2CP));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-1Q1

package _-1Vw
{
    import _-4Aj._-0s1;

    public class _-1Q1 
    {

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-0jy:int;
        private var _-4xS:int;
        private var _-1Lo:Boolean;
        private var _-1yo:int;
        private var _-1Xr:int;
        private var _-2mO:int;
        private var _-2kQ:int;
        private var _-0mM:String;
        private var _-53R:int;
        private var _-25L:int;
        private var _-31P:String;
        private var _-5AE:String;

        public function _-1Q1(_arg1:_-0s1)
        {
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-0jy = _arg1._-2BW();
            this._-4xS = _arg1._-2BW();
            this._-1Lo = _arg1.readBoolean();
            this._-1yo = _arg1._-2BW();
            this._-1Xr = _arg1._-2BW();
            this._-2mO = _arg1._-2BW();
            this._-2kQ = _arg1._-2BW();
            this._-0mM = _arg1.readString();
            this._-53R = _arg1._-2BW();
            this._-25L = _arg1._-2BW();
            this._-31P = _arg1.readString();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-1aJ():int
        {
            return (this._-0jy);
        }
        public function get _-sm():int
        {
            return (this._-4xS);
        }
        public function get online():Boolean
        {
            return (this._-1Lo);
        }
        public function get _-1vT():int
        {
            return (this._-1yo);
        }
        public function get _-0r1():int
        {
            return (this._-1Xr);
        }
        public function get _-4j1():int
        {
            return (this._-2mO);
        }
        public function get _-5E5():int
        {
            return (this._-2kQ);
        }
        public function get _-1FV():String
        {
            return (this._-0mM);
        }
        public function get _-4zO():int
        {
            return (this._-53R);
        }
        public function get _-gV():int
        {
            return (this._-25L);
        }
        public function get _-1Mo():String
        {
            return (this._-31P);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-2uG

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-1J3;
    import _-4Aj.*;

    public class _-2uG extends _-7V implements _-0tL 
    {

        public function _-2uG(_arg1:Function)
        {
            super(_arg1, _-1J3);
        }
        public function _-3-5():_-1J3
        {
            return ((_-515 as _-1J3));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-2YB

package _-1Vw
{
    import _-4Aj._-0s1;

    public class _-2YB 
    {

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-sT:Array;

        public function _-2YB(_arg1:_-0s1)
        {
            this._-sT = new Array();
            super();
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-sT.push(new _-0Ps(_arg1));
                k++;
            };
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get rooms():Array
        {
            return (this._-sT);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-3eS

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-2NA;
    import _-4Aj.*;

    public class _-3eS extends _-7V implements _-0tL 
    {

        public function _-3eS(_arg1:Function)
        {
            super(_arg1, _-2NA);
        }
        public function _-3-5():_-2NA
        {
            return ((_-515 as _-2NA));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-3RK

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-5B4;
    import _-4Aj.*;

    public class _-3RK extends _-7V implements _-0tL 
    {

        public function _-3RK(_arg1:Function)
        {
            super(_arg1, _-5B4);
        }
        public function _-3-5():_-5B4
        {
            return ((_-515 as _-5B4));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-3TV

package _-1Vw
{
    import _-4Aj._-0s1;

    public class _-3TV implements _-KJ 
    {

        private var _name:String;
        private var _-1dC:String;
        private var _-39d:int;
        private var _-2-q:int;

        public function _-3TV(_arg1:_-0s1)
        {
            this._name = _arg1.readString();
            this._-1dC = _arg1.readString();
            this._-39d = _arg1._-2BW();
            this._-2-q = _arg1._-2BW();
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-5-C():String
        {
            return (this._-1dC);
        }
        public function get _-4gn():int
        {
            return (this._-39d);
        }
        public function get _-2Mf():int
        {
            return (this._-2-q);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-3x

package _-1Vw
{
    import _-4Aj._-0s1;

    public class _-3x 
    {

        private var _-Vp:Boolean;
        private var _-1Rt:int;
        private var _-14l:String;
        private var _-4lR:Array;

        public function _-3x(_arg1:_-0s1)
        {
            this._-4lR = new Array();
            super();
            this._-Vp = _arg1.readBoolean();
            this._-1Rt = _arg1._-2BW();
            this._-14l = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4lR.push(new _-14u(_arg1));
                k++;
            };
            _-Nb.log(((((((("READ ROOMCHATLOGDATA: " + this._-Vp) + ", ") + this._-1Rt) + ", ") + this._-14l) + ", ") + this.chatlog.length));
        }
        public function get _-0MC():Boolean
        {
            return (this._-Vp);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function get chatlog():Array
        {
            return (this._-4lR);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-4Dg

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-2KC;
    import _-4Aj.*;

    public class _-4Dg extends _-7V implements _-0tL 
    {

        public function _-4Dg(_arg1:Function)
        {
            super(_arg1, _-2KC);
        }
        public function _-3-5():_-2KC
        {
            return ((_-515 as _-2KC));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-4kL

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-3U-;
    import _-4Aj.*;

    public class _-4kL extends _-7V implements _-0tL 
    {

        public function _-4kL(_arg1:Function)
        {
            super(_arg1, _-3U-);
        }
        public function _-3-5():_-3U-
        {
            return ((_-515 as _-3U-));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-4o9

package _-1Vw
{
    import _-4Aj._-0s1;

    public class _-4o9 
    {

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-sT:Array;

        public function _-4o9(_arg1:_-0s1)
        {
            this._-sT = new Array();
            super();
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-sT.push(new _-3x(_arg1));
                k++;
            };
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get rooms():Array
        {
            return (this._-sT);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-4Yz

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-0BJ;
    import _-4Aj.*;

    public class _-4Yz extends _-7V implements _-0tL 
    {

        public function _-4Yz(_arg1:Function)
        {
            super(_arg1, _-0BJ);
        }
        public function _-3-5():_-0BJ
        {
            return ((_-515 as _-0BJ));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-fB

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-0FV;
    import _-4Aj.*;

    public class _-fB extends _-7V implements _-0tL 
    {

        public function _-fB(_arg1:Function)
        {
            super(_arg1, _-0FV);
        }
        public function _-3-5():_-0FV
        {
            return ((_-515 as _-0FV));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-Ix

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-16q;
    import _-4Aj.*;

    public class _-Ix extends _-7V implements _-0tL 
    {

        public function _-Ix(_arg1:Function)
        {
            super(_arg1, _-16q);
        }
        public function _-3-5():_-16q
        {
            return ((_-515 as _-16q));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-KJ

package _-1Vw
{
    public interface _-KJ 
    {

        function get name():String;

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-n9

package _-1Vw
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-n9 implements _-1zZ 
    {

        private var _-1jw:int;
        private var _-15I:int;
        private var _-1vN:Boolean;
        private var _-2U6:int;
        private var _-237:String;
        private var _-00o:_-0Ea;
        private var _disposed:Boolean;

        public function _-n9(_arg1:_-0s1)
        {
            this._-1jw = _arg1._-2BW();
            this._-15I = _arg1._-2BW();
            this._-1vN = _arg1.readBoolean();
            this._-2U6 = _arg1._-2BW();
            this._-237 = _arg1.readString();
            this._-00o = new _-0Ea(_arg1);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-00o != null)
            {
                this._-00o.dispose();
                this._-00o = null;
            };
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get userCount():int
        {
            return (this._-15I);
        }
        public function get _-3AF():Boolean
        {
            return (this._-1vN);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get room():_-0Ea
        {
            return (this._-00o);
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-OM

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-0U4;
    import _-4Aj.*;

    public class _-OM extends _-7V implements _-0tL 
    {

        public function _-OM(_arg1:Function)
        {
            super(_arg1, _-0U4);
        }
        public function _-3-5():_-0U4
        {
            return ((_-515 as _-0U4));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1Vw._-sL

package _-1Vw
{
    import _-4Aj._-7V;
    import _-0qO._-47H;
    import _-4Aj.*;

    public class _-sL extends _-7V implements _-0tL 
    {

        public function _-sL(_arg1:Function)
        {
            super(_arg1, _-47H);
        }
        public function _-3-5():_-47H
        {
            return ((_-515 as _-47H));
        }

    }
}//package _-1Vw

//------------------------------------------------------------
//_-1wa._-1sk

package _-1wa
{
    import flash.display.BitmapData;
    import flash.geom.ColorTransform;
    import flash.geom.Point;
    import _-0y0._-06R;
    import _-1B-.*;

    public class _-1sk implements _-1zZ 
    {

        public static const _-01B:int = 0;
        public static const ALIGN_TOP:int = 1;
        public static const _-1L2:int = 2;
        public static const _-53o:int = ALIGN_TOP;//1

        private var _-4oS:PlaneMaterial = null;
        private var _color:uint = 0;
        private var _-1fe:int = 0;
        private var _-2q:int = 1;
        private var _-04k:BitmapData = null;
        private var _-4Bk:Boolean = false;

        public function _-1sk(_arg1:PlaneMaterial, _arg2:uint, _arg3:int, _arg4:int=0)
        {
            this._-4oS = _arg1;
            this._-1fe = _arg4;
            this._-2q = _arg3;
            this._color = _arg2;
        }
        public function get offset():int
        {
            return (this._-1fe);
        }
        public function get align():int
        {
            return (this._-2q);
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._-4oS = null;
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
        }
        public function _-0q5():void
        {
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
        }
        public function render(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:Boolean):BitmapData
        {
            var k:Number;
            var k:Number;
            var k:Number;
            var k:ColorTransform;
            var k:uint = (this._color >> 16);
            var k:uint = ((this._color >> 8) & 0xFF);
            var k:uint = (this._color & 0xFF);
            var k:Boolean;
            if ((((((k < 0xFF)) || ((k < 0xFF)))) || ((k < 0xFF))))
            {
                k = true;
            };
            if ((((((_arg1 == null)) || (!((_arg1.width == _arg2))))) || (!((_arg1.height == _arg3)))))
            {
                k = null;
            };
            var k:BitmapData;
            if (this._-4oS != null)
            {
                if (k)
                {
                    k = this._-4oS.render(null, _arg2, _arg3, _arg4, _arg5, this.offset, (this.align == ALIGN_TOP));
                }
                else
                {
                    k = this._-4oS.render(_arg1, _arg2, _arg3, _arg4, _arg5, this.offset, (this.align == ALIGN_TOP));
                };
                if (((!((k == null))) && (!((k == _arg1)))))
                {
                    if (this._-04k != null)
                    {
                        this._-04k.dispose();
                    };
                    this._-04k = k.clone();
                    k = this._-04k;
                };
            }
            else
            {
                if (_arg1 == null)
                {
                    if (((((!((this._-04k == null))) && ((this._-04k.width == _arg2)))) && ((this._-04k.height == _arg3))))
                    {
                        return (this._-04k);
                    };
                    if (this._-04k != null)
                    {
                        this._-04k.dispose();
                    };
                    this._-04k = new BitmapData(_arg2, _arg3, true, 0xFFFFFFFF);
                    k = this._-04k;
                }
                else
                {
                    _arg1.fillRect(_arg1.rect, 0xFFFFFFFF);
                    k = _arg1;
                };
            };
            if (k != null)
            {
                if (k)
                {
                    k = (k / 0xFF);
                    k = (k / 0xFF);
                    k = (k / 0xFF);
                    k = new ColorTransform(k, k, k);
                    k.colorTransform(k.rect, k);
                    if (((!((_arg1 == null))) && (!((k == _arg1)))))
                    {
                        _arg1.copyPixels(k, k.rect, new Point(0, 0), null, null, true);
                        k = _arg1;
                    };
                };
            };
            return (k);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa._-1UV

package _-1wa
{
    import flash.display.BitmapData;

    public class _-1UV 
    {

        public static const _-2E3:Number = -1;
        public static const _-3Bb:Number = 1;

        private var _bitmap:BitmapData = null;
        private var _-2XZ:Number = -1;
        private var _-5E9:Number = 1;
        private var _-19-:Number = -1;
        private var _-v:Number = 1;

        public function _-1UV(_arg1:BitmapData, _arg2:Number=-1, _arg3:Number=1, _arg4:Number=-1, _arg5:Number=1)
        {
            this._-2XZ = _arg2;
            this._-5E9 = _arg3;
            this._-19- = _arg4;
            this._-v = _arg5;
            this._bitmap = _arg1;
        }
        public function get bitmap():BitmapData
        {
            return (this._bitmap);
        }
        public function get normalMinX():Number
        {
            return (this._-2XZ);
        }
        public function get normalMaxX():Number
        {
            return (this._-5E9);
        }
        public function get normalMinY():Number
        {
            return (this._-19-);
        }
        public function get normalMaxY():Number
        {
            return (this._-v);
        }
        public function dispose():void
        {
            this._bitmap = null;
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa._-3h0

package _-1wa
{
    import _-0y0._-Xl;
    import flash.geom.Point;
    import flash.display.BitmapData;
    import _-0y0._-06R;

    public class _-3h0 extends Plane 
    {

        public static const _-2xB:uint = 0xFFFFFF;
        public static const _-2ty:Number = 45;
        public static const _-2qG:Number = 30;

        public function render(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:_-06R, _arg6:Boolean):BitmapData
        {
            var k:PlaneVisualization = _-50f(_arg4);
            if ((((k == null)) || ((k.geometry == null))))
            {
                return (null);
            };
            var k:Point = k.geometry._-2Et(new _-Xl(0, 0, 0));
            var k:Point = k.geometry._-2Et(new _-Xl(0, (_arg3 / k.geometry.scale), 0));
            var k:Point = k.geometry._-2Et(new _-Xl((_arg2 / k.geometry.scale), 0, 0));
            if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
            {
                k = Math.round(Math.abs((k.x - k.x)));
                k = Math.round(Math.abs((k.x - k.x)));
            };
            return (k.render(_arg1, _arg2, _arg3, _arg5, _arg6));
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa._-4FO

package _-1wa
{
    import _-0y0._-Xl;
    import flash.geom.Point;
    import flash.display.BitmapData;
    import _-0y0._-06R;

    public class _-4FO extends Plane 
    {

        public static const _-2xB:uint = 0xFFFFFF;
        public static const _-2ty:Number = 45;
        public static const _-2qG:Number = 30;

        public function render(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:_-06R, _arg6:Boolean):BitmapData
        {
            var k:PlaneVisualization = _-50f(_arg4);
            if ((((k == null)) || ((k.geometry == null))))
            {
                return (null);
            };
            var k:Point = k.geometry._-2Et(new _-Xl(0, 0, 0));
            var k:Point = k.geometry._-2Et(new _-Xl(0, 0, (_arg3 / k.geometry.scale)));
            var k:Point = k.geometry._-2Et(new _-Xl(0, (_arg2 / k.geometry.scale), 0));
            if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
            {
                k = Math.round(Math.abs((k.x - k.x)));
                k = Math.round(Math.abs((k.y - k.y)));
            };
            return (k.render(_arg1, _arg2, _arg3, _arg5, _arg6));
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.FloorRasterizer

package _-1wa
{
    import _-0y0.XMLValidator;
    import flash.display.BitmapData;
    import _-0vU._-0Va;
    import _-0y0._-06R;

    public class FloorRasterizer extends PlaneRasterizer 
    {

        override protected function initializePlanes():void
        {
            if (data == null)
            {
                return;
            };
            var k:XMLList = data.floors;
            if (k.length() > 0)
            {
                this._-3cH(k[0]);
            };
        }
        private function _-3cH(_arg1:XML):void
        {
            var k:XML;
            var k:String;
            var k:XMLList;
            var k:_-3h0;
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.floor;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, ["id"]))
                {
                    k = k.@id;
                    k = k.visualization;
                    k = new _-3h0();
                    _-jc(k, k);
                    if (!_-07G(k, k))
                    {
                        k.dispose();
                    };
                };
                k++;
            };
        }
        override public function render(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:_-06R, _arg7:Boolean, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=0, _arg12:int=0):_-0Va
        {
            var k:_-3h0 = (_-VA(_arg2) as _-3h0);
            if (k == null)
            {
                k = (_-VA(_-03v) as _-3h0);
            };
            if (k == null)
            {
                return (null);
            };
            if (_arg1 != null)
            {
                _arg1.fillRect(_arg1.rect, 0xFFFFFF);
            };
            var k:BitmapData = k.render(_arg1, _arg3, _arg4, _arg5, _arg6, _arg7);
            if (((!((k == null))) && (!((k == _arg1)))))
            {
                k = k.clone();
            };
            var k:_-0Va = new _-0Va(k, -1);
            return (k);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.Plane

package _-1wa
{
    import _-18r.Map;
    import _-0y0._-3q6;

    public class Plane 
    {

        private var _-2-O:Map;
        private var _-4Xn:Array;
        private var _-1nz:PlaneVisualization = null;
        private var _-3Xk:int = -1;

        public function Plane()
        {
            this._-4Xn = [];
            super();
            this._-2-O = new Map();
        }
        public function isStatic(_arg1:int):Boolean
        {
            return (true);
        }
        public function dispose():void
        {
            var k:PlaneVisualization;
            var k:int;
            if (this._-2-O != null)
            {
                k = null;
                k = 0;
                while (k < this._-2-O.length)
                {
                    k = (this._-2-O.getWithIndex(k) as PlaneVisualization);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-2-O.dispose();
                this._-2-O = null;
            };
            this._-1nz = null;
            this._-4Xn = null;
        }
        public function _-0q5():void
        {
            var k:PlaneVisualization;
            var k:int;
            while (k < this._-2-O.length)
            {
                k = (this._-2-O.getWithIndex(k) as PlaneVisualization);
                if (k != null)
                {
                    k._-0q5();
                };
                k++;
            };
        }
        public function _-23g(_arg1:int, _arg2:int, _arg3:_-3q6):PlaneVisualization
        {
            if (this._-2-O.getValue(String(_arg1)) != null)
            {
                return (null);
            };
            var k:PlaneVisualization = new PlaneVisualization(_arg1, _arg2, _arg3);
            this._-2-O.add(String(_arg1), k);
            this._-4Xn.push(_arg1);
            this._-4Xn.sort();
            return (k);
        }
        private function _-2ek(_arg1:int):int
        {
            var k:int;
            var k:int = 1;
            while (k < this._-4Xn.length)
            {
                if (this._-4Xn[k] > _arg1)
                {
                    if ((this._-4Xn[k] - _arg1) < (_arg1 - this._-4Xn[(k - 1)]))
                    {
                    };
                    break;
                };
                k++;
            };
            return (k);
        }
        protected function _-50f(_arg1:int):PlaneVisualization
        {
            if (_arg1 == this._-3Xk)
            {
                return (this._-1nz);
            };
            var k:int = this._-2ek(_arg1);
            if (k < this._-4Xn.length)
            {
                this._-1nz = (this._-2-O.getValue(String(this._-4Xn[k])) as PlaneVisualization);
            }
            else
            {
                this._-1nz = null;
            };
            this._-3Xk = _arg1;
            return (this._-1nz);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.PlaneMaterial

package _-1wa
{
    import _-0y0._-06R;
    import flash.display.BitmapData;

    public class PlaneMaterial 
    {

        public static const _-2E3:Number = -1;
        public static const _-3Bb:Number = 1;

        private var _-00a:Array;
        private var _-393:Boolean = false;

        public function PlaneMaterial()
        {
            this._-00a = [];
            super();
        }
        public function dispose():void
        {
            var k:int;
            var k:PlaneMaterialCellMatrix;
            if (this._-00a != null)
            {
                k = 0;
                while (k < this._-00a.length)
                {
                    k = (this._-00a[k] as PlaneMaterialCellMatrix);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-00a = null;
            };
        }
        public function _-0q5():void
        {
            var k:int;
            var k:PlaneMaterialCellMatrix;
            if (!this._-393)
            {
                return;
            };
            if (this._-00a != null)
            {
                k = 0;
                while (k < this._-00a.length)
                {
                    k = (this._-00a[k] as PlaneMaterialCellMatrix);
                    if (k != null)
                    {
                        k._-0q5();
                    };
                    k++;
                };
            };
            this._-393 = false;
        }
        public function _-OZ(_arg1:int, _arg2:int, _arg3:int, _arg4:Number=-1, _arg5:Number=1, _arg6:Number=-1, _arg7:Number=1):PlaneMaterialCellMatrix
        {
            var k:PlaneMaterialCellMatrix;
            k = new PlaneMaterialCellMatrix(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7);
            this._-00a.push(k);
            return (k);
        }
        private function _-ps(_arg1:_-06R):PlaneMaterialCellMatrix
        {
            var k:PlaneMaterialCellMatrix;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int;
            while (k < this._-00a.length)
            {
                k = (this._-00a[k] as PlaneMaterialCellMatrix);
                if (k != null)
                {
                    if ((((((((_arg1.x >= k.normalMinX)) && ((_arg1.x <= k.normalMaxX)))) && ((_arg1.y >= k.normalMinY)))) && ((_arg1.y <= k.normalMaxY))))
                    {
                        return (k);
                    };
                };
                k++;
            };
            return (null);
        }
        public function render(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:Boolean, _arg6:int, _arg7:Boolean):BitmapData
        {
            if (_arg2 < 1)
            {
                k = 1;
            };
            if (_arg3 < 1)
            {
                k = 1;
            };
            var k:PlaneMaterialCellMatrix = this._-ps(_arg4);
            if (k != null)
            {
                this._-393 = true;
                return (k.render(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
            };
            return (null);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.PlaneMaterialCell

package _-1wa
{
    import flash.display.BitmapData;
    import _-022._-2G2;
    import flash.geom.Point;
    import _-0y0._-06R;
    import _-295.BitmapDataAsset;
    import flash.geom.Matrix;
    import _-0vU.Randomizer;

    public class PlaneMaterialCell 
    {

        private var _-Z2:BitmapData = null;
        private var _-4Xe:PlaneTexture;
        private var _-Us:Array;
        private var _-0vz:Array;
        private var _-3Lj:int = 0;

        public function PlaneMaterialCell(_arg1:PlaneTexture, _arg2:Array=null, _arg3:Array=null, _arg4:int=0)
        {
            var k:int;
            var k:_-2G2;
            var k:Point;
            this._-Us = [];
            this._-0vz = [];
            super();
            this._-4Xe = _arg1;
            if (((((!((_arg2 == null))) && ((_arg2.length > 0)))) && ((_arg4 > 0))))
            {
                k = 0;
                k = 0;
                while (k < _arg2.length)
                {
                    k = (_arg2[k] as _-2G2);
                    if (k != null)
                    {
                        this._-0vz.push(k);
                    };
                    k++;
                };
                if (this._-0vz.length > 0)
                {
                    if (_arg3 != null)
                    {
                        k = 0;
                        while (k < _arg3.length)
                        {
                            k = (_arg3[k] as Point);
                            if (k != null)
                            {
                                this._-Us.push(new Point(k.x, k.y));
                            };
                            k++;
                        };
                    };
                    this._-3Lj = _arg4;
                };
            };
        }
        public function get isStatic():Boolean
        {
            return ((this._-3Lj == 0));
        }
        public function dispose():void
        {
            if (this._-4Xe != null)
            {
                this._-4Xe.dispose();
                this._-4Xe = null;
            };
            if (this._-Z2 != null)
            {
                this._-Z2.dispose();
                this._-Z2 = null;
            };
            this._-0vz = null;
            this._-Us = null;
        }
        public function _-0q5():void
        {
            if (this._-Z2 != null)
            {
                this._-Z2.dispose();
                this._-Z2 = null;
            };
        }
        public function _-Vr(_arg1:_-06R):int
        {
            var k:BitmapData;
            if (this._-4Xe != null)
            {
                k = this._-4Xe._-5Es(_arg1);
                if (k != null)
                {
                    return (k.height);
                };
            };
            return (0);
        }
        public function render(_arg1:_-06R):BitmapData
        {
            var k:BitmapData;
            var k:int;
            var k:int;
            var k:Array;
            var k:int;
            var k:Point;
            var k:_-2G2;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Point;
            var k:Matrix;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:int;
            if (this._-4Xe != null)
            {
                k = this._-4Xe._-5Es(_arg1);
                if (k != null)
                {
                    if (!this.isStatic)
                    {
                        if (this._-Z2 != null)
                        {
                            if (((!((this._-Z2.width == k.width))) || (!((this._-Z2.height == k.height)))))
                            {
                                this._-Z2.dispose();
                                this._-Z2 = null;
                            }
                            else
                            {
                                this._-Z2.copyPixels(k, k.rect, new Point(0, 0));
                            };
                        };
                        if (this._-Z2 == null)
                        {
                            this._-Z2 = k.clone();
                        };
                        k = Math.min(this._-3Lj, this._-Us.length);
                        k = Math.max(this._-3Lj, this._-Us.length);
                        k = Randomizer._-03K(this._-3Lj, k);
                        k = 0;
                        while (k < k)
                        {
                            k = (this._-Us[k[k]] as Point);
                            k = (this._-0vz[(k % this._-0vz.length)] as _-2G2);
                            if (((!((k == null))) && (!((k == null)))))
                            {
                                k = (k.asset as BitmapDataAsset);
                                if (k != null)
                                {
                                    k = (k.content as BitmapData);
                                    if (k != null)
                                    {
                                        k = new Point((k.x + k.offsetX), (k.y + k.offsetY));
                                        k = new Matrix();
                                        k = 1;
                                        k = 1;
                                        k = 0;
                                        k = 0;
                                        if (k.flipH)
                                        {
                                            k = -1;
                                            k = k.width;
                                        };
                                        if (k.flipV)
                                        {
                                            k = -1;
                                            k = k.height;
                                        };
                                        k = (k.x + k);
                                        k = ((k >> 1) << 1);
                                        k.scale(k, k);
                                        k.translate(k, (k.y + k));
                                        this._-Z2.draw(k, k);
                                    };
                                };
                            };
                            k++;
                        };
                        return (this._-Z2);
                    };
                    return (k);
                };
            };
            return (null);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.PlaneMaterialCellColumn

package _-1wa
{
    import flash.display.BitmapData;
    import _-0y0._-Xl;
    import _-0y0._-06R;
    import flash.geom.Point;

    public class PlaneMaterialCellColumn 
    {

        public static const _-el:int = 0;
        public static const _-3qt:int = 1;
        public static const _-1AA:int = 2;
        public static const _-3o4:int = 3;
        public static const _-49p:int = 4;
        public static const _-2BX:int = 5;

        private var _-459:Array;
        private var _-3LB:int = 1;
        private var _-0Dz:int = 1;
        private var _-Z2:BitmapData;
        private var _-2IU:_-Xl = null;
        private var _-393:Boolean = false;
        private var _-l3:Boolean = true;

        public function PlaneMaterialCellColumn(_arg1:int, _arg2:Array, _arg3:int=1)
        {
            var k:int;
            var k:PlaneMaterialCell;
            this._-459 = [];
            super();
            if (_arg1 < 1)
            {
                k = 1;
            };
            this._-0Dz = _arg1;
            if (_arg2 != null)
            {
                k = 0;
                while (k < _arg2.length)
                {
                    k = (_arg2[k] as PlaneMaterialCell);
                    if (k != null)
                    {
                        this._-459.push(k);
                        if (!k.isStatic)
                        {
                            this._-l3 = false;
                        };
                    };
                    k++;
                };
            };
            this._-3LB = _arg3;
        }
        public function get isStatic():Boolean
        {
            return (this._-l3);
        }
        public function dispose():void
        {
            var k:int;
            var k:PlaneMaterialCell;
            if (this._-459 != null)
            {
                k = 0;
                while (k < this._-459.length)
                {
                    k = (this._-459[k] as PlaneMaterialCell);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-459 = null;
            };
            if (this._-Z2 != null)
            {
                this._-Z2.dispose();
                this._-Z2 = null;
            };
            if (this._-2IU != null)
            {
                this._-2IU = null;
            };
        }
        public function _-0q5():void
        {
            var k:int;
            var k:PlaneMaterialCell;
            if (!this._-393)
            {
                return;
            };
            if (this._-Z2 != null)
            {
                this._-Z2.dispose();
                this._-Z2 = null;
            };
            if (this._-2IU != null)
            {
                this._-2IU.x = 0;
                this._-2IU.y = 0;
                this._-2IU.z = 0;
            };
            if (this._-459 != null)
            {
                k = 0;
                while (k < this._-459.length)
                {
                    k = (this._-459[k] as PlaneMaterialCell);
                    if (k != null)
                    {
                        k._-0q5();
                    };
                    k++;
                };
            };
            this._-393 = false;
        }
        public function render(_arg1:int, _arg2:_-06R):BitmapData
        {
            var k:int;
            if (this._-3LB == _-el)
            {
                k = this._-1fR(this._-459, _arg2);
            };
            if (this._-2IU == null)
            {
                this._-2IU = new _-Xl();
            };
            if (this.isStatic)
            {
                if (this._-Z2 != null)
                {
                    if ((((this._-Z2.height == _arg1)) && (_-Xl._-3QV(this._-2IU, _arg2))))
                    {
                        return (this._-Z2);
                    };
                    this._-Z2.dispose();
                    this._-Z2 = null;
                };
            }
            else
            {
                if (this._-Z2 != null)
                {
                    if (this._-Z2.height == _arg1)
                    {
                        this._-Z2.fillRect(this._-Z2.rect, 0xFFFFFF);
                    }
                    else
                    {
                        this._-Z2.dispose();
                        this._-Z2 = null;
                    };
                };
            };
            this._-393 = true;
            if (this._-Z2 == null)
            {
                this._-Z2 = new BitmapData(this._-0Dz, _arg1, true, 0xFFFFFF);
            };
            this._-2IU._-3jn(_arg2);
            if (this._-459.length == 0)
            {
                return (this._-Z2);
            };
            switch (this._-3LB)
            {
                case _-el:
                    this._-2ns(_arg2);
                    break;
                case _-1AA:
                    this._-58a(_arg2);
                    break;
                case _-3o4:
                    this._-0P1(_arg2);
                    break;
                case _-49p:
                    this._-0iq(_arg2);
                    break;
                case _-2BX:
                    this._-0ke(_arg2);
                    break;
                default:
                    this._-Cf(_arg2);
            };
            return (this._-Z2);
        }
        private function _-1fR(_arg1:Array, _arg2:_-06R):int
        {
            var k:PlaneMaterialCell;
            var k:int;
            if ((((_arg1 == null)) || ((_arg1.length == 0))))
            {
                return (0);
            };
            var k:int;
            var k:int;
            while (k < _arg1.length)
            {
                k = (_arg1[k] as PlaneMaterialCell);
                if (k != null)
                {
                    k = k._-Vr(_arg2);
                    k = (k + k);
                };
                k++;
            };
            return (k);
        }
        private function _-4hC(_arg1:Array, _arg2:int, _arg3:Boolean, _arg4:_-06R):int
        {
            if ((((((_arg1 == null)) || ((_arg1.length == 0)))) || ((this._-Z2 == null))))
            {
                return (_arg2);
            };
            var k:PlaneMaterialCell;
            var k:BitmapData;
            var k:int;
            while (k < _arg1.length)
            {
                if (_arg3)
                {
                    k = (_arg1[k] as PlaneMaterialCell);
                }
                else
                {
                    k = (_arg1[((_arg1.length - 1) - k)] as PlaneMaterialCell);
                };
                if (k != null)
                {
                    k = k.render(_arg4);
                    if (k != null)
                    {
                        if (!_arg3)
                        {
                            k = (_arg2 - k.height);
                        };
                        this._-Z2.copyPixels(k, k.rect, new Point(0, _arg2), k, null, true);
                        if (_arg3)
                        {
                            k = (_arg2 + k.height);
                        };
                        if (((((_arg3) && ((_arg2 >= this._-Z2.height)))) || (((!(_arg3)) && ((_arg2 <= 0))))))
                        {
                            return (_arg2);
                        };
                    };
                };
                k++;
            };
            return (_arg2);
        }
        private function _-2ns(_arg1:_-06R):void
        {
            if ((((this._-459.length == 0)) || ((this._-Z2 == null))))
            {
                return;
            };
            this._-4hC(this._-459, 0, true, _arg1);
        }
        private function _-Cf(_arg1:_-06R):void
        {
            if ((((this._-459.length == 0)) || ((this._-Z2 == null))))
            {
                return;
            };
            var k:int = this._-1fR(this._-459, _arg1);
            var k:int;
            if (k > this._-Z2.height)
            {
            };
            while (k < this._-Z2.height)
            {
                k = this._-4hC(this._-459, k, true, _arg1);
                if (k == 0)
                {
                    return;
                };
            };
        }
        private function _-58a(_arg1:_-06R):void
        {
            if ((((this._-459.length == 0)) || ((this._-Z2 == null))))
            {
                return;
            };
            var k:PlaneMaterialCell;
            var k:BitmapData;
            var k:Array = [];
            var k:int;
            var k:int;
            var k:int;
            k = 1;
            while (k < (this._-459.length - 1))
            {
                k = (this._-459[k] as PlaneMaterialCell);
                if (k != null)
                {
                    k = k._-Vr(_arg1);
                    if (k > 0)
                    {
                        k = (k + k);
                        k.push(k);
                    };
                };
                k++;
            };
            if (this._-459.length == 1)
            {
                k = (this._-459[0] as PlaneMaterialCell);
                if (k != null)
                {
                    k = k._-Vr(_arg1);
                    if (k > 0)
                    {
                        k = (k + k);
                        k.push(k);
                    };
                };
            };
            var k = ((this._-Z2.height - k) >> 1);
            var k:int = this._-4hC(k, k, true, _arg1);
            k = (this._-459[0] as PlaneMaterialCell);
            if (k != null)
            {
                k = [k];
                while (k >= 0)
                {
                    k = this._-4hC(k, k, false, _arg1);
                };
            };
            k = (this._-459[(this._-459.length - 1)] as PlaneMaterialCell);
            if (k != null)
            {
                k = [k];
                while (k < this._-Z2.height)
                {
                    k = this._-4hC(k, k, true, _arg1);
                };
            };
        }
        private function _-0P1(_arg1:_-06R):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:Array;
            if ((((this._-459.length == 0)) || ((this._-Z2 == null))))
            {
                return;
            };
            var k:PlaneMaterialCell;
            var k:BitmapData;
            var k:Array = [];
            var k:Array = [];
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            k = 0;
            while (k < (this._-459.length >> 1))
            {
                k = (this._-459[k] as PlaneMaterialCell);
                if (k != null)
                {
                    k = k._-Vr(_arg1);
                    if (k > 0)
                    {
                        k = (k + k);
                        k.push(k);
                    };
                };
                k++;
            };
            k = ((this._-459.length >> 1) + 1);
            while (k < this._-459.length)
            {
                k = (this._-459[k] as PlaneMaterialCell);
                if (k != null)
                {
                    k = k._-Vr(_arg1);
                    if (k > 0)
                    {
                        k = (k + k);
                        k.push(k);
                    };
                };
                k++;
            };
            var k:int;
            var k:int;
            var k:int = this._-Z2.height;
            if ((k + k) > this._-Z2.height)
            {
                k = ((k + k) - this._-Z2.height);
                k = (k - (k >> 1));
                k = (k + (k - (k >> 1)));
            };
            if (k == 0)
            {
                k = (this._-459[(this._-459.length >> 1)] as PlaneMaterialCell);
                if (k != null)
                {
                    k = k._-Vr(_arg1);
                    if (k > 0)
                    {
                        k = (this._-Z2.height - (k + k));
                        k = (Math.ceil((k / k)) * k);
                        k = (k - ((k - k) >> 1));
                        k = (k + k);
                        k = [k];
                        while (k < k)
                        {
                            k = this._-4hC(k, k, true, _arg1);
                        };
                    };
                };
            };
            k = 0;
            this._-4hC(k, k, true, _arg1);
            this._-4hC(k, k, false, _arg1);
        }
        private function _-0iq(_arg1:_-06R):void
        {
            var k:Array;
            if ((((this._-459.length == 0)) || ((this._-Z2 == null))))
            {
                return;
            };
            var k:PlaneMaterialCell;
            var k:int = this._-Z2.height;
            k = this._-4hC(this._-459, k, false, _arg1);
            k = (this._-459[0] as PlaneMaterialCell);
            if (k != null)
            {
                k = [k];
                while (k >= 0)
                {
                    k = this._-4hC(k, k, false, _arg1);
                };
            };
        }
        private function _-0ke(_arg1:_-06R):void
        {
            var k:Array;
            if ((((this._-459.length == 0)) || ((this._-Z2 == null))))
            {
                return;
            };
            var k:PlaneMaterialCell;
            var k:int;
            k = this._-4hC(this._-459, k, true, _arg1);
            k = (this._-459[(this._-459.length - 1)] as PlaneMaterialCell);
            if (k != null)
            {
                k = [k];
                while (k < this._-Z2.height)
                {
                    k = this._-4hC(k, k, true, _arg1);
                };
            };
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.PlaneMaterialCellMatrix

package _-1wa
{
    import flash.display.BitmapData;
    import _-0y0._-Xl;
    import _-0y0._-06R;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-0vU.Randomizer;

    public class PlaneMaterialCellMatrix 
    {

        public static const _-3qt:int = 1;
        public static const _-1AA:int = 2;
        public static const _-3o4:int = 3;
        public static const _-49p:int = 4;
        public static const _-2BX:int = 5;
        public static const _-4eh:int = 6;
        public static const _-s0:int = _-3qt;//1
        public static const _-2E3:Number = -1;
        public static const _-3Bb:Number = 1;
        public static const ALIGN_TOP:int = 1;
        public static const _-1L2:int = 2;
        public static const _-53o:int = ALIGN_TOP;//1

        private var _-1Mz:Array;
        private var _-3LB:int = 1;
        private var _-2q:int = 1;
        private var _-Z2:BitmapData;
        private var _-2IU:_-Xl = null;
        private var _-5A4:int = 0;
        private var _-393:Boolean = false;
        private var _-l3:Boolean = true;
        private var _-2XZ:Number = -1;
        private var _-5E9:Number = 1;
        private var _-19-:Number = -1;
        private var _-v:Number = 1;

        public function PlaneMaterialCellMatrix(_arg1:int, _arg2:int=1, _arg3:int=1, _arg4:Number=-1, _arg5:Number=1, _arg6:Number=-1, _arg7:Number=1)
        {
            this._-1Mz = [];
            super();
            if (_arg1 < 1)
            {
                k = 1;
            };
            var k:int;
            while (k < _arg1)
            {
                this._-1Mz.push(null);
                k++;
            };
            this._-3LB = _arg2;
            this._-2q = _arg3;
            this._-2XZ = _arg4;
            this._-5E9 = _arg5;
            this._-19- = _arg6;
            this._-v = _arg7;
            if (this._-3LB == _-4eh)
            {
                this._-l3 = false;
            };
        }
        public function get normalMinX():Number
        {
            return (this._-2XZ);
        }
        public function get normalMaxX():Number
        {
            return (this._-5E9);
        }
        public function get normalMinY():Number
        {
            return (this._-19-);
        }
        public function get normalMaxY():Number
        {
            return (this._-v);
        }
        public function get isStatic():Boolean
        {
            return (this._-l3);
        }
        public function dispose():void
        {
            if (this._-Z2 != null)
            {
                this._-Z2.dispose();
                this._-Z2 = null;
            };
            if (this._-2IU != null)
            {
                this._-2IU = null;
            };
        }
        public function _-0q5():void
        {
            var k:PlaneMaterialCellColumn;
            if (!this._-393)
            {
                return;
            };
            if (this._-Z2 != null)
            {
                this._-Z2.dispose();
                this._-Z2 = null;
            };
            if (this._-2IU != null)
            {
                this._-2IU.x = 0;
                this._-2IU.y = 0;
                this._-2IU.z = 0;
            };
            this._-5A4 = 0;
            var k:int;
            while (k < this._-1Mz.length)
            {
                k = (this._-1Mz[k] as PlaneMaterialCellColumn);
                if (k != null)
                {
                    k._-0q5();
                };
                k++;
            };
            this._-393 = false;
        }
        public function _-1cy(_arg1:int, _arg2:int, _arg3:Array, _arg4:int=1):Boolean
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-1Mz.length))))
            {
                return (false);
            };
            var k:PlaneMaterialCellColumn = new PlaneMaterialCellColumn(_arg2, _arg3, _arg4);
            var k:PlaneMaterialCellColumn = (this._-1Mz[_arg1] as PlaneMaterialCellColumn);
            if (k != null)
            {
                k.dispose();
            };
            this._-1Mz[_arg1] = k;
            if (((!((k == null))) && (!(k.isStatic))))
            {
                this._-l3 = false;
            };
            return (true);
        }
        public function render(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:Boolean, _arg6:int, _arg7:Boolean):BitmapData
        {
            var k:PlaneMaterialCellColumn;
            var k:BitmapData;
            if (_arg2 < 1)
            {
                k = 1;
            };
            if (_arg3 < 1)
            {
                k = 1;
            };
            if ((((((_arg1 == null)) || (!((_arg1.width == _arg2))))) || (!((_arg1.height == _arg3)))))
            {
                k = null;
            };
            if (this._-2IU == null)
            {
                this._-2IU = new _-Xl();
            };
            if (this.isStatic)
            {
                if (this._-Z2 != null)
                {
                    if ((((((this._-Z2.width == _arg2)) && ((this._-Z2.height == _arg3)))) && (_-Xl._-3QV(this._-2IU, _arg4))))
                    {
                        if (_arg1 != null)
                        {
                            this._-266(_arg1, this._-5A4, _arg6, _arg7);
                            return (_arg1);
                        };
                        return (this._-Z2);
                    };
                    this._-Z2.dispose();
                    this._-Z2 = null;
                };
            }
            else
            {
                if (this._-Z2 != null)
                {
                    if ((((this._-Z2.width == _arg2)) && ((this._-Z2.height == _arg3))))
                    {
                        this._-Z2.fillRect(this._-Z2.rect, 0xFFFFFF);
                    }
                    else
                    {
                        this._-Z2.dispose();
                        this._-Z2 = null;
                    };
                };
            };
            this._-393 = true;
            this._-2IU._-3jn(_arg4);
            if (!_arg5)
            {
                this._-5A4 = _arg3;
                if (this._-Z2 == null)
                {
                    this._-Z2 = new BitmapData(_arg2, _arg3, true, 0xFFFFFFFF);
                }
                else
                {
                    this._-Z2.fillRect(this._-Z2.rect, 0xFFFFFFFF);
                };
                if (_arg1 != null)
                {
                    this._-266(_arg1, _arg3, _arg6, _arg7);
                    return (_arg1);
                };
                return (this._-Z2);
            };
            if (this._-Z2 == null)
            {
                this._-5A4 = _arg3;
                this._-Z2 = new BitmapData(_arg2, _arg3, true, 0xFFFFFF);
            };
            var k:Array = [];
            var k:int;
            while (k < this._-1Mz.length)
            {
                k = (this._-1Mz[k] as PlaneMaterialCellColumn);
                if (k != null)
                {
                    k = k.render(_arg3, _arg4);
                    if (k != null)
                    {
                        k.push(k);
                    };
                };
                k++;
            };
            if (k.length == 0)
            {
                if (_arg1 != null)
                {
                    return (_arg1);
                };
                return (this._-Z2);
            };
            var k:int;
            switch (this._-3LB)
            {
                case _-1AA:
                    k = this._-58a(this._-Z2, k);
                    break;
                case _-3o4:
                    k = this._-0P1(this._-Z2, k);
                    break;
                case _-49p:
                    k = this._-0iq(this._-Z2, k);
                    break;
                case _-2BX:
                    k = this._-0ke(this._-Z2, k);
                    break;
                case _-4eh:
                    k = this._-0JZ(this._-Z2, k);
                    break;
                default:
                    k = this._-Cf(this._-Z2, k);
            };
            this._-5A4 = k;
            if (_arg1 != null)
            {
                this._-266(_arg1, k, _arg6, _arg7);
                return (_arg1);
            };
            return (this._-Z2);
        }
        private function _-266(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:Boolean):void
        {
            if ((((((_arg1 == null)) || ((this._-Z2 == null)))) || ((_arg1 == this._-Z2))))
            {
                return;
            };
            if (!_arg4)
            {
                k = ((_arg1.height - _arg2) - _arg3);
            };
            var k:Rectangle;
            if (this._-2q == ALIGN_TOP)
            {
                k = new Rectangle(0, 0, this._-Z2.width, this._-5A4);
            }
            else
            {
                k = new Rectangle(0, (this._-Z2.height - this._-5A4), this._-Z2.width, this._-5A4);
            };
            _arg1.copyPixels(this._-Z2, k, new Point(0, _arg3), null, null, true);
        }
        private function _-1Pm(_arg1:Array):int
        {
            var k:BitmapData;
            if ((((_arg1 == null)) || ((_arg1.length == 0))))
            {
                return (0);
            };
            var k:int;
            var k:int;
            while (k < _arg1.length)
            {
                k = (_arg1[k] as BitmapData);
                if (k != null)
                {
                    k = (k + k.width);
                };
                k++;
            };
            return (k);
        }
        private function _-4dQ(_arg1:BitmapData, _arg2:Array, _arg3:int, _arg4:Boolean):Point
        {
            var k:int;
            if ((((((_arg2 == null)) || ((_arg2.length == 0)))) || ((_arg1 == null))))
            {
                return (new Point(_arg3, 0));
            };
            var k:int;
            var k:BitmapData;
            var k:int;
            while (k < _arg2.length)
            {
                if (_arg4)
                {
                    k = (_arg2[k] as BitmapData);
                }
                else
                {
                    k = (_arg2[((_arg2.length - 1) - k)] as BitmapData);
                };
                if (k != null)
                {
                    if (!_arg4)
                    {
                        k = (_arg3 - k.width);
                    };
                    k = 0;
                    if (this._-2q == _-1L2)
                    {
                        k = (_arg1.height - k.height);
                    };
                    _arg1.copyPixels(k, k.rect, new Point(_arg3, k), k, null, true);
                    if (k.height > k)
                    {
                        k = k.height;
                    };
                    if (_arg4)
                    {
                        k = (_arg3 + k.width);
                    };
                    if (((((_arg4) && ((_arg3 >= _arg1.width)))) || (((!(_arg4)) && ((_arg3 <= 0))))))
                    {
                        return (new Point(_arg3, k));
                    };
                };
                k++;
            };
            return (new Point(_arg3, k));
        }
        private function _-Cf(_arg1:BitmapData, _arg2:Array):int
        {
            var k:Point;
            if ((((((_arg2 == null)) || ((_arg2.length == 0)))) || ((_arg1 == null))))
            {
                return (0);
            };
            var k:int;
            var k:int = this._-1Pm(_arg2);
            var k:int;
            if (k > _arg1.width)
            {
            };
            while (k < _arg1.width)
            {
                k = this._-4dQ(_arg1, _arg2, k, true);
                k = k.x;
                if (k.y > k)
                {
                    k = k.y;
                };
                if (k.x == 0)
                {
                    return (k);
                };
            };
            return (k);
        }
        private function _-58a(_arg1:BitmapData, _arg2:Array):int
        {
            if ((((((_arg2 == null)) || ((_arg2.length == 0)))) || ((_arg1 == null))))
            {
                return (0);
            };
            var k:int;
            var k:BitmapData;
            var k:Array = [];
            var k:int;
            var k:int;
            k = 1;
            while (k < (_arg2.length - 1))
            {
                k = (_arg2[k] as BitmapData);
                if (k != null)
                {
                    k = (k + k.width);
                    k.push(k);
                };
                k++;
            };
            if (this._-1Mz.length == 1)
            {
                k = (this._-1Mz[0] as BitmapData);
                if (k != null)
                {
                    k = k.width;
                    k.push(k);
                };
            };
            var k = ((_arg1.width - k) >> 1);
            var k:Point;
            k = this._-4dQ(_arg1, k, k, true);
            var k:int = k.x;
            if (k.y > k)
            {
                k = k.y;
            };
            k = (_arg2[0] as BitmapData);
            if (k != null)
            {
                k = [k];
                while (k >= 0)
                {
                    k = this._-4dQ(_arg1, k, k, false);
                    k = k.x;
                    if (k.y > k)
                    {
                        k = k.y;
                    };
                };
            };
            k = (_arg2[(_arg2.length - 1)] as BitmapData);
            if (k != null)
            {
                k = [k];
                while (k < _arg1.height)
                {
                    k = this._-4dQ(_arg1, k, k, true);
                    k = k.x;
                    if (k.y > k)
                    {
                        k = k.y;
                    };
                };
            };
            return (k);
        }
        private function _-0P1(_arg1:BitmapData, _arg2:Array):int
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Array;
            if ((((((_arg2 == null)) || ((_arg2.length == 0)))) || ((_arg1 == null))))
            {
                return (0);
            };
            var k:int;
            var k:BitmapData;
            var k:Array = [];
            var k:Array = [];
            var k:int;
            var k:int;
            var k:int;
            k = 0;
            while (k < (_arg2.length >> 1))
            {
                k = (_arg2[k] as BitmapData);
                if (k != null)
                {
                    k = (k + k.width);
                    k.push(k);
                };
                k++;
            };
            k = ((_arg2.length >> 1) + 1);
            while (k < _arg2.length)
            {
                k = (_arg2[k] as BitmapData);
                if (k != null)
                {
                    k = (k + k.width);
                    k.push(k);
                };
                k++;
            };
            var k:Point;
            var k:int;
            var k:int;
            var k:int = _arg1.width;
            if ((k + k) > _arg1.width)
            {
                k = ((k + k) - _arg1.width);
                k = (k - (k >> 1));
                k = (k + (k - (k >> 1)));
            };
            if (k == 0)
            {
                k = (_arg2[(_arg2.length >> 1)] as BitmapData);
                if (k != null)
                {
                    k = k.width;
                    k = (_arg1.width - (k + k));
                    k = (Math.ceil((k / k)) * k);
                    k = (k - ((k - k) >> 1));
                    k = (k + k);
                    k = [k];
                    while (k < k)
                    {
                        k = this._-4dQ(_arg1, k, k, true);
                        k = k.x;
                        if (k.y > k)
                        {
                            k = k.y;
                        };
                    };
                };
            };
            k = 0;
            k = this._-4dQ(_arg1, k, k, true);
            if (k.y > k)
            {
                k = k.y;
            };
            k = this._-4dQ(_arg1, k, k, false);
            if (k.y > k)
            {
                k = k.y;
            };
            return (k);
        }
        private function _-0iq(_arg1:BitmapData, _arg2:Array):int
        {
            var k:Array;
            if ((((((_arg2 == null)) || ((_arg2.length == 0)))) || ((_arg1 == null))))
            {
                return (0);
            };
            var k:int;
            var k:BitmapData;
            var k:int = _arg1.width;
            var k:Point = this._-4dQ(_arg1, _arg2, k, false);
            k = k.x;
            if (k.y > k)
            {
                k = k.y;
            };
            k = (_arg2[0] as BitmapData);
            if (k != null)
            {
                k = [k];
                while (k >= 0)
                {
                    k = this._-4dQ(_arg1, k, k, false);
                    k = k.x;
                    if (k.y > k)
                    {
                        k = k.y;
                    };
                };
            };
            return (k);
        }
        private function _-0ke(_arg1:BitmapData, _arg2:Array):int
        {
            var k:Array;
            if ((((((_arg2 == null)) || ((_arg2.length == 0)))) || ((_arg1 == null))))
            {
                return (0);
            };
            var k:int;
            var k:BitmapData;
            var k:int;
            var k:Point = this._-4dQ(_arg1, _arg2, k, true);
            k = k.x;
            if (k.y > k)
            {
                k = k.y;
            };
            k = (_arg2[(_arg2.length - 1)] as BitmapData);
            if (k != null)
            {
                k = [k];
                while (k < _arg1.width)
                {
                    k = this._-4dQ(_arg1, k, k, true);
                    k = k.x;
                    if (k.y > k)
                    {
                        k = k.y;
                    };
                };
            };
            return (k);
        }
        private function _-0JZ(_arg1:BitmapData, _arg2:Array):int
        {
            var k:Array;
            var k:int;
            var k:Array;
            var k:Point;
            if ((((((_arg2 == null)) || ((_arg2.length == 0)))) || ((_arg1 == null))))
            {
                return (0);
            };
            var k:int;
            var k:BitmapData;
            var k:int;
            while (k < _arg1.width)
            {
                k = Randomizer._-0hn(1, 0, (_arg2.length * 17631));
                k = (k[0] % _arg2.length);
                k = (_arg2[k] as BitmapData);
                if (k != null)
                {
                    k = [k];
                    k = this._-4dQ(_arg1, k, k, true);
                    k = k.x;
                    if (k.y > k)
                    {
                        k = k.y;
                    };
                }
                else
                {
                    return (k);
                };
            };
            return (k);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.PlaneRasterizer

package _-1wa
{
    import _-022._-2KD;
    import _-18r.Map;
    import _-0y0._-2QE;
    import _-022._-2G2;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-0y0.XMLValidator;
    import _-0y0._-2bT;
    import flash.geom.Point;
    import _-0y0._-3q6;
    import _-0y0._-Xl;
    import _-0y0._-06R;
    import _-0vU._-0Va;
    import _-2zl.*;

    public class PlaneRasterizer implements _-07m 
    {

        protected static const _-03v:String = "default";

        private var _-3e3:_-2KD = null;
        private var _-1Nx:Map = null;
        private var _-0ph:Map = null;
        private var _-1zq:Map = null;
        private var _-4tL:Map = null;
        private var _-0qE:XML = null;

        public function PlaneRasterizer()
        {
            this._-0ph = new Map();
            this._-1Nx = new Map();
            this._-1zq = new Map();
            this._-4tL = new Map();
        }
        protected function get data():XML
        {
            return (this._-0qE);
        }
        protected function get _-0-Z():_-2KD
        {
            return (this._-3e3);
        }
        public function initializeDimensions(_arg1:int, _arg2:int):Boolean
        {
            return (true);
        }
        public function dispose():void
        {
            var k:Plane;
            var k:_-2QE;
            var k:int;
            if (this._-1zq != null)
            {
                k = 0;
                while (k < this._-1zq.length)
                {
                    k = (this._-1zq.getWithIndex(k) as Plane);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-1zq.dispose();
                this._-1zq = null;
            };
            if (this._-1Nx != null)
            {
                this._-1HC();
                this._-1Nx.dispose();
                this._-1Nx = null;
            };
            if (this._-0ph != null)
            {
                this._-0pT();
                this._-0ph.dispose();
                this._-0ph = null;
            };
            if (this._-4tL != null)
            {
                k = 0;
                while (k < this._-4tL.length)
                {
                    k = this._-4tL.getWithIndex(k);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-4tL.dispose();
                this._-4tL = null;
            };
            this._-0qE = null;
            this._-3e3 = null;
        }
        public function _-0q5():void
        {
            var k:Plane;
            var k:PlaneMaterial;
            var k:int;
            k = 0;
            while (k < this._-1zq.length)
            {
                k = (this._-1zq.getWithIndex(k) as Plane);
                if (k != null)
                {
                    k._-0q5();
                };
                k++;
            };
            k = 0;
            while (k < this._-1Nx.length)
            {
                k = (this._-1Nx.getWithIndex(k) as PlaneMaterial);
                if (k != null)
                {
                    k._-0q5();
                };
                k++;
            };
        }
        public function initialize(_arg1:XML):void
        {
            this._-0qE = _arg1;
        }
        public function _-4UD():void
        {
            this._-0pT();
            this._-1HC();
            this._-kP();
        }
        private function _-1HC():void
        {
            var k:PlaneMaterial;
            var k:int;
            while (k < this._-1Nx.length)
            {
                k = (this._-1Nx.getWithIndex(k) as PlaneMaterial);
                if (k != null)
                {
                    k.dispose();
                };
                k++;
            };
            this._-1Nx.reset();
        }
        private function _-0pT():void
        {
            var k:PlaneTexture;
            var k:int;
            while (k < this._-0ph.length)
            {
                k = (this._-0ph.getWithIndex(k) as PlaneTexture);
                if (k != null)
                {
                    k.dispose();
                };
                k++;
            };
            this._-0ph.reset();
        }
        protected function _-3Eh(_arg1:String):PlaneTexture
        {
            return ((this._-0ph.getValue(_arg1) as PlaneTexture));
        }
        protected function _-3gw(_arg1:String):PlaneMaterial
        {
            return ((this._-1Nx.getValue(_arg1) as PlaneMaterial));
        }
        protected function _-VA(_arg1:String):Plane
        {
            return (this._-1zq.getValue(_arg1));
        }
        protected function _-07G(_arg1:String, _arg2:Plane):Boolean
        {
            if (_arg2 == null)
            {
                return (false);
            };
            if (this._-1zq.getValue(_arg1) == null)
            {
                this._-1zq.add(_arg1, _arg2);
                return (true);
            };
            return (false);
        }
        public function initializeAssetCollection(_arg1:_-2KD):void
        {
            if (this.data == null)
            {
                return;
            };
            this._-3e3 = _arg1;
            this._-kP();
        }
        private function _-kP():void
        {
            if (this.data == null)
            {
                return;
            };
            this._-1Tw();
            this.initializePlanes();
        }
        private function _-1Tw():void
        {
            var k:XMLList = this.data.textures;
            if (k.length() > 0)
            {
                this._-4CR(k[0], this._-0-Z);
            };
            var k:XMLList = this.data.materials;
            if (k.length() > 0)
            {
                this._-0d8(k[0]);
            };
        }
        protected function initializePlanes():void
        {
        }
        private function _-4CR(_arg1:XML, _arg2:_-2KD):void
        {
            var k:XML;
            var k:String;
            var k:PlaneTexture;
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:String;
            var k:_-2G2;
            var k:BitmapDataAsset;
            var k:BitmapData;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            var k:XMLList = _arg1.texture;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, ["id"]))
                {
                    k = k.@id;
                    if (this._-0ph.getValue(k) == null)
                    {
                        k = new PlaneTexture();
                        k = k.bitmap;
                        k = 0;
                        while (k < k.length())
                        {
                            k = k[k];
                            if (XMLValidator._-4qb(k, ["assetName"]))
                            {
                                k = PlaneTexture._-2E3;
                                k = PlaneTexture._-3Bb;
                                k = PlaneTexture._-2E3;
                                k = PlaneTexture._-3Bb;
                                if (String(k.@normalMinX) != "")
                                {
                                    k = parseFloat(k.@normalMinX);
                                };
                                if (String(k.@normalMaxX) != "")
                                {
                                    k = parseFloat(k.@normalMaxX);
                                };
                                if (String(k.@normalMinY) != "")
                                {
                                    k = parseFloat(k.@normalMinY);
                                };
                                if (String(k.@normalMaxY) != "")
                                {
                                    k = parseFloat(k.@normalMaxY);
                                };
                                k = k.@assetName;
                                k = _arg2.getAsset(k);
                                if (k != null)
                                {
                                    k = (k.asset as BitmapDataAsset);
                                    if (k != null)
                                    {
                                        k = (k.content as BitmapData);
                                        if (k != null)
                                        {
                                            if (k.flipH)
                                            {
                                                k = _-2bT._-44s(k);
                                            }
                                            else
                                            {
                                                k = k.clone();
                                            };
                                            k._-3By(k, k, k, k, k);
                                        };
                                    };
                                };
                            };
                            k++;
                        };
                        this._-0ph.add(k, k);
                    };
                };
                k++;
            };
        }
        private function _-0d8(_arg1:XML):void
        {
            var k:XML;
            var k:String;
            var k:PlaneMaterial;
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:String;
            var k:String;
            var k:int;
            var k:int;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:XMLList;
            var k:PlaneMaterialCellMatrix;
            var k:int;
            var k:XML;
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.material;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, ["id"]))
                {
                    k = k.@id;
                    k = new PlaneMaterial();
                    k = k.materialCellMatrix;
                    k = 0;
                    while (k < k.length())
                    {
                        k = k[k];
                        k = k.@repeatMode;
                        k = k.@align;
                        k = PlaneMaterialCellMatrix._-s0;
                        switch (k)
                        {
                            case "borders":
                                k = PlaneMaterialCellMatrix._-1AA;
                                break;
                            case "center":
                                k = PlaneMaterialCellMatrix._-3o4;
                                break;
                            case "first":
                                k = PlaneMaterialCellMatrix._-49p;
                                break;
                            case "last":
                                k = PlaneMaterialCellMatrix._-2BX;
                                break;
                            case "random":
                                k = PlaneMaterialCellMatrix._-4eh;
                                break;
                        };
                        k = PlaneMaterialCellMatrix._-53o;
                        switch (k)
                        {
                            case "top":
                                k = PlaneMaterialCellMatrix.ALIGN_TOP;
                                break;
                            case "bottom":
                                k = PlaneMaterialCellMatrix._-1L2;
                                break;
                        };
                        k = PlaneMaterialCellMatrix._-2E3;
                        k = PlaneMaterialCellMatrix._-3Bb;
                        k = PlaneMaterialCellMatrix._-2E3;
                        k = PlaneMaterialCellMatrix._-3Bb;
                        if (String(k.@normalMinX) != "")
                        {
                            k = parseFloat(k.@normalMinX);
                        };
                        if (String(k.@normalMaxX) != "")
                        {
                            k = parseFloat(k.@normalMaxX);
                        };
                        if (String(k.@normalMinY) != "")
                        {
                            k = parseFloat(k.@normalMinY);
                        };
                        if (String(k.@normalMaxY) != "")
                        {
                            k = parseFloat(k.@normalMaxY);
                        };
                        k = k.materialCellColumn;
                        if (k.length() > 0)
                        {
                            k = null;
                            k = k._-OZ(k.length(), k, k, k, k, k, k);
                            k = 0;
                            while (k < k.length())
                            {
                                k = k[k];
                                this._-3De(k, k, k);
                                k++;
                            };
                        };
                        this._-1Nx.add(k, k);
                        k++;
                    };
                };
                k++;
            };
        }
        private function _-3De(_arg1:XML, _arg2:PlaneMaterialCellMatrix, _arg3:int):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            var k:String = _arg1.@repeatMode;
            var k:int = parseInt(_arg1.@width);
            var k:int = PlaneMaterialCellColumn._-3qt;
            switch (k)
            {
                case "borders":
                    k = PlaneMaterialCellColumn._-1AA;
                    break;
                case "center":
                    k = PlaneMaterialCellColumn._-3o4;
                    break;
                case "first":
                    k = PlaneMaterialCellColumn._-49p;
                    break;
                case "last":
                    k = PlaneMaterialCellColumn._-2BX;
                    break;
                case "none":
                    k = PlaneMaterialCellColumn._-el;
            };
            var k:Array = this._-36c(_arg1);
            _arg2._-1cy(_arg3, k, k, k);
        }
        private function _-36c(_arg1:XML):Array
        {
            var k:XML;
            var k:String;
            var k:Array;
            var k:Array;
            var k:Array;
            var k:int;
            var k:XMLList;
            var k:PlaneTexture;
            var k:PlaneMaterialCell;
            var k:XML;
            var k:XMLList;
            var k:XMLList;
            var k:XML;
            var k:XML;
            var k:int;
            var k:String;
            var k:_-2G2;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:Array = [];
            var k:XMLList = _arg1.materialCell;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                k = k.@textureId;
                k = null;
                k = null;
                k = null;
                k = 0;
                k = k.extraItemData;
                if (k.length() > 0)
                {
                    k = k[0];
                    k = k.extraItemTypes;
                    k = k.offsets;
                    if ((((k.length() > 0)) && ((k.length() > 0))))
                    {
                        k = k[0];
                        k = k[0];
                        k = this._-0IK(k);
                        k = this._-3bJ(k);
                        k = k.length;
                        if (String(k.@limitMax) != "")
                        {
                            k = parseInt(k.@limitMax);
                        };
                    };
                };
                if (k != null)
                {
                    k = [];
                    k = 0;
                    while (k < k.length)
                    {
                        k = k[k];
                        k = this._-3e3.getAsset(k);
                        if (k != null)
                        {
                            k.push(k);
                        };
                        k++;
                    };
                };
                k = this._-3Eh(k);
                k = new PlaneMaterialCell(k, k, k, k);
                k.push(k);
                k++;
            };
            if (k.length == 0)
            {
                k = null;
            };
            return (k);
        }
        private function _-0IK(_arg1:XML):Array
        {
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:String;
            var k:Array = [];
            var k:Array = ["assetName"];
            if (_arg1 != null)
            {
                k = _arg1.extraItemType;
                k = 0;
                while (k < k.length())
                {
                    k = k[k];
                    if (XMLValidator._-4qb(k, k))
                    {
                        k = k.@assetName;
                        k.push(k);
                    };
                    k++;
                };
            };
            return (k);
        }
        private function _-3bJ(_arg1:XML):Array
        {
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:int;
            var k:int;
            var k:Array = [];
            var k:Array = ["x", "y"];
            if (_arg1 != null)
            {
                k = _arg1.offset;
                k = 0;
                while (k < k.length())
                {
                    k = k[k];
                    if (XMLValidator._-4qb(k, k))
                    {
                        k = parseInt(k.@x);
                        k = parseInt(k.@y);
                        k.push(new Point(k, k));
                    };
                    k++;
                };
            };
            return (k);
        }
        protected function _-2TR(_arg1:int, _arg2:Number, _arg3:Number):_-3q6
        {
            k = Math.abs(_arg2);
            if (k > 90)
            {
                k = 90;
            };
            k = Math.abs(_arg3);
            if (k > 90)
            {
                k = 90;
            };
            var k:String = ((((_arg1 + "_") + Math.round(k)) + "_") + Math.round(k));
            var k:_-3q6 = this._-4tL.getValue(k);
            if (k == null)
            {
                k = new _-2QE(_arg1, new _-Xl(k, k), new _-Xl(-10, 0, 0));
                this._-4tL.add(k, k);
            };
            return (k);
        }
        protected function _-jc(_arg1:Plane, _arg2:XMLList):void
        {
            var k:XML;
            var k:int;
            var k:String;
            var k:String;
            var k:Number;
            var k:Number;
            var k:XMLList;
            var k:PlaneVisualization;
            var k:int;
            var k:XML;
            var k:PlaneMaterial;
            var k:int;
            var k:String;
            var k:int;
            var k:String;
            var k:uint;
            var k:String;
            var k:String;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            var k:int;
            while (k < _arg2.length())
            {
                k = _arg2[k];
                if (XMLValidator._-4qb(k, ["size"]))
                {
                    k = parseInt(k.@size);
                    k = k.@horizontalAngle;
                    k = k.@verticalAngle;
                    k = _-3h0._-2ty;
                    if (k != "")
                    {
                        k = parseFloat(k);
                    };
                    k = _-3h0._-2qG;
                    if (k != "")
                    {
                        k = parseFloat(k);
                    };
                    k = k.visualizationLayer;
                    k = _arg1._-23g(k, k.length(), this._-2TR(k, k, k));
                    if (k != null)
                    {
                        k = 0;
                        while (k < k.length())
                        {
                            k = k[k];
                            k = null;
                            k = _-1sk._-53o;
                            if (XMLValidator._-4qb(k, ["materialId"]))
                            {
                                k = k.@materialId;
                                k = this._-3gw(k);
                            };
                            k = k.@offset;
                            k = _-1sk._-01B;
                            if (k.length > 0)
                            {
                                k = parseInt(k);
                            };
                            k = k.@color;
                            k = _-3h0._-2xB;
                            if (k.length > 0)
                            {
                                k = parseInt(k);
                            };
                            k = k.@align;
                            if (k == "bottom")
                            {
                                k = _-1sk._-1L2;
                            }
                            else
                            {
                                if (k == "top")
                                {
                                    k = _-1sk.ALIGN_TOP;
                                };
                            };
                            k._-0iw(k, k, k, k, k);
                            k++;
                        };
                    };
                };
                k++;
            };
        }
        public function render(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:_-06R, _arg7:Boolean, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=0, _arg12:int=0):_-0Va
        {
            return (null);
        }
        public function getTextureIdentifier(_arg1:Number, _arg2:_-06R):String
        {
            return (String(_arg1));
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.PlaneTexture

package _-1wa
{
    import flash.display.BitmapData;
    import _-0y0._-06R;

    public class PlaneTexture 
    {

        public static const _-2E3:Number = -1;
        public static const _-3Bb:Number = 1;

        private var _-4FB:Array;

        public function PlaneTexture()
        {
            this._-4FB = [];
            super();
        }
        public function dispose():void
        {
            var k:int;
            var k:_-1UV;
            if (this._-4FB != null)
            {
                k = 0;
                while (k < this._-4FB.length)
                {
                    k = (this._-4FB[k] as _-1UV);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-4FB = null;
            };
        }
        public function _-3By(_arg1:BitmapData, _arg2:Number=-1, _arg3:Number=1, _arg4:Number=-1, _arg5:Number=1):void
        {
            var k:_-1UV = new _-1UV(_arg1, _arg2, _arg3, _arg4, _arg5);
            this._-4FB.push(k);
        }
        public function _-5Es(_arg1:_-06R):BitmapData
        {
            var k:_-1UV;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int;
            while (k < this._-4FB.length)
            {
                k = (this._-4FB[k] as _-1UV);
                if (k != null)
                {
                    if ((((((((_arg1.x >= k.normalMinX)) && ((_arg1.x <= k.normalMaxX)))) && ((_arg1.y >= k.normalMinY)))) && ((_arg1.y <= k.normalMaxY))))
                    {
                        return (k.bitmap);
                    };
                };
                k++;
            };
            return (null);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.PlaneVisualization

package _-1wa
{
    import _-0y0._-3q6;
    import flash.display.BitmapData;
    import _-0y0._-Xl;
    import _-1B-._-1zZ;
    import _-2cl.PlaneVisualizationAnimationLayer;
    import _-022._-2KD;
    import flash.geom.Point;
    import _-0y0._-06R;

    public class PlaneVisualization 
    {

        private var _-5D4:Array;
        private var _-4zq:_-3q6 = null;
        private var _-Z2:BitmapData;
        private var _-2IU:_-Xl = null;
        private var _-393:Boolean = false;
        private var _-2qM:Boolean = false;

        public function PlaneVisualization(_arg1:Number, _arg2:int, _arg3:_-3q6)
        {
            this._-5D4 = [];
            super();
            if (_arg2 < 0)
            {
                k = 0;
            };
            var k:int;
            while (k < _arg2)
            {
                this._-5D4.push(null);
                k++;
            };
            this._-4zq = _arg3;
            this._-2IU = new _-Xl();
        }
        public function get geometry():_-3q6
        {
            return (this._-4zq);
        }
        public function get _-29P():Boolean
        {
            return (this._-2qM);
        }
        public function dispose():void
        {
            var k:int;
            var k:_-1zZ;
            if (this._-5D4 != null)
            {
                k = 0;
                while (k < this._-5D4.length)
                {
                    k = (this._-5D4[k] as _-1zZ);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-5D4 = null;
            };
            this._-4zq = null;
            if (this._-Z2 != null)
            {
                this._-Z2.dispose();
            };
            if (this._-2IU != null)
            {
                this._-2IU = null;
            };
        }
        public function _-0q5():void
        {
            var k:int;
            var k:_-1sk;
            var k:PlaneVisualizationAnimationLayer;
            if (!this._-393)
            {
                return;
            };
            if (this._-Z2 != null)
            {
                this._-Z2.dispose();
                this._-Z2 = null;
            };
            if (this._-2IU != null)
            {
                this._-2IU._-3jn(new _-Xl());
            };
            if (this._-5D4 != null)
            {
                k = 0;
                while (k < this._-5D4.length)
                {
                    k = (this._-5D4[k] as _-1sk);
                    k = (this._-5D4[k] as PlaneVisualizationAnimationLayer);
                    if (k != null)
                    {
                        k._-0q5();
                    }
                    else
                    {
                        if (k != null)
                        {
                            k._-0q5();
                        };
                    };
                    k++;
                };
            };
            this._-393 = false;
        }
        public function _-0iw(_arg1:int, _arg2:PlaneMaterial, _arg3:uint, _arg4:int, _arg5:int=0):Boolean
        {
            if ((((_arg1 < 0)) || ((_arg1 > this._-5D4.length))))
            {
                return (false);
            };
            var k:_-1zZ = (this._-5D4[_arg1] as _-1zZ);
            if (k != null)
            {
                k.dispose();
                k = null;
            };
            k = new _-1sk(_arg2, _arg3, _arg4, _arg5);
            this._-5D4[_arg1] = k;
            return (true);
        }
        public function _-2e0(_arg1:int, _arg2:XML, _arg3:_-2KD):Boolean
        {
            if ((((_arg1 < 0)) || ((_arg1 > this._-5D4.length))))
            {
                return (false);
            };
            var k:_-1zZ = (this._-5D4[_arg1] as _-1zZ);
            if (k != null)
            {
                k.dispose();
                k = null;
            };
            k = new PlaneVisualizationAnimationLayer(_arg2, _arg3);
            this._-5D4[_arg1] = k;
            this._-2qM = true;
            return (true);
        }
        public function render(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:Boolean, _arg6:int=0, _arg7:int=0, _arg8:int=0, _arg9:int=0, _arg10:Number=0, _arg11:Number=0, _arg12:int=0):BitmapData
        {
            var k:_-1sk;
            var k:PlaneVisualizationAnimationLayer;
            if (_arg2 < 1)
            {
                k = 1;
            };
            if (_arg3 < 1)
            {
                k = 1;
            };
            if ((((((_arg1 == null)) || (!((_arg1.width == _arg2))))) || (!((_arg1.height == _arg3)))))
            {
                k = null;
            };
            if (this._-Z2 != null)
            {
                if ((((((this._-Z2.width == _arg2)) && ((this._-Z2.height == _arg3)))) && (_-Xl._-3QV(this._-2IU, _arg4))))
                {
                    if (!this._-29P)
                    {
                        if (_arg1 != null)
                        {
                            _arg1.copyPixels(this._-Z2, this._-Z2.rect, new Point(0, 0), null, null, false);
                            return (_arg1);
                        };
                        return (this._-Z2);
                    };
                }
                else
                {
                    this._-Z2.dispose();
                    this._-Z2 = null;
                };
            };
            this._-393 = true;
            if (this._-Z2 == null)
            {
                this._-Z2 = new BitmapData(_arg2, _arg3, true, 0xFFFFFF);
            }
            else
            {
                this._-Z2.fillRect(this._-Z2.rect, 0xFFFFFF);
            };
            if (_arg1 == null)
            {
                k = this._-Z2;
            };
            this._-2IU._-3jn(_arg4);
            var k:int;
            while (k < this._-5D4.length)
            {
                k = (this._-5D4[k] as _-1sk);
                k = (this._-5D4[k] as PlaneVisualizationAnimationLayer);
                if (k != null)
                {
                    k.render(_arg1, _arg2, _arg3, _arg4, _arg5);
                }
                else
                {
                    if (k != null)
                    {
                        k.render(_arg1, _arg2, _arg3, _arg4, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12);
                    };
                };
                k++;
            };
            if (((!((_arg1 == null))) && (!((_arg1 == this._-Z2)))))
            {
                this._-Z2.copyPixels(_arg1, _arg1.rect, new Point(0, 0), null, null, false);
                return (_arg1);
            };
            return (this._-Z2);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.WallAdRasterizer

package _-1wa
{
    import _-0y0._-06R;
    import _-0y0.XMLValidator;
    import flash.display.BitmapData;
    import _-0vU._-0Va;

    public class WallAdRasterizer extends WallRasterizer 
    {

        override public function getTextureIdentifier(_arg1:Number, _arg2:_-06R):String
        {
            return (String(_arg1));
        }
        override protected function initializePlanes():void
        {
            if (data == null)
            {
                return;
            };
            var k:XMLList = data.wallAds;
            if (k.length() > 0)
            {
                this.parseWalls(k[0]);
            };
        }
        override protected function parseWalls(_arg1:XML):void
        {
            var k:XML;
            var k:String;
            var k:XMLList;
            var k:_-4FO;
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.wallAd;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, ["id"]))
                {
                    k = k.@id;
                    k = k.visualization;
                    k = new _-4FO();
                    _-jc(k, k);
                    if (_-VA(k) == null)
                    {
                        _-07G(k, k);
                    }
                    else
                    {
                        k.dispose();
                    };
                };
                k++;
            };
        }
        override public function render(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:_-06R, _arg7:Boolean, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=0, _arg12:int=0):_-0Va
        {
            var k:_-4FO = (_-VA(_arg2) as _-4FO);
            if (k == null)
            {
                k = (_-VA(_-03v) as _-4FO);
            };
            if (k == null)
            {
                return (null);
            };
            if (_arg1 != null)
            {
                _arg1.fillRect(_arg1.rect, 0xFFFFFF);
            };
            var k:BitmapData = k.render(_arg1, _arg3, _arg4, _arg5, _arg6, _arg7);
            if (((!((k == null))) && (!((k == _arg1)))))
            {
                k = k.clone();
            };
            var k:_-0Va = new _-0Va(k, -1);
            return (k);
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1wa.WallRasterizer

package _-1wa
{
    import _-0y0.XMLValidator;
    import flash.display.BitmapData;
    import _-0vU._-0Va;
    import _-0y0._-06R;

    public class WallRasterizer extends PlaneRasterizer 
    {

        override protected function initializePlanes():void
        {
            if (data == null)
            {
                return;
            };
            var k:XMLList = data.walls;
            if (k.length() > 0)
            {
                this.parseWalls(k[0]);
            };
        }
        protected function parseWalls(_arg1:XML):void
        {
            var k:XML;
            var k:String;
            var k:XMLList;
            var k:_-4FO;
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.wall;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, ["id"]))
                {
                    k = k.@id;
                    k = k.visualization;
                    k = new _-4FO();
                    _-jc(k, k);
                    if (!_-07G(k, k))
                    {
                        k.dispose();
                    };
                };
                k++;
            };
        }
        override public function render(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:_-06R, _arg7:Boolean, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=0, _arg12:int=0):_-0Va
        {
            var k:_-4FO = (_-VA(_arg2) as _-4FO);
            if (k == null)
            {
                k = (_-VA(_-03v) as _-4FO);
            };
            if (k == null)
            {
                return (null);
            };
            if (_arg1 != null)
            {
                _arg1.fillRect(_arg1.rect, 0xFFFFFF);
            };
            var k:BitmapData = k.render(_arg1, _arg3, _arg4, _arg5, _arg6, _arg7);
            if (((!((k == null))) && (!((k == _arg1)))))
            {
                k = k.clone();
            };
            var k:_-0Va = new _-0Va(k, -1);
            return (k);
        }
        override public function getTextureIdentifier(_arg1:Number, _arg2:_-06R):String
        {
            if (_arg2 != null)
            {
                return (String(((((((_arg1 + "_") + _arg2.x) + "_") + _arg2.y) + "_") + _arg2.z)));
            };
            return (super.getTextureIdentifier(_arg1, _arg2));
        }

    }
}//package _-1wa

//------------------------------------------------------------
//_-1Wu._-08T

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-08T implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-0bp

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0bp implements _-58N 
    {

        private var _-2cn:Boolean;

        public function get success():Boolean
        {
            return (this._-2cn);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2cn = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-0ES

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0ES implements _-58N 
    {

        private var _-hR:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-hR = _arg1._-2BW();
            return (true);
        }
        public function get _-3QG():int
        {
            return (this._-hR);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-0gX

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0gX implements _-58N 
    {

        private var _-4zu:int = -1;
        private var _-hg:String;
        private var _-2md:String;

        public function get _-3sS():int
        {
            return (this._-4zu);
        }
        public function get _-2hz():String
        {
            return (this._-hg);
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-hg = _arg1.readString();
            this._-4zu = _arg1._-2BW();
            this._-2md = _arg1.readString();
            return (true);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-0wM

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0wM implements _-58N 
    {

        private var _-4OO:int;
        private var _-1br:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4OO = _arg1._-2BW();
            this._-1br = _arg1.readString();
            return (true);
        }
        public function get _-2ej():int
        {
            return (this._-4OO);
        }
        public function get _-0bv():String
        {
            return (this._-1br);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-1X1

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1X1 implements _-58N 
    {

        private var _-b2:int;
        private var _-4lu:int;
        private var _-2md:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1._-2BW();
            this._-4lu = _arg1._-2BW();
            this._-2md = _arg1.readString();
            return (true);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get message():String
        {
            return (this._-2md);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-2fv

package _-1Wu
{
    import _-2JC._-1zU;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2fv implements _-58N 
    {

        private var _-hf:Array;
        private var _-4fQ:Array;

        public function flush():Boolean
        {
            this._-hf = new Array();
            this._-4fQ = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-hf.push(new _-1zU(_arg1));
                k++;
            };
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-4fQ.push(new _-1zU(_arg1));
                k++;
            };
            return (true);
        }
        public function get friends():Array
        {
            return (this._-hf);
        }
        public function get _-BG():Array
        {
            return (this._-4fQ);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-3tD

package _-1Wu
{
    import _-2JC._-42w;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3tD implements _-58N 
    {

        private var _-1E-:Array;

        public function flush():Boolean
        {
            this._-1E- = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-1E-.push(new _-42w(_arg1));
                k++;
            };
            return (true);
        }
        public function get _-2zJ():Array
        {
            return (this._-1E-);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-3ZB

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3ZB implements _-58N 
    {

        private var _-b2:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1._-2BW();
            return (true);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-4fJ

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4fJ implements _-58N 
    {

        private var _-4Tx:int;
        private var _-b2:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4Tx = _arg1._-2BW();
            this._-b2 = _arg1._-2BW();
            return (true);
        }
        public function get _-fG():int
        {
            return (this._-4Tx);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-4lY

package _-1Wu
{
    import _-2JC._-4ni;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4lY implements _-58N 
    {

        private var _-39M:int;
        private var _-3l8:Array;

        public function flush():Boolean
        {
            this._-3l8 = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-39M = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            _-Nb.log(((("Received friend requests: " + this._-39M) + ", ") + k));
            var k:int;
            while (k < k)
            {
                this._-3l8.push(new _-4ni(_arg1));
                k++;
            };
            return (true);
        }
        public function get _-0SL():int
        {
            return (this._-39M);
        }
        public function get _-2nf():Array
        {
            return (this._-3l8);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-9d

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-9d implements _-58N 
    {

        private var _-4OO:int;
        private var _-1br:String;
        private var _-0C8:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4OO = _arg1._-2BW();
            this._-1br = _arg1.readString();
            this._-0C8 = _arg1.readString();
            return (true);
        }
        public function get _-2ej():int
        {
            return (this._-4OO);
        }
        public function get _-0bv():String
        {
            return (this._-1br);
        }
        public function get _-YD():String
        {
            return (this._-0C8);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-h1

package _-1Wu
{
    import _-2JC._-4ni;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-h1 implements _-58N 
    {

        private var _-4C2:_-4ni;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4C2 = new _-4ni(_arg1);
            return (true);
        }
        public function get req():_-4ni
        {
            return (this._-4C2);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-ks

package _-1Wu
{
    import _-2JC._-1vn;
    import _-2JC._-4mo;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-ks implements _-58N 
    {

        private var _-07v:int;
        private var _-1xL:int;
        private var _-2pc:int;
        private var _-0y1:int;
        private var _-2Db:Array;
        private var _-hf:Array;

        public function flush():Boolean
        {
            this._-2Db = new Array();
            this._-hf = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            this._-07v = _arg1._-2BW();
            this._-1xL = _arg1._-2BW();
            this._-2pc = _arg1._-2BW();
            this._-0y1 = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-2Db.push(new _-1vn(_arg1));
                k++;
            };
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-hf.push(new _-4mo(_arg1));
                k++;
            };
            return (true);
        }
        public function get _-4PW():int
        {
            return (this._-07v);
        }
        public function get _-r9():int
        {
            return (this._-1xL);
        }
        public function get _-2Kw():int
        {
            return (this._-2pc);
        }
        public function get categories():Array
        {
            return (this._-2Db);
        }
        public function get friends():Array
        {
            return (this._-hf);
        }
        public function get _-2i2():int
        {
            return (this._-0y1);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu._-SZ

package _-1Wu
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-SZ implements _-58N 
    {

        private var _-b2:int;
        private var _-HT:Array;

        public function flush():Boolean
        {
            this._-HT = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            this._-b2 = _arg1._-2BW();
            if (this._-b2 == 1)
            {
                k = _arg1._-2BW();
                k = 0;
                while (k < k)
                {
                    this._-HT.push(_arg1._-2BW());
                    k++;
                };
            };
            return (true);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function get _-9s():Array
        {
            return (this._-HT);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu.EventStreamMessageParser

package _-1Wu
{
    import __AS3__.vec.Vector;
    import _-2JC.EventStreamData;
    import _-4Aj._-0s1;
    import __AS3__.vec.*;
    import _-4Aj.*;

    public class EventStreamMessageParser implements _-58N 
    {

        private var _-2Te:Vector.<EventStreamData>;

        public function get events():Vector.<EventStreamData>
        {
            return (this._-2Te);
        }
        public function flush():Boolean
        {
            this._-2Te = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            this._-2Te = new Vector.<EventStreamData>();
            while (k-- > 0)
            {
                this._-2Te.push(new EventStreamData(_arg1._-2BW(), _arg1._-2BW(), _arg1.readString(), _arg1.readString(), _arg1.readString(), _arg1.readString(), _arg1._-2BW(), _arg1._-2BW(), _arg1._-2BW(), _arg1.readBoolean(), _arg1.readBoolean(), _arg1.readBoolean(), _arg1));
            };
            return (true);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1Wu.package

package _-1Wu
{
    import _-2JC._-1vn;
    import _-2JC._-4mo;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class package implements _-58N 
    {

        private var _-1U-:Array;
        private var _-4lH:Array;
        private var _-1Ql:Array;
        private var _-3Jx:Array;

        public function flush():Boolean
        {
            this._-1U- = new Array();
            this._-4lH = new Array();
            this._-1Ql = new Array();
            this._-3Jx = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-1U-.push(new _-1vn(_arg1));
                k++;
            };
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                k = _arg1._-2BW();
                if (k == -1)
                {
                    k = _arg1._-2BW();
                    this._-4lH.push(k);
                }
                else
                {
                    if (k == 0)
                    {
                        this._-3Jx.push(new _-4mo(_arg1));
                    }
                    else
                    {
                        if (k == 1)
                        {
                            this._-1Ql.push(new _-4mo(_arg1));
                        };
                    };
                };
                k++;
            };
            return (true);
        }
        public function get _-4-X():Array
        {
            return (this._-1U-);
        }
        public function get _-4p5():Array
        {
            return (this._-4lH);
        }
        public function get _-4AX():Array
        {
            return (this._-1Ql);
        }
        public function get _-2C1():Array
        {
            return (this._-3Jx);
        }

    }
}//package _-1Wu

//------------------------------------------------------------
//_-1-X._-2At

package _-1-X
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2At implements _-58N 
    {

        private var _-3L4:String;
        private var _-2vg:Array;
        private var _-0by:Array;
        private var _-3wQ:int;

        public function get question():String
        {
            return (this._-3L4);
        }
        public function get choices():Array
        {
            return (this._-2vg.slice());
        }
        public function get votes():Array
        {
            return (this._-0by.slice());
        }
        public function get _-3DO():int
        {
            return (this._-3wQ);
        }
        public function flush():Boolean
        {
            this._-3L4 = "";
            this._-2vg = [];
            this._-0by = [];
            this._-3wQ = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3L4 = _arg1.readString();
            this._-2vg = [];
            this._-0by = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                _arg1._-2BW();
                this._-2vg.push(_arg1.readString());
                this._-0by.push(_arg1._-2BW());
                k++;
            };
            this._-3wQ = _arg1._-2BW();
            return (true);
        }

    }
}//package _-1-X

//------------------------------------------------------------
//_-1-X._-3Id

package _-1-X
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3Id implements _-58N 
    {

        private var _-0Kq:int = -1;
        private var _-fg:String = "";

        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get summary():String
        {
            return (this._-fg);
        }
        public function flush():Boolean
        {
            this._-0Kq = -1;
            this._-fg = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Kq = _arg1._-2BW();
            this._-fg = _arg1.readString();
            return (true);
        }

    }
}//package _-1-X

//------------------------------------------------------------
//_-1-X._-3xp

package _-1-X
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3xp implements _-58N 
    {

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (false);
        }

    }
}//package _-1-X

//------------------------------------------------------------
//_-1-X._-Tq

package _-1-X
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-Tq implements _-58N 
    {

        private var _-3L4:String;
        private var _-2vg:Array;

        public function get question():String
        {
            return (this._-3L4);
        }
        public function get choices():Array
        {
            return (this._-2vg.slice());
        }
        public function flush():Boolean
        {
            this._-3L4 = "";
            this._-2vg = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3L4 = _arg1.readString();
            this._-2vg = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                _arg1._-2BW();
                this._-2vg.push(_arg1.readString());
                k++;
            };
            return (true);
        }

    }
}//package _-1-X

//------------------------------------------------------------
//_-1-X.PollContentsParser

package _-1-X
{
    import flash.utils.Dictionary;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class PollContentsParser implements _-58N 
    {

        private var _-0Kq:int = -1;
        private var _-3Hv:String = "";
        private var _-0RV:String = "";
        private var _-4Qf:int = 0;
        private var _-s4:Array = null;

        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-42v():String
        {
            return (this._-3Hv);
        }
        public function get _-1X5():String
        {
            return (this._-0RV);
        }
        public function get _-2ez():int
        {
            return (this._-4Qf);
        }
        public function get _-5At():Array
        {
            return (this._-s4);
        }
        public function flush():Boolean
        {
            this._-0Kq = -1;
            this._-3Hv = "";
            this._-0RV = "";
            this._-4Qf = 0;
            this._-s4 = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:Dictionary;
            var k:int;
            var k:Array;
            var k:Array;
            var k:int;
            this._-0Kq = _arg1._-2BW();
            this._-3Hv = _arg1.readString();
            this._-0RV = _arg1.readString();
            this._-4Qf = _arg1._-2BW();
            this._-s4 = new Array();
            var k:int;
            while (k < this._-4Qf)
            {
                k = new Dictionary();
                this._-s4.push(k);
                k["id"] = _arg1._-2BW();
                k["number"] = _arg1._-2BW();
                k["type"] = _arg1._-2BW();
                k["content"] = _arg1.readString();
                if ((((k["type"] == 1)) || ((k["type"] == 2))))
                {
                    k["selection_min"] = _arg1._-2BW();
                    k = _arg1._-2BW();
                    k = new Array();
                    k = new Array();
                    k["selections"] = k;
                    k["selection_values"] = k;
                    k["selection_count"] = k;
                    k["selection_max"] = k;
                    k = 0;
                    while (k < k)
                    {
                        k.push(_arg1.readString());
                        k.push(_arg1.readString());
                        k++;
                    };
                };
                k++;
            };
            return (true);
        }

    }
}//package _-1-X

//------------------------------------------------------------
//_-1Xo._-2Fz

package _-1Xo
{
    import _-42l.RoomLogic;
    import _-59g._-4sI;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;
    import _-72._-45X;
    import flash.utils.getTimer;
    import _-293._-3wv;
    import _-4bd._-1yr;
    import _-071._-3gM;
    import _-2ly._-11j;
    import flash.events.MouseEvent;
    import _-0y0._-3q6;

    public class _-2Fz extends RoomLogic 
    {

        private var _-3WC:Boolean = false;
        private var _-0L6:int = 0;

        override public function getEventTypes():Array
        {
            var k:Array = [_-4sI._-0DB, _-4sI._-0hN, _-4sI._-3D0];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function initialize(_arg1:XML):void
        {
            super.initialize(_arg1);
            if ((((_arg1 == null)) || ((object == null))))
            {
                return;
            };
            var k:_-4s6 = (object.getModel() as _-4s6);
            if (k == null)
            {
                return;
            };
            k.setString(_-4Wq._-2HC, "");
            k.setString(_-4Wq._-0Gi, "");
            k.setNumber(_-4Wq._-2-Q, Number(false));
            this._-3WC = true;
        }
        override public function update(_arg1:int):void
        {
            super.update(_arg1);
            if ((((this._-0L6 > 0)) && ((_arg1 > this._-0L6))))
            {
                this._-4YJ();
                this._-0L6 = 0;
            };
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            if ((((_arg1 == null)) || ((object == null))))
            {
                return;
            };
            var k:_-4s6 = (object.getModel() as _-4s6);
            if (k == null)
            {
                return;
            };
            var k:_-45X = (_arg1 as _-45X);
            if (k != null)
            {
                switch (k.type)
                {
                    case _-45X._-3qI:
                        k.setString(_-4Wq._-2HC, k.asset);
                        k.setString(_-4Wq._-0Gi, k.clickUrl);
                        k.setNumber(_-4Wq._-2-Q, Number(true));
                        this._-0L6 = (getTimer() + k.getNumber(_-3wv._-3Ii));
                        return;
                };
            };
        }
        public function _-4YJ():void
        {
            if (object == null)
            {
                return;
            };
            var k:_-4s6 = (object.getModel() as _-4s6);
            if (k == null)
            {
                return;
            };
            k.setNumber(_-4Wq._-2-Q, Number(false));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:String;
            super.mouseEvent(_arg1, _arg2);
            var k:_-3gM = _arg1;
            if (k == null)
            {
                return;
            };
            if ((((object == null)) || ((_arg1 == null))))
            {
                return;
            };
            var k:_-4s6 = (object.getModel() as _-4s6);
            if (k == null)
            {
                return;
            };
            switch (k.type)
            {
                case MouseEvent.CLICK:
                    if (k._-3u == _-4Wq._-0rE)
                    {
                        k = k.getString(_-4Wq._-0Gi);
                        if (((!((k == null))) && ((k.indexOf("http") == 0))))
                        {
                            _-2g3.dispatchEvent(new _-4sI(_-4sI._-0DB, object, k));
                            _-11j._-0D8(k);
                        };
                    };
                    return;
                case MouseEvent.ROLL_OVER:
                    if (k._-3u == _-4Wq._-0rE)
                    {
                        _-2g3.dispatchEvent(new _-4sI(_-4sI._-0hN, object));
                    };
                    return;
                case MouseEvent.ROLL_OUT:
                    if (k._-3u == _-4Wq._-0rE)
                    {
                        _-2g3.dispatchEvent(new _-4sI(_-4sI._-3D0, object));
                    };
                    return;
            };
        }

    }
}//package _-1Xo

//------------------------------------------------------------
//_-1Xo._-pq

package _-1Xo
{
    import _-59g._-52y;
    import _-071._-3gM;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-0y0._-3q6;

    public class _-pq extends _-2Fz 
    {

        private static const _-nj:String = "goawaybus";
        private static const _-ZY:String = "bus";
        private static const _-2Il:String = "bus_oviopen_hidden";

        override public function getEventTypes():Array
        {
            var k:Array = [_-52y._-0xy, _-52y._-2Gm];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            super.mouseEvent(_arg1, _arg2);
            var k:_-3gM = _arg1;
            if (k == null)
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            var k:_-2Z2;
            switch (k.type)
            {
                case MouseEvent.CLICK:
                    switch (k._-3u)
                    {
                        case _-nj:
                            k = new _-52y(_-52y._-0xy, object, 0);
                            break;
                        case _-ZY:
                        case _-2Il:
                            k = new _-52y(_-52y._-2Gm, object, 0);
                            break;
                    };
                    break;
            };
            if (_-2g3 != null)
            {
                if (k != null)
                {
                    _-2g3.dispatchEvent(k);
                };
            };
        }

    }
}//package _-1Xo

//------------------------------------------------------------
//_-1Xu._-LS

package _-1Xu
{
    public class _-LS extends Error 
    {

        public function _-LS(_arg1:String="", _arg2:int=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package _-1Xu

//------------------------------------------------------------
//_-1xv._-2vi

package _-1xv
{
    import flash.display.BitmapData;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-295._-243;
    import _-48G._-1f6;
    import _-Ew.IWindow;
    import _-2vN._-39Y;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0mD.HabboCatalog;
    import _-3X8._-0hg;
    import _-295.BitmapDataAsset;
    import flash.geom.ColorTransform;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;

    public class _-2vi extends CatalogNode 
    {

        private static const _-3eQ:Number = 4285716709;

        private static var _-0RN:XML;
        private static var _-21-:XML;
        private static var _-38p:XML;

        private var _-3IG:Number = 0xFFFFFFFF;
        private var _icon:BitmapData;
        private var _-0xv:IWindowContainer;
        private var _-s1:IWindowContainer;
        private var _-3EB:IItemListWindow;
        private var _-1hg:Boolean = false;

        public function _-2vi(_arg1:_-4fV, _arg2:_-1f6, _arg3:int)
        {
            var k:_-243;
            super(_arg1, _arg2, _arg3);
            if (_-0RN == null)
            {
                k = (_arg1.catalog.assets.getAssetByName("navigation_list_subitem") as _-243);
                _-0RN = (k.content as XML);
            };
            if (_-21- == null)
            {
                k = (_arg1.catalog.assets.getAssetByName("navigation_list_item") as _-243);
                _-21- = (k.content as XML);
            };
            if (_-38p == null)
            {
                k = (_arg1.catalog.assets.getAssetByName("list_item_list") as _-243);
                _-38p = (k.content as XML);
            };
        }
        public function set icon(_arg1:BitmapData):void
        {
            this._icon = _arg1;
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        override public function get icon():BitmapData
        {
            return (this._icon);
        }
        override public function get isOpen():Boolean
        {
            return (this._-1hg);
        }
        override public function dispose():void
        {
            if (this._-1hg)
            {
                this.close();
                this.deActivate();
            };
            this._icon = null;
            this._-0xv = null;
            this._-s1 = null;
            this._-3EB = null;
            super.dispose();
        }
        public function _-01L(_arg1:IItemListWindow):void
        {
            if (this._-0xv == null)
            {
                this.createWindow();
            };
            _arg1.addListItem(this._-0xv);
            if (_-3Wx)
            {
                if (this._-3EB == null)
                {
                    this._-NG();
                };
                _arg1.addListItem(this._-3EB);
            };
        }
        public function _-gm(_arg1:IItemListWindow):void
        {
            _arg1._-4sE(this._-0xv);
            if (_-3Wx)
            {
                _arg1._-4sE(this._-3EB);
            };
        }
        override public function activate():void
        {
            var k:IWindow;
            if (this._-0xv != null)
            {
                k = this._-0xv.findChildByTag("SELECTION_COLOR");
                if (k != null)
                {
                    if (this._-3IG == 0xFFFFFFFF)
                    {
                        this._-3IG = k.color;
                    };
                    k.color = _-3eQ;
                };
            };
        }
        override public function deActivate():void
        {
            var k:IWindow;
            if (this._-0xv != null)
            {
                k = this._-0xv.findChildByTag("SELECTION_COLOR");
                if (k != null)
                {
                    k.color = this._-3IG;
                };
            };
        }
        override public function open():void
        {
            var k:IWindow;
            this._-3L5();
            this._-1hg = true;
            if (((_-3Wx) && (!((this._-0xv == null)))))
            {
                k = this._-0xv.findChildByTag("DOWNBTN");
                if (k != null)
                {
                    k.style = _-39Y._-4v9;
                };
            };
        }
        override public function close():void
        {
            var k:IWindow;
            this._-22c();
            this._-1hg = false;
            if (((_-3Wx) && (!((this._-0xv == null)))))
            {
                k = this._-0xv.findChildByTag("DOWNBTN");
                if (k != null)
                {
                    k.style = _-39Y._-Hh;
                };
            };
        }
        private function _-3L5():void
        {
            var k:_-4SI;
            if (this._-3EB == null)
            {
                this._-NG();
            };
            for each (k in children)
            {
                if (k._-2sO)
                {
                    (k as _-2vi)._-01L(this._-3EB);
                };
            };
            if (this._-3EB != null)
            {
                this._-3EB.visible = true;
                this._-3EB.height = (this._-3EB.numListItems * 21);
            };
        }
        private function _-22c():void
        {
            var k:_-4SI;
            for each (k in children)
            {
                if (k._-2sO)
                {
                    (k as _-2vi)._-gm(this._-3EB);
                };
            };
            if (this._-3EB != null)
            {
                this._-3EB.height = 0;
                this._-3EB.visible = false;
                this._-3EB.x = 0;
            };
        }
        private function _-NG():void
        {
            this._-3EB = (navigator.catalog.windowManager.buildFromXML(_-38p) as IItemListWindow);
            if (this._-3EB == null)
            {
                throw (new Error("Failed to construct list-item-list from XML!"));
            };
            this._-22c();
        }
        private function createWindow():void
        {
            if (_-uB == 1)
            {
                this._-0xv = (navigator.catalog.windowManager.buildFromXML(_-21-) as IWindowContainer);
            }
            else
            {
                this._-0xv = (navigator.catalog.windowManager.buildFromXML(_-0RN) as IWindowContainer);
            };
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            var k:ITextWindow = (this._-0xv.findChildByTag("ITEM_TITLE") as ITextWindow);
            var k:IWindow = this._-0xv.findChildByTag("DOWNBTN");
            if (k != null)
            {
                k.caption = localization;
            };
            if (_-4Zw)
            {
                if (k != null)
                {
                    k.visible = false;
                };
            };
            this._-qb("iconBackgroundBitmap", "icon_bg_img", true, color);
            this._-3cd();
            this._-0xv.addEventListener(WindowMouseEvent._-90, this._-435);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-435);
            };
        }
        private function _-4sQ(_arg1:String, _arg2:String=""):String
        {
            var k:_-0hg = (navigator.catalog as HabboCatalog).localization;
            if (k == null)
            {
                return (_arg2);
            };
            return (k.getKey(_arg1, _arg2));
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            navigator.activateNode(this);
        }
        private function _-3cd():void
        {
            var k:String = "icon";
            var k:String = _-1wc;
            if (k == "")
            {
                return;
            };
            if (navigator.catalog.assets.hasAsset(k))
            {
                this._-qb(k, k);
            }
            else
            {
                this._-3kq(k);
            };
        }
        private function _-qb(_arg1:String, _arg2:String, _arg3:Boolean=true, _arg4:uint=0):void
        {
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:ColorTransform;
            if (this._-0xv == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (navigator.catalog.assets.getAssetByName(_arg2) as BitmapDataAsset);
                if (k == null)
                {
                    return;
                };
                k = (k.content as BitmapData);
                if (k != null)
                {
                    k.bitmap = new BitmapData(k.width, k.height, true, 0);
                    k = 0;
                    k = 0;
                    if (_arg3)
                    {
                        k = ((k.width - k.width) / 2);
                        k = ((k.height - k.height) / 2);
                    };
                    if (_arg4 > 0)
                    {
                        k = k.clone();
                        k = ((_arg4 >> 16) & 0xFF);
                        k = ((_arg4 >> 8) & 0xFF);
                        k = ((_arg4 >> 0) & 0xFF);
                        k = ((k / 0xFF) * 1);
                        k = ((k / 0xFF) * 1);
                        k = ((k / 0xFF) * 1);
                        k = new ColorTransform(k, k, k);
                        k.colorTransform(k.rect, k);
                    };
                    k.bitmap.copyPixels(k, k.rect, new Point(k, k));
                }
                else
                {
                    throw (new Error((("Asset " + [_arg1, _arg2]) + " not found!")));
                };
            }
            else
            {
                _-Nb.log(("[CatalogNodeRenderable] Could not find element: " + _arg1));
            };
        }
        private function _-3kq(_arg1:String):void
        {
            if (_arg1 == "")
            {
                return;
            };
            var k = ((navigator.catalog.imageGalleryHost + _arg1) + ".png");
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = navigator.catalog.assets.loadAssetFromFile(_arg1, k, "image/gif");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-1hi);
        }
        private function _-1hi(_arg1:AssetLoaderEvent):void
        {
            var k:String;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                k = k.assetName;
                this._-qb("icon", k);
            };
        }

    }
}//package _-1xv

//------------------------------------------------------------
//_-1xv._-4fV

package _-1xv
{
    import _-0mD._-2Jq;
    import _-48G._-1f6;

    public interface _-4fV 
    {

        function dispose():void;
        function get catalog():_-2Jq;
        function _-4Io(_arg1:_-1f6):void;
        function activateNode(_arg1:_-4SI):void;
        function _-2Ru():void;
        function _-25k():Boolean;
        function _-1ZU(_arg1:String):_-4SI;
        function _-0Gp(_arg1:int, _arg2:_-4SI=null):_-4SI;
        function _-0Wn(_arg1:String):void;
        function _-q1(_arg1:int, _arg2:int):void;

    }
}//package _-1xv

//------------------------------------------------------------
//_-1xv._-4SI

package _-1xv
{
    import flash.display.BitmapData;

    public interface _-4SI 
    {

        function dispose():void;
        function get isOpen():Boolean;
        function get _-uB():int;
        function get _-3Wx():Boolean;
        function get _-4Zw():Boolean;
        function get _-2sO():Boolean;
        function get localization():String;
        function get pageId():int;
        function get pageName():String;
        function get color():uint;
        function get icon():BitmapData;
        function get children():Array;
        function activate():void;
        function deActivate():void;
        function _-4Pv(_arg1:_-4SI):Boolean;
        function addChild(_arg1:_-4SI):void;
        function open():void;
        function close():void;
        function get parent():_-4SI;
        function set parent(_arg1:_-4SI):void;

    }
}//package _-1xv

//------------------------------------------------------------
//_-1xv._-58y

package _-1xv
{
    public class _-58y 
    {

        public static const _-4Qz:int = 0;
        public static const _-0-T:int = 1;
        public static const _-3dN:int = 2;

        private var _-4bl:int;
        private var _-by:int;
        private var _-oI:int;
        private var _-4FI:String;

        public function _-58y()
        {
            this._-4bl = _-4Qz;
        }
        public function set _-4fh(_arg1:int):void
        {
            this._-4bl = _-0-T;
            this._-by = _arg1;
        }
        public function set _-5u(_arg1:String):void
        {
            this._-4bl = _-3dN;
            this._-4FI = _arg1;
        }
        public function _-1f():void
        {
            this._-4bl = _-4Qz;
            this._-oI = -1;
        }
        public function get _-Hu():int
        {
            return (this._-4bl);
        }
        public function get _-0nn():int
        {
            return (this._-by);
        }
        public function get _-30C():int
        {
            return (this._-oI);
        }
        public function set _-30C(_arg1:int):void
        {
            this._-oI = _arg1;
        }
        public function get _-tW():String
        {
            return (this._-4FI);
        }

    }
}//package _-1xv

//------------------------------------------------------------
//_-1xv.CatalogNavigator

package _-1xv
{
    import _-0mD._-2Jq;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-1ae.IScrollbarWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-48G._-1f6;
    import _-3Dz._-1kU;
    import _-3Bn._-1Ii;
    import _-2Mh._-cF;
    import _-2Mh._-3YS;

    public class CatalogNavigator implements _-4fV 
    {

        private var _-3oJ:_-2Jq;
        private var _container:IWindowContainer;
        private var _-3EB:IItemListWindow;
        private var _index:_-4SI;
        private var _-O5:Array;
        private var _-1U4:IScrollbarWindow;

        public function CatalogNavigator(_arg1:_-2Jq, _arg2:IWindowContainer)
        {
            var k:IWindow;
            var k:IWindow;
            var k:IWindow;
            super();
            this._-3oJ = _arg1;
            this._container = _arg2;
            this._-O5 = [];
            this._-3EB = (this._container.findChildByName("navigationList") as IItemListWindow);
            if (_arg1.configuration.getBoolean("catalog.show.purse", false))
            {
                k = this._container.findChildByName("creditsContainer");
                k = this._container.findChildByName("pixelsContainer");
                k = this._container.findChildByName("clubContainer");
                k.addEventListener(WindowMouseEvent._-90, this._-0Z0);
                k.addEventListener(WindowMouseEvent._-4ea, this._-0Z0);
                k.addEventListener(WindowMouseEvent._-4e2, this._-0Z0);
                k.addEventListener(WindowMouseEvent._-90, this._-0Z0);
                k.addEventListener(WindowMouseEvent._-4ea, this._-0Z0);
                k.addEventListener(WindowMouseEvent._-4e2, this._-0Z0);
                k.addEventListener(WindowMouseEvent._-90, this._-0Z0);
                k.addEventListener(WindowMouseEvent._-4ea, this._-0Z0);
                k.addEventListener(WindowMouseEvent._-4e2, this._-0Z0);
            };
            this._-1U4 = (this._container.findChildByName("navigationListScrollbar") as IScrollbarWindow);
            if (this._-1U4 != null)
            {
                this._-1U4.visible = false;
                this._-1U4.addEventListener(WindowEvent._-0T3, this._-0fb);
                this._-1U4.addEventListener(WindowEvent._-3Z0, this._-0fb);
                this._-1U4.addEventListener(WindowEvent._-2YL, this._-1QT);
                this._-1U4.addEventListener(WindowEvent._-15U, this._-1QT);
            };
        }
        public function _-25k():Boolean
        {
            return (!((this._index == null)));
        }
        public function dispose():void
        {
            this._-3oJ = null;
            this._container = null;
            this._-3EB = null;
            if (this._index)
            {
                this._index.dispose();
            };
            this._index = null;
            this._-O5 = null;
            this._-1U4 = null;
        }
        public function _-4Io(_arg1:_-1f6):void
        {
            var k:_-4SI;
            this._index = null;
            this._index = this._-04V(_arg1, 0);
            for each (k in this._index.children)
            {
                if (k._-2sO)
                {
                    (k as _-2vi)._-01L(this._-3EB);
                };
            };
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function activateNode(_arg1:_-4SI):void
        {
            var k:_-4SI;
            var k:_-4SI;
            var k:int;
            var k = (this._-O5.indexOf(_arg1) > -1);
            var k:Boolean = _arg1.isOpen;
            var k:Array = [];
            for each (k in this._-O5)
            {
                k.deActivate();
                if (k._-uB >= _arg1._-uB)
                {
                    k.push(k);
                };
            };
            for each (k in k)
            {
                k.close();
                k = this._-O5.indexOf(k);
                this._-O5.splice(k, 1);
            };
            _arg1.activate();
            if (((k) && (k)))
            {
                _arg1.close();
            }
            else
            {
                _arg1.open();
            };
            if (this._-O5.indexOf(_arg1) == -1)
            {
                this._-O5.push(_arg1);
            };
            this._-3oJ._-wS(_arg1.pageId, -1);
            this._-3oJ.events.dispatchEvent(new _-1kU(_arg1.pageId, _arg1.localization));
        }
        public function _-0Wn(_arg1:String):void
        {
            var k:_-4SI = this._-1ZU(_arg1);
            if (k != null)
            {
                this._-3oJ._-wS(k.pageId, -1);
                this._-p7(k);
            }
            else
            {
                this._-2Ru();
            };
        }
        public function _-q1(_arg1:int, _arg2:int):void
        {
            var k:_-4SI = this._-0Gp(_arg1);
            if (k != null)
            {
                this._-3oJ._-wS(k.pageId, _arg2);
                this._-p7(k);
            };
        }
        private function _-p7(_arg1:_-4SI):void
        {
            var k:_-4SI;
            var k:_-4SI;
            if (_arg1 == null)
            {
                return;
            };
            for each (k in this._-O5)
            {
                k.deActivate();
                k.close();
            };
            this._-O5 = [];
            k = _arg1.parent;
            while (((!((k == null))) && (!((k.parent == null)))))
            {
                k.open();
                this._-O5.push(k);
                k = k.parent;
            };
            this.activateNode(_arg1);
        }
        public function _-2Ru():void
        {
            var k:_-4SI = this._-4m4(this._index);
            _-Nb.log((((("Load front page: " + k.localization) + "(") + k.pageId) + ")"));
            this._-3oJ._-wS(k.pageId, -1);
        }
        private function _-Hg():void
        {
            if (this._-3oJ)
            {
                this._-3oJ.openCreditsHabblet();
            };
        }
        private function _-3yB(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.dispose();
        }
        private function _-04D():void
        {
            this._-0Wn(_-cF._-3LZ);
        }
        private function _-3w8():void
        {
            this._-3oJ.openClubBuy(_-3YS._-36p, "CatalogNavigator");
        }
        private function _-4m4(_arg1:_-4SI):_-4SI
        {
            var _local2:_-4SI;
            var k:_-4SI;
            if (((_arg1._-2sO) && (!((_arg1 == this._index)))))
            {
                return (_arg1);
            };
            for each (_local2 in _arg1.children)
            {
                k = this._-4m4(_local2);
                if (k != null)
                {
                    return (k);
                };
            };
            return (null);
        }
        private function _-04V(_arg1:_-1f6, _arg2:int):_-4SI
        {
            var k:_-1f6;
            var k:Boolean = _arg1._-3G-;
            var k:_-4SI;
            if (!k)
            {
                k = (new CatalogNode(this, _arg1, _arg2) as _-4SI);
            }
            else
            {
                k = (new _-2vi(this, _arg1, _arg2) as _-4SI);
            };
            if (k == null)
            {
                _-Nb.log("Catalog index node creation failed!");
                return (null);
            };
            _arg2++;
            for each (k in _arg1._-45F)
            {
                k.addChild(this._-04V(k, k));
            };
            return (k);
        }
        public function _-1ZU(_arg1:String):_-4SI
        {
            return (this._-14S(_arg1, this._index));
        }
        public function _-0Gp(_arg1:int, _arg2:_-4SI=null):_-4SI
        {
            var currentPageId:int;
            var child:_-4SI;
            var pageId:int = _arg1;
            var node = _arg2;
            if (node == null)
            {
                node = this._index;
            };
            var found:_-4SI;
            try
            {
                currentPageId = node.pageId;
                if ((((currentPageId == pageId)) && (!((node == this._index)))))
                {
                    found = node;
                }
                else
                {
                    for each (child in node.children)
                    {
                        found = this._-0Gp(pageId, child);
                        if (found != null)
                        {
                            break;
                        };
                    };
                };
            }
            catch(e:Error)
            {
                _-Nb.log((("error when loading node by id " + pageId) + ":"), e);
            };
            return (found);
        }
        private function _-14S(_arg1:String, _arg2:_-4SI):_-4SI
        {
            var child:_-4SI;
            var pageName:String = _arg1;
            var node:_-4SI = _arg2;
            var found:_-4SI;
            try
            {
                if ((((node.pageName == pageName)) && (!((node == this._index)))))
                {
                    found = node;
                }
                else
                {
                    for each (child in node.children)
                    {
                        found = this._-14S(pageName, child);
                        if (found != null)
                        {
                            break;
                        };
                    };
                };
            }
            catch(e:Error)
            {
                _-Nb.log((("Error when loading node by name " + pageName) + ":"), e);
            };
            return (found);
        }
        private function _-0Z0(_arg1:WindowMouseEvent):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.target);
            var k:String = IWindow(_arg1.target).name;
            switch (_arg1.type)
            {
                case WindowMouseEvent._-4ea:
                    k.getChildByName("background").color = 4281692560;
                    return;
                case WindowMouseEvent._-4e2:
                    k.getChildByName("background").color = 4280767850;
                    return;
                case WindowMouseEvent._-90:
                    switch (k)
                    {
                        case "creditsContainer":
                            this._-Hg();
                            break;
                        case "pixelsContainer":
                            this._-04D();
                            break;
                        case "clubContainer":
                            this._-3w8();
                            break;
                    };
                    return;
            };
        }
        private function _-0fb(_arg1:WindowEvent):void
        {
            (_arg1.target as IWindow).visible = true;
        }
        private function _-1QT(_arg1:WindowEvent):void
        {
            (_arg1.target as IWindow).visible = false;
        }

    }
}//package _-1xv

//------------------------------------------------------------
//_-1xv.CatalogNode

package _-1xv
{
    import _-48G._-1f6;
    import flash.display.BitmapData;

    public class CatalogNode implements _-4SI 
    {

        private static const _-4-D:Array = [4293190884, 4293914607, 0xFFFFDB54, 4289454682, 4289431551, 4285716709, 4294016606, 4293326172, 4293694138, 4285383659, 4293082689, 4288782753];
        private static const _-3EK:String = "icon_";

        private var _-1Fo:int = 0;
        private var _-4sj:Boolean = false;
        private var _-cU:String = "";
        private var _-2Aj:int = -1;
        private var _-2iE:String = "";
        private var _color:uint = 0;
        private var _-S4:int = 0;
        private var _-16P:Array;
        private var _-2bJ:_-4fV;
        private var _parent:_-4SI;

        public function CatalogNode(_arg1:_-4fV, _arg2:_-1f6, _arg3:int)
        {
            this._-16P = [];
            super();
            this._-1Fo = _arg3;
            this._-2bJ = _arg1;
            this._-4sj = _arg2._-3G-;
            this._-cU = _arg2.localization;
            this._-2Aj = _arg2.pageId;
            this._-2iE = _arg2.pageName;
            this._color = _-4-D[_arg2.color];
            this._-S4 = _arg2.icon;
            this._-16P = [];
        }
        public function get isOpen():Boolean
        {
            return (false);
        }
        public function get _-uB():int
        {
            return (this._-1Fo);
        }
        public function get _-3Wx():Boolean
        {
            return ((this._-16P.length > 0));
        }
        public function get _-4Zw():Boolean
        {
            return ((this._-16P.length == 0));
        }
        public function get _-2sO():Boolean
        {
            return (this._-4sj);
        }
        public function get localization():String
        {
            return (this._-cU);
        }
        public function get pageId():int
        {
            return (this._-2Aj);
        }
        public function get pageName():String
        {
            return (this._-2iE);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get icon():BitmapData
        {
            return (null);
        }
        public function get children():Array
        {
            return (this._-16P);
        }
        public function get navigator():_-4fV
        {
            return (this._-2bJ);
        }
        public function get parent():_-4SI
        {
            return (this._parent);
        }
        public function set parent(_arg1:_-4SI):void
        {
            this._parent = _arg1;
        }
        public function dispose():void
        {
            var k:_-4SI;
            for each (k in this._-16P)
            {
                k.dispose();
            };
            this._-16P = null;
            this._-2bJ = null;
            this._parent = null;
            this._-2iE = "";
            this._-cU = "";
        }
        public function _-4Pv(_arg1:_-4SI):Boolean
        {
            var k:_-4SI;
            for each (k in this._-16P)
            {
                if (k == _arg1)
                {
                    return (true);
                };
            };
            return (false);
        }
        public function addChild(_arg1:_-4SI):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-16P.push(_arg1);
            _arg1.parent = this;
        }
        public function activate():void
        {
        }
        public function deActivate():void
        {
        }
        public function open():void
        {
        }
        public function close():void
        {
        }
        protected function get _-1wc():String
        {
            if (this._-S4 < 1)
            {
                return ("");
            };
            return ((_-3EK + this._-S4.toString()));
        }

    }
}//package _-1xv

//------------------------------------------------------------
//_-1Xv._-1eX

package _-1Xv
{
    import _-4Aj.*;

    public class _-1eX implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-1Xv

//------------------------------------------------------------
//_-1Xv._-32d

package _-1Xv
{
    import _-4Aj.*;

    public class _-32d implements _-1oF 
    {

        private var _-56P:int = 0;

        public function _-32d(_arg1:int)
        {
            this._-56P = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            k.push(this._-56P);
            return (k);
        }

    }
}//package _-1Xv

//------------------------------------------------------------
//_-1xw._-01n

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-01n implements _-58N 
    {

        private var _-2md:String;

        public function get message():String
        {
            return (this._-2md);
        }
        public function flush():Boolean
        {
            this._-2md = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2md = _arg1.readString();
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-05b

package _-1xw
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-05b implements _-58N 
    {

        private var _-0qE:Map;

        public function get data():Map
        {
            return (this._-0qE);
        }
        public function flush():Boolean
        {
            if (this._-0qE != null)
            {
                this._-0qE.dispose();
            };
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            this._-0qE = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                this._-0qE.add(k, k);
                k++;
            };
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-0mc

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0mc implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-14l:String = "";

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Rt = _arg1._-2BW();
            this._-14l = _arg1.readString();
            return (true);
        }
        public function _-4z7():int
        {
            return (this._-1Rt);
        }
        public function _-19X():String
        {
            return (this._-14l);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-0pg

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0pg implements _-58N 
    {

        private var _-0cW:int;
        private var _-3sg:String;

        public function flush():Boolean
        {
            this._-0cW = -1;
            this._-3sg = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0cW = _arg1._-2BW();
            this._-3sg = _arg1.readString();
            return (true);
        }
        public function get _-2O9():int
        {
            return (this._-0cW);
        }
        public function get _-1it():String
        {
            return (this._-3sg);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-0Vu

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Vu implements _-58N 
    {

        private var _-3XG:Boolean;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3XG = _arg1.readBoolean();
            return (true);
        }
        public function get _-1SB():Boolean
        {
            return (this._-3XG);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-0X9

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0X9 implements _-58N 
    {

        private var _-4g4:Boolean;
        private var _-545:int;
        private var _-238:String;
        private var _-0Wm:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4g4 = _arg1.readBoolean();
            this._-545 = _arg1._-2BW();
            this._-238 = _arg1.readString();
            this._-0Wm = _arg1._-2BW();
            return (true);
        }
        public function get _-4ND():Boolean
        {
            return (this._-4g4);
        }
        public function get _-2g4():int
        {
            return (this._-545);
        }
        public function get _-S9():String
        {
            return (this._-238);
        }
        public function get _-1DX():int
        {
            return (this._-0Wm);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-1g6

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1g6 implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-1jO

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1jO implements _-58N 
    {

        public static const _-Fa:int = 0;
        public static const _-4il:int = 1;
        public static const _-2yM:int = 2;
        public static const _-1Un:int = 3;
        public static const _-1Pt:int = 4;

        private var _-b2:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1._-2BW();
            return (true);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-1L7

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1L7 implements _-58N 
    {

        private var _-47F:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-47F = _arg1._-2BW();
            return (true);
        }
        public function _-07V():int
        {
            return (this._-47F);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-1wK

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1wK implements _-58N 
    {

        private var _-4WS:String;

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4WS = _arg1.readString();
            return (true);
        }
        public function get _-1eI():String
        {
            return (this._-4WS);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-2gt

package _-1xw
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2gt implements _-58N 
    {

        private var _-4d9:int;
        private var _-1Td:String;
        private var _-0qE:Map;

        public function get _-2d-():int
        {
            return (this._-4d9);
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function get data():Map
        {
            return (this._-0qE);
        }
        public function flush():Boolean
        {
            if (this._-0qE != null)
            {
                this._-0qE.dispose();
            };
            this._-0qE = null;
            this._-4d9 = -1;
            this._-1Td = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            this._-0qE = new Map();
            this._-4d9 = _arg1._-2BW();
            this._-1Td = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                this._-0qE.add(k, k);
                k++;
            };
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-2IC

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2IC implements _-58N 
    {

        public static const _-2iD:int = 0;
        public static const _-4nB:int = 1;
        public static const _-0Qv:int = 2;
        public static const _-3DP:int = 3;
        public static const _-3ao:int = 4;
        public static const _-2Ee:int = 5;

        private var _-8R:Array;

        public function flush():Boolean
        {
            this._-8R = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-8R = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-8R.push(_arg1._-2BW());
                k++;
            };
            return (true);
        }
        public function get status():Array
        {
            return (this._-8R);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-2IR

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2IR implements _-58N 
    {

        private var _-0Zn:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Zn = _arg1._-2BW();
            return (true);
        }
        public function get _-2LW():int
        {
            return (this._-0Zn);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-39w

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-39w implements _-58N 
    {

        private var _-0Uj:int;
        private var _-bs:int;
        private var _-2kY:Array;

        public function flush():Boolean
        {
            this._-0Uj = -1;
            this._-bs = -1;
            this._-2kY = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Uj = _arg1._-2BW();
            this._-bs = _arg1._-2BW();
            this._-2kY = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-2kY.push(_arg1._-2BW());
                k++;
            };
            return (true);
        }
        public function get _-4tz():int
        {
            return (this._-0Uj);
        }
        public function get _-Ze():int
        {
            return (this._-bs);
        }
        public function get _-3DZ():Array
        {
            return (this._-2kY);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-3bA

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3bA implements _-58N 
    {

        private static const _-2ge:int = 0;
        private static const _-2dx:int = 1;
        private static const _-2Er:int = 2;

        private var _-46o:int = -1;

        public function flush():Boolean
        {
            this._-46o = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-46o = _arg1._-2BW();
            return (true);
        }
        public function get _-Sy():String
        {
            if ((((this._-46o == _-2ge)) || ((this._-46o == _-2dx))))
            {
                return ("valid");
            };
            return ("invalid");
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-3BR

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3BR implements _-58N 
    {

        private var _-mI:String;
        private var _-4OO:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-mI = _arg1.readString();
            this._-4OO = _arg1._-2BW();
            return (true);
        }
        public function get _-4Is():String
        {
            return (this._-mI);
        }
        public function get _-2ej():int
        {
            return (this._-4OO);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-3Dc

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3Dc implements _-58N 
    {

        private var _-2nr:String;
        private var _-4mQ:Array;

        public function flush():Boolean
        {
            this._-2nr = null;
            this._-4mQ = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2nr = _arg1.readString();
            this._-4mQ = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4mQ.push(_arg1._-2BW());
                k++;
            };
            return (true);
        }
        public function get _-0Xw():String
        {
            return (this._-2nr);
        }
        public function get _-ie():Array
        {
            return (this._-4mQ);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-3GN

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3GN implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-3k8

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3k8 implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-3pF

package _-1xw
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3pF implements _-58N 
    {

        private var _-0qE:Map;

        public function get data():Map
        {
            return (this._-0qE);
        }
        public function flush():Boolean
        {
            if (this._-0qE != null)
            {
                this._-0qE.dispose();
            };
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:Map;
            var k:int;
            var k:String;
            var k:int;
            this._-0qE = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new Map();
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = _arg1._-2BW();
                k.add("name", k);
                k.add("count", k);
                this._-0qE.add(k, k);
                k++;
            };
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-3QZ

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3QZ implements _-58N 
    {

        private var _-2hb:int;

        public function flush():Boolean
        {
            this._-2hb = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2hb = _arg1._-2BW();
            return (true);
        }
        public function get _-Cq():int
        {
            return (this._-2hb);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-43b

package _-1xw
{
    import _-595._-3RQ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-43b implements _-58N 
    {

        public static const _-0Wa:int = 0;
        public static const _-29H:int = 1;
        public static const _-4p2:int = 2;
        public static const _-1jb:int = 3;

        private var _-BN:int;
        private var _-3gG:_-3RQ;

        public function flush():Boolean
        {
            this._-3gG = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-BN = _arg1._-2BW();
            if (this._-BN == _-29H)
            {
                this._-3gG = new _-3RQ(_arg1);
            };
            return (true);
        }
        public function get _-3F3():int
        {
            return (this._-BN);
        }
        public function get _-0mH():_-3RQ
        {
            return (this._-3gG);
        }
        public function get _-Sy():String
        {
            switch (this._-BN)
            {
                case _-4p2:
                    return ("blocked");
                case _-1jb:
                    return ("tooquick");
                default:
                    return ("");
            };
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-47I

package _-1xw
{
    import _-2WG._-0l7;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-47I implements _-58N 
    {

        private var _-0qE:_-0l7;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-0l7(_arg1);
            return (true);
        }
        public function get data():_-0l7
        {
            return (this._-0qE);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-4h7

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4h7 implements _-58N 
    {

        private var _-2On:int = 0;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2On = _arg1._-2BW();
            return (true);
        }
        public function get _-pn():int
        {
            return (this._-2On);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-4Lk

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Lk implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-4lm

package _-1xw
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4lm implements _-58N 
    {

        private var _-0y4:Map;
        private var _-3uu:Map;

        public function get _-1mr():Map
        {
            return (this._-0y4);
        }
        public function get _-4DI():Map
        {
            return (this._-3uu);
        }
        public function flush():Boolean
        {
            if (this._-0y4 != null)
            {
                this._-0y4.dispose();
            };
            this._-0y4 = null;
            if (this._-3uu != null)
            {
                this._-3uu.dispose();
            };
            this._-3uu = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            this._-0y4 = new Map();
            this._-3uu = new Map();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                this._-0y4.add(k, k);
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                this._-3uu.add(k, k);
                k++;
            };
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-4mF

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4mF implements _-58N 
    {

        private var _-2nr:String;
        private var _-1BL:Array;

        public function flush():Boolean
        {
            this._-2nr = null;
            this._-1BL = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2nr = _arg1.readString();
            this._-1BL = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-1BL.push(_arg1._-2BW());
                k++;
            };
            return (true);
        }
        public function get _-0Xw():String
        {
            return (this._-2nr);
        }
        public function get _-rj():Array
        {
            return (this._-1BL);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-4O0

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4O0 implements _-58N 
    {

        private var _onDuty:Boolean;
        private var _-2fP:int;
        private var _-0gf:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._onDuty = _arg1.readBoolean();
            this._-2fP = _arg1._-2BW();
            this._-0gf = _arg1._-2BW();
            return (true);
        }
        public function get _-in():Boolean
        {
            return (this._onDuty);
        }
        public function get _-1zT():int
        {
            return (this._-2fP);
        }
        public function get _-4HZ():int
        {
            return (this._-0gf);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-57n

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-57n implements _-58N 
    {

        private var _-0na:int;

        public function get _-0zc():int
        {
            return (this._-0na);
        }
        public function flush():Boolean
        {
            this._-0na = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0na = _arg1._-2BW();
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-bB

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-bB implements _-58N 
    {

        private var _-3hm:int;
        private var _-3Tx:String;

        public function get _-2Zb():int
        {
            return (this._-3hm);
        }
        public function get _-4Ud():String
        {
            return (this._-3Tx);
        }
        public function flush():Boolean
        {
            this._-3hm = -1;
            this._-3Tx = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3hm = _arg1._-2BW();
            this._-3Tx = _arg1.readString();
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-FA

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-FA implements _-58N 
    {

        private static const _-4B6:int = 0;
        private static const _-4Ef:int = 1;
        private static const _-wZ:int = 2;
        private static const _-21b:int = 3;

        private var _result:int = -1;

        public function flush():Boolean
        {
            this._result = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._result = _arg1._-2BW();
            return (true);
        }
        public function get _-Sy():String
        {
            switch (this._result)
            {
                case _-4B6:
                    return ("sent");
                case _-4Ef:
                    return ("blocked");
                case _-wZ:
                    return ("nochat");
                case _-21b:
                    return ("alreadyreported");
                default:
                    return ("invalid");
            };
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw._-T-

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-T- implements _-58N 
    {

        private var _-52r:int;
        private var _-4Fr:String;
        private var _-33U:String;
        private var _-4-V:int;
        private var _-5-m:String;
        private var _-0vq:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-52r = _arg1._-2BW();
            this._-4Fr = _arg1.readString();
            this._-33U = _arg1.readString();
            this._-4-V = _arg1._-2BW();
            this._-5-m = _arg1.readString();
            this._-0vq = _arg1.readString();
            return (true);
        }
        public function get _-4pt():int
        {
            return (this._-52r);
        }
        public function get _-0Lf():String
        {
            return (this._-4Fr);
        }
        public function get _-JD():String
        {
            return (this._-33U);
        }
        public function get _-3q3():int
        {
            return (this._-4-V);
        }
        public function get _-3Wn():String
        {
            return (this._-5-m);
        }
        public function get _-20q():String
        {
            return (this._-0vq);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1xw.CallForHelpPendingCallsMessageParser

package _-1xw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class CallForHelpPendingCallsMessageParser implements _-58N 
    {

        private var _-qZ:Array;

        public function CallForHelpPendingCallsMessageParser()
        {
            this._-qZ = new Array();
            super();
        }
        public function get _-0PZ():Array
        {
            return (this._-qZ);
        }
        public function get _-2mX():int
        {
            return (this._-qZ.length);
        }
        public function flush():Boolean
        {
            this._-qZ = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:Object;
            this._-qZ = new Array();
            var k:int = _arg1._-2BW();
            while (k < k)
            {
                k = new Object();
                k.callId = _arg1.readString();
                k.timeStamp = _arg1.readString();
                k.message = _arg1.readString();
                this._-qZ.push(k);
                k++;
            };
            return (true);
        }

    }
}//package _-1xw

//------------------------------------------------------------
//_-1Y._-0vR

package _-1Y
{
    import flash.text.TextField;
    import flash.text.TextFormat;
    import flash.text.TextFieldAutoSize;
    import _-1ae.ITextWindow;
    import _-1B-.*;

    public class _-0vR implements _-1zZ 
    {

        private var _disposed:Boolean = false;
        private var _-1jr:TextField;
        private var _-1jk:TextFormat;
        private var _-4JP:String = "...";
        private var _-1ii:int = 20;

        public function _-0vR()
        {
            this._-1jr = new TextField();
            this._-1jr.autoSize = TextFieldAutoSize.LEFT;
            this._-1jk = this._-1jr.defaultTextFormat;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-1jr = null;
                this._disposed = true;
            };
        }
        public function crop(_arg1:ITextWindow):void
        {
            var k:int;
            this._-1jk.font = _arg1._-PX;
            this._-1jk.size = _arg1.fontSize;
            this._-1jk.bold = _arg1.bold;
            this._-1jk.italic = _arg1.italic;
            this._-1jr.setTextFormat(this._-1jk);
            this._-1jr.text = _arg1.getLineText(0);
            var k:int = this._-1jr.textWidth;
            if (k > _arg1.width)
            {
                k = this._-1jr.getCharIndexAtPoint((_arg1.width - this._-1ii), (this._-1jr.textHeight / 2));
                _arg1.text = (_arg1.text.slice(0, k) + this._-4JP);
            };
        }

    }
}//package _-1Y

//------------------------------------------------------------
//_-1Y._-18A

package _-1Y
{
    import _-295._-39L;
    import _-295.BitmapDataAsset;
    import _-1ae.IBitmapWrapperWindow;
    import flash.events.TimerEvent;

    public class _-18A extends Icon 
    {

        private static const _-4cP:int = 200;
        private static const _-3XI:int = 500;

        private var _assets:_-39L;

        public function _-18A(_arg1:_-39L, _arg2:IBitmapWrapperWindow)
        {
            this._assets = _arg1;
            _-Nf = (_-1ck | _-5E1);
            image = (_arg1.getAssetByName("icon_friendlist_png") as BitmapDataAsset);
            canvas = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this._assets = null;
                super.dispose();
            };
        }
        override public function notify(_arg1:Boolean):void
        {
            super.notify(_arg1);
            this.enable(_arg1);
            _-0fq(((_arg1) || (_hover)), ((_hover) ? _-4cP : _-3XI));
            if (((!(_-3zz)) && (!(_hover))))
            {
                image = (this._assets.getAssetByName("icon_friendlist_png") as BitmapDataAsset);
            };
        }
        override public function hover(_arg1:Boolean):void
        {
            super.hover(_arg1);
            _-0fq(((_arg1) || (_-3zz)), ((_hover) ? _-4cP : _-3XI));
            if (((!(_-3zz)) && (!(_hover))))
            {
                image = (this._assets.getAssetByName("icon_friendlist_png") as BitmapDataAsset);
            };
        }
        override public function enable(_arg1:Boolean):void
        {
            canvas.blend = ((disabled) ? 0.5 : 1);
        }
        override protected function onTimerEvent(_arg1:TimerEvent):void
        {
            if (_hover)
            {
                _frame = (++_frame % 4);
                image = (this._assets.getAssetByName((("icon_friendlist_hover_" + _frame) + "_png")) as BitmapDataAsset);
            }
            else
            {
                if (_-3zz)
                {
                    _frame = (++_frame % 2);
                    image = (this._assets.getAssetByName((("icon_friendlist_notify_" + _frame) + "_png")) as BitmapDataAsset);
                };
            };
        }

    }
}//package _-1Y

//------------------------------------------------------------
//_-1Y._-2c4

package _-1Y
{
    import _-295._-39L;
    import _-295.BitmapDataAsset;
    import _-1ae.IBitmapWrapperWindow;

    public class _-2c4 extends Icon 
    {

        private static const _-3XI:int = 500;

        private var _assets:_-39L;

        public function _-2c4(_arg1:_-39L, _arg2:IBitmapWrapperWindow)
        {
            this._assets = _arg1;
            _-Nf = (_-1ck | _-5E1);
            image = (_arg1.getAssetByName("icon_stream_png") as BitmapDataAsset);
            canvas = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this._assets = null;
                super.dispose();
            };
        }
        override public function hover(_arg1:Boolean):void
        {
            if (_arg1)
            {
                image = (this._assets.getAssetByName(((_-3zz) ? "icon_stream_new_hover_png" : "icon_stream_hover_png")) as BitmapDataAsset);
            }
            else
            {
                image = (this._assets.getAssetByName(((_-3zz) ? "icon_stream_new_png" : "icon_stream_png")) as BitmapDataAsset);
            };
            super.hover(_arg1);
        }
        override public function notify(_arg1:Boolean):void
        {
            super.notify(_arg1);
            image = (this._assets.getAssetByName(((_arg1) ? "icon_stream_new_png" : "icon_stream_png")) as BitmapDataAsset);
        }

    }
}//package _-1Y

//------------------------------------------------------------
//_-1Y._-nd

package _-1Y
{
    import _-295._-39L;
    import _-295.BitmapDataAsset;
    import _-1ae.IBitmapWrapperWindow;
    import flash.events.TimerEvent;

    public class _-nd extends Icon 
    {

        private static const _-3XI:int = 500;

        private var _assets:_-39L;

        public function _-nd(_arg1:_-39L, _arg2:IBitmapWrapperWindow)
        {
            this._assets = _arg1;
            _-Nf = (_-1ck | _-5E1);
            image = (_arg1.getAssetByName("icon_messenger_png") as BitmapDataAsset);
            canvas = _arg2;
        }
        override public function notify(_arg1:Boolean):void
        {
            super.notify(_arg1);
            image = (this._assets.getAssetByName(((_arg1) ? "icon_messenger_notify_1_png" : "icon_messenger_png")) as BitmapDataAsset);
            _-0fq(_arg1, _-3XI);
        }
        override public function hover(_arg1:Boolean):void
        {
            super.hover(_arg1);
        }
        override public function enable(_arg1:Boolean):void
        {
            super.enable(_arg1);
            canvas.visible = _arg1;
        }
        override protected function onTimerEvent(_arg1:TimerEvent):void
        {
            if (_-3zz)
            {
                _frame = (((_frame == 1)) ? 0 : 1);
                image = (this._assets.getAssetByName((("icon_messenger_notify_" + _frame) + "_png")) as BitmapDataAsset);
            };
        }

    }
}//package _-1Y

//------------------------------------------------------------
//_-1Y.Icon

package _-1Y
{
    import _-295.BitmapDataAsset;
    import _-1ae.IBitmapWrapperWindow;
    import flash.utils.Timer;
    import flash.geom.Point;
    import flash.display.BitmapData;
    import flash.events.TimerEvent;
    import _-1B-.*;

    public class Icon implements _-1zZ 
    {

        protected static const _-1Oh:int = 0;
        protected static const _-1ck:int = 1;
        protected static const _-1eM:int = 2;
        protected static const _-2X-:int = 3;
        protected static const ALIGN_TOP:int = 4;
        protected static const _-5E1:int = 8;
        protected static const _-1L2:int = 18;
        protected static const _-1R3:int = 18;

        private var _disposed:Boolean = false;
        private var _-CN:Boolean = false;
        protected var _-4Gj:BitmapDataAsset;
        protected var _-06f:IBitmapWrapperWindow;
        private var _-C-:uint;
        protected var _-2J0:Timer;
        protected var _frame:int = 0;
        private var _-38m:Point;
        protected var _-3zz:Boolean = false;
        protected var _hover:Boolean = false;

        public function Icon()
        {
            this._-C- = (_-1ck | _-5E1);
            this._-38m = new Point();
            super();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get disabled():Boolean
        {
            return (this._-CN);
        }
        protected function set image(_arg1:BitmapDataAsset):void
        {
            this._-4Gj = _arg1;
            this._-XM();
        }
        protected function get image():BitmapDataAsset
        {
            return (this._-4Gj);
        }
        protected function set canvas(_arg1:IBitmapWrapperWindow):void
        {
            this._-06f = _arg1;
            this._-XM();
        }
        protected function get canvas():IBitmapWrapperWindow
        {
            return (this._-06f);
        }
        protected function set _-Nf(_arg1:uint):void
        {
            this._-C- = _arg1;
            this._-XM();
        }
        protected function get _-Nf():uint
        {
            return (this._-C-);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-0fq(false, 0);
                this.image = null;
                this.canvas = null;
                this._disposed = true;
            };
        }
        public function notify(_arg1:Boolean):void
        {
            this._-3zz = _arg1;
            if (((this._-3zz) && (this._-CN)))
            {
                this.enable(true);
            };
        }
        public function hover(_arg1:Boolean):void
        {
            this._hover = _arg1;
        }
        public function enable(_arg1:Boolean):void
        {
            this._-CN = !(_arg1);
        }
        protected function _-XM():void
        {
            var k:BitmapData;
            if (((this._-06f) && (!(this._-06f.disposed))))
            {
                if (!this._-06f.bitmap)
                {
                    this._-06f.bitmap = new BitmapData(this._-06f.width, this._-06f.height, true, 0);
                }
                else
                {
                    this._-06f.bitmap.fillRect(this._-06f.bitmap.rect, 0);
                };
                if (((this._-4Gj) && (!(this._-4Gj.disposed))))
                {
                    this._-38m.x = (this._-38m.y = 0);
                    k = (this._-4Gj.content as BitmapData);
                    switch ((this._-C- & _-2X-))
                    {
                        case _-1ck:
                            this._-38m.x = ((this._-06f.bitmap.width / 2) - (k.width / 2));
                            break;
                        case _-1eM:
                            this._-38m.x = (this._-06f.bitmap.width - k.width);
                            break;
                    };
                    switch ((this._-C- & _-1R3))
                    {
                        case _-5E1:
                            this._-38m.y = ((this._-06f.bitmap.height / 2) - (k.height / 2));
                            break;
                        case _-1L2:
                            this._-38m.y = (this._-06f.bitmap.height - k.height);
                            break;
                    };
                    this._-06f.bitmap.copyPixels(k, k.rect, this._-38m);
                    this._-06f.invalidate();
                };
            };
        }
        protected function _-0fq(_arg1:Boolean, _arg2:int):void
        {
            if (_arg1)
            {
                if (!this._-2J0)
                {
                    this._-2J0 = new Timer(_arg2, 0);
                    this._-2J0.addEventListener(TimerEvent.TIMER, this.onTimerEvent);
                    this._-2J0.start();
                    this.onTimerEvent(null);
                };
                this._-2J0.delay = _arg2;
            }
            else
            {
                this._frame = 0;
                if (this._-2J0)
                {
                    this._-2J0.reset();
                    this._-2J0.removeEventListener(TimerEvent.TIMER, this.onTimerEvent);
                    this._-2J0 = null;
                };
            };
        }
        protected function onTimerEvent(_arg1:TimerEvent):void
        {
        }

    }
}//package _-1Y

//------------------------------------------------------------
//_-1Yd._-1gj

package _-1Yd
{
    public interface _-1gj extends _-4Z 
    {

    }
}//package _-1Yd

//------------------------------------------------------------
//_-1Yd._-4Z

package _-1Yd
{
    import flash.utils.ByteArray;

    public interface _-4Z 
    {

        function _-2X4():uint;
        function _-0j7(_arg1:ByteArray):void;
        function _-q7(_arg1:ByteArray):void;
        function dispose():void;
        function toString():String;

    }
}//package _-1Yd

//------------------------------------------------------------
//_-1ye._-1dK

package _-1ye
{
    import _-FP._-1o;
    import _-1B-.*;

    public interface _-1dK extends _-4yI 
    {

        function _-2CG(_arg1:String, _arg2:_-26C):_-1o;

    }
}//package _-1ye

//------------------------------------------------------------
//_-1ye._-1Mb

package _-1ye
{
    import flash.events.IEventDispatcher;
    import flash.events.Event;
    import _-1Jd._-4JJ;

    public interface _-1Mb 
    {

        function get events():IEventDispatcher;
        function _-2bX(_arg1:Event):void;
        function get roomSession():_-4JJ;

    }
}//package _-1ye

//------------------------------------------------------------
//_-1ye._-26C

package _-1ye
{
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1B-.*;

    public interface _-26C extends _-1zZ 
    {

        function get type():String;
        function set container(_arg1:_-G0):void;
        function _-375():Array;
        function processWidgetMessage(_arg1:_-1yP):_-49d;
        function _-1bj():Array;
        function _-2bX(_arg1:Event):void;
        function update():void;

    }
}//package _-1ye

//------------------------------------------------------------
//_-1ye._-3DN

package _-1ye
{
    import _-1B-.ComponentContext;
    import _-4pF._-3Ts;
    import _-293._-5-S;
    import _-1Jd._-45k;
    import _-1Jd._-51K;
    import _-35b._-a8;
    import _-4Kb._-3nt;
    import _-3Zp._-1bw;
    import _-3vb._-3b;
    import _-4GV._-0Uq;
    import _-19Y._-29p;
    import _-4Kb._-1V5;
    import _-0mD._-2Jq;
    import _-jM._-Km;
    import _-3X8._-0hg;
    import _-0jj._-0QY;
    import _-2W2._-4L8;
    import _-1FI._-0Dv;
    import _-4Wu._-4uR;
    import _-mv._-54I;
    import _-0GO._-1Z9;
    import _-0eb._-q9;
    import _-0eb._-4-p;
    import _-2tv._-03-;
    import _-18r.Map;
    import _-2np._-1ZV;
    import _-2gz._-2UE;
    import _-0jG._-2sD;
    import _-FP._-3is;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboFriendList;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboInventory;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDHabboGroupsManager;
    import com.sulake.iid.IIDHabboAvatarEditor;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboAdManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboHelp;
    import com.sulake.iid.IIDHabboModeration;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboSoundManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboUserDefinedRoomEvents;
    import com.sulake.iid.IIDHabboTracking;
    import com.sulake.iid.IIDHabboGameManager;
    import com.sulake.iid.IIDHabboFriendBar;
    import com.sulake.iid.IIDHabboLandingView;
    import com.sulake.iid.IIDHabboQuestEngine;
    import com.sulake.iid.IIDHabboMessenger;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-Un._-0Ln;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1H6._-4DZ;
    import _-1H6._-z2;
    import _-yT._-7k;
    import _-yT._-Gi;
    import _-yT._-2o-;
    import _-yT._-1eF;
    import _-yT._-gk;
    import _-yT._-1Rr;
    import _-yT._-1P7;
    import _-yT._-6C;
    import _-yT._-0QM;
    import _-yT._-2f7;
    import _-yT.RoomSessionDimmerPresetsEvent;
    import _-yT._-X3;
    import _-yT._-3Yq;
    import _-yT._-25b;
    import _-3vb._-1Ix;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-3gx._-4BJ;
    import _-59g._-2ga;
    import _-59g._-2lz;
    import _-59g._-SX;
    import _-59g._-4r5;
    import _-59g._-4KP;
    import _-59g._-22K;
    import _-59g._-iV;
    import _-1Jd._-4JJ;
    import _-2HX._-4QU;
    import flash.events.Event;
    import _-1FD._-1yP;
    import _-295._-243;
    import _-og._-1nN;
    import _-1B-.*;

    public class _-3DN extends ComponentContext implements _-3rU, _-0gI 
    {

        private var _-U-:_-3Ts;
        private var _-0tK:_-5-S;
        private var _-16k:_-45k;
        private var _-2Qa:_-1dK;
        private var _-0pW:_-51K;
        private var _-Ie:_-a8;
        private var _-47n:_-3nt;
        private var _-YX:_-1bw;
        private var _-0a7:_-3b;
        private var _-2bJ:_-0Uq;
        private var _-1Yi:_-29p;
        private var _-31b:_-1V5 = null;
        private var _-3oJ:_-2Jq;
        private var _-2UY:_-Km;
        private var _-cU:_-0hg;
        private var _-Je:_-0QY;
        private var _-4Qe:_-4L8;
        private var _-2yz:_-0Dv;
        private var _-0Xx:_-4uR;
        private var _-42G:_-54I;
        private var _-4oB:_-1Z9;
        private var _-1q0:_-q9;
        private var _-07j:_-4-p;
        private var _-2EK:_-03-;
        private var _-5DK:Map;
        private var _-1co:int = -1;
        private var _-2z2:Boolean;
        private var _-2hZ:int;
        private var _-3Zr:int;
        private var _-51u:_-1ZV;
        private var _-1e8:_-2UE;
        private var _-1-J:_-2sD;

        public function _-3DN(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            var k:_-3is = new _-3is(this, 0, _arg3);
            this._-2Qa = k;
            _-5AO(k, []);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboFriendList(), this._-2Xx);
            queueInterface(new IIDAvatarRenderManager(), this._-PS);
            queueInterface(new IIDHabboInventory(), this._-3SD);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboNavigator(), this._-wL);
            queueInterface(new IIDHabboGroupsManager(), this._-3aL);
            queueInterface(new IIDHabboAvatarEditor(), this._-jf);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboAdManager(), this._-3fz);
            queueInterface(new IIDHabboLocalizationManager(), this._-1i2);
            queueInterface(new IIDHabboHelp(), this._-04o);
            queueInterface(new IIDHabboModeration(), this._-3ku);
            queueInterface(new IIDHabboConfigurationManager(), this._-nh);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
            queueInterface(new IIDHabboUserDefinedRoomEvents(), this._-1w2);
            queueInterface(new IIDHabboTracking(), this._-0dV);
            queueInterface(new IIDHabboGameManager(), this._-3et);
            queueInterface(new IIDHabboFriendBar(), this._-2MA);
            queueInterface(new IIDHabboLandingView(), this._-yM);
            queueInterface(new IIDHabboQuestEngine(), this._-of);
            queueInterface(new IIDHabboMessenger(), this._-3ui);
            this._-5DK = new Map();
            registerUpdateReceiver(this, 0);
        }
        override public function dispose():void
        {
            var k:String;
            var k:RoomDesktop;
            if (this._-U- != null)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-0tK != null)
            {
                this._-0tK.release(new IIDRoomEngine());
                this._-0tK = null;
            };
            if (this._-16k != null)
            {
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            if (this._-2Qa != null)
            {
                this._-2Qa.dispose();
                this._-2Qa = null;
            };
            if (this._-YX != null)
            {
                this._-YX.release(new IIDHabboInventory());
                this._-YX = null;
            };
            if (this._-0a7 != null)
            {
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
            if (this._-0Xx != null)
            {
                this._-0Xx.release(new IIDHabboConfigurationManager());
                this._-0Xx = null;
            };
            if (this._-42G != null)
            {
                this._-42G.release(new IIDHabboSoundManager());
                this._-42G = null;
            };
            if (this._-2UY != null)
            {
                this._-2UY.release(new IIDHabboAdManager());
                this._-2UY = null;
            };
            if (this._-47n != null)
            {
                this._-47n.release(new IIDAvatarRenderManager());
                this._-47n = null;
            };
            if (this._-3oJ != null)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-Ie != null)
            {
                this._-Ie.release(new IIDHabboFriendList());
                this._-Ie = null;
            };
            if (this._-Je != null)
            {
                this._-Je.release(new IIDHabboHelp());
                this._-Je = null;
            };
            if (this._-cU != null)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-2yz != null)
            {
                this._-2yz.release(new IIDHabboModeration());
                this._-2yz = null;
            };
            if (this._-2bJ != null)
            {
                this._-2bJ.release(new IIDHabboNavigator());
                this._-2bJ = null;
            };
            if (this._-1Yi != null)
            {
                this._-1Yi.release(new IIDHabboGroupsManager());
                this._-1Yi = null;
            };
            if (this._-0pW != null)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-1e8 != null)
            {
                this._-1e8.release(new IIDHabboTracking());
                this._-1e8 = null;
            };
            if (this._-1-J)
            {
                this._-1-J.release(new IIDHabboUserDefinedRoomEvents());
                this._-1-J = null;
            };
            if (this._-4oB)
            {
                if (this._-4oB.events)
                {
                    this._-4oB.events.removeEventListener(_-0Ln._-1i, this._-0IG);
                };
                this._-4oB.release(new IIDHabboGameManager());
                this._-4oB = null;
            };
            if (this._-1q0)
            {
                this._-1q0.release(new IIDHabboFriendBar());
                this._-1q0 = null;
            };
            if (this._-07j)
            {
                this._-07j.release(new IIDHabboLandingView());
                this._-07j = null;
            };
            if (this._-2EK)
            {
                this._-2EK.release(new IIDHabboQuestEngine());
                this._-2EK = null;
            };
            if (this._-4Qe)
            {
                this._-4Qe.release(new IIDHabboMessenger());
                this._-4Qe = null;
            };
            this._-31b = null;
            this._-51u = null;
            if (this._-5DK)
            {
                while (this._-5DK.length > 0)
                {
                    k = (this._-5DK.getKey(0) as String);
                    k = (this._-5DK.remove(k) as RoomDesktop);
                    if (k != null)
                    {
                        k.dispose();
                    };
                };
                this._-5DK.dispose();
                this._-5DK = null;
            };
            removeUpdateReceiver(this);
            super.dispose();
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-U- = (_arg2 as _-3Ts);
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-16k = (_arg2 as _-45k);
            this._-3cx();
            if (((((!((this._-16k == null))) && (!((this._-0tK == null))))) && (this._-0tK._-25k)))
            {
                this._-16k._-4-m = true;
            };
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0pW = (_arg2 as _-51K);
        }
        private function _-2Xx(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Ie = (_arg2 as _-a8);
        }
        private function _-PS(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-47n = (_arg2 as _-3nt);
        }
        private function _-3SD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-YX = (_arg2 as _-1bw);
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0a7 = (_arg2 as _-3b);
        }
        private function _-wL(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2bJ = (_arg2 as _-0Uq);
        }
        private function _-3aL(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-1Yi = (_arg2 as _-29p);
        }
        private function _-jf(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-31b = (_arg2 as _-1V5);
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-3oJ = (_arg2 as _-2Jq);
        }
        private function _-3fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2UY = (_arg2 as _-Km);
            if (((!((this._-2UY == null))) && (!((this._-2UY.events == null)))))
            {
                this._-2UY.events.addEventListener(_-4DZ._-UG, this._-1M8);
                this._-2UY.events.addEventListener(_-4DZ._-1Ss, this._-2H7);
                this._-2UY.events.addEventListener(_-z2._-0X7, this._-2H7);
            };
        }
        private function _-1i2(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-cU = (_arg2 as _-0hg);
        }
        private function _-04o(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Je = (_arg2 as _-0QY);
        }
        private function _-3ku(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2yz = (_arg2 as _-0Dv);
        }
        private function _-nh(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0Xx = (_arg2 as _-4uR);
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-42G = (_arg2 as _-54I);
        }
        private function _-3cx():void
        {
            if (this._-16k)
            {
                this._-16k.events.addEventListener(_-7k._-3h9, this._-27K);
                this._-16k.events.addEventListener(_-7k._-1YC, this._-27K);
                this._-16k.events.addEventListener(_-7k._-44W, this._-27K);
                this._-16k.events.addEventListener(_-Gi._-3Li, this._-2Ms);
                this._-16k.events.addEventListener(_-Gi._-0oo, this._-2Ms);
                this._-16k.events.addEventListener(_-2o-._-1zi, this._-2Ms);
                this._-16k.events.addEventListener(_-1eF._-0Dp, this._-2Ms);
                this._-16k.events.addEventListener(_-1eF._-0Iv, this._-2Ms);
                this._-16k.events.addEventListener(_-1eF._-4C6, this._-2Ms);
                this._-16k.events.addEventListener(_-gk._-1JI, this._-2Ms);
                this._-16k.events.addEventListener(_-1Rr._-0AQ, this._-2Ms);
                this._-16k.events.addEventListener(_-1Rr._-0zD, this._-2Ms);
                this._-16k.events.addEventListener(_-1P7._-0Jz, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-4c9, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-04H, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-V7, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-1iG, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-2Ae, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-1RA, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-2iG, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-FU, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-4St, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-ha, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-3v8, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-4Eg, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-0mm, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-2da, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-4UN, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-59P, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-3zE, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-3lI, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-3KK, this._-0Ex);
                this._-16k.events.addEventListener(_-1P7._-1YU, this._-0Ex);
                this._-16k.events.addEventListener(_-6C._-4ud, this._-2Ms);
                this._-16k.events.addEventListener(_-0QM._-3Wu, this._-2Ms);
                this._-16k.events.addEventListener(_-0QM._-4MV, this._-2Ms);
                this._-16k.events.addEventListener(_-2f7._-4Z-, this._-2Ms);
                this._-16k.events.addEventListener(_-2f7._-080, this._-2Ms);
                this._-16k.events.addEventListener(_-2f7._-5-I, this._-2Ms);
                this._-16k.events.addEventListener(RoomSessionDimmerPresetsEvent._-3Qp, this._-2Ms);
                this._-16k.events.addEventListener(_-X3._-Uy, this._-2Ms);
                this._-16k.events.addEventListener(_-3Yq._-2dF, this._-2Ms);
                this._-16k.events.addEventListener(_-25b._-rQ, this._-2Ms);
            };
        }
        private function _-27K(_arg1:_-7k):void
        {
            if (this._-0tK == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-7k._-3h9:
                    this._-34S(_arg1.session);
                    if (_arg1.session.isGameSession)
                    {
                        if (this._-0a7)
                        {
                            this._-0a7._-4pw(_-1Ix._-1us);
                        };
                        if (this._-1q0)
                        {
                            this._-1q0.visible = false;
                        };
                        if (this._-07j)
                        {
                            this._-07j.disable();
                        };
                        if (this._-4oB)
                        {
                            this._-4oB._-1sK();
                        };
                    };
                    return;
                case _-7k._-1YC:
                    if (this._-0a7)
                    {
                        this._-0a7._-4pw(_-1Ix._-0E8);
                    };
                    if (this._-07j)
                    {
                        this._-07j.disable();
                    };
                    if (this._-4oB)
                    {
                        this._-4oB._-1sK();
                    };
                    return;
                case _-7k._-44W:
                    if (_arg1.session != null)
                    {
                        this._-1d7(this._-1FJ(_arg1.session.roomId, _arg1.session.roomCategory));
                        if (_arg1.session.isGameSession)
                        {
                            this._-1q0.visible = true;
                            if (this._-4oB)
                            {
                                this._-4oB._-2SE();
                            };
                        }
                        else
                        {
                            if (((this._-07j) && (_arg1._-54p)))
                            {
                                this._-07j.activate();
                            };
                        };
                    };
                    return;
            };
        }
        private function _-2Ms(_arg1:_-7k):void
        {
            var k:String;
            var k:_-1Mb;
            if (this._-0tK == null)
            {
                return;
            };
            if (_arg1.session != null)
            {
                k = this._-1FJ(_arg1.session.roomId, _arg1.session.roomCategory);
                k = this.getDesktop(k);
                if (k != null)
                {
                    k._-2bX(_arg1);
                };
            };
        }
        private function _-0Ex(_arg1:_-7k):void
        {
            var errorMessage:String;
            var event:_-7k = _arg1;
            var errorTitle:String = "${error.title}";
            switch (event.type)
            {
                case _-1P7._-0Jz:
                    errorMessage = "${room.error.cant_trade_stuff}";
                    break;
                case _-1P7._-4c9:
                    errorMessage = "${room.error.cant_set_item}";
                    break;
                case _-1P7._-04H:
                    errorMessage = "${room.error.cant_set_not_owner}";
                    break;
                case _-1P7._-2Ae:
                    errorMessage = "${room.error.max_furniture}";
                    break;
                case _-1P7._-4Eg:
                    errorMessage = "${room.error.max_pets}";
                    break;
                case _-1P7._-0mm:
                    errorMessage = "${room.error.max_own_pets}";
                    break;
                case _-1P7._-1RA:
                    errorMessage = "${room.error.max_queuetiles}";
                    break;
                case _-1P7._-2iG:
                    errorMessage = "${room.error.max_soundfurni}";
                    break;
                case _-1P7._-FU:
                    errorMessage = "${room.error.max_stickies}";
                    break;
                case _-1P7._-4St:
                    errorMessage = "${room.error.kicked}";
                    errorTitle = "${generic.alert.title}";
                    break;
                case _-1P7._-ha:
                    errorMessage = "${room.error.pets.forbidden_in_hotel}";
                    break;
                case _-1P7._-3v8:
                    errorMessage = "${room.error.pets.forbidden_in_flat}";
                    break;
                case _-1P7._-2da:
                    errorMessage = "${room.error.pets.no_free_tiles}";
                    break;
                case _-1P7._-4UN:
                    errorMessage = "${room.error.pets.selected_tile_not_free}";
                    break;
                case _-1P7._-59P:
                    errorMessage = "${room.error.bots.forbidden_in_hotel}";
                    break;
                case _-1P7._-3zE:
                    errorMessage = "${room.error.bots.forbidden_in_flat}";
                    break;
                case _-1P7._-3lI:
                    errorMessage = "${room.error.max_bots}";
                    break;
                case _-1P7._-3KK:
                    errorMessage = "${room.error.bots.selected_tile_not_free}";
                    break;
                case _-1P7._-1YU:
                    errorMessage = "${room.error.bots.name.not.accepted}";
                    break;
                default:
                    return;
            };
            this._-U-.alert(errorTitle, errorMessage, 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }
        private function _-1M8(_arg1:_-4DZ):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:String = this._-1FJ(this._-2hZ, this._-3Zr);
            var k:RoomDesktop = (this.getDesktop(k) as RoomDesktop);
            if (k == null)
            {
                return;
            };
            k._-2bX(_arg1);
            this._-2z2 = false;
        }
        private function _-2H7(_arg1:_-z2):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:String = this._-1FJ(_arg1.roomId, _arg1.roomCategory);
            var k:RoomDesktop = (this.getDesktop(k) as RoomDesktop);
            if (k == null)
            {
                return;
            };
            k._-2bX(_arg1);
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0tK = (_arg2 as _-5-S);
            this._-3NR();
            if (((((!((this._-16k == null))) && (!((this._-0tK == null))))) && (this._-0tK._-25k)))
            {
                this._-16k._-4-m = true;
            };
        }
        private function _-w(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            var k:_-4BJ = (_arg2 as _-4BJ);
            if (k != null)
            {
                this._-51u = k._-4gR(this._-1QP);
                if (this._-51u != null)
                {
                    this._-1QP(this._-51u);
                };
            };
        }
        private function _-1w2(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-1-J = (_arg2 as _-2sD);
        }
        private function _-0dV(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-1e8 = (_arg2 as _-2UE);
        }
        private function _-3et(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-4oB = (_arg2 as _-1Z9);
            this._-4oB.events.addEventListener(_-0Ln._-1i, this._-0IG);
        }
        private function _-2MA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-1q0 = (_arg2 as _-q9);
        }
        private function _-yM(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-07j = (_arg2 as _-4-p);
        }
        private function _-of(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2EK = (_arg2 as _-03-);
        }
        private function _-3ui(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-4Qe = (_arg2 as _-4L8);
        }
        private function _-1QP(_arg1:_-1ZV):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-51u = _arg1;
            };
        }
        private function _-3NR():void
        {
            if (((!((this._-0tK == null))) && (!((this._-0tK.events == null)))))
            {
                this._-0tK.events.addEventListener(_-2ga._-Dl, this._-03r);
                this._-0tK.events.addEventListener(_-2ga._-4sh, this._-29y);
                this._-0tK.events.addEventListener(_-2ga._-1dz, this._-29y);
                this._-0tK.events.addEventListener(_-2ga._-1JB, this._-03r);
                this._-0tK.events.addEventListener(_-2ga._-2fE, this._-03r);
                this._-0tK.events.addEventListener(_-2lz._-2di, this._-29y);
                this._-0tK.events.addEventListener(_-SX._-09A, this._-29y);
                this._-0tK.events.addEventListener(_-4r5._-51W, this._-29y);
                this._-0tK.events.addEventListener(_-4KP._-9h, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-0X8, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-1MI, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-1NF, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-2pN, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-Sw, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-3iY, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-Ug, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-33j, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-4c-, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-1b, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-33A, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-Vw, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-0EU, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-1tS, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-2WP, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-4sD, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-5BB, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-3y3, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-1t1, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-46r, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-37L, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-2y0, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-2R1, this._-TD);
                this._-0tK.events.addEventListener(_-4KP._-1Bx, this._-TD);
                this._-0tK.events.addEventListener(_-22K._-WQ, this._-TD);
                this._-0tK.events.addEventListener(_-22K._-3l-, this._-TD);
                this._-0tK.events.addEventListener(_-iV._-4uE, this._-TD);
            };
        }
        private function _-03r(_arg1:_-2ga):void
        {
            var k:String;
            var k:RoomDesktop;
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1.type == _-2ga._-Dl)
            {
                if (this._-16k != null)
                {
                    this._-16k._-4-m = true;
                };
            }
            else
            {
                if ((((_arg1.type == _-2ga._-2fE)) || ((_arg1.type == _-2ga._-1JB))))
                {
                    k = this._-1FJ(_arg1.roomId, _arg1.roomCategory);
                    k = (this.getDesktop(k) as RoomDesktop);
                    if (k == null)
                    {
                        return;
                    };
                    k._-03r(_arg1);
                };
            };
        }
        private function _-29y(_arg1:_-2ga):void
        {
            var k:_-4JJ;
            var _local5:Boolean;
            var _local6:_-SX;
            var _local7:_-4r5;
            if (_arg1 == null)
            {
                return;
            };
            if (this._-0tK == null)
            {
                return;
            };
            var k:String = this._-1FJ(_arg1.roomId, _arg1.roomCategory);
            var k:RoomDesktop = (this.getDesktop(k) as RoomDesktop);
            if (k == null)
            {
                if (this._-16k == null)
                {
                    return;
                };
                k = this._-16k.getSession(_arg1.roomId, _arg1.roomCategory);
                if (k != null)
                {
                    k = (this._-34S(k) as RoomDesktop);
                };
            };
            if (k == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-2ga._-4sh:
                    _local5 = false;
                    k._-0zK(this._-4c8(_arg1.roomId, _arg1.roomCategory));
                    if (this._-0tK != null)
                    {
                        this._-0tK._-1hy(_arg1.roomId, _arg1.roomCategory);
                        if (this._-0tK._-1uo(this._-0tK._-IK(_arg1.roomId, _arg1.roomCategory)))
                        {
                            _local5 = true;
                        };
                    };
                    k._-3IU(_-4QU._-4tN);
                    k._-2CG(_-4QU._-3IP);
                    k._-2CG(_-4QU._-0vV);
                    k._-2CG(_-4QU._-3u6);
                    if (!k.session._-25V)
                    {
                        k._-2CG(_-4QU._-0kJ);
                        k._-2CG(_-4QU._-1ve);
                        k._-2CG(_-4QU._-Uy);
                        if (this._-0Xx.getKey("avatar.widget.enabled", "0") == "1")
                        {
                            k._-2CG(_-4QU._-1Ky);
                        };
                    };
                    k._-2CG(_-4QU._-1Wt);
                    k._-2CG(_-4QU._-0FK);
                    k._-2CG(_-4QU._-1ca);
                    k._-2CG(_-4QU._-08H);
                    k._-2CG(_-4QU._-0PY);
                    k._-2CG(_-4QU._-3aQ);
                    k._-2CG(_-4QU._-18I);
                    k._-2CG(_-4QU._-0Dp);
                    k._-2CG(_-4QU._-0hU);
                    k._-2CG(_-4QU._-2yV);
                    k._-2CG(_-4QU._-j);
                    k._-2CG(_-4QU._-2ef);
                    k._-2CG(_-4QU._-06P);
                    k._-2CG(_-4QU._-0iH);
                    if (!this._-0Xx.getBoolean("memenu.effects.widget.disabled", false))
                    {
                        k._-2CG(_-4QU._-4ma);
                    };
                    k._-2CG(_-4QU._-3Rz);
                    k._-2CG(_-4QU._-51W);
                    k._-2CG(_-4QU._-4Om);
                    if (!_local5)
                    {
                        k._-2CG(_-4QU._-0SZ);
                    };
                    k._-2CG(_-4QU._-hj);
                    if (this._-1co != RoomDesktop._-jj)
                    {
                        k._-2jq(_-4QU._-hj, this._-1co);
                    };
                    if (this._-2UY != null)
                    {
                        this._-2UY._-2iP(_arg1.roomId, _arg1.roomCategory);
                    };
                    k._-2CG(_-4QU._-3xZ);
                    k._-2CG(_-4QU._-AT);
                    if (this._-0Xx.getBoolean("furniture.context.menu.widget.enabled", false))
                    {
                        k._-2CG(_-4QU._-3wf);
                    };
                    k._-2CG(_-4QU._-3HJ);
                    return;
                case _-2ga._-1dz:
                    this._-1d7(k);
                    return;
                case _-SX._-09A:
                    _local6 = (_arg1 as _-SX);
                    if (_local6 == null) break;
                    if (_local6._-2J-)
                    {
                        k._-k3(0xFFFFFF, 0xFF);
                    }
                    else
                    {
                        k._-k3(_local6.color, _local6._-42j);
                    };
                    return;
                case _-2lz._-2di:
                    k._-2bX(_arg1);
                    return;
                case _-4r5._-51W:
                    _local7 = _-4r5(_arg1);
                    if (!_local7.enable)
                    {
                        k._-4G1(0, 0, 0);
                    }
                    else
                    {
                        k._-4G1(_local7.hue, _local7.saturation, _local7.lightness);
                    };
                    return;
            };
        }
        private function _-TD(_arg1:_-4KP):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this._-0tK == null)
            {
                return;
            };
            var k:String = this._-1FJ(_arg1.roomId, _arg1.roomCategory);
            var k:RoomDesktop = (this.getDesktop(k) as RoomDesktop);
            if (k == null)
            {
                return;
            };
            k._-TD(_arg1);
        }
        private function _-0IG(_arg1:Event):void
        {
            var k:RoomDesktop = (this.getDesktop(this._-1FJ(0, 0)) as RoomDesktop);
            if (k)
            {
                k._-2bX(_arg1);
            };
        }
        public function processWidgetMessage(_arg1:int, _arg2:int, _arg3:_-1yP):void
        {
            if (_arg3 == null)
            {
                return;
            };
            if (this._-0tK == null)
            {
                return;
            };
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:RoomDesktop = (this.getDesktop(k) as RoomDesktop);
            if (k == null)
            {
                return;
            };
            k.processWidgetMessage(_arg3);
        }
        public function _-34S(_arg1:_-4JJ):_-1Mb
        {
            if (_arg1 == null)
            {
                return (null);
            };
            if (this._-0tK == null)
            {
                return (null);
            };
            var k:String = this._-1FJ(_arg1.roomId, _arg1.roomCategory);
            var k:RoomDesktop = (this.getDesktop(k) as RoomDesktop);
            if (k != null)
            {
                return (k);
            };
            k = new RoomDesktop(_arg1, assets, this._-51u);
            k.roomEngine = this._-0tK;
            k.windowManager = this._-U-;
            k._-1hh = this._-2Qa;
            k.sessionDataManager = this._-0pW;
            k._-1ED = this._-16k;
            k._-4zV = this._-Ie;
            k.avatarRenderManager = this._-47n;
            k.inventory = this._-YX;
            k.messenger = this._-4Qe;
            k.toolbar = this._-0a7;
            k.navigator = this._-2bJ;
            k._-0Rz = this._-1Yi;
            k.avatarEditor = this._-31b;
            k.catalog = this._-3oJ;
            k._-0oF = this._-2UY;
            k.localization = this._-cU;
            k.habboHelp = this._-Je;
            k.moderation = this._-2yz;
            k.config = this._-0Xx;
            k._-0Y = this._-42G;
            k.habboTracking = this._-1e8;
            k._-aZ = this._-1-J;
            k._-eP = this._-4oB;
            k.questEngine = this._-2EK;
            var k:_-243 = (assets.getAssetByName("room_desktop_layout_xml") as _-243);
            if (k != null)
            {
                k.layout = (k.content as XML);
            };
            k._-2CG(_-4QU._-d6);
            k._-2CG(_-4QU._-4tN);
            k.init();
            if (k._-47a())
            {
                this._-2z2 = true;
                this._-2hZ = _arg1.roomId;
                this._-3Zr = _arg1.roomCategory;
            }
            else
            {
                this._-2z2 = false;
            };
            this._-5DK.add(k, k);
            return (k);
        }
        public function _-1d7(_arg1:String):void
        {
            var k:int;
            var k:RoomDesktop = (this._-5DK.remove(_arg1) as RoomDesktop);
            if (k != null)
            {
                k = k._-2S1(_-4QU._-hj);
                if (k != RoomDesktop._-jj)
                {
                    this._-1co = k;
                };
                k.dispose();
                this._-2z2 = false;
            };
        }
        public function getDesktop(_arg1:String):_-1Mb
        {
            return ((this._-5DK.getValue(_arg1) as RoomDesktop));
        }
        public function _-4c8(_arg1:int, _arg2:int):int
        {
            return (1);
        }
        public function update(_arg1:uint):void
        {
            var k:RoomDesktop;
            var k:int;
            while (k < this._-5DK.length)
            {
                k = (this._-5DK.getWithIndex(k) as RoomDesktop);
                if (k != null)
                {
                    k.update();
                };
                k++;
            };
        }
        private function _-1FJ(_arg1:int, _arg2:int):String
        {
            return ("hard_coded_room_id");
        }
        public function set visible(_arg1:Boolean):void
        {
            var k:RoomDesktop = this._-5DK.getValue(this._-1FJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory));
            if (k)
            {
                k.visible = _arg1;
            };
        }
        public function _-3IT(_arg1:String):void
        {
            var k:RoomDesktop = this._-5DK.getValue(this._-1FJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory));
            if (k)
            {
                k._-2bX(new _-1nN(_arg1));
            };
        }
        public function _-3ft(_arg1:int, _arg2:String, _arg3:uint, _arg4:int):void
        {
            var k:RoomDesktop = this._-5DK.getValue(this._-1FJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory));
            if (k)
            {
                k._-3ft(_arg1, _arg2, _arg3, _arg4);
            };
        }

    }
}//package _-1ye

//------------------------------------------------------------
//_-1ye._-3rU

package _-1ye
{
    import _-1Jd._-4JJ;
    import _-1B-.*;

    public interface _-3rU extends _-4yI 
    {

        function _-34S(_arg1:_-4JJ):_-1Mb;
        function _-1d7(_arg1:String):void;
        function getDesktop(_arg1:String):_-1Mb;
        function set visible(_arg1:Boolean):void;
        function _-3IT(_arg1:String):void;
        function _-3ft(_arg1:int, _arg2:String, _arg3:uint, _arg4:int):void;

    }
}//package _-1ye

//------------------------------------------------------------
//_-1ye._-G0

package _-1ye
{
    import _-2gz._-2UE;
    import _-1Jd._-4JJ;
    import _-1Jd._-51K;
    import flash.events.IEventDispatcher;
    import _-293._-5-S;
    import _-35b._-a8;
    import _-4Kb._-3nt;
    import _-3Zp._-1bw;
    import _-3vb._-3b;
    import _-4GV._-0Uq;
    import _-19Y._-29p;
    import _-1Jd._-45k;
    import _-4Kb._-1V5;
    import _-0mD._-2Jq;
    import _-3X8._-0hg;
    import _-0jj._-0QY;
    import _-4Wu._-4uR;
    import _-mv._-54I;
    import _-2W2._-4L8;
    import _-1FI._-0Dv;
    import _-4pF._-3Ts;
    import _-0jG._-2sD;
    import _-2np._-1ZV;
    import _-0GO._-1Z9;
    import _-2tv._-03-;
    import flash.geom.Rectangle;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-3V-._-3SU;
    import _-1Jd._-4LX;

    public interface _-G0 
    {

        function get habboTracking():_-2UE;
        function get roomSession():_-4JJ;
        function get sessionDataManager():_-51K;
        function get events():IEventDispatcher;
        function get roomEngine():_-5-S;
        function get _-4zV():_-a8;
        function get avatarRenderManager():_-3nt;
        function get inventory():_-1bw;
        function get toolbar():_-3b;
        function get navigator():_-0Uq;
        function get _-0Rz():_-29p;
        function get _-1hh():_-1dK;
        function get _-1ED():_-45k;
        function get avatarEditor():_-1V5;
        function get catalog():_-2Jq;
        function get localization():_-0hg;
        function get habboHelp():_-0QY;
        function get config():_-4uR;
        function get _-0Y():_-54I;
        function get messenger():_-4L8;
        function get moderation():_-0Dv;
        function get windowManager():_-3Ts;
        function get _-aZ():_-2sD;
        function get connection():_-1ZV;
        function get _-eP():_-1Z9;
        function get questEngine():_-03-;
        function _-k3(_arg1:uint, _arg2:int):void;
        function _-1mN():int;
        function _-iG():Rectangle;
        function _-07c():void;
        function processWidgetMessage(_arg1:_-1yP):_-49d;
        function _-4NO(_arg1:_-26C):void;
        function _-0cS(_arg1:_-26C):void;
        function _-0Mx(_arg1:_-3SU):Boolean;
        function _-03Y(_arg1:_-3SU):int;
        function _-2cq(_arg1:_-4LX):Boolean;
        function _-4G1(_arg1:int, _arg2:int, _arg3:int):void;

    }
}//package _-1ye

//------------------------------------------------------------
//_-1ye.DesktopLayoutManager

package _-1ye
{
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-09j.WindowParam;
    import _-0Ie.WindowEvent;
    import _-4pF._-3Ts;
    import _-4Wu._-4uR;
    import _-2HX._-4QU;
    import flash.geom.Rectangle;

    public class DesktopLayoutManager 
    {

        private static const _-3VS:String = "room_view";
        private static const _-3gp:String = "room_widget";
        private static const _-026:int = 47;

        private var _-2oc:IWindowContainer;

        public function dispose():void
        {
            if (this._-2oc != null)
            {
                this._-2oc.dispose();
            };
        }
        public function _-4UB(_arg1:XML, _arg2:_-3Ts, _arg3:_-4uR):void
        {
            var k:IWindow;
            var k:int;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                throw (new Error("Unable to set room desktop layout."));
            };
            this._-2oc = (_arg2.buildFromXML(_arg1, 0) as IWindowContainer);
            if (this._-2oc == null)
            {
                throw (new Error("Failed to build layout from XML."));
            };
            this._-2oc.width = this._-2oc.desktop.width;
            this._-2oc.height = this._-2oc.desktop.height;
            var k:IWindowContainer = (this._-2oc.desktop as IWindowContainer);
            k.addChild(this._-2oc);
            this._-2oc.findChildByTag("room_widget_infostand").y = (this._-2oc.findChildByTag("room_widget_infostand").y - _-026);
            var k:int;
            while (k < this._-2oc.numChildren)
            {
                k = this._-2oc.getChildAt(k);
                k = ((WindowParam._-27N) || (WindowParam._-1EO));
                if (k._-1s-(k))
                {
                    k.addEventListener(WindowEvent._-jw, this._-0VG);
                };
                k++;
            };
        }
        private function _-0VG(_arg1:WindowEvent):void
        {
            var k:IWindowContainer = (_arg1.window as IWindowContainer);
            if (k == null)
            {
                return;
            };
            if (k.numChildren != 1)
            {
                return;
            };
            var k:IWindow = k.getChildAt(0);
            if (k == null)
            {
                return;
            };
            k.width = k.width;
            k.height = k.height;
        }
        private function _-2Ip(_arg1:String, _arg2:IWindow):IWindowContainer
        {
            var k:String;
            var k:IWindowContainer;
            if (_arg2 == null)
            {
                return (null);
            };
            if (_arg1 == _-4QU._-1ve)
            {
                k = (this._-2oc.getChildByName("background_widgets") as IWindowContainer);
                return (k);
            };
            var k:Array = _arg2.tags;
            var k:int;
            while (k < k.length)
            {
                if (String(k[k]).indexOf(_-3gp) == 0)
                {
                    k = (k[k] as String);
                    break;
                };
                k++;
            };
            if (k == null)
            {
                return (null);
            };
            var k:IWindowContainer = (this._-2oc._-32X(k) as IWindowContainer);
            return (k);
        }
        public function _-34(_arg1:String, _arg2:IWindow):Boolean
        {
            if (_arg2 == null)
            {
                return (false);
            };
            var k:IWindowContainer = this._-2Ip(_arg1, _arg2);
            if (k == null)
            {
                return (false);
            };
            if (_arg1 == _-4QU._-1ve)
            {
                k.addChild(_arg2);
                return (true);
            };
            _arg2.x = 0;
            _arg2.y = 0;
            k.addChild(_arg2);
            k.width = _arg2.width;
            k.height = _arg2.height;
            return (true);
        }
        public function _-1MZ(_arg1:String, _arg2:IWindow):void
        {
            var k:IWindowContainer = this._-2Ip(_arg1, _arg2);
            if (k != null)
            {
                k.removeChild(_arg2);
            };
        }
        public function _-3Fq(_arg1:IWindow):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:IWindowContainer = (this._-2oc._-32X(_-3VS) as IWindowContainer);
            if (k == null)
            {
                return (false);
            };
            k.addChild(_arg1);
            return (true);
        }
        public function get _-0OJ():Rectangle
        {
            if (this._-2oc == null)
            {
                return (null);
            };
            var k:IWindowContainer = (this._-2oc.findChildByTag(_-3VS) as IWindowContainer);
            if (!k)
            {
                return (null);
            };
            var k:Rectangle = k.rectangle;
            if (!k)
            {
                return (null);
            };
            k.offset(this._-2oc.x, this._-2oc.y);
            return (k);
        }
        public function _-1h1():IWindow
        {
            if (this._-2oc == null)
            {
                return (null);
            };
            var k:IWindowContainer = (this._-2oc.findChildByTag(_-3VS) as IWindowContainer);
            if (((!((k == null))) && ((k.numChildren > 0))))
            {
                return (k.getChildAt(0));
            };
            return (null);
        }

    }
}//package _-1ye

//------------------------------------------------------------
//_-1ye.RoomDesktop

package _-1ye
{
    import _-0yf.EventDispatcherWrapper;
    import _-4pF._-3Ts;
    import _-293._-5-S;
    import _-1Jd._-51K;
    import _-1Jd._-45k;
    import _-4Kb._-3nt;
    import _-35b._-a8;
    import _-3Zp._-1bw;
    import _-3vb._-3b;
    import _-4GV._-0Uq;
    import _-2W2._-4L8;
    import _-19Y._-29p;
    import _-4Kb._-1V5;
    import _-0mD._-2Jq;
    import _-jM._-Km;
    import _-3X8._-0hg;
    import _-0jj._-0QY;
    import _-2np._-1ZV;
    import _-1FI._-0Dv;
    import _-4Wu._-4uR;
    import _-mv._-54I;
    import _-2gz._-2UE;
    import _-0jG._-2sD;
    import _-0GO._-1Z9;
    import _-2tv._-03-;
    import _-295._-39L;
    import _-1Jd._-4JJ;
    import _-18r.Map;
    import _-1ae.IDisplayObjectWrapper;
    import _-1ae._-25T;
    import flash.utils.Timer;
    import flash.geom.Rectangle;
    import flash.events.IEventDispatcher;
    import _-23M._-2Pi;
    import _-071._-1PC;
    import _-3MI._-0Sy;
    import _-0y0._-3q6;
    import _-FP._-1o;
    import flash.events.TimerEvent;
    import _-og._-0fH;
    import _-yT._-7k;
    import _-4f7.ChatWidgetHandler;
    import _-4f7._-3VV;
    import _-4f7._-2st;
    import _-4f7._-4lz;
    import _-og._-50A;
    import _-2HX._-4QU;
    import _-4f7.InfoStandWidgetHandler;
    import _-4f7._-3eF;
    import _-4f7.MeMenuWidgetHandler;
    import _-4f7._-4Z9;
    import _-4f7._-2CH;
    import _-4f7._-5-E;
    import _-4f7._-22h;
    import _-4f7._-1Or;
    import _-4f7._-3cy;
    import _-4f7._-0Ja;
    import _-4f7._-1-I;
    import _-4f7.RoomQueueWidgetHandler;
    import _-4f7._-1zx;
    import _-4f7._-1bh;
    import _-4f7._-Cw;
    import _-4f7._-4dd;
    import _-4f7._-0F1;
    import _-4f7._-4bj;
    import _-4f7._-1B2;
    import _-4f7._-4Lf;
    import _-4f7._-Kb;
    import _-4f7.AvatarInfoWidgetHandler;
    import _-4f7._-2Ue;
    import _-4f7._-3Pt;
    import _-4f7._-52h;
    import _-4f7._-3EQ;
    import _-4f7._-1Hr;
    import _-4f7._-2f3;
    import _-4f7._-2yl;
    import _-og._-49d;
    import _-1FD._-1yP;
    import flash.events.Event;
    import _-3V-._-30N;
    import _-3V-._-3SU;
    import _-3mW._-4Wq;
    import _-59g._-4KP;
    import _-1Jd._-4LX;
    import _-og._-4Iz;
    import _-1FD._-38W;
    import _-3mW._-1sV;
    import _-3mW._-1IS;
    import _-1C6._-4ky;
    import _-3mW._-2Ws;
    import _-59g._-iV;
    import _-59g._-22K;
    import _-og._-3Aa;
    import _-59g._-2ga;
    import _-Ew.IWindow;
    import _-0y0._-2QE;
    import flash.display.DisplayObject;
    import _-293._-3wv;
    import _-0y0._-Xl;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import flash.events.MouseEvent;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import flash.display.Sprite;
    import flash.display.BlendMode;
    import flash.utils.getTimer;
    import _-0y0._-4xU;
    import flash.geom.Point;
    import flash.filters.BlurFilter;
    import flash.display.BitmapData;
    import flash.display.BitmapDataChannel;
    import flash.filters.DisplacementMapFilterMode;
    import flash.filters.DisplacementMapFilter;
    import flash.filters.BitmapFilter;
    import _-2ly._-11j;
    import _-09j.WindowType;
    import _-09j.WindowStyle;
    import _-09j.WindowParam;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import _-DW.AvatarInfoWidget;
    import _-4f7.*;
    import _-FP.*;

    public class RoomDesktop implements _-1Mb, _-1CC, _-G0 
    {

        public static const _-jj:int = -1;
        private static const _-0pQ:int = 1000;

        private var _-2Te:EventDispatcherWrapper;
        private var _-U-:_-3Ts = null;
        private var _-0tK:_-5-S = null;
        private var _-2Qa:_-1dK = null;
        private var _-0pW:_-51K = null;
        private var _-16k:_-45k = null;
        private var _-47n:_-3nt = null;
        private var _-Ie:_-a8 = null;
        private var _-YX:_-1bw = null;
        private var _-0a7:_-3b = null;
        private var _-2bJ:_-0Uq = null;
        private var _-4Qe:_-4L8 = null;
        private var _-1Yi:_-29p = null;
        private var _-31b:_-1V5 = null;
        private var _-3oJ:_-2Jq = null;
        private var _-2UY:_-Km = null;
        private var _-cU:_-0hg = null;
        private var _-Je:_-0QY = null;
        private var _-51u:_-1ZV = null;
        private var _-2yz:_-0Dv;
        private var _-0Xx:_-4uR;
        private var _-42G:_-54I;
        private var _-1e8:_-2UE;
        private var _-1-J:_-2sD;
        private var _-4oB:_-1Z9;
        private var _-2EK:_-03-;
        private var _assets:_-39L = null;
        private var _-2Mi:_-4JJ = null;
        private var _-3WF:Array;
        private var _-4ye:Map;
        private var _-gg:Map;
        private var _-3GK:Map;
        private var _-3MV:Array;
        private var _-vv:DesktopLayoutManager;
        private var _-57X:IDisplayObjectWrapper;
        private var _-1-1:Boolean = true;
        private var _-2yq:Boolean = true;
        private var _-24z:Array;
        private var _-1Bd:_-25T;
        private var _-173:uint = 0xFFFFFF;
        private var _-10O:Boolean = false;
        private var _-E0:int = 0;
        private var _-0k:uint = 0;
        private var _-345:Timer;
        private var _-4Im:Rectangle;

        public function RoomDesktop(_arg1:_-4JJ, _arg2:_-39L, _arg3:_-1ZV)
        {
            this._-3WF = [];
            super();
            this._-2Te = new EventDispatcherWrapper();
            this._-2Mi = _arg1;
            this._assets = _arg2;
            this._-51u = _arg3;
            this._-4ye = new Map();
            this._-gg = new Map();
            this._-3GK = new Map();
            this._-vv = new DesktopLayoutManager();
        }
        public function set visible(_arg1:Boolean):void
        {
            if (this._-57X)
            {
                this._-57X.visible = _arg1;
            };
        }
        public function get roomSession():_-4JJ
        {
            return (this._-2Mi);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get events():IEventDispatcher
        {
            return (this._-2Te);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        public function get _-1ED():_-45k
        {
            return (this._-16k);
        }
        public function get _-4zV():_-a8
        {
            return (this._-Ie);
        }
        public function get avatarRenderManager():_-3nt
        {
            return (this._-47n);
        }
        public function get inventory():_-1bw
        {
            return (((((this._-YX) && (!(this._-YX.disposed)))) ? this._-YX : null));
        }
        public function get toolbar():_-3b
        {
            return (this._-0a7);
        }
        public function get _-1hh():_-1dK
        {
            return (this._-2Qa);
        }
        public function get navigator():_-0Uq
        {
            return (this._-2bJ);
        }
        public function get _-0Rz():_-29p
        {
            return (this._-1Yi);
        }
        public function get avatarEditor():_-1V5
        {
            return (this._-31b);
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get habboHelp():_-0QY
        {
            return (this._-Je);
        }
        public function get config():_-4uR
        {
            return (this._-0Xx);
        }
        public function get _-0Y():_-54I
        {
            return (this._-42G);
        }
        public function get messenger():_-4L8
        {
            return (this._-4Qe);
        }
        public function get moderation():_-0Dv
        {
            return (this._-2yz);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get habboTracking():_-2UE
        {
            return (this._-1e8);
        }
        public function get session():_-4JJ
        {
            return (this._-2Mi);
        }
        public function get _-eP():_-1Z9
        {
            return (this._-4oB);
        }
        public function get questEngine():_-03-
        {
            return (this._-2EK);
        }
        public function set catalog(_arg1:_-2Jq):void
        {
            this._-3oJ = _arg1;
        }
        public function set avatarEditor(_arg1:_-1V5):void
        {
            this._-31b = _arg1;
        }
        public function set _-1hh(_arg1:_-1dK):void
        {
            this._-2Qa = _arg1;
        }
        public function set sessionDataManager(_arg1:_-51K):void
        {
            this._-0pW = _arg1;
        }
        public function set _-1ED(_arg1:_-45k):void
        {
            this._-16k = _arg1;
        }
        public function get _-aZ():_-2sD
        {
            return (this._-1-J);
        }
        public function get connection():_-1ZV
        {
            return (this._-51u);
        }
        public function set _-4zV(_arg1:_-a8):void
        {
            this._-Ie = _arg1;
            if (this._-Ie)
            {
                this._-Ie.events.addEventListener(_-2Pi._-4C6, this._-2bX);
                this._-Ie.events.addEventListener(_-2Pi._-no, this._-2bX);
            };
        }
        public function set avatarRenderManager(_arg1:_-3nt):void
        {
            this._-47n = _arg1;
        }
        public function set windowManager(_arg1:_-3Ts):void
        {
            this._-U- = _arg1;
        }
        public function set inventory(_arg1:_-1bw):void
        {
            this._-YX = _arg1;
        }
        public function set navigator(_arg1:_-0Uq):void
        {
            this._-2bJ = _arg1;
        }
        public function set _-0oF(_arg1:_-Km):void
        {
            this._-2UY = _arg1;
        }
        public function set localization(_arg1:_-0hg):void
        {
            this._-cU = _arg1;
        }
        public function set habboHelp(_arg1:_-0QY):void
        {
            this._-Je = _arg1;
        }
        public function set moderation(_arg1:_-0Dv):void
        {
            this._-2yz = _arg1;
        }
        public function set config(_arg1:_-4uR):void
        {
            this._-0Xx = _arg1;
        }
        public function set _-0Y(_arg1:_-54I):void
        {
            this._-42G = _arg1;
        }
        public function set habboTracking(_arg1:_-2UE):void
        {
            this._-1e8 = _arg1;
        }
        public function set _-aZ(_arg1:_-2sD):void
        {
            this._-1-J = _arg1;
        }
        public function set _-eP(_arg1:_-1Z9):void
        {
            this._-4oB = _arg1;
        }
        public function set questEngine(_arg1:_-03-):void
        {
            this._-2EK = _arg1;
        }
        public function set _-0Rz(_arg1:_-29p):void
        {
            this._-1Yi = _arg1;
        }
        public function set roomEngine(_arg1:_-5-S):void
        {
            this._-0tK = _arg1;
            if (((!((this._-0tK == null))) && (!((this._-0tK.events == null)))))
            {
                this._-0tK.events.addEventListener(_-1PC._-2jd, this._-0GW);
                this._-0tK.events.addEventListener(_-1PC._-3U3, this._-0GW);
                this._-0tK.events.addEventListener(_-1PC._-0Q9, this._-0GW);
            };
        }
        public function set messenger(_arg1:_-4L8):void
        {
            this._-4Qe = _arg1;
        }
        public function set toolbar(_arg1:_-3b):void
        {
            this._-0a7 = _arg1;
            this._-0a7.events.addEventListener(_-0Sy._-37m, this._-0CS);
        }
        public function set layout(_arg1:XML):void
        {
            this._-vv._-4UB(_arg1, this._-U-, this._-0Xx);
        }
        public function dispose():void
        {
            var k:_-3q6;
            var k:int;
            var k:String;
            var k:_-1o;
            if (((!((this._-0tK == null))) && (!((this._-2Mi == null)))))
            {
                k = this._-0tK._-3NP(this._-2Mi.roomId, this._-2Mi.roomCategory, this._-1mN());
                if (k != null)
                {
                    this._-4wJ(k._-1ba(), false);
                };
            };
            var k:int;
            if (this._-3WF != null)
            {
                k = 0;
                while (k < this._-3WF.length)
                {
                    k = this._-3WF[k];
                    k = this._-Dv(k);
                    if (this._-U-)
                    {
                        this._-U-._-0kD(k);
                    };
                    k++;
                };
            };
            this._-3MV = null;
            if (this._-4ye != null)
            {
                k = 0;
                while (k < this._-4ye.length)
                {
                    k = (this._-4ye.getWithIndex(k) as _-1o);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-4ye.dispose();
                this._-4ye = null;
            };
            if (this._-gg != null)
            {
                this._-gg.dispose();
                this._-gg = null;
            };
            if (this._-3GK != null)
            {
                this._-3GK.dispose();
                this._-3GK = null;
            };
            this._assets = null;
            this._-47n = null;
            this._-3WF = null;
            this._-2Te = null;
            if (((this._-Ie) && (this._-Ie.events)))
            {
                this._-Ie.events.removeEventListener(_-2Pi._-4C6, this._-2bX);
                this._-Ie.events.removeEventListener(_-2Pi._-no, this._-2bX);
            };
            this._-Ie = null;
            this._-vv.dispose();
            this._-vv = null;
            if (((!((this._-0tK == null))) && (!((this._-0tK.events == null)))))
            {
                this._-0tK.events.removeEventListener(_-1PC._-2jd, this._-0GW);
                this._-0tK.events.removeEventListener(_-1PC._-3U3, this._-0GW);
                this._-0tK.events.removeEventListener(_-1PC._-0Q9, this._-0GW);
            };
            this._-0tK = null;
            this._-16k = null;
            this._-2Qa = null;
            this._-2Mi = null;
            this._-0pW = null;
            this._-U- = null;
            this._-YX = null;
            this._-cU = null;
            this._-0Xx = null;
            this._-42G = null;
            this._-1Yi = null;
            if (((this._-0a7) && (this.toolbar.events)))
            {
                this._-0a7.events.removeEventListener(_-0Sy._-37m, this._-0CS);
                this._-0a7 = null;
            };
            this._-2bJ = null;
            if (this._-1Bd != null)
            {
                this._-1Bd.dispose();
                this._-1Bd = null;
            };
            if (this._-345 != null)
            {
                this._-345.reset();
                this._-345.removeEventListener(TimerEvent.TIMER, this._-3GB);
                this._-345 = null;
            };
            this._-4Im = null;
        }
        public function init():void
        {
            if (((!((this._-0tK == null))) && (!((this._-2Mi == null)))))
            {
                this._-24z = this._-0tK._-4nX(this._-2Mi._-1kY);
                if (this._-24z.length > 0)
                {
                    this._-2yq = false;
                    this._-2bX(new _-0fH(_-0fH._-WV));
                };
            };
        }
        public function _-47a():Boolean
        {
            if (((!((this._-2UY == null))) && ((this._-2Mi.state == _-7k._-3h9))))
            {
                this._-1-1 = !(this._-2UY._-47a());
            };
            return (this._-0m2());
        }
        private function _-0GW(_arg1:_-1PC):void
        {
            if ((((this._-24z == null)) || ((this._-24z.length == 0))))
            {
                return;
            };
            var k:int = this._-24z.indexOf(_arg1.contentType);
            if (k != -1)
            {
                this._-24z.splice(k, 1);
            };
            if (this._-24z.length == 0)
            {
                this._-2yq = true;
                this._-0m2();
            };
        }
        public function _-2CG(_arg1:String):void
        {
            var k:Boolean;
            var k:_-26C;
            var _local5:ChatWidgetHandler;
            var _local6:_-3VV;
            var _local7:_-2st;
            var _local8:_-4lz;
            var k:Array;
            var k:Array;
            var k:Array;
            var k:String;
            var k:String;
            var k:_-50A;
            if (this._-2Qa == null)
            {
                return;
            };
            var k:_-1o = (this._-4ye.getValue(_arg1) as _-1o);
            if (k != null)
            {
                return;
            };
            if (((this._-2Mi.isGameSession) && (!(this._-Ok(_arg1)))))
            {
                return;
            };
            switch (_arg1)
            {
                case _-4QU._-3IP:
                    _local5 = new ChatWidgetHandler();
                    _local5.connection = this._-51u;
                    k = _local5;
                    k = true;
                    break;
                case _-4QU._-0vV:
                    k = new InfoStandWidgetHandler(this._-42G._-2qH);
                    break;
                case _-4QU._-1ve:
                    k = true;
                    k = new _-3eF();
                    break;
                case _-4QU._-0kJ:
                    k = new MeMenuWidgetHandler();
                    break;
                case _-4QU._-1Wt:
                    k = new _-4Z9();
                    break;
                case _-4QU._-0FK:
                    k = new _-2CH();
                    break;
                case _-4QU._-1ca:
                    k = new _-5-E();
                    break;
                case _-4QU._-08H:
                    k = new _-22h();
                    break;
                case _-4QU._-0PY:
                    k = new _-1Or();
                    break;
                case _-4QU._-3aQ:
                    k = new _-3cy();
                    break;
                case _-4QU._-18I:
                    k = new _-0Ja();
                    break;
                case _-4QU._-0Dp:
                    k = new _-1-I();
                    break;
                case _-4QU._-4tN:
                    k = new RoomQueueWidgetHandler();
                    break;
                case _-4QU._-d6:
                    k = new _-1zx();
                    break;
                case _-4QU._-2yV:
                    k = new _-1bh();
                    break;
                case _-4QU._-0hU:
                    k = new _-Cw();
                    break;
                case _-4QU._-0SZ:
                    k = new _-4dd();
                    break;
                case _-4QU._-hj:
                    k = new _-0F1();
                    break;
                case _-4QU._-j:
                    k = new _-4bj();
                    break;
                case _-4QU._-Uy:
                    k = new _-1B2();
                    break;
                case _-4QU._-2ef:
                    k = new _-4Lf();
                    break;
                case _-4QU._-06P:
                    k = new _-Kb();
                    break;
                case _-4QU._-1Ky:
                    k = new AvatarInfoWidgetHandler();
                    break;
                case _-4QU._-0iH:
                    k = new _-2Ue();
                    break;
                case _-4QU._-3xZ:
                    _local6 = new _-3VV();
                    _local6.connection = this._-51u;
                    k = (_local6 as _-26C);
                    break;
                case _-4QU._-AT:
                    _local7 = new _-2st();
                    _local7.connection = this._-51u;
                    k = (_local7 as _-26C);
                    break;
                case _-4QU._-4ma:
                    k = new _-3Pt();
                    break;
                case _-4QU._-3Rz:
                    k = new _-52h();
                    break;
                case _-4QU._-3wf:
                    _local8 = new _-4lz();
                    _local8.connection = this._-51u;
                    k = (_local8 as _-26C);
                    break;
                case _-4QU._-3u6:
                    k = new _-3EQ();
                    break;
                case _-4QU._-3HJ:
                    k = new _-1Hr();
                    break;
                case _-4QU._-51W:
                    k = new _-2f3();
                    break;
                case _-4QU._-4Om:
                    k = new _-2yl();
                    break;
            };
            if (k != null)
            {
                k.container = this;
                k = null;
                k = k._-375();
                if (k != null)
                {
                    for each (k in k)
                    {
                        k = this._-gg.getValue(k);
                        if (k == null)
                        {
                            k = [];
                            this._-gg.add(k, k);
                        }
                        else
                        {
                            _-Nb.log((("Room widget message '" + k) + "' handled by more than one widget message handler, could cause problems. Be careful!"));
                        };
                        k.push(k);
                    };
                };
                k = k._-1bj();
                if (k != null)
                {
                    for each (k in k)
                    {
                        k = this._-3GK.getValue(k);
                        if (k == null)
                        {
                            k = [];
                            this._-3GK.add(k, k);
                        };
                        k.push(k);
                    };
                };
            };
            k = this._-2Qa._-2CG(_arg1, k);
            if (k == null)
            {
                return;
            };
            k.messageListener = this;
            k.registerUpdateEvents(this._-2Te);
            if (!this._-4ye.add(_arg1, k))
            {
                k.dispose();
            }
            else
            {
                this._-vv._-34(_arg1, k.mainWindow);
            };
            if (k)
            {
                k = _-50A._-4OE;
                k = new _-50A(k, this._-vv._-0OJ);
                this.events.dispatchEvent(k);
            };
        }
        private function _-Ok(_arg1:String):Boolean
        {
            switch (_arg1)
            {
                case _-4QU._-1ve:
                case _-4QU._-3IP:
                case _-4QU._-1Ky:
                case _-4QU._-3u6:
                    return (true);
                default:
                    return (false);
            };
        }
        public function _-3IU(_arg1:String):void
        {
            var k:_-1o;
            if (this._-4ye != null)
            {
                k = this._-4ye.remove(_arg1);
                if (k != null)
                {
                    if (this._-vv != null)
                    {
                        this._-vv._-1MZ(_arg1, k.mainWindow);
                    };
                    k.dispose();
                };
            };
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var k:_-26C;
            var k:_-49d;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:Array = this._-gg.getValue(_arg1.type);
            if (k != null)
            {
                for each (k in k)
                {
                    k = k.processWidgetMessage(_arg1);
                    if (k != null)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:_-26C;
            if (!_arg1)
            {
                return;
            };
            var k:Array = this._-3GK.getValue(_arg1.type);
            if (k != null)
            {
                for each (k in k)
                {
                    k._-2bX(_arg1);
                };
            };
        }
        private function _-4D8(_arg1:_-4KP):Boolean
        {
            var k:_-30N;
            var k:Boolean;
            var k:_-3SU = this.roomEngine.getRoomObject(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, _arg1.category);
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    if (k.getNumber(_-4Wq._-4Ro) == 1)
                    {
                        k = true;
                        if (this._-0pW._-3eu)
                        {
                            k = false;
                        };
                    };
                };
            };
            return (k);
        }
        public function _-TD(_arg1:_-4KP):void
        {
            var k:String;
            var k:_-4LX;
            if (_arg1 == null)
            {
                return;
            };
            var k:int = int(_arg1._-mx);
            var k:int = int(_arg1.category);
            var k:_-4Iz;
            var k:_-38W;
            switch (_arg1.type)
            {
                case _-4KP._-9h:
                    if (!this._-4D8(_arg1))
                    {
                        k = new _-4Iz(_-4Iz._-4nQ, k, k, _arg1.roomId, _arg1.roomCategory);
                    };
                    if (((!((this._-2yz == null))) && ((k == _-1sV._-3I0))))
                    {
                        k = this._-2Mi.userDataManager.getUserDataByIndex(k);
                        if (((!((k == null))) && ((k.type == _-1IS._-0p3))))
                        {
                            this._-2yz._-2VK(k._-2-w, k.name);
                        };
                    };
                    break;
                case _-4KP._-1MI:
                    switch (k)
                    {
                        case _-1sV._-0u-:
                        case _-1sV._-20L:
                            k = _-4Iz._-1iL;
                            break;
                        case _-1sV._-3I0:
                            k = _-4Iz._-4g3;
                            break;
                    };
                    if (k != null)
                    {
                        k = new _-4Iz(k, k, k, _arg1.roomId, _arg1.roomCategory);
                    };
                    break;
                case _-4KP._-1NF:
                    switch (k)
                    {
                        case _-1sV._-0u-:
                        case _-1sV._-20L:
                            k = _-4Iz._-1AW;
                            break;
                        case _-1sV._-3I0:
                            k = _-4Iz._-58q;
                            break;
                    };
                    if (k != null)
                    {
                        k = new _-4Iz(k, k, k, _arg1.roomId, _arg1.roomCategory);
                    };
                    break;
                case _-4KP._-0X8:
                    k = new _-4Iz(_-4Iz._-wH, k, k, _arg1.roomId, _arg1.roomCategory);
                    break;
                case _-4KP._-3iY:
                    k = new _-4Iz(_-4Iz._-0xH, k, k, _arg1.roomId, _arg1.roomCategory);
                    break;
                case _-4KP._-Ug:
                    k = new _-4Iz(_-4Iz._-0Lm, k, k, _arg1.roomId, _arg1.roomCategory);
                    break;
                case _-4KP._-Sw:
                    if ((((!(this._-2Mi._-125) >= _-4ky._-YE)) && (!(this._-0pW._-3eu))))
                    {
                        return;
                    };
                    this._-0tK.modifyRoomObject(_arg1._-mx, _arg1.category, _-2Ws.OBJECT_MOVE);
                    break;
                case _-4KP._-33j:
                    k = new _-38W(_-38W._-4iL, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-4c-:
                    k = new _-38W(_-38W._-1y-, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-1b:
                    k = new _-38W(_-38W._-2mb, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-33A:
                    k = new _-38W(_-38W._-4V0, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-Vw:
                    k = new _-38W(_-38W._-2l1, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-0EU:
                    k = new _-38W(_-38W._-59G, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-2WP:
                    k = new _-38W(_-38W._-1kf, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-1tS:
                    k = new _-38W(_-38W._-1jS, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-4sD:
                case _-4KP._-5BB:
                    this._-46H(_arg1);
                    break;
                case _-4KP._-3y3:
                case _-4KP._-1t1:
                    this._-0cp(_arg1);
                    break;
                case _-4KP._-37L:
                    k = new _-38W(_-38W._-40I, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-2y0:
                    k = new _-38W(_-38W._-1Bb, k, k, _arg1.roomId, _arg1.roomCategory);
                    this.processWidgetMessage(k);
                    break;
                case _-4KP._-46r:
                case _-iV._-4uE:
                case _-4KP._-2R1:
                case _-22K._-WQ:
                case _-22K._-3l-:
                case _-4KP._-1Bx:
                    this._-2bX(_arg1);
                    break;
            };
            if (k != null)
            {
                this.events.dispatchEvent(k);
            };
        }
        public function _-03r(_arg1:_-2ga):void
        {
            var k:_-49d;
            switch (_arg1.type)
            {
                case _-2ga._-1JB:
                    k = new _-3Aa(_-3Aa._-2eP, _arg1.roomId, _arg1.roomCategory);
                    break;
                case _-2ga._-2fE:
                    k = new _-3Aa(_-3Aa._-2lA, _arg1.roomId, _arg1.roomCategory);
                    break;
            };
            if (k != null)
            {
                this.events.dispatchEvent(k);
            };
        }
        public function _-0zK(_arg1:int):void
        {
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:IWindow;
            var k:Rectangle = this._-vv._-0OJ;
            var k:int = k.width;
            var k:int = k.height;
            var k:int = ((this._-2Mi.isGameSession) ? _-2QE._-4Jv : _-2QE._-4U2);
            if (this._-3WF.indexOf(_arg1) >= 0)
            {
                return;
            };
            if ((((((this._-2Mi == null)) || ((this._-U- == null)))) || ((this._-0tK == null))))
            {
                return;
            };
            var k:DisplayObject = this._-0tK._-2TL(this._-2Mi.roomId, this._-2Mi.roomCategory, _arg1, k, k, k);
            if (k == null)
            {
                return;
            };
            var k:_-2QE = (this._-0tK._-3NP(this._-2Mi.roomId, this._-2Mi.roomCategory, _arg1) as _-2QE);
            if (k != null)
            {
                k = this._-0tK._-XI(this._-2Mi.roomId, this._-2Mi.roomCategory, _-3wv._-1R8);
                k = this._-0tK._-XI(this._-2Mi.roomId, this._-2Mi.roomCategory, _-3wv._-2us);
                k = this._-0tK._-XI(this._-2Mi.roomId, this._-2Mi.roomCategory, _-3wv._-2Dk);
                k = this._-0tK._-XI(this._-2Mi.roomId, this._-2Mi.roomCategory, _-3wv._-3F5);
                k = ((k + k) / 2);
                k = ((k + k) / 2);
                k = 20;
                k = (k + (k - 1));
                k = (k + (k - 1));
                k = (Math.sqrt(((k * k) + (k * k))) * Math.tan(((30 / 180) * Math.PI)));
                k.location = new _-Xl(k, k, k);
            };
            var k:_-243 = (this._assets.getAssetByName("room_view_container_xml") as _-243);
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k.width = k;
            k.height = k;
            this._-57X = (k.findChildByName("room_canvas_wrapper") as IDisplayObjectWrapper);
            if (this._-57X == null)
            {
                return;
            };
            this._-57X.setDisplayObject(k);
            if (this._-2Mi.isGameSession)
            {
                k.addEventListener(MouseEvent.CLICK, this._-1Jz);
            };
            this._-57X.addEventListener(WindowMouseEvent._-90, this._-425);
            this._-57X.addEventListener(WindowMouseEvent._-4B7, this._-425);
            this._-57X.addEventListener(WindowMouseEvent._-2dT, this._-425);
            this._-57X.addEventListener(WindowMouseEvent._-3Jy, this._-425);
            this._-57X.addEventListener(WindowMouseEvent._-02B, this._-425);
            this._-57X.addEventListener(WindowMouseEvent._-2uJ, this._-425);
            this._-57X.addEventListener(WindowEvent._-3K0, this._-505);
            var k:Sprite = new Sprite();
            k.mouseEnabled = false;
            k.blendMode = BlendMode.MULTIPLY;
            var k:IDisplayObjectWrapper = (k.findChildByName("colorizer_wrapper") as IDisplayObjectWrapper);
            if (k == null)
            {
                return;
            };
            k.setDisplayObject(k);
            k.addEventListener(WindowEvent._-3K0, this._-1MJ);
            var k:Sprite = new Sprite();
            k.mouseEnabled = false;
            var k:IDisplayObjectWrapper = (k.findChildByName("background_wrapper") as IDisplayObjectWrapper);
            if (k == null)
            {
                return;
            };
            k.setDisplayObject(k);
            k.addEventListener(WindowEvent._-3K0, this._-Kl);
            if (this._-2Mi._-25V)
            {
                k = this._-14s();
                if (k != null)
                {
                    k.width = k.width;
                    k.height = k.height;
                    k.addChild(k);
                };
            };
            this._-vv._-3Fq(k);
            this._-3WF.push(_arg1);
            var k:String = this._-0tK._-IK(this._-2Mi.roomId, this._-2Mi.roomCategory);
            if (!this._-0tK._-1uo(k))
            {
                this._-10O = true;
                this._-E0 = getTimer();
            };
        }
        private function _-1MJ(_arg1:WindowEvent):void
        {
            var k:IDisplayObjectWrapper = (_arg1.target as IDisplayObjectWrapper);
            if (k == null)
            {
                return;
            };
            var k:Sprite = (k.getDisplayObject() as Sprite);
            if (k == null)
            {
                return;
            };
            k.graphics.clear();
            k.graphics.beginFill(this._-173);
            k.graphics.drawRect(0, 0, k.width, k.height);
            k.graphics.endFill();
        }
        private function _-Kl(_arg1:WindowEvent):void
        {
            var k:IDisplayObjectWrapper = (_arg1.target as IDisplayObjectWrapper);
            if (k == null)
            {
                return;
            };
            this._-4TI(k);
        }
        private function _-4TI(_arg1:IDisplayObjectWrapper):void
        {
            var k:Sprite = (_arg1.getDisplayObject() as Sprite);
            if (k == null)
            {
                return;
            };
            k.graphics.clear();
            k.graphics.beginFill(this._-0k);
            k.graphics.drawRect(0, 0, _arg1.width, _arg1.height);
            k.graphics.endFill();
        }
        public function _-k3(_arg1:uint, _arg2:int):void
        {
            var k:IWindowContainer = (this._-vv._-1h1() as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IDisplayObjectWrapper = (k.getChildByName("colorizer_wrapper") as IDisplayObjectWrapper);
            if (k == null)
            {
                return;
            };
            var k:Sprite = (k.getDisplayObject() as Sprite);
            if (k == null)
            {
                return;
            };
            var k:int = _-4xU._-4Ux(_arg1);
            k = ((k & 0xFFFF00) + _arg2);
            k = _-4xU._-Ys(k);
            this._-173 = k;
            k.graphics.clear();
            k.graphics.beginFill(k);
            k.graphics.drawRect(0, 0, k.width, k.height);
            k.graphics.endFill();
        }
        public function _-4G1(_arg1:int, _arg2:int, _arg3:int):void
        {
            this._-0k = _-4xU._-Ys(((((_arg1 & 0xFF) << 16) + ((_arg2 & 0xFF) << 8)) + (_arg3 & 0xFF)));
            var k:IWindowContainer = (this._-vv._-1h1() as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IDisplayObjectWrapper = (k.getChildByName("background_wrapper") as IDisplayObjectWrapper);
            if (k == null)
            {
                return;
            };
            if ((((((_arg1 == 0)) && ((_arg2 == 0)))) && ((_arg3 == 0))))
            {
                k.visible = false;
            }
            else
            {
                k.visible = true;
                this._-4TI(k);
            };
        }
        public function _-1mN():int
        {
            if (this._-3WF != null)
            {
                if (this._-3WF.length > 0)
                {
                    return (this._-3WF[0]);
                };
            };
            return (0);
        }
        public function _-iG():Rectangle
        {
            if (!this._-vv)
            {
                return (null);
            };
            return (this._-vv._-0OJ);
        }
        public function _-425(_arg1:WindowEvent):void
        {
            var k:Point;
            var k:int;
            var k:int;
            var k:Point;
            if ((((this._-0tK == null)) || ((this._-2Mi == null))))
            {
                return;
            };
            var k:WindowMouseEvent = (_arg1 as WindowMouseEvent);
            if (k == null)
            {
                return;
            };
            var k:String = "";
            switch (k.type)
            {
                case WindowMouseEvent._-90:
                    k = MouseEvent.CLICK;
                    break;
                case WindowMouseEvent._-4B7:
                    k = MouseEvent.DOUBLE_CLICK;
                    break;
                case WindowMouseEvent._-3Jy:
                    k = MouseEvent.MOUSE_DOWN;
                    break;
                case WindowMouseEvent._-02B:
                case WindowMouseEvent._-2uJ:
                    k = MouseEvent.MOUSE_UP;
                    break;
                case WindowMouseEvent._-2dT:
                    k = MouseEvent.MOUSE_MOVE;
                    break;
                default:
                    return;
            };
            var k:IDisplayObjectWrapper = (k.target as IDisplayObjectWrapper);
            if (k == k.target)
            {
                k = new Point();
                k.getGlobalPosition(k);
                k = (k.stageX - k.x);
                k = (k.stageY - k.y);
                this._-0tK._-1hy(this._-2Mi.roomId, this._-2Mi.roomCategory);
                this._-0tK._-4kj(this._-3WF[0], k, k, k, k.altKey, k.ctrlKey, k.shiftKey, k.buttonDown);
            };
            if ((((k == MouseEvent.MOUSE_MOVE)) && (!((this._-1Bd == null)))))
            {
                k = new Point(k.stageX, k.stageY);
                k.offset((-(this._-1Bd.width) / 2), 15);
                this._-1Bd._-3gl(k);
            };
        }
        private function _-1Jz(_arg1:MouseEvent):void
        {
            var k:Point = new Point();
            this._-57X.getGlobalPosition(k);
            var k:int = (_arg1.stageX - k.x);
            var k:int = (_arg1.stageY - k.y);
            this._-0tK._-1hy(this._-2Mi.roomId, this._-2Mi.roomCategory);
            _arg1.stopImmediatePropagation();
            this._-0tK._-4kj(this._-3WF[0], k, k, _arg1.type, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey, _arg1.buttonDown);
        }
        private function _-505(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.window;
            this._-4Im = k.rectangle;
            this._-0tK._-0pB(this._-2Mi.roomId, this._-2Mi.roomCategory, this._-3WF[0], k.width, k.height);
            if (this._-345 == null)
            {
                this._-345 = new Timer(_-0pQ, 1);
                this._-345.addEventListener(TimerEvent.TIMER, this._-3GB);
            }
            else
            {
                this._-345.reset();
            };
            this._-345.start();
        }
        private function _-3GB(_arg1:TimerEvent):void
        {
            var k:String = _-50A._-4OE;
            this.events.dispatchEvent(new _-50A(k, this._-4Im));
        }
        private function _-4wJ(_arg1:Boolean, _arg2:Boolean):void
        {
            var k:int;
            var k:int;
            if (this._-10O)
            {
                k = getTimer();
                k = Math.round(((k - this._-E0) / 1000));
                if (this._-1e8 != null)
                {
                    if (_arg1)
                    {
                        if (_arg2)
                        {
                            this._-1e8.trackGoogle("zoomEvent", "out");
                        };
                        this._-1e8.trackGoogle("zoomEnded", "in", k);
                    }
                    else
                    {
                        if (_arg2)
                        {
                            this._-1e8.trackGoogle("zoomEvent", "in");
                        };
                        this._-1e8.trackGoogle("zoomEnded", "out", k);
                    };
                };
                this._-E0 = k;
            };
        }
        private function _-0CS(_arg1:_-0Sy):void
        {
            var k:_-3q6;
            if (_arg1.type == _-0Sy._-37m)
            {
                if (this._-2Mi != null)
                {
                    k = this._-0tK._-3NP(this._-2Mi.roomId, this._-2Mi.roomCategory, this._-1mN());
                    if (k != null)
                    {
                        this._-4wJ(k._-1ba(), true);
                        k._-0BV();
                    };
                };
            };
        }
        public function update():void
        {
            var k:_-26C;
            if (this._-3MV == null)
            {
                return;
            };
            var k:int = this._-3MV.length;
            var k:int;
            while (k < k)
            {
                k = (this._-3MV.getWithIndex(k) as _-26C);
                if (k != null)
                {
                    k.update();
                };
                k++;
            };
        }
        private function _-Dv(_arg1:int):String
        {
            return (("Room_Engine_Window_" + _arg1));
        }
        private function _-0Fx(_arg1:int, _arg2:int):Array
        {
            var k:BlurFilter = new BlurFilter(2, 2);
            return ([]);
        }
        private function _-4RC(_arg1:int, _arg2:int):BitmapFilter
        {
            var k:BitmapData = new BitmapData(_arg1, _arg2);
            k.perlinNoise(_arg1, _arg2, 5, (Math.random() * 0x77359400), true, false);
            var k:Point = new Point(0, 0);
            var k:uint = BitmapDataChannel.RED;
            var k:uint = k;
            var k:uint = k;
            var k:Number = (_arg1 / 20);
            var k:Number = (-(_arg1) / 25);
            var k:String = DisplacementMapFilterMode.COLOR;
            var k:uint;
            var k:Number = 0;
            return (new DisplacementMapFilter(k, k, k, k, k, k, k, k, k));
        }
        private function _-0m2():Boolean
        {
            if (((((((!((this._-16k == null))) && (!((this._-2Mi == null))))) && (this._-1-1))) && (this._-2yq)))
            {
                this._-16k._-16l(this._-2Mi);
                this._-2bX(new _-0fH(_-0fH._-1MR));
                return (true);
            };
            return (false);
        }
        public function _-07c():void
        {
            this._-1-1 = true;
            this._-0m2();
        }
        private function _-46H(_arg1:_-4KP):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-3SU = this._-0tK.getRoomObject(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, _arg1.category);
            if (k == null)
            {
                return;
            };
            var k:_-30N = (k.getModel() as _-30N);
            var k:String = k.getString(_-4Wq._-YY);
            if ((((k == null)) || (!((k.indexOf("http") == 0)))))
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-4KP._-4sD:
                    if ((((this._-2Mi._-125 >= _-4ky._-YE)) || (this._-0pW._-3eu)))
                    {
                        return;
                    };
                    _-11j._-0D8(k);
                    return;
                case _-4KP._-5BB:
                    if ((((!(this._-2Mi._-125) >= _-4ky._-YE)) && (!(this._-0pW._-3eu))))
                    {
                        return;
                    };
                    _-11j._-0D8(k);
                    return;
            };
        }
        private function _-0cp(_arg1:_-4KP):void
        {
            var _local2:_-3SU;
            var _local3:String;
            if (_arg1 == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-4KP._-3y3:
                    if (this._-1Bd != null)
                    {
                        return;
                    };
                    _local2 = this._-0tK.getRoomObject(_arg1.roomId, _arg1.roomCategory, _arg1._-mx, _arg1.category);
                    if (_local2 == null)
                    {
                        return;
                    };
                    _local3 = this._-cU.getKey((_local2.getType() + ".tooltip"), "${ads.roomad.tooltip}");
                    this._-1Bd = (this._-U-.createWindow("room_ad_tooltip", _local3, WindowType._-2qK, WindowStyle._-5B8, WindowParam._-JK) as _-25T);
                    this._-1Bd.setParamFlag(WindowParam._-55Y, false);
                    this._-1Bd.visible = true;
                    this._-1Bd.center();
                    return;
                case _-4KP._-1t1:
                    if (this._-1Bd == null)
                    {
                        return;
                    };
                    this._-1Bd.dispose();
                    this._-1Bd = null;
                    return;
            };
        }
        private function _-14s():IWindow
        {
            var k:_-243 = (this._assets.getAssetByName("spectator_mode_xml") as _-243);
            if (k == null)
            {
                return (null);
            };
            var k:IWindowContainer = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k == null)
            {
                return (null);
            };
            this._-0W6(k.findChildByName("top_left"), "spec_top_left_png");
            this._-0W6(k.findChildByName("top_middle"), "spec_top_middle_png");
            this._-0W6(k.findChildByName("top_right"), "spec_top_right_png");
            this._-0W6(k.findChildByName("middle_left"), "spec_middle_left_png");
            this._-0W6(k.findChildByName("middle_right"), "spec_middle_right_png");
            this._-0W6(k.findChildByName("bottom_left"), "spec_bottom_left_png");
            this._-0W6(k.findChildByName("bottom_middle"), "spec_bottom_middle_png");
            this._-0W6(k.findChildByName("bottom_right"), "spec_bottom_right_png");
            return (k);
        }
        private function _-0W6(_arg1:IWindow, _arg2:String):void
        {
            var k:IBitmapWrapperWindow = (_arg1 as IBitmapWrapperWindow);
            if ((((k == null)) || ((this._assets == null))))
            {
                return;
            };
            var k:BitmapDataAsset = (this._assets.getAssetByName(_arg2) as BitmapDataAsset);
            if (k == null)
            {
                return;
            };
            var k:BitmapData = (k.content as BitmapData);
            if (k == null)
            {
                return;
            };
            k.bitmap = k.clone();
        }
        public function _-2jq(_arg1:String, _arg2:int=0):void
        {
            var k:_-1o = this._-4ye[_arg1];
            if (k == null)
            {
                _-Nb.log(("Tried to initialize an unknown widget " + _arg1));
                return;
            };
            k.initialize(_arg2);
        }
        public function _-2S1(_arg1:String):int
        {
            var k:_-1o = this._-4ye[_arg1];
            if (k == null)
            {
                _-Nb.log(("Requested the state of an unknown widget " + _arg1));
                return (_-jj);
            };
            return (k.state);
        }
        public function _-4NO(_arg1:_-26C):void
        {
            if (this._-3MV == null)
            {
                this._-3MV = new Array();
            };
            if (this._-3MV.indexOf(_arg1) == -1)
            {
                this._-3MV.push(_arg1);
            };
        }
        public function _-0cS(_arg1:_-26C):void
        {
            if (this._-3MV == null)
            {
                return;
            };
            var k:int = this._-3MV.indexOf(_arg1);
            if (k != -1)
            {
                this._-3MV.splice(k, 1);
            };
        }
        public function _-0Mx(_arg1:_-3SU):Boolean
        {
            var k:int = this.sessionDataManager.userId;
            var k:_-30N = _arg1.getModel();
            if (k == null)
            {
                return (false);
            };
            var k:Number = k.getNumber(_-4Wq._-0Vr);
            return ((k == k));
        }
        public function _-03Y(_arg1:_-3SU):int
        {
            var k:Number;
            var k:_-30N = _arg1.getModel();
            if (k != null)
            {
                k = k.getNumber(_-4Wq._-0Vr);
                if (!isNaN(k))
                {
                    return (k);
                };
            };
            return (-1);
        }
        public function _-2cq(_arg1:_-4LX):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:int = this.sessionDataManager.userId;
            return ((k == _arg1._-nJ));
        }
        public function _-3ft(_arg1:int, _arg2:String, _arg3:uint, _arg4:int):void
        {
            var k:AvatarInfoWidget = (this._-4ye[_-4QU._-1Ky] as AvatarInfoWidget);
            if (!k)
            {
                return;
            };
            k._-3ft(_arg1, _arg2, _arg3, _arg4);
        }

    }
}//package _-1ye

//------------------------------------------------------------
//_-1yU._-1yf

package _-1yU
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1yf implements _-58N 
    {

        private var _-1QD:int;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-1ZT

package _-1yU
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1ZT implements _-58N 
    {

        private var _-1QD:int;
        private var _-4ay:String;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get _-2L9():String
        {
            return (this._-4ay);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            this._-4ay = _arg1.readString();
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-23X

package _-1yU
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-23X implements _-58N 
    {

        private var _-1QD:int;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-268

package _-1yU
{
    public class _-268 
    {

        private var _-2zr:int;
        private var _-1JK:String;
        private var _-3RZ:uint;
        private var _-1Ug:uint;
        private var _-1f2:String;

        public function _-268(_arg1:int, _arg2:String, _arg3:uint, _arg4:uint, _arg5:String)
        {
            this._-2zr = _arg1;
            this._-1JK = _arg2;
            this._-3RZ = _arg3;
            this._-1Ug = _arg4;
            this._-1f2 = _arg5;
        }
        public function get _-4IC():int
        {
            return (this._-2zr);
        }
        public function get _-4HT():String
        {
            return (this._-1JK);
        }
        public function get bgColor():uint
        {
            return (this._-3RZ);
        }
        public function get textColor():uint
        {
            return (this._-1Ug);
        }
        public function get _-2BT():String
        {
            return (this._-1f2);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-2HK

package _-1yU
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2HK implements _-58N 
    {

        private var _-1QD:int;
        private var _-54Q:int;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get _-3Px():int
        {
            return (this._-54Q);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            this._-54Q = _arg1._-2BW();
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-2wC

package _-1yU
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2wC implements _-58N 
    {

        private var _-1QD:int;
        private var _-5Q:String;
        private var _-4ay:String;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get _-2L9():String
        {
            return (this._-4ay);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            this._-4ay = _arg1.readString();
            this._-5Q = _arg1.readString();
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-3cQ

package _-1yU
{
    public class _-3cQ 
    {

        private var _-1QD:int;
        private var _-2sP:int;
        private var _-2N7:String;
        private var _-2Xq:int;

        public function _-3cQ(_arg1:int, _arg2:int, _arg3:String, _arg4:int)
        {
            this._-1QD = _arg1;
            this._-2sP = _arg2;
            this._-2N7 = _arg3;
            this._-2Xq = _arg4;
        }
        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get _-4Oi():int
        {
            return (this._-2sP);
        }
        public function get _-4bF():String
        {
            return (this._-2N7);
        }
        public function get _-0Ko():int
        {
            return (this._-2Xq);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-4Mn

package _-1yU
{
    import _-u-._-1Q7;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Mn implements _-58N 
    {

        private var _-1QD:int;
        private var _-020:_-1Q7;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            this._-020 = new _-1Q7();
            this._-020.parse(_arg1);
            return (true);
        }
        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get achievements():Array
        {
            return (this._-020.achievements);
        }
        public function get _-4Bl():String
        {
            return (this._-020._-4Bl);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-534

package _-1yU
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-534 implements _-58N 
    {

        private static const OK:int = 0;
        private static const _-33q:int = 1;

        private var _-1QD:int;
        private var _-8R:int;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get _-2jv():Boolean
        {
            return ((this._-8R == OK));
        }
        public function get _-0L5():Boolean
        {
            return ((this._-8R == _-33q));
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            this._-8R = _arg1._-2BW();
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU._-5-r

package _-1yU
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-5-r implements _-58N 
    {

        public static const _-1uU:int = 1;

        private var _-1QD:int;
        private var _-3Dw:int;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            this._-3Dw = _arg1._-2BW();
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU.GameAchievementsMessageParser

package _-1yU
{
    import __AS3__.vec.Vector;
    import _-4Aj._-0s1;
    import __AS3__.vec.*;
    import _-4Aj.*;

    public class GameAchievementsMessageParser implements _-58N 
    {

        private var _-020:Vector.<_-3cQ>;

        public function flush():Boolean
        {
            return (true);
        }
        public function get achievements():Vector.<_-3cQ>
        {
            return (this._-020);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:int;
            this._-020 = new Vector.<_-3cQ>();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = 0;
                while (k < k)
                {
                    k = _arg1._-2BW();
                    k = _arg1.readString();
                    k = _arg1._-2BW();
                    this._-020.push(new _-3cQ(k, k, k, k));
                    k++;
                };
                k++;
            };
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU.GameListMessageParser

package _-1yU
{
    import __AS3__.vec.Vector;
    import _-4Aj._-0s1;
    import __AS3__.vec.*;
    import _-4Aj.*;

    public class GameListMessageParser implements _-58N 
    {

        private var _-4Ig:Vector.<_-268>;

        public function flush():Boolean
        {
            return (true);
        }
        public function get games():Vector.<_-268>
        {
            return (this._-4Ig);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            var k:String;
            var k:uint;
            var k:String;
            var k:uint;
            var k:String;
            this._-4Ig = new Vector.<_-268>();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = _arg1.readString();
                k = parseInt(k, 16);
                k = (k | 0xFF000000);
                k = _arg1.readString();
                k = parseInt(k, 16);
                k = (k | 0xFF000000);
                k = _arg1.readString();
                this._-4Ig.push(new _-268(k, k, k, k, k));
                k++;
            };
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1yU.LoadGameMessageParser

package _-1yU
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class LoadGameMessageParser implements _-58N 
    {

        private var _-1QD:int;
        private var _-5Q:String;
        private var _-2qS:String;
        private var _-4nM:String;
        private var _-2VI:int;
        private var _-1W8:int;
        private var _-1ZC:int;
        private var _-2Uc:Object;
        private var _-4ay:String;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get quality():String
        {
            return (this._-2qS);
        }
        public function get scaleMode():String
        {
            return (this._-4nM);
        }
        public function get frameRate():int
        {
            return (this._-2VI);
        }
        public function get _-2lX():int
        {
            return (this._-1W8);
        }
        public function get _-0qA():int
        {
            return (this._-1ZC);
        }
        public function get params():Object
        {
            return (this._-2Uc);
        }
        public function get _-2L9():String
        {
            return (this._-4ay);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            this._-4ay = _arg1.readString();
            this._-5Q = _arg1.readString();
            this._-2qS = _arg1.readString();
            this._-4nM = _arg1.readString();
            this._-2VI = _arg1._-2BW();
            this._-1W8 = _arg1._-2BW();
            this._-1ZC = _arg1._-2BW();
            this._-2Uc = new Object();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this.params[_arg1.readString()] = _arg1.readString();
                k++;
            };
            return (true);
        }

    }
}//package _-1yU

//------------------------------------------------------------
//_-1Z1._-03I

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-03I implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-0Qh

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Qh implements _-58N 
    {

        public static const _-2OH:int = 7;
        public static const _-2xx:int = 8;

        private var _-3Dw:int;
        private var _-0nQ:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            this._-0nQ = _arg1.readString();
            return (true);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }
        public function get _-4co():String
        {
            return (this._-0nQ);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-1BN

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-293._-4q2;
    import _-Co._-1ad;
    import _-0dE._-0VW;
    import _-4Aj.*;

    public class _-1BN implements _-58N 
    {

        private var _-48H:int;
        private var _-24Y:Array;
        private var _-0Ya:int;
        private var _-3cI:Array;

        public function get _-03Z():int
        {
            return (this._-48H);
        }
        public function get _-4P3():Array
        {
            return (this._-24Y);
        }
        public function get _-2-p():int
        {
            return (this._-0Ya);
        }
        public function get _-R():Array
        {
            return (this._-3cI);
        }
        public function flush():Boolean
        {
            this._-48H = -1;
            this._-24Y = null;
            this._-0Ya = -1;
            this._-3cI = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-48H = _arg1._-2BW();
            this._-24Y = new Array();
            if (!this._-1nO(_arg1, this._-24Y))
            {
                return (false);
            };
            this._-0Ya = _arg1._-2BW();
            this._-3cI = new Array();
            if (!this._-1nO(_arg1, this._-3cI))
            {
                return (false);
            };
            return (true);
        }
        private function _-1nO(_arg1:_-0s1, _arg2:Array):Boolean
        {
            var k:int;
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            var k:_-4q2;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:int;
            k = _arg1._-2BW();
            while (k > 0)
            {
                k = _arg1._-2BW();
                k = _arg1.readString().toUpperCase();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1.readBoolean();
                k = _-1ad._-7c(_arg1);
                k = -1;
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = (((k == "S")) ? _arg1._-2BW() : -1);
                _arg2.push(new _-0VW(k, k, k, k, k, k, k, k, k, k, k, k));
                k--;
            };
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-1of

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1of implements _-58N 
    {

        public static const _-5CO:int = 1;

        private var _-4lu:int;
        private var _-3Dw:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            this._-3Dw = _arg1._-2BW();
            return (true);
        }
        public function get _-45M():int
        {
            return (this._-4lu);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-2dQ

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2dQ implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-2fh

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2fh implements _-58N 
    {

        private var _-VJ:int;
        private var _-2ro:Boolean;
        private var _-3N6:int;
        private var _-2p8:Boolean;

        public function get _-45M():int
        {
            return (this._-VJ);
        }
        public function get _-481():Boolean
        {
            return (this._-2ro);
        }
        public function get _-2Y7():int
        {
            return (this._-3N6);
        }
        public function get _-39A():Boolean
        {
            return (this._-2p8);
        }
        public function flush():Boolean
        {
            this._-VJ = -1;
            this._-2ro = false;
            this._-3N6 = -1;
            this._-2p8 = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-VJ = _arg1._-2BW();
            this._-2ro = (_arg1._-2BW() == 1);
            this._-3N6 = _arg1._-2BW();
            this._-2p8 = (_arg1._-2BW() == 1);
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-2sj

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2sj implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-2wX

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2wX implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-3Hl

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3Hl implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-4No

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4No implements _-58N 
    {

        private var _-VJ:int;
        private var _-2Qy:Boolean;

        public function get _-45M():int
        {
            return (this._-VJ);
        }
        public function get _-2Pu():Boolean
        {
            return (this._-2Qy);
        }
        public function flush():Boolean
        {
            this._-VJ = -1;
            this._-2Qy = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-VJ = _arg1._-2BW();
            this._-2Qy = (_arg1._-2BW() > 0);
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1Z1._-92

package _-1Z1
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-92 implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-1Z1

//------------------------------------------------------------
//_-1z9._-2Gn

package _-1z9
{
    import _-4Aj.*;

    public class _-2Gn implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2Gn(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE = [_arg1];
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-1z9

//------------------------------------------------------------
//_-1z9._-3em

package _-1z9
{
    import _-4Aj.*;

    public class _-3em implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3em(_arg1:int)
        {
            this._-0qE = [_arg1];
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-1z9

//------------------------------------------------------------
//_-1z9._-4gH

package _-1z9
{
    import _-4Aj.*;

    public class _-4gH implements _-1oF 
    {

        private var _-0qE:Array = null;

        public function _-4gH(_arg1:int)
        {
            this._-0qE = [_arg1];
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-1z9

//------------------------------------------------------------
//_-1z9.PollAnswerComposer

package _-1z9
{
    import _-4Aj.*;

    public class PollAnswerComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function PollAnswerComposer(_arg1:int, _arg2:int, _arg3:Array)
        {
            this._-0qE = [_arg1, _arg2];
            this._-0qE.push(_arg3.length);
            var k:int;
            while (k < _arg3.length)
            {
                this._-0qE.push(String(_arg3[k]));
                k++;
            };
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-1z9

//------------------------------------------------------------
//_-1zF._-0On

package _-1zF
{
    import _-4Aj.*;

    public class _-0On implements _-1oF 
    {

        private var _-2Pg:int;

        public function _-0On(_arg1:int)
        {
            this._-2Pg = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-2Pg]);
        }
        public function dispose():void
        {
        }
        public function get disposed():Boolean
        {
            return (true);
        }

    }
}//package _-1zF

//------------------------------------------------------------
//_-1zF._-1LB

package _-1zF
{
    import _-4Aj.*;

    public class _-1LB implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }
        public function get disposed():Boolean
        {
            return (true);
        }

    }
}//package _-1zF

//------------------------------------------------------------
//_-1zF._-2ri

package _-1zF
{
    import _-4Aj.*;

    public class _-2ri implements _-1oF 
    {

        private var _-2md:Array;

        public function _-2ri(_arg1:int, _arg2:String="", _arg3:int=-1)
        {
            this._-2md = [_arg1, _arg2, _arg3];
        }
        public function dispose():void
        {
            this._-2md = null;
        }
        public function _-43Z():Array
        {
            return (this._-2md);
        }

    }
}//package _-1zF

//------------------------------------------------------------
//_-1zF._-41d

package _-1zF
{
    import _-4Aj.*;

    public class _-41d implements _-1oF 
    {

        private var _-1Rt:int;
        private var _-0wA:int = 0;

        public function _-41d(_arg1:int, _arg2:int=0)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-1Rt]);
        }

    }
}//package _-1zF

//------------------------------------------------------------
//_-1zF._-4wO

package _-1zF
{
    import _-4Aj.*;

    public class _-4wO implements _-1oF 
    {

        private var _-1Rt:int;
        private var _-2WF:Boolean;
        private var _-2ug:int;

        public function _-4wO(_arg1:Boolean, _arg2:int, _arg3:int=0)
        {
            this._-1Rt = _arg2;
            this._-2WF = _arg1;
            this._-2ug = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-2WF, this._-1Rt, this._-2ug]);
        }

    }
}//package _-1zF

//------------------------------------------------------------
//_-1ZZ._-21f

package _-1ZZ
{
    import flash.events.Event;

    public class _-21f extends Event 
    {

        public static const _-041:String = "SCE_TRAX_SONG_COMPLETE";

        private var _-0Kq:int;

        public function _-21f(_arg1:String, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-0Kq = _arg2;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }

    }
}//package _-1ZZ

//------------------------------------------------------------
//_-1ZZ._-2sw

package _-1ZZ
{
    import flash.events.Event;

    public class _-2sw extends Event 
    {

        public static const _-3Il:String = "TSLE_TRAX_LOAD_COMPLETE";
        public static const _-ea:String = "TSLE_TRAX_LOAD_FAILED";

        private var _-0Kq:int;

        public function _-2sw(_arg1:String, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-0Kq = _arg2;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }

    }
}//package _-1ZZ

//------------------------------------------------------------
//_-1ZZ._-3SC

package _-1ZZ
{
    import flash.events.Event;

    public class _-3SC extends Event 
    {

        public static const _-0t3:String = "PLUE_PLAY_LIST_UPDATED";
        public static const _-0lL:String = "PLUE_PLAY_LIST_FULL";

        public function _-3SC(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-1ZZ

//------------------------------------------------------------
//_-1ZZ._-3Wk

package _-1ZZ
{
    import flash.events.Event;

    public class _-3Wk extends Event 
    {

        public static const _-3hw:String = "SIR_TRAX_SONG_INFO_RECEIVED";

        private var _-0Kq:int;

        public function _-3Wk(_arg1:String, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-0Kq = _arg2;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }

    }
}//package _-1ZZ

//------------------------------------------------------------
//_-1ZZ._-5A0

package _-1ZZ
{
    import flash.events.Event;

    public class _-5A0 extends Event 
    {

        public static const _-0da:String = "SDIR_SONG_DISK_INVENTORY_RECEIVENT_EVENT";

        public function _-5A0(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-1ZZ

//------------------------------------------------------------
//_-1ZZ._-z6

package _-1ZZ
{
    import flash.events.Event;

    public class _-z6 extends Event 
    {

        public static const _-0zO:String = "NPE_USER_PLAY_SONG";
        public static const _-3x8:String = "NPW_USER_STOP_SONG";
        public static const _-47G:String = "NPE_SONG_CHANGED";

        private var _-0Kq:int;
        private var _-oi:int;
        private var _priority:int;

        public function _-z6(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg5, _arg6);
            this._-0Kq = _arg3;
            this._-oi = _arg4;
            this._priority = _arg2;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get position():int
        {
            return (this._-oi);
        }
        public function get priority():int
        {
            return (this._priority);
        }

    }
}//package _-1ZZ

//------------------------------------------------------------
//_-23M._-2Pi

package _-23M
{
    import flash.events.Event;

    public class _-2Pi extends Event 
    {

        public static const _-4C6:String = "FRE_ACCEPTED";
        public static const _-no:String = "FRE_DECLINED";

        private var _-by:int;

        public function _-2Pi(_arg1:String, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-by = _arg2;
        }
        public function get _-0nn():int
        {
            return (this._-by);
        }

    }
}//package _-23M

//------------------------------------------------------------
//_-23M._-Ev

package _-23M
{
    public class _-Ev 
    {

        public static const HABBO_FRIENDLIST_TRACKIG_EVENT_CLOSED:String = "HABBO_FRIENDLIST_TRACKIG_EVENT_CLOSED";
        public static const HABBO_FRIENDLIST_TRACKIG_EVENT_FRIENDS:String = "HABBO_FRIENDLIST_TRACKIG_EVENT_FRIENDS";
        public static const HABBO_FRIENDLIST_TRACKIG_EVENT_SEARCH:String = "HABBO_FRIENDLIST_TRACKIG_EVENT_SEARCH";
        public static const HABBO_FRIENDLIST_TRACKIG_EVENT_REQUEST:String = "HABBO_FRIENDLIST_TRACKIG_EVENT_REQUEST";
        public static const _-EE:String = "HABBO_FRIENDLIST_TRACKIG_EVENT_MINIMZED";
        public static const HABBO_FRIENDLIST_TRACKIG_EVENT_MESSENGER:String = "HABBO_FRIENDLIST_TRACKIG_EVENT_MESSENGER";

    }
}//package _-23M

//------------------------------------------------------------
//_-23t._-0ox

package _-23t
{
    import _-4Aj.*;

    public class _-0ox implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-0tY

package _-23t
{
    import _-4Aj.*;

    public class _-0tY implements _-1oF 
    {

        private var _-0Fk:int;
        private var _-0lN:String;
        private var _-0fl:String;

        public function _-0tY(_arg1:int, _arg2:String, _arg3:String)
        {
            this._-0Fk = _arg1;
            this._-0lN = _arg2;
            this._-0fl = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-0Fk, this._-0lN, this._-0fl]);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-1Na

package _-23t
{
    import _-4Aj.*;

    public class _-1Na implements _-1oF, _-2tA 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:String = "RELEASE63-201211221134-625808585";
            return (new Array(k));
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-20B

package _-23t
{
    import _-4Aj.*;

    public class _-20B implements _-1oF 
    {

        private var _-mu:String;
        private var _-3bW:String;

        public function _-20B(_arg1:String, _arg2:String)
        {
            this._-mu = _arg1;
            this._-3bW = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-mu, this._-3bW]);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-2Uo

package _-23t
{
    import flash.utils.getTimer;
    import _-4Aj.*;

    public class _-2Uo implements _-1oF 
    {

        private var _-2md:Array;

        public function _-2Uo(_arg1:String)
        {
            this._-2md = new Array();
            this._-2md.push(_arg1);
            this._-2md.push(getTimer());
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (this._-2md);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-2VM

package _-23t
{
    import _-4Aj.*;

    public class _-2VM implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-3o6

package _-23t
{
    import flash.utils.ByteArray;
    import _-2Xl.RSAKey;
    import _-3rj._-4gL;
    import _-4Aj.*;

    public class _-3o6 implements _-1oF, _-2tA 
    {

        private var _-N3:String;

        public function _-3o6(_arg1:String)
        {
            var k:ByteArray = new ByteArray();
            k.writeMultiByte(_arg1, "iso-8859-1");
            var k:ByteArray = new ByteArray();
            var k:RSAKey = RSAKey._-43e("86851DD364D5C5CECE3C883171CC6DDC5760779B992482BD1E20DD296888DF91B33B936A7B93F06D29E8870F703A216257DEC7C81DE0058FEA4CC5116F75E6EFC4E9113513E45357DC3FD43D4EFAB5963EF178B78BD61E81A14C603B24C8BCCE0A12230B320045498EDC29282FF0603BC7B7DAE8FC1B05B52B2F301A9DC783B7", "3");
            k._-0j7(k, k, k.length);
            k.dispose();
            this._-N3 = _-4gL._-tM(k);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-N3]);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-3P-

package _-23t
{
    import _-4Aj.*;

    public class _-3P- implements _-1oF, _-2tA 
    {

        private var _-0Mb:Array;

        public function _-3P-(_arg1:int)
        {
            this._-0Mb = new Array();
            this._-0Mb.push(_arg1);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (this._-0Mb);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-4CB

package _-23t
{
    import _-4Aj.*;

    public class _-4CB implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-23t._-4l4

package _-23t
{
    import flash.utils.getTimer;
    import _-4Aj.*;

    public class _-4l4 implements _-1oF 
    {

        private var _-0SX:String;
        private var _-1ZG:String;
        private var _-4lu:int;

        public function _-4l4(_arg1:String, _arg2:String, _arg3:int)
        {
            this._-0SX = _arg1;
            this._-1ZG = _arg2;
            this._-4lu = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-0SX, this._-1ZG, this._-4lu, getTimer()]);
        }

    }
}//package _-23t

//------------------------------------------------------------
//_-253._-299

package _-253
{
    import _-3iu._-487;
    import _-06J._-29;
    import _-06J.CommunityGoalHallOfFameWidget;
    import _-06J.CommunityGoalPrizesWidget;
    import _-06J.AvatarImageWidget;
    import _-06J.AvatarInfoWidget;
    import _-06J.CommunityGoalWidget;
    import _-06J.CatalogPromoWidget;
    import _-06J._-2Oc;
    import _-06J._-24g;
    import _-06J._-1Yy;
    import _-06J._-4QD;
    import _-06J.NextLimitedRareCountdownWidget;
    import _-06J.TwitterWidget;
    import _-06J._-4rL;
    import _-06J._-fC;
    import _-06J._-3MP;
    import _-06J.PersonalMessagesWidget;
    import _-06J._-4pi;
    import _-06J.PixelRemovalCreditPromoWidget;
    import _-06J._-1rE;
    import _-06J._-4tV;
    import _-06J._-1mb;
    import _-06J._-34m;
    import _-06J._-lY;
    import _-06J.GenericWidget;
    import _-06J.WidgetContainerWidget;
    import _-3Q9.HabboLandingView;

    public class _-299 
    {

        public static const _-367:String = "homeroombutton";
        public static const _-2nK:String = "twitterfeed";
        public static const _-1vr:String = "avatarinfo";
        public static const _-eI:String = "avatarimage";
        public static const _-0ra:String = "expiringcatalogpage";
        public static const _-2FX:String = "expiringcatalogpagesmall";
        public static const _-2Nu:String = "communitygoal";
        public static const _-1-i:String = "catalogpromo";
        public static const _-0dR:String = "catalogpromosmall";
        public static const _-414:String = "achievementcompetition_hall_of_fame";
        public static const _-2lu:String = "achievementcompetition_prizes";
        public static const _-2Dg:String = "dailyquest";
        public static const _-0VI:String = "nextlimitedrarecountdown";
        public static const _-2tE:String = "habbomoderationpromo";
        public static const _-2h9:String = "habbotalentspromo";
        public static const _-x4:String = "habbowaypromo";
        public static const _-3xU:String = "personalmessages";
        public static const _-4wi:String = "ondutyguides";
        public static const _-0Uo:String = "pixelremovalcreditpromo";
        public static const _-2Ca:String = "fastfoodgamepromo";
        public static const _-2Qz:String = "pixelremovalpromo";
        public static const _-4ko:String = "roomhoppernetwork";
        public static const _-0uV:String = "twitterfeedslot";
        public static const _-3oI:String = "safetyquizpromo";
        public static const _-4Hr:String = "generic";
        public static const _-2oP:String = "widgetcontainer";

        public static function _-3Oh(_arg1:String, _arg2:HabboLandingView):_-487
        {
            var k:_-487;
            switch (_arg1)
            {
                case _-299._-367:
                    k = new _-29(_arg2);
                    break;
                case _-299._-414:
                    k = new CommunityGoalHallOfFameWidget(_arg2);
                    break;
                case _-299._-2lu:
                    k = new CommunityGoalPrizesWidget(_arg2);
                    break;
                case _-299._-eI:
                    k = new AvatarImageWidget(_arg2);
                    break;
                case _-299._-1vr:
                    k = new AvatarInfoWidget(_arg2);
                    break;
                case _-299._-2Nu:
                    k = new CommunityGoalWidget(_arg2);
                    break;
                case _-299._-1-i:
                    k = new CatalogPromoWidget(_arg2);
                    break;
                case _-299._-0dR:
                    k = new _-2Oc(_arg2);
                    break;
                case _-299._-2Dg:
                    k = new _-24g(_arg2);
                    break;
                case _-299._-0ra:
                    k = new _-1Yy(_arg2);
                    break;
                case _-299._-2FX:
                    k = new _-4QD(_arg2);
                    break;
                case _-299._-0VI:
                    k = new NextLimitedRareCountdownWidget(_arg2);
                    break;
                case _-299._-2nK:
                    k = new TwitterWidget(_arg2);
                    break;
                case _-299._-2tE:
                    k = new _-4rL(_arg2);
                    break;
                case _-299._-2h9:
                    k = new _-fC(_arg2);
                    break;
                case _-299._-x4:
                    k = new _-3MP(_arg2);
                    break;
                case _-299._-3xU:
                    k = new PersonalMessagesWidget(_arg2);
                    break;
                case _-299._-4wi:
                    k = new _-4pi(_arg2);
                    break;
                case _-299._-0Uo:
                    k = new PixelRemovalCreditPromoWidget(_arg2);
                    break;
                case _-299._-2Qz:
                    k = new _-1rE(_arg2);
                    break;
                case _-299._-2Ca:
                    k = new _-4tV(_arg2);
                    break;
                case _-299._-4ko:
                    k = new _-1mb(_arg2);
                    break;
                case _-299._-0uV:
                    k = new _-34m(_arg2);
                    break;
                case _-299._-3oI:
                    k = new _-lY(_arg2);
                    break;
                case _-299._-4Hr:
                    k = new GenericWidget(_arg2);
                    break;
                case _-299._-2oP:
                    k = new WidgetContainerWidget(_arg2);
                    break;
            };
            return (k);
        }

    }
}//package _-253

//------------------------------------------------------------
//_-253._-3fj

package _-253
{
    import _-3iu._-487;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-3iu._-4FJ;
    import _-3iu._-29l;
    import _-3iu._-4Fo;
    import _-1B-.*;

    public class _-3fj implements _-1zZ 
    {

        private var _-0dg:_-487;
        private var _-2vO:String;
        private var _-0xq:IWindowContainer;
        private var _-3WC:Boolean;
        private var _-Ll:_-4ie;

        public function _-3fj(_arg1:_-487, _arg2:String, _arg3:_-4ie, _arg4:IWindowContainer=null)
        {
            this._-0dg = _arg1;
            this._-2vO = _arg2;
            this._-Ll = _arg3;
            this._-0xq = _arg4;
        }
        public function dispose():void
        {
            if (this._-0dg)
            {
                this._-0dg.dispose();
                this._-0dg = null;
            };
            if (this._-Ll)
            {
                this._-Ll = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((((this._-0dg == null)) && ((this._-Ll == null))));
        }
        public function refresh(_arg1:IWindowContainer):void
        {
            var k:IWindow;
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("content_background"));
            if (!this._-3WC)
            {
                this._-3WC = true;
                if (this._-2vO != null)
                {
                    k = k.getChildByName(this._-2vO);
                    if (k == null)
                    {
                        return;
                    };
                    this._-0dg.initialize();
                    k.addChildAt(this._-0dg.container, k.getChildIndex(k));
                    this._-0dg.container.x = k.x;
                    this._-0dg.container.y = k.y;
                    k.removeChild(k);
                    k.dispose();
                }
                else
                {
                    if (this._-0xq != null)
                    {
                        this._-0dg.initialize();
                        this._-0xq.addChild(this._-0dg.container);
                    }
                    else
                    {
                        return;
                    };
                };
            };
            if (this._-0dg.container != null)
            {
                if ((((this._-0dg is _-4FJ)) && (!((this._-Ll == null)))))
                {
                    _-4FJ(this._-0dg).settings = this._-Ll;
                };
                this._-0dg.refresh();
            };
        }
        public function get container():IWindow
        {
            return (this._-0dg.container);
        }
        public function _-78():void
        {
            if (((((!((this._-0dg == null))) && (!((this._-0dg.container == null))))) && ((this._-0dg is _-29l))))
            {
                _-29l(this._-0dg)._-78();
            };
        }
        public function disable():void
        {
            if (((((!((this._-0dg == null))) && (!((this._-0dg.container == null))))) && ((this._-0dg is _-4Fo))))
            {
                _-4Fo(this._-0dg).disable();
            };
        }

    }
}//package _-253

//------------------------------------------------------------
//_-253._-4ie

package _-253
{
    import _-4Wu._-4uR;

    public class _-4ie 
    {

        private static const _-4rK:uint = 0xFF000000;
        private static const _-2l9:uint = 0xFFFFFFFF;
        private static const _-1jj:String = "bottom";
        private static const _-4v6:String = "landing.view.common.textcolor";
        private static const _-1Za:String = "landing.view.common.etchingcolor";
        private static const _-ab:String = "landing.view.common.etchingposition";

        private var _-1Ug:uint = 0xFF000000;
        private var _-2Su:uint = 0xFFFFFFFF;
        private var _-0kC:String = "bottom";

        public function _-4ie(_arg1:_-4uR)
        {
            if (_arg1.getKey(_-4v6) != "")
            {
                this._-1Ug = parseInt(_arg1.getKey(_-4v6), 16);
            };
            if (_arg1.getKey(_-1Za) != "")
            {
                this._-2Su = parseInt(_arg1.getKey(_-1Za), 16);
            };
            if (_arg1.getKey(_-ab) != "")
            {
                this._-0kC = _arg1.getKey(_-ab);
            };
        }
        public function get _-2Qs():Boolean
        {
            return (!((this._-1Ug == _-4rK)));
        }
        public function get _-3V7():Boolean
        {
            return (!((this._-2Su == _-2l9)));
        }
        public function get _-3mJ():Boolean
        {
            return (!((this._-0kC == _-1jj)));
        }
        public function get textColor():uint
        {
            return (this._-1Ug);
        }
        public function get etchingColor():uint
        {
            return (this._-2Su);
        }
        public function get etchingPosition():String
        {
            return (this._-0kC);
        }

    }
}//package _-253

//------------------------------------------------------------
//_-253._-4Qc

package _-253
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindowContainer;
    import _-06J._-29;
    import _-1ae.ITextWindow;
    import _-448._-1ZF;
    import _-0Ie.WindowEvent;
    import _-2lx._-X1;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import flash.geom.Rectangle;
    import _-1ae._-4mB;
    import _-3iu._-487;
    import _-3iu._-0aR;
    import _-1B-.*;

    public class _-4Qc implements _-0gI 
    {

        private static const _-1Kk:String = "COLORABLE";
        private static const _-0hG:int = 0;
        private static const _-1GJ:String = "landing_view_generic_reception";
        private static const _-3t2:String = "widget_placeholder_";
        private static const _-15D:Array = ["background_back", "background_front", "background_gradient_top", "background_hotel_top", "background_gradient", "background_right", "background_horizon", "background_left"];

        protected var _-07j:HabboLandingView;
        protected var _-0xv:IWindowContainer;
        protected var _-46:DynamicLayoutManager;
        protected var _-0wv:MovingBackgroundObjects;
        protected var  get:int;
        protected var _-1bf:int;
        private var _-1sb:_-29;
        private var _-4ye:Array;
        private var _-Ll:_-4ie;
        private var _-2kt:String;

        public function _-4Qc(_arg1:HabboLandingView)
        {
            this._-4ye = new Array();
            super();
            this._-07j = _arg1;
            this._-4jm();
            this._-1sb = new _-29(_arg1);
            this._-0wv = new MovingBackgroundObjects(this._-07j);
            this._-Ll = new _-4ie(this._-07j.configurationManager);
            _arg1.registerUpdateReceiver(this, 1000);
        }
        private static function _-3Yl(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array(0);
            _arg1._-507(_-1Kk, k, -1);
            return (k);
        }
        public static function _-5CM(_arg1:IWindowContainer, _arg2:uint):void
        {
            var k:ITextWindow;
            if (_arg1 == null)
            {
                return;
            };
            for each (k in _-3Yl(_arg1))
            {
                k.textColor = _arg2;
            };
        }
        public static function _-0GI(_arg1:IWindowContainer, _arg2:uint):void
        {
            var k:ITextWindow;
            if (_arg1 == null)
            {
                return;
            };
            for each (k in _-3Yl(_arg1))
            {
                k.etchingColor = _arg2;
            };
        }
        public static function _-1ql(_arg1:IWindowContainer, _arg2:String):void
        {
            var k:ITextWindow;
            if (_arg1 == null)
            {
                return;
            };
            for each (k in _-3Yl(_arg1))
            {
                k.etchingPosition = _arg2;
            };
        }
        public static function _-rh(_arg1:IWindowContainer, _arg2:_-4ie):void
        {
            var k:ITextWindow;
            if (_arg1 == null)
            {
                return;
            };
            if (((((_arg2._-2Qs) || (_arg2._-3V7))) || (_arg2._-3mJ)))
            {
                for each (k in _-3Yl(_arg1))
                {
                    k.textColor = ((_arg2._-2Qs) ? _arg2.textColor : k.textColor);
                    k.etchingColor = ((_arg2._-3V7) ? _arg2.etchingColor : k.etchingColor);
                    k.etchingPosition = ((_arg2._-3mJ) ? _arg2.etchingPosition : k.etchingPosition);
                };
            };
        }

        public function update(_arg1:uint):void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-0wv.update(_arg1);
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function dispose():void
        {
            var k:_-3fj;
            if (this._-07j)
            {
                this._-07j.removeUpdateReceiver(this);
            };
            this._-07j = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-4ye)
            {
                for each (k in this._-4ye)
                {
                    k.dispose();
                };
                this._-4ye = null;
            };
            if (this._-1sb)
            {
                if (this._-1sb.container)
                {
                    this._-1sb.container.dispose();
                };
                this._-1sb.dispose();
            };
            if (this._-0wv)
            {
                this._-0wv.dispose();
                this._-0wv = null;
            };
            if (this._-46)
            {
                this._-46.dispose();
                this._-46 = null;
            };
            if (this._-Ll)
            {
                this._-Ll = null;
            };
        }
        public function activate():void
        {
            var k:_-3fj;
            if (this._-0xv == null)
            {
                this.createWindow();
                this._-2nq();
                this._-07j.communicationManager.addHabboConnectionMessageEvent(new _-1ZF(this._-1Zu));
                this._-2kt = this._-07j.configurationManager.getKey("landing.view.bgtiming");
            };
            for each (k in this._-4ye)
            {
                k.refresh(this._-0xv);
            };
            if (!this._-1sb.container)
            {
                this._-1sb.initialize();
            };
            this._-1sb.container.visible = true;
            this.resizeWindow();
            this._-07j.windowManager.getWindowContext(_-0hG).getDesktopWindow().addEventListener(WindowEvent._-3K0, this._-0QH);
            this._-0xv.invalidate();
            if (this._-49Y != null)
            {
                this._-07j.navigator._-2Yo(this._-49Y);
            };
            this._-pB();
            this._-07j.send(new _-X1(this._-2kt));
            this._-0xv.visible = true;
        }
        private function get _-49Y():Point
        {
            var _local2:Point;
            var k:IWindow = this._-0xv.findChildByName("navigator_placer");
            if (k == null)
            {
                return (null);
            };
            _local2 = new Point();
            k.getGlobalPosition(_local2);
            return (_local2);
        }
        public function disable():void
        {
            var k:_-3fj;
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
                if (((this._-1sb) && (this._-1sb.container)))
                {
                    this._-1sb.container.visible = false;
                };
            };
            for each (k in this._-4ye)
            {
                k.disable();
            };
        }
        protected function createWindow():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            var k:String = this._-2zX();
            this._-0xv = IWindowContainer(this._-07j.getXmlWindow(k, 0));
            if (this._-07j.configurationManager.getBoolean("landing.view.right_pane_dimmer.hidden", false))
            {
                if (this._-0xv.findChildByName("right_pane_dimmer") != null)
                {
                    this._-0xv.findChildByName("right_pane_dimmer").visible = false;
                };
            };
            this._-13R();
            this._-vw();
        }
        protected function _-13R():void
        {
            this. get = this._-0xv.width;
            this._-1bf = this._-0xv.height;
        }
        protected function _-vw():void
        {
            var k:String;
            var k:IWindow = this._-0xv.findChildByName("widget_placeholder_bottom_slot");
            if (k != null)
            {
                k = this._-07j.configurationManager.getKey("landing.view.dynamic.slot.6.widget");
                if (k == "")
                {
                    k.visible = false;
                }
                else
                {
                    k.name = ("widget_placeholder_" + k);
                };
            };
        }
        private function _-2zX():String
        {
            return (this._-07j.configurationManager.getKey("landing.view.layoutxml", _-1GJ));
        }
        private function _-2uC():Boolean
        {
            return ((this._-2zX() == _-1GJ));
        }
        private function _-pB():void
        {
            var k:IWindow;
            if (this._-0xv.findChildByName("squirrel_zeppelin"))
            {
                k = this._-0xv.findChildByName("twitter_caption");
                if (k)
                {
                    k.visible = false;
                };
            };
        }
        protected function resizeWindow():void
        {
            var k:_-3fj;
            if (this._-0xv != null)
            {
                if (this._-46 != null)
                {
                    this._-4wm();
                }
                else
                {
                    this._-pm();
                };
                this._-0xv.invalidate();
            };
            for each (k in this._-4ye)
            {
                k._-78();
            };
        }
        private function _-4wm():void
        {
            var k:Rectangle = this._-0xv.desktop.rectangle;
            this._-0xv.width = k.width;
            this._-0xv.height = k.height;
            var k:int = (this._-1bf - k.height);
            var k:int = (this. get - k.width);
            this._-46.resizeTo((this._-46.topItemListInitialWidth - k), (this._-46.topItemListInitialHeight - k));
            this._-46.scrollbarRightEdgeRelativeToScreen = Math.min(this._-0xv.width, (k.width + this.window.x));
        }
        private function _-pm():void
        {
            this._-0xv.x = 0;
            this._-0xv.y = 0;
            var k:Rectangle = this._-0xv.desktop.rectangle;
            this._-0xv.x = Math.max(0, ((k.width - this._-0xv.width) / 2));
            if ((((k.height > this._-0xv.height)) || (this._-2uC())))
            {
                this._-0xv.y = Math.max(0, ((k.height - this._-0xv.height) / 2));
            }
            else
            {
                this._-0xv.y = (k.height - this._-0xv.height);
            };
        }
        protected function _-0QH(_arg1:WindowEvent):void
        {
            this.resizeWindow();
        }
        private function _-3mT(_arg1:String):void
        {
            var k:String;
            var k:_-4mB;
            var _local4:String;
            k = (((((_arg1 == null)) || ((_arg1 == "")))) ? "" : (_arg1 + "."));
            for each (k in _-15D)
            {
                k = _-4mB(this._-0xv.findChildByName(k));
                if (k)
                {
                    if (this._-07j.configurationManager.getKey(((("landing.view." + k) + k) + ".visible")) == "false")
                    {
                        k.visible = false;
                    }
                    else
                    {
                        k.visible = true;
                        _local4 = this._-07j.configurationManager.getKey(((("landing.view." + k) + k) + ".uri"), null);
                        if (((((!((k.assetUri == _local4))) && (!((_local4 == null))))) && (!((_local4 == "")))))
                        {
                            k.assetUri = _local4;
                        };
                    };
                };
            };
        }
        private function _-4jm():void
        {
            this._-4-6(_-299._-367);
            this._-4-6(_-299._-2nK);
            this._-4-6(_-299._-1vr);
            this._-4-6(_-299._-eI);
            this._-4-6(_-299._-0ra);
            this._-4-6(_-299._-2FX);
            this._-4-6(_-299._-2Nu);
            this._-4-6(_-299._-1-i);
            this._-4-6(_-299._-414);
            this._-4-6(_-299._-2lu);
            this._-4-6(_-299._-2Dg);
            this._-4-6(_-299._-0VI);
            this._-4-6(_-299._-2tE);
            this._-4-6(_-299._-2h9);
            this._-4-6(_-299._-x4);
            this._-4-6(_-299._-3xU);
            this._-4-6(_-299._-4wi);
            this._-4-6(_-299._-0Uo);
            this._-4-6(_-299._-2Qz);
            this._-4-6(_-299._-2Ca);
            this._-4-6(_-299._-3oI);
            this._-4-6(_-299._-4Hr);
            this._-4-6(_-299._-2oP);
        }
        private function _-4-6(_arg1:String):void
        {
            var k:_-487 = _-299._-3Oh(_arg1, this._-07j);
            this._-4ye.push(new _-3fj(k, (_-3t2 + _arg1), this._-Ll));
        }
        private function _-2nq():void
        {
            var k:String;
            var k:_-487;
            if (this._-0xv.findChildByName(DynamicLayoutManager._-4QQ) == null)
            {
                _-Nb.log("ERROR! Tried to initialize dynamic widget list for landing view without the dynamic element present");
                return;
            };
            this._-46 = new DynamicLayoutManager(this, this._-Ll);
            var k:int;
            while (k < 6)
            {
                k = this._-07j.configurationManager.getKey((("landing.view.dynamic.slot." + (k + 1)) + ".widget"), null);
                k = _-299._-3Oh(k, this._-07j);
                if (k != null)
                {
                    if ((k is _-0aR))
                    {
                        _-0aR(k).slot = (k + 1);
                    };
                    this._-4ye.push(new _-3fj(k, null, this._-Ll, this._-46._-1Md(k)));
                };
                k++;
            };
            if (this._-07j.configurationManager.getBoolean("landing.view.dynamic.slot.5.ignore", false))
            {
                this._-46._-0NV = true;
            };
            if (this._-07j.configurationManager.getBoolean("landing.view.dynamic.slot.4.separator", false))
            {
                this._-46._-28f(4, this._-07j.configurationManager.getKey("landing.view.dynamic.slot.4.title"));
            };
            if (this._-07j.configurationManager.getBoolean("landing.view.dynamic.slot.5.separator", false))
            {
                this._-46._-28f(5, this._-07j.configurationManager.getKey("landing.view.dynamic.slot.5.title"));
            };
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get landingView():HabboLandingView
        {
            return (this._-07j);
        }
        private function _-1Zu(_arg1:_-1ZF):void
        {
            if ((((_arg1._-3-5()._-4Zp == this._-2kt)) && (this._-07j)))
            {
                this._-3mT(_arg1._-3-5().code);
                this._-0wv._-2b8 = _arg1._-3-5().code;
                this._-0wv.initialize(this._-0xv);
            };
        }

    }
}//package _-253

//------------------------------------------------------------
//_-253.DynamicLayoutManager

package _-253
{
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import __AS3__.vec.Vector;
    import _-Ew.IWindow;
    import _-1ae.IScrollbarWindow;
    import _-0Ie.WindowEvent;
    import _-1ae.ITextWindow;
    import flash.geom.Rectangle;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class DynamicLayoutManager implements _-1zZ 
    {

        public static const _-4QQ:String = "placeholder_dynamic_widget_slots";
        public static const _-4P1:int = 500;
        public static const _-2SL:int = 250;
        public static const _-38o:int = 230;
        private static const _-18X:int = 5;
        private static const _-15N:int = 6;
        private static const _-3Dr:int = 360;

        private var _-2YF:_-4Qc;
        private var _-4t7:IItemListWindow;
        private var _-3WJ:IItemListWindow;
        private var _-3dn:IItemListWindow;
        private var _-1II:IWindowContainer;
        private var _-5EI:IItemListWindow;
        private var _-2Fc:IWindowContainer;
        private var _-er:Vector.<IWindowContainer>;
        private var _-1Mr:IItemListWindow;
        private var _-0mV:IItemListWindow;
        private var _-1s1:IWindowContainer;
        private var _-351:IWindow;
        private var _-12P:IScrollbarWindow;
        private var _-0xv:IWindowContainer;
        private var _-2Z6:Boolean = false;
        private var _-Ll:_-4ie;
        private var _-0iR:int = 10;
        private var _-Bw:int = 50;
        private var _-oV:int = 10;
        private var _-49Z:int = 80;
        private var _-0cd:int = 10;
        private var _-0Kt:int = 60;
        private var _-iQ:int = -1;
        private var _-a1:int = -1;
        private var _-3WC:Boolean = false;
        private var _-4G3:IWindow = null;

        public function DynamicLayoutManager(_arg1:_-4Qc, _arg2:_-4ie)
        {
            this._-er = new Vector.<IWindowContainer>(_-18X);
            super();
            this._-2YF = _arg1;
            this._-Ll = _arg2;
            this._-0xv = IWindowContainer(this._-2YF.landingView.getXmlWindow("dynamic_widget_grid"));
            var k:IWindow = this._-2YF.window.findChildByName(_-4QQ);
            var k:IWindowContainer = IWindowContainer(k.parent);
            k.addChildAt(this._-0xv, k.getChildIndex(k));
            k.removeChild(k);
            this._-4t7 = IItemListWindow(this._-0xv.findChildByName("widgetlist_fromtop"));
            this._-1II = IWindowContainer(this._-0xv.findChildByName("center_slots_container"));
            this._-3WJ = IItemListWindow(this._-0xv.findChildByName("widget_slots_center_scrollable"));
            this._-3dn = IItemListWindow(this._-0xv.findChildByName("widget_slots_center_left"));
            this._-5EI = IItemListWindow(this._-0xv.findChildByName("widget_slots_center_right"));
            this._-2Fc = IWindowContainer(this._-0xv.findChildByName("widget_slots_right"));
            this._-1Mr = IItemListWindow(this._-0xv.findChildByName("widget_slot_4_root"));
            this._-0mV = IItemListWindow(this._-0xv.findChildByName("widget_slot_5_root"));
            this._-351 = this._-2YF.landingView.getXmlWindow("dynamic_widget_grid_separator");
            var k:int;
            while (k < 6)
            {
                this._-er[k] = IWindowContainer(this._-0xv.findChildByName(("widget_slot_" + (k + 1))));
                if (this._-er[k] != null)
                {
                    this._-er[k].addEventListener(WindowEvent._-3K0, this._-4SY);
                };
                k++;
            };
            this._-12P = IScrollbarWindow(this._-0xv.findChildByName("center_container_scrollbar"));
            this._-1s1 = IWindowContainer(this._-0xv.findChildByName("scroll_extra_space_container"));
        }
        public function dispose():void
        {
            var k:int;
            if (!this.disposed)
            {
                k = 0;
                while (k < 6)
                {
                    if (this._-er[k])
                    {
                        this._-er[k].dispose();
                    };
                    this._-er[k] = null;
                    k++;
                };
                if (this._-0xv)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                this._-2YF = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2YF == null));
        }
        public function _-1Md(_arg1:int):IWindowContainer
        {
            return (this._-er[_arg1]);
        }
        public function _-28f(_arg1:int, _arg2:String):void
        {
            var k:IItemListWindow;
            var k:ITextWindow;
            switch (_arg1)
            {
                case 4:
                    k = this._-1Mr;
                    break;
                case 5:
                    k = this._-0mV;
                    break;
                default:
                    k = null;
            };
            if (k)
            {
                if (k.numListItems < 2)
                {
                    k._-kE(this._-351.clone(), 0);
                };
                k = ITextWindow(IItemListWindow(k.getListItemAt(0)).getListItemByName("separator_title"));
                k.caption = (("${" + _arg2) + "}");
                if (this._-Ll != null)
                {
                    if (this._-Ll._-2Qs)
                    {
                        k.textColor = this._-Ll.textColor;
                    };
                    if (this._-Ll._-3V7)
                    {
                        k.etchingColor = this._-Ll.etchingColor;
                    };
                    if (this._-Ll._-3mJ)
                    {
                        k.etchingPosition = this._-Ll.etchingPosition;
                    };
                };
            };
        }
        private function _-2Xs(_arg1:int):Boolean
        {
            return ((this._-er[_arg1].numChildren > 0));
        }
        public function resizeTo(_arg1:int, _arg2:int):void
        {
            this._-4t7.height = Math.min(_arg2, this.topItemListInitialHeight);
            this._-4t7.height = Math.max(_-3Dr, this._-4t7.height);
            this._-4t7.width = Math.min(_arg1, this.topItemListInitialWidth);
            this._-3AS();
        }
        public function set scrollbarRightEdgeRelativeToScreen(_arg1:int):void
        {
            var k:int = this._-2YF.window.width;
            k = (Math.min(_arg1, k) - this._-0xv.x);
            this._-12P.x = (k - this._-12P.width);
        }
        public function get topItemListInitialHeight():int
        {
            if (this._-iQ == -1)
            {
                this._-iQ = this._-4t7.height;
            };
            return (this._-iQ);
        }
        public function get topItemListInitialWidth():int
        {
            if (this._-a1 == -1)
            {
                this._-a1 = this._-4t7.width;
            };
            return (this._-a1);
        }
        private function _-3AS():void
        {
            var k:int;
            this._-0r9();
            this._-hM();
            this._-090();
            this._-Rc();
            this._-2DW((this._-1SE - this._-4t7.height));
            this._-4SY();
            this._-4tg();
            this._-4KY();
            if (!this._-3WC)
            {
                k = 0;
                while (k < 6)
                {
                    if (this._-er[k] != null)
                    {
                        this._-er[k].addEventListener(WindowEvent._-3K0, this._-2EH);
                    };
                    k++;
                };
            };
            this._-3WC = true;
            this._-4G3 = null;
        }
        private function _-2EH(_arg1:WindowEvent=null):void
        {
            if (this._-4G3 == null)
            {
                this._-4G3 = _arg1.window;
                this._-3AS();
            };
        }
        private function _-0r9():void
        {
            if (!this._-2Xs(0))
            {
                this._-er[0].height = 0;
            };
            var k:int = 1;
            while (k <= 4)
            {
                if (!this._-2Xs(k))
                {
                    this._-er[k].height = 1;
                };
                k++;
            };
        }
        private function _-090():void
        {
            var k:int;
            if (((this._-2Xs(3)) || (this._-2Xs(4))))
            {
                k = Math.max(this._-er[3].height, this._-er[4].height);
                this._-er[3].height = k;
                this._-er[4].height = k;
                if (this._-2Xs(3))
                {
                    this._-er[3].getChildAt(0).y = 0;
                    this._-er[3].width = _-4P1;
                };
                if (this._-2Xs(4))
                {
                    this._-er[4].getChildAt(0).y = 0;
                    this._-er[4].width = _-2SL;
                };
            };
        }
        private function _-hM():int
        {
            var k:int;
            if (((this._-2Xs(1)) || (this._-2Xs(2))))
            {
                if (!this._-2Z6)
                {
                    k = Math.max(this._-er[1].height, this._-er[2].height);
                    this._-er[1].height = k;
                    this._-er[2].height = k;
                };
                if (this._-2Xs(1))
                {
                    this._-er[1].getChildAt(0).y = 0;
                    this._-er[1].width = _-4P1;
                };
                if (this._-2Xs(2))
                {
                    this._-er[2].getChildAt(0).y = 0;
                    this._-er[2].width = _-2SL;
                };
            };
            return (k);
        }
        private function _-4KY():void
        {
            var k:int = (this._-a1 - this._-4t7.width);
            if (k > (this._-0Kt - this._-0cd))
            {
                this._-3WJ.spacing = this._-0cd;
            }
            else
            {
                this._-3WJ.spacing = Math.min(this._-0Kt, (this._-0Kt - k));
            };
        }
        private function _-2DW(_arg1:int):void
        {
            var k:int = (this._-Bw - this._-0iR);
            var k:int = (this._-49Z - this._-oV);
            k = (_arg1 + (this._-0iR + this._-oV));
            if (k <= 0)
            {
                this._-4t7.spacing = this._-oV;
                this._-3dn.spacing = this._-Bw;
                this._-5EI.spacing = this._-Bw;
            }
            else
            {
                if (k < k)
                {
                    this._-4t7.spacing = this._-oV;
                    this._-3dn.spacing = (this._-Bw - k);
                    this._-5EI.spacing = (this._-Bw - k);
                }
                else
                {
                    if (k < (k + k))
                    {
                        this._-4t7.spacing = this._-oV;
                        this._-3dn.spacing = this._-0iR;
                        this._-5EI.spacing = this._-0iR;
                    }
                    else
                    {
                        this._-4t7.spacing = this._-oV;
                        this._-3dn.spacing = this._-0iR;
                        this._-5EI.spacing = this._-0iR;
                    };
                };
            };
        }
        private function _-4tg():void
        {
            this._-4t7.invalidate();
            if (this._-4t7.height < (this._-1SE - _-15N))
            {
                this._-12P.y = this._-4t7.y;
                this._-12P.height = this._-4t7.height;
                this._-12P.visible = true;
                this._-12P.scrollV = 0;
                this._-1s1.y = this._-1SE;
                this._-1s1.height = 25;
            }
            else
            {
                this._-1s1.y = 0;
                this._-1s1.height = 1;
            };
        }
        private function _-Rc():void
        {
            this._-3WJ.spacing = this._-0Kt;
            this._-3dn.spacing = this._-Bw;
            this._-5EI.spacing = this._-Bw;
            this._-4t7.spacing = this._-49Z;
            this._-12P.visible = false;
            this._-3dn.invalidate();
            this._-5EI.invalidate();
            this._-3WJ.invalidate();
            this._-4t7.invalidate();
            this._-1II.invalidate();
        }
        private function get _-1SE():int
        {
            var k:int;
            var k:int;
            var k:int;
            while (k < this._-4t7.numListItems)
            {
                k = this._-4t7.getListItemAt(k).height;
                k = (k + k);
                if (k > 0)
                {
                    k = (k + this._-4t7.spacing);
                };
                k++;
            };
            return (k);
        }
        private function _-4SY(_arg1:WindowEvent=null):void
        {
            if (((!((_arg1 == null))) && (!(this._-3WC))))
            {
                return;
            };
            this._-3dn.invalidate();
            this._-5EI.invalidate();
            this._-3WJ.height = Math.max(this._-3dn.height, this._-5EI.height);
            this._-1II.height = Math.max(this._-3dn.height, this._-5EI.height);
        }
        public function set _-0NV(_arg1:Boolean):void
        {
            this._-2Z6 = _arg1;
        }
        private function _-44A():void
        {
            _-Nb.log("***** Final positions *****");
            var k:Rectangle = new Rectangle();
            this._-0xv.getGlobalRectangle(k);
            _-Nb.log(("Window rect\t\t\t\t\t\t: " + k));
            this._-4t7.getGlobalRectangle(k);
            _-Nb.log(("All items list rect\t\t\t\t: " + k));
            this._-1II.getGlobalRectangle(k);
            _-Nb.log(("Center container itemlist rect\t: " + k));
            this._-3WJ.getGlobalRectangle(k);
            _-Nb.log(("Center itemlist rect\t\t\t: " + k));
            this._-3dn.getGlobalRectangle(k);
            _-Nb.log(("Left pane itemlist rect\t\t\t: " + k));
            this._-5EI.getGlobalRectangle(k);
            _-Nb.log(("Right pane itemlist rect\t\t: " + k));
            this._-2Fc.getGlobalRectangle(k);
            _-Nb.log(("Right pane container rect\t\t: " + k));
            var k:int;
            while (k < 5)
            {
                this._-er[k].getGlobalRectangle(k);
                _-Nb.log(((("Slot " + k) + " rect\t\t\t    : ") + k));
                k++;
            };
        }

    }
}//package _-253

//------------------------------------------------------------
//_-253.MovingBackgroundObjects

package _-253
{
    import _-3Q9.HabboLandingView;
    import _-18r.Map;
    import flash.events.EventDispatcher;
    import _-1Gd._-bI;
    import _-1Gd._-Vf;
    import _-Ew.IWindowContainer;
    import _-1B-.*;
    import _-1Gd.*;

    public class MovingBackgroundObjects implements _-1zZ, _-0gI 
    {

        private static const _-22k:int = 20;

        private var _-07j:HabboLandingView;
        private var _-2UP:Array;
        private var _-11V:Map;
        private var _-2Te:EventDispatcher;
        private var _-00g:String = "";

        public function MovingBackgroundObjects(_arg1:HabboLandingView)
        {
            this._-2UP = [];
            this._-11V = new Map();
            this._-2Te = new EventDispatcher();
            super();
            this._-07j = _arg1;
            this._-5C4();
        }
        private function _-5C4():void
        {
            this._-11V.add(_-bI._-0gS, _-bI._-3Ad);
            this._-11V.add(_-bI._-rG, _-bI._-30k);
            this._-11V.add(_-bI._-3RC, _-bI._-11x);
            this._-11V.add(_-bI._-2F6, _-bI._-25Y);
        }
        public function dispose():void
        {
            var k:_-Vf;
            this._-07j = null;
            for each (k in this._-2UP)
            {
                k.dispose();
            };
            this._-2UP = null;
            this._-11V.reset();
            this._-11V = null;
            this._-2Te = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-07j == null));
        }
        public function initialize(_arg1:IWindowContainer):void
        {
            var k:String;
            var k:_-Vf;
            k = IWindowContainer(_arg1.findChildByName("moving_objects_container"));
            if (k == null)
            {
                return;
            };
            var k:int = 1;
            while (k <= _-22k)
            {
                if (this._-00g == "")
                {
                    k = this._-07j.configurationManager.getKey(("landing.view.bgobject." + k), "");
                }
                else
                {
                    k = this._-07j.configurationManager.getKey(((("landing.view." + this._-00g) + ".bgobject.") + k), "");
                };
                if (k != "")
                {
                    k = this._-At(k, k, k);
                    if (k != null)
                    {
                        this._-2UP.push(k);
                    };
                };
                k++;
            };
        }
        public function update(_arg1:uint):void
        {
            var k:_-Vf;
            for each (k in this._-2UP)
            {
                k.update(_arg1);
            };
        }
        private function _-At(_arg1:int, _arg2:String, _arg3:IWindowContainer):_-Vf
        {
            var k:String;
            var k:Class;
            var k:Array = _arg2.split(";");
            if (k.length >= 2)
            {
                k = k[1];
                k = this._-11V.getValue(k);
                if (k != null)
                {
                    return (new k(_arg1, _arg3, this._-2Te, this._-07j, _arg2));
                };
            };
            return (null);
        }
        public function set _-2b8(_arg1:String):void
        {
            this._-00g = _arg1;
        }

    }
}//package _-253

//------------------------------------------------------------
//_-25N. in

package _-25N
{
    import _-Ew.IWindow;

    public interface  in 
    {

        function get _-4QH():Array;
        function get _-4T():uint;
        function set _-4T(_arg1:uint):void;
        function dispose():void;
        function begin(_arg1:IWindow, _arg2:uint=0):IWindow;
        function end(_arg1:IWindow):IWindow;

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-08C

package _-25N
{
    import flash.display.DisplayObject;
    import _-Ew.WindowController;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class _-08C implements _-1zZ 
    {

        protected var _-0J9:DisplayObject;
        protected var _-0xv:WindowController;
        protected var _-2Ed:Boolean;
        protected var _-1fe:Point;
        protected var _-3bL:Point;
        protected var _-0BG:Point;
        protected var _-3yf:uint;
        private var _disposed:Boolean = false;

        public function _-08C(_arg1:DisplayObject)
        {
            this._-0J9 = _arg1;
            this._-0BG = new Point();
            this._-3bL = new Point();
            this._-1fe = new Point();
            this._-2Ed = false;
            this._-3yf = 0;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this.end(this._-0xv);
            this._-1fe = null;
            this._-3bL = null;
            this._-0BG = null;
            this._-0J9 = null;
            this._disposed = true;
        }
        public function begin(_arg1:IWindow, _arg2:uint=0):IWindow
        {
            this._-3yf = _arg2;
            var k:IWindow = this._-0xv;
            if (this._-0xv != null)
            {
                this.end(this._-0xv);
            };
            if (((_arg1) && (!(_arg1.disposed))))
            {
                this._-0J9.addEventListener(MouseEvent.MOUSE_DOWN, this.handler, false);
                this._-0J9.addEventListener(MouseEvent.MOUSE_UP, this.handler, false);
                this._-0J9.addEventListener(Event.ENTER_FRAME, this.handler);
                this._-3bL.x = this._-0J9.mouseX;
                this._-3bL.y = this._-0J9.mouseY;
                this._-0xv = WindowController(_arg1);
                this._-0o4(_arg1, this._-3bL, this._-1fe);
                this._-0xv.addEventListener(WindowEvent._-Lx, this._-ov);
                this._-2Ed = true;
            };
            return (k);
        }
        public function end(_arg1:IWindow):IWindow
        {
            var k:IWindow = this._-0xv;
            if (this._-2Ed)
            {
                if (this._-0xv == _arg1)
                {
                    this._-0J9.removeEventListener(MouseEvent.MOUSE_DOWN, this.handler, false);
                    this._-0J9.removeEventListener(MouseEvent.MOUSE_UP, this.handler, false);
                    this._-0J9.removeEventListener(Event.ENTER_FRAME, this.handler);
                    if (!this._-0xv.disposed)
                    {
                        this._-0xv.removeEventListener(WindowEvent._-Lx, this._-ov);
                    };
                    this._-0xv = null;
                    this._-2Ed = false;
                };
            };
            return (k);
        }
        protected function handler(_arg1:Event):void
        {
            var k:MouseEvent;
            if (this._-2Ed)
            {
                if (_arg1.type == Event.ENTER_FRAME)
                {
                    if (this._-0xv.disposed)
                    {
                        this.end(this._-0xv);
                    }
                    else
                    {
                        if (((!((this._-3bL.x == this._-0J9.mouseX))) || (!((this._-3bL.y == this._-0J9.mouseY)))))
                        {
                            this.operate(this._-0J9.mouseX, this._-0J9.mouseY);
                            this._-3bL.x = this._-0J9.mouseX;
                            this._-3bL.y = this._-0J9.mouseY;
                        };
                    };
                    return;
                };
                k = (_arg1 as MouseEvent);
                if (k != null)
                {
                    switch (k.type)
                    {
                        case MouseEvent.MOUSE_UP:
                            this.end(this._-0xv);
                            return;
                    };
                };
            };
        }
        public function operate(_arg1:int, _arg2:int):void
        {
            this._-3bL.x = _arg1;
            this._-3bL.y = _arg2;
            this._-0o4(this._-0xv, this._-3bL, this._-0BG);
            this._-0xv.offset((this._-0BG.x - this._-1fe.x), (this._-0BG.y - this._-1fe.y));
        }
        private function _-ov(_arg1:WindowEvent):void
        {
            this.end(this._-0xv);
        }
        protected function _-0o4(_arg1:IWindow, _arg2:Point, _arg3:Point):void
        {
            _arg1.getGlobalPosition(_arg3);
            _arg3.x = (_arg2.x - _arg3.x);
            _arg3.y = (_arg2.y - _arg3.y);
        }

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-0gL

package _-25N
{
    import _-09j.MouseListenerType;
    import flash.display.DisplayObject;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import flash.geom.Point;
    import flash.events.Event;

    public class _-0gL extends _-08C implements  in 
    {

        private var _-0Hh:Array;
        private var _-40s:uint;

        public function _-0gL(_arg1:DisplayObject)
        {
            this._-0Hh = new Array();
            this._-40s = MouseListenerType._-1Xj;
            super(_arg1);
        }
        public function get _-4QH():Array
        {
            return (this._-0Hh);
        }
        public function get _-4T():uint
        {
            return (this._-40s);
        }
        public function set _-4T(_arg1:uint):void
        {
            this._-40s = _arg1;
        }
        override public function end(_arg1:IWindow):IWindow
        {
            var k:int = this._-0Hh.length;
            while (k > 0)
            {
                this._-0Hh.pop();
                k--;
            };
            return (super.end(_arg1));
        }
        override protected function handler(_arg1:Event):void
        {
            var k:Boolean;
            if (((_-2Ed) && (!(_-0xv.disposed))))
            {
                if (this._-0Hh.indexOf(_arg1.type) >= 0)
                {
                    if ((_arg1 is WindowMouseEvent))
                    {
                        k = _-0xv.hitTestGlobalPoint(new Point(WindowMouseEvent(_arg1).stageX, WindowMouseEvent(_arg1).stageY));
                        if ((((this._-40s == MouseListenerType._-E8)) && (!(k))))
                        {
                            return;
                        };
                        if ((((this._-40s == MouseListenerType._-4El)) && (k)))
                        {
                            return;
                        };
                    };
                    _-0xv.update(null, WindowMouseEvent(_arg1));
                };
            };
        }
        override public function operate(_arg1:int, _arg2:int):void
        {
        }

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-0Gl

package _-25N
{
    import _-Ew.IWindow;

    public interface _-0Gl 
    {

        function dispose():void;
        function begin(_arg1:IWindow, _arg2:uint=0):IWindow;
        function end(_arg1:IWindow):IWindow;

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-0M

package _-25N
{
    import _-1ae._-0HO;
    import _-1B-.*;

    public interface _-0M extends _-1zZ 
    {

        function registerFocusWindow(_arg1:_-0HO):void;
        function removeFocusWindow(_arg1:_-0HO):void;

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-152

package _-25N
{
    import flash.display.DisplayObject;
    import _-09j.WindowParam;

    public class _-152 extends _-08C implements _-5BC 
    {

        public function _-152(_arg1:DisplayObject)
        {
            super(_arg1);
        }
        override public function operate(_arg1:int, _arg2:int):void
        {
            var k:int;
            var k:int;
            if (!_-0xv.disposed)
            {
                k = (((_-3yf & WindowParam._-21i)) ? (_arg1 - _-3bL.x) : 0);
                k = (((_-3yf & WindowParam._-4rz)) ? (_arg2 - _-3bL.y) : 0);
                _-0xv.scale(k, k);
            };
        }

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-1q

package _-25N
{
    import _-Ew.IWindow;

    public interface _-1q 
    {

        function dispose():void;
        function begin(_arg1:IWindow, _arg2:Function, _arg3:uint, _arg4:int, _arg5:int):IWindow;
        function end(_arg1:IWindow):IWindow;

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-27H

package _-25N
{
    import _-1ae._-25T;
    import flash.utils.Timer;
    import flash.geom.Point;
    import flash.display.DisplayObject;
    import _-1ae.IInteractiveWindow;
    import flash.events.TimerEvent;
    import _-Ew.IWindow;
    import _-09j.WindowType;
    import _-09j.WindowParam;

    public class _-27H extends _-08C implements _-4AV 
    {

        protected var _-29x:String;
        protected var _-3Wo:_-25T;
        protected var _-5Di:Timer;
        protected var _-2I:Point;
        protected var _-4SN:Point;
        protected var _-1-f:uint;

        public function _-27H(_arg1:DisplayObject)
        {
            this._-4SN = new Point();
            this._-2I = new Point(20, 20);
            this._-1-f = 500;
            super(_arg1);
        }
        override public function begin(_arg1:IWindow, _arg2:uint=0):IWindow
        {
            if (((_arg1) && (!(_arg1.disposed))))
            {
                if ((_arg1 is IInteractiveWindow))
                {
                    this._-29x = IInteractiveWindow(_arg1)._-2QR;
                    this._-1-f = IInteractiveWindow(_arg1)._-1e;
                }
                else
                {
                    this._-29x = _arg1.caption;
                    this._-1-f = 500;
                };
                _-3bL.x = _-0J9.mouseX;
                _-3bL.y = _-0J9.mouseY;
                _-0o4(_arg1, _-3bL, this._-4SN);
                if (this._-5Di == null)
                {
                    this._-5Di = new Timer(this._-1-f, 1);
                    this._-5Di.addEventListener(TimerEvent.TIMER, this._-4H7);
                };
                this._-5Di.reset();
                this._-5Di.start();
            };
            return (super.begin(_arg1, _arg2));
        }
        override public function end(_arg1:IWindow):IWindow
        {
            if (this._-5Di != null)
            {
                this._-5Di.stop();
                this._-5Di.removeEventListener(TimerEvent.TIMER, this._-4H7);
                this._-5Di = null;
            };
            this._-4IH();
            return (super.end(_arg1));
        }
        override public function operate(_arg1:int, _arg2:int):void
        {
            if (((_-0xv) && (!(_-0xv.disposed))))
            {
                _-3bL.x = _arg1;
                _-3bL.y = _arg2;
                _-0o4(_-0xv, _-3bL, this._-4SN);
                if (((!((this._-3Wo == null))) && (!(this._-3Wo.disposed))))
                {
                    this._-3Wo.x = (_arg1 + this._-2I.x);
                    this._-3Wo.y = (_arg2 + this._-2I.y);
                };
            };
        }
        protected function _-4H7(_arg1:TimerEvent):void
        {
            var k:Point;
            if (this._-5Di != null)
            {
                this._-5Di.reset();
            };
            if (((_-0xv) && (!(_-0xv.disposed))))
            {
                if ((_-0xv is IInteractiveWindow))
                {
                    this._-29x = IInteractiveWindow(_-0xv)._-2QR;
                }
                else
                {
                    this._-29x = _-0xv.caption;
                };
                if ((((this._-3Wo == null)) || (this._-3Wo.disposed)))
                {
                    this._-3Wo = (_-0xv.context.create((_-0xv.name + "::ToolTip"), this._-29x, WindowType._-2qK, _-0xv.style, (WindowParam._-JK | WindowParam._-Lm), null, null, null, 0, null, null) as _-25T);
                };
                k = new Point();
                _-0xv.getGlobalPosition(k);
                this._-3Wo.x = ((k.x + this._-4SN.x) + this._-2I.x);
                this._-3Wo.y = ((k.y + this._-4SN.y) + this._-2I.y);
                this._-3Wo.visible = (this._-3Wo.caption.length > 0);
            };
        }
        protected function _-4IH():void
        {
            if (((!((this._-3Wo == null))) && (!(this._-3Wo.disposed))))
            {
                this._-3Wo.destroy();
                this._-3Wo = null;
            };
        }
        public function updateCaption(_arg1:IWindow):void
        {
            var k:String;
            if ((((((((_arg1 == null)) || (_arg1.disposed))) || ((this._-3Wo == null)))) || (this._-3Wo.disposed)))
            {
                return;
            };
            if ((_arg1 is IInteractiveWindow))
            {
                k = IInteractiveWindow(_arg1)._-2QR;
            }
            else
            {
                k = _arg1.caption;
            };
            if (k != this._-29x)
            {
                this._-29x = k;
                if ((((k == null)) || ((k.length == 0))))
                {
                    this._-3Wo.visible = false;
                }
                else
                {
                    this._-3Wo.caption = k;
                    this._-3Wo.visible = true;
                };
            };
        }

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-3LV

package _-25N
{
    public interface _-3LV 
    {

        function getMouseDraggingService():_-0Gl;
        function getMouseScalingService():_-5BC;
        function getMouseListenerService(): in;
        function getFocusManagerService():_-0M;
        function getToolTipAgentService():_-4AV;
        function _-32S():_-1q;

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-4AV

package _-25N
{
    import _-Ew.IWindow;

    public interface _-4AV 
    {

        function dispose():void;
        function begin(_arg1:IWindow, _arg2:uint=0):IWindow;
        function end(_arg1:IWindow):IWindow;
        function updateCaption(_arg1:IWindow):void;

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-4nO

package _-25N
{
    import _-Ew.IWindow;
    import flash.utils.Timer;
    import _-0Ie.WindowEvent;
    import flash.events.TimerEvent;
    import _-1B-.*;

    public class _-4nO implements _-1q, _-1zZ 
    {

        private var _disposed:Boolean = false;
        protected var _-2Ed:Boolean;
        protected var _-0xv:IWindow;
        protected var _-2J0:Timer;
        protected var _-3yf:uint = 0;
        protected var _-1Ox:Function;
        protected var _-0w3:int;
        protected var _-1KR:int;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this.end(this._-0xv);
            this._disposed = true;
        }
        public function begin(_arg1:IWindow, _arg2:Function, _arg3:uint, _arg4:int, _arg5:int):IWindow
        {
            this._-3yf = _arg3;
            var k:IWindow = this._-0xv;
            if (this._-0xv != null)
            {
                this.end(this._-0xv);
            };
            if (((_arg1) && (!(_arg1.disposed))))
            {
                this._-0xv = _arg1;
                this._-0xv.addEventListener(WindowEvent._-Lx, this._-ov);
                this._-1Ox = _arg2;
                this._-2Ed = true;
                this._-0w3 = _arg4;
                this._-1KR = _arg5;
                this._-2J0 = new Timer(40, 0);
                this._-2J0.addEventListener(TimerEvent.TIMER, this.operate);
                this._-2J0.start();
            };
            return (k);
        }
        protected function operate(_arg1:TimerEvent):void
        {
            this._-0w3 = (this._-0w3 * 0.75);
            this._-1KR = (this._-1KR * 0.75);
            if ((((Math.abs(this._-0w3) <= 1)) && ((Math.abs(this._-1KR) <= 1))))
            {
                this.end(this._-0xv);
            }
            else
            {
                if (this._-1Ox != null)
                {
                    this._-1Ox(this._-0w3, this._-1KR);
                };
            };
        }
        public function end(_arg1:IWindow):IWindow
        {
            var k:IWindow = this._-0xv;
            if (this._-2J0)
            {
                this._-2J0.stop();
                this._-2J0.removeEventListener(TimerEvent.TIMER, this.operate);
                this._-2J0 = null;
            };
            if (this._-2Ed)
            {
                if (this._-0xv == _arg1)
                {
                    if (!this._-0xv.disposed)
                    {
                        this._-0xv.removeEventListener(WindowEvent._-Lx, this._-ov);
                    };
                    this._-0xv = null;
                    this._-2Ed = false;
                };
            };
            return (k);
        }
        private function _-ov(_arg1:WindowEvent):void
        {
            this.end(this._-0xv);
        }

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-5BC

package _-25N
{
    import _-Ew.IWindow;

    public interface _-5BC 
    {

        function dispose():void;
        function begin(_arg1:IWindow, _arg2:uint=0):IWindow;
        function end(_arg1:IWindow):IWindow;

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-wt

package _-25N
{
    import flash.display.DisplayObject;

    public class _-wt extends _-08C implements _-0Gl 
    {

        public function _-wt(_arg1:DisplayObject)
        {
            super(_arg1);
        }
        override public function operate(_arg1:int, _arg2:int):void
        {
            _-3bL.x = _arg1;
            _-3bL.y = _arg2;
            _-0o4(_-0xv, _-3bL, _-0BG);
            _-0xv.offset((_-0BG.x - _-1fe.x), (_-0BG.y - _-1fe.y));
        }

    }
}//package _-25N

//------------------------------------------------------------
//_-25N._-xR

package _-25N
{
    import flash.display.DisplayObject;
    import _-Ew.IWindowContext;
    import _-1B-.*;

    public class _-xR implements _-3LV, _-1zZ 
    {

        private var _-3sc:uint;
        private var _-0J9:DisplayObject;
        private var _disposed:Boolean = false;
        private var _-9:IWindowContext;
        private var _-2b0:_-0Gl;
        private var _-4iM:_-5BC;
        private var _-1jT: in;
        private var _-C3:_-0M;
        private var _-0vY:_-4AV;
        private var _-3te:_-1q;

        public function _-xR(_arg1:IWindowContext, _arg2:DisplayObject)
        {
            this._-3sc = 0;
            this._-0J9 = _arg2;
            this._-9 = _arg1;
            this._-2b0 = new _-wt(_arg2);
            this._-4iM = new _-152(_arg2);
            this._-1jT = new _-0gL(_arg2);
            this._-C3 = new FocusManager(_arg2);
            this._-0vY = new _-27H(_arg2);
            this._-3te = new _-4nO();
        }
        public function dispose():void
        {
            if (this._-2b0 != null)
            {
                this._-2b0.dispose();
                this._-2b0 = null;
            };
            if (this._-4iM != null)
            {
                this._-4iM.dispose();
                this._-4iM = null;
            };
            if (this._-1jT != null)
            {
                this._-1jT.dispose();
                this._-1jT = null;
            };
            if (this._-C3 != null)
            {
                this._-C3.dispose();
                this._-C3 = null;
            };
            if (this._-0vY != null)
            {
                this._-0vY.dispose();
                this._-0vY = null;
            };
            if (this._-3te != null)
            {
                this._-3te.dispose();
                this._-3te = null;
            };
            this._-0J9 = null;
            this._-9 = null;
            this._disposed = true;
        }
        public function getMouseDraggingService():_-0Gl
        {
            return (this._-2b0);
        }
        public function getMouseScalingService():_-5BC
        {
            return (this._-4iM);
        }
        public function getMouseListenerService(): in
        {
            return (this._-1jT);
        }
        public function getFocusManagerService():_-0M
        {
            return (this._-C3);
        }
        public function getToolTipAgentService():_-4AV
        {
            return (this._-0vY);
        }
        public function _-32S():_-1q
        {
            return (this._-3te);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-25N

//------------------------------------------------------------
//_-25N.FocusManager

package _-25N
{
    import flash.display.Stage;
    import __AS3__.vec.Vector;
    import _-1ae._-0HO;
    import flash.events.Event;
    import flash.events.FocusEvent;
    import flash.display.DisplayObject;
    import _-3EM.*;
    import __AS3__.vec.*;

    public class FocusManager implements _-0M 
    {

        private var _disposed:Boolean = false;
        private var _-55v:Stage;
        private var _-4Nw:Vector.<_-0HO>;

        public function FocusManager(_arg1:DisplayObject)
        {
            this._-4Nw = new Vector.<_-0HO>();
            this._-55v = _arg1.stage;
            this._-55v.addEventListener(Event.ACTIVATE, this._-4QP);
            this._-55v.addEventListener(FocusEvent.FOCUS_OUT, this._-06S);
            this._-55v.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, this._-06S);
            this._-55v.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, this._-06S);
            super();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-55v.removeEventListener(Event.ACTIVATE, this._-4QP);
                this._-55v.removeEventListener(FocusEvent.FOCUS_OUT, this._-06S);
                this._-55v.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, this._-06S);
                this._-55v.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, this._-06S);
                this._-55v = null;
                this._disposed = true;
                this._-4Nw = null;
            };
        }
        public function registerFocusWindow(_arg1:_-0HO):void
        {
            if (_arg1 != null)
            {
                if (this._-4Nw.indexOf(_arg1) == -1)
                {
                    this._-4Nw.push(_arg1);
                    if (this._-55v.focus == null)
                    {
                        _arg1.focus();
                    };
                };
            };
        }
        public function removeFocusWindow(_arg1:_-0HO):void
        {
            var k:int;
            if (_arg1 != null)
            {
                k = this._-4Nw.indexOf(_arg1);
                if (k > -1)
                {
                    this._-4Nw.splice(k, 1);
                };
            };
            if (this._-55v.focus == null)
            {
                this._-22j();
            };
        }
        private function _-22j():_-0HO
        {
            var k:_-0HO;
            var k:uint = this._-4Nw.length;
            while (k-- != 0)
            {
                k = (this._-4Nw[k] as _-0HO);
                if (k.disposed)
                {
                    this._-4Nw.splice(k, 1);
                }
                else
                {
                    k.focus();
                    break;
                };
            };
            return (k);
        }
        private function _-4QP(_arg1:Event):void
        {
            if (this._-55v.focus == null)
            {
                this._-22j();
            };
        }
        private function _-06S(_arg1:FocusEvent):void
        {
            if (this._-55v.focus == null)
            {
                this._-22j();
            };
        }

    }
}//package _-25N

//------------------------------------------------------------
//_-28d._-2sG

package _-28d
{
    import _-1pi._-0qJ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2sG implements _-58N 
    {

        private var _-1gQ:Array;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            this._-1gQ = new Array();
            var k:int;
            while (k < k)
            {
                this._-1gQ.push(new _-0qJ(_arg1));
                k++;
            };
            return (true);
        }
        public function get _-8B():Array
        {
            return (this._-1gQ);
        }

    }
}//package _-28d

//------------------------------------------------------------
//_-28d._-4Js

package _-28d
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Js implements _-58N 
    {

        private var _-1ut:int = -1;
        private var _-4c7:int = 0;

        public function get _-U8():int
        {
            return (this._-1ut);
        }
        public function get prizeId():int
        {
            return (this._-4c7);
        }
        public function flush():Boolean
        {
            this._-1ut = -1;
            this._-4c7 = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1ut = _arg1._-2BW();
            this._-4c7 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-28d

//------------------------------------------------------------
//_-28d._-zE

package _-28d
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-zE implements _-58N 
    {

        private var _-0MY:int = -1;
        private var _-0xw:int = 0;

        public function get _-1cB():int
        {
            return (this._-0MY);
        }
        public function get _-298():int
        {
            return (this._-0xw);
        }
        public function flush():Boolean
        {
            this._-0MY = -1;
            this._-0xw = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0MY = _arg1._-2BW();
            this._-0xw = _arg1._-2BW();
            return (true);
        }

    }
}//package _-28d

//------------------------------------------------------------
//_-293._-0OX

package _-293
{
    import _-1B-._-Px;
    import _-18r.Map;
    import _-1B-._-5CE;
    import _-0sD._-31x;
    import _-Qf.FurnitureLogic;
    import _-3mW._-4RM;
    import _-Qf._-1w1;
    import _-Qf._-17p;
    import _-Qf._-PR;
    import _-1Fd._-1Np;
    import _-1Fd.PetLogic;
    import _-Qf._-19Q;
    import _-Qf.FurnitureCreditLogic;
    import _-Qf._-4Dk;
    import _-Qf.FurniturePresentLogic;
    import _-Qf._-5C2;
    import _-Qf._-44T;
    import _-Qf.FurnitureDiceLogic;
    import _-Qf._-05X;
    import _-Qf._-Ns;
    import _-Qf._-1e4;
    import _-Qf._-2Tx;
    import _-Qf.FurniturePlanetSystemLogic;
    import _-Qf.FurnitureWindowLogic;
    import _-Qf.FurnitureRoomDimmerLogic;
    import _-42l._-2Y1;
    import _-42l._-K9;
    import _-Qf._-0KY;
    import _-Qf._-2CR;
    import _-Qf._-1Bo;
    import _-Qf._-2go;
    import _-Qf.FurnitureClothingChangeLogic;
    import _-Qf._-1SZ;
    import _-Qf._-2ne;
    import _-Qf._-4Vv;
    import _-Qf.FurnitureFireworksLogic;
    import _-Qf._-1UE;
    import _-Qf._-Kq;
    import _-Qf._-0jw;
    import _-Qf._-0Rb;
    import _-42l.RoomLogic;
    import _-1Xo._-2Fz;
    import _-1Xo._-pq;
    import _-Qf._-4j3;
    import _-Qf._-1gP;
    import _-Qf._-0N6;
    import _-2K2._-on;
    import _-2K2._-4ey;
    import _-Qf._-2kC;
    import _-Qf._-2MH;
    import _-Qf._-4F3;
    import _-Qf.FurnitureSoundBlockLogic;
    import _-Qf._-51r;
    import _-Qf._-Ao;
    import _-Qf._-R3;
    import _-Qf._-1Z3;
    import _-4hI._-2pa;
    import _-4hI._-3kx;
    import _-4hI.*;

    public class _-0OX extends _-Px implements _-3dJ 
    {

        private var _-4rX:Map;
        private var _-2bP:Map;
        private var _-2Fm:Array;

        public function _-0OX(_arg1:_-5CE, _arg2:uint=0)
        {
            this._-4rX = new Map();
            this._-2bP = new Map();
            this._-2Fm = [];
            super(_arg1, _arg2);
        }
        public function _-1XO(_arg1:Function):void
        {
            var k:String;
            if (this._-2Fm.indexOf(_arg1) < 0)
            {
                this._-2Fm.push(_arg1);
                if (_arg1 != null)
                {
                    for each (k in this._-2bP._-18C())
                    {
                        events.addEventListener(k, _arg1);
                    };
                };
            };
        }
        public function _-0gy(_arg1:Function):void
        {
            var k:String;
            var k:int = this._-2Fm.indexOf(_arg1);
            if (k >= 0)
            {
                this._-2Fm.splice(k, 1);
                if (_arg1 != null)
                {
                    for each (k in this._-2bP._-18C())
                    {
                        events.removeEventListener(k, _arg1);
                    };
                };
            };
        }
        private function _-4-U(_arg1:String):void
        {
            var k:Function;
            if (this._-2bP.getValue(_arg1) == null)
            {
                this._-2bP.add(_arg1, true);
                for each (k in this._-2Fm)
                {
                    if (k != null)
                    {
                        events.addEventListener(_arg1, k);
                    };
                };
            };
        }
        public function _-5BY(_arg1:String):_-31x
        {
            var k:_-31x;
            var k:Array;
            var k:String;
            var k:Class;
            switch (_arg1)
            {
                case _-4RM._-4xl:
                    k = FurnitureLogic;
                    break;
                case _-4RM._-275:
                    k = _-1w1;
                    break;
                case _-4RM._-3eC:
                    k = _-17p;
                    break;
                case _-4RM._-4ro:
                    k = _-PR;
                    break;
                case _-4RM._-3rB:
                case _-4RM.BOT:
                case _-4RM.RENTABLE_BOT:
                    k = _-1Np;
                    break;
                case _-4RM._-0Zq:
                    k = PetLogic;
                    break;
                case _-4RM._-2hx:
                    k = _-19Q;
                    break;
                case _-4RM._-3X2:
                    k = FurnitureCreditLogic;
                    break;
                case _-4RM._-3tE:
                    k = _-4Dk;
                    break;
                case _-4RM._-4sW:
                    k = FurniturePresentLogic;
                    break;
                case _-4RM._-4Bj:
                    k = _-5C2;
                    break;
                case _-4RM._-43-:
                    k = _-44T;
                    break;
                case _-4RM._-3-v:
                    k = FurnitureDiceLogic;
                    break;
                case _-4RM._-1YX:
                    k = _-05X;
                    break;
                case _-4RM._-1pZ:
                    k = _-Ns;
                    break;
                case _-4RM._-1j7:
                    k = _-1e4;
                    break;
                case _-4RM._-0kj:
                    k = _-2Tx;
                    break;
                case _-4RM._-zp:
                    k = FurniturePlanetSystemLogic;
                    break;
                case _-4RM._-4A0:
                    k = FurnitureWindowLogic;
                    break;
                case _-4RM._-3BK:
                    k = FurnitureRoomDimmerLogic;
                    break;
                case _-4RM._-1zv:
                    k = _-2Y1;
                    break;
                case _-4RM._-4sv:
                    k = _-K9;
                    break;
                case _-4RM._-3Sj:
                    k = _-0KY;
                    break;
                case _-4RM._-2p-:
                    k = _-2CR;
                    break;
                case _-4RM._-2tQ:
                    k = _-1Bo;
                    break;
                case _-4RM._-4uV:
                    k = _-2go;
                    break;
                case _-4RM._-2FF:
                    k = FurnitureClothingChangeLogic;
                    break;
                case _-4RM._-4qD:
                    k = _-1SZ;
                    break;
                case _-4RM._-2v6:
                    k = _-2ne;
                    break;
                case _-4RM._-tr:
                    k = _-4Vv;
                    break;
                case _-4RM._-4rD:
                    k = FurnitureFireworksLogic;
                    break;
                case _-4RM._-3Kr:
                    k = _-1UE;
                    break;
                case _-4RM._-6A:
                    k = _-Kq;
                    break;
                case _-4RM._-1dJ:
                    k = _-0jw;
                    break;
                case _-4RM._-3l6:
                    k = _-0Rb;
                    break;
                case _-4RM._-GI:
                    k = RoomLogic;
                    break;
                case _-4RM._-3I7:
                    k = _-2Fz;
                    break;
                case _-4RM._-1Zq:
                    k = _-pq;
                    break;
                case _-4RM._-3sZ:
                    k = _-4j3;
                    break;
                case _-4RM._-4jO:
                    k = _-1gP;
                    break;
                case _-4RM._-5Dl:
                    k = _-0N6;
                    break;
                case _-4RM._-2ps:
                    k = _-on;
                    break;
                case _-4RM._-37l:
                    k = _-4ey;
                    break;
                case _-4RM._-4Qi:
                    k = _-2kC;
                    break;
                case _-4RM._-1yt:
                    k = _-2MH;
                    break;
                case _-4RM._-1IB:
                    k = _-4F3;
                    break;
                case _-4RM._-vu:
                    k = FurnitureSoundBlockLogic;
                    break;
                case _-4RM._-49F:
                    k = _-51r;
                    break;
                case _-4RM._-jA:
                    k = _-Ao;
                    break;
                case _-4RM._-4Nq:
                    k = _-R3;
                    break;
                case _-4RM._-gd:
                    k = _-1Z3;
                    break;
            };
            if (k == null)
            {
                return (null);
            };
            var k:Object = new (k)();
            if ((k is _-31x))
            {
                k = (k as _-31x);
                k._-2g3 = this.events;
                if (this._-4rX.getValue(_arg1) == null)
                {
                    this._-4rX.add(_arg1, true);
                    k = k.getEventTypes();
                    for each (k in k)
                    {
                        this._-4-U(k);
                    };
                };
                return (k);
            };
            return (null);
        }
        public function _-q8():_-3kx
        {
            return (new _-2pa());
        }

    }
}//package _-293

//------------------------------------------------------------
//_-293._-0xz

package _-293
{
    public interface _-0xz 
    {

        function get id():int;
        function get category():int;
        function get _-34v():String;
        function get typeId():int;
        function get _-vc():String;
        function get _-vM():_-4q2;
        function get state():int;
        function get _-3CW():int;
        function get posture():String;

    }
}//package _-293

//------------------------------------------------------------
//_-293._-2Gt

package _-293
{
    import flash.display.BitmapData;

    public class _-2Gt 
    {

        public var id:int = 0;
        public var data:BitmapData = null;

    }
}//package _-293

//------------------------------------------------------------
//_-293._-3Ic

package _-293
{
    import _-4hI._-zU;
    import _-3V-._-3SU;
    import _-2IQ._-1WL;
    import _-2np._-1ZV;
    import flash.events.IEventDispatcher;
    import _-0GO._-1Z9;
    import _-2IQ.LegacyWallGeometry;
    import _-2IQ.TileHeightMap;
    import _-2IQ.TileObjectMap;
    import _-3V-._-lb;
    import _-4Fh._-2vu;
    import _-1Jd._-45k;

    public interface _-3Ic extends _-3w- 
    {

        function _-13y(_arg1:int, _arg2:int):_-zU;
        function _-0Z9(_arg1:String):int;
        function getRoomObject(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-3SU;
        function getRoomObjectWithIndex(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-3SU;
        function getRoomObjectCount(_arg1:int, _arg2:int, _arg3:int):int;
        function _-21r(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean=true):void;
        function _-3fn(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:String=null, _arg5:_-4q2=null, _arg6:int=-1, _arg7:int=-1, _arg8:String=null):void;
        function _-cV(_arg1:Boolean):void;
        function _-4Jg():void;
        function _-rV(_arg1:int, _arg2:int):_-0xz;
        function _-Uz(_arg1:int, _arg2:int, _arg3:_-1WL):void;
        function _-nt(_arg1:int, _arg2:int, _arg3:_-1WL):void;
        function _-3v2(_arg1:int, _arg2:int):_-0xz;
        function get connection():_-1ZV;
        function get events():IEventDispatcher;
        function get _-1EZ():_-1Z9;
        function _-4Gn(_arg1:int, _arg2:int):LegacyWallGeometry;
        function _-3rL(_arg1:int, _arg2:int):TileHeightMap;
        function _-2iY(_arg1:int, _arg2:int):TileObjectMap;
        function _-0mG(_arg1:int, _arg2:int):_-lb;
        function _-24D(_arg1:int, _arg2:int):_-lb;
        function _-F1(_arg1:int, _arg2:int):Boolean;
        function _-3j1():Boolean;
        function _-nO(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:String):void;
        function _-39l(_arg1:String, _arg2:int, _arg3:String):void;
        function _-4zr(_arg1:int, _arg2:int, _arg3:int):void;
        function _-0wC(_arg1:int, _arg2:int, _arg3:int):void;
        function _-3Ix():_-2vu;
        function _-FW(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String):void;
        function get _-01G():Boolean;
        function get _-1rr():Boolean;
        function get _-4jv():int;
        function get _-1ED():_-45k;

    }
}//package _-293

//------------------------------------------------------------
//_-293._-3w-

package _-293
{
    import _-0y0._-06R;

    public interface _-3w- 
    {

        function _-2Pv(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:_-06R, _arg7:int, _arg8:_-4q2, _arg9:Number=NaN, _arg10:int=-1, _arg11:int=0, _arg12:int=0, _arg13:String="", _arg14:Boolean=true):Boolean;
        function _-1EC(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:_-06R, _arg6:_-06R, _arg7:int, _arg8:_-4q2, _arg9:Number=NaN):Boolean;
        function _-0xT(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:int, _arg7:_-4q2, _arg8:Number=NaN):Boolean;
        function _-1Vm(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R):Boolean;
        function _-4OW(_arg1:int, _arg2:int, _arg3:int, _arg4:int=-1, _arg5:Boolean=false):void;
        function _-0xm(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:_-06R, _arg7:int, _arg8:String, _arg9:int=0, _arg10:int=0, _arg11:String=""):Boolean;
        function _-0Sp(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:int, _arg7:String):Boolean;
        function _-0po(_arg1:int, _arg2:int, _arg3:int, _arg4:String):Boolean;
        function _-2JV(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R):Boolean;
        function _-Re(_arg1:int, _arg2:int, _arg3:int, _arg4:int=-1):void;
        function _-Kv(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:Number, _arg7:int, _arg8:String=null):Boolean;
        function _-28X(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:Boolean=false, _arg7:Number=0, _arg8:_-06R=null, _arg9:Number=NaN):Boolean;
        function _-Tb(_arg1:int, _arg2:int, _arg3:int, _arg4:String):Boolean;
        function _-3IO(_arg1:int, _arg2:int, _arg3:int):Boolean;
        function _-O9(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String=null, _arg6:String=null, _arg7:Boolean=false):Boolean;
        function _-1fn(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:int, _arg6:String=null):Boolean;
        function _-2ml(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String=""):Boolean;
        function _-4ys(_arg1:int, _arg2:int, _arg3:int, _arg4:int):Boolean;
        function _-54X(_arg1:int, _arg2:int, _arg3:int, _arg4:String):Boolean;
        function _-20A(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int=0):Boolean;
        function _-2I4(_arg1:int, _arg2:int, _arg3:int):void;
        function _-501(_arg1:int, _arg2:int, _arg3:String=null, _arg4:String=null, _arg5:String=null, _arg6:Boolean=false):Boolean;
        function _-4Gg(_arg1:int, _arg2:int, _arg3:uint, _arg4:int, _arg5:Boolean):Boolean;
        function _-1Hz(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:int, _arg5:int, _arg6:int):Boolean;
        function _-4f0(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:Boolean=true):Boolean;
        function _-31Q(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number):Boolean;
        function _-3-7(_arg1:String, _arg2:String):void;
        function _-0nC(_arg1:String):int;

    }
}//package _-293

//------------------------------------------------------------
//_-293._-3wv

package _-293
{
    public class _-3wv 
    {

        public static const _-1R8:String = "room_min_x";
        public static const _-2us:String = "room_max_x";
        public static const _-2Dk:String = "room_min_y";
        public static const _-3F5:String = "room_max_y";
        public static const _-4LZ:String = "room_is_public";
        public static const _-4uf:String = "room_z_scale";
        public static const _-3Ii:String = "ad_display_delay";
        public static const _-3Yo:String = "is_playing_game";

    }
}//package _-293

//------------------------------------------------------------
//_-293._-4q2

package _-293
{
    import _-4Aj._-0s1;
    import _-3V-._-30N;
    import _-3V-._-4s6;

    public interface _-4q2 
    {

        function initializeFromIncomingMessage(_arg1:_-0s1):void;
        function initializeFromRoomObjectModel(_arg1:_-30N):void;
        function writeRoomObjectModel(_arg1:_-4s6):void;
        function getLegacyString():String;
        function compare(_arg1:_-4q2):Boolean;
        function set flags(_arg1:int):void;
        function get uniqueSerialNumber():int;
        function get _-2dO():int;
        function set uniqueSerialNumber(_arg1:int):void;
        function set _-2dO(_arg1:int):void;
        function get rarityLevel():int;

    }
}//package _-293

//------------------------------------------------------------
//_-293._-56x

package _-293
{
    import _-4hI._-zU;
    import _-3V-._-lb;
    import _-2IQ.TileHeightMap;
    import _-2IQ.LegacyWallGeometry;
    import _-2IQ.TileObjectMap;
    import _-4Wu._-4uR;
    import _-1Jd._-45k;
    import _-1Jd._-51K;

    public interface _-56x extends _-3w- 
    {

        function _-3be(_arg1:int, _arg2:int, _arg3:XML):void;
        function _-13y(_arg1:int, _arg2:int):_-zU;
        function _-1YJ(_arg1:int, _arg2:int):void;
        function _-RG(_arg1:int, _arg2:int):Boolean;
        function _-1Cr(_arg1:int, _arg2:int, _arg3:int):void;
        function _-25y(_arg1:int, _arg2:int, _arg3:String):void;
        function _-1gd(_arg1:int, _arg2:int):_-lb;
        function _-4ct(_arg1:int, _arg2:int, _arg3:TileHeightMap):void;
        function _-3rL(_arg1:int, _arg2:int):TileHeightMap;
        function _-4Gn(_arg1:int, _arg2:int):LegacyWallGeometry;
        function _-2iY(_arg1:int, _arg2:int):TileObjectMap;
        function _-XI(_arg1:int, _arg2:int, _arg3:String):Number;
        function _-4AJ(_arg1:int, _arg2:int, _arg3:String):String;
        function _-7l(_arg1:int, _arg2:int, _arg3:Boolean):void;
        function _-0Jq(_arg1:int, _arg2:int, _arg3:String):void;
        function get configuration():_-4uR;
        function get _-1ED():_-45k;
        function get sessionDataManager():_-51K;

    }
}//package _-293

//------------------------------------------------------------
//_-293._-5-S

package _-293
{
    import flash.events.IEventDispatcher;
    import flash.display.DisplayObject;
    import _-0y0._-3q6;
    import flash.geom.Point;
    import _-0y0._-06R;
    import flash.geom.Rectangle;
    import _-3V-._-3SU;
    import _-18r.Map;
    import flash.display.BitmapData;
    import _-1B-.*;

    public interface _-5-S extends _-4yI 
    {

        function get events():IEventDispatcher;
        function get _-25k():Boolean;
        function get activeRoomId():int;
        function get activeRoomCategory():int;
        function _-2TL(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):DisplayObject;
        function _-0pB(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Boolean;
        function _-2zt(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean):void;
        function _-3NP(_arg1:int, _arg2:int, _arg3:int):_-3q6;
        function _-uR(_arg1:int, _arg2:int, _arg3:int):Point;
        function _-43R(_arg1:int, _arg2:int, _arg3:int, _arg4:Point):Boolean;
        function _-4kj(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean, _arg8:Boolean):void;
        function _-1hy(_arg1:int, _arg2:int):void;
        function _-XI(_arg1:int, _arg2:int, _arg3:String):Number;
        function _-4AJ(_arg1:int, _arg2:int, _arg3:String):String;
        function getFurnitureIcon(_arg1:int, _arg2:dynamic, _arg3:String=null, _arg4:_-4q2=null):_-2Gt;
        function getWallItemIcon(_arg1:int, _arg2:dynamic, _arg3:String=null):_-2Gt;
        function getFurnitureImage(_arg1:int, _arg2:_-06R, _arg3:int, _arg4:dynamic, _arg5:uint=0, _arg6:String=null, _arg7:int=-1, _arg8:int=-1, _arg9:_-4q2=null):_-2Gt;
        function getGenericRoomObjectImage(_arg1:String, _arg2:String, _arg3:_-06R, _arg4:int, _arg5:dynamic, _arg6:uint=0, _arg7:String=null, _arg8:_-4q2=null, _arg9:int=-1, _arg10:int=-1, _arg11:String=null):_-2Gt;
        function getWallItemImage(_arg1:int, _arg2:_-06R, _arg3:int, _arg4:dynamic, _arg5:uint=0, _arg6:String=null, _arg7:int=-1, _arg8:int=-1):_-2Gt;
        function _-2s2(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:int, _arg6:dynamic, _arg7:Boolean=true, _arg8:uint=0, _arg9:Array=null, _arg10:String=null):_-2Gt;
        function getRoomImage(_arg1:String, _arg2:String, _arg3:String, _arg4:int, _arg5:dynamic, _arg6:String=null):_-2Gt;
        function _-27h(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:int, _arg7:dynamic, _arg8:uint=0):_-2Gt;
        function _-1Uk(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Rectangle;
        function _-3U2(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Point;
        function _-2WQ(_arg1:int):Rectangle;
        function getRoomObjectCount(_arg1:int, _arg2:int, _arg3:int):int;
        function getRoomObject(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-3SU;
        function getRoomObjectWithIndex(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-3SU;
        function modifyRoomObject(_arg1:int, _arg2:int, _arg3:String):Boolean;
        function _-2fr(_arg1:int, _arg2:int, _arg3:String, _arg4:Map):Boolean;
        function _-1v6(_arg1:int, _arg2:int, _arg3:String, _arg4:String):Boolean;
        function _-1Wi(_arg1:int, _arg2:int):Boolean;
        function _-WZ(_arg1:int, _arg2:int, _arg3:int, _arg4:String=null, _arg5:_-4q2=null, _arg6:int=-1, _arg7:int=-1, _arg8:String=null):Boolean;
        function _-5Am():void;
        function _-Is(_arg1:int, _arg2:int, _arg3:int):void;
        function _-0P5(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void;
        function _-4nX(_arg1:String):Array;
        function _-1uo(_arg1:String):Boolean;
        function _-IK(_arg1:int, _arg2:int):String;
        function _-rV(_arg1:int, _arg2:int):_-0xz;
        function _-2BV():int;
        function _-4Gg(_arg1:int, _arg2:int, _arg3:uint, _arg4:int, _arg5:Boolean):Boolean;
        function _-1Hz(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:int, _arg5:int, _arg6:int):Boolean;
        function _-1Yb(_arg1:int, _arg2:int):PetColorResult;
        function _-0Pw(_arg1:int, _arg2:String):Array;
        function _-4OF(_arg1:int, _arg2:String):int;
        function _-35B(_arg1:int, _arg2:String):PetColorResult;
        function _-2Pv(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:_-06R, _arg7:int, _arg8:_-4q2, _arg9:Number=NaN, _arg10:int=-1, _arg11:int=0, _arg12:int=0, _arg13:String="", _arg14:Boolean=true):Boolean;
        function _-45d(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void;
        function _-4jn(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:int):Boolean;
        function _-4OW(_arg1:int, _arg2:int, _arg3:int, _arg4:int=-1, _arg5:Boolean=false):void;
        function _-0xm(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:_-06R, _arg7:int, _arg8:String, _arg9:int=0, _arg10:int=0, _arg11:String=""):Boolean;
        function _-2JV(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R):Boolean;
        function _-Re(_arg1:int, _arg2:int, _arg3:int, _arg4:int=-1):void;
        function _-Kv(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:Number, _arg7:int, _arg8:String=null):Boolean;
        function _-3us(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:int):Boolean;
        function _-28X(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:Boolean=false, _arg7:Number=0, _arg8:_-06R=null, _arg9:Number=NaN):Boolean;
        function _-O9(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String=null, _arg6:String=null, _arg7:Boolean=false):Boolean;
        function _-2ml(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String=""):Boolean;
        function _-4ys(_arg1:int, _arg2:int, _arg3:int, _arg4:int):Boolean;
        function _-20A(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int=0):Boolean;
        function _-4Q9(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:int):Boolean;
        function _-4Ki(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void;
        function _-1fn(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:int, _arg6:String=null):Boolean;
        function _-2I4(_arg1:int, _arg2:int, _arg3:int):void;
        function _-501(_arg1:int, _arg2:int, _arg3:String=null, _arg4:String=null, _arg5:String=null, _arg6:Boolean=false):Boolean;
        function _-Vo(_arg1:int):String;
        function _-59n(_arg1:String):int;
        function _-K4(_arg1:int, _arg2:String=null):String;
        function _-0Mf(_arg1:int, _arg2:int):Boolean;
        function _-3be(_arg1:int, _arg2:int, _arg3:XML):void;
        function _-1YJ(_arg1:int, _arg2:int):void;
        function get _-01G():Boolean;
        function set _-1rr(_arg1:Boolean):void;
        function get _-1rr():Boolean;
        function _-0Z8(_arg1:int, _arg2:int):void;
        function _-2Vi(_arg1:int):void;
        function _-Jf(_arg1:int, _arg2:int, _arg3:int):void;
        function _-To(_arg1:int):void;
        function _-53K(_arg1:int):void;
        function _-Fl(_arg1:int, _arg2:int, _arg3:int):BitmapData;

    }
}//package _-293

//------------------------------------------------------------
//_-293.dynamic

package _-293
{
    import flash.display.BitmapData;

    public interface dynamic 
    {

        function imageReady(_arg1:int, _arg2:BitmapData):void;

    }
}//package _-293

//------------------------------------------------------------
//_-293.PetColorResult

package _-293
{
    public class PetColorResult 
    {

        private static const _-1vw:Array = ["Null", "Black", "White", "Grey", "Red", "Orange", "Pink", "Green", "Lime", "Blue", "Light-Blue", "Dark-Blue", "Yellow", "Brown", "Dark-Brown", "Beige", "Cyan", "Purple", "Gold"];

        private var _-0Hz:int;
        private var _-2CI:String;
        private var _-0Kq:String;
        private var _-4ug:int = 0;
        private var _-5:int = 0;
        private var _-B-:Boolean = false;
        private var _-1TY:Array;

        public function PetColorResult(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:Boolean, _arg7:Array)
        {
            this._-1TY = [];
            super();
            this._-4ug = (_arg1 & 0xFFFFFF);
            this._-5 = (_arg2 & 0xFFFFFF);
            this._-0Hz = _arg3;
            this._-2CI = (((((_arg4 > -1)) && ((_arg4 < _-1vw.length)))) ? _-1vw[_arg4] : "");
            this._-0Kq = _arg5;
            this._-B- = _arg6;
            this._-1TY = _arg7;
        }
        public function get _-4zy():int
        {
            return (this._-4ug);
        }
        public function get _-0xU():int
        {
            return (this._-5);
        }
        public function get breed():int
        {
            return (this._-0Hz);
        }
        public function get tag():String
        {
            return (this._-2CI);
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get _-1ef():Boolean
        {
            return (this._-B-);
        }
        public function get _-OG():Array
        {
            return (this._-1TY);
        }

    }
}//package _-293

//------------------------------------------------------------
//_-293.RoomContentLoader

package _-293
{
    import _-18r.Map;
    import _-295.AssetLibrary;
    import _-3V-._-2CE;
    import flash.events.IEventDispatcher;
    import flash.utils.Dictionary;
    import _-2IQ._-0Qb;
    import _-1Jd._-51K;
    import _-4Wu._-4uR;
    import _-022._-2KD;
    import _-4n1._-0hX;
    import flash.events.Event;
    import _-3mW._-1sV;
    import _-3mW.RoomObjectUserTypes;
    import _-3mW._-4Gs;
    import _-295.AssetLibraryCollection;
    import _-071._-1PC;
    import _-295._-39L;
    import _-18r.LibraryLoader;
    import flash.net.URLRequest;
    import _-18r._-2K6;
    import _-p-.Core;
    import _-295._-2kE;
    import flash.display.BitmapData;
    import _-3V-._-lb;
    import _-3mW._-4Wq;
    import _-3V-._-3SU;
    import flash.utils.getTimer;
    import _-1B-.*;
    import _-4hI.*;
    import _-4n1.*;

    public class RoomContentLoader implements _-2f-, _-44P, _-1zZ 
    {

        public static const _-55-:String = "RCL_LOADER_READY";
        private static const _-0TP:String = "RCL_PUBLICROOM_";
        private static const _-3M5:String = "RoomContentLoader ";
        private static const _-1Ck:int = 0;
        private static const _-3Se:int = 1;
        private static const _-0IQ:int = 2;
        private static const _-0w4:String = "place_holder";
        private static const _-43V:String = "wall_place_holder";
        private static const _-0My:String = "pet_place_holder";
        private static const _-03b:String = _-0w4;//"place_holder"
        private static const _-1tf:String = "room";
        private static const _-2u2:String = "tile_cursor";
        private static const _-1L6:String = "selection_arrow";
        private static const _-4ip:Array = [_-0w4, _-43V, _-0My, _-1tf, _-2u2, _-1L6];
        private static const _-28:int = (20 * 1000);//20000

        private var _-1sH:String;
        private var _-0t7:Map = null;
        private var _-2Te:Map = null;
        private var _-AV:AssetLibrary = null;
        private var _-Sf:Map = null;
        private var _-46s:Map = null;
        private var _-4Aa:_-2CE = null;
        private var _-0Ke:int = 0;
        private var _-34k:IEventDispatcher = null;
        private var _-4Bk:Boolean = false;
        private var _-35a:Boolean = false;
        private var _-39K:Map = null;
        private var _-2Kg:Dictionary;
        private var _-S1:Map = null;
        private var _-1CX:Map = null;
        private var _-14o:Dictionary;
        private var _-0Oy:Map = null;
        private var _-4JG:Dictionary;
        private var _-7R:Map = null;
        private var _-1qJ:Map = null;
        private var _-4mP:_-0Qb = null;
        private var _-504:Map = null;
        private var _-4rb:Map = null;
        private var _-42a:Map = null;
        private var _-492:Map = null;
        private var _-4X3:Map = null;
        private var _-zM:String;
        private var _-3y6:String;
        private var _-1Of:String;
        private var _-3g5:String;
        private var _-0AB:Array;
        private var _-1G3:Array;
        private var _-4o2:String;
        private var _-4eB:String;
        private var _-13u:Boolean = false;
        private var _-0pW:_-51K;

        public function RoomContentLoader(_arg1:String)
        {
            this._-2Kg = new Dictionary();
            this._-14o = new Dictionary();
            this._-4JG = new Dictionary();
            this._-0AB = ["hh_people_pool", "hh_people_pool_calippo", "hh_paalu", "hh_people_paalu"];
            this._-1G3 = ["room_public", "room_public_park", "room_public_pool"];
            super();
            this._-1sH = _arg1;
            this._-0t7 = new Map();
            this._-2Te = new Map();
            this._-AV = new AssetLibrary("room_engine");
            this._-39K = new Map();
            this._-S1 = new Map();
            this._-1CX = new Map();
            this._-0Oy = new Map();
            this._-21w();
            this._-4X3 = new Map();
            this._-4rb = new Map();
            this._-42a = new Map();
            this._-492 = new Map();
            this._-46s = new Map();
            this._-Sf = new Map();
            this._-504 = new Map();
        }
        public function set sessionDataManager(_arg1:_-51K):void
        {
            this._-0pW = _arg1;
            if (this._-13u)
            {
                this._-13u = false;
                this._-1Ui();
            };
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function set _-D4(_arg1:_-2CE):void
        {
            this._-4Aa = _arg1;
        }
        public function initialize(_arg1:IEventDispatcher, _arg2:_-4uR):void
        {
            if (this._-0Ke >= _-3Se)
            {
                return;
            };
            this._-34k = _arg1;
            this._-zM = _arg2.getKey("flash.dynamic.download.url", "furniture/");
            this._-3y6 = _arg2.getKey("flash.dynamic.download.name.template", "%typeid%.swf");
            this._-1Of = _arg2.getKey("public.room.dynamic.download.url", "");
            this._-3g5 = _arg2.getKey("public.room.dynamic.download.name.template", "%typeid%.swf");
            this._-4o2 = _arg2.getKey("pet.dynamic.download.url", "");
            this._-4eB = _arg2.getKey("pet.dynamic.download.name.template", "%type%.swf");
            this._-0Ke = _-3Se;
            this._-1Ui();
        }
        private function _-21w():void
        {
            var k:String;
            var k:Array = ["dog", "cat", "crocodile", "terrier", "bear", "pig", "lion", "rhino", "spider", "turtle", "chicken", "frog", "dragon", "monster", "monkey", "horse", "monsterplant", "bunnyeaster", "bunnyevil", "bunnydepressed", "bunnylove", "pigeongood", "pigeonevil", "demonmonkey", "bearbaby", "terrierbaby"];
            var k:int;
            for each (k in k)
            {
                this._-4JG[k] = k;
                this._-0Oy.add(k, k);
                k++;
            };
            this._-7R = new Map();
            this._-1qJ = new Map();
        }
        private function _-1Ui():void
        {
            if (this._-0pW == null)
            {
                this._-13u = true;
                return;
            };
            var k:Array = this._-0pW._-co(this);
            if (k == null)
            {
                return;
            };
            this._-2jo(k);
            this._-35a = true;
            this._-4GL();
        }
        public function dispose():void
        {
            var k:String;
            var k:int;
            var k:int;
            var k:AssetLibrary;
            var k:_-2KD;
            if (this._-0t7 != null)
            {
                k = this._-0t7.length;
                k = 0;
                while (k < k)
                {
                    k = (this._-0t7.getWithIndex(k) as AssetLibrary);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-0t7.dispose();
                this._-0t7 = null;
            };
            if (this._-2Te != null)
            {
                this._-2Te.dispose();
                this._-2Te = null;
            };
            if (this._-39K != null)
            {
                this._-39K.dispose();
                this._-39K = null;
            };
            if (this._-S1)
            {
                this._-S1.dispose();
                this._-S1 = null;
            };
            if (this._-1CX != null)
            {
                this._-1CX.dispose();
                this._-1CX = null;
            };
            if (this._-0Oy != null)
            {
                this._-0Oy.dispose();
                this._-0Oy = null;
            };
            if (this._-7R != null)
            {
                this._-7R.dispose();
                this._-7R = null;
            };
            if (this._-1qJ != null)
            {
                this._-1qJ.dispose();
                this._-1qJ = null;
            };
            if (this._-AV != null)
            {
                this._-AV.dispose();
                this._-AV = null;
            };
            if (this._-4rb != null)
            {
                this._-4rb.dispose();
                this._-4rb = null;
            };
            if (this._-42a != null)
            {
                this._-42a.dispose();
                this._-42a = null;
            };
            if (this._-492 != null)
            {
                this._-492.dispose();
                this._-492 = null;
            };
            if (this._-4X3 != null)
            {
                this._-4X3.dispose();
                this._-4X3 = null;
            };
            if (this._-46s != null)
            {
                k = this._-46s.length;
                k = 0;
                while (k < k)
                {
                    k = (this._-46s.getWithIndex(k) as _-2KD);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-46s.dispose();
                this._-46s = null;
            };
            if (this._-Sf != null)
            {
                this._-Sf.dispose();
                this._-Sf = null;
            };
            if (this._-2Kg != null)
            {
                for (k in this._-2Kg)
                {
                    delete this._-2Kg[k];
                };
                this._-2Kg = null;
            };
            if (this._-14o != null)
            {
                for (k in this._-14o)
                {
                    delete this._-14o[k];
                };
                this._-14o = null;
            };
            if (this._-4JG != null)
            {
                for (k in this._-4JG)
                {
                    delete this._-4JG[k];
                };
                this._-4JG = null;
            };
            this._-34k = null;
            this._-0pW = null;
            this._-4Bk = true;
        }
        private function _-2jo(_arg1:Array):void
        {
            var k:_-0hX;
            var k:int;
            var k:String;
            var k:int;
            var k:String;
            var k:String;
            var k:int;
            for each (k in _arg1)
            {
                k = k.id;
                k = k.name;
                if (k._-1Mp > 0)
                {
                    k = ((k + "*") + k._-1Mp);
                };
                k = k.revision;
                k = k._-7T;
                if (((!((k == null))) && ((k.length > 0))))
                {
                    this._-4X3.add(k, k);
                };
                k = k.name;
                if (k.type == "s")
                {
                    this._-39K.add(k, k);
                    this._-S1.add(k, k);
                    if (this._-2Kg[k] == null)
                    {
                        this._-2Kg[k] = 1;
                    };
                }
                else
                {
                    if (k.type == "i")
                    {
                        if (k == "post.it")
                        {
                            k = "post_it";
                            k = "post_it";
                        };
                        if (k == "post.it.vd")
                        {
                            k = "post_it_vd";
                            k = "post_it_vd";
                        };
                        this._-1CX.add(k, k);
                        if (this._-14o[k] == null)
                        {
                            this._-14o[k] = 1;
                        };
                    };
                };
                k = this._-4rb.getValue(k);
                if (k > k)
                {
                    this._-4rb.remove(k);
                    this._-4rb.add(k, k);
                };
            };
        }
        private function _-4GL():void
        {
            if (this._-35a)
            {
                this._-0Ke = _-0IQ;
                if (this._-34k != null)
                {
                    this._-34k.dispatchEvent(new Event(_-55-));
                };
            };
        }
        public function _-3-7(_arg1:String, _arg2:String):void
        {
            if (this._-42a != null)
            {
                this._-42a.remove(_arg1);
                this._-42a.add(_arg1, _arg2);
            };
            if (this._-492 != null)
            {
                this._-492.remove(_arg2);
                this._-492.add(_arg2, _arg1);
            };
        }
        private function _-3Vu(_arg1:String):String
        {
            var k:String;
            if (this._-42a != null)
            {
                k = (this._-42a.getValue(_arg1) as String);
            };
            if (k == null)
            {
                k = _arg1;
            };
            return (k);
        }
        private function _-3Pz(_arg1:String):String
        {
            var k:String;
            if (this._-492 != null)
            {
                k = (this._-492.getValue(_arg1) as String);
            };
            if (k == null)
            {
                k = _arg1;
            };
            return (k);
        }
        public function _-5EF(_arg1:String):int
        {
            if (_arg1 == null)
            {
                return (_-1sV._-4hz);
            };
            if (this._-2Kg[_arg1] != null)
            {
                return (_-1sV._-0u-);
            };
            if (this._-14o[_arg1] != null)
            {
                return (_-1sV._-20L);
            };
            if (this._-4JG[_arg1] != null)
            {
                return (_-1sV._-3I0);
            };
            if (_arg1.indexOf("poster") == 0)
            {
                return (_-1sV._-20L);
            };
            if (((!((this._-4mP == null))) && ((((this._-4mP.type == _arg1)) || (this._-4mP._-0eM(_arg1))))))
            {
                return (_-1sV._-3Ag);
            };
            if (_arg1 == "room")
            {
                return (_-1sV._-3Ag);
            };
            if (_arg1 == RoomObjectUserTypes._-3rB)
            {
                return (_-1sV._-3I0);
            };
            if (_arg1 == RoomObjectUserTypes._-0Zq)
            {
                return (_-1sV._-3I0);
            };
            if (_arg1 == RoomObjectUserTypes.BOT)
            {
                return (_-1sV._-3I0);
            };
            if (_arg1 == RoomObjectUserTypes.RENTABLE_BOT)
            {
                return (_-1sV._-3I0);
            };
            if ((((_arg1 == "tile_cursor")) || ((_arg1 == "selection_arrow"))))
            {
                return (_-1sV._-1aV);
            };
            return (_-1sV._-4hz);
        }
        public function _-So(_arg1:String):String
        {
            if (this._-2Kg[_arg1] != null)
            {
                return (_-0w4);
            };
            if (this._-14o[_arg1] != null)
            {
                return (_-43V);
            };
            if (this._-4JG[_arg1] != null)
            {
                return (_-0My);
            };
            if (((!((this._-4mP == null))) && ((((this._-4mP.type == _arg1)) || (this._-4mP._-0eM(_arg1))))))
            {
                return (_-1tf);
            };
            return (_-03b);
        }
        public function _-4be():Array
        {
            return (_-4ip);
        }
        public function _-38N(_arg1:int):String
        {
            var k:String = (this._-39K.getValue(_arg1) as String);
            return (this._-00z(k));
        }
        public function _-2E4(_arg1:String):int
        {
            return (this._-S1.getValue(_arg1));
        }
        public function _-K4(_arg1:int, _arg2:String=null):String
        {
            var k:String = (this._-1CX.getValue(_arg1) as String);
            if ((((k == "poster")) && (!((_arg2 == null)))))
            {
                k = (k + _arg2);
            };
            return (this._-00z(k));
        }
        public function _-rr(_arg1:int):String
        {
            var k:String = (this._-0Oy.getValue(_arg1) as String);
            return (k);
        }
        public function _-0nC(_arg1:String):int
        {
            return (this._-4JG[_arg1]);
        }
        public function _-1Yb(_arg1:int, _arg2:int):PetColorResult
        {
            var k:Map = this._-7R[_arg1];
            if (k != null)
            {
                return ((k[_arg2] as PetColorResult));
            };
            return (null);
        }
        public function _-0Pw(_arg1:int, _arg2:String):Array
        {
            var k:PetColorResult;
            var k:Map = this._-7R[_arg1];
            var k:Array = [];
            if (k != null)
            {
                for each (k in k._-0hn())
                {
                    if (k.tag == _arg2)
                    {
                        k.push(k);
                    };
                };
            };
            return (k);
        }
        public function _-4OF(_arg1:int, _arg2:String, _arg3:int=64):int
        {
            var k:Dictionary;
            var k:Map = this._-1qJ[_arg1];
            if (k)
            {
                k = k[_arg3.toString()];
                if (k)
                {
                    return ((((k[_arg2])!=null) ? k[_arg2] : -1));
                };
            };
            return (-1);
        }
        public function _-35B(_arg1:int, _arg2:String):PetColorResult
        {
            var k:PetColorResult;
            var k:Map = this._-7R[_arg1];
            if (k != null)
            {
                for each (k in k._-0hn())
                {
                    if ((((k._-OG.indexOf(_arg2) > -1)) && (k._-1ef)))
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function _-0nj(_arg1:int):int
        {
            var k:String = (this._-39K.getValue(_arg1) as String);
            return (this._-0pm(k));
        }
        public function _-21m(_arg1:int):int
        {
            var k:String = (this._-1CX.getValue(_arg1) as String);
            return (this._-0pm(k));
        }
        public function _-4E1(_arg1:String):String
        {
            if (this._-4X3.getValue(_arg1) != null)
            {
                return (this._-4X3.getValue(_arg1));
            };
            return ("");
        }
        private function _-00z(_arg1:String):String
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int = _arg1.indexOf("*");
            if (k >= 0)
            {
                k = _arg1.substr(0, k);
            };
            return (_arg1);
        }
        private function _-0pm(_arg1:String):int
        {
            if (_arg1 == null)
            {
                return (-1);
            };
            var k:int;
            var k:int = _arg1.indexOf("*");
            if (k >= 0)
            {
                k = int(_arg1.substr((k + 1)));
            };
            return (k);
        }
        public function _-93(_arg1:String):String
        {
            return (_arg1);
        }
        public function _-0y5(_arg1:String):String
        {
            if (((!((this._-4mP == null))) && (this._-4mP._-0eM((_-0TP + _arg1)))))
            {
                return (this._-4mP.type);
            };
            return (_arg1);
        }
        public function _-0O8(_arg1:String):Boolean
        {
            k = RoomObjectUserTypes._-0Uh(_arg1);
            if ((((((k == _-4Gs._-3rB)) || ((k == _-4Gs._-2ps)))) || ((k == _-4Gs._-37l))))
            {
                return (true);
            };
            return (false);
        }
        private function _-0pt(_arg1:String):int
        {
            var k:int;
            var k:int = this._-5EF(_arg1);
            if ((((k == _-1sV._-0u-)) || ((k == _-1sV._-20L))))
            {
                if (_arg1.indexOf("poster") == 0)
                {
                    k = "poster";
                };
                k = this._-4rb.getValue(_arg1);
                return (k);
            };
            return (0);
        }
        private function _-dM(_arg1:String):Array
        {
            var k:String;
            var _local3:int;
            var k:String;
            var k:String;
            var k:int;
            var k:String;
            var _local8:Array;
            var _local9:Array;
            var _local10:int;
            var k:String;
            k = this._-93(_arg1);
            switch (k)
            {
                case _-0w4:
                    return (["PlaceHolderFurniture.swf"]);
                case _-43V:
                    return (["PlaceHolderWallItem.swf"]);
                case _-0My:
                    return (["PlaceHolderPet.swf"]);
                case _-1tf:
                    return (["HabboRoomContent.swf"]);
                case _-2u2:
                    return (["TileCursor.swf"]);
                case _-1L6:
                    return (["SelectionArrow.swf"]);
                default:
                    _local3 = this._-5EF(k);
                    if ((((_local3 == _-1sV._-0u-)) || ((_local3 == _-1sV._-20L))))
                    {
                        k = this._-3Vu(k);
                        k = this._-3y6;
                        k = k.replace(/%typeid%/, k);
                        k = this._-0pt(k);
                        k = k.replace(/%revision%/, k);
                        return ([(this._-zM + k)]);
                    };
                    if (_local3 == _-1sV._-3I0)
                    {
                        k = (this._-4o2 + this._-4eB);
                        k = k.replace(/%type%/, k);
                        return ([k]);
                    };
                    _local8 = k.split(",");
                    _local9 = [];
                    _local10 = 0;
                    while (_local10 < _local8.length)
                    {
                        k = this._-3g5;
                        k = k.replace(/%typeid%/, _local8[_local10]);
                        _local9.push((this._-1Of + k));
                        _local10++;
                    };
                    return (_local9);
            };
        }
        public function _-1aT(_arg1:int, _arg2:int, _arg3:_-39L):Boolean
        {
            var k:Event;
            var k:IEventDispatcher;
            var k:String = this._-1C8(_arg3);
            switch (_arg2)
            {
                case _-1sV._-0u-:
                    this._-39K[_arg1] = k;
                    this._-S1.add(k, _arg1);
                    break;
                case _-1sV._-20L:
                    this._-1CX[_arg1] = k;
                    break;
                default:
                    throw (new Error((("Registering content library for unsupported category " + _arg2) + "!")));
            };
            var k:AssetLibraryCollection = (this._-3tn(k, null) as AssetLibraryCollection);
            if (k)
            {
                k._-HV(_arg3);
                if (this._-2ti(k, _arg3))
                {
                    switch (_arg2)
                    {
                        case _-1sV._-0u-:
                            if (this._-2Kg[k] == null)
                            {
                                this._-2Kg[k] = 1;
                            };
                            break;
                        case _-1sV._-20L:
                            if (this._-14o[k] == null)
                            {
                                this._-14o[k] = 1;
                            };
                            break;
                        default:
                            throw (new Error((("Registering content library for unsupported category " + _arg2) + "!")));
                    };
                    k = new _-1PC(_-1PC._-2jd, k);
                    k = this._-29b(k, true);
                    if (k)
                    {
                        k.dispatchEvent(k);
                    };
                    return (true);
                };
            };
            return (false);
        }
        public function _-2eD(_arg1:String, _arg2:IEventDispatcher):Boolean
        {
            var k:Array;
            var k:int;
            var k:LibraryLoader;
            var k:String;
            var k:String;
            if (((_arg1) && ((_arg1.indexOf(",") >= 0))))
            {
                k = _arg1;
                k = k.split(",")[0];
            };
            if (this._-504.getValue(_arg1) != null)
            {
                this._-4mP = (this._-504.getValue(_arg1) as _-0Qb);
            };
            if (((!((this._-20K(_arg1) == null))) || (!((this._-29b(_arg1) == null)))))
            {
                return (false);
            };
            var k:AssetLibraryCollection = (this._-3tn(_arg1, _arg2) as AssetLibraryCollection);
            if (k == null)
            {
                return (false);
            };
            if (k != null)
            {
                k = this._-dM(k);
            }
            else
            {
                k = this._-dM(_arg1);
            };
            if (((!((k == null))) && ((k.length > 0))))
            {
                k.addEventListener(AssetLibrary._-0kb, this._-1wk);
                k = 0;
                while (k < k.length)
                {
                    k = new LibraryLoader();
                    k = k[k];
                    k.load(new URLRequest(k));
                    k.loadFromFile(k, true);
                    k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-4HL);
                    k++;
                };
                return (true);
            };
            return (false);
        }
        public function _-4uO(_arg1:String, _arg2:IEventDispatcher):Array
        {
            var k:String;
            var k:String;
            var k:Array = _arg1.split(",");
            var k:Array = new Array();
            var k:int;
            while (k < k.length)
            {
                if ((((k[k].toString().length > 0)) && ((this._-0AB.indexOf(k[k]) == -1))))
                {
                    k = k[k].toString();
                    while (k.indexOf(" ") >= 0)
                    {
                        if (k.indexOf(" ") == 0)
                        {
                            k = k.substr(1, (k.length - 1));
                        }
                        else
                        {
                            if (k.indexOf(" ") == (k.length - 1))
                            {
                                k = k.substr(0, (k.length - 2));
                            };
                        };
                    };
                    k.push(k);
                };
                k++;
            };
            if (k.length > 0)
            {
                k = k[0];
                k = 1;
                while (k < k.length)
                {
                    k = (k + ",");
                    k = (k + k[k]);
                    k++;
                };
                if (this._-2eD(k, _arg2))
                {
                    return ([k[0]]);
                };
            };
            return ([]);
        }
        private function _-4HL(_arg1:Event):void
        {
            var k:String;
            var k:Array;
            var k:LibraryLoader = LibraryLoader(_arg1.target);
            var k:Array = this._-4be();
            for each (k in k)
            {
                k = this._-dM(k);
                if ((((((k.length > 0)) && (!((k.url == null))))) && ((k.url.indexOf(k[0]) == 0))))
                {
                    Core._-4Tm(("Failed to load asset: " + k.url), Core._-9U);
                    return;
                };
            };
        }
        private function _-1wk(_arg1:Event):void
        {
            if (this.disposed)
            {
                return;
            };
            var k:_-39L = (_arg1.target as _-39L);
            if (k == null)
            {
                return;
            };
            var k:_-1PC;
            var k:Boolean;
            var k:String = this._-1C8(k);
            k = this._-3Pz(k);
            if (k != null)
            {
                k = this._-2ti(k, k);
            };
            if (k)
            {
                if (this._-1G3.indexOf(this._-0Uh(k)) >= 0)
                {
                    this._-14n(k, k);
                }
                else
                {
                    if (this._-4JG[k] != null)
                    {
                        this._-1Um(k);
                    };
                };
                k = new _-1PC(_-1PC._-2jd, k);
            }
            else
            {
                k = new _-1PC(_-1PC._-3U3, k);
            };
            var k:IEventDispatcher = this._-29b(k, true);
            if (((!((k == null))) && (!((k == null)))))
            {
                k.dispatchEvent(k);
            };
        }
        private function _-1Um(_arg1:String):void
        {
            var k:Map;
            var k:Array;
            var k:String;
            var k:Array;
            var k:XML;
            var k:int;
            var k:int;
            var k:Array;
            var k:Boolean;
            var k:Map;
            var k:XML;
            var k:Dictionary;
            var k:XML;
            var k:String;
            var k:String;
            var k:int = this._-4JG[_arg1];
            var k:_-2KD = this._-zN(_arg1);
            if (k != null)
            {
                k = new Map();
                k = k._-1TP();
                for each (k in k)
                {
                    k = k. if(k);
                    if (((!((k == null))) && ((k.length >= 2))))
                    {
                        k = k._-2va(k);
                        k = int(k.@breed);
                        k = ((k.hasOwnProperty("@colortag")) ? k.@colortag : -1);
                        k = ((k.hasOwnProperty("@tags")) ? String(k.@tags).split(",") : []);
                        k = ((k.hasOwnProperty("@master")) ? (String(k.@master) == "true") : false);
                        k.add(k, new PetColorResult(k[0], k[1], k, k, k, k, k));
                    };
                };
                this._-7R.add(k, k);
            };
            var k:XML = this._-Lz(_arg1);
            if (k != null)
            {
                k = new Map();
                for each (k in k.visualization)
                {
                    k = new Dictionary();
                    for each (k in k.layers.layer)
                    {
                        if (k.hasOwnProperty("@tag"))
                        {
                            k = k.@tag;
                            k[k] = parseInt(String(k.@id));
                        };
                    };
                    k = k.@size;
                    k.add(k, k);
                };
                this._-1qJ.add(k, k);
            };
        }
        private function _-14n(_arg1:String, _arg2:_-39L):void
        {
            var k:XML = this._-Lz(_arg1);
            var k:_-0Qb = this._-4ZE(_arg1, k);
            this._-504.add(_arg1, k);
            this._-4mP = k;
            this._-3Ab(_arg1, _arg2);
        }
        private function _-3Ab(_arg1:String, _arg2:_-39L):int
        {
            var k:String;
            var k:String;
            if (_arg2 == null)
            {
                return (0);
            };
            var k:Array = _arg2._-2Nl;
            var k:int;
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                if (k.indexOf("_index") > 0)
                {
                    k = k.slice(0, k.indexOf("_index"));
                    if (this._-42D(_arg1, k))
                    {
                        k++;
                    };
                };
                k++;
            };
            return (k);
        }
        private function _-2ti(_arg1:String, _arg2:_-39L):Boolean
        {
            var k:XML;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            var k:Boolean;
            var k:_-2KD = this._-40R(_arg1, _arg2);
            if (k != null)
            {
                k = this._-2LJ(_arg1);
                if (k._-2E(k))
                {
                    k = true;
                }
                else
                {
                    this._-2kR(_arg1);
                };
            };
            return (k);
        }
        public function _-42D(_arg1:String, _arg2:String):Boolean
        {
            var k:_-39L = this._-20K(_arg1);
            this._-Sf.add(_arg2, _arg1);
            if (this._-2ti(_arg2, k))
            {
                return (true);
            };
            this._-Sf.remove(_arg2);
            return (false);
        }
        private function _-1n3(_arg1:String):String
        {
            return ((_-3M5 + _arg1));
        }
        private function _-20K(_arg1:String):_-39L
        {
            var k:String;
            var k:String = this._-93(_arg1);
            k = this._-3Pz(k);
            var k:_-39L = (this._-0t7.getValue(this._-1n3(k)) as _-39L);
            if (k == null)
            {
                k = this._-Sf.getValue(k);
                if (k != null)
                {
                    k = this._-93(k);
                    k = (this._-0t7.getValue(this._-1n3(k)) as _-39L);
                };
            };
            return (k);
        }
        private function _-3tn(_arg1:String, _arg2:IEventDispatcher):_-39L
        {
            var k:String = this._-93(_arg1);
            var k:_-39L = this._-20K(_arg1);
            if (k != null)
            {
                return (k);
            };
            var k:String = this._-1n3(k);
            k = new AssetLibraryCollection(k);
            this._-0t7.add(k, k);
            if (((!((_arg2 == null))) && ((this._-29b(_arg1) == null))))
            {
                this._-2Te.add(k, _arg2);
            };
            return (k);
        }
        private function _-29b(_arg1:String, _arg2:Boolean=false):IEventDispatcher
        {
            var k:String = this._-93(_arg1);
            if (!_arg2)
            {
                return (this._-2Te.getValue(k));
            };
            return (this._-2Te.remove(k));
        }
        private function _-1C8(_arg1:_-39L):String
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:_-2kE = _arg1.getAssetByName("index");
            if (k == null)
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (k == null)
            {
                return (null);
            };
            var k:String = k.@type;
            return (k);
        }
        public function _-0Uh(_arg1:String):String
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:_-39L = this._-20K(_arg1);
            if (k == null)
            {
                return (null);
            };
            var k:_-2kE = k.getAssetByName((_arg1 + "_index"));
            if (k == null)
            {
                k = k.getAssetByName("index");
            };
            if (k == null)
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (k == null)
            {
                return (null);
            };
            var k:String = k.@visualization;
            return (k);
        }
        public function _-1-K(_arg1:String):String
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:_-39L = this._-20K(_arg1);
            if (k == null)
            {
                return (null);
            };
            var k:_-2kE = k.getAssetByName((_arg1 + "_index"));
            if (k == null)
            {
                k = k.getAssetByName("index");
            };
            if (k == null)
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (k == null)
            {
                return (null);
            };
            var k:String = k.@logic;
            return (k);
        }
        public function _-20V(_arg1:String):Boolean
        {
            return (this._-3cG(_arg1, "_visualization"));
        }
        public function _-Lz(_arg1:String):XML
        {
            return (this._-4sV(_arg1, "_visualization"));
        }
        public function _-4R6(_arg1:String):Boolean
        {
            return (this._-3cG(_arg1, "_assets"));
        }
        public function _-2LJ(_arg1:String):XML
        {
            return (this._-4sV(_arg1, "_assets"));
        }
        public function _-0w5(_arg1:String):Boolean
        {
            return (this._-3cG(_arg1, "_logic"));
        }
        public function _-3ZU(_arg1:String):XML
        {
            return (this._-4sV(_arg1, "_logic"));
        }
        private function _-4sV(_arg1:String, _arg2:String):XML
        {
            var k:_-39L = this._-20K(_arg1);
            if (k == null)
            {
                return (null);
            };
            var k:String = this._-93(_arg1);
            var k:String = this._-3Vu(k);
            var k:_-2kE = k.getAssetByName((k + _arg2));
            if (k == null)
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (k == null)
            {
                return (null);
            };
            return (k);
        }
        private function _-3cG(_arg1:String, _arg2:String):Boolean
        {
            var k:_-39L = this._-20K(_arg1);
            if (k == null)
            {
                return (false);
            };
            var k:String = this._-93(_arg1);
            var k:String = this._-3Vu(k);
            return (k.hasAsset((k + _arg2)));
        }
        public function _-sj(_arg1:String, _arg2:String, _arg3:BitmapData, _arg4:Boolean):Boolean
        {
            var k:_-2KD = this._-zN(_arg1);
            if (k != null)
            {
                return (k.addAsset(_arg2, _arg3, _arg4));
            };
            return (false);
        }
        private function _-40R(_arg1:String, _arg2:_-39L):_-2KD
        {
            var k:_-2KD = this._-zN(_arg1);
            if (k != null)
            {
                return (k);
            };
            if (_arg2 == null)
            {
                return (null);
            };
            k = this._-4Aa._-40R();
            if (k != null)
            {
                k.assetLibrary = _arg2;
                this._-46s.add(_arg1, k);
            };
            return (k);
        }
        public function _-zN(_arg1:String):_-2KD
        {
            var k:String = this._-93(_arg1);
            return ((this._-46s.getValue(k) as _-2KD));
        }
        public function _-4k8(_arg1:_-3SU, _arg2:String):void
        {
            var k:_-lb = (_arg1 as _-lb);
            if (((k) && (k.getModelController())))
            {
                k.getModelController().setString(_-4Wq._-1Is, _arg2, true);
            };
        }
        private function _-2kR(_arg1:String):Boolean
        {
            var k:_-2KD;
            var k:String = this._-93(_arg1);
            if (this._-46s[k] != null)
            {
                k = this._-46s.remove(k);
                if (k != null)
                {
                    k.dispose();
                };
                return (true);
            };
            return (false);
        }
        private function _-4ZE(_arg1:String, _arg2:XML):_-0Qb
        {
            var k:XML;
            var k:String;
            var k:Number;
            var k:Number;
            var k:XMLList = _arg2.layoutData;
            var k:_-0Qb = new _-0Qb(_arg1);
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                k = (_-0TP + String(k.@name));
                k = 32;
                k = 1;
                if (String(k.@size) != "")
                {
                    k = parseInt(k.@size);
                };
                if (String(k.@heightScale) != "")
                {
                    k = parseFloat(k.@heightScale);
                };
                k._-04j(k, k, k);
                k++;
            };
            return (k);
        }
        public function _-1uo(_arg1:String):Boolean
        {
            if (this._-5EF((_-0TP + _arg1)) == _-1sV._-3Ag)
            {
                return (true);
            };
            return (false);
        }
        public function _-1NE(_arg1:String):Number
        {
            if (this._-4mP != null)
            {
                return (this._-4mP._-MH((_-0TP + _arg1)));
            };
            return (1);
        }
        public function _-40x(_arg1:String):int
        {
            if (this._-4mP != null)
            {
                return (this._-4mP._-qL((_-0TP + _arg1)));
            };
            return (32);
        }
        public function _-2bO():void
        {
            this._-1Ui();
        }
        public function _-2jz(_arg1:int, _arg2:String):void
        {
            this._-39K.remove(_arg1);
            this._-39K.add(_arg1, _arg2);
        }
        public function purge():void
        {
            var k:_-2KD;
            var k:String;
            var k:String;
            var k:_-39L;
            var k:int = this._-46s.length;
            var k:int = getTimer();
            var k:int = (k - 1);
            while (k > -1)
            {
                k = this._-46s.getKey(k);
                if (_-4ip.indexOf(k) < 0)
                {
                    k = this._-46s.getValue(k);
                    if ((((k._-22u() < 1)) && (((k - k._-1a-()) >= _-28))))
                    {
                        this._-46s.remove(k);
                        k.dispose();
                        k = this._-1n3(k);
                        k = (this._-0t7.getValue(k) as _-39L);
                        if (k)
                        {
                            this._-0t7.remove(k);
                            k.dispose();
                        };
                    };
                };
                k--;
            };
        }

    }
}//package _-293

//------------------------------------------------------------
//_-293.RoomEngine

package _-293
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-2np._-1ZV;
    import _-4Fh._-0nP;
    import _-4hI._-4Vd;
    import _-4hI._-3dJ;
    import _-3V-._-2CE;
    import _-jM._-Km;
    import _-1Jd._-51K;
    import _-1Jd._-45k;
    import _-3vb._-3b;
    import _-0mD._-2Jq;
    import _-4Wu._-4uR;
    import _-0y0._-53w;
    import _-18r.Map;
    import _-0GO._-1Z9;
    import flash.display.DisplayObjectContainer;
    import flash.display.LoaderInfo;
    import com.sulake.iid.IIDRoomObjectFactory;
    import com.sulake.iid.IIDRoomObjectVisualizationFactory;
    import com.sulake.iid.IIDRoomManager;
    import com.sulake.iid.IIDRoomRendererFactory;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboAdManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboGameManager;
    import _-1B-._-5CE;
    import _-2IQ._-1--;
    import _-3MI._-0Sy;
    import _-2IQ.TileHeightMap;
    import _-2IQ.LegacyWallGeometry;
    import _-2IQ.TileObjectMap;
    import _-2IQ._-3Dk;
    import _-2IQ._-1WL;
    import _-4hI._-zU;
    import _-0y0._-AY;
    import flash.ui.Mouse;
    import flash.ui.MouseCursor;
    import _-3mW._-1sV;
    import _-59g._-2K9;
    import _-1Jd._-4JJ;
    import _-1C6._-4ky;
    import _-3V-._-lb;
    import _-72._-SC;
    import _-3mW._-4Wq;
    import _-2IQ._-LQ;
    import _-4hI.RoomInstance;
    import flash.utils.getTimer;
    import _-3V-._-3SU;
    import _-4Fh._-2vu;
    import flash.geom.Rectangle;
    import _-0y0._-Xl;
    import flash.geom.Point;
    import flash.geom.Matrix;
    import _-0y0._-2QE;
    import _-0y0._-06R;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import flash.events.Event;
    import _-1H6._-z2;
    import _-yT._-7k;
    import _-3vb.HabboToolbarIconEnum;
    import _-2IQ._-0Ea;
    import _-59g._-2ga;
    import _-72._-2ZI;
    import _-72._-1yS;
    import _-0y0.XMLValidator;
    import _-72._-RI;
    import _-59g._-SX;
    import _-59g._-4r5;
    import _-72._-YH;
    import _-72._-3e9;
    import flash.display.Sprite;
    import _-4Fh._-4yY;
    import flash.display.DisplayObject;
    import _-0y0._-3q6;
    import flash.display.BitmapData;
    import flash.events.MouseEvent;
    import _-59g._-0f;
    import _-071._-2Z2;
    import _-59g._-4KP;
    import _-071._-4l1;
    import flash.display.Bitmap;
    import _-0l8.PetFigureData;
    import _-3mW.RoomObjectUserTypes;
    import _-0sD._-31x;
    import _-72._-1Gs;
    import _-0F-._-4iQ;
    import _-72._-30X;
    import _-4bd._-1yr;
    import _-72._-HN;
    import _-3V-._-30N;
    import _-0F-._-HJ;
    import _-72._-2Qo;
    import _-72._-un;
    import _-72._-3wZ;
    import _-3mW._-4Gs;
    import _-72._-TL;
    import _-72._-1re;
    import _-72._-2MZ;
    import _-72._-3RT;
    import _-72._-52F;
    import _-72._-6p;
    import _-72._-4DO;
    import _-72._-2Ht;
    import _-72._-0Da;
    import _-72._-3dX;
    import _-72._-1oH;
    import _-72._-119;
    import _-72._-4y-;
    import _-72._-3GU;
    import _-72._-0yk;
    import _-72._-4J9;
    import _-72._-2p9;
    import _-72._-0iT;
    import _-72._-13G;
    import _-72._-3Xd;
    import _-0l8._-10A;
    import _-3mW.RoomPlaneParser;
    import _-3V-._-4s6;
    import _-4rn._-E7;
    import _-4rn._-dD;
    import _-72._-45X;
    import _-295._-39L;
    import _-yT._-a5;
    import _-72._-4IZ;
    import _-59g._-22K;
    import com.sulake.iid.*;
    import _-1B-.*;
    import _-4hI.*;
    import _-3V-.*;

    public class RoomEngine extends _-Px implements _-5-S, _-2zN, _-56x, _-3Ic, _-0gI 
    {

        private static const _-0SP:String = "temporary_room";
        protected static const _-2nJ:int = -1;
        private static const _-fp:String = "room";
        private static const _-1U5:int = -2;
        private static const _-1fX:String = "tile_cursor";
        private static const _-0kd:int = -3;
        private static const _-3IZ:String = "selection_arrow";
        private static const _-4iB:String = "overlay";
        private static const _-0ax:String = "object_icon_sprite";
        private static const _-ui:int = 15;
        private static const _-54d:int = 40;

        private var _-0ud:_-4BJ = null;
        private var _-51u:_-1ZV = null;
        private var _-0Rh:_-0nP = null;
        private var _-O6:_-4Vd = null;
        private var _-1Ji:_-3dJ = null;
        private var _-4Aa:_-2CE = null;
        private var _-2UY:_-Km = null;
        private var _-0pW:_-51K = null;
        private var _-16k:_-45k = null;
        private var _-0a7:_-3b = null;
        private var _-3oJ:_-2Jq = null;
        private var _-2Hg:_-4uR;
        private var _-4Jl:RoomObjectEventHandler = null;
        private var _-1vL:RoomMessageHandler = null;
        private var _-6q:RoomContentLoader = null;
        private var _-1tj:Boolean = false;
        private var _-SI:_-53w;
        private var _-Na:Map;
        private var _-4rr:Boolean = false;
        protected var _-3Ex:int = 0;
        protected var _-Rn:int = 0;
        private var _-qY:int = -1;
        private var _-3mL:int = 0;
        private var _-2A8:int = 0;
        private var _-TQ:Boolean = false;
        private var _-1zK:Boolean = false;
        private var _-4xk:int = 0;
        private var _-30V:int = 0;
        private var _-W0:int = 0;
        private var _-0N-:int = 0;
        private var _-4Wd:Boolean = false;
        private var _-1BT:Map = null;
        private var _-12d:Map = null;
        private var _-3j:Boolean = false;
        private var _-1p:Boolean;
        private var _-0xo:Map = null;
        private var _-4oB:_-1Z9;
        private var _-270:Boolean;
        private var _-mE:int = -1;

        public function RoomEngine(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
            this._-12d = new Map();
            this._-SI = new _-53w(1000);
            this._-Na = new Map();
            this._-1BT = new Map();
            this._-4Jl = this.createRoomObjectEventHandlerInstance();
            this._-1vL = new RoomMessageHandler(this);
            var k:DisplayObjectContainer = _arg1.displayObjectContainer;
            var k:LoaderInfo = k.loaderInfo;
            this._-6q = new RoomContentLoader(k.loaderURL);
            queueInterface(new IIDRoomObjectFactory(), this._-5C8);
            queueInterface(new IIDRoomObjectVisualizationFactory(), this._-0zq);
            queueInterface(new IIDRoomManager(), this._-2oz);
            queueInterface(new IIDRoomRendererFactory(), this._-2hv);
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
            queueInterface(new IIDHabboConfigurationManager(), this._-1aw);
            queueInterface(new IIDHabboAdManager(), this._-3fz);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboGameManager(), this._-3et);
            this.initialize();
            registerUpdateReceiver(this, 1);
        }
        public function get _-25k():Boolean
        {
            return (this._-4rr);
        }
        public function get connection():_-1ZV
        {
            return (this._-51u);
        }
        public function get activeRoomId():int
        {
            return (this._-3Ex);
        }
        public function get activeRoomCategory():int
        {
            return (this._-Rn);
        }
        public function get _-2mF():_-4Vd
        {
            return (this._-O6);
        }
        public function get configuration():_-4uR
        {
            return (this._-2Hg);
        }
        protected function get _-3go():RoomObjectEventHandler
        {
            return (this._-4Jl);
        }
        private function get _-4Ce():Boolean
        {
            return (true);
        }
        public function get _-1EZ():_-1Z9
        {
            return (this._-4oB);
        }
        public function _-1uo(_arg1:String):Boolean
        {
            if (this._-6q != null)
            {
                return (this._-6q._-1uo(_arg1));
            };
            return (false);
        }
        protected function createRoomObjectEventHandlerInstance():RoomObjectEventHandler
        {
            return (new RoomObjectEventHandler(this));
        }
        override public function dispose():void
        {
            var k:int;
            var k:_-1--;
            removeUpdateReceiver(this);
            if (this._-1Ji != null)
            {
                this._-1Ji.release(new IIDRoomObjectFactory());
                this._-1Ji = null;
            };
            if (this._-4Aa != null)
            {
                this._-4Aa.release(new IIDRoomObjectVisualizationFactory());
                this._-4Aa = null;
            };
            if (this._-O6 != null)
            {
                this._-O6.release(new IIDRoomManager());
                this._-O6 = null;
            };
            if (this._-0Rh != null)
            {
                this._-0Rh.release(new IIDRoomRendererFactory());
                this._-0Rh = null;
            };
            if (this._-0ud != null)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-2Hg != null)
            {
                this._-2Hg.release(new IIDHabboConfigurationManager());
                this._-2Hg = null;
            };
            if (this._-0a7 != null)
            {
                this._-0a7.events.removeEventListener(_-0Sy._-40N, this._-3KQ);
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
            if (this._-3oJ != null)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-2UY)
            {
                this._-2UY.release(new IIDHabboAdManager());
                this._-2UY = null;
            };
            if (this._-0pW)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-16k)
            {
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            this._-51u = null;
            if (this._-SI != null)
            {
                this._-SI.dispose();
                this._-SI = null;
            };
            if (this._-Na != null)
            {
                this._-Na.dispose();
            };
            if (this._-4Jl != null)
            {
                this._-4Jl.dispose();
                this._-4Jl = null;
            };
            if (this._-1vL != null)
            {
                this._-1vL.dispose();
                this._-1vL = null;
            };
            if (this._-6q != null)
            {
                this._-6q.dispose();
                this._-6q = null;
            };
            if (this._-1BT != null)
            {
                this._-1BT.dispose();
                this._-1BT = null;
            };
            if (this._-12d != null)
            {
                k = 0;
                while (k < this._-12d.length)
                {
                    k = (this._-12d.getWithIndex(k) as _-1--);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-12d.dispose();
                this._-12d = null;
            };
            if (this._-0xo != null)
            {
                this._-0xo.dispose();
                this._-0xo = null;
            };
            super.dispose();
        }
        private function initialize():void
        {
        }
        private function _-4Ec(_arg1:int, _arg2:int):_-1--
        {
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-1--;
            if (this._-12d != null)
            {
                k = (this._-12d.getValue(k) as _-1--);
                if (k == null)
                {
                    k = new _-1--(_arg1, _arg2);
                    this._-12d.add(k, k);
                };
            };
            return (k);
        }
        public function _-4ct(_arg1:int, _arg2:int, _arg3:TileHeightMap):void
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k._-537 = _arg3;
            };
        }
        public function _-3rL(_arg1:int, _arg2:int):TileHeightMap
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                return (k._-537);
            };
            return (null);
        }
        public function _-25y(_arg1:int, _arg2:int, _arg3:String):void
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k._-G2 = _arg3;
            };
        }
        public function _-IK(_arg1:int, _arg2:int):String
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                return (k._-G2);
            };
            return (null);
        }
        public function _-4Gn(_arg1:int, _arg2:int):LegacyWallGeometry
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                return (k._-2Uv);
            };
            return (null);
        }
        public function _-2iY(_arg1:int, _arg2:int):TileObjectMap
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                return (k._-0Cx);
            };
            return (null);
        }
        private function _-0ZJ():_-3Dk
        {
            return (this._-02o(this._-3Ex, this._-Rn));
        }
        private function _-02o(_arg1:int, _arg2:int):_-3Dk
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                return (k._-0Pc);
            };
            return (null);
        }
        public function _-Uz(_arg1:int, _arg2:int, _arg3:_-1WL):void
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k._-3Gz = _arg3;
                if (_arg3 != null)
                {
                    k._-3lC = null;
                };
            };
        }
        public function _-rV(_arg1:int, _arg2:int):_-0xz
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                return (k._-3Gz);
            };
            return (null);
        }
        public function _-nt(_arg1:int, _arg2:int, _arg3:_-1WL):void
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k._-3lC = _arg3;
            };
        }
        public function _-3v2(_arg1:int, _arg2:int):_-0xz
        {
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                return (k._-3lC);
            };
            return (null);
        }
        public function _-To(_arg1:int):void
        {
            this._-O6._-To(_arg1);
        }
        public function _-53K(_arg1:int):void
        {
            this._-O6._-53K(_arg1);
        }
        public function update(_arg1:uint):void
        {
            var k:int;
            var k:_-zU;
            _-AY._-0IO();
            if (this._-O6 != null)
            {
                this._-0DK();
                this._-O6.update(_arg1);
                k = 0;
                while (k < this._-O6._-3a8())
                {
                    k = this._-O6._-3jr(k);
                    if (((!((k == null))) && (!((k._-4iw() == null)))))
                    {
                        k._-4iw().update(_arg1);
                    };
                    k++;
                };
                this._-1Ao(_arg1);
                if (this._-1p)
                {
                    this._-YI();
                };
            };
            _-AY._-0Wv();
        }
        private function _-YI():void
        {
            this._-1p = false;
            var k:_-1-- = this._-4Ec(this._-3Ex, this._-Rn);
            if (((k) && (k._-tH())))
            {
                Mouse.cursor = MouseCursor.BUTTON;
            }
            else
            {
                Mouse.cursor = MouseCursor.ARROW;
            };
        }
        public function _-39l(_arg1:String, _arg2:int, _arg3:String):void
        {
            var k:int = this._-0Z9(_arg3);
            switch (_arg1)
            {
                case _-2K9._-49J:
                    if (((this._-1rr) && ((k == _-1sV._-3I0))))
                    {
                        this._-mE = _arg2;
                    };
                    this._-18e(this._-3Ex, this._-Rn, k, _arg2);
                    return;
                default:
                    if (((this._-1rr) && ((k == _-1sV._-3I0))))
                    {
                        this._-mE = -1;
                    };
                    this._-1M-(this._-3Ex, this._-Rn, k, _arg2);
            };
        }
        private function _-18e(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:String;
            var k:_-1--;
            var k:_-4JJ = this._-16k.getSession(_arg1, _arg2);
            if (((((!((_arg3 == _-1sV._-0u-))) && (!((_arg3 == _-1sV._-20L))))) || (((!((k == null))) && ((k._-125 >= _-4ky._-YE))))))
            {
                k = ((_arg3 + "_") + _arg4);
                k = this._-4Ec(_arg1, _arg2);
                if (k != null)
                {
                    if (k._-18e(k))
                    {
                        this._-1p = true;
                    };
                };
            };
        }
        private function _-1M-(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:String;
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k = ((_arg3 + "_") + _arg4);
                if (k._-1M-(k))
                {
                    this._-1p = true;
                };
            };
        }
        public function _-4zr(_arg1:int, _arg2:int, _arg3:int):void
        {
            var k:_-lb;
            var k:_-lb;
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            if (_arg3 >= 0)
            {
                k = this._-1gd(_arg1, _arg2);
                k = this._-0Go(_arg1, _arg2, _arg3);
                if (((((((!((k == null))) && (!((k.getModel() == null))))) && (!((k == null))))) && (!((k._-40i() == null)))))
                {
                    k = _-SC._-wN;
                    k = k.getLocation().x;
                    k = k.getLocation().y;
                    k = k.getModel().getNumber(_-4Wq._-1VR);
                    k = k.getModel().getNumber(_-4Wq._-1mA);
                    k._-40i().processUpdateMessage(new _-SC(k, _arg3, k, k, k, k));
                };
            };
        }
        public function _-0wC(_arg1:int, _arg2:int, _arg3:int):void
        {
            var k:_-lb;
            var k:String;
            if (_arg3 >= 0)
            {
                k = this._-1gd(_arg1, _arg2);
                if (((!((k == null))) && (!((k._-40i() == null)))))
                {
                    k = _-SC._-x3;
                    k._-40i().processUpdateMessage(new _-SC(k, _arg3));
                };
            };
        }
        private function _-0DK():void
        {
            var k:int;
            var k:_-1--;
            var k:int;
            var k:_-LQ;
            var k:Boolean;
            var k:String;
            var k:RoomInstance;
            if (this._-3j)
            {
                this._-3j = false;
                return;
            };
            var k:int = getTimer();
            var k:int = 5;
            for each (k in this._-12d)
            {
                k = 0;
                k = null;
                k = false;
                while ((k = k._-2QH()) != null)
                {
                    k = this._-2L5(k.roomId, k.roomCategory, k.id, k);
                    ++k;
                    if ((k % k) == 0)
                    {
                        k = getTimer();
                        if (((((k - k) >= _-54d)) && (!(this._-270))))
                        {
                            this._-3j = true;
                            break;
                        };
                    };
                };
                while (((!(this._-3j)) && (!(((k = k._-3LT()) == null)))))
                {
                    k = this._-1PN(k.roomId, k.roomCategory, k.id, k);
                    ++k;
                    if ((k % k) == 0)
                    {
                        k = getTimer();
                        if (((((k - k) >= _-54d)) && (!(this._-270))))
                        {
                            this._-3j = true;
                            break;
                        };
                    };
                };
                if (((k) && (this._-270)))
                {
                    k = this._-1FJ(k.roomId, k.roomCategory);
                    k = (this._-O6._-13y(k) as RoomInstance);
                    if (!k._-kv())
                    {
                        this._-0cQ(k);
                    };
                };
                if (this._-3j)
                {
                    return;
                };
            };
        }
        private function _-1Ao(_arg1:uint):void
        {
            var k:_-1--;
            var k:_-3Dk;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:_-3SU;
            var k:int = 1;
            var k:int;
            while (k < this._-12d.length)
            {
                k = (this._-12d.getWithIndex(k) as _-1--);
                k = null;
                k = 0;
                k = 0;
                if (k != null)
                {
                    k = k._-0Pc;
                    k = k.roomId;
                    k = k.roomCategory;
                };
                if (k != null)
                {
                    k = k._-0sa;
                    k = k._-3Rs;
                    k = this.getRoomObject(k, k, k, k);
                    if (k != null)
                    {
                        if (((((!((k == this._-3Ex))) || (!((k == this._-Rn))))) || (!(this._-TQ))))
                        {
                            this._-48g(k, k, k, k.getLocation(), _arg1);
                        };
                    };
                };
                k++;
            };
            var k:_-2vu = this._-20M(this._-3Ex, this._-Rn, k);
            if (k != null)
            {
                if (this._-TQ)
                {
                    k._-2Kt = (k._-2Kt + this._-W0);
                    k._-2TB = (k._-2TB + this._-0N-);
                    this._-W0 = 0;
                    this._-0N- = 0;
                };
            };
        }
        private function _-48g(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:uint):void
        {
            var k:Number;
            var k:Rectangle;
            var k:int;
            var k:int;
            var k:Rectangle;
            var k:_-Xl;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Point;
            var k:Number;
            var k:Number;
            var k:Matrix;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Point;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:int;
            var k:int;
            var k:Point;
            var k:_-Xl;
            var k:_-2vu = this._-20M(_arg1, _arg2, _arg3);
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            var k:_-2QE = (k.geometry as _-2QE);
            var k:_-3Dk = k._-0Pc;
            var k:_-zU = this._-13y(_arg1, _arg2);
            if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
            {
                k = (Math.floor(_arg4.z) + 1);
                k = this._-1BG(_arg1, _arg2, _arg3);
                if (k != null)
                {
                    k = Math.round(k.width);
                    k = Math.round(k.height);
                    k = this._-2WQ(_arg3);
                    if (((!((k == null))) && ((((((((k.right < 0)) || ((k.bottom < 0)))) || ((k.left >= k)))) || ((k.top >= k))))))
                    {
                        k.reset();
                    };
                    if (((((((((((!((k._-2vj == k))) || (!((k._-47O == k))))) || (!((k.scale == k.scale))))) || (!((k._-1KX == k._-3KH))))) || (!(_-Xl._-3QV(_arg4, k._-2BU))))) || (k._-IZ)))
                    {
                        k._-2BU = _arg4;
                        k = new _-Xl();
                        k._-3jn(_arg4);
                        k.x = Math.round(k.x);
                        k.y = Math.round(k.y);
                        k = (k.getNumber(_-3wv._-1R8) - 0.5);
                        k = (k.getNumber(_-3wv._-2Dk) - 0.5);
                        k = (k.getNumber(_-3wv._-2us) + 0.5);
                        k = (k.getNumber(_-3wv._-3F5) + 0.5);
                        k = Math.round(((k + k) / 2));
                        k = Math.round(((k + k) / 2));
                        k = 2;
                        k = new Point((k.x - k), (k.y - k));
                        k = (k.scale / Math.sqrt(2));
                        k = (k / 2);
                        k = new Matrix();
                        k.rotate(((-((k.direction.x + 90)) / 180) * Math.PI));
                        k = k.transformPoint(k);
                        k.y = (k.y * (k / k));
                        k = (((k.width / 2) / k) - 1);
                        k = (((k.height / 2) / k) - 1);
                        k = 0;
                        k = 0;
                        k = 0;
                        k = 0;
                        k = k._-2Et(new _-Xl(k, k, k));
                        if (!k)
                        {
                            return;
                        };
                        k.x = (k.x + Math.round((k.width / 2)));
                        k.y = (k.y + Math.round((k.height / 2)));
                        if (k != null)
                        {
                            k.offset(-(k._-2Kt), -(k._-2TB));
                            if ((((k.width > 1)) && ((k.height > 1))))
                            {
                                k = (((k.left - k.x) - (k.scale * 0.25)) / k);
                                k = (((k.right - k.x) + (k.scale * 0.25)) / k);
                                k = (((k.top - k.y) - (k.scale * 0.5)) / k);
                                k = (((k.bottom - k.y) + (k.scale * 0.5)) / k);
                            }
                            else
                            {
                                k._-EP(new _-Xl(-30, -30), 25);
                                return;
                            };
                        }
                        else
                        {
                            k._-EP(new _-Xl(0, 0), 25);
                            return;
                        };
                        k = false;
                        k = false;
                        k = false;
                        k = false;
                        k = Math.round(((k - k) * k));
                        if (k < k.width)
                        {
                            k = 2;
                            k.x = ((k + k) / 2);
                            k = true;
                        }
                        else
                        {
                            if (k.x > (k - k))
                            {
                                k.x = (k - k);
                                k = true;
                            };
                            if (k.x < (k + k))
                            {
                                k.x = (k + k);
                                k = true;
                            };
                        };
                        k = Math.round(((k - k) * k));
                        if (k < k.height)
                        {
                            k = 2;
                            k.y = ((k + k) / 2);
                            k = true;
                        }
                        else
                        {
                            if (k.y > (k - k))
                            {
                                k.y = (k - k);
                                k = true;
                            };
                            if (k.y < (k + k))
                            {
                                k.y = (k + k);
                                k = true;
                            };
                            if (k)
                            {
                                k.y = (k.y / (k / k));
                            };
                        };
                        k.invert();
                        k = k.transformPoint(k);
                        k.x = (k.x + k);
                        k.y = (k.y + k);
                        k = 0.35;
                        k = 0.2;
                        k = 0.2;
                        k = 10;
                        k = 10;
                        if ((k * k) > 100)
                        {
                            k = (100 / k);
                        };
                        if ((k * k) > 150)
                        {
                            k = (150 / k);
                        };
                        if ((k * k) > 150)
                        {
                            k = (150 / k);
                        };
                        if (((((k._-0hA) && ((k._-2vj == k)))) && ((k._-47O == k))))
                        {
                            k = 0;
                        };
                        if (((((k._-2u1) && ((k._-2vj == k)))) && ((k._-47O == k))))
                        {
                            k = 0;
                            k = 0;
                        };
                        k.right = (k.right * (1 - (k * 2)));
                        k.bottom = (k.bottom * (1 - (k + k)));
                        if (k.right < k)
                        {
                            k.right = k;
                        };
                        if (k.bottom < k)
                        {
                            k.bottom = k;
                        };
                        if ((k + k) > 0)
                        {
                            k.offset((-(k.width) / 2), (-(k.height) * (k / (k + k))));
                        }
                        else
                        {
                            k.offset((-(k.width) / 2), (-(k.height) / 2));
                        };
                        k = k._-2Et(k);
                        if (!k)
                        {
                            return;
                        };
                        if (k != null)
                        {
                            k.x = (k.x + k._-2Kt);
                            k.y = (k.y + k._-2TB);
                            k.z = k;
                            k.x = (Math.round((k.x * 2)) / 2);
                            k.y = (Math.round((k.y * 2)) / 2);
                            if (k.location == null)
                            {
                                k.location = k;
                                if (this._-4Ce)
                                {
                                    k._-LZ(new _-Xl(0, 0, 0));
                                }
                                else
                                {
                                    k._-LZ(k);
                                };
                            };
                            k = k._-2Et(k);
                            k = new _-Xl(0, 0, 0);
                            if (k != null)
                            {
                                k.x = k.x;
                                k.y = k.y;
                            };
                            if ((((((((((((((((k.x < k.left)) || ((k.x > k.right)))) && (!(k._-0SE)))) || ((((((k.y < k.top)) || ((k.y > k.bottom)))) && (!(k._-4rt)))))) || (((((k) && (!(k._-0SE)))) && (!((k._-2vj == k))))))) || (((((k) && (!(k._-4rt)))) && (!((k._-47O == k))))))) || (((!((k._-0fz == k.width))) || (!((k._-2Fq == k.height))))))) || (((!((k._-2vj == k))) || (!((k._-47O == k)))))))
                            {
                                k._-0hA = k;
                                k._-2u1 = k;
                                if (this._-4Ce)
                                {
                                    k.target = k;
                                }
                                else
                                {
                                    k.target = k;
                                };
                            }
                            else
                            {
                                if (!k)
                                {
                                    k._-0hA = false;
                                };
                                if (!k)
                                {
                                    k._-2u1 = false;
                                };
                            };
                        };
                        k._-0SE = k;
                        k._-4rt = k;
                        k._-2vj = k;
                        k._-47O = k;
                        k.scale = k.scale;
                        k._-1KX = k._-3KH;
                        k._-0fz = k.width;
                        k._-2Fq = k.height;
                        if (this._-4Ce)
                        {
                            k.update(_arg5, 8);
                        }
                        else
                        {
                            k.update(_arg5, 0.5);
                        };
                        if (this._-4Ce)
                        {
                            k._-2Kt = -(k.location.x);
                            k._-2TB = -(k.location.y);
                        }
                        else
                        {
                            k._-EP(k.location, 25);
                        };
                    }
                    else
                    {
                        k._-0hA = false;
                        k._-2u1 = false;
                        k._-0SE = false;
                        k._-4rt = false;
                    };
                };
            };
        }
        private function _-5C8(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-1Ji = (_arg2 as _-3dJ);
            this._-08h();
            this._-0oB();
        }
        private function _-0zq(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-4Aa = (_arg2 as _-2CE);
            if (this._-6q != null)
            {
                this._-6q._-D4 = this._-4Aa;
            };
            this._-0oB();
        }
        private function _-2oz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-O6 = (_arg2 as _-4Vd);
            if (this._-O6 != null)
            {
                this._-O6._-To(_-1sV._-0u-);
                this._-O6._-To(_-1sV._-20L);
                this._-O6._-To(_-1sV._-3I0);
                this._-O6._-To(_-1sV._-1aV);
                this._-O6._-To(_-1sV._-3Ag);
                this._-O6._-2OT(this._-6q);
            };
            this._-0oB();
        }
        private function _-2hv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0Rh = (_arg2 as _-0nP);
            this._-0oB();
        }
        private function _-w(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0ud = (_arg2 as _-4BJ);
            if (this._-0ud != null)
            {
                this._-51u = this._-0ud._-4gR(this._-1QP);
                if (this._-51u != null)
                {
                    this._-1QP(this._-51u);
                };
            };
            this._-0oB();
        }
        private function _-1QP(_arg1:_-1ZV):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-51u = _arg1;
                if (this._-1vL != null)
                {
                    this._-1vL.connection = _arg1;
                };
            };
        }
        private function _-1aw(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2Hg = (_arg2 as _-4uR);
            if (this._-6q != null)
            {
                events.addEventListener(RoomContentLoader._-55-, this._-46A);
                this._-6q.initialize(events, this._-2Hg);
            };
            this._-4Wd = (this._-2Hg.getKey("room.dragging.always_center", "0") == "1");
            this._-0oB();
        }
        private function _-46A(_arg1:Event):void
        {
            if (((!((_arg1 == null))) && ((_arg1.type == RoomContentLoader._-55-))))
            {
                this._-1tj = true;
                this._-0oB();
            };
        }
        private function _-3fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2UY = (_arg2 as _-Km);
            this._-2UY.events.addEventListener(_-z2._-0X7, this._-2iP);
            this._-2UY.events.addEventListener(_-z2._-3gk, this._-2eX);
            this._-2UY.events.addEventListener(_-z2._-1BR, this._-2eX);
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0pW = (_arg2 as _-51K);
            this._-6q.sessionDataManager = this._-0pW;
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-16k = (_arg2 as _-45k);
            this._-16k.events.addEventListener(_-7k._-1YC, this._-2ED);
            this._-16k.events.addEventListener(_-7k._-44W, this._-2ED);
        }
        private function _-2ED(_arg1:_-7k):void
        {
            switch (_arg1.type)
            {
                case _-7k._-1YC:
                    if (this._-1vL)
                    {
                        this._-1vL._-08g(_arg1.session.roomId, _arg1.session.roomCategory);
                    };
                    return;
                case _-7k._-44W:
                    if (this._-1vL)
                    {
                        this._-1vL._-0ZL();
                        this._-1YJ(_arg1.session.roomId, _arg1.session.roomCategory);
                    };
                    return;
            };
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0a7 = (_arg2 as _-3b);
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-3KQ);
            this._-4Jl.toolbar = this._-0a7;
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-3oJ = (_arg2 as _-2Jq);
            this._-4Jl.catalog = this._-3oJ;
        }
        private function _-3et(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-4oB = (_arg2 as _-1Z9);
        }
        private function _-3KQ(_arg1:_-0Sy):void
        {
            var k:_-3Dk;
            if (_arg1._-1wJ == HabboToolbarIconEnum.MEMENU)
            {
                k = this._-0ZJ();
                if (k)
                {
                    k.reset();
                };
            };
        }
        private function _-08h():void
        {
            if (this._-1Ji != null)
            {
                this._-1Ji._-1XO(this._-TD);
            };
        }
        private function _-0oB():void
        {
            if ((((((((((((((this._-1Ji == null)) || ((this._-4Aa == null)))) || ((this._-O6 == null)))) || ((this._-0Rh == null)))) || ((this._-0ud == null)))) || ((this._-2Hg == null)))) || (!(this._-1tj))))
            {
                return;
            };
            this._-O6.initialize(<nothing/>
            , this);
        }
        public function _-1sG(_arg1:Boolean):void
        {
            var k:int;
            var k:_-0Ea;
            if (_arg1)
            {
                this._-4rr = true;
                events.dispatchEvent(new _-2ga(_-2ga._-Dl, 0, 0));
                k = 0;
                while (k < this._-1BT.length)
                {
                    k = (this._-1BT.getWithIndex(k) as _-0Ea);
                    if (k != null)
                    {
                        this._-3be(k.roomId, k.roomCategory, k.data);
                    };
                    k++;
                };
            };
        }
        public function _-1hy(_arg1:int, _arg2:int):void
        {
            this._-3Ex = _arg1;
            this._-Rn = _arg2;
        }
        public function _-1FJ(_arg1:int, _arg2:int):String
        {
            return (String(((_arg1 + "_") + _arg2)));
        }
        private function _-4z7(_arg1:String):int
        {
            var k:Array;
            if (_arg1 != null)
            {
                k = _arg1.split("_");
                if (k.length > 0)
                {
                    return (k[0]);
                };
            };
            return (-1);
        }
        private function _-2Gi(_arg1:String):int
        {
            var k:Array;
            if (_arg1 != null)
            {
                k = _arg1.split("_");
                if (k.length > 1)
                {
                    return (k[1]);
                };
            };
            return (-1);
        }
        public function _-RG(_arg1:int, _arg2:int):Boolean
        {
            return (this._-1uo(this._-IK(_arg1, _arg2)));
        }
        public function _-XI(_arg1:int, _arg2:int, _arg3:String):Number
        {
            var k:_-zU = this._-13y(_arg1, _arg2);
            if (k != null)
            {
                return (k.getNumber(_arg3));
            };
            return (NaN);
        }
        public function _-4AJ(_arg1:int, _arg2:int, _arg3:String):String
        {
            var k:_-zU = this._-13y(_arg1, _arg2);
            if (k != null)
            {
                return (k.getString(_arg3));
            };
            return (null);
        }
        public function _-7l(_arg1:int, _arg2:int, _arg3:Boolean):void
        {
            var k:int;
            var k:_-zU = this._-13y(_arg1, _arg2);
            if (k != null)
            {
                k = ((_arg3) ? 1 : 0);
                k.setNumber(_-3wv._-3Yo, k);
                if (k == 0)
                {
                    events.dispatchEvent(new _-2ga(_-2ga._-1JB, _arg1, _arg2));
                }
                else
                {
                    events.dispatchEvent(new _-2ga(_-2ga._-2fE, _arg1, _arg2));
                };
            };
        }
        public function _-F1(_arg1:int, _arg2:int):Boolean
        {
            var k:Number;
            var k:_-zU = this._-13y(_arg1, _arg2);
            if (k != null)
            {
                k = k.getNumber(_-3wv._-3Yo);
                if (k > 0)
                {
                    return (true);
                };
            };
            return (false);
        }
        public function _-3j1():Boolean
        {
            return (this._-F1(this._-3Ex, this._-Rn));
        }
        public function _-13y(_arg1:int, _arg2:int):_-zU
        {
            if (!this._-4rr)
            {
                return (null);
            };
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-zU = this._-O6._-13y(k);
            return (k);
        }
        public function _-3be(_arg1:int, _arg2:int, _arg3:XML):void
        {
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-0Ea;
            var k:String = "111";
            var k:String = "201";
            var k:String = "1";
            if (!this._-4rr)
            {
                k = this._-1BT.remove(k);
                if (k != null)
                {
                    k = k._-E-;
                    k = k._-1ts;
                    k = k._-Av;
                };
                k = new _-0Ea(_arg1, _arg2, _arg3);
                k._-E- = k;
                k._-1ts = k;
                k._-Av = k;
                this._-1BT.add(k, k);
                _-Nb.log("Room Engine not initilized yet, can not create room. Room data stored for later initialization.");
                return;
            };
            if (_arg3 == null)
            {
                _-Nb.log("Room property messages received before floor height map, will initialize when floor height map received.");
                return;
            };
            k = this._-1BT.remove(k);
            if (k != null)
            {
                if (((!((k._-E- == null))) && ((k._-E-.length > 0))))
                {
                    k = k._-E-;
                };
                if (((!((k._-1ts == null))) && ((k._-1ts.length > 0))))
                {
                    k = k._-1ts;
                };
                if (((!((k._-Av == null))) && ((k._-Av.length > 0))))
                {
                    k = k._-Av;
                };
            };
            var k:_-zU = this._-23R(k, _arg3, k, k, k, this._-IK(_arg1, _arg2));
            if (k == null)
            {
                return;
            };
            events.dispatchEvent(new _-2ga(_-2ga._-4sh, _arg1, _arg2));
        }
        private function _-23R(_arg1:String, _arg2:XML, _arg3:String, _arg4:String, _arg5:String, _arg6:String):_-zU
        {
            var k:String;
            var k:int;
            var k:int;
            var k:XML;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:_-2ZI;
            var k:XMLList;
            var k:Array;
            var k:_-1yS;
            var k:int;
            var k:XML;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:String;
            var k:String;
            var k:_-Xl;
            if (!this._-4rr)
            {
                return (null);
            };
            var k:_-zU = this._-O6._-23R(_arg1, _arg2);
            if (k == null)
            {
                return (null);
            };
            var k:int = _-1sV._-3Ag;
            var k:_-lb;
            var k:Number = 1;
            if (this._-1uo(_arg6))
            {
                k = this._-6q._-0y5(_arg6);
                k = (k._-25c(_-2nJ, k, k) as _-lb);
                k.getModelController().setString(_-4Wq._-TO, _arg6, true);
                k.setNumber(_-3wv._-4LZ, 1, true);
                k = parseInt(this._-2Hg.getKey("ads.billboard.displayDelayMillis", "1000"));
                k.getModelController().setNumber(_-3wv._-3Ii, k, true);
                if (this._-6q != null)
                {
                    k = this._-6q._-1NE(_arg6);
                };
            }
            else
            {
                k = (k._-25c(_-2nJ, _-fp, k) as _-lb);
                k.setNumber(_-3wv._-4LZ, 0, true);
            };
            k.setNumber(_-3wv._-4uf, k, true);
            if (_arg2 != null)
            {
                k = 0;
                if (_arg2.dimensions.length() == 1)
                {
                    k = _arg2.dimensions[0];
                    k = Number(k.@minX);
                    k = Number(k.@maxX);
                    k = Number(k.@minY);
                    k = Number(k.@maxY);
                    k.setNumber(_-3wv._-1R8, k);
                    k.setNumber(_-3wv._-2us, k);
                    k.setNumber(_-3wv._-2Dk, k);
                    k.setNumber(_-3wv._-3F5, k);
                    k = (k + ((((k * 423) + (k * 671)) + (k * 913)) + (k * 7509)));
                    if (((!((k == null))) && (!((k.getModelController() == null)))))
                    {
                        k.getModelController().setNumber(_-4Wq._-3A9, k, true);
                    };
                };
            };
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k._-40i().initialize(_arg2);
                k = null;
                if (_arg3 != null)
                {
                    k = new _-2ZI(_-2ZI._-QZ, _arg3);
                    k._-40i().processUpdateMessage(k);
                    k.setString(_-4Wq._-3Oy, _arg3);
                };
                if (_arg4 != null)
                {
                    k = new _-2ZI(_-2ZI._-1hI, _arg4);
                    k._-40i().processUpdateMessage(k);
                    k.setString(_-4Wq._-3Sr, _arg4);
                };
                if (_arg5 != null)
                {
                    k = new _-2ZI(_-2ZI._-440, _arg5);
                    k._-40i().processUpdateMessage(k);
                    k.setString(_-4Wq._-3HV, _arg5);
                };
                if (_arg2 != null)
                {
                    if (_arg2.doors.door.length() > 0)
                    {
                        k = _arg2.doors.door;
                        k = ["x", "y", "z", "dir"];
                        k = null;
                        k = 0;
                        while (k < k.length())
                        {
                            k = k[k];
                            if (XMLValidator._-4qb(k, k))
                            {
                                k = Number(k.@x);
                                k = Number(k.@y);
                                k = Number(k.@z);
                                k = Number(k.@dir);
                                k = _-1yS._-2x9;
                                k = ("door_" + k);
                                k = new _-Xl(k, k, k);
                                k = new _-1yS(_-1yS._-y3, k, k, k, _-1yS._-1Hh);
                                k._-40i().processUpdateMessage(k);
                                if ((((k == 90)) || ((k == 180))))
                                {
                                    if (k == 90)
                                    {
                                        k.setNumber(_-4Wq._-4WJ, (k - 0.5), true);
                                        k.setNumber(_-4Wq._-4Yb, k, true);
                                    };
                                    if (k == 180)
                                    {
                                        k.setNumber(_-4Wq._-4WJ, k, true);
                                        k.setNumber(_-4Wq._-4Yb, (k - 0.5), true);
                                    };
                                    k.setNumber(_-4Wq._-1RR, k, true);
                                    k.setNumber(_-4Wq._-5F, k, true);
                                };
                            };
                            k++;
                        };
                    };
                };
            };
            k._-25c(_-1U5, _-1fX, _-1sV._-1aV);
            if (this._-2Hg.getKey("avatar.widget.enabled", "0") == "0")
            {
                k._-25c(_-0kd, _-3IZ, _-1sV._-1aV);
            };
            return (k);
        }
        public function _-1gd(_arg1:int, _arg2:int):_-lb
        {
            return (this._-4UQ(this._-1FJ(_arg1, _arg2), _-2nJ, _-1sV._-3Ag));
        }
        public function _-501(_arg1:int, _arg2:int, _arg3:String=null, _arg4:String=null, _arg5:String=null, _arg6:Boolean=false):Boolean
        {
            var k:String;
            var k:_-0Ea;
            var k:_-lb = this._-1gd(_arg1, _arg2);
            var k:_-zU = this._-13y(_arg1, _arg2);
            if (k == null)
            {
                k = this._-1FJ(_arg1, _arg2);
                k = this._-1BT.getValue(k);
                if (k == null)
                {
                    k = new _-0Ea(_arg1, _arg2, null);
                    this._-1BT.add(k, k);
                };
                if (_arg3 != null)
                {
                    k._-E- = _arg3;
                };
                if (_arg4 != null)
                {
                    k._-1ts = _arg4;
                };
                if (_arg5 != null)
                {
                    k._-Av = _arg5;
                };
                return (true);
            };
            if (k._-40i() == null)
            {
                return (false);
            };
            var k:_-2ZI;
            if (_arg3 != null)
            {
                if (((!((k == null))) && (!(_arg6))))
                {
                    k.setString(_-4Wq._-3Oy, _arg3);
                };
                k = new _-2ZI(_-2ZI._-QZ, _arg3);
                k._-40i().processUpdateMessage(k);
            };
            if (_arg4 != null)
            {
                if (((!((k == null))) && (!(_arg6))))
                {
                    k.setString(_-4Wq._-3Sr, _arg4);
                };
                k = new _-2ZI(_-2ZI._-1hI, _arg4);
                k._-40i().processUpdateMessage(k);
            };
            if (_arg5 != null)
            {
                if (((!((k == null))) && (!(_arg6))))
                {
                    k.setString(_-4Wq._-3HV, _arg5);
                };
                k = new _-2ZI(_-2ZI._-440, _arg5);
                k._-40i().processUpdateMessage(k);
            };
            return (true);
        }
        public function _-4Gg(_arg1:int, _arg2:int, _arg3:uint, _arg4:int, _arg5:Boolean):Boolean
        {
            var k:_-lb = this._-1gd(_arg1, _arg2);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-RI;
            k = new _-RI(_-RI._-0nG, _arg3, _arg4, _arg5);
            k._-40i().processUpdateMessage(k);
            events.dispatchEvent(new _-SX(_arg1, _arg2, _arg3, _arg4, _arg5));
            return (true);
        }
        public function _-1Hz(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:int, _arg5:int, _arg6:int):Boolean
        {
            var k:_-lb = this._-1gd(_arg1, _arg2);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            events.dispatchEvent(new _-4r5(_-4r5._-51W, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6));
            return (true);
        }
        public function _-4f0(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:Boolean=true):Boolean
        {
            var k:_-lb = this._-1gd(_arg1, _arg2);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-YH;
            k = new _-YH(_-YH._-tu, _arg3);
            k._-40i().processUpdateMessage(k);
            k = new _-YH(_-YH._-3Ho, _arg4);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-31Q(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number):Boolean
        {
            var k:_-lb = this._-1gd(_arg1, _arg2);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-3e9;
            k = new _-3e9(_-3e9._-15r, _arg3);
            k._-40i().processUpdateMessage(k);
            k = new _-3e9(_-3e9._-Ik, _arg4);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-1YJ(_arg1:int, _arg2:int):void
        {
            var k:String = this._-1FJ(_arg1, _arg2);
            this._-O6._-1YJ(k);
            var k:_-1-- = this._-12d.remove(k);
            if (k != null)
            {
                k.dispose();
            };
            events.dispatchEvent(new _-2ga(_-2ga._-1dz, _arg1, _arg2));
        }
        public function _-1Cr(_arg1:int, _arg2:int, _arg3:int):void
        {
            var k:_-4JJ = this._-16k.getSession(_arg1, _arg2);
            if (k)
            {
                k._-1NZ = _arg3;
            };
            var k:_-3Dk = this._-02o(_arg1, _arg2);
            if (k != null)
            {
                k._-0sa = _arg3;
                k._-3Rs = _-1sV._-3I0;
            };
        }
        public function _-2TL(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):DisplayObject
        {
            var k:String;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:_-Xl;
            var k:_-Xl;
            var k:Sprite;
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-zU = this._-O6._-13y(k);
            if (k == null)
            {
                return (null);
            };
            var k:_-4yY = (k._-4iw() as _-4yY);
            if (k == null)
            {
                k = this._-0Rh.createRenderer();
            };
            if (k == null)
            {
                return (null);
            };
            k._-2GD = _-4Wq._-17P;
            k._-pJ(k);
            var k:_-2vu = k._-5DE(_arg3, _arg4, _arg5, _arg6);
            if (k == null)
            {
                return (null);
            };
            k._-3LD = this._-4Jl;
            if (k.geometry != null)
            {
                k = this._-IK(_arg1, _arg2);
                if (this._-1uo(k))
                {
                    if (this._-6q != null)
                    {
                        if (this._-6q._-40x(k) != 64)
                        {
                            k.geometry._-1RO();
                        };
                    };
                };
                k.geometry._-v9 = k.getNumber(_-3wv._-4uf);
            };
            if (k.geometry != null)
            {
                k = k.getNumber(_-4Wq._-4WJ);
                k = k.getNumber(_-4Wq._-4Yb);
                k = k.getNumber(_-4Wq._-1RR);
                k = k.getNumber(_-4Wq._-5F);
                k = new _-Xl(k, k, k);
                k = null;
                if (k == 90)
                {
                    k = new _-Xl(-1000, 0, 0);
                };
                if (k == 180)
                {
                    k = new _-Xl(0, -1000, 0);
                };
                k.geometry._-aS(k, k);
            };
            var k:Sprite = (k.displayObject as Sprite);
            if (k != null)
            {
                k = new Sprite();
                k.name = _-4iB;
                k.mouseEnabled = false;
                k.addChild(k);
            };
            return (k);
        }
        private function _-20M(_arg1:int, _arg2:int, _arg3:int):_-2vu
        {
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-zU = this._-O6._-13y(k);
            if (k == null)
            {
                return (null);
            };
            var k:_-4yY = (k._-4iw() as _-4yY);
            if (k == null)
            {
                return (null);
            };
            var k:_-2vu = k._-3zT(_arg3);
            return (k);
        }
        public function _-0pB(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Boolean
        {
            var k:_-2vu = this._-20M(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (false);
            };
            k.initialize(_arg4, _arg5);
            return (true);
        }
        public function _-2zt(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean):void
        {
            var k:_-2vu = this._-20M(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return;
            };
            k._-3wr = _arg4;
        }
        private function _-1BG(_arg1:int, _arg2:int, _arg3:int):Rectangle
        {
            var k:_-2vu = this._-20M(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (null);
            };
            return (new Rectangle(0, 0, k.width, k.height));
        }
        public function _-3NP(_arg1:int, _arg2:int, _arg3:int):_-3q6
        {
            var k:_-2vu = this._-20M(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (null);
            };
            return (k.geometry);
        }
        public function _-uR(_arg1:int, _arg2:int, _arg3:int):Point
        {
            var k:_-2vu = this._-20M(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (null);
            };
            return (new Point(k._-2Kt, k._-2TB));
        }
        public function _-43R(_arg1:int, _arg2:int, _arg3:int, _arg4:Point):Boolean
        {
            var k:_-2vu = this._-20M(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((_arg4 == null))))
            {
                return (false);
            };
            k._-2Kt = _arg4.x;
            k._-2TB = _arg4.y;
            return (true);
        }
        public function _-Fl(_arg1:int, _arg2:int, _arg3:int):BitmapData
        {
            var k:_-2vu = this._-20M(_arg1, _arg2, _arg3);
            if (!k)
            {
                return (null);
            };
            var k:DisplayObject = k.displayObject;
            if (!k)
            {
                return (null);
            };
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0);
            var k:Matrix = new Matrix();
            k.tx = -(k._-2Kt);
            k.ty = -(k._-2TB);
            k.draw(k, k);
            return (k);
        }
        private function _-2Dp(_arg1:_-2vu, _arg2:int, _arg3:int, _arg4:String, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean):Boolean
        {
            var k:_-1--;
            var k:_-3Dk;
            if (this._-270)
            {
                return (false);
            };
            var k:int = (_arg2 - this._-3mL);
            var k:int = (_arg3 - this._-2A8);
            if (_arg4 == MouseEvent.MOUSE_DOWN)
            {
                if (((((((!(_arg5)) && (!(_arg6)))) && (!(_arg7)))) && (!(this._-01G))))
                {
                    this._-TQ = true;
                    this._-1zK = false;
                    this._-4xk = this._-3mL;
                    this._-30V = this._-2A8;
                };
            }
            else
            {
                if (_arg4 == MouseEvent.MOUSE_UP)
                {
                    if (this._-TQ)
                    {
                        this._-TQ = false;
                        if (this._-1zK)
                        {
                            k = this._-4Ec(this._-3Ex, this._-Rn);
                            if (k != null)
                            {
                                k = k._-0Pc;
                                if (k != null)
                                {
                                    if (this._-4Ce)
                                    {
                                        if (!k._-IZ)
                                        {
                                            k._-0SE = false;
                                            k._-4rt = false;
                                        };
                                        k._-c6(new _-Xl(-(_arg1._-2Kt), -(_arg1._-2TB)));
                                    };
                                    if (this._-4Wd)
                                    {
                                        k.reset();
                                    };
                                };
                            };
                            events.dispatchEvent(new _-0f(_-0f._-1Ae, this._-3Ex, this._-Rn));
                        };
                    };
                }
                else
                {
                    if (_arg4 == MouseEvent.MOUSE_MOVE)
                    {
                        if (this._-TQ)
                        {
                            if (!this._-1zK)
                            {
                                k = (_arg2 - this._-4xk);
                                k = (_arg3 - this._-30V);
                                if ((((((((k <= -(_-ui))) || ((k >= _-ui)))) || ((k <= -(_-ui))))) || ((k >= _-ui))))
                                {
                                    this._-1zK = true;
                                    events.dispatchEvent(new _-0f(_-0f._-2m0, this._-3Ex, this._-Rn));
                                };
                                k = 0;
                                k = 0;
                            };
                            if (((!((k == 0))) || (!((k == 0)))))
                            {
                                this._-W0 = (this._-W0 + k);
                                this._-0N- = (this._-0N- + k);
                                if (!this._-1zK)
                                {
                                    events.dispatchEvent(new _-0f(_-0f._-2m0, this._-3Ex, this._-Rn));
                                };
                                this._-1zK = true;
                            };
                        };
                    }
                    else
                    {
                        if ((((_arg4 == MouseEvent.CLICK)) || ((_arg4 == MouseEvent.DOUBLE_CLICK))))
                        {
                            this._-TQ = false;
                            if (this._-1zK)
                            {
                                this._-1zK = false;
                                return (true);
                            };
                        };
                    };
                };
            };
            return (false);
        }
        public function _-4kj(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean, _arg8:Boolean):void
        {
            var k:Sprite;
            var k:Sprite;
            var k:Rectangle;
            var k:String;
            var k:_-2Z2;
            var k:_-2vu = this._-20M(this._-3Ex, this._-Rn, _arg1);
            if (k != null)
            {
                k = this._-0i6(k);
                k = this._-384(k, _-0ax);
                if (k != null)
                {
                    k = k.getRect(k);
                    k.x = (_arg2 - (k.width / 2));
                    k.y = (_arg3 - (k.height / 2));
                };
                if (!this._-2Dp(k, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7))
                {
                    if (!k._-12w(_arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8))
                    {
                        k = "";
                        if (_arg4 == MouseEvent.CLICK)
                        {
                            if (events != null)
                            {
                                events.dispatchEvent(new _-4KP(_-4KP._-0X8, this._-3Ex, this._-Rn, -1, _-1sV._-4hz));
                            };
                            k = _-4l1._-se;
                        }
                        else
                        {
                            if (_arg4 == MouseEvent.MOUSE_MOVE)
                            {
                                k = _-4l1._-Mb;
                            }
                            else
                            {
                                if (_arg4 == MouseEvent.MOUSE_DOWN)
                                {
                                    k = _-4l1._-01d;
                                };
                            };
                        };
                        if (this._-4Jl != null)
                        {
                            k = new _-4l1(k, this.getRoomObject(this._-3Ex, this._-Rn, _-2nJ, _-1sV._-3Ag), null, _arg5);
                            this._-4Jl.handleRoomObjectEvent(k, this._-3Ex, this._-Rn);
                        };
                    };
                };
                this._-qY = _arg1;
                this._-3mL = _arg2;
                this._-2A8 = _arg3;
            };
        }
        private function _-0i6(_arg1:_-2vu):Sprite
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:Sprite = (_arg1.displayObject as Sprite);
            if (k == null)
            {
                return (null);
            };
            var k:Sprite = (k.getChildByName(_-4iB) as Sprite);
            return (k);
        }
        private function _-336(_arg1:Sprite, _arg2:String, _arg3:BitmapData):Sprite
        {
            if ((((_arg1 == null)) || ((_arg3 == null))))
            {
                return (null);
            };
            var k:Sprite = this._-384(_arg1, _arg2);
            if (k != null)
            {
                return (null);
            };
            k = new Sprite();
            k.name = _arg2;
            k.mouseEnabled = false;
            var k:Bitmap = new Bitmap(_arg3);
            k.addChild(k);
            _arg1.addChild(k);
            return (k);
        }
        private function _-3JC(_arg1:Sprite, _arg2:String):Boolean
        {
            var k:Sprite;
            var k:Bitmap;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:int = (_arg1.numChildren - 1);
            while (k >= 0)
            {
                k = (_arg1.getChildAt(k) as Sprite);
                if (k != null)
                {
                    if (k.name == _arg2)
                    {
                        _arg1.removeChildAt(k);
                        k = (k.getChildAt(0) as Bitmap);
                        if (((!((k == null))) && (!((k.bitmapData == null)))))
                        {
                            k.bitmapData.dispose();
                            k.bitmapData = null;
                        };
                        return (true);
                    };
                };
                k--;
            };
            return (false);
        }
        private function _-384(_arg1:Sprite, _arg2:String):Sprite
        {
            var k:Sprite;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int = (_arg1.numChildren - 1);
            while (k >= 0)
            {
                k = (_arg1.getChildAt(k) as Sprite);
                if (k != null)
                {
                    if (k.name == _arg2)
                    {
                        return (k);
                    };
                };
                k--;
            };
            return (null);
        }
        public function _-3fn(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:String=null, _arg5:_-4q2=null, _arg6:int=-1, _arg7:int=-1, _arg8:String=null):void
        {
            var k:String;
            var k:int;
            var k:PetFigureData;
            var k:Sprite;
            var k:Sprite;
            var k:_-2Gt;
            if (_arg3)
            {
                k = this._-27h(this._-3Ex, this._-Rn, _arg1, _arg2, new _-Xl(), 1, null);
            }
            else
            {
                if (this._-6q != null)
                {
                    k = null;
                    k = 0;
                    if (_arg2 == _-1sV._-0u-)
                    {
                        k = this._-6q._-38N(_arg1);
                        k = this._-6q._-0nj(_arg1);
                    }
                    else
                    {
                        if (_arg2 == _-1sV._-20L)
                        {
                            k = this._-6q._-K4(_arg1, _arg4);
                            k = this._-6q._-21m(_arg1);
                        };
                    };
                    if (_arg2 == _-1sV._-3I0)
                    {
                        k = RoomObjectUserTypes._-4bf(_arg1);
                        if (k == "pet")
                        {
                            k = this._-rr(_arg4);
                            k = new PetFigureData(_arg4);
                            k = this._-2s2(k.typeId, k.paletteId, k.color, new _-Xl(180), 32, null, true, 0, k._-uk, _arg8);
                        }
                        else
                        {
                            k = this.getGenericRoomObjectImage(k, _arg4, new _-Xl(180), 1, null, 0, null, _arg5, _arg6, _arg7, _arg8);
                        };
                    }
                    else
                    {
                        k = this.getGenericRoomObjectImage(k, String(k), new _-Xl(), 1, null, 0, _arg4, _arg5, _arg6, _arg7, _arg8);
                    };
                };
            };
            if ((((k == null)) || ((k.data == null))))
            {
                return;
            };
            var k:_-2vu = this._-3Ix();
            if (k != null)
            {
                k = this._-0i6(k);
                this._-3JC(k, _-0ax);
                k = this._-336(k, _-0ax, k.data);
                if (k != null)
                {
                    k.x = (this._-3mL - (k.data.width / 2));
                    k.y = (this._-2A8 - (k.data.height / 2));
                };
            };
        }
        public function _-cV(_arg1:Boolean):void
        {
            var k:Sprite;
            var k:Sprite;
            var k:_-2vu = this._-3Ix();
            if (k != null)
            {
                k = this._-0i6(k);
                k = this._-384(k, _-0ax);
                if (k != null)
                {
                    k.visible = _arg1;
                };
            };
        }
        public function _-4Jg():void
        {
            var k:Sprite;
            var k:_-2vu = this._-3Ix();
            if (k != null)
            {
                k = this._-0i6(k);
                this._-3JC(k, _-0ax);
            };
        }
        public function getRoomObjectCount(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (!this._-4rr)
            {
                return (0);
            };
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-zU = this._-O6._-13y(k);
            if (k == null)
            {
                return (0);
            };
            return (k._-0h9(_arg3));
        }
        public function getRoomObject(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-3SU
        {
            if (!this._-4rr)
            {
                return (null);
            };
            var k:String = this._-1FJ(_arg1, _arg2);
            if ((((_arg1 == 0)) && ((_arg2 == 0))))
            {
                k = _-0SP;
            };
            return (this._-4UQ(k, _arg3, _arg4));
        }
        public function getRoomObjectWithIndex(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-3SU
        {
            if (!this._-4rr)
            {
                return (null);
            };
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-zU = this._-O6._-13y(k);
            if (k == null)
            {
                return (null);
            };
            var k:_-3SU = k._-1oo(_arg3, _arg4);
            return (k);
        }
        protected function _-0p-(_arg1:int, _arg2:int, _arg3:int):Array
        {
            var k:String;
            var k:_-zU;
            if (this._-4rr)
            {
                k = this._-1FJ(_arg1, _arg2);
                k = this._-O6._-13y(k);
                if (k != null)
                {
                    return (k._-1L5(_arg3));
                };
            };
            return ([]);
        }
        public function modifyRoomObject(_arg1:int, _arg2:int, _arg3:String):Boolean
        {
            if (this._-4Jl != null)
            {
                return (this._-4Jl.modifyRoomObject(this._-3Ex, this._-Rn, _arg1, _arg2, _arg3));
            };
            return (false);
        }
        public function _-2fr(_arg1:int, _arg2:int, _arg3:String, _arg4:Map):Boolean
        {
            if (this._-4Jl != null)
            {
                if (_arg2 == _-1sV._-0u-)
                {
                    return (this._-4Jl._-1v6(this._-3Ex, this._-Rn, _arg1, _arg2, _arg3, _arg4));
                };
            };
            return (false);
        }
        public function _-1v6(_arg1:int, _arg2:int, _arg3:String, _arg4:String):Boolean
        {
            if (this._-4Jl != null)
            {
                if (_arg2 == _-1sV._-20L)
                {
                    return (this._-4Jl._-2vZ(this._-3Ex, this._-Rn, _arg1, _arg3, _arg4));
                };
            };
            return (false);
        }
        public function _-1Wi(_arg1:int, _arg2:int):Boolean
        {
            if (this._-4Jl != null)
            {
                if (_arg2 == _-1sV._-20L)
                {
                    return (this._-4Jl._-4cN(this._-3Ex, this._-Rn, _arg1));
                };
            };
            return (false);
        }
        public function _-WZ(_arg1:int, _arg2:int, _arg3:int, _arg4:String=null, _arg5:_-4q2=null, _arg6:int=-1, _arg7:int=-1, _arg8:String=null):Boolean
        {
            var k:_-zU = this._-13y(this._-3Ex, this._-Rn);
            if ((((k == null)) || (!((k.getNumber(_-3wv._-4LZ) == 0)))))
            {
                return (false);
            };
            if (this._-4Jl != null)
            {
                return (this._-4Jl._-WZ(this._-3Ex, this._-Rn, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
            };
            return (false);
        }
        public function _-5Am():void
        {
            if (this._-4Jl != null)
            {
                this._-4Jl._-5Am(this._-3Ex, this._-Rn);
            };
        }
        public function _-0Mf(_arg1:int, _arg2:int):Boolean
        {
            var k:_-31x;
            var k:_-3SU = this.getRoomObject(this._-3Ex, this._-Rn, _arg1, _arg2);
            if (k != null)
            {
                k = (k._-1jC() as _-31x);
                if (k != null)
                {
                    k.useObject();
                    return (true);
                };
            };
            return (false);
        }
        private function _-4E1(_arg1:String):String
        {
            if (this._-6q != null)
            {
                return (this._-6q._-4E1(_arg1));
            };
            return ("");
        }
        public function _-3-7(_arg1:String, _arg2:String):void
        {
            if (this._-6q != null)
            {
                this._-6q._-3-7(_arg1, _arg2);
            };
        }
        public function _-0Z9(_arg1:String):int
        {
            if (this._-6q != null)
            {
                return (this._-6q._-5EF(_arg1));
            };
            return (_-1sV._-4hz);
        }
        public function _-Vo(_arg1:int):String
        {
            if (this._-6q != null)
            {
                return (this._-6q._-38N(_arg1));
            };
            return ("");
        }
        public function _-59n(_arg1:String):int
        {
            if (this._-6q != null)
            {
                return (this._-6q._-2E4(_arg1));
            };
            return (0);
        }
        public function _-K4(_arg1:int, _arg2:String=null):String
        {
            if (this._-6q != null)
            {
                return (this._-6q._-K4(_arg1, _arg2));
            };
            return ("");
        }
        public function _-0nC(_arg1:String):int
        {
            var k:Array;
            var k:int = -1;
            if (_arg1 != null)
            {
                k = _arg1.split(" ");
                if (k.length > 1)
                {
                    k = parseInt(k[0]);
                };
            };
            return (k);
        }
        private function _-rr(_arg1:String):String
        {
            var k:Array;
            var k:int;
            if (_arg1 != null)
            {
                k = _arg1.split(" ");
                if (k.length > 1)
                {
                    k = parseInt(k[0]);
                    if (this._-6q != null)
                    {
                        return (this._-6q._-rr(k));
                    };
                    return ("pet");
                };
            };
            return (null);
        }
        public function _-1Yb(_arg1:int, _arg2:int):PetColorResult
        {
            if (this._-6q != null)
            {
                return (this._-6q._-1Yb(_arg1, _arg2));
            };
            return (null);
        }
        public function _-0Pw(_arg1:int, _arg2:String):Array
        {
            if (this._-6q != null)
            {
                return (this._-6q._-0Pw(_arg1, _arg2));
            };
            return (null);
        }
        public function _-4OF(_arg1:int, _arg2:String):int
        {
            if (this._-6q != null)
            {
                return (this._-6q._-4OF(_arg1, _arg2));
            };
            return (-1);
        }
        public function _-35B(_arg1:int, _arg2:String):PetColorResult
        {
            if (this._-6q != null)
            {
                return (this._-6q._-35B(_arg1, _arg2));
            };
            return (null);
        }
        private function _-5F4(_arg1:int):int
        {
            if (this._-6q != null)
            {
                return (this._-6q._-0nj(_arg1));
            };
            return (0);
        }
        private function _-21m(_arg1:int):int
        {
            if (this._-6q != null)
            {
                return (this._-6q._-21m(_arg1));
            };
            return (0);
        }
        public function _-0mG(_arg1:int, _arg2:int):_-lb
        {
            return (this._-4UQ(this._-1FJ(_arg1, _arg2), _-0kd, _-1sV._-1aV));
        }
        public function _-24D(_arg1:int, _arg2:int):_-lb
        {
            return (this._-4UQ(this._-1FJ(_arg1, _arg2), _-1U5, _-1sV._-1aV));
        }
        public function _-Jf(_arg1:int, _arg2:int, _arg3:int):void
        {
            var k:_-1Gs;
            var k:_-lb = this._-24D(_arg1, _arg2);
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k = new _-1Gs(_arg3, null);
                k._-40i().processUpdateMessage(k);
            };
        }
        public function _-2Pv(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:_-06R, _arg7:int, _arg8:_-4q2, _arg9:Number=NaN, _arg10:int=-1, _arg11:int=0, _arg12:int=0, _arg13:String="", _arg14:Boolean=true):Boolean
        {
            var k:_-LQ;
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k = new _-LQ(_arg3, _arg4, null, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12, _arg13, _arg14);
                k._-3Dq(k);
            };
            return (true);
        }
        public function _-1EC(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:_-06R, _arg6:_-06R, _arg7:int, _arg8:_-4q2, _arg9:Number=NaN):Boolean
        {
            var k:String;
            var k:_-LQ;
            var k:String = this._-IK(_arg1, _arg2);
            if (((this._-1uo(k)) && (!((this._-6q == null)))))
            {
                k = (this._-6q._-0y5(k) + "_");
                k = (k + _arg4);
            };
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k = new _-LQ(_arg3, 0, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, 0);
                k._-3Dq(k);
            };
            return (true);
        }
        private function _-2L5(_arg1:int, _arg2:int, _arg3:int, _arg4:_-LQ):Boolean
        {
            var k:_-1--;
            if (_arg4 == null)
            {
                k = this._-4Ec(_arg1, _arg2);
                if (k != null)
                {
                    k = k._-0BW(_arg3);
                };
            };
            if (_arg4 == null)
            {
                return (false);
            };
            var k:Boolean;
            var k:String = _arg4.type;
            if (k == null)
            {
                k = this._-Vo(_arg4.typeId);
                k = true;
            };
            var k:int = this._-5F4(_arg4.typeId);
            var k:String = this._-4E1(k);
            if (k == null)
            {
                k = "";
            };
            var k:_-lb = this._-3W7(_arg1, _arg2, _arg3, k);
            if (k == null)
            {
                return (false);
            };
            if (((((!((k == null))) && (!((k.getModelController() == null))))) && (k)))
            {
                k.getModelController().setNumber(_-4Wq._-44K, k, true);
                k.getModelController().setNumber(_-4Wq._-0z3, _arg4.typeId, true);
                k.getModelController().setString(_-4Wq._-YY, k, true);
                k.getModelController().setNumber(_-4Wq._-3lu, 1, true);
                k.getModelController().setNumber(_-4Wq._-2jc, _arg4._-49r);
                k.getModelController().setNumber(_-4Wq._-2YS, getTimer());
                k.getModelController().setNumber(_-4Wq._-fD, _arg4._-26m);
                k.getModelController().setNumber(_-4Wq._-0Vr, _arg4._-nJ);
                k.getModelController().setString(_-4Wq._-ju, _arg4._-0aC);
            };
            if (!this._-0xT(_arg1, _arg2, _arg3, _arg4.loc, _arg4.dir, _arg4.state, _arg4.data, _arg4._-33C))
            {
                return (false);
            };
            if (events != null)
            {
                events.dispatchEvent(new _-4KP(_-4KP._-1MI, _arg1, _arg2, _arg3, _-1sV._-0u-));
            };
            var k:_-0xz = this._-3v2(_arg1, _arg2);
            if (((((k) && ((Math.abs(k.id) == _arg3)))) && ((k.category == _-1sV._-0u-))))
            {
                this._-0P5(_arg1, _arg2, _arg3, _-1sV._-0u-);
            };
            if (((k._-25k()) && (_arg4._-1r-)))
            {
                this._-2hm(_arg1, _arg2, k);
            };
            return (true);
        }
        public function _-45d(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:Number;
            var k:int;
            var k:_-4q2;
            var k:_-1Gs;
            var k:_-lb = this._-4UQ(this._-1FJ(_arg1, _arg2), _arg3, _arg4);
            if (((!((k == null))) && (!((k.getModelController() == null)))))
            {
                k = k.getModelController().getNumber(_-4Wq._-45n);
                if (isNaN(k))
                {
                    k = 1;
                }
                else
                {
                    k = (k + 1);
                };
                k.getModelController().setNumber(_-4Wq._-45n, k);
                k = k.getModel().getNumber(_-4Wq._-4YM);
                k = _-4iQ._-3hY(k);
                k.initializeFromRoomObjectModel(k.getModel());
                k = new _-1Gs(k, k);
                if (k._-40i() != null)
                {
                    k._-40i().processUpdateMessage(k);
                };
            };
        }
        public function _-4jn(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:int):Boolean
        {
            var k:_-30X;
            var k:_-lb = this._-4UQ(this._-1FJ(_arg1, _arg2), _arg3, _arg4);
            if (k == null)
            {
                return (false);
            };
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k = new _-30X(_arg5, _arg6);
                k._-40i().processUpdateMessage(k);
            };
            return (true);
        }
        public function _-0xT(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:int, _arg7:_-4q2, _arg8:Number=NaN):Boolean
        {
            var k:_-lb = this._-0Go(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (false);
            };
            var k:_-1yr = new _-1yr(_arg4, _arg5);
            var k:_-1Gs = new _-1Gs(_arg6, _arg7, _arg8);
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k._-40i().processUpdateMessage(k);
                k._-40i().processUpdateMessage(k);
            };
            return (true);
        }
        public function _-1Vm(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R):Boolean
        {
            var k:_-HN;
            var k:_-lb = this._-0Go(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (false);
            };
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k = new _-HN(_arg4, _arg5, null, !((_arg5 == null)));
                k._-40i().processUpdateMessage(k);
            };
            return (true);
        }
        private function _-3W7(_arg1:int, _arg2:int, _arg3:int, _arg4:String):_-lb
        {
            var k:int = _-1sV._-0u-;
            var k:_-lb = this._-1Qf(this._-1FJ(_arg1, _arg2), _arg3, _arg4, k);
            return (k);
        }
        private function _-0Go(_arg1:int, _arg2:int, _arg3:int):_-lb
        {
            return (this._-4UQ(this._-1FJ(_arg1, _arg2), _arg3, _-1sV._-0u-));
        }
        public function _-4OW(_arg1:int, _arg2:int, _arg3:int, _arg4:int=-1, _arg5:Boolean=false):void
        {
            var k:_-3SU;
            var k:Point;
            var k:_-30N;
            var k:Boolean;
            var k:int;
            var k:String;
            var k:int;
            var k:_-4q2;
            var k:BitmapData;
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k._-0BW(_arg3);
            };
            if (((this._-0pW) && ((_arg4 == this._-0pW.userId))))
            {
                k = this.getRoomObject(_arg1, _arg2, _arg3, _-1sV._-0u-);
                if (k)
                {
                    k = this._-3U2(_arg1, _arg2, _arg3, _-1sV._-0u-, this._-qY);
                    if (k)
                    {
                        k = k.getModel();
                        k = (k.getNumber(_-4Wq._-17J) == 1);
                        if (!k)
                        {
                            k = k.getNumber(_-4Wq._-0z3);
                            k = k.getString(_-4Wq._-3HL);
                            k = k.getNumber(_-4Wq._-4YM);
                            k = _-4iQ._-3hY(k);
                            k = this.getFurnitureIcon(k, null, k, k).data;
                            if (k)
                            {
                                this._-0a7._-0jv(HabboToolbarIconEnum.INVENTORY, k, k.x, k.y);
                            };
                        };
                    };
                };
            };
            this._-58R(_arg1, _arg2, _arg3, _-1sV._-0u-);
            this._-1M-(_arg1, _arg2, _-1sV._-0u-, _arg3);
            if (_arg5)
            {
                this._-0Jq(_arg1, _arg2, "RoomEngine.disposeObjectFurniture()");
            };
        }
        public function _-0xm(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:_-06R, _arg7:int, _arg8:String, _arg9:int=0, _arg10:int=0, _arg11:String=""):Boolean
        {
            var k:_-HJ;
            var k:_-LQ;
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k = new _-HJ();
                k.setString(_arg8);
                k = new _-LQ(_arg3, _arg4, null, _arg5, _arg6, _arg7, k, NaN, -1, _arg9, _arg10, _arg11);
                k.true (k);
            };
            return (true);
        }
        private function _-1PN(_arg1:int, _arg2:int, _arg3:int, _arg4:_-LQ):Boolean
        {
            var k:_-1--;
            if (_arg4 == null)
            {
                k = this._-4Ec(_arg1, _arg2);
                if (k != null)
                {
                    k = k._-4xy(_arg3);
                };
            };
            if (_arg4 == null)
            {
                return (false);
            };
            var k:String = "";
            if (_arg4.data != null)
            {
                k = _arg4.data.getLegacyString();
            };
            var k:String = this._-K4(_arg4.typeId, k);
            var k:int = this._-21m(_arg4.typeId);
            var k:String = this._-4E1(k);
            if (k == null)
            {
                k = "";
            };
            var k:_-lb = this._-FB(_arg1, _arg2, _arg3, k);
            if (k == null)
            {
                return (false);
            };
            if (((!((k == null))) && (!((k.getModelController() == null)))))
            {
                k.getModelController().setNumber(_-4Wq._-44K, k, false);
                k.getModelController().setNumber(_-4Wq._-0z3, _arg4.typeId, true);
                k.getModelController().setString(_-4Wq._-YY, k, true);
                k.getModelController().setNumber(_-4Wq._-17P, 1, true);
                k.getModelController().setNumber(_-4Wq._-fD, _arg4._-26m);
                k.getModelController().setNumber(_-4Wq._-0Vr, _arg4._-nJ);
                k.getModelController().setString(_-4Wq._-ju, _arg4._-0aC);
            };
            k = "";
            if (_arg4.data != null)
            {
                k = _arg4.data.getLegacyString();
            };
            if (!this._-0Sp(_arg1, _arg2, _arg3, _arg4.loc, _arg4.dir, _arg4.state, k))
            {
                return (false);
            };
            if (events != null)
            {
                events.dispatchEvent(new _-4KP(_-4KP._-1MI, _arg1, _arg2, _arg3, _-1sV._-20L));
            };
            var k:_-0xz = this._-3v2(_arg1, _arg2);
            if (((((k) && ((k.id == _arg3)))) && ((k.category == _-1sV._-20L))))
            {
                this._-0P5(_arg1, _arg2, _arg3, _-1sV._-20L);
            };
            return (true);
        }
        public function _-0Sp(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:int, _arg7:String):Boolean
        {
            var k:_-lb = this._-3zo(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (false);
            };
            var k:_-1yr = new _-1yr(_arg4, _arg5);
            var k:_-HJ = new _-HJ();
            k.setString(_arg7);
            var k:_-1Gs = new _-1Gs(_arg6, k);
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k._-40i().processUpdateMessage(k);
                k._-40i().processUpdateMessage(k);
            };
            this._-21r(_arg1, _arg2, _arg3);
            return (true);
        }
        public function _-21r(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean=true):void
        {
            var k:String;
            var k:_-06R;
            var k:String = ((_-1sV._-20L + "_") + _arg3);
            var k:_-1yS;
            var k:_-lb = this._-3zo(_arg1, _arg2, _arg3);
            if (k != null)
            {
                if (k.getModel() != null)
                {
                    if (k.getModel().getNumber(_-4Wq._-0gF) > 0)
                    {
                        k = k.getModel().getString(_-4Wq._-1T9);
                        k = k.getLocation();
                        if (_arg4)
                        {
                            k = new _-1yS(_-1yS._-y3, k, k, k);
                        }
                        else
                        {
                            k = new _-1yS(_-1yS._-4GN, k);
                        };
                    };
                };
            }
            else
            {
                k = new _-1yS(_-1yS._-4GN, k);
            };
            var k:_-lb = this._-1gd(_arg1, _arg2);
            if (((((!((k == null))) && (!((k._-40i() == null))))) && (!((k == null)))))
            {
                k._-40i().processUpdateMessage(k);
            };
        }
        public function _-0po(_arg1:int, _arg2:int, _arg3:int, _arg4:String):Boolean
        {
            var k:_-lb = this._-3zo(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (false);
            };
            var k:_-2Qo = new _-2Qo(_arg4);
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k._-40i().processUpdateMessage(k);
            };
            return (true);
        }
        private function _-FB(_arg1:int, _arg2:int, _arg3:int, _arg4:String):_-lb
        {
            var k:int = _-1sV._-20L;
            var k:_-lb = this._-1Qf(this._-1FJ(_arg1, _arg2), _arg3, _arg4, k);
            return (k);
        }
        private function _-3zo(_arg1:int, _arg2:int, _arg3:int):_-lb
        {
            return (this._-4UQ(this._-1FJ(_arg1, _arg2), _arg3, _-1sV._-20L));
        }
        public function _-2JV(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R):Boolean
        {
            var k:_-HN;
            var k:_-lb = this._-3zo(_arg1, _arg2, _arg3);
            if (k == null)
            {
                return (false);
            };
            if (k._-40i() != null)
            {
                k = new _-HN(_arg4, null, null);
                k._-40i().processUpdateMessage(k);
            };
            this._-21r(_arg1, _arg2, _arg3);
            return (true);
        }
        public function _-Re(_arg1:int, _arg2:int, _arg3:int, _arg4:int=-1):void
        {
            var k:_-3SU;
            var k:Point;
            var k:_-30N;
            var k:int;
            var k:String;
            var k:BitmapData;
            var k:_-1-- = this._-4Ec(_arg1, _arg2);
            if (k != null)
            {
                k._-4xy(_arg3);
            };
            if (((this._-0pW) && ((_arg4 == this._-0pW.userId))))
            {
                k = this.getRoomObject(_arg1, _arg2, _arg3, _-1sV._-20L);
                if (((k) && ((k.getType().indexOf("post_it") == -1))))
                {
                    k = this._-3U2(_arg1, _arg2, _arg3, _-1sV._-20L, this._-qY);
                    k = k.getModel();
                    k = k.getNumber(_-4Wq._-0z3);
                    k = k.getString(_-4Wq._-3jB);
                    k = this.getWallItemIcon(k, null, k).data;
                    this._-0a7._-0jv(HabboToolbarIconEnum.INVENTORY, k, k.x, k.y);
                };
            };
            this._-58R(_arg1, _arg2, _arg3, _-1sV._-20L);
            this._-21r(_arg1, _arg2, _arg3, false);
            this._-1M-(_arg1, _arg2, _-1sV._-20L, _arg3);
        }
        public function _-Kv(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:Number, _arg7:int, _arg8:String=null):Boolean
        {
            var k:_-1yr;
            var k:_-un;
            if (this._-1qK(_arg1, _arg2, _arg3) != null)
            {
                return (false);
            };
            var k:String = RoomObjectUserTypes._-4bf(_arg7);
            if (k == RoomObjectUserTypes._-0Zq)
            {
                k = this._-rr(_arg8);
            };
            var k:_-lb = this._-2pz(_arg1, _arg2, _arg3, k);
            if (k == null)
            {
                return (false);
            };
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k = new _-3wZ(_arg4, null, _arg5, _arg6, false, 0);
                k._-40i().processUpdateMessage(k);
                if (_arg8 != null)
                {
                    k = new _-un(_arg8);
                    k._-40i().processUpdateMessage(k);
                };
            };
            if (events != null)
            {
                events.dispatchEvent(new _-4KP(_-4KP._-1MI, _arg1, _arg2, _arg3, _-1sV._-3I0));
            };
            return (true);
        }
        public function _-3us(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:int):Boolean
        {
            var k:String;
            var k:_-1yr;
            if (_arg5 == _-1sV._-2ps)
            {
                k = _-4Gs._-2ps;
            }
            else
            {
                if (_arg5 == _-1sV._-37l)
                {
                    k = _-4Gs._-37l;
                };
            };
            var k:_-lb = this._-5-9(_arg1, _arg2, _arg3, k, _arg5);
            if (!k)
            {
                return (false);
            };
            if (k._-40i())
            {
                k = new _-1yr(_arg4, null);
                k._-40i().processUpdateMessage(k);
            };
            return (true);
        }
        public function _-4Nm(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R):Boolean
        {
            var k:_-1yr;
            this._-O6._-To(_-1sV._-37l);
            var k:_-lb = this._-5-9(_arg1, _arg2, _arg3, _-4Gs._-37l, _-1sV._-37l);
            if (!k)
            {
                return (false);
            };
            if (k._-40i())
            {
                k = new _-1yr(_arg4, null);
                k._-40i().processUpdateMessage(k);
            };
            return (true);
        }
        public function _-28X(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:_-06R, _arg6:Boolean=false, _arg7:Number=0, _arg8:_-06R=null, _arg9:Number=NaN):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((((k == null)) || ((k._-40i() == null)))) || ((k.getModel() == null))))
            {
                return (false);
            };
            if (_arg4 == null)
            {
                k = k.getLocation();
            };
            if (_arg8 == null)
            {
                k = k.getDirection();
            };
            if (isNaN(_arg9))
            {
                k = k.getModel().getNumber(_-4Wq._-49h);
            };
            var k:_-1yr = new _-3wZ(_arg4, _arg5, _arg8, _arg9, _arg6, _arg7);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-4Q9(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:int):Boolean
        {
            var k:_-lb = this._-4UQ(this._-1FJ(_arg1, _arg2), _arg3, _arg5);
            var k:_-1yr = new _-1yr(_arg4, null);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-4Ki(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            this._-58R(_arg1, _arg2, _arg3, _arg4);
        }
        public function _-Tb(_arg1:int, _arg2:int, _arg3:int, _arg4:String):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-1re = new _-TL(_arg4);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-3IO(_arg1:int, _arg2:int, _arg3:int):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-1yr = new _-2MZ();
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-O9(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String=null, _arg6:String=null, _arg7:Boolean=false):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-1re = new _-un(_arg4, _arg5, _arg6, _arg7);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-1fn(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:int, _arg6:String=null):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-1re;
            switch (_arg4)
            {
                case _-4Wq._-3Mr:
                    k = new _-3RT(_arg5);
                    break;
                case _-4Wq._-4uh:
                    k = new _-52F(!((_arg5 == 0)));
                    break;
                case _-4Wq._-1bn:
                    k = new _-6p(!((_arg5 == 0)));
                    break;
                case _-4Wq._-4LD:
                    k = new _-4DO(!((_arg5 == 0)));
                    break;
                case _-4Wq._-3kn:
                    k = new _-2Ht(_arg5, _arg6);
                    break;
                case _-4Wq._-0wc:
                    k = new _-0Da(_arg5);
                    break;
                case _-4Wq._-10t:
                    k = new _-3dX(_arg5);
                    break;
                case _-4Wq._-3KD:
                    k = new _-1oH(_arg5);
                    break;
                case _-4Wq._-4JZ:
                    k = new _-119(_arg5);
                    break;
                case _-4Wq._-578:
                    k = new _-4y-(_arg5);
                    break;
                case _-4Wq._-Bj:
                    k = new _-3GU(_arg5);
                    break;
                case _-4Wq._-3UC:
                    k = new _-0yk(!((_arg5 == 0)));
                    break;
                case _-4Wq._-4CO:
                    k = new _-4J9(_arg5);
                    break;
            };
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-2ml(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String=""):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-1re = new _-2p9(_arg4, _arg5);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-4ys(_arg1:int, _arg2:int, _arg3:int, _arg4:int):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-1re = new _-0iT(_arg4);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-54X(_arg1:int, _arg2:int, _arg3:int, _arg4:String):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            var k:_-1re = new _-13G(_arg4);
            k._-40i().processUpdateMessage(k);
            return (true);
        }
        public function _-20A(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int=0):Boolean
        {
            var k:_-lb = this._-1qK(_arg1, _arg2, _arg3);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return (false);
            };
            k._-40i().processUpdateMessage(new _-3Xd(_arg4, _arg5));
            return (true);
        }
        private function _-2pz(_arg1:int, _arg2:int, _arg3:int, _arg4:String):_-lb
        {
            var k:int = _-1sV._-3I0;
            var k:_-lb = this._-1Qf(this._-1FJ(_arg1, _arg2), _arg3, _arg4, k);
            return (k);
        }
        private function _-5-9(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:int):_-lb
        {
            return (this._-1Qf(this._-1FJ(_arg1, _arg2), _arg3, _arg4, _arg5));
        }
        private function _-1qK(_arg1:int, _arg2:int, _arg3:int):_-lb
        {
            return (this._-4UQ(this._-1FJ(_arg1, _arg2), _arg3, _-1sV._-3I0));
        }
        public function _-2I4(_arg1:int, _arg2:int, _arg3:int):void
        {
            this._-58R(_arg1, _arg2, _arg3, _-1sV._-3I0);
        }
        private function _-1Qf(_arg1:String, _arg2:int, _arg3:String, _arg4:int):_-lb
        {
            var k:_-zU = this._-O6._-13y(_arg1);
            if (k == null)
            {
                return (null);
            };
            var k:_-lb;
            k = (k._-25c(_arg2, _arg3, _arg4) as _-lb);
            return (k);
        }
        private function _-4UQ(_arg1:String, _arg2:int, _arg3:int):_-lb
        {
            var k:_-zU;
            if (this._-O6 != null)
            {
                k = this._-O6._-13y(_arg1);
            };
            if (k == null)
            {
                return (null);
            };
            var k:_-lb;
            k = (k._-4UQ(_arg2, _arg3) as _-lb);
            if (k == null)
            {
                if (_arg3 == _-1sV._-0u-)
                {
                    this._-2L5(this._-4z7(_arg1), this._-2Gi(_arg1), _arg2, null);
                    k = (k._-4UQ(_arg2, _arg3) as _-lb);
                }
                else
                {
                    if (_arg3 == _-1sV._-20L)
                    {
                        this._-1PN(this._-4z7(_arg1), this._-2Gi(_arg1), _arg2, null);
                        k = (k._-4UQ(_arg2, _arg3) as _-lb);
                    };
                };
            };
            return (k);
        }
        private function _-58R(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:_-zU;
            if (this._-O6 != null)
            {
                k = this._-13y(_arg1, _arg2);
                if (k == null)
                {
                    return;
                };
                if (k._-58R(_arg3, _arg4))
                {
                    if (events != null)
                    {
                        events.dispatchEvent(new _-4KP(_-4KP._-1NF, _arg1, _arg2, _arg3, _arg4));
                    };
                };
            };
        }
        private function _-TD(_arg1:_-2Z2):void
        {
            var k:String;
            var k:int;
            var k:int;
            if (this._-4Jl != null)
            {
                k = this._-yS(_arg1.object);
                if (k != null)
                {
                    k = this._-4z7(k);
                    k = this._-2Gi(k);
                    this._-4Jl.handleRoomObjectEvent(_arg1, k, k);
                };
            };
        }
        private function _-yS(_arg1:_-3SU):String
        {
            if (((!((_arg1 == null))) && (!((_arg1.getModel() == null)))))
            {
                return (_arg1.getModel().getString(_-4Wq._-1Is));
            };
            return (null);
        }
        public function getFurnitureIcon(_arg1:int, _arg2:dynamic, _arg3:String=null, _arg4:_-4q2=null):_-2Gt
        {
            return (this.getFurnitureImage(_arg1, new _-Xl(), 1, _arg2, 0, _arg3, -1, -1, _arg4));
        }
        public function getWallItemIcon(_arg1:int, _arg2:dynamic, _arg3:String=null):_-2Gt
        {
            return (this.getWallItemImage(_arg1, new _-Xl(), 1, _arg2, 0, _arg3));
        }
        public function getFurnitureImage(_arg1:int, _arg2:_-06R, _arg3:int, _arg4:dynamic, _arg5:uint=0, _arg6:String=null, _arg7:int=-1, _arg8:int=-1, _arg9:_-4q2=null):_-2Gt
        {
            var k:String;
            var k:String = "";
            if (this._-6q != null)
            {
                k = this._-6q._-38N(_arg1);
                k = String(this._-6q._-0nj(_arg1));
            };
            return (this.getGenericRoomObjectImage(k, k, _arg2, _arg3, _arg4, _arg5, _arg6, _arg9, _arg7, _arg8));
        }
        public function _-2s2(_arg1:int, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:int, _arg6:dynamic, _arg7:Boolean=true, _arg8:uint=0, _arg9:Array=null, _arg10:String=null):_-2Gt
        {
            var k:_-10A;
            var k:String;
            var k:String = ((((_arg1 + " ") + _arg2) + " ") + _arg3.toString(16));
            if (!_arg7)
            {
                k = (k + (" " + "head"));
            };
            if (_arg9 != null)
            {
                k = (k + (" " + _arg9.length));
                for each (k in _arg9)
                {
                    k = (k + (((((" " + k._-2SJ) + " ") + k._-1hb) + " ") + k.paletteId));
                };
            };
            if (this._-6q != null)
            {
                k = this._-6q._-rr(_arg1);
            };
            return (this.getGenericRoomObjectImage(k, k, _arg4, _arg5, _arg6, _arg8, null, null, -1, -1, _arg10));
        }
        public function getWallItemImage(_arg1:int, _arg2:_-06R, _arg3:int, _arg4:dynamic, _arg5:uint=0, _arg6:String=null, _arg7:int=-1, _arg8:int=-1):_-2Gt
        {
            var k:String;
            var k:String = "";
            if (this._-6q != null)
            {
                k = this._-6q._-K4(_arg1, _arg6);
                k = String(this._-6q._-21m(_arg1));
            };
            return (this.getGenericRoomObjectImage(k, k, _arg2, _arg3, _arg4, _arg5, _arg6, null, _arg7, _arg8));
        }
        public function getRoomImage(_arg1:String, _arg2:String, _arg3:String, _arg4:int, _arg5:dynamic, _arg6:String=null):_-2Gt
        {
            if (_arg1 == null)
            {
                k = "";
            };
            if (_arg2 == null)
            {
                k = "";
            };
            if (_arg3 == null)
            {
                k = "";
            };
            var k:String = _-fp;
            var k = (((((_arg1 + "\n") + _arg2) + "\n") + _arg3) + "\n");
            if (_arg6 != null)
            {
                k = (k + _arg6);
            };
            return (this.getGenericRoomObjectImage(k, k, new _-Xl(), _arg4, _arg5));
        }
        public function _-27h(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:int, _arg7:dynamic, _arg8:uint=0):_-2Gt
        {
            var k:String;
            var k:_-3SU;
            var _local16:int;
            var k:String;
            var k:String = "";
            var k:_-4q2;
            var k:String = this._-1FJ(_arg1, _arg2);
            var k:_-zU = this._-O6._-13y(k);
            if (k != null)
            {
                k = k._-4UQ(_arg3, _arg4);
                if (((!((k == null))) && (!((k.getModel() == null)))))
                {
                    k = k.getType();
                    switch (_arg4)
                    {
                        case _-1sV._-0u-:
                        case _-1sV._-20L:
                            k = String(k.getModel().getNumber(_-4Wq._-44K));
                            k = k.getModel().getString(_-4Wq._-3HL);
                            _local16 = k.getModel().getNumber(_-4Wq._-4YM);
                            if (_local16 != _-HJ._-eJ)
                            {
                                k = _-4iQ._-3hY(_local16);
                                k.initializeFromRoomObjectModel(k.getModel());
                            };
                            break;
                        case _-1sV._-3I0:
                            k = k.getModel().getString(_-4Wq._-4lL);
                            break;
                    };
                };
            };
            return (this.getGenericRoomObjectImage(k, k, _arg5, _arg6, _arg7, _arg8, k, k));
        }
        private function _-0sn(_arg1:_-lb, _arg2:String):void
        {
            var k:Array;
            var k:String;
            var k:String;
            var k:String;
            var k:String;
            var k:int;
            var k:RoomPlaneParser;
            var k:int;
            var k:XML;
            var k:int;
            var k:_-1yS;
            var k:String;
            if (_arg2 != null)
            {
                k = _arg2.split("\n");
                if (k.length >= 3)
                {
                    k = k[0];
                    k = k[1];
                    k = k[2];
                    k = k[3];
                    k = 6;
                    k = new RoomPlaneParser();
                    k._-1wG((k + 2), (k + 2));
                    k = 1;
                    while (k < (1 + k))
                    {
                        k = 1;
                        while (k < (1 + k))
                        {
                            k._-2sx(k, k, 0);
                            k++;
                        };
                        k++;
                    };
                    k.wallHeight = k;
                    k._-38X();
                    k = k._-4sV();
                    _arg1._-40i().initialize(k);
                    _arg1.getModelController().setString(_-4Wq._-3Oy, k);
                    _arg1.getModelController().setString(_-4Wq._-3Sr, k);
                    _arg1.getModelController().setString(_-4Wq._-3HV, k);
                    if (k != null)
                    {
                        k = null;
                        k = (_-1sV._-20L + "_1");
                        k = new _-1yS(_-1yS._-y3, k, k, new _-Xl(2.5, 0.5, 2));
                        _arg1._-40i().processUpdateMessage(k);
                    };
                    k.dispose();
                };
            };
        }
        public function getGenericRoomObjectImage(_arg1:String, _arg2:String, _arg3:_-06R, _arg4:int, _arg5:dynamic, _arg6:uint=0, _arg7:String=null, _arg8:_-4q2=null, _arg9:int=-1, _arg10:int=-1, _arg11:String=null):_-2Gt
        {
            var _local21:PetFigureData;
            var k:_-1Gs;
            var k:int;
            var k:_-2Gt = new _-2Gt();
            k.id = -1;
            if (((!(this._-4rr)) || ((_arg1 == null))))
            {
                return (k);
            };
            var k:_-zU = this._-O6._-13y(_-0SP);
            if (k == null)
            {
                k = this._-O6._-23R(_-0SP, null);
                if (k == null)
                {
                    return (k);
                };
            };
            var k:int = this._-SI._-4L5();
            var k:int = this._-0Z9(_arg1);
            if (k < 0)
            {
                return (k);
            };
            k = (k + 1);
            var k:_-lb = (k._-25c(k, _arg1, k) as _-lb);
            if ((((((k == null)) || ((k.getModelController() == null)))) || ((k._-40i() == null))))
            {
                return (k);
            };
            var k:_-4s6 = k.getModelController();
            switch (k)
            {
                case _-1sV._-0u-:
                case _-1sV._-20L:
                    k.setNumber(_-4Wq._-44K, int(_arg2));
                    k.setString(_-4Wq._-3HL, _arg7);
                    break;
                case _-1sV._-3I0:
                    if ((((((((_arg1 == RoomObjectUserTypes._-3rB)) || ((_arg1 == RoomObjectUserTypes.BOT)))) || ((_arg1 == RoomObjectUserTypes.RENTABLE_BOT)))) || ((_arg1 == RoomObjectUserTypes._-0Zq))))
                    {
                        k.setString(_-4Wq._-4lL, _arg2);
                    }
                    else
                    {
                        _local21 = new PetFigureData(_arg2);
                        k.setNumber(_-4Wq._-4QR, _local21.paletteId);
                        k.setNumber(_-4Wq._-xD, _local21.color);
                        if (_local21._-0QJ)
                        {
                            k.setNumber(_-4Wq._-3Dx, 1);
                        };
                        if (_local21._-1a0)
                        {
                            k.setNumberArray(_-4Wq._-1H7, _local21._-5C7);
                            k.setNumberArray(_-4Wq._-2qV, _local21._-1rt);
                            k.setNumberArray(_-4Wq._-4-3, _local21._-3tc);
                        };
                        if (_arg11 != null)
                        {
                            k.setString(_-4Wq._-0nJ, _arg11);
                        };
                    };
                    break;
                case _-1sV._-3Ag:
                    this._-0sn(k, _arg2);
                    break;
            };
            k.setDirection(_arg3);
            var k:_-E7;
            k = (k._-1cm() as _-E7);
            if (k == null)
            {
                k._-58R(k, k);
                return (k);
            };
            if ((((_arg9 > -1)) || (_arg8)))
            {
                k = new _-1Gs(_arg9, _arg8);
                if (k._-40i() != null)
                {
                    k._-40i().processUpdateMessage(k);
                };
            };
            var k:_-2QE = new _-2QE(_arg4, new _-Xl(-135, 30, 0), new _-Xl(11, 11, 5));
            k.update(k, 0, true, false);
            if (_arg10 > 0)
            {
                k = 0;
                while (k < _arg10)
                {
                    k.update(k, 0, true, false);
                    k++;
                };
            };
            var k:BitmapData = k._-2Xc(_arg6);
            k.data = k;
            k.id = k;
            if (((!(this._-0M4(_arg1))) && (!((_arg5 == null)))))
            {
                this._-Na.add(String(k), _arg5);
                k.setNumber(_-4Wq._-SW, _arg4, true);
            }
            else
            {
                k._-58R(k, k);
                this._-SI._-3vX((k - 1));
                k.id = 0;
            };
            k.dispose();
            return (k);
        }
        public function _-1Uk(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Rectangle
        {
            var k:_-3SU;
            var k:_-dD;
            var k:Rectangle;
            var k:Point;
            var k:_-2vu;
            var k:_-3q6 = this._-3NP(_arg1, _arg2, _arg5);
            if (k != null)
            {
                k = this.getRoomObject(_arg1, _arg2, _arg3, _arg4);
                if (k != null)
                {
                    k = k._-1cm();
                    if (k != null)
                    {
                        k = k.boundingRectangle;
                        k = k._-2Et(k.getLocation());
                        if (k != null)
                        {
                            k.offset(k.x, k.y);
                            k = this._-20M(_arg1, _arg2, _arg5);
                            if (k != null)
                            {
                                k.offset(((k.width / 2) + k._-2Kt), ((k.height / 2) + k._-2TB));
                                return (k);
                            };
                        };
                    };
                };
            };
            return (null);
        }
        public function _-3U2(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):Point
        {
            var k:_-3SU;
            var k:Point;
            var k:_-2vu;
            var k:_-3q6 = this._-3NP(_arg1, _arg2, _arg5);
            if (k != null)
            {
                k = this.getRoomObject(_arg1, _arg2, _arg3, _arg4);
                if (k != null)
                {
                    k = k._-2Et(k.getLocation());
                    if (k != null)
                    {
                        k = this._-20M(_arg1, _arg2, _arg5);
                        if (k != null)
                        {
                            k.offset(((k.width / 2) + k._-2Kt), ((k.height / 2) + k._-2TB));
                        };
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function _-2WQ(_arg1:int):Rectangle
        {
            return (this._-1Uk(this._-3Ex, this._-Rn, _-2nJ, _-1sV._-3Ag, _arg1));
        }
        public function _-3Ix():_-2vu
        {
            var k:_-2vu = this._-20M(this._-3Ex, this._-Rn, this._-qY);
            return (k);
        }
        public function _-0M4(_arg1:String):Boolean
        {
            return (this._-O6._-4ul(_arg1));
        }
        public function _-1VP(_arg1:String, _arg2:Boolean):void
        {
            var k:_-3SU;
            var k:int;
            var k:BitmapData;
            var k:_-E7;
            var k:dynamic;
            var k:Number;
            var k:_-zU = this._-O6._-13y(_-0SP);
            if (k == null)
            {
                return;
            };
            if (this._-6q == null)
            {
                return;
            };
            var k:_-2QE;
            var k:Number = 0;
            var k:int = this._-6q._-5EF(_arg1);
            var k:int = k._-0h9(k);
            var k:int = (k - 1);
            while (k >= 0)
            {
                k = k._-1oo(k, k);
                if (((((!((k == null))) && (!((k.getModel() == null))))) && ((k.getType() == _arg1))))
                {
                    k = k.getId();
                    k = null;
                    k = null;
                    k = (k._-1cm() as _-E7);
                    if (k != null)
                    {
                        k = k.getModel().getNumber(_-4Wq._-SW);
                        if (((!((k == null))) && (!((k == k)))))
                        {
                            k.dispose();
                            k = null;
                        };
                        if (k == null)
                        {
                            k = new _-2QE(k, new _-Xl(-135, 30, 0), new _-Xl(11, 11, 5));
                        };
                        k.update(k, 0, true, false);
                        k = k.image;
                    };
                    k._-58R(k, k);
                    this._-SI._-3vX((k - 1));
                    k = (this._-Na.remove(String(k)) as dynamic);
                    if (((!((k == null))) && (!((k == null)))))
                    {
                        k.imageReady(k, k);
                    }
                    else
                    {
                        if (k != null)
                        {
                            k.dispose();
                        };
                    };
                };
                k--;
            };
            if (k != null)
            {
                k.dispose();
            };
        }
        public function _-3QJ(_arg1:String, _arg2:int, _arg3:int):void
        {
            var k:int;
            var k:_-4q2;
            var k:int;
            var k:_-1Gs;
            var k:int = this._-4z7(_arg1);
            var k:int = this._-2Gi(_arg1);
            if (_arg3 == _-1sV._-20L)
            {
                this._-21r(k, k, _arg2);
            };
            var k:_-lb = (this.getRoomObject(k, k, _arg2, _arg3) as _-lb);
            if (((((!((k == null))) && (!((k.getModel() == null))))) && (!((k._-40i() == null)))))
            {
                if (!isNaN(k.getModel().getNumber(_-4Wq._-4YM)))
                {
                    k = k.getModel().getNumber(_-4Wq._-4YM);
                    k = _-4iQ._-3hY(k);
                    k.initializeFromRoomObjectModel(k.getModel());
                    k = k.getState(0);
                    k = new _-1Gs(k, k);
                    k._-40i().processUpdateMessage(k);
                };
                if (events != null)
                {
                    events.dispatchEvent(new _-4KP(_-4KP._-3i9, k, k, _arg2, _arg3));
                };
            };
            if (_arg1 != _-0SP)
            {
                this._-2hm(k, k, k);
            };
        }
        public function _-0cQ(_arg1:String):void
        {
            var k:int;
            var k:int;
            if (events != null)
            {
                k = this._-4z7(_arg1);
                k = this._-2Gi(_arg1);
                events.dispatchEvent(new _-2ga(_-2ga._-2dl, k, k));
            };
        }
        public function _-Is(_arg1:int, _arg2:int, _arg3:int):void
        {
            if (this._-4Jl != null)
            {
                this._-4Jl._-AF(_arg1, _arg2, _arg3, true);
            };
        }
        public function _-2BV():int
        {
            if (this._-4Jl != null)
            {
                return (this._-4Jl._-2BV());
            };
            return (-1);
        }
        public function _-0P5(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            if (this._-4Jl == null)
            {
                return;
            };
            this._-4Jl.setSelectedObject(_arg1, _arg2, _arg3, _arg4);
        }
        protected function _-2hm(_arg1:int, _arg2:int, _arg3:_-3SU):void
        {
            var k:TileObjectMap = this._-4Ec(_arg1, _arg2)._-0Cx;
            if (k)
            {
                k._-1po(_arg3);
            };
        }
        public function _-0Jq(_arg1:int, _arg2:int, _arg3:String):void
        {
            var k:TileObjectMap = this._-4Ec(_arg1, _arg2)._-0Cx;
            if (k)
            {
                k.populate(this._-0p-(_arg1, _arg2, _-1sV._-0u-));
            };
        }
        public function _-4nX(_arg1:String):Array
        {
            if (this._-6q != null)
            {
                return (this._-6q._-4uO(_arg1, events));
            };
            return (new Array());
        }
        private function _-2iP(_arg1:_-z2):void
        {
            var k:String;
            var k:_-lb;
            var k:_-45X;
            if (this._-6q != null)
            {
                k = this._-IK(_arg1.roomId, _arg1.roomCategory);
                this._-6q._-sj(this._-6q._-0y5(k), _-4Wq._-2HC, _arg1.image, true);
                this._-6q._-sj(this._-6q._-0y5(k), _-4Wq._-to, _arg1.adWarningL, true);
                this._-6q._-sj(this._-6q._-0y5(k), _-4Wq._-3XC, _arg1._-2Fx, true);
                k = this._-1gd(_arg1.roomId, _arg1.roomCategory);
                if (k == null)
                {
                    return;
                };
                k = null;
                k = new _-45X(_-45X._-3qI, _-4Wq._-2HC, _arg1.clickUrl);
                k._-40i().processUpdateMessage(k);
            };
        }
        public function _-nO(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:String):void
        {
            if (this._-2UY != null)
            {
                this._-2UY._-2RW(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
            };
        }
        private function _-2eX(_arg1:_-z2):void
        {
            var k:_-45X;
            var k:_-lb = this._-1gd(_arg1.roomId, _arg1.roomCategory);
            if (k == null)
            {
                return;
            };
            var k:_-lb = this._-0Go(_arg1.roomId, _arg1.roomCategory, _arg1._-mx);
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return;
            };
            if (_arg1.image != null)
            {
                this._-6q._-sj(k.getType(), _arg1.imageUrl, _arg1.image, true);
            };
            switch (_arg1.type)
            {
                case _-z2._-3gk:
                    k = new _-45X(_-45X._-22X, _arg1.imageUrl, _arg1.clickUrl, _arg1._-mx, _arg1.image);
                    break;
                case _-z2._-1BR:
                    k = new _-45X(_-45X._-2t3, _arg1.imageUrl, _arg1.clickUrl, _arg1._-mx, _arg1.image);
                    break;
            };
            if (k != null)
            {
                k._-40i().processUpdateMessage(k);
            };
        }
        public function _-2pZ(_arg1:int, _arg2:int, _arg3:_-39L):Boolean
        {
            return (this._-6q._-1aT(_arg1, _arg2, _arg3));
        }
        public function _-2jz(_arg1:int, _arg2:String):void
        {
            this._-6q._-2jz(_arg1, _arg2);
        }
        override public function purge():void
        {
            super.purge();
            if (this._-6q)
            {
                this._-6q.purge();
            };
        }
        public function _-FW(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String):void
        {
            var k:_-zU;
            var k:Array;
            var _local11:BitmapData;
            var _local12:String;
            var _local13:BitmapData;
            var k:_-lb;
            if ((((_arg1 == 0)) && ((_arg2 == 0))))
            {
                k = this._-O6._-13y(_-0SP);
                if (k != null)
                {
                    k = (k._-4UQ(_arg3, _arg4) as _-lb);
                };
            }
            else
            {
                k = this._-0Go(_arg1, _arg2, _arg3);
            };
            if ((((k == null)) || ((k._-40i() == null))))
            {
                return;
            };
            var k:String = this._-0pW._-2pP(_arg5);
            if (!k)
            {
                k = "loading_icon";
                if (!this._-0xo)
                {
                    this._-0xo = new Map();
                };
                if (this._-0xo.length == 0)
                {
                    this._-0pW.events.addEventListener(_-a5._-4pG, this._-4tr);
                };
                k = this._-0xo.getValue(_arg5);
                if (k == null)
                {
                    k = new Array();
                };
                k.push(k);
                this._-0xo[_arg5] = k;
            }
            else
            {
                _local11 = this._-0pW._-1ot(_arg5);
                this._-6q._-sj(k.getType(), k, _local11, false);
                _local12 = this._-0pW._-0mU(_arg5);
                _local13 = this._-0pW._-3WS(_arg5);
                if (_local13)
                {
                    this._-6q._-sj(k.getType(), _local12, _local13, false);
                };
            };
            var k:_-4IZ = new _-4IZ(_arg5, k);
            if (k != null)
            {
                k._-40i().processUpdateMessage(k);
            };
        }
        private function _-4tr(_arg1:_-a5):void
        {
            var k:_-lb;
            var k:String;
            var k:String;
            var k:_-4IZ;
            var k:BitmapData;
            var k:Array = (this._-0xo.getValue(_arg1.badgeId) as Array);
            if (k == null)
            {
                _-Nb.log(("Could not find matching objects for group badge asset request " + _arg1.badgeId));
                return;
            };
            var k:int;
            while (k < k.length)
            {
                k = (k[k] as _-lb);
                k = this._-0pW._-2pP(_arg1.badgeId);
                k = this._-0pW._-0mU(_arg1.badgeId);
                if (_arg1._-0tr != null)
                {
                    this._-6q._-sj(k.getType(), k, _arg1._-0tr, false);
                    k = this._-0pW._-3WS(_arg1.badgeId);
                    if (k)
                    {
                        this._-6q._-sj(k.getType(), k, k, false);
                    };
                };
                k = new _-4IZ(_arg1.badgeId, k);
                if (((!((k == null))) && (!((k._-40i() == null)))))
                {
                    k._-40i().processUpdateMessage(k);
                };
                k++;
            };
            this._-0xo.remove(_arg1.badgeId);
            if (this._-0xo.length == 0)
            {
                this._-0pW.events.removeEventListener(_-a5._-4pG, this._-4tr);
            };
        }
        public function get _-01G():Boolean
        {
            var k:_-4JJ = this._-16k.getSession(this._-3Ex, this._-Rn);
            return (((k) && (k._-4bQ)));
        }
        public function get _-1rr():Boolean
        {
            return (this._-270);
        }
        public function set _-1rr(_arg1:Boolean):void
        {
            this._-270 = _arg1;
        }
        public function _-0Z8(_arg1:int, _arg2:int):void
        {
            var k:int;
            var k:String;
            if (this._-6q != null)
            {
                k = this._-6q._-38N(_arg2);
                k = this._-0Z9(k);
                events.dispatchEvent(new _-22K(_-22K._-WQ, this._-3Ex, this._-Rn, -1, k, _arg1, _arg2));
            };
        }
        public function _-2Vi(_arg1:int):void
        {
            if ((((this._-0pW == null)) || ((this._-16k == null))))
            {
                return;
            };
            var k:_-4JJ = this._-16k.getSession(this._-3Ex, this._-Rn);
            if (k == null)
            {
                return;
            };
            this._-20A(this.activeRoomId, this.activeRoomCategory, k._-1NZ, _arg1);
        }
        public function get _-4jv():int
        {
            return (this._-mE);
        }
        public function get _-1ED():_-45k
        {
            return (this._-16k);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }

    }
}//package _-293

//------------------------------------------------------------
//_-293.RoomMessageHandler

package _-293
{
    import _-2np._-1ZV;
    import _-3mW.RoomPlaneParser;
    import _-1HK._-GF;
    import _-2na._-3qY;
    import _-1Q8._-0DJ;
    import _-1Q8._-4Z0;
    import _-1Q8._-4Xy;
    import _-1Q8._-1QB;
    import _-1Q8._-1Rj;
    import _-1Q8._-0dP;
    import _-1Q8._-3yw;
    import _-1Q8._-1xX;
    import _-1Q8._-2No;
    import _-1Q8._-2J9;
    import _-1Q8._-20h;
    import _-1Q8._-Z-;
    import _-1Q8._-4oh;
    import _-1Q8._-1Fg;
    import _-1Q8._-3sN;
    import _-1Q8._-1BQ;
    import _-1Q8._-4ol;
    import _-1Q8._-40v;
    import _-1Q8._-4mq;
    import _-1Q8._-2he;
    import _-1Q8._-5-V;
    import _-1Q8._-0PF;
    import _-2ch._-3UX;
    import _-2ch._-3qn;
    import _-2ch._-Ft;
    import _-2ch._-1nb;
    import _-2ch._-3sM;
    import _-2ch._-4vL;
    import _-1Q8._-2-v;
    import _-50N._-3Qo;
    import _-50N._-5Dt;
    import _-50N._-0Qm;
    import _-50N._-04N;
    import _-1LV._-2u;
    import _-1LV._-5Be;
    import _-wm._-1CR;
    import _-0Z1._-0uA;
    import _-2na._-58T;
    import _-2na._-4H8;
    import _-0Z1._-1ah;
    import _-2It._-3Bl;
    import _-2WG._-2YW;
    import _-2WG._-yg;
    import _-2WG._-355;
    import _-hT._-128;
    import _-4Aj._-0tL;
    import _-2tT._-3uk;
    import _-4xL._-4ad;
    import _-4xL._-4Ib;
    import _-Co._-1Ux;
    import _-Co.HeightMapMessageParser;
    import _-2IQ.TileHeightMap;
    import _-Co.HeightMapUpdateMessageParser;
    import _-Co._-4kT;
    import _-Co._-3Fw;
    import _-Co.FloorHeightMapMessageParser;
    import _-2IQ.LegacyWallGeometry;
    import _-1Q8._-36M;
    import _-Co.ObjectsMessageParser;
    import _-1Q8._-0AM;
    import _-Co.PublicRoomObjectsMessageParser;
    import _-Co._-0cu;
    import _-0y0._-06R;
    import _-Co._-1Gy;
    import _-0y0._-Xl;
    import _-Co._-3I9;
    import _-1Q8._-SO;
    import _-Co.ObjectsDataUpdateMessageParser;
    import _-Co._-3H5;
    import _-0F-._-HJ;
    import _-1Q8._-28C;
    import _-Co.ItemsMessageParser;
    import _-Co._-0KW;
    import _-Co._-3XV;
    import _-Co._-0Or;
    import _-Co._-0Jn;
    import _-1Q8._-2ML;
    import _-Co.UsersMessageParser;
    import _-3mW.RoomObjectUserTypes;
    import _-0l8._-3iK;
    import _-3mW._-4Wq;
    import _-1Q8._-3uw;
    import _-1Q8._-1ls;
    import _-Co.UserUpdateMessageParser;
    import _-4hI._-zU;
    import _-Co._-0IM;
    import _-3wm._-2y4;
    import _-4qx._-2Y5;
    import _-4qx._-4bL;
    import _-4qx._-02r;
    import _-4qx._-1wY;
    import _-4qx._-2Oa;
    import _-4qx._-1Zh;
    import _-Co._-2X9;
    import _-1Q8._-3JI;
    import _-3V-._-3SU;
    import _-3mW._-1sV;
    import _-352._-4jw;
    import _-352._-0GG;
    import _-3wm._-9K;
    import _-3wI._-4PJ;
    import _-3wI._-0Uf;
    import _-0B2._-2BC;
    import _-3V-._-4s6;
    import _-2tT._-1jA;
    import _-2tT._-1fj;
    import _-1Jd._-4LX;
    import _-1xw._-T-;
    import _-0se._-0tD;
    import _-1Jd._-4JJ;
    import _-3mW._-1IS;

    public class RoomMessageHandler 
    {

        private var _-51u:_-1ZV = null;
        private var _-13l:_-56x = null;
        private var _-3Uy:RoomPlaneParser = null;
        private var _-0gv:int = -1;
        private var _-2tK:Boolean = true;
        private var _-2BE:int = -1000000000;
        private var _-11i:int = 0;
        private var _-X9:int = 0;
        private var _-57e:Object;
        private var _-4Cn:int = -1;
        private var _-1Ta:int = -1;

        public function RoomMessageHandler(_arg1:_-56x)
        {
            this._-57e = new Object();
            super();
            this._-13l = _arg1;
            this._-3Uy = new RoomPlaneParser();
            this._-2tK = true;
        }
        public function dispose():void
        {
            this._-51u = null;
            this._-13l = null;
            if (this._-3Uy != null)
            {
                this._-3Uy.dispose();
                this._-3Uy = null;
            };
        }
        public function _-08g(_arg1:int, _arg2:int):void
        {
            if (((!((this._-11i == 0))) || (!((this._-X9 == 0)))))
            {
                if (this._-13l != null)
                {
                    this._-13l._-1YJ(this._-11i, this._-X9);
                };
            };
            this._-11i = _arg1;
            this._-X9 = _arg2;
        }
        public function _-0ZL():void
        {
            this._-11i = 0;
            this._-X9 = 0;
        }
        private function _-4z7(_arg1:int):int
        {
            return (this._-11i);
        }
        private function _-2Gi(_arg1:int):int
        {
            return (this._-X9);
        }
        private function _-RG(_arg1:int, _arg2:int):Boolean
        {
            if (this._-13l)
            {
                return (this._-13l._-RG(_arg1, _arg2));
            };
            return (false);
        }
        public function set connection(_arg1:_-1ZV):void
        {
            if (this._-51u != null)
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-51u = _arg1;
                _arg1.addMessageEvent(new _-GF(this._-41G));
                _arg1.addMessageEvent(new _-3qY(this._-0fE));
                _arg1.addMessageEvent(new _-0DJ(this._-2Cy));
                _arg1.addMessageEvent(new _-4Z0(this._-1Hd));
                _arg1.addMessageEvent(new _-4Xy(this._-4bV));
                _arg1.addMessageEvent(new _-1QB(this._-0Ig));
                _arg1.addMessageEvent(new _-1Rj(this._-4lQ));
                _arg1.addMessageEvent(new _-0dP(this._-3ki));
                _arg1.addMessageEvent(new _-3yw(this._-zK));
                _arg1.addMessageEvent(new _-1xX(this._-2kf));
                _arg1.addMessageEvent(new _-2No(this._-2Q));
                _arg1.addMessageEvent(new _-2J9(this.onObjectUpdate));
                _arg1.addMessageEvent(new _-20h(this._-4oZ));
                _arg1.addMessageEvent(new _-Z-(this._-TW));
                _arg1.addMessageEvent(new _-4oh(this._-1Mq));
                _arg1.addMessageEvent(new _-1Fg(this._-57Y));
                _arg1.addMessageEvent(new _-3sN(this._-44p));
                _arg1.addMessageEvent(new _-1BQ(this._-175));
                _arg1.addMessageEvent(new _-4ol(this._-f));
                _arg1.addMessageEvent(new _-40v(this._-T4));
                _arg1.addMessageEvent(new _-4mq(this._-3K9));
                _arg1.addMessageEvent(new _-2he(this._-4vc));
                _arg1.addMessageEvent(new _-5-V(this._-OE));
                _arg1.addMessageEvent(new _-0PF(this._-374));
                _arg1.addMessageEvent(new _-3UX(this._-3hU));
                _arg1.addMessageEvent(new _-3qn(this._-4cU));
                _arg1.addMessageEvent(new _-Ft(this._-4Ag));
                _arg1.addMessageEvent(new _-1nb(this._-2rF));
                _arg1.addMessageEvent(new _-3sM(this._-2t5));
                _arg1.addMessageEvent(new _-4vL(this._-3uV));
                _arg1.addMessageEvent(new _-2-v(this._-1de));
                _arg1.addMessageEvent(new _-3Qo(this._-0tG));
                _arg1.addMessageEvent(new _-5Dt(this._-0tG));
                _arg1.addMessageEvent(new _-0Qm(this._-0tG));
                _arg1.addMessageEvent(new _-04N(this._-S-));
                _arg1.addMessageEvent(new _-2u(this._-00Q));
                _arg1.addMessageEvent(new _-5Be(this._-0KX));
                _arg1.addMessageEvent(new _-1CR(this._-2ZK));
                _arg1.addMessageEvent(new _-0uA(this._-4fO));
                _arg1.addMessageEvent(new _-58T(this._-uY));
                _arg1.addMessageEvent(new _-4H8(this._-Pg));
                _arg1.addMessageEvent(new _-1ah(this._-2Hd));
                _arg1.addMessageEvent(new _-3Bl(this._-0o2));
                _arg1.addMessageEvent(new _-2YW(this.onGuideSessionStarted));
                _arg1.addMessageEvent(new _-yg(this.onGuideSessionEnded));
                _arg1.addMessageEvent(new _-355(this.onGuideSessionError));
            };
        }
        private function _-41G(_arg1:_-0tL):void
        {
            var k:_-GF = (_arg1 as _-GF);
            if (k == null)
            {
                return;
            };
            var k:_-128 = k._-3-5();
            if (k != null)
            {
                this._-0gv = k.id;
            };
        }
        private function _-0fE(_arg1:_-0tL):void
        {
            var k:_-3qY = (_arg1 as _-3qY);
            if ((((((k == null)) || ((k._-3-5() == null)))) || ((_arg1.connection == null))))
            {
                return;
            };
            var k:_-3uk = k._-3-5();
            if (((!((this._-11i == k.roomId))) || (!((this._-X9 == k.roomCategory)))))
            {
                this._-08g(k.roomId, k.roomCategory);
            };
            var k:String = k.roomType;
            if (this._-13l != null)
            {
                this._-13l._-25y(k.roomId, k.roomCategory, k);
            };
            if (this._-2tK)
            {
                _arg1.connection.send(new _-4ad());
                this._-2tK = false;
            }
            else
            {
                _arg1.connection.send(new _-4Ib());
            };
        }
        private function _-3ki(_arg1:_-0tL):void
        {
            var k:_-0dP;
            var k:_-1Ux;
            var k:int;
            var k:int;
            var k:String;
            var k:String;
            if (this._-13l != null)
            {
                k = (_arg1 as _-0dP);
                if ((((k == null)) || ((k._-3-5() == null))))
                {
                    return;
                };
                k = k._-3-5();
                if (k != null)
                {
                    k = k._-3HK;
                    k = 0;
                    while (k < k)
                    {
                        k = k._-4bf(k);
                        k = k._-2Nc(k);
                        this._-13l._-3-7(k, k);
                        k++;
                    };
                };
            };
            _arg1.connection.send(new _-4Ib());
        }
        private function _-4bV(_arg1:_-0tL):void
        {
            var k:int;
            var k:Number;
            var k:Boolean;
            var k:Boolean;
            var k:_-4Xy = (_arg1 as _-4Xy);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:HeightMapMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = k.width;
            var k:int = k.height;
            var k:TileHeightMap = new TileHeightMap(k, k);
            var k:int;
            while (k < k)
            {
                k = 0;
                while (k < k)
                {
                    k = k._-2Ro(k, k);
                    k = k._-3Tf(k, k);
                    k = k._-uS(k, k);
                    k._-2sx(k, k, k);
                    k._-2UN(k, k, k);
                    k._-2gd(k, k, k);
                    k++;
                };
                k++;
            };
            this._-13l._-4ct(k, k, k);
        }
        private function _-0Ig(_arg1:_-0tL):void
        {
            var k:int;
            var k:Number;
            var k:Boolean;
            var k:_-1QB = (_arg1 as _-1QB);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:HeightMapUpdateMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:TileHeightMap = this._-13l._-3rL(k, k);
            if (k == null)
            {
                return;
            };
            var k:int = k._-0L-;
            var k:int = k._-07s;
            var k:int;
            while (k < k)
            {
                k = 0;
                while (k < k)
                {
                    k = k._-2Ro(k, k);
                    k = k._-2Ro(k, k, k, k, k);
                    k = k._-3Tf(k, k);
                    k = k._-3Tf(k, k, k, k, k);
                    k._-2sx(k, k, k);
                    k._-2UN(k, k, k);
                    k++;
                };
                k++;
            };
            this._-13l._-0Jq(k, k, "RoomMessageHandler.onHeightMapUpdate()");
        }
        private function _-4lQ(_arg1:_-0tL):void
        {
            var k:_-1Rj = (_arg1 as _-1Rj);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:_-4kT = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k = !(k._-2jI);
            var k:Boolean = true;
            var k:Number = k._-00q;
            var k:Number = k._-0F5;
            if (this._-13l != null)
            {
                this._-13l._-4f0(k, k, k, k);
                this._-13l._-31Q(k, k, k, k);
            };
        }
        private function _-2Cy(_arg1:_-0tL):void
        {
            var k:_-0DJ = (_arg1 as _-0DJ);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:_-3Fw = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:String = k._-E-;
            var k:String = k._-1ts;
            var k:String = k._-Av;
            if (this._-13l != null)
            {
                this._-13l._-501(k, k, k, k, k);
            };
        }
        private function _-1Hd(_arg1:_-0tL):void
        {
            var k:int;
            var k:int;
            var k:Boolean;
            var k:int;
            var k:XML;
            var k:_-4Z0 = (_arg1 as _-4Z0);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:FloorHeightMapMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            if (this._-13l == null)
            {
                return;
            };
            var k:LegacyWallGeometry = this._-13l._-4Gn(k, k);
            if (k == null)
            {
                return;
            };
            this._-3Uy.reset();
            var k:int = k.width;
            var k:int = k.height;
            this._-3Uy._-1wG(k, k);
            var k:Number = -1;
            var k:Number = -1;
            var k:Number = 0;
            var k:Number = 0;
            var k:Boolean = this._-RG(k, k);
            var k:TileHeightMap = this._-13l._-3rL(k, k);
            if (k == null)
            {
                return;
            };
            var k:int;
            while (k < k)
            {
                k = 0;
                while (k < k)
                {
                    k = k._-2Ro(k, k);
                    if (!k)
                    {
                        if ((((((((k > 0)) && ((k < (k - 1))))) || ((((k > 0)) && ((k < (k - 1))))))) && (!((k == RoomPlaneParser._-Vz)))))
                        {
                            if ((((((k._-2Ro(k, (k - 1)) == RoomPlaneParser._-Vz)) && ((k._-2Ro((k - 1), k) == RoomPlaneParser._-Vz)))) && ((k._-2Ro(k, (k + 1)) == RoomPlaneParser._-Vz))))
                            {
                                k = (k + 0.5);
                                k = 90;
                                if (!k._-uS((k + 1), k))
                                {
                                    k = (k + 1);
                                };
                            };
                            if ((((((k._-2Ro(k, (k - 1)) == RoomPlaneParser._-Vz)) && ((k._-2Ro((k - 1), k) == RoomPlaneParser._-Vz)))) && ((k._-2Ro((k + 1), k) == RoomPlaneParser._-Vz))))
                            {
                                k = (k + 0.5);
                                k = 180;
                                if (!k._-uS(k, (k + 1)))
                                {
                                    k = (k + 1);
                                };
                            };
                        };
                    };
                    k = k._-uS(k, k);
                    if (!k)
                    {
                        k = RoomPlaneParser._-Vz;
                    };
                    this._-3Uy._-2sx(k, k, k);
                    k++;
                };
                k++;
            };
            if (!k)
            {
                this._-3Uy._-2sx(Math.floor(k), Math.floor(k), k);
            };
            var k = (k == 1);
            if (k)
            {
                k = true;
            };
            this._-3Uy._-38X(k);
            if (!k)
            {
                this._-3Uy._-2sx(Math.floor(k), Math.floor(k), (k + this._-3Uy.wallHeight));
            };
            k.scale = k.scale;
            k.initialize(k, k, this._-3Uy._-3oo);
            var k:int = (k.height - 1);
            while (k >= 0)
            {
                k = (k.width - 1);
                while (k >= 0)
                {
                    k._-2sx(k, k, this._-3Uy._-2Ro(k, k));
                    k--;
                };
                k--;
            };
            var k:XML = this._-3Uy._-4sV();
            if (!k)
            {
                k = new XML((("<doors>" + (((((((('<door x="' + k) + '" y="') + k) + '" z="') + k) + '" dir="') + k) + '"/>')) + "</doors>"));
                k.appendChild(k);
            };
            this._-13l._-3be(k, k, k);
            if (this._-57e.objectData)
            {
                this._-2FK(k, k, this._-57e.objectData);
                this._-57e.objectData = null;
            }
            else
            {
                this._-57e.floorReady = true;
            };
        }
        private function _-zK(_arg1:_-0tL):void
        {
            var k:_-36M;
            var k:_-3yw = (_arg1 as _-3yw);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:ObjectsMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = k._-0h9();
            var k:int;
            while (k < k)
            {
                k = k._-4UQ(k);
                this._-2FK(k, k, k);
                k++;
            };
        }
        private function _-2kf(_arg1:_-0tL):void
        {
            var k:_-0AM;
            var k:_-1xX = (_arg1 as _-1xX);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:PublicRoomObjectsMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = k._-0h9();
            var k:int;
            while (k < k)
            {
                k = k._-4UQ(k);
                this._-1La(k, k, k);
                k++;
            };
        }
        private function _-2Q(_arg1:_-0tL):void
        {
            var k:_-2No = (_arg1 as _-2No);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:_-0cu = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:_-36M = k.data;
            this._-2FK(k, k, k);
        }
        private function onObjectUpdate(_arg1:_-0tL):void
        {
            var k:_-06R;
            var k:_-06R;
            var k:_-2J9 = (_arg1 as _-2J9);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-1Gy = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:_-36M = k.data;
            if (k != null)
            {
                k = new _-Xl(k.x, k.y, k.z);
                k = new _-Xl(k.dir);
                this._-13l._-0xT(k, k, k.id, k, k, k.state, k.data, k._-33C);
            };
        }
        private function _-4oZ(_arg1:_-0tL):void
        {
            var k:_-20h = (_arg1 as _-20h);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-3I9 = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = k.id;
            var k:int = k.state;
            var k:_-4q2 = k.data;
            this._-13l._-0xT(k, k, k, null, null, k, k);
        }
        private function _-TW(_arg1:_-0tL):void
        {
            var k:_-SO;
            var k:int;
            var k:int;
            var k:_-4q2;
            var k:_-Z- = (_arg1 as _-Z-);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:ObjectsDataUpdateMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int;
            while (k < k._-2B3)
            {
                k = k._-3Yy(k);
                if (k != null)
                {
                    k = k.id;
                    k = k.state;
                    k = k.data;
                    this._-13l._-0xT(k, k, k, null, null, k, k);
                };
                k++;
            };
        }
        private function _-1Mq(_arg1:_-0tL):void
        {
            var k:_-4oh = (_arg1 as _-4oh);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-3H5 = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = k.id;
            this._-13l._-4OW(k, k, k, ((k._-3iy) ? -1 : k._-2Ri), true);
        }
        private function _-2FK(_arg1:int, _arg2:int, _arg3:_-36M):void
        {
            if ((((_arg3 == null)) || ((this._-13l == null))))
            {
                return;
            };
            var k:_-06R = new _-Xl(_arg3.x, _arg3.y, _arg3.z);
            var k:_-06R = new _-Xl(_arg3.dir);
            if (_arg3._-Gb != null)
            {
                this._-13l._-1EC(_arg1, _arg2, _arg3.id, _arg3._-Gb, k, k, _arg3.state, _arg3.data, _arg3._-33C);
            }
            else
            {
                this._-13l._-2Pv(_arg1, _arg2, _arg3.id, _arg3.type, k, k, _arg3.state, _arg3.data, _arg3._-33C, _arg3._-49r, _arg3._-26m, _arg3._-nJ, _arg3._-0aC);
            };
        }
        private function _-1La(_arg1:int, _arg2:int, _arg3:_-0AM):void
        {
            if ((((_arg3 == null)) || ((this._-13l == null))))
            {
                return;
            };
            var k:_-06R = new _-Xl(_arg3.x, _arg3.y, _arg3.z);
            var k:_-06R = new _-Xl(_arg3.dir);
            var k:int = this._-3Nh();
            this._-13l._-1EC(_arg1, _arg2, k, _arg3.type, k, k, 0, new _-HJ());
        }
        private function _-3Nh():int
        {
            if (this._-2BE > 0)
            {
                this._-2BE = -1000000000;
            };
            return (--this._-2BE);
        }
        private function _-57Y(_arg1:_-0tL):void
        {
            var k:_-28C;
            var k:_-1Fg = (_arg1 as _-1Fg);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:ItemsMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = k._-1Vi();
            var k:int;
            while (k < k)
            {
                k = k._-2fQ(k);
                this._-34I(k, k, k);
                k++;
            };
        }
        private function _-44p(_arg1:_-0tL):void
        {
            var k:_-3sN = (_arg1 as _-3sN);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:_-0KW = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:_-28C = k.data;
            if (k != null)
            {
                this._-34I(k, k, k);
            };
        }
        private function _-175(_arg1:_-0tL):void
        {
            var k:_-1BQ = (_arg1 as _-1BQ);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-3XV = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-Re(k, k, k.itemId, k._-2Ri);
        }
        private function _-f(_arg1:_-0tL):void
        {
            var k:_-06R;
            var k:_-06R;
            var k:_-4ol = (_arg1 as _-4ol);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:_-0Or = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:LegacyWallGeometry = this._-13l._-4Gn(k, k);
            if ((((this._-13l == null)) || ((k == null))))
            {
                return;
            };
            var k:_-28C = k.data;
            if (k != null)
            {
                k = k.getLocation(k._-0iU, k._-24r, k.localX, k.localY, k.dir);
                k = new _-Xl(k.getDirection(k.dir));
                this._-13l._-0Sp(k, k, k.id, k, k, k.state, k.data);
            };
        }
        private function _-T4(_arg1:_-0tL):void
        {
            var k:_-40v = (_arg1 as _-40v);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            var k:_-0Jn = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-0po(k, k, k.id, k._-2RX);
        }
        private function _-34I(_arg1:int, _arg2:int, _arg3:_-28C):void
        {
            if ((((_arg3 == null)) || ((this._-13l == null))))
            {
                return;
            };
            var k:LegacyWallGeometry = this._-13l._-4Gn(_arg1, _arg2);
            if (k == null)
            {
                return;
            };
            var k:_-06R;
            if (!_arg3._-0IN)
            {
                k = k.getLocation(_arg3._-0iU, _arg3._-24r, _arg3.localX, _arg3.localY, _arg3.dir);
            }
            else
            {
                k = k._-2RP(_arg3.y, _arg3.z, _arg3.dir);
            };
            var k:_-06R = new _-Xl(k.getDirection(_arg3.dir));
            this._-13l._-0xm(_arg1, _arg2, _arg3.id, _arg3.type, k, k, _arg3.state, _arg3.data, _arg3._-26m, _arg3._-nJ, _arg3._-0aC);
        }
        private function _-3K9(_arg1:_-0tL):void
        {
            var k:_-2ML;
            var k:_-06R;
            var k:_-06R;
            var k:int;
            var k:_-4mq = (_arg1 as _-4mq);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:UsersMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int;
            while (k < k._-2cL())
            {
                k = k._-4d0(k);
                if (k != null)
                {
                    k = new _-Xl(k.x, k.y, k.z);
                    k = new _-Xl(k.dir);
                    k = k._-5EQ;
                    this._-13l._-Kv(k, k, k._-0KC, k, k, k.dir, k, k.figure);
                    if (k._-2-w == this._-0gv)
                    {
                        this._-13l._-1Cr(k, k, k._-0KC);
                        this._-13l._-3IO(k, k, k._-0KC);
                    };
                    this._-13l._-O9(k, k, k._-0KC, k.figure, k._-af, k._-4N, k._-0mh);
                    if (RoomObjectUserTypes._-4bf(k) == RoomObjectUserTypes._-0Zq)
                    {
                        if (this._-13l._-0nC(k.figure) == _-3iK._-2CJ)
                        {
                            this._-13l._-2ml(k, k, k._-0KC, k._-4T6);
                        };
                    };
                    if (this._-13l.configuration.getBoolean("avatar.ignored.bubble.enabled", false))
                    {
                        this._-13l._-1fn(k, k, k._-0KC, _-4Wq._-4LD, Number(this._-13l.sessionDataManager._-3dp(k.name)));
                    };
                };
                k++;
            };
            this._-1Ik();
        }
        private function _-4vc(_arg1:_-0tL):void
        {
            var k:_-3uw;
            var k:Number;
            var k:_-06R;
            var k:_-06R;
            var k:_-06R;
            var k:Boolean;
            var k:Boolean;
            var k:String;
            var k:String;
            var k:Boolean;
            var k:Boolean;
            var k:uint;
            var k:_-1ls;
            var k:_-2he = (_arg1 as _-2he);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:UserUpdateMessageParser = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:_-zU = this._-13l._-13y(k, k);
            if (k == null)
            {
                return;
            };
            var k:Number = k.getNumber(_-3wv._-4uf);
            var k:int;
            while (k < k._-52n)
            {
                k = k._-33h(k);
                if (k != null)
                {
                    k = k._-463;
                    if (k != 0)
                    {
                        k = (k / k);
                    };
                    k = new _-Xl(k.x, k.y, (k.z + k));
                    k = new _-Xl(k.dir);
                    k = null;
                    if (k._-IZ)
                    {
                        k = new _-Xl(k.targetX, k._-1uD, k._-1cn);
                    };
                    this._-13l._-28X(k, k, k.id, k, k, k._-2Rb, k, k, k._-4nG);
                    k = true;
                    k = false;
                    k = _-4Wq._-2jF;
                    k = "";
                    this._-13l._-Tb(k, k, k.id, null);
                    k = false;
                    k = false;
                    k = k.actions.length;
                    for each (k in k.actions)
                    {
                        switch (k._-1Br)
                        {
                            case "flatctrl":
                                this._-13l._-Tb(k, k, k.id, k._-5-k);
                                break;
                            case "sign":
                                if (k == 1)
                                {
                                    k = false;
                                };
                                this._-13l._-1fn(k, k, k.id, _-4Wq._-578, int(k._-5-k));
                                break;
                            case "gst":
                                if (k == 1)
                                {
                                    k = false;
                                };
                                this._-13l._-54X(k, k, k.id, k._-5-k);
                                break;
                            case "wav":
                            case "mv":
                                k = true;
                                k = true;
                                k = k._-1Br;
                                k = k._-5-k;
                                break;
                            case "swim":
                                k = true;
                                k = true;
                                k = k._-1Br;
                                k = k._-5-k;
                                break;
                            case "trd":
                                break;
                            default:
                                k = true;
                                k = k._-1Br;
                                k = k._-5-k;
                        };
                    };
                    if (((!(k)) && (k)))
                    {
                        k = true;
                        k = "float";
                    };
                    if (k)
                    {
                        this._-13l._-2ml(k, k, k.id, k, k);
                    }
                    else
                    {
                        if (k)
                        {
                            this._-13l._-2ml(k, k, k.id, _-4Wq._-2jF, "");
                        };
                    };
                };
                k++;
            };
            this._-1Ik();
        }
        private function _-OE(_arg1:_-0tL):void
        {
            var k:_-5-V = (_arg1 as _-5-V);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-0IM = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-2I4(k, k, k.id);
            this._-1Ik();
        }
        private function _-374(_arg1:_-0tL):void
        {
            var k:_-0PF = (_arg1 as _-0PF);
            if (k == null)
            {
                return;
            };
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-O9(k, k, k.id, k.figure, k._-af);
        }
        private function _-2Hd(_arg1:_-0tL):void
        {
            var k:_-1ah = (_arg1 as _-1ah);
            if (k == null)
            {
                return;
            };
            var k:int = this._-4z7(0);
            var k:int = this._-2Gi(0);
            var k:_-2y4 = k._-3-5();
            this._-13l._-O9(k, k, k._-0KC, k.figureData._-11I, "", "", k._-0mh);
        }
        private function _-3hU(_arg1:_-0tL):void
        {
            var k:_-3UX = (_arg1 as _-3UX);
            if (k == null)
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-2Y5 = k._-3-5();
            if (k == null)
            {
                return;
            };
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-1fn(k, k, k.userId, _-4Wq._-Bj, k._-0lP);
        }
        private function _-4cU(_arg1:_-0tL):void
        {
            var k:_-3qn = (_arg1 as _-3qn);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-4bL = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-1fn(k, k, k.userId, _-4Wq._-10t, k._-Xk);
        }
        private function _-4Ag(_arg1:_-0tL):void
        {
            var k:_-Ft = (_arg1 as _-Ft);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-02r = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-20A(k, k, k.userId, k._-33s, k._-2Zj);
        }
        private function _-2rF(_arg1:_-0tL):void
        {
            var k:_-1nb = (_arg1 as _-1nb);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-1wY = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = 1;
            if (!k._-1hf)
            {
                k = 0;
            };
            this._-13l._-1fn(k, k, k.userId, _-4Wq._-4uh, k);
        }
        private function _-2t5(_arg1:_-0tL):void
        {
            var k:_-2Oa;
            var k:int;
            var k:int;
            if (this._-13l == null)
            {
                return;
            };
            if ((_arg1 is _-3sM))
            {
                k = (_arg1 as _-3sM)._-3-5();
                k = this._-4z7(k.roomId);
                k = this._-2Gi(k.roomCategory);
                this._-13l._-1fn(k, k, k.userId, _-4Wq._-3kn, k._-15x);
            };
        }
        private function _-3uV(_arg1:_-0tL):void
        {
            var k:_-1Zh;
            var k:int;
            var k:int;
            if (this._-13l == null)
            {
                return;
            };
            if ((_arg1 is _-4vL))
            {
                k = (_arg1 as _-4vL)._-3-5();
                k = this._-4z7(k.roomId);
                k = this._-2Gi(k.roomCategory);
                this._-13l._-1fn(k, k, k.userId, _-4Wq._-0wc, k._-15x);
            };
        }
        private function _-1de(_arg1:_-0tL):void
        {
            var k:_-2X9;
            var k:int;
            var k:int;
            var k:Array;
            var k:int;
            var k:_-3JI;
            var k:_-3JI;
            var k:_-3SU;
            var k:String;
            var k:_-zU;
            if (this._-13l == null)
            {
                return;
            };
            if ((_arg1 is _-2-v))
            {
                k = (_arg1 as _-2-v)._-3-5();
                k = this._-4z7(k.roomId);
                k = this._-2Gi(k.roomCategory);
                this._-13l._-0xT(k, k, k.id, null, null, 1, null);
                this._-13l._-0xT(k, k, k.id, null, null, 2, null);
                k = k._-4Hb;
                k = 0;
                while (k < k.length)
                {
                    k = k[k];
                    if (k != null)
                    {
                        this._-13l._-1Vm(k, k, k.id, k.loc, k.target);
                    };
                    k++;
                };
                if (k.avatar != null)
                {
                    k = k.avatar;
                    this._-13l._-28X(k, k, k.id, k.loc, k.target);
                    if (this._-13l)
                    {
                        k = this._-13l._-13y(k, k);
                        if (k)
                        {
                            k = k._-4UQ(k.id, _-1sV._-3I0);
                        };
                    };
                    if (((!((k == null))) && (!((k.getType() == RoomObjectUserTypes._-2CJ)))))
                    {
                        switch (k._-254)
                        {
                            case _-3JI._-2Rh:
                                k = "mv";
                                break;
                            case _-3JI._-0x-:
                                k = "std";
                                break;
                        };
                        this._-13l._-2ml(k, k, k.id, k);
                    };
                };
            };
        }
        private function _-0tG(_arg1:_-0tL):void
        {
            var k:_-4jw;
            if (this._-13l == null)
            {
                return;
            };
            if ((_arg1 is _-3Qo))
            {
                k = (_arg1 as _-3Qo)._-3-5();
            }
            else
            {
                if ((_arg1 is _-5Dt))
                {
                    k = (_arg1 as _-5Dt)._-3-5();
                }
                else
                {
                    if ((_arg1 is _-0Qm))
                    {
                        k = (_arg1 as _-0Qm)._-3-5();
                    };
                };
            };
            if (k == null)
            {
                return;
            };
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-4ys(k, k, k.userId, k.gesture);
            this._-13l._-1fn(k, k, k.userId, _-4Wq._-3Mr, Math.ceil((k.text.length / 10)));
        }
        private function _-S-(_arg1:_-0tL):void
        {
            var k:_-04N = (_arg1 as _-04N);
            if (k == null)
            {
                return;
            };
            var k:_-0GG = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = 1;
            if (!k._-1SB)
            {
                k = 0;
            };
            this._-13l._-1fn(k, k, k.userId, _-4Wq._-1bn, k);
        }
        private function _-4fO(_arg1:_-0uA):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-9K = _arg1._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            this._-13l._-1fn(k, k, k._-0AS, _-4Wq._-3KD, k._-2-);
        }
        private function _-00Q(_arg1:_-0tL):void
        {
            var k:_-2u = (_arg1 as _-2u);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-4PJ = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = k.id;
            var k:int = k.value;
            var k:_-4q2 = new _-HJ();
            this._-13l._-0xT(k, k, k, null, null, k, k);
        }
        private function _-0KX(_arg1:_-0tL):void
        {
            var k:_-5Be = (_arg1 as _-5Be);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-0Uf = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:int = k.id;
            var k:int = k.status;
            var k:_-4q2 = new _-HJ();
            this._-13l._-0xT(k, k, k, null, null, k, k);
        }
        private function _-2ZK(_arg1:_-0tL):void
        {
            var k:_-1CR = (_arg1 as _-1CR);
            if ((((k == null)) || ((k._-3-5() == null))))
            {
                return;
            };
            if (this._-13l == null)
            {
                return;
            };
            var k:_-2BC = k._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:_-3SU = this._-13l._-1gd(k, k);
            if (k == null)
            {
                return;
            };
            var k:_-4s6 = (k.getModel() as _-4s6);
            if (k != null)
            {
                k.setNumber(_-4Wq._-4kv, ((k.isOpen) ? 1 : 0));
            };
        }
        private function _-uY(_arg1:_-58T):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-1jA = _arg1._-3-5();
            var k:int = this._-4z7(k.roomId);
            var k:int = this._-2Gi(k.roomCategory);
            var k:Boolean = k._-3uA;
            this._-13l._-7l(k, k, k);
        }
        private function _-Pg(_arg1:_-0tL):void
        {
            var k:_-1fj;
            var k:int;
            var k:int;
            if (this._-13l == null)
            {
                return;
            };
            if ((_arg1 is _-4H8))
            {
                k = (_arg1 as _-4H8)._-3-5();
                k = this._-4z7(k.roomId);
                k = this._-2Gi(k.roomCategory);
                this._-13l._-1fn(k, k, k.userId, _-4Wq._-4JZ, k.value);
            };
        }
        private function _-0o2(_arg1:_-0tL):void
        {
            if (!this._-13l.configuration.getBoolean("avatar.ignored.bubble.enabled", false))
            {
                return;
            };
            var k:_-3Bl = (_arg1 as _-3Bl);
            var k:_-4LX = this._-13l._-1ED.getSession(this._-11i, this._-X9).userDataManager._-gn(k.name);
            if (k != null)
            {
                switch (k.result)
                {
                    case 1:
                    case 2:
                        this._-13l._-1fn(this._-11i, this._-X9, k.roomObjectId, _-4Wq._-4LD, 1);
                        return;
                    case 3:
                        this._-13l._-1fn(this._-11i, this._-X9, k.roomObjectId, _-4Wq._-4LD, 0);
                        return;
                };
            };
        }
        private function onGuideSessionStarted(_arg1:_-0tL):void
        {
            var k:_-T- = (_arg1.parser as _-T-);
            this._-4Cn = k._-3q3;
            this._-1Ta = k._-4pt;
            this._-1Ik();
        }
        private function onGuideSessionEnded(_arg1:_-0tL):void
        {
            this._-2Ve();
        }
        private function onGuideSessionError(_arg1:_-0tL):void
        {
            this._-2Ve();
        }
        private function _-1Ik():void
        {
            var k:int = this._-13l.sessionDataManager.userId;
            this._-1iO(this._-4Cn, (((this._-1Ta == k)) ? _-0tD.GUIDE : _-0tD.NONE));
            this._-1iO(this._-1Ta, (((this._-4Cn == k)) ? _-0tD._-0IL : _-0tD.NONE));
        }
        private function _-2Ve():void
        {
            this._-1iO(this._-4Cn, _-0tD.NONE);
            this._-1iO(this._-1Ta, _-0tD.NONE);
            this._-4Cn = -1;
            this._-1Ta = -1;
        }
        private function _-1iO(_arg1:int, _arg2:int):void
        {
            if (((!(this._-13l)) || (!(this._-13l._-1ED))))
            {
                return;
            };
            var k:_-4JJ = this._-13l._-1ED.getSession(this._-11i, this._-X9);
            if (k == null)
            {
                return;
            };
            var k:_-4LX = k.userDataManager._-3hQ(_arg1, _-1IS._-0p3);
            if (k != null)
            {
                this._-13l._-1fn(this._-11i, this._-X9, k.roomObjectId, _-4Wq._-4CO, _arg2);
            };
        }

    }
}//package _-293

//------------------------------------------------------------
//_-293.RoomObjectEventHandler

package _-293
{
    import _-3vb._-3b;
    import _-0mD._-2Jq;
    import _-18r.Map;
    import _-0y0._-Xl;
    import _-0y0._-06R;
    import _-3mW._-2Ws;
    import _-2IQ._-1WL;
    import _-3V-._-lb;
    import _-3mW._-1sV;
    import flash.events.IEventDispatcher;
    import _-72._-2WC;
    import _-59g._-4KP;
    import _-0y0._-AY;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-3V-._-3SU;
    import _-0y0._-3q6;
    import _-071._-4l1;
    import _-59g._-1tL;
    import _-59g._-2Oh;
    import _-59g._-1Su;
    import _-59g._-2f1;
    import _-59g._-2K9;
    import _-59g._-18n;
    import _-59g._-4sI;
    import _-59g._-3pp;
    import _-59g._-52y;
    import _-59g._-9S;
    import _-59g._-3BG;
    import _-59g._-4LV;
    import _-071._-2Z2;
    import _-59g._-1Ey;
    import _-59g._-4Bo;
    import _-3mW.RoomObjectUserTypes;
    import _-4bd._-1yr;
    import _-4hI._-zU;
    import _-2IQ.TileObjectMap;
    import _-2IQ.TileHeightMap;
    import _-3mW._-4Wq;
    import _-72._-57I;
    import _-72._-3Ca;
    import _-72._-1Gs;
    import _-3V-._-4s6;
    import _-59g._-22K;
    import _-Mq._-qm;
    import _-59g._-iV;
    import _-0qc._-3Td;
    import _-0qc._-0WM;
    import _-59g._-2lz;
    import _-59g._-10x;
    import _-59g._-2H9;
    import _-59g._-4r5;
    import _-72._-3za;
    import _-4ik._-32j;
    import _-4xL._-3Bj;
    import _-2IQ.LegacyWallGeometry;
    import _-1Jd._-4JJ;
    import _-1Jd._-4LX;
    import _-4xL._-DO;
    import _-4xL._-4NI;
    import _-4xL._-lJ;
    import _-4xL._-2Pp;
    import _-4xL._-gO;
    import _-4xL._-2Q2;
    import _-59g._-3D4;
    import _-3mW._-1IS;
    import _-4xL._-7P;
    import _-4xL._-0BQ;
    import _-Mq._-1aj;
    import _-4xL._-3j6;
    import _-59g._-4UZ;
    import _-4xL._-0Vv;
    import _-Mq._-MS;
    import _-4xL._-nw;
    import _-Mq._-0GE;
    import _-Mq._-1pr;
    import _-Mq._-30I;
    import _-4xL._-0Hs;
    import _-Mq._-4Zm;
    import _-Mq._-50t;
    import _-4xL._-2yF;
    import _-4xL._-1uS;
    import _-4xL._-4GZ;
    import _-4Fh.*;

    public class RoomObjectEventHandler implements _-2bp 
    {

        private var _-0tK:_-3Ic = null;
        private var _-0a7:_-3b;
        private var _-3oJ:_-2Jq;
        private var _-2DR:Map = null;
        private var _-bD:int = -1;
        private var _-3-A:int = -1;
        private var _-0JS:int = -2;
        private var _-4t0:int = -1;
        private var _-qy:int = -1;

        public function RoomObjectEventHandler(_arg1:_-3Ic)
        {
            this._-2DR = new Map();
            this._-0tK = _arg1;
        }
        protected function get roomEngine():_-3Ic
        {
            return (this._-0tK);
        }
        public function dispose():void
        {
            if (this._-2DR != null)
            {
                this._-2DR.dispose();
                this._-2DR = null;
            };
            this._-0tK = null;
            this._-0a7 = null;
            this._-3oJ = null;
        }
        public function _-WZ(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:String=null, _arg7:_-4q2=null, _arg8:int=-1, _arg9:int=-1, _arg10:String=null):Boolean
        {
            var k:_-06R = new _-Xl(-100, -100);
            var k:_-06R = new _-Xl(0);
            this._-Uz(_arg1, _arg2, _arg3, _arg4, k, k, _-2Ws.OBJECT_PLACE, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10);
            if (this._-0tK != null)
            {
                this._-0tK._-3fn(_arg5, _arg4, false, _arg6, _arg7, _arg8, _arg9, _arg10);
                this._-0tK._-cV(false);
            };
            return (true);
        }
        public function _-5Am(_arg1:int, _arg2:int):Boolean
        {
            this._-4lP(_arg1, _arg2);
            return (true);
        }
        private function _-rV(_arg1:int, _arg2:int):_-1WL
        {
            if (this._-0tK == null)
            {
                return (null);
            };
            var k:_-0xz = this._-0tK._-rV(_arg1, _arg2);
            return ((k as _-1WL));
        }
        private function _-Uz(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:_-06R, _arg7:String, _arg8:int=0, _arg9:String=null, _arg10:_-4q2=null, _arg11:int=-1, _arg12:int=-1, _arg13:String=null):void
        {
            this._-4lP(_arg1, _arg2);
            if (this._-0tK == null)
            {
                return;
            };
            var k:_-1WL = new _-1WL(_arg3, _arg4, _arg7, _arg5, _arg6, _arg8, _arg9, _arg10, _arg11, _arg12, _arg13);
            this._-0tK._-Uz(_arg1, _arg2, k);
        }
        private function _-57W(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-06R, _arg6:_-06R, _arg7:String, _arg8:int=0, _arg9:String=null, _arg10:_-4q2=null, _arg11:int=-1, _arg12:int=-1, _arg13:String=null):void
        {
            if (this._-0tK == null)
            {
                return;
            };
            var k:_-1WL = new _-1WL(_arg3, _arg4, _arg7, _arg5, _arg6, _arg8, _arg9, _arg10, _arg11, _arg12, _arg13);
            this._-0tK._-Uz(_arg1, _arg2, k);
        }
        private function _-4lP(_arg1:int, _arg2:int):void
        {
            var k:_-lb;
            var k:int;
            var k:int;
            if (this._-0tK == null)
            {
                return;
            };
            if (this._-0tK != null)
            {
                this._-0tK._-4Jg();
            };
            var k:_-1WL = this._-rV(_arg1, _arg2);
            if (k != null)
            {
                if ((((k._-34v == _-2Ws.OBJECT_MOVE)) || ((k._-34v == _-2Ws.OBJECT_MOVE_TO))))
                {
                    k = (this._-0tK.getRoomObject(_arg1, _arg2, k.id, k.category) as _-lb);
                    if (((!((k == null))) && (!((k._-34v == _-2Ws.OBJECT_MOVE_TO)))))
                    {
                        k.setLocation(k.loc);
                        k.setDirection(k.dir);
                    };
                    this._-qp(k, 1);
                    if (k.category == _-1sV._-20L)
                    {
                        this._-0tK._-21r(_arg1, _arg2, k.id, true);
                    };
                    this._-57W(_arg1, _arg2, k.id, k.category, k.loc, k.dir, _-2Ws.OBJECT_MOVE, k.typeId, k._-vc, k._-vM, k.state, k._-3CW, k.posture);
                };
                if (k._-34v == _-2Ws.OBJECT_PLACE)
                {
                    k = k.id;
                    k = k.category;
                    switch (k)
                    {
                        case _-1sV._-0u-:
                            this._-0tK._-4OW(_arg1, _arg2, k);
                            break;
                        case _-1sV._-20L:
                            this._-0tK._-Re(_arg1, _arg2, k);
                            break;
                        case _-1sV._-3I0:
                            this._-0tK._-2I4(_arg1, _arg2, k);
                            break;
                    };
                };
                this._-0tK._-Uz(_arg1, _arg2, null);
            };
        }
        public function setSelectedObject(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:_-lb;
            if (this._-0tK == null)
            {
                return;
            };
            var k:IEventDispatcher = this._-0tK.events;
            if (k == null)
            {
                return;
            };
            switch (_arg4)
            {
                case _-1sV._-3I0:
                case _-1sV._-0u-:
                case _-1sV._-20L:
                    if (_arg4 == _-1sV._-3I0)
                    {
                        this._-3zY(_arg1, _arg2);
                        this._-AF(_arg1, _arg2, _arg3, true);
                    }
                    else
                    {
                        this._-AF(_arg1, _arg2, 0, false);
                        if (_arg3 != this._-3-A)
                        {
                            this._-3zY(_arg1, _arg2);
                            k = (this._-0tK.getRoomObject(_arg1, _arg2, _arg3, _arg4) as _-lb);
                            if (((!((k == null))) && (!((k._-40i() == null)))))
                            {
                                k._-40i().processUpdateMessage(new _-2WC(true));
                                this._-3-A = _arg3;
                                this._-0JS = _arg4;
                            };
                        };
                    };
                    k.dispatchEvent(new _-4KP(_-4KP._-9h, _arg1, _arg2, _arg3, _arg4));
                    return;
            };
        }
        private function _-3zY(_arg1:int, _arg2:int):void
        {
            var k:_-lb;
            if (this._-3-A != -1)
            {
                k = (this._-0tK.getRoomObject(_arg1, _arg2, this._-3-A, this._-0JS) as _-lb);
                if (((!((k == null))) && (!((k._-40i() == null)))))
                {
                    k._-40i().processUpdateMessage(new _-2WC(false));
                    this._-3-A = -1;
                    this._-0JS = _-1sV._-4hz;
                };
            };
        }
        public function _-2EQ(_arg1:_-3gM, _arg2:_-3SU, _arg3:_-3q6):void
        {
            if (_-AY._-4Bs())
            {
                return;
            };
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            var k:String = _arg2.getType();
            var k:int = this._-0tK._-0Z9(k);
            var k:int = k;
            if (k != _-1sV._-3Ag)
            {
                if (!this._-0tK._-3j1())
                {
                    k = _-1sV._-4hz;
                }
                else
                {
                    if (k != _-1sV._-3I0)
                    {
                        k = _-1sV._-4hz;
                    };
                };
            };
            var k:String = this._-3i0(k, _arg1.type);
            if (k == _arg1._-F7)
            {
                if ((((((((((_arg1.type == MouseEvent.CLICK)) || ((_arg1.type == MouseEvent.DOUBLE_CLICK)))) || ((_arg1.type == MouseEvent.MOUSE_DOWN)))) || ((_arg1.type == MouseEvent.MOUSE_UP)))) || ((_arg1.type == MouseEvent.MOUSE_MOVE))))
                {
                    return;
                };
            }
            else
            {
                if (_arg1._-F7 != null)
                {
                    this._-532(k, _arg1.type, _arg1._-F7);
                };
            };
            if (_arg2._-1jC() != null)
            {
                _arg2._-1jC().mouseEvent(_arg1, _arg3);
                if (k == _-1sV._-0u-)
                {
                    this._-4t0 = _arg2.getId();
                    this._-qy = k;
                };
            }
            else
            {
                this._-4t0 = -1;
                this._-qy = -1;
            };
        }
        public function handleRoomObjectEvent(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if ((_arg1 is _-4l1))
            {
                this._-16Y((_arg1 as _-4l1), _arg2, _arg3);
                return;
            };
            switch (_arg1.type)
            {
                case _-1tL._-2zF:
                    this.handleObjectStateChange((_arg1 as _-1tL), _arg2, _arg3);
                    return;
                case _-1tL._-123:
                    this._-HL((_arg1 as _-1tL), _arg2, _arg3);
                    return;
                case _-2Oh._-2di:
                    this._-0O7(_arg1, _arg2, _arg3);
                    return;
                case _-1Su._-w7:
                    this._-47W(_arg1, _arg2, _arg3);
                    return;
                case _-1Su._-197:
                    this._-1TJ(_arg1, _arg2, _arg3);
                    return;
                case _-2f1._-1tS:
                case _-2f1._-33j:
                case _-2f1._-4c-:
                case _-2f1._-1b:
                case _-2f1._-33A:
                case _-2f1._-Vw:
                case _-2f1._-0EU:
                case _-2f1._-2WP:
                case _-2f1._-46r:
                case _-2f1._-37L:
                case _-2f1._-2y0:
                case _-2f1._-2R1:
                case _-2f1._-0sb:
                case _-2f1._-3bb:
                case _-2f1._-1rx:
                case _-2f1._-51c:
                case _-2f1._-11B:
                case _-2f1._-LO:
                case _-2f1._-1Bx:
                    this._-1u1(_arg1, _arg2, _arg3);
                    return;
                case _-2K9._-4kx:
                case _-2K9._-45P:
                case _-2K9._-4Yg:
                case _-2K9._-2u9:
                case _-2K9._-4hm:
                case _-2K9._-sh:
                    this._-4qH(_arg1, _arg2, _arg3);
                    return;
                case _-2K9._-4wS:
                case _-2K9._-32x:
                case _-2K9._-eL:
                case _-2K9._-4nT:
                    this._-qT(_arg1, _arg2, _arg3);
                    return;
                case _-2K9._-01w:
                case _-2K9._-0Hp:
                case _-2K9._-3zG:
                case _-2K9._-0ZN:
                    this._-3Fj(_arg1, _arg2, _arg3);
                    return;
                case _-18n._-wN:
                case _-18n._-x3:
                    this._-1vv(_arg1, _arg2, _arg3);
                    return;
                case _-4sI._-0DB:
                case _-4sI._-3K5:
                case _-4sI._-0hN:
                case _-4sI._-3D0:
                case _-4sI._-im:
                    this._-Ae(_arg1, _arg2, _arg3);
                    return;
                case _-3pp._-1l5:
                    this._-L7(_arg1, _arg2, _arg3);
                    return;
                case _-52y._-0xy:
                case _-52y._-4vH:
                case _-52y._-2Gm:
                    this._-1Qi(_arg1, _arg2, _arg3);
                    return;
                case _-2K9._-4Wb:
                case _-2K9._-49J:
                    this._-55k(_arg1, _arg2, _arg3);
                    return;
                case _-9S._-1oT:
                case _-9S._-1JE:
                    this._-7i(_-9S(_arg1), _arg2, _arg3);
                    return;
                case _-3BG._-Zs:
                case _-3BG._-0Ho:
                case _-3BG._-4ut:
                    this._-3mq(_-3BG(_arg1), _arg2, _arg3);
                    return;
                case _-4LV._-51W:
                    this._-RF(_-4LV(_arg1), _arg2, _arg3);
                    return;
                default:
                    _-Nb.log("*** Unhandled room object event in RoomObjectEventHandler::handleRoomObjectEvent !!! ***");
            };
        }
        private function _-532(_arg1:int, _arg2:String, _arg3:String):void
        {
            var k:Map = (this._-2DR.getValue(String(_arg1)) as Map);
            if (k == null)
            {
                k = new Map();
                this._-2DR.add(_arg1, k);
            };
            k.remove(_arg2);
            k.add(_arg2, _arg3);
        }
        private function _-3i0(_arg1:int, _arg2:String):String
        {
            var k:Map = (this._-2DR.getValue(String(_arg1)) as Map);
            if (k == null)
            {
                return (null);
            };
            var k:String = (k.getValue(_arg2) as String);
            return (k);
        }
        private function _-16Y(_arg1:_-4l1, _arg2:int, _arg3:int):void
        {
            switch (_arg1.type)
            {
                case _-4l1._-se:
                    this._-4gh(_arg1, _arg2, _arg3);
                    return;
                case _-4l1._-Mb:
                    this._-df(_arg1, _arg2, _arg3);
                    return;
                case _-4l1._-01d:
                    this._-1Mc(_arg1, _arg2, _arg3);
                    return;
                case _-4l1._-3iY:
                    this._-2yZ(_arg1, _arg2, _arg3);
                    return;
                case _-4l1._-Ug:
                    this._-3X-(_arg1, _arg2, _arg3);
                    return;
            };
        }
        private function _-4gh(_arg1:_-4l1, _arg2:int, _arg3:int):void
        {
            var k:_-3SU;
            var k:int;
            var _local16:Boolean;
            var _local17:Boolean;
            var k:String;
            var k:String;
            var k:IEventDispatcher;
            if (_arg1 == null)
            {
                return;
            };
            var k:String = _-2Ws.OBJECT_UNDEFINED;
            var k:_-1WL = this._-rV(_arg2, _arg3);
            if (k != null)
            {
                k = k._-34v;
            };
            var k:int = _arg1._-mx;
            var k:String = _arg1._-2zd;
            var k:int = this._-0tK._-0Z9(k);
            var k:int = k;
            var k:String = _arg1._-F7;
            var k:_-1Ey = (_arg1 as _-1Ey);
            var k:_-4Bo = (_arg1 as _-4Bo);
            var k:Boolean;
            switch (k)
            {
                case _-2Ws.OBJECT_MOVE:
                    if (k == _-1sV._-3Ag)
                    {
                        if (k != null)
                        {
                            this.modifyRoomObject(_arg2, _arg3, k.id, k.category, _-2Ws.OBJECT_MOVE_TO);
                        };
                    }
                    else
                    {
                        if (k == _-1sV._-3I0)
                        {
                            if (((!((k == null))) && ((k == RoomObjectUserTypes._-2CJ))))
                            {
                                this.modifyRoomObject(_arg2, _arg3, k.id, k.category, _-2Ws.OBJECT_MOVE_TO);
                            };
                            if (k != null)
                            {
                                this._-532(_-1sV._-3Ag, MouseEvent.CLICK, k);
                            };
                            this._-42Q(_arg2, _arg3, k, k);
                        };
                    };
                    k = true;
                    if (k != -1)
                    {
                        this.setSelectedObject(_arg2, _arg3, k, k);
                    };
                    break;
                case _-2Ws.OBJECT_PLACE:
                    if (k == _-1sV._-3Ag)
                    {
                        this._-1IN(_arg2, _arg3, !((k == null)), !((k == null)));
                    }
                    else
                    {
                        if (k == _-1sV._-3I0)
                        {
                            switch (k)
                            {
                                case RoomObjectUserTypes._-2CJ:
                                case RoomObjectUserTypes.RENTABLE_BOT:
                                    this._-1IN(_arg2, _arg3, !((k == null)), !((k == null)));
                                    break;
                                default:
                                    if (k != null)
                                    {
                                        this._-532(_-1sV._-3Ag, MouseEvent.CLICK, k);
                                    };
                                    this._-42Q(_arg2, _arg3, k, k);
                            };
                        };
                    };
                    break;
                case _-2Ws.OBJECT_UNDEFINED:
                    if (k == _-1sV._-3Ag)
                    {
                        if (k != null)
                        {
                            this._-32t(_arg2, _arg3, k);
                        };
                    }
                    else
                    {
                        this.setSelectedObject(_arg2, _arg3, k, k);
                        _local16 = false;
                        _local17 = false;
                        if (k == _-1sV._-3I0)
                        {
                            if (((_arg1.ctrlKey) && ((k == RoomObjectUserTypes.RENTABLE_BOT))))
                            {
                                this.modifyRoomObject(_arg2, _arg3, k, k, _-2Ws.OBJECT_PICKUP_BOT);
                            }
                            else
                            {
                                if (((_arg1.ctrlKey) && ((k == RoomObjectUserTypes._-2CJ))))
                                {
                                    this.modifyRoomObject(_arg2, _arg3, k, k, _-2Ws.OBJECT_PICKUP_PET);
                                }
                                else
                                {
                                    if (((_arg1.shiftKey) && ((k == RoomObjectUserTypes._-2CJ))))
                                    {
                                        this.modifyRoomObject(_arg2, _arg3, k, k, _-2Ws.OBJECT_ROTATE_POSITIVE);
                                    }
                                    else
                                    {
                                        this._-2wP(k, _arg1);
                                    };
                                };
                            };
                            if (!this._-0tK._-3j1())
                            {
                                _local16 = true;
                            }
                            else
                            {
                                _local17 = true;
                            };
                        }
                        else
                        {
                            if ((((k == _-1sV._-0u-)) || ((k == _-1sV._-20L))))
                            {
                                if (((((_arg1.ctrlKey) || (_arg1.shiftKey))) && (!(this._-0tK._-1rr))))
                                {
                                    if (_arg1.shiftKey)
                                    {
                                        if (k == _-1sV._-0u-)
                                        {
                                            this.modifyRoomObject(_arg2, _arg3, k, k, _-2Ws.OBJECT_ROTATE_POSITIVE);
                                        };
                                    }
                                    else
                                    {
                                        this.modifyRoomObject(_arg2, _arg3, k, k, _-2Ws.OBJECT_PICKUP);
                                    };
                                    if (!this._-0tK._-3j1())
                                    {
                                        _local16 = true;
                                    }
                                    else
                                    {
                                        _local17 = true;
                                    };
                                };
                            };
                        };
                        if (k != null)
                        {
                            if (_local16)
                            {
                                this._-532(_-1sV._-3Ag, MouseEvent.CLICK, k);
                            };
                            if (_local17)
                            {
                                this._-532(_-1sV._-4hz, MouseEvent.CLICK, k);
                            };
                        };
                    };
                    break;
            };
            if (k == _-1sV._-3Ag)
            {
                k = this._-3i0(_-1sV._-4hz, MouseEvent.CLICK);
                k = this._-3i0(_-1sV._-3I0, MouseEvent.CLICK);
                if (((((!((k == k))) && (!((k == k))))) && (!(k))))
                {
                    this._-3zY(_arg2, _arg3);
                    k = this._-0tK.events;
                    if (k != null)
                    {
                        k.dispatchEvent(new _-4KP(_-4KP._-0X8, _arg2, _arg3, -1, _-1sV._-4hz));
                    };
                    this._-AF(_arg2, _arg3, 0, false);
                };
            };
        }
        private function _-df(_arg1:_-4l1, _arg2:int, _arg3:int):void
        {
            var k:_-lb;
            var k:_-1Ey;
            var k:_-1yr;
            var k:int;
            var k:int;
            var k:int;
            var k:_-zU;
            var k:TileObjectMap;
            var k:_-3SU;
            var k:TileHeightMap;
            var k:Number;
            var k:Number;
            if (_arg1 == null)
            {
                return;
            };
            var k:String = _-2Ws.OBJECT_UNDEFINED;
            var k:_-1WL = this._-rV(_arg2, _arg3);
            if (k != null)
            {
                k = k._-34v;
            };
            var k:String = _arg1._-2zd;
            var k:int = this._-0tK._-0Z9(k);
            if (this._-0tK != null)
            {
                k = this._-0tK._-24D(_arg2, _arg3);
                if (((!((k == null))) && (!((k._-40i() == null)))))
                {
                    k = (_arg1 as _-1Ey);
                    k = null;
                    if (k != null)
                    {
                        k = k._-2ni;
                        k = k._-3iP;
                        k = k._-05h;
                        k = this._-0tK._-13y(_arg2, _arg3);
                        if (k != null)
                        {
                            k = this._-0tK._-2iY(_arg2, _arg3);
                            if (k)
                            {
                                k = k._-35X(k, k);
                                if (((((k) && (k.getModel()))) && ((k.getModel().getNumber(_-4Wq._-3-s) > 0))))
                                {
                                    k = this._-0tK._-3rL(_arg2, _arg3);
                                    if (k)
                                    {
                                        k = 0;
                                        k = k._-2Ro(k, k);
                                        k = this._-0tK._-4Gn(_arg2, _arg3)._-2Ro(k, k);
                                        k = new _-57I(new _-Xl(k, k, k), null, (k - k));
                                    };
                                };
                            };
                        };
                        k._-40i().processUpdateMessage(new _-3Ca(_-3Ca._-2ha));
                        if (k == null)
                        {
                            k = new _-1yr(new _-Xl(k, k, k), null);
                        };
                    }
                    else
                    {
                        k = new _-3Ca(_-3Ca._-5A8);
                    };
                    k._-40i().processUpdateMessage(k);
                };
            };
            switch (k)
            {
                case _-2Ws.OBJECT_MOVE:
                    if (k == _-1sV._-3Ag)
                    {
                        this._-3n3(_arg1, _arg2, _arg3);
                    };
                    return;
                case _-2Ws.OBJECT_PLACE:
                    if (k == _-1sV._-3Ag)
                    {
                        this._-06G(_arg1, _arg2, _arg3);
                    };
            };
        }
        private function _-2yZ(_arg1:_-4l1, _arg2:int, _arg3:int):void
        {
            var k:String = _arg1._-2zd;
            var k:int = _arg1._-mx;
            var k:int = this._-0tK._-0Z9(k);
            if (k != _-1sV._-3Ag)
            {
                if (k == _-1sV._-3I0)
                {
                    this._-2XT(k, _arg1, _arg2, _arg3);
                };
            };
            var k:IEventDispatcher = this._-0tK.events;
            if (k != null)
            {
                k.dispatchEvent(new _-4KP(_-4KP._-3iY, _arg2, _arg3, _arg1._-mx, this._-0tK._-0Z9(_arg1._-2zd)));
            };
        }
        private function _-3X-(_arg1:_-4l1, _arg2:int, _arg3:int):void
        {
            var k:_-lb;
            var k:_-1Gs;
            var k:String = _arg1._-2zd;
            var k:int = _arg1._-mx;
            var k:int = this._-0tK._-0Z9(k);
            if (k != _-1sV._-3Ag)
            {
                if (k == _-1sV._-3I0)
                {
                    k = this._-0tK._-24D(_arg2, _arg3);
                    if (k)
                    {
                        k = new _-1Gs(0, null);
                        k._-40i().processUpdateMessage(k);
                    };
                };
            };
            var k:IEventDispatcher = this._-0tK.events;
            if (k != null)
            {
                k.dispatchEvent(new _-4KP(_-4KP._-Ug, _arg2, _arg3, _arg1._-mx, this._-0tK._-0Z9(_arg1._-2zd)));
            };
        }
        private function _-1Mc(_arg1:_-4l1, _arg2:int, _arg3:int):void
        {
            var k:IEventDispatcher;
            if (_arg1 == null)
            {
                return;
            };
            var k:String = _-2Ws.OBJECT_UNDEFINED;
            var k:_-1WL = this._-rV(_arg2, _arg3);
            if (k != null)
            {
                k = k._-34v;
            };
            var k:int = _arg1._-mx;
            var k:String = _arg1._-2zd;
            var k:int = this._-0tK._-0Z9(k);
            var k:int = k;
            switch (k)
            {
                case _-2Ws.OBJECT_UNDEFINED:
                    if ((((((k == _-1sV._-0u-)) || ((k == _-1sV._-20L)))) || ((k == RoomObjectUserTypes._-2CJ))))
                    {
                        if (((((_arg1.altKey) || (this._-3fu(_arg1)))) && (!(this._-0tK._-1rr))))
                        {
                            k = this._-0tK.events;
                            if (k != null)
                            {
                                k.dispatchEvent(new _-4KP(_-4KP._-Sw, _arg2, _arg3, k, k));
                            };
                        };
                    };
                    return;
            };
        }
        private function _-3fu(_arg1:_-4l1):Boolean
        {
            return (((this._-0tK._-01G) && (!(((_arg1.ctrlKey) || (_arg1.shiftKey))))));
        }
        private function _-3n3(_arg1:_-4l1, _arg2:int, _arg3:int):void
        {
            var k:Boolean;
            var k:TileHeightMap;
            var k:_-1Ey;
            var k:_-4Bo;
            var k:_-06R;
            var k:_-06R;
            var k:_-06R;
            var k:Number;
            var k:Number;
            var k:Number;
            if ((((_arg1 == null)) || ((this._-0tK == null))))
            {
                return;
            };
            var k:IEventDispatcher = this._-0tK.events;
            if (k == null)
            {
                return;
            };
            var k:_-1WL = this._-rV(_arg2, _arg3);
            if (k == null)
            {
                return;
            };
            var k:_-lb = (this._-0tK.getRoomObject(_arg2, _arg3, k.id, k.category) as _-lb);
            if (k != null)
            {
                k = true;
                if ((((k.category == _-1sV._-0u-)) || ((k.category == _-1sV._-3I0))))
                {
                    k = this._-0tK._-3rL(_arg2, _arg3);
                    k = (_arg1 as _-1Ey);
                    if (!((!((k == null))) && (this._-4Ih(k, k, (k._-05J + 0.5), (k._-5-x + 0.5), k))))
                    {
                        this._-4Ih(k, k, k.loc.x, k.loc.y, k);
                        k = false;
                    };
                }
                else
                {
                    if (k.category == _-1sV._-20L)
                    {
                        k = false;
                        k = (_arg1 as _-4Bo);
                        if (k != null)
                        {
                            k = k._-07C;
                            k = k._-4rJ;
                            k = k.wallHeight;
                            k = k.x;
                            k = k.y;
                            k = k.direction;
                            if (this._-3FP(k, k, k, k, k, k, k, k))
                            {
                                k = true;
                            };
                        };
                        if (!k)
                        {
                            k.setLocation(k.loc);
                            k.setDirection(k.dir);
                        };
                        this._-0tK._-21r(_arg2, _arg3, k.id, k);
                    };
                };
                if (k)
                {
                    this._-qp(k, 0.5);
                    this._-0tK._-cV(false);
                }
                else
                {
                    this._-qp(k, 0);
                    this._-0tK._-cV(true);
                };
            };
        }
        private function _-06G(_arg1:_-4l1, _arg2:int, _arg3:int):void
        {
            var k:_-3SU;
            var k:_-4s6;
            var k:Array;
            var k:_-06R;
            var k:Boolean;
            var k:TileHeightMap;
            var k:_-06R;
            var k:_-06R;
            var k:_-06R;
            var k:Number;
            var k:Number;
            var k:Number;
            if ((((_arg1 == null)) || ((this._-0tK == null))))
            {
                return;
            };
            var k:IEventDispatcher = this._-0tK.events;
            if (k == null)
            {
                return;
            };
            var k:_-1WL = this._-rV(_arg2, _arg3);
            if (k == null)
            {
                return;
            };
            var k:_-lb = (this._-0tK.getRoomObject(_arg2, _arg3, k.id, k.category) as _-lb);
            var k:_-1Ey = (_arg1 as _-1Ey);
            var k:_-4Bo = (_arg1 as _-4Bo);
            if (k == null)
            {
                if ((((k.category == _-1sV._-0u-)) && (!((k == null)))))
                {
                    this._-0tK._-2Pv(_arg2, _arg3, k.id, k.typeId, k.loc, k.dir, 0, k._-vM, Number(k._-vc), -1, 0, 0, "", false);
                }
                else
                {
                    if ((((k.category == _-1sV._-20L)) && (!((k == null)))))
                    {
                        this._-0tK._-0xm(_arg2, _arg3, k.id, k.typeId, k.loc, k.dir, 0, k._-vc, 0);
                    }
                    else
                    {
                        if ((((k.category == _-1sV._-3I0)) && (!((k == null)))))
                        {
                            this._-0tK._-Kv(_arg2, _arg3, k.id, new _-Xl(), new _-Xl(180), 180, k.typeId, k._-vc);
                            k = this._-0tK.getRoomObject(_arg2, _arg3, k.id, k.category);
                            if (k)
                            {
                                k = (k.getModel() as _-4s6);
                                if (((!((k == null))) && (!((k.posture == null)))))
                                {
                                    k.setString(_-4Wq._-0nJ, k.posture);
                                };
                            };
                        };
                    };
                };
                k = (this._-0tK.getRoomObject(_arg2, _arg3, k.id, k.category) as _-lb);
                if (k != null)
                {
                    if (k.category == _-1sV._-0u-)
                    {
                        if (k.getModel() != null)
                        {
                            k = k.getModel().getNumberArray(_-4Wq._-3gh);
                            if (((!((k == null))) && ((k.length > 0))))
                            {
                                k = new _-Xl(k[0]);
                                k.setDirection(k);
                                this._-57W(_arg2, _arg3, k.id, k.category, k.loc, k, k._-34v, k.typeId, k._-vc, k._-vM, k.state, k._-3CW, k.posture);
                                k = this._-rV(_arg2, _arg3);
                                if (k == null)
                                {
                                    return;
                                };
                            };
                        };
                    };
                };
                this._-qp(k, 0.5);
                this._-0tK._-cV(true);
            };
            if (k != null)
            {
                k = true;
                k = this._-0tK._-3rL(_arg2, _arg3);
                if (k.category == _-1sV._-0u-)
                {
                    if (!((!((k == null))) && (this._-4Ih(k, k, (k._-05J + 0.5), (k._-5-x + 0.5), k))))
                    {
                        this._-0tK._-4OW(_arg2, _arg3, k.id);
                        k = false;
                    };
                }
                else
                {
                    if (k.category == _-1sV._-20L)
                    {
                        k = false;
                        if (k != null)
                        {
                            k = k._-07C;
                            k = k._-4rJ;
                            k = k.wallHeight;
                            k = k.x;
                            k = k.y;
                            k = k.direction;
                            if (this._-3FP(k, k, k, k, k, k, k, k))
                            {
                                k = true;
                            };
                        };
                        if (!k)
                        {
                            this._-0tK._-Re(_arg2, _arg3, k.id);
                        };
                        this._-0tK._-21r(_arg2, _arg3, k.id, k);
                    }
                    else
                    {
                        if (k.category == _-1sV._-3I0)
                        {
                            if (!((!((k == null))) && (this._-2S0(k, k, (k._-05J + 0.5), (k._-5-x + 0.5), k))))
                            {
                                this._-0tK._-2I4(_arg2, _arg3, k.id);
                                k = false;
                            };
                        };
                    };
                };
                this._-0tK._-cV(!(k));
            };
        }
        protected function handleObjectStateChange(_arg1:_-1tL, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-45d(_arg2, _arg3, _arg1._-mx, _arg1._-2zd, _arg1.param, false);
        }
        private function _-HL(_arg1:_-1tL, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-45d(_arg2, _arg3, _arg1._-mx, _arg1._-2zd, _arg1.param, true);
        }
        private function _-1u1(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            var _local8:int;
            if ((((this._-0tK == null)) || ((_arg1 == null))))
            {
                return;
            };
            var k:int = _arg1._-mx;
            var k:String = _arg1._-2zd;
            var k:int = this._-0tK._-0Z9(k);
            var k:IEventDispatcher = this._-0tK.events;
            if (k != null)
            {
                switch (_arg1.type)
                {
                    case _-2f1._-1tS:
                        k.dispatchEvent(new _-4KP(_-4KP._-1tS, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-33j:
                        k.dispatchEvent(new _-4KP(_-4KP._-33j, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-4c-:
                        k.dispatchEvent(new _-4KP(_-4KP._-4c-, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-1b:
                        k.dispatchEvent(new _-4KP(_-4KP._-1b, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-33A:
                        k.dispatchEvent(new _-4KP(_-4KP._-33A, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-Vw:
                        k.dispatchEvent(new _-4KP(_-4KP._-Vw, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-0EU:
                        k.dispatchEvent(new _-4KP(_-4KP._-0EU, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-2WP:
                        k.dispatchEvent(new _-4KP(_-4KP._-2WP, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-46r:
                        k.dispatchEvent(new _-4KP(_-4KP._-46r, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-37L:
                        k.dispatchEvent(new _-4KP(_-4KP._-37L, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-2y0:
                        k.dispatchEvent(new _-4KP(_-4KP._-2y0, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-2R1:
                        k.dispatchEvent(new _-4KP(_-4KP._-2R1, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-0sb:
                        k.dispatchEvent(new _-22K(_-22K._-3l-, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-3bb:
                        _local8 = _arg1.object.getModel().getNumber(_-4Wq._-51d);
                        this._-0tK.connection.send(new _-qm(_arg1._-mx, _local8));
                        return;
                    case _-2f1._-1rx:
                        k.dispatchEvent(new _-4KP(_-4KP._-1rx, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-51c:
                        k.dispatchEvent(new _-4KP(_-4KP._-51c, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-11B:
                        k.dispatchEvent(new _-4KP(_-4KP._-11B, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-LO:
                        k.dispatchEvent(new _-4KP(_-4KP._-LO, _arg2, _arg3, k, k));
                        return;
                    case _-2f1._-1Bx:
                        k.dispatchEvent(new _-4KP(_-4KP._-1Bx, _arg2, _arg3, k, k));
                        return;
                };
            };
        }
        private function _-Ae(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:String;
            if ((((((this._-0tK == null)) || ((this._-0tK.events == null)))) || ((_arg1 == null))))
            {
                return;
            };
            var k:int = _arg1._-mx;
            var k:String = _arg1._-2zd;
            var k:int = this._-0tK._-0Z9(k);
            var k:_-4sI = (_arg1 as _-4sI);
            switch (_arg1.type)
            {
                case _-4sI._-0DB:
                    this._-0tK.events.dispatchEvent(_arg1);
                    if (((!((k == null))) && (!((this._-0a7 == null)))))
                    {
                        if (k.clickUrl == "NAVIGATOR_GAMES")
                        {
                            this._-0a7.toggleWindowVisibility("GAMES");
                        }
                        else
                        {
                            if (k.clickUrl.indexOf("GAME_CENTER:") == 0)
                            {
                                k = k.clickUrl.split(":");
                                this._-0tK._-1EZ.showGameCenterByGameName("showGameCenter.billboard", k[1]);
                            };
                        };
                    };
                    k = _-4KP._-4sD;
                    break;
                case _-4sI._-3K5:
                    if (((!((k == null))) && (!((this._-0a7 == null)))))
                    {
                        k = k.clickUrl;
                        k = "CATALOG_PAGE:";
                        if (((k) && ((k.indexOf(k) == 0))))
                        {
                            k = k.substr(k.length);
                            this._-3oJ.openCatalogPage(k);
                        };
                    };
                    k = _-4KP._-5BB;
                    break;
                case _-4sI._-0hN:
                    k = _-4KP._-3y3;
                    break;
                case _-4sI._-3D0:
                    k = _-4KP._-1t1;
                    break;
                case _-4sI._-im:
                    if (k != null)
                    {
                        this._-0tK._-nO(_arg2, _arg3, k, k, k.imageUrl, k.clickUrl);
                    };
                    break;
            };
            if (k == null)
            {
                return;
            };
            this._-0tK.events.dispatchEvent(new _-4KP(k, _arg2, _arg3, k, k));
        }
        private function _-4qH(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this.useObject(_arg2, _arg3, _arg1._-mx, _arg1._-2zd, _arg1.type);
        }
        private function _-qT(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:int = this._-0tK._-0Z9(_arg1._-2zd);
            var k:_-1WL = this._-rV(_arg2, _arg3);
            if (k != null)
            {
                if ((((k.category == k)) && ((k.id == _arg1._-mx))))
                {
                    if (k._-34v == _-2Ws.OBJECT_PLACE)
                    {
                        return;
                    };
                };
            };
            switch (_arg1.type)
            {
                case _-2K9._-4wS:
                    this._-0tK.events.dispatchEvent(new _-iV(_-iV._-4pp, _arg2, _arg3, _arg1._-mx, k));
                    return;
                case _-2K9._-32x:
                    this._-0tK.events.dispatchEvent(new _-iV(_-iV._-4OL, _arg2, _arg3, _arg1._-mx, k));
                    return;
                case _-2K9._-eL:
                    this._-0tK.events.dispatchEvent(new _-iV(_-iV._-3RY, _arg2, _arg3, _arg1._-mx, k));
                    return;
                case _-2K9._-4nT:
                    this._-0tK.events.dispatchEvent(new _-iV(_-iV._-4bX, _arg2, _arg3, _arg1._-mx, k));
                    return;
            };
        }
        private function _-3Fj(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:int = this._-0tK._-0Z9(_arg1._-2zd);
            var k:_-1WL = this._-rV(_arg2, _arg3);
            if (k != null)
            {
                if ((((k.category == k)) && ((k.id == _arg1._-mx))))
                {
                    if (k._-34v == _-2Ws.OBJECT_PLACE)
                    {
                        return;
                    };
                };
            };
            switch (_arg1.type)
            {
                case _-2K9._-01w:
                    this._-0tK.events.dispatchEvent(new _-iV(_-iV._-1Dn, _arg2, _arg3, _arg1._-mx, k));
                    return;
                case _-2K9._-0Hp:
                    this._-0tK.events.dispatchEvent(new _-iV(_-iV._-3ty, _arg2, _arg3, _arg1._-mx, k));
                    return;
                case _-2K9._-3zG:
                    this._-0tK.events.dispatchEvent(new _-iV(_-iV._-ky, _arg2, _arg3, _arg1._-mx, k));
                    return;
                case _-2K9._-0ZN:
                    this._-0tK.events.dispatchEvent(new _-iV(_-iV._-4uE, _arg2, _arg3, _arg1._-mx, k));
                    return;
            };
        }
        private function _-L7(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            var k:_-3pp;
            if ((((((this._-0tK == null)) || ((this._-0tK.events == null)))) || ((_arg1 == null))))
            {
                return;
            };
            var k:int = _arg1._-mx;
            var k:String = _arg1._-2zd;
            var k:int = this._-0tK._-0Z9(k);
            if (_arg1.type == _-3pp._-1l5)
            {
                k = (_arg1 as _-3pp);
                if (k != null)
                {
                    this._-0tK._-FW(_arg2, _arg3, k, k, k.badgeId);
                };
            };
        }
        private function _-1vv(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-18n._-wN:
                    this._-0tK._-4zr(_arg2, _arg3, _arg1._-mx);
                    return;
                case _-18n._-x3:
                    this._-0tK._-0wC(_arg2, _arg3, _arg1._-mx);
                    return;
            };
        }
        private function _-1Qi(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            var _local4:_-52y;
            if (_arg1 == null)
            {
                return;
            };
            if (((!((this._-0tK == null))) && (!((this._-0tK.connection == null)))))
            {
                switch (_arg1.type)
                {
                    case _-52y._-0xy:
                        _local4 = (_arg1 as _-52y);
                        if (_local4 != null)
                        {
                            this._-0tK.connection.send(new _-3Td(_local4.param));
                        };
                        return;
                    case _-52y._-2Gm:
                        this._-0tK.connection.send(new _-0WM());
                        return;
                };
            };
        }
        private function _-55k(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            this._-0tK._-39l(_arg1.type, _arg1._-mx, _arg1._-2zd);
        }
        private function _-1VB(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-pl(_arg2, _arg3, _arg1._-mx, _arg1._-2zd, _arg1.type);
        }
        private function _-0O7(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            var _local5:_-2Oh;
            var k:_-2lz;
            if (_arg1 == null)
            {
                return;
            };
            var k:int = _arg1._-mx;
            if (((!((this._-0tK == null))) && (!((this._-0tK.connection == null)))))
            {
                switch (_arg1.type)
                {
                    case _-2Oh._-2di:
                        _local5 = (_arg1 as _-2Oh);
                        if (_local5 != null)
                        {
                            k = new _-2lz(_arg2, _arg3, _local5.state, _local5._-0Wp, _local5._-33s, _local5.color, _local5._-42j);
                            this._-0tK.events.dispatchEvent(k);
                        };
                        return;
                };
            };
        }
        private function _-7i(_arg1:_-9S, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:int = this._-0tK._-0Z9(_arg1._-2zd);
            if (((!((this._-0tK == null))) && (!((this._-0tK.connection == null)))))
            {
                switch (_arg1.type)
                {
                    case _-9S._-1oT:
                        this._-0tK.events.dispatchEvent(new _-10x(_-10x._-1oT, _arg2, _arg3, _arg1._-mx, k, _arg1._-0IY, _arg1._-379));
                        return;
                    case _-9S._-1JE:
                        this._-0tK.events.dispatchEvent(new _-10x(_-10x._-1JE, _arg2, _arg3, _arg1._-mx, k, _arg1._-0IY, _arg1._-379));
                        return;
                };
            };
        }
        private function _-3mq(_arg1:_-3BG, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:int = this._-0tK._-0Z9(_arg1._-2zd);
            if (((!((this._-0tK == null))) && (!((this._-0tK.connection == null)))))
            {
                switch (_arg1.type)
                {
                    case _-3BG._-Zs:
                        this._-0tK.events.dispatchEvent(new _-2H9(_-2H9._-Zs, _arg2, _arg3, _arg1._-mx, k, _arg1._-4AS, _arg1._-379));
                        return;
                    case _-3BG._-0Ho:
                        this._-0tK.events.dispatchEvent(new _-2H9(_-2H9._-0Ho, _arg2, _arg3, _arg1._-mx, k, _arg1._-4AS, _arg1._-379));
                        return;
                    case _-3BG._-4ut:
                        this._-0tK.events.dispatchEvent(new _-2H9(_-2H9._-4ut, _arg2, _arg3, _arg1._-mx, k, _arg1._-4AS, _arg1._-379));
                        return;
                };
            };
        }
        private function _-RF(_arg1:_-4LV, _arg2:int, _arg3:int):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (((!((this._-0tK == null))) && (!((this._-0tK.connection == null)))))
            {
                switch (_arg1.type)
                {
                    case _-4LV._-51W:
                        this._-0tK.events.dispatchEvent(new _-4r5(_-4r5._-51W, _arg2, _arg3, _arg1.enable, _arg1.hue, _arg1.saturation, _arg1.lightness));
                        return;
                };
            };
        }
        private function _-47W(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            var k:_-06R;
            var k:_-1yr;
            if (this._-0tK == null)
            {
                return;
            };
            var k:int = _arg1._-mx;
            var k:String = _arg1._-2zd;
            var k:int = this._-0tK._-0Z9(k);
            var k:_-lb = (this._-0tK.getRoomObject(_arg2, _arg3, k, k) as _-lb);
            var k:_-lb = this._-0tK._-0mG(_arg2, _arg3);
            if (((((!((k == null))) && (!((k == null))))) && (!((k._-40i() == null)))))
            {
                k = k.getLocation();
                k = new _-1yr(k, null);
                k._-40i().processUpdateMessage(k);
            };
        }
        private function _-1TJ(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            this._-AF(_arg2, _arg3, 0, false);
        }
        private function _-4Ih(_arg1:_-lb, _arg2:_-1WL, _arg3:int, _arg4:int, _arg5:TileHeightMap):Boolean
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            var k:_-Xl = new _-Xl();
            k._-3jn(_arg1.getDirection());
            _arg1.setDirection(_arg2.dir);
            var k:_-Xl = new _-Xl(_arg3, _arg4, 0);
            var k:_-Xl = new _-Xl();
            k._-3jn(_arg1.getDirection());
            var k:_-Xl = this._-3Ht(_arg1, k, _arg2.loc, _arg2.dir, _arg5);
            if (k == null)
            {
                k.x = this._-1e2(_arg1, true);
                _arg1.setDirection(k);
                k = this._-3Ht(_arg1, k, _arg2.loc, _arg2.dir, _arg5);
            };
            if (k == null)
            {
                _arg1.setDirection(k);
                return (false);
            };
            _arg1.setLocation(k);
            if (k)
            {
                _arg1.setDirection(k);
            };
            return (true);
        }
        private function _-3FP(_arg1:_-lb, _arg2:_-1WL, _arg3:_-06R, _arg4:_-06R, _arg5:_-06R, _arg6:Number, _arg7:Number, _arg8:Number):Boolean
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            var k:_-Xl = new _-Xl(_arg8);
            var k:_-Xl = this._-2-N(_arg1, _arg3, _arg4, _arg5, _arg6, _arg7, _arg2);
            if (k == null)
            {
                return (false);
            };
            _arg1.setLocation(k);
            _arg1.setDirection(k);
            return (true);
        }
        private function _-2S0(_arg1:_-lb, _arg2:_-1WL, _arg3:int, _arg4:int, _arg5:TileHeightMap):Boolean
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            var k:_-Xl = new _-Xl(_arg3, _arg4, 0);
            var k:_-Xl = this._-3ZI(_arg1, k, _arg2.loc, _arg2.dir, _arg5);
            if (k == null)
            {
                return (false);
            };
            _arg1.setLocation(k);
            return (true);
        }
        private function _-2ms(_arg1:_-3SU, _arg2:_-06R, _arg3:TileHeightMap):Boolean
        {
            if ((((((_arg1 == null)) || ((_arg1.getModel() == null)))) || ((_arg2 == null))))
            {
                return (false);
            };
            var k:_-06R = _arg1.getDirection();
            var k:_-06R = _arg1.getLocation();
            if ((((k == null)) || ((k == null))))
            {
                return (false);
            };
            if ((k.x % 180) == (_arg2.x % 180))
            {
                return (true);
            };
            var k:int = _arg1.getModel().getNumber(_-4Wq._-1VR);
            var k:int = _arg1.getModel().getNumber(_-4Wq._-1mA);
            if (k < 1)
            {
                k = 1;
            };
            if (k < 1)
            {
                k = 1;
            };
            var k:int = k;
            var k:int = k;
            var k:int;
            var k:int = ((int((_arg2.x + 45)) % 360) / 90);
            if ((((k == 1)) || ((k == 3))))
            {
            };
            k = ((int((k.x + 45)) % 360) / 90);
            if ((((k == 1)) || ((k == 3))))
            {
            };
            if (((!((_arg3 == null))) && (!((k == null)))))
            {
                if (_arg3._-j-(k.x, k.y, k, k, k.x, k.y, k, k))
                {
                    return (true);
                };
                return (false);
            };
            return (false);
        }
        private function _-3Ht(_arg1:_-3SU, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R, _arg5:TileHeightMap):_-Xl
        {
            var k:_-Xl;
            if ((((((_arg1 == null)) || ((_arg1.getModel() == null)))) || ((_arg2 == null))))
            {
                return (null);
            };
            var k:_-06R = _arg1.getDirection();
            if (k == null)
            {
                return (null);
            };
            if ((((_arg3 == null)) || ((_arg4 == null))))
            {
                return (null);
            };
            if ((((_arg2.x == _arg3.x)) && ((_arg2.y == _arg3.y))))
            {
                if (k.x == _arg4.x)
                {
                    k = new _-Xl();
                    k._-3jn(_arg3);
                    return (k);
                };
            };
            var k:int = _arg1.getModel().getNumber(_-4Wq._-1VR);
            var k:int = _arg1.getModel().getNumber(_-4Wq._-1mA);
            if (k < 1)
            {
                k = 1;
            };
            if (k < 1)
            {
                k = 1;
            };
            var k:int = _arg3.x;
            var k:int = _arg3.y;
            var k:int = k;
            var k:int = k;
            var k:int;
            var k:int = ((int((k.x + 45)) % 360) / 90);
            if ((((k == 1)) || ((k == 3))))
            {
            };
            k = ((int((_arg4.x + 45)) % 360) / 90);
            if ((((k == 1)) || ((k == 3))))
            {
            };
            if (((!((_arg5 == null))) && (!((_arg2 == null)))))
            {
                if (_arg5._-j-(_arg2.x, _arg2.y, k, k, k, k, k, k))
                {
                    return (new _-Xl(_arg2.x, _arg2.y, _arg5._-2Ro(_arg2.x, _arg2.y)));
                };
                return (null);
            };
            return (null);
        }
        private function _-2-N(_arg1:_-3SU, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R, _arg5:Number, _arg6:Number, _arg7:_-1WL):_-Xl
        {
            if ((((((((((((_arg1 == null)) || ((_arg1.getModel() == null)))) || ((_arg2 == null)))) || ((_arg3 == null)))) || ((_arg4 == null)))) || ((_arg7 == null))))
            {
                return (null);
            };
            var k:Number = _arg1.getModel().getNumber(_-4Wq._-1VR);
            var k:Number = _arg1.getModel().getNumber(_-4Wq._-Mt);
            var k:Number = _arg1.getModel().getNumber(_-4Wq._-3iL);
            if ((((((((_arg5 < (k / 2))) || ((_arg5 > (_arg3.length - (k / 2)))))) || ((_arg6 < k)))) || ((_arg6 > (_arg4.length - (k - k))))))
            {
                if ((((_arg5 < (k / 2))) && ((_arg5 <= (_arg3.length - (k / 2))))))
                {
                    k = (k / 2);
                }
                else
                {
                    if ((((_arg5 >= (k / 2))) && ((_arg5 > (_arg3.length - (k / 2))))))
                    {
                        k = (_arg3.length - (k / 2));
                    };
                };
                if ((((_arg6 < k)) && ((_arg6 <= (_arg4.length - (k - k))))))
                {
                }
                else
                {
                    if ((((_arg6 >= k)) && ((_arg6 > (_arg4.length - (k - k))))))
                    {
                        k = (_arg4.length - (k - k));
                    };
                };
            };
            if ((((((((_arg5 < (k / 2))) || ((_arg5 > (_arg3.length - (k / 2)))))) || ((_arg6 < k)))) || ((_arg6 > (_arg4.length - (k - k))))))
            {
                return (null);
            };
            var k:_-Xl = _-Xl._-3SY(_-Xl.product(_arg3, (_arg5 / _arg3.length)), _-Xl.product(_arg4, (_arg6 / _arg4.length)));
            k = _-Xl._-3SY(_arg2, k);
            return (k);
        }
        private function _-3ZI(_arg1:_-3SU, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R, _arg5:TileHeightMap):_-Xl
        {
            if ((((_arg2 == null)) || ((_arg5 == null))))
            {
                return (null);
            };
            if (_arg5._-uS(_arg2.x, _arg2.y))
            {
                return (new _-Xl(_arg2.x, _arg2.y, _arg5._-2Ro(_arg2.x, _arg2.y)));
            };
            return (null);
        }
        private function _-qp(_arg1:_-lb, _arg2:Number):void
        {
            if (((!((_arg1 == null))) && (!((_arg1.getModelController() == null)))))
            {
                _arg1.getModelController().setNumber(_-4Wq._-50W, _arg2);
            };
        }
        public function _-AF(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean):void
        {
            if (this._-0tK == null)
            {
                return;
            };
            var k:int = _-1sV._-3I0;
            var k:_-lb = (this._-0tK.getRoomObject(_arg1, _arg2, this._-bD, k) as _-lb);
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                k._-40i().processUpdateMessage(new _-3za(false));
                this._-bD = -1;
            };
            var k:Boolean;
            if (_arg4)
            {
                k = (this._-0tK.getRoomObject(_arg1, _arg2, _arg3, k) as _-lb);
                if (((!((k == null))) && (!((k._-40i() == null)))))
                {
                    k._-40i().processUpdateMessage(new _-3za(true));
                    k = true;
                    this._-bD = _arg3;
                    try
                    {
                        this._-0tK.connection.send(new _-32j(k.getLocation().x, k.getLocation().y));
                    }
                    catch(e:Error)
                    {
                    };
                };
            };
            var k:_-lb = this._-0tK._-0mG(_arg1, _arg2);
            if (((!((k == null))) && (!((k._-40i() == null)))))
            {
                if (((k) && (!(this._-0tK._-3j1()))))
                {
                    k._-40i().processUpdateMessage(new _-3Ca(_-3Ca._-2ha));
                }
                else
                {
                    k._-40i().processUpdateMessage(new _-3Ca(_-3Ca._-5A8));
                };
            };
        }
        public function _-2BV():int
        {
            return (this._-bD);
        }
        private function _-1e2(_arg1:_-lb, _arg2:Boolean):int
        {
            var k:int;
            var k:int;
            if ((((_arg1 == null)) || ((_arg1.getModel() == null))))
            {
                return (0);
            };
            var k:Array;
            var k:String = _arg1.getType();
            if (_arg1.getModel() != null)
            {
                if (k == RoomObjectUserTypes._-2CJ)
                {
                    k = _arg1.getModel().getNumberArray(_-4Wq._-mf);
                }
                else
                {
                    k = _arg1.getModel().getNumberArray(_-4Wq._-3gh);
                };
            };
            var k:int = _arg1.getDirection().x;
            if (((!((k == null))) && ((k.length > 0))))
            {
                k = k.indexOf(k);
                if (k < 0)
                {
                    k = 0;
                    k = 0;
                    while (k < k.length)
                    {
                        if (k <= k[k])
                        {
                            break;
                        };
                        k++;
                        k++;
                    };
                    k = (k % k.length);
                };
                if (_arg2)
                {
                    k = ((k + 1) % k.length);
                }
                else
                {
                    k = (((k - 1) + k.length) % k.length);
                };
                k = k[k];
            };
            return (k);
        }
        public function _-1v6(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:Map):Boolean
        {
            if (this._-0tK == null)
            {
                return (false);
            };
            var k:_-lb = (this._-0tK.getRoomObject(_arg1, _arg2, _arg3, _arg4) as _-lb);
            if (k == null)
            {
                return (false);
            };
            switch (_arg5)
            {
                case _-2Ws.OBJECT_SAVE_STUFF_DATA:
                    if (this._-0tK.connection)
                    {
                        this._-0tK.connection.send(new _-3Bj(_arg3, _arg6));
                    };
                    break;
                default:
                    _-Nb.log(("could not modify room object data, unknown operation " + _arg5));
            };
            return (true);
        }
        public function modifyRoomObject(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String):Boolean
        {
            var _local13:_-1WL;
            var k:int;
            var k:LegacyWallGeometry;
            var k:String;
            if (this._-0tK == null)
            {
                return (false);
            };
            var k:_-lb = (this._-0tK.getRoomObject(_arg1, _arg2, _arg3, _arg4) as _-lb);
            if (k == null)
            {
                return (false);
            };
            var k:int;
            var k:int;
            var k:int;
            var k:Boolean = true;
            var k:_-4JJ;
            var k:_-4LX;
            switch (_arg5)
            {
                case _-2Ws.OBJECT_ROTATE_POSITIVE:
                case _-2Ws.OBJECT_ROTATE_NEGATIVE:
                    if (this._-0tK.connection)
                    {
                        if (_arg5 == _-2Ws.OBJECT_ROTATE_NEGATIVE)
                        {
                            k = this._-1e2(k, false);
                        }
                        else
                        {
                            k = this._-1e2(k, true);
                        };
                        k = k.getLocation().x;
                        k = k.getLocation().y;
                        if (this._-2ms(k, new _-Xl(k), this._-0tK._-3rL(_arg1, _arg2)))
                        {
                            k = int((k / 45));
                            if (k.getType() == RoomObjectUserTypes._-2CJ)
                            {
                                k = this._-0tK._-1ED.getSession(_arg1, _arg2);
                                if (k != null)
                                {
                                    k = k.userDataManager.getUserDataByIndex(_arg3);
                                    if (k != null)
                                    {
                                        this._-0tK.connection.send(new _-DO(k._-2-w, k, k, k));
                                    };
                                };
                            }
                            else
                            {
                                this._-0tK.connection.send(new _-4NI(_arg3, k, k, k));
                            };
                        };
                    };
                    break;
                case _-2Ws.OBJECT_PICKUP:
                    if (this._-0tK.connection)
                    {
                        this._-0tK.connection.send(new _-lJ(_arg3, _arg4));
                    };
                    break;
                case _-2Ws.OBJECT_PICKUP_PET:
                    if (this._-0tK.connection)
                    {
                        k = this._-0tK._-1ED.getSession(_arg1, _arg2);
                        if (k != null)
                        {
                            k = k.userDataManager.getUserDataByIndex(_arg3);
                            k._-1UC(k._-2-w);
                        };
                    };
                    break;
                case _-2Ws.OBJECT_PICKUP_BOT:
                    if (this._-0tK.connection)
                    {
                        k = this._-0tK._-1ED.getSession(_arg1, _arg2);
                        if (k != null)
                        {
                            k = k.userDataManager.getUserDataByIndex(_arg3);
                            if (k != null)
                            {
                                this._-0tK.connection.send(new _-2Pp(k._-2-w));
                            };
                        };
                    };
                    break;
                case _-2Ws.OBJECT_EJECT:
                    if (this._-0tK.connection)
                    {
                        this._-0tK.connection.send(new _-gO(_arg3, _arg4));
                    };
                    break;
                case _-2Ws.OBJECT_MOVE:
                    k = false;
                    this._-qp(k, 0.5);
                    this._-Uz(_arg1, _arg2, k.getId(), _arg4, k.getLocation(), k.getDirection(), _arg5);
                    this._-0tK._-3fn(k.getId(), _arg4, true);
                    this._-0tK._-cV(false);
                    break;
                case _-2Ws.OBJECT_MOVE_TO:
                    _local13 = this._-rV(_arg1, _arg2);
                    this._-57W(_arg1, _arg2, _local13.id, _local13.category, _local13.loc, _local13.dir, _-2Ws.OBJECT_MOVE_TO, _local13.typeId, _local13._-vc, _local13._-vM, _local13.state, _local13._-3CW, _local13.posture);
                    this._-qp(k, 1);
                    this._-0tK._-4Jg();
                    if (this._-0tK.connection)
                    {
                        if (_arg4 == _-1sV._-0u-)
                        {
                            k = (int(k.getDirection().x) % 360);
                            k = k.getLocation().x;
                            k = k.getLocation().y;
                            k = int((k / 45));
                            this._-0tK.connection.send(new _-4NI(_arg3, k, k, k));
                        }
                        else
                        {
                            if (_arg4 == _-1sV._-3I0)
                            {
                                k = (int(k.getDirection().x) % 360);
                                k = k.getLocation().x;
                                k = k.getLocation().y;
                                k = int((k / 45));
                                k = parseInt(k.getModel().getString(_-4Wq._-Yj));
                                k = this._-0tK._-1ED.getSession(_arg1, _arg2);
                                if (k != null)
                                {
                                    k = k.userDataManager.getUserDataByIndex(_arg3);
                                    if (k != null)
                                    {
                                        this._-0tK.connection.send(new _-DO(k._-2-w, k, k, k));
                                    };
                                };
                            }
                            else
                            {
                                if (_arg4 == _-1sV._-20L)
                                {
                                    k = (int(k.getDirection().x) % 360);
                                    k = this._-0tK._-4Gn(_arg1, _arg2);
                                    if (((this._-0tK.connection) && (k)))
                                    {
                                        k = k._-3f8(k.getLocation(), k);
                                        if (k != null)
                                        {
                                            this._-0tK.connection.send(new _-2Q2(_arg3, _-1sV._-20L, k));
                                        };
                                    };
                                };
                            };
                        };
                    };
                    break;
            };
            if (k)
            {
                this._-4lP(_arg1, _arg2);
            };
            return (true);
        }
        private function _-42Q(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:_-1WL = this._-rV(_arg1, _arg2);
            if (k == null)
            {
                return;
            };
            var k:_-lb = (this._-0tK.getRoomObject(_arg1, _arg2, _arg3, _arg4) as _-lb);
            if (k == null)
            {
                return;
            };
            if (((this._-0tK) && (this._-0tK.events)))
            {
                this._-0tK.events.dispatchEvent(new _-3D4(_-4KP._-3dR, _arg1, _arg2, _arg3, _arg4, k.id, k.category));
            };
        }
        private function _-1IN(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            var k:_-lb;
            var k:_-06R;
            var k:LegacyWallGeometry;
            var k:Boolean;
            var k:_-1WL = this._-rV(_arg1, _arg2);
            if (k == null)
            {
                return;
            };
            var k:int = k.id;
            var k:int = k.category;
            var k:String = "";
            var k:Number = 0;
            var k:Number = 0;
            var k:Number = 0;
            var k:int;
            if (((!((this._-0tK == null))) && (!((this._-0tK.connection == null)))))
            {
                k = (this._-0tK.getRoomObject(_arg1, _arg2, k, k) as _-lb);
                if (k != null)
                {
                    k = k.getDirection().x;
                    k = k.getLocation();
                    if ((((k == _-1sV._-0u-)) || ((k == _-1sV._-3I0))))
                    {
                        k = k.x;
                        k = k.y;
                        k = k.z;
                    }
                    else
                    {
                        if (k == _-1sV._-20L)
                        {
                            k = k.x;
                            k = k.y;
                            k = k.z;
                            k = this._-0tK._-4Gn(_arg1, _arg2);
                            if (k != null)
                            {
                                k = k._-3f8(k, k);
                            };
                        };
                    };
                    k = ((((k / 45) % 8) + 8) % 8);
                    if ((((k < 0)) && ((k == _-1sV._-3I0))))
                    {
                        k = (k * -1);
                    };
                    if ((((k == _-1sV._-3I0)) && ((k.typeId == _-1IS._-2rN))))
                    {
                        this._-0tK.connection.send(new _-7P(k, int(k), int(k)));
                    }
                    else
                    {
                        if ((((k == _-1sV._-3I0)) && ((k.typeId == _-1IS._-qF))))
                        {
                            this._-0tK.connection.send(new _-0BQ(k, int(k), int(k)));
                        }
                        else
                        {
                            if (k.getModelController().getString(_-4Wq._-0xF) != null)
                            {
                                this._-0tK.connection.send(new _-1aj(k, k));
                            }
                            else
                            {
                                this._-0tK.connection.send(new _-3j6(k, k, k, int(k), int(k), k));
                            };
                        };
                    };
                };
            };
            var k:_-1WL = new _-1WL(k.id, k.category, null, null, null);
            this._-0tK._-nt(_arg1, _arg2, k);
            this._-4lP(_arg1, _arg2);
            if (((this._-0tK) && (this._-0tK.events)))
            {
                k = ((k) && ((k.getId() == k.id)));
                this._-0tK.events.dispatchEvent(new _-4UZ(_-4KP._-2pN, _arg1, _arg2, k, k, k, k, k, k, k, k, _arg3, _arg4, k._-vc));
            };
        }
        private function _-45d(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:int, _arg6:Boolean):void
        {
            var k:int = this._-0tK._-0Z9(_arg4);
            this._-TN(_arg1, _arg2, _arg3, k, _arg5, _arg6);
        }
        private function _-TN(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:Boolean):Boolean
        {
            if (((!((this._-0tK == null))) && (!((this._-0tK.connection == null)))))
            {
                if (_arg4 == _-1sV._-0u-)
                {
                    if (!_arg6)
                    {
                        this._-0tK.connection.send(new _-0Vv(_arg3, _arg5));
                    }
                    else
                    {
                        this._-0tK.connection.send(new _-MS(_arg3, _arg5));
                    };
                }
                else
                {
                    if (_arg4 == _-1sV._-20L)
                    {
                        this._-0tK.connection.send(new _-nw(_arg3, _arg5));
                    };
                };
            };
            return (true);
        }
        private function useObject(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String):void
        {
            if (((!((this._-0tK == null))) && (!((this._-0tK.connection == null)))))
            {
                switch (_arg5)
                {
                    case _-2K9._-4kx:
                        this._-0tK.connection.send(new _-0GE(_arg3));
                        return;
                    case _-2K9._-45P:
                        this._-0tK.connection.send(new _-1pr(_arg3));
                        return;
                    case _-2K9._-4Yg:
                        this._-0tK.connection.send(new _-30I(_arg3));
                        return;
                    case _-2K9._-2u9:
                        this._-0tK.connection.send(new _-0Hs(_arg3));
                        return;
                    case _-2K9._-4hm:
                        this._-0tK.connection.send(new _-4Zm(_arg3));
                        return;
                    case _-2K9._-sh:
                        this._-0tK.connection.send(new _-50t(_arg3));
                };
            };
        }
        private function _-pl(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String):void
        {
        }
        public function _-2vZ(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:String):Boolean
        {
            if ((((this._-0tK == null)) || ((this._-0tK.connection == null))))
            {
                return (false);
            };
            this._-0tK.connection.send(new _-2yF(_arg3, _arg4, _arg5, _arg1, _arg2));
            return (true);
        }
        public function _-4cN(_arg1:int, _arg2:int, _arg3:int):Boolean
        {
            if ((((this._-0tK == null)) || ((this._-0tK.connection == null))))
            {
                return (false);
            };
            this._-0tK.connection.send(new _-1uS(_arg3, _arg1, _arg2));
            return (true);
        }
        private function _-32t(_arg1:int, _arg2:int, _arg3:_-1Ey):void
        {
            if (this._-0tK == null)
            {
                return;
            };
            if (this._-0tK._-01G)
            {
                return;
            };
            var k:_-4JJ = this._-0tK._-1ED.getSession(_arg1, _arg2);
            if (((!((k == null))) && (k._-25V)))
            {
                return;
            };
            if (this._-0tK._-1rr)
            {
                if (this._-0tK._-4jv >= 0)
                {
                    this._-0tK._-1EZ._-34J(this._-0tK._-4jv, _arg3.altKey, _arg3.shiftKey);
                }
                else
                {
                    this._-0tK._-1EZ._-32t(_arg3);
                };
            }
            else
            {
                this._-4rU(_arg3._-2ni, _arg3._-3iP);
            };
        }
        private function _-4rU(_arg1:int, _arg2:int):void
        {
            if (this._-0tK.connection)
            {
                this._-0tK.connection.send(new _-4GZ(_arg1, _arg2));
            };
        }
        private function _-2wP(_arg1:int, _arg2:_-4l1):void
        {
            if (this._-0tK == null)
            {
                return;
            };
            if (this.roomEngine._-01G)
            {
                return;
            };
            if (this._-0tK._-1rr)
            {
                this._-0tK._-1EZ._-34J(_arg1, _arg2.altKey, _arg2.shiftKey);
            };
        }
        private function _-2XT(_arg1:int, _arg2:_-4l1, _arg3:int, _arg4:int):void
        {
            var k:_-lb;
            var k:_-lb;
            var k:_-1yr;
            var k:_-06R;
            var k:int;
            var k:int;
            var k:int;
            if (this._-0tK == null)
            {
                return;
            };
            if (this.roomEngine._-01G)
            {
                return;
            };
            if (this._-0tK._-1rr)
            {
                k = this._-0tK._-24D(_arg3, _arg4);
                if (((!((k == null))) && (!((k._-40i() == null)))))
                {
                    k = (this._-0tK.getRoomObject(_arg3, _arg4, _arg1, _-1sV._-3I0) as _-lb);
                    k = null;
                    if (k != null)
                    {
                        k = k.getLocation();
                        k = k.x;
                        k = k.y;
                        k = k.z;
                        k = new _-1yr(new _-Xl(k, k, k), null);
                        k._-40i().processUpdateMessage(k);
                    };
                };
                this._-0tK._-1EZ._-3tY(_arg1, _arg2.altKey, _arg2.shiftKey);
            };
        }
        public function set toolbar(_arg1:_-3b):void
        {
            this._-0a7 = _arg1;
        }
        public function set catalog(_arg1:_-2Jq):void
        {
            this._-3oJ = _arg1;
        }

    }
}//package _-293

//------------------------------------------------------------
//_-295._-0HP

package _-295
{
    public class _-0HP 
    {

        private var _-001:String;
        private var _-4dh:Class;
        private var _-3t-:Class;
        private var _-2QK:Array;

        public function _-0HP(_arg1:String, _arg2:Class, _arg3:Class=null, ... _args)
        {
            this._-001 = _arg1;
            this._-4dh = _arg2;
            this._-3t- = _arg3;
            if (_args == null)
            {
                this._-2QK = new Array();
            }
            else
            {
                this._-2QK = _args;
            };
        }
        public function get mimeType():String
        {
            return (this._-001);
        }
        public function get _-1T8():Class
        {
            return (this._-4dh);
        }
        public function get _-1Js():Class
        {
            return (this._-3t-);
        }
        public function get _-1yD():Array
        {
            return (this._-2QK);
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295._-0Ju

package _-295
{
    public interface _-0Ju extends _-2kE 
    {

        function _-0wY():void;

    }
}//package _-295

//------------------------------------------------------------
//_-295._-0uM

package _-295
{
    import flash.display.DisplayObject;

    public class _-0uM implements _-2kE 
    {

        protected var _-5Q:String;
        protected var _-0Mb:DisplayObject;
        protected var _disposed:Boolean = false;
        protected var _-1wT:_-0HP;

        public function _-0uM(_arg1:_-0HP, _arg2:String=null)
        {
            this._-1wT = _arg1;
            this._-5Q = _arg2;
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get content():Object
        {
            return (this._-0Mb);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-16W():_-0HP
        {
            return (this._-1wT);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0Mb.loaderInfo != null)
                {
                    if (this._-0Mb.loaderInfo.loader != null)
                    {
                        this._-0Mb.loaderInfo.loader.unload();
                    };
                };
                this._-0Mb = null;
                this._-1wT = null;
                this._disposed = true;
                this._-5Q = null;
            };
        }
        public function _-2OI(_arg1:Object):void
        {
            if ((_arg1 is DisplayObject))
            {
                this._-0Mb = (_arg1 as DisplayObject);
                if (this._-0Mb != null)
                {
                    return;
                };
                throw (new Error("Failed to convert DisplayObject to DisplayAsset!"));
            };
            if ((_arg1 is _-0uM))
            {
                this._-0Mb = _-0uM(_arg1)._-0Mb;
                this._-1wT = _-0uM(_arg1)._-1wT;
                if (this._-0Mb == null)
                {
                    throw (new Error("Failed to read content from DisplayAsset!"));
                };
            };
        }
        public function _-2ws(_arg1:_-2kE):void
        {
            if ((_arg1 is _-0uM))
            {
                this._-0Mb = _-0uM(_arg1)._-0Mb;
                this._-1wT = _-0uM(_arg1)._-1wT;
            }
            else
            {
                throw (new Error("Provided asset should be of type DisplayAsset!"));
            };
        }
        public function _-2pT(_arg1:XMLList):void
        {
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295._-243

package _-295
{
    import flash.utils.ByteArray;

    public class _-243 implements _-0Ju 
    {

        private var _disposed:Boolean = false;
        private var _-2nz:Object;
        private var _-0Mb:XML;
        private var _-pH:_-0HP;
        private var _-5Q:String;

        public function _-243(_arg1:_-0HP, _arg2:String=null)
        {
            this._-pH = _arg1;
            this._-5Q = _arg2;
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get content():Object
        {
            if (!this._-0Mb)
            {
                this._-0wY();
            };
            return (this._-0Mb);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-16W():_-0HP
        {
            return (this._-pH);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._-0Mb = null;
                this._-2nz = null;
                this._-pH = null;
                this._-5Q = null;
            };
        }
        public function _-2OI(_arg1:Object):void
        {
            this._-0Mb = null;
            this._-2nz = _arg1;
        }
        public function _-0wY():void
        {
            var k:ByteArray;
            if ((this._-2nz is Class))
            {
                k = (new ((this._-2nz as Class))() as ByteArray);
                this._-0Mb = new XML(k.readUTFBytes(k.length));
                return;
            };
            if ((this._-2nz is ByteArray))
            {
                k = (this._-2nz as ByteArray);
                this._-0Mb = new XML(k.readUTFBytes(k.length));
                return;
            };
            if ((this._-2nz is String))
            {
                this._-0Mb = new XML((this._-2nz as String));
                return;
            };
            if ((this._-2nz is XML))
            {
                this._-0Mb = (this._-2nz as XML);
                return;
            };
            if ((this._-2nz is _-243))
            {
                this._-0Mb = _-243(this._-2nz)._-0Mb;
                return;
            };
        }
        public function _-2ws(_arg1:_-2kE):void
        {
            if ((_arg1 is _-243))
            {
                this._-0Mb = _-243(_arg1)._-0Mb;
            }
            else
            {
                throw (Error("Provided asset is not of type XmlAsset!"));
            };
        }
        public function _-2pT(_arg1:XMLList):void
        {
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295._-2hP

package _-295
{
    import flash.text.Font;
    import _-18r.FontEnum;

    public class _-2hP implements _-2kE 
    {

        protected var _-pH:_-0HP;
        protected var _-0Mb:Font;
        protected var _disposed:Boolean = false;

        public function _-2hP(_arg1:_-0HP, _arg2:String=null)
        {
            this._-pH = _arg1;
        }
        public function get url():String
        {
            return (null);
        }
        public function get content():Object
        {
            return ((this._-0Mb as Object));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-16W():_-0HP
        {
            return (this._-pH);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-pH = null;
                this._-0Mb = null;
                this._disposed = true;
            };
        }
        public function _-2OI(_arg1:Object):void
        {
            var unknown:Object = _arg1;
            try
            {
                if ((unknown is Class))
                {
                    this._-0Mb = Font(FontEnum.registerFont((unknown as Class)));
                };
            }
            catch(e:Error)
            {
                throw (new Error(("Failed to register font from resource: " + unknown)));
            };
        }
        public function _-2ws(_arg1:_-2kE):void
        {
            if ((_arg1 is _-2hP))
            {
                this._-0Mb = _-2hP(_arg1)._-0Mb;
            }
            else
            {
                throw (new Error("Provided asset should be of type FontAsset!"));
            };
        }
        public function _-2pT(_arg1:XMLList):void
        {
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295._-2kE

package _-295
{
    import _-1B-.*;

    public interface _-2kE extends _-1zZ 
    {

        function get url():String;
        function get content():Object;
        function get _-16W():_-0HP;
        function _-2OI(_arg1:Object):void;
        function _-2ws(_arg1:_-2kE):void;
        function _-2pT(_arg1:XMLList):void;

    }
}//package _-295

//------------------------------------------------------------
//_-295._-31j

package _-295
{
    import flash.utils.getQualifiedClassName;

    public class _-31j implements _-2kE 
    {

        private var _disposed:Boolean = false;
        private var _-0Mb:Object = null;
        private var _-pH:_-0HP;
        private var _-5Q:String;

        public function _-31j(_arg1:_-0HP, _arg2:String=null)
        {
            this._-pH = _arg1;
            this._-5Q = _arg2;
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get content():Object
        {
            return (this._-0Mb);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-16W():_-0HP
        {
            return (this._-pH);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._-0Mb = null;
                this._-pH = null;
                this._-5Q = null;
            };
        }
        public function _-2OI(_arg1:Object):void
        {
            this._-0Mb = _arg1;
        }
        public function _-2ws(_arg1:_-2kE):void
        {
            this._-0Mb = (_arg1.content as Object);
        }
        public function _-2pT(_arg1:XMLList):void
        {
        }
        public function toString():String
        {
            return (((getQualifiedClassName(this) + ": ") + this._-0Mb));
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295._-39L

package _-295
{
    import _-18r.LibraryLoader;
    import flash.net.URLRequest;
    import _-1B-.*;

    public interface _-39L extends _-1zZ 
    {

        function get url():String;
        function get name():String;
        function get _-1DR():Boolean;
        function get _-1JM():uint;
        function get manifest():XML;
        function get _-2Nl():Array;
        function loadFromFile(_arg1:LibraryLoader, _arg2:Boolean=true):void;
        function loadFromResource(_arg1:XML, _arg2:Class):Boolean;
        function unload():void;
        function loadAssetFromFile(_arg1:String, _arg2:URLRequest, _arg3:String=null):_-4Rz;
        function getAssetByName(_arg1:String):_-2kE;
        function _-0WV(_arg1:Object):_-2kE;
        function _-1nE(_arg1:uint):_-2kE;
        function _-39u(_arg1:_-2kE):int;
        function hasAsset(_arg1:String):Boolean;
        function setAsset(_arg1:String, _arg2:_-2kE, _arg3:Boolean=true):Boolean;
        function _-529(_arg1:String, _arg2:_-0HP):_-2kE;
        function removeAsset(_arg1:_-2kE):_-2kE;
        function _-2Sy(_arg1:_-0HP, _arg2:Boolean=true):Boolean;
        function _-47R(_arg1:String, _arg2:Boolean=true):_-0HP;
        function getAssetTypeDeclarationByClass(_arg1:Class, _arg2:Boolean=true):_-0HP;
        function _-gD(_arg1:String, _arg2:Boolean=true):_-0HP;

    }
}//package _-295

//------------------------------------------------------------
//_-295._-3JR

package _-295
{
    import _-1B-.*;

    public interface _-3JR extends _-1zZ 
    {

        function _-529(_arg1:String, _arg2:Class, _arg3:Object):_-2kE;
        function retrieveAsset(_arg1:String, _arg2:_-53S):void;
        function isSameAsset(_arg1:String, _arg2:String):Boolean;
        function removeAsset(_arg1:String):void;

    }
}//package _-295

//------------------------------------------------------------
//_-295._-4Rz

package _-295
{
    import _-0yf.EventDispatcherWrapper;
    import _-1tB._-VL;
    import _-1B-.*;

    public class _-4Rz extends EventDispatcherWrapper implements _-1zZ 
    {

        private var _-1Uq:_-VL;
        private var _-1sU:String;

        public function _-4Rz(_arg1:String, _arg2:_-VL)
        {
            this._-1sU = _arg1;
            this._-1Uq = _arg2;
        }
        public function get assetName():String
        {
            return (this._-1sU);
        }
        public function get _-48Y():_-VL
        {
            return (this._-1Uq);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-1Uq != null)
                {
                    if (!this._-1Uq.disposed)
                    {
                        this._-1Uq.dispose();
                        this._-1Uq = null;
                    };
                };
                super.dispose();
            };
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295._-53S

package _-295
{
    import _-1B-.*;

    public interface _-53S extends _-1zZ 
    {

        function _-56a(_arg1:_-2kE, _arg2:String):void;

    }
}//package _-295

//------------------------------------------------------------
//_-295.AssetLibrary

package _-295
{
    import _-0yf.EventDispatcherWrapper;
    import flash.utils.Dictionary;
    import _-18r.LibraryLoader;
    import _-1tB._-47c;
    import _-1tB._-1yz;
    import _-1tB._-4Cz;
    import _-1tB._-2Qf;
    import flash.events.Event;
    import _-18r._-2K6;
    import _-1tB._-VL;
    import _-1tB.AssetLoaderEvent;
    import flash.net.URLRequest;
    import flash.events.ProgressEvent;
    import flash.utils.getQualifiedClassName;
    import _-1tB.*;

    public class AssetLibrary extends EventDispatcherWrapper implements _-39L 
    {

        public static const _-2Ja:String = "AssetLibraryReady";
        public static const _-0kb:String = "AssetLibraryLoaded";
        public static const _-35U:String = "AssetLibraryUnloaded";
        public static const _-2rG:String = "AssetLibraryLoadError";
        private static const _-0nO:String = "name";
        private static const _-51B:String = "asset";
        private static const _-0Cg:String = "param";
        private static const _-45i:String = "mimeType";
        private static const _-2Qe:String = "library";
        private static const _-20J:String = "ref";
        private static const _-4A1:Boolean = false;

        private static var _-3ZZ:Dictionary;
        private static var _-uX:LazyAssetProcessor = new LazyAssetProcessor();
        private static var _-2wg:uint = 0;
        private static var _-0qp:Array = new Array();

        private var _name:String;
        private var _-1iN:String;
        private var _-fW:XML;
        private var _-4ho:Boolean;
        private var _-4K6:uint;
        private var _-bS:LibraryLoader;
        private var _-2oi:Class;
        private var _-0wq:Dictionary;
        private var _-3pB:Dictionary;
        private var _-4ZH:Boolean = true;
        private var _-2wE:Dictionary;
        private var _-g1:Array;
        private var _-277:Dictionary;

        public function AssetLibrary(_arg1:String, _arg2:XML=null)
        {
            this._name = _arg1;
            this._-fW = _arg2;
            this._-4K6 = 0;
            this._-g1 = new Array();
            if (_-3ZZ == null)
            {
                _-3ZZ = new Dictionary(false);
                this._-2Sy(new _-0HP("application/octet-stream", _-31j, _-47c));
                this._-2Sy(new _-0HP("application/x-shockwave-flash", _-0uM, _-1yz, "swf"));
                this._-2Sy(new _-0HP("application/x-font-truetype", _-2hP, _-47c, "ttf", "otf"));
                this._-2Sy(new _-0HP("application/zip", _-31j, _-4Cz, "zip"));
                this._-2Sy(new _-0HP("text/xml", _-243, _-47c, "xml"));
                this._-2Sy(new _-0HP("text/html", _-243, _-47c, "htm", "html"));
                this._-2Sy(new _-0HP("text/plain", TextAsset, _-47c, "txt"));
                this._-2Sy(new _-0HP("image/jpeg", BitmapDataAsset, _-1yz, "jpg", "jpeg"));
                this._-2Sy(new _-0HP("image/gif", BitmapDataAsset, _-1yz, "gif"));
                this._-2Sy(new _-0HP("image/png", BitmapDataAsset, _-1yz, "png"));
                this._-2Sy(new _-0HP("image/tiff", BitmapDataAsset, _-1yz, "tif", "tiff"));
                this._-2Sy(new _-0HP("sound/mp3", SoundAsset, _-2Qf, "mp3"));
            };
            _-2wg++;
            this._-277 = new Dictionary(false);
            this._-2wE = new Dictionary(false);
            this._-0wq = new Dictionary(false);
            this._-3pB = new Dictionary(false);
            _-0qp.push(this);
        }
        public static function get _-36z():uint
        {
            return (_-2wg);
        }
        public static function get _-1Pi():Array
        {
            return (_-0qp);
        }
        private static function _-4Pu(_arg1:AssetLibrary, _arg2:XML, _arg3:Class):Boolean
        {
            var k:XMLList;
            var k:XML;
            var k:String;
            var k:String;
            var k:_-0HP;
            var k:_-2kE;
            var k:XMLList;
            var k:int;
            var k:_-0HP;
            if (_arg3 == null)
            {
                throw (new Error((("Library " + _arg1._-1iN) + " doesn't contain valid resource class!")));
            };
            var k:XMLList = _arg2.child(_-2Qe);
            if (k == null)
            {
                throw (Error("Provided manifest doesn't contain library node!"));
            };
            var k:String;
            k = k[0].assets;
            if (k != null)
            {
                k = k.child(_-51B);
                k = k.length();
                for each (k in k)
                {
                    k = k.attribute(_-0nO);
                    k = k.attribute(_-45i);
                    if (k == k)
                    {
                    }
                    else
                    {
                        k = _arg1._-47R(k);
                    };
                    if (k != null)
                    {
                        k = (new k._-1T8(k) as _-2kE);
                        k._-2OI(_arg3[k]);
                        k = k.child(_-0Cg);
                        if (k.length())
                        {
                            k._-2pT(k);
                        };
                        _arg1.setAsset(k, k);
                    }
                    else
                    {
                        _-Nb.log((((("Failed to extract asset " + k) + " from Library ") + _arg1._-1iN) + "!"));
                    };
                };
            };
            k = k[0].aliases;
            if (k != null)
            {
                k = k.child(_-51B);
                for each (k in k)
                {
                    k = k.attribute(_-0nO);
                    k = k.attribute(_-45i);
                    if (k == k)
                    {
                    }
                    else
                    {
                        k = _arg1._-47R(k);
                    };
                    if (k != null)
                    {
                        k = (new k._-1T8(k) as _-2kE);
                        k._-2OI(_arg1.getAssetByName(k.attribute(_-20J)).content);
                        k = k.child(_-0Cg);
                        if (k.length())
                        {
                            k._-2pT(k);
                        };
                        _arg1.setAsset(k, k);
                    }
                    else
                    {
                        _-Nb.log((((("Failed to extract asset alias " + k) + " from Library ") + _arg1._-1iN) + "!"));
                    };
                };
            };
            return (true);
        }

        public function get url():String
        {
            return (this._-1iN);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-1DR():Boolean
        {
            return (this._-4ho);
        }
        public function get manifest():XML
        {
            return (((this._-fW) ? this._-fW : this._-fW = new XML()));
        }
        public function get _-1JM():uint
        {
            return (this._-4K6);
        }
        public function get _-2Nl():Array
        {
            return (this._-g1);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                this.unload();
                super.dispose();
                _-0qp.splice(_-0qp.indexOf(this), 1);
                _-2wg--;
                this._-2wE = null;
                this._-0wq = null;
                this._-3pB = null;
                this._-g1 = null;
                this._-fW = null;
                this._-4K6 = 0;
                this._-4ho = false;
                this._name = null;
            };
        }
        public function loadFromFile(_arg1:LibraryLoader, _arg2:Boolean=true):void
        {
            if ((((this._-1iN == _arg1.url)) && (this._-4ho)))
            {
                if (((!(this._-4ZH)) && (_arg2)))
                {
                    AssetLibrary._-4Pu(this, this._-fW, this._-2oi);
                };
                this._-4ZH = _arg2;
                dispatchEvent(new Event(AssetLibrary._-2Ja));
            }
            else
            {
                if ((((this._-bS == null)) || (this._-bS.disposed)))
                {
                    this._-bS = _arg1;
                    this._-bS.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-tj);
                    this._-bS.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-1Yu);
                };
                this._-4ZH = _arg2;
                this._-1iN = this._-bS.url;
            };
        }
        public function loadFromResource(_arg1:XML, _arg2:Class):Boolean
        {
            return (AssetLibrary._-4Pu(this, _arg1, _arg2));
        }
        public function unload():void
        {
            var k:String;
            var k:_-2kE;
            var k:_-4Rz;
            for (k in this._-2wE)
            {
                k = this._-2wE[k];
                k._-48Y.dispose();
                delete this._-2wE[k];
            };
            for (k in this._-3pB)
            {
                k = this._-3pB[k];
                k.dispose();
                delete this._-3pB[k];
            };
            for (k in this._-0wq)
            {
                delete this._-0wq[k];
            };
            if (this._-bS != null)
            {
                this._-bS.dispose();
                this._-bS = null;
            };
            this._-4K6 = 0;
            this._-4ho = false;
            this._-1iN = null;
            dispatchEvent(new Event(AssetLibrary._-35U));
        }
        public function _-TR(_arg1:String):Class
        {
            var k:Class = this._-0wq[_arg1];
            if (k != null)
            {
                return (k);
            };
            if (this._-bS != null)
            {
                if (this._-bS.hasDefinition(_arg1))
                {
                    k = (this._-bS.getDefinition(_arg1) as Class);
                    if (k != null)
                    {
                        this._-0wq[_arg1] = k;
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function loadAssetFromFile(_arg1:String, _arg2:URLRequest, _arg3:String=null):_-4Rz
        {
            var k:_-0HP;
            if (this.getAssetByName(_arg1) != null)
            {
                throw (new Error((("Asset with name " + _arg1) + " already exists!")));
            };
            var k:_-4Rz = this._-2wE[_arg2.url];
            if (k != null)
            {
                if (k.assetName == _arg1)
                {
                    return (k);
                };
            };
            if (_arg3 == null)
            {
                k = this._-0sA(_arg2.url);
                if (k == null)
                {
                    throw (new Error((("Couldn't solve asset type for file " + _arg2.url) + "!")));
                };
            }
            else
            {
                k = this._-47R(_arg3, true);
                if (k == null)
                {
                    throw (new Error((("Asset type declaration for mime type " + _arg3) + "not found!")));
                };
            };
            var k:_-VL = new k._-1Js(k.mimeType, _arg2);
            if (k == null)
            {
                throw (new Error((("Invalid file loader class defined for mime type " + _arg3) + "!")));
            };
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-1xS);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-1xS);
            k.addEventListener(AssetLoaderEvent._-13f, this._-1xS);
            k.addEventListener(AssetLoaderEvent._-3V, this._-1xS);
            k.addEventListener(AssetLoaderEvent._-4dw, this._-1xS);
            k.addEventListener(AssetLoaderEvent._-2z-, this._-1xS);
            k = new _-4Rz(_arg1, k);
            this._-2wE[_arg2.url] = k;
            return (k);
        }
        private function _-1xS(_arg1:AssetLoaderEvent):void
        {
            var loader:_-VL;
            var type:String;
            var decl:_-0HP;
            var asset:_-2kE;
            var e:AssetLoaderEvent = _arg1;
            var remove:Boolean;
            loader = (e.target as _-VL);
            if (loader == null)
            {
                throw (new Error("Failed to downcast object to asset loader!"));
            };
            var struct:_-4Rz = this._-2wE[loader.url];
            if (struct == null)
            {
                throw (new Error(("Asset loader structure was lost! " + ((loader) ? loader.url : ""))));
            };
            switch (e.type)
            {
                case AssetLoaderEvent._-1Tr:
                    type = loader.mimeType;
                    decl = this._-47R(type);
                    remove = true;
                    if (decl != null)
                    {
                        asset = new decl._-1T8(decl, loader.url);
                        try
                        {
                            _-Nb.log((((('[AssetLibrary] Loaded: "' + loader.url) + '" (asset: ') + struct.assetName) + ")"));
                            asset._-2OI(loader.content);
                        }
                        catch(error:Error)
                        {
                            asset.dispose();
                            _-Nb.log(((((((('Failed to build asset from loaded file "' + loader.url) + '" type: ') + type) + " error: ") + error.name) + " / ") + error.message));
                            e = new AssetLoaderEvent(AssetLoaderEvent._-4ar, e.status);
                            break;
                        };
                        if (this._-3pB[struct.assetName] == null)
                        {
                            this._-4K6++;
                            this._-g1.push(struct.assetName);
                        };
                        this._-3pB[struct.assetName] = asset;
                    }
                    else
                    {
                        _-Nb.log(((('Failed to resolve asset type declaration: "' + loader.url) + '" type: ') + type));
                        e = new AssetLoaderEvent(AssetLoaderEvent._-4ar, e.status);
                    };
                    break;
                case AssetLoaderEvent._-4ar:
                    remove = true;
                    _-Nb.log(((('Failed to download file "' + loader.url) + '" error: ') + loader.errorCode));
                    break;
            };
            struct.dispatchEvent(new AssetLoaderEvent(e.type, e.status));
            if (remove)
            {
                if (((!(_disposed)) && (loader)))
                {
                    delete this._-2wE[loader.url];
                };
                if (struct)
                {
                    struct.dispose();
                };
            };
        }
        public function getAssetByName(_arg1:String):_-2kE
        {
            var k:_-2kE = this._-3pB[_arg1];
            if (k != null)
            {
                return (k);
            };
            if (this._-4ZH)
            {
                return (null);
            };
            return (this._-0bL(_arg1));
        }
        public function _-1nE(_arg1:uint):_-2kE
        {
            return ((((_arg1)<this._-g1.length) ? this.getAssetByName(this._-g1[_arg1]) : null));
        }
        public function _-0WV(_arg1:Object):_-2kE
        {
            var k:String;
            var k:_-2kE;
            for (k in this._-3pB)
            {
                k = this._-3pB[k];
                if (k.content === _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-39u(_arg1:_-2kE):int
        {
            var k:String;
            for (k in this._-3pB)
            {
                if (this._-3pB[k] == _arg1)
                {
                    return (this._-g1.indexOf(k));
                };
            };
            return (-1);
        }
        public function hasAsset(_arg1:String):Boolean
        {
            return (((!((this._-3pB[_arg1] == null))) || ((((this._-2oi)!=null) ? !((this._-2oi[_arg1] == null)) : false))));
        }
        public function setAsset(_arg1:String, _arg2:_-2kE, _arg3:Boolean=true):Boolean
        {
            var k = (this._-3pB[_arg1] == null);
            if (((((_arg3) || (k))) && (_arg2)))
            {
                if (k)
                {
                    this._-4K6++;
                    this._-g1.push(_arg1);
                };
                this._-3pB[_arg1] = _arg2;
                if (_-4A1)
                {
                    if ((_arg2 is _-0Ju))
                    {
                        _-uX.push((_arg2 as _-0Ju));
                    };
                };
                return (true);
            };
            return (false);
        }
        public function _-529(_arg1:String, _arg2:_-0HP):_-2kE
        {
            if (((this.hasAsset(_arg1)) || (!(_arg2))))
            {
                return (null);
            };
            var k:_-2kE = new _arg2._-1T8(_arg2);
            if (!this.setAsset(_arg1, k))
            {
                k.dispose();
                k = null;
            };
            return (k);
        }
        public function removeAsset(_arg1:_-2kE):_-2kE
        {
            var k:String;
            if (_arg1)
            {
                for (k in this._-3pB)
                {
                    if (this._-3pB[k] == _arg1)
                    {
                        this._-g1.splice(this._-g1.indexOf(k), 1);
                        delete this._-3pB[k];
                        this._-4K6--;
                        return (_arg1);
                    };
                };
            };
            return (null);
        }
        public function _-2Sy(_arg1:_-0HP, _arg2:Boolean=true):Boolean
        {
            if (_arg2)
            {
                if (_-3ZZ.hasOwnProperty(_arg1.mimeType))
                {
                    throw (new Error((("Asset type " + _arg1.mimeType) + " already registered!")));
                };
                _-3ZZ[_arg1.mimeType] = _arg1;
            }
            else
            {
                if (this._-277.hasOwnProperty(_arg1.mimeType))
                {
                    throw (new Error((("Asset type " + _arg1.mimeType) + " already registered!")));
                };
                this._-277[_arg1.mimeType] = _arg1;
            };
            return (true);
        }
        public function _-47R(_arg1:String, _arg2:Boolean=true):_-0HP
        {
            var k:_-0HP;
            if (_arg2)
            {
                k = _-0HP(_-3ZZ[_arg1]);
                if (k != null)
                {
                    return (k);
                };
            };
            return (_-0HP(this._-277[_arg1]));
        }
        public function getAssetTypeDeclarationByClass(_arg1:Class, _arg2:Boolean=true):_-0HP
        {
            var k:_-0HP;
            var k:String;
            if (_arg2)
            {
                for (k in _-3ZZ)
                {
                    k = _-0HP(_-3ZZ[k]);
                    if (k != null)
                    {
                        if (k._-1T8 == _arg1)
                        {
                            return (k);
                        };
                    };
                };
            };
            for (k in this._-277)
            {
                k = _-0HP(this._-277[k]);
                if (k != null)
                {
                    if (k._-1T8 == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function _-gD(_arg1:String, _arg2:Boolean=true):_-0HP
        {
            var k:_-0HP;
            var k:String;
            var k:String = _arg1.substr((_arg1.lastIndexOf(".") + 1), _arg1.length);
            if (k.indexOf("?"))
            {
                k = k.substr(0, (k.indexOf("?") - 1));
            };
            if (_arg2)
            {
                for (k in _-3ZZ)
                {
                    k = _-0HP(_-3ZZ[k]);
                    if (k != null)
                    {
                        if (k._-1yD.indexOf(k))
                        {
                            return (k);
                        };
                    };
                };
            };
            for (k in this._-277)
            {
                k = _-0HP(this._-277[k]);
                if (k != null)
                {
                    if (k._-1yD.indexOf(k))
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        private function _-tj(_arg1:_-2K6):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            if (k.manifest == null)
            {
                throw (new Error("loader.manifest was null, which would have caused error 1009 anyway. See HL-22347."));
            };
            this._-fW = k.manifest.copy();
            this._-2oi = k.resource;
            this._-1iN = k.url;
            if (this._-4ZH)
            {
                AssetLibrary._-4Pu(this, this._-fW, this._-2oi);
            };
            this._-4ho = true;
            dispatchEvent(new Event(AssetLibrary._-0kb));
            dispatchEvent(new Event(AssetLibrary._-2Ja));
            if (this._-4ZH)
            {
                this._-bS.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-tj);
                this._-bS.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-1Yu);
                this._-bS.addEventListener(LibraryLoader.LIBRARY_LOADER_FINALIZE, this._-2e4);
                this._-bS = null;
                this._-2oi = null;
            };
        }
        private function _-2e4(_arg1:Event):void
        {
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            if (((k) && (!(k.disposed))))
            {
                if (!k.hasEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE))
                {
                    k.removeEventListener(LibraryLoader.LIBRARY_LOADER_FINALIZE, this._-2e4);
                    k.dispose();
                };
            };
        }
        private function _-4Ck(_arg1:ProgressEvent):void
        {
            dispatchEvent(_arg1.clone());
        }
        private function _-1Yu(_arg1:_-2K6):void
        {
            this._-4ho = false;
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            var k:String = ((k) ? k.name : "unknown");
            _-Nb.log(((("Cannot load the specified file: " + k) + " ") + _arg1.status));
            dispatchEvent(new Event(AssetLibrary._-2rG));
            this._-bS = null;
        }
        private function _-0sA(_arg1:String):_-0HP
        {
            var k:int;
            var k:_-0HP;
            var k:Array;
            var k:String;
            k = _arg1.indexOf("?", 0);
            if (k > 0)
            {
                k = _arg1.slice(0, k);
            };
            k = _arg1.lastIndexOf(".");
            if (k == -1)
            {
                return (null);
            };
            k = _arg1.slice((k + 1), _arg1.length);
            for (k in this._-277)
            {
                k = this._-277[k];
                k = k._-1yD;
                if (k != null)
                {
                    if (k.indexOf(k, 0) > -1)
                    {
                        return (k);
                    };
                };
            };
            for (k in _-3ZZ)
            {
                k = _-3ZZ[k];
                k = k._-1yD;
                if (k != null)
                {
                    if (k.indexOf(k, 0) > -1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        private function _-0bL(_arg1:String):_-2kE
        {
            var k:XML;
            var k:_-0HP;
            var k:_-2kE;
            var k:XMLList;
            var k:int;
            var k:uint;
            if (!this._-2oi)
            {
                return (null);
            };
            var k:XMLList = this._-fW.child(_-2Qe);
            if (k == null)
            {
                throw (new Error("Provided manifest doesn't contain library node!"));
            };
            if (k.length() == 0)
            {
                return (null);
            };
            k = k[0].assets;
            if (k != null)
            {
                k = k.child(_-51B);
                if (k != null)
                {
                    k = null;
                    k = k.length();
                    k = 0;
                    while (k < k)
                    {
                        k = k[k];
                        if (((k.attribute(_-0nO)) && ((k.attribute(_-0nO).toString() == _arg1))))
                        {
                            k = this._-47R(k.attribute(_-45i));
                            if (k == null)
                            {
                                throw (new Error((((("Failed to extract asset " + _arg1) + " from Library ") + this._-1iN) + "!")));
                            };
                            k = (new k._-1T8(k) as _-2kE);
                            k._-2OI(this._-2oi[_arg1]);
                            k = k.child(_-0Cg);
                            if (((k) && (k.length())))
                            {
                                k._-2pT(k);
                            };
                            this.setAsset(_arg1, k);
                            return (k);
                        };
                        k++;
                    };
                };
            };
            return (null);
        }
        public function toString():String
        {
            return (((getQualifiedClassName(this) + ": ") + this._name));
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295.AssetLibraryCollection

package _-295
{
    import _-0yf.EventDispatcherWrapper;
    import __AS3__.vec.Vector;
    import flash.system.LoaderContext;
    import flash.system.ApplicationDomain;
    import _-18r._-2K6;
    import _-18r.LibraryLoader;
    import flash.events.Event;
    import flash.net.URLRequest;
    import __AS3__.vec.*;

    public class AssetLibraryCollection extends EventDispatcherWrapper implements _-39L 
    {

        protected var _-1Xd:Vector.<_-39L>;
        protected var _-280:Array;
        protected var _-59s:LoaderContext;
        protected var _-1fE:AssetLibrary;
        protected var _-fW:XML;
        protected var _name:String;
        private var _-0pE:uint = 0;

        public function AssetLibraryCollection(_arg1:String)
        {
            this._name = _arg1;
            this._-fW = null;
            this._-1Xd = new Vector.<_-39L>();
            this._-280 = new Array();
            this._-59s = new LoaderContext(false, ApplicationDomain.currentDomain, null);
        }
        public function get url():String
        {
            return ("");
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-1DR():Boolean
        {
            return ((this._-280.length == 0));
        }
        public function get _-1JM():uint
        {
            return (this._-41O());
        }
        public function get _-2Nl():Array
        {
            return (this._-522());
        }
        public function get manifest():XML
        {
            return (((this._-fW) ? this._-fW : this._-fW = new XML()));
        }
        public function get _-28q():LoaderContext
        {
            return (this._-59s);
        }
        public function set _-28q(_arg1:LoaderContext):void
        {
            this._-59s = _arg1;
        }
        private function get _-0AZ():_-39L
        {
            if (!this._-1fE)
            {
                this._-1fE = new AssetLibrary("bin");
                this._-1Xd.splice(0, 0, this._-1fE);
            };
            return (this._-1fE);
        }
        public function loadFromFile(_arg1:LibraryLoader, _arg2:Boolean=false):void
        {
            if (this._-28q == null)
            {
                this._-28q = this._-59s;
            };
            var k:_-39L = new AssetLibrary(("lib-" + this._-0pE++));
            this._-280.push(k);
            k.loadFromFile(_arg1, _arg2);
            _arg1.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-4bt);
            _arg1.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-4bt);
            _arg1.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_PROGRESS, this._-4bt);
        }
        public function loadFromResource(_arg1:XML, _arg2:Class):Boolean
        {
            return (this._-0AZ.loadFromResource(_arg1, _arg2));
        }
        public function unload():void
        {
            while (this._-280.length > 0)
            {
                (this._-280.pop() as _-39L).dispose();
            };
            while (this._-1Xd.length > 0)
            {
                (this._-1Xd.pop() as _-39L).dispose();
            };
        }
        override public function dispose():void
        {
            var k:uint;
            var k:_-39L;
            var k:uint;
            if (!disposed)
            {
                super.dispose();
                k = this._-1Xd.length;
                k = 0;
                while (k < k)
                {
                    k = this._-1Xd.pop();
                    k.dispose();
                    k++;
                };
                this._-1fE = null;
            };
        }
        private function _-4bt(_arg1:_-2K6):void
        {
            var k:LibraryLoader;
            var k:_-39L;
            var k:uint;
            if (_arg1.type == _-2K6.LIBRARY_LOADER_EVENT_COMPLETE)
            {
                k = (_arg1.target as LibraryLoader);
                k = 0;
                while (k < this._-280.length)
                {
                    k = (this._-280[k] as _-39L);
                    if (k.url == k.url)
                    {
                        this._-280.splice(k, 1);
                        break;
                    };
                    k++;
                };
                this._-1Xd.push(k);
                k.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-4bt);
                k.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-4bt);
                k.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_PROGRESS, this._-4bt);
                if (this._-280.length == 0)
                {
                    dispatchEvent(new Event(AssetLibrary._-0kb));
                };
            };
        }
        public function _-46Y(_arg1:String):Boolean
        {
            var k:_-39L;
            for each (k in this._-1Xd)
            {
                if (k.name == _arg1)
                {
                    return (true);
                };
            };
            return (false);
        }
        public function _-4-Z(_arg1:String):_-39L
        {
            var k:_-39L;
            for each (k in this._-1Xd)
            {
                if (k.name == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-12W(_arg1:String):_-39L
        {
            var k:_-39L;
            for each (k in this._-1Xd)
            {
                if (k.url == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-HV(_arg1:_-39L):void
        {
            if (this._-1Xd.indexOf(_arg1) == -1)
            {
                this._-1Xd.push(_arg1);
            };
        }
        public function loadAssetFromFile(_arg1:String, _arg2:URLRequest, _arg3:String=null):_-4Rz
        {
            return (this._-0AZ.loadAssetFromFile(_arg1, _arg2, _arg3));
        }
        public function getAssetByName(_arg1:String):_-2kE
        {
            var k:_-2kE;
            var k:_-39L;
            for each (k in this._-1Xd)
            {
                k = k.getAssetByName(_arg1);
                if (k != null)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-4Le(_arg1:String):Array
        {
            var k:_-2kE;
            var k:_-39L;
            var k:Array = [];
            for each (k in this._-1Xd)
            {
                k = k.getAssetByName(_arg1);
                if (k != null)
                {
                    k.push(k);
                };
            };
            return (k);
        }
        public function _-0WV(_arg1:Object):_-2kE
        {
            var k:_-2kE;
            var k:_-39L;
            for each (k in this._-1Xd)
            {
                k = k._-0WV(_arg1);
                if (k != null)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-1nE(_arg1:uint):_-2kE
        {
            var k:_-39L;
            var k:uint;
            var k:uint;
            for each (k in this._-1Xd)
            {
                k = (k + k._-1JM);
                if (k <= _arg1)
                {
                    return (k._-1nE((_arg1 - k)));
                };
            };
            return (null);
        }
        public function _-39u(_arg1:_-2kE):int
        {
            var k:_-39L;
            var k:int;
            var k:int;
            for each (k in this._-1Xd)
            {
                k = k._-39u(_arg1);
                if (k != -1)
                {
                    return ((k + k));
                };
                k = (k + k._-1JM);
            };
            return (-1);
        }
        public function hasAsset(_arg1:String):Boolean
        {
            var k:_-39L;
            for each (k in this._-1Xd)
            {
                if (k.hasAsset(_arg1))
                {
                    return (true);
                };
            };
            return (false);
        }
        public function setAsset(_arg1:String, _arg2:_-2kE, _arg3:Boolean=true):Boolean
        {
            return (this._-0AZ.setAsset(_arg1, _arg2, _arg3));
        }
        public function _-529(_arg1:String, _arg2:_-0HP):_-2kE
        {
            return (this._-0AZ._-529(_arg1, _arg2));
        }
        public function removeAsset(_arg1:_-2kE):_-2kE
        {
            var k:_-39L;
            for each (k in this._-1Xd)
            {
                if (k.removeAsset(_arg1) == _arg1)
                {
                    return (_arg1);
                };
            };
            return (null);
        }
        public function _-2Sy(_arg1:_-0HP, _arg2:Boolean=true):Boolean
        {
            return (this._-0AZ._-2Sy(_arg1, _arg2));
        }
        public function _-47R(_arg1:String, _arg2:Boolean=true):_-0HP
        {
            var _local3:_-0HP;
            var _local4:_-39L;
            if (_arg2)
            {
                return (this._-0AZ._-47R(_arg1, true));
            };
            for each (_local4 in this._-1Xd)
            {
                _local3 = _local4._-47R(_arg1, false);
                if (_local3 != null)
                {
                    return (_local3);
                };
            };
            return (null);
        }
        public function getAssetTypeDeclarationByClass(_arg1:Class, _arg2:Boolean=true):_-0HP
        {
            var _local3:_-0HP;
            var _local4:_-39L;
            if (_arg2)
            {
                return (this._-0AZ.getAssetTypeDeclarationByClass(_arg1, true));
            };
            for each (_local4 in this._-1Xd)
            {
                _local3 = _local4.getAssetTypeDeclarationByClass(_arg1, false);
                if (_local3 != null)
                {
                    return (_local3);
                };
            };
            return (null);
        }
        public function _-gD(_arg1:String, _arg2:Boolean=true):_-0HP
        {
            var _local3:_-0HP;
            var _local4:_-39L;
            if (_arg2)
            {
                return (this._-0AZ._-gD(_arg1, true));
            };
            for each (_local4 in this._-1Xd)
            {
                _local3 = _local4._-gD(_arg1, false);
                if (_local3 != null)
                {
                    return (_local3);
                };
            };
            return (null);
        }
        private function _-41O():uint
        {
            var k:_-39L;
            var k:uint;
            for each (k in this._-1Xd)
            {
                k = (k + k._-1JM);
            };
            return (k);
        }
        private function _-522():Array
        {
            var k:_-39L;
            var k:Array = new Array();
            for each (k in this._-1Xd)
            {
                k = k.concat(k._-2Nl);
            };
            return (k);
        }
        public function _-5z():Array
        {
            var k:_-39L;
            var k:Array = new Array();
            for each (k in this._-1Xd)
            {
                k.push(k.manifest);
            };
            return (k);
        }
        private function _-3yc():XML
        {
            var k:_-39L;
            var k:XML = new XML("<manifest><library></library></manifest>");
            var k:XMLList = k.child("library");
            if (this._-1fE)
            {
                this._-3NO(k, this._-1fE);
            };
            for each (k in this._-1Xd)
            {
                this._-3NO(k, k);
            };
            return (k);
        }
        private function _-3NO(_arg1:XMLList, _arg2:_-39L):void
        {
            var k:XML;
            var k:XML;
            var k:XMLList;
            var k:XML;
            var k:XMLList = _arg2.manifest.library.children();
            for each (k in k)
            {
                k = _arg1.child(k.name())[0];
                if (!k)
                {
                    _arg1.appendChild(new XML((("<" + k.name()) + "/>")));
                    k = _arg1.child(k.name())[0];
                };
                k = k.children();
                for each (k in k)
                {
                    k.appendChild(k);
                };
            };
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295.BitmapDataAsset

package _-295
{
    import flash.geom.Rectangle;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.display.Loader;
    import flash.display.Bitmap;
    import flash.utils.ByteArray;
    import flash.events.Event;

    public class BitmapDataAsset implements _-0Ju 
    {

        private static const _-42R:Boolean = false;

        protected static var _-37O:uint = 0;
        protected static var _-297:uint = 0;

        private var _disposed:Boolean = false;
        private var _-0vG:Rectangle;
        private var _-2nz:Object;
        private var _bitmap:BitmapData;
        private var _-1fe:Point;
        private var _-4tY:Boolean = false;
        private var _-3VQ:Boolean = false;
        private var _-pH:_-0HP;
        private var _-5Q:String;
        private var _-bS:Loader;

        public function BitmapDataAsset(_arg1:_-0HP, _arg2:String=null)
        {
            this._-1fe = new Point(0, 0);
            super();
            this._-pH = _arg1;
            this._-5Q = _arg2;
            _-37O++;
        }
        public static function get _-52v():uint
        {
            return (_-37O);
        }
        public static function get _-s7():uint
        {
            return (_-297);
        }

        public function get url():String
        {
            return (this._-5Q);
        }
        public function get flipH():Boolean
        {
            return (this._-4tY);
        }
        public function get flipV():Boolean
        {
            return (this._-3VQ);
        }
        public function get offset():Point
        {
            return (this._-1fe);
        }
        public function get content():Object
        {
            if (!this._bitmap)
            {
                this._-0wY();
            };
            return (this._bitmap);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get rectangle():Rectangle
        {
            if (!this._-0vG)
            {
                this._-0vG = BitmapData(this.content).rect;
            };
            return (this._-0vG);
        }
        public function get _-16W():_-0HP
        {
            return (this._-pH);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                _-37O--;
                if (this._bitmap)
                {
                    try
                    {
                        _-297 = (_-297 - ((this._bitmap.width * this._bitmap.height) * 4));
                        this._bitmap.dispose();
                    }
                    catch(e:Error)
                    {
                    };
                };
                this._-2nz = null;
                this._bitmap = null;
                this._-1fe = null;
                this._-pH = null;
                this._-5Q = null;
                this._disposed = true;
            };
        }
        public function _-2OI(_arg1:Object):void
        {
            this._-2nz = _arg1;
            this._bitmap = null;
        }
        public function _-0wY():void
        {
            var k:Object;
            var k:Bitmap;
            var k:Bitmap;
            if (this._-2nz == null)
            {
                return;
            };
            if ((this._-2nz is Class))
            {
                k = new ((this._-2nz as Class))();
                k = (k as Bitmap);
                if (k != null)
                {
                    if (_-42R)
                    {
                        this._bitmap = k.bitmapData.clone();
                        k.bitmapData.dispose();
                    }
                    else
                    {
                        this._bitmap = k.bitmapData;
                        k.bitmapData = null;
                    };
                    if (this._bitmap != null)
                    {
                        _-297 = (_-297 + ((this._bitmap.width * this._bitmap.height) * 4));
                        this._-2nz = null;
                        return;
                    };
                    throw (new Error("Failed to convert Bitmap Class to BitmapDataAsset!"));
                };
                this._bitmap = (k as BitmapData);
                if (this._bitmap != null)
                {
                    this._-2nz = null;
                    return;
                };
                throw (new Error("Failed to convert BitmapData Class to BitmapDataAsset!"));
            };
            if ((this._-2nz is Bitmap))
            {
                k = Bitmap(this._-2nz);
                this._bitmap = k.bitmapData;
                if (this._bitmap != null)
                {
                    this._-2nz = null;
                }
                else
                {
                    throw (new Error("Failed to convert Bitmap to BitmapDataAsset!"));
                };
            };
            if ((this._-2nz is BitmapData))
            {
                this._bitmap = (this._-2nz as BitmapData);
                if (this._bitmap != null)
                {
                    this._-2nz = null;
                    return;
                };
                throw (new Error("Failed to convert BitmapData to BitmapDataAsset!"));
            };
            if ((this._-2nz is BitmapDataAsset))
            {
                this._bitmap = BitmapDataAsset(this._-2nz)._bitmap;
                this._-1fe = BitmapDataAsset(this._-2nz)._-1fe;
                this._-4tY = BitmapDataAsset(this._-2nz)._-4tY;
                this._-3VQ = BitmapDataAsset(this._-2nz)._-3VQ;
                if (this._bitmap != null)
                {
                    this._-2nz = null;
                    return;
                };
                throw (new Error("Failed to read content from BitmaDataAsset!"));
            };
            if ((this._-2nz is ByteArray))
            {
                this._-bS = new Loader();
                this._-bS.loadBytes((this._-2nz as ByteArray));
                this._-bS.contentLoaderInfo.addEventListener(Event.COMPLETE, this._-2lH);
            };
        }
        private function _-2lH(_arg1:Event):void
        {
            var k:Loader = (_arg1.currentTarget.loader as Loader);
            var k:Bitmap = (k.content as Bitmap);
            this._bitmap = k.bitmapData;
            if (((this._-bS) && (this._-bS.contentLoaderInfo)))
            {
                this._-bS.contentLoaderInfo.removeEventListener(Event.COMPLETE, this._-2lH);
            };
            this._-bS = null;
        }
        public function _-2ws(_arg1:_-2kE):void
        {
            if ((_arg1 is BitmapDataAsset))
            {
                this._bitmap = BitmapDataAsset(_arg1)._bitmap;
                this._-1fe = BitmapDataAsset(_arg1)._-1fe;
            }
            else
            {
                throw (new Error("Provided asset should be of type BitmapDataAsset!"));
            };
        }
        public function _-2pT(_arg1:XMLList):void
        {
            var k:XML;
            var k:String;
            var k:String;
            var k:Array;
            for each (k in _arg1)
            {
                k = k.attribute("key");
                k = k.attribute("value");
                switch (k)
                {
                    case "offset":
                        k = k.split(",");
                        this._-1fe.x = parseInt(k[0]);
                        this._-1fe.y = parseInt(k[1]);
                        break;
                    case "region":
                        k = k.split(",");
                        if (!this._-0vG)
                        {
                            this._-0vG = new Rectangle();
                        };
                        this._-0vG.x = parseInt(k[0]);
                        this._-0vG.y = parseInt(k[1]);
                        this._-0vG.width = parseInt(k[2]);
                        this._-0vG.height = parseInt(k[3]);
                        break;
                    case "flipH":
                        this._-4tY = (((k == "1")) || ((k == "true")));
                        break;
                    case "flipV":
                        this._-3VQ = (((k == "1")) || ((k == "true")));
                        break;
                };
            };
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295.LazyAssetProcessor

package _-295
{
    import __AS3__.vec.Vector;
    import _-p-.Core;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class LazyAssetProcessor implements _-0gI 
    {

        private var _-0Rj:Vector.<_-0Ju>;
        private var _-0FJ:Boolean = false;
        private var _disposed:Boolean = false;

        public function LazyAssetProcessor()
        {
            this._-0Rj = new Vector.<_-0Ju>();
            super();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                Core._-1ey.removeUpdateReceiver(this);
                this._-0Rj = null;
                this._-0FJ = false;
                this._disposed = true;
            };
        }
        public function push(_arg1:_-0Ju):void
        {
            if (_arg1)
            {
                this._-0Rj.push(_arg1);
                if (!this._-0FJ)
                {
                    Core._-1ey.registerUpdateReceiver(this, 2);
                    this._-0FJ = true;
                };
            };
        }
        public function flush():void
        {
            var k:_-0Ju;
            for each (k in this._-0Rj)
            {
                if (!k.disposed)
                {
                    k._-0wY();
                };
            };
            this._-0Rj = new Vector.<_-0Ju>();
            if (this._-0FJ)
            {
                Core._-1ey.removeUpdateReceiver(this);
                this._-0FJ = false;
            };
        }
        public function update(_arg1:uint):void
        {
            var k:_-0Ju = this._-0Rj.shift();
            if (!k)
            {
                if (this._-0FJ)
                {
                    Core._-1ey.removeUpdateReceiver(this);
                    this._-0FJ = false;
                };
            }
            else
            {
                if (!k.disposed)
                {
                    k._-0wY();
                };
            };
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295.SoundAsset

package _-295
{
    import flash.media.Sound;
    import flash.utils.ByteArray;

    public class SoundAsset implements _-2kE 
    {

        private var _disposed:Boolean = false;
        private var _-0Mb:Sound = null;
        private var _-pH:_-0HP;
        private var _-5Q:String;

        public function SoundAsset(_arg1:_-0HP, _arg2:String=null)
        {
            this._-pH = _arg1;
            this._-5Q = _arg2;
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get content():Object
        {
            return ((this._-0Mb as Object));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-16W():_-0HP
        {
            return (this._-pH);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._-0Mb = null;
                this._-pH = null;
                this._-5Q = null;
            };
        }
        public function _-2OI(_arg1:Object):void
        {
            if ((_arg1 is Sound))
            {
                if (this._-0Mb)
                {
                    this._-0Mb.close();
                };
                this._-0Mb = (_arg1 as Sound);
                return;
            };
            if ((_arg1 is ByteArray))
            {
            };
            if ((_arg1 is Class))
            {
                if (this._-0Mb)
                {
                    this._-0Mb.close();
                };
                this._-0Mb = (new ((_arg1 as Class))() as Sound);
                return;
            };
            if ((_arg1 is SoundAsset))
            {
                if (this._-0Mb)
                {
                    this._-0Mb.close();
                };
                this._-0Mb = SoundAsset(_arg1)._-0Mb;
                return;
            };
        }
        public function _-2ws(_arg1:_-2kE):void
        {
            if ((_arg1 is SoundAsset))
            {
                this._-0Mb = SoundAsset(_arg1)._-0Mb;
            };
        }
        public function _-2pT(_arg1:XMLList):void
        {
        }

    }
}//package _-295

//------------------------------------------------------------
//_-295.TextAsset

package _-295
{
    import flash.utils.ByteArray;

    public class TextAsset implements _-2kE 
    {

        private var _disposed:Boolean = false;
        private var _-0Mb:String = "";
        private var _-pH:_-0HP;
        private var _-5Q:String;

        public function TextAsset(_arg1:_-0HP, _arg2:String=null)
        {
            this._-pH = _arg1;
            this._-5Q = _arg2;
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get content():Object
        {
            return (this._-0Mb);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-16W():_-0HP
        {
            return (this._-pH);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._-0Mb = null;
                this._-pH = null;
                this._-5Q = null;
            };
        }
        public function _-2OI(_arg1:Object):void
        {
            var k:ByteArray;
            if ((_arg1 is String))
            {
                this._-0Mb = (_arg1 as String);
                return;
            };
            if ((_arg1 is Class))
            {
                k = (new ((_arg1 as Class))() as ByteArray);
                this._-0Mb = k.readUTFBytes(k.length);
                return;
            };
            if ((_arg1 is ByteArray))
            {
                k = (_arg1 as ByteArray);
                this._-0Mb = k.readUTFBytes(k.length);
                return;
            };
            if ((_arg1 is TextAsset))
            {
                this._-0Mb = TextAsset(_arg1)._-0Mb;
                return;
            };
            this._-0Mb = _arg1.toString();
        }
        public function _-2ws(_arg1:_-2kE):void
        {
            if ((_arg1 is TextAsset))
            {
                this._-0Mb = TextAsset(_arg1)._-0Mb;
            }
            else
            {
                throw (Error("Provided asset is not of type TextAsset!"));
            };
        }
        public function _-2pT(_arg1:XMLList):void
        {
        }

    }
}//package _-295

//------------------------------------------------------------
//_-29G._-0CV

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0CV implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-0CV(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-0kq

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0kq implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0kq(_arg1:String, _arg2:int, _arg3:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-0Pm

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0Pm implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-0Pm(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-0rm

package _-29G
{
    import _-4Aj.*;

    public class _-0rm implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-0TH

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0TH implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-0TH()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-0YA

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0YA implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0YA(_arg1:String, _arg2:int, _arg3:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-1d-

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1d- implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1d-(_arg1:String, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-1Ie

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1Ie implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1Ie(_arg1:Boolean)
        {
            this._-4Nw = [];
            super();
            this._-4Nw = [_arg1];
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-4Nw == null));
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-1tW

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1tW implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-1tW(_arg1:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-1WP

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1WP implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-1WP(_arg1:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-23K

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-23K implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-23K(_arg1:String, _arg2:int, _arg3:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-2Cu

package _-29G
{
    import _-4Aj.*;

    public class _-2Cu implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-2G3

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2G3 implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-2G3()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-2uq

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2uq implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2uq()
        {
            this._-4Nw = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-4Nw == null));
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-3mi

package _-29G
{
    import _-4Aj.*;

    public class _-3mi implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-3Ze

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3Ze implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3Ze(_arg1:int, _arg2:int)
        {
            this._-4Nw = [];
            super();
            this._-4Nw = [_arg1, _arg2];
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-4Nw == null));
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-43x

package _-29G
{
    import _-4Aj.*;

    public class _-43x implements _-1oF 
    {

        private var _-4d9:int;

        public function _-43x(_arg1:int)
        {
            this._-4d9 = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-4d9]);
        }
        public function dispose():void
        {
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-46u

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-46u implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-46u()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-4kE

package _-29G
{
    import _-4Aj.*;

    public class _-4kE implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-4Nd

package _-29G
{
    import _-4Aj.*;

    public class _-4Nd implements _-1oF 
    {

        private var _-3hm:int;

        public function _-4Nd(_arg1:int)
        {
            this._-3hm = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-3hm]);
        }
        public function dispose():void
        {
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-4p

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4p implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-4p()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-4PK

package _-29G
{
    import _-4Aj.*;

    public class _-4PK implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-4z5

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4z5 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-4z5(_arg1:int)
        {
            this._-4Nw = [];
            super();
            this._-4Nw = [_arg1];
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-4Nw == null));
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-5B6

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-5B6 implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-5B6(_arg1:Boolean, _arg2:Boolean, _arg3:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-5DJ

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-5DJ implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-5DJ(_arg1:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-aM

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-aM implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-aM(_arg1:int, _arg2:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-bd

package _-29G
{
    import _-4Aj.*;

    public class _-bd implements _-1oF 
    {

        private var _-4Nw:Array;

        public function _-bd(_arg1:String)
        {
            this._-4Nw = [];
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-kx

package _-29G
{
    import _-4Aj.*;

    public class _-kx implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-Kz

package _-29G
{
    import _-4Aj.*;

    public class _-Kz implements _-1oF 
    {

        private var _-2Yn:String;

        public function _-Kz(_arg1:String)
        {
            this._-2Yn = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-2Yn]);
        }
        public function dispose():void
        {
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-L

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-L implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;
        private var _disposed:Boolean = false;

        public function _-L()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G._-w1

package _-29G
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-w1 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-w1(_arg1:String, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-29G.PostQuizAnswersComposer

package _-29G
{
    import _-4Aj.*;

    public class PostQuizAnswersComposer implements _-1oF 
    {

        private var _-4Nw:Array;

        public function PostQuizAnswersComposer(_arg1:String, _arg2:Array)
        {
            this._-4Nw = [];
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2.length);
            var k:int;
            while (k < _arg2.length)
            {
                this._-4Nw.push(_arg2[k]);
                k++;
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }

    }
}//package _-29G

//------------------------------------------------------------
//_-2b4._-19O

package _-2b4
{
    import _-48o.SynchronizedGameArena;
    import _-48o._-4xD;
    import _-48o.*;

    public class _-19O implements _-0Rd 
    {

        private var _-0RZ:SynchronizedGameArena;
        private var _-4Bk:Boolean = false;

        public function dispose():void
        {
            this._-4Bk = true;
            this._-0RZ = null;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function set _-2QZ(_arg1:SynchronizedGameArena):void
        {
            this._-0RZ = _arg1;
        }
        public function _-543():int
        {
            return (50);
        }
        public function _-5Du():int
        {
            return (3);
        }
        public function _-3I4():_-4xD
        {
            return (new SnowWarGameStage());
        }
        public function _-2KA():void
        {
        }
        public function _-2NV():Boolean
        {
            return ((this._-0RZ._-0Sk == 1));
        }

    }
}//package _-2b4

//------------------------------------------------------------
//_-2b4._-1GO

package _-2b4
{
    public class _-1GO 
    {

        public static const _-3yF:int = 0;
        public static const _-1RH:int = 1;
        public static const _-le:int = 2;
        public static const _-1Bu:int = 3;
        public static const _-4Ol:int = 4;

        public static function _-1EL(_arg1:Boolean, _arg2:Boolean):int
        {
            if (_arg1)
            {
                if (_arg2)
                {
                    return (_-1Bu);
                };
                return (_-le);
            };
            if (_arg2)
            {
                return (_-1RH);
            };
            return (_-3yF);
        }
        public static function _-0Qe(_arg1:Boolean, _arg2:Boolean):int
        {
            if (_arg1)
            {
                if (_arg2)
                {
                    return (_-1Bu);
                };
                return (_-le);
            };
            if (_arg2)
            {
                return (_-1RH);
            };
            return (_-4Ol);
        }

    }
}//package _-2b4

//------------------------------------------------------------
//_-2b4._-4aN

package _-2b4
{
    import flash.display.Stage;
    import _-0W2.Direction8;
    import flash.events.KeyboardEvent;
    import _-1B-.*;

    public class _-4aN implements _-1zZ 
    {

        private static const NUMBER_0:uint = 48;
        private static const NUMBER_1:uint = 49;
        private static const NUMBER_2:uint = 50;
        private static const NUMBER_3:uint = 51;
        private static const NUMBER_4:uint = 52;
        private static const NUMBER_5:uint = 53;
        private static const NUMBER_6:uint = 54;
        private static const NUMBER_7:uint = 55;
        private static const NUMBER_8:uint = 56;
        private static const NUMBER_9:uint = 57;
        private static const A:uint = 65;
        private static const _-19H:uint = 66;
        private static const _-4XD:uint = 67;
        private static const _-W4:uint = 68;
        private static const E:uint = 69;
        private static const F:uint = 70;
        private static const _-3qC:uint = 71;
        private static const _-PM:uint = 72;
        private static const I:uint = 73;
        private static const _-4Hj:uint = 74;
        private static const _-06N:uint = 75;
        private static const _-2dG:uint = 76;
        private static const M:uint = 77;
        private static const N:uint = 78;
        private static const _-4BC:uint = 79;
        private static const _-1t8:uint = 80;
        private static const _-255:uint = 81;
        private static const _-4LG:uint = 82;
        private static const S:uint = 83;
        private static const T:uint = 84;
        private static const U:uint = 85;
        private static const V:uint = 86;
        private static const W:uint = 87;
        private static const X:uint = 88;
        private static const _-1Kx:uint = 89;
        private static const _-3n8:uint = 90;
        private static const _-0Xy:uint = 186;
        private static const _-3ko:uint = 187;
        private static const COMMA:uint = 188;
        private static const _-EJ:uint = 189;
        private static const _-0qw:uint = 190;
        private static const _-4Fn:uint = 191;
        private static const _-0dH:uint = 192;
        private static const _-1iC:uint = 219;
        private static const _-u6:uint = 220;
        private static const _-C5:uint = 221;
        private static const _-4AO:uint = 222;
        private static const _-3lt:uint = 18;
        private static const BACKSPACE:uint = 8;
        private static const _-1JW:uint = 20;
        private static const _-Hn:uint = 15;
        private static const _-3hE:uint = 17;
        private static const _-2-J:uint = 46;
        private static const DOWN:uint = 40;
        private static const _-3MF:uint = 35;
        private static const ENTER:uint = 13;
        private static const _-3J:uint = 27;
        private static const F1:uint = 112;
        private static const F2:uint = 113;
        private static const F3:uint = 114;
        private static const F4:uint = 115;
        private static const F5:uint = 116;
        private static const F6:uint = 117;
        private static const F7:uint = 118;
        private static const F8:uint = 119;
        private static const F9:uint = 120;
        private static const F10:uint = 121;
        private static const F11:uint = 122;
        private static const F12:uint = 123;
        private static const F13:uint = 124;
        private static const F14:uint = 125;
        private static const F15:uint = 126;
        private static const _-3kL:uint = 36;
        private static const _-4-h:uint = 45;
        private static const LEFT:uint = 37;
        private static const _-0sK:uint = 21;
        private static const NUMPAD_0:uint = 96;
        private static const NUMPAD_1:uint = 97;
        private static const NUMPAD_2:uint = 98;
        private static const NUMPAD_3:uint = 99;
        private static const NUMPAD_4:uint = 100;
        private static const NUMPAD_5:uint = 101;
        private static const NUMPAD_6:uint = 102;
        private static const NUMPAD_7:uint = 103;
        private static const NUMPAD_8:uint = 104;
        private static const NUMPAD_9:uint = 105;
        private static const _-4i5:uint = 107;
        private static const _-3vF:uint = 110;
        private static const _-1Wc:uint = 111;
        private static const _-2RD:uint = 108;
        private static const _-4iY:uint = 106;
        private static const _-16X:uint = 109;
        private static const _-3zR:uint = 34;
        private static const _-3oi:uint = 33;
        private static const RIGHT:uint = 39;
        private static const _-53G:uint = 16;
        private static const SPACE:uint = 32;
        private static const TAB:uint = 9;
        private static const UP:uint = 38;

        private var _-55v:Stage;
        private var _-0ue:Array;
        private var _-3r2:Direction8;

        public function _-4aN(_arg1:Stage)
        {
            this._-0ue = [];
            super();
            this._-55v = _arg1;
            _arg1.addEventListener(KeyboardEvent.KEY_DOWN, this._-2ny);
            _arg1.addEventListener(KeyboardEvent.KEY_UP, this._-2ny);
        }
        public function dispose():void
        {
            this._-55v.removeEventListener(KeyboardEvent.KEY_DOWN, this._-2ny);
            this._-55v.removeEventListener(KeyboardEvent.KEY_UP, this._-2ny);
            this._-55v = null;
            this._-3r2 = null;
            this._-0ue = [];
        }
        public function get disposed():Boolean
        {
            return (false);
        }
        private function _-2ny(_arg1:KeyboardEvent):void
        {
            var k:int = this._-0ue.indexOf(_arg1.keyCode);
            switch (_arg1.type)
            {
                case KeyboardEvent.KEY_DOWN:
                    if (k == -1)
                    {
                        this._-0ue.push(_arg1.keyCode);
                    };
                    break;
                case KeyboardEvent.KEY_UP:
                    if (k > -1)
                    {
                        this._-0ue.splice(k, 1);
                    };
                    break;
            };
            this._-3r2 = null;
            if (this._-0ue.length == 0)
            {
                return;
            };
            if (this._-0ue.length >= 2)
            {
                if (((this._-53Q(UP)) && (this._-53Q(LEFT))))
                {
                    this._-3r2 = Direction8.W;
                }
                else
                {
                    if (((this._-53Q(UP)) && (this._-53Q(RIGHT))))
                    {
                        this._-3r2 = Direction8.N;
                    }
                    else
                    {
                        if (((this._-53Q(DOWN)) && (this._-53Q(LEFT))))
                        {
                            this._-3r2 = Direction8.S;
                        }
                        else
                        {
                            if (((this._-53Q(DOWN)) && (this._-53Q(RIGHT))))
                            {
                                this._-3r2 = Direction8.E;
                            };
                        };
                    };
                };
            }
            else
            {
                if (this._-53Q(UP))
                {
                    this._-3r2 = Direction8.NW;
                }
                else
                {
                    if (this._-53Q(DOWN))
                    {
                        this._-3r2 = Direction8.SE;
                    }
                    else
                    {
                        if (this._-53Q(LEFT))
                        {
                            this._-3r2 = Direction8.SW;
                        }
                        else
                        {
                            if (this._-53Q(RIGHT))
                            {
                                this._-3r2 = Direction8.NE;
                            }
                            else
                            {
                                if (this._-53Q(_-255))
                                {
                                    this._-3r2 = Direction8.W;
                                }
                                else
                                {
                                    if (this._-53Q(W))
                                    {
                                        this._-3r2 = Direction8.NW;
                                    }
                                    else
                                    {
                                        if (this._-53Q(E))
                                        {
                                            this._-3r2 = Direction8.N;
                                        }
                                        else
                                        {
                                            if (this._-53Q(A))
                                            {
                                                this._-3r2 = Direction8.SW;
                                            }
                                            else
                                            {
                                                if (this._-53Q(_-W4))
                                                {
                                                    this._-3r2 = Direction8.NE;
                                                }
                                                else
                                                {
                                                    if (this._-53Q(_-3n8))
                                                    {
                                                        this._-3r2 = Direction8.S;
                                                    }
                                                    else
                                                    {
                                                        if (this._-53Q(X))
                                                        {
                                                            this._-3r2 = Direction8.SE;
                                                        }
                                                        else
                                                        {
                                                            if (this._-53Q(_-4XD))
                                                            {
                                                                this._-3r2 = Direction8.E;
                                                            };
                                                        };
                                                    };
                                                };
                                            };
                                        };
                                    };
                                };
                            };
                        };
                    };
                };
            };
        }
        private function _-53Q(_arg1:int):Boolean
        {
            return ((this._-0ue.indexOf(_arg1) > -1));
        }
        public function get direction():Direction8
        {
            return (this._-3r2);
        }

    }
}//package _-2b4

//------------------------------------------------------------
//_-2b4.IncomingMessages

package _-2b4
{
    import _-3gx._-4BJ;
    import _-2It._-44B;
    import _-1Q8._-567;
    import _-4s1.Game2GameDirectoryStatusMessageEvent;
    import _-4s1.Game2GameCreatedMessageEvent;
    import _-4s1.Game2GameStartedMessageEvent;
    import _-4s1.Game2GameCancelledMessageEvent;
    import _-4s1.Game2InArenaQueueMessageEvent;
    import _-4s1.Game2UserJoinedGameMessageEvent;
    import _-4s1.Game2UserLeftGameMessageEvent;
    import _-4s1.Game2StartCounterMessageEvent;
    import _-4s1.Game2StopCounterMessageEvent;
    import _-4s1.Game2GameLongDataMessageEvent;
    import _-4s1.Game2AccountGameStatusMessageEvent;
    import _-4s1.Game2JoiningGameFailedMessageEvent;
    import _-4s1.Game2StartingGameFailedMessageEvent;
    import _-4s1.Game2UserBlockedMessageEvent;
    import _-3QI.Game2EnterArenaMessageEvent;
    import _-3QI.Game2ArenaEnteredMessageEvent;
    import _-3QI.Game2StageLoadMessageEvent;
    import _-3QI.Game2StageStillLoadingMessageEvent;
    import _-3QI.Game2StageStartingMessageEvent;
    import _-3QI.Game2StageRunningMessageEvent;
    import _-3QI.Game2StageEndingMessageEvent;
    import _-3QI.Game2GameEndingMessageEvent;
    import _-3QI.Game2PlayerExitedGameArenaMessageEvent;
    import _-3QI.Game2GameRejoinMessageEvent;
    import _-3QI.Game2PlayerRematchesMessageEvent;
    import _-3QI.Game2GameChatFromPlayerMessageEvent;
    import _-3QI.Game2EnterArenaFailedMessageEvent;
    import _-4R4.Game2FullGameStatusMessageEvent;
    import _-4R4.Game2GameStatusMessageEvent;
    import _-52-.Game2TotalLeaderboardEvent;
    import _-52-.Game2FriendsLeaderboardEvent;
    import _-52-.Game2WeeklyLeaderboardEvent;
    import _-52-.Game2WeeklyFriendsLeaderboardEvent;
    import _-01j.Game2EnterArenaMessageParser;
    import _-48o.SynchronizedGameArena;
    import _-48o.SynchronizedGameStage;
    import _-01j.Game2EnterArenaFailedMessageParser;
    import _-01j.Game2ArenaEnteredMessageParser;
    import _-1Fi.Game2PlayerData;
    import _-01j.Game2StageLoadMessageParser;
    import _-01j.Game2StageStillLoadingMessageParser;
    import _-01j.Game2StageStartingMessageParser;
    import _-1Fi._-09J;
    import _-01j.Game2StageRunningMessageParser;
    import _-01j.Game2StageEndingMessageParser;
    import _-01j.Game2GameEndingMessageParser;
    import _-01j.Game2PlayerExitedGameArenaMessageParser;
    import _-01j.Game2GameRejoinMessageParser;
    import _-01j.Game2PlayerRematchesMessageParser;
    import _-36E.Game2GameDirectoryStatusMessageParser;
    import _-0GO._-3lN;
    import _-36E.Game2AccountGameStatusMessageParser;
    import _-36E.Game2GameCreatedMessageParser;
    import _-1Fi._-2qg;
    import _-36E.Game2GameStartedMessageParser;
    import _-36E.Game2StartCounterMessageParser;
    import _-36E.Game2InArenaQueueMessageParser;
    import _-36E.Game2UserJoinedGameMessageParser;
    import _-36E.Game2UserLeftGameMessageParser;
    import _-36E.Game2GameLongDataMessageParser;
    import _-36E.Game2JoiningGameFailedMessageParser;
    import _-36E.Game2UserBlockedMessageParser;
    import _-1Fi._-3Sn;
    import _-0Hq.Game2FullGameStatusMessageParser;
    import _-1Fi._-2ZQ;
    import _-0Hq.Game2GameStatusMessageParser;
    import _-4h0.SnowWarGameObjectData;
    import _-4h0._-02n;
    import _-4Vx.HumanGameObject;
    import _-4h0._-0xb;
    import _-4Vx._-EN;
    import _-4h0._-3W9;
    import _-4Vx._-2iW;
    import _-4h0._-38U;
    import _-4Vx._-4Dz;
    import _-4h0._-1OH;
    import _-4Vx.TreeGameObject;
    import _-3M2._-3qr;
    import _-1nc._-0jn;
    import _-48o._-2io;
    import _-18r.Map;
    import _-1nc._-05M;
    import _-1nc._-0UA;
    import _-1nc._-0nu;
    import _-1nc._-2mZ;
    import _-1nc._-4NH;
    import _-1nc._-0e7;
    import _-1nc._-2CZ;
    import _-1nc._-3vK;
    import _-4Vx._-VS;
    import _-4ZW._-37x;
    import _-4ZW._-33Z;
    import _-4ZW._-1c5;
    import _-4ZW._-0j1;
    import _-4ZW._-2Vj;
    import _-4ZW._-2RO;
    import _-4ZW._-0kN;
    import _-4ZW._-24L;
    import _-01j.Game2GameChatFromPlayerMessageParser;
    import _-uw.Game2GetAccountGameStatusMessageComposer;
    import _-53E.Game2LeaderboardParser;
    import _-53E.Game2WeeklyLeaderboardParser;
    import _-1B-.*;

    public class IncomingMessages implements _-1zZ 
    {

        private var _-3Mh:SnowWarEngine;
        private var _-4Bk:Boolean = false;

        public function IncomingMessages(_arg1:SnowWarEngine)
        {
            this._-3Mh = _arg1;
            var k:_-4BJ = this._-3Mh.communication;
            k.addHabboConnectionMessageEvent(new _-44B(this._-0Gz));
            k.addHabboConnectionMessageEvent(new _-567(this._-0TW));
            k.addHabboConnectionMessageEvent(new Game2GameDirectoryStatusMessageEvent(this._-3oc));
            k.addHabboConnectionMessageEvent(new Game2GameCreatedMessageEvent(this._-30O));
            k.addHabboConnectionMessageEvent(new Game2GameStartedMessageEvent(this._-1WH));
            k.addHabboConnectionMessageEvent(new Game2GameCancelledMessageEvent(this._-23o));
            k.addHabboConnectionMessageEvent(new Game2InArenaQueueMessageEvent(this._-0V7));
            k.addHabboConnectionMessageEvent(new Game2UserJoinedGameMessageEvent(this._-2j8));
            k.addHabboConnectionMessageEvent(new Game2UserLeftGameMessageEvent(this._-3gn));
            k.addHabboConnectionMessageEvent(new Game2StartCounterMessageEvent(this._-ES));
            k.addHabboConnectionMessageEvent(new Game2StopCounterMessageEvent(this._-2CU));
            k.addHabboConnectionMessageEvent(new Game2GameLongDataMessageEvent(this._-4TE));
            k.addHabboConnectionMessageEvent(new Game2AccountGameStatusMessageEvent(this._-2Lo));
            k.addHabboConnectionMessageEvent(new Game2JoiningGameFailedMessageEvent(this._-34W));
            k.addHabboConnectionMessageEvent(new Game2StartingGameFailedMessageEvent(this._-2BM));
            k.addHabboConnectionMessageEvent(new Game2UserBlockedMessageEvent(this._-4QG));
            k.addHabboConnectionMessageEvent(new Game2EnterArenaMessageEvent(this._-58X));
            k.addHabboConnectionMessageEvent(new Game2ArenaEnteredMessageEvent(this._-3qp));
            k.addHabboConnectionMessageEvent(new Game2StageLoadMessageEvent(this._-2IH));
            k.addHabboConnectionMessageEvent(new Game2StageStillLoadingMessageEvent(this._-201));
            k.addHabboConnectionMessageEvent(new Game2StageStartingMessageEvent(this._-0Q3));
            k.addHabboConnectionMessageEvent(new Game2StageRunningMessageEvent(this._-3Jr));
            k.addHabboConnectionMessageEvent(new Game2StageEndingMessageEvent(this._-1Yz));
            k.addHabboConnectionMessageEvent(new Game2GameEndingMessageEvent(this._-0bK));
            k.addHabboConnectionMessageEvent(new Game2PlayerExitedGameArenaMessageEvent(this._-2q3));
            k.addHabboConnectionMessageEvent(new Game2GameRejoinMessageEvent(this._-0Zi));
            k.addHabboConnectionMessageEvent(new Game2PlayerRematchesMessageEvent(this._-1KW));
            k.addHabboConnectionMessageEvent(new Game2GameChatFromPlayerMessageEvent(this._-1Ff));
            k.addHabboConnectionMessageEvent(new Game2EnterArenaFailedMessageEvent(this._-eb));
            k.addHabboConnectionMessageEvent(new Game2FullGameStatusMessageEvent(this._-2of));
            k.addHabboConnectionMessageEvent(new Game2GameStatusMessageEvent(this._-3EI));
            k.addHabboConnectionMessageEvent(new Game2TotalLeaderboardEvent(this._-0wH));
            k.addHabboConnectionMessageEvent(new Game2FriendsLeaderboardEvent(this._-37A));
            k.addHabboConnectionMessageEvent(new Game2WeeklyLeaderboardEvent(this._-4YL));
            k.addHabboConnectionMessageEvent(new Game2WeeklyFriendsLeaderboardEvent(this._-36F));
        }
        public function dispose():void
        {
            this._-3Mh = null;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        private function _-58X(_arg1:Game2EnterArenaMessageEvent):void
        {
            var k:Game2EnterArenaMessageParser = _arg1._-3-5();
            this._-3Mh._-1NM(k._-3ca, k._-4dH, k._-0Sk, k._-EZ);
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            k.initialize(this._-3Mh._-2QZ, k._-3DF);
            this._-3Mh._-4Sn.close(false);
        }
        private function _-eb(_arg1:Game2EnterArenaFailedMessageEvent):void
        {
            var k:Game2EnterArenaFailedMessageParser = _arg1._-3-5();
            var k:String = "snowwar.error.generic";
            switch (k.reason)
            {
                case Game2EnterArenaFailedMessageParser._-UD:
                    k = "snowwar.error.game_already_started";
                    break;
            };
            this._-3Mh.alert((("${" + k) + "}"));
        }
        private function _-3qp(_arg1:Game2ArenaEnteredMessageEvent):void
        {
            var k:Game2ArenaEnteredMessageParser = _arg1._-3-5();
            var k:Game2PlayerData = k.player;
        }
        private function _-2IH(_arg1:Game2StageLoadMessageEvent):void
        {
            var k:Game2StageLoadMessageParser = _arg1._-3-5();
            this._-3Mh._-Dd();
        }
        private function _-201(_arg1:Game2StageStillLoadingMessageEvent):void
        {
            var k:Game2StageStillLoadingMessageParser = _arg1._-3-5();
            this._-3Mh._-5FB(k._-Zt, k._-3b7);
        }
        private function _-0Q3(_arg1:Game2StageStartingMessageEvent):void
        {
            var k:Game2StageStartingMessageParser = _arg1._-3-5();
            HabboGamesCom.log(("[HabbosnowWarEngine] On stage start: " + k._-57d));
            var k:_-09J = k._-3mz;
            this._-1FH(k);
            this._-3Mh._-1Zd(k._-57d);
        }
        private function _-3Jr(_arg1:Game2StageRunningMessageEvent):void
        {
            var k:Game2StageRunningMessageParser = _arg1._-3-5();
            HabboGamesCom.log(("[HabbosnowWarEngine] On stage running: " + k._-4hw));
            this._-3Mh._-5F1(k._-4hw);
        }
        private function _-1Yz(_arg1:Game2StageEndingMessageEvent):void
        {
            var k:Game2StageEndingMessageParser = _arg1._-3-5();
            HabboGamesCom.log(("[HabbosnowWarEngine] On stage ending: " + k._-0Zj));
            if (k._-0Zj == 0)
            {
                this._-3Mh._-1tu();
            };
        }
        private function _-0bK(_arg1:Game2GameEndingMessageEvent):void
        {
            var k:Game2GameEndingMessageParser = _arg1._-3-5();
            HabboGamesCom.log(("[HabbosnowWarEngine] On game ending: " + k._-0Zj));
            this._-3Mh._-2qY(k._-0Zj, k._-4zd, k._-3lM, k._-xi);
        }
        private function _-2q3(_arg1:Game2PlayerExitedGameArenaMessageEvent):void
        {
            var k:Game2PlayerExitedGameArenaMessageParser = _arg1._-3-5();
            HabboGamesCom.log(((("[HabbosnowWarEngine] On player exited arena. userId:" + k.userId) + " gameObjectId:") + k._-4-j));
        }
        private function _-0Zi(_arg1:Game2GameRejoinMessageEvent):void
        {
            var k:Game2GameRejoinMessageParser = _arg1._-3-5();
            HabboGamesCom.log(("Rejoin game! Room Before game: " + k._-0HJ));
            this._-3Mh._-nW(k._-0HJ);
        }
        private function _-1KW(_arg1:Game2PlayerRematchesMessageEvent):void
        {
            var k:Game2PlayerRematchesMessageParser = _arg1._-3-5();
            HabboGamesCom.log((("User " + k.userId) + " rematches"));
            this._-3Mh._-0Td(k.userId);
        }
        private function _-3oc(_arg1:Game2GameDirectoryStatusMessageEvent):void
        {
            var k:Game2GameDirectoryStatusMessageParser = _arg1._-3-5();
            if (k.status == Game2GameDirectoryStatusMessageParser._-1j-)
            {
                this._-3Mh._-4Sn._-0ks(k._-4MN);
                this._-3Mh._-2nY = k._-2nY;
                this._-3Mh._-56i(true);
                this._-3Mh._-31s(_-3lN._-40G, (k._-58i == -1), k._-58i);
            }
            else
            {
                this._-3Mh._-56i(false);
                HabboGamesCom.log(("Game directory not available, status:" + k.status));
            };
        }
        private function _-2Lo(_arg1:Game2AccountGameStatusMessageEvent):void
        {
            var k:Game2AccountGameStatusMessageParser = _arg1._-3-5();
            HabboGamesCom.log(((("FREE GAMES LEFT: " + k._-58i) + " OR HAS UNLIMITED GAMES: ") + k._-0m0));
            this._-3Mh._-31s(k._-3tJ, k._-0m0, k._-58i);
        }
        private function _-30O(_arg1:Game2GameCreatedMessageEvent):void
        {
            var k:Game2GameCreatedMessageParser = _arg1._-3-5();
            var k:_-2qg = k._-1sm;
            this._-3Mh._-0-f(k);
        }
        private function _-1WH(_arg1:Game2GameStartedMessageEvent):void
        {
            var k:Game2GameStartedMessageParser = _arg1._-3-5();
            HabboGamesCom.log("Game started!");
            this._-3Mh._-48t(k._-3LM);
        }
        private function _-ES(_arg1:Game2StartCounterMessageEvent):void
        {
            var k:Game2StartCounterMessageParser = _arg1._-3-5();
            HabboGamesCom.log(("Start Lobby Counter: " + k._-3jU));
            this._-3Mh._-0B9(k._-3jU);
        }
        private function _-2CU(_arg1:Game2StopCounterMessageEvent):void
        {
            this._-3Mh._-1F4();
        }
        private function _-23o(_arg1:Game2GameCancelledMessageEvent):void
        {
            this._-3Mh._-1sA(false);
        }
        private function _-0V7(_arg1:Game2InArenaQueueMessageEvent):void
        {
            var k:Game2InArenaQueueMessageParser = _arg1._-3-5();
            if (this._-3Mh._-3yR)
            {
                this._-3Mh._-3yR._-0vl = k.position;
            };
        }
        private function _-2j8(_arg1:Game2UserJoinedGameMessageEvent):void
        {
            var k:Game2UserJoinedGameMessageParser = _arg1._-3-5();
            this._-3Mh._-3Nq(k.user);
        }
        private function _-3gn(_arg1:Game2UserLeftGameMessageEvent):void
        {
            var k:Game2UserLeftGameMessageParser = _arg1._-3-5();
            this._-3Mh._-1yb(k.userId);
        }
        private function _-4TE(_arg1:Game2GameLongDataMessageEvent):void
        {
            var k:Game2GameLongDataMessageParser = _arg1._-3-5();
            var k:_-2qg = k._-1sm;
            HabboGamesCom.log(("Long data received: " + [k._-4dH, k._-0Sk, k._-1Gz]));
            this._-3Mh._-0-f(k);
        }
        private function _-34W(_arg1:Game2JoiningGameFailedMessageEvent):void
        {
            var k:Game2JoiningGameFailedMessageParser = _arg1._-3-5();
            var k:String = "snowwar.error.generic";
            switch (k.reason)
            {
                case Game2JoiningGameFailedMessageParser._-178:
                case Game2JoiningGameFailedMessageParser._-4Vs:
                    k = "snowwar.error.has_active_instance";
                    break;
                case Game2JoiningGameFailedMessageParser._-3gZ:
                    k = "snowwar.error.no_free_games_left";
                    break;
                case Game2JoiningGameFailedMessageParser._-1uU:
                    k = "snowwar.error.duplicate_machineid";
                    break;
            };
            this._-3Mh.alert((("${" + k) + "}"));
        }
        private function _-2BM(_arg1:Game2StartingGameFailedMessageEvent):void
        {
            this._-3Mh.alert("${snowwar.error.generic}");
        }
        private function _-4QG(_arg1:Game2UserBlockedMessageEvent):void
        {
            var k:Game2UserBlockedMessageParser = _arg1._-3-5();
            this._-3Mh._-4Sn._-0ks(k._-3s8);
        }
        private function _-2of(_arg1:Game2FullGameStatusMessageEvent):void
        {
            var k:_-3Sn;
            var k:Game2FullGameStatusMessageParser = _arg1._-3-5();
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            HabboGamesCom.log("On full game status: ");
            var k:_-2ZQ = k._-J-;
            (k._-1LJ() as SnowWarGameStage)._-02Q();
            this._-1FH(k._-3mz);
            if (k)
            {
                k = k._-4ee;
                k._-2F1(k._-0EN, k._-yn);
                this._-3z(k, true);
            };
        }
        private function _-3EI(_arg1:Game2GameStatusMessageEvent):void
        {
            var k:Game2GameStatusMessageParser = _arg1._-3-5();
            HabboGamesCom.log("[HabbosnowWarEngine] On game status: ");
            this._-3z(k.status);
        }
        private function _-1FH(_arg1:_-09J):void
        {
            var k:SnowWarGameStage;
            var k:SnowWarGameObjectData;
            var _local5:_-02n;
            var _local6:Boolean;
            var _local7:HumanGameObject;
            var _local8:_-0xb;
            var _local9:_-EN;
            var _local10:HumanGameObject;
            var _local11:_-3W9;
            var _local12:_-2iW;
            var _local13:_-38U;
            var _local14:_-4Dz;
            var _local15:_-1OH;
            var _local16:TreeGameObject;
            var k:HumanGameObject;
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            if (!k)
            {
                return;
            };
            k = (k._-1LJ() as SnowWarGameStage);
            k._-2bS();
            for each (k in _arg1._-3mz)
            {
                switch (k.type)
                {
                    case SnowWarGameObjectData._-2Kr:
                        _local5 = (k as _-02n);
                        _local6 = (_local5.name == this._-3Mh.sessionDataManager.userName);
                        if (_local6)
                        {
                            this._-3Mh._-00S = _local5.id;
                        };
                        _local7 = new HumanGameObject(k, _local5, false, this._-3Mh);
                        k._-2rr(_local7._-4b, _local7);
                        _local7._-05n = _-3qr._-3dr;
                        if (((_local6) && (this._-3Mh._-2eA)))
                        {
                            if (this._-3Mh._-2cR)
                            {
                                _local7._-05n = _-3qr._-3Z3;
                            }
                            else
                            {
                                _local7._-05n = _-3qr._-55K;
                            };
                            if (this._-3Mh._-2QZ._-1LJ()._-4eu(_local7._-C6) == null)
                            {
                                k = new HumanGameObject(k, _local5, true, this._-3Mh);
                                k._-4b = _local7._-C6;
                                k._-2rr(k._-4b, k);
                            };
                        };
                        HabboGamesCom.log(((((("human id:" + _local5.id) + " x:") + _local5._-4o6) + " y:") + _local5._-01C));
                        break;
                    case SnowWarGameObjectData._-3e4:
                        _local8 = (k as _-0xb);
                        _local9 = new _-EN(_local8.id);
                        _local10 = (k._-4eu(_local8._-2mL) as HumanGameObject);
                        _local9._-0sU(_local8, _local10);
                        k._-2rr(_local9._-4b, _local9);
                        HabboGamesCom.log(((("snowball x:" + _local8._-0Nb) + " y:") + _local8._-0PI));
                        break;
                    case SnowWarGameObjectData._-2bu:
                        _local11 = (k as _-3W9);
                        _local12 = new _-2iW(_local11, k);
                        k._-2rr(_local11.id, _local12);
                        HabboGamesCom.log(("machine id:" + _local11.id));
                        break;
                    case SnowWarGameObjectData._-3HG:
                        _local13 = (k as _-38U);
                        _local14 = new _-4Dz(_local13, k);
                        k._-2rr(_local13.id, _local14);
                        HabboGamesCom.log(("pile id:" + _local13.id));
                        break;
                    case SnowWarGameObjectData._-2zR:
                        _local15 = (k as _-1OH);
                        _local16 = new TreeGameObject(_local15, k);
                        k._-2rr(_local16._-4b, _local16);
                        HabboGamesCom.log(("tree id:" + _local16._-4b));
                        break;
                    default:
                        HabboGamesCom.log(("Unkonwn game-object:" + k.type));
                };
            };
        }
        private function _-3z(_arg1:_-3Sn, _arg2:Boolean=false):void
        {
            var k:int;
            var k:int;
            var k:Array;
            var k:_-0jn;
            var k:_-2io;
            var k:_-2io;
            var k:Map = (_arg1.events as Map);
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            if (!k)
            {
                return;
            };
            var k:int = _arg1._-0EN;
            for each (k in k._-18C())
            {
                k = (k.getValue(k) as Array);
                for each (k in k)
                {
                    switch (k.id)
                    {
                        case _-0jn._-4YE:
                            k = this._-3a0((k as _-05M));
                            break;
                        case _-0jn._-IY:
                            k = this._-2ND((k as _-0UA));
                            break;
                        case _-0jn._-05G:
                            k = this._-0az((k as _-0nu));
                            k = this._-uM((k as _-0nu));
                            break;
                        case _-0jn._-0lM:
                            k = this._-2fU((k as _-2mZ));
                            break;
                        case _-0jn._-0LL:
                            k = this._-4H2((k as _-4NH));
                            break;
                        case _-0jn._-3qH:
                            k = this._-3OM((k as _-0e7));
                            k = this._-23G((k as _-0e7));
                            break;
                        case _-0jn._-0Xh:
                            k = this._-1vR((k as _-2CZ));
                            k = this._-4qT((k as _-2CZ));
                            break;
                        case _-0jn._-12V:
                            k = this._-Xh((k as _-3vK));
                            break;
                        default:
                            HabboGamesCom.log(("Unknown event id " + k.id));
                    };
                    if (k)
                    {
                        k._-1Q6((k + 1), k, k);
                    };
                    if (k)
                    {
                        k._-1Q6((k + 1), k, k);
                    };
                };
            };
            k = _arg1._-yn;
            this._-3Mh._-3yG(k, k, _arg2);
        }
        private function _-2ND(_arg1:_-0UA):_-37x
        {
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            var k:HumanGameObject = (k._-4eu(_arg1._-vb) as HumanGameObject);
            var k:_-VS = (k._-4eu(_arg1._-21C) as _-VS);
            return (new _-37x(k, k));
        }
        private function _-2fU(_arg1:_-2mZ):_-33Z
        {
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            var k:_-2iW = (k._-4eu(_arg1._-21C) as _-2iW);
            return (new _-33Z(k));
        }
        private function _-1vR(_arg1:_-2CZ):_-1c5
        {
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            var k:HumanGameObject = (k._-4eu(_arg1._-vb) as HumanGameObject);
            return (new _-1c5(k, _arg1.targetX, _arg1._-1uD, _arg1._-0Q5));
        }
        private function _-3OM(_arg1:_-0e7):_-0j1
        {
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            var k:HumanGameObject = (k._-4eu(_arg1._-vb) as HumanGameObject);
            var k:HumanGameObject = (k._-4eu(_arg1._-2LI) as HumanGameObject);
            return (new _-0j1(k, k, _arg1._-0Q5));
        }
        private function _-0az(_arg1:_-0nu):_-2Vj
        {
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            var k:HumanGameObject = (k._-4eu(_arg1._-vb) as HumanGameObject);
            return (new _-2Vj(k));
        }
        private function _-3a0(_arg1:_-05M):_-2RO
        {
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            var k:HumanGameObject = (k._-4eu(_arg1._-vb) as HumanGameObject);
            return (new _-2RO(_arg1._-2ls, k, _arg1.targetX, _arg1._-1uD, _arg1._-0Q5));
        }
        private function _-4H2(_arg1:_-4NH):_-0kN
        {
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            var k:HumanGameObject = (k._-4eu(_arg1._-vb) as HumanGameObject);
            return (new _-0kN(k, _arg1.x, _arg1.y));
        }
        private function _-Xh(_arg1:_-3vK):_-24L
        {
            var k:SynchronizedGameArena = this._-3Mh._-2QZ;
            var k:SynchronizedGameStage = k._-1LJ();
            var k:HumanGameObject = (k._-4eu(_arg1._-vb) as HumanGameObject);
            return (new _-24L(k));
        }
        private function _-4qT(_arg1:_-2CZ):_-1c5
        {
            var k:SynchronizedGameArena;
            var k:SynchronizedGameStage;
            if (this._-3Mh._-2eA)
            {
                k = this._-3Mh._-2QZ;
                k = k._-1LJ();
                if (_arg1._-vb == this._-3Mh._-00S)
                {
                    return (new _-1c5(this._-3Mh._-4AB(), _arg1.targetX, _arg1._-1uD, _arg1._-0Q5));
                };
            };
            return (null);
        }
        private function _-23G(_arg1:_-0e7):_-0j1
        {
            var k:SynchronizedGameArena;
            var k:SynchronizedGameStage;
            var k:HumanGameObject;
            if (this._-3Mh._-2eA)
            {
                k = this._-3Mh._-2QZ;
                k = k._-1LJ();
                k = (k._-4eu(_arg1._-2LI) as HumanGameObject);
                if (_arg1._-vb == this._-3Mh._-00S)
                {
                    return (new _-0j1(this._-3Mh._-4AB(), k, _arg1._-0Q5));
                };
            };
            return (null);
        }
        private function _-uM(_arg1:_-0nu):_-2Vj
        {
            var k:SynchronizedGameArena;
            var k:SynchronizedGameStage;
            var k:HumanGameObject;
            if (this._-3Mh._-2eA)
            {
                k = this._-3Mh._-2QZ;
                k = k._-1LJ();
                k = (k._-4eu(_arg1._-vb) as HumanGameObject);
                if (_arg1._-vb == this._-3Mh._-00S)
                {
                    return (new _-2Vj(this._-3Mh._-4AB()));
                };
            };
            return (null);
        }
        private function _-1Ff(_arg1:Game2GameChatFromPlayerMessageEvent):void
        {
            var k:Game2GameChatFromPlayerMessageParser = _arg1._-3-5();
            this._-3Mh._-27F(k.userId, k._-4Is);
        }
        private function _-0Gz(_arg1:_-44B):void
        {
            if (this._-3Mh != null)
            {
                this._-3Mh.send(new Game2GetAccountGameStatusMessageComposer(_-3lN._-40G));
                if (!this._-3Mh.gameCenterEnabled)
                {
                    this._-3Mh._-4Sn._-2uZ(false);
                };
            };
        }
        private function _-0TW(_arg1:_-567):void
        {
            this._-3Mh._-P();
        }
        private function _-37A(_arg1:Game2FriendsLeaderboardEvent):void
        {
            var k:Game2LeaderboardParser = _arg1._-3-5();
            if (this._-3Mh.leaderboard)
            {
                this._-3Mh.leaderboard._-tY(k.leaderboard, k._-4bu);
            };
        }
        private function _-0wH(_arg1:Game2TotalLeaderboardEvent):void
        {
            var k:Game2LeaderboardParser = _arg1._-3-5();
            if (this._-3Mh.leaderboard)
            {
                this._-3Mh.leaderboard._-3po(k.leaderboard, k._-4bu);
            };
        }
        private function _-4YL(_arg1:Game2WeeklyLeaderboardEvent):void
        {
            var k:Game2WeeklyLeaderboardParser = _arg1._-3-5();
            if (this._-3Mh.leaderboard)
            {
                this._-3Mh.leaderboard._-1Zc(k.year, k._-43t, k.leaderboard, k._-4bu, k._-3D1, k._-dI);
            };
        }
        private function _-36F(_arg1:Game2WeeklyFriendsLeaderboardEvent):void
        {
            var k:Game2WeeklyLeaderboardParser = _arg1._-3-5();
            if (this._-3Mh.leaderboard)
            {
                this._-3Mh.leaderboard._-25l(k.year, k._-43t, k.leaderboard, k._-4bu, k._-3D1, k._-dI);
            };
        }

    }
}//package _-2b4

//------------------------------------------------------------
//_-2b4.SnowWarEngine

package _-2b4
{
    import _-1B-._-Px;
    import _-mv._-54I;
    import _-0GO.HabboGameManager;
    import _-3gx._-4BJ;
    import _-4pF._-3Ts;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-1Jd._-51K;
    import _-1Jd._-45k;
    import _-4Kb._-3nt;
    import _-19Y._-29p;
    import _-293._-5-S;
    import _-1ye._-3rU;
    import _-0mD._-2Jq;
    import _-0jj._-0QY;
    import _-35b._-a8;
    import _-48o.SynchronizedGameArena;
    import _-52P.GameArenaView;
    import _-3Bn._-1Ii;
    import _-18r.Map;
    import _-52P._-00B;
    import _-52P.GameEndingViewController;
    import _-52P.GamesMainViewController;
    import _-5h.LeaderboardViewController;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboSoundManager;
    import com.sulake.iid.IIDHabboRoomUI;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboHelp;
    import com.sulake.iid.IIDHabboFriendList;
    import com.sulake.iid.IIDHabboGroupsManager;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1Fi._-2qg;
    import _-59g._-2ga;
    import _-0W2.WindowUtils;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-0se._-0OZ;
    import _-295._-243;
    import _-295.AssetLibraryCollection;
    import flash.events.Event;
    import _-T7.Game2LoadStageReadyMessageComposer;
    import _-4Aj._-1oF;
    import _-uw.Game2StartSnowWarMessageComposer;
    import _-uw.Game2CheckGameDirectoryStatusMessageComposer;
    import _-uw.Game2QuickJoinGameMessageComposer;
    import _-4Vx.HumanGameObject;
    import _-48o.SynchronizedGameStage;
    import _-59g._-1Ey;
    import _-2M5.Game2SetUserMoveTargetMessageComposer;
    import _-2M5.Game2ThrowSnowballAtHumanMessageComposer;
    import _-2M5.Game2ThrowSnowballAtPositionMessageComposer;
    import _-4Vx._-EN;
    import _-2M5.Game2MakeSnowballMessageComposer;
    import _-48o._-2io;
    import _-0se._-18q;
    import _-4ZW._-0kN;
    import _-0W2._-0IC;
    import _-2M5.Game2RequestFullStatusUpdateMessageComposer;
    import _-0Ie.WindowEvent;
    import _-52P.GameLobbyWindowCtrl;
    import _-mv._-2TN;
    import _-uw.Game2GetAccountGameStatusMessageComposer;
    import _-0GO._-3lN;
    import _-1Fi.Game2SnowWarGameStats;
    import _-1Fi.Game2GameResult;
    import _-1Fi._-2jf;
    import _-T7.Game2PlayAgainMessageComposer;
    import _-Un._-0Ln;
    import _-2Mh._-4WL;
    import _-2Mh._-3YS;
    import _-2p5._-2ka;
    import _-3vb._-3-C;
    import _-3vb.HabboToolbarIconEnum;
    import _-2or._-31I;
    import flash.net.URLRequest;
    import _-1B-.*;
    import _-1Fi.*;
    import _-uw.*;
    import _-2M5.*;
    import _-T7.*;

    public class SnowWarEngine extends _-Px implements _-0gI 
    {

        private static const _-0We:Array = ["add_friend_icon_blue", "add_friend_icon_green", "add_friend_icon_red", "arena_10_preview", "arena_11_preview", "arena_1_preview", "arena_8_preview", "arena_9_preview", "bg_sky", "bg_sunshine", "bg_vista_1", "bg_vista_2", "bg_vista_3", "blue_ball", "blue_ball_rematch", "blue_glove", "blue_infobox", "blue_infobox_rematch_1", "blue_infobox_rematch_2", "blue_infobox_shuffle", "blue_square", "blue_square_shuffle", "free_games_bg", "gray_ball_left", "gray_ball", "gray_ball_right", "gray_infobox", "gray_square", "green_square", "leaderboard_bg", "leaderboard_divider", "leaderboard_highlighter", "left_black", "left_blue", "load_1", "load_2", "load_3", "load_4", "load_5", "load_6", "load_7", "load_8", "quick_play_background", "quick_play_instructions", "quick_play_teaser", "red_ball", "red_ball_rematch", "red_glove", "red_infobox", "red_infobox_rematch_1", "red_infobox_rematch_2", "red_infobox_shuffle", "red_square", "red_square_shuffle", "rematch_1", "rematch_2", "rematch_3", "rematch_4", "rematch_5", "rematch_6", "right_black", "right_blue", "scroll_down_click", "scroll_down_hilite", "scroll_down_inactive", "scroll_down_normal", "scroll_left", "scroll_right", "scroll_up_click", "scroll_up_hilite", "scroll_up_inactive", "scroll_up_normal", "snowstorm_logo", "star_empty", "star_filled_bronze", "star_filled_gold", "star_filled", "star_filled_silver", "ui_ball_indicator_bg", "ui_ball", "ui_exit_down", "ui_exit_up", "ui_make_balls_down", "ui_make_balls_up", "ui_me_bg", "ui_me_health_0", "ui_me_health_1", "ui_me_health_2", "ui_me_health_3", "ui_me_health_4", "ui_me_health_5", "ui_me_minus_1", "ui_me_minus_2", "ui_me_minus_3", "ui_me_minus_4", "ui_me_plus_1", "ui_me_plus_2", "ui_me_plus_3", "ui_me_plus_4", "ui_no_balls_1", "ui_no_balls_2", "ui_no_balls_3", "ui_no_balls_4", "ui_timer_and_points"];
        private static const _-1LU:int = 3;
        public static const _-37E:int = 0;
        public static const _-3AR:int = 1;
        public static const _-41g:int = 2;
        public static const _-5Eb:int = 3;
        public static const _-2hX:int = 4;
        public static const _-45S:int = 5;
        public static const _-2wY:int = 6;
        public static const _-08Q:int = 7;

        private static var _-42G:_-54I;

        private var _-4oB:HabboGameManager;
        private var _-0ud:_-4BJ;
        private var _-U-:_-3Ts;
        private var _-3fD:_-4uR;
        private var _-cU:_-0hg;
        private var _-0pW:_-51K;
        private var _-16k:_-45k;
        private var _-It:_-3nt;
        private var _-i0:_-29p;
        private var _-0tK:_-5-S;
        private var _-39R:_-3rU;
        private var _-3oJ:_-2Jq;
        private var _-YG:IncomingMessages;
        private var _-Je:_-0QY;
        private var _-Ie:_-a8;
        private var _-0RZ:SynchronizedGameArena;
        private var _-54B:GameArenaView;
        private var _-0ml:int;
        private var _-4JU:int = 0;
        private var _-3ij:_-1Ii;
        private var _-2T5:int;
        private var _-3lc:Map;
        private var _-0KR:int = 0;
        private var _-4xN:int = 0;
        private var _-4Zu:int = 0;
        private var _-1E5:Map;
        private var _-4ku:Boolean = false;
        private var _-5-s:_-00B;
        private var _-Nw:GameEndingViewController;
        private var _-4LC:GamesMainViewController;
        private var _-4On:LeaderboardViewController;
        private var _-0WY:Boolean = false;
        private var _-2Wc:Boolean = false;
        private var _-4Bf:Boolean = false;
        private var _-aO:Boolean = false;
        private var _-2XF:int;
        private var _-Nh:Boolean = false;
        private var _-0tj:Boolean = false;
        private var _-3xY:int = 0;
        private var _-51Q:int = -1;
        private var _-55r:int = -1;
        private var _-3Bu:Boolean = false;
        private var _-7N:Boolean = false;

        public function SnowWarEngine(_arg1:HabboGameManager, _arg2:_-5CE, _arg3:uint=0, _arg4:_-39L=null)
        {
            super(_arg2, _arg3, _arg4);
            this._-4oB = _arg1;
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboCommunicationManager(), this._-2WR);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDAvatarRenderManager(), this._-1dv);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
            queueInterface(new IIDHabboRoomUI(), this._-3xK);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboHelp(), this._-04o);
            queueInterface(new IIDHabboFriendList(), this._-2Xx);
            queueInterface(new IIDHabboGroupsManager(), this._-iv);
            HabboGamesCom.log(("SnowWarEngine initialized: " + _arg4));
            this._-4LC = new GamesMainViewController(this);
        }
        public static function _-lx(_arg1:String, _arg2:int=0):void
        {
            if (_-42G != null)
            {
                _-42G._-lx(_arg1, _arg2);
            };
        }
        public static function _-4ls(_arg1:String):void
        {
            if (_-42G != null)
            {
                _-42G._-4ls(_arg1);
            };
        }

        public function get gameCenterEnabled():Boolean
        {
            return (this._-4oB.gameCenterEnabled);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get config():_-4uR
        {
            return (this._-3fD);
        }
        public function get _-5-f():_-3nt
        {
            return (this._-It);
        }
        public function get _-0dU():_-29p
        {
            return (this._-i0);
        }
        public function get _-4PF():_-3rU
        {
            return (this._-39R);
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function get _-4zV():_-a8
        {
            return (this._-Ie);
        }
        public function get _-2QZ():SynchronizedGameArena
        {
            return (this._-0RZ);
        }
        public function get _-2bd():int
        {
            return (this._-0KR);
        }
        public function get _-1wF():int
        {
            return (this._-2XF);
        }
        public function get _-0HJ():int
        {
            return (this._-51Q);
        }
        public function get _-2eA():Boolean
        {
            return (this._-0WY);
        }
        public function get _-2cR():Boolean
        {
            return (this._-2Wc);
        }
        public function _-0i8(_arg1:_-2qg):String
        {
            var k:String = ("snowwar.field.name." + _arg1._-4dH);
            return (this.localization.getKey(k, k));
        }
        override public function dispose():void
        {
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-16k)
            {
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            if (this._-0pW != null)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-0tK != null)
            {
                this._-0tK.events.removeEventListener(_-2ga._-2dl, this._-3d8);
                this._-0tK.release(new IIDRoomEngine());
                this._-0tK = null;
            };
            if (_-42G != null)
            {
                _-42G.release(new IIDHabboSoundManager());
                _-42G = null;
            };
            if (this._-Je != null)
            {
                this._-Je.release(new IIDHabboHelp());
                this._-Je = null;
            };
            if (this._-It != null)
            {
                this._-It.release(new IIDAvatarRenderManager());
                this._-It = null;
            };
            if (this._-i0 != null)
            {
                this._-i0.release(new IIDHabboGroupsManager());
                this._-i0 = null;
            };
            if (this._-39R != null)
            {
                this._-39R.release(new IIDHabboRoomUI());
                this._-39R = null;
            };
            if (this._-3oJ != null)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-Ie != null)
            {
                this._-Ie.release(new IIDHabboFriendList());
                this._-Ie = null;
            };
            if (this._-3ij != null)
            {
                this._-3ij.dispose();
                this._-3ij = null;
            };
            if (this._-Nw)
            {
                this._-Nw.dispose();
                this._-Nw = null;
            };
            this._-06b();
            if (this._-0RZ != null)
            {
                this._-0RZ.dispose();
                this._-0RZ = null;
            };
            if (this._-54B != null)
            {
                this._-54B.dispose();
                this._-54B = null;
            };
            if (this._-4LC)
            {
                this._-4LC.dispose();
                this._-4LC = null;
            };
            if (this._-YG)
            {
                this._-YG.dispose();
                this._-YG = null;
            };
            if (this._-4On)
            {
                this._-4On.dispose();
                this._-4On = null;
            };
            super.dispose();
        }
        private function _-1bB(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-U- = (_arg2 as _-3Ts);
            WindowUtils.init(assets, this._-U-);
        }
        private function _-2WR(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0ud = (_arg2 as _-4BJ);
            this._-YG = new IncomingMessages(this);
        }
        private function _-1d3(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-3fD = (_arg2 as _-4uR);
            this._-0WY = this._-3fD.getBoolean("snowwar.ghost.enabled", false);
            if (this._-0WY)
            {
                this._-2Wc = this._-3fD.getBoolean("snowwar.ghost.visualization.enabled", false);
                this._-4Bf = this._-3fD.getBoolean("snowwar.ghost.immediate.enabled", false);
            };
            HabboGamesCom.logEnabled = this._-3fD.getBoolean("snowwar.log.enabled", false);
        }
        private function _-3V9(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-cU = (_arg2 as _-0hg);
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0pW = (_arg2 as _-51K);
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-16k = (_arg2 as _-45k);
        }
        private function _-1dv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-It = (_arg2 as _-3nt);
            this._-It.events.addEventListener(_-0OZ.AVATAR_RENDER_READY, this._-58r);
        }
        private function _-iv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-i0 = (_arg2 as _-29p);
        }
        private function _-58r(_arg1:Event):void
        {
            var k:_-243;
            var k:Boolean = (context.assets as AssetLibraryCollection)._-46Y(assets.name);
            if (!k)
            {
                HabboGamesCom.log(assets.manifest);
                (context.assets as AssetLibraryCollection)._-HV(assets);
                k = (assets.getAssetByName("figure") as _-243);
                this._-It._-2p0((k.content as XML));
                this._-It._-Wc();
            };
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0tK = (_arg2 as _-5-S);
            this._-0tK.events.addEventListener(_-2ga._-2dl, this._-3d8);
        }
        private function _-3d8(_arg1:_-2ga):void
        {
            if (this._-0RZ)
            {
                this.send(new Game2LoadStageReadyMessageComposer(100));
            };
        }
        public function send(_arg1:_-1oF):void
        {
            if (this._-0ud)
            {
                this._-0ud._-4gR(null).send(_arg1);
            };
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            _-42G = _-54I(_arg2);
        }
        private function _-3xK(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-39R = (_arg2 as _-3rU);
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = (_arg2 as _-2Jq);
        }
        public function _-3Dp():void
        {
            this._-4LC._-49();
        }
        private function _-04o(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Je = (_arg2 as _-0QY);
        }
        private function _-2Xx(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Ie = (_arg2 as _-a8);
        }
        public function _-56i(_arg1:Boolean):void
        {
            if (_arg1)
            {
                this._-3Dp();
            };
        }
        public function _-1NM(_arg1:int, _arg2:int, _arg3:int, _arg4:Array):void
        {
            if (!this._-0RZ)
            {
                this._-0RZ = new SynchronizedGameArena();
                this._-0RZ._-34M(new _-19O());
                this._-0RZ.initialize(this, _arg3);
                this._-54B = new GameArenaView(this);
                this._-16k._-50S(-1, -1, false);
                this._-16k._-1NV();
                registerUpdateReceiver(this, 1);
                this._-0ml = 0;
                this._-0KR = 0;
                this._-4xN = 0;
            };
        }
        public function _-2zv(_arg1:String):void
        {
            this.initGameDirectoryConnection();
            this.send(new Game2StartSnowWarMessageComposer(_arg1));
        }
        public function initGameDirectoryConnection():void
        {
            this.send(new Game2CheckGameDirectoryStatusMessageComposer());
        }
        public function _-XB():void
        {
            this.send(new Game2QuickJoinGameMessageComposer());
        }
        private function _-1LJ():SnowWarGameStage
        {
            if (!this._-0RZ)
            {
                return (null);
            };
            var k:SnowWarGameStage = (this._-0RZ._-1LJ() as SnowWarGameStage);
            return (k);
        }
        public function _-3VF():HumanGameObject
        {
            return (this._-sk(this._-2T5));
        }
        public function _-sk(_arg1:int):HumanGameObject
        {
            var k:SynchronizedGameStage = this._-1LJ();
            if (!k)
            {
                return (null);
            };
            var k:HumanGameObject = (k._-4eu(_arg1) as HumanGameObject);
            return (k);
        }
        public function _-32t(_arg1:_-1Ey):void
        {
            if (this._-4JU != _-2hX)
            {
                return;
            };
            var k:int = _-1GO._-1EL(_arg1.altKey, _arg1.shiftKey);
            if (k == _-1GO._-3yF)
            {
                this._-2tj(_arg1._-2ni, _arg1._-3iP);
            }
            else
            {
                this._-4Qw(_arg1._-2ni, _arg1._-3iP, this._-46l(k));
            };
        }
        public function _-34J(_arg1:int, _arg2:Boolean, _arg3:Boolean):void
        {
            var _local5:HumanGameObject;
            var _local6:HumanGameObject;
            var k:int;
            if (this._-4JU != _-2hX)
            {
                return;
            };
            var k:HumanGameObject = this._-4AB();
            if ((((_arg1 == this._-2T5)) || (((((this._-0WY) && (k))) && ((_arg1 == k._-4b))))))
            {
                if (((this._-0Bm()) && (this._-54B)))
                {
                    this._-54B._-3KU();
                };
            }
            else
            {
                _local5 = this._-3VF();
                _local6 = this._-sk(_arg1);
                if (((((_local5) && (_local6))) && (!((_local5.team == _local6.team)))))
                {
                    k = _-1GO._-0Qe(_arg2, _arg3);
                    this._-3Rk(_arg1, this._-46l(k));
                };
            };
        }
        public function _-3tY(_arg1:int, _arg2:Boolean, _arg3:Boolean):void
        {
            var k:int;
            var k:int;
            var k:HumanGameObject = this._-sk(_arg1);
            if (!k)
            {
                return;
            };
            if (this._-3fD.getBoolean("snowstorm.settings.show_user_names", true))
            {
                k = (((k.team)==1) ? 4281310921 : 4290988872);
                k = 500;
                this._-39R._-3ft(k._-4b, k.name, k, k);
            };
            if (this._-4JU == _-2hX)
            {
                this._-54B._-2HE(k.team);
            };
        }
        public function _-2tj(_arg1:int, _arg2:int):void
        {
            var k:int;
            var k:int;
            var k:SnowWarGameStage;
            if (this._-4JU != _-2hX)
            {
                return;
            };
            var k:HumanGameObject = this._-3VF();
            if (k)
            {
                k = (_arg1 * Tile._-2fT);
                k = (_arg2 * Tile._-2fT);
                k = this._-1LJ();
                if (k)
                {
                    this.send(new Game2SetUserMoveTargetMessageComposer(k, k, this._-0RZ._-08m(), this._-0RZ.subturn));
                    this._-2NC(k, k, k);
                };
            };
        }
        public function _-4AB():HumanGameObject
        {
            var k:HumanGameObject = this._-3VF();
            if (k)
            {
                return (this._-sk(k._-C6));
            };
            return (null);
        }
        private function _-3Rk(_arg1:int, _arg2:int):void
        {
            var k:HumanGameObject = this._-3VF();
            if (((k) && (k._-3gF())))
            {
                this.send(new Game2ThrowSnowballAtHumanMessageComposer(_arg1, _arg2, this._-0RZ._-08m(), this._-0RZ.subturn));
                this._-1zH();
            };
        }
        private function _-4Qw(_arg1:int, _arg2:int, _arg3:int):void
        {
            var k:int;
            var k:int;
            var k:HumanGameObject = this._-3VF();
            if (((k) && (k._-3gF())))
            {
                k = (_arg1 * Tile._-2fT);
                k = (_arg2 * Tile._-2fT);
                this.send(new Game2ThrowSnowballAtPositionMessageComposer(k, k, _arg3, this._-0RZ._-08m(), this._-0RZ.subturn));
                this._-1zH();
            };
        }
        private function _-46l(_arg1:int):int
        {
            var k:int;
            switch (_arg1)
            {
                case _-1GO._-le:
                    k = _-EN._-3S7;
                    break;
                case _-1GO._-1Bu:
                    k = _-EN._-0IR;
                    break;
                case _-1GO._-1RH:
                    k = _-EN._-2D1;
                    break;
                default:
                    k = _-EN._-1qu;
            };
            return (k);
        }
        public function _-0Bm():Boolean
        {
            if (this._-4JU != _-2hX)
            {
                return (false);
            };
            var k:HumanGameObject = this._-3VF();
            if (((k) && (k._-4lg())))
            {
                this.send(new Game2MakeSnowballMessageComposer(this._-0RZ._-08m(), this._-0RZ.subturn));
                this._-1zH();
                return (true);
            };
            return (false);
        }
        private function _-2NC(_arg1:HumanGameObject, _arg2:int, _arg3:int):void
        {
            var k:Boolean;
            var k:HumanGameObject;
            var k:_-2io;
            if (this._-0WY)
            {
                k = ((((_arg1) && (!((_arg1.posture == _-18q._-Yu))))) && (!((_arg1.posture == _-18q._-3PV))));
                k = this._-4AB();
                if (((k) && (k)))
                {
                    k = new _-0kN(k, _arg2, _arg3);
                    if (this._-4Bf)
                    {
                        k.apply(this._-2QZ._-1LJ());
                    }
                    else
                    {
                        this._-2QZ._-1Q6(this._-2QZ._-08m(), this._-2QZ.subturn, k);
                    };
                };
            };
        }
        private function _-1zH():void
        {
            var k:HumanGameObject;
            if (this._-0WY)
            {
                k = this._-4AB();
                if (k)
                {
                    k._-4fd();
                };
            };
        }
        public function update(_arg1:uint):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var k:uint;
            if (((((!(this._-0RZ)) || ((!(this._-4JU) == _-2hX)))) || ((!(this._-4JU) == _-5Eb))))
            {
                return;
            };
            if (((this._-54B) && ((this._-4JU == _-5Eb))))
            {
                this._-54B.update(_arg1, (this._-0RZ.subturn == 0));
            };
            this._-0ml = (this._-0ml + _arg1);
            var k:int = (this._-0RZ.getExtension() as _-19O)._-543();
            if (((((!(this._-4ku)) && ((this._-0ml > k)))) && ((this._-0KR < this._-4xN))))
            {
                this._-0RZ._-2KA();
                this._-0ml = (this._-0ml - k);
                this._-0KR++;
                if (this._-0ml > k)
                {
                    this._-0ml = 0;
                };
                k = (this._-4xN - this._-2bd);
                while (k-- > 3)
                {
                    this._-0RZ._-2KA();
                    this._-0KR++;
                };
                if (((this._-54B) && ((this._-4JU == _-2hX))))
                {
                    this._-54B.update(_arg1, (this._-0RZ.subturn == 0));
                };
                if ((this._-0KR % this._-0RZ._-5Du()) == 0)
                {
                    k = (this._-2QZ._-08m() - 1);
                    k = this._-2QZ._-5B7(k);
                    k = this._-1E5[k];
                    this._-1-b(k);
                    k = (k < (this._-4Zu - 3));
                    k = !((k == k));
                    if (((((k) || (k))) || (this._-aO)))
                    {
                        HabboGamesCom.log(((((((((("Turn: " + [k, this._-4Zu]) + " currentSubTurn:") + this._-0KR) + " maxSubTurn:") + this._-4xN) + " serverChecksum:") + k) + " clientChecksum:") + k));
                        if (k)
                        {
                            k = 0;
                            k = 0xFF00FF;
                            HabboGamesCom.log("CLIENT TOO MUCH BEHIND, requesting full status!");
                        }
                        else
                        {
                            if (k)
                            {
                                k = 1;
                                k = 0xFF0000;
                                HabboGamesCom.log("CHECKSUM MISMATCH, requesting full status!");
                            }
                            else
                            {
                                k = -1;
                                k = 0xFF;
                                HabboGamesCom.log("ERROR WAS GENERATED! Requesting full status!");
                            };
                        };
                        this._-54B._-w8(k);
                        this._-vA(k);
                        this._-aO = false;
                        this._-4ku = true;
                    };
                };
            };
        }
        private function _-1-b(_arg1:int):void
        {
            var k:HumanGameObject;
            var k:_-0IC;
            var k:HumanGameObject;
            var k:Boolean;
            var k:int;
            if (this._-0WY)
            {
                k = this._-3VF();
                k = k._-2Cq;
                k = this._-4AB();
                k = false;
                k = -(_-1LU);
                while (k < _-1LU)
                {
                    k = k._-4XK((_arg1 + k), k);
                    if (k)
                    {
                        break;
                    };
                    k++;
                };
                k._-0zf((_arg1 - _-1LU));
                if (((!(k)) && ((_arg1 > _-1LU))))
                {
                    HabboGamesCom.log(((("GHOST CHECKSUM MISMATCH, checksumTurn:" + _arg1) + " currentLocation:") + k));
                    k._-3Kb(k);
                    k._-5DZ(_arg1);
                    this._-54B._-w8(0xFF00);
                };
            };
        }
        public function _-3yG(_arg1:int, _arg2:int, _arg3:Boolean=false):void
        {
            this._-4Zu = _arg1;
            this._-1E5[this._-4Zu] = _arg2;
            this._-4xN = ((_arg1 + 1) * this._-2QZ._-5Du());
            if (_arg3)
            {
                this._-0KR = (this._-4xN - this._-2QZ._-5Du());
                this._-0ml = (this._-2QZ.getExtension() as _-19O)._-543();
                this._-4ku = false;
                if (this._-0WY)
                {
                    this._-4AB()._-5DZ(this._-4Zu);
                };
            };
        }
        public function _-vA(_arg1:int):void
        {
            this.send(new Game2RequestFullStatusUpdateMessageComposer(_arg1));
        }
        public function alert(_arg1:String):void
        {
            this._-2iN();
            if (!this._-3ij)
            {
                this._-3ij = this._-U-.alert("SnowWar Alert", _arg1, 0, this._-498);
            }
            else
            {
                this._-3ij.summary = _arg1;
            };
            HabboGamesCom.log(("[HabboGameManager.alert] " + _arg1));
        }
        public function _-06b():void
        {
            if (this._-5-s)
            {
                this._-5-s.dispose();
                this._-5-s = null;
            };
        }
        public function _-2iN():void
        {
            if (this._-3ij)
            {
                this._-3ij.dispose();
                this._-3ij = null;
            };
        }
        public function _-1Nh():void
        {
            if (this._-4JU != _-2hX)
            {
                return;
            };
            this._-aO = true;
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            this._-2iN();
        }
        public function set _-00S(_arg1:int):void
        {
            this._-2T5 = _arg1;
        }
        public function get _-00S():int
        {
            return (this._-2T5);
        }
        public function _-Dd():void
        {
            if (this._-54B)
            {
                this._-54B.init();
            };
        }
        public function get _-4Sn():GamesMainViewController
        {
            return (this._-4LC);
        }
        public function get _-3yR():GameLobbyWindowCtrl
        {
            if (this._-4LC)
            {
                return (this._-4LC._-3yR);
            };
            return (null);
        }
        public function _-5FB(_arg1:int, _arg2:Array):void
        {
            if (this._-5-s != null)
            {
                this._-4JU = _-41g;
                this._-5-s._-1jI(_arg2);
            };
        }
        public function _-1Zd(_arg1:int):void
        {
            if (this._-54B)
            {
                this._-39R.visible = true;
                this._-06b();
                _-lx(_-2TN._-4VR);
                this._-54B._-ra(_arg1);
                this._-4JU = _-5Eb;
            };
        }
        public function _-5F1(_arg1:int):void
        {
            if (_arg1 > 0)
            {
                this._-2XF = _arg1;
                this._-4JU = _-2hX;
            }
            else
            {
                this._-4JU = _-45S;
            };
            this._-0KR = 0;
            this._-4xN = 0;
        }
        public function _-1tu():void
        {
            this._-0tK._-1rr = false;
            this._-4JU = _-45S;
            removeUpdateReceiver(this);
            if (this._-0RZ)
            {
                this._-0RZ.dispose();
                this._-0RZ = null;
            };
            _-4ls(_-2TN._-40M);
            this.send(new Game2GetAccountGameStatusMessageComposer(_-3lN._-40G));
        }
        public function _-2q1():void
        {
            this._-16k._-4Lj();
            if (this._-54B)
            {
                this._-54B.dispose();
                this._-54B = null;
            };
        }
        public function _-2qY(_arg1:int, _arg2:Array, _arg3:Game2SnowWarGameStats, _arg4:Game2GameResult):void
        {
            this._-4JU = _-2wY;
            this._-4LC.close(false);
            if (this._-Nw)
            {
                this._-Nw.dispose();
                this._-Nw = null;
            };
            if (this._-54B)
            {
                this._-54B._-Zy();
            };
            this._-Nw = new GameEndingViewController(this, _arg2, _arg3, _arg4, _arg1);
        }
        public function _-48t(_arg1:_-2qg):void
        {
            var k:_-2jf;
            this._-4JU = _-3AR;
            this._-Nh = false;
            this._-3lc = new Map();
            this._-1E5 = new Map();
            for each (k in _arg1._-EZ)
            {
                this._-3lc.add(k.userId, k);
            };
            if (this._-Nw)
            {
                this._-Nw.dispose();
                this._-Nw = null;
            };
            if (!this._-5-s)
            {
                this._-5-s = new _-00B(this);
            };
            this._-5-s.show(_arg1);
        }
        public function _-nW(_arg1:int):void
        {
            this._-4JU = ((this._-Nh) ? _-08Q : _-2wY);
            this._-51Q = _arg1;
            if (this._-Nw)
            {
                this._-Nw._-3BL(this._-Nh);
                this._-Nh = false;
            };
        }
        public function _-0Td(_arg1:int):void
        {
            if (this._-Nw)
            {
                this._-Nw._-0Td(_arg1);
            };
        }
        public function _-0B9(_arg1:int):void
        {
            if ((((this._-4JU == _-08Q)) && (!((this._-Nw == null)))))
            {
                this._-Nw._-0qR(_arg1);
            }
            else
            {
                if (this._-3yR)
                {
                    this._-3yR._-17z(_arg1);
                };
            };
        }
        public function _-4rf():void
        {
            this._-Nh = true;
            this.send(new Game2PlayAgainMessageComposer());
        }
        public function _-27F(_arg1:int, _arg2:String, _arg3:Boolean=false):void
        {
            var k:_-2jf = this._-3lc.getValue(_arg1);
            var k:int = (((k._-0b0 == 1)) ? -300 : 300);
            var k:uint = (((k._-0b0 == 1)) ? 0xFF : 0xFF0000);
            this._-4oB.events.dispatchEvent(new _-0Ln(_-0Ln._-1i, _arg1, _arg2, k, k, k.figure, k.gender, k.name, _arg3));
        }
        public function _-1F4():void
        {
            if ((((this._-4JU == _-08Q)) && (!((this._-Nw == null)))))
            {
                this._-Nh = true;
                this._-Nw._-3BL(this._-Nh);
            }
            else
            {
                if (this._-3yR)
                {
                    this._-3yR._-2W7();
                };
            };
        }
        public function _-0-f(_arg1:_-2qg):void
        {
            var k:_-2jf;
            if (this._-4JU == _-2wY)
            {
                this._-Nh = true;
            };
            if (((!((this._-Nw == null))) && (!((this._-4JU == _-08Q)))))
            {
                this._-Nw._-3BL(this._-Nh);
                this._-4JU = _-08Q;
                this._-Nh = false;
            };
            if ((((this._-4JU == _-08Q)) && (!((this._-Nw == null)))))
            {
                this._-Nw._-0ff(_arg1);
                for each (k in _arg1._-EZ)
                {
                    this._-Nw._-1Ep(k);
                };
            }
            else
            {
                this._-4JU = _-37E;
                this._-4Sn._-4of(this._-0i8(_arg1), _arg1._-0Sk, _arg1._-1Gz);
                for each (k in _arg1._-EZ)
                {
                    this._-3yR._-1Ep(k);
                };
            };
        }
        public function _-3Nq(_arg1:_-2jf):void
        {
            if ((((this._-4JU == _-08Q)) && (!((this._-Nw == null)))))
            {
                this._-Nw._-1Ep(_arg1);
            }
            else
            {
                this._-4JU = _-37E;
                if (this._-3yR)
                {
                    this._-3yR._-1Ep(_arg1);
                };
            };
        }
        public function _-1yb(_arg1:int):void
        {
            if ((((this._-4JU == _-08Q)) && (!((this._-Nw == null)))))
            {
                this._-Nw._-4IQ(_arg1);
            }
            else
            {
                this._-4JU = _-37E;
                if (this._-3yR)
                {
                    this._-3yR._-4IQ(_arg1);
                };
            };
        }
        public function _-31s(_arg1:int, _arg2:Boolean, _arg3:int):void
        {
            if (_arg1 == _-3lN._-40G)
            {
                this._-0tj = _arg2;
                this._-3xY = _arg3;
                if (this._-Nw)
                {
                    this._-Nw._-54E();
                };
                if (this._-4LC)
                {
                    this._-4LC._-3mC();
                };
            };
        }
        public function get _-3yj():Boolean
        {
            return ((((this._-4JU == _-3AR)) || ((this._-4JU == _-08Q))));
        }
        public function _-419():void
        {
            this._-1tu();
            this._-2q1();
            if (this._-Nw)
            {
                this._-Nw.dispose();
                this._-Nw = null;
            };
            if (this._-4LC)
            {
                this._-4LC._-2uZ(false);
            };
        }
        public function _-1sA(_arg1:Boolean):void
        {
            this._-419();
            if (_arg1)
            {
                this._-4oB._-2SE();
            };
        }
        public function get _-0m0():Boolean
        {
            return (this._-0tj);
        }
        public function get _-58i():int
        {
            return (this._-3xY);
        }
        public function _-51F(_arg1:int):void
        {
            if (((!((this._-54B == null))) && ((_arg1 == this._-2T5))))
            {
                this._-54B._-51F();
            };
        }
        public function _-3e(_arg1:String):void
        {
            this._-3oJ._-D8();
            this._-1Bs(_arg1);
        }
        public function _-N(_arg1:String):Boolean
        {
            var k:Boolean = this._-3oJ._-33Q._-wi(_-4WL._-40G);
            this._-1Bs(_arg1);
            return (k);
        }
        public function _-4GR(_arg1:String):void
        {
            this._-3oJ.openClubBuy(_-3YS._-36p, "HabboGameManager");
            this._-1Bs(_arg1);
        }
        private function _-1Bs(_arg1:String):void
        {
            this.send(new _-2ka("GameFramework", "SnowStorm", _arg1, "", this._-58i));
        }
        public function _-hw(_arg1:HumanGameObject, _arg2:HumanGameObject):void
        {
            if (this._-2T5 == _arg1._-4b)
            {
                this._-54B._-22N(false);
            }
            else
            {
                if (this._-2T5 == _arg2._-4b)
                {
                    this._-54B._-22N(true);
                };
            };
        }
        public function set _-2nY(_arg1:int):void
        {
            this._-55r = _arg1;
        }
        public function _-P():void
        {
            if (((this._-3Bu) || (!((this._-55r == 0)))))
            {
                return;
            };
            this._-3Bu = true;
            var k:Boolean = this._-3fD.getBoolean("new.identity", false);
            var k:String = this._-3fD.getKey("new.user.wing");
            if (((k) && (!((k == _-3-C._-N2)))))
            {
                return;
            };
            this._-Je._-2J2(HabboToolbarIconEnum.GAMES, "snowwar.promotion", _-31I.LEFT, "GAMES");
        }
        public function showLeaderboard():void
        {
            this.leaderboard._-2Od = _-3lN._-40G;
            this.leaderboard._-27T();
        }
        public function get leaderboard():LeaderboardViewController
        {
            if (((!(this._-4On)) && (!(this.gameCenterEnabled))))
            {
                this._-4On = new LeaderboardViewController(this);
            };
            return (this._-4On);
        }
        public function _-3yI():void
        {
            var k:String;
            var k:String;
            if (!this._-7N)
            {
                for each (k in _-0We)
                {
                    if (!assets.hasAsset(k))
                    {
                        k = this.config.interpolate((("${image.library.url}snowstorm_client/" + k) + ".png"));
                        assets.loadAssetFromFile(k, new URLRequest(k));
                    };
                };
                this._-7N = true;
            };
        }
        public function _-As():Boolean
        {
            var k:String;
            for each (k in SnowWarEngine._-0We)
            {
                if (!assets.hasAsset(k))
                {
                    return (false);
                };
            };
            return (true);
        }

    }
}//package _-2b4

//------------------------------------------------------------
//_-2b4.SnowWarGameStage

package _-2b4
{
    import _-48o.SynchronizedGameStage;
    import _-0W2.Direction360;
    import _-0W2.Direction8;
    import _-18r.Map;
    import _-48o.SynchronizedGameArena;
    import _-1Fi._-0Iz;
    import _-1Fi._-iq;
    import _-0W2._-0IC;
    import _-4Vx.SnowWarGameObject;
    import _-0W2._-1N8;

    public class SnowWarGameStage extends SynchronizedGameStage 
    {

        public static const _-4DP:int = 25;
        public static const _-0q3:int = 25;
        private static const _-30E:int = 100000;

        private var _-9V:Array;

        public function SnowWarGameStage()
        {
            this._-9V = [];
            super();
        }
        public static function _-1qU(_arg1:Tile):Direction8
        {
            return (Direction360.direction360ValueToDirection8(Direction360._-4uM((_-4DP - _arg1._-5t[0]), (_-0q3 - _arg1._-5t[1]))));
        }

        override public function dispose():void
        {
            var k:int;
            var k:int;
            var k:Tile;
            super.dispose();
            if (((this._-9V) && ((this._-9V.length > 0))))
            {
                k = 0;
                while (k < this._-9V.length)
                {
                    k = 0;
                    while (k < (this._-9V[0] as Array).length)
                    {
                        k = this._-9V[k][k];
                        if (k)
                        {
                            k.dispose();
                        };
                        k++;
                    };
                    k++;
                };
            };
            this._-9V = [];
        }
        override public function initialize(_arg1:SynchronizedGameArena, _arg2:_-0Iz):void
        {
            super.initialize(_arg1, _arg2);
            if (_-4op == null)
            {
                _-4op = new Map();
            };
            this._-0yL(_arg2);
            this._-30e(_arg2.fuseObjects);
        }
        private function _-30e(_arg1:Array):void
        {
            var k:_-iq;
            var k:Tile;
            for each (k in _arg1)
            {
                k = this._-0YJ(k.x, k.y);
                if (k)
                {
                    k._-0hO(k);
                    this._-gW(k);
                };
            };
        }
        private function _-gW(_arg1:_-iq):void
        {
            var k:Tile;
            var k:int;
            var k:int;
            var k:int = _arg1.direction;
            var k:int = _arg1._-2j;
            var k:int = _arg1._-1kX;
            if ((((k == Direction8.E._-33x())) || ((k == Direction8.W._-33x()))))
            {
            };
            k = 1;
            while (k < k)
            {
                k = this._-0YJ((_arg1.x + k), _arg1.y);
                if (k)
                {
                    k._-1p2(_arg1.height);
                    if (!_arg1._-t2)
                    {
                        k.blocked = true;
                    };
                };
                k++;
            };
            k = 1;
            while (k < k)
            {
                k = this._-0YJ(_arg1.x, (_arg1.y + k));
                if (k)
                {
                    k._-1p2(_arg1.height);
                    if (!_arg1._-t2)
                    {
                        k.blocked = true;
                    };
                };
                k++;
            };
        }
        public function _-4LA(_arg1:SnowWarGameObject):void
        {
            var k:_-0IC = _arg1.location3D;
            var k:Tile = this._-0YJ(Tile._-3-Q(k.x), Tile._-3fR(k.y));
            if (k)
            {
                k._-2rr(_arg1);
            };
        }
        private function _-0yL(_arg1:_-0Iz):void
        {
            var k:Tile;
            var k:int;
            var k:Tile;
            var k:Tile;
            var k:Tile;
            var k:Tile;
            var k:Array = this._-cZ(_arg1._-3al, _arg1.width, _arg1.height);
            var k:int = _arg1.height;
            var k:int = _arg1.width;
            this._-9V = [];
            var k:int;
            while (k < k)
            {
                this._-9V[k] = [];
                k = 0;
                while (k < k)
                {
                    this._-9V[k][k] = null;
                    if (k[k][k] == _-30E)
                    {
                    }
                    else
                    {
                        k = new Tile(k, k);
                        this._-9V[k][k] = k;
                        k = this._-0YJ((k + 1), (k - 1));
                        if (k != null)
                        {
                            k._-3A5(k, Direction8.NE);
                        };
                        k = this._-0YJ(k, (k - 1));
                        if (k != null)
                        {
                            k._-3A5(k, Direction8.N);
                        };
                        k = this._-0YJ((k - 1), (k - 1));
                        if (k != null)
                        {
                            k._-3A5(k, Direction8.NW);
                        };
                        k = this._-0YJ((k - 1), k);
                        if (k != null)
                        {
                            k._-3A5(k, Direction8.W);
                        };
                    };
                    k++;
                };
                k++;
            };
        }
        public function _-PL():Array
        {
            return (this._-9V);
        }
        public function _-oM(_arg1:_-1N8):Boolean
        {
            if (_arg1.location3D.z < 1)
            {
                return (true);
            };
            var k:int = Tile._-3-Q(_arg1.location3D.x);
            var k:int = Tile._-3fR(_arg1.location3D.y);
            var k:Tile = this._-0YJ(k, k);
            if (k)
            {
                return ((_arg1.location3D.z < k.height));
            };
            return (false);
        }
        public function _-l9(_arg1:int, _arg2:int):Boolean
        {
            var k:int = Tile._-3-Q(_arg1);
            var k:int = Tile._-3fR(_arg2);
            var k:Tile = this._-0YJ(k, k);
            if (k)
            {
                return (k._-lG(null));
            };
            return (false);
        }
        public function _-0YJ(_arg1:int, _arg2:int):Tile
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this._-9V[0].length)))) || ((_arg2 < 0)))) || ((_arg2 >= this._-9V.length))))
            {
                return (null);
            };
            return (this._-9V[_arg2][_arg1]);
        }
        private function _-cZ(_arg1:String, _arg2:int, _arg3:int):Array
        {
            var k:String;
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            var k:Array = _arg1.split("\r");
            var k:Array = new Array();
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k[k] = [];
                k = (k.length - 1);
                while (k >= 0)
                {
                    k = k.charAt(k);
                    k = parseInt(k);
                    if (!isNaN(parseInt(k)))
                    {
                        k[k][k] = k;
                    }
                    else
                    {
                        if (k == "x")
                        {
                            k[k][k] = _-30E;
                        }
                        else
                        {
                            k[k][k] = (10 + (k.charCodeAt(0) - "a".charCodeAt(0)));
                        };
                    };
                    if ((((k[k][k] > k)) && (!((k[k][k] == _-30E)))))
                    {
                        k = k[k][k];
                    };
                    k--;
                };
                k++;
            };
            return (k);
        }
        public function _-02Q():void
        {
            var k:int;
            var k:int;
            var k:Tile;
            if (((this._-9V) && ((this._-9V.length > 0))))
            {
                k = 0;
                while (k < this._-9V.length)
                {
                    k = 0;
                    while (k < (this._-9V[0] as Array).length)
                    {
                        k = this._-9V[k][k];
                        if (k)
                        {
                            k.removeGameObject();
                        };
                        k++;
                    };
                    k++;
                };
            };
        }

    }
}//package _-2b4

//------------------------------------------------------------
//_-2b4.Tile

package _-2b4
{
    import _-0W2._-0uG;
    import _-0W2._-33Y;
    import _-0W2._-0IC;
    import _-4Vx.SnowWarGameObject;
    import _-1Fi._-iq;
    import _-0W2.Direction8;
    import _-48o._-4a8;
    import _-4Vx.HumanGameObject;
    import _-0W2._-3FG;

    public class Tile extends _-0uG 
    {

        public static const _-2fT:int = 3200;
        public static const _-5-N:int = _-33Y._-4x3((_-2fT / 2));
        public static const _-3GT:int = (_-2fT + _-5-N);
        public static const _-19B:int = int(Math.sqrt(((Tile._-2fT * Tile._-2fT) + (Tile._-2fT * Tile._-2fT))));

        private var _location:_-0IC;
        private var _-0Ec:Array;
        private var _-xq:SnowWarGameObject;
        private var _-2vM:Array;
        private var _-F3:Array;
        private var _-1F6:Boolean;
        private var _height:int;

        public function Tile(_arg1:int, _arg2:int)
        {
            this._-0Ec = [];
            this._-2vM = [_arg1, _arg2, 0];
            this._location = new _-0IC((_arg1 * _-2fT), (_arg2 * _-2fT), 0);
            this._-F3 = [];
        }
        public static function _-3-Q(_arg1:int):int
        {
            return (_-33Y._-4x3(((_arg1 + Tile._-5-N) / Tile._-2fT)));
        }
        public static function _-3fR(_arg1:int):int
        {
            return (_-33Y._-4x3(((_arg1 + Tile._-5-N) / Tile._-2fT)));
        }
        public static function _-0Cr(_arg1:int):int
        {
            return ((_arg1 * Tile._-2fT));
        }
        public static function _-4GO(_arg1:int):int
        {
            return ((_arg1 * Tile._-2fT));
        }

        override public function dispose():void
        {
            super.dispose();
            if (this._location != null)
            {
                this._location.dispose();
                this._location = null;
            };
            this._-0Ec = [];
            this._-xq = null;
            this._-2vM = [];
            this._-F3 = [];
            this._-1F6 = false;
        }
        public function get fuseObjects():Array
        {
            return (this._-F3);
        }
        public function _-0hO(_arg1:_-iq):void
        {
            this.fuseObjects.push(_arg1);
            this._-1p2(_arg1.height);
        }
        public function _-1p2(_arg1:int):void
        {
            this._height = (this._height + _arg1);
            if (this._height < 0)
            {
                this._height = 0;
            };
        }
        public function get _-5t():Array
        {
            return (this._-2vM);
        }
        public function get location():_-0IC
        {
            return (this._location);
        }
        public function _-3Lh(_arg1:_-0IC):Boolean
        {
            var k:int = (this._location.x - _arg1.x);
            if (k < 0)
            {
                k = -(k);
            };
            var k:int = (this._location.y - _arg1.y);
            if (k < 0)
            {
                k = -(k);
            };
            return ((((k < _-5-N)) && ((k < _-5-N))));
        }
        public function _-3A5(_arg1:Tile, _arg2:Direction8):void
        {
            this._-2h-(_arg1, _arg2);
            _arg1._-2h-(this, _arg2._-2ei());
        }
        private function _-2h-(_arg1:Tile, _arg2:Direction8):void
        {
            this._-0Ec[_arg2._-33x()] = _arg1;
        }
        public function _-0LI(_arg1:Direction8):Tile
        {
            return (this._-0Ec[_arg1._-33x()]);
        }
        public function _-lG(_arg1:_-4a8):Boolean
        {
            var k:Boolean;
            if (_arg1)
            {
                k = ((((!((this._-2kZ == null))) && (_arg1._-hz))) && ((this._-2kZ._-C6 == _arg1._-4b)));
            };
            var k:Boolean;
            if (this.fuseObjects.length == 1)
            {
                k = !((this.fuseObjects[0] as _-iq)._-t2);
            }
            else
            {
                if (this.fuseObjects.length > 1)
                {
                    k = true;
                };
            };
            return (((((!(k)) && ((((this._-xq == null)) || (k))))) && (!(this._-1F6))));
        }
        public function _-2rr(_arg1:SnowWarGameObject):Boolean
        {
            var k:Boolean;
            if (!this._-xq)
            {
                this._-xq = _arg1;
                k = true;
            };
            return (k);
        }
        public function removeGameObject():SnowWarGameObject
        {
            var k:SnowWarGameObject;
            if (this._-xq)
            {
                k = this._-xq;
                this._-xq = null;
            };
            return (k);
        }
        public function get _-Kt():SnowWarGameObject
        {
            return (this._-xq);
        }
        public function get _-2kZ():HumanGameObject
        {
            if (((this._-xq) && ((this._-xq is HumanGameObject))))
            {
                return ((this._-Kt as HumanGameObject));
            };
            return (null);
        }
        public function _-2NP():HumanGameObject
        {
            var k:HumanGameObject = this._-2kZ;
            if (k)
            {
                this._-xq = null;
            };
            return (k);
        }
        override public function distanceTo(_arg1:_-3FG):int
        {
            var k:Tile = (_arg1 as Tile);
            return (this._location.distanceTo(k.location));
        }
        override public function directionTo(_arg1:_-3FG):Direction8
        {
            var k:Tile = (_arg1 as Tile);
            return (this._location.directionTo(k.location));
        }
        override public function getNodeAt(_arg1:Direction8):_-3FG
        {
            return (this._-0Ec[_arg1._-33x()]);
        }
        override public function directionIsBlocked(_arg1:Direction8, _arg2:_-4a8):Boolean
        {
            return (this._-lG(_arg2));
        }
        override public function getPathCost(_arg1:Direction8, _arg2:_-4a8):int
        {
            if (_arg1._-3ai())
            {
                return (_-2fT);
            };
            return (_-19B);
        }
        public function get height():int
        {
            return (this._height);
        }
        public function toString():String
        {
            return ((((((" X:" + this._location.x) + " Y:") + this._location.y) + " Z:") + this._location.z));
        }
        public function set blocked(_arg1:Boolean):void
        {
            this._-1F6 = _arg1;
        }

    }
}//package _-2b4

//------------------------------------------------------------
//_-2BO._-2Gb

package _-2BO
{
    import _-4Aj.*;

    public class _-2Gb implements _-1oF 
    {

        private var _-1CM:Array;

        public function _-2Gb(_arg1:Array)
        {
            this._-1CM = new Array();
            this._-1CM.push(_arg1.length);
            this._-1CM = this._-1CM.concat(_arg1);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (this._-1CM);
        }

    }
}//package _-2BO

//------------------------------------------------------------
//_-2BO._-5Ck

package _-2BO
{
    import _-4Aj.*;

    public class _-5Ck implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-2BO

//------------------------------------------------------------
//_-2BO._-iu

package _-2BO
{
    import _-4Aj.*;

    public class _-iu implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-2BO

//------------------------------------------------------------
//_-2c1.AnimationAction

package _-2c1
{
    import flash.geom.Point;
    import flash.utils.Dictionary;
    import _-18r.Map;

    public class AnimationAction 
    {

        public static const _-01B:Point = new Point(0, 0);

        private var _-0Kq:String;
        private var _-0Bk:Dictionary;
        private var _-3EH:Map;
        private var _-hl:int;
        private var _-2BK:Array;

        public function AnimationAction(_arg1:XML)
        {
            var k:XML;
            var k:XML;
            var k:AnimationActionPart;
            var k:int;
            var k:Map;
            var k:XML;
            var k:int;
            var k:int;
            var k:Map;
            var k:XML;
            var k:String;
            var k:int;
            var k:int;
            this._-3EH = new Map();
            super();
            this._-0Kq = String(_arg1.@id);
            this._-0Bk = new Dictionary();
            for each (k in _arg1.part)
            {
                k = new AnimationActionPart(k);
                this._-0Bk[String(k.@["set-type"])] = k;
                this._-hl = Math.max(this._-hl, k.frames.length);
            };
            this._-2BK = [];
            for each (k in _arg1.offsets.frame)
            {
                k = parseInt(k.@id);
                this._-hl = Math.max(this._-hl, k);
                k = new Map();
                this._-3EH[k] = k;
                for each (k in k.directions.direction)
                {
                    k = parseInt(k.@id);
                    k = new Map();
                    k[k] = k;
                    for each (k in k.bodypart)
                    {
                        k = String(k.@id);
                        k = ((k.hasOwnProperty("@dx")) ? parseInt(k.@dx) : 0);
                        k = ((k.hasOwnProperty("@dy")) ? parseInt(k.@dy) : 0);
                        k[k] = new Point(k, k);
                    };
                };
                this._-2BK.push(k);
                k = parseInt(k.@repeats);
                if (k > 1)
                {
                    while (--k > 0)
                    {
                        this._-2BK.push(k);
                    };
                };
            };
        }
        public function _-2tI(_arg1:String):AnimationActionPart
        {
            return ((this._-0Bk[_arg1] as AnimationActionPart));
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get _-1xN():Dictionary
        {
            return (this._-0Bk);
        }
        public function get _-2EV():int
        {
            return (this._-hl);
        }
        public function _-2GB(_arg1:int, _arg2:int, _arg3:String):Point
        {
            var k:Point;
            var k:Map;
            var k:int = (_arg2 % this._-2BK.length);
            var k:int = this._-2BK[k];
            var k:Map = this._-3EH[k];
            if (k)
            {
                k = k[_arg1];
                if (k)
                {
                    k = k[_arg3];
                };
            };
            return ((((k)!=null) ? k : _-01B));
        }

    }
}//package _-2c1

//------------------------------------------------------------
//_-2c1.AnimationActionPart

package _-2c1
{
    public class AnimationActionPart 
    {

        private var _-0eh:Array;

        public function AnimationActionPart(_arg1:XML)
        {
            var k:XML;
            var k:int;
            super();
            this._-0eh = new Array();
            for each (k in _arg1.frame)
            {
                this._-0eh.push(new AnimationFrame(k));
                k = parseInt(k.@repeats);
                if (k > 1)
                {
                    while (--k > 0)
                    {
                        this._-0eh.push(this._-0eh[(this._-0eh.length - 1)]);
                    };
                };
            };
        }
        public function get frames():Array
        {
            return (this._-0eh);
        }

    }
}//package _-2c1

//------------------------------------------------------------
//_-2c1.AnimationFrame

package _-2c1
{
    public class AnimationFrame 
    {

        private var _-4m9:int;
        private var _-1LZ:String;

        public function AnimationFrame(_arg1:XML)
        {
            this._-4m9 = parseInt(_arg1.@number);
            this._-1LZ = _arg1.@assetpartdefinition;
        }
        public function get number():int
        {
            return (this._-4m9);
        }
        public function get _-27o():String
        {
            return (this._-1LZ);
        }

    }
}//package _-2c1

//------------------------------------------------------------
//_-2ch._-1nb

package _-2ch
{
    import _-4Aj._-7V;
    import _-4qx._-1wY;

    public class _-1nb extends _-7V 
    {

        public function _-1nb(_arg1:Function)
        {
            super(_arg1, _-1wY);
        }
        public function _-3-5():_-1wY
        {
            return ((_-515 as _-1wY));
        }

    }
}//package _-2ch

//------------------------------------------------------------
//_-2ch._-3qn

package _-2ch
{
    import _-4Aj._-7V;
    import _-4qx._-4bL;

    public class _-3qn extends _-7V 
    {

        public function _-3qn(_arg1:Function)
        {
            super(_arg1, _-4bL);
        }
        public function _-3-5():_-4bL
        {
            return ((_-515 as _-4bL));
        }

    }
}//package _-2ch

//------------------------------------------------------------
//_-2ch._-3sM

package _-2ch
{
    import _-4Aj._-7V;
    import _-4qx._-2Oa;
    import _-4Aj.*;

    public class _-3sM extends _-7V implements _-0tL 
    {

        public function _-3sM(_arg1:Function)
        {
            super(_arg1, _-2Oa);
        }
        public function _-3-5():_-2Oa
        {
            return ((_-515 as _-2Oa));
        }

    }
}//package _-2ch

//------------------------------------------------------------
//_-2ch._-3UX

package _-2ch
{
    import _-4Aj._-7V;
    import _-4qx._-2Y5;

    public class _-3UX extends _-7V 
    {

        public function _-3UX(_arg1:Function)
        {
            super(_arg1, _-2Y5);
        }
        public function _-3-5():_-2Y5
        {
            return ((_-515 as _-2Y5));
        }

    }
}//package _-2ch

//------------------------------------------------------------
//_-2ch._-4vL

package _-2ch
{
    import _-4Aj._-7V;
    import _-4qx._-1Zh;
    import _-4Aj.*;

    public class _-4vL extends _-7V implements _-0tL 
    {

        public function _-4vL(_arg1:Function)
        {
            super(_arg1, _-1Zh);
        }
        public function _-3-5():_-1Zh
        {
            return ((_-515 as _-1Zh));
        }

    }
}//package _-2ch

//------------------------------------------------------------
//_-2ch._-Ft

package _-2ch
{
    import _-4Aj._-7V;
    import _-4qx._-02r;

    public class _-Ft extends _-7V 
    {

        public function _-Ft(_arg1:Function)
        {
            super(_arg1, _-02r);
        }
        public function _-3-5():_-02r
        {
            return ((_-515 as _-02r));
        }

    }
}//package _-2ch

//------------------------------------------------------------
//_-2cI.DiffieHellman

package _-2cI
{
    import _-2r-.BigInteger;
    import _-18r.ErrorReportStorage;
    import _-3uh.*;

    public class DiffieHellman implements _-1pG 
    {

        private var _-5Ac:BigInteger;
        private var _-N3:BigInteger;
        private var _-2Zy:BigInteger;
        private var _-1OO:BigInteger;
        private var _-0jc:BigInteger;
        private var _-3dI:BigInteger;

        public function DiffieHellman(_arg1:BigInteger, _arg2:BigInteger)
        {
            this._-0jc = _arg1;
            this._-3dI = _arg2;
        }
        public function init(_arg1:String, _arg2:uint=16):Boolean
        {
            ErrorReportStorage._-0QQ("DiffieHellman", ((((("Prime: " + this._-0jc.toString()) + ",generator: ") + this._-3dI.toString()) + ",secret: ") + _arg1));
            this._-5Ac = new BigInteger();
            this._-5Ac._-4pe(_arg1, _arg2);
            this._-N3 = this._-3dI._-3ZS(this._-5Ac, this._-0jc);
            return (true);
        }
        public function _-43o(_arg1:String, _arg2:uint=16):String
        {
            this._-2Zy = new BigInteger();
            this._-2Zy._-4pe(_arg1, _arg2);
            this._-1OO = this._-2Zy._-3ZS(this._-5Ac, this._-0jc);
            return (this._-03w(_arg2));
        }
        public function _-1wA(_arg1:uint=16):String
        {
            return (this._-N3._-BU(_arg1));
        }
        public function _-03w(_arg1:uint=16):String
        {
            return (this._-1OO._-BU(_arg1));
        }

    }
}//package _-2cI

//------------------------------------------------------------
//_-2cI.RC4

package _-2cI
{
    import flash.utils.ByteArray;
    import _-3rj._-O1;
    import _-3rj.*;

    public class RC4 implements _-O1 
    {

        private var i:uint = 0;
        private var j:uint = 0;
        private var _-37a:Array;

        public function RC4()
        {
            this._-37a = new Array(0x0100);
        }
        public function init(_arg1:ByteArray):void
        {
            var k:uint = _arg1.length;
            this.i = 0;
            while (this.i < 0x0100)
            {
                this._-37a[this.i] = this.i;
                this.i++;
            };
            this.j = 0;
            this.i = 0;
            while (this.i < 0x0100)
            {
                this.j = (((this.j + this._-37a[this.i]) + _arg1[(this.i % k)]) % 0x0100);
                this._-4Fw(this.i, this.j);
                this.i++;
            };
            this.i = 0;
            this.j = 0;
        }
        public function _-1oL(_arg1:_-O1):void
        {
            var k:RC4 = (_arg1 as RC4);
            this._-37a = k._-37a.concat();
            this.i = k.i;
            this.j = k.j;
        }
        public function _-jy(_arg1:ByteArray, _arg2:Boolean=false):ByteArray
        {
            var k:uint;
            var k:ByteArray = new ByteArray();
            _arg1.position = 0;
            while (_arg1.bytesAvailable)
            {
                this.i = ((this.i + 1) % 0x0100);
                this.j = ((this.j + this._-37a[this.i]) % 0x0100);
                this._-4Fw(this.i, this.j);
                if (_arg2)
                {
                    this._-ax(this._-37a, this.i, this.j);
                };
                k = ((this._-37a[this.i] + this._-37a[this.j]) % 0x0100);
                k.writeByte((this._-37a[k] ^ _arg1.readByte()));
            };
            k.position = 0;
            return (k);
        }
        protected function _-ax(_arg1:Array, _arg2:int, _arg3:int):void
        {
        }
        public function _-42K(_arg1:ByteArray):ByteArray
        {
            var k:uint;
            var k:ByteArray = new ByteArray();
            _arg1.position = 0;
            while (_arg1.bytesAvailable)
            {
                this.i = ((this.i + 1) % 0x0100);
                this.j = ((this.j + this._-37a[this.i]) % 0x0100);
                this._-4Fw(this.i, this.j);
                k = ((this._-37a[this.i] + this._-37a[this.j]) % 0x0100);
                k.writeByte((_arg1.readUnsignedByte() ^ this._-37a[k]));
            };
            k.position = 0;
            return (k);
        }
        protected function _-4Fw(_arg1:uint, _arg2:uint):void
        {
            var k:Object = this._-37a[_arg1];
            this._-37a[_arg1] = this._-37a[_arg2];
            this._-37a[_arg2] = k;
        }

    }
}//package _-2cI

//------------------------------------------------------------
//_-2cl._-3QL

package _-2cl
{
    import _-1wa.Plane;
    import _-1wa.PlaneVisualization;
    import flash.display.BitmapData;
    import _-0y0._-Xl;
    import flash.geom.Point;
    import _-0y0._-06R;

    public class _-3QL extends Plane 
    {

        public static const _-2xB:uint = 0xFFFFFF;
        public static const _-2ty:Number = 45;
        public static const _-2qG:Number = 30;

        private var _-0Dz:int = 0;
        private var _height:int = 0;

        override public function isStatic(_arg1:int):Boolean
        {
            var k:PlaneVisualization = _-50f(_arg1);
            if (k != null)
            {
                return (!(k._-29P));
            };
            return (super.isStatic(_arg1));
        }
        public function initializeDimensions(_arg1:int, _arg2:int):void
        {
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (_arg2 < 0)
            {
                k = 0;
            };
            if (((!((_arg1 == this._-0Dz))) || (!((_arg2 == this._height)))))
            {
                this._-0Dz = _arg1;
                this._height = _arg2;
            };
        }
        public function render(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:_-06R, _arg6:Boolean, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:Number, _arg11:int):BitmapData
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:BitmapData;
            var k:PlaneVisualization = _-50f(_arg4);
            if ((((k == null)) || ((k.geometry == null))))
            {
                return (null);
            };
            var k:Point = k.geometry._-2Et(new _-Xl(0, 0, 0));
            var k:Point = k.geometry._-2Et(new _-Xl(0, 0, 1));
            var k:Point = k.geometry._-2Et(new _-Xl(0, 1, 0));
            if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
            {
                k = Math.round(Math.abs((((k.x - k.x) * _arg2) / k.geometry.scale)));
                k = Math.round(Math.abs((((k.y - k.y) * _arg3) / k.geometry.scale)));
                k = (_arg7 * Math.abs((k.x - k.x)));
                k = (_arg8 * Math.abs((k.y - k.y)));
                k = (_arg9 * Math.abs((k.x - k.x)));
                k = (_arg10 * Math.abs((k.y - k.y)));
                k = k.render(_arg1, k, k, _arg5, _arg6, k, k, k, k, _arg9, _arg10, _arg11);
                return (k);
            };
            return (null);
        }

    }
}//package _-2cl

//------------------------------------------------------------
//_-2cl._-oQ

package _-2cl
{
    import flash.display.BitmapData;
    import flash.geom.Point;

    public class _-oQ 
    {

        private var _-2dX:Number = 0;
        private var _-4TA:Number = 0;
        private var _-0ir:Number = 0;
        private var _-2RZ:Number = 0;
        private var _-04k:BitmapData = null;

        public function _-oQ(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:BitmapData)
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
            this._-0ir = _arg3;
            this._-2RZ = _arg4;
            if (isNaN(this._-2dX))
            {
                this._-2dX = 0;
            };
            if (isNaN(this._-4TA))
            {
                this._-4TA = 0;
            };
            if (isNaN(this._-0ir))
            {
                this._-0ir = 0;
            };
            if (isNaN(this._-2RZ))
            {
                this._-2RZ = 0;
            };
            this._-04k = _arg5;
        }
        public function get bitmapData():BitmapData
        {
            return (this._-04k);
        }
        public function dispose():void
        {
            this._-04k = null;
        }
        public function _-2HO(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number, _arg5:int):Point
        {
            var k:Number = this._-2dX;
            var k:Number = this._-4TA;
            if (_arg3 > 0)
            {
                k = (k + (((this._-0ir / _arg3) * _arg5) / 1000));
            };
            if (_arg4 > 0)
            {
                k = (k + (((this._-2RZ / _arg4) * _arg5) / 1000));
            };
            var k:int = ((k % 1) * _arg1);
            var k:int = ((k % 1) * _arg2);
            return (new Point(k, k));
        }

    }
}//package _-2cl

//------------------------------------------------------------
//_-2cl.LandscapeRasterizer

package _-2cl
{
    import _-1wa.PlaneRasterizer;
    import _-1wa.PlaneVisualization;
    import _-1wa.PlaneMaterial;
    import _-0y0.XMLValidator;
    import _-0vU.Randomizer;
    import _-1wa._-1sk;
    import flash.display.BitmapData;
    import _-0vU._-0Va;
    import _-0y0._-06R;

    public class LandscapeRasterizer extends PlaneRasterizer 
    {

        private static const _-37v:int = 500;

        private var _-234:int = 0;
        private var _-2bn:int = 0;

        override public function initializeDimensions(_arg1:int, _arg2:int):Boolean
        {
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (_arg2 < 0)
            {
                k = 0;
            };
            this._-234 = _arg1;
            this._-2bn = _arg2;
            return (true);
        }
        override protected function initializePlanes():void
        {
            if (data == null)
            {
                return;
            };
            var k:XMLList = data.landscapes;
            if (k.length() > 0)
            {
                this._-364(k[0]);
            };
        }
        private function _-364(_arg1:XML):void
        {
            var k:XML;
            var k:String;
            var k:XMLList;
            var k:_-3QL;
            var k:int;
            var k:XML;
            var k:int;
            var k:String;
            var k:String;
            var k:Number;
            var k:Number;
            var k:int;
            var k:PlaneVisualization;
            var k:int;
            var k:XML;
            var k:XML;
            var k:PlaneMaterial;
            var k:int;
            var k:String;
            var k:int;
            var k:String;
            var k:uint;
            var k:String;
            var k:String;
            var k:XMLList;
            var k:XML;
            var k:int;
            var k:XML;
            var k:int;
            var k:String;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            if (_arg1 == null)
            {
                return;
            };
            var k:Array = ["id", "assetId"];
            var k:int = (Math.random() * 654321);
            var k:XMLList = _arg1.landscape;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, ["id"]))
                {
                    k = k.@id;
                    k = k.animatedVisualization;
                    k = new _-3QL();
                    k = 0;
                    while (k < k.length())
                    {
                        k = k[k];
                        if (XMLValidator._-4qb(k, ["size"]))
                        {
                            k = parseInt(k.@size);
                            k = k.@horizontalAngle;
                            k = k.@verticalAngle;
                            k = _-3QL._-2ty;
                            if (k != "")
                            {
                                k = parseFloat(k);
                            };
                            k = _-3QL._-2qG;
                            if (k != "")
                            {
                                k = parseFloat(k);
                            };
                            k = (k.visualizationLayer.length() + k.animationLayer.length());
                            k = k._-23g(k, k, _-2TR(k, k, k));
                            if (k != null)
                            {
                                Randomizer._-3hk(k);
                                k = 0;
                                while (k < k.children().length())
                                {
                                    k = k.children()[k];
                                    if (k.name() == "visualizationLayer")
                                    {
                                        k = null;
                                        k = _-1sk._-53o;
                                        if (XMLValidator._-4qb(k, ["materialId"]))
                                        {
                                            k = k.@materialId;
                                            k = _-3gw(k);
                                        };
                                        k = k.@offset;
                                        k = _-1sk._-01B;
                                        if (k.length > 0)
                                        {
                                            k = parseInt(k);
                                        };
                                        k = k.@color;
                                        k = _-3QL._-2xB;
                                        if (k.length > 0)
                                        {
                                            k = parseInt(k);
                                        };
                                        k = k.@align;
                                        if (k == "bottom")
                                        {
                                            k = _-1sk._-1L2;
                                        }
                                        else
                                        {
                                            if (k == "top")
                                            {
                                                k = _-1sk.ALIGN_TOP;
                                            };
                                        };
                                        k._-0iw(k, k, k, k, k);
                                    }
                                    else
                                    {
                                        if (k.name() == "animationLayer")
                                        {
                                            k = k.animationItem;
                                            k = <animation/>
                                            ;
                                            k = 0;
                                            while (k < k.length())
                                            {
                                                k = (k[k] as XML);
                                                if (k != null)
                                                {
                                                    if (XMLValidator._-4qb(k, k))
                                                    {
                                                        k = parseInt(k.@id);
                                                        k = k.@assetId;
                                                        k = 0;
                                                        k = 0;
                                                        k = this._-272(k.@x, k.@randomX);
                                                        k = this._-272(k.@y, k.@randomY);
                                                        k = 0;
                                                        k = 0;
                                                        k = parseFloat(k.@speedX);
                                                        k = parseFloat(k.@speedY);
                                                        k.appendChild(new XML((((((((((('<item x="' + k) + '" y="') + k) + '" speedX="') + k) + '" speedY="') + k) + '" asset="') + k) + '"/>')));
                                                    };
                                                };
                                                k++;
                                            };
                                            k._-2e0(k, k, _-0-Z);
                                        };
                                    };
                                    k++;
                                };
                            };
                        };
                        k++;
                    };
                    if (!_-07G(k, k))
                    {
                        k.dispose();
                    };
                };
                k++;
            };
        }
        private function _-272(_arg1:String, _arg2:String):Number
        {
            var k:Number;
            var k:Array;
            var k:Number;
            var k:Number = 0;
            if (_arg1.length > 0)
            {
                if (_arg1.charAt((_arg1.length - 1)) == "%")
                {
                    k = _arg1.substr(0, (_arg1.length - 1));
                    k = (parseFloat(k) / 100);
                };
            };
            if (_arg2.length > 0)
            {
                k = 10000;
                k = Randomizer._-0hn(1, 0, k);
                k = (k[0] / k);
                if (_arg2.charAt((_arg2.length - 1)) == "%")
                {
                    k = _arg2.substr(0, (_arg2.length - 1));
                    k = (k + ((k * parseFloat(k)) / 100));
                };
            };
            return (k);
        }
        override public function render(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:_-06R, _arg7:Boolean, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=0, _arg12:int=0):_-0Va
        {
            var k:_-3QL = (_-VA(_arg2) as _-3QL);
            if (k == null)
            {
                k = (_-VA(_-03v) as _-3QL);
            };
            if (k == null)
            {
                return (null);
            };
            if (_arg1 != null)
            {
                _arg1.fillRect(_arg1.rect, 0xFFFFFF);
            };
            var k:BitmapData = k.render(_arg1, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12);
            if (((!((k == null))) && (!((k == _arg1)))))
            {
                k = k.clone();
            };
            var k:_-0Va;
            if (((!(k.isStatic(_arg5))) && ((_-37v > 0))))
            {
                k = new _-0Va(k, ((Math.round((_arg12 / _-37v)) * _-37v) + _-37v));
            }
            else
            {
                k = new _-0Va(k, -1);
            };
            return (k);
        }
        override public function getTextureIdentifier(_arg1:Number, _arg2:_-06R):String
        {
            if (_arg2 != null)
            {
                if (_arg2.x < 0)
                {
                    return (String((_arg1 + "_0")));
                };
                return (String((_arg1 + "_1")));
            };
            return (super.getTextureIdentifier(_arg1, _arg2));
        }

    }
}//package _-2cl

//------------------------------------------------------------
//_-2cl.PlaneVisualizationAnimationLayer

package _-2cl
{
    import flash.display.BitmapData;
    import _-022._-2G2;
    import _-295.BitmapDataAsset;
    import _-022._-2KD;
    import flash.geom.Point;
    import _-0y0._-06R;
    import _-1B-.*;

    public class PlaneVisualizationAnimationLayer implements _-1zZ 
    {

        private var _color:uint = 0;
        private var _-04k:BitmapData = null;
        private var _-4Bk:Boolean = false;
        private var _-2ZH:Array;

        public function PlaneVisualizationAnimationLayer(_arg1:XML, _arg2:_-2KD)
        {
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:String;
            var k:_-2G2;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:_-oQ;
            this._-2ZH = [];
            super();
            if (((!((_arg1 == null))) && (!((_arg2 == null)))))
            {
                k = _arg1.item;
                k = 0;
                while (k < k.length())
                {
                    k = (k[k] as XML);
                    if (k != null)
                    {
                        k = k.@asset;
                        k = _arg2.getAsset(k);
                        if (k != null)
                        {
                            k = (k.asset as BitmapDataAsset);
                            if (k != null)
                            {
                                k = (k.content as BitmapData);
                                if (k != null)
                                {
                                    k = new _-oQ(parseFloat(k.@x), parseFloat(k.@y), parseFloat(k.@speedX), parseFloat(k.@speedY), k);
                                    this._-2ZH.push(k);
                                };
                            };
                        };
                    };
                    k++;
                };
            };
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            var k:int;
            var k:_-oQ;
            this._-4Bk = true;
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
            if (this._-2ZH != null)
            {
                k = 0;
                while (k < this._-2ZH.length)
                {
                    k = (this._-2ZH[k] as _-oQ);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-2ZH = [];
            };
        }
        public function _-0q5():void
        {
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
        }
        public function render(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:_-06R, _arg5:int, _arg6:int, _arg7:int, _arg8:int, _arg9:Number, _arg10:Number, _arg11:int):BitmapData
        {
            var k:int;
            var k:_-oQ;
            var k:Point;
            if ((((((_arg1 == null)) || (!((_arg1.width == _arg2))))) || (!((_arg1.height == _arg3)))))
            {
                if ((((((this._-04k == null)) || (!((this._-04k.width == _arg2))))) || (!((this._-04k.height == _arg3)))))
                {
                    if (this._-04k != null)
                    {
                        this._-04k.dispose();
                    };
                    this._-04k = new BitmapData(_arg2, _arg3, true, 0xFFFFFF);
                }
                else
                {
                    this._-04k.fillRect(this._-04k.rect, 0xFFFFFF);
                };
                k = this._-04k;
            };
            if ((((_arg7 > 0)) && ((_arg8 > 0))))
            {
                k = 0;
                while (k < this._-2ZH.length)
                {
                    k = (this._-2ZH[k] as _-oQ);
                    if (k != null)
                    {
                        k = k._-2HO(_arg7, _arg8, _arg9, _arg10, _arg11);
                        k.x = (k.x - _arg5);
                        k.y = (k.y - _arg6);
                        if (k.bitmapData != null)
                        {
                            if ((((((((k.x > -(k.bitmapData.width))) && ((k.x < _arg1.width)))) && ((k.y > -(k.bitmapData.height))))) && ((k.y < _arg1.height))))
                            {
                                _arg1.copyPixels(k.bitmapData, k.bitmapData.rect, k, null, null, true);
                            };
                            if (((((((((k.x - _arg7) > -(k.bitmapData.width))) && (((k.x - _arg7) < _arg1.width)))) && ((k.y > -(k.bitmapData.height))))) && ((k.y < _arg1.height))))
                            {
                                _arg1.copyPixels(k.bitmapData, k.bitmapData.rect, new Point((k.x - _arg7), k.y), null, null, true);
                            };
                            if ((((((((k.x > -(k.bitmapData.width))) && ((k.x < _arg1.width)))) && (((k.y - _arg8) > -(k.bitmapData.height))))) && (((k.y - _arg8) < _arg1.height))))
                            {
                                _arg1.copyPixels(k.bitmapData, k.bitmapData.rect, new Point(k.x, (k.y - _arg8)), null, null, true);
                            };
                            if (((((((((k.x - _arg7) > -(k.bitmapData.width))) && (((k.x - _arg7) < _arg1.width)))) && (((k.y - _arg8) > -(k.bitmapData.height))))) && (((k.y - _arg8) < _arg1.height))))
                            {
                                _arg1.copyPixels(k.bitmapData, k.bitmapData.rect, new Point((k.x - _arg7), (k.y - _arg8)), null, null, true);
                            };
                        };
                    };
                    k++;
                };
            };
            return (_arg1);
        }

    }
}//package _-2cl

//------------------------------------------------------------
//_-2DK._-1Py

package _-2DK
{
    import _-FP._-2ul;
    import _-1ae.IBorderWindow;
    import _-4Wu._-4uR;
    import flash.display.BitmapData;
    import flash.display.Sprite;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import flash.events.MouseEvent;
    import _-og._-0Lw;
    import _-og._-0fH;
    import flash.events.IEventDispatcher;
    import flash.display.Bitmap;
    import _-1ae.IDisplayObjectWrapper;
    import _-295._-243;
    import _-1ae.IRegionWindow;
    import _-2ly._-11j;
    import flash.events.Event;

    public class _-1Py extends _-2ul 
    {

        private var _-0xv:IBorderWindow;
        private var _-0Xx:_-4uR;
        private var _-4Gj:BitmapData;
        private var _-03A:String = "";
        private var _-02m:Sprite = null;

        public function _-1Py(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-4uR)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-0Xx = _arg5;
        }
        override public function dispose():void
        {
            if (this._-02m != null)
            {
                this._-02m.removeEventListener(MouseEvent.CLICK, this._-0Cq);
                this._-02m = null;
            };
            if (this._-4Gj != null)
            {
                this._-4Gj.dispose();
                this._-4Gj = null;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-0Xx = null;
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-0Lw._-WV, this._-4lc);
            _arg1.addEventListener(_-0fH._-WV, this._-1jx);
            _arg1.addEventListener(_-0fH._-1MR, this._-0w1);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-0Lw._-WV, this._-4lc);
            _arg1.removeEventListener(_-0fH._-WV, this._-1jx);
            _arg1.removeEventListener(_-0fH._-1MR, this._-0w1);
        }
        private function _-4lc(_arg1:_-0Lw):void
        {
            var _local5:Bitmap;
            if (_arg1 == null)
            {
                return;
            };
            if (!this.createWindow())
            {
                return;
            };
            if (this._-4Gj != null)
            {
                this._-4Gj.dispose();
            };
            this._-4Gj = _arg1.image;
            this._-03A = _arg1.clickUrl;
            var k:IDisplayObjectWrapper = (this._-0xv.findChildByName("image") as IDisplayObjectWrapper);
            if (k == null)
            {
                return;
            };
            var k:int = Math.max(0, (this._-4Gj.width - k.width));
            var k:int = Math.max(0, (this._-4Gj.height - k.height));
            this._-0xv.scale(k, k);
            if (this._-02m == null)
            {
                this._-02m = new Sprite();
                this._-02m.addChild(new Bitmap(this._-4Gj));
                this._-02m.addEventListener(MouseEvent.CLICK, this._-0Cq);
            }
            else
            {
                _local5 = (this._-02m.getChildAt(0) as Bitmap);
                if (_local5 != null)
                {
                    _local5.bitmapData = this._-4Gj;
                };
            };
            k.setDisplayObject(this._-02m);
            this._-0xv.visible = true;
            this._-0xv.center();
        }
        private function _-1jx(_arg1:_-0fH):void
        {
            if ((((_arg1 == null)) || (!((_arg1.type == _-0fH._-WV)))))
            {
                return;
            };
            if (!this.createWindow())
            {
                return;
            };
            this._-0xv.visible = true;
            this._-0xv.center();
        }
        private function _-0w1(_arg1:_-0fH):void
        {
            if ((((_arg1 == null)) || (!((_arg1.type == _-0fH._-1MR)))))
            {
                return;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function createWindow():Boolean
        {
            var k:int;
            if (this._-0xv != null)
            {
                return (true);
            };
            var k:_-243 = (assets.getAssetByName("room_loading_bar") as _-243);
            if (k == null)
            {
                return (false);
            };
            this._-0xv = (windowManager.buildFromXML((k.content as XML)) as IBorderWindow);
            if (this._-0xv == null)
            {
                return (false);
            };
            this._-0xv.visible = false;
            var k:IRegionWindow = (this._-0xv.findChildByName("region") as IRegionWindow);
            if (k != null)
            {
            };
            var k:IDisplayObjectWrapper = (this._-0xv.findChildByName("image") as IDisplayObjectWrapper);
            if (k != null)
            {
                k = k.height;
                this._-0xv.scale(0, -(k));
            };
            return (true);
        }
        private function _-3Zl():void
        {
            if (!this.createWindow())
            {
                return;
            };
            this._-0xv.visible = true;
            this._-0xv.center();
        }
        private function _-0Cq(_arg1:Event):void
        {
            if (this._-03A != "")
            {
                _-11j._-0D8(this._-03A);
            };
        }

    }
}//package _-2DK

//------------------------------------------------------------
//_-2EA._-1O8

package _-2EA
{
    import _-4Aj._-7V;
    import _-2ob._-3kC;
    import _-4Aj.*;

    public class _-1O8 extends _-7V implements _-0tL 
    {

        public function _-1O8(_arg1:Function)
        {
            super(_arg1, _-3kC);
        }
        public function _-3-5():_-3kC
        {
            return ((_-515 as _-3kC));
        }

    }
}//package _-2EA

//------------------------------------------------------------
//_-2EA._-2qt

package _-2EA
{
    import _-4Aj._-7V;
    import _-2ob._-1Bz;
    import _-4Aj.*;

    public class _-2qt extends _-7V implements _-0tL 
    {

        public function _-2qt(_arg1:Function)
        {
            super(_arg1, _-1Bz);
        }
        public function _-3-5():_-1Bz
        {
            return ((_-515 as _-1Bz));
        }

    }
}//package _-2EA

//------------------------------------------------------------
//_-2EA._-3Hz

package _-2EA
{
    import _-4Aj._-7V;
    import _-2ob._-28j;
    import _-4Aj.*;

    public class _-3Hz extends _-7V implements _-0tL 
    {

        public function _-3Hz(_arg1:Function)
        {
            super(_arg1, _-28j);
        }
        public function _-3-5():_-28j
        {
            return ((_-515 as _-28j));
        }

    }
}//package _-2EA

//------------------------------------------------------------
//_-2eC._-1Jb

package _-2eC
{
    import flash.geom.Matrix;
    import flash.geom.ColorTransform;
    import flash.filters.ColorMatrixFilter;
    import _-3EM._-47w;
    import flash.display.BitmapData;
    import _-09j._-az;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import flash.geom.Rectangle;

    public class _-1Jb extends SkinRenderer 
    {

        protected static const _-8Q:Matrix = new Matrix();
        protected static const _-tp:ColorTransform = new ColorTransform();
        protected static const _-0fB:ColorTransform = new ColorTransform(0, 0, 0, 1, 1, 1, 1, 0);
        protected static const _-4kU:ColorMatrixFilter = new ColorMatrixFilter();
        protected static const _-4LG:Number = 0.212671;
        protected static const _-3qC:Number = 0.71516;
        protected static const _-19H:Number = 0.072169;

        public function _-1Jb(_arg1:String)
        {
            super(_arg1);
        }
        override public function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void
        {
            var k:int;
            var k:int;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:_-47w = (_arg1 as _-47w);
            var k:BitmapData = k.bitmapData;
            if (((!((_arg2 == null))) && (!((k == null)))))
            {
                k = (((k.stretchedX) ? _arg1.width : k.width) * k._-yR);
                k = (((k.stretchedY) ? _arg1.height : k.height) * k._-394);
                _-8Q.a = (k / k.width);
                _-8Q.d = (k / k.height);
                switch (k.pivotPoint)
                {
                    case _-az.TOP_LEFT:
                    case _-az._-11q:
                    case _-az._-4oo:
                        _-8Q.tx = (((k._-yR < 0)) ? -(k) : 0);
                        break;
                    case _-az._-4qK:
                    case _-az.CENTER:
                    case _-az._-2QU:
                        _-8Q.tx = int(((_arg1.width - k) / 2));
                        break;
                    case _-az._-02y:
                    case _-az._-Qe:
                    case _-az._-0vs:
                        _-8Q.tx = (((k._-yR < 0)) ? _arg1.width : (_arg1.width - k));
                        break;
                };
                switch (k.pivotPoint)
                {
                    case _-az.TOP_LEFT:
                    case _-az._-4qK:
                    case _-az._-02y:
                        _-8Q.ty = (((k._-394 < 0)) ? -(k) : 0);
                        break;
                    case _-az._-11q:
                    case _-az.CENTER:
                    case _-az._-Qe:
                        _-8Q.ty = int(((_arg1.height - k) / 2));
                        break;
                    case _-az._-4oo:
                    case _-az._-2QU:
                    case _-az._-0vs:
                        _-8Q.ty = (((k._-394 < 0)) ? _arg1.height : (_arg1.height - k));
                        break;
                };
                k = (((_arg1.color & 0xFF0000) >> 16) / 0xFF);
                k = (((_arg1.color & 0xFF00) >> 8) / 0xFF);
                k = ((_arg1.color & 0xFF) / 0xFF);
                _-0fB.alphaMultiplier = (((k.etchingColor >> 24) & 0xFF) / 0xFF);
                _-0fB.redOffset = ((k.etchingColor >> 16) & 0xFF);
                _-0fB.greenOffset = ((k.etchingColor >> 8) & 0xFF);
                _-0fB.blueOffset = (k.etchingColor & 0xFF);
                _arg2.lock();
                if (k.greyscale)
                {
                    _-4kU.matrix = [(k * _-4LG), (k * _-3qC), (k * _-19H), 0, 0, (k * _-4LG), (k * _-3qC), (k * _-19H), 0, 0, (k * _-4LG), (k * _-3qC), (k * _-19H), 0, 0, 0, 0, 0, 1, 0];
                    if (_-0fB.alphaMultiplier >= 0.001)
                    {
                        _-8Q.ty = (_-8Q.ty + 1);
                        _arg2.draw(k, _-8Q, _-0fB, null, null, false);
                        _-8Q.ty = (_-8Q.ty - 1);
                    };
                    _arg2.draw(k, _-8Q, null, null, null, false);
                    _arg2.applyFilter(_arg2, _arg2.rect, new Point(), _-4kU);
                }
                else
                {
                    _-tp.redMultiplier = k;
                    _-tp.greenMultiplier = k;
                    _-tp.blueMultiplier = k;
                    if (_-0fB.alphaMultiplier >= 0.001)
                    {
                        _-8Q.ty = (_-8Q.ty + 1);
                        _arg2.draw(k, _-8Q, _-0fB, null, null, false);
                        _-8Q.ty = (_-8Q.ty - 1);
                    };
                    _arg2.draw(k, _-8Q, _-tp, null, null, false);
                };
                _arg2.unlock();
            };
        }
        override public function isStateDrawable(_arg1:uint):Boolean
        {
            return ((_arg1 == 0));
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-1VN

package _-2eC
{
    import _-295._-2kE;

    public class _-1VN extends _-3Ux 
    {

        public function _-1VN(_arg1:String, _arg2:_-2kE)
        {
            super(_arg1, _arg2);
        }
    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-29B

package _-2eC
{
    import flash.geom.Rectangle;

    public class _-29B implements ISkinTemplateEntity 
    {

        protected var _-0Kq:uint;
        protected var _name:String;
        protected var _-5K:String;
        protected var _-Gw:Rectangle;

        public function _-29B(_arg1:String, _arg2:String, _arg3:uint, _arg4:Rectangle)
        {
            this._-0Kq = _arg3;
            this._name = _arg1;
            this._-5K = _arg2;
            this._-Gw = _arg4;
        }
        public function get id():uint
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get region():Rectangle
        {
            return (this._-Gw);
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-2i6

package _-2eC
{
    import _-3EM.ChildEntityArray;
    import flash.geom.Rectangle;
    import _-3EM._-AA;

    public class _-2i6 extends ChildEntityArray implements ISkinLayout 
    {

        protected var _name:String;
        protected var _-0Dz:uint;
        protected var _height:uint;
        protected var _-56m:String;
        protected var _-2a-:Boolean;

        public function _-2i6(_arg1:String, _arg2:Boolean, _arg3:String)
        {
            this._name = _arg1;
            this._-0Dz = 0;
            this._height = 0;
            this._-56m = _arg3;
            this._-2a- = _arg2;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get width():uint
        {
            return (this._-0Dz);
        }
        public function get height():uint
        {
            return (this._height);
        }
        public function get blendMode():String
        {
            return (this._-56m);
        }
        public function get transparent():Boolean
        {
            return (this._-2a-);
        }
        public function dispose():void
        {
            var k:uint;
            var k:uint = numChildren;
            k = 0;
            while (k < k)
            {
                _-3cR(this.removeChildAt(0)).dispose();
                k++;
            };
        }
        public function _-2hw(_arg1:Rectangle):void
        {
            var k:Rectangle;
            var k:_-3cR;
            var k:uint;
            var k:uint = numChildren;
            _arg1.x = 0xFFFFFFFF;
            _arg1.y = 0xFFFFFFFF;
            _arg1.width = 0;
            _arg1.height = 0;
            k = 0;
            while (k < k)
            {
                k = (getChildAt(k) as _-3cR);
                k = k.region;
                if (k.left < _arg1.left)
                {
                    _arg1.left = k.left;
                };
                if (k.top < _arg1.top)
                {
                    _arg1.top = k.top;
                };
                if (k.right > _arg1.right)
                {
                    _arg1.right = k.right;
                };
                if (k.bottom > _arg1.bottom)
                {
                    _arg1.bottom = k.bottom;
                };
                k++;
            };
        }
        public function _-2Fa():Boolean
        {
            var k:uint;
            var k:uint = numChildren;
            if (k == 0)
            {
                return (false);
            };
            k = 0;
            while (k < k)
            {
                if (_-3cR(getChildAt(k))._-tT != _-3cR._-0U7)
                {
                    return (false);
                };
                k++;
            };
            return (true);
        }
        public function _-3wl():uint
        {
            var k:Rectangle;
            var k:uint;
            var k:uint;
            var k:uint = numChildren;
            k = 0;
            while (k < k)
            {
                k = _-3cR(getChildAt(k)).region;
                if (k.right > k)
                {
                    k = k.right;
                };
                k++;
            };
            return (k);
        }
        public function _-3og():Boolean
        {
            var k:uint;
            var k:uint = numChildren;
            if (k == 0)
            {
                return (false);
            };
            k = 0;
            while (k < k)
            {
                if (_-3cR(getChildAt(k))._-wb != _-3cR._-0U7)
                {
                    return (false);
                };
                k++;
            };
            return (true);
        }
        public function _-0AP():uint
        {
            var k:Rectangle;
            var k:uint;
            var k:uint;
            var k:uint = numChildren;
            k = 0;
            while (k < k)
            {
                k = _-3cR(getChildAt(k)).region;
                if (k.bottom > k)
                {
                    k = k.bottom;
                };
                k++;
            };
            return (k);
        }
        public function _-1l3(_arg1:String, _arg2:Rectangle):void
        {
            var k:_-3cR = (getChildByName(_arg1) as _-3cR);
            if (k == null)
            {
                throw (new Error((("Entity not found: " + _arg1) + "!")));
            };
            _arg2.x = k.region.x;
            _arg2.y = k.region.y;
            _arg2.width = k.region.width;
            _arg2.height = k.region.height;
        }
        override public function addChild(_arg1:_-AA):_-AA
        {
            var k:_-3cR = _-3cR(_arg1);
            this._-0Dz = (((k.region.right)>this._-0Dz) ? k.region.right : this._-0Dz);
            this._height = (((k.region.bottom)>this._height) ? k.region.bottom : this._height);
            return (super.addChild(_arg1));
        }
        override public function addChildAt(_arg1:_-AA, _arg2:int):_-AA
        {
            var k:_-3cR = _-3cR(_arg1);
            this._-0Dz = (((k.region.right)>this._-0Dz) ? k.region.right : this._-0Dz);
            this._height = (((k.region.bottom)>this._height) ? k.region.bottom : this._height);
            return (super.addChildAt(_arg1, _arg2));
        }
        override public function removeChild(_arg1:_-AA):_-AA
        {
            super.removeChild(_arg1);
            this._-0Dz = this._-3wl();
            this._height = this._-0AP();
            return (_arg1);
        }
        override public function removeChildAt(_arg1:int):_-AA
        {
            var k:_-AA = super.removeChildAt(_arg1);
            this._-0Dz = this._-3wl();
            this._height = this._-0AP();
            return (k);
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-3cR

package _-2eC
{
    import flash.geom.Rectangle;
    import _-3EM.*;

    public class _-3cR implements _-AA 
    {

        public static const _-0U7:uint = (0 << 0);
        public static const _-3lH:uint = (1 << 0);
        public static const _-0C1:uint = (1 << 1);
        public static const _-03c:uint = (1 << 2);
        public static const _-2tM:uint = (1 << 3);

        private var _-0Kq:uint;
        private var _name:String;
        public var color:uint;
        public var blend:uint;
        public var _-tT:uint;
        public var _-wb:uint;
        public var region:Rectangle;
        public var colorize:Boolean;

        public function _-3cR(_arg1:uint, _arg2:String)
        {
            this._-0Kq = _arg1;
            this._name = _arg2;
        }
        public function get id():uint
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get tags():Array
        {
            return (null);
        }
        public function dispose():void
        {
            this.region = null;
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-3rF

package _-2eC
{
    public class _-3rF extends SkinRenderer 
    {

        public function _-3rF(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-3Ux

package _-2eC
{
    import _-3EM.ChildEntityArray;
    import _-295._-2kE;

    public class _-3Ux extends ChildEntityArray implements ISkinTemplate 
    {

        protected var _name:String;
        protected var _-xd:_-2kE;

        public function _-3Ux(_arg1:String, _arg2:_-2kE)
        {
            this._name = _arg1;
            this._-xd = _arg2;
        }
        public function get id():uint
        {
            return (0);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get asset():_-2kE
        {
            return (this._-xd);
        }
        public function dispose():void
        {
            var k:uint;
            var k:uint = this.numChildren;
            k = 0;
            while (k < k)
            {
                this.removeChildAt(0);
                k++;
            };
            this._-xd = null;
            this._name = null;
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-4HK

package _-2eC
{
    public class _-4HK extends SkinRenderer 
    {

        public function _-4HK(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-4ZY

package _-2eC
{
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;

    public class _-4ZY extends SkinRenderer 
    {

        public function _-4ZY(_arg1:String)
        {
            super(_arg1);
        }
        override public function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void
        {
            _arg2.fillRect(_arg3, _arg1.color);
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC._-pi

package _-2eC
{
    import flash.geom.Rectangle;

    public class _-pi extends _-29B 
    {

        public function _-pi(_arg1:String, _arg2:String, _arg3:uint, _arg4:Rectangle)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC.BitmapSkinRenderer

package _-2eC
{
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import flash.utils.Dictionary;
    import flash.geom.Matrix;
    import flash.geom.ColorTransform;
    import _-3Qs.BitmapSkinParser;
    import _-295._-2kE;
    import _-295._-39L;
    import flash.display.BitmapData;
    import _-09j.WindowState;
    import _-Ew.IWindow;
    import _-bY._-4U6;

    public class BitmapSkinRenderer extends SkinRenderer implements ISkinRenderer 
    {

        protected static const _-506:Rectangle = new Rectangle();
        protected static const _-4-H:Point = new Point();

        protected var _-1fz:Dictionary;
        protected var _-Du:Matrix;
        protected var _-1Cw:ColorTransform;

        public function BitmapSkinRenderer(_arg1:String)
        {
            super(_arg1);
            this._-1fz = new Dictionary(false);
            this._-Du = new Matrix();
            this._-1Cw = new ColorTransform();
        }
        override public function parse(_arg1:_-2kE, _arg2:XMLList, _arg3:_-39L):void
        {
            BitmapSkinParser._-0-t((_arg1.content as XML), _arg2, this, name, _arg3);
        }
        override public function dispose():void
        {
            var k:String;
            var k:BitmapData;
            if (!disposed)
            {
                super.dispose();
                this._-Du = null;
                this._-1Cw = null;
                for (k in this._-1fz)
                {
                    k = (this._-1fz[k] as BitmapData);
                    k.dispose();
                    delete this._-1fz[k];
                };
                this._-1fz = null;
            };
        }
        override public function isStateDrawable(_arg1:uint):Boolean
        {
            return (!((_-Rb[_arg1] == null)));
        }
        override public function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void
        {
            var k:uint;
            var k:_-3cR;
            var k:ISkinTemplateEntity;
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:uint;
            var k:BitmapData;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Point;
            var k:Rectangle;
            var k:Rectangle;
            var k:uint;
            var k:int;
            var _local29:BitmapData;
            var k:ISkinLayout = _-gI[_arg4];
            var k:ISkinTemplate = _-Rb[_arg4];
            if (k == null)
            {
                _-Nb.log(("LAYOUT NULL " + _arg4));
                k = _-gI[WindowState._-50M];
                k = _-Rb[WindowState._-50M];
            };
            k = k.numChildren;
            if (((!((k == null))) && ((k > 0))))
            {
                k = (_arg3.width - k.width);
                k = (_arg3.height - k.height);
                k = ((!(_arg1.background)) && (((_arg1.color & 0xFFFFFF) < 0xFFFFFF)));
                if (k)
                {
                    this._-1Cw.redMultiplier = (((_arg1.color & 0xFF0000) >> 16) / 0xFF);
                    this._-1Cw.greenMultiplier = (((_arg1.color & 0xFF00) >> 8) / 0xFF);
                    this._-1Cw.blueMultiplier = ((_arg1.color & 0xFF) / 0xFF);
                    this._-1Cw.alphaMultiplier = 1;
                };
                k = 0;
                while (k < k)
                {
                    k = (k.getChildAt(k) as _-3cR);
                    k = (k.getChildByName(k.name) as ISkinTemplateEntity);
                    if (k != null)
                    {
                        k = this._-ws(k, k.name);
                        if (((k) && (k.colorize)))
                        {
                            k = k.clone();
                            k.colorTransform(k.rect, this._-1Cw);
                        };
                        k = false;
                        k = false;
                        _-506.x = (k.region.x + _arg3.x);
                        _-506.y = (k.region.y + _arg3.y);
                        _-506.width = k.region.width;
                        _-506.height = k.region.height;
                        if (k._-tT == _-3cR._-3lH)
                        {
                            _-506.x = (_-506.x + k);
                        }
                        else
                        {
                            if (k._-tT == _-3cR._-0C1)
                            {
                                k = true;
                                _-506.right = (_-506.right + k);
                                if (_-506.width < 1) break;
                            }
                            else
                            {
                                if (k._-tT == _-3cR._-03c)
                                {
                                    k = true;
                                    _-506.right = (_-506.right + k);
                                    if (_-506.width < 1) break;
                                }
                                else
                                {
                                    if (k._-tT == _-3cR._-2tM)
                                    {
                                        _-506.x = ((_arg3.width / 2) - (_-506.width / 2));
                                    };
                                };
                            };
                        };
                        if (k._-wb == _-3cR._-3lH)
                        {
                            _-506.y = (_-506.y + k);
                        }
                        else
                        {
                            if (k._-wb == _-3cR._-0C1)
                            {
                                k = true;
                                _-506.bottom = (_-506.bottom + k);
                                if (_-506.height < 1) break;
                            }
                            else
                            {
                                if (k._-wb == _-3cR._-03c)
                                {
                                    k = true;
                                    _-506.bottom = (_-506.bottom + k);
                                    if (_-506.height < 1) break;
                                }
                                else
                                {
                                    if (k._-wb == _-3cR._-2tM)
                                    {
                                        _-506.y = ((_arg3.height / 2) - (_-506.height / 2));
                                    };
                                };
                            };
                        };
                        if (((!(k)) && (!(k))))
                        {
                            _arg2.copyPixels(k, k.rect, _-506.topLeft, null, null, true);
                        }
                        else
                        {
                            if ((((k._-wb == _-3cR._-03c)) || ((k._-tT == _-3cR._-03c))))
                            {
                                k = k.width;
                                k = k.height;
                                k = (_-506.width / k);
                                k = (_-506.height / k);
                                k = (_-506.width % k);
                                k = (_-506.height % k);
                                k = new Point(_-506.x, _-506.y);
                                k = new Rectangle(0, 0, k, k.height);
                                k = new Rectangle(0, 0, k.width, k);
                                k = 0;
                                while (k < k)
                                {
                                    k.x = _-506.x;
                                    k = 0;
                                    while (k < k)
                                    {
                                        _arg2.copyPixels(k, k.rect, k, null, null, true);
                                        k.x = (k.x + k);
                                        k++;
                                    };
                                    if (k > 0)
                                    {
                                        _arg2.copyPixels(k, k, k, null, null, true);
                                    };
                                    k.y = (k.y + k);
                                    k++;
                                };
                                if (k > 0)
                                {
                                    k.x = _-506.x;
                                    k = 0;
                                    while (k < k)
                                    {
                                        _arg2.copyPixels(k, k, k, null, null, true);
                                        k.x = (k.x + k);
                                        k++;
                                    };
                                };
                            }
                            else
                            {
                                if ((((k.width == 1)) && ((k.height == 1))))
                                {
                                    this._-Du.a = _-506.width;
                                    this._-Du.d = _-506.height;
                                    this._-Du.tx = _-506.x;
                                    this._-Du.ty = _-506.y;
                                    _arg2.draw(k, this._-Du);
                                }
                                else
                                {
                                    this._-Du.a = (_-506.width / k.width);
                                    this._-Du.d = (_-506.height / k.height);
                                    this._-Du.tx = 0;
                                    this._-Du.ty = 0;
                                    _local29 = new BitmapData(_-506.width, _-506.height, true, 0);
                                    _local29.draw(k, this._-Du);
                                    _arg2.copyPixels(_local29, _local29.rect, _-506.topLeft, null, null, true);
                                    _local29.dispose();
                                };
                            };
                        };
                        if (((k) && (k.colorize)))
                        {
                            k.dispose();
                        };
                    };
                    k++;
                };
            };
        }
        protected function _-0UL(_arg1:BitmapData, _arg2:Rectangle, _arg3:ISkinLayout, _arg4:_-3cR, _arg5:ISkinTemplate, _arg6:ISkinTemplateEntity):void
        {
            var _local8:BitmapData;
            var k:Rectangle = _arg4.region.clone();
            k.x = (k.x + _arg2.x);
            k.y = (k.y + _arg2.y);
            switch (_arg6.type)
            {
                case "bitmap":
                    _local8 = this._-ws(_arg5, _arg4.name);
                    if (_arg4._-tT == _-3cR._-3lH)
                    {
                        k.x = (k.x + (_arg2.width - _arg3.width));
                    };
                    if (_arg4._-wb == _-3cR._-3lH)
                    {
                        k.y = (k.y + (_arg2.height - _arg3.height));
                    };
                    _arg1.copyPixels(_local8, _local8.rect, k.topLeft, null, null, true);
                    return;
                case "fill":
                    _arg1.fillRect(k, _arg4.color);
                    return;
            };
        }
        protected function _-ws(_arg1:ISkinTemplate, _arg2:String):BitmapData
        {
            var k:ISkinTemplateEntity;
            var k:BitmapData;
            var k:String = ((_arg2 + "@") + _arg1.name);
            var k:BitmapData = this._-1fz[k];
            if (k == null)
            {
                k = (_arg1.getChildByName(_arg2) as ISkinTemplateEntity);
                if (k == null)
                {
                    throw (new Error((("Template entity" + _arg2) + "not found!")));
                };
                k = (_arg1.asset.content as BitmapData);
                if (k == null)
                {
                    throw (new Error((("Asset " + _arg1.asset) + " not found!")));
                };
                k = new _-4U6(this, k.region.width, k.region.height, true);
                k.copyPixels(k, k.region, _-4-H);
                this._-1fz[k] = k;
            };
            return (k);
        }
        private function _-RQ(_arg1:BitmapData, _arg2:Rectangle, _arg3:uint):void
        {
            var k:int;
            var k:int = (_arg2.bottom - 1);
            k = _arg2.left;
            while (k < (_arg2.right - 1))
            {
                _arg1.setPixel32(k, 0, _arg3);
                _arg1.setPixel32(k, k, _arg3);
                k++;
            };
            k = _arg2.top;
            while (k < (_arg2.bottom - 1))
            {
                _arg1.setPixel32(0, k, _arg3);
                _arg1.setPixel32(k, k, _arg3);
                k++;
            };
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC.ISkinLayout

package _-2eC
{
    import flash.geom.Rectangle;
    import _-3EM.*;

    public interface ISkinLayout extends _-3co 
    {

        function get name():String;
        function get width():uint;
        function get height():uint;
        function get blendMode():String;
        function get transparent():Boolean;
        function dispose():void;
        function _-2Fa():Boolean;
        function _-3og():Boolean;
        function _-1l3(_arg1:String, _arg2:Rectangle):void;

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC.ISkinRenderer

package _-2eC
{
    import _-295._-2kE;
    import _-295._-39L;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import _-1B-.*;

    public interface ISkinRenderer extends _-1zZ 
    {

        function get name():String;
        function parse(_arg1:_-2kE, _arg2:XMLList, _arg3:_-39L):void;
        function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void;
        function isStateDrawable(_arg1:uint):Boolean;
        function _-49-(_arg1:ISkinLayout):ISkinLayout;
        function _-4ue(_arg1:String):ISkinLayout;
        function _-0KG(_arg1:ISkinLayout):ISkinLayout;
        function _-04W(_arg1:uint):ISkinLayout;
        function _-15E(_arg1:uint, _arg2:String):void;
        function _-4qG(_arg1:uint):void;
        function _-1y6(_arg1:uint):Boolean;
        function _-1go(_arg1:ISkinTemplate):ISkinTemplate;
        function _-0uw(_arg1:String):ISkinTemplate;
        function _-3ih(_arg1:ISkinTemplate):ISkinTemplate;
        function _-13H(_arg1:uint):ISkinTemplate;
        function _-3HO(_arg1:uint, _arg2:String):void;
        function _-2nN(_arg1:uint):void;
        function _-1M4(_arg1:uint):Boolean;

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC.ISkinTemplate

package _-2eC
{
    import _-295._-2kE;
    import _-3EM.*;

    public interface ISkinTemplate extends _-3co, _-AA 
    {

        function get asset():_-2kE;
        function dispose():void;

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC.ISkinTemplateEntity

package _-2eC
{
    import flash.geom.Rectangle;
    import _-3EM.*;

    public interface ISkinTemplateEntity extends _-AA 
    {

        function get type():String;
        function get region():Rectangle;

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC.LabelRenderer

package _-2eC
{
    import flash.geom.ColorTransform;
    import flash.geom.Matrix;
    import _-3EM.TextStyle;
    import flash.text.TextField;
    import _-1ae.TextLabelController;
    import _-3EM.TextFieldCache;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;

    public class LabelRenderer extends SkinRenderer 
    {

        private static const _-1Cq:ColorTransform = new ColorTransform(0, 0, 0, 1, 0xFF, 0xFF, 0xFF, 0);

        protected var _-3xF:Matrix;
        protected var _-8a:TextStyle;
        protected var _-08q:TextField;

        public function LabelRenderer(_arg1:String)
        {
            super(_arg1);
            this._-3xF = new Matrix();
        }
        override public function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void
        {
            var k:TextLabelController;
            var k:TextStyle;
            var k:uint;
            var k:Object;
            if (_arg2 != null)
            {
                k = TextLabelController(_arg1);
                k = k._-5-G;
                if (k != this._-8a)
                {
                    this._-08q = TextFieldCache._-1-N(k);
                    this._-8a = k;
                };
                this._-3xF.tx = k._-1Iw;
                this._-3xF.ty = k._-1HF;
                this._-08q.text = k.text;
                k = uint(k.color);
                this._-08q.textColor = ((k._-0xe) ? k.textColor : k);
                if (k.vertical)
                {
                    this._-3xF.a = 0;
                    this._-3xF.b = -1;
                    this._-3xF.c = 1;
                    this._-3xF.d = 0;
                    this._-3xF.ty = (this._-3xF.ty + k.height);
                };
                if ((uint(k.etchingColor) & 0xFF000000) != 0)
                {
                    _-1Cq.redOffset = ((uint(k.etchingColor) >> 16) & 0xFF);
                    _-1Cq.greenOffset = ((uint(k.etchingColor) >> 8) & 0xFF);
                    _-1Cq.blueOffset = (uint(k.etchingColor) & 0xFF);
                    k = _-300[k.etchingPosition];
                    if (k != null)
                    {
                        if (k.vertical)
                        {
                            this._-3xF.tx = (this._-3xF.tx + k.y);
                            this._-3xF.ty = (this._-3xF.ty - k.x);
                            _arg2.draw(this._-08q, this._-3xF, _-1Cq, null, null, false);
                            this._-3xF.tx = (this._-3xF.tx - k.y);
                            this._-3xF.ty = (this._-3xF.ty + k.x);
                        }
                        else
                        {
                            this._-3xF.tx = (this._-3xF.tx + k.x);
                            this._-3xF.ty = (this._-3xF.ty + k.y);
                            _arg2.draw(this._-08q, this._-3xF, _-1Cq, null, null, false);
                            this._-3xF.tx = (this._-3xF.tx - k.x);
                            this._-3xF.ty = (this._-3xF.ty - k.y);
                        };
                    };
                };
                _arg2.draw(this._-08q, this._-3xF, null, null, null, false);
                if (k.vertical)
                {
                    this._-3xF.a = 1;
                    this._-3xF.b = 0;
                    this._-3xF.c = 0;
                    this._-3xF.d = 1;
                    this._-3xF.ty = (this._-3xF.ty - k.height);
                };
                this._-08q.textColor = k;
            };
        }
        override public function isStateDrawable(_arg1:uint):Boolean
        {
            return ((_arg1 == 0));
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC.SkinRenderer

package _-2eC
{
    import flash.utils.Dictionary;
    import _-3EM.TextStyle;
    import _-295._-2kE;
    import _-295._-39L;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;

    public class SkinRenderer implements ISkinRenderer 
    {

        protected static const _-300:Dictionary = new Dictionary();

        private var _name:String;
        private var _disposed:Boolean = false;
        protected var try:Dictionary;
        protected var _-Rb:Dictionary;
        protected var _-0jW:Dictionary;
        protected var _-gI:Dictionary;

        {
            _-300[TextStyle.TOP_LEFT] = {
                x:-1,
                y:-1
            };
            _-300[TextStyle._-2wo] = {
                x:0,
                y:-1
            };
            _-300[TextStyle._-02y] = {
                x:1,
                y:-1
            };
            _-300[TextStyle.LEFT] = {
                x:-1,
                y:0
            };
            _-300[TextStyle.RIGHT] = {
                x:1,
                y:0
            };
            _-300[TextStyle._-4oo] = {
                x:-1,
                y:1
            };
            _-300[TextStyle._-3KL] = {
                x:0,
                y:1
            };
            _-300[TextStyle._-0vs] = {
                x:1,
                y:1
            };
        }
        public function SkinRenderer(_arg1:String)
        {
            this._name = _arg1;
            this.try = new Dictionary();
            this._-Rb = new Dictionary();
            this._-0jW = new Dictionary();
            this._-gI = new Dictionary();
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function parse(_arg1:_-2kE, _arg2:XMLList, _arg3:_-39L):void
        {
        }
        public function dispose():void
        {
            var k:String;
            if (!this._disposed)
            {
                for (k in this._-0jW)
                {
                    ISkinLayout(this._-0jW[k]).dispose();
                    delete this._-0jW[k];
                };
                this._-0jW = null;
                this._-gI = null;
                for (k in this.try)
                {
                    ISkinTemplate(this.try[k]).dispose();
                    delete this.try[k];
                };
                this.try = null;
                this._-Rb = null;
            };
        }
        public function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void
        {
        }
        public function isStateDrawable(_arg1:uint):Boolean
        {
            return (false);
        }
        public function _-04W(_arg1:uint):ISkinLayout
        {
            return (this._-gI[_arg1]);
        }
        public function _-15E(_arg1:uint, _arg2:String):void
        {
            var k:ISkinLayout = this._-0jW[_arg2];
            if (k == null)
            {
                throw (new Error((('Layout "' + _arg2) + '" not found in renderer!')));
            };
            this._-gI[_arg1] = k;
        }
        public function _-4qG(_arg1:uint):void
        {
            delete this._-gI[_arg1];
        }
        public function _-1y6(_arg1:uint):Boolean
        {
            return (!((this._-gI[_arg1] == null)));
        }
        public function _-13H(_arg1:uint):ISkinTemplate
        {
            return (this._-Rb[_arg1]);
        }
        public function _-3HO(_arg1:uint, _arg2:String):void
        {
            var k:ISkinTemplate = this.try[_arg2];
            if (k == null)
            {
                throw (new Error((('Template "' + _arg2) + '" not found in renderer!')));
            };
            this._-Rb[_arg1] = k;
        }
        public function _-2nN(_arg1:uint):void
        {
            delete this._-Rb[_arg1];
        }
        public function _-1M4(_arg1:uint):Boolean
        {
            return (!((this._-Rb[_arg1] == null)));
        }
        public function _-49-(_arg1:ISkinLayout):ISkinLayout
        {
            this._-0jW[_arg1.name] = _arg1;
            return (_arg1);
        }
        public function _-4ue(_arg1:String):ISkinLayout
        {
            return (this._-0jW[_arg1]);
        }
        public function _-0KG(_arg1:ISkinLayout):ISkinLayout
        {
            var k:Object;
            var k:uint;
            k = this.try[_arg1.name];
            if (k != null)
            {
                for (k in this._-gI)
                {
                    k = (k as uint);
                    if (this._-gI[k] == k)
                    {
                        this._-4qG(k);
                    };
                };
                delete this._-0jW[k.name];
            };
            return (k);
        }
        public function _-1go(_arg1:ISkinTemplate):ISkinTemplate
        {
            this.try[_arg1.name] = _arg1;
            return (_arg1);
        }
        public function _-0uw(_arg1:String):ISkinTemplate
        {
            return (this.try[_arg1]);
        }
        public function _-3ih(_arg1:ISkinTemplate):ISkinTemplate
        {
            var k:Object;
            var k:uint;
            k = this.try[_arg1.name];
            if (k != null)
            {
                for (k in this._-Rb)
                {
                    k = (k as uint);
                    if (this._-Rb[k] == k)
                    {
                        this._-2nN(k);
                    };
                };
                delete this.try[k.name];
            };
            return (k);
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2eC.TextSkinRenderer

package _-2eC
{
    import flash.geom.ColorTransform;
    import flash.geom.Matrix;
    import _-3EM.TextStyleManager;
    import _-295._-2kE;
    import _-295._-39L;
    import _-3EM._-0-3;
    import _-1ae.ITextWindow;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;

    public class TextSkinRenderer extends SkinRenderer 
    {

        private static const _-1Cq:ColorTransform = new ColorTransform(0, 0, 0, 1, 0xFF, 0xFF, 0xFF, 0);

        protected var _-3xF:Matrix;

        public function TextSkinRenderer(_arg1:String)
        {
            super(_arg1);
            this._-3xF = new Matrix();
        }
        override public function parse(_arg1:_-2kE, _arg2:XMLList, _arg3:_-39L):void
        {
            var k:String = _arg1.content.toString();
            TextStyleManager._-0kK(TextStyleManager.parseCSS(k));
        }
        override public function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void
        {
            var k:_-0-3;
            var k:ITextWindow;
            var k:String;
            var k:TextField;
            var k:Object;
            if (_arg2 != null)
            {
                k = _-0-3(_arg1);
                k = ITextWindow(_arg1);
                k = k.autoSize;
                k = k.textField;
                this._-3xF.tx = k.margins.left;
                this._-3xF.ty = k.margins.top;
                if (k == TextFieldAutoSize.RIGHT)
                {
                    this._-3xF.tx = Math.floor((_arg1.width - k.width));
                }
                else
                {
                    if (k == TextFieldAutoSize.CENTER)
                    {
                        this._-3xF.tx = Math.floor(((_arg1.width / 2) - (k.width / 2)));
                    };
                };
                if ((uint(k.etchingColor) & 0xFF000000) != 0)
                {
                    _-1Cq.redOffset = ((k.etchingColor >> 16) & 0xFF);
                    _-1Cq.greenOffset = ((k.etchingColor >> 8) & 0xFF);
                    _-1Cq.blueOffset = (k.etchingColor & 0xFF);
                    _-1Cq.alphaMultiplier = (((k.etchingColor >> 24) & 0xFF) / 0xFF);
                    k = _-300[k.etchingPosition];
                    if (k != null)
                    {
                        this._-3xF.tx = (this._-3xF.tx + k.x);
                        this._-3xF.ty = (this._-3xF.ty + k.y);
                        _arg2.draw(k, this._-3xF, _-1Cq, null, null, false);
                        this._-3xF.tx = (this._-3xF.tx - k.x);
                        this._-3xF.ty = (this._-3xF.ty - k.y);
                    };
                };
                _arg2.draw(k, this._-3xF, null, null, null, false);
            };
        }
        override public function isStateDrawable(_arg1:uint):Boolean
        {
            return ((_arg1 == 0));
        }

    }
}//package _-2eC

//------------------------------------------------------------
//_-2EI._-0q9

package _-2EI
{
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-og._-0LN;
    import flash.events.IEventDispatcher;
    import _-og._-3AZ;
    import _-1FD._-3Eq;

    public class _-0q9 extends StickieFurniWidget 
    {

        private var _location:String = "";

        public function _-0q9(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null)
        {
            _-37c = "spamwall_postit_container";
            super(_arg1, _arg2, _arg3);
        }
        override public function dispose():void
        {
            _-44i = -1;
            this._location = "";
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            _arg1.addEventListener(_-0LN._-2F8, this._-3iq);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-0LN._-2F8, this._-3iq);
        }
        override protected function onObjectUpdate(_arg1:_-3AZ):void
        {
        }
        private function _-3iq(_arg1:_-0LN):void
        {
            _-0of(false);
            _-44i = _arg1._-mx;
            this._location = _arg1.location;
            _-39b = _arg1._-2zd;
            _text = "";
            _-22L = "FFFF33";
            _-513 = true;
            _-3Zl();
        }
        override protected function sendUpdate():void
        {
            var k:_-3Eq;
            if (_-44i != -1)
            {
                _-1o7();
                _-Nb.log("Spamwall Post-It Widget Send Update");
                if (messageListener != null)
                {
                    k = new _-3Eq(_-3Eq._-mz, _-44i, this._location, _text, _-22L);
                    messageListener.processWidgetMessage(k);
                };
                _-0of(false);
            };
        }
        override protected function sendSetColor(_arg1:uint):void
        {
            _-1o7();
            var k:String = _arg1.toString(16).toUpperCase();
            if (k.length > 6)
            {
                k = k.slice((k.length - 6), k.length);
            };
            if (k == _-22L)
            {
                return;
            };
            _-22L = k;
            _-3Zl();
        }
        override protected function sendDelete():void
        {
            _-0of(false);
        }

    }
}//package _-2EI

//------------------------------------------------------------
//_-2EI.StickieFurniWidget

package _-2EI
{
    import _-FP._-2ul;
    import _-Ew.IWindowContainer;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-og._-3AZ;
    import flash.events.IEventDispatcher;
    import _-1ae.ITextFieldWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-2kE;
    import _-295._-243;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-0Ie.WindowEvent;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-1FD._-1px;

    public class StickieFurniWidget extends _-2ul 
    {

        private static const _-0Qq:int = 14;
        private static const _-3Ck:int = 500;
        private static const _-3SS:Number = 100;
        private static const _-OU:Number = 100;

        private var _-0xv:IWindowContainer;
        protected var _-44i:int = -1;
        protected var _-39b:String;
        protected var _text:String;
        protected var _-22L:String;
        protected var _-513:Boolean;
        protected var _-37c:String = "stickieui_container";

        public function StickieFurniWidget(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
        protected function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        override public function dispose():void
        {
            if (disposed)
            {
                return;
            };
            this._-0of();
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-3AZ._-3d9, this.onObjectUpdate);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-3AZ._-3d9, this.onObjectUpdate);
        }
        protected function onObjectUpdate(_arg1:_-3AZ):void
        {
            this._-0of(false);
            this._-44i = _arg1._-mx;
            this._-39b = _arg1._-2zd;
            this._text = _arg1.text;
            this._-22L = _arg1._-2vn;
            this._-513 = _arg1.controller;
            this._-3Zl();
        }
        protected function _-3Zl():void
        {
            var k:ITextFieldWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:IBitmapWrapperWindow;
            if (this._-44i == -1)
            {
                return;
            };
            var k:_-2kE = assets.getAssetByName("stickie");
            if (k == null)
            {
                return;
            };
            var k:_-243 = _-243(k);
            if (k == null)
            {
                return;
            };
            if (this._-0xv == null)
            {
                this._-0xv = (windowManager.createWindow(this._-37c, "", _-4Pi._-0Dc, _-29z._-3dr, (_-3hb._-0l | _-3hb._-0g6), new Rectangle(_-3SS, _-OU, 2, 2), null, 0) as IWindowContainer);
                this._-0xv.buildFromXML(XML(k.content));
            };
            k = (this._-0xv.findChildByName("text") as ITextFieldWindow);
            if (k != null)
            {
                k.text = this._text;
                k.addEventListener(WindowEvent._-0cZ, this._-18);
            };
            k = (this._-0xv.findChildByTag("bg") as IBitmapWrapperWindow);
            if (k != null)
            {
                if (this._-39b == "post_it_vd")
                {
                    k = (assets.getAssetByName("stickie_vd") as BitmapDataAsset);
                }
                else
                {
                    k = (assets.getAssetByName("stickie_blanco") as BitmapDataAsset);
                    k.color = uint(("0xFF" + this._-22L));
                };
                k = (k.content as BitmapData);
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
            };
            k = (this._-0xv.findChildByTag("close_button") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (assets.getAssetByName("stickie_close") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            k = (this._-0xv.findChildByTag("delete_button") as IBitmapWrapperWindow);
            if (((!((k == null))) && (this._-513)))
            {
                k = (assets.getAssetByName("stickie_remove") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            this._-0V0(((this._-513) && ((this._-39b == "post_it"))));
        }
        protected function _-0of(_arg1:Boolean=true):void
        {
            if (_arg1)
            {
                this.sendUpdate();
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-44i = -1;
            this._text = null;
            this._-513 = false;
        }
        private function _-0V0(_arg1:Boolean):void
        {
            var k:IWindow;
            var k:Array = new Array("blue", "purple", "green", "yellow");
            var k:int;
            while (k <= k.length)
            {
                k = this._-0xv.findChildByName(k[k]);
                if (k != null)
                {
                    if (_arg1)
                    {
                        k.visible = true;
                        k.addEventListener(WindowMouseEvent._-90, this._-2yr);
                    }
                    else
                    {
                        k.visible = false;
                    };
                };
                k++;
            };
        }
        protected function _-1o7():Boolean
        {
            var k:ITextFieldWindow = (this._-0xv.findChildByName("text") as ITextFieldWindow);
            if (k == null)
            {
                return (false);
            };
            if (this._text == k.text)
            {
                return (false);
            };
            this._text = k.text;
            return (true);
        }
        protected function sendUpdate():void
        {
            var k:_-1px;
            if (this._-44i == -1)
            {
                return;
            };
            if (!this._-1o7())
            {
                return;
            };
            if (messageListener != null)
            {
                k = new _-1px(_-1px._-2rf, this._-44i, this._text, this._-22L);
                messageListener.processWidgetMessage(k);
            };
        }
        protected function sendSetColor(_arg1:uint):void
        {
            var k:_-1px;
            if (this._-44i == -1)
            {
                return;
            };
            this._-1o7();
            var k:String = _arg1.toString(16).toUpperCase();
            if (k.length > 6)
            {
                k = k.slice((k.length - 6), k.length);
            };
            if (k == this._-22L)
            {
                return;
            };
            this._-22L = k;
            if (messageListener != null)
            {
                k = new _-1px(_-1px._-2rf, this._-44i, this._text, this._-22L);
                messageListener.processWidgetMessage(k);
            };
            this._-3Zl();
        }
        protected function sendDelete():void
        {
            var k:_-1px;
            if (this._-44i == -1)
            {
                return;
            };
            if (((!((messageListener == null))) && (this._-513)))
            {
                k = new _-1px(_-1px._-2Ao, this._-44i);
                messageListener.processWidgetMessage(k);
            };
        }
        private function _-18(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow;
            k = (this._-0xv.findChildByName("text") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            k.maxChars = _-3Ck;
            if (k.numLines < _-0Qq)
            {
                return;
            };
            k.text = k.text.slice(0, (k.text.length - 1));
            k.maxChars = k.length;
        }
        protected function _-2yr(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "blue":
                case "purple":
                case "green":
                case "yellow":
                    this.sendSetColor(k.color);
                    return;
                case "close":
                    this._-0of();
                    return;
                case "delete":
                    this.sendDelete();
                    this._-0of(false);
                    return;
            };
        }

    }
}//package _-2EI

//------------------------------------------------------------
//_-2eW._-08J

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-08J implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-08J(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4);
            if (_arg5 != _-P-._-2Em)
            {
                this._-4Nw.push(_arg5);
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-0Dw

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0Dw implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0Dw(_arg1:int, _arg2:String, _arg3:String, _arg4:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            if (_arg4 != _-P-._-2Em)
            {
                this._-4Nw.push(_arg4);
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-1ff

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1ff implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1ff(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-1sr

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1sr implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1sr(_arg1:int, _arg2:String, _arg3:String, _arg4:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            if (_arg4 != _-P-._-2Em)
            {
                this._-4Nw.push(_arg4);
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-2je

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2je implements _-1oF, _-1zZ 
    {

        public static const _-2Em:int = -1;

        private var _-4Nw:Array;

        public function _-2je(_arg1:int, _arg2:String, _arg3:int, _arg4:String, _arg5:String, _arg6:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4);
            this._-4Nw.push(_arg5);
            if (_arg6 != _-2Em)
            {
                this._-4Nw.push(_arg6);
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-2ku

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2ku implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2ku(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-3e1

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3e1 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3e1(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-3j0

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3j0 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3j0(_arg1:int, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-4Mw

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4Mw implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-4Mw(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:Boolean)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(((_arg2) ? 1 : 0));
            this._-4Nw.push(((_arg3) ? 1 : 0));
            this._-4Nw.push(((_arg4) ? 1 : 0));
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-4wP

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4wP implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-4wP(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-53L

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-53L implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-53L(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-5-j

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-5-j implements _-1oF, _-1zZ 
    {

        public static const _-4cn:int = 0;
        public static const _-07p:int = 1;
        public static const _-4J5:int = 0;
        public static const _-2H:int = 1;
        public static const _-54r:int = 2;
        public static const _-HC:int = 3;
        public static const _-x9:int = 4;

        private var _-4Nw:Array;

        public function _-5-j(_arg1:int, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:int=0)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4);
            this._-4Nw.push(_arg5);
            this._-4Nw.push(_arg6);
            this._-4Nw.push(false);
            this._-4Nw.push(false);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW._-P-

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-P- implements _-1oF, _-1zZ 
    {

        public static const _-2Em:int = -1;

        private var _-4Nw:Array;

        public function _-P-(_arg1:int, _arg2:String, _arg3:int, _arg4:String, _arg5:String, _arg6:Boolean, _arg7:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4);
            this._-4Nw.push(_arg5);
            this._-4Nw.push(_arg6);
            if (_arg7 != _-2Em)
            {
                this._-4Nw.push(_arg7);
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW.CloseIssuesMessageComposer

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class CloseIssuesMessageComposer implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function CloseIssuesMessageComposer(_arg1:Array, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg1.length);
            var k:int;
            while (k < _arg1.length)
            {
                this._-4Nw.push(_arg1[k]);
                k++;
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW.PickIssuesMessageComposer

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class PickIssuesMessageComposer implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function PickIssuesMessageComposer(_arg1:Array, _arg2:Boolean=false, _arg3:int=0)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1.length);
            var k:int;
            while (k < _arg1.length)
            {
                this._-4Nw.push(_arg1[k]);
                k++;
            };
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2eW.ReleaseIssuesMessageComposer

package _-2eW
{
    import _-1B-.*;
    import _-4Aj.*;

    public class ReleaseIssuesMessageComposer implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function ReleaseIssuesMessageComposer(_arg1:Array)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1.length);
            var k:int;
            while (k < _arg1.length)
            {
                this._-4Nw.push(_arg1[k]);
                k++;
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2eW

//------------------------------------------------------------
//_-2F7._-2OU

package _-2F7
{
    import flash.utils.ByteArray;

    public interface _-2OU 
    {

        function _-9u():uint;
        function init(_arg1:ByteArray):void;
        function next():uint;
        function dispose():void;
        function toString():String;

    }
}//package _-2F7

//------------------------------------------------------------
//_-2F7.ARC4

package _-2F7
{
    import flash.utils.ByteArray;
    import _-4yl._-0h6;
    import _-1Yd.*;

    public class ARC4 implements _-2OU, _-1gj 
    {

        private const _-3Wg:uint = 0x0100;

        private var i:int = 0;
        private var j:int = 0;
        private var S:ByteArray;

        public function ARC4(_arg1:ByteArray=null)
        {
            this.S = new ByteArray();
            if (_arg1)
            {
                this.init(_arg1);
            };
        }
        public function _-9u():uint
        {
            return (this._-3Wg);
        }
        public function init(_arg1:ByteArray):void
        {
            var k:int;
            var k:int;
            var k:int;
            k = 0;
            while (k < 0x0100)
            {
                this.S[k] = k;
                k++;
            };
            k = 0;
            k = 0;
            while (k < 0x0100)
            {
                k = (((k + this.S[k]) + _arg1[(k % _arg1.length)]) & 0xFF);
                k = this.S[k];
                this.S[k] = this.S[k];
                this.S[k] = k;
                k++;
            };
            this.i = 0;
            this.j = 0;
        }
        public function next():uint
        {
            var k:int;
            this.i = ((this.i + 1) & 0xFF);
            this.j = ((this.j + this.S[this.i]) & 0xFF);
            k = this.S[this.i];
            this.S[this.i] = this.S[this.j];
            this.S[this.j] = k;
            return (this.S[((k + this.S[this.i]) & 0xFF)]);
        }
        public function _-2X4():uint
        {
            return (1);
        }
        public function _-0j7(_arg1:ByteArray):void
        {
            var k:uint;
            while (k < _arg1.length)
            {
                var _local3 = k++;
                _arg1[_local3] = (_arg1[_local3] ^ this.next());
            };
        }
        public function _-q7(_arg1:ByteArray):void
        {
            this._-0j7(_arg1);
        }
        public function dispose():void
        {
            var k:uint;
            if (this.S != null)
            {
                k = 0;
                while (k < this.S.length)
                {
                    this.S[k] = (Math.random() * 0x0100);
                    k++;
                };
                this.S.length = 0;
                this.S = null;
            };
            this.i = 0;
            this.j = 0;
            _-0h6._-1P8();
        }
        public function toString():String
        {
            return ("rc4");
        }

    }
}//package _-2F7

//------------------------------------------------------------
//_-2F7.Random

package _-2F7
{
    import flash.utils.ByteArray;
    import flash.text.Font;
    import flash.system.System;
    import flash.system.Capabilities;
    import flash.utils.getTimer;
    import _-4yl._-0h6;

    public class Random 
    {

        private var state:_-2OU;
        private var ready:Boolean = false;
        private var _-4g-:ByteArray;
        private var _-3Wg:int;
        private var _-vL:int;
        private var _-5AR:Boolean = false;

        public function Random(_arg1:Class=null)
        {
            var k:uint;
            super();
            if (_arg1 == null)
            {
                k = ARC4;
            };
            this.state = (new (_arg1)() as _-2OU);
            this._-3Wg = this.state._-9u();
            this._-4g- = new ByteArray();
            this._-vL = 0;
            while (this._-vL < this._-3Wg)
            {
                k = (65536 * Math.random());
                var _local3 = this._-vL++;
                this._-4g-[_local3] = (k >>> 8);
                var _local4 = this._-vL++;
                this._-4g-[_local4] = (k & 0xFF);
            };
            this._-vL = 0;
            this._-2rh();
        }
        public function _-2rh(_arg1:int=0):void
        {
            if (_arg1 == 0)
            {
                k = new Date().getTime();
            };
            var _local2 = this._-vL++;
            this._-4g-[_local2] = (this._-4g-[_local2] ^ (_arg1 & 0xFF));
            var _local3 = this._-vL++;
            this._-4g-[_local3] = (this._-4g-[_local3] ^ ((_arg1 >> 8) & 0xFF));
            var _local4 = this._-vL++;
            this._-4g-[_local4] = (this._-4g-[_local4] ^ ((_arg1 >> 16) & 0xFF));
            var _local5 = this._-vL++;
            this._-4g-[_local5] = (this._-4g-[_local5] ^ ((_arg1 >> 24) & 0xFF));
            this._-vL = (this._-vL % this._-3Wg);
            this._-5AR = true;
        }
        public function _-26A():void
        {
            var k:Font;
            var k:ByteArray = new ByteArray();
            k.writeUnsignedInt(System.totalMemory);
            k.writeUTF(Capabilities.serverString);
            k.writeUnsignedInt(getTimer());
            k.writeUnsignedInt(new Date().getTime());
            var k:Array = Font.enumerateFonts(true);
            for each (k in k)
            {
                k.writeUTF(k.fontName);
                k.writeUTF(k.fontStyle);
                k.writeUTF(k.fontType);
            };
            k.position = 0;
            while (k.bytesAvailable >= 4)
            {
                this._-2rh(k.readUnsignedInt());
            };
        }
        public function _-3QN(_arg1:ByteArray, _arg2:int):void
        {
            while (k--)
            {
                _arg1.writeByte(this._-Pf());
            };
        }
        public function _-Pf():int
        {
            if (!this.ready)
            {
                if (!this._-5AR)
                {
                    this._-26A();
                };
                this.state.init(this._-4g-);
                this._-4g-.length = 0;
                this._-vL = 0;
                this.ready = true;
            };
            return (this.state.next());
        }
        public function dispose():void
        {
            var k:uint;
            while (k < this._-4g-.length)
            {
                this._-4g-[k] = (Math.random() * 0x0100);
                k++;
            };
            this._-4g-.length = 0;
            this._-4g- = null;
            this.state.dispose();
            this.state = null;
            this._-3Wg = 0;
            this._-vL = 0;
            _-0h6._-1P8();
        }
        public function toString():String
        {
            return (("random-" + this.state.toString()));
        }

    }
}//package _-2F7

//------------------------------------------------------------
//_-2ft._-51L

package _-2ft
{
    public class _-51L 
    {

        public static const _-3dr:uint = 0;
        public static const _-3qj:uint = 0x10000000;

    }
}//package _-2ft

//------------------------------------------------------------
//_-2fV._-1gb

package _-2fV
{
    import _-Fu._-1Fl;
    import _-2JC.EventStreamData;
    import flash.utils.getTimer;

    public class _-1gb 
    {

        public function dispose():void
        {
        }
        public function _-1xm(_arg1:_-1Fl):_-jh
        {
            if ((_arg1 is _-1Fl))
            {
                return (this._-0ZF(_arg1));
            };
            return (null);
        }
        public function _-2Dz(_arg1:EventStreamData):_-jh
        {
            var k:StreamEntity = StreamEntity._-2W5();
            k._-4Q7 = _arg1._-1ke;
            k.title = "Stream";
            k._-3dY = _arg1._-2rq;
            k.message = "Something";
            k.decoration = null;
            k._-588(null, null);
            k._-44e();
            return (k);
        }
        private function _-0ZF(_arg1:_-1Fl):_-jh
        {
            var k:FeedEntity = FeedEntity._-2W5();
            k.icon = _arg1._-3VJ;
            k.title = _arg1.title;
            k._-3dY = (((_arg1.timeStamp - getTimer()) / 1000) / 60);
            k.message = _arg1.description;
            k.decoration = _arg1._-2fZ;
            k._-588(_arg1._-00k, _arg1._-0lq);
            k._-44e();
            return (k);
        }

    }
}//package _-2fV

//------------------------------------------------------------
//_-2fV._-jh

package _-2fV
{
    import _-Ew.IWindowContainer;

    public interface _-jh 
    {

        function get window():IWindowContainer;

    }
}//package _-2fV

//------------------------------------------------------------
//_-2fV.FeedEntity

package _-2fV
{
    import __AS3__.vec.Vector;
    import _-Ew.IWindowContainer;
    import _-3X8._-0hg;
    import _-295._-39L;
    import _-52B._-1DW;
    import _-4pF._-3Ts;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-295._-2kE;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.ITextWindow;
    import _-uF.ILocalization;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import __AS3__.vec.*;

    public class FeedEntity implements _-jh 
    {

        private static const _-2yU:Vector.<FeedEntity> = new Vector.<FeedEntity>();
        protected static const _-gF:String = "content_list";
        protected static const _-3xR:String = "title";
        protected static const MESSAGE:String = "message";
        protected static const _-4Ey:String = "time";
        protected static const ICON:String = "icon";
        protected static const _-2K0:String = "decoration";
        protected static const _-14E:String = "action_button";
        protected static const _-3ew:String = "minutes";
        protected static const _-3ml:String = "hours";
        protected static const _-0sV:String = "days";
        private static const _-hY:int = 25;

        public static var _-4JS:IWindowContainer;
        public static var _-4M-:_-0hg;
        public static var _-14d:_-39L;
        public static var _-3gW:_-1DW;

        protected var _-0xv:IWindowContainer;
        protected var _disposed:Boolean = false;
        protected var _-4-t:Boolean = false;
        protected var _-0Kq:int = -1;
        protected var _-1Ya:int;
        protected var _-52H:String;
        protected var _-1AB:String;
        protected var _-19o:String;

        public function FeedEntity():void
        {
            this._-0xv = (_-4JS.clone() as IWindowContainer);
        }
        public static function _-1s7(_arg1:_-3Ts, _arg2:_-39L, _arg3:_-0hg, _arg4:_-1DW):void
        {
            _-4JS = (_arg1.buildFromXML((_arg2.getAssetByName("feed_entity_xml").content as XML)) as IWindowContainer);
            _-14d = _arg2;
            _-4M- = _arg3;
            _-3gW = _arg4;
        }
        public static function _-2dd():void
        {
            if (_-4JS)
            {
                _-4JS.dispose();
                _-4JS = null;
            };
            _-14d = null;
            _-4M- = null;
            _-3gW = null;
        }
        public static function _-2W5():FeedEntity
        {
            var k:FeedEntity = (((_-2yU.length > 0)) ? _-2yU.pop() : new (FeedEntity)());
            k._-4-t = false;
            return (k);
        }

        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function set title(_arg1:String):void
        {
            this._-0xv.findChildByName(_-3xR).caption = ((_arg1) ? _arg1 : "");
        }
        public function get title():String
        {
            return (((this._-0xv) ? this._-0xv.findChildByName(_-3xR).caption : null));
        }
        public function set message(_arg1:String):void
        {
            this._-0xv.findChildByName(MESSAGE).caption = ((_arg1) ? _arg1 : "");
        }
        public function get message():String
        {
            return (((this._-0xv) ? this._-0xv.findChildByName(MESSAGE).caption : null));
        }
        public function _-588(_arg1:String, _arg2:String):void
        {
            if (!this._-0xv)
            {
                return;
            };
            this._-19o = _arg1;
            var k:IButtonWindow = (this._-0xv.findChildByName(_-14E) as IButtonWindow);
            if (this._-19o == null)
            {
                k.height = 0;
            }
            else
            {
                k.height = _-hY;
                k.caption = _arg2;
                k.addEventListener(WindowMouseEvent._-90, this._-B2);
            };
        }
        public function set _-4Q7(_arg1:String):void
        {
            var k:_-2kE;
            if (!_arg1)
            {
                return;
            };
            if (_arg1 != this._-52H)
            {
                this._-52H = _arg1;
                k = _-14d.getAssetByName(_arg1);
                if (k)
                {
                    this.icon = (k.content as BitmapData);
                }
                else
                {
                    this._-Ir(_arg1);
                };
            };
        }
        public function set _-4Jq(_arg1:String):void
        {
            var k:_-2kE;
            if (!_arg1)
            {
                return;
            };
            if (_arg1 != this._-1AB)
            {
                this._-1AB = _arg1;
                k = _-14d.getAssetByName(_arg1);
                if (k)
                {
                    this.decoration = (k.content as BitmapData);
                }
                else
                {
                    this._-Ir(_arg1);
                };
            };
        }
        public function set icon(_arg1:BitmapData):void
        {
            if (((this.disposed) || (!(this._-0xv))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(ICON) as IBitmapWrapperWindow);
            this._-2A(k, _arg1);
            this._-52H = null;
        }
        public function set decoration(_arg1:BitmapData):void
        {
            if (((this.disposed) || (!(this._-0xv))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_-2K0) as IBitmapWrapperWindow);
            this._-2A(k, _arg1);
            this._-1AB = null;
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-4Sx():Boolean
        {
            return (this._-4-t);
        }
        public function set _-3dY(_arg1:int):void
        {
            var k:ITextWindow = (this._-0xv.findChildByName(_-4Ey) as ITextWindow);
            if (_arg1 < 0)
            {
                k.height = 0;
                return;
            };
            this._-1Ya = _arg1;
            var k:String = _-3ew;
            if (this._-1Ya >= (24 * 60))
            {
                k = _-0sV;
                k = (_arg1 / (24 * 60));
            }
            else
            {
                if (this._-1Ya >= 60)
                {
                    k = _-3ml;
                    k = (_arg1 / 60);
                };
            };
            var k:ILocalization = _-4M-.getLocalization((("friendbar.stream." + k) + ".ago"));
            k.caption = ((k) ? k._-ad.replace("%value%", String(_arg1)) : "...?");
        }
        public function get _-3dY():int
        {
            return (this._-1Ya);
        }
        public function _-44e():void
        {
            if (((!(this._-0xv)) || (this.disposed)))
            {
                return;
            };
            var k:IItemListWindow = (this._-0xv.findChildByName(_-gF) as IItemListWindow);
            var k:IWindow = (k.getListItemAt((k.numListItems - 1)) as IWindow);
            k.height = ((k) ? (k.y + k.height) : 0);
        }
        public function recycle():void
        {
            if (!this._-4-t)
            {
                if (!this._disposed)
                {
                    this._-0xv.parent = null;
                    IBitmapWrapperWindow(this._-0xv.findChildByName(_-2K0)).bitmap = null;
                    IBitmapWrapperWindow(this._-0xv.findChildByName(ICON)).bitmap = null;
                    (this._-0xv.findChildByName(_-14E) as IButtonWindow).removeEventListener(WindowMouseEvent._-90, this._-B2);
                    this._-1AB = null;
                    this._-4-t = true;
                    _-2yU.push(this);
                };
            };
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0xv)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                if (this._-4-t)
                {
                    _-2yU.splice(_-2yU.indexOf(this), 1);
                    this._-4-t = false;
                };
                this._disposed = true;
            };
        }
        protected function _-B2(_arg1:WindowMouseEvent):void
        {
            _-3gW._-3NG(this._-19o);
        }
        private function _-2A(_arg1:IBitmapWrapperWindow, _arg2:BitmapData):void
        {
            if (_arg2 == null)
            {
                _arg1.bitmap = null;
                _arg1.height = 0;
                return;
            };
            var k:Number = (_arg1.x + (_arg1.width / 2));
            var k:Number = (_arg1.y + (_arg1.height / 2));
            _arg1.bitmap = _arg2;
            _arg1.x = (k - (_arg2.width / 2));
            _arg1.y = (k - (_arg2.height / 2));
            _arg1.width = _arg2.width;
            _arg1.height = _arg2.height;
        }
        private function _-Ir(_arg1:String):void
        {
            var k:_-4Rz = _-14d.loadAssetFromFile(_arg1, new URLRequest(_arg1));
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-0eL);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-0eL);
        }
        private function _-0eL(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz;
            var k:_-2kE;
            if (_arg1.type == AssetLoaderEvent._-1Tr)
            {
                k = (_arg1.target as _-4Rz);
                if (k.assetName == this._-1AB)
                {
                    k = _-14d.getAssetByName(this._-1AB);
                    if (k)
                    {
                        this.decoration = (k.content as BitmapData);
                    };
                }
                else
                {
                    if (k.assetName == this._-52H)
                    {
                        k = _-14d.getAssetByName(this._-52H);
                        if (k)
                        {
                            this.icon = (k.content as BitmapData);
                        };
                    };
                };
                this._-44e();
            };
        }

    }
}//package _-2fV

//------------------------------------------------------------
//_-2fV.StreamEntity

package _-2fV
{
    import __AS3__.vec.Vector;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import __AS3__.vec.*;

    public class StreamEntity extends FeedEntity 
    {

        private static const _-2yU:Vector.<StreamEntity> = new Vector.<StreamEntity>();

        public function StreamEntity():void
        {
            _-0xv = (_-4JS.clone() as IWindowContainer);
        }
        public static function _-2W5():StreamEntity
        {
            var k:StreamEntity = (((_-2yU.length > 0)) ? _-2yU.pop() : new (StreamEntity)());
            k._-4-t = false;
            return (k);
        }

        override public function recycle():void
        {
            if (!_-4-t)
            {
                if (!_disposed)
                {
                    _-0xv.parent = null;
                    IBitmapWrapperWindow(_-0xv.findChildByName(_-2K0)).bitmap = null;
                    IBitmapWrapperWindow(_-0xv.findChildByName(ICON)).bitmap = null;
                    (_-0xv.findChildByName(_-14E) as IButtonWindow).removeEventListener(WindowMouseEvent._-90, _-B2);
                    _-1AB = null;
                    _-4-t = true;
                    _-2yU.push(this);
                };
            };
        }

    }
}//package _-2fV

//------------------------------------------------------------
//_-2Gc._-1eu

package _-2Gc
{
    import _-293._-5-S;
    import _-3Zp._-1bw;
    import _-295.BitmapDataAsset;
    import _-293._-2Gt;
    import flash.display.BitmapData;
    import _-48G._-4hq;
    import _-1B-._-Px;
    import _-3cY._-1mk;
    import _-293.*;

    public class _-1eu implements dynamic 
    {

        private var _-0tK:_-5-S;
        private var _-YX:_-1bw;

        public function _-1eu(_arg1:_-5-S, _arg2:_-1bw)
        {
            this._-0tK = _arg1;
            this._-YX = _arg2;
        }
        public function dispose():void
        {
            this._-0tK = null;
            this._-YX = null;
        }
        public function _-0uo(_arg1:String, _arg2:int, _arg3:String):BitmapData
        {
            var k:BitmapDataAsset;
            var k:_-2Gt;
            var k:BitmapData;
            var _local7:int;
            switch (_arg1)
            {
                case _-4hq._-5Ds:
                    k = this._-0tK.getFurnitureIcon(_arg2, this);
                    break;
                case _-4hq._-0xA:
                    _local7 = this._-1Ec("I", _arg2);
                    if (_local7 == 1)
                    {
                        k = this._-0tK.getWallItemIcon(_arg2, this, _arg3);
                    }
                    else
                    {
                        switch (_local7)
                        {
                            case _-1mk._-3hq:
                                k = ((this._-YX as _-Px).assets.getAssetByName("icon_wallpaper_png") as BitmapDataAsset);
                                if (k != null)
                                {
                                    k = (k.content as BitmapData).clone();
                                };
                                break;
                            case _-1mk._-48R:
                                k = ((this._-YX as _-Px).assets.getAssetByName("icon_landscape_png") as BitmapDataAsset);
                                if (k != null)
                                {
                                    k = (k.content as BitmapData).clone();
                                };
                                break;
                            case _-1mk._-3s7:
                                k = ((this._-YX as _-Px).assets.getAssetByName("icon_floor_png") as BitmapDataAsset);
                                if (k != null)
                                {
                                    k = (k.content as BitmapData).clone();
                                };
                                break;
                        };
                        k = null;
                    };
                    break;
                case _-4hq._-17R:
                    k = ((this._-YX as _-Px).assets.getAssetByName((("fx_icon_" + _arg2) + "_png")) as BitmapDataAsset);
                    if (k != null)
                    {
                        k = (k.content as BitmapData).clone();
                    };
                    break;
                default:
                    _-Nb.log("[HabboNotifications] Can not yet handle this type of product: ");
            };
            if (k != null)
            {
                k = k.data;
            };
            return (k);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
        }
        private function _-1Ec(_arg1:String, _arg2:int):int
        {
            if (_arg1 == "S")
            {
                return (1);
            };
            if (_arg1 == "I")
            {
                if (_arg2 == 3001)
                {
                    return (_-1mk._-3hq);
                };
                if (_arg2 == 3002)
                {
                    return (_-1mk._-3s7);
                };
                if (_arg2 == 4057)
                {
                    return (_-1mk._-48R);
                };
                return (1);
            };
            return (1);
        }

    }
}//package _-2Gc

//------------------------------------------------------------
//_-2Gc._-56A

package _-2Gc
{
    import _-293._-5-S;
    import flash.display.BitmapData;
    import _-0y0._-Xl;
    import _-293._-2Gt;

    public class _-56A 
    {

        private static var _-0tK:_-5-S;

        public function _-56A(_arg1:_-5-S)
        {
            _-0tK = _arg1;
        }
        public function dispose():void
        {
            _-0tK = null;
        }
        public function _-2s2(_arg1:int, _arg2:int, _arg3:String, _arg4:int=3, _arg5:Boolean=false, _arg6:int=32, _arg7:String=null):BitmapData
        {
            if (_-0tK == null)
            {
                _-Nb.log("Pet Image Utility; Pet image creation failed: Room engine is not defined");
                return (null);
            };
            var k:BitmapData;
            if ((((_arg1 < 0)) || ((_arg2 < 0))))
            {
                return (k);
            };
            var k:uint = parseInt(_arg3, 16);
            var k:uint;
            var k:_-2Gt = _-0tK._-2s2(_arg1, _arg2, k, new _-Xl((45 * _arg4)), _arg6, null, _arg5, k, null, _arg7);
            if (k != null)
            {
                k = k.data;
            };
            return (k);
        }

    }
}//package _-2Gc

//------------------------------------------------------------
//_-2gf._-0Aq

package _-2gf
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Aq implements _-58N 
    {

        private var _-58g:int;
        private var _-3un:int;
        private var _-2tP:int;
        private var _-4N4:Array;
        private var _-2wR:Array;
        private var _-1iZ:Array;
        private var _-I6:int;
        private var _-1wh:int;

        public function get _-4q8():int
        {
            return (this._-58g);
        }
        public function get _-3rE():int
        {
            return (this._-3un);
        }
        public function get _-0Iy():int
        {
            return (this._-2tP);
        }
        public function get _-1ml():Array
        {
            return (this._-4N4);
        }
        public function get _-3x9():Array
        {
            return (this._-2wR);
        }
        public function get _-3Rh():Array
        {
            return (this._-1iZ);
        }
        public function get _-FZ():int
        {
            return (this._-I6);
        }
        public function get _-2i5():int
        {
            return (this._-1wh);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-58g = _arg1._-2BW();
            this._-3un = _arg1._-2BW();
            this._-2tP = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            this._-4N4 = [];
            this._-2wR = [];
            this._-1iZ = [];
            var k:int;
            while (k < k)
            {
                this._-4N4.push(_arg1._-2BW());
                this._-2wR.push(_arg1._-2BW());
                this._-1iZ.push(_arg1._-2BW());
                k++;
            };
            this._-1wh = _arg1._-2BW();
            this._-I6 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2gf

//------------------------------------------------------------
//_-2gf._-0hv

package _-2gf
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0hv implements _-58N 
    {

        private var _-555:int;
        private var _result:int;

        public function get _-23j():int
        {
            return (this._-555);
        }
        public function get _-rJ():int
        {
            return (this._result);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._result = _arg1._-2BW();
            this._-555 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2gf

//------------------------------------------------------------
//_-2gf._-0Oj

package _-2gf
{
    import _-Aj._-11U;
    import _-293._-4q2;
    import _-Co._-1ad;
    import _-0F-._-4iQ;
    import _-0F-._-HJ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Oj implements _-58N 
    {

        public static const _-0yA:int = 1;
        public static const _-4dm:int = 2;
        public static const _-2TF:int = 3;

        private const _-36C:int = 500;

        private var _-4GM:Array;
        private var _-18S:int;

        public function flush():Boolean
        {
            this._-4GM = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:_-11U;
            this._-4GM = new Array();
            var k:String = "";
            var k:_-4q2;
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                if (k == _-0yA)
                {
                    k = _arg1._-2BW();
                    k = _-1ad._-7c(_arg1);
                }
                else
                {
                    if (k == _-4dm)
                    {
                        k = _arg1._-2BW();
                        k = _arg1.readString();
                    }
                    else
                    {
                        if (k == _-2TF)
                        {
                            k = _arg1._-2BW();
                            k = _-4iQ._-3hY(_-HJ._-eJ);
                            k.uniqueSerialNumber = _arg1._-2BW();
                            k._-2dO = _arg1._-2BW();
                            k = _-0yA;
                        };
                    };
                };
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = new _-11U(k, k, k, k, k, k, k, k, k, k);
                if (k < this._-36C)
                {
                    this._-4GM.push(k);
                };
                k++;
            };
            this._-18S = _arg1._-2BW();
            return (true);
        }
        public function get offers():Array
        {
            return (this._-4GM);
        }
        public function get _-03y():int
        {
            return (this._-18S);
        }

    }
}//package _-2gf

//------------------------------------------------------------
//_-2gf._-2gI

package _-2gf
{
    import _-293._-4q2;
    import _-Aj._-11U;
    import _-Co._-1ad;
    import _-0F-._-4iQ;
    import _-0F-._-HJ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2gI implements _-58N 
    {

        private const _-36C:int = 500;

        private var _-4GM:Array;
        private var _-1iq:int;

        public function flush():Boolean
        {
            this._-4GM = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:_-4q2;
            var k:int;
            var k:int;
            var k:int;
            var k:_-11U;
            this._-4GM = new Array();
            var k:String = "";
            this._-1iq = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                if (k == _-0Oj._-0yA)
                {
                    k = _arg1._-2BW();
                    k = _-1ad._-7c(_arg1);
                }
                else
                {
                    if (k == _-0Oj._-4dm)
                    {
                        k = _arg1._-2BW();
                        k = _arg1.readString();
                    }
                    else
                    {
                        if (k == _-0Oj._-2TF)
                        {
                            k = _arg1._-2BW();
                            k = _-4iQ._-3hY(_-HJ._-eJ);
                            k.uniqueSerialNumber = _arg1._-2BW();
                            k._-2dO = _arg1._-2BW();
                            k = _-0Oj._-0yA;
                        };
                    };
                };
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = new _-11U(k, k, k, k, k, k, k, k, k);
                if (k < this._-36C)
                {
                    this._-4GM.push(k);
                };
                k++;
            };
            return (true);
        }
        public function get offers():Array
        {
            return (this._-4GM);
        }
        public function get _-2ID():int
        {
            return (this._-1iq);
        }

    }
}//package _-2gf

//------------------------------------------------------------
//_-2gf._-36a

package _-2gf
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-36a implements _-58N 
    {

        private var _-2W3:int;
        private var _-2cn:Boolean;

        public function get success():Boolean
        {
            return (this._-2cn);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2W3 = _arg1._-2BW();
            this._-2cn = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-2gf

//------------------------------------------------------------
//_-2gf._-41l

package _-2gf
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-41l implements _-58N 
    {

        private var _result:int;
        private var _-54-:int = -1;
        private var _-1P6:int = -1;
        private var _-oI:int = -1;

        public function get result():int
        {
            return (this._result);
        }
        public function get offerId():int
        {
            return (this._-54-);
        }
        public function get _-4Ex():int
        {
            return (this._-1P6);
        }
        public function get _-30C():int
        {
            return (this._-oI);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._result = _arg1._-2BW();
            this._-54- = _arg1._-2BW();
            this._-1P6 = _arg1._-2BW();
            this._-oI = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2gf

//------------------------------------------------------------
//_-2gf._-4lf

package _-2gf
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4lf implements _-58N 
    {

        private var _result:int;

        public function get result():int
        {
            return (this._result);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._result = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2gf

//------------------------------------------------------------
//_-2gf._-gS

package _-2gf
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-gS implements _-58N 
    {

        private var _-55c:Boolean;
        private var _-517:int;
        private var _-2fs:int;
        private var _-3ri:int;
        private var _-4xn:int;
        private var _-4jC:int;
        private var _-3GE:int;
        private var _-NA:int;

        public function get _-12O():Boolean
        {
            return (this._-55c);
        }
        public function get commission():int
        {
            return (this._-517);
        }
        public function get _-fv():int
        {
            return (this._-2fs);
        }
        public function get _-0eA():int
        {
            return (this._-3ri);
        }
        public function get _-1uP():int
        {
            return (this._-4jC);
        }
        public function get _-22W():int
        {
            return (this._-4xn);
        }
        public function get _-0oW():int
        {
            return (this._-3GE);
        }
        public function get _-0Px():int
        {
            return (this._-NA);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-55c = _arg1.readBoolean();
            this._-517 = _arg1._-2BW();
            this._-2fs = _arg1._-2BW();
            this._-3ri = _arg1._-2BW();
            this._-4jC = _arg1._-2BW();
            this._-4xn = _arg1._-2BW();
            this._-3GE = _arg1._-2BW();
            this._-NA = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2gf

//------------------------------------------------------------
//_-2gz._-06j

package _-2gz
{
    import _-2np._-1ZV;
    import _-4Wu._-4uR;
    import _-0sw.GarbageMonitor;
    import flash.system.Capabilities;
    import flash.external.ExternalInterface;
    import flash.utils.getTimer;
    import flash.system.System;
    import _-2p5._-2rb;

    public class _-06j 
    {

        private var _-51u:_-1ZV = null;
        private var _-3fD:_-4uR = null;
        private var _-0pE:int = 0;
        private var _-00p:Number = 0;
        private var _-Kd:Array;
        private var _-4hD:String = "";
        private var _-3Rn:String = "";
        private var _-1Fy:String = "";
        private var _-4cS:String = "";
        private var _-1lq:Boolean = false;
        private var _-4Xs:GarbageMonitor = null;
        private var _-3MW:int = 0;
        private var _-2Zm:Boolean;
        private var _-3:int = 1000;
        private var _-16f:int = 0;
        private var _-0wh:int = 60;
        private var _-4Gy:int = 0;
        private var _-37M:int = 10;
        private var _-50:int = 0;
        private var _-76:Number = 0.15;
        private var _-3DH:Boolean = true;
        private var _-0q7:Number = 0;

        public function _-06j()
        {
            this._-Kd = [];
            super();
            this._-3Rn = Capabilities.version;
            this._-1Fy = Capabilities.os;
            this._-1lq = Capabilities.isDebugger;
            try
            {
                this._-4hD = ((ExternalInterface.available) ? ExternalInterface.call("window.navigator.userAgent.toString") : "unknown");
            }
            catch(e:Error)
            {
            };
            if (this._-4hD == null)
            {
                this._-4hD = "unknown";
            };
            this._-4Xs = new GarbageMonitor();
            this._-2kk();
            this._-4Gy = getTimer();
        }
        public function get _-HX():String
        {
            return (this._-3Rn);
        }
        public function get _-1zP():int
        {
            return (this._-00p);
        }
        public function set _-5AY(_arg1:int):void
        {
            this._-3 = _arg1;
        }
        public function set reportInterval(_arg1:int):void
        {
            this._-0wh = _arg1;
        }
        public function set _-30G(_arg1:int):void
        {
            this._-37M = _arg1;
        }
        public function set connection(_arg1:_-1ZV):void
        {
            this._-51u = _arg1;
        }
        public function set configuration(_arg1:_-4uR):void
        {
            this._-3fD = _arg1;
            this._-0wh = int(this._-3fD.getKey("performancetest.interval", "60"));
            this._-3 = int(this._-3fD.getKey("performancetest.slowupdatelimit", "1000"));
            this._-37M = int(this._-3fD.getKey("performancetest.reportlimit", "10"));
            this._-76 = Number(this._-3fD.getKey("performancetest.distribution.deviancelimit.percent", "10"));
            this._-3DH = Boolean(int(this._-3fD.getKey("performancetest.distribution.enabled", "1")));
            this._-2Zm = Boolean((this._-3fD.getKey("monitor.garbage.collection", "0") == "1"));
        }
        public function dispose():void
        {
        }
        private function _-2kk():Object
        {
            var k:Object;
            var k:Array = this._-4Xs.list;
            if ((((k == null)) || ((k.length == 0))))
            {
                k = new _-1V1("tester");
                this._-4Xs.insert(k, "tester");
                return (k);
            };
            return (null);
        }
        public function update(_arg1:uint, _arg2:int):void
        {
            var k:Object;
            var _local5:Number;
            var k:uint;
            var k:Boolean;
            var k:Number;
            if (this._-2Zm)
            {
                k = this._-2kk();
                if (k != null)
                {
                    this._-3MW++;
                    _-Nb.log("Garbage collection");
                };
            };
            var k:Boolean;
            if (_arg1 > this._-3)
            {
                this._-16f++;
                k = true;
            }
            else
            {
                this._-0pE++;
                if (this._-0pE <= 1)
                {
                    this._-00p = _arg1;
                }
                else
                {
                    _local5 = Number(this._-0pE);
                    this._-00p = (((this._-00p * (_local5 - 1)) / _local5) + (Number(_arg1) / _local5));
                };
            };
            if (((((_arg2 - this._-4Gy) > (this._-0wh * 1000))) && ((this._-50 < this._-37M))))
            {
                k = System.totalMemory;
                _-Nb.log((((("*** Performance tracker: average frame rate " + (1000 / this._-00p)) + "/s, system memory usage : ") + k) + " bytes"));
                k = true;
                if (((this._-3DH) && ((this._-50 > 0))))
                {
                    k = this._-0qG(this._-0q7, this._-00p);
                    if (k < this._-76)
                    {
                        k = false;
                    };
                };
                this._-4Gy = _arg2;
                if (((k) || (k)))
                {
                    this._-0q7 = this._-00p;
                    if (this._-2dP(_arg2))
                    {
                        this._-50++;
                    };
                };
            };
        }
        private function _-2dP(_arg1:int):Boolean
        {
            var k:_-2rb;
            var k:int;
            var k:int;
            var k:int;
            if (this._-51u != null)
            {
                k = null;
                k = (_arg1 / 1000);
                k = -1;
                k = (System.totalMemory / 0x0400);
                k = new _-2rb(k, this._-4hD, this._-3Rn, this._-1Fy, this._-4cS, this._-1lq, k, k, this._-3MW, this._-00p, this._-16f);
                this._-51u.send(k);
                this._-3MW = 0;
                this._-00p = 0;
                this._-0pE = 0;
                this._-16f = 0;
                return (true);
            };
            return (false);
        }
        private function _-0qG(_arg1:Number, _arg2:Number):Number
        {
            if (_arg1 == _arg2)
            {
                return (0);
            };
            var k:Number = _arg1;
            var k:Number = _arg2;
            if (_arg2 > _arg1)
            {
                k = _arg2;
                k = _arg1;
            };
            return ((100 * (1 - (k / k))));
        }

    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz._-06X

package _-2gz
{
    import _-4Wu._-4uR;

    public class _-06X 
    {

        private var _-4Gy:int;
        private var _-P1:int;
        private var _-pN:int;
        private var _-00p:Number;
        private var _-aX:Boolean;
        private var _-SG:int;
        private var _-2Sk:int;

        public function get frameRate():int
        {
            return (Math.round((1000 / this._-00p)));
        }
        public function _-0jL(_arg1:_-4uR):void
        {
            this._-P1 = (int(_arg1.getKey("tracking.framerate.reportInterval.seconds", "300")) * 1000);
            this._-SG = int(_arg1.getKey("tracking.framerate.maximumEvents", "5"));
            this._-aX = true;
        }
        public function _-4zk(_arg1:uint, _arg2:_-2UE, _arg3:int):void
        {
            var _local4:Number;
            this._-pN++;
            if (this._-pN == 1)
            {
                this._-00p = _arg1;
                this._-4Gy = _arg3;
            }
            else
            {
                _local4 = Number(this._-pN);
                this._-00p = (((this._-00p * (_local4 - 1)) / _local4) + (Number(_arg1) / _local4));
            };
            if (((this._-aX) && (((_arg3 - this._-4Gy) >= this._-P1))))
            {
                this._-pN = 0;
                if (this._-2Sk < this._-SG)
                {
                    _arg2.trackGoogle("performance", "averageFramerate", this.frameRate);
                    this._-2Sk++;
                    this._-4Gy = _arg3;
                };
            };
        }
        public function dispose():void
        {
        }

    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz._-1fx

package _-2gz
{
    import _-4Wu._-4uR;

    public class _-1fx 
    {

        private var _tracking:_-2UE;
        private var _-4Zy:Boolean = false;
        private var _-4aJ:int = 0;
        private var _-2yd:int = 0;

        public function _-1fx(_arg1:_-2UE)
        {
            this._tracking = _arg1;
        }
        public function dispose():void
        {
            this._tracking = null;
        }
        public function _-0jL(_arg1:_-4uR):void
        {
            this._-4Zy = Boolean(parseInt(_arg1.getKey("toolbar.tracking.enabled", "1")));
            this._-4aJ = parseInt(_arg1.getKey("toolbar.tracking.max.events", "100"));
        }
        public function track(_arg1:String):void
        {
            if (!this._-4Zy)
            {
                return;
            };
            this._-2yd++;
            if (this._-2yd <= this._-4aJ)
            {
                this._tracking.trackGoogle("toolbar", _arg1);
            };
        }

    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz._-1V1

package _-2gz
{
    import _-0yf.EventDispatcherWrapper;

    public class _-1V1 extends EventDispatcherWrapper 
    {

        public function _-1V1(_arg1:String)
        {
        }
    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz._-232

package _-2gz
{
    public class _-232 
    {

        public static const _-1eQ:String = "host";
        public static const _-4ES:String = "port";
        public static const _-18v:String = "is_fatal";
        public static const _-1Kt:String = "sent_msg_time";
        public static const _-M1:String = "sent_msg_data";
        public static const _-ck:String = "rece_msg_time";
        public static const _-4Va:String = "rece_msg_data";
        public static const _-0le:String = "start_time";
        public static const ERROR_VARIABLE_CLIENT_CRASH_TIME:String = "crash_time";
        public static const _-5Ew:String = "agent";
        public static const _-58m:String = "system";
        public static const ERROR_VARIABLE_CONTEXT:String = "error_ctx";
        public static const _-4mw:String = "last_room";
        public static const _-2DL:String = "in_room";
        public static const ERROR_VARIABLE_FLASH_VERSION:String = "flash_version";
        public static const ERROR_VARIABLE_AVERAGE_UPDATE_INTERVAL:String = "avg_update";
        public static const _-2E5:String = "mouse_up_time";
        public static const _-0tn:String = "mouse_up_target";
        public static const _-0v8:String = "click_time";
        public static const _-1nk:String = "click_target";
        public static const ERROR_VARIABLE_DEBUG:String = "debug";
        public static const _-0Gn:String = "error_data";
        public static const _-2Mv:String = "error_cat";
        public static const _-1A3:String = "error_desc";

    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz._-2UE

package _-2gz
{
    import _-1B-.*;

    public interface _-2UE extends _-4yI 
    {

        function trackGoogle(_arg1:String, _arg2:String, _arg3:int=-1):void;
        function _-02l(_arg1:String, _arg2:String, _arg3:Array=null):void;
        function logError(_arg1:String):void;
        function _-0hp(_arg1:int):void;
        function trackEventLog(_arg1:String, _arg2:String, _arg3:String, _arg4:String="", _arg5:int=0):void;
        function trackTalentTrackOpen(_arg1:String, _arg2:String):void;

    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz._-5El

package _-2gz
{
    public class _-5El 
    {

        public static const CORE_INIT:String = "client.init.core.init";
        public static const _-36X:String = "client.init.core.running";
        public static const CORE_ERROR:String = "client.init.core.fail";
        public static const _-0tw:String = "client.init.config.loaded";
        public static const _-tX:String = "client.init.localization.loaded";
        public static const _-45w:String = "client.init.library.error";
        public static const LIBRARY_LOADED:String = "client.init.library.loaded";
        public static const _-7s:String = "client.init.socket.init";
        public static const _-2Pa:String = "client.init.socket.ok";
        public static const _-1Nb:String = "client.init.handshake.start";
        public static const _-4kN:String = "client.init.handshake.ok";
        public static const _-0xg:String = "client.init.handshake.fail";
        public static const _-1sg:String = "client.init.auth.ok";
        public static const _-p5:String = "client.init.room.enter";
        public static const _-4Re:String = "client.init.hotelview.start";
        public static const _-4i0:String = "client.init.hotelview.ok";
        public static const _-1ze:String = "client.init.hotelview.fail";

    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz._-Zh

package _-2gz
{
    import _-2np._-1ZV;
    import _-4Wu._-4uR;
    import _-2p5._-4wR;

    public class _-Zh 
    {

        private var _-51u:_-1ZV;
        private var _-4Zy:Boolean = false;
        private var _-3Qa:int;
        private var _-4li:int;
        private var _-4nm:int;

        public function set connection(_arg1:_-1ZV):void
        {
            this._-51u = _arg1;
        }
        public function _-0jL(_arg1:_-4uR):void
        {
            this._-4Zy = Boolean(int(_arg1.getKey("lagWarningLog.enabled", "1")));
            this._-3Qa = (int(_arg1.getKey("lagWarningLog.interval.seconds", "10")) * 1000);
        }
        public function _-0hp(_arg1:int):void
        {
            if (((!(this._-4Zy)) || ((this._-3Qa <= 0))))
            {
                return;
            };
            this._-4nm++;
            this._-3cW(_arg1);
        }
        public function update(_arg1:int):void
        {
            this._-3cW(_arg1);
        }
        private function _-3cW(_arg1:int):void
        {
            var k:_-4wR;
            if ((((this._-4nm == 0)) || ((this._-51u == null))))
            {
                return;
            };
            if ((((this._-4li == 0)) || (((_arg1 - this._-4li) > this._-3Qa))))
            {
                k = new _-4wR(this._-4nm);
                this._-51u.send(k);
                this._-4li = _arg1;
                this._-4nm = 0;
            };
        }

    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz.HabboTracking

package _-2gz
{
    import _-1B-._-Px;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-3gx._-4BJ;
    import _-jM._-Km;
    import _-0mD._-2Jq;
    import _-4GV._-0Uq;
    import _-3Zp._-1bw;
    import _-35b._-a8;
    import _-4pF._-3Ts;
    import _-3vb._-3b;
    import _-0jj._-0QY;
    import _-293._-5-S;
    import _-2np._-1ZV;
    import flash.utils.Timer;
    import _-1B-._-5CE;
    import _-18r.ErrorReportStorage;
    import flash.external.ExternalInterface;
    import flash.system.Capabilities;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboInventory;
    import com.sulake.iid.IIDHabboFriendList;
    import com.sulake.iid.IIDHabboHelp;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboAdManager;
    import com.sulake.iid.IIDHabboToolbar;
    import _-295._-39L;
    import _-Ph._-1i5;
    import _-Ph._-1AJ;
    import _-3MI._-0Sy;
    import _-2Mh._-060;
    import _-4WI._-3at;
    import _-23M._-Ev;
    import _-2or._-4sa;
    import _-59g._-4sI;
    import _-59g._-2ga;
    import flash.events.TimerEvent;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1HK._-4Pw;
    import _-1Q8._-567;
    import _-0Yg._-KL;
    import _-3PZ._-0hr;
    import _-3PZ._-2yx;
    import flash.events.Event;
    import _-2vN._-0d-;
    import flash.net.URLRequest;
    import flash.net.URLVariables;
    import _-0yf.ErrorEvent;
    import flash.net.URLRequestMethod;
    import flash.net.navigateToURL;
    import flash.net.sendToURL;
    import _-2S9.Exception;
    import flash.system.System;
    import _-3Dz._-1kU;
    import _-2qO._-1DJ;
    import _-4Aj._-0tL;
    import _-Co._-4SS;
    import _-2na._-1G-;
    import _-1H6._-z2;
    import _-3mW._-1sV;
    import _-2p5._-2ka;
    import flash.utils.getTimer;
    import com.sulake.iid.*;
    import _-1B-.*;

    public class HabboTracking extends _-Px implements _-2UE, _-0gI 
    {

        private static const _-2PI:uint = 11;

        private static var _-0vJ:HabboTracking;

        private var _-3fD:_-4uR;
        private var _-cU:_-0hg;
        private var _-0ud:_-4BJ;
        private var _-2UY:_-Km;
        private var _-3oJ:_-2Jq;
        private var _-2bJ:_-0Uq;
        private var _-YX:_-1bw;
        private var _-0TG:_-a8;
        private var _-4Cs:_-3Ts;
        private var _-0a7:_-3b;
        private var _-1Iu:_-0QY;
        private var _-4e:Array;
        private var _crashed:Boolean = false;
        private var _-4Ge:_-06j = null;
        private var _-c7:_-06X = null;
        private var _-0hB:LatencyTracker = null;
        private var _-3sJ:_-Zh = null;
        private var _-bz:_-1fx = null;
        private var _-0tK:_-5-S = null;
        private var _-51u:_-1ZV = null;
        private var _-0eu:Boolean = false;
        private var _-5Ch:int = -1;
        private var _-34K:int = 0;
        private var _-3wx:int = 0;
        private var _-5F6:Timer;
        private var _-259:int = 0;

        public function HabboTracking(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            if (_-0vJ == null)
            {
                _-0vJ = this;
            };
            super(_arg1, _arg2, _arg3);
            this._-4Ge = new _-06j();
            this._-c7 = new _-06X();
            this._-0hB = new LatencyTracker();
            this._-3sJ = new _-Zh();
            this._-bz = new _-1fx(this);
            this._-4e = new Array(_-2PI);
            var k:uint;
            while (k < _-2PI)
            {
                this._-4e[k] = 0;
                k++;
            };
            var k:_-5CE = _arg1.root;
            if (k != null)
            {
                k.events.addEventListener(_-Px.COMPONENT_EVENT_ERROR, this._-127);
                k.events.addEventListener(_-Px.COMPONENT_EVENT_RUNNING, this._-2es);
                ErrorReportStorage._-gN(_-232._-0le, new Date().getTime().toString());
                ErrorReportStorage._-gN(_-232._-5Ew, ((ExternalInterface.available) ? ExternalInterface.call("window.navigator.userAgent.toString") : "unknown"));
                ErrorReportStorage._-gN(_-232._-58m, Capabilities.serverString);
                ErrorReportStorage._-gN(_-232._-2DL, String(false));
                ErrorReportStorage._-gN(_-232._-4mw, String(0));
            };
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboNavigator(), this._-wL);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboInventory(), this._-3SD);
            queueInterface(new IIDHabboFriendList(), this._-tK);
            queueInterface(new IIDHabboHelp(), this._-3Kx);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboAdManager(), this._-3fz);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            registerUpdateReceiver(this, 1);
        }
        public static function _-0ON():HabboTracking
        {
            return (_-0vJ);
        }

        override public function dispose():void
        {
            if (!disposed)
            {
                if (_-0vJ == this)
                {
                    _-0vJ = null;
                };
                if (this._-0ud)
                {
                    this._-0ud.release(new IIDHabboCommunicationManager());
                    this._-0ud = null;
                };
                if (this._-3fD)
                {
                    this._-3fD.release(new IIDHabboConfigurationManager());
                    this._-3fD = null;
                };
                if (this._-cU)
                {
                    this._-cU.release(new IIDHabboLocalizationManager());
                    this._-cU = null;
                };
                if (this._-4Cs)
                {
                    this._-4Cs.release(new IIDHabboWindowManager());
                    this._-4Cs = null;
                };
                if (this._-2UY)
                {
                    this._-2UY.release(new IIDHabboAdManager());
                    this._-2UY = null;
                };
                if (this._-2bJ)
                {
                    if (!this._-2bJ.disposed)
                    {
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_CLOSED, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_EVENTS, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_ROOMS, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_ME, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCH, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_OFFICIAL, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_LATEST_EVENTS, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FAVOURITES, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FRIENDS_ROOMS, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_HISTORY, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_ROOMS, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_OFFICIALROOMS, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_POPULAR_ROOMS, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WHERE_MY_FRIENDS_ARE, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WITH_HIGHEST_SCORE, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TAG_SEARCH, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TEXT_SEARCH, this._-3yy);
                        this._-2bJ.events.removeEventListener(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_CLOSED, this._-2fK);
                        this._-2bJ.events.removeEventListener(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_DEFAULT, this._-2fK);
                        this._-2bJ.events.removeEventListener(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_ADVANCED, this._-2fK);
                        this._-2bJ.events.removeEventListener(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_THUMBS, this._-2fK);
                        this._-2bJ.events.removeEventListener(_-0Sy._-37m, this._-2gA);
                    };
                    this._-2bJ.release(new IIDHabboNavigator());
                    this._-2bJ = null;
                };
                if (this._-3oJ)
                {
                    if (!this._-3oJ.disposed)
                    {
                        this._-3oJ.events.removeEventListener(_-060.HABBO_CATALOG_TRACKING_EVENT_CLOSE, this._-uE);
                        this._-3oJ.events.removeEventListener(_-060.HABBO_CATALOG_TRACKING_EVENT_OPEN, this._-uE);
                    };
                    this._-3oJ.release(new IIDHabboCatalog());
                    this._-3oJ = null;
                };
                if (this._-YX)
                {
                    if (!this._-YX.disposed)
                    {
                        _-Px(this._-YX).events.removeEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_CLOSED, this._-2o);
                        _-Px(this._-YX).events.removeEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_FURNI, this._-2o);
                        _-Px(this._-YX).events.removeEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_POSTERS, this._-2o);
                        _-Px(this._-YX).events.removeEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_BADGES, this._-2o);
                        _-Px(this._-YX).events.removeEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_ACHIEVEMENTS, this._-2o);
                        _-Px(this._-YX).events.removeEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_TRADING, this._-2o);
                    };
                    this._-YX.release(new IIDHabboInventory());
                    this._-YX = null;
                };
                if (this._-0TG)
                {
                    if (!this._-0TG.disposed)
                    {
                        _-Px(this._-0TG).events.removeEventListener(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_CLOSED, this._-3zA);
                        _-Px(this._-0TG).events.removeEventListener(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_FRIENDS, this._-3zA);
                        _-Px(this._-0TG).events.removeEventListener(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_SEARCH, this._-3zA);
                        _-Px(this._-0TG).events.removeEventListener(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_REQUEST, this._-3zA);
                        _-Px(this._-0TG).events.removeEventListener(_-Ev._-EE, this._-3zA);
                    };
                    this._-0TG.release(new IIDHabboFriendList());
                    this._-0TG = null;
                };
                if (this._-1Iu)
                {
                    if (!this._-1Iu.disposed)
                    {
                        this._-1Iu.events.removeEventListener(_-4sa.HABBO_HELP_TRACKING_EVENT_CLOSED, this._-0K9);
                        this._-1Iu.events.removeEventListener(_-4sa.HABBO_HELP_TRACKING_EVENT_DEFAULT, this._-0K9);
                    };
                    this._-1Iu.release(new IIDHabboHelp());
                    this._-1Iu = null;
                };
                if (this._-0a7)
                {
                    if (!this._-0a7.disposed)
                    {
                        this._-0a7.events.removeEventListener(_-0Sy._-40N, this._-2J3);
                    };
                    this._-0a7.release(new IIDHabboToolbar());
                    this._-0a7 = null;
                };
                if (this._-0tK)
                {
                    if (!this._-0tK.disposed)
                    {
                        this._-0tK.events.removeEventListener(_-4sI._-0DB, this._-3fT);
                        this._-0tK.events.removeEventListener(_-2ga._-4sh, this._-1Dy);
                        this._-0tK.events.removeEventListener(_-2ga._-1dz, this._-1Dy);
                    };
                    this._-0tK.release(new IIDRoomEngine());
                    this._-0tK = null;
                };
                removeUpdateReceiver(this);
                if (this._-4Ge != null)
                {
                    this._-4Ge.dispose();
                    this._-4Ge = null;
                };
                if (this._-c7 != null)
                {
                    this._-c7.dispose();
                    this._-c7 = null;
                };
                if (this._-0hB != null)
                {
                    this._-0hB.dispose();
                    this._-0hB = null;
                };
                if (this._-bz)
                {
                    this._-bz.dispose();
                    this._-bz = null;
                };
                if (this._-5F6)
                {
                    this._-5F6.stop();
                    this._-5F6.removeEventListener(TimerEvent.TIMER, this._-X7);
                    this._-5F6 = null;
                };
                this._-51u = null;
                super.dispose();
            };
        }
        private function _-3mQ(_arg1:uint, _arg2:uint):void
        {
            this._-4e[_arg2] = _arg1;
        }
        private function _-1d3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3fD = _-4uR(_arg2);
            if (this._-3fD)
            {
                if (this._-0hB != null)
                {
                    this._-0hB.configuration = this._-3fD;
                };
                if (this._-4Ge != null)
                {
                    this._-4Ge.configuration = this._-3fD;
                };
                this._-3mQ(1, 0);
                this.trackLoginStep(_-5El._-0tw);
                if (this._-3fD)
                {
                    if (this._-3sJ != null)
                    {
                        this._-3sJ._-0jL(this._-3fD);
                    };
                    if (this._-c7 != null)
                    {
                        this._-c7._-0jL(this._-3fD);
                    };
                    if (this._-bz != null)
                    {
                        this._-bz._-0jL(this._-3fD);
                    };
                };
            };
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-cU = _-0hg(_arg2);
            this._-3mQ(1, 1);
            this.trackLoginStep(_-5El._-tX);
        }
        private function _-w(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = _-4BJ(_arg2);
            if (this._-0ud != null)
            {
                this._-0ud.addHabboConnectionMessageEvent(new _-4Pw(this._-4Ee));
                this._-0ud.addHabboConnectionMessageEvent(new _-567(this._-0TW));
                this._-0ud.addHabboConnectionMessageEvent(new _-KL(this._-4sg));
                this._-51u = this._-0ud._-4gR(this._-1QP);
                if (this._-51u != null)
                {
                    this._-1QP(this._-51u);
                };
            };
            _-Px(context).events.addEventListener(_-0hr.INIT, this._-0hu);
            _-Px(context).events.addEventListener(_-0hr._-1WR, this._-0hu);
            _-Px(context).events.addEventListener(_-0hr._-1Nb, this._-0hu);
            _-Px(context).events.addEventListener(_-0hr._-4kN, this._-0hu);
            _-Px(context).events.addEventListener(_-0hr._-0xg, this._-0hu);
            _-Px(context).events.addEventListener(_-0hr._-1sg, this._-0hu);
            _-Px(context).events.addEventListener(_-2yx._-2Pm, this._-0m1);
            _-Px(context).events.addEventListener(_-2yx._-080, this._-0m1);
            _-Px(context).events.addEventListener(_-2yx._-3zu, this._-0m1);
        }
        private function _-1QP(_arg1:_-1ZV):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-51u = _arg1;
                if (this._-4Ge != null)
                {
                    this._-4Ge.connection = _arg1;
                };
                if (this._-0hB != null)
                {
                    this._-0hB.communication = this._-0ud;
                    this._-0hB.connection = _arg1;
                };
                if (this._-3sJ != null)
                {
                    this._-3sJ.connection = _arg1;
                };
            };
        }
        private function _-0m1(_arg1:Event):void
        {
            if (_arg1.type == _-2yx._-2Pm)
            {
                this.trackLoginStep(_-5El._-4Re);
            }
            else
            {
                if (_arg1.type == _-2yx._-3zu)
                {
                    this.trackLoginStep(_-5El._-4i0);
                }
                else
                {
                    if (_arg1.type == _-2yx._-080)
                    {
                        this.trackLoginStep(_-5El._-1ze);
                    };
                };
            };
        }
        private function _-0hu(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-0hr.INIT:
                    this.trackLoginStep(_-5El._-7s);
                    break;
                case _-0hr._-1WR:
                    this.trackLoginStep(_-5El._-2Pa, String(this._-0ud.port));
                    break;
                case _-0hr._-1Nb:
                    this.trackLoginStep(_-5El._-1Nb);
                    break;
                case _-0hr._-0xg:
                    this.trackLoginStep(_-5El._-0xg);
                    break;
                case _-0hr._-4kN:
                    this._-3mQ(2, 0);
                    this.trackLoginStep(_-5El._-4kN);
                    break;
                case _-0hr._-1sg:
                    this._-3mQ(3, 0);
                    this.trackLoginStep(_-5El._-1sg);
                    if (this._-0hB != null)
                    {
                        this._-0hB.init();
                    };
                    break;
            };
            if (this._-0ud)
            {
                _-Px(context).events.removeEventListener(_arg1.type, this._-0hu);
            };
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-4Cs = _-3Ts(_arg2);
            if (this._-4Cs)
            {
                _-Px(context).events.addEventListener(_-0d-.HABBO_WINDOW_TRACKING_EVENT_INPUT, this._-1DQ);
                _-Px(context).events.addEventListener(_-0d-.HABBO_WINDOW_TRACKING_EVENT_RENDER, this._-1DQ);
                _-Px(context).events.addEventListener(_-0d-.HABBO_WINDOW_TRACKING_EVENT_SLEEP, this._-1DQ);
            };
        }
        private function _-1DQ(_arg1:Event):void
        {
            if (_arg1.type == _-0d-.HABBO_WINDOW_TRACKING_EVENT_SLEEP)
            {
                this._-3mQ(0, 3);
            }
            else
            {
                if (_arg1.type == _-0d-.HABBO_WINDOW_TRACKING_EVENT_RENDER)
                {
                    this._-3mQ(1, 3);
                }
                else
                {
                    if (_arg1.type == _-0d-.HABBO_WINDOW_TRACKING_EVENT_INPUT)
                    {
                        this._-3mQ(2, 3);
                    };
                };
            };
        }
        private function _-127(_arg1:ErrorEvent):void
        {
            var url:String;
            var request:URLRequest;
            var variables:URLVariables;
            var keys:Array;
            var length:int;
            var i:int;
            var event:ErrorEvent = _arg1;
            this._-ZC(event);
            if (event._-4ic)
            {
                this._crashed = true;
            };
            if (((this._-3fD) && (this._-3fD.keyExists("client.fatal.error.url"))))
            {
                url = this._-3fD.getKey("client.fatal.error.url");
                request = new URLRequest(url);
                variables = new URLVariables();
                keys = ErrorReportStorage._-4LP();
                length = keys.length;
                i = 0;
                while (i < length)
                {
                    variables[keys[i]] = ErrorReportStorage._-3pD(keys[i]);
                    i = (i + 1);
                };
                variables[_-232.ERROR_VARIABLE_DEBUG] = ErrorReportStorage._-4ZR();
                request.data = variables;
                request.method = URLRequestMethod.POST;
                if (Capabilities.playerType != "StandAlone")
                {
                    if (this._crashed)
                    {
                        navigateToURL(request, "_self");
                    }
                    else
                    {
                        try
                        {
                            sendToURL(request);
                        }
                        catch(e:Error)
                        {
                            _-Nb.log(("Error while sending error report: " + e.message));
                        };
                    };
                };
            };
            this.logError(context.root.getLastErrorMessage());
        }
        private function _-ZC(_arg1:ErrorEvent):void
        {
            var k:uint;
            var k:String;
            ErrorReportStorage._-gN(_-232._-18v, _arg1._-4ic.toString());
            ErrorReportStorage._-gN(_-232.ERROR_VARIABLE_CLIENT_CRASH_TIME, new Date().getTime().toString());
            var k:String = "";
            for each (k in this._-4e)
            {
                k = (k + String(k));
            };
            ErrorReportStorage._-gN(_-232.ERROR_VARIABLE_CONTEXT, k);
            if (this._-4Ge != null)
            {
                ErrorReportStorage._-gN(_-232.ERROR_VARIABLE_FLASH_VERSION, this._-4Ge._-HX);
                ErrorReportStorage._-gN(_-232.ERROR_VARIABLE_AVERAGE_UPDATE_INTERVAL, String(this._-4Ge._-1zP));
            };
            ErrorReportStorage._-gN(_-232._-1A3, _arg1.message);
            ErrorReportStorage._-gN(_-232._-2Mv, String(_arg1.category));
            if (_arg1.error != null)
            {
                k = Exception._-4X2(_arg1.error);
                if (k != null)
                {
                    ErrorReportStorage._-gN(_-232._-0Gn, k);
                };
            };
            ErrorReportStorage._-0QQ("Flash memory usage", (("Memory usage: " + Math.round((System.totalMemory / (0x0400 * 0x0400)))) + " MB"));
        }
        private function _-2es(_arg1:Event):void
        {
            this.trackLoginStep(_-5El._-36X);
            if (((context) && (context.root)))
            {
                context.root.events.removeEventListener(_-5El._-36X, this._-2es);
            };
        }
        private function _-wL(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2bJ = (_-0Uq(_arg2) as _-0Uq);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_CLOSED, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_EVENTS, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_ROOMS, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_ME, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCH, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_OFFICIAL, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_LATEST_EVENTS, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FAVOURITES, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FRIENDS_ROOMS, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_HISTORY, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_ROOMS, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_OFFICIALROOMS, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_POPULAR_ROOMS, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WHERE_MY_FRIENDS_ARE, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WITH_HIGHEST_SCORE, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TAG_SEARCH, this._-3yy);
            this._-2bJ.events.addEventListener(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TEXT_SEARCH, this._-3yy);
            this._-2bJ.events.addEventListener(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_CLOSED, this._-2fK);
            this._-2bJ.events.addEventListener(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_DEFAULT, this._-2fK);
            this._-2bJ.events.addEventListener(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_ADVANCED, this._-2fK);
            this._-2bJ.events.addEventListener(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_THUMBS, this._-2fK);
            this._-2bJ.events.addEventListener(_-0Sy._-37m, this._-2gA);
        }
        private function _-3yy(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_CLOSED:
                    this._-3mQ(0, 4);
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_EVENTS:
                    this._-3mQ(1, 4);
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_ROOMS:
                    this._-3mQ(2, 4);
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_ME:
                    this._-3mQ(3, 4);
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_OFFICIAL:
                    this._-3mQ(4, 4);
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCH:
                    this._-3mQ(5, 4);
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_LATEST_EVENTS:
                    this._-02l("navigator", "latest_events");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FAVOURITES:
                    this._-02l("navigator", "my_favorites");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FRIENDS_ROOMS:
                    this._-02l("navigator", "my_friends_rooms");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_HISTORY:
                    this._-02l("navigator", "my_history");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_ROOMS:
                    this._-02l("navigator", "my_rooms");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_OFFICIALROOMS:
                    this._-02l("navigator", "official_rooms");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_POPULAR_ROOMS:
                    this._-02l("navigator", "popular_rooms");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WHERE_MY_FRIENDS_ARE:
                    this._-02l("navigator", "rooms_where_my_friends_are");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WITH_HIGHEST_SCORE:
                    this._-02l("navigator", "highest_score");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TAG_SEARCH:
                    this._-02l("navigator", "tag_search");
                    return;
                case _-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TEXT_SEARCH:
                    this._-02l("navigator", "text_search");
                    return;
            };
        }
        private function _-2fK(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_CLOSED:
                    this._-3mQ(0, 7);
                    return;
                case _-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_DEFAULT:
                    this._-3mQ(1, 7);
                    return;
                case _-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_ADVANCED:
                    this._-3mQ(2, 7);
                    return;
            };
        }
        private function _-3SD(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-YX = (_arg2 as _-1bw);
            _-Px(this._-YX).events.addEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_CLOSED, this._-2o);
            _-Px(this._-YX).events.addEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_FURNI, this._-2o);
            _-Px(this._-YX).events.addEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_POSTERS, this._-2o);
            _-Px(this._-YX).events.addEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_BADGES, this._-2o);
            _-Px(this._-YX).events.addEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_ACHIEVEMENTS, this._-2o);
            _-Px(this._-YX).events.addEventListener(_-3at.HABBO_INVENTORY_TRACKING_EVENT_TRADING, this._-2o);
        }
        private function _-2o(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-3at.HABBO_INVENTORY_TRACKING_EVENT_CLOSED:
                    this._-3mQ(0, 5);
                    return;
                case _-3at.HABBO_INVENTORY_TRACKING_EVENT_FURNI:
                    this._-3mQ(1, 5);
                    return;
                case _-3at.HABBO_INVENTORY_TRACKING_EVENT_POSTERS:
                    this._-3mQ(2, 5);
                    return;
                case _-3at.HABBO_INVENTORY_TRACKING_EVENT_BADGES:
                    this._-3mQ(3, 5);
                    return;
                case _-3at.HABBO_INVENTORY_TRACKING_EVENT_ACHIEVEMENTS:
                    this._-3mQ(4, 5);
                    return;
                case _-3at.HABBO_INVENTORY_TRACKING_EVENT_TRADING:
                    this._-3mQ(5, 5);
                    return;
            };
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = (_-2Jq(_arg2) as _-2Jq);
            this._-3oJ.events.addEventListener(_-1kU.CATALOG_PAGE_OPENED, this._-3Xt);
            this._-3oJ.events.addEventListener(_-060.HABBO_CATALOG_TRACKING_EVENT_OPEN, this._-uE);
            this._-3oJ.events.addEventListener(_-060.HABBO_CATALOG_TRACKING_EVENT_CLOSE, this._-uE);
        }
        private function _-4sg(_arg1:_-KL):void
        {
            var k:_-1DJ = _arg1._-3-5();
            this._-02l("achievement", "achievement", [k.data._-3T]);
        }
        private function _-3Xt(_arg1:_-1kU):void
        {
            this._-02l("catalogue", "page", [_arg1._-41c]);
        }
        private function _-uE(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-060.HABBO_CATALOG_TRACKING_EVENT_OPEN:
                    this._-3mQ(1, 9);
                    return;
                case _-060.HABBO_CATALOG_TRACKING_EVENT_CLOSE:
                    this._-3mQ(0, 9);
                    return;
            };
        }
        private function _-tK(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0TG = (_arg2 as _-a8);
            _-Px(this._-0TG).events.addEventListener(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_CLOSED, this._-3zA);
            _-Px(this._-0TG).events.addEventListener(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_FRIENDS, this._-3zA);
            _-Px(this._-0TG).events.addEventListener(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_SEARCH, this._-3zA);
            _-Px(this._-0TG).events.addEventListener(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_REQUEST, this._-3zA);
            _-Px(this._-0TG).events.addEventListener(_-Ev._-EE, this._-3zA);
        }
        private function _-3zA(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_CLOSED:
                    this._-3mQ(0, 6);
                    return;
                case _-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_FRIENDS:
                    this._-3mQ(1, 6);
                    return;
                case _-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_SEARCH:
                    this._-3mQ(2, 6);
                    return;
                case _-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_REQUEST:
                    this._-3mQ(3, 6);
                    return;
                case _-Ev._-EE:
                    this._-3mQ(4, 6);
                    return;
            };
        }
        private function _-3Kx(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-1Iu = (_arg2 as _-0QY);
            this._-1Iu.events.addEventListener(_-4sa.HABBO_HELP_TRACKING_EVENT_CLOSED, this._-0K9);
            this._-1Iu.events.addEventListener(_-4sa.HABBO_HELP_TRACKING_EVENT_DEFAULT, this._-0K9);
        }
        private function _-0K9(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-4sa.HABBO_HELP_TRACKING_EVENT_CLOSED:
                    this._-3mQ(0, 10);
                    return;
                case _-4sa.HABBO_HELP_TRACKING_EVENT_DEFAULT:
                    this._-3mQ(1, 10);
                    return;
            };
        }
        private function _-4Ee(_arg1:_-0tL):void
        {
            this._-02l("authentication", "authok");
        }
        private function _-0TW(_arg1:_-0tL):void
        {
            if (!this._-0eu)
            {
                this.trackLoginStep(_-5El._-p5);
                this._-0eu = true;
            };
            var k:_-4SS = _-567(_arg1)._-3-5();
            if (k._-Jj)
            {
                ErrorReportStorage._-gN(_-232._-4mw, String(k._-1At));
                ErrorReportStorage._-gN(_-232._-2DL, String(true));
                this._-02l("navigator", "private", [k._-1At]);
            }
            else
            {
                if (k.publicSpace != null)
                {
                    if (k.publicSpace._-PV == 0)
                    {
                        this._-02l("navigator", "public", [k.publicSpace._-1DO]);
                    }
                    else
                    {
                        this._-02l("navigator", "public", [((k.publicSpace._-1DO + "/") + k.publicSpace._-PV)]);
                    };
                };
            };
        }
        private function _-1Xl(_arg1:_-1G-):void
        {
            ErrorReportStorage._-gN(_-232._-2DL, String(false));
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0tK = (_arg2 as _-5-S);
            if (this._-0tK == null)
            {
                return;
            };
            _-Px(this._-0tK).events.addEventListener(_-4sI._-0DB, this._-3fT);
            _-Px(this._-0tK).events.addEventListener(_-2ga._-4sh, this._-1Dy);
            _-Px(this._-0tK).events.addEventListener(_-2ga._-1dz, this._-1Dy);
        }
        private function _-3fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2UY = (_arg2 as _-Km);
            this._-2UY.events.addEventListener(_-z2._-0X7, this._-4fW);
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = (_arg2 as _-3b);
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-2J3);
        }
        private function _-4fW(_arg1:_-z2):void
        {
            this._-02l("room_ad", "show", [this._-1G1(_arg1.clickUrl)]);
        }
        private function _-3fT(_arg1:_-4sI):void
        {
            this._-02l("room_ad", "click", [this._-1G1(_arg1.clickUrl)]);
        }
        private function _-1G1(_arg1:String):String
        {
            var k:Array = _arg1.match(/;alias=([^;]+)/);
            if (((!((k == null))) && ((k.length > 1))))
            {
                return (k[1]);
            };
            return ("unknown");
        }
        private function _-1Dy(_arg1:_-2ga):void
        {
            if (_arg1.type == _-2ga._-4sh)
            {
                if (this._-259 < 1)
                {
                    if (!this._-5F6)
                    {
                        this._-5F6 = new Timer((60 * 1000), 1);
                        this._-5F6.addEventListener(TimerEvent.TIMER, this._-X7);
                        this._-5F6.start();
                    };
                };
            }
            else
            {
                if (_arg1.type == _-2ga._-1dz)
                {
                    if (this._-5F6)
                    {
                        this._-5F6.removeEventListener(TimerEvent.TIMER, this._-X7);
                        this._-5F6.stop();
                        this._-5F6 = null;
                    };
                };
            };
        }
        private function _-X7(_arg1:TimerEvent):void
        {
            var k:String;
            var k:int;
            var k:int;
            if (((!(disposed)) && (!(this._crashed))))
            {
                if (this._-51u)
                {
                    if (this._-c7)
                    {
                        k = null;
                        if (this._-0tK)
                        {
                            k = this._-0tK.getRoomObjectCount(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-1sV._-3I0);
                            k = (this._-0tK.getRoomObjectCount(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-1sV._-0u-) + this._-0tK.getRoomObjectCount(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-1sV._-20L));
                            k = ((("Avatars: " + k) + ", Objects: ") + k);
                        };
                        this.trackEventLog("ClientPerformance", String(this._-c7.frameRate), "fps", k);
                        this._-259++;
                    };
                };
            };
        }
        private function _-2J3(_arg1:_-0Sy):void
        {
            if (this._-bz)
            {
                this._-bz.track(_arg1._-1wc);
            };
        }
        private function _-2gA(_arg1:_-0Sy):void
        {
            if (this._-bz)
            {
                this._-bz.track(_arg1.type);
            };
        }
        public function _-02l(_arg1:String, _arg2:String, _arg3:Array=null):void
        {
            _-Nb.log((((((("legacyTrackGoogle(" + _arg1) + ", ") + _arg2) + ", ") + _arg3) + ")"));
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.legacyTrack", _arg1, _arg2, (((_arg3 == null)) ? [] : _arg3));
                }
                else
                {
                    _-Nb.log("com.sulake.habbo.tracking: ExternalInterface is not available, tracking is disabled");
                };
            }
            catch(e:Error)
            {
            };
        }
        public function trackGoogle(_arg1:String, _arg2:String, _arg3:int=-1):void
        {
            _-Nb.log((((((("trackGoogle(" + _arg1) + ", ") + _arg2) + ", ") + _arg3) + ")"));
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.track", _arg1, _arg2, _arg3);
                }
                else
                {
                    _-Nb.log("com.sulake.habbo.tracking: ExternalInterface is not available, tracking is disabled");
                };
            }
            catch(e:Error)
            {
            };
        }
        public function trackLoginStep(_arg1:String, _arg2:String=null):void
        {
            if (((!((this._-3fD == null))) && (!(Boolean(this._-3fD.getKey("processlog.enabled"))))))
            {
                return;
            };
            _-Nb.log(("* Track Login Step: " + _arg1));
            try
            {
                if (ExternalInterface.available)
                {
                    if (_arg2 != null)
                    {
                        ExternalInterface.call("FlashExternalInterface.logLoginStep", _arg1, _arg2);
                    }
                    else
                    {
                        ExternalInterface.call("FlashExternalInterface.logLoginStep", _arg1);
                    };
                }
                else
                {
                    _-Nb.log("HabboMain: ExternalInterface is not available, tracking is disabled");
                };
            }
            catch(e:Error)
            {
            };
        }
        public function trackEventLog(_arg1:String, _arg2:String, _arg3:String, _arg4:String="", _arg5:int=0):void
        {
            if (((this._-51u) && (this._-51u.connected)))
            {
                this._-51u.send(new _-2ka(_arg1, _arg2, _arg3, _arg4, _arg5));
            };
        }
        public function trackTalentTrackOpen(_arg1:String, _arg2:String):void
        {
            this.trackEventLog("Talent", _arg1, "talent.open", _arg2);
        }
        public function logError(_arg1:String):void
        {
            _-Nb.log((("logError(" + _arg1) + ")"));
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.logError", _arg1);
                }
                else
                {
                    _-Nb.log("com.sulake.habbo.tracking: ExternalInterface is not available, tracking is disabled");
                };
            }
            catch(e:Error)
            {
            };
        }
        public function _-0hp(_arg1:int):void
        {
            this._-3sJ._-0hp(_arg1);
        }
        public function update(_arg1:uint):void
        {
            var k:int = getTimer();
            if ((((this._-5Ch > -1)) && ((k < this._-5Ch))))
            {
                this._-34K++;
                ErrorReportStorage._-0QQ("Invalid time counter", ("Invalid times: " + this._-34K));
            };
            if ((((this._-5Ch > -1)) && (((k - this._-5Ch) > (15 * 1000)))))
            {
                this._-3wx++;
                ErrorReportStorage._-0QQ("Time leap counter", ("Time leaps: " + this._-3wx));
            };
            this._-5Ch = k;
            if (this._-4Ge != null)
            {
                this._-4Ge.update(_arg1, this._-5Ch);
            };
            if (this._-0hB != null)
            {
                this._-0hB.update(_arg1, this._-5Ch);
            };
            if (this._-c7 != null)
            {
                this._-c7._-4zk(_arg1, this, this._-5Ch);
            };
            if (this._-3sJ != null)
            {
                this._-3sJ.update(this._-5Ch);
            };
        }

    }
}//package _-2gz

//------------------------------------------------------------
//_-2gz.LatencyTracker

package _-2gz
{
    import _-4Wu._-4uR;
    import _-3gx._-4BJ;
    import _-2np._-1ZV;
    import _-18r.Map;
    import _-1UD._-02D;
    import flash.utils.getTimer;
    import _-2p5._-2hq;
    import _-2p5._-1k5;
    import _-0M-._-4iZ;
    import _-4Aj._-0tL;

    public class LatencyTracker 
    {

        private var _-0Ke:Boolean = false;
        private var _-3fD:_-4uR;
        private var _-0ud:_-4BJ;
        private var _-51u:_-1ZV;
        private var _-52V:int = 0;
        private var _-2hU:int = 0;
        private var _-4t3:int = 0;
        private var _-tD:int = 0;
        private var _-36i:int = 0;
        private var _-LY:int = 0;
        private var _-13e:Array;
        private var _-0Ok:Map;

        public function set configuration(_arg1:_-4uR):void
        {
            this._-3fD = _arg1;
        }
        public function set communication(_arg1:_-4BJ):void
        {
            this._-0ud = _arg1;
        }
        public function set connection(_arg1:_-1ZV):void
        {
            this._-51u = _arg1;
        }
        public function dispose():void
        {
            this._-0Ke = false;
            this._-3fD = null;
            this._-0ud = null;
            this._-51u = null;
            if (this._-0Ok != null)
            {
                this._-0Ok.dispose();
                this._-0Ok = null;
            };
            this._-13e = null;
        }
        public function init():void
        {
            if ((((((this._-3fD == null)) || ((this._-0ud == null)))) || ((this._-51u == null))))
            {
                return;
            };
            this._-2hU = int(this._-3fD.getKey("latencytest.interval"));
            this._-4t3 = int(this._-3fD.getKey("latencytest.report.index"));
            this._-tD = int(this._-3fD.getKey("latencytest.report.delta"));
            this._-0ud.addHabboConnectionMessageEvent(new _-02D(this._-2aT));
            if (this._-2hU < 1)
            {
                return;
            };
            this._-0Ok = new Map();
            this._-13e = new Array();
            this._-0Ke = true;
        }
        public function update(_arg1:uint, _arg2:int):void
        {
            if (!this._-0Ke)
            {
                return;
            };
            if ((_arg2 - this._-36i) > this._-2hU)
            {
                this._-lt();
            };
        }
        private function _-lt():void
        {
            this._-36i = getTimer();
            this._-0Ok.add(this._-52V, this._-36i);
            this._-51u.send(new _-2hq(this._-52V));
            this._-52V++;
        }
        private function _-2aT(_arg1:_-0tL):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:_-1k5;
            if ((((this._-0Ok == null)) || ((this._-13e == null))))
            {
                return;
            };
            var k:_-4iZ = (_arg1 as _-02D)._-3-5();
            var k:int = this._-0Ok.getValue(k._-0nn);
            this._-0Ok.remove(k._-0nn);
            var k:int = (getTimer() - k);
            this._-13e.push(k);
            if ((((this._-13e.length == this._-4t3)) && ((this._-4t3 > 0))))
            {
                k = 0;
                k = 0;
                k = 0;
                k = 0;
                while (k < this._-13e.length)
                {
                    k = (k + this._-13e[k]);
                    k++;
                };
                k = (k / this._-13e.length);
                k = 0;
                while (k < this._-13e.length)
                {
                    if (this._-13e[k] < (k * 2))
                    {
                        k = (k + this._-13e[k]);
                        k++;
                    };
                    k++;
                };
                if (k == 0)
                {
                    this._-13e = [];
                    return;
                };
                k = (k / k);
                if ((((Math.abs((k - this._-LY)) > this._-tD)) || ((this._-LY == 0))))
                {
                    this._-LY = k;
                    k = new _-1k5(k, k, this._-13e.length);
                    this._-51u.send(k);
                };
                this._-13e = [];
            };
        }

    }
}//package _-2gz

//------------------------------------------------------------
//_-2hH._-1JY

package _-2hH
{
    import _-1ae._-4mB;

    public class _-1JY 
    {

        private var _-0ZX:String;
        private var _-0Dz:int;
        private var _height:int;
        private var _-2m4:Number;
        private var _-0xv:_-4mB;

        public function _-1JY(_arg1:String, _arg2:int, _arg3:int, _arg4:Number)
        {
            this._-0ZX = _arg1;
            this._-0Dz = _arg2;
            this._height = _arg3;
            this._-2m4 = _arg4;
        }
        public function get _-3ZQ():String
        {
            return (this._-0ZX);
        }
        public function get width():int
        {
            return (this._-0Dz);
        }
        public function get height():int
        {
            return (this._height);
        }
        public function get _-3tG():Number
        {
            return (this._-2m4);
        }
        public function get window():_-4mB
        {
            return (this._-0xv);
        }
        public function set window(_arg1:_-4mB):void
        {
            this._-0xv = _arg1;
        }

    }
}//package _-2hH

//------------------------------------------------------------
//_-2hH.Xmas2012CalendarGrid

package _-2hH
{
    import _-Ew.IWindowContainer;
    import __AS3__.vec.Vector;
    import _-06J._-3sX;
    import _-1ae.IDisplayObjectWrapper;
    import flash.geom.Point;
    import flash.display.BitmapData;
    import flash.display.Bitmap;
    import _-Ew.IWindow;
    import _-1ae.IItemGridWindow;
    import flash.geom.Matrix;
    import flash.display.DisplayObject;
    import _-U2._-1Yl;
    import flash.geom.Rectangle;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class Xmas2012CalendarGrid implements _-1zZ, _-0gI 
    {

        private static const _-4QQ:String = "placeholder_calendar_grid";
        private static const _-1tK:int = 38;

        private var _-2YF:Xmas2012Layout;
        private var _-0xv:IWindowContainer;
        private var _-4Wc:Vector.<_-3sX>;
        private var _-3D5:IDisplayObjectWrapper;
        private var _-4M0:Number = 0;
        private var _-9J:Point;

        public function Xmas2012CalendarGrid(_arg1:Xmas2012Layout)
        {
            var k:_-3sX;
            var k:BitmapData;
            var k:Bitmap;
            this._-9J = new Point(350, 0x0100);
            super();
            this._-2YF = _arg1;
            this._-4Wc = new Vector.<_-3sX>();
            var k:int;
            while (k < 24)
            {
                k = new _-3sX(_arg1);
                k.initialize();
                k.number = (k + 1);
                this._-4Wc.push(k);
                k++;
            };
            var k:IWindow = _arg1._-30b.findChildByName(_-4QQ);
            var k:int = _arg1._-30b.getChildIndex(k);
            this._-0xv = IWindowContainer(this._-2YF.landingView.getXmlWindow("xmas_calendar_layout"));
            IWindowContainer(k.parent).addChildAt(this._-0xv, k);
            IWindowContainer(k.parent).removeChild(k);
            var k:IItemGridWindow = IItemGridWindow(this._-0xv.findChildByName("calendar_itemgrid"));
            for each (k in this._-4Wc)
            {
                k._-2-F(k.container);
            };
            k = (this._-2YF.landingView.assets.getAssetByName("xmas2012_calendar_glare").content as BitmapData);
            k = new Bitmap(k);
            this._-3D5 = IDisplayObjectWrapper(this._-2YF.window.findChildByName("placeholder_glare_displayobject"));
            this._-3D5.setDisplayObject(k);
            this._-3D5.width = (k.width * Math.sqrt(2));
            this._-3D5.height = (k.height * Math.sqrt(2));
            this._-3D5.visible = false;
        }
        private static function _-2qu(_arg1:DisplayObject, _arg2:Number, _arg3:Point):void
        {
            var k:Matrix = new Matrix();
            k.tx = (k.tx - _arg3.x);
            k.ty = (k.ty - _arg3.y);
            k.rotate((_arg2 * (Math.PI / 180)));
            k.tx = (k.tx + _arg3.x);
            k.ty = (k.ty + _arg3.y);
            _arg1.transform.matrix = k;
        }

        public function dispose():void
        {
            var k:_-3sX;
            if (!this.disposed)
            {
                for each (k in this._-4Wc)
                {
                    k.dispose();
                };
                this._-2YF = null;
                super.dispose();
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2YF == null));
        }
        public function resizeWindow():void
        {
            var k:int = ((this._-0xv.desktop.width - this._-0xv.width) / 2);
            var k:int = (((this._-2YF._-30b.height - _-1tK) - this._-0xv.height) / 2);
            this._-0xv.x = (this._-0xv.desktop.width + k);
            this._-0xv.y = k;
            this._-3HY();
        }
        public function _-2mI(_arg1:Array, _arg2:int):void
        {
            var k:_-1Yl;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:Vector.<int> = new Vector.<int>();
            var k:Boolean = true;
            for each (k in _arg1)
            {
                k = k.sortOrder;
                k = (k == _arg2);
                if (k.get )
                {
                    this._-2v9(k, ((k) ? _-3sX._-32u : _-3sX._-2kU));
                }
                else
                {
                    if (k)
                    {
                        this._-2v9(k, ((k.accepted) ? _-3sX._-1sy : _-3sX._-31i));
                    }
                    else
                    {
                        this._-2v9(k, _-3sX._-2ko);
                    };
                };
                if (k)
                {
                    k = !(k.get );
                };
                k.push(k.sortOrder);
            };
            k = 1;
            while (k < _arg2)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-2v9(k, _-3sX._-2ko);
                };
                k++;
            };
            this._-3HY();
            this._-3D5.visible = k;
        }
        private function _-2v9(_arg1:int, _arg2:int):void
        {
            this._-4Wc[_arg1].state = _arg2;
        }
        public function update(_arg1:uint):void
        {
            var k:_-3sX;
            if (this._-3D5.visible)
            {
                _-2qu(this._-3D5.getDisplayObject(), (this._-4M0 = (this._-4M0 + (_arg1 / 100))), this._-9J);
                if (this._-4M0 > 360)
                {
                    this._-4M0 = (this._-4M0 - 360);
                };
            };
            for each (k in this._-4Wc)
            {
                k.update(_arg1);
            };
        }
        private function _-3HY():void
        {
            var k:Rectangle;
            var k:int = (this._-2YF._-A0 - this._-2YF._-4vj);
            if (k > 0)
            {
                k = this._-4Wc[(k - 1)].rectangleToContentBackground;
                this._-3D5.x = ((k.left - this._-9J.x) + (k.width / 2));
                this._-3D5.y = ((k.top - this._-9J.y) + (k.height / 2));
            };
        }

    }
}//package _-2hH

//------------------------------------------------------------
//_-2hH.Xmas2012Layout

package _-2hH
{
    import _-253._-4Qc;
    import _-Ew.IWindowContainer;
    import _-3Q9.HabboLandingView;
    import _-1ae._-4mB;
    import _-1ae.IBackgroundWindow;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-WH._-1PE;
    import _-U2._-1Yl;

    public class Xmas2012Layout extends _-4Qc 
    {

        private static const final:String = "xmas2012_";
        private static const _-2RS:Array = [new _-1JY("Layer_3_8bit.gif", 3680, 349, 0.6), new _-1JY("Layer_2_8bit.gif", 3680, 229, 0.4), new _-1JY("Layer_4_stars_blue_8bit.png", 1770, 0x0400, 0.3)];
        private static const _-33X:int = 2000;
        private static const _-3nB:String = "${image.library.url}xmas2012/";

        private var _-3gP:int;
        private var _-0Wq:int = 0;
        private var _-3yv:uint;
        private var _-1ch:int;
        private var _-3y9:uint = 0;
        private var _-3ZW:IWindowContainer;
        private var _-4lt:Xmas2012CalendarGrid;
        private var _-0yY:int = 0;
        private var _-1Dd:int = -1;
        private var _-4c1:Xmas2012LayoutPageSwitcherButton;

        public function Xmas2012Layout(_arg1:HabboLandingView)
        {
            this._-1ch = this._-0Wq;
            super(_arg1);
        }
        override public function dispose():void
        {
            var k:_-1JY;
            if (!disposed)
            {
                for each (k in _-2RS)
                {
                    k.window.dispose();
                };
                if (this._-4lt)
                {
                    this._-4lt.dispose();
                    this._-4lt = null;
                };
                super.dispose();
            };
        }
        override protected function createWindow():void
        {
            var k:_-1JY;
            var k:_-4mB;
            if (_-0xv != null)
            {
                return;
            };
            _-0xv = IBackgroundWindow(_-07j.getXmlWindow("landing_view_xmas2012", 0));
            this._-3ZW = IWindowContainer(_-0xv.findChildByName("content_background"));
            _-0wv.initialize(_-0xv);
            _-13R();
            this._-3ZW.width = (_-0xv.desktop.width * 2);
            this._-3gP = _-0xv.desktop.width;
            var k:IBackgroundWindow = IBackgroundWindow(_-0xv);
            for each (k in _-2RS)
            {
                k = _-4mB(_-07j.windowManager.createWindow("", "", _-4Pi._-0B-, _-29z._-3dr, _-3hb._-2rR, new Rectangle(0, 0, k.width, k.height)));
                k.assetUri = (_-3nB + k._-3ZQ);
                k.height = k.height;
                k.width = k.width;
                k.window = k;
                k.addChildAt(k, 0);
            };
            _-vw();
            this._-0sf();
            this._-4f3(_-07j.configurationManager.getKey("xmas2012.calendar.startdate", "2012-12-01 00:00"));
            this._-4lt = new Xmas2012CalendarGrid(this);
            this._-4lt.resizeWindow();
            this._-4c1 = new Xmas2012LayoutPageSwitcherButton(this);
            this._-4c1.resizeWindow();
            _-07j.questEngine.events.addEventListener(_-1PE._-4EE, this._-569);
            _-07j.questEngine.requestSeasonalQuests();
        }
        public function get _-31c():int
        {
            return (_-0xv.desktop.width);
        }
        override protected function resizeWindow():void
        {
            var k:int;
            var k:int;
            _-0xv.width = this._-31c;
            _-0xv.height = _-0xv.desktop.height;
            this._-3ZW.width = (this._-31c * 2);
            this._-3ZW.height = _-0xv.desktop.height;
            this._-3ZW.x = (-(this._-0Wq) * this._-31c);
            this._-3gP = this._-31c;
            if (_-46)
            {
                k = (_-1bf - _-0xv.desktop.height);
                k = ( get - this._-31c);
                _-46.resizeTo((_-46.topItemListInitialWidth - k), (_-46.topItemListInitialHeight - k));
                _-46.scrollbarRightEdgeRelativeToScreen = Math.min(_-0xv.width, (this._-31c + window.x));
            };
            if (this._-4lt)
            {
                this._-4lt.resizeWindow();
            };
            if (this._-4c1)
            {
                this._-4c1.resizeWindow();
            };
            this._-0sf();
        }
        public function _-QM(_arg1:int):void
        {
            if (((!((_arg1 == this._-0Wq))) && (!(this._-39))))
            {
                this._-3yv = this._-3y9;
                this._-1ch = _arg1;
            };
        }
        public function get _-39():Boolean
        {
            return (!((this._-1ch == this._-0Wq)));
        }
        public function get page():int
        {
            return (this._-0Wq);
        }
        public function get _-4gb():int
        {
            var _local1:uint;
            var _local2:Number;
            if (!this._-39)
            {
                return (0);
            };
            _local1 = (this._-3y9 - this._-3yv);
            _local2 = (_local1 / _-33X);
            return ((((this._-1ch - this._-0Wq) * (1 - Math.cos(_local2))) * this._-31c));
        }
        private function _-0sf():void
        {
            var k:_-1JY;
            this._-3ZW.x = ((-(this._-0Wq) * this._-31c) - this._-4gb);
            for each (k in _-2RS)
            {
                k.window.x = (k._-3tG * ((this._-3gP - (k.width / 2)) - (this._-4gb + (this._-0Wq * this._-31c))));
                k.window.y = (this._-3ZW.desktop.height - k.height);
            };
        }
        private function _-228():Boolean
        {
            if (!this._-39)
            {
                return (true);
            };
            if (this._-1ch > this._-0Wq)
            {
                return ((this._-4gb >= this._-31c));
            };
            return ((this._-4gb <= -(this._-31c)));
        }
        override public function update(_arg1:uint):void
        {
            super.update(_arg1);
            this._-3y9 = (this._-3y9 + _arg1);
            if (this._-39)
            {
                this._-0sf();
                if (this._-228())
                {
                    this._-0Wq = this._-1ch;
                    if (this._-4c1)
                    {
                        this._-4c1.page = this._-0Wq;
                    };
                    this._-0sf();
                };
                _-0xv.invalidate();
            };
            if (this._-4lt)
            {
                this._-4lt.update(_arg1);
            };
            if (this._-4c1)
            {
                this._-4c1.update(_arg1);
            };
        }
        public function get _-30b():IWindowContainer
        {
            return (this._-3ZW);
        }
        public function _-569(_arg1:_-1PE):void
        {
            if (!_-07j)
            {
                return;
            };
            var k:Array = _arg1.quests;
            k.sortOn(["sortOrder"]);
            this._-0yY = _-1Yl(k[(k.length - 1)]).sortOrder;
            this._-4lt._-2mI(k, this._-0yY);
        }
        private function _-4Nk(_arg1:_-1Yl):Boolean
        {
            return ((_arg1._-0-l.indexOf(final) == 0));
        }
        public function get _-A0():int
        {
            return (this._-0yY);
        }
        public function get _-4vj():int
        {
            return (this._-1Dd);
        }
        private function _-4f3(_arg1:String):void
        {
            var k:Array = _arg1.split(" ");
            var k:Array = k[0].split("-");
            var k:Date = new Date(k[0], (int(k[1]) - 1), k[2]);
            var k:Date = new Date("2012", (12 - 1), "1");
            var k:Number = (((1000 * 60) * 60) * 24);
            var k:Number = ((k.getTime() - k.getTime()) / k);
            this._-1Dd = Math.round(k);
        }

    }
}//package _-2hH

//------------------------------------------------------------
//_-2hH.Xmas2012LayoutPageSwitcherButton

package _-2hH
{
    import _-1ae.IRegionWindow;
    import _-1ae._-4mB;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-2ly._-0d3;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class Xmas2012LayoutPageSwitcherButton implements _-0gI, _-1zZ 
    {

        private static const _-47z:int = 20;
        private static const _-321:int = 100;
        private static const _-1tK:int = 38;
        private static const _-4QQ:String = "placeholder_calendar_page_switcher";
        private static const _-dB:String = "${image.library.url}xmas2012/page_toggle_button_";
        private static const _-3rd:String = ".png";
        private static const _-21k:int = -1;
        private static const _-5L:int = 0;
        private static const _-52j:int = 1;
        private static const _-2uQ:int = 2;
        private static const _-02p:int = 500;

        private var _-2YF:Xmas2012Layout;
        private var _-0xv:IRegionWindow;
        private var _-4Ku:_-4mB;
        private var _-6d:_-4mB;
        private var _-0ps:uint = 0;
        private var _-4gO:uint = 0;
        private var _-43d:int = 0;

        public function Xmas2012LayoutPageSwitcherButton(_arg1:Xmas2012Layout)
        {
            this._-2YF = _arg1;
            var k:IWindow = _arg1._-30b.findChildByName(_-4QQ);
            var k:int = _arg1._-30b.getChildIndex(k);
            this._-0xv = (_arg1.landingView.getXmlWindow("xmas_calendar_switcher_button") as IRegionWindow);
            IWindowContainer(k.parent).addChildAt(this._-0xv, k);
            IWindowContainer(k.parent).removeChild(k);
            this._-0xv.visible = true;
            this._-0xv.procedure = this.procedure;
            this._-4Ku = (this._-0xv.findChildByName("glow") as _-4mB);
            this._-6d = (this._-0xv.findChildByName("button") as _-4mB);
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                this._-0xv.dispose();
                this._-2YF = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2YF == null));
        }
        public function resizeWindow():void
        {
            this._-0xv.x = this._-389(this._-2YF.page);
            this._-0xv.y = (((this._-0xv.desktop.height - _-1tK) / 2) - (this._-0xv.height / 2));
        }
        private function _-389(_arg1:int):int
        {
            if (_arg1 == 0)
            {
                return (((this._-2YF._-31c - _-47z) - this._-0xv.width));
            };
            return (((_arg1 * this._-2YF._-31c) + _-321));
        }
        public function update(_arg1:uint):void
        {
            var k:Number;
            var k:Number;
            if (this._-2YF._-39)
            {
                k = (this._-2YF._-4gb / Number(this._-2YF._-31c));
                if (k >= 0)
                {
                    this._-0xv.x = _-0d3._-1SO(k, this._-389(0), this._-389(1));
                }
                else
                {
                    this._-0xv.x = _-0d3._-1SO((1 + k), this._-389(0), this._-389(1));
                };
            };
            var k:Boolean = ((!((this._-0ps == this._-4gO))) && (!((this._-43d == _-5L))));
            var k:Number = (0.66 + (0.33 * Math.sin((this._-0ps / 1000))));
            if (((!(k)) && (this._-4Ku)))
            {
                this._-4Ku.blend = k;
            };
            switch (this._-43d)
            {
                case _-21k:
                    k = (Number((this._-0ps - this._-4gO)) / _-02p);
                    this._-4Ku.blend = Math.min(k, k);
                    this._-6d.blend = Math.min(k, 1);
                    if ((((k >= 1)) && (k)))
                    {
                        this._-43d = _-5L;
                    };
                    break;
                case _-52j:
                    k = (1 - (Number((this._-0ps - this._-4gO)) / _-02p));
                    this._-4Ku.blend = Math.max((k * k), 0);
                    this._-6d.blend = Math.max(k, 0);
                    if ((((k <= 0)) && (k)))
                    {
                        this._-43d = _-2uQ;
                    };
                    break;
            };
            this._-0ps = (this._-0ps + _arg1);
        }
        public function set page(_arg1:int):void
        {
            if (this._-6d)
            {
                this._-6d.assetUri = ((_-dB + _arg1) + _-3rd);
            };
            this._-0tt(_-21k);
        }
        private function procedure(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2YF._-QM((((this._-2YF.page == 0)) ? 1 : 0));
                this._-0tt(_-52j);
            };
        }
        private function _-0tt(_arg1:int):void
        {
            this._-43d = _arg1;
            this._-4gO = this._-0ps;
        }

    }
}//package _-2hH

//------------------------------------------------------------
//_-2HU._-2I1

package _-2HU
{
    import flash.utils.ByteArray;
    import _-3pm._-dR;
    import _-4yl.Hex;
    import _-4Aj.*;

    final class _-2I1 implements _-0s1 
    {

        private var _-0Kq:int;
        private var _-0qE:ByteArray;

        public function _-2I1(_arg1:int, _arg2:ByteArray)
        {
            this._-0Kq = _arg1;
            this._-0qE = _arg2;
        }
        public function _-0Ki():int
        {
            return (this._-0Kq);
        }
        public function readString():String
        {
            return (this._-0qE.readUTF());
        }
        public function _-2BW():int
        {
            return (this._-0qE.readInt());
        }
        public function readBoolean():Boolean
        {
            return (this._-0qE.readBoolean());
        }
        public function readShort():_-dR
        {
            return (new _-dR(this._-0qE.readShort()));
        }
        public function readFloat():Number
        {
            return (this._-0qE.readFloat());
        }
        public function get bytesAvailable():uint
        {
            return (this._-0qE.bytesAvailable);
        }
        public function toString():String
        {
            return (((((("id=" + this._-0Kq) + ", pos=") + this._-0qE.position) + ", data=") + Hex._-3-a(this._-0qE, true)));
        }

    }
}//package _-2HU

//------------------------------------------------------------
//_-2HU._-3aT

package _-2HU
{
    import flash.utils.ByteArray;
    import _-3pm._-dR;

    public final class _-3aT implements _-3ep 
    {

        private static const _-3lx:uint = (128 * 0x0400);//131072

        public function dispose():void
        {
        }
        public function encode(_arg1:int, _arg2:Array):ByteArray
        {
            var k:Object;
            var k:uint;
            var k:ByteArray;
            var k:ByteArray = new ByteArray();
            k.writeInt(0);
            k.writeShort(_arg1);
            for each (k in _arg2)
            {
                if ((k is String))
                {
                    k.writeUTF((k as String));
                }
                else
                {
                    if ((k is int))
                    {
                        k.writeInt((k as int));
                    }
                    else
                    {
                        if ((k is Boolean))
                        {
                            k.writeBoolean((k as Boolean));
                        }
                        else
                        {
                            if ((k is _-dR))
                            {
                                k.writeShort((k as _-dR).value);
                            }
                            else
                            {
                                if ((k is ByteArray))
                                {
                                    k = (k as ByteArray);
                                    k.writeInt(k.length);
                                    k.writeBytes(k);
                                };
                            };
                        };
                    };
                };
            };
            k = k.length;
            k.position = 0;
            k.writeInt((k - 4));
            k.position = k;
            return (k);
        }
        public function _-4q3(_arg1:ByteArray):Array
        {
            var k:uint;
            var k:uint;
            var k:ByteArray;
            var k:int;
            var k:Array = new Array();
            while (true)
            {
                if (_arg1.bytesAvailable < 4)
                {
                    return (k);
                };
                k = _arg1.position;
                k = _arg1.readInt();
                if ((((k < 2)) || ((k > _-3lx))))
                {
                    throw (new Error(("Invalid message length " + k)));
                };
                if (_arg1.bytesAvailable < k)
                {
                    _arg1.position = k;
                    return (k);
                };
                k = new ByteArray();
                k.writeBytes(_arg1, _arg1.position, k);
                k.position = 0;
                _arg1.position = (_arg1.position + k);
                k = k.readShort();
                k.push(new _-2I1(k, k));
            };
            return (!NULL!);
        }

    }
}//package _-2HU

//------------------------------------------------------------
//_-2HU._-3ep

package _-2HU
{
    import flash.utils.ByteArray;

    public interface _-3ep 
    {

        function dispose():void;
        function encode(_arg1:int, _arg2:Array):ByteArray;
        function _-4q3(_arg1:ByteArray):Array;

    }
}//package _-2HU

//------------------------------------------------------------
//_-2HX._-0Dr

package _-2HX
{
    public class _-0Dr 
    {

        public static const _-h9:int = 0;
        public static const _-3Ez:int = 1;
        public static const _-4oA:int = 2;

    }
}//package _-2HX

//------------------------------------------------------------
//_-2HX._-1HE

package _-2HX
{
    public class _-1HE 
    {

        public static const NORMAL:int = 0;
        public static const _-4Hr:int = 1;
        public static const BOT:int = 2;

    }
}//package _-2HX

//------------------------------------------------------------
//_-2HX._-1Vb

package _-2HX
{
    public class _-1Vb 
    {

        public static const _-1AY:String = "RWEIEP_INFOSTAND_EXTRA_PARAM";
        public static const _-2dB:String = "RWEIEP_JUKEBOX";
        public static const _-3VZ:String = "RWEIEP_USABLE_PRODUCT";
        public static const _-0WK:String = "RWEIEP_SONGDISK";
        public static const _-0d5:String = "RWEIEP_BRANDING_OPTIONS";
        public static const _-1Dp:String = "RWEIEP_USABLE";

    }
}//package _-2HX

//------------------------------------------------------------
//_-2HX._-29-

package _-2HX
{
    public class _-29- 
    {

        public static const _-4lC:int = 0;
        public static const _-ly:int = 1;

    }
}//package _-2HX

//------------------------------------------------------------
//_-2HX._-39F

package _-2HX
{
    public class _-39F 
    {

        public static const _-2H0:int = 0;
        public static const _-lR:int = 1;
        public static const _-4t9:int = 2;

    }
}//package _-2HX

//------------------------------------------------------------
//_-2HX._-4QU

package _-2HX
{
    public class _-4QU 
    {

        public static const _-3IP:String = "RWE_CHAT_WIDGET";
        public static const _-0vV:String = "RWE_INFOSTAND";
        public static const _-0kJ:String = "RWE_ME_MENU";
        public static const _-1ve:String = "RWE_CHAT_INPUT_WIDGET";
        public static const _-1Wt:String = "RWE_FURNI_PLACEHOLDER";
        public static const _-0FK:String = "RWE_FURNI_CREDIT_WIDGET";
        public static const _-1ca:String = "RWE_FURNI_STICKIE_WIDGET";
        public static const _-0PY:String = "RWE_FURNI_TROPHY_WIDGET";
        public static const _-08H:String = "RWE_FURNI_PRESENT_WIDGET";
        public static const _-3aQ:String = "RWE_FURNI_ECOTRONBOX_WIDGET";
        public static const _-18I:String = "RWE_FURNI_PET_PACKAGE_WIDGET";
        public static const _-3xZ:String = "RWE_PLAYLIST_EDITOR_WIDGET";
        public static const _-0Dp:String = "RWE_DOORBELL";
        public static const _-d6:String = "RWE_LOADINGBAR";
        public static const _-4tN:String = "RWE_ROOM_QUEUE";
        public static const _-0hU:String = "RWE_ROOM_POLL";
        public static const _-2yV:String = "RWE_ROOM_VOTE";
        public static const _-hj:String = "RWE_USER_CHOOSER";
        public static const _-0SZ:String = "RWE_FURNI_CHOOSER";
        public static const _-j:String = "RWE_ROOM_DIMMER";
        public static const _-Uy:String = "RWE_FRIEND_REQUEST";
        public static const _-2ef:String = "RWE_CLOTHING_CHANGE";
        public static const _-06P:String = "RWE_CONVERSION_TRACKING";
        public static const _-6s:String = "RWE_USER_NOTIFICATION";
        public static const _-20N:String = "RWE_FRIENDS_BAR";
        public static const _-3Uc:String = "RWE_PURSE_WIDGET";
        public static const _-1Ky:String = "RWE_AVATAR_INFO";
        public static const _-0iH:String = "RWE_WELCOME_GIFT";
        public static const _-AT:String = "RWE_SPAMWALL_POSTIT_WIDGET";
        public static const _-4ma:String = "RWE_EFFECTS";
        public static const _-3Rz:String = "RWE_MANNEQUIN";
        public static const _-3wf:String = "RWE_FURNITURE_CONTEXT_MENU";
        public static const _-3u6:String = "RWE_LOCATION_WIDGET";
        public static const _-3HJ:String = "RWE_CAMERA";
        public static const _-51W:String = "RWE_ROOM_BACKGROUND_COLOR";
        public static const _-4Om:String = "RWE_CUSTOM_USER_NOTIFICATION";

    }
}//package _-2HX

//------------------------------------------------------------
//_-2HX._-uu

package _-2HX
{
    public class _-uu 
    {

        public static const NONE:_-uu = new _-uu(0);
        public static const _-2xr:_-uu = new _-uu(1);
        public static const _-28W:_-uu = new _-uu(2);
        public static const _-1VQ:_-uu = new _-uu(3);
        public static const _-0Wl:_-uu = new _-uu(4);
        public static const _-4Q4:_-uu = new _-uu(5);
        public static const _-0L2:_-uu = new _-uu(6);
        public static const _-4P8:_-uu = new _-uu(7);

        private var _-yl:int = 0;

        public function _-uu(_arg1:int):void
        {
            this._-yl = _arg1;
        }
        public function get _-4Ll():int
        {
            return (this._-yl);
        }
        public function _-DQ(_arg1:_-uu):Boolean
        {
            return (((_arg1) && ((_arg1._-yl == this._-yl))));
        }

    }
}//package _-2HX

//------------------------------------------------------------
//_-2IQ._-0Ea

package _-2IQ
{
    public class _-0Ea 
    {

        private var _-1Rt:int;
        private var _-0wA:int;
        private var _-0qE:XML;
        private var _-3j8:String = null;
        private var _-8h:String = null;
        private var _-0Rk:String = null;

        public function _-0Ea(_arg1:int, _arg2:int, _arg3:XML)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
            this._-0qE = _arg3;
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get data():XML
        {
            return (this._-0qE);
        }
        public function get _-E-():String
        {
            return (this._-3j8);
        }
        public function set _-E-(_arg1:String):void
        {
            this._-3j8 = _arg1;
        }
        public function get _-1ts():String
        {
            return (this._-8h);
        }
        public function set _-1ts(_arg1:String):void
        {
            this._-8h = _arg1;
        }
        public function get _-Av():String
        {
            return (this._-0Rk);
        }
        public function set _-Av(_arg1:String):void
        {
            this._-0Rk = _arg1;
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ._-0Qb

package _-2IQ
{
    import _-18r.Map;

    public class _-0Qb 
    {

        private var _-5K:String = "";
        private var _-2Py:Map = null;

        public function _-0Qb(_arg1:String)
        {
            this._-5K = _arg1;
            this._-2Py = new Map();
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function _-04j(_arg1:String, _arg2:Number, _arg3:Number):Boolean
        {
            if (this._-2Py.getValue(_arg1) != null)
            {
                return (false);
            };
            var k:_-0Xz = new _-0Xz(_arg1, _arg2, _arg3);
            this._-2Py.add(_arg1, k);
            return (true);
        }
        public function _-0eM(_arg1:String):Boolean
        {
            if (this._-2Py.getValue(_arg1) != null)
            {
                return (true);
            };
            return (false);
        }
        public function _-qL(_arg1:String):Number
        {
            var k:_-0Xz = (this._-2Py.getValue(_arg1) as _-0Xz);
            if (k != null)
            {
                return (k.scale);
            };
            return (1);
        }
        public function _-MH(_arg1:String):Number
        {
            var k:_-0Xz = (this._-2Py.getValue(_arg1) as _-0Xz);
            if (k != null)
            {
                return (k.heightScale);
            };
            return (1);
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ._-0Xz

package _-2IQ
{
    public class _-0Xz 
    {

        private var _-2Ta:String = "";
        private var _-4O8:Number = 1;
        private var _-3Tb:Number = 1;

        public function _-0Xz(_arg1:String, _arg2:Number, _arg3:Number)
        {
            this._-2Ta = _arg1;
            this._-3Tb = _arg2;
            this._-4O8 = _arg3;
        }
        public function get heightScale():Number
        {
            return (this._-4O8);
        }
        public function get scale():Number
        {
            return (this._-3Tb);
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ._-1--

package _-2IQ
{
    import _-18r.Map;

    public class _-1-- 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-1Kv:TileHeightMap = null;
        private var _-3vW:LegacyWallGeometry = null;
        private var _-1OY:TileObjectMap = null;
        private var _-1Hp:_-3Dk = null;
        private var _-0te:_-1WL = null;
        private var _-2Jd:_-1WL = null;
        private var _-2Ta:String = null;
        private var _-zF:Map;
        private var _-2gD:Map;
        private var _-1rd:Array;

        public function _-1--(_arg1:int, _arg2:int)
        {
            this._-zF = new Map();
            this._-2gD = new Map();
            this._-1rd = [];
            super();
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
            this._-3vW = new LegacyWallGeometry();
            this._-1Hp = new _-3Dk();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-537():TileHeightMap
        {
            return (this._-1Kv);
        }
        public function set _-537(_arg1:TileHeightMap):void
        {
            if (this._-1Kv != null)
            {
                this._-1Kv.dispose();
            };
            this._-1Kv = _arg1;
            if (this._-1OY)
            {
                this._-1OY.dispose();
            };
            if (this._-1Kv)
            {
                this._-1OY = new TileObjectMap(this._-1Kv._-0L-, this._-1Kv._-07s);
            };
        }
        public function get _-2Uv():LegacyWallGeometry
        {
            return (this._-3vW);
        }
        public function get _-0Cx():TileObjectMap
        {
            return (this._-1OY);
        }
        public function get _-0Pc():_-3Dk
        {
            return (this._-1Hp);
        }
        public function get _-G2():String
        {
            return (this._-2Ta);
        }
        public function set _-G2(_arg1:String):void
        {
            this._-2Ta = _arg1;
        }
        public function get _-3Gz():_-1WL
        {
            return (this._-0te);
        }
        public function set _-3Gz(_arg1:_-1WL):void
        {
            if (this._-0te != null)
            {
                this._-0te.dispose();
            };
            this._-0te = _arg1;
        }
        public function get _-3lC():_-1WL
        {
            return (this._-2Jd);
        }
        public function set _-3lC(_arg1:_-1WL):void
        {
            if (this._-2Jd != null)
            {
                this._-2Jd.dispose();
            };
            this._-2Jd = _arg1;
        }
        public function dispose():void
        {
            if (this._-1Kv != null)
            {
                this._-1Kv.dispose();
                this._-1Kv = null;
            };
            if (this._-3vW != null)
            {
                this._-3vW.dispose();
                this._-3vW = null;
            };
            if (this._-1Hp != null)
            {
                this._-1Hp.dispose();
                this._-1Hp = null;
            };
            if (this._-0te != null)
            {
                this._-0te.dispose();
                this._-0te = null;
            };
            if (this._-2Jd != null)
            {
                this._-2Jd.dispose();
                this._-2Jd = null;
            };
            if (this._-zF != null)
            {
                this._-zF.dispose();
                this._-zF = null;
            };
            if (this._-2gD != null)
            {
                this._-2gD.dispose();
                this._-2gD = null;
            };
            if (this._-1OY != null)
            {
                this._-1OY.dispose();
                this._-1OY = null;
            };
        }
        public function _-3Dq(_arg1:_-LQ):void
        {
            if (_arg1 != null)
            {
                this._-zF.remove(_arg1.id);
                this._-zF.add(_arg1.id, _arg1);
            };
        }
        public function _-2QH():_-LQ
        {
            if (this._-zF.length > 0)
            {
                return (this._-0BW(this._-zF.getKey(0)));
            };
            return (null);
        }
        public function _-0BW(_arg1:int):_-LQ
        {
            var k:_-LQ = this._-zF.remove(_arg1);
            return (k);
        }
        public function true (_arg1:_-LQ):void
        {
            if (_arg1 != null)
            {
                this._-2gD.remove(_arg1.id);
                this._-2gD.add(_arg1.id, _arg1);
            };
        }
        public function _-3LT():_-LQ
        {
            if (this._-2gD.length > 0)
            {
                return (this._-4xy(this._-2gD.getKey(0)));
            };
            return (null);
        }
        public function _-4xy(_arg1:int):_-LQ
        {
            var k:_-LQ = this._-2gD.remove(_arg1);
            return (k);
        }
        public function _-18e(_arg1:String):Boolean
        {
            var k:int = this._-1rd.indexOf(_arg1);
            if (k == -1)
            {
                this._-1rd.push(_arg1);
                return (true);
            };
            return (false);
        }
        public function _-1M-(_arg1:String):Boolean
        {
            var k:int = this._-1rd.indexOf(_arg1);
            if (k > -1)
            {
                this._-1rd.splice(k, 1);
                return (true);
            };
            return (false);
        }
        public function _-tH():Boolean
        {
            return ((this._-1rd.length > 0));
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ._-1WL

package _-2IQ
{
    import _-0y0._-Xl;
    import _-293._-4q2;
    import _-0y0._-06R;
    import _-293.*;

    public class _-1WL implements _-0xz 
    {

        private var _-0Kq:int = 0;
        private var _-JS:int = 0;
        private var _-2wV:String = "";
        private var _-0cX:_-Xl = null;
        private var _-ai:_-Xl = null;
        private var _-3Gp:int = 0;
        private var _-aD:String = null;
        private var _-56Y:_-4q2 = null;
        private var _-0Ke:int = -1;
        private var _-1NI:int = -1;
        private var _-53c:String = null;

        public function _-1WL(_arg1:int, _arg2:int, _arg3:String, _arg4:_-06R, _arg5:_-06R, _arg6:int=0, _arg7:String=null, _arg8:_-4q2=null, _arg9:int=-1, _arg10:int=-1, _arg11:String=null)
        {
            this._-0Kq = _arg1;
            this._-JS = _arg2;
            this._-2wV = _arg3;
            this._-0cX = new _-Xl();
            this._-0cX._-3jn(_arg4);
            this._-ai = new _-Xl();
            this._-ai._-3jn(_arg5);
            this._-3Gp = _arg6;
            this._-aD = _arg7;
            this._-56Y = _arg8;
            this._-0Ke = _arg9;
            this._-1NI = _arg10;
            this._-53c = _arg11;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get _-34v():String
        {
            return (this._-2wV);
        }
        public function get loc():_-Xl
        {
            return (this._-0cX);
        }
        public function get dir():_-Xl
        {
            return (this._-ai);
        }
        public function get typeId():int
        {
            return (this._-3Gp);
        }
        public function get _-vc():String
        {
            return (this._-aD);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-3CW():int
        {
            return (this._-1NI);
        }
        public function get posture():String
        {
            return (this._-53c);
        }
        public function dispose():void
        {
            this._-0cX = null;
            this._-ai = null;
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ._-3Dk

package _-2IQ
{
    import _-0y0._-Xl;
    import _-0y0._-06R;

    public class _-3Dk 
    {

        private static const _-P2:Number = 12;

        private var _-08e:int = -1;
        private var _-1Ys:int = -2;
        private var _-42r:_-Xl = null;
        private var _-aV:Number = 0;
        private var _-4hi:Number = 0;
        private var _-59M:Boolean = false;
        private var _-HM:_-Xl = null;
        private var _-305:_-Xl;
        private var _-5F2:Boolean = false;
        private var _-50e:Boolean = false;
        private var _-3c1:Boolean = false;
        private var _-3UE:Boolean = false;
        private var _-2Jz:int = 0;
        private var _-0zX:int = 0;
        private var _-3Tb:int = 0;
        private var _-3ZR:int = 0;
        private var _-4fm:int = 0;
        private var _-0h1:int = -1;
        private var _-1d1:int = 0;
        private var _-0PP:Boolean = false;

        public function _-3Dk()
        {
            this._-305 = new _-Xl();
            super();
        }
        public function get location():_-06R
        {
            return (this._-HM);
        }
        public function get _-0sa():int
        {
            return (this._-08e);
        }
        public function get _-3Rs():int
        {
            return (this._-1Ys);
        }
        public function get _-2BU():_-06R
        {
            return (this._-305);
        }
        public function get _-0hA():Boolean
        {
            return (this._-5F2);
        }
        public function get _-2u1():Boolean
        {
            return (this._-50e);
        }
        public function get _-0SE():Boolean
        {
            return (this._-3c1);
        }
        public function get _-4rt():Boolean
        {
            return (this._-3UE);
        }
        public function get _-2vj():int
        {
            return (this._-2Jz);
        }
        public function get _-47O():int
        {
            return (this._-0zX);
        }
        public function get scale():int
        {
            return (this._-3Tb);
        }
        public function get _-0fz():int
        {
            return (this._-3ZR);
        }
        public function get _-2Fq():int
        {
            return (this._-4fm);
        }
        public function get _-1KX():int
        {
            return (this._-0h1);
        }
        public function get _-IZ():Boolean
        {
            if (((!((this._-42r == null))) && (!((this._-HM == null)))))
            {
                return (true);
            };
            return (false);
        }
        public function set _-0sa(_arg1:int):void
        {
            this._-08e = _arg1;
        }
        public function set _-2BU(_arg1:_-06R):void
        {
            this._-305._-3jn(_arg1);
        }
        public function set _-3Rs(_arg1:int):void
        {
            this._-1Ys = _arg1;
        }
        public function set _-0hA(_arg1:Boolean):void
        {
            this._-5F2 = _arg1;
        }
        public function set _-2u1(_arg1:Boolean):void
        {
            this._-50e = _arg1;
        }
        public function set _-0SE(_arg1:Boolean):void
        {
            this._-3c1 = _arg1;
        }
        public function set _-4rt(_arg1:Boolean):void
        {
            this._-3UE = _arg1;
        }
        public function set _-2vj(_arg1:int):void
        {
            this._-2Jz = _arg1;
        }
        public function set _-47O(_arg1:int):void
        {
            this._-0zX = _arg1;
        }
        public function set scale(_arg1:int):void
        {
            if (this._-3Tb != _arg1)
            {
                this._-3Tb = _arg1;
                this._-0PP = true;
            };
        }
        public function set _-0fz(_arg1:int):void
        {
            this._-3ZR = _arg1;
        }
        public function set _-2Fq(_arg1:int):void
        {
            this._-4fm = _arg1;
        }
        public function set _-1KX(_arg1:int):void
        {
            this._-0h1 = _arg1;
        }
        public function set target(_arg1:_-06R):void
        {
            var k:_-Xl;
            if (this._-42r == null)
            {
                this._-42r = new _-Xl();
            };
            if (((((!((this._-42r.x == _arg1.x))) || (!((this._-42r.y == _arg1.y))))) || (!((this._-42r.z == _arg1.z)))))
            {
                this._-42r._-3jn(_arg1);
                this._-1d1 = 0;
                k = _-Xl._-4gy(this._-42r, this._-HM);
                this._-aV = k.length;
                this._-59M = true;
            };
        }
        public function dispose():void
        {
            this._-42r = null;
            this._-HM = null;
        }
        public function _-LZ(_arg1:_-06R):void
        {
            if (this._-HM != null)
            {
                return;
            };
            this._-HM = new _-Xl();
            this._-HM._-3jn(_arg1);
        }
        public function _-c6(_arg1:_-06R):void
        {
            if (this._-HM == null)
            {
                this._-HM = new _-Xl();
            };
            this._-HM._-3jn(_arg1);
        }
        public function update(_arg1:uint, _arg2:Number):void
        {
            var k:_-Xl;
            var _local4:Number;
            var _local5:Number;
            var _local6:Number;
            var _local7:Number;
            if (((!((this._-42r == null))) && (!((this._-HM == null)))))
            {
                this._-1d1++;
                if (this._-0PP)
                {
                    this._-0PP = false;
                    this._-HM = this._-42r;
                    this._-42r = null;
                    return;
                };
                k = _-Xl._-4gy(this._-42r, this._-HM);
                if (k.length > this._-aV)
                {
                    this._-aV = k.length;
                };
                if (k.length <= _arg2)
                {
                    this._-HM = this._-42r;
                    this._-42r = null;
                    this._-4hi = 0;
                }
                else
                {
                    _local4 = Math.sin(((Math.PI * k.length) / this._-aV));
                    _local5 = (_arg2 * 0.5);
                    _local6 = (this._-aV / _-P2);
                    _local7 = (_local5 + ((_local6 - _local5) * _local4));
                    if (this._-59M)
                    {
                        if (_local7 < this._-4hi)
                        {
                            _local7 = this._-4hi;
                            if (_local7 > k.length)
                            {
                                _local7 = k.length;
                            };
                        }
                        else
                        {
                            this._-59M = false;
                        };
                    };
                    this._-4hi = _local7;
                    k.div(k.length);
                    k._-2Dq(_local7);
                    this._-HM = _-Xl._-3SY(this._-HM, k);
                };
            };
        }
        public function reset():void
        {
            this._-0h1 = -1;
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ._-LQ

package _-2IQ
{
    import _-0y0._-Xl;
    import _-293._-4q2;
    import _-0y0._-06R;

    public class _-LQ 
    {

        private var _-0Kq:int = 0;
        private var _-3Gp:int = 0;
        private var _-5K:String = null;
        private var _-0cX:_-Xl;
        private var _-ai:_-Xl;
        private var _-0Ke:int = 0;
        private var _-0qE:_-4q2 = null;
        private var _-31w:Number = NaN;
        private var _-3AQ:int = -1;
        private var _-bQ:int = 0;
        private var _-2U6:int = 0;
        private var _-237:String = "";
        private var _-0uc:Boolean = true;

        public function _-LQ(_arg1:int, _arg2:int, _arg3:String, _arg4:_-06R, _arg5:_-06R, _arg6:int, _arg7:_-4q2, _arg8:Number=NaN, _arg9:int=-1, _arg10:int=0, _arg11:int=0, _arg12:String="", _arg13:Boolean=true)
        {
            this._-0cX = new _-Xl();
            this._-ai = new _-Xl();
            super();
            this._-0Kq = _arg1;
            this._-3Gp = _arg2;
            this._-5K = _arg3;
            this._-0cX._-3jn(_arg4);
            this._-ai._-3jn(_arg5);
            this._-0Ke = _arg6;
            this._-0qE = _arg7;
            this._-31w = _arg8;
            this._-3AQ = _arg9;
            this._-bQ = _arg10;
            this._-2U6 = _arg11;
            this._-237 = _arg12;
            this._-0uc = _arg13;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get typeId():int
        {
            return (this._-3Gp);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get loc():_-06R
        {
            return (this._-0cX);
        }
        public function get dir():_-06R
        {
            return (this._-ai);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get data():_-4q2
        {
            return (this._-0qE);
        }
        public function get _-33C():Number
        {
            return (this._-31w);
        }
        public function get _-49r():int
        {
            return (this._-3AQ);
        }
        public function get _-26m():int
        {
            return (this._-bQ);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get _-1r-():Boolean
        {
            return (this._-0uc);
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ.LegacyWallGeometry

package _-2IQ
{
    import _-0y0._-Xl;
    import _-0y0._-06R;
    import _-1B-.*;

    public class LegacyWallGeometry implements _-1zZ 
    {

        private static const _-3DA:String = "l";
        private static const _-3-t:String = "r";

        private var _-4Bk:Boolean = false;
        private var _-3Tb:int = 64;
        private var _-258:Array;
        private var _-0Dz:int = 0;
        private var _height:int = 0;
        private var _-4GU:int = 0;

        public function LegacyWallGeometry()
        {
            this._-258 = [];
            super();
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get scale():int
        {
            return (this._-3Tb);
        }
        public function set scale(_arg1:int):void
        {
            this._-3Tb = _arg1;
        }
        public function dispose():void
        {
            this.reset();
            this._-4Bk = true;
        }
        public function initialize(_arg1:int, _arg2:int, _arg3:int):void
        {
            var k:Array;
            var k:int;
            if ((((_arg1 <= this._-0Dz)) && ((_arg2 <= this._height))))
            {
                this._-0Dz = _arg1;
                this._height = _arg2;
                this._-4GU = _arg3;
                return;
            };
            this.reset();
            var k:int;
            while (k < _arg2)
            {
                k = [];
                this._-258.push(k);
                k = 0;
                while (k < _arg1)
                {
                    k.push(0);
                    k++;
                };
                k++;
            };
            this._-0Dz = _arg1;
            this._height = _arg2;
            this._-4GU = _arg3;
        }
        private function reset():void
        {
            var k:int;
            var k:Array;
            if (this._-258 != null)
            {
                k = 0;
                while (k < this._-258.length)
                {
                    k = (this._-258[k] as Array);
                    k++;
                };
                this._-258 = [];
            };
        }
        public function _-2sx(_arg1:int, _arg2:int, _arg3:Number):Boolean
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this._-0Dz)))) || ((_arg2 < 0)))) || ((_arg2 >= this._height))))
            {
                return (false);
            };
            var k:Array = (this._-258[_arg2] as Array);
            if (k != null)
            {
                k[_arg1] = _arg3;
                return (true);
            };
            return (false);
        }
        public function _-2Ro(_arg1:int, _arg2:int):Number
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this._-0Dz)))) || ((_arg2 < 0)))) || ((_arg2 >= this._height))))
            {
                return (0);
            };
            var k:Array = (this._-258[_arg2] as Array);
            if (k != null)
            {
                return ((k[_arg1] as Number));
            };
            return (0);
        }
        public function getLocation(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String):_-06R
        {
            var k:int;
            var k:int;
            var k:int;
            if ((((_arg1 == 0)) && ((_arg2 == 0))))
            {
                k = this._-0Dz;
                k = this._height;
                k = Math.round((this.scale / 10));
                if (_arg5 == _-3-t)
                {
                    k = (this._-0Dz - 1);
                    while (k >= 0)
                    {
                        k = 1;
                        while (k < this._height)
                        {
                            if (this._-2Ro(k, k) <= this._-4GU)
                            {
                                if ((k - 1) < k)
                                {
                                    k = (k - 1);
                                };
                                break;
                            };
                            k++;
                        };
                        k--;
                    };
                    k = (_arg4 + ((this.scale / 4) - (k / 2)));
                    k = (_arg3 + (this.scale / 2));
                }
                else
                {
                    k = (this._height - 1);
                    while (k >= 0)
                    {
                        k = 1;
                        while (k < this._-0Dz)
                        {
                            if (this._-2Ro(k, k) <= this._-4GU)
                            {
                                if ((k - 1) < k)
                                {
                                    k = (k - 1);
                                };
                                break;
                            };
                            k++;
                        };
                        k--;
                    };
                    k = (_arg4 + ((this.scale / 4) - (k / 2)));
                    k = (_arg3 - k);
                };
            };
            var k:Number = Number(_arg1);
            var k:Number = Number(_arg2);
            var k:Number = this._-2Ro(_arg1, _arg2);
            if (_arg5 == _-3-t)
            {
                k = (k + ((_arg3 / Number((this._-3Tb / 2))) - 0.5));
                k = (k + 0.5);
                k = (k - ((_arg4 - (_arg3 / 2)) / Number((this._-3Tb / 2))));
            }
            else
            {
                k = (k + ((((this._-3Tb / 2) - _arg3) / Number((this._-3Tb / 2))) - 0.5));
                k = (k + 0.5);
                k = (k - ((_arg4 - (((this._-3Tb / 2) - _arg3) / 2)) / Number((this._-3Tb / 2))));
            };
            var k:_-Xl = new _-Xl(k, k, k);
            return (k);
        }
        public function _-2RP(_arg1:Number, _arg2:Number, _arg3:String):_-06R
        {
            var k:int;
            var k:int;
            var k:Number = 0;
            var k:Number = 0;
            k = Math.ceil(_arg1);
            k = (k - _arg1);
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Number = 0;
            k = 0;
            while (k < this._-0Dz)
            {
                if ((((k >= 0)) && ((k < this._height))))
                {
                    if (this._-2Ro(k, k) <= this._-4GU)
                    {
                        k = (k - 1);
                        k = _-3DA;
                        break;
                    };
                    if (this._-2Ro(k, (k + 1)) <= this._-4GU)
                    {
                        k = (k - _arg1);
                        k = _-3-t;
                        break;
                    };
                };
                k++;
                k++;
            };
            k = ((this.scale / 2) * k);
            var k:Number = ((-(k) * this.scale) / 2);
            k = (k + ((((-(_arg2) * 18) / 32) * this.scale) / 2));
            k = this._-2Ro(k, k);
            k = (((k * this.scale) / 2) + k);
            if (_arg3 == _-3-t)
            {
                k = (k + ((k * this.scale) / 4));
            }
            else
            {
                k = (k + (((1 - k) * this.scale) / 4));
            };
            return (this.getLocation(k, k, k, k, _arg3));
        }
        public function _-1kW(_arg1:_-06R, _arg2:Number):Array
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:Number = 0;
            var k:Number = 0;
            var k:Number = 0;
            var k:Number = 0;
            var k:String = "";
            var k:Number = 0;
            if (_arg2 == 90)
            {
                k = Math.floor((_arg1.x - 0.5));
                k = Math.floor((_arg1.y + 0.5));
                k = this._-2Ro(k, k);
                k = ((this._-3Tb / 2) - (((_arg1.y - k) + 0.5) * Number((this._-3Tb / 2))));
                k = (((k - _arg1.z) * Number((this._-3Tb / 2))) + (((this._-3Tb / 2) - k) / 2));
                k = _-3DA;
            }
            else
            {
                if (_arg2 == 180)
                {
                    k = Math.floor((_arg1.x + 0.5));
                    k = Math.floor((_arg1.y - 0.5));
                    k = this._-2Ro(k, k);
                    k = (((_arg1.x + 0.5) - k) * Number((this._-3Tb / 2)));
                    k = (((k - _arg1.z) * Number((this._-3Tb / 2))) + (k / 2));
                    k = _-3-t;
                }
                else
                {
                    return (null);
                };
            };
            return ([k, k, k, k, k]);
        }
        public function _-3f8(_arg1:_-06R, _arg2:Number):String
        {
            var k:Array = this._-1kW(_arg1, _arg2);
            if (k == null)
            {
                return (null);
            };
            var k:int = int(k[0]);
            var k:int = int(k[1]);
            var k:int = int(k[2]);
            var k:int = int(k[3]);
            var k:String = k[4];
            var k:String = (((((((((":w=" + k) + ",") + k) + " l=") + k) + ",") + k) + " ") + k);
            return (k);
        }
        public function getDirection(_arg1:String):Number
        {
            if (_arg1 == _-3-t)
            {
                return (180);
            };
            return (90);
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ.TileHeightMap

package _-2IQ
{
    public class TileHeightMap 
    {

        private var _-0Lh:Array;
        private var _-0s4:Array;
        private var _-2mW:Array;
        private var _-0Yq:int = 0;
        private var _-AK:int = 0;

        public function TileHeightMap(_arg1:int, _arg2:int)
        {
            var k:Array;
            var k:Array;
            var k:Array;
            var k:int;
            this._-0Lh = [];
            this._-0s4 = [];
            this._-2mW = [];
            super();
            var k:int;
            while (k < _arg2)
            {
                k = [];
                k = [];
                k = [];
                k = 0;
                while (k < _arg1)
                {
                    k.push(0);
                    k.push(false);
                    k.push(false);
                    k++;
                };
                this._-0Lh.push(k);
                this._-0s4.push(k);
                this._-2mW.push(k);
                k++;
            };
            this._-0Yq = _arg1;
            this._-AK = _arg2;
        }
        public function get _-0L-():int
        {
            return (this._-0Yq);
        }
        public function get _-07s():int
        {
            return (this._-AK);
        }
        public function dispose():void
        {
            this._-0Lh = [];
            this._-0s4 = [];
            this._-2mW = [];
            this._-0Yq = 0;
            this._-AK = 0;
        }
        public function _-2Ro(_arg1:int, _arg2:int):Number
        {
            var k:Array;
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Yq)))) && ((_arg2 >= 0)))) && ((_arg2 < this._-AK))))
            {
                k = (this._-0Lh[_arg2] as Array);
                return (Number(k[_arg1]));
            };
            return (0);
        }
        public function _-2sx(_arg1:int, _arg2:int, _arg3:Number):void
        {
            var k:Array;
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Yq)))) && ((_arg2 >= 0)))) && ((_arg2 < this._-AK))))
            {
                k = (this._-0Lh[_arg2] as Array);
                k[_arg1] = _arg3;
            };
        }
        public function _-3Tf(_arg1:int, _arg2:int):Boolean
        {
            var k:Array;
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Yq)))) && ((_arg2 >= 0)))) && ((_arg2 < this._-AK))))
            {
                k = (this._-0s4[_arg2] as Array);
                return (Boolean(k[_arg1]));
            };
            return (true);
        }
        public function _-2UN(_arg1:int, _arg2:int, _arg3:Boolean):void
        {
            var k:Array;
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Yq)))) && ((_arg2 >= 0)))) && ((_arg2 < this._-AK))))
            {
                k = (this._-0s4[_arg2] as Array);
                k[_arg1] = _arg3;
            };
        }
        public function _-uS(_arg1:int, _arg2:int):Boolean
        {
            var k:Array;
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Yq)))) && ((_arg2 >= 0)))) && ((_arg2 < this._-AK))))
            {
                k = (this._-2mW[_arg2] as Array);
                return (Boolean(k[_arg1]));
            };
            return (true);
        }
        public function _-2gd(_arg1:int, _arg2:int, _arg3:Boolean):void
        {
            var k:Array;
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Yq)))) && ((_arg2 >= 0)))) && ((_arg2 < this._-AK))))
            {
                k = (this._-2mW[_arg2] as Array);
                k[_arg1] = _arg3;
                if (!_arg3)
                {
                    this._-2UN(_arg1, _arg2, true);
                };
            };
        }
        public function _-j-(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):Boolean
        {
            var k:Boolean;
            var k:Number;
            if ((((((((_arg1 < 0)) || ((_arg1 >= this._-0Yq)))) || ((_arg2 < 0)))) || ((_arg2 >= this._-AK))))
            {
                return (false);
            };
            if (_arg3 > this._-0Yq)
            {
                return (false);
            };
            if (_arg4 > this._-AK)
            {
                return (false);
            };
            if (((((_arg1 + _arg3) > this._-0Yq)) || (((_arg2 + _arg4) > this._-AK))))
            {
                return (false);
            };
            if ((((_arg5 < 0)) || ((_arg5 >= this._-0Yq))))
            {
                k = 0;
            };
            if ((((_arg6 < 0)) || ((_arg6 >= this._-AK))))
            {
                k = 0;
            };
            if (_arg7 > this._-0Yq)
            {
                k = this._-0Yq;
            };
            if (_arg8 > this._-AK)
            {
                k = this._-AK;
            };
            if ((_arg5 + _arg7) >= this._-0Yq)
            {
                k = (this._-0Yq - _arg5);
            };
            if ((_arg6 + _arg8) >= this._-AK)
            {
                k = (this._-AK - _arg6);
            };
            var k:int;
            var k:int;
            var k:Array;
            k = _arg2;
            while (k < (_arg2 + _arg4))
            {
                k = (this._-0s4[k] as Array);
                k = _arg1;
                while (k < (_arg1 + _arg3))
                {
                    if ((((((((k < _arg5)) || ((k >= (_arg5 + _arg7))))) || ((k < _arg6)))) || ((k >= (_arg6 + _arg8)))))
                    {
                        k = Boolean(k[k]);
                        if (k)
                        {
                            return (false);
                        };
                    };
                    k++;
                };
                k++;
            };
            k = (this._-0Lh[_arg2] as Array);
            var k:Number = Number(k[_arg1]);
            k = _arg2;
            while (k < (_arg2 + _arg4))
            {
                k = (this._-0Lh[k] as Array);
                k = _arg1;
                while (k < (_arg1 + _arg3))
                {
                    if ((((((((k < _arg5)) || ((k >= (_arg5 + _arg7))))) || ((k < _arg6)))) || ((k >= (_arg6 + _arg8)))))
                    {
                        k = Number(k[k]);
                        if (k > k)
                        {
                            return (false);
                        };
                    };
                    k++;
                };
                k++;
            };
            return (true);
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2IQ.TileObjectMap

package _-2IQ
{
    import __AS3__.vec.Vector;
    import _-3V-._-3SU;
    import _-0y0._-06R;
    import _-3mW._-4Wq;
    import __AS3__.vec.*;

    public class TileObjectMap 
    {

        private var _-1OY:Vector.<Vector.<_-3SU>>;
        private var _-0Dz:int = 0;
        private var _height:int = 0;

        public function TileObjectMap(_arg1:int, _arg2:int)
        {
            this._-1OY = new Vector.<Vector.<_-3SU>>(_arg2, true);
            var k:int;
            while (k < _arg2)
            {
                this._-1OY[k] = new Vector.<_-3SU>(_arg1, true);
                k++;
            };
            this._-0Dz = _arg1;
            this._height = _arg2;
        }
        public function clear():void
        {
            var k:Vector.<_-3SU>;
            var k:int;
            for each (k in this._-1OY)
            {
                k = 0;
                while (k < this._-0Dz)
                {
                    k[k] = null;
                    k++;
                };
            };
        }
        public function populate(_arg1:Array):void
        {
            var k:_-3SU;
            this.clear();
            for each (k in _arg1)
            {
                this._-1po(k);
            };
        }
        public function dispose():void
        {
            this._-1OY = null;
            this._-0Dz = 0;
            this._height = 0;
        }
        public function _-35X(_arg1:int, _arg2:int):_-3SU
        {
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Dz)))) && ((_arg2 >= 0)))) && ((_arg2 < this._height))))
            {
                return (this._-1OY[_arg2][_arg1]);
            };
            return (null);
        }
        public function _-2Vf(_arg1:int, _arg2:int, _arg3:_-3SU):void
        {
            if (!_arg3._-25k())
            {
                _-Nb.log("Assigning non initialized object to tile object map!");
                return;
            };
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Dz)))) && ((_arg2 >= 0)))) && ((_arg2 < this._height))))
            {
                this._-1OY[_arg2][_arg1] = _arg3;
            };
        }
        public function _-1po(_arg1:_-3SU):void
        {
            var k:_-3SU;
            var k:int;
            if ((((_arg1 == null)) || ((_arg1.getModel() == null))))
            {
                return;
            };
            var k:_-06R = _arg1.getLocation();
            if (k == null)
            {
                return;
            };
            var k:_-06R = _arg1.getDirection();
            if (k == null)
            {
                return;
            };
            var k:int = _arg1.getModel().getNumber(_-4Wq._-1VR);
            var k:int = _arg1.getModel().getNumber(_-4Wq._-1mA);
            if (k < 1)
            {
                k = 1;
            };
            if (k < 1)
            {
                k = 1;
            };
            var k:int;
            var k:int = ((int((k.x + 45)) % 360) / 90);
            if ((((k == 1)) || ((k == 3))))
            {
            };
            var k:int = k.y;
            while (k < (k.y + k))
            {
                k = k.x;
                while (k < (k.x + k))
                {
                    k = this._-35X(k, k);
                    if (((!(k)) || (((!((k == _arg1))) && ((k.getLocation().z <= k.z))))))
                    {
                        this._-2Vf(k, k, _arg1);
                    };
                    k++;
                };
                k++;
            };
        }
        public function toString():String
        {
            var k:_-3SU;
            var k:int;
            var k:String = "";
            var k:int;
            while (k < this._height)
            {
                k = 0;
                while (k < this._-0Dz)
                {
                    k = this._-1OY[k][k];
                    k = (k + (((k) ? k.getId() : "x") + "\t"));
                    k++;
                };
                k = (k + "\n");
                k++;
            };
            return (k);
        }

    }
}//package _-2IQ

//------------------------------------------------------------
//_-2It._-00w

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-oX;
    import _-4Aj.*;

    public class _-00w extends _-7V implements _-0tL 
    {

        public function _-00w(_arg1:Function)
        {
            super(_arg1, _-oX);
        }
        public function _-3-5():_-oX
        {
            return ((_-515 as _-oX));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-012

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-0Np;
    import _-4Aj.*;

    public class _-012 extends _-7V implements _-0tL 
    {

        public function _-012(_arg1:Function)
        {
            super(_arg1, _-0Np);
        }
        public function _-3-5():_-0Np
        {
            return ((_-515 as _-0Np));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-0fQ

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-nr;
    import _-4Aj.*;

    public class _-0fQ extends _-7V implements _-0tL 
    {

        public function _-0fQ(_arg1:Function)
        {
            super(_arg1, _-nr);
        }
        public function get data():_-1XZ
        {
            return (_-nr(_-515).data);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-0G3

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-4Cf;
    import _-4Aj.*;

    public class _-0G3 extends _-7V implements _-0tL 
    {

        public function _-0G3(_arg1:Function)
        {
            super(_arg1, _-4Cf);
        }
        public function get userId():int
        {
            return ((_-515 as _-4Cf).userId);
        }
        public function get _-vG():int
        {
            return ((_-515 as _-4Cf)._-vG);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-0Kr

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-0R8;
    import _-4Aj.*;

    public class _-0Kr extends _-7V implements _-0tL 
    {

        public function _-0Kr(_arg1:Function)
        {
            super(_arg1, _-0R8);
        }
        public function _-3-5():_-0R8
        {
            return ((_-515 as _-0R8));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-0nT

package _-2It
{
    import _-4Aj._-0s1;

    public class _-0nT 
    {

        private var _-0Kq:int;
        private var _-0Mh:String;
        private var _-4Rt:String;

        public function _-0nT(_arg1:_-0s1=null)
        {
            this._-0Kq = _arg1._-2BW();
            this._-0Mh = _arg1.readString();
            this._-4Rt = _arg1.readString();
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-CK():String
        {
            return (this._-0Mh);
        }
        public function get _-Vj():String
        {
            return (this._-4Rt);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-0RK

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-4ZD;
    import _-4Aj.*;

    public class _-0RK extends _-7V implements _-0tL 
    {

        public function _-0RK(_arg1:Function)
        {
            super(_arg1, _-4ZD);
        }
        public function get groupId():int
        {
            return (_-4ZD(_-515).groupId);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-0SN

package _-2It
{
    import _-4Aj._-0s1;

    public class _-0SN implements _-qC 
    {

        private var _-4TG:int;
        private var _-d:Array;
        private var _-422:Array;

        public function _-0SN(_arg1:_-0s1)
        {
            var k:int;
            var k:int;
            super();
            this._-4TG = _arg1._-2BW();
            this._-d = new Array();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-d.push(new _-3Es(_arg1._-2BW(), _arg1.readString(), _arg1.readBoolean()));
                k++;
            };
            k = _arg1._-2BW();
            this._-422 = new Array();
            k = 0;
            while (k < k)
            {
                this._-422.push(new _-3wD(_arg1));
                k++;
            };
        }
        public function get _-3J-():int
        {
            return (this._-4TG);
        }
        public function get _-4Hy():Array
        {
            return (this._-d);
        }
        public function get _-2pO():Boolean
        {
            return (false);
        }
        public function get _-M2():Boolean
        {
            return (true);
        }
        public function get groupId():int
        {
            return (0);
        }
        public function get groupName():String
        {
            return ("");
        }
        public function get _-3wd():String
        {
            return ("");
        }
        public function get _-1me():int
        {
            return (0);
        }
        public function get _-2Lx():int
        {
            return (0);
        }
        public function get _-0ub():int
        {
            return (0);
        }
        public function get _-41R():Array
        {
            return (this._-422);
        }
        public function get locked():Boolean
        {
            return (false);
        }
        public function get url():String
        {
            return ("");
        }
        public function get _-19r():int
        {
            return (0);
        }
        public function get _-3Dv():int
        {
            return (0);
        }
        public function get _-3T():String
        {
            return ("");
        }
        public function get _-3BT():int
        {
            return (0);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-153

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-20D;
    import _-4Aj.*;

    public class _-153 extends _-7V implements _-0tL 
    {

        public function _-153(_arg1:Function)
        {
            super(_arg1, _-20D);
        }
        public function _-3-5():_-20D
        {
            return ((_-515 as _-20D));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-1b5

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-2OQ;
    import _-4Aj.*;

    public class _-1b5 extends _-7V implements _-0tL 
    {

        public function _-1b5(_arg1:Function)
        {
            super(_arg1, _-2OQ);
        }
        public function get guilds():Array
        {
            return (_-2OQ(_-515).guilds);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-1eO

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-2YY;
    import _-4Aj.*;

    public class _-1eO extends _-7V implements _-0tL 
    {

        public function _-1eO(_arg1:Function)
        {
            super(_arg1, _-2YY);
        }
        public function get data():_-0SN
        {
            return (_-2YY(_-515).data);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-1Gg

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-nD;
    import _-4Aj.*;

    public class _-1Gg extends _-7V implements _-0tL 
    {

        public function _-1Gg(_arg1:Function)
        {
            super(_arg1, _-nD);
        }
        public function _-3-5():_-nD
        {
            return (_-nD(_-515));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-1Mj

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-2Gv;
    import _-4Aj.*;

    public class _-1Mj extends _-7V implements _-0tL 
    {

        public function _-1Mj(_arg1:Function)
        {
            super(_arg1, _-2Gv);
        }
        public function get data():_-2DY
        {
            return (_-2Gv(_-515).data);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-1r3

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-zs;
    import _-4Aj.*;

    public class _-1r3 extends _-7V implements _-0tL 
    {

        public function _-1r3(_arg1:Function)
        {
            super(_arg1, _-zs);
        }
        public function _-3-5():_-zs
        {
            return ((_-515 as _-zs));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-1XZ

package _-2It
{
    import _-4Aj._-0s1;

    public class _-1XZ 
    {

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-5AE:String;
        private var _-2sb:String;
        private var _-4zD:String;
        private var _-1Cz:int;
        private var _-02E:int;
        private var _-4YC:Boolean;
        private var _-4uG:Boolean;
        private var _-1Ab:Boolean;
        private var _-4vK:Array;
        private var _-sC:int;
        private var _-0kg:Boolean;

        public function _-1XZ(_arg1:_-0s1)
        {
            this._-4vK = new Array();
            super();
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-2sb = _arg1.readString();
            this._-4zD = _arg1.readString();
            this._-1Cz = _arg1._-2BW();
            this._-02E = _arg1._-2BW();
            this._-4YC = _arg1.readBoolean();
            this._-4uG = _arg1.readBoolean();
            this._-1Ab = _arg1.readBoolean();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4vK.push(new _-2CF(_arg1));
                k++;
            };
            this._-sC = _arg1._-2BW();
            this._-0kg = _arg1.readBoolean();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get motto():String
        {
            return (this._-2sb);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-xT():String
        {
            return (this._-4zD);
        }
        public function get _-4pE():int
        {
            return (this._-1Cz);
        }
        public function get _-1Ot():int
        {
            return (this._-02E);
        }
        public function get _-3EX():Boolean
        {
            return (this._-4YC);
        }
        public function get _-0CB():Boolean
        {
            return (this._-4uG);
        }
        public function get _-0B8():Boolean
        {
            return (this._-1Ab);
        }
        public function get guilds():Array
        {
            return (this._-4vK);
        }
        public function set _-0CB(_arg1:Boolean):void
        {
            this._-4uG = _arg1;
        }
        public function get _-2gV():int
        {
            return (this._-sC);
        }
        public function get _-2gB():Boolean
        {
            return (this._-0kg);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-1Ze

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-4vW;
    import _-4Aj.*;

    public class _-1Ze extends _-7V implements _-0tL 
    {

        public function _-1Ze(_arg1:Function)
        {
            super(_arg1, _-4vW);
        }
        public function userId():int
        {
            return (_-4vW(_-515).userId);
        }
        public function _-1UL():int
        {
            return (_-4vW(_-515)._-1UL);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-21L

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-7b;
    import _-18r.Map;
    import _-4Aj.*;

    public class _-21L extends _-7V implements _-0tL 
    {

        public function _-21L(_arg1:Function)
        {
            super(_arg1, _-7b);
        }
        public function get badges():Map
        {
            return ((_-515 as _-7b).badges);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-29u

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-1KA;
    import _-4Aj.*;

    public class _-29u extends _-7V implements _-0tL 
    {

        public function _-29u(_arg1:Function)
        {
            super(_arg1, _-1KA);
        }
        public function get reason():int
        {
            return (_-1KA(_-515).reason);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2am

package _-2It
{
    import _-4Aj._-0s1;

    public class _-2am 
    {

        public static const _-34T:int = 0;
        public static const _-2CQ:int = 1;
        public static const _-250:int = 2;
        public static const _-mA:int = 3;
        public static const _-2Wm:int = 4;
        public static const _-H-:int = 0;
        public static const _-1WS:int = 1;
        public static const _-9W:int = 2;

        private var _-5CV:int;
        private var _-13A:Boolean;
        private var _-5K:int;
        private var _-3jX:String;
        private var _-1Td:String;
        private var _-2gP:String;
        private var _-1Rt:int = -1;
        private var _-14l:String = "";
        private var _-8R:int;
        private var _-1hO:int;
        private var _-2ZR:Boolean;
        private var _-4zD:String;
        private var _-0TD:Boolean;
        private var _-0w:Boolean;
        private var _-237:String;
        private var _-4BR:Boolean;
        private var _-3nk:Boolean;
        private var _-3qx:int;

        public function _-2am(_arg1:_-0s1)
        {
            this._-5CV = _arg1._-2BW();
            this._-13A = _arg1.readBoolean();
            this._-5K = _arg1._-2BW();
            this._-3jX = _arg1.readString();
            this._-1Td = _arg1.readString();
            this._-2gP = _arg1.readString();
            this._-1Rt = _arg1._-2BW();
            this._-14l = _arg1.readString();
            this._-8R = _arg1._-2BW();
            this._-1hO = _arg1._-2BW();
            this._-2ZR = _arg1.readBoolean();
            this._-4zD = _arg1.readString();
            this._-0TD = _arg1.readBoolean();
            this._-0w = _arg1.readBoolean();
            this._-237 = _arg1.readString();
            this._-4BR = _arg1.readBoolean();
            this._-3nk = _arg1.readBoolean();
            this._-3qx = _arg1._-2BW();
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function get _-lk():Boolean
        {
            return (this._-13A);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function get status():int
        {
            return (this._-8R);
        }
        public function get totalMembers():int
        {
            return (this._-1hO);
        }
        public function get favourite():Boolean
        {
            return (this._-2ZR);
        }
        public function get _-xT():String
        {
            return (this._-4zD);
        }
        public function get _-M2():Boolean
        {
            return (this._-0TD);
        }
        public function get _-0W():Boolean
        {
            return (this._-0w);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get _-0br():Boolean
        {
            return (this._-4BR);
        }
        public function get _-2fl():Boolean
        {
            return (this._-3nk);
        }
        public function get _-0ye():int
        {
            return (this._-3qx);
        }
        public function get _-3mK():Boolean
        {
            return ((((this._-8R == _-2am._-H-)) && ((((this._-5K == _-34T)) || ((this._-5K == _-2Wm))))));
        }
        public function get _-558():Boolean
        {
            return ((((this._-8R == _-2am._-H-)) && ((this._-5K == _-2am._-2CQ))));
        }
        public function get _-4g7():Boolean
        {
            return (((((this._-13A) && (!(this._-0TD)))) && ((this._-8R == _-2am._-1WS))));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2CF

package _-2It
{
    import _-4Aj._-0s1;

    public class _-2CF 
    {

        private var _-5CV:int;
        private var _-3jX:String;
        private var _-2gP:String;
        private var _-4ug:String;
        private var _-5:String;
        private var _-2ZR:Boolean;

        public function _-2CF(_arg1:_-0s1)
        {
            this._-5CV = _arg1._-2BW();
            this._-3jX = _arg1.readString();
            this._-2gP = _arg1.readString();
            this._-4ug = _arg1.readString();
            this._-5 = _arg1.readString();
            this._-2ZR = _arg1.readBoolean();
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }
        public function get _-4zy():String
        {
            return (this._-4ug);
        }
        public function get _-0xU():String
        {
            return (this._-5);
        }
        public function get favourite():Boolean
        {
            return (this._-2ZR);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2DY

package _-2It
{
    import _-4Aj._-0s1;

    public class _-2DY implements _-qC 
    {

        private var _-d:Array;
        private var _-0TD:Boolean;
        private var _-5CV:int;
        private var _-3jX:String;
        private var _-2QV:String;
        private var _-1oG:int;
        private var _-4I-:int;
        private var _-3si:int;
        private var _-2pj:Boolean;
        private var _-5Q:String;
        private var _-3-G:int;
        private var _-0kw:int;
        private var _-422:Array;
        private var _-2gP:String;
        private var _-3Ef:int;

        public function _-2DY(_arg1:_-0s1)
        {
            var k:int;
            var k:int;
            super();
            this._-d = new Array();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-d.push(new _-3Es(_arg1._-2BW(), _arg1.readString(), _arg1.readBoolean()));
                k++;
            };
            this._-0TD = _arg1.readBoolean();
            this._-5CV = _arg1._-2BW();
            this._-3jX = _arg1.readString();
            this._-2QV = _arg1.readString();
            this._-1oG = _arg1._-2BW();
            this._-4I- = _arg1._-2BW();
            this._-3si = _arg1._-2BW();
            this._-3-G = _arg1._-2BW();
            this._-0kw = _arg1._-2BW();
            this._-2pj = _arg1.readBoolean();
            this._-5Q = _arg1.readString();
            this._-422 = new Array();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-422.push(new _-3wD(_arg1));
                k++;
            };
            this._-2gP = _arg1.readString();
            this._-3Ef = _arg1._-2BW();
        }
        public function get _-4Hy():Array
        {
            return (this._-d);
        }
        public function get _-2pO():Boolean
        {
            return (true);
        }
        public function get _-M2():Boolean
        {
            return (this._-0TD);
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function get _-3wd():String
        {
            return (this._-2QV);
        }
        public function get _-1me():int
        {
            return (this._-1oG);
        }
        public function get _-2Lx():int
        {
            return (this._-4I-);
        }
        public function get _-0ub():int
        {
            return (this._-3si);
        }
        public function get _-41R():Array
        {
            return (this._-422);
        }
        public function get locked():Boolean
        {
            return (this._-2pj);
        }
        public function get url():String
        {
            return (this._-5Q);
        }
        public function get _-19r():int
        {
            return (this._-3-G);
        }
        public function get _-3Dv():int
        {
            return (this._-0kw);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }
        public function get _-3BT():int
        {
            return (this._-3Ef);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2eo

package _-2It
{
    import _-4Aj._-0s1;

    public class _-2eo 
    {

        private var _-0Kq:int;
        private var _color:uint;

        public function _-2eo(_arg1:_-0s1)
        {
            this._-0Kq = _arg1._-2BW();
            this._color = parseInt(_arg1.readString(), 16);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get red():int
        {
            return (((this._color >> 16) & 0xFF));
        }
        public function get green():int
        {
            return (((this._color >> 8) & 0xFF));
        }
        public function get blue():int
        {
            return (((this._color >> 0) & 0xFF));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2NJ

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-52c;
    import _-4Aj.*;

    public class _-2NJ extends _-7V implements _-0tL 
    {

        public function _-2NJ(_arg1:Function)
        {
            super(_arg1, _-52c);
        }
        public function get _-1me():int
        {
            return (_-52c(_-515)._-1me);
        }
        public function get groupId():int
        {
            return (_-52c(_-515).groupId);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2Oz

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-3RA;
    import _-4Aj.*;

    public class _-2Oz extends _-7V implements _-0tL 
    {

        public function _-2Oz(_arg1:Function)
        {
            super(_arg1, _-3RA);
        }
        public function get badges():Array
        {
            return ((_-515 as _-3RA).badges);
        }
        public function get userId():int
        {
            return ((_-515 as _-3RA).userId);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2SQ

package _-2It
{
    import _-4Aj._-0s1;

    public class _-2SQ 
    {

        private static const _-1MQ:int = 0;
        private static const _-4UV:int = 1;
        private static const _-3pX:int = 2;
        private static const _-4i3:int = 3;

        private var _-5K:int;
        private var _-4lu:int;
        private var _-2lb:String;
        private var _-5AE:String;
        private var _-423:String;

        public function _-2SQ(_arg1:_-0s1)
        {
            this._-5K = _arg1._-2BW();
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-423 = _arg1.readString();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get _-xc():Boolean
        {
            return ((this._-5K == _-4UV));
        }
        public function get owner():Boolean
        {
            return ((this._-5K == _-1MQ));
        }
        public function get member():Boolean
        {
            return (!((this._-5K == _-4i3)));
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-4Az():String
        {
            return (this._-423);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2td

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-5CW;
    import _-4Aj.*;

    public class _-2td extends _-7V implements _-0tL 
    {

        public function _-2td(_arg1:Function)
        {
            super(_arg1, _-5CW);
        }
        public function get _-Xt():int
        {
            return (_-5CW(_-515)._-Xt);
        }
        public function get _-3Oa():int
        {
            return (_-5CW(_-515)._-3Oa);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-2vk

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-0IP;
    import _-4Aj.*;

    public class _-2vk extends _-7V implements _-0tL 
    {

        public function _-2vk(_arg1:Function)
        {
            super(_arg1, _-0IP);
        }
        public function _-3-5():_-0IP
        {
            return ((_-515 as _-0IP));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-3Bl

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-4Sl;
    import _-4Aj.*;

    public class _-3Bl extends _-7V implements _-0tL 
    {

        public function _-3Bl(_arg1:Function)
        {
            super(_arg1, _-4Sl);
        }
        public function get result():int
        {
            return ((_-515 as _-4Sl).result);
        }
        public function get name():String
        {
            return ((_-515 as _-4Sl).name);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-3ee

package _-2It
{
    public class _-3ee 
    {

        public static const _-4lC:int = 0;
        public static const _-ly:int = 1;
        public static const _-2sZ:int = 2;
        public static const _-1bv:int = 3;
        public static const _-4oI:int = 4;

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-3Es

package _-2It
{
    public class _-3Es 
    {

        private var _-1Rt:int;
        private var _-14l:String;
        private var _-2Qc:Boolean = false;

        public function _-3Es(_arg1:int, _arg2:String, _arg3:Boolean)
        {
            this._-1Rt = _arg1;
            this._-14l = _arg2;
            this._-2Qc = _arg3;
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function get _-2-i():Boolean
        {
            return (this._-2Qc);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-3TD

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-3e2;
    import _-4Aj.*;

    public class _-3TD extends _-7V implements _-0tL 
    {

        public function _-3TD(_arg1:Function)
        {
            super(_arg1, _-3e2);
        }
        public function _-3-5():_-3e2
        {
            return (_-3e2(_-515));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-3wD

package _-2It
{
    import _-4Aj._-0s1;

    public class _-3wD 
    {

        private var _-0hq:int;
        private var _-1vb:int;
        private var _-oi:int;

        public function _-3wD(_arg1:_-0s1)
        {
            this._-0hq = _arg1._-2BW();
            this._-1vb = _arg1._-2BW();
            this._-oi = _arg1._-2BW();
        }
        public function get _-1hb():int
        {
            return (this._-0hq);
        }
        public function get _-2nX():int
        {
            return (this._-1vb);
        }
        public function get position():int
        {
            return (this._-oi);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-44B

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-mk;
    import _-4Aj.*;

    public class _-44B extends _-7V implements _-0tL 
    {

        public function _-44B(_arg1:Function)
        {
            super(_arg1, _-mk);
        }
        public function _-3-5():_-mk
        {
            return ((this._-515 as _-mk));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-4AA

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-40t;
    import _-4Aj.*;

    public class _-4AA extends _-7V implements _-0tL 
    {

        public function _-4AA(_arg1:Function)
        {
            super(_arg1, _-40t);
        }
        public function get data():_-2am
        {
            return (_-40t(_-515).data);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-4C1

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-585;
    import _-4Aj.*;

    public class _-4C1 extends _-7V implements _-0tL 
    {

        public function _-4C1(_arg1:Function)
        {
            super(_arg1, _-585);
        }
        public function _-3-5():_-585
        {
            return ((_-515 as _-585));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-4Hm

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-56C;
    import _-4Aj.*;

    public class _-4Hm extends _-7V implements _-0tL 
    {

        public function _-4Hm(_arg1:Function)
        {
            super(_arg1, _-56C);
        }
        public function get tags():Array
        {
            return ((_-515 as _-56C).tags);
        }
        public function get userId():int
        {
            return ((_-515 as _-56C).userId);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-4nv

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-4kg;
    import _-4Aj.*;

    public class _-4nv extends _-7V implements _-0tL 
    {

        public function _-4nv(_arg1:Function)
        {
            super(_arg1, _-4kg);
        }
        public function get _-2be():Array
        {
            return ((_-515 as _-4kg)._-2be);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-4zc

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-48z;
    import _-4Aj.*;

    public class _-4zc extends _-7V implements _-0tL 
    {

        public function _-4zc(_arg1:Function)
        {
            super(_arg1, _-48z);
        }
        public function get data():_-2SQ
        {
            return (_-48z(_-515).data);
        }
        public function get _-2Jo():int
        {
            return (_-48z(_-515)._-2Jo);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-Fm

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-Oc;
    import _-4Aj.*;

    public class _-Fm extends _-7V implements _-0tL 
    {

        public function _-Fm(_arg1:Function)
        {
            super(_arg1, _-Oc);
        }
        public function get reason():int
        {
            return (_-Oc(_-515).reason);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-iC

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-iN;
    import _-4Aj.*;

    public class _-iC extends _-7V implements _-0tL 
    {

        public function _-iC(_arg1:Function)
        {
            super(_arg1, _-iN);
        }
        public function _-3-5():_-iN
        {
            return ((_-515 as _-iN));
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-Ou

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-3R0;
    import _-4Aj.*;

    public class _-Ou extends _-7V implements _-0tL 
    {

        public function _-Ou(_arg1:Function)
        {
            super(_arg1, _-3R0);
        }
        public function get reason():int
        {
            return (_-3R0(_-515).reason);
        }
        public function get _-2Jo():int
        {
            return (_-3R0(_-515)._-2Jo);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-qC

package _-2It
{
    public interface _-qC 
    {

        function get _-4Hy():Array;
        function get _-2pO():Boolean;
        function get _-M2():Boolean;
        function get groupId():int;
        function get groupName():String;
        function get _-3wd():String;
        function get _-1me():int;
        function get _-2Lx():int;
        function get _-0ub():int;
        function get _-41R():Array;
        function get locked():Boolean;
        function get url():String;
        function get _-19r():int;
        function get _-3Dv():int;
        function get _-3T():String;
        function get _-3BT():int;

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-r4

package _-2It
{
    import _-4Aj._-7V;
    import _-ta.default;
    import _-4Aj.*;

    public class _-r4 extends _-7V implements _-0tL 
    {

        public function _-r4(_arg1:Function)
        {
            super(_arg1, default);
        }
        public function get userId():int
        {
            return (default(_-515).userId);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-ty

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-1pA;
    import _-4Aj.*;

    public class _-ty extends _-7V implements _-0tL 
    {

        public function _-ty(_arg1:Function)
        {
            super(_arg1, _-1pA);
        }
        public function get data():GuildEditorData
        {
            return (_-1pA(_-515).data);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It._-ue

package _-2It
{
    import _-4Aj._-7V;
    import _-ta._-2Dv;
    import _-4Aj.*;

    public class _-ue extends _-7V implements _-0tL 
    {

        public function _-ue(_arg1:Function)
        {
            super(_arg1, _-2Dv);
        }
        public function get data():GuildMemberData
        {
            return (_-2Dv(_-515).data);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It.GuildEditorData

package _-2It
{
    import __AS3__.vec.Vector;
    import _-4Aj._-0s1;
    import _-0y0._-06R;
    import _-0y0._-4xU;
    import __AS3__.vec.*;

    public class GuildEditorData 
    {

        private var _-4ur:Vector.<_-0nT>;
        private var _-fZ:Vector.<_-0nT>;
        private var _-3AY:Vector.<_-2eo>;
        private var _-2En:Vector.<_-2eo>;
        private var _-1YP:Vector.<_-2eo>;

        public function GuildEditorData(_arg1:_-0s1=null)
        {
            var k:int;
            var k:int;
            this._-4ur = new Vector.<_-0nT>();
            this._-fZ = new Vector.<_-0nT>();
            this._-3AY = new Vector.<_-2eo>();
            this._-2En = new Vector.<_-2eo>();
            this._-1YP = new Vector.<_-2eo>();
            super();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-4ur.push(new _-0nT(_arg1));
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-fZ.push(new _-0nT(_arg1));
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-3AY.push(new _-2eo(_arg1));
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-2En.push(new _-2eo(_arg1));
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-1YP.push(new _-2eo(_arg1));
                k++;
            };
        }
        public function get _-3Pi():Vector.<_-0nT>
        {
            return (this._-4ur);
        }
        public function get _-0Os():Vector.<_-0nT>
        {
            return (this._-fZ);
        }
        public function get _-4oe():Vector.<_-2eo>
        {
            return (this._-3AY);
        }
        public function get _-31-():Vector.<_-2eo>
        {
            return (this._-2En);
        }
        public function get _-4hN():Vector.<_-2eo>
        {
            return (this._-1YP);
        }
        public function _-25-(_arg1:int):int
        {
            if ((((((((_arg1 < 0)) || ((this._-3AY.length <= 0)))) || ((this._-3AY.length < _arg1)))) || ((this._-2En.length <= 0))))
            {
                return (0);
            };
            return (this._-4oz(this._-3AY[_arg1], this._-2En));
        }
        public function _-2X3(_arg1:int):int
        {
            if ((((((((_arg1 < 0)) || ((this._-3AY.length <= 0)))) || ((this._-3AY.length < _arg1)))) || ((this._-1YP.length <= 0))))
            {
                return (0);
            };
            return (this._-4oz(this._-3AY[_arg1], this._-1YP));
        }
        private function _-4oz(_arg1:_-2eo, _arg2:Vector.<_-2eo>):int
        {
            var k:_-06R;
            var k:Number;
            var k:_-06R = _-4xU.rgb2CieLab(_arg1.color);
            var k:int;
            var k:Number = Number.MAX_VALUE;
            var k:int;
            while (k < _arg2.length)
            {
                k = _-4xU.rgb2CieLab(_arg2[k].color);
                k = ((Math.pow((k.x - k.x), 2) + Math.pow((k.y - k.y), 2)) + Math.pow((k.z - k.z), 2));
                if (k < k)
                {
                };
                k++;
            };
            return (_arg2[k].id);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2It.GuildMemberData

package _-2It
{
    import flash.utils.Dictionary;
    import _-4Aj._-0s1;

    public class GuildMemberData 
    {

        private var _-5CV:int;
        private var _-3jX:String;
        private var _-1oG:int;
        private var _-2gP:String;
        private var _-2Sd:int;
        private var _-3gb:Array;
        private var _-0k8:Boolean;
        private var _-hS:int;
        private var _-48O:int;
        private var _-3gv:int;
        private var _-Yy:String;
        private var _-8v:Dictionary;

        public function GuildMemberData(_arg1:_-0s1)
        {
            var k:_-2SQ;
            this._-8v = new Dictionary();
            super();
            this._-5CV = _arg1._-2BW(); // id group
            this._-3jX = _arg1.readString(); // name group
            this._-1oG = _arg1._-2BW();
            this._-2gP = _arg1.readString();
            this._-2Sd = _arg1._-2BW();
            this._-3gb = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new _-2SQ(_arg1);
                this._-3gb.push(k);
                this._-8v[k.userId] = k;
                k++;
            };
            this._-0k8 = _arg1.readBoolean();
            this._-hS = _arg1._-2BW();
            this._-48O = _arg1._-2BW();
            this._-3gv = _arg1._-2BW();
            this._-Yy = _arg1.readString();
        }
        private static function _-10a(_arg1:int, _arg2:Array):void
        {
            var k:int;
            var k:_-2SQ;
            while (k < _arg2.length)
            {
                k = _arg2[k];
                if (k.userId == _arg1)
                {
                    _arg2.splice(k, 1);
                }
                else
                {
                    k++;
                };
            };
        }

        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function get _-1me():int
        {
            return (this._-1oG);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }
        public function get _-59-():int
        {
            return (this._-2Sd);
        }
        public function get _-2-c():int
        {
            return (this._-hS);
        }
        public function get _-0WS():int
        {
            return (this._-48O);
        }
        public function get searchType():int
        {
            return (this._-3gv);
        }
        public function get entries():Array
        {
            return (this._-3gb);
        }
        public function get _-LR():Boolean
        {
            return (this._-0k8);
        }
        public function get _-4AR():String
        {
            return (this._-Yy);
        }
        public function get totalPages():int
        {
            return (Math.max(1, Math.ceil((this._-2Sd / this._-hS))));
        }
        public function update(_arg1:_-2SQ):void
        {
            var k:int;
            var k:_-2SQ;
            this._-8v[_arg1.userId] = _arg1;
            while (k < this._-3gb.length)
            {
                k = this._-3gb[k];
                if (k.userId == _arg1.userId)
                {
                    this._-3gb[k] = _arg1;
                    return;
                };
                k++;
            };
            this._-3gb.push(_arg1);
        }
        public function remove(_arg1:int):void
        {
            _-10a(_arg1, this._-3gb);
            delete this._-8v[_arg1];
        }
        public function _-4d0(_arg1:int):_-2SQ
        {
            return (this._-8v[_arg1]);
        }

    }
}//package _-2It

//------------------------------------------------------------
//_-2iw._-05k

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-05k implements _-58N 
    {

        private var _-0S6:Boolean;
        private var _-4Ah:String;
        private var _-4OX:String;
        private var _-1T3:int;

        public function flush():Boolean
        {
            this._-0S6 = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4Ah = _arg1.readString();
            if (this._-4Ah != "")
            {
                this._-0S6 = true;
            };
            this._-4OX = _arg1.readString();
            this._-1T3 = _arg1._-2BW();
            return (true);
        }
        public function get available():Boolean
        {
            return (this._-0S6);
        }
        public function get _-4eM():String
        {
            return (this._-4Ah);
        }
        public function get _-1SD():String
        {
            return (this._-4OX);
        }
        public function get _-3jd():int
        {
            return (this._-1T3);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-0en

package _-2iw
{
    import _-48G._-4hq;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0en implements _-58N 
    {

        private var _-03u:String;
        private var _-0N9:Array;

        public function flush():Boolean
        {
            this._-0N9 = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0N9 = new Array();
            this._-03u = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-0N9.push(new _-4hq(_arg1));
                k++;
            };
            return (true);
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get products():Array
        {
            return (this._-0N9);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-0Nh

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Nh implements _-58N 
    {

        private var _-2iE:String;
        private var _-2K4:int;
        private var _-4Gj:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2iE = _arg1.readString();
            this._-2K4 = _arg1._-2BW();
            this._-4Gj = _arg1.readString();
            return (true);
        }
        public function get pageName():String
        {
            return (this._-2iE);
        }
        public function get _-4t6():int
        {
            return (this._-2K4);
        }
        public function get image():String
        {
            return (this._-4Gj);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-0tN

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0tN implements _-58N 
    {

        private var _-2W3:int;
        private var _-2wr:Boolean;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2W3 = _arg1._-2BW();
            this._-2wr = _arg1.readBoolean();
            return (true);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-25P():Boolean
        {
            return (this._-2wr);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-0W-

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0W- implements _-58N 
    {

        private var _-2bN:int;
        private var _-2Aj:int;
        private var _-2W3:int;
        private var _-Gu:String;

        public function flush():Boolean
        {
            this._-2bN = -1;
            this._-2Aj = -1;
            this._-2W3 = -1;
            this._-Gu = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2bN = _arg1._-2BW();
            this._-2Aj = _arg1._-2BW();
            this._-2W3 = _arg1._-2BW();
            this._-Gu = _arg1.readString();
            return (true);
        }
        public function get _-0C-():int
        {
            return (this._-2bN);
        }
        public function get pageId():int
        {
            return (this._-2Aj);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-5DX():String
        {
            return (this._-Gu);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-132

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-132 implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-1ds

package _-2iw
{
    import _-48G._-16p;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1ds implements _-58N 
    {

        private var _-2Aj:int;
        private var _-1q7:_-16p;

        public function flush():Boolean
        {
            this._-2Aj = -1;
            this._-1q7 = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2Aj = _arg1._-2BW();
            this._-1q7 = new _-16p(_arg1);
            return (true);
        }
        public function get pageId():int
        {
            return (this._-2Aj);
        }
        public function get _-07D():_-16p
        {
            return (this._-1q7);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-1eK

package _-2iw
{
    import _-2It._-3Es;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1eK implements _-58N 
    {

        private var _-D9:Boolean;
        private var _-sT:Array;

        public function flush():Boolean
        {
            return (false);
        }
        public function get rooms():Array
        {
            return (this._-sT);
        }
        public function get _-2Pc():Boolean
        {
            return (this._-D9);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            var k:Boolean;
            var k:_-3Es;
            this._-sT = new Array();
            this._-D9 = _arg1.readBoolean();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = _arg1.readBoolean();
                k = new _-3Es(k, k, k);
                this._-sT.push(k);
                k++;
            };
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-1qG

package _-2iw
{
    import _-48G._-0Zl;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1qG implements _-58N 
    {

        private var _-mB:_-0Zl;

        public function flush():Boolean
        {
            this._-mB = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-mB = new _-0Zl(_arg1);
            return (true);
        }
        public function offer():_-0Zl
        {
            return (this._-mB);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-1wR

package _-2iw
{
    import _-18r.Map;
    import _-48G._-0N2;
    import _-48G._-16p;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1wR implements _-58N 
    {

        private var _-56f:int;
        private var _-04p:int;
        private var _-4GM:Array;
        private var _-1n-:Map;

        public function flush():Boolean
        {
            this._-4GM = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:_-0N2;
            this._-56f = _arg1._-2BW();
            this._-04p = _arg1._-2BW();
            this._-4GM = new Array();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-4GM.push(new _-16p(_arg1));
                k++;
            };
            this._-1n- = new Map();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                k = new _-0N2(_arg1);
                this._-1n-.add(k.offerId, k);
                k++;
            };
            return (true);
        }
        public function get _-Q8():int
        {
            return (this._-56f);
        }
        public function get _-W7():int
        {
            return (this._-04p);
        }
        public function get offers():Array
        {
            return (this._-4GM);
        }
        public function get _-2ma():Map
        {
            return (this._-1n-);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-1Ye

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Ye implements _-58N 
    {

        private var _-4V6:String = "";
        private var _-3vV:String = "";

        public function flush():Boolean
        {
            this._-3vV = "";
            this._-4V6 = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3vV = _arg1.readString();
            this._-4V6 = _arg1.readString();
            return (true);
        }
        public function get productName():String
        {
            return (this._-4V6);
        }
        public function get productDescription():String
        {
            return (this._-3vV);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-2HR

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2HR implements _-58N 
    {

        private var _-b2:String = "";

        public function flush():Boolean
        {
            this._-b2 = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1.readString();
            return (true);
        }
        public function get errorCode():String
        {
            return (this._-b2);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-2Sb

package _-2iw
{
    import _-48G._-1f6;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Sb implements _-58N 
    {

        private var _-0J9:_-1f6;
        private var _-1ht:Boolean;

        public function get root():_-1f6
        {
            return (this._-0J9);
        }
        public function get _-1H1():Boolean
        {
            return (this._-1ht);
        }
        public function flush():Boolean
        {
            this._-0J9 = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0J9 = new _-1f6(_arg1);
            this._-1ht = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-2T9

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2T9 implements _-58N 
    {

        private var _-4qL:Boolean;
        private var _-3yM:int;
        private var _-33o:Array;
        private var _-0f0:Array;
        private var _-41E:Array;
        private var _-2j2:Array;

        public function get _-1jX():Boolean
        {
            return (this._-4qL);
        }
        public function get _-IU():int
        {
            return (this._-3yM);
        }
        public function get _-2Zp():Array
        {
            return (this._-33o);
        }
        public function get _-3bz():Array
        {
            return (this._-0f0);
        }
        public function get _-3-T():Array
        {
            return (this._-41E);
        }
        public function get _-4z6():Array
        {
            return (this._-2j2);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            this._-33o = [];
            this._-0f0 = [];
            this._-41E = [];
            this._-2j2 = [];
            this._-4qL = _arg1.readBoolean();
            this._-3yM = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-33o.push(_arg1._-2BW());
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-0f0.push(_arg1._-2BW());
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-41E.push(_arg1._-2BW());
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-2j2.push(_arg1._-2BW());
                k++;
            };
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-2U0

package _-2iw
{
    import _-48G._-51z;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2U0 implements _-58N 
    {

        private var _-2jH:_-51z;

        public function get _-5FE():_-51z
        {
            return (this._-2jH);
        }
        public function flush():Boolean
        {
            this._-2jH = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2jH = new _-51z(_arg1);
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-2WK

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2WK implements _-58N 
    {

        private var _-3qT:Boolean = false;
        private var _-1S1:Boolean = false;
        private var _-05f:int = 0;

        public function get _-3fP():Boolean
        {
            return (this._-3qT);
        }
        public function get _-2-f():Boolean
        {
            return (this._-1S1);
        }
        public function get activityPointType():int
        {
            return (this._-05f);
        }
        public function flush():Boolean
        {
            this._-3qT = false;
            this._-1S1 = false;
            this._-05f = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3qT = _arg1.readBoolean();
            this._-1S1 = _arg1.readBoolean();
            if (_arg1.bytesAvailable)
            {
                this._-05f = _arg1._-2BW();
            };
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-2xJ

package _-2iw
{
    import _-4Aj._-0s1;

    public class _-2xJ 
    {

        private var _-5K:int;
        private var _-1EN:int;
        private var _-28U:int;
        private var _-2c2:Boolean;
        private var _-2KG:Boolean;

        public function _-2xJ(_arg1:_-0s1)
        {
            this._-5K = _arg1._-2BW();
            this._-1EN = _arg1._-2BW();
            this._-28U = _arg1._-2BW();
            this._-2c2 = _arg1.readBoolean();
            this._-2KG = _arg1.readBoolean();
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get _-0qy():int
        {
            return (this._-1EN);
        }
        public function get paletteId():int
        {
            return (this._-28U);
        }
        public function get _-44d():Boolean
        {
            return (this._-2c2);
        }
        public function get _-55N():Boolean
        {
            return (this._-2KG);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-3Gt

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3Gt implements _-58N 
    {

        private var _-2iE:String;
        private var _-2Aj:int;
        private var _-2K4:int;
        private var _-4Gj:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2Aj = _arg1._-2BW();
            this._-2iE = _arg1.readString();
            this._-2K4 = _arg1._-2BW();
            this._-4Gj = _arg1.readString();
            return (true);
        }
        public function get pageName():String
        {
            return (this._-2iE);
        }
        public function get pageId():int
        {
            return (this._-2Aj);
        }
        public function get _-4t6():int
        {
            return (this._-2K4);
        }
        public function get image():String
        {
            return (this._-4Gj);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-447

package _-2iw
{
    import _-48G._-ur;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-447 implements _-58N 
    {

        private var _-4GM:Array;
        private var _-0w0:int;

        public function flush():Boolean
        {
            this._-4GM = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4GM = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4GM.push(new _-ur(_arg1));
                k++;
            };
            this._-0w0 = _arg1._-2BW();
            return (true);
        }
        public function get offers():Array
        {
            return (this._-4GM);
        }
        public function get source():int
        {
            return (this._-0w0);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-4av

package _-2iw
{
    import _-48G._-2RH;
    import _-48G._-16p;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4av implements _-58N 
    {

        private var _-2Aj:int;
        private var _-0M6:String;
        private var _-cU:_-2RH;
        private var _-4GM:Array;
        private var _-2W3:int;
        private var _-Dp:Boolean;

        public function get pageId():int
        {
            return (this._-2Aj);
        }
        public function get layoutCode():String
        {
            return (this._-0M6);
        }
        public function get localization():_-2RH
        {
            return (this._-cU);
        }
        public function get offers():Array
        {
            return (this._-4GM);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get acceptSeasonCurrencyAsCredits():Boolean
        {
            return (this._-Dp);
        }
        public function flush():Boolean
        {
            this._-2Aj = -1;
            this._-0M6 = "";
            this._-cU = null;
            this._-4GM = [];
            this._-2W3 = -1;
            this._-Dp = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2Aj = _arg1._-2BW(); // ID
            this._-0M6 = _arg1.readString(); // Layout
            this._-cU = new _-2RH(_arg1);
            this._-4GM = new Array();
            var k:int = _arg1._-2BW(); // amount items
            var k:int;
            while (k < k)
            {
                this._-4GM.push(new _-16p(_arg1));
                k++;
            };
            this._-2W3 = _arg1._-2BW();
            this._-Dp = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-4DY

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4DY implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-4kf

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4kf implements _-58N 
    {

        private var _-03u:String = "";
        private var _-1ZK:Array;

        public function _-4kf()
        {
            this._-1ZK = [];
            super();
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get _-4XW():Array
        {
            return (this._-1ZK.slice());
        }
        public function flush():Boolean
        {
            this._-03u = "";
            this._-1ZK = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-03u = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-1ZK.push(new _-2xJ(_arg1));
                k++;
            };
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-4Tr

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Tr implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-4-u

package _-2iw
{
    public class _-4-u 
    {

        public static function _-4jJ(_arg1:String):Date
        {
            if (_arg1 == null)
            {
                return (null);
            };
            if (((!((_arg1.length == 10))) && (!((_arg1.length == 19)))))
            {
                return (null);
            };
            k = _arg1.replace("-", "/");
            k = k.replace("-", "/");
            k = k.replace("T", " ");
            return (new Date(Date.parse(k)));
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-5-4

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-5-4 implements _-58N 
    {

        private var _-2W3:int;
        private var _-0El:String;
        private var _-3RW:int;
        private var _-5FC:int;
        private var _-05f:int;
        private var _-05-:int;
        private var _-0DC:Boolean;

        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-5Dp():String
        {
            return (this._-0El);
        }
        public function get _-w6():int
        {
            return (this._-3RW);
        }
        public function get _-17D():int
        {
            return (this._-5FC);
        }
        public function get activityPointType():int
        {
            return (this._-05f);
        }
        public function get clubLevel():int
        {
            return (this._-05-);
        }
        public function get _-4SQ():Boolean
        {
            return (this._-0DC);
        }
        public function flush():Boolean
        {
            this._-2W3 = -1;
            this._-0El = "";
            this._-3RW = 0;
            this._-5FC = 0;
            this._-05f = 0;
            this._-05- = 0;
            this._-0DC = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2W3 = _arg1._-2BW();
            this._-0El = _arg1.readString();
            this._-3RW = _arg1._-2BW();
            this._-0DC = false;
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-556

package _-2iw
{
    import _-48G._-16p;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-556 implements _-58N 
    {

        private var _-1q7:_-16p;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1q7 = new _-16p(_arg1);
            return (true);
        }
        public function get _-07D():_-16p
        {
            return (this._-1q7);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-Eh

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-Eh implements _-58N 
    {

        private var _-b2:int = 0;

        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function flush():Boolean
        {
            this._-b2 = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-ji

package _-2iw
{
    import _-48G._-16p;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-ji implements _-58N 
    {

        private var _-mB:_-16p;

        public function get offer():_-16p
        {
            return (this._-mB);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-mB = new _-16p(_arg1);
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2iw._-Zm

package _-2iw
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-Zm implements _-58N 
    {

        private var _-b2:int = 0;

        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function flush():Boolean
        {
            this._-b2 = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2iw

//------------------------------------------------------------
//_-2JC._-0IX

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-3ZB;
    import _-4Aj.*;

    public class _-0IX extends _-7V implements _-0tL 
    {

        public function _-0IX(_arg1:Function)
        {
            super(_arg1, _-3ZB);
        }
        public function _-3-5():_-3ZB
        {
            return ((this._-515 as _-3ZB));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-115

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-0ES;
    import _-4Aj.*;

    public class _-115 extends _-7V implements _-0tL 
    {

        public function _-115(_arg1:Function)
        {
            super(_arg1, _-0ES);
        }
        public function _-3-5():_-0ES
        {
            return ((_-515 as _-0ES));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-1Ph

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-SZ;
    import _-4Aj.*;

    public class _-1Ph extends _-7V implements _-0tL 
    {

        public function _-1Ph(_arg1:Function)
        {
            super(_arg1, _-SZ);
        }
        public function _-3-5():_-SZ
        {
            return ((this._-515 as _-SZ));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-1vn

package _-2JC
{
    import _-4Aj._-0s1;

    public class _-1vn 
    {

        private var _-0Kq:int;
        private var _name:String;

        public function _-1vn(_arg1:_-0s1)
        {
            this._-0Kq = _arg1._-2BW();
            this._name = _arg1.readString();
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-1zU

package _-2JC
{
    import _-4Aj._-0s1;

    public class _-1zU 
    {

        private var _-hg:int;
        private var _-F9:String;
        private var _-1YM:String;
        private var _-eR:Boolean;
        private var _-2mr:Boolean;
        private var _-FD:int;
        private var _-3Mu:String;
        private var _-240:String;
        private var _-pj:String;

        public function _-1zU(_arg1:_-0s1)
        {
            this._-hg = _arg1._-2BW();
            this._-F9 = _arg1.readString();
            this._-1YM = _arg1.readString();
            this._-eR = _arg1.readBoolean();
            this._-2mr = _arg1.readBoolean();
            _arg1.readString();
            this._-FD = _arg1._-2BW();
            this._-3Mu = _arg1.readString();
            this._-pj = _arg1.readString();
        }
        public function get _-2hz():int
        {
            return (this._-hg);
        }
        public function get _-lV():String
        {
            return (this._-F9);
        }
        public function get _-2bo():String
        {
            return (this._-1YM);
        }
        public function get _-0Mm():Boolean
        {
            return (this._-eR);
        }
        public function get _-1uT():Boolean
        {
            return (this._-2mr);
        }
        public function get _-1Gm():int
        {
            return (this._-FD);
        }
        public function get _-2ql():String
        {
            return (this._-3Mu);
        }
        public function get _-0I1():String
        {
            return (this._-240);
        }
        public function get realName():String
        {
            return (this._-pj);
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-2Bw

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-0bp;
    import _-4Aj.*;

    public class _-2Bw extends _-7V implements _-0tL 
    {

        public function _-2Bw(_arg1:Function)
        {
            super(_arg1, _-0bp);
        }
        public function get success():Boolean
        {
            return (_-0bp(_-515).success);
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-2k3

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu.EventStreamMessageParser;
    import __AS3__.vec.Vector;
    import _-4Aj.*;

    public class _-2k3 extends _-7V implements _-0tL 
    {

        public function _-2k3(_arg1:Function)
        {
            super(_arg1, EventStreamMessageParser);
        }
        public function get events():Vector.<EventStreamData>
        {
            return (EventStreamMessageParser(_-515).events);
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-2T1

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-3tD;
    import _-4Aj.*;

    public class _-2T1 extends _-7V implements _-0tL 
    {

        public function _-2T1(_arg1:Function)
        {
            super(_arg1, _-3tD);
        }
        public function _-3-5():_-3tD
        {
            return ((this._-515 as _-3tD));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-36f

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-08T;
    import _-4Aj.*;

    public class _-36f extends _-7V implements _-0tL 
    {

        public function _-36f(_arg1:Function)
        {
            super(_arg1, _-08T);
        }
        public function _-3-5():_-08T
        {
            return ((_-515 as _-08T));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-3Ed

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-2fv;
    import _-4Aj.*;

    public class _-3Ed extends _-7V implements _-0tL 
    {

        public function _-3Ed(_arg1:Function)
        {
            super(_arg1, _-2fv);
        }
        public function _-3-5():_-2fv
        {
            return ((this._-515 as _-2fv));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-3JM

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-0wM;
    import _-4Aj.*;

    public class _-3JM extends _-7V implements _-0tL 
    {

        public function _-3JM(_arg1:Function)
        {
            super(_arg1, _-0wM);
        }
        public function _-3-5():_-0wM
        {
            return ((this._-515 as _-0wM));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-42w

package _-2JC
{
    import _-4Aj._-0s1;

    public class _-42w 
    {

        private var _-4OO:int;
        private var _-b2:int;

        public function _-42w(_arg1:_-0s1)
        {
            this._-4OO = _arg1._-2BW();
            this._-b2 = _arg1._-2BW();
        }
        public function get _-2ej():int
        {
            return (this._-4OO);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-46q

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-1X1;
    import _-4Aj.*;

    public class _-46q extends _-7V implements _-0tL 
    {

        public function _-46q(_arg1:Function)
        {
            super(_arg1, _-1X1);
        }
        public function _-3-5():_-1X1
        {
            return ((this._-515 as _-1X1));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-47

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu.package;
    import _-4Aj.*;

    public class _-47 extends _-7V implements _-0tL 
    {

        public function _-47(_arg1:Function)
        {
            super(_arg1, package);
        }
        public function _-3-5():package
        {
            return ((this._-515 as package));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-4mo

package _-2JC
{
    import _-4Aj._-0s1;

    public class _-4mo 
    {

        private var _-0Kq:int;
        private var _name:String;
        private var _-4Cb:int;
        private var _-1Lo:Boolean;
        private var _-3Gu:Boolean;
        private var _-5AE:String;
        private var _-4d9:int;
        private var _-2sb:String;
        private var _-3Oj:String;
        private var _-pj:String;
        private var _-2aC:String;
        private var _-17q:Boolean;
        private var _-5Ee:Boolean;
        private var _-3MQ:Boolean;

        public function _-4mo(_arg1:_-0s1)
        {
            this._-0Kq = _arg1._-2BW();
            this._name = _arg1.readString();
            this._-4Cb = _arg1._-2BW();
            this._-1Lo = _arg1.readBoolean();
            this._-3Gu = _arg1.readBoolean();
            this._-5AE = _arg1.readString();
            this._-4d9 = _arg1._-2BW();
            this._-2sb = _arg1.readString();
            this._-pj = _arg1.readString();
            this._-2aC = _arg1.readString();
            this._-17q = _arg1.readBoolean();
            this._-5Ee = _arg1.readBoolean();
            this._-3MQ = _arg1.readBoolean();
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get gender():int
        {
            return (this._-4Cb);
        }
        public function get online():Boolean
        {
            return (this._-1Lo);
        }
        public function get _-08():Boolean
        {
            return (this._-3Gu);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-2d-():int
        {
            return (this._-4d9);
        }
        public function get motto():String
        {
            return (this._-2sb);
        }
        public function get _-vZ():String
        {
            return (this._-3Oj);
        }
        public function get realName():String
        {
            return (this._-pj);
        }
        public function get _-12L():String
        {
            return (this._-2aC);
        }
        public function get persistedMessageUser():Boolean
        {
            return (this._-17q);
        }
        public function get _-0y3():Boolean
        {
            return (this._-5Ee);
        }
        public function get _-0s():Boolean
        {
            return (this._-3MQ);
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-4ni

package _-2JC
{
    import _-4Aj._-0s1;

    public class _-4ni 
    {

        private var _-by:int;
        private var _-4Fr:String;
        private var _-52r:int;
        private var _-Wd:String;

        public function _-4ni(_arg1:_-0s1)
        {
            this._-by = _arg1._-2BW();
            this._-4Fr = _arg1.readString();
            this._-Wd = _arg1.readString();
            this._-52r = this._-by;
        }
        public function get _-0nn():int
        {
            return (this._-by);
        }
        public function get _-0Lf():String
        {
            return (this._-4Fr);
        }
        public function get _-4pt():int
        {
            return (this._-52r);
        }
        public function get _-11I():String
        {
            return (this._-Wd);
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-4q9

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-h1;
    import _-4Aj.*;

    public class _-4q9 extends _-7V implements _-0tL 
    {

        public function _-4q9(_arg1:Function)
        {
            super(_arg1, _-h1);
        }
        public function _-3-5():_-h1
        {
            return ((this._-515 as _-h1));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-4yr

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-ks;
    import _-4Aj.*;

    public class _-4yr extends _-7V implements _-0tL 
    {

        public function _-4yr(_arg1:Function)
        {
            super(_arg1, _-ks);
        }
        public function _-3-5():_-ks
        {
            return ((this._-515 as _-ks));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-Fg

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-4lY;
    import _-4Aj.*;

    public class _-Fg extends _-7V implements _-0tL 
    {

        public function _-Fg(_arg1:Function)
        {
            super(_arg1, _-4lY);
        }
        public function _-3-5():_-4lY
        {
            return ((this._-515 as _-4lY));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-G6

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-4fJ;
    import _-4Aj.*;

    public class _-G6 extends _-7V implements _-0tL 
    {

        public function _-G6(_arg1:Function)
        {
            super(_arg1, _-4fJ);
        }
        public function _-3-5():_-4fJ
        {
            return ((this._-515 as _-4fJ));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-j2

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-0gX;
    import _-4Aj.*;

    public class _-j2 extends _-7V implements _-0tL 
    {

        public function _-j2(_arg1:Function)
        {
            super(_arg1, _-0gX);
        }
        public function _-3-5():_-0gX
        {
            return ((_-515 as _-0gX));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC._-vO

package _-2JC
{
    import _-4Aj._-7V;
    import _-1Wu._-9d;
    import _-4Aj.*;

    public class _-vO extends _-7V implements _-0tL 
    {

        public function _-vO(_arg1:Function)
        {
            super(_arg1, _-9d);
        }
        public function _-3-5():_-9d
        {
            return ((this._-515 as _-9d));
        }

    }
}//package _-2JC

//------------------------------------------------------------
//_-2JC.EventStreamData

package _-2JC
{
    import _-4Aj._-0s1;

    public class EventStreamData 
    {

        public static const _-1-Y:uint = 0;
        public static const _-489:uint = 1;
        public static const _-45-:uint = 2;
        public static const _-3Pu:uint = 3;
        public static const _-1Jc:uint = 4;
        public static const _-3tR:uint = 5;
        public static const _-2Ej:uint = 6;
        public static const _-3U1:uint = 7;
        public static const _-0z5:uint = 8;
        public static const _-4fu:uint = 9;
        public static const _-1u8:uint = 10;
        public static const _-31f:uint = 11;
        public static const _-2AN:uint = 268435455;
        public static const _-2KY:int = 0;
        public static const _-2iH:int = 1;
        public static const _-3X5:int = 2;
        public static const _-0b2:int = 3;
        public static const _-aC:int = 4;
        public static const _-3FJ:int = 5;
        public static const _-41j:int = 6;
        public static const _-58P:int = 7;
        public static const _-05r:int = -1;

        private var _-0Kq:int;
        private var _-51m:int;
        private var _-08O:String;
        private var _-30c:String;
        private var _-50P:String;
        private var _-50o:String;
        private var _-2mu:int;
        private var _-1-t:int;
        private var _-0cr:int;
        private var _-0Tx:Boolean;
        private var _-0aI:Boolean;
        private var _-2og:Boolean;
        private var _-4uN:Object;

        public function EventStreamData(_arg1:int, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:int, _arg8:int, _arg9:int, _arg10:Boolean, _arg11:Boolean, _arg12:Boolean, _arg13:_-0s1)
        {
            this._-0Kq = _arg1;
            this._-51m = _arg2;
            this._-08O = _arg3;
            this._-30c = _arg4;
            this._-50P = _arg5;
            this._-50o = _arg6;
            this._-2mu = _arg7;
            this._-1-t = _arg8;
            this._-0cr = _arg9;
            this._-0Tx = _arg10;
            this._-0aI = _arg11;
            this._-2og = _arg12;
            this._-4uN = parse(_arg2, _arg8, _arg13);
        }
        protected static function parse(_arg1:int, _arg2:int, _arg3:_-0s1):Object
        {
            var k:Object = new Object();
            switch (_arg1)
            {
                case _-1-Y:
                    k.friendId = _arg3.readString();
                    k.friendName = _arg3.readString();
                    break;
                case _-489:
                    k.roomId = _arg3.readString();
                    k.roomName = _arg3.readString();
                    k.userCount = _arg3._-2BW();
                    k.activityLevel = _arg3._-2BW();
                    break;
                case _-45-:
                    k.achievementCode = _arg3.readString();
                    break;
                case _-3Pu:
                    k.motto = _arg3.readString();
                    break;
                case _-1Jc:
                    k.hotelManagerMessage = _arg3.readString();
                    switch (_arg2)
                    {
                        case _-2KY:
                        case _-41j:
                            k.externalLink = _arg3.readString();
                            break;
                        case _-3X5:
                            k.roomId = _arg3.readString();
                            break;
                    };
                    break;
                case _-3tR:
                case _-2AN:
                    k.statusMessage = _arg3.readString();
                    break;
                case _-2Ej:
                    k.comment = _arg3.readString();
                    break;
                case _-3U1:
                    break;
                case _-0z5:
                    k.name = _arg3.readString();
                    k.color = _arg3.readString();
                    k.catalogPageId = _arg3._-2BW();
                    k.offerId = _arg3._-2BW();
                    k.typeId = _arg3._-2BW();
                    k.paletteId = _arg3._-2BW();
                    break;
                case _-4fu:
                    k.roomId = _arg3.readString();
                    k.groupId = _arg3.readString();
                    k.roomName = _arg3.readString();
                    k.groupName = _arg3.readString();
                    k.userCount = _arg3._-2BW();
                    k.activityLevel = _arg3._-2BW();
                    break;
                case _-1u8:
                    k.roomId = _arg3.readString();
                    k.groupId = _arg3.readString();
                    k.roomName = _arg3.readString();
                    k.groupName = _arg3.readString();
                    k.userCount = _arg3._-2BW();
                    k.activityLevel = _arg3._-2BW();
                    break;
                case _-31f:
                    k.roomId = _arg3.readString();
                    k.eventName = _arg3.readString();
                    k.userCount = _arg3._-2BW();
                    k.activityLevel = _arg3._-2BW();
                    break;
            };
            return (k);
        }

        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-3Tr():int
        {
            return (this._-51m);
        }
        public function get accountId():String
        {
            return (this._-08O);
        }
        public function get _-5C5():String
        {
            return (this._-30c);
        }
        public function get _-1ke():String
        {
            return (this._-50o);
        }
        public function get _-2rq():int
        {
            return (this._-2mu);
        }
        public function get _-0ib():int
        {
            return (this._-1-t);
        }
        public function get _-2A-():int
        {
            return (this._-0cr);
        }
        public function get _-4to():Boolean
        {
            return (this._-0Tx);
        }
        public function get _-Wy():Boolean
        {
            return (this._-0aI);
        }
        public function get _-4XP():Boolean
        {
            return (this._-2og);
        }
        public function get extraDataStruct():Object
        {
            return (this._-4uN);
        }
        public function get _-4u8():String
        {
            return (this._-50P);
        }

    }
}//package _-2JC

class Struct 
{

}
class FriendMadeStruct extends Struct 
{

    public var friendId:String;
    public var friendName:String;

    public function FriendMadeStruct(_arg1:String, _arg2:String)
    {
        this.friendId = _arg1;
        this.friendName = _arg2;
    }
}
class RoomLikedStruct extends Struct 
{

    public var roomId:String;
    public var roomName:String;

    public function RoomLikedStruct(_arg1:String, _arg2:String)
    {
        this.roomId = _arg1;
        this.roomName = _arg2;
    }
}
class AchievementEarnedStruct extends Struct 
{

    public var achievementCode:String;

    public function AchievementEarnedStruct(_arg1:String)
    {
        this.achievementCode = _arg1;
    }
}

//------------------------------------------------------------
//_-2JX._-0I-

package _-2JX
{
    import flash.events.Event;

    public class _-0I- extends Event 
    {

        public static const _-3-q:String = "catalog_purse_credit_balance";
        public static const _-0tl:String = "catalog_purse_activity_point_balance";

        private var _-04q:int;
        private var _-05f:int;

        public function _-0I-(_arg1:String, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
            this._-04q = _arg2;
            this._-05f = _arg3;
        }
        public function get balance():int
        {
            return (this._-04q);
        }
        public function get activityPointType():int
        {
            return (this._-05f);
        }

    }
}//package _-2JX

//------------------------------------------------------------
//_-2JX._-1sv

package _-2JX
{
    import _-4Wu._-4uR;

    public class _-1sv 
    {

        public static const PIXEL:int = 0;
        public static const _-2ah:int = 3;
        public static const SEASONAL_1:int = 101;
        public static const SEASONAL_2:int = 102;
        public static const SEASONAL_3:int = 103;
        public static const SEASONAL_4:int = 104;
        public static const SEASONAL_5:int = 105;

        public static function _-1jt():Array
        {
            return ([PIXEL, SEASONAL_1, SEASONAL_2, SEASONAL_3, SEASONAL_4, SEASONAL_5]);
        }
        public static function _-45C(_arg1:int, _arg2:_-4uR, _arg3:Boolean, _arg4:Boolean=false):int
        {
            var _local5:String;
            if (_arg1 == -1)
            {
                return (((_arg3) ? 34 : 35));
            };
            if (_arg1 == PIXEL)
            {
                return (((_arg3) ? 32 : 33));
            };
            if (_arg1 == _-2ah)
            {
                return (((_arg3) ? 36 : 37));
            };
            _local5 = (((("currencyiconstyle." + ((_arg3) ? "big" : "small")) + ".") + _arg1) + ((_arg4) ? ".combo" : ""));
            return (int(_arg2.getKey(_local5, "0")));
        }

    }
}//package _-2JX

//------------------------------------------------------------
//_-2JX._-1Vt

package _-2JX
{
    import flash.events.Event;

    public class _-1Vt extends Event 
    {

        public static const _-0QB:String = "catalog_purse_update";

        public function _-1Vt(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-0QB, _arg1, _arg2);
        }
    }
}//package _-2JX

//------------------------------------------------------------
//_-2JX._-4gV

package _-2JX
{
    public interface _-4gV 
    {

        function set credits(_arg1:int):void;
        function set clubDays(_arg1:int):void;
        function set clubPeriods(_arg1:int):void;
        function get _-1Hq():Boolean;
        function get _-2J():int;
        function set _-1Hq(_arg1:Boolean):void;
        function get credits():int;
        function get clubDays():int;
        function get clubPeriods():int;
        function get _-2uV():Boolean;
        function get _-0Dl():Boolean;
        function get _-4pc():int;
        function get _-0pO():int;
        function _-3UR(_arg1:int):int;

    }
}//package _-2JX

//------------------------------------------------------------
//_-2JX.Purse

package _-2JX
{
    import flash.utils.Dictionary;

    public class Purse implements _-4gV 
    {

        private var _-2l8:int = 0;
        private var _-1u-:Dictionary;
        private var _-2KT:int = 0;
        private var _-1Hi:int = 0;
        private var _-2Ll:Boolean = false;
        private var _-Di:int = 0;
        private var _-3R2:int = 0;
        private var _-1nX:Boolean = false;
        private var _-4cu:int = 0;

        public function Purse()
        {
            this._-1u- = new Dictionary();
            super();
        }
        public function get credits():int
        {
            return (this._-2l8);
        }
        public function set credits(_arg1:int):void
        {
            this._-2l8 = _arg1;
        }
        public function get clubDays():int
        {
            return (this._-2KT);
        }
        public function set clubDays(_arg1:int):void
        {
            this._-2KT = _arg1;
        }
        public function get clubPeriods():int
        {
            return (this._-1Hi);
        }
        public function set clubPeriods(_arg1:int):void
        {
            this._-1Hi = _arg1;
        }
        public function get _-2uV():Boolean
        {
            return ((((this._-2KT > 0)) || ((this._-1Hi > 0))));
        }
        public function get _-0Dl():Boolean
        {
            return (this._-2Ll);
        }
        public function get _-1Hq():Boolean
        {
            return (this._-1nX);
        }
        public function set _-1Hq(_arg1:Boolean):void
        {
            this._-1nX = _arg1;
        }
        public function set _-0Dl(_arg1:Boolean):void
        {
            this._-2Ll = _arg1;
        }
        public function get _-4pc():int
        {
            return (this._-Di);
        }
        public function set _-4pc(_arg1:int):void
        {
            this._-Di = _arg1;
        }
        public function get _-0pO():int
        {
            return (this._-3R2);
        }
        public function set _-0pO(_arg1:int):void
        {
            this._-3R2 = _arg1;
        }
        public function get _-49s():Dictionary
        {
            return (this._-1u-);
        }
        public function set _-49s(_arg1:Dictionary):void
        {
            this._-1u- = _arg1;
        }
        public function _-3UR(_arg1:int):int
        {
            return (this._-1u-[_arg1]);
        }
        public function set _-2J(_arg1:int):void
        {
            this._-4cu = _arg1;
        }
        public function get _-2J():int
        {
            return (this._-4cu);
        }

    }
}//package _-2JX

//------------------------------------------------------------
//_-2K2._-4ey

package _-2K2
{
    import _-0sD._-2nQ;

    public class _-4ey extends _-2nQ 
    {

    }
}//package _-2K2

//------------------------------------------------------------
//_-2K2._-on

package _-2K2
{
    import _-1Fd._-3P5;

    public class _-on extends _-3P5 
    {

    }
}//package _-2K2

//------------------------------------------------------------
//_-2Kq._-2wx

package _-2Kq
{
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-3N5.HabboEventStream;
    import _-Ew.IWindowContainer;

    public class _-2wx extends AbstractView 
    {

        private static const _-5j:String = "image";

        private var _-5K:int;

        public function _-2wx(_arg1:HabboEventStream, _arg2:IWindowContainer, _arg3:int)
        {
            var k:IBitmapWrapperWindow;
            super(_arg1, _arg2);
            k = (_-0xv.findChildByName(_-5j) as IBitmapWrapperWindow);
            k.bitmap = (_-2aa.assets.getAssetByName(k._-2Qt).content as BitmapData);
            k._-30Z = false;
            this._-5K = _arg3;
        }
        override public function get type():int
        {
            return (this._-5K);
        }

    }
}//package _-2Kq

//------------------------------------------------------------
//_-2Kq._-6h

package _-2Kq
{
    import _-1ae.IScrollbarWindow;
    import _-3N5.HabboEventStream;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-0Ie.WindowEvent;

    public class _-6h extends AbstractView 
    {

        private static const _-3FL:String = "disable_stream";

        public function _-6h(_arg1:HabboEventStream, _arg2:IWindowContainer)
        {
            var scroll:IScrollbarWindow;
            var stream:HabboEventStream = _arg1;
            var window:IWindowContainer = _arg2;
            super(stream, window);
            window.findChildByName(_-3FL).addEventListener(WindowMouseEvent._-90, this.onMouseClick);
            var list:IItemListWindow = (window.findChildByName(_-gF) as IItemListWindow);
            var item:IWindowContainer = (list._-3yK(0) as IWindowContainer);
            scroll = (_-0xv.findChildByName(_-g-) as IScrollbarWindow);
            if (scroll)
            {
                scroll.addEventListener(WindowEvent._-3Z0, function (_arg1:WindowEvent):void
                {
                    var k:IScrollbarWindow = (_arg1.target as IScrollbarWindow);
                    if (k)
                    {
                        k.visible = true;
                        k.scrollable.width = (k.scrollable.parent.width - k.width);
                    };
                });
                scroll.addEventListener(WindowEvent._-15U, function (_arg1:WindowEvent):void
                {
                    scroll.visible = false;
                    scroll.scrollable.width = scroll.scrollable.parent.width;
                });
                scroll.visible = false;
                scroll.scrollable.width = scroll.scrollable.parent.width;
            };
            var i:int;
            var titleKey:String = "friendbar.stream.faq.title.";
            var title:String = _-2aa.localization.getKey((titleKey + 0), null);
            var textKey:String = "friendbar.stream.faq.text.";
            var text:String = _-2aa.localization.getKey((textKey + 0), null);
            while (true)
            {
                item.findChildByName("title").caption = title;
                item.findChildByName("text").caption = text;
                list.addListItem(item);
                i = (i + 1);
                title = _-2aa.localization.getKey((titleKey + i), null);
                if (title == null) break;
                text = _-2aa.localization.getKey((textKey + i), null);
                item = (item.clone() as IWindowContainer);
            };
        }
        override public function get type():int
        {
            return (_-p0._-kb);
        }
        override public function set visible(_arg1:Boolean):void
        {
            super.visible = _arg1;
            _-2aa.header.caption = ((visible) ? "${friendbar.stream.settings}" : "${friendbar.stream.view.title}");
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (_-0xv)
                {
                    _-0xv.findChildByName(_-3FL).removeEventListener(WindowMouseEvent._-90, this.onMouseClick);
                };
                super.dispose();
            };
        }
        private function onMouseClick(_arg1:WindowEvent):void
        {
            if (_arg1.target.name == _-3FL)
            {
                _-2aa.changeStreamState(false);
            };
        }

    }
}//package _-2Kq

//------------------------------------------------------------
//_-2Kq._-bP

package _-2Kq
{
    import __AS3__.vec.Vector;
    import _-2JC.EventStreamData;
    import _-3N5.EventStreamEntity;
    import _-1B-.*;

    public interface _-bP extends _-1zZ 
    {

        function get type():int;
        function get visible():Boolean;
        function set visible(_arg1:Boolean):void;
        function filter(_arg1:Vector.<EventStreamData>):void;
        function populate(_arg1:Vector.<EventStreamEntity>):void;

    }
}//package _-2Kq

//------------------------------------------------------------
//_-2Kq._-p0

package _-2Kq
{
    public class _-p0 
    {

        public static const _-33F:uint = 0;
        public static const _-0M0:uint = 1;
        public static const _-kb:uint = 2;
        public static const _-3bv:uint = 3;
        public static const _-4Ye:uint = 4;

    }
}//package _-2Kq

//------------------------------------------------------------
//_-2Kq.AbstractView

package _-2Kq
{
    import _-3N5.HabboEventStream;
    import _-Ew.IWindowContainer;
    import __AS3__.vec.Vector;
    import _-2JC.EventStreamData;
    import _-3N5.EventStreamEntity;

    public class AbstractView implements _-bP 
    {

        protected static const _-gF:String = "list";
        protected static const _-g-:String = "scroll";
        protected static const _-2wJ:String = "div";

        protected var _-2aa:HabboEventStream;
        protected var _-0xv:IWindowContainer;
        protected var _disposed:Boolean;

        public function AbstractView(_arg1:HabboEventStream, _arg2:IWindowContainer)
        {
            if (Object(this).constructor == AbstractView)
            {
                throw (new Error(("Instantiating abstract class " + AbstractView)));
            };
            this._-2aa = _arg1;
            this._-0xv = _arg2;
            this._-0xv.visible = false;
        }
        public function get type():int
        {
            return (-1);
        }
        public function get visible():Boolean
        {
            return (((this._-0xv) ? this._-0xv.visible : false));
        }
        public function set visible(_arg1:Boolean):void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = _arg1;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this._-0xv = null;
            this._-2aa = null;
            this._disposed = true;
        }
        public function filter(_arg1:Vector.<EventStreamData>):void
        {
        }
        public function populate(_arg1:Vector.<EventStreamEntity>):void
        {
        }

    }
}//package _-2Kq

//------------------------------------------------------------
//_-2Kq.StreamView

package _-2Kq
{
    import _-1ae.IScrollbarWindow;
    import _-3N5.HabboEventStream;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-3N5.EventStreamEntity;
    import _-2JC.EventStreamData;
    import _-09j.WindowType;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import __AS3__.vec.Vector;

    public class StreamView extends AbstractView 
    {

        private static const _-3Ta:String = "line";

        public function StreamView(_arg1:HabboEventStream, _arg2:IWindowContainer)
        {
            var scroll:IScrollbarWindow;
            var stream:HabboEventStream = _arg1;
            var window:IWindowContainer = _arg2;
            super(stream, window);
            var list:IItemListWindow = (_-0xv.findChildByName(_-gF) as IItemListWindow);
            scroll = (_-0xv.findChildByName(_-g-) as IScrollbarWindow);
            var line:IWindow = _-0xv.findChildByName(_-3Ta);
            if (scroll)
            {
                scroll.addEventListener(WindowEvent._-3Z0, function (_arg1:WindowEvent):void
                {
                    var k:IScrollbarWindow = (_arg1.target as IScrollbarWindow);
                    if (k)
                    {
                        k.visible = true;
                        k.scrollable.width = (k.scrollable.parent.width - k.width);
                    };
                });
                scroll.addEventListener(WindowEvent._-15U, function (_arg1:WindowEvent):void
                {
                    scroll.visible = false;
                    scroll.scrollable.width = scroll.scrollable.parent.width;
                });
                scroll.visible = false;
                scroll.scrollable.width = scroll.scrollable.parent.width;
            };
        }
        override public function get type():int
        {
            return (_-p0._-33F);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                super.dispose();
            };
        }
        override public function populate(_arg1:Vector.<EventStreamEntity>):void
        {
            var k:EventStreamEntity;
            var k:IItemListWindow;
            var k:IWindow;
            if (visible)
            {
                k = (_-0xv.findChildByName(_-gF) as IItemListWindow);
                while (true)
                {
                    k = k.getListItemByName(_-2wJ);
                    if (!k) break;
                    k.destroy();
                };
                k._-3mI();
                for each (k in _arg1)
                {
                    k.addListItem(k.window);
                };
                if (_arg1.length > 0)
                {
                    k = _arg1[0];
                    if ((((k.accountId == _-2aa.requestAccountId.toString())) && ((((k._-3Tr == EventStreamData._-3tR)) || ((k._-3Tr == EventStreamData._-2AN))))))
                    {
                        k._-kE(_-2aa.windowManager.createWindow(_-2wJ, "", WindowType._-4q6, 0, WindowParam._-Cp, new Rectangle(0, 0, k.width, 4)), 1);
                    };
                };
            };
        }

    }
}//package _-2Kq

//------------------------------------------------------------
//_-2Kq.WelcomeView

package _-2Kq
{
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-0Ie.WindowEvent;
    import _-3N5.HabboEventStream;
    import _-Ew.IWindowContainer;
    import _-2JC.EventStreamData;
    import __AS3__.vec.Vector;
    import _-3N5.EventStreamEntity;
    import _-Ew.IWindow;
    import _-1ae.IItemListWindow;

    public class WelcomeView extends AbstractView 
    {

        private static const _-5j:String = "image";
        private static const _-2Bf:String = "hotel_manager_container";
        private static const _-2XP:String = "hotel_manager_message";
        private static const _-0WB:String = "welcome_list";

        private var _-0bw:int = 0;
        private var _-0DS:int = 0;

        public function WelcomeView(_arg1:HabboEventStream, _arg2:IWindowContainer)
        {
            var k:IBitmapWrapperWindow;
            super(_arg1, _arg2);
            k = (_-0xv.findChildByName(_-5j) as IBitmapWrapperWindow);
            k.bitmap = (_-2aa.assets.getAssetByName(k._-2Qt).content as BitmapData);
            this._-0DS = k.height;
            _-0xv.addEventListener(WindowEvent._-3K0, this._-3Sa);
        }
        override public function set visible(_arg1:Boolean):void
        {
            if (((_arg1) && (!(visible))))
            {
                this._-2EY();
            };
            super.visible = _arg1;
        }
        override public function get type():int
        {
            return (_-p0._-0M0);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                _-0xv.removeEventListener(WindowEvent._-3K0, this._-3Sa);
                super.dispose();
            };
        }
        override public function filter(_arg1:Vector.<EventStreamData>):void
        {
            var k:int;
            var k:int;
            var k:EventStreamData;
            var k:int;
            if (((visible) && ((_arg1.length > 0))))
            {
                k = 0;
                k = -1;
                for each (k in _arg1)
                {
                    if (k.id == this._-0bw)
                    {
                    };
                    if (_-2aa.seenStreamEventIds.indexOf(k.id) == -1)
                    {
                        break;
                    };
                    k++;
                };
                k = (((k < _arg1.length)) ? k : ((k + 1) % _arg1.length));
                _arg1.splice(0, k);
                _arg1.splice(1, (_arg1.length - 1));
            };
        }
        override public function populate(_arg1:Vector.<EventStreamEntity>):void
        {
            var k:IWindowContainer;
            var k:EventStreamEntity;
            if (visible)
            {
                k = (_-0xv.findChildByName(_-2XP) as IWindowContainer);
                while (k.numChildren > 0)
                {
                    k.removeChildAt(0);
                };
                if (_arg1.length > 0)
                {
                    k = _arg1[0];
                    if (((k) && ((k._-3Tr == EventStreamData._-1Jc))))
                    {
                        k._-4to = false;
                        this._-0bw = k.id;
                        k.addChild(k.window);
                        k.height = k.window.height;
                    };
                    this._-2EY();
                };
                k.parent.visible = (k.numChildren > 0);
            };
        }
        private function _-3Sa(_arg1:WindowEvent):void
        {
            this._-2EY();
        }
        private function _-2EY():void
        {
            var k:IWindow = _-0xv.findChildByName(_-2Bf);
            var k:IItemListWindow = (_-0xv.findChildByName(_-0WB) as IItemListWindow);
            var k:IBitmapWrapperWindow = (_-0xv.findChildByName(_-5j) as IBitmapWrapperWindow);
            var k:int = (k.y + k._-2yI.height);
            var k = (k.y > (k + ((k.visible) ? 0 : this._-0DS)));
            if (k != k.visible)
            {
                k.visible = k;
                k._-0O3();
            };
        }

    }
}//package _-2Kq

//------------------------------------------------------------
//_-2lx._-0ac

package _-2lx
{
    import _-4Aj.*;

    public class _-0ac implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2lx._-1NP

package _-2lx
{
    import _-4Aj.*;

    public class _-1NP implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1NP(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2lx._-1uq

package _-2lx
{
    import _-4Aj.*;

    public class _-1uq implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1uq(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2lx._-37-

package _-2lx
{
    import _-4Aj.*;

    public class _-37- implements _-1oF 
    {

        private var _-4Nw:Array;

        public function _-37-(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2lx._-3jY

package _-2lx
{
    import _-4Aj.*;

    public class _-3jY implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3jY(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2lx._-3W

package _-2lx
{
    import _-4Aj.*;

    public class _-3W implements _-1oF 
    {

        public static const _-2Se:int = 0;
        public static const _-0HB:int = 1;
        public static const _-0LX:int = 2;
        public static const _-4nP:int = 3;

        private var _-0qE:Array;

        public function _-3W(_arg1:String, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2lx._-4kk

package _-2lx
{
    import _-4Aj.*;

    public class _-4kk implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4kk(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2lx._-G8

package _-2lx
{
    import _-4Aj.*;

    public class _-G8 implements _-1oF 
    {

        private var _-4Nw:Array;

        public function _-G8(_arg1:String, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2lx._-X1

package _-2lx
{
    import _-4Aj.*;

    public class _-X1 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-X1(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2lx

//------------------------------------------------------------
//_-2ly._-0d3

package _-2ly
{
    import flash.geom.Matrix;
    import flash.geom.Rectangle;

    public class _-0d3 
    {

        public static function normalize(_arg1:Number, _arg2:Number, _arg3:Number):Number
        {
            return (((_arg1 - _arg2) / (_arg3 - _arg2)));
        }
        public static function _-1SO(_arg1:Number, _arg2:Number, _arg3:Number):Number
        {
            return (((_arg1 * (_arg3 - _arg2)) + _arg2));
        }
        public static function _-4Jf(_arg1:Number, _arg2:Number=0, _arg3:Number=1):Number
        {
            return (Math.max(_arg2, Math.min(_arg3, _arg1)));
        }
        public static function _-17w(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Number
        {
            return (_-1SO(normalize(_arg1, _arg2, _arg3), _arg4, _arg5));
        }
        public static function _-0Z-(_arg1:Rectangle, _arg2:Rectangle):Matrix
        {
            var k:Matrix = new Matrix();
            k.a = (_arg2.width / _arg1.width);
            k.d = (_arg2.height / _arg1.height);
            k.tx = (_arg2.x - (_arg1.x * k.a));
            k.ty = (_arg2.y - (_arg1.y * k.d));
            return (k);
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly._-11j

package _-2ly
{
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    import flash.net.navigateToURL;

    public class _-11j 
    {

        public static const _-4cg:String = "advertisement";

        public static function logEventLog(_arg1:String):void
        {
            var data:String = _arg1;
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.logEventLog", data);
                };
            }
            catch(e:Error)
            {
                _-Nb.log("External interface not working, failed to log event log.");
            };
        }
        public static function _-0D8(_arg1:String, _arg2:String=""):void
        {
            var strUserAgent:String;
            var url:String = _arg1;
            var targetWindow:String = _arg2;
            if ((((targetWindow == null)) || ((targetWindow == ""))))
            {
                targetWindow = _-4cg;
            };
            var req:URLRequest = new URLRequest(url);
            if (!ExternalInterface.available)
            {
                navigateToURL(req, targetWindow);
            }
            else
            {
                try
                {
                    strUserAgent = String(ExternalInterface.call("function() {return navigator.userAgent;}")).toLowerCase();
                    if (strUserAgent.indexOf("firefox") >= 0)
                    {
                        ExternalInterface.call("window.open", req.url, targetWindow);
                    }
                    else
                    {
                        if (strUserAgent.indexOf("msie") >= 0)
                        {
                            ExternalInterface.call((((("function setWMWindow() {window.open('" + req.url) + "', '") + targetWindow) + "');}"));
                        }
                        else
                        {
                            navigateToURL(req, targetWindow);
                        };
                    };
                }
                catch(e:Error)
                {
                    _-Nb.log("External interface not working, failed to open web page.");
                };
            };
        }
        public static function _-25R(_arg1:String, _arg2:String=null):void
        {
            var name:String = _arg1;
            var param = _arg2;
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.openHabblet", name, param);
                };
            }
            catch(e:Error)
            {
                _-Nb.log(("Failed to open Habblet " + name));
            };
        }
        public static function _-0PG(_arg1:String, _arg2:String=null):void
        {
            var name:String = _arg1;
            var param = _arg2;
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.closeHabblet", name, param);
                };
            }
            catch(e:Error)
            {
                _-Nb.log(("Failed to close Habblet " + name));
            };
        }
        public static function showGame(_arg1:String):void
        {
            var gameUrl:String = _arg1;
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalGameInterface.showGame", gameUrl);
                };
            }
            catch(e:Error)
            {
                _-Nb.log(("Failed to open game: " + e));
            };
        }
        public static function hideGame():void
        {
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalGameInterface.hideGame");
                };
            }
            catch(e:Error)
            {
                _-Nb.log("Failed to hide game");
            };
        }
        public static function navigateToURL(_arg1:String, _arg2:String=null):void
        {
            var k:URLRequest = new URLRequest(_arg1);
            navigateToURL(k, _arg2);
        }
        public static function _-41a(_arg1:String):void
        {
            var url:String = _arg1;
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.openExternalLink", escape(url));
                }
                else
                {
                    _-Nb.log(("External interface not available. Could not request to open: " + url));
                };
            }
            catch(e:Error)
            {
                _-Nb.log(("External interface not working. Could not request to open: " + url));
            };
        }
        public static function facebookLike(_arg1:int):void
        {
            var roomId:int = _arg1;
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.fbLike", roomId);
                }
                else
                {
                    _-Nb.log("External interface not available. Could not request Facebook like view.");
                };
            }
            catch(e:Error)
            {
                _-Nb.log("External interface not working. Could not request Facebook like view.");
            };
        }
        public static function _-5B3(_arg1:String, _arg2:String, _arg3:String, _arg4:String):void
        {
            var badgeId:String = _arg1;
            var postTitle:String = _arg2;
            var postText:String = _arg3;
            var shareID:String = _arg4;
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.postAchievementShareBonus", badgeId, postTitle, postText, shareID);
                }
                else
                {
                    _-Nb.log("External interface not available. Could not request Facebook achievement post view.");
                };
            }
            catch(e:Error)
            {
                _-Nb.log("External interface not working. Could not request Facebook achievement post view.");
            };
        }
        public static function roomVisited(_arg1:int):void
        {
            var roomId:int = _arg1;
            try
            {
                if (ExternalInterface.available)
                {
                    ExternalInterface.call("FlashExternalInterface.roomVisited", roomId);
                }
                else
                {
                    _-Nb.log("External interface not available. Could not store last room visit.");
                };
            }
            catch(e:Error)
            {
                _-Nb.log("External interface not working. Could not store last room visit.");
            };
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly._-174

package _-2ly
{
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindowContainer;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowEvent;

    public class _-174 
    {

        public static function setup(_arg1:IWindowContainer, _arg2:Function):void
        {
            var k:IWindow = _arg1.findChildByName("user_info_region");
            k.addEventListener(WindowMouseEvent._-4ea, _-lO);
            k.addEventListener(WindowMouseEvent._-4e2, _-2Cp);
            k.addEventListener(WindowMouseEvent._-90, _arg2);
        }
        private static function _-lO(_arg1:WindowEvent):void
        {
            var k:IRegionWindow = IRegionWindow(_arg1.target);
            _-2C5(true, k);
        }
        private static function _-2Cp(_arg1:WindowEvent):void
        {
            var k:IRegionWindow = IRegionWindow(_arg1.target);
            _-2C5(false, k);
        }
        public static function _-2C5(_arg1:Boolean, _arg2:IWindowContainer):void
        {
            _arg2.findChildByName("icon_eye_off").visible = !(_arg1);
            _arg2.findChildByName("icon_eye_over").visible = _arg1;
        }
        public static function _-0my(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                _-174._-2C5(true, IWindowContainer(_arg2.parent));
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    _-174._-2C5(false, IWindowContainer(_arg2.parent));
                };
            };
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly._-28n

package _-2ly
{
    import _-3X8._-0hg;

    public class _-28n 
    {

        private static const _-3Ff:uint = 60;
        private static const _-0zE:uint = (60 * _-3Ff);//3600
        private static const _-23V:uint = (24 * _-0zE);//86400
        private static const _-036:uint = (7 * _-23V);//604800
        private static const _-1pP:uint = (30 * _-23V);//0x278D00
        private static const _-3OA:uint = (365 * _-23V);//31536000

        public static function _-kh(_arg1:_-0hg, _arg2:Number, _arg3:String="", _arg4:int=3):String
        {
            if (_arg2 > (_arg4 * _-3OA))
            {
                return (getLocalization(_arg1, ("friendlytime.years" + _arg3), Math.round((_arg2 / _-3OA))));
            };
            if (_arg2 > (_arg4 * _-1pP))
            {
                return (getLocalization(_arg1, ("friendlytime.months" + _arg3), Math.round((_arg2 / _-1pP))));
            };
            if (_arg2 > (_arg4 * _-23V))
            {
                return (getLocalization(_arg1, ("friendlytime.days" + _arg3), Math.round((_arg2 / _-23V))));
            };
            if (_arg2 > (_arg4 * _-0zE))
            {
                return (getLocalization(_arg1, ("friendlytime.hours" + _arg3), Math.round((_arg2 / _-0zE))));
            };
            if (_arg2 > (_arg4 * _-3Ff))
            {
                return (getLocalization(_arg1, ("friendlytime.minutes" + _arg3), Math.round((_arg2 / _-3Ff))));
            };
            return (getLocalization(_arg1, ("friendlytime.seconds" + _arg3), Math.round(_arg2)));
        }
        public static function getLocalization(_arg1:_-0hg, _arg2:String, _arg3:int):String
        {
            return (_arg1._-5CG(_arg2, _arg2, "amount", _arg3.toString()));
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly._-4WX

package _-2ly
{
    import _-1Jd._-51K;
    import _-4pF._-3Ts;

    public class _-4WX 
    {

        public static function isPerkAllowed(_arg1:_-51K, _arg2:_-3Ts, _arg3:String):Boolean
        {
            if (_arg1.isPerkAllowed(_arg3))
            {
                return (true);
            };
            var k:String = _arg1._-05D(_arg3);
            _arg2.simpleAlert("${perkmissing.title}", "${perkmissing.caption}", (("${" + k) + "}"));
            return (false);
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly._-F-

package _-2ly
{
    import _-Ew.IWindow;
    import _-1ae.IDesktopWindow;
    import flash.geom.Rectangle;
    import _-09j.WindowState;
    import _-1B-.*;

    public class _-F- implements _-1zZ 
    {

        public static const _-2C7:int = 0;
        public static const _-21j:int = 1;
        public static const _-4rG:int = 2;

        private var _-0xv:IWindow;
        private var _-2sh:IDesktopWindow;
        private var _disposed:Boolean;
        private var _-2JY:Function;
        private var _-1fg:Function;

        public function _-F-(_arg1:IWindow, _arg2:IDesktopWindow, _arg3:Function=null, _arg4:Function=null)
        {
            this._-0xv = _arg1;
            this._-2sh = _arg2;
            this._-2JY = _arg3;
            this._-1fg = _arg4;
        }
        public static function _-32W(_arg1:IWindow):Boolean
        {
            var k:IWindow;
            var k:IDesktopWindow = _arg1.desktop;
            var k:int = k.numChildren;
            var k:int = k.getChildIndex(_arg1);
            if (k < 0)
            {
                throw (new Error("Window must be contained by the desktop!"));
            };
            var k:Rectangle = new Rectangle();
            _arg1.getGlobalRectangle(k);
            var k:Rectangle = new Rectangle();
            var k:int = (k + 1);
            while (k < k)
            {
                k = k.getChildAt(k);
                if (k.visible)
                {
                    k.getGlobalRectangle(k);
                    if (k.intersects(k))
                    {
                        return (true);
                    };
                };
                k++;
            };
            return (false);
        }

        public function get window():IWindow
        {
            return (this._-0xv);
        }
        public function get visible():Boolean
        {
            return (((((this._-0xv) && (this._-0xv.visible))) && (this._-0xv.parent)));
        }
        public function get active():Boolean
        {
            return (((this.visible) && (this._-0xv._-3AV(WindowState._-143))));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0xv)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                this._-2sh = null;
                this._disposed = true;
                this._-2JY = null;
                this._-1fg = null;
            };
        }
        public function show():void
        {
            if (!this._-0xv.disposed)
            {
                if (this._-0xv.parent != this._-2sh)
                {
                    this._-2sh.addChild(this._-0xv);
                };
                if (!this._-0xv.visible)
                {
                    this._-0xv.visible = true;
                };
                this._-0xv.activate();
            };
        }
        public function hide():void
        {
            if (!this._-0xv.disposed)
            {
                if (this._-0xv.parent == this._-2sh)
                {
                    this._-2sh.removeChild(this._-0xv);
                };
                if (this._-0xv.visible)
                {
                    this._-0xv.visible = false;
                };
                this._-0xv.deactivate();
            };
        }
        public function _-4NB():void
        {
            if (this.visible)
            {
                if (this.active)
                {
                    if ((this._-1fg == null))
                    {
                        this.hide();
                    }
                    else
                    {
                        this._-1fg.call();
                    };
                }
                else
                {
                    if (_-32W(this._-0xv))
                    {
                        this._-0xv.activate();
                    }
                    else
                    {
                        if ((this._-1fg == null))
                        {
                            this.hide();
                        }
                        else
                        {
                            this._-1fg.call();
                        };
                    };
                };
            }
            else
            {
                if ((this._-2JY == null))
                {
                    this.show();
                }
                else
                {
                    this._-2JY.call();
                };
            };
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly._-TB

package _-2ly
{
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowEvent;

    public class _-TB 
    {

        private var _-GM:ITextFieldWindow;
        private var _-0Gu:Boolean;
        private var _-4H-:String = "";

        public function _-TB(_arg1:ITextFieldWindow, _arg2:String=null)
        {
            this._-GM = _arg1;
            if (_arg2 != null)
            {
                this._-0Gu = true;
                this._-4H- = _arg2;
                this._-GM.text = _arg2;
            };
            this._-GM.addEventListener(WindowEvent._-4JH, this._-4FC);
        }
        public function dispose():void
        {
            if (this._-GM)
            {
                this._-GM.dispose();
                this._-GM = null;
            };
        }
        public function _-0Yh():void
        {
            this._-GM.text = this._-4H-;
            this._-0Gu = true;
        }
        public function getText():String
        {
            return (((this._-0Gu) ? "" : this._-GM.text));
        }
        public function _-0Ab(_arg1:String):void
        {
            this._-0Gu = false;
            this._-GM.text = _arg1;
        }
        public function get input():ITextFieldWindow
        {
            return (this._-GM);
        }
        private function _-4FC(_arg1:WindowEvent):void
        {
            if (!this._-0Gu)
            {
                return;
            };
            this._-GM.text = "";
            this._-0Gu = false;
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly.FixedSizeStack

package _-2ly
{
    public class FixedSizeStack 
    {

        private var _-0qE:Array;
        private var _-1wg:int = 0;
        private var _index:int = 0;

        public function FixedSizeStack(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-1wg = _arg1;
        }
        public function reset():void
        {
            this._-0qE = [];
            this._index = 0;
        }
        public function _-1Nu(_arg1:int):void
        {
            if (this._-0qE.length < this._-1wg)
            {
                this._-0qE.push(_arg1);
            }
            else
            {
                this._-0qE[this._index] = _arg1;
            };
            this._index = ((this._index + 1) % this._-1wg);
        }
        public function _-1Sb():int
        {
            var k:int = int.MIN_VALUE;
            var k:int;
            while (k < this._-1wg)
            {
                if (this._-0qE[k] > k)
                {
                    k = this._-0qE[k];
                };
                k++;
            };
            return (k);
        }
        public function _-4gg():int
        {
            var k:int = int.MAX_VALUE;
            var k:int;
            while (k < this._-1wg)
            {
                if (this._-0qE[k] < k)
                {
                    k = this._-0qE[k];
                };
                k++;
            };
            return (k);
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly.LoadingIcon

package _-2ly
{
    import flash.utils.Timer;
    import _-1ae.IIconWindow;
    import flash.events.TimerEvent;
    import flash.events.Event;
    import _-1B-.*;

    public class LoadingIcon implements _-1zZ 
    {

        private static const _-3jx:Array = [23, 24, 25, 26];

        private var _-2J0:Timer;
        private var _icon:IIconWindow;
        private var _-g3:int;

        public function LoadingIcon()
        {
            this._-2J0 = new Timer(160);
            super();
            this._-2J0.addEventListener(TimerEvent.TIMER, this._-0wE);
        }
        public function dispose():void
        {
            if (this._-2J0)
            {
                this._-2J0.removeEventListener(TimerEvent.TIMER, this._-0wE);
                this._-2J0.stop();
                this._-2J0 = null;
            };
            this._icon = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2J0 == null));
        }
        public function _-4RP(_arg1:IIconWindow, _arg2:Boolean):void
        {
            this._icon = _arg1;
            this._icon.visible = _arg2;
            if (_arg2)
            {
                this._icon.style = _-3jx[this._-g3];
                this._-2J0.start();
            }
            else
            {
                this._-2J0.stop();
            };
        }
        private function _-0wE(_arg1:Event):void
        {
            if (this._icon == null)
            {
                return;
            };
            this._-g3++;
            if (this._-g3 >= _-3jx.length)
            {
                this._-g3 = 0;
            };
            this._icon.style = _-3jx[this._-g3];
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2ly.PlayerVersionCheck

package _-2ly
{
    import flash.system.Capabilities;

    public class PlayerVersionCheck 
    {

        private static var _-16T:int;
        private static var _-1ly:int;
        private static var _-4V1:Boolean;

        public static function _-39C(_arg1:int, _arg2:int):Boolean
        {
            if (_arg1 < PlayerVersionCheck.majorVersion)
            {
                return (true);
            };
            if ((((_arg1 == PlayerVersionCheck.majorVersion)) && ((_arg2 <= PlayerVersionCheck.minorVersion))))
            {
                return (true);
            };
            return (false);
        }
        public static function get majorVersion():int
        {
            _-1wB();
            return (_-16T);
        }
        public static function get minorVersion():int
        {
            _-1wB();
            return (_-1ly);
        }
        private static function _-1wB():void
        {
            if (_-4V1)
            {
                return;
            };
            var k:Array = Capabilities.version.split(" ");
            var k:Array = k[1].split(",");
            var k:int = k.length;
            _-16T = (((k)>=1) ? parseInt(k[0]) : 0);
            _-1ly = (((k)>=2) ? parseInt(k[1]) : 0);
            _-4V1 = true;
        }

    }
}//package _-2ly

//------------------------------------------------------------
//_-2M5.Game2MakeSnowballMessageComposer

package _-2M5
{
    import _-4Aj.*;

    public class Game2MakeSnowballMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2MakeSnowballMessageComposer(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-2M5

//------------------------------------------------------------
//_-2M5.Game2RequestFullStatusUpdateMessageComposer

package _-2M5
{
    import _-4Aj.*;

    public class Game2RequestFullStatusUpdateMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2RequestFullStatusUpdateMessageComposer(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-2M5

//------------------------------------------------------------
//_-2M5.Game2SetUserMoveTargetMessageComposer

package _-2M5
{
    import _-4Aj.*;

    public class Game2SetUserMoveTargetMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2SetUserMoveTargetMessageComposer(_arg1:int, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-2M5

//------------------------------------------------------------
//_-2M5.Game2ThrowSnowballAtHumanMessageComposer

package _-2M5
{
    import _-4Aj.*;

    public class Game2ThrowSnowballAtHumanMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2ThrowSnowballAtHumanMessageComposer(_arg1:int, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-2M5

//------------------------------------------------------------
//_-2M5.Game2ThrowSnowballAtPositionMessageComposer

package _-2M5
{
    import _-4Aj.*;

    public class Game2ThrowSnowballAtPositionMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2ThrowSnowballAtPositionMessageComposer(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-2M5

//------------------------------------------------------------
//_-2Mh._-060

package _-2Mh
{
    public class _-060 
    {

        public static const HABBO_CATALOG_TRACKING_EVENT_OPEN:String = "HABBO_CATALOG_TRACKING_EVENT_OPEN";
        public static const HABBO_CATALOG_TRACKING_EVENT_CLOSE:String = "HABBO_CATALOG_TRACKING_EVENT_CLOSE";

    }
}//package _-2Mh

//------------------------------------------------------------
//_-2Mh._-3Uw

package _-2Mh
{
    public class _-3Uw 
    {

        public static const _-0xA:String = "i";
        public static const _-5Ds:String = "s";
        public static const _-17R:String = "e";
        public static const _-0dl:String = "h";
        public static const _-0tW:String = "b";
        public static const _-3er:String = "GAME_TOKEN";
        public static const _-2OR:String = "p";
        public static const _-0Z7:String = "r";

    }
}//package _-2Mh

//------------------------------------------------------------
//_-2Mh._-3YS

package _-2Mh
{
    public class _-3YS 
    {

        public static const _-36p:int = 0;
        public static const _-0ha:int = 1;
        public static const _-1pk:int = 2;

    }
}//package _-2Mh

//------------------------------------------------------------
//_-2Mh._-4WL

package _-2Mh
{
    public class _-4WL 
    {

        public static const _-qE:_-4WL = new _-4WL(0);
        public static const _-40G:_-4WL = new _-4WL(1);

        private var _-3lK:int = 0;

        public function _-4WL(_arg1:int):void
        {
            this._-3lK = _arg1;
        }
        public function get value():int
        {
            return (this._-3lK);
        }
        public function _-DQ(_arg1:_-4WL):Boolean
        {
            return (((_arg1) && ((_arg1._-3lK == this._-3lK))));
        }

    }
}//package _-2Mh

//------------------------------------------------------------
//_-2Mh._-cF

package _-2Mh
{
    public class _-cF 
    {

        public static const _-3LZ:String = "magic_pixels";
        public static const _-4ji:String = "credits";
        public static const _-3LX:String = "avatar_effects";
        public static const _-5Ax:String = "habbo_club";
        public static const _-4Pk:String = "club_gifts";
        public static const _-Lf:String = "pet_accessories";
        public static const _-3pH:String = "trax_songs";
        public static const _-0CP:String = "new_additions";
        public static const _-2jl:String = "quest_shell";
        public static const _-0xl:String = "quest_snowflakes";
        public static const _-3TH:String = "val_quests";
        public static const _-33b:String = "guild_custom_furni";
        public static const _-4G2:String = "gift_shop";
        public static const _-2jA:String = "horse_styles";
        public static const _-48v:String = "horse_shoe";
        public static const _-0w2:String = "set_easter";
        public static const _-179:String = "ecotron_transform";

    }
}//package _-2Mh

//------------------------------------------------------------
//_-2Mh._-uV

package _-2Mh
{
    public class _-uV 
    {

        public static const _-0MX:int = 0;
        public static const _-0q8:int = 1;
        public static const _-3qJ:int = 2;
        public static const _-3vx:int = 3;
        public static const _-3ls:int = 4;
        public static const _-4NV:int = 5;

    }
}//package _-2Mh

//------------------------------------------------------------
//_-2mR._-03d

package _-2mR
{
    public interface _-03d 
    {

        function _-2F0(_arg1:Boolean):Boolean;

    }
}//package _-2mR

//------------------------------------------------------------
//_-2mR._-1Nm

package _-2mR
{
    public interface _-1Nm 
    {

        function disable():void;

    }
}//package _-2mR

//------------------------------------------------------------
//_-2mR._-2fJ

package _-2mR
{
    public interface _-2fJ 
    {

        function get _-4bE():String;

    }
}//package _-2mR

//------------------------------------------------------------
//_-2mR._-3xa

package _-2mR
{
    import _-3Q9.HabboLandingView;
    import _-Ew.IWindow;
    import _-06J.GenericWidget;

    public interface _-3xa 
    {

        function initialize(_arg1:HabboLandingView, _arg2:IWindow, _arg3:Array, _arg4:GenericWidget):void;
        function refresh():void;

    }
}//package _-2mR

//------------------------------------------------------------
//_-2MS._-p8

package _-2MS
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-p8 implements _-58N 
    {

        private var _-V5:int;
        private var _-3Zq:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-V5 = _arg1._-2BW();
            this._-3Zq = _arg1._-2BW();
            return (true);
        }
        public function get _-5C-():int
        {
            return (this._-V5);
        }
        public function get _-02z():int
        {
            return (this._-3Zq);
        }

    }
}//package _-2MS

//------------------------------------------------------------
//_-2N1._-4E8

package _-2N1
{
    import _-3Zp.HabboInventory;
    import _-295._-39L;
    import _-293._-5-S;
    import _-3gx._-4BJ;
    import _-3X8._-0hg;
    import _-18r.Map;
    import _-4pF._-3Ts;
    import _-0ly._-2P9;
    import _-2Nr.FurniModel;
    import _-Ew.IWindowContainer;
    import _-3Zp.*;

    public class _-4E8 implements _-4Yh 
    {

        public static const _-0IQ:uint = 0;
        public static const _-2b6:uint = 1;

        private var _-YX:HabboInventory;
        private var _-AV:_-39L;
        private var _-0tK:_-5-S;
        private var _-0ud:_-4BJ;
        private var _-cU:_-0hg;
        private var _disposed:Boolean = false;
        private var _-0FJ:Boolean = false;
        private var _-0Ke:uint = 0;
        private var _-4xX:Map;

        public function _-4E8(_arg1:HabboInventory, _arg2:_-3Ts, _arg3:_-4BJ, _arg4:_-39L, _arg5:_-5-S, _arg6:_-0hg)
        {
            this._-YX = _arg1;
            this._-0ud = _arg3;
            this._-AV = _arg4;
            this._-0tK = _arg5;
            this._-cU = _arg6;
        }
        public function get running():Boolean
        {
            return ((this._-0Ke == _-2b6));
        }
        public function get state():uint
        {
            return (this._-0Ke);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set state(_arg1:uint):void
        {
            this._-0Ke = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-YX = null;
                this._-0ud = null;
                this._-AV = null;
                this._-0tK = null;
                this._-cU = null;
                this._disposed = true;
            };
            this._-0pu();
        }
        public function _-2nl():void
        {
            if ((((this._-YX == null)) || ((this._-YX._-4FQ == null))))
            {
                return;
            };
            this._-0Ke = _-2b6;
            this._-4xX = new Map();
            this._-YX._-4FQ._-de(true);
        }
        public function _-0pu():void
        {
            var k:int;
            if ((((((this._-4xX == null)) || ((this._-YX == null)))) || ((this._-YX._-4FQ == null))))
            {
                return;
            };
            this._-0Ke = _-0IQ;
            this._-YX._-4FQ._-de(false);
            var k:int;
            while (k < this._-4xX.length)
            {
                k = this._-4xX.getKey(k);
                this._-YX._-4FQ._-1SQ(k);
                k++;
            };
            this._-4xX = null;
        }
        public function _-bX():int
        {
            if ((((((this._-4xX == null)) || ((this._-YX == null)))) || ((this._-YX._-4FQ == null))))
            {
                return (0);
            };
            var k:_-2P9 = this._-YX._-4FQ._-1z3();
            if (k == null)
            {
                return (0);
            };
            if (this._-4xX.getValue(k.id) == null)
            {
                this._-4xX.add(k.id, k);
            };
            return (k.id);
        }
        public function _-3Fo(_arg1:int):Boolean
        {
            if (this._-4xX == null)
            {
                return (true);
            };
            var k:_-2P9 = this._-4xX.getValue(_arg1);
            if (k == null)
            {
                return (false);
            };
            var k:FurniModel = this._-YX._-4FQ;
            if (k == null)
            {
                return (false);
            };
            k._-1SQ(_arg1);
            this._-4xX.remove(_arg1);
            return (true);
        }
        public function _-2O3():Array
        {
            var k:Array = new Array();
            if (this._-4xX == null)
            {
                return ([]);
            };
            var k:int;
            while (k < this._-4xX.length)
            {
                k.push(this._-4xX.getKey(k));
                k++;
            };
            return (k);
        }
        public function _-3mZ():void
        {
        }
        public function _-eq(_arg1:int=0):void
        {
        }
        public function _-52O(_arg1:String):void
        {
        }
        public function _-3NF(_arg1:String):void
        {
        }
        public function getWindowContainer():IWindowContainer
        {
            return (null);
        }

    }
}//package _-2N1

//------------------------------------------------------------
//_-2na._-0rH

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-4kF;

    public class _-0rH extends _-7V 
    {

        public function _-0rH(_arg1:Function)
        {
            super(_arg1, _-4kF);
        }
        public function _-3-5():_-4kF
        {
            return ((_-515 as _-4kF));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-1G-

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-04m;
    import _-4Aj.*;

    public class _-1G- extends _-7V implements _-0tL 
    {

        public function _-1G-(_arg1:Function)
        {
            super(_arg1, _-04m);
        }
        public function _-3-5():_-04m
        {
            return ((_-515 as _-04m));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-1O7

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-0Gm;

    public class _-1O7 extends _-7V 
    {

        public function _-1O7(_arg1:Function)
        {
            super(_arg1, _-0Gm);
        }
        public function _-3-5():_-0Gm
        {
            return ((_-515 as _-0Gm));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-2fO

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-1Jg;

    public class _-2fO extends _-7V 
    {

        public function _-2fO(_arg1:Function)
        {
            super(_arg1, _-1Jg);
        }
        public function _-3-5():_-1Jg
        {
            return ((_-515 as _-1Jg));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-2I3

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-4gm;

    public class _-2I3 extends _-7V 
    {

        public function _-2I3(_arg1:Function)
        {
            super(_arg1, _-4gm);
        }
        public function _-3-5():_-4gm
        {
            return ((_-515 as _-4gm));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-3aG

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-Z0;

    public class _-3aG extends _-7V 
    {

        public function _-3aG(_arg1:Function)
        {
            super(_arg1, _-Z0);
        }
        public function _-3-5():_-Z0
        {
            return ((_-515 as _-Z0));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-3qY

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-3uk;
    import _-4Aj.*;

    public class _-3qY extends _-7V implements _-0tL 
    {

        public function _-3qY(_arg1:Function)
        {
            super(_arg1, _-3uk);
        }
        public function _-3-5():_-3uk
        {
            return ((_-515 as _-3uk));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-4H8

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-1fj;

    public class _-4H8 extends _-7V 
    {

        public function _-4H8(_arg1:Function)
        {
            super(_arg1, _-1fj);
        }
        public function _-3-5():_-1fj
        {
            return ((_-515 as _-1fj));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-51e

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-1XA;

    public class _-51e extends _-7V 
    {

        public function _-51e(_arg1:Function)
        {
            super(_arg1, _-1XA);
        }
        public function _-3-5():_-1XA
        {
            return ((_-515 as _-1XA));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2na._-58T

package _-2na
{
    import _-4Aj._-7V;
    import _-2tT._-1jA;

    public class _-58T extends _-7V 
    {

        public function _-58T(_arg1:Function)
        {
            super(_arg1, _-1jA);
        }
        public function _-3-5():_-1jA
        {
            return ((_-515 as _-1jA));
        }

    }
}//package _-2na

//------------------------------------------------------------
//_-2np._-1Yp

package _-2np
{
    import _-4Aj._-0s1;

    public interface _-1Yp 
    {

        function _-1zQ(_arg1:String, _arg2:int):void;
        function _-3Mc(_arg1:String):void;
        function _-1eJ(_arg1:String):void;
        function _-uv(_arg1:_-0s1):void;

    }
}//package _-2np

//------------------------------------------------------------
//_-2np._-1ZV

package _-2np
{
    import _-4Aj._-1oF;
    import _-3rj._-O1;
    import _-4Aj._-5CT;
    import _-4Aj._-0tL;
    import flash.events.*;

    public interface _-1ZV extends IEventDispatcher 
    {

        function dispose():void;
        function get disposed():Boolean;
        function init(_arg1:String, _arg2:uint=0, _arg3:String=null):Boolean;
        function set timeout(_arg1:int):void;
        function send(_arg1:_-1oF):Boolean;
        function _-1Vq(_arg1:_-1oF):Boolean;
        function _-3QR(_arg1:_-O1):void;
        function _-0Bq(_arg1:_-5CT):void;
        function addMessageEvent(_arg1:_-0tL):void;
        function removeMessageEvent(_arg1:_-0tL):void;
        function _-3ZL():void;
        function get connected():Boolean;

    }
}//package _-2np

//------------------------------------------------------------
//_-2np.SocketConnection

package _-2np
{
    import _-0yf.EventDispatcherWrapper;
    import flash.net.Socket;
    import flash.utils.ByteArray;
    import _-3rj._-O1;
    import _-2HU._-3ep;
    import _-4Aj.MessageClassManager;
    import _-1pF._-2qE;
    import flash.utils.Timer;
    import _-2HU._-3aT;
    import flash.events.Event;
    import flash.events.ProgressEvent;
    import flash.events.SecurityErrorEvent;
    import flash.events.IOErrorEvent;
    import flash.events.TimerEvent;
    import flash.system.Security;
    import flash.utils.getTimer;
    import _-4Aj._-0tL;
    import _-4Aj._-1oF;
    import flash.utils.getQualifiedClassName;
    import flash.utils.getDefinitionByName;
    import _-18r.ClassUtils;
    import _-4Aj._-2tA;
    import _-4Aj._-5CT;
    import _-4Aj._-0s1;
    import _-4Aj._-58N;
    import _-p-.Core;
    import _-18r.ErrorReportStorage;
    import _-1B-.*;
    import flash.events.*;

    public class SocketConnection extends EventDispatcherWrapper implements _-1ZV, _-1zZ 
    {

        public static const _-2oe:int = 10000;

        private var _-2By:Socket;
        private var _-dc:ByteArray;
        private var _-23U:_-O1;
        private var _-3wM:_-3ep;
        private var _-3sx:MessageClassManager;
        private var _-478:_-2qE;
        private var _-0Bb:_-1Yp;
        private var _-3Pf:Timer;
        private var _-1Da:int;
        private var _-z1:Boolean = false;

        public function SocketConnection(_arg1:_-2qE, _arg2:_-1Yp)
        {
            this._-478 = _arg1;
            this._-dc = new ByteArray();
            this._-3sx = new MessageClassManager();
            this._-3wM = new _-3aT();
            this._-2By = new Socket();
            this._-2By.addEventListener(Event.CONNECT, this._-3tx);
            this._-2By.addEventListener(Event.COMPLETE, this._-4eZ);
            this._-2By.addEventListener(Event.CLOSE, this._-4F9);
            this._-2By.addEventListener(ProgressEvent.SOCKET_DATA, this._-23B);
            this._-2By.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-2E0);
            this._-2By.addEventListener(IOErrorEvent.IO_ERROR, this._-1kl);
            this._-3Pf = new Timer(_-2oe, 1);
            this._-3Pf.addEventListener(TimerEvent.TIMER, this._-3w5);
            this._-0Bb = _arg2;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-2By)
                {
                    this._-2By.removeEventListener(Event.CONNECT, this._-3tx);
                    this._-2By.removeEventListener(Event.COMPLETE, this._-4eZ);
                    this._-2By.removeEventListener(Event.CLOSE, this._-4F9);
                    this._-2By.removeEventListener(ProgressEvent.SOCKET_DATA, this._-23B);
                    this._-2By.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-2E0);
                    this._-2By.removeEventListener(IOErrorEvent.IO_ERROR, this._-1kl);
                    if (this._-z1)
                    {
                        this._-2By.close();
                    };
                };
                this._-2By = null;
                if (this._-3Pf)
                {
                    this._-3Pf.stop();
                    this._-3Pf.removeEventListener(TimerEvent.TIMER, this._-3w5);
                };
                this._-3Pf = null;
                this._-dc = null;
                this._-0Bb = null;
                this._-23U = null;
                this._-3wM = null;
                if (this._-3sx)
                {
                    this._-3sx.dispose();
                };
                this._-3sx = null;
                this._-478 = null;
                this._-0Bb = null;
                super.dispose();
            };
        }
        public function init(_arg1:String, _arg2:uint=0, _arg3:String=null):Boolean
        {
            if (this._-0Bb)
            {
                this._-0Bb._-1zQ(_arg1, _arg2);
            };
            if (!_arg3)
            {
                k = ((("xmlsocket://" + _arg1) + ":") + _arg2);
            };
            Security.loadPolicyFile(_arg3);
            this._-3Pf.start();
            this._-1Da = getTimer();
            this._-2By.connect(_arg1, _arg2);
            return (true);
        }
        public function set timeout(_arg1:int):void
        {
            this._-3Pf.delay = _arg1;
        }
        public function addMessageEvent(_arg1:_-0tL):void
        {
            if (disposed)
            {
                return;
            };
            this._-3sx._-2Ys(_arg1);
        }
        public function removeMessageEvent(_arg1:_-0tL):void
        {
            if (disposed)
            {
                return;
            };
            this._-3sx._-4Rf(_arg1);
        }
        public function send(_arg1:_-1oF):Boolean
        {
            if (disposed)
            {
                return (false);
            };
            var k:ByteArray = new ByteArray();
            var k:int = this._-3sx._-1Wl(_arg1);
            if (k < 0)
            {
                return (false);
            };
            var k:Array = _arg1._-43Z();
            var k:ByteArray = this._-3wM.encode(k, k);
            if (this._-0Bb)
            {
                this._-0Bb._-1eJ(String(k));
            };
            if (this._-23U == null)
            {
                return (false);
            };
            k = this._-23U._-jy(k);
            if (this._-2By.connected)
            {
                this._-2By.writeBytes(k);
                this._-2By.flush();
            }
            else
            {
                return (false);
            };
            return (true);
        }
        public function _-1Vq(_arg1:_-1oF):Boolean
        {
            if (disposed)
            {
                return (false);
            };
            var k:int = this._-3sx._-1Wl(_arg1);
            if (k < 0)
            {
                return (false);
            };
            var k:Array = _arg1._-43Z();
            var k:ByteArray = this._-3wM.encode(k, k);
            var k:String = getQualifiedClassName(_arg1);
            var k:Class = (getDefinitionByName(k) as Class);
            if (!ClassUtils.implementsInterface(k, _-2tA))
            {
                return (false);
            };
            if (this._-0Bb)
            {
                this._-0Bb._-1eJ(String(k));
            };
            if (this._-2By.connected)
            {
                this._-2By.writeBytes(k);
                this._-2By.flush();
            }
            else
            {
                return (false);
            };
            return (true);
        }
        public function _-3QR(_arg1:_-O1):void
        {
            this._-23U = _arg1;
        }
        public function _-0Bq(_arg1:_-5CT):void
        {
            this._-3sx._-Pb(_arg1);
        }
        public function toString():String
        {
            var k:String = "";
            k = (k + "Socket Connection: \n");
            k = (k + (("Wire Format: " + this._-3wM) + "\n"));
            k = (k + (("Encryption: " + this._-23U) + "\n"));
            return (k);
        }
        public function _-3ZL():void
        {
            var message:_-0s1;
            var receivedMessages:Array;
            var id:int;
            var events:Array;
            if (disposed)
            {
                return;
            };
            message = null;
            try
            {
                receivedMessages = this._-2Rm();
                for each (message in receivedMessages)
                {
                    id = message._-0Ki();
                    if (this._-0Bb)
                    {
                        this._-0Bb._-3Mc(String(id));
                    };
                    events = this._-058(message);
                    if (events == null)
                    {
                    }
                    else
                    {
                        this._-0aB(id, events);
                    };
                };
            }
            catch(e:Error)
            {
                if (((_-0Bb) && (message)))
                {
                    _-0Bb._-uv(message);
                };
                if (!disposed)
                {
                    throw (e);
                };
            };
        }
        private function _-2Rm():Array
        {
            var k:ByteArray;
            this._-dc.position = 0;
            if (this._-dc.bytesAvailable == 0)
            {
                return (new Array());
            };
            var k:Array = this._-3wM._-4q3(this._-dc);
            if (this._-dc.bytesAvailable == 0)
            {
                this._-dc = new ByteArray();
            }
            else
            {
                if (this._-dc.position > 0)
                {
                    k = new ByteArray();
                    k.writeBytes(this._-dc, this._-dc.position);
                    this._-dc = k;
                };
            };
            return (k);
        }
        private function _-058(_arg1:_-0s1):Array
        {
            var parser:_-58N;
            var message:_-0s1 = _arg1;
            var events:Array = this._-3sx._-4uI(message._-0Ki());
            if (events != null)
            {
                parser = (events[0] as _-0tL).parser;
                try
                {
                    parser.flush();
                    parser.parse(message);
                }
                catch(e:Error)
                {
                    Core._-4Tm(("Failed to parse incoming message using " + getQualifiedClassName(parser)), e.errorID, e);
                };
            };
            return (events);
        }
        private function _-0aB(_arg1:int, _arg2:Array):void
        {
            var k:_-0tL;
            for each (k in _arg2)
            {
                k.connection = this;
                k.callback.call(null, k);
            };
        }
        public function get connected():Boolean
        {
            if (this._-2By == null)
            {
                return (false);
            };
            return (this._-2By.connected);
        }
        private function _-23B(_arg1:ProgressEvent):void
        {
            if (this._-2By == null)
            {
                return;
            };
            this._-dc.position = this._-dc.length;
            this._-2By.readBytes(this._-dc, this._-dc.position);
        }
        private function _-3tx(_arg1:Event):void
        {
            this._-3Pf.stop();
            this._-z1 = true;
            ErrorReportStorage._-0QQ("ConnectionTimer", ("Connected in " + (getTimer() - this._-1Da)));
            dispatchEvent(_arg1);
        }
        private function _-4F9(_arg1:Event):void
        {
            this._-3Pf.stop();
            this._-z1 = false;
            ErrorReportStorage._-0QQ("ConnectionTimer", ("Closed in " + (getTimer() - this._-1Da)));
            dispatchEvent(_arg1);
        }
        private function _-4eZ(_arg1:Event):void
        {
            this._-3Pf.stop();
            ErrorReportStorage._-0QQ("ConnectionTimer", ("Completed in " + (getTimer() - this._-1Da)));
            dispatchEvent(_arg1);
        }
        private function _-2E0(_arg1:SecurityErrorEvent):void
        {
            this._-3Pf.stop();
            ErrorReportStorage._-0QQ("ConnectionTimer", ("SecurityError in " + (getTimer() - this._-1Da)));
            dispatchEvent(_arg1);
        }
        private function _-1kl(_arg1:IOErrorEvent):void
        {
            this._-3Pf.stop();
            ErrorReportStorage._-0QQ("ConnectionTimer", ("IOError in " + (getTimer() - this._-1Da)));
            switch (_arg1.type)
            {
                case IOErrorEvent.IO_ERROR:
                    break;
                case IOErrorEvent.DISK_ERROR:
                    break;
                case IOErrorEvent.NETWORK_ERROR:
                    break;
                case IOErrorEvent.VERIFY_ERROR:
                    break;
            };
            dispatchEvent(_arg1);
        }
        private function _-3w5(_arg1:TimerEvent):void
        {
            this._-3Pf.stop();
            ErrorReportStorage._-0QQ("ConnectionTimer", ("TimeOut in " + (getTimer() - this._-1Da)));
            var k:IOErrorEvent = new IOErrorEvent(IOErrorEvent.IO_ERROR);
            k.text = (("Socket Timeout (" + this._-3Pf.delay) + " ms). Possible Firewall.");
            dispatchEvent(k);
        }
        private function _-3d3(_arg1:String):void
        {
            _-Nb.log(_arg1);
        }

    }
}//package _-2np

//------------------------------------------------------------
//_-2Nr._-1m5

package _-2Nr
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-293._-5-S;
    import _-1ae.IItemGridWindow;
    import _-295._-243;

    public class _-1m5 
    {

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-Ke:IWindowContainer;
        private var _-3n-:FurniModel;
        private var _-0tK:_-5-S;
        private var _-2Mt:IItemGridWindow;

        public function _-1m5(_arg1:FurniModel, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-5-S)
        {
            this._-3n- = _arg1;
            this._-AV = _arg3;
            this._-U- = _arg2;
            this._-0tK = _arg4;
            var k:_-243 = (this._-AV.getAssetByName("inventory_furni_grid_xml") as _-243);
            this._-Ke = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
            if (this._-Ke != null)
            {
                this._-2Mt = (this._-Ke.findChildByName("item_grid") as IItemGridWindow);
            };
        }
        public function dispose():void
        {
            this._-3n- = null;
            this._-U- = null;
            this._-AV = null;
            this._-0tK = null;
            this._-2Mt = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function get window():IWindowContainer
        {
            if (this._-Ke == null)
            {
                return (null);
            };
            if (this._-Ke.disposed)
            {
                return (null);
            };
            return (this._-Ke);
        }
        public function _-0zS():void
        {
            if (this._-2Mt != null)
            {
                this._-2Mt._-360();
            };
        }
        public function _-0yj(_arg1:IWindowContainer):void
        {
            this._-2Mt._-F4(_arg1, 0);
        }
        public function _-fP(_arg1:IWindowContainer):void
        {
            this._-2Mt._-2-F(_arg1);
        }
        public function _-1UX(_arg1:IWindowContainer):void
        {
            this._-2Mt._-0SW(_arg1);
        }
        public function _-0zC(_arg1:IWindowContainer):void
        {
            this._-2Mt._-0SW(_arg1);
            this._-2Mt._-F4(_arg1, 0);
        }
        public function _-16I(_arg1:Boolean):void
        {
            this._-2Mt.autoArrangeItems = _arg1;
        }
        public function _-11k():IWindowContainer
        {
            if (this._-2Mt.numGridItems == 0)
            {
                return (null);
            };
            return ((this._-2Mt._-jx(0) as IWindowContainer));
        }

    }
}//package _-2Nr

//------------------------------------------------------------
//_-2Nr.FurniModel

package _-2Nr
{
    import _-3Zp.HabboInventory;
    import _-18r.Map;
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-293._-5-S;
    import _-3gx._-4BJ;
    import _-mv._-54I;
    import flash.utils.Timer;
    import _-Ew.IWindowContainer;
    import _-0mD._-2Jq;
    import __AS3__.vec.Vector;
    import _-3X8._-0hg;
    import _-59g._-4KP;
    import flash.events.TimerEvent;
    import _-295._-2kE;
    import _-295._-243;
    import _-4Br._-3hN;
    import _-0ly._-2P9;
    import _-0ly._-2G-;
    import _-0ly._-Gz;
    import _-CQ._-3Jb;
    import _-4WI._-51i;
    import _-3cY._-503;
    import flash.display.BitmapData;
    import _-3cY._-1mk;
    import _-0ly._-2IL;
    import _-293._-4q2;
    import flash.events.Event;
    import _-4WI._-3at;
    import flash.utils.getTimer;
    import _-0ln._-5Ev;
    import _-2N1._-4E8;
    import _-3cY._-2Jr;
    import _-3Zp._-50d;
    import _-0F-._-HJ;
    import _-3cY._-4xg;
    import _-1Xv._-32d;
    import _-3mW._-1sV;
    import _-59g._-4UZ;
    import _-2np._-1ZV;
    import _-1Xv._-1eX;
    import __AS3__.vec.*;
    import _-3Zp.*;

    public class FurniModel implements _-4Yh 
    {

        private static const _-2vc:int = 100;
        private static const _-3Hu:int = 1000;
        public static const _-4A5:String = "S";
        public static const _-0fv:String = "I";

        private var _-513:HabboInventory;
        private var _-Ke:FurniView;
        private var _-Or:Map;
        private var _assets:_-39L;
        private var _-U-:_-3Ts;
        private var _-0tK:_-5-S;
        private var _-0ud:_-4BJ;
        private var _-42G:_-54I;
        private var _disposed:Boolean = false;
        private var _-2VV:int = -1;
        private var _-2GC:Timer;
        private var _-hx:XML;
        private var _-3XL:IWindowContainer;
        private var _-sl:Boolean;
        private var _-0vo:Timer;
        private var _-8H:Boolean;
        private var _-3oJ:_-2Jq;
        private var _-3jP:Vector.<Map>;
        private var _-3dh:Vector.<Map>;
        private var _-2fa:int;
        private var _-4pj:GridRenderQueue;
        private var _-12j:String;
        private var _-cU:_-0hg;

        public function FurniModel(_arg1:HabboInventory, _arg2:_-3hN, _arg3:_-3Ts, _arg4:_-4BJ, _arg5:_-39L, _arg6:_-5-S, _arg7:_-2Jq, _arg8:_-54I, _arg9:_-0hg)
        {
            this._-513 = _arg1;
            this._-0ud = _arg4;
            this._-U- = _arg3;
            this._assets = _arg5;
            this._-0tK = _arg6;
            this._-0tK.events.addEventListener(_-4KP._-2pN, this._-3Uv);
            this._-3oJ = _arg7;
            this._-42G = _arg8;
            this._-cU = _arg9;
            this._-0vo = new Timer(_-2vc, 1);
            this._-0vo.addEventListener(TimerEvent.TIMER_COMPLETE, this._-0fd);
            var k:_-2kE = this._assets.getAssetByName("inventory_thumb_xml");
            var k:_-243 = _-243(k);
            this._-hx = XML(k.content);
            this._-0LP();
            this._-Ke = new FurniView(this, _arg2, this._-U-, this._assets, this._-0tK, this._-42G);
            this.switchCategory(_-4A5);
            this._-4pj = new GridRenderQueue(this, this._-Ke);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-513 = null;
                if (this._-Or != null)
                {
                    this._-Or.dispose();
                    this._-Or = null;
                };
                if (this._-Ke != null)
                {
                    this._-Ke.dispose();
                    this._-Ke = null;
                };
                if (this._-0tK != null)
                {
                    if (this._-0tK.events != null)
                    {
                        this._-0tK.events.removeEventListener(_-4KP._-2pN, this._-3Uv);
                    };
                    this._-0tK = null;
                };
                this._-0ud = null;
                this._assets = null;
                this._-U- = null;
                this._-3oJ = null;
                this._-42G = null;
                this._-4pj.dispose();
                this._-cU = null;
                if (this._-0vo != null)
                {
                    this._-0vo.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-0fd);
                    this._-0vo.stop();
                    this._-0vo = null;
                };
                if (this._-2GC != null)
                {
                    this._-2GC.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-3W3);
                    this._-2GC.stop();
                    this._-2GC = null;
                };
                if (this._-3XL != null)
                {
                    this._-3XL.dispose();
                    this._-3XL = null;
                };
                this._disposed = true;
            };
        }
        public function get controller():HabboInventory
        {
            return (this._-513);
        }
        public function get _-2AB():String
        {
            return (this._-12j);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        private function _-4IA(_arg1:String, _arg2:Map, _arg3:int, _arg4:int):Map
        {
            var k:Vector.<Map>;
            var k:Map;
            var k:Map;
            var k:Map;
            if ((((_arg3 < _arg4)) || ((_arg3 == 1))))
            {
                return (_arg2);
            };
            if (_arg1 == _-4A5)
            {
                if (this._-3jP == null)
                {
                    this._-3jP = new Vector.<Map>(_arg3, true);
                };
                k = this._-3jP;
            }
            else
            {
                if (this._-3dh == null)
                {
                    this._-3dh = new Vector.<Map>(_arg3, true);
                };
                k = this._-3dh;
            };
            k[(_arg4 - 1)] = _arg2;
            for each (k in k)
            {
                if (k == null)
                {
                    return (null);
                };
            };
            k = new Map();
            for each (k in k)
            {
                k._-3FO(k);
            };
            k = null;
            if (_arg1 == _-4A5)
            {
                this._-3jP = null;
            }
            else
            {
                this._-3dh = null;
            };
            return (k);
        }
        private function _-0e0(_arg1:_-3Jb):_-2P9
        {
            var k:_-2P9;
            if (_arg1._-15x == _-4A5)
            {
                k = new _-2G-(_arg1._-23C, _arg1._-YT, _arg1._-5An, _arg1.category, _arg1._-19P, _arg1._-e5, _arg1._-0DU, _arg1._-2SZ, _arg1._-vM, _arg1._-33C, _arg1._-49r, 0, 0, 0, _arg1.slotId, _arg1._-FX);
            }
            else
            {
                if (_arg1._-15x == _-0fv)
                {
                    k = new _-Gz(_arg1._-23C, _arg1._-YT, _arg1._-5An, _arg1.category, _arg1._-19P, _arg1._-e5, _arg1._-0DU, _arg1._-2SZ, _arg1._-vM, _arg1._-33C);
                }
                else
                {
                    throw (new Error((('Unknown inventory item category: "' + _arg1._-15x) + '"')));
                };
            };
            return (k);
        }
        public function _-2ki(_arg1:String, _arg2:Map, _arg3:int, _arg4:int):void
        {
            var k:_-2P9;
            var k:_-3Jb;
            var k:int;
            var k:int;
            var k:int;
            var k:_-51i;
            var k:Map = this._-4IA(_arg1, _arg2, _arg3, _arg4);
            if (!k)
            {
                return;
            };
            this._-513._-3f2(_-503._-2uv);
            var k:Array = this._-2wH(_arg1);
            var k:Array = k._-18C();
            var k:Array = new Array();
            var k:Array = new Array();
            k = 0;
            while (k < k.length)
            {
                k = k[k];
                if (k.indexOf(k) == -1)
                {
                    k.push(k);
                };
                k++;
            };
            k = 0;
            while (k < k.length)
            {
                if (k.indexOf(k[k]) == -1)
                {
                    k.push(k[k]);
                };
                k++;
            };
            var k = (k.length == 0);
            k = 0;
            while (k < k.length)
            {
                this._-pg(k[k]);
                k++;
            };
            k = 0;
            while (k < k.length)
            {
                k = _-3Jb(k.getValue(k[k]));
                k = this._-0e0(k);
                this._-1lt(k, true);
                k++;
            };
            if (!k)
            {
                if (k.length > 0)
                {
                    this._-3kH(_arg1);
                    this._-0zY([_arg1]);
                };
            };
            this._-2-t();
            this._-4pj.purge(1);
            if (k)
            {
                this._-2UZ(_-4A5);
                this._-2UZ(_-0fv);
            }
            else
            {
                if (this._-IA(_-4A5) == null)
                {
                    this._-2UZ(_-4A5);
                };
                if (this._-IA(_-0fv) == null)
                {
                    this._-2UZ(_-0fv);
                };
            };
            this._-4pj._-1K7();
            this._-ys();
            this._-1GC();
            for each (k in k)
            {
                if (k.indexOf(k) > -1)
                {
                    k = new _-51i(k._-YT, k._-23C, k.category);
                    this._-513.events.dispatchEvent(k);
                };
            };
        }
        public function _-3TJ():Boolean
        {
            return (this._-8H);
        }
        public function _-2-t():void
        {
            if (!this._-8H)
            {
                this._-8H = true;
                this._-ys();
            };
        }
        public function _-1rS(_arg1:int, _arg2:String, _arg3:int, _arg4:_-4q2=null, _arg5:Number=NaN, _arg6:Boolean=false):_-2IL
        {
            var k:BitmapData;
            var k:_-2kE;
            if (_arg3 == _-1mk._-3hq)
            {
                k = this._assets.getAssetByName("icon_wallpaper_png");
                if (k != null)
                {
                    k = (k.content as BitmapData);
                };
            }
            else
            {
                if (_arg3 == _-1mk._-3s7)
                {
                    k = this._assets.getAssetByName("icon_floor_png");
                    if (k != null)
                    {
                        k = (k.content as BitmapData);
                    };
                }
                else
                {
                    if (_arg3 == _-1mk._-48R)
                    {
                        k = this._assets.getAssetByName("icon_landscape_png");
                        if (k != null)
                        {
                            k = (k.content as BitmapData);
                        };
                    };
                };
            };
            if (this._-3XL == null)
            {
                this._-3XL = (this._-U-.buildFromXML(this._-hx) as IWindowContainer);
            };
            var k:IWindowContainer = (this._-3XL.clone() as IWindowContainer);
            k.name = ((this._-0tK._-Vo(_arg1) + ".") + _arg3);
            if (((_arg4) && (!((_arg4.getLegacyString() == "")))))
            {
                k.name = (k.name + (".s" + _arg4));
            };
            if (!isNaN(_arg5))
            {
                k.name = (k.name + (".e" + _arg5));
            };
            return (new _-2IL(this, _arg1, _arg2, _arg3, k, this._-0tK, this._-513._-2z6.running, _arg4, _arg5, k, _arg6));
        }
        public function _-1GC():void
        {
            var k:Array;
            var k:String;
            var k:_-2IL;
            var k:Array;
            var k:int;
            if (this._-0vo.running)
            {
                return;
            };
            if (this._-12j == _-4A5)
            {
                k = [_-4A5, _-0fv];
            }
            else
            {
                k = [_-0fv, _-4A5];
            };
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = this._-Ea(k);
                if (k != null)
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as _-2IL);
                        if (!k._-4U1)
                        {
                            k._-2Me(false);
                            if (!k._-3LH)
                            {
                                this._-0vo.reset();
                                this._-0vo.start();
                                return;
                            };
                        };
                        k++;
                    };
                };
                k++;
            };
            this._-0vo.stop();
        }
        private function _-0fd(_arg1:TimerEvent):void
        {
            this._-1GC();
        }
        public function _-eq(_arg1:int=0):void
        {
            if (_arg1 > 0)
            {
                if (this._-2GC != null)
                {
                    this._-2GC.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-3W3);
                    this._-2GC.stop();
                    this._-2GC = null;
                };
                this._-2GC = new Timer(_arg1, 1);
                this._-2GC.addEventListener(TimerEvent.TIMER_COMPLETE, this._-3W3);
                this._-2GC.start();
            }
            else
            {
                this._-2Tm();
            };
        }
        public function _-52O(_arg1:String):void
        {
            if ((((_arg1 == _-503._-2uv)) && (this._-513._-0m7)))
            {
                switch (_arg1)
                {
                    case _-4A5:
                        this._-513.events.dispatchEvent(new Event(_-3at.HABBO_INVENTORY_TRACKING_EVENT_FURNI));
                        return;
                    case _-0fv:
                        this._-513.events.dispatchEvent(new Event(_-3at.HABBO_INVENTORY_TRACKING_EVENT_POSTERS));
                        return;
                };
            };
        }
        public function switchCategory(_arg1:String, _arg2:Boolean=false):void
        {
            if (this._-12j == _arg1)
            {
                return;
            };
            if (_arg2)
            {
                this._-21o(this._-12j);
            };
            this._-12j = _arg1;
            this._-Ke.switchCategory(_arg1);
        }
        public function _-ew():void
        {
            this._-2fa = getTimer();
            this._-513._-4Op(_-503._-0Ij);
        }
        private function _-3W3(_arg1:TimerEvent):void
        {
            if (this._-2GC != null)
            {
                this._-2GC.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-3W3);
                this._-2GC.stop();
                this._-2GC = null;
            };
            this._-2Tm();
        }
        public function getWindowContainer():IWindowContainer
        {
            this._-513._-4Tk(_-503._-0VU);
            return (this._-Ke.getWindowContainer());
        }
        public function _-3mZ():void
        {
            if (this._-Ke._-0m7)
            {
                this._-21o();
            };
        }
        public function _-0zY(_arg1:Array):void
        {
            var k:Array;
            var k:String;
            var k:_-2IL;
            var k:int;
            var k:Array = new Array();
            var k:_-5Ev = this._-513._-4gG;
            if (k != null)
            {
                k = k.concat(k._-1w0());
            };
            var k:_-4E8 = this._-513._-2z6;
            if (k != null)
            {
                k = k.concat(k._-2O3());
            };
            var k:_-3hN = this._-513._-Nn;
            if (((!((k == null))) && (!((k._-3PN() == null)))))
            {
                k = k.concat([k._-3PN().ref]);
            };
            if (k.length == 0)
            {
                this._-22M(_arg1);
                return;
            };
            var k:int;
            while (k < _arg1.length)
            {
                k = _arg1[k];
                k = this._-Ea(k);
                if (k == null)
                {
                }
                else
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as _-2IL);
                        k._-3vl(k);
                        k++;
                    };
                };
                k++;
            };
            this._-Ke._-2Cn();
        }
        public function _-2qy(_arg1:int):void
        {
            var k:Array;
            var k:String;
            var k:_-2IL;
            var k:int;
            var k:Array = [_-4A5, _-0fv];
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = this._-Ea(k);
                if (k != null)
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as _-2IL);
                        k._-2qy(_arg1);
                        k++;
                    };
                };
                k++;
            };
            this._-Ke._-2Cn();
        }
        public function _-1SQ(_arg1:int):void
        {
            var k:Array;
            var k:String;
            var k:_-2IL;
            var k:int;
            var k:Array = [_-4A5, _-0fv];
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = this._-Ea(k);
                if (k != null)
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as _-2IL);
                        if (k)
                        {
                            k._-1SQ(_arg1);
                        };
                        k++;
                    };
                };
                k++;
            };
            this._-Ke._-2Cn();
        }
        public function _-de(_arg1:Boolean):void
        {
            var k:Array;
            var k:String;
            var k:_-2IL;
            var k:int;
            var k:Array = [_-4A5, _-0fv];
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = this._-Ea(k);
                if (k != null)
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as _-2IL);
                        k._-de = _arg1;
                        k++;
                    };
                };
                k++;
            };
            this._-Ke._-2Cn();
        }
        public function _-0LP():void
        {
            this._-Or = new Map();
            this._-Or.add(_-4A5, new Array());
            this._-Or.add(_-0fv, new Array());
            if (this._-Ke != null)
            {
                this._-Ke._-2L8();
            };
        }
        private function _-0-v(_arg1:String, _arg2:int):Boolean
        {
            if (_arg1 == _-4A5)
            {
                return (this._-513._-20u._-0-v(_-2Jr._-4Aq, _arg2));
            };
            return (this._-513._-20u._-0-v(_-2Jr._-59K, _arg2));
        }
        public function _-541(_arg1:int):Boolean
        {
            var k:Boolean;
            var k:int;
            var k:_-50d = this._-513._-20u;
            if (k == null)
            {
                return (false);
            };
            if (this._-0-v(_-4A5, _arg1))
            {
                k = _-2Jr._-4Aq;
                k = k._-08D(k, _arg1);
            }
            else
            {
                if (this._-0-v(_-0fv, _arg1))
                {
                    k = _-2Jr._-59K;
                    k = k._-08D(k, _arg1);
                };
            };
            if (k)
            {
                k._-14C(k);
            };
            return (k);
        }
        public function _-1lt(_arg1:_-2P9, _arg2:Boolean):void
        {
            var k:String;
            var k:_-2IL;
            if ((_arg1 is _-2G-))
            {
                k = _-4A5;
            }
            else
            {
                if ((_arg1 is _-Gz))
                {
                    k = _-0fv;
                }
                else
                {
                    return;
                };
            };
            if (!_arg1._-0uu)
            {
                k = this._-2CD(k, _arg1, _arg2);
            }
            else
            {
                k = this._-3Ss(k, _arg1, _arg2);
            };
            if (k._-vX)
            {
                this._-Ke._-2Cn();
            };
        }
        public function _-ys():void
        {
            this._-Ke._-ys();
        }
        private function _-3kH(_arg1:String):void
        {
            if (this._-513._-9R() == _-503._-0Ij)
            {
                if (!this._-4MG())
                {
                    this._-513._-4OJ._-0eP(_arg1, true);
                };
            }
            else
            {
                this.switchCategory(_arg1);
            };
        }
        private function _-2CD(_arg1:String, _arg2:_-2P9, _arg3:Boolean):_-2IL
        {
            var k:_-2IL;
            var k:_-2IL;
            var k:Boolean;
            var k:Array = this._-Ea(_arg1);
            for each (k in k)
            {
                if (k.type == _arg2.type)
                {
                    if (k._-2fQ(_arg2.id) != null)
                    {
                        return (k);
                    };
                    break;
                };
            };
            k = this._-0-v(_arg1, _arg2.ref);
            k = this._-1rS(_arg2.type, _arg1, _arg2.category, _arg2._-vM, _arg2._-33C, _arg3);
            k.push(_arg2, k);
            if (this._-Ke != null)
            {
                k.push(k);
                this._-4pj.push(_arg1, k, k);
            };
            return (k);
        }
        private function _-3Ss(_arg1:String, _arg2:_-2P9, _arg3:Boolean):_-2IL
        {
            var k:_-2IL;
            var k:_-2IL;
            var k:Boolean = this._-0-v(_arg1, _arg2.ref);
            var k:Array = this._-Ea(_arg1);
            var k:int;
            while (k < k.length)
            {
                k = (k[k] as _-2IL);
                if (k.type == _arg2.type)
                {
                    if (_arg2.category == _-1mk._-2lg)
                    {
                        if (k._-vM.getLegacyString() == _arg2._-vM.getLegacyString())
                        {
                            break;
                        };
                    }
                    else
                    {
                        if (_arg2.category == _-1mk._-0CW)
                        {
                            if (_arg2._-vM.compare(k._-vM))
                            {
                                break;
                            };
                        }
                        else
                        {
                            break;
                        };
                    };
                };
                k++;
            };
            if (k)
            {
                k.push(_arg2, k);
                if (k)
                {
                    if (!this._-4pj._-2qI(_arg1, k))
                    {
                        this._-Ke._-0zC(k);
                    };
                };
            }
            else
            {
                k = this._-1rS(_arg2.type, _arg1, _arg2.category, _arg2._-vM, _arg2._-33C, _arg3);
                k.push(_arg2, k);
                if (this._-Ke != null)
                {
                    k.push(k);
                    this._-4pj.push(_arg1, k, k);
                };
            };
            return (k);
        }
        private function _-4MG():Boolean
        {
            return ((getTimer() < (this._-2fa + _-3Hu)));
        }
        public function _-pg(_arg1:int):_-2IL
        {
            var k:Array;
            var k:String;
            var k:_-2IL;
            var k:int;
            var k:_-2P9;
            var k:Array = [_-4A5, _-0fv];
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = this._-Ea(k);
                if (k != null)
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as _-2IL);
                        k = k.remove(_arg1);
                        if (k)
                        {
                            if (this._-2VV == k.ref)
                            {
                                this._-1ZJ();
                                if (!this._-0kz())
                                {
                                    this._-513._-192();
                                };
                            };
                            if (k._-3w1() <= 0)
                            {
                                this._-Ke._-1UX(k, k);
                                this._-4pj._-1UX(k, k);
                                k.splice(k, 1);
                                if (k._-vX)
                                {
                                    this._-2UZ(k);
                                };
                                k.dispose();
                            }
                            else
                            {
                                this._-Ke._-2Cn();
                            };
                            this._-Ke._-ys();
                            return (k);
                        };
                        k++;
                    };
                };
                k++;
            };
            return (null);
        }
        public function _-jR(_arg1:int, _arg2:int):void
        {
            var k:_-2IL;
            var k:_-Gz;
            var k:_-HJ;
            var k:Array = this._-Ea(_-0fv);
            if (k == null)
            {
                return;
            };
            var k:int;
            while (k < k.length)
            {
                k = (k[k] as _-2IL);
                k = (k._-2fQ(_arg1) as _-Gz);
                if (k != null)
                {
                    k = (k._-vM as _-HJ);
                    k.setString(String(_arg2));
                    k._-vM = k;
                    k._-0Hn(_arg1, k);
                };
                k++;
            };
        }
        public function _-2UZ(_arg1:String):void
        {
            var k:_-2IL;
            var k:IWindowContainer = this._-Ke._-11k(_arg1);
            if (k == null)
            {
                return;
            };
            var k:Array = this._-Ea(_arg1);
            for each (k in k)
            {
                if (k.window == k)
                {
                    k._-vX = true;
                    break;
                };
            };
            this._-Ke._-2Cn();
        }
        public function _-21v(_arg1:_-2IL):void
        {
            if (((this._-Ke) && (!(this._-Ke.disposed))))
            {
                this._-Ke._-21v(_arg1);
            };
        }
        public function _-IA(_arg1:String=null):_-2IL
        {
            var k:_-2IL;
            if (_arg1 == null)
            {
                if (!this._-Ke)
                {
                    return (null);
                };
                k = this._-12j;
            };
            var k:Array = this._-Ea(_arg1);
            if (k == null)
            {
                return (null);
            };
            for each (k in k)
            {
                if (k._-vX)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-3m8(_arg1:String):void
        {
            var k:_-2IL;
            var k:Array = this._-Ea(_arg1);
            if (k == null)
            {
                return;
            };
            for each (k in k)
            {
                k._-vX = false;
            };
        }
        public function get _-0sh():Boolean
        {
            return ((this._-513._-34w() == _-4xg._-5Dx));
        }
        public function _-58Z():Boolean
        {
            return (this._-513._-58Z());
        }
        public function _-22M(_arg1:Array):void
        {
            var k:Array;
            var k:String;
            var k:_-2IL;
            var k:int;
            var k:int;
            while (k < _arg1.length)
            {
                k = _arg1[k];
                k = this._-Ea(k);
                if (k != null)
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as _-2IL);
                        if (k != null)
                        {
                            k._-22M();
                        };
                        k++;
                    };
                };
                k++;
            };
            if (this._-Ke != null)
            {
                this._-Ke._-2Cn();
            };
        }
        public function _-1ZJ():void
        {
            if (this._-2VV > -1)
            {
                this._-0tK._-5Am();
                this._-sl = false;
                this._-2VV = -1;
            };
        }
        public function _-0kz(_arg1:Boolean=false):Boolean
        {
            var k:_-2IL = this._-IA();
            if (k == null)
            {
                return (false);
            };
            if (k._-1Uo() == 0)
            {
                return (false);
            };
            var k:_-2P9 = k._-3-b();
            if (k == null)
            {
                return (false);
            };
            if ((((((k.category == _-1mk._-3s7)) || ((k.category == _-1mk._-3hq)))) || ((k.category == _-1mk._-48R))))
            {
                if (_arg1)
                {
                    return (false);
                };
                this._-0ud._-4gR(null).send(new _-32d(k.id));
            }
            else
            {
                this._-3P0(k);
            };
            this._-Ke._-2Cn();
            return (true);
        }
        private function _-3P0(_arg1:_-2P9):void
        {
            var k:int;
            var k:Boolean;
            if ((_arg1 is _-2G-))
            {
                k = _-1sV._-0u-;
            }
            else
            {
                k = _-1sV._-20L;
            };
            if (_arg1.category == _-1mk._-2lg)
            {
                k = this._-0tK._-WZ(_arg1.id, k, _arg1.type, _arg1._-vM.getLegacyString());
            }
            else
            {
                k = this._-0tK._-WZ(_arg1.id, k, _arg1.type, _arg1._-33C.toString(), _arg1._-vM);
            };
            if (k)
            {
                this._-2VV = _arg1.ref;
                if (!this._-513._-2z6.running)
                {
                    this._-3f3();
                };
                this._-sl = true;
            };
            this._-Ke._-2Cn();
        }
        public function _-0ix():void
        {
            var k:_-2IL = this._-IA();
            if (k == null)
            {
                return;
            };
            var k:_-2P9 = k._-1C7();
            if (k == null)
            {
                return;
            };
            var k:_-5Ev = this._-513._-4gG;
            if (k != null)
            {
                k._-0qI(k.id, k.type, k.category, k._-0uu, k._-vM);
            };
            this._-Ke._-2Cn();
        }
        public function _-3bR():void
        {
            var k:_-2IL = this._-IA();
            if (k == null)
            {
                return;
            };
            var k:_-2P9 = k._-1C7();
            if (k == null)
            {
                return;
            };
            var k:_-3hN = this._-513._-Nn;
            if (k == null)
            {
                return;
            };
            k._-0LK(k);
        }
        public function _-1z3():_-2P9
        {
            var k:_-2IL = this._-IA();
            if (k == null)
            {
                return (null);
            };
            var k:_-2P9 = k._-2le();
            if (k == null)
            {
                return (null);
            };
            this._-Ke._-2Cn();
            return (k);
        }
        public function _-1i9():void
        {
            if (this._-0sh)
            {
                this._-0ix();
            }
            else
            {
                this._-0kz(false);
            };
        }
        public function _-3Uv(_arg1:Event):void
        {
            if (((this._-sl) && ((_arg1.type == _-4KP._-2pN))))
            {
                this._-sl = false;
                if (!(_arg1 as _-4UZ)._-3dZ)
                {
                    this._-513._-192();
                };
            };
        }
        public function _-3f3():void
        {
            this._-513._-29e();
        }
        public function _-2Tm():void
        {
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k == null)
            {
                return;
            };
            k.send(new _-1eX());
        }
        public function _-1JA():void
        {
            this._-3oJ.openCatalog();
        }
        public function _-Ea(_arg1:String):Array
        {
            return (this._-Or.getValue(_arg1));
        }
        public function _-0Z8():void
        {
            var k:_-2P9;
            var k:_-2IL = this._-IA();
            if (((!((k == null))) && (!((k._-3-b() == null)))))
            {
                k = k._-3-b();
                if (k)
                {
                    this._-0tK._-0Z8(k.ref, k.type);
                };
            };
        }
        public function _-3NF(_arg1:String):void
        {
            switch (_arg1)
            {
                case _-4xg._-5Dx:
                    this._-1ZJ();
                    if (this._-Ke != null)
                    {
                        this._-Ke._-2Cn();
                    };
                    return;
                case _-4xg._-3kW:
                    this._-22M([_-4A5, _-0fv]);
                    if (this._-Ke != null)
                    {
                        this._-Ke._-2Cn();
                    };
                    return;
            };
        }
        public function _-2wH(_arg1:String):Array
        {
            var k:_-2IL;
            var k:int;
            var k:int;
            var k:Array = new Array();
            var k:Array = (this._-Or.getValue(_arg1) as Array);
            if (k != null)
            {
                for each (k in k)
                {
                    k = k._-3w1();
                    if (k.category == _-1mk._-2zi)
                    {
                        k = 1;
                    };
                    k = 0;
                    while (k < k)
                    {
                        k.push(k._-00m(k).id);
                        k++;
                    };
                };
            };
            return (k);
        }
        public function _-2Cn():void
        {
            this._-Ke._-2Cn();
        }
        public function _-2D2():void
        {
            if (this._-Ke != null)
            {
                this._-Ke._-4Fy();
                this._-Ke._-2Cn();
            };
        }
        public function get _-3-():Boolean
        {
            if (((!(this._-513)) || (!(this._-513.roomSession))))
            {
                return (false);
            };
            return (this._-513.roomSession._-3-);
        }
        public function _-21o(_arg1:String=null):void
        {
            var k:Array;
            var k:_-2IL;
            if (((!(this._-Ke)) || (!(this._-12j))))
            {
                return;
            };
            if (!_arg1)
            {
                k = this._-12j;
            };
            switch (_arg1)
            {
                case _-0fv:
                    this._-513._-20u._-4oQ(_-2Jr._-59K);
                    k = this._-Ea(_arg1);
                    break;
                case _-4A5:
                    this._-513._-20u._-4oQ(_-2Jr._-4Aq);
                    k = this._-Ea(_arg1);
                    break;
            };
            if (k)
            {
                for each (k in k)
                {
                    k._-0aO = false;
                };
            };
            this._-513._-1XT();
            this._-Ke._-4Fy();
        }
        public function _-3no(_arg1:String):void
        {
            var k:Array;
            var k:Array;
            var k:_-2IL;
            var k:int;
            if (_arg1 == _-4A5)
            {
                k = this._-513._-20u._-1TH(_-2Jr._-4Aq);
            }
            else
            {
                if (_arg1 == _-0fv)
                {
                    k = this._-513._-20u._-1TH(_-2Jr._-59K);
                }
                else
                {
                    return;
                };
            };
            if (((!(k)) || ((k.length == 0))))
            {
                return;
            };
            var k:Array = this._-Ea(_arg1);
            for each (k in k)
            {
                k = k._-3SN();
                for each (k in k)
                {
                    if (k.indexOf(k) != -1)
                    {
                        k._-0aO = true;
                        if (!this._-4pj._-2qI(_arg1, k))
                        {
                            this._-Ke._-0zC(k);
                        };
                        break;
                    };
                };
            };
        }
        public function get _-3a4():Boolean
        {
            return (this._-513.config.getBoolean("unique.limited.items.enabled", false));
        }

    }
}//package _-2Nr

//------------------------------------------------------------
//_-2Nr.FurniView

package _-2Nr
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-4Br._-3hN;
    import _-293._-5-S;
    import _-mv._-54I;
    import _-18r.Map;
    import _-0Ix._-2Aa;
    import _-0Ix._-26h;
    import _-1ZZ._-3Wk;
    import _-295._-243;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import _-1ae.ISelectorWindow;
    import _-0ly._-2IL;
    import _-3cY._-2Jr;
    import _-0ly._-2P9;
    import _-1ae.ITextWindow;
    import _-1ae.IRegionWindow;
    import _-1ae.IButtonWindow;
    import _-295._-2kE;
    import _-1ae._-3Yi;
    import _-293._-2Gt;
    import _-mv._-486;
    import _-3mW._-4Wq;
    import _-3cY._-1mk;
    import _-0ly._-2G-;
    import _-0y0._-Xl;
    import flash.filters.GlowFilter;
    import _-0ly._-Gz;
    import _-0F-.MapStuffData;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-3cY._-503;
    import _-293.*;
    import _-3Zp.*;

    public class FurniView implements _-3Nt, dynamic 
    {

        private static const _-43s:int = 0;
        private static const _-3Se:int = 1;
        private static const _-1k:int = 2;
        private static const _-1b9:int = 3;
        private static const _-3YE:int = 42;
        private static const _-5D:int = 120;
        private static const _-RT:int = 4;

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-Ke:IWindowContainer;
        private var _-3n-:FurniModel;
        private var _-TK:_-3hN;
        private var _-0tK:_-5-S;
        private var _-42G:_-54I;
        private var _disposed:Boolean = false;
        private var _-2OL:Map;
        private var _-3HP:int = 0;
        private var _-4Mu:int = -1;
        private var _-36b:_-2Aa;
        private var _-085:_-26h;

        public function FurniView(_arg1:FurniModel, _arg2:_-3hN, _arg3:_-3Ts, _arg4:_-39L, _arg5:_-5-S, _arg6:_-54I)
        {
            var k:IWindowContainer;
            super();
            this._-3n- = _arg1;
            this._-TK = _arg2;
            this._-AV = _arg4;
            this._-U- = _arg3;
            this._-0tK = _arg5;
            this._-42G = _arg6;
            this._-42G.events.addEventListener(_-3Wk._-3hw, this._-27W);
            this._-2OL = new Map();
            this._-2OL.add(FurniModel._-4A5, new _-1m5(this._-3n-, this._-U-, this._-AV, this._-0tK));
            this._-2OL.add(FurniModel._-0fv, new _-1m5(this._-3n-, this._-U-, this._-AV, this._-0tK));
            var k:_-243 = (this._-AV.getAssetByName("inventory_furni_base_xml") as _-243);
            if (k == null)
            {
                return;
            };
            this._-Ke = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
            this._-Ke.visible = false;
            this._-Ke.procedure = this._-3kk;
            this._-0y7();
            var k:IWindowContainer = (this._-Ke.findChildByName("preview_container") as IWindowContainer);
            if (k != null)
            {
                k = (this._-AV.getAssetByName("inventory_furni_preview_xml") as _-243);
                k = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
                if (k != null)
                {
                    k.addChild(k);
                };
            };
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("download_image") as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height);
            var k:BitmapData = (this._-AV.getAssetByName("download_icon_png").content as BitmapData);
            k.bitmap.copyPixels(k, k.rect, new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2)), null, null, true);
            k = (this._-Ke.findChildByName("image") as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height);
            var k:BitmapData = (this._-AV.getAssetByName("inventory_empty_png").content as BitmapData);
            k.bitmap.copyPixels(k, k.rect, new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2)), null, null, true);
            this._-ys();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-0y7():void
        {
            var k:IWindowContainer;
            var k:IWindow;
            var k:String;
            var k:IWindow;
            var k:_-243 = (this._-AV.getAssetByName("unseen_item_symbol_xml") as _-243);
            var k:IWindow = this._-U-.buildFromXML((k.content as XML));
            for each (k in ["floor", "wall", "pets"])
            {
                k = this._-Ke.findChildByName(("tab_" + k));
                k = (k.clone() as IWindowContainer);
                k = k.findChildByName("text");
                if (k)
                {
                    k.caption = ((("$" + "{") + k.caption) + "}");
                };
                k.x = ((k.right - k.width) - _-RT);
                k.y = (k.y + _-RT);
                k.tags.push(("unseen_symbol_" + k));
                k.visible = false;
                this._-Ke.addChild(k);
            };
            k.dispose();
        }
        public function dispose():void
        {
            var k:_-1m5;
            if (!this._disposed)
            {
                this._-3n- = null;
                this._-TK = null;
                this._-AV = null;
                this._-U- = null;
                this._-0tK = null;
                if (this._-2OL)
                {
                    for each (k in this._-2OL)
                    {
                        k.dispose();
                    };
                    this._-2OL.dispose();
                    this._-2OL = null;
                };
                if (this._-42G)
                {
                    if (this._-42G.events != null)
                    {
                        this._-42G.events.removeEventListener(_-3Wk._-3hw, this._-27W);
                    };
                    this._-42G = null;
                };
                if (this._-36b)
                {
                    this._-36b.dispose();
                    this._-36b = null;
                };
                if (this._-085)
                {
                    this._-085.dispose();
                    this._-085 = null;
                };
                if (this._-Ke)
                {
                    this._-Ke.dispose();
                    this._-Ke = null;
                };
                this._disposed = true;
            };
        }
        public function get _-0m7():Boolean
        {
            return (((!((this._-Ke.parent == null))) && (this._-Ke.visible)));
        }
        public function getWindowContainer():IWindowContainer
        {
            var k:IWindow;
            if (this._-Ke == null)
            {
                return (null);
            };
            if (this._-Ke.disposed)
            {
                return (null);
            };
            var k:Boolean = this._-3n-._-0sh;
            k = this._-Ke.findChildByName("placeinroom_btn");
            if (k != null)
            {
                k.visible = !(k);
            };
            k = this._-Ke.findChildByName("offertotrade_btn");
            if (k != null)
            {
                k.visible = k;
            };
            k = this._-Ke.findChildByName("sell_btn");
            if (k != null)
            {
                k.visible = !(k);
            };
            return (this._-Ke);
        }
        public function switchCategory(_arg1:String):void
        {
            if (this._-Ke == null)
            {
                return;
            };
            if (this._-Ke.disposed)
            {
                return;
            };
            var k:ISelectorWindow = (this._-Ke.findChildByName("category_selector") as ISelectorWindow);
            switch (_arg1)
            {
                case FurniModel._-0fv:
                    k.setSelected(k._-4Vf("tab_wall"));
                    this._-1cl(_arg1);
                    this._-ys();
                    return;
                case FurniModel._-4A5:
                    k.setSelected(k._-4Vf("tab_floor"));
                    this._-1cl(_arg1);
                    this._-ys();
                    return;
                default:
                    _-Nb.log((('Unknown furni model category: "' + _arg1) + '"'));
            };
        }
        private function _-1cl(_arg1:String):void
        {
            var k:IWindowContainer;
            var k:IWindowContainer = (this._-Ke.findChildByName("grid_container") as IWindowContainer);
            k.removeChildAt(0);
            var k:_-1m5 = this._-2OL.getValue(_arg1);
            if (k)
            {
                k = k.window;
                if (k == null)
                {
                    return;
                };
                k.addChild(k);
                this._-2Cn();
            };
        }
        public function _-ys():void
        {
            var k:int;
            var k:Array = this._-3n-._-Ea(this._-3n-._-2AB);
            if (!this._-3n-._-3TJ())
            {
                k = _-3Se;
            }
            else
            {
                if (((!(k)) || ((k.length == 0))))
                {
                    k = _-1k;
                }
                else
                {
                    k = _-1b9;
                };
            };
            if (this._-3HP == k)
            {
                return;
            };
            this._-3HP = k;
            var k:IWindowContainer = (this._-Ke.findChildByName("loading_container") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("empty_container") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("furni_container") as IWindowContainer);
            switch (k)
            {
                case _-3Se:
                    k.visible = true;
                    k.visible = false;
                    k.visible = false;
                    return;
                case _-1k:
                    k.visible = false;
                    k.visible = true;
                    k.visible = false;
                    return;
                case _-1b9:
                    k.visible = false;
                    k.visible = false;
                    k.visible = true;
                    this._-1cl(this._-3n-._-2AB);
                    return;
            };
        }
        public function _-2L8():void
        {
            var k:String;
            var k:_-1m5;
            var k:Array = [FurniModel._-4A5, FurniModel._-0fv];
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = this._-2OL.getValue(k);
                if (k != null)
                {
                    k._-0zS();
                };
                k++;
            };
            this._-2Cn();
        }
        public function _-fP(_arg1:String, _arg2:_-2IL):void
        {
            if (_arg2 == null)
            {
                return;
            };
            var k:_-1m5 = this._-2OL.getValue(_arg1);
            if (k == null)
            {
                return;
            };
            k._-fP(_arg2.window);
        }
        public function _-0yj(_arg1:String, _arg2:_-2IL):void
        {
            if (_arg2 == null)
            {
                return;
            };
            var k:_-1m5 = this._-2OL.getValue(_arg1);
            if (k == null)
            {
                return;
            };
            k._-0yj(_arg2.window);
        }
        public function _-1UX(_arg1:String, _arg2:_-2IL):void
        {
            var k:_-1m5 = this._-2OL.getValue(_arg1);
            if (k == null)
            {
                return;
            };
            k._-1UX(_arg2.window);
            this._-2Cn();
        }
        public function _-0zC(_arg1:_-2IL):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-1m5 = this._-2OL.getValue(_arg1._-2kL);
            if (k == null)
            {
                return;
            };
            k._-0zC(_arg1.window);
        }
        public function _-2g2(_arg1:String, _arg2:Boolean):void
        {
            var k:_-1m5 = this._-2OL.getValue(_arg1);
            if (k == null)
            {
                return;
            };
            k._-16I(_arg2);
        }
        public function _-4Fy():void
        {
            var k:IWindow;
            k = this._-Ke.findChildByTag("unseen_symbol_floor");
            k.visible = (this._-3n-.controller._-20u._-4JM(_-2Jr._-4Aq) > 0);
            k = this._-Ke.findChildByTag("unseen_symbol_wall");
            k.visible = (this._-3n-.controller._-20u._-4JM(_-2Jr._-59K) > 0);
            k = this._-Ke.findChildByTag("unseen_symbol_pets");
            k.visible = (this._-3n-.controller._-20u._-4JM(_-2Jr._-0Zq) > 0);
        }
        public function _-11k(_arg1:String):IWindowContainer
        {
            var k:_-1m5 = this._-2OL.getValue(_arg1);
            return (k._-11k());
        }
        public function _-2Cn():void
        {
            var k:BitmapData;
            var k:_-2P9;
            var k:IBitmapWrapperWindow;
            var k:ITextWindow;
            var k:IRegionWindow;
            var k:String;
            var k:String;
            var k:IButtonWindow;
            var k:_-2kE;
            var k:String;
            var k:String;
            var k:String;
            var k:BitmapData;
            var k:_-2kE;
            var k:int;
            var k:_-3Yi;
            var k:_-3Yi;
            var _local27:_-2Gt;
            var _local28:uint;
            var k:int;
            var k:_-486;
            var k:String;
            if (this._-Ke == null)
            {
                return;
            };
            if (this._-Ke.disposed)
            {
                return;
            };
            var k:Boolean;
            var k:_-2IL = this._-3n-._-IA();
            if (((!((k == null))) && (!((k._-3-b() == null)))))
            {
                k = k._-3-b();
                k = true;
                k = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3Sr);
                k = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3Oy);
                k = this._-0tK._-4AJ(this._-0tK.activeRoomId, this._-0tK.activeRoomCategory, _-4Wq._-3HV);
                k = ((((k) && ((k.length > 0)))) ? k : "101");
                k = ((((k) && ((k.length > 0)))) ? k : "101");
                k = ((((k) && ((k.length > 0)))) ? k : "1.1");
                if (k.category == _-1mk._-3hq)
                {
                    _local27 = this._-0tK.getRoomImage(k, k._-vM.getLegacyString(), k, 64, this);
                    if (_local27 != null)
                    {
                        k = _local27.data;
                    };
                    this._-Cy(k);
                    k = "${inventory.furni.item.wallpaper.name}";
                    k = "${inventory.furni.item.wallpaper.desc}";
                }
                else
                {
                    if (k.category == _-1mk._-3s7)
                    {
                        _local27 = this._-0tK.getRoomImage(k._-vM.getLegacyString(), k, k, 64, this);
                        if (_local27 != null)
                        {
                            k = _local27.data;
                        };
                        this._-Cy(k);
                        k = "${inventory.furni.item.floor.name}";
                        k = "${inventory.furni.item.floor.desc}";
                    }
                    else
                    {
                        if (k.category == _-1mk._-48R)
                        {
                            k = this._-AV.getAssetByName("icon_landscape_png");
                            if (k != null)
                            {
                                this._-Cy((k.content as BitmapData));
                            };
                            k = "${inventory.furni.item.landscape.name}";
                            k = "${inventory.furni.item.landscape.desc}";
                        }
                        else
                        {
                            if (k.category == _-1mk._-2lg)
                            {
                                k = (("${poster_" + k._-vM.getLegacyString()) + "_name}");
                                k = (("${poster_" + k._-vM.getLegacyString()) + "_desc}");
                            };
                            _local28 = 0xFFFFFFFF;
                            if ((k is _-2G-))
                            {
                                _local27 = this._-0tK.getFurnitureImage(k.type, new _-Xl(180, 0, 0), 64, this, _local28, String(k._-33C), -1, -1, k._-vM);
                            }
                            else
                            {
                                _local27 = this._-0tK.getWallItemImage(k.type, new _-Xl(180, 0, 0), 64, this, _local28, k._-vM.getLegacyString());
                            };
                            if (_local27 != null)
                            {
                                k = _local27.data;
                            };
                            this._-Cy(k);
                            k._-3PE = _local27.id;
                        };
                    };
                };
                k = (this._-Ke.findChildByName("tradeable_icon") as IBitmapWrapperWindow);
                k = (this._-Ke.findChildByName("tradeable_number") as ITextWindow);
                k = (this._-Ke.findChildByName("tradeable_info_region") as IRegionWindow);
                if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
                {
                    k = k._-3-x();
                    if (k == 0)
                    {
                        k = this._-AV.getAssetByName("no_trade_icon_png");
                        k = (k.content as BitmapData);
                        k.visible = false;
                        k._-2QR = "${inventory.furni.preview.not_tradeable}";
                        k.filters = [];
                    }
                    else
                    {
                        k = this._-AV.getAssetByName("trade_icon_png");
                        k = (k.content as BitmapData);
                        k.visible = true;
                        k.text = String(k);
                        k._-2QR = "${inventory.furni.preview.tradeable_amount}";
                        k.filters = [new GlowFilter(0xFFFFFF, 1, 3, 3, 300)];
                    };
                    k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                    if (k != null)
                    {
                        k.bitmap.copyPixels(k, k.rect, new Point(0, 0), null, null, true);
                    };
                    k.invalidate();
                };
                k = (this._-Ke.findChildByName("recyclable_icon") as IBitmapWrapperWindow);
                k = (this._-Ke.findChildByName("recyclable_number") as ITextWindow);
                k = (this._-Ke.findChildByName("recyclable_info_region") as IRegionWindow);
                if (((((!((k == null))) && (!((k == null))))) && (!((k == null)))))
                {
                    k = k._-4Cd();
                    if (k == 0)
                    {
                        k = this._-AV.getAssetByName("no_recycle_icon_png");
                        k = (k.content as BitmapData);
                        k.visible = false;
                        k._-2QR = "${inventory.furni.preview.not_recyclable}";
                        k.filters = [];
                    }
                    else
                    {
                        k = this._-AV.getAssetByName("recycle_icon_png");
                        k = (k.content as BitmapData);
                        k.visible = true;
                        k.text = String(k);
                        k._-2QR = "${inventory.furni.preview.recyclable_amount}";
                        k.filters = [new GlowFilter(0xFFFFFF, 1, 3, 3, 300)];
                    };
                    k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                    if (k != null)
                    {
                        k.bitmap.copyPixels(k, k.rect, new Point(0, 0), null, null, true);
                    };
                    k.invalidate();
                };
                k = _-3Yi(this._-Ke.findChildByName("unique_limited_item_overlay_widget"));
                if (((((k._-vM) && (this._-3n-._-3a4))) && ((k._-vM.uniqueSerialNumber > 0))))
                {
                    if (this._-36b == null)
                    {
                        this._-36b = _-2Aa(k.widget);
                    };
                    this._-36b._-2GS = k._-vM.uniqueSerialNumber;
                    this._-36b._-0O1 = k._-vM._-2dO;
                    k.visible = true;
                }
                else
                {
                    k.visible = false;
                };
                k = _-3Yi(this._-Ke.findChildByName("rarity_item_overlay_widget"));
                if (((k._-vM) && ((k._-vM.rarityLevel >= 0))))
                {
                    if (this._-085 == null)
                    {
                        this._-085 = _-26h(k.widget);
                    };
                    this._-085.rarityLevel = k._-vM.rarityLevel;
                    k.visible = true;
                }
                else
                {
                    k.visible = false;
                };
            }
            else
            {
                this._-Cy(null);
                k = (this._-Ke.findChildByName("tradeable_icon") as IBitmapWrapperWindow);
                k = (this._-Ke.findChildByName("tradeable_number") as ITextWindow);
                k = (this._-Ke.findChildByName("tradeable_info_region") as IRegionWindow);
                if (((((k) && (k))) && (k)))
                {
                    k.bitmap = null;
                    k.visible = false;
                };
                k = (this._-Ke.findChildByName("recyclable_icon") as IBitmapWrapperWindow);
                k = (this._-Ke.findChildByName("recyclable_number") as ITextWindow);
                k = (this._-Ke.findChildByName("recyclable_info_region") as IRegionWindow);
                if (((((k) && (k))) && (k)))
                {
                    k.bitmap = null;
                    k.visible = false;
                };
            };
            var k:Boolean = this._-3n-._-0sh;
            k = (this._-Ke.findChildByName("placeinroom_btn") as IButtonWindow);
            if (k)
            {
                if (((k) && (this._-3n-._-3-)))
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
                k.visible = !(k);
            };
            k = (this._-Ke.findChildByName("offertotrade_btn") as IButtonWindow);
            if (k)
            {
                if (((((((k) && (!((k == null))))) && (!((k == null))))) && (this._-3n-._-58Z())))
                {
                    if (((k._-1Uo()) && (k._-2x3)))
                    {
                        k.enable();
                    }
                    else
                    {
                        k.disable();
                    };
                }
                else
                {
                    k.disable();
                };
                k.visible = k;
            };
            k = (this._-Ke.findChildByName("sell_btn") as IButtonWindow);
            var k:Boolean = ((((((((((k) && (this._-TK))) && (this._-TK._-12O))) && (k._-44d))) && (!(this._-3n-.controller._-cT._-3ZA())))) && (!(k)));
            var k:Boolean = ((((this._-3n-._-3-) && (k))) && ((((((((((k.category == _-1mk._-0b3)) || ((k.category == _-1mk._-4cm)))) || ((k.category == _-1mk._-4yV)))) || ((k.category == _-1mk._-06w)))) || ((k.category == _-1mk._-4gd)))));
            var k:Boolean = ((!(k)) && (k));
            if (k)
            {
                if (k)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
                k.visible = ((!(k)) && (this._-TK._-12O));
            };
            k = (this._-Ke.findChildByName("use_btn") as IButtonWindow);
            if (k)
            {
                if (k)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
                k.visible = k;
            };
            this._-4Mu = -1;
            if (k != null)
            {
                if (k.category == _-1mk._-570)
                {
                    k = k._-33C;
                    k = this._-42G._-2qH._-rR(k);
                    if (k != null)
                    {
                        k = k.name;
                        k = k.creator;
                    }
                    else
                    {
                        this._-42G._-2qH._-3nW(k);
                        this._-4Mu = k;
                    };
                };
            };
            var k:ITextWindow = (this._-Ke.findChildByName("furni_name") as ITextWindow);
            if (k != null)
            {
                if (k != null)
                {
                    k.text = k;
                }
                else
                {
                    if ((k is _-2G-))
                    {
                        k.text = (("${roomItem.name." + k.type) + "}");
                    }
                    else
                    {
                        if ((k is _-Gz))
                        {
                            k.text = (("${wallItem.name." + k.type) + "}");
                        }
                        else
                        {
                            k.text = "";
                        };
                    };
                };
                k.height = k.textHeight;
            };
            var k:ITextWindow = (this._-Ke.findChildByName("furni_description") as ITextWindow);
            if (k != null)
            {
                if (k != null)
                {
                    k.text = k;
                }
                else
                {
                    if ((k is _-2G-))
                    {
                        k.text = (("${roomItem.desc." + k.type) + "}");
                    }
                    else
                    {
                        if ((k is _-Gz))
                        {
                            k.text = (("${wallItem.desc." + k.type) + "}");
                        }
                        else
                        {
                            k.text = "";
                        };
                    };
                };
                k.height = (k.textHeight + 5);
            };
            var k:ITextWindow = (this._-Ke.findChildByName("furni_extra") as ITextWindow);
            if (k != null)
            {
                if (((((!((k == null))) && (!((k._-vM == null))))) && ((k._-vM.rarityLevel >= 0))))
                {
                    k = (k._-vM as MapStuffData).getValue("rarity");
                    if (k != null)
                    {
                        this._-U-.registerLocalizationParameter("inventory.rarity", "rarity", String(k._-vM.rarityLevel));
                        k.text = this._-3n-.localization.getKey("inventory.rarity");
                        k.visible = true;
                    };
                }
                else
                {
                    k.text = "";
                };
            };
        }
        public function _-21v(_arg1:_-2IL):void
        {
            var k:_-2Gt;
            var k:IButtonWindow;
            if (this._-Ke == null)
            {
                return;
            };
            if (this._-Ke.disposed)
            {
                return;
            };
            var k:_-2P9 = _arg1._-3-b();
            if ((k is _-2G-))
            {
                k = this._-0tK.getFurnitureImage(_arg1.type, new _-Xl(2, 0, 0), 64, this, 0, String(_arg1._-33C), -1, -1, _arg1._-vM);
            }
            else
            {
                k = this._-0tK.getWallItemImage(_arg1.type, new _-Xl(2, 0, 0), 64, this, 0, _arg1._-vM.getLegacyString());
            };
            if (k != null)
            {
                this._-Cy(k.data);
            };
            k = (this._-Ke.findChildByName("placeinroom_btn") as IButtonWindow);
            if (k)
            {
                k.disable();
            };
            k = (this._-Ke.findChildByName("offertotrade_btn") as IButtonWindow);
            if (k)
            {
                k.disable();
            };
        }
        private function _-Cy(_arg1:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("furni_preview_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                k = new BitmapData(20, 20);
            };
            var k:int = _arg1.height;
            if (k > _-5D)
            {
                k = _-5D;
            }
            else
            {
                if (k < _-3YE)
                {
                    k = _-3YE;
                }
                else
                {
                    k = (Math.ceil((k / 10)) * 10);
                };
            };
            k.bitmap = new BitmapData(k.width, k, true, 0xFFFFFF);
            k.height = k;
            var k:Point = new Point(((k.width - _arg1.width) / 2), ((k - _arg1.height) / 2));
            k.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
            k.invalidate();
            var k:ITextWindow = (this._-Ke.findChildByName("furni_description") as ITextWindow);
            if (k != null)
            {
                k.y = ((k.y + k.height) + 5);
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:_-2IL = this._-3n-._-IA();
            if (k == null)
            {
                return;
            };
            if (k._-3PE == _arg1)
            {
                this._-Cy(_arg2);
            };
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:_-2IL;
            var _local4:_-2P9;
            var _local5:ISelectorWindow;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "placeinroom_btn":
                    case "furni_preview_region":
                        if (!this._-3n-._-0sh)
                        {
                            this._-3n-._-0kz(false);
                        };
                        break;
                    case "offertotrade_btn":
                        this._-3n-._-0ix();
                        break;
                    case "sell_btn":
                        this._-3n-._-3bR();
                        break;
                    case "open_catalog_btn":
                        this._-3n-._-1JA();
                        break;
                    case "use_btn":
                        this._-3n-._-0Z8();
                        break;
                    default:
                        this._-3n-._-1ZJ();
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-3Jy)
                {
                    switch (_arg2.name)
                    {
                        case "furni_preview_region":
                            _local3 = this._-3n-._-IA();
                            if (_local3 == null)
                            {
                                return;
                            };
                            _local4 = _local3._-3-b();
                            if ((((((_local4.category == _-1mk._-3hq)) || ((_local4.category == _-1mk._-3s7)))) || ((_local4.category == _-1mk._-48R))))
                            {
                                return;
                            };
                            if (!this._-3n-._-0sh)
                            {
                                this._-3n-._-0kz(false);
                            };
                            break;
                    };
                }
                else
                {
                    if (_arg1.type == WindowEvent._-2wB)
                    {
                        switch (_arg2.name)
                        {
                            case "tab_floor":
                                this._-3n-.switchCategory(FurniModel._-4A5, true);
                                return;
                            case "tab_wall":
                                this._-3n-.switchCategory(FurniModel._-0fv, true);
                                return;
                            case "tab_pets":
                                this._-3n-._-21o();
                                this._-3n-.controller._-4Op(_-503._-0Ij);
                                _local5 = (this._-Ke.findChildByName("category_selector") as ISelectorWindow);
                                if (this._-3n-._-2AB == FurniModel._-4A5)
                                {
                                    _local5.setSelected(_local5._-4Vf("tab_floor"));
                                }
                                else
                                {
                                    _local5.setSelected(_local5._-4Vf("tab_wall"));
                                };
                                return;
                        };
                    };
                };
            };
        }
        private function _-27W(_arg1:_-3Wk):void
        {
            if (_arg1.id == this._-4Mu)
            {
                this._-2Cn();
                this._-4Mu = -1;
            };
        }

    }
}//package _-2Nr

//------------------------------------------------------------
//_-2Nr.GridRenderQueue

package _-2Nr
{
    import _-18r.Map;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import __AS3__.vec.Vector;
    import _-0ly._-2IL;
    import __AS3__.vec.*;

    public class GridRenderQueue 
    {

        private const _-0kk:int = 50;
        private const _-3gX:int = 100;

        private var _-0K0:Map;
        private var _-3n-:FurniModel;
        private var _-Ke:FurniView;
        private var _-3ms:Timer;
        private var _-13S:Boolean;

        public function GridRenderQueue(_arg1:FurniModel, _arg2:FurniView)
        {
            this._-3n- = _arg1;
            this._-Ke = _arg2;
            this._-0K0 = new Map();
            this._-3ms = new Timer(this._-0kk, 0);
            this._-3ms.addEventListener(TimerEvent.TIMER, this._-0oA);
        }
        public function dispose():void
        {
            this._-3ms.stop();
            this._-3ms = null;
            this._-0K0.dispose();
            this._-0K0 = null;
            this._-3n- = null;
            this._-Ke = null;
        }
        public function push(_arg1:String, _arg2:_-2IL, _arg3:Boolean):void
        {
            var k:Vector.<_-2IL> = this._-0K0.getValue(_arg1);
            if (k == null)
            {
                k = new Vector.<_-2IL>();
                this._-0K0.add(_arg1, k);
            };
            if (_arg3)
            {
                k.unshift(_arg2);
            }
            else
            {
                k.push(_arg2);
            };
            if (this._-13S)
            {
                this._-1K7();
            };
        }
        public function _-1UX(_arg1:String, _arg2:_-2IL):void
        {
            var k:int;
            var k:Vector.<_-2IL> = this._-0K0.getValue(_arg1);
            if (k != null)
            {
                k = k.indexOf(_arg2);
                if (k >= 0)
                {
                    k.splice(k, 1);
                };
            };
        }
        public function _-2qI(_arg1:String, _arg2:_-2IL):Boolean
        {
            var k:Vector.<_-2IL> = this._-0K0.getValue(_arg1);
            if (k != null)
            {
                return ((k.indexOf(_arg2) >= 0));
            };
            return (false);
        }
        public function _-1K7():void
        {
            this._-13S = true;
            if (!this._-3ms.running)
            {
                this._-3ms.start();
            };
        }
        private function _-0oA(_arg1:TimerEvent):void
        {
            this.purge();
        }
        public function purge(_arg1:int=100):void
        {
            var k:String;
            var k:Vector.<_-2IL>;
            var k:int;
            var k:_-2IL;
            var k:Array = this._-0K0._-18C();
            if (k)
            {
                for each (k in k)
                {
                    k = this._-0K0.getValue(k);
                    if (!k)
                    {
                        this._-0K0.remove(k);
                    }
                    else
                    {
                        while (k < _arg1)
                        {
                            k = k.shift();
                            if (k)
                            {
                                if (k._-0aO)
                                {
                                    this._-Ke._-0yj(k, k);
                                }
                                else
                                {
                                    this._-Ke._-fP(k, k);
                                };
                            };
                            if (k.length == 0)
                            {
                                this._-0K0.remove(k);
                                break;
                            };
                            k++;
                        };
                    };
                };
            };
            if (this._-0K0.length == 0)
            {
                this._-3ms.stop();
                this._-3n-._-2D2();
            };
        }

    }
}//package _-2Nr

//------------------------------------------------------------
//_-2ob._-1Bz

package _-2ob
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Bz implements _-58N 
    {

        private var _-4ub:String;
        private var _-0qE:String;
        private var _-3Q5:String;
        private var _-4EZ:int;

        public function get _-2X():String
        {
            return (this._-4ub);
        }
        public function get data():String
        {
            return (this._-0qE);
        }
        public function get _-3SR():String
        {
            return (this._-3Q5);
        }
        public function get _-1as():int
        {
            return (this._-4EZ);
        }
        public function flush():Boolean
        {
            this._-4ub = (this._-0qE = (this._-3Q5 = null));
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4ub = _arg1.readString();
            this._-0qE = _arg1.readString();
            this._-3Q5 = _arg1.readString();
            this._-4EZ = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2ob

//------------------------------------------------------------
//_-2ob._-28j

package _-2ob
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-28j implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-2ob

//------------------------------------------------------------
//_-2ob._-3kC

package _-2ob
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3kC implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-2ob

//------------------------------------------------------------
//_-2or._-0Yf

package _-2or
{
    import flash.events.Event;

    public class _-0Yf extends Event 
    {

        public static const _-Zd:String = "HHTPNUFWE_AVATAR_TUTORIAL_START";
        public static const _-28x:String = "HHTPNUFWE_LIGHT_CLOTHES_ICON";
        public static const _-1Nc:String = "HHTE_DONE_AVATAR_EDITOR_OPENING";
        public static const _-21D:String = "HHTE_DONE_AVATAR_EDITOR_CLOSING";

        public function _-0Yf(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-2or

//------------------------------------------------------------
//_-2or._-1-l

package _-2or
{
    public class _-1-l 
    {

        public static const _-2cf:String = "";
        public static const _-080:String = "error_window";
        public static const _-0Iv:String = "rejected_window";
        public static const _-dN:String = "user_create";
        public static const _-0k5:String = "user_pending";
        public static const _-4oP:String = "user_ongoing";
        public static const _-2-o:String = "user_feedback";
        public static const _-0xG:String = "user_thanks";
        public static const _-0bl:String = "user_guide_disconnected";
        public static const _-2-e:String = "guide_tool";
        public static const _-L2:String = "guide_accept";
        public static const _-aN:String = "guide_ongoing";
        public static const _-rD:String = "guide_closed";
        public static const _-f8:String = "guardian_chat_review_accept";
        public static const _-Yp:String = "guardian_chat_review_wait_for_voters";
        public static const _-3qu:String = "guardian_chat_review_vote";
        public static const _-4Dh:String = "guardian_chat_review_wait_for_results";
        public static const _-55X:String = "guardian_chat_review_results";

    }
}//package _-2or

//------------------------------------------------------------
//_-2or._-31I

package _-2or
{
    public class _-31I 
    {

        public static const LEFT:int = 0;
        public static const RIGHT:int = 1;

    }
}//package _-2or

//------------------------------------------------------------
//_-2or._-3KO

package _-2or
{
    public class _-3KO 
    {

        public static const _-4Nz:int = 1;
        public static const _-0AF:int = 2;
        public static const _-3WU:int = 3;
        public static const _-3ST:int = 4;
        public static const _-2QW:int = 5;
        public static const _-11l:int = 6;
        public static const _-3xS:int = 7;

    }
}//package _-2or

//------------------------------------------------------------
//_-2or._-4sa

package _-2or
{
    public class _-4sa 
    {

        public static const HABBO_HELP_TRACKING_EVENT_CLOSED:String = "HABBO_HELP_TRACKING_EVENT_CLOSED";
        public static const HABBO_HELP_TRACKING_EVENT_DEFAULT:String = "HABBO_HELP_TRACKING_EVENT_DEFAULT";

    }
}//package _-2or

//------------------------------------------------------------
//_-2or._-4wn

package _-2or
{
    public class _-4wn 
    {

        public static const _-3RV:String = "CFHRE_SENT_OK";
        public static const _-1Eg:String = "CFHRE_ERROR_TOO_MANY_PENDING";
        public static const _-2Rq:String = "CFHRE_HAS_ABUSIVE_CALL";
        public static const _-2Cw:int = 1;
        public static const _-3Gr:int = 2;

    }
}//package _-2or

//------------------------------------------------------------
//_-2p5._-1k5

package _-2p5
{
    import _-4Aj.*;

    public class _-1k5 implements _-1oF 
    {

        private var _-2kH:int;
        private var _-39s:int;
        private var _-3m2:int;

        public function _-1k5(_arg1:int, _arg2:int, _arg3:int)
        {
            this._-2kH = _arg1;
            this._-39s = _arg2;
            this._-3m2 = _arg3;
        }
        public function _-43Z():Array
        {
            return ([this._-2kH, this._-39s, this._-3m2]);
        }
        public function dispose():void
        {
        }

    }
}//package _-2p5

//------------------------------------------------------------
//_-2p5._-2hq

package _-2p5
{
    import _-4Aj.*;

    public class _-2hq implements _-1oF 
    {

        private var _-0Kq:int = 0;

        public function _-2hq(_arg1:int)
        {
            this._-0Kq = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-0Kq]);
        }
        public function dispose():void
        {
        }

    }
}//package _-2p5

//------------------------------------------------------------
//_-2p5._-2ka

package _-2p5
{
    import _-4Aj.*;

    public class _-2ka implements _-1oF 
    {

        private var _-JS:String;
        private var _-5K:String;
        private var _-0iA:String;
        private var _-4kX:String;
        private var _-0W4:int;

        public function _-2ka(_arg1:String, _arg2:String, _arg3:String, _arg4:String="", _arg5:int=0)
        {
            if ((((((_arg1 == null)) || ((_arg2 == null)))) || ((_arg3 == null))))
            {
                _-Nb.log("Missing parameter!");
            };
            this._-JS = ((_arg1) ? _arg1 : "");
            this._-5K = ((_arg2) ? _arg2 : "");
            this._-0iA = ((_arg3) ? _arg3 : "");
            this._-4kX = ((_arg4) ? _arg4 : "");
            this._-0W4 = ((_arg5) ? _arg5 : 0);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-JS, this._-5K, this._-0iA, this._-4kX, this._-0W4]);
        }

    }
}//package _-2p5

//------------------------------------------------------------
//_-2p5._-2rb

package _-2p5
{
    import _-4Aj.*;

    public class _-2rb implements _-1oF 
    {

        private var _-4kh:int = 0;
        private var _-4hD:String = "";
        private var _-3Rn:String = "";
        private var _-1Fy:String = "";
        private var _-4cS:String = "";
        private var _-1lq:int = 0;
        private var _-4U5:int = 0;
        private var _-3up:int = 0;
        private var _-3MW:int = 0;
        private var _-Wq:int = 0;
        private var _-16f:int = 0;

        public function _-2rb(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:Boolean, _arg7:int, _arg8:int, _arg9:int, _arg10:int, _arg11:int)
        {
            this._-4kh = _arg1;
            this._-4hD = _arg2;
            this._-3Rn = _arg3;
            this._-1Fy = _arg4;
            this._-4cS = _arg5;
            if (_arg6)
            {
                this._-1lq = 1;
            }
            else
            {
                this._-1lq = 0;
            };
            this._-4U5 = _arg7;
            this._-3up = _arg8;
            this._-3MW = _arg9;
            this._-Wq = _arg10;
            this._-16f = _arg11;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4kh, this._-4hD, this._-3Rn, this._-1Fy, this._-4cS, this._-1lq, this._-4U5, this._-3up, this._-3MW, this._-Wq, this._-16f]);
        }

    }
}//package _-2p5

//------------------------------------------------------------
//_-2p5._-4wR

package _-2p5
{
    import _-4Aj.*;

    public class _-4wR implements _-1oF 
    {

        private var _-4nm:int;

        public function _-4wR(_arg1:int)
        {
            this._-4nm = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-4nm]);
        }
        public function dispose():void
        {
        }

    }
}//package _-2p5

//------------------------------------------------------------
//_-2Pt._-1lL

package _-2Pt
{
    import _-4Aj.*;

    public class _-1lL implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-2Pt

//------------------------------------------------------------
//_-2Pt._-211

package _-2Pt
{
    import _-4Aj.*;

    public class _-211 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-211(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2Pt

//------------------------------------------------------------
//_-2Pt._-2yb

package _-2Pt
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2yb implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;

        public function _-2yb(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-0qE == null));
        }

    }
}//package _-2Pt

//------------------------------------------------------------
//_-2qO._-1DJ

package _-2qO
{
    import _-0Yg._-4OH;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1DJ implements _-58N 
    {

        private var _-0qE:_-4OH;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-4OH(_arg1);
            return (true);
        }
        public function get data():_-4OH
        {
            return (this._-0qE);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-1xA

package _-2qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1xA implements _-58N 
    {

        private var _-1gS:int;
        private var _-pj:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1gS = _arg1._-2BW();
            this._-pj = _arg1.readString();
            return (true);
        }
        public function get _-3xk():int
        {
            return (this._-1gS);
        }
        public function get realName():String
        {
            return (this._-pj);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-2wn

package _-2qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2wn implements _-58N 
    {

        private var _-18s:int = 0;
        private var _-0Ne:int = 0;
        private var _-5K:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-18s = _arg1._-2BW();
            this._-0Ne = _arg1._-2BW();
            this._-5K = _arg1._-2BW();
            return (true);
        }
        public function get amount():int
        {
            return (this._-18s);
        }
        public function get change():int
        {
            return (this._-0Ne);
        }
        public function get type():int
        {
            return (this._-5K);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-3TG

package _-2qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3TG implements _-58N 
    {

        private var _-3BO:String;
        private var _-2-h:String;
        private var _-2md:String;
        private var _-A5:String;
        private var _-37b:String;
        private var _-2m9:String;

        public function flush():Boolean
        {
            this._-3BO = null;
            this._-2-h = null;
            this._-2md = null;
            this._-A5 = null;
            this._-37b = null;
            this._-2m9 = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3BO = _arg1.readString();
            this._-2-h = _arg1.readString();
            this._-2md = _arg1.readString();
            this._-A5 = _arg1.readString();
            this._-37b = _arg1.readString();
            this._-2m9 = _arg1.readString();
            return (true);
        }
        public function get caption():String
        {
            return (this._-3BO);
        }
        public function get _-1IZ():String
        {
            return (this._-2-h);
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function get _-4N9():String
        {
            return (this._-A5);
        }
        public function get _-1Qa():String
        {
            return (this._-37b);
        }
        public function get illustration():String
        {
            return (this._-2m9);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-4lw

package _-2qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4lw implements _-58N 
    {

        private var _-2y6:Array;

        public function flush():Boolean
        {
            this._-2y6 = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-2y6.push(_arg1.readString());
                k++;
            };
            return (true);
        }
        public function get messages():Array
        {
            return (this._-2y6);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-4qF

package _-2qO
{
    import _-Os.PetFigureData;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4qF implements _-58N 
    {

        private var _-b:int;
        private var _-0hK:String;
        private var _-55e:int;
        private var _-dS:PetFigureData;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b = _arg1._-2BW();
            this._-0hK = _arg1.readString();
            this._-55e = _arg1._-2BW();
            this._-dS = new PetFigureData(_arg1);
            return (true);
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get petName():String
        {
            return (this._-0hK);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get figureData():PetFigureData
        {
            return (this._-dS);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-550

package _-2qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-550 implements _-58N 
    {

        private var _-4Zy:Boolean;

        public function flush():Boolean
        {
            this._-4Zy = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4Zy = _arg1.readBoolean();
            return (true);
        }
        public function get enabled():Boolean
        {
            return (this._-4Zy);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-km

package _-2qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-km implements _-58N 
    {

        private var _-19I:String = "";
        private var _-2tu:String = "";

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-19I = _arg1.readString();
            this._-2tu = _arg1.readString();
            return (true);
        }
        public function get _-1Xw():String
        {
            return (this._-19I);
        }
        public function get shareID():String
        {
            return (this._-2tu);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-vi

package _-2qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-vi implements _-58N 
    {

        private var _-1br:String = "";

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1br = _arg1.readString();
            return (true);
        }
        public function get _-0bv():String
        {
            return (this._-1br);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-vn

package _-2qO
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-vn implements _-58N 
    {

        private var _-3pe:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3pe = _arg1._-2BW();
            return (true);
        }
        public function get _-0YY():int
        {
            return (this._-3pe);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO._-zZ

package _-2qO
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-zZ implements _-58N 
    {

        private var _-2ZH:Map;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:Array;
            var k:int;
            var k:int;
            this._-2ZH = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = [];
                k = _arg1._-2BW();
                k = 0;
                while (k < k)
                {
                    k.push(_arg1._-2BW());
                    k++;
                };
                this._-2ZH.add(k, k);
                k++;
            };
            return (true);
        }
        public function _-4YG():Array
        {
            return (this._-2ZH._-18C());
        }
        public function _-5BH(_arg1:int):Array
        {
            return (this._-2ZH.getValue(_arg1));
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2qO.ActivityPointsMessageParser

package _-2qO
{
    import flash.utils.Dictionary;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class ActivityPointsMessageParser implements _-58N 
    {

        private var _-55o:Dictionary;

        public function flush():Boolean
        {
            this._-55o = new Dictionary();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                this._-55o[k] = k;
                k++;
            };
            return (true);
        }
        public function get points():Dictionary
        {
            return (this._-55o);
        }

    }
}//package _-2qO

//------------------------------------------------------------
//_-2r-._-1SR

package _-2r-
{
    public class _-1SR implements _-XG 
    {

        public function _-Fp(_arg1:BigInteger):BigInteger
        {
            return (_arg1);
        }
        public function _-2fN(_arg1:BigInteger, _arg2:BigInteger, _arg3:BigInteger):void
        {
            _arg1._-3EG(_arg2, _arg3);
        }
        public function _-3Ym(_arg1:BigInteger, _arg2:BigInteger):void
        {
            _arg1._-1MU(_arg2);
        }
        public function _-554(_arg1:BigInteger):BigInteger
        {
            return (_arg1);
        }
        public function _-0R0(_arg1:BigInteger):void
        {
        }

    }
}//package _-2r-

//------------------------------------------------------------
//_-2r-._-2QO

package _-2r-
{
    import _-2r-.BigInteger;
    import _-2r-.bi_internal;
    use namespace bi_internal;

    class _-2QO implements _-XG 
    {

        private var m:BigInteger;

        public function _-2QO(_arg1:BigInteger)
        {
            this.m = _arg1;
        }
        public function _-554(_arg1:BigInteger):BigInteger
        {
            if ((((_arg1.s < 0)) || ((_arg1._-2uh(this.m) >= 0))))
            {
                return (_arg1.mod(this.m));
            };
            return (_arg1);
        }
        public function _-Fp(_arg1:BigInteger):BigInteger
        {
            return (_arg1);
        }
        public function _-0R0(_arg1:BigInteger):void
        {
            _arg1._-xm(this.m, null, _arg1);
        }
        public function _-2fN(_arg1:BigInteger, _arg2:BigInteger, _arg3:BigInteger):void
        {
            _arg1._-3EG(_arg2, _arg3);
            this._-0R0(_arg3);
        }
        public function _-3Ym(_arg1:BigInteger, _arg2:BigInteger):void
        {
            _arg1._-1MU(_arg2);
            this._-0R0(_arg2);
        }

    }
}//package _-2r-

//------------------------------------------------------------
//_-2r-._-4Ej

package _-2r-
{
    import _-2r-.BigInteger;
    import _-2r-.bi_internal;
    use namespace bi_internal;

    class _-4Ej implements _-XG 
    {

        private var m:BigInteger;
        private var r2:BigInteger;
        private var _-46D:BigInteger;
        private var _-B7:BigInteger;

        public function _-4Ej(_arg1:BigInteger)
        {
            this.r2 = new BigInteger();
            this._-46D = new BigInteger();
            BigInteger._-37z._-0dO((2 * _arg1.t), this.r2);
            this._-B7 = this.r2._-0KM(_arg1);
            this.m = _arg1;
        }
        public function _-Fp(_arg1:BigInteger):BigInteger
        {
            return (_arg1);
        }
        public function _-2fN(_arg1:BigInteger, _arg2:BigInteger, _arg3:BigInteger):void
        {
            _arg1._-3EG(_arg2, _arg3);
            this._-0R0(_arg3);
        }
        public function _-3Ym(_arg1:BigInteger, _arg2:BigInteger):void
        {
            _arg1._-1MU(_arg2);
            this._-0R0(_arg2);
        }
        public function _-554(_arg1:BigInteger):BigInteger
        {
            var _local2:BigInteger;
            if ((((_arg1.s < 0)) || ((_arg1.t > (2 * this.m.t)))))
            {
                return (_arg1.mod(this.m));
            };
            if (_arg1._-2uh(this.m) < 0)
            {
                return (_arg1);
            };
            _local2 = new BigInteger();
            _arg1.copyTo(_local2);
            this._-0R0(_local2);
            return (_local2);
        }
        public function _-0R0(_arg1:BigInteger):void
        {
            var k:BigInteger = (_arg1 as BigInteger);
            k._-0v5((this.m.t - 1), this.r2);
            if (k.t > (this.m.t + 1))
            {
                k.t = (this.m.t + 1);
                k._-4Jf();
            };
            this._-B7._-1fT(this.r2, (this.m.t + 1), this._-46D);
            this.m._-42f(this._-46D, (this.m.t + 1), this.r2);
            while (k._-2uh(this.r2) < 0)
            {
                k._-0de(1, (this.m.t + 1));
            };
            k._-1kn(this.r2, k);
            while (k._-2uh(this.m) >= 0)
            {
                k._-1kn(this.m, k);
            };
        }

    }
}//package _-2r-

//------------------------------------------------------------
//_-2r-._-XG

package _-2r-
{
    import _-2r-.BigInteger;

    interface _-XG 
    {

        function _-554(_arg1:BigInteger):BigInteger;
        function _-Fp(_arg1:BigInteger):BigInteger;
        function _-0R0(_arg1:BigInteger):void;
        function _-2fN(_arg1:BigInteger, _arg2:BigInteger, _arg3:BigInteger):void;
        function _-3Ym(_arg1:BigInteger, _arg2:BigInteger):void;

    }
}//package _-2r-

//------------------------------------------------------------
//_-2r-.bi_internal

package _-2r-
{
    public namespace bi_internal = "http://crypto.hurlant.com/BigInteger";
}//package _-2r-

//------------------------------------------------------------
//_-2r-.BigInteger

package _-2r-
{
    import flash.utils.ByteArray;
    import _-4yl.Hex;
    import _-2F7.Random;
    import _-4yl._-0h6;

    public class BigInteger 
    {

        public static const _-1vG:int = 30;
        public static const _-0sH:int = (1 << _-1vG);
        public static const _-1cr:int = (_-0sH - 1);
        public static const _-25r:int = 52;
        public static const _-4k9:Number = Math.pow(2, _-25r);
        public static const F1:int = (_-25r - _-1vG);//22
        public static const F2:int = ((2 * _-1vG) - _-25r);//8
        public static const _-1Ge:BigInteger = _-3ZN(0);
        public static const _-37z:BigInteger = _-3ZN(1);
        public static const _-2jw:Array = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 0x0101, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509];
        public static const _-17F:int = ((1 << 26) / _-2jw[(_-2jw.length - 1)]);

        public var t:int;
        bi_internal var s:int;
        bi_internal var a:Array;

        public function BigInteger(_arg1=null, _arg2:int=0)
        {
            var k:ByteArray;
            var k:int;
            super();
            this.a = new Array();
            if ((_arg1 is String))
            {
                k = Hex._-0pj(_arg1);
                k = 0;
            };
            if ((_arg1 is ByteArray))
            {
                k = (_arg1 as ByteArray);
                k = ((_arg2) || ((k.length - k.position)));
                this._-3-a(k, k);
            };
        }
        public static function _-3ZN(_arg1:int):BigInteger
        {
            var k:BigInteger = new (BigInteger)();
            k.fromInt(_arg1);
            return (k);
        }

        public function dispose():void
        {
            var k:Random = new Random();
            var k:uint;
            while (k < this.a.length)
            {
                this.a[k] = k._-Pf();
                delete this.a[k];
                k++;
            };
            this.a = null;
            this.t = 0;
            this.s = 0;
            _-0h6._-1P8();
        }
        public function toString(_arg1:Number=16):String
        {
            var k:int;
            if (this.s < 0)
            {
                return (("-" + this._-wA().toString(_arg1)));
            };
            switch (_arg1)
            {
                case 2:
                    k = 1;
                    break;
                case 4:
                    k = 2;
                    break;
                case 8:
                    k = 3;
                    break;
                case 16:
                    k = 4;
                    break;
                case 32:
                    k = 5;
                    break;
                    k = 4;
            };
            var k:int = ((1 << k) - 1);
            var k:int;
            var k:Boolean;
            var k:String = "";
            var k:int = this.t;
            var k:int = (_-1vG - ((k * _-1vG) % k));
            var _temp1 = k;
            k = (k - 1);
            if (_temp1 > 0)
            {
                if ((((k < _-1vG)) && (((k = (this.a[k] >> k)) > 0))))
                {
                    k = true;
                    k = k.toString(36);
                };
                while (k >= 0)
                {
                    if (k < k)
                    {
                        k = ((this.a[k] & ((1 << k) - 1)) << (k - k));
                        var _temp2 = k;
                        k = (k + (_-1vG - k));
                        k = (_temp2 | (this.a[--k] >> k));
                    }
                    else
                    {
                        k = (k - k);
                        k = ((this.a[k] >> k) & k);
                        if (k <= 0)
                        {
                            k = (k + _-1vG);
                            k--;
                        };
                    };
                    if (k > 0)
                    {
                        k = true;
                    };
                    if (k)
                    {
                        k = (k + k.toString(36));
                    };
                };
            };
            return (((k) ? k : "0"));
        }
        public function _-0pj(_arg1:ByteArray):uint
        {
            var k:int = 8;
            var k:int = ((1 << 8) - 1);
            var k:int;
            var k:int = this.t;
            var k:int = (_-1vG - ((k * _-1vG) % k));
            var k:Boolean;
            var k:int;
            var _temp1 = k;
            k = (k - 1);
            if (_temp1 > 0)
            {
                if ((((k < _-1vG)) && (((k = (this.a[k] >> k)) > 0))))
                {
                    k = true;
                    _arg1.writeByte(k);
                    k++;
                };
                while (k >= 0)
                {
                    if (k < k)
                    {
                        k = ((this.a[k] & ((1 << k) - 1)) << (k - k));
                        var _temp2 = k;
                        k = (k + (_-1vG - k));
                        k = (_temp2 | (this.a[--k] >> k));
                    }
                    else
                    {
                        k = (k - k);
                        k = ((this.a[k] >> k) & k);
                        if (k <= 0)
                        {
                            k = (k + _-1vG);
                            k--;
                        };
                    };
                    if (k > 0)
                    {
                        k = true;
                    };
                    if (k)
                    {
                        _arg1.writeByte(k);
                        k++;
                    };
                };
            };
            return (k);
        }
        public function valueOf():Number
        {
            var k:Number = 1;
            var k:Number = 0;
            var k:uint;
            while (k < this.t)
            {
                k = (k + (this.a[k] * k));
                k = (k * _-0sH);
                k++;
            };
            return (k);
        }
        public function _-wA():BigInteger
        {
            var k:BigInteger = this._-3NT();
            _-1Ge._-1kn(this, k);
            return (k);
        }
        public function abs():BigInteger
        {
            return ((((this.s)<0) ? this._-wA() : this));
        }
        public function _-2uh(_arg1:BigInteger):int
        {
            var k:int = (this.s - _arg1.s);
            if (k != 0)
            {
                return (k);
            };
            var k:int = this.t;
            k = (k - _arg1.t);
            if (k != 0)
            {
                return (k);
            };
            while (--k >= 0)
            {
                k = (this.a[k] - _arg1.a[k]);
                if (k != 0)
                {
                    return (k);
                };
            };
            return (0);
        }
        bi_internal function _-1K4(_arg1:int):int
        {
            var k:int;
            var k:int = 1;
            k = (_arg1 >>> 16);
            if (k != 0)
            {
                k = (k + 16);
            };
            k = (_arg1 >> 8);
            if (k != 0)
            {
                k = (k + 8);
            };
            k = (_arg1 >> 4);
            if (k != 0)
            {
                k = (k + 4);
            };
            k = (_arg1 >> 2);
            if (k != 0)
            {
                k = (k + 2);
            };
            k = (_arg1 >> 1);
            if (k != 0)
            {
                k = (k + 1);
            };
            return (k);
        }
        public function _-3Ti():int
        {
            if (this.t <= 0)
            {
                return (0);
            };
            return (((_-1vG * (this.t - 1)) + this._-1K4((this.a[(this.t - 1)] ^ (this.s & _-1cr)))));
        }
        public function mod(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = this._-3NT();
            this.abs()._-xm(_arg1, null, k);
            if ((((this.s < 0)) && ((k._-2uh(_-1Ge) > 0))))
            {
                _arg1._-1kn(k, k);
            };
            return (k);
        }
        public function _-29Q(_arg1:int, _arg2:BigInteger):BigInteger
        {
            var k:_-XG;
            if ((((_arg1 < 0x0100)) || (_arg2._-4g5())))
            {
                k = new _-2QO(_arg2);
            }
            else
            {
                k = new MontgomeryReduction(_arg2);
            };
            return (this._-dX(_arg1, k));
        }
        bi_internal function copyTo(_arg1:BigInteger):void
        {
            var k:int = (this.t - 1);
            while (k >= 0)
            {
                _arg1.a[k] = this.a[k];
                k--;
            };
            _arg1.t = this.t;
            _arg1.s = this.s;
        }
        bi_internal function fromInt(_arg1:int):void
        {
            this.t = 1;
            this.s = (((_arg1)<0) ? -1 : 0);
            if (_arg1 > 0)
            {
                this.a[0] = _arg1;
            }
            else
            {
                if (_arg1 < -1)
                {
                    this.a[0] = (_arg1 + _-0sH);
                }
                else
                {
                    this.t = 0;
                };
            };
        }
        bi_internal function _-3-a(_arg1:ByteArray, _arg2:int):void
        {
            var k:int;
            var k:int = _arg1.position;
            var k:int = (k + _arg2);
            var k:int;
            var k:int = 8;
            this.t = 0;
            this.s = 0;
            while (--k >= k)
            {
                k = (((k < _arg1.length)) ? _arg1[k] : 0);
                if (k == 0)
                {
                    var _local8 = this.t++;
                    this.a[_local8] = k;
                }
                else
                {
                    if ((k + k) > _-1vG)
                    {
                        this.a[(this.t - 1)] = (this.a[(this.t - 1)] | ((k & ((1 << (_-1vG - k)) - 1)) << k));
                        _local8 = this.t++;
                        this.a[_local8] = (k >> (_-1vG - k));
                    }
                    else
                    {
                        this.a[(this.t - 1)] = (this.a[(this.t - 1)] | (k << k));
                    };
                };
                k = (k + k);
                if (k >= _-1vG)
                {
                    k = (k - _-1vG);
                };
            };
            this._-4Jf();
            _arg1.position = Math.min((k + _arg2), _arg1.length);
        }
        bi_internal function _-4Jf():void
        {
            var k = (this.s & _-1cr);
            while ((((this.t > 0)) && ((this.a[(this.t - 1)] == k))))
            {
                this.t--;
            };
        }
        bi_internal function _-0dO(_arg1:int, _arg2:BigInteger):void
        {
            var k:int;
            k = (this.t - 1);
            while (k >= 0)
            {
                _arg2.a[(k + _arg1)] = this.a[k];
                k--;
            };
            k = (_arg1 - 1);
            while (k >= 0)
            {
                _arg2.a[k] = 0;
                k--;
            };
            _arg2.t = (this.t + _arg1);
            _arg2.s = this.s;
        }
        bi_internal function _-0v5(_arg1:int, _arg2:BigInteger):void
        {
            var k:int;
            k = _arg1;
            while (k < this.t)
            {
                _arg2.a[(k - _arg1)] = this.a[k];
                k++;
            };
            _arg2.t = Math.max((this.t - _arg1), 0);
            _arg2.s = this.s;
        }
        bi_internal function _-18Y(_arg1:int, _arg2:BigInteger):void
        {
            var k:int;
            var k:int = (_arg1 % _-1vG);
            var k:int = (_-1vG - k);
            var k:int = ((1 << k) - 1);
            var k:int = (_arg1 / _-1vG);
            var k = ((this.s << k) & _-1cr);
            k = (this.t - 1);
            while (k >= 0)
            {
                _arg2.a[((k + k) + 1)] = ((this.a[k] >> k) | k);
                k = ((this.a[k] & k) << k);
                k--;
            };
            k = (k - 1);
            while (k >= 0)
            {
                _arg2.a[k] = 0;
                k--;
            };
            _arg2.a[k] = k;
            _arg2.t = ((this.t + k) + 1);
            _arg2.s = this.s;
            _arg2._-4Jf();
        }
        bi_internal function _-1v1(_arg1:int, _arg2:BigInteger):void
        {
            var k:int;
            _arg2.s = this.s;
            var k:int = (_arg1 / _-1vG);
            if (k >= this.t)
            {
                _arg2.t = 0;
                return;
            };
            var k:int = (_arg1 % _-1vG);
            var k:int = (_-1vG - k);
            var k:int = ((1 << k) - 1);
            _arg2.a[0] = (this.a[k] >> k);
            k = (k + 1);
            while (k < this.t)
            {
                _arg2.a[((k - k) - 1)] = (_arg2.a[((k - k) - 1)] | ((this.a[k] & k) << k));
                _arg2.a[(k - k)] = (this.a[k] >> k);
                k++;
            };
            if (k > 0)
            {
                _arg2.a[((this.t - k) - 1)] = (_arg2.a[((this.t - k) - 1)] | ((this.s & k) << k));
            };
            _arg2.t = (this.t - k);
            _arg2._-4Jf();
        }
        bi_internal function _-1kn(_arg1:BigInteger, _arg2:BigInteger):void
        {
            var k:int;
            var k:int;
            var k:int = Math.min(_arg1.t, this.t);
            while (k < k)
            {
                k = (k + (this.a[k] - _arg1.a[k]));
                var _local6 = k++;
                _arg2.a[_local6] = (k & _-1cr);
                k = (k >> _-1vG);
            };
            if (_arg1.t < this.t)
            {
                k = (k - _arg1.s);
                while (k < this.t)
                {
                    k = (k + this.a[k]);
                    _local6 = k++;
                    _arg2.a[_local6] = (k & _-1cr);
                    k = (k >> _-1vG);
                };
                k = (k + this.s);
            }
            else
            {
                k = (k + this.s);
                while (k < _arg1.t)
                {
                    k = (k - _arg1.a[k]);
                    _local6 = k++;
                    _arg2.a[_local6] = (k & _-1cr);
                    k = (k >> _-1vG);
                };
                k = (k - _arg1.s);
            };
            _arg2.s = (((k)<0) ? -1 : 0);
            if (k < -1)
            {
                _local6 = k++;
                _arg2.a[_local6] = (_-0sH + k);
            }
            else
            {
                if (k > 0)
                {
                    _local6 = k++;
                    _arg2.a[_local6] = k;
                };
            };
            _arg2.t = k;
            _arg2._-4Jf();
        }
        bi_internal function _-dn(_arg1:int, _arg2:int, _arg3:BigInteger, _arg4:int, _arg5:int, _arg6:int):int
        {
            var k:int;
            var k:int;
            var k:int;
            var k = (_arg2 & 32767);
            var k = (_arg2 >> 15);
            while (--k >= 0)
            {
                k = (this.a[_arg1] & 32767);
                k = (this.a[k++] >> 15);
                k = ((k * k) + (k * k));
                k = ((((k * k) + ((k & 32767) << 15)) + _arg3.a[_arg4]) + (_arg5 & 1073741823));
                k = ((((k >>> 30) + (k >>> 15)) + (k * k)) + (_arg5 >>> 30));
                var _local12 = k++;
                _arg3.a[_local12] = (k & 1073741823);
            };
            return (_arg5);
        }
        bi_internal function _-3EG(_arg1:BigInteger, _arg2:BigInteger):void
        {
            var k:BigInteger = this.abs();
            var k:BigInteger = _arg1.abs();
            var k:int = k.t;
            _arg2.t = (k + k.t);
            while (--k >= 0)
            {
                _arg2.a[k] = 0;
            };
            k = 0;
            while (k < k.t)
            {
                _arg2.a[(k + k.t)] = k._-dn(0, k.a[k], _arg2, k, 0, k.t);
                k++;
            };
            _arg2.s = 0;
            _arg2._-4Jf();
            if (this.s != _arg1.s)
            {
                _-1Ge._-1kn(_arg2, _arg2);
            };
        }
        bi_internal function _-1MU(_arg1:BigInteger):void
        {
            var k:int;
            var k:BigInteger = this.abs();
            var k:int = (_arg1.t = (2 * k.t));
            while (--k >= 0)
            {
                _arg1.a[k] = 0;
            };
            k = 0;
            while (k < (k.t - 1))
            {
                k = k._-dn(k, k.a[k], _arg1, (2 * k), 0, 1);
                if ((_arg1.a[(k + k.t)] = (_arg1.a[(k + k.t)] + k._-dn((k + 1), (2 * k.a[k]), _arg1, ((2 * k) + 1), k, ((k.t - k) - 1)))) >= _-0sH)
                {
                    _arg1.a[(k + k.t)] = (_arg1.a[(k + k.t)] - _-0sH);
                    _arg1.a[((k + k.t) + 1)] = 1;
                };
                k++;
            };
            if (_arg1.t > 0)
            {
                _arg1.a[(_arg1.t - 1)] = (_arg1.a[(_arg1.t - 1)] + k._-dn(k, k.a[k], _arg1, (2 * k), 0, 1));
            };
            _arg1.s = 0;
            _arg1._-4Jf();
        }
        bi_internal function _-xm(_arg1:BigInteger, _arg2:BigInteger=null, _arg3:BigInteger=null):void
        {
            var qd:int;
            var m:BigInteger = _arg1;
            var q = _arg2;
            var r = _arg3;
            var pm:BigInteger = m.abs();
            if (pm.t <= 0)
            {
                return;
            };
            var pt:BigInteger = this.abs();
            if (pt.t < pm.t)
            {
                if (q != null)
                {
                    q.fromInt(0);
                };
                if (r != null)
                {
                    this.copyTo(r);
                };
                return;
            };
            if (r == null)
            {
                r = this._-3NT();
            };
            var y:BigInteger = this._-3NT();
            var ts:int = this.s;
            var ms:int = m.s;
            var nsh:int = (_-1vG - this._-1K4(pm.a[(pm.t - 1)]));
            if (nsh > 0)
            {
                pm._-18Y(nsh, y);
                pt._-18Y(nsh, r);
            }
            else
            {
                pm.copyTo(y);
                pt.copyTo(r);
            };
            var ys:int = y.t;
            var y0:int = y.a[(ys - 1)];
            if (y0 == 0)
            {
                return;
            };
            var yt:Number = ((y0 * (1 << F1)) + (((ys)>1) ? (y.a[(ys - 2)] >> F2) : 0));
            var d1:Number = (_-4k9 / yt);
            var d2:Number = ((1 << F1) / yt);
            var e:Number = (1 << F2);
            var i:int = r.t;
            var j:int = (i - ys);
            var t:BigInteger = (((q)==null) ? this._-3NT() : q);
            y._-0dO(j, t);
            if (r._-2uh(t) >= 0)
            {
                var _local5 = r.t++;
                r.a[_local5] = 1;
                r._-1kn(t, r);
            };
            _-37z._-0dO(ys, t);
            t._-1kn(y, y);
            while (y.t < ys)
            {
                y.(y.t++); //not popped
            };
            while ((j = (j - 1)), j >= 0)
            {
                qd = (((r.a[--i])==y0) ? _-1cr : ((Number(r.a[i]) * d1) + ((Number(r.a[(i - 1)]) + e) * d2)));
                if ((r.a[i] = (r.a[i] + y._-dn(0, qd, r, j, 0, ys))) < qd)
                {
                    y._-0dO(j, t);
                    r._-1kn(t, r);
                    while ((qd = (qd - 1)), r.a[i] < qd)
                    {
                        r._-1kn(t, r);
                    };
                };
            };
            if (q != null)
            {
                r._-0v5(ys, q);
                if (ts != ms)
                {
                    _-1Ge._-1kn(q, q);
                };
            };
            r.t = ys;
            r._-4Jf();
            if (nsh > 0)
            {
                r._-1v1(nsh, r);
            };
            if (ts < 0)
            {
                _-1Ge._-1kn(r, r);
            };
        }
        bi_internal function _-ff():int
        {
            if (this.t < 1)
            {
                return (0);
            };
            var k:int = this.a[0];
            if ((k & 1) == 0)
            {
                return (0);
            };
            var k = (k & 3);
            k = ((k * (2 - ((k & 15) * k))) & 15);
            k = ((k * (2 - ((k & 0xFF) * k))) & 0xFF);
            k = ((k * (2 - (((k & 0xFFFF) * k) & 0xFFFF))) & 0xFFFF);
            k = ((k * (2 - ((k * k) % _-0sH))) % _-0sH);
            return ((((k)>0) ? (_-0sH - k) : -(k)));
        }
        bi_internal function _-4g5():Boolean
        {
            return (((((this.t)>0) ? (this.a[0] & 1) : this.s) == 0));
        }
        bi_internal function _-dX(_arg1:int, _arg2:_-XG):BigInteger
        {
            var _local7:BigInteger;
            if ((((_arg1 > 0xFFFFFFFF)) || ((_arg1 < 1))))
            {
                return (_-37z);
            };
            var k:BigInteger = this._-3NT();
            var k:BigInteger = this._-3NT();
            var k:BigInteger = _arg2._-554(this);
            var k:int = (this._-1K4(_arg1) - 1);
            k.copyTo(k);
            while (--k >= 0)
            {
                _arg2._-3Ym(k, k);
                if ((_arg1 & (1 << k)) > 0)
                {
                    _arg2._-2fN(k, k, k);
                }
                else
                {
                    _local7 = k;
                    k = _local7;
                };
            };
            return (_arg2._-Fp(k));
        }
        bi_internal function _-4Lu(_arg1:String, _arg2:int):int
        {
            return (parseInt(_arg1.charAt(_arg2), 36));
        }
        protected function _-3NT()
        {
            return (new BigInteger());
        }
        public function clone():BigInteger
        {
            var k:BigInteger = new BigInteger();
            this.copyTo(k);
            return (k);
        }
        public function _-33x():int
        {
            if (this.s < 0)
            {
                if (this.t == 1)
                {
                    return ((this.a[0] - _-0sH));
                };
                if (this.t == 0)
                {
                    return (-1);
                };
            }
            else
            {
                if (this.t == 1)
                {
                    return (this.a[0]);
                };
                if (this.t == 0)
                {
                    return (0);
                };
            };
            return ((((this.a[1] & ((1 << (32 - _-1vG)) - 1)) << _-1vG) | this.a[0]));
        }
        public function _-2IT():int
        {
            return ((((this.t)==0) ? this.s : ((this.a[0] << 24) >> 24)));
        }
        public function _-2Qu():int
        {
            return ((((this.t)==0) ? this.s : ((this.a[0] << 16) >> 16)));
        }
        protected function _-1HN(_arg1:Number):int
        {
            return (Math.floor(((Math.LN2 * _-1vG) / Math.log(_arg1))));
        }
        public function _-1KB():int
        {
            if (this.s < 0)
            {
                return (-1);
            };
            if ((((this.t <= 0)) || ((((this.t == 1)) && ((this.a[0] <= 0))))))
            {
                return (0);
            };
            return (1);
        }
        public function _-BU(_arg1:uint=10):String
        {
            if ((((((this._-1KB() == 0)) || ((_arg1 < 2)))) || ((_arg1 > 32))))
            {
                return ("0");
            };
            var k:int = this._-1HN(_arg1);
            var k:Number = Math.pow(_arg1, k);
            var k:BigInteger = _-3ZN(k);
            var k:BigInteger = this._-3NT();
            var k:BigInteger = this._-3NT();
            var k:String = "";
            this._-xm(k, k, k);
            while (k._-1KB() > 0)
            {
                k = ((k + k._-33x()).toString(_arg1).substr(1) + k);
                k._-xm(k, k, k);
            };
            return ((k._-33x().toString(_arg1) + k));
        }
        public function _-4pe(_arg1:String, _arg2:int=10):void
        {
            var k:int;
            this.fromInt(0);
            var k:int = this._-1HN(_arg2);
            var k:Number = Math.pow(_arg2, k);
            var k:Boolean;
            var k:int;
            var k:int;
            var k:int;
            while (k < _arg1.length)
            {
                k = this._-4Lu(_arg1, k);
                if (k < 0)
                {
                    if ((((_arg1.charAt(k) == "-")) && ((this._-1KB() == 0))))
                    {
                        k = true;
                    };
                }
                else
                {
                    k = ((_arg2 * k) + k);
                    ++k;
                    if (k >= k)
                    {
                        this._-J1(k);
                        this._-0de(k, 0);
                        k = 0;
                        k = 0;
                    };
                };
                k++;
            };
            if (k > 0)
            {
                this._-J1(Math.pow(_arg2, k));
                this._-0de(k, 0);
            };
            if (k)
            {
                BigInteger._-1Ge._-1kn(this, this);
            };
        }
        public function _-Kp():ByteArray
        {
            var k:int;
            var k:int = this.t;
            var k:ByteArray = new ByteArray();
            k[0] = this.s;
            var k:int = (_-1vG - ((k * _-1vG) % 8));
            var k:int;
            var _temp1 = k;
            k = (k - 1);
            if (_temp1 > 0)
            {
                if ((((k < _-1vG)) && (!(((k = (this.a[k] >> k)) == ((this.s & _-1cr) >> k))))))
                {
                    var _local6 = k++;
                    k[_local6] = (k | (this.s << (_-1vG - k)));
                };
                while (k >= 0)
                {
                    if (k < 8)
                    {
                        k = ((this.a[k] & ((1 << k) - 1)) << (8 - k));
                        var _temp2 = k;
                        k = (k + (_-1vG - 8));
                        k = (_temp2 | (this.a[--k] >> k));
                    }
                    else
                    {
                        k = (k - 8);
                        k = ((this.a[k] >> k) & 0xFF);
                        if (k <= 0)
                        {
                            k = (k + _-1vG);
                            k--;
                        };
                    };
                    if ((k & 128) != 0)
                    {
                        k = (k | -256);
                    };
                    if ((((k == 0)) && (!(((this.s & 128) == (k & 128))))))
                    {
                        k++;
                    };
                    if ((((k > 0)) || (!((k == this.s)))))
                    {
                        _local6 = k++;
                        k[_local6] = k;
                    };
                };
            };
            return (k);
        }
        public function _-DQ(_arg1:BigInteger):Boolean
        {
            return ((this._-2uh(_arg1) == 0));
        }
        public function min(_arg1:BigInteger):BigInteger
        {
            return ((((this._-2uh(_arg1))<0) ? this : _arg1));
        }
        public function max(_arg1:BigInteger):BigInteger
        {
            return ((((this._-2uh(_arg1))>0) ? this : _arg1));
        }
        protected function _-P8(_arg1:BigInteger, _arg2:Function, _arg3:BigInteger):void
        {
            var k:int;
            var k:int;
            var k:int = Math.min(_arg1.t, this.t);
            k = 0;
            while (k < k)
            {
                _arg3.a[k] = _arg2(this.a[k], _arg1.a[k]);
                k++;
            };
            if (_arg1.t < this.t)
            {
                k = (_arg1.s & _-1cr);
                while (k < this.t)
                {
                    _arg3.a[k] = _arg2(this.a[k], k);
                    k++;
                };
                _arg3.t = this.t;
            }
            else
            {
                k = (this.s & _-1cr);
                while (k < _arg1.t)
                {
                    _arg3.a[k] = _arg2(k, _arg1.a[k]);
                    k++;
                };
                _arg3.t = _arg1.t;
            };
            _arg3.s = _arg2(this.s, _arg1.s);
            _arg3._-4Jf();
        }
        private function _-5BF(_arg1:int, _arg2:int):int
        {
            return ((_arg1 & _arg2));
        }
        public function _-46U(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-P8(_arg1, this._-5BF, k);
            return (k);
        }
        private function _-1bp(_arg1:int, _arg2:int):int
        {
            return ((_arg1 | _arg2));
        }
        public function or(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-P8(_arg1, this._-1bp, k);
            return (k);
        }
        private function _-0Up(_arg1:int, _arg2:int):int
        {
            return ((_arg1 ^ _arg2));
        }
        public function _-3mo(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-P8(_arg1, this._-0Up, k);
            return (k);
        }
        private function _-3np(_arg1:int, _arg2:int):int
        {
            return ((_arg1 & ~(_arg2)));
        }
        public function _-3n6(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-P8(_arg1, this._-3np, k);
            return (k);
        }
        public function not():BigInteger
        {
            var k:BigInteger = new BigInteger();
            var k:int;
            while (k < this.t)
            {
                k[k] = (_-1cr & ~(this.a[k]));
                k++;
            };
            k.t = this.t;
            k.s = ~(this.s);
            return (k);
        }
        public function _-4cE(_arg1:int):BigInteger
        {
            var k:BigInteger = new BigInteger();
            if (_arg1 < 0)
            {
                this._-1v1(-(_arg1), k);
            }
            else
            {
                this._-18Y(_arg1, k);
            };
            return (k);
        }
        public function _-0xn(_arg1:int):BigInteger
        {
            var k:BigInteger = new BigInteger();
            if (_arg1 < 0)
            {
                this._-18Y(-(_arg1), k);
            }
            else
            {
                this._-1v1(_arg1, k);
            };
            return (k);
        }
        private function _-HO(_arg1:int):int
        {
            if (_arg1 == 0)
            {
                return (-1);
            };
            var k:int;
            if ((_arg1 & 0xFFFF) == 0)
            {
                k = (_arg1 >> 16);
                k = (k + 16);
            };
            if ((_arg1 & 0xFF) == 0)
            {
                k = (_arg1 >> 8);
                k = (k + 8);
            };
            if ((_arg1 & 15) == 0)
            {
                k = (_arg1 >> 4);
                k = (k + 4);
            };
            if ((_arg1 & 3) == 0)
            {
                k = (_arg1 >> 2);
                k = (k + 2);
            };
            if ((_arg1 & 1) == 0)
            {
                k++;
            };
            return (k);
        }
        public function _-1QA():int
        {
            var k:int;
            while (k < this.t)
            {
                if (this.a[k] != 0)
                {
                    return (((k * _-1vG) + this._-HO(this.a[k])));
                };
                k++;
            };
            if (this.s < 0)
            {
                return ((this.t * _-1vG));
            };
            return (-1);
        }
        private function _-4Pm(_arg1:int):int
        {
            var k:uint;
            while (_arg1 != 0)
            {
                k = (_arg1 & (_arg1 - 1));
                k++;
            };
            return (k);
        }
        public function _-2Ty():int
        {
            var k:int;
            var k = (this.s & _-1cr);
            var k:int;
            while (k < this.t)
            {
                k = (k + this._-4Pm((this.a[k] ^ k)));
                k++;
            };
            return (k);
        }
        public function _-3af(_arg1:int):Boolean
        {
            var k:int = Math.floor((_arg1 / _-1vG));
            if (k >= this.t)
            {
                return (!((this.s == 0)));
            };
            return (!(((this.a[k] & (1 << (_arg1 % _-1vG))) == 0)));
        }
        protected function _-4W8(_arg1:int, _arg2:Function):BigInteger
        {
            var k:BigInteger = BigInteger._-37z._-4cE(_arg1);
            this._-P8(k, _arg2, k);
            return (k);
        }
        public function _-54G(_arg1:int):BigInteger
        {
            return (this._-4W8(_arg1, this._-1bp));
        }
        public function _-3yQ(_arg1:int):BigInteger
        {
            return (this._-4W8(_arg1, this._-3np));
        }
        public function _-2Yk(_arg1:int):BigInteger
        {
            return (this._-4W8(_arg1, this._-0Up));
        }
        protected function _-2Ie(_arg1:BigInteger, _arg2:BigInteger):void
        {
            var k:int;
            var k:int;
            var k:int = Math.min(_arg1.t, this.t);
            while (k < k)
            {
                k = (k + (this.a[k] + _arg1.a[k]));
                var _local6 = k++;
                _arg2.a[_local6] = (k & _-1cr);
                k = (k >> _-1vG);
            };
            if (_arg1.t < this.t)
            {
                k = (k + _arg1.s);
                while (k < this.t)
                {
                    k = (k + this.a[k]);
                    _local6 = k++;
                    _arg2.a[_local6] = (k & _-1cr);
                    k = (k >> _-1vG);
                };
                k = (k + this.s);
            }
            else
            {
                k = (k + this.s);
                while (k < _arg1.t)
                {
                    k = (k + _arg1.a[k]);
                    _local6 = k++;
                    _arg2.a[_local6] = (k & _-1cr);
                    k = (k >> _-1vG);
                };
                k = (k + _arg1.s);
            };
            _arg2.s = (((k)<0) ? -1 : 0);
            if (k > 0)
            {
                _local6 = k++;
                _arg2.a[_local6] = k;
            }
            else
            {
                if (k < -1)
                {
                    _local6 = k++;
                    _arg2.a[_local6] = (_-0sH + k);
                };
            };
            _arg2.t = k;
            _arg2._-4Jf();
        }
        public function add(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-2Ie(_arg1, k);
            return (k);
        }
        public function subtract(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-1kn(_arg1, k);
            return (k);
        }
        public function _-2yK(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-3EG(_arg1, k);
            return (k);
        }
        public function _-0KM(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-xm(_arg1, k, null);
            return (k);
        }
        public function _-5Df(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            this._-xm(_arg1, null, k);
            return (k);
        }
        public function _-3aq(_arg1:BigInteger):Array
        {
            var k:BigInteger = new BigInteger();
            var k:BigInteger = new BigInteger();
            this._-xm(_arg1, k, k);
            return ([k, k]);
        }
        bi_internal function _-J1(_arg1:int):void
        {
            this.a[this.t] = this._-dn(0, (_arg1 - 1), this, 0, 0, this.t);
            this.t++;
            this._-4Jf();
        }
        bi_internal function _-0de(_arg1:int, _arg2:int):void
        {
            while (this.t <= _arg2)
            {
                var _local3 = this.t++;
                this.a[_local3] = 0;
            };
            this.a[_arg2] = (this.a[_arg2] + _arg1);
            while (this.a[_arg2] >= _-0sH)
            {
                this.a[_arg2] = (this.a[_arg2] - _-0sH);
                ++k;
                if (k >= this.t)
                {
                    _local3 = this.t++;
                    this.a[_local3] = 0;
                };
                _local3 = this.a;
                var _local4 = k;
                var _local5 = (_local3[_local4] + 1);
                _local3[_local4] = _local5;
            };
        }
        public function pow(_arg1:int):BigInteger
        {
            return (this._-dX(_arg1, new _-1SR()));
        }
        bi_internal function _-42f(_arg1:BigInteger, _arg2:int, _arg3:BigInteger):void
        {
            var k:int;
            var k:int = Math.min((this.t + _arg1.t), _arg2);
            _arg3.s = 0;
            _arg3.t = k;
            while (k > 0)
            {
                var _local6 = --k;
                _arg3.a[_local6] = 0;
            };
            k = (_arg3.t - this.t);
            while (k < k)
            {
                _arg3.a[(k + this.t)] = this._-dn(0, _arg1.a[k], _arg3, k, 0, this.t);
                k++;
            };
            k = Math.min(_arg1.t, _arg2);
            while (k < k)
            {
                this._-dn(0, _arg1.a[k], _arg3, k, 0, (_arg2 - k));
                k++;
            };
            _arg3._-4Jf();
        }
        bi_internal function _-1fT(_arg1:BigInteger, _arg2:int, _arg3:BigInteger):void
        {
            k--;
            var k:int = (_arg3.t = ((this.t + _arg1.t) - k));
            _arg3.s = 0;
            while (--k >= 0)
            {
                _arg3.a[k] = 0;
            };
            k = Math.max((k - this.t), 0);
            while (k < _arg1.t)
            {
                _arg3.a[((this.t + k) - k)] = this._-dn((k - k), _arg1.a[k], _arg3, 0, 0, ((this.t + k) - k));
                k++;
            };
            _arg3._-4Jf();
            _arg3._-0v5(1, _arg3);
        }
        public function _-3ZS(_arg1:BigInteger, _arg2:BigInteger):BigInteger
        {
            var k:int;
            var k:_-XG;
            var k:int;
            var k:BigInteger;
            var k:BigInteger;
            var k:int = _arg1._-3Ti();
            var k:BigInteger = _-3ZN(1);
            if (k <= 0)
            {
                return (k);
            };
            if (k < 18)
            {
                k = 1;
            }
            else
            {
                if (k < 48)
                {
                    k = 3;
                }
                else
                {
                    if (k < 144)
                    {
                        k = 4;
                    }
                    else
                    {
                        if (k < 0x0300)
                        {
                            k = 5;
                        }
                        else
                        {
                            k = 6;
                        };
                    };
                };
            };
            if (k < 8)
            {
                k = new _-2QO(_arg2);
            }
            else
            {
                if (_arg2._-4g5())
                {
                    k = new _-4Ej(_arg2);
                }
                else
                {
                    k = new MontgomeryReduction(_arg2);
                };
            };
            var k:Array = [];
            var k:int = 3;
            var k:int = (k - 1);
            var k:int = ((1 << k) - 1);
            k[1] = k._-554(this);
            if (k > 1)
            {
                k = new BigInteger();
                k._-3Ym(k[1], k);
                while (k <= k)
                {
                    k[k] = new BigInteger();
                    k._-2fN(k, k[(k - 2)], k[k]);
                    k = (k + 2);
                };
            };
            var k:int = (_arg1.t - 1);
            var k:Boolean = true;
            var k:BigInteger = new BigInteger();
            k = (this._-1K4(_arg1.a[k]) - 1);
            while (k >= 0)
            {
                if (k >= k)
                {
                    k = ((_arg1.a[k] >> (k - k)) & k);
                }
                else
                {
                    k = ((_arg1.a[k] & ((1 << (k + 1)) - 1)) << (k - k));
                    if (k > 0)
                    {
                        k = (k | (_arg1.a[(k - 1)] >> ((_-1vG + k) - k)));
                    };
                };
                while ((k & 1) == 0)
                {
                    k = (k >> 1);
                    k--;
                };
                k = (k - k);
                if (k < 0)
                {
                    k = (k + _-1vG);
                    k--;
                };
                if (k)
                {
                    k[k].copyTo(k);
                    k = false;
                }
                else
                {
                    while (k > 1)
                    {
                        k._-3Ym(k, k);
                        k._-3Ym(k, k);
                        k = (k - 2);
                    };
                    if (k > 0)
                    {
                        k._-3Ym(k, k);
                    }
                    else
                    {
                    };
                    k._-2fN(k, k[k], k);
                };
                while ((((k >= 0)) && (((_arg1.a[k] & (1 << k)) == 0))))
                {
                    k._-3Ym(k, k);
                    --k;
                    if (k < 0)
                    {
                        k = (_-1vG - 1);
                        k--;
                    };
                };
            };
            return (k._-Fp(k));
        }
        public function _-4gf(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger;
            var k:BigInteger = (((this.s)<0) ? this._-wA() : this.clone());
            var k:BigInteger = (((_arg1.s)<0) ? _arg1._-wA() : _arg1.clone());
            if (k._-2uh(k) < 0)
            {
            };
            var k:int = k._-1QA();
            var k:int = k._-1QA();
            if (k < 0)
            {
                return (k);
            };
            if (k < k)
            {
            };
            if (k > 0)
            {
                k._-1v1(k, k);
                k._-1v1(k, k);
            };
            while (k._-1KB() > 0)
            {
                k = k._-1QA();
                if (k > 0)
                {
                    k._-1v1(k, k);
                };
                k = k._-1QA();
                if (k > 0)
                {
                    k._-1v1(k, k);
                };
                if (k._-2uh(k) >= 0)
                {
                    k._-1kn(k, k);
                    k._-1v1(1, k);
                }
                else
                {
                    k._-1kn(k, k);
                    k._-1v1(1, k);
                };
            };
            if (k > 0)
            {
                k._-18Y(k, k);
            };
            return (k);
        }
        protected function _-0j3(_arg1:int):int
        {
            var _local4:int;
            if (_arg1 <= 0)
            {
                return (0);
            };
            var k:int = (_-0sH % _arg1);
            var k:int = (((this.s)<0) ? (_arg1 - 1) : 0);
            if (this.t > 0)
            {
                if (k == 0)
                {
                    k = (this.a[0] % _arg1);
                }
                else
                {
                    _local4 = (this.t - 1);
                    while (_local4 >= 0)
                    {
                        k = (((k * k) + this.a[_local4]) % _arg1);
                        _local4--;
                    };
                };
            };
            return (k);
        }
        public function _-zq(_arg1:BigInteger):BigInteger
        {
            var k:Boolean = _arg1._-4g5();
            if (((((this._-4g5()) && (k))) || ((_arg1._-1KB() == 0))))
            {
                return (BigInteger._-1Ge);
            };
            var k:BigInteger = _arg1.clone();
            var k:BigInteger = this.clone();
            var k:BigInteger = _-3ZN(1);
            var k:BigInteger = _-3ZN(0);
            var k:BigInteger = _-3ZN(0);
            var k:BigInteger = _-3ZN(1);
            while (k._-1KB() != 0)
            {
                while (k._-4g5())
                {
                    k._-1v1(1, k);
                    if (k)
                    {
                        if (((!(k._-4g5())) || (!(k._-4g5()))))
                        {
                            k._-2Ie(this, k);
                            k._-1kn(_arg1, k);
                        };
                        k._-1v1(1, k);
                    }
                    else
                    {
                        if (!k._-4g5())
                        {
                            k._-1kn(_arg1, k);
                        };
                    };
                    k._-1v1(1, k);
                };
                while (k._-4g5())
                {
                    k._-1v1(1, k);
                    if (k)
                    {
                        if (((!(k._-4g5())) || (!(k._-4g5()))))
                        {
                            k._-2Ie(this, k);
                            k._-1kn(_arg1, k);
                        };
                        k._-1v1(1, k);
                    }
                    else
                    {
                        if (!k._-4g5())
                        {
                            k._-1kn(_arg1, k);
                        };
                    };
                    k._-1v1(1, k);
                };
                if (k._-2uh(k) >= 0)
                {
                    k._-1kn(k, k);
                    if (k)
                    {
                        k._-1kn(k, k);
                    };
                    k._-1kn(k, k);
                }
                else
                {
                    k._-1kn(k, k);
                    if (k)
                    {
                        k._-1kn(k, k);
                    };
                    k._-1kn(k, k);
                };
            };
            if (k._-2uh(BigInteger._-37z) != 0)
            {
                return (BigInteger._-1Ge);
            };
            if (k._-2uh(_arg1) >= 0)
            {
                return (k.subtract(_arg1));
            };
            if (k._-1KB() < 0)
            {
                k._-2Ie(_arg1, k);
            }
            else
            {
                return (k);
            };
            if (k._-1KB() < 0)
            {
                return (k.add(_arg1));
            };
            return (k);
        }
        public function _-m8(_arg1:int):Boolean
        {
            var k:int;
            var k:int;
            var k:int;
            var k:BigInteger = this.abs();
            if ((((k.t == 1)) && ((k.a[0] <= _-2jw[(_-2jw.length - 1)]))))
            {
                k = 0;
                while (k < _-2jw.length)
                {
                    if (k[0] == _-2jw[k])
                    {
                        return (true);
                    };
                    k++;
                };
                return (false);
            };
            if (k._-4g5())
            {
                return (false);
            };
            k = 1;
            while (k < _-2jw.length)
            {
                k = _-2jw[k];
                k = (k + 1);
                while ((((k < _-2jw.length)) && ((k < _-17F))))
                {
                    k = (k * _-2jw[k++]);
                };
                k = k._-0j3(k);
                while (k < k)
                {
                    if ((k % _-2jw[k++]) == 0)
                    {
                        return (false);
                    };
                };
            };
            return (k._-4To(_arg1));
        }
        protected function _-4To(_arg1:int):Boolean
        {
            var k:BigInteger;
            var k:int;
            var k:BigInteger = this.subtract(BigInteger._-37z);
            var k:int = k._-1QA();
            if (k <= 0)
            {
                return (false);
            };
            var k:BigInteger = k._-0xn(k);
            k = ((_arg1 + 1) >> 1);
            if (k > _-2jw.length)
            {
                k = _-2jw.length;
            };
            var k:BigInteger = new BigInteger();
            var k:int;
            while (k < k)
            {
                k.fromInt(_-2jw[k]);
                k = k._-3ZS(k, this);
                if (((!((k._-2uh(BigInteger._-37z) == 0))) && (!((k._-2uh(k) == 0)))))
                {
                    k = 1;
                    while ((((k++ < k)) && (!((k._-2uh(k) == 0)))))
                    {
                        k = k._-29Q(2, this);
                        if (k._-2uh(BigInteger._-37z) == 0)
                        {
                            return (false);
                        };
                    };
                    if (k._-2uh(k) != 0)
                    {
                        return (false);
                    };
                };
                k++;
            };
            return (true);
        }
        public function _-3Vq(_arg1:int, _arg2:int):void
        {
            if (!this._-3af((_arg1 - 1)))
            {
                this._-P8(BigInteger._-37z._-4cE((_arg1 - 1)), this._-1bp, this);
            };
            if (this._-4g5())
            {
                this._-0de(1, 0);
            };
            while (!(this._-m8(_arg2)))
            {
                this._-0de(2, 0);
                while (this._-3Ti() > _arg1)
                {
                    this._-1kn(BigInteger._-37z._-4cE((_arg1 - 1)), this);
                };
            };
        }

    }
}//package _-2r-

//------------------------------------------------------------
//_-2r-.MontgomeryReduction

package _-2r-
{
    import _-2r-.BigInteger;
    import _-2r-.bi_internal;
    import _-2r-.*;
    use namespace bi_internal;

    class MontgomeryReduction implements _-XG 
    {

        private var m:BigInteger;
        private var _-2qJ:int;
        private var _-2:int;
        private var _-5Cs:int;
        private var _-dC:int;
        private var _-nb:int;

        public function MontgomeryReduction(_arg1:BigInteger)
        {
            this.m = _arg1;
            this._-2qJ = _arg1._-ff();
            this._-2 = (this._-2qJ & 32767);
            this._-5Cs = (this._-2qJ >> 15);
            this._-dC = ((1 << (BigInteger._-1vG - 15)) - 1);
            this._-nb = (2 * _arg1.t);
        }
        public function _-554(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            _arg1.abs()._-0dO(this.m.t, k);
            k._-xm(this.m, null, k);
            if ((((_arg1.s < 0)) && ((k._-2uh(BigInteger._-1Ge) > 0))))
            {
                this.m._-1kn(k, k);
            };
            return (k);
        }
        public function _-Fp(_arg1:BigInteger):BigInteger
        {
            var k:BigInteger = new BigInteger();
            _arg1.copyTo(k);
            this._-0R0(k);
            return (k);
        }
        public function _-0R0(_arg1:BigInteger):void
        {
            var k:int;
            var k:int;
            while (_arg1.t <= this._-nb)
            {
                var _local5 = _arg1.t++;
                _arg1.a[_local5] = 0;
            };
            var k:int;
            while (k < this.m.t)
            {
                k = (_arg1.a[k] & 32767);
                k = (((k * this._-2) + ((((k * this._-5Cs) + ((_arg1.a[k] >> 15) * this._-2)) & this._-dC) << 15)) & BigInteger._-1cr);
                k = (k + this.m.t);
                _arg1.a[k] = (_arg1.a[k] + this.m._-dn(0, k, _arg1, k, 0, this.m.t));
                while (_arg1.a[k] >= BigInteger._-0sH)
                {
                    _arg1.a[k] = (_arg1.a[k] - BigInteger._-0sH);
                    _local5 = _arg1.a;
                    var _local6 = ++k;
                    var _local7 = (_local5[_local6] + 1);
                    _local5[_local6] = _local7;
                };
                k++;
            };
            _arg1._-4Jf();
            _arg1._-0v5(this.m.t, _arg1);
            if (_arg1._-2uh(this.m) >= 0)
            {
                _arg1._-1kn(this.m, _arg1);
            };
        }
        public function _-3Ym(_arg1:BigInteger, _arg2:BigInteger):void
        {
            _arg1._-1MU(_arg2);
            this._-0R0(_arg2);
        }
        public function _-2fN(_arg1:BigInteger, _arg2:BigInteger, _arg3:BigInteger):void
        {
            _arg1._-3EG(_arg2, _arg3);
            this._-0R0(_arg3);
        }

    }
}//package _-2r-

//------------------------------------------------------------
//_-2rX._-3Og

package _-2rX
{
    import flash.display.MovieClip;

    public class _-3Og 
    {

        static const _-20o:Array = new Array([-212973886, -1206738731, -518848485, -497379978, -1399054594, -552441464, -99957755, -407767632, 493906243, -1519497229, 190593620, 81894032, -1974581098, -933349573, -1324669088, 2088899137], [-1053782773, 1009664278, -363308025, -1503168564, 846500697, -1844161953, -1517742509, -1033396565, 658011576, -325662510, -64638, 2146881112, -74210095, 520221550, -540487281, -1273913994], [1828355974, 714777731, 761447366, 1787816625, -2013708264, -92164902, 613088687, -56520924, 1714110638, 1272138284, 77761917, 1454298766, -480656066, 731240038, -1554624909, -575314439, -1455649301, -1083750653], [-1043031562, -384129395, 944339361, 1631809731, -1974985922, -1807224595, -1362191103, 402450769, -1942783047, -1200802591, -804843186, 1828637356, -171297292, -1491447119, 1815028951, -111564309, 1205927416, 594946079, 523995691, 530304196, -1362191103, 402450769, -1185124818, 313191551, 534694241, -2003671961, 1768716649, -527348292], [-772706011, -818911873, -1944345829, -1742549990, -1958219092, 1253620692, 305451088, 803909642, 1783103843, -1377165808, -624687421, 1795470912, 1626469459, -898662295, 714896279, -1824919751, 1121829381, 2061272034, 930130146, 916484163, 843728397, -266818552, 1521494336, 241865330, 1565670065, 317609487, 1976047064, 1149896185], [-922504880, 1732701289, -763808529, 652484110, 832462662, 1838487878, -1863935671, -274864445, -1011981285, 693086905, -1256077009, 334130608, 1649337877, -190704056, -2030971950, 2076765625], [-2005616662, -2122802995, -1604469311, 799244401, 124268563, 561900709, -1051627932, 294800625, -1778998108, 1579780328, 1276639093, 1110240173, -1051627932, 294800625, -2005616662, -2122802995, -2045629712, -1302134793], [167023801, 1160029730, 1447870052, 2064591344, -629168539, 1691669643, -2103545683, 2120435988, 226684744, 170656591, -417487676, 98936272, 994020894, -163278151, 1147156308, -430499114, 72845285, -134325205, -1214130991, -1905460705, 1165440877, 1794282699, 1052641979, -541904475]);
        static const _-2kz:Array = new Array([1252500378, -1845261614, 994194134, -1101147100], [752585741, -357927949, -50686418, 607191204], [882886414, -1817459875, 221886648, 1254846017], [1288141037, -391700601, 1935810747, -688353995], [-229377959, 1854623369, 572042150, -1280568485], [-1275335167, -373553422, -1167265709, 19721000], [2064796286, 1334016472, -38862449, 1670094300], [1464612463, -129373649, 2055230682, -1764184844]);
        static const _-5DN:Array = new Array(_-3Og._-q7(146, -165), _-3Og._-q7(145, -164), _-3Og._-q7(148, -167), _-3Og._-q7(147, -166), _-3Og._-q7(142, -169), _-3Og._-q7(141, -168), _-3Og._-q7(144, -171), _-3Og._-q7(143, -170));
        static const _-0rs:Boolean = true;

        public static function _-q7(_arg1:int, _arg2:int):String
        {
            var _local3:String;
            var _local4:int;
            var _local5:int;
            var _local6:int;
            var _local7:int;
            var _local8:*;
            var _local9:*;
            _local3 = "";
            _local4 = 0;
            _local5 = _-20o[((_arg1 - 5) ^ 141)].length;
            while (_local4 < _local5)
            {
                _local6 = int(_-20o[((_arg1 - 5) ^ 141)][_local4]);
                _local4++;
                _local7 = int(_-20o[((_arg1 - 5) ^ 141)][_local4]);
                _local8 = 2654435769;
                _local9 = 84941944608;
                while (_local9 != 0)
                {
                    _local7 = (_local7 - ((((_local6 << 4) ^ (_local6 >>> 5)) + _local6) ^ (_local9 + int(_-2kz[((_arg2 + 3) ^ -162)][((_local9 >>> 11) & 3)]))));
                    _local9 = (_local9 - _local8);
                    _local6 = (_local6 - ((((_local7 << 4) ^ (_local7 >>> 5)) + _local7) ^ (_local9 + int(_-2kz[((_arg2 + 3) ^ -162)][(_local9 & 3)]))));
                };
                _local3 = (_local3 + (String.fromCharCode(_local6) + String.fromCharCode(_local7)));
                _local4++;
            };
            if (_local3.charCodeAt((_local3.length - 1)) == 0)
            {
                _local3 = _local3.substring(0, (_local3.length - 1));
            };
            return (_local3);
        }
        public static function _-0Yk(_arg1:MovieClip):Boolean
        {
            return (true);
            return (false);
        }

    }
}//package _-2rX

//------------------------------------------------------------
//_-2rY._-1nj

package _-2rY
{
    import _-4OG._-4cY;
    import _-4GV.HabboNavigator;
    import _-32h._-29Y;

    public class _-1nj extends GuestRoomListCtrl 
    {

        private var _-JS:_-4cY;

        public function _-1nj(_arg1:HabboNavigator)
        {
            super(_arg1, -6, false);
        }
        public function set category(_arg1:_-4cY):void
        {
            this._-JS = _arg1;
        }
        override public function getRooms():Array
        {
            return (this._-JS.rooms);
        }
        override public function beforeEnterRoom(_arg1:int):void
        {
            navigator.data.roomSessionTags = new _-29Y(this._-JS.code, ("" + (_arg1 + 2)));
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY._-4Ze

package _-2rY
{
    import _-4GV.HabboNavigator;
    import _-1ae.IBitmapWrapperWindow;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import flash.display.BitmapData;
    import _-1B-.*;

    public class _-4Ze implements _-1zZ 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0qP:String;
        private var _-5Q:String;
        private var _-1pb:IBitmapWrapperWindow;
        private var _disposed:Boolean;

        public function _-4Ze(_arg1:HabboNavigator, _arg2:String, _arg3:IBitmapWrapperWindow)
        {
            this._-2bJ = _arg1;
            this._-0qP = _arg2;
            this._-1pb = _arg3;
            var k:String = this._-2bJ.configuration.getKey("image.library.url");
            this._-5Q = (k + this._-0qP);
            _-Nb.log(("[OFFICIAL ROOM ICON IMAGE DOWNLOADER] : " + this._-5Q));
        }
        public function _-1Pz():void
        {
            var _local1:URLRequest;
            var _local2:_-4Rz;
            if (this._-2bJ.assets.hasAsset(this._-0qP))
            {
                this._-1xp();
            }
            else
            {
                _local1 = new URLRequest(this._-5Q);
                _local2 = this._-2bJ.assets.loadAssetFromFile(this._-0qP, _local1, "image/gif");
                _local2.addEventListener(AssetLoaderEvent._-1Tr, this._-3B6);
                _local2.addEventListener(AssetLoaderEvent._-4ar, this._-0Io);
            };
        }
        private function _-3B6(_arg1:AssetLoaderEvent):void
        {
            if (this._disposed)
            {
                return;
            };
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k == null)
            {
                _-Nb.log((("Loading pic from url: " + this._-5Q) + " failed. loaderStruct == null"));
                return;
            };
            _-Nb.log(((("IMAGE READY: " + this._-0qP) + ", ") + k));
            this._-1xp();
        }
        private function _-1xp():void
        {
            var k:BitmapData;
            if (((((((this._-2bJ) && (!(this._-2bJ.disposed)))) && (this._-1pb))) && (!(this._-1pb.disposed))))
            {
                k = this._-2bJ._-1JQ(this._-0qP, "");
                if (k)
                {
                    this._-1pb._-30Z = false;
                    this._-1pb.bitmap = k;
                    this._-1pb.width = k.width;
                    this._-1pb.height = k.height;
                    this._-1pb.visible = true;
                }
                else
                {
                    _-Nb.log(("OfficialRoomImageLoader - Image not found: " + this._-0qP));
                };
            };
            this.dispose();
        }
        private function _-0Io(_arg1:AssetLoaderEvent):void
        {
            _-Nb.log(((("Error loading image: " + this._-5Q) + ", ") + _arg1));
            this.dispose();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-1pb = null;
            this._-2bJ = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY.GuestRoomListCtrl

package _-2rY
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-4GV._-VY;
    import _-1ae.IScrollbarWindow;
    import _-4GV.UserCountRenderer;
    import _-0Ie.WindowMouseEvent;
    import _-2vN._-3hb;
    import _-4GV._-3UA;
    import _-4OG._-3pI;
    import _-4OG._-io;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import flash.geom.Point;
    import _-1ae.IRegionWindow;
    import _-0hd._-3gJ;
    import _-0hd._-4t1;
    import _-1ae.*;
    import _-4GV.*;
    import _-Ew.*;
    import _-0Ie.*;

    public class GuestRoomListCtrl implements _-2el 
    {

        protected var _-2bJ:HabboNavigator;
        private var _-0Mb:IWindowContainer;
        private var _-3EB:IItemListWindow;
        private var _-2mV:_-VY;
        private var _-3HB:IScrollbarWindow;
        protected var _-2e1:UserCountRenderer;
        private var _-Y7:IWindowContainer;
        private var _-3OO:int;
        private var _-2P2:Boolean;
        private var _-cl:int;
        private var _-DG:Boolean;

        public function GuestRoomListCtrl(_arg1:HabboNavigator, _arg2:int, _arg3:Boolean):void
        {
            this._-2bJ = _arg1;
            this._-cl = _arg2;
            this._-DG = _arg3;
            this._-2mV = new _-VY(this._-2bJ, 5, -5);
            this._-2e1 = new UserCountRenderer(this._-2bJ);
        }
        public function dispose():void
        {
            if (this._-2mV)
            {
                this._-2mV.dispose();
                this._-2mV = null;
            };
            if (this._-2e1)
            {
                this._-2e1.dispose();
                this._-2e1 = null;
            };
        }
        public function set content(_arg1:IWindowContainer):void
        {
            this._-0Mb = _arg1;
            this._-3EB = ((this._-0Mb) ? IItemListWindow(this._-0Mb.findChildByName("item_list")) : null);
            this._-3HB = ((this._-0Mb) ? IScrollbarWindow(this._-0Mb.findChildByName("scroller")) : null);
            if ((((_arg1 == null)) && (this._-2mV)))
            {
                this._-2mV._-4B1();
            };
        }
        public function get content():IWindowContainer
        {
            return (this._-0Mb);
        }
        public function refresh():void
        {
            var _local4:Boolean;
            var k:Array = this.getRooms();
            var k:int = this._-tl();
            this._-3EB.autoArrangeItems = false;
            var k:int;
            while (true)
            {
                if (k < k.length)
                {
                    this._-wY(true, k, k[k]);
                }
                else
                {
                    _local4 = this._-wY(false, k, null);
                    if (_local4)
                    {
                        break;
                    };
                };
                k++;
            };
            this._-3EB.autoArrangeItems = true;
            if (((!((this._-3HB == null))) && (!((this._-tl() == k)))))
            {
                this._-3HB.scrollV = 0;
            };
            if (this._-0Mb.findChildByName("no_rooms_found"))
            {
                this._-0Mb.findChildByName("no_rooms_found").visible = (k.length < 1);
            };
        }
        private function _-tl():int
        {
            var k:int;
            var k:int;
            while (k < this._-3EB.numListItems)
            {
                if (this._-3EB.getListItemAt(k).visible)
                {
                    k++;
                };
                k++;
            };
            return (k);
        }
        protected function getListEntry(_arg1:int):IWindowContainer
        {
            var k:int;
            var k:IWindowContainer = IWindowContainer(this._-2bJ.getXmlWindow("grs_guest_room_details_short"));
            k.background = true;
            k.addEventListener(WindowMouseEvent._-2dT, this._-1nn);
            k.addEventListener(WindowMouseEvent._-4ea, this._-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, this._-45Q);
            k.addEventListener(WindowMouseEvent._-90, this.onMouseClick);
            k.setParamFlag(_-3hb._-0g6, true);
            k.setParamFlag(_-3hb._-2jp, true);
            k.color = this.getBgColor(_arg1);
            k.tags.push(_arg1);
            if (this._-DG)
            {
                k = 20;
                k.findChildByName("roomname").x = (k.findChildByName("roomname").x + k);
                k.findChildByName("roomname").width = (k.findChildByName("roomname").width - k);
            };
            return (k);
        }
        protected function getBgColor(_arg1:int):uint
        {
            return (((((_arg1 % 2))!=0) ? 0xFFFFFFFF : 4292797682));
        }
        private function _-wY(_arg1:Boolean, _arg2:int, _arg3:_-3pI):Boolean
        {
            var k:IWindowContainer = IWindowContainer(this._-3EB.getListItemAt(_arg2));
            var k:Boolean;
            if (k == null)
            {
                if (!_arg1)
                {
                    return (true);
                };
                k = this.getListEntry(_arg2);
                this._-3EB.addListItem(k);
                k = true;
            };
            _-3UA._-LK(k);
            if (_arg1)
            {
                this.refreshEntryDetails(k, _arg3);
                k.visible = true;
                k.height = 17;
            }
            else
            {
                k.height = 0;
                k.visible = false;
            };
            if (k)
            {
                k.width = (k.width + this._-cl);
                this._-2bJ._-0NE._-4HU(this, k);
            };
            return (false);
        }
        protected function refreshEntryDetails(_arg1:IWindowContainer, _arg2:_-3pI):void
        {
            _arg1.visible = true;
            _-3UA._-LK(_arg1);
            this._-4jp(_arg1, _arg2);
            var k:String = (((((_arg2._-0Qj == _-io._-1HI)) || ((_arg2._-0Qj == _-io._-3c4)))) ? "group_base_icon" : "group_base_icon_no_doormode");
            this._-2bJ.refreshButton(_arg1, k, (_arg2._-i5 > 0), null, 0, "group_base_icon");
            this._-2bJ.refreshButton(_arg1, "home", this._-0rU(_arg2), null, 0);
            this._-2bJ.refreshButton(_arg1, "doormode_doorbell_small", (_arg2._-0Qj == _-io._-1HI), null, 0);
            this._-2bJ.refreshButton(_arg1, "doormode_password_small", (_arg2._-0Qj == _-io._-3c4), null, 0);
            if (this._-DG)
            {
                _arg1.findChildByName("room_number").visible = true;
                _arg1.findChildByName("room_number").caption = ((_arg1.tags[0] + 2) + ".");
            };
            this._-4CZ(_arg1, _arg2);
            this._-2e1.refreshUserCount(_arg2._-Te, _arg1, _arg2.userCount, "${navigator.usercounttooltip.users}", 233, 2);
            _arg1.name = ((("guestroom_" + _arg2._-0aC) + "_") + _arg2.roomName);
        }
        private function _-4CZ(_arg1:IWindowContainer, _arg2:_-3pI):void
        {
            var k:ITextWindow = ITextWindow(_arg1.getChildByName("roomname"));
            k.visible = true;
            var k:Boolean = ((((_arg1.findChildByName("home").visible) || (_arg1.findChildByName("favourite").visible))) || (_arg1.findChildByName("make_favourite").visible));
            _-3UA._-41X(k, _arg2.roomName, ((k) ? (k.width - 20) : k.width));
        }
        protected function _-1nn(_arg1:WindowEvent):void
        {
            this._-Q-(_arg1);
        }
        protected function _-1hF(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            if (((this._-2mV.visible) && (this._-2P2)))
            {
                return;
            };
            this.hilite(IWindowContainer(k));
            var k:int = k.tags[0];
            var k:_-3pI = this._-0NK(k);
            if (k == null)
            {
                return;
            };
            this._-2mV.room = k;
            this._-2mV._-0QU(k);
        }
        public function getRooms():Array
        {
            return ((((((((((this._-2bJ == null)) || ((this._-2bJ.data == null)))) || ((this._-2bJ.data._-52x == null)))) || ((this._-2bJ.data._-52x.rooms == null)))) ? new Array() : this._-2bJ.data._-52x.rooms));
        }
        private function _-0NK(_arg1:int):_-3pI
        {
            return (this.getRooms()[_arg1]);
        }
        protected function _-45Q(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            if (_-3UA._-xu(k))
            {
                return;
            };
            var k:int = k.tags[0];
            k.color = this.getBgColor(k);
            this._-2mV._-4B1();
        }
        protected function onMouseClick(_arg1:WindowEvent):void
        {
            var k:Point;
            var k:IWindow = _arg1.target;
            var k:int = k.tags[0];
            var k:_-3pI = this._-0NK(k);
            if (k == null)
            {
                return;
            };
            if (k._-0aC != this._-2bJ._-cT.userName)
            {
                if (k._-i5 != 0)
                {
                    this._-2bJ.goToPrivateRoom(k._-3EU);
                    return;
                };
                k = new Point((_arg1 as WindowMouseEvent).stageX, (_arg1 as WindowMouseEvent).stageY);
                switch (k._-0Qj)
                {
                    case _-io._-3c4:
                        this._-2bJ._-1fB.show(k, k);
                        return;
                    case _-io._-1HI:
                        this._-2bJ.doorbell.show(k, k);
                        return;
                };
            };
            this.beforeEnterRoom(k);
            this._-2bJ.goToRoom(k._-3EU, true, "", k);
            this._-2mV._-3ie();
        }
        public function beforeEnterRoom(_arg1:int):void
        {
        }
        private function _-4jp(_arg1:IWindowContainer, _arg2:_-3pI):void
        {
            var k:Boolean = this._-2bJ.data._-3zv(_arg2._-3EU);
            var k:Boolean = this._-0rU(_arg2);
            this._-0fu(_arg1, "make_favourite", ((!(k)) && (!(k))), this._-54g);
            this._-0fu(_arg1, "favourite", ((k) && (!(k))), this._-b-);
        }
        private function _-0rU(_arg1:_-3pI):Boolean
        {
            return ((_arg1._-3EU == this._-2bJ.data._-0I7));
        }
        private function _-0fu(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:Function):void
        {
            var k:IRegionWindow = (_arg1.findChildByName(_arg2) as IRegionWindow);
            if (!k)
            {
                return;
            };
            if (!_arg3)
            {
                k.visible = false;
                if (k.hasEventListener(WindowMouseEvent._-90))
                {
                    k.removeEventListener(WindowMouseEvent._-90, _arg4);
                };
            }
            else
            {
                k.addEventListener(WindowMouseEvent._-90, _arg4);
                k.visible = true;
                this._-2bJ.refreshButton(k, _arg2, _arg3, null, 0);
            };
        }
        private function _-b-(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = _arg1.target;
            if ((((k == null)) || ((k.parent == null))))
            {
                return;
            };
            var k:_-3pI = this._-0NK(k.parent.tags[0]);
            if (k == null)
            {
                return;
            };
            this._-2bJ.send(new _-3gJ(k._-3EU));
        }
        private function _-54g(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = _arg1.target;
            if ((((k == null)) || ((k.parent == null))))
            {
                return;
            };
            var k:_-3pI = this._-0NK(int(k.parent.tags[0]));
            if (k == null)
            {
                return;
            };
            this._-2bJ.send(new _-4t1(k._-3EU));
        }
        private function hilite(_arg1:IWindowContainer):void
        {
            var k:int;
            if (((!((this._-Y7 == null))) && (!(this._-Y7.disposed))))
            {
                k = this._-Y7.tags[0];
                this._-Y7.color = this.getBgColor(k);
            };
            this._-Y7 = _arg1;
            _arg1.color = 4288861930;
        }
        private function _-Q-(_arg1:WindowEvent):void
        {
            var k:WindowMouseEvent = WindowMouseEvent(_arg1);
            var k:int = Math.abs((this._-3OO - k.stageX));
            this._-3OO = k.stageX;
            this._-2P2 = (k > 2);
        }
        public function get _-30v():_-VY
        {
            return (this._-2mV);
        }
        public function get navigator():HabboNavigator
        {
            return (this._-2bJ);
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY.MainViewCtrl

package _-2rY
{
    import flash.geom.Point;
    import _-4GV.HabboNavigator;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.ITabContextWindow;
    import _-Ew.IWindow;
    import _-4GV._-3E1;
    import flash.utils.Timer;
    import _-2ly._-F-;
    import flash.events.TimerEvent;
    import _-32h._-4So;
    import _-1ae.ITabButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-32h._-1kz;
    import _-2vN._-3hb;
    import _-4GV._-3UA;
    import _-1ae.ISelectableWindow;
    import _-4GV._-2el;
    import flash.events.Event;
    import _-Ph._-1i5;
    import _-0hd._-2b;
    import _-18r.ErrorReportStorage;
    import _-0hd._-3xP;
    import _-0hd._-073;
    import _-4OG._-0i4;
    import _-0hd._-4BS;
    import _-0hd._-3Jl;
    import _-0hd._-1P1;
    import _-0hd._-41A;
    import _-0hd._-0K4;
    import _-0hd._-2Xu;
    import _-0hd._-1H5;
    import _-0hd._-0yx;
    import _-0hd._-08I;
    import _-0hd._-Ki;
    import _-0hd._-0Li;
    import _-0hd._-2rD;
    import _-0hd._-0w7;
    import _-4Aj._-1oF;
    import _-1ae.IItemListWindow;
    import _-1B-.*;

    public class MainViewCtrl implements _-0gI, _-1zZ 
    {

        public static const _-g7:int = 1;
        public static const _-2xP:int = 2;
        public static const _-Y:int = 3;
        public static const _-3Tt:int = 4;
        private static const _-1d0:int = 1;
        private static const _-26-:int = 2;
        private static const _-1vx:int = 3;
        private static const _-3Vr:int = 4;
        private static const _-2Rj:int = 22;
        private static const _-dV:int = 60;

        private const _-0uv:Point = new Point(100, 10);

        private var _-2bJ:HabboNavigator;
        private var _-362:IFrameWindow;
        private var _-0Mb:IWindowContainer;
        private var _-1u6:IWindowContainer;
        private var _-0Lu:IWindowContainer;
        private var _-2yk:IWindowContainer;
        private var _-3mD:PopularTagsListCtrl;
        private var _-40b:GuestRoomListCtrl;
        private var _-1le:OfficialRoomListCtrl;
        private var _-4mZ:RoomAdListCtrl;
        private var _-44a:ITabContextWindow;
        private var _-NQ:Boolean;
        private var _-3xr:int;
        private var _-2h6:Boolean = true;
        private var _-2py:int = 0;
        private var _-066:IWindow;
        private var _-4ci:int = 0;
        private var _-24H:_-3E1;
        private var _-345:Timer;
        private var _disposed:Boolean = false;
        private var _-0qW:_-F-;

        public function MainViewCtrl(_arg1:HabboNavigator):void
        {
            this._-2bJ = _arg1;
            this._-3mD = new PopularTagsListCtrl(this._-2bJ);
            this._-40b = new GuestRoomListCtrl(this._-2bJ, 0, false);
            this._-1le = new OfficialRoomListCtrl(this._-2bJ);
            this._-4mZ = new RoomAdListCtrl(this._-2bJ, 0, false);
            this._-345 = new Timer(300, 1);
            this._-345.addEventListener(TimerEvent.TIMER, this._-2VZ);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-3Iz():void
        {
            if (!this._-362)
            {
                this._-3Xz();
                return;
            };
            if (((!(this._-0qW)) || (this._-0qW.disposed)))
            {
                this._-0qW = new _-F-(this._-362, this._-362.desktop, this._-3Xz, this.close);
            };
            this._-0qW._-4NB();
        }
        private function _-3Xz():void
        {
            var k:_-4So = this._-2bJ.tabs._-WM();
            k._-02K._-0pv();
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._-2bJ = null;
                if (this._-362)
                {
                    this._-362.dispose();
                    this._-362 = null;
                };
                if (this._-0qW)
                {
                    this._-0qW.dispose();
                    this._-0qW = null;
                };
                if (this._-0Mb)
                {
                    this._-0Mb.dispose();
                    this._-0Mb = null;
                };
                if (this._-345)
                {
                    this._-345.removeEventListener(TimerEvent.TIMER, this._-2VZ);
                    this._-345.reset();
                    this._-345 = null;
                };
                if (this._-3mD)
                {
                    this._-3mD.dispose();
                    this._-3mD = null;
                };
                if (this._-40b)
                {
                    this._-40b.dispose();
                    this._-40b = null;
                };
                if (this._-1le)
                {
                    this._-1le.dispose();
                    this._-1le = null;
                };
                if (this._-4mZ)
                {
                    this._-4mZ.dispose();
                    this._-4mZ = null;
                };
                if (this._-24H)
                {
                    this._-24H.dispose();
                    this._-24H = null;
                };
            };
        }
        public function open():void
        {
            if (this._-362 == null)
            {
                this.prepare();
            };
            this.refresh();
            this._-362.visible = true;
            this._-362.y = Math.max(this._-362.y, _-dV);
            this._-362.activate();
        }
        public function isOpen():Boolean
        {
            return (((!((this._-362 == null))) && (this._-362.visible)));
        }
        public function close():void
        {
            if (this._-362 != null)
            {
                if (this._-24H)
                {
                    this._-24H.dispose();
                    this._-24H = null;
                };
                if (this._-0qW)
                {
                    this._-0qW.dispose();
                    this._-0qW = null;
                };
                this._-362.dispose();
                this._-362 = null;
                this._-44a = null;
                this._-0Mb = null;
                this._-1u6 = null;
                this._-2yk = null;
                this._-0Lu = null;
                this._-066 = null;
                this._-3mD.content = null;
                this._-40b.content = null;
                this._-1le.content = null;
                this._-4mZ.content = null;
                this._-4ci = 0;
            };
        }
        public function get mainWindow():IFrameWindow
        {
            return (this._-362);
        }
        private function prepare():void
        {
            var k:_-4So;
            var k:Array;
            var k:ITabButtonWindow;
            var k:ITabButtonWindow;
            this._-362 = IFrameWindow(this._-2bJ.getXmlWindow("grs_main_window"));
            this._-44a = ITabContextWindow(this._-362.findChildByName("tab_context"));
            this._-0Mb = IWindowContainer(this._-362.findChildByName("tab_content"));
            this._-1u6 = IWindowContainer(this._-362.findChildByName("custom_content"));
            this._-2yk = IWindowContainer(this._-362.findChildByName("list_content"));
            this._-0Lu = IWindowContainer(this._-362.findChildByName("custom_footer"));
            this._-066 = this._-362.findChildByName("loading_text");
            var k:IWindow = this._-362.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-lf);
            };
            this._-362.addEventListener(WindowEvent._-3K0, this._-3Kj);
            var k:Boolean = this._-2bJ.configuration.getBoolean("eventinfo.enabled", false);
            if (!k)
            {
                k = [];
                while (this._-44a._-2Z > 0)
                {
                    k = this._-44a._-3Zg(0);
                    k.push(k);
                    this._-44a._-32B(k);
                };
                for each (k in k)
                {
                    if (k.id != _-1kz._-4bq)
                    {
                        this._-44a._-1IO(k);
                    };
                };
            };
            for each (k in this._-2bJ.tabs.tabs)
            {
                k = this._-44a._-08S(k.id);
                if (k != null)
                {
                    k.addEventListener(WindowEvent._-2wB, this._-2fm);
                    k.button = k;
                };
            };
            this._-362.scaler.setParamFlag(_-3hb._-3CZ, false);
            this._-362.scaler.setParamFlag(_-3hb._-0dj, true);
            this._-362.position = this._-0uv;
            this._-sf();
        }
        private function _-sf():void
        {
            var k:IWindowContainer;
            var k:String = "search_header";
            if (this._-24H == null)
            {
                k = (this._-362.findChildByName(k) as IWindowContainer);
                this._-24H = new _-3E1(this._-2bJ, k);
            };
            var k:IWindowContainer = (this._-362.findChildByName(k) as IWindowContainer);
            k.visible = true;
        }
        public function refresh():void
        {
            if (this._-362 == null)
            {
                return;
            };
            this._-0nL();
            this._-25h();
            this._-1fv(true);
            this._-2Mq();
            this._-1u6.height = _-3UA._-5DG(this._-1u6);
            this._-0Lu.height = _-3UA._-5DG(this._-0Lu);
            var k:int = this._-2yk.y;
            _-3UA._-0OL(this._-0Mb, ["custom_content", "list_content"], this._-1u6.y, 8);
            this._-2yk.height = ((((this._-2yk.height + k) - this._-2yk.y) - this._-0Lu.height) + this._-4ci);
            _-3UA._-0OL(this._-0Mb, ["list_content", "custom_footer"], this._-2yk.y, 0);
            this._-4ci = this._-0Lu.height;
            this._-2VZ(null);
        }
        private function _-0nL():void
        {
            var k:_-4So = this._-2bJ.tabs._-WM();
            var k:ISelectableWindow = this._-44a.selector._-WM();
            if (k.button != k)
            {
                this._-NQ = true;
                this._-44a.selector.setSelected(k.button);
            };
        }
        private function _-25h():void
        {
            _-3UA._-LK(this._-1u6);
            var k:_-4So = this._-2bJ.tabs._-WM();
            k._-02K._-25h(this._-1u6);
            if (_-3UA._-3DE(this._-1u6))
            {
                this._-1u6.visible = true;
            }
            else
            {
                this._-1u6.visible = false;
                this._-1u6.blend = 1;
            };
        }
        private function _-2Mq():void
        {
            _-3UA._-LK(this._-0Lu);
            var k:_-4So = this._-2bJ.tabs._-WM();
            k._-02K._-2Mq(this._-0Lu);
            if (_-3UA._-3DE(this._-0Lu))
            {
                this._-0Lu.visible = true;
            }
            else
            {
                this._-0Lu.visible = false;
            };
        }
        private function _-1fv(_arg1:Boolean):void
        {
            _-3UA._-LK(this._-2yk);
            var k:_-4So = this._-2bJ.tabs._-WM();
            var k:Boolean = ((this._-2bJ.data._-1xM) && ((k._-1IM == _-1kz._-1C5)));
            this._-0oO(_arg1, k);
            this._-3oW(_arg1, !(k));
            this._-3c7(_arg1, this._-2bJ.data._-3YL);
            this._-1IH(_arg1, this._-2bJ.data._-2Pe);
        }
        private function _-3oW(_arg1:Boolean, _arg2:Boolean):void
        {
            this._-I8(_arg1, _arg2, this._-40b, "guest_rooms");
        }
        private function _-3c7(_arg1:Boolean, _arg2:Boolean):void
        {
            this._-I8(_arg1, _arg2, this._-3mD, "popular_tags");
        }
        private function _-1IH(_arg1:Boolean, _arg2:Boolean):void
        {
            this._-I8(_arg1, _arg2, this._-1le, "official_rooms");
        }
        private function _-0oO(_arg1:Boolean, _arg2:Boolean):void
        {
            this._-I8(_arg1, _arg2, this._-4mZ, "room_ads");
        }
        private function _-I8(_arg1:Boolean, _arg2:Boolean, _arg3:_-2el, _arg4:String):void
        {
            var k:IWindow;
            if (_arg2)
            {
                if (_arg3.content == null)
                {
                    k = this._-2yk.findChildByName(_arg4);
                    _arg3.content = IWindowContainer(k);
                };
                if (_arg1)
                {
                    _arg3.refresh();
                };
                _arg3.content.visible = true;
            };
        }
        private function _-lf(_arg1:WindowEvent):void
        {
            _-Nb.log("Close navigator window");
            this.close();
        }
        private function _-2fm(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            var k:int = k.id;
            if (this._-NQ)
            {
                this._-NQ = false;
                return;
            };
            var k:_-4So = this._-2bJ.tabs._-1iI(k);
            k._-i7();
            switch (k.id)
            {
                case _-1kz._-4bq:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_EVENTS));
                    this._-2bJ.send(new _-2b());
                    return;
                case _-1kz._-13T:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_ME));
                    return;
                case _-1kz._-0oN:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_OFFICIAL));
                    return;
                case _-1kz._-1KO:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_ROOMS));
                    return;
                case _-1kz._-2xc:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCH));
                    return;
            };
        }
        public function _-1BB(_arg1:int):Boolean
        {
            ErrorReportStorage._-0QQ("MainViewCtrl", "Reloading RoomList");
            if (((((this.isOpen()) && (!((this._-2bJ.data._-52x == null))))) && ((this._-2bJ.data._-52x.searchType == _arg1))))
            {
                this._-0cR(this._-2bJ.tabs._-WM().id, _arg1, "");
                return (true);
            };
            return (false);
        }
        public function _-0cR(_arg1:int, _arg2:int, _arg3:String="-1", _arg4:int=1):void
        {
            var k:_-4So = this._-2bJ.tabs._-WM();
            this._-2bJ.tabs._-0HX(_arg1);
            var k:_-4So = this._-2bJ.tabs._-WM();
            ErrorReportStorage._-0QQ("StartSearch", ((("Start search " + k.id) + " => ") + k.id));
            this._-2h6 = !((k == k));
            if (k != k)
            {
                k._-02K._-xt();
            };
            this._-2bJ.data._-3O-();
            if (_arg4 == _-g7)
            {
                this._-2bJ.send(this._-0Fd(_arg2, _arg3));
            }
            else
            {
                if (_arg4 == _-2xP)
                {
                    this._-2bJ.send(new _-3xP());
                }
                else
                {
                    this._-2bJ.send(new _-073(this._-2bJ.data._-1l));
                };
            };
            if (!this.isOpen())
            {
                this.open();
                this._-3xr = _-26-;
                this._-2yk.blend = 0;
                if (this._-1u6.visible)
                {
                    this._-1u6.blend = 0;
                    this._-0Lu.blend = 0;
                };
            }
            else
            {
                this._-3xr = _-1d0;
            };
            this._-2py = 0;
            this._-2bJ.registerUpdateReceiver(this, 2);
            this._-4ym(_arg2);
            this._-2bJ.data._-45N = null;
        }
        private function _-4ym(_arg1:int):void
        {
            switch (_arg1)
            {
                case _-1kz._-4Na:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_LATEST_EVENTS));
                    return;
                case _-1kz._-0Eh:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FAVOURITES));
                    return;
                case _-1kz._-3wV:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FRIENDS_ROOMS));
                    return;
                case _-1kz._-Xm:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_HISTORY));
                    return;
                case _-1kz._-3rg:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_ROOMS));
                    return;
                case _-1kz._-2jy:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_OFFICIALROOMS));
                    return;
                case _-1kz._-1Fr:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_POPULAR_ROOMS));
                    return;
                case _-1kz._-5CB:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WHERE_MY_FRIENDS_ARE));
                    return;
                case _-1kz._-2Kd:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WITH_HIGHEST_SCORE));
                    return;
                case _-1kz._-0pI:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TAG_SEARCH));
                    return;
                case _-1kz._-25v:
                    this._-2bJ.events.dispatchEvent(new Event(_-1i5.HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TEXT_SEARCH));
                    return;
            };
        }
        private function _-0Fd(_arg1:int, _arg2:String):_-1oF
        {
            var _local3:_-0i4;
            switch (_arg1)
            {
                case _-1kz._-0Eh:
                    return (new _-4BS());
                case _-1kz._-3wV:
                    return (new _-3Jl());
                case _-1kz._-Xm:
                    return (new _-1P1());
                case _-1kz._-3rg:
                    return (new _-41A());
                case _-1kz._-1Fr:
                    return (new _-0K4(_arg2, this._-2bJ.data._-1l));
                case _-1kz._-5CB:
                    return (new _-2Xu());
                case _-1kz._-2Kd:
                    return (new _-1H5(this._-2bJ.data._-1l));
                case _-1kz._-0pI:
                    return (new _-0yx(_arg2));
                case _-1kz._-25v:
                    return (new _-08I(_arg2));
                case _-1kz._-4Na:
                    return (new _-Ki(_arg2, this._-2bJ.data._-1l));
                case _-1kz._-1cU:
                    return (new _-0Li(this._-2bJ.data._-1l));
                case _-1kz._-0dQ:
                    _local3 = this._-2bJ.data._-45N;
                    return (new _-2rD(_local3._-2JP, _local3._-0WS));
                case _-1kz._-1C5:
                case _-1kz._-2x1:
                    return (new _-0w7(this._-2bJ.data._-1l, _arg1));
            };
            _-Nb.log(("No message for searchType: " + _arg1));
            return (null);
        }
        public function update(_arg1:uint):void
        {
            var k:Number;
            if (this._-2yk == null)
            {
                return;
            };
            var k:Number = (_arg1 / 150);
            if (this._-3xr == _-1d0)
            {
                k = Math.min(1, Math.max(0, (this._-2yk.blend - k)));
                this._-2yk.blend = k;
                this._-1u6.blend = ((this._-2h6) ? k : 1);
                this._-0Lu.blend = ((this._-2h6) ? k : 1);
                if (k == 0)
                {
                    this._-3xr = _-26-;
                };
            }
            else
            {
                if (this._-3xr == _-26-)
                {
                    if ((this._-2py % 10) == 1)
                    {
                        this._-066.visible = !(this._-066.visible);
                    };
                    this._-2py++;
                    if (!this._-2bJ.data._-E())
                    {
                        this._-3xr = _-1vx;
                    };
                }
                else
                {
                    if (this._-3xr == _-1vx)
                    {
                        this.refresh();
                        this._-3xr = _-3Vr;
                    }
                    else
                    {
                        this._-066.visible = false;
                        k = Math.min(1, Math.max(0, (this._-2yk.blend + k)));
                        this._-2yk.blend = k;
                        this._-1u6.blend = ((this._-2h6) ? k : 1);
                        this._-0Lu.blend = ((this._-2h6) ? k : 1);
                        if (this._-2yk.blend >= 1)
                        {
                            this._-2bJ.removeUpdateReceiver(this);
                        };
                    };
                };
            };
        }
        private function _-3Kj(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            if (k != this._-362)
            {
                return;
            };
            if (!this._-345.running)
            {
                this._-345.reset();
                this._-345.start();
            };
        }
        private function _-2VZ(_arg1:TimerEvent):void
        {
            this._-Gc(this._-3mD);
            this._-Gc(this._-40b);
            this._-Gc(this._-4mZ);
        }
        private function _-Gc(_arg1:_-2el):void
        {
            if ((((_arg1.content == null)) || (!(_arg1.content.visible))))
            {
                return;
            };
            var k:IItemListWindow = IItemListWindow(_arg1.content.findChildByName("item_list"));
            var k:IWindow = _arg1.content.findChildByName("scroller");
            var k = (k._-2yI.height > k.height);
            if (k.visible)
            {
                if (k)
                {
                    return;
                };
                k.visible = false;
                k.width = (k.width + _-2Rj);
            }
            else
            {
                if (k)
                {
                    k.visible = true;
                    k.width = (k.width - _-2Rj);
                }
                else
                {
                    return;
                };
            };
        }
        public function _-4HU(_arg1:_-2el, _arg2:IWindowContainer):void
        {
            var k:IWindow = _arg1.content.findChildByName("scroller");
            if ((((k == null)) || (k.visible)))
            {
                return;
            };
            _arg2.width = (_arg2.width + _-2Rj);
        }
        public function get _-3TL():_-3E1
        {
            return (this._-24H);
        }
        public function get _-1BI():GuestRoomListCtrl
        {
            return (this._-40b);
        }
        public function get _-4b1():RoomAdListCtrl
        {
            return (this._-4mZ);
        }
        public function _-1x8(_arg1:Point):void
        {
            this._-3Xz();
            if (_arg1 != null)
            {
                this._-362.position = _arg1;
            };
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY.OfficialRoomEntryManager

package _-2rY
{
    import _-4GV.HabboNavigator;
    import _-4GV.UserCountRenderer;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-0Ie.WindowMouseEvent;
    import _-4GV._-3UA;
    import _-4OG._-3FD;
    import _-1ae.ITextWindow;
    import flash.display.BitmapData;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-4OG._-io;
    import _-32h._-1kz;
    import _-0hd._-yb;
    import _-1B-.*;

    public class OfficialRoomEntryManager implements _-1zZ 
    {

        private static const _-1Uu:String = "hottest_groups";
        private static const _-wW:int = 267;
        private static const _-35m:int = 65;
        private static const _-4yg:int = -70;

        private var _disposed:Boolean;
        private var _-2bJ:HabboNavigator;
        private var _-2e1:UserCountRenderer;
        private var _-hC:PublicRoomThumbs;

        public function OfficialRoomEntryManager(_arg1:HabboNavigator):void
        {
            this._-hC = new PublicRoomThumbs();
            super();
            this._-2bJ = _arg1;
            this._-2e1 = new UserCountRenderer(this._-2bJ);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._-2e1)
            {
                this._-2e1.dispose();
                this._-2e1 = null;
            };
            this._disposed = true;
        }
        public function _-dz(_arg1:IWindowContainer):void
        {
            if (this._-2bJ.data._-4vu == null)
            {
                return;
            };
            var k:String = "ad_footer";
            var k:IWindowContainer = IWindowContainer(_arg1.getChildByName("ad_footer"));
            var k:IWindowContainer = IWindowContainer(k.getChildByName("ad_cont"));
            if (k.numChildren < 1)
            {
                k.addChild(this._-2n6(true));
            };
            var k:IWindowContainer = IWindowContainer(k.getChildAt(0));
            this._-wY(k, true, this._-2bJ.data._-4vu);
            k.visible = true;
            this._-2bJ.data._-1l++;
        }
        public function _-2n6(_arg1:Boolean):IWindowContainer
        {
            var k:IBitmapWrapperWindow;
            var k:IWindowContainer = IWindowContainer(this._-2bJ.getXmlWindow("grs_official_room_row"));
            var k:IWindowContainer = IWindowContainer(k.findChildByName("image_cont"));
            var k:String = ((_arg1) ? "" : "_b");
            this._-2bJ.refreshButton(k, ("rico_rnd_l" + k), true, null, 0);
            this._-2bJ.refreshButton(k, ("rico_rnd_r" + k), true, null, 0);
            k = (k.findChildByName("rico_rnd_m") as IBitmapWrapperWindow);
            k.bitmap = this._-2bJ._-1JQ("rico_rnd_m");
            k._-30Z = false;
            var k:IWindowContainer = IWindowContainer(k.findChildByName("folder_cont"));
            this._-2bJ.refreshButton(k, ("rico_rnd_l" + k), true, null, 0);
            this._-2bJ.refreshButton(k, ("rico_rnd_r" + k), true, null, 0);
            k = (k.findChildByName("rico_rnd_m") as IBitmapWrapperWindow);
            k.bitmap = this._-2bJ._-1JQ("rico_rnd_m");
            k._-30Z = false;
            k.addEventListener(WindowMouseEvent._-4ea, this._-0sd);
            k.addEventListener(WindowMouseEvent._-4e2, this._-3q4);
            k.addEventListener(WindowMouseEvent._-90, this._-11c);
            k.color = ((_arg1) ? 0xFFFFFFFF : 4292797682);
            return (k);
        }
        public function _-wY(_arg1:IWindowContainer, _arg2:Boolean, _arg3:_-3FD):void
        {
            _-3UA._-LK(_arg1);
            if (_arg2)
            {
                _arg1.id = _arg3.index;
                if (_arg3.type == _-3FD._-1-a)
                {
                    this._-0he(_arg1, _arg3);
                }
                else
                {
                    this._-1IW(_arg1, _arg3);
                };
                _arg1.visible = true;
            }
            else
            {
                _arg1.height = 0;
                _arg1.visible = false;
            };
        }
        private function _-1IW(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            this._-0Ry(_arg1, _arg2);
            this._-JR(_arg1, _arg2);
            this.refreshUserCount(_arg1, _arg2);
            _arg1.height = 68;
        }
        private function _-0he(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("folder_cont"));
            k.visible = true;
            var k:ITextWindow = ITextWindow(k.findChildByName("folder_name_text"));
            k.text = _arg2._-20y;
            var k:ITextWindow = ITextWindow(k.findChildByName("arrow_label"));
            k.text = ((_arg2.open) ? "${navigator.folder.hide}" : "${navigator.folder.show}");
            this._-2bJ.refreshButton(k, "arrow_down_white", _arg2.open, null, 0);
            this._-2bJ.refreshButton(k, "arrow_right_white", !(_arg2.open), null, 0);
            this._-0qY(k, _arg2);
            _arg1.height = 68;
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("folderNameContainer"));
            if (k.text == "")
            {
                k.visible = false;
                return;
            };
            k.visible = true;
            k.width = (k.textWidth + 20);
        }
        private function refreshUserCount(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:int;
            var k:int;
            var k:int;
            if (((_arg2._-a6) && ((((_arg2.type == _-3FD._-nB)) || ((_arg2.type == _-3FD._-4jF))))))
            {
                k = 3;
                k = 34;
                k = 13;
                this._-2e1.refreshUserCount(_arg2._-2DP, _arg1, _arg2.userCount, "${navigator.usercounttooltip.users}", ((_arg1.width - k) - k), ((_arg1.height - k) - k));
            };
        }
        private function _-0Ry(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("image_cont"));
            k.visible = true;
            k.width = ((_arg2._-a6) ? _-35m : _-wW);
            this._-3kV(k, _arg2);
            this._-0k1(k, _arg2);
        }
        private function _-3kV(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("picTextContainer"));
            if ((((_arg2.picText == "")) || (_arg2._-a6)))
            {
                k.visible = false;
                return;
            };
            var k:int = 5;
            k.visible = true;
            var k:ITextWindow = ITextWindow(k.findChildByName("picText"));
            k.width = (_arg1.width - 30);
            k.text = _arg2.picText;
            k.height = (k.textHeight + 10);
            var k = (k.textHeight > 10);
            k.width = ((k) ? k.width = (_arg1.width - (2 * k)) : (k.textWidth + 20));
            k.height = (k.height + 4);
            k.x = ((_arg1.width - k.width) - k);
            k.y = ((_arg1.height - k.height) - k);
        }
        private function _-0qY(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(_arg1.findChildByName("folder_image"));
            k.visible = false;
            if (_arg2._-1Q4 != "")
            {
                this._-4ZI(_arg2, k);
            };
        }
        private function _-0k1(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(_arg1.findChildByName("room_image"));
            k.visible = false;
            if (_arg2._-1Q4 != "")
            {
                this._-4ZI(_arg2, k);
            }
            else
            {
                if (_arg2._-2zE != null)
                {
                    this._-iD(_arg1, _arg2, k);
                }
                else
                {
                    if (_arg2._-3DJ != null)
                    {
                        this._-0qt(_arg1, _arg2, k);
                    }
                    else
                    {
                        this._-488(_arg1, _arg2, k);
                    };
                };
            };
        }
        private function _-iD(_arg1:IWindowContainer, _arg2:_-3FD, _arg3:IBitmapWrapperWindow):void
        {
            var k:String = this._-hC._-R1(_arg2);
            var k:String = ((("publicSpace." + k) + ".") + _arg2._-a6);
            if (_arg3.tags[0] == k)
            {
                _arg3.visible = true;
                return;
            };
            var k = (("officialrooms_defaults/" + k) + ".png");
            _-Nb.log(((("Loading public room image: " + k) + ", ") + _arg2._-2zE._-4Ac));
            _arg3.x = ((_arg2._-a6) ? _-4yg : 0);
            _arg3.visible = false;
            var k:_-4Ze = new _-4Ze(this._-2bJ, k, _arg3);
            k._-1Pz();
            _arg3.tags.splice(0, _arg3.tags.length);
            _arg3.tags.push(k);
        }
        private function _-4ZI(_arg1:_-3FD, _arg2:IBitmapWrapperWindow):void
        {
            var k:String = ("customImage." + _arg1._-1Q4);
            if (_arg2.tags[0] == k)
            {
                _arg2.visible = true;
                return;
            };
            _-Nb.log(("Loading custom image: " + _arg1._-1Q4));
            _arg2.x = 0;
            _arg2.visible = false;
            var k:_-4Ze = new _-4Ze(this._-2bJ, _arg1._-1Q4, _arg2);
            k._-1Pz();
            _arg2.tags.splice(0, _arg2.tags.length);
            _arg2.tags.push(k);
        }
        private function _-0qt(_arg1:IWindowContainer, _arg2:_-3FD, _arg3:IBitmapWrapperWindow):void
        {
            var k:String = ("guestRoom." + _arg2._-3DJ._-5-P._-4fX());
            if (_arg3.tags[0] == k)
            {
                _arg3.visible = true;
                return;
            };
            _-Nb.log("Redrawing guest room image");
            _arg3.x = 0;
            _arg3.width = 64;
            _arg3.bitmap = new BitmapData(64, 64);
            _arg3.bitmap.fillRect(_arg3.bitmap.rect, 0xFFFFFFFF);
            _arg3.tags.splice(0, _arg3.tags.length);
            _arg3.tags.push(k);
            _arg3.visible = true;
        }
        private function _-488(_arg1:IWindowContainer, _arg2:_-3FD, _arg3:IBitmapWrapperWindow):void
        {
            var k:String = "empty";
            if (_arg3.tags[0] == k)
            {
                _arg3.visible = true;
                return;
            };
            _-Nb.log("Redrawing empty image");
            _arg3.x = 0;
            _arg3.width = 64;
            _arg3.bitmap = new BitmapData(64, 64, false, 4291611852);
            _arg3.tags.splice(0, _arg3.tags.length);
            _arg3.tags.push(k);
            _arg3.visible = true;
        }
        private function _-0sd(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            this._-4ZM(k, true);
        }
        private function _-3q4(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            this._-4ZM(k, false);
        }
        private function _-11c(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            this._-3Np(k);
        }
        private function _-4ZM(_arg1:IWindow, _arg2:Boolean):void
        {
            var k:IBitmapWrapperWindow;
            var k:IWindowContainer = IWindowContainer(_arg1);
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = IWindowContainer(k.findChildByName("enter_room"));
            if (k == null)
            {
                return;
            };
            if (_arg2)
            {
                this._-2bJ.refreshButton(k, "enter_room_l", true, null, 0);
                this._-2bJ.refreshButton(k, "enter_room_r", true, null, 0);
                k = IBitmapWrapperWindow(k.findChildByName("enter_room_m"));
                if (k.bitmap == null)
                {
                    k.bitmap = this._-2bJ._-1JQ("enter_room_m");
                    k._-30Z = false;
                };
                this._-2bJ.refreshButton(k, "enter_room_a", true, null, 0);
            };
            k.visible = _arg2;
        }
        private function _-3Np(_arg1:IWindow):void
        {
            var k:_-3FD = this._-1mU(_arg1);
            if (k == null)
            {
                return;
            };
            _-Nb.log(((((((("ENTRY CLICKED: " + k.picText) + ", ") + k._-3DJ) + ", ") + k._-2zE) + ", ") + k.tag));
            if (k._-3DJ != null)
            {
                _-Nb.log(("ENTERING ROOM: " + k._-3DJ._-3EU));
                if (k._-3DJ._-0Qj == _-io._-3c4)
                {
                    this._-2bJ._-1fB.show(k._-3DJ);
                }
                else
                {
                    this._-2bJ.goToRoom(k._-3DJ._-3EU, true);
                };
            }
            else
            {
                if (k.tag != null)
                {
                    _-Nb.log(("MAKING TAG SEARCH: " + k.tag));
                    if (k.tag == _-1Uu)
                    {
                        this._-2bJ.performGuildBaseSearch();
                    }
                    else
                    {
                        this._-2bJ._-0NE._-0cR(_-1kz._-2xc, _-1kz._-0pI, k.tag);
                    };
                }
                else
                {
                    if (k._-2zE != null)
                    {
                        _-Nb.log(("ENTERING PUBLIC SPACE: " + k._-2zE._-4Lc));
                        this._-2bJ.send(new _-yb(k._-2zE._-4Lc));
                        this._-2bJ._-0NE.close();
                    }
                    else
                    {
                        _-Nb.log(("FOLDER CLICKD: " + k.index));
                        k._-7I();
                        this._-2bJ._-0NE.refresh();
                    };
                };
            };
        }
        private function _-1mU(_arg1:IWindow):_-3FD
        {
            var k:IWindowContainer = (_arg1 as IWindowContainer);
            if ((((k == null)) || (!((k.name == "cont")))))
            {
                _-Nb.log("Target not cont");
                return (null);
            };
            _-Nb.log(("PARENT NAME: " + _arg1.parent.name));
            return ((((k.parent.name == "ad_cont")) ? this._-04B() : this._-2Oj(k)));
        }
        private function _-04B():_-3FD
        {
            return (this._-2bJ.data._-4vu);
        }
        private function _-2Oj(_arg1:IWindowContainer):_-3FD
        {
            var k:_-3FD;
            if (this._-2bJ.data._-4WT == null)
            {
                _-Nb.log("No official rooms data click");
                return (null);
            };
            var k:int = _arg1.id;
            _-Nb.log(("Got index: " + k));
            for each (k in this._-2bJ.data._-4WT.entries)
            {
                if (k.index == k)
                {
                    return (k);
                };
            };
            _-Nb.log(((("No room found " + k) + ", ") + this._-2bJ.data._-4WT.entries.length));
            return (null);
        }
        private function _-JR(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("details_container"));
            k.visible = _arg2._-a6;
            _-Nb.log(("Refreshing details: " + k.visible));
            if (!_arg2._-a6)
            {
                return;
            };
            _-3UA._-LK(k);
            this._-2UJ(k, _arg2);
            this._-4si(k, _arg2);
        }
        private function _-2UJ(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:ITextWindow = ITextWindow(_arg1.getChildByName("entry_caption"));
            k.visible = true;
            k.text = this._-D7(_arg2);
        }
        private function _-4si(_arg1:IWindowContainer, _arg2:_-3FD):void
        {
            var k:String = this._-3B8(_arg2);
            if (k == "")
            {
                return;
            };
            var k:String = "entry_desc";
            var k:ITextWindow = ITextWindow(_arg1.getChildByName(k));
            k.text = k;
            k.visible = true;
        }
        public function _-D7(_arg1:_-3FD):String
        {
            if (((!((_arg1._-20y == null))) && (!((_arg1._-20y == "")))))
            {
                return (_arg1._-20y);
            };
            if (_arg1._-3DJ != null)
            {
                return (_arg1._-3DJ.roomName);
            };
            if (_arg1._-2zE != null)
            {
                return (this._-2bJ._-0Sh(_arg1._-2zE._-1DO, _arg1._-2zE._-PV));
            };
            if (((!((_arg1.tag == null))) && (!((_arg1.tag == "")))))
            {
                return (_arg1.tag);
            };
            return ("NA");
        }
        public function _-3B8(_arg1:_-3FD):String
        {
            if (((!((_arg1._-20y == null))) && (!((_arg1._-20y == "")))))
            {
                return (_arg1._-5BZ);
            };
            if (_arg1._-3DJ != null)
            {
                return (_arg1._-3DJ.description);
            };
            if (_arg1._-2zE != null)
            {
                return (this._-2bJ._-56p(_arg1._-2zE._-1DO, _arg1._-2zE._-PV));
            };
            return ("");
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY.OfficialRoomListCtrl

package _-2rY
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-4OG._-3FD;
    import _-1ae.*;
    import _-4GV.*;

    public class OfficialRoomListCtrl implements _-2el 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0Mb:IWindowContainer;
        private var _-3EB:IItemListWindow;
        private var _-3Ah:PromotedRoomsListCtrl;

        public function OfficialRoomListCtrl(_arg1:HabboNavigator):void
        {
            this._-2bJ = _arg1;
            this._-3Ah = new PromotedRoomsListCtrl(this._-2bJ);
        }
        public function dispose():void
        {
            if (this._-3Ah != null)
            {
                this._-3Ah.dispose();
                this._-3Ah = null;
            };
        }
        public function set content(_arg1:IWindowContainer):void
        {
            this._-0Mb = _arg1;
            this._-3EB = ((this._-0Mb) ? IItemListWindow(this._-0Mb.findChildByName("item_list_official")) : null);
        }
        public function get content():IWindowContainer
        {
            return (this._-0Mb);
        }
        public function refresh():void
        {
            var k:Boolean;
            var k:IWindowContainer;
            var _local5:Boolean;
            var k:Array = this.getVisibleEntries();
            this._-3EB.autoArrangeItems = false;
            this._-2iU();
            var k:int;
            while (true)
            {
                k = !(((k % 2) == 0));
                k = IWindowContainer(this._-3EB.getListItemAt((k + 1)));
                if (k < k.length)
                {
                    this._-wY(true, k, k, k[k]);
                }
                else
                {
                    _local5 = this._-wY(false, k, k, null);
                    if (_local5)
                    {
                        break;
                    };
                };
                k++;
            };
            this._-3EB.autoArrangeItems = true;
        }
        private function getVisibleEntries():Array
        {
            var k:_-3FD;
            var k:Array = this._-2bJ.data._-4WT.entries;
            var k:Array = new Array();
            var k:int;
            for each (k in k)
            {
                if (k._-4I > 0)
                {
                    if (k._-4I == k)
                    {
                        k.push(k);
                    };
                }
                else
                {
                    k = ((k.open) ? k.index : 0);
                    k.push(k);
                };
            };
            return (k);
        }
        private function _-wY(_arg1:Boolean, _arg2:Boolean, _arg3:IWindowContainer, _arg4:_-3FD):Boolean
        {
            if (_arg3 == null)
            {
                if (!_arg1)
                {
                    return (true);
                };
                k = this._-2bJ._-0l9._-2n6(_arg2);
                this._-3EB.addListItem(k);
            };
            this._-2bJ._-0l9._-wY(_arg3, _arg1, _arg4);
            return (false);
        }
        private function _-2iU():void
        {
            var k:IWindowContainer = IWindowContainer(this._-3EB.getListItemAt(0));
            this._-3Ah.refresh(k, this._-2bJ.data._-3f.entries);
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY.PopularTagsListCtrl

package _-2rY
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-4GV.TagRenderer;
    import _-4OG._-542;
    import _-4GV._-3UA;
    import _-1ae.ITextWindow;
    import _-1ae.*;
    import _-4GV.*;
    import _-Ew.*;
    import _-0Ie.*;
    import _-09j.*;

    public class PopularTagsListCtrl implements _-2el 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0Mb:IWindowContainer;
        private var _-3EB:IItemListWindow;
        private var _-1bY:int;
        private var _-5CK:TagRenderer;

        public function PopularTagsListCtrl(_arg1:HabboNavigator):void
        {
            this._-2bJ = _arg1;
            this._-5CK = new TagRenderer(this._-2bJ);
        }
        public function dispose():void
        {
            if (this._-5CK)
            {
                this._-5CK.dispose();
                this._-5CK = null;
            };
        }
        public function set content(_arg1:IWindowContainer):void
        {
            this._-0Mb = _arg1;
            this._-3EB = ((this._-0Mb) ? IItemListWindow(this._-0Mb.findChildByName("item_list")) : null);
        }
        public function get content():IWindowContainer
        {
            return (this._-0Mb);
        }
        public function refresh():void
        {
            var k:_-542;
            var k:Array = this._-2bJ.data._-2YO.tags;
            var k:IWindowContainer = IWindowContainer(this._-3EB.getListItemAt(0));
            if (k == null)
            {
                k = IWindowContainer(this._-2bJ.getXmlWindow("grs_popular_tag_row"));
                this._-3EB.addListItem(k);
            };
            _-3UA._-LK(k);
            var k:int;
            while (k < this._-2bJ.data._-2YO.tags.length)
            {
                k = this._-2bJ.data._-2YO.tags[k];
                this._-5CK._-39S(k, k, k._-Df);
                k++;
            };
            _-3UA._-42(k, k.width, 18, 3);
            k.height = _-3UA._-5DG(k);
            this._-0Mb.findChildByName("no_tags_found").visible = (k.length < 1);
        }
        private function _-3gO(_arg1:IWindowContainer, _arg2:_-542):void
        {
            var k:String = "txt";
            var k:ITextWindow = ITextWindow(_arg1.findChildByName(k));
            if (_arg2 == null)
            {
                return;
            };
            k.visible = true;
            k.text = _arg2._-Df;
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY.PromotedRoomsListCtrl

package _-2rY
{
    import _-4GV.HabboNavigator;
    import _-4GV.UserCountRenderer;
    import _-Ew.IWindowContainer;
    import _-4GV._-3UA;
    import _-Ew.IWindow;
    import _-4OG._-4cY;
    import _-0Ie.WindowMouseEvent;
    import _-32h._-29Y;
    import _-0Ie.WindowEvent;
    import _-0Pi._-RA;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-4GV.*;
    import _-1B-.*;

    public class PromotedRoomsListCtrl implements _-1zZ 
    {

        private static const _-561:int = 5;

        private var _-2bJ:HabboNavigator;
        private var _-2e1:UserCountRenderer;
        private var _-12Y:_-1nj;

        public function PromotedRoomsListCtrl(_arg1:HabboNavigator):void
        {
            this._-2bJ = _arg1;
            this._-2e1 = new UserCountRenderer(this._-2bJ);
            this._-12Y = new _-1nj(this._-2bJ);
        }
        public function dispose():void
        {
            this._-2bJ = null;
            if (this._-2e1)
            {
                this._-2e1.dispose();
                this._-2e1 = null;
            };
            if (this._-12Y)
            {
                this._-12Y.dispose();
                this._-12Y = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2bJ == null));
        }
        private function _-4T5(_arg1:IWindowContainer, _arg2:int):IWindowContainer
        {
            return (IWindowContainer(_arg1.getChildByID(_arg2)));
        }
        public function refresh(_arg1:IWindowContainer, _arg2:Array):void
        {
            var k:IWindowContainer;
            _-3UA._-LK(_arg1);
            var k:int;
            var k:int;
            while (k < _arg2.length)
            {
                k = this._-4T5(_arg1, k);
                if (k == null)
                {
                    k = this._-2n6(k);
                    k.id = k;
                    _arg1.addChild(k);
                };
                this._-wY(k, _arg2[k]);
                k.y = k;
                k = (k + (k.height + _-561));
                k.visible = true;
                k++;
            };
            _arg1.height = (((_-3UA._-5DG(_arg1) > 0)) ? (_-3UA._-5DG(_arg1) + 5) : 0);
        }
        public function _-2n6(_arg1:int):IWindowContainer
        {
            var k:IWindowContainer = IWindowContainer(this._-2bJ.getXmlWindow("grs_promoted_room_category"));
            this._-0HF(k, _arg1, "enter_room_button", this._-33E);
            this._-0HF(k, _arg1, "leader_region", this._-1AH);
            this._-0HF(k, _arg1, "toggle_open_region", this._-4m0);
            this._-2bJ.refreshButton(k, "navi_room_icon", true, null, 0);
            return (k);
        }
        private function _-3f9(_arg1:IWindowContainer, _arg2:String, _arg3:int=3):int
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            return (((k.x + k.width) + _arg3));
        }
        private function _-0HF(_arg1:IWindowContainer, _arg2:int, _arg3:String, _arg4:Function):void
        {
            _arg1.findChildByName(_arg3).procedure = _arg4;
            _arg1.findChildByName(_arg3).id = _arg2;
        }
        public function _-wY(_arg1:IWindowContainer, _arg2:_-4cY):void
        {
            var k:String = this._-2bJ.getText(("promotedroomcategory." + _arg2.code));
            _arg1.findChildByName("category_name_txt").caption = k;
            _arg1.findChildByName("category_header").width = (_arg1.findChildByName("category_name_txt").width + 13);
            this._-2bJ.registerParameter("navigator.promotedrooms.hidetopten", "category", k);
            this._-2bJ.registerParameter("navigator.promotedrooms.viewtopten", "category", k);
            _arg1.findChildByName("open_txt").caption = this._-2bJ.getText("navigator.promotedrooms.viewtopten");
            _arg1.findChildByName("close_txt").caption = this._-2bJ.getText("navigator.promotedrooms.hidetopten");
            _arg1.findChildByName("room_name_txt").caption = _arg2._-2HJ.roomName;
            var k:IWindow = _arg1.findChildByName("leader_name_txt");
            k.caption = ((_arg2._-2HJ._-2AG) ? _arg2._-2HJ._-0aC : "");
            k.x = this._-3f9(_arg1, "leader_name_caption_txt", 0);
            _arg1.findChildByName("arrow_down_icon").visible = _arg2.open;
            _arg1.findChildByName("arrow_right_icon").visible = !(_arg2.open);
            _arg1.findChildByName("close_txt").visible = _arg2.open;
            _arg1.findChildByName("open_txt").visible = !(_arg2.open);
            _arg1.findChildByName("arrow_down_icon").x = this._-3f9(_arg1, "close_txt");
            _arg1.findChildByName("arrow_right_icon").x = this._-3f9(_arg1, "open_txt");
            this._-2e1.refreshUserCount(_arg2._-2HJ._-Te, IWindowContainer(_arg1.findChildByName("enter_room_button")), _arg2._-2HJ.userCount, "${navigator.usercounttooltip.users}", 222, 35);
            this._-3ze(_arg1, _arg2);
            _arg1.findChildByName("item_list").visible = _arg2.open;
            if (_arg2.open)
            {
                _arg1.findChildByName("item_list").height = (_arg2.rooms.length * 17);
                this._-12Y.content = _arg1;
                this._-12Y.category = _arg2;
                this._-12Y.refresh();
            };
            _arg1.height = ((_arg2.open) ? (_-3UA._-5DG(_arg1) + 3) : 90);
        }
        private function _-33E(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-4cY;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-0hI(_arg2);
                this._-2bJ.data.roomSessionTags = new _-29Y(k.code, "1");
                this._-2bJ.goToPrivateRoom(k._-2HJ._-3EU);
                this._-2bJ._-rv();
            };
        }
        private function _-1AH(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-4cY;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-0hI(_arg2);
                this._-2bJ.trackGoogle("extendedProfile", "navigator_promotedRoom");
                this._-2bJ.send(new _-RA(k._-2HJ._-nJ));
            };
        }
        private function _-4m0(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            var k:_-4cY;
            var k:_-4cY;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                while (k < this._-2bJ.data._-3f.entries.length)
                {
                    k = this._-2bJ.data._-3f.entries[k];
                    if (_arg2.id != k)
                    {
                        k.open = false;
                    };
                    k++;
                };
                k = this._-0hI(_arg2);
                k._-7I();
                this._-2bJ._-0NE.refresh();
            };
        }
        private function _-0hI(_arg1:IWindow):_-4cY
        {
            return (this._-2bJ.data._-3f.entries[_arg1.id]);
        }
        private function _-3ze(_arg1:IWindowContainer, _arg2:_-4cY):void
        {
            var k:_-3Yi = _-3Yi(_arg1.findChildByName("avatar_image_widget"));
            var k:_-3La = _-3La(k.widget);
            k.figure = _arg2._-4xu;
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY.PublicRoomThumbs

package _-2rY
{
    import flash.utils.Dictionary;
    import _-4OG._-3FD;

    public class PublicRoomThumbs 
    {

        private var _-4oK:Dictionary;

        public function PublicRoomThumbs()
        {
            this._-4oK = new Dictionary();
            super();
            this.add("hh_room_bar");
            this.add("hh_room_bar_ING2");
            this.add("hh_room_beauty_salon_general");
            this.add("hh_room_cafe");
            this.add("hh_room_chill");
            this.add("hh_room_cinema");
            this.add("hh_room_clubmammoth");
            this.add("hh_room_disco");
            this.add("hh_room_emperors");
            this.add("hh_room_erics");
            this.add("hh_room_floorlobbies");
            this.add("hh_room_gate_park");
            this.add("hh_room_gold");
            this.add("hh_room_habburger");
            this.add("hh_room_hallway");
            this.add("hh_room_kitchen");
            this.add("hh_room_library");
            this.add("hh_room_lobby");
            this.add("hh_room_lobby_bb");
            this.add("hh_room_lobby_sw");
            this.add("hh_room_netcafe");
            this.add("hh_room_nlobby");
            this.add("hh_room_orient");
            this.add("hh_room_park");
            this.add("hh_room_picnic");
            this.add("hh_room_pizza");
            this.add("hh_room_pool");
            this.add("hh_room_pub");
            this.add("hh_room_rooftop");
            this.add("hh_room_schoolyard");
            this.add("hh_room_space_cafe");
            this.add("hh_room_sport");
            this.add("hh_room_starlounge");
            this.add("hh_room_sun_terrace");
            this.add("hh_room_tearoom");
            this.add("hh_room_terrace");
            this.add("hh_room_tv_studio");
            this.add("hh_room_tv_studio_nikejoga");
            this.add("hh_room_tv_studio_viva");
            this.add("hh_room_floatinggarden");
            this.add("hh_room_theater_halloween");
            this.add("hh_room_den");
            this.add("hh_room_ballroom");
            this.add("hh_room_dustylounge");
            this.add("hh_room_theater_xmas");
            this.add("hh_room_old_skool");
            this.add("hh_room_theater");
            this.add("hh_room_theater_easter");
            this.add("hh_room_sunsetcafe");
            this.add("hh_room_theater_valentine");
            this.add("hh_room_library_halloween");
            this.add("hh_room_theater_carneval");
            this.add("hh_room_icecafe");
            this.add("hh_room_park_general");
            this.add("hh_room_floorlobbies_skylight");
            this.add("hh_room_floorlobbies_basement");
            this.add("hh_room_park_fi");
            this.add("hh_room_floorlobbies_median");
            this.add("hh_room_nlobby_static_cn");
            this.add("hh_room_tv_studio_general");
        }
        public function _-R1(_arg1:_-3FD):String
        {
            var k:String;
            var k:Array = _arg1._-2zE._-4Ac.split(",");
            for each (k in k)
            {
                if (this._-2d4(k))
                {
                    return (k);
                };
            };
            return (k[0]);
        }
        private function _-2d4(_arg1:String):Boolean
        {
            return (!((this._-4oK[_arg1] == null)));
        }
        private function add(_arg1:String):void
        {
            this._-4oK[_arg1] = _arg1;
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2rY.RoomAdListCtrl

package _-2rY
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-2vN._-3hb;
    import _-1ae.ITextWindow;
    import _-4GV._-3UA;
    import _-4OG._-io;
    import _-4OG._-3pI;
    import _-Ew.IWindow;
    import _-0hd._-jP;
    import _-0Ie.WindowEvent;

    public class RoomAdListCtrl extends GuestRoomListCtrl 
    {

        public function RoomAdListCtrl(_arg1:HabboNavigator, _arg2:int, _arg3:Boolean)
        {
            super(_arg1, _arg2, _arg3);
        }
        override protected function getListEntry(_arg1:int):IWindowContainer
        {
            var k:IWindowContainer = IWindowContainer(_-2bJ.getXmlWindow("grs_room_ads_details_short"));
            k.background = true;
            k.addEventListener(WindowMouseEvent._-2dT, _-1nn);
            k.addEventListener(WindowMouseEvent._-4ea, _-1hF);
            k.addEventListener(WindowMouseEvent._-4e2, _-45Q);
            k.addEventListener(WindowMouseEvent._-90, this.onMouseClick);
            k.setParamFlag(_-3hb._-0g6, true);
            k.setParamFlag(_-3hb._-2jp, true);
            k.color = getBgColor(_arg1);
            k.tags.push(_arg1);
            return (k);
        }
        override protected function refreshEntryDetails(_arg1:IWindowContainer, _arg2:_-3pI):void
        {
            _arg1.visible = true;
            var k:ITextWindow = ITextWindow(_arg1.getChildByName("adname"));
            k.visible = true;
            _-3UA._-41X(k, _arg2._-40W, _arg1.width);
            _-2bJ.refreshButton(_arg1, "doormode_doorbell_small", (_arg2._-0Qj == _-io._-1HI), null, 0);
            _-2bJ.refreshButton(_arg1, "doormode_password_small", (_arg2._-0Qj == _-io._-3c4), null, 0);
            _-2e1.refreshUserCount(_arg2._-Te, _arg1, _arg2.userCount, "${navigator.usercounttooltip.users}", 233, 2);
        }
        private function _-0NK(_arg1:int):_-3pI
        {
            return (getRooms()[_arg1]);
        }
        override protected function onMouseClick(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.target;
            var k:int = k.tags[0];
            var k:_-3pI = this._-0NK(k);
            _-2bJ.send(new _-jP(k._-3EU, k._-40W, k._-4wQ));
            super.onMouseClick(_arg1);
        }

    }
}//package _-2rY

//------------------------------------------------------------
//_-2S9._-4dJ

package _-2S9
{
    public class _-4dJ extends Exception 
    {

        public function _-4dJ(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-2S9

//------------------------------------------------------------
//_-2S9._-4G4

package _-2S9
{
    public class _-4G4 extends Exception 
    {

        public function _-4G4(_arg1:String)
        {
            super(_arg1);
        }
    }
}//package _-2S9

//------------------------------------------------------------
//_-2S9._-oS

package _-2S9
{
    import _-p-.Core;

    public class _-oS extends Error 
    {

        public function _-oS()
        {
            super("An intentional crash triggered by the user", Core._-0xJ);
        }
    }
}//package _-2S9

//------------------------------------------------------------
//_-2S9.Exception

package _-2S9
{
    import flash.utils.getQualifiedClassName;

    public class Exception extends Error 
    {

        private var _-4Me:Error;

        public function Exception(_arg1:String, _arg2:int=0, _arg3:Error=null)
        {
            super(_arg1, _arg2);
            this._-4Me = _arg3;
        }
        public static function _-4X2(_arg1:Error):String
        {
            var k:String;
            var k:String;
            while (_arg1 != null)
            {
                k = _arg1.getStackTrace();
                if (k != null)
                {
                    if (k == null)
                    {
                    }
                    else
                    {
                        k = (k + "\ncaused by ");
                        k = (k + k);
                    };
                };
                if ((_arg1 is Exception))
                {
                    k = (_arg1 as Exception)._-1Fj;
                }
                else
                {
                    k = null;
                };
            };
            return (k);
        }

        public function get _-1Fj():Error
        {
            return (this._-4Me);
        }
        public function toString():String
        {
            var k:String = ((getQualifiedClassName(this) + ": ") + super.message);
            if (this._-4Me != null)
            {
                k = (k + ", caused by ");
                k = (k + this._-4Me.toString());
            };
            return (k);
        }

    }
}//package _-2S9

//------------------------------------------------------------
//_-2SC._-06v

package _-2SC
{
    import flash.utils.Proxy;
    import _-1ae._-2x6;
    import _-1ae.ISelectableWindow;
    import _-3EM.*;
    import flash.utils.flash_proxy

    public class _-06v extends Proxy implements _-yZ 
    {

        private var _-4lv:_-2x6;

        public function _-06v(_arg1:_-2x6)
        {
            this._-4lv = _arg1;
        }
        public function get length():uint
        {
            return (this._-4lv._-1aI);
        }
        public function indexOf(_arg1):int
        {
            return (this._-4lv._-2Vt(_arg1));
        }
        override flash_proxy function getProperty(_arg1)
        {
            return (this._-4lv.getChildAt(uint(_arg1)));
        }
        override flash_proxy function setProperty(_arg1, _arg2):void
        {
            var k:int;
            var k:ISelectableWindow = (_arg2 as ISelectableWindow);
            if (k)
            {
                k = this._-4lv._-2Vt(k);
                if (k == _arg1)
                {
                    return;
                };
                if (k > -1)
                {
                    this._-4lv._-1KF(k);
                };
                this._-4lv._-1Sw(k, uint(_arg1));
            }
            else
            {
                k = this._-4lv.getChildIndex(_arg2);
                if (k == _arg1)
                {
                    return;
                };
                if (k > -1)
                {
                    this._-4lv.removeChild(k);
                };
                this._-4lv.addChildAt(_arg2, uint(_arg1));
            };
        }
        override flash_proxy function nextNameIndex(_arg1:int):int
        {
            return ((((_arg1 < this._-4lv._-1aI)) ? (_arg1 + 1) : 0));
        }
        override flash_proxy function nextValue(_arg1:int)
        {
            return (this._-4lv._-0wi((uint(_arg1) - 1)));
        }

    }
}//package _-2SC

//------------------------------------------------------------
//_-2SC._-0zt

package _-2SC
{
    import flash.utils.Proxy;
    import _-1ae.DropListController;
    import _-Ew.IWindow;
    import _-3EM.*;
    import flash.utils.flash_proxy

    public class _-0zt extends Proxy implements _-yZ 
    {

        private var _-4lv:DropListController;

        public function _-0zt(_arg1:DropListController)
        {
            this._-4lv = _arg1;
        }
        public function get length():uint
        {
            return (this._-4lv.numMenuItems);
        }
        public function indexOf(_arg1):int
        {
            return (this._-4lv._-0V2(_arg1));
        }
        override flash_proxy function getProperty(_arg1)
        {
            return (this._-4lv._-5Cb(uint(_arg1)));
        }
        override flash_proxy function setProperty(_arg1, _arg2):void
        {
            var k:IWindow = (_arg2 as IWindow);
            var k:int = this._-4lv._-0V2(k);
            if (k == _arg1)
            {
                return;
            };
            if (k > -1)
            {
                this._-4lv._-1hc(k);
            };
            this._-4lv._-Yr(k, _arg1);
        }
        override flash_proxy function nextNameIndex(_arg1:int):int
        {
            return ((((_arg1 < this._-4lv.numMenuItems)) ? (_arg1 + 1) : 0));
        }
        override flash_proxy function nextValue(_arg1:int)
        {
            return (this._-4lv._-5Cb((uint(_arg1) - 1)));
        }

    }
}//package _-2SC

//------------------------------------------------------------
//_-2SC._-32G

package _-2SC
{
    import flash.utils.Proxy;
    import _-1ae._-44y;
    import _-Ew.IWindow;
    import _-3EM.*;
    import flash.utils.flash_proxy

    public class _-32G extends Proxy implements _-yZ 
    {

        private var _-4lv:_-44y;

        public function _-32G(_arg1:_-44y)
        {
            this._-4lv = _arg1;
        }
        public function get length():uint
        {
            return (this._-4lv.numGridItems);
        }
        public function indexOf(_arg1):int
        {
            return (this._-4lv.getGridItemIndex(_arg1));
        }
        override flash_proxy function getProperty(_arg1)
        {
            return (this._-4lv._-jx(uint(_arg1)));
        }
        override flash_proxy function setProperty(_arg1, _arg2):void
        {
            var k:IWindow = (_arg2 as IWindow);
            var k:int = this._-4lv.getGridItemIndex(k);
            if (k == _arg1)
            {
                return;
            };
            if (k > -1)
            {
                this._-4lv._-0SW(k);
            };
            this._-4lv._-F4(k, uint(_arg1));
        }
        override flash_proxy function nextNameIndex(_arg1:int):int
        {
            return ((((_arg1 < this._-4lv.numGridItems)) ? (_arg1 + 1) : 0));
        }
        override flash_proxy function nextValue(_arg1:int)
        {
            return (this._-4lv._-jx((uint(_arg1) - 1)));
        }

    }
}//package _-2SC

//------------------------------------------------------------
//_-2SC._-38M

package _-2SC
{
    import flash.utils.Proxy;
    import _-3EM.*;
    import flash.utils.flash_proxy

    public class _-38M extends Proxy implements _-yZ 
    {

        public static const _-Kj:_-38M = new (_-38M)();

        public function get length():uint
        {
            return (0);
        }
        public function indexOf(_arg1):int
        {
            return (-1);
        }
        override flash_proxy function getProperty(_arg1)
        {
            return (null);
        }
        override flash_proxy function setProperty(_arg1, _arg2):void
        {
        }
        override flash_proxy function nextNameIndex(_arg1:int):int
        {
            return (0);
        }
        override flash_proxy function nextValue(_arg1:int)
        {
            return (null);
        }

    }
}//package _-2SC

//------------------------------------------------------------
//_-2SC._-3gK

package _-2SC
{
    import flash.utils.Proxy;
    import _-1ae._-3C0;
    import _-Ew.IWindow;
    import _-3EM.*;
    import flash.utils.flash_proxy

    public class _-3gK extends Proxy implements _-yZ 
    {

        private var _-4lv:_-3C0;

        public function _-3gK(_arg1:_-3C0)
        {
            this._-4lv = _arg1;
        }
        public function get length():uint
        {
            return (this._-4lv.numListItems);
        }
        public function indexOf(_arg1):int
        {
            return (this._-4lv._-ed(_arg1));
        }
        override flash_proxy function getProperty(_arg1)
        {
            return (this._-4lv.getListItemAt(uint(_arg1)));
        }
        override flash_proxy function setProperty(_arg1, _arg2):void
        {
            var k:IWindow = (_arg2 as IWindow);
            var k:int = this._-4lv._-ed(k);
            if (k == _arg1)
            {
                return;
            };
            if (k > -1)
            {
                this._-4lv._-4sE(k);
            };
            this._-4lv._-kE(k, uint(_arg1));
        }
        override flash_proxy function nextNameIndex(_arg1:int):int
        {
            return ((((_arg1 < this._-4lv.numListItems)) ? (_arg1 + 1) : 0));
        }
        override flash_proxy function nextValue(_arg1:int)
        {
            return (this._-4lv.getListItemAt((uint(_arg1) - 1)));
        }

    }
}//package _-2SC

//------------------------------------------------------------
//_-2SC._-c0

package _-2SC
{
    import flash.utils.Proxy;
    import _-Ew.WindowController;
    import _-Ew.IWindow;
    import _-3EM.*;
    import flash.utils.flash_proxy

    public class _-c0 extends Proxy implements _-yZ 
    {

        private var _-4lv:WindowController;

        public function _-c0(_arg1:WindowController)
        {
            this._-4lv = _arg1;
        }
        public function get length():uint
        {
            return (this._-4lv.numChildren);
        }
        public function indexOf(_arg1):int
        {
            return (this._-4lv.getChildIndex(_arg1));
        }
        override flash_proxy function getProperty(_arg1)
        {
            return (this._-4lv.getChildAt(uint(_arg1)));
        }
        override flash_proxy function setProperty(_arg1, _arg2):void
        {
            var k:IWindow = (_arg2 as IWindow);
            var k:int = this._-4lv.getChildIndex(k);
            if (k == _arg1)
            {
                return;
            };
            if (k > -1)
            {
                this._-4lv.removeChild(k);
            };
            this._-4lv.addChildAt(k, uint(_arg1));
        }
        override flash_proxy function nextNameIndex(_arg1:int):int
        {
            return ((((_arg1 < this._-4lv.numChildren)) ? (_arg1 + 1) : 0));
        }
        override flash_proxy function nextValue(_arg1:int)
        {
            return (this._-4lv.getChildAt((uint(_arg1) - 1)));
        }

    }
}//package _-2SC

//------------------------------------------------------------
//_-2SY._-0Fy

package _-2SY
{
    import _-4Aj._-0tL;
    import _-DW.AvatarInfoWidget;
    import _-Ew.IWindowContainer;
    import flash.geom.Rectangle;
    import _-0NX._-1eW;
    import _-39k._-0Xt;
    import flash.geom.Point;

    public class _-0Fy implements _-3AI 
    {

        private var _-4QT:_-0tL;
        protected var _-0dg:AvatarInfoWidget;
        protected var _-0xv:IWindowContainer;
        protected var _-1RF:int;

        public function _-0Fy(_arg1:AvatarInfoWidget)
        {
            this._-0dg = _arg1;
        }
        public function dispose():void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-0dg)
            {
                if (((this._-0dg.handler.container.connection) && (this._-4QT)))
                {
                    this._-0dg.handler.container.connection.removeMessageEvent(this._-4QT);
                    this._-4QT = null;
                };
                this._-0dg = null;
            };
            this._-1RF = -1;
        }
        public function get disposed():Boolean
        {
            return ((this._-0dg == null));
        }
        public function open(_arg1:int, _arg2:Point=null):void
        {
            var k:XML;
            var k:Rectangle;
            this._-1RF = _arg1;
            if (!this._-4QT)
            {
                this._-4QT = new _-1eW(this._-1nq);
                this._-0dg.handler.container.connection.addMessageEvent(this._-4QT);
            };
            this._-0dg.handler.container.connection.send(new _-0Xt(this._-1RF, this.skillType));
            if (!this._-0xv)
            {
                k = (this._-0dg.assets.getAssetByName(this.windowAssetName).content as XML);
                this._-0xv = (this._-0dg.windowManager.buildFromXML(k, 1) as IWindowContainer);
            };
            if (_arg2)
            {
                k = this._-0xv.rectangle;
                this._-0xv.x = (_arg2.x - (k.width / 2));
                this._-0xv.y = (_arg2.y - k.height);
            };
            this._-0va();
            this._-0xv.visible = true;
            this.deactivateInputs();
        }
        public function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function parseConfiguration(_arg1:String):void
        {
        }
        protected function deactivateInputs():void
        {
        }
        protected function get windowAssetName():String
        {
            return ("");
        }
        protected function get skillType():int
        {
            return (-1);
        }
        private function _-1nq(_arg1:_-1eW):void
        {
            if ((((_arg1._-3-5()._-5F3 == this._-1RF)) && ((_arg1._-3-5()._-2DH == this.skillType))))
            {
                this.parseConfiguration(_arg1._-3-5().data);
            };
        }
        private function _-0va():void
        {
            var k:Rectangle = new Rectangle();
            this._-0xv.getGlobalRectangle(k);
            if (k.top < 0)
            {
                this._-0xv.y = (this._-0xv.y + -(k.top));
            };
            if (k.left < 0)
            {
                this._-0xv.x = (this._-0xv.x + -(k.left));
            };
            if (k.right > this._-0xv.desktop.width)
            {
                this._-0xv.x = (this._-0xv.x - (k.right - this._-0xv.desktop.width));
            };
            if (k.bottom > this._-0xv.desktop.height)
            {
                this._-0xv.y = (this._-0xv.y - (k.bottom - this._-0xv.desktop.height));
            };
        }

    }
}//package _-2SY

//------------------------------------------------------------
//_-2SY._-3AI

package _-2SY
{
    import flash.geom.Point;
    import _-1B-.*;

    public interface _-3AI extends _-1zZ 
    {

        function open(_arg1:int, _arg2:Point=null):void;
        function close():void;
        function parseConfiguration(_arg1:String):void;

    }
}//package _-2SY

//------------------------------------------------------------
//_-2SY._-3nv

package _-2SY
{
    public class _-3nv 
    {

        public static const _-49T:int = 0;
        public static const _-0EV:int = 1;
        public static const _-KV:int = 2;
        public static const _-2F6:int = 3;
        public static const _-rQ:int = 4;
        public static const _-h4:int = 5;
        public static const _-3dm:int = 6;

    }
}//package _-2SY

//------------------------------------------------------------
//_-2SY._-Nk

package _-2SY
{
    import _-DW.AvatarInfoWidget;
    import flash.geom.Point;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-39k._-1bz;
    import _-0Ie.WindowKeyboardEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-Nk extends _-0Fy 
    {

        private var _-1v0:String = "";

        public function _-Nk(_arg1:AvatarInfoWidget)
        {
            super(_arg1);
        }
        override protected function get windowAssetName():String
        {
            return ("name_configuration_xml");
        }
        override protected function get skillType():int
        {
            return (_-3nv._-h4);
        }
        override public function dispose():void
        {
            close();
            super.dispose();
        }
        override public function open(_arg1:int, _arg2:Point=null):void
        {
            super.open(_arg1, _arg2);
            _-0xv.procedure = this.procedure;
        }
        override public function parseConfiguration(_arg1:String):void
        {
            this._-0Vx = _arg1;
        }
        private function set _-0Vx(_arg1:String):void
        {
            this._-1v0 = _arg1;
            var k:ITextWindow = ITextWindow(_-0xv.findChildByName("name_input"));
            k.text = this._-1v0;
            k.activate();
        }
        override protected function deactivateInputs():void
        {
            _-0xv.findChildByName("name_input").deactivate();
        }
        private function procedure(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "save_button":
                        _-0dg.handler.container.connection.send(new _-1bz(_-1RF, _-3nv._-h4, this._-1v0));
                        close();
                        break;
                    case "cancel_button":
                        close();
                        break;
                };
            };
            if (_arg1.type == WindowKeyboardEvent._-4Wf)
            {
                this._-1v0 = ITextWindow(_-0xv.findChildByName("name_input")).text;
            };
        }

    }
}//package _-2SY

//------------------------------------------------------------
//_-2SY.BotChatterMarkovConfiguration

package _-2SY
{
    import _-DW.AvatarInfoWidget;
    import flash.geom.Point;
    import _-1ae.ITextWindow;
    import _-1ae.ICheckBoxWindow;
    import _-0Ie.WindowMouseEvent;
    import _-39k._-1bz;
    import _-2ly._-11j;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class BotChatterMarkovConfiguration extends _-0Fy 
    {

        public function BotChatterMarkovConfiguration(_arg1:AvatarInfoWidget)
        {
            super(_arg1);
        }
        private static function _-3gA(_arg1:String):String
        {
            var k:String = _arg1;
            k = k.replace(/;/g, " ");
            return (k);
        }

        override protected function get windowAssetName():String
        {
            return ("chatter_configuration_xml");
        }
        override protected function get skillType():int
        {
            return (_-3nv._-KV);
        }
        override public function dispose():void
        {
            close();
            super.dispose();
        }
        override public function open(_arg1:int, _arg2:Point=null):void
        {
            super.open(_arg1, _arg2);
            _-0xv.procedure = this.procedure;
        }
        override public function parseConfiguration(_arg1:String):void
        {
            var k:Array = _arg1.split(";");
            if ((((k.length == 3)) && (_-0xv)))
            {
                this.text = k[0];
                this._-4hO = (((String(k[1]).toLowerCase() == "true")) || ((k[1] == "1")));
                this._-1Nw = int(k[2]);
            };
        }
        override protected function deactivateInputs():void
        {
            _-0xv.findChildByName("chat_text").deactivate();
            _-0xv.findChildByName("auto_chat_checkbox").deactivate();
            _-0xv.findChildByName("chat_delay_text").deactivate();
        }
        private function set text(_arg1:String):void
        {
            var k:ITextWindow = ITextWindow(_-0xv.findChildByName("chat_text"));
            k.text = _arg1;
            k.activate();
        }
        private function get text():String
        {
            return (ITextWindow(_-0xv.findChildByName("chat_text")).text);
        }
        private function set _-4hO(_arg1:Boolean):void
        {
            var k:ICheckBoxWindow = ICheckBoxWindow(_-0xv.findChildByName("auto_chat_checkbox"));
            k._-vX = _arg1;
            k.activate();
        }
        private function get _-4hO():Boolean
        {
            return (ICheckBoxWindow(_-0xv.findChildByName("auto_chat_checkbox"))._-vX);
        }
        private function set _-1Nw(_arg1:int):void
        {
            var k:ITextWindow = ITextWindow(_-0xv.findChildByName("chat_delay_text"));
            k.text = _arg1.toString();
            k.activate();
        }
        private function get _-1Nw():int
        {
            return (int(ITextWindow(_-0xv.findChildByName("chat_delay_text")).text));
        }
        private function get _-0kI():String
        {
            return (((((_-3gA(this.text) + ";") + this._-4hO) + ";") + this._-1Nw));
        }
        private function procedure(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "save_button":
                        _-0dg.handler.container.connection.send(new _-1bz(_-1RF, _-3nv._-KV, this._-0kI));
                        close();
                        return;
                    case "cancel_button":
                        close();
                        return;
                    case "help_link":
                        _-11j.navigateToURL(_-0dg.configuration.getKey("link.format.bots.help"), "habboMain");
                        return;
                };
            };
        }

    }
}//package _-2SY

//------------------------------------------------------------
//_-2tT._-04m

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-04m implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-0Gm

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Gm implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-1fj

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1fj implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _-3lK:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get value():int
        {
            return (this._-3lK);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            this._-3lK = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-1jA

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1jA implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2aZ:Boolean = false;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-3uA():Boolean
        {
            return (this._-2aZ);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-2aZ = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2aZ = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-1Jg

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Jg implements _-58N 
    {

        public static const _-1XN:int = 1;
        public static const _-lS:int = 2;
        public static const _-4Zr:int = 3;
        public static const _-4vo:int = 4;

        private var _-3Dw:int = 0;
        private var _-2IN:String = "";

        public function flush():Boolean
        {
            this._-3Dw = 0;
            this._-2IN = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            if (this._-3Dw == 3)
            {
                this._-2IN = _arg1.readString();
            }
            else
            {
                this._-2IN = "";
            };
            return (true);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }
        public function get _-y-():String
        {
            return (this._-2IN);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-1XA

package _-2tT
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1XA implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-wk:Map;
        private var _-R4:int = 0;

        public function _-1XA()
        {
            this._-wk = new Map();
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-1bW():int
        {
            return (this._-R4);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-wk.reset();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:_-xA;
            var k:String;
            var k:int;
            var k:int;
            this._-wk.reset();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1.readString();
                k = _arg1._-2BW();
                if (k == 0)
                {
                    this._-R4 = k;
                };
                k = new _-xA(k, k);
                k = _arg1._-2BW();
                k = 0;
                while (k < k)
                {
                    k._-1Co(_arg1.readString(), _arg1._-2BW());
                    k++;
                };
                this._-wk.add(k.target, k);
                k++;
            };
            return (true);
        }
        public function _-0XJ():Array
        {
            return (this._-wk._-18C());
        }
        public function _-2QY(_arg1:int):_-xA
        {
            return ((this._-wk.getValue(_arg1) as _-xA));
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-3uk

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3uk implements _-58N 
    {

        private var _-2PS:String = "";
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get roomType():String
        {
            return (this._-2PS);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-2PS = "";
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2PS = _arg1.readString();
            this._-1Rt = _arg1._-2BW();
            if (this._-2PS.indexOf("model_") < 0)
            {
                this._-0wA = 1;
            };
            return (true);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-4gm

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4gm implements _-58N 
    {

        private var _-2z9:Boolean;
        private var _-1Rt:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get _-1XB():Boolean
        {
            return (this._-2z9);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2z9 = _arg1.readBoolean();
            this._-1Rt = _arg1._-2BW();
            return (true);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-4kF

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4kF implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2lb:String = null;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-2lb = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2lb = _arg1.readString();
            return (true);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-xA

package _-2tT
{
    import _-18r.Map;

    public class _-xA 
    {

        private var _name:String;
        private var _-1hZ:int;
        private var _-0K0:Map;

        public function _-xA(_arg1:String, _arg2:int)
        {
            this._name = _arg1;
            this._-1hZ = _arg2;
            this._-0K0 = new Map();
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get target():int
        {
            return (this._-1hZ);
        }
        public function get _-08-():Array
        {
            return (this._-0K0._-18C());
        }
        public function _-0E9(_arg1:String):int
        {
            return (this._-0K0.getValue(_arg1));
        }
        public function _-1Co(_arg1:String, _arg2:int):void
        {
            this._-0K0.add(_arg1, _arg2);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tT._-Z0

package _-2tT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-Z0 implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-2tT

//------------------------------------------------------------
//_-2tv._-006

package _-2tv
{
    import _-4c._-BW;
    import _-U2._-1Yl;
    import _-1B-.*;

    public class _-006 implements _-1zZ, _-0gI 
    {

        private var _-2EK:HabboQuestEngine;
        private var _-2Lu:QuestsList;
        private var _-1KK:QuestDetails;
        private var _-3vZ:_-0YM;
        private var _-0LC:QuestTracker;
        private var _-23k:NextQuestTimer;
        private var _-D:_-BW;
        private var _-3Iv:Boolean = true;

        public function _-006(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
            this._-0LC = new QuestTracker(this._-2EK);
            this._-2Lu = new QuestsList(this._-2EK);
            this._-1KK = new QuestDetails(this._-2EK);
            this._-3vZ = new _-0YM(this._-2EK);
            this._-23k = new NextQuestTimer(this._-2EK);
            this._-D = new _-BW(this._-2EK);
        }
        public function _-2J3():void
        {
            if (this._-2EK._-2W8())
            {
                this._-D._-2J3();
                this._-3Iv = true;
                this._-2Lu.close();
            }
            else
            {
                this._-2Lu._-2J3();
            };
        }
        public function _-2mI(_arg1:Array, _arg2:Boolean):void
        {
            if (((this._-2EK._-2W8()) && (this._-3Iv)))
            {
                this._-D._-2mI(_arg1, _arg2);
            }
            else
            {
                this._-2Lu._-2mI(_arg1, _arg2);
            };
        }
        public function do (_arg1:_-1Yl):void
        {
            this._-0LC.do (_arg1);
            this._-1KK.do (_arg1);
            this._-3vZ.do (_arg1);
            this._-23k.do (_arg1);
        }
        public function _-ox(_arg1:_-1Yl, _arg2:Boolean):void
        {
            this._-0LC._-ox(_arg1, _arg2);
            this._-1KK._-ox(_arg1);
            this._-3vZ._-ox(_arg1, _arg2);
        }
        public function _-4kl():void
        {
            this._-0LC._-4kl();
            this._-1KK._-4kl();
            this._-3vZ._-4kl();
            this._-23k._-4kl();
        }
        public function _-0TW():void
        {
            this._-0LC._-0TW();
        }
        public function _-5m():void
        {
            this._-2Lu._-5m();
            this._-D._-5m();
            this._-0LC._-5m();
            this._-1KK._-5m();
            this._-23k._-5m();
        }
        public function _-1v4(_arg1:int, _arg2:int):void
        {
            this._-D._-1v4(_arg1, _arg2);
        }
        public function update(_arg1:uint):void
        {
            this._-3vZ.update(_arg1);
            this._-0LC.update(_arg1);
            this._-23k.update(_arg1);
            this._-2Lu.update(_arg1);
            this._-1KK.update(_arg1);
        }
        public function dispose():void
        {
            this._-2EK = null;
            if (this._-2Lu)
            {
                this._-2Lu.dispose();
                this._-2Lu = null;
            };
            if (this._-0LC)
            {
                this._-0LC.dispose();
                this._-0LC = null;
            };
            if (this._-1KK)
            {
                this._-1KK.dispose();
                this._-1KK = null;
            };
            if (this._-3vZ)
            {
                this._-3vZ.dispose();
                this._-3vZ = null;
            };
            if (this._-23k)
            {
                this._-23k.dispose();
                this._-23k = null;
            };
            if (this._-D)
            {
                this._-D.dispose();
                this._-D = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function get _-4bm():QuestsList
        {
            return (this._-2Lu);
        }
        public function get _-0Hi():QuestDetails
        {
            return (this._-1KK);
        }
        public function get _-1PL():QuestTracker
        {
            return (this._-0LC);
        }
        public function get _-2ea():_-BW
        {
            return (this._-D);
        }
        public function set _-3nr(_arg1:Boolean):void
        {
            this._-3Iv = _arg1;
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv._-03-

package _-2tv
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-03- extends _-4yI 
    {

        function _-4uF():Boolean;
        function showAchievements():void;
        function _-1qr():void;
        function reenableRoomCompetitionWindow():void;
        function requestSeasonalQuests():void;
        function get events():IEventDispatcher;

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv._-0YM

package _-2tv
{
    import _-1ae.IFrameWindow;
    import _-U2._-1Yl;
    import _-0Ie.WindowMouseEvent;
    import _-02T._-1sR;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-02T._-YF;
    import _-1ae.ITextWindow;
    import _-1B-.*;

    public class _-0YM implements _-1zZ 
    {

        private static const _-1Rn:int = 2000;
        private static const _-1tX:int = 5;
        private static const _-1JR:int = 31;

        private var _-0xv:IFrameWindow;
        private var _-2EK:HabboQuestEngine;
        private var _-3oz:_-1Yl;
        private var _-1tt:Animation;
        private var _-03G:int;

        public function _-0YM(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
        }
        public function dispose():void
        {
            this._-2EK = null;
            this._-3oz = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-1tt)
            {
                this._-1tt.dispose();
                this._-1tt = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-0xv == null));
        }
        public function do (_arg1:_-1Yl):void
        {
            this.close();
        }
        public function _-4kl():void
        {
            this.close();
        }
        public function _-ox(_arg1:_-1Yl, _arg2:Boolean):void
        {
            if (_arg2)
            {
                this.prepare(_arg1);
                this._-03G = _-1Rn;
            };
        }
        private function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        private function _-02c(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-0xv.visible = false;
            this._-2EK._-2AC._-0Hi._-0C6 = (this._-2EK.configuration.getKey("questing.showDetailsForNextQuest") == "true");
            this._-2EK.send(new _-1sR());
        }
        private function _-ro(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-0xv.visible = false;
                this._-2EK.send(new _-YF());
            };
        }
        public function prepare(_arg1:_-1Yl):void
        {
            this._-3oz = _arg1;
            if (this._-0xv == null)
            {
                this._-0xv = IFrameWindow(this._-2EK.getXmlWindow("QuestCompletedDialog"));
                this._-0xv.findChildByTag("close").procedure = this._-02c;
                this._-0xv.findChildByName("next_quest_button").procedure = this._-02c;
                this._-0xv.findChildByName("more_quests_button").procedure = this._-ro;
                this._-0xv.findChildByName("catalog_link_region").procedure = this._-3vh;
                this._-1tt = this._-2EK._-57R(this._-0xv);
            };
            this._-0xv.findChildByName("catalog_link_txt").caption = this._-2EK.localization.getKey(("quests.completed.cataloglink." + this._-3oz.activityPointType));
            var k:String = ("quests.completed.reward." + this._-3oz.activityPointType);
            this._-2EK.localization.registerParameter(k, "amount", this._-3oz._-28D.toString());
            this._-0xv.findChildByName("reward_txt").caption = this._-2EK.localization.getKey(k, k);
            this._-0xv.findChildByName("reward_txt").visible = (((this._-3oz.activityPointType >= 0)) && ((this._-3oz._-28D > 0)));
            this._-0xv.visible = false;
            this._-0xv.findChildByName("congrats_txt").caption = this._-2EK.localization.getKey(((this._-3oz._-0P0) ? "quests.completed.campaign.caption" : "quests.completed.quest.caption"));
            this._-0xv.findChildByName("more_quests_button").visible = this._-3oz._-0P0;
            this._-0xv.findChildByName("campaign_reward_icon").visible = this._-3oz._-0P0;
            this._-0xv.findChildByName("catalog_link_region").visible = ((!(this._-3oz._-0P0)) && ((this._-3oz._-28D > 0)));
            this._-0xv.findChildByName("next_quest_button").visible = !(this._-3oz._-0P0);
            this._-0xv.findChildByName("reward_icon").visible = !(this._-3oz._-0P0);
            this._-0xv.findChildByName("campaign_reward_icon").visible = this._-3oz._-0P0;
            this._-0xv.findChildByName("campaign_pic_bitmap").visible = this._-3oz._-0P0;
            this._-27Z(((this._-3oz._-0P0) ? "quests.completed.campaign.title" : "quests.completed.quest.title"));
            this._-2EK._-0lz(this._-0xv, _arg1, this._-3oz._-0P0);
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName("desc_txt"));
            var k:int = k.height;
            this._-0Yu((this._-3oz._-1PR() + ".completed"));
            k.height = Math.max(_-1JR, (k.textHeight + _-1tX));
            var k:int = (k.height - k);
            this._-0xv.height = (this._-0xv.height + k);
        }
        private function _-27Z(_arg1:String):void
        {
            this._-2EK.localization.registerParameter(_arg1, "category", this._-2EK._-iM(this._-3oz));
            this._-0xv.caption = this._-2EK.localization.getKey(_arg1, _arg1);
        }
        private function _-0Yu(_arg1:String):void
        {
            this._-0xv.findChildByName("desc_txt").caption = this._-2EK.localization.getKey(_arg1, _arg1);
        }
        private function _-3vh(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.openCatalog(this._-3oz);
            };
        }
        public function update(_arg1:uint):void
        {
            if (this._-03G > 0)
            {
                this._-03G = (this._-03G - _arg1);
                if (this._-03G < 1)
                {
                    this._-0xv.center();
                    this._-0xv.visible = true;
                    this._-0xv.activate();
                    if (this._-3oz._-0P0)
                    {
                        this._-1tt._-3XB();
                    }
                    else
                    {
                        this._-1tt.stop();
                    };
                };
            };
            if (this._-1tt != null)
            {
                this._-1tt.update(_arg1);
            };
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv._-3zd

package _-2tv
{
    import flash.geom.Point;
    import flash.display.BitmapData;
    import _-1B-.*;

    public interface _-3zd extends _-1zZ 
    {

        function _-2HO(_arg1:int):Point;
        function _-5Es(_arg1:int):BitmapData;
        function _-52S(_arg1:int):Boolean;
        function _-47q():void;

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.AchievementCategories

package _-2tv
{
    import flash.utils.Dictionary;
    import _-69._-mL;

    public class AchievementCategories 
    {

        private var _-2nU:Dictionary;
        private var _-1IA:Array;

        public function AchievementCategories(_arg1:Array)
        {
            var k:_-mL;
            var k:AchievementCategory;
            this._-2nU = new Dictionary();
            this._-1IA = new Array();
            super();
            for each (k in _arg1)
            {
                if (k.category == "")
                {
                }
                else
                {
                    k = this._-2nU[k.category];
                    if (k == null)
                    {
                        k = new AchievementCategory(k.category);
                        this._-2nU[k.category] = k;
                        this._-1IA.push(k);
                    };
                    k.add(k);
                };
            };
        }
        public function update(_arg1:_-mL):void
        {
            if (_arg1.category == "")
            {
                return;
            };
            var k:AchievementCategory = this._-2nU[_arg1.category];
            k.update(_arg1);
        }
        public function get _-4DB():Array
        {
            return (this._-1IA);
        }
        public function _-2B5():int
        {
            var k:AchievementCategory;
            var k:int;
            for each (k in this._-1IA)
            {
                k = (k + k._-2B5());
            };
            return (k);
        }
        public function _-3U8():int
        {
            var k:AchievementCategory;
            var k:int;
            for each (k in this._-1IA)
            {
                k = (k + k._-3U8());
            };
            return (k);
        }
        public function _-4Qo(_arg1:String):AchievementCategory
        {
            var k:AchievementCategory;
            for each (k in this._-1IA)
            {
                if (k.code == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.AchievementCategory

package _-2tv
{
    import _-69._-mL;

    public class AchievementCategory 
    {

        private var _-0Nf:String;
        private var _-020:Array;

        public function AchievementCategory(_arg1:String)
        {
            this._-020 = new Array();
            super();
            this._-0Nf = _arg1;
        }
        public function add(_arg1:_-mL):void
        {
            this._-020.push(_arg1);
        }
        public function update(_arg1:_-mL):void
        {
            var k:_-mL;
            var k:int;
            while (k < this._-020.length)
            {
                k = this._-020[k];
                if (k._-4Oi == _arg1._-4Oi)
                {
                    this._-020[k] = _arg1;
                };
                k++;
            };
        }
        public function _-3U8():int
        {
            var k:_-mL;
            var k:int;
            for each (k in this._-020)
            {
                k = (k + ((k._-IJ) ? k.level : (k.level - 1)));
            };
            return (k);
        }
        public function _-2B5():int
        {
            var k:_-mL;
            var k:int;
            for each (k in this._-020)
            {
                k = (k + k._-1OV);
            };
            return (k);
        }
        public function get code():String
        {
            return (this._-0Nf);
        }
        public function get achievements():Array
        {
            return (this._-020);
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.AchievementController

package _-2tv
{
    import flash.geom.Point;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-69._-mL;
    import flash.utils.Timer;
    import flash.utils.Dictionary;
    import flash.events.TimerEvent;
    import _-Ew.IWindow;
    import _-36s._-1D5;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-2p5._-2ka;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-1ae._-4mB;
    import _-yT._-a5;
    import _-1B-.*;

    public class AchievementController implements _-1zZ, _-0gI 
    {

        private static const _-2uf:int = 3;
        private static const _-0RG:int = 8;
        private static const _-0Kk:int = 5;
        private static const _-140:int = 6;
        private static const _-0oE:int = 3;
        private static const _-3X7:int = 2;
        private static const _-4yD:int = 6;
        private static const _-4NC:int = 180;
        private static const _-1x6:int = 246;
        private static const _-QU:int = 45;
        private static const _-0Oi:Point = new Point(115, 93);
        private static const _-2Be:Point = new Point(72, 1);
        private static const _-16a:int = 20;
        private static const _-do:int = 3;

        private var _-2EK:HabboQuestEngine;
        private var _-0xv:IFrameWindow;
        private var _-55T:IWindowContainer;
        private var _-2cA:IWindowContainer;
        private var _-4AM:IWindowContainer;
        private var _-2lW:IWindowContainer;
        private var _-1R6:IWindowContainer;
        private var _-4I0:IWindowContainer;
        private var _-2Db:AchievementCategories;
        private var _-JS:AchievementCategory;
        private var _-ah:_-mL;
        private var _-2g:Timer;
        private var _-3bi:Dictionary;
        private var _-2zB:ProgressBar;
        private var _-3Un:ProgressBar;
        private var _-82:_-mL;
        private var _-10-:Timer;
        private var _-4vM:Dictionary;
        private var _-18D:AchievementLevelUp;
        private var _-2-2:Boolean;

        public function AchievementController(_arg1:HabboQuestEngine)
        {
            this._-3bi = new Dictionary();
            this._-4vM = new Dictionary();
            super();
            this._-2EK = _arg1;
            this._-2g = new Timer(100, 1);
            this._-2g.addEventListener(TimerEvent.TIMER, this._-3rw);
            this._-10- = new Timer(2000, 1);
            this._-10-.addEventListener(TimerEvent.TIMER, this._-4Lw);
            this._-18D = new AchievementLevelUp(this._-2EK);
            this._-4vM[16] = 1;
            this._-4vM[28] = 6;
            this._-4vM[38] = 4;
            this._-4vM[39] = 3;
            this._-4vM[40] = 1;
        }
        public static function _-4ZO(_arg1:IWindowContainer, _arg2:int, _arg3:int):void
        {
            var k:int;
            var k:IWindow;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (((((!((k == null))) && (k.visible))) && ((k.height > 0))))
                {
                    k.y = _arg2;
                    k = (_arg2 + (k.height + _arg3));
                };
                k++;
            };
        }
        public static function _-5DG(_arg1:IWindowContainer):int
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (k.visible)
                {
                    k = Math.max(k, (k.y + k.height));
                };
                k++;
            };
            return (k);
        }

        public function dispose():void
        {
            this._-2EK = null;
            this._-3bi = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-2g)
            {
                this._-2g.removeEventListener(TimerEvent.TIMER, this._-3rw);
                this._-2g.reset();
                this._-2g = null;
            };
            if (this._-10-)
            {
                this._-10-.removeEventListener(TimerEvent.TIMER, this._-4Lw);
                this._-10-.reset();
                this._-10- = null;
            };
            if (this._-2zB)
            {
                this._-2zB.dispose();
                this._-2zB = null;
            };
            if (this._-3Un)
            {
                this._-3Un.dispose();
                this._-3Un = null;
            };
            if (this._-18D)
            {
                this._-18D.dispose();
                this._-18D = null;
            };
            this._-55T = null;
            this._-4AM = null;
            this._-4AM = null;
            this._-1R6 = null;
            this._-2lW = null;
            this._-4I0 = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function _-0m7():Boolean
        {
            return (((this._-0xv) && (this._-0xv.visible)));
        }
        public function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        public function _-5m():void
        {
            this.close();
        }
        public function _-2J3():void
        {
            if (this._-0m7())
            {
                this.close();
            }
            else
            {
                this.show();
            };
        }
        public function show():void
        {
            if (this._-2Db == null)
            {
                this._-2EK.send(new _-1D5());
                this._-2-2 = true;
            }
            else
            {
                this.refresh();
                this._-0xv.visible = true;
                this._-0xv.activate();
            };
        }
        public function _-4xa(_arg1:Array, _arg2:String):void
        {
            if (!this._-2-2)
            {
                return;
            };
            this._-2-2 = false;
            if (this._-2Db == null)
            {
                this._-2Db = new AchievementCategories(_arg1);
            };
            this.refresh();
            this._-0xv.visible = true;
            this._-0xv.activate();
            var k:AchievementCategory = this._-2Db._-4Qo(_arg2);
            if (k != null)
            {
                this._-4Ez(k);
            };
        }
        public function _-4pd(_arg1:_-mL):void
        {
            var k:Boolean;
            if (this._-2Db != null)
            {
                k = ((this._-ah) && ((this._-ah._-4Oi == _arg1._-4Oi)));
                if (((k) && ((_arg1.level > this._-ah.level))))
                {
                    this._-ah._-0-n();
                    this._-82 = _arg1;
                    this._-10-.start();
                }
                else
                {
                    this._-2Db.update(_arg1);
                    if (k)
                    {
                        this._-ah = _arg1;
                    };
                };
                if (((this._-0xv) && (this._-0xv.visible)))
                {
                    this.refresh();
                };
            };
        }
        private function refresh():void
        {
            this._-eN();
            this._-Xj();
            this._-0kO();
            this._-20w();
            this._-4wC();
            this._-10b();
            this._-3I6();
            _-4ZO(this._-0xv.content, 0, 4);
            this._-0xv.height = (_-5DG(this._-0xv.content) + _-QU);
        }
        private function _-Xj():void
        {
            var _local3:Boolean;
            if (this._-JS != null)
            {
                this._-55T.visible = false;
                return;
            };
            this._-55T.visible = true;
            var k:Array = this._-2Db._-4DB;
            var k:int;
            while (true)
            {
                if (k < k.length)
                {
                    this._-4du(k, k[k]);
                }
                else
                {
                    _local3 = this._-4du(k, null);
                    if (_local3)
                    {
                        break;
                    };
                };
                k++;
            };
            this._-55T.height = _-5DG(this._-55T);
        }
        private function _-0kO():void
        {
            if (this._-JS != null)
            {
                this._-4I0.visible = false;
                return;
            };
            this._-4I0.visible = true;
            this._-3Un.refresh(this._-2Db._-3U8(), this._-2Db._-2B5(), 0, 0);
        }
        private function _-10b():void
        {
            var _local3:Boolean;
            if (this._-JS == null)
            {
                this._-2cA.visible = false;
                return;
            };
            this._-2cA.visible = true;
            _-Nb.log((((this._-JS.code + " has ") + this._-JS.achievements.length) + " achievemenets"));
            var k:Array = this._-JS.achievements;
            var k:int;
            while (true)
            {
                if (k < k.length)
                {
                    this._-2lF(k, k[k]);
                }
                else
                {
                    _local3 = this._-2lF(k, null);
                    if (_local3)
                    {
                        break;
                    };
                };
                k++;
            };
            this._-2cA.height = _-5DG(this._-2cA);
        }
        private function _-20w():void
        {
            if (this._-JS == null)
            {
                this._-1R6.visible = false;
                return;
            };
            this._-1R6.visible = true;
            this._-1R6.findChildByName("category_name_txt").caption = this._-2EK._-17I(this._-JS.code);
            this._-2EK.localization.registerParameter("achievements.details.categoryprogress", "progress", ("" + this._-JS._-3U8()));
            this._-2EK.localization.registerParameter("achievements.details.categoryprogress", "limit", ("" + this._-JS._-2B5()));
            this._-2EK._-0-z(this._-1R6, this._-JS, false);
        }
        private function _-4wC():void
        {
            if (this._-JS == null)
            {
                this._-2lW.visible = false;
                return;
            };
            this._-2lW.visible = true;
        }
        private function _-3I6():void
        {
            if (this._-ah == null)
            {
                this._-4AM.visible = false;
                return;
            };
            this._-4AM.visible = true;
            var k:String = this._-00x(this._-ah);
            this._-4AM.findChildByName("achievement_name_txt").caption = this._-2EK.localization.getBadgeName(k);
            var k:String = this._-2EK.localization.getBadgeDesc(k);
            this._-4AM.findChildByName("achievement_desc_txt").caption = (((k == null)) ? "" : k);
            this._-2EK.localization.registerParameter("achievements.details.level", "level", ("" + ((this._-ah._-IJ) ? this._-ah.level : (this._-ah.level - 1))));
            this._-2EK.localization.registerParameter("achievements.details.level", "limit", ("" + this._-ah._-1OV));
            this._-2EK._-3X3(!(this._-ah._-IJ), this._-4AM, this._-ah._-2M0, this._-ah._-02I);
            this._-45J(this._-4AM, this._-ah);
            this._-2zB.refresh(this._-ah._-e2, this._-ah._-4TQ, ((this._-ah._-4Oi * 10000) + this._-ah.level), this._-ah._-4WU);
            this._-2zB.visible = ((!((this._-ah._-1f5 == _-mL._-0Te))) && (!(this._-ah._-IJ)));
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-2EK.getXmlWindow("Achievements"));
            this._-0xv.findChildByTag("close").procedure = this._-lf;
            this._-0xv.findChildByName("back_button").procedure = this._-2A1;
            this._-0xv.center();
            this._-0xv.y = _-16a;
            this._-55T = IWindowContainer(this._-0xv.findChildByName("categories_cont"));
            this._-1R6 = IWindowContainer(this._-0xv.findChildByName("achievements_header_cont"));
            this._-2cA = IWindowContainer(this._-0xv.findChildByName("achievements_cont"));
            this._-4AM = IWindowContainer(this._-0xv.findChildByName("achievement_cont"));
            this._-2lW = IWindowContainer(this._-0xv.findChildByName("achievements_footer_cont"));
            this._-4I0 = IWindowContainer(this._-0xv.findChildByName("categories_footer_cont"));
            this._-2zB = new ProgressBar(this._-2EK, this._-4AM, _-4NC, "achievements.details.progress", true, _-0Oi);
            this._-3Un = new ProgressBar(this._-2EK, this._-4I0, _-1x6, "achievements.categories.totalprogress", true, _-2Be);
        }
        private function _-4du(_arg1:int, _arg2:AchievementCategory):Boolean
        {
            var k:IWindowContainer = IWindowContainer(this._-55T.getChildByName(("" + _arg1)));
            var k:int = Math.floor((_arg1 / _-2uf));
            var k = (k < _-0oE);
            if (k == null)
            {
                if ((((_arg2 == null)) && (!(k))))
                {
                    return (true);
                };
                k = IWindowContainer(this._-2EK.getXmlWindow("AchievementCategory"));
                k.name = ("" + _arg1);
                this._-55T.addChild(k);
                k.findChildByName("category_region").procedure = this._-2Uw;
                k.x = ((k.width + _-0RG) * (_arg1 % _-2uf));
                k.y = (((k.height + _-0Kk) * Math.floor((_arg1 / _-2uf))) + _-140);
            };
            k.findChildByName("category_region").id = _arg1;
            k.findChildByName("category_region").visible = !((_arg2 == null));
            k.findChildByName("category_bg_inact").visible = (_arg2 == null);
            k.findChildByName("category_bg_act").visible = !((_arg2 == null));
            k.findChildByName("category_bg_act_hover").visible = false;
            k.findChildByName("header_txt").visible = !((_arg2 == null));
            k.findChildByName("completion_txt").visible = !((_arg2 == null));
            k.findChildByName("category_pic_bitmap").visible = !((_arg2 == null));
            if (_arg2)
            {
                k.findChildByName("header_txt").caption = this._-2EK._-17I(_arg2.code);
                k.findChildByName("completion_txt").caption = ((_arg2._-3U8() + "/") + _arg2._-2B5());
                this._-2EK._-0-z(k, _arg2, true);
                k.visible = true;
            }
            else
            {
                if (k)
                {
                    k.visible = true;
                }
                else
                {
                    k.visible = false;
                };
            };
            return (false);
        }
        private function _-2lF(_arg1:int, _arg2:_-mL):Boolean
        {
            var k:IWindowContainer = IWindowContainer(this._-2cA.getChildByName(("" + _arg1)));
            var k:int = Math.floor((_arg1 / _-4yD));
            var k = (k < _-3X7);
            if (k == null)
            {
                if ((((_arg2 == null)) && (!(k))))
                {
                    return (true);
                };
                k = IWindowContainer(this._-2EK.getXmlWindow("Achievement"));
                k.name = ("" + _arg1);
                this._-2cA.addChild(k);
                k.x = (k.width * (_arg1 % _-4yD));
                k.y = ((k.height * k) + _-do);
                k.findChildByName("bg_region").procedure = this._-0s-;
            };
            var k:IWindow = k.findChildByName("bg_region");
            k.id = _arg1;
            k.visible = !((_arg2 == null));
            var k:IWindow = k.findChildByName("bg_unselected_bitmap");
            var k:IWindow = k.findChildByName("bg_selected_bitmap");
            this._-1E9(k, _arg2);
            if (_arg2)
            {
                k.visible = !((_arg2 == this._-ah));
                k.visible = (_arg2 == this._-ah);
                k.visible = true;
            }
            else
            {
                if (k)
                {
                    k.visible = false;
                    k.visible = true;
                    k.visible = true;
                }
                else
                {
                    k.visible = false;
                };
            };
            return (false);
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
            };
        }
        private function _-2Uw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int = _arg2.id;
            _-Nb.log(("Category index: " + k));
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-4Ez(this._-2Db._-4DB[k]);
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    this._-1rn(-999);
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4ea)
                    {
                        this._-1rn(k);
                    };
                };
            };
        }
        private function _-4Ez(_arg1:AchievementCategory):void
        {
            this._-JS = _arg1;
            this._-ah = this._-JS.achievements[0];
            _-Nb.log(("Category: " + this._-JS.code));
            this.refresh();
            this._-2EK.send(new _-2ka("Achievements", this._-JS.code, "Category selected"));
        }
        private function _-1rn(_arg1:int):void
        {
            var k:Boolean;
            var k:IWindowContainer;
            var k:IWindow;
            var k:int;
            while (k < this._-55T.numChildren)
            {
                k = (k == _arg1);
                k = IWindowContainer(this._-55T.getChildAt(k));
                k.findChildByName("category_bg_act").visible = ((!(k)) && ((k < this._-2Db._-4DB.length)));
                k.findChildByName("category_bg_act_hover").visible = k;
                k = k.findChildByName("hover_container");
                k.x = ((k) ? 0 : 1);
                k.y = ((k) ? 0 : 1);
                k++;
            };
        }
        private function _-0s-(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:int = _arg2.id;
            this._-ah = this._-JS.achievements[k];
            this.refresh();
            this._-2EK.send(new _-2ka("Achievements", ("" + this._-ah._-4Oi), "Achievement selected"));
        }
        private function _-2A1(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-JS = null;
            this._-ah = null;
            this.refresh();
        }
        private function _-1E9(_arg1:IWindowContainer, _arg2:_-mL):void
        {
            var k:_-3Yi = (_arg1.findChildByName("achievement_pic_bitmap") as _-3Yi);
            var k:_-aY = (k.widget as _-aY);
            if (_arg2 == null)
            {
                k.visible = false;
                return;
            };
            _-4mB(IWindowContainer(k._-5Ec).findChildByName("bitmap")).assetUri = "common_loading_icon";
            k.badgeId = this._-00x(_arg2);
            k.greyscale = !(_arg2._-58U);
            k.visible = true;
        }
        private function _-45J(_arg1:IWindowContainer, _arg2:_-mL):void
        {
            var k:_-3Yi = (_arg1.findChildByName("achievement_pic_bitmap") as _-3Yi);
            var k:_-aY = (k.widget as _-aY);
            _-4mB(IWindowContainer(k._-5Ec).findChildByName("bitmap")).assetUri = "common_loading_icon";
            k.badgeId = this._-00x(_arg2);
            k.greyscale = !(_arg2._-58U);
            k.visible = true;
        }
        private function _-3rw(_arg1:TimerEvent):void
        {
            this._-2g.reset();
            this.refresh();
        }
        private function _-4Lw(_arg1:TimerEvent):void
        {
            this._-ah = this._-82;
            this._-2Db.update(this._-82);
            this._-82 = null;
            this.refresh();
        }
        public function _-M6(_arg1:_-a5):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-3bi[_arg1.badgeId] = _arg1._-0tr;
            if (!this._-2g.running)
            {
                this._-2g.start();
            };
        }
        public function update(_arg1:uint):void
        {
            if (this._-2zB != null)
            {
                this._-2zB._-2D2();
            };
            if (this._-3Un != null)
            {
                this._-3Un._-2D2();
            };
            if (this._-18D != null)
            {
                this._-18D.update(_arg1);
            };
        }
        private function _-00x(_arg1:_-mL):String
        {
            return (((_arg1._-IJ) ? _arg1.badgeId : this._-2EK.localization._-4cQ(_arg1.badgeId)));
        }
        private function _-3II(_arg1:int):int
        {
            return (((this._-4vM[_arg1]) ? this._-4vM[_arg1] : 0));
        }
        public function get _-2M2():AchievementLevelUp
        {
            return (this._-18D);
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.AchievementLevelUp

package _-2tv
{
    import _-1ae.IFrameWindow;
    import _-0Yg._-4OH;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.filters.ColorMatrixFilter;
    import _-2p5._-2ka;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0Pi._-2ok;
    import _-2ly._-11j;
    import _-1ae.IBitmapWrapperWindow;
    import _-1B-.*;

    public class AchievementLevelUp implements _-1zZ 
    {

        private static const _-1Rn:int = 2000;
        private static const _-1It:int = 500;
        private static const _-0HY:int = 500;
        private static const _-i:int = 300;
        private static const _-2cb:int = 1400;
        private static const _-24F:Number = 1;
        private static const _-53v:int = 3;
        private static const _-2QF:int = 0;
        private static const _-010:int = 1;
        private static const _-4eF:int = 2;
        private static const _-4KV:int = 3;

        private var _-0xv:IFrameWindow;
        private var _-2EK:HabboQuestEngine;
        private var _-1em:_-4OH;
        private var _-0xZ:Array;
        private var _-eX:int;
        private var _-2Y2:int = 0;
        private var _-g9:int;
        private var _-14g:int;
        private var _-386:int;
        private var _-2xb:int = 3;
        private var _-14A:BitmapData;
        private var _-3Gl:Point;
        private var _-1qw:Array;
        private var _-4Qn:ColorMatrixFilter;
        private var _-1tt:Animation;

        public function AchievementLevelUp(_arg1:HabboQuestEngine)
        {
            this._-0xZ = new Array();
            this._-1qw = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
            this._-4Qn = new ColorMatrixFilter(this._-1qw);
            super();
            this._-2EK = _arg1;
        }
        public function dispose():void
        {
            this._-2EK = null;
            this._-0xZ = null;
            this._-1em = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-1tt)
            {
                this._-1tt.dispose();
                this._-1tt = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-0xv == null));
        }
        public function _-0hF(_arg1:_-4OH):void
        {
            this._-0xZ.push(_arg1);
            this._-2EK.sessionDataManager.requestBadgeImage(_arg1._-3T);
            this._-2EK.sessionDataManager.requestBadgeImage(this._-2EK.localization._-4cQ(_arg1._-3T));
            if ((((this._-0xv == null)) || (!(this._-0xv.visible))))
            {
                this._-eX = _-1Rn;
            };
            this.prepare();
        }
        private function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
                if (this._-0xZ.length > 0)
                {
                    this._-eX = _-1It;
                };
            };
        }
        private function prepare():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-2EK.getXmlWindow("AchievementLevelUp"));
            this._-0xv.findChildByTag("close").procedure = this._-1El;
            this._-0xv.findChildByName("ok_button").procedure = this._-3Ae;
            this._-0xv.findChildByName("share_button").procedure = this._-3Ug;
            this._-0xv.findChildByName("achievements_link_region").procedure = this._-15K;
            this._-0xv.findChildByName("close_link_region").procedure = this._-1El;
            this._-1tt = this._-2EK._-57R(this._-0xv);
            this._-0xv.visible = false;
        }
        private function show():void
        {
            this.prepare();
            if (((!((this._-1em.category == null))) && (!((this._-1em.category == "")))))
            {
                this.registerParameter("achievements.levelup.title", "category", this._-2EK._-17I(this._-1em.category));
            }
            else
            {
                this.registerParameter("achievements.levelup.title", "category", "");
            };
            this.registerParameter("achievements.levelup.reward", "amount", ("" + this._-1em._-02I));
            this.registerParameter("achievements.levelup.reward", "currency_name", this._-2EK._-1Os(this._-1em._-2M0));
            this._-0xv.findChildByName("reward_txt").visible = (this._-1em._-02I > 0);
            this.registerParameter("achievements.levelup.score", "amount", ("" + this._-1em.points));
            this.registerParameter("achievements.levelup.sharedesc", "amount", ("" + this._-1em._-3xk));
            this._-0xv.findChildByName("achievement_name_txt").caption = (("'" + this._-2EK.localization.getBadgeName(this._-1em._-3T)) + "'");
            var k:Boolean = this._-1cd();
            this._-0xv.findChildByName("achievements_link_region").visible = !(k);
            this._-0xv.findChildByName("close_link_region").visible = k;
            this._-0xv.findChildByName("ok_button").visible = !(k);
            this._-0xv.findChildByName("share_button").visible = k;
            this._-0xv.findChildByName("facebook_info_txt").visible = k;
            this._-1oP();
            if (this._-1em.level > 1)
            {
                this._-24T(_-010);
            }
            else
            {
                this._-24T(_-4eF, _-2cb);
            };
            this._-1tt._-3XB();
        }
        private function _-24T(_arg1:int, _arg2:int=300):void
        {
            this._-14A = null;
            this._-2Y2 = _arg1;
            this._-14g = _arg2;
            this._-g9 = _arg2;
            this._-386 = _-0HY;
        }
        private function _-1cd():Boolean
        {
            return ((((((this._-1em._-3xk > 0)) && (this._-1zo()))) && (this._-2EK.configuration.keyExists("facebook.user"))));
        }
        private function _-1zo():Boolean
        {
            return (!((this._-2EK.configuration.getKey("achievement.post.enabled", "1") == "0")));
        }
        private function _-1oP():void
        {
            var k:Boolean = this._-2EK.configuration.keyExists("facebook.user");
            var k:String = this._-1em._-3T;
            if ((((this._-1em._-3xk <= 0)) || (!(this._-1zo()))))
            {
                this._-2EK.send(new _-2ka("Achievements", k, "client.show.no_post"));
            }
            else
            {
                if (k)
                {
                    this._-2EK.send(new _-2ka("Achievements", k, "client.show.post"));
                }
                else
                {
                    this._-2EK.send(new _-2ka("Achievements", k, "client.show.no_fb"));
                };
            };
        }
        private function _-3Ae(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
            };
        }
        private function _-1El(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
            };
        }
        private function _-15K(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK._-ig.show();
                this.close();
            };
        }
        private function _-3Ug(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.send(new _-2ok(this._-1em._-0Qc));
                this._-2EK.send(new _-2ka("Achievements", this._-1em._-3T, "client.start_post"));
            };
        }
        public function update(_arg1:uint):void
        {
            if (this._-eX > 0)
            {
                this._-13Q(_arg1);
                return;
            };
            if (this._-1tt != null)
            {
                this._-1tt.update(_arg1);
            };
            if ((((this._-0xv == null)) || ((this._-2Y2 == _-2QF))))
            {
                return;
            };
            switch (this._-2Y2)
            {
                case _-010:
                    this._-386 = (this._-386 - _arg1);
                    this._-3I8(true);
                    if (this._-386 < 0)
                    {
                        this._-24T(_-4KV);
                    };
                    return;
                case _-4KV:
                    this._-14g = (this._-14g - _arg1);
                    this._-3I8(true);
                    if (this._-14g < 0)
                    {
                        this._-24T(_-4eF);
                    };
                    return;
                case _-4eF:
                    this._-14g = (this._-14g - _arg1);
                    this._-3I8(false);
                    if (this._-14g < 0)
                    {
                        this._-24T(_-2QF);
                    };
                    return;
            };
        }
        private function _-13Q(_arg1:uint):void
        {
            this._-eX = (this._-eX - _arg1);
            if (this._-eX > 0)
            {
                return;
            };
            if (this._-0xZ.length < 1)
            {
                return;
            };
            var k:_-4OH = this._-0xZ.pop();
            if (((this._-2EK.sessionDataManager._-4zS(k._-3T).placeHolder) || (this._-2EK.sessionDataManager._-4zS(this._-2EK.localization._-4cQ(k._-3T)).placeHolder)))
            {
                if (this._-2xb > 0)
                {
                    this._-0xZ.push(k);
                    this._-eX = _-1Rn;
                    this._-2xb--;
                    return;
                };
                this._-2xb = _-53v;
            };
            this._-1em = k;
            this.show();
            this._-0xv.center();
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        public function _-37P(_arg1:String, _arg2:String):void
        {
            if ((((((this._-0xv == null)) || ((this._-1em == null)))) || (!((this._-1em._-3T == _arg1)))))
            {
                _-Nb.log(((("Invalid facebook post: " + _arg1) + ", ") + (((this._-1em == null)) ? "current is null" : this._-1em._-3T)));
                return;
            };
            var k:String = this._-a4("notifications.text.achievement_facebook");
            var k:String = this._-a4("notifications.text.achievement_facebook_title");
            _-11j._-5B3(this._-1em._-3T, k, k, _arg2);
            this.close();
        }
        private function _-a4(_arg1:String):String
        {
            var k:String = this._-2EK.sessionDataManager.userName;
            var k:String = this._-2EK.sessionDataManager.realName;
            var k:String = this._-2EK.localization._-41i(this._-1em._-3T, k, k, this._-1em.level);
            var k:String = this._-2EK.localization._-0It(this._-1em._-3T, k, k, this._-1em.level);
            this.registerParameter(_arg1, "badge_name", this._-2EK.localization.getBadgeName(this._-1em._-3T));
            this.registerParameter(_arg1, "badge_desc", this._-2EK.localization.getBadgeDesc(this._-1em._-3T));
            this.registerParameter(_arg1, "badge_name_fb", k);
            this.registerParameter(_arg1, "badge_desc_fb", k);
            this.registerParameter(_arg1, "level", this._-1em.level.toString());
            this.registerParameter(_arg1, "name", k);
            this.registerParameter(_arg1, "realname", k);
            return (this._-2EK.localization.getKey(_arg1, _arg1));
        }
        private function registerParameter(_arg1:String, _arg2:String, _arg3:String):void
        {
            this._-2EK.localization.registerParameter(_arg1, _arg2, _arg3);
        }
        private function _-3I8(_arg1:Boolean):void
        {
            this._-4Bi(_arg1);
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0xv.findChildByName("achievement_pic_bitmap"));
            if (k.bitmap == null)
            {
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
            };
            if (this._-14A == null)
            {
                this._-14A = ((_arg1) ? this._-2EK.sessionDataManager.getBadgeImage(this._-2EK.localization._-4cQ(this._-1em._-3T)) : this._-2EK.sessionDataManager.getBadgeImage(this._-1em._-3T));
                this._-3Gl = new Point(((k.width - this._-14A.width) / 2), ((k.height - this._-14A.height) / 2));
            };
            k.bitmap.fillRect(k.bitmap.rect, 0);
            k.bitmap.applyFilter(this._-14A, this._-14A.rect, this._-3Gl, this._-4Qn);
            k.invalidate();
        }
        private function _-4Bi(_arg1:Boolean):void
        {
            var k:int = Math.max(0, ((_arg1) ? (this._-g9 - this._-14g) : this._-14g));
            var k:Number = ((k / this._-g9) * _-24F);
            this._-1qw[3] = k;
            this._-1qw[8] = k;
            this._-1qw[13] = k;
            this._-1qw[0] = (1 - k);
            this._-1qw[6] = (1 - k);
            this._-1qw[12] = (1 - k);
            this._-4Qn.matrix = this._-1qw;
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.Animation

package _-2tv
{
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-1B-.*;

    public class Animation implements _-1zZ 
    {

        private var _-06f:IBitmapWrapperWindow;
        private var _-30j:int;
        private var _-09u:Boolean;
        private var _-eH:Array;

        public function Animation(_arg1:IBitmapWrapperWindow)
        {
            this._-eH = new Array();
            super();
            this._-06f = _arg1;
            this._-06f.visible = false;
            if (_arg1.bitmap == null)
            {
                _arg1.bitmap = new BitmapData(_arg1.width, _arg1.height, true, 0);
            };
        }
        public function dispose():void
        {
            var k:_-3zd;
            this._-06f = null;
            if (this._-eH)
            {
                for each (k in this._-eH)
                {
                    k.dispose();
                };
                this._-eH = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-06f == null));
        }
        public function _-1KP(_arg1:_-3zd):void
        {
            this._-eH.push(_arg1);
        }
        public function stop():void
        {
            this._-09u = false;
            this._-06f.visible = false;
        }
        public function _-3XB():void
        {
            var k:_-3zd;
            this._-30j = 0;
            this._-09u = true;
            for each (k in this._-eH)
            {
                k._-47q();
            };
            this.draw();
            this._-06f.visible = true;
        }
        public function update(_arg1:uint):void
        {
            if (this._-09u)
            {
                this._-30j = (this._-30j + _arg1);
                this.draw();
            };
        }
        private function draw():void
        {
            var k:Boolean;
            var k:_-3zd;
            var k:BitmapData;
            this._-06f.bitmap.fillRect(this._-06f.bitmap.rect, 0);
            if (this._-09u)
            {
                k = false;
                for each (k in this._-eH)
                {
                    if (!k._-52S(this._-30j))
                    {
                        k = true;
                        k = k._-5Es(this._-30j);
                        if (k != null)
                        {
                            this._-06f.bitmap.copyPixels(k, k.rect, k._-2HO(this._-30j));
                        };
                    };
                };
            };
            this._-06f.invalidate();
            this._-09u = k;
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.HabboQuestEngine

package _-2tv
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-3vb._-3b;
    import _-0mD._-2Jq;
    import _-4GV._-0Uq;
    import _-om._-3MJ;
    import _-1Jd._-51K;
    import _-0jj._-0QY;
    import _-2gz._-2UE;
    import _-293._-5-S;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboNotifications;
    import com.sulake.iid.IIDHabboHelp;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboTracking;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-yT._-a5;
    import _-295._-2kE;
    import _-295._-243;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-U2._-1Yl;
    import _-3MI._-0Sy;
    import _-3vb.HabboToolbarIconEnum;
    import _-4Aj._-1oF;
    import _-1ae._-4mB;
    import _-2JX._-1sv;
    import _-1ae.IBitmapWrapperWindow;
    import _-2or._-31I;
    import _-02T._-1OW;
    import _-1B-.*;

    public class HabboQuestEngine extends _-Px implements _-03-, _-0gI 
    {

        private static const _-1VA:int = 5;
        private static const _-0UE:int = 800;
        private static const _-2b1:int = 15;
        private static const _-2b2:int = 300;
        private static const _-1GL:Array = ["MOVEITEM", "ENTEROTHERSROOM", "CHANGEFIGURE", "FINDLIFEGUARDTOWER", "SCRATCHAPET"];

        private var _-U-:_-3Ts;
        private var _-0ud:_-4BJ;
        private var _-cU:_-0hg;
        private var _-3fD:_-4uR;
        private var _-YG:IncomingMessages;
        private var _-0uF:_-006;
        private var _-55F:AchievementController;
        private var _-4Bp:RoomCompetitionController;
        private var _-0a7:_-3b;
        private var _-3oJ:_-2Jq;
        private var _-2bJ:_-0Uq;
        private var _-49A:_-3MJ;
        private var _-0pW:_-51K;
        private var _-Je:_-0QY;
        private var _tracking:_-2UE;
        private var _-2c8:TwinkleImages;
        private var _-1ri:Boolean = false;
        private var _-0tK:_-5-S;
        private var _-41:Boolean = false;
        private var _-15Y:Boolean = false;

        public function HabboQuestEngine(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-0uF = new _-006(this);
            this._-55F = new AchievementController(this);
            this._-4Bp = new RoomCompetitionController(this);
            queueInterface(new IIDHabboCommunicationManager(), this._-0tq);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboNotifications(), this._-58Y);
            queueInterface(new IIDHabboHelp(), this._-04o);
            queueInterface(new IIDHabboNavigator(), this._-3RO);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboTracking(), this._-4eW);
            registerUpdateReceiver(this, _-1VA);
        }
        public static function _-3hs(_arg1:IWindowContainer, _arg2:Array, _arg3:int, _arg4:int):void
        {
            var k:String;
            var k:IWindow;
            for each (k in _arg2)
            {
                k = _arg1.getChildByName(k);
                if (((!((k == null))) && (k.visible)))
                {
                    k.x = _arg3;
                    k = (_arg3 + (k.width + _arg4));
                };
            };
        }

        override public function dispose():void
        {
            removeUpdateReceiver(this);
            super.dispose();
            if (this._-0a7)
            {
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
            if (this._-3oJ != null)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-49A != null)
            {
                this._-49A.release(new IIDHabboNotifications());
                this._-49A = null;
            };
            if (this._-U- != null)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-3fD != null)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-cU != null)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-0ud != null)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-0pW != null)
            {
                this._-0pW.events.removeEventListener(_-a5._-4pG, this._-55F._-M6);
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-YG)
            {
                this._-YG.dispose();
            };
            if (this._-Je != null)
            {
                this._-Je.release(new IIDHabboHelp());
                this._-Je = null;
            };
            if (this._-2bJ != null)
            {
                this._-2bJ.release(new IIDHabboNavigator());
                this._-2bJ = null;
            };
            if (this._tracking != null)
            {
                this._tracking.release(new IIDHabboTracking());
                this._tracking = null;
            };
            if (this._-2c8)
            {
                this._-2c8.dispose();
                this._-2c8 = null;
            };
            if (this._-0tK)
            {
                this._-0tK.release(new IIDRoomEngine());
                this._-0tK = null;
            };
        }
        public function getXmlWindow(_arg1:String, _arg2:int=1):IWindow
        {
            var k:_-2kE;
            var k:_-243;
            var k:IWindow;
            try
            {
                k = assets.getAssetByName(_arg1);
                k = _-243(k);
                k = this._-U-.buildFromXML(XML(k.content), _arg2);
            }
            catch(e:Error)
            {
            };
            return (k);
        }
        private function _-0tq(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = _-4BJ(_arg2);
            this._-YG = new IncomingMessages(this);
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = _-3Ts(_arg2);
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-cU = _-0hg(_arg2);
        }
        private function _-1d3(_arg1:_-Wo, _arg2:_-4yI):void
        {
            if (_arg2 == null)
            {
                return;
            };
            this._-3fD = (_arg2 as _-4uR);
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-3oJ = (_arg2 as _-2Jq);
        }
        private function _-58Y(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-49A = (_arg2 as _-3MJ);
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0pW = (_arg2 as _-51K);
            this._-0pW.events.addEventListener(_-a5._-4pG, this._-55F._-M6);
        }
        private function _-04o(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Je = (_arg2 as _-0QY);
        }
        private function _-3RO(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2bJ = (_arg2 as _-0Uq);
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0tK = (_arg2 as _-5-S);
        }
        private function _-4eW(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._tracking = (_arg2 as _-2UE);
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        public function get habboHelp():_-0QY
        {
            return (this._-Je);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function get _-2AC():_-006
        {
            return (this._-0uF);
        }
        public function get _-03x():RoomCompetitionController
        {
            return (this._-4Bp);
        }
        public function get _-ig():AchievementController
        {
            return (this._-55F);
        }
        public function get toolbar():_-3b
        {
            return (this._-0a7);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function get tracking():_-2UE
        {
            return (this._tracking);
        }
        public function openCatalog(_arg1:_-1Yl):void
        {
            var k:String = _arg1._-Z6;
            if (k != "")
            {
                _-Nb.log(("Questing->Open Catalog: " + k));
                this._-3oJ.openCatalogPage(k);
            }
            else
            {
                _-Nb.log("Questing->Open Catalog: Quest Catalog page name not defined");
                this._-3oJ.openCatalog();
            };
        }
        public function _-2Yo(_arg1:_-1Yl):void
        {
            var k:String;
            var k:Boolean = this._-VH((_arg1._-1PR() + ".searchtag"));
            if (k)
            {
                k = (_arg1._-1PR() + ".searchtag");
            }
            else
            {
                k = (_arg1._-25Z() + ".searchtag");
            };
            var k:String = this._-cU.getKey(k);
            _-Nb.log(("Questing->Open Navigator: " + k));
            this._-2bJ._-3ht(k);
        }
        public function _-4gF():Boolean
        {
            var k:String = this._-0Zc();
            return (((!((k == null))) && (!((k == "")))));
        }
        private function _-0Zc():String
        {
            return (this._-cU.getKey((("quests." + this._-4vA()) + ".roomids")));
        }
        public function _-2fe():void
        {
            if (!this._-4gF())
            {
                return;
            };
            var k:String = this._-0Zc();
            var k:Array = k.split(",");
            if (k.length == 0)
            {
                return;
            };
            var k:int = Math.max(0, Math.min((k.length - 1), Math.floor((Math.random() * k.length))));
            var k:String = k[k];
            var k:int = int(k);
            _-Nb.log(("Forwarding to a guest room: " + k));
            this._-2bJ.goToPrivateRoom(k);
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = (_-3b(_arg2) as _-3b);
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-0WL);
        }
        private function _-0WL(_arg1:_-0Sy):void
        {
            if (_arg1.type == _-0Sy._-40N)
            {
                if (_arg1._-1wJ == HabboToolbarIconEnum.QUESTS)
                {
                    this._-0uF._-2J3();
                };
                if (_arg1._-1wJ == HabboToolbarIconEnum.ACHIEVEMENTS)
                {
                    this._-55F._-2J3();
                };
            };
        }
        public function showAchievements():void
        {
            if (this._-55F != null)
            {
                this._-55F.show();
            };
        }
        public function _-1qr():void
        {
        }
        public function reenableRoomCompetitionWindow():void
        {
            this._-4Bp.else = false;
        }
        public function get notifications():_-3MJ
        {
            return (this._-49A);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function send(_arg1:_-1oF):void
        {
            this.communication._-4gR(null).send(_arg1);
        }
        public function _-4uF():Boolean
        {
            return (this._-0uF._-1PL._-0m7());
        }
        public function _-2qm(_arg1:_-1Yl):String
        {
            var k:String = (((_arg1._-1UI < 1)) ? (_arg1._-1PR() + ".name") : "quests.list.questdelayed");
            return (this._-cU.getKey(k, k));
        }
        public function _-yr(_arg1:_-1Yl):String
        {
            var k = (_arg1._-1PR() + ".name");
            return (this._-cU.getKey(k, k));
        }
        public function _-1Ku(_arg1:_-1Yl):String
        {
            var k = (_arg1._-1PR() + ".desc");
            return (this._-cU.getKey(k, k));
        }
        public function _-1xy(_arg1:_-1Yl):String
        {
            var k = (_arg1._-1PR() + ".hint");
            return (this._-cU.getKey(k, k));
        }
        public function _-1Os(_arg1:int):String
        {
            var k:String = ("achievements.activitypoint." + _arg1);
            return (this._-cU.getKey(k, k));
        }
        public function _-0JE(_arg1:String):String
        {
            var k = (_arg1 + ".name");
            return (this._-cU.getKey(k, k));
        }
        public function _-iM(_arg1:_-1Yl):String
        {
            return (this._-0JE(_arg1._-25Z()));
        }
        public function _-17I(_arg1:String):String
        {
            var k = (("quests." + _arg1) + ".name");
            return (this._-cU.getKey(k, k));
        }
        public function _-0t8(_arg1:IWindowContainer, _arg2:_-1Yl):void
        {
            var k:_-4mB = (_arg1.findChildByName("quest_pic_bitmap") as _-4mB);
            var k:String = (((_arg2._-1UI > 0)) ? "quest_timer_questionmark" : ((((_arg2._-0-l + "_") + _arg2._-Sy) + _arg2._-12M) + ((this._-2MJ(_arg2)) ? "_a" : "")).toLowerCase());
            k.assetUri = (("${image.library.questing.url}" + k) + ".png");
        }
        public function _-12s(_arg1:IWindowContainer, _arg2:_-1Yl, _arg3:String):void
        {
            var k:_-4mB = (_arg1.findChildByName(("prompt_pic_" + _arg3)) as _-4mB);
            k.assetUri = (("${image.library.questing.url}" + (((((_arg2._-0-l + "_") + _arg2._-Sy) + _arg2._-12M) + "_") + _arg3).toLowerCase()) + ".png");
        }
        public function _-7e(_arg1:IWindowContainer, _arg2:int):void
        {
            var k:IWindow = _arg1.findChildByName("currency_icon");
            k.style = _-1sv._-45C(_arg2, this._-3fD, true);
        }
        public function _-0lz(_arg1:IWindowContainer, _arg2:_-1Yl, _arg3:Boolean):void
        {
            var k:_-4mB = (_arg1.findChildByName("campaign_pic_bitmap") as _-4mB);
            if (!_arg3)
            {
                k.visible = false;
                return;
            };
            k.visible = true;
            var k:String = _arg2._-0-l;
            if (this._-4Nk(_arg2))
            {
                k = (this._-4vA() + "_campaign_icon");
            };
            k.assetUri = (("${image.library.questing.url}" + k) + ".png");
        }
        public function _-0-z(_arg1:IWindowContainer, _arg2:AchievementCategory, _arg3:Boolean):void
        {
            var k:_-4mB = (_arg1.findChildByName("category_pic_bitmap") as _-4mB);
            k.assetUri = (("${image.library.questing.url}" + ((_arg3) ? (("achcategory_" + _arg2.code) + (((_arg2._-3U8() > 0)) ? "_active" : "_inactive")) : ("achicon_" + _arg2.code))) + ".png");
        }
        public function _-2MJ(_arg1:_-1Yl):Boolean
        {
            return ((_-1GL.indexOf(_arg1._-Sy) > -1));
        }
        public function _-3X3(_arg1:Boolean, _arg2:IWindowContainer, _arg3:int, _arg4:int):void
        {
            k = (((((_arg3 < 0)) || ((_arg4 < 1)))) ? false : _arg1);
            var k:IWindow = _arg2.findChildByName("reward_caption_txt");
            var k:IWindow = _arg2.findChildByName("reward_amount_txt");
            var k:IWindow = _arg2.findChildByName("currency_icon");
            k.visible = k;
            k.visible = k;
            k.visible = k;
            if (!k)
            {
                return;
            };
            k.caption = ("" + _arg4);
            _-3hs(_arg2, ["reward_caption_txt", "reward_amount_txt", "currency_icon"], k.x, 3);
            this._-7e(_arg2, _arg3);
        }
        public function update(_arg1:uint):void
        {
            this._-0uF.update(_arg1);
            this._-55F.update(_arg1);
        }
        public function _-57R(_arg1:IWindowContainer):Animation
        {
            if (this._-2c8 == null)
            {
                this._-2c8 = new TwinkleImages(this);
            };
            var k:int = _-0UE;
            var k:Animation = new Animation(IBitmapWrapperWindow(_arg1.findChildByName("twinkle_bitmap")));
            var k:int;
            while (k < _-2b1)
            {
                k._-1KP(new Twinkle(this._-2c8, k));
                k = (k + _-2b2);
                k++;
            };
            return (k);
        }
        public function get _-2bv():Boolean
        {
            return (this._-1ri);
        }
        public function set _-2bv(_arg1:Boolean):void
        {
            this._-1ri = _arg1;
        }
        public function _-2W8():Boolean
        {
            return (this._-3fD.getBoolean("seasonalQuestCalendar.enabled", false));
        }
        public function _-4Nk(_arg1:_-1Yl):Boolean
        {
            var k:String = this._-4vA();
            return (((!((k == ""))) && ((_arg1._-0-l.indexOf(k) == 0))));
        }
        public function _-4vA():String
        {
            return (this._-3fD.getKey("seasonalQuestCalendar.campaignPrefix", ""));
        }
        public function _-dh(_arg1:Boolean):void
        {
            this._-41 = _arg1;
        }
        public function _-2pm():Boolean
        {
            return (this._-41);
        }
        public function _-2w9():Boolean
        {
            if (((((((((this._-2W8()) && (this._-0pX()))) && (this._-2pm()))) && (!(this._-0et())))) && (!(this._-15Y))))
            {
                if (this._-2ot())
                {
                    this._-0uF._-2J3();
                }
                else
                {
                    this._-Je._-2J2(HabboToolbarIconEnum.QUESTS, "quests.newquestavailable", _-31I.LEFT);
                };
                this._-15Y = true;
                return (true);
            };
            return (false);
        }
        private function _-0et():Boolean
        {
            return (this._-0uF._-2ea._-0m7());
        }
        private function _-0pX():Boolean
        {
            return (((this._-2ot()) || (this._-1sQ())));
        }
        private function _-2ot():Boolean
        {
            return (this._-3fD.getBoolean("login.show.calendar", false));
        }
        private function _-1sQ():Boolean
        {
            return (this._-3fD.getBoolean("login.tip.calendar", false));
        }
        public function _-VH(_arg1:String):Boolean
        {
            return (!((this._-cU.getKey(_arg1, "") == "")));
        }
        public function get navigator():_-0Uq
        {
            return (this._-2bJ);
        }
        public function requestSeasonalQuests():void
        {
            this.send(new _-1OW());
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.IncomingMessages

package _-2tv
{
    import _-3gx._-4BJ;
    import _-3Bn._-1Ii;
    import _-U2._-b5;
    import _-U2._-1fW;
    import _-2na._-1G-;
    import _-1Q8._-567;
    import _-U2._-0S8;
    import _-U2._-3fH;
    import _-U2._-N6;
    import _-1HK._-4sX;
    import _-69._-0Za;
    import _-69._-3TK;
    import _-69._-3fY;
    import _-0Yg._-KL;
    import _-0Yg._-1yd;
    import _-0Yg._-082;
    import _-0Yg._-1zj;
    import _-448._-3t9;
    import _-448._-2tr;
    import _-1Q8._-2No;
    import _-1Q8._-4oh;
    import _-3yH._-2a9;
    import _-448._-1ZF;
    import _-2It._-44B;
    import _-Ia._-1s5;
    import _-4Aj._-0tL;
    import _-Ia._-51v;
    import _-Ia._-16L;
    import _-WH._-1PE;
    import _-Ia._-0nh;
    import _-u-._-1Q7;
    import _-u-._-1Xt;
    import _-u-._-1cc;
    import _-2qO._-1DJ;
    import _-2p5._-2ka;
    import flash.utils.Dictionary;
    import _-2JX._-1sv;
    import _-hT._-0RC;
    import _-ta._-mk;
    import _-1B-.*;

    public class IncomingMessages implements _-1zZ 
    {

        private var _-2EK:HabboQuestEngine;
        private var _-0ud:_-4BJ;
        private var _-07y:_-1Ii;
        private var _-4Bk:Boolean = false;

        public function IncomingMessages(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
            this._-0ud = this._-2EK.communication;
            this._-0ud.addHabboConnectionMessageEvent(new _-b5(this._-ox));
            this._-0ud.addHabboConnectionMessageEvent(new _-1fW(this._-4kl));
            this._-0ud.addHabboConnectionMessageEvent(new _-1G-(this._-5m));
            this._-0ud.addHabboConnectionMessageEvent(new _-567(this._-0TW));
            this._-0ud.addHabboConnectionMessageEvent(new _-0S8(this._-569));
            this._-0ud.addHabboConnectionMessageEvent(new _-3fH(this._-2mI));
            this._-0ud.addHabboConnectionMessageEvent(new _-N6(this.do ));
            this._-0ud.addHabboConnectionMessageEvent(new _-4sX(this._-1lj));
            this._-0ud.addHabboConnectionMessageEvent(new _-0Za(this._-4xa));
            this._-0ud.addHabboConnectionMessageEvent(new _-3TK(this._-4pd));
            this._-0ud.addHabboConnectionMessageEvent(new _-3fY(this._-2xg));
            this._-0ud.addHabboConnectionMessageEvent(new _-KL(this._-0hF));
            this._-0ud.addHabboConnectionMessageEvent(new _-1yd(this._-Rq));
            this._-0ud.addHabboConnectionMessageEvent(new _-082(this._-1v4));
            this._-0ud.addHabboConnectionMessageEvent(new _-1zj(this._-xb));
            this._-0ud.addHabboConnectionMessageEvent(new _-3t9(this._-3AE));
            this._-0ud.addHabboConnectionMessageEvent(new _-2tr(this._-4ag));
            this._-0ud.addHabboConnectionMessageEvent(new _-2No(this._-1A1));
            this._-0ud.addHabboConnectionMessageEvent(new _-4oh(this._-1A1));
            this._-0ud.addHabboConnectionMessageEvent(new _-2a9(this._-3LY));
            this._-0ud.addHabboConnectionMessageEvent(new _-1ZF(this._-0gA));
            this._-0ud.addHabboConnectionMessageEvent(new _-44B(this._-0SY));
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        private function _-ox(_arg1:_-0tL):void
        {
            var k:_-1s5 = (_arg1 as _-b5)._-3-5();
            _-Nb.log(((("Quest Completed: " + k._-5Bf._-0-l) + " quest: ") + k._-5Bf.id));
            this._-2EK._-2AC._-ox(k._-5Bf, k._-33p);
        }
        private function _-4kl(_arg1:_-0tL):void
        {
            _-Nb.log("Quest Cancelled: ");
            this._-2EK._-2AC._-4kl();
            if (_-1fW(_arg1)._-3-5().expired)
            {
                this._-2EK.windowManager.alert("${quests.expired.title}", "${quests.expired.body}", 0, null);
            };
        }
        private function _-2mI(_arg1:_-0tL):void
        {
            var k:_-51v = (_arg1 as _-3fH)._-3-5();
            _-Nb.log(((("Got Quests: " + k.quests) + ", ") + k._-2Eq));
            this._-2EK._-2AC._-2mI(k.quests, k._-2Eq);
        }
        private function _-569(_arg1:_-0tL):void
        {
            var k:_-16L = (_arg1 as _-0S8)._-3-5();
            _-Nb.log(("Got seasonal Quests: " + k.quests));
            this._-2EK.events.dispatchEvent(new _-1PE(_-1PE._-4EE, k.quests));
        }
        private function do (_arg1:_-0tL):void
        {
            var k:_-0nh = (_arg1 as _-N6)._-3-5();
            _-Nb.log(("Got Quest: " + k.quest));
            this._-2EK._-2AC.do (k.quest);
        }
        public function dispose():void
        {
            if (this._-07y)
            {
                this._-07y.dispose();
                this._-07y = null;
            };
            this._-4Bk = true;
        }
        private function _-0TW(_arg1:_-567):void
        {
            this._-2EK._-03x._-0TW(_arg1);
            this._-2EK._-2bv = true;
        }
        private function _-5m(_arg1:_-0tL):void
        {
            this._-2EK._-2AC._-5m();
            this._-2EK._-ig._-5m();
            this._-2EK._-03x._-5m();
            this._-2EK._-2bv = false;
        }
        private function _-1A1(_arg1:_-0tL):void
        {
            this._-2EK._-03x._-2Cz();
        }
        private function _-3LY(_arg1:_-0tL):void
        {
            this._-2EK._-03x._-2Cz();
        }
        private function _-4xa(_arg1:_-0tL):void
        {
            var k:_-0Za = (_arg1 as _-0Za);
            var k:_-1Q7 = (k._-3-5() as _-1Q7);
            this._-2EK._-ig._-4xa(k.achievements, k._-4Bl);
        }
        private function _-4pd(_arg1:_-0tL):void
        {
            var k:_-3TK = (_arg1 as _-3TK);
            var k:_-1Xt = (k._-3-5() as _-1Xt);
            this._-2EK._-ig._-4pd(k.achievement);
        }
        private function _-2xg(_arg1:_-0tL):void
        {
            var k:_-3fY = (_arg1 as _-3fY);
            var k:_-1cc = (k._-3-5() as _-1cc);
            this._-2EK.localization.registerParameter("achievements.categories.score", "score", k.score.toString());
        }
        private function _-0hF(_arg1:_-0tL):void
        {
            var k:_-KL = (_arg1 as _-KL);
            var k:_-1DJ = k._-3-5();
            var k:String = this._-2EK.localization._-1zI(k.data._-3T);
            this._-2EK.send(new _-2ka("Achievements", k, "Leveled", "", k.data.level));
            if (k.data._-1I)
            {
                this._-2EK._-ig._-2M2._-0hF(k.data);
            };
        }
        private function _-Rq(_arg1:_-0tL):void
        {
            var k:_-1yd = (_arg1 as _-1yd);
            this._-2EK._-ig._-2M2._-37P(k._-1Xw, k.shareID);
        }
        private function _-1v4(_arg1:_-0tL):void
        {
            var k:int;
            var k:Object;
            var k:Dictionary = _-082(_arg1).points;
            for each (k in _-1sv._-1jt())
            {
                this._-2EK._-2AC._-1v4(k, 0);
            };
            for (k in k)
            {
                this._-2EK._-2AC._-1v4(int(k), k[k]);
            };
        }
        private function _-xb(_arg1:_-0tL):void
        {
            var k:_-1zj = (_arg1 as _-1zj);
            this._-2EK._-2AC._-1v4(k.type, k.amount);
        }
        private function _-1lj(_arg1:_-0tL):void
        {
            var k:_-0RC = (_arg1 as _-4sX)._-3-5();
            this._-2EK._-dh(k._-2pm);
        }
        private function _-3AE(_arg1:_-3t9):void
        {
            this._-2EK._-03x._-3AE(_arg1);
        }
        private function _-4ag(_arg1:_-2tr):void
        {
            this._-2EK._-03x._-4ag(_arg1);
        }
        private function _-0gA(_arg1:_-1ZF):void
        {
            this._-2EK._-03x._-0gA(_arg1);
        }
        private function _-0SY(_arg1:_-44B):void
        {
            if (((_arg1._-3-5()._-0Dl) && ((_arg1._-3-5()._-Wa == _-mk._-4is))))
            {
                this._-2EK._-03x._-4kn();
            };
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.NextQuestTimer

package _-2tv
{
    import _-U2._-1Yl;
    import _-Ew.IWindowContainer;
    import _-2ly._-28n;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class NextQuestTimer implements _-1zZ 
    {

        public static const _-1Pv:int = 1000;
        private static const _-0Tc:String = "next_quest";

        private var _-2EK:HabboQuestEngine;
        private var _-3oz:_-1Yl;
        private var _-0xv:IWindowContainer;
        private var _-2jY:Boolean = false;
        private var _-3Ll:int;

        public function NextQuestTimer(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
        }
        public function dispose():void
        {
            if (this._-2EK)
            {
                this._-2EK.toolbar.extensionView._-21z(_-0Tc);
            };
            this._-2EK = null;
            this._-3oz = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function _-4kl():void
        {
            this._-3oz = null;
            this.close();
        }
        public function _-5m():void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-0xv.findChildByName("more_info_region").visible = false;
                this._-0xv.findChildByName("more_info_txt").visible = false;
            };
        }
        public function do (_arg1:_-1Yl):void
        {
            if (_arg1._-1UI < 1)
            {
                this.close();
                return;
            };
            this._-3oz = _arg1;
            this._-eN();
            this._-2XN();
            this._-0xv.visible = true;
            this._-2EK.toolbar.extensionView._-408(_-0Tc, this._-0xv);
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IWindowContainer(this._-2EK.getXmlWindow("NextQuestTimer"));
            this._-0xv.x = 0;
            this._-0xv.y = 0;
            this._-0xv.findChildByName("more_info_region").procedure = this._-1GR;
            this._-0xv.findChildByName("quest_timer_expanded").procedure = this._-2Ss;
            this._-0xv.findChildByName("quest_timer_contracted").procedure = this._-2Ss;
            this._-2XN();
        }
        private function refresh():void
        {
            var k:int = this._-3oz._-1UI;
            if (k < 1)
            {
                this.close();
                this._-3oz._-1UI = 0;
                this._-2EK._-2AC.do (this._-3oz);
            };
            var k:String = _-28n._-kh(this._-2EK.localization, k);
            var k = (this._-3oz._-25Z() + ".delayedmsg");
            this._-2EK.localization.registerParameter("quests.nextquesttimer.caption.contracted", "time", k);
            this._-2EK.localization.registerParameter(k, "time", k);
            this._-0xv.findChildByName("quest_header_txt").caption = this._-2EK.localization.getKey(("quests.nextquesttimer.caption." + ((this._-2jY) ? "expanded" : "contracted")));
            this._-0xv.findChildByName("desc_txt").caption = this._-2EK.localization.getKey(k, k);
        }
        private function _-2XN():void
        {
            this._-0xv.findChildByName("quest_timer_expanded").visible = this._-2jY;
            this._-0xv.findChildByName("quest_timer_contracted").visible = !(this._-2jY);
            this._-0xv.findChildByName("more_info_txt").visible = ((this._-2jY) && (this._-2EK._-2bv));
            this._-0xv.findChildByName("more_info_region").visible = ((this._-2jY) && (this._-2EK._-2bv));
            this._-0xv.findChildByName("quest_pic_bitmap").visible = this._-2jY;
            this._-0xv.findChildByName("desc_txt").visible = this._-2jY;
            this.refresh();
        }
        private function _-1GR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK._-2AC._-0Hi._-a6(this._-3oz);
            };
        }
        private function _-2Ss(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2jY = !(this._-2jY);
                this._-2XN();
            };
        }
        public function update(_arg1:uint):void
        {
            if ((((this._-0xv == null)) || (!(this._-0xv.visible))))
            {
                return;
            };
            this._-3Ll = (this._-3Ll - _arg1);
            if (this._-3Ll > 0)
            {
                return;
            };
            this._-3Ll = _-1Pv;
            this.refresh();
        }
        private function _-2Al():int
        {
            return (0);
        }
        public function _-0m7():Boolean
        {
            return (((this._-0xv) && (this._-0xv.visible)));
        }
        public function close():void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-0xv.visible = false;
                this._-2EK.toolbar.extensionView._-21z(_-0Tc);
            };
        }
        private function _-0S-(_arg1:Boolean):void
        {
            this._-0xv.findChildByName("quest_pic_bitmap").visible = _arg1;
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.ProgressBar

package _-2tv
{
    import _-Ew.IWindowContainer;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class ProgressBar implements _-1zZ 
    {

        private static const _-3uZ:int = 3;
        private static const _-3MO:int = 10;

        private var _-2EK:HabboQuestEngine;
        private var _-0xv:IWindowContainer;
        private var _-qB:int;
        private var _-1J2:String;
        private var _-28c:Boolean;
        private var _-2vA:int;
        private var _-0Z3:int;
        private var _-aH:int;
        private var _-4qd:int;
        private var _-59L:int;
        private var _-3Ue:int;
        private var _-1qW:Boolean;

        public function ProgressBar(_arg1:HabboQuestEngine, _arg2:IWindowContainer, _arg3:int, _arg4:String, _arg5:Boolean, _arg6:Point)
        {
            this._-2EK = _arg1;
            this._-0xv = _arg2;
            this._-qB = _arg3;
            this._-1J2 = _arg4;
            this._-28c = _arg5;
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName("progress_bar_cont"));
            if (k == null)
            {
                k = IWindowContainer(this._-2EK.getXmlWindow("ProgressBar"));
                this._-0xv.addChild(k);
                k.x = _arg6.x;
                k.y = _arg6.y;
                k.width = (this._-qB + _-3MO);
            };
        }
        public function refresh(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:Boolean = ((!((_arg3 == this._-4qd))) || (!((_arg2 == this._-0Z3))));
            this._-0Z3 = _arg2;
            this._-2vA = _arg1;
            this._-59L = this._-3Ue;
            this._-4qd = _arg3;
            this._-aH = _arg4;
            if (((k) || ((((this._-2vA == 0)) && ((this._-3Ue > 0))))))
            {
                this._-3Ue = this._-55n(this._-2vA);
            };
            this._-1qW = true;
            this._-2D2();
        }
        public function set visible(_arg1:Boolean):void
        {
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName("progress_bar_cont"));
            if (k != null)
            {
                k.visible = _arg1;
            };
        }
        public function _-2D2():void
        {
            var k:int;
            if (!this._-1qW)
            {
                return;
            };
            var k:IWindow = this._-0xv.findChildByName("bar_a_bkg");
            var k:IWindow = this._-0xv.findChildByName("bar_a_c");
            var k:IWindow = this._-0xv.findChildByName("bar_a_r");
            var k:IWindow = this._-0xv.findChildByName("bar_l");
            var k:IWindow = this._-0xv.findChildByName("bar_c");
            var k:IWindow = this._-0xv.findChildByName("bar_r");
            k.visible = this._-28c;
            k.visible = this._-28c;
            k.visible = this._-28c;
            if (this._-28c)
            {
                k.width = this._-qB;
                k.x = (this._-qB + k.x);
            };
            var k:int = this._-55n(this._-2vA);
            if (this._-3Ue < k)
            {
                k = Math.min(Math.abs((this._-3Ue - k)), Math.abs((this._-59L - k)));
                this._-3Ue = Math.min(k, (this._-3Ue + Math.max(1, Math.round(Math.sqrt(k)))));
            };
            var k = (this._-3Ue > 0);
            k.visible = k;
            k.visible = k;
            k.visible = k;
            if (k)
            {
                k.blend = (1 - ((k - this._-3Ue) / (k - this._-59L)));
                k.width = this._-3Ue;
                k.x = (this._-3Ue + k.x);
                k.width = (k.right - k.left);
            };
            this._-1qW = (this._-3Ue < k);
            var k:IWindow = this._-0xv.findChildByName("progress_txt");
            var k:int = ((this._-1qW) ? Math.round(((this._-3Ue / this._-qB) * this._-0Z3)) : this._-2vA);
            this._-2EK.localization.registerParameter(this._-1J2, "progress", ("" + (k + this._-aH)));
            this._-2EK.localization.registerParameter(this._-1J2, "limit", ("" + (this._-0Z3 + this._-aH)));
            k.caption = this._-2EK.localization.getKey(this._-1J2, this._-1J2);
            k.x = ((_-3uZ + k.x) + ((this._-qB - k.width) / 2));
        }
        public function dispose():void
        {
            this._-2EK = null;
            this._-0xv = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        private function _-55n(_arg1:int):int
        {
            return (Math.max(0, Math.round(((this._-qB * _arg1) / this._-0Z3))));
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.QuestDetails

package _-2tv
{
    import flash.geom.Point;
    import _-1ae.IFrameWindow;
    import _-U2._-1Yl;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-02T._-2mJ;
    import _-02T._-Wp;
    import _-1B-.*;

    public class QuestDetails implements _-1zZ 
    {

        private static const _-QU:int = 56;
        private static const _-3vJ:int = 5;
        private static const _-1tX:int = 5;
        private static const _-0cw:Point = new Point(8, 8);
        private static const _-418:Array = ["PLACE_ITEM", "PLACE_FLOOR", "PLACE_WALLPAPER", "PET_DRINK", "PET_EAT"];

        private var _-2EK:HabboQuestEngine;
        private var _-0xv:IFrameWindow;
        private var _-2SF:Boolean;
        private var _-3oz:_-1Yl;
        private var _-3Ll:int;

        public function QuestDetails(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
        }
        public function dispose():void
        {
            this._-2EK = null;
            this._-3oz = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function do (_arg1:_-1Yl):void
        {
            if (this._-2SF)
            {
                this._-2SF = false;
                this._-0br(_arg1);
            }
            else
            {
                if ((((this._-3oz == null)) || (!((this._-3oz.id == _arg1.id)))))
                {
                    this.close();
                };
            };
        }
        public function _-ox(_arg1:_-1Yl):void
        {
            this.close();
        }
        public function _-4kl():void
        {
            this.close();
        }
        public function _-5m():void
        {
            this.close();
        }
        private function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        public function _-a6(_arg1:_-1Yl):void
        {
            if (((this._-0xv) && (this._-0xv.visible)))
            {
                this._-0xv.visible = false;
                return;
            };
            this._-0br(_arg1);
        }
        public function _-0br(_arg1:_-1Yl):void
        {
            var k:IWindowContainer;
            this._-3oz = _arg1;
            if (_arg1 == null)
            {
                return;
            };
            if (this._-0xv == null)
            {
                this._-0xv = IFrameWindow(this._-2EK.getXmlWindow("QuestDetails"));
                this._-0xv.findChildByTag("close").procedure = this._-eA;
                this._-0xv.center();
                k = this._-2EK._-2AC._-4bm._-3SL(this._-4d5, this._-3LR);
                k.x = _-0cw.x;
                k.y = _-0cw.y;
                this._-0xv.content.addChild(k);
                this._-0xv.findChildByName("link_region").procedure = this._-2u0;
            };
            k = IWindowContainer(this._-0xv.findChildByName("entry_container"));
            this._-2EK._-2AC._-4bm.refreshEntryDetails(k, _arg1);
            var k = (this._-3oz._-1UI > 0);
            var k:ITextWindow = ITextWindow(k.findChildByName("hint_txt"));
            var k:int = this._-3Ge(k);
            if (!k)
            {
                k.caption = this._-2EK._-1xy(_arg1);
                k.height = (k.textHeight + _-1tX);
            };
            k.visible = !(k);
            var k:int = (this._-3Ge(k) - k);
            var k:int = this._-0qj("link_region", ((k.y + k.height) + _-3vJ));
            var k:IWindowContainer = IWindowContainer(k.findChildByName("quest_container"));
            k.height = (k.height + (k + k));
            this._-2EK._-2AC._-4bm._-2xu(k);
            this._-0xv.height = (k.height + _-QU);
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        private function _-0qj(_arg1:String, _arg2:int):int
        {
            var k:Boolean = this._-4nH();
            var k:Boolean = ((!(k)) && (this._-0Tv()));
            var k:Boolean = ((((!(k)) && (!(k)))) && (this._-1lW()));
            var k:Boolean = ((((k) || (k))) || (k));
            var k:IRegionWindow = IRegionWindow(this._-0xv.findChildByName(_arg1));
            k.y = _arg2;
            var k:int;
            if (((k) && (!(k.visible))))
            {
                k = (_-3vJ + k.height);
            };
            if (((!(k)) && (k.visible)))
            {
                k = (-(_-3vJ) - k.height);
            };
            k.visible = k;
            k.findChildByName("link_catalog").visible = k;
            k.findChildByName("link_navigator").visible = k;
            k.findChildByName("link_room").visible = k;
            return (k);
        }
        private function _-4nH():Boolean
        {
            return ((((this._-3oz._-1UI < 1)) && ((_-418.indexOf(this._-3oz.type) > -1))));
        }
        private function _-0Tv():Boolean
        {
            var k:Boolean = this._-2EK._-VH((this._-3oz._-25Z() + ".searchtag"));
            var k:Boolean = this._-2EK._-VH((this._-3oz._-25Z() + ".searchtag"));
            return ((((this._-3oz._-1UI < 1)) && (((k) || (k)))));
        }
        private function _-1lW():Boolean
        {
            return ((((((this._-3oz._-1UI < 1)) && (this._-2EK._-4Nk(this._-3oz)))) && (this._-2EK._-4gF())));
        }
        private function _-3Ge(_arg1:ITextWindow):int
        {
            return (((_arg1.visible) ? _arg1.height : 0));
        }
        private function _-eA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-0xv.visible = false;
            };
        }
        public function set _-0C6(_arg1:Boolean):void
        {
            this._-2SF = _arg1;
        }
        private function _-2u0(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (this._-4nH())
                {
                    this._-2EK.openCatalog(this._-3oz);
                }
                else
                {
                    if (this._-0Tv())
                    {
                        this._-2EK._-2Yo(this._-3oz);
                    }
                    else
                    {
                        this._-2EK._-2fe();
                    };
                };
            };
        }
        public function update(_arg1:uint):void
        {
            if ((((this._-0xv == null)) || (!(this._-0xv.visible))))
            {
                return;
            };
            this._-3Ll = (this._-3Ll - _arg1);
            if (this._-3Ll > 0)
            {
                return;
            };
            this._-3Ll = NextQuestTimer._-1Pv;
            var k:Boolean = this._-2EK._-2AC._-4bm._-53X(this._-0xv, this._-3oz);
            if (k)
            {
                this._-0br(this._-3oz);
            };
        }
        private function _-4d5(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.send(new _-2mJ(this._-3oz.id));
                this._-0xv.visible = false;
                this._-2EK._-2AC._-2ea.close();
            };
        }
        private function _-3LR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.send(new _-Wp());
            };
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.QuestsList

package _-2tv
{
    import _-1ae.IFrameWindow;
    import _-1ae.IItemListWindow;
    import _-1ae.IScrollbarWindow;
    import _-2ly._-F-;
    import _-02T._-YF;
    import _-U2._-1Yl;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-2ly._-28n;
    import _-0Ie.WindowMouseEvent;
    import _-3vb.HabboToolbarIconEnum;
    import _-2or._-31I;
    import _-0Ie.WindowEvent;
    import _-02T._-2mJ;
    import _-02T._-Wp;
    import _-3Bn._-1Ii;
    import _-1B-.*;

    public class QuestsList implements _-1zZ 
    {

        private static const _-3vm:int = 5;
        private static const _-3ZV:int = 10;
        private static const _-0jH:int = 10;
        private static const _-2fo:int = 30;

        private var _-2EK:HabboQuestEngine;
        private var _-0xv:IFrameWindow;
        private var _-3EB:IItemListWindow;
        private var _-3HB:IScrollbarWindow;
        private var _-14e:Boolean = true;
        private var _-gb:Boolean;
        private var _-0qW:_-F-;
        private var _-0vv:Array;
        private var _-3Ll:int = 1000;

        public function QuestsList(_arg1:HabboQuestEngine)
        {
            this._-0vv = new Array();
            super();
            this._-2EK = _arg1;
        }
        public function dispose():void
        {
            this._-2EK = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-0qW)
            {
                this._-0qW.dispose();
                this._-0qW = null;
            };
            this._-3EB = null;
            this._-3HB = null;
            this._-0vv = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function _-0m7():Boolean
        {
            return (((this._-0xv) && (this._-0xv.visible)));
        }
        public function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        public function _-5m():void
        {
            this.close();
        }
        public function _-2J3():void
        {
            if (!this._-0xv)
            {
                this._-0VC();
                return;
            };
            if (((!(this._-0qW)) || (this._-0qW.disposed)))
            {
                this._-0qW = new _-F-(this._-0xv, this._-0xv.desktop, this._-0VC, this.close);
            };
            this._-0qW._-4NB();
            this._-14e = false;
        }
        private function _-0VC():void
        {
            this._-2EK.send(new _-YF());
        }
        public function _-2mI(_arg1:Array, _arg2:Boolean):void
        {
            this._-0vv = [];
            var k:_-1Yl;
            for each (k in _arg1)
            {
                if (!this._-2EK._-4Nk(k))
                {
                    this._-0vv.push(k);
                };
            };
            if (((!(this._-0m7())) && (!(_arg2))))
            {
                return;
            };
            this.refresh(false);
            this._-0xv.visible = true;
            this._-0xv.activate();
            this._-gb = false;
            for each (k in _arg1)
            {
                if (k.accepted)
                {
                    this._-gb = true;
                };
            };
        }
        private function refresh(_arg1:Boolean):void
        {
            var _local3:Boolean;
            this._-eN();
            this._-3EB.autoArrangeItems = false;
            var k:int;
            while (true)
            {
                if (k < this._-0vv.length)
                {
                    this._-wY(true, k, this._-0vv[k], _arg1);
                }
                else
                {
                    _local3 = this._-wY(false, k, null, _arg1);
                    if (_local3)
                    {
                        break;
                    };
                };
                k++;
            };
            this._-3EB.autoArrangeItems = true;
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-2EK.getXmlWindow("Quests"));
            this._-0xv.findChildByTag("close").procedure = this._-lf;
            this._-3EB = IItemListWindow(this._-0xv.findChildByName("quest_list"));
            this._-3HB = IScrollbarWindow(this._-0xv.findChildByName("scroller"));
            this._-0xv.center();
            this._-3EB.spacing = _-3ZV;
        }
        private function _-wY(_arg1:Boolean, _arg2:int, _arg3:_-1Yl, _arg4:Boolean):Boolean
        {
            var k:IWindowContainer = IWindowContainer(this._-3EB.getListItemAt(_arg2));
            var k:Boolean;
            if (k == null)
            {
                if (!_arg1)
                {
                    return (true);
                };
                k = this._-3SL(this._-4d5, this._-3LR);
                this._-3EB.addListItem(k);
                k = true;
            };
            if (_arg1)
            {
                if (_arg4)
                {
                    this._-53X(k, _arg3);
                }
                else
                {
                    this.refreshEntryDetails(k, _arg3);
                };
                k.visible = true;
            }
            else
            {
                k.visible = false;
            };
            return (false);
        }
        public function _-3SL(_arg1:Function, _arg2:Function):IWindowContainer
        {
            var k:IWindowContainer = IWindowContainer(this._-2EK.getXmlWindow("QuestEntry"));
            var k:IWindowContainer = IWindowContainer(this._-2EK.getXmlWindow("Campaign"));
            var k:IWindowContainer = IWindowContainer(this._-2EK.getXmlWindow("Quest"));
            var k:IWindowContainer = IWindowContainer(this._-2EK.getXmlWindow("EntryArrows"));
            var k:IWindowContainer = IWindowContainer(this._-2EK.getXmlWindow("CampaignCompleted"));
            k.addChild(k);
            k.addChild(k);
            k.addChild(k);
            k.addChild(k);
            k.findChildByName("accept_button").procedure = _arg1;
            k.findChildByName("cancel_region").procedure = _arg2;
            k.findChildByName("hint_txt").visible = false;
            k.findChildByName("link_region").visible = false;
            var k:IWindow = k.findChildByName("cancel_region");
            var k:IWindow = k.findChildByName("cancel_txt");
            k.width = k.width;
            k.x = ((k.width - k.width) - _-0jH);
            k.x = ((k.x + k.width) + _-3vm);
            k.width = (k.x + k.width);
            k.x = k.x;
            this._-2xu(k);
            return (k);
        }
        public function _-2xu(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("campaign_container"));
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("quest_container"));
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("entry_arrows_cont"));
            k.height = k.height;
            _arg1.height = k.height;
            k.x = ((k.x + k.width) - 2);
            k.y = (Math.floor(((k.height - k.height) / 2)) + 1);
            k.findChildByName("completion_txt").y = (k.height - _-2fo);
            var k:int = 2;
            var k:IWindow = k.findChildByName("bg_bottom");
            k.height = Math.floor(((k.height - (2 * k)) / 2));
            k.y = (k + k.height);
        }
        public function refreshEntryDetails(_arg1:IWindowContainer, _arg2:_-1Yl):void
        {
            _arg1.findChildByName("campaign_header_txt").caption = this._-2EK._-iM(_arg2);
            _arg1.findChildByName("completion_txt").caption = ((_arg2._-1K8 + "/") + _arg2._-27q);
            this._-2EK._-0lz(_arg1, _arg2, true);
            this._-0fN(_arg1, "bg", _arg2.accepted, 4290944315, 4284769380);
            this._-0fN(_arg1, "bg_top", _arg2.accepted, 0xFFFFD788, 4290427578);
            this._-0fN(_arg1, "bg_bottom", _arg2.accepted, 0xFFFFC758, 4289440683);
            _arg1.findChildByName("completion_bg_red_bitmap").visible = ((!(_arg2._-H1)) && ((_arg2._-1K8 < 1)));
            _arg1.findChildByName("completion_bg_blue_bitmap").visible = ((!(_arg2._-H1)) && ((_arg2._-1K8 > 0)));
            _arg1.findChildByName("completion_bg_green_bitmap").visible = _arg2._-H1;
            _arg1.findChildByName("arrow_0").visible = !(_arg2.accepted);
            _arg1.findChildByName("arrow_1").visible = _arg2.accepted;
            _arg1.findChildByName("quest_container").visible = !(_arg2._-H1);
            _arg1.findChildByName("campaign_completed_container").visible = _arg2._-H1;
            if (!_arg2._-H1)
            {
                this._-4U9(IWindowContainer(_arg1.findChildByName("quest_container")), _arg2);
                this._-53X(_arg1, _arg2);
            };
        }
        private function _-4U9(_arg1:IWindowContainer, _arg2:_-1Yl):void
        {
            _arg1.findChildByName("quest_header_txt").caption = this._-2EK._-2qm(_arg2);
            _arg1.findChildByName("desc_txt").caption = this._-2EK._-1Ku(_arg2);
            _arg1.findChildByName("cancel_txt").visible = _arg2.accepted;
            _arg1.findChildByName("cancel_region").visible = _arg2.accepted;
            _arg1.findChildByName("accept_button").visible = !(_arg2.accepted);
            _arg1.findChildByName("accept_button").id = _arg2.id;
            this._-0fN(_arg1, null, _arg2.accepted, 15982264, 0xC8C8C8);
            this._-0fN(_arg1, "quest_header", _arg2.accepted, 15577658, 0x8D8D8D);
            ITextWindow(_arg1.findChildByName("quest_header_txt")).textColor = ((_arg2.accepted) ? 0xFFFFFFFF : 4281808695);
            this._-2EK._-0t8(_arg1, _arg2);
            this._-2EK._-3X3((_arg2._-1UI < 1), _arg1, _arg2.activityPointType, _arg2._-28D);
            _arg1.findChildByName("delay_desc_txt").visible = (_arg2._-1UI > 0);
            _arg1.findChildByName("delay_txt").visible = (_arg2._-1UI > 0);
            _arg1.findChildByName("desc_txt").visible = (_arg2._-1UI < 1);
        }
        public function _-53X(_arg1:IWindowContainer, _arg2:_-1Yl):Boolean
        {
            var k:int;
            var k:String;
            if (_arg1.findChildByName("delay_desc_txt").visible)
            {
                k = _arg2._-1UI;
                if (k > 0)
                {
                    k = _-28n._-kh(this._-2EK.localization, k);
                    _arg1.findChildByName("delay_txt").caption = k;
                }
                else
                {
                    this._-4U9(_arg1, _arg2);
                    return (true);
                };
            };
            return (false);
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
                k = Boolean(parseInt(this._-2EK.configuration.getKey("new.identity", "0")));
                if (((((k) && (this._-14e))) && (!(this._-gb))))
                {
                    this._-14e = false;
                    this._-2EK.habboHelp._-2J2(HabboToolbarIconEnum.QUESTS, "quests.rejectnotification", _-31I.LEFT);
                };
            };
        }
        private function _-4d5(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:int = _arg2.id;
            _-Nb.log(("Accept quest: " + k));
            this._-2EK.send(new _-2mJ(k));
            this._-0xv.visible = false;
        }
        private function _-3LR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Reject quest");
            this._-2EK.send(new _-Wp());
        }
        private function _-0fN(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:uint, _arg5:uint):void
        {
            (((_arg2 == null)) ? _arg1 : _arg1.findChildByName(_arg2)).color = ((_arg3) ? _arg4 : _arg5);
        }
        public function _-23e(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            if ((((_arg2.type == WindowEvent._-0-9)) || ((_arg2.type == WindowEvent._-4dG))))
            {
                _arg1.dispose();
            };
        }
        public function update(_arg1:uint):void
        {
            if ((((this._-0xv == null)) || (!(this._-0xv.visible))))
            {
                return;
            };
            this._-3Ll = (this._-3Ll - _arg1);
            if (this._-3Ll > 0)
            {
                return;
            };
            this._-3Ll = NextQuestTimer._-1Pv;
            this.refresh(true);
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.QuestTracker

package _-2tv
{
    import flash.geom.Point;
    import _-U2._-1Yl;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-02T._-1sR;
    import _-02T._-48c;
    import _-1ae.IDesktopWindow;
    import _-1ae.IFrameWindow;
    import _-1B-.*;

    public class QuestTracker implements _-1zZ 
    {

        private static const _-4aM:int = 0;
        private static const _-4GS:int = 1;
        private static const _-1oh:int = 2;
        private static const _-3CC:int = 3;
        private static const _-0MB:int = 4;
        private static const _-1q-:int = 5;
        private static const _-5BI:int = 6;
        private static const _-344:Array = [-2, -3, -2, 0, 2, 3, 2, 0, 2, 1, 0, 1];
        private static const _-3p4:Array = [1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 4];
        private static const _-2xm:int = 6;
        private static const _-1mq:int = 4;
        private static const _-0ny:int = 2;
        private static const _-2NO:int = 200;
        private static const _-0ta:Array = ["a", "b", "c", "d"];
        private static const _-4ZU:int = 10000;
        private static const switch:int = 0;
        private static const _-1s9:int = -1;
        private static const _-0-r:Point = new Point(10, 87);
        private static const _-kU:int = 162;
        private static const _-Qv:Number = 0.01;
        private static const _-46h:Number = 100;
        private static const _-26q:int = 1000;
        private static const _-0Tc:String = "quest_tracker";
        private static const _-3dL:int = 10;

        private var _-2EK:HabboQuestEngine;
        private var _-22w:_-1Yl;
        private var _-0xv:IWindowContainer;
        private var _-0qH:Timer;
        private var _-GV:ProgressBar;
        private var _-4dD:int = 0;
        private var _-1Sf:int = 0;
        private var _-1Pj:int = 0;
        private var _-75:int = -1;
        private var _-1H0:int = -1;
        private var _-1gK:int = -1;
        private var _-146:int;
        private var _-4-5:int;
        private var _-0kx:Boolean;
        private var _-2UU:Boolean;

        public function QuestTracker(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
        }
        public function dispose():void
        {
            if (this._-2EK)
            {
                this._-2EK.toolbar.extensionView._-21z(_-0Tc);
            };
            this._-2EK = null;
            this._-22w = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-0qH)
            {
                this._-0qH.stop();
                this._-0qH = null;
            };
            if (this._-GV)
            {
                this._-GV.dispose();
                this._-GV = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function _-ox(_arg1:_-1Yl, _arg2:Boolean):void
        {
            if (this._-0xv)
            {
                this._-5y();
                this._-22w = _arg1;
                this._-1Sf = 0;
                this._-2DG();
                this._-75 = 0;
                this._-4dD = _-3CC;
                this._-2UU = !(_arg2);
            };
        }
        public function _-4kl():void
        {
            this._-22w = null;
            if (this._-0xv)
            {
                this._-5y();
                this._-GV.refresh(0, 100, -1, 0);
                this._-4dD = _-1oh;
            };
        }
        public function _-0TW():void
        {
            var k:int;
            var k:Boolean = this._-2EK.configuration.getBoolean("new.identity", false);
            if (((!(k)) && (this._-2EK._-2w9())))
            {
                return;
            };
            var k:String = this._-49S();
            if ((((((this._-0qH == null)) && (k))) && (!((k == "")))))
            {
                k = int(this._-2EK.configuration.getKey("questing.startQuestDelayInSeconds", "30"));
                this._-0qH = new Timer((k * 1000), 1);
                this._-0qH.addEventListener(TimerEvent.TIMER, this._-1-O);
                this._-0qH.start();
                _-Nb.log(("Initialized start quest timer with period: " + k));
            };
        }
        public function _-5m():void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-0xv.findChildByName("more_info_txt").visible = false;
                this._-0xv.findChildByName("more_info_region").visible = false;
            };
        }
        public function do (_arg1:_-1Yl):void
        {
            if (this._-0qH != null)
            {
                this._-0qH.stop();
            };
            var k:Boolean = ((this._-0xv) && (this._-0xv.visible));
            if (_arg1._-1UI > 0)
            {
                if (k)
                {
                    this._-1Uw(false);
                };
                return;
            };
            this._-22w = _arg1;
            this._-2lk();
            this._-2DG();
            this._-0o3();
            this._-1Uw(true);
            this._-4dv();
            if (k)
            {
                if (this._-4dD == _-1oh)
                {
                    this._-4dD = _-4GS;
                };
                this._-27f(this._-1H0, _-1mq, false);
            }
            else
            {
                this._-0xv.x = this._-13O();
                this._-4dD = _-4GS;
                this._-27f(switch, _-0ny, false);
            };
        }
        private function _-0o3():void
        {
            if (!this._-2EK._-2MJ(this._-22w))
            {
                return;
            };
            var k:int;
            while (k < _-0ta.length)
            {
                this._-2EK._-12s(this._-0xv, this._-22w, _-0ta[k]);
                k++;
            };
        }
        private function _-2lk():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IWindowContainer(this._-2EK.getXmlWindow("QuestTracker"));
            this._-0xv.findChildByName("more_info_region").procedure = this._-1GR;
            this._-4dv();
            this._-GV = new ProgressBar(this._-2EK, IWindowContainer(this._-0xv.findChildByName("content_cont")), _-kU, "quests.tracker.progress", false, _-0-r);
        }
        private function _-4dv():void
        {
            var k:int = 1;
            while (k <= _-2xm)
            {
                this._-2RN(k).visible = false;
                k++;
            };
        }
        private function _-3QT():void
        {
            var k:int;
            while (k < _-0ta.length)
            {
                this._-2WS(_-0ta[k]).visible = false;
                k++;
            };
        }
        private function _-2RN(_arg1:int):IWindow
        {
            return (this._-0xv.findChildByName(("success_pic_" + _arg1)));
        }
        private function _-2WS(_arg1:String):IWindow
        {
            return (this._-0xv.findChildByName(("prompt_pic_" + _arg1)));
        }
        private function _-2DG():void
        {
            this._-2EK.localization.registerParameter("quests.tracker.caption", "quest_name", this._-2EK._-yr(this._-22w));
            this._-0xv.findChildByName("desc_txt").caption = this._-2EK._-1Ku(this._-22w);
            this._-0xv.findChildByName("more_info_txt").visible = this._-2EK._-2bv;
            this._-0xv.findChildByName("more_info_region").visible = this._-2EK._-2bv;
            var k:int = Math.ceil(((100 * this._-22w._-2oD) / this._-22w._-4wb));
            this._-GV.refresh(k, 100, this._-22w.id, 0);
            this._-2EK._-0t8(this._-0xv, this._-22w);
        }
        private function _-1GR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK._-2AC._-0Hi._-a6(this._-22w);
            };
        }
        public function update(_arg1:uint):void
        {
            var _local2:int;
            var _local3:int;
            var k:int;
            if (this._-0xv == null)
            {
                return;
            };
            this._-GV._-2D2();
            switch (this._-4dD)
            {
                case _-4GS:
                    _local2 = this._-2Al();
                    _local3 = (this._-0xv.x - _local2);
                    if (_local3 > 0)
                    {
                        k = Math.max(1, Math.round(((_local3 * _arg1) * _-Qv)));
                        this._-0xv.x = (this._-0xv.x - k);
                    }
                    else
                    {
                        this._-4dD = _-4aM;
                        this._-0xv.x = _local2;
                    };
                    return;
                case _-1oh:
                    _local2 = this._-13O();
                    _local3 = (this._-0xv.width - this._-0xv.x);
                    if (_local3 > 0)
                    {
                        k = Math.max(1, Math.round(((_arg1 * _-46h) / _local3)));
                        this._-0xv.x = (this._-0xv.x + k);
                    }
                    else
                    {
                        this._-4dD = _-4aM;
                        this._-0xv.x = _local2;
                        this._-1Uw(false);
                    };
                    return;
                case _-3CC:
                    this._-4dv();
                    this._-2RN(_-3p4[this._-75]).visible = true;
                    this._-75++;
                    if (this._-75 >= _-3p4.length)
                    {
                        this._-4dD = _-1q-;
                        this._-1Pj = _-26q;
                    };
                    return;
                case _-5BI:
                    this._-0S-(false);
                    this._-3QT();
                    this._-146 = (this._-146 - _arg1);
                    this._-2WS(_-0ta[this._-1gK]).visible = true;
                    if (this._-146 < 0)
                    {
                        this._-146 = _-2NO;
                        this._-1gK++;
                        if (this._-1gK >= _-0ta.length)
                        {
                            this._-1gK = 0;
                            this._-4-5--;
                            if (this._-4-5 < 1)
                            {
                                this._-27f(_-4ZU, _-0ny, true);
                                this._-4dD = _-4aM;
                            };
                        };
                    };
                    return;
                case _-0MB:
                    if (this._-1Sf >= (_-344.length - 1))
                    {
                        this._-0xv.x = this._-2Al();
                        this._-4dD = _-4aM;
                        this._-27f(_-4ZU, _-0ny, false);
                    }
                    else
                    {
                        this._-0xv.x = (this._-2Al() + _-344[this._-1Sf]);
                        this._-1Sf++;
                    };
                    return;
                case _-1q-:
                    this._-1Pj = (this._-1Pj - _arg1);
                    if (this._-1Pj < 0)
                    {
                        this._-4dD = _-4aM;
                        if (this._-2UU)
                        {
                            this._-2EK.send(new _-1sR());
                        }
                        else
                        {
                            this._-1Uw(false);
                        };
                    };
                    return;
                case _-4aM:
                    if (this._-1H0 != _-1s9)
                    {
                        this._-1H0 = (this._-1H0 - _arg1);
                        if (this._-1H0 < 0)
                        {
                            this._-1H0 = _-1s9;
                            if (((!((this._-22w == null))) && (this._-2EK._-2MJ(this._-22w))))
                            {
                                if (this._-0kx)
                                {
                                    this._-52I();
                                }
                                else
                                {
                                    this._-4dD = _-5BI;
                                    this._-1gK = 0;
                                    this._-146 = _-2NO;
                                };
                            };
                        };
                    };
                    return;
            };
        }
        private function _-2Al():int
        {
            return (0);
        }
        private function _-13O():int
        {
            return ((this._-0xv.width + _-3dL));
        }
        public function _-0m7():Boolean
        {
            return (((this._-0xv) && (this._-0xv.visible)));
        }
        private function _-1-O(_arg1:TimerEvent):void
        {
            if (this._-2pD())
            {
                _-Nb.log("Quest start blocked. Waiting some more");
                this._-0qH.reset();
                this._-0qH.start();
            }
            else
            {
                this._-2EK._-2AC._-0Hi._-0C6 = (this._-2EK.configuration.getKey("questing.showDetailsForNextQuest") == "true");
                this._-2EK.send(new _-48c(this._-49S(), this._-2EK.configuration.getBoolean("questing.useWing", false)));
            };
        }
        private function _-49S():String
        {
            var k:String = this._-2EK.configuration.getKey("questing.defaultCampaign");
            return ((((k == null)) ? "" : k));
        }
        private function _-2pD():Boolean
        {
            var k:IDesktopWindow;
            var k:int;
            while (k <= 2)
            {
                k = this._-2EK.windowManager.getDesktop(k);
                if (((!((k == null))) && (this._-12u(k))))
                {
                    return (true);
                };
                k++;
            };
            return (false);
        }
        private function _-12u(_arg1:IWindowContainer):Boolean
        {
            var k:int;
            var k:IWindow;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (((!((k == null))) && (k.visible)))
                {
                    if ((k as IFrameWindow) != null)
                    {
                        if (((!((k.name == "mod_start_panel"))) && (!((k.name == "_frame")))))
                        {
                            return (true);
                        };
                    }
                    else
                    {
                        if (k.name == "welcome_screen")
                        {
                            return (true);
                        };
                    };
                };
                k++;
            };
            return (false);
        }
        private function _-0S-(_arg1:Boolean):void
        {
            this._-0xv.findChildByName("quest_pic_bitmap").visible = _arg1;
        }
        private function _-5y():void
        {
            this._-27f(_-1s9, 0, false);
        }
        private function _-27f(_arg1:int, _arg2:int, _arg3:Boolean):void
        {
            this._-0S-(true);
            this._-3QT();
            this._-1H0 = _arg1;
            this._-4-5 = _arg2;
            this._-0kx = _arg3;
        }
        private function _-52I():void
        {
            this._-1Sf = 0;
            this._-4dD = _-0MB;
        }
        private function _-1Uw(_arg1:Boolean):void
        {
            this._-0xv.visible = _arg1;
            if (!_arg1)
            {
                this._-2EK.toolbar.extensionView._-21z(_-0Tc);
            }
            else
            {
                this._-2EK.toolbar.extensionView._-408(_-0Tc, this._-0xv);
            };
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.RoomCompetitionController

package _-2tv
{
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-Ew.IWindow;
    import _-3PZ._-4iF;
    import _-448._-2tr;
    import _-1n0.CompetitionEntrySubmitResultMessageParser;
    import _-448._-3t9;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import _-1ae._-4mB;
    import _-Co._-4SS;
    import _-2lx._-X1;
    import _-1Q8._-567;
    import _-2lx._-3W;
    import _-2lx._-3jY;
    import _-448._-1ZF;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-3MI._-0Sy;
    import _-3vb.HabboToolbarIconEnum;
    import _-2Pt._-2yb;
    import _-2lx._-1NP;
    import _-1ae.ITextWindow;
    import _-1B-.*;

    public class RoomCompetitionController implements _-1zZ 
    {

        private static const _-1af:int = 270;
        private static const _-2uk:int = 200;
        private static const _-1UA:int = 4;

        private var _-0xv:IWindowContainer;
        private var _-2EK:HabboQuestEngine;
        private var _-HU:String;
        private var _-2Z8:int;
        private var _-0Q4:int;
        private var _-4JQ:Boolean;
        private var _-4xt:Boolean;
        private var _-3zB:Timer;
        private var _result:int;

        public function RoomCompetitionController(_arg1:HabboQuestEngine)
        {
            this._-3zB = new Timer(3000, 1);
            super();
            this._-2EK = _arg1;
            this._-3zB.addEventListener(TimerEvent.TIMER, this._-3Wr);
        }
        public function dispose():void
        {
            this._-2EK = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-3zB)
            {
                this._-3zB.removeEventListener(TimerEvent.TIMER, this._-3Wr);
                this._-3zB.reset();
                this._-3zB = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-0xv == null));
        }
        private function _-0Ab(_arg1:IWindow, _arg2:String, _arg3:String):void
        {
            var k:String = ((_arg2 + ".") + _arg3);
            var k:String = this._-2EK.localization.getKey(k, "");
            if (k == "")
            {
                k = _arg2;
                k = this._-2EK.localization.getKey(k, "");
            };
            if (k == "")
            {
                _arg1.visible = false;
            }
            else
            {
                _arg1.visible = true;
                this._-2EK.localization.registerParameter(k, "competition_name", this._-0Ux());
                this._-2EK.localization.registerParameter(k, "votes", ("" + this._-0Q4));
                _arg1.caption = (("${" + k) + "}");
            };
        }
        public function _-4ag(_arg1:_-2tr):void
        {
            this._-0Q4 = _arg1._-3-5()._-3NY;
            var k:Boolean = _arg1._-3-5()._-2B;
            var k:int = _arg1._-3-5()._-rJ;
            this.refreshContent(_arg1._-3-5()._-2JP, false, _arg1._-3-5()._-0Tu, k.toString());
            this._-1EI((((k == _-4iF._-4eO)) ? this._-7w : this._-ki));
            this._-3HE().procedure = this._-29X;
            this._-3HE().visible = (((this._-0Q4 > 0)) && (k));
            this._-Pm().visible = k;
        }
        public function _-3AE(_arg1:_-3t9):void
        {
            this.refreshContent(_arg1._-3-5()._-2JP, true, _arg1._-3-5()._-0Tu, ("" + _arg1._-3-5().result));
            this._result = _arg1._-3-5().result;
            if (this._result == CompetitionEntrySubmitResultMessageParser._-1K6)
            {
                this._-1EI(null);
                this._-3HE().procedure = this._-4TN;
            }
            else
            {
                if (this._result == CompetitionEntrySubmitResultMessageParser._-3Xs)
                {
                    this._-1EI(this._-1TX);
                    this._-3HE().procedure = this._-37F;
                }
                else
                {
                    if (this._result == CompetitionEntrySubmitResultMessageParser._-2gl)
                    {
                        this._-1EI(this._-1TX);
                        this._-3HE().procedure = this._-26N;
                    }
                    else
                    {
                        if (this._result == CompetitionEntrySubmitResultMessageParser._-3fp)
                        {
                            this._-1EI(this._-3vh);
                            this._-3HE().visible = false;
                            this._-0u(_arg1);
                            this._-59E().visible = true;
                        }
                        else
                        {
                            if (this._result == CompetitionEntrySubmitResultMessageParser._-4zw)
                            {
                                this._-1EI(this._-1TX);
                                this._-3HE().procedure = this._-4F9;
                            }
                            else
                            {
                                if (this._result == CompetitionEntrySubmitResultMessageParser._-2hO)
                                {
                                    this._-1EI(null);
                                    this._-3HE().procedure = null;
                                    this._-3HE().visible = false;
                                }
                                else
                                {
                                    if (this._result == CompetitionEntrySubmitResultMessageParser._-0gY)
                                    {
                                        this._-1EI(null);
                                        this._-3HE().procedure = this._-0Yd;
                                        this._-3HE().visible = true;
                                    };
                                };
                            };
                        };
                    };
                };
            };
        }
        private function _-1EI(_arg1:Function):void
        {
            this._-4x1().procedure = _arg1;
            this._-4x1().setParamFlag(WindowParam._-55Y, !((_arg1 == null)));
        }
        public function refreshContent(_arg1:int, _arg2:Boolean, _arg3:String, _arg4:String):void
        {
            this._-2Z8 = _arg1;
            this._-HU = _arg3;
            this._-4JQ = _arg2;
            this.prepare();
            this._-2Y8(((_arg2) ? "submit" : "vote"), _arg4);
            this._-3HE().visible = true;
            this._-2l();
            this._-27j();
            this._-59E().visible = false;
            this._-0xv.findChildByName("dont_show_again_container").visible = false;
            this._-0xv.findChildByName("normal_container").visible = true;
        }
        private function _-2l():void
        {
            this._-3pQ().visible = !(this._-4JQ);
            this._-2ZE().visible = this._-4JQ;
        }
        private function _-27j():void
        {
            this._-0xv.visible = true;
            var k:Rectangle = this._-0xv.desktop.rectangle;
            this._-0xv.x = _-1af;
            this._-0xv.y = _-1UA;
            this._-0xv.width = ((k.width - _-1af) - _-2uk);
            this._-0xv.activate();
        }
        private function _-0u(_arg1:_-3t9):void
        {
            var k:String;
            var k:IWindowContainer;
            var _local6:_-4mB;
            var k:Array = _arg1._-3-5()._-03F;
            var k:int;
            while (k < 3)
            {
                k = k[k];
                k = this._-5O((k + 1));
                if (k == null)
                {
                    k.visible = false;
                }
                else
                {
                    k.visible = true;
                    k.findChildByName("tick_icon").visible = !(_arg1._-3-5()._-1bD(k));
                    _local6 = _-4mB(k.findChildByName("furni_icon"));
                    _local6.assetUri = (("${image.library.url}reception/furni_req_" + k) + ".png");
                };
                k++;
            };
        }
        private function _-0Ux():String
        {
            var k = (("roomcompetition." + this._-HU) + ".name");
            return (this._-2EK.localization.getKey(k, k));
        }
        private function _-2Y8(_arg1:String, _arg2:String):void
        {
            this._-0Ab(this._-53N(), ("roomcompetition.caption." + _arg1), _arg2);
            this._-0Ab(this._-21a(), ("roomcompetition.info." + _arg1), _arg2);
            this._-0Ab(this._-3HE(), ("roomcompetition.button." + _arg1), _arg2);
            this._-0Ab(this._-Pm(), ("roomcompetition.buttoninfo." + _arg1), _arg2);
            this._-4zo();
        }
        private function _-4zo():void
        {
            this._-4x1().y = ((this._-53N().y + this._-53N().textHeight) + 5);
        }
        public function _-5m():void
        {
            this.close();
        }
        public function _-0TW(_arg1:_-567):void
        {
            this.close();
            var k:_-4SS = _arg1._-3-5();
            if (((((!(this._-4xt)) && (k._-Jj))) && (this._-3WR())))
            {
                this._-4JQ = k.owner;
                this._-2EK.send(new _-X1(this._-0uf()));
            };
        }
        private function _-0uf():String
        {
            return (this._-2EK.configuration.getKey("competition.timing"));
        }
        private function _-3WR():Boolean
        {
            return (((!((this._-0uf() == null))) && (!((this._-0uf() == "")))));
        }
        public function _-0gA(_arg1:_-1ZF):void
        {
            var k:String;
            if (((((!(this._-4xt)) && (this._-3WR()))) && ((_arg1._-3-5()._-4Zp == this._-0uf()))))
            {
                k = _arg1._-3-5().code;
                if (k != "")
                {
                    this._-2EK.send(((this._-4JQ) ? new _-3W(k, _-3W._-2Se) : new _-3jY(k)));
                };
            };
        }
        public function _-4kn():void
        {
            if (((!((this._-HU == null))) && (!((this._-HU == "")))))
            {
                this._-2EK.send(new _-3jY(this._-HU));
            };
        }
        public function _-2Cz():void
        {
            if (((((!((this._-0xv == null))) && (this._-0xv.visible))) && (this._-4JQ)))
            {
                this._-2EK.send(new _-3W(this._-HU, _-3W._-2Se));
            };
        }
        private function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
            this._-HU = "";
        }
        private function prepare():void
        {
            var k:int;
            if (this._-0xv == null)
            {
                k = 1;
                this._-0xv = IWindowContainer(this._-2EK.getXmlWindow("RoomCompetition", k));
                this._-0xv.findChildByName("close_region").procedure = this._-4F9;
                this._-2EK.windowManager.getWindowContext(k).getDesktopWindow().addEventListener(WindowEvent._-3K0, this._-0QH);
                this._-0xv.findChildByName("dont_show_again_region").procedure = this._-0EB;
            };
        }
        private function _-3vh(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.catalog.openCatalogPage(this._-2EK.configuration.getKey((("competition." + this._-HU) + ".catalogPage")));
            };
        }
        private function _-0Yd(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.navigator._-2Yo(null);
            };
        }
        private function _-1TX(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            var k:_-0Sy;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = new _-0Sy(_-0Sy._-40N);
                k._-1wJ = HabboToolbarIconEnum.RECEPTION;
                this._-2EK.toolbar.events.dispatchEvent(k);
            };
        }
        private function _-ki(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.navigator._-4TT(this._-2Z8, -1);
            };
        }
        private function _-7w(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.tracking.trackTalentTrackOpen(this._-2EK.sessionDataManager.currentTalentTrack, "roomcompetition");
                this._-2EK.send(new _-2yb(this._-2EK.sessionDataManager.currentTalentTrack));
            };
        }
        private function _-37F(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.send(new _-3W(this._-HU, _-3W._-0HB));
            };
        }
        private function _-26N(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.send(new _-3W(this._-HU, _-3W._-0LX));
            };
        }
        private function _-4TN(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.send(new _-3W(this._-HU, _-3W._-4nP));
            };
        }
        private function _-29X(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK.send(new _-1NP(this._-HU));
            };
        }
        private function _-4F9(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            var k:String;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (((this._-4JQ) && ((this._result == CompetitionEntrySubmitResultMessageParser._-4zw))))
                {
                    this.close();
                    return;
                };
                k = ("roomcompetition.dontshowagain.info." + ((this._-4JQ) ? "submit" : "vote"));
                this._-0xv.findChildByName("dont_show_info_txt").caption = this._-2EK.localization.getKey(k, k);
                this._-0xv.findChildByName("dont_show_again_container").visible = true;
                this._-0xv.findChildByName("normal_container").visible = false;
                this._-3zB.reset();
                this._-3zB.start();
            };
        }
        private function _-0EB(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-4xt = true;
                this.close();
            };
        }
        private function _-4x1():IWindow
        {
            return (this._-0xv.findChildByName("info_region"));
        }
        private function _-21a():IWindow
        {
            return (this._-0xv.findChildByName("info_txt"));
        }
        private function _-Pm():IWindow
        {
            return (this._-0xv.findChildByName("button_info_txt"));
        }
        private function _-3HE():IWindow
        {
            return (this._-0xv.findChildByName("action_button"));
        }
        private function _-53N():ITextWindow
        {
            return (ITextWindow(this._-0xv.findChildByName("caption_txt")));
        }
        private function _-59E():IWindow
        {
            return (this._-0xv.findChildByName("required_furnis_container"));
        }
        private function _-3pQ():IWindow
        {
            return (this._-0xv.findChildByName("vote_image"));
        }
        private function _-2ZE():IWindow
        {
            return (this._-0xv.findChildByName("submit_image"));
        }
        private function _-5O(_arg1:int):IWindowContainer
        {
            return (IWindowContainer(this._-0xv.findChildByName(("furni_container_" + _arg1))));
        }
        private function _-0QH(_arg1:WindowEvent):void
        {
            if (((!((this._-0xv == null))) && (this._-0xv.visible)))
            {
                this._-4zo();
            };
        }
        public function set else(_arg1:Boolean):void
        {
            this._-4xt = _arg1;
        }
        private function _-3Wr(_arg1:TimerEvent):void
        {
            this.close();
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.Twinkle

package _-2tv
{
    import flash.geom.Point;
    import flash.display.BitmapData;
    import _-1B-.*;

    public class Twinkle implements _-3zd, _-1zZ 
    {

        private static const _-4KH:int = 100;
        private static const _-0Yc:Array = [1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1];
        private static const _-Y8:int = -1;
        private static const _-1y3:int = -2;
        private static const _-3G5:Point = new Point(44, 44);

        private var _-2c8:TwinkleImages;
        private var _-35c:int;
        private var _-oi:Point;

        public function Twinkle(_arg1:TwinkleImages, _arg2:int)
        {
            this._-2c8 = _arg1;
            this._-35c = _arg2;
        }
        public function dispose():void
        {
            this._-2c8 = null;
            this._-oi = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2c8 == null));
        }
        public function _-47q():void
        {
            this._-oi = new Point(Math.round((Math.random() * _-3G5.x)), Math.round((Math.random() * _-3G5.y)));
        }
        public function _-2HO(_arg1:int):Point
        {
            return (this._-oi);
        }
        public function _-52S(_arg1:int):Boolean
        {
            return ((this._-44L(_arg1) == _-1y3));
        }
        public function _-5Es(_arg1:int):BitmapData
        {
            var k:int = this._-44L(_arg1);
            var k:BitmapData = this._-2c8._-2Xc(_-0Yc[k]);
            return (k);
        }
        private function _-44L(_arg1:int):int
        {
            var k:int = (_arg1 - this._-35c);
            if (k < 0)
            {
                return (_-Y8);
            };
            var k:int = Math.floor((k / _-4KH));
            if (k >= _-0Yc.length)
            {
                return (_-1y3);
            };
            return (k);
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2tv.TwinkleImages

package _-2tv
{
    import _-295._-2kE;
    import _-1B-._-Px;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1B-.*;

    public class TwinkleImages implements _-1zZ 
    {

        private static const _-2Wi:int = 6;

        private var _-2EK:HabboQuestEngine;

        public function TwinkleImages(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
            var k:int = 1;
            while (k <= _-2Wi)
            {
                this._-2EK.windowManager._-3bG.retrieveAsset(_-2Fo(k), null);
                k++;
            };
        }
        private static function _-2Fo(_arg1:int):String
        {
            return ((("${image.library.questing.url}ach_twinkle" + _arg1) + ".png"));
        }

        public function _-2Xc(_arg1:int):BitmapData
        {
            var k:_-2kE;
            if (this._-2EK != null)
            {
                k = _-Px(this._-2EK.windowManager).assets.getAssetByName(this._-2EK.configuration.interpolate(_-2Fo(_arg1)));
                if (((!((k == null))) && ((k is BitmapDataAsset))))
                {
                    return ((k.content as BitmapData));
                };
            };
            return (null);
        }
        public function dispose():void
        {
            this._-2EK = null;
        }
        public function get disposed():Boolean
        {
            return (!((this._-2EK == null)));
        }

    }
}//package _-2tv

//------------------------------------------------------------
//_-2u6._-2M1

package _-2u6
{
    import _-4Aj.*;

    public class _-2M1 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2M1(_arg1:String)
        {
            this._-0qE = new Array();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2u6

//------------------------------------------------------------
//_-2u6._-3oS

package _-2u6
{
    import _-4Aj.*;

    public class _-3oS implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3oS(_arg1:int, _arg2:String, _arg3:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-2u6

//------------------------------------------------------------
//_-2u6._-3ZH

package _-2u6
{
    import _-4Aj.*;

    public class _-3ZH implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3ZH(_arg1:String)
        {
            this._-0qE = new Array();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2u6

//------------------------------------------------------------
//_-2u6._-4rI

package _-2u6
{
    import _-4Aj.*;

    public class _-4rI implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4rI()
        {
            this._-0qE = [];
            super();
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-2u6

//------------------------------------------------------------
//_-2UF._-0ic

package _-2UF
{
    import flash.events.Event;

    public class _-0ic extends Event 
    {

        public static const _-0kT:String = "LWMOPRE_MOVING_OBJECT_PATH_RESET";

        private var _-44i:int;

        public function _-0ic(_arg1:String, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            this._-44i = _arg2;
            super(_-0kT, _arg3, _arg4);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }

    }
}//package _-2UF

//------------------------------------------------------------
//_-2VC._-46Q

package _-2VC
{
    import _-1ae.IScrollbarWindow;
    import _-1ae.IItemListWindow;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-1ae.IScrollableWindow;
    import _-4pF._-3Ts;
    import _-Ew.IWindowContainer;
    import _-295._-39L;
    import flash.display.DisplayObject;
    import flash.display.Stage;
    import flash.events.MouseEvent;
    import _-1B-.*;

    public class _-46Q implements _-1zZ 
    {

        private static const _-4E4:int = 18;
        private static const _-2Rj:int = 20;
        public static const _-4iC:int = 3;

        private var _-2kI:_-uK;
        private var _-57v:Boolean = false;
        private var _-5--:Number = -1;
        private var _-0Lp:IScrollbarWindow;
        private var _-2r6:Number = 1;
        private var _-CN:Boolean = false;
        private var _-0dg:RoomChatWidget;
        private var _-4Bk:Boolean = false;
        private var _-UH:Boolean = false;
        private var _-4uv:Boolean = false;

        public function _-46Q(_arg1:RoomChatWidget, _arg2:_-3Ts, _arg3:IWindowContainer, _arg4:_-39L)
        {
            this._-4Bk = false;
            this._-0dg = _arg1;
            this._-2kI = new _-uK(_arg1, _arg2, _arg3, _arg4);
            this._-2kI.state = _-uK._-2o7;
            var k:IItemListWindow = (_arg3.getChildByName("chat_contentlist") as IItemListWindow);
            if (k == null)
            {
                return;
            };
            _arg3.removeChild(k);
            _arg3.addChild(k);
            this._-0Lp = (_arg2.createWindow("chatscroller", "", _-4Pi._-4ao, _-29z.NULL, (_-3hb._-2rR | _-3hb.NULL), new Rectangle((_arg3.right - _-2Rj), _arg3.y, _-2Rj, (_arg3.height - _-uK._-1TC)), null, 0) as IScrollbarWindow);
            _arg3.addChild(this._-0Lp);
            this._-0Lp.visible = false;
            this._-0Lp.scrollable = (k as IScrollableWindow);
        }
        public function set disabled(_arg1:Boolean):void
        {
            this._-CN = _arg1;
        }
        public function set visible(_arg1:Boolean):void
        {
            if ((((this._-2kI == null)) || (this._-CN)))
            {
                return;
            };
            this._-2kI.state = ((_arg1) ? _-uK._-4CW : _-uK._-2o7);
        }
        public function get active():Boolean
        {
            return (this._-57v);
        }
        public function get _-0QN():Number
        {
            return (((this._-57v) ? _-2Rj : 0));
        }
        public function get _-4zl():Number
        {
            return (_-uK._-1TC);
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get visible():Boolean
        {
            if (this._-2kI == null)
            {
                return (false);
            };
            return ((((this._-2kI.state == _-uK._-4CW)) || ((this._-2kI.state == _-uK._-4pq))));
        }
        public function dispose():void
        {
            this._-4Mf();
            if (this._-0Lp != null)
            {
                this._-0Lp.dispose();
                this._-0Lp = null;
            };
            if (this._-2kI != null)
            {
                this._-2kI.dispose();
                this._-2kI = null;
            };
            this._-4Bk = true;
        }
        public function update(_arg1:uint):void
        {
            if (this._-2kI != null)
            {
                this._-2kI.update(_arg1);
            };
            this._-1Ng();
        }
        public function _-kS():void
        {
            if (this._-57v)
            {
                this._-4Mf();
            }
            else
            {
                this._-0zT();
            };
        }
        public function _-4Mf():void
        {
            this._-2r6 = 1;
            this._-1GM();
            this._-57v = false;
            this._-0BY(false);
            this._-2kI.state = _-uK._-2o7;
            if (this._-0dg != null)
            {
                this._-0dg._-0rY();
                this._-0dg._-29L();
                this._-0dg.handler.container.toolbar.extensionView.extraMargin = 0;
            };
        }
        public function _-0zT():void
        {
            var k:RoomChatItem;
            var k:int;
            var k:IWindowContainer;
            if (((!(this._-57v)) && (!(this._-CN))))
            {
                this._-57v = true;
                this._-0BY(true);
                this._-2kI.state = _-uK._-4CW;
                if (this._-0dg != null)
                {
                    this._-0dg._-5Al();
                    this._-0dg._-30s();
                };
            };
        }
        private function _-0BY(_arg1:Boolean):void
        {
            if (this._-0Lp != null)
            {
                this._-0Lp.visible = _arg1;
                if (_arg1)
                {
                    this._-0Lp.scrollV = 1;
                    this._-2r6 = 1;
                }
                else
                {
                    this._-57v = false;
                    this._-5-- = -1;
                };
            };
        }
        public function _-3cA(_arg1:Rectangle, _arg2:Boolean=false):void
        {
            if (this._-0Lp != null)
            {
                this._-0Lp.x = ((_arg1.x + _arg1.width) - this._-0Lp.width);
                this._-0Lp.y = _arg1.y;
                this._-0Lp.height = (_arg1.height - _-uK._-1TC);
                if (_arg2)
                {
                    this._-0Lp.scrollV = this._-2r6;
                };
            };
            if (this._-2kI != null)
            {
                this._-2kI._-3cA(_arg1);
            };
        }
        private function _-T5(_arg1:Number, _arg2:Boolean=false):void
        {
            var k:Number;
            var k:Number;
            var k:Number;
            var k:int;
            var k:Boolean;
            var k:Boolean;
            if ((((this._-5-- > 0)) && (_arg2)))
            {
                if (this._-4uv)
                {
                    if (Math.abs((_arg1 - this._-5--)) > _-4iC)
                    {
                        this._-4uv = false;
                    }
                    else
                    {
                        return;
                    };
                };
                if (!this._-57v)
                {
                    this._-0dg._-0kW();
                    this._-0zT();
                    this._-1Ng();
                };
                if (this._-57v)
                {
                    this._-0dg.handler.container.toolbar.extensionView.extraMargin = 20;
                    this._-1Ng();
                    k = (this._-0Lp.scrollable._-2yI.height / this._-0Lp.scrollable._-0yi.height);
                    k = ((_arg1 - this._-5--) / this._-0Lp.height);
                    k = (this._-2r6 - (k / k));
                    k = Math.max(0, k);
                    k = Math.min(1, k);
                    k = (_arg1 - this._-5--);
                    k = true;
                    k = true;
                    if (this._-0Lp.scrollV < (1 - (_-4E4 / this._-0Lp.scrollable._-2yI.height)))
                    {
                        k = false;
                    };
                    if (((k) || (this._-UH)))
                    {
                        this._-0dg._-2gX(k);
                        k = false;
                        this._-2r6 = 1;
                        this._-0Lp.scrollV = 1;
                    };
                    if (k)
                    {
                        this._-2r6 = k;
                    };
                    this._-5-- = _arg1;
                };
            }
            else
            {
                this._-5-- = -1;
            };
        }
        public function _-3ef(_arg1:Number, _arg2:Boolean=false):void
        {
            var k:DisplayObject;
            var k:Stage;
            if (this._-CN)
            {
                return;
            };
            this._-5-- = _arg1;
            this._-UH = _arg2;
            this._-4uv = true;
            if (this._-0Lp != null)
            {
                this._-2r6 = this._-0Lp.scrollV;
            };
            if (this._-0Lp != null)
            {
                k = this._-0Lp.context.getDesktopWindow().getDisplayObject();
                if (k != null)
                {
                    k = k.stage;
                    if (k != null)
                    {
                        k.addEventListener(MouseEvent.MOUSE_MOVE, this._-4KR);
                        k.addEventListener(MouseEvent.MOUSE_UP, this._-4DV);
                    };
                };
            };
        }
        public function _-1GM():void
        {
            var k:DisplayObject;
            var k:Stage;
            this._-5-- = -1;
            if (this._-0Lp != null)
            {
                k = this._-0Lp.context.getDesktopWindow().getDisplayObject();
                if (k != null)
                {
                    k = k.stage;
                    if (k != null)
                    {
                        k.removeEventListener(MouseEvent.MOUSE_MOVE, this._-4KR);
                        k.removeEventListener(MouseEvent.MOUSE_UP, this._-4DV);
                    };
                };
            };
        }
        private function _-1Ng():void
        {
            if (!this._-57v)
            {
                return;
            };
            if (this._-5-- < 0)
            {
                return;
            };
            if (this._-UH)
            {
                return;
            };
            var k:Number = (this._-2r6 - this._-0Lp.scrollV);
            if (k == 0)
            {
                return;
            };
            if (Math.abs(k) < 0.01)
            {
                this._-0Lp.scrollV = this._-2r6;
            }
            else
            {
                this._-0Lp.scrollV = (this._-0Lp.scrollV + (k / 2));
            };
        }
        private function _-4DV(_arg1:MouseEvent):void
        {
            this._-1GM();
            if (this._-0dg != null)
            {
                this._-0dg._-4Vh();
            };
        }
        private function _-4KR(_arg1:MouseEvent):void
        {
            this._-T5(_arg1.stageY, _arg1.buttonDown);
        }

    }
}//package _-2VC

//------------------------------------------------------------
//_-2VC._-uK

package _-2VC
{
    import _-4pF._-3Ts;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IRegionWindow;
    import _-295._-39L;
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-09j.WindowType;
    import _-0Ie.WindowMouseEvent;
    import _-295._-243;
    import _-bY._-4U6;
    import flash.geom.Point;

    public class _-uK 
    {

        public static const _-09T:int = 3;
        public static const _-4pq:int = 2;
        public static const _-4CW:int = 1;
        public static const _-2o7:int = 0;
        public static const _-1TC:int = 39;
        private static const _-4jk:int = 150;
        private static const _-2jQ:int = 250;

        private var _-0dg:RoomChatWidget;
        private var _-U-:_-3Ts;
        private var _-0xv:IWindowContainer;
        private var _-1zk:IBitmapWrapperWindow;
        private var _-257:IWindowContainer;
        private var _-4y2:IRegionWindow;
        private var _-AV:_-39L;
        private var _-1AZ:int = 0;
        private var _-0Ke:int = -1;
        private var _-4ui:BitmapData;
        private var _-4XT:BitmapData;
        private var _-2mB:BitmapData;
        private var _-2MX:BitmapData;
        private var _-0th:BitmapData;
        private var _-3Sq:BitmapData;
        private var _-P6:BitmapData;
        private var _-5-7:int = 30;

        public function _-uK(_arg1:RoomChatWidget, _arg2:_-3Ts, _arg3:IWindowContainer, _arg4:_-39L)
        {
            this._-0dg = _arg1;
            this._-U- = _arg2;
            this._-AV = _arg4;
            this._-257 = _arg3;
            this._-4ui = ((this._-AV.getAssetByName("chat_grapbar_bg") as BitmapDataAsset).content as BitmapData);
            this._-4XT = ((this._-AV.getAssetByName("chat_grapbar_grip") as BitmapDataAsset).content as BitmapData);
            this._-2mB = ((this._-AV.getAssetByName("chat_grapbar_handle") as BitmapDataAsset).content as BitmapData);
            this._-2MX = ((this._-AV.getAssetByName("chat_grapbar_x") as BitmapDataAsset).content as BitmapData);
            this._-0th = ((this._-AV.getAssetByName("chat_grapbar_x_hi") as BitmapDataAsset).content as BitmapData);
            this._-3Sq = ((this._-AV.getAssetByName("chat_grapbar_x_pr") as BitmapDataAsset).content as BitmapData);
            this._-P6 = ((this._-AV.getAssetByName("chat_history_bg") as BitmapDataAsset).content as BitmapData);
            this._-1zk = (this._-U-.createWindow("chat_history_bg", "", _-4Pi._-3BF, _-29z._-3dr, _-3hb._-2rR, new Rectangle(0, 0, _arg3.width, (_arg3.height - _-1TC)), null, 0, 0) as IBitmapWrapperWindow);
            this._-257.addChild(this._-1zk);
            this._-0xv = (this._-U-.createWindow("chat_pulldown", "", _-4Pi._-0Dc, _-29z._-3dr, (_-3hb._-0g6 | _-3hb._-2rR), new Rectangle(0, (this._-257.height - _-1TC), _arg3.width, _-1TC), null, 0) as IWindowContainer);
            this._-257.addChild(this._-0xv);
            this._-4y2 = (this._-U-.createWindow("REGIONchat_pulldown", "", WindowType._-4Y4, _-29z.NULL, (((_-3hb._-0g6 | _-3hb._-2rR) | _-3hb._-4wu) | _-3hb._-3iG), new Rectangle(0, 0, _arg3.width, (_arg3.height - _-1TC)), null, 0) as IRegionWindow);
            if (this._-4y2 != null)
            {
                this._-4y2.background = true;
                this._-4y2.mouseThreshold = 0;
                this._-4y2.addEventListener(WindowMouseEvent._-3Jy, this._-17M);
                this._-257.addChild(this._-4y2);
                this._-4y2._-2QR = "${chat.history.drag.tooltip}";
                this._-4y2._-1e = 250;
            };
            var k:_-243 = (_arg4.getAssetByName("chat_history_pulldown") as _-243);
            this._-0xv.buildFromXML((k.content as XML));
            this._-0xv.addEventListener(WindowMouseEvent._-3Jy, this._-17M);
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("GrapBarX") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.mouseThreshold = 0;
                k.addEventListener(WindowMouseEvent._-90, this._-1Wy);
                k.addEventListener(WindowMouseEvent._-02B, this._-1mJ);
                k.addEventListener(WindowMouseEvent._-3Jy, this._-05Q);
                k.addEventListener(WindowMouseEvent._-4ea, this._-2oo);
                k.addEventListener(WindowMouseEvent._-4e2, this._-2oC);
            };
            this._-0xv.background = true;
            this._-0xv.color = 0;
            this._-0xv.mouseThreshold = 0;
            this.state = _-2o7;
            this._-4hd();
        }
        public function dispose():void
        {
            if (this._-4y2 != null)
            {
                this._-4y2.dispose();
                this._-4y2 = null;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-1zk != null)
            {
                this._-1zk.dispose();
                this._-1zk = null;
            };
        }
        public function update(_arg1:uint):void
        {
            switch (this.state)
            {
                case _-4pq:
                    this._-1zk.blend = (this._-1zk.blend + (_arg1 / _-2jQ));
                    this._-0xv.blend = (this._-0xv.blend + (_arg1 / _-2jQ));
                    if (this._-0xv.blend >= 1)
                    {
                        this.state = _-4CW;
                    };
                    return;
                case _-09T:
                    this._-1zk.blend = (this._-1zk.blend - (_arg1 / _-4jk));
                    this._-0xv.blend = (this._-0xv.blend - (_arg1 / _-4jk));
                    if (this._-0xv.blend <= 0)
                    {
                        this.state = _-2o7;
                    };
                    return;
            };
        }
        public function set state(_arg1:int):void
        {
            if (_arg1 == this._-0Ke)
            {
                return;
            };
            switch (_arg1)
            {
                case _-4CW:
                    if (this._-0Ke == _-2o7)
                    {
                        this.state = _-4pq;
                    }
                    else
                    {
                        if ((((this._-0xv == null)) || ((this._-1zk == null))))
                        {
                            return;
                        };
                        this._-0xv.visible = true;
                        this._-1zk.visible = true;
                        this._-4y2.visible = true;
                        this._-0Ke = _arg1;
                    };
                    return;
                case _-2o7:
                    if ((((this._-0xv == null)) || ((this._-1zk == null))))
                    {
                        return;
                    };
                    this._-0xv.visible = false;
                    this._-1zk.visible = false;
                    this._-4y2.visible = false;
                    this._-0Ke = _arg1;
                    return;
                case _-4pq:
                    if ((((this._-0xv == null)) || ((this._-1zk == null))))
                    {
                        return;
                    };
                    this._-0xv.blend = 0;
                    this._-1zk.blend = 0;
                    this._-0xv.visible = true;
                    this._-1zk.visible = true;
                    this._-0Ke = _arg1;
                    return;
                case _-09T:
                    if ((((this._-0xv == null)) || ((this._-1zk == null))))
                    {
                        return;
                    };
                    this._-0xv.blend = 1;
                    this._-1zk.blend = 1;
                    this._-0Ke = _arg1;
                    return;
            };
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function _-3cA(_arg1:Rectangle):void
        {
            if (this._-0xv != null)
            {
                this._-0xv.x = 0;
                this._-0xv.y = (this._-257.height - _-1TC);
                this._-0xv.width = this._-257.width;
            };
            if (this._-4y2 != null)
            {
                this._-4y2.x = 0;
                this._-4y2.y = (this._-257.height - _-1TC);
                this._-4y2.width = (this._-257.width - this._-5-7);
            };
            if (this._-1zk != null)
            {
                this._-1zk.rectangle = this._-257.rectangle;
                this._-1zk.height = (this._-1zk.height - _-1TC);
            };
            this._-4hd();
        }
        private function _-4hd():void
        {
            var width:int;
            var height:int;
            var state:int;
            var destBgBitmap:BitmapData;
            var destGripLBitmap:BitmapData;
            var destGripRBitmap:BitmapData;
            if (this._-0xv == null)
            {
                return;
            };
            if (this._-1AZ == this._-0xv.width)
            {
                return;
            };
            this._-1AZ = this._-0xv.width;
            var barBg:IBitmapWrapperWindow = (this._-0xv.findChildByName("grapBarBg") as IBitmapWrapperWindow);
            var barX:IBitmapWrapperWindow = (this._-0xv.findChildByName("GrapBarX") as IBitmapWrapperWindow);
            var barGripL:IBitmapWrapperWindow = (this._-0xv.findChildByName("grapBarGripL") as IBitmapWrapperWindow);
            var barGripR:IBitmapWrapperWindow = (this._-0xv.findChildByName("grapBarGripR") as IBitmapWrapperWindow);
            var barHandle:IBitmapWrapperWindow = (this._-0xv.findChildByName("grapBarHandle") as IBitmapWrapperWindow);
            var gripMargin:int = 5;
            if (((!((barX == null))) && (!((barHandle == null)))))
            {
                barHandle.bitmap = this._-2mB;
                barHandle._-30Z = false;
                barX.bitmap = this._-2MX;
                barX._-30Z = false;
                this._-5-7 = (this._-0xv.width - barX.x);
            };
            barGripL.width = (barHandle.x - gripMargin);
            barGripL.x = 0;
            barGripR.x = ((barHandle.x + barHandle.width) + gripMargin);
            barGripR.width = ((barX.x - gripMargin) - barGripR.x);
            if (barGripL.width < 0)
            {
                barGripL.width = 0;
            };
            if (barGripR.width < 0)
            {
                barGripR.width = 0;
            };
            state = 0;
            if (((((!((barBg == null))) && (!((barGripL == null))))) && (!((barGripR == null)))))
            {
                try
                {
                    state = 1;
                    width = barBg.width;
                    height = barBg.height;
                    if ((((width > 0)) && ((height > 0))))
                    {
                        destBgBitmap = new _-4U6(this, width, height);
                        this._-41Q(this._-4ui, destBgBitmap);
                        barBg._-30Z = true;
                        barBg.bitmap = destBgBitmap;
                    };
                    state = 2;
                    width = barGripL.width;
                    height = barGripL.height;
                    if ((((width > 0)) && ((height > 0))))
                    {
                        destGripLBitmap = new _-4U6(this, width, height);
                        this._-41Q(this._-4XT, destGripLBitmap);
                        barGripL._-30Z = true;
                        barGripL.bitmap = destGripLBitmap;
                    };
                    state = 3;
                    width = barGripR.width;
                    height = barGripR.height;
                    if ((((width > 0)) && ((height > 0))))
                    {
                        destGripRBitmap = new _-4U6(this, width, height);
                        this._-41Q(this._-4XT, destGripRBitmap);
                        barGripR._-30Z = true;
                        barGripR.bitmap = destGripRBitmap;
                    };
                }
                catch(e:Error)
                {
                    throw (new Error(((((((e.message + " width:") + width) + " height:") + height) + " state:") + state), e.errorID));
                };
            };
            if (this._-1zk == null)
            {
                return;
            };
            this._-1zk.bitmap = this._-P6;
            this._-1zk._-30Z = false;
        }
        private function _-41Q(_arg1:BitmapData, _arg2:BitmapData):void
        {
            var k:int = (_arg2.width / _arg1.width);
            var k:Point = new Point();
            var k:int;
            while (k < (k + 1))
            {
                k.x = (k * _arg1.width);
                _arg2.copyPixels(_arg1, _arg1.rect, k);
                k++;
            };
        }
        private function _-17M(_arg1:WindowMouseEvent):void
        {
            if (this._-0dg != null)
            {
                this._-0dg._-17M(_arg1);
            };
        }
        private function _-1Wy(_arg1:WindowMouseEvent):void
        {
            if (this._-0dg != null)
            {
                this._-0dg._-31L(_arg1);
            };
        }
        private function _-2oo(_arg1:WindowMouseEvent):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            if (!this._-0xv.visible)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("GrapBarX") as IBitmapWrapperWindow);
            if (k != null)
            {
                k._-30Z = false;
                k.bitmap = this._-0th;
            };
        }
        private function _-2oC(_arg1:WindowMouseEvent):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            if (!this._-0xv.visible)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("GrapBarX") as IBitmapWrapperWindow);
            if (k != null)
            {
                k._-30Z = false;
                k.bitmap = this._-2MX;
            };
        }
        private function _-05Q(_arg1:WindowMouseEvent):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            if (!this._-0xv.visible)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("GrapBarX") as IBitmapWrapperWindow);
            if (k != null)
            {
                k._-30Z = false;
                k.bitmap = this._-3Sq;
            };
        }
        private function _-1mJ(_arg1:WindowMouseEvent):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            if (!this._-0xv.visible)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("GrapBarX") as IBitmapWrapperWindow);
            if (k != null)
            {
                k._-30Z = false;
                k.bitmap = this._-0th;
            };
        }

    }
}//package _-2VC

//------------------------------------------------------------
//_-2VC.RoomChatItem

package _-2VC
{
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-1ae.IRegionWindow;
    import _-295._-39L;
    import flash.display.BitmapData;
    import _-og._-2KU;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Rectangle;
    import _-2HX._-1HE;
    import flash.text.TextFormat;
    import _-1ae._-2aK;
    import _-1ae.ITextWindow;
    import _-3mW._-1IS;
    import _-0l8._-3iK;
    import _-09j.WindowParam;
    import _-2vN._-3hb;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-11j;

    public class RoomChatItem 
    {

        public static const _-0vu:Number = 18;
        private static const _-1Ne:int = 6;
        private static const _-1Mk:int = 6;
        private static const _-49i:int = 35;
        private static const _-3pE:int = 26;
        private static const _-0nO:String = "name";
        private static const MESSAGE:String = "message";
        private static const _-2-T:String = "pointer";
        private static const _-4j4:String = "background";
        private static const _-Rt:String = "${chat.history.drag.tooltip}";

        private var _-0dg:RoomChatWidget;
        private var _-U-:_-3Ts;
        private var _-3Pe:_-0hg;
        private var _-0xv:IRegionWindow;
        private var _-AV:_-39L;
        private var _-0Kq:String;
        private var _-42z:String;
        private var _-1wp:int = 0;
        private var _-21H:int = -1;
        private var _-2Jm:int;
        private var _-0YG:int;
        private var _-4OO:int;
        private var _-55R:String;
        private var _-2md:String;
        private var _-55U:Array;
        private var _-5F0:Array;
        private var _-1Jv:int;
        private var _-3cP:Number;
        private var _-0YT:BitmapData;
        private var _-2sz:uint;
        private var _-1Rt:int;
        private var _-0wA:int;
        private var _-4mT:int;
        private var _-2XJ:int;
        private var _-3nM:int;
        private var _-0Dz:Number = 0;
        private var _-4nw:Boolean = false;
        private var _-1Uc:Number = 0;
        private var _-2bU:Number = 0;
        private var _-2dX:Number = 0;
        private var _-4TA:Number = 0;
        private var _-1j0:Boolean = false;

        public function RoomChatItem(_arg1:RoomChatWidget, _arg2:_-3Ts, _arg3:_-39L, _arg4:String, _arg5:_-0hg, _arg6:String)
        {
            this._-55R = new String();
            this._-2md = new String();
            super();
            this._-0dg = _arg1;
            this._-U- = _arg2;
            this._-AV = _arg3;
            this._-0Kq = _arg4;
            this._-3Pe = _arg5;
            this._-42z = _arg6;
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
                this._-0dg = null;
                this._-U- = null;
                this._-3Pe = null;
                this._-0YT = null;
            };
        }
        public function _-2E(_arg1:_-2KU):void
        {
            this._-2Jm = _arg1._-54R;
            this._-0YG = _arg1.styleId;
            this._-4OO = _arg1.userId;
            this._-55R = _arg1.userName;
            this._-3nM = _arg1._-4aU;
            this._-2md = _arg1.text;
            this._-55U = _arg1.links;
            this._-3cP = _arg1._-1wD;
            this._-0YT = _arg1._-3jD;
            this._-2sz = _arg1._-21;
            this._-1Rt = _arg1.roomId;
            this._-0wA = _arg1.roomCategory;
            this._-4mT = _arg1._-5EQ;
            this._-2XJ = _arg1._-1pq;
            this._-3ug();
        }
        public function set message(_arg1:String):void
        {
            this._-2md = _arg1;
        }
        public function set _-Br(_arg1:String):void
        {
            this._-55R = _arg1;
        }
        public function set _-4BY(_arg1:BitmapData):void
        {
            this._-0YT = _arg1;
        }
        public function set _-04z(_arg1:uint):void
        {
            this._-2sz = _arg1;
        }
        public function set _-54R(_arg1:int):void
        {
            this._-2Jm = _arg1;
        }
        public function get view():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get screenLevel():int
        {
            return (this._-21H);
        }
        public function get timeStamp():int
        {
            return (this._-1Jv);
        }
        public function get _-1ns():Number
        {
            return (this._-3cP);
        }
        public function set _-1ns(_arg1:Number):void
        {
            this._-3cP = _arg1;
        }
        public function get width():Number
        {
            return (this._-0Dz);
        }
        public function get height():Number
        {
            return (_-0vu);
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function get aboveLevels():int
        {
            return (this._-1wp);
        }
        public function set aboveLevels(_arg1:int):void
        {
            this._-1wp = _arg1;
        }
        public function set screenLevel(_arg1:int):void
        {
            this._-21H = _arg1;
        }
        public function set timeStamp(_arg1:int):void
        {
            this._-1Jv = _arg1;
        }
        public function set x(_arg1:Number):void
        {
            this._-2dX = _arg1;
            if (this._-0xv != null)
            {
                this._-0xv.x = _arg1;
            };
        }
        public function set y(_arg1:Number):void
        {
            this._-4TA = _arg1;
            if (this._-0xv != null)
            {
                this._-0xv.y = ((_arg1 - this._-1Uc) + this._-2bU);
            };
        }
        public function _-4zG():void
        {
            var k:IWindow;
            if (this._-0xv)
            {
                k = this._-0xv.findChildByName("pointer");
                if (k)
                {
                    k.visible = false;
                };
            };
        }
        public function _-0SU(_arg1:Number):void
        {
            if (((!(this._-0xv)) || (this._-0xv.disposed)))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("pointer") as IBitmapWrapperWindow);
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("middle") as IBitmapWrapperWindow);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            k.visible = true;
            k = (_arg1 + (this._-0xv.width / 2));
            k = Math.min(k, (k.rectangle.right - k.width));
            k = Math.max(k, k.rectangle.left);
            k.x = k;
        }
        public function _-2EY(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean
        {
            var k:Rectangle = new Rectangle(this._-2dX, this._-4TA, this.width, _arg1);
            var k:Rectangle = new Rectangle(_arg2, _arg3, _arg4, _arg5);
            return (k.intersects(k));
        }
        public function _-1Ex():void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
            };
            this._-0xv = null;
            this._-4nw = false;
        }
        private function get _-4U3():Boolean
        {
            return ((this._-0YG == _-1HE._-4Hr));
        }
        public function _-3ug():void
        {
            var messageWidth:int;
            var userIconWindow:IBitmapWrapperWindow;
            var x1:int;
            var y1:int;
            var i:int;
            var lastLinkEndPos:int;
            var linkFormat:TextFormat;
            var filteredLink:String;
            var placeHolder:String;
            var placeholderPos:int;
            var linkPos:Array;
            if (this._-4nw)
            {
                return;
            };
            this._-4nw = true;
            if (this._-0xv)
            {
                return;
            };
            this._-0xv = RoomChatWidget._-4hx._-2NN(this._-0YG, this._-2Jm);
            if (!this._-0xv)
            {
                return;
            };
            this._-0xv._-5Z = true;
            var background:IBitmapWrapperWindow = (this._-0xv.findChildByName(_-4j4) as IBitmapWrapperWindow);
            var nameWindow:_-2aK = (this._-0xv.findChildByName(_-0nO) as _-2aK);
            var textWindow:ITextWindow = (this._-0xv.findChildByName(MESSAGE) as ITextWindow);
            var pointerWindow:IBitmapWrapperWindow = (this._-0xv.findChildByName(_-2-T) as IBitmapWrapperWindow);
            var totalHeight:Number = this._-0xv.height;
            var pointerBitmapData:BitmapData = RoomChatWidget._-4hx._-3St(this._-0YG);
            this._-2bU = background.y;
            var textWindowOffsetX:int = (((textWindow.x <= _-3pE)) ? 0 : (textWindow.x - _-3pE));
            if (this._-0YT != null)
            {
                this._-1Uc = Math.max(0, ((this._-0YT.height - background.height) / 2));
                totalHeight = Math.max(totalHeight, this._-0YT.height);
                totalHeight = Math.max(totalHeight, background.height);
            };
            this._-0Dz = 0;
            this._-0xv.x = this._-2dX;
            this._-0xv.y = this._-4TA;
            this._-0xv.width = 0;
            this._-0xv.height = totalHeight;
            this._-4hc();
            this._-5D9(this._-0xv);
            if (((this._-0YT) && (!(this._-4U3))))
            {
                userIconWindow = (this._-0xv.findChildByName("user_image") as IBitmapWrapperWindow);
                if (userIconWindow)
                {
                    userIconWindow.width = this._-0YT.width;
                    userIconWindow.height = this._-0YT.height;
                    userIconWindow.bitmap = this._-0YT;
                    userIconWindow._-30Z = false;
                    x1 = (userIconWindow.x - (this._-0YT.width / 2));
                    y1 = Math.max(0, ((background.height - this._-0YT.height) / 2));
                    if (this._-4mT == _-1IS._-2rN)
                    {
                        if (this._-2XJ == _-3iK._-3p6)
                        {
                            if (this._-0YT.height > background.height)
                            {
                                y1 = ((this._-0YT.height - background.height) / 2);
                            };
                        };
                    };
                    userIconWindow.x = x1;
                    userIconWindow.y = (userIconWindow.y + y1);
                    this._-0Dz = (this._-0Dz + (userIconWindow.x + this._-0YT.width));
                };
            };
            if (nameWindow != null)
            {
                if (!this._-4U3)
                {
                    nameWindow.text = (this._-55R + ": ");
                    nameWindow.y = (nameWindow.y + this._-1Uc);
                    nameWindow.width = (nameWindow.textWidth + _-1Ne);
                }
                else
                {
                    nameWindow.text = "";
                    nameWindow.width = 0;
                };
                this._-0Dz = (this._-0Dz + nameWindow.width);
            };
            if (this._-2Jm == _-2KU._-3e-)
            {
                textWindow.text = this._-3Pe.registerParameter("widgets.chatbubble.respect", "username", this._-55R);
                this._-0Dz = _-49i;
            }
            else
            {
                if (this._-2Jm == _-2KU._-Gx)
                {
                    textWindow.text = this._-3Pe.registerParameter("widget.chatbubble.petrespect", "petname", this._-55R);
                    this._-0Dz = _-49i;
                }
                else
                {
                    if (this._-2Jm == _-2KU._-2ZO)
                    {
                        textWindow.text = this._-3Pe.registerParameter("widget.chatbubble.pettreat", "petname", this._-55R);
                        this._-0Dz = _-49i;
                    }
                    else
                    {
                        if (this._-2Jm == _-2KU._-29a)
                        {
                            textWindow.text = this.message;
                            this._-0Dz = _-49i;
                        }
                        else
                        {
                            if (this._-2Jm == _-2KU._-Kf)
                            {
                                textWindow.text = this.message;
                                this._-0Dz = _-49i;
                            }
                            else
                            {
                                if (this._-2Jm == _-2KU._-003)
                                {
                                    textWindow.text = this.message;
                                    this._-0Dz = _-49i;
                                }
                                else
                                {
                                    if (this._-2Jm == _-2KU._-47K)
                                    {
                                        textWindow.text = this.message;
                                        this._-0Dz = _-49i;
                                    }
                                    else
                                    {
                                        if (this._-55U == null)
                                        {
                                            textWindow.text = this.message;
                                        }
                                        else
                                        {
                                            this._-5F0 = new Array();
                                            lastLinkEndPos = -1;
                                            i = 0;
                                            while (i < this._-55U.length)
                                            {
                                                filteredLink = this._-55U[i][1];
                                                placeHolder = (("{" + i) + "}");
                                                placeholderPos = this._-2md.indexOf(placeHolder);
                                                lastLinkEndPos = (placeholderPos + filteredLink.length);
                                                this._-5F0.push([placeholderPos, lastLinkEndPos]);
                                                this._-2md = this._-2md.replace(placeHolder, filteredLink);
                                                i = (i + 1);
                                            };
                                            textWindow.text = this.message;
                                            textWindow.immediateClickMode = true;
                                            textWindow.setParamFlag(WindowParam._-Cp, false);
                                            textWindow.setParamFlag(WindowParam._-2gg, true);
                                            linkFormat = textWindow.getTextFormat();
                                            switch (this._-0YG)
                                            {
                                                case _-1HE.BOT:
                                                    linkFormat.color = 0xDDDDDD;
                                                    break;
                                                default:
                                                    linkFormat.color = 2710438;
                                            };
                                            linkFormat.underline = true;
                                            i = 0;
                                            while (i < this._-5F0.length)
                                            {
                                                linkPos = this._-5F0[i];
                                                try
                                                {
                                                    textWindow.setTextFormat(linkFormat, linkPos[0], linkPos[1]);
                                                }
                                                catch(e:RangeError)
                                                {
                                                    _-Nb.log("Chat message links were malformed. Could not set TextFormat");
                                                };
                                                i = (i + 1);
                                            };
                                        };
                                    };
                                };
                            };
                        };
                    };
                };
            };
            if (textWindow.visible)
            {
                textWindow.x = (this._-0Dz + textWindowOffsetX);
                if (nameWindow != null)
                {
                    textWindow.x = (nameWindow.x + nameWindow.width);
                    if (nameWindow.width > _-1Ne)
                    {
                        textWindow.x = (textWindow.x - (_-1Ne - 1));
                    };
                };
                textWindow.y = (textWindow.y + this._-1Uc);
                messageWidth = textWindow.textWidth;
                textWindow.width = (messageWidth + _-1Mk);
                this._-0Dz = (this._-0Dz + textWindow.width);
            };
            if (((!((pointerWindow == null))) && (pointerWindow.visible)))
            {
                pointerWindow.bitmap = pointerBitmapData;
                pointerWindow._-30Z = false;
                pointerWindow.x = (this._-0Dz / 2);
                pointerWindow.y = (pointerWindow.y + this._-1Uc);
            };
            var textWidth:int = textWindow.width;
            if (nameWindow)
            {
                textWidth = (textWidth + nameWindow.width);
            };
            var bitmap:BitmapData = RoomChatWidget._-4hx._-0cs(this._-0YG, this._-2Jm, textWidth, background.height, this._-2sz);
            this._-0xv.width = bitmap.width;
            this._-0xv.y = (this._-0xv.y - this._-1Uc);
            this._-0xv.y = (this._-0xv.y + this._-2bU);
            this._-0Dz = this._-0xv.width;
            background.bitmap = bitmap;
            background.y = this._-1Uc;
        }
        public function _-4hc():void
        {
            this._-1j0 = true;
            this._-154();
        }
        public function _-nU():void
        {
            this._-1j0 = false;
            this._-154();
        }
        private function _-154():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv._-2QR = "";
            if (this._-0dg.isGameSession)
            {
                return;
            };
            if (this._-1j0)
            {
                this._-0xv._-2QR = _-Rt;
            };
            this._-0xv._-1e = 500;
        }
        private function _-5D9(_arg1:IWindowContainer):void
        {
            _arg1.setParamFlag(_-3hb._-0g6, true);
            _arg1.addEventListener(WindowMouseEvent._-90, this._-Pv);
            _arg1.addEventListener(WindowMouseEvent._-3Jy, this._-2fG);
            _arg1.addEventListener(WindowMouseEvent._-4ea, this._-1ll);
            _arg1.addEventListener(WindowMouseEvent._-4e2, this._-05C);
            _arg1.addEventListener(WindowMouseEvent._-02B, this._-3jg);
        }
        private function _-2cy(_arg1:int, _arg2:int):Boolean
        {
            var k:int;
            var k:ITextWindow = (this._-0xv.getChildByName(MESSAGE) as ITextWindow);
            var k:int = k.getCharIndexAtPoint((_arg1 - k.x), (_arg2 - k.y));
            if (k > -1)
            {
                k = 0;
                while (k < this._-5F0.length)
                {
                    if ((((k >= this._-5F0[k][0])) && ((k <= this._-5F0[k][1]))))
                    {
                        if (this._-55U[k][2] == 0)
                        {
                            _-11j._-41a(this._-55U[k][0]);
                        }
                        else
                        {
                            if (this._-55U[k][2] == 1)
                            {
                                _-11j._-0D8((this._-42z + this._-55U[k][0]), "habboMain");
                            }
                            else
                            {
                                _-11j._-0D8((this._-42z + this._-55U[k][0]));
                            };
                        };
                        return (true);
                    };
                    k++;
                };
            };
            return (false);
        }
        private function _-Pv(_arg1:WindowMouseEvent):void
        {
            if (((this._-55U) && ((this._-55U.length > 0))))
            {
                if (this._-2cy(_arg1.localX, _arg1.localY))
                {
                    return;
                };
            };
            this._-0dg._-Sa(this._-4OO, this._-55R, this._-3nM, this._-1Rt, this._-0wA, _arg1);
        }
        private function _-2fG(_arg1:WindowMouseEvent):void
        {
            this._-0dg._-2ec(this._-4OO, this._-3nM, this._-1Rt, this._-0wA, _arg1);
        }
        private function _-1ll(_arg1:WindowMouseEvent):void
        {
            this._-0dg._-18T(this._-4OO, this._-3nM, this._-1Rt, this._-0wA, _arg1);
        }
        private function _-05C(_arg1:WindowMouseEvent):void
        {
            this._-0dg._-1DP(this._-4OO, this._-3nM, this._-1Rt, this._-0wA, _arg1);
        }
        private function _-3jg(_arg1:WindowMouseEvent):void
        {
            this._-0dg._-4Vh();
        }
        public function get _-2hC():int
        {
            return (this._-0YG);
        }
        public function get _-1T2():Number
        {
            return (this._-2bU);
        }

    }
}//package _-2VC

//------------------------------------------------------------
//_-2VC.RoomChatWidget

package _-2VC
{
    import _-FP._-2ul;
    import _-07u.ChatBubbleFactory;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import flash.geom.Point;
    import _-1B-._-Px;
    import _-4Wu._-4uR;
    import _-4f7.ChatWidgetHandler;
    import _-1ae.IDesktopWindow;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-Ew.IWindow;
    import flash.utils.getTimer;
    import _-og._-2KU;
    import _-og._-50A;
    import flash.events.IEventDispatcher;
    import _-0y0._-AY;
    import flash.display.BitmapData;
    import _-1FD._-1m0;
    import _-1FD._-2bY;
    import _-0Ie.WindowMouseEvent;
    import _-1B-.*;

    public class RoomChatWidget extends _-2ul implements _-0gI 
    {

        private static const _-3M1:int = 19;
        private static const _-4wZ:int = 10;
        private static const _-yY:int = 20;
        private static const _-2WI:int = 32;
        private static const _-86:int = 25;
        private static const _-1Zw:int = 4000;
        private static const _-3nY:int = 6000;
        private static const _-5Dj:int = 3;
        private static const _-4kt:int = 1;
        private static const _-4Qa:int = 8;
        private static const _-2B0:int = 10;
        private static const _-2sX:int = 12;
        private static const _-485:int = 0;
        private static const _-55u:int = (((_-4Qa + _-485) * _-3M1) + _-3M1);//171
        private static const _-3cN:int = (((_-2B0 + _-485) * _-3M1) + _-3M1);//209
        private static const _-0p9:int = (((_-2sX + _-485) * _-3M1) + _-3M1);//247
        private static const _-56r:int = 23;
        private static const _-yP:int = 40;
        private static const _-38G:uint = 1;
        private static const _-0XP:int = 750;
        private static const _-1-n:int = 1000;

        private static var _-3-h:ChatBubbleFactory = null;

        private var _-eF:int = 0;
        private var _-3GA:int = 0;
        private var _-257:IWindowContainer;
        private var _-1vE:IItemListWindow;
        private var _-3gC:IWindowContainer;
        private var _-4xX:Array;
        private var _-0ek:Array;
        private var _-2F9:Array;
        private var _-Az:int;
        private var _-fq:int = 0;
        private var _-3A:Number = 1;
        private var _-1sH:String;
        private var _-YU:Number = 1;
        private var _-1qh:Number = 0;
        private var _-K1:Point;
        private var _-0yg:_-46Q;
        private var _-4on:Boolean = false;
        private var _-45E:Boolean = false;
        private var _-3Gv:_-Px = null;
        private var _-0Xx:_-4uR;
        private var _-2Es:int = 150;
        private var _-2vt:int;
        private var _-1Nv:int = 19;
        private var _-3As:int = 100;
        private var _-55s:int = 195;
        private var _-3Ph:int;
        private var _-3ue:int;

        public function RoomChatWidget(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-4uR, _arg6:int, _arg7:_-Px)
        {
            this._-4xX = new Array();
            this._-0ek = new Array();
            this._-2F9 = new Array();
            this._-K1 = new Point();
            super(_arg1, _arg2, _arg3, _arg4);
            (_arg1 as ChatWidgetHandler).widget = this;
            this._-0Xx = _arg5;
            this._-Az = _arg6;
            var k:IDesktopWindow = _arg2.getDesktop(_-38G);
            if (k.height >= _-1-n)
            {
                this._-3Ph = _-0p9;
                this._-3ue = _-2sX;
                _-Nb.log("Hi-res chat desktop selected");
            }
            else
            {
                if (k.height >= _-0XP)
                {
                    this._-3Ph = _-3cN;
                    this._-3ue = _-2B0;
                    _-Nb.log("Mid-res chat desktop selected");
                }
                else
                {
                    this._-3Ph = _-55u;
                    this._-3ue = _-2sX;
                    _-Nb.log("Lo-res chat desktop selected");
                };
            };
            this._-2vt = (this._-3Ph + _-56r);
            this._-257 = (_arg2.createWindow("chat_container", "", _-4Pi._-0Dc, _-29z._-3dr, _-3hb.NULL, new Rectangle(0, 0, 200, (this._-2vt + _-uK._-1TC)), null, 0) as IWindowContainer);
            this._-257.background = true;
            this._-257.color = 33554431;
            this._-257.tags.push("room_widget_chat");
            this._-1vE = (_arg2.createWindow("chat_contentlist", "", _-4Pi._-4bA, _-29z.NULL, (_-3hb._-2rR | _-3hb._-0ZC), new Rectangle(0, 0, 200, this._-2vt), null, 0) as IItemListWindow);
            this._-1vE._-4XB = true;
            this._-257.addChild(this._-1vE);
            this._-3gC = (_arg2.createWindow("chat_active_content", "", _-4Pi._-0Dc, _-29z.NULL, _-3hb._-2rR, new Rectangle(0, 0, 200, this._-2vt), null, 0) as IWindowContainer);
            this._-3gC.clipping = false;
            this._-1vE.addListItem(this._-3gC);
            this._-0yg = new _-46Q(this, _arg2, this._-257, _arg3);
            this._-1sH = _arg5.getKey("site.url");
            this._-2Es = int(_arg5.getKey("chat.history.item.max.count", "150"));
            var k:Boolean = ((_arg5.getBoolean("chat.history.disabled", false)) || (this.isGameSession));
            if (this._-0yg != null)
            {
                this._-0yg.disabled = k;
            };
            if (_arg7 != null)
            {
                this._-3Gv = _arg7;
                this._-3Gv.registerUpdateReceiver(this, 1);
            };
            if (!_-3-h)
            {
                _-3-h = new ChatBubbleFactory(_arg3, _arg2, XML(_assets.getAssetByName("roomchat_styles_chatstyles_xml").content));
            };
        }
        public static function get _-4hx():ChatBubbleFactory
        {
            return (_-3-h);
        }

        override public function get mainWindow():IWindow
        {
            return (this._-257);
        }
        public function get config():_-4uR
        {
            return (this._-0Xx);
        }
        public function get handler():ChatWidgetHandler
        {
            return ((_-0nf as ChatWidgetHandler));
        }
        override public function dispose():void
        {
            var k:RoomChatItem;
            var k:int;
            if (disposed)
            {
                return;
            };
            while (this._-2F9.length > 0)
            {
                k = this._-2F9.shift();
            };
            this._-0yg.dispose();
            this._-0yg = null;
            while (this._-4xX.length > 0)
            {
                k = this._-4xX.shift();
                k.dispose();
            };
            while (this._-0ek.length > 0)
            {
                k = this._-0ek.shift();
                k.dispose();
            };
            this._-257.dispose();
            if (this._-3Gv != null)
            {
                this._-3Gv.removeUpdateReceiver(this);
                this._-3Gv = null;
            };
            super.dispose();
        }
        public function update(_arg1:uint):void
        {
            var k:int;
            if ((((getTimer() > this._-eF)) && ((this._-eF > 0))))
            {
                this._-eF = -1;
                this._-2Sl();
            };
            if (this._-4on)
            {
                k = ((_arg1 / _-86) * _-5Dj);
                if ((k + this._-3GA) > this._-1Nv)
                {
                    k = (this._-1Nv - this._-3GA);
                };
                if (k > 0)
                {
                    this._-08L(k);
                    this._-3GA = (this._-3GA + k);
                };
                if (this._-3GA >= this._-1Nv)
                {
                    this._-1Nv = _-3M1;
                    this._-3GA = 0;
                    this._-BM();
                    this._-2lj();
                    this._-eF = (getTimer() + _-1Zw);
                };
            };
            if (this._-0yg != null)
            {
                this._-0yg.update(_arg1);
            };
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-2KU._-1Sl, this._-4vN);
            _arg1.addEventListener(_-50A._-4OE, this._-53u);
            _arg1.addEventListener(_-50A._-4At, this._-53u);
            _arg1.addEventListener(_-50A._-bZ, this._-53u);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-2KU._-1Sl, this._-4vN);
            _arg1.removeEventListener(_-50A._-4OE, this._-53u);
            _arg1.removeEventListener(_-50A._-4At, this._-53u);
            _arg1.removeEventListener(_-50A._-bZ, this._-53u);
        }
        private function _-4vN(_arg1:_-2KU):void
        {
            if (((_-AY._-4Bs()) && (!((_arg1._-54R == _-2KU._-cB)))))
            {
                return;
            };
            var k:RoomChatItem = new RoomChatItem(this, windowManager, assets, this._-UM(), localizations, this._-1sH);
            k._-2E(_arg1);
            this._-0Ve(k);
        }
        public function _-27F(_arg1:String, _arg2:String, _arg3:int, _arg4:BitmapData, _arg5:uint, _arg6:Boolean):void
        {
            var k:RoomChatItem = new RoomChatItem(this, windowManager, assets, this._-UM(), localizations, this._-1sH);
            k.message = _arg1;
            k._-Br = _arg2;
            k._-1ns = _arg3;
            k._-4BY = _arg4;
            k._-04z = _arg5;
            if (_arg6)
            {
                k._-54R = _-2KU._-47K;
            };
            k._-3ug();
            this._-0Ve(k);
        }
        private function _-0Ve(_arg1:RoomChatItem):void
        {
            if (this._-YU != 1)
            {
                _arg1._-1ns = (_arg1._-1ns / this._-YU);
            };
            _arg1._-1ns = (_arg1._-1ns - this._-K1.x);
            this._-2K1(_arg1);
            this._-0ek.push(_arg1);
            this._-2lj();
        }
        private function _-53u(_arg1:_-50A):void
        {
            var k:Rectangle = _arg1.rect;
            if (_arg1.scale > 0)
            {
                if (this._-1qh == 0)
                {
                    this._-1qh = _arg1.scale;
                }
                else
                {
                    this._-YU = (_arg1.scale / this._-1qh);
                };
            };
            if (_arg1._-kf != null)
            {
                this._-K1.x = (this._-K1.x + (_arg1._-kf.x / this._-YU));
                this._-K1.y = (this._-K1.y + (_arg1._-kf.y / this._-YU));
            };
            if (_arg1.rect != null)
            {
                if (this._-0yg == null)
                {
                    return;
                };
                this._-257.width = k.width;
                this._-257.height = (this._-2vt + this._-0yg._-4zl);
                this._-1vE.width = (this._-257.width - this._-0yg._-0QN);
                this._-1vE.height = this._-2vt;
                this._-1vE.x = this._-257.x;
                this._-1vE.y = this._-257.y;
                this._-3gC.width = (this._-257.width - this._-0yg._-0QN);
                this._-3gC.height = this._-2vt;
                if (this._-1e6())
                {
                    this._-5Al();
                };
                this._-0yg._-3cA(this._-257.rectangle, true);
            };
            this._-0NH();
        }
        private function _-2lj():void
        {
            if (this._-4on)
            {
                return;
            };
            if (this._-0ek.length == 0)
            {
                return;
            };
            while ((((this._-0ek.length > _-4kt)) || (((this._-1e6()) && ((this._-0ek.length > 0))))))
            {
                this._-2iq();
            };
            var k:Boolean;
            if (this._-4xX.length == 0)
            {
                k = true;
            }
            else
            {
                k = this._-2xS(this._-0ek[0]);
            };
            if (k)
            {
                this._-2iq();
                this._-eF = (getTimer() + _-1Zw);
            }
            else
            {
                if ((((this._-4xX.length > 0)) && ((this._-0ek.length > 0))))
                {
                    this._-1Nv = this._-oP(this._-4xX[(this._-4xX.length - 1)], this._-0ek[0]);
                }
                else
                {
                    this._-1Nv = _-3M1;
                };
                this._-2Sl();
            };
        }
        private function _-2iq():void
        {
            var k:RoomChatItem;
            var k:IWindowContainer;
            var k:int;
            if (this._-0ek.length == 0)
            {
                return;
            };
            if (this._-4he())
            {
                this._-0rY();
                this._-4Mf();
            };
            if (!this._-2xS(this._-0ek[0]))
            {
                this._-3JD();
                this._-08L(this._-oP(this._-4xX[(this._-4xX.length - 1)], this._-0ek[0]));
                if (!this._-2xS(this._-0ek[0]))
                {
                    this._-3gC.height = (this._-3gC.height + _-3M1);
                    if (this._-0yg != null)
                    {
                        this._-0yg._-3cA(this._-257.rectangle);
                    };
                };
            };
            k = this._-0ek.shift();
            if (k != null)
            {
                k._-3ug();
                k = k.view;
                if (k != null)
                {
                    this._-3gC.addChild(k);
                    k.timeStamp = new Date().time;
                    this._-4xX.push(k);
                    k = 0;
                    if (this._-4xX.length > 1)
                    {
                        k = this._-4xX[(this._-4xX.length - 2)].screenLevel;
                        if (this._-1e6())
                        {
                            k.screenLevel = (k + 1);
                        }
                        else
                        {
                            k.screenLevel = (k + Math.max(this._-3A, 1));
                        };
                    }
                    else
                    {
                        k.screenLevel = 100;
                    };
                    k.aboveLevels = this._-3A;
                    if (k.aboveLevels > ((this._-3ue + _-485) + 2))
                    {
                        k.aboveLevels = ((this._-3ue + _-485) + 2);
                    };
                    this._-3A = 0;
                    this._-2K1(k);
                    this._-4hT(k);
                    this._-0xp(k);
                };
            };
        }
        private function _-2xS(_arg1:RoomChatItem):Boolean
        {
            if (this._-4xX.length == 0)
            {
                return (true);
            };
            var k:RoomChatItem = this._-4xX[(this._-4xX.length - 1)];
            if ((((_arg1 == null)) || ((k == null))))
            {
                return (false);
            };
            if (k.view == null)
            {
                return (true);
            };
            if (((this._-3gC.bottom - ((this._-3gC.y + k.y) + k.height)) - _-56r) <= this._-oP(k, _arg1))
            {
                return (false);
            };
            return (true);
        }
        public function _-0NH():void
        {
            var k:int;
            var k:RoomChatItem;
            var k:IWindowContainer;
            if (this._-0yg == null)
            {
                return;
            };
            k = (this._-4xX.length - 1);
            while (k >= 0)
            {
                k = this._-4xX[k];
                if (k != null)
                {
                    this._-2K1(k);
                    this._-4hT(k);
                };
                k--;
            };
            k = 0;
            while (k < this._-4xX.length)
            {
                k = this._-4xX[k];
                if (k != null)
                {
                    this._-0xp(k);
                };
                k++;
            };
            k = 0;
            while (k < this._-0ek.length)
            {
                k = this._-0ek[k];
                if (k != null)
                {
                    this._-2K1(k);
                };
                k++;
            };
        }
        private function _-2Sl():void
        {
            if (this._-4on)
            {
                return;
            };
            this._-3JD();
            this._-4on = true;
        }
        private function _-BM():void
        {
            this._-4on = false;
        }
        private function _-3JD():void
        {
            var k:RoomChatItem;
            if (this._-4on)
            {
                return;
            };
            this._-5E();
            this._-2F9 = new Array();
            var k:int = new Date().time;
            var k:int;
            if (this._-4xX.length == 0)
            {
                this._-3A = 1;
                return;
            };
            if (this._-1e6())
            {
                return;
            };
            this._-3A++;
            var k:int = (this._-4xX.length - 1);
            while (k >= 0)
            {
                k = this._-4xX[k];
                if (k.view != null)
                {
                    if ((((((k.screenLevel > _-485)) || ((k.screenLevel == (k - 1))))) || (((k - k.timeStamp) >= _-3nY))))
                    {
                        k.timeStamp = k;
                        k = k.screenLevel;
                        k.screenLevel--;
                        this._-2F9.push(k);
                    };
                };
                k--;
            };
        }
        private function _-08L(_arg1:int):void
        {
            var k:Boolean;
            if (this._-2F9 == null)
            {
                return;
            };
            if (this._-2F9.length == 0)
            {
                return;
            };
            var k:RoomChatItem;
            var k:int = -1;
            var k:int = (this._-2F9.length - 1);
            while (k >= 0)
            {
                k = this._-2F9[k];
                if (k != null)
                {
                    if (k == -1)
                    {
                        k = this._-4xX.indexOf(k);
                    }
                    else
                    {
                        k++;
                    };
                    k = true;
                    if (this._-1e6())
                    {
                        if (((k.y - _arg1) + k.height) < 0)
                        {
                            k = false;
                        };
                    };
                    if (k > 0)
                    {
                        if (this._-4xX[(k - 1)].view != null)
                        {
                            if (((k.y - _arg1) - this._-4xX[(k - 1)].y) < this._-oP(this._-4xX[(k - 1)], k))
                            {
                                k = false;
                            };
                        };
                    };
                    if (k)
                    {
                        k.y = (k.y - _arg1);
                    };
                };
                k--;
            };
        }
        private function _-2K1(_arg1:RoomChatItem):void
        {
            var k:Number;
            var k:Number;
            if ((((_arg1 == null)) || ((this._-0yg == null))))
            {
                return;
            };
            var k:Number = ((_arg1._-1ns + this._-K1.x) * this._-YU);
            var k:Number = (k - (_arg1.width / 2));
            var k:Number = (k + _arg1.width);
            var k:Number = (((-(this._-257.width) / 2) - _-yY) + this._-3As);
            var k:Number = ((((this._-257.width / 2) + _-yY) - this._-0yg._-0QN) - this._-55s);
            var k:Boolean = (((k >= k)) && ((k <= k)));
            var k:Boolean = (((k >= k)) && ((k <= k)));
            if (((k) && (k)))
            {
            }
            else
            {
                if (k >= 0)
                {
                    k = (k - _arg1.width);
                }
                else
                {
                };
            };
            _arg1.x = ((k + (this._-257.width / 2)) + this._-257.x);
            if ((((k < k)) || ((k > k))))
            {
                _arg1._-4zG();
            }
            else
            {
                _arg1._-0SU((k - k));
            };
        }
        private function _-4hT(_arg1:RoomChatItem):void
        {
            var k:int;
            var k:Number;
            var _local4:Number;
            if (_arg1 != null)
            {
                k = this._-4xX.indexOf(_arg1);
                k = ((this._-1e6()) ? 0 : this._-3A);
                if (k == (this._-4xX.length - 1))
                {
                    _arg1.y = ((this._-3Gj() - ((k + 1) * _-3M1)) - _-56r);
                }
                else
                {
                    _local4 = this._-4xX[(k + 1)].aboveLevels;
                    if (_local4 < 2)
                    {
                        _arg1.y = (this._-4xX[(k + 1)].y - this._-oP(_arg1, this._-4xX[(k + 1)]));
                    }
                    else
                    {
                        _arg1.y = (this._-4xX[(k + 1)].y - (_local4 * _-3M1));
                    };
                };
            };
        }
        private function _-0xp(_arg1:RoomChatItem):void
        {
            if (_arg1 != null)
            {
                if (_arg1.y < -(_-2WI))
                {
                    if (_arg1.view != null)
                    {
                        this._-3gC.removeChild(_arg1.view);
                        _arg1._-1Ex();
                    };
                }
                else
                {
                    if (_arg1.view == null)
                    {
                        _arg1._-3ug();
                        if (_arg1.view != null)
                        {
                            this._-3gC.addChild(_arg1.view);
                        };
                    };
                };
            };
        }
        public function _-0Sb():int
        {
            var k:RoomChatItem;
            var k:int;
            var k:int;
            while (k < this._-4xX.length)
            {
                k = this._-4xX[k];
                if (k != null)
                {
                    if (k == 0)
                    {
                        k = (k + _-3M1);
                    }
                    else
                    {
                        k = (k + this._-oP(this._-4xX[(k - 1)], k));
                    };
                    k = (k + ((k.aboveLevels - 1) * _-3M1));
                };
                k++;
            };
            return (k);
        }
        private function _-3Gj():Number
        {
            if (this._-1e6())
            {
                return (this._-3gC.height);
            };
            return ((this._-2vt + this._-257.y));
        }
        private function _-oP(_arg1:RoomChatItem, _arg2:RoomChatItem):Number
        {
            var k:int = _-4hx._-2Yp(_arg1._-2hC);
            if (_arg1._-2EY(k, _arg2.x, _arg1.y, _arg2.width, _arg2.height))
            {
                return (_-3M1);
            };
            return (_-4wZ);
        }
        private function _-5E():void
        {
            var k:RoomChatItem;
            if (this._-1e6())
            {
                return;
            };
            var k:int;
            var k:int;
            while (this._-4xX.length > this._-2Es)
            {
                k = this._-4xX.shift();
                k = this._-2F9.indexOf(k);
                if (k > -1)
                {
                    this._-2F9.splice(k, 1);
                };
                if (k.view != null)
                {
                    this._-3gC.removeChild(k.view);
                    k._-1Ex();
                };
                k.dispose();
                k = null;
            };
            var k:Boolean;
            k = 0;
            while (k < this._-4xX.length)
            {
                k = this._-4xX[k];
                if (k != null)
                {
                    if (k.y <= -(_-2WI))
                    {
                        k.aboveLevels = 1;
                        if (k.view != null)
                        {
                            k = this._-2F9.indexOf(k);
                            if (k > -1)
                            {
                                this._-2F9.splice(k, 1);
                            };
                            this._-3gC.removeChild(k.view);
                            k._-1Ex();
                        };
                    }
                    else
                    {
                        k = true;
                        break;
                    };
                };
                k++;
            };
            if (this._-0ek.length > 0)
            {
                k = true;
            };
            if ((((((this._-0Sb() > _-3M1)) && (!(k)))) && (!(this._-1e6()))))
            {
                if (this._-0yg != null)
                {
                    this._-11G(this._-257.y);
                    this._-0NH();
                    if (!this._-1e6())
                    {
                        this._-0yg._-0zT();
                    };
                    if (!this._-1xz())
                    {
                        this._-0yg.visible = true;
                    };
                };
            }
            else
            {
                if (this._-1xz())
                {
                    this._-0yg.visible = false;
                };
            };
        }
        private function _-UM():String
        {
            return (((("chat_" + this._-Az.toString()) + "_item_") + this._-fq++.toString()));
        }
        public function _-Sa(_arg1:int, _arg2:String, _arg3:int, _arg4:int, _arg5:int, _arg6:WindowMouseEvent):void
        {
            if (_arg6.shiftKey)
            {
                if (this._-0yg != null)
                {
                    this._-0yg._-kS();
                };
                return;
            };
            var k:_-1m0 = new _-1m0(_-1m0._-q2, _arg1, _arg3);
            messageListener.processWidgetMessage(k);
            var k:_-2bY = new _-2bY(_-2bY._-U6, _arg1, _arg2, _arg4, _arg5);
            messageListener.processWidgetMessage(k);
        }
        public function _-2ec(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:WindowMouseEvent):void
        {
            if (this._-1xz())
            {
                return;
            };
            if (this._-0yg != null)
            {
                this._-0yg._-3ef(_arg5.stageY, true);
            };
        }
        public function _-18T(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:WindowMouseEvent):void
        {
        }
        public function _-1DP(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:WindowMouseEvent):void
        {
        }
        public function _-17M(_arg1:WindowMouseEvent):void
        {
            if (this._-0yg != null)
            {
                this._-0yg._-3ef(_arg1.stageY, true);
            };
        }
        public function _-31L(_arg1:WindowMouseEvent):void
        {
            if (this._-0yg != null)
            {
                this._-0yg._-4Mf();
            };
        }
        public function _-2gX(_arg1:Number):void
        {
            var k:Number = ((this._-257.bottom + _arg1) - _-uK._-1TC);
            this._-11G(k);
        }
        public function _-11G(_arg1:Number):void
        {
            var k:int = ((this._-257.context.getDesktopWindow().height - _-uK._-1TC) - _-yP);
            k = Math.min(_arg1, k);
            this._-2vt = (k - this._-257.y);
            this._-257.height = (this._-2vt + _-uK._-1TC);
            if (this._-0yg != null)
            {
                this._-0yg._-3cA(this._-257.rectangle);
            };
        }
        public function _-0rY(_arg1:Boolean=true):void
        {
            if (this._-0yg == null)
            {
                return;
            };
            this._-BM();
            this._-2vt = (this._-3Ph + _-56r);
            this._-257.height = (this._-2vt + this._-0yg._-4zl);
            this._-1vE.width = (this._-257.width - this._-0yg._-0QN);
            this._-1vE.height = this._-2vt;
            this._-3gC.width = (this._-257.width - this._-0yg._-0QN);
            if (this._-1e6())
            {
                this._-3gC.height = (this._-0Sb() + _-56r);
            }
            else
            {
                this._-3gC.height = this._-2vt;
            };
            this._-1vE.scrollV = 1;
            if (!this._-1e6())
            {
                this._-0yg._-3cA(this._-257.rectangle);
            };
            this._-5E();
            if (((this._-1e6()) || (_arg1)))
            {
                this._-0NH();
            };
        }
        private function _-1e6():Boolean
        {
            return ((((this._-0yg)==null) ? false : this._-0yg.active));
        }
        private function _-1xz():Boolean
        {
            return ((((this._-0yg)==null) ? false : this._-0yg.visible));
        }
        public function _-4Mf():void
        {
            if (this._-0yg != null)
            {
                this._-0yg._-4Mf();
            };
        }
        private function _-4he():Boolean
        {
            return ((this._-1vE.height <= 1));
        }
        public function _-0kW():void
        {
            var k:RoomChatItem;
            var k:int;
            var k:int;
            while (k < this._-4xX.length)
            {
                k = this._-4xX[k];
                if (k.y > k)
                {
                    k = k.y;
                };
                k++;
            };
            k = 0;
            while (k < this._-0ek.length)
            {
                k = this._-0ek[k];
                if (k.y > k)
                {
                    k = k.y;
                };
                k++;
            };
            k = (k + _-2WI);
            k = (((k < 0)) ? 0 : k);
            var k:int = this._-257.bottom;
            this._-11G((this._-257.top + k));
            k = (k - this._-257.bottom);
            if (Math.abs(k) < _-46Q._-4iC)
            {
                this._-0rY();
                return;
            };
            k = 0;
            while (k < this._-4xX.length)
            {
                k = this._-4xX[k];
                k.y = (k.y + k);
                k++;
            };
            k = 0;
            while (k < this._-0ek.length)
            {
                k = this._-0ek[k];
                k.y = (k.y + k);
                k++;
            };
            this._-45E = true;
        }
        public function _-4Vh():void
        {
            this._-1vE._-4Wt();
            var k:Number = (this._-257.bottom - _-uK._-1TC);
            if (k < this._-3Ph)
            {
                if (k <= (this._-2vt + this._-257.y))
                {
                    if (this._-1e6())
                    {
                        this._-4Mf();
                    };
                    this._-0rY();
                    return;
                };
            };
            if (((this._-45E) && (!(this._-1e6()))))
            {
                this._-0rY();
                this._-45E = false;
            };
        }
        public function _-5Al():void
        {
            if (this._-1e6())
            {
                this._-3gC.height = (this._-0Sb() + _-56r);
                this._-0NH();
            };
        }
        public function _-29L():void
        {
            var k:int;
            var k:RoomChatItem;
            k = 0;
            while (k < this._-4xX.length)
            {
                k = this._-4xX[k];
                k._-4hc();
                k++;
            };
            k = 0;
            while (k < this._-0ek.length)
            {
                k = this._-0ek[k];
                k._-4hc();
                k++;
            };
        }
        public function _-30s():void
        {
            var k:int;
            var k:RoomChatItem;
            k = 0;
            while (k < this._-4xX.length)
            {
                k = this._-4xX[k];
                k._-nU();
                k++;
            };
            k = 0;
            while (k < this._-0ek.length)
            {
                k = this._-0ek[k];
                k._-nU();
                k++;
            };
        }
        public function get isGameSession():Boolean
        {
            return (this.handler.container.roomSession.isGameSession);
        }
        public function _-1UX(_arg1:RoomChatItem):void
        {
            var k:int;
            k = this._-4xX.indexOf(_arg1);
            if (k > -1)
            {
                this._-4xX.splice(k, 1);
            };
            k = this._-2F9.indexOf(_arg1);
            if (k > -1)
            {
                this._-2F9.splice(k, 1);
            };
            if (_arg1.view != null)
            {
                this._-3gC.removeChild(_arg1.view);
                _arg1._-1Ex();
            };
            _arg1.dispose();
            this._-0rY(false);
        }

    }
}//package _-2VC

//------------------------------------------------------------
//_-2vK.UserDefinedRoomEventsHelp

package _-2vK
{
    import _-0jG._-5i;
    import _-Ew.IWindowContainer;
    import _-1ae.IFrameWindow;
    import _-1ae.IContainerButtonWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-uF.ILocalization;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;

    public class UserDefinedRoomEventsHelp 
    {

        private var _-07:_-5i;
        private var _-1ug:IWindowContainer;
        private var _-0xv:IFrameWindow;
        private var _-Ke:IWindowContainer;
        private var _-4Pr:int = 0;
        private var _-3Pe:Array;
        private var _-4-F:IContainerButtonWindow;
        private var _-50Q:IContainerButtonWindow;

        public function UserDefinedRoomEventsHelp(_arg1:_-5i)
        {
            this._-07 = _arg1;
        }
        public function dispose():void
        {
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-47P();
            this._-0xv = IFrameWindow(this._-07.getXmlWindow("ude_help"));
            this._-1ug = IWindowContainer(this.find(this._-0xv, "help_container"));
            this._-50Q = (this._-1ug.findChildByName("button_previous") as IContainerButtonWindow);
            if (this._-50Q)
            {
                this._-50Q.procedure = this._-4Y8;
            };
            this._-4-F = (this._-1ug.findChildByName("button_next") as IContainerButtonWindow);
            if (this._-4-F)
            {
                this._-4-F.procedure = this._-4Y8;
            };
            var k:IWindow = this._-0xv.findChildByTag("close");
            k.procedure = this._-lf;
            this._-0xv.center();
        }
        public function open(_arg1:int=-1, _arg2:int=-1):void
        {
            this._-eN();
            this._-0Wn();
            this._-0xv.visible = true;
            if (_arg1 >= 0)
            {
                this._-0xv.x = _arg1;
            };
            if (_arg2 >= 0)
            {
                this._-0xv.y = _arg2;
            };
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
            };
        }
        public function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        private function find(_arg1:IWindowContainer, _arg2:String):IWindow
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            if (k == null)
            {
                throw (new Error((("Window element with name: " + _arg2) + " cannot be found!")));
            };
            return (k);
        }
        public function _-4NB():void
        {
            this._-0xv.visible = !(this._-0xv.visible);
        }
        private function _-0Wn():void
        {
            this._-0O6();
            this._-0wX();
        }
        private function _-0wX():void
        {
            if (this._-4Pr >= (this._-3Pe.length - 1))
            {
                this._-4-F.disable();
            }
            else
            {
                this._-4-F.enable();
            };
            if (this._-4Pr <= 0)
            {
                this._-50Q.disable();
            }
            else
            {
                this._-50Q.enable();
            };
        }
        private function _-3e6():void
        {
            this._-4Pr++;
            this._-4Pr = Math.min(this._-4Pr, (this._-3Pe.length - 1));
            this._-0Wn();
        }
        private function _-0Z6():void
        {
            this._-4Pr--;
            this._-4Pr = Math.max(this._-4Pr, 0);
            this._-0Wn();
        }
        private function _-47P():void
        {
            var k:ILocalization;
            var k:ILocalization;
            var k:ILocalization;
            this._-3Pe = [];
            var k:int = 1;
            while (this._-07.localization.getLocalization((("wiredfurni.help." + k) + ".title")))
            {
                k = this._-07.localization.getLocalization((("wiredfurni.help." + k) + ".title"));
                k = this._-07.localization.getLocalization((("wiredfurni.help." + k) + ".img"));
                k = this._-07.localization.getLocalization((("wiredfurni.help." + k) + ".text"));
                this._-3Pe.push([k, k, k]);
                k++;
            };
        }
        private function _-4Y8(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "button_previous":
                        this._-0Z6();
                        return;
                    case "button_next":
                        this._-3e6();
                        return;
                };
            };
        }
        private function _-0O6():void
        {
            var k:String;
            var k:ITextWindow = (this.find(this._-0xv, "help_title") as ITextWindow);
            var k:ITextWindow = (this.find(this._-0xv, "help_text") as ITextWindow);
            var k:IBitmapWrapperWindow = (this.find(this._-0xv, "help_image") as IBitmapWrapperWindow);
            if (((!(this._-3Pe)) || ((this._-3Pe.length == 0))))
            {
                return;
            };
            if (k)
            {
                k.text = ILocalization(this._-3Pe[this._-4Pr][0]).value;
            };
            if (k)
            {
                k.text = ILocalization(this._-3Pe[this._-4Pr][2]).value;
            };
            if (k)
            {
                k = ILocalization(this._-3Pe[this._-4Pr][1]).value;
                this._-1pO(k);
            };
        }
        private function _-qb(_arg1:IBitmapWrapperWindow, _arg2:BitmapData):void
        {
            if (_arg2 == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1.disposed)
            {
                return;
            };
            var k:int = ((_arg1.width - _arg2.width) / 2);
            var k:int = ((_arg1.height - _arg2.height) / 2);
            if (_arg1.bitmap == null)
            {
                _arg1.bitmap = new BitmapData(_arg1.width, _arg1.height, true, 0xFFFFFF);
            };
            _arg1.bitmap.fillRect(_arg1.bitmap.rect, 0xFFFFFF);
            _arg1.bitmap.copyPixels(_arg2, _arg2.rect, new Point(k, k), null, null, false);
            _arg1.invalidate();
        }
        private function _-1pO(_arg1:String):void
        {
            if (((((!(_arg1)) || (!(this._-07)))) || (!(this._-07.assets))))
            {
                return;
            };
            var k:BitmapDataAsset = (this._-07.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k == null)
            {
                this._-4Jr(_arg1);
                return;
            };
            var k:IBitmapWrapperWindow = (this.find(this._-0xv, "help_image") as IBitmapWrapperWindow);
            if (k)
            {
                this._-qb(k, (k.content as BitmapData));
            };
        }
        private function _-4Jr(_arg1:String):void
        {
            if (((((!(_arg1)) || (!(this._-07)))) || (!(this._-07.assets))))
            {
                return;
            };
            var k:String = this._-07.configuration.getKey("image.library.catalogue.url");
            var k = ((k + _arg1) + ".gif");
            _-Nb.log(("[ProductViewCatalogWidget] Retrieve Product Preview Asset: " + k));
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = this._-07.assets.loadAssetFromFile(_arg1, k, "image/gif");
            if (!k)
            {
                return;
            };
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-4JW);
        }
        private function _-4JW(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                this._-1pO(k.assetName);
            };
        }

    }
}//package _-2vK

//------------------------------------------------------------
//_-2Vm._-0RR

package _-2Vm
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0RR implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0RR(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2Vm

//------------------------------------------------------------
//_-2Vm._-1GP

package _-2Vm
{
    import _-4Aj.*;

    public class _-1GP implements _-1oF 
    {

        public static const _-1Vd:int = 0;
        public static const _-0oQ:int = 1;
        public static const _-mh:int = 2;

        private var _-0qE:Array;

        public function _-1GP(_arg1:int, _arg2:int, _arg3:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2Vm

//------------------------------------------------------------
//_-2Vm._-2cF

package _-2Vm
{
    import _-4Aj.*;

    public class _-2cF implements _-1oF 
    {

        private var _-b:int;

        public function _-2cF(_arg1:int)
        {
            this._-b = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-b]);
        }
        public function dispose():void
        {
        }

    }
}//package _-2Vm

//------------------------------------------------------------
//_-2Vm._-3EE

package _-2Vm
{
    import _-4Aj.*;

    public class _-3EE implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3EE(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-2Vm

//------------------------------------------------------------
//_-2Vm._-u7

package _-2Vm
{
    import _-4Aj.*;

    public class _-u7 implements _-1oF 
    {

        private var _-b:int;

        public function _-u7(_arg1:int)
        {
            this._-b = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-b]);
        }
        public function dispose():void
        {
        }

    }
}//package _-2Vm

//------------------------------------------------------------
//_-2vN._-0d-

package _-2vN
{
    public class _-0d- 
    {

        public static const HABBO_WINDOW_TRACKING_EVENT_INPUT:String = "HABBO_WINDOW_TRACKING_EVENT_INPUT";
        public static const HABBO_WINDOW_TRACKING_EVENT_RENDER:String = "HABBO_WINDOW_TRACKING_EVENT_RENDER";
        public static const HABBO_WINDOW_TRACKING_EVENT_SLEEP:String = "HABBO_WINDOW_TRACKING_EVENT_SLEEP";

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-0QE

package _-2vN
{
    public class _-0QE 
    {

        public static const _-2E9:String = "count";

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-1a7

package _-2vN
{
    public class _-1a7 
    {

        public static const _-4MX:String = "position";
        public static const PROGRESS:String = "progress";
        public static const _-5-t:Array = [_-4MX, PROGRESS];

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-1J

package _-2vN
{
    public class _-1J 
    {

        public static const NORMAL:String = "normal";
        public static const _-3nz:String = "group";
        public static const _-2n-:String = "perk";
        public static const _-5-t:Array = [NORMAL, _-3nz, _-2n-];

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-29z

package _-2vN
{
    public class _-29z 
    {

        public static const NULL:uint = 0;
        public static const _-3dr:uint = 0;
        public static const _-4od:uint = 1;
        public static const _-2YI:uint = 3;

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-39Y

package _-2vN
{
    public class _-39Y 
    {

        public static const _-0Fn:uint = 0;
        public static const _-2Pn:uint = 1;
        public static const _-Ww:uint = 2;
        public static const _-5Cv:uint = 3;
        public static const _-0cG:uint = 4;
        public static const _-Hh:uint = 5;
        public static const _-2T3:uint = 6;
        public static const _-4v9:uint = 7;
        public static const _-3nx:uint = 8;
        public static const _-z0:uint = 9;
        public static const _-2wK:uint = 10;
        public static const _-4y4:uint = 11;
        public static const _-qX:uint = 12;
        public static const _-15Q:uint = 13;
        public static const _-4UR:uint = 14;
        public static const _-1Yn:uint = 15;
        public static const _-Cd:uint = 16;
        public static const _-0I4:uint = 17;
        public static const _-0QO:uint = 18;

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-3hb

package _-2vN
{
    import _-09j.WindowParam;

    public class _-3hb 
    {

        public static const NULL:uint = WindowParam._-Lm;//0
        public static const _-0g6:uint = WindowParam._-55Y;
        public static const _-0l:uint = WindowParam._-Bh;
        public static const _-0QX:uint = WindowParam._-4Uq;
        public static const _-18a:uint = WindowParam._-3Qn;
        public static const _-08W:uint = WindowParam._-22p;
        public static const _-0g2:uint = WindowParam._-0Sf;
        public static const _-2rR:uint = WindowParam._-Cp;
        public static const _-4u3:uint = WindowParam._-JK;
        public static const _-4wu:uint = WindowParam._-4Gm;//0
        public static const _-2Ix:uint = WindowParam._-ci;
        public static const _-2jp:uint = WindowParam._-170;
        public static const _-4A2:uint = WindowParam._-07N;
        public static const _-0Ye:uint = WindowParam._-WC;
        public static const _-3iG:uint = WindowParam._-2zO;//0
        public static const _-2ol:uint = WindowParam._-1If;
        public static const _-2P7:uint = WindowParam._-0Ef;
        public static const _-3WB:uint = WindowParam._-0LA;
        public static const _-2ir:uint = WindowParam._-DX;
        public static const _-3fM:uint = WindowParam._-0FF;
        public static const _-1HW:uint = WindowParam._-2YA;
        public static const _-0ZC:uint = WindowParam._-Qa;
        public static const _-2QC:uint = WindowParam._-1uG;
        public static const _-Jw:uint = WindowParam._-0a0;//0
        public static const _-r-:uint = WindowParam._-1MD;
        public static const _-2V-:uint = WindowParam._-2KQ;
        public static const _-0A3:uint = WindowParam._-4M6;//0
        public static const _-4xf:uint = WindowParam._-xz;
        public static const _-pd:uint = WindowParam._-2Xh;
        public static const _-4zp:uint = WindowParam._-Oi;
        public static const _-04F:uint = WindowParam._-cc;
        public static const _-3Cb:uint = WindowParam._-0WF;
        public static const _-4S4:uint = WindowParam._-2ZP;
        public static const _-33W:uint = WindowParam._-51t;
        public static const _-2v5:uint = WindowParam._-21i;
        public static const _-0dj:uint = WindowParam._-4rz;
        public static const _-3CZ:uint = WindowParam._-4by;
        public static const _-4nl:uint = WindowParam._-3dS;
        public static const _-2r9:uint = WindowParam._-2QG;
        public static const _-1RP:uint = WindowParam._-4K1;
        public static const _-22J:uint = WindowParam._-2J8;
        public static const _-17A:uint = WindowParam._-2gg;

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-3Xv

package _-2vN
{
    public class _-3Xv 
    {

        public static const _-4SM:int = 0;
        public static const _-53Z:int = 1;
        public static const _-1Ag:int = 2;
        public static const _-53P:int = 3;
        public static const _-2P:int = 4;
        public static const _-0Qp:int = 5;
        public static const _-2op:int = 6;
        public static const _-3JY:int = 7;

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-41m

package _-2vN
{
    public class _-41m 
    {

        public static const _-3ph:String = "illumina_alert_illustrations_frank_neutral_png";

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-4O-

package _-2vN
{
    public class _-4O- 
    {

        public static const _-2JZ:String = "flat";
        public static const _-39a:String = "etched";
        public static const _-5-t:Array = [_-2JZ, _-39a];

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-4Pi

package _-2vN
{
    import _-09j.WindowType;

    public class _-4Pi 
    {

        public static const NULL:uint = WindowType._-4Jd;//0
        public static const _-2rs:uint = WindowType._-1op;//35
        public static const _-0fx:uint = WindowType._-1op;//35
        public static const _-fO:uint = WindowType._-1op;//35
        public static const _-0WU:uint = WindowType._-VE;//12
        public static const _-3ua:uint = WindowType._-0BA;//51
        public static const _-4bA:uint = WindowType._-1J0;//50
        public static const _-1lh:uint = WindowType._-cS;//54
        public static const _-1hu:uint = WindowType._-0bm;//53
        public static const _-0lx:uint = WindowType._-3tF;//130
        public static const _-4ao:uint = WindowType._-3hf;//131
        public static const _-2qr:uint = WindowType._-0BA;//51
        public static const _-3Tl:uint = WindowType._-1J0;//50
        public static const _-3EA:uint = WindowType._-4f-;//57
        public static const _-4LB:uint = WindowType._-0CI;//56
        public static const _-4de:uint = WindowType._-1zW;//60
        public static const _-4cX:uint = WindowType._-2la;//61
        public static const _-0J6:uint = WindowType._-2ks;//45
        public static const BUTTON:uint = WindowType._-1zW;//60
        public static const _-0YW:uint = WindowType._-xo;//6
        public static const _-0Kn:uint = WindowType._-4di;//77
        public static const _-0Dc:uint = WindowType._-4q6;//4
        public static const _-0ST:uint = WindowType._-CP;//41
        public static const _-3CA:uint = WindowType._-1M0;//102
        public static const _-0yy:uint = WindowType._-4Yi;//103
        public static const _-0qh:uint = WindowType._-3va;//10
        public static const _-3u5:uint = WindowType._-32g;//42
        public static const _-TT:uint = WindowType._-0-a;//43
        public static const _-y0:uint = WindowType._-1nH;//71
        public static const _-3sh:uint = WindowType._-1-S;//70
        public static const _-3Ob:uint = WindowType._-0jC;//93
        public static const _-0tc:uint = WindowType._-48Q;//92
        public static const _-iY:uint = WindowType._-1io;//91
        public static const _-4j4:uint = WindowType._-1Q3;//2
        public static const _-3BF:uint = WindowType._-0HS;//21
        public static const _-0B-:uint = WindowType._-5Dq;//23
        public static const _-C4:uint = WindowType._-0Nv;//20
        public static const _-2KI:uint = WindowType._-1Yj;//78
        public static const _-3cp:uint = WindowType._-45W;//30
        public static const _-1PP:uint = WindowType._-4F5;//67
        public static const _-17n:uint = WindowType._-iW;//68
        public static const _-4sP:uint = WindowType._-4T2;//69

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-54k

package _-2vN
{
    public class _-54k 
    {

        public static const NULL:int = 0;
        public static const _-0DT:int = 1;
        public static const _-vU:int = 2;
        public static const _-05H:int = 4;
        public static const _-2DA:int = 8;
        public static const _-1Ct:int = 16;
        public static const _-35t:int = 32;
        public static const _-0LE:int = 64;
        public static const _-4T8:int = 128;
        public static const _-2qa:int = 0x0100;
        public static const BITMAP_RESERVED_1:int = 0x0200;
        public static const BITMAP_RESERVED_2:int = 0x0400;
        public static const BITMAP_RESERVED_3:int = 0x0800;

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vN._-o5

package _-2vN
{
    public class _-o5 
    {

        public static const _-3TN:String = "up, left";
        public static const _-4b2:String = "up, center";
        public static const _-3s0:String = "up, right";
        public static const _-1Rs:String = "down, left";
        public static const _-1V7:String = "down, center";
        public static const _-4M5:String = "down, right";
        public static const _-PT:String = "left, top";
        public static const _-2WZ:String = "left, middle";
        public static const _-3uR:String = "left, bottom";
        public static const _-0bz:String = "right, top";
        public static const _-007:String = "right, middle";
        public static const _-xZ:String = "right, bottom";
        public static const _-5-t:Array = [_-3TN, _-4b2, _-3s0, _-1Rs, _-1V7, _-4M5, _-PT, _-2WZ, _-3uR, _-0bz, _-007, _-xZ];
        public static const UP:String = "up";
        public static const DOWN:String = "down";
        public static const LEFT:String = "left";
        public static const RIGHT:String = "right";
        public static const _-07Z:String = "minimum";
        public static const _-2Aq:String = "middle";
        public static const _-1Gh:String = "maximum";

        public static function _-OW(_arg1:String):String
        {
            return (_arg1.substr(0, _arg1.indexOf(",")));
        }
        public static function _-3oH(_arg1:String):String
        {
            switch (_arg1)
            {
                case _-3TN:
                case _-1Rs:
                case _-PT:
                case _-0bz:
                    return (_-07Z);
                case _-3s0:
                case _-4M5:
                case _-3uR:
                case _-xZ:
                    return (_-1Gh);
                default:
                    return (_-2Aq);
            };
        }

    }
}//package _-2vN

//------------------------------------------------------------
//_-2vq._-0Wt

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0Wt implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0Wt(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-1LI

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1LI implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1LI(_arg1:int, _arg2:int, _arg3:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-20C

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-20C implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-20C()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-2ac

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2ac implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2ac()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-36B

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-36B implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-36B(_arg1:Array)
        {
            var k:int;
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1.length);
            for each (k in _arg1)
            {
                this._-4Nw.push(k);
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-37

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-37 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-37()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-3E5

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3E5 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3E5(_arg1:int, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-3ul

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3ul implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3ul(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-4pz

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4pz implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-4pz()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2vq._-5N

package _-2vq
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-5N implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-5N()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2vq

//------------------------------------------------------------
//_-2W2._-1rX

package _-2W2
{
    import _-1ae.ITextFieldWindow;
    import _-1ae.IFrameWindow;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-Bn._-0Ze;
    import _-Bn._-1jQ;
    import _-Ew.IWindow;
    import _-0Ie.WindowKeyboardEvent;
    import _-2vN._-3hb;
    import flash.ui.Keyboard;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-3XR._-1JP;
    import _-1B-.*;

    public class _-1rX implements _-1zZ 
    {

        private var _-4Qe:HabboMessenger;
        private var _-Tl:ConversationsTabView;
        private var _-4fn:ITextFieldWindow;
        private var _-362:IFrameWindow;
        private var _-10u:ConversationView;
        private var _-345:Timer;
        private var _disposed:Boolean = false;

        public function _-1rX(_arg1:HabboMessenger)
        {
            this._-4Qe = _arg1;
            this._-345 = new Timer(300, 1);
            this._-345.addEventListener(TimerEvent.TIMER, this._-2VZ);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-345)
                {
                    this._-345.stop();
                    this._-345.removeEventListener(TimerEvent.TIMER, this._-2VZ);
                    this._-345 = null;
                };
                this._-4Qe = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-2lG():Boolean
        {
            return (((!((this._-362 == null))) && (this._-362.visible)));
        }
        public function close():void
        {
            if (this._-362 != null)
            {
                this._-362.visible = false;
            };
        }
        public function _-3GI():void
        {
            if (this._-4Qe._-0xO._-1BC.length < 1)
            {
                return;
            };
            if (this._-362 == null)
            {
                this._-4pK();
                this.refresh();
            }
            else
            {
                this.refresh();
                this._-362.visible = true;
                this._-362.activate();
            };
        }
        public function refresh():void
        {
            if (this._-362 == null)
            {
                return;
            };
            var k:_-0Ze = this._-4Qe._-0xO._-2Va();
            this._-362.caption = (((k == null)) ? "" : k.name);
            this._-Tl.refresh();
            this._-10u.refresh();
            if (this._-4Qe._-0xO._-1BC.length < 1)
            {
                this._-362.visible = false;
            };
        }
        public function _-19S(_arg1:_-0Ze, _arg2:_-1jQ):void
        {
            if (this._-362 == null)
            {
                return;
            };
            if (!_arg1.selected)
            {
                return;
            };
            this._-10u._-1Cn(_arg2);
        }
        private function _-4pK():void
        {
            this._-362 = IFrameWindow(this._-4Qe.getXmlWindow("main_window"));
            var k:IWindow = this._-362.findChildByTag("close");
            k.procedure = this._-lf;
            this._-362.procedure = this._-177;
            this._-362.title.color = 0xFFFAC200;
            this._-362.title.textColor = 4287851525;
            this._-Tl = new ConversationsTabView(this._-4Qe, this._-362);
            this._-Tl.refresh();
            this._-4fn = ITextFieldWindow(this._-362.findChildByName("message_input"));
            this._-4fn.addEventListener(WindowKeyboardEvent._-2CS, this._-WU);
            this._-10u = new ConversationView(this._-4Qe, this._-362);
            this._-362.scaler.setParamFlag(_-3hb._-3CZ, false);
            this._-362.scaler.setParamFlag(_-3hb._-33W, true);
            this._-362.center();
        }
        private function _-WU(_arg1:WindowKeyboardEvent):void
        {
            var _local2:int;
            var _local3:String;
            if (_arg1.charCode == Keyboard.ENTER)
            {
                this._-4jG();
            }
            else
            {
                _local2 = 120;
                _local3 = this._-4fn.text;
                if (_local3.length > _local2)
                {
                    this._-4fn.text = _local3.substring(0, _local2);
                };
            };
        }
        private function _-177(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!((_arg1.type == WindowEvent._-3K0))) || (!((_arg2 == this._-362)))))
            {
                return;
            };
            if (!this._-345.running)
            {
                this._-345.reset();
                this._-345.start();
            };
        }
        private function _-2VZ(_arg1:TimerEvent):void
        {
            _-Nb.log("XXX RESIZE XXX");
            this._-10u._-17h();
            this._-Tl.refresh();
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Close window");
            this._-362.visible = false;
        }
        private function _-4jG():void
        {
            var k:String = this._-4fn.text;
            _-Nb.log(("Send msg: " + k));
            if (k == "")
            {
                _-Nb.log("No text...");
                return;
            };
            var k:_-0Ze = this._-4Qe._-0xO._-2Va();
            if (k == null)
            {
                _-Nb.log("No conversation...");
                return;
            };
            this._-4Qe.send(new _-1JP(k.id, k));
            if (k.messages.length == 1)
            {
                this._-4Qe._-4qA();
            };
            this._-4fn.text = "";
            this._-4Qe._-0xO._-ru(new _-1jQ(_-1jQ._-281, k.id, k, _-3UA._-2f8()));
        }
        public function _-0OV():int
        {
            return ((((this._-Tl == null)) ? 7 : this._-Tl._-0OV()));
        }

    }
}//package _-2W2

//------------------------------------------------------------
//_-2W2._-3UA

package _-2W2
{
    public class _-3UA 
    {

        public static function remove(_arg1:Array, _arg2:Object):void
        {
            var k:int = _arg1.indexOf(_arg2);
            if (k >= 0)
            {
                _arg1.splice(k, 1);
            };
        }
        public static function _-2f8():String
        {
            var k:Date = new Date();
            return (((_-2tc(2, k.hours) + ":") + _-2tc(2, k.minutes)));
        }
        public static function _-2tc(_arg1:int, _arg2:int):String
        {
            var k:String = _arg2.toString();
            while (k.length < _arg1)
            {
                k = ("0" + k);
            };
            return (k);
        }

    }
}//package _-2W2

//------------------------------------------------------------
//_-2W2._-4L8

package _-2W2
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-4L8 extends _-4yI 
    {

        function get events():IEventDispatcher;
        function isOpen():Boolean;
        function _-13o():void;
        function startConversation(_arg1:int):void;
        function _-p9(_arg1:int, _arg2:Boolean):void;
        function _-4Ap(_arg1:int, _arg2:Boolean):void;
        function getUnseenMiniMailMessageCount():int;
        function get _-0GT():Boolean;

    }
}//package _-2W2

//------------------------------------------------------------
//_-2W2._-5Cd

package _-2W2
{
    public interface _-5Cd 
    {

        function get id():int;
        function get name():String;
        function get selected():Boolean;
        function get messages():Array;
        function get _-0Vf():Boolean;
        function get figure():String;
        function get _-08():Boolean;
        function get disposed():Boolean;

    }
}//package _-2W2

//------------------------------------------------------------
//_-2W2._-QD

package _-2W2
{
    public class _-QD 
    {

        public static const _-23q:int = 1;
        public static const _-57w:int = 2;
        public static const _-03p:int = 3;
        public static const _-4in:int = 4;

        private var _-5K:int;
        private var _-4OO:int;
        private var _-2md:String;
        private var _-1Jv:Number;

        public function _-QD(_arg1:int, _arg2:int, _arg3:String)
        {
            this._-5K = _arg1;
            this._-4OO = _arg2;
            this._-2md = _arg3;
            this._-1Jv = new Date().getTime();
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get _-2ej():int
        {
            return (this._-4OO);
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function get timeStamp():Number
        {
            return (this._-1Jv);
        }
        public function _-2ca(_arg1:String):void
        {
            this._-2md = ((_arg1 + "\n") + this._-2md);
        }

    }
}//package _-2W2

//------------------------------------------------------------
//_-2W2.ConversationsTabView

package _-2W2
{
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-Bn._-0Ze;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1ae.*;
    import _-Ew.*;
    import _-0Ie.*;
    import _-2vN.*;
    import _-Bn.*;

    public class ConversationsTabView 
    {

        private var _-4Qe:HabboMessenger;
        private var _-0Mb:IWindowContainer;
        private var _-9P:IWindowContainer;
        private var _-2yT:int = 30;

        public function ConversationsTabView(_arg1:HabboMessenger, _arg2:IWindowContainer)
        {
            this._-4Qe = _arg1;
            this._-0Mb = IWindowContainer(_arg2.findChildByName("content"));
            this._-9P = IWindowContainer(_arg2.findChildByName("conversationstab"));
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0Mb.findChildByName("convo_bg"));
            k.bitmap = this._-4Qe._-1JQ("convo_bg");
        }
        public function _-0OV():int
        {
            return (Math.floor((this._-9P.width / this._-2yT)));
        }
        public function get content():IWindowContainer
        {
            return (this._-0Mb);
        }
        public function refresh():void
        {
            var k:Boolean;
            var k:Array = this._-4Qe._-0xO._-1BC;
            var k:int;
            while (k < this._-0OV())
            {
                this._-8s(k, k[(this._-4Qe._-0xO.startIndex + k)]);
                k++;
            };
            while (true)
            {
                k = this._-8s(k, null);
                if (k)
                {
                    break;
                };
                k++;
            };
            if (this._-2af())
            {
                this._-1kw(0, false);
            };
            if (this._-1Ow())
            {
                this._-1kw((this._-0OV() - 1), true);
            };
        }
        private function _-8s(_arg1:int, _arg2:_-0Ze):Boolean
        {
            var k:IWindowContainer = (this._-9P.getChildAt(_arg1) as IWindowContainer);
            if (k == null)
            {
                if (_arg2 == null)
                {
                    return (true);
                };
                k = IWindowContainer(this._-4Qe.getXmlWindow("tab_entry"));
                k.y = 1;
                this._-9P.addChild(k);
            };
            this._-LK(k);
            if (_arg2 == null)
            {
                return (false);
            };
            var k:String = ((_arg2.selected) ? "tab_bg_sel" : ((_arg2._-0Vf) ? "tab_bg_hilite" : "tab_bg_unsel"));
            this._-3oQ(k, _arg1, k);
            this._-3LW(k, _arg2.figure);
            k.x = (_arg1 * this._-2yT);
            k.width = this._-2yT;
            return (false);
        }
        private function _-LK(_arg1:IWindowContainer):void
        {
            var k:int;
            while (k < _arg1.numChildren)
            {
                _arg1.getChildAt(k).visible = false;
                k++;
            };
        }
        private function _-1kw(_arg1:int, _arg2:Boolean):void
        {
            var k:IWindowContainer = (this._-9P.getChildAt(_arg1) as IWindowContainer);
            this._-LK(k);
            this._-pt(k, _arg1, _arg2);
            this._-3oQ(k, _arg1, ((_arg2) ? "tab_bg_next" : "tab_bg_unsel"));
            var k:int = (this._-9P.width % this._-2yT);
            k.width = (this._-2yT + ((_arg2) ? k : 0));
        }
        private function _-3oQ(_arg1:IWindowContainer, _arg2:int, _arg3:String):void
        {
            this._-4Qe.refreshButton(_arg1, _arg3, true, this._-12p, _arg2);
        }
        private function _-3LW(_arg1:IWindowContainer, _arg2:String):void
        {
            var _local4:BitmapData;
            var _local5:BitmapData;
            var k:IBitmapWrapperWindow = (_arg1.getChildByName(HabboMessenger._-14G) as IBitmapWrapperWindow);
            if ((((_arg2 == null)) || ((_arg2 == ""))))
            {
                k.visible = false;
            }
            else
            {
                _local4 = this._-4Qe.getAvatarFaceBitmap(_arg2);
                _local5 = k.bitmap;
                if (!_local5)
                {
                    _local5 = new BitmapData(k.width, k.height, true, 0);
                    k.bitmap = _local5;
                }
                else
                {
                    _local5.fillRect(k.bitmap.rect, 0);
                };
                _local5.copyPixels(_local4, _local4.rect, new Point(((_local5.width - _local4.width) / 2), (_local5.height - _local4.height)), null, null, true);
                k.invalidate();
                k.visible = true;
            };
        }
        private function _-pt(_arg1:IWindowContainer, _arg2:int, _arg3:Boolean):void
        {
            this._-4Qe.refreshButton(_arg1, ((_arg3) ? "next" : "prev"), true, null, 0);
        }
        private function _-2af():Boolean
        {
            return ((this._-4Qe._-0xO.startIndex > 0));
        }
        private function _-1Ow():Boolean
        {
            return (((this._-4Qe._-0xO._-1BC.length - this._-4Qe._-0xO.startIndex) > this._-0OV()));
        }
        private function _-12p(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local4:_-0Ze;
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:int = _arg2.id;
            if ((((k == 0)) && (this._-2af())))
            {
                this._-4Qe._-0xO._-1rv(-1);
            }
            else
            {
                if ((((k == (this._-0OV() - 1))) && (this._-1Ow())))
                {
                    this._-4Qe._-0xO._-1rv(1);
                }
                else
                {
                    _local4 = (((_arg2.name == HabboMessenger._-14G)) ? this._-4Qe._-0xO._-1mn(_arg2.id) : this._-4Qe._-0xO._-1BC[(k + this._-4Qe._-0xO.startIndex)]);
                    if (_local4 == null)
                    {
                        return;
                    };
                    this._-4Qe._-0xO.setSelected(_local4);
                };
            };
            this._-4Qe._-3Vb();
        }

    }
}//package _-2W2

//------------------------------------------------------------
//_-2W2.ConversationView

package _-2W2
{
    import _-1ae.IScrollbarWindow;
    import _-1ae.IContainerButtonWindow;
    import _-1ae.IItemListWindow;
    import _-Bn._-0Ze;
    import _-Ew.IWindowContainer;
    import _-Bn._-1jQ;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Pi._-RA;
    import _-0Ie.WindowEvent;
    import flash.utils.Dictionary;
    import _-2ly._-11j;
    import _-3XR._-1Cd;
    import _-2p5._-2ka;
    import _-1ae.*;
    import _-Ew.*;
    import _-0Ie.*;
    import _-Bn.*;

    public class ConversationView 
    {

        private static const _-3e7:int = 10;
        private static const _-0C9:int = 100;
        private static const _-3bo:int = 20;

        private var _-4Qe:HabboMessenger;
        private var _-14O:IScrollbarWindow;
        private var _-1C4:IContainerButtonWindow;
        private var _-3EB:IItemListWindow;
        private var _-1yF:_-0Ze;

        public function ConversationView(_arg1:HabboMessenger, _arg2:IWindowContainer)
        {
            this._-4Qe = _arg1;
            this._-1C4 = this._-C("follow_friend", this._-cR, _arg2);
            this._-3EB = IItemListWindow(_arg2.findChildByName("msg_list"));
            this._-14O = IScrollbarWindow(_arg2.findChildByName("scroller"));
            this._-4Qe.refreshButton(_arg2, "close", true, this._-2eU, 0);
            this._-C("minimail", this._-X0, _arg2);
            _arg2.findChildByName("button_extended_profile").procedure = this._-1gz;
        }
        public function _-1Cn(_arg1:_-1jQ):void
        {
            var k:int = this._-8q();
            if (k >= (_-0C9 + _-3bo))
            {
                this._-I8();
                this._-17h();
            }
            else
            {
                this._-3EB.autoArrangeItems = false;
                this._-wY(true, k, _arg1);
                this._-3EB.autoArrangeItems = true;
            };
            this._-14O.scrollV = 1;
            this._-2X0();
        }
        public function _-17h():void
        {
            this._-1DB();
            var k:Boolean = this._-2X0();
            if (k)
            {
                this._-1DB();
            };
        }
        private function _-C(_arg1:String, _arg2:Function, _arg3:IWindowContainer):IContainerButtonWindow
        {
            var k:IContainerButtonWindow = IContainerButtonWindow(_arg3.findChildByName(("button_" + _arg1)));
            k.procedure = _arg2;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(k.findChildByName("icon"));
            k.bitmap = this._-4Qe._-1JQ(_arg1);
            k.width = k.bitmap.width;
            k.height = k.bitmap.height;
            return (k);
        }
        private function _-1DB():void
        {
            var k:ITextWindow;
            this._-3EB.autoArrangeItems = false;
            var k:int;
            while (k < this._-3EB.numListItems)
            {
                k = ITextWindow(this._-3EB.getListItemAt(k));
                this._-13F(k);
                if (!k.visible)
                {
                    break;
                };
                k++;
            };
            this._-3EB.autoArrangeItems = true;
        }
        private function _-13F(_arg1:ITextWindow):void
        {
            _arg1.width = this._-3EB.width;
            _arg1.height = (_arg1.textHeight + _-3e7);
            _arg1.invalidate();
        }
        private function _-2X0():Boolean
        {
            var k:IWindowContainer = IWindowContainer(this._-3EB.parent);
            var k:IWindow = (k.getChildByName("scroller") as IWindow);
            var k = (this._-3EB._-2yI.height > this._-3EB.height);
            var k:int = 22;
            if (k.visible)
            {
                if (k)
                {
                    return (false);
                };
                k.visible = false;
                this._-3EB.width = (this._-3EB.width + k);
                return (true);
            };
            if (k)
            {
                k.visible = true;
                this._-3EB.width = (this._-3EB.width - k);
                return (true);
            };
            return (false);
        }
        private function _-8q():int
        {
            var k:IWindow;
            var k:int;
            while (k < this._-3EB.numListItems)
            {
                k = this._-3EB.getListItemAt(k);
                if (!k.visible)
                {
                    return (k);
                };
                k++;
            };
            return ((k + 1));
        }
        public function refresh():void
        {
            var k:_-0Ze = this._-4Qe._-0xO._-2Va();
            if (k == null)
            {
                return;
            };
            if ((((this._-1yF == null)) || (!((k.id == this._-1yF.id)))))
            {
                this._-1yF = k;
                this._-I8();
                this._-17h();
            };
            this._-8Y();
        }
        public function _-8Y():void
        {
            if (this._-1yF._-08)
            {
                this._-1C4.enable();
            }
            else
            {
                this._-1C4.disable();
            };
        }
        private function _-I8():void
        {
            var k:Boolean;
            if (this._-3EB == null)
            {
                return;
            };
            this._-3EB.autoArrangeItems = false;
            var k:int;
            var k:int = Math.max(0, (this._-1yF.messages.length - _-0C9));
            k = 0;
            while ((k + k) < this._-1yF.messages.length)
            {
                this._-wY(true, k, this._-1yF.messages[(k + k)]);
                k++;
            };
            while (true)
            {
                k = this._-wY(false, k, null);
                if (k)
                {
                    break;
                };
                k++;
            };
            this._-3EB.autoArrangeItems = true;
        }
        private function _-wY(_arg1:Boolean, _arg2:int, _arg3:_-1jQ):Boolean
        {
            var k:ITextWindow = (this._-3EB.getListItemAt(_arg2) as ITextWindow);
            if (k == null)
            {
                if (!_arg1)
                {
                    return (true);
                };
                k = ITextWindow(this._-4Qe.getXmlWindow("msg_entry"));
                k.width = this._-3EB.width;
                this._-3EB.addListItem(k);
            };
            if (!_arg1)
            {
                k.height = 0;
                k.visible = false;
                return (false);
            };
            k.visible = true;
            var k:String = (((((_arg3.type == _-1jQ._-281)) || ((_arg3.type == _-1jQ._-1BO)))) ? (_arg3.time + ": ") : "");
            k.text = (k + _arg3._-0bv);
            k.color = this._-1O-(_arg3.type);
            k.textColor = this._-28w(_arg3.type);
            this._-13F(k);
            return (false);
        }
        private function _-1gz(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Extended profile clicked");
            this._-4Qe.trackGoogle("extendedProfile", "messenger_conversation");
            this._-4Qe.send(new _-RA(this._-1yF.id));
        }
        private function _-X0(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Minimail clicked");
            var k:Dictionary = new Dictionary();
            k["recipientid"] = ("" + this._-1yF.id);
            k["random"] = ("" + Math.round((Math.random() * 100000000)));
            if (this._-4Qe._-4Y7())
            {
                _-11j._-25R("minimail", (((("#mail/compose/" + k["recipientid"]) + "/") + k["random"]) + "/"));
            }
            else
            {
                this._-4Qe._-4tw("link.format.mail.compose", k, _arg1);
            };
        }
        private function _-cR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Follow clicked");
            this._-4Qe.send(new _-1Cd(this._-1yF.id));
            this._-4Qe.send(new _-2ka("Navigation", "IM", "go.im"));
        }
        private function _-2eU(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Close clicked");
            this._-4Qe._-0xO._-12h();
            this._-4Qe._-3Vb();
        }
        private function _-1O-(_arg1:int):uint
        {
            if (_arg1 == _-1jQ._-281)
            {
                return (0xFFFFFFFF);
            };
            if (_arg1 == _-1jQ._-1BO)
            {
                return (4292801535);
            };
            if (_arg1 == _-1jQ._-1c0)
            {
                return (0xFFFF6666);
            };
            if (_arg1 == _-1jQ._-4in)
            {
                return (4293454056);
            };
            if (_arg1 == _-1jQ._-03p)
            {
                return (4293454056);
            };
            if (_arg1 == _-1jQ._-iT)
            {
                return (4288269465);
            };
            return (4291611852);
        }
        private function _-28w(_arg1:int):uint
        {
            if (_arg1 == _-1jQ._-4in)
            {
                return (4285887861);
            };
            if (_arg1 == _-1jQ._-03p)
            {
                return (4285887861);
            };
            return (0xFF000000);
        }

    }
}//package _-2W2

//------------------------------------------------------------
//_-2W2.HabboMessenger

package _-2W2
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-35b._-a8;
    import _-4Kb._-3nt;
    import _-Bn.Conversations;
    import _-mv._-54I;
    import _-2gz._-2UE;
    import _-1Jd._-51K;
    import _-0jj._-0QY;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboSoundManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboFriendList;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboTracking;
    import com.sulake.iid.IIDHabboHelp;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-2JC._-4yr;
    import _-2JC._-36f;
    import _-2JC._-115;
    import _-4Kf._-2pC;
    import _-4Aj._-0tL;
    import _-1Wu._-0ES;
    import _-2JC._-vO;
    import _-2JC._-3JM;
    import _-2JC._-46q;
    import _-Bn._-0Ze;
    import _-35b._-4A9;
    import flash.display.BitmapData;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-4Aj._-1oF;
    import _-mv._-2TN;
    import flash.utils.Dictionary;
    import _-0Ie.WindowEvent;
    import _-2ly._-11j;
    import _-0Ie.WindowMouseEvent;
    import _-Bn._-1jQ;
    import _-1Wu._-9d;
    import _-1Wu._-0wM;
    import _-1Wu._-1X1;
    import _-1ae.IBitmapWrapperWindow;
    import _-Ew.IWindowContainer;
    import _-295._-2kE;
    import _-295.BitmapDataAsset;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-4Kb.*;
    import _-0Ie.*;
    import _-Bn.*;

    public class HabboMessenger extends _-Px implements _-4L8, _-3QA 
    {

        public static const _-14G:String = "face";

        private var _-U-:_-3Ts;
        private var _-0ud:_-4BJ;
        private var _-3fD:_-4uR;
        private var _-cU:_-0hg;
        private var _-Ie:_-a8;
        private var _-It:_-3nt;
        private var _-4aW:Conversations;
        private var _-3aj:_-1rX;
        private var _-42G:_-54I;
        private var _tracking:_-2UE;
        private var _-3Lq:int = 0;
        private var _-Qo:Boolean;
        private var _-0pW:_-51K;
        private var _-1Iu:_-0QY;
        private var _-3Dl:MainView;

        public function HabboMessenger(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            lock();
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
            queueInterface(new IIDAvatarRenderManager(), this._-1dv);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboFriendList(), this._-2Xx);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboTracking(), this._-3wF);
            queueInterface(new IIDHabboHelp(), this._-0yq);
        }
        override public function dispose():void
        {
            if (this._-42G)
            {
                this._-42G.release(new IIDHabboSoundManager());
                this._-42G = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-Ie)
            {
                this._-Ie.release(new IIDHabboFriendList());
                this._-Ie = null;
            };
            if (this._-0pW)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-It)
            {
                this._-It.release(new IIDAvatarRenderManager());
                this._-It = null;
            };
            if (this._tracking)
            {
                this._tracking.release(new IIDHabboTracking());
                this._tracking = null;
            };
            if (this._-3aj)
            {
                this._-3aj.dispose();
                this._-3aj = null;
            };
            if (this._-3Dl != null)
            {
                this._-3Dl.dispose();
                this._-3Dl = null;
            };
            super.dispose();
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-42G = (_arg2 as _-54I);
            this._-gA();
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = (_arg2 as _-3Ts);
            this._-gA();
        }
        private function _-w(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = (_arg2 as _-4BJ);
            this._-gA();
        }
        private function _-1dv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-It = (_arg2 as _-3nt);
            this._-gA();
        }
        private function _-1d3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3fD = (_arg2 as _-4uR);
            this._-gA();
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-cU = (_arg2 as _-0hg);
            this._-gA();
        }
        private function _-2Xx(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-Ie = (_arg2 as _-a8);
            this._-gA();
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0pW = (_arg2 as _-51K);
            this._-gA();
        }
        private function _-3wF(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._tracking = (_arg2 as _-2UE);
        }
        private function _-0yq(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-1Iu = (_arg2 as _-0QY);
        }
        private function _-gA():void
        {
            if (((((((((((((((this._-U-) && (this._-0ud))) && (this._-3fD))) && (this._-cU))) && (this._-Ie))) && (this._-It))) && (this._-42G))) && (this._-0pW)))
            {
                unlock();
                this._-0ud.addHabboConnectionMessageEvent(new _-4yr(this._-3Ms));
                this._-Qo = this._-3fD.getBoolean("client.minimail.embed.enabled", true);
                if (this._-Qo)
                {
                    this._-0ud.addHabboConnectionMessageEvent(new _-36f(this._-57P));
                    this._-0ud.addHabboConnectionMessageEvent(new _-115(this._-2cg));
                };
            };
        }
        private function _-57P(_arg1:_-0tL):void
        {
            this._-3Lq++;
            this._-1Zr();
            events.dispatchEvent(new _-2pC(_-2pC._-58d, this._-3Lq));
        }
        private function _-2cg(_arg1:_-0tL):void
        {
            this._-3Lq = (_arg1.parser as _-0ES)._-3QG;
            events.dispatchEvent(new _-2pC(_-2pC._-uG, this._-3Lq));
        }
        private function _-3Ms(_arg1:_-0tL):void
        {
            if (this._-0GT)
            {
                this._-3Dl = new MainView(this);
            }
            else
            {
                this._-4aW = new Conversations(this);
                this._-3aj = new _-1rX(this);
            };
            this._-0ud.addHabboConnectionMessageEvent(new _-vO(this._-05p));
            this._-0ud.addHabboConnectionMessageEvent(new _-3JM(this._-LJ));
            this._-0ud.addHabboConnectionMessageEvent(new _-46q(this._-2FL));
        }
        public function startConversation(_arg1:int):void
        {
            var _local2:_-0Ze;
            if (this._-3Dl != null)
            {
                this._-3Dl.startConversation(_arg1);
                this._-3Dl.show();
            }
            else
            {
                _local2 = this._-4aW._-5-T(_arg1);
                if (_local2 == null)
                {
                    _-Nb.log((("No friend " + _arg1) + " found. Shouldn't happen"));
                }
                else
                {
                    this._-4aW.setSelected(_local2);
                    if (this._-3aj != null)
                    {
                        this._-3aj._-3GI();
                        this._-3aj.refresh();
                    };
                };
            };
        }
        public function getUnseenMiniMailMessageCount():int
        {
            return (this._-3Lq);
        }
        public function _-p9(_arg1:int, _arg2:Boolean):void
        {
            if (this._-3Dl != null)
            {
                this._-3Dl._-p9(_arg1, _arg2);
            }
            else
            {
                this._-4aW._-32E(_arg1, _arg2);
            };
        }
        public function _-4Ap(_arg1:int, _arg2:Boolean):void
        {
            if (this._-3Dl != null)
            {
                this._-3Dl._-4Ap(_arg1, _arg2);
            }
            else
            {
                this._-4aW._-4O2(_arg1, _arg2);
            };
        }
        public function _-0un(_arg1:int):_-0Ze
        {
            var k:_-4A9 = this._-Ie._-4F0(_arg1);
            if (k == null)
            {
                _-Nb.log(("No friend found with: " + _arg1));
                return (null);
            };
            _-Nb.log(((((((("A FRIEND FOUND: " + k.id) + ", ") + k.name) + ", ") + k.gender) + ", ") + k.figure));
            var k:_-0Ze = new _-0Ze(k.id, k.name, k.figure, k._-08);
            return (k);
        }
        public function getAvatarFaceBitmap(_arg1:String):BitmapData
        {
            var k:BitmapData;
            var k:_-40f = this._-It.createAvatarImage(_arg1, _-1uH._-Pq, null, this);
            if (k)
            {
                k = k._-2Xc(_-24J._-0GH, true);
                k.dispose();
                return (k);
            };
            return (null);
        }
        public function send(_arg1:_-1oF):void
        {
            this._-0ud._-4gR(null).send(_arg1);
        }
        public function _-4qA():void
        {
            if (this._-42G != null)
            {
                this._-42G._-lx(_-2TN._-0DF);
            };
        }
        public function isOpen():Boolean
        {
            return (((((!((this._-3Dl == null))) && (this._-3Dl.isOpen))) || (((this._-3aj) && (this._-3aj._-2lG())))));
        }
        public function _-13o():void
        {
            if (this._-3Dl != null)
            {
                this._-3Dl._-4NB();
            };
            if (this._-3aj)
            {
                if (this._-3aj._-2lG())
                {
                    this._-3aj.close();
                }
                else
                {
                    this._-3aj._-3GI();
                };
            };
        }
        public function _-4tw(_arg1:String, _arg2:Dictionary, _arg3:WindowEvent):void
        {
            var linkAlias:String = _arg1;
            var params:Dictionary = _arg2;
            var event:WindowEvent = _arg3;
            params["predefined"] = this._-17-("url.prefix");
            var url:String = this.getVariable(linkAlias, params);
            var webWindowName:String = "habboMain";
            try
            {
                _-11j.navigateToURL(url, webWindowName);
            }
            catch(e:Error)
            {
                _-Nb.log(("GOT ERROR: " + e));
            };
            var wme:WindowMouseEvent = (event as WindowMouseEvent);
        }
        public function getText(_arg1:String):String
        {
            return (this._-cU.getKey(_arg1, _arg1));
        }
        private function _-17-(_arg1:String):String
        {
            var k:String;
            if (_arg1 == "url.prefix")
            {
                k = "d31.web.varoke.net";
                k = this._-3fD.getKey("url.prefix", k);
                k = k.replace("http://", "");
                k = k.replace("https://", "");
                return (k);
            };
            return (null);
        }
        private function getVariable(_arg1:String, _arg2:Dictionary):String
        {
            return (this._-3fD.getKey(_arg1, _arg1, _arg2));
        }
        private function _-05p(_arg1:_-0tL):void
        {
            var _local3:_-1jQ;
            var k:_-9d = (_arg1 as _-vO)._-3-5();
            _-Nb.log(((("Received console msg: " + k._-0bv) + ", ") + k._-2ej));
            if (this._-3Dl != null)
            {
                this._-3Dl._-42F(k._-2ej, k._-0bv, k._-YD);
                if (!this._-3Dl.isOpen)
                {
                    this._-1Zr();
                };
            }
            else
            {
                _local3 = new _-1jQ(_-1jQ._-1BO, k._-2ej, k._-0bv, (((k._-YD == "")) ? _-3UA._-2f8() : k._-YD));
                this._-09Y(_local3);
            };
        }
        private function _-LJ(_arg1:_-0tL):void
        {
            var _local3:_-1jQ;
            var k:_-0wM = (_arg1 as _-3JM)._-3-5();
            if (this._-3Dl != null)
            {
                this._-3Dl._-1Jw(k._-2ej, k._-0bv);
                if (!this._-3Dl.isOpen)
                {
                    this._-1Zr();
                };
            }
            else
            {
                _local3 = new _-1jQ(_-1jQ._-iT, k._-2ej, ((this.getText("messenger.invitation") + " ") + k._-0bv), _-3UA._-2f8());
                this._-09Y(_local3);
            };
        }
        private function _-09Y(_arg1:_-1jQ):void
        {
            this._-4aW._-ru(_arg1);
            if (!this._-3aj._-2lG())
            {
                this._-1Zr();
            };
        }
        private function _-1Zr():void
        {
            if (this._-42G != null)
            {
                this._-42G._-lx(_-2TN._-3ic);
            };
        }
        private function _-2FL(_arg1:_-0tL):void
        {
            var _local3:String;
            var _local4:_-1jQ;
            var k:_-1X1 = (_arg1 as _-46q)._-3-5();
            if (this._-3Dl != null)
            {
                this._-3Dl._-2FL(k.userId, k.errorCode, k.message);
            }
            else
            {
                _local3 = "";
                if (k.message.length > 0)
                {
                    _local3 = (": " + k.message);
                };
                _local4 = new _-1jQ(_-1jQ._-1c0, k.userId, (this._-0uK(k.errorCode) + _local3), _-3UA._-2f8());
                this._-4aW._-ru(_local4);
            };
        }
        private function _-0uK(_arg1:int):String
        {
            if (_arg1 == 3)
            {
                return (this.getText("messenger.error.receivermuted"));
            };
            if (_arg1 == 4)
            {
                return (this.getText("messenger.error.sendermuted"));
            };
            if (_arg1 == 5)
            {
                return (this.getText("messenger.error.offline"));
            };
            if (_arg1 == 6)
            {
                return (this.getText("messenger.error.notfriend"));
            };
            if (_arg1 == 7)
            {
                return (this.getText("messenger.error.busy"));
            };
            if (_arg1 == 10)
            {
                return (this.getText("messenger.error.offline_failed"));
            };
            return (("Unknown im error " + _arg1));
        }
        public function refreshButton(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:Function, _arg5:int):void
        {
            var k:IBitmapWrapperWindow = (_arg1.findChildByName(_arg2) as IBitmapWrapperWindow);
            this._-Ij(k, _arg2, _arg3, _arg4, _arg5);
        }
        public function _-Ij(_arg1:IBitmapWrapperWindow, _arg2:String, _arg3:Boolean, _arg4:Function, _arg5:int):void
        {
            if (!_arg3)
            {
                _arg1.visible = false;
            }
            else
            {
                this._-2rU(_arg1, _arg2, _arg4, _arg5);
                _arg1.visible = true;
            };
        }
        private function _-2rU(_arg1:IBitmapWrapperWindow, _arg2:String, _arg3:Function, _arg4:int):void
        {
            _arg1.id = _arg4;
            if (_arg1.bitmap != null)
            {
                return;
            };
            _arg1.bitmap = this._-1JQ(_arg2);
            _arg1.width = _arg1.bitmap.width;
            _arg1.height = _arg1.bitmap.height;
            _arg1.procedure = _arg3;
        }
        public function _-1JQ(_arg1:String):BitmapData
        {
            var k:BitmapData;
            var k:_-2kE = assets.getAssetByName((_arg1 + "_png"));
            var k:BitmapDataAsset = (k as BitmapDataAsset);
            _-Nb.log(("GETTING ASSET: " + _arg1));
            var k:BitmapData = (k.content as BitmapData);
            _-Nb.log(((("GOT ASSET: " + k) + ", ") + k));
            k = new BitmapData(k.width, k.height, true, 0);
            k.draw(k);
            return (k);
        }
        public function getXmlWindow(_arg1:String):IWindow
        {
            var k:_-2kE = assets.getAssetByName((_arg1 + "_xml"));
            var k:_-243 = _-243(k);
            return (this._-U-.buildFromXML(XML(k.content)));
        }
        public function _-4Y7():Boolean
        {
            var k:String = this._-3fD.getKey("client.minimail.embed.enabled");
            return ((k == "true"));
        }
        public function get _-0GT():Boolean
        {
            return (this._-3fD.getBoolean("messenger.new.skin", false));
        }
        public function _-0-V(_arg1:String):void
        {
            if (this._-3aj)
            {
                this._-3aj.refresh();
            };
        }
        public function trackGoogle(_arg1:String, _arg2:String, _arg3:int=-1):void
        {
            if (this._tracking)
            {
                this._tracking.trackGoogle(_arg1, _arg2, _arg3);
            };
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get _-0xO():Conversations
        {
            return (this._-4aW);
        }
        public function get tracking():_-2UE
        {
            return (this._tracking);
        }
        public function _-1aY():int
        {
            return (this._-3aj._-0OV());
        }
        public function _-3Vb():void
        {
            this._-3aj.refresh();
        }
        public function _-19S(_arg1:_-0Ze, _arg2:_-1jQ):void
        {
            this._-3aj._-19S(_arg1, _arg2);
        }
        function _-4F0(_arg1:int):_-4A9
        {
            return (this._-Ie._-4F0(_arg1));
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        function _-1fk(_arg1:int):void
        {
            this._-1Iu._-1bk(_arg1);
        }

    }
}//package _-2W2

//------------------------------------------------------------
//_-2W2.MainView

package _-2W2
{
    import flash.utils.Dictionary;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-1ae._-3Yi;
    import _-1ae._-4mB;
    import _-0Ix._-0wK;
    import _-Ew.IWindow;
    import _-35b._-4A9;
    import _-0Ix._-3La;
    import _-1ae.IRegionWindow;
    import _-0Ix._-4PA;
    import _-0Ie.WindowEvent;
    import _-3XR._-1Cd;
    import _-2p5._-2ka;
    import _-0Pi._-RA;
    import _-0Ie.WindowMouseEvent;
    import _-3XR._-1JP;
    import _-2YR._-4Tn;
    import _-0Ix.*;
    import _-1B-.*;

    public class MainView implements _-1zZ, _-572 
    {

        private static const HIDDEN:String = "HIDDEN";
        private static const _-1w9:int = -1;
        private static const _-3zg:int = 55;
        private static const _-1Lc:int = 5;
        private static const _-1nw:int = 150;
        private static const _-4I7:Dictionary = new Dictionary();

        private var _-4Qe:HabboMessenger;
        private var _frame:IWindowContainer;
        private var _-4BL:IItemListWindow;
        private var _-00N:IWindowContainer;
        private var _-0d9:int;
        private var _-Ej:Boolean;
        private var _-I2:Dictionary;
        private var _-0Vn:int = -1;
        private var _-2Yq:IWindowContainer;
        private var _-3bw:_-3Yi;
        private var _-2k9:IWindowContainer;
        private var _-3pz:IWindowContainer;
        private var _-PQ:Boolean;
        private var _-3SX:Boolean = false;

        {
            _-4I7[3] = "${messenger.error.receivermuted}";
            _-4I7[4] = "${messenger.error.sendermuted}";
            _-4I7[5] = "${messenger.error.offline}";
            _-4I7[6] = "${messenger.error.notfriend}";
            _-4I7[7] = "${messenger.error.busy}";
            _-4I7[8] = "${messenger.error.receiverhasnochat}";
            _-4I7[9] = "${messenger.error.senderhasnochat}";
            _-4I7[10] = "${messenger.error.offline_failed}";
        }
        public function MainView(_arg1:HabboMessenger)
        {
            this._-I2 = new Dictionary();
            super();
            this._-4Qe = _arg1;
            this._frame = (this._-4Qe.getXmlWindow("messenger") as IWindowContainer);
            this._frame.visible = false;
            this._frame.procedure = this._-1vI;
            _-4mB(this._frame.findChildByName("header_button_image")).assetUri = "messenger_minimize_button";
            this._-00N = (this._frame.findChildByName("avatar_list") as IWindowContainer);
            this._-2Yq = (this._-00N.getChildAt(0) as IWindowContainer);
            this._-00N.removeChild(this._-2Yq);
            this._-0d9 = 0;
            this._-4BL = (this._frame.findChildByName("conversation") as IItemListWindow);
            this._-3bw = (this._-4BL.getListItemByName("msg_normal") as _-3Yi);
            this._-2k9 = (this._-4BL.getListItemByName("msg_notification") as IWindowContainer);
            this._-3pz = (this._-4BL.getListItemByName("msg_info") as IWindowContainer);
            this._-4BL._-3mI();
            _-0wK(_-3Yi(this._frame.findChildByName("input_widget")).widget)._-2Id = this;
        }
        private static function _-3aR(_arg1:IWindow):Boolean
        {
            return (((!((_arg1 == null))) && ((_arg1.tags.indexOf(HIDDEN) < 0))));
        }
        private static function _-44D(_arg1:IWindow, _arg2:Boolean):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:Boolean = _-3aR(_arg1);
            if (((k) && (!(_arg2))))
            {
                _arg1.tags.push(HIDDEN);
            }
            else
            {
                if (((!(k)) && (_arg2)))
                {
                    _arg1.tags.splice(_arg1.tags.indexOf(HIDDEN), 1);
                };
            };
        }

        public function dispose():void
        {
            if (!this.disposed)
            {
                this._-4BL = null;
                this._-00N = null;
                if (this._frame != null)
                {
                    this._frame.dispose();
                    this._frame = null;
                };
                if (this._-3bw != null)
                {
                    this._-3bw.dispose();
                    this._-3bw = null;
                };
                if (this._-2k9 != null)
                {
                    this._-2k9.dispose();
                    this._-2k9 = null;
                };
                if (this._-3pz != null)
                {
                    this._-3pz.dispose();
                    this._-3pz = null;
                };
                if (this._-2Yq != null)
                {
                    this._-2Yq.dispose();
                    this._-2Yq = null;
                };
                this._-I2 = null;
                this._-4Qe = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-4Qe == null));
        }
        public function get isOpen():Boolean
        {
            return (((!((this._frame == null))) && (this._frame.visible)));
        }
        public function _-4NB():void
        {
            if (this.isOpen)
            {
                this.hide();
            }
            else
            {
                this.show();
            };
        }
        public function show():void
        {
            if (this._-0n1 > 0)
            {
                this._frame.visible = true;
                this._frame.activate();
            };
        }
        public function hide():void
        {
            this._frame.visible = false;
        }
        public function startConversation(_arg1:int, _arg2:Boolean=true):void
        {
            var k:_-4A9;
            var k:IWindowContainer;
            var k:_-3La;
            if (!(_arg1 in this._-I2))
            {
                this._-I2[_arg1] = [];
                if (!this._-3SX)
                {
                    this._-3V6(_arg1, "${messenger.moderationinfo}");
                    this._-3SX = true;
                };
                k = this._-4Qe._-4F0(_arg1);
                if (!k.online)
                {
                    this._-3V6(_arg1, "${messenger.notification.persisted_messages}");
                };
                k = (this._-2Yq.clone() as IWindowContainer);
                _-44D(k, true);
                k.blend = 0;
                k.id = _arg1;
                k = (_-3Yi(k.getChildByName("avatar_image")).widget as _-3La);
                if (k != null)
                {
                    k.figure = k.figure;
                    IRegionWindow(k.findChildByName("avatar_click_region"))._-2QR = k.name;
                };
                this._-00N.addChild(k);
                this._-1Yq();
            };
            if (((_arg2) || (!(this.isOpen))))
            {
                this._-09U(_arg1);
            };
            this._-4tP();
        }
        public function _-42F(_arg1:int, _arg2:String, _arg3:String):void
        {
            this._-3cm(_arg1, _arg2, true);
        }
        public function _-1Jw(_arg1:int, _arg2:String):void
        {
            this._-0hj(_arg1, (this._-4Qe.getText("messenger.invitation") + _arg2), true);
        }
        public function _-p9(_arg1:int, _arg2:Boolean):void
        {
            if (_arg1 == this._-0Vn)
            {
                this._-3fO();
            };
        }
        public function _-2FL(_arg1:int, _arg2:int, _arg3:String):void
        {
            var k:String;
            var k:RegExp;
            if ((_arg2 in _-4I7))
            {
                if (_arg3.length > 0)
                {
                    k = _-4I7[_arg2];
                    k = /[${}]/g;
                    k = k.replace(k, "");
                    this._-3V6(_arg1, ((this._-4Qe.getText(k) + ": ") + _arg3));
                }
                else
                {
                    this._-3V6(_arg1, _-4I7[_arg2]);
                };
            };
        }
        public function _-4Ap(_arg1:int, _arg2:Boolean):void
        {
            if ((_arg1 in this._-I2))
            {
                this._-0hj(_arg1, ((_arg2) ? "${messenger.notification.online}" : "${messenger.notification.offline}"));
            };
        }
        private function _-09U(_arg1:int):void
        {
            this._-0Vn = _arg1;
            _-44D(this._-4YY(_arg1), true);
            this._-55G(_arg1, false);
            this._-32Y();
            this._-1Yq();
            var k:_-4A9 = this._-4Qe._-4F0(this._-0Vn);
            var k:String = (((k)!=null) ? k.name : "");
            this._frame.findChildByName("separator_label").visible = !((k == null));
            this._-4Qe.localization.registerParameter("messenger.window.separator", "friend_name", k);
            this._-4Qe.localization.registerParameter("messenger.window.input.default", "friend_name", k);
            this._frame.invalidate();
        }
        private function _-1dH(_arg1:int):void
        {
            var k:IWindow = this._-4YY(_arg1);
            if (k != null)
            {
                _-44D(k, false);
            };
            if (this._-0n1 == 0)
            {
                this._-09U(_-1w9);
                this.hide();
            }
            else
            {
                for each (k in this._-00N.iterator)
                {
                    if (_-3aR(k))
                    {
                        this._-0d9 = 0;
                        this._-09U(k.id);
                        break;
                    };
                };
            };
            this._-4tP();
        }
        private function _-4tP():void
        {
            this._-4Qe.localization.registerParameter("messenger.window.title", "open_chat_count", this._-0n1.toString());
        }
        private function _-3cm(_arg1:int, _arg2:String, _arg3:Boolean):void
        {
            if (_arg3)
            {
                this._-3F(_arg1, new _-QD(_-QD._-57w, _arg1, _arg2), true);
            }
            else
            {
                this._-3F(_arg1, new _-QD(_-QD._-23q, 0, _arg2));
            };
        }
        private function _-3V6(_arg1:int, _arg2:String):void
        {
            this._-3F(_arg1, new _-QD(_-QD._-03p, 0, _arg2));
        }
        private function _-0hj(_arg1:int, _arg2:String, _arg3:Boolean=false):void
        {
            this._-3F(_arg1, new _-QD(_-QD._-4in, 0, _arg2), _arg3);
        }
        private function _-3F(_arg1:int, _arg2:_-QD, _arg3:Boolean=false):void
        {
            var k:_-QD;
            if (!(_arg1 in this._-I2))
            {
                this.startConversation(_arg1, false);
            };
            var k:Array = this._-I2[_arg1];
            if (k.length > 0)
            {
                k = k[(k.length - 1)];
                if ((((_arg2.type == k.type)) && ((((_arg2.type == _-QD._-23q)) || ((_arg2.type == _-QD._-57w))))))
                {
                    k.pop();
                    _arg2._-2ca(k.message);
                    if (_arg1 == this._-0Vn)
                    {
                        this._-4BL._-3yK((this._-4BL.numListItems - 1));
                    };
                };
            };
            k.push(_arg2);
            var k:IWindowContainer = this._-4YY(_arg1);
            if (k != null)
            {
                _-44D(k, true);
                this._-1Yq();
            };
            if (_arg1 == this._-0Vn)
            {
                this._-4QA(_arg2);
            }
            else
            {
                if (_arg3)
                {
                    this._-55G(_arg1, true);
                };
                if (this._-0n1 == 1)
                {
                    this._-09U(_arg1);
                };
            };
            this._-4tP();
        }
        private function _-4YY(_arg1:int):IWindowContainer
        {
            return ((this._-00N.getChildByID(_arg1) as IWindowContainer));
        }
        private function _-55G(_arg1:int, _arg2:Boolean):void
        {
            var k:IWindowContainer = this._-4YY(_arg1);
            if (k != null)
            {
                k.findChildByName("chat_indicator").visible = _arg2;
            };
        }
        private function _-36e(_arg1:_-QD):IWindow
        {
            var k:_-3Yi;
            var k:_-4PA;
            var _local4:IWindowContainer;
            var _local5:IWindow;
            var _local6:IWindowContainer;
            var _local7:_-4A9;
            var k:IWindowContainer;
            switch (_arg1.type)
            {
                case _-QD._-4in:
                    _local4 = (this._-3pz.clone() as IWindowContainer);
                    _local5 = _local4.findChildByName("content");
                    _local5._-2rW.minWidth = this._-3Od;
                    _local5._-2rW.maxWidth = this._-3Od;
                    _local5.caption = _arg1.message;
                    return (_local4);
                case _-QD._-03p:
                    _local6 = (this._-2k9.clone() as IWindowContainer);
                    _local6.findChildByName("content").width = (this._-3Od - _-3zg);
                    _local6.findChildByName("content").caption = _arg1.message;
                    return (_local6);
                case _-QD._-57w:
                    k = (this._-3bw.clone() as _-3Yi);
                    k.width = this._-3Od;
                    k = (k.widget as _-4PA);
                    k.message = _arg1.message;
                    k.timeStamp = _arg1.timeStamp;
                    k._-0wn = true;
                    for each (k in this._-00N.iterator)
                    {
                        if (((!((k == null))) && ((k.id == this._-0Vn))))
                        {
                            k.figure = _-3La(_-3Yi(k.getChildByName("avatar_image")).widget).figure;
                            k.userName = IRegionWindow(k.findChildByName("avatar_click_region"))._-2QR;
                            k.userId = k.id;
                            break;
                        };
                    };
                    return (k);
                case _-QD._-23q:
                    k = (this._-3bw.clone() as _-3Yi);
                    k.width = this._-3Od;
                    k = (k.widget as _-4PA);
                    k.message = _arg1.message;
                    k.timeStamp = _arg1.timeStamp;
                    k._-0wn = false;
                    k.figure = this._-4Qe.sessionDataManager.figure;
                    k.userName = this._-4Qe.sessionDataManager.userName;
                    _local7 = this._-4Qe._-4F0(this._-0Vn);
                    if (((((!((_local7 == null))) && (!(_local7.online)))) && (((_local7.persistedMessageUser) || (_local7._-0s)))))
                    {
                        k._-3ny = false;
                    };
                    return (k);
            };
            return (null);
        }
        private function _-4QA(_arg1:_-QD, _arg2:Boolean=true):void
        {
            this._-4BL.addListItem(this._-36e(_arg1));
            if (_arg2)
            {
                this._-4BL.scrollV = 1;
                this._-4BL._-0O3();
            };
        }
        private function _-2I0():void
        {
            var k:IWindow;
            var _local3:IWindow;
            var k:int;
            while (k < this._-4BL.numListItems)
            {
                k = this._-4BL.getListItemAt(k);
                switch (k.name)
                {
                    case "msg_normal":
                        break;
                    case "msg_notification":
                        IWindowContainer(k).findChildByName("content").width = (this._-3Od - _-3zg);
                        break;
                    case "msg_info":
                        _local3 = IWindowContainer(k).findChildByName("content");
                        _local3._-2rW.minWidth = this._-3Od;
                        _local3._-2rW.maxWidth = this._-3Od;
                        break;
                };
                k.width = this._-3Od;
                k++;
            };
            this._-4BL._-0O3();
            this._frame.invalidate();
        }
        private function get _-3Od():int
        {
            return ((this._frame.width - 27));
        }
        private function _-3fO():void
        {
            IItemListWindow(this._frame.findChildByName("button_strip"))._-0O3();
        }
        private function _-32Y():void
        {
            this._-PQ = true;
            this._-4BL._-Ls();
            var k:Array = this._-I2[this._-0Vn];
            if (k == null)
            {
                return;
            };
            var k:int = k.length;
            var k:int = Math.max(0, (k - _-1Lc));
            while (k < k)
            {
                this._-4QA(k[k]);
                k++;
            };
            this._-4BL.scrollV = 1;
            this._-4BL._-0O3();
            this._-PQ = false;
        }
        private function _-4zE():void
        {
            if (-(this._-4BL._-2yI.y) > _-1nw)
            {
                return;
            };
            this._-PQ = true;
            var k:Number = this._-4BL.scrollV;
            var k:int = this._-4BL._-2yI.height;
            var k:Array = this._-I2[this._-0Vn];
            if (k == null)
            {
                return;
            };
            var k:int = (k.length - this._-4BL.numListItems);
            var k:int;
            var k:int = Math.max(0, (k - _-1Lc));
            while (k < k)
            {
                this._-4BL._-kE(this._-36e(k[k]), k);
                k++;
                k++;
            };
            this._-4BL._-0O3();
            this._-4BL.scrollV = (1 - ((k * (1 - k)) / this._-4BL._-2yI.height));
            this._-PQ = false;
        }
        private function _-1Yq():void
        {
            var k:IWindow;
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var k:int;
            this._-Ej = false;
            for each (k in this._-00N.iterator)
            {
                k = (k.id == this._-0Vn);
                if (k)
                {
                    _-44D(k, true);
                };
                k = _-3aR(k);
                if ((((((k < this._-0d9)) || (!(k)))) || (this._-Ej)))
                {
                    k.visible = false;
                }
                else
                {
                    if ((k + k.width) > this._-00N.width)
                    {
                        k.visible = false;
                        this._-Ej = true;
                    }
                    else
                    {
                        k.visible = true;
                        k.blend = ((k) ? 1 : 0);
                        k.x = k;
                        k = (k + k.width);
                    };
                };
                if (k)
                {
                    k++;
                };
            };
            this._frame.findChildByName("avatars_scroll_left").visible = (this._-0d9 > 0);
            this._frame.findChildByName("avatars_scroll_right").visible = this._-Ej;
        }
        private function get _-0n1():int
        {
            var k:IWindow;
            var k:int;
            for each (k in this._-00N.iterator)
            {
                if (_-3aR(k))
                {
                    k++;
                };
            };
            return (k);
        }
        private function _-1vI(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case WindowEvent._-4hh:
                    if (_arg2 == this._frame)
                    {
                        this._-2I0();
                        this._-1Yq();
                    };
                    return;
                case WindowEvent._-4e0:
                    if ((((_arg2.name == "_CONTAINER")) && (!(this._-PQ))))
                    {
                        this._-4zE();
                    };
                    return;
                case WindowMouseEvent._-90:
                    switch (_arg2.name)
                    {
                        case "avatar_click_region":
                            this._-09U(_arg2.parent.id);
                            break;
                        case "avatars_scroll_left":
                            if (this._-0d9 > 0)
                            {
                                this._-0d9--;
                                this._-1Yq();
                            };
                            break;
                        case "avatars_scroll_right":
                            if (this._-Ej)
                            {
                                this._-0d9++;
                                this._-1Yq();
                            };
                            break;
                        case "close_conversation_button":
                            this._-1dH(this._-0Vn);
                            break;
                        case "follow_button":
                            this._-4Qe.send(new _-1Cd(this._-0Vn));
                            this._-4Qe.send(new _-2ka("Navigation", "IM", "go.im"));
                            break;
                        case "profile_button":
                            this._-4Qe.send(new _-RA(this._-0Vn));
                            this._-4Qe.trackGoogle("extendedProfile", "messenger_conversation");
                            break;
                        case "report_button":
                            this._-4Qe._-1fk(this._-0Vn);
                            break;
                        case "header_button_close":
                            this.hide();
                            break;
                    };
                    return;
            };
        }
        public function _-2tx(_arg1:_-3Yi, _arg2:String):void
        {
            var k:Array;
            var k:String;
            this._-4Qe.send(new _-1JP(this._-0Vn, _arg2));
            _-0wK(_arg1.widget).message = "";
            var k:Array = this._-I2[this._-0Vn];
            if ((((k.length == 0)) || ((((k.length == 1)) && ((_-QD(k[0]).type == _-QD._-03p))))))
            {
                this._-4Qe._-4qA();
            };
            var k:Boolean = ((this._-4Qe.sessionDataManager.isPerkAllowed(_-4Tn.SAFE_CHAT)) && (!(this._-4Qe.sessionDataManager.isPerkAllowed(_-4Tn.FULL_CHAT))));
            var k:String = "";
            if (k)
            {
                k = _arg2.split(/(\W+)/);
                for each (k in k)
                {
                    if ((((k.search(/\w/) >= 0)) && (!(this._frame.context.isSafeWord(k)))))
                    {
                        k = (k + "‘‘‘");
                    }
                    else
                    {
                        k = (k + k);
                    };
                };
            }
            else
            {
                k = _arg2;
            };
            k = this._-4OI(k);
            this._-3cm(this._-0Vn, k, false);
        }
        private function _-4OI(_arg1:String):String
        {
            if (_arg1.search("\\${") == 0)
            {
                return ((" " + _arg1));
            };
            return (_arg1);
        }

    }
}//package _-2W2

//------------------------------------------------------------
//_-2WG._-0bk

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-0X9;
    import _-4Aj.*;

    public class _-0bk extends _-7V implements _-0tL 
    {

        public function _-0bk(_arg1:Function)
        {
            super(_arg1, _-0X9);
        }
        public function _-3-5():_-0X9
        {
            return ((_-515 as _-0X9));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-0Jd

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-47I;
    import _-4Aj.*;

    public class _-0Jd extends _-7V implements _-0tL 
    {

        public function _-0Jd(_arg1:Function)
        {
            super(_arg1, _-47I);
        }
        public function _-3-5():_-47I
        {
            return ((_-515 as _-47I));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-0l7

package _-2WG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-0l7 implements _-1zZ 
    {

        private var _-58M:Array;

        public function _-0l7(_arg1:_-0s1):void
        {
            this._-58M = [];
            super();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-58M.push(new _-1A5(_arg1));
                k++;
            };
        }
        public function dispose():void
        {
            this._-58M = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-58M == null));
        }
        public function get guides():Array
        {
            return (this._-58M);
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-0Nc

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-bB;
    import _-4Aj.*;

    public class _-0Nc extends _-7V implements _-0tL 
    {

        public function _-0Nc(_arg1:Function)
        {
            super(_arg1, _-bB);
        }
        public function _-3-5():_-bB
        {
            return ((_-515 as _-bB));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-0oT

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-4O0;
    import _-4Aj.*;

    public class _-0oT extends _-7V implements _-0tL 
    {

        public function _-0oT(_arg1:Function)
        {
            super(_arg1, _-4O0);
        }
        public function _-3-5():_-4O0
        {
            return ((_-515 as _-4O0));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-0RQ

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-3pF;
    import _-4Aj.*;

    public class _-0RQ extends _-7V implements _-0tL 
    {

        public function _-0RQ(_arg1:Function)
        {
            super(_arg1, _-3pF);
        }
        public function _-3-5():_-3pF
        {
            return ((_-515 as _-3pF));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-0Z2

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-1wK;
    import _-4Aj.*;

    public class _-0Z2 extends _-7V implements _-0tL 
    {

        public function _-0Z2(_arg1:Function)
        {
            super(_arg1, _-1wK);
        }
        public function _-3-5():_-1wK
        {
            return ((_-515 as _-1wK));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-16U

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-3k8;
    import _-4Aj.*;

    public class _-16U extends _-7V implements _-0tL 
    {

        public function _-16U(_arg1:Function)
        {
            super(_arg1, _-3k8);
        }
        public function _-3-5():_-3k8
        {
            return ((_-515 as _-3k8));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1a5

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-05b;
    import _-4Aj.*;

    public class _-1a5 extends _-7V implements _-0tL 
    {

        public function _-1a5(_arg1:Function)
        {
            super(_arg1, _-05b);
        }
        public function _-3-5():_-05b
        {
            return ((_-515 as _-05b));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1A5

package _-2WG
{
    import _-4Aj._-0s1;
    import _-U2.*;

    public class _-1A5 implements _-SA 
    {

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-5AE:String;

        public function _-1A5(_arg1:_-0s1)
        {
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
            this._-5AE = _arg1.readString();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1-B

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-0pg;
    import _-4Aj.*;

    public class _-1-B extends _-7V implements _-0tL 
    {

        public function _-1-B(_arg1:Function)
        {
            super(_arg1, _-0pg);
        }
        public function _-3-5():_-0pg
        {
            return ((_-515 as _-0pg));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1Bf

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-3Dc;
    import _-4Aj.*;

    public class _-1Bf extends _-7V implements _-0tL 
    {

        public function _-1Bf(_arg1:Function)
        {
            super(_arg1, _-3Dc);
        }
        public function _-3-5():_-3Dc
        {
            return ((_-515 as _-3Dc));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1Ga

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-FA;
    import _-4Aj.*;

    public class _-1Ga extends _-7V implements _-0tL 
    {

        public function _-1Ga(_arg1:Function)
        {
            super(_arg1, _-FA);
        }
        public function _-3-5():_-FA
        {
            return ((_-515 as _-FA));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1mu

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-1L7;
    import _-4Aj.*;

    public class _-1mu extends _-7V implements _-0tL 
    {

        public function _-1mu(_arg1:Function)
        {
            super(_arg1, _-1L7);
        }
        public function _-3-5():_-1L7
        {
            return ((_-515 as _-1L7));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1rM

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-3bA;
    import _-4Aj.*;

    public class _-1rM extends _-7V implements _-0tL 
    {

        public function _-1rM(_arg1:Function)
        {
            super(_arg1, _-3bA);
        }
        public function _-3-5():_-3bA
        {
            return ((_-515 as _-3bA));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1ws

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-1g6;
    import _-4Aj.*;

    public class _-1ws extends _-7V implements _-0tL 
    {

        public function _-1ws(_arg1:Function)
        {
            super(_arg1, _-1g6);
        }
        public function _-3-5():_-1g6
        {
            return ((_-515 as _-1g6));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-1Z7

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-4Lk;
    import _-4Aj.*;

    public class _-1Z7 extends _-7V implements _-0tL 
    {

        public function _-1Z7(_arg1:Function)
        {
            super(_arg1, _-4Lk);
        }
        public function _-3-5():_-4Lk
        {
            return ((_-515 as _-4Lk));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-24p

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-3GN;
    import _-4Aj.*;

    public class _-24p extends _-7V implements _-0tL 
    {

        public function _-24p(_arg1:Function)
        {
            super(_arg1, _-3GN);
        }
    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-25m

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw.CallForHelpPendingCallsMessageParser;
    import _-4Aj.*;

    public class _-25m extends _-7V implements _-0tL 
    {

        public function _-25m(_arg1:Function)
        {
            super(_arg1, CallForHelpPendingCallsMessageParser);
        }
        public function _-3-5():CallForHelpPendingCallsMessageParser
        {
            return ((_-515 as CallForHelpPendingCallsMessageParser));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-2DO

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-39w;
    import _-4Aj.*;

    public class _-2DO extends _-7V implements _-0tL 
    {

        public function _-2DO(_arg1:Function)
        {
            super(_arg1, _-39w);
        }
        public function _-3-5():_-39w
        {
            return ((_-515 as _-39w));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-2YW

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-T-;
    import _-4Aj.*;

    public class _-2YW extends _-7V implements _-0tL 
    {

        public function _-2YW(_arg1:Function)
        {
            super(_arg1, _-T-);
        }
        public function _-3-5():_-T-
        {
            return ((_-515 as _-T-));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-33y

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-2IC;
    import _-4Aj.*;

    public class _-33y extends _-7V implements _-0tL 
    {

        public function _-33y(_arg1:Function)
        {
            super(_arg1, _-2IC);
        }
        public function _-3-5():_-2IC
        {
            return ((_-515 as _-2IC));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-355

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-1jO;
    import _-4Aj.*;

    public class _-355 extends _-7V implements _-0tL 
    {

        public function _-355(_arg1:Function)
        {
            super(_arg1, _-1jO);
        }
        public function _-3-5():_-1jO
        {
            return ((_-515 as _-1jO));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-36Q

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-2IR;
    import _-4Aj.*;

    public class _-36Q extends _-7V implements _-0tL 
    {

        public function _-36Q(_arg1:Function)
        {
            super(_arg1, _-2IR);
        }
        public function _-3-5():_-2IR
        {
            return ((_-515 as _-2IR));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-3c6

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-3QZ;
    import _-4Aj.*;

    public class _-3c6 extends _-7V implements _-0tL 
    {

        public function _-3c6(_arg1:Function)
        {
            super(_arg1, _-3QZ);
        }
        public function _-3-5():_-3QZ
        {
            return ((_-515 as _-3QZ));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-3hF

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-0mc;
    import _-4Aj.*;

    public class _-3hF extends _-7V implements _-0tL 
    {

        public function _-3hF(_arg1:Function)
        {
            super(_arg1, _-0mc);
        }
    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-3Zv

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-0Vu;
    import _-4Aj.*;

    public class _-3Zv extends _-7V implements _-0tL 
    {

        public function _-3Zv(_arg1:Function)
        {
            super(_arg1, _-0Vu);
        }
        public function _-3-5():_-0Vu
        {
            return ((_-515 as _-0Vu));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-4Jt

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-57n;
    import _-4Aj.*;

    public class _-4Jt extends _-7V implements _-0tL 
    {

        public function _-4Jt(_arg1:Function)
        {
            super(_arg1, _-57n);
        }
        public function _-3-5():_-57n
        {
            return ((_-515 as _-57n));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-4Vp

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-2gt;
    import _-4Aj.*;

    public class _-4Vp extends _-7V implements _-0tL 
    {

        public function _-4Vp(_arg1:Function)
        {
            super(_arg1, _-2gt);
        }
        public function _-3-5():_-2gt
        {
            return ((_-515 as _-2gt));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-4X1

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-43b;
    import _-4Aj.*;

    public class _-4X1 extends _-7V implements _-0tL 
    {

        public function _-4X1(_arg1:Function)
        {
            super(_arg1, _-43b);
        }
        public function _-3-5():_-43b
        {
            return ((_-515 as _-43b));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-7X

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-01n;
    import _-4Aj.*;

    public class _-7X extends _-7V implements _-0tL 
    {

        public function _-7X(_arg1:Function)
        {
            super(_arg1, _-01n);
        }
        public function _-3-5():_-01n
        {
            return ((_-515 as _-01n));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-A2

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-3BR;
    import _-4Aj.*;

    public class _-A2 extends _-7V implements _-0tL 
    {

        public function _-A2(_arg1:Function)
        {
            super(_arg1, _-3BR);
        }
        public function _-3-5():_-3BR
        {
            return ((_-515 as _-3BR));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-bK

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-4mF;
    import _-4Aj.*;

    public class _-bK extends _-7V implements _-0tL 
    {

        public function _-bK(_arg1:Function)
        {
            super(_arg1, _-4mF);
        }
        public function _-3-5():_-4mF
        {
            return ((_-515 as _-4mF));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-MZ

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-4lm;
    import _-4Aj.*;

    public class _-MZ extends _-7V implements _-0tL 
    {

        public function _-MZ(_arg1:Function)
        {
            super(_arg1, _-4lm);
        }
        public function _-3-5():_-4lm
        {
            return ((_-515 as _-4lm));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WG._-yg

package _-2WG
{
    import _-4Aj._-7V;
    import _-1xw._-4h7;
    import _-4Aj.*;

    public class _-yg extends _-7V implements _-0tL 
    {

        public function _-yg(_arg1:Function)
        {
            super(_arg1, _-4h7);
        }
        public function _-3-5():_-4h7
        {
            return ((_-515 as _-4h7));
        }

    }
}//package _-2WG

//------------------------------------------------------------
//_-2WW._-1wW

package _-2WW
{
    import _-Fv.CategoryBaseModel;
    import _-4Kb.HabboAvatarEditor;
    import _-ZI.FigureData;
    import _-Fv.*;

    public class _-1wW extends CategoryBaseModel implements _-1Oc 
    {

        public function _-1wW(_arg1:HabboAvatarEditor)
        {
            super(_arg1);
        }
        override protected function init():void
        {
            super.init();
            _-50c(FigureData._-3vy);
            _-50c(FigureData._-0x);
            _-50c(FigureData._-2R3);
            _-rY = true;
            if (!_-Ke)
            {
                _-Ke = new LegsView(this, controller.manager.windowManager, controller.manager.assets);
                if (_-Ke)
                {
                    _-Ke.init();
                };
            };
        }

    }
}//package _-2WW

//------------------------------------------------------------
//_-2WW.LegsView

package _-2WW
{
    import _-Fv.CategoryBaseView;
    import _-Fv._-1Oc;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-295._-243;
    import _-Fv._-2A4;
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import _-ZI.FigureData;
    import _-Fv.AvatarEditorGridView;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-Fv.*;

    public class LegsView extends CategoryBaseView implements _-Om 
    {

        public function LegsView(_arg1:_-1Oc, _arg2:_-3Ts, _arg3:_-39L)
        {
            super(_arg2, _arg3, _arg1);
        }
        override public function init():void
        {
            var k:_-243;
            var _local2:_-2A4;
            if (!_-0xv)
            {
                k = (_-AV.getAssetByName("avatareditor_legs_base") as _-243);
                if (k)
                {
                    _-0xv = IWindowContainer(_-U-.buildFromXML((k.content as XML)));
                    _-0xv.visible = false;
                    _-0xv.procedure = this._-3kk;
                };
            };
            if (!_-4DM)
            {
                _-4DM = new Dictionary();
                _-4DM[FigureData._-3vy] = new AvatarEditorGridView(_-3n-, FigureData._-3vy, _-U-, _-AV);
                _-4DM[FigureData._-0x] = new AvatarEditorGridView(_-3n-, FigureData._-0x, _-U-, _-AV);
                _-4DM[FigureData._-2R3] = new AvatarEditorGridView(_-3n-, FigureData._-2R3, _-U-, _-AV);
            }
            else
            {
                for each (_local2 in _-4DM)
                {
                    _local2._-40Y();
                };
            };
            _-rY = true;
            _-2VB();
            if (((_-3n-) && ((_-3Y2 == ""))))
            {
                _-3n-.switchCategory(FigureData._-3vy);
            };
        }
        public function switchCategory(_arg1:String):void
        {
            if (_-0xv == null)
            {
                return;
            };
            if (_-0xv.disposed)
            {
                return;
            };
            if (_-3Y2 == _arg1)
            {
                return;
            };
            _-0rr(_-366);
            switch (_arg1)
            {
                case FigureData._-3vy:
                    _-366 = "tab_pants";
                    break;
                case FigureData._-0x:
                    _-366 = "tab_shoes";
                    break;
                case FigureData._-2R3:
                    _-366 = "tab_belts";
                    break;
                default:
                    throw (new Error((('[LegsView] Unknown item category: "' + _arg1) + '"')));
            };
            _-3Y2 = _arg1;
            _-0T4(_-366);
            if (!_-rY)
            {
                this.init();
            };
            _-3YH();
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "tab_pants":
                        this.switchCategory(FigureData._-3vy);
                        break;
                    case "tab_shoes":
                        this.switchCategory(FigureData._-0x);
                        break;
                    case "tab_belts":
                        this.switchCategory(FigureData._-2R3);
                        break;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    switch (_arg2.name)
                    {
                        case "tab_pants":
                        case "tab_shoes":
                        case "tab_belts":
                            _-0T4(_arg2.name);
                            break;
                    };
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        switch (_arg2.name)
                        {
                            case "tab_pants":
                            case "tab_shoes":
                            case "tab_belts":
                                if (_-366 != _arg2.name)
                                {
                                    _-0rr(_arg2.name);
                                };
                                return;
                        };
                    };
                };
            };
        }

    }
}//package _-2WW

//------------------------------------------------------------
//_-2XB._-0jA

package _-2XB
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0jA implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0jA(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-0K2

package _-2XB
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0K2 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0K2()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-0-N

package _-2XB
{
    import _-4Aj.*;

    public class _-0-N implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-0qu

package _-2XB
{
    import _-4Aj.*;

    public class _-0qu implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-0Xs

package _-2XB
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0Xs implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0Xs(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-1Lm

package _-2XB
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1Lm implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1Lm(_arg1:int, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-29q

package _-2XB
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-29q implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-29q()
        {
            this._-4Nw = new Array();
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-2Ci

package _-2XB
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2Ci implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2Ci(_arg1:int, _arg2:int, _arg3:String, _arg4:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
            this._-4Nw.push(_arg4);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-2KX

package _-2XB
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2KX implements _-1oF, _-1zZ 
    {

        public static const _-3r5:int = 1;
        public static const _-3rm:int = 2;

        private var _-4Nw:Array;

        public function _-2KX(_arg1:int, _arg2:int, _arg3:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
            this._-4Nw.push(_arg3);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2XB._-363

package _-2XB
{
    import _-4Aj.*;

    public class _-363 implements _-1oF 
    {

        public function _-43Z():Array
        {
            return (new Array());
        }
        public function dispose():void
        {
        }

    }
}//package _-2XB

//------------------------------------------------------------
//_-2Xl.RSAKey

package _-2Xl
{
    import _-2r-.BigInteger;
    import _-2F7.Random;
    import flash.utils.ByteArray;
    import _-4yl._-0h6;

    public class RSAKey 
    {

        public var e:int;
        public var n:BigInteger;
        public var d:BigInteger;
        public var p:BigInteger;
        public var q:BigInteger;
        public var _-2Ia:BigInteger;
        public var _-2gx:BigInteger;
        public var _-Lg:BigInteger;
        protected var _-3N1:Boolean;
        protected var _-30t:Boolean;

        public function RSAKey(_arg1:BigInteger, _arg2:int, _arg3:BigInteger=null, _arg4:BigInteger=null, _arg5:BigInteger=null, _arg6:BigInteger=null, _arg7:BigInteger=null, _arg8:BigInteger=null)
        {
            this.n = _arg1;
            this.e = _arg2;
            this.d = _arg3;
            this.p = _arg4;
            this.q = _arg5;
            this._-2Ia = _arg6;
            this._-2gx = _arg7;
            this._-Lg = _arg8;
            this._-30t = ((!((this.n == null))) && (!((this.e == 0))));
            this._-3N1 = ((this._-30t) && (!((this.d == null))));
        }
        public static function _-43e(_arg1:String, _arg2:String):RSAKey
        {
            return (new RSAKey(new BigInteger(_arg1, 16), parseInt(_arg2, 16)));
        }
        public static function _-0yp(_arg1:String, _arg2:String, _arg3:String, _arg4:String=null, _arg5:String=null, _arg6:String=null, _arg7:String=null, _arg8:String=null):RSAKey
        {
            if (_arg4 == null)
            {
                return (new RSAKey(new BigInteger(_arg1, 16), parseInt(_arg2, 16), new BigInteger(_arg3, 16)));
            };
            return (new RSAKey(new BigInteger(_arg1, 16), parseInt(_arg2, 16), new BigInteger(_arg3, 16), new BigInteger(_arg4, 16), new BigInteger(_arg5, 16), new BigInteger(_arg6, 16), new BigInteger(_arg7), new BigInteger(_arg8)));
        }
        public static function _-1cQ(_arg1:uint, _arg2:String):RSAKey
        {
            var k:BigInteger;
            var k:BigInteger;
            var k:BigInteger;
            var k:BigInteger;
            var k:Random = new Random();
            var k:uint = (_arg1 >> 1);
            var k:RSAKey = new RSAKey(null, 0, null);
            k.e = parseInt(_arg2, 16);
            var k:BigInteger = new BigInteger(_arg2, 16);
            while (true)
            {
                while (true)
                {
                    k.p = _-HH((_arg1 - k), k);
                    if ((((k.p.subtract(BigInteger._-37z)._-4gf(k)._-2uh(BigInteger._-37z) == 0)) && (k.p._-m8(10))))
                    {
                        break;
                    };
                };
                while (true)
                {
                    k.q = _-HH(k, k);
                    if ((((k.q.subtract(BigInteger._-37z)._-4gf(k)._-2uh(BigInteger._-37z) == 0)) && (k.q._-m8(10))))
                    {
                        break;
                    };
                };
                if (k.p._-2uh(k.q) <= 0)
                {
                    k = k.p;
                    k.p = k.q;
                    k.q = k;
                };
                k = k.p.subtract(BigInteger._-37z);
                k = k.q.subtract(BigInteger._-37z);
                k = k._-2yK(k);
                if (k._-4gf(k)._-2uh(BigInteger._-37z) == 0)
                {
                    k.n = k.p._-2yK(k.q);
                    k.d = k._-zq(k);
                    k._-2Ia = k.d.mod(k);
                    k._-2gx = k.d.mod(k);
                    k._-Lg = k.q._-zq(k.p);
                    break;
                };
            };
            return (k);
        }
        protected static function _-HH(_arg1:int, _arg2:Random):BigInteger
        {
            if (_arg1 < 2)
            {
                return (BigInteger._-3ZN(1));
            };
            var k:ByteArray = new ByteArray();
            _arg2._-3QN(k, (_arg1 >> 3));
            k.position = 0;
            var k:BigInteger = new BigInteger(k);
            k._-3Vq(_arg1, 1);
            return (k);
        }

        public function _-2X4():uint
        {
            return (((this.n._-3Ti() + 7) / 8));
        }
        public function dispose():void
        {
            this.e = 0;
            this.n.dispose();
            this.n = null;
            _-0h6._-1P8();
        }
        public function _-0j7(_arg1:ByteArray, _arg2:ByteArray, _arg3:uint, _arg4:Function=null):void
        {
            this._-0Pe(this._-1lO, _arg1, _arg2, _arg3, _arg4, 2);
        }
        public function _-q7(_arg1:ByteArray, _arg2:ByteArray, _arg3:uint, _arg4:Function=null):void
        {
            this._-1WC(this.doPrivate2, _arg1, _arg2, _arg3, _arg4, 2);
        }
        public function sign(_arg1:ByteArray, _arg2:ByteArray, _arg3:uint, _arg4:Function=null):void
        {
            this._-0Pe(this.doPrivate2, _arg1, _arg2, _arg3, _arg4, 1);
        }
        public function _-1aq(_arg1:ByteArray, _arg2:ByteArray, _arg3:uint, _arg4:Function=null):void
        {
            this._-1WC(this._-1lO, _arg1, _arg2, _arg3, _arg4, 1);
        }
        private function _-0Pe(_arg1:Function, _arg2:ByteArray, _arg3:ByteArray, _arg4:uint, _arg5:Function, _arg6:int):void
        {
            var k:BigInteger;
            var k:BigInteger;
            if (_arg5 == null)
            {
                k = this.pkcs1pad;
            };
            if (_arg2.position >= _arg2.length)
            {
                _arg2.position = 0;
            };
            var k:uint = this._-2X4();
            var k:int = (_arg2.position + _arg4);
            while (_arg2.position < k)
            {
                k = new BigInteger(_arg5(_arg2, k, k, _arg6), k);
                k = _arg1(k);
                k._-0pj(_arg3);
            };
        }
        private function _-1WC(_arg1:Function, _arg2:ByteArray, _arg3:ByteArray, _arg4:uint, _arg5:Function, _arg6:int):void
        {
            var k:BigInteger;
            var k:BigInteger;
            var k:ByteArray;
            if (_arg5 == null)
            {
                k = this.pkcs1unpad;
            };
            if (_arg2.position >= _arg2.length)
            {
                _arg2.position = 0;
            };
            var k:uint = this._-2X4();
            var k:int = (_arg2.position + _arg4);
            while (_arg2.position < k)
            {
                k = new BigInteger(_arg2, _arg4);
                k = _arg1(k);
                k = _arg5(k, k);
                _arg3.writeBytes(k);
            };
        }
        private function pkcs1pad(_arg1:ByteArray, _arg2:int, _arg3:uint, _arg4:uint=2):ByteArray
        {
            var k:int;
            var k:ByteArray = new ByteArray();
            var k:uint = _arg1.position;
            k = Math.min(_arg2, _arg1.length, ((k + _arg3) - 11));
            _arg1.position = k;
            var k:int = (k - 1);
            while ((((k >= k)) && ((_arg3 > 11))))
            {
                var _local10 = --k;
                k[_local10] = _arg1[k--];
            };
            _local10 = --k;
            k[_local10] = 0;
            var k:Random = new Random();
            while (k > 2)
            {
                k = 0;
                while (k == 0)
                {
                    k = (((_arg4)==2) ? k._-Pf() : 0xFF);
                };
                var _local11 = --k;
                k[_local11] = k;
            };
            _local11 = --k;
            k[_local11] = _arg4;
            var _local12 = --k;
            k[_local12] = 0;
            return (k);
        }
        private function pkcs1unpad(_arg1:BigInteger, _arg2:uint, _arg3:uint=2):ByteArray
        {
            var k:ByteArray = _arg1._-Kp();
            var k:ByteArray = new ByteArray();
            k.position = 0;
            var k:int;
            while ((((k < k.length)) && ((k[k] == 0))))
            {
                k++;
            };
            if (((!(((k.length - k) == (_arg2 - 1)))) || ((k[k] > 2))))
            {
                return (null);
            };
            k++;
            while (k[k] != 0)
            {
                ++k;
                if (k >= k.length)
                {
                    return (null);
                };
            };
            while (++k < k.length)
            {
                k.writeByte(k[k]);
            };
            k.position = 0;
            return (k);
        }
        private function _-3zr(_arg1:ByteArray, _arg2:int, _arg3:uint):ByteArray
        {
            return (_arg1);
        }
        public function toString():String
        {
            return ("rsa");
        }
        protected function _-1lO(_arg1:BigInteger):BigInteger
        {
            return (_arg1._-29Q(this.e, this.n));
        }
        protected function doPrivate2(_arg1:BigInteger):BigInteger
        {
            if ((((this.p == null)) && ((this.q == null))))
            {
                return (_arg1._-3ZS(this.d, this.n));
            };
            var k:BigInteger = _arg1.mod(this.p)._-3ZS(this._-2Ia, this.p);
            var k:BigInteger = _arg1.mod(this.q)._-3ZS(this._-2gx, this.q);
            while (k._-2uh(k) < 0)
            {
                k = k.add(this.p);
            };
            var k:BigInteger = k.subtract(k)._-2yK(this._-Lg).mod(this.p)._-2yK(this.q).add(k);
            return (k);
        }
        protected function _-25E(_arg1:BigInteger):BigInteger
        {
            if ((((this.p == null)) || ((this.q == null))))
            {
                return (_arg1._-3ZS(this.d, this.n));
            };
            var k:BigInteger = _arg1.mod(this.p)._-3ZS(this._-2Ia, this.p);
            var k:BigInteger = _arg1.mod(this.q)._-3ZS(this._-2gx, this.q);
            while (k._-2uh(k) < 0)
            {
                k = k.add(this.p);
            };
            return (k.subtract(k)._-2yK(this._-Lg).mod(this.p)._-2yK(this.q).add(k));
        }

    }
}//package _-2Xl

//------------------------------------------------------------
//_-2xv._-0Mt

package _-2xv
{
    import _-1ae.IFrameWindow;
    import _-0Ie.WindowMouseEvent;
    import _-4GV._-3UA;
    import flash.geom.Rectangle;
    import _-4GV.HabboNavigator;
    import _-1B-.*;

    public class _-0Mt implements _-1zZ 
    {

        private var _-0xv:IFrameWindow;
        private var _-4jK:Function;

        public function _-0Mt(_arg1:HabboNavigator, _arg2:Function, _arg3:String, _arg4:String)
        {
            this._-0xv = IFrameWindow(_arg1.getXmlWindow("ros_confirm"));
            this._-4jK = _arg2;
            this._-0xv.findChildByTag("close").addEventListener(WindowMouseEvent._-90, this._-50H);
            this._-0xv.findChildByName("ok").addEventListener(WindowMouseEvent._-90, this._-2TI);
            this._-0xv.caption = _arg3;
            this._-0xv.findChildByName("message").caption = _arg4;
            var k:Rectangle = _-3UA._-4G7(this._-0xv.desktop, this._-0xv.width, this._-0xv.height);
            this._-0xv.x = k.x;
            this._-0xv.y = k.y;
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        private function _-50H(_arg1:WindowMouseEvent):void
        {
            this.dispose();
        }
        private function _-2TI(_arg1:WindowMouseEvent):void
        {
            this._-4jK.apply();
            this.dispose();
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.destroy();
                this._-0xv = null;
            };
            this._-4jK = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-0xv == null));
        }

    }
}//package _-2xv

//------------------------------------------------------------
//_-2xv._-9c

package _-2xv
{
    import _-3yH.*;

    public class _-9c implements _-3mN 
    {

        private var _-4lu:int;
        private var _-2lb:String;

        public function _-9c(_arg1:int, _arg2:String)
        {
            this._-4lu = _arg1;
            this._-2lb = _arg2;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-2xv

//------------------------------------------------------------
//_-2xv._-9x

package _-2xv
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-0Ie.WindowEvent;

    public class _-9x extends UserListCtrl 
    {

        private var _-1D4:int = -1;

        public function _-9x(_arg1:HabboNavigator)
        {
            super(_arg1, false);
        }
        override protected function getRowView():IWindowContainer
        {
            return (IWindowContainer(_-2bJ.getXmlWindow("ros_banned_user")));
        }
        override protected function onBgMouseClick(_arg1:WindowEvent):void
        {
            this._-1D4 = _arg1.target.parent.id;
            this._-4iN((_arg1.target._-4Ju("moderation_banned_users") as IItemListWindow));
        }
        override protected function getBgColor(_arg1:int, _arg2:Boolean):uint
        {
            if (_arg1 == this._-1D4)
            {
                return (4288329945);
            };
            return (super.getBgColor(_arg1, _arg2));
        }
        private function _-4iN(_arg1:IItemListWindow):void
        {
            var k:IWindowContainer;
            var k:int;
            while (k < _-15I)
            {
                k = IWindowContainer(_arg1.getListItemAt(k));
                k.color = this.getBgColor(k, false);
                k++;
            };
        }
        public function get _-59r():int
        {
            return (this._-1D4);
        }

    }
}//package _-2xv

//------------------------------------------------------------
//_-2xv.FriendList

package _-2xv
{
    import flash.utils.Dictionary;
    import _-2JC._-4mo;
    import _-2JC._-4yr;
    import _-1Wu._-ks;
    import _-4Aj._-0tL;
    import _-2JC._-47;
    import _-1Wu.package;

    public class FriendList 
    {

        private var _-3M3:Dictionary;
        private var _-3EB:Array;

        public function FriendList()
        {
            this._-3M3 = new Dictionary();
            super();
        }
        public function _-3Ms(_arg1:_-0tL):void
        {
            var k:_-4mo;
            var k:_-ks = (_arg1 as _-4yr)._-3-5();
            for each (k in k.friends)
            {
                this._-3M3[k.id] = k.name;
            };
        }
        public function _-4so(_arg1:_-0tL):void
        {
            var k:int;
            var k:_-4mo;
            var k:package = (_arg1 as _-47)._-3-5();
            for each (k in k._-4p5)
            {
                this._-3M3[k] = null;
            };
            for each (k in k._-4AX)
            {
                this._-3M3[k.id] = k.name;
            };
            this._-3EB = (((((k._-4p5.length > 0)) || ((k._-4AX.length > 0)))) ? null : this._-3EB);
        }
        public function get list():Array
        {
            var k:String;
            var k:int;
            var k:String;
            if (this._-3EB == null)
            {
                this._-3EB = new Array();
                for (k in this._-3M3)
                {
                    k = int(k);
                    k = this._-3M3[k];
                    if (k != null)
                    {
                        this._-3EB.push(new _-9c(k, k));
                    };
                };
                this._-3EB.sortOn("userName", Array.CASEINSENSITIVE);
            };
            return (this._-3EB);
        }

    }
}//package _-2xv

//------------------------------------------------------------
//_-2xv.RoomCreateViewCtrl

package _-2xv
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-4GV._-sd;
    import _-32h._-5-5;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-1Jd._-1ij;
    import _-1ae.IBitmapWrapperWindow;
    import flash.events.Event;
    import _-2vN._-3hb;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-1ae.IButtonWindow;
    import _-1ae.ITextFieldWindow;
    import _-4GV._-3UA;
    import flash.geom.Rectangle;
    import _-1ae.ITextWindow;
    import _-1ae.IIconWindow;
    import _-1Jd._-3wh;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-0Ie.WindowEvent;
    import _-0hd._-0dv;
    import _-4GV.*;

    public class RoomCreateViewCtrl 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0Mb:IWindowContainer;
        private var _-3EB:IItemListWindow;
        private var _-4cK:_-sd;
        private var _-0uz:Array;
        private var _-1DL:_-5-5;
        private var _-o6:Timer;
        private var _-31X:Boolean = true;

        public function RoomCreateViewCtrl(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
            this._-o6 = new Timer(100);
            this._-o6.addEventListener(TimerEvent.TIMER, this._-0rx);
            this._-0uz = new Array();
            this._-0uz.push(new _-5-5(_-1ij._-42U, 104, "a"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 94, "b"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 36, "c"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 84, "d"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 80, "e"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 80, "f"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 416, "i"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 320, "j"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 448, "k"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 352, "l"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 384, "m"));
            this._-0uz.push(new _-5-5(_-1ij._-42U, 372, "n"));
            this._-0uz.push(new _-5-5(_-1ij._-12G, 80, "g"));
            this._-0uz.push(new _-5-5(_-1ij._-12G, 74, "h"));
            this._-0uz.push(new _-5-5(_-1ij._-12G, 416, "o"));
            this._-0uz.push(new _-5-5(_-1ij._-12G, 352, "p"));
            this._-0uz.push(new _-5-5(_-1ij._-12G, 304, "q"));
            this._-0uz.push(new _-5-5(_-1ij._-12G, 336, "r"));
            this._-0uz.push(new _-5-5(_-1ij._-12G, 748, "u"));
            this._-0uz.push(new _-5-5(_-1ij._-12G, 438, "v"));
            this._-0uz.push(new _-5-5(_-1ij._-1pk, 540, "t"));
            this._-0uz.push(new _-5-5(_-1ij._-1pk, 0x0200, "w"));
            this._-0uz.push(new _-5-5(_-1ij._-1pk, 396, "x"));
            this._-0uz.push(new _-5-5(_-1ij._-1pk, 440, "y"));
            this._-0uz.push(new _-5-5(_-1ij._-1pk, 456, "z"));
            this._-0uz.push(new _-5-5(_-1ij._-1pk, 208, "0"));
            this._-0uz.push(new _-5-5(-1, 2500, "snowwar1"));
            this._-0uz.push(new _-5-5(-1, 2500, "snowwar2"));
        }
        public function dispose():void
        {
            if (this._-o6)
            {
                this._-o6.removeEventListener(TimerEvent.TIMER, this._-0rx);
                this._-o6.reset();
                this._-o6 = null;
            };
        }
        private function _-0rx(_arg1:Event):void
        {
            var k:String = "select_arrow";
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-1DL.view.findChildByName(k));
            var k:int;
            var k:int = 15;
            var k:int = (((((Math.abs((k.y - k)) < 2)) || ((Math.abs((k.y - k)) < 2)))) ? 1 : 2);
            k.y = (k.y + ((this._-31X) ? k : -(k)));
            if (k.y < k)
            {
                this._-31X = true;
                k.y = (k + 1);
            }
            else
            {
                if (k.y > k)
                {
                    this._-31X = false;
                    k.y = (k - 1);
                };
            };
        }
        public function hide():void
        {
            this._-0Mb.visible = false;
        }
        public function show():void
        {
            this.prepare();
            this._-0Mb.visible = true;
            this.refresh();
            this._-0Mb.activate();
            this._-o6.start();
        }
        private function _-00i(_arg1:IWindow, _arg2:Function):void
        {
            if (_arg1 != null)
            {
                _arg1.setParamFlag(_-3hb._-0g6, true);
                _arg1.addEventListener(WindowMouseEvent._-90, _arg2);
            };
        }
        private function prepare():void
        {
            if (this._-0Mb != null)
            {
                return;
            };
            this._-0Mb = IWindowContainer(this._-2bJ.getXmlWindow("roc_create_room"));
            this._-3EB = IItemListWindow(this._-0Mb.findChildByName("layout_item_list"));
            this._-42M();
            var k:IButtonWindow = this._-OI();
            this._-00i(k, this._-Iq);
            var k:IButtonWindow = this._-2AR();
            this._-00i(k, this._-2lt);
            var k:IWindow = this._-0Mb.findChildByTag("close");
            this._-00i(k, this._-2lt);
            this._-4cK = new _-sd(this._-2bJ, ITextFieldWindow(this._-0Mb.findChildByName("room_name_input")), 25, null, this._-2bJ.getText("navigator.createroom.roomnameinfo"));
            var k:Rectangle = _-3UA._-4G7(this._-0Mb.desktop, this._-0Mb.width, this._-0Mb.height);
            this._-0Mb.x = k.x;
            this._-0Mb.y = k.y;
        }
        public function refresh():void
        {
            this._-4cK._-0Yh();
            this._-4cK.input._-48j = 0xFFFFFFFF;
            this._-1DL = this._-0uz[0];
            this._-42M();
            this._-tS();
        }
        private function _-tS():void
        {
            var k:_-5-5;
            var k:Boolean;
            var k:ITextWindow;
            for each (k in this._-0uz)
            {
                if (k.view == null)
                {
                }
                else
                {
                    k = (k == this._-1DL);
                    k.view.findChildByName("bg_sel").visible = k;
                    k.view.findChildByName("bg_unsel").visible = !(k);
                    k = ITextWindow(k.view.findChildByName("tile_size_txt"));
                    k.textColor = ((k) ? 0xFFFFFFFF : 0xFF000000);
                    k.color = ((k) ? 4285432196 : 4291546059);
                    this._-2bJ.refreshButton(k.view, "tile_icon_black", !(k), null, 0);
                    this._-2bJ.refreshButton(k.view, "tile_icon_white", k, null, 0);
                    this._-2bJ.refreshButton(k.view, "select_arrow", k, null, 0);
                };
            };
        }
        private function _-42M():void
        {
            var k:_-5-5;
            var k:int;
            var k:IWindowContainer;
            var k:int;
            var k:IWindow;
            var k:_-5-5;
            var k:IWindowContainer;
            var k:IWindow;
            while (this._-3EB.numListItems > 0)
            {
                k = this._-3EB._-3yK(0);
                k.destroy();
            };
            for each (k in this._-0uz)
            {
                if (k.view != null)
                {
                    k.view.destroy();
                    k.view = null;
                };
            };
            k = 0;
            k = 0;
            while (k < this._-0uz.length)
            {
                k = this._-0uz[k];
                if (!this.isAllowed(k))
                {
                }
                else
                {
                    if (k == 0)
                    {
                        k = this._-fQ();
                        this._-3EB.addListItem(k);
                    };
                    this._-4FW(k, this._-0uz[k], ((k % 2) == 0));
                    k = (((k == 0)) ? 1 : 0);
                };
                k++;
            };
            this._-tS();
            var k:String;
            if ((((this._-2bJ._-cT.clubLevel < _-1ij._-1pk)) && (!(this._-2bJ.configuration.getBoolean("habbo_club_buy_disabled", false)))))
            {
                k = "roc_vip_promo";
            };
            if (k != null)
            {
                k = IWindowContainer(this._-2bJ.getXmlWindow(k));
                if (k)
                {
                    k = k.findChildByName("link");
                    this._-00i(k, this._-3i2);
                    this._-3EB.addListItem(k);
                };
            };
        }
        private function _-4FW(_arg1:IWindowContainer, _arg2:_-5-5, _arg3:Boolean):void
        {
            var k:IWindowContainer = IWindowContainer(this._-2bJ.getXmlWindow("roc_room_thumbnail"));
            k.tags.push(_arg2.name);
            if (!_arg3)
            {
                k.x = k.width;
            };
            this._-00i(k, this._-3rK);
            var k:IWindowContainer = (k.findChildByName("bg_pic") as IWindowContainer);
            var k:IBitmapWrapperWindow = this._-2bJ._-3zS(_arg2.name, ("model_" + _arg2.name), null, 0, 0, 0);
            k.setParamFlag(_-3hb._-0g6, false);
            k.addChild(k);
            var k:Rectangle = _-3UA._-4G7(k, k.width, k.height);
            k.x = k.x;
            k.y = k.y;
            _arg1.addChild(k);
            _arg1.width = (2 * k.width);
            _arg1.height = k.height;
            _arg2.view = k;
            ITextWindow(_arg2.view.findChildByName("tile_size_txt")).text = ((_arg2._-1he + " ") + this._-2bJ.getText("navigator.createroom.tilesize"));
            var k:IIconWindow = (k.findChildByName("club_icon") as IIconWindow);
            if (k)
            {
                switch (_arg2._-JF)
                {
                    case _-1ij._-12G:
                    case _-1ij._-1pk:
                        k.style = 12;
                        return;
                    default:
                        k.visible = false;
                };
            };
        }
        private function isAllowed(_arg1:_-5-5):Boolean
        {
            switch (_arg1._-JF)
            {
                case _-1ij._-42U:
                    return (true);
                case _-1ij._-12G:
                    return ((this._-2bJ._-cT.clubLevel >= _-1ij._-12G));
                case _-1ij._-1pk:
                    return ((this._-2bJ._-cT.clubLevel >= _-1ij._-1pk));
                default:
                    return (this._-2bJ._-cT._-2t1(_-3wh._-46t));
            };
        }
        private function _-fQ():IWindowContainer
        {
            return (IWindowContainer(this._-2bJ.windowManager.createWindow("", "", _-4Pi._-0Dc, _-29z._-3dr, _-3hb._-2rR, new Rectangle(0, 0, 100, 300))));
        }
        private function _-4dr():Boolean
        {
            var k:Boolean = this._-4cK._-Ak(this._-2bJ.getText("navigator.createroom.nameerr"));
            return (k);
        }
        private function _-OI():IButtonWindow
        {
            return (IButtonWindow(this._-0Mb.findChildByName("create_button")));
        }
        private function _-2AR():IButtonWindow
        {
            return (IButtonWindow(this._-0Mb.findChildByName("back_button")));
        }
        private function _-3-4(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-5-5 = this._-2zX(_arg2);
            if (this.isAllowed(k))
            {
                this._-1DL = k;
                this._-tS();
            };
        }
        private function _-2zX(_arg1:IWindow):_-5-5
        {
            var k:_-5-5 = this._-5AP(_arg1.tags[0]);
            return (k);
        }
        private function _-5AP(_arg1:String):_-5-5
        {
            var k:_-5-5;
            for each (k in this._-0uz)
            {
                if (k.name == _arg1)
                {
                    return (k);
                };
            };
            return (this._-0uz[0]);
        }
        private function _-3rK(_arg1:WindowEvent):void
        {
            var k:IWindowContainer = (_arg1.target as IWindowContainer);
            this._-3-4(_arg1, k);
        }
        private function _-2lt(_arg1:WindowEvent):void
        {
            this.close();
        }
        private function _-3i2(_arg1:WindowEvent):void
        {
            _-Nb.log("HC LINK CLICKED");
            this._-2bJ.openCatalogClubPage("RoomCreateViewCtrl");
        }
        private function _-Iq(_arg1:WindowEvent):void
        {
            var k:String = this._-4cK.getText();
            var k:String = ("model_" + this._-1DL.name);
            if (!this._-4dr())
            {
                return;
            };
            this._-2bJ.send(new _-0dv(k, k));
        }
        private function close():void
        {
            this._-0Mb.visible = false;
            this._-o6.reset();
        }

    }
}//package _-2xv

//------------------------------------------------------------
//_-2xv.RoomSettingsCtrl

package _-2xv
{
    import _-4GV.HabboNavigator;
    import _-3yH.RoomSettingsData;
    import _-1ae.IFrameWindow;
    import _-4GV._-sd;
    import _-1ae.ICheckBoxWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IDropMenuWindow;
    import _-1ae.ITabContextWindow;
    import _-31g._-0oX;
    import flash.events.Event;
    import _-Ph._-1AJ;
    import _-3yH._-4tj;
    import _-3yH._-4hk;
    import _-4ME._-3FB;
    import _-1ae.ISelectableWindow;
    import _-Ew.IWindow;
    import _-1ae.ITabButtonWindow;
    import _-1ae.IRadioButtonWindow;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IButtonWindow;
    import _-4GV._-3UA;
    import _-1ae.ISelectorWindow;
    import _-3yH._-0lY;
    import _-1Jd._-1ij;
    import _-4OG._-134;
    import _-31g._-eo;
    import _-4OG._-io;
    import _-31g._-0IE;
    import _-3Bn._-1Ii;
    import _-4OG._-5Au;
    import _-31g._-0S9;
    import flash.utils.Dictionary;
    import _-31g._-1dN;
    import _-1ae.IItemListWindow;
    import _-31g._-480;
    import _-3yH._-3mN;
    import _-3wJ._-2Ju;
    import _-3wJ._-4cp;
    import _-4GV.*;
    import _-1B-.*;

    public class RoomSettingsCtrl implements _-1zZ 
    {

        private static const _-1Yo:int = 1;
        private static const _-1VW:int = 2;
        private static const _-4Kt:int = 3;
        private static const _-3h6:int = 4;
        private static const _-3sd:int = 5;

        private var _-1jw:int;
        private var _-2bJ:HabboNavigator;
        private var _-24K:RoomSettingsData;
        private var _-m-:int;
        private var _-0xv:IFrameWindow;
        private var _-0vk:int = 1;
        private var _-39f:Boolean;
        private var _-24q:UserListCtrl;
        private var _-3sE:UserListCtrl;
        private var _-3gf:_-0Mt;
        private var _-2Cr:_-sd;
        private var _-vV:_-sd;
        private var _tag1Input:_-sd;
        private var _tag2Input:_-sd;
        private var _-0eJ:_-sd;
        private var _-2eQ:_-sd;
        private var _-28M:ICheckBoxWindow;
        private var _-1Ni:ICheckBoxWindow;
        private var _-1ZM:ICheckBoxWindow;
        private var _-06c:ICheckBoxWindow;
        private var _-4bi:ITextWindow;
        private var _-2bV:IDropMenuWindow;
        private var _-2lP:IDropMenuWindow;
        private var _-44a:ITabContextWindow;
        private var _-3Sm:_-9x;

        public function RoomSettingsCtrl(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
            this._-24q = new UserListCtrl(this._-2bJ, false);
            this._-3sE = new UserListCtrl(this._-2bJ, true);
            this._-3Sm = new _-9x(this._-2bJ);
        }
        public function dispose():void
        {
            this._-2bJ = null;
            this._-24K = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-24q)
            {
                this._-24q.dispose();
                this._-24q = null;
            };
            if (this._-3sE)
            {
                this._-3sE.dispose();
                this._-3sE = null;
            };
            if (this._-3Sm)
            {
                this._-3Sm.dispose();
                this._-3Sm = null;
            };
            if (this._-3gf)
            {
                this._-3gf.dispose();
                this._-3gf = null;
            };
            this._-2Cr = null;
            this._-vV = null;
            this._tag1Input = null;
            this._tag2Input = null;
            this._-0eJ = null;
            this._-2eQ = null;
            this._-28M = null;
            this._-1Ni = null;
            this._-1ZM = null;
            this._-06c = null;
            this._-4bi = null;
            this._-2bV = null;
            this._-2lP = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2bJ == null));
        }
        public function _-2P3(_arg1:int):void
        {
            this._-1jw = _arg1;
            this._-2bJ.send(new _-0oX(this._-1jw));
            this._-2bJ.events.dispatchEvent(new Event(_-1AJ.HABBO_ROOM_SETTINGS_TRACKING_EVENT_DEFAULT));
        }
        public function _-46T(_arg1:RoomSettingsData):void
        {
            if (_arg1.roomId != this._-1jw)
            {
                return;
            };
            this._-24K = _arg1;
            this.refresh();
            this._-4XN();
            this._-0xv.visible = true;
            this._-0xv.invalidate();
            this._-0xv.activate();
        }
        public function _-1m4(_arg1:int, _arg2:Array):void
        {
            var k:_-4tj;
            if (this._-1p3(_arg1))
            {
                for each (k in _arg2)
                {
                    this._-24K._-47Z(k.userId, k);
                };
                this._-3FF();
            };
        }
        public function _-0MN(_arg1:int, _arg2:_-4tj):void
        {
            if (this._-1p3(_arg1))
            {
                this._-24K._-47Z(_arg2.userId, _arg2);
                this._-3FF();
            };
        }
        public function _-3OD(_arg1:int, _arg2:int):void
        {
            if (this._-1p3(_arg1))
            {
                this._-24K._-47Z(_arg2, null);
                this._-3FF();
            };
        }
        public function _-10f(_arg1:int, _arg2:Array):void
        {
            var k:_-4hk;
            if (this._-2hk(_arg1))
            {
                for each (k in _arg2)
                {
                    this._-24K._-516(k.userId, k);
                };
                this._-CJ();
            };
        }
        public function _-Gy(_arg1:int, _arg2:int):void
        {
            if (this._-2hk(_arg1))
            {
                this._-24K._-516(_arg2, null);
                this._-CJ();
            };
        }
        public function _-4so():void
        {
            this._-3FF();
        }
        private function _-1p3(_arg1:int):Boolean
        {
            return ((((_arg1 == this._-1jw)) && (!((this._-24K == null)))));
        }
        private function _-2hk(_arg1:int):Boolean
        {
            return ((((_arg1 == this._-1jw)) && (!((this._-24K == null)))));
        }
        private function _-3FF():void
        {
            if (((((!((this._-0xv == null))) && (this._-0xv.visible))) && ((this._-0vk == _-4Kt))))
            {
                this.refresh();
            };
        }
        private function _-CJ():void
        {
            if (((((!((this._-0xv == null))) && (this._-0xv.visible))) && ((this._-0vk == _-3sd))))
            {
                this.refresh();
            };
        }
        public function _-hb(_arg1:int, _arg2:int, _arg3:String):void
        {
            if (((!((_arg1 == this._-1jw))) || ((this._-m- < 1))))
            {
                return;
            };
            this._-m- = 0;
            if (_arg2 == _-3FB._-0mT)
            {
                this._-1wz(_-1Yo);
                this._-2Cr._-1zE("${navigator.roomsettings.roomnameismandatory}");
            }
            else
            {
                if (_arg2 == _-3FB._-3du)
                {
                    this._-1wz(_-1Yo);
                    this._-2Cr._-1zE("${navigator.roomsettings.unacceptablewords}");
                }
                else
                {
                    if (_arg2 == _-3FB._-0td)
                    {
                        this._-1wz(_-1Yo);
                        this._-vV._-1zE("${navigator.roomsettings.unacceptablewords}");
                    }
                    else
                    {
                        if (_arg2 == _-3FB._-01s)
                        {
                            this._-1wz(_-1Yo);
                            this._-2W1(this._tag1Input, _arg3, "${navigator.roomsettings.unacceptablewords}");
                            this._-2W1(this._tag2Input, _arg3, "${navigator.roomsettings.unacceptablewords}");
                        }
                        else
                        {
                            if (_arg2 == _-3FB._-2Ax)
                            {
                                this._-1wz(_-1Yo);
                                this._-2W1(this._tag1Input, _arg3, "${navigator.roomsettings.nonuserchoosabletag}");
                                this._-2W1(this._tag2Input, _arg3, "${navigator.roomsettings.nonuserchoosabletag}");
                            }
                            else
                            {
                                if (_arg2 == _-3FB._-Yf)
                                {
                                    this._-1wz(_-1VW);
                                    this._-0eJ._-1zE("${navigator.roomsettings.passwordismandatory}");
                                }
                                else
                                {
                                    this._-1wz(_-1Yo);
                                    this._-2Cr._-1zE(("Update failed: error " + _arg2));
                                };
                            };
                        };
                    };
                };
            };
            this.refresh();
        }
        private function _-1wz(_arg1:int):void
        {
            this._-0vk = _arg1;
            this._-44a.selector.setSelected(ISelectableWindow(this._-0xv.findChildByName(("tab_" + _arg1))));
        }
        private function _-2W1(_arg1:_-sd, _arg2:String, _arg3:String):void
        {
            if (_arg2 == _arg1.getText().toLowerCase())
            {
                _arg1._-1zE(_arg3);
            };
        }
        public function close():void
        {
            this._-1jw = 0;
            this._-24K = null;
            this._-m- = 0;
            if (this._-0xv != null)
            {
                this._-0xv.visible = false;
            };
            if (this._-3gf != null)
            {
                this._-3gf.dispose();
                this._-3gf = null;
            };
        }
        private function _-Z():void
        {
            this._-2Cr._-Z();
            this._-vV._-Z();
            this._tag1Input._-Z();
            this._tag2Input._-Z();
            this._-0eJ._-Z();
            this._-2eQ._-Z();
        }
        private function _-eN():void
        {
            var k:_-sd;
            var k:Array;
            var k:IWindow;
            var k:Array;
            var k:IWindow;
            var k:Boolean;
            var k:ITabButtonWindow;
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-2bJ.getXmlWindow("ros_room_settings"));
            this._-0xv.findChildByName("tab_1").procedure = this._-0EZ;
            this._-0xv.findChildByName("tab_2").procedure = this._-0EZ;
            this._-0xv.findChildByName("tab_3").procedure = this._-0EZ;
            this._-0xv.findChildByName("tab_4").procedure = this._-0EZ;
            this._-0xv.findChildByName("tab_5").procedure = this._-0EZ;
            this._-0xv.findChildByName("remove_link_region").procedure = this._-0DV;
            this._-0K8();
            var k:IRadioButtonWindow = (this._-0xv.findChildByName("doormode_password") as IRadioButtonWindow);
            k.addEventListener(WindowEvent._-0P3, this._-2rE);
            k.addEventListener(WindowEvent._-4Yk, this._-1-5);
            this._-0xv.findChildByTag("close").addEventListener(WindowMouseEvent._-90, this._-4F9);
            this._-2MY().addEventListener(WindowMouseEvent._-90, this._-rl);
            this._-0xv.findChildByName("filter_users_input").addEventListener(WindowEvent._-0cZ, this._-3Tc);
            this._-2Cr = new _-sd(this._-2bJ, ITextFieldWindow(this._-0xv.findChildByName("room_name")), 60);
            this._-vV = new _-sd(this._-2bJ, ITextFieldWindow(this._-0xv.findChildByName("description")), 0xFF);
            this._tag1Input = new _-sd(this._-2bJ, ITextFieldWindow(this._-0xv.findChildByName("tag1")), 30);
            this._tag2Input = new _-sd(this._-2bJ, ITextFieldWindow(this._-0xv.findChildByName("tag2")), 30);
            this._-0eJ = new _-sd(this._-2bJ, ITextFieldWindow(this._-0xv.findChildByName("password")), 30);
            this._-2eQ = new _-sd(this._-2bJ, ITextFieldWindow(this._-0xv.findChildByName("password_confirm")), 30);
            this._-28M = ICheckBoxWindow(this._-0xv.findChildByName("allow_pets_checkbox"));
            this._-1Ni = ICheckBoxWindow(this._-0xv.findChildByName("allow_foodconsume_checkbox"));
            this._-1ZM = ICheckBoxWindow(this._-0xv.findChildByName("allow_walk_through_checkbox"));
            this._-06c = ICheckBoxWindow(this._-0xv.findChildByName("hide_walls_checkbox"));
            this._-4bi = (this._-0xv.findChildByName("hide_walls_text") as ITextWindow);
            this._-2bV = IDropMenuWindow(this._-0xv.findChildByName("wall_thickness"));
            this._-2lP = IDropMenuWindow(this._-0xv.findChildByName("floor_thickness"));
            this._-44a = ITabContextWindow(this._-0xv.findChildByName("tab_context"));
            var k:Array = [this._-2Cr, this._-vV, this._tag1Input, this._tag2Input, this._-0eJ, this._-2eQ];
            for each (k in k)
            {
                k.input.addEventListener(WindowEvent._-1gM, this._-3KG);
            };
            k = [this._-0xv.findChildByName("categories"), this._-0xv.findChildByName("maxvisitors"), this._-0xv.findChildByName("tradesettings"), this._-28M, this._-1Ni, this._-1ZM, this._-06c, this._-2bV, this._-2lP];
            for each (k in k)
            {
                k.addEventListener(WindowEvent._-2wB, this._-3KG);
                k.addEventListener(WindowEvent._-1Ef, this._-3KG);
            };
            this._-0xv.findChildByName("doormode_open").addEventListener(WindowEvent._-2wB, this._-3KG);
            this._-0xv.findChildByName("doormode_doorbell").addEventListener(WindowEvent._-2wB, this._-3KG);
            this._-0xv.findChildByName("doormode_password").addEventListener(WindowEvent._-2wB, this._-3KG);
            k = [this._-0xv.findChildByName("moderation_mute_none"), this._-0xv.findChildByName("moderation_mute_rights"), this._-0xv.findChildByName("moderation_kick_none"), this._-0xv.findChildByName("moderation_kick_rights"), this._-0xv.findChildByName("moderation_kick_all"), this._-0xv.findChildByName("moderation_ban_none"), this._-0xv.findChildByName("moderation_ban_rights")];
            for each (k in k)
            {
                k.addEventListener(WindowEvent._-0P3, this._-3KG);
            };
            this._-4iq().visible = false;
            this._-0xv.findChildByName("remove_icon").x = (this._-0xv.findChildByName("remove_link").x - 15);
            k = this._-2bJ.configuration.getBoolean("room.settings.trading.visible", false);
            this._-0xv.findChildByName("tradesettings_label").visible = k;
            this._-0xv.findChildByName("tradesettings").visible = k;
            this._-0xv.findChildByName("moderation_unban_btn").addEventListener(WindowMouseEvent._-90, this._-4Oc);
            if (!this._-2bJ.configuration.getBoolean("room_moderation.improved.enabled", false))
            {
                k = (this._-0xv.findChildByName("tab_5") as ITabButtonWindow);
                k.procedure = null;
                this._-44a._-32B(k);
            };
            this._-313();
            this._-0xv.center();
            this._-1wz(_-1Yo);
        }
        private function _-313():void
        {
            var k:ITabButtonWindow;
            var k:int = (this._-0xv.width / this._-44a._-2Z);
            k--;
            var k:int;
            while (k < this._-44a._-2Z)
            {
                k = this._-44a._-3Zg(k);
                k.width = k;
                k++;
            };
        }
        private function _-0K8():void
        {
            if (this._-2bJ._-cT._-3ZA())
            {
                this._-0xv.findChildByName("remove_link_region").disable();
                this._-0xv.findChildByName("remove_link").blend = 0.5;
                this._-0xv.findChildByName("remove_icon").blend = 0.5;
            }
            else
            {
                this._-0xv.findChildByName("remove_link_region").enable();
                this._-0xv.findChildByName("remove_link").blend = 1;
                this._-0xv.findChildByName("remove_icon").blend = 1;
            };
        }
        private function _-4iq():IWindowContainer
        {
            return (IWindowContainer(this._-0xv.findChildByName("password_container")));
        }
        private function _-2MY():IButtonWindow
        {
            return (IButtonWindow(this._-0xv.findChildByName("remove_all_flat_ctrls")));
        }
        private function _-3Rc():IButtonWindow
        {
            return (IButtonWindow(this._-0xv.findChildByName("remove_flat_ctrl")));
        }
        public function refresh():void
        {
            this._-eN();
            _-3UA._-LK(IWindowContainer(this._-0xv.findChildByName("content_container")));
            this._-22v(this._-0vk).visible = true;
            this._-rL();
            this._-NY();
            this._-3u0();
            this._-0K8();
            this._-0xv.invalidate();
        }
        private function _-22v(_arg1:int):IWindowContainer
        {
            return (IWindowContainer(this._-0xv.findChildByName(("tab_container_" + _arg1))));
        }
        private function _-1t5(_arg1:IWindow):void
        {
            if (_arg1 != null)
            {
                _arg1.disable();
                _arg1.blend = 0.5;
            };
        }
        private function _-1Be(_arg1:IWindow):void
        {
            if (_arg1 != null)
            {
                _arg1.enable();
                _arg1.blend = 1;
            };
        }
        private function _-3c2(_arg1:int):int
        {
            switch (_arg1)
            {
                case -2:
                    return (0);
                case -1:
                    return (1);
                case 1:
                    return (3);
                default:
                    return (2);
            };
        }
        private function _-4XN():void
        {
            var _local4:IRadioButtonWindow;
            var _local5:IRadioButtonWindow;
            this._-39f = true;
            var k:RoomSettingsData = this._-24K;
            this._-2Cr._-0Ab(k.name);
            this._-vV._-0Ab(k.description);
            this._-0eJ._-0Ab("");
            this._-2eQ._-0Ab("");
            var k:ISelectorWindow = (this._-0xv.findChildByName("doormode") as ISelectorWindow);
            var k:IRadioButtonWindow = (this._-0xv.findChildByName("doormode_password") as IRadioButtonWindow);
            switch (k._-0Qj)
            {
                case RoomSettingsData._-1HI:
                    _local4 = (this._-0xv.findChildByName("doormode_doorbell") as IRadioButtonWindow);
                    k.setSelected(_local4);
                    break;
                case RoomSettingsData._-3c4:
                    k.setSelected(k);
                    break;
                default:
                    _local5 = (this._-0xv.findChildByName("doormode_open") as IRadioButtonWindow);
                    k.setSelected(_local5);
            };
            this._-0RJ((k._-0Qj == RoomSettingsData._-3c4));
            _-Nb.log(("CATEGORY ID: " + k._-2d-));
            this._-1JX(k._-2d-);
            this._-1GK(k._-YP);
            this._-2MC(k);
            this._-3cF(this._tag1Input, k.tags[0]);
            this._-3cF(this._tag2Input, k.tags[1]);
            if (this._-28M)
            {
                if (k._-2l6)
                {
                    this._-28M.select();
                }
                else
                {
                    this._-28M._-5Aq();
                };
            };
            if (this._-1Ni)
            {
                if (k._-1X)
                {
                    this._-1Ni.select();
                }
                else
                {
                    this._-1Ni._-5Aq();
                };
            };
            if (this._-1ZM)
            {
                if (k._-0ow)
                {
                    this._-1ZM.select();
                }
                else
                {
                    this._-1ZM._-5Aq();
                };
            };
            if (!this._-4BD())
            {
                this._-1t5(this._-06c);
                this._-1t5(this._-2bV);
                this._-1t5(this._-2lP);
                this._-1t5(this._-4bi);
            }
            else
            {
                this._-1Be(this._-06c);
                this._-1Be(this._-2bV);
                this._-1Be(this._-2lP);
                this._-1Be(this._-4bi);
            };
            if (this._-06c)
            {
                if (k._-339)
                {
                    this._-06c.select();
                }
                else
                {
                    this._-06c._-5Aq();
                };
            };
            if (this._-2bV)
            {
                this._-2bV.selection = this._-3c2(k._-0DQ);
            };
            if (this._-2lP)
            {
                this._-2lP.selection = this._-3c2(k._-2yC);
            };
            this._-3Jc(k);
            this._-Z();
            this._-39f = false;
        }
        private function _-3Jc(_arg1:RoomSettingsData):void
        {
            var k:IRadioButtonWindow;
            var k:ISelectorWindow = (this._-0xv.findChildByName("moderation_mute_selector") as ISelectorWindow);
            switch (_arg1._-1so._-3jE)
            {
                case _-0lY._-4Mr:
                    k = (this._-0xv.findChildByName("moderation_mute_rights") as IRadioButtonWindow);
                    break;
                default:
                    k = (this._-0xv.findChildByName("moderation_mute_none") as IRadioButtonWindow);
            };
            k.setSelected(k);
            var k:ISelectorWindow = (this._-0xv.findChildByName("moderation_kick_selector") as ISelectorWindow);
            switch (_arg1._-1so._-4Qp)
            {
                case _-0lY._-26p:
                    k = (this._-0xv.findChildByName("moderation_kick_all") as IRadioButtonWindow);
                    break;
                case _-0lY._-4Mr:
                    k = (this._-0xv.findChildByName("moderation_kick_rights") as IRadioButtonWindow);
                    break;
                default:
                    k = (this._-0xv.findChildByName("moderation_kick_none") as IRadioButtonWindow);
            };
            k.setSelected(k);
            var k:ISelectorWindow = (this._-0xv.findChildByName("moderation_ban_selector") as ISelectorWindow);
            switch (_arg1._-1so._-56q)
            {
                case _-0lY._-4Mr:
                    k = (this._-0xv.findChildByName("moderation_ban_rights") as IRadioButtonWindow);
                    break;
                default:
                    k = (this._-0xv.findChildByName("moderation_ban_none") as IRadioButtonWindow);
            };
            k.setSelected(k);
        }
        private function _-4BD():Boolean
        {
            return ((this._-2bJ._-cT.clubLevel >= _-1ij._-1pk));
        }
        private function _-3cF(_arg1:_-sd, _arg2:String):void
        {
            _arg1._-0Ab((((_arg2 == null)) ? "" : _arg2));
        }
        private function _-2MC(_arg1:RoomSettingsData):void
        {
            var k:Array = new Array();
            var k:int = -1;
            var k:int;
            var k:int = 10;
            while (k <= _arg1._-32C)
            {
                k.push(("" + k));
                if (k == _arg1._-0qV)
                {
                };
                k++;
                k = (k + 5);
            };
            if (_arg1._-0qV > _arg1._-32C)
            {
                k.push(("" + _arg1._-0qV));
            };
            var k:IDropMenuWindow = (this._-0xv.findChildByName("maxvisitors") as IDropMenuWindow);
            k.populate(k);
            k.selection = (((k > -1)) ? k : 0);
        }
        private function _-1JX(_arg1:int):void
        {
            var k:_-134;
            var k:IDropMenuWindow = (this._-0xv.findChildByName("categories") as IDropMenuWindow);
            var k:Array = new Array();
            var k:int;
            var k:int;
            for each (k in this._-2bJ.data.allCategories)
            {
                if (((k.visible) || ((_arg1 == k._-4Lc))))
                {
                    k.push(k._-4Tv);
                    if (_arg1 == k._-4Lc)
                    {
                    };
                    k++;
                };
            };
            k.populate(k);
            k.selection = k;
        }
        private function _-1GK(_arg1:int):void
        {
            var k:IDropMenuWindow = (this._-0xv.findChildByName("tradesettings") as IDropMenuWindow);
            var k:Array = new Array();
            k.push("${navigator.roomsettings.trade_not_allowed}");
            k.push("${navigator.roomsettings.trade_not_with_Controller}");
            k.push("${navigator.roomsettings.trade_allowed}");
            k.populate(k);
            k.selection = (((_arg1 > -1)) ? _arg1 : 0);
        }
        private function _-2PE(_arg1:int, _arg2:int):_-134
        {
            var k:_-134;
            var k:int;
            for each (k in this._-2bJ.data.allCategories)
            {
                if (((k.visible) || ((_arg1 == k._-4Lc))))
                {
                    if (_arg2 == k)
                    {
                        return (k);
                    };
                    k++;
                };
            };
            return (null);
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.close();
        }
        private function _-3KG(_arg1:WindowEvent):void
        {
            if (!this._-39f)
            {
                this.save();
            };
        }
        private function save():void
        {
            var k:String;
            var k:String;
            if ((((((this._-24K == null)) || ((this._-0xv == null)))) || (this._-0xv.disposed)))
            {
                return;
            };
            var k:_-eo = new _-eo();
            k.roomId = this._-24K.roomId;
            k.name = this._-2Cr.getText();
            k.description = this._-vV.getText();
            var k:ISelectorWindow = (this._-0xv.findChildByName("doormode") as ISelectorWindow);
            var k:IWindow = k._-WM();
            switch (k.name)
            {
                case "doormode_doorbell":
                    k._-0Qj = _-io._-1HI;
                    break;
                case "doormode_password":
                    k._-0Qj = _-io._-3c4;
                    break;
                default:
                    k._-0Qj = _-io._-2xG;
            };
            if (k._-0Qj == _-io._-3c4)
            {
                k = this._-0eJ.getText();
                k = this._-2eQ.getText();
                if (k != k)
                {
                    this._-0eJ._-Z();
                    this._-1wz(_-1VW);
                    this._-2eQ._-1zE("${navigator.roomsettings.invalidconfirm}");
                    return;
                };
                if (k != "")
                {
                    k.password = k;
                };
            };
            var k:IDropMenuWindow = (this._-0xv.findChildByName("categories") as IDropMenuWindow);
            var k:_-134 = this._-2PE(this._-24K._-2d-, k.selection);
            k._-2d- = k._-4Lc;
            var k:IDropMenuWindow = (this._-0xv.findChildByName("tradesettings") as IDropMenuWindow);
            k._-YP = k.selection;
            var k:IDropMenuWindow = (this._-0xv.findChildByName("maxvisitors") as IDropMenuWindow);
            k._-0qV = k._-2z4()[k.selection];
            k._-2l6 = this._-28M._-vX;
            k._-1X = this._-1Ni._-vX;
            k._-0ow = this._-1ZM._-vX;
            k._-339 = this._-06c._-vX;
            k._-0DQ = (this._-2bV.selection - 2);
            k._-2yC = (this._-2lP.selection - 2);
            k.tags = new Array();
            this._-1K0(this._tag1Input, k.tags);
            this._-1K0(this._tag2Input, k.tags);
            this._-1u7(k);
            this._-Z();
            this._-m- = k.roomId;
            this._-2bJ.send(new _-0IE(k));
        }
        private function _-1K0(_arg1:_-sd, _arg2:Array):void
        {
            if (_arg1.getText() != "")
            {
                _arg2.push(_arg1.getText());
            };
        }
        private function _-1u7(_arg1:_-eo):void
        {
            var k:IWindow;
            var k:ISelectorWindow = (this._-0xv.findChildByName("moderation_mute_selector") as ISelectorWindow);
            k = k._-WM();
            switch (k.name)
            {
                case "moderation_mute_rights":
                    _arg1._-3jE = _-0lY._-4Mr;
                    break;
                default:
                    _arg1._-3jE = _-0lY.try ;
            };
            var k:ISelectorWindow = (this._-0xv.findChildByName("moderation_kick_selector") as ISelectorWindow);
            k = k._-WM();
            switch (k.name)
            {
                case "moderation_kick_rights":
                    _arg1._-4Qp = _-0lY._-4Mr;
                    break;
                case "moderation_kick_all":
                    _arg1._-4Qp = _-0lY._-26p;
                    break;
                default:
                    _arg1._-4Qp = _-0lY.try ;
            };
            var k:ISelectorWindow = (this._-0xv.findChildByName("moderation_ban_selector") as ISelectorWindow);
            k = k._-WM();
            switch (k.name)
            {
                case "moderation_ban_rights":
                    _arg1._-56q = _-0lY._-4Mr;
                    return;
                default:
                    _arg1._-56q = _-0lY.try ;
            };
        }
        private function _-0DV(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            if (this._-2bJ.data._-51D._-i5 > 0)
            {
                this._-2bJ.windowManager.alert("${group.deletebase.title}", "${group.deletebase.body}", 0, this._-498);
                return;
            };
            _-Nb.log(("[RoomSettingsCtrl.onDeleteButtonClick] " + this._-1jw));
            if (this._-24K == null)
            {
                return;
            };
            if (this._-3gf != null)
            {
                this._-3gf.dispose();
            };
            this._-2bJ.registerParameter("navigator.roomsettings.deleteroom.confirm.message", "room_name", this._-24K.name);
            this._-3gf = new _-0Mt(this._-2bJ, this._-3aP, "${navigator.roomsettings}", "${navigator.roomsettings.deleteroom.confirm.message}");
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-3aP():void
        {
            var k:_-5Au;
            this._-2bJ.send(new _-0S9(this._-24K.roomId));
            this.close();
            if (this._-2bJ.data._-52x != null)
            {
                k = this._-2bJ.data._-52x;
                this._-2bJ._-0NE._-0cR(this._-2bJ.tabs._-WM().id, k.searchType, k._-4Ic);
            };
        }
        private function _-2rE(_arg1:WindowEvent):void
        {
            this._-0RJ(true);
        }
        private function _-1-5(_arg1:WindowEvent):void
        {
            this._-0RJ(false);
        }
        private function _-0RJ(_arg1:Boolean):void
        {
            this._-4iq().visible = _arg1;
        }
        private function _-3u0():void
        {
            if (this._-0vk != _-1VW)
            {
                return;
            };
            var k = (this._-2bJ.data._-51D._-i5 > 0);
            this._-0xv.findChildByName("guild_access_disclaimer").visible = k;
        }
        private function _-rL():void
        {
            var k:Array;
            if (this._-0vk != _-4Kt)
            {
                return;
            };
            var k = (this._-2bJ.data._-51D._-i5 > 0);
            this._-0xv.findChildByName("guild_rights_container").visible = k;
            this._-0xv.findChildByName("normal_rights_container").visible = !(k);
            if (k)
            {
                return;
            };
            if (this._-24K._-AP == null)
            {
                this._-24K._-AP = new Dictionary();
                this._-2bJ.send(new _-1dN(this._-24K.roomId));
                k = new Array();
            }
            else
            {
                k = this._-24K._-3l1;
            };
            var k:String = ITextWindow(this._-0xv.findChildByName("filter_users_input")).text.toLowerCase();
            var k:Array = this._-4Gl();
            this._-24q.refresh(IItemListWindow(this._-0xv.findChildByName("users_with_rights_item_list")), k, k, this._-24K._-4qP);
            this._-3sE.refresh(IItemListWindow(this._-0xv.findChildByName("friends_item_list")), k, k, this._-24K._-4qP);
            this._-2bJ.registerParameter("navigator.flatctrls.userswithrights", "displayed", ("" + this._-24q.userCount));
            this._-2bJ.registerParameter("navigator.flatctrls.friends", "displayed", ("" + this._-3sE.userCount));
            this._-2bJ.registerParameter("navigator.flatctrls.userswithrights", "total", ("" + k.length));
            this._-2bJ.registerParameter("navigator.flatctrls.friends", "total", ("" + k.length));
        }
        private function _-NY():void
        {
            var k:Array;
            if (((!((this._-0vk == _-3sd))) || (!(this._-2bJ.configuration.getBoolean("room_moderation.improved.enabled", false)))))
            {
                return;
            };
            if (this._-24K._-4x9 == null)
            {
                this._-2bJ.send(new _-480(this._-24K.roomId));
                k = new Array();
            }
            else
            {
                k = this._-24K._-3t;
            };
            this._-3Sm.refresh(IItemListWindow(this._-0xv.findChildByName("moderation_banned_users")), k, "", 0);
        }
        private function _-4Gl():Array
        {
            var k:_-3mN;
            var k:Dictionary = this._-24K._-AP;
            var k:Array = new Array();
            if (k.length == 0)
            {
                return (k);
            };
            for each (k in this._-2bJ.data._-4zV.list)
            {
                if (k[k.userId] == null)
                {
                    k.push(k);
                };
            };
            return (k);
        }
        private function _-rl(_arg1:WindowEvent):void
        {
            _-Nb.log("Remove all clicked: ");
            if (this._-3gf != null)
            {
                this._-3gf.dispose();
            };
            this._-3gf = new _-0Mt(this._-2bJ, this._-0Pq, "${navigator.flatctrls.removeconfirm.title}", "${navigator.flatctrls.removeconfirm.info}");
        }
        private function _-0Pq():void
        {
            this._-2bJ.send(new _-2Ju(this._-1jw));
        }
        private function _-0EZ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-0vk = _arg2.id;
            this.refresh();
        }
        private function _-3Tc(_arg1:WindowEvent):void
        {
            this._-rL();
        }
        private function _-4Oc(_arg1:WindowMouseEvent):void
        {
            if ((((this._-3Sm._-59r < 0)) || (!(this._-2bJ.configuration.getBoolean("room_moderation.improved.enabled", false)))))
            {
                return;
            };
            var k:IItemListWindow = (this._-0xv.findChildByName("moderation_banned_users") as IItemListWindow);
            var k:IWindow = IWindowContainer(k.getListItemAt(this._-3Sm._-59r)).findChildByName("user_info_region");
            var k:int = k.id;
            this._-2bJ.send(new _-4cp(k, this._-1jw));
        }

    }
}//package _-2xv

//------------------------------------------------------------
//_-2xv.UserListCtrl

package _-2xv
{
    import _-4GV.HabboNavigator;
    import _-3yH._-3mN;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-174;
    import _-3wJ._-xM;
    import _-3wJ.RemoveRightsMessageComposer;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0Pi._-RA;
    import _-1B-.*;

    public class UserListCtrl implements _-1zZ 
    {

        private static const _-3TA:int = 200;

        protected var _-2bJ:HabboNavigator;
        private var _-0ou:Boolean;
        protected var _-15I:int;

        public function UserListCtrl(_arg1:HabboNavigator, _arg2:Boolean)
        {
            this._-2bJ = _arg1;
            this._-0ou = _arg2;
        }
        public function dispose():void
        {
            this._-2bJ = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2bJ == null));
        }
        public function refresh(_arg1:IItemListWindow, _arg2:Array, _arg3:String, _arg4:int):void
        {
            var k:_-3mN;
            var k:int;
            var k:Boolean;
            var k:Array = new Array();
            for each (k in _arg2)
            {
                if ((((_arg3 == "")) || ((k.userName.toLowerCase().indexOf(_arg3) > -1))))
                {
                    k.push(k);
                };
                if (k.length >= _-3TA)
                {
                    break;
                };
            };
            _arg1.autoArrangeItems = false;
            k = 0;
            while (true)
            {
                k = this._-wY(_arg1, k, k[k], _arg4);
                if (k)
                {
                    break;
                };
                k++;
            };
            _arg1.autoArrangeItems = true;
            _arg1.invalidate();
            this._-15I = k.length;
        }
        private function getListEntry(_arg1:int):IWindowContainer
        {
            var k:IWindowContainer = this.getRowView();
            var k:IRegionWindow = IRegionWindow(k.findChildByName("bg_region"));
            k.addEventListener(WindowMouseEvent._-90, this.onBgMouseClick);
            k.addEventListener(WindowMouseEvent._-4ea, this._-4gM);
            k.addEventListener(WindowMouseEvent._-4e2, this._-3C2);
            _-174.setup(k, this._-15B);
            k.id = _arg1;
            return (k);
        }
        protected function getRowView():IWindowContainer
        {
            return (IWindowContainer(this._-2bJ.getXmlWindow(((this._-0ou) ? "ros_friend" : "ros_flat_controller"))));
        }
        protected function getBgColor(_arg1:int, _arg2:Boolean):uint
        {
            return (((_arg2) ? 4290173439 : ((((_arg1 % 2))!=0) ? 0xFFFFFFFF : 4293519841)));
        }
        private function _-wY(_arg1:IItemListWindow, _arg2:int, _arg3:_-3mN, _arg4:int):Boolean
        {
            var k:IWindowContainer = IWindowContainer(_arg1.getListItemAt(_arg2));
            if (k == null)
            {
                if (_arg3 == null)
                {
                    return (true);
                };
                k = this.getListEntry(_arg2);
                _arg1.addListItem(k);
            };
            if (_arg3 != null)
            {
                k.color = this.getBgColor(_arg2, (_arg3.userId == _arg4));
                this.refreshEntryDetails(k, _arg3);
                k.visible = true;
                k.height = 20;
            }
            else
            {
                k.height = 0;
                k.visible = false;
            };
            return (false);
        }
        private function refreshEntryDetails(_arg1:IWindowContainer, _arg2:_-3mN):void
        {
            _arg1.findChildByName("user_name_txt").caption = _arg2.userName;
            var k:IRegionWindow = IRegionWindow(_arg1.findChildByName("bg_region"));
            k.id = _arg2.userId;
            _arg1.findChildByName("user_info_region").id = _arg2.userId;
            _-174._-2C5(false, _arg1);
        }
        protected function onBgMouseClick(_arg1:WindowEvent):void
        {
            var _local3:Array;
            var k:IWindowContainer = IWindowContainer(_arg1.target);
            if (this._-0ou)
            {
                this._-2bJ.send(new _-xM(k.id));
            }
            else
            {
                _local3 = new Array();
                _local3.push(k.id);
                this._-2bJ.send(new RemoveRightsMessageComposer(_local3));
            };
        }
        private function _-4gM(_arg1:WindowEvent):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.target.parent);
            k.color = this.getBgColor(-1, true);
            var k:IWindow = k.findChildByName("arrow_icon");
            if (k != null)
            {
                k.visible = true;
            };
        }
        private function _-3C2(_arg1:WindowEvent):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.target.parent);
            k.color = this.getBgColor(k.id, false);
            var k:IWindow = k.findChildByName("arrow_icon");
            if (k != null)
            {
                k.visible = false;
            };
        }
        public function get userCount():int
        {
            return (this._-15I);
        }
        private function _-15B(_arg1:WindowEvent):void
        {
            this._-2bJ.trackGoogle("extendedProfile", "navigator_roomSettingsUsersList");
            this._-2bJ.send(new _-RA(_arg1.target.id));
        }

    }
}//package _-2xv

//------------------------------------------------------------
//_-2yg._-0n4

package _-2yg
{
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;

    public class _-0n4 
    {

        private var _-U-:_-3Ts;
        private var _-cU:_-0hg;

        public function _-0n4(_arg1:_-3Ts, _arg2:_-0hg)
        {
            this._-U- = _arg1;
            this._-cU = _arg2;
        }
        public function dispose():void
        {
            this._-U- = null;
            this._-cU = null;
        }
        public function _-0nt(_arg1:String, _arg2:String=""):void
        {
            var message:String = _arg1;
            var url:String = _arg2;
            var p:RegExp = /\\r/g;
            message = message.replace(p, "\r");
            if (url.length > 0)
            {
                this._-U-._-Iv("${mod.alert.title}", message, "${mod.alert.link}", url, 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
            }
            else
            {
                this._-U-.alert("${mod.alert.title}", message, 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
            };
        }
        public function _-0EK(_arg1:String):void
        {
            var message:String = _arg1;
            this._-U-.alert("${mod.ban.title}", message, 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }
        public function _-0k3(_arg1:int):void
        {
            var minutesUntilClosing:int = _arg1;
            this._-cU.registerParameter("opening.hours.shutdown", "m", String(minutesUntilClosing));
            this._-U-.alert("${opening.hours.title}", "${opening.hours.shutdown}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }
        public function _-1Qe(_arg1:int, _arg2:int, _arg3:Boolean):void
        {
            var openHour:int = _arg1;
            var openMinute:int = _arg2;
            var userThrownOutAtClose:Boolean = _arg3;
            if (userThrownOutAtClose)
            {
                this._-cU.registerParameter("opening.hours.disconnected", "h", this._-4UA(openHour));
                this._-cU.registerParameter("opening.hours.disconnected", "m", this._-4UA(openMinute));
                this._-U-.alert("${opening.hours.title}", "${opening.hours.disconnected}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
            }
            else
            {
                this._-cU.registerParameter("opening.hours.closed", "h", this._-4UA(openHour));
                this._-cU.registerParameter("opening.hours.closed", "m", this._-4UA(openMinute));
                this._-U-.alert("${opening.hours.title}", "${opening.hours.closed}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
            };
        }
        public function _-4c2(_arg1:int, _arg2:int):void
        {
            var openHour:int = _arg1;
            var openMinute:int = _arg2;
            this._-cU.registerParameter("opening.hours.disconnected", "h", this._-4UA(openHour));
            this._-cU.registerParameter("opening.hours.disconnected", "m", this._-4UA(openMinute));
            this._-U-.alert("${opening.hours.title}", "${opening.hours.disconnected}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }
        private function _-4UA(_arg1:int):String
        {
            var k:String = ("0" + String(_arg1));
            return (k.substr((k.length - 2), k.length));
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg._-0PT

package _-2yg
{
    public class _-0PT 
    {

        private var _-bl:HabboNotificationItemStyle;
        private var _-0Mb:String;
        private var _-513:SingularNotificationController;

        public function _-0PT(_arg1:String, _arg2:HabboNotificationItemStyle, _arg3:SingularNotificationController)
        {
            this._-0Mb = _arg1;
            this._-bl = _arg2;
            this._-513 = _arg3;
        }
        public function get style():HabboNotificationItemStyle
        {
            return (this._-bl);
        }
        public function get content():String
        {
            return (this._-0Mb);
        }
        public function dispose():void
        {
            this._-0Mb = null;
            if (this._-bl != null)
            {
                this._-bl.dispose();
                this._-bl = null;
            };
            this._-513 = null;
        }
        public function _-53C():void
        {
            var k:String;
            var k:Array = this._-bl._-0oK;
            for each (k in k)
            {
                if (this._-513 != null)
                {
                    this._-513._-4tX(k);
                };
            };
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg._-1GE

package _-2yg
{
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-4pF._-3Ts;
    import _-1ae.IFrameWindow;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-11j;

    public class _-1GE 
    {

        private var _assets:_-39L;
        private var _-cU:_-0hg;
        private var _-U-:_-3Ts;
        private var _-0xv:IFrameWindow;

        public function _-1GE(_arg1:_-3Ts, _arg2:_-39L, _arg3:_-0hg)
        {
            this._assets = _arg2;
            this._-cU = _arg3;
            this._-U- = _arg1;
        }
        public function dispose():void
        {
            this._-OP();
            this._-U- = null;
            this._assets = null;
        }
        private function _-OP(_arg1:WindowEvent=null):void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function _-1du(_arg1:String):void
        {
            var k:IWindow;
            this._-OP();
            if ((((this._assets == null)) || ((this._-U- == null))))
            {
                return;
            };
            var k:_-243 = (this._assets.getAssetByName("layout_parkbus_notification_xml") as _-243);
            var k:XML = (k.content as XML);
            this._-0xv = (this._-U-.buildFromXML(k) as IFrameWindow);
            this._-0xv.center();
            var k:ITextWindow = (this._-0xv.findChildByName("hubu_reason") as ITextWindow);
            if (k != null)
            {
                k.text = _arg1;
            };
            k = this._-0xv.findChildByName("hubu_link1");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-0t6);
                k.mouseThreshold = 0;
            };
            k = this._-0xv.findChildByName("hubu_link2");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-0t6);
                k.mouseThreshold = 0;
            };
            k = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-0t6);
            };
        }
        private function _-0t6(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.target.name)
            {
                case "hubu_link1":
                    if (this._-cU.getKey("hubu.info.url1").length > 0)
                    {
                        this.openExternalLink(this._-cU.getKey("hubu.info.url1"));
                    };
                    return;
                case "hubu_link2":
                    if (this._-cU.getKey("hubu.info.url2").length > 0)
                    {
                        this.openExternalLink(this._-cU.getKey("hubu.info.url2"));
                    };
                    return;
                case "header_button_close":
                    this._-OP();
                    return;
            };
        }
        private function openExternalLink(_arg1:String):void
        {
            _-11j.navigateToURL(_arg1, "habboMain");
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg._-2FM

package _-2yg
{
    import _-1ae.IFrameWindow;
    import _-3X8._-0hg;
    import _-295._-39L;
    import _-295._-243;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-4pF._-3Ts;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-2FM 
    {

        private const _-2M6:String = "achievement_bg_001_png";

        private var _-0xv:IFrameWindow;
        private var _-3Pe:_-0hg;
        private var _assets:_-39L;

        public function _-2FM(_arg1:int, _arg2:String, _arg3:_-39L, _arg4:_-3Ts, _arg5:_-0hg)
        {
            if (((((!(_arg3)) || (!(_arg4)))) || (!(_arg5))))
            {
                return;
            };
            this._assets = _arg3;
            this._-3Pe = _arg5;
            var k:_-243 = (_arg3.getAssetByName("achievement_notification_bonus_xml") as _-243);
            if (k == null)
            {
                return;
            };
            this._-0xv = (_arg4.buildFromXML((k.content as XML)) as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.procedure = this._-3go;
            this._-0xv.center();
            this._-0Ab("bonus_points", ("+" + String(_arg1)));
            if (((_arg2) && (!((_arg2 == "")))))
            {
                this._-3Pe.registerParameter("notifications.achievement.bonus_received.name", "realname", _arg2);
                this._-0Ab("bonus_info", this._-3Pe.getKey("notifications.achievement.bonus_received.name"));
            };
            var k:BitmapData = ((_arg3.getAssetByName(this._-2M6) as BitmapDataAsset).content as BitmapData);
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("achievement_bg") as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height, true, 0);
            k.bitmap.copyPixels(k, k.rect, new Point(0, (k.height - k.height)), null, null, true);
            this._-0xv.header.controls.visible = false;
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-3Pe = null;
            this._assets = null;
        }
        private function _-0Ab(_arg1:String, _arg2:String):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextWindow = (this._-0xv.findChildByName(_arg1) as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg2;
        }
        private function _-1xp(_arg1:String, _arg2:BitmapData):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            k.bitmap = _arg2;
        }
        private function _-3go(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "close":
                    this.dispose();
                    return;
            };
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg._-4EL

package _-2yg
{
    import _-1ae.IFrameWindow;
    import _-3X8._-0hg;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-295._-243;
    import _-1ae.IItemListWindow;
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-4EL 
    {

        private const _-3vk:int = 20;

        private var _-0xv:IFrameWindow;
        private var _-3Pe:_-0hg;
        private var _-2y6:Array;

        public function _-4EL(_arg1:Array, _arg2:_-39L, _arg3:_-3Ts)
        {
            var k:String;
            var k:IWindowContainer;
            var k:ITextWindow;
            super();
            if (((!(_arg3)) || (!(_arg2))))
            {
                return;
            };
            this._-2y6 = _arg1;
            var k:_-243 = (_arg2.getAssetByName("motd_notification_xml") as _-243);
            if (k == null)
            {
                return;
            };
            this._-0xv = (_arg3.buildFromXML((k.content as XML)) as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.procedure = this._-3go;
            this._-0xv.center();
            var k:_-243 = (_arg2.getAssetByName("motd_notification_item_xml") as _-243);
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = (_arg3.buildFromXML((k.content as XML)) as IWindowContainer);
            var k:IItemListWindow = (this._-0xv.findChildByName("message_list") as IItemListWindow);
            for each (k in this._-2y6)
            {
                k = (k.clone() as IWindowContainer);
                k = (k.findChildByName("message_text") as ITextWindow);
                k.text = k;
                k.height = (k.textHeight + this._-3vk);
                k.addListItem(k);
            };
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-3Pe = null;
        }
        private function _-3go(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "close":
                case "header_button_close":
                    this.dispose();
                    return;
            };
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg._-so

package _-2yg
{
    import _-1ae.IBorderWindow;
    import _-0mD._-2Jq;
    import _-3vb._-3b;
    import _-1ae.ITextWindow;
    import _-295._-243;
    import _-1ae.IRegionWindow;
    import _-0Ie.WindowMouseEvent;
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Matrix;
    import _-2Mh._-cF;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1ae.IIconWindow;

    public class _-so 
    {

        private static const _-0Tc:String = "club_gift_notification";
        private static const _-2yh:uint = 0xFFFFFF;
        private static const in :uint = 12247545;
        private static const _-1AM:int = 13;
        private static const _-4nz:int = 14;

        private var _-0xv:IBorderWindow;
        private var _-3oJ:_-2Jq;
        private var _-0a7:_-3b;
        private var _-1Gq:ITextWindow;

        public function _-so(_arg1:int, _arg2:_-39L, _arg3:_-3Ts, _arg4:_-2Jq, _arg5:_-3b)
        {
            if (((((!(_arg2)) || (!(_arg3)))) || (!(_arg4))))
            {
                return;
            };
            this._-3oJ = _arg4;
            this._-0a7 = _arg5;
            var k:_-243 = (_arg2.getAssetByName("club_gift_notification_xml") as _-243);
            if (k == null)
            {
                return;
            };
            this._-0xv = (_arg3.buildFromXML((k.content as XML)) as IBorderWindow);
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.procedure = this._-3go;
            this._-0a7.extensionView._-408(_-0Tc, this._-0xv);
            this._-1Gq = (this._-0xv.findChildByName("cancel_link") as ITextWindow);
            var k:IRegionWindow = (this._-0xv.findChildByName("cancel_link_region") as IRegionWindow);
            if (k)
            {
                k.addEventListener(WindowMouseEvent._-4ea, this._-1hF);
                k.addEventListener(WindowMouseEvent._-4e2, this._-45Q);
            };
            if (this._-3oJ.getPurse()._-0Dl)
            {
                this._-PU(_-4nz);
            }
            else
            {
                this._-PU(_-1AM);
            };
        }
        public function get visible():Boolean
        {
            return (((this._-0xv) && (this._-0xv.visible)));
        }
        public function dispose():void
        {
            if (this._-0a7)
            {
                this._-0a7.extensionView._-21z(_-0Tc);
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-3oJ = null;
        }
        private function _-1xp(_arg1:String, _arg2:BitmapData):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0);
            var k:int = ((k.width * 0.5) - _arg2.width);
            var k:int = ((k.height * 0.5) - _arg2.height);
            k.draw(_arg2, new Matrix(2, 0, 0, 2, k, k));
            k.bitmap = k;
        }
        private function _-3go(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "open_catalog_button":
                    if (this._-3oJ)
                    {
                        this._-3oJ.openCatalogPage(_-cF._-4Pk);
                    };
                    this.dispose();
                    return;
                case "cancel_link_region":
                case "cancel_link":
                    this.dispose();
                    return;
            };
        }
        private function _-1hF(_arg1:WindowMouseEvent):void
        {
            this._-1Gq.textColor = in ;
        }
        private function _-45Q(_arg1:WindowMouseEvent):void
        {
            this._-1Gq.textColor = _-2yh;
        }
        private function _-PU(_arg1:int):void
        {
            var k:IIconWindow;
            if (this._-0xv)
            {
                k = (this._-0xv.findChildByName("club_icon") as IIconWindow);
                if (k)
                {
                    k.style = _arg1;
                    k.invalidate();
                };
            };
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg.HabboNotificationItemStyle

package _-2yg
{
    import flash.display.BitmapData;
    import _-18r.Map;

    public class HabboNotificationItemStyle 
    {

        private var _-39y:Array;
        private var _icon:BitmapData;
        private var _-3Mj:Boolean;
        private var _-0V:String;

        public function HabboNotificationItemStyle(_arg1:Map, _arg2:BitmapData, _arg3:Boolean, _arg4:String)
        {
            if (_arg1 == null)
            {
                this._-39y = [];
                this._icon = null;
            }
            else
            {
                this._-39y = _arg1["uilinks"];
                this._icon = _arg1["icon"];
            };
            if (_arg2 != null)
            {
                this._icon = _arg2;
                this._-3Mj = _arg3;
            }
            else
            {
                this._-3Mj = false;
            };
            this._-0V = _arg4;
        }
        public function dispose():void
        {
            if (((this._-3Mj) && (!((this._icon == null)))))
            {
                this._icon.dispose();
                this._icon = null;
            };
        }
        public function get icon():BitmapData
        {
            return (this._icon);
        }
        public function get _-0oK():Array
        {
            return (this._-39y);
        }
        public function get _-0AJ():String
        {
            return (this._-0V);
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg.HabboNotificationItemView

package _-2yg
{
    import _-Ew.IWindow;
    import _-18r.Map;
    import _-295._-243;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-295._-2kE;
    import _-4pF._-3Ts;
    import flash.display.BitmapData;
    import _-yT._-a5;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-1ae.IDesktopWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1B-.*;

    public class HabboNotificationItemView implements _-0gI 
    {

        public static const _-2vr:int = 70;
        public static const _-3s6:int = 5;
        private static const _-3d5:int = 0;
        private static const _-4pq:int = 1;
        private static const _-539:int = 2;
        private static const _-09T:int = 3;

        private var _-0xv:IWindow;
        private var _-0F7:_-0PT;
        private var _-58G:Boolean = false;
        private var _-0f9:Map;
        private var _-2Ib:Map;
        private var _-49V:uint;
        private var _-2L4:uint;
        private var _-17j:uint;
        private var _-3xI:int;
        private var _-4Ay:Number;
        private var _-RS:int;
        private var _-0jU:int;
        private var _-0Ke:int;

        public function HabboNotificationItemView(_arg1:_-2kE, _arg2:_-3Ts, _arg3:Map, _arg4:Map, _arg5:_-0PT)
        {
            this._-0f9 = _arg3;
            this._-2Ib = _arg4;
            var k:_-243 = (_arg1 as _-243);
            if (k == null)
            {
                return;
            };
            this._-0xv = _arg2.buildFromXML((k.content as XML), 1);
            this._-0xv.tags.push("notificationview");
            this._-0xv.context.getDesktopWindow().addEventListener(WindowEvent._-3K0, this._-505);
            this._-0xv.procedure = this._-1DQ;
            this._-0xv.blend = 0;
            this._-0xv.visible = false;
            var k:ITextWindow = (IWindowContainer(this._-0xv).findChildByTag("notification_text") as ITextWindow);
            if (k != null)
            {
                this._-RS = (this._-0xv.height - k.bottom);
            }
            else
            {
                this._-RS = 15;
            };
            this._-0jU = this._-0xv.height;
            this._-3xI = 4;
            this._-4Ay = 0;
            this._-0Ke = _-3d5;
            this._-4Bg(_arg5);
        }
        public function get disposed():Boolean
        {
            return ((this._-0xv == null));
        }
        public function get ready():Boolean
        {
            return ((this._-0Ke == _-3d5));
        }
        public function get verticalPosition():int
        {
            return (this._-3xI);
        }
        private function _-4Bg(_arg1:_-0PT):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:String = _arg1.content;
            this._-0Bz(k);
            var k:BitmapData = _arg1.style.icon;
            this._-3Jz(k);
            this._-0F7 = _arg1;
            this._-1kZ();
            this._-2gk();
        }
        public function _-4fG(_arg1:_-a5):void
        {
            if (_arg1.badgeId != this._-0F7.style._-0AJ)
            {
                return;
            };
            if (_arg1._-0tr != null)
            {
                this._-3Jz(_arg1._-0tr);
            };
        }
        public function update(_arg1:uint):void
        {
            var _local2:Number;
            var _local3:Number;
            switch (this._-0Ke)
            {
                case _-3d5:
                    return;
                case _-4pq:
                    this._-49V = (this._-49V + _arg1);
                    _local2 = (Number(this._-49V) / Number(this._-2Ib["time_fade_in"]));
                    if (this._-49V > int(this._-2Ib["time_fade_in"]))
                    {
                        this._-3vI();
                    };
                    this._-wn(_local2);
                    return;
                case _-539:
                    this._-17j = (this._-17j + _arg1);
                    if ((((this._-17j > int(this._-2Ib["time_display"]))) && (!(this._-58G))))
                    {
                        this._-Yq();
                    };
                    return;
                case _-09T:
                    this._-2L4 = (this._-2L4 + _arg1);
                    _local3 = (1 - (Number(this._-2L4) / Number(this._-2Ib["time_fade_out"])));
                    this._-wn(_local3);
                    if (this._-2L4 > int(this._-2Ib["time_fade_in"]))
                    {
                        this._-4d();
                    };
                    return;
            };
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-0F7 != null)
            {
                this._-0F7.dispose();
                this._-0F7 = null;
            };
        }
        private function _-0Bz(_arg1:String):void
        {
            var k:ITextWindow = (IWindowContainer(this._-0xv).findChildByTag("notification_text") as ITextWindow);
            if ((((k == null)) || ((_arg1 == null))))
            {
                return;
            };
            this._-0xv.height = 0;
            k.text = _arg1;
            k.height = (k.textHeight + this._-RS);
            if (this._-0xv.height < this._-0jU)
            {
                this._-0xv.height = this._-0jU;
            };
        }
        private function _-3Jz(_arg1:BitmapData):void
        {
            var k:BitmapData;
            var k:int;
            var k:int;
            var k:int;
            var k:IBitmapWrapperWindow = (IWindowContainer(this._-0xv).findChildByTag("notification_icon") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                k.bitmap = null;
                return;
            };
            if ((((_arg1.width < k.width)) && ((_arg1.height < k.height))))
            {
                k = new BitmapData(k.width, k.height, true, 0);
                k = ((k.width - _arg1.width) / 2);
                k = ((k.height - _arg1.height) / 2);
                k.copyPixels(_arg1, _arg1.rect, new Point(k, k));
            }
            else
            {
                if (_arg1.width < _arg1.height)
                {
                    k = new BitmapData(_arg1.height, _arg1.height, true, 0);
                    k = ((_arg1.height - _arg1.width) / 2);
                    k.copyPixels(_arg1, _arg1.rect, new Point(k, 0));
                }
                else
                {
                    if (_arg1.width > _arg1.height)
                    {
                        k = new BitmapData(_arg1.width, _arg1.width, true, 0);
                        k = ((_arg1.width - _arg1.height) / 2);
                        k.copyPixels(_arg1, _arg1.rect, new Point(0, k));
                    }
                    else
                    {
                        k = new BitmapData(_arg1.width, _arg1.height);
                        k.copyPixels(_arg1, _arg1.rect, new Point(0, 0));
                    };
                };
            };
            k.bitmap = k;
        }
        private function _-2gk():void
        {
            this._-49V = 0;
            this._-0Ke = _-4pq;
            this._-0xv.visible = true;
        }
        private function _-Yq():void
        {
            this._-2L4 = 0;
            this._-0Ke = _-09T;
        }
        private function _-3vI():void
        {
            this._-17j = 0;
            this._-0Ke = _-539;
        }
        private function _-4d():void
        {
            this._-0Ke = _-3d5;
            this._-0xv.visible = false;
        }
        public function _-1kZ(_arg1:int=-1):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IDesktopWindow = this._-0xv.context.getDesktopWindow();
            if (k == null)
            {
                return;
            };
            if (_arg1 != -1)
            {
                this._-3xI = _arg1;
            };
            this._-0xv.x = ((k.width - this._-0xv.width) - _-3s6);
            this._-0xv.y = this._-3xI;
        }
        public function _-1DQ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                this._-58G = true;
                _-Nb.log("notifications - hover on");
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    this._-58G = false;
                    _-Nb.log("notifications - hover off");
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-90)
                    {
                        if (this._-0F7 != null)
                        {
                            this._-0F7._-53C();
                        };
                    };
                };
            };
        }
        private function _-505(_arg1:WindowEvent):void
        {
            this._-1kZ();
        }
        private function _-wn(_arg1:Number):void
        {
            this._-4Ay = _arg1;
            if (this._-4Ay > 1)
            {
                this._-4Ay = 1;
            };
            if (this._-4Ay < 0)
            {
                this._-4Ay = 0;
            };
            this._-0xv.blend = this._-4Ay;
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg.HabboNotificationViewManager

package _-2yg
{
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-3vb._-3b;
    import _-om._-2SM;
    import _-18r.Map;
    import _-3MI._-3mp;
    import _-yT._-a5;
    import flash.events.Event;
    import _-1B-.*;

    public class HabboNotificationViewManager implements _-0gI 
    {

        private static const _-3vJ:int = 4;

        private var _-AV:_-39L;
        private var _-U-:_-3Ts;
        private var _-0a7:_-3b;
        private var _-49A:_-2SM;
        private var _-0f9:Map;
        private var _-2Ib:Map;
        private var _disposed:Boolean = false;
        private var _-4Ob:Array;

        public function HabboNotificationViewManager(_arg1:_-2SM, _arg2:_-39L, _arg3:_-3Ts, _arg4:_-3b, _arg5:Map, _arg6:Map)
        {
            this._-49A = _arg1;
            this._-AV = _arg2;
            this._-U- = _arg3;
            this._-0a7 = _arg4;
            this._-0f9 = _arg5;
            this._-2Ib = _arg6;
            this._-4Ob = new Array();
            if (this._-0a7)
            {
                this._-0a7.events.addEventListener(_-3mp._-2Ft, this._-0IV);
            };
            this._-49A.registerUpdateReceiver(this, 2);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-4fG(_arg1:_-a5):void
        {
            var k:HabboNotificationItemView;
            for each (k in this._-4Ob)
            {
                k._-4fG(_arg1);
            };
        }
        public function dispose():void
        {
            var k:int = this._-4Ob.length;
            var k:int;
            while (k < k)
            {
                (this._-4Ob.pop() as HabboNotificationItemView).dispose();
                k++;
            };
            this._-AV = null;
            this._-U- = null;
            if (this._-0f9)
            {
                this._-0f9.dispose();
                this._-0f9 = null;
            };
            if (this._-2Ib)
            {
                this._-2Ib.dispose();
                this._-2Ib = null;
            };
            if (this._-0a7)
            {
                this._-0a7.events.removeEventListener(_-3mp._-2Ft, this._-0IV);
                this._-0a7 = null;
            };
            if (this._-49A != null)
            {
                this._-49A.removeUpdateReceiver(this);
                this._-49A = null;
            };
            this._disposed = true;
        }
        public function _-4Bg(_arg1:_-0PT):Boolean
        {
            if (!this._-4GY())
            {
                return (false);
            };
            var k:HabboNotificationItemView = new HabboNotificationItemView(this._-AV.getAssetByName("layout_notification_xml"), this._-U-, this._-0f9, this._-2Ib, _arg1);
            k._-1kZ(this._-2tz());
            this._-4Ob.push(k);
            this._-4Ob.sortOn("verticalPosition", Array.NUMERIC);
            return (true);
        }
        public function _-4GY():Boolean
        {
            return (((this._-2tz() + HabboNotificationItemView._-2vr) < this._-U-.getDesktop(0).height));
        }
        public function update(_arg1:uint):void
        {
            var k:HabboNotificationItemView;
            var k:int;
            k = 0;
            while (k < this._-4Ob.length)
            {
                (this._-4Ob[k] as HabboNotificationItemView).update(_arg1);
                k++;
            };
            k = 0;
            while (k < this._-4Ob.length)
            {
                k = (this._-4Ob[k] as HabboNotificationItemView);
                if (k.ready)
                {
                    k.dispose();
                    this._-4Ob.splice(k, 1);
                    k--;
                };
                k++;
            };
        }
        private function _-2tz():int
        {
            var k:int;
            var k:HabboNotificationItemView;
            if (!this._-0a7)
            {
                return (k);
            };
            if (!this._-0a7.extensionView)
            {
                return (k);
            };
            k = (this._-0a7.extensionView._-1Ls + _-3vJ);
            if (this._-4Ob.length == 0)
            {
                return (k);
            };
            var k:int = k;
            var k:int;
            while (k < this._-4Ob.length)
            {
                k = (this._-4Ob[k] as HabboNotificationItemView);
                if ((k + HabboNotificationItemView._-2vr) < k.verticalPosition)
                {
                    return (k);
                };
                k = ((k.verticalPosition + HabboNotificationItemView._-2vr) + _-3vJ);
                k++;
            };
            return (k);
        }
        public function _-0IV(_arg1:Event):void
        {
            var k:HabboNotificationItemView;
            var k:int = (this._-0a7.extensionView._-1Ls + _-3vJ);
            var k:int;
            while (k < this._-4Ob.length)
            {
                k = (this._-4Ob[k] as HabboNotificationItemView);
                k._-1kZ(k);
                k = ((k.verticalPosition + HabboNotificationItemView._-2vr) + _-3vJ);
                k++;
            };
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2yg.SingularNotificationController

package _-2yg
{
    import _-om._-2SM;
    import _-18r.Map;
    import flash.utils.Dictionary;
    import flash.utils.Timer;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-295._-2kE;
    import _-295._-243;
    import _-18r.XMLVariableParser;
    import _-yT._-a5;
    import flash.events.TimerEvent;
    import _-uF.ILocalization;
    import _-om._-2sU;
    import _-3cY._-503;
    import _-0y0._-AY;
    import _-1B-.*;

    public class SingularNotificationController implements _-0gI 
    {

        private static const _-5AH:int = 5000;
        private static const _-0rA:String = "pixelbalance";
        private static const _-0GY:String = "badges";
        private static const _-3d0:String = "selectbadge";
        private static const _-4I2:String = "inventory";
        private static const _-4Oq:String = "selectfurni";
        private static const _-1OM:String = "credits";
        private static const _-73:String = "friendlist";
        private static const _-46K:String = "pet_inventory";
        private static const _-1G9:String = "go_to_room";

        private var _-49A:_-2SM;
        private var _-1KT:Array;
        private var _-0o-:Map;
        private var _-3ac:HabboNotificationViewManager;
        private var _-0BL:_-0n4;
        private var _-4JT:_-1GE;
        private var _-4dZ:Boolean;
        private var _-1ko:_-so;
        private var _-1Ca:Dictionary;
        private var _-3Fa:Timer;
        private var _-4Bk:Boolean;

        public function SingularNotificationController(_arg1:_-2SM)
        {
            var k:int;
            var k:Map;
            var k:BitmapDataAsset;
            var k:BitmapData;
            super();
            this._-49A = _arg1;
            this._-1KT = new Array();
            this._-0o- = new Map();
            this._-1Ca = new Dictionary();
            this._-0BL = new _-0n4(this._-49A.windowManager, this._-49A.localization);
            var k:_-2kE = this._-49A.assetLibrary.getAssetByName("habbo_notifications_config_xml");
            var k:_-243 = _-243(k);
            if (k != null)
            {
                XMLVariableParser.parseVariableList(XML(k.content).children(), this._-0o-);
            };
            var k:Map = this._-0o-["styles"];
            if (k != null)
            {
                k = 0;
                while (k < k.length)
                {
                    k = k.getWithIndex(k);
                    if (k["icon"] != null)
                    {
                        k = (this._-49A.assetLibrary.getAssetByName(k["icon"]) as BitmapDataAsset);
                        k = (k.content as BitmapData);
                        k["icon"] = k;
                    };
                    k++;
                };
            };
            this._-3ac = new HabboNotificationViewManager(this._-49A, this._-49A.assetLibrary, this._-49A.windowManager, this._-49A._-ae, this._-0o-["styles"], this._-0o-["view"]);
            this._-49A.sessionDataManager.events.addEventListener(_-a5._-4pG, this._-4Ys);
            this._-49A.registerUpdateReceiver(this, 2);
        }
        public function get _-4Cj():_-0n4
        {
            return (this._-0BL);
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            if (this._-3Fa)
            {
                this._-3Fa.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-05K);
                this._-3Fa = null;
            };
            if (this._-3ac != null)
            {
                this._-3ac.dispose();
                this._-3ac = null;
            };
            if (this._-0BL != null)
            {
                this._-0BL.dispose();
                this._-0BL = null;
            };
            if (this._-4JT != null)
            {
                this._-4JT.dispose();
                this._-4JT = null;
            };
            if (this._-1ko != null)
            {
                this._-1ko.dispose();
                this._-1ko = null;
            };
            if (this._-49A != null)
            {
                this._-49A.removeUpdateReceiver(this);
                this._-49A = null;
            };
            this._-4Bk = true;
        }
        public function update(_arg1:uint):void
        {
            var k:_-0PT;
            if (((this._-3ac._-4GY()) && ((this._-1KT.length > 0))))
            {
                k = this._-lX();
                if (!this._-3ac._-4Bg(k))
                {
                    k.dispose();
                };
            };
        }
        public function _-0df(_arg1:String, _arg2:String, _arg3:BitmapData, _arg4:String=null):int
        {
            if (this._-49A.disabled)
            {
                return (0);
            };
            var k:Map = this._-0o-["styles"];
            if (k == null)
            {
                return (0);
            };
            var k:Map = k[_arg2];
            if (k == null)
            {
                return (0);
            };
            var k:HabboNotificationItemStyle = new HabboNotificationItemStyle(k, _arg3, true, _arg4);
            var k:_-0PT = new _-0PT(_arg1, k, this);
            this._-1KT.push(k);
            return (this._-1KT.length);
        }
        private function _-lX():_-0PT
        {
            var k:Array = this._-1KT.splice(0, 1);
            return ((k[0] as _-0PT));
        }
        public function _-2Mp(_arg1:String, _arg2:String):void
        {
            this._-49A.localization.registerParameter("soundmachine.notification.playing", "songname", _arg1);
            this._-49A.localization.registerParameter("soundmachine.notification.playing", "songauthor", _arg2);
            var k:ILocalization = this._-49A.localization.getLocalization("soundmachine.notification.playing");
            if (k)
            {
                this._-0df(k.value, _-2sU._-4cl, null);
            };
        }
        public function _-13P(_arg1:String):void
        {
            this._-0df(_arg1, _-2sU._-4Ei, null);
        }
        public function _-4tX(_arg1:String):void
        {
            switch (_arg1)
            {
                case _-0rA:
                    return;
                case _-0GY:
                    if (this._-49A.inventory != null)
                    {
                        this._-49A.inventory._-4Op(_-503._-4Ds);
                    };
                    return;
                case _-3d0:
                    return;
                case _-4I2:
                    if (((!((this._-49A.inventory == null))) && (this._-49A.inventory._-0io)))
                    {
                        this._-49A.inventory._-4Op(_-503._-2uv);
                    };
                    return;
                case _-46K:
                    if (((!((this._-49A.inventory == null))) && (this._-49A.inventory._-0io)))
                    {
                        this._-49A.inventory._-4Op(_-503._-0Ij);
                    };
                    return;
                case _-4Oq:
                    return;
                case _-1OM:
                    return;
                case _-73:
                    if (this._-49A._-4zV != null)
                    {
                        this._-49A._-4zV.openFriendList();
                    };
                    return;
                case _-1G9:
                    return;
            };
        }
        public function _-0e9(_arg1:String):void
        {
            if (this._-4JT == null)
            {
                this._-4JT = new _-1GE(this._-49A.windowManager, this._-49A.assets, this._-49A.localization);
            };
            this._-4JT._-1du(_arg1);
        }
        private function _-05K(_arg1:TimerEvent):void
        {
            this._-3Fa.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-05K);
            this._-3Fa = null;
            this._-12v();
        }
        public function _-12v():void
        {
            var k:String;
            if (_-AY._-4Bs())
            {
                if (this._-3Fa == null)
                {
                    this._-3Fa = new Timer((_-AY._-2nx + _-5AH), 1);
                    this._-3Fa.addEventListener(TimerEvent.TIMER_COMPLETE, this._-05K);
                    this._-3Fa.start();
                };
            }
            else
            {
                if (!this._-4dZ)
                {
                    k = this._-49A.localization.getKey("mod.chatdisclaimer", "NA");
                    this._-0df(k, _-2sU._-4Ei, null);
                    this._-4dZ = true;
                    _-Nb.log(("DISPLAYED MOD INFO: " + k));
                };
            };
        }
        public function _-F8(_arg1:int):void
        {
            if (((this._-1ko) && (this._-1ko.visible)))
            {
                return;
            };
            this._-1ko = new _-so(_arg1, this._-49A.assets, this._-49A.windowManager, this._-49A.catalog, this._-49A._-ae);
        }
        private function _-4Ys(_arg1:_-a5):void
        {
            if (((!((_arg1 == null))) && (!((this._-3ac == null)))))
            {
                this._-3ac._-4fG(_arg1);
            };
        }

    }
}//package _-2yg

//------------------------------------------------------------
//_-2YR._-4Tn

package _-2YR
{
    public class _-4Tn 
    {

        public static const USE_GUIDE_TOOL:String = "USE_GUIDE_TOOL";
        public static const GIVE_GUIDE_TOURS:String = "GIVE_GUIDE_TOURS";
        public static const JUDGE_CHAT_REVIEWS:String = "JUDGE_CHAT_REVIEWS";
        public static const SAFE_CHAT:String = "SAFE_CHAT";
        public static const VOTE_IN_COMPETITIONS:String = "VOTE_IN_COMPETITIONS";
        public static const CALL_ON_HELPERS:String = "CALL_ON_HELPERS";
        public static const CITIZEN:String = "CITIZEN";
        public static const FULL_CHAT:String = "FULL_CHAT";
        public static const TRADE:String = "TRADE";

    }
}//package _-2YR

//------------------------------------------------------------
//_-2ZG.Purse

package _-2ZG
{
    public class Purse 
    {

        private var _-2KT:int = 0;
        private var _-1Hi:int = 0;
        private var _-3gU:int = 0;
        private var _-0cT:Boolean = false;
        private var _-2Ll:Boolean = false;
        private var _-1nX:Boolean = false;
        private var _-0gb:Boolean = false;
        private var _-4cu:int = 0;

        public function set clubDays(_arg1:int):void
        {
            this._-2KT = Math.max(0, _arg1);
        }
        public function set clubPeriods(_arg1:int):void
        {
            this._-1Hi = Math.max(0, _arg1);
        }
        public function set _-54M(_arg1:int):void
        {
            this._-3gU = Math.max(0, _arg1);
        }
        public function set _-0-R(_arg1:Boolean):void
        {
            this._-0cT = _arg1;
        }
        public function set _-0Dl(_arg1:Boolean):void
        {
            this._-2Ll = _arg1;
        }
        public function set _-1Kf(_arg1:Boolean):void
        {
            this._-1nX = _arg1;
        }
        public function set _-4jL(_arg1:Boolean):void
        {
            this._-0gb = _arg1;
        }
        public function set _-2J(_arg1:int):void
        {
            this._-4cu = _arg1;
        }
        public function get clubDays():int
        {
            return (this._-2KT);
        }
        public function get clubPeriods():int
        {
            return (this._-1Hi);
        }
        public function get _-54M():int
        {
            return (this._-3gU);
        }
        public function get _-0-R():Boolean
        {
            return (this._-0cT);
        }
        public function get _-0Dl():Boolean
        {
            return (this._-2Ll);
        }
        public function get _-1Kf():Boolean
        {
            return (this._-1nX);
        }
        public function get _-4jL():Boolean
        {
            return (this._-0gb);
        }
        public function get _-2J():int
        {
            return (this._-4cu);
        }

    }
}//package _-2ZG

//------------------------------------------------------------
//_-2Zi._-1Wm

package _-2Zi
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Wm implements _-58N 
    {

        private var _-3Bm:int = -1;
        private var _name:String;
        private var _-38L:Array;

        public function get _-rJ():int
        {
            return (this._-3Bm);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-7():Array
        {
            return (this._-38L);
        }
        public function flush():Boolean
        {
            this._-3Bm = -1;
            this._name = "";
            this._-38L = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Bm = _arg1._-2BW();
            this._name = _arg1.readString();
            var k:int = _arg1._-2BW();
            this._-38L = new Array();
            var k:int;
            while (k < k)
            {
                this._-38L.push(_arg1.readString());
                k++;
            };
            return (true);
        }

    }
}//package _-2Zi

//------------------------------------------------------------
//_-2Zi._-4A3

package _-2Zi
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4A3 implements _-58N 
    {

        private var _-3Bm:int = -1;
        private var _name:String;
        private var _-38L:Array;

        public function get _-rJ():int
        {
            return (this._-3Bm);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-7():Array
        {
            return (this._-38L);
        }
        public function flush():Boolean
        {
            this._-3Bm = -1;
            this._name = "";
            this._-38L = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Bm = _arg1._-2BW();
            this._name = _arg1.readString();
            var k:int = _arg1._-2BW();
            this._-38L = new Array();
            var k:int;
            while (k < k)
            {
                this._-38L.push(_arg1.readString());
                k++;
            };
            return (true);
        }

    }
}//package _-2Zi

//------------------------------------------------------------
//_-2Zi._-En

package _-2Zi
{
    import _-1rc._-0GM;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-En implements _-58N 
    {

        private var _-0Ke:int;
        private var _-3Jm:Array;

        public function flush():Boolean
        {
            this._-0Ke = 0;
            this._-3Jm = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:_-0GM;
            this._-0Ke = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new _-0GM(_arg1);
                this._-3Jm.push(k);
                k++;
            };
            return (true);
        }
        public function get _-0Ca():Array
        {
            return (this._-3Jm);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }

    }
}//package _-2Zi

//------------------------------------------------------------
//_-2zl._-07m

package _-2zl
{
    import flash.display.BitmapData;
    import _-0y0._-06R;
    import _-0vU._-0Va;

    public interface _-07m 
    {

        function initializeDimensions(_arg1:int, _arg2:int):Boolean;
        function render(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:_-06R, _arg7:Boolean, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=0, _arg12:int=0):_-0Va;
        function getTextureIdentifier(_arg1:Number, _arg2:_-06R):String;
        function _-4UD():void;

    }
}//package _-2zl

//------------------------------------------------------------
//_-2zo._-0uD

package _-2zo
{
    import _-4pF._-3Ts;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-Ew.IWindowContainer;
    import _-1ae.IDesktopWindow;
    import _-295._-39L;
    import flash.events.IEventDispatcher;
    import _-295._-243;
    import _-295._-2kE;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae._-C7;
    import _-1ae.ITextWindow;
    import _-1ae.IDisplayObjectWrapper;
    import flash.display.Bitmap;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import flash.events.Event;
    import _-3PZ._-2yx;
    import _-295.BitmapDataAsset;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-0uD implements _-1zZ 
    {

        private var _-U-:_-3Ts;
        private var _-2Hg:_-4uR;
        private var _-cU:_-0hg;
        private var _-0xv:IWindowContainer;
        private var _-2sh:IDesktopWindow;
        private var _disposed:Boolean = false;
        private var _-2bG:Function;
        private var _-AV:_-39L;
        private var _-4fy:uint = 0;
        private var _-2Te:IEventDispatcher;
        private var _-4WO:Boolean;

        public function _-0uD(_arg1:_-3Ts, _arg2:_-4uR, _arg3:_-0hg, _arg4:_-39L, _arg5:IEventDispatcher, _arg6:Boolean=true)
        {
            this._-U- = _arg1;
            this._-2Hg = _arg2;
            this._-cU = _arg3;
            this._-AV = _arg4;
            this._-2Te = _arg5;
            this._-2sh = _arg1.getDesktop(0);
            this._-4WO = _arg6;
            var k:_-243 = (_arg4.getAssetByName("hotel_view_window") as _-243);
            this._-0xv = (_arg1.buildFromXML((k.content as XML), 0) as IWindowContainer);
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.rectangle = this._-0xv.desktop.rectangle;
            var k:IWindowContainer = this._-199();
            if (k != null)
            {
                this._-2sh.addChild(k);
                k.center();
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-199():IWindowContainer
        {
            var k:_-2kE;
            var k:BitmapData;
            var k:_-2kE;
            var k:BitmapData;
            var k:String;
            if ((((this._-AV == null)) || ((this._-U- == null))))
            {
                return (null);
            };
            var k:Boolean = this._-2Hg.getBoolean("new.identity", false);
            if (!k)
            {
                return (null);
            };
            var k:String = this._-2Hg.getKey("avatar.name", "");
            var k:String = this._-2Hg.getKey("avatar.image.url", "");
            if ((((((k == null)) || ((k.length == 0)))) && ((((k == null)) || ((k.length == 0))))))
            {
                return (null);
            };
            var k:_-243 = (this._-AV.getAssetByName("hotel_view_welcome_window") as _-243);
            var k:IWindowContainer = (this._-U-.buildFromXML((k.content as XML), 0) as IWindowContainer);
            if (k == null)
            {
                return (null);
            };
            k.visible = false;
            var k:IBitmapWrapperWindow = (k.findChildByName("avatar_platform_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = this._-AV.getAssetByName(k._-2Qt);
                if (k != null)
                {
                    k = (k.content as BitmapData);
                    if (k != null)
                    {
                        k._-30Z = false;
                        k.bitmap = k;
                    };
                };
            };
            var k:_-C7 = (k.findChildByName("avatar_bubble") as _-C7);
            if (k != null)
            {
            };
            var k:IBitmapWrapperWindow = (k.findChildByName("habbo_logo") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = this._-AV.getAssetByName(k._-2Qt);
                if (k != null)
                {
                    k = (k.content as BitmapData);
                    if (k != null)
                    {
                        k._-30Z = false;
                        k.bitmap = k;
                    };
                };
            };
            var k:ITextWindow = (k.findChildByName("welcome_view_name_text") as ITextWindow);
            if (k != null)
            {
                k = "hotel.welcome.view.name";
                this._-cU.registerParameter(k, "name", k);
                k.text = this._-cU.getKey(k, k);
            };
            return (k);
        }
        public function _-4Xd(_arg1:BitmapData):void
        {
            var k:int;
            var k:int;
            if (_arg1 == null)
            {
                return;
            };
            if ((((this._-2sh == null)) || (this._-2sh.disposed)))
            {
                return;
            };
            var k:IWindowContainer = (this._-2sh.findChildByName("hotel_view_welcome_window") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            if (!k.visible)
            {
                k.visible = true;
            };
            var k:IWindowContainer = (k.findChildByName("avatar_image_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (k.findChildByName("avatar_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            k.width = _arg1.width;
            k.height = _arg1.height;
            k.bitmap = _arg1;
            var k:IBitmapWrapperWindow = (k.findChildByName("avatar_platform_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (((k.width - k.width) / 2) - 3);
                k = (((k.height - k.height) - (k.height / 2)) + 1);
                k.x = k;
                k.y = k;
            };
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._disposed = true;
            this._-2Hg = null;
            this._-cU = null;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-2bG = null;
            this._-2sh = null;
            this._-2Te = null;
        }
        public function _-2mo(_arg1:BitmapData):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if ((((this._-0xv == null)) || (this._-0xv.disposed)))
            {
                return;
            };
            var k:IDisplayObjectWrapper = (this._-0xv.getChildByName("hotel_view_bmp") as IDisplayObjectWrapper);
            if (k != null)
            {
                k.width = _arg1.width;
                k.height = _arg1.height;
                k.setDisplayObject(new Bitmap(_arg1));
            };
        }
        public function _-3XH(_arg1:String, _arg2:Function):void
        {
            var k:_-4Rz = this._-AV.loadAssetFromFile(("hotel_view_banner_" + this._-4fy), new URLRequest(_arg1), "image/png");
            if (_arg2 == null)
            {
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-3mU);
                k.addEventListener(AssetLoaderEvent._-4ar, this._-3mU);
            }
            else
            {
                if (this._-2Te != null)
                {
                    this._-2Te.dispatchEvent(new Event(_-2yx._-2Pm));
                };
                this._-2bG = _arg2;
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-4VO);
                k.addEventListener(AssetLoaderEvent._-4ar, this._-4VO);
            };
            this._-4fy++;
        }
        private function _-3mU(_arg1:AssetLoaderEvent):void
        {
            var k:BitmapData;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            var k:_-2kE = this._-AV.getAssetByName(k.assetName);
            k.removeEventListener(AssetLoaderEvent._-1Tr, this._-3mU);
            k.removeEventListener(AssetLoaderEvent._-4ar, this._-3mU);
        }
        private function _-4VO(_arg1:AssetLoaderEvent):void
        {
            var k:BitmapData;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            var k:_-2kE = this._-AV.getAssetByName(k.assetName);
            if (_arg1.type == AssetLoaderEvent._-4ar)
            {
                if (this._-2Te != null)
                {
                    this._-2Te.dispatchEvent(new Event(_-2yx._-080));
                };
            }
            else
            {
                if (_arg1.type == AssetLoaderEvent._-1Tr)
                {
                    if (this._-2Te != null)
                    {
                        this._-2Te.dispatchEvent(new Event(_-2yx._-3zu));
                    };
                    k = (BitmapDataAsset(k).content as BitmapData);
                    if (this._-2bG != null)
                    {
                        this._-2bG(k);
                        this._-2bG = null;
                    };
                };
            };
            k.removeEventListener(AssetLoaderEvent._-1Tr, this._-4VO);
            k.removeEventListener(AssetLoaderEvent._-4ar, this._-4VO);
        }
        public function show():void
        {
            if ((((this._-0xv == null)) || (this._-0xv.disposed)))
            {
                return;
            };
            this._-2sh.addChildAt(this._-0xv, 0);
        }
        public function hide():void
        {
            if ((((this._-0xv == null)) || (this._-0xv.disposed)))
            {
                return;
            };
            var k:IWindow = this._-2sh.getChildByName("hotel_view_welcome_window");
            if (k != null)
            {
                this._-2sh.removeChild(k);
                k.dispose();
            };
            this._-2sh.removeChild(this._-0xv);
        }

    }
}//package _-2zo

//------------------------------------------------------------
//_-2zo.HabboCommunicationDemo

package _-2zo
{
    import _-1B-._-Px;
    import _-4Wu._-4uR;
    import _-3gx._-4BJ;
    import _-4pF._-3Ts;
    import _-1Jd._-45k;
    import _-3X8._-0hg;
    import _-3uh._-1pG;
    import _-3rj._-Cc;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import flash.events.Event;
    import _-1B-._-5CE;
    import _-295._-39L;
    import flash.utils.ByteArray;
    import flash.geom.Point;
    import _-3PZ._-0qq;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-yT._-7k;
    import _-2np._-1ZV;
    import _-1HK._-zx;
    import _-1HK._-4qS;
    import _-1HK._-4Pw;
    import _-1HK._-0uR;
    import _-50q._-1AX;
    import _-1HK._-2bH;
    import _-1HK._-025;
    import _-1Q8._-567;
    import _-3QI.Game2ArenaEnteredMessageEvent;
    import _-1HK._-0hm;
    import _-1HK._-Ga;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-295._-2kE;
    import flash.display.BitmapData;
    import _-3PZ._-2yx;
    import _-295.BitmapDataAsset;
    import flash.display.Stage;
    import _-0yf._-2zT;
    import _-p-.Core;
    import _-3PZ._-0hr;
    import _-23t._-1Na;
    import _-23t._-3P-;
    import _-4Aj._-0tL;
    import _-3rj._-O1;
    import _-3rj._-4gL;
    import flash.net.SharedObject;
    import _-23t._-2Uo;
    import _-23t._-0tY;
    import _-23t._-20B;
    import flash.text.Font;
    import _-3dU.MD5;
    import flash.external.ExternalInterface;
    import flash.system.Capabilities;
    import flash.text.FontType;
    import flash.text.FontStyle;
    import _-4yl.Hex;
    import _-23t._-4l4;
    import _-23t._-2VM;
    import _-2p5._-2ka;
    import _-hT._-53I;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-23t._-4CB;
    import _-1l1._-1mP;
    import _-2ly._-11j;
    import _-2r-.BigInteger;
    import _-23t._-3o6;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-18r.ErrorReportStorage;
    import _-3Bn._-0xN;
    import com.sulake.iid.*;
    import _-1HK.*;
    import _-23t.*;

    public class HabboCommunicationDemo extends _-Px 
    {

        private static const _-cd:String = "fuselogin";

        private var _-2Hg:_-4uR;
        private var _-41M:_-4BJ;
        private var _-U-:_-3Ts;
        private var _-16k:_-45k;
        private var _-cU:_-0hg;
        private var _-3kv:_-1pG;
        private var _-5Ac:String;
        private var _-Ke:HabboLoginDemoView;
        private var _-12k:_-Cc;
        private var _-434:String;
        private var _-AG:String;
        private var _-2M3:Boolean;
        private var _-33l:Boolean;
        private var _-1jv:String;
        private var _-0PD:_-0uD;
        private var _-7S:String = "";

        public function HabboCommunicationDemo(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboConfigurationManager(), this._-1aw);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboCommunicationManager(), this._-2KS);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            _arg1.events.addEventListener(Event.UNLOAD, this.unloading);
        }
        private static function decode(_arg1:ByteArray, _arg2:uint, _arg3:uint, _arg4:Point, _arg5:Point):String
        {
            var k:int;
            var k:uint;
            var k:int;
            var k:uint;
            var k:uint;
            var k:String = "";
            var k:uint;
            var k:uint;
            var k:uint;
            var k:uint;
            if (_arg3 == 4)
            {
                k = 1;
            };
            var k:int = _arg4.y;
            while (k < (_arg4.y + _arg5.y))
            {
                k = _arg4.x;
                while (k < (_arg4.x + _arg5.x))
                {
                    k = ((((k + k) * _arg2) + k) * _arg3);
                    while (k < _arg3)
                    {
                        _arg1.position = (k + k);
                        k = _arg1.readUnsignedByte();
                        k = (k & 1);
                        k = (k | (k << (7 - k)));
                        if (k == 7)
                        {
                            k = (k + String.fromCharCode(k));
                            k = 0;
                            k = 0;
                        }
                        else
                        {
                            k++;
                        };
                        k++;
                    };
                    if ((k % 2) == 0)
                    {
                        k++;
                    };
                    k++;
                };
                k = 0;
                k++;
            };
            return (k);
        }
        private static function _-3mo(_arg1:String, _arg2:String):String
        {
            var k:uint;
            var k:String = "";
            var k:int;
            var k:int;
            while (k < _arg1.length)
            {
                k = _arg1.charCodeAt(k);
                k = (k + String.fromCharCode((k ^ _arg2.charCodeAt(k))));
                k++;
                if (k == _arg2.length)
                {
                    k = 0;
                };
                k++;
            };
            return (k);
        }

        public function get _-0a3():_-4uR
        {
            return (this._-2Hg);
        }
        public function get _-IB():_-4BJ
        {
            return (this._-41M);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function set _-0s5(_arg1:String):void
        {
            this._-434 = _arg1;
        }
        public function set _-49E(_arg1:String):void
        {
            this._-AG = _arg1;
        }
        override public function dispose():void
        {
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            if (this._-0PD != null)
            {
                this._-0PD.dispose();
                this._-0PD = null;
            };
        }
        private function unloading(_arg1:Event):void
        {
            this._-33l = true;
        }
        public function _-2fM(_arg1:String):void
        {
            if (((_arg1) && (!(this._-434))))
            {
                this._-434 = _arg1;
                this._-41M._-4xJ(_-0qq._-cx);
            };
        }
        private function _-1aw(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2Hg = (_arg2 as _-4uR);
            this._-Bx();
            this._-065();
            this._-4sb();
        }
        private function _-1bB(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-U- = (_arg2 as _-3Ts);
            this._-4sb();
        }
        private function _-08R(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-16k = (_arg2 as _-45k);
            if (this._-16k == null)
            {
                return;
            };
            this._-16k.events.addEventListener(_-7k._-44W, this._-0Nx);
            this._-4sb();
        }
        private function _-2KS(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-41M = (_arg2 as _-4BJ);
            if (this._-41M == null)
            {
                return;
            };
            var k:_-1ZV = this._-41M._-4gR(null);
            if (k != null)
            {
                k.addEventListener(Event.CONNECT, this._-1BU);
                k.addEventListener(Event.CLOSE, this._-1rT);
            };
            this._-41M.addHabboConnectionMessageEvent(new _-zx(this._-2Ol));
            this._-41M.addHabboConnectionMessageEvent(new _-4qS(this._-2t0));
            this._-41M.addHabboConnectionMessageEvent(new _-4Pw(this._-4sK));
            this._-41M.addHabboConnectionMessageEvent(new _-0uR(this._-3qU));
            this._-41M.addHabboConnectionMessageEvent(new _-1AX(this._-2D-));
            this._-41M.addHabboConnectionMessageEvent(new _-2bH(this._-4u4));
            this._-41M.addHabboConnectionMessageEvent(new _-025(this._-E1));
            this._-41M.addHabboConnectionMessageEvent(new _-567(this._-4ux));
            this._-41M.addHabboConnectionMessageEvent(new Game2ArenaEnteredMessageEvent(this._-4ux));
            this._-41M.addHabboConnectionMessageEvent(new _-0hm(this._-X));
            this._-41M.addHabboConnectionMessageEvent(new _-Ga(this._-1lr));
            this._-4sb();
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-cU = (_arg2 as _-0hg);
            this._-4sb();
        }
        private function _-4sb():void
        {
            if (((((((((this._-41M) && (this._-2Hg))) && (this._-16k))) && (this._-U-))) && (this._-cU)))
            {
                this._-qk();
            };
        }
        private function _-Bx():void
        {
            if (this._-2Hg == null)
            {
                return;
            };
            var k:String = this._-2Hg.getKey("avatar.image.url", "");
            if ((((k == null)) || ((k.length == 0))))
            {
                return;
            };
            var k:_-4Rz = assets.loadAssetFromFile("welcomeview_avatar_image", new URLRequest(k), "image/png");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-1Zv);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-1Zv);
        }
        private function _-1Zv(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz;
            var _local4:_-2kE;
            var _local5:BitmapData;
            k = (_arg1.target as _-4Rz);
            k.removeEventListener(AssetLoaderEvent._-1Tr, this._-1Zv);
            k.removeEventListener(AssetLoaderEvent._-4ar, this._-1Zv);
            var k:Event;
            switch (_arg1.type)
            {
                case AssetLoaderEvent._-4ar:
                    break;
                case AssetLoaderEvent._-1Tr:
                    k = new Event(_-2yx._-3zu);
                    _local4 = assets.getAssetByName(k.assetName);
                    _local5 = (BitmapDataAsset(_local4).content as BitmapData);
                    if (this._-0PD != null)
                    {
                        this._-0PD._-4Xd(_local5);
                    };
                    break;
            };
            if (((!((k == null))) && (!((events == null)))))
            {
                events.dispatchEvent(k);
            };
        }
        private function _-065():void
        {
            if (this._-2Hg == null)
            {
                return;
            };
            if (this._-2Hg.getBoolean("landing.view.enabled", false))
            {
                return;
            };
            var k:String = this._-2Hg.getKey("client.hotel_view.image");
            var k:String = this._-2Hg.getKey("image.library.url");
            if (((!((k == null))) && (!((k == null)))))
            {
                this._-4h3((k + k));
            };
        }
        private function _-4h3(_arg1:String):void
        {
            var k:_-4Rz = assets.loadAssetFromFile("hotelview_png", new URLRequest(_arg1), "image/png");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-2kA);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-2kA);
        }
        private function _-2kA(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz;
            var _local4:_-2kE;
            var _local5:BitmapData;
            k = (_arg1.target as _-4Rz);
            k.removeEventListener(AssetLoaderEvent._-1Tr, this._-2kA);
            k.removeEventListener(AssetLoaderEvent._-4ar, this._-2kA);
            var k:Event;
            switch (_arg1.type)
            {
                case AssetLoaderEvent._-4ar:
                    k = new Event(_-2yx._-080);
                    break;
                case AssetLoaderEvent._-1Tr:
                    k = new Event(_-2yx._-3zu);
                    _local4 = assets.getAssetByName(k.assetName);
                    _local5 = (BitmapDataAsset(_local4).content as BitmapData);
                    if (this._-0PD != null)
                    {
                        this._-0PD._-2mo(_local5);
                    };
                    break;
            };
            if (((!((k == null))) && (!((events == null)))))
            {
                events.dispatchEvent(k);
            };
        }
        private function _-qk():void
        {
            var k:Boolean = this._-2Hg.getBoolean("client.hotel_view.show_on_startup", true);
            this._-0PD = new _-0uD(this._-U-, this._-2Hg, this._-cU, assets, _-Px(context).events, k);
            var k:_-2kE = assets.getAssetByName("hotelview_png");
            if (k != null)
            {
                this._-0PD._-2mo((k.content as BitmapData));
            };
            var k:Stage = context.displayObjectContainer.stage;
            if (k != null)
            {
                k.dispatchEvent(new _-2zT(_-2zT.HOTEL_VIEW_READY));
            };
            var k:_-2kE = assets.getAssetByName("welcomeview_avatar_image");
            if (k != null)
            {
                this._-0PD._-4Xd((k.content as BitmapData));
            };
            this._-0PD.show();
            this._-434 = this._-2Hg.getKey("sso.ticket", null);
            this._-AG = this._-2Hg.getKey("flash.client.url", "");
            this._-1jv = this._-2Hg.getKey("external.variables.txt", "");
            if (this._-434)
            {
                this._-41M.mode = _-0qq._-2eP;
                this._-41M._-4xJ(_-0qq._-cx);
            }
            else
            {
                if (this._-U- != null)
                {
                    if (((false) || (false)))
                    {
                        this._-Ke = new HabboLoginDemoView(this);
                        this._-Ke.addEventListener(HabboLoginDemoView._-4bO, this._-0fJ);
                    }
                    else
                    {
                        Core._-4Tm("Login without an SSO ticket is not supported", Core._-0QA);
                    };
                };
            };
        }
        private function _-0fJ(_arg1:Event=null):void
        {
            this._-2zk(_-0hr.INIT);
            if (this._-434 != null)
            {
                this._-41M.mode = _-0qq._-2eP;
            }
            else
            {
                this._-41M.mode = _-0qq._-2eP;
            };
            this._-41M._-4xJ(_-0qq._-cx);
        }
        private function _-1BU(_arg1:Event=null):void
        {
            var k:_-1ZV = this._-41M._-4gR(null);
            if (k != null)
            {
                this._-2zk(_-0hr._-1WR);
                this._-2M3 = true;
                this._-2zk(_-0hr._-1Nb);
                k._-1Vq(new _-1Na());
                k._-1Vq(new _-3P-(this._-41M.mode));
            };
        }
        private function _-2Ol(_arg1:_-0tL):void
        {
            var k:_-1ZV = _arg1.connection;
            var k:_-zx = (_arg1 as _-zx);
            var k:String = k.token;
            var k:Boolean = k._-4Hq;
            this._-12k = new _-Cc(parseInt(k.substring((k.length - 4)), 16), 65536);
            var k:String = "";
            k = this._-2Hg.getKey("url.prefix", k);
            k = k.replace("http://", "");
            k = k.replace("https://", "");
            var k:String = this._-2Hg.getKey("hotelview.banner.url", "http://$sitename$/gamedata/banner");
            k = k.replace("$sitename$", k);
            this._-7S = k;
            this._-0PD._-3XH(((k + "?token=") + this._-7S), this._-3mY);
        }
        private function _-2t0(_arg1:_-0tL):void
        {
            var k:_-1ZV = _arg1.connection;
            var k:_-4qS = (_arg1 as _-4qS);
            var k:String = k._-3O7;
            this._-3kv._-43o(k, 10);
            var k:String = this._-3kv._-03w(16).toUpperCase();
            var k:_-O1 = this._-41M._-0YD(null, null);
            var k:ByteArray = _-4gL._-54j(k);
            k.position = 0;
            k.init(k);
            k._-3QR(k);
            this._-1AR(k);
        }
        private function _-1AR(_arg1:_-1ZV):void
        {
            var k:SharedObject;
            var k:_-2Uo;
            var k:String;
            var k:String;
            _arg1.send(new _-0tY(401, this._-AG, this._-1jv));
            var k:String = "";
            try
            {
                k = SharedObject.getLocal(_-cd, "/");
                if (k.data.machineid != null)
                {
                    k = k.data.machineid;
                };
            }
            catch(e:Error)
            {
            };
            var k:String = "";
            if (this._-2Hg.getBoolean("identityTracking.enabled", false))
            {
                k = this._-0Sl();
            };
            _arg1.send(new _-20B(k, k));
            if (this._-434 != null)
            {
                k = new _-2Uo(this._-434);
                _arg1.send(k);
            }
            else
            {
                if (this._-Ke != null)
                {
                    k = this._-Ke.name;
                    k = this._-Ke.password;
                    if ((((k.length > 0)) && ((k.length > 0))))
                    {
                        this._-0wB(k, k);
                    };
                };
            };
            this._-2M3 = false;
            this._-2zk(_-0hr._-4kN);
        }
        private function _-0Sl():String
        {
            var userAgent:String;
            var plugins:String;
            var font:Font;
            var fonts:String;
            var fingerprintData:String;
            var ba:ByteArray;
            var md5:MD5;
            var fingerprint:String;
            try
            {
                userAgent = ExternalInterface.call("window.navigator.userAgent.toString");
                plugins = ExternalInterface.call("FlashExternalInterface.listPlugins");
            }
            catch(e:Error)
            {
                _-Nb.log("ExternalInterface not working, failed to generate fingerprint.");
                return ("");
            };
            var capabilities:String = Capabilities.serverString;
            var timeZoneOffset:String = new String(new Date().timezoneOffset);
            var embeddedAndDeviceFonts:Array = Font.enumerateFonts(true);
            var deviceFontNames:Array = [];
            for each (font in embeddedAndDeviceFonts)
            {
                if ((((font.fontType == FontType.EMBEDDED)) || (!((font.fontStyle == FontStyle.REGULAR)))))
                {
                }
                else
                {
                    deviceFontNames.push(font.fontName);
                };
            };
            fonts = deviceFontNames.join(",");
            fingerprintData = ((((((((userAgent + "#") + capabilities) + "#") + timeZoneOffset) + "#") + plugins) + "#") + fonts);
            ba = new ByteArray();
            ba.writeUTFBytes(fingerprintData);
            md5 = new MD5();
            fingerprint = Hex._-3-a(md5.hash(ba), false);
            if (((!(plugins)) || ((plugins.length == 0))))
            {
                return (("~" + fingerprint));
            };
            return (fingerprint);
        }
        public function _-0wB(_arg1:String, _arg2:String, _arg3:int=0):void
        {
            var k:_-1ZV = this._-41M._-4gR(null);
            var k:_-4l4 = new _-4l4(_arg1, _arg2, _arg3);
            k.send(k);
        }
        private function _-4sK(_arg1:_-0tL):void
        {
            var k:_-1ZV = _arg1.connection;
            var k:_-4Pw = (_arg1 as _-4Pw);
            var k:_-2VM = new _-2VM();
            k.send(k);
            var k:_-2ka = new _-2ka("Login", "socket", "client.auth_ok");
            k.send(k);
            if (this._-Ke != null)
            {
                this._-Ke._-1fA();
            };
            this._-2zk(_-0hr._-1sg);
        }
        private function _-4u4(_arg1:_-0tL):void
        {
            var event:_-0tL = _arg1;
            var parser:_-53I = (event as _-2bH)._-3-5();
            switch (parser.errorCode)
            {
                case -3:
                    this._-U-.alert("${connection.error.id.title}", "${connection.login.error.-3.desc}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case -400:
                    this._-U-.alert("${connection.error.id.title}", "${connection.login.error.-400.desc}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
            };
        }
        private function _-3qU(_arg1:_-0tL):void
        {
            var k:_-1ZV = _arg1.connection;
            var k:_-0uR = (_arg1 as _-0uR);
            var k:_-4CB = new _-4CB();
            k.send(k);
        }
        private function _-X(_arg1:_-0hm):void
        {
            var _local2:SharedObject;
            if (_arg1 == null)
            {
                return;
            };
            try
            {
                _local2 = SharedObject.getLocal(_-cd, "/");
                _local2.data.machineid = _arg1._-4Nr;
                _local2.flush();
            }
            catch(e:Error)
            {
            };
        }
        private function _-1lr(_arg1:_-Ga):void
        {
            if (!_arg1)
            {
                return;
            };
            if (this._-Ke)
            {
                this._-Ke._-43i(_arg1._-3-5()._-4qf);
            };
        }
        private function _-2D-(_arg1:_-0tL):void
        {
            var event:_-0tL = _arg1;
            var parser:_-1mP = (event as _-1AX)._-3-5();
            var errorCode:int = parser.errorCode;
            var messageId:int = parser.messageId;
            var time:String = parser.timestamp;
            this._-U-.registerLocalizationParameter("connection.server.error.desc", "errorCode", String(errorCode));
            this._-U-.alert("${connection.server.error.title}", "${connection.server.error.desc}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }
        private function _-1rT(_arg1:Event):void
        {
            var k:String;
            if (this._-2M3)
            {
                this._-2zk(_-0hr._-0xg);
            };
            if ((((_arg1.type == Event.CLOSE)) && (!(this._-33l))))
            {
                k = this._-2Hg.getKey("logout.disconnect.url");
                k = this._-0A7(k);
                _-11j._-0D8(k, "_self");
            };
        }
        private function _-E1(_arg1:_-025):void
        {
            if (this._-2M3)
            {
                this._-2zk(_-0hr._-0xg);
            };
            this._-33l = true;
            var k:String = this._-2Hg.getKey("logout.url");
            if (k.length > 0)
            {
                k = this._-2gj(k, _arg1._-4mS);
                k = this._-0A7(k);
                k = (k + ("&id=" + _arg1.reason));
                _-11j._-0D8(k, "_self");
            };
        }
        private function _-2gj(_arg1:String, _arg2:String):String
        {
            if (_arg1.indexOf("%reason%") != -1)
            {
                return (_arg1.replace("%reason%", _arg2));
            };
            return (_arg1);
        }
        private function _-0A7(_arg1:String):String
        {
            if (_arg1.indexOf("%origin%") != -1)
            {
                return (_arg1.replace("%origin%", this._-2Hg.getKey("flash.client.origin", "popup")));
            };
            return (_arg1);
        }
        private function _-4ux(_arg1:_-0tL):void
        {
            if (this._-0PD)
            {
                if (!this._-0PD.disposed)
                {
                    this._-0PD.hide();
                };
            };
        }
        private function _-0Nx(_arg1:_-7k):void
        {
            if (!this._-16k._-0OQ)
            {
                this._-0om();
            };
        }
        private function _-0om():void
        {
            if ((((this._-0PD == null)) || (this._-0PD.disposed)))
            {
                return;
            };
            this._-0PD.show();
        }
        private function _-2zk(_arg1:String):void
        {
            if ((((_-Px(context) == null)) || ((_-Px(context).events == null))))
            {
                return;
            };
            _-Px(context).events.dispatchEvent(new Event(_arg1));
        }
        private function _-3mY(_arg1:BitmapData):void
        {
            var k:String;
            var k:ByteArray = _arg1.getPixels(_arg1.rect);
            var k:String = decode(k, _arg1.width, 4, new Point(4, 39), new Point(80, 30));
            var k:String = _-3mo(k, this._-7S);
            var k:uint = k.charCodeAt(0);
            var k:uint = k.charCodeAt((k + 1));
            var k:String = k.substr(1, k);
            var k:String = k.substr((k + 2), k);
            var k:_-1ZV = this._-41M._-4gR(null);
            var k:BigInteger = new BigInteger();
            var k:BigInteger = new BigInteger();
            var k:String;
            k._-4pe(k, 10);
            k._-4pe(k, 10);
            var k:BigInteger = BigInteger._-3ZN(2);
            if ((((k._-2uh(k) <= 0)) || ((k._-2uh(k) >= 0))))
            {
                Core._-4Tm("Invalid DH prime and generator", Core._-0QA);
                return;
            };
            this._-3kv = this._-41M._-57D(k, k);
            var k:int = 10;
            var k:String;
            while (k > 0)
            {
                k = this._-Bb(30);
                this._-3kv.init(k);
                k = this._-3kv._-1wA(10);
                if (k.length < 64)
                {
                    if ((((k == null)) || ((k.length > k.length))))
                    {
                        this._-5Ac = k;
                    };
                }
                else
                {
                    this._-5Ac = k;
                    break;
                };
                k--;
            };
            if (k != this._-5Ac)
            {
                this._-3kv.init(this._-5Ac);
            };
            k._-1Vq(new _-3o6(k.toUpperCase()));
            this._-7S = "";
        }
        private function _-Bb(_arg1:uint=16):String
        {
            var k:uint;
            var k:String = "";
            var k:int;
            while (k < _arg1)
            {
                k = uint((Math.random() * 0xFF));
                k = (k + k.toString(16));
                k++;
            };
            return (k);
        }
        public function getXmlWindow(_arg1:String, _arg2:uint=1, _arg3:String="_xml"):IWindow
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var layer:int = _arg2;
            var appendix:String = _arg3;
            var window:IWindow;
            try
            {
                asset = assets.getAssetByName((name + appendix));
                xmlAsset = _-243(asset);
                window = this._-U-.buildFromXML(XML(xmlAsset.content), layer);
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboCommunicationDemo", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + _-U-) + "!"));
                throw (e);
            };
            return (window);
        }
        public function _-Ml(_arg1:String, _arg2:uint=1, _arg3:String="_xml"):_-0xN
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var layer:int = _arg2;
            var appendix:String = _arg3;
            var window:_-0xN;
            try
            {
                asset = assets.getAssetByName((name + appendix));
                xmlAsset = _-243(asset);
                window = this._-U-.buildModalDialogFromXML(XML(xmlAsset.content));
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboCommunicationDemo", (((((("Failed to build modal window " + name) + "_xml, ") + asset) + ", ") + _-U-) + "!"));
                throw (e);
            };
            return (window);
        }

    }
}//package _-2zo

//------------------------------------------------------------
//_-2zo.HabboLoginDemoView

package _-2zo
{
    import _-0yf.EventDispatcherWrapper;
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-1ae.IDropMenuWindow;
    import flash.utils.Dictionary;
    import _-1ae.ISelectableWindow;
    import _-1ae.IButtonWindow;
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowMouseEvent;
    import flash.net.SharedObject;
    import _-0Ie.WindowKeyboardEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1ae.IItemListWindow;
    import _-295._-243;
    import _-18r.Map;
    import _-1ae.ITextWindow;
    import flash.events.Event;
    import _-3gx._-2za;
    import _-1ae.*;

    public class HabboLoginDemoView extends EventDispatcherWrapper 
    {

        public static const _-4bO:String = "InitConnection";

        private const _-cd:String = "fuselogin";

        private var _-YN:HabboCommunicationDemo;
        private var _-05i:_-0xN;
        private var _-0xv:IWindowContainer;
        private var _-1OE:SSOTicket;
        private var _-QX:Boolean = false;
        public var name:String = "";
        public var password:String = "";
        private var _-4-w:IDropMenuWindow;
        private var _-0-u:Dictionary;

        public function HabboLoginDemoView(_arg1:HabboCommunicationDemo)
        {
            this._-YN = _arg1;
            this._-0-u = new Dictionary();
            this.createWindow();
        }
        override public function dispose():void
        {
            super.dispose();
            this._-4-w = null;
            if (this._-05i)
            {
                this._-05i.dispose();
                this._-05i = null;
            };
            this._-0-u = null;
        }
        public function _-1fA():void
        {
            if (this._-05i)
            {
                this._-05i.dispose();
                this._-05i = null;
            };
        }
        public function get _-3Q8():Boolean
        {
            var k:ISelectableWindow = (this._-0xv.findChildByName("useTicket") as ISelectableWindow);
            if (k != null)
            {
                return (k._-vX);
            };
            return (false);
        }
        public function get useExistingSession():Boolean
        {
            if (this._-QX)
            {
                return (true);
            };
            var k:ISelectableWindow = (this._-0xv.findChildByName("useExistingSession") as ISelectableWindow);
            if (k != null)
            {
                return (k._-vX);
            };
            return (false);
        }
        private function createWindow():void
        {
            var k:Array;
            var k:String;
            this._-05i = this._-YN._-Ml("login_window", 1, "");
            this._-0xv = (this._-05i._-5Ec as IWindowContainer);
            this._-0xv.center();
            var k:IButtonWindow = (this._-0xv.findChildByName("login_btn") as IButtonWindow);
            var k:ITextFieldWindow = (this._-0xv.findChildByName("name_field") as ITextFieldWindow);
            var k:ITextFieldWindow = (this._-0xv.findChildByName("pwd_field") as ITextFieldWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2Jk);
            }
            else
            {
                _-Nb.log("Could not find the button");
            };
            var k:SharedObject = SharedObject.getLocal(this._-cd, "/");
            if (k != null)
            {
                k._-1X4 = true;
                k._-48j = 0xFFFFFF;
                if (k.data.login != null)
                {
                    k.text = k.data.login;
                };
                k.focus();
                k.setSelection(k.text.length, k.text.length);
                k.addEventListener(WindowKeyboardEvent._-4Wf, this._-2Jk);
            };
            if (k != null)
            {
                k._-1X4 = true;
                k._-48j = 0xFFFFFF;
                if (k.data.password != null)
                {
                    k.text = k.data.password;
                };
                k.addEventListener(WindowKeyboardEvent._-4Wf, this._-2Jk);
            };
            var k:ISelectableWindow = (this._-0xv.findChildByName("useTicket") as ISelectableWindow);
            if (k)
            {
                if (this._-YN._-0a3)
                {
                    if (this._-YN._-0a3.getBoolean("use.sso", false))
                    {
                        k.select();
                    };
                };
            };
            var k:ISelectableWindow = (this._-0xv.findChildByName("useExistingSession") as ISelectableWindow);
            if (k)
            {
                k._-5Aq();
            };
            if (((this._-YN._-0a3) && ((this._-YN._-0a3.getKey("try.existing.session", "false") == "true"))))
            {
                this._-QX = true;
                this._-0xv.visible = false;
                this._-2Jk(WindowEvent._-2W5(WindowEvent._-0-9, this._-0xv, null, false));
            };
            if (((false) || (false)))
            {
                this._-4-w = (this._-0xv.findChildByName("environment_list") as IDropMenuWindow);
                k = this._-YN._-0a3.getKey("environment.list", "local/d63/us/s1/s2").split("/");
                k = this._-YN._-0a3.getKey("environment.default", "d63");
                this._-4-w.populate(k);
                this._-4-w.selection = k.indexOf(k);
                this._-4-w.procedure = this._-0AL;
            };
        }
        private function _-0AL(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Array;
            var k:String;
            var k:String;
            if (_arg1.type != WindowEvent._-2wB)
            {
                return;
            };
            var k:String = this._-4-w._-2z4()[this._-4-w.selection];
            if (((false) || (false)))
            {
                k = [];
                k.push("connection.info.host");
                k.push("connection.info.port");
                k.push("url.prefix");
                k.push("site.url");
                k.push("flash.dynamic.download.url");
                k.push("flash.dynamic.download.name.template");
                k.push("flash.dynamic.avatar.download.configuration");
                k.push("flash.dynamic.avatar.download.url");
                for each (k in k)
                {
                    if (this._-0-u[k] == null)
                    {
                        this._-0-u[k] = this._-YN._-0a3.getKey(k);
                    };
                    k = ((k + ".") + k);
                    if (this._-YN._-0a3.keyExists(k))
                    {
                        this._-YN._-0a3._-354(k, this._-YN._-0a3.getKey(k));
                    }
                    else
                    {
                        this._-YN._-0a3._-354(k, this._-0-u[k]);
                    };
                };
                this._-YN._-IB._-45a();
            };
            this._-0xv.findChildByName("login_btn").enable();
            _arg1.stopPropagation();
            _arg1.stopImmediatePropagation();
        }
        public function _-43i(_arg1:Map):void
        {
            var k:IWindow;
            var k:IItemListWindow = (this._-0xv.findChildByName("list") as IItemListWindow);
            if (!k)
            {
                return;
            };
            this._-0xv.findChildByName("users_info").visible = false;
            var k:_-243 = (this._-YN.assets.getAssetByName("login_user_list_item") as _-243);
            var k:IWindow = this._-YN.windowManager.buildFromXML((k.content as XML));
            k.procedure = this._-3p0;
            var k:int;
            while (k < _arg1.length)
            {
                k = k.clone();
                k.id = _arg1.getKey(k);
                k.caption = _arg1.getWithIndex(k);
                k.addListItem(k);
                k++;
            };
            k.dispose();
        }
        public function _-uj(_arg1:String):void
        {
            var k:ITextWindow = (this._-0xv.findChildByName("text002") as ITextWindow);
            if (k != null)
            {
                k.text = _arg1;
            };
        }
        private function _-2Jk(_arg1:WindowEvent=null, _arg2:IWindow=null):void
        {
            var so:SharedObject;
            var event = _arg1;
            var window = _arg2;
            if (event.type == WindowKeyboardEvent._-4Wf)
            {
                if ((event as WindowKeyboardEvent).keyCode != 13)
                {
                    return;
                };
            };
            var nameField:ITextFieldWindow = (this._-0xv.findChildByName("name_field") as ITextFieldWindow);
            var passField:ITextFieldWindow = (this._-0xv.findChildByName("pwd_field") as ITextFieldWindow);
            if (nameField != null)
            {
                this.name = nameField.text;
            };
            if (passField != null)
            {
                this.password = passField.text;
            };
            try
            {
                so = SharedObject.getLocal(this._-cd, "/");
                so.data.login = this.name;
                so.data.password = this.password;
                so.flush();
            }
            catch(e:Error)
            {
                _-Nb.log(("Could not store developer credentials to SharedObject: " + e));
            };
            if (this._-3Q8)
            {
                this._-1Vg(this.useExistingSession);
            }
            else
            {
                dispatchEvent(new Event(_-4bO));
            };
            this._-0xv.findChildByName("login_btn").disable();
        }
        private function _-3p0(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-YN._-0wB(this.name, this.password, _arg2.id);
        }
        private function _-1Vg(_arg1:Boolean):void
        {
            if (this._-1OE != null)
            {
                this._-1OE.removeEventListener(SSOTicket._-4Ou, this._-4px);
                this._-1OE.removeEventListener(SSOTicket._-2s7, this._-1PT);
                this._-1OE = null;
            };
            var k:String = "";
            if (this._-YN._-0a3 != null)
            {
                k = this._-YN._-0a3.getKey("url.prefix", k);
                k = k.replace("http://", "");
                k = k.replace("https://", "");
            };
            var k:_-2za = this._-YN._-IB._-4nb(this.name, this.password);
            this._-1OE = new SSOTicket(this._-YN.assets, k, k, _arg1);
            this._-1OE.addEventListener(SSOTicket._-4Ou, this._-4px);
            this._-1OE.addEventListener(SSOTicket._-2s7, this._-1PT);
        }
        private function _-4px(_arg1:Event):void
        {
            _-Nb.log(("Got ticket: " + this._-1OE.ticket));
            _-Nb.log(("Has Facebook: " + this._-1OE._-0B5));
            if (this._-1OE._-0B5)
            {
                this._-YN._-0a3._-354("facebook.user", "1");
            };
            this._-YN._-49E = this._-1OE._-49E;
            this._-YN._-0s5 = this._-1OE.ticket;
            this._-1OE.removeEventListener(SSOTicket._-4Ou, this._-4px);
            this._-1OE.removeEventListener(SSOTicket._-2s7, this._-1PT);
            this._-1OE = null;
            dispatchEvent(new Event(_-4bO));
        }
        private function _-1PT(_arg1:Event):void
        {
            _-Nb.log("Could not get a ticket! ");
            this._-1OE.removeEventListener(SSOTicket._-4Ou, this._-4px);
            this._-1OE.removeEventListener(SSOTicket._-2s7, this._-1PT);
            this._-1OE = null;
            if (this._-QX)
            {
                this._-QX = false;
                if (((this._-0xv) && (!(this._-0xv.disposed))))
                {
                    this._-0xv.visible = true;
                };
            };
        }

    }
}//package _-2zo

//------------------------------------------------------------
//_-2zo.SSOTicket

package _-2zo
{
    import _-0yf.EventDispatcherWrapper;
    import flash.net.URLLoader;
    import _-3gx._-2za;
    import _-295._-39L;
    import _-3PZ._-0xj;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import flash.events.Event;

    public class SSOTicket extends EventDispatcherWrapper 
    {

        public static const _-4Ou:String = "success";
        public static const _-2s7:String = "failure";

        private var _-bS:URLLoader;
        private var _-0lN:String;
        private var _-wj:_-2za;
        private var _-0D6:String;
        private var _-29C:String;
        private var _-AG:String;
        private var _assets:_-39L;
        private var _-1gm:Boolean;

        public function SSOTicket(_arg1:_-39L, _arg2:_-2za, _arg3:String, _arg4:Boolean=true)
        {
            this._assets = _arg1;
            this._-wj = _arg2;
            this._-0lN = (("http://" + _arg3) + "/client");
            if (!_arg4)
            {
                this._-wj.init();
                this._-wj.addEventListener(_-0xj._-0Jy, this._-KU);
            }
            else
            {
                this._-KU();
            };
        }
        public function get ticket():String
        {
            return (this._-29C);
        }
        public function get _-0B5():Boolean
        {
            return (this._-1gm);
        }
        public function get _-49E():String
        {
            return (this._-AG);
        }
        private function _-KU(_arg1:Event=null):void
        {
            var k:String = this._-0lN;
            if (this._assets.hasAsset(k))
            {
                _-Nb.log(("[CoreLocalizationManager] reload localization for url: " + this._-0lN));
            };
            var k:URLRequest = new URLRequest(this._-0lN);
            if (this._assets.hasAsset(k))
            {
                this._assets.removeAsset(this._assets.getAssetByName(k));
            };
            var k:_-4Rz = this._assets.loadAssetFromFile(k, k, "text/plain");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-0rq);
        }
        private function _-0rq(_arg1:Event=null):void
        {
            var facebookData:Object;
            var event = _arg1;
            var loaderStruct:_-4Rz = (event.target as _-4Rz);
            if (loaderStruct == null)
            {
                return;
            };
            var data:String = (loaderStruct._-48Y.content as String);
            if (data.indexOf('account/reauthenticate"') > -1)
            {
                this._-wj._-3tC();
            }
            else
            {
                try
                {
                    this._-29C = /\"sso.ticket\" : \"(.*?)\"/.exec(data)[1];
                    this._-AG = /\"flash.client.url\" : \"(.*?)\"/.exec(data)[1];
                    facebookData = /\"facebook.user\" : \"(.*?)\"/.exec(data);
                    if (facebookData)
                    {
                        this._-1gm = Boolean(facebookData[1]);
                    };
                    if (this._-29C.length > 0)
                    {
                        dispatchEvent(new Event(_-4Ou));
                    }
                    else
                    {
                        dispatchEvent(new Event(_-2s7));
                    };
                }
                catch(e:Error)
                {
                    _-Nb.log(e);
                    dispatchEvent(new Event(_-2s7));
                };
            };
        }

    }
}//package _-2zo

//------------------------------------------------------------
//_-2Zw._-1ZA

package _-2Zw
{
    import _-1B-._-0gI;
    import flash.utils.getQualifiedClassName;
    import _-1B-.*;

    public class _-1ZA extends ProfilerAgentTask implements _-1zZ 
    {

        protected var _receiver:_-0gI;

        public function _-1ZA(_arg1:_-0gI)
        {
            this._receiver = _arg1;
            var k:String = getQualifiedClassName(this._receiver);
            super(k.slice((k.lastIndexOf(":") + 1), k.length));
        }
        public function get receiver():_-0gI
        {
            return (this._receiver);
        }
        override public function dispose():void
        {
            this._receiver = null;
            super.dispose();
        }
        public function update(_arg1:int):void
        {
            if (!_-0k0)
            {
                super.start();
                this._receiver.update(_arg1);
                super.stop();
            };
        }

    }
}//package _-2Zw

//------------------------------------------------------------
//_-2Zw._-27R

package _-2Zw
{
    import flash.text.TextField;
    import _-1B-._-32Z;
    import flash.text.TextFormat;
    import _-1B-.*;

    public class _-27R extends TextField implements _-1zZ 
    {

        protected var _disposed:Boolean = false;
        private var _-0gd:_-32Z;

        public function _-27R(_arg1:_-32Z)
        {
            var k:TextFormat = new TextFormat("Courier New", 8);
            defaultTextFormat = k;
            setTextFormat(k);
            textColor = 0xFFFFFF;
            width = 10;
            height = 10;
            autoSize = "left";
            mouseEnabled = false;
            selectable = false;
            super();
            if (_arg1)
            {
                this._-0gd = _arg1;
                this._-0gd._-3N9(this.refresh);
            };
        }
        private static function _-0EY(_arg1:String, _arg2:int, _arg3:String=" ", _arg4:Boolean=false):String
        {
            var k:int = (_arg2 - _arg1.length);
            if (k <= 0)
            {
                return (_arg1.substring(0, _arg2));
            };
            var k:String = "";
            var k:int;
            while (k < k)
            {
                k = (k + _arg3);
                k++;
            };
            return (((_arg4) ? (k + _arg1) : (_arg1 + k)));
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set profiler(_arg1:_-32Z):void
        {
            if (((!(this._-0gd)) && (_arg1)))
            {
                this._-0gd = _arg1;
                this._-0gd._-3N9(this.refresh);
            };
        }
        public function get profiler():_-32Z
        {
            return (this._-0gd);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (parent != null)
                {
                    parent.removeChild(this);
                };
                if (this._-0gd)
                {
                    this._-0gd._-3QM(this.refresh);
                    this._-0gd = null;
                };
                this._disposed = true;
            };
        }
        public function refresh():void
        {
            text = (((((((((((((((((((_-0EY("task", 30) + "|") + _-0EY("#rounds", 10, " ", true)) + "|") + _-0EY("latest ms", 10, " ", true)) + "|") + _-0EY("average ms", 10, " ", true)) + "|") + _-0EY("total ms", 10, " ", true)) + "|\r") + _-0EY("", 30, "-")) + "|") + _-0EY("", 10, "-")) + "|") + _-0EY("", 10, "-")) + "|") + _-0EY("", 10, "-")) + "|") + _-0EY("", 10, "-")) + "|\r");
            var k:Array = this._-0gd._-3VI();
            while (k.length > 0)
            {
                this._-mr(k.pop(), 0);
            };
            if (parent)
            {
                parent.swapChildren(this, parent.getChildAt((parent.numChildren - 1)));
            };
        }
        private function _-mr(_arg1:ProfilerAgentTask, _arg2:uint):void
        {
            text = (text + (((((((((_-0EY(String(_arg1.name), 30) + "|") + _-0EY(String(_arg1._-EW), 10)) + "|") + _-0EY(String(_arg1._-0F), 10)) + "|") + _-0EY(String(_arg1.average), 10)) + "|") + _-0EY(String(_arg1.total), 10)) + "|\r"));
            var k:uint;
            while (k < _arg1._-bg)
            {
                this._-mr(_arg1._-4Fu(k), (_arg2 + 1));
                k++;
            };
        }

    }
}//package _-2Zw

//------------------------------------------------------------
//_-2Zw.ProfilerAgentTask

package _-2Zw
{
    import flash.utils.getTimer;
    import _-1B-.*;

    public class ProfilerAgentTask implements _-1zZ 
    {

        private var _name:String;
        private var _-wE:uint;
        private var _-1td:int;
        private var _-0JH:int;
        private var _-5AN:Number;
        private var _-3BO:String;
        private var _-0FJ:Boolean;
        private var _disposed:Boolean = false;
        private var _-16P:Array;
        private var _-4Dy:uint;
        private var _-3WE:Boolean = false;

        public function ProfilerAgentTask(_arg1:String, _arg2:String="")
        {
            this._name = _arg1;
            this._-wE = 0;
            this._-5AN = 0;
            this._-0FJ = false;
            this._-16P = new Array();
            this._-3BO = _arg2;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
            };
        }
        public function start():void
        {
            if (!this._-0FJ)
            {
                this._-4Dy = getTimer();
                this._-0FJ = true;
            };
        }
        public function stop():void
        {
            if (this._-0FJ)
            {
                this._-0JH = (getTimer() - this._-4Dy);
                this._-wE++;
                this._-1td = (this._-1td + this._-0JH);
                this._-5AN = (this._-1td / this._-wE);
                this._-0FJ = false;
            };
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-EW():uint
        {
            return (this._-wE);
        }
        public function get total():int
        {
            return (this._-1td);
        }
        public function get _-0F():int
        {
            return (this._-0JH);
        }
        public function get average():Number
        {
            return (this._-5AN);
        }
        public function get caption():String
        {
            return (this._-3BO);
        }
        public function set caption(_arg1:String):void
        {
            this._-3BO = this.caption;
        }
        public function get running():Boolean
        {
            return (this._-0FJ);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-0k0():Boolean
        {
            return (this._-3WE);
        }
        public function set _-0k0(_arg1:Boolean):void
        {
            this._-3WE = _arg1;
        }
        public function get _-bg():uint
        {
            return (this._-16P.length);
        }
        public function _-3rf(_arg1:ProfilerAgentTask):void
        {
            if (this._-1ZQ(_arg1.name) != null)
            {
                throw (new Error((('Component profiler task with name "' + _arg1.name) + '" already exists!')));
            };
            this._-16P.push(_arg1);
        }
        public function _-35-(_arg1:ProfilerAgentTask):ProfilerAgentTask
        {
            var k:int = this._-16P.indexOf(_arg1);
            if (k > -1)
            {
                this._-16P.splice(k, 1);
            };
            return (_arg1);
        }
        public function _-4Fu(_arg1:uint):ProfilerAgentTask
        {
            return ((this._-16P[_arg1] as ProfilerAgentTask));
        }
        public function _-1ZQ(_arg1:String):ProfilerAgentTask
        {
            var k:ProfilerAgentTask;
            var k:uint = this._-16P.length;
            var k:uint;
            while (k < k)
            {
                k = (this._-16P[k++] as ProfilerAgentTask);
                if (k.name == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }

    }
}//package _-2Zw

//------------------------------------------------------------
//_-2Zz._-2u5

package _-2Zz
{
    import _-3N5._-2VA;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-2Kq._-p0;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class _-2u5 implements _-1zZ 
    {

        private static const _-Ox:String = "back";
        private static const _-3xR:String = "title";

        private var _disposed:Boolean;
        private var _-3jF:_-2VA;
        private var _-0xv:IWindowContainer;

        public function _-2u5(_arg1:_-2VA, _arg2:IWindowContainer)
        {
            this._-3jF = _arg1;
            this._-0xv = _arg2;
            if (!this._-0xv)
            {
                throw (new Error("Provided stream status window container is null!"));
            };
            var k:IWindow = this._-0xv.findChildByName(_-Ox);
            if (!k)
            {
                throw (new Error("Provided stream status window is malformed; missing back element!"));
            };
            k.addEventListener(WindowMouseEvent._-90, this._-2Ov);
        }
        public function set visible(_arg1:Boolean):void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = _arg1;
            };
        }
        public function get visible():Boolean
        {
            return (((this._-0xv) ? this._-0xv.visible : false));
        }
        public function set caption(_arg1:String):void
        {
            this._-0xv.findChildByName(_-3xR).caption = _arg1;
        }
        public function get caption():String
        {
            return (((this._-0xv) ? this._-0xv.findChildByName(_-3xR).caption : null));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            var k:IWindow;
            if (!this._disposed)
            {
                k = this._-0xv.findChildByName(_-Ox);
                if (k)
                {
                    k.removeEventListener(WindowMouseEvent._-90, this._-2Ov);
                };
                this._-3jF = null;
                this._-0xv = null;
                this._disposed = true;
            };
        }
        private function _-2Ov(_arg1:WindowEvent):void
        {
            this._-3jF._-o1 = _-p0._-33F;
            this._-3jF._-1ne();
        }

    }
}//package _-2Zz

//------------------------------------------------------------
//_-2Zz._-4WD

package _-2Zz
{
    import _-3N5._-2VA;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowKeyboardEvent;
    import _-1B-.*;

    public class _-4WD implements _-1zZ 
    {

        private static const INPUT:String = "input";
        private static const _-195:String = "send";
        private static const _-3qf:String = "clear";
        private static const MESSAGE:String = "message";
        private static const _-0sc:uint = 4290493371;
        private static const _-0c1:uint = 4291875024;

        private var _disposed:Boolean;
        private var _-3jF:_-2VA;
        private var _-0xv:IWindowContainer;

        public function _-4WD(_arg1:_-2VA, _arg2:IWindowContainer, _arg3:Boolean)
        {
            this._-3jF = _arg1;
            this._-0xv = _arg2;
            if (!this._-0xv)
            {
                throw (new Error("Provided stream status window container is null!"));
            };
            var k:IWindow = this._-0xv.findChildByName(_-195);
            if (!k)
            {
                throw (new Error("Provided stream status window is malformed; missing send element!"));
            };
            if (_arg3)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4x5);
            };
            k.disable();
            var k:IWindow = this._-0xv.findChildByName(_-3qf);
            if (!k)
            {
                throw (new Error("Provided stream status window is malformed; missing clear element!"));
            };
            if (_arg3)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-3pZ);
                k.addEventListener(WindowMouseEvent._-4ea, this._-3pZ);
                k.addEventListener(WindowMouseEvent._-4e2, this._-3pZ);
            };
            k.visible = false;
            var k:ITextFieldWindow = (this._-0xv.findChildByName(INPUT) as ITextFieldWindow);
            if (!k)
            {
                throw (new Error("Provided stream status window is malformed; missing input element!"));
            };
            if (_arg3)
            {
                k.addEventListener(WindowEvent._-0cZ, this._-3Bk);
                k.addEventListener(WindowMouseEvent._-3Jy, this._-yH);
                k.addEventListener(WindowKeyboardEvent._-4Wf, this._-2Jy);
            };
            var k:IWindow = this._-0xv.findChildByName(MESSAGE);
            if (!k)
            {
                throw (new Error("Provided stream status window is malformed; missing message element!"));
            };
            k.visible = true;
            k.editable = _arg3;
            k.text = "";
        }
        public function set visible(_arg1:Boolean):void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = _arg1;
            };
        }
        public function get visible():Boolean
        {
            return (((this._-0xv) ? this._-0xv.visible : false));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            var k:IWindow;
            var k:ITextFieldWindow;
            var k:IWindow;
            if (!this._disposed)
            {
                k = this._-0xv.findChildByName(_-195);
                if (k)
                {
                    k.removeEventListener(WindowMouseEvent._-90, this._-4x5);
                };
                k = (this._-0xv.findChildByName(INPUT) as ITextFieldWindow);
                if (!k)
                {
                    k.removeEventListener(WindowEvent._-0cZ, this._-3Bk);
                    k.removeEventListener(WindowMouseEvent._-3Jy, this._-yH);
                    k.removeEventListener(WindowKeyboardEvent._-4Wf, this._-2Jy);
                };
                k = this._-0xv.findChildByName(_-3qf);
                if (!k)
                {
                    k.removeEventListener(WindowMouseEvent._-90, this._-3pZ);
                    k.removeEventListener(WindowMouseEvent._-4ea, this._-3pZ);
                    k.removeEventListener(WindowMouseEvent._-4e2, this._-3pZ);
                };
                this._-3jF = null;
                this._-0xv = null;
                this._disposed = true;
            };
        }
        private function _-4r8():void
        {
            var k:ITextFieldWindow = (this._-0xv.findChildByName(INPUT) as ITextFieldWindow);
            var k:String = k.text;
            if (this._-3jF._-4r8(k))
            {
                k.text = "";
                this._-0xv.findChildByName(_-195).disable();
                this._-0xv.findChildByName(_-3qf).visible = false;
                this._-0xv.findChildByName(MESSAGE).visible = true;
            };
        }
        private function _-3Bk(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k.text.length > 0)
            {
                this._-0xv.findChildByName(_-195).enable();
                this._-0xv.findChildByName(_-3qf).visible = true;
                this._-0xv.findChildByName(MESSAGE).visible = false;
            }
            else
            {
                this._-0xv.findChildByName(_-195).disable();
                this._-0xv.findChildByName(_-3qf).visible = false;
                this._-0xv.findChildByName(MESSAGE).visible = true;
            };
        }
        private function _-yH(_arg1:WindowEvent):void
        {
            this._-0xv.findChildByName(MESSAGE).visible = false;
        }
        private function _-2Jy(_arg1:WindowKeyboardEvent):void
        {
            if ((((_arg1.keyCode == 13)) && (_arg1.ctrlKey)))
            {
                this._-4r8();
            };
        }
        private function _-4x5(_arg1:WindowEvent):void
        {
            this._-4r8();
        }
        private function _-3pZ(_arg1:WindowEvent):void
        {
            var _local2:ITextFieldWindow;
            switch (_arg1.type)
            {
                case WindowMouseEvent._-90:
                    _local2 = (this._-0xv.findChildByName(INPUT) as ITextFieldWindow);
                    _local2.text = "";
                    _local2.focus();
                    this._-0xv.findChildByName(MESSAGE).visible = true;
                    this._-0xv.findChildByName(_-195).disable();
                    this._-0xv.findChildByName(_-3qf).visible = false;
                    return;
                case WindowMouseEvent._-4ea:
                    IWindowContainer(this._-0xv.findChildByName(_-3qf)).getChildAt(0).color = _-0c1;
                    return;
                case WindowMouseEvent._-4e2:
                    IWindowContainer(this._-0xv.findChildByName(_-3qf)).getChildAt(0).color = _-0sc;
                    return;
            };
        }

    }
}//package _-2Zz

//------------------------------------------------------------
//_-30J._-06

package _-30J
{
    import flash.events.Event;
    import _-1lc.Offer;

    public class _-06 extends Event 
    {

        private var _-mB:Offer;

        public function _-06(_arg1:Offer, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-2KB.CWE_SELECT_PRODUCT, _arg2, _arg3);
            this._-mB = _arg1;
        }
        public function get offer():Offer
        {
            return (this._-mB);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-06g

package _-30J
{
    import flash.events.Event;

    public class _-06g extends Event 
    {

        private var _index:int = 0;

        public function _-06g(_arg1:int, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-2KB.CWE_COLOUR_INDEX, _arg2, _arg3);
            this._index = _arg1;
        }
        public function get index():int
        {
            return (this._index);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-0BT

package _-30J
{
    import flash.events.Event;

    public class _-0BT extends Event 
    {

        private var _-03u:String;
        private var _-1ZK:Array;

        public function _-0BT(_arg1:String, _arg2:Array, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-2KB.CWE_SELLABLE_PET_PALETTES, _arg3, _arg4);
            this._-03u = _arg1;
            this._-1ZK = _arg2;
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get _-4XW():Array
        {
            if (this._-1ZK != null)
            {
                return (this._-1ZK.slice());
            };
            return ([]);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-16H

package _-30J
{
    import flash.events.Event;

    public class _-16H extends Event 
    {

        private var _-8h:String = "default";
        private var _-3j8:String = "default";
        private var _-0Rk:String = "1.1";
        private var _-4Wx:int = 64;

        public function _-16H(_arg1:String, _arg2:String, _arg3:String, _arg4:int, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_-2KB.CWE_UPDATE_ROOM_PREVIEW, _arg5, _arg6);
            this._-3j8 = _arg1;
            this._-8h = _arg2;
            this._-0Rk = _arg3;
            this._-4Wx = _arg4;
        }
        public function get _-1ts():String
        {
            return (this._-8h);
        }
        public function get _-E-():String
        {
            return (this._-3j8);
        }
        public function get _-Av():String
        {
            return (this._-0Rk);
        }
        public function get _-1he():int
        {
            return (this._-4Wx);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-1PO

package _-30J
{
    import flash.events.Event;

    public class _-1PO extends Event 
    {

        public static const _-zn:int = -1;

        private var _-0qe:int;
        private var _color1:String;
        private var _color2:String;
        private var _-2gP:String;

        public function _-1PO(_arg1:int, _arg2:String, _arg3:String, _arg4:String)
        {
            this._-0qe = _arg1;
            this._color1 = _arg2;
            this._color2 = _arg3;
            this._-2gP = _arg4;
            super(_-2KB.CWE_GUILD_SELECTED);
        }
        public function get _-2Jo():int
        {
            return (this._-0qe);
        }
        public function get color1():String
        {
            return (this._color1);
        }
        public function get color2():String
        {
            return (this._color2);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-2-9

package _-30J
{
    import flash.events.Event;
    import _-1lc.Offer;

    public class _-2-9 extends Event 
    {

        private var _-mB:Offer;

        public function _-2-9(_arg1:Offer, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-2KB._-1O6, _arg2, _arg3);
            this._-mB = _arg1;
        }
        public function get offer():Offer
        {
            return (this._-mB);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-2gS

package _-30J
{
    import flash.events.Event;

    public class _-2gS extends Event 
    {

        private var _-0Ow:Array;
        private var _-1Yx:String;
        private var _-02-:String;
        private var _-1vU:String;

        public function _-2gS(_arg1:Array, _arg2:String, _arg3:String, _arg4:String, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_-2KB.CWE_MULTI_COLOUR_ARRAY, _arg5, _arg6);
            this._-0Ow = _arg1;
            this._-1Yx = _arg2;
            this._-02- = _arg3;
            this._-1vU = _arg4;
        }
        public function get _-2Wk():Array
        {
            return (this._-0Ow);
        }
        public function get _-Ly():String
        {
            return (this._-1Yx);
        }
        public function get _-ZB():String
        {
            return (this._-02-);
        }
        public function get _-Xo():String
        {
            return (this._-1vU);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-2KB

package _-30J
{
    public class _-2KB 
    {

        public static const CWE_WIDGETS_INITIALIZED:String = "CWE_WIDGETS_INITIALIZED";
        public static const CWE_SELECT_PRODUCT:String = "CWE_SELECT_PRODUCT";
        public static const _-0h3:String = "CWE_SET_EXTRA_PARM";
        public static const CWE_PURCHASE:String = "CWE_PURCHASE";
        public static const CWE_COLOUR_ARRAY:String = "CWE_COLOUR_ARRAY";
        public static const CWE_MULTI_COLOUR_ARRAY:String = "CWE_MULTI_COLOUR_ARRAY";
        public static const CWE_COLOUR_INDEX:String = "CWE_COLOUR_INDEX";
        public static const CWE_TEXT_INPUT:String = "CWE_TEXT_INPUT";
        public static const _-4yq:String = "CWE_DROPMENU_SELECT";
        public static const _-0xs:String = "CWE_APPROVE_RESULT";
        public static const CWE_PURCHASE_OVERRIDE:String = "CWE_PURCHASE_OVERRIDE";
        public static const CWE_SELLABLE_PET_PALETTES:String = "CWE_SELLABLE_PET_PALETTES";
        public static const CWE_INIT_PURCHASE:String = "CWE_INIT_PURCHASE";
        public static const CWE_UPDATE_ROOM_PREVIEW:String = "CWE_UPDATE_ROOM_PREVIEW";
        public static const CWE_GUILD_SELECTED:String = "CWE_GUILD_SELECTED";
        public static const CWE_TOTAL_PRICE_WIDGET_INITIALIZED:String = "CWE_TOTAL_PRICE_WIDGET_INITIALIZED";
        public static const _-1O6:String = "CWE_PRODUCT_OFFER_UPDATED";

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-2uT

package _-30J
{
    import flash.events.Event;

    public class _-2uT extends Event 
    {

        private var _-1Ox:Function;

        public function _-2uT(_arg1:Function, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-2KB.CWE_PURCHASE_OVERRIDE, _arg2, _arg3);
            this._-1Ox = _arg1;
        }
        public function get callback():Function
        {
            return (this._-1Ox);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-2V

package _-30J
{
    import flash.events.Event;

    public class _-2V extends Event 
    {

        private var _-0Ow:Array;
        private var _-1Yx:String;
        private var _-02-:String;
        private var _-1vU:String;
        private var _index:int;

        public function _-2V(_arg1:Array, _arg2:String, _arg3:String, _arg4:String, _arg5:int=0, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_-2KB.CWE_COLOUR_ARRAY, _arg6, _arg7);
            this._-0Ow = _arg1;
            this._-1Yx = _arg2;
            this._-02- = _arg3;
            this._-1vU = _arg4;
            this._index = _arg5;
        }
        public function get _-2Wk():Array
        {
            return (this._-0Ow);
        }
        public function get _-Ly():String
        {
            return (this._-1Yx);
        }
        public function get _-ZB():String
        {
            return (this._-02-);
        }
        public function get _-Xo():String
        {
            return (this._-1vU);
        }
        public function get index():int
        {
            return (this._index);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-3dq

package _-30J
{
    import flash.events.Event;

    public class _-3dq extends Event 
    {

        private var _-2IN:String;

        public function _-3dq(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-2KB._-0h3, _arg2, _arg3);
            this._-2IN = _arg1;
        }
        public function get _-y-():String
        {
            return (this._-2IN);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-3pk

package _-30J
{
    import flash.events.Event;

    public class _-3pk extends Event 
    {

        public function _-3pk()
        {
            super(_-2KB.CWE_PURCHASE);
        }
    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-3Xr

package _-30J
{
    import flash.events.Event;

    public class _-3Xr extends Event 
    {

        private var _result:int;
        private var _-2dL:String;

        public function _-3Xr(_arg1:int, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-2KB._-0xs, _arg3, _arg4);
            this._result = _arg1;
            this._-2dL = _arg2;
        }
        public function get result():int
        {
            return (this._result);
        }
        public function get nameValidationInfo():String
        {
            return (this._-2dL);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-4N3

package _-30J
{
    import flash.events.Event;

    public class _-4N3 extends Event 
    {

        private var _-1RE:Boolean = true;
        private var _-2lb:String;

        public function _-4N3(_arg1:Boolean=true, _arg2:String=null, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-2KB.CWE_INIT_PURCHASE, _arg3, _arg4);
            this._-1RE = _arg1;
            this._-2lb = _arg2;
        }
        public function get _-1hG():Boolean
        {
            return (this._-1RE);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-53p

package _-30J
{
    import flash.events.Event;

    public class _-53p extends Event 
    {

        public static const _-0dA:String = "CWSE_VALUE_CHANGED";
        public static const _-D5:String = "CWSE_RESET";
        public static const _-WV:String = "CWSE_SHOW";
        public static const _-1MR:String = "CWSE_HIDE";
        public static const _-4gc:String = "CWSE_SET_MAX";
        public static const _-3kf:String = "CWSE_SET_MIN";

        private var _-3lK:int;
        private var _-0h2:Array;

        public function _-53p(_arg1:String, _arg2:int=1, _arg3:Array=null)
        {
            super(_arg1);
            this._-3lK = _arg2;
            this._-0h2 = _arg3;
        }
        public function get value():int
        {
            return (this._-3lK);
        }
        public function get _-Ag():Array
        {
            return (this._-0h2);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-56l

package _-30J
{
    import flash.events.Event;
    import _-3CK._-2Hp;

    public class _-56l extends Event 
    {

        public static const _-D5:String = "CWPPEIE_RESET";
        public static const _-1MR:String = "CWPPEIE_HIDE";
        public static const _-Tg:String = "CWPPEIE_ITEM_CLICKED";

        private var _-0Kq:int;
        private var _-0qE:_-2Hp;

        public function _-56l(_arg1:String, _arg2:_-2Hp=null, _arg3:int=-1)
        {
            super(_arg1);
            this._-0Kq = _arg3;
            this._-0qE = _arg2;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get data():_-2Hp
        {
            return (this._-0qE);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-Xe

package _-30J
{
    import flash.events.Event;

    public class _-Xe extends Event 
    {

        public function _-Xe(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-2KB.CWE_WIDGETS_INITIALIZED, _arg1, _arg2);
        }
    }
}//package _-30J

//------------------------------------------------------------
//_-30J._-zb

package _-30J
{
    import flash.events.Event;

    public class _-zb extends Event 
    {

        private var _text:String;

        public function _-zb(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-2KB.CWE_TEXT_INPUT, _arg2, _arg3);
            this._text = _arg1;
        }
        public function get text():String
        {
            return (this._text);
        }

    }
}//package _-30J

//------------------------------------------------------------
//_-31g._-0IE

package _-31g
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0IE implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0IE(_arg1:_-eo)
        {
            var k:Array;
            var k:String;
            var k:String;
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1.roomId);
            this._-4Nw.push(_arg1.name);
            this._-4Nw.push(_arg1.description);
            this._-4Nw.push(_arg1._-0Qj);
            this._-4Nw.push((((_arg1.password)!==null) ? _arg1.password : ""));
            this._-4Nw.push(_arg1._-0qV);
            this._-4Nw.push(_arg1._-2d-);
            if (_arg1.tags)
            {
                k = [];
                for each (k in _arg1.tags)
                {
                    if (((k) && (!((k === "")))))
                    {
                        k.push(k);
                    };
                };
                this._-4Nw.push(k.length);
                for each (k in k)
                {
                    this._-4Nw.push(k);
                };
            }
            else
            {
                this._-4Nw.push(0);
            };
            this._-4Nw.push(_arg1._-YP);
            this._-4Nw.push(_arg1._-2l6);
            this._-4Nw.push(_arg1._-1X);
            this._-4Nw.push(_arg1._-0ow);
            this._-4Nw.push(_arg1._-339);
            this._-4Nw.push(_arg1._-0DQ);
            this._-4Nw.push(_arg1._-2yC);
            this._-4Nw.push(_arg1._-3jE);
            this._-4Nw.push(_arg1._-4Qp);
            this._-4Nw.push(_arg1._-56q);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-31g

//------------------------------------------------------------
//_-31g._-0oX

package _-31g
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0oX implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0oX(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-31g

//------------------------------------------------------------
//_-31g._-0S9

package _-31g
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0S9 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0S9(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-31g

//------------------------------------------------------------
//_-31g._-1dN

package _-31g
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1dN implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1dN(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-4Nw == null));
        }

    }
}//package _-31g

//------------------------------------------------------------
//_-31g._-480

package _-31g
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-480 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-480(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-4Nw == null));
        }

    }
}//package _-31g

//------------------------------------------------------------
//_-31g._-eo

package _-31g
{
    public class _-eo 
    {

        private var _-1Rt:int;
        private var _name:String;
        private var _-1Td:String;
        private var _-0Ul:int;
        private var _-1ZG:String;
        private var _-4d9:int;
        private var _-3hh:int;
        private var _-tz:Array;
        private var _-08w:Array;
        private var _-sG:int;
        private var _-27G:Boolean;
        private var _-0A-:Boolean;
        private var _-451:Boolean;
        private var _-E9:Boolean;
        private var _-0Du:int;
        private var _-1ge:int;
        private var _-4Pa:int;
        private var _-56T:int;
        private var _-4ra:int;

        public function get _-YP():int
        {
            return (this._-sG);
        }
        public function set _-YP(_arg1:int):void
        {
            this._-sG = _arg1;
        }
        public function get _-2l6():Boolean
        {
            return (this._-27G);
        }
        public function set _-2l6(_arg1:Boolean):void
        {
            this._-27G = _arg1;
        }
        public function get _-1X():Boolean
        {
            return (this._-0A-);
        }
        public function set _-1X(_arg1:Boolean):void
        {
            this._-0A- = _arg1;
        }
        public function get _-0ow():Boolean
        {
            return (this._-451);
        }
        public function set _-0ow(_arg1:Boolean):void
        {
            this._-451 = _arg1;
        }
        public function get _-339():Boolean
        {
            return (this._-E9);
        }
        public function set _-339(_arg1:Boolean):void
        {
            this._-E9 = _arg1;
        }
        public function get _-0DQ():int
        {
            return (this._-0Du);
        }
        public function set _-0DQ(_arg1:int):void
        {
            this._-0Du = _arg1;
        }
        public function get _-2yC():int
        {
            return (this._-1ge);
        }
        public function set _-2yC(_arg1:int):void
        {
            this._-1ge = _arg1;
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function set roomId(_arg1:int):void
        {
            this._-1Rt = _arg1;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function set description(_arg1:String):void
        {
            this._-1Td = _arg1;
        }
        public function get _-0Qj():int
        {
            return (this._-0Ul);
        }
        public function set _-0Qj(_arg1:int):void
        {
            this._-0Ul = _arg1;
        }
        public function get password():String
        {
            return (this._-1ZG);
        }
        public function set password(_arg1:String):void
        {
            this._-1ZG = _arg1;
        }
        public function get _-2d-():int
        {
            return (this._-4d9);
        }
        public function set _-2d-(_arg1:int):void
        {
            this._-4d9 = _arg1;
        }
        public function get _-0qV():int
        {
            return (this._-3hh);
        }
        public function set _-0qV(_arg1:int):void
        {
            this._-3hh = _arg1;
        }
        public function get tags():Array
        {
            return (this._-tz);
        }
        public function set tags(_arg1:Array):void
        {
            this._-tz = _arg1;
        }
        public function get _-5CZ():Array
        {
            return (this._-08w);
        }
        public function set _-5CZ(_arg1:Array):void
        {
            this._-08w = _arg1;
        }
        public function get _-3jE():int
        {
            return (this._-4Pa);
        }
        public function set _-3jE(_arg1:int):void
        {
            this._-4Pa = _arg1;
        }
        public function get _-4Qp():int
        {
            return (this._-56T);
        }
        public function set _-4Qp(_arg1:int):void
        {
            this._-56T = _arg1;
        }
        public function get _-56q():int
        {
            return (this._-4ra);
        }
        public function set _-56q(_arg1:int):void
        {
            this._-4ra = _arg1;
        }

    }
}//package _-31g

//------------------------------------------------------------
//_-31v._-019

package _-31v
{
    import _-4Aj.*;

    public class _-019 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-019(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-31v

//------------------------------------------------------------
//_-31v._-22d

package _-31v
{
    import _-4Aj.*;

    public class _-22d implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-22d(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-31v

//------------------------------------------------------------
//_-31v._-4y1

package _-31v
{
    import _-4Aj.*;

    public class _-4y1 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4y1(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-31v

//------------------------------------------------------------
//_-31v._-y1

package _-31v
{
    import _-4Aj.*;

    public class _-y1 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-y1(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-31v

//------------------------------------------------------------
//_-31v.Game2GetFriendsLeaderboardComposer

package _-31v
{
    import _-4Aj.*;

    public class Game2GetFriendsLeaderboardComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2GetFriendsLeaderboardComposer(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-31v

//------------------------------------------------------------
//_-31v.Game2GetTotalLeaderboardComposer

package _-31v
{
    import _-4Aj.*;

    public class Game2GetTotalLeaderboardComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2GetTotalLeaderboardComposer(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-31v

//------------------------------------------------------------
//_-31v.Game2GetWeeklyFriendsLeaderboardComposer

package _-31v
{
    import _-4Aj.*;

    public class Game2GetWeeklyFriendsLeaderboardComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2GetWeeklyFriendsLeaderboardComposer(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
            this._-0qE.push(_arg6);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-31v

//------------------------------------------------------------
//_-31v.Game2GetWeeklyLeaderboardComposer

package _-31v
{
    import _-4Aj.*;

    public class Game2GetWeeklyLeaderboardComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2GetWeeklyLeaderboardComposer(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
            this._-0qE.push(_arg6);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-31v

//------------------------------------------------------------
//_-32F._-2OM

package _-32F
{
    public class _-2OM implements _-48b 
    {

        private var _-5K:String;
        private var _name:String;
        private var _-1Td:String;

        public function _-2OM(_arg1:String, _arg2:String, _arg3:String)
        {
            this._-5K = _arg1;
            this._name = _arg2;
            this._-1Td = _arg3;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get description():String
        {
            return (this._-1Td);
        }

    }
}//package _-32F

//------------------------------------------------------------
//_-32F._-48b

package _-32F
{
    public interface _-48b 
    {

        function get type():String;
        function get name():String;
        function get description():String;

    }
}//package _-32F

//------------------------------------------------------------
//_-32F._-Hw

package _-32F
{
    import _-1B-.*;

    public interface _-Hw extends _-1zZ 
    {

        function _-52N():void;

    }
}//package _-32F

//------------------------------------------------------------
//_-32F.ProductDataParser

package _-32F
{
    import _-0yf.EventDispatcherWrapper;
    import flash.utils.Dictionary;
    import _-295.AssetLibrary;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import flash.events.Event;
    import _-p-.Core;
    import _-2ly._-11j;

    public class ProductDataParser extends EventDispatcherWrapper 
    {

        public static const _-1AF:String = "PDP_product_data_ready";

        private var _-0N9:Dictionary;
        private var _-1xh:AssetLibrary;

        public function ProductDataParser(_arg1:String, _arg2:Dictionary)
        {
            this._-0N9 = _arg2;
            this._-1xh = new AssetLibrary("ProductDataParserAssetLib");
            var k:_-4Rz = this._-1xh.loadAssetFromFile(_arg1, new URLRequest(_arg1), "text/plain");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-4aK);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-3a);
        }
        override public function dispose():void
        {
            super.dispose();
            if (this._-1xh)
            {
                this._-1xh.dispose();
                this._-1xh = null;
            };
            this._-0N9 = null;
        }
        private function _-4aK(_arg1:Event):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k == null)
            {
                return;
            };
            if ((((k._-48Y == null)) || ((k._-48Y.content == null))))
            {
                return;
            };
            var k:String = (k._-48Y.content as String);
            if (k.charAt(0) == "<")
            {
                this._-XJ(k);
            }
            else
            {
                this._-Kg(k);
            };
        }
        private function _-XJ(_arg1:String):void
        {
            var itemXml:XML;
            var xmlData:XML;
            var code:String;
            var data:String = _arg1;
            try
            {
                xmlData = new XML(data);
            }
            catch(e:Error)
            {
                Core.error(("XML Product data was malformed: " + data), true, Core. set);
            };
            if (xmlData == null)
            {
                return;
            };
            var products:XMLList = xmlData.product;
            for each (itemXml in products)
            {
                code = itemXml.@code;
                this._-0N9[code] = new _-2OM(code, itemXml.name, itemXml.description);
            };
            dispatchEvent(new Event(_-1AF));
        }
        private function _-Kg(_arg1:String):void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:String;
            var k:_-2OM;
            var k:Array = new Array();
            var k:RegExp = /\n\r{1,}|\n{1,}|\r{1,}/mg;
            var k:RegExp = /^\s+|\s+$/g;
            var k:RegExp = /\[+?((.)*?)\]/g;
            k = _arg1.replace(/"{1,}/mg, "");
            var k:Array = k.split(k);
            var k:int;
            for each (k in k)
            {
                k = k.match(k);
                for each (k in k)
                {
                    k = k.replace(/\[{1,}/mg, "");
                    k = k.replace(/\]{1,}/mg, "");
                    k = k.split(",");
                    k = k.shift();
                    k = k.shift();
                    k = k.join(",");
                    k = new _-2OM(k, k, k);
                    this._-0N9[k] = k;
                };
                k++;
            };
            dispatchEvent(new Event(_-1AF));
        }
        private function _-3a(_arg1:AssetLoaderEvent):void
        {
            _-11j.logEventLog(("productdata download error " + _arg1.status));
            Core.error("Could not download productdata", true, Core. set);
        }

    }
}//package _-32F

//------------------------------------------------------------
//_-32h._-1kz

package _-32h
{
    import _-4GV.HabboNavigator;
    import _-4p8.EventsTabPageDecorator;
    import _-2rY.MainViewCtrl;
    import _-4p8.RoomsTabPageDecorator;
    import _-4p8._-1nh;
    import _-4p8.MyRoomsTabPageDecorator;
    import _-4p8._-2cG;

    public class _-1kz 
    {

        public static const _-4bq:int = 1;
        public static const _-1KO:int = 2;
        public static const _-13T:int = 3;
        public static const _-0oN:int = 4;
        public static const _-2xc:int = 5;
        public static const _-1Fr:int = 1;
        public static const _-2Kd:int = 2;
        public static const _-3wV:int = 3;
        public static const _-5CB:int = 4;
        public static const _-3rg:int = 5;
        public static const _-0Eh:int = 6;
        public static const _-Xm:int = 7;
        public static const _-25v:int = 8;
        public static const _-0pI:int = 9;
        public static const _-2rK:int = 10;
        public static const _-2jy:int = 11;
        public static const _-4Na:int = 12;
        public static const _-1cU:int = 14;
        public static const _-0dQ:int = 15;
        public static const _-1C5:int = 16;
        public static const _-2x1:int = 17;

        private var _-BY:Array;
        private var _-2bJ:HabboNavigator;

        public function _-1kz(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
            this._-BY = new Array();
            this._-BY.push(new _-4So(this._-2bJ, _-4bq, _-1C5, new EventsTabPageDecorator(this._-2bJ), MainViewCtrl._-g7));
            this._-BY.push(new _-4So(this._-2bJ, _-1KO, _-1Fr, new RoomsTabPageDecorator(this._-2bJ), MainViewCtrl._-g7));
            this._-BY.push(new _-4So(this._-2bJ, _-0oN, _-2jy, new _-1nh(this._-2bJ), MainViewCtrl._-3Tt));
            this._-BY.push(new _-4So(this._-2bJ, _-13T, _-3rg, new MyRoomsTabPageDecorator(this._-2bJ), MainViewCtrl._-g7));
            this._-BY.push(new _-4So(this._-2bJ, _-2xc, _-25v, new _-2cG(this._-2bJ), MainViewCtrl._-2xP));
            this._-0HX(_-4bq);
        }
        public function _-1mj():Boolean
        {
            return ((this._-WM().id == _-0oN));
        }
        public function get tabs():Array
        {
            return (this._-BY);
        }
        public function _-0HX(_arg1:int):void
        {
            this._-4eK();
            this._-1iI(_arg1).selected = true;
        }
        public function _-WM():_-4So
        {
            var k:_-4So;
            for each (k in this._-BY)
            {
                if (k.selected)
                {
                    return (k);
                };
            };
            return (null);
        }
        private function _-4eK():void
        {
            var k:_-4So;
            for each (k in this._-BY)
            {
                k.selected = false;
            };
        }
        public function _-1iI(_arg1:int):_-4So
        {
            var k:_-4So;
            for each (k in this._-BY)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }

    }
}//package _-32h

//------------------------------------------------------------
//_-32h._-29Y

package _-32h
{
    import _-0hd._-0kp;

    public class _-29Y 
    {

        private var _tag1:String;
        private var _tag2:String;

        public function _-29Y(_arg1:String, _arg2:String)
        {
            this._tag1 = _arg1;
            this._tag2 = _arg2;
        }
        public function _-1wV():_-0kp
        {
            return (new _-0kp(this._tag1, this._tag2));
        }

    }
}//package _-32h

//------------------------------------------------------------
//_-32h._-4So

package _-32h
{
    import _-4GV.HabboNavigator;
    import _-1ae.ITabButtonWindow;
    import _-4p8._-0QF;

    public class _-4So 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0Kq:int;
        private var _-0Id:int;
        private var _button:ITabButtonWindow;
        private var _-1nv:_-0QF;
        private var _-2dY:Boolean;
        private var _-4y:int;

        public function _-4So(_arg1:HabboNavigator, _arg2:int, _arg3:int, _arg4:_-0QF, _arg5:int=1)
        {
            this._-2bJ = _arg1;
            this._-0Kq = _arg2;
            this._-0Id = _arg3;
            this._-1nv = _arg4;
            this._-4y = _arg5;
        }
        public function _-i7():void
        {
            this._-2bJ._-0NE._-0cR(this._-0Kq, this._-0Id, "-1", this._-4y);
        }
        public function set selected(_arg1:Boolean):void
        {
            this._-2dY = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-1IM():int
        {
            return (this._-0Id);
        }
        public function get selected():Boolean
        {
            return (this._-2dY);
        }
        public function get _-02K():_-0QF
        {
            return (this._-1nv);
        }
        public function get _-3Os():int
        {
            return (this._-4y);
        }
        public function get button():ITabButtonWindow
        {
            return (this._button);
        }
        public function set button(_arg1:ITabButtonWindow):void
        {
            this._button = _arg1;
        }

    }
}//package _-32h

//------------------------------------------------------------
//_-32h._-5-5

package _-32h
{
    import _-Ew.IWindowContainer;

    public class _-5-5 
    {

        private var _-55e:int;
        private var _-4Wx:int;
        private var _name:String;
        private var _-Ke:IWindowContainer;

        public function _-5-5(_arg1:int, _arg2:int, _arg3:String)
        {
            this._-55e = _arg1;
            this._-4Wx = _arg2;
            this._name = _arg3;
        }
        public function get _-JF():int
        {
            return (this._-55e);
        }
        public function get _-1he():int
        {
            return (this._-4Wx);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get view():IWindowContainer
        {
            return (this._-Ke);
        }
        public function set view(_arg1:IWindowContainer):void
        {
            this._-Ke = _arg1;
        }

    }
}//package _-32h

//------------------------------------------------------------
//_-32h.NavigatorData

package _-32h
{
    import _-4GV.HabboNavigator;
    import _-4OG._-06-;
    import _-4OG._-0bW;
    import _-4OG._-3pI;
    import _-4OG._-3u9;
    import flash.utils.Dictionary;
    import _-4OG._-3FD;
    import _-4OG._-0R3;
    import _-2xv.FriendList;
    import _-4OG._-0i4;
    import _-Co._-4SS;
    import _-4OG._-4df;
    import _-4OG._-5Au;
    import _-4OG._-2Ts;
    import _-4OG._-134;
    import _-55m._-27;
    import _-4OG.*;
    import _-4GV.*;
    import _-55m.*;

    public class NavigatorData 
    {

        private static const _-2X2:int = 10;

        private var _-2bJ:HabboNavigator;
        private var _-0Ap:_-06-;
        private var _-41Z:_-0bW;
        private var _-kq:Boolean;
        private var _-3-J:Boolean;
        private var _-16-:Boolean;
        private var _-11i:int;
        private var _-hg:int;
        private var _-IX:_-3pI;
        private var _-2NU:_-3u9;
        private var _-1LM:int;
        private var _-3sA:Boolean;
        private var _-0qa:int;
        private var _-4LT:Boolean;
        private var _-4Tg:int;
        private var _-2dg:Boolean;
        private var _-Vx:Array;
        private var _-4gI:Array;
        private var _-4VG:int;
        private var _-0hc:int;
        private var _-2BN:Dictionary;
        private var _-09l:Boolean;
        private var _-1gn:int;
        private var _-11T:Boolean;
        private var _-20z:Boolean;
        private var _-jE:int = 0;
        private var _-tN:_-3FD;
        private var _-3qq:_-0R3;
        private var _-Ie:FriendList;
        private var _-25J:_-29Y;
        private var _-4ty:_-0i4;

        public function NavigatorData(_arg1:HabboNavigator)
        {
            this._-Vx = new Array();
            this._-4gI = new Array();
            this._-2BN = new Dictionary();
            this._-Ie = new FriendList();
            super();
            this._-2bJ = _arg1;
        }
        public function get _-3oF():Boolean
        {
            return (((!((this._-IX == null))) && (!(this._-16-))));
        }
        public function get _-3ye():Boolean
        {
            return (((!((this._-IX == null))) && (this._-16-)));
        }
        public function _-0TW(_arg1:_-4SS):void
        {
            this._-2NU = null;
            this._-IX = null;
            this._-16- = false;
            if (_arg1._-Jj)
            {
                this._-16- = _arg1.owner;
                this._-11i = _arg1._-1At;
            }
            else
            {
                this._-2NU = _arg1.publicSpace;
                this._-41Z = null;
            };
        }
        public function _-5m():void
        {
            if (this._-41Z != null)
            {
                this._-41Z.dispose();
                this._-41Z = null;
            };
            if (this._-2NU != null)
            {
                this._-2NU.dispose();
                this._-2NU = null;
            };
            if (this._-IX != null)
            {
                this._-IX.dispose();
                this._-IX = null;
            };
            this._-16- = false;
        }
        public function set _-0w8(_arg1:_-3pI):void
        {
            if (this._-IX != null)
            {
                this._-IX.dispose();
            };
            this._-IX = _arg1;
        }
        public function set _-32z(_arg1:_-0bW):void
        {
            if (this._-41Z != null)
            {
                this._-41Z.dispose();
            };
            this._-41Z = _arg1;
        }
        public function get _-3YL():Boolean
        {
            return (((!((this._-0Ap == null))) && (!(((this._-0Ap as _-4df) == null)))));
        }
        public function get _-1xM():Boolean
        {
            return (((!((this._-0Ap == null))) && (!(((this._-0Ap as _-5Au) == null)))));
        }
        public function get _-2Pe():Boolean
        {
            return (((!((this._-0Ap == null))) && (!(((this._-0Ap as _-2Ts) == null)))));
        }
        public function set _-52x(_arg1:_-5Au):void
        {
            this._-0hT();
            this._-0Ap = _arg1;
            this._-tN = _arg1._-2PB;
            this._-09l = false;
        }
        public function set _-2YO(_arg1:_-4df):void
        {
            this._-0hT();
            this._-0Ap = _arg1;
            this._-09l = false;
        }
        public function set _-4WT(_arg1:_-2Ts):void
        {
            this._-0hT();
            this._-0Ap = _arg1;
            this._-09l = false;
        }
        private function _-0hT():void
        {
            if (this._-0Ap == null)
            {
                return;
            };
            this._-0Ap.dispose();
            this._-0Ap = null;
        }
        public function set _-4vu(_arg1:_-3FD):void
        {
            this._-tN = _arg1;
        }
        public function set _-3f(_arg1:_-0R3):void
        {
            this._-3qq = _arg1;
        }
        public function get _-4vu():_-3FD
        {
            return (this._-tN);
        }
        public function get _-52x():_-5Au
        {
            return ((this._-0Ap as _-5Au));
        }
        public function get _-2YO():_-4df
        {
            return ((this._-0Ap as _-4df));
        }
        public function get _-4WT():_-2Ts
        {
            return ((this._-0Ap as _-2Ts));
        }
        public function get _-3f():_-0R3
        {
            return (this._-3qq);
        }
        public function get _-32z():_-0bW
        {
            return (this._-41Z);
        }
        public function get _-2hz():int
        {
            return (this._-hg);
        }
        public function get _-cu():Boolean
        {
            return (this._-kq);
        }
        public function get _-191():Boolean
        {
            return (this._-3-J);
        }
        public function get _-1QZ():Boolean
        {
            return (this._-16-);
        }
        public function get _-51D():_-3pI
        {
            return (this._-IX);
        }
        public function get _-055():_-3u9
        {
            return (this._-2NU);
        }
        public function get _-3aH():Boolean
        {
            return (this._-3sA);
        }
        public function get _-4S():int
        {
            return (this._-0qa);
        }
        public function get _-0I7():int
        {
            return (this._-4Tg);
        }
        public function get _-35q():Boolean
        {
            return (this._-4LT);
        }
        public function get _-0X3():int
        {
            return (this._-1gn);
        }
        public function get _-13C():Boolean
        {
            return (this._-11T);
        }
        public function get _-4rM():int
        {
            return (this._-1LM);
        }
        public function get _-4s9():Boolean
        {
            return (this._-2dg);
        }
        public function get _-1l():int
        {
            return (this._-jE);
        }
        public function get _-5C9():Boolean
        {
            return (this._-20z);
        }
        public function get _-4jj():int
        {
            return (this._-11i);
        }
        public function set _-2hz(_arg1:int):void
        {
            this._-hg = _arg1;
        }
        public function set _-4S(_arg1:int):void
        {
            this._-0qa = _arg1;
        }
        public function set _-3aH(_arg1:Boolean):void
        {
            this._-3sA = _arg1;
        }
        public function set _-cu(_arg1:Boolean):void
        {
            this._-kq = _arg1;
        }
        public function set _-191(_arg1:Boolean):void
        {
            this._-3-J = _arg1;
        }
        public function set _-35q(_arg1:Boolean):void
        {
            this._-4LT = _arg1;
        }
        public function set _-0I7(_arg1:int):void
        {
            this._-4Tg = _arg1;
        }
        public function set _-0X3(_arg1:int):void
        {
            this._-1gn = _arg1;
        }
        public function set _-13C(_arg1:Boolean):void
        {
            this._-11T = _arg1;
        }
        public function set _-4rM(_arg1:int):void
        {
            this._-1LM = _arg1;
        }
        public function set _-4s9(_arg1:Boolean):void
        {
            this._-2dg = _arg1;
        }
        public function set _-1l(_arg1:int):void
        {
            this._-jE = _arg1;
        }
        public function set _-5C9(_arg1:Boolean):void
        {
            this._-20z = _arg1;
        }
        public function set categories(_arg1:Array):void
        {
            var k:_-134;
            this._-Vx = _arg1;
            this._-4gI = new Array();
            for each (k in this._-Vx)
            {
                if (k.visible)
                {
                    this._-4gI.push(k);
                };
            };
        }
        public function get allCategories():Array
        {
            return (this._-Vx);
        }
        public function get _-0B0():Array
        {
            return (this._-4gI);
        }
        public function _-3eW(_arg1:_-27):void
        {
            var k:int;
            this._-4VG = _arg1.limit;
            this._-0hc = _arg1._-38b.length;
            this._-2BN = new Dictionary();
            for each (k in _arg1._-38b)
            {
                this._-2BN[k] = "yes";
            };
        }
        public function _-2Tz(_arg1:int, _arg2:Boolean):void
        {
            this._-2BN[_arg1] = ((_arg2) ? "yes" : null);
            this._-0hc = (this._-0hc + ((_arg2) ? 1 : -1));
        }
        public function _-0Tn():Boolean
        {
            var k:int = this._-IX._-3EU;
            return (!((this._-2BN[k] == null)));
        }
        public function _-1NT():Boolean
        {
            if (this._-IX == null)
            {
                return (false);
            };
            var k:int = this._-IX._-3EU;
            return ((this._-4Tg == k));
        }
        public function _-3zv(_arg1:int):Boolean
        {
            return (!((this._-2BN[_arg1] == null)));
        }
        public function _-2uK():Boolean
        {
            return ((this._-0hc >= this._-4VG));
        }
        public function _-3O-():void
        {
            this._-09l = true;
        }
        public function _-E():Boolean
        {
            return (this._-09l);
        }
        public function get _-4zV():FriendList
        {
            return (this._-Ie);
        }
        public function _-3kG():_-29Y
        {
            var k:_-29Y = this._-25J;
            this._-25J = null;
            return (k);
        }
        public function set roomSessionTags(_arg1:_-29Y):void
        {
            this._-25J = _arg1;
        }
        public function get _-45N():_-0i4
        {
            return (this._-4ty);
        }
        public function set _-45N(_arg1:_-0i4):void
        {
            this._-4ty = _arg1;
        }

    }
}//package _-32h

//------------------------------------------------------------
//_-3-3._-1Do

package _-3-3
{
    import _-4Aj.*;

    public class _-1Do implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-3-3

//------------------------------------------------------------
//_-3-3._-1Wp

package _-3-3
{
    import _-4Aj.*;

    public class _-1Wp implements _-1oF 
    {

        private var _-2ya:int;

        public function _-1Wp(_arg1:int)
        {
            this._-2ya = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-2ya]);
        }

    }
}//package _-3-3

//------------------------------------------------------------
//_-3-3._-2D8

package _-3-3
{
    import _-4Aj.*;

    public class _-2D8 implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-3-3

//------------------------------------------------------------
//_-3-3._-2YN

package _-3-3
{
    import _-4Aj.*;

    public class _-2YN implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-3-3

//------------------------------------------------------------
//_-3-3._-3GC

package _-3-3
{
    import _-4Aj.*;

    public class _-3GC implements _-1oF 
    {

        private var _-1nG:int;

        public function _-3GC(_arg1:int)
        {
            this._-1nG = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-1nG]);
        }

    }
}//package _-3-3

//------------------------------------------------------------
//_-3-3._-4sm

package _-3-3
{
    import _-4Aj.*;

    public class _-4sm implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-3-3

//------------------------------------------------------------
//_-3-3._-5Aw

package _-3-3
{
    import _-4Aj.*;

    public class _-5Aw implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-3-3

//------------------------------------------------------------
//_-3-3._-DF

package _-3-3
{
    import _-4Aj.*;

    public class _-DF implements _-1oF 
    {

        private var _-1nG:int;

        public function _-DF(_arg1:int)
        {
            this._-1nG = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-1nG]);
        }

    }
}//package _-3-3

//------------------------------------------------------------
//_-33z._-1iw

package _-33z
{
    import _-mv._-d4;
    import _-Ew.IWindowContainer;
    import _-1ae.IBorderWindow;
    import _-1ae.IScrollbarWindow;
    import flash.display.BitmapData;
    import _-Ew.IWindow;
    import _-mv._-2rt;
    import _-mv._-4vP;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-243;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemGridWindow;
    import _-1ae.IItemListWindow;
    import _-mv._-486;
    import _-og._-4HQ;

    public class _-1iw 
    {

        private static const _-1gs:int = 6;
        private static const _-2Gh:int = 9;
        private static const _-2Rg:int = 5;

        private var _-0dg:_-3sl;
        private var _-3ne:_-d4;
        private var _-362:IWindowContainer;
        private var _-147:IBorderWindow;
        private var _-4Lo:IBorderWindow;
        private var _-3H4:MusicInventoryGridView;
        private var _-5Dz:PlayListEditorItemListView;
        private var _-3x4:MusicInventoryStatusView;
        private var _-2nR:PlayListStatusView;
        private var _-3qK:IScrollbarWindow;
        private var _-9n:IScrollbarWindow;

        public function _-1iw(_arg1:_-3sl, _arg2:_-d4)
        {
            var k:String;
            var k:BitmapData;
            super();
            this._-0dg = _arg1;
            this._-3ne = _arg2;
            var k:Array = [_-DA._-00t, _-DA._-3iM, _-DA._-3F1, _-DA._-0MQ, _-DA._-4AE];
            for each (k in k)
            {
                k = this._-0dg._-5EP(k);
                if (k != null)
                {
                    k.dispose();
                }
                else
                {
                    this._-0dg._-55w(k);
                };
            };
            this.createWindow();
            this._-3H4 = new MusicInventoryGridView(_arg1, this._-1fl(), _arg2);
            this._-5Dz = new PlayListEditorItemListView(_arg1, this._-2LP());
            this._-3x4 = new MusicInventoryStatusView(_arg1, this._-2JN());
            this._-2nR = new PlayListStatusView(_arg1, this._-36j());
            this._-4Ik();
        }
        public function get window():IWindow
        {
            return (this._-362);
        }
        public function get _-3vE():MusicInventoryGridView
        {
            return (this._-3H4);
        }
        public function get _-4rC():PlayListEditorItemListView
        {
            return (this._-5Dz);
        }
        public function destroy():void
        {
            if (this._-3ne)
            {
                this._-3ne.stop(_-2rt._-1Ei);
                this._-3ne = null;
            };
            if (this._-3H4)
            {
                this._-3H4.destroy();
                this._-3H4 = null;
            };
            if (this._-5Dz)
            {
                this._-5Dz.destroy();
                this._-5Dz = null;
            };
            if (this._-2nR)
            {
                this._-2nR.destroy();
                this._-2nR = null;
            };
            if (this._-3x4)
            {
                this._-3x4.destroy();
                this._-3x4 = null;
            };
            this._-362.destroy();
            this._-362 = null;
        }
        public function hide():void
        {
            this._-362.visible = false;
            if (this._-0dg != null)
            {
                this._-0dg._-0Dy();
            };
        }
        public function show():void
        {
            this._-3ne._-Ci();
            var k:_-4vP = this._-3ne._-2EL();
            if (k != null)
            {
                k._-0NS();
                this._-2YG();
            };
            this._-362.visible = true;
        }
        public function _-4Ik(_arg1:String=""):void
        {
            if ((((_arg1 == "")) || ((_arg1 == _-DA._-00t))))
            {
                this._-3AJ(this._-147, "music_inventory_splash_image", _-DA._-00t);
            };
            if ((((_arg1 == "")) || ((_arg1 == _-DA._-3iM))))
            {
                this._-3AJ(this._-4Lo, "playlist_editor_splash_image", _-DA._-3iM);
            };
            if ((((_arg1 == "")) || ((_arg1 == _-DA._-3F1))))
            {
                this._-3x4._-1aZ(this._-0dg._-5EP(_-DA._-3F1));
            };
            if ((((_arg1 == "")) || ((_arg1 == _-DA._-0MQ))))
            {
                this._-3x4._-2k2(this._-0dg._-5EP(_-DA._-0MQ));
            };
            if ((((_arg1 == "")) || ((_arg1 == _-DA._-4AE))))
            {
                this._-2nR._-NW = this._-0dg._-5EP(_-DA._-4AE);
            };
        }
        private function _-3AJ(_arg1:IWindowContainer, _arg2:String, _arg3:String):void
        {
            var k:BitmapData;
            var k:IBitmapWrapperWindow = (_arg1.getChildByName(_arg2) as IBitmapWrapperWindow);
            if (k != null)
            {
                k = this._-0dg._-5EP(_arg3);
                if (k != null)
                {
                    k.bitmap = k;
                    k.width = k.width;
                    k.height = k.height;
                };
            };
        }
        private function createWindow():void
        {
            if (this._-0dg == null)
            {
                return;
            };
            var k:_-243 = (this._-0dg.assets.getAssetByName("playlisteditor_main_window") as _-243);
            _-Nb.log(("Show window: " + k));
            this._-362 = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (this._-362 == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            this._-362.position = new Point(80, 0);
            var k:IWindowContainer = (this._-362.getChildByName("content_area") as IWindowContainer);
            if (k == null)
            {
                throw (new Error("Window is missing 'content_area' element"));
            };
            this._-147 = (k.getChildByName("my_music_border") as IBorderWindow);
            this._-4Lo = (k.getChildByName("playlist_border") as IBorderWindow);
            if (this._-147 == null)
            {
                throw (new Error("Window content area is missing 'my_music_border' window element"));
            };
            if (this._-4Lo == null)
            {
                throw (new Error("Window content area is missing 'playlist_border' window element"));
            };
            this._-3qK = (this._-147.getChildByName("music_inventory_scrollbar") as IScrollbarWindow);
            this._-9n = (this._-4Lo.getChildByName("playlist_scrollbar") as IScrollbarWindow);
            if (this._-3qK == null)
            {
                throw (new Error("Window content area is missing 'music_inventory_scrollbar' window element"));
            };
            if (this._-9n == null)
            {
                throw (new Error("Window content area is missing 'playlist_scrollbar' window element"));
            };
            var k:IWindow = this._-362.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
        }
        private function _-1fl():IItemGridWindow
        {
            return ((this._-147.getChildByName("music_inventory_itemgrid") as IItemGridWindow));
        }
        private function _-2LP():IItemListWindow
        {
            return ((this._-4Lo.getChildByName("playlist_editor_itemlist") as IItemListWindow));
        }
        private function _-2JN():IWindowContainer
        {
            return ((this._-147.getChildByName("preview_play_container") as IWindowContainer));
        }
        private function _-36j():IWindowContainer
        {
            return ((this._-4Lo.getChildByName("now_playing_container") as IWindowContainer));
        }
        private function _-2YG():void
        {
            var k:_-4vP = this._-3ne._-2EL();
            if (k == null)
            {
                return;
            };
            if (k._-3uA)
            {
                this._-2nR._-1Ak(PlayListStatusView._-3Us);
            }
            else
            {
                if (k.length > 0)
                {
                    this._-2nR._-1Ak(PlayListStatusView._-3oV);
                }
                else
                {
                    this._-2nR._-1Ak(PlayListStatusView.do);
                };
            };
        }
        private function _-3Sw():void
        {
            if (this._-48k())
            {
                this._-3x4.show();
                this._-3x4._-1Ak(MusicInventoryStatusView._-1L3);
            }
            else
            {
                if (this._-3ne._-Xd() <= _-1gs)
                {
                    this._-3x4.show();
                    this._-3x4._-1Ak(MusicInventoryStatusView._-2-W);
                }
                else
                {
                    this._-3x4.hide();
                };
            };
        }
        private function _-4Cy():void
        {
            var k:int;
            var k:_-486;
            var k:_-4vP = this._-3ne._-2EL();
            var k:Array = [];
            var k:int = -1;
            if (k != null)
            {
                k = 0;
                while (k < k.length)
                {
                    k = k._-1mU(k);
                    if (k != null)
                    {
                        k.push(k);
                    };
                    k++;
                };
                k = k._-26S;
            };
            this._-5Dz.refresh(k, k);
        }
        public function _-IG():void
        {
            var k:_-486;
            this._-4Cy();
            this._-2YG();
            var k:_-4vP = this._-3ne._-2EL();
            if (k == null)
            {
                return;
            };
            var k:int = k._-1HS;
            if (k != -1)
            {
                k = this._-3ne._-rR(k);
                this._-2nR._-2tU = k.name;
                this._-2nR._-2w3 = k.creator;
            };
            this._-9n.visible = (k.length > _-2Rg);
        }
        public function _-4NJ():void
        {
            this._-3H4.refresh();
            this._-3Sw();
            this._-3qK.visible = (this._-3H4._-3Z7 > _-2Gh);
        }
        public function _-292(_arg1:_-4HQ):void
        {
            var _local2:_-486;
            var k:_-486;
            switch (_arg1.type)
            {
                case _-4HQ._-47G:
                    this._-2YG();
                    this._-5Dz._-2bm(_arg1.position);
                    if (_arg1.id != -1)
                    {
                        k = this._-3ne._-rR(_arg1.id);
                        this._-2nR._-2tU = (((k)!=null) ? k.name : "");
                        this._-2nR._-2w3 = (((k)!=null) ? k.creator : "");
                    };
                    return;
                case _-4HQ._-0zO:
                    this._-3H4._-0ka();
                    _local2 = this._-3ne._-rR(_arg1.id);
                    this._-3x4._-cq = (((_local2)!=null) ? _local2.name : "");
                    this._-3x4._-cq = (((_local2)!=null) ? _local2.name : "");
                    this._-3x4._-QT = (((_local2)!=null) ? _local2.creator : "");
                    this._-3Sw();
                    return;
                case _-4HQ._-3x8:
                    this._-3H4._-1yO();
                    this._-3Sw();
                    return;
            };
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.hide();
        }
        private function _-48k():Boolean
        {
            return (!((this._-3ne._-2cx(_-2rt._-1Ei) == -1)));
        }

    }
}//package _-33z

//------------------------------------------------------------
//_-33z._-23n

package _-33z
{
    import _-Ew.IWindowContainer;
    import _-1ae.IContainerButtonWindow;
    import flash.geom.ColorTransform;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import _-295._-243;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-1ae.IBorderWindow;
    import _-1ae.ITextWindow;

    public class _-23n 
    {

        public static const _-f9:int = 0;
        public static const _-5Bp:int = 1;
        public static const _-4iS:int = 2;
        private static const _-0-D:uint = 14612159;
        private static const _-if:uint = 0xF1F1F1;

        private var _-0dg:_-3sl;
        private var _-0xv:IWindowContainer = null;
        private var _-08Z:int;
        private var _-0hW:int;
        private var _-2RT:IContainerButtonWindow = null;
        private var _-3sB:int;

        public function _-23n(_arg1:_-3sl, _arg2:int, _arg3:int, _arg4:String, _arg5:ColorTransform)
        {
            this._-0dg = _arg1;
            this._-08Z = _arg2;
            this._-0hW = _arg3;
            this.createWindow();
            this.deselect();
            if (((!((_arg4 == null))) && (!((_arg5 == null)))))
            {
                this._-5-Z = _arg4;
                this._-0L7 = _arg5;
            };
        }
        public function get window():IWindow
        {
            return ((this._-0xv as IWindow));
        }
        public function get _-3cX():int
        {
            return (this._-08Z);
        }
        public function get _-FX():int
        {
            return (this._-0hW);
        }
        public function get _-Pd():IContainerButtonWindow
        {
            return (this._-2RT);
        }
        public function get _-4O5():int
        {
            return (this._-3sB);
        }
        public function update(_arg1:int, _arg2:String, _arg3:ColorTransform):void
        {
            if (_arg1 == this._-0hW)
            {
                this._-5-Z = _arg2;
                this._-0L7 = _arg3;
            };
        }
        public function destroy():void
        {
            if (this._-0xv)
            {
                this._-0xv.destroy();
            };
        }
        private function createWindow():void
        {
            var k:BitmapDataAsset;
            if (this._-0dg == null)
            {
                return;
            };
            var k:_-243 = (this._-0dg.assets.getAssetByName("playlisteditor_music_inventory_item") as _-243);
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            var k:IWindowContainer = (this._-0xv.getChildByName("action_buttons") as IWindowContainer);
            if (k != null)
            {
                this._-2RT = (k.getChildByName("button_to_playlist") as IContainerButtonWindow);
            };
            this._-4tO("title_fader", (this._-0xv.getChildByName("title_fader_bitmap") as IBitmapWrapperWindow));
            k = (this._-0dg.assets.getAssetByName("icon_arrow") as BitmapDataAsset);
            if (k != null)
            {
                if (k.content != null)
                {
                    this._-2Lb = (k.content as BitmapData);
                };
            };
            this._-4O5 = _-f9;
        }
        public function select():void
        {
            var k:IBorderWindow = (this._-0xv.getChildByName("background") as IBorderWindow);
            if (k != null)
            {
                k.color = _-0-D;
            };
            var k:IWindowContainer = (this._-0xv.getChildByName("action_buttons") as IWindowContainer);
            if (k != null)
            {
                k.visible = true;
            };
            var k:IBorderWindow = (this._-0xv.getChildByName("selected") as IBorderWindow);
            if (k != null)
            {
                k.visible = true;
            };
        }
        public function deselect():void
        {
            var k:IBorderWindow = (this._-0xv.getChildByName("background") as IBorderWindow);
            if (k != null)
            {
                k.color = _-if;
            };
            var k:IWindowContainer = (this._-0xv.getChildByName("action_buttons") as IWindowContainer);
            if (k != null)
            {
                k.visible = false;
            };
            var k:IBorderWindow = (this._-0xv.getChildByName("selected") as IBorderWindow);
            if (k != null)
            {
                k.visible = false;
            };
        }
        public function set _-0L7(_arg1:ColorTransform):void
        {
            var k:BitmapData;
            var k:BitmapData;
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName("icon_cd_big") as BitmapDataAsset);
            if (k == null)
            {
                return;
            };
            if (k.content != null)
            {
                k = (k.content as BitmapData);
                k = k.clone();
                if (k != null)
                {
                    k.colorTransform(k.rect, _arg1);
                    this._-2un = k;
                };
            };
        }
        public function set _-4O5(_arg1:int):void
        {
            var k:BitmapDataAsset;
            if (_arg1 == _-f9)
            {
                k = (this._-0dg.assets.getAssetByName("icon_play") as BitmapDataAsset);
            }
            else
            {
                if (_arg1 == _-5Bp)
                {
                    k = (this._-0dg.assets.getAssetByName("icon_pause") as BitmapDataAsset);
                }
                else
                {
                    if (_arg1 == _-4iS)
                    {
                        k = (this._-0dg.assets.getAssetByName("icon_download") as BitmapDataAsset);
                    };
                };
            };
            if (k != null)
            {
                if (k.content != null)
                {
                    this._-3wk = (k.content as BitmapData);
                };
            };
            this._-3sB = _arg1;
        }
        public function set _-5-Z(_arg1:String):void
        {
            var k:ITextWindow = (this._-0xv.getChildByName("song_title_text") as ITextWindow);
            if (k != null)
            {
                k.text = _arg1;
            };
        }
        private function set _-2un(_arg1:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-0xv.getChildByName("disk_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = _arg1;
            };
        }
        private function set _-2Lb(_arg1:BitmapData):void
        {
            this._-4Kr("button_to_playlist", "image_button_to_playlist", _arg1);
        }
        private function set _-3wk(_arg1:BitmapData):void
        {
            this._-4Kr("button_play_pause", "image_button_play_pause", _arg1);
        }
        private function _-4Kr(_arg1:String, _arg2:String, _arg3:BitmapData):void
        {
            if (_arg3 == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-0xv.getChildByName("action_buttons") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k = (k.getChildByName(_arg1) as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (k.getChildByName(_arg2) as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = _arg3.clone();
                k.width = _arg3.width;
                k.height = _arg3.height;
            };
        }
        private function _-4tO(_arg1:String, _arg2:IBitmapWrapperWindow):void
        {
            var k:BitmapData;
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k != null)
            {
                if (((!((_arg2 == null))) && (!((k.content == null)))))
                {
                    k = (k.content as BitmapData);
                    _arg2.bitmap = k.clone();
                };
            };
        }

    }
}//package _-33z

//------------------------------------------------------------
//_-33z._-2LZ

package _-33z
{
    import _-Ew.IWindowContainer;
    import _-1ae.IContainerButtonWindow;
    import flash.geom.ColorTransform;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import _-295._-243;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IBorderWindow;
    import _-1ae.ITextWindow;

    public class _-2LZ 
    {

        public static const _-2ld:String = "PLEI_ICON_STATE_NORMAL";
        public static const _-KY:String = "PLEI_ICON_STATE_PLAYING";
        private static const _-0-D:uint = 14283002;
        private static const _-if:uint = 0xF1F1F1;

        private var _-0dg:_-3sl;
        private var _-0xv:IWindowContainer;
        private var _-3U6:IContainerButtonWindow = null;
        private var _-1Cw:ColorTransform;

        public function _-2LZ(_arg1:_-3sl, _arg2:String, _arg3:String, _arg4:ColorTransform)
        {
            this._-0dg = _arg1;
            this._-1Cw = _arg4;
            this.createWindow();
            this._-3ok(_-2ld);
            this.deselect();
            this._-5-Z = _arg2;
            this._-34t = _arg3;
            this._-0L7 = _arg4;
        }
        public function get window():IWindow
        {
            return ((this._-0xv as IWindow));
        }
        public function get _-4au():IContainerButtonWindow
        {
            return (this._-3U6);
        }
        private function createWindow():void
        {
            var k:BitmapDataAsset;
            if (this._-0dg == null)
            {
                return;
            };
            var k:_-243 = (this._-0dg.assets.getAssetByName("playlisteditor_playlist_item") as _-243);
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            k = (this._-0dg.assets.getAssetByName("icon_arrow_left") as BitmapDataAsset);
            if (k != null)
            {
                if (k.content != null)
                {
                    this._-1hl = (k.content as BitmapData);
                };
            };
            this._-4tO("jb_icon_disc", (this._-0xv.getChildByName("song_name_icon_bitmap") as IBitmapWrapperWindow));
            this._-4tO("jb_icon_composer", (this._-0xv.getChildByName("author_name_icon_bitmap") as IBitmapWrapperWindow));
            var k:IWindowContainer = (this._-0xv.getChildByName("action_buttons") as IWindowContainer);
            if (k != null)
            {
                k = (k.getChildByName("button_border") as IWindowContainer);
                if (k != null)
                {
                    this._-3U6 = (k.getChildByName("button_remove_from_playlist") as IContainerButtonWindow);
                };
            };
        }
        public function select():void
        {
            var k:IBorderWindow = (this._-0xv.getChildByName("background") as IBorderWindow);
            if (k != null)
            {
                k.color = _-0-D;
            };
            var k:IWindowContainer = (this._-0xv.getChildByName("action_buttons") as IWindowContainer);
            if (k != null)
            {
                k.visible = true;
            };
            var k:IBorderWindow = (this._-0xv.getChildByName("selected") as IBorderWindow);
            if (k != null)
            {
                k.visible = true;
            };
        }
        public function deselect():void
        {
            var k:IBorderWindow = (this._-0xv.getChildByName("background") as IBorderWindow);
            if (k != null)
            {
                k.color = _-if;
            };
            var k:IWindowContainer = (this._-0xv.getChildByName("action_buttons") as IWindowContainer);
            if (k != null)
            {
                k.visible = false;
            };
            var k:IBorderWindow = (this._-0xv.getChildByName("selected") as IBorderWindow);
            if (k != null)
            {
                k.visible = false;
            };
        }
        public function _-3ok(_arg1:String):void
        {
            var _local2:BitmapDataAsset;
            var k:BitmapData;
            switch (_arg1)
            {
                case _-2ld:
                    this._-0L7 = this._-1Cw;
                    return;
                case _-KY:
                    _local2 = (this._-0dg.assets.getAssetByName("icon_notes_small") as BitmapDataAsset);
                    if (_local2 == null)
                    {
                        return;
                    };
                    if (_local2.content != null)
                    {
                        k = (_local2.content as BitmapData);
                        this._-2un = k.clone();
                    };
                    return;
            };
        }
        public function set _-0L7(_arg1:ColorTransform):void
        {
            var k:BitmapData;
            var k:BitmapData;
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName("icon_cd_small") as BitmapDataAsset);
            if (k == null)
            {
                return;
            };
            if (k.content != null)
            {
                k = (k.content as BitmapData);
                k = k.clone();
                if (k != null)
                {
                    k.colorTransform(k.rect, _arg1);
                    this._-2un = k;
                };
            };
        }
        public function set _-5-Z(_arg1:String):void
        {
            var k:ITextWindow = (this._-0xv.getChildByName("song_title_text") as ITextWindow);
            if (k != null)
            {
                k.text = _arg1;
            };
        }
        public function set _-34t(_arg1:String):void
        {
            var k:ITextWindow = (this._-0xv.getChildByName("song_author_text") as ITextWindow);
            if (k != null)
            {
                k.text = _arg1;
            };
        }
        private function set _-2un(_arg1:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-0xv.getChildByName("disk_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = _arg1;
            };
        }
        private function set _-1hl(_arg1:BitmapData):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-0xv.getChildByName("action_buttons") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k = (k.getChildByName("button_border") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k = (k.getChildByName("button_remove_from_playlist") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (k.getChildByName("button_remove_from_playlist_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = _arg1.clone();
                k.width = _arg1.width;
                k.height = _arg1.height;
            };
        }
        private function _-4tO(_arg1:String, _arg2:IBitmapWrapperWindow):void
        {
            var k:BitmapData;
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k != null)
            {
                if (((!((_arg2 == null))) && (!((k.content == null)))))
                {
                    k = (k.content as BitmapData);
                    _arg2.bitmap = k.clone();
                };
            };
        }

    }
}//package _-33z

//------------------------------------------------------------
//_-33z._-3sl

package _-33z
{
    import _-FP._-2ul;
    import _-0mD._-2Jq;
    import _-4Wu._-4uR;
    import _-mv._-54I;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-Ew.IWindow;
    import _-og._-0L3;
    import _-og._-4HQ;
    import flash.events.IEventDispatcher;
    import flash.geom.ColorTransform;
    import _-1FD._-29n;
    import _-mv._-4vP;
    import _-1FD._-4CA;
    import _-mv._-486;
    import _-mv._-2rt;
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-1FD._-hF;
    import _-2Mh._-cF;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;

    public class _-3sl extends _-2ul 
    {

        private static const _-0Db:int = 130;
        private static const _-XS:int = 100;
        private static const _-ce:int = 130;
        private static const _-4OR:int = 100;
        private static const _-3gD:int = 130;
        private static const _-4Ug:int = 100;

        private var _-3oJ:_-2Jq;
        private var _-3fD:_-4uR;
        private var _-42G:_-54I;
        private var _-362:_-1iw;
        private var _-1Rh:int;

        public function _-3sl(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-54I, _arg4:_-39L, _arg5:_-0hg, _arg6:_-4uR, _arg7:_-2Jq)
        {
            super(_arg1, _arg2, _arg4, _arg5);
            this._-42G = _arg3;
            this._-3fD = _arg6;
            this._-3oJ = _arg7;
            this._-362 = null;
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-362)
                {
                    this._-362.destroy();
                    this._-362 = null;
                };
                this._-42G = null;
                super.dispose();
            };
        }
        override public function get mainWindow():IWindow
        {
            if (this._-362 == null)
            {
                return (null);
            };
            return (this._-362.window);
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            _arg1.addEventListener(_-0L3._-1rN, this._-5-g);
            _arg1.addEventListener(_-0L3._-4BT, this._-2km);
            _arg1.addEventListener(_-0L3._-1nJ, this._-2B4);
            _arg1.addEventListener(_-0L3._-1W4, this._-2FR);
            _arg1.addEventListener(_-0L3._-0t3, this._-2fA);
            _arg1.addEventListener(_-0L3._-0lL, this._-3sj);
            _arg1.addEventListener(_-4HQ._-47G, this._-3fm);
            _arg1.addEventListener(_-4HQ._-0zO, this._-3fm);
            _arg1.addEventListener(_-4HQ._-3x8, this._-3fm);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            _arg1.removeEventListener(_-0L3._-1rN, this._-5-g);
            _arg1.removeEventListener(_-0L3._-4BT, this._-2km);
            _arg1.removeEventListener(_-0L3._-1nJ, this._-2B4);
            _arg1.removeEventListener(_-0L3._-1W4, this._-2FR);
            _arg1.removeEventListener(_-0L3._-0t3, this._-2fA);
            _arg1.removeEventListener(_-0L3._-0lL, this._-3sj);
            _arg1.removeEventListener(_-4HQ._-47G, this._-3fm);
            _arg1.removeEventListener(_-4HQ._-0zO, this._-3fm);
            _arg1.removeEventListener(_-4HQ._-3x8, this._-3fm);
        }
        public function get _-3J9():_-1iw
        {
            return (this._-362);
        }
        public function _-1fJ(_arg1:String):ColorTransform
        {
            var k:uint;
            var k:uint;
            var k:uint;
            var k:int;
            while (k < _arg1.length)
            {
                switch ((k % 3))
                {
                    case 0:
                        k = (k + ((_arg1.charCodeAt(k) * 37) as int));
                        break;
                    case 1:
                        k = (k + ((_arg1.charCodeAt(k) * 37) as int));
                        break;
                    case 2:
                        k = (k + ((_arg1.charCodeAt(k) * 37) as int));
                        break;
                };
                k++;
            };
            k = ((k % _-XS) + _-0Db);
            k = ((k % _-4OR) + _-ce);
            k = ((k % _-4Ug) + _-3gD);
            return (new ColorTransform((k / 0xFF), (k / 0xFF), (k / 0xFF)));
        }
        public function _-8O(_arg1:int):void
        {
            var k:int;
            var k:_-29n;
            var k:_-4vP = this._-42G._-2qH._-2EL();
            if (k != null)
            {
                k = k.length;
                k = new _-29n(_-29n._-2YK, k, _arg1);
                if (messageListener != null)
                {
                    messageListener.processWidgetMessage(k);
                };
            };
        }
        public function _-4n5(_arg1:int):void
        {
            var k:_-29n = new _-29n(_-29n._-3rA, _arg1);
            if (messageListener != null)
            {
                messageListener.processWidgetMessage(k);
            };
        }
        public function _-aw():void
        {
            var k:int;
            if (((!((this._-362 == null))) && (!((this._-362._-4rC == null)))))
            {
                k = (((this._-362._-4rC._-1iF)!=-1) ? this._-362._-4rC._-1iF : 0);
            };
            var k:_-4CA = new _-4CA(_-4CA._-2Sv, this._-1Rh, k);
            if (messageListener != null)
            {
                messageListener.processWidgetMessage(k);
            };
        }
        public function _-3tA(_arg1:int):void
        {
            var k:_-486;
            var k:int = this._-42G._-2qH._-2cx(_-2rt._-4w3);
            if (k != -1)
            {
                k = this._-42G._-2qH._-rR(k);
                if (k._-340 != null)
                {
                    k._-340._-1V = 0;
                };
            };
            this._-42G._-2qH._-3T9(_arg1, _-2rt._-1Ei, 0, 0, 0, 0);
        }
        public function _-0Dy():void
        {
            this._-42G._-2qH.stop(_-2rt._-1Ei);
        }
        public function _-5EP(_arg1:String):BitmapData
        {
            var _local3:BitmapData;
            var k:BitmapDataAsset = (this.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k == null)
            {
                return (null);
            };
            _local3 = (k.content as BitmapData);
            return (_local3.clone());
        }
        public function _-55w(_arg1:String):void
        {
            var k:String = this._-3fD.getKey("image.library.playlist.url");
            var k = ((k + _arg1) + ".gif");
            _-Nb.log(("[PlayListEditorWidget]  : " + k));
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = this.assets.loadAssetFromFile(_arg1, k, "image/gif");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-4ri);
        }
        public function _-3jL():void
        {
            var k:_-hF = new _-hF(_-hF._-39H);
            if (messageListener != null)
            {
                messageListener.processWidgetMessage(k);
            };
            this._-3oJ.openCatalogPage(_-cF._-3pH);
        }
        public function _-1VC():void
        {
            this.windowManager.alert(("$" + "{playlist.editor.alert.playlist.full.title}"), ("$" + "{playlist.editor.alert.playlist.full}"), 0, this._-yp);
        }
        private function _-yp(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-5-g(_arg1:_-0L3):void
        {
            var k:_-4vP;
            this._-1Rh = _arg1._-4Jh;
            if (!this._-362)
            {
                this._-362 = new _-1iw(this, this._-42G._-2qH);
                this._-362.window.visible = false;
            };
            if (!this._-362.window.visible)
            {
                this._-362.show();
                this._-42G._-2qH._-Ci();
                k = this._-42G._-2qH._-2EL();
                if (k != null)
                {
                    k._-0NS();
                };
            };
        }
        private function _-2km(_arg1:_-0L3):void
        {
            if (this._-362 != null)
            {
                if (this._-362.window.visible)
                {
                    this._-362.hide();
                };
            };
        }
        private function _-2B4(_arg1:_-0L3):void
        {
            if (!this._-362)
            {
                return;
            };
            if (this._-362.window.visible)
            {
                this._-42G._-2qH._-Ci();
            };
        }
        private function _-4ri(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz;
            if (_arg1.type == AssetLoaderEvent._-1Tr)
            {
                k = (_arg1.target as _-4Rz);
                if (k != null)
                {
                    if (this._-362 != null)
                    {
                        this._-362._-4Ik(k.assetName);
                    };
                };
            };
        }
        private function _-2FR(_arg1:_-0L3):void
        {
            if (this._-362)
            {
                this._-362._-4NJ();
            };
        }
        private function _-2fA(_arg1:_-0L3):void
        {
            if (this._-362)
            {
                this._-362._-IG();
            };
        }
        private function _-3sj(_arg1:_-0L3):void
        {
            this._-1VC();
        }
        private function _-3fm(_arg1:_-4HQ):void
        {
            if (this._-362)
            {
                this._-362._-292(_arg1);
            };
        }

    }
}//package _-33z

//------------------------------------------------------------
//_-33z._-DA

package _-33z
{
    public class _-DA 
    {

        public static const _-00t:String = "title_mymusic";
        public static const _-3iM:String = "title_playlist";
        public static const _-3F1:String = "background_preview_playing";
        public static const _-0MQ:String = "background_get_more_music";
        public static const _-4AE:String = "background_add_songs";

    }
}//package _-33z

//------------------------------------------------------------
//_-33z.MusicInventoryGridView

package _-33z
{
    import _-mv._-d4;
    import _-1ae.IItemGridWindow;
    import _-18r.Map;
    import _-1ZZ._-3Wk;
    import _-mv._-486;
    import flash.geom.ColorTransform;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class MusicInventoryGridView 
    {

        private var _-3ne:_-d4;
        private var _-2ra:IItemGridWindow;
        private var _-2ZH:Map;
        private var _-0dg:_-3sl;
        private var _-3En:_-23n;

        public function MusicInventoryGridView(_arg1:_-3sl, _arg2:IItemGridWindow, _arg3:_-d4)
        {
            this._-2ZH = new Map();
            super();
            this._-3ne = _arg3;
            this._-2ra = _arg2;
            this._-0dg = _arg1;
            this._-3En = null;
            this._-3ne.events.addEventListener(_-3Wk._-3hw, this._-27W);
        }
        public function get _-3Z7():int
        {
            return (this._-2ZH.length);
        }
        public function destroy():void
        {
            if (this._-2ra != null)
            {
                this._-2ra.destroyGridItems();
                this._-2ra = null;
            };
            if (this._-3ne != null)
            {
                if (this._-3ne.events != null)
                {
                    this._-3ne.events.removeEventListener(_-3Wk._-3hw, this._-27W);
                };
                this._-3ne = null;
            };
            if (this._-2ZH)
            {
                this._-2ZH.reset();
                this._-2ZH = null;
            };
            this._-3En = null;
            this._-0dg = null;
        }
        public function refresh():void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:_-486;
            var k:String;
            var k:ColorTransform;
            var k:_-23n;
            var k:_-23n;
            if (this._-2ra == null)
            {
                return;
            };
            this._-2ra._-360();
            var k:Map = this._-2ZH;
            var k:Map = new Map();
            var k:Array = k._-18C();
            this._-2ZH = new Map();
            var k:int = this._-3ne._-Xd();
            var k:int;
            while (k < k)
            {
                k = this._-3ne._-40e(k);
                k = this._-3ne._-4cC(k);
                k = this._-3ne._-rR(k);
                k = null;
                k = null;
                if (k != null)
                {
                    k = k.name;
                    k = this._-0dg._-1fJ(k._-3MA);
                };
                if (k.indexOf(k) == -1)
                {
                    k = new _-23n(this._-0dg, k, k, k, k);
                }
                else
                {
                    k = k[k];
                    k.splice(k.indexOf(k), 1);
                };
                k.window.procedure = this._-21F;
                k._-Pd.procedure = this._-21F;
                this._-2ra._-2-F(k.window);
                this._-2ZH.add(k, k);
                k++;
            };
            for each (k in k)
            {
                k = k[k];
                k.destroy();
                k.remove(k);
            };
        }
        public function _-0ka():void
        {
            if (this._-3En != null)
            {
                this._-3En._-4O5 = _-23n._-5Bp;
            };
        }
        public function _-1yO():void
        {
            if (this._-3En != null)
            {
                this._-3En._-4O5 = _-23n._-f9;
            };
        }
        public function _-1va():void
        {
            if (this._-3En != null)
            {
                this._-3En.deselect();
                this._-3En = null;
            };
        }
        private function _-21F(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local4:int;
            var k:_-23n;
            var k = (_arg1.type == WindowMouseEvent._-4B7);
            if ((((_arg1.type == WindowMouseEvent._-90)) || (k)))
            {
                if ((((_arg2.name == "button_to_playlist")) || (k)))
                {
                    if (this._-3En != null)
                    {
                        this._-3En.deselect();
                        this._-4lM();
                        this._-0dg._-8O(this._-3En._-3cX);
                        this._-3En = null;
                    };
                }
                else
                {
                    if (_arg2.name == "button_play_pause")
                    {
                        if (this._-3En._-4O5 == _-23n._-f9)
                        {
                            this._-3En._-4O5 = _-23n._-4iS;
                            this._-0dg._-3tA(this._-3En._-FX);
                        }
                        else
                        {
                            this._-4lM();
                        };
                    }
                    else
                    {
                        _local4 = this._-2ra.getGridItemIndex(_arg1.window);
                        if (_local4 != -1)
                        {
                            k = this._-2ZH.getWithIndex(_local4);
                            if (k != this._-3En)
                            {
                                if (this._-3En != null)
                                {
                                    this._-3En.deselect();
                                };
                                this._-3En = k;
                                this._-3En.select();
                                this._-4lM();
                            };
                            if (this._-0dg._-3J9 != null)
                            {
                                this._-0dg._-3J9._-4rC._-1va();
                            };
                        };
                    };
                };
            };
        }
        private function _-4lM():void
        {
            this._-0dg._-0Dy();
            this._-1yO();
        }
        private function _-27W(_arg1:_-3Wk):void
        {
            var k:_-486;
            var k:String;
            var k:ColorTransform;
            var k:_-23n;
            if (this._-3ne != null)
            {
                k = this._-3ne._-rR(_arg1.id);
                if (k != null)
                {
                    k = k.name;
                    k = this._-0dg._-1fJ(k._-3MA);
                    k = this._-2ZH[_arg1.id];
                    if (k != null)
                    {
                        k.update(_arg1.id, k, k);
                    };
                };
            };
        }

    }
}//package _-33z

//------------------------------------------------------------
//_-33z.MusicInventoryStatusView

package _-33z
{
    import _-Ew.IWindowContainer;
    import _-18r.Map;
    import _-1ae.ITextWindow;
    import flash.display.BitmapData;
    import _-295._-243;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;

    public class MusicInventoryStatusView 
    {

        public static const _-2-W:String = "MISV_BUY_MORE";
        public static const _-1L3:String = "MISV_PREVIEW_PLAYING";

        private var _container:IWindowContainer;
        private var _-3FN:Map;
        private var _-0dg:_-3sl;
        private var _-0Dd:String;
        private var _-01g:ITextWindow;
        private var _-3cr:ITextWindow;

        public function MusicInventoryStatusView(_arg1:_-3sl, _arg2:IWindowContainer)
        {
            this._-3FN = new Map();
            super();
            this._container = _arg2;
            this._-0dg = _arg1;
            this._-1su();
            this.hide();
        }
        public function destroy():void
        {
            var k:IWindowContainer;
            for each (k in this._-3FN._-0hn())
            {
                k.destroy();
            };
            this._-3FN = null;
        }
        public function show():void
        {
            this._container.visible = true;
        }
        public function hide():void
        {
            this._container.visible = false;
        }
        public function _-1Ak(_arg1:String):void
        {
            this._container.removeChildAt(0);
            this._container.addChildAt((this._-3FN[_arg1] as IWindowContainer), 0);
            this._-0Dd = _arg1;
        }
        public function set _-cq(_arg1:String):void
        {
            if (this._-01g == null)
            {
                return;
            };
            this._-01g.text = _arg1;
        }
        public function set _-QT(_arg1:String):void
        {
            if (this._-3cr == null)
            {
                return;
            };
            this._-3cr.text = _arg1;
        }
        public function _-1aZ(_arg1:BitmapData, _arg2:Boolean=true):void
        {
            this._-3N-(_-1L3, "preview_play_background_image", _arg1);
            if (((_arg2) && (!((_arg1 == null)))))
            {
                _arg1.dispose();
            };
        }
        public function _-2k2(_arg1:BitmapData, _arg2:Boolean=true):void
        {
            this._-3N-(_-2-W, "get_more_music_background_image", _arg1);
            if (((_arg2) && (!((_arg1 == null)))))
            {
                _arg1.dispose();
            };
        }
        private function _-1su():void
        {
            var k:IWindowContainer;
            var k:_-243;
            var k:IButtonWindow;
            var k:IButtonWindow;
            k = (this._-0dg.assets.getAssetByName("playlisteditor_inventory_subwindow_play_preview") as _-243);
            k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k != null)
            {
                this._-3FN.add(_-1L3, k);
                this._-01g = (k.getChildByName("preview_play_track_name") as ITextWindow);
                this._-3cr = (k.getChildByName("preview_play_author_name") as ITextWindow);
                k = (k.getChildByName("stop_preview_button") as IButtonWindow);
                k.addEventListener(WindowMouseEvent._-90, this._-1Ad);
                this._-1aZ(this._-0dg._-5EP(_-DA._-3F1));
                this._-4tO("jb_icon_disc", (k.getChildByName("song_name_icon_bitmap") as IBitmapWrapperWindow));
                this._-4tO("jb_icon_composer", (k.getChildByName("author_name_icon_bitmap") as IBitmapWrapperWindow));
            };
            k = (this._-0dg.assets.getAssetByName("playlisteditor_inventory_subwindow_get_more_music") as _-243);
            k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k != null)
            {
                this._-3FN.add(_-2-W, k);
                k = (k.getChildByName("open_catalog_button") as IButtonWindow);
                k.addEventListener(WindowMouseEvent._-90, this._-0e2);
                this._-2k2(this._-0dg._-5EP(_-DA._-0MQ));
            };
        }
        private function _-3N-(_arg1:String, _arg2:String, _arg3:BitmapData):void
        {
            var k:BitmapData;
            var k:IWindowContainer = (this._-3FN[_arg1] as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (k.getChildByName(_arg2) as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            if (_arg3 != null)
            {
                k = new BitmapData(k.width, k.height, false, 0xFFFFFFFF);
                k.copyPixels(_arg3, _arg3.rect, new Point(0, 0));
                k.bitmap = k;
            };
        }
        private function _-4tO(_arg1:String, _arg2:IBitmapWrapperWindow):void
        {
            var k:BitmapData;
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k != null)
            {
                if (((!((_arg2 == null))) && (!((k.content == null)))))
                {
                    k = (k.content as BitmapData);
                    _arg2.bitmap = k.clone();
                };
            };
        }
        private function _-0e2(_arg1:WindowMouseEvent):void
        {
            this._-0dg._-3jL();
        }
        private function _-1Ad(_arg1:WindowMouseEvent):void
        {
            this._-0dg._-0Dy();
        }

    }
}//package _-33z

//------------------------------------------------------------
//_-33z.PlayListEditorItemListView

package _-33z
{
    import _-1ae.IItemListWindow;
    import _-mv._-486;
    import flash.geom.ColorTransform;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class PlayListEditorItemListView 
    {

        private var _-07w:IItemListWindow;
        private var _-2ZH:Array;
        private var _-0dg:_-3sl;
        private var _-3En:_-2LZ;
        private var _-4cx:int = -1;
        private var _-4Gw:int = -1;

        public function PlayListEditorItemListView(_arg1:_-3sl, _arg2:IItemListWindow)
        {
            this._-07w = _arg2;
            this._-0dg = _arg1;
            this._-3En = null;
        }
        public function get _-1iF():int
        {
            return (this._-4cx);
        }
        public function destroy():void
        {
            if (this._-07w == null)
            {
                return;
            };
            this._-07w._-Ls();
        }
        public function refresh(_arg1:Array, _arg2:int):void
        {
            var k:_-486;
            var k:String;
            var k:String;
            var k:ColorTransform;
            var k:_-2LZ;
            if (this._-07w == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            this._-4Gw = -1;
            this._-2ZH = new Array();
            this._-07w._-Ls();
            for each (k in _arg1)
            {
                k = k.name;
                k = k.creator;
                k = this._-0dg._-1fJ(k._-3MA);
                k = new _-2LZ(this._-0dg, k, k, k);
                k.window.procedure = this._-2m1;
                k._-4au.procedure = this._-2m1;
                this._-07w.addListItem(k.window);
                this._-2ZH.push(k);
            };
            this._-2bm(_arg2);
        }
        public function _-2bm(_arg1:int):void
        {
            var k:_-2LZ;
            var k:_-2LZ;
            if (this._-2ZH == null)
            {
                return;
            };
            if (_arg1 < 0)
            {
                for each (k in this._-2ZH)
                {
                    k._-3ok(_-2LZ._-2ld);
                };
                return;
            };
            if (_arg1 >= this._-2ZH.length)
            {
                return;
            };
            if ((((this._-4Gw >= 0)) && ((this._-4Gw < this._-2ZH.length))))
            {
                k = (this._-2ZH[this._-4Gw] as _-2LZ);
                k._-3ok(_-2LZ._-2ld);
            };
            k = (this._-2ZH[_arg1] as _-2LZ);
            k._-3ok(_-2LZ._-KY);
            this._-4Gw = _arg1;
        }
        public function _-1va():void
        {
            if (this._-3En != null)
            {
                this._-3En.deselect();
                this._-3En = null;
                this._-4cx = -1;
            };
        }
        private function _-2m1(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local4:int;
            var k = (_arg1.type == WindowMouseEvent._-4B7);
            if ((((_arg1.type == WindowMouseEvent._-90)) || (k)))
            {
                if ((((_arg2.name == "button_remove_from_playlist")) || (k)))
                {
                    if (this._-3En != null)
                    {
                        this._-3En.deselect();
                    };
                    if (this._-4cx > -1)
                    {
                        this._-0dg._-4n5(this._-4cx);
                    };
                    this._-3En = null;
                    this._-4cx = -1;
                }
                else
                {
                    if (this._-3En != null)
                    {
                        this._-3En.deselect();
                    };
                    _local4 = this._-07w._-ed(_arg1.window);
                    if (_local4 != -1)
                    {
                        this._-4cx = _local4;
                        this._-3En = this._-2ZH[_local4];
                        this._-3En.select();
                        if (_arg2.name == "button_remove_from_playlist")
                        {
                            this._-0dg._-4n5(_local4);
                        };
                        if (this._-0dg._-3J9 != null)
                        {
                            this._-0dg._-3J9._-3vE._-1va();
                        };
                    };
                };
            };
        }

    }
}//package _-33z

//------------------------------------------------------------
//_-33z.PlayListStatusView

package _-33z
{
    import _-Ew.IWindowContainer;
    import _-18r.Map;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-295._-243;
    import _-1ae.IButtonWindow;
    import _-1ae.IContainerButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-295.BitmapDataAsset;

    public class PlayListStatusView 
    {

        public static const do:String = "PLSV_ADD_SONGS";
        public static const _-3oV:String = "PLSV_START_PLAYBACK";
        public static const _-3Us:String = "PLSV_NOW_PLAYING";

        private var _container:IWindowContainer;
        private var _-3FN:Map;
        private var _-0dg:_-3sl;
        private var _-0Dd:String;

        public function PlayListStatusView(_arg1:_-3sl, _arg2:IWindowContainer)
        {
            this._-3FN = new Map();
            super();
            this._container = _arg2;
            this._-0dg = _arg1;
            this._-1su();
        }
        public function destroy():void
        {
            var k:IWindowContainer;
            for each (k in this._-3FN._-0hn())
            {
                k.destroy();
            };
            this._-3FN = null;
        }
        public function _-1Ak(_arg1:String):void
        {
            this._container.removeChildAt(0);
            this._container.addChildAt((this._-3FN[_arg1] as IWindowContainer), 0);
            this._-0Dd = _arg1;
        }
        public function set _-2tU(_arg1:String):void
        {
            if (this._-0Dd != _-3Us)
            {
                return;
            };
            var k:IWindowContainer = this._-3FN[this._-0Dd];
            var k:ITextWindow = (k.getChildByName("now_playing_track_name") as ITextWindow);
            if (k != null)
            {
                k.text = _arg1;
            };
        }
        public function set _-2w3(_arg1:String):void
        {
            if (this._-0Dd != _-3Us)
            {
                return;
            };
            var k:IWindowContainer = this._-3FN[this._-0Dd];
            var k:ITextWindow = (k.getChildByName("now_playing_author_name") as ITextWindow);
            if (k != null)
            {
                k.text = _arg1;
            };
        }
        public function set _-NW(_arg1:BitmapData):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:IWindowContainer = this._-3FN[do];
            if (k == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (k.getChildByName("background_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            k.bitmap = _arg1.clone();
            k.width = _arg1.width;
            k.height = _arg1.height;
        }
        private function _-1su():void
        {
            var k:IWindowContainer;
            var k:_-243;
            var k:IButtonWindow;
            var k:IContainerButtonWindow;
            k = (this._-0dg.assets.getAssetByName("playlisteditor_playlist_subwindow_add_songs") as _-243);
            k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k != null)
            {
                this._-3FN.add(do, k);
            };
            k = (this._-0dg.assets.getAssetByName("playlisteditor_playlist_subwindow_play_now") as _-243);
            k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k != null)
            {
                this._-3FN.add(_-3oV, k);
                k = (k.getChildByName("play_now_button") as IButtonWindow);
                k.addEventListener(WindowMouseEvent._-90, this._-1oO);
            };
            k = (this._-0dg.assets.getAssetByName("playlisteditor_playlist_subwindow_nowplaying") as _-243);
            k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k != null)
            {
                this._-3FN.add(_-3Us, k);
                k = (k.getChildByName("button_pause") as IContainerButtonWindow);
                k.addEventListener(WindowMouseEvent._-90, this._-1oO);
                this._-1OB("icon_pause_large", (k.getChildByName("pause_image") as IBitmapWrapperWindow));
                this._-1OB("jb_icon_disc", (k.getChildByName("song_name_icon_bitmap") as IBitmapWrapperWindow));
                this._-1OB("jb_icon_composer", (k.getChildByName("author_name_icon_bitmap") as IBitmapWrapperWindow));
            };
        }
        private function _-1OB(_arg1:String, _arg2:IBitmapWrapperWindow):void
        {
            var k:BitmapData;
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k != null)
            {
                if (((!((_arg2 == null))) && (!((k.content == null)))))
                {
                    k = (k.content as BitmapData);
                    _arg2.bitmap = k.clone();
                };
            };
        }
        private function _-1oO(_arg1:WindowMouseEvent):void
        {
            this._-0dg._-aw();
        }

    }
}//package _-33z

//------------------------------------------------------------
//_-352._-0GG

package _-352
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0GG implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _-3XG:Boolean = false;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-1SB():Boolean
        {
            return (this._-3XG);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-4lu = 0;
            this._-3XG = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-4lu = _arg1._-2BW();
            this._-3XG = (_arg1._-2BW() == 1);
            return (true);
        }

    }
}//package _-352

//------------------------------------------------------------
//_-352._-1NO

package _-352
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1NO implements _-58N 
    {

        private var _-0X:int = 0;

        public function get seconds():int
        {
            return (this._-0X);
        }
        public function flush():Boolean
        {
            this._-0X = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0X = _arg1._-2BW();
            return (true);
        }

    }
}//package _-352

//------------------------------------------------------------
//_-352._-4jw

package _-352
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4jw implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _text:String = "";
        private var _-vy:Array;
        private var _-59A:int = 0;
        private var _-4hl:int = -1;
        private var _-2mp:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get links():Array
        {
            return (this._-vy);
        }
        public function get gesture():int
        {
            return (this._-59A);
        }
        public function get _-4Kg():int
        {
            return (this._-4hl);
        }
        public function get styleId():int
        {
            return (this._-2mp);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-4lu = 0;
            this._text = "";
            this._-59A = 0;
            this._-vy = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            if (_arg1 == null)
            {
                return (false);
            };
            this._-4lu = _arg1._-2BW();
            this._text = _arg1.readString();
            this._-59A = _arg1._-2BW();
            this._-2mp = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            if (k > 0)
            {
                this._-vy = new Array();
                k = 0;
                while (k < k)
                {
                    this._-vy.push([_arg1.readString(), _arg1.readString(), _arg1.readBoolean()]);
                    k++;
                };
            };
            this._-4hl = _arg1._-2BW();
            return (true);
        }

    }
}//package _-352

//------------------------------------------------------------
//_-359._-0mj

package _-359
{
    import _-mv.HabboSoundManagerFlash10;
    import flash.events.IEventDispatcher;
    import _-18r.Map;
    import _-59g._-2H9;
    import _-mv._-2dU;
    import flash.net.URLRequest;
    import flash.media.Sound;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import _-1B-.*;

    public class _-0mj implements _-1zZ 
    {

        private var _-42G:HabboSoundManagerFlash10;
        private var _-07:IEventDispatcher;
        private var _disposed:Boolean = false;
        private var _-55b:Map;
        private var _-3Xn:Map;
        private var _-494:Number = 1;

        public function _-0mj(_arg1:HabboSoundManagerFlash10, _arg2:IEventDispatcher)
        {
            this._-55b = new Map();
            this._-3Xn = new Map();
            super();
            this._-42G = _arg1;
            this._-07 = _arg2;
            this._-07.addEventListener(_-2H9._-Zs, this._-3jJ);
            this._-07.addEventListener(_-2H9._-0Ho, this._-33G);
            this._-07.addEventListener(_-2H9._-4ut, this._-4dK);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-07)
                {
                    this._-07.removeEventListener(_-2H9._-Zs, this._-3jJ);
                    this._-07.removeEventListener(_-2H9._-0Ho, this._-33G);
                    this._-07.removeEventListener(_-2H9._-4ut, this._-4dK);
                    this._-07 = null;
                };
                if (this._-55b)
                {
                    this._-55b.dispose();
                    this._-55b = null;
                };
                if (this._-3Xn)
                {
                    this._-3Xn.dispose();
                    this._-3Xn = null;
                };
                this._-42G = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-39N(_arg1:Number):void
        {
            var k:_-2dU;
            this._-494 = _arg1;
            for each (k in this._-55b._-0hn())
            {
                k._-04l = this._-494;
            };
        }
        private function _-3jJ(_arg1:_-2H9):void
        {
            if (_arg1._-4AS != -1)
            {
                this._-53s(_arg1._-mx, _arg1._-4AS);
            };
        }
        private function _-33G(_arg1:_-2H9):void
        {
            this._-2HD(_arg1._-mx);
        }
        private function _-4dK(_arg1:_-2H9):void
        {
            if (this._-55b.getValue(_arg1._-mx) != null)
            {
                this._-1yW(_arg1._-mx, _arg1._-4AS, _arg1._-379);
            };
        }
        private function _-53s(_arg1:int, _arg2:int):void
        {
            if ((((this._-55b.getValue(_arg1) == null)) && ((this._-3Xn._-0hn().indexOf(_arg2) == -1))))
            {
                this._-1-D(_arg2, _arg1);
            };
        }
        private function _-2HD(_arg1:int):void
        {
            var k:_-2dU = this._-55b.getValue(_arg1);
            if (k != null)
            {
                k.dispose();
                this._-55b.remove(_arg1);
            };
        }
        private function _-1yW(_arg1:int, _arg2:int, _arg3:Number):void
        {
            var k:_-2dU = this._-55b.getValue(_arg1);
            if (k != null)
            {
                k.stop();
                k._-379 = _arg3;
                k.play();
            };
        }
        private function _-1-D(_arg1:int, _arg2:int):void
        {
            if (this._-42G.configuration == null)
            {
                return;
            };
            var k:String = this._-42G.configuration.getKey("flash.dynamic.download.url", "furniture/");
            k = (k + this._-42G.configuration.getKey("flash.dynamic.download.samples.template", "mp3/sound_machine_sample_%typeid%.mp3"));
            k = k.replace(/%typeid%/, _arg1.toString());
            var k:URLRequest = new URLRequest(k);
            var k:Sound = new Sound();
            k.addEventListener(Event.COMPLETE, this._-1JL);
            k.addEventListener(IOErrorEvent.IO_ERROR, this._-2w0);
            k.load(k);
            this._-3Xn.add(k, _arg2);
        }
        private function _-1JL(_arg1:Event):void
        {
            if (this.disposed)
            {
                return;
            };
            var k:Sound = (_arg1.target as Sound);
            var k:int = this._-3Xn.getValue(k);
            var k:_-2dU = new _-2dU(k);
            k._-04l = this._-494;
            this._-55b.add(k, k);
            this._-3Xn.remove(k);
        }
        private function _-2w0(_arg1:IOErrorEvent):void
        {
            _-Nb.log(((("Error loading sound " + _arg1.target) + " text ") + _arg1.text));
        }

    }
}//package _-359

//------------------------------------------------------------
//_-35b._-00h

package _-35b
{
    import flash.geom.Point;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-2vN._-3hb;
    import _-23M._-Ev;
    import _-Ew.IWindow;
    import flash.utils.Dictionary;

    public class _-00h 
    {

        private static const _-4M:Point = new Point(110, 50);

        private var _-Ie:HabboFriendList;
        private var _-2yc:_-2d2;
        private var _-362:IFrameWindow;
        private var _-9P:IWindowContainer;
        private var _-0Lu:IWindowContainer;
        private var _-4H-:ITextWindow;
        private var _-w2:int = -1;
        private var _-07h:int = -1;
        private var _-Uj:Boolean;

        public function _-00h(_arg1:HabboFriendList)
        {
            this._-Ie = _arg1;
            this._-2yc = new _-2d2(this._-Ie);
        }
        public function _-3GM():Boolean
        {
            return (((!((this._-362 == null))) && (this._-362.visible)));
        }
        public function openFriendList():void
        {
            if (this._-362 == null)
            {
                this.prepare();
                this._-362.position = _-4M;
            }
            else
            {
                this._-362.visible = true;
                this._-362.activate();
            };
        }
        public function _-4zC(_arg1:WindowEvent, _arg2:String):void
        {
            var k:WindowMouseEvent = (_arg1 as WindowMouseEvent);
            if (k == null)
            {
                return;
            };
            if (k.type == WindowMouseEvent._-4e2)
            {
                this._-4H-.text = "";
            }
            else
            {
                if (k.type == WindowMouseEvent._-4ea)
                {
                    this._-4H-.text = _arg2;
                };
            };
        }
        public function refresh(_arg1:String):void
        {
            if (this._-362 == null)
            {
                return;
            };
            this._-2yc.refresh(_arg1);
            this._-2nt();
        }
        public function close():void
        {
            if (this._-362 != null)
            {
                this._-362.visible = false;
            };
        }
        public function isOpen():Boolean
        {
            return (((this._-362) && (this._-362.visible)));
        }
        private function prepare():void
        {
            this._-362 = IFrameWindow(this._-Ie.getXmlWindow("main_window"));
            this._-362.findChildByTag("close").procedure = this._-lf;
            this._-9P = IWindowContainer(this._-362.content.findChildByName("main_content"));
            this._-0Lu = IWindowContainer(this._-362.content.findChildByName("footer"));
            this._-2yc.prepare(this._-9P);
            this._-362.procedure = this._-177;
            this._-362.content.setParamFlag(_-3hb._-2ir, false);
            this._-362.content.setParamFlag(_-3hb._-3iG, true);
            this._-362.header.setParamFlag(_-3hb._-0Ye, false);
            this._-362.header.setParamFlag(_-3hb._-4wu, true);
            this._-362.content.setParamFlag(_-3hb._-0Ye, false);
            this._-362.content.setParamFlag(_-3hb._-4wu, true);
            this._-362.findChildByName("open_edit_ctgs_but").procedure = this._-0qC;
            this._-4H- = ITextWindow(this._-362.findChildByName("info_text"));
            this._-4H-.text = "";
            this._-Ie.refreshButton(this._-362, "open_edit_ctgs", true, null, 0);
            this._-362.title.color = 0xFFFAC200;
            this._-362.title.textColor = 4287851525;
            this.refresh("prepare");
            this._-362.height = 350;
            this._-362.width = 230;
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Close window");
            this._-362.visible = false;
            this._-Ie._-57r(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_CLOSED);
        }
        private function _-177(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!((_arg1.type == WindowEvent._-3K0))) || (!((_arg2 == this._-362)))))
            {
                return;
            };
            if (this._-Uj)
            {
                return;
            };
            var k:int = (((this._-w2 == -1)) ? 0 : (this._-362.height - this._-w2));
            var k:int = (((this._-07h == -1)) ? 0 : (this._-362.width - this._-07h));
            this._-Ie.tabs._-3YF = Math.max(100, (this._-Ie.tabs._-3YF + k));
            this._-Ie.tabs._-3BQ = Math.max(147, (this._-Ie.tabs._-3BQ + k));
            this.refresh(("resize: " + k));
        }
        private function _-2nt():void
        {
            this._-Uj = true;
            this._-0Lu.visible = false;
            this._-0Lu.y = _-3UA._-5DG(this._-362.content);
            this._-0Lu.width = this._-Ie.tabs._-3BQ;
            this._-0Lu.visible = true;
            this._-362.content.height = _-3UA._-5DG(this._-362.content);
            this._-362.content.width = (this._-Ie.tabs._-3BQ - 10);
            this._-362.header.width = (this._-Ie.tabs._-3BQ - 10);
            this._-362.height = (this._-362.content.height + 30);
            this._-362.width = this._-Ie.tabs._-3BQ;
            this._-Uj = false;
            this._-362.scaler.setParamFlag(_-3hb._-3CZ, false);
            this._-362.scaler.setParamFlag(_-3hb._-33W, !((this._-Ie.tabs._-1eL() == null)));
            this._-362.scaler.setParamFlag(_-3hb._-0Ye, false);
            this._-362.scaler.setParamFlag(_-3hb._-2ir, false);
            this._-362.scaler.x = (this._-362.width - this._-362.scaler.width);
            this._-362.scaler.y = (this._-362.height - this._-362.scaler.height);
            this._-w2 = this._-362.height;
            this._-07h = this._-362.width;
            _-Nb.log(("RESIZED: " + this._-Ie.tabs._-3BQ));
        }
        private function _-0qC(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.preferences}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Edit categories clicked");
            var k:WindowMouseEvent = (_arg1 as WindowMouseEvent);
            this._-Ie._-4tw("link.format.friendlist.pref", new Dictionary(), k.stageX, k.stageY);
        }
        public function get mainWindow():IWindowContainer
        {
            return (this._-362);
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-0U1

package _-35b
{
    import _-Qj._-1cK;
    import flash.utils.Dictionary;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-3XR.RemoveFriendMessageComposer;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-0U1 extends AlertView 
    {

        private var _-2dY:Array;

        public function _-0U1(_arg1:HabboFriendList)
        {
            super(_arg1, "friend_remove_confirm");
            this._-2dY = _arg1.categories._-069();
        }
        override public function dispose():void
        {
            this._-2dY = null;
            super.dispose();
        }
        override function setupContent(_arg1:IWindowContainer):void
        {
            var k:_-1cK;
            var k:String;
            var k:Dictionary;
            _arg1.findChildByName("cancel").procedure = _-4F9;
            _arg1.findChildByName("ok").procedure = this.onRemove;
            var k:Array = new Array();
            for each (k in this._-2dY)
            {
                k.push(k.name);
            };
            k = _-3UA.arrayToString(k);
            k = new Dictionary();
            _-4zV.registerParameter("friendlist.removefriendconfirm.userlist", "user_names", k);
        }
        private function onRemove(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1cK;
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Remove Ok clicked");
            var k:RemoveFriendMessageComposer = new RemoveFriendMessageComposer();
            for each (k in this._-2dY)
            {
                k._-1Vh(k.id);
            };
            _-4zV.send(k);
            this.dispose();
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-1i8

package _-35b
{
    import _-Qj._-1up;

    public class _-1i8 
    {

        public function _-2df():uint
        {
            return (4282169599);
        }
        public function _-mo(_arg1:Boolean):uint
        {
            return (((_arg1) ? 0xFFFFFFFF : 0xFF000000));
        }
        public function _-5AA(_arg1:Boolean):uint
        {
            return (((_arg1) ? 4293848814 : 4289900703));
        }
        public function _-3vg(_arg1:int, _arg2:Boolean):uint
        {
            if (_arg1 == _-1up._-me)
            {
                return (((_arg2) ? 0xFFFFFFFF : 4293848814));
            };
            if (_arg1 == _-1up._-1sw)
            {
                return (((_arg2) ? 0xFFFFFFFF : 4293848814));
            };
            return (((_arg2) ? 4290164406 : 4288651167));
        }
        public function _-3PJ(_arg1:Boolean, _arg2:int):uint
        {
            if (_arg1)
            {
                return (0xFFFFFFFF);
            };
            if (_arg2 == _-1up._-me)
            {
                return (0xFF000000);
            };
            if (_arg2 == _-1up._-1sw)
            {
                return (4294375158);
            };
            return (4293914607);
        }
        public function _-0zd(_arg1:int):uint
        {
            if (_arg1 == _-1up._-me)
            {
                return (0xFFFFFFFF);
            };
            if (_arg1 == _-1up._-1sw)
            {
                return (0xFFFFFFFF);
            };
            return (4290164406);
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-1jR

package _-35b
{
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowKeyboardEvent;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import flash.ui.Keyboard;
    import _-Qj._-1cK;
    import _-3XR.SendRoomInviteMessageComposer;

    public class _-1jR extends AlertView 
    {

        private var _-2dY:Array;
        private var _-4fn:ITextFieldWindow;

        public function _-1jR(_arg1:HabboFriendList)
        {
            super(_arg1, "room_invite_confirm");
            this._-2dY = _arg1.categories._-069();
        }
        override public function dispose():void
        {
            this._-2dY = null;
            this._-4fn = null;
            super.dispose();
        }
        override function setupContent(_arg1:IWindowContainer):void
        {
            _-4zV.registerParameter("friendlist.invite.summary", "count", ("" + this._-2dY.length));
            this._-4fn = ITextFieldWindow(_arg1.findChildByName("message_input"));
            this._-4fn.addEventListener(WindowKeyboardEvent._-2CS, this._-WU);
            _arg1.findChildByName("cancel").procedure = _-4F9;
            _arg1.findChildByName("ok").procedure = this._-ZM;
        }
        private function _-ZM(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Invite Ok clicked");
            this._-4jG();
            this.dispose();
        }
        private function _-WU(_arg1:WindowKeyboardEvent):void
        {
            var _local3:int;
            var _local4:String;
            var k:IWindow = IWindow(_arg1.target);
            _-Nb.log(((((("Test key event " + _arg1) + ", ") + _arg1.type) + " ") + k.name));
            if (_arg1.charCode == Keyboard.ENTER)
            {
                this._-4jG();
            }
            else
            {
                _local3 = 120;
                _local4 = this._-4fn.text;
                if (_local4.length > _local3)
                {
                    this._-4fn.text = _local4.substring(0, _local3);
                };
            };
        }
        private function _-4jG():void
        {
            var k:_-1cK;
            var k:String = this._-4fn.text;
            _-Nb.log(("Send msg: " + k));
            if (k == "")
            {
                _-4zV.simpleAlert("${friendlist.invite.emptyalert.title}", "${friendlist.invite.emptyalert.text}");
                return;
            };
            var k:SendRoomInviteMessageComposer = new SendRoomInviteMessageComposer(k);
            for each (k in this._-2dY)
            {
                k._-0yK(k.id);
            };
            _-4zV.send(k);
            this.dispose();
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-1sE

package _-35b
{
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;

    public interface _-1sE 
    {

        function init(_arg1:HabboFriendList):void;
        function _-2zA(_arg1:IWindowContainer):void;
        function _-3vY(_arg1:IItemListWindow):void;
        function _-1BK():int;
        function _-4vq(_arg1:int):void;

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-2d2

package _-35b
{
    import _-Ew.IWindowContainer;
    import _-Qj._-1up;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-23M._-Ev;
    import _-0Ie.WindowEvent;
    import _-1ae.IItemListWindow;

    public class _-2d2 
    {

        private var _-Ie:HabboFriendList;
        private var _-0Mb:IWindowContainer;

        public function _-2d2(_arg1:HabboFriendList)
        {
            this._-Ie = _arg1;
        }
        public function prepare(_arg1:IWindowContainer):void
        {
            this._-0Mb = _arg1;
            this.refresh("prepare");
        }
        public function refresh(_arg1:String):void
        {
            var k:_-1up;
            var k:IWindowContainer;
            var k:int;
            _-Nb.log(("TABS: REFRESH: " + _arg1));
            this._-0Mb.width = this._-Ie.tabs._-3Cw;
            this._-0Mb.findChildByName("bg").width = this._-Ie.tabs._-3Cw;
            var k:int = 1;
            for each (k in this._-Ie.tabs._-2GL())
            {
                k = (this._-0Mb.getChildByName(("flt_" + k.id)) as IWindowContainer);
                if (!this._-49N(k.id))
                {
                    k.visible = false;
                }
                else
                {
                    k.visible = true;
                    k.width = this._-Ie.tabs._-3Cw;
                    k.y = k;
                    k = this._-8Y(k, k);
                    this._-8s(k, k);
                    k.height = (k + ((k.selected) ? this._-Ie.tabs._-3YF : 0));
                    k = (k + k.height);
                };
            };
            this._-0Mb.height = (k + 1);
            this._-0Mb.findChildByName("bg").height = this._-0Mb.height;
            _-Nb.log("TABS: REFRESH END");
        }
        private function _-49N(_arg1:int):Boolean
        {
            if (_arg1 != _-1up._-1sw)
            {
                return (true);
            };
            return ((this._-Ie.friendRequests.requests.length > 0));
        }
        private function _-8s(_arg1:_-1up, _arg2:IWindowContainer):void
        {
            if (_arg1.selected)
            {
                if (_arg1.view == null)
                {
                    _arg1.view = (this._-0mA(_arg1) as IWindowContainer);
                };
                this._-4dl(_arg1.view);
                this._-2X0(_arg1.view);
                _arg2.addChild(_arg1.view);
            }
            else
            {
                if (_arg1.view != null)
                {
                    _arg2.removeChild(_arg1.view);
                };
            };
        }
        private function _-8Y(_arg1:_-1up, _arg2:IWindowContainer):int
        {
            var k:IWindowContainer = (_arg2.getChildByName("header") as IWindowContainer);
            k.width = this._-Ie.tabs._-3Cw;
            this._-3kc(k, _arg1._-0Vf, "hdr_hilite");
            this._-3kc(k, !(_arg1._-0Vf), _arg1._-5Dy);
            var k:Boolean = (((_arg1.id == _-1up._-me)) && (!(_arg1._-0Vf)));
            _-Nb.log(((((("TAB " + _arg1.id) + ", ") + _arg1.name) + ", ") + k));
            this._-0k7(k, "arrow_down_black", ((_arg1.selected) && (k)), 12);
            this._-0k7(k, "arrow_right_black", ((!(_arg1.selected)) && (k)), 15);
            this._-0k7(k, "arrow_down_white", ((_arg1.selected) && (!(k))), 12);
            this._-0k7(k, "arrow_right_white", ((!(_arg1.selected)) && (!(k))), 15);
            this._-1ux(_arg1, k);
            return (k.height);
        }
        private function _-3kc(_arg1:IWindowContainer, _arg2:Boolean, _arg3:String):void
        {
            _-Nb.log(((("REFRESHING BG IMAGE: " + _arg2) + ", ") + _arg3));
            var k:IBitmapWrapperWindow = (_arg1.getChildByName(_arg3) as IBitmapWrapperWindow);
            if (!_arg2)
            {
                if (k != null)
                {
                    k.visible = false;
                };
            }
            else
            {
                if (k.bitmap == null)
                {
                    k.bitmap = this._-Ie._-1JQ(_arg3);
                    k.height = k.bitmap.height;
                    _arg1.height = k.bitmap.height;
                    k.procedure = this._-12p;
                };
                k.width = this._-Ie.tabs._-3Cw;
                k.visible = true;
            };
        }
        private function _-0k7(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:int):void
        {
            var k:ITextWindow;
            var k:IWindow;
            this._-Ie.refreshButton(_arg1, _arg2, _arg3, null, 0);
            if (_arg3)
            {
                k = ITextWindow(_arg1.findChildByName("caption_text"));
                k = IWindow(_arg1.findChildByName(_arg2));
                k.x = (k.textWidth + _arg4);
            };
        }
        private function _-1ux(_arg1:_-1up, _arg2:IWindowContainer):void
        {
            var k:ITextWindow = (_arg2.findChildByName("caption_text") as ITextWindow);
            k.text = (((_arg1.name + " (") + _arg1._-4rw._-1BK()) + ")");
            k.textColor = this._-Ie._-21x._-3PJ(_arg1._-0Vf, _arg1.id);
        }
        private function _-12p(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1up;
            this._-Ie.view._-4zC(_arg1, (("${friendlist.tip.tab." + _arg2.id) + "}"));
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("TAB CLICKED!");
            var k:_-1up = this._-Ie.tabs._-307(_arg2.id);
            for each (k in this._-Ie.tabs._-2GL())
            {
                k._-4rw._-4vq(k.id);
            };
            this._-Ie.tabs._-py(k);
            this._-Ie.view.refresh("tabClick");
            if (k.selected)
            {
                switch (k.id)
                {
                    case _-1up._-me:
                        this._-Ie._-57r(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_FRIENDS);
                        break;
                    case _-1up._-1SN:
                        this._-Ie._-57r(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_SEARCH);
                        break;
                    case _-1up._-1sw:
                        this._-Ie._-57r(_-Ev.HABBO_FRIENDLIST_TRACKIG_EVENT_REQUEST);
                        break;
                };
            }
            else
            {
                this._-Ie._-57r(_-Ev._-EE);
            };
        }
        private function _-0mA(_arg1:_-1up):IWindow
        {
            var k:IWindowContainer = IWindowContainer(this._-Ie.getXmlWindow("tab_content"));
            k.background = true;
            k.color = this._-Ie._-21x._-0zd(_arg1.id);
            k.addChild(this._-4EU(_arg1));
            var k:IItemListWindow = IItemListWindow(k.findChildByName("list_content"));
            k.color = this._-Ie._-21x._-0zd(_arg1.id);
            _arg1._-4rw._-3vY(k);
            return (k);
        }
        private function _-4dl(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = (_arg1.getChildByName("footer") as IWindowContainer);
            var k:IWindowContainer = (_arg1.getChildByName("list") as IWindowContainer);
            var k:IWindow = (k.getChildByName("scroller") as IWindow);
            var k:IItemListWindow = IItemListWindow(k.getChildByName("list_content"));
            var k:IWindow = k.parent;
            var k:int = this._-Ie.tabs._-3Cw;
            var k:int = this._-Ie.tabs._-3YF;
            k.height = Math.max(0, k);
            k.width = k;
            var k:int = Math.max(((k - k.y) - k.height), 0);
            k.height = k;
            k.height = k;
            k.height = k;
            k.width = k;
            k.width = k;
            k.x = (k - 27);
            k.y = (k - k.height);
            k.width = k;
        }
        private function _-2X0(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = (_arg1.getChildByName("list") as IWindowContainer);
            var k:IWindow = (k.getChildByName("scroller") as IWindow);
            var k:IItemListWindow = IItemListWindow(k.getChildByName("list_content"));
            var k = (k._-2yI.height > k.height);
            var k:int = 22;
            var k:int = (this._-Ie.tabs._-3Cw - 10);
            var k:int = (k - k);
            var k:int = ((k) ? k : k);
            k.visible = k;
            k.width = k;
            this.change(k, k);
        }
        private function change(_arg1:IItemListWindow, _arg2:int):void
        {
            var k:IWindow;
            var k:int;
            while (k < _arg1.numListItems)
            {
                k = _arg1.getListItemAt(k);
                k.width = _arg2;
                k++;
            };
        }
        private function _-4EU(_arg1:_-1up):IWindow
        {
            var k:IWindowContainer = IWindowContainer(this._-Ie.getXmlWindow(_arg1._-2J1));
            _arg1._-4rw._-2zA(k);
            return (k);
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-2SI

package _-35b
{
    import _-1ae.IItemListWindow;
    import _-1ae.IContainerButtonWindow;
    import _-Ew.IWindowContainer;
    import _-Qj._-6a;
    import _-Qj._-1up;
    import _-Ew.IWindow;
    import _-2ly._-174;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-3XR.AcceptFriendMessageComposer;
    import _-23M._-2Pi;
    import _-3XR.DeclineFriendMessageComposer;
    import _-0Pi._-RA;

    public class _-2SI implements _-1sE, _-w9 
    {

        private static const _-1xl:String = "no_reqs_info";

        private var _-Ie:HabboFriendList;
        private var _-3EB:IItemListWindow;
        private var _-0gp:IContainerButtonWindow;
        private var _-2Ti:IContainerButtonWindow;

        public function init(_arg1:HabboFriendList):void
        {
            this._-Ie = _arg1;
        }
        public function _-1BK():int
        {
            return (this._-Ie.friendRequests._-2e2());
        }
        public function _-2zA(_arg1:IWindowContainer):void
        {
            this._-0gp = IContainerButtonWindow(_arg1.findChildByName("accept_all_but"));
            this._-2Ti = IContainerButtonWindow(_arg1.findChildByName("reject_all_but"));
            this._-2Ti.procedure = this._-yw;
            this._-0gp.procedure = this._-0CZ;
            this._-3fO();
        }
        public function _-3vY(_arg1:IItemListWindow):void
        {
            var k:_-6a;
            this._-3EB = _arg1;
            for each (k in this._-Ie.friendRequests.requests)
            {
                this._-1xT(k);
                this._-2N4(k);
                _arg1.addListItem(k.view);
            };
            this._-Ie.friendRequests._-45h();
        }
        public function _-4vq(_arg1:int):void
        {
            if (this._-3EB == null)
            {
                return;
            };
            this._-Ie.friendRequests._-4aO(true);
        }
        public function _-45h(_arg1:_-6a, _arg2:Boolean):void
        {
            if (this._-3EB == null)
            {
                return;
            };
            _arg1.view.color = this._-Ie._-21x._-3vg(_-1up._-1sw, _arg2);
            this._-bT(_arg1.view, "reject");
            this._-bT(_arg1.view, "accept");
        }
        public function _-2N4(_arg1:_-6a):void
        {
            if (this._-3EB == null)
            {
                return;
            };
            var k:IWindowContainer = _arg1.view;
            _-3UA._-LK(k);
            var k:IWindow = k.findChildByName("bg_region");
            k.visible = true;
            k.procedure = this._-0my;
            k.id = _arg1._-4pt;
            k.findChildByName("user_info_region").visible = true;
            _-174._-2C5(false, k);
            this._-Ie._-53z(k, "requester_name_text", true, _arg1._-0Lf);
            if (_arg1.state == _-6a._-06T)
            {
                this._-Ie._-1Rq(k, "accept", true, this._-0OM, _arg1._-0nn);
                this._-Ie._-1Rq(k, "reject", true, this._-2gJ, _arg1._-0nn);
            }
            else
            {
                if (_arg1.state == _-6a._-3n0)
                {
                    this._-Ie._-53z(k, "info_text", true, "${friendlist.request.accepted}");
                }
                else
                {
                    if (_arg1.state == _-6a._-2sC)
                    {
                        this._-Ie._-53z(k, "info_text", true, "${friendlist.request.declined}");
                    }
                    else
                    {
                        if (_arg1.state == _-6a._-3zp)
                        {
                            this._-Ie._-53z(k, "info_text", true, "${friendlist.request.failed}");
                        };
                    };
                };
            };
        }
        private function _-bT(_arg1:IWindowContainer, _arg2:String):void
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            if (k != null)
            {
                k.color = _arg1.color;
            };
        }
        public function _-ED(_arg1:_-6a):void
        {
            if (this._-3EB == null)
            {
                return;
            };
            this._-1xT(_arg1);
            this._-2N4(_arg1);
            this._-3EB.addListItem(_arg1.view);
            this._-Ie.friendRequests._-45h();
            this._-3fO();
        }
        public function _-2PM(_arg1:_-6a):void
        {
            if (this._-3EB == null)
            {
                return;
            };
            this._-3EB._-4sE(_arg1.view);
            this._-3fO();
        }
        private function _-1xT(_arg1:_-6a):void
        {
            var k:IWindowContainer = IWindowContainer(this._-Ie.getXmlWindow("friend_request_entry"));
            _arg1.view = k;
        }
        private function _-0OM(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.accept}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:int = _arg2.id;
            _-Nb.log(("accept clicked: " + k));
            this._-4eX(k);
        }
        public function _-4eX(_arg1:int):void
        {
            var k:_-6a = this._-Ie.friendRequests._-3k1(_arg1);
            if (!k)
            {
                return;
            };
            k.state = _-6a._-3n0;
            if (this._-Ie.categories._-0ux(false) >= this._-Ie.friendRequests.limit)
            {
                this._-Ie._-EI();
                return;
            };
            var k:AcceptFriendMessageComposer = new AcceptFriendMessageComposer();
            k._-GZ(k._-0nn);
            this._-Ie.send(k);
            this._-2N4(k);
            this.refresh();
            if (((this._-Ie) && (this._-Ie.events)))
            {
                this._-Ie.events.dispatchEvent(new _-2Pi(_-2Pi._-4C6, _arg1));
            };
        }
        public function _-1UW():void
        {
            var k:_-6a;
            if ((this._-Ie.categories._-0ux(false) + this._-Ie.friendRequests.requests.length) > this._-Ie.friendRequests.limit)
            {
                this._-Ie._-EI();
                return;
            };
            var k:AcceptFriendMessageComposer = new AcceptFriendMessageComposer();
            for each (k in this._-Ie.friendRequests.requests)
            {
                if (((!((k.state == _-6a._-3n0))) && (!((k.state == _-6a._-2sC)))))
                {
                    k._-GZ(k._-0nn);
                    k.state = _-6a._-3n0;
                    this._-2N4(k);
                    if (((this._-Ie) && (this._-Ie.events)))
                    {
                        this._-Ie.events.dispatchEvent(new _-2Pi(_-2Pi._-4C6, k._-0nn));
                    };
                };
            };
            this._-Ie.send(k);
            this.refresh();
        }
        private function _-2gJ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.decline}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:int = _arg2.id;
            _-Nb.log(("decline clicked: " + k));
            this._-4bw(k);
        }
        public function _-4bw(_arg1:int):void
        {
            var k:_-6a = this._-Ie.friendRequests._-3k1(_arg1);
            if (!k)
            {
                return;
            };
            k.state = _-6a._-2sC;
            var k:DeclineFriendMessageComposer = new DeclineFriendMessageComposer();
            k._-0ET(_arg1);
            this._-Ie.send(k);
            this._-2N4(k);
            this.refresh();
            if (((this._-Ie) && (this._-Ie.events)))
            {
                this._-Ie.events.dispatchEvent(new _-2Pi(_-2Pi._-no, _arg1));
            };
        }
        public function _-1bl():void
        {
            var k:_-6a;
            var k:DeclineFriendMessageComposer = new DeclineFriendMessageComposer();
            this._-Ie.send(k);
            for each (k in this._-Ie.friendRequests.requests)
            {
                if (((!((k.state == _-6a._-3n0))) && (!((k.state == _-6a._-2sC)))))
                {
                    k.state = _-6a._-2sC;
                    this._-2N4(k);
                    if (((this._-Ie) && (this._-Ie.events)))
                    {
                        this._-Ie.events.dispatchEvent(new _-2Pi(_-2Pi._-no, k._-0nn));
                    };
                };
            };
            this.refresh();
        }
        private function _-0my(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${infostand.profile.link.tooltip}");
            _-174._-0my(_arg1, _arg2);
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-Ie.trackGoogle("extendedProfile", "friendList_friendRequests");
                this._-Ie.send(new _-RA(_arg2.id));
            };
        }
        private function _-yw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.declineall}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Dismiss all clicked");
            this._-1bl();
        }
        private function _-0CZ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.acceptall}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log("Accept all clicked");
            this._-1UW();
        }
        private function refresh():void
        {
            this._-3fO();
        }
        private function _-3fO():void
        {
            var k = (this._-Ie.friendRequests._-2e2() > 0);
            this._-4PE(this._-0gp, k);
            this._-4PE(this._-2Ti, k);
        }
        private function _-4PE(_arg1:IContainerButtonWindow, _arg2:Boolean):void
        {
            if (!_arg1)
            {
                return;
            };
            if (_arg2)
            {
                _arg1.enable();
            }
            else
            {
                _arg1.disable();
            };
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-3UA

package _-35b
{
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;

    public class _-3UA 
    {

        public static function remove(_arg1:Array, _arg2:Object):void
        {
            var k:int = _arg1.indexOf(_arg2);
            if (k >= 0)
            {
                _arg1.splice(k, 1);
            };
        }
        public static function _-5DG(_arg1:IWindowContainer):int
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (k.visible)
                {
                    k = Math.max(k, (k.y + k.height));
                };
                k++;
            };
            return (k);
        }
        public static function _-0gw(_arg1:IWindowContainer):int
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (k.visible)
                {
                    k = Math.max(k, (k.x + k.width));
                };
                k++;
            };
            return (k);
        }
        public static function arrayToString(_arg1:Array, _arg2:String=", ", _arg3:String=""):String
        {
            var k:Object;
            var k:String = "";
            for each (k in _arg1)
            {
                if (k != "")
                {
                    k = (k + _arg2);
                };
                k = (k + ((_arg3 + k) + _arg3));
            };
            return (k);
        }
        public static function _-3Ik(_arg1:String, _arg2:IWindow):void
        {
            var k:int;
            _-Nb.log((((((((_arg1 + _arg2) + " (") + _arg2.width) + ", ") + _arg2.height) + "), ") + _arg2._-52W(_-3hb._-2rR)));
            var k:IWindowContainer = (_arg2 as IWindowContainer);
            if (k != null)
            {
                k = 0;
                while (k < k.numChildren)
                {
                    _-3Ik((_arg1 + "-"), k.getChildAt(k));
                    k++;
                };
            };
        }
        public static function _-LK(_arg1:IWindowContainer):void
        {
            var k:int;
            while (k < _arg1.numChildren)
            {
                _arg1.getChildAt(k).visible = false;
                k++;
            };
        }
        public static function _-4G7(_arg1:IWindow, _arg2:int, _arg3:int):Rectangle
        {
            if (_arg1 == null)
            {
                return (new Rectangle(300, 200, _arg2, _arg3));
            };
            var k:int = (_arg1.width - _arg2);
            var k:int = (_arg1.height - _arg3);
            return (new Rectangle((_arg1.x + (0.5 * k)), (_arg1.y + (0.5 * k)), _arg2, _arg3));
        }
        public static function _-42(_arg1:IWindowContainer, _arg2:int, _arg3:int):void
        {
            var k:IWindow;
            var k:int;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (!k.visible)
                {
                }
                else
                {
                    if ((((k > 0)) && (((k + k.width) > _arg2))))
                    {
                        k = 0;
                        k = (k + _arg3);
                    };
                    k.x = k;
                    k.y = k;
                    k = (k + k.width);
                };
                k++;
            };
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-4A9

package _-35b
{
    public interface _-4A9 
    {

        function get id():int;
        function get name():String;
        function get gender():int;
        function get online():Boolean;
        function get _-08():Boolean;
        function get figure():String;
        function get realName():String;
        function get persistedMessageUser():Boolean;
        function get _-0s():Boolean;

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-4ze

package _-35b
{
    public interface _-4ze 
    {

        function _-I8():void;
        function _-17V():void;

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-54

package _-35b
{
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import flash.events.Event;

    public class _-54 
    {

        private var _-Ie:HabboFriendList;
        private var _-X4:IWindowContainer;
        private var _-2J0:Timer;

        public function _-54(_arg1:HabboFriendList)
        {
            this._-Ie = _arg1;
        }
        public function show(_arg1:int, _arg2:int):void
        {
            if (this._-X4 != null)
            {
                this.close(null);
            };
            this._-X4 = this._-1SY();
            if (this._-2J0 != null)
            {
                this._-2J0.stop();
            };
            this._-2J0 = new Timer(2000, 1);
            this._-2J0.addEventListener(TimerEvent.TIMER, this.close);
            this._-2J0.start();
            this._-X4.x = _arg1;
            this._-X4.y = _arg2;
        }
        private function close(_arg1:Event):void
        {
            this._-X4.destroy();
            this._-X4 = null;
        }
        private function _-1SY():IWindowContainer
        {
            var k:IWindowContainer = IWindowContainer(this._-Ie.getXmlWindow("opened_to_web_popup"));
            this._-Ie.refreshButton(k, "opened_to_web", true, null, 0);
            return (k);
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-a8

package _-35b
{
    import flash.events.IEventDispatcher;
    import flash.utils.Dictionary;
    import _-Ew.IWindowContainer;
    import _-1B-.*;

    public interface _-a8 extends _-4yI 
    {

        function get events():IEventDispatcher;
        function _-4QN(_arg1:int):Boolean;
        function _-7a(_arg1:int, _arg2:String):Boolean;
        function _-4F0(_arg1:int):_-4A9;
        function openFriendList():void;
        function _-1nl():void;
        function _-0qz():void;
        function close():void;
        function isOpen():Boolean;
        function _-0ux(_arg1:Boolean, _arg2:Boolean):int;
        function _-4tw(_arg1:String, _arg2:Dictionary, _arg3:int, _arg4:int):void;
        function _-3kQ():Array;
        function acceptFriendRequest(_arg1:int):void;
        function acceptAllFriendRequests():void;
        function declineFriendRequest(_arg1:int):void;
        function declineAllFriendRequests():void;
        function get mainWindow():IWindowContainer;

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-w9

package _-35b
{
    import _-Qj._-6a;

    public interface _-w9 
    {

        function _-45h(_arg1:_-6a, _arg2:Boolean):void;
        function _-2N4(_arg1:_-6a):void;
        function _-ED(_arg1:_-6a):void;
        function _-2PM(_arg1:_-6a):void;
        function _-4eX(_arg1:int):void;
        function _-1UW():void;
        function _-4bw(_arg1:int):void;
        function _-1bl():void;

    }
}//package _-35b

//------------------------------------------------------------
//_-35b._-ZN

package _-35b
{
    public interface _-ZN 
    {

        function _-I8():void;
        function _-2Tu(_arg1:String):void;

    }
}//package _-35b

//------------------------------------------------------------
//_-35b.AlertView

package _-35b
{
    import flash.utils.Dictionary;
    import _-1ae.IFrameWindow;
    import flash.geom.Rectangle;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class AlertView implements _-1zZ 
    {

        private static var _-3T2:Dictionary = new Dictionary();

        private var _-Ie:HabboFriendList;
        private var _-X4:IFrameWindow;
        private var _-0eH:String;
        private var _-o7:String;
        private var _disposed:Boolean;

        public function AlertView(_arg1:HabboFriendList, _arg2:String, _arg3:String=null)
        {
            this._-Ie = _arg1;
            this._-0eH = _arg2;
            this._-o7 = _arg3;
        }
        public function show():void
        {
            var k:IFrameWindow = IFrameWindow(_-3T2[this._-0eH]);
            if (k != null)
            {
                k.dispose();
            };
            this._-X4 = this._-1tx();
            if (this._-o7 != null)
            {
                this._-X4.caption = this._-o7;
            };
            this.setupContent(this._-X4.content);
            var k:Rectangle = _-3UA._-4G7(this._-Ie.view.mainWindow, this._-X4.width, this._-X4.height);
            this._-X4.x = k.x;
            this._-X4.y = k.y;
            _-3T2[this._-0eH] = this._-X4;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-X4 != null)
            {
                this._-X4.destroy();
                this._-X4 = null;
            };
            this._-Ie = null;
        }
        function setupContent(_arg1:IWindowContainer):void
        {
        }
        function _-4F9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this.dispose();
        }
        private function _-1tx():IFrameWindow
        {
            var k:IFrameWindow = IFrameWindow(this._-Ie.getXmlWindow(this._-0eH));
            var k:IWindow = k.findChildByTag("close");
            k.procedure = this._-4F9;
            return (k);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-4zV():HabboFriendList
        {
            return (this._-Ie);
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b.FriendsView

package _-35b
{
    import _-1ae.IContainerButtonWindow;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import _-Qj._-1up;
    import _-Qj._-2AF;
    import _-1ae.IBitmapWrapperWindow;
    import _-Qj._-1cK;
    import _-1ae.IIconWindow;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindow;
    import _-1ae._-2aK;
    import _-2ly._-174;
    import _-09j.WindowType;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import flash.display.BitmapData;
    import _-18r.ErrorReportStorage;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-3XR._-1Cd;
    import _-2p5._-2ka;
    import _-0Pi._-RA;
    import _-2ly._-11j;
    import flash.utils.Dictionary;
    import _-1ae.ITextWindow;

    public class FriendsView implements _-1sE, _-4ze 
    {

        public static const _-Xg:String = "bg";
        private static const _-3az:int = 14;
        private static const _-0Sx:int = 52;

        private var _-Ie:HabboFriendList;
        private var _-ca:IContainerButtonWindow;
        private var _-4Cc:IContainerButtonWindow;
        private var _-2Iw:IContainerButtonWindow;
        private var _-3U6:IContainerButtonWindow;
        private var _-3EB:IItemListWindow;

        public function init(_arg1:HabboFriendList):void
        {
            this._-Ie = _arg1;
        }
        public function _-1BK():int
        {
            return (this._-Ie.categories._-0ux(true));
        }
        public function _-2zA(_arg1:IWindowContainer):void
        {
            this._-ca = this._-C("open_minimail", this._-X0, _arg1);
            this._-4Cc = this._-C("open_homepage", this._-zR, _arg1);
            this._-2Iw = this._-C("room_invite", this._-2J6, _arg1);
            this._-3U6 = this._-C("remove_friend", this._-1aK, _arg1);
            this._-3fO();
        }
        public function _-3vY(_arg1:IItemListWindow):void
        {
            this._-3EB = _arg1;
            this._-I8();
        }
        public function _-4vq(_arg1:int):void
        {
        }
        public function _-17V():void
        {
            this._-Ie.tabs._-307(_-1up._-me)._-17V(true);
        }
        public function _-I8():void
        {
            var k:_-2AF;
            var k:int;
            var k:int;
            var k:int;
            var k:Boolean;
            if (this._-3EB == null)
            {
                return;
            };
            this._-3EB.autoArrangeItems = false;
            var k:int;
            for each (k in this._-Ie.categories._-4YG())
            {
                this._-wY(true, k, k, null);
                k++;
                if (k.open)
                {
                    k = k._-22();
                    k = k._-3rS();
                    while (k < k)
                    {
                        this._-wY(true, k, k, k.friends[k]);
                        k++;
                        k++;
                    };
                };
            };
            while (true)
            {
                k = this._-wY(false, k, null, null);
                if (k)
                {
                    break;
                };
                k++;
            };
            this._-3EB.autoArrangeItems = true;
            this._-3fO();
        }
        private function _-C(_arg1:String, _arg2:Function, _arg3:IWindowContainer):IContainerButtonWindow
        {
            var k:IContainerButtonWindow = IContainerButtonWindow(_arg3.findChildByName(("button_" + _arg1)));
            k.procedure = _arg2;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(k.findChildByName("icon"));
            k.bitmap = this._-Ie._-1JQ(_arg1);
            k.width = k.bitmap.width;
            k.height = k.bitmap.height;
            return (k);
        }
        private function _-wY(_arg1:Boolean, _arg2:int, _arg3:_-2AF, _arg4:_-1cK):Boolean
        {
            var k = ((_arg2 % 2) == 1);
            var k:IWindowContainer = (this._-3EB.getListItemAt(_arg2) as IWindowContainer);
            if (k == null)
            {
                if (!_arg1)
                {
                    return (true);
                };
                k = IWindowContainer(this._-Ie.getXmlWindow("friend_entry"));
                k.findChildByName("user_info_region").procedure = this._-3y;
                this._-3EB.addListItem(k);
            };
            _-3UA._-LK(k);
            if (!_arg1)
            {
                k.height = 0;
                k.visible = false;
                return (false);
            };
            k.height = 20;
            k.visible = true;
            k.color = this._-Ie._-21x._-3vg(_-1up._-me, k);
            if (_arg4 == null)
            {
                _arg3.view = k;
                this._-4du(_arg3, k);
            }
            else
            {
                _arg4.view = k;
                this._-0A9(_arg3, _arg4);
            };
            return (false);
        }
        public function _-4du(_arg1:_-2AF, _arg2:Boolean):void
        {
            if (this._-3EB == null)
            {
                return;
            };
            var k:IWindowContainer = _arg1.view;
            k.tags.splice(0, k.tags.length);
            k.tags.push(_arg1.id);
            this._-Ie._-53z(k, "caption", true, (((_arg1.name + " (") + _arg1.friends.length) + ")"));
            this._-0KE(k, "arrow_down_black", _arg1.open, _arg1.id, 6);
            this._-0KE(k, "arrow_right_black", !(_arg1.open), _arg1.id, 9);
            k.procedure = this._-3TU;
            k.visible = false;
            this._-H9(_arg1, _arg2);
            k.height = Math.max(_-3UA._-5DG(k), 20);
            k.visible = true;
        }
        private function _-0A9(_arg1:_-2AF, _arg2:_-1cK):void
        {
            var k:IIconWindow;
            var k:IRegionWindow;
            var k:IWindow;
            var _local9:IWindow;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            var k:IWindowContainer = _arg2.view;
            if (k == null)
            {
                return;
            };
            k.id = _arg2.id;
            k.procedure = this._-oK;
            k.visible = true;
            if (_arg2.selected)
            {
                k.color = this._-Ie._-21x._-2df();
            };
            _-2aK(_arg2.view.findChildByName("name")).textColor = this._-Ie._-21x._-mo(_arg2.selected);
            var k:String = _arg2.name;
            if (((!((_arg2.realName == null))) && (!((_arg2.realName == "")))))
            {
                k = (((k + " (") + _arg2.realName) + ")");
            };
            this._-Ie._-53z(k, "name", true, k);
            var k:Boolean = ((this._-Ie._-ql()) && (((_arg2.persistedMessageUser) || (_arg2._-0s))));
            this._-Ie.refreshButton(k, "start_chat", ((_arg2.online) || (k)), this._-2oS, _arg2.id);
            this._-Ie.refreshButton(k, "follow_friend", _arg2._-08, this._-cR, _arg2.id);
            if (((!(_arg2.online)) && (k)))
            {
                if (_arg2._-0y3)
                {
                    k = k.findChildByName("vip_icon");
                    if (k == null)
                    {
                        k = this._-0os("vip_icon_content", _-3az);
                        k = this._-0Gj("vip_icon", "${friendlist.vipicon.tooltip}", k);
                        k.addChild(k);
                        k.x = 0;
                        k.y = 2;
                    }
                    else
                    {
                        if (!k.visible)
                        {
                            k.visible = true;
                        };
                    };
                }
                else
                {
                    _local9 = k.findChildByName("mobile_icon");
                    if (_local9 == null)
                    {
                        k = this._-0os("mobile_icon_content", _-0Sx);
                        k = this._-0Gj("mobile_icon", "${friendlist.mobileicon.tooltip}", k);
                        k.addChild(k);
                        k.x = 0;
                        k.y = 2;
                    }
                    else
                    {
                        if (!_local9.visible)
                        {
                            _local9.visible = true;
                        };
                    };
                };
            };
            this._-3LW(k, _arg2);
            k.findChildByName("user_info_region").visible = true;
            k.findChildByName("user_info_region").id = _arg2.id;
            _-174._-2C5(false, k);
        }
        private function _-0os(_arg1:String, _arg2:int):IIconWindow
        {
            var k:IIconWindow = (this._-Ie.windowManager.createWindow(_arg1, "", WindowType._-047, _arg2, WindowParam._-Cp, new Rectangle(0, 0, 20, 20)) as IIconWindow);
            return (k);
        }
        private function _-0Gj(_arg1:String, _arg2:String, _arg3:IIconWindow):IRegionWindow
        {
            var k:IRegionWindow = (this._-Ie.windowManager.createWindow(_arg1, "", WindowType._-4Y4, 0, (WindowParam._-Cp | WindowParam._-55Y), new Rectangle(0, 0, 20, 20)) as IRegionWindow);
            k.addChild(_arg3);
            k._-2QR = _arg2;
            k._-1e = 200;
            k.mouseThreshold = 0;
            return (k);
        }
        private function _-0KE(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:int, _arg5:int):void
        {
            var k:_-2aK;
            var k:IWindow;
            this._-Ie.refreshButton(_arg1, _arg2, _arg3, this._-3TU, _arg4);
            if (_arg3)
            {
                k = _-2aK(_arg1.findChildByName("caption"));
                k = _arg1.findChildByName(_arg2);
                k.x = (k.textWidth + _arg5);
            };
        }
        private function _-3LW(_arg1:IWindowContainer, _arg2:_-1cK):void
        {
            var k:BitmapData;
            if (!_arg1)
            {
                ErrorReportStorage._-0QQ("FriendsView", "refreshFigure: e is null!");
            };
            if (!_arg2)
            {
                ErrorReportStorage._-0QQ("FriendsView", "refreshFigure: f is null!");
            };
            var k:IBitmapWrapperWindow = (_arg1.getChildByName(HabboFriendList._-14G) as IBitmapWrapperWindow);
            if (!k)
            {
                ErrorReportStorage._-0QQ("FriendsView", "refreshFigure: child is null!");
            };
            if (!this._-Ie)
            {
                ErrorReportStorage._-0QQ("FriendsView", "refreshFigure: _friendList is null!");
            };
            if ((((_arg2.figure == null)) || ((_arg2.figure == ""))))
            {
                k.visible = false;
            }
            else
            {
                if (_arg2.face == null)
                {
                    _arg2.face = this._-Ie.getAvatarFaceBitmap(_arg2.figure);
                };
                if (k.bitmap == null)
                {
                    k.bitmap = new BitmapData(k.width, k.height);
                };
                if (k.tags[0] != _arg2.figure)
                {
                    k.tags.splice(0, k.tags.length);
                    k.tags.push(_arg2.figure);
                    k.bitmap.fillRect(k.bitmap.rect, 0);
                    k = _arg2.face;
                    if (k)
                    {
                        k.bitmap.copyPixels(k, k.rect, new Point(0, 0), null, null, true);
                    };
                }
                else
                {
                    _-Nb.log(("Figure unchanged: " + k.tags[0]));
                };
                k.visible = true;
            };
        }
        private function getBgColor(_arg1:Boolean):uint
        {
            return (this._-Ie._-21x._-3vg(_-1up._-me, _arg1));
        }
        private function _-3fO():void
        {
            var k:Array = this._-Ie.categories._-069();
            this._-4PE(this._-ca, this._-95(k));
            this._-4PE(this._-4Cc, this._-36Z(k));
            this._-4PE(this._-2Iw, this._-1BE(k));
            this._-4PE(this._-3U6, this._-3R(k));
        }
        private function _-4PE(_arg1:IContainerButtonWindow, _arg2:Boolean):void
        {
            if (_arg2)
            {
                _arg1.enable();
            }
            else
            {
                _arg1.disable();
            };
        }
        private function _-95(_arg1:Array):Boolean
        {
            return (((this._-Ie._-4Y7()) || ((_arg1.length == 1))));
        }
        private function _-36Z(_arg1:Array):Boolean
        {
            return ((_arg1.length == 1));
        }
        private function _-1BE(_arg1:Array):Boolean
        {
            var k:_-1cK;
            if (_arg1.length < 1)
            {
                return (false);
            };
            for each (k in _arg1)
            {
                if (k.online)
                {
                    return (true);
                };
            };
            return (true);
        }
        private function _-3R(_arg1:Array):Boolean
        {
            return ((_arg1.length > 0));
        }
        private function _-3TU(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log(((("Category clicked: " + _arg2.name) + ", ") + _arg2.tags[0]));
            if (_arg2.tags.length == 0)
            {
                k = _arg2.parent;
            };
            _-Nb.log(((("Category id: " + _arg2.name) + ", ") + _arg2.tags[0]));
            var k:int = _arg2.tags[0];
            _-Nb.log(("Cat id: " + k));
            var k:_-2AF = this._-Ie.categories._-0hI(k);
            k._-41r(!(k.open));
            this._-I8();
            this._-Ie.view.refresh("Cat open/closed");
        }
        private function _-oK(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1cK;
            if (_arg2 == null)
            {
                return;
            };
            if (_arg2.id == 0)
            {
                k = _arg2.parent;
                if (k == null)
                {
                    return;
                };
            };
            if ((((_arg1.type == WindowMouseEvent._-90)) || ((_arg1.type == WindowMouseEvent._-4B7))))
            {
                k = this._-Ie.categories._-2gu(_arg2.id);
                k.selected = !(k.selected);
                this._-3fO();
                this._-I8();
                if ((((_arg1.type == WindowMouseEvent._-4B7)) && (k.online)))
                {
                    this._-Ie.messenger.startConversation(k.id);
                };
            };
        }
        private function _-2oS(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.im}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log(((("chat clicked: " + _arg2.name) + ", ") + _arg2.id));
            this._-Ie.messenger.startConversation(_arg2.id);
        }
        private function _-cR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.follow}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-Ie.send(new _-1Cd(_arg2.id));
            this._-Ie.send(new _-2ka("Navigation", "Friend List", "go.friendlist"));
        }
        private function _-3y(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${infostand.profile.link.tooltip}");
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                _-174._-2C5(true, IWindowContainer(_arg2));
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    _-174._-2C5(false, IWindowContainer(_arg2));
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-90)
                    {
                        this._-Ie.trackGoogle("extendedProfile", "friendList_friendsView");
                        this._-Ie.send(new _-RA(_arg2.parent.id));
                    };
                };
            };
        }
        private function _-X0(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.compose}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:Array = this._-Ie.categories._-069();
            if (k.length == 0)
            {
                _-Nb.log("No friend found when minimail clicked");
                if (this._-Ie._-4Y7())
                {
                    _-11j._-25R("minimail", "#mail/inbox/");
                };
                return;
            };
            var k:Dictionary = new Dictionary();
            var k:Array = new Array();
            var k:int;
            while ((((k < k.length)) && ((k < 50))))
            {
                k.push(k[k].id);
                k++;
            };
            k["recipientid"] = k.join(",");
            k["random"] = ("" + Math.round((Math.random() * 100000000)));
            var k:WindowMouseEvent = (_arg1 as WindowMouseEvent);
            if (this._-Ie._-4Y7())
            {
                _-11j._-25R("minimail", (((("#mail/compose/" + k["recipientid"]) + "/") + k["random"]) + "/"));
            }
            else
            {
                this._-Ie._-4tw("link.format.mail.compose", k, k.stageX, k.stageY);
            };
        }
        private function _-zR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.home}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:_-1cK = this._-Ie.categories._-106();
            if (k == null)
            {
                _-Nb.log("No friend found when home clicked");
                return;
            };
            var k:Dictionary = new Dictionary();
            k["ID"] = ("" + k.id);
            var k:WindowMouseEvent = (_arg1 as WindowMouseEvent);
            this._-Ie._-4tw("link.format.userpage", k, k.stageX, k.stageY);
        }
        private function _-2J6(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.invite}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            new _-1jR(this._-Ie).show();
        }
        private function _-1aK(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.remove}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            new _-0U1(this._-Ie).show();
        }
        private function _-H9(_arg1:_-2AF, _arg2:Boolean):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.view.findChildByName("pager"));
            if ((((_arg1._-0z6() < 2)) || (!(_arg1.open))))
            {
                _-Nb.log(((("PAGER NOT VISIBLE: " + _arg1.open) + ", ") + _arg1._-0z6()));
                k.visible = false;
                return;
            };
            k.visible = true;
            _-3UA._-LK(k);
            var k:int;
            while (k < _arg1._-0z6())
            {
                this._-0iP(k, k, _arg1._-0WS, _arg2);
                k++;
            };
            _-3UA._-42(k, k.width, 15);
            k.height = _-3UA._-5DG(k);
        }
        private function _-0iP(_arg1:IWindowContainer, _arg2:int, _arg3:int, _arg4:Boolean):void
        {
            var k:String = ("page." + _arg2);
            var k:ITextWindow = ITextWindow(_arg1.getChildByName(k));
            if (k == null)
            {
                k = ITextWindow(this._-Ie.getXmlWindow("pagelink"));
                k.name = k;
                _arg1.addChild(k);
            };
            k.underline = !((_arg2 == _arg3));
            k.text = ((("" + ((_arg2 * _-2AF._-350) + 1)) + "-") + ("" + ((_arg2 + 1) * _-2AF._-350)));
            k.id = _arg2;
            k.procedure = this._-0v0;
            k.width = (k.textWidth + 5);
            k.color = this._-Ie._-21x._-3vg(_-1up._-me, _arg4);
            k.visible = true;
        }
        private function _-0v0(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:ITextWindow = ITextWindow(_arg2);
            var k:int = k.parent.parent.tags[0];
            var k:int = k.id;
            _-Nb.log(((("Page link clicked: " + k) + ", ") + k));
            var k:_-2AF = this._-Ie.categories._-0hI(k);
            k._-0WS = k;
            this._-I8();
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b.HabboFriendList

package _-35b
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-2W2._-4L8;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-4Kb._-3nt;
    import _-1Jd._-51K;
    import _-2gz._-2UE;
    import _-Qj.FriendListTabs;
    import _-Qj.FriendCategories;
    import _-Qj._-0zr;
    import _-Qj.AvatarSearchResults;
    import _-3vb._-3b;
    import _-om._-3MJ;
    import flash.utils.Timer;
    import _-Qj._-33g;
    import _-Qj._-48y;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboTracking;
    import _-1B-._-5CE;
    import _-295._-39L;
    import flash.events.TimerEvent;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboMessenger;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboNotifications;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDSessionDataManager;
    import _-4Aj._-1oF;
    import flash.utils.Dictionary;
    import _-2ly._-11j;
    import _-Qj._-1cK;
    import _-3XR._-0st;
    import _-02T._-AR;
    import _-Qj._-1up;
    import flash.display.BitmapData;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1HK._-4Pw;
    import _-1HK._-GF;
    import _-2JC._-4yr;
    import _-3XR._-0Kg;
    import _-4Aj._-0tL;
    import _-hT._-128;
    import _-2JC._-1vn;
    import _-2JC._-4mo;
    import _-Qj._-2AF;
    import _-1Wu._-ks;
    import _-Qj._-re;
    import _-Qj._-4Xc;
    import flash.events.Event;
    import _-2JC._-0IX;
    import _-2JC._-47;
    import _-2JC._-Fg;
    import _-2JC._-4q9;
    import _-2JC._-2T1;
    import _-2JC._-G6;
    import _-2JC._-3Ed;
    import _-2JC._-1Ph;
    import _-1HK._-2Xf;
    import _-3XR._-4-A;
    import _-3XR._-1mV;
    import _-2JC._-4ni;
    import _-1Wu._-4lY;
    import _-Qj._-6a;
    import _-1Wu._-h1;
    import _-2JC._-42w;
    import _-1Wu._-3tD;
    import _-1Wu._-2fv;
    import _-1Wu._-4fJ;
    import _-1Wu._-SZ;
    import _-1Wu._-3ZB;
    import _-Ew.IWindowContainer;
    import _-295.BitmapDataAsset;
    import _-1Jd._-1ij;
    import flash.geom.Point;
    import _-4Kb.*;
    import _-2JC.*;
    import _-1Wu.*;
    import _-Qj.*;
    import _-3XR.*;

    public class HabboFriendList extends _-Px implements _-a8, _-3QA 
    {

        public static const _-14G:String = "face";

        private var _-U-:_-3Ts;
        private var _-0ud:_-4BJ;
        private var _-4Qe:_-4L8;
        private var _-3fD:_-4uR;
        private var _-cU:_-0hg;
        private var _-It:_-3nt;
        private var _-8M:_-51K;
        private var _tracking:_-2UE;
        private var _-0KI:_-1i8;
        private var _-BY:FriendListTabs;
        private var _-Ke:_-00h;
        private var _-4o8:_-54;
        private var _-hg:int;
        var _-2Db:FriendCategories;
        private var _-2ue:_-0zr;
        private var _-3pt:AvatarSearchResults;
        private var _-0a7:_-3b;
        private var _-49A:_-3MJ;
        private var _-0Pj:Timer;

        public function HabboFriendList(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            this._-0KI = new _-1i8();
            super(_arg1, _arg2, _arg3);
            this._-2Db = new FriendCategories(new _-33g(this));
            this._-3pt = new AvatarSearchResults(new _-48y(this));
            queueInterface(new IIDHabboCommunicationManager(), this._-0tq);
            queueInterface(new IIDHabboTracking(), this._-3wF);
        }
        override public function dispose():void
        {
            if (this._-0Pj)
            {
                this._-0Pj.stop();
                this._-0Pj.removeEventListener(TimerEvent.TIMER, this._-pA);
                this._-0Pj = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-4Qe)
            {
                this._-4Qe.release(new IIDHabboMessenger());
                this._-4Qe = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-It)
            {
                this._-It.release(new IIDAvatarRenderManager());
                this._-It = null;
            };
            if (this._-49A)
            {
                this._-49A.release(new IIDHabboNotifications());
                this._-49A = null;
            };
            if (this._-0a7)
            {
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
            if (this._tracking)
            {
                this._tracking.release(new IIDHabboTracking());
                this._tracking = null;
            };
            if (this._-8M)
            {
                this._-8M.release(new IIDSessionDataManager());
                this._-8M = null;
            };
            super.dispose();
        }
        public function send(_arg1:_-1oF):void
        {
            this._-0ud._-4gR(null).send(_arg1);
        }
        public function trackGoogle(_arg1:String, _arg2:String, _arg3:int=-1):void
        {
            if (this._tracking)
            {
                this._tracking.trackGoogle(_arg1, _arg2, _arg3);
            };
        }
        public function _-4tw(_arg1:String, _arg2:Dictionary, _arg3:int, _arg4:int):void
        {
            var linkAlias:String = _arg1;
            var params:Dictionary = _arg2;
            var x:int = _arg3;
            var y:int = _arg4;
            var url:String = this.getVariable(linkAlias, params);
            var webWindowName:String = "habboMain";
            try
            {
                _-11j.navigateToURL(url, webWindowName);
            }
            catch(e:Error)
            {
                _-Nb.log(("GOT ERROR: " + e));
            };
            if (this._-4o8 == null)
            {
                this._-4o8 = new _-54(this);
            };
            this._-4o8.show(x, y);
        }
        public function getText(_arg1:String):String
        {
            return (this._-cU.getKey(_arg1));
        }
        public function registerParameter(_arg1:String, _arg2:String, _arg3:String):void
        {
            this._-cU.registerParameter(_arg1, _arg2, _arg3);
        }
        public function _-EI():void
        {
            this.registerParameter("friendlist.listfull.text", "mylimit", ("" + this.friendRequests.limit));
            this.registerParameter("friendlist.listfull.text", "clublimit", ("" + this.friendRequests._-00U));
            this.registerParameter("friendlist.listfull.text", "viplimit", ("" + this.friendRequests._-3fl));
            this.simpleAlert("${friendlist.listfull.title}", "${friendlist.listfull.text}");
        }
        public function _-4F0(_arg1:int):_-4A9
        {
            if (this._-Ke == null)
            {
                _-Nb.log("Cannot process getFriend. Friendlist not initialized.");
                return (null);
            };
            var k:_-1cK = this._-2Db._-2gu(_arg1);
            return (k);
        }
        public function _-4QN(_arg1:int):Boolean
        {
            if (this._-Ke == null)
            {
                _-Nb.log("Cannot process canBeAskedForAFriend. Friendlist not initialized.");
                return (false);
            };
            return ((((((this._-4F0(_arg1) == null)) && (!(this._-xF._-0CB(_arg1))))) && ((this.categories._-0ux(false) < this.friendRequests.limit))));
        }
        public function _-7a(_arg1:int, _arg2:String):Boolean
        {
            if (this._-Ke == null)
            {
                _-Nb.log("Cannot ask for friend. Friendlist not initialized.");
                return (false);
            };
            if (!this._-4QN(_arg1))
            {
                return (false);
            };
            this.send(new _-0st(_arg2));
            this._-xF._-1cM(_arg1);
            this.send(new _-AR());
            return (true);
        }
        public function openFriendList():void
        {
            this._-01S(_-1up._-me);
        }
        public function _-1nl():void
        {
            this._-01S(_-1up._-1sw);
        }
        public function _-0qz():void
        {
            this._-01S(_-1up._-1SN);
        }
        public function close():void
        {
            if (this._-Ke)
            {
                this._-Ke.close();
            };
        }
        public function isOpen():Boolean
        {
            if (this._-Ke)
            {
                return (this._-Ke.isOpen());
            };
            return (false);
        }
        private function _-01S(_arg1:int):void
        {
            if (this._-Ke == null)
            {
                _-Nb.log("Cannot open friendlist. Friendlist not initialized.");
                return;
            };
            this._-Ke.openFriendList();
            var k:_-1up = this.tabs._-307(_arg1);
            if (k != this.tabs._-1eL())
            {
                this.tabs._-py(k);
                this.view.refresh("openFriendList");
            };
            this._-Ke.mainWindow.activate();
        }
        public function _-0ux(_arg1:Boolean, _arg2:Boolean):int
        {
            if (this._-Ke == null)
            {
                _-Nb.log("Cannot get friend count. Friendlist not initialized.");
                return (0);
            };
            return (this._-2Db._-0ux(_arg1, _arg2));
        }
        public function _-3zS(_arg1:String, _arg2:String, _arg3:Function, _arg4:int=0, _arg5:int=0, _arg6:int=0):IBitmapWrapperWindow
        {
            var k:BitmapData = this._-1JQ(_arg2);
            var k:IBitmapWrapperWindow = (this._-U-.createWindow(_arg1, "", _-4Pi._-3BF, _-29z.NULL, (_-3hb._-0g6 | _-3hb._-2rR), new Rectangle(_arg4, _arg5, k.width, k.height), _arg3, _arg6) as IBitmapWrapperWindow);
            k.bitmap = k;
            return (k);
        }
        public function getXmlWindow(_arg1:String):IWindow
        {
            var k:_-2kE = assets.getAssetByName((_arg1 + "_xml"));
            var k:_-243 = _-243(k);
            return (this._-U-.buildFromXML(XML(k.content)));
        }
        public function _-ql():Boolean
        {
            return (this._-3fD.getBoolean("friend_list.persistent_message_status.enabled", false));
        }
        public function getAvatarFaceBitmap(_arg1:String):BitmapData
        {
            var k:_-40f = this._-It.createAvatarImage(_arg1, _-1uH._-Pq, null, this);
            if (!k)
            {
                return (null);
            };
            var k:BitmapData = k._-1hx(_-24J._-0GH);
            k.dispose();
            return (k);
        }
        public function _-4Y7():Boolean
        {
            var k:String = this._-3fD.getKey("client.minimail.embed.enabled");
            return ((k == "true"));
        }
        private function getVariable(_arg1:String, _arg2:Dictionary):String
        {
            return (this._-3fD.getKey(_arg1, _arg1, _arg2));
        }
        private function _-0tq(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            _-Nb.log(("Friend list: communication available " + [_arg1, _arg2]));
            this._-0ud = (_arg2 as _-4BJ);
            queueInterface(new IIDHabboMessenger(), this._-2ZV);
        }
        private function _-3wF(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._tracking = (_arg2 as _-2UE);
        }
        private function _-2ZV(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            _-Nb.log(("Friend list: messenger available " + [_arg1, _arg2]));
            this._-4Qe = (_arg2 as _-4L8);
            queueInterface(new IIDAvatarRenderManager(), this._-1dv);
        }
        private function _-1dv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            _-Nb.log(("Messenger: avatar renderer " + [_arg1, _arg2]));
            this._-It = (_arg2 as _-3nt);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
        }
        private function _-1d3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            _-Nb.log(("Friend list: configuration " + [_arg1, _arg2]));
            this._-3fD = (_arg2 as _-4uR);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            _-Nb.log(("Friend list: localization " + [_arg1, _arg2]));
            this._-cU = (_arg2 as _-0hg);
            queueInterface(new IIDHabboToolbar(), this._-WY);
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = (_-3b(_arg2) as _-3b);
            queueInterface(new IIDHabboNotifications(), this._-58Y);
        }
        private function _-58Y(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-49A = (_arg2 as _-3MJ);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            _-Nb.log(("Friend list: window manager " + [_arg1, _arg2]));
            this._-U- = (_arg2 as _-3Ts);
            this._-0ud.addHabboConnectionMessageEvent(new _-4Pw(this._-4Ee));
            this._-0ud.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            queueInterface(new IIDSessionDataManager(), this._-6P);
        }
        private function _-6P(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-8M = (_arg2 as _-51K);
        }
        private function _-4Ee(_arg1:_-0tL):void
        {
            this._-0ud.addHabboConnectionMessageEvent(new _-4yr(this._-3Ms));
            this.send(new _-0Kg());
        }
        private function _-2y3(_arg1:_-0tL):void
        {
            var k:_-128 = (_arg1 as _-GF)._-3-5();
            this._-hg = int(k.id);
        }
        private function _-3Ms(_arg1:_-0tL):void
        {
            var k:_-1vn;
            var k:_-4mo;
            var k:_-2AF;
            this._-Ke = new _-00h(this);
            var k:_-ks = (_arg1 as _-4yr)._-3-5();
            this._-2ue = new _-0zr(new _-re(this), k._-4PW, k._-2Kw, k._-2i2);
            for each (k in k.categories)
            {
                this._-2Db._-4fi(new _-2AF(k.id, k.name));
            };
            this._-2Db._-4fi(new _-2AF(_-2AF._-UA, this.getText("friendlist.friends")));
            this._-2Db._-4fi(new _-2AF(_-2AF._-1uy, this.getText("friendlist.friends.offlinecaption")));
            for each (k in this._-1kp(k.friends))
            {
                this._-2Db.addFriend(new _-1cK(k));
            };
            this._-BY = new FriendListTabs(new _-4Xc(this));
            if (!this._-0Pj)
            {
                this._-0Pj = new Timer(120000);
                this._-0Pj.addEventListener(TimerEvent.TIMER, this._-pA);
                this._-0Pj.start();
            };
            this._-1T-();
            this._-1Z2();
            if (this._-2Db._-0ux(true, false) == 0)
            {
                k = this._-2Db._-0hI(_-2AF._-1uy);
                if (k)
                {
                    k._-41r(true);
                };
            };
            _-Nb.log("FRIENDLIST INITIALIZED SUCCESSFULLY");
        }
        public function _-57r(_arg1:String):void
        {
            events.dispatchEvent(new Event(_arg1));
        }
        private function _-1kp(_arg1:Array):Array
        {
            var k:_-4mo;
            var k:Array;
            var k:String;
            var k:Array = new Array();
            var k:Dictionary = new Dictionary();
            for each (k in _arg1)
            {
                k.push(k.name.toLowerCase());
                k[k.name.toLowerCase()] = k;
            };
            k.sort();
            k = new Array();
            for each (k in k)
            {
                k.push(k[k]);
            };
            return (k);
        }
        private function _-1Z2():void
        {
            this._-0ud.addHabboConnectionMessageEvent(new _-0IX(this._-47t));
            this._-0ud.addHabboConnectionMessageEvent(new _-47(this._-4so));
            this._-0ud.addHabboConnectionMessageEvent(new _-Fg(this._-Ei));
            this._-0ud.addHabboConnectionMessageEvent(new _-4q9(this._-3IY));
            this._-0ud.addHabboConnectionMessageEvent(new _-2T1(this._-2d8));
            this._-0ud.addHabboConnectionMessageEvent(new _-G6(this._-3hd));
            this._-0ud.addHabboConnectionMessageEvent(new _-3Ed(this._-1XG));
            this._-0ud.addHabboConnectionMessageEvent(new _-1Ph(this._-HE));
            this._-0ud.addHabboConnectionMessageEvent(new _-2Xf(this._-4tb));
        }
        private function _-1T-():void
        {
            _-Nb.log("Sending friend requests request");
            this.send(new _-4-A());
        }
        protected function _-pA(_arg1:Event):void
        {
            _-Nb.log("Sending update request");
            this.send(new _-1mV());
        }
        private function _-Ei(_arg1:_-0tL):void
        {
            var k:_-4ni;
            var k:_-4lY = (_arg1 as _-Fg)._-3-5();
            this._-2ue._-4aO(false);
            for each (k in k._-2nf)
            {
                this._-2ue._-ED(new _-6a(k));
            };
            if (k._-2nf.length > 0)
            {
                this._-BY._-307(_-1up._-1sw)._-17V(true);
            };
            this._-Ke.refresh("friendRequests");
        }
        private function _-3IY(_arg1:_-0tL):void
        {
            _-Nb.log("Received new friend request");
            var k:_-h1 = (_arg1 as _-4q9)._-3-5();
            var k:_-6a = new _-6a(k.req);
            this._-2ue._-0m9(k);
            var k:_-1up = this._-BY._-307(_-1up._-1sw);
            k._-17V(true);
            this._-Ke.refresh("newFriendRequest");
        }
        private function _-2d8(_arg1:_-0tL):void
        {
            var k:_-42w;
            var k:_-3tD = (_arg1 as _-2T1)._-3-5();
            for each (k in k._-2zJ)
            {
                this.friendRequests._-0ns(k._-2ej);
                this._-po(k.errorCode);
            };
        }
        private function _-1XG(_arg1:_-0tL):void
        {
            var k:_-2fv = (_arg1 as _-3Ed)._-3-5();
            this._-3pt._-4Td(k.friends, k._-BG);
            this._-Ke.refresh("search");
        }
        private function _-3hd(_arg1:_-0tL):void
        {
            var k:_-4fJ = (_arg1 as _-G6)._-3-5();
            this._-po(k.errorCode, k._-fG);
        }
        private function _-po(_arg1:int, _arg2:int=0):void
        {
            var k:String = "";
            switch (_arg1)
            {
                case 1:
                    k = "${friendlist.error.friendlistownlimit}";
                    break;
                case 2:
                    k = "${friendlist.error.friendlistlimitofrequester}";
                    break;
                case 3:
                    k = "${friendlist.error.friend_requests_disabled}";
                    break;
                case 4:
                    k = "${friendlist.error.requestnotfound}";
                    break;
                default:
                    k = ((("Received messenger error: msg: " + _arg2) + ", errorCode: ") + _arg1);
            };
            this.simpleAlert("${friendlist.alert.title}", k);
        }
        private function _-HE(_arg1:_-0tL):void
        {
            var k:_-SZ = (_arg1 as _-1Ph)._-3-5();
            var k:String = ((("Received room invite error: errorCode: " + k.errorCode) + ", recipients: ") + _-3UA.arrayToString(k._-9s));
            this.simpleAlert("${friendlist.alert.title}", k);
        }
        private function _-4so(_arg1:_-0tL):void
        {
            this._-2Db._-4so(_arg1);
            this._-Ke.refresh("friendListUpdate");
        }
        private function _-47t(_arg1:_-0tL):void
        {
            var k:_-3ZB = (_arg1 as _-0IX)._-3-5();
            var k:String = this._-42H(k.errorCode);
            _-Nb.log(((("Received follow friend failed: " + k.errorCode) + ", ") + k));
            this.simpleAlert("${friendlist.alert.title}", k);
        }
        public function simpleAlert(_arg1:String, _arg2:String):void
        {
            if (this.messenger._-0GT)
            {
                this.windowManager.simpleAlert(_arg1, null, _arg2);
            }
            else
            {
                new SimpleAlertView(this, _arg1, _arg2).show();
            };
        }
        private function _-42H(_arg1:int):String
        {
            if (_arg1 == 0)
            {
                return ("${friendlist.followerror.notfriend}");
            };
            if (_arg1 == 1)
            {
                return ("${friendlist.followerror.offline}");
            };
            if (_arg1 == 2)
            {
                return ("${friendlist.followerror.hotelview}");
            };
            if (_arg1 == 3)
            {
                return ("${friendlist.followerror.prevented}");
            };
            return (("Unknown follow friend error " + _arg1));
        }
        public function _-53z(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:String):void
        {
            var k:IWindow = _arg1.getChildByName(_arg2);
            if (!_arg3)
            {
                k.visible = false;
            }
            else
            {
                k.visible = true;
                k.caption = _arg4;
            };
        }
        public function refreshButton(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:Function, _arg5:int):void
        {
            var k:IWindow = (_arg1.findChildByName(_arg2) as IWindow);
            if (!_arg3)
            {
                k.visible = false;
            }
            else
            {
                this._-2rU(k, _arg2, _arg4, _arg5);
                k.visible = true;
            };
        }
        public function _-1Rq(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:Function, _arg5:int):void
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            if (!_arg3)
            {
                k.visible = false;
            }
            else
            {
                k.id = _arg5;
                k.procedure = _arg4;
                k.visible = true;
            };
        }
        private function _-2rU(_arg1:IWindow, _arg2:String, _arg3:Function, _arg4:int):void
        {
            var k:IBitmapWrapperWindow;
            _arg1.id = _arg4;
            if ((_arg1 is IBitmapWrapperWindow))
            {
                k = (_arg1 as IBitmapWrapperWindow);
            }
            else
            {
                k = (IWindowContainer(_arg1).findChildByTag("bitmap") as IBitmapWrapperWindow);
            };
            if (k.bitmap != null)
            {
                return;
            };
            k.bitmap = this._-1JQ(_arg2);
            k.width = k.bitmap.width;
            k.height = k.bitmap.height;
            _arg1.procedure = _arg3;
        }
        public function _-1JQ(_arg1:String):BitmapData
        {
            var k:BitmapData;
            var k:_-2kE = assets.getAssetByName((_arg1 + "_png"));
            var k:BitmapDataAsset = (k as BitmapDataAsset);
            _-Nb.log(("GETTING ASSET: " + _arg1));
            var k:BitmapData = (k.content as BitmapData);
            _-Nb.log(((("GOT ASSET: " + k) + ", ") + k));
            k = new BitmapData(k.width, k.height, true, 0);
            k.draw(k);
            return (k);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get categories():FriendCategories
        {
            return (this._-2Db);
        }
        public function get friendRequests():_-0zr
        {
            return (this._-2ue);
        }
        public function get _-xF():AvatarSearchResults
        {
            return (this._-3pt);
        }
        public function get view():_-00h
        {
            return (this._-Ke);
        }
        public function get tabs():FriendListTabs
        {
            return (this._-BY);
        }
        public function get _-21x():_-1i8
        {
            return (this._-0KI);
        }
        public function get messenger():_-4L8
        {
            return (this._-4Qe);
        }
        public function get _-2hz():int
        {
            return (this._-hg);
        }
        public function get notifications():_-3MJ
        {
            return (this._-49A);
        }
        public function get tracking():_-2UE
        {
            return (this._tracking);
        }
        public function get mainWindow():IWindowContainer
        {
            if (this._-Ke == null)
            {
                return (null);
            };
            return (this._-Ke.mainWindow);
        }
        public function _-3kQ():Array
        {
            if (this._-2Db == null)
            {
                return ([]);
            };
            return (this._-2Db._-3kQ());
        }
        public function acceptFriendRequest(_arg1:int):void
        {
            if (!this._-BY)
            {
                return;
            };
            var k:_-1up = this._-BY._-307(_-1up._-1sw);
            if (!k)
            {
                return;
            };
            var k:_-w9 = (k._-4rw as _-w9);
            if (!k)
            {
                return;
            };
            k._-4eX(_arg1);
        }
        public function acceptAllFriendRequests():void
        {
            var k:_-1up = this._-BY._-307(_-1up._-1sw);
            if (!k)
            {
                return;
            };
            var k:_-w9 = (k._-4rw as _-w9);
            if (!k)
            {
                return;
            };
            k._-1UW();
        }
        public function declineFriendRequest(_arg1:int):void
        {
            var k:_-1up = this._-BY._-307(_-1up._-1sw);
            if (!k)
            {
                return;
            };
            var k:_-w9 = (k._-4rw as _-w9);
            if (!k)
            {
                return;
            };
            k._-4bw(_arg1);
        }
        public function declineAllFriendRequests():void
        {
            var k:_-1up = this._-BY._-307(_-1up._-1sw);
            if (!k)
            {
                return;
            };
            var k:_-w9 = (k._-4rw as _-w9);
            if (!k)
            {
                return;
            };
            k._-1bl();
        }
        private function _-4tb(_arg1:_-0tL):void
        {
            if (((!(this._-8M)) || (!(this._-2ue))))
            {
                return;
            };
            var k:int;
            if (this._-8M.clubLevel >= _-1ij._-1pk)
            {
                k = this._-2ue._-3fl;
            }
            else
            {
                if (this._-8M.clubLevel >= _-1ij._-12G)
                {
                    k = this._-2ue._-00U;
                };
            };
            if (k > this._-2ue.limit)
            {
                this._-2ue.limit = k;
            };
        }
        public function _-0-V(_arg1:String):void
        {
            var k:_-1cK;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:BitmapData;
            if (((disposed) || ((this._-2Db == null))))
            {
                return;
            };
            var k:Dictionary = this._-2Db._-2pg();
            if (k == null)
            {
                return;
            };
            for each (k in k)
            {
                if (((((!((k == null))) && (!(k.disposed)))) && ((k.figure == _arg1))))
                {
                    k.face = this.getAvatarFaceBitmap(k.figure);
                    if (k.face != null)
                    {
                        k = k.view;
                        if (k != null)
                        {
                            k = (k.getChildByName(_-14G) as IBitmapWrapperWindow);
                            if (((!((k == null))) && (!(k.disposed))))
                            {
                                k = k.bitmap;
                                if (k != null)
                                {
                                    k.fillRect(k.rect, 0);
                                    k.copyPixels(k.face, k.face.rect, new Point(0, 0), null, null, true);
                                };
                                k.invalidate();
                            };
                        };
                    };
                };
            };
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b.SearchView

package _-35b
{
    import _-1ae.ITextFieldWindow;
    import _-1ae.IItemListWindow;
    import _-0Ie.WindowKeyboardEvent;
    import _-Ew.IWindowContainer;
    import _-2JC._-1zU;
    import _-Qj.AvatarSearchResults;
    import _-Qj._-1up;
    import _-2ly._-174;
    import _-1ae.IBitmapWrapperWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Pi._-RA;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import flash.utils.Dictionary;
    import _-2ly._-11j;
    import flash.ui.Keyboard;
    import _-3XR._-3C4;
    import _-0Ie.*;

    public class SearchView implements _-1sE, _-ZN 
    {

        private var _-Ie:HabboFriendList;
        private var _-uz:ITextFieldWindow;
        private var _-3EB:IItemListWindow;

        public function init(_arg1:HabboFriendList):void
        {
            this._-Ie = _arg1;
        }
        public function _-1BK():int
        {
            if (this._-Ie._-xF.friends == null)
            {
                return (0);
            };
            return ((this._-Ie._-xF.friends.length + this._-Ie._-xF._-BG.length));
        }
        public function _-3vY(_arg1:IItemListWindow):void
        {
            this._-3EB = _arg1;
        }
        public function _-2zA(_arg1:IWindowContainer):void
        {
            this._-uz = ITextFieldWindow(_arg1.findChildByName("search_str"));
            this._-uz.procedure = this._-4aR;
            this._-uz.addEventListener(WindowKeyboardEvent._-2CS, this._-0Kx);
            _arg1.findChildByName("search_but").procedure = this._-46z;
            this._-Ie.refreshButton(_arg1, "search", true, null, 0);
        }
        public function _-4vq(_arg1:int):void
        {
        }
        public function _-I8():void
        {
            var k:_-1zU;
            var k:_-1zU;
            var _local5:Boolean;
            this._-3EB.autoArrangeItems = false;
            var k:AvatarSearchResults = this._-Ie._-xF;
            var k:int;
            while (true)
            {
                if (k == 0)
                {
                    this._-wY(true, k, null, null, this._-3tH(), false, false, false, 0);
                }
                else
                {
                    if (k <= k.friends.length)
                    {
                        k = k.friends[(k - 1)];
                        this._-wY(true, k, k._-2ql, k._-lV, null, !(k._-0Mm), k._-0Mm, false, k._-2hz);
                    }
                    else
                    {
                        if (k == (k.friends.length + 1))
                        {
                            this._-wY(true, k, null, null, this._-0zA(), false, false, false, 0);
                        }
                        else
                        {
                            if (k <= ((k.friends.length + k._-BG.length) + 1))
                            {
                                k = k._-BG[((k - 2) - k.friends.length)];
                                this._-wY(true, k, k._-2ql, k._-lV, null, false, false, ((!((k._-2hz == this._-Ie._-2hz))) && (!(this._-Ie._-xF._-0CB(k._-2hz)))), k._-2hz);
                            }
                            else
                            {
                                _local5 = this._-wY(false, k, null, null, null, false, false, false, 0);
                                if (_local5)
                                {
                                    break;
                                };
                            };
                        };
                    };
                };
                k++;
            };
            this._-45h();
            this._-3EB.autoArrangeItems = true;
        }
        private function _-45h():void
        {
            var k:int;
            while (k < this._-3EB.numListItems)
            {
                this._-3EB.getListItemAt(k).color = this._-Ie._-21x._-3vg(_-1up._-1SN, ((k % 2) == 1));
                k++;
            };
        }
        public function _-2Tu(_arg1:String):void
        {
            this._-uz.text = _arg1;
        }
        private function _-3tH():String
        {
            if (this._-Ie._-xF.friends.length == 0)
            {
                return ("${friendlist.search.nofriendsfound}");
            };
            this._-Ie.registerParameter("friendlist.search.friendscaption", "cnt", ("" + this._-Ie._-xF.friends.length));
            return ("${friendlist.search.friendscaption}");
        }
        private function _-0zA():String
        {
            if (this._-Ie._-xF._-BG.length == 0)
            {
                return ("${friendlist.search.noothersfound}");
            };
            this._-Ie.registerParameter("friendlist.search.otherscaption", "cnt", ("" + this._-Ie._-xF._-BG.length));
            return ("${friendlist.search.otherscaption}");
        }
        private function _-wY(_arg1:Boolean, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:Boolean, _arg7:Boolean, _arg8:Boolean, _arg9:int):Boolean
        {
            var k:IWindowContainer = (this._-3EB.getListItemAt(_arg2) as IWindowContainer);
            if (k == null)
            {
                if (!_arg1)
                {
                    return (true);
                };
                k = IWindowContainer(this._-Ie.getXmlWindow("search_entry"));
                k.findChildByName("bg_region").procedure = this._-4-q;
                this._-3EB.addListItem(k);
            };
            if (_arg1)
            {
                k.height = 20;
                k.visible = true;
            }
            else
            {
                k.height = 0;
                k.visible = false;
            };
            k.id = _arg9;
            k.findChildByName("bg_region").id = _arg9;
            this._-3LW(k, _arg3);
            this._-Ie._-53z(k, "name", !((_arg4 == null)), _arg4);
            this._-Ie._-53z(k, "caption", !((_arg5 == null)), _arg5);
            this._-Ie.refreshButton(k, "minimail", _arg6, this._-X0, _arg9);
            this._-Ie.refreshButton(k, "start_chat", _arg7, this._-2oS, _arg9);
            this._-Ie.refreshButton(k, "ask_for_friend", _arg8, this._-3V4, _arg9);
            _-174._-2C5(false, k);
            k.findChildByName("user_info_region").visible = (_arg9 > 0);
            return (false);
        }
        private function _-3LW(_arg1:IWindowContainer, _arg2:String):void
        {
            var k:IBitmapWrapperWindow = (_arg1.getChildByName(HabboFriendList._-14G) as IBitmapWrapperWindow);
            if ((((_arg2 == null)) || ((_arg2 == ""))))
            {
                k.visible = false;
            }
            else
            {
                k.bitmap = this._-Ie.getAvatarFaceBitmap(_arg2);
                k.width = k.bitmap.width;
                k.height = k.bitmap.height;
                k.visible = true;
            };
        }
        private function _-4-q(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg2.id < 1)
            {
                return;
            };
            this._-Ie.view._-4zC(_arg1, "${infostand.profile.link.tooltip}");
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                _-174._-2C5(true, IWindowContainer(_arg2.parent));
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    _-174._-2C5(false, IWindowContainer(_arg2.parent));
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-90)
                    {
                        this._-Ie.trackGoogle("extendedProfile", "friendList_friendsSearch");
                        this._-Ie.send(new _-RA(_arg2.id));
                    };
                };
            };
        }
        private function _-46z(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.search}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log(("Search clicked: " + _arg2.name));
            this._-1XR();
        }
        private function _-3V4(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.addfriend}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            _-Nb.log(("Ask for friend clicked: " + _arg2.id));
            var k:_-1zU = this._-Ie._-xF._-3sT(_arg2.id);
            if (k == null)
            {
                _-Nb.log(("No search result found with id: " + _arg2.id));
                return;
            };
            _-Nb.log(("Search result found: " + k._-lV));
            var k:Boolean = this._-Ie._-7a(k._-2hz, k._-lV);
            if (!k)
            {
                this._-Ie._-EI();
            }
            else
            {
                this._-1gH(k._-lV);
                this._-wY(true, this._-3Xi(k._-2hz), k._-2ql, k._-lV, null, false, false, false, k._-2hz);
            };
        }
        private function _-3Xi(_arg1:int):int
        {
            var k:int;
            while (k < this._-3EB.numListItems)
            {
                if (this._-3EB.getListItemAt(k).id == _arg1)
                {
                    return (k);
                };
                k++;
            };
            return (-1);
        }
        private function _-1gH(_arg1:String):void
        {
            this._-Ie.registerParameter("friendlist.friendrequestsent.text", "user_name", _arg1);
            this._-Ie.simpleAlert("${friendlist.friendrequestsent.title}", "${friendlist.friendrequestsent.text}");
        }
        private function _-X0(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.mail}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:_-1zU = this._-Ie._-xF._-3sT(_arg2.id);
            if (k == null)
            {
                _-Nb.log(("No search result found with id: " + _arg2.id));
                return;
            };
            var k:Dictionary = new Dictionary();
            k["recipientid"] = ("" + k._-2hz);
            k["random"] = ("" + Math.round((Math.random() * 100000000)));
            var k:WindowMouseEvent = (_arg1 as WindowMouseEvent);
            if (this._-Ie._-4Y7())
            {
                _-11j._-25R("minimail", (((("#mail/compose/" + k["recipientid"]) + "/") + k["random"]) + "/"));
            }
            else
            {
                this._-Ie._-4tw("link.format.mail.compose", k, k.stageX, k.stageY);
            };
        }
        private function _-2oS(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.im}");
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:_-1zU = this._-Ie._-xF._-3sT(_arg2.id);
            if (k == null)
            {
                _-Nb.log(("No search result found with id: " + _arg2.id));
                return;
            };
            this._-Ie.messenger.startConversation(k._-2hz);
        }
        private function _-4aR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-Ie.view._-4zC(_arg1, "${friendlist.tip.searchstr}");
        }
        private function _-0Kx(_arg1:WindowKeyboardEvent):void
        {
            var k:Keyboard;
            var _local4:int;
            var _local5:String;
            var k:IWindow = IWindow(_arg1.target);
            _-Nb.log(((((("Test key event " + _arg1) + ", ") + _arg1.type) + " ") + k.name));
            if (_arg1.charCode == Keyboard.ENTER)
            {
                this._-1XR();
            }
            else
            {
                _local4 = 25;
                _local5 = this._-uz.text;
                if (_local5.length > _local4)
                {
                    this._-uz.text = _local5.substring(0, _local4);
                };
            };
        }
        private function _-1XR():void
        {
            var k:String = this._-uz.text;
            _-Nb.log(("Search avatar: " + k));
            if (k == "")
            {
                _-Nb.log("No text...");
                return;
            };
            this._-Ie.send(new _-3C4(k));
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35b.SimpleAlertView

package _-35b
{
    import _-1ae.ITextWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class SimpleAlertView extends AlertView 
    {

        private var _text:String;

        public function SimpleAlertView(_arg1:HabboFriendList, _arg2:String, _arg3:String)
        {
            super(_arg1, "simple_alert", _arg2);
            this._text = _arg3;
        }
        override function setupContent(_arg1:IWindowContainer):void
        {
            ITextWindow(_arg1.findChildByName("body_text")).text = this._text;
            _arg1.findChildByName("ok").procedure = this._-2TI;
        }
        private function _-2TI(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            dispose();
        }

    }
}//package _-35b

//------------------------------------------------------------
//_-35T._-1Ym

package _-35T
{
    public class _-1Ym 
    {

        private var _-0Nf:String;
        private var _-1Sj:Boolean = false;
        private var _-39r:String = "";

        public function get code():String
        {
            return (this._-0Nf);
        }
        public function set code(_arg1:String):void
        {
            this._-0Nf = _arg1;
        }
        public function get isAllowed():Boolean
        {
            return (this._-1Sj);
        }
        public function set isAllowed(_arg1:Boolean):void
        {
            this._-1Sj = _arg1;
        }
        public function get errorMessage():String
        {
            return (this._-39r);
        }
        public function set errorMessage(_arg1:String):void
        {
            this._-39r = _arg1;
        }

    }
}//package _-35T

//------------------------------------------------------------
//_-35T._-4gU

package _-35T
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4gU implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-35T

//------------------------------------------------------------
//_-35T.PerkAllowancesMessageParser

package _-35T
{
    import __AS3__.vec.Vector;
    import _-4Aj._-0s1;
    import __AS3__.vec.*;
    import _-4Aj.*;

    public class PerkAllowancesMessageParser implements _-58N 
    {

        private var _-0Gg:Vector.<_-1Ym>;

        public function flush():Boolean
        {
            this._-0Gg = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:_-1Ym;
            this._-0Gg = new Vector.<_-1Ym>();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new _-1Ym();
                k.code = _arg1.readString();
                k.isAllowed = _arg1.readBoolean();
                k.errorMessage = _arg1.readString();
                this._-0Gg.push(k);
                k++;
            };
            return (true);
        }
        public function _-4Li():Vector.<_-1Ym>
        {
            return (this._-0Gg);
        }
        public function isPerkAllowed(_arg1:String):Boolean
        {
            var k:_-1Ym = this._-2wd(_arg1);
            return (((!((k == null))) && (k.isAllowed)));
        }
        public function _-2wd(_arg1:String):_-1Ym
        {
            var k:_-1Ym;
            for each (k in this._-0Gg)
            {
                if (k.code == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }

    }
}//package _-35T

//------------------------------------------------------------
//_-36-._-4np

package _-36-
{
    import _-4rn.RoomObjectSpriteVisualization;
    import _-1qL._-2N8;
    import _-4rn._-59O;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-4rn._-H0;
    import _-0y0._-3q6;

    public class _-4np extends RoomObjectSpriteVisualization 
    {

        private static const _-5-h:String = "snowball_small_png";
        private static const _-4NF:String = "snowball_small_shadow_png";
        private static const _-1JU:int = 16;

        private var _-0qE:_-2N8;
        private var _-4fF:_-59O;

        override public function dispose():void
        {
            this._-4fF = null;
            super.dispose();
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            var k:BitmapDataAsset;
            this._-0qE = (_arg1 as _-2N8);
            _-2Dm(2);
            k = (this._-0qE.assets.getAssetByName(_-5-h) as BitmapDataAsset);
            _-2IM(0).asset = (k.content as BitmapData);
            k = (this._-0qE.assets.getAssetByName(_-4NF) as BitmapDataAsset);
            this._-4fF = _-2IM(1);
            this._-4fF.asset = (k.content as BitmapData);
            this._-4fF.alpha = 100;
            this._-4fF.relativeDepth = 1;
            return (true);
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            this._-4fF.offsetY = (object.getLocation().z * _-1JU);
            this._-4fF.alpha = Math.max(0, (100 - (this._-4fF.offsetY / 10)));
        }

    }
}//package _-36-

//------------------------------------------------------------
//_-36-.SnowSplashVisualization

package _-36-
{
    import _-4rn.RoomObjectSpriteVisualization;
    import _-1qL._-2N8;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-4rn._-H0;
    import _-0y0._-3q6;

    public class SnowSplashVisualization extends RoomObjectSpriteVisualization 
    {

        private static const _-0pf:Array = ["snowball_splash_1", "snowball_splash_2", "snowball_splash_3"];

        private var _-3To:int = 0;
        private var _-0qE:_-2N8;

        public function get _-lF():Boolean
        {
            return (!((this._-3To < _-0pf.length)));
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            var k:BitmapDataAsset;
            this._-0qE = (_arg1 as _-2N8);
            _-2Dm(1);
            k = (this._-0qE.assets.getAssetByName(_-0pf[this._-3To]) as BitmapDataAsset);
            _-2IM(0).asset = (k.content as BitmapData);
            return (true);
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            this._-3To++;
            _-2IM(0).asset = ((this._-lF) ? null : (this._-0qE.assets.getAssetByName(_-0pf[this._-3To]).content as BitmapData));
        }

    }
}//package _-36-

//------------------------------------------------------------
//_-36E.Game2AccountGameStatusMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2AccountGameStatusMessageParser implements _-58N 
    {

        private var _-1QD:int;
        private var _-3xY:int;
        private var _-3gR:int;

        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get _-58i():int
        {
            return (this._-3xY);
        }
        public function get _-5Ba():int
        {
            return (this._-3gR);
        }
        public function get _-0m0():Boolean
        {
            return ((this._-3xY == -1));
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            this._-3xY = _arg1._-2BW();
            this._-3gR = _arg1._-2BW();
            return (true);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2GameCancelledMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameCancelledMessageParser implements _-58N 
    {

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (false);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2GameCreatedMessageParser

package _-36E
{
    import _-1Fi._-2qg;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameCreatedMessageParser implements _-58N 
    {

        private var _-1Kd:_-2qg;

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Kd = new _-2qg(_arg1);
            return (true);
        }
        public function get _-1sm():_-2qg
        {
            return (this._-1Kd);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2GameDirectoryStatusMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameDirectoryStatusMessageParser implements _-58N 
    {

        public static const _-1j-:int = 0;
        public static const _-6E:int = 1;
        public static const _-1jn:int = 2;
        public static const _-o0:int = 3;

        private var _-8R:int;
        private var _-0bF:int;
        private var _-55r:int;
        private var _-3xY:int;

        public function get status():int
        {
            return (this._-8R);
        }
        public function get _-4MN():int
        {
            return (this._-0bF);
        }
        public function get _-2nY():int
        {
            return (this._-55r);
        }
        public function get _-58i():int
        {
            return (this._-3xY);
        }
        public function get _-0m0():Boolean
        {
            return ((this._-3xY == -1));
        }
        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-8R = _arg1._-2BW();
            this._-0bF = _arg1._-2BW();
            this._-55r = _arg1._-2BW();
            this._-3xY = _arg1._-2BW();
            return (true);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2GameLongDataMessageParser

package _-36E
{
    import _-1Fi._-2qg;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameLongDataMessageParser implements _-58N 
    {

        private var _-1Kd:_-2qg;

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Kd = new _-2qg(_arg1);
            return (true);
        }
        public function get _-1sm():_-2qg
        {
            return (this._-1Kd);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2GameNotFoundMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameNotFoundMessageParser implements _-58N 
    {

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (false);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2GameStartedMessageParser

package _-36E
{
    import _-1Fi._-2qg;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2GameStartedMessageParser implements _-58N 
    {

        private var _-2kv:_-2qg;

        public function get _-3LM():_-2qg
        {
            return (this._-2kv);
        }
        public function flush():Boolean
        {
            this._-2kv = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2kv = new _-2qg(_arg1);
            return (true);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2InArenaQueueMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2InArenaQueueMessageParser implements _-58N 
    {

        private var _-oi:int;

        public function get position():int
        {
            return (this._-oi);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-oi = _arg1._-2BW();
            return (true);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2JoiningGameFailedMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2JoiningGameFailedMessageParser implements _-58N 
    {

        public static const _-54n:int = 1;
        public static const _-1uU:int = 2;
        public static const _-55L:int = 3;
        public static const _-0Po:int = 4;
        public static const _-4DX:int = 5;
        public static const _-178:int = 6;
        public static const _-4Vs:int = 7;
        public static const _-3gZ:int = 8;

        private var _-3Dw:int;

        public function get reason():int
        {
            return (this._-3Dw);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            return (true);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2StartCounterMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2StartCounterMessageParser implements _-58N 
    {

        private var _-2hd:int;

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2hd = _arg1._-2BW();
            return (true);
        }
        public function get _-3jU():int
        {
            return (this._-2hd);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2StartingGameFailedMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2StartingGameFailedMessageParser implements _-58N 
    {

        public static const _-5-u:int = 1;
        public static const _-0eq:int = 2;

        private var _-3Dw:int;

        public function get reason():int
        {
            return (this._-3Dw);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            return (true);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2StopCounterMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2StopCounterMessageParser implements _-58N 
    {

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (false);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2UserBlockedMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2UserBlockedMessageParser implements _-58N 
    {

        private var _-4Cx:int;

        public function flush():Boolean
        {
            this._-4Cx = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4Cx = _arg1._-2BW();
            return (true);
        }
        public function get _-3s8():int
        {
            return (this._-4Cx);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2UserJoinedGameMessageParser

package _-36E
{
    import _-1Fi._-2jf;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2UserJoinedGameMessageParser implements _-58N 
    {

        private var _-Pi:_-2jf;
        private var _-1dP:Boolean;

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-Pi = new _-2jf(_arg1);
            this._-1dP = _arg1.readBoolean();
            return (true);
        }
        public function get user():_-2jf
        {
            return (this._-Pi);
        }
        public function get _-4S-():Boolean
        {
            return (this._-1dP);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36E.Game2UserLeftGameMessageParser

package _-36E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2UserLeftGameMessageParser implements _-58N 
    {

        private var _-4lu:int;

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            return (true);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }

    }
}//package _-36E

//------------------------------------------------------------
//_-36s._-1D5

package _-36s
{
    import _-4Aj.*;

    public class _-1D5 implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            return (k);
        }

    }
}//package _-36s

//------------------------------------------------------------
//_-36u._-2l0

package _-36u
{
    import _-3N5.HabboEventStream;
    import _-293._-5-S;
    import _-293._-2Gt;
    import _-3N5.EventStreamEntity;
    import flash.display.BitmapData;
    import _-0y0._-Xl;
    import _-293.*;

    public class _-2l0 implements dynamic 
    {

        private var _-3jF:HabboEventStream;
        private var _-0tK:_-5-S;
        private var _-0vf:_-2Gt;
        private var _-4HM:EventStreamEntity;
        private var _-43B:int;

        public function _-2l0(_arg1:HabboEventStream, _arg2:_-5-S, _arg3:EventStreamEntity, _arg4:int, _arg5:int, _arg6:int, _arg7:int=2, _arg8:int=32, _arg9:String=null)
        {
            var k:BitmapData;
            var k:uint;
            super();
            this._-3jF = _arg1;
            this._-0tK = _arg2;
            this._-4HM = _arg3;
            this._-43B = _arg3.id;
            if (this._-0tK)
            {
                k = null;
                k = 0;
                this._-0vf = this._-0tK._-2s2(_arg4, _arg5, _arg6, new _-Xl((45 * _arg7)), _arg8, this, true, k, null, _arg9);
                if (this._-0vf)
                {
                    k = this._-0vf.data;
                    if (_arg3)
                    {
                        _arg3.image = k;
                    };
                };
            };
        }
        public function get image():BitmapData
        {
            return (this._-0vf.data);
        }
        public function get disposed():Boolean
        {
            return ((this._-0tK == null));
        }
        public function dispose():void
        {
            this._-3jF = null;
            this._-0tK = null;
            this._-0vf = null;
            this._-4HM = null;
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (((this._-4HM) && ((this._-4HM.id == this._-43B))))
            {
                if (((!(this._-4HM._-4Sx)) && (!(this._-4HM.disposed))))
                {
                    this._-4HM.image = _arg2;
                };
            };
            this.dispose();
        }

    }
}//package _-36u

//------------------------------------------------------------
//_-37q._-1pp

package _-37q
{
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import _-4Kb._-3TS;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.ITextWindow;
    import flash.geom.Rectangle;

    public class _-1pp 
    {

        private var _-0xv:IWindowContainer;
        private var _-0Vh:IWindow;
        private var _-208:Boolean = false;

        public function _-1pp(_arg1:_-3TS, _arg2:_-3Ts, _arg3:_-39L)
        {
            this._-0xv = IWindowContainer(_arg2.buildFromXML((_arg3.getAssetByName("avatar_editor_effect_griditem_xml").content as XML)));
            this._-0Vh = this._-0xv.findChildByTag("BG_COLOR");
            if (_arg1 != null)
            {
                this.bitmap = _arg1.icon;
                this.amount = _arg1._-1p6;
                if (_arg1._-3Cm)
                {
                    this._-3W8(_arg1._-51V, _arg1.duration);
                };
            }
            else
            {
                this.bitmap = BitmapData(_arg3.getAssetByName("removeSelection").content);
                this.amount = 1;
            };
            this.selected = false;
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        public function set selected(_arg1:Boolean):void
        {
            this._-208 = _arg1;
            this._-0Vh.color = ((this._-208) ? 0xCCCCCC : 0xFFFFFF);
        }
        private function set bitmap(_arg1:BitmapData):void
        {
            IBitmapWrapperWindow(this._-0xv.findChildByName("bitmap")).bitmap = _arg1;
        }
        private function set amount(_arg1:int):void
        {
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName("effect_amount_bg1"));
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName("effect_amount"));
            k.visible = (_arg1 > 1);
            k.text = _arg1.toString();
        }
        private function _-3W8(_arg1:int, _arg2:int):void
        {
            this._-0xv.findChildByName("duration_container").visible = true;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0xv.findChildByName("progress_bar"));
            var k:BitmapData = new BitmapData(k.width, k.height, false, 0);
            var k:Rectangle = new Rectangle(0, 0, int((k.width * (Number(_arg1) / _arg2))), k.height);
            k.fillRect(k, 2146080);
            k.bitmap = k;
        }

    }
}//package _-37q

//------------------------------------------------------------
//_-37q._-Ye

package _-37q
{
    import _-Ew.IWindowContainer;
    import _-4pF._-3Ts;
    import flash.utils.Timer;
    import _-4Kb._-3TS;
    import flash.events.TimerEvent;
    import _-295._-39L;
    import _-1ae.IItemListWindow;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import _-1B-.*;

    public class _-Ye implements _-1zZ 
    {

        private var _-3n-:EffectsModel;
        private var _container:IWindowContainer;
        private var _-0c5:IWindowContainer;
        private var _-0xv:IWindowContainer;
        private var _-0zp:String;
        private var _-U-:_-3Ts;
        private var _-lM:Timer;
        private var _-2nL:int = 0;
        private var _-35e:_-3TS = null;

        public function _-Ye(_arg1:EffectsModel, _arg2:_-3Ts, _arg3:_-39L)
        {
            this._-3n- = _arg1;
            this._-U- = _arg2;
            this._container = _arg1.controller.view.effectsParamViewContainer;
            this._-0c5 = (_arg2.buildFromXML(XML(_arg3.getAssetByName("effect_params_xml").content)) as IWindowContainer);
            this._-0zp = _arg1.controller.manager.configuration.getKey("avatareditor.effects.buy.button.catalog.page.name", "costumes");
            this._-lM = new Timer(1000);
            this._-lM.addEventListener(TimerEvent.TIMER, this._-0lw);
        }
        public function dispose():void
        {
            if (this._-lM)
            {
                this._-lM.stop();
                this._-lM.removeEventListener(TimerEvent.TIMER, this._-0lw);
                this._-lM = null;
            };
            if (this._-0c5)
            {
                this._-0c5.dispose();
                this._-0c5 = null;
            };
            this._-U- = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-3n- = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-3n- == null));
        }
        private function _-0gE():void
        {
            this._-0xv = IWindowContainer(this._-0c5.clone());
            this._container.addChild(this._-0xv);
        }
        private function _-2GH():void
        {
            if (this._container.numChildren == 1)
            {
                this._container.getChildAt(0).dispose();
                this._container.removeChildAt(0);
            };
        }
        public function _-2D2(_arg1:_-3TS):void
        {
            var _local2:IItemListWindow;
            var _local3:ITextWindow;
            this._-35e = _arg1;
            if (_arg1 == null)
            {
                this._container.visible = false;
                this._-2GH();
            }
            else
            {
                this._container.visible = true;
                this._-2GH();
                this._-0gE();
                _local2 = IItemListWindow(this._-0xv.findChildByName("effect_param_itemlist"));
                if (!_arg1._-3Cm)
                {
                    _local2._-3yK(1);
                    this._-lM.stop();
                }
                else
                {
                    this._-2nL = _arg1._-51V;
                    this._-3W8(_arg1._-51V, _arg1.duration);
                    _local2._-3yK(2);
                    this._-lM.start();
                };
                _local3 = ITextWindow(_local2.getListItemByName("effect_name"));
                _local3.text = ((("$" + "{fx_") + _arg1.type) + "}");
                this._-0xv.findChildByName("get_more_button").addEventListener(WindowMouseEvent._-90, this._-0RS);
            };
        }
        private function _-3W8(_arg1:int, _arg2:int):void
        {
            var k:String;
            var k:int;
            var _local11:int;
            var _local12:int;
            var _local13:int;
            var _local14:int;
            var _local15:String;
            var _local16:String;
            var _local17:String;
            var k:IItemListWindow = IItemListWindow(this._-0xv.findChildByName("effect_param_itemlist"));
            var k:IWindowContainer = IWindowContainer(k.getListItemAt(1));
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(k.findChildByName("progress_bar_bitmap"));
            var k:BitmapData = new BitmapData(k.width, k.height, false, 0);
            var k:Rectangle = new Rectangle(0, 0, int((k.width * (Number(_arg1) / _arg2))), k.height);
            k.fillRect(k, 2146080);
            k.bitmap = k;
            var k:ITextWindow = ITextWindow(k.findChildByName("effect_time_left"));
            if (_arg1 > ((60 * 60) * 24))
            {
                k.caption = "${avatareditor.effects.active.daysleft}";
                k = k.text;
                k = Math.floor((_arg1 / ((60 * 60) * 24)));
                k = k.replace("%days_left%", k);
            }
            else
            {
                k.caption = "${avatareditor.effects.active.timeleft}";
                k = k.text;
                _local11 = _arg1;
                _local12 = Math.floor((_local11 / (60 * 60)));
                _local13 = (Math.floor((_local11 / 60)) % 60);
                _local14 = (_local11 % 60);
                _local15 = (((_local12)<10) ? "0" : "");
                _local16 = (((_local13)<10) ? "0" : "");
                _local17 = (((_local14)<10) ? "0" : "");
                if (_local12 > 0)
                {
                    k = k.replace("%time_left%", (((((((_local15 + _local12) + ":") + _local16) + _local13) + ":") + _local17) + _local14));
                }
                else
                {
                    k = k.replace("%time_left%", ((((_local16 + _local13) + ":") + _local17) + _local14));
                };
            };
            k.text = k;
        }
        private function _-0RS(_arg1:WindowMouseEvent):void
        {
            this._-3n-.controller.manager.catalog.openCatalogPage(this._-0zp);
        }
        private function _-0lw(_arg1:TimerEvent):void
        {
            if (((!((this._-35e == null))) && (this._-35e._-3Cm)))
            {
                this._-3W8(this._-2nL--, this._-35e.duration);
            };
        }

    }
}//package _-37q

//------------------------------------------------------------
//_-37q.AvatarEditorGridViewEffects

package _-37q
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-Fv._-1Oc;
    import _-1ae.IItemGridWindow;
    import _-295._-243;
    import _-4Kb._-3TS;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-Fv.*;

    public class AvatarEditorGridViewEffects implements _-2A4 
    {

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-Ke:IWindowContainer;
        private var _-3zl:Boolean = true;
        private var _-3n-:_-1Oc;
        private var _-4d9:String;
        private var _-0mP:IItemGridWindow;
        private var _-XA:Array;

        public function AvatarEditorGridViewEffects(_arg1:_-1Oc, _arg2:String, _arg3:_-3Ts, _arg4:_-39L)
        {
            this._-3n- = _arg1;
            this._-4d9 = _arg2;
            this._-AV = _arg4;
            this._-U- = _arg3;
            var k:_-243 = (this._-AV.getAssetByName("AvatarEditorGridEffects") as _-243);
            this._-Ke = IWindowContainer(this._-U-.buildFromXML((k.content as XML)));
            if (this._-Ke != null)
            {
                this._-0mP = (this._-Ke.findChildByName("part_thumbs") as IItemGridWindow);
            };
        }
        public function dispose():void
        {
            if (this._-0mP)
            {
                this._-0mP.dispose();
                this._-0mP = null;
            };
            this._-3n- = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-U- = null;
            this._-AV = null;
        }
        public function get window():IWindowContainer
        {
            return (this._-Ke);
        }
        public function _-40Y():void
        {
            var k:Array;
            var k:_-1pp;
            var k:_-3TS;
            switch (this._-4d9)
            {
                case EffectsModel._-1xb:
                    k = EffectsModel(this._-3n-).effects;
                    break;
                case EffectsModel._-3su:
                    k = EffectsModel(this._-3n-).costumes;
                    break;
            };
            this._-0mP._-360();
            this._-XA = new Array();
            k = new _-1pp(null, this._-U-, this._-AV);
            this._-2-F(k);
            for each (k in k)
            {
                k = new _-1pp(k, this._-U-, this._-AV);
                this._-2-F(k);
            };
            this._-3zl = false;
        }
        private function _-2-F(_arg1:_-1pp):void
        {
            _arg1.window.procedure = this._-1Vv;
            this._-XA.push(_arg1);
            this._-0mP._-2-F(_arg1.window);
        }
        public function _-4Zf(_arg1:int):void
        {
        }
        public function get _-1nI():Boolean
        {
            return (this._-3zl);
        }
        public function _-2q2(_arg1:int, _arg2:Boolean):void
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-XA.length))))
            {
                _-1pp(this._-XA[_arg1]).selected = _arg2;
            };
        }
        private function _-1Vv(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            if (_arg1.type == WindowMouseEvent._-3Jy)
            {
                k = this._-0mP.getGridItemIndex(_arg1.window);
                this._-3n-.selectPart(this._-4d9, k);
            };
        }

    }
}//package _-37q

//------------------------------------------------------------
//_-37q.EffectsModel

package _-37q
{
    import _-Fv.CategoryBaseModel;
    import flash.utils.Dictionary;
    import _-4Kb.HabboAvatarEditor;
    import _-3Zp._-0Ak;
    import _-4Kb._-3TS;
    import _-Fv.*;

    public class EffectsModel extends CategoryBaseModel implements _-1Oc 
    {

        public static const _-1xb:String = "effects";
        public static const _-3su:String = "costumes";

        private var _-0X2:Dictionary;
        private var _-Ua:_-Ye;

        public function EffectsModel(_arg1:HabboAvatarEditor)
        {
            this._-0X2 = new Dictionary();
            super(_arg1);
        }
        override protected function init():void
        {
            super.init();
            _-rY = true;
            if (!_-Ke)
            {
                _-Ke = new EffectsView(this, controller.manager.windowManager, controller.manager.assets);
                this._-Ua = new _-Ye(this, controller.manager.windowManager, controller.manager.assets);
                if (_-Ke)
                {
                    _-Ke.init();
                };
            };
        }
        public function get effects():Array
        {
            return (this._-2Gk(_-0Ak._-46C));
        }
        public function get costumes():Array
        {
            return (this._-2Gk(_-0Ak._-m7));
        }
        private function _-2Gk(_arg1:int):Array
        {
            var k:_-3TS;
            var k:Array = new Array();
            for each (k in controller.manager.inventory.getAvatarEffects())
            {
                if (k._-4N == _arg1)
                {
                    k.push(k);
                };
            };
            return (k);
        }
        override public function selectPart(_arg1:String, _arg2:int):void
        {
            var _local3:_-3TS;
            this._-4H4(_arg1, this._-0X2[_arg1], false);
            if (_arg2 == 0)
            {
                controller.setAvatarEffectType(-1);
                this._-Ua._-2D2(null);
            }
            else
            {
                if (_arg1 == _-1xb)
                {
                    _local3 = _-3TS(this.effects[(_arg2 - 1)]);
                }
                else
                {
                    _local3 = _-3TS(this.costumes[(_arg2 - 1)]);
                };
                _local3._-vX = true;
                controller.setAvatarEffectType(_local3.type);
            };
            this._-0X2[_arg1] = _arg2;
            this._-4H4(_arg1, _arg2, true);
            this._-Ua._-2D2(_local3);
        }
        private function _-4H4(_arg1:String, _arg2:int, _arg3:Boolean):void
        {
            EffectsView(_-Ke)._-y5(_arg1, _arg2, _arg3);
        }

    }
}//package _-37q

//------------------------------------------------------------
//_-37q.EffectsView

package _-37q
{
    import _-Fv.CategoryBaseView;
    import _-Fv._-1Oc;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-295._-243;
    import _-Fv._-2A4;
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-Fv.*;

    public class EffectsView extends CategoryBaseView implements _-Om 
    {

        public function EffectsView(_arg1:_-1Oc, _arg2:_-3Ts, _arg3:_-39L)
        {
            super(_arg2, _arg3, _arg1);
        }
        override public function init():void
        {
            var k:_-243;
            var _local2:_-2A4;
            if (!_-0xv)
            {
                k = (_-AV.getAssetByName("avatareditor_effects_base") as _-243);
                if (k)
                {
                    _-0xv = IWindowContainer(_-U-.buildFromXML((k.content as XML)));
                    _-0xv.visible = false;
                    _-0xv.procedure = this._-3kk;
                };
            };
            if (!_-4DM)
            {
                _-4DM = new Dictionary();
                _-4DM[EffectsModel._-1xb] = new AvatarEditorGridViewEffects(_-3n-, EffectsModel._-1xb, _-U-, _-AV);
                _-4DM[EffectsModel._-3su] = new AvatarEditorGridViewEffects(_-3n-, EffectsModel._-3su, _-U-, _-AV);
            }
            else
            {
                for each (_local2 in _-4DM)
                {
                    _local2._-40Y();
                };
            };
            if (((_-3n-) && ((_-3Y2 == ""))))
            {
                _-3n-.switchCategory(EffectsModel._-3su);
            };
            _-rY = true;
            _-2VB();
            _-3YH();
        }
        override public function reset():void
        {
            var k:_-2A4;
            for each (k in _-4DM)
            {
                k._-40Y();
            };
            _-3YH();
            _-3n-.selectPart(_-3Y2, 0);
        }
        public function switchCategory(_arg1:String):void
        {
            if (_-0xv == null)
            {
                return;
            };
            if (_-0xv.disposed)
            {
                return;
            };
            if (_-3Y2 == _arg1)
            {
                return;
            };
            _-0rr(_-366);
            switch (_arg1)
            {
                case EffectsModel._-1xb:
                    _-366 = "tab_effects";
                    break;
                case EffectsModel._-3su:
                    _-366 = "tab_costumes";
                    break;
                default:
                    throw (new Error((('[EffectsView] Unknown item category: "' + _arg1) + '"')));
            };
            _-3Y2 = _arg1;
            _-0T4(_-366);
            if (!_-rY)
            {
                this.init();
            };
            _-3YH();
        }
        public function _-y5(_arg1:String, _arg2:int, _arg3:Boolean):void
        {
            AvatarEditorGridViewEffects(_-4DM[_arg1])._-2q2(_arg2, _arg3);
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "tab_costumes":
                        this.switchCategory(EffectsModel._-3su);
                        break;
                    case "tab_effects":
                        this.switchCategory(EffectsModel._-1xb);
                        break;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    switch (_arg2.name)
                    {
                        case "tab_costumes":
                        case "tab_effects":
                            _-0T4(_arg2.name);
                            break;
                    };
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        switch (_arg2.name)
                        {
                            case "tab_costumes":
                            case "tab_effects":
                                if (_-366 != _arg2.name)
                                {
                                    _-0rr(_arg2.name);
                                };
                                return;
                        };
                    };
                };
            };
        }

    }
}//package _-37q

//------------------------------------------------------------
//_-39k._-0Xt

package _-39k
{
    import _-4Aj.*;

    public class _-0Xt implements _-1oF 
    {

        private var _-1RF:int;
        private var _-2j5:int;

        public function _-0Xt(_arg1:int, _arg2:int)
        {
            this._-1RF = _arg1;
            this._-2j5 = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-1RF, this._-2j5]);
        }

    }
}//package _-39k

//------------------------------------------------------------
//_-39k._-1bz

package _-39k
{
    import _-4Aj.*;

    public class _-1bz implements _-1oF 
    {

        private var _-1RF:int;
        private var _-2j5:int;
        private var _-30l:String;

        public function _-1bz(_arg1:int, _arg2:int, _arg3:String)
        {
            this._-1RF = _arg1;
            this._-2j5 = _arg2;
            this._-30l = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-1RF, this._-2j5, this._-30l]);
        }

    }
}//package _-39k

//------------------------------------------------------------
//_-3aJ._-0MW

package _-3aJ
{
    import _-4Kb._-3nt;
    import _-4Kb._-40f;
    import _-0se._-1uH;
    import _-4Kb._-3QA;
    import _-295._-2kE;
    import _-4rn.*;

    public class _-0MW implements _-H0 
    {

        private var _-21X:_-3nt = null;

        public function get _-uU():_-3nt
        {
            return (this._-21X);
        }
        public function set _-uU(_arg1:_-3nt):void
        {
            this._-21X = _arg1;
        }
        public function initialize(_arg1:XML):Boolean
        {
            return (true);
        }
        public function dispose():void
        {
            this._-21X = null;
        }
        public function _-3M(_arg1:String, _arg2:Number, _arg3:String=null, _arg4:_-3QA=null):_-40f
        {
            var k:_-40f;
            if (this._-21X != null)
            {
                k = null;
                if (_arg2 > 48)
                {
                    k = this._-21X.createAvatarImage(_arg1, _-1uH._-JU, _arg3, _arg4);
                }
                else
                {
                    k = this._-21X.createAvatarImage(_arg1, _-1uH._-Pq, _arg3, _arg4);
                };
                return (k);
            };
            return (null);
        }
        public function _-Rr(_arg1:String):Number
        {
            return (0);
        }
        public function getAvatarRendererAsset(_arg1:String):_-2kE
        {
            if (this._-21X == null)
            {
                return (null);
            };
            return (this._-21X.assets.getAssetByName(_arg1));
        }

    }
}//package _-3aJ

//------------------------------------------------------------
//_-3aJ.AvatarVisualization

package _-3aJ
{
    import _-4rn.RoomObjectSpriteVisualization;
    import _-18r.Map;
    import _-295.BitmapDataAsset;
    import _-4Kb._-40f;
    import _-4MO._-3-K;
    import _-4rn._-H0;
    import _-3mW._-4Wq;
    import _-4MO. try;
    import _-4MO._-02b;
    import _-4MO._-2xA;
    import _-0se._-0tD;
    import _-4MO._-0o7;
    import _-4MO._-4hR;
    import _-4MO._-1MM;
    import _-4MO._-2Bb;
    import _-3V-._-30N;
    import _-4rn._-59O;
    import _-295._-2kE;
    import _-0se._-18q;
    import _-0se._-24J;
    import _-3V-._-3SU;
    import _-0y0._-3q6;
    import flash.display.BitmapData;
    import _-1kb._-cH;
    import flash.filters.BitmapFilter;
    import _-1kb._-oL;
    import flash.filters.GlowFilter;
    import flash.geom.Point;
    import _-3D7._-1Wb;
    import _-3D7._-2fB;
    import flash.display.BlendMode;
    import _-4Kb.*;

    public class AvatarVisualization extends RoomObjectSpriteVisualization implements _-3QA 
    {

        private static const _-z8:String = "avatar";
        private static const _-1Y3:Number = -0.01;
        private static const _-1Ij:Number = 0.001;
        private static const _-2Cs:Number = -0.409;
        private static const _-4Wp:int = 1000;
        private static const _-4se:int = 2;
        private static const _-4vb:Array = [0, 0, 0];
        private static const _-0C3:int = 97;
        private static const _-2Or:int = 3;
        private static const _-oe:int = 0;
        private static const _-0Zv:int = 1;
        private static const _-29v:int = 2;
        private static const _-1iE:int = 1;
        private static const _-0iX:int = 2;
        private static const _-1EW:int = 3;
        private static const _-0YI:int = 4;
        private static const _-2fx:int = 5;
        private static const _-3L0:int = 6;
        private static const _-2q4:int = 7;

        private const _-7n:int = 41;

        private var _-0E-:int = -1000;
        private var _-390:_-0MW = null;
        private var _-2cj:Map;
        private var _-4Yu:Map;
        private var _-2S2:int = 0;
        private var _-4on:Boolean;
        private var _-5AE:String;
        private var _-4Cb:String;
        private var _-4iT:int = 0;
        private var _-2rm:BitmapDataAsset;
        private var _-3dA:int = -1;
        private var _-2f0:int = -1;
        private var _-4i6:int = -1;
        private var _-7M:int = 2;
        private var _-4vF:Map;
        private var _-0h1:int = -1;
        private var _-53c:String = "";
        private var _-5D7:String = "";
        private var _-2RA:Boolean = false;
        private var _-QF:Boolean = false;
        private var _-24I:Boolean = false;
        private var _-nc:int = 0;
        private var _-59A:int = 0;
        private var _-0nz:int = 0;
        private var _-Gg:int = 0;
        private var _-1eV:Boolean = false;
        private var _-4H:int = -1;
        private var _-0kS:int = 0;
        private var _-41v:int = 0;
        private var _-IV:int = 0;
        private var _-1qX:int = 0;
        private var _-038:int = 0;
        private var _-0PL:Boolean = false;
        private var _-2U3:Boolean = false;
        private var _-0Pu:Boolean = false;
        private var _-1nC:_-40f = null;
        private var _-0gJ:Boolean = false;
        private var _-4Bk:Boolean;

        public function AvatarVisualization()
        {
            this._-2cj = new Map();
            this._-4Yu = new Map();
            this._-4on = false;
        }
        override public function dispose():void
        {
            var k:_-3-K;
            if (this._-2cj != null)
            {
                this._-4iX();
                this._-2cj.dispose();
                this._-4Yu.dispose();
                this._-2cj = null;
            };
            this._-390 = null;
            this._-2rm = null;
            if (this._-4vF)
            {
                for each (k in this._-4vF)
                {
                    k.dispose();
                };
                this._-4vF = null;
            };
            super.dispose();
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get angle():int
        {
            return (this._-2f0);
        }
        public function get posture():String
        {
            return (this._-53c);
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            this._-390 = (_arg1 as _-0MW);
            _-2Dm(_-29v);
            return (true);
        }
        private function updateModel(_arg1:_-30N, _arg2:Number, _arg3:Boolean):Boolean
        {
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var k:String;
            var k:_-3-K;
            var k:String;
            if (_arg1._-1Pk() != _-1WO)
            {
                k = false;
                k = false;
                k = 0;
                k = "";
                k = (((_arg1.getNumber(_-4Wq._-3Mr) > 0)) && (_arg3));
                if (k != this._-2RA)
                {
                    this._-2RA = k;
                    k = true;
                };
                k = _arg1.getNumber(_-4Wq._-Bj);
                if (k != this._-nc)
                {
                    this._-nc = k;
                    k = true;
                };
                k = (_arg1.getNumber(_-4Wq._-4uh) > 0);
                if (k != this._-QF)
                {
                    this._-QF = k;
                    k = true;
                };
                k = (((_arg1.getNumber(_-4Wq._-4RV) > 0)) && (_arg3));
                if (k != this._-24I)
                {
                    this._-24I = k;
                    k = true;
                };
                k = _arg1.getNumber(_-4Wq._-0Bj);
                if (k != this._-59A)
                {
                    this._-59A = k;
                    k = true;
                };
                k = _arg1.getString(_-4Wq._-0nJ);
                if (k != this._-53c)
                {
                    this._-53c = k;
                    k = true;
                };
                k = _arg1.getString(_-4Wq._-4HY);
                if (k != this._-5D7)
                {
                    this._-5D7 = k;
                    k = true;
                };
                k = (_arg1.getNumber(_-4Wq._-4bY) > 0);
                if (k != this._-0PL)
                {
                    this._-0PL = k;
                    k = true;
                };
                k = (_arg1.getNumber(_-4Wq._-Kk) * _-4Wp);
                if (k != this._-038)
                {
                    this._-038 = k;
                    k = true;
                };
                k = _arg1.getNumber(_-4Wq._-10t);
                if (k != this._-0nz)
                {
                    this._-0nz = k;
                    k = true;
                };
                k = _arg1.getNumber(_-4Wq._-4AQ);
                if (k != this._-0kS)
                {
                    this._-0kS = k;
                    k = true;
                };
                k = _arg1.getNumber(_-4Wq._-3kn);
                if (k != this._-41v)
                {
                    this._-41v = k;
                    k = true;
                };
                k = _arg1.getNumber(_-4Wq._-0wc);
                if (k != this._-IV)
                {
                    this._-IV = k;
                    k = true;
                };
                k = _arg1.getNumber(_-4Wq._-49h);
                if (k != this._-3dA)
                {
                    this._-3dA = k;
                    k = true;
                };
                if ((((this._-41v > 0)) && ((_arg1.getNumber(_-4Wq._-0wc) > 0))))
                {
                    if (this._-IV != this._-41v)
                    {
                        this._-IV = this._-41v;
                        k = true;
                    };
                }
                else
                {
                    if (this._-IV != 0)
                    {
                        this._-IV = 0;
                        k = true;
                    };
                };
                k = (this._-4DF(_-1iE) as  try);
                if (this._-QF)
                {
                    if (!k)
                    {
                        k = this._-1sI(new  try(_-1iE, this));
                    };
                    k = true;
                }
                else
                {
                    if (k)
                    {
                        this._-SK(_-1iE);
                    };
                };
                k = (_arg1.getNumber(_-4Wq._-4LD) > 0);
                k = (this._-4DF(_-3L0) as _-02b);
                if (k)
                {
                    if (!k)
                    {
                        k = this._-1sI(new _-02b(_-3L0, this));
                    };
                    this._-SK(_-0iX);
                    k = true;
                }
                else
                {
                    if (k)
                    {
                        this._-SK(_-3L0);
                        k = true;
                    };
                    k = (_arg1.getNumber(_-4Wq._-1bn) > 0);
                    k = (this._-4DF(_-0iX) as _-2xA);
                    if (k)
                    {
                        if (!k)
                        {
                            k = this._-1sI(new _-2xA(_-0iX, this));
                        };
                        k = true;
                    }
                    else
                    {
                        if (k)
                        {
                            this._-SK(_-0iX);
                        };
                    };
                };
                k = _arg1.getNumber(_-4Wq._-4CO);
                if (k != _-0tD.NONE)
                {
                    this._-SK(_-2q4);
                    this._-1sI(new _-0o7(_-2q4, this, k));
                    k = true;
                }
                else
                {
                    if ((this._-4DF(_-2q4) as _-0o7) != null)
                    {
                        this._-SK(_-2q4);
                        k = true;
                    };
                };
                k = (_arg1.getNumber(_-4Wq._-3UC) > 0);
                k = (this._-4DF(_-2fx) as _-4hR);
                if (k)
                {
                    if (!k)
                    {
                        k = this._-1sI(new _-4hR(_-2fx));
                    };
                    k = true;
                }
                else
                {
                    if (k)
                    {
                        this._-SK(_-2fx);
                    };
                };
                k = _arg1.getNumber(_-4Wq._-4JZ);
                k = (this._-4DF(_-0YI) as _-1MM);
                if (k > 0)
                {
                    if (!k)
                    {
                        k = this._-1sI(new _-1MM(_-0YI, k, this));
                    };
                    k = true;
                }
                else
                {
                    if (k)
                    {
                        this._-SK(_-0YI);
                    };
                };
                k = _arg1.getNumber(_-4Wq._-Bj);
                k = this._-4DF(_-1EW);
                if (k > 0)
                {
                    if (!k)
                    {
                        k = _-2Bb._-Zi(_-1EW, k, this);
                        if (k)
                        {
                            this._-1sI(k);
                        };
                    };
                }
                else
                {
                    if (k)
                    {
                        this._-SK(_-1EW);
                    };
                };
                this._-4o(_arg2);
                k = _arg1.getString(_-4Wq._-36h);
                if (k != this._-4Cb)
                {
                    this._-4Cb = k;
                    k = true;
                };
                k = _arg1.getString(_-4Wq._-4lL);
                if (this._-51(k))
                {
                    k = true;
                };
                if (_arg1._-2l5(_-4Wq._-578))
                {
                    k = _arg1.getNumber(_-4Wq._-578);
                    if (k != this._-4H)
                    {
                        k = true;
                        this._-4H = k;
                    };
                };
                k = (_arg1.getNumber(_-4Wq._-15k) > 0);
                if (k != this._-1eV)
                {
                    this._-1eV = k;
                    k = true;
                };
                if (this._-1eV)
                {
                    k = _arg1.getNumber(_-4Wq._-13B);
                    if (k != this._-Gg)
                    {
                        this._-Gg = k;
                        k = true;
                    };
                };
                k = (_arg1.getNumber(_-4Wq._-0Kp) > 0);
                if (k != this._-0gJ)
                {
                    this._-0gJ = k;
                    k = true;
                };
                _-1WO = _arg1._-1Pk();
                return (k);
            };
            return (false);
        }
        private function _-51(_arg1:String):Boolean
        {
            if (this._-5AE != _arg1)
            {
                this._-5AE = _arg1;
                this._-4iX();
                return (true);
            };
            return (false);
        }
        private function _-4iX():void
        {
            var k:_-40f;
            var k:_-59O;
            for each (k in this._-2cj)
            {
                if (k)
                {
                    k.dispose();
                };
            };
            for each (k in this._-4Yu)
            {
                if (k)
                {
                    k.dispose();
                };
            };
            this._-2cj.reset();
            this._-4Yu.reset();
            this._-1nC = null;
            k = _-2IM(_-oe);
            if (k != null)
            {
                k.asset = null;
                k.alpha = 0xFF;
            };
        }
        private function _-4o(_arg1:Number):void
        {
            var k:int;
            if (_arg1 < 48)
            {
                this._-24I = false;
            };
            if ((((this._-53c == "sit")) || ((this._-53c == "lay"))))
            {
                this._-1qX = (_arg1 / 2);
            }
            else
            {
                this._-1qX = 0;
            };
            this._-0Pu = false;
            this._-2U3 = false;
            if (this._-53c == "lay")
            {
                this._-2U3 = true;
                k = int(this._-5D7);
                if (k < 0)
                {
                    this._-0Pu = true;
                };
            };
        }
        private function _-CD(_arg1:Number, _arg2:int):_-40f
        {
            var k:_-40f;
            var k:_-40f;
            var k:String = ("avatarImage" + _arg1.toString());
            if (_arg2 == 0)
            {
                k = (this._-2cj.getValue(k) as _-40f);
            }
            else
            {
                k = (k + ("-" + _arg2));
                k = (this._-4Yu.getValue(k) as _-40f);
                if (k)
                {
                    k._-0Rv();
                };
            };
            if (k == null)
            {
                k = this._-390._-3M(this._-5AE, _arg1, this._-4Cb, this);
                if (k != null)
                {
                    if (_arg2 == 0)
                    {
                        this._-2cj.add(k, k);
                    }
                    else
                    {
                        if (this._-4Yu.length >= _-2Or)
                        {
                            k = this._-4Yu.remove(this._-4Yu.getKey(0));
                            if (k)
                            {
                                k.dispose();
                            };
                        };
                        this._-4Yu.add(k, k);
                    };
                };
            };
            return (k);
        }
        public function getAvatarRendererAsset(_arg1:String):_-2kE
        {
            return (((this._-390) ? this._-390.getAvatarRendererAsset(_arg1) : null));
        }
        private function updateObject(_arg1:_-3SU, _arg2:_-3q6, _arg3:Boolean, _arg4:Boolean=false):Boolean
        {
            var k:Boolean;
            var k:int;
            var k:int;
            if (((((_arg4) || (!((_-0Tt == _arg1._-1Pk()))))) || (!((this._-0h1 == _arg2._-3KH)))))
            {
                k = _arg3;
                k = (_arg1.getDirection().x - _arg2.direction.x);
                k = (((k % 360) + 360) % 360);
                if ((((this._-53c == "sit")) && (this._-0PL)))
                {
                    k = (k - ((k % 90) - 45));
                };
                k = this._-3dA;
                if (this._-53c == "float")
                {
                }
                else
                {
                    k = (k - _arg2.direction.x);
                };
                k = (((k % 360) + 360) % 360);
                if ((((((((this._-53c == "sit")) && (this._-0PL))) || ((this._-53c == _-18q._-Yu)))) || ((this._-53c == _-18q._-3PV))))
                {
                    k = (k - ((k % 90) - 45));
                };
                if (((!((k == this._-2f0))) || (_arg4)))
                {
                    k = true;
                    this._-2f0 = k;
                    k = (k - (135 - 22.5));
                    k = ((k + 360) % 360);
                    this._-1nC._-fE(_-24J._-2YU, k);
                };
                if (((!((k == this._-4i6))) || (_arg4)))
                {
                    k = true;
                    this._-4i6 = k;
                    if (this._-4i6 != this._-2f0)
                    {
                        k = (k - (135 - 22.5));
                        k = ((k + 360) % 360);
                        this._-1nC._-fE(_-24J._-0GH, k);
                    };
                };
                _-0Tt = _arg1._-1Pk();
                this._-0h1 = _arg2._-3KH;
                return (k);
            };
            return (false);
        }
        private function _-6O(_arg1:Number):void
        {
            var k:int;
            var k:int;
            var k:_-59O = _-2IM(_-0Zv);
            this._-2rm = null;
            var k:Boolean = (((((this._-53c == "mv")) || ((this._-53c == "std")))) || ((((this._-53c == "sit")) && (this._-0PL))));
            if (this._-0kS == _-0C3)
            {
                k = false;
            };
            if (k)
            {
                k.visible = true;
                if ((((this._-2rm == null)) || (!((_arg1 == _-3RS)))))
                {
                    k = 0;
                    k = 0;
                    if (_arg1 < 48)
                    {
                        this._-2rm = this._-1nC.getAsset("sh_std_sd_1_0_0");
                        k = -8;
                        k = ((this._-0PL) ? 6 : -3);
                    }
                    else
                    {
                        this._-2rm = this._-1nC.getAsset("h_std_sd_1_0_0");
                        k = -17;
                        k = ((this._-0PL) ? 10 : -7);
                    };
                    if (this._-2rm != null)
                    {
                        k.asset = (this._-2rm.content as BitmapData);
                        k.offsetX = k;
                        k.offsetY = k;
                        k.alpha = 50;
                        k.relativeDepth = 1;
                    }
                    else
                    {
                        k.visible = false;
                    };
                };
            }
            else
            {
                this._-2rm = null;
                k.visible = false;
            };
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            var k:int;
            var k:_-59O;
            var k:_-3-K;
            var k:_-59O;
            var k:Array;
            var k:int;
            var k:int;
            var k:_-cH;
            var k:Boolean;
            var k:BitmapData;
            var k:BitmapFilter;
            var k:_-oL;
            var k:int;
            var k:int;
            var k:_-oL;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:BitmapDataAsset;
            var k:_-3SU = object;
            if (k == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            if (this._-390 == null)
            {
                return;
            };
            if (_arg2 < (this._-0E- + this._-7n))
            {
                return;
            };
            this._-0E- = (this._-0E- + this._-7n);
            if ((this._-0E- + this._-7n) < _arg2)
            {
                this._-0E- = (_arg2 - this._-7n);
            };
            var k:_-30N = k.getModel();
            var k:Number = _arg1.scale;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:int = this._-0kS;
            var k:Boolean;
            var k:Boolean = this.updateModel(k, k, _arg3);
            if (((((k) || (!((k == _-3RS))))) || ((this._-1nC == null))))
            {
                if (k != _-3RS)
                {
                    k = true;
                    this._-4o(k);
                };
                if (k != this._-0kS)
                {
                    k = true;
                };
                if (((((k) || ((this._-1nC == null)))) || (k)))
                {
                    this._-1nC = this._-CD(k, this._-0kS);
                    if (this._-1nC == null)
                    {
                        return;
                    };
                    k = true;
                    k = _-2IM(_-oe);
                    if (((((k) && (this._-1nC))) && (this._-1nC.isPlaceholder())))
                    {
                        k.alpha = 150;
                    }
                    else
                    {
                        if (k)
                        {
                            k.alpha = 0xFF;
                        };
                    };
                };
                if (this._-1nC == null)
                {
                    return;
                };
                if (((k) && (this._-1nC._-2oN)))
                {
                    this._-1nC._-4HX();
                };
                this._-6O(k);
                k = this.updateObject(k, _arg1, _arg3, true);
                this._-3FA(this._-1nC);
                if (this._-4vF)
                {
                    k = this._-7M;
                    for each (k in this._-4vF)
                    {
                        k.update(_-2IM(k++), k);
                    };
                };
                _-3RS = k;
            }
            else
            {
                k = this.updateObject(k, _arg1, _arg3);
            };
            if (this._-4vF)
            {
                k = this._-7M;
                for each (k in this._-4vF)
                {
                    if (k.animate(_-2IM(k++)))
                    {
                        _-3qW();
                    };
                };
            };
            var k:Boolean = ((((k) || (k))) || (k));
            var k:Boolean = ((((this._-4on) || ((this._-4iT > 0)))) && (_arg3));
            if (k)
            {
                this._-4iT = _-4se;
            };
            if (((k) || (k)))
            {
                _-3qW();
                this._-4iT--;
                this._-2S2--;
                if ((((((((this._-2S2 <= 0)) || (k))) || (k))) || (k)))
                {
                    this._-1nC._-4CN(1);
                    this._-2S2 = _-4se;
                }
                else
                {
                    return;
                };
                k = this._-1nC._-4Dp();
                if ((((k == null)) || ((k.length < 3))))
                {
                    k = _-4vb;
                };
                k = _-2IM(_-oe);
                if (k != null)
                {
                    k = (((k.getNumber(_-4Wq._-15k) == 1)) && ((k.getNumber(_-4Wq._-13B) == 1)));
                    k = this._-1nC._-2Xc(_-24J._-2YU, k);
                    if (k != null)
                    {
                        if (k)
                        {
                            k = new GlowFilter(0xFFFFFF, 1, 6, 6);
                            k.applyFilter(k, k.rect, new Point(0, 0), k);
                        };
                        k.asset = k;
                    };
                    if (k.asset)
                    {
                        k.offsetX = ((((-1 * k) / 2) + k[0]) - ((k.asset.width - k) / 2));
                        k.offsetY = (((-(k.asset.height) + (k / 4)) + k[1]) + this._-1qX);
                        if ((((this._-53c == _-18q._-Yu)) || ((this._-53c == _-18q._-3PV))))
                        {
                            k.offsetY = (k.offsetY + ((20 * k) / 32));
                        };
                    };
                    if (this._-2U3)
                    {
                        if (this._-0Pu)
                        {
                            k.relativeDepth = -0.5;
                        }
                        else
                        {
                            k.relativeDepth = (_-2Cs + k[2]);
                        };
                    }
                    else
                    {
                        k.relativeDepth = (_-1Y3 + k[2]);
                    };
                    if (this._-0gJ)
                    {
                        k.relativeDepth = (k.relativeDepth - _-1Ij);
                        k._-y8 = _-1Wb._-1Il;
                    }
                    else
                    {
                        k._-y8 = _-1Wb._-4dq;
                    };
                };
                k = (this._-4DF(_-0iX) as _-2xA);
                if (k)
                {
                    if (!this._-2U3)
                    {
                        _-2xA(k).relativeDepth = ((_-1Y3 - 0.01) + k[2]);
                    }
                    else
                    {
                        _-2xA(k).relativeDepth = ((_-2Cs - 0.01) + k[2]);
                    };
                };
                this._-4on = this._-1nC._-0rZ();
                k = _-29v;
                k = this._-1nC.getDirection();
                for each (k in this._-1nC._-3YU())
                {
                    if (k.id == _-z8)
                    {
                        k = _-2IM(_-oe);
                        k = this._-1nC._-0JM(k);
                        k = k._-xO(k);
                        k = k._-1je(k);
                        if (k != null)
                        {
                            k = (k + k.dx);
                            k = (k + k.dy);
                        };
                        if (k < 48)
                        {
                            k = (k / 2);
                            k = (k / 2);
                        };
                        if (!this._-0PL)
                        {
                            k.offsetX = (k.offsetX + k);
                            k.offsetY = (k.offsetY + k);
                        };
                    }
                    else
                    {
                        k = _-2IM(k);
                        if (k != null)
                        {
                            k._-4l2 = _-2fB._-3D2;
                            k.visible = true;
                            k = this._-1nC._-0JM(k);
                            k = 0;
                            k = k._-xO(k);
                            k = k._-1je(k);
                            k = k._-bi(k);
                            k = 0;
                            if (k._-2MN)
                            {
                            };
                            if (k != null)
                            {
                                k = k._-2Ec;
                                k = (k + k.dx);
                                k = (k + k.dy);
                                k = (k + k._-3J7);
                            };
                            if (k < 48)
                            {
                                k = (k / 2);
                                k = (k / 2);
                            };
                            if (k < 0)
                            {
                                k = (k + 8);
                            }
                            else
                            {
                                if (k > 7)
                                {
                                    k = (k - 8);
                                };
                            };
                            k = ((((((this._-1nC._-Z8() + "_") + k.member) + "_") + k) + "_") + k);
                            k = this._-1nC.getAsset(k);
                            if (k == null) continue;
                            k.asset = (k.content as BitmapData);
                            k.offsetX = ((-(k.offset.x) - (k / 2)) + k);
                            k.offsetY = (-(k.offset.y) + k);
                            if (k._-0uN)
                            {
                                k.offsetY = (k.offsetY + ((this._-038 * k) / (2 * _-4Wp)));
                            }
                            else
                            {
                                k.offsetY = (k.offsetY + this._-1qX);
                            };
                            if (this._-2U3)
                            {
                                k.relativeDepth = (_-2Cs - ((0.001 * _-18O) * k));
                            }
                            else
                            {
                                k.relativeDepth = (_-1Y3 - ((0.001 * _-18O) * k));
                            };
                            if (k.ink == 33)
                            {
                                k.blendMode = BlendMode.ADD;
                            }
                            else
                            {
                                k.blendMode = BlendMode.NORMAL;
                            };
                        };
                        k++;
                    };
                };
            };
        }
        private function _-3FA(_arg1:_-40f):void
        {
            var k:_-cH;
            var k:_-3-K;
            var k:_-59O;
            if (_arg1 == null)
            {
                return;
            };
            _arg1._-3E7();
            _arg1.appendAction(_-18q._-03o, this._-53c, this._-5D7);
            if (this._-59A > 0)
            {
                _arg1.appendAction(_-18q._-4QC, _-18q._-4h-[this._-59A]);
            };
            if (this._-0nz > 0)
            {
                _arg1.appendAction(_-18q._-rQ, this._-0nz);
            };
            if (this._-4H > -1)
            {
                _arg1.appendAction(_-18q._-Q6, this._-4H);
            };
            if (this._-41v > 0)
            {
                _arg1.appendAction(_-18q._-1Cb, this._-41v);
            };
            if (this._-IV > 0)
            {
                _arg1.appendAction(_-18q._-4Xg, this._-IV);
            };
            if (this._-2RA)
            {
                _arg1.appendAction(_-18q._-1Fu);
            };
            if (((this._-QF) || (this._-24I)))
            {
                _arg1.appendAction(_-18q._-1hz);
            };
            if (this._-nc > 0)
            {
                switch (this._-nc)
                {
                    case 1:
                        _arg1.appendAction(_-18q._-2xr);
                        break;
                    case 2:
                        _arg1.appendAction(_-18q._-34A);
                        break;
                    case 3:
                        _arg1.appendAction(_-18q._-1VQ);
                        break;
                    case 4:
                        _arg1.appendAction(_-18q._-0Wl);
                        break;
                    case 5:
                        _arg1.appendAction(_-18q._-4Q4);
                        break;
                    case 6:
                        _arg1.appendAction(_-18q._-rQ, 2);
                        break;
                    case 7:
                        _arg1.appendAction(_-18q._-4P8);
                        break;
                    case 8:
                        _arg1.appendAction(_-18q._-4-);
                        break;
                    case 9:
                        _arg1.appendAction(_-18q._-1ha);
                        break;
                    case 10:
                        _arg1.appendAction(_-18q._-wd);
                        break;
                };
            };
            if (this._-0kS > 0)
            {
                _arg1.appendAction(_-18q._-46C, this._-0kS);
            };
            _arg1._-1Z0();
            this._-4on = _arg1._-0rZ();
            var k:int = _-29v;
            for each (k in this._-1nC._-3YU())
            {
                if (k.id != _-z8)
                {
                    k++;
                };
            };
            if (k != _-18O)
            {
                _-2Dm(k);
            };
            this._-7M = k;
            if (this._-4vF)
            {
                for each (k in this._-4vF)
                {
                    k = _-0iu();
                };
            };
        }
        public function _-0-V(_arg1:String):void
        {
            this._-4iX();
        }
        protected function get _-2pt():int
        {
            return (((this._-4vF) ? this._-4vF.length : 0));
        }
        public function _-1sI(_arg1:_-3-K):_-3-K
        {
            if (!this._-4vF)
            {
                this._-4vF = new Map();
            };
            if (this._-4vF._-VD(_arg1.id))
            {
                throw (new Error((("Avatar addition with index " + _arg1.id) + "already exists!")));
            };
            this._-4vF.add(_arg1.id, _arg1);
            return (_arg1);
        }
        public function _-4DF(_arg1:int):_-3-K
        {
            return (((this._-4vF) ? this._-4vF[_arg1] : null));
        }
        public function _-SK(_arg1:int):void
        {
            var k:_-3-K = this._-4DF(_arg1);
            if (!k)
            {
                return;
            };
            this._-4vF.remove(_arg1);
            k.dispose();
        }

    }
}//package _-3aJ

//------------------------------------------------------------
//_-3Bn._-0iB

package _-3Bn
{
    import _-Ew.IWindowContainer;
    import _-1B-.*;

    public interface _-0iB extends _-1zZ 
    {

        function get window():IWindowContainer;
        function set _-2GS(_arg1:int):void;
        function set _-0O1(_arg1:int):void;

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-0xN

package _-3Bn
{
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1B-.*;

    public interface _-0xN extends _-1zZ 
    {

        function get _-5Ec():IWindow;
        function get background():IBitmapWrapperWindow;

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-1Ii

package _-3Bn
{
    import _-1B-.*;

    public interface _-1Ii extends _-1zZ 
    {

        function set title(_arg1:String):void;
        function get title():String;
        function set summary(_arg1:String):void;
        function get summary():String;
        function set callback(_arg1:Function):void;
        function get callback():Function;
        function _-U7(_arg1:int):_-u3;
        function _-3IX(_arg1:int, _arg2:_-u3):void;

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-1rH

package _-3Bn
{
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-1ae._-0C5;
    import _-1ae._-4mB;
    import _-295._-2kE;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-4pF.HabboWindowManagerComponent;
    import _-2ly._-11j;
    import _-1B-.*;

    public class _-1rH implements _-1zZ 
    {

        private static const _-58S:int = 10;

        private var _disposed:Boolean;
        private var _-05i:_-0xN;
        private var _-5Q:String;
        private var _-0xv:IWindowContainer;
        private var _-3EB:IItemListWindow;
        private var _-4x-:IItemListWindow;
        private var _-35u:IItemListWindow;
        private var _-RJ:IWindow;
        private var _-361:IWindow;
        private var _-349:_-0C5;
        private var _-2VS:_-4mB;
        private var _-4el:Function;

        public function _-1rH(_arg1:HabboWindowManagerComponent, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8:Function)
        {
            this._-4el = _arg8;
            var k:_-2kE = _arg1.assets.getAssetByName("illumina_alert_xml");
            this._-05i = _arg1.buildModalDialogFromXML((k.content as XML));
            this._-0xv = IWindowContainer(this._-05i._-5Ec);
            this._-3EB = IItemListWindow(this._-0xv.findChildByName("list"));
            this._-4x- = IItemListWindow(this._-0xv.findChildByName("list_top"));
            this._-35u = IItemListWindow(this._-0xv.findChildByName("list_bottom"));
            this._-RJ = this._-0xv.findChildByName("message");
            this._-361 = this._-0xv.findChildByName("subtitle");
            this._-349 = _-0C5(this._-0xv.findChildByName("link"));
            this._-2VS = _-4mB(this._-0xv.findChildByName("illustration"));
            this._-0xv.findChildByName("header_button_close").dispose();
            this._-0xv.procedure = this._-rA;
            this._-0xv.caption = _arg2;
            this._-RJ.caption = _arg4;
            if (((!((_arg3 == null))) && (!((_arg3 == "")))))
            {
                this._-361.caption = _arg3;
            }
            else
            {
                this._-361.dispose();
                this._-361 = null;
            };
            if (((((((!((_arg5 == null))) && (!((_arg5 == ""))))) && (!((_arg6 == null))))) && (!((_arg6 == "")))))
            {
                this._-349.caption = _arg5;
                this._-349.addEventListener(WindowMouseEvent._-90, this._-0bi);
                this._-349.immediateClickMode = true;
                this._-5Q = _arg6;
            }
            else
            {
                this._-349.dispose();
                this._-349 = null;
            };
            if (((!((_arg7 == null))) && (!((_arg7 == "")))))
            {
                this._-2VS.addEventListener(WindowEvent._-3K0, this._-0mo);
                this._-2VS.assetUri = _arg7;
            }
            else
            {
                this._-2VS.dispose();
                this._-2VS = null;
            };
            this.resizeWindow();
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this.close();
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function close():void
        {
            if (this._-05i != null)
            {
                if (this._-349 != null)
                {
                    this._-349.removeEventListener(WindowMouseEvent._-90, this._-0bi);
                    this._-349 = null;
                };
                if (this._-2VS)
                {
                    this._-2VS.removeEventListener(WindowEvent._-3K0, this._-0mo);
                    this._-2VS = null;
                };
                this._-0xv = null;
                this._-3EB = null;
                this._-4x- = null;
                this._-35u = null;
                this._-RJ = null;
                this._-361 = null;
                this._-4el = null;
                this._-05i.dispose();
                this._-05i = null;
            };
        }
        private function _-rA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((((_arg1.type == WindowMouseEvent._-90)) && ((_arg2.name == "close_button"))))
            {
                this.dispose();
            };
        }
        private function _-0bi(_arg1:WindowMouseEvent):void
        {
            if (((!((this._-5Q == null))) && ((this._-5Q.length > 0))))
            {
                _-11j._-0D8(this._-5Q, "habboMain");
            }
            else
            {
                if (this._-4el != null)
                {
                    this._-4el();
                    this.dispose();
                };
            };
        }
        private function _-0mo(_arg1:WindowEvent):void
        {
            this._-3EB.x = ((this._-2VS.x + this._-2VS.width) + _-58S);
            this._-0xv.width = ((this._-3EB.x + this._-3EB.width) + _-58S);
            this._-4x-._-2rW.minHeight = (this._-2VS.height + _-58S);
            this.resizeWindow();
        }
        private function resizeWindow():void
        {
            this._-4x-._-0O3();
            this._-35u._-0O3();
            this._-3EB._-0O3();
            this._-0xv.height = (this._-3EB.height + 40);
        }

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-1xB

package _-3Bn
{
    public interface _-1xB extends _-1Ii 
    {

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-1ZL

package _-3Bn
{
    import flash.geom.ColorTransform;
    import flash.display.Stage;
    import _-4pF.HabboWindowManagerComponent;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-09j.WindowType;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import flash.events.Event;
    import _-Ew.IWindowContext;
    import _-1ae.IDesktopWindow;
    import flash.display.BitmapData;
    import _-1ae.IDisplayObjectWrapper;
    import _-Ew.WindowController;
    import flash.geom.Matrix;

    public class _-1ZL implements _-0xN 
    {

        private static const _-2T8:int = 3;
        private static const _-0ex:ColorTransform = new ColorTransform(0.25, 0.25, 0.25);

        private static var _-55v:Stage = null;
        private static var _-U-:HabboWindowManagerComponent;
        private static var _container:IWindowContainer;
        private static var _-M:int;

        private var _disposed:Boolean;
        private var _-4Py:IWindow;
        private var _-4aE:IBitmapWrapperWindow;

        public function _-1ZL(_arg1:HabboWindowManagerComponent, _arg2:XML)
        {
            _-0Em(_arg1);
            this._-4aE = (_-466.create("", "", WindowType._-0HS, 0, WindowParam._-55Y, new Rectangle(0, 0, 1, 1), null, _container, 0) as IBitmapWrapperWindow);
            this._-4Py = _-U-.buildFromXML(_arg2, _-2T8);
            _container.addChild(this._-4Py);
            this._-4Py.center();
            refresh();
        }
        private static function _-0Em(_arg1:HabboWindowManagerComponent):void
        {
            if (_-55v == null)
            {
                _-U- = _arg1;
                _-55v = _-U-.context.displayObjectContainer.stage;
                _container = (_-466.create("", "", WindowType._-4q6, 0, 0, new Rectangle(0, 0, 1, 1), null, null, 0) as IWindowContainer);
                _-55v.addEventListener(Event.RESIZE, _-4zo);
                _-55v.addEventListener(Event.ENTER_FRAME, onEnterFrame);
            };
        }
        private static function get _-466():IWindowContext
        {
            return (_-U-.getWindowContext(_-2T8));
        }
        private static function refresh():void
        {
            var i:int;
            var desktop:IDesktopWindow;
            var child:IWindow;
            var context:IWindowContext;
            var wrapper:IBitmapWrapperWindow;
            var window:IWindow;
            if (_container == null)
            {
                return;
            };
            var noModalDialogs:Boolean = (_container.numChildren == 0);
            i = 0;
            while (i < _-2T8)
            {
                desktop = _-U-.getWindowContext(i).getDesktopWindow();
                desktop.visible = noModalDialogs;
                if (noModalDialogs)
                {
                    for each (child in desktop.iterator)
                    {
                        child.invalidate();
                    };
                };
                i = (i + 1);
            };
            if (noModalDialogs)
            {
                return;
            };
            var rectangle:Rectangle = new Rectangle(0, 0, Math.max(1, _-55v.stageWidth), Math.max(1, _-55v.stageHeight));
            _container.rectangle = rectangle;
            i = 0;
            while (i < _container.numChildren)
            {
                child = _container.getChildAt(i);
                if ((i % 2) == 0)
                {
                    child.rectangle = rectangle;
                    IBitmapWrapperWindow(child).bitmap = null;
                }
                else
                {
                    child.center();
                };
                i = (i + 1);
            };
            var image:BitmapData = new BitmapData(rectangle.width, rectangle.height, false, 0);
            i = 0;
            while (i < _-2T8)
            {
                context = _-U-.getWindowContext(i);
                if (context != null)
                {
                    try
                    {
                        image.draw(IDisplayObjectWrapper(context.getDesktopWindow()).getDisplayObject());
                    }
                    catch(e:SecurityError)
                    {
                        _-Nb.log(("[ModalDialog] security error while drawing modal dialog:" + e.message));
                    };
                };
                i = (i + 1);
            };
            image.colorTransform(image.rect, _-0ex);
            i = 0;
            while (i < _container.numChildren)
            {
                child = _container.getChildAt(i);
                if ((i % 2) == 0)
                {
                    wrapper = (child as IBitmapWrapperWindow);
                    if (i >= 2)
                    {
                        wrapper.bitmap = image.clone();
                        image = wrapper.bitmap;
                        window = _container.getChildAt((i - 1));
                        image.draw(WindowController(window).getGraphicContext(true), new Matrix(1, 0, 0, 1, window.x, window.y), _-0ex);
                    }
                    else
                    {
                        wrapper.bitmap = image;
                    };
                };
                child.visible = (i >= (_container.numChildren - 2));
                child.invalidate();
                i = (i + 1);
            };
        }
        private static function _-4zo(_arg1:Event):void
        {
            if ((((_container == null)) || ((_container.numChildren <= 0))))
            {
                return;
            };
            _-M = 2;
            _container.getChildAt((_container.numChildren - 1)).center();
        }
        private static function onEnterFrame(_arg1:Event):void
        {
            if ((((_container == null)) || ((_container.numChildren <= 0))))
            {
                return;
            };
            if (_-M > 0)
            {
                _-M--;
                if (_-M == 0)
                {
                    refresh();
                };
            };
        }

        public function get _-5Ec():IWindow
        {
            return (this._-4Py);
        }
        public function get background():IBitmapWrapperWindow
        {
            return (this._-4aE);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-4aE != null)
                {
                    this._-4aE.dispose();
                    this._-4aE = null;
                };
                if (this._-4Py != null)
                {
                    this._-4Py.dispose();
                    this._-4Py = null;
                };
                refresh();
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-2ii

package _-3Bn
{
    import _-4pF._-3Ts;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;

    public class _-2ii extends _-2kF implements _-1xB 
    {

        public function _-2ii(_arg1:_-3Ts, _arg2:XML, _arg3:String, _arg4:String, _arg5:uint, _arg6:Function)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
        }
        override protected function dialogEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:WindowEvent;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case _-1Ct:
                        if (_-1Ox != null)
                        {
                            k = WindowEvent._-2W5(WindowEvent._-0-9, null, null);
                            _-1Ox(this, k);
                            k.recycle();
                        };
                        return;
                    case _-35t:
                    case _-1SK:
                        if (_-1Ox != null)
                        {
                            k = WindowEvent._-2W5(WindowEvent._-4dG, null, null);
                            _-1Ox(this, k);
                            k.recycle();
                        };
                        return;
                };
            };
        }

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-2kF

package _-3Bn
{
    import _-1ae.IFrameWindow;
    import _-Ew.IWindow;
    import _-2vN._-54k;
    import _-1ae.IItemListWindow;
    import _-4pF._-3Ts;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IInteractiveWindow;
    import _-1ae.ITextWindow;
    import _-3EM.*;

    public class _-2kF implements _-1Ii, _-5Dv 
    {

        protected static const _-0pZ:String = "_alert_button_list";
        protected static const _-1Ct:String = "_alert_button_ok";
        protected static const _-35t:String = "_alert_button_cancel";
        protected static const _-0LE:String = "_alert_button_custom";
        protected static const _-1SK:String = "header_button_close";
        protected static const _-vU:String = "_alert_text_summary";

        private static var _-0pE:uint = 0;

        protected var _-o7:String = "";
        protected var _-fg:String = "";
        protected var _disposed:Boolean = false;
        protected var _-1Ox:Function = null;
        protected var _-0xv:IFrameWindow;

        public function _-2kF(_arg1:_-3Ts, _arg2:XML, _arg3:String, _arg4:String, _arg5:uint, _arg6:Function)
        {
            var k:IWindow;
            super();
            _-0pE++;
            this._-0xv = (_arg1.buildFromXML(_arg2, 2) as IFrameWindow);
            if (_arg5 == _-54k.NULL)
            {
                k = ((_-54k._-1Ct | _-54k._-0DT) | _-54k._-vU);
            };
            var k:IItemListWindow = (this._-0xv.findChildByName(_-0pZ) as IItemListWindow);
            if (k)
            {
                if (!(_arg5 & _-54k._-1Ct))
                {
                    k = k.getListItemByName(_-1Ct);
                    k.dispose();
                };
                if (!(_arg5 & _-54k._-35t))
                {
                    k = k.getListItemByName(_-35t);
                    k.dispose();
                };
                if (!(_arg5 & _-54k._-0LE))
                {
                    k = k.getListItemByName(_-0LE);
                    k.dispose();
                };
            };
            this._-0xv.procedure = this.dialogEventProc;
            this._-0xv.center();
            this.title = _arg3;
            this.summary = _arg4;
            this.callback = _arg6;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (((this._-0xv) && (!(this._-0xv.disposed))))
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                this._-1Ox = null;
                this._disposed = true;
            };
        }
        protected function dialogEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:WindowEvent;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case _-1Ct:
                        if (this._-1Ox != null)
                        {
                            k = WindowEvent._-2W5(WindowEvent._-0-9, null, null);
                            this._-1Ox(this, k);
                            k.recycle();
                        }
                        else
                        {
                            this.dispose();
                        };
                        return;
                    case _-1SK:
                        if (this._-1Ox != null)
                        {
                            k = WindowEvent._-2W5(WindowEvent._-4dG, null, null);
                            this._-1Ox(this, k);
                            k.recycle();
                        }
                        else
                        {
                            this.dispose();
                        };
                        return;
                };
            };
        }
        public function _-U7(_arg1:int):_-u3
        {
            var k:IInteractiveWindow;
            if (!this._disposed)
            {
                switch (_arg1)
                {
                    case _-54k._-1Ct:
                        k = (this._-0xv.findChildByName(_-1Ct) as IInteractiveWindow);
                        break;
                    case _-54k._-35t:
                        k = (this._-0xv.findChildByName(_-35t) as IInteractiveWindow);
                        break;
                    case _-54k._-0LE:
                        k = (this._-0xv.findChildByName(_-0LE) as IInteractiveWindow);
                        break;
                };
            };
            return (((k) ? new _-2rC(k.caption, k._-2QR, k.visible) : null));
        }
        public function _-3IX(_arg1:int, _arg2:_-u3):void
        {
        }
        public function set title(_arg1:String):void
        {
            this._-o7 = _arg1;
            if (this._-0xv)
            {
                this._-0xv.caption = this._-o7;
            };
        }
        public function get title():String
        {
            return (this._-o7);
        }
        public function set summary(_arg1:String):void
        {
            this._-fg = _arg1;
            if (this._-0xv)
            {
                ITextWindow(this._-0xv.findChildByTag("DESCRIPTION")).text = this._-fg;
            };
        }
        public function get summary():String
        {
            return (this._-fg);
        }
        public function set callback(_arg1:Function):void
        {
            this._-1Ox = _arg1;
        }
        public function get callback():Function
        {
            return (this._-1Ox);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-2rC

package _-3Bn
{
    import _-3Bn.*;

    class _-2rC implements _-u3 
    {

        private var _text:String;
        private var _-3ma:String;
        private var _-r3:Boolean;

        public function _-2rC(_arg1:String, _arg2:String, _arg3:Boolean)
        {
            this._text = _arg1;
            this._-3ma = _arg2;
            this._-r3 = _arg3;
        }
        public function get text():String
        {
            return (this._text);
        }
        public function set text(_arg1:String):void
        {
            this._text = _arg1;
        }
        public function get _-2aH():String
        {
            return (this._-3ma);
        }
        public function set _-2aH(_arg1:String):void
        {
            this._-3ma = _arg1;
        }
        public function get visible():Boolean
        {
            return (this._-r3);
        }
        public function set visible(_arg1:Boolean):void
        {
            this._-r3 = _arg1;
        }

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-4io

package _-3Bn
{
    import _-4pF._-3Ts;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-11j;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1ae.IButtonWindow;

    public class _-4io extends _-2kF implements _-rz 
    {

        protected var _-A5:String = "";
        protected var _-37b:String = "";

        public function _-4io(_arg1:_-3Ts, _arg2:XML, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:uint, _arg8:Function)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg7, _arg8);
            this._-4N9 = _arg5;
            this._-1Qa = _arg6;
        }
        override protected function dialogEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "_alert_button_link":
                        _-11j.navigateToURL(this._-37b, "_empty");
                        return;
                };
            };
            super.dialogEventProc(_arg1, _arg2);
        }
        public function set _-4N9(_arg1:String):void
        {
            this._-A5 = _arg1;
            if (_-0xv)
            {
                IButtonWindow(_-0xv.findChildByTag("LINK")).caption = this._-A5;
            };
        }
        public function get _-4N9():String
        {
            return (this._-A5);
        }
        public function set _-1Qa(_arg1:String):void
        {
            this._-37b = _arg1;
        }
        public function get _-1Qa():String
        {
            return (this._-37b);
        }

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-rz

package _-3Bn
{
    public interface _-rz extends _-1Ii 
    {

        function set _-4N9(_arg1:String):void;
        function get _-4N9():String;
        function set _-1Qa(_arg1:String):void;
        function get _-1Qa():String;

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn._-u3

package _-3Bn
{
    public interface _-u3 
    {

        function get text():String;
        function set text(_arg1:String):void;
        function get _-2aH():String;
        function set _-2aH(_arg1:String):void;
        function get visible():Boolean;
        function set visible(_arg1:Boolean):void;

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn.LimitedItemOverlayNumberBitmapGenerator

package _-3Bn
{
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-295._-39L;

    public class LimitedItemOverlayNumberBitmapGenerator 
    {

        private static const _-4FU:String = "unique_item_number_glyph_";

        public static function _-3HD(_arg1:_-39L, _arg2:int, _arg3:int, _arg4:int):BitmapData
        {
            var k:BitmapDataAsset;
            var k:int;
            var k:BitmapData = new BitmapData(_arg3, _arg4, true, 0);
            var k:int = (_arg2 % 10);
            var k:int = ((_arg2 / 10) % 10);
            var k:int = ((_arg2 / 100) % 10);
            var k:int = ((_arg2 / 1000) % 10);
            var k:Array = new Array();
            var k:int;
            if (k > 0)
            {
                k = BitmapDataAsset(_arg1.getAssetByName((_-4FU + k)));
                k.push(k);
                k = (k + k.rectangle.width);
            };
            if ((((k > 0)) || ((k > 0))))
            {
                k = BitmapDataAsset(_arg1.getAssetByName((_-4FU + k)));
                k.push(k);
                k = (k + k.rectangle.width);
            };
            if ((((((k > 0)) || ((k > 0)))) || ((k > 0))))
            {
                k = BitmapDataAsset(_arg1.getAssetByName((_-4FU + k)));
                k.push(k);
                k = (k + k.rectangle.width);
            };
            k = BitmapDataAsset(_arg1.getAssetByName((_-4FU + k)));
            k.push(k);
            k = (k + k.rectangle.width);
            k--;
            var k:Point = new Point(((_arg3 - k) / 2), 0);
            while (k < k.length)
            {
                k = k[k];
                k.copyPixels(BitmapData(k.content), k.rectangle, k);
                k.x = (k.x + k.rectangle.width);
                k++;
            };
            return (k);
        }

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3Bn.SkinParserUtil

package _-3Bn
{
    import _-295._-2kE;
    import _-2eC.ISkinRenderer;
    import _-3EM._-4pC;
    import flash.utils.Dictionary;
    import _-3EM.TypeCodeTable;
    import _-3EM.StateCodeTable;
    import _-4b0.BitmapSkinRendererPatch;
    import _-2eC.BitmapSkinRenderer;
    import _-4b0._-JY;
    import _-2eC._-1Jb;
    import _-2eC._-4ZY;
    import _-2eC.TextSkinRenderer;
    import _-2eC.LabelRenderer;
    import _-2eC._-4HK;
    import _-2eC.SkinRenderer;
    import _-2eC._-3rF;
    import _-295._-39L;
    import _-3Qs.SkinContainer;

    public class SkinParserUtil 
    {

        private static const _-21Z:String = "skin";
        private static const _-37k:String = "bitmap";
        private static const _-0rh:String = "fill";
        private static const _-1Nl:String = "text";
        private static const _-1U2:String = "label";
        private static const _-4ga:String = "shape";
        private static const _-3lY:String = "unknown";
        private static const _-1Pp:String = "null";

        public static function parse(_arg1:XML, _arg2:_-39L, _arg3:SkinContainer, _arg4:Boolean):void
        {
            var k:XMLList;
            var k:uint;
            var k:XML;
            var k:XMLList;
            var k:String;
            var k:String;
            var k:uint;
            var k:uint;
            var k:String;
            var k:String;
            var k:_-2kE;
            var k:ISkinRenderer;
            var k:String;
            var k:Class;
            var k:_-4pC;
            var k:Array;
            var k:String;
            var k:_-2kE;
            var k:XML;
            var k:String;
            var k:uint;
            var k:_-2kE;
            var k:Dictionary = new Dictionary();
            var k:Dictionary = new Dictionary();
            TypeCodeTable._-37y(k, k);
            var k:Dictionary = new Dictionary();
            var k:Dictionary = new Dictionary();
            StateCodeTable._-37y(k, k);
            var k:Dictionary = new Dictionary();
            k[_-21Z] = ((_arg4) ? BitmapSkinRendererPatch : BitmapSkinRenderer);
            k[_-37k] = ((_arg4) ? _-JY : _-1Jb);
            k[_-0rh] = _-4ZY;
            k[_-1Nl] = TextSkinRenderer;
            k[_-1U2] = LabelRenderer;
            k[_-4ga] = _-4HK;
            k[_-3lY] = SkinRenderer;
            k[_-1Pp] = _-3rF;
            if (_arg1 != null)
            {
                k = _arg1.child("window");
                k = k.length();
                k = [];
                if (k > 0)
                {
                    k = 0;
                    while (k < k)
                    {
                        k = k[k];
                        k = k.attribute("type");
                        k = k.attribute("intent");
                        k = k.attribute("style");
                        k = (k.attribute("blend") as uint);
                        k = (k.attribute("color") as uint);
                        k = k.attribute("asset");
                        k = k.attribute("layout");
                        k = k.attribute("window_layout");
                        k = k.attribute("renderer");
                        k = k.child("states");
                        k = k[k];
                        if (k)
                        {
                            k = new k(k);
                            if (k)
                            {
                                k = _arg2.getAssetByName(k);
                                k.parse(k, k, _arg2);
                                if (((k) && ((k.indexOf(k) == -1))))
                                {
                                    k.push(k);
                                };
                            };
                        };
                        k = new _-4pC();
                        k._-4Sj = ((k.@treshold[0]) ? uint(k.@treshold[0]) : 10);
                        k.background = ((k.@background[0]) ? (k.@background[0] == "true") : false);
                        k.blend = ((k.@blend[0]) ? Number(k.@blend[0]) : 1);
                        k.color = ((k.@color[0]) ? uint(k.@color[0]) : 0xFFFFFF);
                        k.width_min = ((k.@width_min[0]) ? int(k.@width_min[0]) : int.MIN_VALUE);
                        k.width_max = ((k.@width_max[0]) ? int(k.@width_max[0]) : int.MAX_VALUE);
                        k.height_min = ((k.@height_min[0]) ? int(k.@height_min[0]) : int.MIN_VALUE);
                        k.height_max = ((k.@height_max[0]) ? int(k.@height_max[0]) : int.MAX_VALUE);
                        k = null;
                        if (k != null)
                        {
                            k = _arg2.getAssetByName(k);
                            if (k != null)
                            {
                                k = (k.content as XML);
                            };
                        };
                        _arg3._-1XH(k[k], uint(k), k, k, k, k);
                        k++;
                    };
                    for each (k in k)
                    {
                        k.dispose();
                    };
                };
            };
        }

    }
}//package _-3Bn

//------------------------------------------------------------
//_-3CK._-2Hp

package _-3CK
{
    public class _-2Hp 
    {

        public static const _-H7:int = 0;
        public static const _-3nd:int = 1;
        public static const _-t-:int = 2;
        public static const _-4N2:int = 3;
        public static const _-21p:int = 4;
        public static const _-3Is:int = 5;

        private var _-5K:int;
        private var _text:String;
        private var _-HB:int;
        private var _-05f:int;
        private var _-k-:int;
        private var _-3vs:int;
        private var _-3Wj:int;
        private var _-4cj:int;
        private var _-2gP:String;
        private var _-1t4:String;

        public function _-2Hp(_arg1:int, _arg2:String="")
        {
            this._-5K = _arg1;
            this._text = _arg2;
        }
        public function set text(_arg1:String):void
        {
            this._text = _arg1;
        }
        public function set quantity(_arg1:int):void
        {
            this._-HB = _arg1;
        }
        public function set activityPointType(_arg1:int):void
        {
            this._-05f = _arg1;
        }
        public function set discountPriceCredits(_arg1:int):void
        {
            this._-k- = _arg1;
        }
        public function set discountPriceActivityPoints(_arg1:int):void
        {
            this._-3vs = _arg1;
        }
        public function set priceCredits(_arg1:int):void
        {
            this._-3Wj = _arg1;
        }
        public function set priceActivityPoints(_arg1:int):void
        {
            this._-4cj = _arg1;
        }
        public function set _-3T(_arg1:String):void
        {
            this._-2gP = _arg1;
        }
        public function set achievementCode(_arg1:String):void
        {
            this._-1t4 = _arg1;
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get quantity():int
        {
            return (this._-HB);
        }
        public function get priceCredits():int
        {
            return (this._-3Wj);
        }
        public function get priceActivityPoints():int
        {
            return (this._-4cj);
        }
        public function get activityPointType():int
        {
            return (this._-05f);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }
        public function get achievementCode():String
        {
            return (this._-1t4);
        }
        public function get discountPriceCredits():int
        {
            return (this._-k-);
        }
        public function get discountPriceActivityPoints():int
        {
            return (this._-3vs);
        }

    }
}//package _-3CK

//------------------------------------------------------------
//_-3CK._-4eG

package _-3CK
{
    import _-0Ai._-2G7;
    import _-Ew.IWindowContainer;
    import _-1B-.*;

    public class _-4eG implements _-1zZ 
    {

        public static const ALIGN_TOP:int = 0;
        public static const _-1L2:int = 1;
        public static const ALIGN_OVERLAY:int = 2;

        private var _-0Kq:int;
        private var _-0qE:_-2Hp;
        private var _-C-:int;
        private var _-Pr:Boolean;
        private var _disposed:Boolean = false;
        private var _-204:Number;
        private var _-3FV:Number;
        private var _-XO:Boolean = false;

        public function _-4eG(_arg1:_-2G7, _arg2:int, _arg3:_-2Hp, _arg4:int=0, _arg5:Boolean=false)
        {
            this._-0Kq = _arg2;
            this._-0qE = _arg3;
            this._-C- = _arg4;
            this._-Pr = _arg5;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this._-0qE = null;
            this._disposed = true;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function get data():_-2Hp
        {
            return (this._-0qE);
        }
        public function set data(_arg1:_-2Hp):void
        {
            this._-0qE = _arg1;
        }
        public function get _-Nf():int
        {
            return (this._-C-);
        }
        public function get _-158():Boolean
        {
            return (this._-Pr);
        }
        public function get _-ZL():Number
        {
            return (this._-204);
        }
        public function set _-ZL(_arg1:Number):void
        {
            this._-204 = _arg1;
        }
        public function get _-0NJ():Boolean
        {
            return (this._-XO);
        }
        public function get _-4jV():Number
        {
            return (this._-3FV);
        }
        public function set _-4jV(_arg1:Number):void
        {
            this._-3FV = _arg1;
            this._-XO = true;
        }
        public function getRenderedWindow():IWindowContainer
        {
            return (null);
        }

    }
}//package _-3CK

//------------------------------------------------------------
//_-3CK._-57F

package _-3CK
{
    import _-0Ai._-2G7;
    import _-0mD.HabboCatalog;
    import _-18r.Map;
    import _-0HQ.ExtraInfoPromoItem;
    import _-0HQ._-0Gw;
    import _-0HQ._-3kY;
    import _-0HQ._-3O9;
    import _-0HQ._-1OX;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-57F implements _-1zZ, _-0gI 
    {

        private static const _-1Ks:Number = 0.5;
        private static const _-0KD:int = 28;

        private var _-0dg:_-2G7;
        private var _-3oJ:HabboCatalog;
        private var _-2ZH:Map;
        private var _-4mf:int = 0;
        private var _disposed:Boolean = false;
        private var _-2Tv:Number = 0;

        public function _-57F(_arg1:_-2G7, _arg2:HabboCatalog)
        {
            this._-0dg = _arg1;
            this._-3oJ = _arg2;
            this._-2ZH = new Map();
            this._-3oJ.registerUpdateReceiver(this, 10);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set disposed(_arg1:Boolean):void
        {
            this._disposed = _arg1;
        }
        public function dispose():void
        {
            var k:_-4eG;
            if (!this.disposed)
            {
                this._-3oJ.removeUpdateReceiver(this);
                this._-0dg = null;
                this._-3oJ = null;
                for each (k in this._-2ZH)
                {
                    k.dispose();
                };
                this._-2ZH = null;
                this.disposed = true;
            };
        }
        public function clear():void
        {
            var k:_-4eG;
            while (this._-0dg.window.numChildren > 0)
            {
                this._-0dg.window.removeChildAt(0);
            };
            for each (k in this._-2ZH)
            {
                k.dispose();
            };
            this._-2ZH = new Map();
            this.render();
        }
        public function _-0df(_arg1:_-2Hp):int
        {
            var k:_-4eG;
            var k:int = this._-4mf++;
            switch (_arg1.type)
            {
                case _-2Hp._-H7:
                    k = new ExtraInfoPromoItem(this._-0dg, k, _arg1, this._-3oJ);
                    break;
                case _-2Hp._-3nd:
                    k = new _-0Gw(this._-0dg, k, _arg1, this._-3oJ);
                    break;
                case _-2Hp._-t-:
                    k = new _-3kY(k, _arg1, this._-3oJ);
                    break;
                case _-2Hp._-4N2:
                    k = new _-3O9(k, _arg1, this._-3oJ);
                    break;
                case _-2Hp._-21p:
                    k = new _-1OX(k, _arg1);
                    break;
            };
            k._-ZL = this._-2Tv;
            this._-2ZH.add(k, k);
            this._-0dg.window.addChild(k.getRenderedWindow());
            this._-0Ks();
            this.render();
            return (k.id);
        }
        public function _-1UX(_arg1:int):void
        {
            var k:_-4eG = this._-2fQ(_arg1);
            k._-4jV = this._-2Tv;
            if (k._-Nf == _-4eG.ALIGN_OVERLAY)
            {
                this._-lw(k.id);
            };
            this.render();
        }
        public function _-2fQ(_arg1:int):_-4eG
        {
            return (_-4eG(this._-2ZH.getValue(_arg1)));
        }
        private function _-lw(_arg1:int):void
        {
            var k:_-4eG = this._-2fQ(_arg1);
            this._-0dg.window.removeChild(k.getRenderedWindow());
            this._-2ZH.remove(_arg1);
        }
        private function _-58f(_arg1:Number, _arg2:Boolean=false):Number
        {
            if (_arg2)
            {
                return ((1 - Math.abs(Math.cos((((this._-2Tv - _arg1) / _-1Ks) * (Math.PI / 2))))));
            };
            return ((1 - Math.abs(Math.sin((((this._-2Tv - _arg1) / _-1Ks) * (Math.PI / 2))))));
        }
        private function render():void
        {
            var k:_-4eG;
            var k:IWindow;
            var k:Number;
            var k:int;
            var k:int = this._-0dg.window.height;
            var k:Array = this._-2ZH._-0hn();
            for each (k in k)
            {
                k = k.getRenderedWindow();
                k = 0;
                if ((this._-2Tv - _-1Ks) <= k._-ZL)
                {
                    k = this._-58f(k._-ZL);
                };
                if (k._-0NJ)
                {
                    k = this._-58f(k._-4jV, true);
                    if (this._-2Tv > (k._-4jV + _-1Ks))
                    {
                        this._-lw(k.id);
                        break;
                    };
                };
                if (k._-Nf == _-4eG.ALIGN_TOP)
                {
                    k.y = k;
                    k.y = (k.y - (k * Math.min(k.height, _-0KD)));
                    k = (k + k.height);
                }
                else
                {
                    if (k._-Nf == _-4eG._-1L2)
                    {
                        k.y = (k - k.height);
                        k.y = (k.y + (k * Math.min(k.height, _-0KD)));
                        k = (k - k.height);
                    }
                    else
                    {
                        if (k._-Nf == _-4eG.ALIGN_OVERLAY)
                        {
                            k.y = 0;
                        };
                    };
                };
            };
        }
        private function _-0Ks():void
        {
            var k:_-4eG;
            var k:int = (this._-0dg.window.numChildren - 1);
            for each (k in this._-2ZH)
            {
                if (k._-158)
                {
                    this._-0dg.window.setChildIndex(k.getRenderedWindow(), k);
                };
            };
        }
        private function get _-4nn():Boolean
        {
            return (true);
        }
        public function update(_arg1:uint):void
        {
            this._-2Tv = (this._-2Tv + (Number(_arg1) / 1000));
            if (this._-4nn)
            {
                this.render();
            };
        }

    }
}//package _-3CK

//------------------------------------------------------------
//_-3CK._-JN

package _-3CK
{
    import _-0Ai._-2G7;

    public class _-JN extends _-4eG 
    {

        public function _-JN(_arg1:_-2G7, _arg2:int, _arg3:_-2Hp, _arg4:int=0, _arg5:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
        }
        public function update(_arg1:_-2Hp):void
        {
            data = _arg1;
        }

    }
}//package _-3CK

//------------------------------------------------------------
//_-3cY._-1mk

package _-3cY
{
    public class _-1mk 
    {

        public static const _-3dr:int = 1;
        public static const _-3hq:int = 2;
        public static const _-3s7:int = 3;
        public static const _-48R:int = 4;
        public static const _-2zi:int = 5;
        public static const _-2lg:int = 6;
        public static const _-4Xi:int = 7;
        public static const _-570:int = 8;
        public static const _-2LF:int = 9;
        public static const _-0Om:int = 10;
        public static const _-43m:int = 11;
        public static const _-2hK:int = 12;
        public static const _-06w:int = 13;
        public static const _-4cm:int = 14;
        public static const _-4yV:int = 15;
        public static const _-0b3:int = 16;
        public static const _-0CW:int = 17;
        public static const _-2vT:int = 18;
        public static const _-1ss:int = 19;
        public static const _-4gd:int = 20;
        public static const _-30o:int = 21;
        public static const _-i2:int = 22;

    }
}//package _-3cY

//------------------------------------------------------------
//_-3cY._-2Jr

package _-3cY
{
    public class _-2Jr 
    {

        public static const _-4Aq:int = 1;
        public static const _-59K:int = 2;
        public static const _-0Zq:int = 3;
        public static const BADGE:int = 4;
        public static const BOT:int = 5;
        public static const GAMES:int = 6;
        public static const _-4Dq:Array = [_-4Aq, _-59K, _-0Zq, BADGE, BOT];

    }
}//package _-3cY

//------------------------------------------------------------
//_-3cY._-4xg

package _-3cY
{
    public class _-4xg 
    {

        public static const _-3kW:String = "empty";
        public static const _-5Dx:String = "trading";
        public static const _-3aN:String = "recycler";

    }
}//package _-3cY

//------------------------------------------------------------
//_-3cY._-503

package _-3cY
{
    public class _-503 
    {

        public static const _-2uv:String = "furni";
        public static const _-4Ds:String = "badges";
        public static const _-4ma:String = "effects";
        public static const _-0Ij:String = "pets";
        public static const _-2hj:String = "bots";
        public static const _-0VU:String = "marketplace";

    }
}//package _-3cY

//------------------------------------------------------------
//_-3D7._-1Wb

package _-3D7
{
    public class _-1Wb 
    {

        public static var _-3dr:int = 1;
        public static var _-mC:int = 2;
        public static var _-4dq:int = 3;
        public static var _-1Il:int = 4;

    }
}//package _-3D7

//------------------------------------------------------------
//_-3D7._-2fB

package _-3D7
{
    public class _-2fB 
    {

        public static const _-3Fh:int = -1;
        public static const _-85:int = 128;
        public static const _-3D2:int = 0x0100;

    }
}//package _-3D7

//------------------------------------------------------------
//_-3DQ._-0wo

package _-3DQ
{
    import _-4Aj.*;

    public class _-0wo implements _-1oF 
    {

        private var _-2Uc:Array;

        public function _-0wo(_arg1:String, _arg2:String, _arg3:String)
        {
            this._-2Uc = [_arg1, _arg2, _arg3];
        }
        public function _-43Z():Array
        {
            return (this._-2Uc);
        }
        public function dispose():void
        {
            this._-2Uc = null;
        }

    }
}//package _-3DQ

//------------------------------------------------------------
//_-3DQ._-28p

package _-3DQ
{
    import _-4Aj.*;

    public class _-28p implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-3DQ

//------------------------------------------------------------
//_-3DQ._-3p

package _-3DQ
{
    import _-4Aj.*;

    public class _-3p implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-3DQ

//------------------------------------------------------------
//_-3DT.DoorbellView

package _-3DT
{
    import _-1ae.IFrameWindow;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;

    public class DoorbellView 
    {

        private var _-QK:DoorbellWidget;
        private var _frame:IFrameWindow;
        private var _-3EB:IItemListWindow;

        public function DoorbellView(_arg1:DoorbellWidget)
        {
            this._-QK = _arg1;
        }
        public function dispose():void
        {
            this._-3EB = null;
            this._-QK = null;
            if (this._frame)
            {
                this._frame.dispose();
                this._frame = null;
            };
        }
        public function update():void
        {
            var k:int;
            if (this._-QK.users.length == 0)
            {
                this.hide();
                return;
            };
            if (this._frame == null)
            {
                this._-2pq();
            };
            this._frame.visible = true;
            if (this._-3EB != null)
            {
                this._-3EB._-Ls();
                k = 0;
                while (k < this._-QK.users.length)
                {
                    this._-3EB.addListItem(this._-17G((this._-QK.users[k] as String), k));
                    k++;
                };
            };
        }
        public function get mainWindow():IWindow
        {
            return (this._frame);
        }
        private function _-17G(_arg1:String, _arg2:int):IWindow
        {
            var k:IWindow;
            var k:_-243 = (this._-QK.assets.getAssetByName("doorbell_list_entry") as _-243);
            var k:IWindowContainer = (this._-QK.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            var k:ITextWindow = (k.findChildByName("user_name") as ITextWindow);
            if (k != null)
            {
                k.caption = _arg1;
            };
            k.name = _arg1;
            if ((_arg2 % 2) == 0)
            {
                k.color = 0xFFFFFFFF;
            };
            k = k.findChildByName("accept");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-435);
            };
            k = k.findChildByName("deny");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-435);
            };
            return (k);
        }
        private function hide():void
        {
            if (this._frame)
            {
                this._frame.dispose();
                this._frame = null;
            };
        }
        private function _-2pq():void
        {
            if (this._frame != null)
            {
                return;
            };
            var k:_-243 = (this._-QK.assets.getAssetByName("doorbell") as _-243);
            this._frame = (this._-QK.windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            if (this._frame == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            this._-3EB = (this._frame.findChildByName("user_list") as IItemListWindow);
            this._frame.visible = false;
            var k:IWindow = this._frame.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-QK._-2Y();
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            var k:String = _arg1.window.parent.name;
            switch (_arg1.window.name)
            {
                case "accept":
                    this._-QK.accept(k);
                    return;
                case "deny":
                    this._-QK.deny(k);
                    return;
            };
        }

    }
}//package _-3DT

//------------------------------------------------------------
//_-3DT.DoorbellWidget

package _-3DT
{
    import _-FP._-2ul;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-Ew.IWindow;
    import _-og._-1o5;
    import flash.events.IEventDispatcher;
    import _-1FD._-2A3;

    public class DoorbellWidget extends _-2ul 
    {

        private static const _-2rj:int = 50;

        private var _-3a-:Array;
        private var _-Ke:DoorbellView;

        public function DoorbellWidget(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-Ke = new DoorbellView(this);
            this._-3a- = [];
        }
        override public function get mainWindow():IWindow
        {
            return (this._-Ke.mainWindow);
        }
        public function get users():Array
        {
            return (this._-3a-);
        }
        override public function dispose():void
        {
            if (disposed)
            {
                return;
            };
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-3a- = null;
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-1o5._-2m, this._-0-K);
            _arg1.addEventListener(_-1o5._-0Iv, this._-CS);
            _arg1.addEventListener(_-1o5._-4C6, this._-CS);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-1o5._-2m, this._-0-K);
            _arg1.removeEventListener(_-1o5._-0Iv, this._-CS);
            _arg1.removeEventListener(_-1o5._-4C6, this._-CS);
        }
        private function _-0-K(_arg1:_-1o5):void
        {
            this._-3XP(_arg1.userName);
        }
        private function _-CS(_arg1:_-1o5):void
        {
            this._-ee(_arg1.userName);
        }
        public function _-3XP(_arg1:String):void
        {
            if (this._-3a-.indexOf(_arg1) != -1)
            {
                return;
            };
            if (this._-3a-.length >= _-2rj)
            {
                this.deny(_arg1);
                return;
            };
            this._-3a-.push(_arg1);
            this._-Ke.update();
        }
        public function _-ee(_arg1:String):void
        {
            var k:int = this._-3a-.indexOf(_arg1);
            if (k == -1)
            {
                return;
            };
            this._-3a-.splice(k, 1);
            this._-Ke.update();
        }
        public function accept(_arg1:String):void
        {
            var k:_-2A3 = new _-2A3(_arg1, true);
            messageListener.processWidgetMessage(k);
            this._-ee(_arg1);
        }
        public function deny(_arg1:String):void
        {
            var k:_-2A3 = new _-2A3(_arg1, false);
            messageListener.processWidgetMessage(k);
            this._-ee(_arg1);
        }
        public function _-2Y():void
        {
            while (this._-3a-.length > 0)
            {
                this.deny(this._-3a-[0]);
            };
        }

    }
}//package _-3DT

//------------------------------------------------------------
//_-3dU._-3lh

package _-3dU
{
    import flash.utils.ByteArray;

    public interface _-3lh 
    {

        function _-fI():uint;
        function _-0Ml():uint;
        function hash(_arg1:ByteArray):ByteArray;
        function toString():String;
        function _-014():int;

    }
}//package _-3dU

//------------------------------------------------------------
//_-3dU.MD5

package _-3dU
{
    import flash.utils.Endian;
    import flash.utils.ByteArray;

    public class MD5 implements _-3lh 
    {

        public static const _-4cs:int = 16;

        public var _-3k5:int = 48;

        public function _-fI():uint
        {
            return (64);
        }
        public function _-0Ml():uint
        {
            return (_-4cs);
        }
        public function _-014():int
        {
            return (this._-3k5);
        }
        public function hash(_arg1:ByteArray):ByteArray
        {
            var k:uint = (_arg1.length * 8);
            var k:String = _arg1.endian;
            while ((_arg1.length % 4) != 0)
            {
                _arg1[_arg1.length] = 0;
            };
            _arg1.position = 0;
            var k:Array = [];
            _arg1.endian = Endian.LITTLE_ENDIAN;
            var k:uint;
            while (k < _arg1.length)
            {
                k.push(_arg1.readUnsignedInt());
                k = (k + 4);
            };
            var k:Array = this._-Dh(k, k);
            var k:ByteArray = new ByteArray();
            k.endian = Endian.LITTLE_ENDIAN;
            k = 0;
            while (k < 4)
            {
                k.writeUnsignedInt(k[k]);
                k++;
            };
            _arg1.length = (k / 8);
            _arg1.endian = k;
            return (k);
        }
        private function _-Dh(_arg1:Array, _arg2:uint):Array
        {
            var k:uint;
            var k:uint;
            var k:uint;
            var k:uint;
            _arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
            _arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
            var k:uint = 1732584193;
            var k:uint = 4023233417;
            var k:uint = 2562383102;
            var k:uint = 271733878;
            var k:uint;
            while (k < _arg1.length)
            {
                _arg1[k] = ((_arg1[k]) || (0));
                _arg1[(k + 1)] = ((_arg1[(k + 1)]) || (0));
                _arg1[(k + 2)] = ((_arg1[(k + 2)]) || (0));
                _arg1[(k + 3)] = ((_arg1[(k + 3)]) || (0));
                _arg1[(k + 4)] = ((_arg1[(k + 4)]) || (0));
                _arg1[(k + 5)] = ((_arg1[(k + 5)]) || (0));
                _arg1[(k + 6)] = ((_arg1[(k + 6)]) || (0));
                _arg1[(k + 7)] = ((_arg1[(k + 7)]) || (0));
                _arg1[(k + 8)] = ((_arg1[(k + 8)]) || (0));
                _arg1[(k + 9)] = ((_arg1[(k + 9)]) || (0));
                _arg1[(k + 10)] = ((_arg1[(k + 10)]) || (0));
                _arg1[(k + 11)] = ((_arg1[(k + 11)]) || (0));
                _arg1[(k + 12)] = ((_arg1[(k + 12)]) || (0));
                _arg1[(k + 13)] = ((_arg1[(k + 13)]) || (0));
                _arg1[(k + 14)] = ((_arg1[(k + 14)]) || (0));
                _arg1[(k + 15)] = ((_arg1[(k + 15)]) || (0));
                k = this._-2PL(k, k, k, k, _arg1[(k + 0)], 7, 3614090360);
                k = this._-2PL(k, k, k, k, _arg1[(k + 1)], 12, 3905402710);
                k = this._-2PL(k, k, k, k, _arg1[(k + 2)], 17, 606105819);
                k = this._-2PL(k, k, k, k, _arg1[(k + 3)], 22, 3250441966);
                k = this._-2PL(k, k, k, k, _arg1[(k + 4)], 7, 4118548399);
                k = this._-2PL(k, k, k, k, _arg1[(k + 5)], 12, 1200080426);
                k = this._-2PL(k, k, k, k, _arg1[(k + 6)], 17, 2821735955);
                k = this._-2PL(k, k, k, k, _arg1[(k + 7)], 22, 4249261313);
                k = this._-2PL(k, k, k, k, _arg1[(k + 8)], 7, 1770035416);
                k = this._-2PL(k, k, k, k, _arg1[(k + 9)], 12, 2336552879);
                k = this._-2PL(k, k, k, k, _arg1[(k + 10)], 17, 0xFFFF5BB1);
                k = this._-2PL(k, k, k, k, _arg1[(k + 11)], 22, 2304563134);
                k = this._-2PL(k, k, k, k, _arg1[(k + 12)], 7, 1804603682);
                k = this._-2PL(k, k, k, k, _arg1[(k + 13)], 12, 4254626195);
                k = this._-2PL(k, k, k, k, _arg1[(k + 14)], 17, 2792965006);
                k = this._-2PL(k, k, k, k, _arg1[(k + 15)], 22, 1236535329);
                k = this._-4qn(k, k, k, k, _arg1[(k + 1)], 5, 4129170786);
                k = this._-4qn(k, k, k, k, _arg1[(k + 6)], 9, 3225465664);
                k = this._-4qn(k, k, k, k, _arg1[(k + 11)], 14, 643717713);
                k = this._-4qn(k, k, k, k, _arg1[(k + 0)], 20, 3921069994);
                k = this._-4qn(k, k, k, k, _arg1[(k + 5)], 5, 3593408605);
                k = this._-4qn(k, k, k, k, _arg1[(k + 10)], 9, 38016083);
                k = this._-4qn(k, k, k, k, _arg1[(k + 15)], 14, 3634488961);
                k = this._-4qn(k, k, k, k, _arg1[(k + 4)], 20, 3889429448);
                k = this._-4qn(k, k, k, k, _arg1[(k + 9)], 5, 568446438);
                k = this._-4qn(k, k, k, k, _arg1[(k + 14)], 9, 3275163606);
                k = this._-4qn(k, k, k, k, _arg1[(k + 3)], 14, 4107603335);
                k = this._-4qn(k, k, k, k, _arg1[(k + 8)], 20, 1163531501);
                k = this._-4qn(k, k, k, k, _arg1[(k + 13)], 5, 2850285829);
                k = this._-4qn(k, k, k, k, _arg1[(k + 2)], 9, 4243563512);
                k = this._-4qn(k, k, k, k, _arg1[(k + 7)], 14, 1735328473);
                k = this._-4qn(k, k, k, k, _arg1[(k + 12)], 20, 2368359562);
                k = this._-1zs(k, k, k, k, _arg1[(k + 5)], 4, 4294588738);
                k = this._-1zs(k, k, k, k, _arg1[(k + 8)], 11, 2272392833);
                k = this._-1zs(k, k, k, k, _arg1[(k + 11)], 16, 1839030562);
                k = this._-1zs(k, k, k, k, _arg1[(k + 14)], 23, 4259657740);
                k = this._-1zs(k, k, k, k, _arg1[(k + 1)], 4, 2763975236);
                k = this._-1zs(k, k, k, k, _arg1[(k + 4)], 11, 1272893353);
                k = this._-1zs(k, k, k, k, _arg1[(k + 7)], 16, 4139469664);
                k = this._-1zs(k, k, k, k, _arg1[(k + 10)], 23, 3200236656);
                k = this._-1zs(k, k, k, k, _arg1[(k + 13)], 4, 681279174);
                k = this._-1zs(k, k, k, k, _arg1[(k + 0)], 11, 3936430074);
                k = this._-1zs(k, k, k, k, _arg1[(k + 3)], 16, 3572445317);
                k = this._-1zs(k, k, k, k, _arg1[(k + 6)], 23, 76029189);
                k = this._-1zs(k, k, k, k, _arg1[(k + 9)], 4, 3654602809);
                k = this._-1zs(k, k, k, k, _arg1[(k + 12)], 11, 3873151461);
                k = this._-1zs(k, k, k, k, _arg1[(k + 15)], 16, 530742520);
                k = this._-1zs(k, k, k, k, _arg1[(k + 2)], 23, 3299628645);
                k = this._-c4(k, k, k, k, _arg1[(k + 0)], 6, 4096336452);
                k = this._-c4(k, k, k, k, _arg1[(k + 7)], 10, 1126891415);
                k = this._-c4(k, k, k, k, _arg1[(k + 14)], 15, 2878612391);
                k = this._-c4(k, k, k, k, _arg1[(k + 5)], 21, 4237533241);
                k = this._-c4(k, k, k, k, _arg1[(k + 12)], 6, 1700485571);
                k = this._-c4(k, k, k, k, _arg1[(k + 3)], 10, 2399980690);
                k = this._-c4(k, k, k, k, _arg1[(k + 10)], 15, 4293915773);
                k = this._-c4(k, k, k, k, _arg1[(k + 1)], 21, 2240044497);
                k = this._-c4(k, k, k, k, _arg1[(k + 8)], 6, 1873313359);
                k = this._-c4(k, k, k, k, _arg1[(k + 15)], 10, 4264355552);
                k = this._-c4(k, k, k, k, _arg1[(k + 6)], 15, 2734768916);
                k = this._-c4(k, k, k, k, _arg1[(k + 13)], 21, 1309151649);
                k = this._-c4(k, k, k, k, _arg1[(k + 4)], 6, 4149444226);
                k = this._-c4(k, k, k, k, _arg1[(k + 11)], 10, 3174756917);
                k = this._-c4(k, k, k, k, _arg1[(k + 2)], 15, 718787259);
                k = this._-c4(k, k, k, k, _arg1[(k + 9)], 21, 3951481745);
                k = (k + k);
                k = (k + k);
                k = (k + k);
                k = (k + k);
                k = (k + 16);
            };
            return ([k, k, k, k]);
        }
        private function _-0XX(_arg1:uint, _arg2:uint):uint
        {
            return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
        }
        private function _-yB(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:uint):uint
        {
            return ((this._-0XX((((_arg2 + _arg1) + _arg4) + _arg6), _arg5) + _arg3));
        }
        private function _-2PL(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:uint, _arg7:uint):uint
        {
            return (this._-yB(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
        }
        private function _-4qn(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:uint, _arg7:uint):uint
        {
            return (this._-yB(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
        }
        private function _-1zs(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:uint, _arg7:uint):uint
        {
            return (this._-yB(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
        }
        private function _-c4(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:uint, _arg7:uint):uint
        {
            return (this._-yB((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
        }
        public function toString():String
        {
            return ("md5");
        }

    }
}//package _-3dU

//------------------------------------------------------------
//_-3Dz._-1kU

package _-3Dz
{
    import flash.events.Event;

    public class _-1kU extends Event 
    {

        public static const CATALOG_PAGE_OPENED:String = "CATALOG_PAGE_OPENED";

        private var _-2Aj:int;
        private var _-38f:String;

        public function _-1kU(_arg1:int, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(CATALOG_PAGE_OPENED, _arg3, _arg4);
            this._-2Aj = _arg1;
            this._-38f = _arg2;
        }
        public function get pageId():int
        {
            return (this._-2Aj);
        }
        public function get _-41c():String
        {
            return (this._-38f);
        }

    }
}//package _-3Dz

//------------------------------------------------------------
//_-3Ee._-2HN

package _-3Ee
{
    import _-4Aj.*;

    public class _-2HN implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2HN()
        {
            this._-0qE = [];
            super();
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-3Ee

//------------------------------------------------------------
//_-3Ee._-3aS

package _-3Ee
{
    import _-4Aj.*;

    public class _-3aS implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3aS()
        {
            this._-0qE = [];
            super();
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-3Ee

//------------------------------------------------------------
//_-3EM._-0-3

package _-3EM
{
    import flash.text.TextField;

    public interface _-0-3 
    {

        function get textField():TextField;
        function get margins():IMargins;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-0nI

package _-3EM
{
    import flash.geom.Point;
    import flash.events.MouseEvent;
    import flash.events.IEventDispatcher;

    public class _-0nI extends GenericEventQueue 
    {

        protected var _-sK:Point;

        public function _-0nI(_arg1:IEventDispatcher)
        {
            super(_arg1);
            this._-sK = new Point();
            _eventDispatcher.addEventListener(MouseEvent.CLICK, this._-56j, false);
            _eventDispatcher.addEventListener(MouseEvent.DOUBLE_CLICK, this._-56j, false);
            _eventDispatcher.addEventListener(MouseEvent.MOUSE_DOWN, this._-56j, false);
            _eventDispatcher.addEventListener(MouseEvent.MOUSE_MOVE, this._-56j, false);
            _eventDispatcher.addEventListener(MouseEvent.MOUSE_UP, this._-56j, false);
            _eventDispatcher.addEventListener(MouseEvent.MOUSE_WHEEL, this._-56j, false);
        }
        public function get _-3vp():Point
        {
            return (this._-sK);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                _eventDispatcher.removeEventListener(MouseEvent.CLICK, this._-56j, false);
                _eventDispatcher.removeEventListener(MouseEvent.DOUBLE_CLICK, this._-56j, false);
                _eventDispatcher.removeEventListener(MouseEvent.MOUSE_DOWN, this._-56j, false);
                _eventDispatcher.removeEventListener(MouseEvent.MOUSE_MOVE, this._-56j, false);
                _eventDispatcher.removeEventListener(MouseEvent.MOUSE_UP, this._-56j, false);
                _eventDispatcher.removeEventListener(MouseEvent.MOUSE_WHEEL, this._-56j, false);
                super.dispose();
            };
        }
        private function _-56j(_arg1:MouseEvent):void
        {
            this._-sK.x = _arg1.stageX;
            this._-sK.y = _arg1.stageY;
            _-2NT.push(_arg1);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-0vC

package _-3EM
{
    import _-3Qs._-4RO;
    import _-1ae.IDesktopWindow;
    import _-Ew.IWindow;
    import __AS3__.vec.Vector;
    import _-Ew._-1Po;

    public class _-0vC 
    {

        public var renderer:_-4RO;
        public var desktop:IDesktopWindow;
        public var _-3g2:IWindow;
        public var _-1N2:IWindow;
        public var _-38A:Vector.<_-1Po>;

        public function _-0vC(_arg1:_-4RO, _arg2:IDesktopWindow, _arg3:IWindow, _arg4:IWindow, _arg5:Vector.<_-1Po>)
        {
            this.renderer = _arg1;
            this.desktop = _arg2;
            this._-3g2 = _arg3;
            this._-1N2 = _arg4;
            this._-38A = _arg5;
        }
    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-101

package _-3EM
{
    import _-0Ie.WindowEvent;
    import _-Ew.*;

    public interface _-101 extends IWindow 
    {

        function process(_arg1:WindowEvent):Boolean;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-16d

package _-3EM
{
    import flash.events.Event;

    public interface _-16d 
    {

        function get length():uint;
        function begin():void;
        function next():Event;
        function remove():void;
        function end():void;
        function flush():void;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-1AU

package _-3EM
{
    import _-1B-.*;

    public class _-1AU implements IMargins, _-1zZ 
    {

        private var _-070:int;
        private var _-28T:int;
        private var _top:int;
        private var _-06Z:int;
        private var _-1Ox:Function;
        private var _disposed:Boolean = false;

        public function _-1AU(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Function)
        {
            this._-070 = _arg1;
            this._top = _arg2;
            this._-28T = _arg3;
            this._-06Z = _arg4;
            this._-1Ox = (((_arg5)!=null) ? _arg5 : this._-3q5);
        }
        public function get left():int
        {
            return (this._-070);
        }
        public function get right():int
        {
            return (this._-28T);
        }
        public function get top():int
        {
            return (this._top);
        }
        public function get bottom():int
        {
            return (this._-06Z);
        }
        public function set left(_arg1:int):void
        {
            this._-070 = _arg1;
            this._-1Ox(this);
        }
        public function set right(_arg1:int):void
        {
            this._-28T = _arg1;
            this._-1Ox(this);
        }
        public function set top(_arg1:int):void
        {
            this._top = _arg1;
            this._-1Ox(this);
        }
        public function set bottom(_arg1:int):void
        {
            this._-06Z = _arg1;
            this._-1Ox(this);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-3oy():Boolean
        {
            return ((((((((this._-070 == 0)) && ((this._-28T == 0)))) && ((this._top == 0)))) && ((this._-06Z == 0))));
        }
        public function _-3jn(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Function):void
        {
            this._-070 = _arg1;
            this._top = _arg2;
            this._-28T = _arg3;
            this._-06Z = _arg4;
            this._-1Ox = (((_arg5)!=null) ? _arg5 : this._-3q5);
        }
        public function clone(_arg1:Function):_-1AU
        {
            return (new _-1AU(this._-070, this._top, this._-28T, this._-06Z, _arg1));
        }
        public function dispose():void
        {
            this._-1Ox = null;
            this._disposed = true;
        }
        private function _-3q5(_arg1:IMargins):void
        {
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-1lT

package _-3EM
{
    import _-Ew.IWindow;
    import _-18r.Map;
    import _-1B-.*;

    public interface _-1lT extends _-1zZ 
    {

        function parseAndConstruct(_arg1:XML, _arg2:IWindow, _arg3:Map):IWindow;
        function _-1fc(_arg1:IWindow):String;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-2MO

package _-3EM
{
    import _-Ew.IWindow;

    public class _-2MO implements _-31r 
    {

        private var _-c2:int = -2147483648;
        private var _-2ww:int = 2147483647;
        private var _-1CO:int = -2147483648;
        private var _-4U:int = 2147483647;
        private var _-1hZ:IWindow;

        public function _-2MO(_arg1:IWindow)
        {
            this._-1hZ = _arg1;
        }
        public function get minWidth():int
        {
            return (this._-c2);
        }
        public function get maxWidth():int
        {
            return (this._-2ww);
        }
        public function get minHeight():int
        {
            return (this._-1CO);
        }
        public function get maxHeight():int
        {
            return (this._-4U);
        }
        public function set minWidth(_arg1:int):void
        {
            this._-c2 = _arg1;
            if ((((((this._-c2 > int.MIN_VALUE)) && (!(this._-1hZ.disposed)))) && ((this._-1hZ.width < this._-c2))))
            {
                this._-1hZ.width = this._-c2;
            };
        }
        public function set maxWidth(_arg1:int):void
        {
            this._-2ww = _arg1;
            if ((((((this._-2ww < int.MAX_VALUE)) && (!(this._-1hZ.disposed)))) && ((this._-1hZ.width > this._-2ww))))
            {
                this._-1hZ.width = this._-2ww;
            };
        }
        public function set minHeight(_arg1:int):void
        {
            this._-1CO = _arg1;
            if ((((((this._-1CO > int.MIN_VALUE)) && (!(this._-1hZ.disposed)))) && ((this._-1hZ.height < this._-1CO))))
            {
                this._-1hZ.height = this._-1CO;
            };
        }
        public function set maxHeight(_arg1:int):void
        {
            this._-4U = _arg1;
            if ((((((this._-4U < int.MAX_VALUE)) && (!(this._-1hZ.disposed)))) && ((this._-1hZ.height > this._-4U))))
            {
                this._-1hZ.height = this._-4U;
            };
        }
        public function get isEmpty():Boolean
        {
            return ((((((((this._-c2 == int.MIN_VALUE)) && ((this._-2ww == int.MAX_VALUE)))) && ((this._-1CO == int.MIN_VALUE)))) && ((this._-4U == int.MAX_VALUE))));
        }
        public function setEmpty():void
        {
            this._-c2 = int.MIN_VALUE;
            this._-2ww = int.MAX_VALUE;
            this._-1CO = int.MIN_VALUE;
            this._-4U = int.MAX_VALUE;
        }
        public function limit():void
        {
            if (((!(this.isEmpty)) && (this._-1hZ)))
            {
                if (this._-1hZ.width < this._-c2)
                {
                    this._-1hZ.width = this._-c2;
                }
                else
                {
                    if (this._-1hZ.width > this._-2ww)
                    {
                        this._-1hZ.width = this._-2ww;
                    };
                };
                if (this._-1hZ.height < this._-1CO)
                {
                    this._-1hZ.height = this._-1CO;
                }
                else
                {
                    if (this._-1hZ.height > this._-4U)
                    {
                        this._-1hZ.height = this._-4U;
                    };
                };
            };
        }
        public function _-3jn(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            this._-c2 = _arg1;
            this._-2ww = _arg2;
            this._-1CO = _arg3;
            this._-4U = _arg4;
            this.limit();
        }
        public function clone(_arg1:IWindow):_-2MO
        {
            var k:_-2MO = new _-2MO(_arg1);
            k._-c2 = this._-c2;
            k._-2ww = this._-2ww;
            k._-1CO = this._-1CO;
            k._-4U = this._-4U;
            return (k);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-31r

package _-3EM
{
    public interface _-31r 
    {

        function get minWidth():int;
        function get maxWidth():int;
        function get minHeight():int;
        function get maxHeight():int;
        function set minWidth(_arg1:int):void;
        function set maxWidth(_arg1:int):void;
        function set minHeight(_arg1:int):void;
        function set maxHeight(_arg1:int):void;
        function get isEmpty():Boolean;
        function setEmpty():void;
        function limit():void;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-3co

package _-3EM
{
    public interface _-3co extends _-4rs 
    {

        function addChild(_arg1:_-AA):_-AA;
        function addChildAt(_arg1:_-AA, _arg2:int):_-AA;
        function removeChild(_arg1:_-AA):_-AA;
        function removeChildAt(_arg1:int):_-AA;
        function setChildIndex(_arg1:_-AA, _arg2:int):void;
        function swapChildren(_arg1:_-AA, _arg2:_-AA):void;
        function swapChildrenAt(_arg1:int, _arg2:int):void;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-47w

package _-3EM
{
    import flash.display.BitmapData;

    public interface _-47w 
    {

        function get bitmapData():BitmapData;
        function get pivotPoint():uint;
        function set pivotPoint(_arg1:uint):void;
        function get stretchedX():Boolean;
        function set stretchedX(_arg1:Boolean):void;
        function get stretchedY():Boolean;
        function set stretchedY(_arg1:Boolean):void;
        function get _-yR():Number;
        function set _-yR(_arg1:Number):void;
        function get _-394():Number;
        function set _-394(_arg1:Number):void;
        function get greyscale():Boolean;
        function set greyscale(_arg1:Boolean):void;
        function get etchingColor():uint;
        function set etchingColor(_arg1:uint):void;
        function get _-3hC():Boolean;
        function set _-3hC(_arg1:Boolean):void;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-4De

package _-3EM
{
    public interface _-4De 
    {

        function process(_arg1:_-0vC, _arg2:_-16d):void;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-4pC

package _-3EM
{
    public class _-4pC 
    {

        public static var _-2ln:Boolean = true;

        public var color:uint = 0xFFFFFF;
        public var background:Boolean = false;
        public var blend:Number = 1;
        public var _-4Sj:uint = 10;
        public var width_min:int = -2147483648;
        public var width_max:int = 2147483647;
        public var height_min:int = -2147483648;
        public var height_max:int = 2147483647;

        public function _-387():Boolean
        {
            return (((_-2ln) && ((((((((this.width_min > int.MIN_VALUE)) || ((this.height_min > int.MIN_VALUE)))) || ((this.width_max < int.MAX_VALUE)))) || ((this.height_max < int.MAX_VALUE))))));
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-4rs

package _-3EM
{
    public interface _-4rs 
    {

        function get numChildren():int;
        function getChildAt(_arg1:int):_-AA;
        function getChildByID(_arg1:uint):_-AA;
        function getChildByName(_arg1:String):_-AA;
        function getChildIndex(_arg1:_-AA):int;
        function _-0tX(_arg1:uint, _arg2:Array):uint;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-5Dv

package _-3EM
{
    import _-1B-.*;

    public interface _-5Dv extends _-1zZ 
    {

        function set title(_arg1:String):void;
        function get title():String;
        function set summary(_arg1:String):void;
        function get summary():String;
        function set callback(_arg1:Function):void;
        function get callback():Function;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-AA

package _-3EM
{
    public interface _-AA 
    {

        function get id():uint;
        function get name():String;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-L-

package _-3EM
{
    import __AS3__.vec.Vector;
    import _-Ew.IWindow;

    public interface _-L- 
    {

        function get children():Vector.<IWindow>;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-QQ

package _-3EM
{
    public interface _-QQ 
    {

        function get iterator():_-yZ;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM._-yZ

package _-3EM
{
    public interface _-yZ 
    {

        function get length():uint;
        function indexOf(_arg1):int;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.ChildEntityArray

package _-3EM
{
    public class ChildEntityArray extends ChildEntityArrayReader implements _-3co 
    {

        public function removeChild(_arg1:_-AA):_-AA
        {
            var k:int = _-4Nw.indexOf(_arg1);
            if (k < 0)
            {
                return (null);
            };
            _-4Nw.splice(k, 1);
            return (_arg1);
        }
        public function addChild(_arg1:_-AA):_-AA
        {
            _-4Nw.push(_arg1);
            return (_arg1);
        }
        public function addChildAt(_arg1:_-AA, _arg2:int):_-AA
        {
            _-4Nw.splice(_arg2, 0, _arg1);
            return (_arg1);
        }
        public function removeChildAt(_arg1:int):_-AA
        {
            var k:_-AA = _-4Nw[_arg1];
            if (k != null)
            {
                _-4Nw.splice(_arg1, 1);
                return (k);
            };
            return (null);
        }
        public function setChildIndex(_arg1:_-AA, _arg2:int):void
        {
            var k:int = _-4Nw.indexOf(_arg1);
            if ((((k > -1)) && (!((_arg2 == k)))))
            {
                _-4Nw.splice(k, 1);
                _-4Nw.splice(_arg2, 0, _arg1);
            };
        }
        public function swapChildren(_arg1:_-AA, _arg2:_-AA):void
        {
            var k:int;
            var k:int;
            var k:_-AA;
            var k:int;
            if (((((!((_arg1 == null))) && (!((_arg2 == null))))) && (!((_arg1 == _arg2)))))
            {
                k = _-4Nw.indexOf(_arg1);
                if (k < 0)
                {
                    return;
                };
                k = _-4Nw.indexOf(_arg2);
                if (k < 0)
                {
                    return;
                };
                if (k < k)
                {
                    k = _arg1;
                    k = _arg2;
                };
                _-4Nw.splice(k, 1);
                _-4Nw.splice(k, 1);
                _-4Nw.splice(k, 0, _arg2);
                _-4Nw.splice(k, 0, _arg1);
            };
        }
        public function swapChildrenAt(_arg1:int, _arg2:int):void
        {
            this.swapChildren(_-4Nw[_arg1], _-4Nw[_arg2]);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.ChildEntityArrayReader

package _-3EM
{
    import __AS3__.vec.Vector;
    import __AS3__.vec.*;

    public class ChildEntityArrayReader implements _-4rs 
    {

        protected var _-4Nw:Vector.<_-AA>;

        public function ChildEntityArrayReader()
        {
            this._-4Nw = new Vector.<_-AA>();
            super();
        }
        public function get numChildren():int
        {
            return (this._-4Nw.length);
        }
        public function getChildAt(_arg1:int):_-AA
        {
            return (this._-4Nw[_arg1]);
        }
        public function getChildByID(_arg1:uint):_-AA
        {
            var k:_-AA;
            for each (k in this._-4Nw)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function getChildByName(_arg1:String):_-AA
        {
            var k:_-AA;
            for each (k in this._-4Nw)
            {
                if (k.name == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function getChildIndex(_arg1:_-AA):int
        {
            return (this._-4Nw.indexOf(_arg1));
        }
        public function _-0tX(_arg1:uint, _arg2:Array):uint
        {
            var k:_-AA;
            var k:uint;
            for each (k in this._-4Nw)
            {
                if (k.id == _arg1)
                {
                    _arg2.push(k);
                    k++;
                };
            };
            return (k);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.GenericEventQueue

package _-3EM
{
    import flash.events.IEventDispatcher;
    import __AS3__.vec.Vector;
    import flash.events.Event;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class GenericEventQueue implements _-16d, _-1zZ 
    {

        protected var _disposed:Boolean = false;
        protected var _eventDispatcher:IEventDispatcher;
        protected var _-2NT:Vector.<Event>;
        protected var _index:uint = 0;
        protected var _-38v:Boolean = true;

        public function GenericEventQueue(_arg1:IEventDispatcher)
        {
            this._-2NT = new Vector.<Event>();
            this._eventDispatcher = _arg1;
        }
        public function get length():uint
        {
            return (this._-2NT.length);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._eventDispatcher = null;
                if (this._-2NT.length)
                {
                    this._-2NT.splice(0, this._-2NT.length);
                };
                this._disposed = true;
            };
        }
        public function begin():void
        {
            if (!this._-38v)
            {
                this.flush();
            };
            this._index = 0;
            this._-38v = false;
        }
        public function next():Event
        {
            var k:Event;
            if (this._index < this._-2NT.length)
            {
                k = this._-2NT[this._index];
                this._index++;
            };
            return (k);
        }
        public function remove():void
        {
            this._-2NT.splice((this._index - 1), 1);
            if (this._index > 0)
            {
                this._index--;
            };
        }
        public function end():void
        {
            this._index = 0;
            this._-38v = true;
        }
        public function flush():void
        {
            this._-2NT.splice(0, this._-2NT.length);
            this._index = 0;
        }
        protected function _-0CT(_arg1:Event):void
        {
            this._-2NT.push(_arg1);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.IMargins

package _-3EM
{
    public interface IMargins 
    {

        function get left():int;
        function get right():int;
        function get top():int;
        function get bottom():int;
        function set left(_arg1:int):void;
        function set right(_arg1:int):void;
        function set top(_arg1:int):void;
        function set bottom(_arg1:int):void;

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.MouseCursorControl

package _-3EM
{
    import _-09j._-25s;
    import flash.display.Stage;
    import flash.display.DisplayObject;
    import flash.utils.Dictionary;
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.ui.Mouse;
    import flash.ui.MouseCursor;

    public class MouseCursorControl 
    {

        private static var _-5K:uint = _-25s._-3dr;//0
        private static var _-55v:Stage;
        private static var _-r3:Boolean = true;
        private static var _disposed:Boolean = false;
        private static var _-4jS:Boolean = true;
        private static var _-400:DisplayObject;
        private static var _-1bu:Dictionary = new Dictionary();

        public function MouseCursorControl(_arg1:DisplayObject)
        {
            _-55v = _arg1.stage;
        }
        public static function dispose():void
        {
            if (!_disposed)
            {
                if (_-400)
                {
                    _-55v.removeChild(_-400);
                    _-55v.removeEventListener(Event.MOUSE_LEAVE, _-3zw);
                    _-55v.removeEventListener(MouseEvent.MOUSE_MOVE, _-4KR);
                    _-55v.removeEventListener(MouseEvent.MOUSE_OVER, _-4KR);
                    _-55v.removeEventListener(MouseEvent.MOUSE_OUT, _-4KR);
                };
                _disposed = true;
            };
        }
        public static function get disposed():Boolean
        {
            return (_disposed);
        }
        public static function get type():uint
        {
            return (_-5K);
        }
        public static function set type(_arg1:uint):void
        {
            if (_-5K != _arg1)
            {
                _-5K = _arg1;
                _-4jS = true;
            };
        }
        public static function get visible():Boolean
        {
            return (_-r3);
        }
        public static function set visible(_arg1:Boolean):void
        {
            _-r3 = _arg1;
            if (_-r3)
            {
                if (_-400)
                {
                    _-400.visible = true;
                }
                else
                {
                    Mouse.show();
                };
            }
            else
            {
                if (_-400)
                {
                    _-400.visible = false;
                }
                else
                {
                    Mouse.hide();
                };
            };
        }
        public static function change():void
        {
            var k:DisplayObject;
            if (_-4jS)
            {
                k = _-1bu[_-5K];
                if (k)
                {
                    if (_-400)
                    {
                        _-55v.removeChild(_-400);
                    }
                    else
                    {
                        _-55v.addEventListener(Event.MOUSE_LEAVE, _-3zw);
                        _-55v.addEventListener(MouseEvent.MOUSE_MOVE, _-4KR);
                        _-55v.addEventListener(MouseEvent.MOUSE_OVER, _-4KR);
                        _-55v.addEventListener(MouseEvent.MOUSE_OUT, _-4KR);
                        Mouse.hide();
                    };
                    _-400 = k;
                    _-55v.addChild(_-400);
                }
                else
                {
                    if (_-400)
                    {
                        _-55v.removeChild(_-400);
                        _-55v.removeEventListener(Event.MOUSE_LEAVE, _-3zw);
                        _-55v.removeEventListener(MouseEvent.MOUSE_MOVE, _-4KR);
                        _-55v.removeEventListener(MouseEvent.MOUSE_OVER, _-4KR);
                        _-55v.removeEventListener(MouseEvent.MOUSE_OUT, _-4KR);
                        _-400 = null;
                        Mouse.show();
                    };
                    switch (_-5K)
                    {
                        case _-25s._-3dr:
                        case _-25s.ARROW:
                            Mouse.cursor = MouseCursor.ARROW;
                            break;
                        case _-25s._-4hH:
                            Mouse.cursor = MouseCursor.BUTTON;
                            break;
                        case _-25s._-0VB:
                        case _-25s._-0qX:
                        case _-25s._-am:
                        case _-25s._-3bU:
                            Mouse.cursor = MouseCursor.HAND;
                            break;
                        case _-25s.NONE:
                            Mouse.cursor = MouseCursor.ARROW;
                            Mouse.hide();
                            break;
                    };
                };
                _-4jS = false;
            };
        }
        public static function _-1gU(_arg1:uint, _arg2:DisplayObject):void
        {
            _-1bu[_arg1] = _arg2;
        }
        private static function _-4KR(_arg1:MouseEvent):void
        {
            if (_-400)
            {
                _-400.x = (_arg1.stageX - 2);
                _-400.y = _arg1.stageY;
                if (_-5K == _-25s._-3dr)
                {
                    _-r3 = false;
                    Mouse.show();
                }
                else
                {
                    _-r3 = true;
                    Mouse.hide();
                };
            };
        }
        private static function _-3zw(_arg1:Event):void
        {
            if (((_-400) && (!((_-5K == _-25s._-3dr)))))
            {
                Mouse.hide();
                _-r3 = false;
            };
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.MouseEventProcessor

package _-3EM
{
    import flash.geom.Point;
    import _-Ew.WindowController;
    import _-3Qs._-4RO;
    import _-1ae.IDesktopWindow;
    import __AS3__.vec.Vector;
    import _-Ew._-1Po;
    import _-09j._-25s;
    import _-09j.WindowState;
    import _-0Ie.WindowMouseEvent;
    import flash.events.MouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-09j.WindowParam;
    import _-1ae.IInteractiveWindow;
    import flash.display.BitmapData;
    import _-1B-.*;
    import _-09j.*;

    public class MouseEventProcessor implements _-4De, _-1zZ 
    {

        protected static var _-09B:Array;
        protected static var _-4rk:Array;
        protected static var _-1ty:Point = new Point();

        protected var _-2vG:Point;
        protected var _-118:WindowController;
        protected var _-3r9:WindowController;
        protected var _-3nN:_-4RO;
        protected var _-0zZ:IDesktopWindow;
        protected var _-02v:Vector.<_-1Po>;
        private var _disposed:Boolean = false;

        public function MouseEventProcessor()
        {
            this._-2vG = new Point();
            if (_-09B == null)
            {
                _-09B = new Array();
                _-09B[0] = _-25s._-4hH;
                _-09B[1] = _-25s._-3dr;
                _-09B[2] = _-25s._-4hH;
                _-09B[3] = _-25s._-4hH;
                _-09B[4] = _-25s._-4hH;
                _-09B[5] = _-25s._-3dr;
                _-09B[6] = _-25s._-4hH;
            };
            if (_-4rk == null)
            {
                _-4rk = new Array();
                _-4rk[0] = WindowState._-143;
                _-4rk[1] = WindowState._-0SB;
                _-4rk[2] = WindowState._-1kG;
                _-4rk[3] = WindowState._-2Rp;
                _-4rk[4] = WindowState._-t0;
                _-4rk[5] = WindowState._-0pb;
                _-4rk[6] = WindowState._-4C-;
            };
        }
        public static function _-2E-(_arg1:uint, _arg2:uint):void
        {
            var k:int = _-4rk.indexOf(_arg1);
            if (k > -1)
            {
                _-09B[k] = _arg2;
            };
        }
        public static function _-lr(_arg1:uint):uint
        {
            var k:uint = _-4rk.length;
            while (k-- > 0)
            {
                if ((_arg1 & _-4rk[k]) > 0)
                {
                    return (_-09B[k]);
                };
            };
            return (_-25s._-3dr);
        }
        protected static function _-4tJ(_arg1:MouseEvent, _arg2:IWindow, _arg3:IWindow):WindowMouseEvent
        {
            var k:String;
            var k:Point;
            var _local6:Boolean;
            k = new Point(_arg1.stageX, _arg1.stageY);
            _arg2._-fa(k);
            switch (_arg1.type)
            {
                case MouseEvent.MOUSE_MOVE:
                    k = WindowMouseEvent._-2dT;
                    break;
                case MouseEvent.MOUSE_OVER:
                    k = WindowMouseEvent._-4ea;
                    break;
                case MouseEvent.MOUSE_OUT:
                    k = WindowMouseEvent._-4e2;
                    break;
                case MouseEvent.ROLL_OUT:
                    k = WindowMouseEvent._-4Id;
                    break;
                case MouseEvent.ROLL_OVER:
                    k = WindowMouseEvent._-4os;
                    break;
                case MouseEvent.CLICK:
                    k = WindowMouseEvent._-90;
                    break;
                case MouseEvent.DOUBLE_CLICK:
                    k = WindowMouseEvent._-4B7;
                    break;
                case MouseEvent.MOUSE_DOWN:
                    k = WindowMouseEvent._-3Jy;
                    break;
                case MouseEvent.MOUSE_UP:
                    _local6 = (((((((k.x > -1)) && ((k.y > -1)))) && ((k.x < _arg2.width)))) && ((k.y < _arg2.height)));
                    k = ((_local6) ? WindowMouseEvent._-02B : WindowMouseEvent._-2uJ);
                    break;
                case MouseEvent.MOUSE_WHEEL:
                    k = WindowMouseEvent._-yk;
                    break;
                default:
                    k = WindowEvent.UNKNOWN;
            };
            return (WindowMouseEvent._-2W5(k, _arg2, _arg3, k.x, k.y, _arg1.stageX, _arg1.stageY, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey, _arg1.buttonDown, _arg1.delta));
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
            };
        }
        public function process(_arg1:_-0vC, _arg2:_-16d):void
        {
            var event:MouseEvent;
            var index:int;
            var child:WindowController;
            var array:Array;
            var tempWindowEvent:WindowEvent;
            var window:IWindow;
            var temp:IWindow;
            var state:_-0vC = _arg1;
            var eventQueue:_-16d = _arg2;
            if (eventQueue.length == 0)
            {
                return;
            };
            this._-0zZ = state.desktop;
            this._-3r9 = (state._-3g2 as WindowController);
            this._-118 = (state._-1N2 as WindowController);
            this._-3nN = state.renderer;
            this._-02v = state._-38A;
            eventQueue.begin();
            this._-2vG.x = -1;
            this._-2vG.y = -1;
            var mouseCursorType:int = _-25s._-3dr;
            while (true)
            {
                event = (eventQueue.next() as MouseEvent);
                if (event == null) break;
                if (((!((event.stageX == this._-2vG.x))) || (!((event.stageY == this._-2vG.y)))))
                {
                    this._-2vG.x = event.stageX;
                    this._-2vG.y = event.stageY;
                    array = new Array();
                    this._-0zZ._-3JT(this._-2vG, array, WindowParam._-55Y);
                };
                index = (((array)!=null) ? array.length : 0);
                if (index == 0)
                {
                    switch (event.type)
                    {
                        case MouseEvent.MOUSE_MOVE:
                            if (((!((this._-3r9 == this._-0zZ))) && (!(this._-3r9.disposed))))
                            {
                                this._-3r9.getGlobalPosition(_-1ty);
                                tempWindowEvent = WindowMouseEvent._-2W5(WindowMouseEvent._-4e2, this._-3r9, null, (event.stageX - _-1ty.x), (event.stageY - _-1ty.y), event.stageX, event.stageY, event.altKey, event.ctrlKey, event.shiftKey, event.buttonDown, event.delta);
                                this._-3r9.update(this._-3r9, tempWindowEvent);
                                this._-3r9 = WindowController(this._-0zZ);
                                tempWindowEvent.recycle();
                            };
                            break;
                        case MouseEvent.MOUSE_DOWN:
                            window = this._-0zZ._-2x-();
                            if (window)
                            {
                                window.deactivate();
                            };
                            break;
                        case MouseEvent.MOUSE_UP:
                            if (this._-118)
                            {
                                array.push(this._-118);
                                index = (index + 1);
                            };
                            break;
                    };
                };
                while ((index = (index - 1)), index > -1)
                {
                    child = this._-4ai(WindowController(array[index]), event);
                    if (((!((child == null))) && (child.visible)))
                    {
                        if (event.type == MouseEvent.MOUSE_MOVE)
                        {
                            if (child != this._-3r9)
                            {
                                if (!this._-3r9.disposed)
                                {
                                    this._-3r9.getGlobalPosition(_-1ty);
                                    tempWindowEvent = WindowMouseEvent._-2W5(WindowMouseEvent._-4e2, this._-3r9, child, (event.stageX - _-1ty.x), (event.stageY - _-1ty.y), event.stageX, event.stageY, event.altKey, event.ctrlKey, event.shiftKey, event.buttonDown, event.delta);
                                    this._-3r9.update(this._-3r9, tempWindowEvent);
                                    tempWindowEvent.recycle();
                                };
                                if (!child.disposed)
                                {
                                    child.getGlobalPosition(_-1ty);
                                    tempWindowEvent = WindowMouseEvent._-2W5(WindowMouseEvent._-4ea, child, null, (event.stageX - _-1ty.x), (event.stageY - _-1ty.y), event.stageX, event.stageY, event.altKey, event.ctrlKey, event.shiftKey, event.buttonDown, event.delta);
                                    child.update(child, tempWindowEvent);
                                    tempWindowEvent.recycle();
                                };
                                if (!child.disposed)
                                {
                                    this._-3r9 = child;
                                };
                            };
                        };
                        temp = child.parent;
                        while (((temp) && (!(temp.disposed))))
                        {
                            if ((temp is _-101))
                            {
                                tempWindowEvent = _-4tJ(event, temp, child);
                                _-101(temp).process(tempWindowEvent);
                                tempWindowEvent.recycle();
                                break;
                            };
                            temp = temp.parent;
                        };
                        if (event.altKey)
                        {
                            if (this._-3r9)
                            {
                                _-Nb.log(("HOVER: " + this._-3r9.name));
                            };
                        };
                        if ((this._-3r9 is IInteractiveWindow))
                        {
                            try
                            {
                                mouseCursorType = IInteractiveWindow(this._-3r9)._-lr(this._-3r9.state);
                                if (mouseCursorType == _-25s._-3dr)
                                {
                                    mouseCursorType = _-lr(this._-3r9.state);
                                };
                            }
                            catch(e:Error)
                            {
                                mouseCursorType = _-25s._-3dr;
                            };
                        };
                        if (child != this._-0zZ)
                        {
                            event.stopPropagation();
                            eventQueue.remove();
                        };
                        break;
                    };
                };
            };
            eventQueue.end();
            MouseCursorControl.type = mouseCursorType;
            state.desktop = this._-0zZ;
            state._-3g2 = this._-3r9;
            state._-1N2 = this._-118;
            state.renderer = this._-3nN;
            state._-38A = this._-02v;
        }
        private function _-4ai(_arg1:WindowController, _arg2:MouseEvent, _arg3:Boolean=false):WindowController
        {
            var k:_-1Po;
            var k:BitmapData;
            if (_arg1.disposed)
            {
                return (null);
            };
            if (_arg1._-eg(WindowState._-4C-))
            {
                return (null);
            };
            var k:Boolean;
            var k:Point = new Point(_arg2.stageX, _arg2.stageY);
            _arg1._-fa(k);
            if (_arg2.type == MouseEvent.MOUSE_UP)
            {
                if (_arg1 != this._-118)
                {
                    if (((this._-118) && (!(this._-118.disposed))))
                    {
                        this._-118.update(this._-118, _-4tJ(new MouseEvent(MouseEvent.MOUSE_UP, false, true, _arg2.localX, _arg2.localY, null, _arg2.ctrlKey, _arg2.altKey, _arg2.shiftKey, _arg2.buttonDown, _arg2.delta), this._-118, _arg1));
                        this._-118 = null;
                        if (_arg1.disposed)
                        {
                            return (null);
                        };
                    };
                }
                else
                {
                    k = !(_arg1._-3ML(k));
                };
            };
            if (!k)
            {
                k = this._-3nN._-2d(_arg1);
                if (!_arg1._-2r4(k, k))
                {
                    return (null);
                };
            };
            if (_arg1._-1s-(WindowParam._-3Qn))
            {
                if (_arg1.parent != null)
                {
                    return (this._-4ai(WindowController(_arg1.parent), _arg2));
                };
            };
            if (!_arg3)
            {
                switch (_arg2.type)
                {
                    case MouseEvent.MOUSE_DOWN:
                        this._-118 = _arg1;
                        break;
                    case MouseEvent.CLICK:
                        if (this._-118 != _arg1)
                        {
                            return (null);
                        };
                        this._-118 = null;
                        break;
                    case MouseEvent.DOUBLE_CLICK:
                        if (this._-118 != _arg1)
                        {
                            return (null);
                        };
                        this._-118 = null;
                        break;
                };
            };
            var k:IWindow;
            var k:WindowMouseEvent = _-4tJ(_arg2, _arg1, k);
            var k:Boolean = _arg1.update(_arg1, k);
            for each (k in this._-02v)
            {
                k._-0Q7(k, _arg1);
            };
            k.recycle();
            if (((!(k)) && (!(_arg3))))
            {
                if (_arg1.parent)
                {
                    return (this._-4ai(WindowController(_arg1.parent), _arg2));
                };
            };
            return (_arg1);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.ParamCodeTable

package _-3EM
{
    import _-09j.WindowParam;
    import flash.utils.Dictionary;

    public class ParamCodeTable extends WindowParam 
    {

        public static function _-37y(_arg1:Dictionary, _arg2:Dictionary=null):void
        {
            var k:String;
            _arg1["null"] = _-Lm;
            _arg1["bound_to_parent_rect"] = _-JK;
            _arg1["child_window"] = _-4K1;
            _arg1["embedded_controller"] = _-2J8;
            _arg1["expand_to_accommodate_children"] = _-Bh;
            _arg1["input_event_processor"] = _-55Y;
            _arg1["internal_event_handling"] = _-0Sf;
            _arg1["mouse_dragging_target"] = _-Oi;
            _arg1["mouse_dragging_trigger"] = _-cc;
            _arg1["mouse_scaling_target"] = _-2ZP;
            _arg1["mouse_scaling_trigger"] = _-51t;
            _arg1["horizontal_mouse_scaling_trigger"] = _-21i;
            _arg1["vertical_mouse_scaling_trigger"] = _-4rz;
            _arg1["observe_parent_input_events"] = _-22p;
            _arg1["parent_window"] = _-2QG;
            _arg1["resize_to_accommodate_children"] = _-4Uq;
            _arg1["relative_horizontal_scale_center"] = _-07N;
            _arg1["relative_horizontal_scale_fixed"] = _-4Gm;
            _arg1["relative_horizontal_scale_move"] = _-ci;
            _arg1["relative_horizontal_scale_strech"] = _-170;
            _arg1["relative_scale_center"] = _-1uG;
            _arg1["relative_scale_fixed"] = _-0FF;
            _arg1["relative_scale_move"] = _-2YA;
            _arg1["relative_scale_strech"] = _-Qa;
            _arg1["relative_vertical_scale_center"] = _-0LA;
            _arg1["relative_vertical_scale_fixed"] = _-2zO;
            _arg1["relative_vertical_scale_move"] = _-1If;
            _arg1["relative_vertical_scale_strech"] = _-0Ef;
            _arg1["on_resize_align_left"] = _-0a0;
            _arg1["on_resize_align_right"] = _-2KQ;
            _arg1["on_resize_align_center"] = _-1MD;
            _arg1["on_resize_align_top"] = _-4M6;
            _arg1["on_resize_align_bottom"] = _-2Xh;
            _arg1["on_resize_align_middle"] = _-xz;
            _arg1["on_accommodate_align_left"] = _-05d;
            _arg1["on_accommodate_align_right"] = _-1EO;
            _arg1["on_accommodate_align_center"] = _-2PN;
            _arg1["on_accommodate_align_top"] = _-1CP;
            _arg1["on_accommodate_align_bottom"] = _-27N;
            _arg1["on_accommodate_align_middle"] = _-4uL;
            _arg1["route_input_events_to_parent"] = _-3Qn;
            _arg1["use_parent_graphic_context"] = _-Cp;
            _arg1["draggable_with_mouse"] = _-0WF;
            _arg1["scalable_with_mouse"] = _-3dS;
            _arg1["reflect_horizontal_resize_to_parent"] = _-0Pb;
            _arg1["reflect_vertical_resize_to_parent"] = _-2a6;
            _arg1["reflect_resize_to_parent"] = _-3TP;
            _arg1["force_clipping"] = _-2gg;
            _arg1["inherit_caption"] = _-0Oc;
            if (_arg2 != null)
            {
                for (k in _arg1)
                {
                    _arg2[_arg1[k]] = k;
                };
            };
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.PropertyStruct

package _-3EM
{
    import flash.geom.Point;
    import flash.geom.Rectangle;
    import _-18r.Map;
    import flash.utils.getQualifiedClassName;

    public class PropertyStruct 
    {

        public static const _-2FT:String = "hex";
        public static const _-48r:String = "int";
        public static const _-02g:String = "uint";
        public static const NUMBER:String = "Number";
        public static const _-11e:String = "Boolean";
        public static const STRING:String = "String";
        public static const _-2o9:String = "Point";
        public static const _-0ov:String = "Rectangle";
        public static const _-11L:String = "Array";
        public static const _-1F5:String = "Map";

        private var _-Yi:String;
        private var _-3lK:Object;
        private var _-5K:String;
        private var _-47X:Boolean;
        private var _-4A-:Boolean;
        private var _-3o0:Array;

        public function PropertyStruct(_arg1:String, _arg2:Object, _arg3:String, _arg4:Boolean=false, _arg5:Array=null)
        {
            this._-Yi = _arg1;
            this._-3lK = _arg2;
            this._-5K = _arg3;
            this._-47X = _arg4;
            this._-4A- = (((((((_arg3 == _-1F5)) || ((_arg3 == _-11L)))) || ((_arg3 == _-2o9)))) || ((_arg3 == _-0ov)));
            this._-3o0 = _arg5;
        }
        public function get key():String
        {
            return (this._-Yi);
        }
        public function get value():Object
        {
            return (this._-3lK);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get valid():Boolean
        {
            return (this._-47X);
        }
        public function get _-1iM():Array
        {
            return (this._-3o0);
        }
        public function _-4Ns(_arg1:String):PropertyStruct
        {
            return (new PropertyStruct(((_arg1 + ":") + this._-Yi), this._-3lK, this._-5K, this._-47X, this._-3o0));
        }
        public function _-5Ex():PropertyStruct
        {
            return (new PropertyStruct(this._-Yi.replace(/.*:/, ""), this._-3lK, this._-5K, this._-47X, this._-3o0));
        }
        public function _-25t(_arg1:Object):PropertyStruct
        {
            var _local3:Array;
            var _local4:Array;
            var k:int;
            var k:Boolean = true;
            switch (this._-5K)
            {
                case _-02g:
                case _-2FT:
                    k = !((uint(this._-3lK) == uint(_arg1)));
                    break;
                case _-48r:
                    k = !((int(this._-3lK) == int(_arg1)));
                    break;
                case NUMBER:
                    k = !((Number(this._-3lK) == Number(_arg1)));
                    break;
                case _-11e:
                    k = !((Boolean(this._-3lK) == Boolean(_arg1)));
                    break;
                case STRING:
                    k = !((String(this._-3lK) == String(_arg1)));
                    break;
                case _-11L:
                    _local3 = (this._-3lK as Array);
                    _local4 = (_arg1 as Array);
                    if (((((!((_local3 == null))) && (!((_local4 == null))))) && ((_local3.length == _local4.length))))
                    {
                        k = false;
                        k = 0;
                        while (k < _local4.length)
                        {
                            if (_local3[k] != _local4[k])
                            {
                                k = true;
                                break;
                            };
                            k++;
                        };
                    };
                    break;
            };
            if (k)
            {
                return (new PropertyStruct(this._-Yi, _arg1, this.type, true, this._-3o0));
            };
            return (this);
        }
        public function toString():String
        {
            switch (this._-5K)
            {
                case _-2FT:
                    return (("0x" + uint(this._-3lK).toString(16)));
                case _-11e:
                    return ((((Boolean(this._-3lK))==true) ? "true" : "false"));
                case _-2o9:
                    return ((((("Point(" + Point(this._-3lK).x) + ", ") + Point(this._-3lK).y) + ")"));
                case _-0ov:
                    return ((((((((("Rectangle(" + Rectangle(this._-3lK).x) + ", ") + Rectangle(this._-3lK).y) + ", ") + Rectangle(this._-3lK).width) + ", ") + Rectangle(this._-3lK).height) + ")"));
            };
            return (String(this.value));
        }
        public function toXMLString():String
        {
            var k:String;
            var k:int;
            var _local3:Map;
            var _local4:Array;
            var _local5:Point;
            var _local6:Rectangle;
            switch (this._-5K)
            {
                case _-1F5:
                    _local3 = (this._-3lK as Map);
                    k = (((('<var key="' + this._-Yi) + '">\r<value>\r<') + this._-5K) + ">\r");
                    k = 0;
                    while (k < _local3.length)
                    {
                        k = (k + (((((('<var key="' + _local3.getKey(k)) + '" value="') + _local3.getWithIndex(k)) + '" type="') + getQualifiedClassName(_local3.getWithIndex(k))) + '" />\r'));
                        k++;
                    };
                    k = (k + (("</" + this._-5K) + ">\r</value>\r</var>"));
                    break;
                case _-11L:
                    _local4 = (this._-3lK as Array);
                    k = (((('<var key="' + this._-Yi) + '">\r<value>\r<') + this._-5K) + ">\r");
                    k = 0;
                    while (k < _local4.length)
                    {
                        k = (k + (((((('<var key="' + String(k)) + '" value="') + _local4[k]) + '" type="') + getQualifiedClassName(_local4[k])) + '" />\r'));
                        k++;
                    };
                    k = (k + (("</" + this._-5K) + ">\r</value>\r</var>"));
                    break;
                case _-2o9:
                    _local5 = (this._-3lK as Point);
                    k = (((('<var key="' + this._-Yi) + '">\r<value>\r<') + this._-5K) + ">\r");
                    k = (k + (((('<var key="x" value="' + _local5.x) + '" type="') + _-48r) + '" />\r'));
                    k = (k + (((('<var key="y" value="' + _local5.y) + '" type="') + _-48r) + '" />\r'));
                    k = (k + (("</" + this._-5K) + ">\r</value>\r</var>"));
                    break;
                case _-0ov:
                    _local6 = (this._-3lK as Rectangle);
                    k = (((('<var key="' + this._-Yi) + '">\r<value>\r<') + this._-5K) + ">\r");
                    k = (k + (((('<var key="x" value="' + _local6.x) + '" type="') + _-48r) + '" />\r'));
                    k = (k + (((('<var key="y" value="' + _local6.y) + '" type="') + _-48r) + '" />\r'));
                    k = (k + (((('<var key="width" value="' + _local6.width) + '" type="') + _-48r) + '" />\r'));
                    k = (k + (((('<var key="height" value="' + _local6.height) + '" type="') + _-48r) + '" />\r'));
                    k = (k + (("</" + this._-5K) + ">\r</value>\r</var>"));
                    break;
                case _-2FT:
                    k = ((((((('<var key="' + this._-Yi) + '" value="') + "0x") + uint(this._-3lK).toString(16)) + '" type="') + this._-5K) + '" />');
                    break;
                default:
                    k = (((((('<var key="' + this._-Yi) + '" value="') + this._-3lK) + '" type="') + this._-5K) + '" />');
            };
            return (k);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.StateCodeTable

package _-3EM
{
    import _-09j.WindowState;
    import flash.utils.Dictionary;

    public class StateCodeTable 
    {

        public static function _-37y(_arg1:Dictionary, _arg2:Dictionary=null):void
        {
            var k:String;
            _arg1["default"] = WindowState._-50M;
            _arg1["active"] = WindowState._-143;
            _arg1["focused"] = WindowState._-0SB;
            _arg1["hovering"] = WindowState._-1kG;
            _arg1["selected"] = WindowState._-t0;
            _arg1["pressed"] = WindowState._-0pb;
            _arg1["disabled"] = WindowState._-4C-;
            _arg1["locked"] = WindowState._-2Rp;
            if (_arg2 != null)
            {
                for (k in _arg1)
                {
                    _arg2[_arg1[k]] = k;
                };
            };
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.TextFieldCache

package _-3EM
{
    import _-18r.Map;
    import flash.events.Event;
    import flash.text.TextField;
    import flash.text.TextFormat;
    import flash.text.FontStyle;
    import flash.text.AntiAliasType;
    import flash.text.TextFieldAutoSize;
    import _-18r.FontEnum;
    import _-1B-.*;

    public class TextFieldCache implements _-1zZ 
    {

        private static var _-2dE:Map = new Map();
        private static var _-0vJ:TextFieldCache = new (TextFieldCache)();

        private var _disposed:Boolean = false;

        public function TextFieldCache()
        {
            if (_-0vJ == null)
            {
                TextStyleManager.events.addEventListener(Event.CHANGE, this._-p2);
            };
        }
        public static function _-1-N(_arg1:TextStyle):TextField
        {
            var k:TextField = _-2dE[_arg1.name];
            if (k)
            {
                return (k);
            };
            k = new TextField();
            var k:TextFormat = k.defaultTextFormat;
            if (!_arg1)
            {
                k = TextStyleManager.getStyle(TextStyleManager.REGULAR);
            };
            k.font = _arg1.fontFamily;
            k.size = _arg1.fontSize;
            k.color = _arg1.color;
            k.bold = (((_arg1.fontWeight == FontStyle.BOLD)) ? true : null);
            k.italic = (((_arg1.fontStyle == FontStyle.ITALIC)) ? true : null);
            k.underline = (((_arg1.textDecoration == TextStyle._-0Nw)) ? true : null);
            k.indent = _arg1.textIndent;
            k.leading = _arg1.leading;
            k.kerning = _arg1.kerning;
            k.letterSpacing = _arg1.letterSpacing;
            k.antiAliasType = (((_arg1.antiAliasType == AntiAliasType.ADVANCED)) ? AntiAliasType.ADVANCED : AntiAliasType.NORMAL);
            k.sharpness = ((_arg1.sharpness) ? (_arg1.sharpness as int) : 0);
            k.thickness = ((_arg1.thickness) ? (_arg1.thickness as int) : 0);
            if (!_arg1.fontWeight)
            {
                k.bold = false;
            };
            if (!_arg1.fontStyle)
            {
                k.italic = false;
            };
            if (!_arg1.textDecoration)
            {
                k.underline = false;
            };
            if (!_arg1.textIndent)
            {
                k.indent = 0;
            };
            if (!_arg1.leading)
            {
                k.leading = 0;
            };
            if (!_arg1.kerning)
            {
                k.kerning = false;
            };
            if (!_arg1.letterSpacing)
            {
                k.letterSpacing = 0;
            };
            if (!_arg1.antiAliasType)
            {
                k.antiAliasType = AntiAliasType.NORMAL;
            };
            k.autoSize = TextFieldAutoSize.LEFT;
            k.setTextFormat(k);
            k.embedFonts = FontEnum._-0DE(k.font);
            k.defaultTextFormat = k;
            _-2dE[_arg1.name] = k;
            return (k);
        }
        public static function _-3G9(_arg1:String):TextField
        {
            var k:TextStyle = TextStyleManager.getStyle(_arg1);
            if (!k)
            {
                _-Nb.log((('TextFieldCache.getTextFieldByStyleName(...); No such style: "' + _arg1) + '"!'));
                return (null);
            };
            return (_-1-N(k));
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            TextStyleManager.events.removeEventListener(Event.CHANGE, this._-p2);
            _-2dE.reset();
            _-0vJ = null;
            this._disposed = true;
        }
        private function _-p2(_arg1:Event):void
        {
            _-2dE.reset();
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.TextStyle

package _-3EM
{
    public class TextStyle 
    {

        public static const NORMAL:String = "normal";
        public static const ITALIC:String = "italic";
        public static const BOLD:String = "bold";
        public static const _-0Nw:String = "underline";
        public static const NONE:String = "none";
        public static const ADVANCED:String = "advanced";
        public static const TOP_LEFT:String = "top-left";
        public static const _-2wo:String = "top";
        public static const _-02y:String = "top-right";
        public static const LEFT:String = "left";
        public static const RIGHT:String = "right";
        public static const _-4oo:String = "bottom-left";
        public static const _-3KL:String = "bottom";
        public static const _-0vs:String = "bottom-right";

        public var name:String;
        public var color:Object;
        public var fontFamily:String;
        public var fontSize:Object = null;
        public var fontStyle:String = null;
        public var fontWeight:String = null;
        public var kerning:Object = null;
        public var leading:Object = null;
        public var letterSpacing:Object = null;
        public var textDecoration:String = null;
        public var textIndent:Object = null;
        public var antiAliasType:String = null;
        public var sharpness:Object = null;
        public var thickness:Object = null;
        public var etchingColor:Object = null;
        public var etchingPosition:Object = null;

        public function toString():String
        {
            var k:String = "";
            k = (k + (this.name + " {\n"));
            if (this.color)
            {
                k = (k + (("\tcolor: #" + this.color.toString()) + ";\n"));
            };
            if (this.fontFamily)
            {
                k = (k + (("\tfont-family: " + this.fontFamily) + ";\n"));
            };
            if (this.fontSize)
            {
                k = (k + (("\tfont-size: " + this.fontSize) + ";\n"));
            };
            if (this.fontStyle)
            {
                k = (k + (("\tfont-style: " + this.fontStyle) + ";\n"));
            };
            if (this.fontWeight)
            {
                k = (k + (("\tfont-weight: " + this.fontWeight) + ";\n"));
            };
            if (this.kerning)
            {
                k = (k + (("\tkerning: " + this.kerning) + ";\n"));
            };
            if (this.leading)
            {
                k = (k + (("\tleading: " + this.leading) + ";\n"));
            };
            if (this.letterSpacing)
            {
                k = (k + (("\tletter-spacing: " + this.letterSpacing) + ";\n"));
            };
            if (this.textDecoration)
            {
                k = (k + (("\ttext-decoration: " + this.textDecoration) + ";\n"));
            };
            if (this.textIndent)
            {
                k = (k + (("\ttext-indent: " + this.textIndent) + ";\n"));
            };
            if (this.antiAliasType)
            {
                k = (k + (("\tanti-alias-type: " + this.antiAliasType) + ";\n"));
            };
            if (this.sharpness)
            {
                k = (k + (("\tsharpness: " + this.sharpness) + ";\n"));
            };
            if (this.thickness)
            {
                k = (k + (("\tthickness: " + this.thickness) + ";\n"));
            };
            if (this.etchingColor)
            {
                k = (k + (("\tetching-color: #" + this.etchingColor.toString()) + ";\n"));
            };
            if (this.etchingPosition)
            {
                k = (k + (("\tetching-direction: " + this.etchingPosition) + ";\n"));
            };
            k = (k + "}");
            return (k);
        }
        public function _-DQ(_arg1:TextStyle):Boolean
        {
            return ((((((((((((((((((((((((((((((this.color == _arg1.color)) && ((this.fontFamily == _arg1.fontFamily)))) && ((this.fontSize == _arg1.fontSize)))) && ((this.fontStyle == _arg1.fontStyle)))) && ((this.fontWeight == _arg1.fontWeight)))) && ((this.kerning == _arg1.kerning)))) && ((this.leading == _arg1.leading)))) && ((this.letterSpacing == _arg1.letterSpacing)))) && ((this.textDecoration == _arg1.textDecoration)))) && ((this.textIndent == _arg1.textIndent)))) && ((this.antiAliasType == _arg1.antiAliasType)))) && ((this.sharpness == _arg1.sharpness)))) && ((this.thickness == _arg1.thickness)))) && ((this.etchingColor == _arg1.etchingColor)))) && ((this.etchingPosition == _arg1.etchingPosition))));
        }
        public function clone():TextStyle
        {
            var k:TextStyle = new TextStyle();
            k.name = this.name;
            k.color = this.color;
            k.fontFamily = this.fontFamily;
            k.fontSize = this.fontSize;
            k.fontStyle = this.fontStyle;
            k.fontWeight = this.fontWeight;
            k.kerning = this.kerning;
            k.leading = this.leading;
            k.letterSpacing = this.letterSpacing;
            k.textDecoration = this.textDecoration;
            k.textIndent = this.textIndent;
            k.antiAliasType = this.antiAliasType;
            k.sharpness = this.sharpness;
            k.thickness = this.thickness;
            k.etchingColor = this.etchingColor;
            k.etchingPosition = this.etchingPosition;
            return (k);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.TextStyleManager

package _-3EM
{
    import _-18r.Map;
    import flash.events.IEventDispatcher;
    import _-0yf.EventDispatcherWrapper;
    import flash.events.Event;
    import flash.text.StyleSheet;

    public class TextStyleManager 
    {

        public static const REGULAR:String = "regular";
        public static const ITALIC:String = "italic";
        public static const BOLD:String = "bold";
        private static const _-0ju:String = "{";
        private static const _-4S0:String = "}";
        private static const _-4LY:String = "/*";
        private static const _-2Jf:String = "*/";

        private static var _-2it:Map;
        private static var _-3b2:Array;
        private static var _eventDispatcher:IEventDispatcher;

        {
            init();
        }
        public static function get events():IEventDispatcher
        {
            return (_eventDispatcher);
        }
        private static function init():void
        {
            var k:TextStyle;
            _-2it = new Map();
            _-3b2 = new Array();
            _eventDispatcher = new EventDispatcherWrapper();
            k = new TextStyle();
            k.name = REGULAR;
            k.color = 0;
            k.fontSize = "9";
            k.fontFamily = "Courier";
            k.fontStyle = "normal";
            k.fontWeight = "normal";
            _-2it[k.name] = k;
            _-3b2.push(k.name);
            k = new TextStyle();
            k.name = ITALIC;
            k.color = 0;
            k.fontSize = "9";
            k.fontFamily = "Courier";
            k.fontStyle = "italic";
            k.fontWeight = "normal";
            _-2it[k.name] = k;
            _-3b2.push(k.name);
            k = new TextStyle();
            k.name = BOLD;
            k.color = 0;
            k.fontSize = "9";
            k.fontFamily = "Courier";
            k.fontStyle = "normal";
            k.fontWeight = "bold";
            _-2it[k.name] = k;
            _-3b2.push(k.name);
        }
        public static function getStyle(_arg1:String):TextStyle
        {
            return (_-2it[_arg1]);
        }
        public static function _-3hB(_arg1:int):TextStyle
        {
            return (_-2it.getWithIndex(_arg1));
        }
        public static function _-0G-(_arg1:String, _arg2:TextStyle):void
        {
            var k = !(_-2it._-VD(_arg1));
            _arg2.name = _arg1;
            _-2it[_arg1] = _arg2;
            if (k)
            {
                _-3b2.push(_arg1);
                _eventDispatcher.dispatchEvent(new Event(Event.ADDED));
            }
            else
            {
                _eventDispatcher.dispatchEvent(new Event(Event.CHANGE));
            };
        }
        public static function _-0kK(_arg1:Array, _arg2:Boolean=false):void
        {
            var k:TextStyle;
            var k:Array;
            if (_arg2)
            {
                k = [_-2it[REGULAR], _-2it[ITALIC], _-2it[BOLD]];
                _-2it.reset();
                _-2it[REGULAR] = k[0];
                _-2it[ITALIC] = k[1];
                _-2it[BOLD] = k[2];
            };
            var k:int = _-2it.length;
            for each (k in _arg1)
            {
                _-2it[k.name] = k;
                if (_-3b2.indexOf(k.name) == -1)
                {
                    _-3b2.push(k.name);
                };
            };
            _eventDispatcher.dispatchEvent(new Event(Event.CHANGE));
            if (_-2it.length != k)
            {
                _eventDispatcher.dispatchEvent(new Event(Event.ADDED));
            };
        }
        public static function _-2Z0(_arg1:String):TextStyle
        {
            var k:TextStyle;
            var k:TextStyle = (parseCSS(_arg1)[0] as TextStyle);
            if (k)
            {
                k = _-2it[k.name];
                if (((k) && (k._-DQ(k))))
                {
                    return (k);
                };
            };
            return (null);
        }
        public static function _-2po():Array
        {
            var k:Array = new Array();
            var k:int = _-2it.length;
            var k:int;
            while (k < k)
            {
                k.push(_-2it.getWithIndex(k));
                k++;
            };
            return (k);
        }
        public static function _-1KV():Array
        {
            return (_-2it._-18C());
        }
        public static function _-1Fs():Array
        {
            return (_-3b2);
        }
        public static function parseCSS(_arg1:String):Array
        {
            var k:Object;
            var k:TextStyle;
            var k:String;
            var k:StyleSheet = new StyleSheet();
            k.parseCSS(_arg1);
            var k:Array = _-2s3(_arg1);
            var k:Array = new Array();
            for each (k in k)
            {
                k = k.getStyle(k);
                k = new TextStyle();
                k.name = k;
                k.color = ((k.color) ? uint(String(k.color).replace("#", "0x")) : null);
                k.fontFamily = ((k.fontFamily) ? k.fontFamily : null);
                k.fontSize = ((k.fontSize) ? parseInt(String(k.fontSize)) : null);
                k.fontStyle = ((k.fontStyle) ? k.fontStyle : null);
                k.fontWeight = ((k.fontWeight) ? k.fontWeight : null);
                k.kerning = ((k.kerning) ? (k.kerning == "true") : null);
                k.leading = ((k.leading) ? parseInt(String(k.leading)) : null);
                k.letterSpacing = ((k.letterSpacing) ? parseInt(k.letterSpacing.toString()) : null);
                k.textDecoration = ((k.textDecoration) ? k.textDecoration : null);
                k.textIndent = ((k.textIndent) ? parseInt(k.textIndent.toString()) : null);
                k.antiAliasType = ((k.antiAliasType) ? k.antiAliasType : null);
                k.sharpness = ((k.sharpness) ? parseInt(k.sharpness) : null);
                k.thickness = ((k.thickness) ? parseInt(k.thickness) : null);
                k.etchingColor = ((k.etchingColor) ? uint(String(k.etchingColor).replace("#", "0x")) : null);
                k.etchingPosition = ((k.etchingPosition) ? String(k.etchingPosition) : null);
                k.push(k);
            };
            return (k);
        }
        private static function _-2s3(_arg1:String):Array
        {
            var k:String;
            var k:Array = [];
            var k:String = _arg1;
            k = k.split("\t").join("");
            k = k.split("\n").join("");
            k = k.split("\r").join("");
            var k:Array = k.split(_-4S0);
            if (_-2w-(_arg1, _-0ju) != _-2w-(_arg1, _-4S0))
            {
                throw (new Error((((('Mismatching amount of "' + _-0ju) + '" versus "') + _-4S0) + '", please check the CSS!')));
            };
            for each (k in k)
            {
                while (true)
                {
                    if (k.indexOf(_-4LY) == 0)
                    {
                        k = k.substring((k.indexOf(_-2Jf) + 2), k.length);
                    }
                    else
                    {
                        break;
                    };
                };
                k = k.slice(0, k.indexOf(_-0ju)).split(" ").join("");
                if (k.length)
                {
                    k.push(k);
                };
            };
            return (k);
        }
        private static function _-2w-(_arg1:String, _arg2:String):int
        {
            var k:int;
            var k:int;
            while ((k = _arg1.indexOf(_arg2, k)) != -1)
            {
                k++;
                k++;
            };
            return (k);
        }
        public static function toString():String
        {
            var k:TextStyle;
            var k:Array = _-2po();
            var k:String = "";
            for each (k in k)
            {
                k = (k + (k.toString() + "\n\n"));
            };
            return (k);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.TypeCodeTable

package _-3EM
{
    import _-09j.WindowType;
    import flash.utils.Dictionary;

    public class TypeCodeTable extends WindowType 
    {

        public static function _-37y(_arg1:Dictionary, _arg2:Dictionary=null):void
        {
            var k:String;
            _arg1["background"] = _-1Q3;
            _arg1["bitmap"] = _-0HS;
            _arg1["border"] = _-45W;
            _arg1["border_notify"] = _-2-Z;
            _arg1["bubble"] = _-2ks;
            _arg1["bubble_pointer_up"] = _-4f8;
            _arg1["bubble_pointer_right"] = _-Jv;
            _arg1["bubble_pointer_down"] = _-3sY;
            _arg1["bubble_pointer_left"] = _-15O;
            _arg1["button"] = _-1zW;
            _arg1["button_thick"] = _-2la;
            _arg1["button_icon"] = _-0JX;
            _arg1["button_group_left"] = _-4F5;
            _arg1["button_group_center"] = _-iW;
            _arg1["button_group_right"] = _-4T2;
            _arg1["checkbox"] = _-1-S;
            _arg1["closebutton"] = _-3G4;
            _arg1["container"] = _-4q6;
            _arg1["container_button"] = _-CP;
            _arg1["display_object_wrapper"] = _-0Nv;
            _arg1["dropmenu"] = _-1M0;
            _arg1["dropmenu_item"] = _-4Yi;
            _arg1["droplist"] = _-1qf;
            _arg1["droplist_item"] = _-2kj;
            _arg1["formatted_text"] = _-ja;
            _arg1["frame"] = _-1op;
            _arg1["frame_notify"] = _-0BD;
            _arg1["header"] = _-xo;
            _arg1["html"] = _-1Gk;
            _arg1["icon"] = _-047;
            _arg1["itemgrid"] = _-IW;
            _arg1["itemgrid_horizontal"] = _-cS;
            _arg1["itemgrid_vertical"] = _-0bm;
            _arg1["itemlist"] = _-SD;
            _arg1["itemlist_horizontal"] = _-0BA;
            _arg1["itemlist_vertical"] = _-1J0;
            _arg1["label"] = _-VE;
            _arg1["maximizebox"] = _-26d;
            _arg1["menu"] = _-3Oi;
            _arg1["menu_item"] = _-2a4;
            _arg1["submenu"] = _-4ya;
            _arg1["minimizebox"] = _-0CG;
            _arg1["notify"] = _-4lE;
            _arg1["null"] = _-4Jd;
            _arg1["password"] = _-1Yj;
            _arg1["radiobutton"] = _-1nH;
            _arg1["region"] = _-4Y4;
            _arg1["restorebox"] = _-1w3;
            _arg1["scaler"] = _-1Fv;
            _arg1["scaler_horizontal"] = _-41n;
            _arg1["scaler_vertical"] = _-3tr;
            _arg1["scrollbar_horizontal"] = _-3tF;
            _arg1["scrollbar_vertical"] = _-3hf;
            _arg1["scrollbar_slider_button_up"] = _-4z3;
            _arg1["scrollbar_slider_button_down"] = _-4mU;
            _arg1["scrollbar_slider_button_left"] = _-3UI;
            _arg1["scrollbar_slider_button_right"] = _-3lG;
            _arg1["scrollbar_slider_bar_horizontal"] = _-1Ko;
            _arg1["scrollbar_slider_bar_vertical"] = _-0di;
            _arg1["scrollbar_slider_track_horizontal"] = _-2AL;
            _arg1["scrollbar_slider_track_vertical"] = _-401;
            _arg1["scrollable_itemlist"] = _-xh;
            _arg1["scrollable_itemlist_vertical"] = _-0CI;
            _arg1["scrollable_itemlist_horizontal"] = _-4f-;
            _arg1["selector"] = _-32g;
            _arg1["selector_list"] = _-0-a;
            _arg1["static_bitmap"] = _-5Dq;
            _arg1["submenu"] = _-4ya;
            _arg1["tab_button"] = _-0jC;
            _arg1["tab_container_button"] = _-1fp;
            _arg1["tab_context"] = _-1io;
            _arg1["tab_content"] = _-0-8;
            _arg1["tab_selector"] = _-48Q;
            _arg1["text"] = _-3va;
            _arg1["input"] = _-4di;
            _arg1["link"] = _-3nF;
            _arg1["toolbar"] = _-3Mp;
            _arg1["tooltip"] = _-2qK;
            _arg1["widget"] = _-5AK;
            if (_arg2 != null)
            {
                for (k in _arg1)
                {
                    _arg2[_arg1[k]] = k;
                };
            };
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.WindowParser

package _-3EM
{
    import flash.utils.Dictionary;
    import _-18r.Map;
    import _-Ew.IWindowContext;
    import _-Ew.IWindow;
    import _-18r.XMLVariableParser;
    import _-Ew.WindowController;
    import flash.geom.Rectangle;
    import flash.filters.BitmapFilter;
    import _-09j.WindowParam;
    import flash.filters.DropShadowFilter;
    import flash.utils.*;

    public class WindowParser implements _-1lT 
    {

        public static const _-4Tj:String = "_EXCLUDE";
        public static const _-0Hb:String = "_INCLUDE";
        public static const _-0mO:String = "_TEMP";
        private static const _-2nM:String = "layout";
        private static const _-4JS:String = "window";
        private static const _-3mE:String = "variables";
        private static const _-10K:String = "filters";
        private static const _-0nO:String = "name";
        private static const _-2sy:String = "style";
        private static const _-fF:String = "params";
        private static const _-35z:String = "tags";
        private static const X:String = "x";
        private static const _-1Kx:String = "y";
        private static const _-38n:String = "width";
        private static const _-0KS:String = "height";
        private static const _-ch:String = "visible";
        private static const _-1YI:String = "caption";
        private static const ID:String = "id";
        private static const _-4j4:String = "background";
        private static const _-3yA:String = "blend";
        private static const _-4BH:String = "clipping";
        private static const COLOR:String = "color";
        private static const _-0bB:String = "treshold";
        private static const _-0WD:String = "children";
        private static const _-f6:String = "width_min";
        private static const _-3nj:String = "width_max";
        private static const _-4A8:String = "height_min";
        private static const _-rT:String = "height_max";
        private static const TRUE:String = "true";
        private static const _-1Ge:String = "0";
        private static const _-2eI:String = "$";
        private static const COMMA:String = ",";
        private static const _-3kW:String = "";
        private static const _-1FE:RegExp = /^(\s|\n|\r|\t|\v)*/m;
        private static const _-3xG:RegExp = /(\s|\n|\r|\t|\v)*$/;

        protected var _-3G0:Dictionary;
        protected var _-3Iw:Dictionary;
        protected var _-3Ro:Dictionary;
        protected var _-4Qv:Dictionary;
        protected var _-3Lk:Map;
        protected var _context:IWindowContext;
        private var _disposed:Boolean = false;

        public function WindowParser(_arg1:IWindowContext)
        {
            this._context = _arg1;
            this._-3G0 = new Dictionary();
            this._-3Iw = new Dictionary();
            TypeCodeTable._-37y(this._-3G0, this._-3Iw);
            this._-3Ro = new Dictionary();
            this._-4Qv = new Dictionary();
            ParamCodeTable._-37y(this._-3Ro, this._-4Qv);
            this._-3Lk = new Map();
        }
        private static function _-2FE(_arg1:String):String
        {
            k = _arg1.replace(_-3xG, _-3kW);
            k = k.replace(_-1FE, _-3kW);
            return (k);
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            var k:Object;
            if (!this._disposed)
            {
                for (k in this._-3G0)
                {
                    delete this._-3G0[k];
                };
                for (k in this._-3Iw)
                {
                    delete this._-3Iw[k];
                };
                for (k in this._-3Ro)
                {
                    delete this._-3Ro[k];
                };
                for (k in this._-4Qv)
                {
                    delete this._-4Qv[k];
                };
                this._-3Lk.dispose();
                this._-3Lk = null;
                this._context = null;
                this._disposed = true;
            };
        }
        public function parseAndConstruct(_arg1:XML, _arg2:IWindow, _arg3:Map):IWindow
        {
            var k:XMLList;
            var k:uint;
            var k:IWindow;
            var k:uint;
            var k:XMLList;
            var k:XMLList;
            var k:XML;
            var k:XMLList;
            var k:Array;
            var k:uint;
            if (_arg1.localName() == _-2nM)
            {
                k = _arg1.child(_-3mE);
                if (k.length() > 0)
                {
                    k = k[0];
                    k = XML(k[0]).children();
                    if (k.length() > 0)
                    {
                        if (_arg3 == null)
                        {
                            k = new Map();
                        };
                        XMLVariableParser.parseVariableList(k, _arg3);
                    };
                };
                k = _arg1.child(_-10K).children();
                if (k.length() > 0)
                {
                    k = new Array();
                    k = 0;
                    while (k < k.length())
                    {
                        k.push(this._-4-2(k[k]));
                        k++;
                    };
                    _arg2.filters = k;
                };
                k = _arg1.child(_-4JS);
                k = k.length();
                switch (k)
                {
                    case 0:
                        return (null);
                    case 1:
                        k = k[0];
                        break;
                    default:
                        k = 0;
                        while (k < k)
                        {
                            k = this._-1dX(k[k], WindowController(_arg2), _arg3);
                            k++;
                        };
                        return (k);
                };
            };
            if (_arg1.localName() == _-4JS)
            {
                k = _arg1.children();
                k = k.length();
                if (k > 1)
                {
                    k = 0;
                    while (k < k)
                    {
                        k = this._-1dX(k[k], WindowController(_arg2), _arg3);
                        k++;
                    };
                    return (k);
                };
                k = _arg1.children()[0];
            };
            return ((((_arg1)!=null) ? this._-1dX(_arg1, WindowController(_arg2), _arg3) : null));
        }
        private function _-1dX(_arg1:XML, _arg2:WindowController, _arg3:Map):IWindow
        {
            var k:WindowController;
            var k:uint;
            var k:String;
            var k:Rectangle;
            var k:XML;
            var k:XMLList;
            var k:uint;
            var k:uint;
            var k:Array;
            var k:String;
            var k:Array;
            var k:BitmapFilter;
            var k:_-yZ;
            var k:String = _-3kW;
            var k:Boolean = true;
            var k:Boolean = true;
            var k:String = "0x00ffffff";
            var k:Number = 1;
            var k:Boolean;
            var k:uint = 10;
            var k:uint = (((_arg2)!=null) ? _arg2.style : 0);
            var k:uint;
            var k:String = _-3kW;
            var k:int;
            k = this._-3G0[_arg1.localName()];
            k = unescape(String(this._-3TY(_arg1, _-0nO, _arg3, "")));
            k = uint(this._-3TY(_arg1, _-2sy, _arg3, k));
            k = uint(this._-3TY(_arg1, _-fF, _arg3, k));
            k = unescape(String(this._-3TY(_arg1, _-35z, _arg3, k)));
            k = new Rectangle();
            k.x = Number(this._-3TY(_arg1, X, _arg3, _-1Ge));
            k.y = Number(this._-3TY(_arg1, _-1Kx, _arg3, _-1Ge));
            k.width = Number(this._-3TY(_arg1, _-38n, _arg3, _-1Ge));
            k.height = Number(this._-3TY(_arg1, _-0KS, _arg3, _-1Ge));
            k = (this._-3TY(_arg1, _-ch, _arg3, k.toString()) == TRUE);
            k = int(this._-3TY(_arg1, ID, _arg3, k.toString()));
            if (_arg1.child(_-fF).length() > 0)
            {
                k = _arg1.child(_-fF).children();
                k = k.length();
                k = 0;
                while (k < k)
                {
                    k = k[k];
                    k = (this._-3TY(k, _-0nO, _arg3, "") as String);
                    if (this._-3Ro[k] != null)
                    {
                        k = (k | this._-3Ro[k]);
                    }
                    else
                    {
                        throw (new Error((('Unknown window parameter "' + String(k.attribute(_-0nO))) + '"!')));
                    };
                    k++;
                };
            };
            k = (((k & WindowParam._-0Oc)) ? ((_arg2) ? _arg2.caption : _-3kW) : _-3kW);
            k = unescape(String(this._-3TY(_arg1, _-1YI, _arg3, k)));
            if (k != _-3kW)
            {
                k = k.split(COMMA);
                k = k.length;
                k = 0;
                while (k < k)
                {
                    k[k] = WindowParser._-2FE(k[k]);
                    k++;
                };
            };
            k = (this._context.create(k, null, k, k, k, k, null, (((_arg2 is _-QQ)) ? null : _arg2), k, this._-471(_arg1.child(_-3mE)[0]), k) as WindowController);
            if (this._-2Lf(_arg1, _-f6))
            {
                k._-2rW.minWidth = int(this._-3TY(_arg1, _-f6, _arg3, k._-2rW.minWidth));
            };
            if (this._-2Lf(_arg1, _-3nj))
            {
                k._-2rW.maxWidth = int(this._-3TY(_arg1, _-3nj, _arg3, k._-2rW.maxWidth));
            };
            if (this._-2Lf(_arg1, _-4A8))
            {
                k._-2rW.minHeight = int(this._-3TY(_arg1, _-4A8, _arg3, k._-2rW.minHeight));
            };
            if (this._-2Lf(_arg1, _-rT))
            {
                k._-2rW.maxHeight = int(this._-3TY(_arg1, _-rT, _arg3, k._-2rW.maxHeight));
            };
            k._-2rW.limit();
            k = (this._-3TY(_arg1, _-4j4, _arg3, k.background.toString()) == TRUE);
            k = Number(this._-3TY(_arg1, _-3yA, _arg3, k.blend.toString()));
            k = (this._-3TY(_arg1, _-4BH, _arg3, k.clipping.toString()) == TRUE);
            k = String(this._-3TY(_arg1, COLOR, _arg3, k.color.toString()));
            k = uint(this._-3TY(_arg1, _-0bB, _arg3, k.mouseThreshold.toString()));
            if (k.caption != k)
            {
                k.caption = k;
            };
            if (k.blend != k)
            {
                k.blend = k;
            };
            if (k.visible != k)
            {
                k.visible = k;
            };
            if (k.clipping != k)
            {
                k.clipping = k;
            };
            if (k.background != k)
            {
                k.background = k;
            };
            if (k.mouseThreshold != k)
            {
                k.mouseThreshold = k;
            };
            var k:uint = (((k.charAt(1))==X) ? parseInt(k, 16) : uint(k));
            if (k.color != k)
            {
                k.color = k;
            };
            k = _arg1.child(_-10K).children();
            k = k.length();
            if (k > 0)
            {
                k = new Array();
                k = 0;
                while (k < k)
                {
                    k = (this._-4-2(k[k]) as BitmapFilter);
                    if (k != null)
                    {
                        k.push(k);
                    };
                    k++;
                };
                k.filters = k;
            };
            if (k != null)
            {
                if (_arg2 != null)
                {
                    if ((_arg2 is _-QQ))
                    {
                        if (((((((!((k.x == k.x))) || (!((k.y == k.y))))) || (!((k.width == k.width))))) || (!((k.height == k.height)))))
                        {
                            if ((k & WindowParam._-WC) == WindowParam._-07N)
                            {
                                k.x = k.x;
                            };
                            if ((k & WindowParam._-DX) == WindowParam._-0LA)
                            {
                                k.y = k.y;
                            };
                        };
                        try
                        {
                            k = _-QQ(_arg2).iterator;
                        }
                        catch(e:Error)
                        {
                        };
                        if (k != null)
                        {
                            k[k.length] = k;
                        }
                        else
                        {
                            _arg2.addChild(k);
                        };
                    };
                };
            };
            k = _arg1.child(_-0WD);
            if (k.length() > 0)
            {
                k = k[0];
                k = k.children();
                k = k.length();
                k = 0;
                while (k < k)
                {
                    this.parseAndConstruct(k[k], k, _arg3);
                    k++;
                };
            };
            return (k);
        }
        private function _-2Lf(_arg1:XML, _arg2:String):Boolean
        {
            return ((_arg1.attribute(_arg2).length() > 0));
        }
        private function _-3TY(_arg1:XML, _arg2:String, _arg3:Map, _arg4:Object):Object
        {
            var k:XMLList = _arg1.attribute(_arg2);
            if (k.length() == 0)
            {
                return (_arg4);
            };
            var k:String = String(k);
            if (_arg3 != null)
            {
                if (k.charAt(0) == _-2eI)
                {
                    k = _arg3[k.slice(1, k.length)];
                    if (k == null)
                    {
                        throw (new Error((('Shared variable not defined: "' + _arg1.attribute(_arg2)) + '"!')));
                    };
                };
            };
            return (k);
        }
        private function _-471(_arg1:XML):Array
        {
            return ((((_arg1)!=null) ? XMLPropertyArrayParser.parse(_arg1.children()) : new Array()));
        }
        public function _-1fc(_arg1:IWindow):String
        {
            var k:_-yZ;
            var k:IWindow;
            var k:uint;
            var k:PropertyStruct;
            var k:BitmapFilter;
            var k:String;
            var k:Boolean;
            var k:String = _-3kW;
            var k:String = this._-3Iw[_arg1.type];
            var k:uint = _arg1.param;
            var k:uint = _arg1.style;
            var k:_-31r = _arg1._-2rW;
            var k:WindowController = (_arg1 as WindowController);
            k = (k + (((((((((((((((((((((((((((((((((("<" + k) + ' x="') + _arg1.x) + '"') + ' y="') + _arg1.y) + '"') + ' width="') + _arg1.width) + '"') + ' height="') + _arg1.height) + '"') + ' params="') + _arg1.param) + '"') + ' style="') + _arg1.style) + '"') + (((_arg1.name)!=_-3kW) ? ((' name="' + escape(_arg1.name)) + '"') : _-3kW)) + (((_arg1.caption)!=_-3kW) ? ((' caption="' + escape(_arg1.caption)) + '"') : _-3kW)) + (((_arg1.id)!=0) ? ((' id="' + _arg1.id.toString()) + '"') : _-3kW)) + (((_arg1.color)!=0xFFFFFF) ? ((((' color="' + "0x") + _arg1.alpha.toString(16)) + _arg1.color.toString(16)) + '"') : _-3kW)) + (((_arg1.blend)!=1) ? ((' blend="' + _arg1.blend.toString()) + '"') : _-3kW)) + (((_arg1.visible)!=true) ? ((' visible="' + _arg1.visible.toString()) + '"') : _-3kW)) + (((_arg1.clipping)!=true) ? ((' clipping="' + _arg1.clipping.toString()) + '"') : _-3kW)) + (((_arg1.background)!=false) ? ((' background="' + _arg1.background.toString()) + '"') : _-3kW)) + (((_arg1.mouseThreshold)!=10) ? ((' treshold="' + _arg1.mouseThreshold.toString()) + '"') : _-3kW)) + (((_arg1.tags.length)>0) ? ((' tags="' + escape(_arg1.tags.toString())) + '"') : _-3kW)) + (((k.minWidth)>int.MIN_VALUE) ? ((' width_min="' + k.minWidth) + '"') : _-3kW)) + (((k.maxWidth)<int.MAX_VALUE) ? ((' width_max="' + k.maxWidth) + '"') : _-3kW)) + (((k.minHeight)>int.MIN_VALUE) ? ((' height_min="' + k.minHeight) + '"') : _-3kW)) + (((k.maxHeight)<int.MAX_VALUE) ? ((' height_max="' + k.maxHeight) + '"') : _-3kW)) + ">\r"));
            if (((_arg1.filters) && ((_arg1.filters.length > 0))))
            {
                k = (k + "\t<filters>\r");
                for each (k in _arg1.filters)
                {
                    k = (k + (("\t\t" + this._-08v(k)) + "\r"));
                };
                k = (k + "\t</filters>\r");
            };
            var k:uint = k.numChildren;
            var k:String = _-3kW;
            if ((k is _-QQ))
            {
                k = _-QQ(k).iterator;
                k = k.length;
                if (k > 0)
                {
                    k = 0;
                    while (k < k)
                    {
                        k = (k[k] as IWindow);
                        if (k.tags.indexOf(WindowParser._-4Tj) == -1)
                        {
                            k = (k + this._-1fc(k));
                        };
                        k++;
                    };
                };
            }
            else
            {
                k = k.numChildren;
                if (k > 0)
                {
                    k = 0;
                    while (k < k)
                    {
                        k = k.getChildAt(k);
                        if (k.tags.indexOf(WindowParser._-4Tj) == -1)
                        {
                            k = (k + this._-1fc(k));
                        };
                        k++;
                    };
                };
            };
            if (k.length > 0)
            {
                k = (k + (("\t<children>\r" + k) + "\t</children>\r"));
            };
            var k:Array = _arg1.properties;
            if (((!((k == null))) && ((k.length > 0))))
            {
                k = "\t<variables>\r";
                k = false;
                k = 0;
                while (k < k.length)
                {
                    k = (k[k] as PropertyStruct);
                    if (k.valid)
                    {
                        k = (k + (("\t\t" + k.toXMLString()) + "\r"));
                        k = true;
                    };
                    k++;
                };
                k = (k + "\t</variables>\r");
                if (k)
                {
                    k = (k + k);
                };
            };
            k = (k + (("</" + k) + ">\r"));
            return (k);
        }
        private function _-4-2(_arg1:XML):BitmapFilter
        {
            var k:BitmapFilter;
            var k:String = (_arg1.localName() as String);
            switch (k)
            {
                case "DropShadowFilter":
                    k = new DropShadowFilter(Number(this._-3TY(_arg1, "distance", null, "0")), Number(this._-3TY(_arg1, "angle", null, "45")), uint(this._-3TY(_arg1, "color", null, "0")), Number(this._-3TY(_arg1, "alpha", null, "1")), Number(this._-3TY(_arg1, "blurX", null, "0")), Number(this._-3TY(_arg1, "blurY", null, "0")), Number(this._-3TY(_arg1, "strength", null, "1")), int(this._-3TY(_arg1, "quality", null, "1")), Boolean((this._-3TY(_arg1, "inner", null, "false") == "true")), Boolean((this._-3TY(_arg1, "knockout", null, "false") == "true")), Boolean((this._-3TY(_arg1, "hideObject", null, "false") == "true")));
                    break;
            };
            return (k);
        }
        private function _-08v(_arg1:BitmapFilter):String
        {
            var k:String;
            if ((_arg1 is DropShadowFilter))
            {
                k = "<DropShadowFilter";
                k = (k + (((DropShadowFilter(_arg1).distance)!=0) ? ((' distance="' + DropShadowFilter(_arg1).distance) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).angle)!=45) ? ((' angle="' + DropShadowFilter(_arg1).angle) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).color)!=0) ? ((' color="' + DropShadowFilter(_arg1).color) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).alpha)!=1) ? ((' alpha="' + DropShadowFilter(_arg1).alpha) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).blurX)!=0) ? ((' blurX="' + DropShadowFilter(_arg1).blurX) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).blurY)!=0) ? ((' blurY="' + DropShadowFilter(_arg1).blurY) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).strength)!=1) ? ((' strength="' + DropShadowFilter(_arg1).strength) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).quality)!=1) ? ((' quality="' + DropShadowFilter(_arg1).quality) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).inner)!=false) ? ((' inner="' + DropShadowFilter(_arg1).inner) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).knockout)!=false) ? ((' knockout="' + DropShadowFilter(_arg1).knockout) + '"') : ""));
                k = (k + (((DropShadowFilter(_arg1).hideObject)!=false) ? ((' hideObject="' + DropShadowFilter(_arg1).hideObject) + '"') : ""));
                k = (k + " />");
            };
            return (k);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3EM.XMLPropertyArrayParser

package _-3EM
{
    import _-18r.XMLVariableParser;
    import _-18r.Map;

    public class XMLPropertyArrayParser extends XMLVariableParser 
    {

        public static function parse(_arg1:XMLList):Array
        {
            var k:int;
            var k:Map = new Map();
            var k:Array = new Array();
            var k:Array = new Array();
            k = XMLVariableParser.parseVariableList(_arg1, k, k);
            var k:int;
            while (k < k)
            {
                k.push(new PropertyStruct(k.getKey(k), k.getWithIndex(k), k[k], true));
                k++;
            };
            return (k);
        }

    }
}//package _-3EM

//------------------------------------------------------------
//_-3fF._-4Vz

package _-3fF
{
    import _-0yf.EventDispatcherWrapper;
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-0jG._-5i;
    import _-295._-39L;
    import flash.events.Event;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IContainerButtonWindow;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;

    public class _-4Vz extends EventDispatcherWrapper 
    {

        private var _-44b:Number = 0;
        private var _-0VQ:IWindowContainer;
        private var _-3OW:Boolean = false;
        private var _-176:BitmapData;
        private var _-1yu:BitmapData;
        private var _-6i:int;
        private var _-23f:Number = 0;
        private var _-2Wz:Number = 1;
        private var _-2Xt:Number = 0;

        public function _-4Vz(_arg1:_-5i, _arg2:IWindowContainer, _arg3:_-39L, _arg4:Number=0, _arg5:Number=1, _arg6:Number=0)
        {
            this._-0VQ = IWindowContainer(_arg1.getXmlWindow("ude_slider"));
            _arg2.addChild(this._-0VQ);
            this._-23f = _arg4;
            this._-2Wz = _arg5;
            this._-2Xt = _arg6;
            this._-44b = 0;
            this._-01E(_arg3);
            this._-2LK();
        }
        override public function dispose():void
        {
            super.dispose();
            this._-0VQ = null;
            this._-176 = null;
            this._-1yu = null;
        }
        public function _-4R2(_arg1:Number, _arg2:Boolean=true):void
        {
            k = Math.max(this._-23f, _arg1);
            k = Math.min(this._-2Wz, k);
            this._-44b = k;
            if (_arg2)
            {
                this._-1eR();
            };
            dispatchEvent(new Event(Event.CHANGE));
        }
        public function getValue():Number
        {
            return (this._-44b);
        }
        public function set min(_arg1:Number):void
        {
            this._-23f = _arg1;
        }
        public function set max(_arg1:Number):void
        {
            this._-2Wz = _arg1;
        }
        private function _-1eR():void
        {
            if (this._-0VQ == null)
            {
                return;
            };
            var k:IWindow = this._-0VQ.findChildByName("slider_button");
            if (k != null)
            {
                k.x = this._-4ge(this._-44b);
            };
            k.parent.invalidate();
        }
        private function _-4ge(_arg1:Number):int
        {
            return (int((this._-6i * (Number((_arg1 - this._-23f)) / (this._-2Wz - this._-23f)))));
        }
        private function _-4w7(_arg1:Number):Number
        {
            return ((((_arg1 / this._-6i) * (this._-2Wz - this._-23f)) + this._-23f));
        }
        private function _-4eS(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Number;
            var k:Number;
            if (_arg1.type == WindowMouseEvent._-3Jy)
            {
                this._-3OW = true;
            };
            if (this._-3OW)
            {
                if ((((_arg1.type == WindowMouseEvent._-02B)) || ((_arg1.type == WindowMouseEvent._-2uJ))))
                {
                    this._-3OW = false;
                };
            };
            if (((!(this._-3OW)) || (!((_arg1.type == WindowEvent._-4e0)))))
            {
                return;
            };
            if (this._-2Xt != 0)
            {
                k = this._-4w7(_arg2.x);
                k = (Math.round((k / this._-2Xt)) * this._-2Xt);
                this._-4R2(k, false);
            };
        }
        private function _-QG(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Number;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-3OW = false;
                if (this._-2Xt != 0)
                {
                    k = (this._-44b + this._-2Xt);
                    this._-4R2(k);
                };
            };
        }
        private function _-tB(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Number;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-3OW = false;
                if (this._-2Xt != 0)
                {
                    k = (this._-44b - this._-2Xt);
                    this._-4R2(k);
                };
            };
        }
        private function _-2LK():void
        {
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:IContainerButtonWindow;
            var k:IContainerButtonWindow;
            if (this._-0VQ == null)
            {
                return;
            };
            k = (this._-0VQ.findChildByName("slider_base") as IBitmapWrapperWindow);
            if (((!((k == null))) && (!((this._-176 == null)))))
            {
                k.bitmap = new BitmapData(this._-176.width, this._-176.height, true, 0xFFFFFF);
                k.bitmap.copyPixels(this._-176, this._-176.rect, new Point(0, 0), null, null, true);
            };
            k = (this._-0VQ.findChildByName("slider_movement_area") as IWindowContainer);
            if (k != null)
            {
                k = (k.findChildByName("slider_button") as IBitmapWrapperWindow);
                if (((!((k == null))) && (!((this._-1yu == null)))))
                {
                    k.bitmap = new BitmapData(this._-1yu.width, this._-1yu.height, true, 0xFFFFFF);
                    k.bitmap.copyPixels(this._-1yu, this._-1yu.rect, new Point(0, 0), null, null, true);
                    k.procedure = this._-4eS;
                    this._-6i = (k.width - k.width);
                };
            };
            k = (this._-0VQ.findChildByName("slider_button_left") as IContainerButtonWindow);
            if (k)
            {
                k.procedure = this._-tB;
            };
            k = (this._-0VQ.findChildByName("slider_button_right") as IContainerButtonWindow);
            if (k)
            {
                k.procedure = this._-QG;
            };
        }
        private function _-01E(_arg1:_-39L):void
        {
            var k:BitmapDataAsset;
            if (_arg1 == null)
            {
                return;
            };
            k = BitmapDataAsset(_arg1.getAssetByName("slider_bg_png"));
            this._-176 = BitmapData(k.content);
            k = BitmapDataAsset(_arg1.getAssetByName("slider_obj_png"));
            this._-1yu = BitmapData(k.content);
        }

    }
}//package _-3fF

//------------------------------------------------------------
//_-3fI._-53x

package _-3fI
{
    import _-0jj.HabboHelp;
    import _-0jj._-0Vl;
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.IItemListWindow;
    import _-1ae._-4mB;
    import _-0Ie.WindowMouseEvent;
    import _-1mK._-iw;
    import _-2ly._-11j;
    import _-0Ie.WindowEvent;
    import flash.utils.getTimer;
    import _-0Ix._-0la;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-595._-3RQ;
    import _-1B-.*;

    public class _-53x implements _-1zZ 
    {

        private var _-Je:HabboHelp;
        private var _-hP:_-0Vl;
        private var _disposed:Boolean = false;
        private var _-3Xl:_-0xN;
        private var _-2aO:IWindowContainer;
        private var _-1l9:int;
        private var _-48h:IWindowContainer;

        public function _-53x(_arg1:_-0Vl)
        {
            this._-Je = _arg1.habboHelp;
            this._-hP = _arg1;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this.closeWindow();
            this._-3mu();
            this._-Je = null;
            this._-hP = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-2Eq():void
        {
            var _local1:IWindowContainer;
            var _local2:IWindow;
            var _local3:IItemListWindow;
            if ((((this._-3Xl == null)) && (!(this.disposed))))
            {
                if (this._-Je._-376)
                {
                    this._-3Xl = this._-hP.habboHelp._-Ml("main");
                    this._-3Xl._-5Ec.procedure = this._-4bG;
                }
                else
                {
                    this._-3Xl = this._-hP.habboHelp._-Ml("main_help");
                    this._-3Xl._-5Ec.procedure = this._-3fL;
                    _local1 = (this._-3Xl._-5Ec as IWindowContainer);
                    _-4mB(_local1.findChildByName("frank_image")).assetUri = "help_frank_greeting";
                    _local1.findChildByName("disabling_overlay").dispose();
                    _local2 = _local1.findChildByName("safetybooklet_link");
                    _local2.visible = true;
                    _local3 = (_local2.parent.parent as IItemListWindow);
                    _local3.getListItemAt(1).visible = false;
                    _local3._-0O3();
                    _local3.y = (_local3.y + 5);
                };
            };
        }
        public function closeWindow():void
        {
            if (this._-3Xl != null)
            {
                this._-3Xl.dispose();
                this._-3Xl = null;
            };
        }
        public function _-4cw():void
        {
            if (this._-3Xl == null)
            {
                this._-2Eq();
            }
            else
            {
                this.closeWindow();
            };
        }
        private function _-4bG(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((this.disposed) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                    this.closeWindow();
                    return;
                case "bully_button":
                    this.closeWindow();
                    this._-Je._-6Y(_-iw._-1tk);
                    this._-Je.trackGoogle("helpWindow", "click_reportBully");
                    return;
                case "question_button":
                    this._-Je._-6Y(_-iw._-4IR);
                    this._-Je.trackGoogle("helpWindow", "click_instructions");
                    this.closeWindow();
                    return;
                case "tour_button":
                    this._-Je._-6Y(((this._-Je._-1uI) ? _-iw._-3Qb : _-iw._-2vR));
                    this._-Je.trackGoogle("helpWindow", "click_userTour");
                    this.closeWindow();
                    return;
                case "emergency_button":
                    this.closeWindow();
                    this._-Je._-1Mf();
                    this._-Je.trackGoogle("helpWindow", "click_emergency");
                    return;
                case "safetypolicy_link":
                    this._-Je.showSafetyBooklet();
                    this._-Je.trackGoogle("helpWindow", "click_showSafetyBooklet");
                    this.closeWindow();
                    return;
                case "habboway_link":
                    if (this._-Je.configurationManager.getBoolean("habboway.enabled", false))
                    {
                        this._-Je._-3sC();
                    }
                    else
                    {
                        _-11j._-0D8(this._-Je.configurationManager.getKey("habboway.url", ""), "habboMain");
                    };
                    this._-Je.trackGoogle("helpWindow", "click_habboWay");
                    this.closeWindow();
                    return;
                case "faq_link":
                    _-11j._-0D8(this._-Je.configurationManager.getKey("zendesk.url", ""), "habboMain");
                    this._-Je.trackGoogle("helpWindow", "click_faq");
                    this.closeWindow();
                    return;
                case "payment_link":
                    _-11j._-0D8(this._-Je.configurationManager.getKey("payment.url", ""), "habboMain");
                    this._-Je.trackGoogle("helpWindow", "click_payment");
                    this.closeWindow();
                    return;
            };
        }
        private function _-3fL(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((this.disposed) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                    this.closeWindow();
                    return;
                case "tour_button":
                    this._-hP._-1Vj(((this._-Je._-1uI) ? _-iw._-3Qb : _-iw._-2vR));
                    this._-Je.trackGoogle("helpWindow", "click_userTour");
                    this.closeWindow();
                    return;
                case "instructions_button":
                    this._-hP._-1Vj(_-iw._-4IR);
                    this._-Je.trackGoogle("helpWindow", "click_instructions");
                    this.closeWindow();
                    return;
                case "self_help_link":
                    _-11j._-0D8(this._-Je.configurationManager.getKey("zendesk.url", ""), "habboMain");
                    this._-Je.trackGoogle("helpWindow", "click_selfHelp");
                    this.closeWindow();
                    return;
                case "habboway_link":
                    if (this._-Je.configurationManager.getBoolean("habboway.enabled", false))
                    {
                        this._-Je._-3sC();
                    }
                    else
                    {
                        _-11j._-0D8(this._-Je.configurationManager.getKey("habboway.url", ""), "habboMain");
                    };
                    this._-Je.trackGoogle("helpWindow", "click_habboWay");
                    this.closeWindow();
                    return;
                case "safetybooklet_link":
                    this._-Je.showSafetyBooklet();
                    this._-Je.trackGoogle("helpWindow", "click_showSafetyBooklet");
                    this.closeWindow();
                    return;
                case "emergency_button":
                    this.closeWindow();
                    this._-Je._-1Mf();
                    this._-Je.trackGoogle("helpWindow", "click_emergency");
                    return;
            };
        }
        public function _-37s():void
        {
            if ((((this._-2aO == null)) && (!(this.disposed))))
            {
                this._-1l9 = getTimer();
                this._-2aO = (this._-hP.habboHelp.getXmlWindow("welcome_tour_popup") as IWindowContainer);
                this._-2aO.center();
                this._-2aO.procedure = this._-1na;
            };
        }
        private function _-3mu():void
        {
            if (this._-2aO != null)
            {
                this._-2aO.dispose();
                this._-2aO = null;
            };
        }
        private function _-1na(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((this.disposed) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            var k:int = int(((this._-1l9 - getTimer()) / 1000));
            switch (_arg2.name)
            {
                case "refuse_tour":
                    this._-Je.tracking.trackEventLog("Help", "", "tour.new_user.cancel", "", k);
                    this._-Je.trackGoogle("newbieTourWindow", "click_refuseTour");
                    this._-3mu();
                    return;
                case "header_button_close":
                    this._-Je.tracking.trackEventLog("Help", "", "tour.new_user.dismiss", "", k);
                    this._-Je.trackGoogle("newbieTourWindow", "click_closeWindow");
                    this._-3mu();
                    return;
                case "take_tour":
                    this._-hP._-1Vj(_-iw._-3Qb);
                    this._-Je.tracking.trackEventLog("Help", "", "tour.new_user.accept", "", k);
                    this._-Je.trackGoogle("newbieTourWindow", "click_acceptTour");
                    this._-3mu();
                    return;
            };
        }
        public function _-4KJ(_arg1:_-3RQ):void
        {
            var k:String;
            if (_arg1._-4sc)
            {
                k = "pending_guide_session";
            }
            else
            {
                switch (_arg1.type)
                {
                    case _-iw._-3Qb:
                    case _-iw._-2vR:
                        k = "pending_tour_request";
                        break;
                    case _-iw._-4IR:
                        k = "pending_instructions_request";
                        break;
                    case _-iw._-1tk:
                        k = "pending_bully_request";
                        break;
                    default:
                        return;
                };
            };
            this._-48h = (this._-Je.getXmlWindow(k) as IWindowContainer);
            this._-48h.center();
            this._-48h.procedure = this._-1xJ;
            if (_arg1._-4sc)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-iw._-4IR:
                    this._-48h.findChildByName("description").caption = _arg1.description;
                    _-0la(_-3Yi(this._-48h.findChildByName("timestamp")).widget).timeStamp = (new Date().getTime() - (_arg1._-4Uj * 1000));
                    return;
                case _-iw._-1tk:
                    this._-48h.findChildByName("user_name").caption = _arg1._-53m;
                    _-3La(_-3Yi(this._-48h.findChildByName("user_avatar")).widget).figure = _arg1._-3Ns;
                    _-0la(_-3Yi(this._-48h.findChildByName("timestamp")).widget).timeStamp = (new Date().getTime() - (_arg1._-4Uj * 1000));
                    this._-Je.localization.registerParameter("guide.pending.bully.room", "room", _arg1.roomName);
                    return;
            };
        }
        private function _-1xJ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "header_button_close":
                    case "close_button":
                        if (((!((this._-48h == null))) && (!(this._-48h.disposed))))
                        {
                            this._-48h.dispose();
                            this._-48h = null;
                        };
                        return;
                };
            };
        }

    }
}//package _-3fI

//------------------------------------------------------------
//_-3fI._-S0

package _-3fI
{
    import _-2or._-1-l;

    public class _-S0 
    {

        public static const _-4RX:uint = 0;
        public static const _-40L:uint = 1;
        public static const _-0Kl:uint = 2;
        public static const _-5Bs:int = 0;
        public static const _-Vg:int = 1;
        public static const _-4PH:int = 2;

        private var _-3Cu:uint = 0;
        private var _-nu:String;
        private var _-4bl:uint = 0;
        private var _-4jo:String = "";
        private var _-4lu:uint = 0;
        private var _-2lb:String = "";
        private var _-0y9:String = "";
        private var _-4Cn:uint = 0;
        private var _-5-m:String = "";
        private var _-0vq:String = "";

        public function _-S0()
        {
            this._-nu = _-1-l._-2cf;
            super();
        }
        public function _-4gx():Boolean
        {
            return (((this._-4cA()) || (this._-4Ev())));
        }
        public function _-4cA():Boolean
        {
            return ((((this._-3Cu == _-0Kl)) && ((((((((this._-nu == _-1-l._-dN)) || ((this._-nu == _-1-l._-0k5)))) || ((this._-nu == _-1-l._-4oP)))) || ((this._-nu == _-1-l._-2-o))))));
        }
        public function _-4Ev():Boolean
        {
            return ((((this._-3Cu == _-40L)) && ((((((this._-nu == _-1-l._-L2)) || ((this._-nu == _-1-l._-aN)))) || ((this._-nu == _-1-l._-rD))))));
        }
        public function _-3pK():Boolean
        {
            return ((((this._-nu == _-1-l._-aN)) || ((this._-nu == _-1-l._-4oP))));
        }
        public function set _-2K-(_arg1:uint):void
        {
            this._-3Cu = _arg1;
        }
        public function get _-4XV():String
        {
            return (this._-nu);
        }
        public function set _-4XV(_arg1:String):void
        {
            this._-nu = _arg1;
        }
        public function get _-Hu():uint
        {
            return (this._-4bl);
        }
        public function set _-Hu(_arg1:uint):void
        {
            this._-4bl = _arg1;
        }
        public function get _-4OT():String
        {
            return (this._-4jo);
        }
        public function set _-4OT(_arg1:String):void
        {
            this._-4jo = _arg1;
        }
        public function get userId():uint
        {
            return (this._-4lu);
        }
        public function set userId(_arg1:uint):void
        {
            this._-4lu = _arg1;
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function set userName(_arg1:String):void
        {
            this._-2lb = _arg1;
        }
        public function get _-4vx():String
        {
            return (this._-0y9);
        }
        public function set _-4vx(_arg1:String):void
        {
            this._-0y9 = _arg1;
        }
        public function get _-VX():uint
        {
            return (this._-4Cn);
        }
        public function set _-VX(_arg1:uint):void
        {
            this._-4Cn = _arg1;
        }
        public function get _-3Wn():String
        {
            return (this._-5-m);
        }
        public function set _-3Wn(_arg1:String):void
        {
            this._-5-m = _arg1;
        }
        public function get _-20q():String
        {
            return (this._-0vq);
        }
        public function set _-20q(_arg1:String):void
        {
            this._-0vq = _arg1;
        }

    }
}//package _-3fI

//------------------------------------------------------------
//_-3fI.AnimationData

package _-3fI
{
    import _-1ae._-4mB;

    public class AnimationData 
    {

        public var window:_-4mB;
        public var asset:String;
        public var _-2EV:int;

        public function AnimationData(_arg1:_-4mB, _arg2:String, _arg3:int)
        {
            this.window = _arg1;
            this.asset = _arg2;
            this._-2EV = _arg3;
        }
    }
}//package _-3fI

//------------------------------------------------------------
//_-3fI.GuideSessionController

package _-3fI
{
    import _-0jj.HabboHelp;
    import _-0jj._-0Vl;
    import _-Ew.IWindowContainer;
    import flash.geom.Point;
    import _-1ae._-3Yi;
    import flash.utils.Timer;
    import __AS3__.vec.Vector;
    import flash.events.TimerEvent;
    import _-2WG._-0bk;
    import _-2WG._-1Z7;
    import _-2WG._-2YW;
    import _-2WG._-yg;
    import _-2WG._-355;
    import _-2WG._-A2;
    import _-2WG._-1mu;
    import _-2WG._-3hF;
    import _-2WG._-3Zv;
    import _-1Jk._-3nT;
    import _-2WG._-0oT;
    import _-2WG._-3c6;
    import _-2WG._-1-B;
    import _-2WG._-33y;
    import _-2WG._-2DO;
    import _-2WG._-24p;
    import _-1xw._-2IC;
    import _-1mK._-iw;
    import _-2or._-1-l;
    import _-29G._-aM;
    import _-29G._-5B6;
    import _-1xw._-0X9;
    import _-4Aj._-0tL;
    import _-1xw._-T-;
    import _-1xw._-4h7;
    import _-1xw._-1jO;
    import _-1xw._-3BR;
    import _-1xw._-1L7;
    import _-1xw._-0mc;
    import _-1xw._-0Vu;
    import _-35T.PerkAllowancesMessageParser;
    import _-2YR._-4Tn;
    import _-1xw._-0pg;
    import _-1ae.IItemListWindow;
    import _-1xw._-39w;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Pi._-1Eb;
    import _-2ly._-11j;
    import _-0Ie.WindowEvent;
    import _-0M7._-0tE;
    import _-2Pt._-2yb;
    import _-1ae.ITextWindow;
    import _-mv._-2TN;
    import _-0Ix._-2Zl;
    import _-29G._-5DJ;
    import _-0Ix._-0wK;
    import _-29G._-4p;
    import _-3Bn._-1xB;
    import _-29G._-L;
    import _-29G._-0TH;
    import _-0Ix._-3La;
    import _-29G._-1WP;
    import mx.utils.StringUtil;
    import _-2ly._-28n;
    import _-29G._-46u;
    import _-0Pi._-RA;
    import _-29G._-1Ie;
    import _-1ae._-4mB;
    import _-29G._-2uq;
    import _-1ae.IRegionWindow;
    import _-29G._-4z5;
    import _-09j.WindowType;
    import _-1ae.IDesktopWindow;
    import _-29G._-0Pm;
    import _-1ae.ICheckBoxWindow;
    import _-0Ix._-4PA;
    import _-09j.WindowParam;
    import _-29G._-0CV;
    import _-29G._-1tW;
    import __AS3__.vec.*;
    import _-0Ix.*;
    import _-1B-.*;

    public class GuideSessionController implements _-1zZ, _-572 
    {

        private static const _-54x:int = 0;
        private static const _-DU:int = 1;
        private static const _-3fB:int = 2;
        private static const _-4as:int = 0;
        private static const _-3wO:int = 1;
        private static const _-it:int = 2;
        private static const _-0bx:int = -1;
        private static const _-3gT:int = 0;
        private static const _-054:int = 1;
        private static const _-0jS:int = 2;
        private static const _-11R:int = 3000;
        private static const _-3Hk:int = 500;
        private static const _-1yp:Array = ["waiting", "ok", "bad", "very_bad", "refused", "searching"];
        private static const _-3kb:Array = ["waiting", "ok", "bad", "very_bad", "inconclusive", "searching"];
        private static const _-3qb:String = "${guide.bully.request.guide.results.outcome.";
        private static const _-4KW:String = "help_chat_review_decision_";

        private var _-Je:HabboHelp;
        private var _-hP:_-0Vl;
        private var _-0xv:IWindowContainer;
        private var _-206:IWindowContainer;
        private var _-8M:_-S0;
        private var _-0lB:Point;
        private var _onDuty:Boolean = false;
        private var _-44k:Boolean = true;
        private var _-2rH:Boolean = true;
        private var _-0r:Boolean = false;
        private var _-4PX:_-3Yi;
        private var _-55I:IWindowContainer;
        private var _-4m8:IWindowContainer;
        private var _disposed:Boolean = false;
        private var _-20H:Timer;
        private var _-05E:int;
        private var _-4GK:Boolean;
        private var _-3jk:Timer;
        private var _-03:Vector.<AnimationData>;

        public function GuideSessionController(_arg1:_-0Vl)
        {
            this._-0lB = new Point(120, 80);
            super();
            this._-Je = _arg1.habboHelp;
            this._-hP = _arg1;
            this._-8M = new _-S0();
            this._-4PX = _-3Yi(this._-Je.getXmlWindow("chat_msg"));
            this._-55I = IWindowContainer(this._-Je.getXmlWindow("chat_msg_notification"));
            this._-4m8 = IWindowContainer(this._-Je.getXmlWindow("chat_msg_reminder"));
            this._-03 = new Vector.<AnimationData>();
            this._-3jk = new Timer(_-3Hk);
            this._-3jk.addEventListener(TimerEvent.TIMER, this._-3A8);
            this._-3jk.start();
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-0bk(this.onGuideSessionAttached));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-1Z7(this.onGuideSessionDetached));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-2YW(this.onGuideSessionStarted));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-yg(this.onGuideSessionEnded));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-355(this.onGuideSessionError));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-A2(this.onGuideSessionMessage));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-1mu(this.onGuideSessionRequesterRoom));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-3hF(this.onGuideSessionInvitedToGuideRoom));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-3Zv(this.onGuideSessionPartnerIsTyping));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-3nT(this._-0rM));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-0oT(this._-1vz));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-3c6(this._-Ro));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-1-B(this._-46W));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-33y(this._-0Wh));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-2DO(this._-5AD));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-24p(this._-tE));
        }
        private static function _-ow(_arg1:int):int
        {
            var k:int = _-2IC._-2iD;
            switch (_arg1)
            {
                case _-3gT:
                    k = _-2IC._-4nB;
                    break;
                case _-054:
                    k = _-2IC._-0Qv;
                    break;
                case _-0jS:
                    k = _-2IC._-3DP;
                    break;
                case _-0bx:
                    k = _-2IC._-3ao;
                    break;
            };
            return (k);
        }

        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (this._-3jk != null)
            {
                this._-3jk.stop();
                this._-3jk.removeEventListener(TimerEvent.TIMER, this._-3A8);
                this._-3jk = null;
            };
            this._-03 = null;
            if (this._-4PX)
            {
                this._-4PX.dispose();
                this._-4PX = null;
            };
            if (this._-55I)
            {
                this._-55I.dispose();
                this._-55I = null;
            };
            this.closeWindow();
            this._-8M = null;
            this._-0lB = null;
            this._-hP = null;
            this._-Je = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-1Vj(_arg1:uint):void
        {
            if (this._-8M._-4gx())
            {
                _-Nb.log("Can't create a new help request while another help request is ongoing");
                return;
            };
            if ((((_arg1 == _-iw._-3Qb)) || ((_arg1 == _-iw._-2vR))))
            {
                this._-8M._-2K- = _-S0._-0Kl;
                this._-8M._-4XV = _-1-l._-dN;
                this._-8M._-Hu = _arg1;
                this._-Je._-0cM(new _-aM(_arg1, this._-Je.localization.getKey("guide.help.request.tour.description")));
            }
            else
            {
                this._-LI(_arg1);
            };
        }
        public function _-2KP():void
        {
            if (this._-0p7)
            {
                this._-Je._-0cM(new _-5B6(this._onDuty, this._-44k, this._-2rH));
            }
            else
            {
                this._-17X();
            };
        }
        private function _-1vz(_arg1:_-0oT):void
        {
            this._onDuty = _arg1._-3-5()._-in;
            this._-Je.localization.registerParameter("guide.help.guide.tool.helpersonduty", "amount", ("" + _arg1._-3-5()._-1zT));
            this._-Je.localization.registerParameter("guide.help.guide.tool.guardiansonduty", "amount", ("" + _arg1._-3-5()._-4HZ));
            this._-17X();
        }
        private function onGuideSessionAttached(_arg1:_-0tL):void
        {
            _-Nb.log("onGuideSessionAttached");
            if (((this._disposed) || (!(this._-8M))))
            {
                _-Nb.log("_diposed or no _sessionData");
                return;
            };
            var k:_-0X9 = (_arg1.parser as _-0X9);
            if (k._-4ND)
            {
                if (this._-8M._-4Ev())
                {
                    this._-3eO();
                    return;
                };
                this._-284(k._-2g4, k._-S9, k._-1DX);
            }
            else
            {
                if (!this._-8M._-4cA())
                {
                    this._-3eO();
                    return;
                };
                this._-Se(k._-2g4, k._-S9, k._-1DX);
            };
        }
        private function onGuideSessionDetached(_arg1:_-0tL):void
        {
            var k:int;
            var k:String;
            _-Nb.log("onGuideSessionDetached");
            if (this._disposed)
            {
                return;
            };
            if (this._-0r)
            {
                k = this._-8M._-Hu;
                k = this._-8M._-4OT;
                this._-1kQ();
                this._-LI(k, k);
            }
            else
            {
                if (((this._-8M._-4cA()) && ((this._-8M._-4XV == _-1-l._-2-o))))
                {
                    this._-14Q();
                }
                else
                {
                    this._-yF(true);
                };
            };
        }
        private function onGuideSessionStarted(_arg1:_-0tL):void
        {
            _-Nb.log("onGuideSessionStarted");
            if (this._disposed)
            {
                return;
            };
            var k:_-T- = (_arg1.parser as _-T-);
            this._-8M.userId = k._-4pt;
            this._-8M.userName = k._-0Lf;
            this._-8M._-4vx = k._-JD;
            this._-8M._-VX = k._-3q3;
            this._-8M._-3Wn = k._-3Wn;
            this._-8M._-20q = k._-20q;
            this._-4GK = false;
            if (this._-8M._-4Ev())
            {
                this._-00Z();
            }
            else
            {
                this._-2CK();
            };
        }
        private function onGuideSessionEnded(_arg1:_-0tL):void
        {
            _-Nb.log("onGuideSessionEnded");
            if (this._disposed)
            {
                return;
            };
            var k:_-4h7 = (_arg1.parser as _-4h7);
            if (this._-8M._-4Ev())
            {
                this._-0yh(k._-pn);
            }
            else
            {
                if (k._-pn == _-S0._-5Bs)
                {
                    this._-3cw();
                }
                else
                {
                    this._-5A();
                };
            };
        }
        private function onGuideSessionError(_arg1:_-355):void
        {
            _-Nb.log("onGuideSessionError");
            if (this._disposed)
            {
                return;
            };
            var k:_-1jO = _arg1._-3-5();
            switch (k.errorCode)
            {
                case _-1jO._-4il:
                    this._-057();
                    return;
                case _-1jO._-2yM:
                case _-1jO._-1Un:
                    this._-4oi("guide.bully.request.error.not_enough_guardians");
                    return;
                default:
                    this._-3eO();
            };
        }
        private function onGuideSessionMessage(_arg1:_-0tL):void
        {
            var k:String;
            var k:String;
            _-Nb.log("onGuideSessionMessage");
            if (((this._disposed) || (!(this._-8M._-3pK()))))
            {
                return;
            };
            var k:_-3BR = (_arg1.parser as _-3BR);
            var k:int = k._-2ej;
            if (k == this._-8M._-VX)
            {
                k = this._-8M._-3Wn;
                k = this._-8M._-20q;
            }
            else
            {
                k = this._-8M.userName;
                k = this._-8M._-4vx;
            };
            var k:Boolean = true;
            if (((this._-8M._-4Ev()) && ((this._-8M._-VX == k))))
            {
                k = false;
            }
            else
            {
                if (((!(this._-8M._-4Ev())) && ((this._-8M.userId == k))))
                {
                    k = false;
                };
            };
            this._-27F(k, k, k, k._-4Is, k);
        }
        private function onGuideSessionRequesterRoom(_arg1:_-0tL):void
        {
            _-Nb.log("onGuideSessionRequesterRoom");
            if (((this._disposed) || (!(this._-8M._-3pK()))))
            {
                return;
            };
            var k:_-1L7 = (_arg1.parser as _-1L7);
            if (k._-07V() > 0)
            {
                this._-Je._-1ED._-4hE();
            }
            else
            {
                this._-27F(this._-8M._-VX, this._-8M._-3Wn, this._-8M._-20q, this._-Je.localization.getKey("guide.help.request.guide.ongoing.user.not.in.room.error", ""), false, _-it);
            };
        }
        private function onGuideSessionInvitedToGuideRoom(_arg1:_-0tL):void
        {
            _-Nb.log("onGuideSessionInvitedToGuideRoom");
            if (((this._disposed) || (!(this._-8M._-3pK()))))
            {
                return;
            };
            var k:_-0mc = (_arg1.parser as _-0mc);
            if (this._-8M._-4Ev())
            {
                if (k._-4z7() > 0)
                {
                    this._-4O6(_-54x, this._-Je.localization._-5CG("guide.help.request.guide.ongoing.error.invite.success", "", "name", this._-8M.userName));
                }
                else
                {
                    this._-4O6(_-54x, this._-Je.localization.getKey("guide.help.request.guide.ongoing.error.invite.failed", ""));
                };
            }
            else
            {
                if (k._-4z7() > 0)
                {
                    this._-27F(this._-8M._-VX, this._-8M._-3Wn, this._-8M._-20q, this._-Je.localization._-5CG("guide.help.request.user.ongoing.visit.guide.request.message", "", "name", this._-8M._-3Wn, "roomname", k._-19X()), true, _-3wO, k._-4z7());
                };
            };
        }
        private function onGuideSessionPartnerIsTyping(_arg1:_-0tL):void
        {
            _-Nb.log("onGuideSessionPartnerIsTyping");
            var k:_-0Vu = _-3Zv(_arg1)._-3-5();
            this._-1Rm(k._-1SB);
        }
        private function _-0rM(_arg1:_-3nT):void
        {
            var k:PerkAllowancesMessageParser;
            if (this._-8M._-4XV == _-1-l._-2-e)
            {
                k = _arg1._-3-5();
                if (!k.isPerkAllowed(_-4Tn.USE_GUIDE_TOOL))
                {
                    if (this._onDuty)
                    {
                        this._-2B2(false);
                        this._-Je._-0cM(new _-5B6(false, false, false));
                    };
                    this._-yF(false);
                };
            };
        }
        private function _-Ro(_arg1:_-3c6):void
        {
            this._-0Ep(_arg1._-3-5()._-Cq);
        }
        private function _-46W(_arg1:_-1-B):void
        {
            var k:_-0pg = _arg1._-3-5();
            this._-0He(k._-2O9, k._-1it);
        }
        private function _-0Wh(_arg1:_-33y):void
        {
            if (this._-8M._-4XV != _-1-l._-4Dh)
            {
                return;
            };
            this._-4Zc((this._-0xv.findChildByName("results") as IItemListWindow), _arg1._-3-5().status);
        }
        private function _-5AD(_arg1:_-2DO):void
        {
            var k:_-39w = _arg1._-3-5();
            this._-3Wb(k._-4tz, k._-Ze, k._-3DZ);
        }
        private function _-tE(_arg1:_-0tL):void
        {
            this._-yF(true);
        }
        private function _-17X():void
        {
            var k:IItemListWindow;
            var k:IWindow;
            if (this._-8M._-4gx())
            {
                _-Nb.log("Trying to set state to guide tool, but an active session exists");
                return;
            };
            this._-8M._-4XV = _-1-l._-2-e;
            this._-2Eq(this._-0o5, true);
            this._-39-(this._onDuty);
            this._-0xv.procedure = this._-0o5;
            if (this._-0p7)
            {
                this._-0Ft("handle_guardian_tickets", this._-2rH);
                this._-0Ft("handle_helper_tickets", this._-44k);
                if (!this._-Je.sessionDataManager.isPerkAllowed(_-4Tn.JUDGE_CHAT_REVIEWS))
                {
                    k = IItemListWindow(this._-0xv.findChildByName("list"));
                    k = k.getListItemByName("handle_selection_container");
                    k._-4sE(k);
                    this._-0xv.height = (this._-0xv.height - k.height);
                };
            };
        }
        private function _-0o5(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            if (((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-2-e)))))
            {
                return;
            };
            var k:int;
            switch (_arg2.name)
            {
                case "header_button_close":
                    if (_arg1.type == WindowMouseEvent._-90)
                    {
                        this._-yF(false);
                    };
                    return;
                case "helper_group_link":
                    if (_arg1.type == WindowMouseEvent._-90)
                    {
                        k = int(this._-Je.configurationManager.getKey("guide.help.alpha.groupid", "0"));
                        if (k > 0)
                        {
                            this._-Je._-0cM(new _-1Eb(k, true));
                            this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_groupProfile"));
                        };
                    };
                    return;
                case "guide_forum_link":
                    if (_arg1.type == WindowMouseEvent._-90)
                    {
                        k = int(this._-Je.configurationManager.getKey("guide.help.alpha.groupid", "0"));
                        if (k > 0)
                        {
                            k = this._-Je.configurationManager.getKey("group.homepage.url", "http://%predefined%/groups/%groupid%/id/discussions");
                            k = k.replace("%groupid%", k);
                            _-11j._-0D8(k, "habboMain");
                            this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_groupForum"));
                        };
                    };
                    return;
                case "guide_tool_duty":
                    switch (_arg1.type)
                    {
                        case WindowEvent._-2wB:
                            this._-39-(true);
                            if (this._-0p7)
                            {
                                this._-44k = this._-1sJ("handle_helper_tickets", true);
                                this._-2rH = this._-1sJ("handle_guardian_tickets", false);
                                if (((!(this._-44k)) && (!(this._-2rH))))
                                {
                                    this._-Je.windowManager.simpleAlert("${guide.help.guide.tool.noqueueselected.caption}", "${guide.help.guide.tool.noqueueselected.subtitle}", "${guide.help.guide.tool.noqueueselected.message}");
                                    this._-39-(false);
                                    return;
                                };
                                this._-Je._-0cM(new _-5B6(true, this._-44k, this._-2rH));
                            }
                            else
                            {
                                this._-Je._-0cM(new _-5B6(true, true, true));
                            };
                            this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_onDuty"));
                            break;
                        case WindowEvent._-1Ef:
                            this._-39-(false);
                            this._-Je._-0cM(new _-5B6(false, false, false));
                            this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_offDuty"));
                            break;
                    };
                    return;
                case "guide_tool_talent":
                    if (_arg1.type == WindowMouseEvent._-90)
                    {
                        if (this._-Je.configurationManager.getBoolean("talent.track.enabled", false))
                        {
                            this._-Je.tracking.trackTalentTrackOpen(_-0tE._-4LW, "guidetool");
                            this._-Je._-0cM(new _-2yb(_-0tE._-4LW));
                            this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_talent"));
                        };
                    };
                    return;
            };
        }
        private function _-284(_arg1:int, _arg2:String, _arg3:int):void
        {
            var k:IWindow;
            var k:ITextWindow;
            var k:IItemListWindow;
            var k:int;
            var k:int;
            if (((!(this._onDuty)) || (this._-8M._-4gx())))
            {
                _-Nb.log("Trying to set state to guide accept, but not on duty or active session exists");
                return;
            };
            this._-8M._-4XV = _-1-l._-L2;
            this._-8M._-2K- = _-S0._-40L;
            this._-8M._-4OT = _arg2;
            this._-8M._-Hu = _arg1;
            this._-2Eq(this._-4Ln, false);
            this._-Je._-0Y._-lx(_-2TN._-SH);
            if ((((_arg1 == _-iw._-2vR)) || ((_arg1 == _-iw._-3Qb))))
            {
                this._-0xv.findChildByName("frank_greeting").visible = true;
                this._-0xv.findChildByName("request_title").caption = "${guide.help.request.guide.accept.tour_request.title}";
                this._-0xv.findChildByName("request_type").dispose();
                k = this._-0xv.findChildByName("request_description_wrapper");
                k = (this._-0xv.findChildByName("request_description") as ITextWindow);
                k = (this._-0xv.findChildByName("itemlist") as IItemListWindow);
                k._-kE(k, k._-ed(k));
                k._-4sE(k);
                k.x = this._-0xv.findChildByName("request_title").x;
                k.margins.top = 10;
                k.caption = _arg2;
                k = k.height;
                k = this._-0xv.findChildByName("skip_link").bottom;
                k.height = k;
                this._-0xv.findChildByName("border").height = (this._-0xv.findChildByName("border").height + (k - k));
                this._-0xv.height = (this._-0xv.height + ((k - k) + 40));
            }
            else
            {
                this._-0xv.findChildByName("request_type").caption = this._-403(_arg1);
                this._-0xv.findChildByName("request_description").caption = _arg2;
            };
            var k:_-2Zl = _-2Zl(_-3Yi(this._-0xv.findChildByName("countdown")).widget);
            k.seconds = _arg3;
            k.running = true;
        }
        private function _-4Ln(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-L2))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "accept_button":
                    this._-Je._-0cM(new _-5DJ(true));
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickAccept"));
                    this.closeWindow();
                    return;
                case "skip_link":
                    this._-Je._-0cM(new _-5DJ(false));
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickSkip"));
                    this.closeWindow();
                    return;
            };
        }
        private function _-00Z():void
        {
            var title:String;
            var summary:String;
            if (((!(this._onDuty)) || (!(this._-8M._-4Ev()))))
            {
                _-Nb.log("Trying to set state to guide ongoing, but not on duty or no active guide session");
                return;
            };
            this._-8M._-4XV = _-1-l._-aN;
            this._-2Eq(this._-1-G, false);
            this._-27F(this._-8M.userId, this._-8M.userName, this._-8M._-4vx, this._-8M._-4OT, true, _-it);
            this._-0xv.caption = this._-Je.localization._-5CG("guide.help.request.guide.ongoing.title", "", "name", this._-8M.userName);
            var inputWidget:_-0wK = _-0wK(_-3Yi(this._-0xv.findChildByName("input_widget")).widget);
            inputWidget._-2Id = this;
            inputWidget._-4cW = this._-Je.localization._-5CG("guide.help.request.guide.ongoing.input.empty", "", "name", this._-8M.userName);
            inputWidget.maxChars = int(this._-Je.configurationManager.getKey("guide.help.request.max.chat.message.length", "150"));
            if ((((this._-8M._-Hu == _-iw._-2vR)) || ((this._-8M._-Hu == _-iw._-3Qb))))
            {
                title = "${guide.help.request.join.room.title}";
                summary = this._-Je.localization._-5CG("guide.help.request.join.room.summary", "", "name", this._-8M.userName);
                this._-Je.windowManager.confirm(title, summary, 0, function (_arg1:_-1xB, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                    if (_arg2.type == WindowEvent._-0-9)
                    {
                        _-Je._-0cM(new _-4p());
                    };
                });
            };
        }
        private function _-1-G(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-aN))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "visit_button":
                    this._-Je._-0cM(new _-4p());
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickVisit"));
                    return;
                case "invite_button":
                    this._-Je._-0cM(new _-L());
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickInvite"));
                    return;
                case "report_link":
                    this._-4kM();
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickReport"));
                    return;
                case "close_link":
                    this._-Je._-0cM(new _-0TH());
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickClose"));
                    this.closeWindow();
                    return;
            };
        }
        private function _-0yh(_arg1:int):void
        {
            if (((!(this._onDuty)) || (!(this._-8M._-4Ev()))))
            {
                _-Nb.log("Trying to set state to guide ongoing, but not on duty or no active guide session");
                return;
            };
            this._-8M._-4XV = _-1-l._-rD;
            this._-2Eq(this._-1G8, true);
            if ((((_arg1 == _-S0._-5Bs)) || ((_arg1 == _-S0._-Vg))))
            {
                this._-0xv.findChildByName("close_reason").caption = this._-Je.localization._-5CG("guide.help.request.guide.closed.reason.other", "", "name", this._-8M.userName);
            }
            else
            {
                this._-0xv.findChildByName("close_reason").caption = this._-Je.localization.getKey("guide.help.request.guide.closed.reason.you", "");
            };
            this._-0xv.findChildByName("report_link").caption = this._-Je.localization._-5CG("guide.help.request.guide.closed.report.link", "", "name", this._-8M.userName);
            _-3La(_-3Yi(this._-0xv.findChildByName("requester_avatar")).widget).figure = this._-8M._-4vx;
        }
        private function _-1G8(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-rD))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "close_button":
                case "header_button_close":
                    this._-Je._-0cM(new _-1WP(true));
                    this.closeWindow();
                    return;
                case "report_link":
                    this._-4kM();
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickReport"));
                    return;
            };
        }
        private function _-LI(_arg1:uint, _arg2:String=null):void
        {
            if (this._-8M._-4gx())
            {
                _-Nb.log("Trying to set state to user create, but active session exists");
                return;
            };
            this._-8M._-2K- = _-S0._-0Kl;
            this._-8M._-4XV = _-1-l._-dN;
            this._-8M._-Hu = _arg1;
            this._-2Eq(this._-1uj, true);
            var k:_-0wK = _-0wK(_-3Yi(this._-0xv.findChildByName("input_widget")).widget);
            k.maxChars = int(this._-Je.configurationManager.getKey("guide.help.request.max.description.length", "255"));
            if (_arg2)
            {
                k.message = _arg2;
            };
        }
        private function _-1uj(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:String;
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-dN))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "create_button":
                    _local3 = StringUtil.trim(_-0wK(_-3Yi(this._-0xv.findChildByName("input_widget")).widget).message);
                    if (_local3.length < int(this._-Je.configurationManager.getKey("guide.help.request.min.description.length", "15")))
                    {
                        this._-0xv.findChildByName("create_error").visible = true;
                        IItemListWindow(this._-0xv.findChildByName("list"))._-0O3();
                    }
                    else
                    {
                        this._-Je._-0cM(new _-aM(this._-8M._-Hu, _local3));
                        this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickCreate"));
                        this.closeWindow();
                    };
                    return;
                case "header_button_close":
                case "cancel_link":
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickCancel"));
                    this._-yF(true);
                    return;
            };
        }
        private function _-Se(_arg1:int, _arg2:String, _arg3:int):void
        {
            if (!this._-8M._-4cA())
            {
                _-Nb.log("Trying to set state to user pending request, but no active user session");
                return;
            };
            this._-8M._-4XV = _-1-l._-0k5;
            this._-8M._-Hu = _arg1;
            this._-8M._-4OT = _arg2;
            this._-2Eq(this._-4cr, false);
            this._-0xv.findChildByName("request_type").caption = this._-403(_arg1);
            this._-0xv.findChildByName("request_description").caption = _arg2;
            this._-0xv.findChildByName("waiting_time").caption = this._-Je.localization._-5CG("guide.help.request.user.pending.info.waiting", "", "waitingtime", _-28n._-kh(this._-Je.localization, _arg3));
        }
        private function _-4cr(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-0k5))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "cancel_button":
                    this._-Je._-0cM(new _-46u());
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickCancel"));
                    this.closeWindow();
                    return;
            };
        }
        private function _-2CK():void
        {
            if (!this._-8M._-4cA())
            {
                _-Nb.log("Trying to set state to user ongoing request, but no active user session");
                return;
            };
            this._-8M._-4XV = _-1-l._-4oP;
            this._-2Eq(this._-4Wm, false);
            this._-4O6(_-DU, this._-Je.localization.getKey("guide.help.requester.disclaimer"));
            if ((((this._-8M._-Hu == _-iw._-3Qb)) || ((this._-8M._-Hu == _-iw._-2vR))))
            {
                this._-4O6(_-3fB, this._-Je.localization.getKey("guide.help.request.tour.reminder"));
            }
            else
            {
                this._-27F(this._-8M.userId, this._-8M.userName, this._-8M._-4vx, this._-8M._-4OT, false, _-it);
            };
            this._-0xv.caption = this._-Je.localization._-5CG("guide.help.request.user.ongoing.title", "", "name", this._-8M._-3Wn);
            this._-0xv.findChildByName("guide_name_link").caption = this._-8M._-3Wn;
            var k:_-0wK = _-0wK(_-3Yi(this._-0xv.findChildByName("input_widget")).widget);
            k._-2Id = this;
            k._-4cW = this._-Je.localization._-5CG("guide.help.request.user.ongoing.input.help", "", "name", this._-8M._-3Wn);
            k.maxChars = int(this._-Je.configurationManager.getKey("guide.help.request.max.chat.message.length", "150"));
        }
        private function _-4Wm(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-4oP))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "guide_name_link":
                    this._-Je._-0cM(new _-RA(this._-8M._-VX));
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickProfile"));
                    return;
                case "report_guide_link":
                    this._-4kM();
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickReport"));
                    return;
                case "close_link":
                    this._-Je._-0cM(new _-0TH());
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickClose"));
                    this.closeWindow();
                    return;
            };
        }
        private function _-3cw():void
        {
            if (!this._-8M._-4cA())
            {
                _-Nb.log("Trying to set state to user guide disconnected, but no active user session");
                return;
            };
            this._-8M._-4XV = _-1-l._-0bl;
            this._-2Eq(this._-02s, true);
            this._-0xv.findChildByName("guide_name_link").caption = this._-8M._-3Wn;
        }
        private function _-02s(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-0bl))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                    this._-Je._-0cM(new _-1WP(false));
                    this.closeWindow();
                    return;
                case "guide_name_link":
                    this._-Je._-0cM(new _-RA(this._-8M._-VX));
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickProfile"));
                    return;
                case "report_guide_link":
                    this._-4kM();
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickReport"));
                    return;
                case "resubmit_button":
                    this._-0r = true;
                    this._-Je._-0cM(new _-1WP(false));
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickResubmit"));
                    this.closeWindow();
                    return;
            };
        }
        private function _-5A():void
        {
            if (!this._-8M._-4cA())
            {
                _-Nb.log("Trying to set state to user feedback, but no active user session");
                return;
            };
            this._-8M._-4XV = _-1-l._-2-o;
            this._-2Eq(this._-4qy, false);
            this._-0xv.findChildByName("guide_name_link").caption = this._-8M._-3Wn;
        }
        private function _-4qy(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-2-o))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "guide_name_link":
                    this._-Je._-0cM(new _-RA(this._-8M._-VX));
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickProfile"));
                    return;
                case "report_guide_link":
                    this._-4kM();
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickReport"));
                    return;
                case "positive_button":
                    this._-Je._-0cM(new _-1WP(true));
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickPositiveFeedback"));
                    this.closeWindow();
                    return;
                case "negative_button":
                    this._-Je._-0cM(new _-1WP(false));
                    this._-Je.trackGoogle("guideHelp", (this._-0xv.name + "_clickNegativeFeedback"));
                    this.closeWindow();
                    return;
            };
        }
        private function _-14Q():void
        {
            if (!this._-8M._-4cA())
            {
                _-Nb.log("Trying to set state to user thanks, but no active user session");
                return;
            };
            this._-8M._-4XV = _-1-l._-0xG;
            this._-2Eq(this._-3x6, true);
        }
        private function _-3x6(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-0xG))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                case "close_button":
                    this._-yF(false);
                    return;
            };
        }
        private function _-0Ep(_arg1:int):void
        {
            this._-8M._-4XV = _-1-l._-f8;
            this._-2Eq(this._-1XX, false);
            this._-Je._-0Y._-lx(_-2TN._-SH);
            var k:_-2Zl = (_-3Yi(this._-0xv.findChildByName("countdown")).widget as _-2Zl);
            k.seconds = _arg1;
            k.running = true;
        }
        private function _-1XX(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this.disposed) || ((this._-0xv == null)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "skip_link":
                    this._-Je._-0cM(new _-1Ie(false));
                    this._-yF(true);
                    return;
                case "accept_button":
                    this._-Je._-0cM(new _-1Ie(true));
                    this._-3MD();
                    return;
            };
        }
        private function _-3MD():void
        {
            this._-8M._-4XV = _-1-l._-Yp;
            this._-2Eq(this._-1Y8, false);
            this._-0Ls((this._-0xv.findChildByName("waiting_animation") as _-4mB), "help_chat_review_progress_big", 4);
        }
        private function _-1Y8(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this.disposed) || ((this._-0xv == null)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "close_link":
                    this._-Je._-0cM(new _-2uq());
                    this._-yF(true);
                    return;
            };
        }
        private function _-0He(_arg1:int, _arg2:String):void
        {
            var k:Date;
            var k:String;
            var k:Array;
            var k:int;
            var k:String;
            var _local17:Boolean;
            var _local18:String;
            this._-8M._-4XV = _-1-l._-3qu;
            this._-2Eq(this._-1zg, false);
            var k:_-2Zl = (_-3Yi(this._-0xv.findChildByName("countdown")).widget as _-2Zl);
            k.seconds = _arg1;
            k.running = true;
            var k:Array = _arg2.substr(0, _arg2.indexOf(";")).match(/\d+/g);
            if (k.length > 5)
            {
                k = new Date(k[0], (int(k[1]) - 1), k[2], k[3], k[4], k[5]);
            }
            else
            {
                k = new Date();
            };
            var k:Number = ((new Date().getTime() - k.getTime()) / 1000);
            this._-0xv.findChildByName("incident_time").caption = (("(" + _-28n._-kh(this._-Je.localization, k, ".ago")) + ")");
            var k:IItemListWindow = (this._-0xv.findChildByName("chatlog") as IItemListWindow);
            var k:IWindow = this._-0xv.findChildByName("reported_user_template");
            var k:IWindow = this._-0xv.findChildByName("other_user_template");
            var k:IWindow = this._-0xv.findChildByName("separator_template");
            k._-3mI();
            var k:int = -1;
            var k:IWindowContainer;
            for each (k in _arg2.split("\r"))
            {
                if (k == "")
                {
                }
                else
                {
                    k = k.split(";", 3);
                    k = 1;
                    if (k.length < 3)
                    {
                    }
                    else
                    {
                        k = int(k[1]);
                        k = String(k[2]).replace("<", "&lt;").replace(">", "&gt;");
                        if ((((k == k)) && (!((k == null)))))
                        {
                            k.findChildByName("message").caption = (k.findChildByName("message").caption + ("\n" + k));
                        }
                        else
                        {
                            _local17 = (k == 0);
                            k = (((_local17) ? k.clone() : k.clone()) as IWindowContainer);
                            _local18 = ((_local17) ? this._-Je.localization.getKey("guide.bully.request.guide.vote.perpetrator", "") : this._-Je.localization._-5CG("guide.bully.request.guide.vote.anonymous", "%ID%", "id", k.toString()));
                            k.findChildByName("message").caption = ((("<b>" + _local18) + ":</b> ") + k);
                            k.addListItem(k);
                        };
                    };
                };
            };
        }
        private function _-1zg(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            var k:IRegionWindow;
            var k:String;
            var k:_-4mB;
            if (((this.disposed) || ((this._-0xv == null))))
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "close_link":
                        this._-Je._-0cM(new _-2uq());
                        this._-yF(true);
                        break;
                    case "vote_ok":
                        this._-Je._-0cM(new _-4z5(_-3gT));
                        this._-2g8(_-3gT);
                        break;
                    case "vote_bad":
                        this._-Je._-0cM(new _-4z5(_-054));
                        this._-2g8(_-054);
                        break;
                    case "vote_very_bad":
                        this._-Je._-0cM(new _-4z5(_-0jS));
                        this._-2g8(_-0jS);
                        break;
                };
            }
            else
            {
                if ((((_arg2.type == WindowType._-4Y4)) && ((_arg2.name.substr(0, 5) == "vote_"))))
                {
                    k = _arg2.name.substr(5);
                    k = (_arg2 as IRegionWindow);
                    k = ("help_chat_review_vote_" + k);
                    k = (k.getChildAt(0) as _-4mB);
                    switch (_arg1.type)
                    {
                        case WindowMouseEvent._-4ea:
                            k.id = (k.id | 1);
                            break;
                        case WindowMouseEvent._-4e2:
                            k.id = (k.id & ~(1));
                            break;
                        case WindowMouseEvent._-3Jy:
                            k.id = (k.id | 2);
                            break;
                        case WindowMouseEvent._-02B:
                        case WindowMouseEvent._-2uJ:
                            k.id = (k.id & ~(2));
                            break;
                    };
                    switch (k.id)
                    {
                        case 1:
                            k.assetUri = (k + "_over");
                            return;
                        case 3:
                            k.assetUri = (k + "_down");
                            return;
                        default:
                            k.assetUri = k;
                    };
                };
            };
        }
        private function _-2g8(_arg1:int):void
        {
            this._-8M._-4XV = _-1-l._-4Dh;
            this._-2Eq(this._-2bR, true);
            this._-3Ec(_arg1);
        }
        private function _-2bR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this.disposed) || ((this._-0xv == null)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                case "close_button":
                    this._-Je._-0cM(new _-2uq());
                    this._-yF(true);
                    return;
            };
        }
        private function _-3Wb(_arg1:int, _arg2:int, _arg3:Array):void
        {
            this._-8M._-4XV = _-1-l._-55X;
            this._-2Eq(this._-1cR, true);
            var k:int = _-ow(_arg1);
            this._-0xv.findChildByName("result_text").caption = ((_-3qb + _-3kb[k]) + "}");
            _-4mB(this._-0xv.findChildByName("result_image")).assetUri = (_-4KW + _-1yp[k]);
            this._-3Ec(_arg2);
            this._-4Zc((this._-0xv.findChildByName("results") as IItemListWindow), _arg3);
        }
        private function _-1cR(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this.disposed) || ((this._-0xv == null)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                case "close_button":
                    this._-Je._-0cM(new _-2uq());
                    this._-yF(true);
                    return;
            };
        }
        private function _-3Ec(_arg1:int):void
        {
            var k:int = _-ow(_arg1);
            this._-0xv.findChildByName("vote_text").caption = ((_-3qb + _-1yp[k]) + "}");
            _-4mB(this._-0xv.findChildByName("vote_image")).assetUri = (_-4KW + _-1yp[k]);
        }
        private function _-4Zc(_arg1:IItemListWindow, _arg2:Array):void
        {
            var k:IWindowContainer;
            var k:int;
            var k:IWindowContainer;
            var k:int;
            var k:_-4mB;
            if (_arg1.numListItems < (_arg2.length + 1))
            {
                k = (_arg1.getListItemAt(0) as IWindowContainer);
                k = 0;
                while (k < _arg2.length)
                {
                    k = (k.clone() as IWindowContainer);
                    _arg1.addListItem(k);
                    k++;
                };
                k.findChildByName("vote_separator").dispose();
            };
            k = 0;
            while (k < _arg2.length)
            {
                k = (_arg1.getListItemAt((k + 1)) as IWindowContainer);
                k = _arg2[k];
                k = (k.findChildByName("vote_image") as _-4mB);
                k.findChildByName("vote_text").caption = ((_-3qb + _-1yp[k]) + "}");
                this._-0No(k);
                switch (k)
                {
                    case _-2IC._-2iD:
                    case _-2IC._-2Ee:
                        this._-0Ls(k, (_-4KW + _-1yp[k]), 2);
                        break;
                    default:
                        k.assetUri = (_-4KW + _-1yp[k]);
                };
                k++;
            };
        }
        private function _-4oi(_arg1:String):void
        {
            this._-Je.windowManager.simpleAlert((("${" + _arg1) + ".title}"), (("${" + _arg1) + ".heading}"), (("${" + _arg1) + ".message}"));
            this._-yF(true);
        }
        private function _-3eO():void
        {
            this._-2B2(false);
            this._-8M._-4XV = _-1-l._-080;
            this._-2Eq(this._-DH, true);
        }
        private function _-DH(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-080))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                case "close_button":
                    this._-yF(true);
                    return;
            };
        }
        private function _-057():void
        {
            this._-2B2(false);
            this._-8M._-4XV = _-1-l._-0Iv;
            this._-2Eq(this._-2Q9, true);
            if ((((this._-8M._-Hu == _-iw._-3Qb)) || ((this._-8M._-Hu == _-iw._-2vR))))
            {
                this._-0xv.caption = "${guide.help.request.no_tour_guides.title}";
                this._-0xv.findChildByName("heading").caption = "${guide.help.request.no_tour_guides.heading}";
                this._-0xv.findChildByName("message").caption = "${guide.help.request.no_tour_guides.message}";
            };
        }
        private function _-2Q9(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((this.disposed) || (!(this._-0xv)))) || (!((this._-0xv.name == _-1-l._-0Iv))))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                case "close_button":
                    this._-yF(true);
                    return;
            };
        }
        private function _-yF(_arg1:Boolean):void
        {
            this._-1kQ();
            this.closeWindow();
            if (((this._onDuty) && (!(this._-Je.sessionDataManager.isPerkAllowed(_-4Tn.USE_GUIDE_TOOL)))))
            {
                this._-2B2(false);
            };
            if (((_arg1) && (this._onDuty)))
            {
                this._-17X();
            };
        }
        private function _-2Eq(_arg1:Function, _arg2:Boolean):void
        {
            if (this._disposed)
            {
                return;
            };
            if (this._-0xv)
            {
                this.closeWindow();
            };
            _-Nb.log(("Opening window " + this._-8M._-4XV));
            this._-0xv = (this._-hP.habboHelp.getXmlWindow(this._-1Fp(this._-8M._-4XV)) as IWindowContainer);
            this._-0xv.position = this._-0lB;
            this._-0xv.procedure = _arg1;
            this._-0xv.findChildByName("header_button_close").visible = _arg2;
        }
        private function _-1Fp(_arg1:String):String
        {
            return (((((this._-0p7) && ((_arg1 == _-1-l._-2-e)))) ? "guide_tool_with_ticket_selection" : _arg1));
        }
        private function closeWindow():void
        {
            if (this._-0xv)
            {
                _-Nb.log(("Closing window: " + this._-0xv.name));
                this._-0lB.x = Math.max(0, this._-0xv.position.x);
                this._-0lB.y = Math.max(0, this._-0xv.position.y);
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-4kM():void
        {
            this._-Je._-0BR(HabboHelp._-0gN);
        }
        public function _-3EN():void
        {
            if (((this._-206) || (!(this._-0xv))))
            {
                return;
            };
            var k:IDesktopWindow = this._-Je.windowManager.getDesktop(0);
            this._-206 = IWindowContainer(this._-Je.getXmlWindow("report_window"));
            this._-206.procedure = this._-3pJ;
            this._-206.x = Math.max(0, Math.min((k.width - this._-206.width), ((this._-0xv.x + this._-0xv.width) + 10)));
            this._-206.y = Math.max(0, this._-0xv.y);
        }
        private function _-4n9():void
        {
            if (this._-206)
            {
                this._-206.dispose();
                this._-206 = null;
            };
        }
        private function _-3pJ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:String;
            if (((((((this.disposed) || (!(this._-206)))) || (this._-206.disposed))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            switch (_arg2.name)
            {
                case "header_button_close":
                case "cancel_link":
                    this._-Je.trackGoogle("guideHelp", (this._-206.name + "_clickClose"));
                    this._-4n9();
                    return;
                case "urgent_help_link":
                    return;
                case "submit_button":
                    _local3 = _-0wK(_-3Yi(this._-206.findChildByName("input_widget")).widget).message;
                    if (_local3.length == 0)
                    {
                        this._-206.findChildByName("report_error").visible = true;
                        IItemListWindow(this._-206.findChildByName("list"))._-0O3();
                    }
                    else
                    {
                        this._-Je._-0cM(new _-0Pm(_local3));
                        this._-Je.trackGoogle("guideHelp", (this._-206.name + "_clickReport"));
                        this._-4n9();
                        this.closeWindow();
                    };
                    return;
            };
        }
        private function _-1kQ():void
        {
            this._-8M = new _-S0();
        }
        private function _-39-(_arg1:Boolean):void
        {
            var k:ICheckBoxWindow = ICheckBoxWindow(this._-0xv.findChildByName("guide_tool_duty"));
            this._-2B2(_arg1);
            k._-vX = _arg1;
            if (_arg1)
            {
                k.caption = this._-Je.localization.getKey("guide.help.guide.tool.duty.on", "");
            }
            else
            {
                k.caption = this._-Je.localization.getKey("guide.help.guide.tool.duty.off", "");
            };
            var k:IWindow = this._-0xv.findChildByName("disabled_screen");
            if (k)
            {
                k.visible = _arg1;
            };
        }
        private function _-0Ft(_arg1:String, _arg2:Boolean):void
        {
            var k:ICheckBoxWindow = ICheckBoxWindow(this._-0xv.findChildByName(_arg1));
            k._-vX = _arg2;
        }
        private function _-1sJ(_arg1:String, _arg2:Boolean):Boolean
        {
            var k:ICheckBoxWindow = ICheckBoxWindow(this._-0xv.findChildByName(_arg1));
            return ((((k == null)) ? _arg2 : k._-vX));
        }
        private function _-403(_arg1:int):String
        {
            if (_arg1 == _-iw._-2vR)
            {
                k = _-iw._-3Qb;
            };
            return (this._-Je.localization.getKey(("guide.help.request.type." + _arg1), ""));
        }
        private function _-27F(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:Boolean, _arg6:int=0, _arg7=null):void
        {
            var k:_-3Yi;
            var k:_-4PA;
            var _local10:IWindowContainer;
            k = this._-4QL();
            if (((((!((k == null))) && (!((null == (k.widget as _-4PA)))))) && ((k.name == ("chat_msg_" + _-4as)))))
            {
                k = _-4PA(k.widget);
            };
            if (((((k) && ((k.userId == _arg1)))) && ((_arg6 == _-4as))))
            {
                k.message = ((k.message + "\n") + _arg4);
                this._-1Pf(null);
            }
            else
            {
                k = _-3Yi(this._-4PX.clone());
                k.name = ("chat_msg_" + _arg6);
                k = _-4PA(k.widget);
                k.figure = _arg3;
                k._-0wn = _arg5;
                k.message = _arg4;
                k.userName = _arg2;
                k.userId = _arg1;
                switch (_arg6)
                {
                    case _-3wO:
                        _local10 = IWindowContainer(IWindowContainer(k._-5Ec).findChildByName("message_region"));
                        _local10.procedure = this._-2oB;
                        _local10.setParamFlag(WindowParam._-55Y, true);
                        _local10.id = _arg7;
                        ITextWindow(_local10.findChildByName("message")).underline = true;
                        break;
                };
                this._-1Pf(k);
            };
        }
        private function _-2oB(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((this.disposed) || (!(this._-0xv)))) || (!((_arg1.type == WindowMouseEvent._-90)))))
            {
                return;
            };
            this._-Je.navigator.goToPrivateRoom(_arg2.id);
        }
        private function _-1Pf(_arg1:IWindow):void
        {
            var k:IItemListWindow = IItemListWindow(this._-0xv.findChildByName("chat_list"));
            if (_arg1)
            {
                k._-kE(_arg1, (k.numListItems - 1));
            };
            k.scrollV = 1;
            k._-0O3();
            this._-4Kv();
        }
        private function _-4O6(_arg1:int, _arg2:String):void
        {
            var k:IWindowContainer;
            if (((!(this._-8M._-3pK())) || ((_arg2 == ""))))
            {
                return;
            };
            switch (_arg1)
            {
                case _-DU:
                    k = (this._-55I.clone() as IWindowContainer);
                    k.findChildByName("content").caption = _arg2;
                    this._-1Pf(k);
                    return;
                case _-3fB:
                    k = (this._-4m8.clone() as IWindowContainer);
                    k.findChildByName("content").caption = _arg2;
                    this._-1Pf(k);
                    return;
                default:
                    if (this._-8M._-4cA())
                    {
                        this._-27F(this._-8M.userId, this._-8M.userName, this._-8M._-4vx, _arg2, true, _-it);
                    }
                    else
                    {
                        this._-27F(this._-8M._-VX, this._-8M._-3Wn, this._-8M._-20q, _arg2, true, _-it);
                    };
            };
        }
        private function _-4QL():_-3Yi
        {
            var k:IItemListWindow = IItemListWindow(this._-0xv.findChildByName("chat_list"));
            if (k.numListItems > 1)
            {
                return ((k.getListItemAt((k.numListItems - 2)) as _-3Yi));
            };
            return (null);
        }
        public function _-2tx(_arg1:_-3Yi, _arg2:String):void
        {
            if (_arg2.length > 0)
            {
                this._-Je._-0cM(new _-0CV(_arg2));
                _-0wK(_arg1.widget).message = "";
                this._-4Kv();
            };
        }
        private function _-2B2(_arg1:Boolean):void
        {
            this._onDuty = _arg1;
            this._-Je.toolbar._-in = _arg1;
        }
        private function _-4Kv():void
        {
            if (this._-20H != null)
            {
                this._-20H.stop();
                this._-20H = null;
            };
            if (((((!(this._-0xv)) || (this._-0xv.disposed))) || (((!((this._-0xv.name == _-1-l._-4oP))) && (!((this._-0xv.name == _-1-l._-aN)))))))
            {
                return;
            };
            this._-20H = new Timer(_-11R);
            this._-20H.addEventListener(TimerEvent.TIMER, this._-3Pp);
            this._-20H.start();
            this._-05E = this.if;
            this._-1Rm(false);
        }
        private function get if():int
        {
            if ((((((this._-0xv == null)) || (this._-0xv.disposed))) || (((!((this._-0xv.name == _-1-l._-4oP))) && (!((this._-0xv.name == _-1-l._-aN)))))))
            {
                return (0);
            };
            var k:_-3Yi = (this._-0xv.findChildByName("input_widget") as _-3Yi);
            return ((((k)!=null) ? _-0wK(k.widget).message.length : 0));
        }
        private function _-3Pp(_arg1:TimerEvent):void
        {
            if (((((!(this._-0xv)) || (this._-0xv.disposed))) || (((!((this._-0xv.name == _-1-l._-4oP))) && (!((this._-0xv.name == _-1-l._-aN)))))))
            {
                return;
            };
            var k:int = this.if;
            var k = !((this._-05E == k));
            if (this._-4GK != k)
            {
                this._-Je._-0cM(new _-1tW(k));
                this._-4GK = k;
            };
            this._-05E = k;
        }
        private function _-1Rm(_arg1:Boolean):void
        {
            if (((((!(this._-0xv)) || (this._-0xv.disposed))) || (((!((this._-0xv.name == _-1-l._-4oP))) && (!((this._-0xv.name == _-1-l._-aN)))))))
            {
                return;
            };
            var k:IItemListWindow = IItemListWindow(this._-0xv.findChildByName("chat_list"));
            k.getListItemAt((k.numListItems - 1)).blend = ((_arg1) ? 1 : 0);
        }
        private function _-3A8(_arg1:TimerEvent):void
        {
            var data:AnimationData;
            var event:TimerEvent = _arg1;
            this._-03 = this._-03.filter(function (_arg1:AnimationData, _arg2:int, _arg3:Vector.<AnimationData>):Boolean
            {
                return (((!((_arg1.window == null))) && (!(_arg1.window.disposed))));
            });
            for each (data in this._-03)
            {
                this._-15d(data);
            };
        }
        private function _-0Ls(_arg1:_-4mB, _arg2:String, _arg3:int):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:AnimationData = new AnimationData(_arg1, _arg2, _arg3);
            this._-15d(k);
            this._-03.push(k);
        }
        private function _-15d(_arg1:AnimationData):void
        {
            var k:int = (this._-3jk.currentCount % _arg1._-2EV);
            _arg1.window.assetUri = ((_arg1.asset + "_") + String((k + 1)));
        }
        private function _-0No(_arg1:_-4mB):void
        {
            var window:_-4mB = _arg1;
            this._-03 = this._-03.filter(function (_arg1:AnimationData, _arg2:int, _arg3:Vector.<AnimationData>):Boolean
            {
                return (!((_arg1.window == window)));
            });
        }
        private function get _-0p7():Boolean
        {
            return (this._-Je.configurationManager.getBoolean("guidetool.tickettypeselection.enabled", false));
        }

    }
}//package _-3fI

//------------------------------------------------------------
//_-3fZ._-380

package _-3fZ
{
    import _-FP._-2ul;
    import flash.utils.Timer;
    import _-1B-._-Px;
    import _-4Wu._-4uR;
    import _-4f7._-3eF;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import flash.utils.getTimer;
    import _-1FD._-47B;
    import _-og._-4Iz;
    import _-og._-Rz;
    import _-og._-08b;
    import _-og._-d0;
    import flash.events.IEventDispatcher;
    import flash.events.TimerEvent;
    import _-Ew.IWindow;

    public class _-380 extends _-2ul 
    {

        private static const _-49B:int = 5000;

        private var _visualization:RoomChatInputView;
        private var _-0aD:String = "";
        private var _-180:Boolean = false;
        private var _-4IU:Timer = null;
        private var _-2dN:int;
        private var _-3Gv:_-Px = null;
        private var _-3fD:_-4uR;

        public function _-380(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-4uR, _arg6:_-Px)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-3Gv = _arg6;
            this._-3fD = _arg5;
            this._visualization = new RoomChatInputView(this);
            (_arg1 as _-3eF).widget = this;
        }
        public function get _-1gI():Boolean
        {
            return (this._-180);
        }
        public function get config():_-4uR
        {
            return (this._-3fD);
        }
        public function get handler():_-3eF
        {
            return ((_-0nf as _-3eF));
        }
        override public function dispose():void
        {
            if (this._visualization != null)
            {
                this._visualization.dispose();
                this._visualization = null;
            };
            if (this._-4IU != null)
            {
                this._-4IU.stop();
                this._-4IU = null;
            };
            this._-3Gv = null;
            this._-3fD = null;
            super.dispose();
        }
        public function get _-5Ey():Boolean
        {
            return (((getTimer() - this._-2dN) > _-49B));
        }
        public function _-F():void
        {
            this._-2dN = getTimer();
        }
        public function _-1xI(_arg1:String, _arg2:int, _arg3:String="", _arg4:int=0):void
        {
            if (this._-180)
            {
                return;
            };
            var k:_-47B = new _-47B(_-47B._-XK, _arg1, _arg2, _arg3, _arg4);
            if (messageListener != null)
            {
                messageListener.processWidgetMessage(k);
            };
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-4Iz._-wH, this._-2CN);
            _arg1.addEventListener(_-Rz._-2gi, this._-247);
            _arg1.addEventListener(_-08b._-0tH, this._-3y);
            _arg1.addEventListener(_-d0._-28B, this._-1Zz);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-4Iz._-wH, this._-2CN);
            _arg1.removeEventListener(_-Rz._-2gi, this._-247);
            _arg1.removeEventListener(_-08b._-0tH, this._-3y);
            _arg1.removeEventListener(_-d0._-28B, this._-1Zz);
        }
        private function _-2CN(_arg1:_-4Iz):void
        {
            this._-0aD = "";
        }
        private function _-3y(_arg1:_-08b):void
        {
            this._-0aD = _arg1.name;
        }
        private function _-247(_arg1:_-Rz):void
        {
            var k:String = "";
            switch (_arg1._-1LL)
            {
                case _-Rz._-87:
                    k = localizations.getKey("widgets.chatinput.mode.whisper", ":tell");
                    this._visualization._-26R(k, _arg1.userName);
                    return;
                case _-Rz._-1Bc:
                    return;
            };
        }
        private function _-QR(_arg1:TimerEvent):void
        {
            _-Nb.log("Releasing flood blocking");
            this._-180 = false;
            if (this._visualization != null)
            {
                this._visualization._-Sc();
            };
            this._-4IU = null;
        }
        private function _-0cE(_arg1:TimerEvent):void
        {
            if (this._visualization != null)
            {
                this._visualization._-hH((this._-4IU.repeatCount - this._-4IU.currentCount));
            };
        }
        public function get _-2uU():String
        {
            return (this._-0aD);
        }
        public function _-1Zz(_arg1:_-d0):void
        {
            this._-180 = true;
            _-Nb.log((("Enabling flood blocking for " + _arg1.seconds) + " seconds"));
            if (this._-4IU)
            {
                this._-4IU.reset();
            }
            else
            {
                this._-4IU = new Timer(1000, _arg1.seconds);
                this._-4IU.addEventListener(TimerEvent.TIMER, this._-0cE);
                this._-4IU.addEventListener(TimerEvent.TIMER_COMPLETE, this._-QR);
            };
            this._-4IU.start();
            if (this._visualization != null)
            {
                this._visualization._-hH(_arg1.seconds);
                this._visualization._-2zn();
            };
        }
        override public function get mainWindow():IWindow
        {
            return (this._visualization.window);
        }
        public function hide():void
        {
            this._visualization.window.visible = false;
        }

    }
}//package _-3fZ

//------------------------------------------------------------
//_-3fZ.RoomChatInputView

package _-3fZ
{
    import _-Ew.IWindowContainer;
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindow;
    import flash.text.TextFormat;
    import flash.utils.Timer;
    import _-1Jk._-3nT;
    import _-0uk.ChatStyleSelector;
    import flash.events.TimerEvent;
    import _-yT._-54q;
    import _-295._-243;
    import _-2YR._-4Tn;
    import _-2vN._-3hb;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowKeyboardEvent;
    import _-0Ie.WindowEvent;
    import _-1Jd._-1ij;
    import _-2VC.RoomChatWidget;
    import _-1ae.IItemListWindow;
    import _-0M7._-0tE;
    import _-2Pt._-2yb;
    import _-0y0._-AY;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-uF._-3Z;
    import flash.events.KeyboardEvent;
    import flash.ui.Keyboard;
    import _-09j.WindowState;
    import _-1FD._-2ZY;
    import _-1FD._-47B;
    import _-2HX._-1HE;
    import flash.display.Stage;
    import flash.display.InteractiveObject;
    import flash.display.DisplayObject;
    import flash.text.TextField;
    import _-35T.PerkAllowancesMessageParser;
    import _-0Ix._-3La;
    import _-1ae._-3Yi;
    import _-1Jd._-51K;
    import _-1ae.IBorderWindow;

    public class RoomChatInputView 
    {

        private static const _-2OO:int = 250;
        private static const _-1Rp:int = 50;
        private static const _-026:int = 55;
        private static const _-1qS:int = 5;
        private static const _-4Oe:String = "${widgets.chatinput.say}";

        private var _-0dg:_-380;
        private var _-0xv:IWindowContainer;
        private var _-3Kd:ITextFieldWindow;
        private var _-23W:IWindow;
        private var _button:IWindow;
        private var _-2MQ:IWindow;
        private var _-2o1:IWindow;
        private var _-1kN:IWindowContainer;
        private var _-2Gg:IWindowContainer;
        private var _-4jf:String;
        private var _-4Dw:String;
        private var _-35H:String;
        private var _-4py:String;
        private var _-3uL:Boolean = false;
        private var _-4ae:TextFormat;
        private var _-3XG:Boolean = false;
        private var _-2wv:Boolean = false;
        private var _-20H:Timer;
        private var _-0JD:Timer;
        private var _-54c:String = "";
        private var _-41B:Timer;
        private var _-AX:String = "";
        private var _-gX:_-3nT;
        private var _-av:ChatStyleSelector;

        public function RoomChatInputView(_arg1:_-380)
        {
            this._-0dg = _arg1;
            this._-4Dw = _arg1.localizations.getKey("widgets.chatinput.mode.whisper", ":tell");
            this._-4jf = _arg1.localizations.getKey("widgets.chatinput.mode.shout", ":shout");
            this._-35H = _arg1.localizations.getKey("widgets.chatinput.mode.speak", ":speak");
            this._-4py = _arg1.localizations.getKey("widgets.chatinput.tooltip.suggestions.prefix", "Suggestions for");
            this._-20H = new Timer(1000, 1);
            this._-20H.addEventListener(TimerEvent.TIMER_COMPLETE, this._-1PI);
            this._-0JD = new Timer(10000, 1);
            this._-0JD.addEventListener(TimerEvent.TIMER_COMPLETE, this._-4TX);
            this._-gX = new _-3nT(this._-0rM);
            this._-0dg.handler.container.connection.addMessageEvent(this._-gX);
            this._-4ae = new TextFormat(null, null, 0x999999, null, true, false);
            this.createWindow();
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function dispose():void
        {
            this.sessionDataManager.events.removeEventListener(_-54q._-0Fq, this._-1n8);
            if (this._-gX != null)
            {
                this._-0dg.handler.container.connection.removeMessageEvent(this._-gX);
                this._-gX = null;
            };
            this._-0dg = null;
            this._-3Kd = null;
            this._-23W = null;
            this._button = null;
            this._-2MQ = null;
            this._-2o1 = null;
            if (this._-1kN != null)
            {
                this._-1kN.dispose();
                this._-1kN = null;
            };
            if (this._-20H != null)
            {
                this._-20H.reset();
                this._-20H.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-1PI);
                this._-20H = null;
            };
            if (this._-0JD != null)
            {
                this._-0JD.reset();
                this._-0JD.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-4TX);
                this._-0JD = null;
            };
            if (this._-41B)
            {
                this._-41B.reset();
                this._-41B.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-32k);
                this._-41B = null;
            };
        }
        private function createWindow():void
        {
            if (this._-1kN != null)
            {
                return;
            };
            var k:_-243 = (this._-0dg.assets.getAssetByName("chatinput_window") as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return;
            };
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML), 0) as IWindowContainer);
            this._-0xv.width = this._-0xv.desktop.width;
            this._-0xv.height = this._-0xv.desktop.height;
            this._-0xv.invalidate();
            this._-2Gg = IWindowContainer(this._-0xv.findChildByName("chatstyles_menu"));
            this._-1kN = (this._-0xv.findChildByName("bubblecont") as IWindowContainer);
            this._-1kN.x = ((this._-0xv.width - this._-1kN.width) / 2);
            this._-1kN.y = (this._-0xv.height - this._-1kN.height);
            if (this._-0dg.handler.container.roomSession.isGameSession)
            {
                this._-1kN.y = (this._-1kN.y - _-1qS);
            }
            else
            {
                this._-1kN.y = (this._-1kN.y - _-026);
            };
            this._-1kN.tags.push("room_widget_chatinput");
            this._-3Kd = (this._-1kN.findChildByName("chat_input") as ITextFieldWindow);
            this._-23W = this._-1kN.findChildByName("input_border");
            this._button = this._-1kN.findChildByName("send_button");
            this._-2MQ = this._-1kN.findChildByName("send_button_text");
            this._-2o1 = this._-1kN.findChildByName("block_text");
            this._-2MQ.caption = _-4Oe;
            this._-15b(this.sessionDataManager.isPerkAllowed(_-4Tn.SAFE_CHAT), this.sessionDataManager.isPerkAllowed(_-4Tn.FULL_CHAT));
            this._-0E1(this.sessionDataManager.figure);
            this.sessionDataManager.events.addEventListener(_-54q._-0Fq, this._-1n8);
            this._-3Kd.setParamFlag(_-3hb._-0g6, true);
            this._-3Kd.addEventListener(WindowMouseEvent._-3Jy, this._-4sl);
            this._-3Kd.addEventListener(WindowMouseEvent._-2dT, this._-tc);
            this._-3Kd.addEventListener(WindowKeyboardEvent._-2CS, this._-3Fm);
            this._-3Kd.addEventListener(WindowKeyboardEvent._-4Wf, this._-3RD);
            this._-3Kd.addEventListener(WindowEvent._-0cZ, this._-3Bk);
            this._-3Kd._-1e = 0;
            this._-3Kd._-5Z = true;
            this._-1kN.findChildByName("send_button").addEventListener(WindowMouseEvent._-90, this._-OK);
            this._-1kN.findChildByName("safety_quiz_overlay").addEventListener(WindowMouseEvent._-90, this._-2M-);
            this._-1kN.findChildByName("citizenship_overlay").addEventListener(WindowMouseEvent._-90, this._-47M);
            this._-3uL = true;
            this._-3Kd.setTextFormat(this._-4ae);
            this._-54c = "";
            this._-0xv.addEventListener(WindowEvent._-4cR, this._-2N3);
            this._-0xv.addEventListener(WindowEvent._-3g1, this._-2N3);
            if ((((((this._-0dg.handler.container.sessionDataManager.clubLevel == _-1ij._-1pk)) && (this._-4Sf()))) && (!(this._-0dg.handler.container.roomSession.isGameSession))))
            {
                this._-3K6(RoomChatWidget._-4hx._-13W());
            }
            else
            {
                IItemListWindow(this._-1kN.findChildByName("chat_input_container"))._-3yK(0);
            };
            this._-4ZB();
        }
        private function _-4Sf():Boolean
        {
            return (this._-0dg.config.getBoolean("custom.chat.styles.enabled", false));
        }
        private function _-47M(_arg1:WindowMouseEvent):void
        {
            this._-0dg.handler.container.habboTracking.trackTalentTrackOpen(_-0tE._-0-O, "chatinput");
            this._-0dg.handler.container.connection.send(new _-2yb(_-0tE._-0-O));
        }
        private function _-2M-(_arg1:WindowMouseEvent):void
        {
            this._-0dg.handler.container.habboHelp.showSafetyBooklet();
        }
        private function _-4ZB():void
        {
            var k:IWindow;
            if (_-AY._-4Bs())
            {
                k = this._-0dg.windowManager.createWindow("chat_dimmer", "", _-4Pi._-3cp, _-29z._-4od, ((_-3hb._-2jp | _-3hb._-2P7) | _-3hb._-0g6), new Rectangle(0, 0, this._-1kN.width, this._-1kN.height), null, 0);
                k.color = 0;
                k.blend = 0.3;
                this._-1kN.addChild(k);
                this._-1kN.invalidate();
                if (this._-41B == null)
                {
                    this._-41B = new Timer(_-AY._-2nx, 1);
                    this._-41B.addEventListener(TimerEvent.TIMER_COMPLETE, this._-32k);
                    this._-41B.start();
                };
            };
        }
        private function _-32k(_arg1:TimerEvent):void
        {
            this._-41B.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-32k);
            this._-41B = null;
            var k:IWindow = this._-1kN.findChildByName("chat_dimmer");
            if (k != null)
            {
                this._-1kN.removeChild(k);
                this._-0dg.windowManager.destroy(k);
            };
        }
        private function _-2N3(_arg1:WindowEvent=null):void
        {
            this._-0xv.width = this._-0xv.desktop.width;
            this._-0xv.height = this._-0xv.desktop.height;
            var k:Point = new Point();
            this._-1kN.getGlobalPosition(k);
            var k:int = (k.x - this._-1kN.x);
            var k:int = ((((this._-1kN.desktop.width - this._-23W.width) / 2) - k) - this._-23W.x);
            var k:int = ((((this._-1kN.desktop.width - this._-1kN.width) - _-2OO) - k) - this._-23W.x);
            this._-1kN.x = Math.max(Math.min(k, k), _-1Rp);
            this._-1kN.findChildByName("citizenship_overlay").width = this._-1kN.findChildByName("chat_input_container").width;
            if (this._-av)
            {
                this._-av._-4up();
            };
        }
        private function _-OK(_arg1:WindowMouseEvent):void
        {
            if (!this._-3uL)
            {
                this._-4et();
            };
        }
        public function _-Sc():void
        {
            this._-3Kd.visible = true;
            this._-2o1.visible = false;
            if (this._button != null)
            {
                this._button.enable();
            };
        }
        public function _-2zn():void
        {
            this._-3Kd.visible = false;
            this._-2o1.visible = true;
            if (this._button != null)
            {
                this._button.disable();
            };
        }
        public function _-hH(_arg1:int):void
        {
            this._-0dg.localizations.registerParameter("chat.input.alert.flood", "time", _arg1.toString());
        }
        public function _-26R(_arg1:String, _arg2:String=""):void
        {
            if ((((this._-1kN == null)) || ((this._-3Kd == null))))
            {
                return;
            };
            this._-3Kd.enable();
            this._-3Kd.selectable = true;
            this._-3Kd.text = "";
            this._-36S();
            this._-3Kd.text = (this._-3Kd.text + (_arg1 + " "));
            if (_arg2.length > 0)
            {
                this._-3Kd.text = (this._-3Kd.text + (_arg2 + " "));
            };
            this._-3Kd.setSelection(this._-3Kd.text.length, this._-3Kd.text.length);
            this._-54c = this._-3Kd.text;
        }
        private function _-4sl(_arg1:WindowEvent=null, _arg2:IWindow=null):void
        {
            this._-36S();
        }
        private function _-tc(_arg1:WindowMouseEvent=null, _arg2:IWindow=null):void
        {
            var k:String;
            var k:Array;
            if (((!((this._-3Kd == null))) && ((_arg1.target == this._-3Kd))))
            {
                if (!this._-1kN.findChildByName("citizenship_overlay").visible)
                {
                    return;
                };
                k = this._-3Kd._-3ex(_arg1.localX, _arg1.localY);
                if (k == this._-AX)
                {
                    return;
                };
                if ((((k.length > 0)) && (!((this._-0dg.localizations as _-3Z).isSafeWord(k)))))
                {
                    k = (this._-0dg.localizations as _-3Z)._-0ID(k);
                    this._-3Kd._-2QR = ((((this._-4py + " ") + k) + ": ") + k.join(","));
                }
                else
                {
                    this._-3Kd._-2QR = "";
                };
                this._-AX = k;
            };
        }
        private function _-3Fm(_arg1:WindowEvent=null, _arg2:IWindow=null):void
        {
            var k:uint;
            var k:Boolean;
            var k:WindowKeyboardEvent;
            var k:KeyboardEvent;
            var k:String;
            var k:Array;
            if ((((((this._-1kN == null)) || ((this._-0dg == null)))) || (this._-0dg._-1gI)))
            {
                return;
            };
            if (this._-2GM())
            {
                return;
            };
            this._-36S();
            if ((_arg1 is WindowKeyboardEvent))
            {
                k = (_arg1 as WindowKeyboardEvent);
                k = k.charCode;
                k = k.shiftKey;
            };
            if ((_arg1 is KeyboardEvent))
            {
                k = (_arg1 as KeyboardEvent);
                k = k.charCode;
                k = k.shiftKey;
            };
            if ((((k == null)) && ((k == null))))
            {
                return;
            };
            if (k == Keyboard.SPACE)
            {
                this._-56K();
            };
            if (k == Keyboard.ENTER)
            {
                this._-4et(k);
                this._-5-z(true);
            };
            if (k == Keyboard.BACKSPACE)
            {
                if (this._-3Kd != null)
                {
                    k = this._-3Kd.text;
                    k = k.split(" ");
                    if ((((((k[0] == this._-4Dw)) && ((k.length == 3)))) && ((k[2] == ""))))
                    {
                        this._-3Kd.text = "";
                        this._-54c = "";
                    };
                };
            };
        }
        private function _-3RD(_arg1:WindowKeyboardEvent):void
        {
            if (_arg1.keyCode == Keyboard.ENTER)
            {
                this._-5-z(false);
            };
        }
        private function _-5-z(_arg1:Boolean):void
        {
            if (this._button)
            {
                this._button._-1H2(WindowState._-0pb, _arg1);
            };
        }
        private function _-3Bk(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.window as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            this._-0JD.reset();
            var k = (k.text.length == 0);
            if (k)
            {
                this._-3XG = false;
                this._-20H.start();
            }
            else
            {
                if (k.text.length > (this._-54c.length + 1))
                {
                    if (this._-0dg._-5Ey)
                    {
                        this._-0dg._-F();
                    }
                    else
                    {
                        k.text = "";
                    };
                };
                this._-54c = k.text;
                if (!this._-3XG)
                {
                    this._-3XG = true;
                    this._-20H.reset();
                    this._-20H.start();
                };
                this._-0JD.start();
            };
        }
        private function _-56K():void
        {
            if ((((this._-3Kd == null)) || ((this._-3Kd.text == ""))))
            {
                return;
            };
            var k:String = this._-3Kd.text;
            var k:String = this._-0dg._-2uU;
            if (k == this._-4Dw)
            {
                if (k.length > 0)
                {
                    this._-3Kd.text = (this._-3Kd.text + (" " + this._-0dg._-2uU));
                    this._-3Kd.setSelection(this._-3Kd.text.length, this._-3Kd.text.length);
                    this._-54c = this._-3Kd.text;
                };
            };
        }
        private function _-4TX(_arg1:TimerEvent):void
        {
            if (this._-3XG)
            {
                this._-2wv = false;
            };
            this._-3XG = false;
            this._-Dj();
        }
        private function _-1PI(_arg1:TimerEvent):void
        {
            if (this._-3XG)
            {
                this._-2wv = true;
            };
            this._-Dj();
        }
        private function _-Dj():void
        {
            if (this._-0dg == null)
            {
                return;
            };
            if (this._-0dg._-1gI)
            {
                return;
            };
            var k:_-2ZY = new _-2ZY(this._-3XG);
            this._-0dg.messageListener.processWidgetMessage(k);
        }
        private function _-36S():void
        {
            if (this._-3Kd == null)
            {
                return;
            };
            if (this._-3uL)
            {
                this._-3Kd.text = "";
                this._-3Kd.textColor = 0;
                this._-3Kd.italic = false;
                this._-3uL = false;
                this._-54c = "";
            };
            this._-3Kd.focus();
        }
        private function _-4et(_arg1:Boolean=false):void
        {
            if ((((this._-3Kd == null)) || ((this._-3Kd.text == ""))))
            {
                return;
            };
            var k:int = ((_arg1) ? _-47B._-3Oz : _-47B._-0Js);
            var k:String = this._-3Kd.text;
            var k:Array = k.split(" ");
            var k:String = "";
            var k:String = "";
            switch (k[0])
            {
                case this._-4Dw:
                    k = _-47B._-cB;
                    k = k[1];
                    k = (((this._-4Dw + " ") + k) + " ");
                    k.shift();
                    k.shift();
                    break;
                case this._-4jf:
                    k = _-47B._-3Oz;
                    k.shift();
                    break;
                case this._-35H:
                    k = _-47B._-0Js;
                    k.shift();
                    break;
            };
            k = k.join(" ");
            var k:int = _-1HE.NORMAL;
            if (((this._-4Sf()) && (!((this._-av == null)))))
            {
                k = this._-av._-3OG;
            };
            if (this._-0dg != null)
            {
                if (this._-20H.running)
                {
                    this._-20H.reset();
                };
                if (this._-0JD.running)
                {
                    this._-0JD.reset();
                };
                this._-0dg._-1xI(k, k, k, k);
                this._-3XG = false;
                if (this._-2wv)
                {
                    this._-Dj();
                };
                this._-2wv = false;
            };
            this._-3Kd.text = k;
            this._-54c = k;
        }
        private function _-2GM():Boolean
        {
            var k:Stage;
            var k:InteractiveObject;
            if (this._-3Kd != null)
            {
                if (this._-3Kd.focused)
                {
                    return (false);
                };
            };
            var k:DisplayObject = this._-1kN.context.getDesktopWindow().getDisplayObject();
            if (k != null)
            {
                k = k.stage;
                if (k != null)
                {
                    k = k.focus;
                    if (k == null)
                    {
                        return (false);
                    };
                    if ((k is TextField))
                    {
                        return (true);
                    };
                };
            };
            return (false);
        }
        private function _-0rM(_arg1:_-3nT):void
        {
            var k:PerkAllowancesMessageParser = _arg1._-3-5();
            this._-15b(k.isPerkAllowed(_-4Tn.SAFE_CHAT), k.isPerkAllowed(_-4Tn.FULL_CHAT));
        }
        private function _-15b(_arg1:Boolean, _arg2:Boolean):void
        {
            if (((!((this._-1kN == null))) && (!(this._-1kN.disposed))))
            {
                this._-1kN.findChildByName("safety_quiz_overlay").visible = !(_arg1);
                this._-1kN.findChildByName("chat_input_container").visible = _arg1;
                this._-1kN.findChildByName("citizenship_overlay").visible = ((_arg1) && (!(_arg2)));
            };
        }
        private function _-1n8(_arg1:_-54q):void
        {
            if (_arg1.userId == this.sessionDataManager.userId)
            {
                this._-0E1(_arg1.figure);
            };
        }
        private function _-0E1(_arg1:String):void
        {
            if (((!((this._-1kN == null))) && (!(this._-1kN.disposed))))
            {
                _-3La(_-3Yi(this._-1kN.findChildByName("avatar")).widget).figure = _arg1;
            };
        }
        private function get sessionDataManager():_-51K
        {
            return (this._-0dg.handler.container.sessionDataManager);
        }
        private function _-3K6(_arg1:Array):void
        {
            var k:int;
            var k:Array = new Array();
            var k:Array = this._-0dg.config.getKey("disabled.custom.chat.styles", "").split(",");
            for each (k in _arg1)
            {
                if (k.indexOf(k.toString()) == -1)
                {
                    k.push(k);
                };
            };
            if (!this._-av)
            {
                this._-av = new ChatStyleSelector(this, IBorderWindow(IItemListWindow(this._-1kN.findChildByName("chat_input_container")).getListItemAt(0)));
                this._-av._-1fC = ((k.length / 6) + 1);
            };
            var k:int = (k.length - 1);
            while (k >= 0)
            {
                k = k[k];
                this._-av._-0df(k, RoomChatWidget._-4hx._-2fI(k));
                k--;
            };
            this._-av._-la();
        }
        public function get widget():_-380
        {
            return (this._-0dg);
        }
        public function get _-2v0():IWindowContainer
        {
            return (this._-2Gg);
        }

    }
}//package _-3fZ

//------------------------------------------------------------
//_-3GS._-1Ft

package _-3GS
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Ft implements _-58N 
    {

        private var _-0nR:String;
        private var _-55e:int;
        private var _-1ER:int;

        public function flush():Boolean
        {
            this._-0nR = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0nR = _arg1.readString();
            this._-55e = _arg1._-2BW();
            this._-1ER = _arg1._-2BW();
            return (true);
        }
        public function get _-4bc():String
        {
            return (this._-0nR);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get _-3uj():int
        {
            return (this._-1ER);
        }

    }
}//package _-3GS

//------------------------------------------------------------
//_-3GS._-2nH

package _-3GS
{
    import _-4Aj._-0s1;

    public class _-2nH 
    {

        public static const _-56Z:String = "ACH_HabboWayGraduate1";
        public static const _-ay:String = "ACH_GuideGroupMember1";
        public static const _-200:String = "ACH_SafetyQuizGraduate1";
        public static const _-3J1:String = "ACH_EmailVerification1";
        public static const ROOM_ENTRY_1:String = "ACH_RoomEntry1";
        public static const ROOM_ENTRY_2:String = "ACH_RoomEntry2";
        public static const _-3u2:String = "ACH_AvatarLooks1";
        public static const _-0S7:String = "ACH_GuideAdvertisementReader1";

        private var _-2sP:int;
        private var _-Dz:int;
        private var _-2gP:String;
        private var _-0Ke:int;
        private var _-4eC:int;
        private var _-0vi:int;

        public function _-2nH(_arg1:_-0s1)
        {
            this._-2sP = _arg1._-2BW();
            this._-Dz = _arg1._-2BW();
            this._-2gP = _arg1.readString();
            this._-0Ke = _arg1._-2BW();
            this._-4eC = _arg1._-2BW();
            this._-0vi = _arg1._-2BW();
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-4Oi():int
        {
            return (this._-2sP);
        }
        public function get _-4Gt():int
        {
            return (this._-Dz);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }
        public function get _-Db():int
        {
            return (this._-4eC);
        }
        public function get _-0aL():int
        {
            return (this._-0vi);
        }
        public function _-27V():Boolean
        {
            switch (this._-3T)
            {
                case _-56Z:
                case _-200:
                case _-3J1:
                case _-3u2:
                    return (false);
                default:
                    return (true);
            };
        }

    }
}//package _-3GS

//------------------------------------------------------------
//_-3GS._-2ox

package _-3GS
{
    import _-4Aj._-0s1;

    public class _-2ox 
    {

        private var _-03u:String;
        private var _-0if:int;

        public function _-2ox(_arg1:_-0s1)
        {
            this._-03u = _arg1.readString();
            this._-0if = _arg1._-2BW();
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get _-30Y():int
        {
            return (this._-0if);
        }

    }
}//package _-3GS

//------------------------------------------------------------
//_-3GS._-2we

package _-3GS
{
    import _-4Aj._-0s1;

    public class _-2we 
    {

        private var _-4ED:String;

        public function _-2we(_arg1:_-0s1)
        {
            this._-4ED = _arg1.readString();
        }
        public function get _-3UP():String
        {
            return (this._-4ED);
        }

    }
}//package _-3GS

//------------------------------------------------------------
//_-3GS._-3F8

package _-3GS
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3F8 implements _-58N 
    {

        private var _-1Lf:TalentTrack;

        public function flush():Boolean
        {
            this._-1Lf = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Lf = new TalentTrack();
            this._-1Lf.parse(_arg1);
            return (true);
        }
        public function _-5a():TalentTrack
        {
            return (this._-1Lf);
        }

    }
}//package _-3GS

//------------------------------------------------------------
//_-3GS.TalentLevelUpMessageParser

package _-3GS
{
    import __AS3__.vec.Vector;
    import _-4Aj._-0s1;
    import __AS3__.vec.*;
    import _-4Aj.*;

    public class TalentLevelUpMessageParser implements _-58N 
    {

        private var _-0nR:String;
        private var _-55e:int;
        private var _-3h-:Vector.<_-2we>;
        private var _-4Gz:Vector.<_-2ox>;

        public function flush():Boolean
        {
            this._-0nR = null;
            this._-3h- = null;
            this._-4Gz = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            this._-0nR = _arg1.readString();
            this._-55e = _arg1._-2BW();
            this._-3h- = new Vector.<_-2we>();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-3h-.push(new _-2we(_arg1));
                k++;
            };
            this._-4Gz = new Vector.<_-2ox>();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-4Gz.push(new _-2ox(_arg1));
                k++;
            };
            return (true);
        }
        public function get _-4bc():String
        {
            return (this._-0nR);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get _-c():Vector.<_-2we>
        {
            return (this._-3h-);
        }
        public function get _-14w():Vector.<_-2ox>
        {
            return (this._-4Gz);
        }

    }
}//package _-3GS

//------------------------------------------------------------
//_-3GS.TalentTrack

package _-3GS
{
    import __AS3__.vec.Vector;
    import _-4Aj._-0s1;
    import _-2ly._-0d3;
    import __AS3__.vec.*;

    public class TalentTrack 
    {

        public static const _-2UH:int = 0;
        public static const _-0YF:int = 1;
        public static const _-4hG:int = 2;

        private var _name:String;
        private var _-2TO:int;
        private var _-2Xq:Vector.<TalentTrackLevel>;

        public function parse(_arg1:_-0s1):void
        {
            var k:TalentTrackLevel;
            this._name = _arg1.readString();
            this._-2Xq = new Vector.<TalentTrackLevel>();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new TalentTrackLevel();
                k.parse(_arg1);
                if (k.state == _-0YF)
                {
                    this._-2TO = k;
                };
                this._-2Xq.push(k);
                k++;
            };
        }
        public function _-1Nd(_arg1:int):_-2nH
        {
            var k:TalentTrackLevel;
            var k:_-2nH;
            var k:_-2nH;
            for each (k in this._-2Xq)
            {
                if (k.state != TalentTrack._-2UH)
                {
                    k = k._-1Nd(_arg1);
                    if (k != null)
                    {
                    };
                };
            };
            return (k);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-0Ko():Vector.<TalentTrackLevel>
        {
            return (this._-2Xq);
        }
        public function get _-27e():Number
        {
            if (this._-2Xq.length > 0)
            {
                return ((1 / this._-2Xq.length));
            };
            return (0);
        }
        public function get _-0bo():Number
        {
            var k:Number;
            if (this._-2Xq.length > 0)
            {
                k = this._-2Xq[this._-2TO].levelProgress;
                return (_-0d3._-4Jf(((this._-2TO * this._-27e) + (k * this._-27e))));
            };
            return (0);
        }
        public function get _-0PM():Number
        {
            if (this._-2Xq.length > 0)
            {
                return ((this._-2TO * this._-27e));
            };
            return (0);
        }
        public function _-1Ld():void
        {
            this._-2Xq.shift();
            this._-2TO = Math.max(0, (this._-2TO - 1));
        }

    }
}//package _-3GS

//------------------------------------------------------------
//_-3GS.TalentTrackLevel

package _-3GS
{
    import __AS3__.vec.Vector;
    import _-4Aj._-0s1;
    import _-2ly._-0d3;
    import __AS3__.vec.*;

    public class TalentTrackLevel 
    {

        private var _-55e:int;
        private var _-0Ke:int;
        private var _-3iU:Vector.<_-2nH>;
        private var _-3h-:Vector.<_-2we>;
        private var _-4Gz:Vector.<_-2ox>;

        public function TalentTrackLevel()
        {
            this._-3iU = new Vector.<_-2nH>();
            this._-3h- = new Vector.<_-2we>();
            this._-4Gz = new Vector.<_-2ox>();
            super();
        }
        public function parse(_arg1:_-0s1):void
        {
            var k:int;
            var k:int;
            this._-55e = _arg1._-2BW();
            this._-0Ke = _arg1._-2BW();
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-3iU.push(new _-2nH(_arg1));
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-3h-.push(new _-2we(_arg1));
                k++;
            };
            k = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-4Gz.push(new _-2ox(_arg1));
                k++;
            };
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function set level(_arg1:int):void
        {
            this._-55e = _arg1;
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function set state(_arg1:int):void
        {
            this._-0Ke = _arg1;
        }
        public function get _-2ja():Vector.<_-2nH>
        {
            return (this._-3iU);
        }
        public function get _-c():Vector.<_-2we>
        {
            return (this._-3h-);
        }
        public function get _-14w():Vector.<_-2ox>
        {
            return (this._-4Gz);
        }
        public function get _-42d():int
        {
            return ((this._-3h-.length + this._-4Gz.length));
        }
        public function get levelProgress():Number
        {
            var k:_-2nH;
            var k:Number = (1 / this._-3iU.length);
            var k:Number = 0;
            for each (k in this._-3iU)
            {
                if (k.state == TalentTrack._-4hG)
                {
                    k = (k + k);
                };
            };
            return (_-0d3._-4Jf(k));
        }
        public function _-1Nd(_arg1:int):_-2nH
        {
            var k:_-2nH;
            for each (k in this._-3iU)
            {
                if (k._-4Oi == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }

    }
}//package _-3GS

//------------------------------------------------------------
//_-3gx._-2za

package _-3gx
{
    import flash.events.*;

    public interface _-2za extends IEventDispatcher 
    {

        function _-3tC():void;
        function init():void;

    }
}//package _-3gx

//------------------------------------------------------------
//_-3gx._-4BJ

package _-3gx
{
    import _-2np._-1ZV;
    import _-4Aj._-0tL;
    import _-3rj._-O1;
    import _-3rj._-Cc;
    import _-2r-.BigInteger;
    import _-3uh._-1pG;
    import _-1B-.*;

    public interface _-4BJ extends _-4yI 
    {

        function _-45a():void;
        function _-4xJ(_arg1:String):void;
        function _-4gR(_arg1:Function):_-1ZV;
        function addHabboConnectionMessageEvent(_arg1:_-0tL):void;
        function _-3cs(_arg1:_-0tL):void;
        function get mode():int;
        function set mode(_arg1:int):void;
        function get port():int;
        function _-4nb(_arg1:String, _arg2:String):_-2za;
        function _-0YD(_arg1:_-O1, _arg2:_-Cc):_-O1;
        function _-57D(_arg1:BigInteger, _arg2:BigInteger):_-1pG;

    }
}//package _-3gx

//------------------------------------------------------------
//_-3gx.HabboCommunicationManager

package _-3gx
{
    import _-1B-._-Px;
    import _-1pF._-2qE;
    import _-4Wu._-4uR;
    import _-2np._-1ZV;
    import _-4Aj._-5CT;
    import flash.utils.Timer;
    import com.sulake.iid.IIDCoreCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import flash.events.Event;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-23t._-0ox;
    import flash.events.IOErrorEvent;
    import flash.events.SecurityErrorEvent;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-p-.Core;
    import _-3PZ._-0qq;
    import _-18r.ErrorReportStorage;
    import flash.events.TimerEvent;
    import _-4Aj._-0tL;
    import _-2gz._-232;
    import _-4Aj._-0s1;
    import _-2cI.RC4;
    import _-3rj._-O1;
    import _-3rj._-Cc;
    import _-2cI.DiffieHellman;
    import _-2r-.BigInteger;
    import _-3uh._-1pG;
    import com.sulake.iid.*;
    import _-2np.*;

    public class HabboCommunicationManager extends _-Px implements _-4BJ, _-1Yp 
    {

        private static const _-3C1:int = 2;

        private var _-478:_-2qE;
        private var _-2Hg:_-4uR;
        private var _-51u:_-1ZV;
        private var _-3Wi:int = 0;
        private var _-2y6:_-5CT;
        private var _-1kd:String = "";
        private var _-3ky:Array;
        private var _-dQ:int = -1;
        private var _-3SO:Timer;
        private var _-0ty:int = 1;
        private var _-MB:String = "";
        private var _-1fH:Boolean = false;
        private var _-3zJ:Boolean = false;
        private var _-52p:Boolean = false;
        private var _a4:Array;

        public function HabboCommunicationManager(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            this._-2y6 = new HabboMessages();
            this._-3ky = [];
            this._-3SO = new Timer(100, 1);
            this._a4 = [65191, 65178, 65178, 65177, 65185];
            super(_arg1, _arg2, _arg3);
            lock();
            this.queueInterface(new IIDCoreCommunicationManager(), this._-17U);
            this.queueInterface(new IIDHabboConfigurationManager(), this._-1dY);
            _arg1.events.addEventListener(Event.UNLOAD, this.unloading);
        }
        public function get mode():int
        {
            return (0);
        }
        public function set mode(_arg1:int):void
        {
            this._-3Wi = _arg1;
        }
        public function get port():int
        {
            if ((((((this._-3ky.length == 0)) || ((this._-dQ < 0)))) || ((this._-dQ >= this._-3ky.length))))
            {
                return (0);
            };
            return (this._-3ky[this._-dQ]);
        }
        private function unloading(_arg1:Event):void
        {
            if (this._-51u)
            {
                this._-51u.send(new _-0ox());
            };
        }
        override public function dispose():void
        {
            if (this._-51u)
            {
                this._-51u.dispose();
                this._-51u = null;
            };
            if (this._-478)
            {
                this._-478.release(new IIDCoreCommunicationManager());
                this._-478 = null;
            };
            if (this._-2Hg)
            {
                this._-2Hg.release(new IIDHabboConfigurationManager());
                this._-2Hg = null;
            };
            super.dispose();
        }
        private function _-17U(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            _-Nb.log(("Habbo Communication Manager: Core Communication Manager found:: " + [_arg1, _arg2]));
            if (_arg2 != null)
            {
                this._-478 = (_arg2 as _-2qE);
                this._-51u = this._-478._-2ZS(this);
                this._-51u._-0Bq(this._-2y6);
                this._-51u.addEventListener(IOErrorEvent.IO_ERROR, this._-1kl);
                this._-51u.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-2E0);
                this._-51u.addEventListener(Event.CONNECT, this._-3tx);
                this._-18i();
            };
        }
        private function _-1dY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (_arg2 != null)
            {
                this._-2Hg = (_arg2 as _-4uR);
                this._-45a();
                this._-3zJ = true;
                if (this._-52p)
                {
                    this._-3Dy();
                };
                this._-18i();
                return;
            };
        }
        public function _-45a():void
        {
            var k:String;
            var k:String;
            var k:Array;
            var k:int;
            if (this._-2Hg == null)
            {
                return;
            };
            var k:Array = [65162, 65162, 65158, 65155];
            var k:Array = [65234, 65174, 65168, 65175, 65165, 65229];
            var k:Array = [65170, 65162, 65157, 65155];
            var k:Array = [65186, 65168, 65178, 65171, 65171];
            var k:String = this._-2Hg.getKey(this.getKey([this._a4, k, k, k], 0), null);
            if (k == null)
            {
                Core._-4Tm(this.getKey([this._a4, k, k, k], 0), Core._-np);
                return;
            };
            if (false == false)
            {
                k = [];
                k = 1;
                while (k < 5)
                {
                    k = k.substring(0, (k.length - k));
                    switch (k)
                    {
                        case (488311 % 668):
                            k.push(k);
                            break;
                        case (76 % 37):
                            k.push(k);
                            break;
                        case (415524125 % 49157):
                            k.push(k);
                            break;
                        case (16 % 5):
                            k.push(this._a4);
                            break;
                    };
                    k++;
                };
                k = this._-2Hg.getKey(this.getKey(k, 0), null);
            };
            if (k == null)
            {
                Core._-4Tm(this.getKey([this._a4, k, k, k], 0), Core._-np);
                return;
            };
            this._-3ky = [];
            var k:Array = k.split(",");
            for each (k in k)
            {
                this._-3ky.push(parseInt(k.replace(" ", "")));
            };
            this._-1kd = this._-2Hg.getKey(this.getKey([this._a4, k, k, k], 0), null);
        }
        private function getKey(_arg1:Array, _arg2:int):String
        {
            var k:Array;
            var k:int;
            var k:String = "";
            for each (k in _arg1)
            {
                for each (k in k)
                {
                    k = (k + String.fromCharCode(((65290 - k) + k--)));
                };
            };
            return (k);
        }
        private function _-18i():void
        {
            if (((this._-2Hg) && (this._-478)))
            {
                unlock();
            };
        }
        public function _-4xJ(_arg1:String):void
        {
            switch (_arg1)
            {
                case _-0qq._-cx:
                    if (this._-2Hg == null)
                    {
                        Core._-4Tm("Tried to connect to proxy but configuration was null", Core._-np);
                        return;
                    };
                    if (this._-51u == null)
                    {
                        Core._-4Tm("Tried to connect to proxy but connection was null", Core._-np);
                        return;
                    };
                    this._-52p = true;
                    if (this._-3zJ)
                    {
                        this._-3Dy();
                    };
                    return;
                default:
                    _-Nb.log(("Unknown Habbo Connection Type: " + _arg1));
            };
        }
        private function _-3Dy():void
        {
            var k:int;
            if (this._-51u.connected)
            {
                _-Nb.log("Warning: Already connected so will not try to connect again!");
                return;
            };
            this._-dQ++;
            if (this._-dQ >= this._-3ky.length)
            {
                ErrorReportStorage._-0QQ("ConnectionRetry", ("Connection attempt " + this._-0ty));
                this._-0ty++;
                k = _-3C1;
                if (this._-3ky.length == 1)
                {
                    k++;
                };
                if (this._-0ty <= k)
                {
                    this._-dQ = 0;
                }
                else
                {
                    if (this._-1fH)
                    {
                        return;
                    };
                    this._-1fH = true;
                    Core.error("Connection failed to host and ports", true, Core._-np);
                    return;
                };
            };
            this._-51u.timeout = (this._-0ty * 10000);
            if (false == false)
            {
                this._-51u.init((this._-1kd + this.getKey([[65290, 65291, 65292, 65293, 65294], [65295, 65296, 65297], [65298, 65299]], 0)), this._-3ky[this._-dQ]);
            };
        }
        private function _-1kl(_arg1:IOErrorEvent):void
        {
            _-Nb.log(("[HabboCommunicationManager] IO Error: " + _arg1.text));
            switch (_arg1.type)
            {
                case IOErrorEvent.IO_ERROR:
                    break;
                case IOErrorEvent.DISK_ERROR:
                    break;
                case IOErrorEvent.NETWORK_ERROR:
                    break;
                case IOErrorEvent.VERIFY_ERROR:
                    break;
            };
            ErrorReportStorage._-0QQ("Communication IO Error", ((((("IOError " + _arg1.type) + " on connect: ") + _arg1.text) + ". Port was ") + this._-3ky[this._-dQ]));
            this._-0lE();
        }
        private function _-3tx(_arg1:Event):void
        {
            ErrorReportStorage._-0QQ("Connection", (("Connected with " + this._-0ty) + " attempts"));
        }
        private function _-0lE():void
        {
            this._-3SO.addEventListener(TimerEvent.TIMER, this._-3Dd);
            this._-3SO.start();
        }
        private function _-3Dd(_arg1:TimerEvent):void
        {
            this._-3SO.stop();
            this._-3Dy();
        }
        private function _-2E0(_arg1:SecurityErrorEvent):void
        {
            _-Nb.log(("[HabboCommunicationManager] Security Error: " + _arg1.text));
            ErrorReportStorage._-0QQ("Communication Security Error", ((("SecurityError on connect: " + _arg1.text) + ". Port was ") + this._-3ky[this._-dQ]));
            this._-0lE();
        }
        public function _-4gR(_arg1:Function):_-1ZV
        {
            return (this._-51u);
        }
        public function addHabboConnectionMessageEvent(_arg1:_-0tL):void
        {
            if (this._-51u)
            {
                this._-51u.addMessageEvent(_arg1);
            };
        }
        public function _-3cs(_arg1:_-0tL):void
        {
            if (this._-51u)
            {
                this._-51u.removeMessageEvent(_arg1);
            };
        }
        public function _-4nb(_arg1:String, _arg2:String):_-2za
        {
            var k:String = "";
            k = this._-2Hg.getKey("url.prefix", k);
            k = k.replace("http://", "");
            k = k.replace("https://", "");
            return (new HabboWebLogin(_arg1, _arg2, k));
        }
        public function _-1zQ(_arg1:String, _arg2:int):void
        {
            ErrorReportStorage._-gN(_-232._-1eQ, _arg1);
            ErrorReportStorage._-gN(_-232._-4ES, String(_arg2));
        }
        public function _-3Mc(_arg1:String):void
        {
            ErrorReportStorage._-gN(_-232._-ck, String(new Date().getTime()));
            if (this._-MB.length > 0)
            {
                this._-MB = (this._-MB + (",R:" + _arg1));
            }
            else
            {
                this._-MB = ("R:" + _arg1);
            };
            if (this._-MB.length > 150)
            {
                this._-MB = this._-MB.substring((this._-MB.length - 150));
            };
        }
        public function _-1eJ(_arg1:String):void
        {
            ErrorReportStorage._-gN(_-232._-1Kt, String(new Date().getTime()));
            if (this._-MB.length > 0)
            {
                this._-MB = (this._-MB + (",S:" + _arg1));
            }
            else
            {
                this._-MB = ("S:" + _arg1);
            };
            if (this._-MB.length > 150)
            {
                this._-MB = this._-MB.substring((this._-MB.length - 150));
            };
        }
        public function _-uv(_arg1:_-0s1):void
        {
            ErrorReportStorage._-gN(_-232._-M1, (_arg1 as Object).toString());
            ErrorReportStorage._-0QQ("MESSAGE_QUEUE", this._-MB);
        }
        public function _-0YD(_arg1:_-O1, _arg2:_-Cc):_-O1
        {
            return (new RC4());
        }
        public function _-57D(_arg1:BigInteger, _arg2:BigInteger):_-1pG
        {
            return (new DiffieHellman(_arg1, _arg2));
        }

    }
}//package _-3gx

//------------------------------------------------------------
//_-3gx.HabboMessages

package _-3gx
{
    import _-18r.Map;
    import _-18r._-4-g;
    import _-0hd._-41A;
    import _-31v._-y1;
    import _-2u6._-3oS;
    import _-02T._-qU;
    import _-0hd._-0K4;
    import _-0hd._-Ko;
    import _-3Ee._-3aS;
    import _-29G._-Kz;
    import _-0hd._-0tQ;
    import _-4u5._-33e;
    import _-2XB._-0K2;
    import _-3Ee._-2HN;
    import _-2eW._-4wP;
    import _-02T._-Wp;
    import _-2vq._-20C;
    import _-2lx._-4kk;
    import _-b9._-3W0;
    import _-0Pi._-2ok;
    import _-4xL._-DO;
    import _-Fe._-3Wm;
    import _-2Vm._-3EE;
    import _-4xL._-tV;
    import _-Fe._-1sO;
    import _-Fe._-0gB;
    import _-1h8._-QH;
    import _-3-3._-4sm;
    import _-T7.Game2ExitGameMessageComposer;
    import _-02T._-48c;
    import _-2vq._-37;
    import _-3DQ._-0wo;
    import _-0hd._-Ki;
    import _-4Q0._-0wP;
    import _-02T._-2L3;
    import _-1Xv._-32d;
    import _-29G._-0CV;
    import _-3XR._-1JP;
    import _-2eW._-2ku;
    import _-0hd._-08I;
    import _-29G._-4PK;
    import _-3-3._-2YN;
    import _-29G._-0TH;
    import _-Mq._-1aj;
    import _-Mq._-4N8;
    import _-29G._-3mi;
    import _-3-3._-3GC;
    import _-29G._-2G3;
    import _-4xL._-3Bj;
    import _-b9._-we;
    import _-Fe._-3Gg;
    import _-0Pi._-2ov;
    import _-2u6._-2M1;
    import _-2Vm._-0RR;
    import _-31g._-0S9;
    import _-iK._-0dZ;
    import _-uw.Game2CheckGameDirectoryStatusMessageComposer;
    import _-0Lo._-0wg;
    import _-4xL._-7P;
    import _-2vq._-0Wt;
    import _-2p5._-2ka;
    import _-2XB._-2KX;
    import _-2vq._-1LI;
    import _-23t._-0tY;
    import _-0Pi._-1Dv;
    import _-4xL._-4NI;
    import _-Mq._-0vT;
    import _-23t._-3o6;
    import _-0hd._-4BS;
    import _-2M5.Game2SetUserMoveTargetMessageComposer;
    import _-3wJ._-0yc;
    import _-0Pi.UpdateGuildBadgeMessageComposer;
    import _-Mq._-qm;
    import _-3XR._-3C4;
    import _-4xL._-2yF;
    import _-77._-4jh;
    import _-3wJ._-4sS;
    import _-0hd._-0Li;
    import _-02T._-Wm;
    import _-3XR._-0st;
    import _-2Vm._-u7;
    import _-02T._-1X9;
    import _-4xL._-02V;
    import _-0Pi._-Ya;
    import _-Fe._-0d;
    import _-0hd._-073;
    import _-02T._-1sD;
    import _-3-3._-5Aw;
    import _-3DQ._-3p;
    import _-Mq._-Rd;
    import _-06C._-0kG;
    import _-02T._-YF;
    import _-0Pi._-4tk;
    import _-0hd._-4Xz;
    import _-0Pi._-2Kf;
    import _-23t._-0ox;
    import _-1z9._-4gH;
    import _-0Pi._-fA;
    import _-Mq._-1Dm;
    import _-3-3._-1Wp;
    import _-29G._-43x;
    import _-4ik._-3lg;
    import _-Mq._-1pr;
    import _-2XB._-363;
    import _-2vq._-36B;
    import _-02T._-36O;
    import _-uw.Game2StartSnowWarMessageComposer;
    import _-Mq._-32c;
    import _-4xL._-nw;
    import _-Mq._-1NY;
    import _-2Pt._-211;
    import _-0Pi._-vl;
    import _-4xL._-0BQ;
    import _-02T._-1OW;
    import _-2Pt._-2yb;
    import _-2M5.Game2ThrowSnowballAtPositionMessageComposer;
    import _-4ik._-32j;
    import _-1h8._-3uq;
    import _-0Pi._-4mH;
    import _-3XR.AcceptFriendMessageComposer;
    import _-2XB._-1Lm;
    import _-29G._-2uq;
    import _-29G._-4z5;
    import _-3XR._-4-A;
    import _-2eW._-53L;
    import _-1z9._-3em;
    import _-0hd._-1P1;
    import _-0Pi._-4zs;
    import _-1zF._-41d;
    import _-T7.Game2LoadStageReadyMessageComposer;
    import _-1h8._-27d;
    import _-0hd._-2gm;
    import _-36s._-1D5;
    import _-4ik._-2HA;
    import _-4ik._-4NG;
    import _-23t._-20B;
    import _-29G._-46u;
    import _-06C._-71;
    import _-29G._-kx;
    import _-2XB._-0qu;
    import _-4Q0.null;
    import _-4xL._-4Ib;
    import _-4Q0._-34z;
    import _-4xL._-0S2;
    import _-0hd._-1H5;
    import _-2eW._-1sr;
    import _-31g._-1dN;
    import _-2eW._-3j0;
    import _-4xL._-3jA;
    import _-Mq._-4Zm;
    import _-0Pi._-09c;
    import _-1Qs._-3WY;
    import _-0f1._-1hE;
    import _-4Q0._-5Bm;
    import _-0hd._-3uv;
    import _-2eW._-1ff;
    import _-4xL._-4ad;
    import _-23t._-3P-;
    import _-4xL._-1ZD;
    import _-4xL._-2dR;
    import _-29G._-4Nd;
    import _-2M5.Game2ThrowSnowballAtHumanMessageComposer;
    import _-0Pi.CreateGuildMessageComposer;
    import _-2lx._-X1;
    import _-b9.SetActivatedBadgesComposer;
    import _-29G._-1WP;
    import _-0hd._-20a;
    import _-02T._-u9;
    import _-2eW._-4Mw;
    import _-23t._-4CB;
    import _-4xL._-2Q2;
    import _-1zF._-4wO;
    import _-4ik._-2e8;
    import _-3wJ._-bA;
    import _-Mq._-lv;
    import _-0hd._-0yx;
    import _-4ik._-2aR;
    import _-1zF._-1LB;
    import _-29G.PostQuizAnswersComposer;
    import _-06C._-wK;
    import _-1zF._-0On;
    import _-0hd._-2b;
    import _-1z9.PollAnswerComposer;
    import _-2Pt._-1lL;
    import _-4xL._-lJ;
    import _-2vq._-2ac;
    import _-2p5._-1k5;
    import _-uw.Game2QuickJoinGameMessageComposer;
    import _-3XR._-1mV;
    import _-3wJ.RemoveRightsMessageComposer;
    import _-0hd._-0w7;
    import _-31g._-0IE;
    import _-29G._-L;
    import _-0Pi._-0rJ;
    import _-4kK._-07d;
    import _-3wJ._-4cp;
    import _-2XB._-0-N;
    import _-2eW._-5-j;
    import _-Fe._-0H;
    import _-0hd._-2mP;
    import _-3wJ._-xM;
    import _-Mq._-MS;
    import _-2M5.Game2MakeSnowballMessageComposer;
    import _-2eW.ReleaseIssuesMessageComposer;
    import _-0S1._-0M5;
    import _-Fe._-TU;
    import _-2eW._-3e1;
    import _-2eW._-0Dw;
    import _-31g._-0oX;
    import _-2eW._-P-;
    import _-0Pi._-0m4;
    import _-4ik._-Jb;
    import _-2XB._-2Ci;
    import _-29G._-4p;
    import _-31v.Game2GetTotalLeaderboardComposer;
    import _-2u6._-3ZH;
    import _-3-3._-1Do;
    import _-0Pi._-4Kl;
    import _-2eW._-2je;
    import _-0hd._-yb;
    import _-29G._-0rm;
    import _-Fe._-0iK;
    import _-0Pi._-1xC;
    import _-31v.Game2GetFriendsLeaderboardComposer;
    import _-0Pi._-0JR;
    import _-0Pi._-09Z;
    import _-1h8._-4uH;
    import _-29G._-0kq;
    import _-Fe._-4e4;
    import _-4ik._-4CD;
    import _-Mq._-50t;
    import _-Fe._-0q6;
    import _-2Vm._-2cF;
    import _-23t._-2Uo;
    import _-2XB._-0Xs;
    import _-3XR.SendRoomInviteMessageComposer;
    import _-4xL._-0Vv;
    import _-0qc._-0WM;
    import _-0Pi._-je;
    import _-0Pi._-4KO;
    import _-0hd._-2rD;
    import _-31v._-22d;
    import _-Mq._-405;
    import _-Fe._-4Q1;
    import _-2u6._-4rI;
    import _-4ik._-10X;
    import _-Mq._-4z0;
    import _-Fe._-2VU;
    import _-2lx._-3jY;
    import _-0Pi._-5FI;
    import _-Fe._-1Vp;
    import _-06C._-3v9;
    import _-02T._-AR;
    import _-06C._-3L-;
    import _-0S1._-1DM;
    import _-2vq._-3ul;
    import _-0hd._-39o;
    import _-0Pi._-4rv;
    import _-0hd._-jP;
    import _-T7.Game2GameChatMessageComposer;
    import _-29G._-5DJ;
    import _-29G._-0Pm;
    import _-0hd._-0xK;
    import _-31v.Game2GetWeeklyLeaderboardComposer;
    import _-29G._-bd;
    import _-Fe._-5CH;
    import _-31v.Game2GetWeeklyFriendsLeaderboardComposer;
    import _-4xL._-0Hs;
    import _-29G._-23K;
    import _-4xL._-2Pp;
    import _-3XR._-0Kg;
    import _-b9._-2-6;
    import _-4xL._-2lZ;
    import _-0Pi._-1Eb;
    import _-3XR._-46j;
    import _-Fe._-0ui;
    import _-Mq._-0ot;
    import _-Mq._-0GE;
    import _-29G._-2Cu;
    import _-0Pi._-2jt;
    import _-0hd._-4t1;
    import _-2XB._-29q;
    import _-2lx._-3W;
    import _-Mq._-30I;
    import _-3DQ._-28p;
    import _-39k._-1bz;
    import _-2p5._-2rb;
    import _-2BO._-2Gb;
    import _-0hd._-2Xu;
    import _-4xL._-4GZ;
    import _-4u5._-3fy;
    import _-29G._-3Ze;
    import _-0hd._-1YG;
    import _-3-3._-DF;
    import _-Fe._-0Ih;
    import _-Fe._-Qu;
    import _-2eW.CloseIssuesMessageComposer;
    import _-Fe._-34Z;
    import _-4xL._-4qO;
    import _-2lx._-1NP;
    import _-4xL._-1uS;
    import _-Fe._-0mi;
    import _-2p5._-4wR;
    import _-0Pi._-RA;
    import _-23t._-4l4;
    import _-0Pi._-0MT;
    import _-31v._-4y1;
    import _-4Q0._-1z;
    import _-0qc._-3Td;
    import _-3wJ._-2Ju;
    import _-39k._-0Xt;
    import _-0Pi._-2Io;
    import _-2BO._-5Ck;
    import _-iK._-3Qf;
    import _-Lp._-3sQ;
    import _-29G._-5B6;
    import _-Fe._-4CV;
    import _-02T._-473;
    import _-02T._-1sR;
    import _-2M5.Game2RequestFullStatusUpdateMessageComposer;
    import _-3XR._-1Cd;
    import _-1Xv._-1eX;
    import _-0Pi._-Qc;
    import _-0Pi._-1Yc;
    import _-4xL._-3j6;
    import _-3wJ._-1J-;
    import _-uw.Game2LeaveGameMessageComposer;
    import _-0hd._-0dv;
    import _-1zF._-2ri;
    import _-2eW._-08J;
    import _-2eW.PickIssuesMessageComposer;
    import _-Fe._-WG;
    import _-Tx._-4UH;
    import _-23t._-1Na;
    import _-2lx._-1uq;
    import _-2vq._-5N;
    import _-2vq._-4pz;
    import _-02T._-1gL;
    import _-4u5._-3j9;
    import _-3wJ._-4CM;
    import _-29G._-w1;
    import _-Fe._-2s4;
    import _-1h8._-BI;
    import _-Fe._-2XD;
    import _-3wJ._-4Nx;
    import _-0S1._-3w3;
    import _-Fe._-3Zk;
    import _-0Pi._-4AP;
    import _-0qc._-2fb;
    import _-23t._-2VM;
    import _-2p5._-2hq;
    import _-4xL._-XR;
    import _-31g._-480;
    import _-0Pi._-4rd;
    import _-2lx._-G8;
    import _-0hd._-1kB;
    import _-Fe._-3Iu;
    import _-0Pi._-3Ba;
    import _-Fe._-1NA;
    import _-29G._-4kE;
    import _-2BO._-iu;
    import _-4Q0._-4zH;
    import _-3-3._-2D8;
    import _-Mq._-3VN;
    import _-0Pi._-42S;
    import _-0hd._-3xP;
    import _-Fe._-G1;
    import _-Fe._-1Ir;
    import _-Fe._-6G;
    import _-4u5._-0O0;
    import _-2Vm._-1GP;
    import _-2XB._-0jA;
    import _-uw.Game2GetAccountGameStatusMessageComposer;
    import _-T7.Game2PlayAgainMessageComposer;
    import _-0Pi._-26L;
    import _-02T._-2mJ;
    import _-4Q0._-3vQ;
    import _-4u5._-20S;
    import _-2vq._-3E5;
    import _-29G._-0YA;
    import _-3XR.DeclineFriendMessageComposer;
    import _-4xL._-gO;
    import _-3XR.RemoveFriendMessageComposer;
    import _-29G._-1Ie;
    import _-31v._-019;
    import _-29G._-1tW;
    import _-0hd._-3gJ;
    import _-4Q0._-4us;
    import _-29G._-1d-;
    import _-2lx._-37-;
    import _-1Qs._-30D;
    import _-1z9._-2Gn;
    import _-0hd._-0oV;
    import _-b9._-gR;
    import _-0hd._-0kp;
    import _-0hd._-3Jl;
    import _-0Pi._-1AL;
    import _-0Pi._-0Ri;
    import _-2lx._-0ac;
    import _-29G._-aM;
    import _-2JC._-47;
    import _-1Q8._-Z-;
    import _-2It._-2Oz;
    import _-4V9._-2Mj;
    import _-2WG._-2YW;
    import _-ge._-0Bi;
    import _-Aj._-0SV;
    import _-4at._-4rg;
    import _-2JC._-115;
    import _-OR._-2zQ;
    import _-4s1.Game2GameNotFoundMessageEvent;
    import _-4V9._-0zb;
    import _-2JC._-Fg;
    import _-48G._-3E6;
    import _-0dE._-Pz;
    import _-0Yg._-1yd;
    import _-0Z1._-4d7;
    import _-4zR._-4dE;
    import _-2WG._-0Jd;
    import _-4OG._-Ex;
    import _-0Yi._-3F2;
    import _-1LV._-1gT;
    import _-0dE._-3-w;
    import _-1Q8._-4Z0;
    import _-1HK._-4sX;
    import _-2WG._-3Zv;
    import _-0Yg._-3vt;
    import _-ge._-4zN;
    import _-2It._-1Mj;
    import _-4OG._-Sb;
    import _-448._-5AC;
    import _-2WG._-3c6;
    import _-48G._-2HQ;
    import _-1Q8._-3xE;
    import _-U2._-3kM;
    import _-1tU._-50l;
    import _-2na._-4H8;
    import _-Aj._-1-V;
    import _-0ZI._-3tK;
    import _-2na._-1O7;
    import _-4s1.Game2StartingGameFailedMessageEvent;
    import _-4OG._-24l;
    import _-0dE._-3sK;
    import _-1Q8._-40v;
    import _-4at._-R8;
    import _-0Yi._-1R0;
    import _-4R4.Game2GameStatusMessageEvent;
    import _-0ZI._-3jv;
    import _-1LV._-3iS;
    import _-1Vw._-4Dg;
    import _-U2._-1F2;
    import _-2WG._-355;
    import _-3yH._-1Wx;
    import _-2WG._-36Q;
    import _-CQ._-1F7;
    import _-1rc._-2fY;
    import _-2JC._-2T1;
    import _-1Q8._-1BQ;
    import _-1tU._-20E;
    import _-0ZI._-2gy;
    import _-2JC._-0IX;
    import _-4s1.Game2GameStartedMessageEvent;
    import _-1Jk._-1aN;
    import _-3QI.Game2StageStartingMessageEvent;
    import _-0dE._-3Sb;
    import _-2It._-1Gg;
    import _-1Q8._-567;
    import _-1Jk._-3nT;
    import _-4s1.Game2StartCounterMessageEvent;
    import _-1LV._-4Zv;
    import _-1pi._-1wP;
    import _-1tU._-2Eb;
    import _-Aj._-3nV;
    import _-4OG._-4B9;
    import _-1HK._-0uR;
    import _-3vB._-27J;
    import _-2It._-4AA;
    import _-2WG._-0oT;
    import _-52-.Game2WeeklyLeaderboardEvent;
    import _-4bo._-42P;
    import _-0Yg._-0XG;
    import _-69._-3TK;
    import _-2It._-0Kr;
    import _-CQ._-51S;
    import _-Aj._-fX;
    import _-4OG._-3E-;
    import _-2WG._-2DO;
    import _-1LV._-4j2;
    import _-U2._-N6;
    import _-2na._-58T;
    import _-1Vw._-4kL;
    import _-1Ho._-3Ha;
    import _-1Q8._-1Rj;
    import _-2WG._-7X;
    import _-2JC._-36f;
    import _-3QI.Game2GameChatFromPlayerMessageEvent;
    import _-4OG._-4x7;
    import _-4s1.Game2UserJoinedGameMessageEvent;
    import _-48G._-3bO;
    import _-2It._-0RK;
    import _-U2._-b5;
    import _-2It._-153;
    import _-3yH._-zP;
    import _-2WG._-0bk;
    import _-2It._-Ou;
    import _-1Q8._-0DJ;
    import _-4zR._-2y9;
    import _-4OG._-1ZY;
    import _-1LV._-3-9;
    import _-4OG._-3NA;
    import _-69._-3fY;
    import _-4at._-4YS;
    import _-2na._-2I3;
    import _-wm._-1CR;
    import _-2na._-3aG;
    import _-1Q8._-0dP;
    import _-2na._-1G-;
    import _-1Vw._-1CB;
    import _-2WG._-1Z7;
    import _-4at._-b0;
    import _-0NX._-1eW;
    import _-48G._-46p;
    import _-59Q._-3jQ;
    import _-2EA._-3Hz;
    import _-2It._-1b5;
    import _-Aj._-0NG;
    import _-0ZI._-0sC;
    import _-2WG._-1rM;
    import _-1Q8._-2J9;
    import _-4pT._-0c8;
    import _-0Yi._-2cP;
    import _-ge._-1Io;
    import _-48G._-3rV;
    import _-0dE._-1GN;
    import _-2It._-012;
    import _-4OG._-4Uo;
    import _-448._-3s1;
    import _-4V9._-4XH;
    import _-1HK._-4qS;
    import _-448._-1ZF;
    import _-4at._-31N;
    import _-0Yg._-2Iz;
    import _-0Z1._-4HB;
    import _-2EA._-1O8;
    import _-48G._-Xc;
    import _-1UD._-02D;
    import _-4s1.Game2JoiningGameFailedMessageEvent;
    import _-59Q._-0AE;
    import _-3QI.Game2StageEndingMessageEvent;
    import _-2WG._-1ws;
    import _-Aj._-2cw;
    import _-48G._-1vd;
    import _-2WG._-A2;
    import _-48G._-4Np;
    import _-2It._-2NJ;
    import _-4at._-A6;
    import _-48G._-4V4;
    import _-1Vw._-Ix;
    import _-4zR._-1b-;
    import _-2WG._-24p;
    import _-2WG._-25m;
    import _-4at._-59w;
    import _-1Vw._-sL;
    import _-0dE._-2k6;
    import _-4s1.Game2GameDirectoryStatusMessageEvent;
    import _-1Q8._-0PF;
    import _-OR._-26G;
    import _-4R4.Game2FullGameStatusMessageEvent;
    import _-4s1.Game2GameCancelledMessageEvent;
    import _-4OG._-0p6;
    import _-0Yg._-1iU;
    import _-3yH._-34G;
    import _-2WG._-4Jt;
    import _-2ch._-1nb;
    import _-3yH._-1qQ;
    import _-1rc._-3xJ;
    import _-3QI.Game2ArenaEnteredMessageEvent;
    import _-3QI.Game2GameEndingMessageEvent;
    import _-2ch._-3qn;
    import _-4at._-3ci;
    import _-50q._-1AX;
    import _-wm._-2yt;
    import _-59Q._-1DZ;
    import _-1Q8._-4mq;
    import _-2It._-ue;
    import _-48G._-1dA;
    import _-69._-0Za;
    import _-48G._-0wm;
    import _-U2._-2Pr;
    import _-48G._-0OF;
    import _-52-._-4v1;
    import _-1Vw._-4Yz;
    import _-OR._-22E;
    import _-4V9._-4A;
    import _-2JC._-46q;
    import _-48G._-2NK;
    import _-3yH._-pc;
    import _-2WG._-1-B;
    import _-1Q8._-3sN;
    import _-2WG._-16U;
    import _-2WG._-1a5;
    import _-CQ._-4YR;
    import _-1Q8._-4Xy;
    import _-3QI.Game2EnterArenaMessageEvent;
    import _-1Vw._-0t4;
    import _-2It._-Fm;
    import _-48G._-4D5;
    import _-0Yi._-14D;
    import _-2WG._-bK;
    import _-4OG._-0e5;
    import _-CQ._-3WQ;
    import _-2It._-00w;
    import _-2WG._-3hF;
    import _-48G._-1Ba;
    import _-0Yg._-0pH;
    import _-48G._-3vw;
    import _-3QI.Game2StageStillLoadingMessageEvent;
    import _-1Q8._-1QB;
    import _-0Z1._-0uA;
    import _-448._-2tr;
    import _-52-._-19a;
    import _-OR._-0oZ;
    import _-3QI.Game2PlayerRematchesMessageEvent;
    import _-52-._-29I;
    import _-48G._-2HB;
    import _-Aj._-1Lt;
    import _-4OG._-0vF;
    import _-U2._-3fH;
    import _-59Q._-2KV;
    import _-4s1.Game2UserBlockedMessageEvent;
    import _-2It._-44B;
    import _-2JC._-vO;
    import _-2na._-51e;
    import _-1Q8._-4oh;
    import _-OR._-3rO;
    import _-3yH._-0P9;
    import _-2JC._-1Ph;
    import _-4zR._-18t;
    import _-3vB._-3v6;
    import _-2WG._-33y;
    import _-48G._-1gk;
    import _-2It._-4zc;
    import _-2JC._-2k3;
    import _-1LV._-0AC;
    import _-CQ._-5Bq;
    import _-2na._-3qY;
    import _-1Q8._-2Ul;
    import _-1LV._-1cf;
    import _-4bo._-1j6;
    import _-1LV._-5Be;
    import _-1Vw._-3eS;
    import _-48G._-bL;
    import _-1HK._-2Xf;
    import _-1pi._-2c;
    import _-0dE._-S8;
    import _-1Vw._-2uG;
    import _-2It._-4C1;
    import _-2It._-2vk;
    import _-2na._-2fO;
    import _-1Ho._-3Hm;
    import _-2JC._-j2;
    import _-2It._-0fQ;
    import _-1Q8._-1xX;
    import _-0Yi._-4kA;
    import _-1HK._-4Pw;
    import _-2JC._-4yr;
    import _-0Yg._-0nq;
    import _-1Q8._-20h;
    import _-0Z1._-6D;
    import _-4OG._-476;
    import _-448._-3t9;
    import _-2WG._-4Vp;
    import _-1pi._-4pU;
    import _-1Q8._-2No;
    import _-50N._-5Dt;
    import _-3QI.Game2EnterArenaFailedMessageEvent;
    import _-1HK._-zx;
    import _-1HK._-GF;
    import _-2It._-1r3;
    import _-Aj._-2eB;
    import _-2JC._-G6;
    import _-1Vw._-fB;
    import _-4OG._-4PU;
    import _-1Q8._-2-v;
    import _-52-.Game2WeeklyFriendsLeaderboardEvent;
    import _-U2._-2Vp;
    import _-5s._-50u;
    import _-4s1.Game2UserLeftGameMessageEvent;
    import _-2JC._-2Bw;
    import _-2JC._-3Ed;
    import _-2ch._-3sM;
    import _-4s1.Game2GameLongDataMessageEvent;
    import _-3yH._-4ek;
    import _-2ch._-Ft;
    import _-2It._-4Hm;
    import _-2WG._-0Nc;
    import _-2It._-4nv;
    import _-2WG._-1Bf;
    import _-59Q._-4xw;
    import _-3yH._-3zZ;
    import _-48G._-em;
    import _-4OG._-0jX;
    import _-0Z1._-1ah;
    import _-1Q8._-3yw;
    import _-0Yi._-xp;
    import _-1HK._-2bH;
    import _-3yH._-3GJ;
    import _-2EA._-2qt;
    import _-2WG._-0Z2;
    import _-2WG._-4X1;
    import _-2It._-2td;
    import _-3QI.Game2GameRejoinMessageEvent;
    import _-1rc._-4bH;
    import _-2JC._-4q9;
    import _-4zR._-4uj;
    import _-2It._-3TD;
    import _-4zR._-33r;
    import _-0Yi._-5Ap;
    import _-4s1.Game2InArenaQueueMessageEvent;
    import _-4at._-ZG;
    import _-2It._-0G3;
    import _-1Vw._-0k-;
    import _-0Yg._-082;
    import _-0Yi._-0fT;
    import _-0dE._-2gK;
    import _-4s1.Game2AccountGameStatusMessageEvent;
    import _-1RL._-17m;
    import _-48G._-3ZC;
    import _-OR._-1jm;
    import _-4bo._-03W;
    import _-52-.Game2FriendsLeaderboardEvent;
    import _-U2._-0KQ;
    import _-4s1.Game2StopCounterMessageEvent;
    import _-2It._-21L;
    import _-48G._-0wb;
    import _-3vB._-4hu;
    import _-59Q._-7v;
    import _-0dE._-11J;
    import _-0Yg._-KL;
    import _-3QI.Game2StageLoadMessageEvent;
    import _-2WG._-0RQ;
    import _-448._-3RR;
    import _-4OG._-1Er;
    import _-48G._-1om;
    import _-U2._-0S8;
    import _-1HK._-025;
    import _-1Q8._-4ol;
    import _-0Yg._-4Sc;
    import _-1HK._-Ga;
    import _-52-.Game2TotalLeaderboardEvent;
    import _-52-._-3iX;
    import _-0Z1._-0yS;
    import _-1Vw._-OM;
    import _-0Z1._-3UG;
    import _-3QI.Game2PlayerExitedGameArenaMessageEvent;
    import _-4OG._-3PY;
    import _-1Ho._-2Le;
    import _-4OG._-07z;
    import _-1LV._-4cz;
    import _-1HK._-0hm;
    import _-OR._-47m;
    import _-4OG._-3vj;
    import _-2It._-29u;
    import _-U2._-1fW;
    import _-3QI.Game2StageRunningMessageEvent;
    import _-0NX._-44X;
    import _-0Z1._-2CT;
    import _-1Ho._-2SH;
    import _-2It._-iC;
    import _-4s1.Game2GameCreatedMessageEvent;
    import _-3yH._-3KP;
    import _-1Q8._-1Fg;
    import _-50N._-04N;
    import _-59Q._-Cn;
    import _-2ch._-4vL;
    import _-4at._-M9;
    import _-2It._-1eO;
    import _-2It._-r4;
    import _-50N._-3Qo;
    import _-1Q8._-2he;
    import _-2It._-3Bl;
    import _-1LV._-2u;
    import _-50N._-0Qm;
    import _-0Z1._-2ZU;
    import _-2na._-0rH;
    import _-1LV._-0Xe;
    import _-59Q._-2lT;
    import _-48G._-320;
    import _-1LV._-34h;
    import _-2It._-1Ze;
    import _-4at._-51o;
    import _-1Vw._-3RK;
    import _-4OG._-2oY;
    import _-2WG._-1Ga;
    import _-4OG._-2wD;
    import _-2WG._-yg;
    import _-0Yg._-0xd;
    import _-3yH._-2a9;
    import _-2ch._-3UX;
    import _-2JC._-3JM;
    import _-59Q._-0b6;
    import _-50N._-Wf;
    import _-2WG._-1mu;
    import _-1Q8._-5-V;
    import _-48G._-0n7;
    import _-48G._-2KN;
    import _-2It._-ty;
    import _-wm._-3LQ;
    import _-0ZI._-07M;
    import _-ge._-1Lx;
    import _-1LV._-1rq;
    import _-0dE._-uT;
    import _-U2._-KQ;
    import _-0dE._-0qk;
    import _-1Ho._-4iP;
    import _-2WG._-MZ;
    import _-0Yg._-1zj;
    import _-2It.*;
    import _-0Pi.*;
    import _-4OG.*;
    import _-2WG.*;
    import _-48G.*;
    import _-0hd.*;
    import _-1Q8.*;
    import _-29G.*;
    import _-Fe.*;
    import _-4xL.*;
    import _-1Vw.*;
    import _-2JC.*;
    import _-Mq.*;
    import _-2eW.*;
    import _-3yH.*;
    import _-3XR.*;
    import _-1LV.*;
    import _-0Yg.*;
    import _-0dE.*;
    import _-1HK.*;
    import _-23t.*;
    import _-3wJ.*;
    import _-2na.*;
    import _-4ik.*;
    import _-3-3.*;
    import _-4Aj.*;
    import _-0ZI.*;
    import _-2ch.*;
    import _-31g.*;
    import _-CQ.*;
    import _-b9.*;
    import _-1Ho.*;
    import _-1h8.*;
    import _-1z9.*;
    import _-1zF.*;
    import _-50N.*;
    import _-69.*;
    import _-ge.*;
    import _-0qc.*;
    import _-3vB.*;
    import _-wm.*;
    import _-1Xv.*;
    import _-4pT.*;
    import _-iK.*;
    import _-36s.*;
    import _-50q.*;
    import _-77.*;

    public class HabboMessages implements _-5CT 
    {

        private static const _-2Te:Map = new _-4-g();
        private static const _-3zt:Map = new _-4-g();

        {
            _-3zt[1002] = _-41A;
            _-3zt[1016] = _-y1;
            _-3zt[103] = _-3oS;
            _-3zt[1035] = _-qU;
            _-3zt[1050] = _-0K4;
            _-3zt[1062] = _-Ko;
            _-3zt[1067] = _-3aS;
            _-3zt[1068] = _-Kz;
            _-3zt[1079] = _-0tQ;
            _-3zt[1084] = _-33e;
            _-3zt[1098] = _-0K2;
            _-3zt[1111] = _-2HN;
            _-3zt[1120] = _-4wP;
            _-3zt[1121] = _-Wp;
            _-3zt[1125] = _-20C;
            _-3zt[1136] = _-4kk;
            _-3zt[115] = _-3W0;
            _-3zt[1151] = _-2ok;
            _-3zt[1168] = _-DO;
            _-3zt[1171] = _-3Wm;
            _-3zt[1176] = _-3EE;
            _-3zt[1180] = _-tV;
            _-3zt[1185] = _-1sO;
            _-3zt[1187] = _-0gB;
            _-3zt[1189] = _-QH;
            _-3zt[1191] = _-4sm;
            _-3zt[1192] = Game2ExitGameMessageComposer;
            _-3zt[12] = _-48c;
            _-3zt[1205] = _-37;
            _-3zt[1222] = _-0wo;
            _-3zt[1230] = _-Ki;
            _-3zt[1236] = _-0wP;
            _-3zt[1240] = _-2L3;
            _-3zt[1241] = _-32d;
            _-3zt[1255] = _-0CV;
            _-3zt[127] = _-1JP;
            _-3zt[1288] = _-2ku;
            _-3zt[1290] = _-08I;
            _-3zt[1297] = _-4PK;
            _-3zt[1309] = _-2YN;
            _-3zt[1319] = _-0TH;
            _-3zt[1332] = _-1aj;
            _-3zt[1340] = _-4N8;
            _-3zt[1349] = _-3mi;
            _-3zt[135] = _-3GC;
            _-3zt[1360] = _-2G3;
            _-3zt[1361] = _-3Bj;
            _-3zt[1363] = _-we;
            _-3zt[1373] = _-3Gg;
            _-3zt[1389] = _-2ov;
            _-3zt[1397] = _-2M1;
            _-3zt[1417] = _-0RR;
            _-3zt[1434] = _-0S9;
            _-3zt[1435] = _-0dZ;
            _-3zt[1437] = Game2CheckGameDirectoryStatusMessageComposer;
            _-3zt[1440] = _-0wg;
            _-3zt[1441] = _-7P;
            _-3zt[1444] = _-0Wt;
            _-3zt[1452] = _-2ka;
            _-3zt[1462] = _-2KX;
            _-3zt[1463] = _-1LI;
            _-3zt[147] = _-0tY;
            _-3zt[1480] = _-1Dv;
            _-3zt[1481] = _-4NI;
            _-3zt[1486] = _-0vT;
            _-3zt[1504] = _-3o6;
            _-3zt[152] = _-4BS;
            _-3zt[154] = Game2SetUserMoveTargetMessageComposer;
            _-3zt[1549] = _-0yc;
            _-3zt[1552] = UpdateGuildBadgeMessageComposer;
            _-3zt[1553] = _-qm;
            _-3zt[1559] = _-3C4;
            _-3zt[156] = _-2yF;
            _-3zt[1569] = _-4jh;
            _-3zt[1588] = _-4sS;
            _-3zt[1612] = _-0Li;
            _-3zt[164] = _-Wm;
            _-3zt[1642] = _-0st;
            _-3zt[1645] = _-u7;
            _-3zt[1653] = _-1X9;
            _-3zt[1657] = _-02V;
            _-3zt[1672] = _-Ya;
            _-3zt[1691] = _-0d;
            _-3zt[1694] = _-073;
            _-3zt[1714] = _-1sD;
            _-3zt[1720] = _-5Aw;
            _-3zt[1722] = _-3p;
            _-3zt[1726] = _-Rd;
            _-3zt[1728] = _-0kG;
            _-3zt[1737] = _-YF;
            _-3zt[1740] = _-4tk;
            _-3zt[1752] = _-4Xz;
            _-3zt[1754] = _-2Kf;
            _-3zt[1759] = _-0ox;
            _-3zt[176] = _-4gH;
            _-3zt[1760] = _-fA;
            _-3zt[1769] = _-1Dm;
            _-3zt[177] = _-1Wp;
            _-3zt[1773] = _-43x;
            _-3zt[1774] = _-3lg;
            _-3zt[182] = _-1pr;
            _-3zt[1828] = _-363;
            _-3zt[1834] = _-36B;
            _-3zt[1849] = _-36O;
            _-3zt[186] = Game2StartSnowWarMessageComposer;
            _-3zt[1874] = _-32c;
            _-3zt[1884] = _-nw;
            _-3zt[1908] = _-1NY;
            _-3zt[1910] = _-211;
            _-3zt[1916] = _-vl;
            _-3zt[1925] = _-0BQ;
            _-3zt[1945] = _-1OW;
            _-3zt[1957] = _-2yb;
            _-3zt[1967] = Game2ThrowSnowballAtPositionMessageComposer;
            _-3zt[1979] = _-32j;
            _-3zt[2019] = _-3uq;
            _-3zt[2027] = _-4mH;
            _-3zt[2046] = AcceptFriendMessageComposer;
            _-3zt[2062] = _-1Lm;
            _-3zt[2070] = _-2uq;
            _-3zt[2092] = _-4z5;
            _-3zt[2098] = _-4-A;
            _-3zt[21] = _-53L;
            _-3zt[2100] = _-3em;
            _-3zt[2117] = _-1P1;
            _-3zt[2119] = _-4zs;
            _-3zt[2127] = _-41d;
            _-3zt[213] = Game2LoadStageReadyMessageComposer;
            _-3zt[2130] = _-27d;
            _-3zt[2134] = _-2gm;
            _-3zt[2135] = _-1D5;
            _-3zt[2157] = _-2HA;
            _-3zt[221] = _-4NG;
            _-3zt[2235] = _-20B;
            _-3zt[224] = _-46u;
            _-3zt[2242] = _-71;
            _-3zt[2248] = _-kx;
            _-3zt[2254] = _-0qu;
            _-3zt[2276] = null;
            _-3zt[2294] = _-4Ib;
            _-3zt[2297] = _-34z;
            _-3zt[0x0909] = _-0S2;
            _-3zt[2317] = _-1H5;
            _-3zt[2323] = _-1sr;
            _-3zt[2342] = _-1dN;
            _-3zt[2344] = _-3j0;
            _-3zt[2358] = _-3jA;
            _-3zt[2364] = _-4Zm;
            _-3zt[2368] = _-09c;
            _-3zt[2372] = _-3WY;
            _-3zt[2378] = _-1hE;
            _-3zt[2382] = _-5Bm;
            _-3zt[2395] = _-3uv;
            _-3zt[2401] = _-1ff;
            _-3zt[2403] = _-4ad;
            _-3zt[2416] = _-3P-;
            _-3zt[2424] = _-1ZD;
            _-3zt[2426] = _-2dR;
            _-3zt[2443] = _-4Nd;
            _-3zt[2460] = Game2ThrowSnowballAtHumanMessageComposer;
            _-3zt[247] = CreateGuildMessageComposer;
            _-3zt[2484] = _-X1;
            _-3zt[2487] = SetActivatedBadgesComposer;
            _-3zt[2490] = _-1WP;
            _-3zt[2514] = _-20a;
            _-3zt[2519] = _-u9;
            _-3zt[2525] = _-4Mw;
            _-3zt[2540] = _-4CB;
            _-3zt[2548] = _-2Q2;
            _-3zt[2559] = _-4wO;
            _-3zt[2561] = _-2e8;
            _-3zt[2574] = _-bA;
            _-3zt[2579] = _-lv;
            _-3zt[2598] = _-0yx;
            _-3zt[2603] = _-2aR;
            _-3zt[2612] = _-1LB;
            _-3zt[262] = PostQuizAnswersComposer;
            _-3zt[2630] = _-wK;
            _-3zt[2648] = _-0On;
            _-3zt[2649] = _-2b;
            _-3zt[2650] = PollAnswerComposer;
            _-3zt[2652] = _-1lL;
            _-3zt[2658] = _-lJ;
            _-3zt[2666] = _-2ac;
            _-3zt[2669] = _-1k5;
            _-3zt[267] = Game2QuickJoinGameMessageComposer;
            _-3zt[2684] = _-1mV;
            _-3zt[2693] = RemoveRightsMessageComposer;
            _-3zt[27] = _-0w7;
            _-3zt[2715] = _-0IE;
            _-3zt[272] = _-L;
            _-3zt[2742] = _-0rJ;
            _-3zt[2747] = _-07d;
            _-3zt[275] = _-4cp;
            _-3zt[2756] = _-0-N;
            _-3zt[2757] = _-5-j;
            _-3zt[2775] = _-0H;
            _-3zt[2783] = _-2mP;
            _-3zt[279] = _-xM;
            _-3zt[2804] = _-MS;
            _-3zt[281] = Game2MakeSnowballMessageComposer;
            _-3zt[2819] = ReleaseIssuesMessageComposer;
            _-3zt[283] = _-0M5;
            _-3zt[2832] = _-TU;
            _-3zt[287] = _-3e1;
            _-3zt[2876] = _-0Dw;
            _-3zt[288] = _-0oX;
            _-3zt[2891] = _-P-;
            _-3zt[2893] = _-0m4;
            _-3zt[2895] = _-Jb;
            _-3zt[2903] = _-2Ci;
            _-3zt[2911] = _-4p;
            _-3zt[2913] = Game2GetTotalLeaderboardComposer;
            _-3zt[2918] = _-3ZH;
            _-3zt[293] = _-1Do;
            _-3zt[2934] = _-4Kl;
            _-3zt[2937] = _-2je;
            _-3zt[2951] = _-yb;
            _-3zt[2953] = _-0rm;
            _-3zt[2963] = _-0iK;
            _-3zt[2969] = _-1xC;
            _-3zt[2992] = Game2GetFriendsLeaderboardComposer;
            _-3zt[2993] = _-0JR;
            _-3zt[3000] = _-09Z;
            _-3zt[3027] = _-4uH;
            _-3zt[3032] = _-0kq;
            _-3zt[3033] = _-4e4;
            _-3zt[3038] = _-4CD;
            _-3zt[3058] = _-50t;
            _-3zt[3073] = _-0q6;
            _-3zt[3074] = _-2cF;
            _-3zt[3083] = _-2Uo;
            _-3zt[309] = _-0Xs;
            _-3zt[3105] = SendRoomInviteMessageComposer;
            _-3zt[3117] = _-0Vv;
            _-3zt[3123] = _-0WM;
            _-3zt[3125] = _-je;
            _-3zt[313] = _-4KO;
            _-3zt[3130] = _-2rD;
            _-3zt[3139] = _-22d;
            _-3zt[3141] = _-405;
            _-3zt[3153] = _-4Q1;
            _-3zt[3154] = _-4rI;
            _-3zt[3166] = _-10X;
            _-3zt[3168] = _-4z0;
            _-3zt[3181] = _-2VU;
            _-3zt[3194] = _-3jY;
            _-3zt[32] = _-5FI;
            _-3zt[3208] = _-1Vp;
            _-3zt[321] = _-3v9;
            _-3zt[3219] = _-AR;
            _-3zt[3229] = _-3L-;
            _-3zt[3237] = _-1DM;
            _-3zt[3255] = _-3ul;
            _-3zt[3269] = _-39o;
            _-3zt[3273] = _-4rv;
            _-3zt[3275] = _-jP;
            _-3zt[3286] = Game2GameChatMessageComposer;
            _-3zt[3287] = _-5DJ;
            _-3zt[3297] = _-0Pm;
            _-3zt[3307] = _-0xK;
            _-3zt[3308] = Game2GetWeeklyLeaderboardComposer;
            _-3zt[3320] = _-bd;
            _-3zt[3368] = _-5CH;
            _-3zt[338] = Game2GetWeeklyFriendsLeaderboardComposer;
            _-3zt[3383] = _-0Hs;
            _-3zt[3390] = _-23K;
            _-3zt[3391] = _-2Pp;
            _-3zt[3393] = _-0Kg;
            _-3zt[3394] = _-2-6;
            _-3zt[3395] = _-2lZ;
            _-3zt[3405] = _-1Eb;
            _-3zt[3424] = _-46j;
            _-3zt[3432] = _-0ui;
            _-3zt[3437] = _-0ot;
            _-3zt[3442] = _-0GE;
            _-3zt[3444] = _-2Cu;
            _-3zt[3448] = _-2jt;
            _-3zt[3451] = _-4t1;
            _-3zt[3472] = _-29q;
            _-3zt[3473] = _-3W;
            _-3zt[3475] = _-30I;
            _-3zt[348] = _-28p;
            _-3zt[3488] = _-1bz;
            _-3zt[350] = _-2rb;
            _-3zt[3501] = _-2Gb;
            _-3zt[3511] = _-2Xu;
            _-3zt[3514] = _-4GZ;
            _-3zt[3531] = _-3fy;
            _-3zt[3536] = _-3Ze;
            _-3zt[3549] = _-1YG;
            _-3zt[355] = _-DF;
            _-3zt[3557] = _-0Ih;
            _-3zt[3575] = _-Qu;
            _-3zt[358] = CloseIssuesMessageComposer;
            _-3zt[3581] = _-34Z;
            _-3zt[359] = _-4qO;
            _-3zt[3597] = _-1NP;
            _-3zt[360] = _-1uS;
            _-3zt[3609] = _-0mi;
            _-3zt[3612] = _-4wR;
            _-3zt[3615] = _-RA;
            _-3zt[3621] = _-4l4;
            _-3zt[3623] = _-0MT;
            _-3zt[3628] = _-4y1;
            _-3zt[3642] = _-1z;
            _-3zt[3644] = _-3Td;
            _-3zt[3671] = _-2Ju;
            _-3zt[3678] = _-0Xt;
            _-3zt[3689] = _-2Io;
            _-3zt[3697] = _-5Ck;
            _-3zt[3710] = _-3Qf;
            _-3zt[3733] = _-3sQ;
            _-3zt[3755] = _-5B6;
            _-3zt[3767] = _-4CV;
            _-3zt[377] = _-473;
            _-3zt[3772] = _-1sR;
            _-3zt[3776] = Game2RequestFullStatusUpdateMessageComposer;
            _-3zt[3783] = _-1Cd;
            _-3zt[3802] = _-1eX;
            _-3zt[3815] = _-Qc;
            _-3zt[3818] = _-1Yc;
            _-3zt[3877] = _-3j6;
            _-3zt[3878] = _-1J-;
            _-3zt[3879] = Game2LeaveGameMessageComposer;
            _-3zt[3913] = _-0dv;
            _-3zt[393] = _-2ri;
            _-3zt[3932] = _-08J;
            _-3zt[3979] = PickIssuesMessageComposer;
            _-3zt[3980] = _-WG;
            _-3zt[3992] = _-4UH;
            _-3zt[4000] = _-1Na;
            _-3zt[41] = _-1uq;
            _-3zt[412] = _-5N;
            _-3zt[415] = _-4pz;
            _-3zt[420] = _-1gL;
            _-3zt[435] = _-3j9;
            _-3zt[437] = _-4CM;
            _-3zt[438] = _-w1;
            _-3zt[440] = _-2s4;
            _-3zt[456] = _-BI;
            _-3zt[474] = _-2XD;
            _-3zt[480] = _-4Nx;
            _-3zt[486] = _-3w3;
            _-3zt[503] = _-3Zk;
            _-3zt[528] = _-4AP;
            _-3zt[532] = _-2fb;
            _-3zt[541] = _-2VM;
            _-3zt[542] = _-2hq;
            _-3zt[558] = _-XR;
            _-3zt[567] = _-480;
            _-3zt[569] = _-4rd;
            _-3zt[571] = _-G8;
            _-3zt[577] = _-1kB;
            _-3zt[596] = _-3Iu;
            _-3zt[599] = _-3Ba;
            _-3zt[608] = _-1NA;
            _-3zt[617] = _-4kE;
            _-3zt[632] = _-iu;
            _-3zt[633] = _-4zH;
            _-3zt[642] = _-2D8;
            _-3zt[643] = _-3VN;
            _-3zt[646] = _-42S;
            _-3zt[668] = _-3xP;
            _-3zt[671] = _-G1;
            _-3zt[672] = _-1Ir;
            _-3zt[676] = _-6G;
            _-3zt[68] = _-0O0;
            _-3zt[702] = _-1GP;
            _-3zt[710] = _-0jA;
            _-3zt[724] = Game2GetAccountGameStatusMessageComposer;
            _-3zt[729] = Game2PlayAgainMessageComposer;
            _-3zt[731] = _-26L;
            _-3zt[74] = _-2mJ;
            _-3zt[745] = _-3vQ;
            _-3zt[760] = _-20S;
            _-3zt[762] = _-3E5;
            _-3zt[0x0303] = _-0YA;
            _-3zt[778] = DeclineFriendMessageComposer;
            _-3zt[78] = _-gO;
            _-3zt[790] = RemoveFriendMessageComposer;
            _-3zt[810] = _-1Ie;
            _-3zt[83] = _-019;
            _-3zt[838] = _-1tW;
            _-3zt[85] = _-3gJ;
            _-3zt[865] = _-4us;
            _-3zt[879] = _-1d-;
            _-3zt[89] = _-37-;
            _-3zt[890] = _-30D;
            _-3zt[896] = _-2Gn;
            _-3zt[909] = _-0oV;
            _-3zt[914] = _-gR;
            _-3zt[920] = _-0kp;
            _-3zt[934] = _-3Jl;
            _-3zt[937] = _-1AL;
            _-3zt[975] = _-0Ri;
            _-3zt[980] = _-0ac;
            _-3zt[994] = _-aM;
            _-2Te[1034] = _-47;
            _-2Te[1035] = _-Z-;
            _-2Te[1046] = _-2Oz;
            _-2Te[1084] = _-2Mj;
            _-2Te[1098] = _-2YW;
            _-2Te[1103] = _-0Bi;
            _-2Te[1115] = _-0SV;
            _-2Te[1120] = _-4rg;
            _-2Te[1122] = _-115;
            _-2Te[1123] = _-2zQ;
            _-2Te[1136] = Game2GameNotFoundMessageEvent;
            _-2Te[1148] = _-0zb;
            _-2Te[1167] = _-Fg;
            _-2Te[117] = _-3E6;
            _-2Te[1175] = _-Pz;
            _-2Te[1188] = _-1yd;
            _-2Te[1194] = _-4d7;
            _-2Te[121] = _-4dE;
            _-2Te[1221] = _-0Jd;
            _-2Te[1225] = _-Ex;
            _-2Te[1231] = _-3F2;
            _-2Te[1234] = _-1gT;
            _-2Te[124] = _-3-w;
            _-2Te[1250] = _-4Z0;
            _-2Te[1258] = _-4sX;
            _-2Te[1267] = _-3Zv;
            _-2Te[1268] = _-3vt;
            _-2Te[1269] = _-4zN;
            _-2Te[1270] = _-1Mj;
            _-2Te[1272] = _-Sb;
            _-2Te[1275] = _-5AC;
            _-2Te[1276] = _-3c6;
            _-2Te[1278] = _-2HQ;
            _-2Te[1284] = _-3xE;
            _-2Te[1306] = _-3kM;
            _-2Te[1319] = _-50l;
            _-2Te[1321] = _-4H8;
            _-2Te[1323] = _-1-V;
            _-2Te[1327] = _-3tK;
            _-2Te[1353] = _-1O7;
            _-2Te[1359] = Game2StartingGameFailedMessageEvent;
            _-2Te[1373] = _-24l;
            _-2Te[1392] = _-3sK;
            _-2Te[1397] = _-40v;
            _-2Te[140] = _-R8;
            _-2Te[1400] = _-1R0;
            _-2Te[1419] = Game2GameStatusMessageEvent;
            _-2Te[1421] = _-3jv;
            _-2Te[1433] = _-3iS;
            _-2Te[1442] = _-4Dg;
            _-2Te[1455] = _-1F2;
            _-2Te[1460] = _-355;
            _-2Te[1461] = _-1Wx;
            _-2Te[1464] = _-36Q;
            _-2Te[1482] = _-1F7;
            _-2Te[1483] = _-2fY;
            _-2Te[1490] = _-2T1;
            _-2Te[1514] = _-1BQ;
            _-2Te[1523] = _-20E;
            _-2Te[1526] = _-2gy;
            _-2Te[1534] = _-0IX;
            _-2Te[1535] = Game2GameStartedMessageEvent;
            _-2Te[1544] = _-1aN;
            _-2Te[1565] = Game2StageStartingMessageEvent;
            _-2Te[1569] = _-3Sb;
            _-2Te[1584] = _-1Gg;
            _-2Te[1585] = _-567;
            _-2Te[1592] = _-3nT;
            _-2Te[1604] = Game2StartCounterMessageEvent;
            _-2Te[1617] = _-4Zv;
            _-2Te[1620] = _-1wP;
            _-2Te[1639] = _-2Eb;
            _-2Te[165] = _-3nV;
            _-2Te[1653] = _-4B9;
            _-2Te[1663] = _-0uR;
            _-2Te[167] = _-27J;
            _-2Te[1681] = _-4AA;
            _-2Te[1686] = _-0oT;
            _-2Te[1688] = Game2WeeklyLeaderboardEvent;
            _-2Te[1700] = _-42P;
            _-2Te[1703] = _-0XG;
            _-2Te[1710] = _-3TK;
            _-2Te[1718] = _-0Kr;
            _-2Te[1731] = _-51S;
            _-2Te[1733] = _-fX;
            _-2Te[1736] = _-3E-;
            _-2Te[1740] = _-2DO;
            _-2Te[175] = _-4j2;
            _-2Te[1750] = _-N6;
            _-2Te[179] = _-58T;
            _-2Te[1802] = _-4kL;
            _-2Te[1809] = _-3Ha;
            _-2Te[1810] = _-1Rj;
            _-2Te[1812] = _-7X;
            _-2Te[1813] = _-36f;
            _-2Te[1815] = Game2GameChatFromPlayerMessageEvent;
            _-2Te[1824] = _-4x7;
            _-2Te[1826] = Game2UserJoinedGameMessageEvent;
            _-2Te[1833] = _-3bO;
            _-2Te[184] = _-0RK;
            _-2Te[1846] = _-b5;
            _-2Te[1868] = _-153;
            _-2Te[1870] = _-zP;
            _-2Te[1871] = _-0bk;
            _-2Te[1873] = _-Ou;
            _-2Te[1899] = _-0DJ;
            _-2Te[1924] = _-2y9;
            _-2Te[1925] = _-1ZY;
            _-2Te[1926] = _-3-9;
            _-2Te[1929] = _-3NA;
            _-2Te[193] = _-3fY;
            _-2Te[1930] = _-4YS;
            _-2Te[1967] = _-2I3;
            _-2Te[1976] = _-1CR;
            _-2Te[2034] = _-3aG;
            _-2Te[2042] = _-0dP;
            _-2Te[2045] = _-1G-;
            _-2Te[2051] = _-1CB;
            _-2Te[2054] = _-1Z7;
            _-2Te[2058] = _-b0;
            _-2Te[206] = _-1eW;
            _-2Te[2062] = _-46p;
            _-2Te[209] = _-3jQ;
            _-2Te[2135] = _-3Hz;
            _-2Te[2172] = _-1b5;
            _-2Te[2178] = _-0NG;
            _-2Te[2190] = _-0sC;
            _-2Te[22] = _-1rM;
            _-2Te[2204] = _-2J9;
            _-2Te[221] = _-0c8;
            _-2Te[2244] = _-2cP;
            _-2Te[2264] = _-1Io;
            _-2Te[2273] = _-3rV;
            _-2Te[2279] = _-1GN;
            _-2Te[229] = _-012;
            _-2Te[2295] = _-4Uo;
            _-2Te[2309] = _-3s1;
            _-2Te[2322] = _-4XH;
            _-2Te[2325] = _-4qS;
            _-2Te[2329] = _-1ZF;
            _-2Te[2330] = _-31N;
            _-2Te[2340] = _-2Iz;
            _-2Te[2349] = _-4HB;
            _-2Te[2354] = _-1O8;
            _-2Te[2357] = _-Xc;
            _-2Te[2375] = _-02D;
            _-2Te[2380] = Game2JoiningGameFailedMessageEvent;
            _-2Te[2388] = _-0AE;
            _-2Te[2390] = Game2StageEndingMessageEvent;
            _-2Te[2400] = _-1ws;
            _-2Te[2401] = _-2cw;
            _-2Te[241] = _-1vd;
            _-2Te[2421] = _-A2;
            _-2Te[2422] = _-4Np;
            _-2Te[2433] = _-2NJ;
            _-2Te[2447] = _-A6;
            _-2Te[2448] = _-4V4;
            _-2Te[2454] = _-Ix;
            _-2Te[2462] = _-1b-;
            _-2Te[2483] = _-24p;
            _-2Te[2488] = _-25m;
            _-2Te[2491] = _-59w;
            _-2Te[2494] = _-sL;
            _-2Te[2502] = _-2k6;
            _-2Te[2511] = Game2GameDirectoryStatusMessageEvent;
            _-2Te[2522] = _-0PF;
            _-2Te[2529] = _-26G;
            _-2Te[2540] = Game2FullGameStatusMessageEvent;
            _-2Te[2546] = Game2GameCancelledMessageEvent;
            _-2Te[2550] = _-0p6;
            _-2Te[2556] = _-1iU;
            _-2Te[2557] = _-34G;
            _-2Te[2559] = _-4Jt;
            _-2Te[2575] = _-1nb;
            _-2Te[2577] = _-1qQ;
            _-2Te[258] = _-3xJ;
            _-2Te[2593] = Game2ArenaEnteredMessageEvent;
            _-2Te[2598] = Game2GameEndingMessageEvent;
            _-2Te[2599] = _-3qn;
            _-2Te[261] = _-3ci;
            _-2Te[2612] = _-1AX;
            _-2Te[2629] = _-2yt;
            _-2Te[2635] = _-1DZ;
            _-2Te[2640] = _-4mq;
            _-2Te[2648] = _-ue;
            _-2Te[2651] = _-1dA;
            _-2Te[2672] = _-0Za;
            _-2Te[2676] = _-0wm;
            _-2Te[2720] = _-2Pr;
            _-2Te[2721] = _-0OF;
            _-2Te[2722] = _-4v1;
            _-2Te[2731] = _-4Yz;
            _-2Te[2735] = _-22E;
            _-2Te[2736] = _-4A;
            _-2Te[2739] = _-46q;
            _-2Te[2746] = _-2NK;
            _-2Te[2748] = _-pc;
            _-2Te[275] = _-1-B;
            _-2Te[2755] = _-3sN;
            _-2Te[2763] = _-16U;
            _-2Te[277] = _-1a5;
            _-2Te[2773] = _-4YR;
            _-2Te[2774] = _-4Xy;
            _-2Te[2775] = Game2EnterArenaMessageEvent;
            _-2Te[2777] = _-0t4;
            _-2Te[2785] = _-Fm;
            _-2Te[2799] = _-4D5;
            _-2Te[2815] = _-14D;
            _-2Te[2817] = _-bK;
            _-2Te[2825] = _-0e5;
            _-2Te[2829] = _-3WQ;
            _-2Te[2841] = _-00w;
            _-2Te[2842] = _-3hF;
            _-2Te[2864] = _-1Ba;
            _-2Te[2873] = _-0pH;
            _-2Te[2888] = _-3vw;
            _-2Te[2893] = Game2StageStillLoadingMessageEvent;
            _-2Te[2895] = _-1QB;
            _-2Te[2908] = _-0uA;
            _-2Te[2914] = _-2tr;
            _-2Te[2919] = _-19a;
            _-2Te[2939] = _-0oZ;
            _-2Te[2958] = Game2PlayerRematchesMessageEvent;
            _-2Te[2978] = _-29I;
            _-2Te[2992] = _-2HB;
            _-2Te[2995] = _-1Lt;
            _-2Te[300] = _-0vF;
            _-2Te[3010] = _-3fH;
            _-2Te[3011] = _-2KV;
            _-2Te[3017] = Game2UserBlockedMessageEvent;
            _-2Te[3022] = _-44B;
            _-2Te[3023] = _-vO;
            _-2Te[3047] = _-51e;
            _-2Te[3056] = _-4oh;
            _-2Te[3070] = _-3rO;
            _-2Te[3111] = _-0P9;
            _-2Te[3136] = _-1Ph;
            _-2Te[3143] = _-18t;
            _-2Te[3157] = _-3v6;
            _-2Te[3163] = _-33y;
            _-2Te[3181] = _-1gk;
            _-2Te[3185] = _-4zc;
            _-2Te[3189] = _-2k3;
            _-2Te[3208] = _-0AC;
            _-2Te[3213] = _-5Bq;
            _-2Te[322] = _-3qY;
            _-2Te[3221] = _-2Ul;
            _-2Te[3232] = _-1cf;
            _-2Te[3246] = _-1j6;
            _-2Te[3266] = _-5Be;
            _-2Te[3271] = _-3eS;
            _-2Te[3277] = _-bL;
            _-2Te[3289] = _-2Xf;
            _-2Te[3299] = _-2c;
            _-2Te[3326] = _-S8;
            _-2Te[3335] = _-2uG;
            _-2Te[3342] = _-4C1;
            _-2Te[3357] = _-2vk;
            _-2Te[3365] = _-2fO;
            _-2Te[3377] = _-3Hm;
            _-2Te[3378] = _-j2;
            _-2Te[3382] = _-0fQ;
            _-2Te[34] = _-1xX;
            _-2Te[3400] = _-4kA;
            _-2Te[3401] = _-4Pw;
            _-2Te[3410] = _-4yr;
            _-2Te[3422] = _-0nq;
            _-2Te[3423] = _-20h;
            _-2Te[3429] = _-6D;
            _-2Te[3435] = _-476;
            _-2Te[3438] = _-3t9;
            _-2Te[3451] = _-4Vp;
            _-2Te[346] = _-4pU;
            _-2Te[3463] = _-2No;
            _-2Te[3486] = _-5Dt;
            _-2Te[3491] = Game2EnterArenaFailedMessageEvent;
            _-2Te[3511] = _-zx;
            _-2Te[3512] = _-GF;
            _-2Te[3533] = _-1r3;
            _-2Te[3538] = _-2eB;
            _-2Te[354] = _-G6;
            _-2Te[3550] = _-fB;
            _-2Te[3553] = _-4PU;
            _-2Te[3560] = _-2-v;
            _-2Te[3563] = Game2WeeklyFriendsLeaderboardEvent;
            _-2Te[3564] = _-2Vp;
            _-2Te[3567] = _-50u;
            _-2Te[357] = Game2UserLeftGameMessageEvent;
            _-2Te[3575] = _-2Bw;
            _-2Te[3576] = _-3Ed;
            _-2Te[0x0E00] = _-3sM;
            _-2Te[3587] = Game2GameLongDataMessageEvent;
            _-2Te[3592] = _-4ek;
            _-2Te[3597] = _-Ft;
            _-2Te[3599] = _-4Hm;
            _-2Te[3621] = _-0Nc;
            _-2Te[3625] = _-4nv;
            _-2Te[3629] = _-1Bf;
            _-2Te[3634] = _-4xw;
            _-2Te[3639] = _-3zZ;
            _-2Te[3647] = _-em;
            _-2Te[3650] = _-0jX;
            _-2Te[3662] = _-1ah;
            _-2Te[3667] = _-3yw;
            _-2Te[3681] = _-xp;
            _-2Te[3692] = _-2bH;
            _-2Te[3702] = _-3GJ;
            _-2Te[3709] = _-2qt;
            _-2Te[3713] = _-0Z2;
            _-2Te[373] = _-4X1;
            _-2Te[3734] = _-2td;
            _-2Te[3741] = Game2GameRejoinMessageEvent;
            _-2Te[3757] = _-4bH;
            _-2Te[3761] = _-4q9;
            _-2Te[3764] = _-4uj;
            _-2Te[3771] = _-3TD;
            _-2Te[3772] = _-33r;
            _-2Te[3784] = _-5Ap;
            _-2Te[3785] = Game2InArenaQueueMessageEvent;
            _-2Te[3791] = _-ZG;
            _-2Te[3804] = _-0G3;
            _-2Te[3807] = _-0k-;
            _-2Te[3817] = _-082;
            _-2Te[3827] = _-0fT;
            _-2Te[3830] = _-2gK;
            _-2Te[3839] = Game2AccountGameStatusMessageEvent;
            _-2Te[3845] = _-17m;
            _-2Te[3847] = _-3ZC;
            _-2Te[3849] = _-1jm;
            _-2Te[3871] = _-03W;
            _-2Te[3886] = Game2FriendsLeaderboardEvent;
            _-2Te[3887] = _-0KQ;
            _-2Te[3909] = Game2StopCounterMessageEvent;
            _-2Te[391] = _-21L;
            _-2Te[3923] = _-0wb;
            _-2Te[3926] = _-4hu;
            _-2Te[3934] = _-7v;
            _-2Te[3941] = _-11J;
            _-2Te[3950] = _-KL;
            _-2Te[3951] = Game2StageLoadMessageEvent;
            _-2Te[3956] = _-0RQ;
            _-2Te[3965] = _-3RR;
            _-2Te[398] = _-1Er;
            _-2Te[3982] = _-1om;
            _-2Te[3995] = _-0S8;
            _-2Te[4000] = _-025;
            _-2Te[402] = _-4ol;
            _-2Te[404] = _-4Sc;
            _-2Te[405] = _-Ga;
            _-2Te[413] = Game2TotalLeaderboardEvent;
            _-2Te[416] = _-3iX;
            _-2Te[424] = _-0yS;
            _-2Te[425] = _-OM;
            _-2Te[428] = _-3UG;
            _-2Te[43] = Game2PlayerExitedGameArenaMessageEvent;
            _-2Te[451] = _-3PY;
            _-2Te[46] = _-2Le;
            _-2Te[494] = _-07z;
            _-2Te[495] = _-EM;
            _-2Te[0x0202] = _-4cz;
            _-2Te[516] = _-0hm;
            _-2Te[518] = _-47m;
            _-2Te[521] = _-3vj;
            _-2Te[53] = _-29u;
            _-2Te[530] = _-1fW;
            _-2Te[552] = Game2StageRunningMessageEvent;
            _-2Te[557] = _-44X;
            _-2Te[561] = _-2CT;
            _-2Te[562] = _-2SH;
            _-2Te[566] = _-iC;
            _-2Te[568] = Game2GameCreatedMessageEvent;
            _-2Te[575] = _-3KP;
            _-2Te[580] = _-1Fg;
            _-2Te[583] = _-04N;
            _-2Te[584] = _-Cn;
            _-2Te[592] = _-4vL;
            _-2Te[595] = _-M9;
            _-2Te[605] = _-1eO;
            _-2Te[611] = _-r4;
            _-2Te[616] = _-3Qo;
            _-2Te[656] = _-2he;
            _-2Te[667] = _-3Bl;
            _-2Te[669] = _-2u;
            _-2Te[675] = _-0Qm;
            _-2Te[677] = _-2ZU;
            _-2Te[682] = _-0rH;
            _-2Te[683] = _-0Xe;
            _-2Te[692] = _-2lT;
            _-2Te[693] = _-320;
            _-2Te[699] = _-34h;
            _-2Te[707] = _-1Ze;
            _-2Te[709] = _-51o;
            _-2Te[721] = _-3RK;
            _-2Te[722] = _-2oY;
            _-2Te[723] = _-1Ga;
            _-2Te[730] = _-2wD;
            _-2Te[750] = _-yg;
            _-2Te[753] = _-0xd;
            _-2Te[774] = _-2a9;
            _-2Te[779] = _-3UX;
            _-2Te[783] = _-3JM;
            _-2Te[787] = _-0b6;
            _-2Te[795] = _-Wf;
            _-2Te[808] = _-1mu;
            _-2Te[820] = _-5-V;
            _-2Te[824] = _-0n7;
            _-2Te[831] = _-2KN;
            _-2Te[868] = _-ty;
            _-2Te[88] = _-3LQ;
            _-2Te[890] = _-07M;
            _-2Te[904] = _-1Lx;
            _-2Te[923] = _-1rq;
            _-2Te[947] = _-uT;
            _-2Te[955] = _-KQ;
            _-2Te[957] = _-0qk;
            _-2Te[970] = _-4iP;
            _-2Te[987] = _-MZ;
            _-2Te[993] = _-1zj;
        }
        public function get events():Map
        {
            return (_-2Te);
        }
        public function get _-0dW():Map
        {
            return (_-3zt);
        }

    }
}//package _-3gx

//------------------------------------------------------------
//_-3gx.HabboWebLogin

package _-3gx
{
    import _-0yf.EventDispatcherWrapper;
    import flash.net.URLRequestHeader;
    import flash.net.URLLoader;
    import flash.events.IEventDispatcher;
    import flash.net.URLRequest;
    import flash.net.URLVariables;
    import flash.net.URLRequestMethod;
    import flash.events.Event;
    import _-3PZ._-0xj;
    import flash.events.SecurityErrorEvent;
    import flash.events.HTTPStatusEvent;
    import flash.events.IOErrorEvent;

    public class HabboWebLogin extends EventDispatcherWrapper implements _-2za 
    {

        private static const _-03f:URLRequestHeader = new URLRequestHeader("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1 FirePHP/0.7.1");

        private var _-bS:URLLoader;
        private var _name:String;
        private var _-1ZG:String;
        private var _-36q:String;
        private var _-4Ca:String;
        private var _-0nm:String;

        public function HabboWebLogin(_arg1:String, _arg2:String, _arg3:String, _arg4:IEventDispatcher=null)
        {
            super(_arg4);
            this._name = _arg1;
            this._-1ZG = _arg2;
            this._-36q = (("https://" + _arg3) + "/account/submit");
            this._-4Ca = (("https://" + _arg3) + "/security_check");
            this._-0nm = (("https://" + _arg3) + "/account/reauthenticate");
        }
        public function init():void
        {
            this._-XU();
        }
        private function _-XU():void
        {
            var k:String = ((("credentials.username=" + this._name) + "&credentials.password=") + this._-1ZG);
            var k:URLRequest = new URLRequest(this._-36q);
            k.data = new URLVariables(k);
            k.method = URLRequestMethod.POST;
            this._-bS = new URLLoader();
            this._-bS.addEventListener(Event.COMPLETE, this._-1S-);
            this._-53H(this._-bS);
            this._-bS.load(k);
        }
        private function _-1S-(_arg1:Event=null):void
        {
            var k:String;
            var k:URLRequest;
            var k:URLLoader = URLLoader(_arg1.target);
            var k:String = k.data;
            if ((((k.indexOf("Redirecting") > -1)) && (!((k.indexOf("/useOrCreateAvatar/") == -1)))))
            {
                k = /<meta http-equiv="Refresh" content="0;URL=(.*?)">/.exec(k)[1];
                k = new URLRequest(k);
                this._-bS.load(k);
                return;
            };
            this._-bS.removeEventListener(Event.COMPLETE, this._-1S-);
            this._-4LU(this._-bS);
            if (k.indexOf("Redirecting") > -1)
            {
                this._-0ut();
            }
            else
            {
                if (k.indexOf("Habbo ~ Me") > -1)
                {
                    dispatchEvent(new Event(_-0xj._-0Jy));
                }
                else
                {
                    if (k.indexOf("Habbo ~ Home") > -1)
                    {
                        dispatchEvent(new Event(_-0xj._-0Jy));
                    }
                    else
                    {
                        if (k.indexOf("Habbo: Home") > -1)
                        {
                            dispatchEvent(new Event(_-0xj._-0Jy));
                        }
                        else
                        {
                            if (k.indexOf("document.habboLoggedIn = true") > -1)
                            {
                                dispatchEvent(new Event(_-0xj._-0Jy));
                            }
                            else
                            {
                                _-Nb.log("Login failed!");
                            };
                        };
                    };
                };
            };
        }
        private function _-0ut():void
        {
            var k:URLRequest = new URLRequest(this._-4Ca);
            this._-bS = new URLLoader();
            this._-bS.addEventListener(Event.COMPLETE, this._-3lk);
            this._-53H(this._-bS);
            this._-bS.load(k);
        }
        private function _-3lk(_arg1:Event=null):void
        {
            var k:URLLoader = URLLoader(_arg1.target);
            this._-bS.removeEventListener(Event.COMPLETE, this._-3lk);
            this._-4LU(this._-bS);
            var k:String = k.data;
            if (k.indexOf("Redirecting") > -1)
            {
                dispatchEvent(new Event(_-0xj._-0Jy));
            };
        }
        public function _-3tC():void
        {
            var k:String = ("page=%2Fclient&credentials.password=" + this._-1ZG);
            var k:URLRequest = new URLRequest(this._-0nm);
            k.data = new URLVariables(k);
            k.method = URLRequestMethod.POST;
            this._-bS = new URLLoader();
            this._-bS.addEventListener(Event.COMPLETE, this._-2Y4);
            this._-53H(this._-bS);
            this._-bS.load(k);
        }
        private function _-2Y4(_arg1:Event=null):void
        {
            var k:URLLoader = URLLoader(_arg1.target);
            this._-bS.removeEventListener(Event.COMPLETE, this._-2Y4);
            this._-4LU(this._-bS);
            var k:String = k.data;
            if (k.indexOf("Redirecting") > -1)
            {
                dispatchEvent(new Event(_-0xj._-0Jy));
            }
            else
            {
                _-Nb.log("[HabboWebLogin] Reauthenticate completed but couldn't find 'Redirecting' string. Something failed.");
                if (k.indexOf("You need to use secure log"))
                {
                    _-Nb.log("[HabboWebLogin] Reason for failure: You need to use secure login in HK.");
                };
            };
        }
        private function _-53H(_arg1:IEventDispatcher):void
        {
            _arg1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-1Oy);
            _arg1.addEventListener(HTTPStatusEvent.HTTP_STATUS, this._-2jN);
            _arg1.addEventListener(IOErrorEvent.IO_ERROR, this._-2w0);
        }
        private function _-4LU(_arg1:IEventDispatcher):void
        {
            _arg1.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-1Oy);
            _arg1.removeEventListener(HTTPStatusEvent.HTTP_STATUS, this._-2jN);
            _arg1.removeEventListener(IOErrorEvent.IO_ERROR, this._-2w0);
        }
        private function _-2w0(_arg1:IOErrorEvent):void
        {
            _-Nb.log(((("[LoginToWeb] IOError: " + _arg1.text) + " ") + _arg1.type));
        }
        private function _-2jN(_arg1:HTTPStatusEvent):void
        {
            _-Nb.log(((("[LoginToWeb] HTTPStatus: " + _arg1.status) + " ") + _arg1.type));
        }
        private function _-1Oy(_arg1:SecurityErrorEvent):void
        {
            _-Nb.log(("[LoginToWeb] SecurityError: " + _arg1.text));
        }

    }
}//package _-3gx

//------------------------------------------------------------
//_-3gY._-4N0

package _-3gY
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemGridWindow;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-sg.Outfit;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Fv.*;

    public class _-4N0 implements _-Om 
    {

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-0xv:IWindowContainer;
        private var _-3n-:HotLooksModel;
        private var _-0UF:IItemGridWindow;

        public function _-4N0(_arg1:HotLooksModel, _arg2:_-3Ts, _arg3:_-39L)
        {
            this._-3n- = _arg1;
            this._-AV = _arg3;
            this._-U- = _arg2;
        }
        public function init():void
        {
            if (this._-0UF)
            {
                this._-0UF._-360();
            };
            if (this._-0xv)
            {
                this._-0xv.dispose();
            };
            var k:_-243 = (this._-AV.getAssetByName("avatareditor_hotlooks_base") as _-243);
            this._-0xv = IWindowContainer(this._-U-.buildFromXML((k.content as XML)));
            this._-0UF = (this._-0xv.findChildByName("hotlooks") as IItemGridWindow);
            this._-0xv.visible = false;
            this.update();
        }
        public function dispose():void
        {
            while (this._-0UF.numGridItems > 0)
            {
                this._-0UF._-14z(0);
            };
            this._-0xv.dispose();
            this._-0xv = null;
            this._-3n- = null;
            this._-AV = null;
            this._-U- = null;
        }
        public function update():void
        {
            var k:IWindow;
            var k:Outfit;
            this._-0UF._-360();
            for each (k in this._-3n-._-4nN)
            {
                k = k.view.window;
                this._-0UF._-2-F(k);
                k.procedure = this._-i8;
            };
        }
        public function getWindowContainer():IWindowContainer
        {
            return (this._-0xv);
        }
        private function _-i8(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            var k:int;
            if (_arg2 == null)
            {
                k = (_arg1.target as IWindow);
            };
            if (_arg1.type == WindowMouseEvent._-90)
            {
                k = this._-0UF.getGridItemIndex(_arg2.parent);
                this._-3n-._-1ym(k);
            };
        }
        public function switchCategory(_arg1:String):void
        {
        }
        public function _-4Zf(_arg1:String, _arg2:int):void
        {
        }
        public function reset():void
        {
        }

    }
}//package _-3gY

//------------------------------------------------------------
//_-3gY.HotLooksModel

package _-3gY
{
    import _-Fv.CategoryBaseModel;
    import flash.utils.Dictionary;
    import _-ZI.FigureData;
    import _-4Kb.HabboAvatarEditor;
    import _-sg.Outfit;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-295._-243;
    import flash.events.Event;
    import _-Fv.CategoryData;
    import _-Fv.*;
    import _-sg.*;

    public class HotLooksModel extends CategoryBaseModel implements _-1Oc 
    {

        public static const _-57i:String = "hot_looks";
        public static const _-0JP:String = "my_looks";

        private var _-28Q:Dictionary;

        public function HotLooksModel(_arg1:HabboAvatarEditor)
        {
            super(_arg1);
            this._-28Q = new Dictionary();
            this._-28Q[FigureData._-0pA] = new Array();
            this._-28Q[FigureData._-0Ag] = new Array();
            this._-28Q[(FigureData._-0pA + ".index")] = 0;
            this._-28Q[(FigureData._-0Ag + ".index")] = 0;
            this._-4Da();
        }
        override public function dispose():void
        {
            super.dispose();
            this._-28Q = null;
        }
        override protected function init():void
        {
            if (!_-Ke)
            {
                _-Ke = new _-4N0(this, controller.manager.windowManager, controller.manager.assets);
            };
            _-Ke.init();
            _-rY = true;
        }
        public function _-1ym(_arg1:int):void
        {
            var k:Array = this._-28Q[_-513.gender];
            var k:Outfit = k[_arg1];
            if (k != null)
            {
                if (k.figure == "")
                {
                    return;
                };
                _-513.loadAvatarInEditor(k.figure, k.gender, _-513.clubMemberLevel);
            };
        }
        public function get _-4nN():Array
        {
            return (this._-28Q[_-513.gender]);
        }
        private function _-4Da():void
        {
            var k:String = _-513.manager.configuration.getKey("avatareditor.promohabbos");
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = _-513.manager.assets.loadAssetFromFile("hotLooksConfiguration", k, "text/xml");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-1zV);
        }
        private function _-1zV(_arg1:Event=null):void
        {
            var k:XML;
            var k:XML;
            var k:Outfit;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k == null)
            {
                return;
            };
            var k:_-243 = (_-513.manager.assets.getAssetByName("hotLooksConfiguration") as _-243);
            if (k != null)
            {
                k = (k.content as XML);
                for each (k in k.habbo)
                {
                    k = new Outfit(_-513, k.@figure, k.@gender);
                    (this._-28Q[k.gender] as Array).push(k);
                };
            }
            else
            {
                _-Nb.log("Could not retrieve Hot Looks from the server.");
            };
        }
        override public function switchCategory(_arg1:String):void
        {
        }
        override public function getCategoryData(_arg1:String):CategoryData
        {
            return (null);
        }
        override public function selectPart(_arg1:String, _arg2:int):void
        {
        }

    }
}//package _-3gY

//------------------------------------------------------------
//_-3iu._-0aR

package _-3iu
{
    public interface _-0aR 
    {

        function set slot(_arg1:int):void;

    }
}//package _-3iu

//------------------------------------------------------------
//_-3iu._-1oV

package _-3iu
{
    public interface _-1oV 
    {

        function set _-4wk(_arg1:String):void;

    }
}//package _-3iu

//------------------------------------------------------------
//_-3iu._-29l

package _-3iu
{
    public interface _-29l 
    {

        function _-78():void;

    }
}//package _-3iu

//------------------------------------------------------------
//_-3iu._-487

package _-3iu
{
    import _-Ew.IWindow;
    import _-1B-.*;

    public interface _-487 extends _-1zZ 
    {

        function initialize():void;
        function refresh():void;
        function get container():IWindow;

    }
}//package _-3iu

//------------------------------------------------------------
//_-3iu._-4FJ

package _-3iu
{
    import _-253._-4ie;

    public interface _-4FJ 
    {

        function set settings(_arg1:_-4ie):void;

    }
}//package _-3iu

//------------------------------------------------------------
//_-3iu._-4Fo

package _-3iu
{
    public interface _-4Fo 
    {

        function disable():void;

    }
}//package _-3iu

//------------------------------------------------------------
//_-3Kg._-0pF

package _-3Kg
{
    public class _-0pF 
    {

        public static var _-1S3:int = 0;
        public static var _-383:int = 1;
        public static var _-m9:int = 2;
        public static var _-3Yd:int = 3;
        public static var _-3Sf:int = 4;
        public static var _-0hb:int = 5;
        public static var _-eu:int = 6;
        public static var _-2yy:int = 7;
        public static var _-0GD:int = 8;
        public static var _-1uc:int = 9;
        public static var _-3FQ:int = 10;

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg._-1Jm

package _-3Kg
{
    import _-4dT.UserDefinedRoomEventsCtrl;
    import _-Ew.IWindowContainer;
    import _-OR.Triggerable;
    import _-1ae.ICheckBoxWindow;

    public class _-1Jm extends _-2Ab 
    {

        override public function get code():int
        {
            return (_-0pF._-1S3);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-3je);
        }
        override public function get hasStateSnapshot():Boolean
        {
            return (true);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            this.select(this._-1lU(_arg1), _arg2.getBoolean(0));
            this.select(this._-3gL(_arg1), _arg2.getBoolean(1));
            this.select(this._-3PG(_arg1), _arg2.getBoolean(2));
        }
        private function select(_arg1:ICheckBoxWindow, _arg2:Boolean):void
        {
            if (_arg2)
            {
                _arg1.select();
            }
            else
            {
                _arg1._-5Aq();
            };
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-4sN(this._-1lU(_arg1)));
            k.push(this._-4sN(this._-3gL(_arg1)));
            k.push(this._-4sN(this._-3PG(_arg1)));
            return (k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-1lU(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("include_state_checkbox")));
        }
        private function _-3gL(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("include_rotation_checkbox")));
        }
        private function _-3PG(_arg1:IWindowContainer):ICheckBoxWindow
        {
            return (ICheckBoxWindow(_arg1.findChildByName("include_location_checkbox")));
        }
        private function _-4sN(_arg1:ICheckBoxWindow):int
        {
            return (((_arg1._-vX) ? 1 : 0));
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg._-2Ab

package _-3Kg
{
    import _-4dT._-1GI;

    public class _-2Ab extends _-1GI implements _-kO 
    {

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg._-35K

package _-3Kg
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-35K extends _-2Ab 
    {

        override public function get code():int
        {
            return (_-0pF._-0GD);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-2JR);
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg._-4BI

package _-3Kg
{
    import _-4dT._-lc;
    import _-OR._-37B;
    import _-OR.Triggerable;
    import _-4dT.*;

    public class _-4BI implements _-2qQ 
    {

        private var _-4vT:Array;

        public function _-4BI()
        {
            this._-4vT = new Array();
            super();
            this._-4vT.push(new _-ob());
            this._-4vT.push(new _-5EN());
            this._-4vT.push(new _-1Jm());
            this._-4vT.push(new TimeElapsedMore());
            this._-4vT.push(new TimeElapsedLess());
            this._-4vT.push(new UserCountIn());
            this._-4vT.push(new ActorIsInTeam());
            this._-4vT.push(new HasStackedFurnis());
            this._-4vT.push(new _-35K());
            this._-4vT.push(new StuffsInFormation());
            this._-4vT.push(new _-vF());
        }
        public function get _-4u1():Array
        {
            return (this._-4vT);
        }
        public function _-2Jx(_arg1:int):_-kO
        {
            var k:_-kO;
            for each (k in this._-4vT)
            {
                if (k.code == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-1xE(_arg1:int):_-lc
        {
            return (this._-2Jx(_arg1));
        }
        public function _-rc(_arg1:Triggerable):Boolean
        {
            return (!(((_arg1 as _-37B) == null)));
        }
        public function getKey():String
        {
            return ("condition");
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg._-5EN

package _-3Kg
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-5EN extends _-2Ab 
    {

        override public function get code():int
        {
            return (_-0pF._-383);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-3je);
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg._-kO

package _-3Kg
{
    import _-4dT.*;

    public interface _-kO extends _-lc 
    {

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg._-ob

package _-3Kg
{
    import _-4dT.UserDefinedRoomEventsCtrl;

    public class _-ob extends _-2Ab 
    {

        override public function get code():int
        {
            return (_-0pF._-m9);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-3je);
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg._-vF

package _-3Kg
{
    public class _-vF extends _-2Ab 
    {

        override public function get code():int
        {
            return (_-0pF._-3FQ);
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg.ActorIsInTeam

package _-3Kg
{
    import _-Ew.IWindowContainer;
    import _-OR.Triggerable;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class ActorIsInTeam extends _-2Ab 
    {

        override public function get code():int
        {
            return (_-0pF._-eu);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            this._-30z(_arg1).setSelected(this._-rS(_arg1, k));
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-30z(_arg1)._-WM().id);
            return (k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-rS(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("team_" + _arg2) + "_radio"))));
        }
        private function _-30z(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("team_selector")));
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg.HasStackedFurnis

package _-3Kg
{
    import _-4dT.UserDefinedRoomEventsCtrl;
    import _-Ew.IWindowContainer;
    import _-OR.Triggerable;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class HasStackedFurnis extends _-2Ab 
    {

        override public function get code():int
        {
            return (_-0pF._-2yy);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-3je);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-3ur(_arg1)._-WM().id);
            return (k);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            this._-3ur(_arg1).setSelected(this._-00F(_arg1, k));
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-00F(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("eval_" + _arg2) + "_radio"))));
        }
        private function _-3ur(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("eval_selector")));
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg.StuffsInFormation

package _-3Kg
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-4dT.UserDefinedRoomEventsCtrl;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.ISelectorWindow;

    public class StuffsInFormation extends _-2Ab 
    {

        private var _-07:_-5i;
        private var _-4y9:_-4Vz;

        override public function get code():int
        {
            return (_-0pF._-1uc);
        }
        override public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-3je);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(int(this._-4y9.getValue()));
            k.push(this._-4G8(_arg1)._-WM().id);
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-4y9 = new _-4Vz(_arg2, this._-gj(_arg1), _arg2.assets, 2, 10, 1);
            this._-4y9._-4R2(3);
            this._-4y9.addEventListener(Event.CHANGE, this._-2u4);
            _arg2.refreshButton(_arg1, "move_diag", true, null, 0);
            _arg2.refreshButton(_arg1, "move_vrt", true, null, 0);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            this._-4y9._-4R2(_arg2._-2Hj[0]);
            var k:int = _arg2._-2Hj[1];
            this._-4G8(_arg1).setSelected(this._-vR(_arg1, k));
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("slider_container") as IWindowContainer));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    this._-07.localization.registerParameter("wiredfurni.params.requiredformationsize", "furnis", ("" + k));
                };
            };
        }
        private function _-vR(_arg1:IWindowContainer, _arg2:int):IRadioButtonWindow
        {
            return (IRadioButtonWindow(_arg1.findChildByName((("formation_" + _arg2) + "_radio"))));
        }
        private function _-4G8(_arg1:IWindowContainer):ISelectorWindow
        {
            return (ISelectorWindow(_arg1.findChildByName("formation_selector")));
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg.TimeElapsedLess

package _-3Kg
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;
    import _-1g9.TriggerOnce;
    import _-1g9.*;

    public class TimeElapsedLess extends _-2Ab 
    {

        private var _-07:_-5i;
        private var _-4y9:_-4Vz;

        override public function get code():int
        {
            return (_-0pF._-3Sf);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            var k:int = this._-4y9.getValue();
            k.push((k + 1));
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-4y9 = new _-4Vz(_arg2, this._-gj(_arg1), _arg2.assets, 1, 1200, 1);
            this._-4y9._-4R2(1);
            this._-4y9.addEventListener(Event.CHANGE, this._-2u4);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = (_arg2._-2Hj[0] - 1);
            this._-4y9._-4R2(k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("slider_container") as IWindowContainer));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            var k:String;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    k = TriggerOnce._-4Et(k);
                    this._-07.localization.registerParameter("wiredfurni.params.allowbefore", "seconds", k);
                };
            };
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg.TimeElapsedMore

package _-3Kg
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;
    import _-1g9.TriggerOnce;
    import _-1g9.*;

    public class TimeElapsedMore extends _-2Ab 
    {

        private var _-07:_-5i;
        private var _-4y9:_-4Vz;

        override public function get code():int
        {
            return (_-0pF._-3Yd);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            var k:int = this._-4y9.getValue();
            k.push((k + 1));
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-4y9 = new _-4Vz(_arg2, this._-gj(_arg1), _arg2.assets, 1, 1200, 1);
            this._-4y9._-4R2(1);
            this._-4y9.addEventListener(Event.CHANGE, this._-2u4);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = (_arg2._-2Hj[0] - 1);
            this._-4y9._-4R2(k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-gj(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("slider_container") as IWindowContainer));
        }
        private function _-2u4(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            var k:String;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    k = TriggerOnce._-4Et(k);
                    this._-07.localization.registerParameter("wiredfurni.params.allowafter", "seconds", k);
                };
            };
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3Kg.UserCountIn

package _-3Kg
{
    import _-0jG._-5i;
    import _-3fF._-4Vz;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-OR.Triggerable;

    public class UserCountIn extends _-2Ab 
    {

        private var _-07:_-5i;
        private var _-AD:_-4Vz;
        private var _-1Dz:_-4Vz;

        override public function get code():int
        {
            return (_-0pF._-0hb);
        }
        override public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            var k:Array = new Array();
            k.push(this._-AD.getValue());
            k.push(this._-1Dz.getValue());
            return (k);
        }
        override public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
            this._-07 = _arg2;
            this._-AD = new _-4Vz(_arg2, this._-2C6(_arg1), _arg2.assets, 1, 50, 1);
            this._-AD.addEventListener(Event.CHANGE, this._-Mz);
            this._-AD._-4R2(1);
            this._-1Dz = new _-4Vz(_arg2, this._-2V9(_arg1), _arg2.assets, 1, 50, 1);
            this._-1Dz.addEventListener(Event.CHANGE, this._-2jX);
            this._-1Dz._-4R2(50);
        }
        override public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
            var k:int = _arg2._-2Hj[0];
            var k:int = _arg2._-2Hj[1];
            this._-AD._-4R2(k);
            this._-1Dz._-4R2(k);
        }
        override public function get hasSpecialInputs():Boolean
        {
            return (true);
        }
        private function _-2C6(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("min_slider_container") as IWindowContainer));
        }
        private function _-2V9(_arg1:IWindowContainer):IWindowContainer
        {
            return ((_arg1.findChildByName("max_slider_container") as IWindowContainer));
        }
        private function _-Mz(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    this._-07.localization.registerParameter("wiredfurni.params.usercountmin", "value", ("" + k));
                };
            };
        }
        private function _-2jX(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    this._-07.localization.registerParameter("wiredfurni.params.usercountmax", "value", ("" + k));
                };
            };
        }

    }
}//package _-3Kg

//------------------------------------------------------------
//_-3ly._-0ie

package _-3ly
{
    import flash.events.Event;

    public class _-0ie extends Event 
    {

        public static const _-0t0:String = "FBE_REQUESTS";

        public function _-0ie()
        {
            super(_-0t0, false, false);
        }
    }
}//package _-3ly

//------------------------------------------------------------
//_-3ly._-0RA

package _-3ly
{
    import flash.events.Event;

    public class _-0RA extends Event 
    {

        public static const _-15R:String = "FBE_UPDATED";

        public function _-0RA()
        {
            super(_-15R, false, false);
        }
    }
}//package _-3ly

//------------------------------------------------------------
//_-3ly._-1Wo

package _-3ly
{
    import flash.events.Event;

    public class _-1Wo extends Event 
    {

        public static const _-45i:String = "FIND_FRIENDS_RESULT";

        private var _-2cn:Boolean;

        public function _-1Wo(_arg1:Boolean)
        {
            this._-2cn = _arg1;
            super(_-45i);
        }
        public function get success():Boolean
        {
            return (this._-2cn);
        }

    }
}//package _-3ly

//------------------------------------------------------------
//_-3ly._-3a3

package _-3ly
{
    import flash.events.Event;
    import _-4yS._-1D2;

    public class _-3a3 extends Event 
    {

        public static const _-01Z:String = "FBE_NOTIFICATION_EVENT";

        public var friendId:int;
        public var notification:_-1D2;

        public function _-3a3(_arg1:int, _arg2:_-1D2)
        {
            super(_-01Z);
            this.friendId = _arg1;
            this.notification = _arg2;
        }
    }
}//package _-3ly

//------------------------------------------------------------
//_-3ly._-45I

package _-3ly
{
    import flash.events.Event;

    public class _-45I extends Event 
    {

        public static const _-Mm:String = "FBE_MESSAGE";

        public var notify:Boolean;
        public var _-2ej:int;

        public function _-45I(_arg1:Boolean, _arg2:int)
        {
            super(_-Mm, false, false);
            this.notify = _arg1;
            this._-2ej = _arg2;
        }
    }
}//package _-3ly

//------------------------------------------------------------
//_-3ly._-iO

package _-3ly
{
    import flash.events.Event;

    public class _-iO extends Event 
    {

        public static const _-059:String = "FBVE_FRIEND_SELECTED";

        private var _-10d:int;
        private var _-0Wf:String;

        public function _-iO(_arg1:int, _arg2:String)
        {
            super(_-059);
            this._-10d = _arg1;
            this._-0Wf = _arg2;
        }
        public function get friendId():int
        {
            return (this._-10d);
        }
        public function get friendName():String
        {
            return (this._-0Wf);
        }

    }
}//package _-3ly

//------------------------------------------------------------
//_-3M2._-3qr

package _-3M2
{
    public class _-3qr 
    {

        public static const _-3dr:int = 0;
        public static const _-3Z3:int = 1;
        public static const _-55K:int = 2;

    }
}//package _-3M2

//------------------------------------------------------------
//_-3MI._-0Sy

package _-3MI
{
    import flash.events.Event;

    public class _-0Sy extends Event 
    {

        public static const _-40N:String = "HTE_TOOLBAR_CLICK";
        public static const _-2B8:String = "HTE_GROUP_ROOM_INFO_CLICK";
        public static const _-37m:String = "HTIE_ICON_ZOOM";
        public static const _-Wv:String = "HTE_RESIZED";
        public static const _-4EP:String = "HTE_ICON_CAMERA";

        private var _-S4:String;
        private var _-3kR:String;

        public function _-0Sy(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
        public function set _-1wJ(_arg1:String):void
        {
            this._-S4 = _arg1;
        }
        public function get _-1wJ():String
        {
            return (this._-S4);
        }
        public function set _-1wc(_arg1:String):void
        {
            this._-3kR = _arg1;
        }
        public function get _-1wc():String
        {
            return (this._-3kR);
        }

    }
}//package _-3MI

//------------------------------------------------------------
//_-3MI._-3mp

package _-3MI
{
    import flash.events.Event;

    public class _-3mp extends Event 
    {

        public static const _-2Ft:String = "EVE_EXTENSION_VIEW_RESIZED";

        public function _-3mp(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-3MI

//------------------------------------------------------------
//_-3Mo._-0QC

package _-3Mo
{
    import _-Ew.IWindowContainer;

    public interface _-0QC 
    {

        function init(_arg1:_-4tq, _arg2:String):void;
        function dispose():void;
        function get window():IWindowContainer;
        function _-1qF(_arg1:String, _arg2:int):void;

    }
}//package _-3Mo

//------------------------------------------------------------
//_-3Mo._-1Xx

package _-3Mo
{
    import _-Ew.IWindowContainer;
    import _-295._-243;
    import flash.external.ExternalInterface;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-11j;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-1Xx implements _-0QC 
    {

        private var _-0dg:_-4tq;
        private var _-0xv:IWindowContainer;

        public function init(_arg1:_-4tq, _arg2:String):void
        {
            this._-0dg = _arg1;
            this.createWindow(_arg2);
        }
        public function dispose():void
        {
            this._-0dg = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        private function createWindow(_arg1:String):void
        {
            var k:_-243 = (this._-0dg.assets.getAssetByName("memenu_settings_menu") as _-243);
            if (k)
            {
                this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            };
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct settings window from XML!"));
            };
            this._-0xv.name = _arg1;
            this._-0xv.procedure = this._-3go;
            if (((!(ExternalInterface.available)) || (!((this._-0dg.config.getKey("has.identity") == "1")))))
            {
                this._-0xv.findChildByName("character_settings").disable();
            }
            else
            {
                this._-0xv.findChildByName("identity_text").visible = false;
            };
        }
        private function _-3go(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "character_settings":
                    _-11j._-25R("avatars");
                    this._-0dg.hide();
                    return;
                case "sound_settings":
                    this._-0dg.changeView(_-4tq._-WN);
                    return;
                case "back":
                    this._-0dg.changeView(_-4tq._-4bI);
                    return;
            };
        }
        public function _-1qF(_arg1:String, _arg2:int):void
        {
        }

    }
}//package _-3Mo

//------------------------------------------------------------
//_-3Mo._-26z

package _-3Mo
{
    import flash.display.BitmapData;

    public interface _-26z 
    {

        function get _-1p6():int;
        function get type():int;
        function get _-51V():int;
        function get duration():int;
        function get _-3Cm():Boolean;
        function get _-1V2():Boolean;
        function get icon():BitmapData;

    }
}//package _-3Mo

//------------------------------------------------------------
//_-3Mo._-4tq

package _-3Mo
{
    import _-FP._-2ul;
    import flash.geom.Point;
    import _-Ew.IWindowContainer;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import flash.external.ExternalInterface;
    import _-4f7.MeMenuWidgetHandler;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-Ew.IWindow;
    import _-295._-2kE;
    import flash.events.Event;
    import _-0Ns._-0sY;
    import _-1Sy._-1Ns;
    import flash.geom.Rectangle;
    import _-og._-1ji;
    import _-og._-2wl;
    import _-og._-Ve;
    import _-og._-9m;
    import _-og._-0Uz;
    import _-og._-KP;
    import _-og._-4Iz;
    import _-og._-0t9;
    import _-og._-08b;
    import _-og._-2yo;
    import _-og._-4yE;
    import _-og._-B1;
    import _-og._-3Aa;
    import _-1FD._-2CC;
    import _-1FD._-2H1;
    import _-2ly._-F-;

    public class _-4tq extends _-2ul 
    {

        public static const _-4bI:String = "me_menu_top_view";
        public static const _-3cS:String = "me_menu_my_clothes_view";
        public static const _-1xQ:String = "me_menu_dance_moves_view";
        public static const _-4ks:String = "me_menu_settings_view";
        public static const _-WN:String = "me_menu_sound_settings";
        private static const _-21h:Point = new Point(95, 440);

        private var _-0Dd:_-0QC;
        private var _-362:IWindowContainer;
        private var _eventDispatcher:IEventDispatcher;
        private var _-00L:int = 0;
        private var _-4th:int = 0;
        private var _-1IQ:int = 0;
        private var _-271:Boolean = false;
        private var _-24-:int = 0;
        private var _-1xk:Boolean = false;
        private var _-0xV:Boolean = false;
        private var _-2UT:Boolean = false;
        private var _-2TV:Boolean = false;
        private var _-3t8:int = 0;
        private var _-270:Boolean = false;
        private var _-0Xx:_-4uR;
        private var _-4wz:Boolean;
        private var _-4lu:int;

        public function _-4tq(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:IEventDispatcher, _arg6:_-4uR)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-0Xx = _arg6;
            this._eventDispatcher = _arg5;
            if (ExternalInterface.available)
            {
                this._-2TV = _arg6.getBoolean("client.minimail.embed.enabled", true);
            };
            this._-4wz = this._-0Xx.getBoolean("menu.own_avatar.enabled", false);
            (_arg1 as MeMenuWidgetHandler).widget = this;
            this.changeView(_-4bI);
            this.hide();
        }
        override public function dispose():void
        {
            if (disposed)
            {
                return;
            };
            this.hide();
            this._eventDispatcher = null;
            if (this._-0Dd != null)
            {
                this._-0Dd.dispose();
                this._-0Dd = null;
            };
            this._-362 = null;
            this._-0Xx = null;
            super.dispose();
        }
        public function get handler():MeMenuWidgetHandler
        {
            return ((_-0nf as MeMenuWidgetHandler));
        }
        override public function get mainWindow():IWindow
        {
            return (this._-362);
        }
        private function get mainContainer():IWindowContainer
        {
            var k:_-2kE;
            if (this._-362 == null)
            {
                k = _assets.getAssetByName("memenu");
                if (k)
                {
                    this._-362 = (windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
                };
            };
            if (this._-362)
            {
                return ((this._-362.findChildByTag("MAIN_CONTENT") as IWindowContainer));
            };
            return (null);
        }
        public function changeView(_arg1:String):void
        {
            var k:_-0QC;
            switch (_arg1)
            {
                case _-4bI:
                    k = new MeMenuMainView();
                    this._eventDispatcher.dispatchEvent(new Event(_-0sY.HABBO_MEMENU_TRACKING_EVENT_DEFAULT));
                    break;
                case _-1xQ:
                    k = new MeMenuDanceView();
                    this._eventDispatcher.dispatchEvent(new Event(_-0sY.HABBO_MEMENU_TRACKING_EVENT_DANCE));
                    break;
                case _-4ks:
                    k = new _-1Xx();
                    break;
                case _-WN:
                    k = new _-1Ns();
                    break;
                default:
                    _-Nb.log(("Me Menu Change view: unknown view: " + _arg1));
            };
            if (k != null)
            {
                if (this._-0Dd)
                {
                    this._-0Dd.dispose();
                    this._-0Dd = null;
                };
                this._-0Dd = k;
                this._-0Dd.init(this, _arg1);
                this.mainContainer.removeChildAt(0);
                this.mainContainer.addChildAt(this._-0Dd.window, 0);
                this._-362.visible = true;
                this._-362.activate();
            };
            this._-3T8();
        }
        public function _-3T8():void
        {
            var k:int;
            var k:Rectangle;
            if (((((this._-0Dd) && (this._-0Dd.window))) && (this._-362)))
            {
                k = 5;
                this._-0Dd.window.position = new Point(k, k);
                this.mainContainer.width = (this._-0Dd.window.width + (k * 2));
                this.mainContainer.height = (this._-0Dd.window.height + (k * 2));
                if (((((((this._-0Xx.getBoolean("simple.memenu.enabled", false)) && (this.handler))) && (this.handler.container))) && (this.handler.container.toolbar)))
                {
                    k = this.handler.container.toolbar.getRect();
                    this._-362.x = (k.right + k);
                    this._-362.y = (k.bottom - this._-362.height);
                }
                else
                {
                    this._-362.x = _-21h.x;
                    this._-362.y = (_-21h.y - this.mainContainer.height);
                };
            };
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-1ji._-58d, this._-3O1);
            _arg1.addEventListener(_-1ji._-43u, this._-3O1);
            _arg1.addEventListener(_-2wl._-4Xh, this._-1-g);
            _arg1.addEventListener(_-Ve._-0lg, this._-2NI);
            _arg1.addEventListener(_-9m._-2Mz, this._-1f3);
            _arg1.addEventListener(_-0Uz._-3vo, this._-3KQ);
            _arg1.addEventListener(_-KP._-4Zi, this._-4X7);
            _arg1.addEventListener(_-KP._-1rj, this._-0g5);
            _arg1.addEventListener(_-4Iz._-wH, this._-3VG);
            _arg1.addEventListener(_-0t9._-1b2, this._-4ww);
            _arg1.addEventListener(_-08b._-4v8, this._-3y);
            _arg1.addEventListener(_-2yo._-bj, this._-0Ur);
            _arg1.addEventListener(_-4yE._-Zd, this._-3dt);
            _arg1.addEventListener(_-4yE._-1cg, this._-3dt);
            _arg1.addEventListener(_-B1._-3-q, this._-3C-);
            _arg1.addEventListener(_-3Aa._-2eP, this._-1LQ);
            _arg1.addEventListener(_-3Aa._-2lA, this._-3pO);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-2wl._-4Xh, this._-1-g);
            _arg1.removeEventListener(_-Ve._-0lg, this._-2NI);
            _arg1.removeEventListener(_-9m._-2Mz, this._-1f3);
            _arg1.removeEventListener(_-0Uz._-3vo, this._-3KQ);
            _arg1.removeEventListener(_-4Iz._-wH, this._-3VG);
            _arg1.removeEventListener(_-0t9._-1b2, this._-4ww);
            _arg1.removeEventListener(_-KP._-4Zi, this._-0g5);
            _arg1.removeEventListener(_-KP._-1rj, this._-4X7);
            _arg1.removeEventListener(_-08b._-4v8, this._-3y);
            _arg1.removeEventListener(_-2yo._-bj, this._-0Ur);
            _arg1.removeEventListener(_-4yE._-1cg, this._-3dt);
            _arg1.removeEventListener(_-4yE._-Zd, this._-3dt);
            _arg1.removeEventListener(_-B1._-3-q, this._-3C-);
            _arg1.removeEventListener(_-3Aa._-2eP, this._-1LQ);
            _arg1.removeEventListener(_-3Aa._-2eP, this._-3pO);
        }
        public function hide(_arg1:_-4Iz=null):void
        {
            if (this._-0Dd != null)
            {
                this._-362.removeChild(this._-0Dd.window);
                this._-0Dd.dispose();
                this._-0Dd = null;
            };
            this._-362.visible = false;
            this._-2UT = false;
            this._eventDispatcher.dispatchEvent(new Event(_-0sY.HABBO_MEMENU_TRACKING_EVENT_CLOSE));
        }
        private function _-3y(_arg1:_-08b):void
        {
            var _local2:_-2CC;
            this._-4lu = _arg1._-2-w;
            if (this._-4wz)
            {
                return;
            };
            if (!((this._-2UT) && ((this._-0Dd.window.name == _-3cS))))
            {
                _local2 = new _-2CC(_-2CC._-34H);
                if (messageListener != null)
                {
                    if (!this._-270)
                    {
                        messageListener.processWidgetMessage(_local2);
                    };
                };
            };
        }
        private function _-0Ur(_arg1:_-2yo):void
        {
            if (!this._-2UT)
            {
                return;
            };
            if (this._-0Dd.window.name == _-WN)
            {
                (this._-0Dd as _-1Ns)._-01t(_arg1);
            };
        }
        private function _-3dt(_arg1:_-4yE):void
        {
            switch (_arg1.type)
            {
                case _-4yE._-1cg:
                    _-Nb.log(((("* MeMenuWidget: onHighlightClothesIcon " + this._-2UT) + " view: ") + this._-0Dd.window.name));
                    if (((!((this._-2UT == true))) || (!((this._-0Dd.window.name == _-4bI)))))
                    {
                        return;
                    };
                    (this._-0Dd as MeMenuMainView)._-0an("clothes_icon", _-4bI, "clothes_highlighter_blue");
                    return;
                case _-4yE._-Zd:
                    this.hide();
                    return;
            };
        }
        private function _-3KQ(_arg1:_-0Uz):void
        {
            var k:_-2H1;
            if (this._-2UT)
            {
                if (((!((this._-362 == null))) && (_-F-._-32W(this._-362))))
                {
                    this._-362.activate();
                    return;
                };
                this._-2UT = false;
            }
            else
            {
                this._-2UT = true;
            };
            if (this._-2UT)
            {
                k = new _-2H1(_-2H1._-0q);
                if (messageListener != null)
                {
                    messageListener.processWidgetMessage(k);
                };
                this.changeView(_-4bI);
            }
            else
            {
                this.hide();
            };
        }
        private function _-1f3(_arg1:_-9m):void
        {
            var k:_-26z;
            this._-1xk = false;
            for each (k in _arg1.effects)
            {
                if (k._-1V2)
                {
                    this._-1xk = true;
                };
            };
        }
        private function _-3VG(_arg1:Event):void
        {
            if (((!((this._-0Dd == null))) && (!((this._-0Dd.window.name == _-3cS)))))
            {
                this.hide();
            };
        }
        private function _-4X7(_arg1:_-KP):void
        {
            if (((!((this._-0Dd == null))) && ((this._-0Dd.window.name == _-3cS))))
            {
                this.changeView(_-4bI);
            };
        }
        private function _-0g5(_arg1:_-KP):void
        {
            if (((!((this._-0Dd == null))) && ((this._-0Dd.window.name == _-3cS))))
            {
                this.changeView(_-4bI);
            };
        }
        private function _-1-g(_arg1:_-2wl):void
        {
            _-Nb.log("[MeMenuWidget] Wave Event received");
        }
        private function _-3O1(_arg1:_-1ji):void
        {
            if (this._-0Dd)
            {
                this._-0Dd._-1qF(MeMenuMainView._-464, this.handler.container.messenger.getUnseenMiniMailMessageCount());
            };
        }
        private function _-2NI(_arg1:_-Ve):void
        {
            _-Nb.log(("[MeMenuWidget] Dance Event received, style: " + _arg1.style));
        }
        private function _-4ww(_arg1:_-0t9):void
        {
            var k = !((_arg1._-44q == this._-00L));
            this._-00L = _arg1._-44q;
            this._-4th = _arg1._-2BH;
            this._-1IQ = _arg1._-4iy;
            this._-271 = _arg1._-3Wa;
            k = ((k) || (!((_arg1.clubLevel == this._-24-))));
            this._-24- = _arg1.clubLevel;
            if (k)
            {
                if (this._-0Dd != null)
                {
                    this.changeView(this._-0Dd.window.name);
                };
            };
        }
        private function _-3C-(_arg1:_-B1):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-3t8 = _arg1.balance;
            localizations.registerParameter("widget.memenu.credits", "credits", this._-3t8.toString());
        }
        private function _-1LQ(_arg1:_-3Aa):void
        {
            this._-270 = false;
        }
        private function _-3pO(_arg1:_-3Aa):void
        {
            this._-270 = true;
        }
        public function get _-0R7():Boolean
        {
            return (this._-271);
        }
        public function get _-1BP():Boolean
        {
            return ((this._-00L > 0));
        }
        public function get _-0pU():int
        {
            return (this._-00L);
        }
        public function get _-2ie():int
        {
            return (this._-4th);
        }
        public function get _-3Ou():int
        {
            return (this._-24-);
        }
        public function get _-4rV():Boolean
        {
            return (this._-2TV);
        }
        public function get config():_-4uR
        {
            return (this._-0Xx);
        }
        public function get _-52s():Boolean
        {
            return (this._-1xk);
        }
        public function get _-4l0():Boolean
        {
            return (this._-0xV);
        }
        public function set _-4l0(_arg1:Boolean):void
        {
            this._-0xV = _arg1;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-4QW():int
        {
            return (this.handler.container.messenger.getUnseenMiniMailMessageCount());
        }

    }
}//package _-3Mo

//------------------------------------------------------------
//_-3Mo.MeMenuDanceView

package _-3Mo
{
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-3X1;
    import _-2gz.HabboTracking;

    public class MeMenuDanceView implements _-0QC 
    {

        private var _-0dg:_-4tq;
        private var _-0xv:IWindowContainer;

        public function init(_arg1:_-4tq, _arg2:String):void
        {
            this._-0dg = _arg1;
            this.createWindow(_arg2);
        }
        public function dispose():void
        {
            this._-0dg = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        private function createWindow(_arg1:String):void
        {
            var k:IItemListWindow;
            var k:_-243;
            var k:int;
            var k:Boolean;
            var k:IWindow;
            var k:_-243 = (this._-0dg.assets.getAssetByName("memenu_dance") as _-243);
            if (k)
            {
                this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            };
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct dance view window from XML!"));
            };
            this._-0xv.name = _arg1;
            var k:Array = [];
            k.push(this._-0xv.findChildByName("stop_dancing_button"));
            k.push(this._-0xv.findChildByName("back_btn"));
            for each (k in k)
            {
                if (k == null)
                {
                }
                else
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-435);
                };
            };
            k = (this._-0xv.findChildByName("buttonContainer") as IItemListWindow);
            k = (this._-0dg.assets.getAssetByName("memenu_dance_button") as _-243);
            if (k != null)
            {
                k = 1;
                while (k <= 4)
                {
                    k = false;
                    if (_-3X1._-Zu.indexOf(k) >= 0)
                    {
                        k = this._-0dg._-0R7;
                    }
                    else
                    {
                        k = true;
                    };
                    if (k)
                    {
                        k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindow);
                        k.name = (("dance_" + k) + "_button");
                        k.caption = (("${widget.memenu.dance" + k) + "}");
                        k.addEventListener(WindowMouseEvent._-90, this._-435);
                        k._-kE(k, (k.numListItems - 1));
                        if (this._-0dg._-52s)
                        {
                            k.disable();
                        }
                        else
                        {
                            k.enable();
                        };
                    };
                    k++;
                };
            };
            var k:IWindow = this._-0xv.findChildByName("club_info");
            if (((!((k == null))) && (this._-0dg._-1BP)))
            {
                k.visible = false;
            };
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            var k:String;
            var _local4:Array;
            var _local5:int;
            var k:IWindow = (_arg1.target as IWindow);
            k = k.name;
            switch (k)
            {
                case "dance_1_button":
                case "dance_2_button":
                case "dance_3_button":
                case "dance_4_button":
                    _local4 = k.split("_");
                    _local5 = parseInt(_local4[1]);
                    this._-0dg.messageListener.processWidgetMessage(new _-3X1(_local5));
                    this._-0dg._-4l0 = true;
                    this._-0dg.hide();
                    HabboTracking._-0ON().trackEventLog("MeMenu", "click", "dance_start");
                    return;
                case "stop_dancing_button":
                    this._-0dg.messageListener.processWidgetMessage(new _-3X1(_-3X1._-1qH));
                    this._-0dg._-4l0 = false;
                    this._-0dg.hide();
                    HabboTracking._-0ON().trackEventLog("MeMenu", "click", "dance_stop");
                    return;
                case "back_btn":
                    this._-0dg.changeView(_-4tq._-4bI);
                    return;
                default:
                    _-Nb.log(("Me Menu Dance View: unknown button: " + k));
            };
        }
        public function _-1qF(_arg1:String, _arg2:int):void
        {
        }

    }
}//package _-3Mo

//------------------------------------------------------------
//_-3Mo.MeMenuMainView

package _-3Mo
{
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import _-1Jk._-3nT;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-2YR._-4Tn;
    import _-1Jd._-1ij;
    import _-0Ie.WindowMouseEvent;
    import _-2vN._-0QE;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-2HX._-uu;
    import _-1FD._-3X1;
    import _-1FD._-25a;
    import _-1FD._-2CC;
    import _-1FD._-28e;
    import _-1FD._-4Ty;
    import _-1FD._-2pd;
    import _-1FD._-2Nv;
    import _-2ly._-11j;
    import _-1FD._-4jZ;
    import _-2Pt._-2yb;
    import _-2gz.HabboTracking;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-35T.PerkAllowancesMessageParser;

    public class MeMenuMainView implements _-0QC 
    {

        public static const _-464:String = "minimail";

        private var _-0dg:_-4tq;
        private var _-0xv:IWindowContainer;
        private var _-4u2:Dictionary;
        private var _-gX:_-3nT;

        public function init(_arg1:_-4tq, _arg2:String):void
        {
            this._-4u2 = new Dictionary();
            this._-4u2["rooms_icon"] = ["gohome_white", "gohome_color"];
            this._-4u2["dance_icon"] = ["dance_white", "dance_color"];
            this._-4u2["clothes_icon"] = ["clothes_white", "clothes_color"];
            this._-4u2["effects_icon"] = ["effects_white", "effects_color"];
            this._-4u2["badges_icon"] = ["badges_white", "badges_color"];
            this._-4u2["wave_icon"] = ["wave_white", "wave_color"];
            this._-4u2["hc_icon"] = ["_white", "_color"];
            this._-4u2["settings_icon"] = ["settings_white", "settings_color"];
            this._-4u2["credits_icon"] = ["credits_white", "credits_color"];
            this._-4u2["minimail_icon"] = ["minimail_white", "minimail_color"];
            this._-4u2["profile_icon"] = ["profile_white", "profile_color"];
            this._-4u2["achievements_icon"] = ["achievements_white", "achievements_color"];
            this._-4u2["talents_icon"] = ["compass_white", "compass_color"];
            this._-4u2["guide_icon"] = ["lighthouse_white", "lighthouse_color"];
            this._-0dg = _arg1;
            this._-gX = new _-3nT(this._-0rM);
            this._-0dg.handler.container.connection.addMessageEvent(this._-gX);
            this.createWindow(_arg2);
        }
        public function dispose():void
        {
            if (this._-gX)
            {
                this._-0dg.handler.container.connection.removeMessageEvent(this._-gX);
                this._-gX = null;
            };
            this._-0dg = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function _-0an(_arg1:String, _arg2:String, _arg3:String=null, _arg4:String=null):void
        {
            if (this._-4u2[_arg1] == null)
            {
                return;
            };
            if (_arg3 != null)
            {
                this._-4u2[_arg1][0] = _arg3;
            };
            if (_arg4 != null)
            {
                this._-4u2[_arg1][1] = _arg4;
            };
            this._-qb(_arg1, _arg3);
        }
        private function createWindow(_arg1:String):void
        {
            var k:String;
            var k:IWindow;
            var k:int;
            var k:Array;
            var k:String;
            var k:Number;
            var _local11:String;
            var _local12:int;
            if (this._-0dg == null)
            {
                return;
            };
            var k:String = "memenu_main";
            var k:Boolean;
            if (((this._-0dg.config.getBoolean("menu.own_avatar.enabled", false)) && (this._-0dg.config.getBoolean("simple.memenu.enabled", false))))
            {
                k = (k + "_simple");
                k = true;
            };
            var k:_-243 = (this._-0dg.assets.getAssetByName(k) as _-243);
            _-Nb.log(("Show window: " + k));
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct me menu main window from XML!"));
            };
            this._-0xv.name = _arg1;
            if (((!(this._-0dg.config.getBoolean("talent.track.enabled", false))) && (k)))
            {
                this._-0xv.findChildByName("guide").rectangle = this._-0xv.findChildByName("talents").rectangle;
                this._-0xv.findChildByName("talents").visible = false;
            };
            if (this._-0dg.config.getBoolean("guides.enabled", false))
            {
                this._-38z(this._-0dg.handler.container.sessionDataManager.isPerkAllowed(_-4Tn.USE_GUIDE_TOOL));
            };
            for (k in this._-4u2)
            {
                k = this._-4u2[k];
                if (!(((k == null)) || ((k.length == 0))))
                {
                    k = k[0];
                    k = 1;
                    switch (k)
                    {
                        case "dance_icon":
                        case "wave_icon":
                            if (this._-0dg._-52s)
                            {
                                k = 0.5;
                            };
                            break;
                        case "effects_icon":
                            if (this._-0dg._-4l0)
                            {
                                k = 0.5;
                            };
                            break;
                        case "hc_icon":
                            k = (this._-0zW() + k);
                            if (!this._-0dg._-1BP)
                            {
                                this._-4IT("hc_text", this._-0dg.localizations.getKey("widget.memenu.hc.join"));
                            }
                            else
                            {
                                if (this._-0dg._-3Ou == _-1ij._-1pk)
                                {
                                    _local11 = "widget.memenu.vip";
                                }
                                else
                                {
                                    _local11 = "widget.memenu.hc";
                                };
                                if (this._-0dg._-2ie > 0)
                                {
                                    _local11 = (_local11 + ".long");
                                };
                                this._-0dg.localizations.registerParameter(_local11, "days", String(this._-0dg._-0pU));
                                this._-0dg.localizations.registerParameter(_local11, "months", String(this._-0dg._-2ie));
                                this._-4IT("hc_text", this._-0dg.localizations.getKey(_local11));
                            };
                            break;
                        case "minimail_icon":
                            if (!this._-0dg._-4rV)
                            {
                                k = 0.5;
                            }
                            else
                            {
                                _local12 = this._-0dg._-4QW;
                                if ((((_local12 == -1)) || ((_local12 > 0))))
                                {
                                    this._-496("minimail", _local12);
                                };
                            };
                            break;
                    };
                    this._-qb(k, k, k);
                };
            };
            k = 0;
            while (k < this._-0xv.numChildren)
            {
                k = this._-0xv.getChildAt(k);
                k.addEventListener(WindowMouseEvent._-90, this._-435);
                k.addEventListener(WindowMouseEvent._-4ea, this._-2wi);
                k.addEventListener(WindowMouseEvent._-4e2, this._-2wi);
                k++;
            };
        }
        private function _-496(_arg1:String, _arg2:int):void
        {
            var k:IWindowContainer = (this._-0xv.findChildByName(_arg1) as IWindowContainer);
            var k:IWindowContainer = (k.findChildByName("unseen_counter") as IWindowContainer);
            if (_arg2 == 0)
            {
                if (k)
                {
                    k.removeChild(k);
                    k.invalidate();
                };
                return;
            };
            if (!k)
            {
                k = this._-0dg.windowManager.createUnseenItemCounter();
                k.name = "unseen_counter";
                k.addChild(k);
            };
            (k.findChildByName(_-0QE._-2E9) as ITextWindow).text = (((_arg2)>0) ? _arg2.toString() : " ");
            k.x = ((k.width - k.width) - 5);
            k.y = 5;
        }
        private function _-0zW():String
        {
            switch (this._-0dg._-3Ou)
            {
                case _-1ij._-42U:
                case _-1ij._-12G:
                    return ("club");
                case _-1ij._-1pk:
                    return ("vip");
            };
            return (null);
        }
        private function _-qb(_arg1:String, _arg2:String, _arg3:Number=1):void
        {
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg1) as IBitmapWrapperWindow);
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName(_arg2) as BitmapDataAsset);
            if (k == null)
            {
                _-Nb.log(("Could not find element: " + _arg1));
                return;
            };
            if ((((k == null)) || ((k.content == null))))
            {
                _-Nb.log(("Could not find asset: " + _arg2));
                return;
            };
            var k:BitmapData = (k.content as BitmapData);
            k.bitmap = new BitmapData(k.width, k.height, true, 0);
            var k:int = ((k.width - k.width) / 2);
            var k:int = ((k.height - k.height) / 2);
            k.bitmap.copyPixels(k, k.rect, new Point(k, k));
            k.blend = _arg3;
        }
        private function _-4IT(_arg1:String, _arg2:String):void
        {
            var k:ITextWindow = (this._-0xv.findChildByName(_arg1) as ITextWindow);
            if (k != null)
            {
                k.text = _arg2;
            };
        }
        private function _-435(_arg1:WindowMouseEvent):void
        {
            var _local4:_-uu;
            var _local5:Boolean;
            var _local6:String;
            var _local7:String;
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "dance":
                    if (this._-0dg._-52s)
                    {
                        return;
                    };
                    this._-0dg.changeView(_-4tq._-1xQ);
                    break;
                case "wave":
                case "blow":
                    if (this._-0dg._-52s)
                    {
                        return;
                    };
                    if (this._-0dg._-4l0)
                    {
                        this._-0dg.messageListener.processWidgetMessage(new _-3X1(_-3X1._-1qH));
                        this._-0dg._-4l0 = false;
                    };
                    _local4 = _-uu._-2xr;
                    if (k == "blow")
                    {
                        _local4 = _-uu._-28W;
                    };
                    this._-0dg.messageListener.processWidgetMessage(new _-25a(_local4));
                    this._-0dg.hide();
                    break;
                case "effects":
                    if (this._-0dg._-4l0)
                    {
                        return;
                    };
                    this._-0dg.messageListener.processWidgetMessage(new _-2CC(_-2CC._-34B));
                    this._-0dg.hide();
                    break;
                case "rooms":
                    this._-0dg.messageListener.processWidgetMessage(new _-28e());
                    this._-0dg.hide();
                    break;
                case "badges":
                    this._-0dg.messageListener.processWidgetMessage(new _-4Ty(_-4Ty._-4Ht));
                    this._-0dg.hide();
                    break;
                case "clothes":
                    this._-0dg.messageListener.processWidgetMessage(new _-2pd(_-2pd._-06H));
                    this._-0dg.hide();
                    break;
                case "hc":
                    this._-0dg.messageListener.processWidgetMessage(new _-2Nv(_-2Nv._-4tU));
                    this._-0dg.hide();
                    break;
                case "settings":
                    this._-0dg.changeView(_-4tq._-4ks);
                    break;
                case "minimail":
                    if (this._-0dg._-4rV)
                    {
                        _-11j._-25R("minimail", "#mail/inbox/");
                        this._-0dg.hide();
                    };
                    break;
                case "credits":
                    _local5 = (this._-0dg.config.getKey("client.credits.embed.enabled", "false") == "true");
                    if (_local5)
                    {
                        _-11j._-25R("credits");
                    }
                    else
                    {
                        _local7 = this._-0dg.config.getKey("link.format.credits", "/credits");
                        _-11j.navigateToURL(_local7, "habboMain");
                        this._-0dg.windowManager.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-3Vv);
                    };
                    this._-0dg.hide();
                    break;
                case "profile":
                    this._-0dg.messageListener.processWidgetMessage(new _-4jZ(_-4jZ._-3aE, this._-0dg.userId, "me_menu"));
                    this._-0dg.hide();
                    break;
                case "achievements":
                    this._-0dg.handler.container.questEngine.showAchievements();
                    this._-0dg.hide();
                    break;
                case "guide":
                    this._-0dg.handler.container.toolbar.toggleWindowVisibility("GUIDE");
                    this._-0dg.hide();
                    break;
                case "talents":
                    _local6 = this._-0dg.handler.container.sessionDataManager.currentTalentTrack;
                    this._-0dg.handler.container.habboTracking.trackTalentTrackOpen(_local6, "memenu");
                    this._-0dg.handler.container.connection.send(new _-2yb(_local6));
                    break;
                default:
                    _-Nb.log(("Me Menu Main View: unknown button: " + k));
            };
            HabboTracking._-0ON().trackEventLog("MeMenu", "click", k);
        }
        private function _-3Vv(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
        }
        private function _-2wi(_arg1:WindowMouseEvent):void
        {
            var k:Array;
            var k:String;
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            var k = (k + "_icon");
            var k:String = "";
            var k:int = (((_arg1.type == WindowMouseEvent._-4ea)) ? 1 : 0);
            switch (k)
            {
                case "dance":
                    if (this._-0dg._-52s)
                    {
                        return;
                    };
                    break;
                case "minimail":
                    if (!this._-0dg._-4rV)
                    {
                        return;
                    };
                    break;
                case "wave":
                    if (this._-0dg._-52s)
                    {
                        return;
                    };
                    break;
                case "effects":
                    if (this._-0dg._-4l0)
                    {
                        return;
                    };
                    break;
                case "hc":
                    k = this._-0zW();
                    break;
            };
            k = (k + "_icon");
            k = this._-4u2[k];
            if (k != null)
            {
                k = (k + k[k]);
                this._-qb(k, k);
            };
        }
        private function _-0rM(_arg1:_-3nT):void
        {
            var k:PerkAllowancesMessageParser = _arg1._-3-5();
            this._-38z(k.isPerkAllowed(_-4Tn.USE_GUIDE_TOOL));
        }
        private function _-38z(_arg1:Boolean):void
        {
            this._-0xv.findChildByName("guide").visible = _arg1;
            this._-0xv.height = ((_arg1) ? this._-0xv.findChildByName("guide").bottom : this._-0xv.findChildByName("achievements").bottom);
            this._-0dg._-3T8();
        }
        public function _-1qF(_arg1:String, _arg2:int):void
        {
            var _local3:int;
            switch (_arg1)
            {
                case _-464:
                    _local3 = this._-0dg._-4QW;
                    this._-496("minimail", _local3);
                    return;
            };
        }

    }
}//package _-3Mo

//------------------------------------------------------------
//_-3mW._-0fh

package _-3mW
{
    import _-1B-._-Px;
    import _-4Kb._-3nt;
    import _-18r.Map;
    import com.sulake.iid.IIDAvatarRenderManager;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-4rn._-H0;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-0gD.RoomVisualization;
    import _-1-o._-0sL;
    import _-1-o._-1JG;
    import _-1-o._-3m5;
    import _-0gD._-x7;
    import _-3aJ.AvatarVisualization;
    import _-4lJ.AnimatedPetVisualization;
    import _-1qL.FurnitureVisualization;
    import _-1qL._-0Rp;
    import _-1qL._-52K;
    import _-1qL._-1x9;
    import _-1qL._-1dI;
    import _-1qL._-5D3;
    import _-1qL._-2n8;
    import _-1qL.FurniturePlanetSystemVisualization;
    import _-1qL._-4Sr;
    import _-1qL.FurniturePartyBeamerVisualization;
    import _-1qL.FurnitureCuboidVisualization;
    import _-1qL._-3FU;
    import _-1qL._-A;
    import _-1qL.FurnitureWaterAreaVisualization;
    import _-1qL._-Tj;
    import _-1qL.FurnitureFireworksVisualization;
    import _-1qL._-qK;
    import _-1qL._-3fA;
    import _-1qL.FurnitureRoomBackgroundVisualization;
    import _-1qL._-01x;
    import _-1qL.FurnitureMannequinVisualization;
    import _-1qL._-1tO;
    import _-36-._-4np;
    import _-36-.SnowSplashVisualization;
    import _-1qL._-40A;
    import _-1qL._-yU;
    import _-1qL._-1iD;
    import _-4rn._-2Jg;
    import _-3aJ._-0MW;
    import _-4lJ.AnimatedPetVisualizationData;
    import _-1qL._-0qU;
    import _-1qL.FurnitureVisualizationData;
    import _-1qL.AnimatedFurnitureVisualizationData;
    import _-1-o.PublicRoomVisualizationData;
    import _-0gD.RoomVisualizationData;
    import _-022.GraphicAssetCollection;
    import _-022._-2KD;
    import _-3V-.*;

    public class _-0fh extends _-Px implements _-2CE 
    {

        private var _-3M8:_-3nt = null;
        private var _-2MK:Map;
        private var _-46e:Boolean = true;

        public function _-0fh(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-46e = (_arg2 == 0);
            this._-2MK = new Map();
            queueInterface(new IIDAvatarRenderManager(), this._-db);
        }
        override public function dispose():void
        {
            var k:_-H0;
            var k:int;
            super.dispose();
            if (this._-3M8 != null)
            {
                release(new IIDAvatarRenderManager());
                this._-3M8 = null;
            };
            if (this._-2MK != null)
            {
                k = null;
                k = 0;
                while (k < this._-2MK.length)
                {
                    k = (this._-2MK.getWithIndex(k) as _-H0);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-2MK.dispose();
                this._-2MK = null;
            };
        }
        private function _-db(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-3M8 = (_arg2 as _-3nt);
        }
        public function _-3ss(_arg1:String):_-2Jg
        {
            var k:Class;
            switch (_arg1)
            {
                case _-4Gs._-GI:
                    k = RoomVisualization;
                    break;
                case _-4Gs._-3I7:
                    k = _-0sL;
                    break;
                case _-4Gs._-1Zq:
                    k = _-1JG;
                    break;
                case _-4Gs._-3ks:
                    k = _-3m5;
                    break;
                case _-4Gs._-2u2:
                    k = _-x7;
                    break;
                case _-4Gs._-3rB:
                    k = AvatarVisualization;
                    break;
                case _-4Gs.BOT:
                case _-4Gs.RENTABLE_BOT:
                    k = AvatarVisualization;
                    break;
                case _-4Gs._-4u7:
                    k = AnimatedPetVisualization;
                    break;
                case _-4Gs._-kJ:
                    k = FurnitureVisualization;
                    break;
                case _-4Gs._-1In:
                    k = _-0Rp;
                    break;
                case _-4Gs._-3xq:
                    k = _-52K;
                    break;
                case _-4Gs._-2Co:
                    k = _-1x9;
                    break;
                case _-4Gs._-1pZ:
                    k = _-1dI;
                    break;
                case _-4Gs._-3Jv:
                    k = _-5D3;
                    break;
                case _-4Gs._-3Bg:
                    k = _-2n8;
                    break;
                case _-4Gs._-zp:
                    k = FurniturePlanetSystemVisualization;
                    break;
                case _-4Gs._-4Nn:
                    k = _-4Sr;
                    break;
                case _-4Gs._-5Bh:
                    k = FurniturePartyBeamerVisualization;
                    break;
                case _-4Gs._-23O:
                    k = FurnitureCuboidVisualization;
                    break;
                case _-4Gs._-Ju:
                    k = _-3FU;
                    break;
                case _-4Gs._-4qD:
                    k = _-A;
                    break;
                case _-4Gs._-4M8:
                    k = FurnitureWaterAreaVisualization;
                    break;
                case _-4Gs._-2v6:
                    k = _-Tj;
                    break;
                case _-4Gs._-4rD:
                    k = FurnitureFireworksVisualization;
                    break;
                case _-4Gs._-1Aa:
                    k = _-qK;
                    break;
                case _-4Gs._-3Kr:
                    k = _-3fA;
                    break;
                case _-4Gs._-6A:
                    k = FurnitureRoomBackgroundVisualization;
                    break;
                case _-4Gs._-3tE:
                    k = _-01x;
                    break;
                case _-4Gs._-3sZ:
                    k = FurnitureMannequinVisualization;
                    break;
                case _-4Gs._-4jO:
                    k = _-1tO;
                    break;
                case _-4Gs._-2ps:
                    k = _-4np;
                    break;
                case _-4Gs._-37l:
                    k = SnowSplashVisualization;
                    break;
                case _-4Gs._-1yt:
                    k = _-40A;
                    break;
                case _-4Gs._-1IB:
                    k = _-yU;
                    break;
                case _-4Gs._-vu:
                    k = _-1iD;
                    break;
            };
            if (k == null)
            {
                return (null);
            };
            var k:Object = new (k)();
            if ((k is _-2Jg))
            {
                return ((k as _-2Jg));
            };
            return (null);
        }
        public function _-1qn(_arg1:String, _arg2:String, _arg3:XML):_-H0
        {
            var k:_-H0;
            var k:_-0MW;
            var k:AnimatedPetVisualizationData;
            var k:_-0qU;
            var k:_-H0;
            k = (this._-2MK.getValue(_arg1) as _-H0);
            if (k != null)
            {
                return (k);
            };
            var k:Class;
            switch (_arg2)
            {
                case _-4Gs._-kJ:
                case _-4Gs._-Ju:
                case _-4Gs._-3Kr:
                case _-4Gs._-6A:
                case _-4Gs._-3tE:
                    k = FurnitureVisualizationData;
                    break;
                case _-4Gs._-1In:
                case _-4Gs._-3xq:
                case _-4Gs._-2Co:
                case _-4Gs._-1pZ:
                case _-4Gs._-3Jv:
                case _-4Gs._-3Bg:
                case _-4Gs._-zp:
                case _-4Gs._-4Nn:
                case _-4Gs._-5Bh:
                case _-4Gs._-4qD:
                case _-4Gs._-4M8:
                case _-4Gs._-2v6:
                case _-4Gs._-4rD:
                case _-4Gs._-1Aa:
                case _-4Gs._-4jO:
                case _-4Gs._-1yt:
                case _-4Gs._-1IB:
                case _-4Gs._-vu:
                    k = AnimatedFurnitureVisualizationData;
                    break;
                case _-4Gs._-3sZ:
                    k = _-0qU;
                    break;
                case _-4Gs._-3ks:
                case _-4Gs._-1Zq:
                case _-4Gs._-3I7:
                    k = PublicRoomVisualizationData;
                    break;
                case _-4Gs._-2u2:
                    k = AnimatedFurnitureVisualizationData;
                    break;
                case _-4Gs._-GI:
                    k = RoomVisualizationData;
                    break;
                case _-4Gs._-3rB:
                    k = _-0MW;
                    break;
                case _-4Gs.BOT:
                case _-4Gs.RENTABLE_BOT:
                    k = _-0MW;
                    break;
                case _-4Gs._-4u7:
                    k = AnimatedPetVisualizationData;
                    break;
                case _-4Gs._-2ps:
                case _-4Gs._-37l:
                    k = _-2N8;
                    break;
            };
            if (k == null)
            {
                return (null);
            };
            k = new (k)();
            if (k != null)
            {
                k = null;
                k = (k as _-H0);
                if (!k.initialize(_arg3))
                {
                    k.dispose();
                    return (null);
                };
                if ((k is _-0MW))
                {
                    k = (k as _-0MW);
                    k._-uU = this._-3M8;
                }
                else
                {
                    if ((k is AnimatedPetVisualizationData))
                    {
                        k = (k as AnimatedPetVisualizationData);
                        k._-1al = assets;
                    }
                    else
                    {
                        if ((k is _-0qU))
                        {
                            k = (k as _-0qU);
                            k._-uU = this._-3M8;
                        }
                        else
                        {
                            if ((k is _-2N8))
                            {
                                _-2N8(k).assets = assets;
                            };
                        };
                    };
                };
                if (this._-46e)
                {
                    this._-2MK.add(_arg1, k);
                };
                return (k);
            };
            return (null);
        }
        public function _-40R():_-2KD
        {
            var k:GraphicAssetCollection = new GraphicAssetCollection();
            return (k);
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-1IS

package _-3mW
{
    public class _-1IS 
    {

        public static const _-0p3:int = 1;
        public static const _-2rN:int = 2;
        public static const _-53b:int = 3;
        public static const _-qF:int = 4;

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-1sV

package _-3mW
{
    public class _-1sV 
    {

        public static const _-4hz:int = -2;
        public static const _-3Ag:int = 0;
        public static const _-0u-:int = 10;
        public static const _-20L:int = 20;
        public static const _-3I0:int = 100;
        public static const _-1aV:int = 200;
        public static const _-2ps:int = 201;
        public static const _-37l:int = 202;

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-1YE

package _-3mW
{
    public class _-1YE 
    {

        private var _-070:int;
        private var _top:int;
        private var _-28T:int;
        private var _-06Z:int;
        private var _-0VA:Number;

        public function _-1YE(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Number)
        {
            this._-070 = _arg1;
            this._top = _arg2;
            this._-28T = _arg3;
            this._-06Z = _arg4;
            this._-0VA = _arg5;
        }
        public function get left():int
        {
            return (this._-070);
        }
        public function get top():int
        {
            return (this._top);
        }
        public function get right():int
        {
            return (this._-28T);
        }
        public function get bottom():int
        {
            return (this._-06Z);
        }
        public function get _-t1():Number
        {
            return (this._-0VA);
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-28E

package _-3mW
{
    import _-0y0._-Xl;
    import _-0y0._-06R;

    public class _-28E 
    {

        public static const _-qh:String = "window";
        public static const _-1Hh:String = "hole";

        private var _-0cX:_-Xl = null;
        private var _-5K:String = null;
        private var _-JS:String = null;

        public function _-28E(_arg1:String, _arg2:_-06R, _arg3:String)
        {
            this.type = _arg1;
            this.loc = _arg2;
            this.category = _arg3;
        }
        public function get loc():_-06R
        {
            return (this._-0cX);
        }
        public function set loc(_arg1:_-06R):void
        {
            if (this._-0cX == null)
            {
                this._-0cX = new _-Xl();
            };
            this._-0cX._-3jn(_arg1);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function set type(_arg1:String):void
        {
            this._-5K = _arg1;
        }
        public function get category():String
        {
            return (this._-JS);
        }
        public function set category(_arg1:String):void
        {
            this._-JS = _arg1;
        }
        public function dispose():void
        {
            this._-0cX = null;
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-2bA

package _-3mW
{
    public class _-2bA 
    {

        private var _-2dX:int;
        private var _-4TA:int;
        private var _-0Dz:int;
        private var _height:int;

        public function _-2bA(_arg1:int, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
            this._-0Dz = _arg3;
            this._height = _arg4;
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }
        public function get width():int
        {
            return (this._-0Dz);
        }
        public function get height():int
        {
            return (this._height);
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-2Ws

package _-3mW
{
    public class _-2Ws 
    {

        public static const OBJECT_UNDEFINED:String = "OBJECT_UNDEFINED";
        public static const OBJECT_MOVE:String = "OBJECT_MOVE";
        public static const OBJECT_PLACE:String = "OBJECT_PLACE";
        public static const OBJECT_ROTATE_POSITIVE:String = "OBJECT_ROTATE_POSITIVE";
        public static const OBJECT_ROTATE_NEGATIVE:String = "OBJECT_ROTATE_NEGATIVE";
        public static const OBJECT_MOVE_TO:String = "OBJECT_MOVE_TO";
        public static const OBJECT_PLACE_TO:String = "OBJECT_PLACE_TO";
        public static const OBJECT_PICKUP:String = "OBJECT_PICKUP";
        public static const OBJECT_PICKUP_BOT:String = "OBJECT_PICKUP_BOT";
        public static const OBJECT_PICKUP_PET:String = "OBJECT_PICKUP_PET";
        public static const OBJECT_EJECT:String = "OBJECT_EJECT";
        public static const OBJECT_SAVE_STUFF_DATA:String = "OBJECT_SAVE_STUFF_DATA";

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-4Gs

package _-3mW
{
    public class _-4Gs 
    {

        public static const _-kJ:String = "furniture_static";
        public static const _-1In:String = "furniture_animated";
        public static const _-3xq:String = "furniture_resetting_animated";
        public static const _-2Co:String = "furniture_poster";
        public static const _-1pZ:String = "furniture_habbowheel";
        public static const _-3Jv:String = "furniture_val_randomizer";
        public static const _-3Bg:String = "furniture_bottle";
        public static const _-zp:String = "furniture_planet_system";
        public static const _-4Nn:String = "furniture_queue_tile";
        public static const _-5Bh:String = "furniture_party_beamer";
        public static const _-23O:String = "furniture_cuboid";
        public static const _-Ju:String = "furniture_gift_wrapped";
        public static const _-1Aa:String = "furniture_gift_wrapped_fireworks";
        public static const _-4qD:String = "furniture_counter_clock";
        public static const _-4M8:String = "furniture_water_area";
        public static const _-2v6:String = "furniture_score_board";
        public static const _-4rD:String = "furniture_fireworks";
        public static const _-3Kr:String = "furniture_bb";
        public static const _-6A:String = "furniture_bg";
        public static const _-3tE:String = "furniture_stickie";
        public static const _-3sZ:String = "furniture_mannequin";
        public static const _-4jO:String = "furniture_guild_customized";
        public static const _-1yt:String = "furniture_vote_counter";
        public static const _-1IB:String = "furniture_vote_majority";
        public static const _-vu:String = "furniture_soundblock";
        public static const _-GI:String = "room";
        public static const _-3rB:String = "user";
        public static const _-4u7:String = "pet_animated";
        public static const BOT:String = "bot";
        public static const RENTABLE_BOT:String = "rentable_bot";
        public static const _-3I7:String = "room_public";
        public static const _-1Zq:String = "room_public_park";
        public static const _-3ks:String = "room_public_pool";
        public static const _-2u2:String = "tile_cursor";
        public static const _-2ps:String = "game_snowball";
        public static const _-37l:String = "game_snowsplash";

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-4h

package _-3mW
{
    public class _-4h 
    {

        private var _-0r0:int;
        private var _-29m:Boolean;
        private var _-4W5:Boolean;
        private var _-0RM:Boolean;

        public function _-4h(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:Boolean)
        {
            this._-0RM = _arg4;
            this._-0r0 = _arg1;
            this._-29m = _arg2;
            this._-4W5 = _arg3;
        }
        public function get _-4T9():int
        {
            return (this._-0r0);
        }
        public function get _-3x5():Boolean
        {
            return (this._-29m);
        }
        public function get _-2HP():Boolean
        {
            return (this._-4W5);
        }
        public function get _-0kc():Boolean
        {
            return (((this._-29m) || (this._-4W5)));
        }
        public function get border():Boolean
        {
            return (this._-0RM);
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-4pn

package _-3mW
{
    public class _-4pn 
    {

        private var _-WI:Number = 0;
        private var _-Oo:Number = 0;
        private var _-4Fg:Number = 0;
        private var _-4mb:Number = 0;

        public function _-4pn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number)
        {
            this._-WI = _arg1;
            this._-Oo = _arg2;
            this._-4Fg = _arg3;
            this._-4mb = _arg4;
        }
        public function get _-302():Number
        {
            return (this._-WI);
        }
        public function get _-2bQ():Number
        {
            return (this._-Oo);
        }
        public function get _-1bG():Number
        {
            return (this._-4Fg);
        }
        public function get _-0KK():Number
        {
            return (this._-4mb);
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-4RM

package _-3mW
{
    public class _-4RM 
    {

        public static const _-4xl:String = "furniture_basic";
        public static const _-275:String = "furniture_multistate";
        public static const _-3eC:String = "furniture_multiheight";
        public static const _-2hx:String = "furniture_randomstate";
        public static const _-4ro:String = "furniture_placeholder";
        public static const _-3X2:String = "furniture_credit";
        public static const _-3tE:String = "furniture_stickie";
        public static const _-4sW:String = "furniture_present";
        public static const _-4Bj:String = "furniture_trophy";
        public static const _-43-:String = "furniture_ecotron_box";
        public static const _-3-v:String = "furniture_dice";
        public static const _-1YX:String = "furniture_hockey_score";
        public static const _-1pZ:String = "furniture_habbowheel";
        public static const _-1j7:String = "furniture_quest_wallitem";
        public static const _-0kj:String = "furniture_one_way_door";
        public static const _-zp:String = "furniture_planet_system";
        public static const _-4A0:String = "furniture_window";
        public static const _-3BK:String = "furniture_roomdimmer";
        public static const _-3Sj:String = "furniture_sound_machine";
        public static const _-2p-:String = "furniture_jukebox";
        public static const _-4uV:String = "furniture_pushable";
        public static const _-2FF:String = "furniture_clothing_change";
        public static const _-4qD:String = "furniture_counter_clock";
        public static const _-2v6:String = "furniture_score";
        public static const _-tr:String = "furniture_es";
        public static const _-4rD:String = "furniture_fireworks";
        public static const _-2tQ:String = "furniture_song_disk";
        public static const _-3Kr:String = "furniture_bb";
        public static const _-6A:String = "furniture_bg";
        public static const _-1dJ:String = "furniture_welcome_gift";
        public static const _-3l6:String = "furniture_floor_hole";
        public static const _-3sZ:String = "furniture_mannequin";
        public static const _-4jO:String = "furniture_guild_customized";
        public static const _-5Dl:String = "furniture_pet_customization";
        public static const _-4Qi:String = "furniture_cuckoo_clock";
        public static const _-1yt:String = "furniture_vote_counter";
        public static const _-1IB:String = "furniture_vote_majority";
        public static const _-vu:String = "furniture_soundblock";
        public static const _-49F:String = "furniture_random_teleport";
        public static const _-jA:String = "furniture_monsterplant_seed";
        public static const _-4Nq:String = "furniture_pixel_memorial";
        public static const _-gd:String = "furniture_background_color";
        public static const _-GI:String = "room";
        public static const _-3rB:String = "user";
        public static const BOT:String = "bot";
        public static const RENTABLE_BOT:String = "rentable_bot";
        public static const _-0Zq:String = "pet";
        public static const _-3I7:String = "room_public";
        public static const _-1Zq:String = "room_public_park";
        public static const _-1zv:String = "tile_cursor";
        public static const _-4sv:String = "selection_arrow";
        public static const _-2ps:String = "game_snowball";
        public static const _-37l:String = "game_snowsplash";

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW._-4Wq

package _-3mW
{
    public class _-4Wq 
    {

        public static const _-1Is:String = "object_room_id";
        public static const _-17P:String = "object_accurate_z_value";
        public static const _-SW:String = "image_query_scale";
        public static const _-4lL:String = "figure";
        public static const _-Yj:String = "race";
        public static const _-36h:String = "gender";
        public static const _-0Kp:String = "own_user";
        public static const _-4QR:String = "pet_palette_index";
        public static const _-xD:String = "pet_color";
        public static const _-3Dx:String = "pet_head_only";
        public static const _-1H7:String = "pet_custom_layer_ids";
        public static const _-2qV:String = "pet_custom_part_ids";
        public static const _-4-3:String = "pet_custom_palette_ids";
        public static const _-dp:String = "pet_is_riding";
        public static const _-3pv:String = "pet_type";
        public static const _-mf:String = "pet_allowed_directions";
        public static const _-3Mr:String = "figure_talk";
        public static const _-10t:String = "figure_dance";
        public static const _-4uh:String = "figure_sleep";
        public static const _-4RV:String = "figure_blink";
        public static const _-4AQ:String = "figure_effect";
        public static const _-3kn:String = "figure_carry_object";
        public static const _-0wc:String = "figure_use_object";
        public static const _-0Bj:String = "figure_gesture";
        public static const _-0nJ:String = "figure_posture";
        public static const _-4HY:String = "figure_posture_parameter";
        public static const _-2jF:String = "std";
        public static const _-578:String = "figure_sign";
        public static const _-1mF:String = "figure_flat_control";
        public static const _-1bn:String = "figure_is_typing";
        public static const _-Bj:String = "figure_expression";
        public static const _-45r:String = "figure_experience_timestamp";
        public static const _-3KD:String = "figure_gained_experience";
        public static const _-4JZ:String = "figure_number_value";
        public static const _-13B:String = "figure_highlight";
        public static const _-15k:String = "figure_highlight_enable";
        public static const _-4bY:String = "figure_can_stand_up";
        public static const _-Kk:String = "figure_vertical_offset";
        public static const _-3UC:String = "figure_is_playing_game";
        public static const _-4LD:String = "figure_is_muted";
        public static const _-4CO:String = "figure_guide_status";
        public static const _-49h:String = "head_direction";
        public static const _-3lu:String = "furniture_real_room_object";
        public static const _-44K:String = "furniture_color";
        public static const _-0z3:String = "furniture_type_id";
        public static const _-1VR:String = "furniture_size_x";
        public static const _-1mA:String = "furniture_size_y";
        public static const _-Mt:String = "furniture_size_z";
        public static const _-3M0:String = "furniture_center_x";
        public static const _-2CA:String = "furniture_center_y";
        public static const _-3iL:String = "furniture_center_z";
        public static const _-0-L:String = "furniture_lift_amount";
        public static const _-3gh:String = "furniture_allowed_directions";
        public static const _-3jB:String = "furniture_data";
        public static const _-4YM:String = "furniture_data_format";
        public static const _-3HL:String = "furniture_extras";
        public static const _-3cj:String = "furniture_itemdata";
        public static const _-50W:String = "furniture_alpha_multiplier";
        public static const _-2jc:String = "furniture_expiry_time";
        public static const _-2YS:String = "furniture_expirty_timestamp";
        public static const _-4MJ:String = "furniture_state_update_time";
        public static const _-45n:String = "furniture_automatic_state_index";
        public static const _-0lT:String = "furniture_unique_serial_number";
        public static const _-1yc:String = "furniture_unique_edition_size";
        public static const _-3-s:String = "furniture_is_variable_height";
        public static const _-512:String = "furniture_credit_value";
        public static const _-4m1:String = "furniture_planetsystem_data";
        public static const _-4nh:String = "furniture_fireworks_data";
        public static const _-0gF:String = "furniture_uses_plane_mask";
        public static const _-1T9:String = "furniture_plane_mask_type";
        public static const _-YY:String = "furniture_ad_url";
        public static const _-ag:String = "furniture_branding_image_status";
        public static const _-4JK:String = "furniture_branding_image_url";
        public static const _-3Qv:String = "furniture_branding_url";
        public static const _-1oe:String = "furniture_branding_offset_x";
        public static const _-2Wq:String = "furniture_branding_offset_y";
        public static const _-0rn:String = "furniture_branding_offset_z";
        public static const _-4Ro:String = "furniture_selection_disable";
        public static const _-1xd:String = "furniture_clothing_girl";
        public static const _-4Mh:String = "furniture_clothing_boy";
        public static const _-0Xu:String = "furniture_mannequin_name";
        public static const _-3tN:String = "furniture_mannequin_gender";
        public static const _-8L:String = "furniture_mannequin_figure";
        public static const _-0xF:String = "furniture_is_stickie";
        public static const _-fD:String = "furniture_usage_policy";
        public static const _-0Vr:String = "furniture_owner_id";
        public static const _-ju:String = "furniture_owner_name";
        public static const _-51d:String = "furniture_guild_customized_guild_id";
        public static const FURNITURE_GUILD_CUSTOMIZED_COLOR_1:String = "furniture_guild_customized_color_1";
        public static const FURNITURE_GUILD_CUSTOMIZED_COLOR_2:String = "furniture_guild_customized_color_2";
        public static const _-44z:String = "furniture_guild_customized_asset_name";
        public static const _-33f:String = "furniture_guild_customized_badge_image_status";
        public static const _-3Dm:String = "furniture_purchaser_name";
        public static const _-4xc:String = "furniture_purchaser_figure";
        public static const _-17J:String = "furniture_disable_picking_animation";
        public static const _-4Uk:String = "furniture_vote_counter_count";
        public static const _-0SQ:String = "furniture_vote_majority_result";
        public static const _-1AK:String = "furniture_soundblock_relative_animation_speed";
        public static const _-42y:String = "furniture_room_background_color_hue";
        public static const _-27l:String = "furniture_room_background_color_saturation";
        public static const _-Ln:String = "furniture_room_background_color_lightness";
        public static const _-1O9:String = "room_plane_xml";
        public static const _-0Ar:String = "room_plane_mask_xml";
        public static const _-3Oy:String = "room_floor_type";
        public static const _-3Sr:String = "room_wall_type";
        public static const _-3HV:String = "room_landscape_type";
        public static const _-4GH:String = "room_wall_thickness";
        public static const _-5DA:String = "room_floor_thickness";
        public static const _-SJ:String = "room_floor_hole_update_time";
        public static const _-1kT:String = "room_floor_visibility";
        public static const _-142:String = "room_wall_visibility";
        public static const _-1F9:String = "room_landscape_visibility";
        public static const _-4WJ:String = "room_door_x";
        public static const _-4Yb:String = "room_door_y";
        public static const _-1RR:String = "room_door_z";
        public static const _-5F:String = "room_door_dir";
        public static const _-51W:String = "room_background_color";
        public static const _-4z2:String = "room_colorize_bg_only";
        public static const _-3A9:String = "room_random_seed";
        public static const _-TO:String = "room_world_type";
        public static const _-0rE:String = "billboard";
        public static const _-2HC:String = "room_ad_image_asset";
        public static const _-0Gi:String = "room_ad_click_url";
        public static const _-2-Q:String = "room_ad_waiting";
        public static const _-to:String = "room_ad_warning_image_left";
        public static const _-3XC:String = "room_ad_warning_image_right";
        public static const _-1A2:String = "room_selected_x";
        public static const _-0XQ:String = "room_selected_y";
        public static const _-0me:String = "room_selected_z";
        public static const _-0LF:String = "room_selected_plane";
        public static const _-a9:String = "tile_cursor_height";
        public static const _-4kv:String = "room_park_door_status";

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW.RoomObjectUserTypes

package _-3mW
{
    import flash.utils.Dictionary;

    public class RoomObjectUserTypes 
    {

        public static const _-3rB:String = "user";
        public static const _-0Zq:String = "pet";
        public static const BOT:String = "bot";
        public static const RENTABLE_BOT:String = "rentable_bot";
        public static const _-2CJ:String = "monsterplant";
        private static const _-1-L:Dictionary = new Dictionary();

        {
            _-1-L[_-3rB] = 1;
            _-1-L[_-0Zq] = 2;
            _-1-L[BOT] = 3;
            _-1-L[RENTABLE_BOT] = 4;
        }
        public static function _-jo(_arg1:String):int
        {
            return (_-1-L[_arg1]);
        }
        public static function _-4bf(_arg1:int):String
        {
            var k:String;
            for (k in _-1-L)
            {
                if (_-1-L[k] == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public static function _-0Uh(_arg1:String):String
        {
            switch (_arg1)
            {
                case BOT:
                case RENTABLE_BOT:
                    return (_-3rB);
                default:
                    return (_arg1);
            };
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW.RoomPlaneBitmapMaskParser

package _-3mW
{
    import _-18r.Map;
    import _-0y0._-Xl;
    import _-0y0.XMLValidator;
    import _-0y0._-06R;

    public class RoomPlaneBitmapMaskParser 
    {

        private var _-1MT:Map = null;

        public function RoomPlaneBitmapMaskParser()
        {
            this._-1MT = new Map();
        }
        public function get _-2tf():int
        {
            return (this._-1MT.length);
        }
        public function dispose():void
        {
            if (this._-1MT != null)
            {
                this.reset();
                this._-1MT.dispose();
                this._-1MT = null;
            };
        }
        public function initialize(_arg1:XML):Boolean
        {
            var k:XML;
            var k:String;
            var k:String;
            var k:_-Xl;
            var k:String;
            var k:XMLList;
            var k:XML;
            var k:_-28E;
            if (_arg1 == null)
            {
                return (false);
            };
            this._-1MT.reset();
            var k:Array = ["id", "type", "category"];
            var k:Array = ["x", "y", "z"];
            var k:XMLList;
            var k:XMLList = _arg1.planeMask;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = k.@id;
                k = k.@type;
                k = null;
                k = k.@category;
                k = k.location;
                if (k.length() != 1)
                {
                    return (false);
                };
                k = k[0];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = new _-Xl(Number(k.@x), Number(k.@y), Number(k.@z));
                k = new _-28E(k, k, k);
                this._-1MT.add(k, k);
                k++;
            };
            return (true);
        }
        public function reset():void
        {
            var k:_-28E;
            var k:int;
            while (k < this._-1MT.length)
            {
                k = (this._-1MT.getWithIndex(k) as _-28E);
                if (k != null)
                {
                    k.dispose();
                };
                k++;
            };
            this._-1MT.reset();
        }
        public function _-4TK(_arg1:String, _arg2:String, _arg3:_-06R, _arg4:String):void
        {
            var k:_-28E = new _-28E(_arg2, _arg3, _arg4);
            this._-1MT.remove(_arg1);
            this._-1MT.add(_arg1, k);
        }
        public function _-4rl(_arg1:String):Boolean
        {
            var k:_-28E = (this._-1MT.remove(_arg1) as _-28E);
            if (k != null)
            {
                k.dispose();
                return (true);
            };
            return (false);
        }
        public function _-4sV():XML
        {
            var k:String;
            var k:String;
            var k:XML;
            var k:_-06R;
            var k:XML = <planeMasks/>
            ;
            var k:int;
            while (k < this._-2tf)
            {
                k = this._-1Im(k);
                k = this._-315(k);
                k = new XML((((((('<planeMask id="' + k) + '" type="') + k) + '" category="') + k) + '"/>'));
                k = this._-4kr(k);
                if (k != null)
                {
                    k.appendChild(new XML((((((('<location x="' + k.x) + '" y="') + k.y) + '" z="') + k.z) + '"/>')));
                    k.appendChild(k);
                };
                k++;
            };
            return (k);
        }
        public function _-4kr(_arg1:int):_-06R
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2tf))))
            {
                return (null);
            };
            var k:_-28E = (this._-1MT.getWithIndex(_arg1) as _-28E);
            if (k != null)
            {
                return (k.loc);
            };
            return (null);
        }
        public function _-1Im(_arg1:int):String
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2tf))))
            {
                return (null);
            };
            var k:_-28E = (this._-1MT.getWithIndex(_arg1) as _-28E);
            if (k != null)
            {
                return (k.type);
            };
            return (null);
        }
        public function _-315(_arg1:int):String
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2tf))))
            {
                return (null);
            };
            var k:_-28E = (this._-1MT.getWithIndex(_arg1) as _-28E);
            if (k != null)
            {
                return (k.category);
            };
            return (null);
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW.RoomPlaneData

package _-3mW
{
    import _-0y0._-Xl;
    import _-0y0._-06R;

    public class RoomPlaneData 
    {

        public static const _-2g0:int = 0;
        public static const _-2LS:int = 1;
        public static const _-42W:int = 2;
        public static const _-3CH:int = 3;
        public static const _-18U:int = 4;

        private var _-5K:int = 0;
        private var _-0cX:_-Xl = null;
        private var _-2DV:_-Xl = null;
        private var _-1yh:_-Xl = null;
        private var _normal:_-Xl = null;
        private var _-2x0:_-Xl = null;
        private var _-2yp:Array;
        private var _-1MT:Array;

        public function RoomPlaneData(_arg1:int, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R, _arg5:Array)
        {
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:int;
            var k:_-06R;
            var k:_-Xl;
            this._-2yp = [];
            this._-1MT = [];
            super();
            this._-0cX = new _-Xl();
            this._-0cX._-3jn(_arg2);
            this._-2DV = new _-Xl();
            this._-2DV._-3jn(_arg3);
            this._-1yh = new _-Xl();
            this._-1yh._-3jn(_arg4);
            this._-5K = _arg1;
            if (((!((_arg3 == null))) && (!((_arg4 == null)))))
            {
                this._normal = _-Xl._-2H2(_arg3, _arg4);
                k = 0;
                k = 0;
                k = 0;
                k = 0;
                k = 0;
                if (((!((this.normal.x == 0))) || (!((this.normal.y == 0)))))
                {
                    k = this.normal.x;
                    k = this.normal.y;
                    k = (360 + ((Math.atan2(k, k) / Math.PI) * 180));
                    if (k >= 360)
                    {
                        k = (k - 360);
                    };
                    k = Math.sqrt(((this.normal.x * this.normal.x) + (this.normal.y * this.normal.y)));
                    k = this.normal.z;
                    k = (360 + ((Math.atan2(k, k) / Math.PI) * 180));
                    if (k >= 360)
                    {
                        k = (k - 360);
                    };
                }
                else
                {
                    if (this.normal.z < 0)
                    {
                        k = 90;
                    }
                    else
                    {
                        k = 270;
                    };
                };
                this._-2x0 = new _-Xl(k, k, k);
            };
            if (((!((_arg5 == null))) && ((_arg5.length > 0))))
            {
                k = 0;
                while (k < _arg5.length)
                {
                    k = _arg5[k];
                    if (((!((k == null))) && ((k.length > 0))))
                    {
                        k = new _-Xl();
                        k._-3jn(k);
                        k._-2Dq((1 / k.length));
                        this._-2yp.push(k);
                    };
                    k++;
                };
            };
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get loc():_-06R
        {
            return (this._-0cX);
        }
        public function get _-5DB():_-06R
        {
            return (this._-2DV);
        }
        public function get _-3hO():_-06R
        {
            return (this._-1yh);
        }
        public function get normal():_-06R
        {
            return (this._normal);
        }
        public function get _-3xy():_-06R
        {
            return (this._-2x0);
        }
        public function get _-11b():int
        {
            return (this._-2yp.length);
        }
        public function get _-2tf():int
        {
            return (this._-1MT.length);
        }
        public function _-14a(_arg1:int):_-06R
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-11b))))
            {
                return (null);
            };
            var k:_-Xl = new _-Xl();
            k._-3jn((this._-2yp[_arg1] as _-06R));
            return (k);
        }
        public function _-4TK(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void
        {
            var k:_-4pn = new _-4pn(_arg1, _arg2, _arg3, _arg4);
            this._-1MT.push(k);
        }
        private function _-3Ky(_arg1:int):_-4pn
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2tf))))
            {
                return (null);
            };
            return (this._-1MT[_arg1]);
        }
        public function _-2MI(_arg1:int):Number
        {
            var k:_-4pn = this._-3Ky(_arg1);
            if (k != null)
            {
                return (k._-302);
            };
            return (-1);
        }
        public function _-I-(_arg1:int):Number
        {
            var k:_-4pn = this._-3Ky(_arg1);
            if (k != null)
            {
                return (k._-2bQ);
            };
            return (-1);
        }
        public function _-4RA(_arg1:int):Number
        {
            var k:_-4pn = this._-3Ky(_arg1);
            if (k != null)
            {
                return (k._-1bG);
            };
            return (-1);
        }
        public function _-4Kp(_arg1:int):Number
        {
            var k:_-4pn = this._-3Ky(_arg1);
            if (k != null)
            {
                return (k._-0KK);
            };
            return (-1);
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW.RoomPlaneParser

package _-3mW
{
    import _-18r.Map;
    import flash.geom.Point;
    import _-0y0._-06R;
    import _-0y0._-Xl;
    import _-0y0.XMLValidator;

    public class RoomPlaneParser 
    {

        private static const _-Ik:Number = 0.25;
        private static const _-15r:Number = 0.25;
        public static const _-Vz:int = -110;
        public static const _-2pH:int = -100;

        private var _-13X:Array;
        private var _-cK:Array;
        private var _-0Dz:int = 0;
        private var _height:int = 0;
        private var _-2LG:int = 0;
        private var _-2jK:int = 0;
        private var _-EO:int = 0;
        private var _-4Ql:int = 0;
        private var _-1zq:Array;
        private var _-25O:Number = 0;
        private var _-4Bn:Number = 1;
        private var _-bJ:Number = 1;
        private var _-4GU:Number = 0;
        private var _-YJ:Map = null;
        private var _-0Nk:Array;

        public function RoomPlaneParser()
        {
            this._-13X = [];
            this._-cK = [];
            this._-1zq = [];
            this._-0Nk = [];
            super();
            this._-25O = 3.6;
            this._-4Bn = 1;
            this._-bJ = 1;
            this._-YJ = new Map();
        }
        private static function _-27x(_arg1:Array):Number
        {
            var k:int;
            var k:int;
            var k:int;
            var k:Array;
            var k:int = _arg1.length;
            var k:int;
            if (k == 0)
            {
                return (0);
            };
            var k:Number = 0;
            k = 0;
            while (k < k)
            {
                k = (_arg1[k] as Array);
                k = 0;
                while (k < k.length)
                {
                    k = Number(k[k]);
                    if (k > k)
                    {
                    };
                    k++;
                };
                k++;
            };
            return (k);
        }
        private static function _-3na(_arg1:Array):Point
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int;
            var k:int;
            var k:Array;
            var k:int = _arg1.length;
            if (k == 0)
            {
                return (null);
            };
            var k:Array = [];
            k = 0;
            while (k < k)
            {
                k = (_arg1[k] as Array);
                if ((((k == null)) || ((k.length == 0))))
                {
                    return (null);
                };
                k = 0;
                while (k < k.length)
                {
                    if (Number(k[k]) >= 0)
                    {
                        k.push(k);
                        break;
                    };
                    k++;
                };
                if (k.length < (k + 1))
                {
                    k.push((k.length + 1));
                };
                k++;
            };
            k = 1;
            while (k < (k.length - 1))
            {
                if ((((int(k[k]) <= (int(k[(k - 1)]) - 1))) && ((int(k[k]) <= (int(k[(k + 1)]) - 1)))))
                {
                    return (new Point(int(k[k]), k));
                };
                k++;
            };
            return (null);
        }

        public function get minX():int
        {
            return (this._-2LG);
        }
        public function get maxX():int
        {
            return (this._-2jK);
        }
        public function get minY():int
        {
            return (this._-EO);
        }
        public function get maxY():int
        {
            return (this._-4Ql);
        }
        public function get _-2TM():int
        {
            return (this._-0Dz);
        }
        public function get _-1fK():int
        {
            return (this._height);
        }
        public function get _-ER():int
        {
            return (this._-1zq.length);
        }
        public function get _-3oo():Number
        {
            return (this._-4GU);
        }
        public function get wallHeight():Number
        {
            return (this._-25O);
        }
        public function set wallHeight(_arg1:Number):void
        {
            if (_arg1 < 0)
            {
                k = 0;
            };
            this._-25O = _arg1;
        }
        public function get _-00q():Number
        {
            return (this._-4Bn);
        }
        public function set _-00q(_arg1:Number):void
        {
            if (_arg1 < 0)
            {
                k = 0;
            };
            this._-4Bn = _arg1;
        }
        public function get _-0F5():Number
        {
            return (this._-bJ);
        }
        public function set _-0F5(_arg1:Number):void
        {
            if (_arg1 < 0)
            {
                k = 0;
            };
            this._-bJ = _arg1;
        }
        public function dispose():void
        {
            this._-1zq = null;
            this._-13X = null;
            this._-cK = null;
            this._-0Nk = null;
            if (this._-YJ != null)
            {
                this._-YJ.dispose();
                this._-YJ = null;
            };
        }
        public function reset():void
        {
            this._-1zq = [];
            this._-13X = [];
            this._-cK = [];
            this._-13X = [];
            this._-cK = [];
            this._-0Dz = 0;
            this._height = 0;
            this._-2LG = 0;
            this._-2jK = 0;
            this._-EO = 0;
            this._-4Ql = 0;
            this._-4GU = 0;
            this._-0Nk = [];
        }
        public function _-1wG(_arg1:int, _arg2:int):Boolean
        {
            var k:Array;
            var k:Array;
            var k:Array;
            var k:int;
            if (_arg1 < 0)
            {
                k = 0;
            };
            if (_arg2 < 0)
            {
                k = 0;
            };
            this._-13X = [];
            this._-cK = [];
            this._-0Nk = [];
            var k:int;
            while (k < _arg2)
            {
                k = [];
                k = [];
                k = [];
                k = 0;
                while (k < _arg1)
                {
                    k[k] = _-Vz;
                    k[k] = _-Vz;
                    k[k] = false;
                    k++;
                };
                this._-13X.push(k);
                this._-cK.push(k);
                this._-0Nk.push(k);
                k++;
            };
            this._-0Dz = _arg1;
            this._height = _arg2;
            this._-2LG = this._-0Dz;
            this._-2jK = -1;
            this._-EO = this._height;
            this._-4Ql = -1;
            return (true);
        }
        public function _-2sx(_arg1:int, _arg2:int, _arg3:Number):Boolean
        {
            var k:Array;
            var k:Boolean;
            var k:int;
            var k:Boolean;
            var k:int;
            if ((((((((_arg1 >= 0)) && ((_arg1 < this._-0Dz)))) && ((_arg2 >= 0)))) && ((_arg2 < this._height))))
            {
                k = (this._-13X[_arg2] as Array);
                k[_arg1] = _arg3;
                if (_arg3 >= 0)
                {
                    if (_arg1 < this._-2LG)
                    {
                        this._-2LG = _arg1;
                    };
                    if (_arg1 > this._-2jK)
                    {
                        this._-2jK = _arg1;
                    };
                    if (_arg2 < this._-EO)
                    {
                        this._-EO = _arg2;
                    };
                    if (_arg2 > this._-4Ql)
                    {
                        this._-4Ql = _arg2;
                    };
                }
                else
                {
                    if ((((_arg1 == this._-2LG)) || ((_arg1 == this._-2jK))))
                    {
                        k = false;
                        k = this._-EO;
                        while (k < this._-4Ql)
                        {
                            if (this._-0CQ(_arg1, k) >= 0)
                            {
                                k = true;
                                break;
                            };
                            k++;
                        };
                        if (!k)
                        {
                            if (_arg1 == this._-2LG)
                            {
                                this._-2LG++;
                            };
                            if (_arg1 == this._-2jK)
                            {
                                this._-2jK--;
                            };
                        };
                    };
                    if ((((_arg2 == this._-EO)) || ((_arg2 == this._-4Ql))))
                    {
                        k = false;
                        k = this._-2LG;
                        while (k < this._-2jK)
                        {
                            if (this._-2Ro(k, _arg2) >= 0)
                            {
                                k = true;
                                break;
                            };
                            k++;
                        };
                        if (!k)
                        {
                            if (_arg2 == this._-EO)
                            {
                                this._-EO++;
                            };
                            if (_arg2 == this._-4Ql)
                            {
                                this._-4Ql--;
                            };
                        };
                    };
                };
                return (true);
            };
            return (false);
        }
        public function _-2Ro(_arg1:int, _arg2:int):Number
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this._-0Dz)))) || ((_arg2 < 0)))) || ((_arg2 >= this._height))))
            {
                return (_-Vz);
            };
            var k:Array = (this._-13X[_arg2] as Array);
            return (Math.abs((k[_arg1] as Number)));
        }
        private function _-285(_arg1:int, _arg2:int):Number
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this._-0Dz)))) || ((_arg2 < 0)))) || ((_arg2 >= this._height))))
            {
                return (_-Vz);
            };
            if (this._-0Nk[_arg2][_arg1])
            {
                return (_-2pH);
            };
            var k:Array = (this._-cK[_arg2] as Array);
            return ((k[_arg1] as Number));
        }
        private function _-0CQ(_arg1:int, _arg2:int):Number
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this._-0Dz)))) || ((_arg2 < 0)))) || ((_arg2 >= this._height))))
            {
                return (_-Vz);
            };
            var k:Array = (this._-13X[_arg2] as Array);
            return ((k[_arg1] as Number));
        }
        public function _-38X(_arg1:Boolean=false):Boolean
        {
            var k:int;
            var k:int;
            k = 0;
            while (k < this._height)
            {
                k = 0;
                while (k < this._-0Dz)
                {
                    this._-cK[k][k] = this._-13X[k][k];
                    k++;
                };
                k++;
            };
            var k:Point = _-3na(this._-13X);
            k = 0;
            while (k < this._height)
            {
                k = 0;
                while (k < this._-0Dz)
                {
                    if (this._-0Nk[k][k])
                    {
                        this._-2sx(k, k, _-2pH);
                    };
                    k++;
                };
                k++;
            };
            return (this.initialize(k, _arg1));
        }
        private function initialize(_arg1:Point, _arg2:Boolean):Boolean
        {
            var k:Array;
            var k:int;
            var k:int;
            if (_arg1 != null)
            {
                k = this._-2Ro(_arg1.x, _arg1.y);
                this._-2sx(_arg1.x, _arg1.y, _-Vz);
            };
            this._-4GU = _-27x(this._-13X);
            if (!_arg2)
            {
                this._-0YX();
            };
            var k:Array;
            var k:Array = [];
            var k:int;
            while (k < this._-13X.length)
            {
                k = this._-13X[k];
                k = [];
                k = 0;
                while (k < k.length)
                {
                    k.push(k[k]);
                    k++;
                };
                k.push(k);
                k++;
            };
            do 
            {
            } while (this._-sD(k, true));
            if (_arg1 != null)
            {
                this._-2sx(_arg1.x, _arg1.y, k);
                k = k[_arg1.y];
                k[_arg1.x] = k;
                this._-sD(k, false);
            };
            return (true);
        }
        private function _-1I1(_arg1:Point, _arg2:Boolean):RoomWallData
        {
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var k:Point;
            var k:int;
            var k:RoomWallData = new RoomWallData();
            var k:Array = [this._-43E, this._-264, this._-Sm, this._-56D];
            var k:int;
            var k:Point = new Point(_arg1.x, _arg1.y);
            var k:int;
            while (k++ < 1000)
            {
                k = false;
                k = false;
                if ((((((((k.x < this.minX)) || ((k.x > this.maxX)))) || ((k.y < this.minY)))) || ((k.y > this.maxY))))
                {
                    k = true;
                };
                k = k[k](k, _arg2);
                if (k == null)
                {
                    return (null);
                };
                k = (Math.abs((k.x - k.x)) + Math.abs((k.y - k.y)));
                if ((((k.x == k.x)) || ((k.y == k.y))))
                {
                    k = (((k - 1) + k.length) % k.length);
                    k = (k + 1);
                    k = true;
                }
                else
                {
                    k = ((k + 1) % k.length);
                    k--;
                };
                k._-0YQ(k, k, k, k, k);
                if ((((((k.x == _arg1.x)) && ((k.y == _arg1.y)))) && (((!((k.x == k.x))) || (!((k.y == k.y)))))))
                {
                    break;
                };
            };
            if (k.count == 0)
            {
                return (null);
            };
            return (k);
        }
        private function _-4z4(_arg1:RoomWallData):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:int = _arg1.count;
            while (k < k)
            {
                k = 0;
                k = false;
                while (((!(_arg1._-wG(k))) && ((k < k))))
                {
                    if (_arg1._-4X9(k))
                    {
                        k++;
                    }
                    else
                    {
                        if (k > 0)
                        {
                            k--;
                        };
                    };
                    if (k > 1)
                    {
                        k = true;
                    };
                    k++;
                };
                if (k)
                {
                    while (k <= k)
                    {
                        _arg1._-Q2(k, true);
                        k++;
                    };
                };
                k++;
            };
        }
        private function _-4i8(_arg1:RoomWallData):void
        {
            var k:Point;
            var k:int;
            var k:int;
            var k:_-06R;
            var k:_-06R;
            var k:int;
            var k:int;
            var k:int = _arg1.count;
            var k:int;
            while (k < k)
            {
                if (!_arg1._-196(k))
                {
                    k = _arg1._-2mv(k);
                    k = _arg1.getDirection(k);
                    k = _arg1._-13J(k);
                    k = RoomWallData._-38K[k];
                    k = RoomWallData._-1pe[k];
                    k = 0;
                    k = 0;
                    while (k < k)
                    {
                        if (this._-0CQ(((k.x + (k * k.x)) - k.x), ((k.y + (k * k.y)) - k.y)) == _-2pH)
                        {
                            if ((((k > 0)) && ((k == 0))))
                            {
                                _arg1._-2Ne(k, k);
                                break;
                            };
                            k++;
                        }
                        else
                        {
                            if (k > 0)
                            {
                                _arg1._-2Mu(k, k);
                                break;
                            };
                        };
                        k++;
                    };
                    if (k == k)
                    {
                        _arg1._-Q2(k, true);
                    };
                };
                k++;
            };
        }
        private function _-4Ul(_arg1:Point, _arg2:Point, _arg3:RoomWallData):int
        {
            var k:Point;
            var k:Point;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int = Math.min(_arg1.y, _arg2.y);
            var k:int = Math.max(_arg1.y, _arg2.y);
            var k:int = Math.min(_arg1.x, _arg2.x);
            var k:int = Math.max(_arg1.x, _arg2.x);
            var k:int = _arg3.count;
            var k:int;
            while (k < k)
            {
                k = _arg3._-2mv(k);
                k = _arg3._-210(k);
                if (_arg1.x == _arg2.x)
                {
                    if ((((k.x == _arg1.x)) && ((k.x == _arg1.x))))
                    {
                        k = Math.min(k.y, k.y);
                        k = Math.max(k.y, k.y);
                        if ((((k <= k)) && ((k <= k))))
                        {
                            return (k);
                        };
                    };
                }
                else
                {
                    if (_arg1.y == _arg2.y)
                    {
                        if ((((k.y == _arg1.y)) && ((k.y == _arg1.y))))
                        {
                            k = Math.min(k.x, k.x);
                            k = Math.max(k.x, k.x);
                            if ((((k <= k)) && ((k <= k))))
                            {
                                return (k);
                            };
                        };
                    };
                };
                k++;
            };
            return (-1);
        }
        private function _-1zl(_arg1:RoomWallData, _arg2:RoomWallData):void
        {
            var k:Point;
            var k:Point;
            var k:_-06R;
            var k:int;
            var k:int;
            var k:int = _arg1.count;
            var k:int;
            while (k < k)
            {
                if (!_arg1._-196(k))
                {
                    k = _arg1._-2mv(k);
                    k = new Point(k.x, k.y);
                    k = RoomWallData._-38K[_arg1.getDirection(k)];
                    k = _arg1._-13J(k);
                    k.x = (k.x + (k.x * k));
                    k.y = (k.y + (k.y * k));
                    k = this._-4Ul(k, k, _arg2);
                    if (k >= 0)
                    {
                        if (_arg2._-196(k))
                        {
                            _arg1._-Q2(k, true);
                        };
                    }
                    else
                    {
                        _arg1._-Q2(k, true);
                    };
                };
                k++;
            };
        }
        private function _-2oQ(_arg1:RoomWallData, _arg2:RoomWallData):void
        {
            this._-4z4(_arg2);
            this._-4i8(_arg1);
            this._-1zl(_arg1, _arg2);
        }
        private function _-4E5(_arg1:RoomWallData, _arg2:RoomWallData):void
        {
            var k:int;
            var k:int;
            var k:Point;
            var k:int;
            var k:int;
            var k:_-06R;
            var k:_-06R;
            var k:Number;
            var k:int;
            var k:Number;
            var k:_-Xl;
            var k:Number;
            var k:_-Xl;
            var k:_-Xl;
            var k:int;
            var k:_-Xl;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:Number;
            var k:int = _arg1.count;
            var k:int = _arg2.count;
            var k:int;
            while (k < k)
            {
                if (!_arg1._-196(k))
                {
                    k = _arg1._-2mv(k);
                    k = _arg1.getDirection(k);
                    k = _arg1._-13J(k);
                    k = RoomWallData._-38K[k];
                    k = RoomWallData._-1pe[k];
                    k = -1;
                    k = 0;
                    while (k < k)
                    {
                        k = this._-0CQ(((k.x + (k * k.x)) + k.x), ((k.y + (k * k.y)) + k.y));
                        if ((((k >= 0)) && ((((k < k)) || ((k < 0))))))
                        {
                        };
                        k++;
                    };
                    k = new _-Xl(k.x, k.y, k);
                    k = _-Xl._-3SY(k, _-Xl.product(k, 0.5));
                    k = _-Xl._-3SY(k, _-Xl.product(k, -0.5));
                    k = ((this.wallHeight + this._-3oo) - k);
                    k = _-Xl.product(k, -(k));
                    k = new _-Xl(0, 0, k);
                    k = _-Xl._-4gy(k, k);
                    k = this._-4Ul(k, _arg1._-210(k), _arg2);
                    if (k >= 0)
                    {
                        k = _arg2.getDirection(((k + 1) % k));
                        k = _arg2.getDirection((((k - 1) + k) % k));
                    }
                    else
                    {
                        k = _arg1.getDirection(((k + 1) % k));
                        k = _arg1.getDirection((((k - 1) + k) % k));
                    };
                    k = null;
                    if ((((k - k) + 4) % 4) == 3)
                    {
                        k = RoomWallData._-1pe[k];
                    }
                    else
                    {
                        if ((((k - k) + 4) % 4) == 3)
                        {
                            k = RoomWallData._-1pe[k];
                        };
                    };
                    k = _arg1._-4X9(k);
                    k = _arg1._-4X9((((k - 1) + k) % k));
                    k = _arg1._-196(((k + 1) % k));
                    k = _arg1._-20s(k);
                    k = _arg1._-209(k);
                    this._-0YQ(k, k, k, k, ((!(k)) || (k)), ((!(k)) || (k)), !(k));
                };
                k++;
            };
        }
        private function _-0YX():Boolean
        {
            var k:int;
            var k:int;
            var k:Array = this._-13X;
            if (k == null)
            {
                return (false);
            };
            var k:int;
            var k:int;
            var k:Array;
            var k:int = k.length;
            var k:int;
            if (k == 0)
            {
                return (false);
            };
            k = 0;
            while (k < k)
            {
                k = (k[k] as Array);
                if ((((k == null)) || ((k.length == 0))))
                {
                    return (false);
                };
                if (k > 0)
                {
                    k = Math.min(k, k.length);
                }
                else
                {
                    k = k.length;
                };
                k++;
            };
            var k:Number = _-27x(k);
            var k:int = this.minX;
            var k:int = this.minY;
            k = this.minY;
            while (k <= this.maxY)
            {
                if (this._-0CQ(k, k) > _-2pH)
                {
                    k--;
                    break;
                };
                k++;
            };
            if (k > this.maxY)
            {
                return (false);
            };
            var k:Point = new Point(k, k);
            var k:RoomWallData = this._-1I1(k, true);
            var k:RoomWallData = this._-1I1(k, false);
            if (k != null)
            {
                k = k.count;
                k = k.count;
                this._-2oQ(k, k);
                this._-4E5(k, k);
            };
            k = 0;
            while (k < this._-1fK)
            {
                k = 0;
                while (k < this._-2TM)
                {
                    if (this._-0CQ(k, k) < 0)
                    {
                        this._-2sx(k, k, -((k + this.wallHeight)));
                    };
                    k++;
                };
                k++;
            };
            return (true);
        }
        private function _-43E(_arg1:Point, _arg2:Boolean):Point
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int = 1;
            var k:int = _-2pH;
            if (!_arg2)
            {
                k = _-Vz;
            };
            while (k < 1000)
            {
                if (this._-0CQ((_arg1.x + k), _arg1.y) > k)
                {
                    return (new Point(((_arg1.x + k) - 1), _arg1.y));
                };
                if (this._-0CQ((_arg1.x + k), (_arg1.y + 1)) <= k)
                {
                    return (new Point((_arg1.x + k), (_arg1.y + 1)));
                };
                k++;
            };
            return (null);
        }
        private function _-264(_arg1:Point, _arg2:Boolean):Point
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int = 1;
            var k:int = _-2pH;
            if (!_arg2)
            {
                k = _-Vz;
            };
            while (k < 1000)
            {
                if (this._-0CQ(_arg1.x, (_arg1.y + k)) > k)
                {
                    return (new Point(_arg1.x, (_arg1.y + (k - 1))));
                };
                if (this._-0CQ((_arg1.x - 1), (_arg1.y + k)) <= k)
                {
                    return (new Point((_arg1.x - 1), (_arg1.y + k)));
                };
                k++;
            };
            return (null);
        }
        private function _-Sm(_arg1:Point, _arg2:Boolean):Point
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int = 1;
            var k:int = _-2pH;
            if (!_arg2)
            {
                k = _-Vz;
            };
            while (k < 1000)
            {
                if (this._-0CQ((_arg1.x - k), _arg1.y) > k)
                {
                    return (new Point((_arg1.x - (k - 1)), _arg1.y));
                };
                if (this._-0CQ((_arg1.x - k), (_arg1.y - 1)) <= k)
                {
                    return (new Point((_arg1.x - k), (_arg1.y - 1)));
                };
                k++;
            };
            return (null);
        }
        private function _-56D(_arg1:Point, _arg2:Boolean):Point
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int = 1;
            var k:int = _-2pH;
            if (!_arg2)
            {
                k = _-Vz;
            };
            while (k < 1000)
            {
                if (this._-0CQ(_arg1.x, (_arg1.y - k)) > k)
                {
                    return (new Point(_arg1.x, (_arg1.y - (k - 1))));
                };
                if (this._-0CQ((_arg1.x + 1), (_arg1.y - k)) <= k)
                {
                    return (new Point((_arg1.x + 1), (_arg1.y - k)));
                };
                k++;
            };
            return (null);
        }
        private function _-0YQ(_arg1:_-06R, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean):void
        {
            var k:_-Xl;
            this._-07G(RoomPlaneData._-42W, _arg1, _arg2, _arg3, [_arg4]);
            this._-07G(RoomPlaneData._-3CH, _arg1, _arg2, _arg3, [_arg4]);
            var k:Number = (_-15r * this._-4Bn);
            var k:Number = (_-Ik * this._-bJ);
            var k:_-Xl = _-Xl._-2H2(_arg2, _arg3);
            var k:_-Xl = _-Xl.product(k, ((1 / k.length) * -(k)));
            this._-07G(RoomPlaneData._-42W, _-Xl._-3SY(_arg1, _arg3), _arg2, k, [k, _arg4]);
            if (_arg5)
            {
                this._-07G(RoomPlaneData._-42W, _-Xl._-3SY(_-Xl._-3SY(_arg1, _arg2), _arg3), _-Xl.product(_arg3, (-((_arg3.length + k)) / _arg3.length)), k, [k, _arg4]);
            };
            if (_arg6)
            {
                this._-07G(RoomPlaneData._-42W, _-Xl._-3SY(_arg1, _-Xl.product(_arg3, (-(k) / _arg3.length))), _-Xl.product(_arg3, ((_arg3.length + k) / _arg3.length)), k, [k, _arg4]);
                if (_arg7)
                {
                    k = _-Xl.product(_arg2, (k / _arg2.length));
                    this._-07G(RoomPlaneData._-42W, _-Xl._-3SY(_-Xl._-3SY(_arg1, _arg3), _-Xl.product(k, -1)), k, k, [k, _arg2, _arg4]);
                };
            };
        }
        private function _-1ur(_arg1:Array, _arg2:int, _arg3:int):_-1YE
        {
            var k:int;
            var k:int;
            var k:Array;
            var k:Array;
            var k:int;
            var k:int = _arg2;
            var k:int;
            var k:int;
            var k:Number = -1;
            var k:Number = 0;
            k = 0;
            while (k < _arg3)
            {
                k = (_arg1[k] as Array);
                k = (_arg1[k] as Array);
                if (k >= 0)
                {
                    if ((((k > 0)) && (!((Number(k[(k - 1)]) == Number(k[(k - 1)]))))))
                    {
                        break;
                    };
                    if ((((k < _arg2)) && (!((k[k] == Number(k[k]))))))
                    {
                        break;
                    };
                };
                while (k < k)
                {
                    k = Number(k[k]);
                    if (k >= 0)
                    {
                        if (k < 0)
                        {
                        }
                        else
                        {
                            if (k != k)
                            {
                                if (k > k)
                                {
                                    k = _arg3;
                                    break;
                                };
                            };
                        };
                    }
                    else
                    {
                        if (k >= 0)
                        {
                            if (k == k)
                            {
                            }
                            else
                            {
                                if (k < k)
                                {
                                    k = _arg3;
                                    break;
                                };
                            };
                        };
                    };
                    k = (k + 1);
                    k++;
                };
                k++;
            };
            if (k < 0)
            {
                return (null);
            };
            if ((k - k) < 1)
            {
                return (null);
            };
            if ((k - k) < 1)
            {
                return (null);
            };
            if (k > 0)
            {
                k = _arg1[(k - 1)];
            }
            else
            {
                k = null;
            };
            k = _arg1[k];
            k = (k + 1);
            while (k < k)
            {
                if (((((!((k == null))) && (!(((k[k] >= -1) == (k[k] >= -1)))))) || (((!((k == null))) && (!(((k[k] >= -1) == (k[k] >= -1))))))))
                {
                    break;
                };
                k++;
            };
            k = _arg1[k];
            k = (k + 1);
            while (k < k)
            {
                k = _arg1[k];
                if ((((((k > 0)) && (!(((k[(k - 1)] >= -1) == (k[(k - 1)] >= -1)))))) || ((((k < _arg2)) && (!(((k[k] >= -1) == (k[k] >= -1))))))))
                {
                    break;
                };
                k++;
            };
            return (new _-1YE(k, k, k, k, k));
        }
        private function _-4js(_arg1:Array):int
        {
            var k:int = _arg1.length;
            if (k == 0)
            {
                return (0);
            };
            var k:Array;
            var k:Array;
            var k:int;
            var k:int;
            while (k < k)
            {
                k = (_arg1[k] as Array);
                k = (this._-13X[k] as Array);
                if ((((k == null)) || ((k.length == 0))))
                {
                    return (0);
                };
                if ((((k == null)) || ((k.length == 0))))
                {
                    return (0);
                };
                if (k.length != k.length)
                {
                    return (0);
                };
                if (k > 0)
                {
                    if (k.length < k)
                    {
                        k = k.length;
                    };
                }
                else
                {
                    k = k.length;
                };
                k++;
            };
            return (k);
        }
        private function _-1st(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:Number):_-4h
        {
            var k:int;
            var k:int = 1;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            if (_arg4 < 0)
            {
                k = 0;
            };
            if (_arg4 > (_arg6 - 1))
            {
                k = 0;
            };
            var k:int = _arg1;
            while (k < _arg2)
            {
                if (k)
                {
                    k = Math.abs((this._-0CQ(k, _arg4) - this._-0CQ(k, _arg3)));
                    if (k != 1)
                    {
                        k = 0;
                    }
                    else
                    {
                        k = (this._-0CQ(k, _arg4) - this._-0CQ(k, _arg3));
                    };
                };
                if (((!(k)) && ((this._-0CQ(k, _arg4) < _arg7))))
                {
                    k = true;
                };
                k++;
            };
            var k:int = (_arg1 - 1);
            var k:int = (_arg2 + 1);
            k = (_arg1 - 1);
            while (k >= k)
            {
                k = Math.abs((this._-285(k, _arg4) - this._-285(k, _arg3)));
                if (k == 1)
                {
                    k = true;
                };
                k--;
            };
            k = _arg2;
            while (k < k)
            {
                k = Math.abs((this._-285(k, _arg4) - this._-285(k, _arg3)));
                if (k == 1)
                {
                    k = true;
                };
                k++;
            };
            return (new _-4h(k, k, k, k));
        }
        private function _-5Bl(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:Number):_-4h
        {
            var k:int;
            var k:int = 1;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            if (_arg4 < 0)
            {
                k = 0;
            };
            if (_arg4 > (_arg5 - 2))
            {
                k = 0;
            };
            var k:int = _arg1;
            while (k < _arg2)
            {
                if (k)
                {
                    k = Math.abs((this._-0CQ(_arg4, k) - this._-0CQ(_arg3, k)));
                    if (k != 1)
                    {
                        k = 0;
                    }
                    else
                    {
                        k = (this._-0CQ(_arg4, k) - this._-0CQ(_arg3, k));
                    };
                };
                if (((!(k)) && ((this._-0CQ(_arg4, k) < _arg7))))
                {
                    k = true;
                };
                k++;
            };
            var k:int = (_arg1 - 1);
            var k:int = (_arg2 + 1);
            k = (_arg1 - 1);
            while (k >= k)
            {
                k = Math.abs((this._-285(_arg4, k) - this._-285(_arg3, k)));
                if (k == 1)
                {
                    k = true;
                };
                k--;
            };
            k = _arg2;
            while (k < k)
            {
                k = Math.abs((this._-285(_arg4, k) - this._-285(_arg3, k)));
                if (k == 1)
                {
                    k = true;
                };
                k++;
            };
            return (new _-4h(k, k, k, k));
        }
        private function _-sD(_arg1:Array, _arg2:Boolean):Boolean
        {
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            if ((((((_arg1 == null)) || ((this._-13X == null)))) || ((_arg1 == this._-13X))))
            {
                return (false);
            };
            var k:int;
            var k:int;
            var k:Array;
            if (_arg1.length > this._-13X.length)
            {
                return (false);
            };
            var k:int = _arg1.length;
            if (k == 0)
            {
                return (false);
            };
            var k:int = this._-4js(_arg1);
            if (k == 0)
            {
                return (false);
            };
            var k:_-1YE = this._-1ur(_arg1, k, k);
            if (k == null)
            {
                return (false);
            };
            var k:Number = (k.right - k.left);
            var k:Number = (k.bottom - k.top);
            var k:Number = k._-t1;
            var k:Number = (k.left - 0.5);
            var k:Number = (k.top - 0.5);
            var k:_-4h = this._-1st(k.left, k.right, k.top, (k.top - 1), k, k, k);
            var k:_-4h = this._-1st(k.left, k.right, (k.bottom - 1), k.bottom, k, k, k);
            var k:_-4h = this._-5Bl(k.top, k.bottom, k.left, (k.left - 1), k, k, k);
            var k:_-4h = this._-5Bl(k.top, k.bottom, (k.right - 1), k.right, k, k, k);
            if (k._-4T9)
            {
                if (k._-4T9 > 0)
                {
                    k = false;
                    k = true;
                }
                else
                {
                    k = true;
                    k = false;
                };
                this._-1ZX(new _-Xl((k + k), (k + 0.34), (k + ((k._-4T9 / 4) * 2))), new _-Xl(-(k), 0, 0), new _-Xl(0, -0.34, 0), ((k.border) || (!(k._-2HP))), ((k.border) || (!(k._-3x5))), k, k, 0, 0, 0, 0, false, true);
                this._-1ZX(new _-Xl((k + k), (k + 0.67), (k + (k._-4T9 / 4))), new _-Xl(-(k), 0, 0), new _-Xl(0, -0.33, 0), ((k.border) || (!(k._-2HP))), ((k.border) || (!(k._-3x5))), k, k, 0, 0, 0, 0, false, true);
            };
            if (k._-4T9)
            {
                if (k._-4T9 < 0)
                {
                    k = false;
                    k = true;
                }
                else
                {
                    k = true;
                    k = false;
                };
                this._-1ZX(new _-Xl((k + k), (k + k), (k + (k._-4T9 / 4))), new _-Xl(-(k), 0, 0), new _-Xl(0, -0.33, 0), ((k.border) || (!(k._-2HP))), ((k.border) || (!(k._-3x5))), k, k, 0, 0, 0, 0, false, true);
            };
            if (k._-4T9)
            {
                if (k._-4T9 > 0)
                {
                    k = false;
                    k = true;
                }
                else
                {
                    k = true;
                    k = false;
                };
                this._-1ZX(new _-Xl((k + 0.34), (k + k), (k + ((k._-4T9 / 4) * 2))), new _-Xl(-0.34, 0, 0), new _-Xl(0, -(k), 0), k, k, ((k.border) || (!(k._-2HP))), ((k.border) || (!(k._-3x5))), 0, 0, 0, 0, true, false);
                this._-1ZX(new _-Xl((k + 0.67), (k + k), (k + (k._-4T9 / 4))), new _-Xl(-0.33, 0, 0), new _-Xl(0, -(k), 0), k, k, ((k.border) || (!(k._-2HP))), ((k.border) || (!(k._-3x5))), 0, 0, 0, 0, true, false);
            };
            if (k._-4T9)
            {
                if (k._-4T9 < 0)
                {
                    k = false;
                    k = true;
                }
                else
                {
                    k = true;
                    k = false;
                };
                this._-1ZX(new _-Xl((k + k), (k + k), (k + (k._-4T9 / 4))), new _-Xl(-0.33, 0, 0), new _-Xl(0, -(k), 0), k, k, ((k.border) || (!(k._-2HP))), ((k.border) || (!(k._-3x5))), 0, 0, 0, 0, true, false);
            };
            k = k.top;
            while (k < k.bottom)
            {
                k = _arg1[k];
                k = k.left;
                while (k < k.right)
                {
                    k[k] = -1;
                    k++;
                };
                k++;
            };
            var k:Number = 0;
            var k:Number = 0;
            var k:Number = 0;
            var k:Number = 0;
            if (((k._-4T9) || (k._-0kc)))
            {
                k = 0.65;
            };
            if (((k._-4T9) || (k._-0kc)))
            {
                k = 0.3;
            };
            if (((k._-4T9) || (k._-0kc)))
            {
                k = 0.65;
            };
            if (((k._-4T9) || (k._-0kc)))
            {
                k = 0.3;
            };
            this._-1ZX(new _-Xl((k + k), (k + k), k), new _-Xl(-(k), 0, 0), new _-Xl(0, -(k), 0), ((k.border) && (_arg2)), ((k.border) && (_arg2)), ((k.border) && (_arg2)), ((k.border) && (_arg2)), k, k, k, k, false, false);
            return (true);
        }
        private function _-1ZX(_arg1:_-06R, _arg2:_-06R, _arg3:_-06R, _arg4:Boolean, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean, _arg8:Number, _arg9:Number, _arg10:Number, _arg11:Number, _arg12:Boolean, _arg13:Boolean):void
        {
            var k:Number;
            var k:Number;
            var k:Number;
            var k:RoomPlaneData = this._-07G(RoomPlaneData._-2LS, _arg1, _arg2, _arg3);
            var k:_-06R = _arg1;
            var k:RoomPlaneData;
            var k:RoomPlaneData;
            if (k)
            {
                k = (_-Ik * this._-bJ);
                if (this._-bJ > 1)
                {
                    k = _-Ik;
                };
                if (_arg8 > 0)
                {
                    k._-4TK(0, 0, (_arg8 - 0.02), _arg3.length);
                };
                if (_arg9 > 0)
                {
                    k._-4TK((_arg2.length - _arg9), 0, _arg9, _arg3.length);
                };
                if (_arg10 > 0)
                {
                    k._-4TK(0, 0, _arg2.length, (_arg10 - 0.02));
                };
                if (_arg11 > 0)
                {
                    k._-4TK(0, (_arg3.length - _arg11), _arg2.length, _arg11);
                };
                if (_arg6)
                {
                    if ((((_arg10 > 0)) || (_arg13)))
                    {
                        k = _-Xl._-3SY(_arg1, _-Xl.product(_arg3, (_arg10 / _arg3.length)));
                    }
                    else
                    {
                        k = _arg1;
                    };
                    k = this._-07G(RoomPlaneData._-2LS, k, new _-Xl(0, 0, -(k)), _arg2);
                    if (k != null)
                    {
                        if (_arg8 > 0)
                        {
                            k._-4TK(0, 0, k, _arg8);
                        };
                        if (_arg9 > 0)
                        {
                            k._-4TK(0, (_arg2.length - _arg9), k, _arg9);
                        };
                    };
                };
                if (_arg7)
                {
                    if ((((_arg11 > 0)) || (_arg13)))
                    {
                        k = _-Xl._-3SY(_arg1, _-Xl._-3SY(_arg2, _-Xl.product(_arg3, (1 - (_arg11 / _arg3.length)))));
                    }
                    else
                    {
                        k = _-Xl._-3SY(_arg1, _-Xl._-3SY(_arg2, _arg3));
                    };
                    k = this._-07G(RoomPlaneData._-2LS, k, new _-Xl(0, 0, -(k)), _-Xl.product(_arg2, -1));
                    if (k != null)
                    {
                        if (_arg9 > 0)
                        {
                            k._-4TK(0, 0, k, _arg9);
                        };
                        if (_arg8 > 0)
                        {
                            k._-4TK(0, (_arg2.length - _arg8), k, _arg8);
                        };
                    };
                };
                if (_arg4)
                {
                    if ((((_arg8 > 0)) || (_arg12)))
                    {
                        k = _-Xl._-3SY(_arg1, _-Xl._-3SY(_arg3, _-Xl.product(_arg2, (_arg8 / _arg2.length))));
                    }
                    else
                    {
                        k = _-Xl._-3SY(_arg1, _arg3);
                    };
                    k = this._-07G(RoomPlaneData._-2LS, k, new _-Xl(0, 0, -(k)), _-Xl.product(_arg3, -1));
                    if (k != null)
                    {
                        if (_arg11 > 0)
                        {
                            k._-4TK(0, 0, k, _arg11);
                        };
                        if (_arg10 > 0)
                        {
                            k._-4TK(0, (_arg3.length - _arg10), k, _arg10);
                        };
                    };
                };
                if (_arg5)
                {
                    if ((((_arg9 > 0)) || (_arg12)))
                    {
                        k = _-Xl._-3SY(_arg1, _-Xl.product(_arg2, (1 - (_arg9 / _arg2.length))));
                    }
                    else
                    {
                        k = _-Xl._-3SY(_arg1, _arg2);
                    };
                    k = this._-07G(RoomPlaneData._-2LS, k, new _-Xl(0, 0, -(k)), _arg3);
                    if (k != null)
                    {
                        if (_arg10 > 0)
                        {
                            k._-4TK(0, 0, k, _arg10);
                        };
                        if (_arg11 > 0)
                        {
                            k._-4TK(0, (_arg3.length - _arg11), k, _arg11);
                        };
                    };
                };
            };
        }
        public function _-1aO(_arg1:XML):Boolean
        {
            var k:XML;
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:Number;
            var k:XML;
            var k:XMLList;
            var k:int;
            var k:XML;
            if (_arg1 == null)
            {
                return (false);
            };
            this.reset();
            this._-0uY();
            if (!XMLValidator._-4qb(_arg1.tileMap[0], ["width", "height", "wallHeight"]))
            {
                return (false);
            };
            var k:int = parseInt(_arg1.tileMap.@width);
            var k:int = parseInt(_arg1.tileMap.@height);
            var k:Number = parseFloat(_arg1.tileMap.@wallHeight);
            this._-1wG(k, k);
            var k:XMLList = _arg1.tileMap.tileRow;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                k = k.tile;
                k = 0;
                while (k < k.length())
                {
                    k = k[k];
                    k = parseFloat(k.@height);
                    this._-2sx(k, k, k);
                    k++;
                };
                k++;
            };
            if (_arg1.holeMap.length() > 0)
            {
                k = _arg1.holeMap[0];
                k = k.hole;
                k = 0;
                while (k < k.length())
                {
                    k = k[k];
                    if (XMLValidator._-4qb(k, ["id", "x", "y", "width", "height"]))
                    {
                        this._-4zr(k.@id, k.@x, k.@y, k.@width, k.@height);
                    };
                    k++;
                };
                this._-pO();
            };
            this.wallHeight = k;
            this._-38X();
            return (true);
        }
        private function _-07G(_arg1:int, _arg2:_-06R, _arg3:_-06R, _arg4:_-06R, _arg5:Array=null):RoomPlaneData
        {
            if ((((_arg3.length == 0)) || ((_arg4.length == 0))))
            {
                return (null);
            };
            var k:RoomPlaneData = new RoomPlaneData(_arg1, _arg2, _arg3, _arg4, _arg5);
            this._-1zq.push(k);
            return (k);
        }
        public function _-4sV():XML
        {
            var k:XML;
            var k:Array;
            var k:int;
            var k:Number;
            var k:XML;
            var k:_-2bA;
            var k:int;
            var k:XML;
            var k:XML = new XML((((((('<tileMap width="' + this._-0Dz) + '" height="') + this._height) + '" wallHeight="') + this._-25O) + '"/>'));
            var k:int;
            while (k < this._height)
            {
                k = <tileRow/>
                ;
                k = this._-cK[k];
                k = 0;
                while (k < this._-0Dz)
                {
                    k = k[k];
                    k = new XML((('<tile height="' + k) + '"/>'));
                    k.appendChild(k);
                    k++;
                };
                k.appendChild(k);
                k++;
            };
            var k:XML = <holeMap/>
            ;
            var k:int;
            while (k < this._-YJ.length)
            {
                k = this._-YJ.getWithIndex(k);
                if (k != null)
                {
                    k = this._-YJ.getKey(k);
                    k = new XML((((((((((('<hole id="' + k) + '" x="') + k.x) + '" y="') + k.y) + '" width="') + k.width) + '" height="') + k.height) + '"/>'));
                    k.appendChild(k);
                };
                k++;
            };
            var k:XML = <roomData/>
            ;
            k.appendChild(k);
            k.appendChild(k);
            var k:XML = new XML((((((((('<dimensions minX="' + this.minX) + '" maxX="') + this.maxX) + '" minY="') + this.minY) + '" maxY="') + this.maxY) + '"/>'));
            k.appendChild(k);
            return (k);
        }
        public function _-3q7(_arg1:int):_-06R
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (null);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k.loc);
            };
            return (null);
        }
        public function _-51f(_arg1:int):_-06R
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (null);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k.normal);
            };
            return (null);
        }
        public function _-3DY(_arg1:int):_-06R
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (null);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k._-5DB);
            };
            return (null);
        }
        public function _-WL(_arg1:int):_-06R
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (null);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k._-3hO);
            };
            return (null);
        }
        public function _-0gr(_arg1:int):_-06R
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (null);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k._-3xy);
            };
            return (null);
        }
        public function _-2D3(_arg1:int):Array
        {
            var k:Array;
            var k:int;
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (null);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                k = [];
                k = 0;
                while (k < k._-11b)
                {
                    k.push(k._-14a(k));
                    k++;
                };
                return (k);
            };
            return (null);
        }
        public function _-3-m(_arg1:int):int
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (RoomPlaneData._-2g0);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k.type);
            };
            return (RoomPlaneData._-2g0);
        }
        public function _-3Vx(_arg1:int):int
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (0);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k._-2tf);
            };
            return (0);
        }
        public function _-4ld(_arg1:int, _arg2:int):Number
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (-1);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k._-2MI(_arg2));
            };
            return (-1);
        }
        public function _-4Fk(_arg1:int, _arg2:int):Number
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (-1);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k._-I-(_arg2));
            };
            return (-1);
        }
        public function _-2GI(_arg1:int, _arg2:int):Number
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (-1);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k._-4RA(_arg2));
            };
            return (-1);
        }
        public function _-Hp(_arg1:int, _arg2:int):Number
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-ER))))
            {
                return (-1);
            };
            var k:RoomPlaneData = (this._-1zq[_arg1] as RoomPlaneData);
            if (k != null)
            {
                return (k._-4Kp(_arg2));
            };
            return (-1);
        }
        public function _-4zr(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void
        {
            this._-0wC(_arg1);
            var k:_-2bA = new _-2bA(_arg2, _arg3, _arg4, _arg5);
            this._-YJ.add(_arg1, k);
        }
        public function _-0wC(_arg1:int):void
        {
            this._-YJ.remove(_arg1);
        }
        public function _-0uY():void
        {
            this._-YJ.reset();
        }
        private function _-pO():void
        {
            var k:int;
            var k:int;
            var k:Array;
            var k:_-2bA;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            k = 0;
            while (k < this._height)
            {
                k = this._-0Nk[k];
                k = 0;
                while (k < this._-0Dz)
                {
                    k[k] = false;
                    k++;
                };
                k++;
            };
            var k:int;
            while (k < this._-YJ.length)
            {
                k = this._-YJ.getWithIndex(k);
                if (k != null)
                {
                    k = k.x;
                    k = ((k.x + k.width) - 1);
                    k = k.y;
                    k = ((k.y + k.height) - 1);
                    k = (((k < 0)) ? 0 : k);
                    k = (((k >= this._-0Dz)) ? (this._-0Dz - 1) : k);
                    k = (((k < 0)) ? 0 : k);
                    k = (((k >= this._height)) ? (this._height - 1) : k);
                    while (k <= k)
                    {
                        k = this._-0Nk[k];
                        while (k <= k)
                        {
                            k[k] = true;
                            k++;
                        };
                        k++;
                    };
                };
                k++;
            };
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3mW.RoomWallData

package _-3mW
{
    import _-0y0._-Xl;
    import flash.geom.Point;
    import _-0y0._-06R;

    public class RoomWallData 
    {

        public static var _-38K:Array = [];
        public static var _-1pe:Array = [];

        private var _-44-:Array;
        private var _-3Hd:Array;
        private var _-0r7:Array;
        private var _-3BZ:Array;
        private var _-0o1:Array;
        private var _-5-n:Array;
        private var _-E9:Array;
        private var _-0yP:Array;
        private var _-3C8:Array;
        private var _-3WV:int = 0;

        {
            _-38K.push(new _-Xl(1, 0, 0));
            _-38K.push(new _-Xl(0, 1, 0));
            _-38K.push(new _-Xl(-1, 0, 0));
            _-38K.push(new _-Xl(0, -1, 0));
            _-1pe.push(new _-Xl(0, 1, 0));
            _-1pe.push(new _-Xl(-1, 0, 0));
            _-1pe.push(new _-Xl(0, -1, 0));
            _-1pe.push(new _-Xl(1, 0, 0));
        }
        public function RoomWallData()
        {
            this._-44- = [];
            this._-3Hd = [];
            this._-0r7 = [];
            this._-3BZ = [];
            this._-0o1 = [];
            this._-5-n = [];
            this._-E9 = [];
            this._-0yP = [];
            this._-3C8 = [];
            super();
        }
        public function _-0YQ(_arg1:Point, _arg2:int, _arg3:int, _arg4:Boolean, _arg5:Boolean):void
        {
            this._-44-.push(_arg1);
            this._-0r7.push(_arg2);
            this._-3BZ.push(_arg3);
            this._-5-n.push(_arg4);
            this._-0o1.push(_arg5);
            this._-E9.push(false);
            this._-0yP.push(false);
            this._-3C8.push(false);
            this._-3WV++;
        }
        public function get count():int
        {
            return (this._-3WV);
        }
        public function _-2mv(_arg1:int):Point
        {
            return (this._-44-[_arg1]);
        }
        public function _-210(_arg1:int):Point
        {
            this._-3HZ();
            return (this._-3Hd[_arg1]);
        }
        public function _-13J(_arg1:int):int
        {
            return (this._-3BZ[_arg1]);
        }
        public function getDirection(_arg1:int):int
        {
            return (this._-0r7[_arg1]);
        }
        public function _-wG(_arg1:int):Boolean
        {
            return (this._-5-n[_arg1]);
        }
        public function _-196(_arg1:int):Boolean
        {
            return (this._-E9[_arg1]);
        }
        public function _-4X9(_arg1:int):Boolean
        {
            return (this._-0o1[_arg1]);
        }
        public function _-20s(_arg1:int):Boolean
        {
            return (this._-0yP[_arg1]);
        }
        public function _-209(_arg1:int):Boolean
        {
            return (this._-3C8[_arg1]);
        }
        public function _-Q2(_arg1:int, _arg2:Boolean):void
        {
            this._-E9[_arg1] = _arg2;
        }
        public function _-2Ne(_arg1:int, _arg2:int):void
        {
            if (_arg2 < this._-3BZ[_arg1])
            {
                this._-3BZ[_arg1] = _arg2;
                this._-3C8[_arg1] = true;
            };
        }
        public function _-2Mu(_arg1:int, _arg2:int):void
        {
            var k:_-06R;
            if ((((_arg2 > 0)) && ((_arg2 < this._-3BZ[_arg1]))))
            {
                k = _-38K[this.getDirection(_arg1)];
                this._-44-[_arg1] = this._-44-[_arg1].add(new Point((_arg2 * k.x), (_arg2 * k.y)));
                this._-3BZ[_arg1] = (this._-3BZ[_arg1] - _arg2);
                this._-0yP[_arg1] = true;
            };
        }
        private function _-3HZ():void
        {
            var k:int;
            var k:Point;
            var k:Point;
            var k:_-06R;
            var k:int;
            if (this._-3Hd.length != this.count)
            {
                this._-3Hd = [];
                k = 0;
                while (k < this.count)
                {
                    k = this._-2mv(k);
                    k = new Point(k.x, k.y);
                    k = RoomWallData._-38K[this.getDirection(k)];
                    k = this._-13J(k);
                    k.x = (k.x + (k.x * k));
                    k.y = (k.y + (k.y * k));
                    this._-3Hd.push(k);
                    k++;
                };
            };
        }

    }
}//package _-3mW

//------------------------------------------------------------
//_-3N5._-2VA

package _-3N5
{
    import _-1B-.*;

    public interface _-2VA extends _-4yI 
    {

        function set visible(_arg1:Boolean):void;
        function get visible():Boolean;
        function set _-o1(_arg1:uint):void;
        function get _-o1():uint;
        function changeStreamState(_arg1:Boolean):void;
        function _-1ne():void;
        function _-P3(_arg1:int, _arg2:String):void;
        function _-348(_arg1:EventStreamEntity):void;
        function _-4r8(_arg1:String):Boolean;

    }
}//package _-3N5

//------------------------------------------------------------
//_-3N5.EventStreamEntity

package _-3N5
{
    import __AS3__.vec.Vector;
    import _-Ew.IWindowContainer;
    import _-3X8._-0hg;
    import _-295._-39L;
    import _-2gz._-2UE;
    import _-0A6._-nM;
    import _-0Ie.WindowMouseEvent;
    import _-09j.WindowParam;
    import _-1ae._-0C5;
    import _-295._-2kE;
    import _-295._-4Rz;
    import flash.display.BitmapData;
    import flash.net.URLRequest;
    import _-1tB.AssetLoaderEvent;
    import _-1ae.IBitmapWrapperWindow;
    import _-Ew.IWindow;
    import _-uF.ILocalization;
    import _-1ae.ITextWindow;
    import _-0A6.LinkResolver;
    import _-1ae.IRegionWindow;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class EventStreamEntity implements _-1zZ 
    {

        private static const _-2yU:Vector.<EventStreamEntity> = new Vector.<EventStreamEntity>();
        private static const _-3xR:String = "title";
        private static const MESSAGE:String = "message";
        private static const LINK:String = "link";
        private static const _-4Ey:String = "time";
        private static const _-1B6:String = "canvas";
        private static const _-1Ip:String = "like";
        private static const _-2gq:String = "border";
        private static const _-3v4:String = "label";
        private static const _-1OJ:String = "icon";
        private static const _-4T4:uint = 4293519841;
        private static const _-3NV:uint = 4292467926;
        private static const _-163:uint = 0xFF0077B6;
        private static const _-2yn:uint = 4283058242;
        private static const _-3ew:String = "minutes";
        private static const _-3ml:String = "hours";
        private static const _-0sV:String = "days";

        public static var _-4JS:IWindowContainer;
        public static var _-4M-:_-0hg;
        public static var _-14d:_-39L;
        public static var _-33F:_-2VA;
        public static var _-1uY:_-2UE;
        public static var _-rx:Boolean = true;

        private var _-0xv:IWindowContainer;
        private var _disposed:Boolean = false;
        private var _-4-t:Boolean = false;
        private var _-0Kq:int = -1;
        private var _-51m:int;
        private var _-08O:String;
        private var _-589:_-nM;
        private var _-1Ya:int;
        private var _-50o:String;

        public function EventStreamEntity():void
        {
            this._-0xv = (_-4JS.clone() as IWindowContainer);
            if (_-rx)
            {
                this._-0xv.addEventListener(WindowMouseEvent._-90, this._-i4);
            }
            else
            {
                this._-0xv.setParamFlag(WindowParam._-55Y, false);
            };
            this._-0xv.findChildByName(_-3xR).addEventListener(WindowMouseEvent._-90, this._-18Z);
            this._-0xv.findChildByName(LINK).addEventListener(WindowMouseEvent._-90, this._-3zf);
        }
        public static function _-2W5():EventStreamEntity
        {
            var k:EventStreamEntity = (((_-2yU.length > 0)) ? _-2yU.pop() : new (EventStreamEntity)());
            k._-4-t = false;
            return (k);
        }

        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function set _-3vu(_arg1:Boolean):void
        {
            this._-0xv.color = ((_arg1) ? _-4T4 : _-3NV);
            this._-0xv.findChildByName(_-2gq).visible = false;
        }
        public function get _-3vu():Boolean
        {
            return ((this._-0xv.color == _-4T4));
        }
        public function set title(_arg1:String):void
        {
            this._-0xv.findChildByName(_-3xR).caption = _arg1;
        }
        public function get title():String
        {
            return (((this._-0xv) ? this._-0xv.findChildByName(_-3xR).caption : null));
        }
        public function set message(_arg1:String):void
        {
            this._-0xv.findChildByName(MESSAGE).caption = _arg1;
        }
        public function get message():String
        {
            return (((this._-0xv) ? this._-0xv.findChildByName(MESSAGE).caption : null));
        }
        public function set _-2A-(_arg1:int):void
        {
            IWindowContainer(this._-0xv.findChildByName(_-1Ip)).findChildByName(_-3v4).caption = String(_arg1);
        }
        public function get _-2A-():int
        {
            return (((this._-0xv) ? parseInt(IWindowContainer(this._-0xv.findChildByName(_-1Ip)).findChildByName(_-3v4).caption) : 0));
        }
        public function set _-4to(_arg1:Boolean):void
        {
            this._-38Q(_arg1);
        }
        public function set _-48-(_arg1:Boolean):void
        {
            if (this._-0xv)
            {
                this._-0xv.findChildByName(_-1Ip).visible = _arg1;
            };
        }
        public function get accountId():String
        {
            return (this._-08O);
        }
        public function set accountId(_arg1:String):void
        {
            this._-08O = _arg1;
        }
        public function get _-3Tr():int
        {
            return (this._-51m);
        }
        public function set _-3Tr(_arg1:int):void
        {
            this._-51m = _arg1;
        }
        public function set linkTarget(_arg1:_-nM):void
        {
            this._-589 = _arg1;
            var k:_-0C5 = _-0C5(this._-0xv.findChildByName(LINK));
            if (this._-589.type == _-nM.NONE)
            {
                k.visible = false;
                k.caption = "";
            }
            else
            {
                k.visible = true;
                k.caption = _arg1.text;
            };
        }
        public function get linkTarget():_-nM
        {
            return (this._-589);
        }
        public function set _-1ke(_arg1:String):void
        {
            var k:_-2kE;
            var _local3:_-4Rz;
            if (!_arg1)
            {
                return;
            };
            if (_arg1 != this._-50o)
            {
                this._-50o = _arg1;
                k = _-14d.getAssetByName(_arg1);
                if (k)
                {
                    this.image = (k.content as BitmapData);
                }
                else
                {
                    _local3 = _-14d.loadAssetFromFile(_arg1, new URLRequest(_arg1));
                    _local3.addEventListener(AssetLoaderEvent._-1Tr, this._-0eL);
                    _local3.addEventListener(AssetLoaderEvent._-4ar, this._-0eL);
                };
            };
        }
        public function set image(_arg1:BitmapData):void
        {
            var k:IBitmapWrapperWindow;
            var k:Number;
            var k:Number;
            if (((((!(this.disposed)) && (this._-0xv))) && (_arg1)))
            {
                k = (this._-0xv.findChildByName(_-1B6) as IBitmapWrapperWindow);
                k = (k.x + (k.width / 2));
                k = (k.y + (k.height / 2));
                k.bitmap = _arg1;
                k.x = (k - (_arg1.width / 2));
                k.y = (k - (_arg1.height / 2));
                k.width = _arg1.width;
                k.height = _arg1.height;
                this._-50o = null;
            };
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-4Sx():Boolean
        {
            return (this._-4-t);
        }
        public function set _-3dY(_arg1:int):void
        {
            this._-1Ya = _arg1;
            var k:String = _-3ew;
            if (this._-1Ya >= (24 * 60))
            {
                k = _-0sV;
                k = (_arg1 / (24 * 60));
            }
            else
            {
                if (this._-1Ya >= 60)
                {
                    k = _-3ml;
                    k = (_arg1 / 60);
                };
            };
            var k:ILocalization = _-4M-.getLocalization((("friendbar.stream." + k) + ".ago"));
            this._-0xv.findChildByName(_-4Ey).caption = ((k) ? k._-ad.replace("%value%", String(_arg1)) : "...?");
        }
        public function get _-3dY():int
        {
            return (this._-1Ya);
        }
        public function recycle():void
        {
            if (!this._-4-t)
            {
                if (!this._disposed)
                {
                    this._-0xv.parent = null;
                    IBitmapWrapperWindow(this._-0xv.findChildByName(_-1B6)).bitmap = null;
                    this._-50o = null;
                    this._-38Q(false);
                    this._-4-t = true;
                    _-2yU.push(this);
                };
            };
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-38Q(false);
                if (this._-0xv)
                {
                    this._-0xv.removeEventListener(WindowMouseEvent._-90, this._-i4);
                    this._-0xv.findChildByName(LINK).removeEventListener(WindowMouseEvent._-90, this._-3zf);
                    this._-0xv.findChildByName(_-3xR).removeEventListener(WindowMouseEvent._-90, this._-18Z);
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                if (this._-4-t)
                {
                    _-2yU.splice(_-2yU.indexOf(this), 1);
                    this._-4-t = false;
                };
                this._disposed = true;
            };
        }
        private function _-i4(_arg1:WindowMouseEvent):void
        {
            _-33F._-P3(parseInt(this._-08O), ITextWindow(this._-0xv.findChildByName(_-3xR)).text);
        }
        private function _-3zf(_arg1:WindowMouseEvent):void
        {
            var k:IWindow;
            _-1uY.trackEventLog("Eventstream", this._-51m.toString(), "stream.reaction_link_clicked");
            if (this.linkTarget.type == _-nM._-1pL)
            {
                _-1uY.trackGoogle("extendedProfile", "stream_link");
            };
            if (LinkResolver.open(this._-589))
            {
                k = this._-0xv.findChildByName(LINK);
                k.removeEventListener(WindowMouseEvent._-90, this._-3zf);
                k.visible = false;
            };
        }
        private function _-18Z(_arg1:WindowMouseEvent):void
        {
            var k:Number = parseInt(this._-08O);
            if (((!(isNaN(k))) && ((k > 0))))
            {
                _-1uY.trackGoogle("extendedProfile", "stream_title");
                LinkResolver.open(new _-nM("", _-nM._-1pL, k, null, null));
            };
        }
        private function _-8g(_arg1:WindowMouseEvent):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (((_-33F) && (!(_-33F.disposed))))
                {
                    _-33F._-348(this);
                    IWindowContainer(this._-0xv.findChildByName(_-1Ip)).findChildByName(_-2gq).visible = false;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    IWindowContainer(this._-0xv.findChildByName(_-1Ip)).findChildByName(_-2gq).visible = true;
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        IWindowContainer(this._-0xv.findChildByName(_-1Ip)).findChildByName(_-2gq).visible = false;
                    };
                };
            };
        }
        private function _-38Q(_arg1:Boolean):void
        {
            var k:IRegionWindow = (this._-0xv.findChildByName(_-1Ip) as IRegionWindow);
            k.removeEventListener(WindowMouseEvent._-4ea, this._-8g);
            k.removeEventListener(WindowMouseEvent._-4e2, this._-8g);
            k.removeEventListener(WindowMouseEvent._-90, this._-8g);
            ITextWindow(k.findChildByName(_-3v4)).underline = _arg1;
            ITextWindow(k.findChildByName(_-3v4)).textColor = ((_arg1) ? _-163 : _-2yn);
            if (_arg1)
            {
                k.addEventListener(WindowMouseEvent._-4ea, this._-8g);
                k.addEventListener(WindowMouseEvent._-4e2, this._-8g);
                k.addEventListener(WindowMouseEvent._-90, this._-8g);
                k.enable();
            }
            else
            {
                k.disable();
            };
        }
        private function _-0eL(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz;
            var k:_-2kE;
            if (_arg1.type == AssetLoaderEvent._-1Tr)
            {
                k = (_arg1.target as _-4Rz);
                if (k.assetName == this._-50o)
                {
                    k = _-14d.getAssetByName(this._-50o);
                    if (k)
                    {
                        this.image = (k.content as BitmapData);
                    };
                };
            };
        }

    }
}//package _-3N5

//------------------------------------------------------------
//_-3N5.HabboEventStream

package _-3N5
{
    import _-16i.AbstractView;
    import _-Ew.IWindowContainer;
    import __AS3__.vec.Vector;
    import _-2np._-1ZV;
    import flash.utils.Timer;
    import _-16i._-tO;
    import _-3gx._-4BJ;
    import _-2JC.EventStreamData;
    import _-2Zz._-4WD;
    import _-2Zz._-2u5;
    import _-2Kq._-bP;
    import _-18r.Map;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboFriendBarView;
    import flash.events.TimerEvent;
    import _-0eb._-1ih;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-0Ie.WindowMouseEvent;
    import _-4pF._-3Ts;
    import _-1Jd._-51K;
    import _-1ae.IItemListWindow;
    import _-2Kq.StreamView;
    import _-2Kq._-2wx;
    import _-2Kq.WelcomeView;
    import _-2Kq._-6h;
    import _-uF.ILocalization;
    import _-0A6._-nM;
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import _-yT._-a5;
    import com.sulake.iid.IIDRoomEngine;
    import _-36u._-2l0;
    import _-293._-5-S;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-09j.WindowParam;
    import _-2Kq._-p0;
    import _-2ly._-11j;
    import _-4u5._-20S;
    import _-4u5._-3j9;
    import _-2JC._-2k3;
    import _-1HK._-GF;
    import _-4u5._-3fy;
    import _-4u5._-0O0;
    import _-4u5._-33e;
    import _-0A6._-4j9;
    import __AS3__.vec.*;
    import _-16i.*;
    import _-IS.*;

    public class HabboEventStream extends AbstractView implements _-2VA, _-TI 
    {

        private static const _-0Qu:String = "page_stream";
        private static const _-2gC:String = "page_welcome";
        private static const _-13I:String = "page_settings";
        private static const _-1Oo:String = "page_empty_own";
        private static const _-3qe:String = "page_empty_other";
        private static const _-3xR:String = "title";
        private static const _-0YW:String = "header";
        private static const _-3vL:String = "status";
        private static const CLOSE:String = "close";
        private static const _-4YO:String = "like";
        private static const ICON:String = "icon";
        private static const _-3FL:String = "disable_stream";
        private static const ACTIVATE:String = "activate_stream";
        private static const _-19G:String = "see_more";
        private static const _-kb:String = "open_settings";
        public static const _-0uX:uint = 0;
        public static const _-4Ti:uint = 1;
        public static const _-4O9:uint = 2;
        private static const _-1xV:int = -2;
        private static const _-0YN:int = -3;
        private static const _-26t:int = 42;
        private static const _-1-E:String = "stream_info_icon_default_png";
        private static const _-0l5:String = "stream_info_icon_hover_png";
        private static const _-1OL:String = "stream_info_icon_pressed_png";
        private static const _-2re:int = (1000 * 60);//60000
        private static const _-3Do:int = ((1000 * 60) * 3);//180000
        private static const _-2bK:int = (1000 * 5);//5000
        private static const _-2ou:int = -1;
        private static const _-1Xg:String = "${friendbar.stream.hotel_manager.title}";
        private static const _-3iT:Array = ["friend_made", "room_liked", "achievement_earned", "motto_changed", "room_decorated", "status_update", "comment", "purchase", "pet_purchase", "create_group", "join_group", "join_room_event"];
        private static const _-yD:Array = ["no_link", "open_mini_profile", "visit_room", "open_achievements", "open_motto_changer", "friend_request", "external_link", "open_catalog"];
        private static const _-0iC:String = "friendbar.stream.";

        private var _-0xv:IWindowContainer;
        private var _-0Zs:Vector.<EventStreamEntity>;
        private var _-51u:_-1ZV;
        private var _-3WC:Boolean = false;
        private var _-48P:Timer;
        private var _-14J:Timer;
        private var _-6n:_-tO;
        private var _-1Uj:_-4BJ;
        private var _-18d:Boolean;
        private var _-3-z:Vector.<int>;
        private var _-3bC:Vector.<EventStreamData>;
        private var _-3uD:Boolean = false;
        private var _-2mn:Boolean = false;
        private var _-4d6:Boolean = false;
        private var _-4sA:Boolean = false;
        private var _-0Wy:Boolean = false;
        private var _-41o:int = 2;
        private var _-Cg:int = -1;
        private var _-4DS:String = "${friendbar.stream.hotel_manager.title}";
        private var _-2Bk:_-4WD;
        private var _-1A:_-2u5;
        private var _-11K:Vector.<_-bP>;
        private var _-Ke:_-bP;
        private var _-1r4:Map;

        public function HabboEventStream(_arg1:_-1ih, _arg2:uint, _arg3:_-39L)
        {
            this._-3-z = new Vector.<int>();
            this._-1r4 = new Map();
            super(_arg1, _arg2, _arg3);
            this._-0Zs = new Vector.<EventStreamEntity>();
            this._-11K = new Vector.<_-bP>();
            queueInterface(new IIDHabboCommunicationManager(), this._-01z);
            queueInterface(new IIDHabboFriendBarView(), this._-4em);
            this._-1r4.add("m", "his");
            this._-1r4.add("f", "her");
            if (!this._-14J)
            {
                this._-14J = new Timer(_-3Do);
                this._-14J.addEventListener(TimerEvent.TIMER, this._-1IT);
            };
        }
        public function set visible(_arg1:Boolean):void
        {
            if (_arg1)
            {
                if (!this._-0xv)
                {
                    this._-3mA();
                    if (this._-3bC)
                    {
                        this.populate(this._-3bC);
                        this._-3bC = null;
                    };
                };
                this._-0xv.x = (this._-0xv.desktop.width - (this._-0xv.width + _-0YN));
                this._-0xv.y = _-1xV;
                this._-0xv.height = (this._-0xv.desktop.height - (_-1xV + _-26t));
                this._-0xv.visible = true;
                this._-0xv.activate();
                if (this._-41o == _-4O9)
                {
                    this._-P3(this._-Cg, this._-4DS);
                }
                else
                {
                    this._-1ne();
                };
            }
            else
            {
                this._-1VI();
            };
        }
        public function get visible():Boolean
        {
            return (((this._-0xv) ? this._-0xv.visible : false));
        }
        public function get _-oH():uint
        {
            return (this._-41o);
        }
        public function get requestAccountId():int
        {
            return ((((this._-41o == _-4O9)) ? this._-Cg : _-0pW.userId));
        }
        public function get localization():_-0hg
        {
            return (_-1u4);
        }
        public function get header():_-2u5
        {
            return (this._-1A);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-48P)
                {
                    this._-48P.stop();
                    this._-48P.removeEventListener(TimerEvent.TIMER, this._-zI);
                    this._-48P = null;
                };
                if (this._-14J)
                {
                    this._-14J.stop();
                    this._-14J.removeEventListener(TimerEvent.TIMER, this._-1IT);
                    this._-14J = null;
                };
                while (this._-0Zs.length > 0)
                {
                    this._-0Zs.pop().dispose();
                };
                while (this._-11K.length > 0)
                {
                    this._-11K.pop().dispose();
                };
                if (EventStreamEntity._-4JS)
                {
                    EventStreamEntity._-4JS.dispose();
                };
                EventStreamEntity._-4JS = null;
                EventStreamEntity._-4M- = null;
                EventStreamEntity._-14d = null;
                EventStreamEntity._-33F = null;
                EventStreamEntity._-1uY = null;
                if (this._-2Bk)
                {
                    this._-2Bk.dispose();
                    this._-2Bk = null;
                };
                if (this._-1A)
                {
                    this._-1A.dispose();
                    this._-1A = null;
                };
                if (this._-0xv)
                {
                    this._-0xv.removeEventListener(WindowMouseEvent._-90, this.onMouseClick);
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                if (this._-1Uj)
                {
                    if (!this._-1Uj.disposed)
                    {
                        this._-1Uj.release(new IIDHabboCommunicationManager());
                        this._-1Uj = null;
                    };
                };
                if (this._-6n)
                {
                    if (!this._-6n.disposed)
                    {
                        this._-6n.release(new IIDHabboFriendBarView());
                        this._-6n = null;
                    };
                };
                super.dispose();
            };
        }
        public function set _-o1(_arg1:uint):void
        {
            var k:_-bP;
            if (this._-Ke)
            {
                if (this._-Ke.type == _arg1)
                {
                    this._-Ke.populate(this._-0Zs);
                    return;
                };
                this._-Ke.visible = false;
                this._-Ke = null;
            };
            for each (k in this._-11K)
            {
                if (k.type == _arg1)
                {
                    this._-Ke = k;
                    this._-Ke.visible = true;
                    this._-Ke.populate(this._-0Zs);
                    return;
                };
            };
        }
        public function get _-o1():uint
        {
            return (((this._-Ke) ? this._-Ke.type : int.MAX_VALUE));
        }
        public function get windowManager():_-3Ts
        {
            return (_-U-);
        }
        public function get sessionDataManager():_-51K
        {
            return (_-0pW);
        }
        public function get seenStreamEventIds():Vector.<int>
        {
            return (this._-3-z);
        }
        public function get _-cb():Boolean
        {
            return (this._-4sA);
        }
        public function populate(_arg1:Vector.<EventStreamData>):void
        {
            var k:Boolean;
            var k:EventStreamEntity;
            var k:EventStreamData;
            var k:IItemListWindow;
            var _local6:EventStreamData;
            if (!this._-0xv)
            {
                this._-3mA();
            };
            if (this.visible)
            {
                this._-B0();
                this._-Ke.filter(_arg1);
                k = ((this._-0Zs.length % 2) == 0);
                for each (k in _arg1)
                {
                    k = this._-2Dz(k);
                    k._-3vu = k;
                    k = !(k);
                    this._-0Zs.push(k);
                    if (this._-3-z.indexOf(k.id) == -1)
                    {
                        this._-3-z.push(k.id);
                    };
                };
                this._-KW(this._-18d, (_arg1.length > 0));
                k = (this._-0xv.findChildByName(_-3xR) as IItemListWindow);
                this._-3uD = false;
                this._-2Bk.visible = (((((this._-41o == _-4Ti)) || ((this._-41o == _-0uX)))) && ((((this._-Ke is StreamView)) || ((this._-Ke is _-2wx)))));
                this._-1A.visible = (((((this._-41o == _-4O9)) && (!((this._-Ke is WelcomeView))))) || ((this._-Ke is _-6h)));
            }
            else
            {
                for each (_local6 in _arg1)
                {
                    if ((((this._-3-z.indexOf(_local6.id) == -1)) && (!(this._-2R5(_local6)))))
                    {
                        this._-3uD = true;
                        break;
                    };
                };
            };
        }
        private function _-2R5(_arg1:EventStreamData):Boolean
        {
            return (((((((_arg1) && (_-0pW))) && ((_arg1._-3Tr == EventStreamData._-3tR)))) && ((_arg1.accountId == _-0pW.userId.toString()))));
        }
        protected function _-B0():void
        {
            while (this._-0Zs.length > 0)
            {
                this._-0Zs.pop().recycle();
            };
        }
        protected function _-2Dz(_arg1:EventStreamData):EventStreamEntity
        {
            var k:EventStreamEntity = EventStreamEntity._-2W5();
            k.id = _arg1.id;
            k.title = this._-3sL(_arg1);
            k.message = this._-4rj(_arg1);
            k.linkTarget = this._-3Zi(_arg1);
            k._-2A- = _arg1._-2A-;
            k._-48- = this._-4d6;
            k._-4to = ((_arg1._-4to) && (this._-4d6));
            k._-3dY = _arg1._-2rq;
            k.accountId = _arg1.accountId;
            k._-3Tr = _arg1._-3Tr;
            this._-2X6(k, _arg1);
            return (k);
        }
        private function _-3sL(_arg1:EventStreamData):String
        {
            switch (_arg1._-3Tr)
            {
                case EventStreamData._-1Jc:
                    return (_-1Xg);
                default:
                    return (_arg1._-5C5);
            };
        }
        private function _-4rj(_arg1:EventStreamData):String
        {
            var _local6:ILocalization;
            var k:int = _arg1._-3Tr;
            switch (k)
            {
                case EventStreamData._-1Jc:
                    return (_arg1.extraDataStruct.hotelManagerMessage);
                case EventStreamData._-3tR:
                case EventStreamData._-2AN:
                    return (_arg1.extraDataStruct.statusMessage);
            };
            var k:String = ("friendbar.stream.type." + _-3iT[k]);
            var k:ILocalization = _-1u4.getLocalization(k);
            if (!k)
            {
                return (k);
            };
            var k:String = k._-ad;
            switch (k)
            {
                case EventStreamData._-1-Y:
                    k = k.replace("%targetString%", _arg1.extraDataStruct.friendName);
                    break;
                case EventStreamData._-489:
                    k = k.replace("%targetString%", _arg1.extraDataStruct.roomName);
                    break;
                case EventStreamData._-45-:
                    k = k.replace("%targetString%", _-1u4.getAchievementName(_arg1.extraDataStruct.achievementCode));
                    break;
                case EventStreamData._-3Pu:
                    _local6 = _-1u4.getLocalization((_-0iC + this._-1r4.getValue(_arg1._-4u8)));
                    k = k.replace("%gender%", _local6.value);
                    k = k.replace("%targetString%", _arg1.extraDataStruct.motto);
                    break;
                case EventStreamData._-2Ej:
                    break;
                case EventStreamData._-3U1:
                    break;
                case EventStreamData._-0z5:
                    k = k.replace("%name%", _arg1.extraDataStruct.name);
                    break;
                case EventStreamData._-4fu:
                    k = k.replace("%groupName%", _arg1.extraDataStruct.groupName);
                    break;
                case EventStreamData._-1u8:
                    k = k.replace("%groupName%", _arg1.extraDataStruct.groupName);
                    break;
                case EventStreamData._-31f:
                    k = k.replace("%targetString%", _arg1.extraDataStruct.eventName);
                    break;
            };
            return (k);
        }
        private function _-3Zi(_arg1:EventStreamData):_-nM
        {
            var k:String;
            var k:String = ("friendbar.stream.link." + _-yD[_arg1._-0ib]);
            var k:uint = _-nM.NONE;
            var k:uint;
            var k:String;
            var k:Array = [];
            var k:ILocalization = _-1u4.getLocalization(k);
            k = ((k) ? k._-ad : "");
            switch (_arg1._-0ib)
            {
                case EventStreamData._-2KY:
                    k = "";
                    k = _-nM.NONE;
                    break;
                case EventStreamData._-2iH:
                    if ((((_arg1._-3Tr == EventStreamData._-1u8)) || ((_arg1._-3Tr == EventStreamData._-4fu))))
                    {
                        k = k.replace("%targetString%", _arg1._-5C5);
                        k = parseInt(_arg1.accountId);
                    }
                    else
                    {
                        k = k.replace("%targetString%", _arg1.extraDataStruct.friendName);
                        k = _arg1.extraDataStruct.friendId;
                    };
                    k = _-nM._-1pL;
                    break;
                case EventStreamData._-3X5:
                    k = _-nM._-GI;
                    k = _arg1.extraDataStruct.roomId;
                    break;
                case EventStreamData._-0b2:
                    k = _-nM.ACHIEVEMENTS;
                    break;
                case EventStreamData._-aC:
                    k = _-nM._-3Go;
                    k = _-0pW.userId;
                    break;
                case EventStreamData._-3FJ:
                    k = k.replace("%targetString%", _arg1.extraDataStruct.friendName);
                    k = _-nM._-Uy;
                    k = _arg1.extraDataStruct.friendId;
                    k = _arg1.extraDataStruct.friendName;
                    break;
                case EventStreamData._-41j:
                    k = "${friendbar.stream.open_external_link}";
                    k = _-nM._-U;
                    k = _arg1.extraDataStruct.externalLink;
                    break;
                case EventStreamData._-58P:
                    k = _-nM._-2SN;
                    k = [_arg1.extraDataStruct.catalogPageId, _arg1.extraDataStruct.offerId];
                    break;
            };
            return (new _-nM(k, k, k, k, k));
        }
        private function _-2X6(_arg1:EventStreamEntity, _arg2:EventStreamData):void
        {
            var image:BitmapData;
            var stream:HabboEventStream;
            var activityLevel:int;
            var callback:Function;
            var entity:EventStreamEntity = _arg1;
            var data:EventStreamData = _arg2;
            var result:String = data._-1ke;
            var action:int = data._-3Tr;
            switch (action)
            {
                case EventStreamData._-1Jc:
                    entity.image = (BitmapDataAsset(assets.getAssetByName("habbo_h_logo_png")).content as BitmapData);
                    return;
                case EventStreamData._-45-:
                    image = _-0pW.requestBadgeImage(data.extraDataStruct.achievementCode);
                    if (image)
                    {
                        entity.image = image;
                    }
                    else
                    {
                        callback = function (_arg1:_-a5):void
                        {
                            if (_arg1.badgeId == data.extraDataStruct.achievementCode)
                            {
                                entity.image = _arg1._-0tr;
                                _-0pW.events.removeEventListener(_-a5._-4pG, arguments.callee);
                            };
                        };
                        _-0pW.events.addEventListener(_-a5._-4pG, callback);
                    };
                    return;
                case EventStreamData._-0z5:
                    stream = this;
                    queueInterface(new IIDRoomEngine(), function (_arg1:_-Wo, _arg2:_-4yI):void
                    {
                        var k:int = data.extraDataStruct.typeId;
                        var k:int = data.extraDataStruct.paletteId;
                        var k:int = parseInt(String(data.extraDataStruct.color), 16);
                        var k:_-2l0 = new _-2l0(stream, _-5-S(_arg2), entity, k, k, k);
                        _arg2.release(_arg1);
                    });
                    return;
                case EventStreamData._-2AN:
                    if (((((((this._-6n) && (!(this._-6n.disposed)))) && (_-0pW))) && (!(_-0pW.disposed))))
                    {
                        entity.image = this._-6n.getAvatarFaceBitmap(_-0pW.figure);
                    };
                    return;
                case EventStreamData._-31f:
                case EventStreamData._-489:
                    activityLevel = data.extraDataStruct.activityLevel;
                    if (activityLevel < 0)
                    {
                        activityLevel = 0;
                    };
                    if (activityLevel > 4)
                    {
                        activityLevel = 4;
                    };
                    entity.image = (assets.getAssetByName((("room_activity_icon_" + activityLevel) + "_png")).content as BitmapData);
                    return;
                default:
                    entity._-1ke = result;
            };
        }
        private function _-3mA():void
        {
            var k:IWindow;
            var k:IBitmapWrapperWindow;
            var k:IWindowContainer;
            if (!this._-0xv)
            {
                this._-0xv = (_-U-.buildFromXML((assets.getAssetByName("event_stream_display_xml").content as XML)) as IWindowContainer);
                this._-0xv.height = (this._-0xv.desktop.height - (_-1xV + _-26t));
                this._-0xv.setParamFlag(WindowParam._-ci);
                this._-0xv.setParamFlag(WindowParam._-0Ef);
                this._-0xv.addEventListener(WindowMouseEvent._-90, this.onMouseClick);
                this._-0xv.findChildByName(CLOSE).addEventListener(WindowMouseEvent._-90, this.onMouseClick);
                this._-0xv.findChildByName(_-kb).addEventListener(WindowMouseEvent._-90, this.onMouseClick);
                this._-0xv.findChildByName(ACTIVATE).addEventListener(WindowMouseEvent._-90, this.onMouseClick);
                this._-0xv.findChildByName(_-19G).addEventListener(WindowMouseEvent._-90, this.onMouseClick);
                k = this._-0xv.findChildByName(_-kb);
                k.addEventListener(WindowMouseEvent._-4ea, this._-2yr);
                k.addEventListener(WindowMouseEvent._-4e2, this._-2yr);
                k.addEventListener(WindowMouseEvent._-3Jy, this._-2yr);
                k.addEventListener(WindowMouseEvent._-02B, this._-2yr);
                k.addEventListener(WindowMouseEvent._-2uJ, this._-2yr);
                k = (this._-0xv.findChildByName(ICON) as IBitmapWrapperWindow);
                k.bitmap = (assets.getAssetByName(_-1-E).content as BitmapData);
                this._-0xv.visible = false;
                this._-2Bk = new _-4WD(this, (this._-0xv.findChildByName(_-3vL) as IWindowContainer), this._-4sA);
                this._-1A = new _-2u5(this, (this._-0xv.findChildByName(_-0YW) as IWindowContainer));
                k = (_-U-.buildFromXML((assets.getAssetByName("event_stream_entity_xml").content as XML)) as IWindowContainer);
                k = (IWindowContainer(k.findChildByName(_-4YO)).findChildByName("icon") as IBitmapWrapperWindow);
                k.bitmap = (assets.getAssetByName("stream_thumb_png").content as BitmapData);
                k._-30Z = false;
                EventStreamEntity._-33F = this;
                EventStreamEntity._-4JS = k;
                EventStreamEntity._-4M- = _-1u4;
                EventStreamEntity._-14d = assets;
                EventStreamEntity._-1uY = _tracking;
                EventStreamEntity._-rx = this._-0Wy;
                if (this._-11K.length == 0)
                {
                    this._-11K.push(new StreamView(this, (this._-0xv.findChildByName(_-0Qu) as IWindowContainer)));
                    this._-11K.push(new WelcomeView(this, (this._-0xv.findChildByName(_-2gC) as IWindowContainer)));
                    this._-11K.push(new _-6h(this, (this._-0xv.findChildByName(_-13I) as IWindowContainer)));
                    this._-11K.push(new _-2wx(this, (this._-0xv.findChildByName(_-1Oo) as IWindowContainer), _-p0._-3bv));
                    this._-11K.push(new _-2wx(this, (this._-0xv.findChildByName(_-3qe) as IWindowContainer), _-p0._-4Ye));
                };
                this._-KW(this._-18d, ((this._-3bC) ? (this._-3bC.length > 0) : false));
                if (!this._-48P)
                {
                    this._-48P = new Timer(_-2re);
                    this._-48P.addEventListener(TimerEvent.TIMER, this._-zI);
                    this._-48P.start();
                };
                this._-3WC = true;
                if (this._-14J)
                {
                    this._-14J.start();
                };
            };
        }
        private function _-1VI():void
        {
            if (this._-18d)
            {
                this._-41o = _-4Ti;
                this._-Cg = _-0pW.userId;
                this._-4DS = _-0pW.userName;
            }
            else
            {
                this._-41o = _-4O9;
                this._-Cg = _-2ou;
                this._-4DS = _-1u4.getKey(_-1Xg);
            };
            if (this._-48P)
            {
                this._-48P.stop();
                this._-48P.removeEventListener(TimerEvent.TIMER, this._-zI);
                this._-48P = null;
            };
            while (this._-11K.length > 0)
            {
                this._-11K.pop().dispose();
            };
            this._-Ke = null;
            while (this._-0Zs.length > 0)
            {
                this._-0Zs.pop().dispose();
            };
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-3WC = false;
        }
        private function _-KW(_arg1:Boolean, _arg2:Boolean):void
        {
            if (_arg1)
            {
                if (this._-o1 != _-p0._-kb)
                {
                    if (_arg2)
                    {
                        this._-o1 = _-p0._-33F;
                    }
                    else
                    {
                        if (this.requestAccountId == _-0pW.userId)
                        {
                            this._-o1 = _-p0._-3bv;
                        }
                        else
                        {
                            this._-o1 = _-p0._-4Ye;
                        };
                    };
                };
                this._-1A.visible = true;
            }
            else
            {
                this._-o1 = _-p0._-0M0;
                this._-1A.visible = false;
                this._-2Bk.visible = false;
            };
        }
        private function onMouseClick(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.target.name)
            {
                case CLOSE:
                    this.visible = false;
                    return;
                case _-3FL:
                    this.changeStreamState(false);
                    return;
                case _-kb:
                    this._-o1 = _-p0._-kb;
                    this._-1A.visible = true;
                    this._-2Bk.visible = false;
                    return;
                case ACTIVATE:
                    this.changeStreamState(true);
                    return;
                case _-19G:
                    _-U-.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, null);
                    _-11j._-0D8(_-qn.getKey("link.friendbar.stream.settings.see.more", ""));
                    return;
            };
        }
        private function _-2yr(_arg1:WindowMouseEvent):void
        {
            var k:IWindowContainer = (_arg1.window as IWindowContainer);
            var k:IBitmapWrapperWindow = (k.findChildByName(ICON) as IBitmapWrapperWindow);
            if (_arg1.window.name == _-kb)
            {
                switch (_arg1.type)
                {
                    case WindowMouseEvent._-4ea:
                        k.bitmap = (assets.getAssetByName(_-0l5).content as BitmapData);
                        return;
                    case WindowMouseEvent._-3Jy:
                        k.bitmap = (assets.getAssetByName(_-1OL).content as BitmapData);
                        return;
                    default:
                        k.bitmap = (assets.getAssetByName(_-1-E).content as BitmapData);
                };
            };
        }
        public function changeStreamState(_arg1:Boolean):void
        {
            this._-18d = _arg1;
            if (_arg1)
            {
                this._-41o = _-4Ti;
                this._-Cg = _-0pW.userId;
                this._-4DS = _-0pW.userName;
                this._-1ne();
            }
            else
            {
                this._-41o = _-4O9;
                this._-Cg = _-2ou;
                this._-4DS = _-1u4.getKey(_-1Xg);
                this._-P3(this._-Cg, this._-4DS);
            };
            this._-2Bt(_arg1);
            this._-KW(this._-18d, false);
            _-Nb.log(("Streaming enabled: " + _arg1));
        }
        private function _-zI(_arg1:TimerEvent):void
        {
            var k:EventStreamEntity;
            for each (k in this._-0Zs)
            {
                k._-3dY = (k._-3dY + 1);
            };
        }
        private function _-1IT(_arg1:TimerEvent):void
        {
            if (((this.visible) || (!(this._-3uD))))
            {
                this._-1tb(this._-41o);
                this._-14J.delay = _-3Do;
            };
        }
        private function _-1tb(_arg1:uint):void
        {
            if (((((this._-51u) && (this._-51u.connected))) && (this._-2mn)))
            {
                switch (_arg1)
                {
                    case _-0uX:
                        this._-51u.send(new _-20S(_-20S._-4cV));
                        _-Nb.log("Requested recent stream events");
                        return;
                    case _-4Ti:
                        this._-51u.send(new _-20S(_-20S._-1NG));
                        _-Nb.log("Requested top stream events");
                        return;
                    case _-4O9:
                        this._-51u.send(new _-3j9(this._-Cg));
                        _-Nb.log(((("Requested user stream events for " + this._-Cg) + " / ") + this._-4DS));
                        return;
                    default:
                        throw (new Error(("Unknown stream request type " + _arg1)));
                };
            };
        }
        private function _-01z(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-1Uj = (_arg2 as _-4BJ);
            this._-1Uj.addHabboConnectionMessageEvent(new _-2k3(this._-2Ry));
            this._-1Uj.addHabboConnectionMessageEvent(new _-GF(this._-Et));
            this._-51u = this._-1Uj._-4gR(this._-0eO);
        }
        private function _-0eO(_arg1:_-1ZV):void
        {
            this._-51u = _arg1;
        }
        private function _-2Ry(_arg1:_-2k3):void
        {
            if (this._-3WC)
            {
                this.populate(_arg1.events);
            }
            else
            {
                this._-3bC = _arg1.events;
            };
            this._-6n._-57o(((((!(this.visible)) && (this._-3uD))) || (!(this._-3WC))));
        }
        private function _-4em(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-6n = (_arg2 as _-tO);
        }
        override protected function onConfigurationAvailable(_arg1:_-Wo, _arg2:_-4yI):void
        {
            super.onConfigurationAvailable(_arg1, _arg2);
            this._-2mn = _-qn.getBoolean("friendbar.stream.enabled", false);
            this._-4d6 = _-qn.getBoolean("friendbar.stream.liking.enabled", false);
            this._-4sA = _-qn.getBoolean("friendbar.stream.status.enabled", false);
            this._-0Wy = _-qn.getBoolean("friendbar.stream.user.enabled", false);
        }
        private function _-Et(_arg1:_-GF):void
        {
            this._-18d = _arg1._-3-5()._-dF;
            if (this._-18d)
            {
                this._-41o = _-4Ti;
                this._-Cg = _-0pW.userId;
                this._-4DS = _-0pW.userName;
            };
            _-Nb.log(("Stream events allowed " + this._-18d));
        }
        public function _-1ne():void
        {
            this._-41o = _-4Ti;
            this._-Cg = _-0pW.userId;
            this._-4DS = _-0pW.userName;
            this._-1tb(this._-41o);
            this._-14J.delay = _-3Do;
        }
        public function _-P3(_arg1:int, _arg2:String):void
        {
            this._-41o = _-4O9;
            this._-Cg = _arg1;
            this._-4DS = _arg2;
            this._-1tb(this._-41o);
            this._-14J.delay = _-3Do;
            _-1u4.registerParameter("friendbar.stream.view.title", "name", _arg2);
            _-1u4.registerParameter("friendbar.stream.empty.title.other", "name", _arg2);
        }
        private function _-2Bt(_arg1:Boolean):void
        {
            if (((this._-51u) && (this._-51u.connected)))
            {
                this._-51u.send(new _-3fy(_arg1));
            };
        }
        public function _-348(_arg1:EventStreamEntity):void
        {
            if (((((((this._-51u) && (this._-51u.connected))) && (this._-2mn))) && (this._-4d6)))
            {
                _arg1._-4to = false;
                _arg1._-2A-++;
                this._-51u.send(new _-0O0(_arg1.id, _-0pW.userId));
                _-Nb.log(("Like event " + _arg1));
            };
        }
        public function _-4r8(_arg1:String):Boolean
        {
            var k:EventStreamData;
            var k:EventStreamEntity;
            var k:Vector.<EventStreamEntity>;
            if (((((this._-51u) && (this._-51u.connected))) && (this._-2mn)))
            {
                this._-51u.send(new _-33e(_arg1));
                this._-14J.delay = _-2bK;
                _-Nb.log(("Update status " + _arg1));
                k = new EventStreamData(-1, EventStreamData._-2AN, _-0pW.userId.toString(), _-0pW.userName, _-0pW.gender, null, 0, EventStreamData._-2KY, 0, false, false, false, new _-4j9([_arg1]));
                k = this._-2Dz(k);
                if (this._-0Zs.length > 0)
                {
                    k = this._-0Zs.splice(0, (((this._-0Zs[0].accountId == k.accountId)) ? 1 : 0), k);
                    while (k.length)
                    {
                        k.pop().recycle();
                    };
                }
                else
                {
                    this._-0Zs.push(k);
                };
                this._-Ke.populate(this._-0Zs);
                return (true);
            };
            return (false);
        }
        public function _-41-(_arg1:int, _arg2:String):void
        {
            if (!this.visible)
            {
                this.visible = true;
            };
            if (this._-18d)
            {
                this._-o1 = _-p0._-33F;
                this._-P3(_arg1, _arg2);
            }
            else
            {
                this._-o1 = _-p0._-0M0;
            };
        }

    }
}//package _-3N5

//------------------------------------------------------------
//_-3nP._-0pz

package _-3nP
{
    import _-Ew.IWindow;

    public class _-0pz extends _-4tH 
    {

        public function _-0pz(_arg1:IWindow)
        {
            super(_arg1);
        }
        override friend function tick(_arg1:int):void
        {
            super.friend::tick(_arg1);
            if (((target) && (!(target.disposed))))
            {
                target.dispose();
                target = null;
            };
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-0Tg

package _-3nP
{
    public class _-0Tg extends _-4-e 
    {

        public function _-0Tg(_arg1:_-12c, _arg2:Number)
        {
            super(_arg1, _arg2);
        }
        override friend function update(_arg1:Number):void
        {
            _-4pY.friend::update(Math.pow(_arg1, (1 / _-1qg)));
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-12c

package _-3nP
{
    import _-Ew.IWindow;
    import flash.utils.getTimer;

    public class _-12c extends _-4tH 
    {

        private var _-4d2:int;
        private var _-0Jk:int;

        public function _-12c(_arg1:IWindow, _arg2:int)
        {
            super(_arg1);
            _-166 = false;
            this._-0Jk = _arg2;
        }
        public function get duration():int
        {
            return (this._-0Jk);
        }
        override friend function start():void
        {
            super.friend::start();
            _-166 = false;
            this._-4d2 = getTimer();
        }
        final override friend function tick(_arg1:int):void
        {
            var k:Number = (Number((_arg1 - this._-4d2)) / Number(this._-0Jk));
            if (k < 1)
            {
                friend::update(k);
            }
            else
            {
                friend::update(1);
                _-166 = true;
            };
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-1CI

package _-3nP
{
    import _-Ew.IWindow;

    public class _-1CI extends _-2kr 
    {

        public function _-1CI(_arg1:IWindow, _arg2:int, _arg3:int, _arg4:int)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override friend function start():void
        {
            _-2QI = (target.x + _-2QI);
            _-59 = (target.y + _-59);
            super.friend::start();
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-2kr

package _-3nP
{
    import _-Ew.IWindow;

    public class _-2kr extends _-12c 
    {

        protected var _-2CM:Number;
        protected var _-4CK:Number;
        protected var _-2QI:Number;
        protected var _-59:Number;
        protected var _-0w3:Number;
        protected var _-1KR:Number;

        public function _-2kr(_arg1:IWindow, _arg2:int, _arg3:int, _arg4:int)
        {
            super(_arg1, _arg2);
            this._-2QI = _arg3;
            this._-59 = _arg4;
        }
        override friend function start():void
        {
            super.friend::start();
            this._-2CM = target.x;
            this._-4CK = target.y;
            this._-0w3 = (this._-2QI - this._-2CM);
            this._-1KR = (this._-59 - this._-4CK);
        }
        override friend function update(_arg1:Number):void
        {
            target.x = (this._-2CM + (this._-0w3 * _arg1));
            target.y = (this._-4CK + (this._-1KR * _arg1));
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-3NN

package _-3nP
{
    import _-Ew.IWindow;

    public class _-3NN extends _-12c 
    {

        protected var _-2CM:int;
        protected var _-4CK:int;
        protected var _-0w3:Number;
        protected var _-1KR:Number;
        protected var _height:Number;
        protected var _-0aP:int;

        public function _-3NN(_arg1:IWindow, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int)
        {
            super(_arg1, _arg2);
            this._-0w3 = _arg3;
            this._-1KR = _arg4;
            this._height = -(_arg5);
            this._-0aP = _arg6;
        }
        override friend function start():void
        {
            super.friend::start();
            this._-2CM = target.x;
            this._-4CK = target.y;
        }
        override friend function update(_arg1:Number):void
        {
            super.friend::update(_arg1);
            target.x = (this._-2CM + (this._-0w3 * _arg1));
            target.y = ((this._-4CK + (this._height * Math.abs(Math.sin(((_arg1 * Math.PI) * this._-0aP))))) + (this._-1KR * _arg1));
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-472

package _-3nP
{
    public class _-472 extends _-12c 
    {

        protected var _-4pY:_-12c;

        public function _-472(_arg1:_-12c)
        {
            super(_arg1.target, _arg1.duration);
            this._-4pY = _arg1;
        }
        override friend function start():void
        {
            super.friend::start();
            this._-4pY.friend::start();
        }
        override friend function update(_arg1:Number):void
        {
            super.friend::update(_arg1);
            this._-4pY.friend::update(_arg1);
        }
        override friend function stop():void
        {
            super.friend::stop();
            this._-4pY.friend::stop();
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-4-e

package _-3nP
{
    public class _-4-e extends _-472 
    {

        protected var _-1qg:Number;

        public function _-4-e(_arg1:_-12c, _arg2:Number)
        {
            super(_arg1);
            this._-1qg = _arg2;
        }
    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-4lk

package _-3nP
{
    import _-Ew.IWindow;

    public class _-4lk extends _-12c 
    {

        private var _height:int;
        private var _-1fe:int;

        public function _-4lk(_arg1:IWindow, _arg2:int, _arg3:int)
        {
            super(_arg1, _arg2);
            this._height = _arg3;
        }
        override friend function start():void
        {
            super.friend::start();
            this._-1fe = target.y;
            target.y = (this._-1fe - this._height);
        }
        override friend function update(_arg1:Number):void
        {
            super.friend::update(_arg1);
            target.y = ((this._-1fe - this._height) + (this._-2vz(_arg1) * this._height));
        }
        protected function _-2vz(_arg1:Number):Number
        {
            if (_arg1 < 0.364)
            {
                return (((7.5625 * _arg1) * _arg1));
            };
            if (_arg1 < 0.727)
            {
                k = (_arg1 - 0.545);
                return ((((7.5625 * k) * k) + 0.75));
            };
            if (_arg1 < 0.909)
            {
                k = (_arg1 - 0.9091);
                return ((((7.5625 * k) * k) + 0.9375));
            };
            k = (_arg1 - 0.955);
            return ((((7.5625 * k) * k) + 0.984375));
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-4rB

package _-3nP
{
    import _-Ew.IWindow;

    public class _-4rB extends _-12c 
    {

        protected var _-Ka:Number;
        protected var _-fm:Number;
        protected var _-0P:Number;
        protected var _-4b8:Number;
        protected var _-2gL:Number;
        protected var _-fc:Number;

        public function _-4rB(_arg1:IWindow, _arg2:int, _arg3:int, _arg4:int)
        {
            super(_arg1, _arg2);
            this._-0P = _arg3;
            this._-4b8 = _arg4;
        }
        override friend function start():void
        {
            super.friend::start();
            this._-Ka = target.width;
            this._-fm = target.height;
            this._-2gL = (this._-0P - this._-Ka);
            this._-fc = (this._-4b8 - this._-fm);
        }
        override friend function update(_arg1:Number):void
        {
            target.width = (this._-Ka + (this._-2gL * _arg1));
            target.height = (this._-fm + (this._-fc * _arg1));
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-4tH

package _-3nP
{
    import _-Ew.IWindow;

    public class _-4tH 
    {

        protected var _-1hZ:IWindow;
        protected var _-0FJ:Boolean;
        protected var _-166:Boolean = true;
        protected var _-2CI:String;

        public function _-4tH(_arg1:IWindow)
        {
            this._-1hZ = _arg1;
        }
        public function get running():Boolean
        {
            return (((((this._-0FJ) && (this._-1hZ))) && (!(this._-1hZ.disposed))));
        }
        public function get complete():Boolean
        {
            return (this._-166);
        }
        public function set target(_arg1:IWindow):void
        {
            this._-1hZ = _arg1;
        }
        public function get target():IWindow
        {
            return (this._-1hZ);
        }
        public function set tag(_arg1:String):void
        {
            this._-2CI = _arg1;
        }
        public function get tag():String
        {
            return (this._-2CI);
        }
        friend function start():void
        {
            this._-0FJ = true;
        }
        friend function update(_arg1:Number):void
        {
        }
        friend function stop():void
        {
            this._-1hZ = null;
            this._-0FJ = false;
        }
        friend function tick(_arg1:int):void
        {
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP._-KT

package _-3nP
{
    import flash.utils.getTimer;

    public class _-KT extends _-4tH 
    {

        private var _-4d2:int;
        private var _-wo:int;

        public function _-KT(_arg1:int)
        {
            super(null);
            this._-wo = _arg1;
        }
        override public function get running():Boolean
        {
            return (_-0FJ);
        }
        override friend function start():void
        {
            super.friend::start();
            _-166 = false;
            this._-4d2 = getTimer();
        }
        override friend function tick(_arg1:int):void
        {
            _-166 = ((_arg1 - this._-4d2) >= this._-wo);
            if (_-166)
            {
                friend::stop();
            };
            super.friend::tick(_arg1);
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP.Combo

package _-3nP
{
    import __AS3__.vec.Vector;
    import __AS3__.vec.*;

    public class Combo extends _-4tH 
    {

        private var _-0kL:Vector.<_-4tH>;
        private var _-1Ed:Vector.<_-4tH>;

        public function Combo(... _args)
        {
            var k:_-4tH;
            this._-0kL = new Vector.<_-4tH>();
            this._-1Ed = new Vector.<_-4tH>();
            for each (k in _args)
            {
                this._-0kL.push(k);
            };
            super((((this._-0kL.length > 0)) ? this._-0kL[0].target : null));
        }
        override friend function start():void
        {
            var k:_-4tH;
            super.friend::start();
            for each (k in this._-0kL)
            {
                k.friend::start();
            };
        }
        override friend function tick(_arg1:int):void
        {
            var k:_-4tH;
            super.friend::tick(_arg1);
            while ((k = this._-1Ed.pop()) != null)
            {
                this._-0kL.splice(this._-1Ed.indexOf(k), 1);
                if (k.running)
                {
                    k.friend::stop();
                };
            };
            for each (k in this._-0kL)
            {
                if (k.running)
                {
                    k.friend::tick(_arg1);
                };
                if (k.complete)
                {
                    this._-1Ed.push(k);
                };
            };
            if (this._-0kL.length > 0)
            {
                for each (k in this._-0kL)
                {
                    _-1hZ = k.target;
                    if (((_-1hZ) && (!(_-1hZ.disposed))))
                    {
                        break;
                    };
                };
                _-166 = false;
            }
            else
            {
                _-166 = true;
            };
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP.friend

package _-3nP
{
    public namespace friend = "com.sulake.core.window.motion:friend";
}//package _-3nP

//------------------------------------------------------------
//_-3nP.Motions

package _-3nP
{
    import __AS3__.vec.Vector;
    import flash.utils.Timer;
    import _-p-.Core;
    import _-Ew.IWindow;
    import flash.utils.getTimer;
    import flash.events.TimerEvent;
    import __AS3__.vec.*;

    public class Motions 
    {

        private static const _-0pG:Vector.<_-4tH> = new Vector.<_-4tH>();
        private static const _-0FO:Vector.<_-4tH> = new Vector.<_-4tH>();
        private static const _-IL:Vector.<_-4tH> = new Vector.<_-4tH>();
        private static const _-33V:Timer = new Timer((1000 / Core._-1ey.displayObjectContainer.stage.frameRate), 0);

        private static var _-2Dt:Boolean;

        public static function _-Pp(_arg1:_-4tH):_-4tH
        {
            if ((((_-0FO.indexOf(_arg1) == -1)) && ((_-0pG.indexOf(_arg1) == -1))))
            {
                if (_-2Dt)
                {
                    _-0pG.push(_arg1);
                }
                else
                {
                    _-0FO.push(_arg1);
                    _arg1.friend::start();
                };
                _-56s();
            };
            return (_arg1);
        }
        public static function _-3q(_arg1:_-4tH):void
        {
            var k:int = _-0FO.indexOf(_arg1);
            if (k > -1)
            {
                if (_-2Dt)
                {
                    k = _-IL.indexOf(_arg1);
                    if (k == -1)
                    {
                        _-IL.push(_arg1);
                    };
                }
                else
                {
                    _-0FO.splice(k, 1);
                    if (_arg1.running)
                    {
                        _arg1.friend::stop();
                    };
                    if (_-0FO.length == 0)
                    {
                        _-LE();
                    };
                };
            }
            else
            {
                k = _-0pG.indexOf(_arg1);
                if (k > -1)
                {
                    _-0pG.splice(k, 1);
                };
            };
        }
        public static function _-0CO(_arg1:String):_-4tH
        {
            var k:_-4tH;
            for each (k in _-0FO)
            {
                if (k.tag == _arg1)
                {
                    return (k);
                };
            };
            for each (k in _-0pG)
            {
                if (k.tag == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public static function _-4UE(_arg1:IWindow):_-4tH
        {
            var k:_-4tH;
            for each (k in _-0FO)
            {
                if (k.target == _arg1)
                {
                    return (k);
                };
            };
            for each (k in _-0pG)
            {
                if (k.target == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public static function _-2oA(_arg1:String, _arg2:IWindow):_-4tH
        {
            var k:_-4tH;
            for each (k in _-0FO)
            {
                if ((((k.tag == _arg1)) && ((k.target == _arg2))))
                {
                    return (k);
                };
            };
            for each (k in _-0pG)
            {
                if ((((k.tag == _arg1)) && ((k.target == _arg2))))
                {
                    return (k);
                };
            };
            return (null);
        }
        public static function get _-4Bs():Boolean
        {
            return (((_-33V) ? _-33V.running : false));
        }
        public static function get _-2Yi():Boolean
        {
            return (_-2Dt);
        }
        private static function _-1zO(_arg1:TimerEvent):void
        {
            var k:_-4tH;
            _-2Dt = true;
            var k:int = getTimer();
            while ((k = _-0pG.pop()) != null)
            {
                _-0FO.push(k);
            };
            while ((k = _-IL.pop()) != null)
            {
                _-0FO.splice(_-0FO.indexOf(k), 1);
                if (k.running)
                {
                    k.friend::stop();
                };
            };
            for each (k in _-0FO)
            {
                if (k.running)
                {
                    k.friend::tick(k);
                    if (k.complete)
                    {
                        _-3q(k);
                    };
                }
                else
                {
                    _-3q(k);
                };
            };
            if (_-0FO.length == 0)
            {
                _-LE();
            };
            _-2Dt = false;
        }
        private static function _-56s():void
        {
            if (!_-33V.running)
            {
                _-33V.addEventListener(TimerEvent.TIMER, _-1zO);
                _-33V.start();
            };
        }
        private static function _-LE():void
        {
            if (_-33V.running)
            {
                _-33V.removeEventListener(TimerEvent.TIMER, _-1zO);
                _-33V.stop();
            };
        }

        public function _-1MY(_arg1:IWindow):int
        {
            var k:_-4tH;
            var k:int;
            for each (k in _-0FO)
            {
                if (k.target == _arg1)
                {
                    k++;
                };
            };
            return (k);
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3nP.Queue

package _-3nP
{
    import __AS3__.vec.Vector;
    import __AS3__.vec.*;

    public class Queue extends _-4tH 
    {

        private var _-Dk:_-4tH;
        private var _-0Rj:Vector.<_-4tH>;

        public function Queue(... _args)
        {
            var k:_-4tH;
            this._-0Rj = new Vector.<_-4tH>();
            super(((_args) ? _-4tH(_args[0]).target : null));
            for each (k in _args)
            {
                this._-0Rj.push(k);
            };
            this._-Dk = _args[0];
            _-166 = (this._-Dk == null);
        }
        override public function get running():Boolean
        {
            return (((((_-0FJ) && (this._-Dk))) ? this._-Dk.running : false));
        }
        override friend function start():void
        {
            super.friend::start();
            this._-Dk.friend::start();
        }
        override friend function update(_arg1:Number):void
        {
            super.friend::update(_arg1);
            if (this._-Dk.running)
            {
                this._-Dk.friend::update(_arg1);
            };
        }
        override friend function stop():void
        {
            super.friend::stop();
            this._-Dk.friend::stop();
        }
        override friend function tick(_arg1:int):void
        {
            var k:int;
            super.friend::tick(_arg1);
            this._-Dk.friend::tick(_arg1);
            if (this._-Dk.complete)
            {
                this._-Dk.friend::stop();
                k = this._-0Rj.indexOf(this._-Dk);
                if (k < (this._-0Rj.length - 1))
                {
                    this._-Dk = this._-0Rj[(k + 1)];
                    _-1hZ = this._-Dk.target;
                    this._-Dk.friend::start();
                }
                else
                {
                    _-166 = true;
                };
            };
        }

    }
}//package _-3nP

//------------------------------------------------------------
//_-3o7._-0kA

package _-3o7
{
    public interface _-0kA 
    {

        function get id():String;
        function get state():String;
        function get precedence():int;
        function get activePartSet():String;
        function get _-ev():Boolean;
        function get _-01f():Boolean;
        function get _-27o():String;
        function get lay():String;
        function get _-0it():String;
        function get _-RX():Boolean;
        function get _-3rN():Boolean;
        function _-4hS(_arg1:String):Boolean;
        function _-4bU(_arg1:String=""):Array;
        function _-1RC(_arg1:String=""):Boolean;
        function _-LU(_arg1:String, _arg2:int, _arg3:Array):void;
        function _-3OL(_arg1:String, _arg2:int):Array;

    }
}//package _-3o7

//------------------------------------------------------------
//_-3o7._-1k3

package _-3o7
{
    public class _-1k3 implements _-3yS 
    {

        private var _-0lb:String = "";
        private var _-2WA:String = "";
        private var _-1bs:_-0kA;
        private var _-21s:int = 0;
        private var _-2YQ:String;

        public function _-1k3(_arg1:String, _arg2:String="", _arg3:int=0)
        {
            this._-0lb = _arg1;
            this._-2WA = _arg2;
            this._-21s = _arg3;
        }
        public function get _-1Br():String
        {
            return (this._-0lb);
        }
        public function get _-5-k():String
        {
            return (this._-2WA);
        }
        public function get _-0LY():_-0kA
        {
            return (this._-1bs);
        }
        public function get id():String
        {
            if (this._-1bs == null)
            {
                return ("");
            };
            return (((this._-1bs.id + "_") + this._-2WA));
        }
        public function set _-5-k(_arg1:String):void
        {
            this._-2WA = _arg1;
        }
        public function set _-0LY(_arg1:_-0kA):void
        {
            this._-1bs = _arg1;
        }
        public function dispose():void
        {
            this._-0lb = null;
            this._-2WA = null;
            this._-1bs = null;
        }
        public function get _-57G():int
        {
            return (this._-21s);
        }
        public function get _-0HT():String
        {
            return (this._-2YQ);
        }
        public function set _-0HT(_arg1:String):void
        {
            this._-2YQ = _arg1;
        }

    }
}//package _-3o7

//------------------------------------------------------------
//_-3o7._-3yS

package _-3o7
{
    public interface _-3yS 
    {

        function get id():String;
        function get _-1Br():String;
        function get _-5-k():String;
        function set _-5-k(_arg1:String):void;
        function get _-57G():int;
        function get _-0LY():_-0kA;
        function set _-0LY(_arg1:_-0kA):void;
        function get _-0HT():String;
        function set _-0HT(_arg1:String):void;

    }
}//package _-3o7

//------------------------------------------------------------
//_-3o7.ActionDefinition

package _-3o7
{
    import _-18r.Map;
    import flash.utils.Dictionary;

    public class ActionDefinition implements _-0kA 
    {

        private var _-0Kq:String;
        private var _-0Ke:String;
        private var _-1uJ:int;
        private var _-1So:String;
        private var _-1LZ:String;
        private var _-nk:String;
        private var _-0w-:String;
        private var _-0qZ:Boolean = false;
        private var _-2n7:Boolean = false;
        private var _-1w:Boolean = false;
        private var _-2TP:Boolean = false;
        private var _-3HI:Array;
        private var _-22H:Boolean;
        private var _-2Q6:Map;
        private var _-4vT:Dictionary;
        private var _-2Uc:Dictionary;
        private var _-Su:String = "";

        public function ActionDefinition(_arg1:XML)
        {
            var k:XML;
            var k:XML;
            var k:String;
            var k:String;
            var k:String;
            this._-3HI = new Array();
            this._-4vT = new Dictionary();
            this._-2Uc = new Dictionary();
            super();
            this._-0Kq = String(_arg1.@id);
            this._-0Ke = String(_arg1.@state);
            this._-1uJ = parseInt(_arg1.@precedence);
            this._-1So = String(_arg1.@activepartset);
            this._-1LZ = String(_arg1.@assetpartdefinition);
            this._-nk = String(_arg1.@lay);
            this._-0w- = String(_arg1.@geometrytype);
            this._-0qZ = Boolean(parseInt(_arg1.@main));
            this._-2n7 = Boolean(parseInt(_arg1.@isdefault));
            this._-1w = Boolean(parseInt(_arg1.@animation));
            this._-2TP = (_arg1.@startfromframezero == "true");
            this._-22H = (_arg1.@preventheadturn == "true");
            var k:String = String(_arg1.@prevents);
            if (k != "")
            {
                this._-3HI = k.split(",");
            };
            for each (k in _arg1.param)
            {
                k = String(k.@id);
                k = String(k.@value);
                if (k == "default")
                {
                    this._-Su = k;
                }
                else
                {
                    this._-2Uc[k] = k;
                };
            };
            for each (k in _arg1.type)
            {
                k = String(k.@id);
                this._-4vT[k] = new ActionType(k);
            };
        }
        public function _-LU(_arg1:String, _arg2:int, _arg3:Array):void
        {
            if (this._-2Q6 == null)
            {
                this._-2Q6 = new Map();
            };
            if (this._-2Q6.getValue(_arg1) == null)
            {
                this._-2Q6.add(_arg1, new Map());
            };
            var k:Map = this._-2Q6.getValue(_arg1);
            k.add(_arg2, _arg3);
        }
        public function _-3OL(_arg1:String, _arg2:int):Array
        {
            if (this._-2Q6 == null)
            {
                return (null);
            };
            var k:Map = (this._-2Q6.getValue(_arg1) as Map);
            if (k == null)
            {
                return (null);
            };
            return ((k.getValue(_arg2) as Array));
        }
        public function _-0NI(_arg1:String):String
        {
            if (_arg1 == "")
            {
                return ("");
            };
            var k:String = this._-2Uc[_arg1];
            if (k == null)
            {
                k = this._-Su;
            };
            return (k);
        }
        private function _-2kK(_arg1:String):Array
        {
            if (_arg1 == "")
            {
                return ([]);
            };
            var k:ActionType = this._-4vT[_arg1];
            if (k != null)
            {
                return (k.prevents);
            };
            return ([]);
        }
        public function toString():String
        {
            return ((((((((((((((((((((((((("[ActionDefinition]\n" + "id:           ") + this.id) + "\n") + "state:        ") + this.state) + "\n") + "main:         ") + this._-ev) + "\n") + "default:      ") + this._-01f) + "\n") + "geometry:     ") + this.state) + "\n") + "precedence:   ") + this.precedence) + "\n") + "activepartset:") + this.activePartSet) + "\n") + "activepartdef:") + this._-27o) + ""));
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function get state():String
        {
            return (this._-0Ke);
        }
        public function get precedence():int
        {
            return (this._-1uJ);
        }
        public function get activePartSet():String
        {
            return (this._-1So);
        }
        public function get _-ev():Boolean
        {
            return (this._-0qZ);
        }
        public function get _-01f():Boolean
        {
            return (this._-2n7);
        }
        public function get _-27o():String
        {
            return (this._-1LZ);
        }
        public function get lay():String
        {
            return (this._-nk);
        }
        public function get _-0it():String
        {
            return (this._-0w-);
        }
        public function get _-RX():Boolean
        {
            return (this._-1w);
        }
        public function _-4bU(_arg1:String=""):Array
        {
            return (this._-3HI.concat(this._-2kK(_arg1)));
        }
        public function _-1RC(_arg1:String=""):Boolean
        {
            if (_arg1 == "")
            {
                return (this._-22H);
            };
            var k:ActionType = this._-4vT[_arg1];
            if (k != null)
            {
                return (k._-3g);
            };
            return (this._-22H);
        }
        public function _-4hS(_arg1:String):Boolean
        {
            if (_arg1 == "")
            {
                return (true);
            };
            var k:ActionType = this._-4vT[_arg1];
            if (k != null)
            {
                return (k._-4hS);
            };
            return (true);
        }
        public function get _-3rN():Boolean
        {
            return (this._-2TP);
        }

    }
}//package _-3o7

//------------------------------------------------------------
//_-3o7.ActionType

package _-3o7
{
    public class ActionType 
    {

        private var _-0Kq:int;
        private var _-3lK:int;
        private var _-3HI:Array;
        private var _-22H:Boolean = true;
        private var _-4-1:Boolean = true;

        public function ActionType(_arg1:XML)
        {
            this._-3HI = [];
            super();
            this._-0Kq = parseInt(_arg1.@value);
            this._-3lK = parseInt(_arg1.@value);
            var k:String = String(_arg1.@prevents);
            if (k != "")
            {
                this._-3HI = k.split(",");
            };
            this._-22H = (String(_arg1.@preventheadturn) == "true");
            var k:String = String(_arg1.@animated);
            if (k == "")
            {
                this._-4-1 = true;
            }
            else
            {
                this._-4-1 = (k == "true");
            };
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get value():int
        {
            return (this._-3lK);
        }
        public function get prevents():Array
        {
            return (this._-3HI);
        }
        public function get _-3g():Boolean
        {
            return (this._-22H);
        }
        public function get _-4hS():Boolean
        {
            return (this._-4-1);
        }

    }
}//package _-3o7

//------------------------------------------------------------
//_-3o7.AvatarActionManager

package _-3o7
{
    import _-295._-39L;
    import flash.utils.Dictionary;

    public class AvatarActionManager 
    {

        private var _assets:_-39L;
        private var _-Hy:Dictionary;
        private var _-1pN:ActionDefinition;

        public function AvatarActionManager(_arg1:_-39L, _arg2:XML)
        {
            var k:XML;
            var k:String;
            var k:ActionDefinition;
            super();
            this._assets = _arg1;
            this._-Hy = new Dictionary();
            for each (k in _arg2.action)
            {
                k = String(k.@state);
                if (k != "")
                {
                    k = new ActionDefinition(k);
                    this._-Hy[k] = k;
                };
            };
            this._-2PJ();
        }
        private function _-2PJ():void
        {
            var k:_-1k3;
            var k:ActionDefinition;
            var k:String;
            var k:XML;
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            var k:Number;
            var k:XML;
            for each (k in this._-Hy)
            {
                k = k.state;
                if (this._assets.hasAsset(("action_offset_" + k)))
                {
                    k = (this._assets.getAssetByName(("action_offset_" + k)).content as XML);
                    for each (k in k.offset)
                    {
                        k = String(k.@size);
                        k = parseInt(k.@direction);
                        k = parseInt(k.@x);
                        k = parseInt(k.@y);
                        k = Number(k.@z);
                        k._-LU(k, k, new Array(k, k, k));
                    };
                };
            };
        }
        public function _-p6(_arg1:String):ActionDefinition
        {
            var k:ActionDefinition;
            for each (k in this._-Hy)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-1DE(_arg1:String):ActionDefinition
        {
            return (this._-Hy[_arg1]);
        }
        public function _-0mf():ActionDefinition
        {
            var k:ActionDefinition;
            if (this._-1pN)
            {
                return (this._-1pN);
            };
            for each (k in this._-Hy)
            {
                if (k._-01f)
                {
                    this._-1pN = k;
                    return (k);
                };
            };
            return (null);
        }
        public function _-4Dp(_arg1:Array, _arg2:String, _arg3:int):Array
        {
            var k:Array;
            var k:_-1k3;
            var k:ActionDefinition;
            var k:int;
            k = 0;
            while (k < _arg1.length)
            {
                k = (_arg1[k] as _-1k3);
                k = (this._-Hy[k._-1Br] as ActionDefinition);
                if (((!((k == null))) && (!((k._-3OL(_arg2, _arg3) == null)))))
                {
                    k = k._-3OL(_arg2, _arg3);
                };
                k++;
            };
            return (k);
        }
        public function _-3y8(_arg1:Array):Array
        {
            var k:_-3yS;
            var k:ActionDefinition;
            k = this._-GW(_arg1);
            var k:Array = new Array();
            for each (k in k)
            {
                k = this._-Hy[k._-1Br];
                if (k != null)
                {
                    k._-0LY = k;
                    k.push(k);
                };
            };
            k.sort(this._-xG);
            return (k);
        }
        private function _-GW(_arg1:Array):Array
        {
            var k:_-1k3;
            var k:ActionDefinition;
            var k:int;
            var k:String;
            var k:Array = new Array();
            var k:Array = new Array();
            k = 0;
            while (k < _arg1.length)
            {
                k = (_arg1[k] as _-1k3);
                k = (this._-Hy[k._-1Br] as ActionDefinition);
                if (k != null)
                {
                    k = k.concat(k._-4bU(k._-5-k));
                };
                k++;
            };
            k = 0;
            while (k < _arg1.length)
            {
                k = (_arg1[k] as _-1k3);
                k = k._-1Br;
                if (k._-1Br == "fx")
                {
                    k = (k + ("." + k._-5-k));
                };
                if (k.indexOf(k) == -1)
                {
                    k.push(k);
                };
                k++;
            };
            return (k);
        }
        private function _-xG(_arg1:_-3yS, _arg2:_-3yS):Number
        {
            var k:Number = _arg1._-0LY.precedence;
            var k:Number = _arg2._-0LY.precedence;
            if (k < k)
            {
                return (1);
            };
            if (k > k)
            {
                return (-1);
            };
            return (0);
        }

    }
}//package _-3o7

//------------------------------------------------------------
//_-3pm._-dR

package _-3pm
{
    import flash.utils.ByteArray;

    public class _-dR 
    {

        private var ba:ByteArray;

        public function _-dR(_arg1:int)
        {
            this.ba = new ByteArray();
            this.ba.writeShort(_arg1);
            this.ba.position = 0;
        }
        public function get value():int
        {
            var k:int;
            this.ba.position = 0;
            if (this.ba.bytesAvailable)
            {
                k = this.ba.readShort();
                this.ba.position = 0;
            };
            return (k);
        }

    }
}//package _-3pm

//------------------------------------------------------------
//_-3PZ._-0hr

package _-3PZ
{
    public class _-0hr 
    {

        public static const INIT:String = "HABBO_CONNECTION_EVENT_INIT";
        public static const _-1WR:String = "HABBO_CONNECTION_EVENT_ESTABLISHED";
        public static const _-1Nb:String = "HABBO_CONNECTION_EVENT_HANDSHAKING";
        public static const _-4kN:String = "HABBO_CONNECTION_EVENT_HANDSHAKED";
        public static const _-0xg:String = "HABBO_CONNECTION_EVENT_HANDSHAKE_FAIL";
        public static const _-1sg:String = "HABBO_CONNECTION_EVENT_AUTHENTICATED";
        public static const _-3eK:String = "HABBO_CONNECTION_EVENT_REGISTER";

    }
}//package _-3PZ

//------------------------------------------------------------
//_-3PZ._-0qq

package _-3PZ
{
    public class _-0qq 
    {

        public static const _-cx:String = "habbo";
        public static const _-2eP:int = 0;
        public static const _-4Hz:int = 1;
        public static const _-1S9:int = 2;

    }
}//package _-3PZ

//------------------------------------------------------------
//_-3PZ._-0xj

package _-3PZ
{
    public class _-0xj 
    {

        public static const _-0Jy:String = "habbo_web_login_successful";
        public static const _-pr:String = "habbo_web_login_error";

    }
}//package _-3PZ

//------------------------------------------------------------
//_-3PZ._-2yx

package _-3PZ
{
    public class _-2yx 
    {

        public static const _-2Pm:String = "HHVE_START_LOAD";
        public static const _-3zu:String = "HHVE_LOADED";
        public static const _-080:String = "HHVE_ERROR";

    }
}//package _-3PZ

//------------------------------------------------------------
//_-3PZ._-4iF

package _-3PZ
{
    public class _-4iF 
    {

        public static const _-4tx:int = 0;
        public static const _-4eO:int = 1;
        public static const _-2d6:int = 2;

    }
}//package _-3PZ

//------------------------------------------------------------
//_-3Q9.HabboLandingView

package _-3Q9
{
    import _-16i.AbstractView;
    import _-253._-4Qc;
    import _-3gx._-4BJ;
    import _-1Jd._-45k;
    import _-0mD._-2Jq;
    import _-4GV._-0Uq;
    import _-2tv._-03-;
    import _-3vb._-3b;
    import _-0jj._-0QY;
    import _-0GO._-1Z9;
    import _-293._-5-S;
    import _-Ew.IWindow;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboNavigator;
    import com.sulake.iid.IIDHabboQuestEngine;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboHelp;
    import com.sulake.iid.IIDHabboGameManager;
    import com.sulake.iid.IIDRoomEngine;
    import _-0eb._-1ih;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-2gz._-2UE;
    import _-4pF._-3Ts;
    import _-4Wu._-4uR;
    import _-3X8._-0hg;
    import _-3MI._-0Sy;
    import _-1ae.IDesktopWindow;
    import _-2hH.Xmas2012Layout;
    import _-3vb._-1Ix;
    import _-4Aj._-1oF;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-50-._-4xZ;
    import _-1zF._-1LB;
    import _-3vb.HabboToolbarIconEnum;
    import _-1HK._-4Pw;
    import _-4Aj._-0tL;
    import _-18r.ErrorReportStorage;
    import _-295._-2kE;
    import _-295._-243;
    import _-0hd._-4Xz;
    import _-32F._-Hw;
    import _-32F._-48b;
    import _-b9._-2-6;
    import _-1Jd._-51K;
    import _-0eb.*;

    public class HabboLandingView extends AbstractView implements _-4-p 
    {

        private var _-4Ts:_-4Qc;
        private var _-478:_-4BJ;
        private var _-16k:_-45k;
        private var _-3oJ:_-2Jq;
        private var _-2bJ:_-0Uq;
        private var _-2EK:_-03-;
        private var _-0a7:_-3b;
        private var _-Je:_-0QY;
        private var _-4TF:Boolean = false;
        private var _-4oB:_-1Z9;
        private var _-VZ:Boolean = false;
        private var _-0tK:_-5-S;
        private var _-2v1:IWindow;

        public function HabboLandingView(_arg1:_-1ih, _arg2:uint, _arg3:_-39L)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboCommunicationManager(), this._-35Q);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboNavigator(), this._-wL);
            queueInterface(new IIDHabboQuestEngine(), this._-of);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboHelp(), this._-04o);
            queueInterface(new IIDHabboGameManager(), this._-2Ba);
            queueInterface(new IIDRoomEngine(), this._-2XA);
        }
        public static function _-51x(_arg1:IWindowContainer, _arg2:String, _arg3:String):void
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            var k:IWindow = _arg1.findChildByName(_arg3);
            var k:int = k.x;
            k.x = ((k.x + k.width) + 5);
            k.width = (k.width + (k - k.x));
        }

        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function get navigator():_-0Uq
        {
            return (this._-2bJ);
        }
        public function get questEngine():_-03-
        {
            return (this._-2EK);
        }
        public function get tracking():_-2UE
        {
            return (_tracking);
        }
        public function get windowManager():_-3Ts
        {
            return (_-U-);
        }
        public function get communicationManager():_-4BJ
        {
            return (this._-478);
        }
        public function get configurationManager():_-4uR
        {
            return (_-qn);
        }
        public function get localizationManager():_-0hg
        {
            return (_-1u4);
        }
        public function get _-4HW():Boolean
        {
            return (((_-qn) && (_-qn.getBoolean("landing.view.enabled", false))));
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-4Ts)
                {
                    this._-4Ts.dispose();
                    this._-4Ts = null;
                };
                if (this._-3oJ)
                {
                    this._-3oJ.release(new IIDHabboCatalog());
                    this._-3oJ = null;
                };
                if (this._-2bJ)
                {
                    this._-2bJ.release(new IIDHabboNavigator());
                    this._-2bJ = null;
                };
                if (this._-0a7)
                {
                    if (this._-0a7.events)
                    {
                        this._-0a7.events.removeEventListener(_-0Sy._-40N, this._-2J3);
                    };
                    this._-0a7.release(new IIDHabboToolbar());
                    this._-0a7 = null;
                };
                if (this._-Je != null)
                {
                    this._-Je.release(new IIDHabboHelp());
                    this._-Je = null;
                };
                if (this._-478)
                {
                    this._-478.release(new IIDHabboCommunicationManager());
                    this._-478 = null;
                };
                if (this._-2v1)
                {
                    this._-2v1.dispose();
                    this._-2v1 = null;
                };
                super.dispose();
            };
        }
        public function initialize():void
        {
            var k:IDesktopWindow;
            var k:IWindow;
            var k:Boolean;
            if (this._-4HW)
            {
                k = _-U-.getDesktop(0);
                k = k.getChildByName("hotel_view_welcome_window");
                if (k != null)
                {
                    k.removeChild(k);
                    k.dispose();
                };
                k = false;
                if (k)
                {
                    this._-4Ts = new Xmas2012Layout(this);
                }
                else
                {
                    this._-4Ts = new _-4Qc(this);
                };
                this.activate();
                if (this._-2s9())
                {
                    this._-1-k();
                };
            };
        }
        public function activate():void
        {
            if (this._-4HW)
            {
                if (this._-0a7)
                {
                    this._-0a7._-4pw(_-1Ix._-Zz);
                };
                if (this._-4Ts != null)
                {
                    this._-4Ts.activate();
                }
                else
                {
                    _-Nb.log("ERROR - Landing view layout is not initialized and cannot be activated - See caught errors in tryInitialize()");
                };
            };
        }
        public function disable():void
        {
            if (((this._-4HW) && (!((this._-4Ts == null)))))
            {
                this._-4Ts.disable();
            };
        }
        public function get _-Jm():Boolean
        {
            return (((((this._-4Ts) && (this._-4Ts.window))) && (this._-4Ts.window.visible)));
        }
        public function send(_arg1:_-1oF):void
        {
            if (this._-478)
            {
                this._-478._-4gR(null).send(_arg1);
            };
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = _-2Jq(_arg2);
            this.tryInitialize();
        }
        private function _-wL(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2bJ = _-0Uq(_arg2);
            this.tryInitialize();
        }
        private function _-of(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2EK = _-03-(_arg2);
            this.tryInitialize();
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = _-3b(_arg2);
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-2J3);
            this.tryInitialize();
        }
        private function _-04o(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Je = (_arg2 as _-0QY);
        }
        private function _-2Ba(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-4oB = (_arg2 as _-1Z9);
            this._-4oB.events.addEventListener(_-4xZ.GAME_CONFIGURATIONS_INITIALIZED, this._-0Vw);
            this.tryInitialize();
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0tK = (_arg2 as _-5-S);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        private function _-2J3(_arg1:_-0Sy):void
        {
            switch (_arg1._-1wJ)
            {
                case HabboToolbarIconEnum.PANIC:
                case HabboToolbarIconEnum.RECEPTION:
                    if (this._-16k.getSession(-1, -1))
                    {
                        this.send(new _-1LB());
                        this._-16k._-50S(-1, -1);
                    };
                    this.activate();
                    return;
                case HabboToolbarIconEnum.GAMES:
                    if (_-qn.getBoolean("game.center.enabled", false))
                    {
                        this.disable();
                    };
                    return;
            };
        }
        private function _-35Q(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-478 = _-4BJ(_arg2);
            this._-478.addHabboConnectionMessageEvent(new _-4Pw(this._-4sK));
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-16k = (_arg2 as _-45k);
        }
        public function _-4sK(_arg1:_-0tL):void
        {
            if (!this._-4TF)
            {
                this._-4TF = true;
                this.tryInitialize();
            };
        }
        private function _-0Vw(_arg1:_-4xZ):void
        {
            if (!this._-VZ)
            {
                this._-VZ = true;
                if (this._-2s9())
                {
                    this.tryInitialize();
                };
            };
        }
        override protected function tryInitialize():Boolean
        {
            if (!super.tryInitialize())
            {
                return (false);
            };
            var gamesOK:Boolean = ((!(this._-2s9())) || (this._-VZ));
            if (((((((((((((((((this._-4HW) && (this._-478))) && (this._-3oJ))) && (this._-2bJ))) && (this._-0a7))) && (this._-16k))) && (this._-4TF))) && (this._-4oB))) && (gamesOK)))
            {
                this._-2v1 = this.getXmlWindow("initialization_error");
                this._-2v1.visible = false;
                try
                {
                    this.initialize();
                    IWindowContainer(this._-2v1.parent).removeChild(this._-2v1);
                }
                catch(e:Error)
                {
                    ErrorReportStorage._-0QQ("HabboLandingView", "Landing view layout initialization failed!");
                    _-4Ts.dispose();
                    _-4Ts = null;
                    windowManager.getDesktop(0).addChild(_-2v1);
                    _-2v1.center();
                    _-2v1.visible = true;
                    context.root.error((e.message + " Landing view initialization failed because of a Flash Error. Landing view removed and disposed!"), false, e.errorID);
                };
                return (true);
            };
            return (false);
        }
        public function getXmlWindow(_arg1:String, _arg2:uint=1):IWindow
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var layer:int = _arg2;
            var window:IWindow;
            try
            {
                asset = assets.getAssetByName((name + "_xml"));
                xmlAsset = _-243(asset);
                window = _-U-.buildFromXML(XML(xmlAsset.content), layer);
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboLandingView", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + _-U-) + "!"));
                throw (e);
            };
            return (window);
        }
        public function goToRoom(_arg1:String=null):void
        {
            if (_arg1 == null)
            {
                k = _-qn.getKey("landing.view.roomcategory");
            };
            if (_arg1 != null)
            {
                this.send(new _-4Xz(_arg1));
            };
        }
        public function getProductData(_arg1:String, _arg2:_-Hw):_-48b
        {
            if (_-0pW.loadProductData(_arg2))
            {
                return (_-0pW.getProductData(_arg1));
            };
            return (null);
        }
        public function get habboHelp():_-0QY
        {
            return (this._-Je);
        }
        public function openGameCenterByGameName(_arg1:String):void
        {
            if (this._-4oB)
            {
                this._-4oB.showGameCenterByGameName("showGameCenter.landingView", _arg1);
                this.disable();
            };
        }
        public function _-3m7(_arg1:int):void
        {
            if (this._-4oB)
            {
                this._-4oB.showGameCenter("showGameCenter.landingView", _arg1);
                this.disable();
            };
        }
        public function openGameCenter():void
        {
            if (this._-4oB)
            {
                this._-4oB.showGameCenter("showGameCenter.landingView");
                this.disable();
            };
        }
        public function requestBadge(_arg1:String):void
        {
            this.send(new _-2-6(_arg1));
        }
        public function get sessionDataManager():_-51K
        {
            return (_-0pW);
        }
        private function _-2s9():Boolean
        {
            return (_-qn.keyExists("game.name"));
        }
        private function _-1-k():void
        {
            var k:String;
            if (((this._-4oB) && (_-qn)))
            {
                if (this._-2s9())
                {
                    k = _-qn.getKey("game.name");
                    if (((k) && (!((k == "default")))))
                    {
                        this._-4oB.showGameCenterByGameName("showGameCenter.gameCenterForward", k);
                    }
                    else
                    {
                        this._-4oB.showGameCenter("showGameCenter.gameCenterForward");
                    };
                    this.disable();
                };
            };
        }

    }
}//package _-3Q9

//------------------------------------------------------------
//_-3QI.Game2ArenaEnteredMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2ArenaEnteredMessageParser;
    import _-4Aj.*;

    public class Game2ArenaEnteredMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2ArenaEnteredMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2ArenaEnteredMessageParser);
        }
        public function _-3-5():Game2ArenaEnteredMessageParser
        {
            return ((this._-515 as Game2ArenaEnteredMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2EnterArenaFailedMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2EnterArenaFailedMessageParser;
    import _-4Aj.*;

    public class Game2EnterArenaFailedMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2EnterArenaFailedMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2EnterArenaFailedMessageParser);
        }
        public function _-3-5():Game2EnterArenaFailedMessageParser
        {
            return ((this._-515 as Game2EnterArenaFailedMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2EnterArenaMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2EnterArenaMessageParser;
    import _-4Aj.*;

    public class Game2EnterArenaMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2EnterArenaMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2EnterArenaMessageParser);
        }
        public function _-3-5():Game2EnterArenaMessageParser
        {
            return ((this._-515 as Game2EnterArenaMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2GameChatFromPlayerMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2GameChatFromPlayerMessageParser;
    import _-4Aj.*;

    public class Game2GameChatFromPlayerMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameChatFromPlayerMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameChatFromPlayerMessageParser);
        }
        public function _-3-5():Game2GameChatFromPlayerMessageParser
        {
            return ((this._-515 as Game2GameChatFromPlayerMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2GameEndingMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2GameEndingMessageParser;
    import _-4Aj.*;

    public class Game2GameEndingMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameEndingMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameEndingMessageParser);
        }
        public function _-3-5():Game2GameEndingMessageParser
        {
            return ((this._-515 as Game2GameEndingMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2GameRejoinMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2GameRejoinMessageParser;
    import _-4Aj.*;

    public class Game2GameRejoinMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameRejoinMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameRejoinMessageParser);
        }
        public function _-3-5():Game2GameRejoinMessageParser
        {
            return ((this._-515 as Game2GameRejoinMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2PlayerExitedGameArenaMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2PlayerExitedGameArenaMessageParser;
    import _-4Aj.*;

    public class Game2PlayerExitedGameArenaMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2PlayerExitedGameArenaMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2PlayerExitedGameArenaMessageParser);
        }
        public function _-3-5():Game2PlayerExitedGameArenaMessageParser
        {
            return ((this._-515 as Game2PlayerExitedGameArenaMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2PlayerRematchesMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2PlayerRematchesMessageParser;
    import _-4Aj.*;

    public class Game2PlayerRematchesMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2PlayerRematchesMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2PlayerRematchesMessageParser);
        }
        public function _-3-5():Game2PlayerRematchesMessageParser
        {
            return ((this._-515 as Game2PlayerRematchesMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2StageEndingMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2StageEndingMessageParser;
    import _-4Aj.*;

    public class Game2StageEndingMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2StageEndingMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2StageEndingMessageParser);
        }
        public function _-3-5():Game2StageEndingMessageParser
        {
            return ((this._-515 as Game2StageEndingMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2StageLoadMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2StageLoadMessageParser;
    import _-4Aj.*;

    public class Game2StageLoadMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2StageLoadMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2StageLoadMessageParser);
        }
        public function _-3-5():Game2StageLoadMessageParser
        {
            return ((this._-515 as Game2StageLoadMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2StageRunningMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2StageRunningMessageParser;
    import _-4Aj.*;

    public class Game2StageRunningMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2StageRunningMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2StageRunningMessageParser);
        }
        public function _-3-5():Game2StageRunningMessageParser
        {
            return ((this._-515 as Game2StageRunningMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2StageStartingMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2StageStartingMessageParser;
    import _-4Aj.*;

    public class Game2StageStartingMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2StageStartingMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2StageStartingMessageParser);
        }
        public function _-3-5():Game2StageStartingMessageParser
        {
            return ((this._-515 as Game2StageStartingMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3QI.Game2StageStillLoadingMessageEvent

package _-3QI
{
    import _-4Aj._-7V;
    import _-01j.Game2StageStillLoadingMessageParser;
    import _-4Aj.*;

    public class Game2StageStillLoadingMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2StageStillLoadingMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2StageStillLoadingMessageParser);
        }
        public function _-3-5():Game2StageStillLoadingMessageParser
        {
            return ((this._-515 as Game2StageStillLoadingMessageParser));
        }

    }
}//package _-3QI

//------------------------------------------------------------
//_-3ql._-0Ov

package _-3ql
{
    import _-4Fh._-aE;
    import _-1B-._-5CE;
    import _-4Fh._-4yY;

    public class _-0Ov extends _-aE 
    {

        public function _-0Ov(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
        override public function createRenderer():_-4yY
        {
            var k:_-4yY = new _-1XU(this);
            return (k);
        }

    }
}//package _-3ql

//------------------------------------------------------------
//_-3ql._-1XU

package _-3ql
{
    import _-4Fh._-5-6;
    import _-1B-._-Px;
    import _-4Fh._-2vu;

    public class _-1XU extends _-5-6 
    {

        public function _-1XU(_arg1:_-Px)
        {
            super(_arg1);
        }
        override protected function createCanvasInstance(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-2vu
        {
            return (new _-4dF(this, ("canvas_" + _arg1), _arg2, _arg3, _arg4));
        }

    }
}//package _-3ql

//------------------------------------------------------------
//_-3ql._-2Kx

package _-3ql
{
    import _-4Fh.*;

    public interface _-2Kx extends _-2vu 
    {

        function _-2Xk(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean, _arg8:Boolean):Boolean;

    }
}//package _-3ql

//------------------------------------------------------------
//_-3ql._-4dF

package _-3ql
{
    import _-4Fh.RoomSpriteCanvas;
    import _-4Fh._-00E;
    import _-3V-._-3SU;
    import _-071._-3gM;
    import  case._-3Fs;
    import flash.geom.Point;

    public class _-4dF extends RoomSpriteCanvas implements _-2Kx 
    {

        public function _-4dF(_arg1:_-00E, _arg2:String, _arg3:int, _arg4:int, _arg5:int)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
        }
        private function getRoomObject(_arg1:int, _arg2:String):_-3SU
        {
            var k:int;
            var k:_-3SU;
            if (container != null)
            {
                k = (container.getRoomObjectCount() - 1);
                while (k >= 0)
                {
                    k = container.getRoomObjectWithIndex(k);
                    if ((((k.getId() == _arg1)) && ((((_arg2 == null)) || ((k.getType() == _arg2))))))
                    {
                        return (k);
                    };
                    if ((((_arg1 < 0)) && ((k.getType() == _arg2))))
                    {
                        return (k);
                    };
                    k--;
                };
            };
            return (null);
        }
        public function _-2Xk(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean, _arg8:Boolean):Boolean
        {
            var k:String;
            var k:int;
            var k:_-3gM;
            var k:_-3Fs;
            var k:Point;
            var k:_-3SU = this.getRoomObject(_arg1, _arg2);
            if (((!((k == null))) && (!((container == null)))))
            {
                k = container.getRoomObjectIdentifier(k);
                k = (_-My - 1);
                while (k >= 0)
                {
                    k = null;
                    k = (_-2IM(k) as _-3Fs);
                    if (((!((k == null))) && ((_-2AQ(k) == k))))
                    {
                        if ((((_arg3 == null)) || ((k.tag == _arg3))))
                        {
                            k = this._-2y8(k);
                            if (k)
                            {
                                k = _-ep(k.x, k.y, (k.x - k.x), (k.y - k.y), _arg4, _arg3, _arg5, _arg6, _arg7, _arg8);
                                _-1Eh(k, k);
                                _-1Eo();
                                return (true);
                            };
                        };
                    };
                    k--;
                };
            };
            return (false);
        }
        private function _-2y8(_arg1:_-3Fs):Point
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int = (_arg1.x + (_arg1.width >> 1));
            var k:int = (_arg1.y + (_arg1.height >> 1));
            if (_arg1.hitTestPoint((k - _arg1.x), (k - _arg1.y)))
            {
                return (new Point(k, k));
            };
            var k:int = 5;
            var k:int = _arg1.height;
            var k:int = _arg1.width;
            var k:int;
            while (k < k)
            {
                k = 0;
                while (k < k)
                {
                    while (k < k)
                    {
                        while (k < k)
                        {
                            if (_arg1.hitTestPoint(k, k))
                            {
                                return (new Point((_arg1.x + k), (_arg1.y + k)));
                            };
                            k = (k + k);
                        };
                        k = (k + k);
                    };
                    k++;
                };
                k++;
            };
            return (null);
        }

    }
}//package _-3ql

//------------------------------------------------------------
//_-3Qs._-1Lj

package _-3Qs
{
    import flash.geom.Matrix;
    import flash.geom.ColorTransform;
    import _-bY._-4U6;
    import flash.display.BitmapData;
    import _-2eC.ISkinRenderer;
    import _-09j.WindowParam;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import flash.geom.Point;
    import _-1B-.*;

    public class _-1Lj implements _-1zZ 
    {

        protected static const _-4E6:uint = 0;
        protected static const _-ct:uint = 1;
        protected static const _-0TO:uint = 2;
        protected static const _-41H:Matrix = new Matrix();
        protected static const _-0ex:ColorTransform = new ColorTransform();

        protected var _-1wu:_-4U6;
        protected var _-2HM:_-N4;
        protected var _disposed:Boolean;
        protected var _-4ST:Boolean;
        protected var _-16o:uint;
        protected var _-3bM:uint;

        public function _-1Lj(_arg1:_-N4)
        {
            this._disposed = false;
            this._-2HM = _arg1;
            this._-16o = 0xFFFFFFFF;
            this._-3bM = 0;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-0bP():BitmapData
        {
            return (this._-1wu);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._-2HM = null;
                if (this._-1wu != null)
                {
                    this._-1wu.dispose();
                    this._-1wu = null;
                };
            };
        }
        public function purge():void
        {
        }
        public function render(_arg1:IWindow, _arg2:Point, _arg3:Rectangle, _arg4:Rectangle, _arg5:BitmapData):BitmapData
        {
            var k:Boolean;
            var k:BitmapData;
            var k:uint = ((_arg1.background) ? _-0TO : _-4E6);
            var k:ISkinRenderer = this._-2HM.getSkinRendererByTypeAndStyle(_arg1.type, _arg1.style);
            if (k != null)
            {
                if (k.isStateDrawable(this._-3bM))
                {
                    k = _-ct;
                };
            };
            var k:int = Math.max(_arg1.width, 1);
            var k:int = Math.max(_arg1.height, 1);
            var k:Boolean = true;
            if (k != _-4E6)
            {
                if (((((!(this._-1wu)) || (!((this._-1wu.width == k))))) || (!((this._-1wu.height == k)))))
                {
                    if (this._-1wu)
                    {
                        this._-1wu.dispose();
                    };
                    this._-1wu = new _-4U6(this, k, k, true, _arg1.color);
                    this._-4ST = true;
                    k = false;
                };
            };
            var k:IGraphicContext = IGraphicContextHost(_arg1).getGraphicContext(false);
            if (k)
            {
                if (!k.visible)
                {
                    k.visible = true;
                };
                k = _arg1._-1s-(WindowParam._-2gg);
                k = k._-1w6(_arg1.rectangle, !(_arg1._-1s-(WindowParam._-Cp)), ((k) ? _arg4 : null));
                if (k)
                {
                    this._-4ST = true;
                };
            };
            var k = !(_arg1._-1s-(WindowParam._-Cp));
            if (k != _-4E6)
            {
                if (_arg5 != null)
                {
                    _arg5.lock();
                    if (k == _-ct)
                    {
                        if (this._-4ST)
                        {
                            if (k)
                            {
                                _arg5.fillRect(_arg3, 0);
                            };
                            this._-4ST = false;
                            if (k)
                            {
                                this._-1wu.fillRect(this._-1wu.rect, _arg1.color);
                            };
                            k.draw(_arg1, this._-1wu, this._-1wu.rect, this._-3bM, false);
                        };
                        if ((((_arg1.blend < 1)) && (!(k))))
                        {
                            _-41H.tx = (_arg2.x - _arg3.x);
                            _-41H.ty = (_arg2.y - _arg3.y);
                            _-0ex.alphaMultiplier = _arg1.blend;
                            _arg3.offset(_-41H.tx, _-41H.ty);
                            _arg5.draw(this._-1wu, _-41H, _-0ex, null, _arg3, false);
                            _arg3.offset(-(_-41H.tx), -(_-41H.ty));
                        }
                        else
                        {
                            _arg5.copyPixels(this._-1wu, _arg3, _arg2, null, null, true);
                        };
                    }
                    else
                    {
                        if (k == _-0TO)
                        {
                            if (!k)
                            {
                                this._-1wu.fillRect(this._-1wu.rect, _arg1.color);
                                _arg5.copyPixels(this._-1wu, _arg3, _arg2, null, null, true);
                            }
                            else
                            {
                                _arg5.fillRect(new Rectangle(_arg2.x, _arg2.y, _arg3.width, _arg3.height), _arg1.color);
                                k.blend = _arg1.blend;
                            };
                        };
                    };
                    _arg5.unlock();
                };
            }
            else
            {
                if (((this._-4ST) && (k)))
                {
                    this._-4ST = false;
                    if (_arg5 != null)
                    {
                        _arg5.fillRect(_arg3, 0);
                    };
                };
            };
            this._-16o = this._-3bM;
            return (_arg5);
        }
        public function _-bO(_arg1:IWindow):Boolean
        {
            return (!((this._-2HM._-0Ds(_arg1.type, _arg1.style, _arg1.state) == this._-16o)));
        }
        public function invalidate(_arg1:IWindow, _arg2:uint):Boolean
        {
            var _local4:IGraphicContext;
            var k:Boolean;
            switch (_arg2)
            {
                case _-2b3._-35h:
                    this._-4ST = true;
                    k = true;
                    break;
                case _-2b3.RESIZE:
                    this._-4ST = true;
                    k = true;
                    break;
                case _-2b3._-4Pg:
                    if (_arg1._-1s-(WindowParam._-Cp))
                    {
                        k = true;
                    }
                    else
                    {
                        _local4 = IGraphicContextHost(_arg1).getGraphicContext(true);
                        _local4._-1w6(_arg1.rectangle, false, null);
                        if (!_local4.visible)
                        {
                            k = true;
                        };
                    };
                    break;
                case _-2b3._-2TJ:
                    this._-3bM = this._-2HM._-0Ds(_arg1.type, _arg1.style, _arg1.state);
                    if (this._-3bM != this._-16o)
                    {
                        this._-4ST = true;
                        k = true;
                    };
                    break;
                case _-2b3._-3yA:
                    if (_arg1._-1s-(WindowParam._-Cp))
                    {
                        this._-4ST = true;
                        k = true;
                    }
                    else
                    {
                        IGraphicContextHost(_arg1).getGraphicContext(true).blend = _arg1.blend;
                    };
                    break;
                case _-2b3._-3pb:
                    k = true;
                    break;
            };
            return (k);
        }
        private function drawRect(_arg1:BitmapData, _arg2:Rectangle, _arg3:uint):void
        {
            var k:int;
            k = _arg2.left;
            while (k < _arg2.right)
            {
                _arg1.setPixel32(k, _arg2.top, _arg3);
                _arg1.setPixel32(k, (_arg2.bottom - 1), _arg3);
                k++;
            };
            k = _arg2.top;
            while (k < _arg2.bottom)
            {
                _arg1.setPixel32(_arg2.left, k, _arg3);
                _arg1.setPixel32((_arg2.right - 1), k, _arg3);
                k++;
            };
        }

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs._-2b3

package _-3Qs
{
    public class _-2b3 
    {

        public static const UNKNOWN:uint = 0;
        public static const _-35h:uint = (1 << 0);
        public static const RESIZE:uint = (1 << 1);
        public static const _-4Pg:uint = (1 << 2);
        public static const _-2TJ:uint = (1 << 3);
        public static const _-3yA:uint = (1 << 4);
        public static const _-3pb:uint = (1 << 5);

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs._-49b

package _-3Qs
{
    import flash.display.Sprite;
    import flash.display.DisplayObjectContainer;
    import flash.geom.Rectangle;
    import flash.display.Shape;
    import flash.text.TextField;
    import flash.display.Bitmap;
    import flash.text.TextFieldType;
    import flash.display.MorphShape;
    import flash.display.BitmapData;
    import flash.display.DisplayObject;
    import flash.geom.Point;
    import flash.display.IBitmapDrawable;
    import _-bY._-4U6;

    public class _-49b extends Sprite implements IGraphicContext 
    {

        public static const GC_TYPE_UNKNOWN:uint = 0;
        public static const GC_TYPE_BITMAP:uint = (1 << 0);
        public static const GC_TYPE_TEXTFIELD:uint = (1 << 1);
        public static const GC_TYPE_CONTAINER:uint = (1 << 2);
        public static const GC_TYPE_SHAPE:uint = (1 << 3);
        public static const GC_TYPE_MORPH_SHAPE:uint = (1 << 4);
        public static const _-2Ac:uint = (1 << 6);
        public static const _-1we:uint = (1 << 7);
        public static const GC_TYPE_DESKTOP:uint = (1 << 8);

        protected static var _-0pE:uint = 0;
        protected static var _-2Xn:uint = 0;

        protected var _-0EH:DisplayObjectContainer;
        protected var _-4MZ:Boolean;
        protected var _-1Ic:Boolean;
        protected var _disposed:Boolean = false;
        protected var _-0vG:Rectangle;
        protected var _-3n2:Shape;

        public function _-49b(_arg1:String, _arg2:uint, _arg3:Rectangle)
        {
            var _local4:TextField;
            super();
            _-0pE++;
            if (_arg3 == null)
            {
                k = new Rectangle(0, 0, 0, 0);
            };
            this.name = _arg1;
            this.mouseEnabled = false;
            this.doubleClickEnabled = false;
            this.x = _arg3.x;
            this.y = _arg3.y;
            this._-0vG = _arg3;
            this._-4MZ = true;
            this._-1Ic = false;
            switch (_arg2)
            {
                case _-49b.GC_TYPE_BITMAP:
                    this._-1Ic = true;
                    this.setDisplayObject(new Bitmap());
                    this._-Jn(_arg3.width, _arg3.height);
                    return;
                case _-49b.GC_TYPE_TEXTFIELD:
                    _local4 = new TextField();
                    _local4.width = _arg3.width;
                    _local4.height = _arg3.height;
                    _local4.type = TextFieldType.INPUT;
                    this.setDisplayObject(_local4);
                    return;
                case _-49b.GC_TYPE_SHAPE:
                    this.setDisplayObject(new Shape());
                    return;
                case _-49b.GC_TYPE_MORPH_SHAPE:
                    this.setDisplayObject(new MorphShape());
                    return;
                case _-49b.GC_TYPE_CONTAINER:
                    this.setDisplayObject(new Sprite());
                    return;
                case _-49b.GC_TYPE_DESKTOP:
                    return;
                case _-49b.GC_TYPE_UNKNOWN:
                    return;
                default:
                    throw (new Error((("Unsupported graphic context type: " + _arg2) + "!")));
            };
        }
        public static function get _-42i():uint
        {
            return (_-0pE);
        }
        public static function get _-s7():uint
        {
            return (_-2Xn);
        }

        public function set parent(_arg1:DisplayObjectContainer):void
        {
            if (parent != null)
            {
                parent.removeChild(this);
            };
            if (_arg1 != null)
            {
                _arg1.addChild(this);
            };
        }
        override public function get filters():Array
        {
            return (this.getDisplayObject().filters);
        }
        override public function set filters(_arg1:Array):void
        {
            this.getDisplayObject().filters = _arg1;
        }
        public function get blend():Number
        {
            return (this.alpha);
        }
        public function set blend(_arg1:Number):void
        {
            this.alpha = _arg1;
        }
        public function get _-1Uh():Boolean
        {
            return (super.mouseEnabled);
        }
        public function set _-1Uh(_arg1:Boolean):void
        {
            super.mouseEnabled = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (parent != null)
                {
                    parent.removeChild(this);
                    this.parent = null;
                };
                while (this._-3s- > 0)
                {
                    this._-1MF(0);
                };
                if (this._-1Ic)
                {
                    this._-Zg();
                };
                if (this._-0EH != null)
                {
                    while (this._-0EH.numChildren > 0)
                    {
                        this._-0EH.removeChildAt(0);
                    };
                };
                this._-0EH = null;
                while (numChildren > 0)
                {
                    removeChildAt(0);
                };
                this._-3n2 = null;
                this._disposed = true;
                _-0pE--;
            };
        }
        override public function toString():String
        {
            return ((('[object GraphicContext name="' + name) + '"]'));
        }
        public function _-3Eb():Rectangle
        {
            return (this._-0vG.clone());
        }
        public function _-1w6(_arg1:Rectangle, _arg2:Boolean, _arg3:Rectangle):BitmapData
        {
            var k:BitmapData;
            if (((this._-1Ic) && (_arg2)))
            {
                k = this._-Jn(_arg1.width, _arg1.height);
            };
            x = _arg1.x;
            y = _arg1.y;
            this._-0vG.x = _arg1.x;
            this._-0vG.y = _arg1.y;
            this._-0vG.width = _arg1.width;
            this._-0vG.height = _arg1.height;
            if (_arg3)
            {
                if (!this._-3n2)
                {
                    this._-3n2 = new Shape();
                    this._-3n2.visible = false;
                    super.addChild(this._-3n2);
                };
                this._-3n2.graphics.clear();
                this._-3n2.graphics.beginFill(0xFF);
                this._-3n2.graphics.drawRect(_arg3.x, _arg3.y, _arg3.width, _arg3.height);
                this._-3n2.graphics.endFill();
                this.getDisplayObject().mask = this._-3n2;
            }
            else
            {
                if (this._-3n2)
                {
                    super.removeChild(this._-3n2);
                    this._-3n2.graphics.clear();
                    this._-3n2 = null;
                    this.getDisplayObject().mask = null;
                };
            };
            return (k);
        }
        public function getDisplayObject():DisplayObject
        {
            return (getChildAt(0));
        }
        public function setDisplayObject(_arg1:DisplayObject):DisplayObject
        {
            var k:DisplayObject;
            if (numChildren > 0)
            {
                k = removeChildAt(0);
            };
            addChildAt(_arg1, 0);
            _arg1.mask = this._-3n2;
            return (k);
        }
        public function _-17N(_arg1:Point):void
        {
            _arg1.x = stage.mouseX;
            _arg1.y = stage.mouseY;
        }
        public function _-1o1(_arg1:Point):void
        {
            var k:DisplayObject = this.getDisplayObject();
            _arg1.x = k.mouseX;
            _arg1.y = k.mouseY;
        }
        public function _-gq():IBitmapDrawable
        {
            var k:Bitmap;
            if (this._-1Ic)
            {
                k = (this.getDisplayObject() as Bitmap);
                if (k)
                {
                    return (k.bitmapData);
                };
            };
            return (null);
        }
        protected function _-Jn(_arg1:int, _arg2:int):BitmapData
        {
            var k:Bitmap;
            var k:BitmapData;
            if (this._-1Ic)
            {
                k = (this.getDisplayObject() as Bitmap);
                if (k)
                {
                    k = k.bitmapData;
                    if (k != null)
                    {
                        if (((!((k.width == _arg1))) || (!((k.height == _arg2)))))
                        {
                            k.bitmapData = null;
                            _-2Xn = (_-2Xn - ((k.width * k.height) * 4));
                            k.dispose();
                            k = null;
                        };
                    };
                    if ((((((k == null)) && ((_arg1 > 0)))) && ((_arg2 > 0))))
                    {
                        k = new _-4U6(this, _arg1, _arg2, this._-4MZ, 0xFFFFFF);
                        _-2Xn = (_-2Xn + ((k.width * k.height) * 4));
                        k.bitmapData = k;
                    };
                    return (k);
                };
            };
            return (null);
        }
        protected function _-Zg():void
        {
            var k:Bitmap;
            var k:BitmapData;
            if (this._-1Ic)
            {
                k = (this.getDisplayObject() as Bitmap);
                if (k)
                {
                    k = k.bitmapData;
                    if (k != null)
                    {
                        k.bitmapData = null;
                        _-2Xn = (_-2Xn - ((k.width * k.height) * 4));
                        k.dispose();
                    };
                };
            };
        }
        public function _-0b4(_arg1:Rectangle):void
        {
            graphics.clear();
            graphics.lineStyle(1, 0xFF00FF00);
            graphics.drawRect(0, 0, width, height);
            if (_arg1 != null)
            {
                graphics.lineStyle(1, 0xFF0000FF);
                graphics.drawRect(_arg1.x, _arg1.y, _arg1.width, _arg1.height);
            };
        }
        protected function _-4Iv():DisplayObjectContainer
        {
            if (this._-0EH == null)
            {
                this._-0EH = new Sprite();
                this._-0EH.name = (this.name + " - Child Container");
                this._-0EH.mouseEnabled = false;
                addChild(this._-0EH);
            };
            return (this._-0EH);
        }
        protected function _-41x():void
        {
            if (this._-0EH != null)
            {
                removeChild(this._-0EH);
                this._-0EH = null;
            };
        }
        public function get _-3s-():int
        {
            return ((((this._-0EH)!=null) ? this._-0EH.numChildren : 0));
        }
        public function _-3mO(_arg1:IGraphicContext):IGraphicContext
        {
            return ((this._-4Iv().addChild((_arg1 as DisplayObject)) as IGraphicContext));
        }
        public function _-3yV(_arg1:IGraphicContext, _arg2:int):IGraphicContext
        {
            return ((this._-4Iv().addChildAt((_arg1 as DisplayObject), _arg2) as IGraphicContext));
        }
        public function _-06t(_arg1:int):IGraphicContext
        {
            return ((this._-4Iv().getChildAt(_arg1) as IGraphicContext));
        }
        public function _-0i9(_arg1:String):IGraphicContext
        {
            return ((this._-4Iv().getChildByName(_arg1) as IGraphicContext));
        }
        public function _-3PL(_arg1:IGraphicContext):int
        {
            return (this._-4Iv().getChildIndex(DisplayObject(_arg1)));
        }
        public function _-1f1(_arg1:IGraphicContext):IGraphicContext
        {
            return ((this._-4Iv().removeChild(DisplayObject(_arg1)) as IGraphicContext));
        }
        public function _-1MF(_arg1:int):IGraphicContext
        {
            var k:IGraphicContext = (this._-4Iv().getChildAt(_arg1) as IGraphicContext);
            return ((((k == null)) ? null : this._-1f1(k)));
        }
        public function _-53j(_arg1:IGraphicContext, _arg2:int):void
        {
            var current:int;
            var temp:Array;
            var i:uint;
            var child:IGraphicContext = _arg1;
            var index:int = _arg2;
            var dispObj:DisplayObject = (child as DisplayObject);
            if (dispObj != null)
            {
                try
                {
                    current = this._-4Iv().getChildIndex(dispObj);
                }
                catch(error:ArgumentError)
                {
                    temp = new Array();
                    i = 0;
                    while (i < _-3s-)
                    {
                        temp.push(_-06t(i));
                        i = (i + 1);
                    };
                    throw (new Error("Provided display object is not a child of this!"));
                };
                if (index != current)
                {
                    this._-4Iv().setChildIndex(dispObj, index);
                };
            }
            else
            {
                throw (new Error("Provided child must implement IGraphicContext!"));
            };
        }
        public function _-1iV(_arg1:IGraphicContext, _arg2:IGraphicContext):void
        {
            this._-4Iv().swapChildren((_arg1 as DisplayObject), (_arg2 as DisplayObject));
        }
        public function _-03j(_arg1:int, _arg2:int):void
        {
            this._-4Iv().swapChildrenAt(_arg1, _arg2);
        }

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs._-4RO

package _-3Qs
{
    import _-Ew.IWindow;
    import flash.geom.Rectangle;
    import _-Ew.IWindowContext;
    import flash.display.BitmapData;
    import _-1B-.*;

    public interface _-4RO extends _-1zZ 
    {

        function set debug(_arg1:Boolean):void;
        function render():void;
        function _-1wo(_arg1:IWindow, _arg2:Rectangle, _arg3:uint):void;
        function _-0zv():void;
        function invalidate(_arg1:IWindowContext, _arg2:Rectangle):void;
        function _-2d(_arg1:IWindow):BitmapData;
        function purge(_arg1:IWindow=null, _arg2:Boolean=true):void;

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs._-N4

package _-3Qs
{
    import _-2eC.ISkinRenderer;
    import _-3EM._-4pC;
    import _-1B-.*;

    public interface _-N4 extends _-1zZ 
    {

        function getSkinRendererByTypeAndStyle(_arg1:uint, _arg2:uint):ISkinRenderer;
        function _-4Jw(_arg1:uint, _arg2:uint):_-4pC;
        function _-0Ds(_arg1:uint, _arg2:uint, _arg3:uint):uint;

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs.BitmapSkinParser

package _-3Qs
{
    import _-18r.Map;
    import _-18r.XMLVariableParser;
    import flash.utils.Dictionary;
    import _-2eC.ISkinRenderer;
    import _-295._-39L;
    import _-2eC._-2i6;
    import _-2eC._-3cR;
    import flash.geom.Rectangle;
    import _-2eC._-1VN;
    import _-2eC._-pi;
    import _-2eC.ISkinLayout;
    import _-09j.WindowState;
    import _-2eC.*;

    public class BitmapSkinParser 
    {

        public static const _-50M:String = "default";
        public static const _-143:String = "active";
        public static const _-0SB:String = "focused";
        public static const _-1kG:String = "hovering";
        public static const _-t0:String = "selected";
        public static const _-0pb:String = "pressed";
        public static const _-4C-:String = "disabled";
        public static const _-2Rp:String = "locked";

        public static function _-0-t(_arg1:XML, _arg2:XMLList, _arg3:ISkinRenderer, _arg4:String, _arg5:_-39L):void
        {
            var k:XML;
            var k:XMLList;
            var _local14:XMLList;
            var _local15:uint;
            var _local16:uint;
            var k:XML;
            var _local18:XMLList;
            var _local19:uint;
            var _local20:uint;
            var _local21:uint;
            var k:XML;
            var k:Map = new Map();
            var k:XMLList = _arg1.child("variables");
            if (k.length() > 0)
            {
                k = k[0];
                k = k.child("variable");
                if (k.length())
                {
                    XMLVariableParser.parseVariableList(k, k);
                };
            };
            var k:Dictionary = new Dictionary();
            var k:XMLList = _arg1.child("templates");
            if (k[0])
            {
                _-4x2(_arg3, k[0], k, k, _arg5);
            };
            var k:Dictionary = new Dictionary();
            var k:XMLList = _arg1.child("layouts");
            if (k[0])
            {
                if (_arg4 == null)
                {
                    _-2ep(_arg3, k[0], k, k);
                }
                else
                {
                    _local14 = k[0].child("layout");
                    _local15 = _local14.length();
                    _local16 = 0;
                    while (_local16 < _local15)
                    {
                        k = _local14[_local16];
                        if (k.attribute("name") == _arg4)
                        {
                            _-4BX(_arg3, k, k, k);
                            break;
                        };
                        _local16++;
                    };
                };
            };
            if (_arg2.length() == 0)
            {
                k = _arg1.child("states");
            };
            if (_arg2.length() > 0)
            {
                if (_arg4 == null)
                {
                    _-4Zx(_arg3, _arg2[0], k, k);
                }
                else
                {
                    _local18 = _arg2[0].child("state");
                    _local19 = _local18.length();
                    _local20 = 0;
                    _local21 = 0;
                    while (_local21 < _local19)
                    {
                        k = _local18[_local21];
                        if (k.attribute("layout") == _arg4)
                        {
                            _-2To(_arg3, k, k, k);
                            _local20++;
                        };
                        _local21++;
                    };
                };
            };
        }
        protected static function _-4BX(_arg1:ISkinRenderer, _arg2:XML, _arg3:Dictionary, _arg4:Map):void
        {
            var k:XML;
            var k:XMLList;
            var k:String = _arg2.attribute("name");
            var k = (_arg2.attribute("transparent") == "true");
            var k:String = _arg2.attribute("blendMode");
            var k:_-2i6 = new _-2i6(k, k, k);
            var k:XMLList = _arg2.child("entities");
            if (k.length() > 0)
            {
                k = k[0];
                k = k.child("entity");
                if (k.length())
                {
                    _-52q(_arg1, k, k, _arg4);
                };
            };
            _arg3[k] = k;
            _arg1._-49-(k);
        }
        protected static function _-2ep(_arg1:ISkinRenderer, _arg2:XML, _arg3:Dictionary, _arg4:Map):void
        {
            var k:XML;
            var k:XMLList = _arg2.child("layout");
            var k:uint = k.length();
            var k:uint;
            while (k < k)
            {
                k = k[k];
                _-4BX(_arg1, k, _arg3, _arg4);
                k++;
            };
        }
        protected static function _-4LM(_arg1:XML, _arg2:Map):_-3cR
        {
            var k:uint;
            var k:String;
            var k:_-3cR;
            var k:String;
            var k:XML;
            var k:XMLList;
            k = _arg1.attribute("id");
            k = (((k == null)) ? 0 : uint(k));
            k = _arg1.attribute("name");
            k = (((k == null)) ? "" : k);
            k = new _-3cR(k, k);
            k = _arg1.attribute("colorize");
            k.colorize = (((k == "")) ? true : (k == "true"));
            k = null;
            k = _arg1.child("color");
            if (k.length() > 0)
            {
                k = k[0];
                k = String(k);
                if (k != null)
                {
                    if (k.charAt(0) == "$")
                    {
                        k = _arg2[k.slice(1, k.length)];
                    };
                };
            };
            k.color = (((k == null)) ? 0 : uint(k));
            k = null;
            k = _arg1.child("blend");
            if (k.length() > 0)
            {
                k = k[0];
                k = String(k);
                if (k != null)
                {
                    if (k.charAt(0) == "$")
                    {
                        k = _arg2[k.slice(1, k.length)];
                    };
                };
            };
            k.blend = (((k == null)) ? 0xFFFFFFFF : uint(k));
            k = _arg1.child("scale");
            if (k.length() > 0)
            {
                k = k[0];
                k = k.attribute("horizontal");
                if (k != null)
                {
                    if (k.charAt(0) == "$")
                    {
                        k = _arg2[k.slice(1, k.length)];
                    };
                };
                switch (k.toLowerCase())
                {
                    case "fixed":
                        k._-tT = _-3cR._-0U7;
                        break;
                    case "move":
                        k._-tT = _-3cR._-3lH;
                        break;
                    case "strech":
                        k._-tT = _-3cR._-0C1;
                        break;
                    case "tiled":
                        k._-tT = _-3cR._-03c;
                        break;
                    case "center":
                        k._-tT = _-3cR._-2tM;
                        break;
                };
                k = k.attribute("vertical");
                if (k != null)
                {
                    if (k.charAt(0) == "$")
                    {
                        k = _arg2[k.slice(1, k.length)];
                    };
                };
                switch (k.toLowerCase())
                {
                    case "fixed":
                        k._-wb = _-3cR._-0U7;
                        break;
                    case "move":
                        k._-wb = _-3cR._-3lH;
                        break;
                    case "strech":
                        k._-wb = _-3cR._-0C1;
                        break;
                    case "tiled":
                        k._-wb = _-3cR._-03c;
                        break;
                    case "center":
                        k._-wb = _-3cR._-2tM;
                        break;
                };
            };
            k = _arg1.child("region");
            if (k.length() > 0)
            {
                k = k[0];
                k = k.child("Rectangle");
                k = k[0];
                k.region = new Rectangle();
                k = k.attribute("x");
                k.region.x = Number((((k.charAt(0))=="$") ? _arg2[k.slice(1, k.length)] : k));
                k = k.attribute("y");
                k.region.y = Number((((k.charAt(0))=="$") ? _arg2[k.slice(1, k.length)] : k));
                k = k.attribute("width");
                k.region.width = Number((((k.charAt(0))=="$") ? _arg2[k.slice(1, k.length)] : k));
                k = k.attribute("height");
                k.region.height = Number((((k.charAt(0))=="$") ? _arg2[k.slice(1, k.length)] : k));
            };
            return (k);
        }
        protected static function _-52q(_arg1:ISkinRenderer, _arg2:_-2i6, _arg3:XMLList, _arg4:Map):void
        {
            var k:_-3cR;
            var k:uint;
            var k:uint = _arg3.length();
            k = 0;
            while (k < k)
            {
                k = _-4LM(_arg3[k], _arg4);
                if (k != null)
                {
                    _arg2.addChild(k);
                };
                k++;
            };
        }
        protected static function _-4x2(_arg1:ISkinRenderer, _arg2:XML, _arg3:Dictionary, _arg4:Map, _arg5:_-39L):void
        {
            var k:XML;
            var k:String;
            var k:String;
            var k:_-1VN;
            var k:XMLList;
            var k:XML;
            var k:XMLList;
            var k:XMLList = _arg2.child("template");
            var k:uint = k.length();
            var k:uint;
            while (k < k)
            {
                k = k[k];
                k = k.attribute("name");
                if (k != null)
                {
                    if (k.charAt(0) == "$")
                    {
                        k = _arg4[k.slice(1, k.length)];
                    };
                };
                k = k.attribute("asset");
                if (k != null)
                {
                    if (k.charAt(0) == "$")
                    {
                        k = _arg4[k.slice(1, k.length)];
                    };
                };
                k = new _-1VN(k, _arg5.getAssetByName(k));
                k = k.child("entities");
                if (k.length() > 0)
                {
                    k = k[0];
                    k = k.child("entity");
                    if (k.length())
                    {
                        _-4M7(_arg1, k, k, _arg4);
                    };
                };
                _arg3[k] = k;
                _arg1._-1go(k);
                k++;
            };
        }
        protected static function _-4M7(_arg1:ISkinRenderer, _arg2:_-1VN, _arg3:XMLList, _arg4:Map):void
        {
            var k:XML;
            var k:XMLList;
            var k:XML;
            var k:XMLList;
            var k:XML;
            var k:String;
            var k:String;
            var k:String;
            var k:uint;
            var k:Rectangle;
            var k:int;
            var k:int = _arg3.length();
            k = 0;
            while (k < k)
            {
                k = _arg3[k];
                k = k.attribute("name");
                k = (((k.charAt(0))=="$") ? _arg4[k.slice(1, k.length)] : k);
                k = k.attribute("type");
                k = (((k.charAt(0))=="$") ? _arg4[k.slice(1, k.length)] : k);
                k = k.attribute("id");
                k = uint((((k.charAt(0))=="$") ? _arg4[k.slice(1, k.length)] : k));
                k = k.child("region");
                if (k.length() > 0)
                {
                    k = k[0];
                    k = k.child("Rectangle");
                    k = k[0];
                    k = new Rectangle();
                    k = k.attribute("x");
                    k.x = Number((((k.charAt(0))=="$") ? _arg4[k.slice(1, k.length)] : k));
                    k = k.attribute("y");
                    k.y = Number((((k.charAt(0))=="$") ? _arg4[k.slice(1, k.length)] : k));
                    k = k.attribute("width");
                    k.width = Number((((k.charAt(0))=="$") ? _arg4[k.slice(1, k.length)] : k));
                    k = k.attribute("height");
                    k.height = Number((((k.charAt(0))=="$") ? _arg4[k.slice(1, k.length)] : k));
                };
                _arg2.addChild(new _-pi(k, k, k, k));
                k++;
            };
        }
        protected static function _-2To(_arg1:ISkinRenderer, _arg2:XML, _arg3:Dictionary, _arg4:Map):void
        {
            var k:XML;
            var k:XMLList;
            var k:Map;
            var k:String;
            var k:Object;
            var k:String = _arg2.attribute("name");
            if (k.charAt(0) == "$")
            {
                k = _arg4[k.slice(1, k.length)];
            };
            var k:String = _arg2.attribute("layout");
            if (k.charAt(0) == "$")
            {
                k = _arg4[k.slice(1, k.length)];
            };
            var k:String = _arg2.attribute("template");
            if (k.charAt(0) == "$")
            {
                k = _arg4[k.slice(1, k.length)];
            };
            var k:ISkinLayout = _arg3[k];
            if (k == null)
            {
                throw (new Error((((("State " + k) + " has invalid layout reference ") + k) + "!")));
            };
            var k:XMLList = _arg2.child("variables");
            if (k.length() > 0)
            {
                k = k[0];
                k = k.child("variable");
                if (k.length())
                {
                    k = new Map();
                    XMLVariableParser.parseVariableList(k, k);
                    for (k in k)
                    {
                        k = k[k];
                        if ((k is String))
                        {
                            if (String(k).charAt(0) == "$")
                            {
                                k = _arg4[k.slice(1, k.length)];
                                k[k] = k;
                            };
                        };
                    };
                };
            };
            var k:uint = WindowState._-50M;
            switch (k)
            {
                case BitmapSkinParser._-143:
                    k = WindowState._-143;
                    break;
                case BitmapSkinParser._-50M:
                    k = WindowState._-50M;
                    break;
                case BitmapSkinParser._-0SB:
                    k = WindowState._-0SB;
                    break;
                case BitmapSkinParser._-4C-:
                    k = WindowState._-4C-;
                    break;
                case BitmapSkinParser._-1kG:
                    k = WindowState._-1kG;
                    break;
                case BitmapSkinParser._-0pb:
                    k = WindowState._-0pb;
                    break;
                case BitmapSkinParser._-t0:
                    k = WindowState._-t0;
                    break;
                case BitmapSkinParser._-2Rp:
                    k = WindowState._-2Rp;
                    break;
                default:
                    throw (new Error((('Unknown window state: "' + k) + '"!')));
            };
            _arg1._-15E(k, k);
            _arg1._-3HO(k, k);
        }
        protected static function _-4Zx(_arg1:ISkinRenderer, _arg2:XML, _arg3:Dictionary, _arg4:Map):void
        {
            var k:XMLList = _arg2.child("state");
            var k:uint = k.length();
            var k:uint;
            while (k < k)
            {
                _-2To(_arg1, k[k], _arg3, _arg4);
                k++;
            };
        }

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs.IGraphicContext

package _-3Qs
{
    import flash.display.DisplayObjectContainer;
    import flash.geom.Rectangle;
    import flash.display.BitmapData;
    import flash.display.DisplayObject;
    import flash.geom.Point;
    import flash.display.IBitmapDrawable;
    import _-1B-.*;
    import flash.display.*;
    import flash.events.*;

    public interface IGraphicContext extends IBitmapDrawable, IEventDispatcher, _-1zZ 
    {

        function get parent():DisplayObjectContainer;
        function set parent(_arg1:DisplayObjectContainer):void;
        function get filters():Array;
        function set filters(_arg1:Array):void;
        function get visible():Boolean;
        function set visible(_arg1:Boolean):void;
        function get blend():Number;
        function set blend(_arg1:Number):void;
        function get _-1Uh():Boolean;
        function set _-1Uh(_arg1:Boolean):void;
        function _-3Eb():Rectangle;
        function _-1w6(_arg1:Rectangle, _arg2:Boolean, _arg3:Rectangle):BitmapData;
        function getDisplayObject():DisplayObject;
        function setDisplayObject(_arg1:DisplayObject):DisplayObject;
        function _-17N(_arg1:Point):void;
        function _-1o1(_arg1:Point):void;
        function _-gq():IBitmapDrawable;
        function _-0b4(_arg1:Rectangle):void;
        function get _-3s-():int;
        function _-3mO(_arg1:IGraphicContext):IGraphicContext;
        function _-3yV(_arg1:IGraphicContext, _arg2:int):IGraphicContext;
        function _-06t(_arg1:int):IGraphicContext;
        function _-3PL(_arg1:IGraphicContext):int;
        function _-1f1(_arg1:IGraphicContext):IGraphicContext;
        function _-1MF(_arg1:int):IGraphicContext;
        function _-53j(_arg1:IGraphicContext, _arg2:int):void;
        function _-1iV(_arg1:IGraphicContext, _arg2:IGraphicContext):void;
        function _-03j(_arg1:int, _arg2:int):void;

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs.IGraphicContextHost

package _-3Qs
{
    public interface IGraphicContextHost 
    {

        function get name():String;
        function getGraphicContext(_arg1:Boolean):IGraphicContext;
        function _-3gg():Boolean;

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs.SkinContainer

package _-3Qs
{
    import flash.utils.Dictionary;
    import _-09j.WindowState;
    import _-2eC.ISkinRenderer;
    import _-3EM._-4pC;
    import _-09j.WindowStyle;
    import _-2eC.*;

    public class SkinContainer implements _-N4 
    {

        private static const _-0XE:uint = 100;

        protected static var _-mO:Array;

        private var _disposed:Boolean = false;
        private var _-3Fp:Dictionary;
        private var _-0HC:Dictionary;
        private var _-5Eo:Dictionary;
        private var _-vj:Dictionary;

        public function SkinContainer()
        {
            this._-3Fp = new Dictionary();
            this._-0HC = new Dictionary();
            this._-5Eo = new Dictionary();
            this._-vj = new Dictionary();
            if (_-mO == null)
            {
                _-mO = new Array();
                _-mO.push(WindowState._-2Rp);
                _-mO.push(WindowState._-4C-);
                _-mO.push(WindowState._-0pb);
                _-mO.push(WindowState._-t0);
                _-mO.push(WindowState._-1kG);
                _-mO.push(WindowState._-0SB);
                _-mO.push(WindowState._-143);
                _-mO.push(WindowState._-50M);
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this._-3Fp = null;
            this._-0HC = null;
            this._-5Eo = null;
            this._-vj = null;
            this._disposed = true;
        }
        public function _-1XH(_arg1:uint, _arg2:uint, _arg3:String, _arg4:ISkinRenderer, _arg5:XML, _arg6:_-4pC):void
        {
            if (this._-3Fp[_arg1] == null)
            {
                this._-3Fp[_arg1] = new Array(_-0XE);
            };
            this._-3Fp[_arg1][_arg2] = _arg4;
            if (this._-0HC[_arg1] == null)
            {
                this._-0HC[_arg1] = new Array(_-0XE);
            };
            this._-0HC[_arg1][_arg2] = _arg6;
            if (this._-5Eo[_arg1] == null)
            {
                this._-5Eo[_arg1] = new Array(_-0XE);
            };
            this._-5Eo[_arg1][_arg2] = _arg5;
            if (this._-vj[_arg1] == null)
            {
                this._-vj[_arg1] = new Array(_-0XE);
            };
            this._-vj[_arg1][_arg2] = ((((!((_arg3 == null))) && ((_arg3.length > 0)))) ? _arg3 : _arg2.toString());
        }
        public function getSkinRendererByTypeAndStyle(_arg1:uint, _arg2:uint):ISkinRenderer
        {
            var k:ISkinRenderer;
            var k:Array = this._-3Fp[_arg1];
            if (k)
            {
                k = k[_arg2];
                if (((!(k)) && (!((_arg2 == WindowStyle._-5B8)))))
                {
                    k = k[WindowStyle._-5B8];
                };
            };
            return (k);
        }
        public function _-4YU(_arg1:uint, _arg2:uint):Boolean
        {
            return (((this._-3Fp[_arg1]) && (this._-3Fp[_arg1][_arg2])));
        }
        public function _-4Jw(_arg1:uint, _arg2:uint):_-4pC
        {
            var k:_-4pC;
            var k:Array = this._-0HC[_arg1];
            if (k)
            {
                k = k[_arg2];
                if (((!(k)) && (!((_arg2 == WindowStyle._-5B8)))))
                {
                    k = k[WindowStyle._-5B8];
                };
            };
            return (k);
        }
        public function _-FR(_arg1:uint, _arg2:uint):XML
        {
            var k:Array = this._-5Eo[_arg1];
            if (k == null)
            {
                return (null);
            };
            if (k[_arg2] == null)
            {
                return (k[0]);
            };
            return (k[_arg2]);
        }
        public function _-m0(_arg1:uint, _arg2:uint):String
        {
            var k:Array = this._-vj[_arg1];
            return (((((!((k == null))) && (!((k[_arg2] == null))))) ? k[_arg2] : null));
        }
        public function _-0Ds(_arg1:uint, _arg2:uint, _arg3:uint):uint
        {
            var k:uint;
            var k:ISkinRenderer = this.getSkinRendererByTypeAndStyle(_arg1, _arg2);
            if (k)
            {
                for each (k in _-mO)
                {
                    if ((_arg3 & k) == k)
                    {
                        if (k.isStateDrawable(k))
                        {
                            return (k);
                        };
                    };
                };
            };
            return (0);
        }

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3Qs.WindowRenderer

package _-3Qs
{
    import flash.geom.Rectangle;
    import flash.utils.Dictionary;
    import __AS3__.vec.Vector;
    import _-Ew.IWindow;
    import flash.geom.Point;
    import _-09j.WindowParam;
    import _-3EM._-L-;
    import _-1ae.IDesktopWindow;
    import _-Ew.IWindowContext;
    import _-0Ie._-4C7;
    import _-bY._-4U6;
    import flash.display.BitmapData;
    import __AS3__.vec.*;

    public class WindowRenderer implements _-4RO 
    {

        protected static const _-2R6:Rectangle = new Rectangle();
        protected static const _-4-Y:int = 3;
        protected static const _-3Ma:int = 10;

        protected var _-2Qq:Boolean = false;
        protected var _disposed:Boolean;
        protected var _-2HM:_-N4;
        protected var _-28i:Dictionary;
        protected var _-1E7:Vector.<IWindow>;
        protected var _-2br:Vector.<Array>;
        protected var _-114:Point;
        protected var _-18g:Rectangle;
        protected var _-4FF:Rectangle;
        protected var _-Fq:Rectangle;

        public function WindowRenderer(_arg1:_-N4)
        {
            this._disposed = false;
            this._-2HM = _arg1;
            this._-28i = new Dictionary(false);
            this._-1E7 = new Vector.<IWindow>();
            this._-2br = new Vector.<Array>();
            this._-114 = new Point();
            this._-18g = new Rectangle();
            this._-4FF = new Rectangle();
            this._-Fq = new Rectangle();
        }
        private static function _-3iR(_arg1:Rectangle, _arg2:Rectangle, _arg3:uint):Boolean
        {
            if (_arg1.intersects(_arg2))
            {
                return (true);
            };
            return (((((((_arg1.left > _arg2.left)) ? (_arg1.left - _arg2.right) : (_arg2.left - _arg1.right)) <= _arg3)) && (((((_arg1.top > _arg2.top)) ? (_arg1.top - _arg2.bottom) : (_arg2.top - _arg1.bottom)) <= _arg3))));
        }
        private static function _-3eJ(_arg1:IWindow, _arg2:Rectangle, _arg3:Point, _arg4:Rectangle):Boolean
        {
            var k:int;
            var k:Boolean = true;
            _arg4.x = 0;
            _arg4.y = 0;
            _arg4.width = _arg1.width;
            _arg4.height = _arg1.height;
            if (!_arg1._-1s-(WindowParam._-Cp))
            {
                if (((_arg1.parent) && (_arg1._-1s-(WindowParam._-2gg))))
                {
                    k = _-4Ir(_arg1.parent, _arg3, _arg4);
                    _arg3.x = _arg4.x;
                    _arg3.y = _arg4.y;
                }
                else
                {
                    _arg3.x = 0;
                    _arg3.y = 0;
                };
            }
            else
            {
                if (_arg1.parent)
                {
                    k = _-4Ir(_arg1.parent, _arg3, _arg4);
                }
                else
                {
                    _arg3.x = 0;
                    _arg3.y = 0;
                };
            };
            if (_arg2.x > _arg4.x)
            {
                k = (_arg2.x - _arg4.x);
                _arg3.x = (_arg3.x + k);
                _arg4.x = (_arg4.x + k);
                _arg4.width = (_arg4.width - k);
            };
            if (_arg2.y > _arg4.y)
            {
                k = (_arg2.y - _arg4.y);
                _arg3.y = (_arg3.y + k);
                _arg4.y = (_arg4.y + k);
                _arg4.height = (_arg4.height - k);
            };
            if (_arg2.right < _arg4.right)
            {
                k = (_arg4.right - _arg2.right);
                _arg4.width = (_arg4.width - k);
            };
            if (_arg2.bottom < _arg4.bottom)
            {
                k = (_arg4.bottom - _arg2.bottom);
                _arg4.height = (_arg4.height - k);
            };
            return (((((k) && ((_arg4.width > 0)))) && ((_arg4.height > 0))));
        }
        private static function _-4Ir(_arg1:IWindow, _arg2:Point, _arg3:Rectangle):Boolean
        {
            var k:int;
            var k:int;
            var k:int;
            if (_arg1._-1s-(WindowParam._-Cp))
            {
                k = _arg1.x;
                k = _arg1.y;
                _arg2.offset(k, k);
                if (_arg1.clipping)
                {
                    if (_arg2.x < k)
                    {
                        k = (k - _arg2.x);
                        _arg3.x = (_arg3.x + k);
                        _arg3.width = (_arg3.width - k);
                        _arg2.x = k;
                    };
                    if (_arg2.x < 0)
                    {
                        _arg3.x = (_arg3.x - _arg2.x);
                        _arg3.width = (_arg3.width + _arg2.x);
                        _arg2.x = 0;
                    };
                    if (_arg2.y < k)
                    {
                        k = (k - _arg2.y);
                        _arg3.y = (_arg3.y + k);
                        _arg3.height = (_arg3.height - k);
                        _arg2.y = k;
                    };
                    if (_arg2.y < 0)
                    {
                        _arg3.y = (_arg3.y - _arg2.y);
                        _arg3.height = (_arg3.height + _arg2.y);
                        _arg2.y = 0;
                    };
                    if ((_arg2.x + _arg3.width) > (k + _arg1.width))
                    {
                        _arg3.width = (_arg3.width - ((_arg2.x + _arg3.width) - (k + _arg1.width)));
                    };
                    if ((_arg2.y + _arg3.height) > (k + _arg1.height))
                    {
                        _arg3.height = (_arg3.height - ((_arg2.y + _arg3.height) - (k + _arg1.height)));
                    };
                };
                if (_arg1.parent)
                {
                    _-4Ir(_arg1.parent, _arg2, _arg3);
                };
            }
            else
            {
                if (_arg1.clipping)
                {
                    if (_arg2.x < 0)
                    {
                        k = _arg2.x;
                        _arg3.x = (_arg3.x - k);
                        _arg3.width = (_arg3.width + k);
                        _arg2.x = 0;
                    };
                    if (_arg2.y < 0)
                    {
                        k = _arg2.y;
                        _arg3.y = (_arg3.y - k);
                        _arg3.height = (_arg3.height + k);
                        _arg2.y = 0;
                    };
                };
            };
            return ((((_arg3.width > 0)) && ((_arg3.height > 0))));
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set debug(_arg1:Boolean):void
        {
            this._-2Qq = _arg1;
        }
        public function get debug():Boolean
        {
            return (this._-2Qq);
        }
        public function dispose():void
        {
            var k:Object;
            var k:_-1Lj;
            if (!this._disposed)
            {
                this._disposed = true;
                for (k in this._-28i)
                {
                    k = (this._-28i[k] as _-1Lj);
                    k.dispose();
                    delete this._-28i[k];
                };
                this._-28i = null;
                this._-1E7 = null;
                this._-2br = null;
            };
        }
        public function purge(_arg1:IWindow=null, _arg2:Boolean=true):void
        {
            var k:_-L-;
            var k:_-1Lj;
            var _local5:Vector.<IWindow>;
            var _local6:Object;
            if (_arg1)
            {
                if (((!(_arg1.visible)) || (!(_arg2))))
                {
                    k = this._-28i[_arg1];
                    if (k)
                    {
                        k.dispose();
                        delete this._-28i[_arg1];
                    };
                    k = false;
                };
                k = (_arg1 as _-L-);
                if (k)
                {
                    for each (k in k.children)
                    {
                        this.purge(k, _arg2);
                    };
                };
            }
            else
            {
                _local5 = new Vector.<IWindow>();
                for (_local6 in this._-28i)
                {
                    k = (_local6 as IWindow);
                    if (((((!(k.visible)) || (!(_arg2)))) || ((((k.parent == null)) && (!((k is IDesktopWindow)))))))
                    {
                        _local5.push(k);
                    };
                };
                while (_local5.length)
                {
                    this.purge(_local5.pop(), _arg2);
                };
            };
        }
        public function _-1wo(_arg1:IWindow, _arg2:Rectangle, _arg3:uint):void
        {
            var k:int;
            var k:Array;
            var k:IWindow;
            var k:IDesktopWindow;
            var k:int;
            var k:int;
            var k:Rectangle;
            var k:Rectangle;
            var k:int;
            if (!_arg2)
            {
                k = this._-4FF;
                this._-4FF.x = 0;
                this._-4FF.y = 0;
                this._-4FF.width = _arg1.width;
                this._-4FF.height = _arg1.height;
            }
            else
            {
                this._-4FF.x = _arg2.x;
                this._-4FF.y = _arg2.y;
                this._-4FF.width = _arg2.width;
                this._-4FF.height = _arg2.height;
            };
            if (_arg2.isEmpty())
            {
                return;
            };
            if (this._-28V(_arg1).invalidate(_arg1, _arg3))
            {
                if (((_arg1._-1s-(WindowParam._-Cp)) || (_arg1._-1s-(WindowParam._-2gg))))
                {
                    k = _arg1.context.getDesktopWindow();
                    while (true)
                    {
                        k = _arg1.parent;
                        if (k == null)
                        {
                            return;
                        };
                        if (k == k) break;
                        if (!k.visible)
                        {
                            return;
                        };
                        k = k.width;
                        k = k.height;
                        this._-4FF.offset(_arg1.x, _arg1.y);
                        if (k.clipping)
                        {
                            if ((((((((this._-4FF.x > k)) || ((this._-4FF.y > k)))) || ((this._-4FF.right < 0)))) || ((this._-4FF.bottom < 0))))
                            {
                                return;
                            };
                            if (this._-4FF.x < 0)
                            {
                                this._-4FF.width = (this._-4FF.width + this._-4FF.x);
                                this._-4FF.x = 0;
                            };
                            if (this._-4FF.y < 0)
                            {
                                this._-4FF.height = (this._-4FF.height + this._-4FF.y);
                                this._-4FF.y = 0;
                            };
                            if (this._-4FF.right > k)
                            {
                                this._-4FF.right = k;
                            };
                            if (this._-4FF.bottom > k)
                            {
                                this._-4FF.bottom = k;
                            };
                        };
                        if (this._-4FF.isEmpty())
                        {
                            return;
                        };
                        if (((!(k._-1s-(WindowParam._-Cp))) && (!(k._-1s-(WindowParam._-2gg)))))
                        {
                            break;
                        };
                    };
                };
                this._-28V(_arg1).invalidate(_arg1, _-2b3._-3pb);
                k = this._-1E7.indexOf(_arg1);
                if (k > -1)
                {
                    k = this._-2br[k];
                    k = this._-4FF;
                    k = k.length;
                    if (k > _-4-Y)
                    {
                        k = k.union(k.pop());
                        k--;
                    };
                    k = 0;
                    while (k < k)
                    {
                        k = k[k++];
                        if (((((((k.left > k.left)) ? (k.left - k.right) : (k.left - k.right)) <= _-3Ma)) && (((((k.top > k.top)) ? (k.top - k.bottom) : (k.top - k.bottom)) <= _-3Ma))))
                        {
                            k.splice((k - 1), 1);
                            k = k.union(k);
                            k--;
                            k = 0;
                        };
                    };
                    k.push((((k == this._-4FF)) ? k.clone() : k));
                }
                else
                {
                    this._-1E7.push(_arg1);
                    this._-2br.push([this._-4FF.clone()]);
                };
            };
        }
        public function _-0zv():void
        {
            if (((this._-1E7.length) || (this._-2br.length)))
            {
                this._-1E7.splice(0, this._-1E7.length);
                this._-2br.splice(0, this._-2br.length);
            };
        }
        public function invalidate(_arg1:IWindowContext, _arg2:Rectangle):void
        {
            var k:IWindow;
            var k:IDesktopWindow = _arg1.getDesktopWindow();
            var k:uint = k.numChildren;
            while (k-- > 0)
            {
                k = k.getChildAt(k);
                this._-1wo(k, null, _-2b3._-35h);
            };
        }
        protected function _-28V(_arg1:IWindow):_-1Lj
        {
            var k:_-1Lj = (this._-28i[_arg1] as _-1Lj);
            if (k == null)
            {
                this.registerRenderable(_arg1);
                k = this._-28i[_arg1];
            };
            return (k);
        }
        public function registerRenderable(_arg1:IWindow):void
        {
            var k:_-1Lj = (this._-28i[_arg1] as _-1Lj);
            if (k == null)
            {
                k = new _-1Lj(this._-2HM);
                this._-28i[_arg1] = k;
                _arg1.addEventListener(_-4C7._-3vn, this._-3ey);
            };
        }
        public function _-1P-(_arg1:IWindow):void
        {
            _arg1.removeEventListener(_-4C7._-3vn, this._-3ey);
            var k:_-1Lj = (this._-28i[_arg1] as _-1Lj);
            if (k != null)
            {
                k.dispose();
                delete this._-28i[_arg1];
            };
        }
        protected function _-3ey(_arg1:_-4C7):void
        {
            this._-1P-(_arg1.window);
        }
        public function _-2d(_arg1:IWindow):BitmapData
        {
            var k:Rectangle;
            var k:_-4U6;
            var k:_-1Lj = (this._-28i[_arg1] as _-1Lj);
            if (!k)
            {
                k = new Rectangle(0, 0, _arg1.width, _arg1.height);
                k = new _-4U6(this, _arg1.width, _arg1.height);
                k = new _-1Lj(this._-2HM);
                k.invalidate(_arg1, _-2b3._-35h);
                k.render(_arg1, new Point(), k, _arg1.rectangle, k);
                k.dispose();
                this._-28i[_arg1] = k;
            };
            return ((((k)!=null) ? k._-0bP : null));
        }
        public function render():void
        {
            var k:IWindow;
            var k:Rectangle;
            var k:Array;
            var k:BitmapData;
            var k:uint = this._-1E7.length;
            while (k-- > 0)
            {
                k = this._-1E7.pop();
                k = this._-2br.pop();
                if (!k.disposed)
                {
                    k = (k._-gq() as BitmapData);
                    for each (k in k)
                    {
                        this._-Fq.x = k.x;
                        this._-Fq.y = k.y;
                        this._-Fq.width = k.width;
                        this._-Fq.height = k.height;
                        this._-3xH(k, k, this._-Fq, k);
                    };
                };
            };
        }
        private function _-3xH(_arg1:IWindow, _arg2:Rectangle, _arg3:Rectangle, _arg4:BitmapData):void
        {
            var k:Vector.<IWindow>;
            var k:IWindow;
            var k:IGraphicContextHost;
            var k:IGraphicContext = IGraphicContextHost(_arg1).getGraphicContext(false);
            if (k)
            {
                k.visible = _arg1.visible;
            };
            if (_arg1.visible)
            {
                this._-114.x = _arg1.x;
                this._-114.y = _arg1.y;
                if (_-3eJ(_arg1, _arg2, this._-114, this._-18g))
                {
                    if (_arg1.clipping)
                    {
                        k = _arg3.intersection(_arg1.rectangle);
                    };
                    _arg3.offset(-(_arg1.x), -(_arg1.y));
                    k = this._-28V(_arg1).render(_arg1, this._-114, this._-18g, _arg3, _arg4);
                    if (!(_arg1 is _-L-))
                    {
                        return;
                    };
                    k = _-L-(_arg1).children;
                    if (!k)
                    {
                        return;
                    };
                    if (_arg1.clipping)
                    {
                        k = _arg2.clone();
                        if (k.x < 0)
                        {
                            k.width = (k.width + k.x);
                            k.x = 0;
                        };
                        if (k.y < 0)
                        {
                            k.height = (k.height + k.y);
                            k.y = 0;
                        };
                        if (k.width > _arg1.width)
                        {
                            k.width = _arg1.width;
                        };
                        if (k.height > _arg1.height)
                        {
                            k.height = _arg1.height;
                        };
                    };
                    for each (k in k)
                    {
                        _-2R6.x = k.x;
                        _-2R6.y = k.y;
                        _-2R6.width = k.width;
                        _-2R6.height = k.height;
                        if (_-2R6.intersects(_arg2))
                        {
                            if (k._-1s-(WindowParam._-Cp))
                            {
                                _arg2.offset(-(k.x), -(k.y));
                                this._-3xH(k, _arg2, _arg3, k);
                                _arg2.offset(k.x, k.y);
                            }
                            else
                            {
                                if (k._-1s-(WindowParam._-2gg))
                                {
                                    _arg2.offset(-(k.x), -(k.y));
                                    this._-3xH(k, _arg2, _arg3, (k._-gq() as BitmapData));
                                    _arg2.offset(k.x, k.y);
                                }
                                else
                                {
                                    if (k.visible)
                                    {
                                        k = IGraphicContextHost(k);
                                        if (k._-3gg())
                                        {
                                            k.getGraphicContext(true).visible = true;
                                        };
                                    };
                                };
                            };
                        }
                        else
                        {
                            if (!_-2R6.intersects(_arg3))
                            {
                                k = IGraphicContextHost(k);
                                if (k._-3gg())
                                {
                                    k.getGraphicContext(true).visible = false;
                                };
                            };
                        };
                    };
                    _arg3.offset(_arg1.x, _arg1.y);
                }
                else
                {
                    if (!_arg1._-1s-(WindowParam._-Cp))
                    {
                        if (_arg1._-1s-(WindowParam._-2gg))
                        {
                            if (!k)
                            {
                                k = IGraphicContextHost(_arg1).getGraphicContext(true);
                            };
                            k._-1w6(_arg1.rectangle, false, this._-18g);
                            k.visible = false;
                        };
                    };
                };
            };
        }

    }
}//package _-3Qs

//------------------------------------------------------------
//_-3r6._-3gN

package _-3r6
{
    import _-FP._-2ul;
    import _-4Wu._-4uR;
    import _-0mD._-2Jq;
    import _-3Zp._-1bw;
    import _-293._-5-S;
    import _-1B-._-Px;
    import _-1ae.IFrameWindow;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-2lU;
    import _-og._-4Iz;
    import _-og._-2n5;
    import flash.events.IEventDispatcher;
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.ITextWindow;
    import _-2Mh._-3Uw;
    import _-4n1._-0hX;
    import _-4f7._-22h;
    import _-1ae.IItemListWindow;
    import _-0Ie.WindowEvent;
    import _-0ly._-2P9;
    import _-3cY._-1mk;
    import _-3V-._-3SU;
    import _-3mW._-1sV;
    import _-3mW._-2Ws;
    import _-1ae._-4mB;
    import _-2gz.HabboTracking;
    import _-2Mh._-cF;
    import _-2np._-1ZV;
    import _-4Aj._-1oF;
    import _-0Pi._-4rv;
    import _-4Kb._-3nt;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindowContainer;
    import _-1FD._-45O;
    import _-1Jd._-4LX;
    import _-4Kb.*;

    public class _-3gN extends _-2ul implements _-3QA 
    {

        private static const _-BF:String = "floor";
        private static const _-3ve:String = "wallpaper";
        private static const _-9L:String = "landscape";

        private var _-2Hg:_-4uR;
        private var _-3oJ:_-2Jq;
        private var _-YX:_-1bw;
        private var _-0tK:_-5-S;
        private var _-3Gv:_-Px;
        private var _-0xv:IFrameWindow;
        private var _-44i:int = -1;
        private var _-0xc:int = 0;
        private var _-53-:String;
        private var _text:String;
        private var _-513:Boolean;
        private var _-6b:Boolean = false;
        private var _-3oR:String;
        private var _-55R:String;
        private var _-Q3:int = -1;
        private var _-uf:String = "";
        private var _-Y6:Boolean = false;

        public function _-3gN(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-4uR, _arg6:_-2Jq, _arg7:_-1bw, _arg8:_-5-S, _arg9:_-Px)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-2Hg = _arg5;
            this._-3oJ = _arg6;
            this._-YX = _arg7;
            this._-0tK = _arg8;
            this._-3Gv = _arg9;
        }
        override public function dispose():void
        {
            this._-0of();
            this._-2Hg = null;
            this._-3oJ = null;
            this._-YX = null;
            this._-0tK = null;
            this._-3Gv = null;
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-2lU._-16M, this.onObjectUpdate);
            _arg1.addEventListener(_-2lU._-4VY, this.onObjectUpdate);
            _arg1.addEventListener(_-2lU._-0Xv, this.onObjectUpdate);
            _arg1.addEventListener(_-2lU._-4pN, this.onObjectUpdate);
            _arg1.addEventListener(_-2lU._-dw, this.onObjectUpdate);
            _arg1.addEventListener(_-2lU._-Au, this.onObjectUpdate);
            _arg1.addEventListener(_-2lU._-Iy, this.onObjectUpdate);
            _arg1.addEventListener(_-4Iz._-1AW, this._-2xD);
            _arg1.addEventListener(_-2n5._-16M, this._-0RL);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-2lU._-16M, this.onObjectUpdate);
            _arg1.removeEventListener(_-2lU._-4VY, this.onObjectUpdate);
            _arg1.removeEventListener(_-2lU._-0Xv, this.onObjectUpdate);
            _arg1.removeEventListener(_-2lU._-4pN, this.onObjectUpdate);
            _arg1.removeEventListener(_-2lU._-dw, this.onObjectUpdate);
            _arg1.removeEventListener(_-2lU._-Au, this.onObjectUpdate);
            _arg1.removeEventListener(_-2lU._-Iy, this.onObjectUpdate);
            _arg1.removeEventListener(_-2n5._-16M, this._-0RL);
            _arg1.removeEventListener(_-4Iz._-1AW, this._-2xD);
        }
        private function onObjectUpdate(_arg1:_-2lU):void
        {
            switch (_arg1.type)
            {
                case _-2lU._-16M:
                    this._-0of();
                    this._-6b = false;
                    this._-44i = _arg1._-mx;
                    this._text = _arg1.text;
                    this._-513 = _arg1.controller;
                    this._-55R = _arg1._-48X;
                    this._-3oR = _arg1._-1eE;
                    this._-3Zl();
                    this._-2iB(_arg1._-0WZ);
                    return;
                case _-2lU._-dw:
                    if (!this._-6b)
                    {
                        return;
                    };
                    this._-44i = _arg1._-mx;
                    this._-0xc = _arg1._-YT;
                    this._-53- = _arg1._-15x;
                    this._text = _arg1.text;
                    this._-513 = _arg1.controller;
                    this._-Q3 = _arg1._-17T;
                    this._-uf = _arg1._-eZ;
                    this._-Y6 = _arg1._-3dZ;
                    this._-02G();
                    this._-1QC("packagecard_icon_floor");
                    return;
                case _-2lU._-Au:
                    if (!this._-6b)
                    {
                        return;
                    };
                    this._-44i = _arg1._-mx;
                    this._-0xc = _arg1._-YT;
                    this._-53- = _arg1._-15x;
                    this._text = _arg1.text;
                    this._-513 = _arg1.controller;
                    this._-Q3 = _arg1._-17T;
                    this._-uf = _arg1._-eZ;
                    this._-Y6 = _arg1._-3dZ;
                    this._-02G();
                    this._-1QC("packagecard_icon_landscape");
                    return;
                case _-2lU._-Iy:
                    if (!this._-6b)
                    {
                        return;
                    };
                    this._-44i = _arg1._-mx;
                    this._-0xc = _arg1._-YT;
                    this._-53- = _arg1._-15x;
                    this._text = _arg1.text;
                    this._-513 = _arg1.controller;
                    this._-Q3 = _arg1._-17T;
                    this._-uf = _arg1._-eZ;
                    this._-Y6 = _arg1._-3dZ;
                    this._-02G();
                    this._-1QC("packagecard_icon_wallpaper");
                    return;
                case _-2lU._-4pN:
                    if (!this._-6b)
                    {
                        return;
                    };
                    this._-44i = _arg1._-mx;
                    this._-0xc = _arg1._-YT;
                    this._-53- = _arg1._-15x;
                    this._text = _arg1.text;
                    this._-513 = _arg1.controller;
                    this._-02G();
                    this._-1QC("packagecard_icon_hc");
                    return;
                case _-2lU._-4VY:
                    if (!this._-6b)
                    {
                        return;
                    };
                    this._-44i = _arg1._-mx;
                    this._-0xc = _arg1._-YT;
                    this._-53- = _arg1._-15x;
                    this._text = _arg1.text;
                    this._-513 = _arg1.controller;
                    this._-Q3 = _arg1._-17T;
                    this._-uf = _arg1._-eZ;
                    this._-Y6 = _arg1._-3dZ;
                    this._-02G();
                    this._-2iB(_arg1._-0WZ);
                    return;
                case _-2lU._-0Xv:
                    if (!this._-6b)
                    {
                        return;
                    };
                    this._-2iB(_arg1._-0WZ);
                    return;
            };
        }
        private function _-2xD(_arg1:_-4Iz):void
        {
            if (_arg1.id == this._-44i)
            {
                this._-0of();
            };
            if (_arg1.id == this._-Q3)
            {
                if (this._-Y6)
                {
                    this._-Y6 = false;
                    this._-1uR();
                };
            };
        }
        private function _-0RL(_arg1:_-2n5):void
        {
            switch (_arg1.type)
            {
                case _-2n5._-16M:
                    this._-0of();
                    return;
            };
        }
        private function _-1QC(_arg1:String):void
        {
            var k:BitmapData;
            var k:BitmapDataAsset = (assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k != null)
            {
                k = (k.content as BitmapData);
            };
            this._-2iB(k);
        }
        private function _-2iB(_arg1:BitmapData):void
        {
            if (_arg1 == null)
            {
                k = new BitmapData(1, 1);
            };
            if ((((this._-0xv == null)) || (this._-0xv.disposed)))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("gift_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            if (k.bitmap != null)
            {
                k.bitmap.dispose();
            };
            k.bitmap = new BitmapData(k.width, k.height, true, 0);
            var k:Point = new Point(((k.width - _arg1.width) / 2), ((k.height - _arg1.height) / 2));
            k.bitmap.copyPixels(_arg1, _arg1.rect, k);
        }
        private function _-02G():void
        {
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:String;
            var k:Boolean;
            var k:String;
            if (this._-44i < 0)
            {
                return;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
            };
            var k:_-243 = (assets.getAssetByName("packagecard_new_opened") as _-243);
            this._-0xv = (windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            this._-0xv.center();
            if (!this._-2V2())
            {
                k = "widget.furni.present.window.title_from";
                _-3Pe.registerParameter(k, "name", this._-55R);
                this._-0xv.caption = _-3Pe.getKey(k, this._-55R);
            };
            var k:IWindow = this._-0xv.findChildByName("header_button_close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("image_bg") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (assets.getAssetByName("gift_icon_background") as BitmapDataAsset);
                if (k != null)
                {
                    k = (k.content as BitmapData);
                    if (k.bitmap)
                    {
                        k.bitmap.dispose();
                    };
                    k.bitmap = k.clone();
                };
            };
            var k:ITextWindow = (this._-0xv.findChildByName("gift_message") as ITextWindow);
            if (k != null)
            {
                k.text = "";
                if (this._text != null)
                {
                    k = "widget.furni.present.message_opened";
                    k = this._-38j();
                    if (k)
                    {
                        k = "widget.furni.present.spaces.message_opened";
                    };
                    _-3Pe.registerParameter(k, "product", this._text);
                    if (this._-53- == _-3Uw._-0dl)
                    {
                        k.text = this._text;
                    }
                    else
                    {
                        k.text = _-3Pe.getKey(k, this._text);
                    };
                }
                else
                {
                    k.visible = false;
                };
            };
            var k:IWindow = this._-0xv.findChildByName("give_gift_button");
            if (k != null)
            {
                if (!this._-2V2())
                {
                    k = "widget.furni.present.give_gift";
                    _-3Pe.registerParameter(k, "name", this._-55R);
                    k.caption = _-3Pe.getKey(k, this._-55R);
                    k.addEventListener(WindowMouseEvent._-90, this._-2We);
                }
                else
                {
                    k.visible = false;
                };
            };
            this._-3TT();
            this._-8x(this._-3oR);
            this._-1uR();
            this._-0B7();
        }
        private function _-38j():Boolean
        {
            var k:_-0hX;
            var k:String;
            var k:Boolean;
            if (this._-53- == _-3Uw._-0xA)
            {
                k = (_-0nf as _-22h).container.sessionDataManager._-3LT(this._-0xc);
                if (k != null)
                {
                    k = k.name;
                    k = (((((k == _-BF)) || ((k.name == _-9L)))) || ((k.name == _-3ve)));
                };
            };
            return (k);
        }
        private function _-1yQ():Boolean
        {
            return ((this._-53- == _-3Uw._-0dl));
        }
        private function _-1uR():void
        {
            if ((((this._-0xv == null)) || (this._-0xv.disposed)))
            {
                return;
            };
            var k:Boolean = this._-38j();
            var k:Boolean = this._-1yQ();
            var k:IWindow = this._-0xv.findChildByName("keep_in_room_button");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4xR);
                k.visible = this._-Y6;
                if (((k) || (k)))
                {
                    k.visible = false;
                };
            };
            var k:IWindow = this._-0xv.findChildByName("place_in_room_button");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2qZ);
                k.visible = !(this._-Y6);
                if (k)
                {
                    k.disable();
                };
                if (((k) || (k)))
                {
                    k.visible = false;
                };
            };
            var k:IWindow = this._-0xv.findChildByName("put_in_inventory_button");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-40k);
                if (this._-Y6)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
                if (((k) || (k)))
                {
                    k.visible = false;
                };
            };
            var k:IWindow = this._-0xv.findChildByName("separator");
            if (k != null)
            {
                k.visible = this._-2V2();
            };
            var k:IWindow = (this._-0xv.findChildByName("give_container") as IWindow);
            if (k != null)
            {
                k.visible = !(this._-2V2());
            };
            var k:IItemListWindow = (this._-0xv.findChildByName("button_list") as IItemListWindow);
            if (k != null)
            {
                k._-0O3();
            };
            var k:IItemListWindow = (this._-0xv.findChildByName("give_element_list") as IItemListWindow);
            if (k != null)
            {
                k._-0O3();
            };
            var k:IItemListWindow = (this._-0xv.findChildByName("element_list") as IItemListWindow);
            if (k != null)
            {
                k._-0O3();
            };
            this._-0xv._-Ic();
        }
        private function _-4P9():void
        {
            this._-6b = false;
            this._-Q3 = -1;
            this._-Y6 = false;
            this._-0of();
        }
        private function _-4xR(_arg1:WindowEvent):void
        {
            this._-4P9();
        }
        private function _-2qZ(_arg1:WindowEvent):void
        {
            var k:_-2P9;
            var k:IWindow = _arg1.target;
            k.disable();
            if ((((this._-Q3 > 0)) && (!(this._-Y6))))
            {
                k = null;
                switch (this._-uf)
                {
                    case _-3Uw._-5Ds:
                        k = this._-YX._-239(-(this._-Q3));
                        if (this._-0kz(k))
                        {
                            this._-YX._-541(this._-Q3);
                        };
                        break;
                    case _-3Uw._-0xA:
                        k = this._-YX._-g5(this._-Q3);
                        if (this._-0kz(k))
                        {
                            this._-YX._-541(this._-Q3);
                        };
                        break;
                    case _-3Uw._-2OR:
                        if (this._-YX._-42B(this._-Q3, false))
                        {
                            this._-YX._-0ED(this._-Q3);
                        };
                        break;
                };
            };
            this._-4P9();
        }
        public function _-0kz(_arg1:_-2P9):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:Boolean;
            if ((((((_arg1.category == _-1mk._-3s7)) || ((_arg1.category == _-1mk._-3hq)))) || ((_arg1.category == _-1mk._-48R))))
            {
                k = false;
            }
            else
            {
                k = this._-YX._-3P0(_arg1);
            };
            return (k);
        }
        private function _-40k(_arg1:WindowEvent):void
        {
            var _local3:int;
            var _local4:int;
            var _local5:int;
            var _local6:_-3SU;
            var k:IWindow = _arg1.target;
            k.disable();
            if ((((this._-Q3 > 0)) && (this._-Y6)))
            {
                if (this._-uf == _-3Uw._-2OR)
                {
                    (_-0nf as _-22h).container.roomSession._-1UC(this._-Q3);
                }
                else
                {
                    _local3 = (_-0nf as _-22h).container.roomSession.roomId;
                    _local4 = (_-0nf as _-22h).container.roomSession.roomCategory;
                    _local5 = _-1sV._-0u-;
                    _local6 = this._-0tK.getRoomObject(_local3, _local4, this._-Q3, _local5);
                    if (_local6 != null)
                    {
                        this._-0tK.modifyRoomObject(_local6.getId(), _local5, _-2Ws.OBJECT_PICKUP);
                    };
                };
            };
            this._-4P9();
        }
        private function _-3Zl():void
        {
            var k:String;
            var k:String;
            var k:IWindow;
            var k:IWindow;
            var k:String;
            if (this._-44i < 0)
            {
                return;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
            };
            var k:_-243 = (assets.getAssetByName("packagecard_new") as _-243);
            this._-0xv = (windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            this._-0xv.center();
            if (!this._-2V2())
            {
                k = "widget.furni.present.window.title_from";
                _-3Pe.registerParameter(k, "name", this._-55R);
                this._-0xv.caption = _-3Pe.getKey(k, this._-55R);
            };
            var k:IWindow = this._-0xv.findChildByName("header_button_close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            var k:_-4mB = (this._-0xv.findChildByName("gift_card") as _-4mB);
            if (k)
            {
                k.assetUri = (("${image.library.url}Giftcards/" + this._-2Hg.getKey("catalog.gift_wrapping_new.gift_card", "giftcard_xmas_1")) + ".png");
            };
            this._-3TT();
            if (this._-2V2())
            {
                this._-4SA();
            }
            else
            {
                this._-8x(this._-3oR);
            };
            var k:ITextWindow = (this._-0xv.findChildByName("message_text") as ITextWindow);
            if (k != null)
            {
                k.text = this._text;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("message_from") as ITextWindow);
            if (k != null)
            {
                k.text = "";
                if (!this._-2V2())
                {
                    k = "widget.furni.present.message_from";
                    _-3Pe.registerParameter(k, "name", this._-55R);
                    k.text = _-3Pe.getKey(k, this._-55R);
                    k.addEventListener(WindowMouseEvent._-90, this._-oC);
                }
                else
                {
                    k.visible = false;
                };
            };
            var k:IItemListWindow = (this._-0xv.findChildByName("button_list") as IItemListWindow);
            if (k != null)
            {
                k = k.getListItemByName("give_gift_button");
                if (k != null)
                {
                    if (!this._-2V2())
                    {
                        k = "widget.furni.present.give_gift";
                        _-3Pe.registerParameter(k, "name", this._-55R);
                        k.caption = _-3Pe.getKey(k, this._-55R);
                    };
                    if (this._-513)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-10M);
                    };
                    if (((!(this._-513)) || (this._-2V2())))
                    {
                        k.visible = false;
                    };
                };
                k = this._-0xv.findChildByName("open_gift_button");
                if (k != null)
                {
                    if (this._-513)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-14f);
                    }
                    else
                    {
                        k.visible = false;
                    };
                };
                k._-0O3();
            };
            this._-0xv._-Ic();
        }
        private function _-2V2():Boolean
        {
            return ((((this._-55R == null)) || ((this._-55R.length == 0))));
        }
        private function _-4F9(_arg1:WindowEvent):void
        {
            this._-6b = false;
            this._-0of();
        }
        private function _-10M(_arg1:WindowEvent):void
        {
            this._-4kC();
            HabboTracking._-0ON().trackEventLog("Catalog", "click", "client.return_gift_from_open_giftcard.clicked");
        }
        private function _-2We(_arg1:WindowEvent):void
        {
            this._-4kC();
            HabboTracking._-0ON().trackEventLog("Catalog", "click", "client.return_gift_from_opened_present.clicked");
        }
        private function _-4kC():void
        {
            if (!this._-2V2())
            {
                this._-3oJ._-4Y5 = this._-55R;
            };
            this._-3oJ.openCatalogPage(_-cF._-4G2);
        }
        private function send(_arg1:_-1oF):void
        {
            var k:_-1ZV;
            if (this._-3oJ != null)
            {
                k = this._-3oJ.connection;
                if (k != null)
                {
                    k.send(_arg1);
                };
            };
        }
        private function _-0bS():void
        {
            if (!this._-2V2())
            {
                this.send(new _-4rv(this._-55R));
            };
        }
        private function _-2xk(_arg1:WindowEvent):void
        {
            this._-0bS();
        }
        private function _-oC(_arg1:WindowEvent):void
        {
            this._-0bS();
        }
        private function _-14f(_arg1:WindowEvent):void
        {
            this._-0wR();
        }
        public function getAvatarFaceBitmap(_arg1:String):BitmapData
        {
            var k:_-3nt = (_-0nf as _-22h).container.avatarRenderManager;
            if ((((((k == null)) || ((_arg1 == null)))) || ((_arg1.length == 0))))
            {
                return (null);
            };
            var k:BitmapData;
            var k:_-40f = k.createAvatarImage(_arg1, _-1uH._-JU, null, this);
            if (k != null)
            {
                k = k._-1hx(_-24J._-0GH);
                k.dispose();
            };
            return (k);
        }
        public function _-0-V(_arg1:String):void
        {
            if ((((this._-0xv == null)) || (this._-0xv.disposed)))
            {
                return;
            };
            if (_arg1 == this._-3oR)
            {
                this._-8x(_arg1);
            };
        }
        private function _-3TT():void
        {
            var k:IRegionWindow = (this._-0xv.findChildByName("avatar_image_region") as IRegionWindow);
            if (k != null)
            {
                if (!this._-2V2())
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-2xk);
                }
                else
                {
                    k.disable();
                };
            };
        }
        private function _-8x(_arg1:String):void
        {
            var k:BitmapData = this.getAvatarFaceBitmap(_arg1);
            if (k != null)
            {
                this._-0OB(k);
            };
        }
        private function _-4SA():void
        {
            var k:BitmapData;
            var k:BitmapDataAsset = (_assets.getAssetByName("gift_incognito") as BitmapDataAsset);
            if (k != null)
            {
                k = (k.content as BitmapData);
                if (k != null)
                {
                    this._-0OB(k.clone());
                };
            };
        }
        private function _-0OB(_arg1:BitmapData):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("avatar_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            k.bitmap = _arg1;
            k.width = _arg1.width;
            k.height = _arg1.height;
            var k:IWindowContainer = (this._-0xv.findChildByName("avatar_image_region") as IWindowContainer);
            if (k != null)
            {
                k.width = _arg1.width;
                k.height = _arg1.height;
            };
        }
        private function _-0of():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (!this._-6b)
            {
                this._-44i = -1;
            };
            this._text = "";
            this._-513 = false;
        }
        private function _-0wR():void
        {
            var k:_-45O;
            if (((((this._-6b) || ((this._-44i == -1)))) || (!(this._-513))))
            {
                return;
            };
            this._-6b = true;
            this._-0of();
            if (messageListener != null)
            {
                k = new _-45O(_-45O._-00W, this._-44i);
                messageListener.processWidgetMessage(k);
            };
        }
        private function _-0B7():void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:_-3SU;
            var k:_-4LX;
            if ((((this._-Q3 > 0)) && (this._-Y6)))
            {
                k = this._-0tK.activeRoomId;
                k = this._-0tK.activeRoomCategory;
                if (this._-uf == _-3Uw._-2OR)
                {
                    k = this._-0tK.getRoomObjectCount(k, k, _-1sV._-3I0);
                    k = 0;
                    while (k < k)
                    {
                        k = this._-0tK.getRoomObjectWithIndex(k, k, k, _-1sV._-3I0);
                        k = (_-0nf as _-22h).container.roomSession.userDataManager.getUserDataByIndex(k.getId());
                        if (((!((k == null))) && ((k._-2-w == this._-Q3))))
                        {
                            this._-0tK._-0P5(k, k, k.roomObjectId, _-1sV._-3I0);
                            break;
                        };
                        k++;
                    };
                }
                else
                {
                    this._-0tK._-0P5(k, k, this._-Q3, _-1sV._-0u-);
                };
            };
        }
        private function _-35F():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IWindow = this._-0xv.findChildByName("open");
            if (k != null)
            {
                k.visible = false;
            };
        }
        private function _-1mL(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "open":
                    this._-0wR();
                    return;
                case "close":
                    this._-6b = false;
                    this._-0of();
                    return;
                default:
                    if (_arg2.tags.indexOf("close") != -1)
                    {
                        this._-0of();
                    };
            };
        }

    }
}//package _-3r6

//------------------------------------------------------------
//_-3rG._-1xn

package _-3rG
{
    public interface _-1xn 
    {

        function _-4I3():Array;

    }
}//package _-3rG

//------------------------------------------------------------
//_-3rG.ThumbListManager

package _-3rG
{
    import _-295._-39L;
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import _-3Zp._-0ko;
    import flash.geom.Point;
    import flash.geom.Rectangle;

    public class ThumbListManager 
    {

        private var _assets:_-39L;
        private var _-2MF:_-1xn;
        private var _-39B:int;
        private var _-1hP:int = 1;
        private var _-NV:BitmapData;
        private var _-3GG:int;
        private var _-24i:int;
        private var _-0KP:int;
        private var _-2Tk:int;
        private var _-5AU:int;
        private var _-4UC:int;
        private var _-42m:BitmapData;
        private var _-2Kn:BitmapData;

        public function ThumbListManager(_arg1:_-39L, _arg2:_-1xn, _arg3:String, _arg4:String, _arg5:int, _arg6:int)
        {
            this._assets = _arg1;
            this._-2MF = _arg2;
            var k:BitmapDataAsset = BitmapDataAsset(this._assets.getAssetByName(_arg3));
            if (k != null)
            {
                this._-42m = BitmapData(k.content);
            };
            var k:BitmapDataAsset = BitmapDataAsset(this._assets.getAssetByName(_arg4));
            if (k != null)
            {
                this._-2Kn = BitmapData(k.content);
            };
            this._-5AU = this._-42m.width;
            this._-4UC = this._-42m.height;
            this._-0KP = _arg5;
            this._-2Tk = _arg6;
            this._-39B = Math.floor((this._-0KP / this._-5AU));
            this._-NV = new BitmapData(this._-0KP, this._-2Tk);
        }
        public function dispose():void
        {
            this._-2MF = null;
            this._-NV = null;
        }
        public function _-2Au():void
        {
            var k:int;
            var k:_-0ko;
            var k:BitmapData;
            this._-1hP = this._-1z4();
            if (this._-1hP == 0)
            {
                this._-NV = new BitmapData(this._-0KP, this._-2Tk);
                return;
            };
            this._-NV = new BitmapData(Math.max((this._-39B * this._-5AU), this._-0KP), Math.max((this._-1hP * this._-4UC), this._-2Tk), true, 0xFFFFFF);
            this._-NV.fillRect(this._-NV.rect, 0xFFFFFFFF);
            var k:int;
            var k:Array = this._-54b();
            var k:int;
            while (k < this._-1hP)
            {
                k = 0;
                while (k < this._-39B)
                {
                    if (k < k.length)
                    {
                        k = k[k];
                        if (k != null)
                        {
                            k = this._-4Qg(k._-3VJ, k._-vX);
                            this._-NV.copyPixels(k, k.rect, new Point((k * this._-5AU), (k * this._-4UC)), null, null, true);
                        };
                        k++;
                    };
                    k++;
                };
                k++;
            };
        }
        public function _-2vS(_arg1:_-0ko):void
        {
            var k:BitmapData;
            var k:Rectangle;
            if (_arg1 == null)
            {
                return;
            };
            var k:Point = this._-1P3();
            if ((((k.x == this._-39B)) && ((this._-NV.height < (k.y * this._-4UC)))))
            {
                k = new BitmapData(this._-NV.width, (this._-NV.height + this._-4UC));
            }
            else
            {
                k = new BitmapData(this._-NV.width, this._-NV.height);
            };
            var k:BitmapData = this._-4Qg(_arg1._-3VJ, _arg1._-vX);
            k.copyPixels(k, k.rect, new Point(0, 0), null, null, true);
            k = new Rectangle(0, 0, (this._-5AU * (this._-39B - 1)), this._-4UC);
            k.copyPixels(this._-NV, k, new Point(this._-5AU, 0), null, null, true);
            k = new Rectangle((this._-5AU * (this._-39B - 1)), 0, this._-5AU, this._-NV.height);
            k.copyPixels(this._-NV, k, new Point(0, this._-4UC), null, null, true);
            k = new Rectangle(0, this._-4UC, (this._-5AU * (this._-39B - 1)), (this._-NV.height - this._-4UC));
            k.copyPixels(this._-NV, k, new Point(this._-5AU, this._-4UC), null, null, true);
            this._-NV = k;
        }
        public function _-1EJ(_arg1:int, _arg2:_-0ko):void
        {
            if (_arg2 == null)
            {
                return;
            };
            var k:Point = this._-2m7(_arg1);
            var k:Point = new Point((k.x * this._-5AU), (k.y * this._-4UC));
            var k:BitmapData = this._-4Qg(_arg2._-3VJ, _arg2._-vX);
            this._-NV.copyPixels(k, k.rect, k, null, null, true);
        }
        public function _-03z():BitmapData
        {
            return (this._-NV);
        }
        public function _-23l(_arg1:int):void
        {
            var k:Point = this._-2m7(_arg1);
            this._-443(k);
        }
        public function _-312(_arg1:Point):void
        {
            var k:Point = this._-108(_arg1);
            this._-443(k);
        }
        public function _-107(_arg1:int):void
        {
            var k:_-0ko = this._-2-a(_arg1);
            this._-1EJ(_arg1, k);
        }
        private function _-54b():Array
        {
            var k:Array;
            if (this._-2MF != null)
            {
                k = this._-2MF._-4I3();
            };
            return (((k) ? k : new Array()));
        }
        private function _-2-a(_arg1:int):_-0ko
        {
            var k:Array = this._-54b();
            if ((((_arg1 >= 0)) && ((_arg1 < k.length))))
            {
                return ((k[_arg1] as _-0ko));
            };
            return (null);
        }
        private function _-1z4():int
        {
            var k:Array = this._-54b();
            var k:int = Math.ceil((k.length / this._-39B));
            return (k);
        }
        private function _-1P3():Point
        {
            var k:Array = this._-54b();
            var k:Point = this._-2m7((k.length - 1));
            return (k);
        }
        public function _-1-4(_arg1:Point):int
        {
            var k:Point = this._-108(_arg1);
            var k:int = ((k.y * this._-39B) + k.x);
            return (k);
        }
        private function _-108(_arg1:Point):Point
        {
            var k:int = Math.floor((_arg1.y / this._-4UC));
            var k:int = Math.floor((_arg1.x / this._-5AU));
            return (new Point(k, k));
        }
        private function _-2m7(_arg1:int):Point
        {
            var k:int = Math.floor((_arg1 / this._-39B));
            var k:int = (_arg1 % this._-39B);
            return (new Point(k, k));
        }
        private function _-443(_arg1:Point):void
        {
            var k:Rectangle;
            var k:Point;
            var k:int;
            var k:int;
            var k:BitmapData;
            var k:BitmapData;
            var k:BitmapData;
            var k:BitmapData;
            if (_arg1.x >= this._-39B)
            {
                return;
            };
            if (_arg1.y >= this._-1hP)
            {
                return;
            };
            var k:int = ((this._-39B - _arg1.x) - 1);
            k = new Rectangle(((_arg1.x + 1) * this._-5AU), (_arg1.y * this._-4UC), (k * this._-5AU), this._-4UC);
            k = new Point((_arg1.x * this._-5AU), (_arg1.y * this._-4UC));
            var k:BitmapData = new BitmapData((k.width + this._-5AU), k.height);
            k.fillRect(k.rect, 0xFFFFFFFF);
            k.copyPixels(this._-NV, k, new Point(0, 0), null, null, true);
            this._-NV.copyPixels(k, k.rect, k, null, null, true);
            if (_arg1.y < (this._-1hP - 1))
            {
                k = (this._-NV.width - this._-5AU);
                k = (this._-NV.height - ((_arg1.y + 1) * this._-4UC));
                k = new BitmapData(k, k);
                k = new Rectangle(this._-5AU, ((_arg1.y + 1) * this._-4UC), k.width, k.height);
                k.copyPixels(this._-NV, k, new Point(0, 0), null, null, true);
                k = new BitmapData(this._-5AU, k.height);
                k.x = 0;
                k.width = this._-5AU;
                k.copyPixels(this._-NV, k, new Point(0, 0), null, null, true);
                this._-NV.fillRect(new Rectangle(0, (this._-NV.height - this._-4UC), this._-NV.width, this._-4UC), 0xFFFFFFFF);
                k = new Point((this._-NV.width - this._-5AU), (k.y - this._-4UC));
                this._-NV.copyPixels(k, k.rect, k, null, null, true);
                k = new Point(0, k.y);
                this._-NV.copyPixels(k, k.rect, k, null, null, true);
            };
            var k:int = (this._-54b().length - 1);
            if (k > 0)
            {
                k = this._-2m7(k);
                if (k.x == (this._-39B - 1))
                {
                    k = new BitmapData(this._-NV.width, (this._-NV.height - this._-4UC));
                    k = new Rectangle(0, 0, this._-NV.width, (this._-NV.height - this._-4UC));
                    k.copyPixels(this._-NV, k, new Point(0, 0), null, null, true);
                    this._-NV = k;
                    this._-1hP--;
                };
            };
            if (this._-NV.height < this._-2Tk)
            {
                k = new BitmapData(this._-NV.width, this._-2Tk);
                k.fillRect(k.rect, 0xFFFFFFFF);
                k.copyPixels(this._-NV, this._-NV.rect, new Point(0, 0), null, null, true);
                this._-NV = k;
            };
        }
        private function _-4Qg(_arg1:BitmapData=null, _arg2:Boolean=false):BitmapData
        {
            var k:Point;
            var k:BitmapData = new BitmapData(this._-42m.width, this._-42m.height);
            if (_arg2)
            {
                k.copyPixels(this._-2Kn, this._-42m.rect, new Point(0, 0), null, null, false);
            }
            else
            {
                k.copyPixels(this._-42m, this._-42m.rect, new Point(0, 0), null, null, false);
            };
            if (_arg1 != null)
            {
                k = new Point(((k.width - _arg1.width) / 2), ((k.height - _arg1.height) / 2));
                k.copyPixels(_arg1, _arg1.rect, k, null, null, true);
            };
            return (k);
        }

    }
}//package _-3rG

//------------------------------------------------------------
//_-3rj._-4gL

package _-3rj
{
    import flash.utils.ByteArray;

    public class _-4gL 
    {

        public static function _-3tB(_arg1:ByteArray):String
        {
            _arg1.position = 0;
            var k:String = "";
            while (_arg1.bytesAvailable)
            {
                k = (k + String.fromCharCode(_arg1.readByte()));
            };
            return (k);
        }
        public static function _-4y6(_arg1:String):ByteArray
        {
            var k:ByteArray = new ByteArray();
            var k:int;
            while (k < _arg1.length)
            {
                k.writeByte(_arg1.charCodeAt(k));
                k++;
            };
            k.position = 0;
            return (k);
        }
        public static function _-tM(_arg1:ByteArray, _arg2:Boolean=false):String
        {
            var k:uint;
            var k:uint;
            var k:uint;
            _arg1.position = 0;
            var k:String = "";
            while (_arg1.bytesAvailable)
            {
                k = _arg1.readUnsignedByte();
                k = (k >> 4);
                k = (k & 15);
                k = (k + k.toString(16));
                k = (k + k.toString(16));
            };
            if (_arg2)
            {
                k = k.toUpperCase();
            };
            return (k);
        }
        public static function _-54j(_arg1:String):ByteArray
        {
            var k:int;
            var k:int;
            var k:int;
            var k:ByteArray = new ByteArray();
            if ((_arg1.length % 2) != 0)
            {
                k = ("0" + _arg1);
            };
            var k:int;
            while (k < (_arg1.length - 1))
            {
                k = parseInt(_arg1.charAt((k + 0)), 16);
                k = parseInt(_arg1.charAt((k + 1)), 16);
                k = ((k << 4) | k);
                k.writeByte(k);
                k++;
                k++;
            };
            return (k);
        }
        public static function _-2Vg(_arg1:ByteArray, _arg2:uint=16):String
        {
            return ("");
        }

    }
}//package _-3rj

//------------------------------------------------------------
//_-3rj._-Cc

package _-3rj
{
    public class _-Cc 
    {

        private static const _-1JN:int = 19979;
        private static const _-0fr:int = 5;

        private var _-2rh:int;
        private var _-46w:int;

        public function _-Cc(_arg1:int, _arg2:int):void
        {
            this._-2rh = _arg1;
            this._-46w = _arg2;
        }
        public function _-3aO():int
        {
            var k:int = (Math.abs(((_-1JN * this._-2rh) + _-0fr)) % this._-46w);
            this._-2rh = k;
            return (k);
        }

    }
}//package _-3rj

//------------------------------------------------------------
//_-3rj._-O1

package _-3rj
{
    import flash.utils.ByteArray;

    public interface _-O1 
    {

        function init(_arg1:ByteArray):void;
        function _-1oL(_arg1:_-O1):void;
        function _-jy(_arg1:ByteArray, _arg2:Boolean=false):ByteArray;
        function _-42K(_arg1:ByteArray):ByteArray;

    }
}//package _-3rj

//------------------------------------------------------------
//_-3tz._-39P

package _-3tz
{
    import _-0NA._-0AN;
    import _-19Y._-29p;
    import _-3XW._-50z;
    import _-1ae.IRegionWindow;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0NA._-49m;

    public class _-39P extends _-0AN 
    {

        protected var _-i0:_-29p;
        public var _-0qe:int = -1;
        public var _-0sy:int = -1;
        public var _-3H0:Boolean = false;

        public function _-39P(_arg1:_-50z, _arg2:_-29p)
        {
            super(_arg1);
            _-14p = false;
            this._-i0 = _arg2;
        }
        override public function dispose():void
        {
            this._-i0 = null;
            super.dispose();
        }
        override protected function updateWindow():void
        {
            var _local1:IRegionWindow;
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("guild_furni_menu")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this.buttonEventProc;
                _local1 = (_-0xv.findChildByName("profile_link") as IRegionWindow);
                if (_local1)
                {
                    _local1.procedure = this.buttonEventProc;
                    _local1._-2QR = this.widget.localizations.getKey("infostand.profile.link.tooltip", "Click to view profile");
                    _local1._-1e = 100;
                };
                _-0xv.findChildByName("name").caption = _-o7;
                _-0xv.visible = false;
                activeView = _-0xv;
                this._-4VN();
                _-3Ot = false;
            };
        }
        protected function _-4VN():void
        {
            if (((!(_-0xv)) || (!(_-0Ib))))
            {
                return;
            };
            _-0Ib.autoArrangeItems = false;
            _-XT("join", !(this._-3H0), true);
            _-0Ib.autoArrangeItems = true;
            _-0Ib.visible = true;
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    switch (_arg2.parent.name)
                    {
                        case "join":
                            this.widget.handler._-2Ut(this._-0qe);
                            _-XT("join", !(this._-3H0), false);
                            break;
                        case "home_room":
                            this.widget.handler._-58w(this._-0sy);
                            break;
                    };
                };
                if (_arg2.name == "profile_link")
                {
                    this._-i0._-4SK(this._-0qe);
                };
                k = true;
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        private function get widget():_-49m
        {
            return ((_-0dg as _-49m));
        }

    }
}//package _-3tz

//------------------------------------------------------------
//_-3uh._-1pG

package _-3uh
{
    public interface _-1pG 
    {

        function init(_arg1:String, _arg2:uint=16):Boolean;
        function _-43o(_arg1:String, _arg2:uint=16):String;
        function _-03w(_arg1:uint=16):String;
        function _-1wA(_arg1:uint=16):String;

    }
}//package _-3uh

//------------------------------------------------------------
//_-3Uz._-3XJ

package _-3Uz
{
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ix._-aY;
    import _-1ae._-3Yi;

    public class _-3XJ 
    {

        private static const _-3Z1:int = 0xCCCCCC;
        private static const _-DN:int = 10275685;

        private var _-5Dg:String;
        private var _-4z8:Boolean;
        private var _-208:Boolean;
        private var _-0xv:IWindowContainer;
        private var _-0Vh:IWindow;
        private var _-1MV:Boolean;

        public function _-3XJ(_arg1:String, _arg2:IWindowContainer, _arg3:Boolean)
        {
            this._-5Dg = _arg1;
            this._-0xv = _arg2;
            this._-0Vh = this._-0xv.findChildByTag("BG_COLOR");
            this._-1MV = _arg3;
            _-aY(_-3Yi(this._-0xv.findChildByName("badge")).widget).badgeId = _arg1;
            this._-0xv.findChildByName("badge").visible = true;
            this._-vX = false;
        }
        public function get badgeId():String
        {
            return (this._-5Dg);
        }
        public function get _-1V2():Boolean
        {
            return (this._-4z8);
        }
        public function get _-vX():Boolean
        {
            return (this._-208);
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function set _-1V2(_arg1:Boolean):void
        {
            this._-4z8 = _arg1;
        }
        public function set _-vX(_arg1:Boolean):void
        {
            this._-208 = _arg1;
            if (this._-0Vh == null)
            {
                return;
            };
            this._-0Vh.color = ((this._-1MV) ? _-DN : _-3Z1);
            this._-0xv.findChildByName("outline").visible = _arg1;
        }
        public function set _-0-v(_arg1:Boolean):void
        {
            if (this._-1MV != _arg1)
            {
                this._-1MV = _arg1;
                this._-vX = this._-208;
            };
        }

    }
}//package _-3Uz

//------------------------------------------------------------
//_-3Uz.BadgesModel

package _-3Uz
{
    import _-3Zp.HabboInventory;
    import _-18r.Map;
    import _-295._-39L;
    import _-3gx._-4BJ;
    import _-4pF._-3Ts;
    import _-b9._-3W0;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-3cY._-2Jr;
    import _-b9.SetActivatedBadgesComposer;
    import _-3cY._-503;
    import flash.events.Event;
    import _-4WI._-3at;
    import _-3Zp.*;

    public class BadgesModel implements _-4Yh 
    {

        public static const _-1XL:int = -1;
        public static const _-3dD:int = 0;
        public static const _-4UG:int = 1;

        private const _-A3:int = 5;

        private var _-513:HabboInventory;
        private var _-Ke:BadgesView;
        private var _-38s:Array;
        private var _-zg:Array;
        private var _-3E4:Map;
        private var _assets:_-39L;
        private var _-0ud:_-4BJ;
        private var _-U-:_-3Ts;
        private var _disposed:Boolean = false;

        public function BadgesModel(_arg1:HabboInventory, _arg2:_-3Ts, _arg3:_-4BJ, _arg4:_-39L)
        {
            this._-513 = _arg1;
            this._-U- = _arg2;
            this._-38s = new Array();
            this._-zg = new Array();
            this._assets = _arg4;
            this._-0ud = _arg3;
            this._-Ke = new BadgesView(this, _arg2, _arg4);
            this._-3E4 = new Map();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-513 = null;
            this._-U- = null;
            this._-38s = null;
            this._-zg = null;
            if (this._-3E4)
            {
                this._-3E4.dispose();
                this._-3E4 = null;
            };
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._assets = null;
            this._-0ud = null;
        }
        public function _-eq(_arg1:int=0):void
        {
            this._-0ud._-4gR(null).send(new _-3W0());
        }
        public function _-3yE():int
        {
            return (this._-A3);
        }
        public function _-2D2():void
        {
            if (this._-Ke != null)
            {
                this._-Ke._-1pD();
            };
        }
        private function _-2Cn():void
        {
            if (this._-Ke != null)
            {
                this._-Ke._-2Cn();
            };
        }
        private function _-b7(_arg1:_-3XJ):void
        {
            this._-zg.push(_arg1);
            _arg1._-1V2 = true;
        }
        private function _-3ws(_arg1:_-3XJ):void
        {
            var k:int;
            while (k < this._-zg.length)
            {
                if (this._-zg[k] == _arg1)
                {
                    this._-zg.splice(k, 1);
                    _arg1._-1V2 = false;
                    return;
                };
                k++;
            };
        }
        public function _-55y(_arg1:String, _arg2:Boolean, _arg3:int=0):void
        {
            var _local5:_-2kE;
            var _local6:_-243;
            var _local7:IWindowContainer;
            var _local8:Boolean;
            var _local9:_-3XJ;
            if (_arg3 > 0)
            {
                this._-3E4.add(_arg1, _arg3);
            };
            var k:_-3XJ = this._-0Rl(_arg1);
            if (k != null)
            {
                if (k._-1V2 != _arg2)
                {
                    if (_arg2)
                    {
                        this._-b7(k);
                    }
                    else
                    {
                        this._-3ws(k);
                    };
                };
            }
            else
            {
                _local5 = this._assets.getAssetByName("inventory_thumb_xml");
                _local6 = _-243(_local5);
                _local7 = (this._-U-.buildFromXML(XML(_local6.content)) as IWindowContainer);
                _local8 = this._-513._-20u._-0-v(_-2Jr.BADGE, _arg3);
                _local9 = new _-3XJ(_arg1, _local7, _local8);
                if (_local8)
                {
                    this._-38s.unshift(_local9);
                }
                else
                {
                    this._-38s.push(_local9);
                };
                if (_arg2)
                {
                    this._-b7(_local9);
                };
            };
        }
        private function _-0Rl(_arg1:String):_-3XJ
        {
            var k:_-3XJ;
            var k:int;
            while (k < this._-38s.length)
            {
                k = this._-38s[k];
                if (k.badgeId == _arg1)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-077(_arg1:String):void
        {
            var k:_-3XJ;
            var k:int;
            while (k < this._-38s.length)
            {
                k = this._-38s[k];
                if (k.badgeId == _arg1)
                {
                    this._-38s.splice(k, 1);
                    this._-3ws(k);
                    this._-2D2();
                    return;
                };
                k++;
            };
        }
        public function _-3Cn(_arg1:String):void
        {
            var k:_-3XJ = this._-0Rl(_arg1);
            if (k != null)
            {
                if (k._-1V2)
                {
                    this._-3ws(k);
                }
                else
                {
                    this._-b7(k);
                };
                this._-2QD();
            };
        }
        public function _-2QD():void
        {
            var k:_-3XJ;
            var k:SetActivatedBadgesComposer = new SetActivatedBadgesComposer();
            var k:Array = this._-0W8(_-4UG);
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k._-1tG(k.badgeId);
                k++;
            };
            this._-0ud._-4gR(null).send(k);
        }
        public function _-2KL(_arg1:String):void
        {
            var k:_-3XJ;
            var k:int;
            while (k < this._-38s.length)
            {
                k = (this._-38s[k] as _-3XJ);
                if (k != null)
                {
                    k._-vX = (k.badgeId == _arg1);
                };
                k++;
            };
            this._-2Cn();
        }
        public function _-2U2():void
        {
            var k:_-3XJ = this._-1oQ();
            if (k != null)
            {
                return;
            };
            var k:Array = this._-0W8(_-3dD);
            if (((!((k == null))) && ((k.length > 0))))
            {
                k = (k[0] as _-3XJ);
                k._-vX = true;
                this._-2D2();
                return;
            };
            var k:Array = this._-0W8(_-4UG);
            if (((!((k == null))) && ((k.length > 0))))
            {
                k = (k[0] as _-3XJ);
                k._-vX = true;
                this._-2D2();
            };
        }
        public function _-1oQ(_arg1:int=-1):_-3XJ
        {
            var k:_-3XJ;
            var k:Array = this._-0W8(_arg1);
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                if (k._-vX)
                {
                    return (k);
                };
                k++;
            };
            return (null);
        }
        public function _-0W8(_arg1:int=-1):Array
        {
            var _local2:Array;
            var k:_-3XJ;
            switch (_arg1)
            {
                case _-1XL:
                    return (this._-38s);
                case _-3dD:
                    _local2 = new Array();
                    for each (k in this._-38s)
                    {
                        if (!k._-1V2)
                        {
                            _local2.push(k);
                        };
                    };
                    return (_local2);
                case _-4UG:
                    return (this._-zg);
            };
            _-Nb.log("Unexpected filter. Returning an empty array to maintain backward compatibility");
            return (new Array());
        }
        public function _-4tI(_arg1:int):_-3XJ
        {
            return (this._-4RF(_arg1, _-4UG));
        }
        public function _-38H(_arg1:int):_-3XJ
        {
            return (this._-4RF(_arg1, _-3dD));
        }
        public function _-4RF(_arg1:int, _arg2:int=-1):_-3XJ
        {
            var k:Array = this._-0W8(_arg2);
            if ((((_arg1 < 0)) || ((_arg1 >= k.length))))
            {
                return (null);
            };
            return (k[_arg1]);
        }
        public function getWindowContainer():IWindowContainer
        {
            return (this._-Ke.getWindowContainer());
        }
        public function _-3mZ():void
        {
            if (this._-Ke._-0m7)
            {
                this._-21o();
            };
        }
        public function _-52O(_arg1:String):void
        {
            if ((((_arg1 == _-503._-4Ds)) && (this._-513._-0m7)))
            {
                this._-513.events.dispatchEvent(new Event(_-3at.HABBO_INVENTORY_TRACKING_EVENT_BADGES));
            };
        }
        public function _-3NF(_arg1:String):void
        {
        }
        public function get controller():HabboInventory
        {
            return (this._-513);
        }
        public function _-21o():void
        {
            var k:_-3XJ;
            if (!this._-513._-U1)
            {
                return;
            };
            this._-513._-20u._-4oQ(_-2Jr.BADGE);
            for each (k in this._-38s)
            {
                k._-0-v = false;
            };
            this._-2D2();
            this._-513._-1XT();
        }

    }
}//package _-3Uz

//------------------------------------------------------------
//_-3Uz.BadgesView

package _-3Uz
{
    import _-4pF._-3Ts;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemGridWindow;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-295._-39L;
    import _-1ae.IButtonWindow;
    import _-0Ix._-aY;
    import _-1ae._-3Yi;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowEvent;
    import _-3Zp.*;

    public class BadgesView implements _-3Nt 
    {

        private var _-U-:_-3Ts;
        private var _-Ke:IWindowContainer;
        private var _-3n-:BadgesModel;
        private var _-3E:IItemGridWindow;
        private var _-Bu:IItemGridWindow;
        private var _disposed:Boolean = false;

        public function BadgesView(_arg1:BadgesModel, _arg2:_-3Ts, _arg3:_-39L)
        {
            this._-3n- = _arg1;
            this._-U- = _arg2;
            var k:_-2kE = _arg3.getAssetByName("inventory_badges_xml");
            var k:_-243 = _-243(k);
            this._-Ke = IWindowContainer(this._-U-.buildFromXML(XML(k.content)));
            this._-Ke.visible = false;
            var k:IWindow = this._-Ke.findChildByName("wearBadge_button");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4e-);
            };
            this._-3E = (this._-Ke.findChildByName("inactive_items") as IItemGridWindow);
            this._-3E.addEventListener(WindowMouseEvent._-90, this._-5EB);
            this._-Bu = (this._-Ke.findChildByName("active_items") as IItemGridWindow);
            this._-Bu.addEventListener(WindowMouseEvent._-90, this._-1hv);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-U- = null;
            this._-3n- = null;
            this._-3E = null;
            this._-Bu = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function getWindowContainer():IWindowContainer
        {
            if ((((this._-Ke == null)) || (this._-Ke.disposed)))
            {
                return (null);
            };
            return (this._-Ke);
        }
        public function get _-0m7():Boolean
        {
            return (((!((this._-Ke.parent == null))) && (this._-Ke.visible)));
        }
        public function _-1pD():void
        {
            this._-1Kz();
            this._-2Cn();
        }
        private function _-1Kz():void
        {
            var k:_-3XJ;
            if ((((this._-Ke == null)) || (this._-Ke.disposed)))
            {
                return;
            };
            var k:Number = this._-3E.scrollV;
            this._-3E._-360();
            this._-Bu._-360();
            var k:Array = this._-3n-._-0W8(BadgesModel._-3dD);
            var k:int;
            while (k < k.length)
            {
                k = (k[k] as _-3XJ);
                if (!k._-1V2)
                {
                    this._-3E._-2-F(k.window);
                    k.window.addEventListener(WindowMouseEvent._-90, this._-5EB);
                };
                k++;
            };
            if (k > 0)
            {
                this._-3E.scrollV = k;
            };
            var k:Array = this._-3n-._-0W8(BadgesModel._-4UG);
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as _-3XJ);
                this._-Bu._-2-F(k.window);
                k.window.addEventListener(WindowMouseEvent._-90, this._-1hv);
                k++;
            };
        }
        public function _-2Cn():void
        {
            var _local3:Array;
            if ((((this._-Ke == null)) || (this._-Ke.disposed)))
            {
                return;
            };
            var k:IButtonWindow = (this._-Ke.findChildByName("wearBadge_button") as IButtonWindow);
            if (k == null)
            {
                return;
            };
            var k:_-3XJ = this._-3n-._-1oQ();
            if (k == null)
            {
                k.disable();
                this._-UN(null);
                this._-1WT(null);
                this._-Ke.findChildByName("badge_image").visible = false;
            }
            else
            {
                if (k._-1V2)
                {
                    k.caption = "${inventory.badges.clearbadge}";
                }
                else
                {
                    k.caption = "${inventory.badges.wearbadge}";
                };
                this._-UN(this._-3n-.controller.localization.getBadgeName(k.badgeId));
                this._-1WT(this._-3n-.controller.localization.getBadgeDesc(k.badgeId));
                _-aY(_-3Yi(this._-Ke.findChildByName("badge_image")).widget).badgeId = k.badgeId;
                this._-Ke.findChildByName("badge_image").visible = true;
                _local3 = this._-3n-._-0W8(BadgesModel._-4UG);
                if (((((!((_local3 == null))) && ((_local3.length >= this._-3n-._-3yE())))) && (!(k._-1V2))))
                {
                    k.disable();
                }
                else
                {
                    k.enable();
                };
            };
        }
        private function _-UN(_arg1:String):void
        {
            if ((((this._-Ke == null)) || (this._-Ke.disposed)))
            {
                return;
            };
            var k:ITextWindow = (this._-Ke.findChildByName("badgeName") as ITextWindow);
            if (k == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                k.text = "";
            }
            else
            {
                k.text = "";
                k.text = _arg1;
            };
        }
        private function _-1WT(_arg1:String):void
        {
            if ((((this._-Ke == null)) || (this._-Ke.disposed)))
            {
                return;
            };
            var k:ITextWindow = (this._-Ke.findChildByName("badgeDescriptionText") as ITextWindow);
            if (k == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                k.text = "${inventory.effects.defaultdescription}";
            }
            else
            {
                k.text = "";
                k.text = _arg1;
            };
        }
        private function _-5EB(_arg1:WindowEvent):void
        {
            var k:int = this._-3E.getGridItemIndex(_arg1.window);
            var k:_-3XJ = this._-3n-._-38H(k);
            if (k != null)
            {
                this._-3n-._-2KL(k.badgeId);
            };
        }
        private function _-1hv(_arg1:WindowEvent):void
        {
            var k:int = this._-Bu.getGridItemIndex(_arg1.window);
            var k:_-3XJ = this._-3n-._-4tI(k);
            if (k != null)
            {
                this._-3n-._-2KL(k.badgeId);
            };
        }
        private function _-4e-(_arg1:WindowEvent):void
        {
            var k:_-3XJ = this._-3n-._-1oQ();
            if (k != null)
            {
                this._-3n-._-3Cn(k.badgeId);
            };
        }

    }
}//package _-3Uz

//------------------------------------------------------------
//_-3V-._-2CE

package _-3V-
{
    import _-4rn._-2Jg;
    import _-022._-2KD;
    import _-4rn._-H0;
    import _-1B-.*;

    public interface _-2CE extends _-4yI 
    {

        function _-3ss(_arg1:String):_-2Jg;
        function _-40R():_-2KD;
        function _-1qn(_arg1:String, _arg2:String, _arg3:XML):_-H0;

    }
}//package _-3V-

//------------------------------------------------------------
//_-3V-._-30N

package _-3V-
{
    import _-18r.Map;

    public interface _-30N 
    {

        function _-2l5(_arg1:String):Boolean;
        function _-1PZ(_arg1:String):Boolean;
        function _-1vF(_arg1:String):Boolean;
        function _-5A6(_arg1:String):Boolean;
        function getNumber(_arg1:String):Number;
        function getString(_arg1:String):String;
        function getNumberArray(_arg1:String):Array;
        function _-4H6(_arg1:String):Array;
        function _-1Pk():int;
        function _-Bf(_arg1:String):Map;

    }
}//package _-3V-

//------------------------------------------------------------
//_-3V-._-3SU

package _-3V-
{
    import _-0y0._-06R;
    import _-4rn._-dD;
    import _-0sD._-4Oa;

    public interface _-3SU 
    {

        function getId():int;
        function getInstanceId():int;
        function getType():String;
        function _-25k():Boolean;
        function getLocation():_-06R;
        function getDirection():_-06R;
        function getModel():_-30N;
        function _-1cm():_-dD;
        function _-1jC():_-4Oa;
        function getState(_arg1:int):int;
        function _-1Pk():int;

    }
}//package _-3V-

//------------------------------------------------------------
//_-3V-._-4s6

package _-3V-
{
    import _-18r.Map;

    public interface _-4s6 extends _-30N 
    {

        function setNumber(_arg1:String, _arg2:Number, _arg3:Boolean=false):void;
        function setString(_arg1:String, _arg2:String, _arg3:Boolean=false):void;
        function setNumberArray(_arg1:String, _arg2:Array, _arg3:Boolean=false):void;
        function _-FJ(_arg1:String, _arg2:Array, _arg3:Boolean=false):void;
        function _-4ds(_arg1:String, _arg2:Map, _arg3:Boolean=false):void;

    }
}//package _-3V-

//------------------------------------------------------------
//_-3V-._-lb

package _-3V-
{
    import _-0y0._-06R;
    import _-4rn._-dD;
    import _-0sD._-31x;

    public interface _-lb extends _-3SU 
    {

        function dispose():void;
        function _-0G1(_arg1:Boolean):void;
        function setLocation(_arg1:_-06R):void;
        function setDirection(_arg1:_-06R):void;
        function _-1Ib(_arg1:_-dD):void;
        function setState(_arg1:int, _arg2:int):Boolean;
        function _-3Iq(_arg1:_-31x):void;
        function _-40i():_-31x;
        function getModelController():_-4s6;

    }
}//package _-3V-

//------------------------------------------------------------
//_-3V-.RoomObject

package _-3V-
{
    import _-0y0._-Xl;
    import _-4rn._-dD;
    import _-0sD._-31x;
    import _-0y0._-06R;
    import _-0sD._-4Oa;
    import _-0y0.*;

    public class RoomObject implements _-lb 
    {

        private static var _-3OK:int = 0;

        private var _-0Kq:int;
        private var _-5K:String = "";
        private var _-0cX:_-Xl;
        private var _-ai:_-Xl;
        private var _-3sD:_-Xl;
        private var _-5Et:_-Xl;
        private var _-42V:Array;
        private var _-3n-:RoomObjectModel;
        private var _visualization:_-dD;
        private var _-K-:_-31x;
        private var _-024:int;
        private var _-45U:int = 0;
        private var _-rY:Boolean = false;

        public function RoomObject(_arg1:int, _arg2:int, _arg3:String)
        {
            this._-0Kq = _arg1;
            this._-0cX = new _-Xl();
            this._-ai = new _-Xl();
            this._-3sD = new _-Xl();
            this._-5Et = new _-Xl();
            this._-42V = new Array(_arg2);
            var k:Number = (_arg2 - 1);
            while (k >= 0)
            {
                this._-42V[k] = 0;
                k--;
            };
            this._-5K = _arg3;
            this._-3n- = new RoomObjectModel();
            this._visualization = null;
            this._-K- = null;
            this._-024 = 0;
            this._-45U = _-3OK++;
        }
        public function dispose():void
        {
            this._-0cX = null;
            this._-ai = null;
            this._-42V = null;
            this._-1Ib(null);
            this._-3Iq(null);
            if (this._-3n- != null)
            {
                this._-3n-.dispose();
                this._-3n- = null;
            };
        }
        public function _-0G1(_arg1:Boolean):void
        {
            this._-rY = _arg1;
        }
        public function _-25k():Boolean
        {
            return (this._-rY);
        }
        public function getId():int
        {
            return (this._-0Kq);
        }
        public function getInstanceId():int
        {
            return (this._-45U);
        }
        public function getType():String
        {
            return (this._-5K);
        }
        public function getLocation():_-06R
        {
            this._-3sD._-3jn(this._-0cX);
            return (this._-3sD);
        }
        public function getDirection():_-06R
        {
            this._-5Et._-3jn(this._-ai);
            return (this._-5Et);
        }
        public function getModel():_-30N
        {
            return (this._-3n-);
        }
        public function getModelController():_-4s6
        {
            return (this._-3n-);
        }
        public function getState(_arg1:int):int
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-42V.length))))
            {
                return (this._-42V[_arg1]);
            };
            return (-1);
        }
        public function _-1cm():_-dD
        {
            return (this._visualization);
        }
        public function setLocation(_arg1:_-06R):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (((((!((this._-0cX.x == _arg1.x))) || (!((this._-0cX.y == _arg1.y))))) || (!((this._-0cX.z == _arg1.z)))))
            {
                this._-0cX.x = _arg1.x;
                this._-0cX.y = _arg1.y;
                this._-0cX.z = _arg1.z;
                this._-024++;
            };
        }
        public function setDirection(_arg1:_-06R):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (((((!((this._-ai.x == _arg1.x))) || (!((this._-ai.y == _arg1.y))))) || (!((this._-ai.z == _arg1.z)))))
            {
                this._-ai.x = (((_arg1.x % 360) + 360) % 360);
                this._-ai.y = (((_arg1.y % 360) + 360) % 360);
                this._-ai.z = (((_arg1.z % 360) + 360) % 360);
                this._-024++;
            };
        }
        public function setState(_arg1:int, _arg2:int):Boolean
        {
            if ((((_arg2 >= 0)) && ((_arg2 < this._-42V.length))))
            {
                if (this._-42V[_arg2] != _arg1)
                {
                    this._-42V[_arg2] = _arg1;
                    this._-024++;
                };
                return (true);
            };
            return (false);
        }
        public function _-1Ib(_arg1:_-dD):void
        {
            if (_arg1 != this._visualization)
            {
                if (this._visualization != null)
                {
                    this._visualization.dispose();
                };
                this._visualization = _arg1;
                if (this._visualization != null)
                {
                    this._visualization.object = this;
                };
            };
        }
        public function _-3Iq(_arg1:_-31x):void
        {
            if (_arg1 == this._-K-)
            {
                return;
            };
            var k:_-31x = this._-K-;
            if (k != null)
            {
                this._-K- = null;
                k.object = null;
            };
            this._-K- = _arg1;
            if (this._-K- != null)
            {
                this._-K-.object = this;
            };
        }
        public function _-40i():_-31x
        {
            return (this._-K-);
        }
        public function _-1Pk():int
        {
            return (this._-024);
        }
        public function _-1jC():_-4Oa
        {
            return (this._-40i());
        }

    }
}//package _-3V-

//------------------------------------------------------------
//_-3V-.RoomObjectModel

package _-3V-
{
    import flash.utils.Dictionary;
    import _-18r.Map;

    public class RoomObjectModel implements _-4s6 
    {

        private static const _-4r-:String = "ROMC_MAP_KEYS_";
        private static const _-3xc:String = "ROMC_MAP_VALUES_";

        private var _-4RN:Dictionary;
        private var _-4lj:Dictionary;
        private var _-5q:Dictionary;
        private var _-2Gx:Dictionary;
        private var _-1gZ:Array;
        private var _-4no:Array;
        private var  else:Array;
        private var _-3Er:Array;
        private var _-024:int;

        public function RoomObjectModel()
        {
            this._-4RN = new Dictionary();
            this._-4lj = new Dictionary();
            this._-5q = new Dictionary();
            this._-2Gx = new Dictionary();
            this._-1gZ = [];
            this._-4no = [];
            this. else = [];
            this._-3Er = [];
            this._-024 = 0;
        }
        public function dispose():void
        {
            var k:String;
            if (this._-4RN != null)
            {
                for (k in this._-4RN)
                {
                    delete this._-4RN[k];
                };
                this._-4RN = null;
            };
            if (this._-4lj != null)
            {
                for (k in this._-4lj)
                {
                    delete this._-4lj[k];
                };
                this._-4lj = null;
            };
            if (this._-5q != null)
            {
                for (k in this._-5q)
                {
                    delete this._-5q[k];
                };
                this._-5q = null;
            };
            if (this._-2Gx != null)
            {
                for (k in this._-2Gx)
                {
                    delete this._-2Gx[k];
                };
                this._-2Gx = null;
            };
            this._-4no = [];
            this._-1gZ = [];
            this._-3Er = [];
            this. else = [];
        }
        public function _-2l5(_arg1:String):Boolean
        {
            return (!((this._-4RN[_arg1] == null)));
        }
        public function _-1PZ(_arg1:String):Boolean
        {
            return (!((this._-5q[_arg1] == null)));
        }
        public function _-1vF(_arg1:String):Boolean
        {
            return (!((this._-4lj[_arg1] == null)));
        }
        public function _-5A6(_arg1:String):Boolean
        {
            return (!((this._-2Gx[_arg1] == null)));
        }
        public function getNumber(_arg1:String):Number
        {
            return (this._-4RN[_arg1]);
        }
        public function getString(_arg1:String):String
        {
            return (this._-4lj[_arg1]);
        }
        public function getNumberArray(_arg1:String):Array
        {
            var k:Array = this._-5q[_arg1];
            if (k != null)
            {
                k = k.slice();
            };
            return (k);
        }
        public function _-4H6(_arg1:String):Array
        {
            var k:Array = this._-2Gx[_arg1];
            if (k != null)
            {
                k = k.slice();
            };
            return (k);
        }
        public function _-Bf(_arg1:String):Map
        {
            var k:int;
            var k:Map = new Map();
            var k:Array = this._-4H6((_-4r- + _arg1));
            var k:Array = this._-4H6((_-3xc + _arg1));
            if (((((!((k == null))) && (!((k == null))))) && ((k.length == k.length))))
            {
                k = 0;
                while (k < k.length)
                {
                    k.add(k[k], k[k]);
                    k++;
                };
            };
            return (k);
        }
        public function setNumber(_arg1:String, _arg2:Number, _arg3:Boolean=false):void
        {
            if (this._-1gZ.indexOf(_arg1) >= 0)
            {
                return;
            };
            if (_arg3)
            {
                this._-1gZ.push(_arg1);
            };
            if (this._-4RN[_arg1] != _arg2)
            {
                this._-4RN[_arg1] = _arg2;
                this._-024++;
            };
        }
        public function setString(_arg1:String, _arg2:String, _arg3:Boolean=false):void
        {
            if (this._-4no.indexOf(_arg1) >= 0)
            {
                return;
            };
            if (_arg3)
            {
                this._-4no.push(_arg1);
            };
            if (this._-4lj[_arg1] != _arg2)
            {
                this._-4lj[_arg1] = _arg2;
                this._-024++;
            };
        }
        public function setNumberArray(_arg1:String, _arg2:Array, _arg3:Boolean=false):void
        {
            if (_arg2 == null)
            {
                return;
            };
            if (this. else.indexOf(_arg1) >= 0)
            {
                return;
            };
            if (_arg3)
            {
                this. else.push(_arg1);
            };
            var k:Array = [];
            var k:int;
            k = 0;
            while (k < _arg2.length)
            {
                if ((_arg2[k] is Number))
                {
                    k.push(_arg2[k]);
                };
                k++;
            };
            var k:Array = this._-5q[_arg1];
            var k:Boolean = true;
            if (((!((k == null))) && ((k.length == k.length))))
            {
                k = (k.length - 1);
                while (k >= 0)
                {
                    if ((k[k] as Number) != (k[k] as Number))
                    {
                        k = false;
                        break;
                    };
                    k--;
                };
            }
            else
            {
                k = false;
            };
            if (k)
            {
                return;
            };
            this._-5q[_arg1] = k;
            this._-024++;
        }
        public function _-FJ(_arg1:String, _arg2:Array, _arg3:Boolean=false):void
        {
            if (_arg2 == null)
            {
                return;
            };
            if (this._-3Er.indexOf(_arg1) >= 0)
            {
                return;
            };
            if (_arg3)
            {
                this._-3Er.push(_arg1);
            };
            var k:Array = [];
            var k:int;
            k = 0;
            while (k < _arg2.length)
            {
                if ((_arg2[k] is String))
                {
                    k.push(_arg2[k]);
                };
                k++;
            };
            var k:Array = this._-2Gx[_arg1];
            var k:Boolean = true;
            if (((!((k == null))) && ((k.length == k.length))))
            {
                k = (k.length - 1);
                while (k >= 0)
                {
                    if ((k[k] as String) != (k[k] as String))
                    {
                        k = false;
                        break;
                    };
                    k--;
                };
            }
            else
            {
                k = false;
            };
            if (k)
            {
                return;
            };
            this._-2Gx[_arg1] = k;
            this._-024++;
        }
        public function _-4ds(_arg1:String, _arg2:Map, _arg3:Boolean=false):void
        {
            if (_arg2 == null)
            {
                return;
            };
            this._-FJ((_-4r- + _arg1), _arg2._-18C(), _arg3);
            this._-FJ((_-3xc + _arg1), _arg2._-0hn(), _arg3);
        }
        public function _-1Pk():int
        {
            return (this._-024);
        }

    }
}//package _-3V-

//------------------------------------------------------------
//_-3vb._-03X

package _-3vb
{
    public class _-03X 
    {

        public static const _-gC:String = "toolbar_dimmer";
        public static const _-4Pt:String = "purse";
        public static const _-1oX:String = "extra_tools";
        public static const _-34R:String = "talent_promo";
        public static const _-0h4:String = "club_promo";
        public static const _-14W:String = "vip_quests";

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb._-1Ix

package _-3vb
{
    public class _-1Ix 
    {

        public static const _-Zz:String = "HTE_STATE_HOTEL_VIEW";
        public static const _-0l3:String = "HTE_STATE_GAME_CENTER_VIEW";
        public static const _-0E8:String = "HTE_STATE_ROOM_VIEW";
        public static const _-1us:String = "HTE_STATE_HIDDEN";

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb._-34g

package _-3vb
{
    public class _-34g 
    {

        public static const _-311:int = 0;
        public static const _-0Uv:int = 1;
        public static const _-4ab:int = 2;
        public static const _-w3:int = 3;

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb._-3b

package _-3vb
{
    import flash.events.IEventDispatcher;
    import flash.geom.Rectangle;
    import flash.display.BitmapData;
    import _-3nP._-4tH;
    import _-1B-.*;

    public interface _-3b extends _-4yI 
    {

        function get events():IEventDispatcher;
        function _-mJ(_arg1:String):Rectangle;
        function _-0jv(_arg1:String, _arg2:BitmapData, _arg3:int, _arg4:int):_-4tH;
        function _-0dM(_arg1:String, _arg2:int):void;
        function _-4pw(_arg1:String):void;
        function _-3rs(_arg1:String, _arg2:BitmapData):void;
        function getRect():Rectangle;
        function get extensionView():_-YA;
        function _-2FA(_arg1:String, _arg2:Boolean):void;
        function toggleWindowVisibility(_arg1:String):void;
        function set _-in(_arg1:Boolean):void;

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb._-3-C

package _-3vb
{
    public class _-3-C 
    {

        public static const _-dG:String = "social";
        public static const _-3nz:String = "group";
        public static const _-2QA:String = "quest";
        public static const _-N2:String = "game";

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb._-3sv

package _-3vb
{
    import flash.geom.Point;
    import _-Ew.IWindowContainer;
    import flash.events.IEventDispatcher;
    import _-4Wu._-4uR;
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-0mD._-2Jq;
    import _-18r.Map;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import _-3EM._-47w;
    import _-295._-243;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-1ae.IRegionWindow;
    import _-1ae.ITextWindow;
    import _-uF.ILocalization;
    import _-0pR._-1ov;
    import _-2np._-1ZV;
    import flash.display.BitmapDataChannel;
    import _-2Mh._-cF;
    import _-1ae.IBorderWindow;
    import _-1ae._-4mB;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Rectangle;
    import _-09j.WindowType;
    import flash.filters.GlowFilter;
    import flash.filters.BitmapFilterQuality;
    import _-3nP.Motions;
    import _-3nP.Queue;
    import _-3nP._-KT;
    import _-3nP._-4lk;
    import _-3nP._-0Tg;
    import _-3nP._-3NN;
    import _-3nP._-0pz;
    import _-3nP._-4tH;

    public class _-3sv 
    {

        private static const _-4M:Point = new Point(3, 3);
        private static const _-2-0:Point = new Point(3, 62);
        private static const _-3pj:uint = 7433577;
        private static const _-06W:uint = 5723213;
        private static const _-1Rl:String = "_hover";
        private static const _-K0:String = "_normal";
        private static const _-iA:int = 5;
        private static const _-Hz:String = "icon_me_menu";
        private static const _-2Tc:int = 80;
        private static const _-Nl:int = 20;
        private static const _-16N:int = 52;

        private var _-0xv:IWindowContainer;
        private var _-2Te:IEventDispatcher;
        private var _-0Xx:_-4uR;
        private var _disposed:Boolean;
        private var _-0a7:HabboToolbar;
        private var _assets:_-39L;
        private var _-U-:_-3Ts;
        private var _-3oJ:_-2Jq;
        private var _-0Km:Map;
        private var _-zH:IWindowContainer;
        private var _-x6:Boolean;
        private var _-23I:IWindow;
        private var _-2ut:BitmapData;
        private var _-3B2:BitmapData;

        public function _-3sv(_arg1:HabboToolbar, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-1ZV, _arg5:_-2Jq, _arg6:IEventDispatcher, _arg7:_-4uR)
        {
            var k:IWindow;
            var k:_-47w;
            var k:Boolean;
            var k:IWindow;
            super();
            this._-0a7 = _arg1;
            this._-U- = _arg2;
            this._assets = _arg3;
            this._-2Te = _arg6;
            this._-0Xx = _arg7;
            this._-0Km = new Map();
            var k:_-243 = (_arg3.getAssetByName("toolbar_view_xml") as _-243);
            this._-0xv = (_arg2.buildFromXML((k.content as XML), 2) as IWindowContainer);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            this._-0xv.position = _-4M;
            this._-0xv.addEventListener(WindowEvent._-4cR, this._-2GZ);
            this._-23I = _arg2.buildFromXML(XML(_arg3.getAssetByName("panic_button_xml").content), 2);
            this._-23I.addEventListener(WindowMouseEvent._-90, this._-5AB);
            this._-23I.x = this._-0xv.right;
            if (this._-0a7._-Nj())
            {
                this._-0xv.findChildByName("icons_toolbar_quests").name = "icons_toolbar_xmas";
            };
            if (this._-0a7._-l4())
            {
                this._-0xv.findChildByName("icons_toolbar_quests").name = "icons_toolbar_valentines";
            };
            if (!this._-0a7._-0ls())
            {
                k = this._-0xv.findChildByName(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.MINIMAIL));
                if (k)
                {
                    (this._-0xv.findChildByName("toolbar_items") as IItemListWindow)._-4sE(k);
                };
            };
            var k:Array = new Array();
            this._-0xv._-507("TOGGLE", k, -1);
            for each (k in k)
            {
                if (((k) && ((k is IRegionWindow))))
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-5Do);
                    k.addEventListener(WindowMouseEvent._-4ea, this._-0UD);
                    k.addEventListener(WindowMouseEvent._-4e2, this._-0UD);
                };
            };
            k = new Array();
            this._-0xv._-507("ICON_BMP", k, -1);
            for each (k in k)
            {
                this._-2N(k, _-K0);
            };
            this._-1TA(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.QUESTS), false);
            this._-1TA(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.MEMENU), false);
            this._-1TA(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.INVENTORY), false);
            k = _arg7.getBoolean("games_icon_enabled", true);
            if (k)
            {
                this._-1TA(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.GAMES), true);
                this._-1TA(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.ACHIEVEMENTS), false);
            }
            else
            {
                this._-1TA(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.GAMES), false);
                this._-1TA(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.ACHIEVEMENTS), true);
            };
            var k:_-243 = (_arg3.getAssetByName("new_items_label_xml") as _-243);
            this._-zH = (_arg2.buildFromXML((k.content as XML), 2) as IWindowContainer);
            if (this._-zH == null)
            {
                throw (new Error("Failed to construct toolbar label from XML!"));
            };
            var k:IWindowContainer = (this._-0xv.findChildByName(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.CATALOGUE)) as IWindowContainer);
            k.addChild(this._-zH);
            var k:ITextWindow = (this._-zH.findChildByName("new_textfield") as ITextWindow);
            var k:ILocalization = _arg5.localization.getLocalization("toolbar.new_additions.notification");
            if (k != null)
            {
                k.text = k.value;
            };
            this._-zH.visible = false;
            this._-zH.x = ((k.width - this._-zH.width) - _-iA);
            this._-zH.y = _-iA;
            this._-x6 = this._-0nS();
            this._-3oJ = _arg5;
            if (this._-3oJ != null)
            {
                this._-4pb();
                this._-3oJ.events.addEventListener(_-1ov.CATALOG_INITIALIZED, this._-187);
                this._-3oJ.events.addEventListener(_-1ov.CATALOG_NOT_READY, this._-187);
                this._-3oJ.events.addEventListener(_-1ov.CATALOG_NEW_ITEMS_SHOW, this._-187);
                this._-3oJ.events.addEventListener(_-1ov.CATALOG_NEW_ITEMS_HIDE, this._-187);
            };
            this._-3ED();
        }
        private static function _-2w4(_arg1:BitmapData, _arg2:Point, _arg3:uint):BitmapData
        {
            var k:BitmapData = new BitmapData(_arg1.width, _arg1.height, true, 0);
            k.fillRect(k.rect, _arg3);
            k.copyChannel(_arg1, _arg1.rect, new Point(0, 0), BitmapDataChannel.ALPHA, BitmapDataChannel.ALPHA);
            var k:BitmapData = new BitmapData((_arg1.width + _arg2.x), (_arg1.height + _arg2.y), true, 0);
            k.copyPixels(k, k.rect, _arg2);
            k.copyPixels(_arg1, _arg1.rect, new Point(0, 0), null, null, true);
            k.dispose();
            return (k);
        }

        private function _-5AB(_arg1:WindowMouseEvent):void
        {
            this._-0a7.toggleWindowVisibility("PANIC");
        }
        private function _-2GZ(_arg1:WindowEvent):void
        {
            this._-3ED();
        }
        private function _-3ED():void
        {
            if (((!(this._-0xv)) || (!(this._-U-))))
            {
                return;
            };
            this._-3y-(true);
            if (this._-0WQ())
            {
                this._-3y-(false);
                this._-0WQ();
            };
            this._-0xv.invalidate();
        }
        private function _-3y-(_arg1:Boolean):void
        {
            var k:IWindowContainer;
            var k:IWindow;
            var k:IItemListWindow = (this._-0xv.findChildByName("toolbar_items") as IItemListWindow);
            var k:int = k.numListItems;
            var k:int;
            while (k < k)
            {
                k = (k.getListItemAt(k) as IWindowContainer);
                if (k != null)
                {
                    k = k.findChildByName("text");
                    if (k != null)
                    {
                        k.visible = _arg1;
                        k.findChildByName("text_shadow").visible = _arg1;
                        k.height = ((_arg1) ? _-2Tc : (_-2Tc - _-Nl));
                    };
                };
                k++;
            };
        }
        private function _-0WQ():Boolean
        {
            var k:IItemListWindow = (this._-0xv.findChildByName("toolbar_items") as IItemListWindow);
            k.spacing = 2;
            k.scrollV = 0;
            k._-0O3();
            while (this._-0xv.bottom > (this._-U-.getDesktop(2).height - _-16N))
            {
                if (k.spacing == -5)
                {
                    return (true);
                };
                k.spacing--;
            };
            return (false);
        }
        public function dispose():void
        {
            if (this._-2ut != null)
            {
                this._-2ut.dispose();
                this._-2ut = null;
            };
            if (this._-3B2 != null)
            {
                this._-3B2.dispose();
                this._-3B2 = null;
            };
            if (this._-0Km != null)
            {
                this._-0Km.dispose();
                this._-0Km = null;
            };
            if (this._-23I != null)
            {
                this._-23I.dispose();
                this._-23I = null;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-zH != null)
            {
                this._-zH.dispose();
                this._-zH = null;
            };
            this._-0a7 = null;
            this._-U- = null;
            this._assets = null;
            this._-0Xx = null;
            this._disposed = true;
            if (this._-2Te)
            {
                this._-2Te = null;
            };
            if (((!((this._-3oJ == null))) && (!(this._-3oJ.disposed))))
            {
                this._-3oJ.events.removeEventListener(_-1ov.CATALOG_INITIALIZED, this._-187);
                this._-3oJ.events.removeEventListener(_-1ov.CATALOG_NOT_READY, this._-187);
                this._-3oJ.events.removeEventListener(_-1ov.CATALOG_NEW_ITEMS_SHOW, this._-187);
                this._-3oJ.events.removeEventListener(_-1ov.CATALOG_NEW_ITEMS_HIDE, this._-187);
                this._-3oJ = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        private function _-4pb():void
        {
            var k:IWindowContainer = (this._-0xv.findChildByName(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.CATALOGUE)) as IWindowContainer);
            k.blend = 0.5;
            k.disable();
        }
        private function _-187(_arg1:_-1ov):void
        {
            var _local2:IWindowContainer;
            var _local3:String;
            switch (_arg1.type)
            {
                case _-1ov.CATALOG_INITIALIZED:
                    _local2 = (this._-0xv.findChildByName(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.CATALOGUE)) as IWindowContainer);
                    _local2.blend = 1;
                    _local2.enable();
                    _local3 = this._-3oJ.configuration.getKey("open.catalog.page");
                    if (_local3.length > 0)
                    {
                        this._-3oJ.openCatalogPage(_-cF._-5Ax);
                        this._-3oJ.configuration._-354("open.catalog.page", "");
                    };
                    return;
                case _-1ov.CATALOG_NOT_READY:
                    this._-4pb();
                    return;
                case _-1ov.CATALOG_NEW_ITEMS_SHOW:
                    if (((!((this._-zH == null))) && (this._-x6)))
                    {
                        this._-zH.visible = true;
                    };
                    return;
                case _-1ov.CATALOG_NEW_ITEMS_HIDE:
                    if (this._-zH != null)
                    {
                        this._-zH.visible = false;
                    };
                    return;
            };
        }
        public function _-4pw(_arg1:String):void
        {
            var k:String;
            var k:IWindow;
            var k:Boolean;
            if (_arg1 == _-1Ix._-1us)
            {
                this._-0xv.visible = false;
                return;
            };
            this._-0xv.visible = true;
            var k:Array = new Array();
            if (this._-23I != null)
            {
                this._-23I.visible = (_arg1 == _-1Ix._-0E8);
            };
            this._-0xv._-507("TOGGLE", k, -1);
            switch (_arg1)
            {
                case _-1Ix._-0l3:
                    k = "VISIBLE_GAME_CENTER";
                    this._-0xv.position = _-2-0;
                    break;
                case _-1Ix._-Zz:
                    k = "VISIBLE_HOTEL";
                    this._-0xv.position = _-2-0;
                    break;
                case _-1Ix._-0E8:
                    k = "VISIBLE_ROOM";
                    this._-0xv.position = _-4M;
                    break;
            };
            for each (k in k)
            {
                if (k)
                {
                    k = (k.tags.indexOf(k) >= 0);
                    if (k.tags.indexOf(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.RECEPTION)) >= 0)
                    {
                        k.visible = ((this._-0a7._-0zG()) && (k));
                    }
                    else
                    {
                        k.visible = k;
                    };
                };
            };
            this._-3ED();
        }
        public function _-1TA(_arg1:String, _arg2:Boolean):void
        {
            var k:IWindowContainer = (this._-0xv.findChildByName(_arg1) as IWindowContainer);
            if (k)
            {
                k.visible = _arg2;
            };
            this._-3ED();
        }
        private function _-0UD(_arg1:WindowMouseEvent):void
        {
            var k:IWindowContainer = (_arg1.target as IWindowContainer);
            if (!k)
            {
                return;
            };
            var k:IBorderWindow = (k.findChildByTag("ICON_BORDER") as IBorderWindow);
            var k:_-47w = (k.findChildByTag("ICON_BMP") as _-47w);
            switch (_arg1.type)
            {
                case WindowMouseEvent._-4ea:
                    this._-2N(k, _-1Rl);
                    this._-0ZM(k, _-1Rl);
                    return;
                case WindowMouseEvent._-4e2:
                    this._-2N(k, _-K0);
                    this._-0ZM(k, _-K0);
                    return;
            };
        }
        private function _-2N(_arg1:_-47w, _arg2:String):void
        {
            var k:_-4mB;
            var k:IBitmapWrapperWindow;
            if ((_arg1 is _-4mB))
            {
                k = (_arg1 as _-4mB);
                k.assetUri = (k.name + _arg2);
            }
            else
            {
                if ((_arg1 is IBitmapWrapperWindow))
                {
                    k = (_arg1 as IBitmapWrapperWindow);
                    if (k.name == _-Hz)
                    {
                        k.bitmap = (((_arg2 == _-K0)) ? this._-2ut : this._-3B2);
                    };
                };
            };
        }
        private function _-0ZM(_arg1:IWindowContainer, _arg2:String):void
        {
            if (!_arg1)
            {
                return;
            };
            if (_arg2 == _-1Rl)
            {
                _arg1.color = _-3pj;
            }
            else
            {
                _arg1.color = _-06W;
            };
        }
        private function _-5Do(_arg1:WindowMouseEvent):void
        {
            var k:String = IWindow(_arg1.target).name;
            this._-0a7.toggleWindowVisibility(k);
        }
        public function _-3rs(_arg1:String, _arg2:BitmapData):void
        {
            var k:String;
            if (!_arg2)
            {
                return;
            };
            switch (_arg1)
            {
                case HabboToolbarIconEnum.MEMENU:
                    k = _-Hz;
                    this._-4fH(_arg2);
                    break;
            };
            var k:_-47w = (this._-0xv.findChildByName(k) as _-47w);
            if (k != null)
            {
                this._-2N(k, _-K0);
            };
        }
        public function _-mJ(_arg1:String):Rectangle
        {
            var k:IWindow;
            var k:Rectangle;
            switch (_arg1)
            {
                case HabboToolbarIconEnum.NAVIGATOR:
                    k = this._-0xv.findChildByName(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.NAVIGATOR));
                    break;
                case HabboToolbarIconEnum.QUESTS:
                    k = this._-0xv.findChildByName(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.QUESTS));
                    break;
                case HabboToolbarIconEnum.GAMES:
                    k = this._-0xv.findChildByName(HabboToolbarIconEnum.getIconName(HabboToolbarIconEnum.GAMES));
                    break;
            };
            if (((!((k == null))) && (k.visible)))
            {
                k = new Rectangle();
                k.getGlobalRectangle(k);
                return (k);
            };
            return (null);
        }
        private function _-4fH(_arg1:BitmapData):void
        {
            if (this._-2ut != null)
            {
                this._-2ut.dispose();
            };
            if (this._-3B2 != null)
            {
                this._-3B2.dispose();
            };
            this._-2ut = _-2w4(_arg1, new Point(2, 3), 4280426782);
            this._-3B2 = _-2w4(_arg1, new Point(4, 5), 4281150249);
            _arg1.dispose();
        }
        public function _-0dM(_arg1:String, _arg2:int):void
        {
            var k:IWindowContainer = this._-PA(_arg1);
            if (!k)
            {
                return;
            };
            if (_arg2 < 0)
            {
                k.visible = true;
                k.findChildByName("count").caption = " ";
            }
            else
            {
                if (_arg2 > 0)
                {
                    k.visible = true;
                    k.findChildByName("count").caption = _arg2.toString();
                }
                else
                {
                    k.visible = false;
                };
            };
        }
        public function _-PA(_arg1:String):IWindowContainer
        {
            var k:IWindowContainer;
            var k:String = HabboToolbarIconEnum.getIconName(_arg1);
            if (!k)
            {
                _-Nb.log(("[Toolbar] Unknown icon type for unseen item counter for iconId: " + _arg1));
            };
            var k:IWindowContainer = (this._-0Km.getValue(_arg1) as IWindowContainer);
            if (!k)
            {
                k = this._-U-.createUnseenItemCounter();
                k = (this._-0xv.findChildByName(k) as IWindowContainer);
                if (k)
                {
                    k.addChild(k);
                    k.x = ((k.width - k.width) - _-iA);
                    k.y = _-iA;
                    this._-0Km.add(_arg1, k);
                };
            };
            return (k);
        }
        public function _-0nS():Boolean
        {
            return ((this._-0Xx.getKey("toolbar.new_additions.notification.enabled", "false") == "true"));
        }
        public function _-3lX(_arg1:String, _arg2:BitmapData, _arg3:int, _arg4:int):_-4tH
        {
            var k:IWindow;
            var k:int = 20;
            var k:int = ((_arg2) ? _arg2.width : k);
            var k:int = ((_arg2) ? _arg2.height : k);
            var k:IBitmapWrapperWindow = (this._-U-.create("ToolBarTransition", WindowType._-0HS, 0, 0, new Rectangle(_arg3, _arg4, k, k)) as IBitmapWrapperWindow);
            if (_arg2)
            {
                k.bitmap = _arg2;
                k._-30Z = true;
                k.filters = [new GlowFilter(0xFFFFFF, 1, 2, 2, 0xFF, BitmapFilterQuality.LOW, false, false)];
            };
            this._-U-.getDesktop(2).addChild(k);
            var k:String;
            switch (_arg1)
            {
                case HabboToolbarIconEnum.CATALOGUE:
                    k = "icons_toolbar_catalogue";
                    break;
                case HabboToolbarIconEnum.INVENTORY:
                    k = "icons_toolbar_inventory";
                    break;
                case HabboToolbarIconEnum.MEMENU:
                    k = "icons_toolbar_me_menu";
                    break;
                case HabboToolbarIconEnum.NAVIGATOR:
                    k = "icons_toolbar_navigator";
                    break;
                case HabboToolbarIconEnum.QUESTS:
                    k = "icons_toolbar_quests";
                    break;
                case HabboToolbarIconEnum.GAMES:
                    k = "icons_toolbar_games";
                    break;
                case HabboToolbarIconEnum.RECEPTION:
                    k = "icons_toolbar_reception";
                    break;
            };
            if (k != null)
            {
                k = this._-0xv.findChildByName(k);
            };
            if (!k)
            {
                k.dispose();
                return (null);
            };
            var k:Rectangle = new Rectangle();
            k.getGlobalRectangle(k);
            var k:Rectangle = new Rectangle();
            k.getGlobalRectangle(k);
            var k:int = (k.x - k.x);
            var k:int = (k.y - k.y);
            var k:Number = Math.sqrt(((k * k) + (k * k)));
            var k:int = (500 - Math.abs(((((1 / k) * 100) * 500) * 0.5)));
            var k:int = 20;
            var k = (("ToolBarBouncing[ " + k) + " ]");
            if (!Motions._-0CO(k))
            {
                Motions._-Pp(new Queue(new _-KT((k + 8)), new _-4lk(k, 400, 12))).tag = k;
            };
            var k:_-4tH = new Queue(new _-0Tg(new _-3NN(k, k, ((k.x - k.x) + k), (k.y - k.y), 100, 1), 1), new _-0pz(k));
            return (Motions._-Pp(k));
        }
        public function set _-in(_arg1:Boolean):void
        {
            this._-0xv.findChildByName("guide_icon").visible = _arg1;
        }

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb._-YA

package _-3vb
{
    import _-Ew.IWindowContainer;

    public interface _-YA 
    {

        function set visible(_arg1:Boolean):void;
        function get visible():Boolean;
        function get _-1Ls():uint;
        function _-408(_arg1:String, _arg2:IWindowContainer, _arg3:int=-1, _arg4:Array=null):void;
        function _-21z(_arg1:String):void;
        function _-2A2(_arg1:String):Boolean;
        function set extraMargin(_arg1:int):void;
        function get extraMargin():int;

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb.ExtensionView

package _-3vb
{
    import _-1ae.IItemListWindow;
    import _-18r.Map;
    import _-4pF._-3Ts;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-p-.Core;
    import _-295._-39L;
    import _-Ew.IWindow;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-3MI._-3mp;
    import flash.geom.Rectangle;

    public class ExtensionView implements _-YA 
    {

        private static const _-5H:int = 3;

        private var _-0a7:HabboToolbar;
        private var _-3VL:IItemListWindow;
        private var _-2ZH:Map;
        private var _disposed:Boolean = false;
        private var _-07j:Boolean = false;
        private var _-3gV:Array;
        private var _-U-:_-3Ts;
        private var _-0B6:int = 0;

        public function ExtensionView(_arg1:_-3Ts, _arg2:_-39L, _arg3:HabboToolbar)
        {
            this._-3gV = [];
            super();
            this._-0a7 = _arg3;
            this._-U- = _arg1;
            var k:_-243 = (_arg2.getAssetByName("extension_grid_xml") as _-243);
            if (k)
            {
                this._-3VL = (_arg1.buildFromXML((k.content as XML), 1) as IItemListWindow);
            };
            var k:IWindowContainer = this._-3VL.desktop;
            if (this._-3VL)
            {
                this._-3VL.x = (((k.width - this._-3VL.width) - _-5H) - this.extraMargin);
                this._-3VL.y = _-5H;
                this._-3VL.visible = true;
            }
            else
            {
                Core.error("Unable to initialize Toolbar Extension view window from xml asset", false);
            };
            this._-2ZH = new Map();
        }
        public function dispose():void
        {
            var k:Array;
            var k:String;
            if (!this._disposed)
            {
                k = this._-2ZH._-18C();
                for each (k in k)
                {
                    this._-21z(k);
                };
                if (this._-3VL)
                {
                    this._-3VL.dispose();
                    this._-3VL = null;
                };
                this._-3gV = null;
                this._-0a7 = null;
                this._-2ZH = null;
                this._disposed = true;
            };
        }
        public function get visible():Boolean
        {
            return (((this._-3VL) && (this._-3VL.visible)));
        }
        public function get _-1Ls():uint
        {
            if (!this._-3VL)
            {
                return (0);
            };
            return ((this._-3VL.height + this._-3VL.y));
        }
        public function _-408(_arg1:String, _arg2:IWindowContainer, _arg3:int=-1, _arg4:Array=null):void
        {
            if (!this._disposed)
            {
                if (this._-2ZH.getValue(_arg1))
                {
                    return;
                };
                this._-2ZH.add(_arg1, _arg2);
                k = (((_arg4)!=null) ? this._-0a5(_arg4) : _arg3);
                if (k == -1)
                {
                    this._-3gV.push(_arg2);
                }
                else
                {
                    this._-3gV.splice(k, 0, _arg2);
                };
                if (this._-3VL)
                {
                    this._-0a7._-4ZB(_arg2);
                    this._-1lR();
                };
                this._-0yN();
            };
        }
        public function _-2A2(_arg1:String):Boolean
        {
            return (!((this._-2ZH.getValue(_arg1) == null)));
        }
        private function _-1lR():void
        {
            var k:IWindow;
            var k:String;
            this._-3VL._-3mI();
            for each (k in this._-3gV)
            {
                k = this._-2ZH.getKey(this._-2ZH.indexOf(k));
                switch (k)
                {
                    case _-03X._-4Pt:
                    case _-03X._-1oX:
                    case _-03X._-34R:
                    case _-03X._-0h4:
                    case _-03X._-14W:
                        this._-3VL.addListItem(k);
                        break;
                    default:
                        if (!this._-07j)
                        {
                            this._-3VL.addListItem(k);
                        };
                };
            };
            this._-3VL.invalidate();
        }
        private function _-0a5(_arg1:Array):int
        {
            var k:int;
            while (k < this._-3gV.length)
            {
                if (_arg1.indexOf(this._-3gV[k].name) > -1)
                {
                    return (k);
                };
                k++;
            };
            return (-1);
        }
        public function _-21z(_arg1:String):void
        {
            var k:IWindowContainer;
            if (!this._disposed)
            {
                k = this._-2ZH[_arg1];
                if (k != null)
                {
                    this._-3gV.splice(this._-3gV.indexOf(k), 1);
                    if (this._-3VL)
                    {
                        this._-0a7._-2dq(k);
                        this._-1lR();
                    };
                };
                this._-2ZH.remove(_arg1);
                this._-0yN();
            };
        }
        private function _-0yN():void
        {
            var k:Timer = new Timer(25, 1);
            k.addEventListener(TimerEvent.TIMER_COMPLETE, this._-2VZ);
            k.start();
        }
        private function _-2VZ(_arg1:TimerEvent):void
        {
            if (this._-0a7)
            {
                this._-0a7.events.dispatchEvent(new _-3mp(_-3mp._-2Ft));
            };
        }
        public function set visible(_arg1:Boolean):void
        {
            if (this._-3VL)
            {
                this._-3VL.visible = _arg1;
            };
        }
        public function _-0dK():void
        {
            var k:IWindowContainer;
            for each (k in this._-3gV)
            {
                this._-0a7._-2dq(k);
            };
        }
        public function _-mJ(_arg1:String):Rectangle
        {
            var k:IWindow;
            var k:Rectangle;
            switch (_arg1)
            {
                case HabboToolbarIconEnum.EXT_GROUP:
                    k = (this._-2ZH["room_group_info"] as IWindow);
                    break;
            };
            if (((!((k == null))) && (k.visible)))
            {
                k = new Rectangle();
                k.getGlobalRectangle(k);
                return (k);
            };
            return (null);
        }
        public function get landingView():Boolean
        {
            return (this._-07j);
        }
        public function set landingView(_arg1:Boolean):void
        {
            this._-07j = _arg1;
            this._-1lR();
        }
        public function set extraMargin(_arg1:int):void
        {
            this._-0B6 = _arg1;
            if (this._-3VL)
            {
                this._-3VL.x = (((this._-3VL.desktop.width - this._-3VL.width) - _-5H) - this.extraMargin);
            };
        }
        public function get extraMargin():int
        {
            return (this._-0B6);
        }

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb.HabboToolbar

package _-3vb
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-4Wu._-4uR;
    import _-295._-39L;
    import _-1IX._-2w5;
    import _-2np._-1ZV;
    import _-0mD._-2Jq;
    import _-2W2._-4L8;
    import _-1am.PurseExtension;
    import _-1IX._-2Tp;
    import _-1IX._-1CG;
    import _-1IX._-4sT;
    import _-1IX._-2Bn;
    import _-1IX._-1v-;
    import _-1IX._-1gq;
    import _-uF.ICoreLocalizationManager;
    import _-3Zp._-1bw;
    import _-mv._-54I;
    import _-1Jd._-51K;
    import _-0jj._-0QY;
    import flash.utils.Timer;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDCoreLocalizationManager;
    import com.sulake.iid.IIDHabboInventory;
    import com.sulake.iid.IIDHabboSoundManager;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboHelp;
    import com.sulake.iid.IIDHabboMessenger;
    import _-1B-._-5CE;
    import _-4Kf._-2pC;
    import _-4WI.HabboUnseenItemsUpdatedEvent;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1HK._-4Pw;
    import _-1Q8._-567;
    import _-1HK._-2Xf;
    import _-4Aj._-0tL;
    import _-Co._-4SS;
    import _-Ew.IWindowContainer;
    import flash.events.TimerEvent;
    import _-2or._-31I;
    import _-0y0._-AY;
    import _-Ew.IWindow;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-3MI._-0Sy;
    import _-2p5._-2ka;
    import flash.display.BitmapData;
    import _-3nP._-4tH;
    import _-3cY._-2Jr;

    public class HabboToolbar extends _-Px implements _-3b 
    {

        private var _-U-:_-3Ts;
        private var _-478:_-4BJ;
        private var _-0Xx:_-4uR;
        private var _-Ke:_-3sv;
        private var _-AV:_-39L;
        private var _-rY:Boolean;
        private var _-2O5:_-2w5;
        private var _-51u:_-1ZV;
        private var _-3oJ:_-2Jq;
        private var _-4Qe:_-4L8;
        private var _-3A6:PurseExtension;
        private var _-4ep:_-2Tp;
        private var _-4ZV:_-1CG;
        private var _-1Ch:_-4sT;
        private var _-2-m:_-2Bn;
        private var _-3fK:_-1v-;
        private var _-JO:_-1gq;
        private var _-cU:ICoreLocalizationManager;
        private var _-YX:_-1bw;
        private var _-HY:ExtensionView;
        private var _-42G:_-54I;
        private var _-0pW:_-51K;
        private var _-Je:_-0QY;
        private var _-41B:Timer;
        private var _-0Cw:Timer;
        private var _-0fX:Timer;

        public function HabboToolbar(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            lock();
            this._-AV = _arg3;
            queueInterface(new IIDHabboCommunicationManager(), this._-35Q);
            queueInterface(new IIDHabboConfigurationManager(), this._-nh);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDCoreLocalizationManager(), this._-1i2);
            queueInterface(new IIDHabboInventory(), this._-3SD);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboHelp(), this._-04o);
            queueInterface(new IIDHabboMessenger(), this._-1ez);
        }
        override public function dispose():void
        {
            this._-rY = false;
            this._-51u = null;
            this._-3p8();
            this._-Tu();
            this._-56L();
            if (this._-HY)
            {
                this._-HY.dispose();
                this._-HY = null;
            };
            if (this._-4ep)
            {
                this._-4ep.dispose();
                this._-4ep = null;
            };
            if (this._-4ZV)
            {
                this._-4ZV.dispose();
                this._-4ZV = null;
            };
            if (this._-1Ch)
            {
                this._-1Ch.dispose();
                this._-1Ch = null;
            };
            if (this._-3fK)
            {
                this._-3fK.dispose();
                this._-3fK = null;
            };
            if (this._-3A6)
            {
                this._-3A6.dispose();
                this._-3A6 = null;
            };
            if (this._-2O5)
            {
                this._-2O5.dispose();
                this._-2O5 = null;
            };
            if (this._-JO)
            {
                this._-JO.dispose();
                this._-JO = null;
            };
            if (this._-Je != null)
            {
                this._-Je.release(new IIDHabboHelp());
                this._-Je = null;
            };
            if (this._-0pW)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-42G)
            {
                this._-42G.release(new IIDHabboSoundManager());
                this._-42G = null;
            };
            if (this._-478)
            {
                this._-478.release(new IIDHabboCommunicationManager());
                this._-478 = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-0Xx)
            {
                this._-0Xx.release(new IIDHabboConfigurationManager());
                this._-0Xx = null;
            };
            if (this._-3oJ != null)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-4Qe != null)
            {
                if (this._-4Qe.events)
                {
                    this._-4Qe.events.removeEventListener(_-2pC._-58d, this._-3O1);
                    this._-4Qe.events.removeEventListener(_-2pC._-uG, this._-3O1);
                };
                this._-4Qe.release(new IIDHabboMessenger());
                this._-4Qe = null;
            };
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            if (this._-YX)
            {
                if (this._-YX.events)
                {
                    this._-YX.events.removeEventListener(HabboUnseenItemsUpdatedEvent._-2bC, this._-2uz);
                };
                this._-YX.release(new IIDHabboInventory());
                this._-YX = null;
            };
            if (this._-2-m)
            {
                this._-2-m.dispose();
                this._-2-m = null;
            };
            super.dispose();
        }
        private function _-35Q(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-478 = _-4BJ(_arg2);
            this._-51u = this._-478._-4gR(null);
            this.tryInitialize();
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = _-3Ts(_arg2);
            this.tryInitialize();
        }
        private function _-nh(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0Xx = _-4uR(_arg2);
            this.tryInitialize();
        }
        private function _-1i2(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-cU = ICoreLocalizationManager(_arg2);
            this.tryInitialize();
        }
        private function _-3SD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-YX = _-1bw(_arg2);
            this.tryInitialize();
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = (_arg2 as _-2Jq);
            this.tryInitialize();
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-42G = (_arg2 as _-54I);
            this.tryInitialize();
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0pW = (_arg2 as _-51K);
            this.tryInitialize();
        }
        private function _-04o(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Je = (_arg2 as _-0QY);
        }
        private function _-1ez(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-4Qe = (_arg2 as _-4L8);
        }
        private function tryInitialize():void
        {
            if (((((((((((((((((((this._-478) && (this._-U-))) && (this._-0Xx))) && (this._-cU))) && (this._-YX))) && (this._-3oJ))) && (this._-42G))) && (this._-0pW))) && (this._-Je))) && (this._-4Qe)))
            {
                this._-478.addHabboConnectionMessageEvent(new _-4Pw(this._-4sK));
                this._-478.addHabboConnectionMessageEvent(new _-567(this._-0TW));
                this._-478.addHabboConnectionMessageEvent(new _-2Xf(this._-4tb));
                unlock();
                this._-4Qe.events.addEventListener(_-2pC._-58d, this._-3O1);
                this._-4Qe.events.addEventListener(_-2pC._-uG, this._-3O1);
                this._-2-m = new _-2Bn(this);
                this._-YX.events.addEventListener(HabboUnseenItemsUpdatedEvent._-2bC, this._-2uz);
            };
        }
        private function _-4tb(_arg1:_-0tL):void
        {
            if (!this._-3fK)
            {
                this._-3XA();
            };
        }
        private function _-0TW(_arg1:_-0tL):void
        {
            var k:_-4SS = _-567(_arg1)._-3-5();
            if (k.owner)
            {
                this._-56L();
            };
            if (this._-2O5)
            {
                this._-2O5._-5De(k._-Jj);
            };
        }
        private function _-4sK(_arg1:_-0tL):void
        {
            var k:int;
            var k:int;
            this._-Ke = new _-3sv(this, this._-U-, this._-AV, this._-51u, this._-3oJ, events, this._-0Xx);
            this._-1fZ();
            this._-HY = new ExtensionView(this._-U-, this._-AV, this);
            if (this._-HY)
            {
                this._-0Mv();
                this._-1Qm();
                this._-59v();
                this._-3XA();
                this._-2mH();
                this._-3A6 = new PurseExtension(this._-U-, this._-AV, this._-0Xx, this._-3oJ, this._-YX, this._-cU);
                this._-2O5 = new _-2w5(this, this._-U-, this._-AV, events, this._-0Xx);
                this._-HY._-408(_-03X._-4Pt, IWindowContainer(this._-3A6.window), _-34g._-311);
                this._-HY._-408(_-03X._-1oX, IWindowContainer(this._-2O5.window), _-34g._-0Uv);
            };
            if (this._-Ke == null)
            {
                _-Nb.log("Error, toolbar view was not available");
                return;
            };
            var k:String = this._-0Xx.getKey("new.user.wing", "");
            if (k != "")
            {
                k = (parseInt(this._-0Xx.getKey("new.user.promo.delay", "10")) * 1000);
                if ((((k > 0)) && ((this._-0Cw == null))))
                {
                    this._-0Cw = new Timer(k, 1);
                    this._-0Cw.addEventListener(TimerEvent.TIMER_COMPLETE, this._-0KZ);
                    this._-0Cw.start();
                };
                if ((((((((k == _-3-C._-dG)) || ((k == _-3-C._-2QA)))) || ((k == _-3-C._-3nz)))) || ((k == _-3-C._-N2))))
                {
                    k = (parseInt(this._-0Xx.getKey("new.user.promo.room.delay", "180")) * 1000);
                    if ((((k > 0)) && ((this._-0fX == null))))
                    {
                        this._-0fX = new Timer(k, 1);
                        this._-0fX.addEventListener(TimerEvent.TIMER_COMPLETE, this._-0XN);
                        this._-0fX.start();
                    };
                };
            };
            this._-4pw(_-1Ix._-Zz);
            this._-rY = true;
        }
        private function _-0KZ(_arg1:TimerEvent):void
        {
            var k:String;
            var k:String;
            this._-3p8();
            var k:String = this._-0Xx.getKey("new.user.wing", "");
            var k:int = _-31I.LEFT;
            var k:String;
            switch (k)
            {
                case _-3-C._-dG:
                    k = "new.user.promo.social";
                    k = HabboToolbarIconEnum.NAVIGATOR;
                    k = "NAVIGATOR";
                    break;
                case _-3-C._-3nz:
                    k = "new.user.promo.group";
                    k = HabboToolbarIconEnum.EXT_GROUP;
                    k = _-31I.RIGHT;
                    break;
                case _-3-C._-2QA:
                    k = "new.user.promo.quest";
                    k = HabboToolbarIconEnum.QUESTS;
                    k = "QUESTS";
                    break;
                case _-3-C._-N2:
                    k = "new.user.promo.game";
                    k = HabboToolbarIconEnum.GAMES;
                    k = "GAMES";
                    break;
                default:
                    return;
            };
            if (this._-mJ(k) != null)
            {
                this._-Je._-2J2(k, k, k, k);
            };
        }
        private function _-0XN(_arg1:TimerEvent):void
        {
            this._-56L();
            this._-Je._-2J2(HabboToolbarIconEnum.NAVIGATOR, "new.user.promo.room", _-31I.LEFT, "NAVIGATOR_ME_TAB");
        }
        private function _-1fZ():void
        {
            var k:int;
            var k:int;
            if (!this._-0Xx.getBoolean("new.identity", false))
            {
                return;
            };
            if (this._-0Xx.getBoolean("room.enter.effect.enabled", false))
            {
                k = parseInt(this._-0Xx.getKey("room.enter.effect.delay", "4000"));
                k = parseInt(this._-0Xx.getKey("room.enter.effect.duration", "2000"));
                _-AY.init(k, k);
                this._-4ZB(IWindowContainer(this._-Ke.window));
                if (this._-41B == null)
                {
                    this._-41B = new Timer((k + k), 1);
                    this._-41B.addEventListener(TimerEvent.TIMER_COMPLETE, this._-32k);
                    this._-41B.start();
                };
            };
        }
        private function _-0Mv():void
        {
            if (this._-0Xx.getBoolean("club.membership.extend.vip.promotion.enabled", false))
            {
                this._-4ep = new _-2Tp(this, this._-U-, this._-AV, events, this._-0Xx, this._-cU, this._-YX, this._-3oJ, this._-51u);
            };
        }
        private function _-59v():void
        {
            if (this._-0Xx.getBoolean("citizenship.vip.quest.promotion.enabled", false))
            {
                this._-4ZV = new _-1CG(this, this._-U-, this._-AV, events, this._-0Xx, this._-cU, this._-51u);
            };
        }
        private function _-1Qm():void
        {
            if (this._-0Xx.getBoolean("club.membership.extend.vip.promotion.enabled", false))
            {
                this._-1Ch = new _-4sT(this, this._-U-, this._-AV, events, this._-0Xx, this._-cU, this._-YX, this._-3oJ, this._-51u);
            };
        }
        private function _-3XA():void
        {
            if (((this._-3oJ._-33Q.enabled) && (this._-0Xx.getBoolean("toolbar.extension.video.promo.enabled", false))))
            {
                this._-3fK = new _-1v-(this, this._-U-, this._-AV, events, this._-0Xx, this._-cU, this._-YX, this._-3oJ, this._-51u);
            };
        }
        private function _-2mH():void
        {
        }
        private function _-32k(_arg1:TimerEvent):void
        {
            this._-Tu();
            if (this._-Ke)
            {
                this._-2dq((this._-Ke.window as IWindowContainer));
            };
            if (this._-HY)
            {
                this._-HY._-0dK();
            };
        }
        public function _-4ZB(_arg1:IWindowContainer):void
        {
            var k:IWindow;
            if (_-AY._-4Bs())
            {
                if (_arg1 == null)
                {
                    return;
                };
                k = this._-U-.createWindow(_-03X._-gC, "", _-4Pi._-3cp, _-29z._-4od, ((_-3hb._-2jp | _-3hb._-2P7) | _-3hb._-0g6), new Rectangle(0, 0, _arg1.width, _arg1.height), null, 0);
                k.color = 0;
                k.blend = 0.3;
                _arg1.addChild(k);
                _arg1.invalidate();
            };
        }
        public function _-2dq(_arg1:IWindowContainer):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:IWindow = _arg1.findChildByName("toolbar_dimmer");
            if (k != null)
            {
                _arg1.removeChild(k);
                _arg1.invalidate();
                this._-U-.destroy(k);
            };
        }
        public function toggleWindowVisibility(_arg1:String):void
        {
            var k:String = HabboToolbarIconEnum[_arg1];
            var k:_-0Sy = new _-0Sy(_-0Sy._-40N);
            k._-1wJ = k;
            k._-1wc = _arg1;
            events.dispatchEvent(k);
            var k:_-2ka = new _-2ka("Toolbar", _arg1, "client.toolbar.clicked");
            if (this._-51u)
            {
                this._-51u.send(k);
            };
        }
        public function _-mJ(_arg1:String):Rectangle
        {
            if (_arg1 == HabboToolbarIconEnum.EXT_GROUP)
            {
                return (this._-HY._-mJ(_arg1));
            };
            return (this._-Ke._-mJ(_arg1));
        }
        public function _-0dM(_arg1:String, _arg2:int):void
        {
            this._-Ke._-0dM(_arg1, _arg2);
        }
        public function _-4pw(_arg1:String):void
        {
            switch (_arg1)
            {
                case _-1Ix._-Zz:
                case _-1Ix._-0l3:
                    this._-d-();
                    this._-3WD(true);
                    break;
                case _-1Ix._-0E8:
                    this._-3WD(true);
                    break;
                case _-1Ix._-1us:
                    this._-3WD(false);
                    break;
            };
            if (this._-HY != null)
            {
                this._-HY.landingView = (_arg1 == _-1Ix._-Zz);
            };
            if (this._-Ke)
            {
                this._-Ke._-4pw(_arg1);
            };
            if (this._-Je != null)
            {
                this._-Je._-44E = !((_arg1 == _-1Ix._-0E8));
            };
            var k:_-0Sy = new _-0Sy(_-0Sy._-Wv);
            events.dispatchEvent(k);
        }
        private function _-3WD(_arg1:Boolean):void
        {
            if (this._-HY)
            {
                this._-HY.visible = _arg1;
            };
        }
        private function _-d-():void
        {
            if (this._-2O5)
            {
                this._-2O5._-2A6();
            };
        }
        public function _-3rs(_arg1:String, _arg2:BitmapData):void
        {
            if (this._-Ke)
            {
                this._-Ke._-3rs(_arg1, _arg2);
            };
        }
        public function getRect():Rectangle
        {
            if (this._-Ke)
            {
                return (this._-Ke.window.rectangle);
            };
            return (new Rectangle());
        }
        public function get extensionView():_-YA
        {
            return (this._-HY);
        }
        public function get _-0Y():_-54I
        {
            return (this._-42G);
        }
        public function _-0jv(_arg1:String, _arg2:BitmapData, _arg3:int, _arg4:int):_-4tH
        {
            if (((this._-Ke) && (!(this._-Ke.disposed))))
            {
                return (this._-Ke._-3lX(_arg1, _arg2, _arg3, _arg4));
            };
            _arg2.dispose();
            return (null);
        }
        public function _-Nj():Boolean
        {
            return (this._-0Xx.getBoolean("xmas11.enabled", false));
        }
        public function _-l4():Boolean
        {
            return (this._-0Xx.getBoolean("valentines.enabled", false));
        }
        public function _-0ls():Boolean
        {
            return (this._-0Xx.getBoolean("minimail.landing_view.enabled", false));
        }
        public function _-0zG():Boolean
        {
            return (this._-0Xx.getBoolean("landing.view.enabled", false));
        }
        public function _-2FA(_arg1:String, _arg2:Boolean):void
        {
            this._-Ke._-1TA(_arg1, _arg2);
        }
        private function _-Tu():void
        {
            if (this._-41B)
            {
                this._-41B.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-32k);
                this._-41B.stop();
                this._-41B = null;
            };
        }
        private function _-3p8():void
        {
            if (this._-0Cw)
            {
                this._-0Cw.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-0KZ);
                this._-0Cw.stop();
                this._-0Cw = null;
            };
        }
        private function _-56L():void
        {
            if (this._-0fX)
            {
                this._-0fX.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-0XN);
                this._-0fX.stop();
                this._-0fX = null;
            };
        }
        private function _-3O1(_arg1:_-2pC):void
        {
            this._-0dM(HabboToolbarIconEnum.MEMENU, this._-4Qe.getUnseenMiniMailMessageCount());
            this._-0dM(HabboToolbarIconEnum.MINIMAIL, this._-4Qe.getUnseenMiniMailMessageCount());
        }
        public function set _-in(_arg1:Boolean):void
        {
            if (this._-Ke != null)
            {
                this._-Ke._-in = _arg1;
            };
        }
        private function _-2uz(_arg1:HabboUnseenItemsUpdatedEvent):void
        {
            this._-0dM(HabboToolbarIconEnum.INVENTORY, _arg1._-2B1);
            this._-0dM(HabboToolbarIconEnum.GAMES, _arg1._-1TW(_-2Jr.GAMES));
        }

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vb.HabboToolbarIconEnum

package _-3vb
{
    import flash.utils.Dictionary;

    public class HabboToolbarIconEnum 
    {

        public static const HELP:String = "HTIE_ICON_HELP";
        public static const NAVIGATOR:String = "HTIE_ICON_NAVIGATOR";
        public static const CATALOGUE:String = "HTIE_ICON_CATALOGUE";
        public static const INVENTORY:String = "HTIE_ICON_INVENTORY";
        public static const QUESTS:String = "HTIE_ICON_QUESTS";
        public static const ACHIEVEMENTS:String = "HTIE_ICON_ACHIEVEMENTS";
        public static const MEMENU:String = "HTIE_ICON_MEMENU";
        public static const GAMES:String = "HTIE_ICON_GAMES";
        public static const RECEPTION:String = "HTIE_ICON_RECEPTION";
        public static const MINIMAIL:String = "HTIE_ICON_MINIMAIL";
        public static const GUIDE:String = "HTIE_ICON_GUIDE";
        public static const PANIC:String = "HTIE_ICON_PANIC";
        public static const ROOMINFO:String = "HTIE_ICON_ROOMINFO";
        public static const EXT_GROUP:String = "HTIE_EXT_GROUP";
        public static const NAVIGATOR_ME_TAB:String = "HTIE_ICON_NAVIGATOR_ME_TAB";
        private static const _TOOLBAR_NAMES:Dictionary = new Dictionary();

        {
            _TOOLBAR_NAMES[HELP] = "HELP";
            _TOOLBAR_NAMES[NAVIGATOR] = "NAVIGATOR";
            _TOOLBAR_NAMES[CATALOGUE] = "CATALOGUE";
            _TOOLBAR_NAMES[INVENTORY] = "INVENTORY";
            _TOOLBAR_NAMES[QUESTS] = "QUESTS";
            _TOOLBAR_NAMES[ACHIEVEMENTS] = "ACHIEVEMENTS";
            _TOOLBAR_NAMES[MEMENU] = "MEMENU";
            _TOOLBAR_NAMES[GAMES] = "GAMES";
            _TOOLBAR_NAMES[RECEPTION] = "RECEPTION";
            _TOOLBAR_NAMES[MINIMAIL] = "MINIMAIL";
            _TOOLBAR_NAMES[GUIDE] = "GUIDE";
            _TOOLBAR_NAMES[PANIC] = "PANIC";
        }
        public static function getIconName(_arg1:String):String
        {
            return (_TOOLBAR_NAMES[_arg1]);
        }

    }
}//package _-3vb

//------------------------------------------------------------
//_-3vB._-27J

package _-3vB
{
    import _-4Aj._-7V;
    import _-4iW._-02W;

    public class _-27J extends _-7V 
    {

        public function _-27J(_arg1:Function)
        {
            super(_arg1, _-02W);
        }
        public function _-3-5():_-02W
        {
            return ((_-515 as _-02W));
        }

    }
}//package _-3vB

//------------------------------------------------------------
//_-3vB._-3v6

package _-3vB
{
    import _-4Aj._-7V;
    import _-4iW._-1Dk;

    public class _-3v6 extends _-7V 
    {

        public function _-3v6(_arg1:Function)
        {
            super(_arg1, _-1Dk);
        }
        public function _-3-5():_-1Dk
        {
            return ((_-515 as _-1Dk));
        }

    }
}//package _-3vB

//------------------------------------------------------------
//_-3vB._-4hu

package _-3vB
{
    import _-4Aj._-7V;
    import _-4iW._-08k;

    public class _-4hu extends _-7V 
    {

        public function _-4hu(_arg1:Function)
        {
            super(_arg1, _-08k);
        }
        public function _-3-5():_-08k
        {
            return ((_-515 as _-08k));
        }

    }
}//package _-3vB

//------------------------------------------------------------
//_-3wI._-0Uf

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Uf implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0Kq:int;
        private var _-8R:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get status():int
        {
            return (this._-8R);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-0Kq = -1;
            this._-8R = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0Kq = _arg1._-2BW();
            this._-8R = _arg1._-2BW();
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-1L1

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1L1 implements _-58N 
    {

        private var _-8k:int;
        private var _location:String;

        public function get itemId():int
        {
            return (this._-8k);
        }
        public function get location():String
        {
            return (this._location);
        }
        public function flush():Boolean
        {
            this._-8k = -1;
            this._location = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-8k = _arg1._-2BW();
            this._location = _arg1.readString();
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-2EX

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2EX implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-44i:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-44i = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-3Bv

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3Bv implements _-58N 
    {

        private var _-1Rt:int;
        private var _-14l:String;
        private var _-F0:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function get _-4Vw():int
        {
            return (this._-F0);
        }
        public function flush():Boolean
        {
            this._-1Rt = -1;
            this._-14l = "";
            this._-F0 = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Rt = _arg1._-2BW();
            this._-14l = _arg1.readString();
            this._-F0 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-3zU

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3zU implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-53-:String;
        private var _-0xc:int;
        private var _-03u:String;
        private var _-Q3:int;
        private var _-uf:String;
        private var _-Y6:Boolean;
        private var _-3bN:String;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-15x():String
        {
            return (this._-53-);
        }
        public function get _-YT():int
        {
            return (this._-0xc);
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get _-17T():int
        {
            return (this._-Q3);
        }
        public function get _-eZ():String
        {
            return (this._-uf);
        }
        public function get _-3dZ():Boolean
        {
            return (this._-Y6);
        }
        public function get _-uc():String
        {
            return (this._-3bN);
        }
        public function flush():Boolean
        {
            this._-53- = "";
            this._-0xc = 0;
            this._-03u = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-53- = _arg1.readString();
            this._-0xc = _arg1._-2BW();
            this._-03u = _arg1.readString();
            this._-Q3 = _arg1._-2BW();
            this._-uf = _arg1.readString();
            this._-Y6 = _arg1.readBoolean();
            this._-3bN = _arg1.readString();
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-40Q

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-40Q implements _-58N 
    {

        private var _-1iK:String;
        private var _-4rQ:Boolean;
        private var _-3GV:Boolean;
        private var _-1Rh:int;
        private var _-ik:Boolean;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1iK = _arg1.readString();
            this._-4rQ = _arg1.readBoolean();
            this._-3GV = _arg1.readBoolean();
            this._-1Rh = _arg1._-2BW();
            this._-ik = _arg1.readBoolean();
            return (true);
        }
        public function get _-1bd():Boolean
        {
            return (this._-ik);
        }
        public function get email():String
        {
            return (this._-1iK);
        }
        public function get _-0KL():Boolean
        {
            return (this._-4rQ);
        }
        public function get _-W6():Boolean
        {
            return (this._-3GV);
        }
        public function get _-4Jh():int
        {
            return (this._-1Rh);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-426

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-426 implements _-58N 
    {

        private var _-44i:int = 0;
        private var _-4gl:int = 0;
        private var _-2dL:String = null;

        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get nameValidationStatus():int
        {
            return (this._-4gl);
        }
        public function get nameValidationInfo():String
        {
            return (this._-2dL);
        }
        public function flush():Boolean
        {
            this._-44i = 0;
            this._-4gl = 0;
            this._-2dL = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-44i = _arg1._-2BW();
            this._-4gl = _arg1._-2BW();
            this._-2dL = _arg1.readString();
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-442

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-442 implements _-58N 
    {

        private var _-0Nf:int = 0;

        public function get code():int
        {
            return (this._-0Nf);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0Nf = _arg1._-2BW();
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-4-n

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4-n implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-44i:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-44i = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-4PJ

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4PJ implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0Kq:int;
        private var _-3lK:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get value():int
        {
            return (this._-3lK);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-0Kq = -1;
            this._-3lK = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0Kq = _arg1._-2BW();
            this._-3lK = _arg1._-2BW();
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-4v5

package _-3wI
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4v5 implements _-58N 
    {

        private var _-44i:int;
        private var _-0qe:int;
        private var _-tC:String;
        private var _-0sy:int;
        private var _-3H0:Boolean;

        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-2Jo():int
        {
            return (this._-0qe);
        }
        public function get _-3L2():String
        {
            return (this._-tC);
        }
        public function get _-1Zg():int
        {
            return (this._-0sy);
        }
        public function get _-2RE():Boolean
        {
            return (this._-3H0);
        }
        public function flush():Boolean
        {
            this._-44i = -1;
            this._-0qe = -1;
            this._-tC = "";
            this._-0sy = -1;
            this._-3H0 = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-44i = _arg1._-2BW();
            this._-0qe = _arg1._-2BW();
            this._-tC = _arg1.readString();
            this._-0sy = _arg1._-2BW();
            this._-3H0 = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI._-t4

package _-3wI
{
    import _-Os.PetFigureData;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-t4 implements _-58N 
    {

        private var _-44i:int = -1;
        private var _-dS:PetFigureData;

        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get figureData():PetFigureData
        {
            return (this._-dS);
        }
        public function flush():Boolean
        {
            this._-44i = -1;
            this._-dS = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-44i = _arg1._-2BW();
            this._-dS = new PetFigureData(_arg1);
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wI.RoomDimmerPresetsMessageParser

package _-3wI
{
    import _-1LV._-2KW;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class RoomDimmerPresetsMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-39n:int = 0;
        private var _-0HN:Array;

        public function RoomDimmerPresetsMessageParser()
        {
            this._-0HN = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-Mr():int
        {
            return (this._-0HN.length);
        }
        public function get _-39D():int
        {
            return (this._-39n);
        }
        public function _-1I7(_arg1:int):_-2KW
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-Mr))))
            {
                return (null);
            };
            return (this._-0HN[_arg1]);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-0HN = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            var k:_-2KW;
            var k:int = _arg1._-2BW();
            this._-39n = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = parseInt(k.substr(1), 16);
                k = _arg1._-2BW();
                k = new _-2KW(k);
                k.type = k;
                k.color = k;
                k._-IP = k;
                k._-3nQ();
                this._-0HN.push(k);
                k++;
            };
            return (true);
        }

    }
}//package _-3wI

//------------------------------------------------------------
//_-3wJ._-0yc

package _-3wJ
{
    import _-4Aj.*;

    public class _-0yc implements _-1oF 
    {

        private var _-4lu:int;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-0yc(_arg1:int, _arg2:int=0, _arg3:int=0)
        {
            this._-4lu = _arg1;
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4lu]);
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ._-1J-

package _-3wJ
{
    import _-4Aj.*;

    public class _-1J- implements _-1oF 
    {

        private var _-4lu:int;
        private var _-1Rt:int = 0;
        private var _-1MK:String;

        public function _-1J-(_arg1:int, _arg2:String, _arg3:int=0)
        {
            this._-4lu = _arg1;
            this._-1Rt = _arg3;
            this._-1MK = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4lu, this._-1Rt, this._-1MK]);
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ._-2Ju

package _-3wJ
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2Ju implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-2Ju(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ._-4CM

package _-3wJ
{
    import _-4Aj.*;

    public class _-4CM implements _-1oF 
    {

        private var _-2md:Array;

        public function _-4CM(_arg1:String, _arg2:Boolean, _arg3:int=0, _arg4:int=0)
        {
            this._-2md = [_arg1, _arg2];
        }
        public function dispose():void
        {
            this._-2md = null;
        }
        public function _-43Z():Array
        {
            return (this._-2md);
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ._-4cp

package _-3wJ
{
    import _-4Aj.*;

    public class _-4cp implements _-1oF 
    {

        private var _-4Nw:Array;

        public function _-4cp(_arg1:int, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ._-4Nx

package _-3wJ
{
    import _-4Aj.*;

    public class _-4Nx implements _-1oF 
    {

        private var _-4lu:int;
        private var _-1Rt:int = 0;
        private var _-4tB:int;

        public function _-4Nx(_arg1:int, _arg2:int, _arg3:int=0)
        {
            this._-4lu = _arg1;
            this._-1Rt = _arg3;
            this._-4tB = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4lu, this._-1Rt, this._-4tB]);
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ._-4sS

package _-3wJ
{
    import _-4Aj.*;

    public class _-4sS implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ._-bA

package _-3wJ
{
    import _-4Aj.*;

    public class _-bA implements _-1oF 
    {

        private var _-4lu:int;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-bA(_arg1:int, _arg2:int=0, _arg3:int=0)
        {
            this._-4lu = _arg1;
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4lu]);
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ._-xM

package _-3wJ
{
    import _-4Aj.*;

    public class _-xM implements _-1oF 
    {

        private var _-4lu:int;

        public function _-xM(_arg1:int)
        {
            this._-4lu = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4lu]);
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wJ.RemoveRightsMessageComposer

package _-3wJ
{
    import _-1B-.*;
    import _-4Aj.*;

    public class RemoveRightsMessageComposer implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function RemoveRightsMessageComposer(_arg1:Array)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1.length);
            var k:int;
            while (k < _arg1.length)
            {
                this._-4Nw.push(_arg1[k]);
                k++;
            };
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3wJ

//------------------------------------------------------------
//_-3wm._-1mY

package _-3wm
{
    import _-0Z1._-4wI;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1mY implements _-58N 
    {

        private var _-4RU:_-4wI;
        private var _-3Th:_-4wI;

        public function get class():_-4wI
        {
            return (this._-4RU);
        }
        public function get _-0GL():_-4wI
        {
            return (this._-3Th);
        }
        public function flush():Boolean
        {
            return (true);
        }
        private function _-2wq(_arg1:_-0s1):_-4wI
        {
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:Boolean = _arg1.readBoolean();
            return (new _-4wI(k, k, k, k, k, k, k));
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4RU = this._-2wq(_arg1);
            this._-3Th = this._-2wq(_arg1);
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3wm._-1zA

package _-3wm
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1zA implements _-58N 
    {

        private var _-b:int;
        private var _name:String;
        private var _-55e:int;
        private var _-1ER:int;
        private var _-Up:int;
        private var _-30x:int;
        private var _-3FW:int;
        private var _-1nY:int;
        private var _-4ba:int;
        private var _-2VG:int;
        private var _-G5:int;
        private var _-2U6:int;
        private var _-237:String;
        private var _-4tD:int;
        private var _-1EN:int;
        private var _-0Rn:Boolean;
        private var _-2uo:Boolean;
        private var _-us:Boolean;
        private var _-4PY:Boolean;
        private var _-27p:Boolean;
        private var _-2S6:int;
        private var _-1Sx:int;
        private var _-3r-:int;
        private var _-10S:Array;
        private var _-1BS:int;
        private var _-1KD:int;
        private var _-2Yx:Boolean;

        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get _-3uj():int
        {
            return (this._-1ER);
        }
        public function get experience():int
        {
            return (this._-Up);
        }
        public function get energy():int
        {
            return (this._-30x);
        }
        public function get _-4Z1():int
        {
            return (this._-3FW);
        }
        public function get _-2Lg():int
        {
            return (this._-1nY);
        }
        public function get _-43L():int
        {
            return (this._-4ba);
        }
        public function get _-26r():int
        {
            return (this._-2VG);
        }
        public function get respect():int
        {
            return (this._-G5);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get age():int
        {
            return (this._-4tD);
        }
        public function get _-0qy():int
        {
            return (this._-1EN);
        }
        public function get _-2U8():Boolean
        {
            return (this._-0Rn);
        }
        public function get _-0mh():Boolean
        {
            return (this._-2uo);
        }
        public function get _-4a2():Boolean
        {
            return (this._-us);
        }
        public function get _-02Z():Boolean
        {
            return (this._-4PY);
        }
        public function get _-2gH():Boolean
        {
            return (this._-27p);
        }
        public function get _-0E2():int
        {
            return (this._-2S6);
        }
        public function get _-0Ez():int
        {
            return (this._-1Sx);
        }
        public function get _-35w():int
        {
            return (this._-3r-);
        }
        public function get _-2YM():Array
        {
            return (this._-10S);
        }
        public function get _-3fV():int
        {
            return (this._-1BS);
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }
        public function flush():Boolean
        {
            this._-b = -1;
            this._-10S = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-b = _arg1._-2BW();
            this._name = _arg1.readString();
            this._-55e = _arg1._-2BW();
            this._-1ER = _arg1._-2BW();
            this._-Up = _arg1._-2BW();
            this._-1nY = _arg1._-2BW();
            this._-30x = _arg1._-2BW();
            this._-4ba = _arg1._-2BW();
            this._-3FW = _arg1._-2BW();
            this._-2VG = _arg1._-2BW();
            this._-G5 = _arg1._-2BW();
            this._-2U6 = _arg1._-2BW();
            this._-4tD = _arg1._-2BW();
            this._-237 = _arg1.readString();
            this._-1EN = _arg1._-2BW();
            this._-0Rn = _arg1.readBoolean();
            this._-2uo = _arg1.readBoolean();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-10S.push(_arg1._-2BW());
                k++;
            };
            this._-10S.sort(Array.NUMERIC);
            this._-1BS = _arg1._-2BW();
            this._-us = _arg1.readBoolean();
            this._-4PY = _arg1.readBoolean();
            this._-27p = _arg1.readBoolean();
            this._-1KD = _arg1._-2BW();
            this._-2S6 = _arg1._-2BW();
            this._-1Sx = _arg1._-2BW();
            this._-3r- = _arg1._-2BW();
            this._-2Yx = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3wm._-2y4

package _-3wm
{
    import _-Os.PetFigureData;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2y4 implements _-58N 
    {

        private var _-0b1:int;
        private var _-b:int;
        private var _-dS:PetFigureData;
        private var _-4ja:Boolean;
        private var _-2uo:Boolean;

        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get figureData():PetFigureData
        {
            return (this._-dS);
        }
        public function get _-05m():Boolean
        {
            return (this._-4ja);
        }
        public function get _-0mh():Boolean
        {
            return (this._-2uo);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0b1 = _arg1._-2BW();
            this._-b = _arg1._-2BW();
            this._-dS = new PetFigureData(_arg1);
            this._-4ja = _arg1.readBoolean();
            this._-2uo = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3wm._-4jH

package _-3wm
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4jH implements _-58N 
    {

        private var _-0b1:int;
        private var _-b:int;
        private var _-55e:int;

        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0b1 = _arg1._-2BW();
            this._-b = _arg1._-2BW();
            this._-55e = _arg1._-2BW();
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3wm._-4JX

package _-3wm
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4JX implements _-58N 
    {

        private var _-b:int;
        private var _-Ez:Array;
        private var _-3dF:Array;

        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get _-O2():Array
        {
            return (this._-Ez);
        }
        public function get _-1sl():Array
        {
            return (this._-3dF);
        }
        public function flush():Boolean
        {
            this._-b = -1;
            this._-Ez = null;
            this._-3dF = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-b = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            this._-Ez = new Array();
            while (k-- > 0)
            {
                this._-Ez.push(_arg1._-2BW());
            };
            var k:int = _arg1._-2BW();
            this._-3dF = new Array();
            while (k-- > 0)
            {
                this._-3dF.push(_arg1._-2BW());
            };
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3wm._-4vk

package _-3wm
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4vk implements _-58N 
    {

        private var _-0b1:int;
        private var _-b:int;
        private var _-us:Boolean;
        private var _-4PY:Boolean;
        private var _-27p:Boolean;
        private var _-2Yx:Boolean;

        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get _-4a2():Boolean
        {
            return (this._-us);
        }
        public function get _-02Z():Boolean
        {
            return (this._-4PY);
        }
        public function get _-2gH():Boolean
        {
            return (this._-27p);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0b1 = _arg1._-2BW();
            this._-b = _arg1._-2BW();
            this._-us = _arg1.readBoolean();
            this._-4PY = _arg1.readBoolean();
            this._-27p = _arg1.readBoolean();
            this._-2Yx = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3wm._-9K

package _-3wm
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-9K implements _-58N 
    {

        private var _-b:int = -1;
        private var _-MF:int = -1;
        private var _-1-z:int = 0;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get _-0AS():int
        {
            return (this._-MF);
        }
        public function get _-2-():int
        {
            return (this._-1-z);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-b = _arg1._-2BW();
            this._-MF = _arg1._-2BW();
            this._-1-z = _arg1._-2BW();
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3wm._-cG

package _-3wm
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-cG implements _-58N 
    {

        private var _-b2:int;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-b2 = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-b2 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3wm._-f4

package _-3wm
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-f4 implements _-58N 
    {

        private var _-dU:int;
        private var _-2u-:int;

        public function get _-3Gh():int
        {
            return (this._-dU);
        }
        public function get _-2X8():int
        {
            return (this._-2u-);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-dU = _arg1._-2BW();
            this._-2u- = _arg1._-2BW();
            return (true);
        }

    }
}//package _-3wm

//------------------------------------------------------------
//_-3X8._-0hg

package _-3X8
{
    import _-1B-.*;
    import _-uF.*;

    public interface _-0hg extends ICoreLocalizationManager, _-4yI 
    {

        function _-5CG(_arg1:String, _arg2:String="", ... _args):String;
        function getAchievementName(_arg1:String):String;
        function _-0jT(_arg1:String, _arg2:int):String;
        function _-0G0(_arg1:String):String;
        function _-1zI(_arg1:String):String;
        function getBadgeName(_arg1:String):String;
        function getBadgeDesc(_arg1:String):String;
        function _-0It(_arg1:String, _arg2:String, _arg3:String, _arg4:int):String;
        function _-41i(_arg1:String, _arg2:String, _arg3:String, _arg4:int):String;
        function _-2k1(_arg1:String, _arg2:int):void;
        function _-4cQ(_arg1:String):String;

    }
}//package _-3X8

//------------------------------------------------------------
//_-3X8._-2pu

package _-3X8
{
    public class _-2pu 
    {

        private var _-1zt:String = "";
        private var _-55e:int = 1;

        public function _-2pu(_arg1:String)
        {
            var k:int = (_arg1.length - 1);
            while ((((k > 0)) && (this._-4Xk(_arg1.charAt(k)))))
            {
                k--;
            };
            this._-1zt = _arg1.substring(0, (k + 1));
            var k:String = _arg1.substring((k + 1), _arg1.length);
            if (((!((k == null))) && (!((k == "")))))
            {
                this._-55e = int(k);
            };
        }
        private function _-4Xk(_arg1:String):Boolean
        {
            var k:int = _arg1.charCodeAt(0);
            return ((((k >= 48)) && ((k <= 57))));
        }
        public function get base():String
        {
            return (this._-1zt);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function set level(_arg1:int):void
        {
            this._-55e = Math.max(1, _arg1);
        }
        public function get badgeId():String
        {
            return ((this._-1zt + this._-55e));
        }

    }
}//package _-3X8

//------------------------------------------------------------
//_-3X8.HabboLocalizationManager

package _-3X8
{
    import _-uF.CoreLocalizationManager;
    import _-4Wu._-4uR;
    import _-3gx._-4BJ;
    import flash.utils.Dictionary;
    import _-2ft._-51L;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import _-3PZ._-0hr;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-3Bn._-1Ii;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import flash.events.Event;
    import _-6S.LocalizationEvent;
    import _-2na._-3qY;
    import _-1Q8._-5-V;
    import _-1Q8._-4mq;
    import _-1Q8._-2ML;
    import _-Co.UsersMessageParser;
    import _-3mW._-1IS;
    import _-Co._-0IM;
    import _-2ly._-11j;
    import _-1tB.AssetLoaderEvent;
    import com.sulake.iid.*;

    public class HabboLocalizationManager extends CoreLocalizationManager implements _-0hg 
    {

        private static var _-59Y:String = "%";

        private var _-3fD:_-4uR;
        private var _-0ud:_-4BJ;
        private var _-56J:Boolean = false;
        private var _-35V:Dictionary;
        private var _-2lq:Array;

        public function HabboLocalizationManager(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            this._-35V = new Dictionary();
            this._-2lq = ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", "XIII", "XIV", "XV", "XVI", "XVII", "XVIII", "XIX", "XX", "XXI", "XXII", "XXIII", "XXIV", "XXV", "XXVI", "XXVII", "XXVIII", "XXIX", "XXX"];
            super(_arg1, _arg2, _arg3);
            this._-56J = ((_arg2 & _-51L._-3qj) > 0);
            if (!this._-56J)
            {
                lock();
            };
            queueInterface(new IIDHabboConfigurationManager(), this._-1dY);
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
            _arg1.events.addEventListener(_-0hr._-4kN, this._-0hu);
            _arg1.events.addEventListener(_-0hr._-1sg, this._-0hu);
        }
        override public function dispose():void
        {
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            super.dispose();
        }
        public function _-5CG(_arg1:String, _arg2:String="", ... _args):String
        {
            var k:int;
            var k:int;
            if (((!((_args == null))) && ((_args.length > 0))))
            {
                k = (_args.length / 2);
                k = 0;
                while (k < k)
                {
                    registerParameter(_arg1, _args[(k * 2)], _args[((k * 2) + 1)]);
                    k++;
                };
            };
            return (getKey(_arg1, _arg2));
        }
        private function _-OA(_arg1:_-1Ii, _arg2):void
        {
            _arg1.dispose();
            _-3RI();
        }
        private function _-1dY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (_arg2 != null)
            {
                this._-3fD = (_arg2 as _-4uR);
                this._-1Vx();
                this._-47P();
            };
        }
        private function _-0hu(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-0hr.INIT:
                    return;
                case _-0hr._-1WR:
                    return;
                case _-0hr._-1Nb:
                    return;
                case _-0hr._-0xg:
                    return;
                case _-0hr._-4kN:
                    return;
                case _-0hr._-1sg:
                    return;
            };
        }
        private function _-1Vx():void
        {
            var k:String;
            var k:String;
            var k:String;
            var k:int = 1;
            while (this._-3fD.keyExists(("localization." + k)))
            {
                k = this._-3fD.getKey(("localization." + k), "");
                k = this._-3fD.getKey((("localization." + k) + ".name"), "");
                k = this._-3fD.getKey((("localization." + k) + ".url"), "");
                super._-0Pg(k, k, k);
                k++;
            };
        }
        private function _-47P():void
        {
            var k:String;
            var k:String;
            var k:String = "";
            k = this._-3fD.getKey("url.prefix", k);
            k = k.replace("http://", "");
            k = k.replace("https://", "");
            super._-53g(k);
            if (!this._-56J)
            {
                if ("false" == this._-3fD.getKey("use.default.localizations", "false"))
                {
                    k = this._-3fD.getKey("external.texts.txt", "external_texts.txt");
                    events.addEventListener(LocalizationEvent._-tX, this._-3VT);
                    super._-3ab(k);
                };
                if (this._-3fD.getBoolean("safe.chat.client.enabled", false))
                {
                    k = this._-3fD.getKey("safechat.list.txt", "safechat-en.txt");
                    events.addEventListener(LocalizationEvent._-26g, this._-1xW);
                    super._-02k(k);
                };
            };
        }
        private function _-w(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = (_arg2 as _-4BJ);
            this._-0ud.addHabboConnectionMessageEvent(new _-3qY(this._-0fE));
            this._-0ud.addHabboConnectionMessageEvent(new _-5-V(this._-OE));
            this._-0ud.addHabboConnectionMessageEvent(new _-4mq(this._-3K9));
        }
        private function _-0fE(_arg1:_-3qY):void
        {
            if ((((_arg1 == null)) || ((_arg1._-3-5() == null))))
            {
                return;
            };
            this._-3tX();
        }
        private function _-3K9(_arg1:_-4mq):void
        {
            var k:_-2ML;
            if (_arg1 == null)
            {
                return;
            };
            var k:UsersMessageParser = _arg1._-3-5();
            var k:Boolean = this._-3fD.getBoolean("safe.chat.allow.user.names", true);
            var k:int;
            while (k < k._-2cL())
            {
                k = k._-4d0(k);
                if (k._-5EQ == _-1IS._-0p3)
                {
                    if (k)
                    {
                        this._-3XP(k._-0KC, k.name);
                    };
                }
                else
                {
                    this._-3XP(k._-0KC, k.name);
                };
                k++;
            };
        }
        private function _-OE(_arg1:_-5-V):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-0IM = _arg1._-3-5();
            var k:int = k.id;
            this._-ee(k);
        }
        public function _-3VT(_arg1:Event):void
        {
            var k:String;
            events.removeEventListener(LocalizationEvent._-tX, this._-3VT);
            if (this._-3fD.keyExists("external.override.texts.txt"))
            {
                k = this._-3fD.getKey("external.override.texts.txt");
                events.addEventListener(LocalizationEvent._-tX, this._-3-j);
                super._-3ab(k);
            }
            else
            {
                unlock();
            };
        }
        public function _-1xW(_arg1:Event):void
        {
            events.removeEventListener(LocalizationEvent._-26g, this._-1xW);
        }
        public function _-3-j(_arg1:Event):void
        {
            events.removeEventListener(LocalizationEvent._-tX, this._-3-j);
            unlock();
        }
        public function _-0It(_arg1:String, _arg2:String, _arg3:String, _arg4:int):String
        {
            return (this._-3db("badge_desc_fb_", _arg1, _arg2, _arg3, _arg4));
        }
        public function _-41i(_arg1:String, _arg2:String, _arg3:String, _arg4:int):String
        {
            return (this._-3db("badge_name_fb_", _arg1, _arg2, _arg3, _arg4));
        }
        private function _-3db(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:int):String
        {
            var k:_-2pu = new _-2pu(_arg2);
            var k:String = this._-3i3([(_arg1 + _arg2), (_arg1 + k.base)]);
            registerParameter(k, "roman", this._-3kX(k.level));
            registerParameter(k, "level", _arg5.toString());
            registerParameter(k, "name", _arg3);
            registerParameter(k, "limit", ("" + this._-2Qm(_arg2)));
            return (registerParameter(k, "realname", _arg4));
        }
        public function getAchievementName(_arg1:String):String
        {
            var k:_-2pu = new _-2pu(_arg1);
            var k:String = this._-3i3([("badge_name_al_" + _arg1), ("badge_name_al_" + k.base), ("badge_name_" + _arg1), ("badge_name_" + k.base)]);
            this.registerParameter(k, "roman", this._-3kX(k.level));
            var k:String = this.getKey(k);
            return ((((k)!=null) ? k : ""));
        }
        public function _-0jT(_arg1:String, _arg2:int):String
        {
            var k:_-2pu = new _-2pu(_arg1);
            var k:String = this._-3i3([("badge_desc_al_" + _arg1), ("badge_desc_al_" + k.base), ("badge_desc_" + _arg1), ("badge_desc_" + k.base)]);
            this.registerParameter(k, "limit", ("" + _arg2));
            return (this.getKey(k));
        }
        public function _-0G0(_arg1:String):String
        {
            var k:_-2pu = new _-2pu(_arg1);
            var k:String = this._-3i3([("badge_instruction_" + k.base)]);
            this.registerParameter(k, "limit", ("" + this._-2Qm(_arg1)));
            var k:String = this.getKey(k);
            return ((((k)!=null) ? k : ""));
        }
        public function _-1zI(_arg1:String):String
        {
            var k:_-2pu = new _-2pu(_arg1);
            return (k.base);
        }
        public function getBadgeName(_arg1:String):String
        {
            var k:_-2pu = new _-2pu(_arg1);
            var k:String = this._-3i3([("badge_name_" + _arg1), ("badge_name_" + k.base)]);
            this.registerParameter(k, "roman", this._-3kX(k.level));
            return (this.getKey(k));
        }
        public function getBadgeDesc(_arg1:String):String
        {
            var k:_-2pu = new _-2pu(_arg1);
            var k:String = this._-3i3([("badge_desc_" + _arg1), ("badge_desc_" + k.base)]);
            this.registerParameter(k, "limit", ("" + this._-2Qm(_arg1)));
            return (this.getKey(k));
        }
        public function _-4cQ(_arg1:String):String
        {
            var k:_-2pu = new _-2pu(_arg1);
            k.level--;
            return (k.badgeId);
        }
        public function _-2k1(_arg1:String, _arg2:int):void
        {
            this._-35V[_arg1] = _arg2;
        }
        private function _-2Qm(_arg1:String):int
        {
            return (this._-35V[_arg1]);
        }
        private function _-3i3(_arg1:Array):String
        {
            var k:String;
            var k:String;
            for each (k in _arg1)
            {
                k = this.getKey(k);
                if (k != "")
                {
                    return (k);
                };
            };
            return (_arg1[0]);
        }
        private function _-3kX(_arg1:int):String
        {
            return (this._-2lq[Math.max(0, (_arg1 - 1))]);
        }
        override protected function onLocalizationFailed(_arg1:AssetLoaderEvent):void
        {
            _-11j.logEventLog(("external_texts download error " + _arg1.status));
            super.onLocalizationFailed(_arg1);
        }

    }
}//package _-3X8

//------------------------------------------------------------
//_-3XR._-0Kg

package _-3XR
{
    import _-4Aj.*;

    public class _-0Kg implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR._-0st

package _-3XR
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0st implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-0st(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR._-1Cd

package _-3XR
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1Cd implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1Cd(_arg1:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR._-1JP

package _-3XR
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1JP implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-1JP(_arg1:int, _arg2:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR._-1mV

package _-3XR
{
    import _-4Aj.*;

    public class _-1mV implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR._-3C4

package _-3XR
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3C4 implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3C4(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR._-46j

package _-3XR
{
    import _-4Aj.*;

    public class _-46j implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR._-4-A

package _-3XR
{
    import _-4Aj.*;

    public class _-4-A implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (new Array());
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR.AcceptFriendMessageComposer

package _-3XR
{
    import _-1B-.*;
    import _-4Aj.*;

    public class AcceptFriendMessageComposer implements _-1oF, _-1zZ 
    {

        private var _-16V:Array;

        public function AcceptFriendMessageComposer()
        {
            this._-16V = new Array();
            super();
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            k.push(this._-16V.length);
            var k:int;
            while (k < this._-16V.length)
            {
                k.push(this._-16V[k]);
                k++;
            };
            return (k);
        }
        public function _-GZ(_arg1:int):void
        {
            this._-16V.push(_arg1);
        }
        public function dispose():void
        {
            this._-16V = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR.DeclineFriendMessageComposer

package _-3XR
{
    import _-1B-.*;
    import _-4Aj.*;

    public class DeclineFriendMessageComposer implements _-1oF, _-1zZ 
    {

        private var _-ex:Array;

        public function DeclineFriendMessageComposer()
        {
            this._-ex = new Array();
            super();
        }
        public function _-43Z():Array
        {
            var _local2:int;
            var k:Array = new Array();
            if (this._-ex.length == 0)
            {
                k.push(true);
                k.push(0);
            }
            else
            {
                k.push(false);
                k.push(this._-ex.length);
                _local2 = 0;
                while (_local2 < this._-ex.length)
                {
                    k.push(this._-ex[_local2]);
                    _local2++;
                };
            };
            return (k);
        }
        public function _-0ET(_arg1:int):void
        {
            this._-ex.push(_arg1);
        }
        public function dispose():void
        {
            this._-ex = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR.RemoveFriendMessageComposer

package _-3XR
{
    import _-1B-.*;
    import _-4Aj.*;

    public class RemoveFriendMessageComposer implements _-1oF, _-1zZ 
    {

        private var _-wM:Array;

        public function RemoveFriendMessageComposer()
        {
            this._-wM = new Array();
            super();
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            k.push(this._-wM.length);
            var k:int;
            while (k < this._-wM.length)
            {
                k.push(this._-wM[k]);
                k++;
            };
            return (k);
        }
        public function _-1Vh(_arg1:int):void
        {
            this._-wM.push(_arg1);
        }
        public function dispose():void
        {
            this._-wM = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XR.SendRoomInviteMessageComposer

package _-3XR
{
    import _-1B-.*;
    import _-4Aj.*;

    public class SendRoomInviteMessageComposer implements _-1oF, _-1zZ 
    {

        private var _-37U:Array;
        private var _-1dC:String;

        public function SendRoomInviteMessageComposer(_arg1:String)
        {
            this._-37U = new Array();
            super();
            this._-1dC = _arg1;
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            k.push(this._-37U.length);
            var k:int;
            while (k < this._-37U.length)
            {
                k.push(this._-37U[k]);
                k++;
            };
            k.push(this._-1dC);
            return (k);
        }
        public function _-0yK(_arg1:int):void
        {
            this._-37U.push(_arg1);
        }
        public function dispose():void
        {
            this._-37U = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-3XR

//------------------------------------------------------------
//_-3XW._-1eN

package _-3XW
{
    import _-Ew.IWindowContainer;
    import _-2ly.FixedSizeStack;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-1FD._-3VD;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IDesktopWindow;
    import flash.geom.Rectangle;
    import _-295._-243;
    import _-1B-.*;

    public class _-1eN implements _-1zZ 
    {

        protected static const _-2bc:uint = 4281149991;
        protected static const _-z-:uint = 4282950861;
        protected static const _-2kw:uint = 0xFF993300;
        protected static const _-2hi:uint = 0xFFFFFF;
        protected static const _-nQ:uint = 9552639;
        protected static const _-1AE:uint = 0xFFFFFF;
        protected static const _-0NL:uint = 5789011;
        protected static const _-1ng:uint = 13947341;
        protected static const _-2te:uint = 5789011;
        private static const _-4uW:int = 25;
        private static const _-59D:int = 3;

        protected static var _-4EW:Boolean = false;

        protected var _-0xv:IWindowContainer;
        protected var _-3lP:IWindowContainer;
        protected var _-1Ke:IWindowContainer;
        private var _-mV:Boolean;
        protected var _-0dg:_-50z;
        protected var _-3Ot:Boolean;
        protected var _-3Qz:FixedSizeStack;
        protected var _-3U5:int = -1000000;
        protected var _disposed:Boolean = false;
        private var _-1X6:Boolean = true;
        protected var _-3x2:Timer;
        protected var _-0b7:int = 3000;
        protected var _-1r7:Boolean;
        protected var _-4ve:Boolean;
        protected var _-4Ay:Number;
        protected var _-3cB:int;
        protected var _-4st:int = 500;
        protected var _-14p:Boolean;

        public function _-1eN(_arg1:_-50z)
        {
            this._-3Qz = new FixedSizeStack(_-4uW);
            super();
            this._-0dg = _arg1;
            this._-14p = true;
            this._-1r7 = false;
            this._-4ve = false;
        }
        public static function _-0nx(_arg1:_-1eN):void
        {
            _arg1._-1r7 = false;
            _arg1._-4st = 500;
            _arg1._-4ve = false;
            _arg1._-4Ay = 1;
            if (_arg1._-14p)
            {
                if (!_arg1._-3x2)
                {
                    _arg1._-3x2 = new Timer(_arg1._-0b7, 1);
                    _arg1._-3x2.addEventListener(TimerEvent.TIMER_COMPLETE, _arg1._-gY);
                };
                _arg1._-3x2.reset();
                _arg1._-3x2.start();
            };
            _arg1.updateWindow();
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get maximumBlend():Number
        {
            return (1);
        }
        public function dispose():void
        {
            this._-0dg = null;
            this._-1Ke = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-3lP)
            {
                this._-3lP.dispose();
                this._-3lP = null;
            };
            if (this._-3x2)
            {
                this._-3x2.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-gY);
                this._-3x2.reset();
                this._-3x2 = null;
            };
            this._disposed = true;
        }
        private function _-gY(_arg1:TimerEvent):void
        {
            this._-4ve = true;
            this._-3cB = 0;
            this.hide(true);
        }
        protected function _-00i(_arg1:IWindow, _arg2:Function):void
        {
            if (_arg1 != null)
            {
                _arg1.addEventListener(WindowMouseEvent._-90, _arg2);
            };
        }
        protected function updateWindow():void
        {
        }
        protected function _-0Cq(_arg1:WindowMouseEvent):void
        {
            this._-0dg.messageListener.processWidgetMessage(new _-3VD(_-3VD._-4Cv));
            this._-0dg.removeView(this, false);
        }
        public function _-14m(_arg1:IBitmapWrapperWindow, _arg2:String, _arg3:Boolean=false):void
        {
            var k:Point;
            if (((((!(_arg1)) || (!(this._-0dg)))) || (!(this._-0dg.assets))))
            {
                return;
            };
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName(_arg2) as BitmapDataAsset);
            if (!k)
            {
                return;
            };
            var k:BitmapData = (k.content as BitmapData);
            if (!k)
            {
                return;
            };
            if (_arg1.bitmap)
            {
                _arg1.bitmap.fillRect(_arg1.bitmap.rect, 0);
            }
            else
            {
                _arg1.bitmap = new BitmapData(_arg1.width, _arg1.height, true, 0);
            };
            if (_arg3)
            {
                k = new Point(((_arg1.bitmap.width - k.width) / 2), ((_arg1.bitmap.height - k.height) / 2));
            }
            else
            {
                k = new Point(0, 0);
            };
            _arg1.bitmap.copyPixels(k, k.rect, k, null, null, true);
            _arg1.invalidate();
        }
        public function show():void
        {
            if (this._-1Ke != null)
            {
                this._-1Ke.visible = true;
                if (!(this._-1Ke.parent is IDesktopWindow))
                {
                    this._-0dg.windowManager.getDesktop(0).addChild(this._-1Ke);
                };
                if (this._-1X6)
                {
                    this._-1Ke.activate();
                };
            };
        }
        public function hide(_arg1:Boolean):void
        {
            if (this._-1Ke != null)
            {
                if (((!(this._-1r7)) && (_arg1)))
                {
                    this._-1r7 = true;
                    this._-3x2.start();
                }
                else
                {
                    this._-1Ke.visible = false;
                    this._-1Ke.parent = null;
                };
            };
        }
        protected function getOffset(_arg1:Rectangle):int
        {
            var k:int = -(this._-1Ke.height);
            k = (k - 4);
            return (k);
        }
        public function update(_arg1:Rectangle, _arg2:Point, _arg3:uint):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            if (!_arg1)
            {
                return;
            };
            if (!this._-1Ke)
            {
                this.updateWindow();
            };
            if (this._-4ve)
            {
                this._-3cB = (this._-3cB + _arg3);
                this._-4Ay = ((1 - (this._-3cB / Number(this._-4st))) * this.maximumBlend);
            }
            else
            {
                this._-4Ay = this.maximumBlend;
            };
            if (this._-4Ay <= 0)
            {
                this._-0dg.removeView(this, false);
                return;
            };
            if (((!(this._-3Ot)) || (this._-mV)))
            {
                k = this.getOffset(_arg1);
                k = (_arg2.y - _arg1.top);
                this._-3Qz._-1Nu(k);
                k = this._-3Qz._-1Sb();
                if (k < (this._-3U5 - _-59D))
                {
                    k = (this._-3U5 - _-59D);
                };
                k = (_arg2.y - k);
                this._-3U5 = k;
                this._-1Ke.x = (_arg2.x - (this._-1Ke.width / 2));
                this._-1Ke.y = (k + k);
                this._-mV = false;
            };
            this._-1Ke.blend = this._-4Ay;
            this.show();
        }
        protected function _-4ed(_arg1:WindowMouseEvent):void
        {
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                this._-3Ot = true;
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    if (!_arg1.window.hitTestGlobalPoint(new Point(_arg1.stageX, _arg1.stageY)))
                    {
                        this._-3Ot = false;
                    };
                };
            };
        }
        protected function _-1ID(_arg1:Boolean):void
        {
            _-4EW = _arg1;
            this._-mV = true;
            this.updateWindow();
        }
        protected function _-1G():IWindowContainer
        {
            var k:XML;
            if (!this._-3lP)
            {
                k = (_-243(this._-0dg.assets.getAssetByName("minimized_menu")).content as XML);
                this._-3lP = (this._-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                this._-3lP.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, this._-1-A);
                this._-3lP.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, this._-4Jo);
                this._-3lP.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, this._-4Jo);
                this._-3lP.addEventListener(WindowMouseEvent._-4ea, this._-4ed);
                this._-3lP.addEventListener(WindowMouseEvent._-4e2, this._-4ed);
            };
            return (this._-3lP);
        }
        private function _-1-A(_arg1:WindowMouseEvent):void
        {
            this._-1ID(false);
        }
        protected function set activeView(_arg1:IWindowContainer):void
        {
            if (!_arg1)
            {
                return;
            };
            if (this._-1Ke)
            {
                this._-1Ke.parent = null;
            };
            this._-1Ke = _arg1;
        }
        protected function _-3jC(_arg1:WindowMouseEvent):void
        {
            this._-1ID(true);
        }
        protected function _-4Jo(_arg1:WindowMouseEvent):void
        {
            var k:IWindow;
            var k:IWindowContainer = (_arg1.window as IWindowContainer);
            if (k)
            {
                k = k.findChildByName("icon");
                if (k)
                {
                    if (_arg1.type == WindowMouseEvent._-4ea)
                    {
                        k.color = _-z-;
                    }
                    else
                    {
                        k.color = 0xFFFFFF;
                    };
                };
            };
        }
        public function set _-4EB(_arg1:Boolean):void
        {
            this._-1X6 = _arg1;
        }

    }
}//package _-3XW

//------------------------------------------------------------
//_-3XW._-50z

package _-3XW
{
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-FP._-1CC;
    import _-0mD._-2Jq;

    public interface _-50z 
    {

        function get assets():_-39L;
        function get windowManager():_-3Ts;
        function get messageListener():_-1CC;
        function get catalog():_-2Jq;
        function removeView(_arg1:_-1eN, _arg2:Boolean):void;

    }
}//package _-3XW

//------------------------------------------------------------
//_-3XW.ButtonMenuView

package _-3XW
{
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IItemGridWindow;
    import _-3EM._-yZ;
    import _-1ae.ITextWindow;
    import _-1ae.IIconWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class ButtonMenuView extends _-1eN 
    {

        protected static const _-2hN:int = 8;
        protected static const _-ti:uint = 16744755;
        protected static const _-1RN:uint = 16756591;
        protected static const _-4Hi:String = "icon_vip";
        protected static const _-27U:String = "arrow_left";
        protected static const _-22e:String = "arrow_right";

        protected var _-0Ib:IItemListWindow;

        public function ButtonMenuView(_arg1:_-50z)
        {
            super(_arg1);
        }
        override public function dispose():void
        {
            this._-0Ib = null;
            super.dispose();
        }
        protected function _-48n(_arg1:String, _arg2:Boolean=true):void
        {
            var k:int;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            if (!this._-0Ib)
            {
                return;
            };
            var k:IItemGridWindow = (this._-0Ib.getListItemByName(_arg1) as IItemGridWindow);
            if (!k)
            {
                return;
            };
            k.visible = _arg2;
            var k:_-yZ = k.iterator;
            var k:int = k.length;
            if (k > 0)
            {
                k = 0;
                while (k < k)
                {
                    k = (k[k] as IWindowContainer);
                    k = (k.findChildByTag("icon") as IBitmapWrapperWindow);
                    if (k)
                    {
                        _-14m(k, k.name, true);
                    };
                    k++;
                };
            };
        }
        protected function _-XT(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=true, _arg4:Boolean=false):void
        {
            if (!this._-0Ib)
            {
                return;
            };
            var k:IWindowContainer = (this._-0Ib.getListItemByName(_arg1) as IWindowContainer);
            if (!k)
            {
                return;
            };
            k.visible = _arg2;
            var k:IWindowContainer = (k.getChildByName("button") as IWindowContainer);
            k = ((_arg3) || (_arg4));
            if (k)
            {
                k.enable();
            }
            else
            {
                k.disable();
            };
            var k:ITextWindow = (k.getChildByName("label") as ITextWindow);
            k.textColor = ((((k) && (!(_arg4)))) ? _-1AE : _-0NL);
            var k:IIconWindow = (k.getChildByName("icon") as IIconWindow);
            if (k)
            {
                k.color = ((k) ? _-1ng : _-2te);
                if (k.tags.indexOf(_-27U) != -1)
                {
                    k.x = (((k.x + ((k.width - k.textWidth) / 2)) - k.width) - _-2hN);
                };
                if (k.tags.indexOf(_-22e) != -1)
                {
                    k.x = ((k.x + ((k.width + k.textWidth) / 2)) + _-2hN);
                };
                k.visible = ((k.visible) && (!(_arg4)));
            };
            var k:IIconWindow = (k.getChildByName(_-4Hi) as IIconWindow);
            if (k)
            {
                k.visible = _arg4;
            };
        }
        protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                if (_arg2.name == "button")
                {
                    _arg2.color = (((_arg2.tags.indexOf("moderate") > -1)) ? _-2kw : _-z-);
                }
                else
                {
                    if (_arg2.tags.indexOf("link") > -1)
                    {
                        if (_arg2.tags.indexOf("actions") > -1)
                        {
                            ITextWindow(IWindowContainer(_arg2).getChildAt(0)).textColor = _-nQ;
                        }
                        else
                        {
                            if (_arg2.tags.indexOf("moderate") > -1)
                            {
                                ITextWindow(IWindowContainer(_arg2).getChildAt(0)).textColor = _-1RN;
                            };
                        };
                    };
                };
                if (_arg2.name == "profile_link")
                {
                    ITextWindow(IWindowContainer(_arg2).findChildByName("name")).textColor = _-nQ;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    if (_arg2.name == "button")
                    {
                        _arg2.color = _-2bc;
                    }
                    else
                    {
                        if (_arg2.tags.indexOf("link") > -1)
                        {
                            if (_arg2.tags.indexOf("actions") > -1)
                            {
                                ITextWindow(IWindowContainer(_arg2).getChildAt(0)).textColor = _-2hi;
                            }
                            else
                            {
                                if (_arg2.tags.indexOf("moderate") > -1)
                                {
                                    ITextWindow(IWindowContainer(_arg2).getChildAt(0)).textColor = _-ti;
                                };
                            };
                        };
                    };
                    if (_arg2.name == "profile_link")
                    {
                        ITextWindow(IWindowContainer(_arg2).findChildByName("name")).textColor = _-2hi;
                    };
                };
            };
        }

    }
}//package _-3XW

//------------------------------------------------------------
//_-3yH._-0lY

package _-3yH
{
    import _-4Aj._-0s1;

    public class _-0lY 
    {

        public static const try :int = 0;
        public static const _-4Mr:int = 1;
        public static const _-26p:int = 2;

        private var _-4Pa:int;
        private var _-56T:int;
        private var _-4ra:int;

        public function _-0lY(_arg1:_-0s1)
        {
            this._-4Pa = _arg1._-2BW();
            this._-56T = _arg1._-2BW();
            this._-4ra = _arg1._-2BW();
        }
        public function get _-3jE():int
        {
            return (this._-4Pa);
        }
        public function get _-4Qp():int
        {
            return (this._-56T);
        }
        public function get _-56q():int
        {
            return (this._-4ra);
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-0P9

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-2Qn;
    import _-4Aj.*;

    public class _-0P9 extends _-7V implements _-0tL 
    {

        public function _-0P9(_arg1:Function)
        {
            super(_arg1, _-2Qn);
        }
        public function _-3-5():_-2Qn
        {
            return ((this._-515 as _-2Qn));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-1qQ

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-0a4;
    import _-4Aj.*;

    public class _-1qQ extends _-7V implements _-0tL 
    {

        public function _-1qQ(_arg1:Function)
        {
            super(_arg1, _-0a4);
        }
        public function _-3-5():_-0a4
        {
            return ((this._-515 as _-0a4));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-1Wx

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-1v7;
    import _-4Aj.*;

    public class _-1Wx extends _-7V implements _-0tL 
    {

        public function _-1Wx(_arg1:Function)
        {
            super(_arg1, _-1v7);
        }
        public function _-3-5():_-1v7
        {
            return ((this._-515 as _-1v7));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-2a9

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-2ZC;
    import _-4Aj.*;

    public class _-2a9 extends _-7V implements _-0tL 
    {

        public function _-2a9(_arg1:Function)
        {
            super(_arg1, _-2ZC);
        }
        public function _-3-5():_-2ZC
        {
            return ((this._-515 as _-2ZC));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-34G

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-2GF;
    import _-4Aj.*;

    public class _-34G extends _-7V implements _-0tL 
    {

        public function _-34G(_arg1:Function)
        {
            super(_arg1, _-2GF);
        }
        public function _-3-5():_-2GF
        {
            return ((this._-515 as _-2GF));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-3GJ

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-2co;
    import _-4Aj.*;

    public class _-3GJ extends _-7V implements _-0tL 
    {

        public function _-3GJ(_arg1:Function)
        {
            super(_arg1, _-2co);
        }
        public function _-3-5():_-2co
        {
            return ((this._-515 as _-2co));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-3KP

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-4Q3;
    import _-4Aj.*;

    public class _-3KP extends _-7V implements _-0tL 
    {

        public function _-3KP(_arg1:Function)
        {
            super(_arg1, _-4Q3);
        }
        public function _-3-5():_-4Q3
        {
            return ((this._-515 as _-4Q3));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-3mN

package _-3yH
{
    public interface _-3mN 
    {

        function get userId():int;
        function get userName():String;

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-3zZ

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-HW;
    import _-4Aj.*;

    public class _-3zZ extends _-7V implements _-0tL 
    {

        public function _-3zZ(_arg1:Function)
        {
            super(_arg1, _-HW);
        }
        public function _-3-5():_-HW
        {
            return ((this._-515 as _-HW));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-4ek

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-2FW;
    import _-4Aj.*;

    public class _-4ek extends _-7V implements _-0tL 
    {

        public function _-4ek(_arg1:Function)
        {
            super(_arg1, _-2FW);
        }
        public function _-3-5():_-2FW
        {
            return ((this._-515 as _-2FW));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-4hk

package _-3yH
{
    import _-4Aj._-0s1;

    public class _-4hk implements _-3mN 
    {

        private var _-4lu:int;
        private var _-2lb:String;

        public function _-4hk(_arg1:_-0s1)
        {
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-4tj

package _-3yH
{
    import _-4Aj._-0s1;

    public class _-4tj implements _-3mN 
    {

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-2dY:Boolean;

        public function _-4tj(_arg1:_-0s1)
        {
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get selected():Boolean
        {
            return (this._-2dY);
        }
        public function set selected(_arg1:Boolean):void
        {
            this._-2dY = _arg1;
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-pc

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-3FB;
    import _-4Aj.*;

    public class _-pc extends _-7V implements _-0tL 
    {

        public function _-pc(_arg1:Function)
        {
            super(_arg1, _-3FB);
        }
        public function _-3-5():_-3FB
        {
            return ((this._-515 as _-3FB));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH._-zP

package _-3yH
{
    import _-4Aj._-7V;
    import _-4ME._-0xC;
    import _-4Aj.*;

    public class _-zP extends _-7V implements _-0tL 
    {

        public function _-zP(_arg1:Function)
        {
            super(_arg1, _-0xC);
        }
        public function _-3-5():_-0xC
        {
            return ((this._-515 as _-0xC));
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3yH.RoomSettingsData

package _-3yH
{
    import flash.utils.Dictionary;

    public class RoomSettingsData 
    {

        public static const _-2xG:int = 0;
        public static const _-1HI:int = 1;
        public static const _-3c4:int = 2;
        public static const _-4WA:int = 0;
        public static const _-2-5:int = 1;
        public static const _-2sf:int = 2;
        public static const _-56H:Array = ["open", "closed", "password"];

        private var _-1Rt:int;
        private var _name:String;
        private var _-1Td:String;
        private var _-0Ul:int;
        private var _-4d9:int;
        private var _-3hh:int;
        private var _-2kc:int;
        private var _-tz:Array;
        private var _-sG:int;
        private var _-27G:Boolean;
        private var _-0A-:Boolean;
        private var _-451:Boolean;
        private var _-E9:Boolean;
        private var _-0Du:int;
        private var _-1ge:int;
        private var _-39e:Dictionary;
        private var _-55:Array;
        private var _-2ZL:int;
        private var _-2LU:Dictionary;
        private var _-yt:Array;
        private var _-3In:_-0lY;

        public function get _-YP():int
        {
            return (this._-sG);
        }
        public function set _-YP(_arg1:int):void
        {
            this._-sG = _arg1;
        }
        public function get _-2l6():Boolean
        {
            return (this._-27G);
        }
        public function set _-2l6(_arg1:Boolean):void
        {
            this._-27G = _arg1;
        }
        public function get _-1X():Boolean
        {
            return (this._-0A-);
        }
        public function set _-1X(_arg1:Boolean):void
        {
            this._-0A- = _arg1;
        }
        public function get _-0ow():Boolean
        {
            return (this._-451);
        }
        public function set _-0ow(_arg1:Boolean):void
        {
            this._-451 = _arg1;
        }
        public function get _-339():Boolean
        {
            return (this._-E9);
        }
        public function set _-339(_arg1:Boolean):void
        {
            this._-E9 = _arg1;
        }
        public function get _-0DQ():int
        {
            return (this._-0Du);
        }
        public function set _-0DQ(_arg1:int):void
        {
            this._-0Du = _arg1;
        }
        public function get _-2yC():int
        {
            return (this._-1ge);
        }
        public function set _-2yC(_arg1:int):void
        {
            this._-1ge = _arg1;
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function set roomId(_arg1:int):void
        {
            this._-1Rt = _arg1;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function set description(_arg1:String):void
        {
            this._-1Td = _arg1;
        }
        public function get _-0Qj():int
        {
            return (this._-0Ul);
        }
        public function set _-0Qj(_arg1:int):void
        {
            this._-0Ul = _arg1;
        }
        public function get _-2d-():int
        {
            return (this._-4d9);
        }
        public function set _-2d-(_arg1:int):void
        {
            this._-4d9 = _arg1;
        }
        public function get _-0qV():int
        {
            return (this._-3hh);
        }
        public function set _-0qV(_arg1:int):void
        {
            this._-3hh = _arg1;
        }
        public function get _-32C():int
        {
            return (this._-2kc);
        }
        public function set _-32C(_arg1:int):void
        {
            this._-2kc = _arg1;
        }
        public function get tags():Array
        {
            return (this._-tz);
        }
        public function set tags(_arg1:Array):void
        {
            this._-tz = _arg1;
        }
        public function _-47Z(_arg1:int, _arg2:_-4tj):void
        {
            if (this._-39e != null)
            {
                this._-39e[_arg1] = _arg2;
                this._-55 = null;
                this._-2ZL = _arg1;
            };
        }
        public function get _-1so():_-0lY
        {
            return (this._-3In);
        }
        public function set _-1so(_arg1:_-0lY):void
        {
            this._-3In = _arg1;
        }
        public function get _-AP():Dictionary
        {
            return (this._-39e);
        }
        public function set _-AP(_arg1:Dictionary):void
        {
            this._-39e = _arg1;
        }
        public function get _-3l1():Array
        {
            var k:String;
            var k:int;
            var k:_-4tj;
            if (this._-55 == null)
            {
                this._-55 = new Array();
                for (k in this._-39e)
                {
                    k = int(k);
                    k = this._-39e[k];
                    if (k != null)
                    {
                        this._-55.push(k);
                    };
                };
                this._-55.sortOn("userName", Array.CASEINSENSITIVE);
            };
            return (this._-55);
        }
        public function get _-4qP():int
        {
            return (this._-2ZL);
        }
        public function _-516(_arg1:int, _arg2:_-4hk):void
        {
            if (this._-2LU == null)
            {
                this._-2LU = new Dictionary();
            }
            else
            {
                this._-yt = null;
            };
            this._-2LU[_arg1] = _arg2;
        }
        public function get _-4x9():Dictionary
        {
            return (this._-2LU);
        }
        public function get _-3t():Array
        {
            var k:_-4hk;
            if (this._-yt == null)
            {
                this._-yt = new Array();
                for each (k in this._-2LU)
                {
                    this._-yt.push(k);
                };
                this._-yt.sortOn("userName", Array.CASEINSENSITIVE);
            };
            return (this._-yt);
        }

    }
}//package _-3yH

//------------------------------------------------------------
//_-3ZF._-0yr

package _-3ZF
{
    import _-0mD._-2Jq;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-295._-243;
    import _-1ae.IItemListWindow;
    import _-1ae.IBorderWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-og._-Zn;

    public class _-0yr extends InfoStandFurniView 
    {

        private var _-0hW:int = -1;
        private var _-3vA:String = "";
        private var _-4w-:String = "";

        public function _-0yr(_arg1:_-3CG, _arg2:String, _arg3:_-2Jq)
        {
            super(_arg1, _arg2, _arg3);
        }
        override public function dispose():void
        {
            super.dispose();
        }
        override protected function createWindow(_arg1:String):void
        {
            var k:IWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:int;
            var k:_-243 = (_-0dg.assets.getAssetByName("jukebox_view") as _-243);
            _-0xv = (_-0dg.windowManager.buildFromXML((k.content as XML)) as IItemListWindow);
            if (_-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            _-0RM = (_-0xv.getListItemByName("info_border") as IBorderWindow);
            _-0Ib = (_-0xv.getListItemByName("button_list") as IItemListWindow);
            if (_-0RM != null)
            {
                _-2Gw = (_-0RM.findChildByName("infostand_element_list") as IItemListWindow);
            };
            _-0xv.name = _arg1;
            _-0dg.mainContainer.addChild(_-0xv);
            var k:IWindow = _-0RM.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, _-4F9);
            };
            if (_-0Ib != null)
            {
                k = 0;
                while (k < _-0Ib.numListItems)
                {
                    k = _-0Ib.getListItemAt(k);
                    k.addEventListener(WindowMouseEvent._-90, _-435);
                    k++;
                };
            };
            _-50s = _-0RM.findChildByTag("catalog");
            if (_-50s != null)
            {
                _-50s.addEventListener(WindowMouseEvent._-90, _-zO);
            };
            var k:IBitmapWrapperWindow = (_-0RM.findChildByName("icon_disc") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (_-0dg.assets.getAssetByName("jb_icon_disc") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IBitmapWrapperWindow = (_-0RM.findChildByName("icon_composer") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (_-0dg.assets.getAssetByName("jb_icon_composer") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IRegionWindow = (_-2Gw.getListItemByName("owner_region") as IRegionWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, _-03q);
                k.addEventListener(WindowMouseEvent._-4ea, _-03q);
                k.addEventListener(WindowMouseEvent._-4e2, _-03q);
            };
        }
        private function set _-2tU(_arg1:String):void
        {
            var k:IWindowContainer = (_-2Gw.getListItemByName("trackname_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.getChildByName("track_name_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.visible = true;
            k.height = (k.textHeight + 5);
        }
        private function set _-2w3(_arg1:String):void
        {
            var k:IWindowContainer = (_-2Gw.getListItemByName("creatorname_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.getChildByName("track_creator_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.visible = true;
            k.height = (k.textHeight + 5);
        }
        public function _-4m5(_arg1:_-Zn):void
        {
            if (_arg1.type == _-Zn._-4Jx)
            {
                this._-0hW = _arg1._-FX;
            };
            if (_arg1._-FX == this._-0hW)
            {
                this._-3vA = _arg1._-cq;
                this._-4w- = _arg1._-0Hj;
                this._-H6((this._-0hW >= 0));
            };
        }
        private function _-H6(_arg1:Boolean):void
        {
            var k:String;
            var k:ITextWindow = (_-2Gw.getListItemByName("now_playing_text") as ITextWindow);
            if (k != null)
            {
                if (_arg1)
                {
                    k = _-0dg.localizations.getKey("infostand.jukebox.text.now.playing");
                }
                else
                {
                    k = _-0dg.localizations.getKey("infostand.jukebox.text.not.playing");
                };
                k.text = k;
            };
            if (_arg1)
            {
                this._-2tU = this._-3vA;
                this._-2w3 = this._-4w-;
            }
            else
            {
                this._-2tU = "";
                this._-2w3 = "";
            };
            updateWindow();
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF._-1Fb

package _-3ZF
{
    import _-0mD._-2Jq;
    import _-og._-0ER;
    import _-og._-Zn;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-295._-243;
    import _-1ae.IItemListWindow;
    import _-1ae.IBorderWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-2HX._-1Vb;

    public class _-1Fb extends InfoStandFurniView 
    {

        private var _-0hW:int = -1;

        public function _-1Fb(_arg1:_-3CG, _arg2:String, _arg3:_-2Jq)
        {
            super(_arg1, _arg2, _arg3);
        }
        override public function dispose():void
        {
            super.dispose();
        }
        override public function update(_arg1:_-0ER):void
        {
            super.update(_arg1);
            this._-0hW = this._-VB(_arg1._-1gg);
        }
        public function _-4m5(_arg1:_-Zn):void
        {
            if ((((_arg1.type == _-Zn._-1uK)) && ((_arg1._-FX == this._-0hW))))
            {
                this._-5-Z = _arg1._-cq;
                this._-QT = _arg1._-0Hj;
            };
        }
        override protected function createWindow(_arg1:String):void
        {
            var k:IWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:int;
            var k:_-243 = (_-0dg.assets.getAssetByName("songdisk_view") as _-243);
            _-0xv = (_-0dg.windowManager.buildFromXML((k.content as XML)) as IItemListWindow);
            if (_-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            _-0RM = (_-0xv.getListItemByName("info_border") as IBorderWindow);
            _-0Ib = (_-0xv.getListItemByName("button_list") as IItemListWindow);
            if (_-0RM != null)
            {
                _-2Gw = (_-0RM.findChildByName("infostand_element_list") as IItemListWindow);
            };
            _-0xv.name = _arg1;
            _-0dg.mainContainer.addChild(_-0xv);
            var k:IWindow = _-0RM.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, _-4F9);
            };
            if (_-0Ib != null)
            {
                k = 0;
                while (k < _-0Ib.numListItems)
                {
                    k = _-0Ib.getListItemAt(k);
                    k.addEventListener(WindowMouseEvent._-90, _-435);
                    k++;
                };
            };
            _-50s = _-0RM.findChildByTag("catalog");
            if (_-50s != null)
            {
                _-50s.addEventListener(WindowMouseEvent._-90, _-zO);
            };
            var k:IBitmapWrapperWindow = (_-0RM.findChildByName("icon_disc") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (_-0dg.assets.getAssetByName("jb_icon_disc") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IBitmapWrapperWindow = (_-0RM.findChildByName("icon_composer") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (_-0dg.assets.getAssetByName("jb_icon_composer") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IRegionWindow = (_-2Gw.getListItemByName("owner_region") as IRegionWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, _-03q);
                k.addEventListener(WindowMouseEvent._-4ea, _-03q);
                k.addEventListener(WindowMouseEvent._-4e2, _-03q);
            };
        }
        private function set _-5-Z(_arg1:String):void
        {
            var k:IWindowContainer = (_-2Gw.getListItemByName("trackname_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.getChildByName("track_name_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.visible = true;
            k.height = (k.textHeight + 5);
            updateWindow();
        }
        private function set _-QT(_arg1:String):void
        {
            var k:IWindowContainer = (_-2Gw.getListItemByName("creatorname_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.getChildByName("track_creator_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.visible = true;
            k.height = (k.textHeight + 5);
            updateWindow();
        }
        private function _-VB(_arg1:String):int
        {
            var k:String;
            if (_arg1 != null)
            {
                k = _arg1.substr(_-1Vb._-0WK.length, _arg1.length);
                return (parseInt(k));
            };
            return (-1);
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF._-1SG

package _-3ZF
{
    import _-og._-3c;

    public class _-1SG 
    {

        private var _-4lu:int = 0;
        private var _name:String = "";
        private var _-38s:Array;
        private var _-2L7:int = 0;
        private var _-57T:int = 0;
        private var _-4kI:Boolean;
        private var _-1rP:Boolean;
        private var _-4PL:Array;

        public function _-1SG()
        {
            this._-38s = [];
            super();
        }
        public function set userId(_arg1:int):void
        {
            this._-4lu = _arg1;
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function set badges(_arg1:Array):void
        {
            this._-38s = _arg1;
        }
        public function set _-1sC(_arg1:int):void
        {
            this._-2L7 = _arg1;
        }
        public function set _-1V8(_arg1:int):void
        {
            this._-57T = _arg1;
        }
        public function set _-42g(_arg1:Boolean):void
        {
            this._-4kI = _arg1;
        }
        public function set _-36A(_arg1:Boolean):void
        {
            this._-1rP = _arg1;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get badges():Array
        {
            return (this._-38s.slice());
        }
        public function get _-1sC():int
        {
            return (this._-2L7);
        }
        public function get _-1V8():int
        {
            return (this._-57T);
        }
        public function get _-42g():Boolean
        {
            return (this._-4kI);
        }
        public function get _-36A():Boolean
        {
            return (this._-1rP);
        }
        public function get _-0zR():Array
        {
            return (this._-4PL);
        }
        public function set _-0zR(_arg1:Array):void
        {
            this._-4PL = _arg1;
        }
        public function _-1Tu(_arg1:_-3c):void
        {
            this.userId = _arg1._-2-w;
            this.name = _arg1.name;
            this.badges = _arg1.badges;
            this._-1sC = _arg1._-1sC;
            this._-1V8 = _arg1._-1V8;
            this._-42g = _arg1._-42g;
            this._-36A = _arg1._-36A;
            this._-0zR = _arg1._-0zR;
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF._-2x8

package _-3ZF
{
    import flash.display.BitmapData;
    import _-og._-3Sk;

    public class _-2x8 
    {

        private var _-55e:int;
        private var _-4dY:int;
        private var _-Up:int;
        private var _-4oD:int;
        private var _-30x:int;
        private var _-5DQ:int;
        private var _-3FW:int;
        private var _-0Su:int;
        private var _-1yq:int;
        private var _name:String = "";
        private var _-b:int = -1;
        private var _-5K:int;
        private var _-z3:int;
        private var _-4Gj:BitmapData;
        private var _-WO:Boolean;
        private var _-2U6:int;
        private var _-237:String;
        private var _-4uJ:Boolean;
        private var _-0b1:int;
        private var _-4tD:int;
        private var _-1EN:int;
        private var _-10S:Array;
        private var _-1BS:int;
        private var _-1KD:int;
        private var _-2Yx:Boolean;
        private var _-2S6:int;
        private var _-1Sx:int;
        private var _-3r-:int;

        public function get name():String
        {
            return (this._name);
        }
        public function get id():int
        {
            return (this._-b);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get race():int
        {
            return (this._-z3);
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function get _-00I():Boolean
        {
            return (this._-WO);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get _-hX():Boolean
        {
            return (this._-4uJ);
        }
        public function get age():int
        {
            return (this._-4tD);
        }
        public function get _-0qy():int
        {
            return (this._-1EN);
        }
        public function get _-2YM():Array
        {
            return (this._-10S);
        }
        public function get _-3fV():int
        {
            return (this._-1BS);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get _-0Cc():int
        {
            return (this._-4dY);
        }
        public function get experience():int
        {
            return (this._-Up);
        }
        public function get _-2fu():int
        {
            return (this._-4oD);
        }
        public function get energy():int
        {
            return (this._-30x);
        }
        public function get _-Ds():int
        {
            return (this._-5DQ);
        }
        public function get _-4Z1():int
        {
            return (this._-3FW);
        }
        public function get _-3IJ():int
        {
            return (this._-0Su);
        }
        public function get _-4pW():int
        {
            return (this._-1yq);
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function get _-0E2():int
        {
            return (this._-2S6);
        }
        public function get _-0Ez():int
        {
            return (this._-1Sx);
        }
        public function get _-35w():int
        {
            return (this._-3r-);
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }
        public function _-1Tu(_arg1:_-3Sk):void
        {
            this._name = _arg1.name;
            this._-b = _arg1.id;
            this._-5K = _arg1._-1pq;
            this._-z3 = _arg1._-1Jx;
            this._-4Gj = _arg1.image;
            this._-WO = _arg1._-00I;
            this._-2U6 = _arg1._-nJ;
            this._-237 = _arg1._-0aC;
            this._-4uJ = _arg1._-hX;
            this._-55e = _arg1.level;
            this._-4dY = _arg1._-0Cc;
            this._-Up = _arg1.experience;
            this._-4oD = _arg1._-2fu;
            this._-30x = _arg1.energy;
            this._-5DQ = _arg1._-Ds;
            this._-3FW = _arg1._-4Z1;
            this._-0Su = _arg1._-3IJ;
            this._-1yq = _arg1._-4pW;
            this._-0b1 = _arg1._-0KC;
            this._-4tD = _arg1.age;
            this._-1EN = _arg1._-0qy;
            this._-10S = _arg1._-2YM;
            this._-1BS = _arg1._-3fV;
            this._-2S6 = _arg1._-0E2;
            this._-1Sx = _arg1._-0Ez;
            this._-3r- = _arg1._-35w;
            this._-1KD = _arg1.rarityLevel;
            this._-2Yx = _arg1._-4td;
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF._-3CG

package _-3ZF
{
    import _-FP._-2ul;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import _-4Wu._-4uR;
    import _-0mD._-2Jq;
    import flash.events.TimerEvent;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-4f7.InfoStandWidgetHandler;
    import _-Ew.IWindow;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-295._-2kE;
    import _-295._-243;
    import _-og._-4Iz;
    import _-og._-08b;
    import _-og._-0ER;
    import _-og._-3c;
    import _-og._-19V;
    import _-og._-3Sk;
    import _-og._-2hh;
    import _-og._-Zn;
    import _-og._-4XG;
    import flash.events.IEventDispatcher;
    import _-1FD._-3VD;
    import _-2HX._-1Vb;
    import _-og._-49d;
    import _-1FD._-1m0;

    public class _-3CG extends _-2ul 
    {

        private const _-41e:String = "infostand_user_view";
        private const _-1uM:String = "infostand_furni_view";
        private const _-1yE:String = "infostand_pet_view";
        private const _-1Ja:String = "infostand_bot_view";
        private const _-3WX:String = "infostand_rentable_bot_view";
        private const _-3Ih:String = "infostand_jukebox_view";
        private const _-040:String = "infostand_songdisk_view";
        private const _-1i7:int = 3000;

        private var _-4GC:InfoStandFurniView;
        private var _-1FY:InfoStandUserView;
        private var _-48E:InfoStandPetView;
        private var _-4TJ:InfoStandBotView;
        private var _-3fi:InfoStandRentableBotView;
        private var _-4iJ:_-0yr;
        private var _-1UR:_-1Fb;
        private var _-3SZ:Array;
        private var _-3sI:_-3hz;
        private var _-Or:_-3tI;
        private var _-BJ:_-2x8;
        private var _-22T:_-1SG;
        private var _-4oy:IWindowContainer;
        private var _-4j6:Timer;
        private var _-0Xx:_-4uR;
        private var _-3oJ:_-2Jq;

        public function _-3CG(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-4uR, _arg6:_-2Jq)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-0Xx = _arg5;
            this._-3oJ = _arg6;
            this._-4GC = new InfoStandFurniView(this, this._-1uM, this._-3oJ);
            this._-1FY = new InfoStandUserView(this, this._-41e);
            this._-48E = new InfoStandPetView(this, this._-1yE, this._-3oJ);
            this._-4TJ = new InfoStandBotView(this, this._-1Ja);
            this._-3fi = new InfoStandRentableBotView(this, this._-3WX, this._-3oJ);
            this._-4iJ = new _-0yr(this, this._-3Ih, this._-3oJ);
            this._-1UR = new _-1Fb(this, this._-040, this._-3oJ);
            this._-3sI = new _-3hz();
            this._-Or = new _-3tI();
            this._-BJ = new _-2x8();
            this._-22T = new _-1SG();
            this._-4j6 = new Timer(this._-1i7);
            this._-4j6.addEventListener(TimerEvent.TIMER, this._-2TE);
            this.mainContainer.visible = false;
            this.handler.widget = this;
        }
        public function get handler():InfoStandWidgetHandler
        {
            return ((_-0nf as InfoStandWidgetHandler));
        }
        public function get _-41p():InfoStandFurniView
        {
            return (this._-4GC);
        }
        override public function get mainWindow():IWindow
        {
            return (this.mainContainer);
        }
        public function get config():_-4uR
        {
            return (this._-0Xx);
        }
        public function get mainContainer():IWindowContainer
        {
            if (this._-4oy == null)
            {
                this._-4oy = (windowManager.createWindow("infostand_main_container", "", _-4Pi._-0Dc, _-29z.NULL, _-3hb.NULL, new Rectangle(0, 0, 50, 100)) as IWindowContainer);
                this._-4oy.tags.push("room_widget_infostand");
                this._-4oy.background = true;
                this._-4oy.color = 0;
            };
            return (this._-4oy);
        }
        public function _-36k(_arg1:int, _arg2:int, _arg3:int, _arg4:String):void
        {
            var k:String;
            if (((!(this.userData)) || (!((this.userData._-1V8 == _arg1)))))
            {
                return;
            };
            if (!this.mainContainer)
            {
                return;
            };
            var k:IWindow = this.mainContainer.findChildByName(this._-41e);
            if (((!(k)) || (!(k.visible))))
            {
                return;
            };
            this._-1FY._-2mw();
            if (_arg2 != -1)
            {
                k = this.handler.container.sessionDataManager._-0h5(_arg2);
                this.userData.groupId = _arg2;
                this.userData._-1lA = k;
                this.userData.groupName = _arg4;
                this._-1FY._-nf(k);
            };
        }
        public function getXmlWindow(_arg1:String):IWindow
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var window:IWindow;
            try
            {
                asset = assets.getAssetByName(name);
                xmlAsset = _-243(asset);
                window = windowManager.buildFromXML(XML(xmlAsset.content));
            }
            catch(e:Error)
            {
                _-Nb.log(("[InfoStandWidget] Missing window XML: " + name));
            };
            return (window);
        }
        override public function dispose():void
        {
            if (this._-4j6)
            {
                this._-4j6.stop();
            };
            this._-4j6 = null;
            if (this._-1FY)
            {
                this._-1FY.dispose();
            };
            this._-1FY = null;
            if (this._-4GC)
            {
                this._-4GC.dispose();
            };
            this._-4GC = null;
            if (this._-4TJ)
            {
                this._-4TJ.dispose();
            };
            this._-4TJ = null;
            if (this._-3fi)
            {
                this._-3fi.dispose();
            };
            this._-3fi = null;
            if (this._-48E)
            {
                this._-48E.dispose();
            };
            this._-48E = null;
            if (this._-4iJ)
            {
                this._-4iJ.dispose();
            };
            this._-4iJ = null;
            if (this._-1UR)
            {
                this._-1UR.dispose();
            };
            this._-1UR = null;
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-4Iz._-4nQ, this._-1d6);
            _arg1.addEventListener(_-4Iz._-wH, this._-4F9);
            _arg1.addEventListener(_-4Iz._-58q, this._-2xD);
            _arg1.addEventListener(_-4Iz._-1AW, this._-2xD);
            _arg1.addEventListener(_-08b._-4v8, this._-3y);
            _arg1.addEventListener(_-08b._-0tH, this._-3y);
            _arg1.addEventListener(_-08b.BOT, this._-vq);
            _arg1.addEventListener(_-0ER._-0Qg, this._-4ql);
            _arg1.addEventListener(_-3c.RENTABLE_BOT, this._-0hD);
            _arg1.addEventListener(_-19V._-30R, this._-46g);
            _arg1.addEventListener(_-3Sk.PET_INFO, this._-bR);
            _arg1.addEventListener(_-2hh.PET_COMMANDS, this._-4lb);
            _arg1.addEventListener(_-2hh._-155, this._-0LR);
            _arg1.addEventListener(_-2hh._-3rM, this._-43N);
            _arg1.addEventListener(_-Zn._-4Jx, this._-2Y6);
            _arg1.addEventListener(_-Zn._-1uK, this._-2Y6);
            _arg1.addEventListener(_-4XG._-18W, this._-2Hd);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-4Iz._-4nQ, this._-1d6);
            _arg1.removeEventListener(_-4Iz._-wH, this._-4F9);
            _arg1.removeEventListener(_-4Iz._-58q, this._-2xD);
            _arg1.removeEventListener(_-4Iz._-1AW, this._-2xD);
            _arg1.removeEventListener(_-08b._-4v8, this._-3y);
            _arg1.removeEventListener(_-08b._-0tH, this._-3y);
            _arg1.removeEventListener(_-08b.BOT, this._-vq);
            _arg1.removeEventListener(_-0ER._-0Qg, this._-4ql);
            _arg1.removeEventListener(_-19V._-30R, this._-46g);
            _arg1.removeEventListener(_-3Sk.PET_INFO, this._-bR);
            _arg1.removeEventListener(_-2hh.PET_COMMANDS, this._-4lb);
            _arg1.removeEventListener(_-2hh._-155, this._-0LR);
            _arg1.removeEventListener(_-2hh._-3rM, this._-43N);
            _arg1.removeEventListener(_-Zn._-4Jx, this._-2Y6);
            _arg1.removeEventListener(_-Zn._-1uK, this._-2Y6);
            _arg1.removeEventListener(_-4XG._-18W, this._-2Hd);
        }
        public function get _-25D():_-1SG
        {
            return (this._-22T);
        }
        public function get userData():_-3hz
        {
            return (this._-3sI);
        }
        public function get furniData():_-3tI
        {
            return (this._-Or);
        }
        public function get _-0FP():_-2x8
        {
            return (this._-BJ);
        }
        private function _-2TE(_arg1:TimerEvent):void
        {
            if (this._-48E == null)
            {
                return;
            };
            messageListener.processWidgetMessage(new _-3VD(_-3VD._-3Om, this._-48E._-2dM()));
        }
        private function _-3y(_arg1:_-08b):void
        {
            this.userData._-1Tu(_arg1);
            this._-1FY.update(_arg1);
            this._-1Ak(this._-41e);
            if (this._-4j6)
            {
                this._-4j6.stop();
            };
        }
        private function _-vq(_arg1:_-08b):void
        {
            this.userData._-1Tu(_arg1);
            this._-4TJ.update(_arg1);
            this._-1Ak(this._-1Ja);
            if (this._-4j6)
            {
                this._-4j6.stop();
            };
        }
        private function _-0hD(_arg1:_-3c):void
        {
            this._-25D._-1Tu(_arg1);
            this._-3fi.update(_arg1);
            this._-1Ak(this._-3WX);
            if (this._-4j6)
            {
                this._-4j6.stop();
            };
        }
        private function _-4ql(_arg1:_-0ER):void
        {
            this.furniData._-1Tu(_arg1);
            if (_arg1._-1gg == _-1Vb._-2dB)
            {
                this._-4iJ.update(_arg1);
                this._-1Ak(this._-3Ih);
            }
            else
            {
                if (_arg1._-1gg.indexOf(_-1Vb._-0WK) != -1)
                {
                    this._-1UR.update(_arg1);
                    this._-1Ak(this._-040);
                }
                else
                {
                    this._-4GC.update(_arg1);
                    this._-1Ak(this._-1uM);
                };
            };
            if (this._-4j6)
            {
                this._-4j6.stop();
            };
        }
        private function _-bR(_arg1:_-3Sk):void
        {
            this._-0FP._-1Tu(_arg1);
            this.userData._-193 = _arg1._-193;
            this._-48E.update(this._-0FP);
            this._-1Ak(this._-1yE);
            if (this._-4j6)
            {
                this._-4j6.start();
            };
        }
        private function _-2Hd(_arg1:_-4XG):void
        {
            this._-48E._-2A(_arg1._-3yD, _arg1.image);
        }
        private function _-4lb(_arg1:_-2hh):void
        {
            this._-48E._-1Rk(_arg1.id, new CommandConfiguration(_arg1._-O2, _arg1._-1sl));
        }
        private function _-0LR(_arg1:_-49d):void
        {
            this._-48E._-0fC();
        }
        private function _-43N(_arg1:_-49d):void
        {
            this._-48E._-0nc();
        }
        private function _-46g(_arg1:_-19V):void
        {
            if (_arg1._-3xL)
            {
                this._-3SZ = _arg1.tags;
            };
            if (_arg1.userId != this.userData.userId)
            {
                return;
            };
            if (_arg1._-3xL)
            {
                this._-1FY._-4Fz(_arg1.tags);
            }
            else
            {
                this._-1FY._-4Fz(_arg1.tags, this._-3SZ);
            };
        }
        public function _-uC(_arg1:int, _arg2:String, _arg3:int, _arg4:String, _arg5:Boolean):void
        {
            if (_arg1 != this.userData.userId)
            {
                return;
            };
            if (this.userData._-4Vi())
            {
                this._-4TJ._-0E1(_arg2);
            }
            else
            {
                this._-1FY._-0E1(_arg2);
                this._-1FY._-2Gd(_arg4, _arg5);
                this._-1FY._-4pE = _arg3;
            };
        }
        public function _-1jh(_arg1:int, _arg2:Array):void
        {
            var k:String;
            if (_arg1 != this.userData.userId)
            {
                return;
            };
            this.userData.badges = _arg2;
            if (this.userData._-4Vi())
            {
                this._-4TJ._-3Tp();
            }
            else
            {
                this._-1FY._-3Tp();
            };
            for each (k in _arg2)
            {
                this._-3a2(k);
            };
        }
        public function _-3a2(_arg1:String):void
        {
            var k:int = this.userData.badges.indexOf(_arg1);
            if (k >= 0)
            {
                if (this.userData._-4Vi())
                {
                    this._-4TJ._-2E6(k, _arg1);
                }
                else
                {
                    this._-1FY._-2E6(k, _arg1);
                };
                return;
            };
            if (_arg1 == this.userData._-1lA)
            {
                this._-1FY._-nf(_arg1);
            };
        }
        private function _-1d6(_arg1:_-4Iz):void
        {
            var k:_-1m0 = new _-1m0(_-1m0._-q2, _arg1.id, _arg1.category);
            messageListener.processWidgetMessage(k);
        }
        private function _-2xD(_arg1:_-4Iz):void
        {
            var k:Boolean;
            switch (_arg1.type)
            {
                case _-4Iz._-1AW:
                    k = (_arg1.id == this._-Or.id);
                    break;
                case _-4Iz._-58q:
                    if (((((!((this._-1FY == null))) && (!((this._-1FY.window == null))))) && (this._-1FY.window.visible)))
                    {
                        k = (_arg1.id == this._-3sI._-1V8);
                        break;
                    };
                    if (((((!((this._-48E == null))) && (!((this._-48E.window == null))))) && (this._-48E.window.visible)))
                    {
                        k = (_arg1.id == this._-BJ._-0KC);
                        break;
                    };
                    if (((((!((this._-4TJ == null))) && (!((this._-4TJ.window == null))))) && (this._-4TJ.window.visible)))
                    {
                        k = (_arg1.id == this._-3sI._-1V8);
                        break;
                    };
                    if (((((!((this._-3fi == null))) && (!((this._-3fi.window == null))))) && (this._-3fi.window.visible)))
                    {
                        k = (_arg1.id == this._-22T._-1V8);
                        break;
                    };
            };
            if (k)
            {
                this.close();
            };
        }
        private function _-2Y6(_arg1:_-Zn):void
        {
            this._-4iJ._-4m5(_arg1);
            this._-1UR._-4m5(_arg1);
        }
        public function close():void
        {
            this._-LK();
            if (this._-4j6)
            {
                this._-4j6.stop();
            };
        }
        private function _-4F9(_arg1:_-4Iz):void
        {
            this.close();
            if (this._-4j6)
            {
                this._-4j6.stop();
            };
        }
        private function _-LK():void
        {
            var k:int;
            if (this._-4oy != null)
            {
                k = 0;
                while (k < this._-4oy.numChildren)
                {
                    this._-4oy.getChildAt(k).visible = false;
                    k++;
                };
            };
        }
        public function _-3Gb():Boolean
        {
            var k:IWindow;
            if (this._-4oy != null)
            {
                k = (this._-4oy.getChildByName(this._-1uM) as IWindow);
                if (k != null)
                {
                    return (k.visible);
                };
            };
            return (false);
        }
        private function _-1Ak(_arg1:String):void
        {
            this._-LK();
            var k:IWindow = (this.mainContainer.getChildByName(_arg1) as IWindow);
            if (k == null)
            {
                return;
            };
            k.visible = true;
            this.mainContainer.visible = true;
            this.mainContainer.width = k.width;
            this.mainContainer.height = k.height;
        }
        public function _-2qX():void
        {
            var k:IWindow;
            var k:int;
            while (k < this.mainContainer.numChildren)
            {
                k = this.mainContainer.getChildAt(k);
                if (k.visible)
                {
                    this.mainContainer.width = k.width;
                    this.mainContainer.height = k.height;
                };
                k++;
            };
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF._-3hz

package _-3ZF
{
    import _-og._-08b;

    public class _-3hz 
    {

        private var _-4lu:int = 0;
        private var _-2lb:String = "";
        private var _-38s:Array;
        private var _-5CV:int = 0;
        private var _-3jX:String = "";
        private var _-5Ea:String = "";
        private var _-0MM:int = 0;
        private var _-2L7:int = 0;
        private var _-57T:int = 0;
        private var _-5K:String;
        private var _-1Zk:int = 0;

        public function _-3hz()
        {
            this._-38s = [];
            super();
        }
        public function set userId(_arg1:int):void
        {
            this._-4lu = _arg1;
        }
        public function set userName(_arg1:String):void
        {
            this._-2lb = _arg1;
        }
        public function set badges(_arg1:Array):void
        {
            this._-38s = _arg1;
        }
        public function set groupId(_arg1:int):void
        {
            this._-5CV = _arg1;
        }
        public function set groupName(_arg1:String):void
        {
            this._-3jX = _arg1;
        }
        public function set _-1lA(_arg1:String):void
        {
            this._-5Ea = _arg1;
        }
        public function set _-2Vb(_arg1:int):void
        {
            this._-0MM = _arg1;
        }
        public function set _-1sC(_arg1:int):void
        {
            this._-2L7 = _arg1;
        }
        public function set _-1V8(_arg1:int):void
        {
            this._-57T = _arg1;
        }
        public function set type(_arg1:String):void
        {
            this._-5K = _arg1;
        }
        public function set _-193(_arg1:int):void
        {
            this._-1Zk = _arg1;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get badges():Array
        {
            return (this._-38s.slice());
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function get _-1lA():String
        {
            return (this._-5Ea);
        }
        public function get _-2Vb():int
        {
            return (this._-0MM);
        }
        public function get _-1sC():int
        {
            return (this._-2L7);
        }
        public function get _-1V8():int
        {
            return (this._-57T);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get _-193():int
        {
            return (this._-1Zk);
        }
        public function _-4Vi():Boolean
        {
            return ((this.type == _-08b.BOT));
        }
        public function _-1Tu(_arg1:_-08b):void
        {
            this.userId = _arg1._-2-w;
            this.userName = _arg1.name;
            this.badges = _arg1.badges;
            this.groupId = _arg1.groupId;
            this.groupName = _arg1.groupName;
            this._-1lA = _arg1._-1lA;
            this._-2Vb = _arg1._-2Vb;
            this._-1sC = _arg1._-1sC;
            this._-1V8 = _arg1._-1V8;
            this.type = _arg1.type;
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF._-3tI

package _-3ZF
{
    import flash.display.BitmapData;
    import _-293._-4q2;
    import _-og._-0ER;

    public class _-3tI 
    {

        private var _-0Kq:int = 0;
        private var _-JS:int = 0;
        private var _name:String = "";
        private var _-1Td:String = "";
        private var _-4Gj:BitmapData;
        private var _-3k2:int = -1;
        private var _-2W3:int = -1;
        private var _-2Uq:String = "";
        private var _-56Y:_-4q2 = null;
        private var _-5CV:int;
        private var _-2U6:int = 0;
        private var _-237:String = "";

        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function set category(_arg1:int):void
        {
            this._-JS = _arg1;
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function set description(_arg1:String):void
        {
            this._-1Td = _arg1;
        }
        public function set image(_arg1:BitmapData):void
        {
            this._-4Gj = _arg1;
        }
        public function set catalogPageId(_arg1:int):void
        {
            this._-3k2 = _arg1;
        }
        public function set offerId(_arg1:int):void
        {
            this._-2W3 = _arg1;
        }
        public function set _-1gg(_arg1:String):void
        {
            this._-2Uq = _arg1;
        }
        public function set _-vM(_arg1:_-4q2):void
        {
            this._-56Y = _arg1;
        }
        public function set groupId(_arg1:int):void
        {
            this._-5CV = _arg1;
        }
        public function set _-nJ(_arg1:int):void
        {
            this._-2U6 = _arg1;
        }
        public function set _-0aC(_arg1:String):void
        {
            this._-237 = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function get catalogPageId():int
        {
            return (this._-3k2);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-1gg():String
        {
            return (this._-2Uq);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function _-1Tu(_arg1:_-0ER):void
        {
            this.id = _arg1.id;
            this.category = _arg1.category;
            this.name = _arg1.name;
            this.description = _arg1.description;
            this.image = _arg1.image;
            this.catalogPageId = _arg1.catalogPageId;
            this.offerId = _arg1.offerId;
            this._-1gg = _arg1._-1gg;
            this._-vM = _arg1._-vM;
            this.groupId = _arg1.groupId;
            this._-0aC = _arg1._-0aC;
            this._-nJ = _arg1._-nJ;
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF._-4-u

package _-3ZF
{
    public class _-4-u 
    {

        public static function _-2q-(_arg1:Number):String
        {
            var k:uint = Math.floor(_arg1);
            var k:uint = Math.floor((k / 3600));
            var k:int = (k * 3600);
            var k:uint = ((k - k) / 60);
            var k:uint = ((k - k) - (k * 60));
            var k = (k + ":");
            var k = (((((k < 10)) ? "0" : "") + k) + ":");
            var k:String = ((((k < 10)) ? "0" : "") + k);
            return (((k + k) + k));
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF.CommandConfiguration

package _-3ZF
{
    import flash.utils.Dictionary;

    public class CommandConfiguration 
    {

        private var _-479:Array;
        private var _-3dF:Dictionary;

        public function CommandConfiguration(_arg1:Array, _arg2:Array)
        {
            var k:int;
            var k:int;
            this._-3dF = new Dictionary();
            super();
            this._-479 = _arg1;
            while (k < _arg2.length)
            {
                k = _arg2[k];
                this._-3dF[k] = true;
                k++;
            };
        }
        public function get _-QA():Array
        {
            return (this._-479);
        }
        public function _-12O(_arg1:int):Boolean
        {
            return (!((this._-3dF[_arg1] == null)));
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF.InfoStandBotView

package _-3ZF
{
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IBorderWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.ITextWindow;
    import flash.geom.Rectangle;
    import _-295._-243;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-0Ix._-aY;
    import _-og._-08b;
    import _-1ae.IRegionWindow;
    import _-1C6._-4ky;
    import _-1FD._-1yP;
    import _-1FD._-3VD;
    import _-2gz.HabboTracking;

    public class InfoStandBotView 
    {

        private const _-1eC:int = 5;
        private const _-0PX:int = 3;
        private const _-ms:int = 50;
        private const _-3Ds:int = 23;

        private var _-0dg:_-3CG;
        private var _-0xv:IItemListWindow;
        private var _-2Gw:IItemListWindow;
        private var _-1Xe:IWindowContainer;
        private var _-0RM:IBorderWindow;
        private var _-58e:IBorderWindow;
        private var _-1DG:Boolean = true;

        public function InfoStandBotView(_arg1:_-3CG, _arg2:String)
        {
            this._-0dg = _arg1;
            this.createWindow(_arg2);
            this._-1DG = !(this._-0dg.config.getBoolean("menu.avatar.enabled", false));
        }
        public function dispose():void
        {
            this._-0dg = null;
            this._-0xv.dispose();
            this._-0xv = null;
            this._-4VP();
        }
        public function get window():IItemListWindow
        {
            return (this._-0xv);
        }
        private function updateWindow():void
        {
            if ((((((this._-2Gw == null)) || ((this._-0RM == null)))) || ((this._-1Xe == null))))
            {
                return;
            };
            this._-2Gw.height = this._-2Gw._-2yI.height;
            this._-0RM.height = (this._-2Gw.height + 20);
            this._-0xv.width = Math.max(this._-0RM.width, this._-1Xe.width);
            this._-0xv.height = this._-0xv._-2yI.height;
            if (this._-0RM.width < this._-1Xe.width)
            {
                this._-0RM.x = (this._-0xv.width - this._-0RM.width);
                this._-1Xe.x = 0;
            }
            else
            {
                this._-1Xe.x = (this._-0xv.width - this._-1Xe.width);
                this._-0RM.x = 0;
            };
            this._-0dg._-2qX();
        }
        private function createWindow(_arg1:String):void
        {
            var k:IWindow;
            var k:IWindow;
            this._-0xv = (this._-0dg.getXmlWindow("bot_view") as IItemListWindow);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            this._-0RM = (this._-0xv.getListItemByName("info_border") as IBorderWindow);
            this._-1Xe = (this._-0xv.getListItemByName("button_list") as IWindowContainer);
            this._-2Gw = (this._-0RM.findChildByName("infostand_element_list") as IItemListWindow);
            var k:Array = [];
            this._-1Xe._-507("CMD_BUTTON", k, -1);
            for each (k in k)
            {
                if (k.parent)
                {
                    k.parent.width = k.width;
                };
                k.addEventListener(WindowEvent._-3K0, this._-4Nu);
                k.addEventListener(WindowMouseEvent._-90, this._-435);
            };
            if (this._-0RM != null)
            {
                this._-2Gw = (this._-0RM.findChildByName("infostand_element_list") as IItemListWindow);
            };
            this._-0xv.name = _arg1;
            this._-0dg.mainContainer.addChild(this._-0xv);
            var k:IWindow = this._-0RM.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            var k:int;
            while (k < 5)
            {
                k = this._-0RM.findChildByName(("badge_" + k));
                if (k == null)
                {
                }
                else
                {
                    k.addEventListener(WindowMouseEvent._-4ea, this._-1qd);
                    k.addEventListener(WindowMouseEvent._-4e2, this._-1e7);
                };
                k++;
            };
        }
        private function _-1qd(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow;
            if (_arg1.window == null)
            {
                return;
            };
            var k:int = int(_arg1.window.name.replace("badge_", ""));
            if (k < 0)
            {
                return;
            };
            var k:Array = this._-0dg.userData.badges;
            if (k == null)
            {
                return;
            };
            if (k >= k.length)
            {
                return;
            };
            var k:String = this._-0dg.userData.badges[k];
            if (k == null)
            {
                return;
            };
            this._-Ym();
            k = (this._-58e.getChildByName("name") as ITextWindow);
            if (k != null)
            {
                k.text = this._-0dg.localizations.getBadgeName(k);
            };
            k = (this._-58e.getChildByName("description") as ITextWindow);
            if (k != null)
            {
                k.text = this._-0dg.localizations.getBadgeDesc(k);
            };
            var k:Rectangle = new Rectangle();
            _arg1.window.getGlobalRectangle(k);
            this._-58e.x = (k.left - this._-58e.width);
            this._-58e.y = (k.top + ((k.height - this._-58e.height) / 2));
        }
        private function _-1e7(_arg1:WindowMouseEvent):void
        {
            this._-4VP();
        }
        private function _-Ym():void
        {
            if (this._-58e != null)
            {
                return;
            };
            var k:_-243 = (this._-0dg.assets.getAssetByName("badge_details") as _-243);
            if (k == null)
            {
                return;
            };
            this._-58e = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IBorderWindow);
            if (this._-58e == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
        }
        private function _-4VP():void
        {
            if (this._-58e != null)
            {
                this._-58e.dispose();
                this._-58e = null;
            };
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-0dg.close();
        }
        public function _-0E1(_arg1:String):void
        {
            var k:_-3La = (_-3Yi(this._-0RM.findChildByName("avatar_image")).widget as _-3La);
            k.figure = _arg1;
        }
        public function set name(_arg1:String):void
        {
            var k:ITextWindow = (this._-2Gw.getListItemByName("name_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.visible = true;
        }
        public function _-2Gd(_arg1:String):void
        {
            var k:IWindowContainer = (this._-2Gw.getListItemByName("motto_container") as IWindowContainer);
            if (!k)
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName("motto_text") as ITextWindow);
            var k:IWindowContainer = (this._-2Gw.getListItemByName("motto_spacer") as IWindowContainer);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            if (_arg1 == null)
            {
                k = "";
            };
            k.text = _arg1;
            k.height = Math.min((k.textHeight + this._-1eC), this._-ms);
            k.height = Math.max(k.height, this._-3Ds);
            k.height = (k.height + this._-0PX);
            this.updateWindow();
        }
        public function set _-4pE(_arg1:int):void
        {
            var k:ITextWindow = (this._-2Gw.getListItemByName("score_value") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = String(_arg1);
        }
        public function set _-1sC(_arg1:int):void
        {
            var k:String;
            var k:ITextWindow = (this._-2Gw.getListItemByName("handitem_txt") as ITextWindow);
            var k:IWindowContainer = (this._-2Gw.getListItemByName("handitem_spacer") as IWindowContainer);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            if ((((_arg1 > 0)) && ((_arg1 < 999999))))
            {
                k = this._-0dg.localizations.getKey(("handitem" + _arg1), ("handitem" + _arg1));
                this._-0dg.localizations.registerParameter("infostand.text.handitem", "item", k);
            };
            k.height = (k.textHeight + this._-1eC);
            var k:Boolean = k.visible;
            var k:Boolean = (((_arg1 > 0)) && ((_arg1 < 999999)));
            k.visible = k;
            k.visible = k;
            if (k != k)
            {
                this._-2Gw._-0O3();
            };
            this.updateWindow();
        }
        public function _-2E6(_arg1:int, _arg2:String):void
        {
            var k:_-aY = (_-3Yi(this._-0RM.findChildByName(("badge_" + _arg1))).widget as _-aY);
            k.badgeId = _arg2;
        }
        public function _-3Tp():void
        {
            var k:_-aY;
            var k:int;
            while (k < 5)
            {
                k = (_-3Yi(this._-0RM.findChildByName(("badge_" + k))).widget as _-aY);
                k.badgeId = "";
                k++;
            };
        }
        public function update(_arg1:_-08b):void
        {
            this._-3Tp();
            this._-4ox(_arg1);
            this._-4VN(_arg1);
        }
        private function _-4ox(_arg1:_-08b):void
        {
            this.name = _arg1.name;
            this._-2Gd(_arg1.motto);
            this._-4pE = _arg1._-4pE;
            this._-1sC = _arg1._-1sC;
            this._-0E1(_arg1.figure);
            this._-PY(_arg1.badges);
        }
        private function _-PY(_arg1:Array):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:int;
            while (k < _arg1.length)
            {
                this._-2E6(k, _arg1[k]);
                k++;
            };
        }
        private function _-v6(_arg1:String, _arg2:Boolean=true):void
        {
            if (this._-1Xe == null)
            {
                return;
            };
            var k:IRegionWindow = (this._-1Xe.getChildByName(_arg1) as IRegionWindow);
            var k:IWindow = k.getChildAt(0);
            if (k != null)
            {
                if (_arg2)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
        }
        private function _-XT(_arg1:String, _arg2:Boolean):void
        {
            if (this._-1Xe == null)
            {
                return;
            };
            var k:IWindow = this._-1Xe.getChildByName(_arg1);
            if (k != null)
            {
                k.visible = _arg2;
                this._-1o0();
            };
        }
        protected function _-4VN(_arg1:_-08b):void
        {
            if (this._-1Xe == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-08b.BOT:
                    if (_arg1._-25V)
                    {
                        this._-1Xe.visible = false;
                        break;
                    };
                    if (this._-1DG)
                    {
                        this._-XT("kick", ((((_arg1._-42g) || ((_arg1._-2Hi >= _-4ky._-YE)))) || (_arg1._-36A)));
                    }
                    else
                    {
                        this._-1Xe.visible = false;
                    };
                    break;
            };
            if (this._-0xv != null)
            {
                this._-0xv._-0O3();
            };
            this.updateWindow();
        }
        protected function _-435(_arg1:WindowMouseEvent):void
        {
            var k:_-1yP;
            var k:String;
            var k:IWindow = (_arg1.target as IWindow);
            switch (k.name)
            {
                case "kick":
                    k = _-3VD._-2k0;
                    break;
            };
            if (k != null)
            {
                k = new _-3VD(k, this._-0dg.userData.userId);
                HabboTracking._-0ON().trackEventLog("InfoStand", "click", k);
            };
            if (k != null)
            {
                this._-0dg.messageListener.processWidgetMessage(k);
            };
            this.updateWindow();
        }
        protected function _-4Nu(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.window.parent;
            if (((k) && ((k.tags.indexOf("CMD_BUTTON_REGION") > -1))))
            {
                k.width = _arg1.window.width;
            };
        }
        private function _-1o0():void
        {
            var k:IWindow;
            var k = 250;
            this._-1Xe.width = k;
            var k:Array = [];
            this._-1Xe._-507("CMD_BUTTON_REGION", k, -1);
            var k:int = k;
            var k:int;
            for each (k in k)
            {
                if (!k.visible)
                {
                }
                else
                {
                    if ((k - k.width) < 0)
                    {
                        k = (k + 30);
                    };
                    k.x = (k - k.width);
                    k.y = k;
                    k = (k.x - 5);
                };
            };
            this._-1Xe.height = (k + 25);
            this.updateWindow();
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF.InfoStandFurniView

package _-3ZF
{
    import _-1ae.IItemListWindow;
    import _-1ae.IBorderWindow;
    import _-0mD._-2Jq;
    import _-2gz._-2UE;
    import _-Ew.IWindow;
    import _-2gz.HabboTracking;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IRegionWindow;
    import _-1ae.ITextWindow;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-Ew.IWindowContainer;
    import _-1FD._-1yP;
    import _-1FD._-2ve;
    import _-1FD._-2jE;
    import _-1FD._-4jZ;
    import _-1ae.IIconWindow;
    import _-1C6._-4ky;
    import _-2HX._-0Dr;
    import _-2HX._-1Vb;
    import _-og._-0ER;
    import _-0Ie.WindowKeyboardEvent;
    import _-18r.Map;
    import _-0Ie.WindowEvent;
    import _-1ae._-3Yi;
    import _-0Ix._-2Aa;
    import _-293._-4q2;
    import _-0Ix._-26h;
    import _-0Ix._-aY;

    public class InfoStandFurniView 
    {

        private const _-2tO:int = 0;
        private const _-3xm:int = 1;
        private const _-3im:int = 2;

        protected var _-0xv:IItemListWindow;
        protected var _-0RM:IBorderWindow;
        protected var _-0Ib:IItemListWindow;
        protected var _-3oJ:_-2Jq;
        protected var _-1e8:_-2UE;
        protected var _-50s:IWindow;
        private var _-2H5:int;
        private var _-2U6:int = 0;
        protected var _-0dg:_-3CG;
        protected var _-2Gw:IItemListWindow;

        public function InfoStandFurniView(_arg1:_-3CG, _arg2:String, _arg3:_-2Jq)
        {
            this._-2H5 = this._-2tO;
            super();
            this._-0dg = _arg1;
            this._-3oJ = _arg3;
            this._-1e8 = HabboTracking._-0ON();
            this.createWindow(_arg2);
        }
        public function dispose():void
        {
            this._-3oJ = null;
            this._-0dg = null;
            this._-0xv.dispose();
            this._-0xv = null;
        }
        public function get window():IItemListWindow
        {
            return (this._-0xv);
        }
        protected function createWindow(_arg1:String):void
        {
            var k:IWindow;
            var k:int;
            var k:_-243 = (this._-0dg.assets.getAssetByName("furni_view") as _-243);
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IItemListWindow);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            this._-0RM = (this._-0xv.getListItemByName("info_border") as IBorderWindow);
            this._-0Ib = (this._-0xv.getListItemByName("button_list") as IItemListWindow);
            if (this._-0RM != null)
            {
                this._-2Gw = (this._-0RM.findChildByName("infostand_element_list") as IItemListWindow);
            };
            this._-0xv.name = _arg1;
            this._-0dg.mainContainer.addChild(this._-0xv);
            var k:IWindow = this._-0RM.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            if (this._-0Ib != null)
            {
                k = 0;
                while (k < this._-0Ib.numListItems)
                {
                    k = this._-0Ib.getListItemAt(k);
                    k.addEventListener(WindowMouseEvent._-90, this._-435);
                    k++;
                };
            };
            this._-50s = this._-0RM.findChildByTag("catalog");
            if (this._-50s != null)
            {
                this._-50s.addEventListener(WindowMouseEvent._-90, this._-zO);
            };
            var k:IRegionWindow = (this._-2Gw.getListItemByName("owner_region") as IRegionWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-03q);
                k.addEventListener(WindowMouseEvent._-4ea, this._-03q);
                k.addEventListener(WindowMouseEvent._-4e2, this._-03q);
            };
            var k:IWindow = this._-0RM.findChildByName("group_details_container");
            if (k)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-17l);
            };
        }
        protected function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-0dg.close();
        }
        public function set name(_arg1:String):void
        {
            var k:ITextWindow = (this._-2Gw.getListItemByName("name_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.visible = true;
            k.height = (k.textHeight + 5);
            this.updateWindow();
        }
        public function set _-23J(_arg1:BitmapData):void
        {
            this._-1xp(_arg1, "image");
        }
        private function _-1xp(_arg1:BitmapData, _arg2:String):void
        {
            var k:IBitmapWrapperWindow = (this._-0RM.findChildByName(_arg2) as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            if (k.bitmap)
            {
                k.bitmap.dispose();
            };
            if (_arg1 == null)
            {
                k = new BitmapData(k.width, 40, true);
            };
            var k:BitmapData = new BitmapData(k.width, _arg1.height, true, 0);
            var k:Point = new Point(((k.width - _arg1.width) / 2), 0);
            k.copyPixels(_arg1, _arg1.rect, k);
            k.height = _arg1.height;
            k.bitmap = k;
            k.visible = true;
            this.updateWindow();
        }
        public function set description(_arg1:String):void
        {
            var k:ITextWindow = (this._-2Gw.getListItemByName("description_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.height = (k.textHeight + 5);
            this.updateWindow();
        }
        public function _-0b8(_arg1:int, _arg2:String):void
        {
            var _local3:IRegionWindow;
            var _local4:ITextWindow;
            this._-2U6 = _arg1;
            if (this._-2U6 == 0)
            {
                this._-3VE("owner_region", false);
                this._-3VE("owner_spacer", false);
            }
            else
            {
                _local3 = (this._-2Gw.getListItemByName("owner_region") as IRegionWindow);
                _local4 = (_local3.findChildByName("owner_name") as ITextWindow);
                _local4.text = _arg2;
                _local3._-2QR = this._-0dg.localizations.getKey("infostand.profile.link.tooltip", "");
                _local3._-1e = 100;
                this._-3VE("owner_region", true);
                this._-3VE("owner_spacer", true);
            };
            this.updateWindow();
        }
        private function set expiration(_arg1:int):void
        {
            var k:ITextWindow = (this._-2Gw.getListItemByName("expiration_text") as ITextWindow);
            var k:IWindowContainer = (this._-2Gw.getListItemByName("expiration_spacer") as IWindowContainer);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            this._-0dg.localizations.registerParameter("infostand.rent.expiration", "minutes", _arg1.toString());
            if (_arg1 <= 0)
            {
                k.height = 0;
                k.height = 0;
            }
            else
            {
                k.height = (k.textHeight + 5);
                k.height = 1;
            };
            this.updateWindow();
        }
        protected function _-435(_arg1:WindowMouseEvent):void
        {
            var k:_-1yP;
            var k:String;
            var k:String;
            var k:int;
            var k:int;
            var k:IWindow = (_arg1.target as IWindow);
            switch (k.name)
            {
                case "rotate":
                    k = _-2ve._-1J6;
                    break;
                case "move":
                    k = _-2ve._-0qX;
                    break;
                case "pickup":
                    if (this._-2H5 == this._-3im)
                    {
                        k = _-2ve._-5-b;
                    }
                    else
                    {
                        k = _-2ve._-1te;
                    };
                    this._-0dg.close();
                    break;
                case "save_branding_configuration":
                    k = _-2ve._-1c4;
                    k = this._-2jV();
                    break;
                case "use":
                    k = _-2ve._-032;
                    break;
            };
            if (k != null)
            {
                k = this._-0dg.furniData.id;
                k = this._-0dg.furniData.category;
                k = new _-2ve(k, k, k, k);
                this._-0dg.messageListener.processWidgetMessage(k);
            };
        }
        private function _-17l(_arg1:WindowMouseEvent):void
        {
            this._-0dg.messageListener.processWidgetMessage(new _-2jE(false, this._-0dg.furniData.groupId));
        }
        protected function _-zO(_arg1:WindowMouseEvent):void
        {
            var k:int;
            var k:int;
            if (this._-3oJ)
            {
                k = this._-0dg.furniData.catalogPageId;
                k = this._-0dg.furniData.offerId;
                if (k > -1)
                {
                    this._-3oJ._-33R(k, k);
                    if (((this._-1e8) && (!(this._-1e8.disposed))))
                    {
                        this._-1e8.trackGoogle("infostandCatalogButton", "offer", k);
                    };
                };
            };
        }
        protected function _-03q(_arg1:WindowMouseEvent):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-0dg.messageListener.processWidgetMessage(new _-4jZ(_-4jZ._-3aE, this._-2U6, "infoStand_furniView"));
            };
            if (_arg1.type == WindowMouseEvent._-4e2)
            {
                IIconWindow(IRegionWindow(_arg1.target).findChildByName("owner_link")).style = 21;
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                IIconWindow(IRegionWindow(_arg1.target).findChildByName("owner_link")).style = 22;
            };
        }
        protected function updateWindow():void
        {
            if ((((((this._-2Gw == null)) || ((this._-0RM == null)))) || ((this._-0Ib == null))))
            {
                return;
            };
            this._-2Gw._-0O3();
            this._-0Ib.width = this._-0Ib._-2yI.width;
            this._-2Gw.height = this._-2Gw._-2yI.height;
            this._-0RM.height = (this._-2Gw.height + 20);
            this._-0xv.width = Math.max(this._-0RM.width, this._-0Ib.width);
            this._-0xv.height = this._-0xv._-2yI.height;
            if (this._-0RM.width < this._-0Ib.width)
            {
                this._-0RM.x = (this._-0xv.width - this._-0RM.width);
                this._-0Ib.x = 0;
            }
            else
            {
                this._-0Ib.x = (this._-0xv.width - this._-0Ib.width);
                this._-0RM.x = 0;
            };
            this._-0dg._-2qX();
        }
        public function update(_arg1:_-0ER):void
        {
            this.name = _arg1.name;
            this.description = _arg1.description;
            this._-23J = _arg1.image;
            this.expiration = _arg1.expiration;
            this._-0b8(_arg1._-nJ, _arg1._-0aC);
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            if ((((((_arg1._-125 >= _-4ky._-YE)) || (_arg1._-49x))) || (_arg1._-3eu)))
            {
                k = true;
                k = true;
            };
            if (k)
            {
                k = !(_arg1._-37N);
            };
            if (_arg1._-3eu)
            {
                k = true;
            };
            var k = (_arg1._-125 >= _-4ky._-YE);
            if ((((((((_arg1._-26m == _-0Dr._-4oA)) || ((((_arg1._-26m == _-0Dr._-3Ez)) && (k))))) || ((((_arg1._-1gg == _-1Vb._-2dB)) && (k))))) || ((((_arg1._-1gg == _-1Vb._-3VZ)) && (k)))))
            {
                k = this._-0dg.config.getBoolean("infostand.use.button.enabled", false);
            };
            this._-2qc(_arg1);
            this._-XT("move", k);
            this._-XT("rotate", k);
            this._-XT("use", k);
            this._-3kN(k);
            this._-2nu((_arg1.groupId > 0));
            if (_arg1.catalogPageId < 0)
            {
                this._-4RD(false);
            }
            else
            {
                this._-4RD(true);
            };
            if (this._-0dg.config.getBoolean("unique.limited.items.enabled", false))
            {
                this._-34Q((_arg1._-vM.uniqueSerialNumber > 0), _arg1._-vM);
            };
            this._-2Q-((_arg1._-vM.rarityLevel >= 0), _arg1._-vM);
            this._-0Ib.visible = ((((((k) || (k))) || (!((this._-2H5 == this._-2tO))))) || (k));
            this.updateWindow();
        }
        private function _-2qc(_arg1:_-0ER):void
        {
            this._-2H5 = this._-2tO;
            if (((_arg1._-M2) || (_arg1._-3eu)))
            {
                this._-2H5 = this._-3im;
            }
            else
            {
                if (((_arg1._-49x) || ((_arg1._-125 >= _-4ky._-3iJ))))
                {
                    this._-2H5 = this._-3xm;
                };
            };
            if (_arg1._-0MR)
            {
                this._-2H5 = this._-2tO;
            };
            this._-XT("pickup", !((this._-2H5 == this._-2tO)));
            this._-2lw(this._-2H5);
        }
        private function _-2lw(_arg1:int):void
        {
            if (this._-0Ib == null)
            {
                return;
            };
            var k:IWindow = this._-0Ib.getListItemByName("pickup");
            if (k != null)
            {
                if (_arg1 == this._-3xm)
                {
                    k.caption = "${infostand.button.eject}";
                }
                else
                {
                    k.caption = "${infostand.button.pickup}";
                };
            };
        }
        private function _-2fi(_arg1:String, _arg2:String):void
        {
            var k:_-243;
            var k:IWindowContainer;
            var k:IWindow;
            var k:IWindow;
            if (this._-2Gw != null)
            {
                k = (this._-0dg.assets.getAssetByName("furni_view_branding_element") as _-243);
                if (k != null)
                {
                    k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
                    if (k != null)
                    {
                        k = k.findChildByName("element_name");
                        if (k != null)
                        {
                            k.caption = _arg1;
                        };
                        k = k.findChildByName("element_value");
                        if (k != null)
                        {
                            k.caption = _arg2;
                            k.addEventListener(WindowKeyboardEvent._-2CS, this._-3jS);
                        };
                        if (((!((k == null))) && (!((k == null)))))
                        {
                            this._-2Gw.addListItem(k);
                        };
                    };
                };
            };
        }
        private function _-sO():Map
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:Map = new Map();
            if (this._-0dg != null)
            {
                k = this._-0dg.furniData._-1gg.substr(_-1Vb._-0d5.length);
                k = k.split("\t");
                if (k != null)
                {
                    for each (k in k)
                    {
                        k = k.split("=", 2);
                        if (((!((k == null))) && ((k.length == 2))))
                        {
                            k = k[0];
                            k = k[1];
                            k.add(k, k);
                        };
                    };
                };
            };
            return (k);
        }
        private function _-2jV():String
        {
            var k:Array;
            var k:IWindowContainer;
            var k:IWindow;
            var k:IWindow;
            var k:String;
            var k:String;
            var k:String = "";
            if (this._-0RM != null)
            {
                k = [];
                this._-0RM._-507("branding_element", k, -1);
                if (k.length > 0)
                {
                    for each (k in k)
                    {
                        k = k.findChildByName("element_name");
                        k = k.findChildByName("element_value");
                        if (((!((k == null))) && (!((k == null)))))
                        {
                            k = this._-24j(k.caption);
                            k = this._-24j(k.caption);
                            k = (k + (((k + "=") + k) + "\t"));
                        };
                    };
                };
            };
            return (k);
        }
        private function _-24j(_arg1:String):String
        {
            if (_arg1 != null)
            {
                if (_arg1.indexOf("\t") != -1)
                {
                    return (_arg1.replace("\t", ""));
                };
            };
            return (_arg1);
        }
        private function _-3kN(_arg1:Boolean):void
        {
            var k:IWindow;
            var k:String;
            var k:Map;
            var k:String;
            var k:String;
            if ((((this._-0dg == null)) || ((this._-0RM == null))))
            {
                return;
            };
            var k:IWindow = this._-0RM.findChildByName("furni_details_spacer");
            if (k != null)
            {
                k.visible = _arg1;
            };
            var k:Array = [];
            this._-0RM._-507("branding_element", k, -1);
            if (k.length > 0)
            {
                for each (k in k)
                {
                    this._-0RM.removeChild(k);
                    k.dispose();
                };
            };
            var k:Boolean;
            var k:IWindow = (this._-0RM.findChildByName("furni_details_text") as ITextWindow);
            if (k != null)
            {
                k.visible = _arg1;
                k = ("id: " + this._-0dg.furniData.id);
                k = this._-sO();
                if (k.length > 0)
                {
                    k = true;
                    for each (k in k._-18C())
                    {
                        k = k.getValue(k);
                        this._-2fi(k, k);
                    };
                };
                k.caption = k;
            };
            this._-XT("save_branding_configuration", k);
        }
        private function _-2nu(_arg1:Boolean):void
        {
            this._-3VE("group_details_spacer", _arg1);
            this._-3VE("group_details_container", _arg1);
            this._-3VE("group_badge_image", false);
            this._-3VE("group_name", false);
        }
        private function _-3VE(_arg1:String, _arg2:Boolean):void
        {
            var k:IWindow = this._-0RM.findChildByName(_arg1);
            if (k)
            {
                k.visible = _arg2;
            };
        }
        private function _-3jS(_arg1:WindowEvent=null, _arg2:IWindow=null):void
        {
        }
        private function _-XT(_arg1:String, _arg2:Boolean):void
        {
            if (this._-0Ib == null)
            {
                return;
            };
            var k:IWindow = this._-0Ib.getListItemByName(_arg1);
            if (k != null)
            {
                k.visible = _arg2;
                this._-0Ib._-0O3();
            };
        }
        private function _-4RD(_arg1:Boolean):void
        {
            if (_arg1)
            {
                if (!this._-2Gw.getListItemByName("catalog_button"))
                {
                    this._-2Gw.addListItem(this._-50s);
                };
                this._-50s.visible = _arg1;
            }
            else
            {
                this._-2Gw._-4sE(this._-50s);
            };
        }
        public function set groupName(_arg1:String):void
        {
            var k:IWindow = this._-0RM.findChildByName("group_name");
            if (k)
            {
                k.caption = _arg1;
                k.visible = true;
            };
        }
        private function _-34Q(_arg1:Boolean, _arg2:_-4q2):void
        {
            var _local5:_-3Yi;
            var _local6:_-2Aa;
            var k:IWindowContainer = (this._-0RM.findChildByName("unique_item_background_container") as IWindowContainer);
            var k:IWindowContainer = (this._-0RM.findChildByName("unique_item_overlay_container") as IWindowContainer);
            if (((!(k)) || (!(k))))
            {
                return;
            };
            if (!_arg1)
            {
                k.visible = false;
                k.visible = false;
            }
            else
            {
                k.visible = true;
                k.visible = true;
                _local5 = _-3Yi(k.findChildByName("unique_item_plaque_widget"));
                _local6 = _-2Aa(_local5.widget);
                _local6._-2GS = _arg2.uniqueSerialNumber;
                _local6._-0O1 = _arg2._-2dO;
            };
        }
        private function _-2Q-(_arg1:Boolean, _arg2:_-4q2):void
        {
            var _local4:_-3Yi;
            var _local5:_-26h;
            var k:IWindowContainer = (this._-0RM.findChildByName("rarity_item_overlay_container") as IWindowContainer);
            if (!k)
            {
                return;
            };
            if (!_arg1)
            {
                k.visible = false;
            }
            else
            {
                k.visible = true;
                _local4 = _-3Yi(k.findChildByName("rarity_item_overlay_widget"));
                _local5 = _-26h(_local4.widget);
                _local5.rarityLevel = _arg2.rarityLevel;
            };
        }
        public function set _-1lA(_arg1:String):void
        {
            var k:_-3Yi = (this._-0RM.findChildByName("group_badge_image") as _-3Yi);
            var k:_-aY = (k.widget as _-aY);
            k.badgeId = _arg1;
            k.groupId = this._-0dg.furniData.groupId;
            k.visible = true;
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF.InfoStandPetView

package _-3ZF
{
    import _-0mD._-2Jq;
    import _-2gz._-2UE;
    import _-1ae.IItemListWindow;
    import _-1ae.IBorderWindow;
    import _-Ew.IWindowContainer;
    import _-18r.Map;
    import _-2gz.HabboTracking;
    import flash.display.BitmapData;
    import _-0l8._-3iK;
    import _-1ae.ITextWindow;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import flash.geom.Point;
    import _-1ae._-3Yi;
    import _-Ew._-2cX;
    import _-0Ix._-2Zl;
    import _-1FD._-1yP;
    import _-1FD._-2ve;
    import _-1FD._-3VD;
    import _-2Mh._-cF;
    import _-3mW._-1sV;
    import _-0Ix._-26h;

    public class InfoStandPetView 
    {

        private static const _-0p2:int = 162;
        private static const _-RE:int = 16;
        private static const _-1Em:int = 4;
        private static const _-0-0:uint = 0xDADADA;
        private static const _-3VM:uint = 0x3A3A3A;
        private static const _-2-u:uint = 2085362;
        private static const _-0YO:uint = 39616;
        private static const _-0q-:uint = 10513106;
        private static const _-0St:uint = 8734654;
        private static const _-5AF:uint = 9094430;
        private static const _-540:uint = 0x5E9D00;
        private static const _-4kz:uint = 9094430;
        private static const _-1-W:uint = 0x5E9D00;
        private static const _-2o3:String = "happiness";
        private static const _-3B9:String = "experience";
        private static const _-1tm:String = "energy";
        private static const _-D3:String = "wellbeing";
        private static const _-1EP:String = "growth";
        private static const _-3f1:int = 250;
        private static const _-hY:int = 25;
        private static const _-3AX:int = 5;

        private var _-3oJ:_-2Jq;
        private var _-1e8:_-2UE;
        private var _-0dg:_-3CG;
        private var _-0xv:IItemListWindow;
        private var _-0RM:IBorderWindow;
        private var _-1Xe:IWindowContainer;
        private var _-2Gw:IItemListWindow;
        private var _-1wX:PetCommandTool;
        private var _-BJ:Map;
        private var _-4iU:int;

        public function InfoStandPetView(_arg1:_-3CG, _arg2:String, _arg3:_-2Jq)
        {
            this._-0dg = _arg1;
            this._-3oJ = _arg3;
            this._-1e8 = HabboTracking._-0ON();
            this.createWindow(_arg2);
            this._-BJ = new Map();
        }
        public function dispose():void
        {
            this._-0dg = null;
            this._-3oJ = null;
            this._-1e8 = null;
            this._-0RM = null;
            this._-1Xe = null;
            this._-2Gw = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
            };
            this._-0xv = null;
            if (this._-1wX)
            {
                this._-1wX.dispose();
            };
            this._-1wX = null;
            if (this._-BJ)
            {
                this._-BJ.dispose();
                this._-BJ = null;
            };
        }
        public function get window():IItemListWindow
        {
            return (this._-0xv);
        }
        private function updateWindow():void
        {
            if ((((((this._-2Gw == null)) || ((this._-0RM == null)))) || ((this._-1Xe == null))))
            {
                return;
            };
            this._-1Xe.width = this._-1Xe.width;
            this._-1Xe.visible = (this._-1Xe.width > 0);
            this._-2Gw.height = this._-2Gw._-2yI.height;
            this._-0RM.height = (this._-2Gw.height + 20);
            this._-0xv.width = Math.max(this._-0RM.width, this._-1Xe.width);
            this._-0xv.height = this._-0xv._-2yI.height;
            if (this._-0RM.width < this._-1Xe.width)
            {
                this._-0RM.x = (this._-0xv.width - this._-0RM.width);
                this._-1Xe.x = 0;
            }
            else
            {
                this._-1Xe.x = (this._-0xv.width - this._-1Xe.width);
                this._-0RM.x = 0;
            };
            this._-0dg._-2qX();
        }
        public function _-2A(_arg1:int, _arg2:BitmapData):void
        {
            if (this._-4iU == _arg1)
            {
                this.image = _arg2;
                this.updateWindow();
                this._-09N(_arg2);
            };
        }
        private function _-09N(_arg1:BitmapData):void
        {
            if (this._-1wX != null)
            {
                this._-1wX._-2kG(_arg1);
            };
        }
        public function update(_arg1:_-2x8):void
        {
            var k:String;
            var k:Number;
            var k:Number;
            var k:int;
            var k:Number;
            this.name = _arg1.name;
            this.image = _arg1.image;
            this._-0aC = _arg1._-0aC;
            this._-598 = this._-0dg.localizations.getKey(this._-4Mt(_arg1.type, _arg1._-0qy));
            this._-03O(_arg1._-4pW, !((_arg1.type == _-3iK._-2CJ)));
            this._-0Uy = _arg1.age;
            this._-1U8(_arg1.level, _arg1._-0Cc, !((_arg1.type == _-3iK._-2CJ)));
            this._-2-8(_arg1.level, _arg1._-2YM, _arg1.type);
            this._-2K5(_arg1.rarityLevel, _arg1.type);
            if (_arg1.type == _-3iK._-2CJ)
            {
                this._-1ak("default", false);
                this._-1ak("monsterplant", true);
                k = _-4-u._-2q-(_arg1._-0Ez);
                this._-231(_-D3, _arg1._-0Ez, _arg1._-0E2, _-1-W, _-4kz, k);
                this._-0z9(_-1EP, _arg1._-35w);
                this._-XT("petrespect", false);
                if (_arg1.energy > 0)
                {
                    k = (_arg1.energy as Number);
                    k = (_arg1._-Ds as Number);
                    this._-XT("pettreat", ((k / k) < 0.98));
                }
                else
                {
                    this._-XT("pettreat", false);
                };
                this._-XT("train", false);
                this._-XT("buy_food", false);
                this._-XT("kick", false);
                this._-XT("pick", _arg1._-hX);
                this._-2Q-((_arg1.rarityLevel >= 0), _arg1);
            }
            else
            {
                this._-1ak("default", true);
                this._-1ak("monsterplant", false);
                this._-XT("petrespect", true);
                this._-XT("pettreat", false);
                this._-XT("train", _arg1._-00I);
                this._-XT("pick", _arg1._-00I);
                this._-XT("buy_food", true);
                this._-XT("kick", _arg1._-hX);
                this._-231(_-2o3, _arg1._-4Z1, _arg1._-3IJ, _-0YO, _-2-u);
                this._-231(_-3B9, _arg1.experience, _arg1._-2fu, _-0St, _-0q-);
                this._-231(_-1tm, _arg1.energy, _arg1._-Ds, _-540, _-5AF);
                this._-1vy();
            };
            this._-XT("move", ((_arg1._-00I) && ((_arg1.type == _-3iK._-2CJ))));
            this._-XT("rotate", ((_arg1._-00I) && ((_arg1.type == _-3iK._-2CJ))));
            this.updateWindow();
            this._-4iU = _arg1.id;
            this._-BJ.remove(_arg1.id);
            this._-BJ.add(_arg1.id, _arg1);
            if (((((this._-1wX) && (this._-1wX._-0m7()))) && (_arg1._-00I)))
            {
                k = this._-4qR(_arg1.level, _arg1._-2YM);
                k = (_arg1.experience / _arg1._-2fu);
                this._-1wX._-3ro(_arg1.id, _arg1.name, _arg1.image, _arg1.type, (_arg1.level - k), k, (this._-4dB(_arg1.level, _arg1._-2YM) - k), _arg1._-2YM);
            };
        }
        private function _-2K5(_arg1:int, _arg2:int):void
        {
            if (this._-2Gw == null)
            {
                return;
            };
            if (_arg2 != _-3iK._-2CJ)
            {
                return;
            };
            var k:IWindowContainer = (this._-2Gw.getListItemByName("status_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName("status_rarity_level") as ITextWindow);
            if (k == null)
            {
                return;
            };
            this._-0dg.localizations.registerParameter("infostand.pet.text.raritylevel", "level", this._-0dg.localizations.getKey(("infostand.pet.raritylevel." + _arg1)));
            this.updateWindow();
        }
        public function _-2dM():int
        {
            return (this._-4iU);
        }
        public function _-1Rk(_arg1:int, _arg2:CommandConfiguration):void
        {
            if (this._-1wX == null)
            {
                return;
            };
            this._-1wX._-1Ci(_arg1, _arg2);
        }
        private function _-4Mt(_arg1:int, _arg2:int):String
        {
            return (((("pet.breed." + _arg1) + ".") + _arg2));
        }
        private function _-6k(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint):BitmapData
        {
            k = Math.max(_arg2, 1);
            k = Math.max(_arg1, 0);
            if (k > k)
            {
            };
            var k:Number = (k / k);
            var k:int = 1;
            var k:BitmapData = new BitmapData(_-0p2, _-RE, false);
            k.fillRect(new Rectangle(0, 0, k.width, k.height), _-0-0);
            var k:Rectangle = new Rectangle(k, k, (k.width - (k * 2)), (k.height - (k * 2)));
            k.fillRect(k, _-3VM);
            var k:Rectangle = new Rectangle(k, (k + _-1Em), (k.width - (k * 2)), ((k.height - (k * 2)) - _-1Em));
            k.width = (k * k.width);
            k.fillRect(k, _arg3);
            var k:Rectangle = new Rectangle(k, k, (k.width - (k * 2)), _-1Em);
            k.width = (k * k.width);
            k.fillRect(k, _arg4);
            return (k);
        }
        public function _-0fC():void
        {
            var k:int;
            var k:Number;
            if (this._-1wX == null)
            {
                this._-1wX = new PetCommandTool(this._-0dg);
            };
            var k:_-2x8 = (this._-BJ.getValue(this._-4iU) as _-2x8);
            if (k != null)
            {
                this._-1wX._-3VE(true);
                k = this._-4qR(k.level, k._-2YM);
                k = (k.experience / k._-2fu);
                this._-1wX._-3ro(k.id, k.name, k.image, k.type, (k.level - k), k, (this._-4dB(k.level, k._-2YM) - k), k._-2YM);
            };
        }
        public function _-0nc():void
        {
            if (((this._-1wX) && ((this._-1wX._-0yB() == this._-4iU))))
            {
                this._-1wX._-3VE(false);
            };
        }
        private function createWindow(_arg1:String):void
        {
            var k:IWindow;
            var k:IBitmapWrapperWindow;
            var k:IWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:_-243 = (this._-0dg.assets.getAssetByName("pet_view") as _-243);
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IItemListWindow);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            this._-0RM = (this._-0xv.getListItemByName("info_border") as IBorderWindow);
            if (this._-0RM != null)
            {
                this._-2Gw = (this._-0RM.findChildByName("infostand_element_list") as IItemListWindow);
            };
            this._-0xv.name = _arg1;
            this._-0dg.mainContainer.addChild(this._-0xv);
            var k:IWindow = this._-0RM.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            this._-1Xe = (this._-0xv.getListItemByName("button_list") as IWindowContainer);
            if (this._-1Xe == null)
            {
                return;
            };
            var k:Array = [];
            this._-1Xe._-507("CMD_BUTTON", k, -1);
            for each (k in k)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-435);
            };
            k = (this._-0RM.findChildByName("petrespect_icon") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (this._-0dg.assets.getAssetByName("icon_petrespect") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IBitmapWrapperWindow = (this._-0RM.findChildByName("status_happiness_icon") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (this._-0dg.assets.getAssetByName("icon_pet_happiness") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IBitmapWrapperWindow = (this._-0RM.findChildByName("status_experience_icon") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (this._-0dg.assets.getAssetByName("icon_pet_experience") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IBitmapWrapperWindow = (this._-0RM.findChildByName("status_energy_icon") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (this._-0dg.assets.getAssetByName("icon_pet_energy") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IBitmapWrapperWindow = (this._-0RM.findChildByName("skill_level_indicator") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (this._-0dg.assets.getAssetByName("pet_skill_level_0") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            var k:IBitmapWrapperWindow = (this._-0RM.findChildByName("status_wellbeing_icon") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (this._-0dg.assets.getAssetByName("icon_pet_wellbeing") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            for each (k in k)
            {
                if (k.parent)
                {
                    k.parent.width = k.width;
                };
                k.addEventListener(WindowEvent._-3K0, this._-4Nu);
            };
        }
        private function set name(_arg1:String):void
        {
            if (this._-2Gw == null)
            {
                return;
            };
            var k:ITextWindow = (this._-2Gw.getListItemByName("name_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.visible = true;
        }
        private function set image(_arg1:BitmapData):void
        {
            if (this._-2Gw == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-2Gw.getListItemByName("image_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (k.findChildByName("avatar_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0);
            var k:Point = new Point(0, 0);
            k.x = Math.round(((k.width - _arg1.width) / 2));
            k.y = Math.round(((k.height - _arg1.height) / 2));
            k.copyPixels(_arg1, _arg1.rect, k);
            k.bitmap = k;
            k.invalidate();
            this.updateWindow();
        }
        private function _-1U8(_arg1:int, _arg2:int, _arg3:Boolean=true):void
        {
            if (this._-2Gw == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-2Gw.getListItemByName("image_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName("level_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.visible = _arg3;
            this._-0dg.localizations.registerParameter("pet.level", "level", _arg1.toString());
            this._-0dg.localizations.registerParameter("pet.level", "maxlevel", _arg2.toString());
            this.updateWindow();
        }
        private function _-2-8(_arg1:int, _arg2:Array, _arg3:int):void
        {
            var k:int;
            var k:BitmapDataAsset;
            var k:BitmapData;
            if (this._-2Gw == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-2Gw.getListItemByName("image_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IWindow = k.findChildByName("status_skill_text");
            k.visible = ((this._-0dg.config.getBoolean("pet.enhancements.enabled", false)) && ((_arg3 == 15)));
            var k:ITextWindow = (k.findChildByName("status_skill_text") as ITextWindow);
            if (k != null)
            {
                k.caption = (("${infostand.pet.text.skill." + _arg3) + "}");
            };
            var k:IBitmapWrapperWindow = (k.findChildByName("skill_level_indicator") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.visible = ((this._-0dg.config.getBoolean("pet.enhancements.enabled", false)) && ((_arg3 == 15)));
                k = this._-2i3(_arg1, _arg2);
                k = (this._-0dg.assets.getAssetByName(("pet_skill_level_" + k)) as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            this.updateWindow();
        }
        private function set _-0aC(_arg1:String):void
        {
            this._-0dg.localizations.registerParameter("infostand.text.petowner", "name", _arg1);
            this.updateWindow();
        }
        private function set _-598(_arg1:String):void
        {
            if (this._-2Gw == null)
            {
                return;
            };
            var k:ITextWindow = (this._-2Gw.getListItemByName("breed_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            this.updateWindow();
        }
        private function set _-0Uy(_arg1:int):void
        {
            if (this._-2Gw == null)
            {
                return;
            };
            var k:ITextWindow = (this._-2Gw.getListItemByName("age_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            this._-0dg.localizations.registerParameter("pet.age", "age", _arg1.toString());
            this.updateWindow();
        }
        private function _-03O(_arg1:int, _arg2:Boolean):void
        {
            this._-0dg.localizations.registerParameter("infostand.text.petrespect", "count", _arg1.toString());
            if (this._-2Gw == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-2Gw.getListItemByName("petrespect_container") as IWindowContainer);
            var k:ITextWindow = (k.findChildByName("petrespect_text") as ITextWindow);
            var k:IBitmapWrapperWindow = (k.findChildByName("petrespect_icon") as IBitmapWrapperWindow);
            k.visible = _arg2;
            k.visible = _arg2;
            k.x = ((k.x + k.width) + 2);
            this.updateWindow();
        }
        private function _-1ak(_arg1:String, _arg2:Boolean):void
        {
            if (this._-2Gw == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-2Gw.getListItemByName("status_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IWindow = (k.findChildByName(("status_item_list_" + _arg1)) as IWindow);
            if (k != null)
            {
                k.visible = _arg2;
            };
        }
        private function _-0z9(_arg1:String, _arg2:int):void
        {
            var k:IWindowContainer;
            var k:_-3Yi;
            var _local6:Boolean;
            var _local7:Boolean;
            var _local8:ITextWindow;
            var k:IItemListWindow;
            if (this._-2Gw == null)
            {
                return;
            };
            k = (this._-2Gw.getListItemByName("status_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k = (k.findChildByName((_arg1 + "_status_widget")) as _-3Yi);
            var k:_-2cX = k.widget;
            if (k == null)
            {
                return;
            };
            switch (_arg1)
            {
                case _-1EP:
                    (k as _-2Zl).seconds = _arg2;
                    _local6 = (_arg2 > 0);
                    _local7 = !((k.visible == _local6));
                    k.visible = _local6;
                    _local8 = (k.findChildByName((_arg1 + "_status_text")) as ITextWindow);
                    if (_local8 != null)
                    {
                        _local8.visible = _local6;
                    };
                    if (_local7)
                    {
                        k = (k.findChildByName("status_item_list_monsterplant") as IItemListWindow);
                        if (k != null)
                        {
                            k._-0O3();
                        };
                    };
                    return;
            };
        }
        private function _-231(_arg1:String, _arg2:int, _arg3:int, _arg4:uint, _arg5:uint, _arg6:String=null):void
        {
            var k:BitmapData;
            if (this._-2Gw == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-2Gw.getListItemByName("status_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName((("status_" + _arg1) + "_value_text")) as ITextWindow);
            if (k != null)
            {
                k.text = (((_arg6)!=null) ? _arg6 : ((_arg2 + "/") + _arg3));
            };
            var k:IBitmapWrapperWindow = (k.findChildByName((("status_" + _arg1) + "_bitmap")) as IBitmapWrapperWindow);
            if (k != null)
            {
                k = this._-6k(_arg2, _arg3, _arg4, _arg5);
                if (k != null)
                {
                    k.bitmap = k;
                    k.width = k.width;
                    k.height = k.height;
                    k.invalidate();
                };
            };
            this.updateWindow();
        }
        protected function _-435(_arg1:WindowMouseEvent):void
        {
            var k:_-1yP;
            var k:String;
            var k:String;
            var k:int;
            var k:int;
            var _local8:int;
            var k:IWindow = (_arg1.target as IWindow);
            switch (k.name)
            {
                case "btn_move":
                    k = _-2ve._-0qX;
                    break;
                case "btn_rotate":
                    k = _-2ve._-1J6;
                    break;
                case "btn_pick":
                    k = _-3VD._-09;
                    if (((this._-1wX) && ((this._-1wX._-0yB() == this._-4iU))))
                    {
                        this._-1wX._-3VE(false);
                    };
                    break;
                case "btn_kick":
                    k = _-3VD._-09;
                    if (((this._-1wX) && ((this._-1wX._-0yB() == this._-4iU))))
                    {
                        this._-1wX._-3VE(false);
                    };
                    break;
                case "btn_train":
                    this._-0fC();
                    break;
                case "btn_buy_food":
                    if (this._-3oJ)
                    {
                        this._-3oJ.openCatalogPage(_-cF._-Lf);
                        if (((this._-1e8) && (!(this._-1e8.disposed))))
                        {
                            this._-1e8.trackGoogle("infostandBuyPetFoodButton", "click");
                        };
                    };
                    break;
                case "btn_petrespect":
                    this._-0dg.userData._-193 = (this._-0dg.userData._-193 - 1);
                    this._-1vy();
                    k = _-3VD._-2yN;
                    break;
                case "btn_pettreat":
                    k = _-3VD._-27c;
                    break;
            };
            if (k != null)
            {
                if ((((k == _-2ve._-0qX)) || ((k == _-2ve._-1J6))))
                {
                    k = this._-0dg._-0FP._-0KC;
                    k = _-1sV._-3I0;
                    k = new _-2ve(k, k, k, k);
                    this._-0dg.messageListener.processWidgetMessage(k);
                }
                else
                {
                    _local8 = this._-0dg._-0FP.id;
                    k = new _-3VD(k, _local8);
                    this._-0dg.messageListener.processWidgetMessage(k);
                };
            };
            this.updateWindow();
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-0dg.close();
        }
        private function _-1vy():void
        {
            var k:int = this._-0dg.userData._-193;
            this._-0dg.localizations.registerParameter("infostand.button.petrespect", "count", k.toString());
            this._-XT("petrespect", (k > 0));
        }
        protected function _-XT(_arg1:String, _arg2:Boolean):void
        {
            if (this._-1Xe == null)
            {
                return;
            };
            var k:IWindow = this._-1Xe.getChildByName(_arg1);
            if (k != null)
            {
                k.visible = _arg2;
                this._-1o0();
            };
        }
        protected function _-4Nu(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.window.parent;
            if (((k) && ((k.tags.indexOf("CMD_BUTTON_REGION") > -1))))
            {
                k.width = _arg1.window.width;
            };
        }
        private function _-1o0():void
        {
            var k:IWindow;
            var k:int = _-3f1;
            this._-1Xe.width = k;
            var k:Array = [];
            this._-1Xe._-507("CMD_BUTTON_REGION", k, -1);
            var k:int = k;
            var k:int;
            for each (k in k)
            {
                if (k.visible)
                {
                    if ((k - k.width) < 0)
                    {
                        k = (k + (_-hY + _-3AX));
                    };
                    k.x = (k - k.width);
                    k.y = k;
                    k = (k.x - _-3AX);
                };
            };
            this._-1Xe.height = (k + _-hY);
            this.updateWindow();
        }
        private function _-2i3(_arg1:int, _arg2:Array):int
        {
            var k:int;
            var k:int;
            for each (k in _arg2)
            {
                if ((((k > 0)) && ((_arg1 >= k))))
                {
                    k++;
                };
            };
            return (k);
        }
        private function _-4qR(_arg1:int, _arg2:Array):int
        {
            var k:int;
            var k:int;
            for each (k in _arg2)
            {
                if (k <= _arg1)
                {
                }
                else
                {
                    break;
                };
            };
            return (k);
        }
        private function _-4dB(_arg1:int, _arg2:Array):int
        {
            var k:int = this._-4qR(_arg1, _arg2);
            var k:int = _arg2.indexOf(k);
            var k:int = k;
            if (k < (_arg2.length - 1))
            {
                k = _arg2[(k + 1)];
            };
            return (k);
        }
        private function _-2Q-(_arg1:Boolean, _arg2:_-2x8):void
        {
            if (this._-2Gw == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-2Gw.getListItemByName("status_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:_-3Yi = (k.findChildByName("rarity_item_overlay_widget") as _-3Yi);
            var k:_-2cX = k.widget;
            if (k == null)
            {
                return;
            };
            var k:_-26h = _-26h(k);
            k.rarityLevel = _arg2.rarityLevel;
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF.InfoStandRentableBotView

package _-3ZF
{
    import _-0mD._-2Jq;
    import _-2gz._-2UE;
    import _-1ae.IItemListWindow;
    import _-1ae.IBorderWindow;
    import _-Ew.IWindowContainer;
    import _-2gz.HabboTracking;
    import _-og._-3c;
    import _-1ae.ITextWindow;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-0Ix._-aY;
    import _-4xL._-2Pp;

    public class InfoStandRentableBotView 
    {

        private static const _-0p2:int = 162;
        private static const _-3T6:int = 16;
        private static const _-1eC:int = 5;
        private static const _-1Em:int = 4;
        private static const _-0-0:uint = 0xDADADA;
        private static const _-3VM:uint = 0x3A3A3A;
        private static const _-4gT:uint = 2085362;
        private static const _-4Yl:uint = 39616;
        private static const _-3qs:String = "name_text";
        private static const _-2Oe:String = "description_text";
        private static const _-53:String = "handitem_text";
        private static const _-X-:String = "expire_time_left";
        private static const _-0JW:String = "expire_time_info";
        private static const _-Ay:String = "handitem_spacer";
        private static const _-3f1:int = 250;
        private static const _-hY:int = 25;
        private static const _-3AX:int = 5;

        private var _-3oJ:_-2Jq;
        private var _-1e8:_-2UE;
        private var _-0dg:_-3CG;
        private var _-0xv:IItemListWindow;
        private var _-0RM:IBorderWindow;
        private var _-1Xe:IWindowContainer;
        private var _-2Gw:IItemListWindow;
        private var _-5Dg:String;
        private var _-1RF:int;
        private var _disposed:Boolean;

        public function InfoStandRentableBotView(_arg1:_-3CG, _arg2:String, _arg3:_-2Jq)
        {
            this._-0dg = _arg1;
            this._-3oJ = _arg3;
            this._-1e8 = HabboTracking._-0ON();
            this.createWindow(_arg2);
        }
        public function dispose():void
        {
            this._-0dg = null;
            this._-3oJ = null;
            this._-1e8 = null;
            this._-0RM = null;
            this._-1Xe = null;
            this._-2Gw = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
            };
            this._-0xv = null;
            this._disposed = true;
        }
        public function get window():IItemListWindow
        {
            return (this._-0xv);
        }
        private function updateWindow():void
        {
            if ((((((this._-2Gw == null)) || ((this._-0RM == null)))) || ((this._-1Xe == null))))
            {
                return;
            };
            this._-1Xe.width = this._-1Xe.width;
            this._-1Xe.visible = (this._-1Xe.width > 0);
            this._-2Gw.height = this._-2Gw._-2yI.height;
            this._-0RM.height = (this._-2Gw.height + 20);
            this._-0xv.width = Math.max(this._-0RM.width, this._-1Xe.width);
            this._-0xv.height = this._-0xv._-2yI.height;
            if (this._-0RM.width < this._-1Xe.width)
            {
                this._-0RM.x = (this._-0xv.width - this._-0RM.width);
                this._-1Xe.x = 0;
            }
            else
            {
                this._-1Xe.x = (this._-0xv.width - this._-1Xe.width);
                this._-0RM.x = 0;
            };
            this._-0dg._-2qX();
        }
        public function update(_arg1:_-3c):void
        {
            this._-1RF = _arg1._-2-w;
            this._-0WA(_-3qs, true, _arg1.name);
            this._-0WA(_-2Oe, true, _arg1.motto);
            this._-1tC();
            this._-0aC = _arg1._-0aC;
            this._-48l(_arg1._-1sC);
            var k:Array = _arg1.badges;
            this._-2E6(((((k) && ((k.length > 0)))) ? k[0] : null));
            this._-0E1(_arg1.figure);
            this._-XT("whisper", false);
            this._-XT("ignore", false);
            this._-XT("unignore", false);
            this._-XT("pick", ((_arg1._-42g) || (_arg1._-36A)));
            this.updateWindow();
        }
        private function _-1tC():void
        {
            this._-0WA(_-X-, false, "N/A");
            this._-0WA(_-0JW, false, "");
        }
        public function _-48l(_arg1:int):void
        {
            var k:String;
            var k:ITextWindow = (this._-2Gw.getListItemByName(_-53) as ITextWindow);
            var k:IWindowContainer = (this._-2Gw.getListItemByName(_-Ay) as IWindowContainer);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            if ((((_arg1 > 0)) && ((_arg1 < 999999))))
            {
                k = this._-0dg.localizations.getKey(("handitem" + _arg1), ("handitem" + _arg1));
                this._-0dg.localizations.registerParameter("infostand.text.handitem", "item", k);
            };
            k.height = (k.textHeight + _-1eC);
            var k:Boolean = k.visible;
            var k:Boolean = (((_arg1 > 0)) && ((_arg1 < 999999)));
            k.visible = k;
            k.visible = k;
            if (k != k)
            {
                this._-2Gw._-0O3();
            };
            this.updateWindow();
        }
        private function _-6k(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint):BitmapData
        {
            k = Math.max(_arg2, 1);
            k = Math.max(_arg1, 0);
            if (k > k)
            {
            };
            var k:Number = (k / k);
            var k:int = 1;
            var k:BitmapData = new BitmapData(_-0p2, _-3T6, false);
            k.fillRect(new Rectangle(0, 0, k.width, k.height), _-0-0);
            var k:Rectangle = new Rectangle(k, k, (k.width - (k * 2)), (k.height - (k * 2)));
            k.fillRect(k, _-3VM);
            var k:Rectangle = new Rectangle(k, (k + _-1Em), (k.width - (k * 2)), ((k.height - (k * 2)) - _-1Em));
            k.width = (k * k.width);
            k.fillRect(k, _arg3);
            var k:Rectangle = new Rectangle(k, k, (k.width - (k * 2)), _-1Em);
            k.width = (k * k.width);
            k.fillRect(k, _arg4);
            return (k);
        }
        private function createWindow(_arg1:String):void
        {
            var k:IWindow;
            var k:IWindow;
            var k:_-243 = (this._-0dg.assets.getAssetByName("rentable_bot_view") as _-243);
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IItemListWindow);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            this._-0RM = (this._-0xv.getListItemByName("info_border") as IBorderWindow);
            if (this._-0RM != null)
            {
                this._-2Gw = (this._-0RM.findChildByName("infostand_element_list") as IItemListWindow);
            };
            this._-0xv.name = _arg1;
            this._-0dg.mainContainer.addChild(this._-0xv);
            var k:IWindow = this._-0RM.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            this._-1Xe = (this._-0xv.getListItemByName("button_list") as IWindowContainer);
            if (this._-1Xe == null)
            {
                return;
            };
            var k:Array = [];
            this._-1Xe._-507("CMD_BUTTON", k, -1);
            for each (k in k)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-435);
            };
            for each (k in k)
            {
                if (k.parent)
                {
                    k.parent.width = k.width;
                };
                k.addEventListener(WindowEvent._-3K0, this._-4Nu);
            };
        }
        private function set _-0aC(_arg1:String):void
        {
            this._-0dg.localizations.registerParameter("infostand.text.botowner", "name", _arg1);
            this.updateWindow();
        }
        private function _-0WA(_arg1:String, _arg2:Boolean, _arg3:String):void
        {
            var k:IWindowContainer;
            if (this._-2Gw == null)
            {
                return;
            };
            var k:ITextWindow = (this._-2Gw.getListItemByName(_arg1) as ITextWindow);
            if (k == null)
            {
                k = (this._-2Gw.getListItemByName("description_container") as IWindowContainer);
                if (k == null)
                {
                    return;
                };
                k = (k.findChildByName(_arg1) as ITextWindow);
                if (!k)
                {
                    return;
                };
            };
            k.text = _arg3;
            k.visible = _arg2;
        }
        private function _-0E1(_arg1:String):void
        {
            var k:_-3La = (_-3Yi(this._-0RM.findChildByName("avatar_image")).widget as _-3La);
            k.figure = _arg1;
        }
        private function _-2E6(_arg1:String):void
        {
            var k:_-aY = (_-3Yi(this._-0RM.findChildByName("badge")).widget as _-aY);
            k.badgeId = _arg1;
        }
        protected function _-435(_arg1:WindowMouseEvent):void
        {
            if (_arg1.target.name == "pick")
            {
                this._-0dg.handler.container.connection.send(new _-2Pp(this._-1RF));
            };
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-0dg.close();
        }
        protected function _-XT(_arg1:String, _arg2:Boolean):void
        {
            if (this._-1Xe == null)
            {
                return;
            };
            var k:IWindow = this._-1Xe.getChildByName(_arg1);
            if (k != null)
            {
                k.visible = _arg2;
                this._-1o0();
            };
        }
        protected function _-4Nu(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.window.parent;
            if (((k) && ((k.tags.indexOf("CMD_BUTTON_REGION") > -1))))
            {
                k.width = _arg1.window.width;
            };
        }
        private function _-1o0():void
        {
            var k:IWindow;
            var k:int = _-3f1;
            this._-1Xe.width = k;
            var k:Array = [];
            this._-1Xe._-507("CMD_BUTTON_REGION", k, -1);
            var k:int = k;
            var k:int;
            for each (k in k)
            {
                if (!k.visible)
                {
                }
                else
                {
                    if ((k - k.width) < 0)
                    {
                        k = (k + (_-hY + _-3AX));
                    };
                    k.x = (k - k.width);
                    k.y = k;
                    k = (k.x - _-3AX);
                };
            };
            this._-1Xe.height = (k + _-hY);
            this.updateWindow();
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF.InfoStandUserView

package _-3ZF
{
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IBorderWindow;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-og._-08b;
    import _-1FD._-2jE;
    import flash.geom.Rectangle;
    import _-1ae.ITextWindow;
    import _-295._-243;
    import _-1ae._-3Yi;
    import _-0Ix._-3La;
    import _-0Ie.WindowKeyboardEvent;
    import _-0Ix._-aY;
    import _-1FD._-48D;
    import _-1C6._-4ky;
    import _-1FD._-2aY;
    import _-1ae.ITextFieldWindow;
    import flash.ui.Keyboard;
    import flash.utils.getTimer;
    import _-1FD._-1yP;
    import _-1FD._-3VD;
    import _-2gz.HabboTracking;
    import _-1FD._-4jZ;

    public class InfoStandUserView 
    {

        protected static const _-2hi:uint = 0xFFFFFF;
        protected static const _-nQ:uint = 9552639;

        private const _-1eC:int = 5;
        private const _-0PX:int = 3;
        private const _-0sE:int = 0xAAAAAA;
        private const _-07-:int = 0xFFFFFF;
        private const _-2Ir:int = 2000;
        private const _-ms:int = 50;
        private const _-3Ds:int = 23;
        private const _-36o:int = 100;

        protected var _-0dg:_-3CG;
        protected var _-0xv:IItemListWindow;
        protected var _-2Gw:IItemListWindow;
        protected var _-1Xe:IWindowContainer;
        private var _-0RM:IBorderWindow;
        private var _-5CK:TagListRenderer;
        private var _-58e:IBorderWindow;
        private var _-4ZK:int;
        private var _-1DG:Boolean = true;
        protected var _-14H:IRegionWindow;

        public function InfoStandUserView(_arg1:_-3CG, _arg2:String)
        {
            this._-0dg = _arg1;
            this.createWindow(_arg2);
            this._-5CK = new TagListRenderer(_arg1, this._-22a);
            this._-1DG = !(this._-0dg.config.getBoolean("menu.avatar.enabled", false));
        }
        public function dispose():void
        {
            if (this._-14H)
            {
                this._-14H.dispose();
                this._-14H = null;
            };
            this._-0dg = null;
            this._-0xv.dispose();
            this._-0xv = null;
            this._-5CK.dispose();
            this._-5CK = null;
            this._-4VP();
        }
        public function get window():IItemListWindow
        {
            return (this._-0xv);
        }
        protected function updateWindow():void
        {
            if ((((((this._-2Gw == null)) || ((this._-0RM == null)))) || ((this._-1Xe == null))))
            {
                return;
            };
            this._-2Gw.height = this._-2Gw._-2yI.height;
            this._-0RM.height = (this._-2Gw.height + 20);
            this._-0xv.width = Math.max(this._-0RM.width, this._-1Xe.width);
            this._-0xv.height = this._-0xv._-2yI.height;
            if (this._-0RM.width < this._-1Xe.width)
            {
                this._-0RM.x = (this._-0xv.width - this._-0RM.width);
                this._-1Xe.x = 0;
            }
            else
            {
                this._-1Xe.x = (this._-0xv.width - this._-1Xe.width);
                this._-0RM.x = 0;
            };
            this._-0dg._-2qX();
        }
        protected function createWindow(_arg1:String):void
        {
            var k:IWindow;
            var k:IWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            this._-0xv = (this._-0dg.getXmlWindow("user_view") as IItemListWindow);
            if (this._-0xv == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            this._-0RM = (this._-0xv.getListItemByName("info_border") as IBorderWindow);
            this._-1Xe = (this._-0xv.getListItemByName("button_list") as IWindowContainer);
            var k:Array = [];
            this._-1Xe._-507("CMD_BUTTON", k, -1);
            for each (k in k)
            {
                if (k.parent)
                {
                    k.parent.width = k.width;
                };
                k.addEventListener(WindowEvent._-3K0, this._-4Nu);
                k.addEventListener(WindowMouseEvent._-90, this._-435);
            };
            if (this._-0RM != null)
            {
                this._-2Gw = (this._-0RM.findChildByName("infostand_element_list") as IItemListWindow);
            };
            this._-0xv.name = _arg1;
            var k:IBitmapWrapperWindow = (this._-0RM.findChildByName("home_icon") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k = (this._-0dg.assets.getAssetByName("icon_home") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
                k.addEventListener(WindowMouseEvent._-90, this._-435);
            };
            this._-0dg.mainContainer.addChild(this._-0xv);
            var k:IWindow = this._-0RM.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            var k:int;
            while (k < 5)
            {
                k = this._-0RM.findChildByName(("badge_" + k));
                if (k == null)
                {
                }
                else
                {
                    k.addEventListener(WindowMouseEvent._-4ea, this._-1qd);
                    k.addEventListener(WindowMouseEvent._-4e2, this._-1e7);
                };
                k++;
            };
            k = this._-0RM.findChildByName("badge_group");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-NT);
                k.addEventListener(WindowMouseEvent._-4ea, this._-1n2);
                k.addEventListener(WindowMouseEvent._-4e2, this._-25Q);
            };
            var k:IWindow = this._-0RM.findChildByName("avatar_image_profile_link");
            if (k != null)
            {
                k.procedure = this._-XX;
            };
        }
        private function _-NT(_arg1:WindowMouseEvent):void
        {
            if (this._-0dg.userData.groupId < 0)
            {
                return;
            };
            var k = (this._-0dg.userData.type == _-08b._-4v8);
            var k:_-2jE = new _-2jE(k, this._-0dg.userData.groupId);
            this._-0dg.messageListener.processWidgetMessage(k);
        }
        private function _-1n2(_arg1:WindowMouseEvent):void
        {
            if (this._-0dg.userData.groupId < 0)
            {
                return;
            };
            this._-Ym();
            if (_arg1.window == null)
            {
                return;
            };
            this._-58e.findChildByName("name").caption = this._-0dg.userData.groupName;
            this._-58e.findChildByName("description").caption = "${group.badgepopup.body}";
            var k:Rectangle = new Rectangle();
            _arg1.window.getGlobalRectangle(k);
            this._-58e.x = (k.left - this._-58e.width);
            this._-58e.y = (k.top + ((k.height - this._-58e.height) / 2));
        }
        private function _-25Q(_arg1:WindowMouseEvent):void
        {
            this._-4VP();
        }
        private function _-1qd(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow;
            if (_arg1.window == null)
            {
                return;
            };
            var k:int = int(_arg1.window.name.replace("badge_", ""));
            if (k < 0)
            {
                return;
            };
            var k:Array = this._-0dg.userData.badges;
            if (k == null)
            {
                return;
            };
            if (k >= k.length)
            {
                return;
            };
            var k:String = this._-0dg.userData.badges[k];
            if (k == null)
            {
                return;
            };
            this._-Ym();
            k = (this._-58e.getChildByName("name") as ITextWindow);
            if (k != null)
            {
                k.text = this._-0dg.localizations.getBadgeName(k);
            };
            k = (this._-58e.getChildByName("description") as ITextWindow);
            if (k != null)
            {
                k.text = this._-0dg.localizations.getBadgeDesc(k);
            };
            var k:Rectangle = new Rectangle();
            _arg1.window.getGlobalRectangle(k);
            this._-58e.x = (k.left - this._-58e.width);
            this._-58e.y = (k.top + ((k.height - this._-58e.height) / 2));
        }
        private function _-1e7(_arg1:WindowMouseEvent):void
        {
            this._-4VP();
        }
        private function _-Ym():void
        {
            if (this._-58e != null)
            {
                return;
            };
            var k:_-243 = (this._-0dg.assets.getAssetByName("badge_details") as _-243);
            if (k == null)
            {
                return;
            };
            this._-58e = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IBorderWindow);
            if (this._-58e == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
        }
        private function _-4VP():void
        {
            if (this._-58e != null)
            {
                this._-58e.dispose();
                this._-58e = null;
            };
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-0dg.close();
        }
        public function set name(_arg1:String):void
        {
            if (this._-14H == null)
            {
                this._-14H = (this._-2Gw.getListItemByName("profile_link") as IRegionWindow);
                if (this._-14H == null)
                {
                    return;
                };
                this._-14H.procedure = this._-XX;
                this._-14H.visible = true;
            };
            var k:ITextWindow = (this._-14H.findChildByName("name_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            k.visible = true;
        }
        public function set realName(_arg1:String):void
        {
            var k:ITextWindow = (this._-2Gw.getListItemByName("realname_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            if (_arg1.length == 0)
            {
                k.text = "";
            }
            else
            {
                this._-0dg.localizations.registerParameter("infostand.text.realname", "realname", _arg1);
                k.text = this._-0dg.localizations.getKey("infostand.text.realname");
            };
            k.height = (k.textHeight + this._-1eC);
            k.visible = (_arg1.length > 0);
        }
        public function _-0E1(_arg1:String):void
        {
            var k:_-3La = (_-3Yi(this._-0RM.findChildByName("avatar_image")).widget as _-3La);
            k.figure = _arg1;
        }
        public function _-2Gd(_arg1:String, _arg2:Boolean):void
        {
            var k:IWindowContainer = (this._-2Gw.getListItemByName("motto_container") as IWindowContainer);
            if (!k)
            {
                return;
            };
            var k:IWindow = k.findChildByName("changemotto.image");
            var k:ITextWindow = (k.findChildByName("motto_text") as ITextWindow);
            var k:IWindowContainer = (this._-2Gw.getListItemByName("motto_spacer") as IWindowContainer);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            if (_arg1 == null)
            {
                k = "";
            };
            if (_arg2)
            {
                k.visible = true;
                if (_arg1 == "")
                {
                    k = this._-0dg.localizations.getKey("infostand.motto.change");
                    k.textColor = this._-0sE;
                }
                else
                {
                    k.textColor = this._-07-;
                };
                k.enable();
            }
            else
            {
                k.visible = false;
                k.textColor = this._-07-;
                k.disable();
            };
            if (this._-0dg.config.getKey("infostand.motto.change.enabled", "1") == "0")
            {
                k.disable();
            };
            k.text = _arg1;
            k.height = Math.min((k.textHeight + this._-1eC), this._-ms);
            k.height = Math.max(k.height, this._-3Ds);
            k.height = (k.height + this._-0PX);
            if (_arg2)
            {
                k.addEventListener(WindowKeyboardEvent._-4Wf, this._-0LB);
                k.addEventListener(WindowMouseEvent._-90, this._-DI);
            }
            else
            {
                k.removeEventListener(WindowKeyboardEvent._-4Wf, this._-DI);
            };
            this.updateWindow();
        }
        public function set _-4pE(_arg1:int):void
        {
            var k:ITextWindow = (this._-2Gw.getListItemByName("score_value") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = String(_arg1);
        }
        public function set _-1sC(_arg1:int):void
        {
            var k:String;
            var k:ITextWindow = (this._-2Gw.getListItemByName("handitem_txt") as ITextWindow);
            var k:IWindowContainer = (this._-2Gw.getListItemByName("handitem_spacer") as IWindowContainer);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            if ((((_arg1 > 0)) && ((_arg1 < 999999))))
            {
                k = this._-0dg.localizations.getKey(("handitem" + _arg1), ("handitem" + _arg1));
                this._-0dg.localizations.registerParameter("infostand.text.handitem", "item", k);
            };
            k.height = (k.textHeight + this._-1eC);
            var k:Boolean = k.visible;
            var k:Boolean = (((_arg1 > 0)) && ((_arg1 < 999999)));
            k.visible = k;
            k.visible = k;
            if (k != k)
            {
                this._-2Gw._-0O3();
            };
            this.updateWindow();
        }
        public function set xp(_arg1:int):void
        {
            var k:ITextWindow = (this._-2Gw.getListItemByName("xp_text") as ITextWindow);
            var k:IWindowContainer = (this._-2Gw.getListItemByName("xp_spacer") as IWindowContainer);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            this._-0dg.localizations.registerParameter("infostand.text.xp", "xp", _arg1.toString());
            k.height = (k.textHeight + this._-1eC);
            var k:Boolean = k.visible;
            var k = (_arg1 > 0);
            k.visible = k;
            k.visible = k;
            if (k != k)
            {
                this._-2Gw._-0O3();
            };
            this.updateWindow();
        }
        public function _-4Fz(_arg1:Array, _arg2:Array=null):void
        {
            var k:IWindowContainer = (this._-2Gw.getListItemByName("tags_container") as IWindowContainer);
            var k:IWindowContainer = (this._-2Gw.getListItemByName("tags_spacer") as IWindowContainer);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            if (_arg1.length != 0)
            {
                k.height = this._-5CK._-162(_arg1, k, _arg2);
                k.height = 1;
            }
            else
            {
                k.height = 0;
                k.height = 0;
            };
            this.updateWindow();
        }
        public function _-2E6(_arg1:int, _arg2:String):void
        {
            var k:_-aY = (_-3Yi(this._-0RM.findChildByName(("badge_" + _arg1))).widget as _-aY);
            k.badgeId = _arg2;
        }
        public function _-3Tp():void
        {
            var k:_-aY;
            var k:int;
            while (k < 5)
            {
                k = (_-3Yi(this._-0RM.findChildByName(("badge_" + k))).widget as _-aY);
                k.badgeId = "";
                k++;
            };
        }
        public function _-2mw():void
        {
            var k:_-aY = (_-3Yi(this._-0RM.findChildByName("badge_group")).widget as _-aY);
            k.badgeId = "";
        }
        public function _-nf(_arg1:String):void
        {
            var k:_-aY = (_-3Yi(this._-0RM.findChildByName("badge_group")).widget as _-aY);
            k.badgeId = _arg1;
        }
        private function _-22a(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow = (_arg1.target as ITextWindow);
            if (k == null)
            {
                return;
            };
            this._-0dg.messageListener.processWidgetMessage(new _-48D(k.text));
        }
        public function update(_arg1:_-08b):void
        {
            this._-3Tp();
            this._-2mw();
            this._-nf(_arg1._-1lA);
            this._-4Fz([]);
            this._-4ox(_arg1);
            this._-4VN(_arg1);
        }
        protected function _-4ox(_arg1:_-08b):void
        {
            this.name = _arg1.name;
            this._-2Gd(_arg1.motto, (_arg1.type == _-08b._-4v8));
            this._-4pE = _arg1._-4pE;
            this._-1sC = _arg1._-1sC;
            this.xp = _arg1.xp;
            this._-0E1(_arg1.figure);
        }
        private function _-v6(_arg1:String, _arg2:Boolean=true):void
        {
            if (this._-1Xe == null)
            {
                return;
            };
            var k:IRegionWindow = (this._-1Xe.getChildByName(_arg1) as IRegionWindow);
            var k:IWindow = k.getChildAt(0);
            if (k != null)
            {
                if (_arg2)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
        }
        protected function _-XT(_arg1:String, _arg2:Boolean):void
        {
            if (this._-1Xe == null)
            {
                return;
            };
            var k:IWindow = this._-1Xe.getChildByName(_arg1);
            if (k != null)
            {
                k.visible = _arg2;
                this._-1o0();
            };
        }
        protected function _-0Vp(_arg1:String, _arg2:String):void
        {
            var k:IRegionWindow = (this._-1Xe.getChildByName(_arg1) as IRegionWindow);
            if (k != null)
            {
                k._-2QR = _arg2;
                k._-1e = this._-36o;
            };
        }
        protected function _-4VN(_arg1:_-08b):void
        {
            var k:Boolean;
            if (this._-1Xe == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-08b._-4v8:
                    this._-1Xe.visible = false;
                    break;
                case _-08b._-0tH:
                    if (_arg1._-25V)
                    {
                        this._-1Xe.visible = false;
                        break;
                    };
                    if (this._-1DG)
                    {
                        this._-v6("friend", true);
                        this._-XT("friend", _arg1._-l0);
                        this._-1vy();
                        this._-1hd(_arg1._-3dp);
                        this._-XT("kick", ((((((_arg1._-42g) || ((_arg1._-2Hi >= _-4ky._-YE)))) || (_arg1._-36A))) && (_arg1._-0ab)));
                        this._-XT("ban", ((((_arg1._-42g) || (_arg1._-36A))) && (_arg1._-1Ny)));
                        this._-1xY(_arg1._-42g, (_arg1._-2g- == _-4ky._-YE), ((!(_arg1._-5J)) && ((_arg1._-2g- <= _-4ky._-YE))));
                        if (this._-0dg.handler.container.sessionDataManager._-3ZA())
                        {
                            this._-v6("trade", false);
                        }
                        else
                        {
                            this._-v6("trade", _arg1._-3xC);
                            this._-2sJ(_arg1._-26v);
                        };
                        k = false;
                        if (((!((this._-0dg.config == null))) && ((this._-0dg.config.getKey("infostand.report.show", "0") == "1"))))
                        {
                            k = true;
                        };
                        this._-XT("report", k);
                        this._-1Xe.visible = true;
                    }
                    else
                    {
                        this._-1Xe.visible = false;
                    };
                    break;
            };
            if (this._-0xv != null)
            {
                this._-0xv._-0O3();
            };
            this.updateWindow();
        }
        private function _-1vy():void
        {
            var k:int = this._-0dg.userData._-2Vb;
            this._-0dg.localizations.registerParameter("infostand.button.respect", "count", k.toString());
            this._-XT("respect", (k > 0));
        }
        private function _-1hd(_arg1:Boolean):void
        {
            this._-XT("ignore", !(_arg1));
            this._-XT("unignore", _arg1);
        }
        protected function _-1xY(_arg1:Boolean, _arg2:Boolean, _arg3:Boolean):void
        {
            if (((_arg1) && (_arg3)))
            {
                this._-XT("give_rights", !(_arg2));
                this._-XT("remove_rights", _arg2);
            }
            else
            {
                this._-XT("give_rights", false);
                this._-XT("remove_rights", false);
            };
        }
        protected function _-2sJ(_arg1:int):void
        {
            var k:String;
            switch (_arg1)
            {
                case _-08b._-3gm:
                    k = "${infostand.button.trade.tooltip.shutdown}";
                    break;
                case _-08b._-3-e:
                    k = "${infostand.button.trade.tooltip.tradingroom}";
                    break;
                default:
                    k = "";
            };
            this._-0Vp("trade", k);
        }
        protected function _-0LB(_arg1:WindowKeyboardEvent):void
        {
            var k:_-2aY;
            var k:int;
            var k:int;
            var k:IWindowContainer = (this._-2Gw.getListItemByName("motto_container") as IWindowContainer);
            if (!k)
            {
                return;
            };
            var k:ITextFieldWindow = (k.findChildByName("motto_text") as ITextFieldWindow);
            var k:String = k.text;
            if (_arg1.keyCode == Keyboard.ENTER)
            {
                k = getTimer();
                if (((((k - this._-4ZK) > this._-2Ir)) && (!((k == this._-0dg.localizations.getKey("infostand.motto.change"))))))
                {
                    k = this._-0dg.userData.userId;
                    k = new _-2aY(k);
                    this._-0dg.messageListener.processWidgetMessage(k);
                    this._-4ZK = k;
                    k.textColor = this._-07-;
                    k.unfocus();
                };
            }
            else
            {
                k.textColor = this._-0sE;
            };
            k.height = Math.min((k.textHeight + this._-1eC), this._-ms);
            k.height = Math.max(k.height, this._-3Ds);
            k.height = (k.height + this._-0PX);
        }
        protected function _-DI(_arg1:WindowMouseEvent):void
        {
            var k:IWindowContainer = (this._-2Gw.getListItemByName("motto_container") as IWindowContainer);
            if (!k)
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName("motto_text") as ITextWindow);
            if (k.text == this._-0dg.localizations.getKey("infostand.motto.change"))
            {
                k.text = "";
            };
            k.textColor = this._-0sE;
        }
        protected function _-435(_arg1:WindowMouseEvent):void
        {
            var k:_-1yP;
            var k:String;
            var k:IWindow = (_arg1.target as IWindow);
            switch (k.name)
            {
                case "whisper":
                    k = _-3VD._-5Db;
                    break;
                case "friend":
                    k.disable();
                    k = _-3VD._-12e;
                    break;
                case "respect":
                    this._-0dg.userData._-2Vb = (this._-0dg.userData._-2Vb - 1);
                    this._-1vy();
                    k = _-3VD._-u4;
                    break;
                case "ignore":
                    this._-1hd(true);
                    k = _-3VD._-2nT;
                    break;
                case "unignore":
                    this._-1hd(false);
                    k = _-3VD._-0AR;
                    break;
                case "kick":
                    k = _-3VD._-2k0;
                    break;
                case "ban":
                    k = _-3VD. use;
                    break;
                case "give_rights":
                    this._-1xY(true, true, true);
                    k = _-3VD._-2qF;
                    break;
                case "remove_rights":
                    this._-1xY(true, false, true);
                    k = _-3VD._-2pY;
                    break;
                case "trade":
                    k = _-3VD._-0tp;
                    break;
                case "home_icon":
                    k = _-3VD._-0MS;
                    break;
                case "report":
                    k = _-3VD._-4Po;
                    break;
            };
            if (k != null)
            {
                k = new _-3VD(k, this._-0dg.userData.userId);
                HabboTracking._-0ON().trackEventLog("InfoStand", "click", k);
            };
            if (k != null)
            {
                this._-0dg.messageListener.processWidgetMessage(k);
            };
            this.updateWindow();
        }
        protected function _-XX(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:ITextWindow;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-0dg.messageListener.processWidgetMessage(new _-4jZ(_-4jZ._-3aE, this._-0dg.userData.userId, "infoStand_userView"));
            };
            if (_arg2.name == "profile_link")
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    k = (this._-14H.findChildByName("name_text") as ITextWindow);
                    k.textColor = _-nQ;
                };
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    k = (this._-14H.findChildByName("name_text") as ITextWindow);
                    k.textColor = _-2hi;
                };
            };
        }
        protected function _-4Nu(_arg1:WindowEvent):void
        {
            var k:IWindow = _arg1.window.parent;
            if (((k) && ((k.tags.indexOf("CMD_BUTTON_REGION") > -1))))
            {
                k.width = _arg1.window.width;
            };
        }
        private function _-1o0():void
        {
            var k:IWindow;
            var k = 250;
            this._-1Xe.width = k;
            var k:Array = [];
            this._-1Xe._-507("CMD_BUTTON_REGION", k, -1);
            var k:int = k;
            var k:int;
            for each (k in k)
            {
                if (k.visible)
                {
                    if ((k - k.width) < 0)
                    {
                        k = (k + 30);
                    };
                    k.x = (k - k.width);
                    k.y = k;
                    k = (k.x - 5);
                };
            };
            this._-1Xe.height = (k + 25);
            this.updateWindow();
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF.PetCommandTool

package _-3ZF
{
    import flash.geom.Point;
    import _-1ae.IFrameWindow;
    import _-18r.Map;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-1FD._-35J;
    import _-295.BitmapDataAsset;
    import _-295._-243;
    import _-09j.WindowParam;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IButtonWindow;
    import _-1FD._-3VD;
    import flash.geom.Rectangle;

    public class PetCommandTool 
    {

        private static const _-4M:Point = new Point(100, 70);
        private static const _-0p2:int = 162;
        private static const _-RE:int = 16;
        private static const _-1Em:int = 4;
        private static const _-0-0:uint = 0xDADADA;
        private static const _-3VM:uint = 0x3A3A3A;
        private static const _-1Cj:uint = 10513106;
        private static const _-0:uint = 8734654;
        private static const _-1bP:String = "skill";

        private const _-1oB:int = 1100;

        private var _-0dg:_-3CG;
        private var _-7j:IFrameWindow;
        private var _-2GN:IFrameWindow;
        private var _-3dF:Map;
        private var _-4iU:int;
        private var _-0z2:String;
        private var _-4vi:Timer;

        public function PetCommandTool(_arg1:_-3CG)
        {
            this._-0dg = _arg1;
            this._-3dF = new Map();
            this._-4vi = new Timer(this._-1oB);
            this._-4vi.addEventListener(TimerEvent.TIMER, this._-4VM);
        }
        public static function _-LK(_arg1:IWindowContainer):void
        {
            var k:int;
            while (k < _arg1.numChildren)
            {
                _arg1.getChildAt(k).visible = false;
                k++;
            };
        }
        public static function _-5DG(_arg1:IWindowContainer):int
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (k.visible)
                {
                    k = Math.max(k, (k.y + k.height));
                };
                k++;
            };
            return (k);
        }

        public function dispose():void
        {
            if (this._-4vi)
            {
                this._-4vi.stop();
                this._-4vi = null;
            };
            if (this._-0dg)
            {
                this._-0dg = null;
            };
            if (this._-7j)
            {
                this._-7j.dispose();
            };
            this._-7j = null;
            if (this._-2GN)
            {
                this._-2GN.dispose();
            };
            this._-2GN = null;
        }
        public function _-0yB():int
        {
            return (this._-4iU);
        }
        public function _-0m7():Boolean
        {
            if (this._-7j == null)
            {
                return (false);
            };
            return (this._-7j.visible);
        }
        public function _-3ro(_arg1:int, _arg2:String, _arg3:BitmapData, _arg4:int, _arg5:int, _arg6:Number, _arg7:int, _arg8:Array):void
        {
            if (this._-7j == null)
            {
                return;
            };
            this._-231(_-1bP, ((_arg5 + _arg6) * 100), (_arg7 * 100), _-0, _-1Cj, _arg4);
            if (this._-4iU == _arg1)
            {
                return;
            };
            this._-4iU = _arg1;
            this._-0z2 = _arg2;
            var k:ITextWindow = (this._-7j.findChildByName("pet_name") as ITextWindow);
            if (k != null)
            {
                k.text = _arg2;
            };
            this._-2kG(_arg3);
            var k:CommandConfiguration = (this._-3dF.getValue(_arg1) as CommandConfiguration);
            if (k == null)
            {
                this._-4Wv();
                this._-1QE(this._-4iU);
            }
            else
            {
                this._-28A(k);
            };
        }
        public function _-2kG(_arg1:BitmapData):void
        {
            var k:BitmapData;
            var k:Point;
            var k:IBitmapWrapperWindow = (this._-7j.findChildByName("avatar_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                if (_arg1 != null)
                {
                    k = new BitmapData(k.width, k.height, true, 0);
                    k = new Point(0, 0);
                    k.x = Math.round(((k.width - _arg1.width) / 2));
                    k.y = Math.round(((k.height - _arg1.height) / 2));
                    k.copyPixels(_arg1, _arg1.rect, k);
                    k.bitmap = k;
                }
                else
                {
                    k.bitmap = null;
                };
                k.invalidate();
            };
        }
        private function _-4VM(_arg1:TimerEvent):void
        {
            var k:CommandConfiguration = (this._-3dF.getValue(this._-4iU) as CommandConfiguration);
            this._-28A(k);
            this._-4vi.stop();
        }
        public function _-1Ci(_arg1:int, _arg2:CommandConfiguration):void
        {
            this._-3dF.remove(_arg1);
            this._-3dF.add(_arg1, _arg2);
            if (_arg1 != this._-4iU)
            {
                return;
            };
            this._-28A(_arg2);
            this._-4vi.stop();
        }
        public function _-3VE(_arg1:Boolean):void
        {
            if (_arg1)
            {
                if (this._-7j == null)
                {
                    this._-13x();
                };
                this._-7j.visible = true;
            }
            else
            {
                if (this._-7j != null)
                {
                    this._-7j.visible = false;
                };
            };
            this._-4vi.stop();
        }
        private function _-1QE(_arg1:int):void
        {
            var k:_-35J = new _-35J(_-35J._-ZO, _arg1);
            this._-0dg.messageListener.processWidgetMessage(k);
        }
        private function _-13x():void
        {
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:_-243 = (this._-0dg.assets.getAssetByName("pet_commands") as _-243);
            this._-7j = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            if (this._-7j == null)
            {
                throw (new Error("Failed to construct command window from XML!"));
            };
            this._-7j.setParamFlag(WindowParam._-JK, true);
            this._-7j.context.getDesktopWindow().addEventListener(WindowEvent._-3K0, this._-2Oq);
            var k:IWindow = this._-7j.findChildByName("header_button_close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-0AG);
            };
            var k:IWindow = this._-7j.findChildByName("description_link");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-587);
            };
            var k:IWindow = this._-7j.findChildByName("avatar_image");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-03a);
            };
            var k:IBitmapWrapperWindow = (this._-7j.findChildByName("status_skill_icon") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (this._-0dg.assets.getAssetByName("icon_pet_skill") as BitmapDataAsset);
                k = (k.content as BitmapData);
                k.bitmap = k.clone();
            };
            this._-7j.position = _-4M;
        }
        private function _-28A(_arg1:CommandConfiguration):void
        {
            var k:IButtonWindow;
            var k:int;
            var k:_-243;
            if (this._-7j == null)
            {
                return;
            };
            var k:IWindowContainer = IWindowContainer(this._-7j.findChildByName("commands_container"));
            _-LK(k);
            var k:Array = _arg1._-QA;
            var k:int = 25;
            var k:int;
            var k:int = 86;
            var k:int;
            var k:int;
            while (k < k.length)
            {
                k = IButtonWindow(k.getChildAt(k));
                if (k == null)
                {
                    k = (this._-0dg.assets.getAssetByName("pet_command") as _-243);
                    k = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IButtonWindow);
                    k.addEventListener(WindowMouseEvent._-90, this._-39z);
                    k.addChild(k);
                };
                k.visible = true;
                k = k[k];
                k.id = k;
                k.caption = this._-0dg.localizations.getKey(("pet.command." + k));
                if (_arg1._-12O(k))
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
                k.y = k;
                if ((k % 2) == 1)
                {
                    k = (k + k);
                    k.x = k;
                }
                else
                {
                    k.x = k;
                };
                k++;
            };
            var k:Boolean = this._-0dg.config.getBoolean("pet.enhancements.enabled", false);
            var k:int = ((k) ? 180 : 160);
            k.height = _-5DG(k);
            this._-7j.height = (k.height + k);
            this._-4vi.stop();
        }
        private function _-4Wv():void
        {
            var k:IButtonWindow;
            if (this._-7j == null)
            {
                return;
            };
            var k:IWindowContainer = IWindowContainer(this._-7j.findChildByName("commands_container"));
            var k:int;
            while (k < k.numChildren)
            {
                k = IButtonWindow(k.getChildAt(k));
                k.disable();
                k++;
            };
        }
        private function _-2Hz():void
        {
            var k:_-243;
            var k:IWindow;
            if (this._-2GN == null)
            {
                k = (this._-0dg.assets.getAssetByName("pet_commands_info") as _-243);
                this._-2GN = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
                if (this._-2GN == null)
                {
                    throw (new Error("Failed to construct command info window from XML!"));
                };
                this._-2GN.x = 200;
                k = this._-2GN.findChildByName("header_button_close");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-37C);
                };
            }
            else
            {
                this._-2GN.visible = true;
                this._-2GN.activate();
            };
        }
        private function _-37C(_arg1:WindowMouseEvent):void
        {
            this._-2GN.visible = false;
        }
        private function _-0AG(_arg1:WindowMouseEvent):void
        {
            this._-7j.visible = false;
        }
        private function _-587(_arg1:WindowMouseEvent):void
        {
            this._-2Hz();
        }
        private function _-03a(_arg1:WindowMouseEvent):void
        {
            this._-0dg.messageListener.processWidgetMessage(new _-3VD(_-3VD._-3Om, this._-4iU));
        }
        private function _-39z(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = _arg1.target;
            var k:int = k.id;
            var k:String = ("pet.command." + k);
            var k:String = this._-0dg.localizations.getKey(k);
            var k:_-35J = new _-35J(_-35J._-dH, this._-4iU, ((this._-0z2 + " ") + k));
            this._-0dg.messageListener.processWidgetMessage(k);
            this._-4Wv();
            this._-4vi.start();
        }
        private function _-2Oq(_arg1:WindowEvent):void
        {
            var k:IWindow;
            var k:Rectangle;
            if (((this._-7j) && (!(this._-7j.disposed))))
            {
                k = _arg1.window;
                k = new Rectangle();
                this._-7j.getGlobalRectangle(k);
                if (k.x > k.width)
                {
                    this._-7j.x = (k.width - this._-7j.width);
                    this._-7j.getGlobalRectangle(k);
                };
                if ((k.x + k.width) <= 0)
                {
                    this._-7j.x = 0;
                    this._-7j.getGlobalRectangle(k);
                };
                if (k.y > k.height)
                {
                    this._-7j.y = 0;
                    this._-7j.getGlobalRectangle(k);
                };
                if ((k.y + k.height) <= 0)
                {
                    this._-7j.y = 0;
                    this._-7j.getGlobalRectangle(k);
                };
            };
        }
        private function _-231(_arg1:String, _arg2:int, _arg3:int, _arg4:uint, _arg5:uint, _arg6:int):void
        {
            var k:BitmapData;
            if (this._-7j == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-7j.findChildByName((("status_" + _arg1) + "_container")) as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k.visible = ((this._-0dg.config.getBoolean("pet.enhancements.enabled", false)) && ((_arg6 == 15)));
            var k:ITextWindow = (k.findChildByName((("status_" + _arg1) + "_value_text")) as ITextWindow);
            if (k != null)
            {
                k.text = ((_arg2 + "/") + _arg3);
            };
            var k:ITextWindow = (k.findChildByName((("status_" + _arg1) + "_text")) as ITextWindow);
            if (k != null)
            {
                k.caption = (("${infostand.pet.text.skill.next." + _arg6) + "}");
            };
            var k:IBitmapWrapperWindow = (k.findChildByName((("status_" + _arg1) + "_bitmap")) as IBitmapWrapperWindow);
            if (k != null)
            {
                k = this._-6k(_arg2, _arg3, _arg4, _arg5);
                if (k != null)
                {
                    k.bitmap = k;
                    k.width = k.width;
                    k.height = k.height;
                    k.invalidate();
                };
            };
            this.updateWindow();
        }
        private function updateWindow():void
        {
        }
        private function _-6k(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint):BitmapData
        {
            k = Math.max(_arg2, 1);
            k = Math.max(_arg1, 0);
            if (k > k)
            {
            };
            var k:Number = (k / k);
            var k:int = 1;
            var k:BitmapData = new BitmapData(_-0p2, _-RE, false);
            k.fillRect(new Rectangle(0, 0, k.width, k.height), _-0-0);
            var k:Rectangle = new Rectangle(k, k, (k.width - (k * 2)), (k.height - (k * 2)));
            k.fillRect(k, _-3VM);
            var k:Rectangle = new Rectangle(k, (k + _-1Em), (k.width - (k * 2)), ((k.height - (k * 2)) - _-1Em));
            k.width = (k * k.width);
            k.fillRect(k, _arg3);
            var k:Rectangle = new Rectangle(k, k, (k.width - (k * 2)), _-1Em);
            k.width = (k * k.width);
            k.fillRect(k, _arg4);
            return (k);
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3ZF.TagListRenderer

package _-3ZF
{
    import flash.geom.Rectangle;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;

    public class TagListRenderer 
    {

        private const _-1C0:int = 5;
        private const _-1K1:int = 5;

        private var _-0dg:_-3CG;
        private var _-5Dn:Function;
        private var _-3jO:int;
        private var _-1Mv:int;
        private var _-Gw:Rectangle = null;
        private var _-2by:int = 0;
        private var _-3kg:Array;

        public function TagListRenderer(_arg1:_-3CG, _arg2:Function)
        {
            this._-0dg = _arg1;
            this._-5Dn = _arg2;
        }
        public function dispose():void
        {
            this._-0dg = null;
            this._-5Dn = null;
        }
        public function _-162(_arg1:Array, _arg2:IWindowContainer, _arg3:Array):int
        {
            var k:ITextWindow;
            var k:Array;
            var k:String;
            this._-3kg = _arg3;
            if (this._-3kg != null)
            {
                k = [];
                while ((k = _arg1.pop()) != null)
                {
                    if (_arg3.indexOf(k) != -1)
                    {
                        k.unshift(k);
                    }
                    else
                    {
                        k.push(k);
                    };
                };
            };
            do 
            {
            } while (_arg2.removeChildAt(0) != null);
            this._-2by = 0;
            this._-3jO = 0;
            this._-1Mv = 0;
            this._-Gw = _arg2.rectangle;
            this._-Gw.height = 150;
            var k:int;
            while (k < _arg1.length)
            {
                k = this._-2Ub((_arg1[k] as String));
                if (this._-15t(k))
                {
                    _arg2.addChild(k);
                }
                else
                {
                    k.dispose();
                };
                k++;
            };
            var k:int = _arg2.numChildren;
            if (k == 0)
            {
                return (0);
            };
            var k:IWindow = _arg2.getChildAt((_arg2.numChildren - 1));
            return (k.bottom);
        }
        private function _-15t(_arg1:IWindow):Boolean
        {
            if (_arg1.width > this._-Gw.width)
            {
                return (false);
            };
            if ((this._-1Mv + _arg1.height) > this._-Gw.height)
            {
                return (false);
            };
            if ((this._-3jO + _arg1.width) > this._-Gw.width)
            {
                this._-3jO = 0;
                this._-1Mv = (this._-1Mv + (_arg1.height + this._-1K1));
                return (this._-15t(_arg1));
            };
            _arg1.offset(this._-3jO, this._-1Mv);
            this._-3jO = (this._-3jO + (_arg1.width + this._-1C0));
            return (true);
        }
        private function _-2Ub(_arg1:String):ITextWindow
        {
            var k:_-243;
            if (((!((this._-3kg == null))) && (!((this._-3kg.indexOf(_arg1) == -1)))))
            {
                k = (this._-0dg.assets.getAssetByName("user_tag_highlighted") as _-243);
            }
            else
            {
                k = (this._-0dg.assets.getAssetByName("user_tag") as _-243);
            };
            if (k == null)
            {
                return (null);
            };
            var k:ITextWindow = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as ITextWindow);
            if (k == null)
            {
                throw (new Error("Failed to construct window from XML!"));
            };
            k.addEventListener(WindowMouseEvent._-90, this._-5Dn);
            k.caption = _arg1;
            return (k);
        }

    }
}//package _-3ZF

//------------------------------------------------------------
//_-3Zm.AssetAlias

package _-3Zm
{
    public class AssetAlias 
    {

        private var _name:String;
        private var _-349:String;
        private var _-4tY:Boolean;
        private var _-3VQ:Boolean;

        public function AssetAlias(_arg1:XML)
        {
            this._name = String(_arg1.@name);
            this._-349 = String(_arg1.@link);
            this._-4tY = Boolean(parseInt(_arg1.@fliph));
            this._-3VQ = Boolean(parseInt(_arg1.@flipv));
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get link():String
        {
            return (this._-349);
        }
        public function get flipH():Boolean
        {
            return (this._-4tY);
        }
        public function get flipV():Boolean
        {
            return (this._-3VQ);
        }

    }
}//package _-3Zm

//------------------------------------------------------------
//_-3Zm.AssetAliasCollection

package _-3Zm
{
    import _-295.AssetLibraryCollection;
    import flash.utils.Dictionary;
    import _-4Kb.AvatarRenderManager;
    import _-295._-2kE;

    public class AssetAliasCollection 
    {

        private var _assets:AssetLibraryCollection;
        private var _-OQ:Dictionary;
        private var _-47n:AvatarRenderManager;

        public function AssetAliasCollection(_arg1:AvatarRenderManager, _arg2:AssetLibraryCollection)
        {
            this._-47n = _arg1;
            this._-OQ = new Dictionary();
            this._assets = _arg2;
        }
        public function dispose():void
        {
            this._assets = null;
            this._-OQ = null;
        }
        public function reset():void
        {
            this.init();
        }
        public function init():void
        {
            var k:XML;
            var k:XML;
            var k:String;
            var k:AssetAlias;
            var k:Array = this._assets._-5z();
            for each (k in k)
            {
                for each (k in k..alias)
                {
                    k = String(k.@name);
                    k = new AssetAlias(k);
                    this._-OQ[k] = k;
                };
            };
        }
        public function _-FK(_arg1:String, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false):void
        {
            var k:XML = <alias name="" link="" fliph="0" flipv="0"/>
            ;
            k.@name = _arg1;
            k.@link = _arg2;
            var k:AssetAlias = new AssetAlias(k);
            this._-OQ[_arg1] = k;
        }
        public function _-2Ki(_arg1:String):Boolean
        {
            var k:AssetAlias = (this._-OQ[_arg1] as AssetAlias);
            return (!((k == null)));
        }
        public function _-0KH(_arg1:String):AssetAlias
        {
            return ((this._-OQ[_arg1] as AssetAlias));
        }
        public function getAssetByName(_arg1:String):_-2kE
        {
            var k:AssetAlias;
            var k:int = 5;
            while (((this._-2Ki(_arg1)) && ((k >= 0))))
            {
                k = (this._-OQ[_arg1] as AssetAlias);
                k = k.link;
                k--;
            };
            var k:_-2kE = this._assets.getAssetByName(_arg1);
            return (k);
        }

    }
}//package _-3Zm

//------------------------------------------------------------
//_-3Zp._-0Ak

package _-3Zp
{
    public class _-0Ak 
    {

        public static const _-46C:int = 0;
        public static const _-m7:int = 1;

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp._-0ko

package _-3Zp
{
    import flash.display.BitmapData;

    public interface _-0ko 
    {

        function set _-3VJ(_arg1:BitmapData):void;
        function get _-3VJ():BitmapData;
        function set _-vX(_arg1:Boolean):void;
        function get _-vX():Boolean;

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp._-1bw

package _-3Zp
{
    import flash.events.IEventDispatcher;
    import _-0ly._-2P9;
    import _-1B-.*;

    public interface _-1bw extends _-4yI 
    {

        function get events():IEventDispatcher;
        function get clubDays():int;
        function get clubPeriods():int;
        function get _-54M():int;
        function get clubLevel():int;
        function get _-0-R():Boolean;
        function get _-1Kf():Boolean;
        function get _-4jL():Boolean;
        function get _-0yE():int;
        function get _-10n():Boolean;
        function get _-0io():Boolean;
        function get _-20u():_-50d;
        function _-41J():Array;
        function getAvatarEffects():Array;
        function _-3P0(_arg1:_-2P9):Boolean;
        function _-239(_arg1:int):_-2P9;
        function _-g5(_arg1:int):_-2P9;
        function _-42B(_arg1:int, _arg2:Boolean=false):Boolean;
        function setEffectSelected(_arg1:int):void;
        function setEffectDeselected(_arg1:int):void;
        function _-4nV(_arg1:Boolean=false):void;
        function _-3jK(_arg1:int):_-47i;
        function _-43v(_arg1:int, _arg2:String):void;
        function _-4Op(_arg1:String, _arg2:Boolean=false):void;
        function _-O-(_arg1:String):void;
        function _-v3(_arg1:Boolean):void;
        function _-1z3():int;
        function _-1KG(_arg1:int):Boolean;
        function _-541(_arg1:int):Boolean;
        function _-0ED(_arg1:int):Boolean;
        function _-20g():void;

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp._-3Nt

package _-3Zp
{
    import _-Ew.IWindowContainer;
    import _-1B-.*;

    public interface _-3Nt extends _-1zZ 
    {

        function getWindowContainer():IWindowContainer;

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp._-47i

package _-3Zp
{
    public interface _-47i 
    {

        function get type():int;
        function get _-4N():int;
        function get _-51V():int;
        function get duration():int;
        function get _-3Cm():Boolean;
        function get _-vX():Boolean;

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp._-4Yh

package _-3Zp
{
    import _-Ew.IWindowContainer;
    import _-1B-.*;

    public interface _-4Yh extends _-1zZ 
    {

        function getWindowContainer():IWindowContainer;
        function _-eq(_arg1:int=0):void;
        function _-52O(_arg1:String):void;
        function _-3NF(_arg1:String):void;
        function _-3mZ():void;

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp._-50d

package _-3Zp
{
    public interface _-50d 
    {

        function _-4oQ(_arg1:int):Boolean;
        function _-0H4(_arg1:int, _arg2:Array):Boolean;
        function _-14C(_arg1:int):Boolean;
        function _-0-v(_arg1:int, _arg2:int):Boolean;
        function _-08D(_arg1:int, _arg2:int):Boolean;
        function _-1TH(_arg1:int):Array;
        function _-4JM(_arg1:int):int;

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp._-50R

package _-3Zp
{
    import flash.geom.Point;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-3vb._-3b;
    import _-09j.WindowState;
    import _-3MI._-0Sy;
    import _-295._-2kE;
    import _-295._-243;
    import _-1ae.ITabContextWindow;
    import _-1ae.ITabButtonWindow;
    import _-Ew.IWindow;
    import _-2ly._-F-;
    import _-3cY._-503;
    import _-3vb.HabboToolbarIconEnum;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;

    public class _-50R 
    {

        private static const _-iA:int = 3;

        private const _-0uv:Point = new Point(120, 150);

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-362:IFrameWindow;
        private var _-1r6:String;
        private var _-32H:IWindowContainer;
        private var _-44H:String;
        private var _-45m:IWindowContainer;
        private var _-513:HabboInventory;
        private var _-0a7:_-3b;
        private var _-0T:IWindowContainer;
        private var _-53r:IWindowContainer;
        private var _-0xf:IWindowContainer;

        public function _-50R(_arg1:HabboInventory, _arg2:_-3Ts, _arg3:_-39L)
        {
            this._-513 = _arg1;
            this._-AV = _arg3;
            this._-U- = _arg2;
        }
        public function get _-0m7():Boolean
        {
            return (((this._-362) ? this._-362.visible : false));
        }
        public function get _-3Cm():Boolean
        {
            return (((this._-362) ? this._-362._-3AV(WindowState._-143) : false));
        }
        public function dispose():void
        {
            this._-0T = null;
            this._-513 = null;
            this._-32H = null;
            this._-45m = null;
            if (this._-362)
            {
                this._-362.dispose();
                this._-362 = null;
            };
            if (this._-0a7)
            {
                if (this._-0a7.events)
                {
                    this._-0a7.events.removeEventListener(_-0Sy._-40N, this._-0WL);
                };
                this._-0a7 = null;
            };
            this._-U- = null;
            this._-AV = null;
        }
        public function _-1On():IFrameWindow
        {
            var k:_-2kE;
            var k:_-243;
            var k:Boolean;
            var k:ITabContextWindow;
            if (!this._-362)
            {
                k = this._-AV.getAssetByName("inventory_xml");
                k = _-243(k);
                this._-362 = (this._-U-.buildFromXML(XML(k.content)) as IFrameWindow);
                if (this._-362 != null)
                {
                    this._-362.position = this._-0uv;
                    this._-362.visible = false;
                    this._-362.procedure = this._-3kk;
                    this._-RO(0);
                    this._-4Ta(0);
                    this._-2TU(0, 0);
                    k = this._-513.config.getBoolean("inventory.bots.enabled", false);
                    if (!k)
                    {
                        k = (this._-362.findChildByName("contentArea") as ITabContextWindow);
                        if (k)
                        {
                            k._-32B((this._-362.findChildByName("bots") as ITabButtonWindow));
                        };
                    };
                    this._-513._-Dy();
                };
                this._-513._-1XT();
            };
            return (this._-362);
        }
        public function _-9R():String
        {
            return (this._-1r6);
        }
        public function _-34w():String
        {
            return (this._-44H);
        }
        public function _-15P():void
        {
            this._-513._-3mZ();
            var k:IWindow = this._-1On();
            if (k == null)
            {
                return;
            };
            k.visible = false;
        }
        public function _-3YV():void
        {
            var k:IWindow = this._-1On();
            if (k == null)
            {
                return;
            };
            k.visible = true;
            this._-513._-0W3(this._-44H);
        }
        public function _-0zP(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):Boolean
        {
            var k:IWindow = this._-1On();
            if (k == null)
            {
                return (false);
            };
            if (k.visible)
            {
                if (this._-1r6 == _arg1)
                {
                    if (_arg2)
                    {
                        if (_-F-._-32W(k))
                        {
                            k.activate();
                        }
                        else
                        {
                            this._-15P();
                            return (false);
                        };
                    };
                }
                else
                {
                    this._-1jL(_arg1);
                };
            }
            else
            {
                if (((((_arg3) && (!((this._-1r6 == null))))) && (!((this._-1r6 == _arg1)))))
                {
                    this._-1jL(_arg1);
                };
                k.visible = true;
                k.activate();
                if (((!((_arg1 == this._-1r6))) || (!(this._-513._-v4(_arg1)))))
                {
                    this._-1jL(_arg1);
                };
                this._-513._-0W3(_arg1);
            };
            return (true);
        }
        public function _-3sV(_arg1:String, _arg2:Boolean=true):void
        {
            var k:IWindow = this._-1On();
            if (k == null)
            {
                return;
            };
            if (k.visible)
            {
                if (this._-44H == _arg1)
                {
                    if (_arg2)
                    {
                        k.visible = false;
                    };
                }
                else
                {
                    this._-2Fp(_arg1);
                };
            }
            else
            {
                k.visible = true;
                if (_arg1 != this._-44H)
                {
                    this._-2Fp(_arg1);
                };
            };
        }
        public function _-3uT():void
        {
            if (this._-44H == null)
            {
                return;
            };
            this._-2Fp(this._-44H);
        }
        public function _-RO(_arg1:int):void
        {
            this._-U-.registerLocalizationParameter("inventory.purse.creditbalance", "balance", String(_arg1));
        }
        public function _-4Ta(_arg1:int):void
        {
            this._-U-.registerLocalizationParameter("inventory.purse.pixelbalance", "balance", String(_arg1));
        }
        public function _-2TU(_arg1:int, _arg2:int):void
        {
            this._-U-.registerLocalizationParameter("inventory.purse.clubdays", "months", String(_arg1));
            this._-U-.registerLocalizationParameter("inventory.purse.clubdays", "days", String(_arg2));
        }
        public function _-L6(_arg1:_-3b):void
        {
            this._-0a7 = _arg1;
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-0WL);
        }
        private function _-oq(_arg1:String):void
        {
            switch (_arg1)
            {
                case _-503._-2uv:
                    this._-513._-4FQ._-21o();
                    return;
                case _-503._-0Ij:
                    this._-513._-4OJ._-21o();
                    return;
                case _-503._-4Ds:
                    this._-513._-0RF._-21o();
                    return;
                case _-503._-2hj:
                    this._-513._-41q._-21o();
                    return;
            };
        }
        private function _-1jL(_arg1:String):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1 == "")
            {
                return;
            };
            this._-513._-4Tk(_arg1);
            var k:ITabContextWindow = (this._-362.findChildByName("contentArea") as ITabContextWindow);
            if (k == null)
            {
                return;
            };
            k.container.removeChild(this._-32H);
            k.invalidate();
            var k:IWindowContainer = this._-513._-3Dg(_arg1);
            if (k == null)
            {
                return;
            };
            k.visible = true;
            k.container.addChild(k);
            this._-32H = k;
            this._-1r6 = _arg1;
            k.selector.setSelected(k.selector._-4Vf(_arg1));
        }
        private function _-2Fp(_arg1:String):void
        {
            if ((((_arg1 == null)) || ((_arg1 == ""))))
            {
                return;
            };
            this._-513._-4Tk(_arg1);
            var k:IWindowContainer = (this._-362.findChildByName("subContentArea") as IWindowContainer);
            while (k.numChildren > 0)
            {
                k.removeChildAt(0);
            };
            var k:IWindowContainer = this._-513._-4ZN(_arg1);
            if (k != null)
            {
                k.visible = true;
                k.visible = true;
                k.height = k.height;
                k.addChild(k);
            }
            else
            {
                k.visible = false;
                k.height = 0;
            };
            this._-362._-Ic();
            if (this._-362.parent != null)
            {
                if ((this._-362.x + this._-362.width) > this._-362.parent.width)
                {
                    this._-362.x = (this._-362.parent.width - this._-362.width);
                };
                if ((this._-362.y + this._-362.height) > this._-362.parent.height)
                {
                    this._-362.y = (this._-362.parent.height - this._-362.height);
                };
            };
            this._-45m = k;
            this._-44H = _arg1;
        }
        private function _-0WL(_arg1:_-0Sy):void
        {
            if (_arg1._-1wJ != HabboToolbarIconEnum.INVENTORY)
            {
                return;
            };
            if (_arg1.type == _-0Sy._-40N)
            {
                if (this._-1r6 == _-503._-0Ij)
                {
                    this._-0zP(_-503._-0Ij);
                }
                else
                {
                    if (this._-1r6 == _-503._-2uv)
                    {
                        this._-0zP(_-503._-2uv);
                    }
                    else
                    {
                        if (this._-513 != null)
                        {
                            this._-513._-4Op(_-503._-2uv);
                        };
                    };
                };
            };
        }
        public function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            if (_arg1.type == WindowEvent._-2wB)
            {
                k = ITabContextWindow(_arg2).selector._-WM().name;
                if (k != this._-1r6)
                {
                    this._-oq(this._-1r6);
                    this._-513._-4Op(k);
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-90)
                {
                    if (_arg2.name == "header_button_close")
                    {
                        this._-15P();
                    };
                };
            };
        }
        public function _-2ay(_arg1:int):void
        {
            if (!this._-362)
            {
                return;
            };
            if (!this._-0T)
            {
                this._-0T = this._-58I("furni");
            };
            this._-1xR(this._-0T, _arg1);
            this._-513._-4FQ._-2D2();
            this._-513._-4OJ._-2D2();
        }
        public function _-4JC(_arg1:int):void
        {
            if (!this._-362)
            {
                return;
            };
            if (!this._-53r)
            {
                this._-53r = this._-58I("badges");
            };
            this._-1xR(this._-53r, _arg1);
            this._-513._-0RF._-2D2();
        }
        public function _-427(_arg1:int):void
        {
            if (!this._-362)
            {
                return;
            };
            if (!this._-0xf)
            {
                this._-0xf = this._-58I("bots");
            };
            this._-1xR(this._-0xf, _arg1);
            this._-513._-41q._-2D2();
        }
        private function _-58I(_arg1:String):IWindowContainer
        {
            var k:IWindowContainer = this._-U-.createUnseenItemCounter();
            var k:IWindowContainer = (this._-362.findChildByName(_arg1) as IWindowContainer);
            if (k)
            {
                k.addChild(k);
                k.x = ((k.width - k.width) - _-iA);
                k.y = _-iA;
            };
            return (k);
        }
        private function _-1xR(_arg1:IWindowContainer, _arg2:int):void
        {
            _arg1.findChildByName("count").caption = _arg2.toString();
            _arg1.visible = (_arg2 > 0);
        }

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp._-f-

package _-3Zp
{
    import flash.utils.Timer;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-0ln._-5Ev;
    import _-4pF._-3Ts;
    import flash.events.TimerEvent;
    import _-295.BitmapDataAsset;
    import _-0Ix._-2Aa;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-1ae._-3Yi;
    import _-293._-4q2;

    public class _-f- 
    {

        public static const _-4S7:int = 1;
        public static const _-0gi:int = 2;
        private static const _-0oy:int = 5;
        private static const _-25n:int = 250;
        private static const _-4fw:int = 100;
        private static const _-2Lq:int = 180;
        private static const _-3eX:int = 200;

        private var _-Ee:Timer;
        private var _-1yT:Timer;
        private var _assets:_-39L;
        private var _-zv:IWindowContainer;
        private var _parent:IWindowContainer;
        private var _-4Sg:int = 2;
        private var _-Mc:BitmapData;
        private var _-4yN:BitmapData;
        private var _-2my:_-5Ev;
        private var _-U-:_-3Ts;

        public function _-f-(_arg1:IWindowContainer, _arg2:_-39L, _arg3:_-3Ts)
        {
            this._-Ee = new Timer(_-25n, 1);
            this._-1yT = new Timer(_-4fw, 1);
            super();
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                throw (new Error("Null pointers passed as argument!"));
            };
            this._-zv = _arg1;
            this._-zv.visible = false;
            this._assets = _arg2;
            this._-U- = _arg3;
            this._-Ee.addEventListener(TimerEvent.TIMER, this._-0Ra);
            this._-1yT.addEventListener(TimerEvent.TIMER, this._-3Wr);
            var k:BitmapDataAsset = (this._assets.getAssetByName("popup_arrow_right_png") as BitmapDataAsset);
            if (((!((k == null))) && (!((k.content == null)))))
            {
                this._-4yN = (k.content as BitmapData);
            };
            k = (this._assets.getAssetByName("popup_arrow_left_png") as BitmapDataAsset);
            if (((!((k == null))) && (!((k.content == null)))))
            {
                this._-Mc = (k.content as BitmapData);
            };
        }
        public function dispose():void
        {
            if (this._-Ee != null)
            {
                this._-Ee.removeEventListener(TimerEvent.TIMER, this._-0Ra);
                this._-Ee.stop();
                this._-Ee = null;
            };
            if (this._-1yT != null)
            {
                this._-1yT.removeEventListener(TimerEvent.TIMER, this._-3Wr);
                this._-1yT.stop();
                this._-1yT = null;
            };
            this._assets = null;
            this._-zv = null;
            this._parent = null;
            this._-Mc = null;
            this._-4yN = null;
        }
        public function _-0PO(_arg1:IWindowContainer, _arg2:String, _arg3:BitmapData, _arg4:_-4q2=null, _arg5:int=2):void
        {
            var k:BitmapData;
            var k:_-2Aa;
            if (this._-zv == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            if (_arg3 == null)
            {
                k = new BitmapData(1, 1, true, 0xFFFFFF);
            };
            if (this._parent != null)
            {
                this._parent.removeChild(this._-zv);
            };
            this._parent = _arg1;
            this._-4Sg = _arg5;
            var k:ITextWindow = ITextWindow(this._-zv.findChildByName("item_name_text"));
            if (k)
            {
                k.text = _arg2;
            };
            var k:IBitmapWrapperWindow = (this._-zv.findChildByName("item_image") as IBitmapWrapperWindow);
            if (k)
            {
                k = new BitmapData(Math.min(_-2Lq, _arg3.width), Math.min(_-3eX, _arg3.height), true, 0xFFFFFF);
                k.copyPixels(_arg3, new Rectangle(0, 0, k.width, k.height), new Point(0, 0), null, null, true);
                k.bitmap = k;
                k.width = k.bitmap.width;
                k.height = k.bitmap.height;
                k.x = ((this._-zv.width - k.width) / 2);
                this._-zv.height = (k.bottom + 10);
            };
            var k:_-3Yi = _-3Yi(this._-zv.findChildByName("unique_item_overlay_widget"));
            if (((!((_arg4 == null))) && ((_arg4.uniqueSerialNumber > 0))))
            {
                k = _-2Aa(k.widget);
                k._-2GS = _arg4.uniqueSerialNumber;
                k._-0O1 = _arg4._-2dO;
            }
            else
            {
                k.visible = false;
            };
        }
        public function show():void
        {
            this._-1yT.reset();
            this._-Ee.reset();
            if (this._parent == null)
            {
                return;
            };
            this._-zv.visible = true;
            this._parent.addChild(this._-zv);
            this._-pt(this._-4Sg);
            switch (this._-4Sg)
            {
                case _-4S7:
                    this._-zv.x = ((-1 * this._-zv.width) - _-0oy);
                    break;
                case _-0gi:
                    this._-zv.x = (this._parent.width + _-0oy);
                    break;
            };
            this._-zv.y = ((this._parent.height - this._-zv.height) / 2);
        }
        public function hide():void
        {
            this._-zv.visible = false;
            this._-1yT.reset();
            this._-Ee.reset();
            if (this._parent != null)
            {
                this._parent.removeChild(this._-zv);
            };
        }
        public function _-01b():void
        {
            this._-1yT.reset();
            this._-Ee.reset();
            this._-Ee.start();
        }
        public function _-2fR():void
        {
            this._-1yT.reset();
            this._-Ee.reset();
            this._-1yT.start();
        }
        private function _-pt(_arg1:int=2):void
        {
            if ((((this._-zv == null)) || (this._-zv.disposed)))
            {
                return;
            };
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-zv.findChildByName("arrow_pointer"));
            if (!k)
            {
                return;
            };
            switch (_arg1)
            {
                case _-4S7:
                    k.bitmap = this._-4yN.clone();
                    k.width = this._-4yN.width;
                    k.height = this._-4yN.height;
                    k.y = ((this._-zv.height - this._-4yN.height) / 2);
                    k.x = (this._-zv.width - 1);
                    break;
                case _-0gi:
                    k.bitmap = this._-Mc.clone();
                    k.width = this._-Mc.width;
                    k.height = this._-Mc.height;
                    k.y = ((this._-zv.height - this._-Mc.height) / 2);
                    k.x = ((-1 * this._-Mc.width) + 1);
                    break;
            };
            k.invalidate();
        }
        private function _-0Ra(_arg1:TimerEvent):void
        {
            this.show();
        }
        private function _-3Wr(_arg1:TimerEvent):void
        {
            this.hide();
        }

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp.HabboInventory

package _-3Zp
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-4pF._-3Ts;
    import _-1Jd._-51K;
    import _-1Jd._-45k;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-mv._-54I;
    import _-295._-39L;
    import _-18r.Map;
    import _-293._-5-S;
    import _-1Jd._-4JJ;
    import _-2ZG.Purse;
    import _-4Kb._-3nt;
    import _-0mD._-2Jq;
    import _-3vb._-3b;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboSoundManager;
    import _-1B-._-5CE;
    import _-yT._-7k;
    import _-yT._-2vm;
    import _-2Nr.FurniModel;
    import _-3cY._-503;
    import _-0ln._-5Ev;
    import _-3cY._-4xg;
    import _-1fM.EffectsModel;
    import _-3Uz.BadgesModel;
    import _-2N1._-4E8;
    import _-0g4._-1Bw;
    import _-4Ae._-1RG;
    import _-4Br._-3hN;
    import _-1Jd._-1ij;
    import _-1HK._-4Pw;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-4Aj._-0tL;
    import _-77._-4jh;
    import _-0Pi._-42S;
    import _-b9._-we;
    import _-Ew.IWindowContainer;
    import flash.events.Event;
    import _-4WI._-3at;
    import _-4WI._-4yb;
    import _-0ly._-2G-;
    import _-3mW._-1sV;
    import _-3cY._-1mk;
    import _-0ly._-2P9;
    import _-0ly._-2IL;
    import _-3cY._-2Jr;
    import com.sulake.iid.*;

    public class HabboInventory extends _-Px implements _-1bw 
    {

        private static const _-1Oq:int = 500;

        private var _-0ud:_-4BJ;
        private var _-YG:IncomingMessages;
        private var _-U-:_-3Ts;
        private var _-0pW:_-51K;
        private var _-16k:_-45k;
        private var _-cU:_-0hg;
        private var _-0Xx:_-4uR;
        private var _-42G:_-54I;
        private var _-AV:_-39L;
        private var _-Ke:_-50R;
        private var _-4C:Map;
        private var _-0tK:_-5-S;
        private var _-06h:_-4JJ;
        private var _-1GG:Array;
        private var _-LD:Purse;
        private var _-21X:_-3nt;
        private var _-3oJ:_-2Jq;
        private var _-0a7:_-3b;
        private var _-rY:Boolean;
        private var _-3p9:Boolean;
        private var _-In:UnseenItemTracker;

        public function HabboInventory(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-AV = _arg3;
            this._-LD = new Purse();
            this._-1GG = new Array();
            queueInterface(new IIDHabboCommunicationManager(), this._-0tq);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboLocalizationManager(), this._-1i2);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboConfigurationManager(), this._-nh);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDAvatarRenderManager(), this._-PS);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
        }
        public function get _-0m7():Boolean
        {
            return (this._-Ke._-0m7);
        }
        public function get _-U1():Boolean
        {
            return (this._-Ke._-3Cm);
        }
        public function get _-25k():Boolean
        {
            return (this._-rY);
        }
        public function get _-20u():_-50d
        {
            return (this._-In);
        }
        override public function dispose():void
        {
            var k:Array;
            var k:int;
            var k:String;
            var k:_-4Yh;
            super.dispose();
            if (this._-4C)
            {
                k = this._-4C._-18C();
                k = 0;
                while (k < k.length)
                {
                    k = k[k];
                    k = (this._-4C.getValue(k) as _-4Yh);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-4C.dispose();
                this._-4C = null;
            };
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-06h = null;
            this._-YG = null;
            if (this._-In)
            {
                this._-In.dispose();
                this._-In = null;
            };
            if (this._-0ud != null)
            {
                release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-YG != null)
            {
                this._-YG.dispose();
            };
            if (this._-U- != null)
            {
                release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-cU != null)
            {
                release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-0tK != null)
            {
                release(new IIDRoomEngine());
                this._-0tK = null;
            };
            if (this._-0Xx)
            {
                this._-0Xx.release(new IIDHabboConfigurationManager());
                this._-0Xx = null;
            };
            if (this._-0pW)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-21X)
            {
                this._-21X.release(new IIDAvatarRenderManager());
                this._-21X = null;
            };
            if (this._-3oJ)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-16k != null)
            {
                this._-16k.events.removeEventListener(_-7k._-1YC, this._-2Ms);
                this._-16k.events.removeEventListener(_-7k._-44W, this._-2Ms);
                this._-16k.events.removeEventListener(_-2vm._-0zH, this._-2Ms);
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            if (this._-42G != null)
            {
                this._-42G = null;
            };
            if (this._-0a7)
            {
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        private function getModel(_arg1:String):_-4Yh
        {
            if (!this._-rY)
            {
                this.init();
            };
            return (this._-4C.getValue(_arg1));
        }
        public function get _-4FQ():FurniModel
        {
            if (disposed)
            {
                return (null);
            };
            return (FurniModel(this.getModel(_-503._-2uv)));
        }
        public function get _-4gG():_-5Ev
        {
            if (disposed)
            {
                return (null);
            };
            return (_-5Ev(this.getModel(_-4xg._-5Dx)));
        }
        public function get _-0Uu():EffectsModel
        {
            if (disposed)
            {
                return (null);
            };
            return (EffectsModel(this.getModel(_-503._-4ma)));
        }
        public function get _-0RF():BadgesModel
        {
            if (disposed)
            {
                return (null);
            };
            return (BadgesModel(this.getModel(_-503._-4Ds)));
        }
        public function get _-2z6():_-4E8
        {
            if (disposed)
            {
                return (null);
            };
            return (_-4E8(this.getModel(_-4xg._-3aN)));
        }
        public function get _-4OJ():_-1Bw
        {
            if (disposed)
            {
                return (null);
            };
            return (_-1Bw(this.getModel(_-503._-0Ij)));
        }
        public function get _-41q():_-1RG
        {
            if (disposed)
            {
                return (null);
            };
            return (_-1RG(this.getModel(_-503._-2hj)));
        }
        public function get _-Nn():_-3hN
        {
            if (disposed)
            {
                return (null);
            };
            return (_-3hN(this.getModel(_-503._-0VU)));
        }
        public function get _-cT():_-51K
        {
            return (this._-0pW);
        }
        public function get roomSession():_-4JJ
        {
            return (this._-06h);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get clubDays():int
        {
            return (this._-LD.clubDays);
        }
        public function get clubPeriods():int
        {
            return (this._-LD.clubPeriods);
        }
        public function get _-54M():int
        {
            return (this._-LD._-54M);
        }
        public function get _-0-R():Boolean
        {
            return (this._-LD._-0-R);
        }
        public function get _-1Kf():Boolean
        {
            return (this._-LD._-1Kf);
        }
        public function get _-4jL():Boolean
        {
            return (this._-LD._-4jL);
        }
        public function get _-0yE():int
        {
            return (this._-LD._-2J);
        }
        public function get clubLevel():int
        {
            if ((((this.clubDays == 0)) && ((this.clubPeriods == 0))))
            {
                return (_-1ij._-42U);
            };
            if (this._-LD._-0Dl)
            {
                return (_-1ij._-1pk);
            };
            return (_-1ij._-12G);
        }
        public function get _-0io():Boolean
        {
            return (!((this._-06h == null)));
        }
        public function _-9R():String
        {
            return (this._-Ke._-9R());
        }
        public function _-34w():String
        {
            return (this._-Ke._-34w());
        }
        public function _-2TU(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:Boolean, _arg5:Boolean, _arg6:Boolean, _arg7:int):void
        {
            this._-LD.clubPeriods = _arg1;
            this._-LD.clubDays = _arg2;
            this._-LD._-0-R = _arg3;
            this._-LD._-0Dl = _arg4;
            this._-LD._-1Kf = _arg5;
            this._-LD._-4jL = _arg6;
            this._-LD._-2J = _arg7;
            this._-Ke._-2TU(this.clubPeriods, this.clubDays);
        }
        private function _-0tq(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = _-4BJ(_arg2);
            this._-YG = new IncomingMessages(this);
            this._-0ud.addHabboConnectionMessageEvent(new _-4Pw(this._-4sK));
            this.prepare();
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = _-3Ts(_arg2);
            this.prepare();
        }
        private function _-1i2(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-cU = (_arg2 as _-0hg);
            this.prepare();
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0tK = _-5-S(_arg2);
            this.prepare();
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0pW = _-51K(_arg2);
            this.prepare();
        }
        private function _-nh(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0Xx = (_arg2 as _-4uR);
            this.prepare();
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = (_arg2 as _-2Jq);
            this.prepare();
        }
        private function _-PS(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-21X = (_arg2 as _-3nt);
            this.prepare();
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-16k = _-45k(_arg2);
            this._-16k.events.addEventListener(_-7k._-1YC, this._-2Ms);
            this._-16k.events.addEventListener(_-7k._-44W, this._-2Ms);
            this._-16k.events.addEventListener(_-2vm._-0zH, this._-2Ms);
            this.prepare();
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-42G = _-54I(_arg2);
            this.prepare();
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = _-3b(_arg2);
            this.prepare();
        }
        private function _-4sK(_arg1:_-0tL):void
        {
            this._-4n7();
        }
        private function _-4n7():void
        {
            this._-0ud._-4gR(null).send(new _-4jh());
            this._-0ud._-4gR(null).send(new _-42S("habbo_club"));
            this._-0ud._-4gR(null).send(new _-we());
        }
        private function _-2Ms(_arg1:_-7k):void
        {
            switch (_arg1.type)
            {
                case _-7k._-1YC:
                    this._-06h = _arg1.session;
                    if (this._-rY)
                    {
                        if (this._-4OJ != null)
                        {
                            this._-4OJ._-1zJ();
                        };
                        if (this._-4FQ != null)
                        {
                            this._-4FQ._-2D2();
                        };
                    };
                    return;
                case _-7k._-44W:
                    this._-06h = null;
                    if (this._-rY)
                    {
                        this._-4nV();
                    };
                    return;
                case _-2vm._-0zH:
                    if (this._-rY)
                    {
                        if (this._-4OJ != null)
                        {
                            this._-4OJ._-1zJ();
                        };
                    };
                    return;
            };
        }
        private function prepare():void
        {
            if (((((((((((((((((((((!(this._-0ud)) || (!(this._-U-)))) || (!(this._-cU)))) || (!(this._-0tK)))) || (!(this._-0pW)))) || (!(this._-0Xx)))) || (!(this._-3oJ)))) || (!(this._-21X)))) || (!(this._-16k)))) || (!(this._-0a7)))) || (!(this._-42G))))
            {
                return;
            };
            this._-In = new UnseenItemTracker(this._-0ud, events, this);
            this._-Ke = new _-50R(this, this._-U-, this._-AV);
            this._-Ke._-L6(this._-0a7);
        }
        private function init():void
        {
            this._-4C = new Map();
            var k:_-3hN = new _-3hN(this, this._-U-, this._-0ud, this._-AV, this._-0tK, this._-cU, this._-0Xx);
            this._-4C.add(_-503._-0VU, k);
            var k:FurniModel = new FurniModel(this, k, this._-U-, this._-0ud, this._-AV, this._-0tK, this._-3oJ, this._-42G, this._-cU);
            this._-4C.add(_-503._-2uv, k);
            var k:BadgesModel = new BadgesModel(this, this._-U-, this._-0ud, this._-AV);
            this._-4C.add(_-503._-4Ds, k);
            var k:EffectsModel = new EffectsModel(this, this._-U-, this._-0ud, this._-AV, this._-cU);
            this._-4C.add(_-503._-4ma, k);
            var k:_-5Ev = new _-5Ev(this, this._-U-, this._-0ud, this._-AV, this._-0tK, this._-cU, this._-42G, this._-0Xx);
            this._-4C.add(_-4xg._-5Dx, k);
            var k:_-4E8 = new _-4E8(this, this._-U-, this._-0ud, this._-AV, this._-0tK, this._-cU);
            this._-4C.add(_-4xg._-3aN, k);
            var k:_-1Bw = new _-1Bw(this, this._-U-, this._-0ud, this._-AV, this._-0tK, this._-3oJ);
            this._-4C.add(_-503._-0Ij, k);
            var k:_-1RG = new _-1RG(this, this._-U-, this._-0ud, this._-AV, this._-0tK, this._-3oJ, this._-21X);
            this._-4C.add(_-503._-2hj, k);
            this._-rY = true;
            if (this._-3p9)
            {
                this._-4n7();
            };
        }
        public function _-3Dg(_arg1:String):IWindowContainer
        {
            var k:_-4Yh = _-4Yh(this._-4C.getValue(_arg1));
            if (k == null)
            {
                return (null);
            };
            return (k.getWindowContainer());
        }
        public function _-4ZN(_arg1:String):IWindowContainer
        {
            var k:_-4Yh = _-4Yh(this._-4C.getValue(_arg1));
            if (k == null)
            {
                return (null);
            };
            return (k.getWindowContainer());
        }
        public function _-41J():Array
        {
            var k:EffectsModel = this._-0Uu;
            if (k == null)
            {
                return (new Array());
            };
            return (k._-0fP(1));
        }
        public function getAvatarEffects():Array
        {
            var k:EffectsModel = this._-0Uu;
            if (k == null)
            {
                return (new Array());
            };
            return (k._-0fP());
        }
        public function setEffectSelected(_arg1:int):void
        {
            var k:EffectsModel = this._-0Uu;
            if (k == null)
            {
                return;
            };
            k._-3eP(_arg1);
            this._-3XZ();
        }
        public function setEffectDeselected(_arg1:int):void
        {
            var k:EffectsModel = this._-0Uu;
            if (k == null)
            {
                return;
            };
            k._-0w6(_arg1, true);
            this._-3XZ();
        }
        public function _-4nV(_arg1:Boolean=false):void
        {
            var k:EffectsModel = this._-0Uu;
            if (k == null)
            {
                return;
            };
            k._-0DD(true, true, _arg1);
            this._-3XZ();
        }
        public function _-3jK(_arg1:int):_-47i
        {
            var k:EffectsModel = this._-0Uu;
            if (k == null)
            {
                return (null);
            };
            return (k._-IC(_arg1));
        }
        public function _-29e():void
        {
            if (((this._-Ke) && (this._-Ke._-0m7)))
            {
                this._-Ke._-15P();
            };
        }
        public function _-192():void
        {
            if (this._-Ke)
            {
                this._-Ke._-3YV();
            };
        }
        public function _-4Op(_arg1:String, _arg2:Boolean=false):void
        {
            var k:Boolean = this._-Ke._-0zP(_arg1, false, _arg2);
            if (k)
            {
                this._-0W3(_arg1);
            };
            if (!k)
            {
                events.dispatchEvent(new Event(_-3at.HABBO_INVENTORY_TRACKING_EVENT_CLOSED));
            };
        }
        public function _-O-(_arg1:String):void
        {
            var k:_-4Yh;
            this._-Ke._-3sV(_arg1, false);
            var k:int;
            while (k < this._-4C.length)
            {
                k = (this._-4C.getWithIndex(k) as _-4Yh);
                k._-3NF(_arg1);
                k++;
            };
            switch (_arg1)
            {
                case _-4xg._-5Dx:
                    this._-Ke._-0zP(_-503._-2uv, false);
                    return;
            };
        }
        public function _-Y9():void
        {
            this._-Ke._-3uT();
        }
        public function _-3mZ():void
        {
            var k:int;
            var k:_-4Yh;
            if (this._-4C)
            {
                k = 0;
                while (k < this._-4C.length)
                {
                    k = (this._-4C.getWithIndex(k) as _-4Yh);
                    k._-3mZ();
                    k++;
                };
            };
            events.dispatchEvent(new Event(_-3at.HABBO_INVENTORY_TRACKING_EVENT_CLOSED));
        }
        public function _-Dy():void
        {
            if (!this._-rY)
            {
                this.init();
            };
        }
        public function _-0W3(_arg1:String):void
        {
            var k:_-4Yh;
            var k:int;
            while (k < this._-4C.length)
            {
                k = (this._-4C.getWithIndex(k) as _-4Yh);
                k._-52O(_arg1);
                k++;
            };
        }
        public function _-43v(_arg1:int, _arg2:String):void
        {
            if (!this._-rY)
            {
                this.init();
            };
            var k:_-5Ev = this._-4gG;
            if (k == null)
            {
                return;
            };
            k._-0P7(_arg1);
        }
        public function get _-10n():Boolean
        {
            var k:_-5Ev = this._-4gG;
            if (k == null)
            {
                return (false);
            };
            return (k.running);
        }
        public function _-v3(_arg1:Boolean):void
        {
            if (this._-2z6 != null)
            {
                if (_arg1)
                {
                    this._-2z6._-2nl();
                }
                else
                {
                    this._-2z6._-0pu();
                };
            };
        }
        public function _-1z3():int
        {
            if (this._-2z6 != null)
            {
                return (this._-2z6._-bX());
            };
            return (0);
        }
        public function _-1KG(_arg1:int):Boolean
        {
            if (this._-2z6 != null)
            {
                return (this._-2z6._-3Fo(_arg1));
            };
            return (false);
        }
        public function _-58Z():Boolean
        {
            var k:_-5Ev = this._-4gG;
            return ((((k)!=null) ? k._-3Du : false));
        }
        public function _-3f2(_arg1:String, _arg2:Boolean=true):void
        {
            var _local3:int;
            if (_arg2)
            {
                if (this._-1GG.indexOf(_arg1) == -1)
                {
                    this._-1GG.push(_arg1);
                };
            }
            else
            {
                _local3 = this._-1GG.indexOf(_arg1);
                if (_local3 >= 0)
                {
                    this._-1GG.splice(_local3, 1);
                };
            };
        }
        public function _-v4(_arg1:String):Boolean
        {
            if (this._-1GG.indexOf(_arg1) >= 0)
            {
                return (true);
            };
            return (false);
        }
        public function _-4Tk(_arg1:String):Boolean
        {
            if (this._-v4(_arg1))
            {
                return (true);
            };
            this._-1dd(_arg1);
            return (false);
        }
        public function _-1dd(_arg1:String):void
        {
            var k:_-4Yh = (this._-4C.getValue(_arg1) as _-4Yh);
            if (k != null)
            {
                k._-eq(_-1Oq);
            };
        }
        public function _-3XZ():void
        {
            events.dispatchEvent(new _-4yb(_-4yb._-gU));
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function _-3P0(_arg1:_-2P9):Boolean
        {
            var k:int;
            var k:Boolean;
            if ((_arg1 is _-2G-))
            {
                k = _-1sV._-0u-;
            }
            else
            {
                k = _-1sV._-20L;
            };
            if (_arg1.category == _-1mk._-2lg)
            {
                k = this._-0tK._-WZ(_arg1.id, k, _arg1.type, _arg1._-vM.getLegacyString());
            }
            else
            {
                k = this._-0tK._-WZ(_arg1.id, k, _arg1.type, _arg1._-33C.toString(), _arg1._-vM);
            };
            return (k);
        }
        public function _-239(_arg1:int):_-2P9
        {
            var k:int;
            var k:_-2IL;
            var k:_-2P9;
            var k:Array = this._-4FQ._-Ea(FurniModel._-4A5);
            if (k != null)
            {
                k = 0;
                while (k < k.length)
                {
                    k = (k[k] as _-2IL);
                    k = k._-2fQ(_arg1);
                    if (k != null)
                    {
                        return (k);
                    };
                    k++;
                };
            };
            return (null);
        }
        public function _-g5(_arg1:int):_-2P9
        {
            var k:int;
            var k:_-2IL;
            var k:_-2P9;
            var k:Array = this._-4FQ._-Ea(FurniModel._-0fv);
            if (k != null)
            {
                k = 0;
                while (k < k.length)
                {
                    k = (k[k] as _-2IL);
                    k = k._-2fQ(_arg1);
                    if (k != null)
                    {
                        return (k);
                    };
                    k++;
                };
            };
            return (null);
        }
        public function _-42B(_arg1:int, _arg2:Boolean=false):Boolean
        {
            return (this._-4OJ._-42B(_arg1, _arg2));
        }
        public function _-1XT():void
        {
            var k:int;
            k = (k + this._-In._-4JM(_-2Jr._-4Aq));
            k = (k + this._-In._-4JM(_-2Jr._-59K));
            k = (k + this._-In._-4JM(_-2Jr._-0Zq));
            this._-Ke._-2ay(k);
            var k:int = this._-In._-4JM(_-2Jr.BADGE);
            this._-Ke._-4JC(k);
            var k:int = this._-In._-4JM(_-2Jr.BOT);
            this._-Ke._-427(k);
        }
        public function _-541(_arg1:int):Boolean
        {
            var k:Boolean = this._-4FQ._-541(_arg1);
            if (k)
            {
                this._-1XT();
            };
            return (k);
        }
        public function _-0ED(_arg1:int):Boolean
        {
            var k:Boolean = this._-4OJ._-541(_arg1);
            if (k)
            {
                this._-1XT();
            };
            return (k);
        }
        public function _-20g():void
        {
            this._-3f2(_-503._-2uv, false);
            this._-3f2(_-503._-0Ij, false);
            this._-3f2(_-503._-2hj, false);
            this._-3f2(_-503._-4Ds, false);
            this._-3f2(_-503._-4ma, false);
            this._-3f2(_-503._-0VU, false);
        }
        public function get config():_-4uR
        {
            return (this._-0Xx);
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp.IncomingMessages

package _-3Zp
{
    import _-3gx._-4BJ;
    import __AS3__.vec.Vector;
    import _-18r.Map;
    import _-CQ._-51S;
    import _-CQ._-3WQ;
    import _-CQ._-5Bq;
    import _-CQ._-1F7;
    import _-CQ._-4YR;
    import _-0ZI._-2gy;
    import _-0ZI._-0sC;
    import _-0ZI._-07M;
    import _-0ZI._-3tK;
    import _-2It._-44B;
    import _-ge._-4zN;
    import _-2It._-2Oz;
    import _-0Yg._-KL;
    import _-ge._-0Bi;
    import _-ge._-1Lx;
    import _-69._-3fY;
    import _-0dE._-2k6;
    import _-1Z1._-4No;
    import _-0dE._-3Sb;
    import _-1Z1._-2dQ;
    import _-0dE._-3-w;
    import _-1Z1._-0Qh;
    import _-0dE._-S8;
    import _-1Z1._-1of;
    import _-0dE._-uT;
    import _-1Z1._-3Hl;
    import _-0dE._-Pz;
    import _-1Z1._-1BN;
    import _-0dE._-11J;
    import _-1Z1._-2sj;
    import _-0dE._-0qk;
    import _-1Z1._-2fh;
    import _-0dE._-3sK;
    import _-1Z1._-03I;
    import _-0dE._-1GN;
    import _-1Z1._-92;
    import _-2na._-3aG;
    import _-2na._-1G-;
    import _-4OG._-2oY;
    import _-1Q8._-567;
    import _-0Yi._-2cP;
    import _-0Yi._-0fT;
    import _-0Yi._-xp;
    import _-0Yi._-3F2;
    import _-4V9._-2Mj;
    import _-4V9._-4XH;
    import _-4V9._-0zb;
    import _-Aj._-2cw;
    import _-Aj._-2eB;
    import _-Aj._-fX;
    import _-Aj._-3nV;
    import _-48G._-0n7;
    import _-1HK._-2Xf;
    import _-2np._-1ZV;
    import _-1sn._-0AW;
    import _-2Nr.FurniModel;
    import _-4Aj._-0tL;
    import _-1sn._-4sU;
    import _-0ly._-2P9;
    import _-CQ._-3Jb;
    import _-0ly._-2G-;
    import _-0ly._-Gz;
    import _-1sn._-3sk;
    import _-0ly._-2IL;
    import _-1Xv._-1eX;
    import _-3cY._-503;
    import _-1sn._-qe;
    import _-0ZI._-0Zf;
    import _-1fM._-1OA;
    import _-1fM.EffectsModel;
    import _-1-P._-53d;
    import _-1-P._-1W-;
    import _-1-P._-4RY;
    import _-1-P._-2cM;
    import _-ta._-mk;
    import _-4WI._-4pP;
    import _-lL._-50w;
    import _-3Uz.BadgesModel;
    import _-lL._-2hT;
    import _-lL._-0CH;
    import _-2qO._-1DJ;
    import _-lL._-49y;
    import _-u-._-1cc;
    import _-18r.ErrorReportStorage;
    import _-1Jd._-51K;
    import _-1Jd._-4JJ;
    import _-3cY._-4xg;
    import _-1Jd._-4LX;
    import _-0ln._-5Ev;
    import _-0dE._-0VW;
    import _-3cY._-1mk;
    import _-0g4._-1Bw;
    import _-Os._-0Pr;
    import _-Os._-1g4;
    import _-Os._-Il;
    import _-Os._-1S4;
    import _-4Ae._-1RG;
    import _-0c3._-1KZ;
    import _-0c3._-0iN;
    import _-0c3._-4fA;
    import _-4Br._-3hN;
    import _-2gf._-gS;
    import _-2gf._-0hv;
    import _-2gf._-4lf;
    import _-2gf._-0Aq;
    import __AS3__.vec.*;

    public class IncomingMessages 
    {

        private var _-YX:HabboInventory;
        private var _-Ef:_-4BJ;
        private var _-3Fi:Vector.<Map>;

        public function IncomingMessages(_arg1:HabboInventory)
        {
            this._-YX = _arg1;
            this._-Ef = this._-YX.communication;
            this._-Ef.addHabboConnectionMessageEvent(new _-51S(this._-2C-));
            this._-Ef.addHabboConnectionMessageEvent(new _-3WQ(this._-2Y9));
            this._-Ef.addHabboConnectionMessageEvent(new _-5Bq(this._-24C));
            this._-Ef.addHabboConnectionMessageEvent(new _-1F7(this._-4ez));
            this._-Ef.addHabboConnectionMessageEvent(new _-4YR(this._-4wg));
            this._-Ef.addHabboConnectionMessageEvent(new _-2gy(this._-4dV));
            this._-Ef.addHabboConnectionMessageEvent(new _-0sC(this._-47E));
            this._-Ef.addHabboConnectionMessageEvent(new _-07M(this._-1hB));
            this._-Ef.addHabboConnectionMessageEvent(new _-3tK(this._-3SI));
            this._-Ef.addHabboConnectionMessageEvent(new _-44B(this._-1Qq));
            this._-Ef.addHabboConnectionMessageEvent(new _-4zN(this._-46i));
            this._-Ef.addHabboConnectionMessageEvent(new _-2Oz(this._-3fe));
            this._-Ef.addHabboConnectionMessageEvent(new _-KL(this._-08i));
            this._-Ef.addHabboConnectionMessageEvent(new _-0Bi(this._-2l7));
            this._-Ef.addHabboConnectionMessageEvent(new _-1Lx(this._-0UQ));
            this._-Ef.addHabboConnectionMessageEvent(new _-3fY(this._-2xg));
            this._-Ef.addHabboConnectionMessageEvent(new _-2k6(this._-251, _-4No));
            this._-Ef.addHabboConnectionMessageEvent(new _-3Sb(this._-68, _-2dQ));
            this._-Ef.addHabboConnectionMessageEvent(new _-3-w(this._-4br, _-0Qh));
            this._-Ef.addHabboConnectionMessageEvent(new _-S8(this._-1z1, _-1of));
            this._-Ef.addHabboConnectionMessageEvent(new _-uT(this._-4sZ, _-3Hl));
            this._-Ef.addHabboConnectionMessageEvent(new _-Pz(this._-11P, _-1BN));
            this._-Ef.addHabboConnectionMessageEvent(new _-11J(this._-BP, _-2sj));
            this._-Ef.addHabboConnectionMessageEvent(new _-0qk(this._-395, _-2fh));
            this._-Ef.addHabboConnectionMessageEvent(new _-3sK(this._-3W2, _-03I));
            this._-Ef.addHabboConnectionMessageEvent(new _-1GN(this._-35R, _-92));
            this._-Ef.addHabboConnectionMessageEvent(new _-3aG(this._-j4));
            this._-Ef.addHabboConnectionMessageEvent(new _-1G-(this._-j4));
            this._-Ef.addHabboConnectionMessageEvent(new _-2oY(this._-j4));
            this._-Ef.addHabboConnectionMessageEvent(new _-567(this._-0TW));
            this._-Ef.addHabboConnectionMessageEvent(new _-2cP(this._-5B5));
            this._-Ef.addHabboConnectionMessageEvent(new _-0fT(this._-2cs));
            this._-Ef.addHabboConnectionMessageEvent(new _-xp(this._-3tk));
            this._-Ef.addHabboConnectionMessageEvent(new _-3F2(this._-0Se));
            this._-Ef.addHabboConnectionMessageEvent(new _-2Mj(this._-53f));
            this._-Ef.addHabboConnectionMessageEvent(new _-4XH(this._-iU));
            this._-Ef.addHabboConnectionMessageEvent(new _-0zb(this._-zX));
            this._-Ef.addHabboConnectionMessageEvent(new _-2cw(this._-2rV));
            this._-Ef.addHabboConnectionMessageEvent(new _-2eB(this._-0P2));
            this._-Ef.addHabboConnectionMessageEvent(new _-fX(this._-21g));
            this._-Ef.addHabboConnectionMessageEvent(new _-3nV(this._-2V1));
            this._-Ef.addHabboConnectionMessageEvent(new _-0n7(this._-AJ));
            this._-Ef.addHabboConnectionMessageEvent(new _-2Xf(this._-4tb));
        }
        public function dispose():void
        {
            this._-YX = null;
            this._-Ef = null;
        }
        private function _-1vJ():_-1ZV
        {
            if (this._-Ef == null)
            {
                return (null);
            };
            return (this._-Ef._-4gR(null));
        }
        public function _-2C-(_arg1:_-0tL):void
        {
            var k:_-0AW = (_arg1 as _-51S)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:FurniModel = this._-YX._-4FQ;
            if (k == null)
            {
                return;
            };
            k._-2ki(k._-2A5, k._-1DY(), k._-0Ao, k._-2nV);
        }
        public function _-2Y9(_arg1:_-0tL):void
        {
            var k:_-4sU = (_arg1 as _-3WQ)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:FurniModel = this._-YX._-4FQ;
            if ((((k == null)) || (!(k._-3TJ()))))
            {
                return;
            };
            var k:_-2P9;
            var k:_-3Jb;
            var k:Array = k._-1DY();
            var k:int;
            while (k < k.length)
            {
                k = _-3Jb(k[k]);
                if (k._-15x == FurniModel._-4A5)
                {
                    k = new _-2G-(k._-23C, k._-YT, k._-5An, k.category, k._-19P, k._-e5, k._-0DU, k._-2SZ, k._-vM, k._-33C, k._-49r, 0, 0, 0, k.slotId, k._-FX);
                }
                else
                {
                    if (k._-15x == FurniModel._-0fv)
                    {
                        k = new _-Gz(k._-23C, k._-YT, k._-5An, k.category, k._-19P, k._-e5, k._-0DU, k._-2SZ, k._-vM, k._-33C);
                    }
                    else
                    {
                        throw (new Error((('Unknown inventory item category: "' + k._-15x) + '"')));
                    };
                };
                k._-1lt(k, false);
                k++;
            };
            k._-ys();
        }
        public function _-24C(_arg1:_-0tL):void
        {
            var k:_-3sk = (_arg1 as _-5Bq)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:FurniModel = this._-YX._-4FQ;
            if (k == null)
            {
                return;
            };
            var k:int = k._-23C;
            var k:_-2IL = k._-pg(k);
            if (k)
            {
                k._-21o(k._-2kL);
            };
        }
        public function _-4ez(_arg1:_-0tL):void
        {
            var k:_-1ZV = this._-1vJ();
            if (k != null)
            {
                k.send(new _-1eX());
            };
            this._-YX._-3f2(_-503._-2uv, false);
        }
        public function _-4wg(_arg1:_-0tL):void
        {
            var k:_-qe = (_arg1 as _-4YR)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:FurniModel = this._-YX._-4FQ;
            if (k == null)
            {
                return;
            };
            var k:int = k.id;
            var k:int = k._-3P3;
            k._-jR(k, k);
        }
        public function _-4dV(_arg1:_-0tL):void
        {
            var k:_-0Zf;
            var k:_-1OA;
            if (this._-YX == null)
            {
                return;
            };
            var k:EffectsModel = this._-YX._-0Uu;
            if (k == null)
            {
                return;
            };
            var k:_-53d = (_arg1 as _-2gy)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:Array = k.effects;
            var k:int;
            while (k < k.length)
            {
                k = (k[k] as _-0Zf);
                k = new _-1OA();
                k.type = k.type;
                k._-4N = k._-4N;
                k.duration = k.duration;
                k._-1p6 = k._-3mx;
                if (k._-0yu >= 0)
                {
                    k._-3Cm = true;
                    k._-51V = k._-0yu;
                    k._-1p6++;
                }
                else
                {
                    if (k._-0yu == -1)
                    {
                        k._-3Cm = false;
                        k._-51V = k.duration;
                    };
                };
                k._-3JL(k, false);
                k++;
            };
            this._-YX._-3f2(_-503._-4ma);
            k._-0g0();
            this._-YX._-3XZ();
        }
        public function _-1hB(_arg1:_-0tL):void
        {
            var k:EffectsModel = this._-YX._-0Uu;
            if (k == null)
            {
                return;
            };
            var k:_-1W- = (_arg1 as _-07M)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:int = k.type;
            var k:int = k._-4N;
            var k:int = k.duration;
            var k:_-1OA = new _-1OA();
            k.type = k;
            k._-4N = k;
            k.duration = k;
            k._-51V = k;
            k._-3JL(k);
            this._-YX._-3XZ();
        }
        public function _-47E(_arg1:_-0tL):void
        {
            var k:EffectsModel = this._-YX._-0Uu;
            if (k == null)
            {
                return;
            };
            var k:_-4RY = (_arg1 as _-0sC)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:int = k.type;
            k._-3bn(k);
            this._-YX._-3XZ();
        }
        public function _-3SI(_arg1:_-0tL):void
        {
            var k:EffectsModel = this._-YX._-0Uu;
            if (k == null)
            {
                return;
            };
            var k:_-2cM = (_arg1 as _-3tK)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:int = k.type;
            k._-2nm(k);
            this._-YX._-3XZ();
        }
        public function _-1Qq(_arg1:_-0tL):void
        {
            var k:_-mk = (_arg1 as _-44B)._-3-5();
            if ((((k.productName == "habbo_club")) || ((k.productName == "club_habbo"))))
            {
                this._-YX._-2TU(k._-2yA, k._-2Kk, k._-33w, k._-0Dl, (k._-Wa == _-mk._-0WE), (k._-Wa == _-mk._-2bs), k._-2J);
                this._-YX.events.dispatchEvent(new _-4pP());
            };
        }
        public function _-46i(_arg1:_-0tL):void
        {
            var k:int;
            var k:String;
            var k:Boolean;
            var k:int;
            var k:_-50w = (_arg1 as _-4zN)._-3-5();
            if (k == null)
            {
                return;
            };
            var k:BadgesModel = this._-YX._-0RF;
            if (k == null)
            {
                return;
            };
            var k:Array = k._-0Dg();
            var k:Array = k._-35O();
            for each (k in k)
            {
                k = (k.indexOf(k) > -1);
                k = k._-2-K(k);
                k._-55y(k, k, k);
            };
            k._-2U2();
            k._-2D2();
            this._-YX._-3f2(_-503._-4Ds);
        }
        public function _-2l7(_arg1:_-0tL):void
        {
            var k:_-2hT;
            var k:_-0CH = (_arg1 as _-0Bi)._-3-5();
            for each (k in k.data)
            {
                this._-YX.localization._-2k1(k.badgeId, k.limit);
            };
        }
        public function _-3fe(_arg1:_-0tL):void
        {
            var k:String;
            var k:_-2Oz = (_arg1 as _-2Oz);
            if (k.userId != this._-YX._-cT.userId)
            {
                return;
            };
            var k:BadgesModel = this._-YX._-0RF;
            if (k == null)
            {
                return;
            };
            for each (k in k.badges)
            {
                k._-55y(k, true);
            };
            k._-2D2();
        }
        public function _-08i(_arg1:_-0tL):void
        {
            var k:_-KL = (_arg1 as _-KL);
            var k:_-1DJ = k._-3-5();
            var k:BadgesModel = this._-YX._-0RF;
            if (k != null)
            {
                k._-55y(k.data._-3T, false, k.data.badgeId);
                k._-077(k.data._-3Ay);
                k._-2D2();
            };
        }
        public function _-0UQ(_arg1:_-0tL):void
        {
            var k:_-49y = _-1Lx(_arg1)._-3-5();
            var k:BadgesModel = this._-YX._-0RF;
            if (k != null)
            {
                k._-55y(k._-3T, false, k.badgeId);
                k._-2D2();
            };
        }
        public function _-2xg(_arg1:_-0tL):void
        {
            var k:_-3fY = (_arg1 as _-3fY);
            var k:_-1cc = (k._-3-5() as _-1cc);
            if (k == null)
            {
                return;
            };
            this._-YX.localization.registerParameter("achievements_score_description", "score", k.score.toString());
        }
        private function _-395(_arg1:_-0tL):void
        {
            var k:int;
            var k:String;
            var k:Boolean;
            if (!this._-YX)
            {
                ErrorReportStorage._-0QQ("IncomingEvent", "Trading open - inventory is null!");
                return;
            };
            var k:_-51K = this._-YX._-cT;
            var k:_-4JJ = this._-YX.roomSession;
            if (!k)
            {
                ErrorReportStorage._-0QQ("IncomingEvent", "Trading open - sessionData not available!");
                return;
            };
            if (!k)
            {
                ErrorReportStorage._-0QQ("IncomingEvent", "Trading open - roomSession not available!");
                return;
            };
            this._-YX._-O-(_-4xg._-5Dx);
            var k:_-0qk = (_arg1 as _-0qk);
            if (!k)
            {
                ErrorReportStorage._-0QQ("IncomingEvent", (("event is of unknown type:" + _arg1) + "!"));
                return;
            };
            var k:int = k._-45M;
            var k:_-4LX = k.userDataManager._-2Xd(k);
            if (!k)
            {
                ErrorReportStorage._-0QQ("IncomingEvent", "Trading open - failed to retrieve own user data!");
                return;
            };
            var k:String = k.name;
            var k = (k._-481 > 0);
            var k:int = k._-2Y7;
            var k:_-4LX = k.userDataManager._-2Xd(k);
            if (!k)
            {
                ErrorReportStorage._-0QQ("IncomingEvent", "Trading open - failed to retrieve other user data!");
                return;
            };
            var k:String = k.name;
            var k = (k._-39A > 0);
            if (k == k.userId)
            {
            };
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-22z(k, k, k, k, k, k);
            };
        }
        private function _-4br(_arg1:_-0tL):void
        {
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-2wz(_arg1);
            };
        }
        private function _-1z1(_arg1:_-0tL):void
        {
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-2wz(_arg1);
            };
        }
        private function _-4sZ(_arg1:_-0tL):void
        {
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-2wz(_arg1);
            };
        }
        private function _-251(_arg1:_-0tL):void
        {
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-2wz(_arg1);
            };
        }
        private function _-68(_arg1:_-0tL):void
        {
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-2wz(_arg1);
            };
        }
        private function _-11P(_arg1:_-0tL):void
        {
            var k:uint;
            var k:_-2IL;
            var k:int;
            var k:String;
            var k:_-0VW;
            var k:int;
            var k:_-Pz = (_arg1 as _-Pz);
            var k:Map = new Map();
            var k:Map = new Map();
            var k:FurniModel = this._-YX._-4FQ;
            if (k == null)
            {
                return;
            };
            k = k._-4P3.length;
            k = 0;
            while (k < k)
            {
                k = (k._-4P3[k] as _-0VW);
                k = k._-3g8;
                k = (k._-15x + String(k));
                if (!k._-0uu)
                {
                    k = ("itemid" + k._-6N);
                };
                if (k.category == _-1mk._-2lg)
                {
                    k = ((String(k) + "poster") + k._-vM.getLegacyString());
                }
                else
                {
                    if (k.category == _-1mk._-0CW)
                    {
                        k = _-5Ev._-2lE(k, k._-vM);
                    };
                };
                k = ((k._-0uu) ? (k.getValue(k) as _-2IL) : null);
                if (k._-15x == "S")
                {
                    if (k == null)
                    {
                        k = k._-1rS(k, FurniModel._-4A5, k.category, k._-vM);
                        k.add(k, k);
                    };
                    k.push(new _-2G-(k._-6N, k._-3g8, k._-5DW, k.category, true, true, true, true, k._-vM, k._-33C, k._-DJ, k._-2n9, k._-LB, k._-6B, null, k._-tq));
                }
                else
                {
                    if (k._-15x == "I")
                    {
                        if (k == null)
                        {
                            k = k._-1rS(k, FurniModel._-0fv, k.category, k._-vM);
                            k.add(k, k);
                        };
                        k.push(new _-Gz(k._-6N, k._-3g8, k._-5DW, k.category, true, true, true, true, k._-vM, k._-33C));
                    }
                    else
                    {
                        throw (new Error((('Unsupported item category: "' + k._-15x) + '"')));
                    };
                };
                k++;
            };
            k = k._-R.length;
            k = 0;
            while (k < k)
            {
                k = (k._-R[k] as _-0VW);
                k = k._-3g8;
                k = (k._-15x + String(k));
                if (!k._-0uu)
                {
                    k = ("itemid" + k._-6N);
                };
                if (k.category == _-1mk._-2lg)
                {
                    k = ((String(k) + "poster") + k._-vM.getLegacyString());
                }
                else
                {
                    if (k.category == _-1mk._-0CW)
                    {
                        k = _-5Ev._-2lE(k, k._-vM);
                    };
                };
                k = ((k._-0uu) ? (k.getValue(k) as _-2IL) : null);
                if (k._-15x == "S")
                {
                    if (k == null)
                    {
                        k = k._-1rS(k, FurniModel._-4A5, k.category, k._-vM);
                        k.add(k, k);
                    };
                    k.push(new _-2G-(k._-6N, k._-3g8, k._-5DW, k.category, true, true, true, true, k._-vM, k._-33C, k._-DJ, k._-2n9, k._-LB, k._-6B, null, k._-tq));
                }
                else
                {
                    if (k._-15x == "I")
                    {
                        if (k == null)
                        {
                            k = k._-1rS(k, FurniModel._-0fv, k.category, k._-vM);
                            k.add(k, k);
                        };
                        k.push(new _-Gz(k._-6N, k._-3g8, k._-5DW, k.category, true, true, true, true, k._-vM, k._-33C));
                    }
                    else
                    {
                        throw (new Error((('Unsupported item category: "' + k._-15x) + '"')));
                    };
                };
                k++;
            };
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-0ft(k._-03Z, k, k._-2-p, k);
            };
        }
        private function _-BP(_arg1:_-0tL):void
        {
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-2wz(_arg1);
            };
        }
        private function _-3W2(_arg1:_-0tL):void
        {
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-2wz(_arg1);
            };
        }
        private function _-35R(_arg1:_-0tL):void
        {
            var k:_-5Ev = this._-YX._-4gG;
            if (k != null)
            {
                k._-2wz(_arg1);
            };
        }
        private function _-j4(_arg1:_-0tL):void
        {
            this._-YX._-29e();
        }
        private function _-5B5(_arg1:_-2cP):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-1Bw = this._-YX._-4OJ;
            if (k == null)
            {
                return;
            };
            var k:_-0Pr = _arg1._-3-5();
            var k:Map = this._-4IA(k._-0hz, k._-0Ao, k._-2nV);
            if (!k)
            {
                return;
            };
            this._-YX._-4OJ._-2hf(k);
            this._-YX._-3f2(_-503._-0Ij);
            this._-YX._-4OJ._-2-t();
        }
        private function _-4IA(_arg1:Map, _arg2:int, _arg3:int):Map
        {
            var k:Vector.<Map>;
            var k:Map;
            var k:Map;
            var k:Map;
            if ((((_arg2 < _arg3)) || ((_arg2 == 1))))
            {
                return (_arg1);
            };
            if (this._-3Fi == null)
            {
                this._-3Fi = new Vector.<Map>(_arg2, true);
            };
            k = this._-3Fi;
            k[(_arg3 - 1)] = _arg1;
            for each (k in k)
            {
                if (k == null)
                {
                    return (null);
                };
            };
            k = new Map();
            for each (k in k)
            {
                k._-3FO(k);
            };
            k = null;
            this._-3Fi = null;
            return (k);
        }
        private function _-2cs(_arg1:_-0fT):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-1Bw = this._-YX._-4OJ;
            if (k == null)
            {
                return;
            };
            var k:_-1g4 = _arg1._-3-5();
            k._-0Mq(k.pet);
            if (k._-wR())
            {
                this._-YX._-4FQ._-ew();
            };
        }
        private function _-0Se(_arg1:_-3F2):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:String = "${gotobreedingnestfailure.getnest}";
            var k:Function = this._-0uj;
            if (_arg1._-3-5().reason == _-Il._-3H7)
            {
                k = "${gotobreedingnestfailure.getfood}";
                k = this._-4Xr;
            };
            this._-YX.windowManager.simpleAlert("${gotobreedingnestfailure.caption}", "${gotobreedingnestfailure.subtitle}", (("${gotobreedingnestfailure.message." + _arg1._-3-5().reason) + "}"), k, "", null, k);
        }
        private function _-0uj():void
        {
            var k:String = this._-YX.config.getKey("gotobreedingnestfailure.catalogpage.nests");
            this._-YX.catalog.openCatalogPage(k);
        }
        private function _-4Xr():void
        {
            var k:String = this._-YX.config.getKey("gotobreedingnestfailure.catalogpage.food");
            this._-YX.catalog.openCatalogPage(k);
        }
        private function _-3tk(_arg1:_-xp):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-1Bw = this._-YX._-4OJ;
            if (k == null)
            {
                return;
            };
            var k:_-1S4 = _arg1._-3-5();
            k._-Mf(k._-3yD);
        }
        private function _-53f(_arg1:_-2Mj):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-1RG = this._-YX._-41q;
            if (k == null)
            {
                return;
            };
            var k:_-1KZ = _arg1._-3-5();
            k._-HA(k.items);
            this._-YX._-3f2(_-503._-2hj);
            k._-2-t();
        }
        private function _-iU(_arg1:_-4XH):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-1RG = this._-YX._-41q;
            if (k == null)
            {
                return;
            };
            var k:_-0iN = _arg1._-3-5();
            k._-1UX(k.itemId);
        }
        private function _-zX(_arg1:_-0zb):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-1RG = this._-YX._-41q;
            if (k == null)
            {
                return;
            };
            var k:_-4fA = _arg1._-3-5();
            k._-0df(k.item);
        }
        private function _-2rV(_arg1:_-2cw):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-3hN = this._-YX._-Nn;
            if (k == null)
            {
                return;
            };
            var k:_-gS = _arg1._-3-5();
            k._-12O = k._-12O;
            k.commission = k.commission;
            k._-fv = k._-fv;
            k._-0eA = k._-0eA;
            k._-1uP = k._-1uP;
            k._-22W = k._-22W;
            k._-0oW = k._-0oW;
            k._-0Px = k._-0Px;
            this._-YX._-3f2(_-503._-0VU);
            var k:FurniModel = this._-YX._-4FQ;
            if (k != null)
            {
                k._-2D2();
            };
        }
        private function _-0P2(_arg1:_-2eB):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-3hN = this._-YX._-Nn;
            if (k == null)
            {
                return;
            };
            var k:_-0hv = _arg1._-3-5();
            k._-44u(k._-rJ, k._-23j);
        }
        private function _-21g(_arg1:_-fX):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-3hN = this._-YX._-Nn;
            if (k == null)
            {
                return;
            };
            var k:_-4lf = _arg1._-3-5();
            k._-3eh(k.result);
        }
        private function _-2V1(_arg1:_-3nV):void
        {
            if ((((_arg1 == null)) || ((this._-YX == null))))
            {
                return;
            };
            var k:_-3hN = this._-YX._-Nn;
            if (k == null)
            {
                return;
            };
            var k:_-0Aq = _arg1._-3-5();
            k._-2y2(k._-2i5, k._-FZ, k._-4q8);
        }
        private function _-AJ(_arg1:_-0n7):void
        {
            if (((!(_arg1)) || (!(this._-YX))))
            {
                return;
            };
            var k:_-3hN = this._-YX._-Nn;
            if (k == null)
            {
                return;
            };
            k._-AJ();
        }
        private function _-4tb(_arg1:_-0tL):void
        {
            var k:_-3hN;
            if (this._-YX._-v4(_-503._-0VU))
            {
                k = this._-YX._-Nn;
                if (k == null)
                {
                    return;
                };
                k._-eq();
            };
        }
        private function _-0TW(_arg1:_-0tL):void
        {
            if (this._-YX.config.getBoolean("effects.reactivate.on.room.entry", false))
            {
                this._-YX._-0Uu._-0-Y();
            };
        }

    }
}//package _-3Zp

//------------------------------------------------------------
//_-3Zp.UnseenItemTracker

package _-3Zp
{
    import _-3gx._-4BJ;
    import _-18r.Map;
    import flash.events.IEventDispatcher;
    import _-0Yg._-0xd;
    import _-2qO._-zZ;
    import _-3cY._-2Jr;
    import _-2Nr.FurniModel;
    import _-4WI.HabboUnseenItemsUpdatedEvent;
    import _-1Qs._-30D;
    import _-1Qs._-3WY;

    public class UnseenItemTracker implements _-50d 
    {

        private var _-Ef:_-4BJ;
        private var _-YX:HabboInventory;
        private var _-3wq:Map;
        private var _-2Te:IEventDispatcher;

        public function UnseenItemTracker(_arg1:_-4BJ, _arg2:IEventDispatcher, _arg3:HabboInventory)
        {
            this._-Ef = _arg1;
            this._-YX = _arg3;
            this._-2Te = _arg2;
            this._-3wq = new Map();
            this._-Ef.addHabboConnectionMessageEvent(new _-0xd(this._-3-M));
        }
        public function dispose():void
        {
            this._-Ef = null;
            this._-3wq.dispose();
        }
        private function _-3-M(_arg1:_-0xd):void
        {
            var k:Boolean;
            var k:int;
            var k:Array;
            var k:_-zZ = _arg1._-3-5();
            for each (k in k._-4YG())
            {
                k = k._-5BH(k);
                this._-3fd(k, k);
                if (_-2Jr._-4Dq.indexOf(k) >= 0)
                {
                    k = true;
                };
            };
            if (this._-YX._-25k)
            {
                this._-YX._-1XT();
                this._-YX._-4FQ._-3no(FurniModel._-4A5);
                this._-YX._-4FQ._-3no(FurniModel._-0fv);
                this._-YX._-4OJ._-2D2();
                this._-YX._-41q._-2D2();
                if (((!(this._-YX._-0io)) && (k)))
                {
                    this._-YX._-20g();
                };
            };
            this._-0IS();
        }
        private function _-0IS():void
        {
            var k:int;
            var k:Array;
            var k:HabboUnseenItemsUpdatedEvent = new HabboUnseenItemsUpdatedEvent();
            var k:Array = this._-3wq._-18C();
            for each (k in k)
            {
                k = this._-3wq[k];
                k._-07k(k, k.length);
                if (_-2Jr._-4Dq.indexOf(k) >= 0)
                {
                    k._-2B1 = (k._-2B1 + k.length);
                };
            };
            this._-2Te.dispatchEvent(k);
        }
        private function _-3fd(_arg1:int, _arg2:Array):void
        {
            var k:Array;
            var k:int;
            var k:int;
            if (_arg2 == null)
            {
                return;
            };
            if (!this._-3wq._-VD(_arg1))
            {
                k = new Array();
                this._-3wq.add(_arg1, k);
            };
            k = this._-3wq.getValue(_arg1);
            for each (k in _arg2)
            {
                k = k.indexOf(k);
                if (k != -1)
                {
                }
                else
                {
                    k.push(k);
                };
            };
            this._-3wq.remove(_arg1);
            this._-3wq.add(_arg1, k);
        }
        public function _-4oQ(_arg1:int):Boolean
        {
            if (this._-4JM(_arg1) == 0)
            {
                return (false);
            };
            this._-3wq.remove(_arg1);
            this._-1ZR(_arg1);
            this._-0IS();
            return (true);
        }
        public function _-0H4(_arg1:int, _arg2:Array):Boolean
        {
            var k:int;
            if (this._-4JM(_arg1) == 0)
            {
                return (false);
            };
            var k:Array = this._-3wq.getValue(_arg1);
            for each (k in _arg2)
            {
                k.splice(k.indexOf(k), 1);
            };
            this._-3oZ(_arg1, _arg2);
            this._-0IS();
            return (true);
        }
        public function _-14C(_arg1:int):Boolean
        {
            if (this._-4JM(_arg1) == 0)
            {
                this._-3wq.remove(_arg1);
                this._-1ZR(_arg1);
                this._-0IS();
                return (true);
            };
            return (false);
        }
        public function _-0-v(_arg1:int, _arg2:int):Boolean
        {
            var k:Array;
            if (this._-3wq._-VD(_arg1))
            {
                k = this._-3wq.getValue(_arg1);
                return ((k.indexOf(_arg2) >= 0));
            };
            return (false);
        }
        public function _-08D(_arg1:int, _arg2:int):Boolean
        {
            var k:Array;
            var k:int;
            if (this._-3wq._-VD(_arg1))
            {
                k = this._-3wq.getValue(_arg1);
                k = k.indexOf(_arg2);
                if (k >= 0)
                {
                    k.splice(k, 1);
                    this._-0IS();
                    return (true);
                };
            };
            return (false);
        }
        public function _-1TH(_arg1:int):Array
        {
            if (this._-3wq._-VD(_arg1))
            {
                return (this._-3wq.getValue(_arg1));
            };
            return (null);
        }
        public function _-4JM(_arg1:int):int
        {
            if (this._-3wq._-VD(_arg1))
            {
                return (this._-3wq.getValue(_arg1).length);
            };
            return (0);
        }
        private function _-1ZR(_arg1:int):void
        {
            this._-Ef._-4gR(null).send(new _-30D(_arg1));
        }
        private function _-3oZ(_arg1:int, _arg2:Array):void
        {
            this._-Ef._-4gR(null).send(new _-3WY(_arg1, _arg2));
        }

    }
}//package _-3Zp

//------------------------------------------------------------
//_-42l._-2Y1

package _-42l
{
    import _-0sD._-2nQ;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;
    import _-72._-57I;
    import _-72._-1Gs;
    import _-72._-3Ca;
    import _-4bd._-1yr;

    public class _-2Y1 extends _-2nQ 
    {

        private static const _-1Tn:int = 0;
        private static const _-203:int = 1;
        private static const _-1jl:int = 6;

        private var _-3HP:int = 0;

        override public function initialize(_arg1:XML):void
        {
            var k:_-4s6;
            if (object != null)
            {
                k = object.getModelController();
                if (k != null)
                {
                    k.setNumber(_-4Wq._-50W, 1);
                    object.setState(_-203, 0);
                };
            };
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:int;
            if ((((this._-3HP <= 1)) || ((this._-3HP == _-1jl))))
            {
                super.processUpdateMessage(_arg1);
            };
            if ((_arg1 is _-57I))
            {
                if (object != null)
                {
                    k = _-57I(_arg1)._-2bI;
                    object.getModelController().setNumber(_-4Wq._-a9, k);
                    object.setState(_-1jl, 0);
                };
            }
            else
            {
                if ((_arg1 is _-1Gs))
                {
                    this._-u0(_-1Gs(_arg1).state);
                }
                else
                {
                    if ((_arg1 is _-3Ca))
                    {
                        if (_-3Ca(_arg1).type == _-3Ca._-2ha)
                        {
                            if (object != null)
                            {
                                object.setState(this._-3HP, 0);
                            };
                        }
                        else
                        {
                            if (_-3Ca(_arg1).type == _-3Ca._-5A8)
                            {
                                if (object != null)
                                {
                                    object.setState(_-203, 0);
                                };
                            };
                        };
                    };
                };
            };
        }
        private function _-u0(_arg1:int):void
        {
            if (_arg1 != this._-3HP)
            {
                this._-3HP = _arg1;
            };
        }

    }
}//package _-42l

//------------------------------------------------------------
//_-42l._-K9

package _-42l
{
    import _-0sD._-2nQ;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;
    import _-72._-3Ca;
    import _-4bd._-1yr;

    public class _-K9 extends _-2nQ 
    {

        override public function initialize(_arg1:XML):void
        {
            var k:_-4s6;
            if (object != null)
            {
                k = object.getModelController();
                if (k != null)
                {
                    k.setNumber(_-4Wq._-50W, 1);
                    object.setState(1, 0);
                };
            };
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            super.processUpdateMessage(_arg1);
            var k:_-3Ca = (_arg1 as _-3Ca);
            if (k != null)
            {
                if (k.type == _-3Ca._-2ha)
                {
                    if (object != null)
                    {
                        object.setState(0, 0);
                    };
                }
                else
                {
                    if (k.type == _-3Ca._-5A8)
                    {
                        if (object != null)
                        {
                            object.setState(1, 0);
                        };
                    };
                };
            };
        }

    }
}//package _-42l

//------------------------------------------------------------
//_-42l.RoomLogic

package _-42l
{
    import _-0sD._-2nQ;
    import _-3mW.RoomPlaneParser;
    import _-3mW.RoomPlaneBitmapMaskParser;
    import _-071._-4l1;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;
    import _-0y0._-4xU;
    import _-72._-2ZI;
    import _-3mW._-28E;
    import _-72._-1yS;
    import _-72._-YH;
    import _-72._-3e9;
    import _-72._-SC;
    import flash.utils.getTimer;
    import _-72._-RI;
    import _-4bd._-1yr;
    import _-071._-3gM;
    import flash.events.MouseEvent;
    import flash.geom.Point;
    import _-0y0._-06R;
    import _-0y0._-Xl;
    import _-071._-2Z2;
    import _-3mW.RoomPlaneData;
    import _-59g._-1Ey;
    import _-59g._-4Bo;
    import _-0y0._-3q6;

    public class RoomLogic extends _-2nQ 
    {

        protected var _-3Uy:RoomPlaneParser = null;
        private var _-1S8:RoomPlaneBitmapMaskParser = null;
        private var _color:uint = 0xFFFFFF;
        private var _-3Ar:int = 0xFF;
        private var _-5Ar:uint = 0xFFFFFF;
        private var _-4sr:int = 0xFF;
        private var _-09d:uint = 0xFFFFFF;
        private var _-2HI:int = 0xFF;
        private var _-4zn:int = 0;
        private var _-3-H:int = 1500;
        private var _-02H:Boolean;

        public function RoomLogic()
        {
            this._-3Uy = new RoomPlaneParser();
            this._-1S8 = new RoomPlaneBitmapMaskParser();
        }
        override public function getEventTypes():Array
        {
            var k:Array = [_-4l1._-Mb, _-4l1._-se];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function dispose():void
        {
            super.dispose();
            if (this._-3Uy != null)
            {
                this._-3Uy.dispose();
                this._-3Uy = null;
            };
            if (this._-1S8 != null)
            {
                this._-1S8.dispose();
                this._-1S8 = null;
            };
        }
        override public function initialize(_arg1:XML):void
        {
            if ((((_arg1 == null)) || ((object == null))))
            {
                return;
            };
            if (!this._-3Uy._-1aO(_arg1))
            {
                return;
            };
            var k:_-4s6 = (object.getModel() as _-4s6);
            if (k != null)
            {
                k.setString(_-4Wq._-1O9, _arg1.toString());
                k.setNumber(_-4Wq._-51W, 0xFFFFFF);
                k.setNumber(_-4Wq._-1kT, 1);
                k.setNumber(_-4Wq._-142, 1);
                k.setNumber(_-4Wq._-1F9, 1);
            };
        }
        override public function update(_arg1:int):void
        {
            var k:_-4s6;
            var k:XML;
            super.update(_arg1);
            this._-4r(_arg1);
            if (this._-02H)
            {
                if (object != null)
                {
                    k = (object.getModel() as _-4s6);
                    if (k != null)
                    {
                        k = this._-3Uy._-4sV();
                        k.setString(_-4Wq._-1O9, k.toString());
                        k.setNumber(_-4Wq._-SJ, _arg1);
                        this._-3Uy._-1aO(k);
                    };
                };
                this._-02H = false;
            };
        }
        private function _-4r(_arg1:int):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:_-4s6;
            var _local7:int;
            var _local8:int;
            var _local9:int;
            var _local10:int;
            var _local11:int;
            var _local12:int;
            var _local13:Number;
            if (object == null)
            {
                return;
            };
            if (this._-4zn)
            {
                k = _arg1;
                k = this._color;
                k = this._-3Ar;
                if ((k - this._-4zn) >= this._-3-H)
                {
                    k = this._-09d;
                    k = this._-2HI;
                    this._-4zn = 0;
                }
                else
                {
                    _local7 = ((this._-5Ar >> 16) & 0xFF);
                    _local8 = ((this._-5Ar >> 8) & 0xFF);
                    _local9 = (this._-5Ar & 0xFF);
                    _local10 = ((this._-09d >> 16) & 0xFF);
                    _local11 = ((this._-09d >> 8) & 0xFF);
                    _local12 = (this._-09d & 0xFF);
                    _local13 = ((k - this._-4zn) / this._-3-H);
                    _local7 = (_local7 + ((_local10 - _local7) * _local13));
                    _local8 = (_local8 + ((_local11 - _local8) * _local13));
                    _local9 = (_local9 + ((_local12 - _local9) * _local13));
                    k = (((_local7 << 16) + (_local8 << 8)) + _local9);
                    k = (this._-4sr + ((this._-2HI - this._-4sr) * _local13));
                    this._color = k;
                    this._-3Ar = k;
                };
                k = _-4xU._-4Ux(k);
                k = ((k & 0xFFFF00) + k);
                k = _-4xU._-Ys(k);
                k = (object.getModel() as _-4s6);
                if (k == null)
                {
                    return;
                };
                k.setNumber(_-4Wq._-51W, k);
            };
        }
        private function _-3EY(_arg1:_-2ZI, _arg2:_-4s6):void
        {
            switch (_arg1.type)
            {
                case _-2ZI._-QZ:
                    _arg2.setString(_-4Wq._-3Oy, _arg1.value);
                    return;
                case _-2ZI._-1hI:
                    _arg2.setString(_-4Wq._-3Sr, _arg1.value);
                    return;
                case _-2ZI._-440:
                    _arg2.setString(_-4Wq._-3HV, _arg1.value);
                    return;
            };
        }
        private function _-0fo(_arg1:_-1yS, _arg2:_-4s6):void
        {
            var _local5:String;
            var k:XML;
            var k:String;
            var k:_-28E;
            var k:Boolean;
            switch (_arg1.type)
            {
                case _-1yS._-y3:
                    _local5 = _-28E._-qh;
                    if (_arg1._-2Sx == _-1yS._-1Hh)
                    {
                        _local5 = _-28E._-1Hh;
                    };
                    this._-1S8._-4TK(_arg1._-zo, _arg1._-4VX, _arg1._-4eI, _local5);
                    k = true;
                    break;
                case _-1yS._-4GN:
                    k = this._-1S8._-4rl(_arg1._-zo);
                    break;
            };
            if (k)
            {
                k = this._-1S8._-4sV();
                k = k.toXMLString();
                _arg2.setString(_-4Wq._-0Ar, k);
            };
        }
        private function _-0jR(_arg1:_-YH, _arg2:_-4s6):void
        {
            var k:int;
            if (_arg1.visible)
            {
                k = 1;
            };
            switch (_arg1.type)
            {
                case _-YH._-3Ho:
                    _arg2.setNumber(_-4Wq._-1kT, k);
                    return;
                case _-YH._-tu:
                    _arg2.setNumber(_-4Wq._-142, k);
                    _arg2.setNumber(_-4Wq._-1F9, k);
                    return;
            };
        }
        private function _-4Dl(_arg1:_-3e9, _arg2:_-4s6):void
        {
            switch (_arg1.type)
            {
                case _-3e9._-Ik:
                    _arg2.setNumber(_-4Wq._-5DA, _arg1.value);
                    return;
                case _-3e9._-15r:
                    _arg2.setNumber(_-4Wq._-4GH, _arg1.value);
                    return;
            };
        }
        private function _-mR(_arg1:_-SC, _arg2:_-4s6):void
        {
            switch (_arg1.type)
            {
                case _-SC._-wN:
                    this._-3Uy._-4zr(_arg1.id, _arg1.x, _arg1.y, _arg1.width, _arg1.height);
                    this._-02H = true;
                    return;
                case _-SC._-x3:
                    this._-3Uy._-0wC(_arg1.id);
                    this._-02H = true;
                    return;
            };
        }
        private function _-Jx(_arg1:_-RI, _arg2:_-4s6):void
        {
            var k:int = _arg1.color;
            var k:int = _arg1._-IP;
            _arg2.setNumber(_-4Wq._-4z2, int(_arg1._-2J-));
            this._-5Ar = this._color;
            this._-4sr = this._-3Ar;
            this._-09d = k;
            this._-2HI = k;
            this._-4zn = getTimer();
            this._-3-H = 1500;
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            if ((((_arg1 == null)) || ((object == null))))
            {
                return;
            };
            var k:_-4s6 = (object.getModel() as _-4s6);
            if (k == null)
            {
                return;
            };
            var k:_-2ZI = (_arg1 as _-2ZI);
            if (k != null)
            {
                this._-3EY(k, k);
                return;
            };
            var k:_-1yS = (_arg1 as _-1yS);
            if (k != null)
            {
                this._-0fo(k, k);
                return;
            };
            var k:_-YH = (_arg1 as _-YH);
            if (k != null)
            {
                this._-0jR(k, k);
                return;
            };
            var k:_-3e9 = (_arg1 as _-3e9);
            if (k != null)
            {
                this._-4Dl(k, k);
                return;
            };
            var k:_-SC = (_arg1 as _-SC);
            if (k != null)
            {
                this._-mR(k, k);
            };
            var k:_-RI = (_arg1 as _-RI);
            if (k != null)
            {
                this._-Jx(k, k);
                return;
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var _local25:String;
            var k:Number;
            var k:Number;
            var k:Number;
            if (_arg2 == null)
            {
                return;
            };
            var k:_-3gM = _arg1;
            if (k == null)
            {
                return;
            };
            if ((((object == null)) || ((_arg1 == null))))
            {
                return;
            };
            var k:_-4s6 = (object.getModel() as _-4s6);
            if (k == null)
            {
                return;
            };
            var k:int;
            var k:String = k._-3u;
            if (((!((k == null))) && ((k.indexOf("@") >= 0))))
            {
                k = parseInt(k.substr((k.indexOf("@") + 1)));
            };
            if ((((k < 1)) || ((k > this._-3Uy._-ER))))
            {
                if (_arg1.type == MouseEvent.ROLL_OUT)
                {
                    k.setNumber(_-4Wq._-0LF, 0);
                };
                return;
            };
            k--;
            var k:Point;
            var k:_-06R = this._-3Uy._-3q7(k);
            var k:_-06R = this._-3Uy._-3DY(k);
            var k:_-06R = this._-3Uy._-WL(k);
            var k:_-06R = this._-3Uy._-0gr(k);
            var k:int = this._-3Uy._-3-m(k);
            if ((((((((k == null)) || ((k == null)))) || ((k == null)))) || ((k == null))))
            {
                return;
            };
            var k:Number = k.length;
            var k:Number = k.length;
            if ((((k == 0)) || ((k == 0))))
            {
                return;
            };
            var k:Number = k._-3Ow;
            var k:Number = k._-4az;
            var k:Point = new Point(k, k);
            k = _arg2._-0Co(k, k, k, k);
            if (k == null)
            {
                k.setNumber(_-4Wq._-0LF, 0);
                return;
            };
            var k:_-Xl = _-Xl.product(k, (k.x / k));
            k.add(_-Xl.product(k, (k.y / k)));
            k.add(k);
            var k:Number = k.x;
            var k:Number = k.y;
            var k:Number = k.z;
            if ((((((((k.x >= 0)) && ((k.x < k)))) && ((k.y >= 0)))) && ((k.y < k))))
            {
                k.setNumber(_-4Wq._-1A2, k);
                k.setNumber(_-4Wq._-0XQ, k);
                k.setNumber(_-4Wq._-0me, k);
                k.setNumber(_-4Wq._-0LF, (k + 1));
            }
            else
            {
                k.setNumber(_-4Wq._-0LF, 0);
                return;
            };
            var k:String = "";
            var k:int;
            var k:_-2Z2;
            switch (_arg1.type)
            {
                case MouseEvent.MOUSE_MOVE:
                case MouseEvent.ROLL_OVER:
                case MouseEvent.CLICK:
                    _local25 = "";
                    if ((((_arg1.type == MouseEvent.MOUSE_MOVE)) || ((_arg1.type == MouseEvent.ROLL_OVER))))
                    {
                        _local25 = _-4l1._-Mb;
                    }
                    else
                    {
                        if (_arg1.type == MouseEvent.CLICK)
                        {
                            _local25 = _-4l1._-se;
                        };
                    };
                    if (_-2g3 != null)
                    {
                        if (k == RoomPlaneData._-2LS)
                        {
                            k = new _-1Ey(_local25, object, _arg1._-F7, k, k, k, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey);
                        }
                        else
                        {
                            if ((((k == RoomPlaneData._-42W)) || ((k == RoomPlaneData._-3CH))))
                            {
                                k = 90;
                                if (k != null)
                                {
                                    k = (k.x + 90);
                                    if (k > 360)
                                    {
                                        k = (k - 360);
                                    };
                                };
                                k = ((k.length * k.x) / k);
                                k = ((k.length * k.y) / k);
                                k = new _-4Bo(_local25, object, _arg1._-F7, k, k, k, k, k, k);
                            };
                        };
                        if (k != null)
                        {
                            _-2g3.dispatchEvent(k);
                        };
                    };
                    return;
            };
        }

    }
}//package _-42l

//------------------------------------------------------------
//_-448._-1ZF

package _-448
{
    import _-4Aj._-7V;
    import _-1n0._-1y5;
    import _-4Aj.*;

    public class _-1ZF extends _-7V implements _-0tL 
    {

        public function _-1ZF(_arg1:Function)
        {
            super(_arg1, _-1y5);
        }
        public function _-3-5():_-1y5
        {
            return ((_-515 as _-1y5));
        }

    }
}//package _-448

//------------------------------------------------------------
//_-448._-2tr

package _-448
{
    import _-4Aj._-7V;
    import _-1n0._-2dk;
    import _-4Aj.*;

    public class _-2tr extends _-7V implements _-0tL 
    {

        public function _-2tr(_arg1:Function)
        {
            super(_arg1, _-2dk);
        }
        public function _-3-5():_-2dk
        {
            return ((_-515 as _-2dk));
        }

    }
}//package _-448

//------------------------------------------------------------
//_-448._-3RR

package _-448
{
    import _-4Aj._-7V;
    import _-1n0._-5Eu;
    import _-4Aj.*;

    public class _-3RR extends _-7V implements _-0tL 
    {

        public function _-3RR(_arg1:Function)
        {
            super(_arg1, _-5Eu);
        }
        public function _-3-5():_-5Eu
        {
            return ((_-515 as _-5Eu));
        }

    }
}//package _-448

//------------------------------------------------------------
//_-448._-3s1

package _-448
{
    import _-4Aj._-7V;
    import _-1n0._-3pN;
    import _-4Aj.*;

    public class _-3s1 extends _-7V implements _-0tL 
    {

        public function _-3s1(_arg1:Function)
        {
            super(_arg1, _-3pN);
        }
        public function _-3-5():_-3pN
        {
            return ((_-515 as _-3pN));
        }

    }
}//package _-448

//------------------------------------------------------------
//_-448._-3t9

package _-448
{
    import _-4Aj._-7V;
    import _-1n0.CompetitionEntrySubmitResultMessageParser;
    import _-4Aj.*;

    public class _-3t9 extends _-7V implements _-0tL 
    {

        public function _-3t9(_arg1:Function)
        {
            super(_arg1, CompetitionEntrySubmitResultMessageParser);
        }
        public function _-3-5():CompetitionEntrySubmitResultMessageParser
        {
            return ((_-515 as CompetitionEntrySubmitResultMessageParser));
        }

    }
}//package _-448

//------------------------------------------------------------
//_-448._-5AC

package _-448
{
    import _-4Aj._-7V;
    import _-1n0._-5EM;
    import _-4Aj.*;

    public class _-5AC extends _-7V implements _-0tL 
    {

        public function _-5AC(_arg1:Function)
        {
            super(_arg1, _-5EM);
        }
        public function _-3-5():_-5EM
        {
            return ((_-515 as _-5EM));
        }

    }
}//package _-448

//------------------------------------------------------------
//_-45A._-0-H

package _-45A
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0-H implements _-58N 
    {

        private var _-0OU:int;
        private var _-3jq:int;
        private var _-1GF:int;
        private var _-3n4:int;
        private var _-09o:int;

        public function get _-4Fs():int
        {
            return (this._-0OU);
        }
        public function get _-2XI():int
        {
            return (this._-3jq);
        }
        public function get _-0sP():int
        {
            return (this._-1GF);
        }
        public function get _-3mG():int
        {
            return (this._-3n4);
        }
        public function get _-2hA():int
        {
            return (this._-09o);
        }
        public function flush():Boolean
        {
            this._-0OU = -1;
            this._-3jq = -1;
            this._-1GF = -1;
            this._-3n4 = -1;
            this._-09o = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0OU = _arg1._-2BW();
            this._-3jq = _arg1._-2BW();
            this._-1GF = _arg1._-2BW();
            this._-3n4 = _arg1._-2BW();
            this._-09o = _arg1._-2BW();
            return (true);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-45A._-26i

package _-45A
{
    import _-59Q._-33D;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-26i implements _-58N 
    {

        private var _-2aJ:int;
        private var _-3cL:Array;

        public function get _-2ew():int
        {
            return (this._-2aJ);
        }
        public function get _-4T3():Array
        {
            return (this._-3cL);
        }
        public function flush():Boolean
        {
            this._-2aJ = -1;
            this._-3cL = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:String;
            var k:String;
            this._-2aJ = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = _arg1.readString();
                this._-3cL.push(new _-33D(k, k, k, k));
                k++;
            };
            return (true);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-45A._-27P

package _-45A
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-27P implements _-58N 
    {

        private var _-BV:Map;
        private var _-1Y5:int;

        public function _-27P()
        {
            this._-BV = new Map();
        }
        public function get _-ww():Map
        {
            return (this._-BV);
        }
        public function get _-3Fd():int
        {
            return (this._-1Y5);
        }
        public function flush():Boolean
        {
            this._-BV.reset();
            this._-1Y5 = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Y5 = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int = -1;
            var k:int = -1;
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                this._-BV.add(k, k);
                k++;
            };
            return (true);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-45A._-2Gj

package _-45A
{
    import _-59Q._-1LF;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Gj implements _-58N 
    {

        private var _-4HR:Array;

        public function get _-0ar():Array
        {
            return (this._-4HR);
        }
        public function flush():Boolean
        {
            this._-4HR = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            var k:String;
            var k:String;
            var k:int;
            var k:String;
            var k:_-1LF;
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = _arg1.readString();
                k = _arg1.readString();
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = new _-1LF(k, k, k, k, k);
                this._-4HR.push(k);
                k++;
            };
            return (true);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-45A._-2xL

package _-45A
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2xL implements _-58N 
    {

        private var _-0Kj:int;
        private var _-fi:int;
        private var _-55P:int;

        public function get _-0nr():int
        {
            return (this._-0Kj);
        }
        public function get _-46y():int
        {
            return (this._-fi);
        }
        public function get _-2Lw():int
        {
            return (this._-55P);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-55P = _arg1._-2BW();
            this._-fi = _arg1._-2BW();
            this._-0Kj = _arg1._-2BW();
            return (true);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-45A._-31D

package _-45A
{
    import _-59Q._-33D;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-31D implements _-58N 
    {

        private var _-3BE:_-33D;

        public function get entry():_-33D
        {
            return (this._-3BE);
        }
        public function flush():Boolean
        {
            this._-3BE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:String = _arg1.readString();
            this._-3BE = new _-33D(k, k, k, k);
            return (true);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-45A._-3ym

package _-45A
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3ym implements _-58N 
    {

        private var _-4Fa:Map;

        public function _-3ym()
        {
            this._-4Fa = new Map();
        }
        public function get _-3qZ():int
        {
            return (this._-4Fa.length);
        }
        public function _-0Kb(_arg1:int):int
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-4Fa.length))))
            {
                return (this._-4Fa.getKey(_arg1));
            };
            return (-1);
        }
        public function _-2Xy(_arg1:int):int
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-4Fa.length))))
            {
                return (this._-4Fa.getWithIndex(_arg1));
            };
            return (-1);
        }
        public function flush():Boolean
        {
            this._-4Fa.reset();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                this._-4Fa.add(k, k);
                k++;
            };
            return (true);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-45A._-JT

package _-45A
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-JT implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-45A._-r2

package _-45A
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-r2 implements _-58N 
    {

        private var _-0hW:int;
        private var _-40n:String;

        public function flush():Boolean
        {
            this._-0hW = 0;
            this._-40n = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-40n = _arg1.readString();
            this._-0hW = _arg1._-2BW();
            return (true);
        }
        public function get _-FX():int
        {
            return (this._-0hW);
        }
        public function get _-56o():String
        {
            return (this._-40n);
        }

    }
}//package _-45A

//------------------------------------------------------------
//_-484._-04P

package _-484
{
    import _-3EM.PropertyStruct;

    public interface _-04P 
    {

        function get(_arg1:String):PropertyStruct;

    }
}//package _-484

//------------------------------------------------------------
//_-484._-0S0

package _-484
{
    import flash.text.AntiAliasType;
    import _-3EM.TextStyle;
    import _-09j._-nM;
    import _-09j._-az;

    public class _-0S0 
    {

        public static const _-56e:String = "always_show_selection";
        public static const _-Gm:String = "antialias_type";
        public static const _-0Zd:String = "asset_uri";
        public static const _-1F1:String = "auto_arrange_items";
        public static const _-1f9:String = "auto_size";
        public static const _-4Oz:String = "bitmap_asset_name";
        public static const _-3cp:String = "border";
        public static const _-3Nz:String = "border_color";
        public static const _-4jx:String = "condense_white";
        public static const _-0cH:String = "direction";
        public static const _-0g3:String = "display_as_password";
        public static const _-2xy:String = "display_raw";
        public static const _-29s:String = "editable";
        public static const _-3ha:String = "fit_size_to_contents";
        public static const _-n-:String = "focus_capturer";
        public static const _-46k:String = "greyscale";
        public static const _-3rJ:String = "grid_fit_type";
        public static const _-3x0:String = "handle_bitmap_disposing";
        public static const _-0IU:String = "link_target";
        public static const _-3pV:String = "spacing";
        public static const _-2xl:String = "keep_open_on_deactivate";
        public static const _-3Y7:String = "margin_left";
        public static const _-3if:String = "margin_top";
        public static const _-0Ia:String = "margin_right";
        public static const _-3Za:String = "margin_bottom";
        public static const _-0gP:String = "max_chars";
        public static const _-4K9:String = "max_lines";
        public static const _-0MA:String = "item_array";
        public static const _-sn:String = "mouse_wheel_enabled";
        public static const _-283:String = "multiline";
        public static const _-2vB:String = "open_upward";
        public static const _-5V:String = "pivot_point";
        public static const _-6o:String = "pointer_offset";
        public static const _-2Lz:String = "resize_on_item_update";
        public static const _-3Cy:String = "restrict";
        public static const _-3wY:String = "scale_to_fit_items";
        public static const _-ud:String = "scrollable";
        public static const _-19W:String = "scroll_step_h";
        public static const _-1ue:String = "scroll_step_v";
        public static const _-3MH:String = "selectable";
        public static const _-4pV:String = "stretched_x";
        public static const _-1R7:String = "stretched_y";
        public static const _-1s0:String = "text_color";
        public static const _-2mA:String = "text_style";
        public static const _-25d:String = "tool_tip_caption";
        public static const _-0iQ:String = "tool_tip_delay";
        public static const _-1g3:String = "tool_tip_is_dynamic";
        public static const _-4U8:String = "vertical";
        public static const _-3fJ:String = "widget_type";
        public static const _-9O:String = "word_wrap";
        public static const _-1GZ:String = "zoom_x";
        public static const _-0rI:String = "zoom_y";
        public static const _-335:String = "white_list_words";
        public static const _-1ap:String = "test_id_key";
        public static const BOLD:String = "bold";
        public static const _-4fC:String = "etching_color";
        public static const _-300:String = "etching_position";
        public static const _-0H1:String = "font_face";
        public static const _-33-:String = "font_size";
        public static const ITALIC:String = "italic";
        public static const _-3gj:String = "kerning";
        public static const _-s:String = "leading";
        public static const _-0Ld:String = "sharpness";
        public static const _-3vJ:String = "spacing";
        public static const _-0cY:String = "thickness";
        public static const _-0Nw:String = "underline";
        public static const _-4QE:Array = [AntiAliasType.NORMAL, AntiAliasType.ADVANCED];
        public static const _-1Cv:Array = [TextStyle.TOP_LEFT, TextStyle._-2wo, TextStyle._-02y, TextStyle.LEFT, TextStyle.RIGHT, TextStyle._-4oo, TextStyle._-3KL, TextStyle._-0vs];
        public static const _-0Bv:String = _-nM._-3dr;
        public static const _-3Zd:Array = [_-nM._-3dr, _-nM._-66, _-nM._-1Ah, _-nM._-CR, _-nM._-2wo, _-nM._-aP];
        public static const _-1Zb:Array = _-az._-3ax;

    }
}//package _-484

//------------------------------------------------------------
//_-484._-4iz

package _-484
{
    public interface _-4iz 
    {

        function getStyle(_arg1:String, _arg2:uint, _arg3:String):uint;
        function _-JQ(_arg1:uint, _arg2:uint):Object;
        function _-3nR(_arg1:uint, _arg2:String, _arg3:uint):Array;
        function getPropertyDefaults(_arg1:uint):_-04P;
        function _-2HG():Array;

    }
}//package _-484

//------------------------------------------------------------
//_-484.PropertyMap

package _-484
{
    import flash.utils.Dictionary;
    import _-3EM.PropertyStruct;
    import _-3EM.*;

    public class PropertyMap implements _-04P 
    {

        private var _-4gk:Dictionary;

        public function PropertyMap()
        {
            this._-4gk = new Dictionary();
            super();
        }
        private function add(_arg1:String, _arg2:Object, _arg3:String, _arg4:Array=null):void
        {
            this._-4gk[_arg1] = new PropertyStruct(_arg1, _arg2, _arg3, false, _arg4);
        }
        public function _-2Ik(_arg1:String, _arg2:Boolean):void
        {
            this.add(_arg1, _arg2, PropertyStruct._-11e);
        }
        public function _-3Re(_arg1:String, _arg2:int):void
        {
            this.add(_arg1, _arg2, PropertyStruct._-48r);
        }
        public function _-Nq(_arg1:String, _arg2:uint):void
        {
            this.add(_arg1, _arg2, PropertyStruct._-02g);
        }
        public function _-1jD(_arg1:String, _arg2:uint):void
        {
            this.add(_arg1, _arg2, PropertyStruct._-2FT);
        }
        public function _-O(_arg1:String, _arg2:Number):void
        {
            this.add(_arg1, _arg2, PropertyStruct.NUMBER);
        }
        public function _-1Tz(_arg1:String, _arg2:String):void
        {
            this.add(_arg1, _arg2, PropertyStruct.STRING);
        }
        public function _-3rn(_arg1:String, _arg2:String, _arg3:Array):void
        {
            this.add(_arg1, _arg2, PropertyStruct.STRING, _arg3);
        }
        public function _-1iW(_arg1:String, _arg2:Array):void
        {
            this.add(_arg1, _arg2, PropertyStruct._-11L);
        }
        public function get(_arg1:String):PropertyStruct
        {
            return (this._-4gk[_arg1]);
        }
        public function clone():PropertyMap
        {
            var k:String;
            var k:PropertyMap = new PropertyMap();
            for (k in this._-4gk)
            {
                k._-4gk[k] = this._-4gk[k];
            };
            return (k);
        }

    }
}//package _-484

//------------------------------------------------------------
//_-48G._-0N2

package _-48G
{
    import _-4Aj._-0s1;

    public class _-0N2 
    {

        private var _-2W3:int;
        private var _-D9:Boolean;
        private var _-3eA:Boolean;
        private var _-2Vh:int;

        public function _-0N2(_arg1:_-0s1)
        {
            this._-2W3 = _arg1._-2BW();
            this._-D9 = _arg1.readBoolean();
            this._-2Vh = _arg1._-2BW();
            this._-3eA = _arg1.readBoolean();
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-2Pc():Boolean
        {
            return (this._-D9);
        }
        public function get _-06F():Boolean
        {
            return (this._-3eA);
        }
        public function get _-4KL():int
        {
            return (this._-2Vh);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-0n7

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-2WK;
    import _-4Aj.*;

    public class _-0n7 extends _-7V implements _-0tL 
    {

        public function _-0n7(_arg1:Function)
        {
            super(_arg1, _-2WK);
        }
        public function _-3-5():_-2WK
        {
            return ((this._-515 as _-2WK));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-0OF

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-5-4;
    import _-4Aj.*;

    public class _-0OF extends _-7V implements _-0tL 
    {

        public function _-0OF(_arg1:Function)
        {
            super(_arg1, _-5-4);
        }
        public function _-3-5():_-5-4
        {
            return ((this._-515 as _-5-4));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-0wb

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-Eh;
    import _-4Aj.*;

    public class _-0wb extends _-7V implements _-0tL 
    {

        public function _-0wb(_arg1:Function)
        {
            super(_arg1, _-Eh);
        }
        public function _-3-5():_-Eh
        {
            return ((this._-515 as _-Eh));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-0wm

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-4av;
    import _-4Aj.*;

    public class _-0wm extends _-7V implements _-0tL 
    {

        public function _-0wm(_arg1:Function)
        {
            super(_arg1, _-4av);
        }
        public function _-3-5():_-4av
        {
            return ((this._-515 as _-4av));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-0Zl

package _-48G
{
    import _-4Aj._-0s1;

    public class _-0Zl extends _-ur 
    {

        private var _-ym:int;
        private var _-0md:int;

        public function _-0Zl(_arg1:_-0s1)
        {
            super(_arg1);
            this._-ym = _arg1._-2BW();
            this._-0md = _arg1._-2BW();
        }
        public function get _-3Yx():int
        {
            return ((this._-ym * months));
        }
        public function get _-4mK():int
        {
            return (((this._-ym * months) - this.priceCredits));
        }
        public function get _-59j():int
        {
            return (this._-0md);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-16p

package _-48G
{
    import _-4Aj._-0s1;

    public class _-16p 
    {

        private var _-2W3:int;
        private var _-0El:String;
        private var _-3RW:int;
        private var _-5FC:int;
        private var _-05f:int;
        private var _-05-:int;
        private var _-0DC:Boolean;
        private var _-yA:Boolean;
        private var _-0N9:Array;

        public function _-16p(_arg1:_-0s1)
        {
            this._-2W3 = _arg1._-2BW(); // id
            this._-0El = _arg1.readString(); // name
            this._-3RW = _arg1._-2BW(); // credits
            this._-5FC = _arg1._-2BW(); // activitypoints
            this._-05f = _arg1._-2BW(); // type activitypoints
            this._-0DC = _arg1.readBoolean(); // can buy gift
            var k:int = _arg1._-2BW(); // amount deal gifts
            this._-0N9 = new Array();
            var k:int;
            while (k < k)
            {
                this._-0N9.push(new _-4hq(_arg1));
                k++;
            };
            this._-05- = _arg1._-2BW(); // club data buy 
            this._-yA = _arg1.readBoolean(); // can buy as bundle (buy 6, get 1 free)
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-5Dp():String
        {
            return (this._-0El);
        }
        public function get _-w6():int
        {
            return (this._-3RW);
        }
        public function get _-17D():int
        {
            return (this._-5FC);
        }
        public function get products():Array
        {
            return (this._-0N9);
        }
        public function get activityPointType():int
        {
            return (this._-05f);
        }
        public function get clubLevel():int
        {
            return (this._-05-);
        }
        public function get _-4SQ():Boolean
        {
            return (this._-0DC);
        }
        public function get _-3by():Boolean
        {
            return (this._-yA);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-1Ba

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-4DY;
    import _-4Aj.*;

    public class _-1Ba extends _-7V implements _-0tL 
    {

        public function _-1Ba(_arg1:Function)
        {
            super(_arg1, _-4DY);
        }
        public function _-3-5():_-4DY
        {
            return ((this._-515 as _-4DY));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-1dA

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-0en;
    import _-4Aj.*;

    public class _-1dA extends _-7V implements _-0tL 
    {

        public function _-1dA(_arg1:Function)
        {
            super(_arg1, _-0en);
        }
        public function _-3-5():_-0en
        {
            return ((this._-515 as _-0en));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-1f6

package _-48G
{
    import _-4Aj._-0s1;

    public class _-1f6 
    {

        private var _-0U9:Boolean;
        private var _color:int;
        private var _icon:int;
        private var _-2Aj:int;
        private var _-2iE:String;
        private var _-cU:String;
        private var _-4ID:Array;

        public function _-1f6(_arg1:_-0s1)
        {
            this._-0U9 = _arg1.readBoolean();
            this._color = _arg1._-2BW();
            this._icon = _arg1._-2BW();
            this._-2Aj = _arg1._-2BW();
            this._-2iE = _arg1.readString();
            this._-cU = _arg1.readString();
            this._-4ID = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4ID.push(new _-1f6(_arg1));
                k++;
            };
        }
        public function get _-3G-():Boolean
        {
            return (this._-0U9);
        }
        public function get color():int
        {
            return (this._color);
        }
        public function get icon():int
        {
            return (this._icon);
        }
        public function get pageId():int
        {
            return (this._-2Aj);
        }
        public function get pageName():String
        {
            return (this._-2iE);
        }
        public function get localization():String
        {
            return (this._-cU);
        }
        public function get _-45F():Array
        {
            return (this._-4ID);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-1gk

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-1wR;
    import _-4Aj.*;

    public class _-1gk extends _-7V implements _-0tL 
    {

        public function _-1gk(_arg1:Function)
        {
            super(_arg1, _-1wR);
        }
        public function _-3-5():_-1wR
        {
            return ((this._-515 as _-1wR));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-1om

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-0Nh;
    import _-4Aj.*;

    public class _-1om extends _-7V implements _-0tL 
    {

        public function _-1om(_arg1:Function)
        {
            super(_arg1, _-0Nh);
        }
        public function _-3-5():_-0Nh
        {
            return ((this._-515 as _-0Nh));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-1vd

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-1eK;
    import _-4Aj.*;

    public class _-1vd extends _-7V implements _-0tL 
    {

        public function _-1vd(_arg1:Function)
        {
            super(_arg1, _-1eK);
        }
        public function _-3-5():_-1eK
        {
            return ((this._-515 as _-1eK));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-2HB

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-556;
    import _-4Aj.*;

    public class _-2HB extends _-7V implements _-0tL 
    {

        public function _-2HB(_arg1:Function)
        {
            super(_arg1, _-556);
        }
        public function _-3-5():_-556
        {
            return ((this._-515 as _-556));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-2HQ

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-2T9;
    import _-4Aj.*;

    public class _-2HQ extends _-7V implements _-0tL 
    {

        public function _-2HQ(_arg1:Function)
        {
            super(_arg1, _-2T9);
        }
        public function _-3-5():_-2T9
        {
            return ((this._-515 as _-2T9));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-2KN

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-2HR;
    import _-4Aj.*;

    public class _-2KN extends _-7V implements _-0tL 
    {

        public function _-2KN(_arg1:Function)
        {
            super(_arg1, _-2HR);
        }
        public function get errorCode():String
        {
            return ((_-515 as _-2HR).errorCode);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-2NK

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-2Sb;
    import _-4Aj.*;

    public class _-2NK extends _-7V implements _-0tL 
    {

        public function _-2NK(_arg1:Function)
        {
            super(_arg1, _-2Sb);
        }
        public function _-3-5():_-2Sb
        {
            return ((this._-515 as _-2Sb));
        }
        public function get root():_-1f6
        {
            return ((_-515 as _-2Sb).root);
        }
        public function get _-1H1():Boolean
        {
            return ((_-515 as _-2Sb)._-1H1);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-2RH

package _-48G
{
    import _-4Aj._-0s1;

    public class _-2RH 
    {

        private var _-2qP:Array;
        private var _-4eo:Array;

        public function _-2RH(_arg1:_-0s1)
        {
            this._-2qP = new Array();
            this._-4eo = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-2qP.push(_arg1.readString());
                k++;
            };
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4eo.push(_arg1.readString());
                k++;
            };
        }
        public function get images():Array
        {
            return (this._-2qP);
        }
        public function get texts():Array
        {
            return (this._-4eo);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-320

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-4Tr;
    import _-4Aj.*;

    public class _-320 extends _-7V implements _-0tL 
    {

        public function _-320(_arg1:Function)
        {
            super(_arg1, _-4Tr);
        }
        public function _-3-5():_-4Tr
        {
            return ((this._-515 as _-4Tr));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-3bO

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-0tN;
    import _-4Aj.*;

    public class _-3bO extends _-7V implements _-0tL 
    {

        public function _-3bO(_arg1:Function)
        {
            super(_arg1, _-0tN);
        }
        public function _-3-5():_-0tN
        {
            return ((this._-515 as _-0tN));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-3E6

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-3Gt;
    import _-4Aj.*;

    public class _-3E6 extends _-7V implements _-0tL 
    {

        public function _-3E6(_arg1:Function)
        {
            super(_arg1, _-3Gt);
        }
        public function _-3-5():_-3Gt
        {
            return ((this._-515 as _-3Gt));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-3rV

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-132;
    import _-4Aj.*;

    public class _-3rV extends _-7V implements _-0tL 
    {

        public function _-3rV(_arg1:Function)
        {
            super(_arg1, _-132);
        }
        public function _-3-5():_-132
        {
            return ((this._-515 as _-132));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-3vw

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-1Ye;
    import _-4Aj.*;

    public class _-3vw extends _-7V implements _-0tL 
    {

        public function _-3vw(_arg1:Function)
        {
            super(_arg1, _-1Ye);
        }
        public function get productName():String
        {
            return ((_-515 as _-1Ye).productName);
        }
        public function get productDescription():String
        {
            return ((_-515 as _-1Ye).productDescription);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-3ZC

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-2U0;
    import _-4Aj.*;

    public class _-3ZC extends _-7V implements _-0tL 
    {

        public function _-3ZC(_arg1:Function)
        {
            super(_arg1, _-2U0);
        }
        public function _-3-5():_-2U0
        {
            return ((this._-515 as _-2U0));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-46p

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-05k;
    import _-4Aj.*;

    public class _-46p extends _-7V implements _-0tL 
    {

        public function _-46p(_arg1:Function)
        {
            super(_arg1, _-05k);
        }
        public function _-3-5():_-05k
        {
            return ((this._-515 as _-05k));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-4D5

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-Zm;
    import _-4Aj.*;

    public class _-4D5 extends _-7V implements _-0tL 
    {

        public function _-4D5(_arg1:Function)
        {
            super(_arg1, _-Zm);
        }
        public function _-3-5():_-Zm
        {
            return ((this._-515 as _-Zm));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-4hq

package _-48G
{
    import _-4Aj._-0s1;

    public class _-4hq 
    {

        public static const _-0xA:String = "i";
        public static const _-5Ds:String = "s";
        public static const _-17R:String = "e";
        public static const _-0tW:String = "b";

        private var _-Gu:String;
        private var _-n6:int;
        private var _-2Uq:String;
        private var _-4lD:int;
        private var _-4tn:int;
        private var _-05I:Boolean;
        private var _-2qd:int;
        private var _-0Ei:int;

        public function _-4hq(_arg1:_-0s1)
        {
            this._-Gu = _arg1.readString();
            switch (this._-Gu)
            {
                case _-0tW:
                    this._-2Uq = _arg1.readString();
                    this._-4lD = 1;
                    return;
                default:
                    this._-n6 = _arg1._-2BW();
                    this._-2Uq = _arg1.readString();
                    this._-4lD = _arg1._-2BW();
                    this._-4tn = _arg1._-2BW();
                    this._-05I = _arg1.readBoolean();
                    if (this._-05I)
                    {
                        this._-2qd = _arg1._-2BW();
                        this._-0Ei = _arg1._-2BW();
                    };
            };
        }
        public function get _-5DX():String
        {
            return (this._-Gu);
        }
        public function get _-3Zu():int
        {
            return (this._-n6);
        }
        public function get _-1gg():String
        {
            return (this._-2Uq);
        }
        public function get productCount():int
        {
            return (this._-4lD);
        }
        public function get expiration():int
        {
            return (this._-4tn);
        }
        public function get _-4r7():Boolean
        {
            return (this._-05I);
        }
        public function get uniqueLimitedItemSeriesSize():int
        {
            return (this._-2qd);
        }
        public function get uniqueLimitedItemsLeft():int
        {
            return (this._-0Ei);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-4Np

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-1qG;
    import _-4Aj.*;

    public class _-4Np extends _-7V implements _-0tL 
    {

        public function _-4Np(_arg1:Function)
        {
            super(_arg1, _-1qG);
        }
        public function _-3-5():_-1qG
        {
            return ((this._-515 as _-1qG));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-4V4

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-0W-;
    import _-4Aj.*;

    public class _-4V4 extends _-7V implements _-0tL 
    {

        public function _-4V4(_arg1:Function)
        {
            super(_arg1, _-0W-);
        }
        public function _-3-5():_-0W-
        {
            return ((this._-515 as _-0W-));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-51z

package _-48G
{
    import _-4Aj._-0s1;

    public class _-51z 
    {

        private var _-0Qy:int;
        private var _-0J4:int;
        private var _-2BQ:int;
        private var _-2eG:int;
        private var _-4gB:Array;

        public function _-51z(_arg1:_-0s1)
        {
            var k:int;
            super();
            this._-0Qy = _arg1._-2BW();
            this._-0J4 = _arg1._-2BW();
            this._-2BQ = _arg1._-2BW();
            this._-2eG = _arg1._-2BW();
            this._-4gB = new Array();
            var k:int = _arg1._-2BW();
            while (k < k)
            {
                this._-4gB.push(_arg1._-2BW());
                k++;
            };
        }
        public function get _-3zW():int
        {
            return (this._-0Qy);
        }
        public function get _-4-I():int
        {
            return (this._-0J4);
        }
        public function get _-0CM():int
        {
            return (this._-2BQ);
        }
        public function get _-4ml():int
        {
            return (this._-2eG);
        }
        public function get _-244():Array
        {
            return (this._-4gB);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-bL

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-447;
    import _-4Aj.*;

    public class _-bL extends _-7V implements _-0tL 
    {

        public function _-bL(_arg1:Function)
        {
            super(_arg1, _-447);
        }
        public function _-3-5():_-447
        {
            return ((this._-515 as _-447));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-em

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-1ds;
    import _-4Aj.*;

    public class _-em extends _-7V implements _-0tL 
    {

        public function _-em(_arg1:Function)
        {
            super(_arg1, _-1ds);
        }
        public function get offer():_-16p
        {
            return (_-1ds(parser)._-07D);
        }
        public function get pageId():int
        {
            return (_-1ds(parser).pageId);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-EM

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-ji;
    import _-4Aj.*;

    public class _-EM extends _-7V implements _-0tL 
    {

        public function _-EM(_arg1:Function)
        {
            super(_arg1, _-ji);
        }
        public function _-3-5():_-ji
        {
            return ((this._-515 as _-ji));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-ur

package _-48G
{
    import _-4Aj._-0s1;

    public class _-ur 
    {

        private var _-2W3:int;
        private var _-03u:String;
        private var _-3Wj:int;
        private var _-4cj:int;
        private var _-19v:int;
        private var _-DM:Boolean;
        private var _-1MG:int;
        private var _-3bg:int;
        private var _-2RL:int;
        private var _-2qW:int;
        private var _-4P6:int;
        private var _day:int;

        public function _-ur(_arg1:_-0s1)
        {
            this._-2W3 = _arg1._-2BW();
            this._-03u = _arg1.readString();
            this._-3Wj = _arg1._-2BW();
            this._-4cj = _arg1._-2BW();
            this._-19v = _arg1._-2BW();
            this._-DM = _arg1.readBoolean();
            this._-1MG = _arg1._-2BW();
            this._-3bg = _arg1._-2BW();
            this._-2RL = _arg1._-2BW();
            this._-2qW = _arg1._-2BW();
            this._-4P6 = _arg1._-2BW();
            this._day = _arg1._-2BW();
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get priceCredits():int
        {
            return (this._-3Wj);
        }
        public function get vip():Boolean
        {
            return (this._-DM);
        }
        public function get months():int
        {
            return (this._-1MG);
        }
        public function get _-0-x():int
        {
            return (this._-3bg);
        }
        public function get _-5-q():int
        {
            return (this._-2RL);
        }
        public function get year():int
        {
            return (this._-2qW);
        }
        public function get month():int
        {
            return (this._-4P6);
        }
        public function get day():int
        {
            return (this._day);
        }
        public function get priceActivityPoints():int
        {
            return (this._-4cj);
        }
        public function get _-39j():int
        {
            return (this._-19v);
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48G._-Xc

package _-48G
{
    import _-4Aj._-7V;
    import _-2iw._-4kf;
    import _-4Aj.*;

    public class _-Xc extends _-7V implements _-0tL 
    {

        public function _-Xc(_arg1:Function)
        {
            super(_arg1, _-4kf);
        }
        public function _-3-5():_-4kf
        {
            return ((this._-515 as _-4kf));
        }

    }
}//package _-48G

//------------------------------------------------------------
//_-48o._-0Rd

package _-48o
{
    import _-1B-.*;

    public interface _-0Rd extends _-1zZ 
    {

        function _-3I4():_-4xD;
        function set _-2QZ(_arg1:SynchronizedGameArena):void;
        function _-2KA():void;
        function _-543():int;
        function _-5Du():int;

    }
}//package _-48o

//------------------------------------------------------------
//_-48o._-2io

package _-48o
{
    import _-1B-.*;

    public interface _-2io extends _-1zZ 
    {

        function apply(_arg1:SynchronizedGameStage):void;

    }
}//package _-48o

//------------------------------------------------------------
//_-48o._-2pk

package _-48o
{
    import _-1Fi._-0Iz;

    public class _-2pk implements _-4xD 
    {

        protected var _-0RZ:SynchronizedGameArena;
        protected var _-4vm:_-0Iz;
        private var _-4Bk:Boolean = false;

        public function dispose():void
        {
            this._-4Bk = true;
            this._-0RZ = null;
            this._-4vm = null;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function initialize(_arg1:SynchronizedGameArena, _arg2:_-0Iz):void
        {
            this._-0RZ = _arg1;
            this._-4vm = _arg2;
        }
        public function get _-2QZ():SynchronizedGameArena
        {
            return (this._-0RZ);
        }
        public function get _-2xw():_-0Iz
        {
            return (this._-4vm);
        }
        public function get roomType():String
        {
            return ("");
        }

    }
}//package _-48o

//------------------------------------------------------------
//_-48o._-4a8

package _-48o
{
    import _-1B-.*;

    public interface _-4a8 extends _-1zZ 
    {

        function get _-4b():int;
        function get _-hz():Boolean;
        function get _-C6():int;

    }
}//package _-48o

//------------------------------------------------------------
//_-48o._-4xD

package _-48o
{
    import _-1Fi._-0Iz;
    import _-1B-.*;

    public interface _-4xD extends _-1zZ 
    {

        function initialize(_arg1:SynchronizedGameArena, _arg2:_-0Iz):void;
        function get _-2QZ():SynchronizedGameArena;
        function get roomType():String;

    }
}//package _-48o

//------------------------------------------------------------
//_-48o._-s-

package _-48o
{
    import _-1B-.*;

    public interface _-s- extends _-4a8, _-1zZ 
    {

        function get _-3Cm():Boolean;
        function set _-3Cm(_arg1:Boolean):void;
        function get numberOfVariables():int;
        function getVariable(_arg1:int):int;
        function subturn(_arg1:SynchronizedGameStage):void;
        function onRemove():void;

    }
}//package _-48o

//------------------------------------------------------------
//_-48o.SynchronizedGameArena

package _-48o
{
    import _-2b4.SnowWarEngine;
    import _-18r.Map;
    import _-2b4.SnowWarGameStage;
    import _-1B-.*;

    public class SynchronizedGameArena implements _-1zZ 
    {

        private var _-346:SnowWarEngine;
        private var _-2U7:Array;
        protected var _-3v3:int;
        private var _-2Z-:int;
        private var _-4Wg:int = 1;
        private var _-3Mg:SynchronizedGameStage;
        private var _-3sz:_-0Rd;
        private var _-3sa:Map;
        private var _-4Bk:Boolean = false;
        private var _-3G3:Boolean = false;
        private var _-3li:int;
        private var _-l-:Array;

        public function dispose():void
        {
            this._-4Bk = true;
            this._-346 = null;
            this._-2U7 = null;
            this._-3Mg = null;
            if (this._-3sz != null)
            {
                this._-3sz.dispose();
                this._-3sz = null;
            };
            this._-3sa = null;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function initialize(_arg1:SnowWarEngine, _arg2:int):void
        {
            this._-346 = _arg1;
            this._-3Mg = new SnowWarGameStage();
            this._-3sa = new Map();
            this._-2U7 = [];
            this._-3li = _arg2;
            this._-3v3 = 0;
            this._-2Z- = 0;
            this._-2U7[this._-3v3] = this._-3ec();
            this._-3sa = new Map();
            this._-2db();
        }
        public function get _-1EZ():SnowWarEngine
        {
            return (this._-346);
        }
        public function _-2KA():void
        {
            this._-0Lj();
        }
        public function _-0Lj():void
        {
            var k:Array;
            var k:_-2io;
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((("Turn " + this._-3v3) + " subturn ") + (this._-2Z- + 1)) + "/") + this._-5Du()));
            };
            var k:SynchronizedGameStage = SynchronizedGameStage(this._-1LJ());
            var k:Array = this._-2U7[this._-3v3];
            if (k)
            {
                k = k[this._-2Z-];
                while (k.length > 0)
                {
                    k = (k.shift() as _-2io);
                    if (HabboGamesCom.logEnabled)
                    {
                        HabboGamesCom.log(((((((("GameInstance::gameTurn: applying event " + k) + " turn ") + this._-3v3) + " subturn ") + (this._-2Z- + 1)) + "/") + this._-5Du()));
                    };
                    k.apply(k);
                };
            };
            if (!this._-3G3)
            {
                k.subturn();
            };
            if (this._-2Z- >= (this._-5Du() - 1))
            {
                if ((this._-3v3 % this._-4Wg) == 0)
                {
                    this._-3sa[this._-3v3] = this._-1LJ()._-3QP(this._-3v3);
                };
                this._-3v3++;
                this._-3G3 = false;
                if (HabboGamesCom.logEnabled)
                {
                    HabboGamesCom.log(("Turn:" + this._-3v3));
                };
            };
            this._-2Z-++;
            if (this._-2Z- >= this._-5Du())
            {
                this._-2Z- = 0;
            };
        }
        public function _-1Q6(_arg1:int, _arg2:int, _arg3:_-2io):void
        {
            var k:Array = this._-2U7[_arg1];
            if (k == null)
            {
                k = this._-3ec();
                this._-2U7[_arg1] = k;
            };
            k[_arg2].push(_arg3);
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((("Add game event: " + _arg3) + " (subturn/turn): ") + _arg2) + "/") + _arg1));
            };
        }
        public function _-29N():void
        {
            var k:Array;
            var k:int;
            var k:Array;
            var k:_-2io;
            var k:String = "";
            var k:int;
            while (k < this._-2U7.length)
            {
                k = this._-2U7[k];
                if (k == null)
                {
                }
                else
                {
                    k = 0;
                    while (k < this._-5Du())
                    {
                        k = k[k];
                        if (k.length == 0)
                        {
                        }
                        else
                        {
                            k = (k + (((k + " (") + k) + ") : "));
                            for each (k in k)
                            {
                                k = (k + k);
                            };
                            k = (k + "\n");
                        };
                        k++;
                    };
                };
                k++;
            };
            HabboGamesCom.log(k);
        }
        public function _-5Du():int
        {
            return (this.getExtension()._-5Du());
        }
        public function _-08m():int
        {
            return (this._-3v3);
        }
        public function get subturn():int
        {
            return (this._-2Z-);
        }
        public function _-1LJ():SynchronizedGameStage
        {
            return (this._-3Mg);
        }
        public function getExtension():_-0Rd
        {
            return (this._-3sz);
        }
        public function _-34M(_arg1:_-0Rd):void
        {
            this._-3sz = _arg1;
            _arg1._-2QZ = this;
        }
        public function _-5B7(_arg1:int):int
        {
            return (this._-3sa[_arg1]);
        }
        public function _-2F1(_arg1:int, _arg2:int):void
        {
            this._-3v3 = _arg1;
            this._-2Z- = 0;
            this._-3sa[_arg1] = _arg2;
            this._-2U7 = [];
            this._-2U7[this._-3v3] = this._-3ec();
            this._-3G3 = true;
        }
        private function _-3ec():Array
        {
            var k:Array = [];
            var k:int;
            while (k < this._-5Du())
            {
                k[k] = [];
                k++;
            };
            return (k);
        }
        public function get _-0Sk():int
        {
            return (this._-3li);
        }
        private function _-2db():void
        {
            this._-l- = [];
            var k:int;
            while (k < this._-3li)
            {
                this._-l-[k] = 0;
                k++;
            };
        }
        public function _-0Ma(_arg1:int, _arg2:int):void
        {
            if ((((_arg1 > 0)) && ((_arg1 <= this._-3li))))
            {
                this._-l-[(_arg1 - 1)] = (this._-l-[(_arg1 - 1)] + _arg2);
            };
        }
        public function _-3KW():Array
        {
            return (this._-l-);
        }

    }
}//package _-48o

//------------------------------------------------------------
//_-48o.SynchronizedGameStage

package _-48o
{
    import _-18r.Map;
    import _-2S9.Exception;
    import _-0W2._-1UK;
    import _-4Vx.HumanGameObject;

    public class SynchronizedGameStage extends _-2pk 
    {

        protected var _-4op:Map;
        private var _-4Ja:Array;
        private var _-3VH:Array;

        public function SynchronizedGameStage()
        {
            this._-4op = new Map();
            this._-4Ja = [];
            this._-3VH = [];
            super();
        }
        private static function _-4vy(_arg1:int):String
        {
            if (_arg1 < 10)
            {
                return (("0" + _arg1));
            };
            return (_arg1.toString());
        }

        override public function dispose():void
        {
            var k:_-s-;
            super.dispose();
            if (this._-4op != null)
            {
                for each (k in this._-4op)
                {
                    k.dispose();
                };
                this._-4op.dispose();
                this._-4op = null;
            };
            this._-4Ja = [];
            this._-3VH = [];
        }
        public function _-2rr(_arg1:int, _arg2:_-s-):void
        {
            this._-4op.add(_arg1, _arg2);
            _arg2._-3Cm = true;
        }
        public function _-1Hb(_arg1:int, _arg2:_-s-):void
        {
            this._-4op.add(_arg1, _arg2);
            _arg2._-3Cm = false;
        }
        public function _-Rx(_arg1:int, _arg2:_-s-):void
        {
            this._-4op.add(_arg1, _arg2);
            _arg2._-3Cm = true;
            if (_arg2._-4b != _arg1)
            {
                throw (new Exception(("Could not add gameobject with id:" + _arg1)));
            };
        }
        public function removeGameObject(_arg1:int):void
        {
            var k:_-s- = this._-4op.remove(_arg1);
            if (k)
            {
                k.onRemove();
                this._-3VH.push(k);
            };
        }
        public function _-2bS():void
        {
            var k:_-s-;
            for each (k in this._-4op._-0hn())
            {
                k.onRemove();
                this._-3VH.push(k);
            };
            this._-4op = new Map();
        }
        public function _-2cN(_arg1:_-s-):void
        {
            if (_arg1 == null)
            {
                HabboGamesCom.log("Trying to put null in delete list.");
                return;
            };
            this._-4Ja.push(_arg1);
            _arg1._-3Cm = false;
        }
        public function _-4eu(_arg1:int):_-s-
        {
            return ((this._-4op.getValue(_arg1) as _-s-));
        }
        public function _-0G7():Array
        {
            return (this._-4op._-0hn());
        }
        public function subturn():void
        {
            var k:_-s-;
            var k:_-4a8;
            for each (k in this._-4op._-0hn())
            {
                k.subturn(this);
            };
            if (this._-4Ja.length > 0)
            {
                for each (k in this._-4Ja)
                {
                    this.removeGameObject(k._-4b);
                };
                this._-4Ja = [];
            };
        }
        public function _-3QP(_arg1:int):int
        {
            var k:_-s-;
            var k:int;
            var k:int;
            var k:int;
            var k:int = _-1UK._-3Jg(_arg1);
            var k:int = 1;
            var k:int;
            var k:String = "";
            var k:String = "";
            if (((HabboGamesCom.logEnabled) && (((_arg1 % k) == 0))))
            {
                k = "";
                k = (k + (("\nturn ### " + _arg1) + " ###\n"));
                k = (k + (("seed " + k) + "\n"));
                k = "";
            };
            for each (k in this._-4op)
            {
                if (((k._-hz) && ((k is HumanGameObject))))
                {
                    HumanGameObject(k)._-5DZ(_arg1);
                }
                else
                {
                    if (((!(k._-3Cm)) || (k._-hz)))
                    {
                    }
                    else
                    {
                        k = 1;
                        k = k.numberOfVariables;
                        k = 0;
                        while (k < k)
                        {
                            k = (k + (k.getVariable(k) * k));
                            k++;
                            if (((HabboGamesCom.logEnabled) && (((_arg1 % k) == 0))))
                            {
                                k = (k + k.getVariable(k));
                                if (k < (k - 1))
                                {
                                    k = (k + ",");
                                };
                            };
                            k++;
                        };
                        if (((HabboGamesCom.logEnabled) && (((_arg1 % k) == 0))))
                        {
                            k = (k + (((((('++ "O' + _-4vy((k + 1))) + "-CS:") + k) + " Parms:") + k) + '"\n'));
                            k = "";
                            k++;
                        };
                    };
                };
            };
            if ((_arg1 % k) == 0)
            {
                HabboGamesCom.log(k.toString());
            };
            return (k);
        }
        public function _-1jU(_arg1:Object):void
        {
            var k:_-s-;
            var k:int;
            for each (k in this._-4op._-0hn())
            {
                if (k._-3Cm)
                {
                    k++;
                };
            };
            _arg1.writeInt(k);
            for each (k in this._-4op._-0hn())
            {
                if (k._-3Cm)
                {
                };
            };
        }
        public function _-4zZ():Array
        {
            var k:Array = this._-3VH;
            this._-3VH = [];
            return (k);
        }

    }
}//package _-48o

//------------------------------------------------------------
//_-4Ae._-1RG

package _-4Ae
{
    import _-3Zp.HabboInventory;
    import _-295._-39L;
    import _-3gx._-4BJ;
    import _-293._-5-S;
    import _-0mD._-2Jq;
    import _-18r.Map;
    import _-59g._-4KP;
    import _-4pF._-3Ts;
    import _-4Kb._-3nt;
    import _-2np._-1ZV;
    import _-Tx._-4UH;
    import _-0c3._-0Xj;
    import _-3cY._-503;
    import flash.events.Event;
    import _-4WI._-3at;
    import _-Ew.IWindowContainer;
    import _-3mW._-1sV;
    import _-3mW._-1IS;
    import _-4xL._-0BQ;
    import _-1Jd._-4JJ;
    import _-3cY._-2Jr;
    import _-3Zp.*;

    public class _-1RG implements _-4Yh 
    {

        private var _-513:HabboInventory;
        private var _-Ke:_-2Ei;
        private var _assets:_-39L;
        private var _-0ud:_-4BJ;
        private var _-0tK:_-5-S;
        private var _-3oJ:_-2Jq;
        private var _-2ZH:Map;
        private var _-4b6:Boolean = false;
        private var _disposed:Boolean = false;
        private var _-8H:Boolean;

        public function _-1RG(_arg1:HabboInventory, _arg2:_-3Ts, _arg3:_-4BJ, _arg4:_-39L, _arg5:_-5-S, _arg6:_-2Jq, _arg7:_-3nt)
        {
            this._-513 = _arg1;
            this._assets = _arg4;
            this._-0ud = _arg3;
            this._-0tK = _arg5;
            this._-0tK.events.addEventListener(_-4KP._-2pN, this._-3Uv);
            this._-3oJ = _arg6;
            this._-2ZH = new Map();
            this._-Ke = new _-2Ei(this, _arg2, _arg4, _arg5, _arg7);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-Ke)
                {
                    this._-Ke.dispose();
                    this._-Ke = null;
                };
                if (this._-0tK)
                {
                    if (this._-0tK.events)
                    {
                        this._-0tK.events.removeEventListener(_-4KP._-2pN, this._-3Uv);
                    };
                    this._-0tK = null;
                };
                if (this._-2ZH)
                {
                    this._-2ZH.dispose();
                    this._-2ZH = null;
                };
                this._-513 = null;
                this._-3oJ = null;
                this._assets = null;
                this._-0ud = null;
                this._disposed = true;
            };
        }
        public function get controller():HabboInventory
        {
            return (this._-513);
        }
        public function _-0NU():Boolean
        {
            return (this._-8H);
        }
        public function _-2-t():void
        {
            this._-8H = true;
            this._-Ke._-4iK();
        }
        public function _-0vZ():void
        {
            if (this._-0ud == null)
            {
                return;
            };
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k == null)
            {
                return;
            };
            k.send(new _-4UH());
        }
        public function _-1JA():void
        {
            this._-3oJ.openCatalog();
        }
        public function get items():Map
        {
            return (this._-2ZH);
        }
        public function _-0df(_arg1:_-0Xj):void
        {
            if (this._-2ZH.add(_arg1.id, _arg1))
            {
                this._-Ke._-0df(_arg1);
            };
            this._-Ke._-4iK();
        }
        public function _-HA(_arg1:Map):void
        {
            var k:int;
            var k:Array = _arg1._-18C();
            var k:Array = this._-2ZH._-18C();
            for each (k in k)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-2ZH.remove(k);
                    this._-Ke._-1UX(k);
                };
            };
            for each (k in k)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-2ZH.add(k, _arg1.getValue(k));
                    this._-Ke._-0df(_arg1.getValue(k));
                };
            };
        }
        public function _-1UX(_arg1:int):void
        {
            this._-2ZH.remove(_arg1);
            this._-Ke._-1UX(_arg1);
            this._-Ke._-4iK();
        }
        public function _-eq(_arg1:int=0):void
        {
            this._-0vZ();
        }
        public function _-52O(_arg1:String):void
        {
            if ((((_arg1 == _-503._-2hj)) && (this._-513._-0m7)))
            {
                this._-513.events.dispatchEvent(new Event(_-3at.HABBO_INVENTORY_TRACKING_EVENT_BOTS));
            };
        }
        public function getWindowContainer():IWindowContainer
        {
            return (this._-Ke.getWindowContainer());
        }
        public function _-3mZ():void
        {
            if (this._-Ke._-0m7)
            {
                this._-21o();
            };
        }
        public function _-3NF(_arg1:String):void
        {
        }
        public function _-vP(_arg1:int, _arg2:Boolean=false):Boolean
        {
            var k:int;
            var k:_-0Xj = this._-3Vk(_arg1);
            if (k == null)
            {
                return (false);
            };
            if (!this._-513.roomSession._-54Z)
            {
                return (false);
            };
            if (this._-513.roomSession._-49x)
            {
                k = (k.id * -1);
                this._-4b6 = this._-0tK._-WZ(k, _-1sV._-3I0, _-1IS._-qF, k.figure);
                this._-513._-29e();
                return (this._-4b6);
            };
            if (!_arg2)
            {
                this._-0ud._-4gR(null).send(new _-0BQ(k.id, 0, 0));
            };
            return (true);
        }
        public function _-2D2():void
        {
            if (this._-Ke == null)
            {
                return;
            };
            this._-Ke.update();
        }
        private function _-3Vk(_arg1:int):_-0Xj
        {
            var k:_-0Xj;
            for each (k in this._-2ZH)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-3Uv(_arg1:Event):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (((this._-4b6) && ((_arg1.type == _-4KP._-2pN))))
            {
                this._-513._-192();
                this._-4b6 = false;
            };
        }
        public function get roomSession():_-4JJ
        {
            return (this._-513.roomSession);
        }
        public function _-21o():void
        {
            this._-513._-20u._-4oQ(_-2Jr.BOT);
            this._-513._-1XT();
            this._-Ke.update();
        }
        public function _-0-v(_arg1:int):Boolean
        {
            return (this._-513._-20u._-0-v(_-2Jr.BOT, _arg1));
        }

    }
}//package _-4Ae

//------------------------------------------------------------
//_-4Ae._-2Ei

package _-4Ae
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemGridWindow;
    import _-293._-5-S;
    import _-4Kb._-3nt;
    import _-18r.Map;
    import _-1ae.IButtonWindow;
    import _-295._-243;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-0c3._-0Xj;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0se._-1uH;
    import _-1ae.ITextWindow;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-4Kb.*;
    import _-3Zp.*;

    public class _-2Ei implements _-3Nt, _-3QA 
    {

        private const _-43s:int = 0;
        private const _-3Se:int = 1;
        private const _-1k:int = 2;
        private const _-1b9:int = 3;

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-Ke:IWindowContainer;
        private var _-3n-:_-1RG;
        private var _disposed:Boolean = false;
        private var _-2Mt:IItemGridWindow;
        private var _-0tK:_-5-S;
        private var _-21X:_-3nt;
        private var _-2Nj:Map;
        private var _-4RB:_-uI;
        private var _-3HP:int = 0;
        private var _-j5:int;

        public function _-2Ei(_arg1:_-1RG, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-5-S, _arg5:_-3nt)
        {
            var k:IButtonWindow;
            super();
            this._-3n- = _arg1;
            this._-AV = _arg3;
            this._-U- = _arg2;
            this._-0tK = _arg4;
            this._-21X = _arg5;
            this._-2Nj = new Map();
            var k:_-243 = (this._-AV.getAssetByName("inventory_bots_view_xml") as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return;
            };
            this._-Ke = (this._-U-.buildFromXML((k.content as XML)) as IWindowContainer);
            if (this._-Ke == null)
            {
                return;
            };
            this._-Ke.visible = false;
            this._-Ke.procedure = this._-0Rw;
            this._-0y7();
            this._-2Mt = (this._-Ke.findChildByName("grid") as IItemGridWindow);
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("download_image") as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height);
            var k:BitmapData = (this._-AV.getAssetByName("download_icon_png").content as BitmapData);
            k.bitmap.copyPixels(k, k.rect, new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2)), null, null, true);
            k = (this._-Ke.findChildByName("image") as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height);
            var k:BitmapData = (this._-AV.getAssetByName("inventory_empty_png").content as BitmapData);
            k.bitmap.copyPixels(k, k.rect, new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2)), null, null, true);
            k = (this._-Ke.findChildByName("place_button") as IButtonWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-Pk);
            };
            k = (this._-Ke.findChildByName("open_catalog_btn") as IButtonWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-41V);
            };
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("preview_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-3Jy, this._-Pk);
            };
            this._-2HS();
            this._-4iK();
            this._-09m();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this._-U- = null;
            this._-21X = null;
            this._-0tK = null;
            this._-AV = null;
            this._-3n- = null;
            this._-Ke = null;
            this._disposed = true;
        }
        public function get _-0m7():Boolean
        {
            return (((!((this._-Ke.parent == null))) && (this._-Ke.visible)));
        }
        public function update():void
        {
            this._-3Fl();
            this._-2HS(this._-4RB);
        }
        public function _-1UX(_arg1:int):void
        {
            var k:_-uI = (this._-2Nj.remove(_arg1) as _-uI);
            if (k == null)
            {
                return;
            };
            this._-2Mt._-0SW(k.window);
            if (this._-4RB == k)
            {
                this._-4RB = null;
                this._-09m();
            };
        }
        private function _-09m():void
        {
            if ((((this._-2Nj == null)) || ((this._-2Nj.length == 0))))
            {
                this._-2HS();
                return;
            };
            this._-2tH(this._-2Nj.getWithIndex(0));
        }
        public function _-0df(_arg1:_-0Xj):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (this._-2Nj.getValue(_arg1.id) != null)
            {
                return;
            };
            var k:_-uI = new _-uI(this, _arg1, this._-U-, this._-AV, this._-3n-._-0-v(_arg1.id));
            if (k != null)
            {
                this._-2Mt._-2-F(k.window);
                this._-2Nj.add(_arg1.id, k);
                if (this._-4RB == null)
                {
                    this._-09m();
                };
            };
        }
        private function _-3Fl():void
        {
            var k:int;
            var k:_-uI;
            if (this._-Ke == null)
            {
                return;
            };
            var k:Array = this._-2Nj._-18C();
            var k:Array = ((this._-3n-.items) ? this._-3n-.items._-18C() : new Array());
            this._-2Mt.lock();
            for each (k in k)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-1UX(k);
                };
            };
            for each (k in k)
            {
                if (k.indexOf(k) == -1)
                {
                    this._-0df(this._-3n-.items.getValue(k));
                };
                k = this._-2Nj.getValue(k);
                k._-4Q(this._-3n-._-0-v(k));
            };
            this._-2Mt.unlock();
        }
        private function _-41V(_arg1:WindowMouseEvent):void
        {
            this._-3n-._-1JA();
        }
        private function _-Pk(_arg1:WindowMouseEvent):void
        {
            if (this._-4RB == null)
            {
                return;
            };
            var k:_-0Xj = this._-4RB.data;
            if (k == null)
            {
                return;
            };
            this._-vP(k.id);
        }
        public function _-vP(_arg1:int, _arg2:Boolean=false):void
        {
            this._-3n-._-vP(_arg1, _arg2);
        }
        public function getWindowContainer():IWindowContainer
        {
            if (this._-Ke == null)
            {
                return (null);
            };
            if (this._-Ke.disposed)
            {
                return (null);
            };
            return (this._-Ke);
        }
        private function _-0Rw(_arg1:WindowEvent, _arg2:IWindow):void
        {
        }
        public function _-2tH(_arg1:_-uI):void
        {
            if (this._-4RB != null)
            {
                this._-4RB.setSelected(false);
            };
            this._-4RB = _arg1;
            if (this._-4RB != null)
            {
                this._-4RB.setSelected(true);
            };
            this._-2HS(_arg1);
        }
        public function _-4iK():void
        {
            var k:int;
            var k:Map = this._-3n-.items;
            if (!this._-3n-._-0NU())
            {
                k = this._-3Se;
            }
            else
            {
                if (((!(k)) || ((k.length == 0))))
                {
                    k = this._-1k;
                }
                else
                {
                    k = this._-1b9;
                };
            };
            if (this._-3HP == k)
            {
                return;
            };
            this._-3HP = k;
            var k:IWindowContainer = (this._-Ke.findChildByName("loading_container") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("empty_container") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("grid_container") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("preview_container") as IWindowContainer);
            switch (k)
            {
                case this._-3Se:
                    k.visible = true;
                    k.visible = false;
                    k.visible = false;
                    k.visible = false;
                    return;
                case this._-1k:
                    k.visible = false;
                    k.visible = true;
                    k.visible = false;
                    k.visible = false;
                    return;
                case this._-1b9:
                    k.visible = false;
                    k.visible = false;
                    k.visible = true;
                    k.visible = true;
                    this._-3Fl();
                    this._-2HS();
                    return;
            };
        }
        private function _-2HS(_arg1:_-uI=null):void
        {
            var k:BitmapData;
            var k:String;
            var k:Boolean;
            var _local11:_-0Xj;
            var k:BitmapData;
            if (this._-Ke == null)
            {
                return;
            };
            this._-j5 = -1;
            if ((((_arg1 == null)) || ((_arg1.data == null))))
            {
                k = new BitmapData(1, 1);
                k = "";
                k = false;
            }
            else
            {
                _local11 = _arg1.data;
                k = _local11.name;
                k = this._-w4(_local11, 4, true, _-1uH._-JU);
                k = true;
            };
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("preview_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = new BitmapData(k.width, k.height);
                k.fillRect(k.rect, 0);
                k.copyPixels(k, k.rect, new Point(((k.width / 2) - (k.width / 2)), ((k.height / 2) - (k.height / 2))));
                k.bitmap = k;
            };
            k.dispose();
            var k:ITextWindow = (this._-Ke.findChildByName("bot_name") as ITextWindow);
            if (k != null)
            {
                k.caption = k;
            };
            k = (this._-Ke.findChildByName("bot_description") as ITextWindow);
            if (k != null)
            {
                k.caption = "-DEFAULT_DESCRIPTION-";
            };
            var k:Boolean;
            var k:Boolean;
            if (this._-3n-.roomSession != null)
            {
                k = this._-3n-.roomSession._-54Z;
                k = this._-3n-.roomSession._-49x;
            };
            var k:String = "";
            if (!k)
            {
                if (k)
                {
                    k = "${inventory.bots.allowed}";
                }
                else
                {
                    k = "${inventory.bots.forbidden}";
                };
            };
            k = (this._-Ke.findChildByName("preview_info") as ITextWindow);
            if (k != null)
            {
                k.caption = k;
            };
            var k:IButtonWindow = (this._-Ke.findChildByName("place_button") as IButtonWindow);
            if (k != null)
            {
                if (((k) && (((k) || (k)))))
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
        }
        public function _-3g9(_arg1:_-0Xj):BitmapData
        {
            var k:int = 3;
            return (this._-w4(_arg1, k, false, _-1uH._-JU));
        }
        public function _-w4(_arg1:_-0Xj, _arg2:int, _arg3:Boolean, _arg4:String):BitmapData
        {
            var k:BitmapData;
            var k:_-40f = this._-21X.createAvatarImage(_arg1.figure, _arg4, _arg1.gender, this);
            k.setDirection(_-24J._-2YU, _arg2);
            if (_arg3)
            {
                k = k._-1hx(_-24J._-2YU);
            }
            else
            {
                k = k._-1hx(_-24J._-0GH);
            };
            k.dispose();
            return (k);
        }
        private function _-0y7():void
        {
        }
        public function _-0-V(_arg1:String):void
        {
            var k:_-uI;
            if (this.disposed)
            {
                return;
            };
            for each (k in this._-2Nj)
            {
                if (k.data.figure == _arg1)
                {
                    k._-1xp(this._-3g9(k.data));
                };
            };
        }

    }
}//package _-4Ae

//------------------------------------------------------------
//_-4Ae._-uI

package _-4Ae
{
    import _-0c3._-0Xj;
    import _-Ew.IWindowContainer;
    import _-295._-39L;
    import _-Ew.IWindow;
    import _-295._-243;
    import flash.display.BitmapData;
    import _-4pF._-3Ts;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;

    public class _-uI 
    {

        private static const _-3Z1:int = 0xCCCCCC;
        private static const _-DN:int = 10275685;

        private var _-0qE:_-0Xj;
        private var _-0xv:IWindowContainer;
        private var _assets:_-39L;
        private var _-0Vh:IWindow;
        private var _-208:Boolean;
        private var _-Ke:_-2Ei;
        private var _-0d0:int = -1;
        private var _-5AS:Boolean;
        private var _-1MV:Boolean;

        public function _-uI(_arg1:_-2Ei, _arg2:_-0Xj, _arg3:_-3Ts, _arg4:_-39L, _arg5:Boolean)
        {
            if ((((((((_arg1 == null)) || ((_arg2 == null)))) || ((_arg3 == null)))) || ((_arg4 == null))))
            {
                return;
            };
            this._assets = _arg4;
            this._-Ke = _arg1;
            this._-0qE = _arg2;
            this._-1MV = _arg5;
            var k:_-243 = (_arg4.getAssetByName("inventory_thumb_xml") as _-243);
            if ((((k == null)) || ((k.content == null))))
            {
                return;
            };
            this._-0xv = (_arg3.buildFromXML((k.content as XML)) as IWindowContainer);
            this._-0xv.procedure = this._-3go;
            var k:BitmapData = _arg1._-3g9(_arg2);
            this._-1xp(k);
            this._-0VZ();
        }
        public function dispose():void
        {
            this._assets = null;
            this._-Ke = null;
            this._-0qE = null;
            this._-0Vh = null;
            this._-0d0 = -1;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-3go(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case WindowMouseEvent._-3Jy:
                    this._-Ke._-2tH(this);
                    this._-5AS = true;
                    return;
                case WindowMouseEvent._-02B:
                    this._-5AS = false;
                    return;
                case WindowMouseEvent._-4e2:
                    if (this._-5AS)
                    {
                        this._-5AS = false;
                        this._-Ke._-vP(this._-0qE.id, true);
                    };
                    return;
            };
        }
        public function _-1xp(_arg1:BitmapData):void
        {
            if (!this._-0xv)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("bitmap") as IBitmapWrapperWindow);
            var k:BitmapData = new BitmapData(k.width, k.height);
            k.fillRect(k.rect, 0);
            k.copyPixels(_arg1, _arg1.rect, new Point(((k.width / 2) - (_arg1.width / 2)), ((k.height / 2) - (_arg1.height / 2))));
            if (k.bitmap)
            {
                k.bitmap.dispose();
            };
            k.bitmap = k;
        }
        public function _-4Q(_arg1:Boolean):void
        {
            if (this._-1MV != _arg1)
            {
                this._-1MV = _arg1;
                this._-0VZ();
            };
        }
        public function setSelected(_arg1:Boolean):void
        {
            if (this._-208 != _arg1)
            {
                this._-208 = _arg1;
                if (((!(this._-0xv)) || (!(this._-0Vh))))
                {
                    return;
                };
                this._-0VZ();
            };
        }
        private function _-0VZ():void
        {
            var k:IWindow = this._-0xv.findChildByName("outline");
            if (k != null)
            {
                k.visible = this._-208;
            };
            if (!this._-0Vh)
            {
                this._-0Vh = this._-0xv.findChildByTag("BG_COLOR");
            };
            this._-0Vh.color = ((this._-1MV) ? _-DN : _-3Z1);
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }
        public function get data():_-0Xj
        {
            return (this._-0qE);
        }

    }
}//package _-4Ae

//------------------------------------------------------------
//_-4Aj._-0s1

package _-4Aj
{
    import _-3pm._-dR;

    public interface _-0s1 
    {

        function _-0Ki():int;
        function readString():String;
        function _-2BW():int;
        function readBoolean():Boolean;
        function readShort():_-dR;
        function readFloat():Number;
        function get bytesAvailable():uint;

    }
}//package _-4Aj

//------------------------------------------------------------
//_-4Aj._-0tL

package _-4Aj
{
    import _-2np._-1ZV;

    public interface _-0tL 
    {

        function get callback():Function;
        function set connection(_arg1:_-1ZV):void;
        function get connection():_-1ZV;
        function get _-3K8():Class;
        function get parser():_-58N;
        function set parser(_arg1:_-58N):void;
        function dispose():void;

    }
}//package _-4Aj

//------------------------------------------------------------
//_-4Aj._-1oF

package _-4Aj
{
    public interface _-1oF 
    {

        function _-43Z():Array;
        function dispose():void;

    }
}//package _-4Aj

//------------------------------------------------------------
//_-4Aj._-2tA

package _-4Aj
{
    public interface _-2tA 
    {

    }
}//package _-4Aj

//------------------------------------------------------------
//_-4Aj._-58N

package _-4Aj
{
    public interface _-58N 
    {

        function flush():Boolean;
        function parse(_arg1:_-0s1):Boolean;

    }
}//package _-4Aj

//------------------------------------------------------------
//_-4Aj._-5CT

package _-4Aj
{
    import _-18r.Map;

    public interface _-5CT 
    {

        function get events():Map;
        function get _-0dW():Map;

    }
}//package _-4Aj

//------------------------------------------------------------
//_-4Aj._-7V

package _-4Aj
{
    import _-2np._-1ZV;

    public class _-7V implements _-0tL 
    {

        protected var _-1Ox:Function;
        protected var _-51u:_-1ZV;
        private var _-2Du:Class;
        protected var _-515:_-58N;

        public function _-7V(_arg1:Function, _arg2:Class)
        {
            this._-1Ox = _arg1;
            this._-2Du = _arg2;
        }
        public function dispose():void
        {
            this._-1Ox = null;
            this._-2Du = null;
            this._-51u = null;
            this._-515 = null;
        }
        public function get callback():Function
        {
            return (this._-1Ox);
        }
        public function set connection(_arg1:_-1ZV):void
        {
            this._-51u = _arg1;
        }
        public function get connection():_-1ZV
        {
            return (this._-51u);
        }
        public function get _-3K8():Class
        {
            return (this._-2Du);
        }
        public function get parser():_-58N
        {
            return (this._-515);
        }
        public function set parser(_arg1:_-58N):void
        {
            this._-515 = _arg1;
        }

    }
}//package _-4Aj

//------------------------------------------------------------
//_-4Aj.MessageClassManager

package _-4Aj
{
    import flash.utils.Dictionary;
    import _-18r.ClassUtils;
    import flash.utils.getQualifiedClassName;

    public class MessageClassManager 
    {

        private var _-0Vb:Dictionary;
        private var _-4E7:Dictionary;
        private var _-3tZ:Dictionary;

        public function MessageClassManager()
        {
            this._-0Vb = new Dictionary();
            this._-4E7 = new Dictionary();
            this._-3tZ = new Dictionary();
            super();
        }
        public function dispose():void
        {
            var k:Object;
            var k:_-0tL;
            if (this._-3tZ)
            {
                for each (k in this._-3tZ)
                {
                    k = this._-3tZ[k];
                    if (k)
                    {
                        k.dispose();
                    };
                };
            };
        }
        public function _-Pb(_arg1:_-5CT):void
        {
            var k:String;
            for (k in _arg1.events)
            {
                this._-R6(parseInt(k), _arg1.events[k]);
            };
            for (k in _arg1._-0dW)
            {
                this._-0rl(parseInt(k), _arg1._-0dW[k]);
            };
        }
        private function _-0rl(_arg1:int, _arg2:Class):void
        {
            if (!ClassUtils.implementsInterface(_arg2, _-1oF))
            {
                throw (new Error(("Invalid composer class for message ID " + _arg1)));
            };
            var k:String = getQualifiedClassName(_arg2);
            if (this._-0Vb[k] != null)
            {
                throw (new Error(("Duplicate message ID definition for composer class " + k)));
            };
            this._-0Vb[k] = _arg1;
        }
        private function _-R6(_arg1:int, _arg2:Class):void
        {
            if (!ClassUtils.implementsInterface(_arg2, _-0tL))
            {
                throw (new Error(("Invalid event class for message ID " + _arg1)));
            };
            var k:String = getQualifiedClassName(_arg2);
            if (this._-4E7[k] != null)
            {
                throw (new Error(("Duplicate message ID definition for event class " + k)));
            };
            this._-4E7[k] = _arg1;
        }
        public function _-2Ys(_arg1:_-0tL):void
        {
            var k:String = getQualifiedClassName(_arg1);
            var k:Object = this._-4E7[k];
            if (k == null)
            {
                throw (new Error(("Unknown message event class " + k)));
            };
            var k:Array = this._-3tZ[k];
            if (k != null)
            {
                _arg1.parser = (k[0] as _-0tL).parser;
            }
            else
            {
                k = new Array();
                this._-3tZ[k] = k;
                _arg1.parser = new _arg1._-3K8();
            };
            k.push(_arg1);
        }
        public function _-4Rf(_arg1:_-0tL):void
        {
            var k:String = getQualifiedClassName(_arg1);
            var k:Object = this._-4E7[k];
            if (k == null)
            {
                return;
            };
            var k:Array = this._-3tZ[k];
            if (k == null)
            {
                return;
            };
            var k:int = k.indexOf(_arg1);
            if (k >= 0)
            {
                k.splice(k, 1);
                if (k.length == 0)
                {
                    delete this._-3tZ[k];
                };
                return;
            };
        }
        public function _-1Wl(_arg1:_-1oF):int
        {
            var k:Object = this._-0Vb[getQualifiedClassName(_arg1)];
            if (k == null)
            {
                return (-1);
            };
            return (int(k));
        }
        public function _-4uI(_arg1:int):Array
        {
            return (this._-3tZ[_arg1]);
        }

    }
}//package _-4Aj

//------------------------------------------------------------
//_-4at._-31N

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU._-4Mn;
    import _-4Aj.*;

    public class _-31N extends _-7V implements _-0tL 
    {

        public function _-31N(_arg1:Function)
        {
            super(_arg1, _-4Mn);
        }
        public function _-3-5():_-4Mn
        {
            return ((this._-515 as _-4Mn));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-3ci

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU.LoadGameMessageParser;
    import _-4Aj.*;

    public class _-3ci extends _-7V implements _-0tL 
    {

        public function _-3ci(_arg1:Function)
        {
            super(_arg1, LoadGameMessageParser);
        }
        public function _-3-5():LoadGameMessageParser
        {
            return ((this._-515 as LoadGameMessageParser));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-4rg

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU.GameListMessageParser;
    import _-4Aj.*;

    public class _-4rg extends _-7V implements _-0tL 
    {

        public function _-4rg(_arg1:Function)
        {
            super(_arg1, GameListMessageParser);
        }
        public function _-3-5():GameListMessageParser
        {
            return ((this._-515 as GameListMessageParser));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-4YS

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU._-534;
    import _-4Aj.*;

    public class _-4YS extends _-7V implements _-0tL 
    {

        public function _-4YS(_arg1:Function)
        {
            super(_arg1, _-534);
        }
        public function _-3-5():_-534
        {
            return ((this._-515 as _-534));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-51o

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU._-2HK;
    import _-4Aj.*;

    public class _-51o extends _-7V implements _-0tL 
    {

        public function _-51o(_arg1:Function)
        {
            super(_arg1, _-2HK);
        }
        public function _-3-5():_-2HK
        {
            return ((this._-515 as _-2HK));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-59w

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU._-1ZT;
    import _-4Aj.*;

    public class _-59w extends _-7V implements _-0tL 
    {

        public function _-59w(_arg1:Function)
        {
            super(_arg1, _-1ZT);
        }
        public function _-3-5():_-1ZT
        {
            return ((this._-515 as _-1ZT));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-A6

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU._-1yf;
    import _-4Aj.*;

    public class _-A6 extends _-7V implements _-0tL 
    {

        public function _-A6(_arg1:Function)
        {
            super(_arg1, _-1yf);
        }
        public function _-3-5():_-1yf
        {
            return ((this._-515 as _-1yf));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-b0

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU._-23X;
    import _-4Aj.*;

    public class _-b0 extends _-7V implements _-0tL 
    {

        public function _-b0(_arg1:Function)
        {
            super(_arg1, _-23X);
        }
        public function _-3-5():_-23X
        {
            return ((this._-515 as _-23X));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-M9

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU._-2wC;
    import _-4Aj.*;

    public class _-M9 extends _-7V implements _-0tL 
    {

        public function _-M9(_arg1:Function)
        {
            super(_arg1, _-2wC);
        }
        public function _-3-5():_-2wC
        {
            return ((this._-515 as _-2wC));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-R8

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU._-5-r;
    import _-4Aj.*;

    public class _-R8 extends _-7V implements _-0tL 
    {

        public function _-R8(_arg1:Function)
        {
            super(_arg1, _-5-r);
        }
        public function _-3-5():_-5-r
        {
            return ((this._-515 as _-5-r));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4at._-ZG

package _-4at
{
    import _-4Aj._-7V;
    import _-1yU.GameAchievementsMessageParser;
    import _-4Aj.*;

    public class _-ZG extends _-7V implements _-0tL 
    {

        public function _-ZG(_arg1:Function)
        {
            super(_arg1, GameAchievementsMessageParser);
        }
        public function _-3-5():GameAchievementsMessageParser
        {
            return ((this._-515 as GameAchievementsMessageParser));
        }

    }
}//package _-4at

//------------------------------------------------------------
//_-4b0._-JY

package _-4b0
{
    import _-2eC._-1Jb;
    import flash.display.Bitmap;
    import _-3EM._-47w;
    import flash.display.BitmapData;
    import _-09j._-az;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import flash.geom.Rectangle;

    public class _-JY extends _-1Jb 
    {

        private static const _-3-Y:Bitmap = new Bitmap();

        public function _-JY(_arg1:String)
        {
            super(_arg1);
        }
        override public function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void
        {
            var k:int;
            var k:int;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:_-47w = (_arg1 as _-47w);
            var k:BitmapData = k.bitmapData;
            if (((!((_arg2 == null))) && (!((k == null)))))
            {
                k = (((k.stretchedX) ? _arg1.width : k.width) * k._-yR);
                k = (((k.stretchedY) ? _arg1.height : k.height) * k._-394);
                _-8Q.a = (k / k.width);
                _-8Q.d = (k / k.height);
                switch (k.pivotPoint)
                {
                    case _-az.TOP_LEFT:
                    case _-az._-11q:
                    case _-az._-4oo:
                        _-8Q.tx = (((k._-yR < 0)) ? -(k) : 0);
                        break;
                    case _-az._-4qK:
                    case _-az.CENTER:
                    case _-az._-2QU:
                        _-8Q.tx = int(((_arg1.width - k) / 2));
                        break;
                    case _-az._-02y:
                    case _-az._-Qe:
                    case _-az._-0vs:
                        _-8Q.tx = (((k._-yR < 0)) ? _arg1.width : (_arg1.width - k));
                        break;
                };
                switch (k.pivotPoint)
                {
                    case _-az.TOP_LEFT:
                    case _-az._-4qK:
                    case _-az._-02y:
                        _-8Q.ty = (((k._-394 < 0)) ? -(k) : 0);
                        break;
                    case _-az._-11q:
                    case _-az.CENTER:
                    case _-az._-Qe:
                        _-8Q.ty = int(((_arg1.height - k) / 2));
                        break;
                    case _-az._-4oo:
                    case _-az._-2QU:
                    case _-az._-0vs:
                        _-8Q.ty = (((k._-394 < 0)) ? _arg1.height : (_arg1.height - k));
                        break;
                };
                _-3-Y.bitmapData = k;
                k = (((_arg1.color & 0xFF0000) >> 16) / 0xFF);
                k = (((_arg1.color & 0xFF00) >> 8) / 0xFF);
                k = ((_arg1.color & 0xFF) / 0xFF);
                _-0fB.alphaMultiplier = (((k.etchingColor >> 24) & 0xFF) / 0xFF);
                _-0fB.redOffset = ((k.etchingColor >> 16) & 0xFF);
                _-0fB.greenOffset = ((k.etchingColor >> 8) & 0xFF);
                _-0fB.blueOffset = (k.etchingColor & 0xFF);
                _arg2.lock();
                if (k.greyscale)
                {
                    _-4kU.matrix = [(k * _-4LG), (k * _-3qC), (k * _-19H), 0, 0, (k * _-4LG), (k * _-3qC), (k * _-19H), 0, 0, (k * _-4LG), (k * _-3qC), (k * _-19H), 0, 0, 0, 0, 0, 1, 0];
                    if (_-0fB.alphaMultiplier >= 0.001)
                    {
                        _-8Q.ty = (_-8Q.ty + 1);
                        _arg2.draw(k, _-8Q, _-0fB, null, null, false);
                        _-8Q.ty = (_-8Q.ty - 1);
                    };
                    _arg2.draw(k, _-8Q, null, null, null, false);
                    _arg2.applyFilter(_arg2, _arg2.rect, new Point(), _-4kU);
                }
                else
                {
                    _-tp.redMultiplier = k;
                    _-tp.greenMultiplier = k;
                    _-tp.blueMultiplier = k;
                    if (_-0fB.alphaMultiplier >= 0.001)
                    {
                        _-8Q.ty = (_-8Q.ty + 1);
                        _arg2.draw(k, _-8Q, _-0fB, null, null, false);
                        _-8Q.ty = (_-8Q.ty - 1);
                    };
                    _arg2.draw(k, _-8Q, _-tp, null, null, false);
                };
                _arg2.unlock();
                _-3-Y.bitmapData = null;
            };
        }

    }
}//package _-4b0

//------------------------------------------------------------
//_-4b0.BitmapSkinRendererPatch

package _-4b0
{
    import _-2eC.BitmapSkinRenderer;
    import flash.display.Bitmap;
    import _-2eC._-3cR;
    import _-2eC.ISkinTemplateEntity;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.geom.Rectangle;
    import _-2eC.ISkinLayout;
    import _-2eC.ISkinTemplate;
    import _-09j.WindowState;
    import _-Ew.IWindow;
    import _-2eC.*;

    public class BitmapSkinRendererPatch extends BitmapSkinRenderer implements ISkinRenderer 
    {

        protected static const _-3-Y:Bitmap = new Bitmap();

        public function BitmapSkinRendererPatch(_arg1:String)
        {
            super(_arg1);
        }
        override public function draw(_arg1:IWindow, _arg2:BitmapData, _arg3:Rectangle, _arg4:uint, _arg5:Boolean):void
        {
            var k:uint;
            var k:_-3cR;
            var k:ISkinTemplateEntity;
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:uint;
            var k:BitmapData;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Point;
            var k:Rectangle;
            var k:Rectangle;
            var k:uint;
            var k:int;
            var _local29:BitmapData;
            var k:ISkinLayout = _-gI[_arg4];
            var k:ISkinTemplate = _-Rb[_arg4];
            if (k == null)
            {
                _-Nb.log(("LAYOUT NULL " + _arg4));
                k = _-gI[WindowState._-50M];
                k = _-Rb[WindowState._-50M];
            };
            k = k.numChildren;
            if (((!((k == null))) && ((k > 0))))
            {
                k = (_arg3.width - k.width);
                k = (_arg3.height - k.height);
                k = ((!(_arg1.background)) && (((_arg1.color & 0xFFFFFF) < 0xFFFFFF)));
                if (k)
                {
                    _-1Cw.redMultiplier = (((_arg1.color & 0xFF0000) >> 16) / 0xFF);
                    _-1Cw.greenMultiplier = (((_arg1.color & 0xFF00) >> 8) / 0xFF);
                    _-1Cw.blueMultiplier = ((_arg1.color & 0xFF) / 0xFF);
                    _-1Cw.alphaMultiplier = 1;
                };
                k = 0;
                while (k < k)
                {
                    k = (k.getChildAt(k) as _-3cR);
                    k = (k.getChildByName(k.name) as ISkinTemplateEntity);
                    if (k != null)
                    {
                        k = _-ws(k, k.name);
                        if (((k) && (k.colorize)))
                        {
                            k = k.clone();
                            k.colorTransform(k.rect, _-1Cw);
                        };
                        k = false;
                        k = false;
                        _-506.x = (k.region.x + _arg3.x);
                        _-506.y = (k.region.y + _arg3.y);
                        _-506.width = k.region.width;
                        _-506.height = k.region.height;
                        if (k._-tT == _-3cR._-3lH)
                        {
                            _-506.x = (_-506.x + k);
                        }
                        else
                        {
                            if (k._-tT == _-3cR._-0C1)
                            {
                                k = true;
                                _-506.right = (_-506.right + k);
                                if (_-506.width < 1) break;
                            }
                            else
                            {
                                if (k._-tT == _-3cR._-03c)
                                {
                                    k = true;
                                    _-506.right = (_-506.right + k);
                                    if (_-506.width < 1) break;
                                }
                                else
                                {
                                    if (k._-tT == _-3cR._-2tM)
                                    {
                                        _-506.x = ((_arg3.width / 2) - (_-506.width / 2));
                                    };
                                };
                            };
                        };
                        if (k._-wb == _-3cR._-3lH)
                        {
                            _-506.y = (_-506.y + k);
                        }
                        else
                        {
                            if (k._-wb == _-3cR._-0C1)
                            {
                                k = true;
                                _-506.bottom = (_-506.bottom + k);
                                if (_-506.height < 1) break;
                            }
                            else
                            {
                                if (k._-wb == _-3cR._-03c)
                                {
                                    k = true;
                                    _-506.bottom = (_-506.bottom + k);
                                    if (_-506.height < 1) break;
                                }
                                else
                                {
                                    if (k._-wb == _-3cR._-2tM)
                                    {
                                        _-506.y = ((_arg3.height / 2) - (_-506.height / 2));
                                    };
                                };
                            };
                        };
                        if (((!(k)) && (!(k))))
                        {
                            _arg2.copyPixels(k, k.rect, _-506.topLeft, null, null, true);
                        }
                        else
                        {
                            if ((((k._-wb == _-3cR._-03c)) || ((k._-tT == _-3cR._-03c))))
                            {
                                k = k.width;
                                k = k.height;
                                k = (_-506.width / k);
                                k = (_-506.height / k);
                                k = (_-506.width % k);
                                k = (_-506.height % k);
                                k = new Point(_-506.x, _-506.y);
                                k = new Rectangle(0, 0, k, k.height);
                                k = new Rectangle(0, 0, k.width, k);
                                k = 0;
                                while (k < k)
                                {
                                    k.x = _-506.x;
                                    k = 0;
                                    while (k < k)
                                    {
                                        _arg2.copyPixels(k, k.rect, k, null, null, true);
                                        k.x = (k.x + k);
                                        k++;
                                    };
                                    if (k > 0)
                                    {
                                        _arg2.copyPixels(k, k, k, null, null, true);
                                    };
                                    k.y = (k.y + k);
                                    k++;
                                };
                                if (k > 0)
                                {
                                    k.x = _-506.x;
                                    k = 0;
                                    while (k < k)
                                    {
                                        _arg2.copyPixels(k, k, k, null, null, true);
                                        k.x = (k.x + k);
                                        k++;
                                    };
                                };
                            }
                            else
                            {
                                if ((((k.width == 1)) && ((k.height == 1))))
                                {
                                    _-Du.a = _-506.width;
                                    _-Du.d = _-506.height;
                                    _-Du.tx = _-506.x;
                                    _-Du.ty = _-506.y;
                                    _-3-Y.bitmapData = k;
                                    _arg2.draw(_-3-Y, _-Du);
                                    _-3-Y.bitmapData = null;
                                }
                                else
                                {
                                    _-Du.a = (_-506.width / k.width);
                                    _-Du.d = (_-506.height / k.height);
                                    _-Du.tx = 0;
                                    _-Du.ty = 0;
                                    _local29 = new BitmapData(_-506.width, _-506.height, true, 0);
                                    _-3-Y.bitmapData = k;
                                    _local29.draw(_-3-Y, _-Du);
                                    _-3-Y.bitmapData = null;
                                    _arg2.copyPixels(_local29, _local29.rect, _-506.topLeft, null, null, true);
                                    _local29.dispose();
                                };
                            };
                        };
                        if (((k) && (k.colorize)))
                        {
                            k.dispose();
                        };
                    };
                    k++;
                };
            };
        }

    }
}//package _-4b0

//------------------------------------------------------------
//_-4bd._-1yr

package _-4bd
{
    import _-0y0._-06R;

    public class _-1yr 
    {

        protected var _-0cX:_-06R;
        protected var _-ai:_-06R;

        public function _-1yr(_arg1:_-06R, _arg2:_-06R)
        {
            this._-0cX = _arg1;
            this._-ai = _arg2;
        }
        public function get loc():_-06R
        {
            return (this._-0cX);
        }
        public function get dir():_-06R
        {
            return (this._-ai);
        }

    }
}//package _-4bd

//------------------------------------------------------------
//_-4bo._-03W

package _-4bo
{
    import _-4Aj._-7V;
    import _-3GS._-3F8;
    import _-4Aj.*;

    public class _-03W extends _-7V implements _-0tL 
    {

        public function _-03W(_arg1:Function)
        {
            super(_arg1, _-3F8);
        }
        public function _-3-5():_-3F8
        {
            return ((_-515 as _-3F8));
        }

    }
}//package _-4bo

//------------------------------------------------------------
//_-4bo._-1j6

package _-4bo
{
    import _-4Aj._-7V;
    import _-3GS._-1Ft;
    import _-4Aj.*;

    public class _-1j6 extends _-7V implements _-0tL 
    {

        public function _-1j6(_arg1:Function)
        {
            super(_arg1, _-1Ft);
        }
        public function _-3-5():_-1Ft
        {
            return ((_-515 as _-1Ft));
        }

    }
}//package _-4bo

//------------------------------------------------------------
//_-4bo._-42P

package _-4bo
{
    import _-4Aj._-7V;
    import _-3GS.TalentLevelUpMessageParser;
    import _-4Aj.*;

    public class _-42P extends _-7V implements _-0tL 
    {

        public function _-42P(_arg1:Function)
        {
            super(_arg1, TalentLevelUpMessageParser);
        }
        public function _-3-5():TalentLevelUpMessageParser
        {
            return ((_-515 as TalentLevelUpMessageParser));
        }

    }
}//package _-4bo

//------------------------------------------------------------
//_-4Br._-3hN

package _-4Br
{
    import _-3Zp.HabboInventory;
    import _-295._-39L;
    import _-4pF._-3Ts;
    import _-293._-5-S;
    import _-3gx._-4BJ;
    import _-0ly._-2P9;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-2Nr.FurniModel;
    import _-2np._-1ZV;
    import _-2XB._-0qu;
    import _-2XB._-363;
    import _-0ly._-2G-;
    import _-2XB._-2KX;
    import _-2XB._-1Lm;
    import _-2XB._-0-N;
    import _-Ew.IWindowContainer;
    import _-3Zp.*;

    public class _-3hN implements _-4Yh 
    {

        private var _-513:HabboInventory;
        private var _assets:_-39L;
        private var _-U-:_-3Ts;
        private var _-0tK:_-5-S;
        private var _-0ud:_-4BJ;
        private var _disposed:Boolean = false;
        private var _-0F7:_-2P9;
        private var _-55c:Boolean;
        private var _-517:int;
        private var _-2fs:int;
        private var _-3ri:int;
        private var _-4jC:int;
        private var _-4xn:int;
        private var _-3GE:int;
        private var _-NA:int;
        private var _-3Ye:int;
        private var _-nK:int;
        private var _-Ke:_-Ub;
        private var _-4By:Boolean = false;

        public function _-3hN(_arg1:HabboInventory, _arg2:_-3Ts, _arg3:_-4BJ, _arg4:_-39L, _arg5:_-5-S, _arg6:_-0hg, _arg7:_-4uR)
        {
            this._-513 = _arg1;
            this._-0ud = _arg3;
            this._-U- = _arg2;
            this._assets = _arg4;
            this._-0tK = _arg5;
            this._-Ke = new _-Ub(this, this._-U-, this._assets, _arg5, _arg6, _arg7);
        }
        public function set _-12O(_arg1:Boolean):void
        {
            this._-55c = _arg1;
        }
        public function set commission(_arg1:int):void
        {
            this._-517 = _arg1;
        }
        public function set _-fv(_arg1:int):void
        {
            this._-2fs = _arg1;
        }
        public function set _-0eA(_arg1:int):void
        {
            this._-3ri = _arg1;
        }
        public function set _-1uP(_arg1:int):void
        {
            this._-4jC = _arg1;
        }
        public function set _-22W(_arg1:int):void
        {
            this._-4xn = _arg1;
        }
        public function set _-0oW(_arg1:int):void
        {
            this._-3GE = _arg1;
        }
        public function set _-0Px(_arg1:int):void
        {
            this._-NA = _arg1;
        }
        public function get _-12O():Boolean
        {
            return (this._-55c);
        }
        public function get commission():int
        {
            return (this._-517);
        }
        public function get _-fv():int
        {
            return (this._-2fs);
        }
        public function get _-0eA():int
        {
            return (this._-3ri);
        }
        public function get _-1uP():int
        {
            return (this._-4jC);
        }
        public function get _-22W():int
        {
            return (this._-4xn);
        }
        public function get _-0oW():int
        {
            return (this._-3GE);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this._-513 = null;
            this._-0ud = null;
            this._-U- = null;
            this._assets = null;
            this._-0tK = null;
        }
        public function _-ft():void
        {
            if (((((!((this._-513 == null))) && (!((this._-513._-4FQ == null))))) && (!((this._-0F7 == null)))))
            {
                this._-513._-4FQ._-1SQ(this._-0F7.id);
                this._-0F7 = null;
            };
        }
        public function _-0LK(_arg1:_-2P9):void
        {
            if (((!((this._-0F7 == null))) || ((_arg1 == null))))
            {
                return;
            };
            if (this._-513 == null)
            {
                return;
            };
            var k:FurniModel = this._-513._-4FQ;
            if (k == null)
            {
                return;
            };
            this._-0F7 = _arg1;
            k._-2qy(_arg1.id);
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k == null)
            {
                return;
            };
            k.send(new _-0qu());
        }
        public function _-2gG():void
        {
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k == null)
            {
                return;
            };
            k.send(new _-363());
            this._-4By = true;
        }
        public function _-1jN(_arg1:int):void
        {
            if (this._-0F7 == null)
            {
                return;
            };
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k == null)
            {
                return;
            };
            var k:int = (((this._-0F7 is _-2G-)) ? 1 : 2);
            k.send(new _-2KX(_arg1, k, this._-0F7.ref));
            this._-ft();
        }
        public function _-30-():void
        {
            if (this._-0F7 == null)
            {
                return;
            };
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k == null)
            {
                return;
            };
            var k:int = (((this._-0F7 is _-2G-)) ? 1 : 2);
            this._-3Ye = k;
            this._-nK = this._-0F7.type;
            k.send(new _-1Lm(k, this._-0F7.type));
        }
        public function _-44u(_arg1:int, _arg2:int):void
        {
            this._-4By = false;
            switch (_arg1)
            {
                case 1:
                    this._-Ke._-3iw(this._-0F7);
                    return;
                case 2:
                    this._-Ke._-1GS(("$" + "{inventory.marketplace.no_trading_privilege.title}"), ("$" + "{inventory.marketplace.no_trading_privilege.info}"));
                    return;
                case 3:
                    this._-Ke._-1GS(("$" + "{inventory.marketplace.no_trading_pass.title}"), ("$" + "{inventory.marketplace.no_trading_pass.info}"));
                    return;
                case 4:
                    this._-Ke._-3UV(this._-2fs, this._-3ri);
                    return;
            };
        }
        public function _-3eh(_arg1:int):void
        {
            if (!this._-Ke)
            {
                return;
            };
            this._-Ke._-437(_arg1);
        }
        public function _-2y2(_arg1:int, _arg2:int, _arg3:int):void
        {
            if (((!((_arg1 == this._-3Ye))) || (!((_arg2 == this._-nK)))))
            {
                return;
            };
            if (!this._-Ke)
            {
                return;
            };
            this._-Ke._-02J(_arg3, this._-NA);
        }
        public function _-AJ():void
        {
            if (this._-4By)
            {
                this._-4By = false;
                this._-ft();
            };
        }
        public function _-eq(_arg1:int=0):void
        {
            var k:_-1ZV = this._-0ud._-4gR(null);
            if (k == null)
            {
                return;
            };
            k.send(new _-0-N());
        }
        public function _-3PN():_-2P9
        {
            return (this._-0F7);
        }
        public function getWindowContainer():IWindowContainer
        {
            return (null);
        }
        public function _-52O(_arg1:String):void
        {
        }
        public function _-3NF(_arg1:String):void
        {
        }
        public function _-3mZ():void
        {
        }

    }
}//package _-4Br

//------------------------------------------------------------
//_-4Br._-Ub

package _-4Br
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-1ae.IFrameWindow;
    import _-293._-5-S;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-293._-2Gt;
    import _-1ae._-3Yi;
    import _-0Ix._-2Aa;
    import _-0Ix._-0nW;
    import _-1ae.ITextFieldWindow;
    import _-0ly._-2G-;
    import _-0y0._-Xl;
    import _-3cY._-1mk;
    import _-1ae.ITextWindow;
    import _-0ly._-2P9;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import flash.geom.Matrix;
    import _-0Ie.WindowEvent;
    import _-3Bn._-1xB;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-2ly._-11j;
    import _-1ae.IButtonWindow;
    import _-3Bn._-1Ii;
    import _-293.*;

    public class _-Ub implements dynamic 
    {

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-Ke:IFrameWindow;
        private var _-3n-:_-3hN;
        private var _-0tK:_-5-S;
        private var _-cU:_-0hg;
        private var _-0Xx:_-4uR;
        private var _disposed:Boolean = false;
        private var _-2ZN:int;
        private var _-1Fq:int;
        private var _-21U:String;

        public function _-Ub(_arg1:_-3hN, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-5-S, _arg5:_-0hg, _arg6:_-4uR)
        {
            this._-3n- = _arg1;
            this._-AV = _arg3;
            this._-U- = _arg2;
            this._-0tK = _arg4;
            this._-cU = _arg5;
            this._-0Xx = _arg6;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-3n- = null;
                this._-AV = null;
                this._-U- = null;
                this._-0tK = null;
                this._-cU = null;
                this._-0Xx = null;
                this._-1OD();
                this._disposed = true;
            };
        }
        private function _-1OD():void
        {
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function _-3UV(_arg1:int, _arg2:int):void
        {
            if (this._-cU)
            {
                this._-cU.registerParameter("inventory.marketplace.buy_tokens.info", "price", _arg1.toString());
                this._-cU.registerParameter("inventory.marketplace.buy_tokens.info", "count", _arg2.toString());
                this._-cU.registerParameter("inventory.marketplace.buy_tokens.info", "free", (_arg2 - 1).toString());
                this._-cU.registerParameter("inventory.marketplace.buy_tokens.buy", "price", _arg1.toString());
            };
            this._-Ke = (this.createWindow("buy_marketplace_tokens_xml") as IFrameWindow);
            if (this._-Ke == null)
            {
                return;
            };
            this._-Ke.procedure = this._-0Cq;
            this._-Ke.center();
        }
        public function _-3iw(_arg1:_-2P9):void
        {
            var k:_-2Gt;
            var k:String;
            var k:String;
            var k:_-3Yi;
            var k:_-2Aa;
            var k:_-3Yi;
            var k:_-0nW;
            if (((((((!(_arg1)) || (!(this._-cU)))) || (!(this._-0tK)))) || (!(this._-3n-))))
            {
                return;
            };
            this._-Ke = (this.createWindow("make_marketplace_offer_xml") as IFrameWindow);
            if (!this._-Ke)
            {
                return;
            };
            var k:ITextFieldWindow = (this._-Ke.findChildByName("price_input") as ITextFieldWindow);
            if (k != null)
            {
                k.restrict = "0-9";
            };
            this._-3hH();
            this._-cU.registerParameter("inventory.marketplace.make_offer.expiration_info", "time", this._-3n-._-0oW.toString());
            this._-cU.registerParameter("inventory.marketplace.make_offer.min_price", "minprice", this._-3n-._-1uP.toString());
            this._-cU.registerParameter("inventory.marketplace.make_offer.max_price", "maxprice", this._-3n-._-22W.toString());
            var k:uint = 4293848814;
            if ((_arg1 is _-2G-))
            {
                k = this._-0tK.getFurnitureImage(_arg1.type, new _-Xl(180, 0, 0), 32, this, k, String(_arg1._-33C));
            }
            else
            {
                k = this._-0tK.getWallItemImage(_arg1.type, new _-Xl(180, 0, 0), 32, this, k, _arg1._-vM.getLegacyString());
            };
            if (!k)
            {
                return;
            };
            this._-2ZN = k.id;
            this._-2iF(k.data);
            if ((_arg1 is _-2G-))
            {
                k = ("roomItem.name." + _arg1.type);
                k = ("roomItem.desc." + _arg1.type);
            }
            else
            {
                k = ("wallItem.name." + _arg1.type);
                k = ("wallItem.desc." + _arg1.type);
            };
            if (_arg1.category == _-1mk._-2lg)
            {
                k = (("poster_" + _arg1._-vM.getLegacyString()) + "_name");
                k = (("poster_" + _arg1._-vM.getLegacyString()) + "_desc");
            };
            this._-21U = this._-cU.getKey(k);
            this._-0Ab("furni_name", ((("$" + "{") + k) + "}"));
            this._-0Ab("furni_desc", ((("$" + "{") + k) + "}"));
            this._-Ke.procedure = this._-0Cq;
            this._-Ke.center();
            var k:ITextWindow = (this._-Ke.findChildByName("average_price") as ITextWindow);
            if (k)
            {
                k.visible = false;
            };
            if (this._-0Xx.getBoolean("unique.limited.items.enabled", false))
            {
                if (((!((_arg1._-vM == null))) && ((_arg1._-vM.uniqueSerialNumber > 0))))
                {
                    k = _-3Yi(this._-Ke.findChildByName("unique_item_overlay_widget"));
                    k.visible = true;
                    k = _-2Aa(k.widget);
                    k._-2GS = _arg1._-vM.uniqueSerialNumber;
                    k._-0O1 = _arg1._-vM._-2dO;
                };
            };
            if (((!((_arg1._-vM == null))) && ((_arg1._-vM.rarityLevel >= 0))))
            {
                k = _-3Yi(this._-Ke.findChildByName("rarity_item_overlay_widget"));
                k.visible = true;
                k = _-0nW(k.widget);
                k.rarityLevel = _arg1._-vM.rarityLevel;
            };
            this._-3n-._-30-();
        }
        private function _-2iF(_arg1:BitmapData):void
        {
            if ((((_arg1 == null)) || ((this._-Ke == null))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("furni_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0);
            var k:int = ((k.width - _arg1.width) * 0.5);
            var k:int = ((k.height - _arg1.height) * 0.5);
            k.draw(_arg1, new Matrix(1, 0, 0, 1, k, k));
            k.bitmap = k;
        }
        private function _-0Ab(_arg1:String, _arg2:String):void
        {
            if (this._-Ke == null)
            {
                return;
            };
            var k:ITextWindow = (this._-Ke.findChildByName(_arg1) as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg2;
        }
        public function _-3Ep(_arg1:int):void
        {
            if (this._-cU)
            {
                this._-cU.registerParameter("inventory.marketplace.no_credits.info", "price", _arg1.toString());
            };
            this._-Ke = (this.createWindow("marketplace_no_credits_xml") as IFrameWindow);
            if (this._-Ke == null)
            {
                return;
            };
            this._-Ke.procedure = this._-0Cq;
            this._-Ke.center();
        }
        private function _-53A():void
        {
            this._-cU.registerParameter("inventory.marketplace.confirm_offer.info", "furniname", this._-21U);
            this._-cU.registerParameter("inventory.marketplace.confirm_offer.info", "price", this._-1Fq.toString());
            var k:String = ("$" + "{inventory.marketplace.confirm_offer.title}");
            var k:String = ("$" + "{inventory.marketplace.confirm_offer.info}");
            this._-U-.confirm(k, k, 0, this._-zf);
        }
        private function _-zf(_arg1:_-1xB, _arg2:WindowEvent):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            _arg1.dispose();
            if (this._-3n- == null)
            {
                return;
            };
            if (_arg2.type == WindowEvent._-0-9)
            {
                this._-3n-._-1jN(this._-1Fq);
            };
            this._-3n-._-ft();
        }
        private function createWindow(_arg1:String):IWindow
        {
            if ((((this._-AV == null)) || ((this._-U- == null))))
            {
                return (null);
            };
            var k:_-243 = (this._-AV.getAssetByName(_arg1) as _-243);
            if (k == null)
            {
                return (null);
            };
            return (this._-U-.buildFromXML((k.content as XML)));
        }
        private function _-0Cq(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var _local3:ITextFieldWindow;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "buy_tokens_button":
                        this._-3n-._-2gG();
                        this._-1OD();
                        break;
                    case "cancel_buy_tokens_button":
                    case "cancel_make_offer_button":
                    case "cancel_no_credits_button":
                    case "header_button_close":
                        this._-3n-._-ft();
                        this._-1OD();
                        break;
                    case "make_offer_button":
                        _local3 = (this._-Ke.findChildByName("price_input") as ITextFieldWindow);
                        if (_local3 != null)
                        {
                            this._-1Fq = parseInt(_local3.text);
                            this._-53A();
                        };
                        this._-1OD();
                        break;
                    case "get_credits_button":
                        this._-3n-._-ft();
                        this._-Hg();
                        this._-1OD();
                        break;
                };
            };
            if (_arg1.type == WindowEvent._-0cZ)
            {
                if (_arg2.name == "price_input")
                {
                    this._-3hH();
                };
            };
        }
        private function _-Hg():void
        {
            var _local1:String;
            if ("true" == this._-0Xx.getKey("client.credits.embed.enabled"))
            {
                _-11j._-25R("credits");
            }
            else
            {
                _local1 = this._-0Xx.getKey("link.format.credits");
                if (_local1 != "")
                {
                    this._-U-.alert("${catalog.alert.external.link.title}", "${catalog.alert.external.link.desc}", 0, this._-uy);
                    _-11j.navigateToURL(_local1, "habboMain");
                };
            };
        }
        private function _-3hH():void
        {
            if (this._-Ke == null)
            {
                return;
            };
            var k:ITextFieldWindow = (this._-Ke.findChildByName("price_input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            var k:int = parseInt(k.text);
            if (k > this._-3n-._-22W)
            {
                k.text = this._-3n-._-22W.toString();
                k = this._-3n-._-22W;
            };
            var k:int = Math.max(Math.ceil(((this._-3n-.commission * 0.01) * k)), 1);
            var k:int = (k + k);
            var k:IButtonWindow = (this._-Ke.findChildByName("make_offer_button") as IButtonWindow);
            var k:ITextWindow = (this._-Ke.findChildByName("final_price") as ITextWindow);
            if ((((k == null)) || ((k == null))))
            {
                return;
            };
            this._-cU.registerParameter("inventory.marketplace.make_offer.final_price", "commission", k.toString());
            this._-cU.registerParameter("inventory.marketplace.make_offer.final_price", "finalprice", k.toString());
            if (k < this._-3n-._-1uP)
            {
                k.text = ("$" + "{inventory.marketplace.make_offer.min_price}");
                k.disable();
            }
            else
            {
                k.text = ("$" + "{inventory.marketplace.make_offer.final_price}");
                k.enable();
            };
        }
        public function _-437(_arg1:int):void
        {
            var k:String;
            if (_arg1 == 1)
            {
                k = ("$" + "{inventory.marketplace.result.title.success}");
            }
            else
            {
                k = ("$" + "{inventory.marketplace.result.title.failure}");
            };
            var k = ((("$" + "{inventory.marketplace.result.") + _arg1) + "}");
            this._-U-.alert(k, k, 0, this._-uy);
        }
        private function _-uy(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-3n-._-ft();
            _arg1.dispose();
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (this._-2ZN == _arg1)
            {
                this._-2iF(_arg2);
            };
        }
        public function _-1GS(_arg1:String, _arg2:String):void
        {
            this._-U-.alert(_arg1, _arg2, 0, this._-uy);
        }
        public function _-02J(_arg1:int, _arg2:int):void
        {
            if (((((!(this._-Ke)) || (!(this._-cU)))) || (!(this._-3n-))))
            {
                return;
            };
            var k:ITextWindow = (this._-Ke.findChildByName("average_price") as ITextWindow);
            if (!k)
            {
                return;
            };
            var k:int = Math.floor((_arg1 / (1 + (this._-3n-.commission * 0.01))));
            this._-cU.registerParameter("inventory.marketplace.make_offer.average_price", "days", _arg2.toString());
            var k:String = (((_arg1 == 0)) ? " - " : _arg1.toString());
            this._-cU.registerParameter("inventory.marketplace.make_offer.average_price", "price", k);
            var k:String = (((k == 0)) ? " - " : k.toString());
            this._-cU.registerParameter("inventory.marketplace.make_offer.average_price", "price_no_commission", k);
            k.visible = true;
        }

    }
}//package _-4Br

//------------------------------------------------------------
//_-4bZ._-4gE

package _-4bZ
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4gE implements _-58N 
    {

        private var _-1RF:int;
        private var _-2ZF:int;
        private var _-0qE:String;

        public function get _-5F3():int
        {
            return (this._-1RF);
        }
        public function get _-2DH():int
        {
            return (this._-2ZF);
        }
        public function get data():String
        {
            return (this._-0qE);
        }
        public function flush():Boolean
        {
            this._-1RF = -1;
            this._-2ZF = -1;
            this._-0qE = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1RF = _arg1._-2BW();
            this._-2ZF = _arg1._-2BW();
            this._-0qE = _arg1.readString();
            return (true);
        }

    }
}//package _-4bZ

//------------------------------------------------------------
//_-4bZ._-sN

package _-4bZ
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-sN implements _-58N 
    {

        private var _-b2:int;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-b2 = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-b2 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-4bZ

//------------------------------------------------------------
//_-4c._-117

package _-4c
{
    public class _-117 
    {

        public static const _-xx:int = 0;
        public static const _-FS:int = 1;
        public static const _-3Ra:int = 2;
        public static const _-0LO:int = 3;
        public static const _-j0:Array = new Array(2134301, 12439506, 0x999999, 0x999999);

    }
}//package _-4c

//------------------------------------------------------------
//_-4c._-4MP

package _-4c
{
    import flash.geom.Point;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-295._-39L;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-4MP 
    {

        public static const _-31C:int = 0;
        public static const _-2mq:int = 1;
        public static const _-37E:int = 0;
        public static const _-2b6:int = 1;
        public static const _-0HV:int = 2;
        private static const _-1fw:Point = new Point(1, 1);

        private var _-0xv:IBitmapWrapperWindow;
        private var _-1Ox:Function;
        private var _-0Ke:int = 0;
        private var _-3ou:Boolean = false;
        private var _-2-X:Point;
        private var _-3-d:BitmapData;
        private var _-57Z:BitmapData;
        private var _-NB:BitmapData;

        public function _-4MP(_arg1:_-39L, _arg2:IBitmapWrapperWindow, _arg3:int, _arg4:Function)
        {
            this._-0xv = _arg2;
            this._-0xv.procedure = this.procedure;
            this._-1Ox = _arg4;
            switch (_arg3)
            {
                case _-31C:
                    this._-57Z = BitmapData(_arg1.getAssetByName("arrow_back_active").content).clone();
                    this._-3-d = BitmapData(_arg1.getAssetByName("arrow_back_inactive").content).clone();
                    this._-NB = BitmapData(_arg1.getAssetByName("arrow_back_hilite").content).clone();
                    break;
                case _-2mq:
                    this._-57Z = BitmapData(_arg1.getAssetByName("arrow_next_active").content).clone();
                    this._-3-d = BitmapData(_arg1.getAssetByName("arrow_next_inactive").content).clone();
                    this._-NB = BitmapData(_arg1.getAssetByName("arrow_next_hilite").content).clone();
                    break;
            };
            this._-2-X = new Point(this._-0xv.x, this._-0xv.y);
            this.updateWindow();
        }
        public function dispose():void
        {
            this._-57Z = null;
            this._-NB = null;
            this._-3-d = null;
            this._-0xv.procedure = null;
            this._-0xv = null;
            this._-1Ox = null;
        }
        public function activate():void
        {
            if (((!((this._-0Ke == _-2b6))) && (!((this._-0Ke == _-0HV)))))
            {
                this._-0Ke = _-2b6;
            };
            this.updateWindow();
        }
        public function deactivate():void
        {
            this._-0Ke = _-37E;
            this.updateWindow();
        }
        public function _-4Xv():Boolean
        {
            return ((this._-0Ke == _-37E));
        }
        private function updateWindow():void
        {
            switch (this._-0Ke)
            {
                case _-37E:
                    this._-0xv.bitmap = this._-3-d;
                    break;
                case _-0HV:
                    this._-0xv.bitmap = this._-NB;
                    break;
                case _-2b6:
                    this._-0xv.bitmap = this._-57Z;
                    break;
            };
            if (this._-3ou)
            {
                this._-0xv.x = (this._-2-X.x + _-1fw.x);
                this._-0xv.y = (this._-2-X.y + _-1fw.y);
            }
            else
            {
                this._-0xv.position = this._-2-X;
            };
        }
        private function procedure(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((_arg1 as WindowMouseEvent) != null)
            {
                switch (_arg1.type)
                {
                    case WindowMouseEvent._-4ea:
                        if (this._-0Ke != _-37E)
                        {
                            this._-0Ke = _-0HV;
                        };
                        break;
                    case WindowMouseEvent._-4e2:
                        if (this._-0Ke != _-37E)
                        {
                            this._-0Ke = _-2b6;
                        };
                        break;
                    case WindowMouseEvent._-3Jy:
                        this._-3ou = true;
                        break;
                    case WindowMouseEvent._-02B:
                    case WindowMouseEvent._-2uJ:
                        this._-3ou = false;
                        break;
                };
                this.updateWindow();
                this._-1Ox(_arg1, _arg2);
            };
        }

    }
}//package _-4c

//------------------------------------------------------------
//_-4c._-BW

package _-4c
{
    import _-2tv.HabboQuestEngine;
    import _-1ae.IFrameWindow;
    import _-2ly._-F-;
    import _-02T._-YF;
    import _-U2._-1Yl;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-BW implements _-1zZ 
    {

        private var _-2EK:HabboQuestEngine;
        private var _-0xv:IFrameWindow;
        private var _-0qW:_-F-;
        private var _-18w:Calendar;
        private var _-4fY:CatalogPromo;
        private var _-0DG:RareTeaser;
        private var _-0yY:int;

        public function _-BW(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
            this._-18w = new Calendar(this._-2EK, this);
            this._-4fY = new CatalogPromo(this._-2EK, this);
            this._-0DG = new RareTeaser(this._-2EK);
        }
        public function dispose():void
        {
            this._-2EK = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-0qW)
            {
                this._-0qW.dispose();
                this._-0qW = null;
            };
            if (this._-18w)
            {
                this._-18w.close();
                this._-18w.dispose();
                this._-18w = null;
            };
            if (this._-4fY)
            {
                this._-4fY.dispose();
                this._-4fY = null;
            };
            if (this._-0DG)
            {
                this._-0DG.dispose();
                this._-0DG = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function _-0m7():Boolean
        {
            return (((this._-0xv) && (this._-0xv.visible)));
        }
        public function close():void
        {
            if (this._-18w)
            {
                this._-18w.close();
            };
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        public function _-5m():void
        {
            this.close();
        }
        public function _-2J3():void
        {
            if (!this._-0xv)
            {
                this._-0VC();
                return;
            };
            if (((!(this._-0qW)) || (this._-0qW.disposed)))
            {
                this._-0qW = new _-F-(this._-0xv, this._-0xv.desktop, this._-0VC, this.close);
            };
            this._-0qW._-4NB();
        }
        public function _-1Ua():String
        {
            var k:String = this._-2EK._-4vA();
            return (((this._-2EK.configuration.getKey("image.library.url", "") + k) + "_quest_calendar/"));
        }
        public function _-0VC():void
        {
            this._-2EK.send(new _-YF());
        }
        public function _-2mI(_arg1:Array, _arg2:Boolean):void
        {
            if (((!(this._-0m7())) && (!(_arg2))))
            {
                return;
            };
            this._-0yY = this._-3ke(_arg1);
            this._-18w._-2mI(_arg1);
            this.refresh();
            this._-0xv.visible = true;
            this._-0xv.activate();
        }
        public function _-1v4(_arg1:int, _arg2:int):void
        {
            this._-4fY._-1v4(_arg1, _arg2);
        }
        private function _-3ke(_arg1:Array):int
        {
            var k:_-1Yl;
            var k:int;
            for each (k in _arg1)
            {
                if (this._-2EK._-4Nk(k))
                {
                    k = Math.max(k, k.sortOrder);
                };
            };
            return (k);
        }
        private function refresh():void
        {
            this._-eN();
            this._-18w.refresh();
            this._-4fY.refresh();
            this._-0DG.refresh();
            this._-0xv.findChildByName("more_quests_region").procedure = this._-ro;
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-2EK.getXmlWindow("SeasonalCalendar"));
            var k = (("quests." + this._-2EK._-4vA()) + ".title");
            this._-0xv.caption = this._-2EK.localization.getKey(k, k);
            this._-0xv.findChildByTag("close").procedure = this._-lf;
            this._-18w.prepare(this._-0xv);
            this._-4fY.prepare(this._-0xv);
            this._-0DG.prepare(this._-0xv);
            this._-0xv.center();
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
            };
        }
        private function _-ro(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2EK._-2AC._-3nr = false;
                this._-2EK._-2AC._-4bm._-2J3();
                this.close();
            };
        }
        public function get _-A0():int
        {
            return (this._-0yY);
        }
        public function get _-Eo():CatalogPromo
        {
            return (this._-4fY);
        }

    }
}//package _-4c

//------------------------------------------------------------
//_-4c.Calendar

package _-4c
{
    import _-2tv.HabboQuestEngine;
    import __AS3__.vec.Vector;
    import flash.display.BitmapData;
    import _-18r.Map;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import flash.utils.Timer;
    import _-U2._-1Yl;
    import _-295._-2kE;
    import flash.events.TimerEvent;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindow;
    import _-1ae.IBorderWindow;
    import _-1ae.ITextWindow;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import mx.utils.ColorUtil;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class Calendar implements _-1zZ, _-0gI 
    {

        private static const _-3AH:String = "_background_";
        private static const _-465:String = "entity_";
        private static const _-2oJ:String = "_day";
        private static const _-1PB:String = "_uncomplete";
        private static const _-2Hl:String = "_completed";
        private static const _-3Rj:int = 2;
        private static const _-2Q1:int = 3;
        private static const _-uH:int = 80;
        private static const _-xl:int = 37;
        private static const _-lj:int = 7;
        private static const _-1Kn:int = 2000;
        private static const _-3xN:int = 100;

        private var _-2EK:HabboQuestEngine;
        private var _-362:_-BW;
        private var _-0vv:Array;
        private var _-16y:Vector.<BitmapData>;
        private var _-4aw:Vector.<BitmapData>;
        private var _-1p-:Map;
        private var _-4W6:Array;
        private var _-4dn:String;
        private var _-0Cs:CalendarBackgroundRenderer;
        private var _-2AH:Vector.<IWindowContainer>;
        private var _-cE:Array;
        private var _-3KN:_-4MP;
        private var _-41w:_-4MP;
        private var _-257:IWindowContainer;
        private var _-2iL:IWindowContainer;
        private var _-1lC:IBitmapWrapperWindow;
        private var _-eV:int = -1;
        private var _-32q:int = -1;
        private var _-0Fj:int = -1;
        private var _-3qg:int = 42;
        private var _-0zl:Timer;
        private var _-2ye:int = 0;
        private var _-40T:int = 0;
        private var _-0bY:int = 0;
        private var _-2-V:int = -1;
        private var _-22R:int;
        private var _-4pR:int = -1;
        private var _-OV:Boolean = false;
        private var _-0jM:Boolean = false;
        private var _-3Qg:Timer;
        private var _-52e:int = -1;

        public function Calendar(_arg1:HabboQuestEngine, _arg2:_-BW)
        {
            this._-2EK = _arg1;
            this._-362 = _arg2;
        }
        private function _-0as():String
        {
            return (this._-4dn);
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                this._-2EK.removeUpdateReceiver(this);
                this._-G9();
                if (this._-0Cs != null)
                {
                    this._-0Cs.dispose();
                    this._-0Cs = null;
                };
                if (this._-3KN != null)
                {
                    this._-3KN.dispose();
                    this._-3KN = null;
                };
                if (this._-41w != null)
                {
                    this._-41w.dispose();
                    this._-41w = null;
                };
                if (this._-0zl != null)
                {
                    this._-0zl.stop();
                    this._-0zl = null;
                };
                if (this._-3Qg != null)
                {
                    this._-3Qg.stop();
                    this._-3Qg = null;
                };
                this._-16y = null;
                this._-4aw = null;
                this._-cE = null;
                this._-1p- = null;
                this._-4W6 = null;
                this._-2EK = null;
            };
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function _-2mI(_arg1:Array):void
        {
            var k:int = this._-32q;
            this._-0vv = [];
            this._-0Fj = 0;
            var k:_-1Yl;
            for each (k in _arg1)
            {
                if (this._-2EK._-4Nk(k))
                {
                    this._-0vv.push(k);
                    if (this._-0Fj < (k.sortOrder - 1))
                    {
                        this._-0Fj = (k.sortOrder - 1);
                    };
                };
            };
            this._-0vv.sortOn(["sortOrder"]);
            this._-3qg = int(this._-2EK.configuration.getKey("seasonalQuestCalendar.maximum.entities", "42"));
            this._-32q = Math.min(this._-3qg, ((this._-0Fj + 1) + _-3Rj));
            if (((!((k == -1))) && ((this._-32q > k))))
            {
                this._-4XY();
            };
        }
        public function prepare(_arg1:IFrameWindow):void
        {
            var k:IBitmapWrapperWindow;
            this._-4dn = this._-362._-1Ua();
            this._-257 = IWindowContainer(_arg1.findChildByName("calendar_cont"));
            this._-1lC = IBitmapWrapperWindow(_arg1.findChildByName("background_slice"));
            this._-2iL = IWindowContainer(_arg1.findChildByName("entity_template"));
            this._-2iL.visible = false;
            this._-0Cs = new CalendarBackgroundRenderer();
            this._-3KN = new _-4MP(this._-2EK.assets, IBitmapWrapperWindow(_arg1.findChildByName("button_left")), _-4MP._-31C, this._-4XZ);
            this._-41w = new _-4MP(this._-2EK.assets, IBitmapWrapperWindow(_arg1.findChildByName("button_right")), _-4MP._-2mq, this._-4XZ);
            k = IBitmapWrapperWindow(_arg1.findChildByName("stripe_mask_left"));
            k.bitmap = BitmapData(_-2kE(this._-2EK.assets.getAssetByName("stripe_mask_L")).content);
            k = IBitmapWrapperWindow(_arg1.findChildByName("stripe_mask_right"));
            k.bitmap = BitmapData(_-2kE(this._-2EK.assets.getAssetByName("stripe_mask_R")).content);
            if (this._-eV == -1)
            {
                this._-3IB(this._-362._-A0);
            };
            this._-4XY();
            this._-3Qg = new Timer((1000 * 60));
            this._-3Qg.addEventListener(TimerEvent.TIMER, this._-0iL);
            this._-3Qg.start();
            this._-0iL(new TimerEvent(TimerEvent.TIMER));
            this._-2EK.registerUpdateReceiver(this, 1);
            this._-0zl = new Timer(10, 10);
        }
        public function close():void
        {
            this._-G9();
            if (this._-0Cs != null)
            {
                this._-0Cs._-3jV(new Vector.<BitmapData>());
            };
        }
        public function refresh():void
        {
            var k:_-1Yl;
            var k:int;
            var k:int;
            for each (k in this._-0vv)
            {
                k = (k.sortOrder - 1);
                k = ((k._-H1) ? _-117._-3Ra : this._-cE[k]);
                if (k != this._-cE[k])
                {
                    this._-2T2(k.sortOrder, k);
                    this._-4Tq(k, false);
                    if ((((k == _-117._-3Ra)) && ((this._-2-V == k))))
                    {
                        this._-0XT();
                    };
                };
            };
            this._-1an();
            this._-zB();
        }
        public function _-3IB(_arg1:int):void
        {
            this._-57a(Math.max(0, Math.min((_arg1 - _-2Q1), this._-1X0)));
        }
        private function _-4XY():void
        {
            var k:_-1Yl;
            var k:int;
            var k:Boolean;
            var k:int;
            var k:int = (Math.ceil((this._-32q / _-lj)) + 1);
            this._-4W6 = new Array(k);
            this._-16y = new Vector.<BitmapData>(k);
            this._-4aw = new Vector.<BitmapData>(this._-32q);
            this._-cE = new Array(this._-32q);
            var k:Vector.<BitmapData> = new Vector.<BitmapData>();
            var k:int;
            while (k < k)
            {
                k.push(new BitmapData(640, 320, false, 0xFFFFFF));
                k++;
            };
            this._-0Cs._-3jV(k);
            var k:int = this._-1lY;
            while (k <= this._-148)
            {
                this._-3cJ(k);
                k++;
            };
            this._-1p- = new Map();
            for each (k in this._-0vv)
            {
                if (k.sortOrder <= this._-3qg)
                {
                    k = ((k._-H1) ? _-117._-3Ra : _-117._-xx);
                    k = ((((k.sortOrder - 1) >= this._-3Ni)) && (((k.sortOrder - 1) <= this._-189)));
                    this._-2T2(k.sortOrder, k, !(k));
                };
            };
            if (this._-0vv.length < this._-32q)
            {
                k = (this._-0Fj + 1);
                while (k < this._-32q)
                {
                    this._-2T2((k + 1), _-117._-FS, (k > this._-189));
                    k++;
                };
            };
            var k:int;
            while (k < this._-32q)
            {
                if (this._-cE[k] == null)
                {
                    this._-2T2((k + 1), _-117._-0LO, (((k < this._-3Ni)) || ((k > this._-189))));
                };
                k++;
            };
        }
        private function _-1an():void
        {
            var k:int;
            var k:BitmapData;
            if (!this._-1RB())
            {
                return;
            };
            var k:Array = new Array();
            var k:Vector.<BitmapData> = new Vector.<BitmapData>();
            var k:int;
            while (k < this._-16y.length)
            {
                k = this._-16y[k];
                if (k != null)
                {
                    k.push(k);
                }
                else
                {
                    k.push(new BitmapData(640, 320, false, 0xFFFFFF));
                    k.push(k);
                };
                k++;
            };
            this._-0Cs._-3jV(k);
            this._-Ff();
            for each (k in k)
            {
                this._-3cJ(k);
            };
        }
        private function _-G9():void
        {
            var k:IWindow;
            if (this._-2AH == null)
            {
                return;
            };
            for each (k in this._-2AH)
            {
                this._-257.removeChild(k);
                k.dispose();
            };
            this._-2AH = null;
        }
        private function _-zB():void
        {
            var k:BitmapData;
            var k:IWindow;
            var k:IWindow;
            var k:int;
            var k:IWindowContainer;
            var k:int;
            var k:IWindow;
            var k:IBitmapWrapperWindow;
            if (!this._-42q())
            {
                return;
            };
            this._-G9();
            if (this._-2AH == null)
            {
                this._-2AH = new Vector.<IWindowContainer>();
            };
            var k:Array = new Array();
            for each (k in this._-4aw)
            {
                k = IWindowContainer(this._-2iL.clone());
                k = this._-2AH.length;
                if (k != null)
                {
                    k = (k.findChildByName("entity_bitmap") as IBitmapWrapperWindow);
                    k.width = k.width;
                    k.height = k.height;
                    k.bitmap = k.clone();
                }
                else
                {
                    k.push(k);
                };
                k = k.findChildByName("entity_mouse_region");
                k.procedure = this._-1LH;
                if ((((((this._-cE[k] == _-117._-FS)) || ((this._-cE[k] == _-117._-3Ra)))) || ((this._-cE[k] == _-117._-0LO))))
                {
                    k.visible = false;
                };
                k.visible = true;
                this._-257.addChild(k);
                this._-2AH.push(k);
                this._-4Tq(k, false);
            };
            this._-0hw();
            this._-0PV();
            k = this._-257.findChildByName("stripe_mask_left");
            this._-257.setChildIndex(k, (this._-257.numChildren - 1));
            k = this._-257.findChildByName("stripe_mask_right");
            this._-257.setChildIndex(k, (this._-257.numChildren - 1));
            k = this._-257.findChildByName("button_left");
            this._-257.setChildIndex(k, (this._-257.numChildren - 1));
            k = this._-257.findChildByName("button_right");
            this._-257.setChildIndex(k, (this._-257.numChildren - 1));
            for each (k in k)
            {
                this._-2T2((k + 1), this._-cE[k]);
            };
            if (this._-cE[(this._-362._-A0 - 1)] == _-117._-xx)
            {
                this._-k((this._-362._-A0 - 1));
            };
        }
        private function get _-3Ni():int
        {
            var k:int = (this._-eV - 1);
            return ((((k < 0)) ? 0 : k));
        }
        private function get _-189():int
        {
            var k:int = ((this._-eV + _-lj) + 1);
            var k:int = (this._-32q - 1);
            return ((((k > k)) ? k : k));
        }
        private function _-42q():Boolean
        {
            if (this._-4aw == null)
            {
                return (false);
            };
            var k:int = this._-3Ni;
            while (k <= this._-189)
            {
                if (this._-4aw[k] == null)
                {
                    return (false);
                };
                k++;
            };
            return (true);
        }
        private function get _-1lY():int
        {
            var k:int = this._-5EH(this._-eV);
            var k:int = this._-0Cs._-0Tr(k);
            return ((((k < 0)) ? 0 : k));
        }
        private function get _-148():int
        {
            var k:int = this._-5EH(this._-eV);
            return (this._-0Cs._-0Tr((k + 640)));
        }
        private function _-1RB():Boolean
        {
            if (this._-16y == null)
            {
                return (false);
            };
            var k:int = this._-5EH(this._-eV);
            var k:int = this._-1lY;
            while (k <= this._-148)
            {
                if (this._-16y[k] == null)
                {
                    return (false);
                };
                k++;
            };
            return (true);
        }
        private function _-4Tq(_arg1:int, _arg2:Boolean):void
        {
            var k:BitmapData;
            var _local9:String;
            if ((((this._-2AH == null)) || ((this._-2AH.length < (_arg1 - 1)))))
            {
                return;
            };
            var k:IBorderWindow = IBorderWindow(this._-2AH[_arg1].findChildByName("entity_indicator"));
            var k:uint = _-117._-j0[this._-cE[_arg1]];
            if (_arg2)
            {
                k = (k + 0x202020);
            };
            if (this._-2-V != _arg1)
            {
                k.color = k;
            };
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-2AH[_arg1].findChildByName("entity_indicator_status"));
            if (this._-cE[_arg1] == _-117._-3Ra)
            {
                k = BitmapData(this._-2EK.assets.getAssetByName("calendar_quest_complete").content);
                k.width = k.width;
                k.height = k.height;
                k.bitmap = k.clone();
            }
            else
            {
                k.bitmap = null;
            };
            var k:ITextWindow = (k.findChildByName("entity_indicator_text") as ITextWindow);
            var k:_-1Yl = this._-1ja(_arg1);
            if (k != null)
            {
                k.text = this._-2EK._-iM(k);
            }
            else
            {
                _local9 = _-1Yl._-2KM(((this._-2EK._-4vA() + "_") + (_arg1 + 1)));
                k.text = this._-2EK._-0JE(_local9);
            };
        }
        private function _-2T2(_arg1:int, _arg2:int, _arg3:Boolean=false):void
        {
            var k:String = (((_-465 + this._-2EK._-4vA()) + _-2oJ) + _arg1);
            switch (_arg2)
            {
                case _-117._-xx:
                case _-117._-FS:
                case _-117._-0LO:
                    k = (k + _-1PB);
                    break;
                case _-117._-3Ra:
                    k = (k + _-2Hl);
                    break;
            };
            this._-cE[(_arg1 - 1)] = _arg2;
            this._-1p-[k] = (_arg1 - 1);
            var k:_-2kE = this._-2EK.assets.getAssetByName(k);
            if (k != null)
            {
                this._-QJ(k);
                this._-zB();
            }
            else
            {
                if (!_arg3)
                {
                    this._-tw(k, this._-4nC);
                };
            };
        }
        private function _-3cJ(_arg1:int):void
        {
            var k:String = ((this._-2EK._-4vA() + _-3AH) + (_arg1 + 1));
            this._-4W6[_arg1] = k;
            var k:_-2kE = this._-2EK.assets.getAssetByName(k);
            if (k != null)
            {
                this._-38a(k);
                this._-1an();
            }
            else
            {
                this._-tw(k, this._-Wr);
            };
        }
        private function _-tw(_arg1:String, _arg2:Function):void
        {
            var k = ((this._-0as() + _arg1) + ".png");
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = this._-2EK.assets.loadAssetFromFile(_arg1, k, "image/png");
            if (((k) && (!(k.disposed))))
            {
                k.addEventListener(AssetLoaderEvent._-1Tr, _arg2);
                k.addEventListener(AssetLoaderEvent._-4ar, _arg2);
            };
        }
        private function _-Wr(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                this._-38a(k.assetName);
            };
            this._-1an();
        }
        private function _-4nC(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                this._-QJ(k.assetName);
            };
            this._-zB();
        }
        private function _-38a(_arg1:String):void
        {
            var k:int = this._-4W6.indexOf(_arg1);
            if (k == -1)
            {
                return;
            };
            var k:_-2kE = this._-2EK.assets.getAssetByName(_arg1);
            this._-16y[k] = (((k)!=null) ? (k.content as BitmapData) : new BitmapData(640, 320));
        }
        private function _-QJ(_arg1:String):void
        {
            var k:_-2kE = this._-2EK.assets.getAssetByName(_arg1);
            var k:int = this._-1p-[_arg1];
            if ((((k == -1)) || ((k >= this._-4aw.length))))
            {
                return;
            };
            this._-4aw[k] = (((k)!=null) ? (k.content as BitmapData) : new BitmapData(1, 1, true, 0));
        }
        private function _-0hw():void
        {
            if (this._-2AH == null)
            {
                return;
            };
            var k:int;
            while (k < this._-2AH.length)
            {
                this._-2AH[k].x = ((((k - this._-eV) * _-uH) + this._-2ye) + _-xl);
                k++;
            };
        }
        private function _-5EH(_arg1:int):int
        {
            return ((_arg1 * _-uH));
        }
        private function _-Ff():void
        {
            var k:BitmapData = this._-0Cs._-3C(this._-5EH(this._-eV), this._-257.width);
            this._-1lC.x = 0;
            this._-1lC.width = k.width;
            this._-1lC.height = k.height;
            this._-1lC.bitmap = k.clone();
        }
        private function _-02C(_arg1:int):void
        {
            var k:BitmapData;
            var k:int;
            var k:int;
            var _local5:int;
            var _local6:int;
            if (_arg1 < this._-eV)
            {
                k = (this._-eV - _arg1);
                k = this._-5EH(_arg1);
                k = this._-0Cs._-3C(k, (this._-257.width + (_-uH * k)));
                this._-0bY = -((_-uH * k));
            }
            else
            {
                _local5 = (_arg1 - this._-eV);
                _local6 = ((_-uH * _local5) + this._-257.width);
                k = this._-0Cs._-3C(this._-5EH(this._-eV), _local6);
                this._-0bY = 0;
            };
            this._-1lC.x = this._-0bY;
            if (k != null)
            {
                this._-1lC.width = k.width;
                this._-1lC.height = k.height;
                this._-1lC.bitmap = k.clone();
            };
        }
        private function _-1Fz():void
        {
            this._-1lC.x = (this._-0bY + this._-2ye);
        }
        private function _-57a(_arg1:int):void
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-32q))))
            {
                return;
            };
            if (((!((this._-0zl == null))) && (this._-0zl.running)))
            {
                return;
            };
            if (!this._-42q())
            {
                this._-eV = _arg1;
                this._-1Xk();
                return;
            };
            var k:int = this._-eV;
            this._-eV = _arg1;
            if (this._-1RB())
            {
                this._-eV = k;
                this._-02C(_arg1);
                this._-0PV(true, (_arg1 - this._-eV));
                this._-40T = (-((_-uH * (_arg1 - this._-eV))) / 10);
                this._-0zl = new Timer(10, 10);
                this._-0zl.addEventListener(TimerEvent.TIMER, this._-2uW);
                this._-0zl.addEventListener(TimerEvent.TIMER_COMPLETE, this._-2uW);
                this._-0zl.start();
            }
            else
            {
                this._-eV = k;
            };
        }
        private function get _-1X0():int
        {
            return ((this._-3qg - 7));
        }
        private function _-1Xk():void
        {
            if (this._-eV > 0)
            {
                this._-3KN.activate();
            }
            else
            {
                this._-3KN.deactivate();
            };
            if (this._-eV < Math.min(((this._-32q - _-2Q1) - 1), this._-1X0))
            {
                this._-41w.activate();
            }
            else
            {
                this._-41w.deactivate();
            };
        }
        private function _-0PV(_arg1:Boolean=false, _arg2:int=0):void
        {
            var k:int;
            var k:int;
            var k:int;
            if (this._-2AH != null)
            {
                k = (this._-eV - 1);
                if (((_arg1) && ((_arg2 < 0))))
                {
                    k = (k + _arg2);
                };
                k = ((this._-eV + _-lj) + 1);
                if (((_arg1) && ((_arg2 > 0))))
                {
                    k = (k + _arg2);
                };
                k = 0;
                while (k < this._-2AH.length)
                {
                    if ((((k < k)) || ((k > k))))
                    {
                        this._-2AH[k].visible = false;
                    }
                    else
                    {
                        this._-2AH[k].visible = true;
                        if ((((k == k)) || ((k == k))))
                        {
                            this._-2AH[k].getChildByName("entity_mouse_region").visible = false;
                        }
                        else
                        {
                            if (this._-cE[k] == _-117._-xx)
                            {
                                this._-2AH[k].getChildByName("entity_mouse_region").visible = true;
                            };
                        };
                    };
                    k++;
                };
            };
        }
        private function _-2uW(_arg1:TimerEvent):void
        {
            switch (_arg1.type)
            {
                case TimerEvent.TIMER:
                    this._-2ye = (this._-2ye + this._-40T);
                    this._-1Fz();
                    this._-0hw();
                    return;
                case TimerEvent.TIMER_COMPLETE:
                    this._-2ye = 0;
                    if (this._-40T > 0)
                    {
                        this._-eV = (this._-eV - 1);
                    }
                    else
                    {
                        this._-eV = (this._-eV + 1);
                    };
                    this._-Ff();
                    this._-0hw();
                    this._-1Xk();
                    this._-0PV();
                    this._-0zl.removeEventListener(TimerEvent.TIMER, this._-2uW);
                    this._-0zl.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-2uW);
                    return;
            };
        }
        private function _-4XZ(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-3Jy)
            {
                switch (_arg2.name)
                {
                    case "button_left":
                        this._-OV = true;
                        break;
                    case "button_right":
                        this._-0jM = true;
                        break;
                };
            };
            if ((((_arg1.type == WindowMouseEvent._-02B)) || ((_arg1.type == WindowMouseEvent._-2uJ))))
            {
                this._-OV = false;
                this._-0jM = false;
            };
        }
        private function _-1LH(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            var k:_-1Yl;
            if (_arg2.name == "entity_mouse_region")
            {
                k = this._-2AH.indexOf(_arg2.parent);
                if (_arg1.type == WindowMouseEvent._-90)
                {
                    k = this._-1ja(k);
                    if (k != null)
                    {
                        this._-2EK._-2AC._-0Hi._-0br(k);
                    };
                };
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    this._-4Tq(k, true);
                    this._-4pR = k;
                };
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    this._-4Tq(k, false);
                    this._-4pR = -1;
                };
            };
        }
        private function _-1ja(_arg1:int):_-1Yl
        {
            var k:_-1Yl;
            for each (k in this._-0vv)
            {
                if ((k.sortOrder - 1) == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function update(_arg1:uint):void
        {
            var k:int;
            var k:Number;
            var k:IBorderWindow;
            var k:Number;
            if (((!((this._-2AH == null))) && (!((this._-2-V == -1)))))
            {
                k = _-117._-j0[this._-cE[this._-2-V]];
                k = (Number((this._-22R % _-1Kn)) / _-1Kn);
                k = Math.abs((2 * (((k > 0.5)) ? --k : k)));
                k = IBorderWindow(this._-2AH[this._-2-V].findChildByName("entity_indicator"));
                if (k)
                {
                    k = (k * _-3xN);
                    if (this._-4pR == this._-2-V)
                    {
                        k = (k + 20);
                    };
                    k.color = ColorUtil.adjustBrightness(k, k);
                };
                this._-22R = (this._-22R + _arg1);
            };
            if (this._-0zl != null)
            {
                if (((((this._-OV) && (!(this._-0zl.running)))) && ((this._-2ye == 0))))
                {
                    if ((((this._-eV > 0)) && (!(this._-3KN._-4Xv()))))
                    {
                        this._-57a((this._-eV - 1));
                    };
                };
                if (((((this._-0jM) && (!(this._-0zl.running)))) && ((this._-2ye == 0))))
                {
                    if ((((this._-eV < this._-0Fj)) && (!(this._-41w._-4Xv()))))
                    {
                        this._-57a((this._-eV + 1));
                    };
                };
            };
        }
        private function _-k(_arg1:int):void
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-32q))))
            {
                return;
            };
            this._-2-V = _arg1;
            this._-22R = 0;
        }
        private function _-0XT():void
        {
            this._-2-V = -1;
        }
        private function _-0iL(_arg1:TimerEvent):void
        {
            var k:Date = new Date();
            if (((!((this._-52e == -1))) && (!((this._-52e == k.getHours())))))
            {
                this._-362._-0VC();
            };
            this._-52e = k.getHours();
        }

    }
}//package _-4c

//------------------------------------------------------------
//_-4c.CalendarBackgroundRenderer

package _-4c
{
    import __AS3__.vec.Vector;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-1B-.*;

    public class CalendarBackgroundRenderer implements _-1zZ 
    {

        private var _-2qP:Vector.<BitmapData>;
        private var _disposed:Boolean;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-2qP = null;
            };
        }
        public function _-3jV(_arg1:Vector.<BitmapData>):void
        {
            this._-2qP = _arg1;
        }
        public function _-3C(_arg1:int, _arg2:int):BitmapData
        {
            var k:int;
            var k:int;
            var _local7:BitmapData;
            var _local8:int;
            if (((((this._disposed) || ((this._-2qP == null)))) || ((this._-2qP.length == 0))))
            {
                return (new BitmapData(1, 1));
            };
            var k:BitmapData = new BitmapData(_arg2, this._-2qP[0].height, false, 0);
            var k:int;
            while (k < _arg2)
            {
                k = (_arg1 + k);
                k = this._-0Tr(k);
                if (k < 0)
                {
                    k = (k + -(_arg1));
                    if (_arg1 >= 0)
                    {
                        return (new BitmapData(1, 1));
                    };
                }
                else
                {
                    _local7 = this._-2qP[k];
                    _local8 = this._-1aa(k);
                    if (_local7.width > ((_local8 + _arg2) - k))
                    {
                        k.copyPixels(_local7, new Rectangle(_local8, 0, (_arg2 - k), _local7.height), new Point(k, 0));
                        k = (k + (_arg2 - k));
                    }
                    else
                    {
                        k.copyPixels(_local7, new Rectangle(_local8, 0, (_local7.width - _local8), _local7.height), new Point(k, 0));
                        k = (k + (_local7.width - _local8));
                    };
                };
            };
            return (k);
        }
        public function _-0Tr(_arg1:int):int
        {
            var k:int;
            var k:int;
            while (k < this._-2qP.length)
            {
                if ((((k <= _arg1)) && ((_arg1 < (k + this._-2qP[k].width)))))
                {
                    return (k);
                };
                k = (k + this._-2qP[k].width);
                k++;
            };
            return (-1);
        }
        private function _-1aa(_arg1:int):int
        {
            var k:int;
            var k:int;
            while (k < this._-2qP.length)
            {
                if ((((k <= _arg1)) && ((_arg1 < (k + this._-2qP[k].width)))))
                {
                    return ((_arg1 - k));
                };
                k = (k + this._-2qP[k].width);
                k++;
            };
            return (-1);
        }

    }
}//package _-4c

//------------------------------------------------------------
//_-4c.CatalogPromo

package _-4c
{
    import _-2tv.HabboQuestEngine;
    import _-Ew.IWindowContainer;
    import _-2np._-1ZV;
    import _-48G._-4hq;
    import _-48G._-em;
    import _-4Aj._-0tL;
    import _-48G._-3rV;
    import _-Fe._-34Z;
    import _-1ae.IFrameWindow;
    import _-293._-2Gt;
    import _-1ae.ITextWindow;
    import _-0jG._-3UA;
    import _-Ew.IWindow;
    import _-0y0._-Xl;
    import flash.display.BitmapData;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-32F._-48b;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-293.*;
    import _-1B-.*;
    import _-32F.*;

    public class CatalogPromo implements _-1zZ, dynamic, _-Hw 
    {

        private var _-2EK:HabboQuestEngine;
        private var _-0xv:IWindowContainer;
        private var _-51u:_-1ZV;
        private var _-362:_-BW;
        private var _-1Ue:_-4hq = null;
        private var _-2W3:int = -1;
        private var _-2Aj:int = -1;
        private var _-0H8:_-em = null;
        private var _-4yc:_-0tL = null;
        private var _-tZ:_-0tL = null;

        public function CatalogPromo(_arg1:HabboQuestEngine, _arg2:_-BW)
        {
            this._-2EK = _arg1;
            this._-362 = _arg2;
        }
        public function dispose():void
        {
            if (this._-51u)
            {
                if (this._-4yc)
                {
                    this._-51u.removeMessageEvent(this._-4yc);
                    this._-4yc = null;
                };
                if (this._-tZ)
                {
                    this._-51u.removeMessageEvent(this._-tZ);
                    this._-tZ = null;
                };
                this._-51u = null;
            };
            this._-2EK = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function _-1v4(_arg1:int, _arg2:int):void
        {
            if (_arg1 == this._-2ux())
            {
                this._-2EK.localization.registerParameter("quests.seasonalcalendar.promo.balance", "amount", ("" + _arg2));
                if (this._-0xv != null)
                {
                    this.refresh();
                };
            };
        }
        private function _-2ux():int
        {
            var k:String = this._-2EK.configuration.getKey("seasonalQuestCalendar.currency", "0");
            return (((isNaN(Number(k))) ? 0 : int(k)));
        }
        public function prepare(_arg1:IFrameWindow):void
        {
            this._-0xv = IWindowContainer(_arg1.findChildByName("catalog_promo_cont"));
            this._-0xv.findChildByName("buy_button").disable();
            this._-0xv.findChildByName("buy_button").procedure = this._-P5;
            this._-0xv.findChildByName("furni_region").procedure = this._-1zw;
            this._-51u = this._-2EK.communication._-4gR(null);
            if (this._-51u != null)
            {
                this._-4yc = new _-em(this._-0VR);
                this._-tZ = new _-3rV(this._-0To);
                this._-51u.addMessageEvent(this._-4yc);
                this._-51u.addMessageEvent(this._-tZ);
                this._-51u.send(new _-34Z());
            };
        }
        public function refresh():void
        {
            var k:String;
            var k:_-2Gt;
            var k:ITextWindow = ITextWindow(this._-0xv.findChildByName("your_balance_txt"));
            var k:IWindowContainer = IWindowContainer(this._-0xv.findChildByName("currency_icon_cont"));
            k.x = (k.x + k.width);
            _-3UA._-LK(k);
            var k:IWindow = k.findChildByName(("currency_icon_" + this._-2ux()));
            if (k != null)
            {
                k.visible = true;
            };
            if (this._-1Ue != null)
            {
                k = null;
                k = null;
                if (this._-1Ue._-5DX == _-4hq._-0xA)
                {
                    k = this._-2EK.roomEngine.getWallItemImage(this._-1Ue._-3Zu, new _-Xl(90, 0, 0), 64, this, 0, this._-1Ue._-1gg);
                }
                else
                {
                    if (this._-1Ue._-5DX == _-4hq._-5Ds)
                    {
                        k = this._-2EK.roomEngine.getFurnitureImage(this._-1Ue._-3Zu, new _-Xl(90, 0, 0), 64, this);
                    };
                };
                if (((!((k == null))) && (!((k.data == null)))))
                {
                    this._-0FZ(k.data);
                };
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            this._-0FZ(_arg2);
        }
        private function _-P5(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                _-Nb.log("Buy button clicked");
                if (this._-2W3 != -1)
                {
                    this._-2EK.catalog._-33R(this._-2Aj, this._-2W3);
                };
            };
        }
        private function _-1zw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
            };
        }
        private function _-0VR(_arg1:_-em):void
        {
            this._-0xv.findChildByName("buy_button").enable();
            var k:_-48b = this._-2EK.sessionDataManager.getProductData(_arg1.offer._-5Dp);
            if (k != null)
            {
                ITextWindow(this._-0xv.findChildByName("promo_info")).text = k.name;
                this._-2Aj = _arg1.pageId;
                this._-2W3 = _arg1.offer.offerId;
                if (_arg1.offer.products.length > 0)
                {
                    this._-1Ue = _-4hq(_arg1.offer.products[0]);
                    this.refresh();
                };
            }
            else
            {
                if (this._-0H8 == null)
                {
                    this._-0H8 = _arg1;
                    this._-2EK.sessionDataManager._-OL(this);
                };
            };
        }
        public function _-52N():void
        {
            this._-0VR(this._-0H8);
        }
        private function _-0FZ(_arg1:BitmapData):void
        {
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0xv.findChildByName("furni_preview"));
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0);
            var k:Rectangle = _arg1.rect;
            if (k.width > k.rect.width)
            {
                k.x = ((k.width - k.rect.width) / 2);
                k.width = k.rect.width;
            };
            if (k.height > k.rect.height)
            {
                k.y = ((k.height - k.rect.height) / 2);
                k.height = k.rect.height;
            };
            var k:Point = new Point(0, 0);
            if (k.rect.width > k.width)
            {
                k.x = ((k.rect.width - k.width) / 2);
            };
            if (k.rect.height > k.height)
            {
                k.y = ((k.rect.height - k.height) / 2);
            };
            k.copyPixels(_arg1, k, k);
            k.bitmap = k;
        }
        private function _-0To(_arg1:_-0tL):void
        {
            if (this._-51u != null)
            {
                this._-51u.send(new _-34Z());
            };
        }

    }
}//package _-4c

//------------------------------------------------------------
//_-4c.RareTeaser

package _-4c
{
    import _-2tv.HabboQuestEngine;
    import _-Ew.IWindowContainer;
    import _-1ae.IFrameWindow;
    import _-1ae._-4mB;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-1B-.*;

    public class RareTeaser implements _-1zZ 
    {

        private var _-2EK:HabboQuestEngine;
        private var _-0xv:IWindowContainer;
        private var _-0no:Array;
        private var _-2KE:Array;
        private var _-583:Array;

        public function RareTeaser(_arg1:HabboQuestEngine)
        {
            this._-2EK = _arg1;
        }
        public function dispose():void
        {
            this._-2EK = null;
            this._-0xv = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2EK == null));
        }
        public function prepare(_arg1:IFrameWindow):void
        {
            this._-0no = this._-2WH("quests.seasonalcalendar.rareteaser.days");
            this._-2KE = this._-zJ("quests.seasonalcalendar.rareteaser.images");
            this._-583 = this._-zJ("quests.seasonalcalendar.rareteaser.pages");
            this._-0xv = IWindowContainer(_arg1.findChildByName("rare_teaser_cont"));
            var k:int = 1;
            while (k <= this._-0no.length)
            {
                this._-0DO(k).assetUri = (("${image.library.questing.url}" + this._-2KE[(k - 1)]) + ".png");
                k++;
            };
            this._-0Oe(1).procedure = this._-4SL;
            this._-0Oe(2).procedure = this._-3it;
            this._-0Oe(3).procedure = this._-0Az;
        }
        private function _-2WH(_arg1:String):Array
        {
            var k:String;
            var k:String = this._-2EK.localization.getKey(_arg1, "");
            var k:Array = k.split(",");
            var k:Array = new Array();
            for each (k in k)
            {
                if (!isNaN(Number(k)))
                {
                    k.push(int(k));
                };
            };
            return (k);
        }
        private function _-zJ(_arg1:String):Array
        {
            var k:String;
            var k:String = this._-2EK.localization.getKey(_arg1, "");
            var k:Array = k.split(",");
            var k:Array = new Array();
            for each (k in k)
            {
                if (k != "")
                {
                    k.push(k);
                };
            };
            return (k);
        }
        private function _-0DO(_arg1:int):_-4mB
        {
            return ((this._-0c2(_arg1).findChildByName("furni_pic") as _-4mB));
        }
        private function _-276(_arg1:int):IWindow
        {
            return (this._-0c2(_arg1).findChildByName("locked_icon"));
        }
        private function _-4Ym(_arg1:int):IWindow
        {
            return (this._-0c2(_arg1).findChildByName("locked_bg"));
        }
        private function _-2O0(_arg1:int):IWindow
        {
            return (this._-0c2(_arg1).findChildByName("open_bg"));
        }
        private function _-0Oe(_arg1:int):IWindow
        {
            return (this._-0c2(_arg1).findChildByName("click_region"));
        }
        private function _-0c2(_arg1:int):IWindowContainer
        {
            return (IWindowContainer(this._-0xv.findChildByName(("rare_cont_" + _arg1))));
        }
        public function refresh():void
        {
            var k:Boolean;
            var k:int = this._-2EK._-2AC._-2ea._-A0;
            var k:int = -1;
            var k:int = 1;
            while (k <= this._-0no.length)
            {
                k = (this._-0no[(k - 1)] > k);
                this._-0DO(k).visible = !(k);
                this._-276(k).visible = k;
                this._-2O0(k).visible = !(k);
                this._-4Ym(k).visible = k;
                this._-0Oe(k).visible = !(k);
                if (((k) && ((k == -1))))
                {
                    k = (this._-0no[(k - 1)] - k);
                };
                k++;
            };
            this._-0xv.findChildByName("teaser_info").visible = !((k == -1));
            this._-2EK.localization.registerParameter("quests.seasonalcalendar.rareteaser.info", "days", ("" + k));
        }
        private function _-4SL(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-2N6(_arg1, 0);
        }
        private function _-3it(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-2N6(_arg1, 1);
        }
        private function _-0Az(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-2N6(_arg1, 2);
        }
        private function _-2N6(_arg1:WindowEvent, _arg2:int):void
        {
            if ((((_arg1.type == WindowMouseEvent._-90)) && (!((this._-583[_arg2] == null)))))
            {
                this._-2EK.catalog.openCatalogPage(this._-583[_arg2]);
            };
        }

    }
}//package _-4c

//------------------------------------------------------------
//_-4dT._-1GI

package _-4dT
{
    import _-Ew.IWindowContainer;
    import _-0jG._-5i;
    import _-OR.Triggerable;

    public class _-1GI implements _-lc 
    {

        public function get code():int
        {
            return (-1);
        }
        public function get requiresFurni():int
        {
            return (UserDefinedRoomEventsCtrl._-2ub);
        }
        public function get hasStateSnapshot():Boolean
        {
            return (false);
        }
        public function readIntParamsFromForm(_arg1:IWindowContainer):Array
        {
            return (new Array());
        }
        public function readStringParamFromForm(_arg1:IWindowContainer):String
        {
            return ("");
        }
        public function onInit(_arg1:IWindowContainer, _arg2:_-5i):void
        {
        }
        public function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void
        {
        }
        public function get hasSpecialInputs():Boolean
        {
            return (false);
        }
        public function validate(_arg1:IWindowContainer, _arg2:_-5i):String
        {
            return (null);
        }

    }
}//package _-4dT

//------------------------------------------------------------
//_-4dT._-1rl

package _-4dT
{
    import mx.core.ByteArrayAsset;

    public class _-1rl extends ByteArrayAsset 
    {

    }
}//package _-4dT

//------------------------------------------------------------
//_-4dT._-2qQ

package _-4dT
{
    import _-OR.Triggerable;

    public interface _-2qQ 
    {

        function _-1xE(_arg1:int):_-lc;
        function getKey():String;
        function _-rc(_arg1:Triggerable):Boolean;

    }
}//package _-4dT

//------------------------------------------------------------
//_-4dT._-4kd

package _-4dT
{
    import _-0jG._-5i;
    import flash.display.Shader;
    import flash.filters.ShaderFilter;
    import flash.filters.ColorMatrixFilter;
    import flash.utils.ByteArray;
    import flash.utils.Dictionary;
    import _-3mW._-1sV;
    import _-3V-._-3SU;
    import _-4rn._-E7;
    import _-4rn._-59O;
    import flash.display.BlendMode;

    public class _-4kd 
    {

        private var _-07:_-5i;
        private var _-3oa:Array;

        public function _-4kd(_arg1:_-5i)
        {
            var k:Class;
            var k:Shader;
            var k:ShaderFilter;
            var _local5:Array;
            var _local6:ColorMatrixFilter;
            super();
            this._-07 = _arg1;
                    k = _-1rl;
        k = new Shader((new (k)() as ByteArray));
        k = new ShaderFilter(k);
        this._-3oa = [k];
        }
        public function hide(_arg1:int):void
        {
            this._-1AV(this._-1DY(_arg1));
        }
        public function _-3mB(_arg1:Dictionary):void
        {
            var k:String;
            for (k in _arg1)
            {
                _-Nb.log(("Show furni as unselected: " + k));
                this._-1AV(this._-1DY(parseInt(k)));
            };
        }
        public function show(_arg1:int):void
        {
            this._-12-(this._-1DY(_arg1));
        }
        public function _-2aP(_arg1:Dictionary):void
        {
            var k:String;
            for (k in _arg1)
            {
                _-Nb.log(("Show furni as selected: " + k));
                this._-12-(this._-1DY(parseInt(k)));
            };
        }
        private function _-1DY(_arg1:int):_-3SU
        {
            return (this._-07.roomEngine.getRoomObject(this._-07.roomId, this._-07.roomCategory, _arg1, _-1sV._-0u-));
        }
        private function _-12-(_arg1:_-3SU):void
        {
            var k:_-E7;
            var k:int;
            var k:_-59O;
            if (_arg1)
            {
                k = (_arg1._-1cm() as _-E7);
                _-Nb.log(("Furni visualization: " + k));
                k = 0;
                while (k < k._-18O)
                {
                    k = k._-2IM(k);
                    if (k.blendMode != BlendMode.ADD)
                    {
                        k.filters = this._-3oa;
                    };
                    k++;
                };
            };
        }
        private function _-1AV(_arg1:_-3SU):void
        {
            var k:_-E7;
            var k:int;
            var k:_-59O;
            if (_arg1)
            {
                k = (_arg1._-1cm() as _-E7);
                _-Nb.log(("Furni visualization: " + k));
                k = 0;
                while (k < k._-18O)
                {
                    k = k._-2IM(k);
                    k.filters = [];
                    k++;
                };
            };
        }

    }
}//package _-4dT

//------------------------------------------------------------
//_-4dT._-lc

package _-4dT
{
    import _-Ew.IWindowContainer;
    import _-0jG._-5i;
    import _-OR.Triggerable;

    public interface _-lc 
    {

        function get code():int;
        function get requiresFurni():int;
        function onInit(_arg1:IWindowContainer, _arg2:_-5i):void;
        function onEditStart(_arg1:IWindowContainer, _arg2:Triggerable):void;
        function readIntParamsFromForm(_arg1:IWindowContainer):Array;
        function readStringParamFromForm(_arg1:IWindowContainer):String;
        function get hasSpecialInputs():Boolean;
        function get hasStateSnapshot():Boolean;
        function validate(_arg1:IWindowContainer, _arg2:_-5i):String;

    }
}//package _-4dT

//------------------------------------------------------------
//_-4dT.UserDefinedRoomEventsCtrl

package _-4dT
{
    import _-0jG._-5i;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-1g9._-1vA;
    import _-1gE._-4h4;
    import _-3Kg._-4BI;
    import flash.utils.Dictionary;
    import _-OR.Triggerable;
    import _-2vK.UserDefinedRoomEventsHelp;
    import _-3fF._-4Vz;
    import _-OR._-2uu;
    import _-OR.ActionDefinition;
    import _-OR._-37B;
    import _-0jG._-3UA;
    import flash.events.Event;
    import _-Ew.IWindow;
    import _-1g9.TriggerOnce;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1gE.ActionType;
    import _-1g9._-4X6;
    import _-06C._-0kG;
    import _-06C._-3L-;
    import _-06C._-3v9;
    import _-06C._-71;
    import _-4n1._-0hX;
    import _-1ae.ITextWindow;
    import _-0Ie.*;

    public class UserDefinedRoomEventsCtrl 
    {

        public static var _-2ub:int = 0;
        public static var _-3je:int = 1;
        public static var _-2JR:int = 2;
        public static var _-4zI:int = 3;

        private var _-07:_-5i;
        private var _-0xv:IFrameWindow;
        private var _-1Pa:IWindowContainer;
        private var _-52a:_-1vA;
        private var _-3yz:_-4h4;
        private var _-1rA:_-4BI;
        private var _-263:Dictionary;
        private var _-4Je:Triggerable;
        private var _-4oG:_-4kd;
        private var _-1Iu:UserDefinedRoomEventsHelp;
        private var _-2tZ:_-4Vz;

        public function UserDefinedRoomEventsCtrl(_arg1:_-5i)
        {
            this._-52a = new _-1vA();
            this._-3yz = new _-4h4();
            this._-1rA = new _-4BI();
            this._-263 = new Dictionary();
            super();
            this._-07 = _arg1;
            this._-4oG = new _-4kd(_arg1);
            this._-1Iu = new UserDefinedRoomEventsHelp(_arg1);
        }
        public function _-0rp(_arg1:int, _arg2:String):void
        {
            if ((((this._-0xv == null)) || (!(this._-0xv.visible))))
            {
                return;
            };
            if (!this._-4SP())
            {
                return;
            };
            if (this._-263[_arg1])
            {
                delete this._-263[_arg1];
                this._-4oG.hide(_arg1);
            }
            else
            {
                if (this._-RL().length < this._-4Je._-tG)
                {
                    this._-263[_arg1] = _arg2;
                    this._-4oG.show(_arg1);
                };
            };
            this.refresh();
        }
        private function _-4SP():Boolean
        {
            var k:_-lc = this._-34V();
            return (!((k.requiresFurni == _-2ub)));
        }
        private function _-34V():_-lc
        {
            return (this._-38J()._-1xE(this._-4Je.code));
        }
        private function _-38J():_-2qQ
        {
            if ((this._-4Je as _-2uu) != null)
            {
                return (this._-52a);
            };
            if ((this._-4Je as ActionDefinition) != null)
            {
                return (this._-3yz);
            };
            if ((this._-4Je as _-37B) != null)
            {
                return (this._-1rA);
            };
            return (null);
        }
        private function _-eN():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            this._-0xv = IFrameWindow(this._-07.getXmlWindow("ude_main"));
            this._-1Pa = IWindowContainer(this.find(this._-0xv, "configure_container"));
            _-3UA._-hE(this.find(this._-1Pa, "save_button"), this._-1WE);
            _-3UA._-hE(this.find(this._-1Pa, "cancel_save_button"), this._-lf);
            _-3UA._-hE(this.find(this._-1Pa, "helplink"), this. each);
            _-3UA._-hE(this.find(this._-1Pa, "apply_snapshot_txt"), this._-43I);
            _-3UA._-hE(this.find(this._-1Pa, "dec_stuff_sel_button"), this._-Va);
            _-3UA._-hE(this.find(this._-1Pa, "inc_stuff_sel_button"), this._-22x);
            this.find(this._-1Pa, "helplink").mouseThreshold = 0;
            this.find(this._-1Pa, "apply_snapshot_txt").mouseThreshold = 0;
            this._-2tZ = new _-4Vz(this._-07, IWindowContainer(this.find(this._-1Pa, "delay_slider_container")), this._-07.assets, 0, 20, 1);
            this._-2tZ.addEventListener(Event.CHANGE, this._-3Ip);
            this._-2tZ._-4R2(0);
            this.setIcon("configure_container", "icon_trigger", "trigger_icon_bitmap");
            this.setIcon("configure_container", "icon_action", "action_icon_bitmap");
            this.setIcon("configure_container", "icon_condition", "condition_icon_bitmap");
            var k:IWindow = this._-0xv.findChildByTag("close");
            k.procedure = this._-lf;
            this._-0xv.center();
        }
        private function _-3Ip(_arg1:Event):void
        {
            var k:_-4Vz;
            var k:Number;
            var k:int;
            var k:String;
            if (_arg1.type == Event.CHANGE)
            {
                k = (_arg1.target as _-4Vz);
                if (k)
                {
                    k = k.getValue();
                    k = int(k);
                    k = TriggerOnce._-4Et(k);
                    this._-07.localization.registerParameter("wiredfurni.params.delay", "seconds", k);
                };
            };
        }
        private function setIcon(_arg1:String, _arg2:String, _arg3:String="icon_bitmap"):void
        {
            var k:IWindowContainer = IWindowContainer(this.find(this._-0xv, _arg1));
            this._-07.refreshButton(k, _arg3, true, null, 0, _arg2);
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this.close();
            };
        }
        public function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
                this._-4oG._-3mB(this._-263);
            };
        }
        private function find(_arg1:IWindowContainer, _arg2:String):IWindow
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            if (k == null)
            {
                throw (new Error((("Window element with name: " + _arg2) + " cannot be found!")));
            };
            return (k);
        }
        public function _-36t(_arg1:Triggerable):void
        {
            var k:int;
            var k:IWindowContainer;
            var k:ActionDefinition;
            var k:int;
            this._-eN();
            this._-4Je = _arg1;
            _-Nb.log(((("Received: " + this._-4Je) + ", ") + _arg1.code));
            var k:_-lc = this._-34V();
            this._-4oG._-3mB(this._-263);
            this._-263 = new Dictionary();
            for each (k in this._-4Je._-39Z)
            {
                this._-263[k] = "yes";
            };
            k = ((k.hasSpecialInputs) ? this._-0CF() : null);
            k.onEditStart(k, this._-4Je);
            this._-4oG._-2aP(this._-263);
            if ((this._-4Je as ActionDefinition) != null)
            {
                k = ActionDefinition(this._-4Je);
                k = k._-1XP;
                this._-2tZ._-4R2(k);
            };
            this._-1P0();
            this.refresh();
        }
        private function _-1P0():void
        {
            var k:_-lc;
            this._-3kK().visible = false;
            this._-3-O().visible = false;
            this._-9j().visible = false;
            if (this._-4Je._-4JB)
            {
                k = this._-34V();
                if ((((k.requiresFurni == _-2JR)) || ((k.requiresFurni == _-4zI))))
                {
                    this._-3-O().visible = true;
                    this._-9j().visible = true;
                    this._-3kK().visible = true;
                    this._-2DZ();
                };
            };
            var k:IWindowContainer = IWindowContainer(this._-1Pa.findChildByName("select_furni_container"));
            k.height = _-3UA._-5DG(k);
        }
        private function _-2DZ():void
        {
            var k:_-lc = this._-34V();
            var k:String = ((((k as ActionType))!=null) ? "effect" : ((((k as _-4X6))!=null) ? "trigger" : "condition"));
            var k:String = "wiredfurni.pickfurnis.";
            var k:String = ((((k + k) + k.code) + ".") + this._-4Je._-3Ry);
            var k:String = this._-07.localization.getKey(k, "");
            _-Nb.log(((("Searching with key I: " + k) + " got ") + k));
            if (k == "")
            {
                k = (((k + k) + ".") + this._-4Je._-3Ry);
                k = this._-07.localization.getKey(k, k);
                _-Nb.log(((("Searching with key II: " + k) + " got ") + k));
            };
            this._-3kK().caption = k;
        }
        public function _-2-U(_arg1:int):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            if (!this._-0xv.visible)
            {
                return;
            };
            if (this._-4Je.id == _arg1)
            {
                this._-0xv.visible = false;
                return;
            };
            if (this._-263[_arg1])
            {
                delete this._-263[_arg1];
                this.refresh();
            };
        }
        private function _-1WE(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:_-lc = this._-34V();
            var k:String = k.validate(((k.hasSpecialInputs) ? this._-0CF() : null), this._-07);
            if (k != null)
            {
                this._-07.windowManager.alert("Update failed", k, 0, null);
                return;
            };
            if ((this._-4Je as _-2uu) != null)
            {
                this._-07.send(new _-0kG(this._-4Je.id, this._-34C(), this._-2Yl(), this._-RL(), this._-3dd()));
            }
            else
            {
                if ((this._-4Je as ActionDefinition) != null)
                {
                    this._-07.send(new _-3L-(this._-4Je.id, this._-34C(), this._-2Yl(), this._-RL(), this._-1qi(), this._-3dd()));
                }
                else
                {
                    if ((this._-4Je as _-37B) != null)
                    {
                        this._-07.send(new _-3v9(this._-4Je.id, this._-34C(), this._-2Yl(), this._-RL(), this._-3dd()));
                    };
                };
            };
        }
        public function _-1qi():int
        {
            var k:ActionType = ActionType(this._-34V());
            return (((k.allowDelaying) ? this._-2tZ.getValue() : 0));
        }
        private function  each(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1Iu.open(((this._-0xv.x + this._-0xv.width) + 5), this._-0xv.y);
        }
        private function _-Va(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:_-lc = this._-34V();
            this._-4Je._-3Ry = (((this._-4Je._-3Ry < 1)) ? (k.requiresFurni - 1) : (this._-4Je._-3Ry - 1));
            this._-2DZ();
        }
        private function _-22x(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            var k:_-lc = this._-34V();
            this._-4Je._-3Ry = ((this._-4Je._-3Ry + 1) % k.requiresFurni);
            this._-2DZ();
        }
        private function _-43I(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-07.send(new _-71(this._-4Je.id));
        }
        private function _-34C():Array
        {
            var k:_-lc = this._-34V();
            var k:IWindowContainer = ((k.hasSpecialInputs) ? this._-0CF() : null);
            return (k.readIntParamsFromForm(k));
        }
        private function _-2Yl():String
        {
            var k:_-lc = this._-34V();
            var k:IWindowContainer = ((k.hasSpecialInputs) ? this._-0CF() : null);
            return (k.readStringParamFromForm(k));
        }
        private function _-3dd():int
        {
            if (!this._-4Je._-4JB)
            {
                return (0);
            };
            var k:_-lc = this._-34V();
            if ((((k.requiresFurni == _-2JR)) || ((k.requiresFurni == _-4zI))))
            {
                return (this._-4Je._-3Ry);
            };
            return (0);
        }
        public function _-RL():Array
        {
            var k:String;
            var k:Array = new Array();
            for (k in this._-263)
            {
                k.push(int(k));
            };
            return (k);
        }
        public function refresh():void
        {
            this._-1Pa.visible = false;
            this._-4vh(this._-52a);
            this._-4vh(this._-3yz);
            this._-4vh(this._-1rA);
            this._-0xv.content.height = _-3UA._-5DG(this._-0xv.content);
            this._-0xv.visible = true;
        }
        private function _-4vh(_arg1:_-2qQ):void
        {
            if (!_arg1._-rc(this._-4Je))
            {
                this.find(this._-1Pa, (_arg1.getKey() + "_icon_bitmap")).visible = false;
                return;
            };
            this._-1Pa.visible = true;
            var k:_-lc = this._-34V();
            this._-8Y(k, _arg1.getKey());
            this._-4yW();
            this._-2w6();
            this.find(this._-1Pa, "warning_container").visible = false;
            this._-0kv();
            this._-2Zk();
            this._-2B6();
            _-3UA._-4ZO(this._-1Pa, 3, 5);
            this._-1Pa.height = (_-3UA._-5DG(this._-1Pa) + 1);
        }
        private function _-2e5(_arg1:int):String
        {
            var k:_-0hX = this._-07.sessionDataManager._-LX(_arg1);
            if (k == null)
            {
                _-Nb.log(("COULD NOT FIND FURNIDATA FOR " + _arg1));
                return (("NAME: " + _arg1));
            };
            return (k.title);
        }
        private function _-4fR(_arg1:int):String
        {
            var k:_-0hX = this._-07.sessionDataManager._-LX(_arg1);
            if (k == null)
            {
                _-Nb.log(("COULD NOT FIND FURNIDATA FOR " + _arg1));
                return (("NAME: " + _arg1));
            };
            return (k.description);
        }
        private function _-0Ab(_arg1:IWindowContainer, _arg2:String, _arg3:String):void
        {
            var k:ITextWindow = ITextWindow(this.find(_arg1, _arg2));
            k.caption = _arg3;
            k.height = (k.textHeight + 6);
        }
        private function _-8Y(_arg1:_-lc, _arg2:String):void
        {
            var k:IWindowContainer = IWindowContainer(this.find(this._-1Pa, "header_container"));
            this.find(k, (_arg2 + "_icon_bitmap")).visible = true;
            this._-0Ab(k, "conf_name_txt", this._-2e5(this._-4Je._-4p4));
            this._-0Ab(k, "conf_desc_txt", this._-4fR(this._-4Je._-4p4));
            var k:IWindow = this.find(k, "conf_name_txt");
            var k:IWindow = this.find(k, "conf_desc_txt");
            k.y = (k.y + k.height);
            var k:_-lc = this._-34V();
            var k:IWindow = this.find(k, "apply_snapshot_txt");
            if (k.hasStateSnapshot)
            {
                k.visible = true;
                k.y = (k.y + k.height);
            }
            else
            {
                k.visible = false;
            };
            k.height = (_-3UA._-5DG(k) + 4);
        }
        private function _-2B6():void
        {
            var k:IWindowContainer = IWindowContainer(this.find(this._-1Pa, "action_inputs_container"));
            if ((this._-4Je as ActionDefinition) == null)
            {
                k.visible = false;
                return;
            };
            var k:ActionType = ActionType(this._-34V());
            if (!k.allowDelaying)
            {
                k.visible = false;
                return;
            };
            k.visible = true;
        }
        private function _-0kv():void
        {
            var k:int;
            if ((this._-4Je as ActionDefinition) == null)
            {
                return;
            };
            var k:ActionDefinition = ActionDefinition(this._-4Je);
            if (k._-38h.length < 1)
            {
                return;
            };
            var k:String = "";
            var k:Boolean = true;
            for each (k in k._-38h)
            {
                k = (k + (((((k) ? "" : ", ") + "'") + this._-2e5(k)) + "'"));
                k = false;
            };
            this._-07.localization.registerParameter("wiredfurni.conflictingtriggers.text", "triggers", k);
            this._-0bU(this._-07.localization.getKey("wiredfurni.conflictingtriggers.caption"), this._-07.localization.getKey("wiredfurni.conflictingtriggers.text"));
        }
        private function _-2Zk():void
        {
            var k:int;
            if ((this._-4Je as _-2uu) == null)
            {
                return;
            };
            var k:_-2uu = _-2uu(this._-4Je);
            if (k._-3lq.length < 1)
            {
                return;
            };
            var k:String = "";
            var k:Boolean = true;
            for each (k in k._-3lq)
            {
                k = (k + (((((k) ? "" : ", ") + "'") + this._-2e5(k)) + "'"));
                k = false;
            };
            this._-07.localization.registerParameter("wiredfurni.conflictingactions.text", "actions", k);
            this._-0bU(this._-07.localization.getKey("wiredfurni.conflictingactions.caption"), this._-07.localization.getKey("wiredfurni.conflictingactions.text"));
        }
        private function _-0bU(_arg1:String, _arg2:String):void
        {
            var k:IWindowContainer = IWindowContainer(this.find(this._-1Pa, "warning_container"));
            this._-0Ab(k, "caption_txt", _arg1);
            this._-0Ab(k, "desc_txt", _arg2);
            var k:IWindow = this.find(k, "caption_txt");
            this.find(k, "desc_txt").y = (k.y + k.height);
            k.height = (_-3UA._-5DG(k) + 4);
            this.find(this._-1Pa, "warning_container").visible = true;
        }
        private function _-4yW():void
        {
            var k:IWindowContainer;
            var k:IWindowContainer = IWindowContainer(this._-1Pa.findChildByName("custom_inputs_container"));
            _-3UA._-LK(k);
            if (this._-34V().hasSpecialInputs)
            {
                k = this._-0CF();
                k.visible = true;
            };
            k.height = _-3UA._-5DG(k);
        }
        private function _-0CF():IWindowContainer
        {
            var k:_-2qQ = this._-38J();
            var k:_-lc = this._-34V();
            var k:IWindowContainer = IWindowContainer(this._-1Pa.findChildByName("custom_inputs_container"));
            var k:String = (k.getKey() + k.code);
            var k:IWindowContainer = IWindowContainer(k.getChildByName(k));
            if (k == null)
            {
                k = IWindowContainer(this._-07.getXmlWindow(((("ude_" + k.getKey()) + "_inputs_") + k.code)));
                k.name = k;
                k.addChild(k);
                k.onInit(k, this._-07);
            };
            return (k);
        }
        private function _-2w6():void
        {
            var k:IWindowContainer = IWindowContainer(this._-1Pa.findChildByName("select_furni_container"));
            if (!this._-4SP())
            {
                k.visible = false;
                return;
            };
            k.visible = true;
            var k:IWindow = k.findChildByName("furni_name_txt");
            var k:int = this._-RL().length;
            var k:int = this._-4Je._-tG;
            this._-07.localization.registerParameter("wiredfurni.pickfurnis.caption", "count", ("" + k));
            this._-07.localization.registerParameter("wiredfurni.pickfurnis.caption", "limit", ("" + k));
        }
        private function _-9j():IWindow
        {
            return (this._-1Pa.findChildByName("dec_stuff_sel_button"));
        }
        private function _-3-O():IWindow
        {
            return (this._-1Pa.findChildByName("inc_stuff_sel_button"));
        }
        private function _-3kK():IWindow
        {
            return (this._-1Pa.findChildByName("furni_type_matches_txt"));
        }

    }
}//package _-4dT

//------------------------------------------------------------
//_-4f7._-0F1

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-2CC;
    import _-1FD._-1m0;
    import _-3mW._-1sV;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-og._-4mJ;
    import _-3V-._-3SU;
    import _-1Jd._-4LX;
    import _-og._-2C8;
    import flash.events.Event;
    import _-1ye.*;

    public class _-0F1 implements _-26C 
    {

        private var _container:_-G0 = null;
        private var _-4Bk:Boolean = false;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-hj);
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-2CC._-1E3);
            k.push(_-1m0._-2Ai);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-1m0;
            if (_arg1 == null)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-2CC._-1E3:
                    this._-2hG();
                    break;
                case _-1m0._-2Ai:
                    _local2 = (_arg1 as _-1m0);
                    if (_local2 == null)
                    {
                        return (null);
                    };
                    if (_local2.category == _-1sV._-3I0)
                    {
                        this._container.roomEngine._-0P5(this._container.roomSession.roomId, this._container.roomSession.roomCategory, _local2.id, _local2.category);
                    };
                    break;
            };
            return (null);
        }
        private function _-2D6(_arg1:_-4mJ, _arg2:_-4mJ):int
        {
            if ((((((((((_arg1 == null)) || ((_arg2 == null)))) || ((_arg1.name == _arg2.name)))) || ((_arg1.name.length == 0)))) || ((_arg2.name.length == 0))))
            {
                return (1);
            };
            var k:Array = new Array(_arg1.name.toUpperCase(), _arg2.name.toUpperCase()).sort();
            if (k.indexOf(_arg1.name.toUpperCase()) == 0)
            {
                return (-1);
            };
            return (1);
        }
        private function _-2hG():void
        {
            var k:_-3SU;
            var k:_-4LX;
            if ((((((this._container == null)) || ((this._container.roomSession == null)))) || ((this._container.roomEngine == null))))
            {
                return;
            };
            if (this._container.roomSession.userDataManager == null)
            {
                return;
            };
            var k:int = this._container.roomSession.roomId;
            var k:int = this._container.roomSession.roomCategory;
            var k:Array = [];
            var k:int = this._container.roomEngine.getRoomObjectCount(k, k, _-1sV._-3I0);
            var k:int;
            while (k < k)
            {
                k = this._container.roomEngine.getRoomObjectWithIndex(k, k, k, _-1sV._-3I0);
                k = this._container.roomSession.userDataManager.getUserDataByIndex(k.getId());
                if (k != null)
                {
                    k.push(new _-4mJ(k.roomObjectId, _-1sV._-3I0, k.name));
                };
                k++;
            };
            k.sort(this._-2D6);
            this._container.events.dispatchEvent(new _-2C8(_-2C8._-0UG, k));
        }
        public function _-1bj():Array
        {
            return (null);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-0Ja

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-4Vo;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-yT._-1Rr;
    import _-og._-1df;
    import _-Os.PetFigureData;
    import flash.display.BitmapData;
    import flash.events.Event;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import _-293.*;
    import _-1ye.*;

    public class _-0Ja implements _-26C, dynamic 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;
        private var _-44i:int = -1;
        private var _-3Gp:int = -1;
        private var _-28U:int = -1;
        private var _color:String = "";

        public function get type():String
        {
            return (_-4QU._-18I);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function _-375():Array
        {
            return ([_-4Vo._-3R4]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-4Vo;
            switch (_arg1.type)
            {
                case _-4Vo._-3R4:
                    _local2 = (_arg1 as _-4Vo);
                    if (((!((this._container == null))) && (!((this._container.roomSession == null)))))
                    {
                        this._container.roomSession._-26M(_local2._-mx, _local2.name);
                    };
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([_-1Rr._-0AQ, _-1Rr._-0zD]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:_-1Rr;
            var k:_-1df;
            var _local4:PetFigureData;
            var _local5:BitmapData;
            var _local6:int;
            var _local7:String;
            if (_arg1 == null)
            {
                return;
            };
            if (((((!((this._container == null))) && (!((this._container.events == null))))) && (!((_arg1 == null)))))
            {
                switch (_arg1.type)
                {
                    case _-1Rr._-0AQ:
                        k = (_arg1 as _-1Rr);
                        this._-44i = k._-mx;
                        _local4 = k.figureData;
                        this._-3Gp = _local4.typeId;
                        this._-28U = _local4.paletteId;
                        this._color = _local4.color;
                        _local5 = this._-2s2();
                        k = new _-1df(_-1df._-jb, this._-44i, _local5, -1, null);
                        this._container.events.dispatchEvent(k);
                        return;
                    case _-1Rr._-0zD:
                        k = (_arg1 as _-1Rr);
                        this._-44i = k._-mx;
                        _local6 = k.nameValidationStatus;
                        _local7 = k.nameValidationInfo;
                        k = new _-1df(_-1df._-3Mz, this._-44i, null, _local6, _local7);
                        this._container.events.dispatchEvent(k);
                        return;
                };
            };
        }
        public function update():void
        {
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
            this._-44i = -1;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:_-1df = new _-1df(_-1df._-1Qt, this._-44i, _arg2, -1, null);
            this._container.events.dispatchEvent(k);
        }
        private function _-2s2():BitmapData
        {
            var k:uint = parseInt(this._color, 16);
            var k:uint;
            var k:_-2Gt = this._container.roomEngine._-2s2(this._-3Gp, this._-28U, k, new _-Xl(90), 64, this, true, k);
            if (k != null)
            {
                return (k.data);
            };
            return (null);
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-1B2

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-4xB;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-yT._-X3;
    import _-23M._-2Pi;
    import _-og._-4Iw;
    import flash.events.Event;
    import _-1ye.*;

    public class _-1B2 implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get type():String
        {
            return (_-4QU._-0hU);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._disposed = true;
            this._container = null;
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-4xB._-iL);
            k.push(_-4xB._-10k);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-4xB;
            var _local3:_-4xB;
            if (((!(_arg1)) || (!(this._container))))
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-4xB._-iL:
                    _local2 = (_arg1 as _-4xB);
                    if (((!(_local2)) || (!(this._container._-4zV))))
                    {
                        return (null);
                    };
                    this._container._-4zV.acceptFriendRequest(_local2._-0nn);
                    break;
                case _-4xB._-10k:
                    _local3 = (_arg1 as _-4xB);
                    if (((!(_local3)) || (!(this._container._-4zV))))
                    {
                        return (null);
                    };
                    this._container._-4zV.declineFriendRequest(_local3._-0nn);
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(_-X3._-Uy);
            k.push(_-2Pi._-4C6);
            k.push(_-2Pi._-no);
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:_-4Iw;
            var k:String;
            var _local4:_-X3;
            var _local5:_-2Pi;
            if ((((this._container == null)) || ((this._container.events == null))))
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-X3._-Uy:
                    _local4 = (_arg1 as _-X3);
                    if (!_local4)
                    {
                        return;
                    };
                    k = _-4Iw._-Li;
                    k = new _-4Iw(k, _local4._-0nn, _local4.userId, _local4.userName);
                    break;
                case _-2Pi._-4C6:
                case _-2Pi._-no:
                    _local5 = (_arg1 as _-2Pi);
                    if (!_local5)
                    {
                        return;
                    };
                    k = _-4Iw._-2-A;
                    k = new _-4Iw(k, _local5._-0nn);
                    break;
            };
            if (k)
            {
                this._container.events.dispatchEvent(k);
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-1bh

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-2Zs;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-yT._-0QM;
    import _-og._-3T0;
    import flash.events.Event;
    import _-1ye.*;

    public class _-1bh implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-2yV);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-2Zs._-2yV]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-2Zs;
            switch (_arg1.type)
            {
                case _-2Zs._-2yV:
                    _local2 = (_arg1 as _-2Zs);
                    if (_local2 == null)
                    {
                        return (null);
                    };
                    this._container.roomSession._-3Wv(_local2.vote);
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(_-0QM._-3Wu);
            k.push(_-0QM._-4MV);
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:_-3T0;
            if ((((this._container == null)) || ((this._container.events == null))))
            {
                return;
            };
            var k:_-0QM = (_arg1 as _-0QM);
            if (k == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-0QM._-3Wu:
                    k = new _-3T0(_-3T0._-3Wu, k.question, k.choices);
                    break;
                case _-0QM._-4MV:
                    k = new _-3T0(_-3T0._-4MV, k.question, k.choices, k.votes, k._-3DO);
                    break;
            };
            if (k == null)
            {
                return;
            };
            this._container.events.dispatchEvent(k);
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-1Hr

package _-4f7
{
    import _-1ye._-G0;
    import _-1di._-3vU;
    import _-2HX._-4QU;
    import _-3MI._-0Sy;
    import _-1FD._-2CC;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-0f1._-1hE;
    import flash.utils.ByteArray;
    import _-1B-.*;
    import _-1ye.*;

    public class _-1Hr implements _-26C, _-1zZ 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0 = null;
        private var _-0dg:_-3vU;

        public function get type():String
        {
            return (_-4QU._-3HJ);
        }
        public function set container(_arg1:_-G0):void
        {
            if (((this._container) && (this._container.toolbar)))
            {
                this._container.toolbar.events.removeEventListener(_-0Sy._-4EP, this._-59x);
            };
            this._container = _arg1;
            if (((this._container) && (this._container.toolbar)))
            {
                this._container.toolbar.events.addEventListener(_-0Sy._-4EP, this._-59x);
            };
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function _-375():Array
        {
            return ([_-2CC._-2pB]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            if (!_arg1)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-2CC._-2pB:
                    this._-0dg._-4HH();
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }
        public function dispose():void
        {
            this._disposed = false;
            this._container = null;
            this._-0dg = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set widget(_arg1:_-3vU):void
        {
            this._-0dg = _arg1;
        }
        private function _-59x(_arg1:_-0Sy):void
        {
            if (_arg1.type == _-0Sy._-4EP)
            {
                if (this._-0dg)
                {
                    this._-0dg._-4HH();
                };
            };
        }
        public function _-1eY(_arg1:ByteArray):void
        {
            this._container.connection.send(new _-1hE(_arg1));
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-1-I

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-2A3;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-yT._-1eF;
    import _-og._-1o5;
    import flash.events.Event;
    import _-1ye.*;

    public class _-1-I implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-0Dp);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-2A3._-2bM]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-2A3;
            switch (_arg1.type)
            {
                case _-2A3._-2bM:
                    _local2 = (_arg1 as _-2A3);
                    this._container.roomSession._-5P(_local2.userName, _local2._-3sF);
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([_-1eF._-0Dp, _-1eF._-0Iv, _-1eF._-4C6]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:_-1eF;
            switch (_arg1.type)
            {
                case _-1eF._-0Dp:
                    k = (_arg1 as _-1eF);
                    if (k == null)
                    {
                        return;
                    };
                    this._container.events.dispatchEvent(new _-1o5(_-1o5._-2m, k.userName));
                    return;
                case _-1eF._-0Iv:
                    k = (_arg1 as _-1eF);
                    if (k == null)
                    {
                        return;
                    };
                    this._container.events.dispatchEvent(new _-1o5(_-1o5._-0Iv, k.userName));
                    return;
                case _-1eF._-4C6:
                    k = (_arg1 as _-1eF);
                    if (k == null)
                    {
                        return;
                    };
                    this._container.events.dispatchEvent(new _-1o5(_-1o5._-4C6, k.userName));
                    return;
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-1Or

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-38W;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-og._-4AZ;
    import _-3mW._-4Wq;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-1Or implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-0PY);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-38W._-4V0]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-38W;
            var _local3:_-3SU;
            var k:_-30N;
            var k:Number;
            var k:String;
            var k:int;
            var k:String;
            var k:String;
            var k:String;
            var k:_-4AZ;
            if (((this.disposed) || ((_arg1 == null))))
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-38W._-4V0:
                    _local2 = (_arg1 as _-38W);
                    _local3 = this._container.roomEngine.getRoomObject(_local2.roomId, _local2.roomCategory, _local2.id, _local2.category);
                    if (_local3 != null)
                    {
                        k = _local3.getModel();
                        if (k != null)
                        {
                            k = k.getNumber(_-4Wq._-44K);
                            k = k.getString(_-4Wq._-3jB);
                            k = parseInt(k.getString(_-4Wq._-3HL));
                            k = k.substring(0, k.indexOf("\t"));
                            k = k.substring((k.length + 1), k.length);
                            k = k.substring(0, k.indexOf("\t"));
                            k = k.substring((k.length + 1), k.length);
                            k = new _-4AZ(_-4AZ._-wP, k, k, k, k, k);
                            this._container.events.dispatchEvent(k);
                        };
                    };
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:Event;
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-1zx

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-1H6._-4DZ;
    import _-og._-0fH;
    import _-og._-0Lw;
    import flash.events.Event;
    import _-1ye.*;

    public class _-1zx implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-d6);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            return (null);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(_-4DZ._-1Ss);
            k.push(_-4DZ._-UG);
            k.push(_-0fH._-WV);
            k.push(_-0fH._-1MR);
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:_-4DZ;
            var _local3:_-0Lw;
            if ((((this._container == null)) || ((this._container.events == null))))
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-4DZ._-1Ss:
                    _local2 = (_arg1 as _-4DZ);
                    if (_local2 == null)
                    {
                        return;
                    };
                    _local3 = new _-0Lw(_-0Lw._-WV, _local2.image, _local2._-eO);
                    this._container.events.dispatchEvent(_local3);
                    return;
                case _-4DZ._-UG:
                    this._container._-07c();
                    return;
                case _-0fH._-WV:
                    this._container.events.dispatchEvent(_arg1);
                    return;
                case _-0fH._-1MR:
                    this._container.events.dispatchEvent(_arg1);
                    return;
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-22h

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-38W;
    import _-1FD._-45O;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-293._-2Gt;
    import _-og._-2lU;
    import _-3mW._-4Wq;
    import _-0y0._-Xl;
    import _-3mW._-1sV;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.display.BitmapData;
    import _-yT._-gk;
    import _-4n1._-0hX;
    import _-32F._-48b;
    import _-0l8.PetFigureData;
    import _-2Mh._-3Uw;
    import _-0l8._-3iK;
    import flash.events.Event;
    import _-293.*;
    import _-1ye.*;

    public class _-22h implements _-26C, dynamic 
    {

        private static const _-BF:String = "floor";
        private static const _-3ve:String = "wallpaper";
        private static const _-9L:String = "landscape";
        private static const _-4Xo:String = "poster";

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;
        private var _-44i:int = -1;
        private var _name:String = "";

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-08H);
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-38W._-2mb, _-45O._-00W]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-38W;
            var _local3:_-3SU;
            var _local4:_-45O;
            var k:_-30N;
            var k:String;
            var k:String;
            var k:String;
            var k:int;
            var k:String;
            var k:int;
            var k:_-2Gt;
            var k:_-2lU;
            switch (_arg1.type)
            {
                case _-38W._-2mb:
                    _local2 = (_arg1 as _-38W);
                    _local3 = this._container.roomEngine.getRoomObject(_local2.roomId, _local2.roomCategory, _local2.id, _local2.category);
                    if (_local3 != null)
                    {
                        k = _local3.getModel();
                        if (k != null)
                        {
                            this._-44i = _local2.id;
                            k = k.getString(_-4Wq._-3jB);
                            if (k == null)
                            {
                                k = "";
                            };
                            k = k.getString(_-4Wq._-3Dm);
                            k = k.getString(_-4Wq._-4xc);
                            k = k.getNumber(_-4Wq._-0z3);
                            k = k.getString(_-4Wq._-3HL);
                            k = 32;
                            k = this._container.roomEngine.getFurnitureImage(k, new _-Xl(180), k, null, 0, k);
                            k = new _-2lU(_-2lU._-16M, _local2.id, k, this._container._-0Mx(_local3), k.data, k, k);
                            this._container.events.dispatchEvent(k);
                        };
                    };
                    break;
                case _-45O._-00W:
                    _local4 = (_arg1 as _-45O);
                    if (_local4._-mx != this._-44i)
                    {
                        return (null);
                    };
                    if (this._container != null)
                    {
                        if (this._container.roomSession != null)
                        {
                            this._container.roomSession._-5E2(_local4._-mx);
                        };
                        if (this._container.roomEngine != null)
                        {
                            this._container.roomEngine._-4jn(this._container.roomEngine.activeRoomId, this._container.roomEngine.activeRoomCategory, _local4._-mx, _-1sV._-0u-, _-4Wq._-17J, 1);
                        };
                    };
                    break;
            };
            return (null);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (((this.disposed) || ((this._container == null))))
            {
                return;
            };
            var k:_-2lU = new _-2lU(_-2lU._-0Xv, 0, this._name, false, _arg2);
            this._container.events.dispatchEvent(k);
        }
        public function _-1bj():Array
        {
            return ([_-gk._-1JI]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:_-gk;
            var k:_-0hX;
            var k:_-2Gt;
            var k:_-2lU;
            var k:Boolean;
            var k:_-48b;
            var k:_-3SU;
            var _local9:String;
            var _local10:String;
            var k:int;
            var k:String;
            var k:PetFigureData;
            var k:int;
            var k:int;
            var k:_-2Gt;
            if (_arg1 == null)
            {
                return;
            };
            if (((((!((this._container == null))) && (!((this._container.events == null))))) && (!((_arg1 == null)))))
            {
                switch (_arg1.type)
                {
                    case _-gk._-1JI:
                        _local2 = (_arg1 as _-gk);
                        if (_local2 != null)
                        {
                            this._name = "";
                            k = null;
                            if (_local2._-15x == _-3Uw._-5Ds)
                            {
                                k = this._container.sessionDataManager._-LX(_local2._-YT);
                            }
                            else
                            {
                                if (_local2._-15x == _-3Uw._-0xA)
                                {
                                    k = this._container.sessionDataManager._-3LT(_local2._-YT);
                                };
                            };
                            k = false;
                            if (_local2._-3dZ)
                            {
                                k = this._container.roomEngine.getRoomObject(this._container.roomSession.roomId, this._container.roomSession.roomCategory, _local2._-17T, _-1sV._-0u-);
                                if (k != null)
                                {
                                    k = this._container._-0Mx(k);
                                };
                            };
                            switch (_local2._-15x)
                            {
                                case _-3Uw._-0xA:
                                    if (k != null)
                                    {
                                        switch (k.name)
                                        {
                                            case _-BF:
                                                k = new _-2lU(_-2lU._-dw, 0, this._container.localization.getKey("inventory.furni.item.floor.name"), k, null);
                                                break;
                                            case _-9L:
                                                k = new _-2lU(_-2lU._-Au, 0, this._container.localization.getKey("inventory.furni.item.landscape.name"), k, null);
                                                break;
                                            case _-3ve:
                                                k = new _-2lU(_-2lU._-Iy, 0, this._container.localization.getKey("inventory.furni.item.wallpaper.name"), k, null);
                                                break;
                                            case _-4Xo:
                                                _local9 = _local2._-1A8;
                                                _local10 = null;
                                                if (_local9.indexOf("poster") == 0)
                                                {
                                                    k = int(_local9.replace("poster", ""));
                                                    _local10 = String(k);
                                                };
                                                k = this._container.roomEngine.getWallItemIcon(_local2._-YT, this, _local10);
                                                k = this._container.sessionDataManager.getProductData(_local9);
                                                if (k != null)
                                                {
                                                    this._name = k.name;
                                                }
                                                else
                                                {
                                                    if (k != null)
                                                    {
                                                        this._name = k.title;
                                                    };
                                                };
                                                if (k != null)
                                                {
                                                    k = new _-2lU(_-2lU._-4VY, 0, this._name, k, k.data);
                                                };
                                                break;
                                            default:
                                                k = this._container.roomEngine.getWallItemIcon(_local2._-YT, this);
                                                if (k != null)
                                                {
                                                    this._name = k.title;
                                                };
                                                if (k != null)
                                                {
                                                    k = new _-2lU(_-2lU._-4VY, 0, this._name, k, k.data);
                                                };
                                        };
                                    };
                                    break;
                                case _-3Uw._-0dl:
                                    k = new _-2lU(_-2lU._-4pN, 0, this._container.localization.getKey("widget.furni.present.hc"), false, null);
                                    break;
                                default:
                                    if (_local2._-eZ == _-3Uw._-2OR)
                                    {
                                        k = _local2._-uc;
                                        if (((!((k == null))) && ((k.length > 0))))
                                        {
                                            k = new PetFigureData(k);
                                            k = 2;
                                            k = 64;
                                            if (k.typeId == _-3iK._-3p6)
                                            {
                                                k = 32;
                                            };
                                            k = this._container.roomEngine._-2s2(k.typeId, k.paletteId, k.color, new _-Xl((k * 45)), k, this, true, 0, k._-uk);
                                            if (k != null)
                                            {
                                            };
                                        };
                                    };
                                    if (k == null)
                                    {
                                        k = this._container.roomEngine.getFurnitureImage(_local2._-YT, new _-Xl(180), 32, this);
                                    };
                                    k = this._container.sessionDataManager.getProductData(_local2._-1A8);
                                    if (k != null)
                                    {
                                        this._name = k.name;
                                    }
                                    else
                                    {
                                        if (k != null)
                                        {
                                            this._name = k.title;
                                        };
                                    };
                                    if (k != null)
                                    {
                                        k = new _-2lU(_-2lU._-4VY, 0, this._name, k, k.data);
                                    };
                            };
                            if (k != null)
                            {
                                k._-YT = _local2._-YT;
                                k._-15x = _local2._-15x;
                                k._-17T = _local2._-17T;
                                k._-3dZ = _local2._-3dZ;
                                k._-eZ = _local2._-eZ;
                                this._container.events.dispatchEvent(k);
                            };
                        };
                };
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-2CH

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-38W;
    import _-1FD._-0aJ;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-og._-4k5;
    import _-3mW._-4Wq;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-2CH implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-0FK);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-38W._-4iL, _-0aJ._-29i]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-38W;
            var _local3:_-3SU;
            var _local4:_-0aJ;
            var k:_-30N;
            var k:Number;
            var k:_-4k5;
            switch (_arg1.type)
            {
                case _-38W._-4iL:
                    _local2 = (_arg1 as _-38W);
                    _local3 = this._container.roomEngine.getRoomObject(_local2.roomId, _local2.roomCategory, _local2.id, _local2.category);
                    if (((!((_local3 == null))) && (this._container._-0Mx(_local3))))
                    {
                        k = _local3.getModel();
                        if (k != null)
                        {
                            k = k.getNumber(_-4Wq._-512);
                            k = new _-4k5(_-4k5._-57z, _local2.id, k);
                            this._container.events.dispatchEvent(k);
                        };
                    };
                    break;
                case _-0aJ._-29i:
                    _local4 = (_arg1 as _-0aJ);
                    if (((!((this._container == null))) && (!((this._container.roomSession == null)))))
                    {
                        this._container.roomSession._-Yv(_local4._-mx);
                    };
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:Event;
            if (((((!((this._container == null))) && (!((this._container.events == null))))) && (!((k == null)))))
            {
                this._container.events.dispatchEvent(k);
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-2f3

package _-4f7
{
    import _-4ot.BackgroundColorFurniWidget;
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-59g._-4KP;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import flash.events.Event;
    import _-1C6._-4ky;
    import _-1ye.*;

    public class _-2f3 implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _-0dg:BackgroundColorFurniWidget;
        private var _container:_-G0;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            if (!this._-4Bk)
            {
                this.container = null;
                this._-4Bk = true;
            };
        }
        public function get type():String
        {
            return (_-4QU._-51W);
        }
        public function set widget(_arg1:BackgroundColorFurniWidget):void
        {
            this._-0dg = _arg1;
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function _-375():Array
        {
            return (null);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            return (null);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(_-4KP._-1Bx);
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:_-4KP;
            var k:_-3SU;
            var k:_-30N;
            var k:int;
            var k:int;
            var k:int;
            switch (_arg1.type)
            {
                case _-4KP._-1Bx:
                    if (this._-4T1())
                    {
                        k = (_arg1 as _-4KP);
                        k = this._container.roomEngine.getRoomObject(k.roomId, k.roomCategory, k._-mx, k.category);
                        k = k.getModel();
                        k = k.getNumber(_-4Wq._-42y);
                        k = k.getNumber(_-4Wq._-27l);
                        k = k.getNumber(_-4Wq._-Ln);
                        this._-0dg.open(k.getId(), k, k, k);
                    };
                    return;
            };
        }
        private function _-4T1():Boolean
        {
            var k:Boolean = this._container.roomSession._-49x;
            var k = (this._container.roomSession._-125 >= _-4ky._-YE);
            var k:Boolean = this._container.sessionDataManager._-3eu;
            return (((((k) || (k))) || (k)));
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-2st

package _-4f7
{
    import _-1ye._-G0;
    import _-2np._-1ZV;
    import _-4Aj._-0tL;
    import _-2HX._-4QU;
    import _-1LV._-3-9;
    import _-3wI._-1L1;
    import _-0ly._-2P9;
    import _-og._-0LN;
    import _-1FD._-3Eq;
    import _-Mq._-4z0;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-2st implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0;
        private var _-51u:_-1ZV = null;
        private var _-2Bd:_-0tL;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get type():String
        {
            return (_-4QU._-AT);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function set connection(_arg1:_-1ZV):void
        {
            this._-2Bd = new _-3-9(this._-52d);
            this._-51u = _arg1;
            this._-51u.addMessageEvent(this._-2Bd);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._-51u.removeMessageEvent(this._-2Bd);
                this._-51u = null;
            };
        }
        private function _-52d(_arg1:_-3-9):void
        {
            var k:String;
            if (_arg1 == null)
            {
                return;
            };
            var k:_-1L1 = _arg1._-3-5();
            var k:int = k.itemId;
            var k:String = k.location;
            var k:String = "post_it";
            var k:_-2P9;
            if (this._container.inventory != null)
            {
                k = this._container.inventory._-g5(k);
            };
            if (((!((k == null))) && (!((this._container.roomEngine == null)))))
            {
                k = this._container.roomEngine._-K4(k.type);
                k = ((k.match("vd")) ? "post_it_vd" : "post_it");
            };
            if (this._container != null)
            {
                if (this._container.events != null)
                {
                    this._container.events.dispatchEvent(new _-0LN(_-0LN._-2F8, k, k, k));
                };
            };
        }
        public function _-375():Array
        {
            return ([_-0LN._-2F8, _-3Eq._-mz]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-3Eq;
            var k:_-4z0;
            switch (_arg1.type)
            {
                case _-3Eq._-mz:
                    _local2 = (_arg1 as _-3Eq);
                    if (_local2 != null)
                    {
                        if (this._-51u != null)
                        {
                            k = new _-4z0(_local2._-mx, _local2.location, _local2._-2vn, _local2.text);
                            this._-51u.send(k);
                        };
                    };
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-2Ue

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-4Aj._-0tL;
    import _-1LV._-4cz;
    import _-2It._-00w;
    import _-3wI._-40Q;
    import _-og._-3PW;
    import _-ta._-oX;
    import _-og._-3tl;
    import _-1FD._-2ve;
    import _-1FD._-45L;
    import _-Mq._-32c;
    import _-0Pi._-3Ba;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-2Ue implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0 = null;
        private var _-2JW:Array;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-1ud();
                this._container = null;
                this._disposed = true;
            };
        }
        public function get type():String
        {
            return (_-4QU._-0iH);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
            this._-4HE();
        }
        private function _-4HE():void
        {
            var k:_-0tL;
            if (((!(this._container)) || (!(this._container.connection))))
            {
                return;
            };
            this._-2JW = [];
            this._-2JW.push(new _-4cz(this._-4zQ));
            this._-2JW.push(new _-00w(this._-493));
            for each (k in this._-2JW)
            {
                this._container.connection.addMessageEvent(k);
            };
        }
        private function _-1ud():void
        {
            var k:_-0tL;
            if (((((!(this._container)) || (!(this._container.connection)))) || (!(this._-2JW))))
            {
                return;
            };
            for each (k in this._-2JW)
            {
                this._container.connection.removeMessageEvent(k);
                k.dispose();
            };
            this._-2JW = null;
        }
        private function _-4zQ(_arg1:_-4cz):void
        {
            var k:_-40Q = _arg1._-3-5();
            var k:_-3PW = new _-3PW();
            k.email = k.email;
            k._-0KL = k._-0KL;
            k._-1Hl = k._-W6;
            k._-4Jh = k._-4Jh;
            k._-1bd = k._-1bd;
            this._container.events.dispatchEvent(k);
        }
        private function _-493(_arg1:_-00w):void
        {
            var k:_-oX = _arg1._-3-5();
            this._container.events.dispatchEvent(new _-3tl(k.result));
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-2ve._-PG);
            k.push(_-45L._-1h3);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-2ve;
            var _local3:_-45L;
            if (!_arg1)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-2ve._-PG:
                    _local2 = (_arg1 as _-2ve);
                    this._container.connection.send(new _-32c(_local2._-4Jh));
                    break;
                case _-45L._-1h3:
                    _local3 = (_arg1 as _-45L);
                    this._container.connection.send(new _-3Ba(_local3._-3eE));
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-2yl

package _-4f7
{
    import _-1ye._-G0;
    import _-171._-1X-;
    import _-4Aj._-0tL;
    import _-2HX._-4QU;
    import _-1LV._-0Xe;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-2yl implements _-26C 
    {

        private var _container:_-G0 = null;
        private var _-4Bk:Boolean = false;
        private var _-0dg:_-1X-;
        private var _-4vI:_-0tL;

        public function get type():String
        {
            return (_-4QU._-4Om);
        }
        public function set widget(_arg1:_-1X-):void
        {
            this._-0dg = _arg1;
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
            if (!this._-4vI)
            {
                this._-4vI = new _-0Xe(this._-1Gx);
                this._container.connection.addMessageEvent(this._-4vI);
            };
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function _-375():Array
        {
            return ([]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            return (null);
        }
        public function _-1bj():Array
        {
            return (null);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (((this._container.connection) && (this._-4vI)))
                {
                    this._container.connection.removeMessageEvent(this._-4vI);
                };
                this._-4vI = null;
                this._-0dg = null;
                this._container = null;
                this._-4Bk = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function _-1Gx(_arg1:_-0Xe):void
        {
            var k:int = _arg1._-3-5().code;
            if (this._-0dg)
            {
                switch (k)
                {
                    case 1:
                        this._-0dg.open(_-1X-._-3pr);
                        return;
                    case 2:
                        this._-0dg.open(_-1X-._-1Sc);
                        return;
                    case 3:
                        this._-0dg.open(_-1X-._-1cE);
                        return;
                    case 4:
                        this._-0dg.open(_-1X-._-36L);
                        return;
                    case 5:
                        this._-0dg.open(_-1X-._-4bx);
                        return;
                };
            };
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-3cy

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-38W;
    import _-1FD._-2Lv;
    import _-1FD._-4MU;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-4n1._-0hX;
    import _-og._-2n5;
    import _-3mW._-4Wq;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.display.BitmapData;
    import _-yT._-gk;
    import _-293._-2Gt;
    import flash.events.Event;
    import _-293.*;
    import _-1ye.*;

    public class _-3cy implements _-26C, dynamic 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;
        private var _-44i:int = -1;
        private var _name:String = "";

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-3aQ);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-38W._-59G, _-2Lv._-3zj, _-4MU._-5FL]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-38W;
            var _local3:_-3SU;
            var _local4:_-2Lv;
            var k:_-30N;
            var k:String;
            var k:int;
            var k:_-0hX;
            var k:String;
            var k:Boolean;
            var k:_-2n5;
            switch (_arg1.type)
            {
                case _-38W._-59G:
                    _local2 = (_arg1 as _-38W);
                    _local3 = this._container.roomEngine.getRoomObject(_local2.roomId, _local2.roomCategory, _local2.id, _local2.category);
                    if (_local3 != null)
                    {
                        k = _local3.getModel();
                        if (k != null)
                        {
                            this._-44i = _local2.id;
                            k = k.getString(_-4Wq._-3jB);
                            if (k == null)
                            {
                                return (null);
                            };
                            k = k.getNumber(_-4Wq._-0z3);
                            k = this._container.sessionDataManager._-LX(k);
                            k = (((k)!=null) ? k.name : "");
                            k = ((this._container.roomSession._-49x) || (this._container.sessionDataManager._-3eu));
                            k = new _-2n5(_-2n5._-16M, _local2.id, k, k, k);
                            this._container.events.dispatchEvent(k);
                        };
                    };
                    break;
                case _-2Lv._-3zj:
                    _local4 = (_arg1 as _-2Lv);
                    if (_local4._-mx != this._-44i)
                    {
                        return (null);
                    };
                    if (((!((this._container == null))) && (!((this._container.roomSession == null)))))
                    {
                        this._container.roomSession._-5E2(_local4._-mx);
                    };
                    break;
            };
            return (null);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (this.disposed)
            {
                return;
            };
            var k:_-2n5 = new _-2n5(_-2n5._-4VY, 0, this._name, "", false, _arg2);
            this._container.events.dispatchEvent(k);
        }
        public function _-1bj():Array
        {
            return ([_-gk._-1JI]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:_-gk;
            var k:_-2Gt;
            var k:_-0hX;
            var k:_-2n5;
            if (_arg1 == null)
            {
                return;
            };
            if (((((!((this._container == null))) && (!((this._container.events == null))))) && (!((_arg1 == null)))))
            {
                switch (_arg1.type)
                {
                    case _-gk._-1JI:
                        _local2 = (_arg1 as _-gk);
                        if (_local2 != null)
                        {
                            k = null;
                            this._name = "";
                            if (_local2._-15x == "s")
                            {
                                k = this._container.roomEngine.getFurnitureIcon(_local2._-YT, this);
                                k = this._container.sessionDataManager._-LX(_local2._-YT);
                            }
                            else
                            {
                                if (_local2._-15x == "i")
                                {
                                    k = this._container.roomEngine.getWallItemIcon(_local2._-YT, this);
                                    k = this._container.sessionDataManager._-3LT(_local2._-YT);
                                };
                            };
                            if (k != null)
                            {
                                this._name = k.title;
                            };
                            if (k != null)
                            {
                                k = new _-2n5(_-2n5._-4VY, 0, this._name, "", false, k.data);
                                this._container.events.dispatchEvent(k);
                            };
                        };
                };
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-3eF

package _-4f7
{
    import _-1ye._-G0;
    import _-3fZ._-380;
    import _-2HX._-4QU;
    import _-1FD._-2ZY;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-yT._-Gi;
    import _-og._-1nN;
    import flash.events.Event;
    import _-og._-d0;
    import _-1ye.*;

    public class _-3eF implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;
        private var _-0dg:_-380;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-1ve);
        }
        public function set widget(_arg1:_-380):void
        {
            this._-0dg = _arg1;
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-2ZY._-4z1);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-2ZY;
            switch (_arg1.type)
            {
                case _-2ZY._-4z1:
                    _local2 = (_arg1 as _-2ZY);
                    if (_local2 != null)
                    {
                        this._container.roomSession._-2Md(_local2._-1SB);
                    };
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([_-Gi._-0oo, _-1nN._-0sB]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local3:_-Gi;
            var _local4:int;
            var k:Event;
            if ((((this._container == null)) || ((this._container.events == null))))
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-Gi._-0oo:
                    _local3 = (_arg1 as _-Gi);
                    _local4 = parseInt(_local3.text);
                    k = new _-d0(_local4);
                    break;
                case _-1nN._-0sB:
                    this._-c8((_arg1 as _-1nN));
                    return;
            };
            if (((((!((this._container == null))) && (!((this._container.events == null))))) && (!((k == null)))))
            {
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-c8(_arg1:_-1nN):void
        {
            if (((_arg1) && ((_arg1._-3cC == this.type))))
            {
                this._-0dg.hide();
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-3EQ

package _-4f7
{
    import _-1ye._-G0;
    import _-1FD._-0hl;
    import _-1Jd._-4JJ;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-1Jd._-4LX;
    import _-3mW._-1sV;
    import _-og._-2AE;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-3EQ implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0 = null;

        public function dispose():void
        {
            this._disposed = true;
            this._container = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get type():String
        {
            return (null);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-0hl._-4wM);
            k.push(_-0hl._-34O);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var k:_-0hl;
            var k:_-4JJ;
            var k:Rectangle;
            var k:Point;
            var k:Rectangle;
            var _local7:_-4LX;
            if (((!(_arg1)) || (!(this._container))))
            {
                return (null);
            };
            k = (_arg1 as _-0hl);
            if (!k)
            {
                return (null);
            };
            k = this._container.roomSession;
            switch (_arg1.type)
            {
                case _-0hl._-4wM:
                    if (((!(k)) || (!(k.userDataManager))))
                    {
                        return (null);
                    };
                    _local7 = k.userDataManager._-3hQ(k._-mx, k._-2zd);
                    if (_local7)
                    {
                        k = this._container.roomEngine._-1Uk(k.roomId, k.roomCategory, _local7.roomObjectId, _-1sV._-3I0, this._container._-1mN());
                        k = this._container.roomEngine._-3U2(k.roomId, k.roomCategory, _local7.roomObjectId, _-1sV._-3I0, this._container._-1mN());
                        k = this._container._-iG();
                        if (((((k) && (k))) && (k)))
                        {
                            k.offset(k.x, k.y);
                            k.offset(k.x, k.y);
                        };
                    };
                    return (new _-2AE(k._-mx, k, k));
                case _-0hl._-34O:
                    k = this._container.roomEngine._-1Uk(k.roomId, k.roomCategory, k._-mx, _-1sV._-3I0, this._container._-1mN());
                    k = this._container.roomEngine._-3U2(k.roomId, k.roomCategory, k._-mx, _-1sV._-3I0, this._container._-1mN());
                    k = this._container._-iG();
                    if (((((k) && (k))) && (k)))
                    {
                        k.offset(k.x, k.y);
                        k.offset(k.x, k.y);
                    };
                    return (new _-2AE(k._-mx, k, k));
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-3Pt

package _-4f7
{
    import _-1ye._-G0;
    import _-1B._-2lY;
    import _-2HX._-4QU;
    import _-4WI._-4yb;
    import _-1FD._-2CC;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-3Pt implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0 = null;
        private var _-0dg:_-2lY;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this.container = null;
                this._-0dg = null;
                this._disposed = true;
            };
        }
        public function get type():String
        {
            return (_-4QU._-4ma);
        }
        public function set widget(_arg1:_-2lY):void
        {
            this._-0dg = _arg1;
        }
        public function set container(_arg1:_-G0):void
        {
            if (((this._container) && (this._container.inventory)))
            {
                this._container.inventory.events.removeEventListener(_-4yb._-gU, this._-4Q6);
            };
            this._container = _arg1;
            if (((this._container) && (this._container.inventory)))
            {
                this._container.inventory.events.addEventListener(_-4yb._-gU, this._-4Q6);
            };
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        private function _-4Q6(_arg1:_-4yb):void
        {
            if (this._-0dg)
            {
                this._-0dg.open();
            };
        }
        public function _-375():Array
        {
            return ([_-2CC._-34B]);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            if (!_arg1)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-2CC._-34B:
                    this._-0dg.open();
                    break;
            };
            return (null);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-3VV

package _-4f7
{
    import _-1ye._-G0;
    import _-2np._-1ZV;
    import _-4Aj._-0tL;
    import _-2HX._-4QU;
    import _-1ZZ._-5A0;
    import _-1ZZ._-3SC;
    import _-1ZZ._-z6;
    import _-CQ._-1F7;
    import _-CQ._-5Bq;
    import _-CQ._-3WQ;
    import _-1FD._-38W;
    import _-1FD._-29n;
    import _-1FD._-4CA;
    import _-1FD._-hF;
    import _-3V-._-3SU;
    import _-og._-0L3;
    import _-1C6._-4ky;
    import _-4xL._-0Vv;
    import _-2vq._-3E5;
    import _-2vq._-0Wt;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-59g._-iV;
    import flash.events.Event;
    import _-og._-4HQ;
    import _-1ye.*;

    public class _-3VV implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0;
        private var _-51u:_-1ZV = null;
        private var _-F5:_-0tL;
        private var _-0-S:_-0tL;
        private var _-2oT:_-0tL;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get type():String
        {
            return (_-4QU._-3xZ);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
            if (this._container._-0Y)
            {
                this._container._-0Y.events.addEventListener(_-5A0._-0da, this._-1pW);
                this._container._-0Y.events.addEventListener(_-3SC._-0t3, this._-1pW);
                this._container._-0Y.events.addEventListener(_-3SC._-0lL, this._-1pW);
                this._container._-0Y.events.addEventListener(_-z6._-47G, this._-1pW);
                this._container._-0Y.events.addEventListener(_-z6._-0zO, this._-1pW);
                this._container._-0Y.events.addEventListener(_-z6._-3x8, this._-1pW);
            };
        }
        public function set connection(_arg1:_-1ZV):void
        {
            this._-F5 = new _-1F7(this._-2xI);
            this._-0-S = new _-5Bq(this._-2xI);
            this._-2oT = new _-3WQ(this._-2xI);
            this._-51u = _arg1;
            this._-51u.addMessageEvent(this._-F5);
            this._-51u.addMessageEvent(this._-0-S);
            this._-51u.addMessageEvent(this._-2oT);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                if (this._-51u)
                {
                    this._-51u.removeMessageEvent(this._-F5);
                    this._-51u.removeMessageEvent(this._-0-S);
                    this._-51u.removeMessageEvent(this._-2oT);
                };
                this._-51u = null;
                this._-F5 = null;
                if (this._container)
                {
                    if (this._container._-0Y)
                    {
                        if (this._container._-0Y.events)
                        {
                            this._container._-0Y.events.removeEventListener(_-5A0._-0da, this._-1pW);
                            this._container._-0Y.events.removeEventListener(_-3SC._-0t3, this._-1pW);
                            this._container._-0Y.events.removeEventListener(_-3SC._-0lL, this._-1pW);
                            this._container._-0Y.events.removeEventListener(_-z6._-47G, this._-1pW);
                            this._container._-0Y.events.removeEventListener(_-z6._-0zO, this._-1pW);
                            this._container._-0Y.events.removeEventListener(_-z6._-3x8, this._-1pW);
                        };
                    };
                    this._container = null;
                };
            };
        }
        public function _-375():Array
        {
            return ([_-38W._-1Bb, _-29n._-2YK, _-29n._-3rA, _-4CA._-2Sv, _-hF._-39H]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-38W;
            var _local3:_-3SU;
            var _local4:_-29n;
            var _local5:_-29n;
            var _local6:_-4CA;
            var k:Boolean;
            var k:Boolean;
            var k:_-0L3;
            switch (_arg1.type)
            {
                case _-38W._-1Bb:
                    _local2 = (_arg1 as _-38W);
                    _local3 = this._container.roomEngine.getRoomObject(_local2.roomId, _local2.roomCategory, _local2.id, _local2.category);
                    if (_local3 != null)
                    {
                        k = this._container._-0Mx(_local3);
                        k = ((((this._container.roomSession._-49x) || ((this._container.roomSession._-125 >= _-4ky._-YE)))) || (this._container.sessionDataManager._-3eu));
                        if (k)
                        {
                            k = new _-0L3(_-0L3._-1rN, _local2.id);
                            this._container.events.dispatchEvent(k);
                        }
                        else
                        {
                            if (k)
                            {
                                if (this._-51u != null)
                                {
                                    this._-51u.send(new _-0Vv(_local3.getId(), -2));
                                };
                            };
                        };
                    };
                    break;
                case _-29n._-2YK:
                    _local4 = (_arg1 as _-29n);
                    if (this._-51u != null)
                    {
                        this._-51u.send(new _-3E5(_local4._-3cX, _local4._-4s7));
                    };
                    break;
                case _-29n._-3rA:
                    _local5 = (_arg1 as _-29n);
                    if (this._-51u != null)
                    {
                        this._-51u.send(new _-0Wt(_local5._-4s7));
                    };
                    break;
                case _-4CA._-2Sv:
                    _local6 = (_arg1 as _-4CA);
                    if (this._-51u != null)
                    {
                        this._-51u.send(new _-0Vv(_local6._-4Jh, _local6.position));
                    };
                    break;
                case _-hF._-39H:
                    this._container.habboTracking.trackGoogle("playlistEditorPanelOpenCatalogue", "click");
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(_-iV._-4uE);
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:_-iV;
            var _local3:_-0L3;
            switch (_arg1.type)
            {
                case _-iV._-4uE:
                    _local2 = (_arg1 as _-iV);
                    _local3 = new _-0L3(_-0L3._-4BT, _local2._-mx);
                    this._container.events.dispatchEvent(_local3);
                    return;
            };
        }
        public function update():void
        {
        }
        private function _-2xI(_arg1:_-0tL):void
        {
            if (this._container != null)
            {
                if (this._container.events != null)
                {
                    this._container.events.dispatchEvent(new _-0L3(_-0L3._-1nJ, -1));
                };
            };
        }
        private function _-1pW(_arg1:Event):void
        {
            var k:_-z6;
            switch (_arg1.type)
            {
                case _-5A0._-0da:
                    this._container.events.dispatchEvent(new _-0L3(_-0L3._-1W4));
                    return;
                case _-3SC._-0t3:
                    this._container.events.dispatchEvent(new _-0L3(_-0L3._-0t3));
                    return;
                case _-3SC._-0lL:
                    this._container.events.dispatchEvent(new _-0L3(_-0L3._-0lL));
                    return;
                case _-z6._-47G:
                    k = (_arg1 as _-z6);
                    this._container.events.dispatchEvent(new _-4HQ(_-4HQ._-47G, k.id, k.position, k.priority));
                    return;
                case _-z6._-0zO:
                    k = (_arg1 as _-z6);
                    this._container.events.dispatchEvent(new _-4HQ(_-4HQ._-0zO, k.id, k.position, k.priority));
                    return;
                case _-z6._-3x8:
                    k = (_arg1 as _-z6);
                    this._container.events.dispatchEvent(new _-4HQ(_-4HQ._-3x8, k.id, k.position, k.priority));
                    return;
            };
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-4bj

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-38W;
    import _-1FD._-TC;
    import _-1FD._-sb;
    import _-1FD._-1ev;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-1C6._-4ky;
    import _-yT.RoomSessionDimmerPresetsEvent;
    import _-59g._-2lz;
    import _-59g._-4KP;
    import _-og.RoomWidgetDimmerUpdateEvent;
    import _-og._-0gO;
    import _-yT._-28F;
    import flash.events.Event;
    import _-1ye.*;

    public class _-4bj implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-j);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-38W._-1kf, _-TC._-09W, _-sb.CHANGE_STATE, _-1ev._-416]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:int;
            var _local3:int;
            var _local4:_-1ev;
            var k:_-TC;
            switch (_arg1.type)
            {
                case _-38W._-1kf:
                    if (this._-4T1())
                    {
                        this._container.roomSession._-0h0();
                    };
                    break;
                case _-TC._-09W:
                    if (this._-4T1())
                    {
                        k = (_arg1 as _-TC);
                        this._container.roomSession._-1C9(k._-57g, k._-4n8, k.color, k._-42j, k.apply);
                    };
                    break;
                case _-sb.CHANGE_STATE:
                    if (this._-4T1())
                    {
                        this._container.roomSession._-0V1();
                    };
                    break;
                case _-1ev._-416:
                    _local2 = this._container.roomSession.roomId;
                    _local3 = this._container.roomSession.roomCategory;
                    _local4 = (_arg1 as _-1ev);
                    if ((((_local4 == null)) || ((this._container.roomEngine == null))))
                    {
                        return (null);
                    };
                    this._container.roomEngine._-4Gg(_local2, _local3, _local4.color, _local4._-42j, _local4._-2J-);
                    break;
            };
            return (null);
        }
        private function _-4T1():Boolean
        {
            var k:Boolean = this._container.roomSession._-49x;
            var k = (this._container.roomSession._-125 >= _-4ky._-YE);
            var k:Boolean = this._container.sessionDataManager._-3eu;
            return (((((k) || (k))) || (k)));
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(RoomSessionDimmerPresetsEvent._-3Qp);
            k.push(_-2lz._-2di);
            k.push(_-4KP._-46r);
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:RoomSessionDimmerPresetsEvent;
            var _local3:RoomWidgetDimmerUpdateEvent;
            var _local4:_-2lz;
            var _local5:_-0gO;
            var k:int;
            var k:_-28F;
            if ((((this._container == null)) || ((this._container.events == null))))
            {
                return;
            };
            switch (_arg1.type)
            {
                case RoomSessionDimmerPresetsEvent._-3Qp:
                    _local2 = (_arg1 as RoomSessionDimmerPresetsEvent);
                    _local3 = new RoomWidgetDimmerUpdateEvent(RoomWidgetDimmerUpdateEvent._-1oZ);
                    _local3._-39D = _local2._-39D;
                    k = 0;
                    while (k < _local2._-Mr)
                    {
                        k = _local2._-1I7(k);
                        if (k != null)
                        {
                            _local3._-5ER(k.id, k.type, k.color, k._-IP);
                        };
                        k++;
                    };
                    this._container.events.dispatchEvent(_local3);
                    return;
                case _-2lz._-2di:
                    _local4 = (_arg1 as _-2lz);
                    _local5 = new _-0gO(_local4.state, _local4._-0Wp, _local4._-33s, _local4.color, _local4._-42j);
                    this._container.events.dispatchEvent(_local5);
                    return;
                case _-4KP._-46r:
                    this._container.events.dispatchEvent(new RoomWidgetDimmerUpdateEvent(RoomWidgetDimmerUpdateEvent._-Ne));
                    return;
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-4dd

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-2CC;
    import _-1FD._-1m0;
    import _-3mW._-1sV;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-4n1._-0hX;
    import _-3V-._-3SU;
    import _-3mW._-4Wq;
    import _-og._-4mJ;
    import _-og._-2C8;
    import flash.events.Event;
    import _-1ye.*;

    public class _-4dd implements _-26C 
    {

        private var _container:_-G0 = null;
        private var _-4Bk:Boolean = false;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-0SZ);
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-2CC._-3y4);
            k.push(_-1m0._-2Ai);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-1m0;
            if (_arg1 == null)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-2CC._-3y4:
                    this._-3pG();
                    break;
                case _-1m0._-2Ai:
                    _local2 = (_arg1 as _-1m0);
                    if (_local2 == null)
                    {
                        return (null);
                    };
                    if ((((_local2.category == _-1sV._-0u-)) || ((_local2.category == _-1sV._-20L))))
                    {
                        this._container.roomEngine._-0P5(this._container.roomSession.roomId, this._container.roomSession.roomCategory, _local2.id, _local2.category);
                    };
                    break;
            };
            return (null);
        }
        private function _-3pG():void
        {
            var k:int;
            var k:int;
            var k:_-0hX;
            var k:String;
            var k:_-3SU;
            var k:String;
            var k:int;
            if ((((((this._container == null)) || ((this._container.roomSession == null)))) || ((this._container.roomEngine == null))))
            {
                return;
            };
            if (this._container.roomSession.userDataManager == null)
            {
                return;
            };
            var k:int = this._container.roomSession.roomId;
            var k:int = this._container.roomSession.roomCategory;
            var k:Array = [];
            var k:int = this._container.roomEngine.getRoomObjectCount(k, k, _-1sV._-0u-);
            k = 0;
            while (k < k)
            {
                k = this._container.roomEngine.getRoomObjectWithIndex(k, k, k, _-1sV._-0u-);
                if (k != null)
                {
                    k = k.getModel().getNumber(_-4Wq._-0z3);
                    k = this._container.sessionDataManager._-LX(k);
                    if (k != null)
                    {
                        k = k.title;
                    }
                    else
                    {
                        k = k.getType();
                    };
                    k.push(new _-4mJ(k.getId(), _-1sV._-0u-, k));
                };
                k++;
            };
            k = this._container.roomEngine.getRoomObjectCount(k, k, _-1sV._-20L);
            k = 0;
            while (k < k)
            {
                k = this._container.roomEngine.getRoomObjectWithIndex(k, k, k, _-1sV._-20L);
                if (k != null)
                {
                    k = k.getType();
                    if (k.indexOf("poster") == 0)
                    {
                        k = int(k.replace("poster", ""));
                        k = this._container.localization.getKey((("poster_" + k) + "_name"), (("poster_" + k) + "_name"));
                    }
                    else
                    {
                        k = k.getModel().getNumber(_-4Wq._-0z3);
                        k = this._container.sessionDataManager._-3LT(k);
                        if (((!((k == null))) && ((k.title.length > 0))))
                        {
                            k = k.title;
                        }
                        else
                        {
                        };
                    };
                    k.push(new _-4mJ(k.getId(), _-1sV._-20L, k));
                };
                k++;
            };
            k.sort(this._-2D6);
            this._container.events.dispatchEvent(new _-2C8(_-2C8._-31o, k, this._container.sessionDataManager._-3eu));
        }
        private function _-2D6(_arg1:_-4mJ, _arg2:_-4mJ):int
        {
            if ((((((((((_arg1 == null)) || ((_arg2 == null)))) || ((_arg1.name == _arg2.name)))) || ((_arg1.name.length == 0)))) || ((_arg2.name.length == 0))))
            {
                return (1);
            };
            var k:Array = new Array(_arg1.name.toUpperCase(), _arg2.name.toUpperCase()).sort();
            if (k.indexOf(_arg1.name.toUpperCase()) == 0)
            {
                return (-1);
            };
            return (1);
        }
        public function _-1bj():Array
        {
            return (null);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-4Lf

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-0se._-06U;
    import _-1FD._-38W;
    import _-1FD._-N9;
    import _-1FD._-2pd;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-og._-3pq;
    import _-1C6._-4ky;
    import _-ZI.FigureData;
    import _-3mW._-4Wq;
    import _-0se._-e7;
    import _-1Jd._-1ij;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-4Kb.*;
    import _-1ye.*;

    public class _-4Lf implements _-26C, _-PB 
    {

        private static const _-4nI:String = "hd-99999-99999.lg-270-62";
        private static const _-0s0:String = "hd-99999-99999.ch-630-62.lg-695-62";

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;
        private var _-44i:int = -1;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-2ef);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            if (((this._container) && (this._container.avatarEditor)))
            {
                this._container.avatarEditor.close(_-06U._-35f);
            };
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-38W._-40I, _-N9._-23N, _-2pd._-06H]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local5:_-38W;
            var _local6:_-N9;
            var k:Boolean;
            var k:String;
            var k:String;
            var k:_-3SU;
            var k:_-30N;
            var k:_-3pq;
            switch (_arg1.type)
            {
                case _-38W._-40I:
                    _local5 = (_arg1 as _-38W);
                    k = this._container.roomEngine.getRoomObject(_local5.roomId, _local5.roomCategory, _local5.id, _local5.category);
                    if (k != null)
                    {
                        k = k.getModel();
                        if (k != null)
                        {
                            k = ((((this._container.roomSession._-49x) || (this._container.sessionDataManager._-3eu))) || ((this._container.roomSession._-125 >= _-4ky._-YE)));
                            if (k)
                            {
                                k = new _-3pq(_-3pq._-01l, _local5.id, _local5.category, _local5.roomId, _local5.roomCategory);
                                this._container.events.dispatchEvent(k);
                            };
                        };
                    };
                    break;
                case _-N9._-23N:
                    _local6 = (_arg1 as _-N9);
                    k = this._container.roomEngine.getRoomObject(_local6.roomId, _local6.roomCategory, _local6._-mx, _local6._-4hA);
                    if (k != null)
                    {
                        k = k.getModel();
                        if (k != null)
                        {
                            this._-44i = _local6._-mx;
                            k = FigureData._-0pA;
                            k = k.getString(_-4Wq._-4Mh);
                            if ((((k == null)) || ((k == ""))))
                            {
                                k = _-4nI;
                            };
                            if (_local6.gender == FigureData._-0Ag)
                            {
                                k = FigureData._-0Ag;
                                k = k.getString(_-4Wq._-1xd);
                                if ((((k == null)) || ((k == ""))))
                                {
                                    k = _-0s0;
                                };
                            };
                            if (this._container.avatarEditor.openEditor(_-06U._-35f, this, [_-e7._-a3, _-e7._-4a1], false, "${widget.furni.clothingchange.editor.title}"))
                            {
                                this._container.avatarEditor.loadAvatarInEditor(_-06U._-35f, k, k, _-1ij._-42U);
                                k = new _-3pq(_-3pq._-01l, _local6._-mx, _local6._-4hA, _local6.roomId, _local6.roomCategory);
                                this._container.events.dispatchEvent(k);
                            };
                        };
                    };
                    break;
            };
            return (null);
        }
        public function update():void
        {
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function _-26K(_arg1:String, _arg2:String):void
        {
            if (this._container == null)
            {
                return;
            };
            this._container.roomSession._-10z(this._-44i, _arg2, _arg1);
            this._container.avatarEditor.close(_-06U._-35f);
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-4lz

package _-4f7
{
    import _-1ye._-G0;
    import _-0NA._-49m;
    import _-2np._-1ZV;
    import _-4Aj._-0tL;
    import _-293._-5-S;
    import _-59g._-4KP;
    import _-1LV._-1gT;
    import _-1Jd._-4JJ;
    import _-4n1._-0hX;
    import _-3mW._-4Wq;
    import _-3V-._-3SU;
    import _-1FD._-0gH;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-3mW._-1sV;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-0Pi._-4rd;
    import _-3wI._-4v5;
    import _-1ye.*;

    public class _-4lz implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0 = null;
        private var _-0dg:_-49m;
        private var _-51u:_-1ZV;
        private var _-5D6:_-0tL = null;

        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-l();
                if (((!((this._-51u == null))) && (this._-5D6)))
                {
                    this._-51u.removeMessageEvent(this._-5D6);
                    this._-5D6 = null;
                };
                this._-51u = null;
                this._-0dg = null;
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get type():String
        {
            return (null);
        }
        public function get roomEngine():_-5-S
        {
            return (((this._container) ? this._container.roomEngine : null));
        }
        private function _-l():void
        {
            if (this._container != null)
            {
                this._container.roomEngine.events.removeEventListener(_-4KP._-51c, this._-4eE);
                this._container.roomEngine.events.removeEventListener(_-4KP._-1rx, this._-37r);
                this._container.roomEngine.events.removeEventListener(_-4KP._-11B, this._-cy);
                this._container.roomEngine.events.removeEventListener(_-4KP._-LO, this._-2LX);
            };
            this._container = null;
        }
        public function set container(_arg1:_-G0):void
        {
            this._-l();
            this._container = _arg1;
            if (_arg1 == null)
            {
                return;
            };
            if (this._container.roomEngine != null)
            {
                this._container.roomEngine.events.addEventListener(_-4KP._-51c, this._-4eE);
                this._container.roomEngine.events.addEventListener(_-4KP._-1rx, this._-37r);
                this._container.roomEngine.events.addEventListener(_-4KP._-11B, this._-cy);
                this._container.roomEngine.events.addEventListener(_-4KP._-LO, this._-2LX);
            };
        }
        public function set widget(_arg1:_-49m):void
        {
            this._-0dg = _arg1;
        }
        public function set connection(_arg1:_-1ZV):void
        {
            this._-51u = _arg1;
            if (!this._-5D6)
            {
                this._-5D6 = new _-1gT(this._-3w6);
                this._-51u.addMessageEvent(this._-5D6);
            };
        }
        public function get roomSession():_-4JJ
        {
            return (((this._container) ? this._container.roomSession : null));
        }
        public function _-co(_arg1:_-3SU):_-0hX
        {
            var k:_-0hX;
            var k:int;
            if (_arg1)
            {
                k = _arg1.getModel().getNumber(_-4Wq._-0z3);
                k = this._container.sessionDataManager._-LX(k);
            };
            return (k);
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-0gH._-1ss);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-0gH;
            if (!_arg1)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-0gH._-1ss:
                    _local2 = (_arg1 as _-0gH);
                    if (_local2)
                    {
                        this._container.roomSession._-0jl(_local2.roomObjectId);
                    };
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }
        public function _-1M5(_arg1:int):Rectangle
        {
            return (this._container.roomEngine._-1Uk(this._container.roomSession.roomId, this._container.roomSession.roomCategory, _arg1, _-1sV._-0u-, this._container._-1mN()));
        }
        public function _-3VX(_arg1:int):Point
        {
            return (this._container.roomEngine._-3U2(this._container.roomSession.roomId, this._container.roomSession.roomCategory, _arg1, _-1sV._-0u-, this._container._-1mN()));
        }
        public function _-58w(_arg1:int):void
        {
            this._container.navigator.goToPrivateRoom(_arg1);
        }
        public function _-2Ut(_arg1:int):void
        {
            this._-51u.send(new _-4rd(_arg1));
        }
        private function getRoomObject(_arg1:int):_-3SU
        {
            if (this._container == null)
            {
                return (null);
            };
            return (this._container.roomEngine.getRoomObject(this._container.roomSession.roomId, this._container.roomSession.roomCategory, _arg1, _-1sV._-0u-));
        }
        private function _-3w6(_arg1:_-1gT):void
        {
            var k:_-4v5;
            var k:_-3SU;
            if (this._-0dg != null)
            {
                k = _arg1._-3-5();
                k = this.getRoomObject(k._-mx);
                if (k != null)
                {
                    this._-0dg._-3DX(k, k._-2Jo, k._-3L2, k._-1Zg, k._-2RE);
                };
            };
        }
        private function _-4eE(_arg1:_-4KP):void
        {
            var k:_-3SU;
            if (this._-0dg != null)
            {
                k = this.getRoomObject(_arg1._-mx);
                if (k != null)
                {
                    this._-0dg._-09x(k);
                };
            };
        }
        private function _-37r(_arg1:_-4KP):void
        {
            var k:_-3SU;
            if (this._-0dg != null)
            {
                k = this.getRoomObject(_arg1._-mx);
                if (k != null)
                {
                    this._-0dg._-3ip(k, _arg1.category);
                };
            };
        }
        private function _-cy(_arg1:_-4KP):void
        {
            var k:_-3SU;
            var k:Boolean;
            if (this._-0dg != null)
            {
                k = this.getRoomObject(_arg1._-mx);
                if (k != null)
                {
                    k = this._container._-0Mx(k);
                    if (!k)
                    {
                        return;
                    };
                    this._-0dg._-092(k, _arg1.category);
                };
            };
        }
        private function _-2LX(_arg1:_-4KP):void
        {
            var k:_-3SU;
            var k:Boolean;
            if (this._-0dg != null)
            {
                k = this.getRoomObject(_arg1._-mx);
                if (k != null)
                {
                    k = this._container._-0Mx(k);
                    if (!k)
                    {
                        return;
                    };
                    this._-0dg._-44G(k);
                };
            };
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-4Z9

package _-4f7
{
    import _-1ye._-G0;
    import _-1FD._-38W;
    import _-og._-2A7;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-4Z9 implements _-26C 
    {

        private var _container:_-G0 = null;

        public function dispose():void
        {
            this._container = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }
        public function get type():String
        {
            return (null);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function _-375():Array
        {
            return ([_-38W._-1jS]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-2A7;
            switch (_arg1.type)
            {
                default:
                    _local2 = new _-2A7(_-2A7._-4sO);
                    this._container.events.dispatchEvent(_local2);
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return (null);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-52h

package _-4f7
{
    import _-Sz.MannequinWidget;
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-59g._-4KP;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import flash.events.Event;
    import _-1ye.*;

    public class _-52h implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _-0dg:MannequinWidget;
        private var _container:_-G0;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            if (!this._-4Bk)
            {
                this.container = null;
                this._-4Bk = true;
            };
        }
        public function get type():String
        {
            return (_-4QU._-3Rz);
        }
        public function set widget(_arg1:MannequinWidget):void
        {
            this._-0dg = _arg1;
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function _-375():Array
        {
            return (null);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            return (null);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(_-4KP._-2R1);
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:_-4KP;
            var _local3:_-3SU;
            var _local4:_-30N;
            var _local5:String;
            var _local6:String;
            var _local7:String;
            switch (_arg1.type)
            {
                case _-4KP._-2R1:
                    _local2 = (_arg1 as _-4KP);
                    _local3 = this._container.roomEngine.getRoomObject(_local2.roomId, _local2.roomCategory, _local2._-mx, _local2.category);
                    _local4 = _local3.getModel();
                    _local5 = _local4.getString(_-4Wq._-8L);
                    _local6 = _local4.getString(_-4Wq._-3tN);
                    _local7 = _local4.getString(_-4Wq._-0Xu);
                    if (((!((_local5 == null))) && (!((_local6 == null)))))
                    {
                        this._-0dg.open(_local3.getId(), _local5, _local6, _local7);
                    };
                    return;
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-5-E

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-38W;
    import _-1FD._-1px;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-og._-3AZ;
    import _-3mW._-4Wq;
    import _-3mW._-1sV;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-5-E implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-1ca);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-38W._-1y-, _-1px._-2Ao, _-1px._-2rf]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-38W;
            var _local3:_-3SU;
            var _local4:_-1px;
            var _local5:_-1px;
            var k:_-30N;
            var k:String;
            var k:String;
            var k:String;
            var k:Boolean;
            var k:_-3AZ;
            switch (_arg1.type)
            {
                case _-38W._-1y-:
                    _local2 = (_arg1 as _-38W);
                    _local3 = this._container.roomEngine.getRoomObject(_local2.roomId, _local2.roomCategory, _local2.id, _local2.category);
                    if (_local3 != null)
                    {
                        k = _local3.getModel();
                        if (k != null)
                        {
                            k = k.getString(_-4Wq._-3cj);
                            if (k.length < 6)
                            {
                                return (null);
                            };
                            k = "";
                            if (k.indexOf(" ") > 0)
                            {
                                k = k.slice(0, k.indexOf(" "));
                                k = k.slice((k.indexOf(" ") + 1), k.length);
                            }
                            else
                            {
                            };
                            k = ((this._container.roomSession._-49x) || (this._container.sessionDataManager._-3eu));
                            k = new _-3AZ(_-3AZ._-3d9, _local2.id, _local3.getType(), k, k, k);
                            this._container.events.dispatchEvent(k);
                        };
                    };
                    break;
                case _-1px._-2rf:
                    _local4 = (_arg1 as _-1px);
                    if (_local4 == null)
                    {
                        return (null);
                    };
                    if (((!((this._container == null))) && (!((this._container.roomEngine == null)))))
                    {
                        this._container.roomEngine._-1v6(_local4._-mx, _-1sV._-20L, _local4._-2vn, _local4.text);
                    };
                    break;
                case _-1px._-2Ao:
                    _local5 = (_arg1 as _-1px);
                    if (_local5 == null)
                    {
                        return (null);
                    };
                    if (((!((this._container == null))) && (!((this._container.roomEngine == null)))))
                    {
                        this._container.roomEngine._-1Wi(_local5._-mx, _-1sV._-20L);
                    };
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:Event;
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-Cw

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-0Op;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-yT._-2f7;
    import _-og._-3xt;
    import flash.events.Event;
    import _-1ye.*;

    public class _-Cw implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get type():String
        {
            return (_-4QU._-0hU);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._disposed = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-0Op._-4BU, _-0Op._-A1, _-0Op._-2Oy]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var k:_-0Op = (_arg1 as _-0Op);
            if (k == null)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-0Op._-2Oy:
                    this._container.roomSession._-4uY(k.id);
                    break;
                case _-0Op._-A1:
                    this._container.roomSession._-3T7(k.id);
                    break;
                case _-0Op._-4BU:
                    this._container.roomSession._-2qA(k.id, k._-2Zb, k.answers);
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(_-2f7._-5-I);
            k.push(_-2f7._-080);
            k.push(_-2f7._-4Z-);
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
            var k:_-3xt;
            if ((((this._container == null)) || ((this._container.events == null))))
            {
                return;
            };
            var k:_-2f7 = (_arg1 as _-2f7);
            if (k == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-2f7._-5-I:
                    k = new _-3xt(k.id, _-3xt._-5-I);
                    k.summary = k.summary;
                    break;
                case _-2f7._-080:
                    k = new _-3xt(k.id, _-3xt._-080);
                    k.summary = k.summary;
                    break;
                case _-2f7._-4Z-:
                    k = new _-3xt(k.id, _-3xt._-4Z-);
                    k._-42v = k._-42v;
                    k._-1X5 = k._-1X5;
                    k._-2ez = k._-2ez;
                    k._-5At = k._-5At;
                    break;
            };
            if (k == null)
            {
                return;
            };
            this._container.events.dispatchEvent(k);
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7._-Kb

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-2Ye;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-1ye.*;

    public class _-Kb implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-2yV);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            return ([_-2Ye._-2o4]);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-2Ye;
            switch (_arg1.type)
            {
                case _-2Ye._-2o4:
                    _local2 = (_arg1 as _-2Ye);
                    if (_local2 == null)
                    {
                        return (null);
                    };
                    this._container.roomSession._-3de(_local2.category, _local2._-4Bc, _local2.action, _local2._-lI, _local2._-2YH);
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            return (k);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7.AvatarInfoWidgetHandler

package _-4f7
{
    import _-1ye._-G0;
    import _-DW.AvatarInfoWidget;
    import _-4Aj._-0tL;
    import _-2HX._-4QU;
    import _-293._-5-S;
    import _-1Jd._-4JJ;
    import _-35b._-a8;
    import _-3MI._-0Sy;
    import _-yT._-1-M;
    import _-yT._-1W3;
    import _-yT._-0vO;
    import _-CQ._-3WQ;
    import _-1LV._-0Xe;
    import _-1FD._-1lN;
    import _-3vb.HabboToolbarIconEnum;
    import _-1Jd._-4LX;
    import _-og._-4oW;
    import _-og._-0wf;
    import _-og._-3QH;
    import _-1FD._-1m0;
    import _-1FD._-3VD;
    import _-1FD._-0gH;
    import _-yT._-3Yq;
    import _-yT._-25b;
    import _-59g._-22K;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-og._-0D-;
    import flash.events.Event;
    import _-3mW._-1IS;
    import _-4n1._-0hX;
    import _-3mW._-4Wq;
    import _-3V-._-3SU;
    import _-3mW._-1sV;
    import _-3cY._-1mk;
    import _-og._-0Yz;
    import _-1ye.*;

    public class AvatarInfoWidgetHandler implements _-26C 
    {

        private var _disposed:Boolean = false;
        private var _container:_-G0 = null;
        private var _-0dg:AvatarInfoWidget;
        private var _-2oT:_-0tL;
        private var _-4Pb:_-0tL;

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set widget(_arg1:AvatarInfoWidget):void
        {
            this._-0dg = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (((this._-4Pb) && (this._container.connection)))
                {
                    this._container.connection.removeMessageEvent(this._-4Pb);
                };
                this.container = null;
                this._-0dg = null;
                if (this._-2oT != null)
                {
                    this._-2oT.dispose();
                    this._-2oT = null;
                };
                this._-4Pb = null;
                this._disposed = true;
            };
        }
        public function get type():String
        {
            return (_-4QU._-1Ky);
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function get roomEngine():_-5-S
        {
            return (((this._container) ? this._container.roomEngine : null));
        }
        public function get roomSession():_-4JJ
        {
            return (((this._container) ? this._container.roomSession : null));
        }
        public function get _-4zV():_-a8
        {
            return (((this._container) ? this._container._-4zV : null));
        }
        public function set container(_arg1:_-G0):void
        {
            if (((((this._container) && (this._container.toolbar))) && (this._container.toolbar.events)))
            {
                this._container.toolbar.events.removeEventListener(_-0Sy._-40N, this._-3KQ);
            };
            if (((((this._container) && (this._container.sessionDataManager))) && (this._container.sessionDataManager.events)))
            {
                this._container.sessionDataManager.events.removeEventListener(_-1-M._-0Et, this._-3Xg);
            };
            if (((((this._container) && (this._container._-1ED))) && (this._container._-1ED.events)))
            {
                this._container._-1ED.events.removeEventListener(_-1W3._-559, this._-035);
            };
            if (((((this._container) && (this._container._-1ED))) && (this._container._-1ED.events)))
            {
                this._container._-1ED.events.removeEventListener(_-0vO._-3nO, this._-3wE);
            };
            if (((this._container) && (this._container.connection)))
            {
                this._container.connection.removeMessageEvent(this._-2oT);
            };
            if (((((this._container) && (this._container.connection))) && (this._-4Pb)))
            {
                this._container.connection.removeMessageEvent(this._-4Pb);
            };
            this._container = _arg1;
            if (_arg1 == null)
            {
                return;
            };
            if (this._-2oT == null)
            {
                this._-2oT = new _-3WQ(this._-2xI);
            };
            if (((!(this._-4Pb)) && (this._container.connection)))
            {
                this._-4Pb = new _-0Xe(this._-37n);
                this._container.connection.addMessageEvent(this._-4Pb);
            };
            if (((((this._container) && (this._container.toolbar))) && (this._container.toolbar.events)))
            {
                this._container.toolbar.events.addEventListener(_-0Sy._-40N, this._-3KQ);
            };
            if (((((this._container) && (this._container.sessionDataManager))) && (this._container.sessionDataManager.events)))
            {
                this._container.sessionDataManager.events.addEventListener(_-1-M._-0Et, this._-3Xg);
            };
            if (((((this._container) && (this._container._-1ED))) && (this._container._-1ED.events)))
            {
                this._container._-1ED.events.addEventListener(_-1W3._-559, this._-035);
            };
            if (((((this._container) && (this._container._-1ED))) && (this._container._-1ED.events)))
            {
                this._container._-1ED.events.addEventListener(_-0vO._-3nO, this._-3wE);
            };
            if (((this._container) && (this._container.connection)))
            {
                this._container.connection.addMessageEvent(this._-2oT);
            };
        }
        private function _-2xI(_arg1:_-0tL):void
        {
            if (this._container != null)
            {
                if (this._container.events != null)
                {
                    this._container.events.dispatchEvent(new _-1lN(_-1lN._-1nJ));
                };
            };
        }
        private function _-3KQ(_arg1:_-0Sy):void
        {
            if (_arg1._-1wJ == HabboToolbarIconEnum.MEMENU)
            {
                if (((this.container.config.getBoolean("simple.memenu.enabled", false)) && (this.container.config.getBoolean("menu.own_avatar.enabled", false))))
                {
                    this._-0dg._-2Po();
                }
                else
                {
                    this._-5DP();
                };
            };
        }
        private function _-3Xg(_arg1:_-1-M):void
        {
            this._-0dg.close();
        }
        private function _-035(_arg1:_-1W3):void
        {
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:Boolean;
            var k:_-4LX;
            var k:_-4oW;
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = _arg1._-4a2;
                k = _arg1._-02Z;
                k = _arg1._-2gH;
                k = _arg1._-4td;
                k = this._-4CU(_arg1._-3yD);
                k = new _-4oW(k.roomObjectId, k, k, k, k);
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-3wE(_arg1:_-0vO):void
        {
            var k:int;
            var k:_-4LX;
            var k:_-0wf;
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = _arg1.level;
                k = this._-4CU(_arg1._-3yD);
                k = new _-0wf(k.roomObjectId, k);
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-5DP():void
        {
            var k:int = this._container.sessionDataManager.userId;
            var k:String = this._container.sessionDataManager.userName;
            var k:Boolean = this._container.sessionDataManager._-3pl;
            var k:_-4LX = this._container.roomSession.userDataManager._-2Xd(k);
            if (k)
            {
                this._container.events.dispatchEvent(new _-3QH(k, k, k.roomObjectId, k));
            };
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-1m0._-0cl);
            k.push(_-3VD._-4Cv);
            k.push(_-3VD._-3Om);
            k.push(_-0gH._-UY);
            k.push(_-3VD._-CM);
            k.push(_-3VD._-0vh);
            k.push(_-3VD._-5F5);
            return (k);
        }
        public function _-1bj():Array
        {
            var k:Array = [];
            k.push(_-3Yq._-2dF);
            k.push(_-25b._-rQ);
            k.push(_-22K._-WQ);
            k.push(_-22K._-3l-);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var k:_-4LX;
            var _local5:_-0gH;
            if (!_arg1)
            {
                return (null);
            };
            var k:int;
            var k:_-3VD = (_arg1 as _-3VD);
            if (k != null)
            {
                k = k.userId;
            };
            switch (_arg1.type)
            {
                case _-1m0._-0cl:
                    this._-5DP();
                    break;
                case _-3VD._-4Cv:
                    this._container.habboHelp._-js();
                    break;
                case _-3VD._-3Om:
                    this._-0dg._-01r = false;
                    break;
                case _-0gH._-UY:
                    _local5 = (_arg1 as _-0gH);
                    if (_local5)
                    {
                        this._container.roomSession._-3tu(_local5.roomObjectId, _local5._-3yD);
                    };
                    break;
                case _-3VD._-0vh:
                    this._container.roomSession._-2zP(k);
                    break;
                case _-3VD._-5F5:
                    break;
                case _-3VD._-CM:
                    this._-2j1(k);
                    break;
                case _-1lN._-1nJ:
                    break;
            };
            return (null);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:_-25b;
            var k:_-4LX;
            switch (_arg1.type)
            {
                case _-3Yq._-2dF:
                    this._container.events.dispatchEvent(new _-0D-());
                    return;
                case _-25b._-rQ:
                    _local2 = (_arg1 as _-25b);
                    if (((((((((_local2) && (this._-0dg))) && (this.container))) && (this.container.roomSession))) && (this.container.roomSession.userDataManager)))
                    {
                        k = this.container.roomSession.userDataManager._-2Xd(this.container.sessionDataManager.userId);
                        if (((k) && ((_local2.userId == k.roomObjectId))))
                        {
                            this._-0dg._-4l0 = !((_local2._-Xk == 0));
                        };
                    };
                    return;
                case _-22K._-WQ:
                    this._-3so((_arg1 as _-22K)._-gy, (_arg1 as _-22K)._-vW);
                    return;
                case _-22K._-3l-:
                    this._-1Dw((_arg1 as _-22K)._-mx);
                    return;
            };
        }
        private function _-2j1(_arg1:int):void
        {
            _-Nb.log(("Show breed menu. finally: " + _arg1));
            if ((((((this._container == null)) || ((this._container.roomSession == null)))) || ((this._container.roomEngine == null))))
            {
                return;
            };
            if (this._container.roomSession.userDataManager == null)
            {
                return;
            };
            var k:int = this._container.roomSession.roomId;
            var k:int = this._container.roomSession.roomCategory;
            var k:int = this._container.sessionDataManager.userId;
            var k:_-4LX = this._container.roomSession.userDataManager._-3hQ(_arg1, _-1IS._-2rN);
            if (k == null)
            {
                return;
            };
            var k:Array = k.figure.split(" ");
            var k:int = (((k.length > 0)) ? k[0] : -1);
            this._-3X(k, k, _arg1, k, k.roomObjectId, k);
        }
        public function update():void
        {
        }
        public function _-co(_arg1:_-3SU):_-0hX
        {
            var k:_-0hX;
            var k:int;
            if (_arg1)
            {
                k = _arg1.getModel().getNumber(_-4Wq._-0z3);
                k = this._container.sessionDataManager._-LX(k);
            };
            return (k);
        }
        private function _-3so(_arg1:int, _arg2:int):void
        {
            if ((((((this._container == null)) || ((this._container.roomSession == null)))) || ((this._container.roomEngine == null))))
            {
                return;
            };
            if (this._container.roomSession.userDataManager == null)
            {
                return;
            };
            var k:int = this._container.roomSession.roomId;
            var k:int = this._container.roomSession.roomCategory;
            var k:int = this._container.sessionDataManager.userId;
            var k:_-0hX = this._container.sessionDataManager._-LX(_arg2);
            var k:Array = k._-yz.split(" ");
            var k:int = (((k.length > 0)) ? parseInt(k[0]) : -1);
            if (k == -1)
            {
                return;
            };
            this._-vE(k, k, _arg2, k, k.category, k, _arg1);
        }
        private function _-1Dw(_arg1:int):void
        {
            if ((((((this._container == null)) || ((this._container.roomSession == null)))) || ((this._container.roomEngine == null))))
            {
                return;
            };
            if (this._container.roomSession.userDataManager == null)
            {
                return;
            };
            var k:int = this._container.roomSession.roomId;
            var k:int = this._container.roomSession.roomCategory;
            var k:_-3SU = this._container.roomEngine.getRoomObject(k, k, _arg1, _-1sV._-0u-);
            var k:Boolean = this._container._-0Mx(k);
            if (!k)
            {
                return;
            };
            var k:int = this._container._-03Y(k);
            var k:_-0hX = this._-co(k);
            var k:Array = k._-yz.split(" ");
            var k:int = (((k.length > 0)) ? parseInt(k[0]) : -1);
            if (k == -1)
            {
                return;
            };
            this._-vE(k, k, _arg1, k, k.category, k);
        }
        private function _-vE(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int=-1):void
        {
            var k:_-3SU;
            var k:_-4LX;
            var k:Boolean;
            var k:Array;
            var k:int;
            var k:Array = [];
            var k:int = this._container.roomEngine.getRoomObjectCount(_arg1, _arg2, _-1sV._-3I0);
            var k:int = 7;
            var k:int;
            for (;k < k;k++)
            {
                k = this._container.roomEngine.getRoomObjectWithIndex(_arg1, _arg2, k, _-1sV._-3I0);
                k = this._container.roomSession.userDataManager.getUserDataByIndex(k.getId());
                k = false;
                if ((((k == null)) || (!((k.type == _-1IS._-2rN)))))
                {
                }
                else
                {
                    if (k._-nJ == _arg6)
                    {
                        if (((k._-05m) && ((_arg5 == _-1mk._-0b3))))
                        {
                            k = true;
                        };
                        k = k.figure.split(" ");
                        k = (((k.length > 0)) ? k[0] : -1);
                        if (k == _arg4)
                        {
                            if (_arg5 == _-1mk._-4gd)
                            {
                                if (!k._-2gH)
                                {
                                    continue;
                                };
                            };
                            if (_arg5 == _-1mk._-30o)
                            {
                                if ((((((k._-4mx < k)) || (k._-2gH))) || (k._-4a2)))
                                {
                                    continue;
                                };
                            };
                            if (_arg5 == _-1mk._-i2)
                            {
                                if ((((k._-4mx >= k)) || (k._-2gH)))
                                {
                                    continue;
                                };
                            };
                            k.push(new _-0Yz(k.roomObjectId, _-1sV._-3I0, k.name, _arg3, k.getId(), _arg7, k));
                        };
                    };
                };
            };
            this._-0dg._-0JB(k);
        }
        private function _-3X(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):void
        {
            var k:_-3SU;
            var k:_-4LX;
            var k:_-4LX;
            var k:Array;
            var k:int;
            var k:Array = [];
            var k:int = this._container.roomEngine.getRoomObjectCount(_arg1, _arg2, _-1sV._-3I0);
            var k:int;
            while (k < k)
            {
                k = this._container.roomEngine.getRoomObjectWithIndex(_arg1, _arg2, k, _-1sV._-3I0);
                k = this._container.roomSession.userDataManager.getUserDataByIndex(k.getId());
                if ((((k == null)) || (!((k.type == _-1IS._-2rN)))))
                {
                }
                else
                {
                    if (!k._-4a2)
                    {
                    }
                    else
                    {
                        if (((!(k._-4td)) && (!((k._-nJ == _arg6)))))
                        {
                        }
                        else
                        {
                            k = this._container.roomSession.userDataManager._-2Xd(k._-nJ);
                            if (k == null)
                            {
                            }
                            else
                            {
                                k = k.figure.split(" ");
                                k = (((k.length > 0)) ? k[0] : -1);
                                if ((((k == _arg4)) && (!((k.roomObjectId == _arg5)))))
                                {
                                    k.push(new _-0Yz(k.roomObjectId, _-1sV._-3I0, k.name, _arg5, k.getId()));
                                };
                            };
                        };
                    };
                };
                k++;
            };
            this._-0dg._-ZD(k);
        }
        private function _-4CU(_arg1:int):_-4LX
        {
            var k:_-3SU;
            var k:_-4LX;
            var k:int = this._container.roomSession.roomId;
            var k:int = this._container.roomSession.roomCategory;
            var k:int = this._container.roomEngine.getRoomObjectCount(k, k, _-1sV._-3I0);
            var k:int;
            while (k < k)
            {
                k = this._container.roomEngine.getRoomObjectWithIndex(k, k, k, _-1sV._-3I0);
                k = this._container.roomSession.userDataManager.getUserDataByIndex(k.getId());
                if ((((k == null)) || (!((k.type == _-1IS._-2rN)))))
                {
                }
                else
                {
                    if (k._-2-w == _arg1)
                    {
                        return (k);
                    };
                };
                k++;
            };
            return (null);
        }
        public function _-37n(_arg1:_-0Xe):void
        {
            var k:int = _arg1._-3-5().code;
            switch (k)
            {
                case 4:
                case 5:
                    this._container.sessionDataManager._-1WQ();
                    return;
            };
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7.ChatWidgetHandler

package _-4f7
{
    import _-1ye._-G0;
    import _-18r.Map;
    import _-2np._-1ZV;
    import flash.geom.Point;
    import _-0y0._-Xl;
    import _-2VC.RoomChatWidget;
    import _-2HX._-4QU;
    import flash.display.BitmapData;
    import _-1FD._-47B;
    import _-1FD._-2bY;
    import _-1FD._-2CC;
    import _-1Jd._-4LX;
    import _-1Jd._-1ij;
    import _-2HX._-uu;
    import _-2gz.HabboTracking;
    import _-1Jd._-3wh;
    import _-1C6._-4ky;
    import _-2ly._-11j;
    import _-2S9._-oS;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-yT._-Gi;
    import _-Un._-0Ln;
    import _-3V-._-3SU;
    import _-0y0._-3q6;
    import _-0y0._-06R;
    import flash.events.Event;
    import _-3mW._-1sV;
    import _-3mW._-4Wq;
    import _-0l8.PetFigureData;
    import _-3mW._-1IS;
    import _-2HX._-1HE;
    import _-og._-2KU;
    import _-4Kb._-40f;
    import _-4xH._-2OZ;
    import _-0se._-1uH;
    import _-0se._-24J;
    import _-0se._-37p;
    import _-og._-50A;
    import _-0y0._-2QE;
    import _-0y0._-074;
    import _-293._-2Gt;
    import _-4Kb.*;
    import _-293.*;
    import _-1ye.*;

    public class ChatWidgetHandler implements _-26C, _-3QA, dynamic 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;
        private var _-3Bh:Map = null;
        private var _-03P:Map = null;
        private var _-31d:Map = null;
        private var _-4yA:Map = null;
        private var _-3QC:Array;
        private var _-51u:_-1ZV = null;
        private var _-2q8:Number = 0;
        private var _-bH:Point = null;
        private var _-3kD:_-Xl;
        private var _-0dg:RoomChatWidget;

        public function ChatWidgetHandler()
        {
            this._-3QC = [];
            this._-3kD = new _-Xl();
            super();
            this._-3Bh = new Map();
            this._-03P = new Map();
            this._-31d = new Map();
            this._-4yA = new Map();
        }
        public function set widget(_arg1:RoomChatWidget):void
        {
            this._-0dg = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-3IP);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function set connection(_arg1:_-1ZV):void
        {
            this._-51u = _arg1;
        }
        public function dispose():void
        {
            var k:int;
            var k:BitmapData;
            var k:BitmapData;
            this._-4Bk = true;
            this._container = null;
            this._-bH = null;
            if (this._-3Bh != null)
            {
                k = 0;
                while (k < this._-3Bh.length)
                {
                    k = (this._-3Bh.getWithIndex(k) as BitmapData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-3Bh.dispose();
                this._-3Bh = null;
            };
            if (this._-03P != null)
            {
                k = 0;
                while (k < this._-03P.length)
                {
                    k = (this._-03P.getWithIndex(k) as BitmapData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-03P.dispose();
                this._-03P = null;
            };
            for each (k in this._-3QC)
            {
                if (k != null)
                {
                    k.dispose();
                };
            };
            this._-3QC = [];
            if (this._-31d != null)
            {
                this._-31d.dispose();
                this._-31d = null;
            };
        }
        public function _-375():Array
        {
            var k:Array = [_-47B._-XK, _-2bY._-U6];
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-2bY;
            var k:_-47B;
            var k:_-2CC;
            var k:Array;
            var k:String;
            var k:String;
            var k:int;
            var k:_-4LX;
            var k:_-4LX;
            switch (_arg1.type)
            {
                case _-47B._-XK:
                    if (((!((this._container == null))) && (!((this._container.roomSession == null)))))
                    {
                        k = (_arg1 as _-47B);
                        if (k != null)
                        {
                            if (k.text == "")
                            {
                                return (null);
                            };
                            k = null;
                            k = k.text.split(" ");
                            if (k.length > 0)
                            {
                                k = k[0];
                                k = "";
                                if (k.length > 1)
                                {
                                    k = k[1];
                                };
                                if ((((k.charAt(0) == ":")) && ((k == "x"))))
                                {
                                    k = this._container.roomEngine._-2BV();
                                    if (k > -1)
                                    {
                                        k = this._container.roomSession.userDataManager.getUserDataByIndex(k);
                                        if (k != null)
                                        {
                                            this._container.roomSession._-55S(k.text.replace(" x", (" " + k.name)));
                                            return (null);
                                        };
                                    };
                                };
                                switch (k.toLowerCase())
                                {
                                    case ":d":
                                    case ";d":
                                        if (this._container.sessionDataManager.clubLevel == _-1ij._-1pk)
                                        {
                                            this._container.roomSession._-tg(_-uu._-1VQ._-4Ll);
                                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "chat", "laugh");
                                        };
                                        break;
                                    case "o/":
                                        this._container.roomSession._-tg(_-uu._-2xr._-4Ll);
                                        return (null);
                                    case ":kiss":
                                        if (this._container.sessionDataManager.clubLevel == _-1ij._-1pk)
                                        {
                                            this._container.roomSession._-tg(_-uu._-28W._-4Ll);
                                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "chat", "blow");
                                            return (null);
                                        };
                                        break;
                                    case ":jump":
                                        break;
                                    case ":idle":
                                        this._container.roomSession._-tg(_-uu._-4Q4._-4Ll);
                                        HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "chat", "idle");
                                        return (null);
                                    case "_b":
                                        this._container.roomSession._-tg(_-uu._-4P8._-4Ll);
                                        HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "chat", "respect");
                                        return (null);
                                    case ":sign":
                                        this._container.roomSession._-59b(int(k));
                                        HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "chat", "sign", null, int(k));
                                        return (null);
                                    case ":chooser":
                                        if ((((this._container.sessionDataManager.clubLevel >= _-1ij._-12G)) || (this._container.sessionDataManager._-2t1(_-3wh._-DP))))
                                        {
                                            k = new _-2CC(_-2CC._-1E3);
                                            this._container.processWidgetMessage(k);
                                        };
                                        return (null);
                                    case ":furni":
                                        if ((((((this._container.sessionDataManager.clubLevel >= _-1ij._-12G)) && ((this._container.roomSession._-125 >= _-4ky._-YE)))) || (this._container.sessionDataManager._-2t1(_-3wh._-DP))))
                                        {
                                            k = new _-2CC(_-2CC._-3y4);
                                            this._container.processWidgetMessage(k);
                                        };
                                        return (null);
                                    case ":pickall":
                                        this._container.sessionDataManager._-3bZ(this._container.roomSession.roomId, this._container.roomSession.roomCategory);
                                        return (null);
                                    case ":ejectall":
                                        this._container.sessionDataManager._-1UJ(this._container.roomSession.roomId, this._container.roomSession.roomCategory);
                                        return (null);
                                    case ":mutepets":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(":mutepets");
                                        return (null);
                                    case ":mpgame":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(k.text);
                                        return (null);
                                    case ":news":
                                        if (this._container.config.getBoolean("client.news.embed.enabled", false))
                                        {
                                            _-11j._-25R("news");
                                            return (null);
                                        };
                                        break;
                                    case ":mail":
                                        if (this._container.config.getBoolean("client.minimail.embed.enabled", true))
                                        {
                                            _-11j._-25R("minimail", "#mail/inbox/");
                                            return (null);
                                        };
                                    case ":crashme":
                                        if (this._container.sessionDataManager._-2t1(_-3wh._-46t))
                                        {
                                            throw (new _-oS());
                                        };
                                        break;
                                    case ":ss":
                                        break;
                                    case ":qss":
                                        break;
                                    case ":gd":
                                        break;
                                    case ":csmm":
                                        if (this._container.sessionDataManager._-2t1(_-3wh._-46t))
                                        {
                                            this._container._-eP._-1Nh();
                                            return (null);
                                        };
                                        break;
                                    case ":tgl":
                                        break;
                                    case ":li":
                                        break;
                                };
                            };
                            switch (k._-54R)
                            {
                                case _-47B._-0Js:
                                    this._container.roomSession._-55S(k.text, k.styleId);
                                    break;
                                case _-47B._-3Oz:
                                    this._container.roomSession._-1ET(k.text, k.styleId);
                                    break;
                                case _-47B._-cB:
                                    this._container.roomSession._-3Rt(k._-4L1, k.text, k.styleId);
                                    break;
                            };
                        };
                    };
                    break;
                case _-2bY._-U6:
                    _local2 = (_arg1 as _-2bY);
                    if (_local2 != null)
                    {
                        this._container.roomEngine._-Is(_local2.roomId, _local2.roomCategory, _local2._-mx);
                        k = this._container.roomSession.userDataManager.getUserDataByIndex(_local2._-mx);
                        if (k != null)
                        {
                            this._container.moderation._-2VK(k._-2-w, _local2.userName);
                        };
                    };
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([_-Gi._-3Li, _-0Ln._-1i]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local3:_-Gi;
            var k:_-3SU;
            var k:_-3q6;
            var k:Number;
            var k:Number;
            var k:_-06R;
            var k:Point;
            var k:_-4LX;
            var k:String;
            var k:uint;
            var k:BitmapData;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:String;
            var k:Point;
            var k:String;
            var _local26:_-3SU;
            var k:String;
            var k:String;
            var k:String;
            var k:String;
            var k:_-3SU;
            var k:_-4LX;
            var k:Event;
            switch (_arg1.type)
            {
                case _-Gi._-3Li:
                    _local3 = (_arg1 as _-Gi);
                    if (_local3 != null)
                    {
                        k = this._container.roomEngine.getRoomObject(_local3.session.roomId, _local3.session.roomCategory, _local3.userId, _-1sV._-3I0);
                        if (k != null)
                        {
                            k = this._container.roomEngine._-3NP(_local3.session.roomId, _local3.session.roomCategory, this._container._-1mN());
                            if (k != null)
                            {
                                this._-4ex();
                                k = 0;
                                k = 0;
                                k = k.getLocation();
                                k = k._-2Et(k);
                                if (k != null)
                                {
                                    k = k.x;
                                    k = k.y;
                                    k = this._container.roomEngine._-uR(_local3.session.roomId, _local3.session.roomCategory, this._container._-1mN());
                                    if (k != null)
                                    {
                                        k = (k + k.x);
                                        k = (k + k.y);
                                    };
                                };
                                k = this._container.roomSession.userDataManager.getUserDataByIndex(_local3.userId);
                                k = "";
                                k = 0;
                                k = null;
                                k = 32;
                                k = 2;
                                k = true;
                                k = null;
                                k = _local3._-54R;
                                k = _local3.style;
                                k = 0;
                                k = -1;
                                if (k != null)
                                {
                                    k = k.type;
                                    k = k.figure;
                                    switch (k)
                                    {
                                        case _-1IS._-2rN:
                                            _local26 = this._-0GV(k.roomObjectId);
                                            if (_local26 != null)
                                            {
                                                k = _local26.getModel().getString(_-4Wq._-0nJ);
                                            };
                                            k = this._-2s2(k, k, k, k, k);
                                            k = new PetFigureData(k).typeId;
                                            break;
                                        case _-1IS._-0p3:
                                            k = this._-40d(k);
                                            break;
                                        case _-1IS._-qF:
                                        case _-1IS._-53b:
                                            k = _-1HE.BOT;
                                            break;
                                    };
                                    k = this._-31d.getValue(k);
                                    k = k.name;
                                };
                                k = _local3.text;
                                if (k == _-Gi._-3Mt)
                                {
                                    k = "widget.chatbubble.handitem";
                                    k = this._container.localization.getKey(("handitem" + _local3._-1gg), ("handitem" + _local3._-1gg));
                                    this._container.localization.registerParameter(k, "username", k);
                                    this._container.localization.registerParameter(k, "handitem", k);
                                    k = this._container.localization.getLocalization(k).value;
                                    k = _-1HE._-4Hr;
                                };
                                if ((((((k == _-Gi._-29a)) || ((k == _-Gi._-Kf)))) || ((k == _-Gi._-003))))
                                {
                                    k = "widget.chatbubble.petrevived";
                                    if (k == _-Gi._-Kf)
                                    {
                                        k = "widget.chatbubble.petrefertilized";
                                    }
                                    else
                                    {
                                        if (k == _-Gi._-003)
                                        {
                                            k = "widget.chatbubble.petspeedfertilized";
                                        };
                                    };
                                    k = "";
                                    k = this._-0GV(_local3._-1gg);
                                    if (k != null)
                                    {
                                        k = _local3.session.userDataManager.getUserDataByIndex(k.getId());
                                        if (k != null)
                                        {
                                            k = k.name;
                                        };
                                    };
                                    this._container.localization.registerParameter(k, "petName", k);
                                    this._container.localization.registerParameter(k, "userName", k);
                                    k = this._container.localization.getLocalization(k).value;
                                    k = _-1HE._-4Hr;
                                };
                                k = _-2KU._-1Sl;
                                k = new _-2KU(k, _local3.userId, k, k, _-1sV._-3I0, k, k, k, k, k, k, _local3.session.roomId, _local3.session.roomCategory, k, k, _local3.links);
                            };
                        };
                    };
                    break;
                case _-0Ln._-1i:
                    this._-3Pw((_arg1 as _-0Ln));
                    break;
            };
            if (((((!((this._container == null))) && (!((this._container.events == null))))) && (!((k == null)))))
            {
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-0GV(_arg1:int):_-3SU
        {
            return (this.container.roomEngine.getRoomObject(this.container.roomEngine.activeRoomId, this.container.roomEngine.activeRoomCategory, _arg1, _-1sV._-3I0));
        }
        public function _-40d(_arg1:String):BitmapData
        {
            var k:_-40f;
            var k:_-2OZ;
            var k:BitmapData = (this._-3Bh.getValue(_arg1) as BitmapData);
            if (k == null)
            {
                k = this._container.avatarRenderManager.createAvatarImage(_arg1, _-1uH._-Pq, null, this);
                if (k != null)
                {
                    k = k._-1hx(_-24J._-0GH);
                    k = k._-K6(_-37p._-07o);
                    k.dispose();
                    if (k != null)
                    {
                        this._-31d.add(_arg1, k.rgb);
                    };
                };
            };
            if (k != null)
            {
                this._-3Bh.add(_arg1, k);
            };
            return (k);
        }
        private function _-3Pw(_arg1:_-0Ln):void
        {
            this._-0dg._-27F(_arg1.message, _arg1.name, _arg1._-dY, this._-40d(_arg1.figure), _arg1.color, _arg1.notify);
        }
        public function update():void
        {
            this._-4ex();
        }
        private function _-4ex():void
        {
            var k:Number;
            var k:String;
            var k:_-50A;
            var k:Point;
            var k:Point;
            var k:Point;
            if ((((((((this._container == null)) || ((this._container.roomSession == null)))) || ((this._container.roomEngine == null)))) || ((this._container.events == null))))
            {
                return;
            };
            var k:int = this._container._-1mN();
            var k:int = this._container.roomSession.roomId;
            var k:int = this._container.roomSession.roomCategory;
            var k:_-2QE = (this._container.roomEngine._-3NP(k, k, k) as _-2QE);
            if (k != null)
            {
                k = 1;
                if (this._-2q8 > 0)
                {
                    k = (k.scale / this._-2q8);
                };
                if (this._-bH == null)
                {
                    this._-3kD.x = 0;
                    this._-3kD.y = 0;
                    this._-3kD.z = 0;
                    this._-bH = k._-2Et(this._-3kD);
                    this._-2q8 = (k.scale - 10);
                };
                k = "";
                k = null;
                this._-3kD.x = 0;
                this._-3kD.y = 0;
                this._-3kD.z = 0;
                k = k._-2Et(this._-3kD);
                if (k != null)
                {
                    k = this._container.roomEngine._-uR(k, k, k);
                    if (k != null)
                    {
                        k.offset(k.x, k.y);
                    };
                    if (((!((k.x == this._-bH.x))) || (!((k.y == this._-bH.y)))))
                    {
                        k = _-074._-0XL(k, _-074._-2Dq(this._-bH, k));
                        if (((!((k.x == 0))) || (!((k.y == 0)))))
                        {
                            k = _-50A._-4At;
                            k = new _-50A(k, null, k);
                            this._container.events.dispatchEvent(k);
                        };
                        this._-bH = k;
                    };
                };
                if (k.scale != this._-2q8)
                {
                    k = _-50A._-bZ;
                    k = new _-50A(k, null, null, k.scale);
                    this._container.events.dispatchEvent(k);
                    this._-2q8 = k.scale;
                };
            };
        }
        public function _-0yJ(_arg1:String):void
        {
            var k:BitmapData;
            if (this._-03P)
            {
                k = (this._-03P.remove(_arg1) as BitmapData);
                if (k != null)
                {
                    this._-3QC.push(k);
                };
            };
        }
        public function _-0-V(_arg1:String):void
        {
            var k:BitmapData;
            if (this._-3Bh)
            {
                k = (this._-3Bh.remove(_arg1) as BitmapData);
                if (k != null)
                {
                    this._-3QC.push(k);
                };
            };
        }
        private function _-2s2(_arg1:String, _arg2:int, _arg3:Boolean, _arg4:int=64, _arg5:String=null):BitmapData
        {
            var k:PetFigureData;
            var k:int;
            var k:uint;
            var k:Boolean;
            var k:_-2Gt;
            var k:BitmapData = (this._-03P.getValue((_arg1 + _arg5)) as BitmapData);
            if (k == null)
            {
                k = new PetFigureData(_arg1);
                k = k.typeId;
                k = 0;
                k = !((k == 15));
                k = this._container.roomEngine._-2s2(k, k.paletteId, k.color, new _-Xl((_arg2 * 45)), _arg4, this, k, k, k._-uk, _arg5);
                if (k != null)
                {
                    k = k.data;
                    if (k.id > 0)
                    {
                        this._-4yA.add(k.id, k._-11I);
                    };
                };
            };
            if (k != null)
            {
                this._-03P.add((_arg1 + _arg5), k);
            };
            return (k);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            var k:String = this._-4yA.remove(_arg1);
            if (k != null)
            {
                this._-0yJ(k);
                if (this._-03P)
                {
                    this._-03P.add(k, _arg2);
                };
            };
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7.InfoStandWidgetHandler

package _-4f7
{
    import _-1ye._-G0;
    import _-18r.Map;
    import _-mv._-d4;
    import _-3ZF._-3CG;
    import _-4Aj._-0tL;
    import _-1ZZ._-z6;
    import _-1ZZ._-3Wk;
    import _-2HX._-4QU;
    import _-yT._-3GX;
    import _-yT._-56t;
    import _-yT._-3r;
    import _-yT._-0at;
    import _-yT._-4Ky;
    import _-yT._-4l5;
    import _-yT._-2Ny;
    import _-yT._-0Re;
    import _-yT._-27a;
    import _-yT._-04X;
    import _-2It._-4AA;
    import _-2It._-2am;
    import flash.display.BitmapData;
    import _-1FD._-1m0;
    import _-1FD._-3VD;
    import _-1FD._-2ve;
    import _-1FD._-48D;
    import _-1FD._-2jE;
    import _-1FD._-1FX;
    import _-1FD._-35J;
    import _-1FD._-2aY;
    import _-1FD._-4jZ;
    import _-1FD._-45O;
    import _-1Jd._-4LX;
    import _-og._-Rz;
    import _-3ZF._-3tI;
    import _-4ik._-2e8;
    import _-4ik._-4NG;
    import _-4xL._-2dR;
    import _-2HX._-29-;
    import _-2Vm._-0RR;
    import _-4ik._-2HA;
    import _-3mW._-2Ws;
    import _-0Pi._-RA;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-3V-._-3SU;
    import _-4n1._-0hX;
    import _-3mW._-4Wq;
    import _-3mW._-1sV;
    import _-og._-4Uf;
    import _-3mW._-1IS;
    import _-2Vm._-2cF;
    import _-og._-08b;
    import _-og._-3c;
    import _-35b._-4A9;
    import _-1C6._-4ky;
    import _-1C6._-2Am;
    import _-3yH._-0lY;
    import _-mv._-4vP;
    import _-mv._-486;
    import _-og._-0ER;
    import _-3V-._-30N;
    import _-2HX._-1Vb;
    import _-0F-._-4iQ;
    import _-293._-4q2;
    import flash.utils.getTimer;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import _-0Pi._-1Eb;
    import _-og._-Zn;
    import _-yT._-2o-;
    import flash.events.Event;
    import _-og._-19V;
    import _-og._-3Sk;
    import _-1Jd._-4JJ;
    import _-1Jd._-2oa;
    import _-0l8._-3iK;
    import _-og._-4XG;
    import _-og._-224;
    import _-og._-5-J;
    import _-og._-3Uf;
    import _-og._-8o;
    import _-0Z1._-0v7;
    import _-og._-S5;
    import _-og._-318;
    import _-og._-4hs;
    import _-og._-2hh;
    import _-0l8.PetFigureData;
    import _-1ye.*;

    public class InfoStandWidgetHandler implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;
        private var _-4Hk:Map;
        private var _-3ne:_-d4;
        private var _-0dg:_-3CG;
        private var _-hK:_-0tL;

        public function InfoStandWidgetHandler(_arg1:_-d4)
        {
            this._-4Hk = new Map();
            super();
            this._-3ne = _arg1;
            if (this._-3ne != null)
            {
                this._-3ne.events.addEventListener(_-z6._-47G, this._-292);
                this._-3ne.events.addEventListener(_-3Wk._-3hw, this._-27W);
            };
        }
        public function set widget(_arg1:_-3CG):void
        {
            this._-0dg = _arg1;
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-0vV);
        }
        public function set container(_arg1:_-G0):void
        {
            if (this._container != null)
            {
                if (this._container.sessionDataManager != null)
                {
                    this._container.sessionDataManager.events.removeEventListener(_-3GX._-30R, this._-46g);
                };
                if (this._container._-1ED != null)
                {
                    this._container._-1ED.events.removeEventListener(_-56t._-2g7, this._-1n8);
                    this._container._-1ED.events.removeEventListener(_-3r.PET_INFO, this._-bR);
                    this._container._-1ED.events.removeEventListener(_-0at.PET_COMMANDS, this._-4lb);
                    this._container._-1ED.events.removeEventListener(_-4Ky._-2p2, this._-3wC);
                    this._container._-1ED.events.removeEventListener(_-4l5._-18W, this._-2Hd);
                    this._container._-1ED.events.removeEventListener(_-2Ny._-0lZ, this._-0a1);
                    this._container._-1ED.events.removeEventListener(_-0Re._-1yI, this._-UJ);
                    this._container._-1ED.events.removeEventListener(_-27a._-16s, this._-2zU);
                    this._container._-1ED.events.removeEventListener(_-04X._-1e0, this._-2tS);
                };
                if (((!((this._container.connection == null))) && (!((this._-hK == null)))))
                {
                    this._container.connection.removeMessageEvent(this._-hK);
                    this._-hK.dispose();
                    this._-hK = null;
                };
            };
            this._container = _arg1;
            if (_arg1 == null)
            {
                return;
            };
            if (this._container.sessionDataManager != null)
            {
                this._container.sessionDataManager.events.addEventListener(_-3GX._-30R, this._-46g);
            };
            if (this._container._-1ED != null)
            {
                this._container._-1ED.events.addEventListener(_-56t._-2g7, this._-1n8);
                this._container._-1ED.events.addEventListener(_-3r.PET_INFO, this._-bR);
                this._container._-1ED.events.addEventListener(_-0at.PET_COMMANDS, this._-4lb);
                this._container._-1ED.events.addEventListener(_-4Ky._-2p2, this._-3wC);
                this._container._-1ED.events.addEventListener(_-4l5._-18W, this._-2Hd);
                this._container._-1ED.events.addEventListener(_-2Ny._-0lZ, this._-0a1);
                this._container._-1ED.events.addEventListener(_-0Re._-1yI, this._-UJ);
                this._container._-1ED.events.addEventListener(_-27a._-16s, this._-2zU);
                this._container._-1ED.events.addEventListener(_-04X._-1e0, this._-2tS);
            };
            if (this._container.connection)
            {
                this._-hK = new _-4AA(this._-0kU);
                this._container.connection.addMessageEvent(this._-hK);
            };
        }
        private function _-0kU(_arg1:_-4AA):void
        {
            var k:_-2am = _arg1.data;
            if (this._-0dg.furniData.groupId == k.groupId)
            {
                this._-0dg._-41p._-1lA = k._-3T;
                this._-0dg._-41p.groupName = k.groupName;
            };
        }
        public function dispose():void
        {
            var k:int;
            var k:BitmapData;
            if (this._-4Hk != null)
            {
                k = (this._-4Hk.length - 1);
                while (k >= 0)
                {
                    k = this._-4Hk.getWithIndex(k);
                    if (k)
                    {
                        k.dispose();
                    };
                    k = null;
                    k--;
                };
                this._-4Hk.dispose();
                this._-4Hk = null;
            };
            if (this._-3ne != null)
            {
                this._-3ne.events.removeEventListener(_-z6._-47G, this._-292);
                this._-3ne.events.removeEventListener(_-3Wk._-3hw, this._-27W);
                this._-3ne = null;
            };
            this._-4Bk = true;
            this.container = null;
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-1m0._-q2);
            k.push(_-1m0._-1lV);
            k.push(_-3VD._-12e);
            k.push(_-3VD._-u4);
            k.push(_-3VD._-5Db);
            k.push(_-3VD._-2nT);
            k.push(_-3VD._-0AR);
            k.push(_-3VD._-2k0);
            k.push(_-3VD. use);
            k.push(_-3VD._-05u);
            k.push(_-3VD._-2wa);
            k.push(_-3VD._-0Ue);
            k.push(_-3VD.MUTE_USER_2MIN);
            k.push(_-3VD.MUTE_USER_5MIN);
            k.push(_-3VD.MUTE_USER_10MIN);
            k.push(_-3VD._-2qF);
            k.push(_-3VD._-2pY);
            k.push(_-3VD._-0tp);
            k.push(_-3VD._-0MS);
            k.push(_-3VD._-0kH);
            k.push(_-3VD._-4e1);
            k.push(_-3VD._-46O);
            k.push(_-2ve._-0qX);
            k.push(_-2ve._-1J6);
            k.push(_-2ve._-5-b);
            k.push(_-2ve._-1te);
            k.push(_-2ve._-032);
            k.push(_-2ve._-1c4);
            k.push(_-48D._-4Tw);
            k.push(_-2jE._-5B0);
            k.push(_-1FX._-9t);
            k.push(_-3VD._-4Po);
            k.push(_-3VD._-09);
            k.push(_-3VD._-44);
            k.push(_-3VD._-3L3);
            k.push(_-3VD._-3ob);
            k.push(_-3VD._-5As);
            k.push(_-3VD._-hN);
            k.push(_-3VD._-2aj);
            k.push(_-35J._-dH);
            k.push(_-35J._-ZO);
            k.push(_-3VD._-2yN);
            k.push(_-3VD._-3Om);
            k.push(_-2aY._-3Nv);
            k.push(_-4jZ._-3aE);
            k.push(_-45O._-00W);
            k.push(_-3VD._-3cn);
            k.push(_-3VD._-1Sa);
            k.push(_-3VD._-27c);
            k.push(_-3VD._-1lg);
            k.push(_-3VD._-214);
            k.push(_-3VD._-AH);
            k.push(_-3VD._-1Gc);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var k:_-4LX;
            var k:_-3VD;
            var k:_-2ve;
            var _local8:_-Rz;
            var _local9:_-4LX;
            var _local10:String;
            var _local11:_-48D;
            var _local12:_-2jE;
            var _local13:_-1FX;
            var _local14:_-35J;
            var _local15:_-35J;
            var _local16:_-2aY;
            var _local17:_-4jZ;
            var _local18:_-45O;
            var k:Map;
            var k:Array;
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:_-3tI;
            if (_arg1 == null)
            {
                return (null);
            };
            if (this._container == null)
            {
                return (null);
            };
            var k:int;
            k = (_arg1 as _-3VD);
            if (k != null)
            {
                k = k.userId;
                if ((((((((((((((((((((((((_arg1.type == _-3VD._-3Om)) || ((_arg1.type == _-3VD._-2yN)))) || ((_arg1.type == _-3VD._-09)))) || ((_arg1.type == _-3VD._-44)))) || ((_arg1.type == _-3VD._-3L3)))) || ((_arg1.type == _-3VD._-3ob)))) || ((_arg1.type == _-3VD._-5As)))) || ((_arg1.type == _-3VD._-hN)))) || ((_arg1.type == _-3VD._-4e1)))) || ((_arg1.type == _-3VD._-1Sa)))) || ((_arg1.type == _-3VD._-3cn)))) || ((_arg1.type == _-3VD._-27c))))
                {
                    k = this._container.roomSession.userDataManager._-lD(k);
                }
                else
                {
                    k = this._container.roomSession.userDataManager._-2Xd(k);
                };
                if (k == null)
                {
                    return (null);
                };
            };
            var k:int;
            var k:int;
            k = (_arg1 as _-2ve);
            if (k != null)
            {
                k = k._-4Jh;
                k = k._-3dE;
            };
            switch (_arg1.type)
            {
                case _-1m0._-q2:
                    return (this._-3Vs((_arg1 as _-1m0)));
                case _-1m0._-1lV:
                    return (this._-2KR((_arg1 as _-1m0)));
                case _-3VD._-12e:
                    this._container._-4zV._-7a(k, k.name);
                    break;
                case _-3VD._-u4:
                    this._container.sessionDataManager._-4Lq(k);
                    break;
                case _-3VD._-2yN:
                    this._container.sessionDataManager._-0lX(k);
                    break;
                case _-3VD._-5Db:
                    _local8 = new _-Rz(_-Rz._-87, k.name);
                    this._container.events.dispatchEvent(_local8);
                    break;
                case _-3VD._-2nT:
                    this._container.sessionDataManager._-49D(k.name);
                    break;
                case _-3VD._-0AR:
                    this._container.sessionDataManager._-0PA(k.name);
                    break;
                case _-3VD._-2k0:
                    this._container.roomSession._-43c(k._-2-w);
                    break;
                case _-3VD. use:
                    this._container.roomSession._-0jI(k._-2-w);
                    break;
                case _-3VD._-05u:
                case _-3VD._-2wa:
                case _-3VD._-0Ue:
                    this._container.roomSession._-4Ml(k._-2-w, _arg1.type);
                    break;
                case _-3VD.MUTE_USER_2MIN:
                    this._container.roomSession._-0Ws(k._-2-w, 2);
                    break;
                case _-3VD.MUTE_USER_5MIN:
                    this._container.roomSession._-0Ws(k._-2-w, 5);
                    break;
                case _-3VD.MUTE_USER_10MIN:
                    this._container.roomSession._-0Ws(k._-2-w, 10);
                    break;
                case _-3VD._-2qF:
                    this._container.roomSession._-1iX(k._-2-w);
                    break;
                case _-3VD._-2pY:
                    this._container.roomSession._-4xm(k._-2-w);
                    break;
                case _-3VD._-0tp:
                    _local9 = this._container.roomSession.userDataManager._-2Xd(k.userId);
                    this._container.inventory._-43v(_local9.roomObjectId, _local9.name);
                    break;
                case _-3VD._-0MS:
                    this._container.sessionDataManager._-0Tl(k._-2-w);
                    break;
                case _-3VD._-09:
                    this._container.roomSession._-1UC(k);
                    break;
                case _-3VD._-44:
                    this._container.roomSession._-Ws(k);
                    break;
                case _-3VD._-3L3:
                    this._container.roomSession._-1Cl(k);
                    break;
                case _-3VD._-3ob:
                    this._container.roomSession._-zt(k);
                    break;
                case _-3VD._-5As:
                    this._container.roomSession._-0ww(k);
                    break;
                case _-3VD._-hN:
                    this._container.roomSession._-1Fn(k);
                    break;
                case _-3VD._-0kH:
                    this._container.connection.send(new _-2e8(k));
                    break;
                case _-3VD._-4e1:
                    this._container.connection.send(new _-4NG(k));
                    break;
                case _-3VD._-1Sa:
                    this._container.connection.send(new _-2dR(k, _-29-._-4lC));
                    break;
                case _-3VD._-3cn:
                    this._container.connection.send(new _-2dR(k, _-29-._-ly));
                    break;
                case _-3VD._-27c:
                    this._container.connection.send(new _-0RR(k));
                    break;
                case _-3VD._-46O:
                    this._container.connection.send(new _-2HA());
                    break;
                case _-2ve._-1J6:
                    this._container.roomEngine.modifyRoomObject(k, k, _-2Ws.OBJECT_ROTATE_POSITIVE);
                    break;
                case _-2ve._-0qX:
                    this._container.roomEngine.modifyRoomObject(k, k, _-2Ws.OBJECT_MOVE);
                    break;
                case _-2ve._-5-b:
                    this._container.roomEngine.modifyRoomObject(k, k, _-2Ws.OBJECT_PICKUP);
                    break;
                case _-2ve._-1te:
                    this._container.roomEngine.modifyRoomObject(k, k, _-2Ws.OBJECT_EJECT);
                    break;
                case _-2ve._-032:
                    this._container.roomEngine._-0Mf(k, k);
                    break;
                case _-2ve._-1c4:
                    _local10 = k.objectData;
                    if (_local10 != null)
                    {
                        k = new Map();
                        k = _local10.split("\t");
                        if (k != null)
                        {
                            for each (k in k)
                            {
                                k = k.split("=", 2);
                                if (((!((k == null))) && ((k.length == 2))))
                                {
                                    k = k[0];
                                    k = k[1];
                                    k.add(k, k);
                                };
                            };
                        };
                        this._container.roomEngine._-2fr(k, k, _-2Ws.OBJECT_SAVE_STUFF_DATA, k);
                        if (!k.disposed)
                        {
                            k.dispose();
                        };
                    };
                    break;
                case _-3VD._-3Om:
                    if (((!((this._container.roomSession == null))) && (!((this._container.roomSession.userDataManager == null)))))
                    {
                        this._container.roomSession.userDataManager._-2yW(k);
                    };
                    break;
                case _-48D._-4Tw:
                    _local11 = (_arg1 as _-48D);
                    if (_local11 == null)
                    {
                        return (null);
                    };
                    this._container.navigator._-3ht(_local11.tag);
                    break;
                case _-2jE._-5B0:
                    _local12 = (_arg1 as _-2jE);
                    if (_local12 == null)
                    {
                        return (null);
                    };
                    this._container._-0Rz._-1n2(_local12._-0uB, _local12.groupId);
                    break;
                case _-1FX._-9t:
                    _local13 = (_arg1 as _-1FX);
                    if (_local13 == null)
                    {
                        return (null);
                    };
                    if (this._-0dg != null)
                    {
                        this._-0dg._-3a2(_local13.badgeId);
                    };
                    break;
                case _-3VD._-4Po:
                    if ((((this._container == null)) || ((this._container.habboHelp == null)))) break;
                    if (k == null) break;
                    this._container.habboHelp._-1fk(k, -1);
                    break;
                case _-3VD._-214:
                    this._-1fk(k, 121);
                    break;
                case _-3VD._-AH:
                    this._-1fk(k, 122);
                    break;
                case _-3VD._-1Gc:
                    this._-1fk(k, 124);
                    break;
                case _-3VD._-1lg:
                    if ((((this._container == null)) || ((this._container.habboHelp == null)))) break;
                    if (k == null) break;
                    this._container.habboHelp._-4pL(k);
                    break;
                case _-35J._-ZO:
                    _local14 = (_arg1 as _-35J);
                    this._container.roomSession._-1HB(_local14._-3yD);
                    break;
                case _-35J._-dH:
                    _local15 = (_arg1 as _-35J);
                    this._container.roomSession._-55S(_local15.value);
                    break;
                case _-2aY._-3Nv:
                    _local16 = (_arg1 as _-2aY);
                    this._container.roomSession._-1sT(_local16.motto);
                    break;
                case _-4jZ._-3aE:
                    _local17 = (_arg1 as _-4jZ);
                    if (this._container.habboTracking)
                    {
                        this._container.habboTracking.trackGoogle("extendedProfile", _local17._-2Xz);
                    };
                    this._container.connection.send(new _-RA(_local17.userId));
                    break;
                case _-45O._-00W:
                    _local18 = (_arg1 as _-45O);
                    if (((!((_local18 == null))) && (!((this._-0dg == null)))))
                    {
                        k = this._-0dg.furniData;
                        if (((!((k == null))) && ((k.id == _local18._-mx))))
                        {
                            if (this._-0dg._-3Gb())
                            {
                                this._-0dg.close();
                            };
                        };
                    };
            };
            return (null);
        }
        private function _-1fk(_arg1:int, _arg2:int):void
        {
            if (((!((this._container == null))) || (!((this._container.habboHelp == null)))))
            {
                this._container.habboHelp._-1fk(_arg1, _arg2);
            };
        }
        private function _-2KR(_arg1:_-1m0):_-49d
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var _local7:_-3SU;
            var _local8:String;
            var _local9:_-4LX;
            var k:int;
            var _local11:int;
            var _local12:_-0hX;
            k = this._container.roomSession.roomId;
            k = this._container.roomSession.roomCategory;
            var k:String;
            switch (_arg1.category)
            {
                case _-1sV._-0u-:
                case _-1sV._-20L:
                    if ((((this._container.events == null)) || ((this._container.roomEngine == null))))
                    {
                        return (null);
                    };
                    _local7 = this._container.roomEngine.getRoomObject(k, k, _arg1.id, _arg1.category);
                    _local8 = _local7.getType();
                    if (_local8.indexOf("poster") == 0)
                    {
                        k = int(_local8.replace("poster", ""));
                        k = (("${poster_" + k) + "_name}");
                        k = _local7.getId();
                        k = -1;
                    }
                    else
                    {
                        _local11 = _local7.getModel().getNumber(_-4Wq._-0z3);
                        if (_arg1.category == _-1sV._-0u-)
                        {
                            _local12 = this._container.sessionDataManager._-LX(_local11);
                        }
                        else
                        {
                            if (_arg1.category == _-1sV._-20L)
                            {
                                _local12 = this._container.sessionDataManager._-3LT(_local11);
                            };
                        };
                        if (_local12 == null)
                        {
                            return (null);
                        };
                        k = _local12.title;
                        k = _local7.getId();
                        k = _local12.id;
                    };
                    break;
                case _-1sV._-3I0:
                    if ((((((((((this._container.roomSession == null)) || ((this._container.sessionDataManager == null)))) || ((this._container.events == null)))) || ((this._container.roomEngine == null)))) || ((this._container._-4zV == null))))
                    {
                        return (null);
                    };
                    _local9 = this._container.roomSession.userDataManager.getUserDataByIndex(_arg1.id);
                    if (_local9 == null)
                    {
                        return (null);
                    };
                    k = _local9.name;
                    k = _local9.roomObjectId;
                    k = _local9._-2-w;
                    break;
            };
            if (k != null)
            {
                this._container.events.dispatchEvent(new _-4Uf(k, _arg1.category, k, k));
            };
            return (null);
        }
        private function _-3Vs(_arg1:_-1m0):_-49d
        {
            var _local4:_-4LX;
            var k:int = this._container.roomSession.roomId;
            var k:int = this._container.roomSession.roomCategory;
            switch (_arg1.category)
            {
                case _-1sV._-0u-:
                case _-1sV._-20L:
                    this._-35P(_arg1, k, k);
                    break;
                case _-1sV._-3I0:
                    if ((((((((((this._container.roomSession == null)) || ((this._container.sessionDataManager == null)))) || ((this._container.events == null)))) || ((this._container.roomEngine == null)))) || ((this._container._-4zV == null))))
                    {
                        return (null);
                    };
                    _local4 = this._container.roomSession.userDataManager.getUserDataByIndex(_arg1.id);
                    if (_local4 == null)
                    {
                        return (null);
                    };
                    switch (_local4.type)
                    {
                        case _-1IS._-2rN:
                            this._-0Jv(_local4._-2-w);
                            break;
                        case _-1IS._-0p3:
                            this._-3LN(k, k, _arg1.id, _arg1.category, _local4);
                            break;
                        case _-1IS._-53b:
                            this._-1HX(k, k, _arg1.id, _arg1.category, _local4);
                            break;
                        case _-1IS._-qF:
                            this._-3r3(k, k, _arg1.id, _arg1.category, _local4);
                            break;
                    };
                    break;
            };
            return (null);
        }
        private function _-0Jv(_arg1:int):void
        {
            var k:Boolean = this.container.config.getBoolean("petSelect.enabled", false);
            if (k)
            {
                this._container.connection.send(new _-2cF(_arg1));
            };
            this._container.roomSession.userDataManager._-2yW(_arg1);
        }
        private function _-1HX(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-4LX):void
        {
            var k:String = _-08b.BOT;
            var k:_-08b = new _-08b(k);
            k.name = _arg5.name;
            k.motto = _arg5.custom;
            k._-2-w = _arg5._-2-w;
            k._-1V8 = _arg3;
            var k:_-3SU = this._container.roomEngine.getRoomObject(_arg1, _arg2, _arg3, _arg4);
            if (k != null)
            {
                k._-1sC = k.getModel().getNumber(_-4Wq._-3kn);
            };
            k._-42g = this._container.roomSession._-49x;
            k._-5J = this._container.roomSession._-5J;
            k._-2Hi = this._container.roomSession._-125;
            k._-36A = this._container.sessionDataManager._-3eu;
            k._-0ab = this._container.roomSession._-49x;
            var k:Array = new Array();
            k.push(_-08b._-9N);
            k.badges = k;
            k.figure = _arg5.figure;
            this._container.events.dispatchEvent(k);
        }
        private function _-3r3(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-4LX):void
        {
            var k:_-3c = new _-3c();
            k.name = _arg5.name;
            k.motto = _arg5.custom;
            k._-2-w = _arg5._-2-w;
            k._-1V8 = _arg3;
            k._-nJ = _arg5._-nJ;
            k._-0aC = _arg5._-0aC;
            k._-0zR = _arg5._-0zR;
            var k:_-3SU = this._container.roomEngine.getRoomObject(_arg1, _arg2, _arg3, _arg4);
            if (k != null)
            {
                k._-1sC = k.getModel().getNumber(_-4Wq._-3kn);
            };
            k._-42g = this._container.roomSession._-49x;
            k._-2Hi = this._container.roomSession._-125;
            k._-36A = this._container.sessionDataManager._-3eu;
            var k:Array = new Array();
            k.push(_-08b._-9N);
            k.badges = k;
            k.figure = _arg5.figure;
            this._container.events.dispatchEvent(k);
        }
        private function _-3LN(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:_-4LX):void
        {
            var k:String;
            var k:_-08b;
            var k:_-4A9;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:Array;
            var k:Number;
            var _local16:Boolean;
            var _local17:Boolean;
            k = _-08b._-4v8;
            if (_arg5._-2-w != this._container.sessionDataManager.userId)
            {
                k = _-08b._-0tH;
            };
            k = new _-08b(k);
            k._-25V = this._container.roomSession._-25V;
            k.name = _arg5.name;
            k.motto = _arg5.custom;
            k._-4pE = _arg5._-4pE;
            k._-2-w = _arg5._-2-w;
            k._-1V8 = _arg3;
            var k:_-3SU = this._container.roomEngine.getRoomObject(_arg1, _arg2, _arg3, _arg4);
            if (k != null)
            {
                k._-1sC = k.getModel().getNumber(_-4Wq._-3kn);
            };
            if (k == _-08b._-4v8)
            {
                k.realName = this._container.sessionDataManager.realName;
                k._-0Jg = this._container.sessionDataManager._-3pl;
            };
            k._-42g = this._container.roomSession._-49x;
            k._-5J = this._container.roomSession._-5J;
            k._-2Hi = this._container.roomSession._-125;
            k._-36A = this._container.sessionDataManager._-3eu;
            if (k == _-08b._-0tH)
            {
                k._-l0 = this._container._-4zV._-4QN(_arg5._-2-w);
                k = this._container._-4zV._-4F0(_arg5._-2-w);
                if (k != null)
                {
                    k.realName = k.realName;
                };
                if (k != null)
                {
                    k = k.getModel().getNumber(_-4Wq._-1mF);
                    if (!isNaN(k))
                    {
                        k._-2g- = k;
                    };
                    if (this.container.config.getBoolean("room_moderation.improved.enabled", false))
                    {
                        k._-3rl = this._-FY(k);
                        k._-0ab = this._-2oI(k);
                        k._-1Ny = this._-57J(k);
                        _-Nb.log(((((((("Set moderation levels to " + k.name) + "Muted: ") + k._-3rl) + ", Kicked: ") + k._-0ab) + ", Banned: ") + k._-1Ny));
                    }
                    else
                    {
                        if (((k._-42g) || (k._-36A)))
                        {
                            k._-0ab = ((this._container.roomSession._-3-) && ((k._-2g- < _-4ky._-1U)));
                            k._-1Ny = ((this._container.roomSession._-3-) && ((k._-2g- < _-4ky._-1U)));
                        }
                        else
                        {
                            if (k._-2Hi >= _-4ky._-YE)
                            {
                                k._-0ab = ((this._container.roomSession._-3-) && ((k._-2g- < _-4ky._-1U)));
                            };
                        };
                    };
                };
                k._-3dp = this._container.sessionDataManager._-3dp(_arg5.name);
                k._-2Vb = this._container.sessionDataManager._-2Vb;
                k = !(this._container.sessionDataManager._-0o8);
                k = this._container.roomSession._-YP;
                if (!k)
                {
                    k._-3xC = false;
                }
                else
                {
                    switch (k)
                    {
                        default:
                            k._-3xC = false;
                            break;
                        case _-2Am._-3D:
                            _local16 = ((!((k._-2Hi == _-4ky._-1uk))) && (!((k._-2Hi == _-4ky._-4CJ))));
                            _local17 = ((!((k._-2g- == _-4ky._-1uk))) && (!((k._-2g- == _-4ky._-4CJ))));
                            k._-3xC = ((_local16) || (_local17));
                            break;
                        case _-2Am._-td:
                            k._-3xC = true;
                    };
                };
                k._-26v = _-08b._-2W9;
                if (!k)
                {
                    k._-26v = _-08b._-3gm;
                };
                if (k != _-2Am._-td)
                {
                    k._-26v = _-08b._-3-e;
                };
                k = this._container.sessionDataManager.userId;
                k = this._container.sessionDataManager._-2-C(k);
                this._-4b3(k, k);
            };
            k.groupId = int(_arg5._-2oZ);
            k._-1lA = this._container.sessionDataManager._-0h5(int(_arg5._-2oZ));
            k.groupName = _arg5.groupName;
            k.badges = this._container.roomSession.userDataManager._-0N7(_arg5._-2-w);
            k.figure = _arg5.figure;
            this._container.events.dispatchEvent(k);
            var k:Array = this._container.sessionDataManager._-2-C(_arg5._-2-w);
            this._-4b3(_arg5._-2-w, k);
            this._container._-0Rz._-0-I(_arg5._-2-w);
        }
        private function _-FY(_arg1:_-08b):Boolean
        {
            var userInfo:_-08b = _arg1;
            return (this._-Sn(userInfo, function (_arg1:_-08b, _arg2:_-0lY):Boolean
            {
                switch (_arg2._-3jE)
                {
                    case _-0lY._-4Mr:
                        return ((_arg1._-2Hi >= _-4ky._-YE));
                    default:
                        return ((_arg1._-2Hi >= _-4ky._-1U));
                };
            }));
        }
        private function _-2oI(_arg1:_-08b):Boolean
        {
            var userInfo:_-08b = _arg1;
            return (this._-Sn(userInfo, function (_arg1:_-08b, _arg2:_-0lY):Boolean
            {
                switch (_arg2._-4Qp)
                {
                    case _-0lY._-26p:
                        return (true);
                    case _-0lY._-4Mr:
                        return ((_arg1._-2Hi >= _-4ky._-YE));
                    default:
                        return ((_arg1._-2Hi >= _-4ky._-1U));
                };
            }));
        }
        private function _-57J(_arg1:_-08b):Boolean
        {
            var userInfo:_-08b = _arg1;
            return (this._-Sn(userInfo, function (_arg1:_-08b, _arg2:_-0lY):Boolean
            {
                switch (_arg2._-56q)
                {
                    case _-0lY._-4Mr:
                        return ((_arg1._-2Hi >= _-4ky._-YE));
                    default:
                        return ((_arg1._-2Hi >= _-4ky._-1U));
                };
            }));
        }
        private function _-Sn(_arg1:_-08b, _arg2:Function):Boolean
        {
            if (!this._container.roomSession._-3-)
            {
                return (false);
            };
            var k:Boolean;
            var k:_-0lY = this._container.roomSession._-1so;
            k = _arg2(_arg1, k);
            return (((k) && ((_arg1._-2g- < _-4ky._-1U))));
        }
        private function _-35P(_arg1:_-1m0, _arg2:int, _arg3:int):void
        {
            var k:int;
            var _local15:int;
            var _local16:_-0hX;
            var k:int;
            var k:String;
            var k:String;
            var k:String;
            var k:_-4vP;
            var k:String;
            var k:_-486;
            if ((((this._container.events == null)) || ((this._container.roomEngine == null))))
            {
                return;
            };
            if (_arg1.id < 0)
            {
                return;
            };
            var k:_-0ER = new _-0ER(_-0ER._-0Qg);
            k.id = _arg1.id;
            k.category = _arg1.category;
            var k:_-3SU = this._container.roomEngine.getRoomObject(_arg2, _arg3, _arg1.id, _arg1.category);
            if (!k)
            {
                return;
            };
            var k:_-30N = k.getModel();
            if (k.getString(_-1Vb._-1AY) != null)
            {
                k._-1gg = k.getString(_-1Vb._-1AY);
            };
            var k:int = k.getNumber(_-4Wq._-4YM);
            var k:_-4q2 = _-4iQ._-3hY(k);
            k.initializeFromRoomObjectModel(k);
            k._-vM = k;
            var k:String = k.getType();
            if (k.indexOf("poster") == 0)
            {
                k = int(k.replace("poster", ""));
                k.name = (("${poster_" + k) + "_name}");
                k.description = (("${poster_" + k) + "_desc}");
            }
            else
            {
                _local15 = k.getNumber(_-4Wq._-0z3);
                if (_arg1.category == _-1sV._-0u-)
                {
                    _local16 = this._container.sessionDataManager._-LX(_local15);
                }
                else
                {
                    if (_arg1.category == _-1sV._-20L)
                    {
                        _local16 = this._container.sessionDataManager._-3LT(_local15);
                    };
                };
                if (_local16 != null)
                {
                    k.name = _local16.title;
                    k.description = _local16.description;
                    k.catalogPageId = _local16.catalogPageId;
                    k.offerId = _local16.offerId;
                    if (((!((this._container._-aZ == null))) && ((_arg1.category == _-1sV._-0u-))))
                    {
                        this._container._-aZ._-0rp(k.getId(), _local16.title);
                    };
                };
            };
            if (k.indexOf("post_it") > -1)
            {
                k._-0MR = true;
            };
            var k:int = k.getNumber(_-4Wq._-2jc);
            var k:int = k.getNumber(_-4Wq._-2YS);
            k.expiration = (k - ((getTimer() - k) / 60000));
            var k:_-2Gt = this._container.roomEngine._-27h(_arg2, _arg3, _arg1.id, _arg1.category, new _-Xl(180), 32, null);
            k.image = k.data;
            k._-37N = (_arg1.category == _-1sV._-20L);
            k._-49x = this._container.roomSession._-49x;
            k._-125 = this._container.roomSession._-125;
            k._-3eu = this._container.sessionDataManager._-3eu;
            k._-nJ = k.getNumber(_-4Wq._-0Vr);
            k._-0aC = k.getString(_-4Wq._-ju);
            k._-26m = k.getNumber(_-4Wq._-fD);
            var k:int = int(k.getNumber(_-4Wq._-51d));
            if (k != 0)
            {
                k.groupId = k;
                this.container.connection.send(new _-1Eb(k, false));
            };
            if (this._container._-0Mx(k))
            {
                k._-M2 = true;
            };
            this._container.events.dispatchEvent(k);
            if (((!((k._-1gg == null))) && ((k._-1gg.length > 0))))
            {
                k = -1;
                k = "";
                k = "";
                k = "";
                if (k._-1gg == _-1Vb._-2dB)
                {
                    k = this._-3ne._-2EL();
                    if (k != null)
                    {
                        k = k._-1HS;
                        k = _-Zn._-4Jx;
                    };
                }
                else
                {
                    if (k._-1gg.indexOf(_-1Vb._-0WK) == 0)
                    {
                        k = k._-1gg.substr(_-1Vb._-0WK.length);
                        k = parseInt(k);
                        k = _-Zn._-1uK;
                    };
                };
                if (k != -1)
                {
                    k = this._-3ne._-rR(k);
                    if (k != null)
                    {
                        k = k.name;
                        k = k.creator;
                    };
                    this._container.events.dispatchEvent(new _-Zn(k, k, k, k));
                };
            };
        }
        public function _-1bj():Array
        {
            return ([_-2o-._-1zi]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:_-2o-;
            switch (_arg1.type)
            {
                case _-2o-._-1zi:
                    _local2 = (_arg1 as _-2o-);
                    if (((!((_local2 == null))) && (!((this._-0dg == null)))))
                    {
                        this._-0dg._-1jh(_local2.userId, _local2.badges);
                    };
                    return;
            };
        }
        private function _-46g(_arg1:_-3GX):void
        {
            this._-4b3(_arg1.userId, _arg1.tags);
        }
        private function _-4b3(_arg1:int, _arg2:Array):void
        {
            if (_arg2 == null)
            {
                return;
            };
            var k:Boolean;
            if (this._container.sessionDataManager != null)
            {
                k = (_arg1 == this._container.sessionDataManager.userId);
            };
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                this._container.events.dispatchEvent(new _-19V(_arg1, _arg2, k));
            };
        }
        private function _-1n8(_arg1:_-56t):void
        {
            if (this._container == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1.userId < 0)
            {
                return;
            };
            var k:_-4LX = this._container.roomSession.userDataManager.getUserDataByIndex(_arg1.userId);
            if (k == null)
            {
                return;
            };
            var k:int = k._-2-w;
            var k:BitmapData;
            var k = (k == this._container.sessionDataManager.userId);
            this._-0dg._-uC(k, _arg1.figure, _arg1._-4pE, _arg1._-1Yh, k);
        }
        private function _-bR(_arg1:_-3r):void
        {
            var k:Boolean;
            var k:_-3Sk;
            var k:int;
            var k:int;
            var k:_-4JJ;
            var k:_-2oa = _arg1._-4DG;
            if (k == null)
            {
                return;
            };
            var k:_-4LX = this._container.roomSession.userDataManager._-lD(k._-3yD);
            if (k == null)
            {
                return;
            };
            var k:String = k.figure;
            var k:int = this._-rr(k);
            var k:int = this._-GG(k);
            var k:String;
            if (k == _-3iK._-2CJ)
            {
                if (k.level >= k._-54D)
                {
                    k = "std";
                }
                else
                {
                    k = ("grw" + k.level);
                };
            };
            var k:String = (k + (((k)!=null) ? ("/posture=" + k) : ""));
            var k:BitmapData = (this._-4Hk.getValue(k) as BitmapData);
            if (k == null)
            {
                k = this._-2s2(k, k);
                this._-4Hk.add(k, k);
            };
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = (k._-nJ == this._container.sessionDataManager.userId);
                k = new _-3Sk(k, k, k.name, k._-3yD, k, k, k._-nJ, k._-0aC, k.roomObjectId, k._-0qy);
                k.level = k.level;
                k._-0Cc = k._-0Cc;
                k.experience = k.experience;
                k._-2fu = k._-2fu;
                k.energy = k.energy;
                k._-Ds = k._-Ds;
                k._-4Z1 = k._-4Z1;
                k._-3IJ = k._-3IJ;
                k._-4pW = k.respect;
                k._-193 = this._container.sessionDataManager._-193;
                k.age = k.age;
                k._-2U8 = k._-2U8;
                k._-0mh = k._-0mh;
                k._-4a2 = k._-4a2;
                k._-02Z = k._-02Z;
                k._-2gH = k._-2gH;
                k.rarityLevel = k.rarityLevel;
                k._-2YM = k._-2YM;
                k._-hX = false;
                k._-3fV = k._-3fV;
                k._-0E2 = k._-0E2;
                k._-0Ez = k._-0Ez;
                k._-35w = k._-35w;
                k._-4td = k._-4td;
                k = this._container.roomSession.roomId;
                k = this._container.roomSession.roomCategory;
                k = this._container.roomSession;
                if (k)
                {
                    k._-hX = true;
                }
                else
                {
                    if (((((k._-49x) || (this._container.sessionDataManager._-3eu))) || ((k._-125 >= _-4ky._-YE))))
                    {
                        k._-hX = true;
                    };
                };
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-2Hd(_arg1:_-4l5):void
        {
            var k:_-4XG;
            var k:String = _arg1.figure;
            var k:BitmapData = (this._-4Hk.getValue(k) as BitmapData);
            if (k == null)
            {
                k = this._-2s2(k);
                this._-4Hk.add(k, k);
            };
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = new _-4XG(_arg1._-3yD, k);
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-0a1(_arg1:_-2Ny):void
        {
            var k:_-224;
            var k:_-224;
            var k:_-5-J;
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = new _-224();
                k._-2Ds = _arg1.class._-2Ds;
                k._-YT = _arg1.class._-YT;
                k._-1A8 = _arg1.class._-1A8;
                k.userId = _arg1.class.userId;
                k.userName = _arg1.class.userName;
                k.rarityLevel = _arg1.class.rarityLevel;
                k._-2Zg = _arg1.class._-2Zg;
                k = new _-224();
                k._-2Ds = _arg1._-0GL._-2Ds;
                k._-YT = _arg1._-0GL._-YT;
                k._-1A8 = _arg1._-0GL._-1A8;
                k.userId = _arg1._-0GL.userId;
                k.userName = _arg1._-0GL.userName;
                k.rarityLevel = _arg1._-0GL.rarityLevel;
                k._-2Zg = _arg1._-0GL._-2Zg;
                k = new _-5-J(k, k);
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-UJ(_arg1:_-0Re):void
        {
            var k:_-3Uf;
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = new _-3Uf();
                k.state = _arg1.state;
                k._-4Mj = _arg1._-4Mj;
                k._-OO = _arg1._-OO;
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-2zU(_arg1:_-27a):void
        {
            var k:_-8o;
            var k:_-8o;
            var k:Array;
            var k:_-0v7;
            var k:_-S5;
            var k:_-318;
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = new _-8o();
                k._-2HY = _arg1.pet1._-2HY;
                k.name = _arg1.pet1.name;
                k.level = _arg1.pet1.level;
                k.figure = _arg1.pet1.figure;
                k.owner = _arg1.pet1.owner;
                k = new _-8o();
                k._-2HY = _arg1.pet2._-2HY;
                k.name = _arg1.pet2.name;
                k.level = _arg1.pet2.level;
                k.figure = _arg1.pet2.figure;
                k.owner = _arg1.pet2.owner;
                k = [];
                for each (k in _arg1._-4pB)
                {
                    k = new _-318();
                    k._-2RU = k._-2RU;
                    k.breeds = k.breeds.concat();
                    k.push(k);
                };
                k = new _-S5(_arg1._-4rm, k, k, k, _arg1._-086);
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-2tS(_arg1:_-04X):void
        {
            var k:_-4hs;
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = new _-4hs(_arg1._-0YR, _arg1.result);
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-4lb(_arg1:_-0at):void
        {
            var k:_-2hh;
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
                k = new _-2hh(_arg1._-3yD, _arg1._-O2, _arg1._-1sl);
                this._container.events.dispatchEvent(k);
            };
        }
        private function _-3wC(_arg1:_-4Ky):void
        {
            if (this._-0dg)
            {
                this._-0dg._-36k(_arg1._-0KC, _arg1._-i5, _arg1.status, _arg1._-5E0);
            };
        }
        public function update():void
        {
        }
        private function _-2s2(_arg1:String, _arg2:String=null):BitmapData
        {
            var k:BitmapData;
            var k:PetFigureData = new PetFigureData(_arg1);
            var k:uint;
            var k:_-2Gt = this._container.roomEngine._-2s2(k.typeId, k.paletteId, k.color, new _-Xl(90), 64, null, true, k, k._-uk, _arg2);
            if (k != null)
            {
                k = k.data;
            };
            if (k == null)
            {
                k = new BitmapData(30, 30, false, 4289374890);
            };
            return (k);
        }
        private function _-rr(_arg1:String):int
        {
            return (this._-01e(_arg1, 0));
        }
        private function _-GG(_arg1:String):int
        {
            return (this._-01e(_arg1, 1));
        }
        private function _-1Yb(_arg1:String):int
        {
            var k:Array = _arg1.split(" ");
            if (k.length > 2)
            {
                return (parseInt(k[2], 16));
            };
            return (0xFFFFFF);
        }
        private function _-01e(_arg1:String, _arg2:int):int
        {
            var k:Array;
            if (_arg1 != null)
            {
                k = _arg1.split(" ");
                if (k.length > _arg2)
                {
                    return (int(k[_arg2]));
                };
            };
            return (-1);
        }
        private function _-292(_arg1:_-z6):void
        {
            var k:int;
            var k:String;
            var k:String;
            var k:_-486;
            if (this._-3ne != null)
            {
                k = _arg1.id;
                k = "";
                k = "";
                if (k != -1)
                {
                    k = this._-3ne._-rR(k);
                    if (k != null)
                    {
                        k = k.name;
                        k = k.creator;
                    };
                };
                this._container.events.dispatchEvent(new _-Zn(_-Zn._-4Jx, k, k, k));
            };
        }
        private function _-27W(_arg1:_-3Wk):void
        {
            var k:_-486;
            if (this._-3ne != null)
            {
                k = this._-3ne._-rR(_arg1.id);
                if (k != null)
                {
                    this._container.events.dispatchEvent(new _-Zn(_-Zn._-1uK, _arg1.id, k.name, k.creator));
                };
            };
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7.MeMenuWidgetHandler

package _-4f7
{
    import _-1ye._-G0;
    import _-3Zp._-1bw;
    import _-3vb._-3b;
    import _-0mD._-2Jq;
    import flash.display.BitmapData;
    import _-3Mo._-4tq;
    import _-0se._-06U;
    import _-2HX._-4QU;
    import _-yT._-54q;
    import _-4WI._-4yb;
    import _-4WI._-4pP;
    import _-3MI._-0Sy;
    import _-2or._-0Yf;
    import _-2JX._-0I-;
    import _-4Kf._-2pC;
    import _-4Kb._-40f;
    import flash.geom.Rectangle;
    import _-0se._-1uH;
    import _-0se._-24J;
    import flash.geom.Point;
    import _-3vb.HabboToolbarIconEnum;
    import _-og._-0Uz;
    import _-1FD._-25a;
    import _-1FD._-3X1;
    import _-1FD._-2Fk;
    import _-1FD._-2bi;
    import _-1FD._-1Ez;
    import _-1FD._-4Ty;
    import _-1FD._-2Nv;
    import _-1FD._-4Th;
    import _-1FD._-4cB;
    import _-1FD._-2pd;
    import _-1FD._-1ic;
    import _-1FD._-28e;
    import _-1FD._-2CC;
    import _-1FD._-2H1;
    import _-1FD._-3o3;
    import _-1FD._-4II;
    import _-1Jd._-4LX;
    import _-og._-9m;
    import _-2Mh._-3YS;
    import _-2Mh._-cF;
    import _-3cY._-503;
    import _-1Jd._-1ij;
    import _-og._-0t9;
    import _-og._-B1;
    import _-og._-2yo;
    import _-1FD._-1yP;
    import _-og._-49d;
    import flash.events.Event;
    import _-og._-4yE;
    import _-og._-1ji;
    import _-4Kb.*;
    import _-1ye.*;

    public class MeMenuWidgetHandler implements _-26C, _-3QA 
    {

        private static const _-4KN:int = 50;
        private static const _-0Nq:int = 3;

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;
        private var _-YX:_-1bw;
        private var _-0a7:_-3b;
        private var _-3oJ:_-2Jq;
        private var _-Io:String;
        private var _-GX:BitmapData;
        private var _-3MC:BitmapData;
        private var _-0dg:_-4tq;

        public function MeMenuWidgetHandler()
        {
            _-Nb.log("[MeMenuWidgetHandler]");
        }
        public function set widget(_arg1:_-4tq):void
        {
            this._-0dg = _arg1;
        }
        public function dispose():void
        {
            if (((this._container) && (this._container.avatarEditor)))
            {
                this._container.avatarEditor.close(_-06U._-0g7);
            };
            this._-4Bk = true;
            this.container = null;
            this._-YX = null;
            this._-0a7 = null;
            this._-3oJ = null;
            this._-Io = null;
            this._-GX = null;
            this._-3MC = null;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-0kJ);
        }
        public function set container(_arg1:_-G0):void
        {
            if (this._container != null)
            {
                if (((((this._container.sessionDataManager) && (!(this._container.sessionDataManager.disposed)))) && (this._container.sessionDataManager.events)))
                {
                    this._container.sessionDataManager.events.removeEventListener(_-54q._-0Fq, this._-1n8);
                };
                if (((((this._-YX) && (!(this._-YX.disposed)))) && (this._-YX.events)))
                {
                    this._-YX.events.removeEventListener(_-4yb._-gU, this._-9v);
                    this._-YX.events.removeEventListener(_-4pP._-U3, this._-1Gp);
                };
                if (((((this._-0a7) && (!(this._-0a7.disposed)))) && (this._-0a7.events)))
                {
                    this._-0a7.events.removeEventListener(_-0Sy._-40N, this._-0WL);
                };
                if (((((this._container.habboHelp) && (!(this._container.habboHelp.disposed)))) && (this._container.habboHelp.events)))
                {
                    this._container.habboHelp.events.removeEventListener(_-0Yf._-28x, this._-3Df);
                    this._container.habboHelp.events.removeEventListener(_-0Yf._-Zd, this._-3Df);
                };
                if (((((this._container.catalog) && (!(this._container.catalog.disposed)))) && (this._container.catalog.events)))
                {
                    this._container.catalog.events.removeEventListener(_-0I-._-3-q, this._-3C-);
                };
                if (((((this._container.messenger) && (!(this._container.messenger.disposed)))) && (this._container.messenger.events)))
                {
                    this._container.messenger.events.removeEventListener(_-2pC._-58d, this._-1mT);
                    this._container.messenger.events.removeEventListener(_-2pC._-uG, this._-2cg);
                };
            };
            this._container = _arg1;
            if (this._container == null)
            {
                return;
            };
            if (this._container.sessionDataManager != null)
            {
                this._container.sessionDataManager.events.addEventListener(_-54q._-0Fq, this._-1n8);
            };
            this._-YX = this._container.inventory;
            if (this._-YX != null)
            {
                this._-YX.events.addEventListener(_-4yb._-gU, this._-9v);
                this._-YX.events.addEventListener(_-4pP._-U3, this._-1Gp);
            };
            this._-0a7 = this._container.toolbar;
            if (((this._-0a7) && (this._-0a7.events)))
            {
                this._-0a7.events.addEventListener(_-0Sy._-40N, this._-0WL);
                this._-02();
            };
            if (this._container.habboHelp != null)
            {
                this._container.habboHelp.events.addEventListener(_-0Yf._-28x, this._-3Df);
                this._container.habboHelp.events.addEventListener(_-0Yf._-Zd, this._-3Df);
            };
            this._-3oJ = this._container.catalog;
            if (this._container.catalog != null)
            {
                this._container.catalog.events.addEventListener(_-0I-._-3-q, this._-3C-);
            };
            if (((((this._container.messenger) && (!(this._container.messenger.disposed)))) && (this._container.messenger.events)))
            {
                this._container.messenger.events.addEventListener(_-2pC._-58d, this._-1mT);
                this._container.messenger.events.addEventListener(_-2pC._-uG, this._-2cg);
            };
        }
        public function get container():_-G0
        {
            return (this._container);
        }
        private function _-02():void
        {
            var k:BitmapData;
            var k:BitmapData;
            var k:String;
            var k:String;
            var k:_-40f;
            var k:BitmapData;
            var k:BitmapData;
            var k:Rectangle;
            if (this._container.avatarRenderManager != null)
            {
                k = this._container.sessionDataManager.figure;
                if (k != this._-Io)
                {
                    k = this._container.sessionDataManager.gender;
                    k = this._container.avatarRenderManager.createAvatarImage(k, _-1uH._-JU, k, this);
                    if (k != null)
                    {
                        k.setDirection(_-24J._-2YU, 2);
                        k = k._-1hx(_-24J._-2YU);
                        k = k._-1hx(_-24J._-0GH);
                        k.dispose();
                    };
                    this._-Io = k;
                    this._-GX = k;
                    this._-3MC = k;
                }
                else
                {
                    k = this._-GX;
                    k = this._-3MC;
                };
            };
            if (this._-0a7 != null)
            {
                if (((!((k == null))) && (!((k == null)))))
                {
                    if (k.height > _-4KN)
                    {
                        k = new BitmapData(k.width, _-4KN, true, 0);
                        k = k.rect.clone();
                        if (k.height > (_-4KN - _-0Nq))
                        {
                            k.offset(0, ((k.height - _-4KN) + _-0Nq));
                        };
                        k.copyPixels(k, k, new Point(0, 0));
                    }
                    else
                    {
                    };
                };
                this._-0a7._-3rs(HabboToolbarIconEnum.MEMENU, k);
            };
        }
        private function _-0WL(_arg1:_-0Sy):void
        {
            if (((((this.disposed) || (!(this._container)))) || (!(this._container.events))))
            {
                return;
            };
            if (_arg1.type == _-0Sy._-40N)
            {
                switch (_arg1._-1wJ)
                {
                    case HabboToolbarIconEnum.MEMENU:
                        this._container.events.dispatchEvent(new _-0Uz(_-0Uz.ICON_TYPE_ME_MENU));
                        return;
                };
            };
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-25a._-59i);
            k.push(_-3X1._-23w);
            k.push(_-2Fk._-0IH);
            k.push(_-2bi._-5A2);
            k.push(_-1Ez._-4G);
            k.push(_-1Ez._-2IP);
            k.push(_-1Ez._-4Rb);
            k.push(_-4Ty._-0i3);
            k.push(_-2Nv._-4bS);
            k.push(_-4Th._-4t5);
            k.push(_-4cB._-4dp);
            k.push(_-4cB._-1sL);
            k.push(_-2pd._-06H);
            k.push(_-2pd._-3ow);
            k.push(_-1ic._-4TL);
            k.push(_-28e._-g6);
            k.push(_-2CC._-34H);
            k.push(_-2H1._-0q);
            k.push(_-3o3._-2qw);
            k.push(_-4II._-1Cm);
            k.push(_-4II._-YZ);
            k.push(_-4II._-0UH);
            k.push(_-2pd._-1bQ);
            k.push(_-2CC._-34B);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            var _local2:_-2Nv;
            var _local3:_-4Ty;
            var _local4:_-2H1;
            var _local5:_-4II;
            var k:_-0Sy;
            var k:_-3X1;
            var k:_-2Fk;
            var k:Array;
            var k:_-1Ez;
            var k:_-1Ez;
            var k:Boolean;
            var k:int;
            var k:_-4LX;
            var k:int;
            var k:int;
            if (!_arg1)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-2CC._-34H:
                    if (((((!((this._container == null))) && (!((this._container.toolbar == null))))) && (!((this._container.toolbar.events == null)))))
                    {
                        k = new _-0Sy(_-0Sy._-40N);
                        k._-1wJ = HabboToolbarIconEnum.MEMENU;
                        if (((((((!(this.disposed)) && (this._container))) && (this._container.toolbar))) && (this._container.toolbar.events)))
                        {
                            this._container.toolbar.events.dispatchEvent(k);
                        };
                    };
                    break;
                case _-25a._-59i:
                    if (((!((this._container == null))) && (!((this._container.roomSession == null)))))
                    {
                        this._container.roomSession._-tg(_-25a(_arg1).animation._-4Ll);
                    };
                    break;
                case _-3X1._-23w:
                    if (((!((this._container == null))) && (!((this._container.roomSession == null)))))
                    {
                        k = (_arg1 as _-3X1);
                        if (k != null)
                        {
                            this._container.roomSession._-0Il(k.style);
                        };
                    };
                    break;
                case _-2Fk._-0IH:
                    if (((!((this._container == null))) && (!((this._container.roomSession == null)))))
                    {
                        k = (_arg1 as _-2Fk);
                        if (k != null)
                        {
                            this._container.roomSession._-1Qn(k.posture);
                        };
                    };
                    break;
                case _-2bi._-5A2:
                    if (this._-YX != null)
                    {
                        k = this._-YX.getAvatarEffects();
                        this._container.events.dispatchEvent(new _-9m(k));
                    };
                    break;
                case _-1Ez._-4G:
                    if (this._-YX != null)
                    {
                        k = (_arg1 as _-1Ez);
                        this._-YX.setEffectSelected(k._-2xh);
                    };
                    break;
                case _-1Ez._-2IP:
                    if (this._-YX != null)
                    {
                        k = (_arg1 as _-1Ez);
                        this._-YX.setEffectDeselected(k._-2xh);
                    };
                    break;
                case _-2Nv._-4bS:
                    _local2 = (_arg1 as _-2Nv);
                    if (((!((this._-3oJ == null))) && ((_local2._-3ER == _-2Nv._-4tU))))
                    {
                        this._-3oJ.openClubBuy(_-3YS._-36p, "MeMenuWidgetHandler");
                    };
                    break;
                case _-4Ty._-0i3:
                    _local3 = (_arg1 as _-4Ty);
                    if (this._-YX != null)
                    {
                        _-Nb.log(("MeMenuWidgetHandler open inventory: " + _local3._-1AT));
                        switch (_local3._-1AT)
                        {
                            case _-4Ty._-3HA:
                                this._-3oJ.openCatalogPage(_-cF._-3LX);
                                break;
                            case _-4Ty._-4Ht:
                                this._-YX._-4Op(_-503._-4Ds);
                                break;
                            case _-4Ty._-4-s:
                                this._-YX._-4Op(_-503._-2uv);
                                break;
                            case _-4Ty._-4ig:
                                break;
                            default:
                                _-Nb.log(("MeMenuWidgetHandler: unknown inventory type: " + _local3._-1AT));
                        };
                    };
                    break;
                case _-1Ez._-4Rb:
                case _-4Th._-4t5:
                    _-Nb.log("STOP ALL EFFECTS");
                    if (this._-YX != null)
                    {
                        this._-YX._-4nV(true);
                    };
                    break;
                case _-4cB._-1sL:
                    _-Nb.log("MeMenuWidgetHandler: GO HOME");
                    if (this._container != null)
                    {
                        this._container.navigator.goToHomeRoom();
                    };
                    break;
                case _-28e._-g6:
                    if (this._container != null)
                    {
                        this._container.navigator._-12E();
                    };
                    break;
                case _-2H1._-0q:
                    _local4 = (_arg1 as _-2H1);
                    if (((((!(_local4)) || (!(this._container)))) || (!(this._container.events))))
                    {
                        return (null);
                    };
                    if (this._-YX != null)
                    {
                        k = false;
                        if (((!((this._container == null))) && (!((this._container.sessionDataManager == null)))))
                        {
                            k = (this._container.sessionDataManager.clubLevel >= _-1ij._-12G);
                        };
                        this._container.events.dispatchEvent(new _-0t9(this._-YX.clubDays, this._-YX.clubPeriods, this._-YX._-54M, k, this._-YX.clubLevel));
                    };
                    if (((!((this._-3oJ == null))) && (!((this._-3oJ.getPurse() == null)))))
                    {
                        this._container.events.dispatchEvent(new _-B1(_-B1._-3-q, this._-3oJ.getPurse().credits));
                    };
                    if (((((this._container.roomSession) && (this._container.roomSession.userDataManager))) && (this._container.roomEngine)))
                    {
                        k = (((this._container.sessionDataManager)!=null) ? this._container.sessionDataManager.userId : -1);
                        k = this._container.roomSession.userDataManager._-2Xd(k);
                        if (!k)
                        {
                            return (null);
                        };
                        k = 0;
                        k = 0;
                        this._container.roomEngine._-Is(k, k, k.roomObjectId);
                    };
                    break;
                case _-2pd._-06H:
                    _-Nb.log("MeMenuWidgetHandler: Open avatar editor...");
                    if (this._container)
                    {
                        this._container.avatarEditor.openEditor(_-06U._-0g7, null, null, true);
                        this._container.avatarEditor.loadOwnAvatarInEditor(_-06U._-0g7);
                        if (((this._container.habboHelp) && (this._container.habboHelp.events)))
                        {
                            this._container.habboHelp.events.dispatchEvent(new _-0Yf(_-0Yf._-1Nc));
                        };
                    };
                    break;
                case _-3o3._-2qw:
                    this._container.events.dispatchEvent(new _-2yo(_-2yo._-bj, this._container._-0Y._-0nr, this._container._-0Y._-46y, this._container._-0Y._-1hL));
                    break;
                case _-4II._-YZ:
                    this._container._-0Y._-0nr = (_arg1 as _-4II)._-0nr;
                    this._container._-0Y._-46y = (_arg1 as _-4II)._-46y;
                    this._container._-0Y._-1hL = (_arg1 as _-4II)._-1hL;
                    this._container.events.dispatchEvent(new _-2yo(_-2yo._-bj, this._container._-0Y._-0nr, this._container._-0Y._-46y, this._container._-0Y._-1hL));
                    break;
                case _-4II._-0UH:
                    _local5 = (_arg1 as _-4II);
                    this._container._-0Y._-5BA(_local5._-1hL, _local5._-46y, _local5._-0nr);
                    this._container.events.dispatchEvent(new _-2yo(_-2yo._-bj, this._container._-0Y._-0nr, this._container._-0Y._-46y, this._container._-0Y._-1hL));
                    break;
                case _-2pd._-1bQ:
                    if (((this._container.habboHelp) && (this._container.habboHelp.events)))
                    {
                        this._container.habboHelp.events.dispatchEvent(new _-0Yf(_-0Yf._-21D));
                    };
                    break;
                default:
                    _-Nb.log(("Unhandled message in MeMenuWidgetHandler: " + _arg1.type));
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([]);
        }
        public function _-2bX(_arg1:Event):void
        {
        }
        public function update():void
        {
        }
        private function _-9v(_arg1:Event=null):void
        {
            var k:Array;
            if (this._container == null)
            {
                return;
            };
            _-Nb.log("[MeMenuWidgetHandler] Received Avatar Effects Have Changed Event...\t");
            if (this._-YX != null)
            {
                k = this._-YX.getAvatarEffects();
                this._container.events.dispatchEvent(new _-9m(k));
            };
        }
        private function _-1Gp(_arg1:Event=null):void
        {
            var k:Boolean;
            if (this._-YX != null)
            {
                k = false;
                if (((!((this._container == null))) && (!((this._container.sessionDataManager == null)))))
                {
                    k = (this._container.sessionDataManager.clubLevel >= _-1ij._-12G);
                };
                this._container.events.dispatchEvent(new _-0t9(this._-YX.clubDays, this._-YX.clubPeriods, this._-YX._-54M, k, this._-YX.clubLevel));
            };
        }
        private function _-1n8(_arg1:_-54q):void
        {
            if (this._container == null)
            {
                return;
            };
            if (_arg1 == null)
            {
                return;
            };
            var k = (_arg1.userId == this._container.sessionDataManager.userId);
            if (k)
            {
                this._-02();
            };
            if (((!((this._container == null))) && (!((this._container.events == null)))))
            {
            };
        }
        private function _-3C-(_arg1:_-0I-):void
        {
            if ((((((_arg1 == null)) || ((this._container == null)))) || ((this._container.events == null))))
            {
                return;
            };
            this._container.events.dispatchEvent(new _-B1(_-B1._-3-q, _arg1.balance));
        }
        private function _-3Df(_arg1:_-0Yf):void
        {
            if (this._container == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-0Yf._-Zd:
                    this._container.events.dispatchEvent(new _-4yE(_-4yE._-Zd));
                    return;
                case _-0Yf._-28x:
                    this._container.events.dispatchEvent(new _-4yE(_-4yE._-1cg));
                    return;
            };
        }
        private function _-1mT(_arg1:_-2pC):void
        {
            this._container.events.dispatchEvent(new _-1ji(_-1ji._-58d));
        }
        private function _-2cg(_arg1:_-2pC):void
        {
            this._container.events.dispatchEvent(new _-1ji(_-1ji._-43u));
        }
        public function _-0-V(_arg1:String):void
        {
            this._-Io = "";
            this._-02();
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4f7.RoomQueueWidgetHandler

package _-4f7
{
    import _-1ye._-G0;
    import _-2HX._-4QU;
    import _-1FD._-1He;
    import _-yT._-6C;
    import _-2Mh._-3YS;
    import _-1FD._-1yP;
    import _-og._-49d;
    import _-og._-1a6;
    import flash.events.Event;
    import _-1ye.*;

    public class RoomQueueWidgetHandler implements _-26C 
    {

        private var _-4Bk:Boolean = false;
        private var _container:_-G0 = null;

        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get type():String
        {
            return (_-4QU._-3IP);
        }
        public function set container(_arg1:_-G0):void
        {
            this._container = _arg1;
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._container = null;
        }
        public function _-375():Array
        {
            var k:Array = [];
            k.push(_-1He._-0Yo);
            k.push(_-1He._-Ku);
            k.push(_-1He._-3di);
            k.push(_-1He._-4Um);
            return (k);
        }
        public function processWidgetMessage(_arg1:_-1yP):_-49d
        {
            if ((((this._container == null)) || ((this._container.roomSession == null))))
            {
                return (null);
            };
            var k:_-1He = (_arg1 as _-1He);
            if (k == null)
            {
                return (null);
            };
            switch (_arg1.type)
            {
                case _-1He._-0Yo:
                    this._container.roomSession._-vQ();
                    break;
                case _-1He._-Ku:
                    this._container.roomSession._-3oA(_-6C._-2M);
                    break;
                case _-1He._-3di:
                    this._container.roomSession._-3oA(_-6C._-2jn);
                    break;
                case _-1He._-4Um:
                    if (this._container.catalog != null)
                    {
                        this._container.catalog.openClubBuy(_-3YS._-36p, "RoomQueueWidgetHandler");
                    };
                    break;
            };
            return (null);
        }
        public function _-1bj():Array
        {
            return ([_-6C._-4ud]);
        }
        public function _-2bX(_arg1:Event):void
        {
            var _local2:_-6C;
            var _local3:String;
            var _local4:Boolean;
            var _local5:Array;
            var _local6:int;
            var _local7:Boolean;
            var _local8:_-1a6;
            if ((((this._container == null)) || ((this._container.events == null))))
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-6C._-4ud:
                    _local2 = (_arg1 as _-6C);
                    if (_local2 == null)
                    {
                        return;
                    };
                    switch (_local2._-JL)
                    {
                        case _-6C._-2jn:
                            _local3 = _-1a6._-4KD;
                            break;
                        case _-6C._-2M:
                            _local3 = _-1a6._-1V4;
                            break;
                    };
                    if (_local3 == null)
                    {
                        return;
                    };
                    _local4 = true;
                    if (this._container.inventory != null)
                    {
                        _local4 = (this._container.inventory.clubDays > 0);
                    };
                    _local5 = _local2._-08-;
                    _local7 = false;
                    if (_local5.length > 1)
                    {
                        if (((_local4) && (!((_local2._-08-.indexOf(_-6C._-3Dj) == -1)))))
                        {
                            _local6 = (_local2._-0E9(_-6C._-3Dj) + 1);
                            _local7 = true;
                        }
                        else
                        {
                            _local6 = (_local2._-0E9(_-6C._-29D) + 1);
                        };
                    }
                    else
                    {
                        _local6 = (_local2._-0E9(_local5[0]) + 1);
                    };
                    _local8 = new _-1a6(_local3, _local6, _local4, _local2._-3Cm, _local7);
                    this._container.events.dispatchEvent(_local8);
                    return;
            };
        }
        public function update():void
        {
        }

    }
}//package _-4f7

//------------------------------------------------------------
//_-4Fh._-00E

package _-4Fh
{
    import _-3V-._-3SU;

    public interface _-00E 
    {

        function get _-2GD():String;
        function getRoomObject(_arg1:String):_-3SU;
        function getRoomObjectWithIndex(_arg1:int):_-3SU;
        function _-4-K(_arg1:int):String;
        function getRoomObjectCount():int;
        function getRoomObjectIdentifier(_arg1:_-3SU):String;

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4Fh._-0nP

package _-4Fh
{
    import _-1B-.*;

    public interface _-0nP extends _-4yI 
    {

        function createRenderer():_-4yY;

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4Fh._-2bp

package _-4Fh
{
    import _-071._-3gM;
    import _-3V-._-3SU;
    import _-0y0._-3q6;

    public interface _-2bp 
    {

        function _-2EQ(_arg1:_-3gM, _arg2:_-3SU, _arg3:_-3q6):void;

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4Fh._-2eT

package _-4Fh
{
    import _-3V-._-3SU;

    public interface _-2eT 
    {

        function dispose():void;
        function reset():void;
        function _-3NJ(_arg1:_-3SU):void;
        function _-2tb(_arg1:_-3SU):void;
        function update(_arg1:uint):void;

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4Fh._-2vu

package _-4Fh
{
    import flash.display.DisplayObject;
    import _-0y0._-3q6;

    public interface _-2vu 
    {

        function set _-3wr(_arg1:Boolean):void;
        function initialize(_arg1:int, _arg2:int):void;
        function get width():int;
        function get height():int;
        function set _-2Kt(_arg1:int):void;
        function set _-2TB(_arg1:int):void;
        function get _-2Kt():int;
        function get _-2TB():int;
        function render(_arg1:int):void;
        function get displayObject():DisplayObject;
        function get geometry():_-3q6;
        function set _-3LD(_arg1:_-2bp):void;
        function _-12w(_arg1:int, _arg2:int, _arg3:String, _arg4:Boolean, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean):Boolean;

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4Fh._-4yY

package _-4Fh
{
    public interface _-4yY extends _-2eT 
    {

        function set _-2GD(_arg1:String):void;
        function _-5DE(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-2vu;
        function _-3zT(_arg1:int):_-2vu;
        function _-4ou(_arg1:int):Boolean;

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4Fh._-5-6

package _-4Fh
{
    import _-18r.Map;
    import _-1B-._-Px;
    import _-3V-._-3SU;
    import flash.utils.getTimer;
    import _-18r.ErrorReportStorage;
    import _-0y0._-2QE;

    public class _-5-6 implements _-4yY, _-00E 
    {

        private var _-2UP:Map;
        private var _-1ix:Map;
        private var _-3Gv:_-Px;
        private var _disposed:Boolean = false;
        private var _-1yN:String = null;

        public function _-5-6(_arg1:_-Px)
        {
            this._-2UP = new Map();
            this._-1ix = new Map();
            if (_arg1 != null)
            {
                this._-3Gv = _arg1;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-2GD():String
        {
            return (this._-1yN);
        }
        public function set _-2GD(_arg1:String):void
        {
            this._-1yN = _arg1;
        }
        public function dispose():void
        {
            var k:int;
            var k:RoomSpriteCanvas;
            if (this.disposed)
            {
                return;
            };
            if (this._-1ix != null)
            {
                k = 0;
                while (k < this._-1ix.length)
                {
                    k = (this._-1ix.getWithIndex(k) as RoomSpriteCanvas);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-1ix.dispose();
                this._-1ix = null;
            };
            if (this._-2UP != null)
            {
                this._-2UP.dispose();
                this._-2UP = null;
            };
            if (this._-3Gv != null)
            {
                this._-3Gv = null;
            };
            this._disposed = true;
        }
        public function reset():void
        {
            this._-2UP.reset();
        }
        public function getRoomObjectIdentifier(_arg1:_-3SU):String
        {
            if (_arg1 != null)
            {
                return (String(_arg1.getInstanceId()));
            };
            return (null);
        }
        public function _-3NJ(_arg1:_-3SU):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-2UP.add(this.getRoomObjectIdentifier(_arg1), _arg1);
        }
        public function _-2tb(_arg1:_-3SU):void
        {
            var k:RoomSpriteCanvas;
            var k:String = this.getRoomObjectIdentifier(_arg1);
            this._-2UP.remove(k);
            var k:int;
            while (k < this._-1ix.length)
            {
                k = (this._-1ix.getWithIndex(k) as RoomSpriteCanvas);
                if (k != null)
                {
                    k._-2fW(k);
                };
                k++;
            };
        }
        public function getRoomObject(_arg1:String):_-3SU
        {
            return ((this._-2UP.getValue(_arg1) as _-3SU));
        }
        public function getRoomObjectWithIndex(_arg1:int):_-3SU
        {
            return ((this._-2UP.getWithIndex(_arg1) as _-3SU));
        }
        public function _-4-K(_arg1:int):String
        {
            return ((this._-2UP.getKey(_arg1) as String));
        }
        public function getRoomObjectCount():int
        {
            return (this._-2UP.length);
        }
        public function render():void
        {
            var k:_-2vu;
            var k:int = getTimer();
            ErrorReportStorage._-0QQ("Canvas count", ("Canvas count: " + this._-1ix.length));
            var k:int = (this._-1ix.length - 1);
            while (k >= 0)
            {
                k = (this._-1ix.getWithIndex(k) as _-2vu);
                if (k != null)
                {
                    k.render(k);
                };
                k--;
            };
        }
        public function _-5DE(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-2vu
        {
            var k:_-2QE;
            var k:_-2vu = (this._-1ix.getValue(String(_arg1)) as _-2vu);
            if (k != null)
            {
                k.initialize(_arg2, _arg3);
                k = (k.geometry as _-2QE);
                if (k)
                {
                    k.scale = _arg4;
                };
                return (k);
            };
            k = this.createCanvasInstance(_arg1, _arg2, _arg3, _arg4);
            this._-1ix.add(String(_arg1), k);
            return (k);
        }
        protected function createCanvasInstance(_arg1:int, _arg2:int, _arg3:int, _arg4:int):_-2vu
        {
            return (new RoomSpriteCanvas(this, ("canvas_" + _arg1), _arg2, _arg3, _arg4));
        }
        public function _-3zT(_arg1:int):_-2vu
        {
            var k:_-2vu = (this._-1ix.getValue(String(_arg1)) as _-2vu);
            return (k);
        }
        public function _-4ou(_arg1:int):Boolean
        {
            var k:RoomSpriteCanvas = (this._-1ix.remove(String(_arg1)) as RoomSpriteCanvas);
            if (k != null)
            {
                k.dispose();
            };
            return (false);
        }
        public function update(_arg1:uint):void
        {
            var k:RoomSpriteCanvas;
            this.render();
            var k:int = (this._-1ix.length - 1);
            while (k >= 0)
            {
                k = (this._-1ix.getWithIndex(k) as RoomSpriteCanvas);
                if (k != null)
                {
                    k.update();
                };
                k--;
            };
        }

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4Fh._-aE

package _-4Fh
{
    import _-1B-._-Px;
    import _-1B-._-5CE;

    public class _-aE extends _-Px implements _-0nP 
    {

        public function _-aE(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
        public function createRenderer():_-4yY
        {
            var k:_-5-6 = new _-5-6(this);
            return (k);
        }

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4Fh.RoomSpriteCanvas

package _-4Fh
{
    import flash.geom.Point;
    import _-0y0._-2QE;
    import flash.display.Sprite;
    import _-18r.Map;
    import _-4Z3.BitmapDataCache;
    import _-4Z3._-1t7;
    import flash.geom.ColorTransform;
    import flash.geom.Matrix;
    import flash.events.MouseEvent;
    import _-0y0._-Xl;
    import flash.display.DisplayObject;
    import _-0y0._-3q6;
    import  case._-3Fs;
    import _-3V-._-3SU;
    import  case._-1XM;
    import _-4Z3._-3jh;
    import flash.display.BitmapData;
    import _-4rn._-E7;
    import _-4Z3._-3-D;
    import _-4Z3.RoomObjectSortableSpriteCacheItem;
    import _-0y0._-06R;
    import _-4rn._-59O;
    import flash.geom.Rectangle;
    import flash.display.PixelSnapping;
    import _-0y0._-AY;
    import _-3D7._-1Wb;
    import  case._-2tl;
    import _-071._-3gM;
    import  case._-27y;
    import _-0sD._-4Oa;
    import _-0y0.*;

    public class RoomSpriteCanvas implements _-2vu 
    {

        private static const _-4XR:Point = new Point(0, 0);
        private static const _-2yf:int = 50;
        private static const _-3Rf:int = 50;
        private static const _-124:Number = 60;
        private static const _-2mt:Number = 50;
        private static const _-2S4:int = 1000;

        private var _container:_-00E;
        private var _-4zq:_-2QE;
        private var _-3RZ:int = 0;
        private var _-3B3:Sprite;
        private var _-0MP:Sprite;
        private var _-0Kf:Sprite;
        private var _-13c:Map;
        private var _-2S8:Point;
        private var _-2AI:BitmapDataCache;
        private var _-3IK:_-1t7;
        private var _-44h:Array;
        private var _-fr:Array;
        private var _-0Fr:_-2bp = null;
        private var _-0Kq:String = "";
        private var _-1-p:Map = null;
        private var _-43B:int = 0;
        private var _-0RW:int;
        private var _-1RJ:int;
        private var _-3xh:int;
        private var _-fu:int;
        private var _-54F:int;
        private var _-12D:int;
        private var _-5Bc:int = -1;
        private var _-0b9:Number = -10000000;
        private var _-2a8:Number = -10000000;
        private var _-5e:int = 0;
        private var _-XV:Boolean = false;
        private var _-2R-:Boolean = false;
        private var _-1Cw:ColorTransform;
        private var _-3g0:Matrix;
        private var _-00p:Number = 0;
        private var _-pN:int = 0;
        private var _-0T6:Boolean = false;
        private var _-3Ww:Boolean = false;
        private var _-12g:int = 0;
        private var _-0JT:Boolean = false;
        private var _-2zH:Array;
        private var _-xv:int = 0;
        private var _-Iz:Number = 0;
        private var _-07U:int = 0;
        private var _-1jG:int = 0;

        public function RoomSpriteCanvas(_arg1:_-00E, _arg2:String, _arg3:int, _arg4:int, _arg5:int)
        {
            this._-13c = new Map();
            this._-2S8 = new Point();
            this._-44h = [];
            this._-fr = [];
            this._-2zH = [];
            super();
            this._container = _arg1;
            this._-0Kq = _arg2;
            this._-3B3 = new Sprite();
            this._-3B3.mouseEnabled = false;
            this._-0Kf = new Sprite();
            this._-0Kf.name = "canvas";
            this._-0Kf.mouseEnabled = false;
            this._-3B3.addChild(this._-0Kf);
            this._-0Kf.mouseEnabled = true;
            this._-0Kf.doubleClickEnabled = true;
            this._-0Kf.addEventListener(MouseEvent.CLICK, this._-0Cq);
            this._-0Kf.addEventListener(MouseEvent.DOUBLE_CLICK, this._-0Cq);
            this._-4zq = new _-2QE(_arg5, new _-Xl(-135, 30, 0), new _-Xl(11, 11, 5), new _-Xl(-135, 0.5, 0));
            this._-2AI = new BitmapDataCache(16, 32, 1);
            var k:String;
            if (this._container != null)
            {
                k = this._container._-2GD;
            };
            this._-1-p = new Map();
            this._-3IK = new _-1t7(k);
            this._-1Cw = new ColorTransform();
            this._-3g0 = new Matrix();
            this.initialize(_arg3, _arg4);
        }
        protected function get container():_-00E
        {
            return (this._container);
        }
        protected function get _-My():int
        {
            return (this._-xv);
        }
        public function get width():int
        {
            return (this._-0RW);
        }
        public function get height():int
        {
            return (this._-1RJ);
        }
        public function set _-2Kt(_arg1:int):void
        {
            this._-2S8.x = (this._-2S8.x - (_arg1 - this._-3xh));
            this._-3xh = _arg1;
        }
        public function set _-2TB(_arg1:int):void
        {
            this._-2S8.y = (this._-2S8.y - (_arg1 - this._-fu));
            this._-fu = _arg1;
        }
        public function get _-2Kt():int
        {
            return (this._-3xh);
        }
        public function get _-2TB():int
        {
            return (this._-fu);
        }
        public function get displayObject():DisplayObject
        {
            return (this._-3B3);
        }
        public function get geometry():_-3q6
        {
            return (this._-4zq);
        }
        public function set _-3LD(_arg1:_-2bp):void
        {
            this._-0Fr = _arg1;
        }
        public function set _-3wr(_arg1:Boolean):void
        {
            if (((_arg1) && (!(this._-2R-))))
            {
                this._-2R- = true;
                if (((!((this._-0MP == null))) && (!(this._-3B3.contains(this._-0MP)))))
                {
                    this._-3B3.addChild(this._-0MP);
                    this._-0Kf.mask = this._-0MP;
                };
            }
            else
            {
                if (((!(_arg1)) && (this._-2R-)))
                {
                    this._-2R- = false;
                    if (((!((this._-0MP == null))) && (this._-3B3.contains(this._-0MP))))
                    {
                        this._-3B3.removeChild(this._-0MP);
                        this._-0Kf.mask = null;
                    };
                };
            };
        }
        public function dispose():void
        {
            this._-Uu(0, true);
            if (this._-4zq != null)
            {
                this._-4zq.dispose();
                this._-4zq = null;
            };
            if (this._-0MP != null)
            {
                this._-0MP = null;
            };
            if (this._-2AI != null)
            {
                this._-2AI.dispose();
                this._-2AI = null;
            };
            if (this._-3IK != null)
            {
                this._-3IK.dispose();
                this._-3IK = null;
            };
            this._container = null;
            if (this._-3B3 != null)
            {
                while (this._-3B3.numChildren > 0)
                {
                    this._-3B3.removeChildAt(0);
                };
                this._-3B3 = null;
            };
            this._-0Kf = null;
            this._-0MP = null;
            this._-44h = [];
            if (this._-13c != null)
            {
                this._-13c.dispose();
                this._-13c = null;
            };
            var k:int;
            if (this._-fr != null)
            {
                k = 0;
                while (k < this._-fr.length)
                {
                    this._-1Le((this._-fr[k] as _-3Fs), true);
                    k++;
                };
                this._-fr = [];
            };
            if (this._-1-p != null)
            {
                this._-1-p.dispose();
                this._-1-p = null;
            };
            this._-0Fr = null;
            this._-1Cw = null;
            this._-3g0 = null;
        }
        public function initialize(_arg1:int, _arg2:int):void
        {
            if (_arg1 < 1)
            {
                k = 1;
            };
            if (_arg2 < 1)
            {
                k = 1;
            };
            if (this._-0MP != null)
            {
                this._-0MP.graphics.clear();
            }
            else
            {
                this._-0MP = new Sprite();
                this._-0MP.name = "mask";
                if (this._-2R-)
                {
                    this._-3B3.addChild(this._-0MP);
                    this._-0Kf.mask = this._-0MP;
                };
            };
            this._-0MP.graphics.beginFill(0);
            this._-0MP.graphics.drawRect(0, 0, _arg1, _arg2);
            this._-0RW = _arg1;
            this._-1RJ = _arg2;
        }
        public function _-2fW(_arg1:String):void
        {
            this._-3IK._-51s(_arg1);
        }
        public function render(_arg1:int):void
        {
            this._-3Ww = !(this._-3Ww);
            var k:int;
            if ((((this._container == null)) || ((this._-4zq == null))))
            {
                return;
            };
            if (_arg1 == this._-5Bc)
            {
                return;
            };
            this._-3ib(_arg1);
            this._-2AI.compress();
            var k:int = this._container.getRoomObjectCount();
            var k:int;
            var k:int;
            var k:String = "";
            var k:_-3SU;
            var k:Boolean;
            if (((!((this._-0RW == this._-54F))) || (!((this._-1RJ == this._-12D)))))
            {
                k = true;
            };
            if (((!((this._-0Kf.x == this._-3xh))) || (!((this._-0Kf.y == this._-fu)))))
            {
                this._-0Kf.x = this._-3xh;
                this._-0Kf.y = this._-fu;
                k = true;
            };
            k = 0;
            while (k < k)
            {
                k = this._container.getRoomObjectWithIndex(k);
                if (k != null)
                {
                    k = this._container._-4-K(k);
                    k = (k + this._-165(k, k, _arg1, k, k));
                };
                k++;
            };
            this._-44h.sortOn("z", (Array.DESCENDING | Array.NUMERIC));
            if (k < this._-44h.length)
            {
                this._-44h.splice(k);
            };
            var k:_-1XM;
            k = 0;
            while (k < k)
            {
                k = (this._-44h[k] as _-1XM);
                if (k != null)
                {
                    this._-07q(k, k);
                };
                k++;
            };
            this._-Uu(k);
            this._-5Bc = _arg1;
            this._-54F = this._-0RW;
            this._-12D = this._-1RJ;
        }
        private function _-3ib(_arg1:int):void
        {
            var k:int;
            var k:Number;
            if (this._-5Bc > 0)
            {
                k = (_arg1 - this._-5Bc);
                if (k > (_-124 * 3))
                {
                    _-Nb.log((("Really slow frame update " + k) + "ms"));
                    this._-1jG = k;
                };
                if (k <= _-2S4)
                {
                    this._-pN++;
                    if (this._-pN == (_-2yf + 1))
                    {
                        this._-00p = k;
                        this._-Iz = this._-07U;
                    }
                    else
                    {
                        if (this._-pN > (_-2yf + 1))
                        {
                            k = Number((this._-pN - _-2yf));
                            this._-00p = (((this._-00p * (k - 1)) / k) + (Number(k) / k));
                            this._-Iz = (((this._-Iz * (k - 1)) / k) + (Number(this._-07U) / k));
                            if (this._-pN > (_-2yf + _-3Rf))
                            {
                                this._-pN = _-2yf;
                                if (((!(this._-0T6)) && ((this._-00p > _-124))))
                                {
                                    this._-0T6 = true;
                                    _-Nb.log("Room canvas updating really slow - now entering frame skipping mode...");
                                }
                                else
                                {
                                    if (((this._-0T6) && ((this._-00p < _-2mt))))
                                    {
                                        this._-0T6 = false;
                                        _-Nb.log("Room canvas updating fast again - now entering normal frame mode...");
                                    };
                                };
                                this._-1jG = 0;
                            };
                        };
                    };
                };
            };
        }
        protected function _-i9(_arg1:String):_-3jh
        {
            return (this._-3IK._-1yn(_arg1));
        }
        private function _-165(_arg1:_-3SU, _arg2:String, _arg3:int, _arg4:Boolean, _arg5:int):int
        {
            var k:BitmapData;
            var k:_-E7 = (_arg1._-1cm() as _-E7);
            if (k == null)
            {
                this._-3IK._-51s(_arg2);
                return (0);
            };
            var k:_-3jh = this._-i9(_arg2);
            var k:_-3-D = k.location;
            var k:RoomObjectSortableSpriteCacheItem = k._-2iQ;
            var k:_-06R = k._-0zN(_arg1, this._-4zq);
            if (k == null)
            {
                this._-3IK._-51s(_arg2);
                return (0);
            };
            k.update(this._-4zq, _arg3, ((!(k.isEmpty)) || (_arg4)), ((this._-3Ww) && (this._-0T6)));
            var k:Boolean = k._-4nk;
            if (k)
            {
                k = true;
            };
            if (((!(k._-2G9(k.getInstanceId(), k._-1Pk()))) && (!(_arg4))))
            {
                return (k._-18O);
            };
            var k:int = k._-18O;
            var k:int = k.x;
            var k:int = k.y;
            var k:Number = k.z;
            if (k > 0)
            {
                k = (k + (k * 1.2E-7));
            }
            else
            {
                k = (k + (-(k) * 1.2E-7));
            };
            k = (k + int((this._-0RW / 2)));
            k = (k + int((this._-1RJ / 2)));
            var k:int;
            var k:_-1XM;
            var k:_-59O;
            var k:int;
            var k:int;
            var k:int;
            while (k < k)
            {
                k = k._-2IM(k);
                if (((!((k == null))) && (k.visible)))
                {
                    k = k.asset;
                    if (k != null)
                    {
                        k = ((k + k.offsetX) + this._-3xh);
                        k = ((k + k.offsetY) + this._-fu);
                        if (this._-3O3(k, k, k.width, k.height))
                        {
                            k = k._-2IM(k);
                            if (k == null)
                            {
                                k = new _-1XM();
                                k._-0iu(k);
                                this._-44h.push(k);
                                k.name = _arg2;
                            };
                            k.sprite = k;
                            k.x = (k - this._-3xh);
                            k.y = (k - this._-fu);
                            k.z = ((k + k.relativeDepth) + (3.7E-11 * _arg5));
                            k++;
                            _arg5++;
                        };
                    };
                };
                k++;
            };
            k._-1sa(k);
            return (k);
        }
        private function _-3O3(_arg1:int, _arg2:int, _arg3:int, _arg4:int):Boolean
        {
            if ((((((_arg1 < this._-0RW)) && (((_arg1 + _arg3) >= 0)))) && ((((_arg2 < this._-1RJ)) && (((_arg2 + _arg4) >= 0))))))
            {
                if (!this._-0JT)
                {
                    return (true);
                };
                return (this._-27w(_arg1, _arg2, _arg3, _arg4));
            };
            return (false);
        }
        private function _-27w(_arg1:int, _arg2:int, _arg3:int, _arg4:int):Boolean
        {
            var k:Rectangle;
            if (_arg1 < 0)
            {
                k = (_arg3 + _arg1);
                k = 0;
            };
            if (_arg2 < 0)
            {
                k = (_arg4 + _arg2);
                k = 0;
            };
            if ((_arg1 + _arg3) >= this._-0RW)
            {
                k = (_arg3 - ((this._-0RW + 1) - (_arg1 + _arg3)));
            };
            if ((_arg2 + _arg4) >= this._-1RJ)
            {
                k = (_arg4 - ((this._-1RJ + 1) - (_arg2 + _arg4)));
            };
            for each (k in this._-2zH)
            {
                if ((((((((_arg1 >= k.left)) && (((_arg1 + _arg3) < k.right)))) && ((_arg2 >= k.top)))) && (((_arg2 + _arg4) < k.bottom))))
                {
                    return (false);
                };
            };
            return (true);
        }
        protected function _-2IM(_arg1:int):_-3Fs
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-12g))))
            {
                return (null);
            };
            var k:_-3Fs = (this._-0Kf.getChildAt(_arg1) as _-3Fs);
            return (k);
        }
        private function _-0ao(_arg1:_-1XM, _arg2:int=-1):void
        {
            var k:_-3Fs;
            var k:_-59O = _arg1.sprite;
            if (this._-fr.length > 0)
            {
                k = (this._-fr.pop() as _-3Fs);
            };
            if (k == null)
            {
                k = new _-3Fs();
            };
            k.x = _arg1.x;
            k.y = _arg1.y;
            k.identifier = _arg1.name;
            k.alpha = (k.alpha / 0xFF);
            k.tag = k.tag;
            k.blendMode = k.blendMode;
            k.filters = k.filters;
            k._-2lJ = k._-2lJ;
            k._-0Yj = k._-0Yj;
            k.smoothing = false;
            k.pixelSnapping = PixelSnapping.ALWAYS;
            k.bitmapData = this._-xX(k.asset, k.assetName, k.flipH, k.flipV, k.color);
            this._-1YQ(k, k);
            k._-4l2 = k._-4l2;
            if ((((_arg2 < 0)) || ((_arg2 >= this._-12g))))
            {
                this._-0Kf.addChild(k);
                this._-12g++;
            }
            else
            {
                this._-0Kf.addChildAt(k, _arg2);
            };
            this._-xv++;
        }
        private function _-07q(_arg1:int, _arg2:_-1XM):Boolean
        {
            var k:Number;
            var k:BitmapData;
            if (_arg1 >= this._-12g)
            {
                this._-0ao(_arg2);
                return (true);
            };
            var k:_-59O = _arg2.sprite;
            var k:_-3Fs = this._-2IM(_arg1);
            if (k != null)
            {
                if (k._-2lJ != k._-2lJ)
                {
                    if (((k._-2lJ) && (!(k._-2lJ))))
                    {
                        this._-0Kf.removeChildAt(_arg1);
                        this._-fr.push(k);
                        return (this._-07q(_arg1, _arg2));
                    };
                    this._-0ao(_arg2, _arg1);
                    return (true);
                };
                if (((k._-2G9(k._-35A, k._-3KH)) || (_-AY._-3Zn())))
                {
                    k._-4l2 = k._-4l2;
                    k = (k.alpha / 0xFF);
                    if (k.alpha != k)
                    {
                        k.alpha = k;
                    };
                    k.identifier = _arg2.name;
                    k.tag = k.tag;
                    k._-2lJ = k._-2lJ;
                    k.blendMode = k.blendMode;
                    k._-0Yj = k._-0Yj;
                    k.filters = k.filters;
                    k = this._-xX(k.asset, k.assetName, k.flipH, k.flipV, k.color);
                    if (k.bitmapData != k)
                    {
                        k.bitmapData = k;
                    };
                    this._-1YQ(k, k);
                };
                if (k.x != _arg2.x)
                {
                    k.x = _arg2.x;
                };
                if (k.y != _arg2.y)
                {
                    k.y = _arg2.y;
                };
            }
            else
            {
                return (false);
            };
            return (true);
        }
        private function _-1YQ(_arg1:_-3Fs, _arg2:_-59O):void
        {
            if (((((!(_-AY._-3Zn())) || ((_arg1.bitmapData == null)))) || ((_arg2 == null))))
            {
                return;
            };
            switch (_arg2._-y8)
            {
                case _-1Wb._-1Il:
                    return;
                case _-1Wb._-mC:
                    _arg1.alpha = _-AY._-4BE(0.9);
                    return;
                case _-1Wb._-4dq:
                    _arg1.alpha = _-AY._-4BE(0.5);
                    return;
                default:
                    _arg1.alpha = _-AY._-4BE(0.1);
            };
        }
        private function _-Uu(_arg1:int, _arg2:Boolean=false):void
        {
            var k:int;
            if (this._-0Kf == null)
            {
                return;
            };
            if (_arg1 < 0)
            {
                k = 0;
            };
            var k:_-3Fs;
            if ((((_arg1 < this._-xv)) || ((this._-xv == 0))))
            {
                k = (this._-12g - 1);
                while (k >= _arg1)
                {
                    k = this._-2IM(k);
                    this._-1Le(k, _arg2);
                    k--;
                };
            };
            this._-xv = _arg1;
        }
        private function _-1Le(_arg1:_-3Fs, _arg2:Boolean):void
        {
            if (_arg1 != null)
            {
                if (!_arg2)
                {
                    _arg1.bitmapData = null;
                }
                else
                {
                    _arg1.dispose();
                };
            };
        }
        private function _-2I2(_arg1:int):_-1XM
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-44h.length))))
            {
                return (null);
            };
            var k:_-1XM = (this._-44h[_arg1] as _-1XM);
            return (k);
        }
        private function _-xX(_arg1:BitmapData, _arg2:String, _arg3:Boolean, _arg4:Boolean, _arg5:int):BitmapData
        {
            k = (_arg5 & 0xFFFFFF);
            if (((((!(_arg3)) && (!(_arg4)))) && ((k == 0xFFFFFF))))
            {
                return (_arg1);
            };
            var k:_-2tl;
            var k:String = "";
            if (((((_arg3) || (_arg4))) && (!((k == 0xFFFFFF)))))
            {
                k = ((((_arg2 + " ") + k) + ((_arg3) ? " FH" : "")) + ((_arg4) ? " FV" : ""));
                if (_arg2.length > 0)
                {
                    k = this._-2AI._-xX(k);
                };
                if (k == null)
                {
                    k = this._-3D3(_arg1, _arg2, k);
                    if (k != null)
                    {
                        k = this._-3Pl(k, _arg2, true, _arg3, _arg4);
                        if (_arg2.length > 0)
                        {
                            this._-2AI._-2Jb(k, k);
                        };
                        return (k);
                    };
                    k = this._-3Pl(_arg1, _arg2, true, _arg3, _arg4);
                    if (k != null)
                    {
                        k = this._-3D3(k, "", k, true);
                        if (_arg2.length > 0)
                        {
                            this._-2AI._-2Jb(k, k);
                        };
                        return (k);
                    };
                    k = this._-3D3(_arg1, _arg2, k, true);
                    k = this._-3Pl(k, _arg2, true, _arg3, _arg4);
                    if (_arg2.length > 0)
                    {
                        this._-2AI._-2Jb(k, k);
                    };
                };
            }
            else
            {
                if (((_arg3) || (_arg4)))
                {
                    k = this._-3Pl(_arg1, _arg2, true, _arg3, _arg4);
                }
                else
                {
                    if (k != 0xFFFFFF)
                    {
                        k = this._-3D3(_arg1, _arg2, k, true);
                    }
                    else
                    {
                        return (_arg1);
                    };
                };
            };
            return (k);
        }
        private function _-3Pl(_arg1:BitmapData, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=true, _arg5:Boolean=false):_-2tl
        {
            var data:BitmapData = _arg1;
            var name:String = _arg2;
            var allowCreation:Boolean = _arg3;
            var flipH:Boolean = _arg4;
            var flipV:Boolean = _arg5;
            var cacheName:String = ((name + ((flipH) ? " FH" : "")) + ((flipV) ? " FV" : ""));
            var finalData:_-2tl;
            if (name.length > 0)
            {
                finalData = this._-2AI._-xX(cacheName);
                if (!allowCreation)
                {
                    return (finalData);
                };
            };
            if (finalData == null)
            {
                try
                {
                    finalData = new _-2tl(data.width, data.height, true, 0xFFFFFF);
                }
                catch(e:Error)
                {
                    finalData = new _-2tl(1, 1, true, 0xFFFFFF);
                };
                this._-3g0.identity();
                if (flipH)
                {
                    this._-3g0.scale(-1, 1);
                    this._-3g0.translate(data.width, 0);
                };
                if (flipV)
                {
                    this._-3g0.scale(1, -1);
                    this._-3g0.translate(0, data.height);
                };
                finalData.draw(data, this._-3g0);
                if (name.length > 0)
                {
                    this._-2AI._-2Jb(cacheName, finalData);
                };
            };
            return (finalData);
        }
        private function _-3D3(_arg1:BitmapData, _arg2:String, _arg3:int, _arg4:Boolean=false):_-2tl
        {
            var r:int;
            var g:int;
            var b:int;
            var tR:Number;
            var tG:Number;
            var tB:Number;
            var data:BitmapData = _arg1;
            var name:String = _arg2;
            var color:int = _arg3;
            var allowCreation:Boolean = _arg4;
            var cacheName:String = ((name + " ") + color);
            var finalData:_-2tl;
            if (name.length > 0)
            {
                finalData = this._-2AI._-xX(cacheName);
                if (!allowCreation)
                {
                    return (finalData);
                };
            };
            if (finalData == null)
            {
                r = ((color >> 16) & 0xFF);
                g = ((color >> 8) & 0xFF);
                b = (color & 0xFF);
                tR = (r / 0xFF);
                tG = (g / 0xFF);
                tB = (b / 0xFF);
                try
                {
                    finalData = new _-2tl(data.width, data.height, true, 0xFFFFFF);
                    finalData.copyPixels(data, data.rect, _-4XR);
                }
                catch(e:Error)
                {
                    finalData = new _-2tl(1, 1, true, 0xFFFFFF);
                };
                this._-1Cw.redMultiplier = tR;
                this._-1Cw.greenMultiplier = tG;
                this._-1Cw.blueMultiplier = tB;
                finalData.colorTransform(finalData.rect, this._-1Cw);
                if (name.length > 0)
                {
                    this._-2AI._-2Jb(cacheName, finalData);
                };
            };
            return (finalData);
        }
        protected function _-2AQ(_arg1:_-3Fs):String
        {
            var k:String;
            if (_arg1 != null)
            {
                k = _arg1.identifier;
                return (k);
            };
            return ("");
        }
        public function _-12w(_arg1:int, _arg2:int, _arg3:String, _arg4:Boolean, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean):Boolean
        {
            k = (_arg1 - this._-3xh);
            k = (_arg2 - this._-fu);
            this._-2S8.x = k;
            this._-2S8.y = k;
            if ((((this._-5e > 0)) && ((_arg3 == MouseEvent.MOUSE_MOVE))))
            {
                return (this._-XV);
            };
            this._-XV = this._-4tl(k, k, _arg3, _arg4, _arg5, _arg6, _arg7);
            this._-5e++;
            return (this._-XV);
        }
        protected function _-ep(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:String, _arg7:Boolean, _arg8:Boolean, _arg9:Boolean, _arg10:Boolean):_-3gM
        {
            var k:Number = (_arg1 - (this._-0RW / 2));
            var k:Number = (_arg2 - (this._-1RJ / 2));
            var k:_-3gM;
            k = new _-3gM(_arg5, ((this._-0Kq + "_") + this._-43B), this._-0Kq, _arg6, k, k, _arg3, _arg4, _arg8, _arg7, _arg9, _arg10);
            return (k);
        }
        private function _-3JS(_arg1:Number, _arg2:Number, _arg3:Boolean, _arg4:Boolean=false, _arg5:Boolean=false, _arg6:Boolean=false, _arg7:Boolean=false):Boolean
        {
            var k:String;
            var k:Boolean;
            var k:String = "";
            var k:_-3Fs;
            var k:_-3gM;
            var k:String = MouseEvent.CLICK;
            if (_arg3)
            {
                k = MouseEvent.DOUBLE_CLICK;
            };
            var k:Array = [];
            var k:int;
            k = (this._-My - 1);
            while (k >= 0)
            {
                k = this._-2IM(k);
                if (((!((k == null))) && (k._-0Yj)))
                {
                    if (k.hitTest((_arg1 - k.x), (_arg2 - k.y)))
                    {
                        k = this._-2AQ(k);
                        if (k.indexOf(k) < 0)
                        {
                            k = k.tag;
                            k = this._-ep(_arg1, _arg2, (_arg1 - k.x), (_arg2 - k.y), k, k, _arg4, _arg5, _arg6, _arg7);
                            this._-1Eh(k, k);
                            k.push(k);
                        };
                    };
                    k = true;
                };
                k--;
            };
            this._-1Eo();
            return (k);
        }
        private function _-4tl(_arg1:int, _arg2:int, _arg3:String, _arg4:Boolean=false, _arg5:Boolean=false, _arg6:Boolean=false, _arg7:Boolean=false):Boolean
        {
            var k:String;
            var k:String;
            var k:int;
            var k:Boolean;
            var k:String = "";
            var k:_-3Fs;
            var k:_-3gM;
            var k:Array = [];
            var k:_-27y;
            var k:int;
            k = (this._-My - 1);
            while (k >= 0)
            {
                k = (this._-2IM(k) as _-3Fs);
                if (((!((k == null))) && (k.hitTestPoint((_arg1 - k.x), (_arg2 - k.y)))))
                {
                    if (((!(k._-0Yj)) || (((!((_arg3 == MouseEvent.CLICK))) && (!((_arg3 == MouseEvent.DOUBLE_CLICK)))))))
                    {
                        k = this._-2AQ(k);
                        if (k.indexOf(k) < 0)
                        {
                            k = k.tag;
                            k = (this._-13c.getValue(k) as _-27y);
                            if (k != null)
                            {
                                if (k._-3u != k)
                                {
                                    k = this._-ep(0, 0, 0, 0, MouseEvent.ROLL_OUT, k._-3u, _arg4, _arg5, _arg6, _arg7);
                                    this._-1Eh(k, k);
                                };
                            };
                            if ((((_arg3 == MouseEvent.MOUSE_MOVE)) && ((((k == null)) || (!((k._-3u == k)))))))
                            {
                                k = this._-ep(_arg1, _arg2, (_arg1 - k.x), (_arg2 - k.y), MouseEvent.ROLL_OVER, k, _arg4, _arg5, _arg6, _arg7);
                            }
                            else
                            {
                                k = this._-ep(_arg1, _arg2, (_arg1 - k.x), (_arg2 - k.y), _arg3, k, _arg4, _arg5, _arg6, _arg7);
                            };
                            if (k == null)
                            {
                                k = new _-27y();
                                k._-mx = k;
                                this._-13c.add(k, k);
                            };
                            k._-3u = k;
                            if (((((!((_arg3 == MouseEvent.MOUSE_MOVE))) || (!((_arg1 == this._-0b9))))) || (!((_arg2 == this._-2a8)))))
                            {
                                this._-1Eh(k, k);
                            };
                            k.push(k);
                        };
                        k = true;
                    };
                };
                k--;
            };
            var k:Array = this._-13c._-18C();
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as String);
                k = k.indexOf(k);
                if (k >= 0)
                {
                    k[k] = null;
                };
                k++;
            };
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as String);
                if (k != null)
                {
                    k = (this._-13c.remove(k) as _-27y);
                    if (k != null)
                    {
                        k = this._-ep(0, 0, 0, 0, MouseEvent.ROLL_OUT, k._-3u, _arg4, _arg5, _arg6, _arg7);
                        this._-1Eh(k, k);
                    };
                };
                k++;
            };
            this._-1Eo();
            this._-0b9 = _arg1;
            this._-2a8 = _arg2;
            return (k);
        }
        protected function _-1Eh(_arg1:_-3gM, _arg2:String):void
        {
            if (((!((this._-1-p == null))) && (!((_arg1 == null)))))
            {
                this._-1-p.remove(_arg2);
                this._-1-p.add(_arg2, _arg1);
            };
        }
        protected function _-1Eo():void
        {
            var k:String;
            var k:_-3gM;
            var k:_-3SU;
            var _local5:_-4Oa;
            if ((((this._container == null)) || ((this._-1-p == null))))
            {
                return;
            };
            var k:int;
            while (k < this._-1-p.length)
            {
                k = this._-1-p.getKey(k);
                k = this._-1-p.getWithIndex(k);
                if (((!((k == null))) && (!((k == null)))))
                {
                    k = this._container.getRoomObject(k);
                    if (k != null)
                    {
                        if (this._-0Fr != null)
                        {
                            this._-0Fr._-2EQ(k, k, this.geometry);
                        }
                        else
                        {
                            _local5 = k._-1jC();
                            if (_local5 != null)
                            {
                                _local5.mouseEvent(k, this._-4zq);
                            };
                        };
                    };
                };
                k++;
            };
            this._-1-p.reset();
        }
        public function update():void
        {
            if (this._-5e == 0)
            {
                this._-4tl(this._-2S8.x, this._-2S8.y, MouseEvent.MOUSE_MOVE);
            };
            this._-5e = 0;
            this._-43B++;
        }
        private function _-0Cq(_arg1:MouseEvent):void
        {
            var k:Boolean;
            if ((((_arg1.type == MouseEvent.CLICK)) || ((_arg1.type == MouseEvent.DOUBLE_CLICK))))
            {
                k = (_arg1.type == MouseEvent.DOUBLE_CLICK);
                this._-3JS(_arg1.localX, _arg1.localY, k, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey, _arg1.buttonDown);
            };
        }

    }
}//package _-4Fh

//------------------------------------------------------------
//_-4GV._-0Uq

package _-4GV
{
    import flash.events.IEventDispatcher;
    import flash.geom.Point;
    import _-1B-.*;

    public interface _-0Uq extends _-4yI 
    {

        function get events():IEventDispatcher;
        function goToHomeRoom():Boolean;
        function _-3ht(_arg1:String):void;
        function _-jg(_arg1:String):void;
        function performGuildBaseSearch():void;
        function _-4TT(_arg1:int, _arg2:int):void;
        function _-12E():void;
        function goToPrivateRoom(_arg1:int):void;
        function _-431(_arg1:int, _arg2:Boolean):void;
        function _-34x():void;
        function _-2Yo(_arg1:Point):void;
        function _-rv():void;

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-1bA

package _-4GV
{
    import _-1ae.ITextWindow;

    public class _-1bA implements _-2Tl 
    {

        private var _-3lK:String;
        private var _text:ITextWindow;
        private var _-2ww:int;

        public function test(_arg1:int):Boolean
        {
            this._text.text = (this._-3lK.substring(0, _arg1) + "...");
            return ((this._text.textWidth > this._-2ww));
        }
        public function _-37Z(_arg1:String, _arg2:ITextWindow, _arg3:int):void
        {
            this._-3lK = _arg1;
            this._text = _arg2;
            this._-2ww = _arg3;
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-1Fx

package _-4GV
{
    import _-1ae.ITextWindow;

    public class _-1Fx implements _-2Tl 
    {

        private var _-3lK:String;
        private var _text:ITextWindow;
        private var _-4U:int;

        public function test(_arg1:int):Boolean
        {
            this._text.text = (this._-3lK.substring(0, _arg1) + "...");
            return ((this._text.textHeight > this._-4U));
        }
        public function _-37Z(_arg1:String, _arg2:ITextWindow, _arg3:int):void
        {
            this._-3lK = _arg1;
            this._text = _arg2;
            this._-4U = _arg3;
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-2el

package _-4GV
{
    import _-Ew.IWindowContainer;

    public interface _-2el 
    {

        function refresh():void;
        function set content(_arg1:IWindowContainer):void;
        function get content():IWindowContainer;

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-2SU

package _-4GV
{
    import flash.utils.Timer;
    import _-Ew.IWindowContainer;
    import flash.events.TimerEvent;
    import _-2vN._-3hb;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;

    public class _-2SU 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0eH:String;
        private var _-3Y:int;
        private var _-S6:int;
        private var _-3l:Timer;
        private var _-3zB:Timer;
        private var _-0Xf:IWindowContainer;

        public function _-2SU(_arg1:HabboNavigator, _arg2:int, _arg3:int, _arg4:String)
        {
            this._-3l = new Timer(500, 1);
            this._-3zB = new Timer(100, 1);
            super();
            this._-2bJ = _arg1;
            this._-0eH = _arg4;
            this._-3Y = _arg2;
            this._-S6 = _arg3;
            this._-3l.addEventListener(TimerEvent.TIMER, this._-0Ra);
            this._-3zB.addEventListener(TimerEvent.TIMER, this._-3Wr);
        }
        public function get navigator():HabboNavigator
        {
            return (this._-2bJ);
        }
        public function dispose():void
        {
            this._-2bJ = null;
            if (this._-3l)
            {
                this._-3l.removeEventListener(TimerEvent.TIMER, this._-0Ra);
                this._-3l.reset();
                this._-3l = null;
            };
            if (this._-3zB)
            {
                this._-3zB.removeEventListener(TimerEvent.TIMER, this._-3Wr);
                this._-3zB.reset();
                this._-3zB = null;
            };
        }
        public function _-0QU(_arg1:IWindow):void
        {
            if (this._-0Xf == null)
            {
                this._-0Xf = IWindowContainer(this._-2bJ.getXmlWindow(this._-0eH));
                this._-0Xf.visible = false;
                this._-0Xf.setParamFlag(_-3hb._-0g6, true);
                this._-0Xf.procedure = this._-3Gq;
            };
            _-3UA._-LK(this._-0Xf);
            this.refreshContent(this._-0Xf);
            this._-0Xf.height = (_-3UA._-5DG(this._-0Xf) + 5);
            var k:Point = new Point();
            _arg1.getGlobalPosition(k);
            this._-0Xf.x = ((k.x + this._-3Y) + _arg1.width);
            this._-0Xf.y = ((k.y - (this._-0Xf.height * 0.5)) + (_arg1.height * 0.5));
            var k:Point = new Point();
            this._-0Xf.getGlobalPosition(k);
            if ((k.x + this._-0Xf.width) > this._-0Xf.desktop.width)
            {
                this._-0Xf.x = ((-(this._-0Xf.width) + k.x) + this._-S6);
                this._-3qF(this._-0Xf, false);
            }
            else
            {
                this._-3qF(this._-0Xf, true);
            };
            if (!this._-0Xf.visible)
            {
                this._-3l.reset();
                this._-3l.start();
            };
            this._-3zB.reset();
            this._-0Xf.activate();
        }
        public function _-4B1():void
        {
            this._-3zB.reset();
            this._-3l.reset();
            this._-3zB.start();
        }
        private function _-3qF(_arg1:IWindowContainer, _arg2:Boolean):void
        {
            this._-2MM(_arg1, true, _arg2);
            this._-2MM(_arg1, false, !(_arg2));
        }
        private function _-2MM(_arg1:IWindowContainer, _arg2:Boolean, _arg3:Boolean):void
        {
            var k:String = ("popup_arrow_" + ((_arg2) ? "left" : "right"));
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(_arg1.findChildByName(k));
            if (!_arg3)
            {
                if (k != null)
                {
                    k.visible = false;
                };
            }
            else
            {
                if (k == null)
                {
                    k = this._-2bJ._-3zS(k, k, null);
                    k.setParamFlag(_-3hb._-2rR, false);
                    _arg1.addChild(k);
                };
                k.visible = true;
                k.y = ((_arg1.height * 0.5) - (k.height * 0.5));
                k.x = ((_arg2) ? (1 - k.width) : (_arg1.width - 1));
            };
        }
        private function _-0Ra(_arg1:TimerEvent):void
        {
            this._-0Xf.visible = true;
            this._-0Xf.activate();
        }
        private function _-3Wr(_arg1:TimerEvent):void
        {
            if (this._-0Xf != null)
            {
                this._-0Xf.visible = false;
            };
        }
        public function _-3ie():void
        {
            if (this._-0Xf != null)
            {
                this._-0Xf.visible = false;
            };
            this._-3l.reset();
            this._-3zB.reset();
        }
        public function get visible():Boolean
        {
            return (((!((this._-0Xf == null))) && (this._-0Xf.visible)));
        }
        public function refreshContent(_arg1:IWindowContainer):void
        {
        }
        private function _-3Gq(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if ((_arg1 as WindowMouseEvent) == null)
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                this._-3zB.reset();
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    if (!_-3UA._-xu(this._-0Xf))
                    {
                        this._-4B1();
                    };
                };
            };
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-2Tl

package _-4GV
{
    public interface _-2Tl 
    {

        function test(_arg1:int):Boolean;

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-34i

package _-4GV
{
    import _-1ae.IFrameWindow;
    import _-4OG._-3pI;
    import _-1ae.ITextWindow;
    import _-1ae.IPasswordFieldWindow;
    import flash.geom.Point;
    import _-295._-243;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;

    public class _-34i 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0xv:IFrameWindow;
        private var _-CB:_-3pI;

        public function _-34i(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function show(_arg1:_-3pI, _arg2:Point=null):void
        {
            this._-CB = _arg1;
            if (this._-CB == null)
            {
                return;
            };
            this.createWindow();
            if (this._-0xv == null)
            {
                return;
            };
            if (_arg2 != null)
            {
                _arg2.offset((-(this._-0xv.width) / 2), (-(this._-0xv.height) / 2));
                this._-0xv._-3gl(_arg2);
            };
            this._-0xv.visible = true;
            this._-0xv.activate();
            var k:ITextWindow = (this._-0xv.findChildByName("room_name") as ITextWindow);
            if (((!((k == null))) && (!((_arg1 == null)))))
            {
                k.text = _arg1.roomName;
            };
            var k:IPasswordFieldWindow = (this._-0xv.findChildByName("password_input") as IPasswordFieldWindow);
            if (k != null)
            {
                k.text = "";
            };
            this._-1Nq("${navigator.password.info}");
        }
        private function createWindow():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            var k:_-243 = (this._-2bJ.assets.getAssetByName("password_input_xml") as _-243);
            this._-0xv = (this._-2bJ.windowManager.buildFromXML((k.content as XML), 2) as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            var k:IButtonWindow = (this._-0xv.findChildByName("try") as IButtonWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-1s4);
            };
            var k:IWindow = this._-0xv.findChildByName("cancel_region");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.close);
            };
            var k:IWindow = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.close);
            };
        }
        public function _-4aa():void
        {
            this.show(this._-CB);
            this._-1Nq("${navigator.password.retryinfo}");
        }
        private function _-1Nq(_arg1:String):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("info") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.caption = _arg1;
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
            };
            this._-0xv = null;
            this._-2bJ = null;
            this._-CB = null;
        }
        private function _-1s4(_arg1:WindowMouseEvent):void
        {
            var k:IPasswordFieldWindow = (this._-0xv.findChildByName("password_input") as IPasswordFieldWindow);
            if (k == null)
            {
                return;
            };
            var k:String = k.text;
            this._-2bJ.goToRoom(this._-CB._-3EU, true, k);
            this.hide();
        }
        private function close(_arg1:WindowMouseEvent):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.dispose();
            this._-0xv = null;
        }
        private function hide(_arg1:WindowMouseEvent=null):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.visible = false;
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-3E1

package _-4GV
{
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-32h._-1kz;

    public class _-3E1 
    {

        private var _-2bJ:HabboNavigator;
        private var _-uz:_-sd;

        public function _-3E1(_arg1:HabboNavigator, _arg2:IWindowContainer)
        {
            this._-2bJ = _arg1;
            var k:ITextFieldWindow = ITextFieldWindow(_arg2.findChildByName("search_str"));
            this._-uz = new _-sd(this._-2bJ, k, 35, this._-1Qz, this._-2bJ.getText("navigator.search.info"));
            _-3UA._-4Hc(_arg2, "search_but", this._-46z);
        }
        public function dispose():void
        {
            if (this._-uz)
            {
                this._-uz.dispose();
                this._-uz = null;
            };
            this._-2bJ = null;
        }
        private function _-46z(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-1Qz();
        }
        private function _-1Qz():void
        {
            var k:String = this._-uz.getText();
            if (k == "")
            {
                return;
            };
            this._-2bJ._-0NE._-0cR(_-1kz._-2xc, _-1kz._-25v, k);
            this._-2bJ._-5Cj("Search", "search", k);
        }
        public function get _-0Qd():_-sd
        {
            return (this._-uz);
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-3lT

package _-4GV
{
    import _-1ae.IFrameWindow;
    import _-4OG._-3pI;
    import _-1ae.ITextWindow;
    import flash.geom.Point;
    import _-1ae.IButtonWindow;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;

    public class _-3lT 
    {

        private var _-2bJ:HabboNavigator;
        private var _-0xv:IFrameWindow;
        private var _-CB:_-3pI;
        private var _-0v2:Boolean;

        public function _-3lT(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function show(_arg1:_-3pI, _arg2:Point=null, _arg3:Boolean=false):void
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-CB = _arg1;
            this._-0v2 = _arg3;
            this.createWindow();
            if (this._-0xv == null)
            {
                return;
            };
            if (_arg2 != null)
            {
                _arg2.offset((-(this._-0xv.width) / 2), (-(this._-0xv.height) / 2));
                this._-0xv._-3gl(_arg2);
            };
            this._-0xv.visible = true;
            this._-0xv.activate();
            var k:ITextWindow = (this._-0xv.findChildByName("room_name") as ITextWindow);
            if (k != null)
            {
                k.text = _arg1.roomName;
            };
            if (this._-0v2)
            {
                this._-0Ab("info", "${navigator.doorbell.waiting}");
                this._-0Ab("cancel", "${navigator.doorbell.button.cancel.entering}");
                this._-XT("ring", false);
            }
            else
            {
                this._-0Ab("info", "${navigator.doorbell.info}");
                this._-0Ab("cancel", "${generic.cancel}");
                this._-XT("ring", true);
            };
        }
        public function _-4wW():void
        {
            this.show(this._-CB, null, true);
        }
        public function _-0z-():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.visible = true;
            this._-0xv.activate();
            this._-0Ab("info", "${navigator.doorbell.no.answer}");
            this._-XT("ring", false);
        }
        private function _-XT(_arg1:String, _arg2:Boolean):void
        {
            var k:IButtonWindow = (this._-0xv.findChildByName(_arg1) as IButtonWindow);
            if (k == null)
            {
                return;
            };
            k.visible = _arg2;
        }
        private function createWindow():void
        {
            if (this._-0xv != null)
            {
                return;
            };
            var k:_-243 = (this._-2bJ.assets.getAssetByName("doorbell_xml") as _-243);
            this._-0xv = (this._-2bJ.windowManager.buildFromXML((k.content as XML), 2) as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            var k:IButtonWindow = (this._-0xv.findChildByName("ring") as IButtonWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-1Bn);
            };
            var k:IWindow = this._-0xv.findChildByName("cancel_region");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.close);
            };
            var k:IWindow = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.close);
            };
        }
        private function _-0Ab(_arg1:String, _arg2:String):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k == null)
            {
                return;
            };
            k.caption = _arg2;
        }
        public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
            };
            this._-0xv = null;
            this._-2bJ = null;
            this._-CB = null;
        }
        private function _-1Bn(_arg1:WindowMouseEvent):void
        {
            this._-2bJ.goToRoom(this._-CB._-3EU, true);
            this.hide();
        }
        private function close(_arg1:WindowMouseEvent):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.dispose();
            this._-0xv = null;
        }
        public function hide():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.visible = false;
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-3UA

package _-4GV
{
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-2vN._-3hb;
    import _-1ae.ITextWindow;
    import flash.geom.Point;

    public class _-3UA 
    {

        private static var _-5Ej:_-1bA = new _-1bA();
        private static var _-3R7:_-1Fx = new _-1Fx();

        public static function remove(_arg1:Array, _arg2:Object):int
        {
            var k:int = _arg1.indexOf(_arg2);
            if (k >= 0)
            {
                _arg1.splice(k, 1);
            };
            return (k);
        }
        public static function _-4G7(_arg1:IWindow, _arg2:int, _arg3:int):Rectangle
        {
            if (_arg1 == null)
            {
                return (new Rectangle(300, 200, _arg2, _arg3));
            };
            var k:int = (_arg1.width - _arg2);
            var k:int = (_arg1.height - _arg3);
            return (new Rectangle((_arg1.x + (0.5 * k)), (_arg1.y + (0.5 * k)), _arg2, _arg3));
        }
        public static function _-5DG(_arg1:IWindowContainer):int
        {
            var k:IWindow;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (k.visible)
                {
                    k = Math.max(k, (k.y + k.height));
                };
                k++;
            };
            return (k);
        }
        public static function _-3DE(_arg1:IWindowContainer):Boolean
        {
            var k:IWindow;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (k.visible)
                {
                    return (true);
                };
                k++;
            };
            return (false);
        }
        public static function _-LK(_arg1:IWindowContainer):void
        {
            var k:int;
            while (k < _arg1.numChildren)
            {
                _arg1.getChildAt(k).visible = false;
                k++;
            };
        }
        public static function _-3hs(_arg1:IWindowContainer, _arg2:Array, _arg3:int, _arg4:int, _arg5:int):void
        {
            var k:String;
            var k:IWindow;
            for each (k in _arg2)
            {
                k = _arg1.getChildByName(k);
                if (((!((k == null))) && (k.visible)))
                {
                    k.x = _arg3;
                    k.y = _arg4;
                    k = (_arg3 + (k.width + _arg5));
                };
            };
        }
        public static function _-0OL(_arg1:IWindowContainer, _arg2:Array, _arg3:int, _arg4:int):void
        {
            var k:String;
            var k:IWindow;
            for each (k in _arg2)
            {
                k = _arg1.getChildByName(k);
                if (((((!((k == null))) && (k.visible))) && ((k.height > 0))))
                {
                    k.y = _arg3;
                    k = (_arg3 + (k.height + _arg4));
                };
            };
        }
        public static function _-42(_arg1:IWindowContainer, _arg2:int, _arg3:int, _arg4:int=0, _arg5:int=0):void
        {
            var k:IWindow;
            var k:int = _arg5;
            var k:int;
            var k:int;
            while (k < _arg1.numChildren)
            {
                k = _arg1.getChildAt(k);
                if (!k.visible)
                {
                }
                else
                {
                    if ((((k > 0)) && (((k + k.width) > _arg2))))
                    {
                        k = 0;
                        k = (k + _arg3);
                    };
                    k.x = k;
                    k.y = k;
                    k = (k + (k.width + _arg4));
                };
                k++;
            };
        }
        public static function _-4Hc(_arg1:IWindowContainer, _arg2:String, _arg3:Function):void
        {
            var k:IWindow = _arg1.findChildByName(_arg2);
            k.setParamFlag(_-3hb._-0g6, true);
            k.procedure = _arg3;
        }
        public static function _-hE(_arg1:IWindow, _arg2:Function):void
        {
            _arg1.setParamFlag(_-3hb._-0g6, true);
            _arg1.procedure = _arg2;
        }
        public static function trim(_arg1:String):String
        {
            if ((((_arg1 == null)) || ((_arg1.length < 1))))
            {
                return (_arg1);
            };
            while (_arg1.charAt(0) == " ")
            {
                k = _arg1.substring(1);
            };
            while (_arg1.charAt((_arg1.length - 1)) == " ")
            {
                k = _arg1.substring(0, (_arg1.length - 1));
            };
            return (_arg1);
        }
        public static function _-41X(_arg1:ITextWindow, _arg2:String, _arg3:int):void
        {
            _arg1.text = _arg2;
            if (_arg1.textWidth <= _arg3)
            {
                return;
            };
            _-5Ej._-37Z(_arg2, _arg1, _arg3);
            _-34o(_-5Ej, (_arg2.length - 1));
        }
        public static function _-34o(_arg1:_-2Tl, _arg2:int):void
        {
            var k:int;
            var k:Boolean;
            var k:int;
            var k:int;
            while (true)
            {
                if (k >= _arg2)
                {
                    _arg1.test(k);
                    return;
                };
                k = (k + Math.floor(((_arg2 - k) / 2)));
                k = _arg1.test(k);
                if (k)
                {
                    k = (k - 1);
                }
                else
                {
                    k = Math.max(k, k);
                    k = (k + 1);
                };
            };
        }
        public static function _-xu(_arg1:IWindow):Boolean
        {
            var k:Point = new Point();
            _arg1._-1o1(k);
            var k:Boolean = (((((((k.x >= 0)) && ((k.y >= 0)))) && ((k.x < _arg1.width)))) && ((k.y < _arg1.height)));
            _-Nb.log(((((("CHECKINg: " + k) + ", ") + _arg1.rectangle) + ", ") + k));
            return (k);
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-DC

package _-4GV
{
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-1ae._-3Yi;
    import _-0Ix._-aY;
    import _-4OG._-3pI;
    import _-0Pi._-1Eb;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class _-DC implements _-1zZ 
    {

        private static const _-1GQ:String = "guild_info";

        private var _-2bJ:HabboNavigator;
        private var _-5CV:int;

        public function _-DC(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function dispose():void
        {
            this._-2bJ = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-2bJ == null));
        }
        public function refresh(_arg1:IWindowContainer, _arg2:_-3pI, _arg3:Boolean=false):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName(_-1GQ));
            if (k == null)
            {
                k = IWindowContainer(this._-2bJ.getXmlWindow("guild_info"));
                k.name = _-1GQ;
                _arg1.addChild(k);
                k.addEventListener(WindowMouseEvent._-90, this._-34e);
            };
            if ((((_arg2 == null)) || ((_arg2._-i5 < 1))))
            {
                k.visible = false;
                return;
            };
            k.visible = true;
            this._-2bJ.registerParameter("navigator.guildbase", "groupName", _arg2.groupName);
            k.findChildByName("guild_base_txt").caption = this._-2bJ.getText("navigator.guildbase");
            var k:_-aY = (_-3Yi(_arg1.findChildByName("guild_badge")).widget as _-aY);
            k.badgeId = _arg2._-3Bi;
            k.groupId = _arg2._-i5;
            this._-5CV = _arg2._-i5;
        }
        private function _-34e(_arg1:WindowEvent):void
        {
            this._-2bJ.send(new _-1Eb(this._-5CV, true));
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-sd

package _-4GV
{
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowKeyboardEvent;
    import _-0Ie.WindowEvent;
    import _-1ae.ITextWindow;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import flash.ui.Keyboard;

    public class _-sd 
    {

        private var _-2bJ:HabboNavigator;
        private var _-GM:ITextFieldWindow;
        private var _-0Gu:Boolean;
        private var _-4H-:String = "";
        private var _-1pm:int;
        private var _-41Y:Function;
        private var _-KS:String = "";
        private var _-A-:IWindowContainer;
        private var _-57f:Boolean;
        private var _-4WQ:uint;

        public function _-sd(_arg1:HabboNavigator, _arg2:ITextFieldWindow, _arg3:int=1000, _arg4:Function=null, _arg5:String=null)
        {
            this._-2bJ = _arg1;
            this._-GM = _arg2;
            this._-1pm = _arg3;
            _arg2.maxChars = _arg3;
            this._-41Y = _arg4;
            if (_arg5 != null)
            {
                this._-0Gu = true;
                this._-4H- = _arg5;
                this._-GM.text = _arg5;
            };
            _-3UA._-hE(this._-GM, this._-yH);
            this._-GM.addEventListener(WindowKeyboardEvent._-2CS, this._-3uf);
            this._-GM.addEventListener(WindowEvent._-0cZ, this._-2sm);
            this._-57f = this._-GM._-1X4;
            this._-4WQ = this._-GM._-48j;
        }
        public function dispose():void
        {
            if (this._-GM)
            {
                this._-GM.dispose();
                this._-GM = null;
            };
            if (this._-A-)
            {
                this._-A-.dispose();
                this._-A- = null;
            };
            this._-2bJ = null;
        }
        public function _-Ak(_arg1:String):Boolean
        {
            if (!this._-48u())
            {
                this._-1zE(_arg1);
                return (false);
            };
            this._-2JA();
            return (true);
        }
        public function _-2JA():void
        {
            this._-GM._-1X4 = this._-57f;
            this._-GM._-48j = this._-4WQ;
        }
        public function _-1zE(_arg1:String):void
        {
            this._-GM._-1X4 = true;
            this._-GM._-48j = 4294021019;
            if (this._-A- == null)
            {
                this._-A- = IWindowContainer(this._-2bJ.getXmlWindow("nav_error_popup"));
                this._-2bJ.refreshButton(this._-A-, "popup_arrow_down", true, null, 0);
                IWindowContainer(this._-GM.parent).addChild(this._-A-);
            };
            var k:ITextWindow = ITextWindow(this._-A-.findChildByName("error_text"));
            k.text = _arg1;
            k.width = (k.textWidth + 5);
            this._-A-.findChildByName("border").width = (k.width + 15);
            this._-A-.width = (k.width + 15);
            var k:Point = new Point();
            this._-GM._-4NK(k);
            this._-A-.x = k.x;
            this._-A-.y = ((k.y - this._-A-.height) + 3);
            var k:IWindow = this._-A-.findChildByName("popup_arrow_down");
            k.x = ((this._-A-.width / 2) - (k.width / 2));
            this._-A-.x = (this._-A-.x + ((this._-GM.width - this._-A-.width) / 2));
            this._-A-.visible = true;
        }
        public function _-0Yh():void
        {
            this._-Z();
            if (this._-4H- != null)
            {
                this._-GM.text = this._-4H-;
                this._-0Gu = true;
            }
            else
            {
                this._-GM.text = "";
                this._-0Gu = false;
            };
        }
        public function getText():String
        {
            if (this._-0Gu)
            {
                return (this._-KS);
            };
            return (this._-GM.text);
        }
        public function _-0Ab(_arg1:String):void
        {
            this._-0Gu = false;
            this._-GM.text = _arg1;
        }
        public function _-Z():void
        {
            this._-2JA();
            if (this._-A- != null)
            {
                this._-A-.visible = false;
            };
        }
        public function get input():ITextFieldWindow
        {
            return (this._-GM);
        }
        private function _-48u():Boolean
        {
            return (((!(this._-0Gu)) && ((_-3UA.trim(this.getText()).length > 2))));
        }
        private function _-yH(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowEvent._-4JH)
            {
                return;
            };
            if (!this._-0Gu)
            {
                return;
            };
            this._-GM.text = this._-KS;
            this._-0Gu = false;
            this._-2JA();
        }
        private function _-3uf(_arg1:WindowKeyboardEvent):void
        {
            if (_arg1.charCode == Keyboard.ENTER)
            {
                if (this._-41Y != null)
                {
                    this._-41Y();
                };
            };
        }
        private function _-2sm(_arg1:WindowEvent):void
        {
            var k:String = this._-GM.text;
            if (k.length > this._-1pm)
            {
                this._-GM.text = k.substring(0, this._-1pm);
            };
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV._-VY

package _-4GV
{
    import _-Ew.IWindowContainer;
    import _-4OG._-3pI;
    import _-1C6._-2Am;
    import _-1ae.ITextWindow;
    import _-1ae.IRegionWindow;
    import _-2ly._-174;
    import _-4OG._-134;
    import _-0Ie.WindowMouseEvent;
    import _-0Pi._-RA;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-VY extends _-2SU 
    {

        private var _-3Qi:IWindowContainer;
        private var _-00o:_-3pI;
        private var _-5CK:TagRenderer;
        private var _-2bJ:HabboNavigator;
        private var _-368:_-DC;

        public function _-VY(_arg1:HabboNavigator, _arg2:int, _arg3:int)
        {
            super(_arg1, _arg2, _arg3, "grs_guest_room_details_long");
            this._-2bJ = _arg1;
            this._-5CK = new TagRenderer(_arg1, _-3ie);
            this._-368 = new _-DC(this._-2bJ);
        }
        public function set room(_arg1:_-3pI):void
        {
            this._-00o = _arg1;
        }
        override public function refreshContent(_arg1:IWindowContainer):void
        {
            if (this._-3Qi == null)
            {
                this._-3Qi = IWindowContainer(_arg1.findChildByName("details_container"));
            };
            this._-3Qi.visible = true;
            _-3UA._-LK(this._-3Qi);
            this._-368.refresh(this._-3Qi, this._-00o);
            this._-4CZ(this._-3Qi, this._-00o);
            this._-0kE();
            this._-0fL("roomctg", this._-3Qi, this._-3bt(this._-00o._-2d-));
            this._-1-y(this._-3Qi, this._-00o);
            this._-1LS();
            this._-0ze(this._-00o);
            this._-1G5(this._-3Qi, "trading_allowed", (this._-00o._-YP == _-2Am._-td));
            this._-1G5(this._-3Qi, "doormode_doorbell", (this._-00o._-0Qj == 1));
            this._-1G5(this._-3Qi, "doormode_password", (this._-00o._-0Qj == 2));
            _-3UA._-0OL(this._-3Qi, ["guild_info", "roomname", "roomctg_cont", "roomowner_cont", "roomdesc", "extra_cont", "doormode_doorbell", "doormode_password", "trading_allowed", "eventinfo_cont"], 0, 0);
            this._-3Qi.findChildByName("guild_info").x = 2;
            this._-3Qi.height = _-3UA._-5DG(this._-3Qi);
        }
        private function _-0kE():void
        {
            var k:ITextWindow = ITextWindow(this._-3Qi.findChildByName("roomowner"));
            var k:IRegionWindow = IRegionWindow(this._-3Qi.findChildByName("roomowner_cont"));
            k.procedure = this._-Qs;
            k.caption = ((this._-00o._-2AG) ? this._-00o._-0aC : "");
            k.visible = ((((this._-00o._-2AG) && (!((this._-00o._-0aC == ""))))) && (!((this._-00o._-0aC == "-"))));
            _-174._-2C5(false, k);
            _-3UA._-42(k, 1000, 10, 2);
        }
        private function _-1LS():void
        {
            var k:IWindowContainer = IWindowContainer(this._-3Qi.findChildByName("extra_cont"));
            _-3UA._-LK(k);
            this._-5CK._-38C(k, this._-00o.tags);
            if (this._-00o.score > 0)
            {
                this._-0fL("rating", k, ("" + this._-00o.score));
                k.findChildByName("rating_cont").visible = true;
            };
            if (_-3UA._-3DE(k))
            {
                _-3UA._-0OL(k, ["tags", "startedat_cont", "rating_cont"], 0, 3);
                k.height = (_-3UA._-5DG(k) + 4);
                k.visible = true;
            };
        }
        private function _-0ze(_arg1:_-3pI):void
        {
            if ((((_arg1._-40W == null)) || ((_arg1._-40W.length == 0))))
            {
                return;
            };
            var k:IWindowContainer = IWindowContainer(this._-3Qi.findChildByName("eventinfo_cont"));
            _-3UA._-LK(k);
            var k:ITextWindow = ITextWindow(k.findChildByName("eventinfo_name"));
            var k:ITextWindow = ITextWindow(k.findChildByName("eventinfo_desc"));
            var k:ITextWindow = ITextWindow(k.findChildByName("eventinfo_expirationtime"));
            var k:ITextWindow = ITextWindow(k.findChildByName("eventinfo.caption"));
            k.caption = _arg1._-40W;
            k.caption = _arg1._-44g;
            k.caption = this._-2bJ.registerParameter("widgets.memenu.effects.active.timeleft", "time_left", new String(_arg1._-4wQ));
            k.height = (k.textHeight + 10);
            k.y = (k.y + k.height);
            k.height = (((k.height + k.height) + k.height) + 20);
            var k:IWindowContainer = (k.findChildByName("eventinfo_child_container") as IWindowContainer);
            k.x = (k.textWidth + 5);
            k.height = (_-3UA._-5DG(k) + 5);
            k.visible = true;
            k.visible = true;
            k.visible = true;
        }
        private function _-4CZ(_arg1:IWindowContainer, _arg2:_-3pI):void
        {
            var k:ITextWindow = ITextWindow(_arg1.getChildByName("roomname"));
            k.visible = true;
            k.text = _arg2.roomName;
            k.height = (k.textHeight + 3);
        }
        private function _-1-y(_arg1:IWindowContainer, _arg2:_-3pI):void
        {
            if (_arg2.description == "")
            {
                return;
            };
            var k:String = "roomdesc";
            var k:ITextWindow = ITextWindow(_arg1.getChildByName(k));
            k.text = _arg2.description;
            k.height = (k.textHeight + 10);
            k.y = _-3UA._-5DG(_arg1);
            k.visible = true;
        }
        private function _-0fL(_arg1:String, _arg2:IWindowContainer, _arg3:String):void
        {
            var k:IWindowContainer = IWindowContainer(_arg2.findChildByName((_arg1 + "_cont")));
            k.visible = true;
            var k:ITextWindow = ITextWindow(k.getChildByName(_arg1));
            var k:ITextWindow = ITextWindow(k.getChildByName((_arg1 + ".caption")));
            k.text = _arg3;
            _-3UA._-3hs(k, [(_arg1 + ".caption"), _arg1], k.x, 0, 2);
        }
        private function _-1G5(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean):void
        {
            if (!_arg3)
            {
                return;
            };
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName(_arg2));
            k.visible = true;
            navigator.refreshButton(k, _arg2, true, null, 0);
        }
        private function _-0es(_arg1:int):String
        {
            var k:String = ("roomevent_type_" + _arg1);
            var k:String = navigator.getText(k);
            return ((((k == null)) ? "" : k));
        }
        private function _-3bt(_arg1:int):String
        {
            var k:_-134;
            for each (k in navigator.data.allCategories)
            {
                if (k._-4Lc == _arg1)
                {
                    return (k._-4Tv);
                };
            };
            return ("");
        }
        private function _-Qs(_arg1:WindowEvent, _arg2:IWindow):void
        {
            _-174._-0my(_arg1, _arg2);
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2bJ.trackGoogle("extendedProfile", "navigator_roomPopup");
                this._-2bJ.send(new _-RA(this._-00o._-nJ));
                this._-3ie();
            };
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV.AlertView

package _-4GV
{
    import flash.utils.Dictionary;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindow;
    import flash.geom.Rectangle;
    import _-0Ie.WindowMouseEvent;
    import _-1B-.*;

    public class AlertView implements _-1zZ 
    {

        private static var _-3T2:Dictionary = new Dictionary();

        private var _-2bJ:HabboNavigator;
        protected var _-49n:IFrameWindow;
        protected var _-0eH:String;
        protected var _-o7:String;
        protected var _disposed:Boolean;

        public function AlertView(_arg1:HabboNavigator, _arg2:String, _arg3:String=null)
        {
            this._-2bJ = _arg1;
            this._-0eH = _arg2;
            this._-o7 = _arg3;
        }
        public static function _-2aD(_arg1:IWindow):AlertView
        {
            var k:AlertView;
            if (_-3T2 != null)
            {
                for each (k in _-3T2)
                {
                    if (k._-49n == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }

        public function show():void
        {
            var k:AlertView = (_-3T2[this._-0eH] as AlertView);
            if (k != null)
            {
                k.dispose();
            };
            this._-49n = this._-4vB();
            if (this._-o7 != null)
            {
                this._-49n.caption = this._-o7;
            };
            this.setupAlertWindow(this._-49n);
            var k:Rectangle = _-3UA._-4G7(this._-49n.desktop, this._-49n.width, this._-49n.height);
            this._-49n.x = k.x;
            this._-49n.y = k.y;
            _-3T2[this._-0eH] = this;
            this._-49n.activate();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (_-3T2[this._-0eH] == this)
            {
                _-3T2[this._-0eH] = null;
            };
            this._disposed = true;
            if (this._-49n != null)
            {
                this._-49n.destroy();
                this._-49n = null;
            };
            this._-2bJ = null;
        }
        function setupAlertWindow(_arg1:IFrameWindow):void
        {
        }
        function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.dispose();
        }
        private function _-4vB():IFrameWindow
        {
            var k:IFrameWindow = (this._-2bJ.getXmlWindow(this._-0eH, 2) as IFrameWindow);
            var k:IWindow = k.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-4F9);
            };
            return (k);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get navigator():HabboNavigator
        {
            return (this._-2bJ);
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV.ClubPromoAlertView

package _-4GV
{
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IFrameWindow;

    public class ClubPromoAlertView extends AlertView 
    {

        private var _text:String;
        private var _-4qI:String;

        public function ClubPromoAlertView(_arg1:HabboNavigator, _arg2:String, _arg3:String, _arg4:String)
        {
            super(_arg1, "nav_promo_alert", _arg2);
            this._text = _arg3;
            this._-4qI = _arg4;
        }
        override function setupAlertWindow(_arg1:IFrameWindow):void
        {
            var k:IWindowContainer = _arg1.content;
            k.findChildByName("body_text").caption = this._text;
            k.findChildByName("promo_text").caption = this._-4qI;
            var k:IWindow = k.findChildByName("ok");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2TI);
            };
            var k:IWindow = k.findChildByName("promo_container");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-3V3);
            };
        }
        private function _-2TI(_arg1:WindowMouseEvent):void
        {
            dispose();
        }
        private function _-3V3(_arg1:WindowMouseEvent):void
        {
            navigator.openCatalogClubPage("ClubPromoAlertView");
            dispose();
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV.HabboNavigator

package _-4GV
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-1Jd._-45k;
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-1Jd._-51K;
    import _-2gz._-2UE;
    import _-0mD._-2Jq;
    import _-0jj._-0QY;
    import _-4Kb._-3nt;
    import _-2rY.MainViewCtrl;
    import _-0J._-Ra;
    import _-2xv.RoomCreateViewCtrl;
    import _-32h.NavigatorData;
    import _-32h._-1kz;
    import _-295._-39L;
    import _-3vb._-3b;
    import _-2xv.RoomSettingsCtrl;
    import _-2rY.OfficialRoomEntryManager;
    import _-0J._-gL;
    import _-0J._-0qv;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboTracking;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboHelp;
    import _-295.AssetLibraryCollection;
    import _-1B-._-5CE;
    import _-yT._-7k;
    import _-3MI._-0Sy;
    import _-0hd._-3uv;
    import _-4Aj._-1oF;
    import _-295._-2kE;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-18r.ErrorReportStorage;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-Ew.IWindowContainer;
    import _-295.BitmapDataAsset;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-2Mh._-3YS;
    import _-3vb.HabboToolbarIconEnum;
    import _-4OG._-0i4;
    import flash.geom.Point;

    public class HabboNavigator extends _-Px implements _-0Uq 
    {

        private var _-0ud:_-4BJ;
        private var _-16k:_-45k;
        private var _-U-:_-3Ts;
        private var _-cU:_-0hg;
        private var _-3fD:_-4uR;
        private var _-8M:_-51K;
        private var _tracking:_-2UE;
        private var _-3oJ:_-2Jq;
        private var _-Je:_-0QY;
        private var _-It:_-3nt;
        private var _-1rO:MainViewCtrl;
        private var _-0EA:_-Ra;
        private var _-1Vz:RoomCreateViewCtrl;
        private var _-0qE:NavigatorData;
        private var _-BY:_-1kz;
        private var _-AV:_-39L;
        private var _-YG:IncomingMessages;
        private var _-0a7:_-3b;
        private var _-lK:RoomSettingsCtrl;
        private var _-0eJ:_-34i;
        private var _-QK:_-3lT;
        private var _-2tJ:OfficialRoomEntryManager;
        private var _-0bh:_-gL;
        private var _-4lW:_-0qv;

        public function HabboNavigator(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboCommunicationManager(), this._-0tq);
            queueInterface(new IIDHabboRoomSessionManager(), this._-08R);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboTracking(), this._-4eW);
            queueInterface(new IIDAvatarRenderManager(), this._-1dv);
            queueInterface(new IIDHabboHelp(), this._-04o);
            this._-AV = new AssetLibraryCollection("NavigatorComponent");
            this._-0qE = new NavigatorData(this);
            this._-1rO = new MainViewCtrl(this);
            this._-0EA = new _-Ra(this);
            this._-1Vz = new RoomCreateViewCtrl(this);
            this._-0eJ = new _-34i(this);
            this._-QK = new _-3lT(this);
            this._-BY = new _-1kz(this);
            this._-2tJ = new OfficialRoomEntryManager(this);
            this._-0bh = new _-gL(this);
            this._-lK = new RoomSettingsCtrl(this);
            this._-0EA = new _-Ra(this);
            this._-4lW = new _-0qv(this);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get data():NavigatorData
        {
            return (this._-0qE);
        }
        public function get _-0NE():MainViewCtrl
        {
            return (this._-1rO);
        }
        public function get tabs():_-1kz
        {
            return (this._-BY);
        }
        public function get _-0Nr():_-Ra
        {
            return (this._-0EA);
        }
        public function get function():RoomCreateViewCtrl
        {
            return (this._-1Vz);
        }
        public function get assetLibrary():_-39L
        {
            return (this._-AV);
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        public function get _-r8():RoomSettingsCtrl
        {
            return (this._-lK);
        }
        public function get _-cT():_-51K
        {
            return (this._-8M);
        }
        public function get _-1fB():_-34i
        {
            return (this._-0eJ);
        }
        public function get doorbell():_-3lT
        {
            return (this._-QK);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function get _-hO():_-gL
        {
            return (this._-0bh);
        }
        public function get _-0l9():OfficialRoomEntryManager
        {
            return (this._-2tJ);
        }
        public function get toolbar():_-3b
        {
            return (this._-0a7);
        }
        public function get habboHelp():_-0QY
        {
            return (this._-Je);
        }
        public function get _-54J():_-0qv
        {
            return (this._-4lW);
        }
        public function get _-1ED():_-45k
        {
            return (this._-16k);
        }
        override public function dispose():void
        {
            if (this._-1rO)
            {
                this._-1rO.dispose();
                this._-1rO = null;
            };
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-16k)
            {
                this._-16k.events.removeEventListener(_-7k._-3h9, this._-Bo);
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-8M)
            {
                this._-8M.release(new IIDSessionDataManager());
                this._-8M = null;
            };
            if (this._-3oJ)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-0a7)
            {
                if (this._-0a7.events)
                {
                    this._-0a7.events.removeEventListener(_-0Sy._-40N, this._-0WL);
                };
                this._-0a7.release(new IIDHabboToolbar());
                this._-0a7 = null;
            };
            if (this._-It)
            {
                this._-It.release(new IIDAvatarRenderManager());
                this._-It = null;
            };
            if (this._-Je)
            {
                this._-Je.release(new IIDHabboHelp());
                this._-Je = null;
            };
            if (this._-0EA)
            {
                this._-0EA.dispose();
                this._-0EA = null;
            };
            if (this._-1Vz)
            {
                this._-1Vz.dispose();
                this._-1Vz = null;
            };
            if (this._-2tJ)
            {
                this._-2tJ.dispose();
                this._-2tJ = null;
            };
            if (this._-0bh)
            {
                this._-0bh.dispose();
                this._-1Vz = null;
            };
            if (this._-lK)
            {
                this._-lK.dispose();
                this._-lK = null;
            };
            if (this._-0EA)
            {
                this._-0EA.dispose();
                this._-0EA = null;
            };
            super.dispose();
        }
        public function _-34x():void
        {
            this._-1Vz.show();
        }
        public function goToPrivateRoom(_arg1:int):void
        {
            this.send(new _-3uv(_arg1, false, true));
        }
        public function _-431(_arg1:int, _arg2:Boolean):void
        {
            var k:int;
            if (this._-16k)
            {
                this._-0EA.close();
                k = 0;
                if (((_arg2) && ((this._-0qE._-0I7 > 0))))
                {
                    k = this._-0qE._-0I7;
                };
                this._-16k._-29h(_arg1, k);
            };
        }
        public function goToRoom(_arg1:int, _arg2:Boolean, _arg3:String="", _arg4:int=-1):void
        {
            var k:int;
            _-Nb.log(("GO TO ROOM: " + _arg1));
            if (this._-16k)
            {
                if (_arg2)
                {
                    this._-1rO.close();
                };
                this._-16k._-4eb(false, _arg1, _arg3);
                if (this.tabs._-WM())
                {
                    k = (((_arg4 > -1)) ? (_arg4 + 1) : 0);
                    switch (this.tabs._-WM().id)
                    {
                        case _-1kz._-0oN:
                            this._-5Cj(this.tabs._-WM()._-02K._-1Sd, "go.official", String(_arg1), k);
                            return;
                        case _-1kz._-13T:
                            this._-5Cj(this.tabs._-WM()._-02K._-1Sd, "go.me", String(_arg1), k);
                            return;
                        case _-1kz._-1KO:
                            this._-5Cj(this.tabs._-WM()._-02K._-1Sd, "go.rooms", String(_arg1), k);
                            return;
                        case _-1kz._-4bq:
                            this._-5Cj("Events", "go.events", String(_arg1), k);
                            return;
                        case _-1kz._-2xc:
                            this._-5Cj("Search", "go.search", String(_arg1), k);
                            return;
                    };
                };
            };
        }
        public function _-3-Z(_arg1:int, _arg2:String):void
        {
            _-Nb.log(("GO TO PUBLIC SPACE: " + _arg1));
            if (this._-16k)
            {
                this._-16k._-4eb(true, _arg1, "", _arg2);
            };
        }
        public function goToHomeRoom():Boolean
        {
            if (this._-0qE._-0I7 < 1)
            {
                _-Nb.log("No home room set while attempting to go to home room");
                return (false);
            };
            this.goToRoom(this._-0qE._-0I7, true);
            return (true);
        }
        public function send(_arg1:_-1oF, _arg2:Boolean=false):void
        {
            this._-0ud._-4gR(null).send(_arg1);
        }
        public function getXmlWindow(_arg1:String, _arg2:uint=1):IWindow
        {
            var asset:_-2kE;
            var xmlAsset:_-243;
            var name:String = _arg1;
            var layer:int = _arg2;
            var window:IWindow;
            try
            {
                asset = assets.getAssetByName((name + "_xml"));
                xmlAsset = _-243(asset);
                window = this._-U-.buildFromXML(XML(xmlAsset.content), layer);
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("HabboNavigator", (((((("Failed to build window " + name) + "_xml, ") + asset) + ", ") + _-U-) + "!"));
                throw (e);
            };
            return (window);
        }
        public function getText(_arg1:String):String
        {
            var k:String = this._-cU.getKey(_arg1);
            if ((((k == null)) || ((k == ""))))
            {
                k = _arg1;
            };
            return (k);
        }
        public function registerParameter(_arg1:String, _arg2:String, _arg3:String):String
        {
            return (this._-cU.registerParameter(_arg1, _arg2, _arg3));
        }
        public function _-3zS(_arg1:String, _arg2:String, _arg3:Function, _arg4:int=0, _arg5:int=0, _arg6:int=0):IBitmapWrapperWindow
        {
            var k:BitmapData = this._-1JQ(_arg2);
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-U-.createWindow(_arg1, "", _-4Pi._-3BF, _-29z.NULL, (_-3hb._-0g6 | _-3hb._-2rR), new Rectangle(_arg4, _arg5, k.width, k.height), _arg3, _arg6));
            k.bitmap = k;
            k._-30Z = false;
            return (k);
        }
        public function refreshButton(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean, _arg4:Function, _arg5:int, _arg6:String=null):void
        {
            if (!_arg6)
            {
                k = _arg2;
            };
            var k:IBitmapWrapperWindow = (_arg1.findChildByName(_arg2) as IBitmapWrapperWindow);
            if (!k)
            {
                _-Nb.log(("Could not locate button in navigator: " + _arg2));
            };
            if (!_arg3)
            {
                k.visible = false;
            }
            else
            {
                this._-2rU(k, _arg6, _arg4, _arg5);
                k.visible = true;
            };
        }
        private function _-2rU(_arg1:IBitmapWrapperWindow, _arg2:String, _arg3:Function, _arg4:int):void
        {
            _arg1.id = _arg4;
            _arg1.procedure = _arg3;
            if (_arg1.bitmap != null)
            {
                return;
            };
            _arg1.bitmap = this._-1JQ(_arg2);
            _arg1._-30Z = false;
            _arg1.width = _arg1.bitmap.width;
            _arg1.height = _arg1.bitmap.height;
        }
        public function _-1JQ(_arg1:String, _arg2:String="_png"):BitmapData
        {
            var k:String = (_arg1 + _arg2);
            var k:_-2kE = assets.getAssetByName(k);
            var k:BitmapDataAsset = BitmapDataAsset(k);
            var k:BitmapData = BitmapData(k.content);
            return (k);
        }
        private function _-0tq(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = _-4BJ(_arg2);
            this._-YG = new IncomingMessages(this);
        }
        private function _-08R(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-16k = _-45k(_arg2);
            this._-16k.events.addEventListener(_-7k._-3h9, this._-Bo);
        }
        private function _-Bo(_arg1:_-7k):void
        {
            if (((this._-16k) && (this._-0EA)))
            {
                this._-0EA.close();
            };
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0a7 = (_-3b(_arg2) as _-3b);
            this._-0a7.events.addEventListener(_-0Sy._-40N, this._-0WL);
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = (_-2Jq(_arg2) as _-2Jq);
        }
        public function openCatalogClubPage(_arg1:String):void
        {
            if (this._-3oJ == null)
            {
                return;
            };
            this._-3oJ.openClubBuy(_-3YS._-36p, _arg1);
        }
        public function _-Gj():void
        {
            if (this._-3oJ == null)
            {
                return;
            };
            this._-3oJ.openCatalogPage("room_ad");
        }
        public function _-4h9(_arg1:String, _arg2:String, _arg3:Date):void
        {
            if (this._-3oJ == null)
            {
                return;
            };
            var k:String = this._-0qE._-51D.roomName;
            this._-3oJ._-01v("room_ad", _arg1, _arg2, k, _arg3);
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-8M = (_arg2 as _-51K);
        }
        private function _-0WL(_arg1:_-0Sy):void
        {
            if (_arg1.type == _-0Sy._-40N)
            {
                switch (_arg1._-1wJ)
                {
                    case HabboToolbarIconEnum.NAVIGATOR:
                        this._-1rO._-3Iz();
                        return;
                    case HabboToolbarIconEnum.ROOMINFO:
                        this._-0EA._-4NB();
                        return;
                    case HabboToolbarIconEnum.NAVIGATOR_ME_TAB:
                        this._-12E();
                        return;
                    case HabboToolbarIconEnum.GAMES:
                        if (this._-3fD.getBoolean("game.center.enabled", false))
                        {
                            this._-rv();
                        };
                        return;
                };
            };
        }
        public function _-1Mt():void
        {
        }
        private function _-1d3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            var k:int;
            _-Nb.log(("Navigator: configuration " + [_arg1, _arg2]));
            this._-3fD = (_arg2 as _-4uR);
            var k:String = this._-3fD.getKey("navigator.default_tab");
            switch (k)
            {
                case "popular":
                default:
                    k = _-1kz._-1KO;
                    break;
                case "official":
                    k = _-1kz._-0oN;
                    break;
                case "me":
                    k = _-1kz._-13T;
                    break;
                case "events":
                    k = _-1kz._-4bq;
            };
            if (this._-3fD.getBoolean("new.identity", false))
            {
                k = _-1kz._-13T;
            };
            this.tabs._-0HX(k);
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-cU = _-0hg(_arg2);
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = _-3Ts(_arg2);
        }
        private function _-4eW(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._tracking = (_arg2 as _-2UE);
        }
        private function _-1dv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-It = (_arg2 as _-3nt);
        }
        private function _-04o(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Je = (_arg2 as _-0QY);
        }
        public function _-3ht(_arg1:String):void
        {
            if (this._-1rO == null)
            {
                return;
            };
            this._-1rO._-0cR(_-1kz._-2xc, _-1kz._-0pI, _arg1);
            this._-5Cj("Search", "search.tag", _arg1);
            this._-1rO.mainWindow.activate();
        }
        public function _-jg(_arg1:String):void
        {
            if (this._-1rO == null)
            {
                return;
            };
            this._-1rO._-0cR(_-1kz._-2xc, _-1kz._-25v, _arg1);
            this._-5Cj("Search", "search", _arg1);
            this._-1rO.mainWindow.activate();
            this._-1rO._-3TL._-0Qd._-0Ab(_arg1);
        }
        public function _-4TT(_arg1:int, _arg2:int):void
        {
            if ((((this._-1rO == null)) || (((!((this._-0qE == null))) && (this._-0qE._-E())))))
            {
                return;
            };
            this._-0qE._-45N = new _-0i4(null, _arg1, _arg2);
            this._-1rO._-0cR(_-1kz._-2xc, _-1kz._-0dQ, "");
            this._-1rO.mainWindow.activate();
            this._-1rO._-3TL._-0Qd._-0Ab("");
        }
        public function performGuildBaseSearch():void
        {
            if (this._-1rO == null)
            {
                return;
            };
            this._-1rO._-0cR(_-1kz._-2xc, _-1kz._-1cU, "");
            this._-1rO.mainWindow.activate();
            this._-1rO._-3TL._-0Qd._-0Ab("");
        }
        public function _-12E():void
        {
            if (this._-1rO == null)
            {
                return;
            };
            this._-1rO._-0cR(_-1kz._-13T, _-1kz._-3rg);
            this._-BY._-1iI(_-1kz._-13T)._-02K._-xt();
        }
        public function _-0Sh(_arg1:String, _arg2:int):String
        {
            var k = (((("nav_venue_" + _arg1) + "/") + _arg2) + "_name");
            var k:String = this.getText(k);
            if (k != k)
            {
                return (k);
            };
            return (this.getText((("nav_venue_" + _arg1) + "_name")));
        }
        public function _-56p(_arg1:String, _arg2:int):String
        {
            return (this.getText((((("nav_venue_" + _arg1) + "/") + _arg2) + "_desc")));
        }
        public function _-5Cj(_arg1:String, _arg2:String, _arg3:String="", _arg4:int=0):void
        {
            if (this._tracking)
            {
                this._tracking.trackEventLog("Navigation", _arg1, _arg2, _arg3, _arg4);
            };
        }
        public function trackGoogle(_arg1:String, _arg2:String, _arg3:int=-1):void
        {
            if (this._tracking)
            {
                this._tracking.trackGoogle(_arg1, _arg2, _arg3);
            };
        }
        public function get _-5-f():_-3nt
        {
            return (this._-It);
        }
        public function _-2Yo(_arg1:Point):void
        {
            this._-1rO._-1x8(_arg1);
        }
        public function _-rv():void
        {
            this._-1rO.close();
        }
        public function _-4P():void
        {
            this._-1Vz.hide();
            this._-0EA.close();
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV.IncomingMessages

package _-4GV
{
    import _-3gx._-4BJ;
    import _-1HK._-4Pw;
    import _-1HK._-GF;
    import _-1HK._-2Xf;
    import _-4OG._-3NA;
    import _-4OG._-476;
    import _-4OG._-4PU;
    import _-4OG._-24l;
    import _-4OG._-2wD;
    import _-4OG._-0p6;
    import _-1Q8._-567;
    import _-2na._-1G-;
    import _-4OG._-Ex;
    import _-4OG._-4B9;
    import _-4OG._-3vj;
    import _-4s1.Game2GameStartedMessageEvent;
    import _-2It._-44B;
    import _-2na._-2I3;
    import _-4OG._-4x7;
    import _-4OG._-0vF;
    import _-3yH._-1qQ;
    import _-3yH._-3GJ;
    import _-3yH._-2a9;
    import _-3yH._-pc;
    import _-4OG._-0jX;
    import _-4OG._-3E-;
    import _-4OG._-07z;
    import _-3yH._-1Wx;
    import _-3yH._-3KP;
    import _-3yH._-0P9;
    import _-3yH._-3zZ;
    import _-3yH._-zP;
    import _-3yH._-34G;
    import _-4OG._-Sb;
    import _-4OG._-1Er;
    import _-1HK._-2bH;
    import _-4OG._-1ZY;
    import _-2na._-0rH;
    import _-4OG._-2oY;
    import _-2na._-2fO;
    import _-2JC._-4yr;
    import _-2JC._-47;
    import _-4OG._-0e5;
    import _-448._-3RR;
    import _-3yH._-4ek;
    import _-32h.NavigatorData;
    import _-4ME._-2FW;
    import _-4Aj._-0tL;
    import _-hT._-128;
    import _-0hd._-2gm;
    import _-1Jd._-3wh;
    import _-55m._-4-Q;
    import _-4OG._-5Au;
    import _-4OG._-4df;
    import _-55m._-0ZU;
    import _-55m._-1k6;
    import _-Co._-4SS;
    import _-0hd._-3uv;
    import _-2ly._-11j;
    import _-32h._-29Y;
    import _-55m._-2Vu;
    import _-3yH.RoomSettingsData;
    import _-55m._-3i-;
    import _-55m._-564;
    import _-18r.ErrorReportStorage;
    import _-32h._-1kz;
    import _-ta._-mk;
    import _-2tT._-4gm;
    import _-55m._-0J1;
    import _-3XR._-1Cd;
    import _-55m._-1m6;
    import _-4p8.RoomsTabPageDecorator;
    import _-4ME._-0a4;
    import _-4ME._-2co;
    import _-4ME._-2ZC;
    import _-4ME._-3FB;
    import _-55m._-QO;
    import _-55m._-27;
    import _-55m._-4fs;
    import _-55m._-4mn;
    import _-1Jd._-1ij;
    import _-4ME._-1v7;
    import _-4ME._-4Q3;
    import _-4ME._-2Qn;
    import _-4ME._-HW;
    import _-4ME._-0xC;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-2tT._-4kF;
    import _-55m._-4Bh;
    import _-55m._-1Db;
    import _-0hd._-yb;
    import _-Ew.IWindowContext;
    import _-Ew.IWindow;
    import _-2tT._-1Jg;

    public class IncomingMessages 
    {

        private var _-2bJ:HabboNavigator;

        public function IncomingMessages(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
            var k:_-4BJ = this._-2bJ.communication;
            k.addHabboConnectionMessageEvent(new _-4Pw(this._-4Ee));
            k.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            k.addHabboConnectionMessageEvent(new _-2Xf(this._-4tb));
            k.addHabboConnectionMessageEvent(new _-3NA(this._-0VO));
            k.addHabboConnectionMessageEvent(new _-476(this._-36G));
            k.addHabboConnectionMessageEvent(new _-4PU(this._-0j-));
            k.addHabboConnectionMessageEvent(new _-24l(this._-sz));
            k.addHabboConnectionMessageEvent(new _-2wD(this._-34r));
            k.addHabboConnectionMessageEvent(new _-0p6(this._-Yh));
            k.addHabboConnectionMessageEvent(new _-567(this._-0TW));
            k.addHabboConnectionMessageEvent(new _-1G-(this._-5m));
            k.addHabboConnectionMessageEvent(new _-Ex(this._-1Pw));
            k.addHabboConnectionMessageEvent(new _-4B9(this._-12N));
            k.addHabboConnectionMessageEvent(new _-3vj(this._-4IK));
            k.addHabboConnectionMessageEvent(new Game2GameStartedMessageEvent(this._-1WH));
            k.addHabboConnectionMessageEvent(new _-44B(this._-1O4));
            k.addHabboConnectionMessageEvent(new _-2I3(this._-3ia));
            k.addHabboConnectionMessageEvent(new _-4x7(this._-2E2));
            k.addHabboConnectionMessageEvent(new _-0vF(this._-Wg));
            k.addHabboConnectionMessageEvent(new _-1qQ(this._-2QM));
            k.addHabboConnectionMessageEvent(new _-3GJ(this._-1YO));
            k.addHabboConnectionMessageEvent(new _-2a9(this._-3LY));
            k.addHabboConnectionMessageEvent(new _-pc(this._-hb));
            k.addHabboConnectionMessageEvent(new _-0jX(this._-3g3));
            k.addHabboConnectionMessageEvent(new _-3E-(this._-3eW));
            k.addHabboConnectionMessageEvent(new _-07z(this._-0d4));
            k.addHabboConnectionMessageEvent(new _-1Wx(this._-1m4));
            k.addHabboConnectionMessageEvent(new _-3KP(this._-0MN));
            k.addHabboConnectionMessageEvent(new _-0P9(this._-3OD));
            k.addHabboConnectionMessageEvent(new _-3zZ(this._-10f));
            k.addHabboConnectionMessageEvent(new _-zP(this._-Gy));
            k.addHabboConnectionMessageEvent(new _-34G(this._-62));
            k.addHabboConnectionMessageEvent(new _-Sb(this._-1Az));
            k.addHabboConnectionMessageEvent(new _-1Er(this._-0fD));
            k.addHabboConnectionMessageEvent(new _-2bH(this._-127));
            k.addHabboConnectionMessageEvent(new _-1ZY(this._-3wP));
            k.addHabboConnectionMessageEvent(new _-0rH(this._-4A4));
            k.addHabboConnectionMessageEvent(new _-2oY(this._-4Rg));
            k.addHabboConnectionMessageEvent(new _-2fO(this._-0be));
            k.addHabboConnectionMessageEvent(new _-4yr(this._-3Ms));
            k.addHabboConnectionMessageEvent(new _-47(this._-4so));
            k.addHabboConnectionMessageEvent(new _-0e5(this._-3QQ));
            k.addHabboConnectionMessageEvent(new _-3RR(this._-1e1));
            k.addHabboConnectionMessageEvent(new _-4ek(this._-0v4));
        }
        public function get data():NavigatorData
        {
            return (this._-2bJ.data);
        }
        private function _-0v4(_arg1:_-0tL):void
        {
            var k:_-4ek = (_arg1 as _-4ek);
            var k:_-2FW = k._-3-5();
            var k:Boolean = k._-4FL;
            this._-2bJ.data._-51D._-1IY = k;
            if (this._-2bJ._-0Nr != null)
            {
                this._-2bJ._-0Nr._-3fO(this._-2bJ.data._-51D);
            };
        }
        private function _-62(_arg1:_-0tL):void
        {
        }
        private function _-4Ee(_arg1:_-0tL):void
        {
            this._-2bJ._-1Mt();
        }
        private function _-2y3(_arg1:_-0tL):void
        {
            var k:_-128 = _-GF(_arg1)._-3-5();
            this.data._-2hz = k.id;
            this._-2bJ.send(new _-2gm());
        }
        private function _-4tb(_arg1:_-0tL):void
        {
            var k:_-2Xf = _-2Xf(_arg1);
            if (k._-0gt >= _-3wh._-15c)
            {
                this._-2bJ.data._-cu = true;
            };
            if (k._-0gt >= _-3wh._-1gi)
            {
                this._-2bJ.data._-191 = true;
            };
        }
        private function _-0VO(_arg1:_-0tL):void
        {
            var k:_-4-Q = _-3NA(_arg1)._-3-5();
            this.data._-4WT = k.data;
            this.data._-4vu = k._-4vu;
            this.data._-3f = k._-3f;
            _-Nb.log(("Received Official rooms: " + this.data._-4WT.entries.length));
        }
        private function _-36G(_arg1:_-0tL):void
        {
            var k:_-5Au = _-476(_arg1)._-3-5().data;
            this.data._-52x = k;
            _-Nb.log(("Received GuestRoomSearch: " + this.data._-52x.rooms.length));
        }
        private function _-0j-(_arg1:_-0tL):void
        {
            var k:_-4df = _-4PU(_arg1)._-3-5().data;
            this.data._-2YO = k;
            _-Nb.log(("Received popular room tags: " + this.data._-2YO.tags.length));
        }
        private function _-sz(_arg1:_-0tL):void
        {
            var k:_-0ZU = _-24l(_arg1)._-3-5();
            _-Nb.log(((("Got room event: " + k.data._-1MB) + ", ") + k.data.eventName));
            this.data._-32z = (((k.data._-1MB > 0)) ? k.data : null);
            this._-2bJ._-54J.refresh();
        }
        private function _-34r(_arg1:_-0tL):void
        {
            this.data._-32z = null;
            this._-2bJ._-54J.refresh();
        }
        private function _-Yh(_arg1:_-0tL):void
        {
            var _local3:SimpleAlertView;
            var k:_-1k6 = _-0p6(_arg1)._-3-5();
            _-Nb.log(("CAN CREATE EVENT: " + k._-2eH));
            if (k._-2eH)
            {
                this._-2bJ._-hO.show();
            }
            else
            {
                _local3 = new SimpleAlertView(this._-2bJ, "${navigator.cannotcreateevent.title}", (("${navigator.cannotcreateevent.error." + k.errorCode) + "}"));
                _local3.show();
                _-Nb.log("Cannot create an event just now...");
            };
        }
        private function _-0TW(_arg1:_-0tL):void
        {
            var k:_-4SS = _-567(_arg1)._-3-5();
            _-Nb.log("Navigator: entering room");
            this.data._-0TW(k);
            this._-2GE();
            this._-2bJ._-0Nr.close();
            if (k._-Jj)
            {
                this._-2bJ.send(new _-3uv(k._-1At, true, false));
                _-Nb.log("Sent get guest room...");
            }
            else
            {
                this._-1BJ();
            };
            this._-2bJ._-54J.refresh();
            this._-2bJ._-hO.close();
            this._-2bJ._-r8.close();
            _-11j._-0PG("news");
        }
        private function _-1Pw(_arg1:_-0tL):void
        {
            var k:Boolean;
            var k:_-29Y;
            var k:_-2Vu = _-Ex(_arg1)._-3-5();
            _-Nb.log(((("Got room info: " + k._-278) + ", ") + k._-31S));
            if (k._-278)
            {
                this.data._-0w8 = k.data;
                this.data._-5C9 = k._-4Hf;
                k = (this.data._-4S == k.data._-3EU);
                if (((!(k)) && (k.data._-W9)))
                {
                    this._-1BJ();
                };
                this.data._-4S = 0;
                if (((!((this.data._-51D == null))) && ((this.data._-51D._-i5 > 0))))
                {
                    this._-2bJ._-54J.expanded = false;
                    this._-2bJ._-54J.refresh();
                };
                k = this._-2bJ.data._-3kG();
                if (k != null)
                {
                    this._-2bJ.send(k._-1wV());
                };
            }
            else
            {
                if (k._-31S)
                {
                    if ((((k.data._-0Qj == RoomSettingsData._-1HI)) && (((!((this._-2bJ._-cT.userName == k.data._-0aC))) && ((k._-g == false))))))
                    {
                        this._-2bJ.doorbell.show(k.data);
                    }
                    else
                    {
                        if ((((k.data._-0Qj == RoomSettingsData._-3c4)) && (((!((this._-2bJ._-cT.userName == k.data._-0aC))) && ((k._-g == false))))))
                        {
                            this._-2bJ._-1fB.show(k.data);
                        }
                        else
                        {
                            this._-2bJ.goToRoom(k.data._-3EU, false);
                        };
                    };
                }
                else
                {
                    this.data._-0w8 = k.data;
                    this.data._-5C9 = k._-4Hf;
                    this._-2bJ._-0Nr._-8C();
                };
            };
        }
        private function _-1BJ():void
        {
            if (this._-2bJ.configuration.getKey("roomenterad.habblet.enabled") == "true")
            {
                _-11j._-25R("roomenterad", "");
            };
        }
        private function _-12N(_arg1:_-0tL):void
        {
            var k:_-3i- = _-4B9(_arg1)._-3-5();
            _-Nb.log(((((("Got public space cast libs: " + k._-4Lc) + ", ") + k._-2As) + ", ") + k._-4Ac));
            this._-2bJ.data._-4rM = k._-4Lc;
            this._-2bJ._-3-Z(k._-2As, k._-4Ac);
        }
        private function _-4IK(_arg1:_-0tL):void
        {
            var k:_-564 = _-3vj(_arg1)._-3-5();
            ErrorReportStorage._-0QQ("IncomingEvent", ((("Flat created: " + k._-3EU) + ", ") + k._-jl));
            this.data._-4S = k._-3EU;
            this._-2bJ.goToRoom(k._-3EU, true);
            this._-2bJ._-0NE._-1BB(_-1kz._-3rg);
            this._-2bJ._-4P();
            this._-2bJ._-rv();
        }
        private function _-1WH(_arg1:_-0tL):void
        {
            this._-2bJ._-0NE.close();
        }
        private function _-1O4(_arg1:_-0tL):void
        {
            var k:_-mk = _-44B(_arg1)._-3-5();
            _-Nb.log(((((((((("Got subscription info: " + k.productName) + ", ") + k._-2Kk) + ", ") + k._-2L0) + ", ") + k._-2yA) + ", ") + k._-Wa));
            this.data._-3aH = (k._-2Kk > 0);
        }
        private function _-3ia(_arg1:_-0tL):void
        {
            var k:_-4gm = _-2I3(_arg1)._-3-5();
            _-Nb.log(((("Got room forward: " + k._-1XB) + ", ") + k.roomId));
            this._-0MZ(k._-1XB, k.roomId);
        }
        private function _-2E2(_arg1:_-0tL):void
        {
            var k:Boolean;
            var k:Boolean;
            var k:int;
            var _local9:Boolean;
            var k:_-0J1 = _-4x7(_arg1)._-3-5();
            _-Nb.log(("Got navigator settings: " + k._-0I7));
            var k = !(this._-2bJ.data._-4s9);
            this._-2bJ.data._-0I7 = k._-0I7;
            this._-2bJ.data._-4s9 = true;
            this._-2bJ._-0NE.refresh();
            var k:int = -1;
            var k:int = -1;
            if (k)
            {
                k = false;
                k = false;
                if (this._-2bJ.configuration != null)
                {
                    if (this._-2bJ.configuration.keyExists("friend.id"))
                    {
                        k = 0;
                        this._-2bJ.send(new _-1Cd(int(this._-2bJ.configuration.getKey("friend.id"))));
                    };
                    if (((this._-2bJ.configuration.keyExists("forward.type")) && (this._-2bJ.configuration.keyExists("forward.id"))))
                    {
                        k = int(this._-2bJ.configuration.getKey("forward.type"));
                        k = int(this._-2bJ.configuration.getKey("forward.id"));
                    };
                    if (parseInt(this._-2bJ.configuration.getKey("navigator.always_open_after_login")) == 1)
                    {
                        k = true;
                    };
                    k = ((this._-2bJ.configuration.getBoolean("landing.view.enabled", false)) && (((this._-2bJ.configuration.getBoolean("landing.view.stop.new.user.forward", false)) || ((k._-3fN == 0)))));
                };
                if (k == 2)
                {
                    _-Nb.log(("Guest room forward on enter: " + k));
                    this._-0MZ(false, k);
                }
                else
                {
                    if (k == 1)
                    {
                        _-Nb.log(("Public room forward on enter: " + k));
                        this._-0MZ(true, k);
                    }
                    else
                    {
                        if (k == -1)
                        {
                            if (!k)
                            {
                                k = k._-3fN;
                                if (k != this._-2bJ.data._-0I7)
                                {
                                    this._-2bJ.goToRoom(k, true);
                                }
                                else
                                {
                                    _local9 = this._-2bJ.goToHomeRoom();
                                    if (!_local9)
                                    {
                                        k = true;
                                    };
                                };
                            };
                        };
                    };
                };
                if (((k) && (!(this._-2bJ._-0NE.isOpen()))))
                {
                    this._-2bJ._-0NE._-3Iz();
                };
            }
            else
            {
                this._-2bJ._-0Nr._-8C();
            };
        }
        private function _-5m(_arg1:_-0tL):void
        {
            _-Nb.log("Navigator: exiting room");
            this.data._-5m();
            this._-2bJ._-0Nr.close();
            if (((!(this._-2bJ._-0NE.isOpen())) && (!(this._-2bJ.configuration.getBoolean("landing.view.enabled", false)))))
            {
                this._-2bJ._-0NE._-3Iz();
            };
            this._-2bJ._-54J.close();
            this._-2bJ._-hO.close();
            this._-2bJ._-r8.close();
            var k:Boolean = this._-2bJ.configuration.getBoolean("news.auto_popup.enabled", false);
            if (k)
            {
                _-11j._-25R("news");
            };
        }
        private function _-Wg(_arg1:_-0tL):void
        {
            var k:_-1m6 = (_arg1 as _-0vF)._-3-5();
            this._-2bJ.data.categories = k._-45F;
            var k:RoomsTabPageDecorator = RoomsTabPageDecorator(this._-2bJ.tabs._-1iI(_-1kz._-1KO)._-02K);
            k._-5AJ();
        }
        private function _-2QM(_arg1:_-0tL):void
        {
            var parser:_-0a4;
            var event:_-0tL = _arg1;
            try
            {
                parser = (event as _-1qQ)._-3-5();
                this._-2bJ._-r8._-46T(parser.data);
                _-Nb.log(((((("GOT ROOM SETTINGS DATA: " + parser.data.name) + ", ") + parser.data._-0qV) + ", ") + parser.data._-32C));
            }
            catch(e:Error)
            {
                _-Nb.log("CRASHED WHILE PROCESSING ROOM SETTINGS DATA!");
            };
        }
        private function _-1YO(_arg1:_-0tL):void
        {
            var k:_-2co = (_arg1 as _-3GJ)._-3-5();
        }
        private function _-3LY(_arg1:_-0tL):void
        {
            var k:_-2ZC = (_arg1 as _-2a9)._-3-5();
            ErrorReportStorage._-0QQ("IncomingEvent", ("Room settings saved: " + k.roomId));
            this._-2bJ._-0NE._-1BB(_-1kz._-3rg);
        }
        private function _-hb(_arg1:_-0tL):void
        {
            var k:_-3FB = (_arg1 as _-pc)._-3-5();
            this._-2bJ._-r8._-hb(k.roomId, k.errorCode, k.info);
        }
        private function _-3g3(_arg1:_-0tL):void
        {
            var k:_-QO = (_arg1 as _-0jX)._-3-5();
            _-Nb.log(("ROOM UPDATED: " + k._-3EU));
            this._-2bJ.send(new _-3uv(k._-3EU, false, false));
        }
        private function _-3eW(_arg1:_-0tL):void
        {
            var k:_-27 = (_arg1 as _-3E-)._-3-5();
            _-Nb.log(((("Received favourites: " + k.limit) + ", ") + k._-38b.length));
            this._-2bJ.data._-3eW(k);
        }
        private function _-0d4(_arg1:_-0tL):void
        {
            var k:_-4fs = (_arg1 as _-07z)._-3-5();
            _-Nb.log(((("Received favourite changed: " + k._-3EU) + ", ") + k._-3z5));
            this._-2bJ.data._-2Tz(k._-3EU, k._-3z5);
            this._-2bJ._-0Nr._-8C();
            this._-2bJ._-0NE.refresh();
        }
        private function _-0fD(_arg1:_-0tL):void
        {
            var _local3:AlertView;
            var k:_-4mn = (_arg1 as _-1Er)._-3-5();
            _-Nb.log(((("Can create room: " + k._-rJ) + ", ") + k._-1wi));
            if (k._-rJ == 0)
            {
                this._-2bJ.function.show();
            }
            else
            {
                this._-2bJ.registerParameter("navigator.createroom.limitreached", "limit", ("" + k._-1wi));
                if (this._-2bJ._-cT.clubLevel >= _-1ij._-1pk)
                {
                    _local3 = new SimpleAlertView(this._-2bJ, "${navigator.createroom.error}", "${navigator.createroom.limitreached}");
                }
                else
                {
                    _local3 = new ClubPromoAlertView(this._-2bJ, "${navigator.createroom.error}", "${navigator.createroom.limitreached}", "${navigator.createroom.vippromo}");
                };
                _local3.show();
            };
        }
        private function _-1m4(_arg1:_-0tL):void
        {
            var k:_-1v7 = (_arg1 as _-1Wx)._-3-5();
            _-Nb.log(((("Got flat controllers: " + k.roomId) + ", ") + k._-5CZ.length));
            this._-2bJ._-r8._-1m4(k.roomId, k._-5CZ);
        }
        private function _-0MN(_arg1:_-0tL):void
        {
            var k:_-4Q3 = (_arg1 as _-3KP)._-3-5();
            _-Nb.log(((((("Flat controller added: " + k._-3EU) + ", ") + k.data.userId) + ", ") + k.data.userName));
            this._-2bJ._-r8._-0MN(k._-3EU, k.data);
        }
        private function _-3OD(_arg1:_-0tL):void
        {
            var k:_-2Qn = (_arg1 as _-0P9)._-3-5();
            _-Nb.log(((("Flat controller removed: " + k._-3EU) + ", ") + k.userId));
            this._-2bJ._-r8._-3OD(k._-3EU, k.userId);
        }
        private function _-10f(_arg1:_-0tL):void
        {
            var k:_-HW = (_arg1 as _-3zZ)._-3-5();
            _-Nb.log(((("Got Banned users for room: " + k.roomId) + ", ") + k._-3Nk.length));
            this._-2bJ._-r8._-10f(k.roomId, k._-3Nk);
        }
        private function _-Gy(_arg1:_-0tL):void
        {
            var k:_-0xC = (_arg1 as _-zP)._-3-5();
            _-Nb.log(((("User was unbanned from room. User Id: " + k.userId) + " Room Id: ") + k.roomId));
            this._-2bJ._-r8._-Gy(k.roomId, k.userId);
        }
        private function _-127(_arg1:_-0tL):void
        {
            var event:_-0tL = _arg1;
            var error:_-2bH = (event as _-2bH);
            if (error == null)
            {
                return;
            };
            switch (error._-3-5().errorCode)
            {
                case -100002:
                    this._-2bJ._-1fB._-4aa();
                    return;
                case 4009:
                    this._-2bJ.windowManager.alert("${generic.alert.title}", "${navigator.alert.need.to.be.vip}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case 4010:
                    this._-2bJ.windowManager.alert("${generic.alert.title}", "${navigator.alert.invalid_room_name}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
            };
        }
        private function _-3wP(_arg1:_-0tL):void
        {
            var k:_-1ZY = (_arg1 as _-1ZY);
            if (k == null)
            {
                return;
            };
            if (k.userName != "")
            {
                return;
            };
            this._-2bJ.doorbell._-4wW();
        }
        private function _-4A4(_arg1:_-0tL):void
        {
            var k:_-0rH = (_arg1 as _-0rH);
            if (k == null)
            {
                return;
            };
            var k:_-4kF = k._-3-5();
            if (((!((k == null))) && ((((k.userName == null)) || ((k.userName.length == 0))))))
            {
                this._-2bJ.doorbell.hide();
            };
        }
        private function _-1Az(_arg1:_-0tL):void
        {
            var k:_-4Bh = (_arg1 as _-Sb)._-3-5();
            _-Nb.log(("Received room rating: " + k.rating));
            this._-2bJ.data._-0X3 = k.rating;
            this._-2bJ.data._-13C = k._-13C;
            this._-2bJ._-0Nr._-8C();
        }
        private function _-4Rg(_arg1:_-0tL):void
        {
            var k:_-1Db = (_arg1 as _-2oY)._-3-5();
            if ((((k.userName == null)) || ((k.userName == ""))))
            {
                this._-2bJ.doorbell._-0z-();
            };
        }
        private function _-3Ms(_arg1:_-0tL):void
        {
            this._-2bJ.data._-4zV._-3Ms(_arg1);
        }
        private function _-4so(_arg1:_-0tL):void
        {
            this._-2bJ.data._-4zV._-4so(_arg1);
            this._-2bJ._-r8._-4so();
        }
        private function _-3QQ(_arg1:_-0e5):void
        {
            this._-2bJ.data._-45N = _arg1._-3-5().data;
        }
        private function _-0MZ(_arg1:Boolean, _arg2:int):void
        {
            this._-2bJ.send(((_arg1) ? new _-yb(_arg2) : new _-3uv(_arg2, false, true)));
            this._-2bJ._-5Cj("Room Forward", "go.roomforward", "", _arg2);
        }
        private function _-1e1(_arg1:_-3RR):void
        {
            this._-2bJ._-34x();
        }
        private function _-2GE():void
        {
            var k:Array;
            var k:IWindowContext;
            var k:int;
            var k:int;
            var k:IWindow;
            var k:IWindow;
            var k:AlertView;
            if (this._-2bJ != null)
            {
                k = new Array();
                k = this._-2bJ.windowManager.getWindowContext(2);
                k = k.getDesktopWindow().numChildren;
                k = 0;
                while (k < k)
                {
                    k = k.getDesktopWindow().getChildAt(k);
                    if (k.tags.indexOf("SimpleAlertView") > -1)
                    {
                        k.push(k);
                    };
                    k++;
                };
                if (k.length > 0)
                {
                    for each (k in k)
                    {
                        k = AlertView._-2aD(k);
                        if (k != null)
                        {
                            k.dispose();
                        };
                    };
                };
            };
        }
        private function _-0be(_arg1:_-0tL):void
        {
            var k:SimpleAlertView;
            var k:_-1Jg = (_arg1 as _-2fO)._-3-5();
            _-Nb.log(("FAILED TO CONNECT: REASON: " + k.reason));
            switch (k.reason)
            {
                case _-1Jg._-1XN:
                    k = new SimpleAlertView(this._-2bJ, "${navigator.guestroomfull.title}", "${navigator.guestroomfull.text}");
                    k.show();
                    return;
                case _-1Jg._-4Zr:
                    k = new SimpleAlertView(this._-2bJ, "${room.queue.error.title}", (("${room.queue.error." + k._-y-) + "}"));
                    k.show();
                    return;
                case _-1Jg._-4vo:
                    k = new SimpleAlertView(this._-2bJ, "${navigator.banned.title}", "${navigator.banned.text}");
                    k.show();
                    return;
                default:
                    k = new SimpleAlertView(this._-2bJ, "${room.queue.error.title}", "${room.queue.error.title}");
                    k.show();
            };
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV.SimpleAlertView

package _-4GV
{
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IFrameWindow;

    public class SimpleAlertView extends AlertView 
    {

        private var _text:String;

        public function SimpleAlertView(_arg1:HabboNavigator, _arg2:String, _arg3:String)
        {
            super(_arg1, "nav_simple_alert", _arg2);
            this._text = _arg3;
        }
        override function setupAlertWindow(_arg1:IFrameWindow):void
        {
            var k:IWindowContainer = _arg1.content;
            ITextWindow(k.findChildByName("body_text")).text = this._text;
            var k:IWindow = k.findChildByName("ok");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2TI);
            };
            _arg1.tags.push("SimpleAlertView");
        }
        private function _-2TI(_arg1:WindowMouseEvent):void
        {
            dispose();
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV.TagRenderer

package _-4GV
{
    import _-Ew.IWindowContainer;
    import _-1ae.ITextWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.*;
    import _-Ew.*;
    import _-0Ie.*;
    import _-09j.*;

    public class TagRenderer 
    {

        private var _-2bJ:HabboNavigator;
        private var _-2Cf:Function;

        public function TagRenderer(_arg1:HabboNavigator, _arg2:Function=null)
        {
            this._-2bJ = _arg1;
            this._-2Cf = _arg2;
        }
        public function dispose():void
        {
            this._-2bJ = null;
            this._-2Cf = null;
        }
        public function _-38C(_arg1:IWindowContainer, _arg2:Array):void
        {
            var k:IWindowContainer = IWindowContainer(_arg1.findChildByName("tags"));
            var k:int;
            while (k < 4)
            {
                this._-39S(k, k, _arg2[k]);
                k++;
            };
            var k:int = (_arg1.width - k.x);
            _-3UA._-42(k, k, 14);
            k.height = _-3UA._-5DG(k);
            k.visible = (_arg2.length > 0);
        }
        public function _-39S(_arg1:IWindowContainer, _arg2:int, _arg3:String):void
        {
            var _local6:ITextWindow;
            var k:String = ("tag." + _arg2);
            var k:IWindowContainer = IWindowContainer(_arg1.getChildByName(k));
            if ((((_arg3 == null)) || ((_arg3 == ""))))
            {
                if (k != null)
                {
                    k.visible = false;
                };
            }
            else
            {
                if (k == null)
                {
                    k = IWindowContainer(this._-2bJ.getXmlWindow("iro_tag"));
                    k.name = k;
                    _arg1.addChild(k);
                    k.procedure = this._-396;
                };
                _local6 = ITextWindow(k.findChildByName("txt"));
                _local6.text = _arg3;
                _local6.width = (_local6.textWidth + 5);
                k.width = (_local6.width + 3);
                this._-5FA(k, false);
                k.visible = true;
            };
        }
        private function _-5FA(_arg1:IWindowContainer, _arg2:Boolean):void
        {
            this._-1aG(_arg1, "l", _arg2);
            this._-1aG(_arg1, "m", _arg2);
            this._-1aG(_arg1, "r", _arg2);
        }
        private function _-396(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:ITextWindow;
            var k:String;
            var k:IWindowContainer = (_arg2 as IWindowContainer);
            if (k == null)
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                this._-5FA(k, true);
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4e2)
                {
                    this._-5FA(k, false);
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-90)
                    {
                        k = ITextWindow(k.findChildByName("txt"));
                        k = k.text;
                        _-Nb.log(("TAG CLICKED: " + k));
                        this._-2bJ._-3ht(k);
                        if (this._-2Cf != null)
                        {
                            this._-2Cf();
                        };
                    };
                };
            };
        }
        private function _-1aG(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean):void
        {
            var k:String;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(_arg1.findChildByName(("bg_" + _arg2)));
            if (k.tags[0] != ("" + _arg3))
            {
                k.tags.splice(0, k.tags.length);
                k.tags.push(("" + _arg3));
                k = (("tag_" + _arg2) + ((_arg3) ? "_reactive" : ""));
                k.bitmap = this._-2bJ._-1JQ(k);
                k._-30Z = false;
                k.invalidate();
            };
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4GV.UserCountRenderer

package _-4GV
{
    import _-Ew.IWindowContainer;
    import _-1ae.IInteractiveWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.*;
    import _-Ew.*;
    import _-0Ie.*;
    import _-09j.*;

    public class UserCountRenderer 
    {

        public static const _-49X:String = "usercount";

        private var _-2bJ:HabboNavigator;

        public function UserCountRenderer(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function dispose():void
        {
            this._-2bJ = null;
        }
        public function refreshUserCount(_arg1:int, _arg2:IWindowContainer, _arg3:int, _arg4:String, _arg5:int, _arg6:int):void
        {
            var k:IWindowContainer = IWindowContainer(_arg2.findChildByName(_-49X));
            if (k == null)
            {
                k = IWindowContainer(this._-2bJ.getXmlWindow("grs_usercount"));
                k.name = _-49X;
                k.x = _arg5;
                k.y = _arg6;
                _arg2.addChild(k);
            };
            IInteractiveWindow(k)._-2QR = _arg4;
            var k:ITextWindow = ITextWindow(k.findChildByName("txt"));
            k.text = ("" + _arg3);
            var k:String = this.getBgColor(_arg1, _arg3);
            this._-1Ig(k, k);
            k.visible = true;
        }
        private function getBgColor(_arg1:int, _arg2:int):String
        {
            if (_arg2 == 0)
            {
                return ("b");
            };
            if (this._-0R6(_arg1, _arg2, "red", 92))
            {
                return ("r");
            };
            if (this._-0R6(_arg1, _arg2, "orange", 80))
            {
                return ("o");
            };
            if (this._-0R6(_arg1, _arg2, "yellow", 50))
            {
                return ("y");
            };
            return ("g");
        }
        private function _-0R6(_arg1:int, _arg2:int, _arg3:String, _arg4:int):Boolean
        {
            var k:String = ("navigator.colorlimit." + _arg3);
            var k:int = int(this._-2bJ.configuration.getKey(k, ("" + _arg4)));
            var k:int = ((_arg1 * k) / 100);
            return ((_arg2 >= k));
        }
        private function _-1Ig(_arg1:IWindowContainer, _arg2:String):void
        {
            var k:String;
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(_arg1.findChildByName("usercount_bg"));
            if (k.tags[0] != _arg2)
            {
                k.tags.splice(0, k.tags.length);
                k.tags.push(_arg2);
                k = ("usercount_fixed_" + _arg2);
                k.bitmap = this._-2bJ._-1JQ(k);
                k._-30Z = false;
                k.invalidate();
            };
        }
        private function _-1Rq(_arg1:IWindowContainer, _arg2:String, _arg3:Boolean):void
        {
            this._-2bJ.refreshButton(_arg1, _arg2, _arg3, null, 0);
        }

    }
}//package _-4GV

//------------------------------------------------------------
//_-4h0._-02n

package _-4h0
{
    import _-4Aj._-0s1;

    public class _-02n extends SnowWarGameObjectData 
    {

        public static const _-0uL:int = 19;

        private var _name:String;
        private var _-526:String;
        private var _-5AE:String;
        private var _-0o6:String;

        public function _-02n(_arg1:int, _arg2:int)
        {
            super(_arg1, _arg2);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-2al():String
        {
            return (this._-526);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-af():String
        {
            return (this._-0o6);
        }
        override public function parse(_arg1:_-0s1):void
        {
            _-3IM(_arg1, _-0uL);
            this._name = _arg1.readString();
            this._-526 = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-0o6 = _arg1.readString();
            _-Nb.log(("Parsed human game object data, variables:" + _-2mY));
        }
        public function get _-4o6():int
        {
            return (getVariable(2));
        }
        public function get _-01C():int
        {
            return (getVariable(3));
        }
        public function get _-59I():int
        {
            return (getVariable(4));
        }
        public function get _-3bs():int
        {
            return (getVariable(5));
        }
        public function get _-wX():int
        {
            return (getVariable(6));
        }
        public function get _-0rW():int
        {
            return (getVariable(7));
        }
        public function get _-Cz():int
        {
            return (getVariable(8));
        }
        public function get _-4Vi():int
        {
            return (getVariable(9));
        }
        public function get _-2F3():int
        {
            return (getVariable(10));
        }
        public function get _-19E():int
        {
            return (getVariable(11));
        }
        public function get _-3UY():int
        {
            return (getVariable(12));
        }
        public function get _-18f():int
        {
            return (getVariable(13));
        }
        public function get _-2Vs():int
        {
            return (getVariable(14));
        }
        public function get _-4mY():int
        {
            return (getVariable(15));
        }
        public function get score():int
        {
            return (getVariable(16));
        }
        public function get team():int
        {
            return (getVariable(17));
        }
        public function get userId():int
        {
            return (getVariable(18));
        }

    }
}//package _-4h0

//------------------------------------------------------------
//_-4h0._-0xb

package _-4h0
{
    import _-4Aj._-0s1;

    public class _-0xb extends SnowWarGameObjectData 
    {

        public static const _-0uL:int = 11;
        public static const _-2D1:int = 0;
        public static const _-0IR:int = 1;
        public static const _-3S7:int = 2;

        public function _-0xb(_arg1:int, _arg2:int)
        {
            super(_arg1, _arg2);
        }
        override public function parse(_arg1:_-0s1):void
        {
            _-3IM(_arg1, _-0uL);
        }
        public function get _-0Nb():int
        {
            return (getVariable(2));
        }
        public function get _-0PI():int
        {
            return (getVariable(3));
        }
        public function get _-2m5():int
        {
            return (getVariable(4));
        }
        public function get _-28R():int
        {
            return (getVariable(5));
        }
        public function get _-0Q5():int
        {
            return (getVariable(6));
        }
        public function get _-4Kk():int
        {
            return (getVariable(7));
        }
        public function get _-2mL():int
        {
            return (getVariable(8));
        }
        public function get _-4X4():int
        {
            return (getVariable(9));
        }
        public function get _-46V():int
        {
            return (getVariable(10));
        }

    }
}//package _-4h0

//------------------------------------------------------------
//_-4h0._-1OH

package _-4h0
{
    import _-4Aj._-0s1;

    public class _-1OH extends SnowWarGameObjectData 
    {

        public static const _-0uL:int = 9;

        public function _-1OH(_arg1:int, _arg2:int)
        {
            super(_arg1, _arg2);
        }
        override public function parse(_arg1:_-0s1):void
        {
            _-3IM(_arg1, _-0uL);
        }
        public function get _-0Nb():int
        {
            return (getVariable(2));
        }
        public function get _-0PI():int
        {
            return (getVariable(3));
        }
        public function get direction():int
        {
            return (getVariable(4));
        }
        public function get height():int
        {
            return (getVariable(5));
        }
        public function get _-ko():int
        {
            return (getVariable(6));
        }
        public function get _-4yX():int
        {
            return (getVariable(7));
        }
        public function get _-2XH():int
        {
            return (getVariable(8));
        }

    }
}//package _-4h0

//------------------------------------------------------------
//_-4h0._-38U

package _-4h0
{
    import _-4Aj._-0s1;

    public class _-38U extends SnowWarGameObjectData 
    {

        public static const _-0uL:int = 7;

        public function _-38U(_arg1:int, _arg2:int)
        {
            super(_arg1, _arg2);
        }
        override public function parse(_arg1:_-0s1):void
        {
            _-3IM(_arg1, _-0uL);
        }
        public function get _-0Nb():int
        {
            return (getVariable(2));
        }
        public function get _-0PI():int
        {
            return (getVariable(3));
        }
        public function get _-3rz():int
        {
            return (getVariable(4));
        }
        public function get _-1mW():int
        {
            return (getVariable(5));
        }
        public function get _-ko():int
        {
            return (getVariable(6));
        }

    }
}//package _-4h0

//------------------------------------------------------------
//_-4h0._-3W9

package _-4h0
{
    import _-4Aj._-0s1;

    public class _-3W9 extends SnowWarGameObjectData 
    {

        public static const _-0uL:int = 8;

        public function _-3W9(_arg1:int, _arg2:int)
        {
            super(_arg1, _arg2);
        }
        override public function parse(_arg1:_-0s1):void
        {
            _-3IM(_arg1, _-0uL);
        }
        public function get _-0Nb():int
        {
            return (getVariable(2));
        }
        public function get _-0PI():int
        {
            return (getVariable(3));
        }
        public function get direction():int
        {
            return (getVariable(4));
        }
        public function get _-3rz():int
        {
            return (getVariable(5));
        }
        public function get _-1mW():int
        {
            return (getVariable(6));
        }
        public function get _-ko():int
        {
            return (getVariable(7));
        }

    }
}//package _-4h0

//------------------------------------------------------------
//_-4h0.SnowWarGameObjectData

package _-4h0
{
    import _-4Aj._-0s1;

    public class SnowWarGameObjectData 
    {

        public static const _-3e4:int = 1;
        public static const _-2zR:int = 2;
        public static const _-3HG:int = 3;
        public static const _-2bu:int = 4;
        public static const _-2Kr:int = 5;

        protected var _-2mY:Array;

        public function SnowWarGameObjectData(_arg1:int, _arg2:int)
        {
            this._-2mY = [];
            super();
            this._-20X(0, _arg1);
            this._-20X(1, _arg2);
        }
        public static function create(_arg1:int, _arg2:int):SnowWarGameObjectData
        {
            switch (_arg1)
            {
                case _-3e4:
                    return (new _-0xb(_arg1, _arg2));
                case _-2bu:
                    return (new _-3W9(_arg1, _arg2));
                case _-3HG:
                    return (new _-38U(_arg1, _arg2));
                case _-2Kr:
                    return (new _-02n(_arg1, _arg2));
                case _-2zR:
                    return (new _-1OH(_arg1, _arg2));
                default:
                    _-Nb.log(("[SnowWarGameObjectData] unknown type " + _arg1));
                    return (null);
            };
        }

        public function get type():int
        {
            return (this.getVariable(0));
        }
        public function get id():int
        {
            return (this.getVariable(1));
        }
        public function getVariable(_arg1:int):int
        {
            return (this._-2mY[_arg1]);
        }
        protected function _-20X(_arg1:int, _arg2:int):void
        {
            this._-2mY[_arg1] = _arg2;
        }
        protected function _-3IM(_arg1:_-0s1, _arg2:int):void
        {
            var k:int = 2;
            while (k < _arg2)
            {
                this._-2mY.push(_arg1._-2BW());
                k++;
            };
        }
        public function parse(_arg1:_-0s1):void
        {
        }

    }
}//package _-4h0

//------------------------------------------------------------
//_-4H5._-02X

package _-4H5
{
    import mx.core.BitmapAsset;

    public class _-02X extends BitmapAsset 
    {

    }
}//package _-4H5

//------------------------------------------------------------
//_-4H5._-0VV

package _-4H5
{
    import mx.core.BitmapAsset;

    public class _-0VV extends BitmapAsset 
    {

    }
}//package _-4H5

//------------------------------------------------------------
//_-4H5._-1eg

package _-4H5
{
    import mx.core.BitmapAsset;

    public class _-1eg extends BitmapAsset 
    {

    }
}//package _-4H5

//------------------------------------------------------------
//_-4H5._-1tw

package _-4H5
{
    import mx.core.BitmapAsset;

    public class _-1tw extends BitmapAsset 
    {

    }
}//package _-4H5

//------------------------------------------------------------
//_-4H5._-2t6

package _-4H5
{
    import flash.display.Sprite;
    import ui._-35Z;
    import flash.text.TextField;
    import ui._-1XJ;
    import flash.display.Bitmap;
    import flash.utils.Timer;
    import ui.WaitIndicator;
    import ui.LoaderUI;
    import flash.geom.Rectangle;
    import ui.NineSplitSprite;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.external.ExternalInterface;
    import flash.events.TimerEvent;
    import flash.filters.GlowFilter;
    import _-1B-.*;

    public class _-2t6 implements _-1zZ 
    {

        private static const _-3AT:int = 500;
        private static const _-01R:String = "NewUserReception.claimName";
        private static const _-Sg:String = "newUserReceptionClaimNameResponse";
        private static const _-2wj:String = "newUserReceptionClaimNameFailed";
        private static const _-0j:String = "NewUserReception.checkName";
        private static const _-43g:String = "newUserReceptionCheckNameResponse";
        private static const _-420:String = "newUserReceptionCheckNameFailed";

        private var _-8l:Class;
        private var _-Hc:Class;
        private var _-2T4:Class;
        private var _-54f:Class;
        private var _-3O8:Class;
        private var _disposed:Boolean;
        private var _-1T0:NewUserReception;
        private var _-2i-:Sprite;
        private var _-5-M:_-35Z;
        private var _-3Kd:TextField;
        private var _-1bT:_-1XJ;
        private var _-3hV:Sprite;
        private var _-2d9:Bitmap;
        private var _-063:Boolean;
        private var _-4FS:Bitmap;
        private var _-0JD:Timer;
        private var _-03L:WaitIndicator;

        public function _-2t6(_arg1:NewUserReception)
        {
            var k:Bitmap;
            this._-8l = _-0VV;
            this._-Hc = _-3SP;
            this._-2T4 = _-1eg;
            this._-54f = _-1tw;
            this._-3O8 = _-02X;
            super();
            this._-1T0 = _arg1;
            var k = 418;
            this._-2i- = LoaderUI._-3J8(this._-1T0.getString("rename.title", "Pick a name for your character"), "", new Rectangle((-(k) / 2), 0, k, 1));
            var k:int = 23;
            var k:int = (k - (k * 2));
            var k:int = (k - 12);
            k = new this._-2T4();
            k.x = 184;
            k.y = 18;
            this._-2i-.addChild(k);
            k = new this._-Hc();
            k.x = 199;
            k.y = 18;
            this._-2i-.addChild(k);
            k = new this._-Hc();
            k.x = 214;
            k.y = 18;
            this._-2i-.addChild(k);
            k = new this._-54f();
            k.x = 230;
            k.y = 14;
            this._-2i-.addChild(k);
            var k:Bitmap = NineSplitSprite._-2wJ.render(k, 8);
            this._-2i-.addChild(k);
            k.x = 6;
            k.y = 37;
            var k:TextField = LoaderUI._-R5(this._-1T0.getString("rename.subtitle", "You are a unique and beautiful snowflake."), 14, 0, true);
            this._-2i-.addChild(k);
            k.x = k;
            LoaderUI._-2pS(k);
            var k:TextField = LoaderUI._-R5(this._-1T0.getString("rename.description", "In Habbo, we all sign in using a unique name, so go ahead and enter yours. There's no need to use your real one - stage names are perfectly ok."), 12, 0, false, true);
            this._-2i-.addChild(k);
            k.x = k;
            k.width = k;
            LoaderUI._-2pS(k);
            var k:Sprite = new Sprite();
            this._-4FS = NineSplitSprite._-0Kn.render(k, 50);
            k.addChild(this._-4FS);
            this._-2i-.addChild(k);
            k.x = k;
            var k:TextField = LoaderUI._-R5(this._-1T0.getString("rename.accepted", "WE ACCEPT LETTERS AND NUMBERS. NOT VISA OR MASTERCARD."), 9, 0x424242, true);
            this._-2i-.addChild(k);
            k.x = (k + 5);
            LoaderUI._-2pS(k);
            var k:Bitmap = new this._-8l();
            var k:TextField = LoaderUI._-R5(this._-1T0.getString("rename.warning", "Once you've selected a name for your character, you can't change it anymore, so please pay a bit of  attention to your selection."), 11, 0x424242, false, true);
            k.width = (k - 66);
            LoaderUI._-2pS(k);
            var k:Bitmap = NineSplitSprite._-42e.render(k, (k.height + 24));
            k.x = k;
            var k:Sprite = new Sprite();
            k.addChild(k);
            k.x = 0;
            k.y = 0;
            k.addChild(k);
            k.x = 50;
            k.y = 12;
            k.addChild(k);
            k.x = 16;
            k.y = int(((k.height - k.height) / 2));
            this._-2i-.addChild(k);
            k.x = k;
            var k:Bitmap = NineSplitSprite._-2wJ.render(k, 8);
            this._-2i-.addChild(k);
            k.x = 6;
            k.y = 278;
            this._-1bT = new _-1XJ(this._-1T0.getString("rename.submit", "Accept and continue"), new Rectangle(0, 0, 0, 32), true, this._-4Bm);
            this._-1bT._-4Yf = true;
            this._-1bT.active = false;
            this._-2i-.addChild(this._-1bT);
            LoaderUI._-Ax(k, 19, k, 4, k, 18, k, 6, k, 14, k, 24, k, 18, this._-1bT);
            this._-3Kd = LoaderUI._-R5(this._-1T0.getString("name", "Click here to type a name"), 14, 0x888888, true, false, true);
            this._-2i-.addChild(this._-3Kd);
            this._-3Kd.x = (k.x + 16);
            this._-3Kd.y = (k.y + int(((k.height - this._-3Kd.height) / 2)));
            this._-3Kd.width = (k.width - 30);
            this._-3Kd.addEventListener(MouseEvent.CLICK, this._-1z7);
            this._-3Kd.addEventListener(Event.CHANGE, this._-17Y);
            this._-2d9 = new this._-3O8();
            this._-2i-.addChild(this._-2d9);
            this._-2d9.y = (k.y + int(((k.height - this._-2d9.height) / 2)));
            this._-2d9.x = (((k.x + k.width) - this._-2d9.width) - 15);
            this._-0tU = false;
            this._-03L = new WaitIndicator();
            this._-2i-.addChild(this._-03L);
            this._-03L.y = (k.y + int((k.height / 2)));
            this._-03L.x = (((k.x + k.width) - int((this._-2d9.width / 2))) - 15);
            this._-03L.visible = false;
            k.addEventListener(MouseEvent.CLICK, this._-13E);
            var k:int = (this._-1bT.y + 52);
            LoaderUI._-YR(this._-2i-, k, k);
            this._-2i-.y = -(int((k / 2)));
            this._-5-M = new _-35Z();
            this._-1T0._-0X4.addChild(this._-5-M);
            this._-1T0._-0X4.addChild(this._-2i-);
            if (ExternalInterface.available)
            {
                ExternalInterface.addCallback(_-Sg, this._-34U);
                ExternalInterface.addCallback(_-2wj, this._-4c3);
                ExternalInterface.addCallback(_-43g, this._-V);
                ExternalInterface.addCallback(_-420, this._-1ms);
                this._-0JD = new Timer(_-3AT, 1);
                this._-0JD.addEventListener(TimerEvent.TIMER, this._-0HR);
            };
            this._-17Y(null);
        }
        private function _-0HR(_arg1:TimerEvent):void
        {
            this.checkName(this._-3Kd.text);
        }
        private function _-17Y(_arg1:Event):void
        {
            if (this._-0JD != null)
            {
                this._-0JD.reset();
                this._-0JD.start();
            };
            this._-32s();
        }
        private function _-13E(_arg1:MouseEvent):void
        {
            this._-1T0.stage.focus = this._-3Kd;
            this._-1z7(null);
        }
        private function _-1z7(_arg1:Event):void
        {
            if (this._-063)
            {
                return;
            };
            this._-063 = true;
            this._-3Kd.text = "";
            this._-3Kd.textColor = 0;
            this._-3Kd.removeEventListener(MouseEvent.CLICK, this._-1z7);
            this._-17Y(null);
        }
        private function _-4Bm():void
        {
            if (this._-3Kd.text == this._-1T0.getString("name", ""))
            {
                this._-1T0._-1gD();
            }
            else
            {
                this.claimName(this._-3Kd.text);
            };
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (ExternalInterface.available)
            {
                ExternalInterface.addCallback(_-Sg, null);
                ExternalInterface.addCallback(_-2wj, null);
            };
            this._-1T0._-0X4.removeChild(this._-5-M);
            this._-1T0._-0X4.removeChild(this._-2i-);
            if (this._-03L != null)
            {
                this._-03L.dispose();
                this._-03L = null;
            };
            this._-5-M = null;
            this._-3Kd = null;
            this._-1bT = null;
            this._-3hV = null;
            this._-2d9 = null;
            this._-4FS = null;
            this._-2i- = null;
            this._-1T0 = null;
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-34U(_arg1:String, _arg2:String, _arg3:Array):void
        {
            this._-0tU = false;
            switch (_arg1)
            {
                case "OK":
                    this._-0tU = true;
                    this._-1T0._-1gD();
                    return;
                case "INVALID_NAME":
                    switch (_arg2)
                    {
                        case "VALIDATION_NAME_OK":
                            this._-0tU = true;
                            this._-1T0._-1gD();
                            break;
                        case "VALIDATION_ERROR_NAME_TOO_LONG":
                            this._-0qN(this._-1T0.getString("rename.error.too_long", "OOPS! YOUR NAME'S TOO LONG TO REMEMBER"));
                            break;
                        case "VALIDATION_ERROR_NAME_TOO_SHORT":
                            this._-0qN(this._-1T0.getString("rename.error.too_short", "OOPS! YOUR NAME'S TOO SHORT TO PRONOUNCE."));
                            break;
                        case "VALIDATION_ERROR_ILLEGAL_CHARS":
                            this._-0qN(this._-1T0.getString("rename.error.chars", "OOPS! JUST LETTERS AND NUMBERS, PLS."));
                            break;
                        case "VALIDATION_ERROR_ILLEGAL_WORDS":
                            this._-0qN(this._-1T0.getString("rename.error.words", "OOPS! THINK HARDER - THAT'S NOT A VERY NICE NAME."));
                            break;
                    };
                    return;
                case "NAME_IN_USE":
                    this._-0qN(this._-1T0.getString("rename.error.taken", "OOPS! SOMEONE'S ALREADY USING THAT NAME."));
                    return;
                case "NAME_CHANGE_NOT_ALLOWED":
                    return;
            };
        }
        private function _-4c3(_arg1:String):void
        {
        }
        private function claimName(_arg1:String):void
        {
            if (ExternalInterface.available)
            {
                ExternalInterface.call(_-01R, _arg1);
            };
        }
        private function _-V(_arg1:String, _arg2:String, _arg3:String, _arg4:Array):void
        {
            if ((((this._-3Kd == null)) || (!((this._-3Kd.text == _arg1)))))
            {
                return;
            };
            if (this._-03L != null)
            {
                this._-03L.visible = false;
            };
            this._-0tU = false;
            switch (_arg2)
            {
                case "OK":
                    this._-0tU = true;
                    return;
                case "INVALID_NAME":
                    switch (_arg3)
                    {
                        case "VALIDATION_NAME_OK":
                            this._-0tU = true;
                            break;
                        case "VALIDATION_ERROR_NAME_TOO_LONG":
                            this._-0qN(this._-1T0.getString("rename.error.too_long", "OOPS! YOUR NAME'S TOO LONG TO REMEMBER"));
                            break;
                        case "VALIDATION_ERROR_NAME_TOO_SHORT":
                            this._-0qN(this._-1T0.getString("rename.error.too_short", "OOPS! YOUR NAME'S TOO SHORT TO PRONOUNCE."));
                            break;
                        case "VALIDATION_ERROR_ILLEGAL_CHARS":
                            this._-0qN(this._-1T0.getString("rename.error.chars", "OOPS! JUST LETTERS AND NUMBERS, PLS."));
                            break;
                        case "VALIDATION_ERROR_ILLEGAL_WORDS":
                            this._-0qN(this._-1T0.getString("rename.error.words", "OOPS! THINK HARDER - THAT'S NOT A VERY NICE NAME."));
                            break;
                    };
                    return;
                case "NAME_IN_USE":
                    this._-0qN(this._-1T0.getString("rename.error.taken", "OOPS! SOMEONE'S ALREADY USING THAT NAME."));
                    return;
                case "NAME_CHANGE_NOT_ALLOWED":
                    return;
            };
        }
        private function _-1ms(_arg1:String):void
        {
        }
        private function checkName(_arg1:String):void
        {
            if (ExternalInterface.available)
            {
                ExternalInterface.call(_-0j, _arg1);
                if (this._-03L != null)
                {
                    this._-03L.visible = true;
                };
            };
        }
        private function set _-0tU(_arg1:Boolean):void
        {
            if (this._-2d9 != null)
            {
                this._-2d9.visible = _arg1;
            };
            if (this._-1bT != null)
            {
                this._-1bT.active = _arg1;
            };
        }
        private function _-0qN(_arg1:String):void
        {
            this._-4FS.bitmapData = NineSplitSprite._-1dM.render(this._-4FS.width, this._-4FS.height).bitmapData;
            var k:TextField = LoaderUI._-R5(_arg1, 9, 0xFFFFFF, true);
            LoaderUI._-2pS(k, true);
            var k:Bitmap = LoaderUI._-4o1((k.width + 30), (k.height + 17), -1, true, 11411485, true);
            this._-32s();
            this._-3hV = new Sprite();
            this._-3hV.addChild(k);
            this._-3hV.addChild(k);
            k.x = 15;
            k.y = 14;
            this._-2i-.addChild(this._-3hV);
            this._-3hV.x = int(((this._-2i-.width - this._-3hV.width) / 2));
            this._-3hV.y = (this._-4FS.parent.y + this._-4FS.height);
            this._-3hV.filters = [new GlowFilter(0, 0.24, 6, 6)];
        }
        private function _-32s():void
        {
            if (((!((this._-3hV == null))) && (this._-2i-.contains(this._-3hV))))
            {
                this._-4FS.bitmapData = NineSplitSprite._-0ma.render(this._-4FS.width, this._-4FS.height).bitmapData;
                this._-2i-.removeChild(this._-3hV);
            };
            this._-0tU = false;
        }

    }
}//package _-4H5

//------------------------------------------------------------
//_-4H5._-3SP

package _-4H5
{
    import mx.core.BitmapAsset;

    public class _-3SP extends BitmapAsset 
    {

    }
}//package _-4H5

//------------------------------------------------------------
//_-4hI._-2f-

package _-4hI
{
    import flash.events.IEventDispatcher;
    import _-295._-39L;
    import _-022._-2KD;
    import _-3V-._-3SU;

    public interface _-2f- 
    {

        function dispose():void;
        function _-So(_arg1:String):String;
        function _-4be():Array;
        function _-93(_arg1:String):String;
        function _-0O8(_arg1:String):Boolean;
        function _-2eD(_arg1:String, _arg2:IEventDispatcher):Boolean;
        function _-1aT(_arg1:int, _arg2:int, _arg3:_-39L):Boolean;
        function _-0Uh(_arg1:String):String;
        function _-1-K(_arg1:String):String;
        function _-20V(_arg1:String):Boolean;
        function _-Lz(_arg1:String):XML;
        function _-4R6(_arg1:String):Boolean;
        function _-2LJ(_arg1:String):XML;
        function _-0w5(_arg1:String):Boolean;
        function _-3ZU(_arg1:String):XML;
        function _-zN(_arg1:String):_-2KD;
        function _-4k8(_arg1:_-3SU, _arg2:String):void;

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI._-2pa

package _-4hI
{
    import _-18r.Map;
    import _-3V-.RoomObject;
    import _-3V-._-lb;

    public class _-2pa implements _-3kx 
    {

        private var _-2UP:Map;
        private var _-1Zo:Map;

        public function _-2pa()
        {
            this._-2UP = new Map();
            this._-1Zo = new Map();
        }
        public function dispose():void
        {
            this.reset();
            if (this._-2UP != null)
            {
                this._-2UP.dispose();
                this._-2UP = null;
            };
            if (this._-1Zo != null)
            {
                this._-1Zo.dispose();
                this._-1Zo = null;
            };
        }
        public function _-1Qf(_arg1:int, _arg2:uint, _arg3:String):_-lb
        {
            var k:RoomObject = new RoomObject(_arg1, _arg2, _arg3);
            return (this._-1KP(String(_arg1), _arg3, k));
        }
        private function _-1KP(_arg1:String, _arg2:String, _arg3:_-lb):_-lb
        {
            if (this._-2UP.getValue(_arg1) != null)
            {
                _arg3.dispose();
                return (null);
            };
            this._-2UP.add(_arg1, _arg3);
            var k:Map = this._-289(_arg2);
            k.add(_arg1, _arg3);
            return (_arg3);
        }
        private function _-289(_arg1:String, _arg2:Boolean=true):Map
        {
            var k:Map = this._-1Zo.getValue(_arg1);
            if ((((k == null)) && (_arg2)))
            {
                k = new Map();
                this._-1Zo.add(_arg1, k);
            };
            return (k);
        }
        public function _-4UQ(_arg1:int):_-lb
        {
            var k:_-lb = (this._-2UP.getValue(String(_arg1)) as _-lb);
            return (k);
        }
        public function _-1L5():Array
        {
            return (this._-2UP._-0hn());
        }
        public function _-1oo(_arg1:int):_-lb
        {
            var k:_-lb = (this._-2UP.getWithIndex(_arg1) as _-lb);
            return (k);
        }
        public function _-0h9():int
        {
            return (this._-2UP.length);
        }
        public function _-4xO(_arg1:String):int
        {
            var k:Map = this._-289(_arg1, false);
            if (k != null)
            {
                return (k.length);
            };
            return (0);
        }
        public function _-1nP(_arg1:int, _arg2:String):_-lb
        {
            var k:_-lb;
            var k:Map = this._-289(_arg2, false);
            if (k != null)
            {
                k = (k.getWithIndex(_arg1) as _-lb);
                return (k);
            };
            return (null);
        }
        public function _-58R(_arg1:int):Boolean
        {
            var k:String;
            var k:Map;
            var k:String = String(_arg1);
            var k:RoomObject = (this._-2UP.remove(k) as RoomObject);
            if (k != null)
            {
                k = k.getType();
                k = this._-289(k, false);
                if (k != null)
                {
                    k.remove(k);
                };
                k.dispose();
                return (true);
            };
            return (false);
        }
        public function reset():void
        {
            var k:int;
            var k:_-lb;
            var k:int;
            var k:Map;
            if (this._-2UP != null)
            {
                k = 0;
                while (k < this._-2UP.length)
                {
                    k = (this._-2UP.getWithIndex(k) as _-lb);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-2UP.reset();
            };
            if (this._-1Zo != null)
            {
                k = 0;
                while (k < this._-1Zo.length)
                {
                    k = (this._-1Zo.getWithIndex(k) as Map);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-1Zo.reset();
            };
        }

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI._-2zN

package _-4hI
{
    public interface _-2zN 
    {

        function _-1sG(_arg1:Boolean):void;
        function _-1VP(_arg1:String, _arg2:Boolean):void;
        function _-3QJ(_arg1:String, _arg2:int, _arg3:int):void;
        function _-0cQ(_arg1:String):void;

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI._-3c8

package _-4hI
{
    import _-3V-._-3SU;

    public interface _-3c8 
    {

        function _-25c(_arg1:String, _arg2:int, _arg3:String, _arg4:int):_-3SU;
        function _-q8():_-3kx;

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI._-3dJ

package _-4hI
{
    import _-0sD._-31x;
    import _-1B-.*;

    public interface _-3dJ extends _-4yI 
    {

        function _-1XO(_arg1:Function):void;
        function _-0gy(_arg1:Function):void;
        function _-5BY(_arg1:String):_-31x;
        function _-q8():_-3kx;

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI._-3kx

package _-4hI
{
    import _-3V-._-lb;

    public interface _-3kx 
    {

        function dispose():void;
        function _-1Qf(_arg1:int, _arg2:uint, _arg3:String):_-lb;
        function _-4UQ(_arg1:int):_-lb;
        function _-1L5():Array;
        function _-58R(_arg1:int):Boolean;
        function _-0h9():int;
        function _-1oo(_arg1:int):_-lb;
        function _-4xO(_arg1:String):int;
        function _-1nP(_arg1:int, _arg2:String):_-lb;
        function reset():void;

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI._-4Vd

package _-4hI
{
    import _-1B-.*;

    public interface _-4Vd extends _-4yI 
    {

        function initialize(_arg1:XML, _arg2:_-2zN):Boolean;
        function update(_arg1:uint):void;
        function _-2OT(_arg1:_-2f-):void;
        function _-To(_arg1:int):void;
        function _-53K(_arg1:int):void;
        function _-23R(_arg1:String, _arg2:XML):_-zU;
        function _-1YJ(_arg1:String):Boolean;
        function _-13y(_arg1:String):_-zU;
        function _-3jr(_arg1:int):_-zU;
        function _-3a8():int;
        function _-4ul(_arg1:String):Boolean;

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI._-zU

package _-4hI
{
    import _-3V-._-3SU;
    import _-4Fh._-2eT;

    public interface _-zU 
    {

        function getNumber(_arg1:String):Number;
        function setNumber(_arg1:String, _arg2:Number, _arg3:Boolean=false):void;
        function getString(_arg1:String):String;
        function setString(_arg1:String, _arg2:String, _arg3:Boolean=false):void;
        function dispose():void;
        function update():void;
        function _-25c(_arg1:int, _arg2:String, _arg3:int):_-3SU;
        function _-4UQ(_arg1:int, _arg2:int):_-3SU;
        function _-1L5(_arg1:int):Array;
        function _-58R(_arg1:int, _arg2:int):Boolean;
        function _-0h9(_arg1:int):int;
        function _-1nP(_arg1:int, _arg2:String, _arg3:int):_-3SU;
        function _-4xO(_arg1:String, _arg2:int):int;
        function _-1oo(_arg1:int, _arg2:int):_-3SU;
        function _-0mr(_arg1:int):int;
        function _-pJ(_arg1:_-2eT):void;
        function _-4iw():_-2eT;

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI.RoomInstance

package _-4hI
{
    import flash.utils.Dictionary;
    import _-18r.Map;
    import _-4Fh._-2eT;
    import _-3V-._-lb;
    import _-0sD._-31x;
    import flash.utils.getTimer;
    import _-3V-._-3SU;

    public class RoomInstance implements _-zU 
    {

        private var _-4RN:Dictionary;
        private var _-4lj:Dictionary;
        private var _-1gZ:Array;
        private var _-4no:Array;
        private var _-2Gy:Map;
        private var _-0DL:Array;
        private var _-3nN:_-2eT;
        private var _container:_-3c8;
        private var _-0Kq:String;

        public function RoomInstance(_arg1:String, _arg2:_-3c8)
        {
            this._-2Gy = new Map();
            this._-0DL = [];
            this._container = _arg2;
            this._-0Kq = _arg1;
            this._-4RN = new Dictionary();
            this._-4lj = new Dictionary();
            this._-1gZ = [];
            this._-4no = [];
        }
        public function get id():String
        {
            return (this._-0Kq);
        }
        public function dispose():void
        {
            var k:String;
            var k:int;
            var k:_-3kx;
            if (this._-2Gy != null)
            {
                k = 0;
                while (k < this._-2Gy.length)
                {
                    k = (this._-2Gy.getWithIndex(k) as _-3kx);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-2Gy.dispose();
                this._-2Gy = null;
            };
            if (this._-3nN != null)
            {
                this._-3nN.dispose();
                this._-3nN = null;
            };
            this._container = null;
            this._-0DL = null;
            if (this._-4RN != null)
            {
                for (k in this._-4RN)
                {
                    delete this._-4RN[k];
                };
                this._-4RN = null;
            };
            if (this._-4lj != null)
            {
                for (k in this._-4lj)
                {
                    delete this._-4lj[k];
                };
                this._-4lj = null;
            };
            this._-4no = [];
            this._-1gZ = [];
        }
        public function getNumber(_arg1:String):Number
        {
            return (this._-4RN[_arg1]);
        }
        public function setNumber(_arg1:String, _arg2:Number, _arg3:Boolean=false):void
        {
            if (this._-1gZ.indexOf(_arg1) >= 0)
            {
                return;
            };
            if (_arg3)
            {
                this._-1gZ.push(_arg1);
            };
            if (this._-4RN[_arg1] != _arg2)
            {
                this._-4RN[_arg1] = _arg2;
            };
        }
        public function getString(_arg1:String):String
        {
            return (this._-4lj[_arg1]);
        }
        public function setString(_arg1:String, _arg2:String, _arg3:Boolean=false):void
        {
            if (this._-4no.indexOf(_arg1) >= 0)
            {
                return;
            };
            if (_arg3)
            {
                this._-4no.push(_arg1);
            };
            if (this._-4lj[_arg1] != _arg2)
            {
                this._-4lj[_arg1] = _arg2;
            };
        }
        public function _-To(_arg1:int):void
        {
            var k:int = this._-0DL.indexOf(_arg1);
            if (k >= 0)
            {
                return;
            };
            this._-0DL.push(_arg1);
        }
        public function _-53K(_arg1:int):void
        {
            var k:int = this._-0DL.indexOf(_arg1);
            if (k >= 0)
            {
                this._-0DL.splice(k, 1);
            };
        }
        public function update():void
        {
            var k:int;
            var k:_-3kx;
            var k:int;
            var k:_-lb;
            var k:_-31x;
            var k:int = getTimer();
            var k:int = (this._-0DL.length - 1);
            while (k >= 0)
            {
                k = int(this._-0DL[k]);
                k = this._-3L(k);
                if (k != null)
                {
                    k = (k._-0h9() - 1);
                    while (k >= 0)
                    {
                        k = k._-1oo(k);
                        if (k != null)
                        {
                            k = k._-40i();
                            if (k != null)
                            {
                                k.update(k);
                            };
                        };
                        k--;
                    };
                };
                k--;
            };
        }
        public function _-25c(_arg1:int, _arg2:String, _arg3:int):_-3SU
        {
            if (this._container != null)
            {
                return (this._container._-25c(this._-0Kq, _arg1, _arg2, _arg3));
            };
            return (null);
        }
        public function _-4uo(_arg1:int, _arg2:int, _arg3:String, _arg4:int):_-3SU
        {
            var k:_-lb;
            var k:_-3kx = this._-4QZ(_arg4);
            if (k != null)
            {
                k = k._-1Qf(_arg1, _arg2, _arg3);
                if (this._-3nN != null)
                {
                    this._-3nN._-3NJ(k);
                };
                return (k);
            };
            return (null);
        }
        public function _-4UQ(_arg1:int, _arg2:int):_-3SU
        {
            var k:_-3kx = this._-3L(_arg2);
            if (k != null)
            {
                return (k._-4UQ(_arg1));
            };
            return (null);
        }
        public function _-1L5(_arg1:int):Array
        {
            var k:_-3kx = this._-3L(_arg1);
            return (((k) ? k._-1L5() : []));
        }
        public function _-1oo(_arg1:int, _arg2:int):_-3SU
        {
            var k:_-3kx = this._-3L(_arg2);
            if (k != null)
            {
                return (k._-1oo(_arg1));
            };
            return (null);
        }
        public function _-0h9(_arg1:int):int
        {
            var k:_-3kx = this._-3L(_arg1);
            if (k != null)
            {
                return (k._-0h9());
            };
            return (0);
        }
        public function _-1nP(_arg1:int, _arg2:String, _arg3:int):_-3SU
        {
            var k:_-3kx = this._-3L(_arg3);
            if (k != null)
            {
                return (k._-1nP(_arg1, _arg2));
            };
            return (null);
        }
        public function _-4xO(_arg1:String, _arg2:int):int
        {
            var k:_-3kx = this._-3L(_arg2);
            if (k != null)
            {
                return (k._-4xO(_arg1));
            };
            return (0);
        }
        public function _-58R(_arg1:int, _arg2:int):Boolean
        {
            var k:_-3SU;
            var k:_-3kx = this._-3L(_arg2);
            if (k != null)
            {
                k = k._-4UQ(_arg1);
                if (k != null)
                {
                    if (this._-3nN)
                    {
                        this._-3nN._-2tb(k);
                    };
                    return (k._-58R(_arg1));
                };
            };
            return (false);
        }
        public function _-0mr(_arg1:int):int
        {
            var k:int;
            var k:_-lb;
            var k:int;
            var k:_-3kx = this._-3L(_arg1);
            if (k != null)
            {
                k = k._-0h9();
                k = 0;
                while (k < k)
                {
                    k = (k._-1oo(k) as _-lb);
                    if (k != null)
                    {
                        if (this._-3nN)
                        {
                            this._-3nN._-2tb(k);
                        };
                        k.dispose();
                    };
                    k++;
                };
                k.reset();
            };
            return (k);
        }
        public function _-pJ(_arg1:_-2eT):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:_-lb;
            if (_arg1 == this._-3nN)
            {
                return;
            };
            if (this._-3nN != null)
            {
                this._-3nN.dispose();
            };
            this._-3nN = _arg1;
            if (this._-3nN == null)
            {
                return;
            };
            this._-3nN.reset();
            var k:Array = this._-0-p();
            var k:int = (k.length - 1);
            while (k >= 0)
            {
                k = int(k[k]);
                k = this._-0h9(k);
                k = (k - 1);
                while (k >= 0)
                {
                    k = (this._-1oo(k, k) as _-lb);
                    if (k != null)
                    {
                        this._-3nN._-3NJ(k);
                    };
                    k--;
                };
                k--;
            };
        }
        public function _-4iw():_-2eT
        {
            return (this._-3nN);
        }
        public function _-0-p():Array
        {
            return (this._-2Gy._-18C());
        }
        protected function _-4QZ(_arg1:int):_-3kx
        {
            var k:String = String(_arg1);
            if (this._-2Gy.getValue(k) != null)
            {
                return ((this._-2Gy.getValue(k) as _-3kx));
            };
            if (this._container == null)
            {
                return (null);
            };
            var k:_-3kx = this._container._-q8();
            if (k != null)
            {
                this._-2Gy.add(k, k);
            };
            return (k);
        }
        protected function _-3L(_arg1:int):_-3kx
        {
            return ((this._-2Gy.getValue(String(_arg1)) as _-3kx));
        }
        protected function _-Eq(_arg1:int):Boolean
        {
            var k:_-3kx;
            var k:String = String(_arg1);
            this._-0mr(_arg1);
            if (this._-2Gy.getValue(k) != null)
            {
                k = (this._-2Gy.remove(k) as _-3kx);
                if (k != null)
                {
                    k.dispose();
                };
                return (true);
            };
            return (false);
        }
        public function _-kv():Boolean
        {
            var k:_-2pa;
            var k:int;
            var k:int;
            for each (k in this._-2Gy)
            {
                k = k._-0h9();
                k = 0;
                while (k < k)
                {
                    if (!k._-1oo(k)._-25k())
                    {
                        return (true);
                    };
                    k++;
                };
            };
            return (false);
        }

    }
}//package _-4hI

//------------------------------------------------------------
//_-4hI.RoomManager

package _-4hI
{
    import _-1B-._-Px;
    import _-18r.Map;
    import _-3V-._-2CE;
    import com.sulake.iid.IIDRoomObjectFactory;
    import com.sulake.iid.IIDRoomObjectVisualizationFactory;
    import _-071._-1PC;
    import _-1B-._-5CE;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1Xu._-LS;
    import _-022._-2KD;
    import _-3V-._-3SU;
    import _-3V-._-lb;
    import _-4rn._-2Jg;
    import _-4rn._-H0;
    import _-0sD._-31x;
    import flash.utils.getTimer;
    import com.sulake.iid.*;

    public class RoomManager extends _-Px implements _-4Vd, _-3c8 
    {

        public static const _-4l3:int = -1;
        public static const _-3tO:int = 0;
        public static const _-4P7:int = 1;
        public static const _-3eR:int = 2;
        public static const _-39h:int = 3;
        private static const _-1EB:int = 40;

        private var _-sT:Map;
        private var _-2gE:_-2f-;
        private var _-10H:Array;
        private var _-0DL:Array;
        private var _-1yC:int;
        private var _-5Dn:_-2zN;
        private var _-36m:_-3dJ = null;
        private var _-4Aa:_-2CE = null;
        private var _-0Ke:int = 0;
        private var _-0cK:XML = null;
        private var _-3b0:Array;
        private var _-1jB:Boolean = false;
        private var _-0LD:Boolean = true;
        private var _disposed:Boolean = false;

        public function RoomManager(_arg1:_-5CE, _arg2:uint=0)
        {
            this._-3b0 = [];
            super(_arg1, _arg2);
            this._-sT = new Map();
            queueInterface(new IIDRoomObjectFactory(), this._-0G2);
            queueInterface(new IIDRoomObjectVisualizationFactory(), this._-2wA);
            this._-10H = [];
            this._-0DL = [];
            events.addEventListener(_-1PC._-2jd, this._-1wk);
            events.addEventListener(_-1PC._-3U3, this._-1wk);
            events.addEventListener(_-1PC._-0Q9, this._-1wk);
        }
        override public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set _-3pR(_arg1:Boolean):void
        {
            this._-0LD = _arg1;
        }
        override public function dispose():void
        {
            var k:_-zU;
            if (this.disposed)
            {
                return;
            };
            super.dispose();
            var k:int;
            var k:int;
            if (this._-sT != null)
            {
                k = this._-sT.length;
                k = 0;
                while (k < k)
                {
                    k = (this._-sT.getWithIndex(k) as _-zU);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-sT.dispose();
                this._-sT = null;
            };
            this._-5Dn = null;
            if (this._-36m != null)
            {
                release(new IIDRoomObjectFactory());
                this._-36m = null;
            };
            if (this._-4Aa != null)
            {
                release(new IIDRoomObjectVisualizationFactory());
                this._-4Aa = null;
            };
            this._-10H = null;
            this._-0DL = null;
            this._-2gE = null;
            this._disposed = true;
        }
        private function _-0G2(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (this.disposed)
            {
                return;
            };
            this._-36m = (_arg2 as _-3dJ);
            this._-1LT();
        }
        private function _-2wA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (this.disposed)
            {
                return;
            };
            this._-4Aa = (_arg2 as _-2CE);
            this._-1LT();
        }
        private function _-1LT():void
        {
            var k:XML;
            if ((((this._-36m == null)) || ((this._-4Aa == null))))
            {
                return;
            };
            this._-0Ke = _-4P7;
            if (this._-0cK != null)
            {
                k = this._-0cK;
                this._-0cK = null;
                this.initialize(k, this._-5Dn);
            };
        }
        public function initialize(_arg1:XML, _arg2:_-2zN):Boolean
        {
            var k:String;
            if (this._-0Ke == _-3tO)
            {
                if (this._-0cK != null)
                {
                    return (false);
                };
                this._-0cK = _arg1;
                this._-5Dn = _arg2;
                return (true);
            };
            if (this._-0Ke >= _-3eR)
            {
                return (false);
            };
            if (_arg1 == null)
            {
                return (false);
            };
            if (this._-2gE == null)
            {
                return (false);
            };
            this._-1yC = 50;
            this._-5Dn = _arg2;
            var k:Array = this._-2gE._-4be();
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                if (this._-10H.indexOf(k) < 0)
                {
                    this._-2gE._-2eD(k, events);
                    this._-10H.push(k);
                };
                k++;
            };
            this._-0Ke = _-3eR;
            return (true);
        }
        public function _-2OT(_arg1:_-2f-):void
        {
            if (this._-2gE != null)
            {
                this._-2gE.dispose();
            };
            this._-2gE = _arg1;
        }
        public function _-To(_arg1:int):void
        {
            var k:RoomInstance;
            var k:int = this._-0DL.indexOf(_arg1);
            if (k >= 0)
            {
                return;
            };
            this._-0DL.push(_arg1);
            var k:int = (this._-sT.length - 1);
            while (k >= 0)
            {
                k = (this._-sT.getWithIndex(k) as RoomInstance);
                if (k != null)
                {
                    k._-To(_arg1);
                };
                k--;
            };
        }
        public function _-53K(_arg1:int):void
        {
            var k:RoomInstance;
            var k:int = this._-0DL.indexOf(_arg1);
            if (k < 0)
            {
                return;
            };
            this._-0DL.splice(k, 1);
            var k:int = (this._-sT.length - 1);
            while (k >= 0)
            {
                k = (this._-sT.getWithIndex(k) as RoomInstance);
                if (k != null)
                {
                    k._-53K(_arg1);
                };
                k--;
            };
        }
        public function _-23R(_arg1:String, _arg2:XML):_-zU
        {
            var k:int;
            if (this._-0Ke < _-39h)
            {
                throw (new _-LS());
            };
            if (this._-sT.getValue(_arg1) != null)
            {
                return (null);
            };
            var k:RoomInstance = new RoomInstance(_arg1, this);
            this._-sT.add(String(_arg1), k);
            var k:int = (this._-0DL.length - 1);
            while (k >= 0)
            {
                k = this._-0DL[k];
                k._-To(k);
                k--;
            };
            return (k);
        }
        public function _-13y(_arg1:String):_-zU
        {
            return ((this._-sT.getValue(_arg1) as _-zU));
        }
        public function _-3jr(_arg1:int):_-zU
        {
            return (this._-sT.getWithIndex(_arg1));
        }
        public function _-3a8():int
        {
            return (this._-sT.length);
        }
        public function _-1YJ(_arg1:String):Boolean
        {
            var k:_-zU = (this._-sT.remove(_arg1) as _-zU);
            if (k != null)
            {
                k.dispose();
                return (true);
            };
            return (false);
        }
        public function _-25c(_arg1:String, _arg2:int, _arg3:String, _arg4:int):_-3SU
        {
            if (this._-0Ke < _-39h)
            {
                throw (new _-LS());
            };
            var k:_-zU = this._-13y(_arg1);
            if (k == null)
            {
                return (null);
            };
            if (this._-2gE == null)
            {
                return (null);
            };
            var k:RoomInstance = (k as RoomInstance);
            if (k == null)
            {
                return (null);
            };
            var k:_-2KD;
            var k:XML;
            var k:XML;
            var k:String;
            var k:String;
            var k:String = _arg3;
            var k:Boolean;
            if (!this._-2gE._-0O8(_arg3))
            {
                k = this._-2gE._-zN(_arg3);
                if (k == null)
                {
                    k = true;
                    this._-2gE._-2eD(_arg3, events);
                    k = this._-2gE._-So(_arg3);
                    k = this._-2gE._-zN(k);
                };
                k = this._-2gE._-Lz(k);
                k = this._-2gE._-3ZU(k);
                if ((((k == null)) || ((k == null))))
                {
                    return (null);
                };
                k = this._-2gE._-0Uh(k);
                k = this._-2gE._-1-K(k);
            }
            else
            {
                k = _arg3;
                k = _arg3;
            };
            var k:int = 1;
            var k:_-3SU = k._-4uo(_arg2, k, _arg3, _arg4);
            var k:_-lb = (k as _-lb);
            if (k == null)
            {
                return (null);
            };
            var k:_-2Jg = this._-4Aa._-3ss(k);
            if (k == null)
            {
                k._-58R(_arg2, _arg4);
                return (null);
            };
            k._-0-Z = k;
            var k:_-H0;
            k = this._-4Aa._-1qn(k, k, k);
            if (!k.initialize(k))
            {
                k._-58R(_arg2, _arg4);
                return (null);
            };
            k._-1Ib(k);
            var k:_-31x = this._-36m._-5BY(k);
            k._-3Iq(k);
            if (((!((k == null))) && (!((k == null)))))
            {
                k.initialize(k);
            };
            if (!k)
            {
                k._-0G1(true);
            };
            this._-2gE._-4k8(k, _arg1);
            return (k);
        }
        public function _-q8():_-3kx
        {
            if (this._-36m != null)
            {
                return (this._-36m._-q8());
            };
            return (null);
        }
        public function _-4ul(_arg1:String):Boolean
        {
            if (this._-2gE != null)
            {
                if (this._-2gE._-zN(_arg1) != null)
                {
                    return (true);
                };
            };
            return (false);
        }
        private function _-3Vp(_arg1:String):void
        {
            var k:int;
            if (_arg1 == null)
            {
                return;
            };
            if (this._-0Ke == _-4l3)
            {
                return;
            };
            if (this._-2gE == null)
            {
                this._-0Ke = _-4l3;
                return;
            };
            if (this._-2gE._-zN(_arg1) != null)
            {
                k = this._-10H.indexOf(_arg1);
                if (k >= 0)
                {
                    this._-10H.splice(k, 1);
                };
                if (this._-10H.length == 0)
                {
                    this._-0Ke = _-39h;
                    if (this._-5Dn != null)
                    {
                        this._-5Dn._-1sG(true);
                    };
                };
            }
            else
            {
                this._-0Ke = _-4l3;
                this._-5Dn._-1sG(false);
            };
        }
        private function _-1wk(_arg1:_-1PC):void
        {
            if (this._-2gE == null)
            {
                return;
            };
            var k:String = _arg1.contentType;
            if (k == null)
            {
                if (this._-5Dn != null)
                {
                    this._-5Dn._-1VP(null, false);
                };
                return;
            };
            if (this._-3b0.indexOf(k) < 0)
            {
                this._-3b0.push(k);
            };
        }
        private function _-4a9():void
        {
            var k:String;
            var k:_-2KD;
            var k:int;
            if (this._-1jB)
            {
                this._-1jB = false;
                return;
            };
            var k:int = getTimer();
            while (this._-3b0.length > 0)
            {
                k = this._-3b0[0];
                this._-3b0.splice(0, 1);
                if (!this._-2gE._-20V(k))
                {
                    if (this._-5Dn != null)
                    {
                        this._-5Dn._-1VP(k, false);
                    };
                    return;
                };
                k = this._-2gE._-zN(k);
                if (k == null)
                {
                    if (this._-5Dn != null)
                    {
                        this._-5Dn._-1VP(k, false);
                    };
                    return;
                };
                this._-0Gc(k);
                if (this._-5Dn != null)
                {
                    this._-5Dn._-1VP(k, true);
                };
                if (this._-10H.length > 0)
                {
                    this._-3Vp(k);
                };
                k = getTimer();
                if (((((k - k) >= _-1EB)) && (this._-0LD)))
                {
                    this._-1jB = true;
                    return;
                };
            };
        }
        private function _-0Gc(_arg1:String):void
        {
            var k:XML;
            var k:XML;
            var k:_-2KD;
            var k:_-H0;
            var k:RoomInstance;
            var k:String;
            var k:Array;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:int;
            var k:_-lb;
            var k:_-2Jg;
            var _local18:_-31x;
            if (_arg1 == null)
            {
                return;
            };
            if ((((this._-2gE == null)) || ((this._-4Aa == null))))
            {
                return;
            };
            var k:String = this._-2gE._-0Uh(_arg1);
            var k:String = this._-2gE._-1-K(_arg1);
            var k:int = (this._-sT.length - 1);
            while (k >= 0)
            {
                k = (this._-sT.getWithIndex(k) as RoomInstance);
                k = this._-sT.getKey(k);
                if (k != null)
                {
                    k = k._-0-p();
                    k = false;
                    for each (k in k)
                    {
                        k = k._-4xO(_arg1, k);
                        k = (k - 1);
                        while (k >= 0)
                        {
                            k = (k._-1nP(k, _arg1, k) as _-lb);
                            if (k != null)
                            {
                                if (!k)
                                {
                                    k = this._-2gE._-Lz(_arg1);
                                    if (k == null)
                                    {
                                        return;
                                    };
                                    k = this._-2gE._-3ZU(_arg1);
                                    k = this._-2gE._-zN(_arg1);
                                    if (k == null)
                                    {
                                        return;
                                    };
                                    k = this._-4Aa._-1qn(_arg1, k, k);
                                };
                                k = this._-4Aa._-3ss(k);
                                if (k != null)
                                {
                                    k._-0-Z = k;
                                    if (!k.initialize(k))
                                    {
                                        k._-58R(k.getId(), k);
                                    }
                                    else
                                    {
                                        k._-1Ib(k);
                                        _local18 = this._-36m._-5BY(k);
                                        k._-3Iq(_local18);
                                        if (_local18 != null)
                                        {
                                            _local18.initialize(k);
                                        };
                                        k._-0G1(true);
                                        if (this._-5Dn != null)
                                        {
                                            this._-5Dn._-3QJ(k, k.getId(), k);
                                            k = true;
                                        };
                                    };
                                }
                                else
                                {
                                    k._-58R(k.getId(), k);
                                };
                            };
                            k--;
                        };
                    };
                    if (((!(k._-kv())) && (k)))
                    {
                        this._-5Dn._-0cQ(k);
                    };
                };
                k--;
            };
        }
        public function update(_arg1:uint):void
        {
            var k:RoomInstance;
            this._-4a9();
            var k:int = (this._-sT.length - 1);
            while (k >= 0)
            {
                k = (this._-sT.getWithIndex(k) as RoomInstance);
                if (k != null)
                {
                    k.update();
                };
                k--;
            };
        }

    }
}//package _-4hI

//------------------------------------------------------------
//_-4ik._-10X

package _-4ik
{
    import _-4Aj.*;

    public class _-10X implements _-1oF 
    {

        private var _-2sb:String;

        public function _-10X(_arg1:String)
        {
            this._-2sb = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-2sb]);
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4ik._-2aR

package _-4ik
{
    import _-4Aj.*;

    public class _-2aR implements _-1oF 
    {

        private var _-bl:int;

        public function _-2aR(_arg1:int)
        {
            this._-bl = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-bl]);
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4ik._-2e8

package _-4ik
{
    import _-4Aj.*;

    public class _-2e8 implements _-1oF 
    {

        private var _-4lu:int;

        public function _-2e8(_arg1:int)
        {
            this._-4lu = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4lu]);
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4ik._-2HA

package _-4ik
{
    import _-4Aj.*;

    public class _-2HA implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4ik._-32j

package _-4ik
{
    import _-4Aj.*;

    public class _-32j implements _-1oF 
    {

        private var _-3PP:int;
        private var _-2n0:int;

        public function _-32j(_arg1:int, _arg2:int)
        {
            this._-3PP = _arg1;
            this._-2n0 = _arg2;
        }
        public function _-43Z():Array
        {
            return ([this._-3PP, this._-2n0]);
        }
        public function dispose():void
        {
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4ik._-3lg

package _-4ik
{
    import _-4Aj.*;

    public class _-3lg implements _-1oF 
    {

        private var _-2dH:int;

        public function _-3lg(_arg1:int)
        {
            this._-2dH = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-2dH]);
        }
        public function dispose():void
        {
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4ik._-4CD

package _-4ik
{
    import _-4Aj.*;

    public class _-4CD implements _-1oF 
    {

        private var _-4zu:int = 0;

        public function _-4CD(_arg1:int)
        {
            this._-4zu = _arg1;
        }
        public function dispose():void
        {
            this._-4zu = 0;
        }
        public function _-43Z():Array
        {
            return ([this._-4zu]);
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4ik._-4NG

package _-4ik
{
    import _-4Aj.*;

    public class _-4NG implements _-1oF 
    {

        private var _-b:int;

        public function _-4NG(_arg1:int)
        {
            this._-b = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-b]);
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4ik._-Jb

package _-4ik
{
    import _-4Aj.*;

    public class _-Jb implements _-1oF 
    {

        private var _-53c:int;

        public function _-Jb(_arg1:int)
        {
            this._-53c = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-53c]);
        }
        public function dispose():void
        {
        }

    }
}//package _-4ik

//------------------------------------------------------------
//_-4iW._-02W

package _-4iW
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-02W implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-4iW

//------------------------------------------------------------
//_-4iW._-08k

package _-4iW
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-08k implements _-58N 
    {

        private var _-2Ge:int = 0;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-2Ge = _arg1._-2BW();
            return (true);
        }
        public function get _-125():int
        {
            return (this._-2Ge);
        }

    }
}//package _-4iW

//------------------------------------------------------------
//_-4iW._-1Dk

package _-4iW
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Dk implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-4iW

//------------------------------------------------------------
//_-4Kb._-037

package _-4Kb
{
    import flash.display.BitmapData;
    import flash.geom.Point;

    public class _-037 
    {

        private var _-4Gj:BitmapData;
        private var _-4TB:Point;
        private var _-1fe:Point;
        private var _-0t1:Boolean;

        public function _-037(_arg1:BitmapData, _arg2:Point, _arg3:Boolean)
        {
            this._-1fe = new Point(0, 0);
            super();
            this._-4Gj = _arg1;
            this._-4TB = _arg2;
            this._-0t1 = _arg3;
            this._-4M2();
        }
        public function get _-1kK():Boolean
        {
            return (this._-0t1);
        }
        public function dispose():void
        {
            if (this._-4Gj)
            {
                this._-4Gj.dispose();
            };
            this._-4Gj = null;
            this._-4TB = null;
            this._-1fe = null;
        }
        public function set image(_arg1:BitmapData):void
        {
            if (((this._-4Gj) && (!((this._-4Gj == _arg1)))))
            {
                this._-4Gj.dispose();
            };
            this._-4Gj = _arg1;
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function _-1ya(_arg1:Point):void
        {
            this._-4TB = _arg1;
            this._-4M2();
        }
        public function get _-29t():Point
        {
            return (this._-4TB.add(this._-1fe));
        }
        public function set offset(_arg1:Point):void
        {
            this._-1fe = _arg1;
            this._-4M2();
        }
        private function _-4M2():void
        {
            this._-4TB.x = int(this._-4TB.x);
            this._-4TB.y = int(this._-4TB.y);
            this._-1fe.x = int(this._-1fe.x);
            this._-1fe.y = int(this._-1fe.y);
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-1mx

package _-4Kb
{
    import _-3gx._-4BJ;
    import _-1rc._-2fY;
    import _-1HK._-2Xf;
    import _-0ZI._-07M;
    import _-0ZI._-3tK;
    import _-0ZI._-0sC;
    import _-0ZI._-3jv;
    import _-2ch._-Ft;
    import _-2u6._-3oS;
    import _-2u6._-4rI;
    import _-0se._-06U;
    import _-4Aj._-0tL;

    public class _-1mx 
    {

        private var _-0ud:_-4BJ;
        private var _-513:_-4b4;

        public function _-1mx(_arg1:_-4b4, _arg2:_-4BJ)
        {
            this._-513 = _arg1;
            this._-0ud = _arg2;
            this._-0ud.addHabboConnectionMessageEvent(new _-2fY(this._-oa));
            this._-0ud.addHabboConnectionMessageEvent(new _-2Xf(this._-4tb));
            this._-0ud.addHabboConnectionMessageEvent(new _-07M(this._-1hB));
            this._-0ud.addHabboConnectionMessageEvent(new _-3tK(this._-3SI));
            this._-0ud.addHabboConnectionMessageEvent(new _-0sC(this._-47E));
            this._-0ud.addHabboConnectionMessageEvent(new _-3jv(this._-wI));
            this._-0ud.addHabboConnectionMessageEvent(new _-Ft(this._-4In));
        }
        public function dispose():void
        {
            this._-0ud = null;
            this._-513 = null;
        }
        public function _-290(_arg1:int, _arg2:_-cD):void
        {
            if (this._-0ud == null)
            {
                return;
            };
            var k:_-3oS = new _-3oS(_arg1, _arg2.figure, _arg2.gender);
            this._-0ud._-4gR(null).send(k);
            k.dispose();
            k = null;
        }
        public function _-2ZJ():void
        {
            if (this._-0ud == null)
            {
                return;
            };
            var k:_-4rI = new _-4rI();
            this._-0ud._-4gR(null).send(k);
            k.dispose();
            k = null;
        }
        private function _-oa(_arg1:_-2fY):void
        {
            if ((((_arg1 == null)) || (!(this._-513))))
            {
                return;
            };
            var k:HabboAvatarEditor = this._-513._-1S0(_-06U._-0g7);
            if (k)
            {
                k.wardrobe._-1dc(_arg1.state, _arg1._-0Ca);
            };
        }
        private function _-4tb(_arg1:_-0tL):void
        {
            if ((((_arg1 == null)) || (!(this._-513))))
            {
                return;
            };
            var k:HabboAvatarEditor = this._-513._-1S0(_-06U._-0g7);
            if (k)
            {
                k.clubMemberLevel = this._-513._-cT.clubLevel;
                k.update();
            };
        }
        private function _-1hB(_arg1:_-0tL):void
        {
            if ((((_arg1 == null)) || (!(this._-513))))
            {
                return;
            };
            var k:HabboAvatarEditor = this._-513._-1S0(_-06U._-0g7);
            if (k)
            {
                k.effects.reset();
            };
        }
        private function _-47E(_arg1:_-0sC):void
        {
            if ((((_arg1 == null)) || (!(this._-513))))
            {
                return;
            };
            var k:HabboAvatarEditor = this._-513._-1S0(_-06U._-0g7);
            if (k)
            {
                k.effects.reset();
                k.figureData._-574 = _arg1._-3-5().type;
                k.figureData._-2D2();
            };
        }
        private function _-3SI(_arg1:_-3tK):void
        {
            var k:int;
            if ((((_arg1 == null)) || (!(this._-513))))
            {
                return;
            };
            var k:HabboAvatarEditor = this._-513._-1S0(_-06U._-0g7);
            if (k)
            {
                k.effects.reset();
                k = _arg1._-3-5().type;
                if (k.figureData._-574 == k)
                {
                    k.figureData._-574 = -1;
                    k.figureData._-2D2();
                };
            };
        }
        private function _-4In(_arg1:_-Ft):void
        {
            if ((((_arg1 == null)) || (!(this._-513))))
            {
                return;
            };
            var k:HabboAvatarEditor = this._-513._-1S0(_-06U._-0g7);
            if (((((k) && (!((this._-513._-2tG == null))))) && ((_arg1._-3-5().userId == this._-513._-2tG.roomSession._-1NZ))))
            {
                k.figureData._-574 = _arg1._-3-5()._-33s;
                k.figureData._-2D2();
            };
        }
        private function _-wI(_arg1:_-3tK):void
        {
            if ((((_arg1 == null)) || (!(this._-513))))
            {
                return;
            };
            var k:HabboAvatarEditor = this._-513._-1S0(_-06U._-0g7);
            if (k)
            {
                k.figureData._-574 = _arg1._-3-5().type;
                k.figureData._-2D2();
            };
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-1V5

package _-4Kb
{
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-1V5 extends _-4yI 
    {

        function openEditor(_arg1:uint, _arg2:_-PB, _arg3:Array=null, _arg4:Boolean=false, _arg5:String=null, _arg6:String="generic"):IFrameWindow;
        function _-4Rc(_arg1:uint, _arg2:IWindowContainer, _arg3:_-PB=null, _arg4:Array=null, _arg5:Boolean=false):Boolean;
        function loadAvatarInEditor(_arg1:uint, _arg2:String, _arg3:String, _arg4:int=0):void;
        function loadOwnAvatarInEditor(_arg1:uint):void;
        function get events():IEventDispatcher;
        function close(_arg1:uint):void;

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-3FK

package _-4Kb
{
    public interface _-3FK 
    {

        function _-oJ():Array;
        function _-42u(_arg1:String):Boolean;
        function getPartSetId(_arg1:String):int;
        function _-1xo(_arg1:String):Array;
        function _-0mL(_arg1:String, _arg2:int, _arg3:Array):void;
        function _-3PM(_arg1:String):void;
        function _-2q0():String;

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-3nt

package _-4Kb
{
    import _-295._-39L;
    import _-1A6._-37G;
    import _-295._-2kE;
    import _-1kb._-4nZ;
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-3nt extends _-4yI 
    {

        function createAvatarImage(_arg1:String, _arg2:String, _arg3:String=null, _arg4:_-3QA=null):_-40f;
        function get assets():_-39L;
        function _-06O():_-37G;
        function _-3EO(_arg1:String, _arg2:int):Array;
        function getAssetByName(_arg1:String):_-2kE;
        function get mode():String;
        function set mode(_arg1:String):void;
        function _-2p0(_arg1:XML):void;
        function _-4oc(_arg1:String):_-3FK;
        function _-3wX(_arg1:_-3FK):Boolean;
        function _-2-S(_arg1:_-3FK, _arg2:_-3QA):void;
        function _-3cf():_-4nZ;
        function get events():IEventDispatcher;
        function _-Wc():void;
        function _-D0(_arg1:_-3FK, _arg2:String, _arg3:Array=null):int;

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-3QA

package _-4Kb
{
    import _-1B-.*;

    public interface _-3QA extends _-1zZ 
    {

        function _-0-V(_arg1:String):void;

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-3TS

package _-4Kb
{
    import flash.display.BitmapData;

    public interface _-3TS 
    {

        function get _-1p6():int;
        function get type():int;
        function get _-4N():int;
        function get _-51V():int;
        function get duration():int;
        function get _-3Cm():Boolean;
        function get _-1V2():Boolean;
        function get icon():BitmapData;
        function set _-3VJ(_arg1:BitmapData):void;
        function get _-3VJ():BitmapData;
        function set _-vX(_arg1:Boolean):void;
        function get _-vX():Boolean;

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-40f

package _-4Kb
{
    import flash.display.BitmapData;
    import _-1kb._-cH;
    import _-1kb._-oL;
    import _-295.BitmapDataAsset;
    import _-4xH._-2OZ;
    import _-1kb._-Gh;
    import _-1B-.*;

    public interface _-40f extends _-1zZ 
    {

        function _-1hx(_arg1:String):BitmapData;
        function _-2Xc(_arg1:String, _arg2:Boolean):BitmapData;
        function setDirection(_arg1:String, _arg2:int):void;
        function _-fE(_arg1:String, _arg2:int):void;
        function _-4CN(_arg1:int=1):void;
        function _-Z8():String;
        function _-3YU():Array;
        function _-0JM(_arg1:_-cH):_-oL;
        function getAsset(_arg1:String):BitmapDataAsset;
        function getDirection():int;
        function _-1mO():_-3FK;
        function _-K6(_arg1:String):_-2OZ;
        function _-0rZ():Boolean;
        function _-4Dp():Array;
        function _-3E7():void;
        function _-1Z0():void;
        function appendAction(_arg1:String, ... _args):Boolean;
        function get _-4iV():_-Gh;
        function isPlaceholder():Boolean;
        function _-0Rv():void;
        function get _-2oN():Boolean;
        function _-4HX():void;

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-4b4

package _-4Kb
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-3Zp._-1bw;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-3gx._-4BJ;
    import _-0mD._-2Jq;
    import _-1Jd._-51K;
    import _-1ye._-3rU;
    import _-18r.Map;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboInventory;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDHabboRoomUI;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-0se._-06U;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-0se._-0OZ;
    import flash.events.Event;
    import _-0se._-0DW;
    import _-1ye._-1Mb;

    public class _-4b4 extends _-Px implements _-1V5 
    {

        private var _-U-:_-3Ts;
        private var _-47n:_-3nt;
        private var _-YX:_-1bw;
        private var _-cU:_-0hg;
        private var _-3fD:_-4uR;
        private var _-0ud:_-4BJ;
        private var _-3oJ:_-2Jq;
        private var _-8M:_-51K;
        private var _-39R:_-3rU;
        private var _-0nf:_-1mx;
        private var _-52l:Map;

        public function _-4b4(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDAvatarRenderManager(), this._-PS);
            queueInterface(new IIDHabboInventory(), this._-3SD);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDHabboRoomUI(), this._-3xK);
            this._-52l = new Map();
        }
        override public function dispose():void
        {
            var k:HabboAvatarEditor;
            if (this._-52l)
            {
                for each (k in this._-52l)
                {
                    k.dispose();
                    k = null;
                };
                this._-52l = null;
            };
            if (this._-3fD != null)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-0ud != null)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-3oJ != null)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-cU != null)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-47n != null)
            {
                this._-47n.release(new IIDAvatarRenderManager());
                this._-47n = null;
            };
            if (this._-U- != null)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-YX != null)
            {
                this._-YX.release(new IIDHabboInventory());
                this._-YX = null;
            };
            if (this._-0nf != null)
            {
                this._-0nf.dispose();
                this._-0nf = null;
            };
            super.dispose();
        }
        public function openEditor(_arg1:uint, _arg2:_-PB, _arg3:Array=null, _arg4:Boolean=false, _arg5:String=null, _arg6:String="generic"):IFrameWindow
        {
            var k:HabboAvatarEditor = this._-52l.getValue(_arg1);
            if (!k)
            {
                k = new HabboAvatarEditor(_arg1, this);
                this._-52l.add(_arg1, k);
            };
            return (k._-2Eq(_arg2, _arg3, _arg4, _arg5, _arg6));
        }
        public function _-4Rc(_arg1:uint, _arg2:IWindowContainer, _arg3:_-PB=null, _arg4:Array=null, _arg5:Boolean=false):Boolean
        {
            var k:HabboAvatarEditor = this._-52l.getValue(_arg1);
            if (k)
            {
                k.dispose();
            };
            k = new HabboAvatarEditor(_arg1, this);
            this._-52l.add(_arg1, k);
            k._-4Ri(_arg2, _arg3, _arg4, _arg5);
            return (true);
        }
        public function loadAvatarInEditor(_arg1:uint, _arg2:String, _arg3:String, _arg4:int=0):void
        {
            var k:HabboAvatarEditor = (this._-52l.getValue(_arg1) as HabboAvatarEditor);
            if (k)
            {
                return (k.loadAvatarInEditor(_arg2, _arg3, _arg4));
            };
        }
        public function loadOwnAvatarInEditor(_arg1:uint):void
        {
            var k:HabboAvatarEditor = (this._-52l.getValue(_arg1) as HabboAvatarEditor);
            if (k)
            {
                return (k.loadAvatarInEditor(this._-cT.figure, this._-cT.gender, this._-cT.clubLevel));
            };
        }
        public function close(_arg1:uint):void
        {
            if (!this._-52l)
            {
                return;
            };
            var k:HabboAvatarEditor = (this._-52l.getValue(_arg1) as HabboAvatarEditor);
            if (!k)
            {
                return;
            };
            k.figureData._-574 = -1;
            switch (_arg1)
            {
                case _-06U._-0g7:
                    k.hide();
                    return;
                case _-06U._-35f:
                    k.hide();
                    k.dispose();
                    this._-52l.remove(_arg1);
                    return;
                case _-06U._-4MI:
                    return;
                default:
                    k.dispose();
                    this._-52l.remove(_arg1);
            };
        }
        public function _-1S0(_arg1:uint):HabboAvatarEditor
        {
            return ((this._-52l.getValue(_arg1) as HabboAvatarEditor));
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get avatarRenderManager():_-3nt
        {
            return (this._-47n);
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-U- = (_arg2 as _-3Ts);
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-3oJ = (_arg2 as _-2Jq);
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-8M = (_arg2 as _-51K);
        }
        private function _-3xK(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-39R = (_arg2 as _-3rU);
        }
        private function _-PS(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-47n = (_arg2 as _-3nt);
            (this._-47n as _-Px).events.addEventListener(_-0OZ.AVATAR_RENDER_READY, this._-2Im);
        }
        private function _-2Im(_arg1:Event=null):void
        {
            this.events.dispatchEvent(new Event(_-0DW.AVATAR_EDITOR_READY));
        }
        private function _-3SD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-YX = (_arg2 as _-1bw);
        }
        private function _-1d3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-3fD = (_arg2 as _-4uR);
        }
        private function _-w(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0ud = (_arg2 as _-4BJ);
            this._-0nf = new _-1mx(this, this._-0ud);
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-cU = (_arg2 as _-0hg);
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        public function get handler():_-1mx
        {
            return (this._-0nf);
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function get _-cT():_-51K
        {
            return (this._-8M);
        }
        public function get inventory():_-1bw
        {
            return (this._-YX);
        }
        public function get _-2tG():_-1Mb
        {
            return (this._-39R.getDesktop("hard_coded_room_id"));
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-5k

package _-4Kb
{
    import _-0yf.EventDispatcherWrapper;
    import _-295._-39L;
    import _-295.AssetLibraryCollection;
    import flash.net.URLRequest;
    import _-18r.LibraryLoader;
    import _-18r._-2K6;
    import _-p-.Core;
    import flash.events.Event;

    public class _-5k extends EventDispatcherWrapper 
    {

        private static var _-3d5:int = 0;
        private static var _-1Tx:int = 1;
        private static var _-0IQ:int = 2;

        private var _-0Ke:int;
        private var _-0L:String;
        private var _-WR:String;
        private var _-0al:String;
        private var _assets:_-39L;

        public function _-5k(_arg1:String, _arg2:String, _arg3:String, _arg4:_-39L, _arg5:String)
        {
            this._-0Ke = _-3d5;
            this._assets = _arg4;
            this._-0L = String(_arg1);
            this._-WR = String(_arg2);
            this._-0al = (_arg3 + _arg5);
            this._-0al = this._-0al.replace("%libname%", this._-0L);
            this._-0al = this._-0al.replace("%revision%", this._-WR);
            var k:AssetLibraryCollection = (this._assets as AssetLibraryCollection);
            var k:_-39L = k._-12W((this._-0L + ".swf"));
            if (k != null)
            {
                _-Nb.log(("[AvatarAssetDownloadLibrary] Already Downloaded by Core: " + this._-0L));
                this._-0Ke = _-0IQ;
            };
        }
        override public function dispose():void
        {
            super.dispose();
        }
        public function _-0C7():void
        {
            _-Nb.log(("[AvatarAssetDownloadLibrary] Start DL: " + this._-0al));
            this._-0Ke = _-1Tx;
            var k:URLRequest = new URLRequest(this._-0al);
            var k:LibraryLoader = new LibraryLoader();
            this._assets.loadFromFile(k, true);
            k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-2lH);
            k.addEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-5Dm);
            k.load(k);
        }
        private function _-5Dm(_arg1:Event):void
        {
            Core.error(((("Could not load avatar asset library " + this._-0L) + " from URL ") + this._-0al), false, Core._-1QF);
        }
        private function _-2lH(_arg1:Event):void
        {
            _-Nb.log(("[AvatarAssetDownloadLibrary] Complete: " + this._-0L));
            var k:LibraryLoader = (_arg1.target as LibraryLoader);
            k.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_COMPLETE, this._-2lH);
            k.removeEventListener(_-2K6.LIBRARY_LOADER_EVENT_ERROR, this._-5Dm);
            this._-0Ke = _-0IQ;
            dispatchEvent(new Event(Event.COMPLETE));
        }
        public function get _-0tI():String
        {
            return (this._-0L);
        }
        public function get _-1DR():Boolean
        {
            return ((this._-0Ke == _-0IQ));
        }
        public function toString():String
        {
            var k:String = this._-0L;
            k = (k + ((this._-1DR) ? "[x]" : "[ ]"));
            return (k);
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-cD

package _-4Kb
{
    public interface _-cD 
    {

        function get figure():String;
        function get gender():String;

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb._-PB

package _-4Kb
{
    public interface _-PB 
    {

        function _-26K(_arg1:String, _arg2:String):void;

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.AvatarAssetDownloadManager

package _-4Kb
{
    import _-0yf.EventDispatcherWrapper;
    import flash.utils.Dictionary;
    import _-295._-39L;
    import _-295._-4Rz;
    import flash.utils.Timer;
    import _-295._-243;
    import flash.net.URLRequest;
    import _-295._-2kE;
    import flash.events.TimerEvent;
    import _-0se._-0OZ;
    import _-1tB.AssetLoaderEvent;
    import _-2ly._-11j;
    import flash.events.Event;
    import _-4xH._-0rk;
    import _-4xH._-08d;
    import _-4xH.FigurePart;
    import _-1A6._-37G;

    public class AvatarAssetDownloadManager extends EventDispatcherWrapper 
    {

        public static const LIBRARY_LOADED:String = "LIBRARY_LOADED";

        private const _-2Ih:int = 100;
        private const _-0Z5:int = 2;

        private var _-aT:Dictionary;
        private var _assets:_-39L;
        private var _-Oj:Dictionary;
        private var _-3tq:Dictionary;
        private var _-4E9:AvatarStructure;
        private var _-1Vs:String;
        private var _-3jG:String;
        private var _-5FD:Boolean;
        private var _-2Yt:int = 3;
        private var _-3e5:_-4Rz;
        private var _-10E:Timer;
        private var _-AZ:Array;
        private var _-4zv:Array;
        private var _-37i:Array;
        private var _-1DN:String;

        public function AvatarAssetDownloadManager(_arg1:_-39L, _arg2:String, _arg3:String, _arg4:AvatarStructure, _arg5:String)
        {
            var _local8:_-243;
            var _local9:XML;
            super();
            this._-aT = new Dictionary();
            this._assets = _arg1;
            this._-4E9 = _arg4;
            this._-Oj = new Dictionary();
            this._-1Vs = _arg3;
            this._-3jG = _arg2;
            this._-1DN = _arg5;
            this._-3tq = new Dictionary();
            this._-AZ = [];
            this._-4zv = [];
            this._-37i = [];
            var k:URLRequest = new URLRequest(_arg2);
            var k:_-2kE = this._assets.getAssetByName("figuremap");
            if (k == null)
            {
                this._-3e5 = this._assets.loadAssetFromFile("figuremap", k, "text/xml");
                this._-40h();
            }
            else
            {
                _local8 = (this._assets.getAssetByName("figuremap") as _-243);
                _local9 = (_local8.content as XML).copy();
                this._-27n(_local9);
            };
            this._-10E = new Timer(this._-2Ih, 1);
            this._-10E.addEventListener(TimerEvent.TIMER_COMPLETE, this._-2Fy);
            this._-4E9._-2Lt.events.addEventListener(_-0OZ.AVATAR_RENDER_READY, this._-4cG);
        }
        override public function dispose():void
        {
            super.dispose();
            this._-aT = null;
            this._assets = null;
            this._-Oj = null;
            this._-3tq = null;
            if (this._-4E9._-2Lt)
            {
                this._-4E9._-2Lt.events.addEventListener(_-0OZ.AVATAR_RENDER_READY, this._-4cG);
            };
            this._-4E9 = null;
            this._-4zv = null;
            this._-AZ = null;
            if (this._-10E)
            {
                this._-10E.stop();
                this._-10E = null;
            };
            if (this._-3e5)
            {
                this._-2bE();
                this._-3e5 = null;
            };
        }
        private function _-40h():void
        {
            if (this._-3e5)
            {
                this._-3e5.addEventListener(AssetLoaderEvent._-1Tr, this._-3L8);
                this._-3e5.addEventListener(AssetLoaderEvent._-4ar, this._-r0);
            };
        }
        private function _-2bE():void
        {
            if (this._-3e5)
            {
                this._-3e5.removeEventListener(AssetLoaderEvent._-1Tr, this._-3L8);
                this._-3e5.removeEventListener(AssetLoaderEvent._-4ar, this._-r0);
            };
        }
        private function _-r0(_arg1:Event):void
        {
            var _local2:String;
            var _local3:URLRequest;
            if (disposed)
            {
                return;
            };
            this._-2Yt--;
            if (this._-2Yt <= 0)
            {
                _-11j.logEventLog(("Figuremap download error " + this._-3jG));
                _-Nb.log("AVATAR ASSET ERROR: Could not download figuremap.xml.");
            }
            else
            {
                _-Nb.log(("Could not download figuremap.xml. Retries left: " + this._-2Yt));
                if (this._-3jG.indexOf("?") > 0)
                {
                    _local2 = ((this._-3jG + "&retry=") + this._-2Yt);
                }
                else
                {
                    _local2 = ((this._-3jG + "?retry=") + this._-2Yt);
                };
                this._-2bE();
                _local3 = new URLRequest(_local2);
                this._-3e5 = this._assets.loadAssetFromFile("figuremap", _local3, "text/xml");
                this._-40h();
            };
        }
        private function _-3L8(_arg1:Event):void
        {
            var data:XML;
            var event:Event = _arg1;
            if (disposed)
            {
                return;
            };
            var loaderStruct:_-4Rz = (event.target as _-4Rz);
            if (loaderStruct == null)
            {
                return;
            };
            try
            {
                data = new XML((loaderStruct._-48Y.content as String));
            }
            catch(e:Error)
            {
                _-Nb.log(("[AvatarAssetDownloadManager] Error: " + e.message));
                return;
            };
            this._-27n(data);
        }
        private function _-27n(_arg1:XML):void
        {
            if (_arg1 == null)
            {
                _-Nb.log((("[AvatarAssetDownloadManager] XML error: " + _arg1) + " not valid XML"));
                return;
            };
            if (_arg1.toString() == "")
            {
                _-Nb.log((("[AvatarAssetDownloadManager] XML error: " + _arg1) + " is EMPTY!"));
                return;
            };
            this._-3ii(_arg1);
            this._-5FD = true;
            dispatchEvent(new Event(Event.COMPLETE));
        }
        private function _-4cG(_arg1:Event):void
        {
            var k:Array;
            for each (k in this._-AZ)
            {
                this._-4VU(k[0], k[1]);
            };
            this._-AZ = [];
        }
        private function _-3ii(_arg1:XML):void
        {
            var k:XML;
            var k:_-5k;
            var k:XML;
            var k:String;
            var k:Array;
            for each (k in _arg1.lib)
            {
                k = new _-5k(k.@id, k.@revision, this._-1Vs, this._assets, this._-1DN);
                k.addEventListener(Event.COMPLETE, this._-mj);
                for each (k in k.part)
                {
                    k = ((k.@type + ":") + k.@id);
                    k = this._-aT[k];
                    if (k == null)
                    {
                        k = [];
                    };
                    k.push(k);
                    this._-aT[k] = k;
                };
            };
        }
        public function _-1DR(_arg1:_-3FK):Boolean
        {
            if (((!(this._-5FD)) || (!(this._-4E9._-2Lt._-1DR))))
            {
                return (false);
            };
            var k:Array = this._-1As(_arg1);
            return ((k.length == 0));
        }
        public function _-4VU(_arg1:_-3FK, _arg2:_-3QA):void
        {
            var k:_-5k;
            var k:Array;
            if (((!(this._-5FD)) || (!(this._-4E9._-2Lt._-1DR))))
            {
                this._-AZ.push([_arg1, _arg2]);
                return;
            };
            var k:String = _arg1._-2q0();
            var k:Array = this._-1As(_arg1);
            if (k.length > 0)
            {
                if (((_arg2) && (!(_arg2.disposed))))
                {
                    k = this._-3tq[k];
                    if (k == null)
                    {
                        k = [];
                    };
                    k.push(_arg2);
                    this._-3tq[k] = k;
                };
                this._-Oj[k] = k;
                for each (k in k)
                {
                    this._-0Kh(k);
                };
            }
            else
            {
                if (((!((_arg2 == null))) && (!(_arg2.disposed))))
                {
                    _arg2._-0-V(k);
                };
            };
        }
        private function _-mj(_arg1:Event):void
        {
            var k:String;
            var k:Array;
            var k:_-5k;
            var k:int;
            var k:Boolean;
            var k:_-5k;
            var k:Array;
            var k:_-3QA;
            if (disposed)
            {
                return;
            };
            var k:Array = [];
            for (k in this._-Oj)
            {
                k = true;
                k = this._-Oj[k];
                for each (k in k)
                {
                    if (!k._-1DR)
                    {
                        k = false;
                        break;
                    };
                };
                if (k)
                {
                    k.push(k);
                    k = this._-3tq[k];
                    for each (k in k)
                    {
                        if (((!((k == null))) && (!(k.disposed))))
                        {
                            k._-0-V(k);
                        };
                    };
                    delete this._-3tq[k];
                    dispatchEvent(new Event(LIBRARY_LOADED));
                };
            };
            for each (k in k)
            {
                delete this._-Oj[k];
            };
            while (k < this._-37i.length)
            {
                k = this._-37i[k];
                if (k._-0tI == (_arg1.target as _-5k)._-0tI)
                {
                    this._-37i.splice(k, 1);
                };
                k++;
            };
            this._-10E.start();
        }
        private function _-1As(_arg1:_-3FK):Array
        {
            var k:String;
            var k:_-0rk;
            var k:int;
            var k:_-08d;
            var k:FigurePart;
            var k:String;
            var k:Array;
            var k:_-5k;
            var k:Array = [];
            if (!this._-4E9)
            {
                return (k);
            };
            if (!_arg1)
            {
                return (k);
            };
            var k:_-37G = this._-4E9.figureData;
            if (!k)
            {
                return (k);
            };
            var k:Array = _arg1._-oJ();
            for each (k in k)
            {
                k = k._-2Cc(k);
                if (k)
                {
                    k = _arg1.getPartSetId(k);
                    k = k._-2Ey(k);
                    if (k)
                    {
                        for each (k in k._-1xN)
                        {
                            k = ((k.type + ":") + k.id);
                            k = this._-aT[k];
                            if (k != null)
                            {
                                for each (k in k)
                                {
                                    if (k != null)
                                    {
                                        if (!k._-1DR)
                                        {
                                            if (k.indexOf(k) == -1)
                                            {
                                                k.push(k);
                                            };
                                        };
                                    };
                                };
                            };
                        };
                    };
                };
            };
            return (k);
        }
        private function _-1QN():void
        {
            var k:_-5k;
            while ((((this._-4zv.length > 0)) && ((this._-37i.length < this._-0Z5))))
            {
                k = this._-4zv[0];
                k._-0C7();
                this._-37i.push(this._-4zv.shift());
            };
        }
        private function _-0Kh(_arg1:_-5k):void
        {
            if (((((!(_arg1._-1DR)) && ((this._-4zv.indexOf(_arg1) == -1)))) && ((this._-37i.indexOf(_arg1) == -1))))
            {
                this._-4zv.push(_arg1);
                this._-1QN();
            };
        }
        private function _-2Fy(_arg1:Event=null):void
        {
            this._-1QN();
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.AvatarEditorView

package _-4Kb
{
    import flash.geom.Point;
    import _-Ew.IWindowContainer;
    import _-1ae.ISelectorListWindow;
    import _-1ae.IFrameWindow;
    import flash.utils.Timer;
    import _-295._-243;
    import _-0se._-e7;
    import flash.events.TimerEvent;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import flash.events.Event;
    import _-1ae.ISelectableWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1ae.IContainerButtonWindow;
    import _-1Jd._-1ij;
    import _-0se._-4aD;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-2Mh._-3YS;

    public class AvatarEditorView 
    {

        private static const _-3XK:int = 5000;
        private static const _-4M:Point = new Point(100, 30);

        public static var _-32I:IWindowContainer;
        public static var _-1c-:IWindowContainer;
        public static var in:int = 0x666666;

        private var _-3C5:HabboAvatarEditor;
        private var _-3P4:IWindowContainer;
        private var _-28J:String;
        private var _-4-a:ISelectorListWindow;
        private var _-2EZ:IFrameWindow;
        private var _-9:IWindowContainer;
        private var _-1TV:Timer;
        private var _-3dz:String;
        private var _-2Tb:Boolean = true;
        private var _-4Gi:Array;
        private var _-Vx:Array;

        public function AvatarEditorView(_arg1:HabboAvatarEditor, _arg2:Array)
        {
            var k:String;
            var k:_-243;
            var k:_-243;
            this._-4Gi = [];
            this._-Vx = [_-e7._-4Hr, _-e7._-0GH, _-e7._-a3, _-e7._-4a1, _-e7._-2JB, _-e7._-2mQ];
            super();
            this._-3C5 = _arg1;
            if (_-32I == null)
            {
                k = (this._-3C5.manager.assets.getAssetByName("AvatarEditorThumb") as _-243);
                _-32I = (this._-3C5.manager.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            };
            if (_-1c- == null)
            {
                k = (this._-3C5.manager.assets.getAssetByName("color_chooser_cell") as _-243);
                _-1c- = (this._-3C5.manager.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            };
            this._-1TV = new Timer(_-3XK, 1);
            this._-1TV.addEventListener(TimerEvent.TIMER, this._-0Mz);
            if (_arg1.manager.configuration.getBoolean("effects.in.avatar.editor", false))
            {
                this._-Vx.push(_-e7._-4ma);
            };
            if (_arg2 == null)
            {
                k = this._-Vx;
            };
            for each (k in _arg2)
            {
                this._-4Gi.push(k);
            };
            this.createWindow();
        }
        public function dispose():void
        {
            var k:IWindowContainer;
            var k:IWindowContainer;
            var k:IWindowContainer;
            if (this._-1TV != null)
            {
                this._-1TV.stop();
                this._-1TV.removeEventListener(TimerEvent.TIMER, this._-0Mz);
                this._-1TV = null;
            };
            if (this._-4-a)
            {
                this._-4-a.dispose();
                this._-4-a = null;
            };
            if (this._-3P4)
            {
                this._-3P4.dispose();
                this._-3P4 = null;
            };
            if (this._-9 != null)
            {
                this._-9.dispose();
                this._-9 = null;
            };
            if (this._-2EZ)
            {
                this._-2EZ.dispose();
                this._-2EZ = null;
            };
            if (this._-3P4 != null)
            {
                k = (this._-3P4.findChildByName("figureContainer") as IWindowContainer);
                if (k != null)
                {
                    while (k.numChildren > 0)
                    {
                        k.removeChildAt(0);
                    };
                };
                k = (this._-3P4.findChildByName("contentArea") as IWindowContainer);
                if (k != null)
                {
                    while (k.numChildren > 0)
                    {
                        k.removeChildAt(0);
                    };
                };
                k = (this._-3P4.findChildByName("sideContainer") as IWindowContainer);
                if (k != null)
                {
                    while (k.numChildren > 0)
                    {
                        k.removeChildAt(0);
                    };
                };
                this._-3C5 = null;
            };
        }
        public function _-44L(_arg1:Array, _arg2:String=null):IFrameWindow
        {
            if (this._-2EZ)
            {
                this._-2EZ.visible = true;
                this._-2EZ.activate();
                return (this._-2EZ);
            };
            if (this._-2EZ)
            {
                this._-2EZ.dispose();
                this._-2EZ = null;
            };
            var k:_-243 = (this._-3C5.manager.assets.getAssetByName("AvatarEditorFrame") as _-243);
            if (k)
            {
                this._-2EZ = (this._-3C5.manager.windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            };
            if (this._-2EZ == null)
            {
                _-Nb.log("Failed to construct Avatar editor window!");
                return (null);
            };
            var k:IWindowContainer = (this._-2EZ.findChildByName("maincontent") as IWindowContainer);
            if (!this._-4Ri(k, _arg1))
            {
                this._-2EZ.dispose();
                this._-2EZ = null;
                return (null);
            };
            if (_arg2)
            {
                this._-2EZ.header.title.text = _arg2;
            };
            this._-2EZ.position = _-4M;
            this._-2EZ.findChildByName("header_button_close").procedure = this._-3kk;
            return (this._-2EZ);
        }
        public function _-4Ri(_arg1:IWindowContainer, _arg2:Array):Boolean
        {
            var k:int;
            if (!this._-2ts(_arg2))
            {
                _-Nb.log("Could not validate categories for avatar editor!");
                return (false);
            };
            if (_arg1)
            {
                k = _arg1.getChildIndex(this._-3P4);
                if (k)
                {
                    _arg1.removeChildAt(k);
                };
                _arg1.addChild(this._-3P4);
            }
            else
            {
                if (this._-9 == null)
                {
                    this._-9 = (this._-3C5.manager.windowManager.createWindow("avatarEditorContainer", "", _-4Pi._-0Dc, _-29z._-3dr, (_-3hb._-0l | _-3hb._-0g6), new Rectangle(0, 0, 2, 2), null, 0) as IWindowContainer);
                    this._-9.addChild(this._-3P4);
                };
                k = this._-9.getChildIndex(this._-3P4);
                if (k)
                {
                    _arg1.removeChildAt(k);
                };
                this._-9.visible = true;
            };
            return (true);
        }
        public function _-2ts(_arg1:Array):Boolean
        {
            var k:String;
            if (_arg1 == null)
            {
                return (this._-2ts(this._-Vx));
            };
            if (_arg1.length != this._-4Gi.length)
            {
                return (false);
            };
            for each (k in _arg1)
            {
                if (this._-4Gi.indexOf(k) < 0)
                {
                    return (false);
                };
            };
            return (true);
        }
        private function _-0Mz(_arg1:Event=null):void
        {
            this._-1TV.stop();
            if (this._-3P4)
            {
                this._-3P4.findChildByName("save").enable();
            };
        }
        public function show():void
        {
            if (this._-2EZ)
            {
                this._-2EZ.visible = true;
            }
            else
            {
                if (this._-3P4)
                {
                    this._-3P4.visible = true;
                };
            };
        }
        public function hide():void
        {
            if (this._-2EZ)
            {
                this._-2EZ.visible = false;
            }
            else
            {
                if (this._-3P4)
                {
                    this._-3P4.visible = false;
                };
            };
        }
        private function createWindow():void
        {
            var k:ISelectableWindow;
            var k:ISelectableWindow;
            var k:int;
            if (this._-3P4 == null)
            {
                this._-3P4 = (this._-3C5.manager.windowManager.buildFromXML(((this._-3C5.manager.assets.getAssetByName("AvatarEditorContent") as _-243).content as XML)) as IWindowContainer);
            };
            this._-3P4.procedure = this._-3kk;
            this._-4-a = (this._-3P4.findChildByName("mainTabs") as ISelectorListWindow);
            var k:int = (this._-4-a._-1aI - 1);
            while (k >= 0)
            {
                k = this._-4-a._-0wi(k);
                if (((!((k == null))) && ((this._-4Gi.indexOf(k.name) < 0))))
                {
                    k = this._-4-a._-1KF(k);
                    k = (k + 1);
                    while (k < this._-4-a._-1aI)
                    {
                        this._-4-a._-0wi(k).x = (this._-4-a._-0wi(k).x - k.width);
                        k++;
                    };
                };
                k--;
            };
            this._-4-a.setSelected(this._-4-a._-0wi(0));
            this._-2VB();
            this.update();
        }
        private function _-2VB():void
        {
            var k:String;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Array = this._-Vx;
            var k:Point = new Point();
            for each (k in k)
            {
                k = (this._-3P4.findChildByName(k) as IWindowContainer);
                if (k != null)
                {
                    k = (k.findChildByTag("BITMAP") as IBitmapWrapperWindow);
                    if (k != null)
                    {
                        k = (this._-3C5.manager.assets.getAssetByName(("ae_tabs_" + k)) as BitmapDataAsset);
                        k = (k.content as BitmapData);
                        k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                        k.x = ((k.width - k.width) / 2);
                        k.y = ((k.height - k.height) / 2);
                        k.bitmap.copyPixels(k, k.rect, k);
                    };
                };
            };
        }
        public function update():void
        {
            var k:IWindowContainer = this._-3C5.figureData.view.window;
            var k:IWindowContainer = (this._-3P4.findChildByName("figureContainer") as IWindowContainer);
            if (k.numChildren > 0)
            {
                k.removeChildAt(0);
            };
            if (k != null)
            {
                k.addChild(k);
            };
            var k:IContainerButtonWindow = (this._-3P4.findChildByName("wardrobe") as IContainerButtonWindow);
            if (((k) && (this._-3C5.manager._-cT)))
            {
                k.visible = (((this._-3C5.manager._-cT.clubLevel >= _-1ij._-12G)) && (this._-3C5._-04I()));
            };
            var k:String = _-4aD._-2Hk;
            if (((((this._-3C5.manager._-cT) && ((this._-3C5.manager._-cT.clubLevel >= _-1ij._-12G)))) && ((((this._-3dz == _-4aD._-2mQ)) || (this._-2Tb)))))
            {
                k = _-4aD._-2mQ;
            };
            if (((this._-3C5._-1kq()) && ((this._-3C5.clubMemberLevel <= 0))))
            {
                k = _-4aD._-0h4;
            };
            if (!this._-3C5._-04I())
            {
                k = _-4aD._-2Hk;
            };
            this._-2YP(k);
            this._-1jL(this._-28J);
        }
        public function _-0zP(_arg1:String, _arg2:Boolean=false):void
        {
            if (_arg2)
            {
            };
            this._-1jL(_arg1);
        }
        private function _-4qh():void
        {
            if (this._-3dz == _-4aD._-2mQ)
            {
                this._-2Tb = false;
                this._-2YP(_-4aD._-2Hk);
            }
            else
            {
                this._-2YP(_-4aD._-2mQ);
            };
        }
        private function _-2YP(_arg1:String):void
        {
            var k:int;
            if (this._-3dz == _arg1)
            {
                return;
            };
            var k:IWindowContainer = (this._-3P4.findChildByName("sideContainer") as IWindowContainer);
            if (!k)
            {
                return;
            };
            var k:IWindow;
            switch (_arg1)
            {
                case _-4aD._-2Hk:
                    break;
                case _-4aD._-0h4:
                    k = this._-3C5._-0lF(_-4aD._-0h4);
                    break;
                case _-4aD._-2mQ:
                    k = this._-3C5._-0lF(_-4aD._-2mQ);
                    break;
            };
            var k:IWindow = k.removeChildAt(0);
            if (k)
            {
                this._-3P4.width = (this._-3P4.width - k.width);
            };
            if (k)
            {
                k.addChild(k);
                k.visible = true;
                k.width = k.width;
            }
            else
            {
                k.width = 0;
            };
            this._-3dz = _arg1;
            if (this._-2EZ)
            {
                k = 8;
                this._-2EZ.content.width = (this._-3P4.width + k);
            };
        }
        private function _-1jL(_arg1:String):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1 == "")
            {
                return;
            };
            var k:IWindowContainer = (this._-3P4.findChildByName("contentArea") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = (k.getChildAt(0) as IWindowContainer);
            k.removeChild(k);
            k.invalidate();
            var k:IWindowContainer = this._-3C5._-3Dg(_arg1);
            if (k == null)
            {
                return;
            };
            k.visible = true;
            k.addChild(k);
            this._-28J = _arg1;
            this._-4-a.setSelected(this._-4-a._-4Vf(_arg1));
        }
        public function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            if (_arg1.type == WindowEvent._-2wB)
            {
                k = _arg2.name;
                _-Nb.log(("Select tab: " + k));
                if (k != this._-28J)
                {
                    this._-3C5._-2jT(k);
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-90)
                {
                    switch (_arg2.name)
                    {
                        case "save":
                            if (this._-3C5._-2MP())
                            {
                                this._-2jk();
                                this._-1TV.start();
                                this._-3P4.findChildByName("save").disable();
                                return;
                            };
                            this._-1TV.start();
                            this._-3P4.findChildByName("save").disable();
                            this._-3C5._-3YB();
                            this._-3C5.manager.close(this._-3C5._-35A);
                            return;
                        case "cancel":
                        case "header_button_close":
                            if (this._-3C5._-2MP())
                            {
                                this._-3C5._-0Ik();
                                this._-3C5._-4If();
                            };
                            this._-3C5.manager.close(this._-3C5._-35A);
                            return;
                        case "wardrobe":
                            this._-4qh();
                            return;
                    };
                };
            };
        }
        private function _-2jk():void
        {
            if (this._-3C5.manager.catalog)
            {
                this._-3C5.manager.catalog.openClubBuy(_-3YS._-36p, "AvatarEditorView");
            };
        }
        public function get effectsParamViewContainer():IWindowContainer
        {
            return (IWindowContainer(this._-3P4.findChildByName("effectParamsContainer")));
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.AvatarFigureContainer

package _-4Kb
{
    import _-18r.Map;

    public class AvatarFigureContainer implements _-3FK 
    {

        private var _-2aI:Map;

        public function AvatarFigureContainer(_arg1:String)
        {
            this._-2aI = new Map();
            this._-7f(_arg1);
        }
        public function _-oJ():Array
        {
            return (this._-43K()._-18C());
        }
        public function _-42u(_arg1:String):Boolean
        {
            return (!((this._-43K().getValue(_arg1) == null)));
        }
        public function getPartSetId(_arg1:String):int
        {
            var k:Map = (this._-43K().getValue(_arg1) as Map);
            if (k != null)
            {
                return ((k.getValue("setid") as int));
            };
            return (0);
        }
        public function _-1xo(_arg1:String):Array
        {
            var k:Map = (this._-43K().getValue(_arg1) as Map);
            if (k != null)
            {
                return ((k.getValue("colorids") as Array));
            };
            return (null);
        }
        public function _-0mL(_arg1:String, _arg2:int, _arg3:Array):void
        {
            var k:Map = new Map();
            k.add("type", _arg1);
            k.add("setid", _arg2);
            k.add("colorids", _arg3);
            var k:Map = this._-43K();
            k.remove(_arg1);
            k.add(_arg1, k);
        }
        public function _-3PM(_arg1:String):void
        {
            this._-43K().remove(_arg1);
        }
        public function _-2q0():String
        {
            var k:String;
            var k:Array;
            var k:Array = [];
            for each (k in this._-43K()._-18C())
            {
                k = [];
                k.push(k);
                k.push(this.getPartSetId(k));
                k = k.concat(this._-1xo(k));
                k.push(k.join("-"));
            };
            return (k.join("."));
        }
        private function _-43K():Map
        {
            if (this._-2aI == null)
            {
                this._-2aI = new Map();
            };
            return (this._-2aI);
        }
        private function _-7f(_arg1:String):void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:int;
            var k:Array;
            var k:int;
            if (_arg1 == null)
            {
                k = "";
            };
            for each (k in _arg1.split("."))
            {
                k = k.split("-");
                if (k.length >= 2)
                {
                    k = String(k[0]);
                    k = parseInt(k[1]);
                    k = new Array();
                    k = 2;
                    while (k < k.length)
                    {
                        k.push(parseInt(k[k]));
                        k++;
                    };
                    this._-0mL(k, k, k);
                };
            };
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.AvatarImage

package _-4Kb
{
    import _-0se._-24J;
    import _-3o7._-3yS;
    import _-3Zm.AssetAliasCollection;
    import _-Hq.AvatarImageCache;
    import _-1kb._-Gh;
    import flash.display.BitmapData;
    import _-18r.Map;
    import _-0se._-1uH;
    import _-3o7._-1k3;
    import _-0se._-18q;
    import _-4xH._-2OZ;
    import _-0se._-aR;
    import _-1kb._-cH;
    import _-1kb._-oL;
    import flash.geom.Point;
    import _-1A6.AvatarCanvas;
    import flash.geom.Rectangle;
    import _-295.BitmapDataAsset;
    import _-3o7.ActionDefinition;
    import _-3o7._-0kA;
    import _-1kb.Animation;
    import flash.utils.getTimer;
    import flash.filters.ColorMatrixFilter;
    import _-1B-.*;

    public class AvatarImage implements _-40f, _-1zZ 
    {

        private static const CHANNELS_EQUAL:String = "CHANNELS_EQUAL";
        private static const CHANNELS_UNIQUE:String = "CHANNELS_UNIQUE";
        private static const CHANNELS_RED:String = "CHANNELS_RED";
        private static const CHANNELS_GREEN:String = "CHANNELS_GREEN";
        private static const CHANNELS_BLUE:String = "CHANNELS_BLUE";
        private static const CHANNELS_SATURATED:String = "CHANNELS_SATURATED";
        private static const _-287:String = "Default";
        private static const _-qS:int = 2;
        private static const _-3ps:String = _-24J._-2YU;//"full"

        protected var _-4E9:AvatarStructure;
        protected var _-3Tb:String;
        protected var _-ux:int;
        protected var _-2VT:int;
        protected var _-16z:_-3yS;
        protected var _-4Bk:Boolean;
        protected var _-2Q6:Array;
        protected var _assets:AssetAliasCollection;
        protected var _-pY:AvatarImageCache;
        protected var _-5AE:AvatarFigureContainer;
        protected var _-28k:_-Gh;
        protected var _-Hy:Array;
        protected var _-4Gj:BitmapData;
        private var _-1pN:_-3yS;
        private var _-1fP:int = 0;
        private var _-4gt:int = 0;
        private var _-1h9:Boolean;
        private var _-eH:Array;
        private var _-4on:Boolean;
        private var _-3VO:Boolean = false;
        private var _-2N9:Boolean = false;
        private var _-3uO:Array;
        private var _-2a0:String;
        private var _-0bs:String;
        private var _-5Bu:Map;
        protected var _-294:Boolean = false;
        private var _-28t:Boolean;
        private var _-1YT:int = -1;
        private var _-5Ad:int;
        private var _-1TI:Array;
        private var _-4Xq:int = -1;
        private var _-2Wd:String = null;
        private var _-1fb:String = null;

        public function AvatarImage(_arg1:AvatarStructure, _arg2:AssetAliasCollection, _arg3:AvatarFigureContainer, _arg4:String)
        {
            this._-2Q6 = new Array();
            this._-Hy = [];
            this._-1TI = [];
            super();
            this._-1h9 = true;
            this._-4E9 = _arg1;
            this._assets = _arg2;
            this._-3Tb = _arg4;
            if (this._-3Tb == null)
            {
                this._-3Tb = _-1uH._-JU;
            };
            if (_arg3 == null)
            {
                k = new AvatarFigureContainer("hr-893-45.hd-180-2.ch-210-66.lg-270-82.sh-300-91.wa-2007-.ri-1-");
                _-Nb.log("Using default avatar figure");
            };
            this._-5AE = _arg3;
            this._-pY = new AvatarImageCache(this._-4E9, this, this._assets, this._-3Tb);
            this.setDirection(_-3ps, _-qS);
            this._-Hy = new Array();
            this._-1pN = new _-1k3(_-18q._-3TX);
            this._-1pN._-0LY = this._-4E9._-p6(_-287);
            this._-0ig();
            this._-5Bu = new Map();
        }
        public function dispose():void
        {
            var k:BitmapData;
            if (!this._-4Bk)
            {
                this._-4E9 = null;
                this._assets = null;
                this._-16z = null;
                this._-5AE = null;
                this._-28k = null;
                this._-Hy = null;
                if (this._-4Gj)
                {
                    this._-4Gj.dispose();
                };
                if (this._-pY)
                {
                    this._-pY.dispose();
                    this._-pY = null;
                };
                if (this._-5Bu)
                {
                    for each (k in this._-5Bu)
                    {
                        k.dispose();
                    };
                    this._-5Bu.dispose();
                    this._-5Bu = null;
                };
                this._-4Gj = null;
                this._-2Q6 = null;
                this._-4Bk = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function _-1mO():_-3FK
        {
            return (this._-5AE);
        }
        public function _-Z8():String
        {
            return (this._-3Tb);
        }
        public function _-K6(_arg1:String):_-2OZ
        {
            return (this._-4E9._-K6(this._-5AE, _arg1));
        }
        public function setDirection(_arg1:String, _arg2:int):void
        {
            k = (_arg2 + this._-4gt);
            if (k < _-aR._-4IG)
            {
                k = (_-aR._-4KZ + (k + 1));
            };
            if (k > _-aR._-4KZ)
            {
                k = (k - (_-aR._-4KZ + 1));
            };
            if (this._-4E9._-zC(_arg1))
            {
                this._-ux = k;
            };
            if ((((_arg1 == _-24J._-0GH)) || ((_arg1 == _-24J._-2YU))))
            {
                if ((((_arg1 == _-24J._-0GH)) && (this._-1y9())))
                {
                    k = this._-ux;
                };
                this._-2VT = k;
            };
            this._-pY.setDirection(_arg1, k);
            this._-1h9 = true;
        }
        public function _-fE(_arg1:String, _arg2:int):void
        {
            var k:int;
            k = (_arg2 / 45);
            this.setDirection(_arg1, k);
        }
        public function _-3YU():Array
        {
            return (this._-eH);
        }
        public function _-4Dp():Array
        {
            return (this._-2Q6);
        }
        public function _-0JM(_arg1:_-cH):_-oL
        {
            return (this._-4E9._-AS(_arg1.animation.id, this._-1fP, _arg1.id));
        }
        public function _-4CN(_arg1:int=1):void
        {
            this._-1fP = (this._-1fP + _arg1);
            this._-1h9 = true;
        }
        public function _-4HX():void
        {
            this._-1fP = 0;
            this._-1h9 = true;
        }
        private function _-0-W():String
        {
            var k:_-3yS;
            var k:int;
            if (!this._-28t)
            {
                return (null);
            };
            if ((((this._-3uO.length == 1)) && ((this._-ux == this._-2VT))))
            {
                if (this._-16z == "std")
                {
                    return ((this._-ux + this._-0bs));
                };
                return (((this._-ux + this._-0bs) + (this._-1fP % 4)));
            };
            if (this._-3uO.length == 2)
            {
                for each (k in this._-3uO)
                {
                    if ((((k._-1Br == "fx")) && ((((((((k._-5-k == "33")) || ((k._-5-k == "34")))) || ((k._-5-k == "35")))) || ((k._-5-k == "36"))))))
                    {
                        return (((this._-ux + this._-0bs) + 0));
                    };
                    if ((((k._-1Br == "fx")) && ((((k._-5-k == "38")) || ((k._-5-k == "39"))))))
                    {
                        k = (this._-1fP % 11);
                        return (((((this._-ux + "_") + this._-2VT) + this._-0bs) + k));
                    };
                };
            };
            return (null);
        }
        private function _-1t6(_arg1:String, _arg2:String, _arg3:int):Array
        {
            if (((((!((_arg3 == this._-4Xq))) || (!((_arg2 == this._-2Wd))))) || (!((_arg1 == this._-1fb)))))
            {
                this._-4Xq = _arg3;
                this._-2Wd = _arg2;
                this._-1fb = _arg1;
                this._-1TI = this._-4E9._-1t6(_arg1, _arg2, _arg3);
            };
            return (this._-1TI);
        }
        public function _-2Xc(_arg1:String, _arg2:Boolean):BitmapData
        {
            var k:String;
            var k:_-037;
            var k:BitmapData;
            var k:Point;
            var k:BitmapData;
            if (!this._-1h9)
            {
                return (this._-4Gj);
            };
            if (this._-16z == null)
            {
                return (null);
            };
            if (!this._-2N9)
            {
                this._-1Z0();
            };
            var k:String = this._-0-W();
            if (k != null)
            {
                if (this.getFullImage(k))
                {
                    this._-1h9 = false;
                    if (_arg2)
                    {
                        return ((this.getFullImage(k) as BitmapData).clone());
                    };
                    this._-4Gj = (this.getFullImage(k) as BitmapData);
                    this._-294 = true;
                    return (this._-4Gj);
                };
            };
            var k:AvatarCanvas = this._-4E9._-3zT(this._-3Tb, this._-16z._-0LY._-0it);
            if (k == null)
            {
                return (null);
            };
            if (((((this._-294) || ((this._-4Gj == null)))) || (((!((this._-4Gj.width == k.width))) || (!((this._-4Gj.height == k.height)))))))
            {
                if (((!((this._-4Gj == null))) && (!(this._-294))))
                {
                    this._-4Gj.dispose();
                };
                this._-4Gj = new BitmapData(k.width, k.height, true, 0);
                this._-294 = false;
            };
            var k:Array = this._-1t6(_arg1, this._-16z._-0LY._-0it, this._-ux);
            this._-4Gj.lock();
            this._-4Gj.fillRect(this._-4Gj.rect, 0);
            var k:Boolean = true;
            var k:int = (k.length - 1);
            while (k >= 0)
            {
                k = k[k];
                k = this._-pY._-1x7(k, this._-1fP);
                if (k)
                {
                    k = ((k) && (k._-1kK));
                    k = k.image;
                    k = k._-29t.add(k.offset);
                    if (((k) && (k)))
                    {
                        k = k.add(k._-29t);
                        this._-4Gj.copyPixels(k, k.rect, k, null, null, true);
                    };
                };
                k--;
            };
            this._-4Gj.unlock();
            this._-1h9 = false;
            if (this._-28k != null)
            {
                if (this._-28k._-4tM)
                {
                    k = this._-1QQ(this._-4Gj);
                    if (this._-4Gj)
                    {
                        this._-4Gj.dispose();
                    };
                    this._-4Gj = k;
                    this._-4Gj.paletteMap(this._-4Gj, this._-4Gj.rect, new Point(0, 0), this._-28k.reds, [], []);
                }
                else
                {
                    this._-4Gj.copyChannel(this._-4Gj, this._-4Gj.rect, new Point(0, 0), 2, 8);
                };
            };
            if (((!((k == null))) && (k)))
            {
                this.cacheFullImage(k, this._-4Gj.clone());
            };
            if (((this._-4Gj) && (_arg2)))
            {
                return (this._-4Gj.clone());
            };
            return (this._-4Gj);
        }
        public function _-1hx(_arg1:String):BitmapData
        {
            var k:Rectangle;
            var k:String;
            var k:_-037;
            var k:BitmapData;
            var k:Point;
            if (this._-16z == null)
            {
                return (null);
            };
            if (!this._-2N9)
            {
                this._-1Z0();
            };
            var k:AvatarCanvas = this._-4E9._-3zT(this._-3Tb, this._-16z._-0LY._-0it);
            if (k == null)
            {
                return (null);
            };
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0xFFFFFF);
            var k:Array = this._-4E9._-1t6(_arg1, this._-16z._-0LY._-0it, this._-ux);
            var k:Rectangle = new Rectangle();
            var k:int = (k.length - 1);
            while (k >= 0)
            {
                k = k[k];
                k = this._-pY._-1x7(k, this._-1fP);
                if (k != null)
                {
                    k = k.image;
                    if (k == null)
                    {
                        k.dispose();
                        return (null);
                    };
                    k = k._-29t;
                    k.copyPixels(k, k.rect, k, null, null, true);
                    k.x = k.x;
                    k.y = k.y;
                    k.width = k.width;
                    k.height = k.height;
                    if (k == null)
                    {
                        k = k.clone();
                    }
                    else
                    {
                        k = k.union(k);
                    };
                };
                k--;
            };
            if (k == null)
            {
                k = new Rectangle(0, 0, 1, 1);
            };
            var k:BitmapData = new BitmapData(k.width, k.height, true, 0xFFFFFF);
            k.copyPixels(k, k, new Point(0, 0), null, null, true);
            k.dispose();
            return (k);
        }
        protected function getFullImage(_arg1:String):BitmapData
        {
            return (this._-5Bu[_arg1]);
        }
        protected function cacheFullImage(_arg1:String, _arg2:BitmapData):void
        {
            if (this._-5Bu.getValue(_arg1))
            {
                (this._-5Bu.getValue(_arg1) as BitmapData).dispose();
                this._-5Bu.remove(_arg1);
            };
            this._-5Bu[_arg1] = _arg2;
        }
        public function getAsset(_arg1:String):BitmapDataAsset
        {
            return ((this._assets.getAssetByName(_arg1) as BitmapDataAsset));
        }
        public function getDirection():int
        {
            return (this._-ux);
        }
        public function _-3E7():void
        {
            this._-Hy = new Array();
            this._-2N9 = false;
            this._-0bs = "";
            this._-28t = false;
        }
        public function _-1Z0():void
        {
            if (this._-3y8())
            {
                this._-0ig();
                this._-4T7();
            };
        }
        public function appendAction(_arg1:String, ... _args):Boolean
        {
            var k:String;
            var _local4:ActionDefinition;
            this._-2N9 = false;
            if (((!((_args == null))) && ((_args.length > 0))))
            {
                k = _args[0];
            };
            switch (_arg1)
            {
                case _-18q._-03o:
                    switch (k)
                    {
                        case _-18q._-13K:
                            if (this._-ux == 0)
                            {
                                this.setDirection(_-24J._-2YU, 4);
                            }
                            else
                            {
                                this.setDirection(_-24J._-2YU, 2);
                            };
                        case _-18q._-20-:
                            this._-28t = true;
                        case _-18q._-3TX:
                            this._-28t = true;
                        case _-18q._-2Vk:
                        case _-18q._-28N:
                        case _-18q._-L9:
                        case _-18q._-04Q:
                        case _-18q._-3PV:
                        case _-18q._-Yu:
                        case _-18q._-17t:
                        case _-18q._-Tz:
                            this._-19p(k);
                            break;
                        default:
                            this._-4Ps(("appendAction() >> UNKNOWN POSTURE TYPE: " + k));
                    };
                    break;
                case _-18q._-4QC:
                    switch (k)
                    {
                        case _-18q._-58h:
                        case _-18q._-15Z:
                        case _-18q._-X8:
                        case _-18q._-1BH:
                            this._-19p(k);
                            break;
                        default:
                            this._-4Ps(("appendAction() >> UNKNOWN GESTURE TYPE: " + k));
                    };
                    break;
                case _-18q._-46C:
                    if ((((((((((((k == "33")) || ((k == "34")))) || ((k == "35")))) || ((k == "36")))) || ((k == "38")))) || ((k == "39"))))
                    {
                        this._-28t = true;
                    };
                case _-18q._-rQ:
                case _-18q._-1Fu:
                case _-18q._-2xr:
                case _-18q._-1hz:
                case _-18q._-Q6:
                case _-18q._-4P8:
                case _-18q._-34A:
                case _-18q._-1VQ:
                case _-18q._-0Wl:
                case _-18q._-4Q4:
                case _-18q._-4-:
                case _-18q._-1ha:
                case _-18q._-wd:
                    this._-19p(_arg1, k);
                    break;
                case _-18q._-1Cb:
                case _-18q._-4Xg:
                    _local4 = this._-4E9._-1DE(_arg1);
                    if (_local4 != null)
                    {
                        this._-ZP(("appendAction:" + [k, "->", _local4._-0NI(k)]));
                        k = _local4._-0NI(k);
                    };
                    this._-19p(_arg1, k);
                    break;
                default:
                    this._-4Ps(("appendAction() >> UNKNOWN ACTION TYPE: " + _arg1));
            };
            return (true);
        }
        protected function _-19p(_arg1:String, _arg2:String=""):void
        {
            var k:_-1k3;
            if (this._-Hy == null)
            {
                this._-Hy = new Array();
            };
            var k:int;
            while (k < this._-Hy.length)
            {
                k = this._-Hy[k];
                if ((((k._-1Br == _arg1)) && ((k._-5-k == _arg2))))
                {
                    return;
                };
                k++;
            };
            this._-Hy.push(new _-1k3(_arg1, _arg2, this._-1fP));
        }
        public function _-0rZ():Boolean
        {
            return (((this._-4on) || ((this._-5Ad > 1))));
        }
        private function _-0ig():Boolean
        {
            this._-3VO = false;
            this._-4on = false;
            this._-eH = [];
            this._-28k = null;
            this._-4gt = 0;
            this._-4E9._-0Wr(this);
            this._-16z = this._-1pN;
            this._-16z._-0LY = this._-1pN._-0LY;
            this._-OC(this._-1pN);
            return (true);
        }
        private function _-1y9():Boolean
        {
            var k:_-0kA;
            var k:_-1k3;
            var k:Boolean;
            if (this._-3uO == null)
            {
                return (false);
            };
            for each (k in this._-3uO)
            {
                k = this._-4E9._-1DE(k._-1Br);
                if (((!((k == null))) && (k._-1RC(k._-5-k))))
                {
                    k = true;
                };
            };
            return (k);
        }
        private function _-3y8():Boolean
        {
            var _local2:Boolean;
            var _local3:Boolean;
            var _local4:_-1k3;
            var k:int;
            var k:Boolean;
            this._-0bs = "";
            this._-3uO = this._-4E9._-3y8(this._-Hy);
            this._-5Ad = this._-4E9._-X2(this._-3uO);
            if (this._-3uO == null)
            {
                this._-2Q6 = new Array(0, 0, 0);
                if (this._-2a0 != "")
                {
                    k = true;
                    this._-2a0 = "";
                };
            }
            else
            {
                this._-2Q6 = this._-4E9._-4Dp(this._-3uO, this._-3Tb, this._-ux);
                for each (_local4 in this._-3uO)
                {
                    this._-0bs = (this._-0bs + (_local4._-1Br + _local4._-5-k));
                    if (_local4._-1Br == _-18q._-46C)
                    {
                        k = parseInt(_local4._-5-k);
                        if (this._-1YT != k)
                        {
                            _local2 = true;
                        };
                        this._-1YT = k;
                        _local3 = true;
                    };
                };
                if (!_local3)
                {
                    if (this._-1YT > -1)
                    {
                        _local2 = true;
                    };
                    this._-1YT = -1;
                };
                if (_local2)
                {
                    this._-pY._-3Su(0);
                };
                if (this._-2a0 != this._-0bs)
                {
                    k = true;
                    this._-2a0 = this._-0bs;
                };
            };
            this._-2N9 = true;
            return (k);
        }
        private function _-4T7():void
        {
            var k:_-1k3;
            var k:Animation;
            var k:Array;
            var k:String;
            if (this._-3uO == null)
            {
                return;
            };
            var k:int = getTimer();
            var k:Array = new Array();
            for each (k in this._-3uO)
            {
                k.push(k._-1Br);
            };
            for each (k in this._-3uO)
            {
                if (((((k) && (k._-0LY))) && (k._-0LY._-RX)))
                {
                    k = this._-4E9._-0RO(((k._-0LY.state + ".") + k._-5-k));
                    if (((k) && (k._-2iA())))
                    {
                        k = k._-Hk();
                        if (k)
                        {
                            for each (k in k)
                            {
                                if (k.indexOf(k) >= 0)
                                {
                                    k._-0HT = k._-0HT(k);
                                };
                            };
                        };
                    };
                    if (((k) && (k.resetOnToggle)))
                    {
                        this._-3VO = true;
                    };
                };
            };
            for each (k in this._-3uO)
            {
                if (!((!(k)) || (!(k._-0LY))))
                {
                    if (((k._-0LY._-RX) && ((k._-5-k == ""))))
                    {
                        k._-5-k = "1";
                    };
                    this._-1o6(k, k);
                    if (k._-0LY._-RX)
                    {
                        this._-4on = k._-0LY._-4hS(k._-5-k);
                        k = this._-4E9._-0RO(((k._-0LY.state + ".") + k._-5-k));
                        if (k != null)
                        {
                            this._-eH = this._-eH.concat(k._-1or);
                            if (k._-15S())
                            {
                                this._-4gt = k._-27g.offset;
                            };
                            if (k._-4DC())
                            {
                                this._-28k = k._-0gn;
                            };
                        };
                    };
                };
            };
        }
        private function _-1o6(_arg1:_-3yS, _arg2:int):void
        {
            if ((((_arg1 == null)) || ((_arg1._-0LY == null))))
            {
                return;
            };
            if (_arg1._-0LY._-27o == "")
            {
                return;
            };
            if (_arg1._-0LY._-ev)
            {
                this._-16z = _arg1;
                this._-pY._-12X(_arg1._-0LY._-0it);
            };
            this._-pY._-sy(_arg1, _arg2);
            this._-1h9 = true;
        }
        private function _-OC(_arg1:_-3yS):void
        {
            if (_arg1 == null)
            {
                return;
            };
            if (_arg1._-0LY._-27o == "")
            {
                return;
            };
            if (_arg1._-0LY._-ev)
            {
                this._-16z = _arg1;
                this._-pY._-12X(_arg1._-0LY._-0it);
            };
            this._-pY._-OC(_arg1);
            this._-1h9 = true;
        }
        public function get _-4iV():_-Gh
        {
            return (this._-28k);
        }
        private function _-1QQ(_arg1:BitmapData, _arg2:String="CHANNELS_EQUAL"):BitmapData
        {
            var k:Number = 0.33;
            var k:Number = 0.33;
            var k:Number = 0.33;
            var k:Number = 1;
            switch (_arg2)
            {
                case "CHANNELS_UNIQUE":
                    k = 0.3;
                    k = 0.59;
                    k = 0.11;
                    break;
                case "CHANNELS_RED":
                    k = 1;
                    k = 0;
                    k = 0;
                    break;
                case "CHANNELS_GREEN":
                    k = 0;
                    k = 1;
                    k = 0;
                    break;
                case "CHANNELS_BLUE":
                    k = 0;
                    k = 0;
                    k = 1;
                    break;
                case "CHANNELS_DESATURATED":
                    k = 0.3086;
                    k = 0.6094;
                    k = 0.082;
                    break;
            };
            var k:Array = [k, k, k, 0, 0, k, k, k, 0, 0, k, k, k, 0, 0, 0, 0, 0, 1, 0];
            var k:ColorMatrixFilter = new ColorMatrixFilter(k);
            var k:BitmapData = new BitmapData(_arg1.width, _arg1.height, _arg1.transparent, 0xFFFFFFFF);
            k.copyPixels(_arg1, _arg1.rect, new Point(0, 0), null, null, false);
            k.applyFilter(k, k.rect, new Point(0, 0), k);
            return (k);
        }
        private function _-4Ps(_arg1:String):void
        {
            _-Nb.log(("[AvatarImageError] " + _arg1));
        }
        private function _-ZP(_arg1:String):void
        {
        }
        public function isPlaceholder():Boolean
        {
            return (false);
        }
        public function _-0Rv():void
        {
            this._-2a0 = "";
        }
        public function get _-2oN():Boolean
        {
            return (this._-3VO);
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.AvatarImagePartContainer

package _-4Kb
{
    import _-4xH._-2OZ;
    import _-3o7._-0kA;
    import flash.geom.ColorTransform;
    import _-2c1.AnimationFrame;

    public class AvatarImagePartContainer 
    {

        private var _-0TN:String;
        private var _-3m4:String;
        private var _-0HG:String;
        private var _-0hq:String;
        private var _color:_-2OZ;
        private var _-0eh:Array;
        private var _-0iA:_-0kA;
        private var _-3iB:Boolean;
        private var _-4Rn:Boolean;
        private var _-3kO:ColorTransform;
        private var _-1wm:int;

        public function AvatarImagePartContainer(_arg1:String, _arg2:String, _arg3:String, _arg4:_-2OZ, _arg5:Array, _arg6:_-0kA, _arg7:Boolean, _arg8:int, _arg9:String="", _arg10:Boolean=false, _arg11:Number=1)
        {
            this._-0TN = _arg1;
            this._-3m4 = _arg2;
            this._-0hq = _arg3;
            this._color = _arg4;
            this._-0eh = _arg5;
            this._-0iA = _arg6;
            this._-3iB = _arg7;
            this._-1wm = _arg8;
            this._-0HG = _arg9;
            this._-4Rn = _arg10;
            this._-3kO = new ColorTransform(1, 1, 1, _arg11);
            if (this._-0eh == null)
            {
                _-Nb.log("Null frame list");
            };
            if (this._-3m4 == "ey")
            {
                this._-3iB = false;
            };
        }
        public function _-EG(_arg1:int):int
        {
            var k:AnimationFrame;
            if (((!(this._-0eh)) || ((this._-0eh.length == 0))))
            {
                return (0);
            };
            var k:int = (_arg1 % this._-0eh.length);
            if ((this._-0eh[k] is AnimationFrame))
            {
                k = this._-0eh[k];
                return (k.number);
            };
            return (k);
        }
        public function _-wz(_arg1:int):AnimationFrame
        {
            var k:int = (_arg1 % this._-0eh.length);
            if (((this._-0eh) && ((this._-0eh.length > k))))
            {
                if ((this._-0eh[k] is AnimationFrame))
                {
                    return ((this._-0eh[k] as AnimationFrame));
                };
            };
            return (null);
        }
        public function _-4oR(_arg1:int):String
        {
            var k:AnimationFrame;
            var k:int = (_arg1 % this._-0eh.length);
            if (((this._-0eh) && ((this._-0eh.length > k))))
            {
                if ((this._-0eh[k] is AnimationFrame))
                {
                    k = (this._-0eh[k] as AnimationFrame);
                    return (((((this._-1hb + ":") + k._-27o) + ":") + k.number));
                };
            };
            return (((this._-1hb + ":") + k));
        }
        public function get _-4r1():String
        {
            return (this._-0TN);
        }
        public function get _-2sV():String
        {
            return (this._-3m4);
        }
        public function get _-1hb():String
        {
            return (this._-0hq);
        }
        public function get color():_-2OZ
        {
            return (this._color);
        }
        public function get action():_-0kA
        {
            return (this._-0iA);
        }
        public function set _-1J8(_arg1:Boolean):void
        {
            this._-3iB = _arg1;
        }
        public function get _-1J8():Boolean
        {
            return (this._-3iB);
        }
        public function get _-1N6():int
        {
            return (this._-1wm);
        }
        public function get _-2qv():String
        {
            return (this._-0HG);
        }
        public function get _-5Ep():Boolean
        {
            return (this._-4Rn);
        }
        public function get _-es():ColorTransform
        {
            return (this._-3kO);
        }
        public function toString():String
        {
            return ([this._-0TN, this._-3m4, this._-0hq].join(":"));
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.AvatarRenderManager

package _-4Kb
{
    import _-1B-._-Px;
    import _-3Zm.AssetAliasCollection;
    import _-4Wu._-4uR;
    import _-18r.Map;
    import _-0se._-0Sz;
    import _-295.AssetLibraryCollection;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import _-3PZ._-0hr;
    import _-1B-._-5CE;
    import _-295._-39L;
    import flash.events.Event;
    import _-0se._-4Xb;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1A6._-3nD;
    import _-1A6._-1Zn;
    import _-295._-2kE;
    import _-0se._-0OZ;
    import _-1A6._-37G;
    import _-1kb._-4nZ;
    import _-4xH._-08d;
    import _-4xH._-0rk;
    import _-18r.ErrorReportStorage;
    import _-4xH._-2TT;
    import _-4xH._-2OZ;
    import _-0se._-24J;

    public class AvatarRenderManager extends _-Px implements _-3nt 
    {

        private const _-1tT:String = "hd-99999-99999";

        private var _-1vh:AssetAliasCollection;
        private var _-3fD:_-4uR;
        private var _-4E9:AvatarStructure;
        private var _-3Wi:String;
        private var _-2od:Map;
        private var _-3nL:AvatarAssetDownloadManager;
        private var _-3aM:AvatarFigureContainer;
        private var _-1P5:Boolean = false;
        private var _-3d1:Boolean = false;
        private var _-4W4:Boolean = false;
        private var _-4ho:Boolean = false;

        public function AvatarRenderManager(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            k = (_arg2 | _-3Eg);
            super(_arg1, k, _arg3);
            this._-3Wi = _-0Sz._-3h2;
            this._-2od = new Map();
            this._-4E9 = new AvatarStructure(this);
            this._-4E9._-Eg((_arg3.getAssetByName("HabboAvatarGeometry").content as XML));
            this._-4E9._-4Fm(_arg3, (_arg3.getAssetByName("HabboAvatarActions").content as XML));
            this._-4E9._-1gW((_arg3.getAssetByName("HabboAvatarPartSets").content as XML));
            this._-4E9._-2yG((_arg3.getAssetByName("HabboAvatarAnimation").content as XML));
            this._-4E9._-4aH((_arg3.getAssetByName("HabboAvatarFigure").content as XML));
            this._-1vh = new AssetAliasCollection(this, (_arg1.assets as AssetLibraryCollection));
            _arg1.events.addEventListener(_-Px.COMPONENT_EVENT_RUNNING, this._-3Qe);
            queueInterface(new IIDHabboConfigurationManager(), this._-1aw);
            _arg1.events.addEventListener(_-0hr._-4kN, this._-0hu);
            _arg1.events.addEventListener(_-0hr._-1sg, this._-0hu);
        }
        override public function dispose():void
        {
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            super.dispose();
            if (this._-4E9 != null)
            {
                this._-4E9.dispose();
                this._-4E9 = null;
            };
            if (this._-1vh != null)
            {
                this._-1vh.dispose();
                this._-1vh = null;
            };
            if (this._-2od)
            {
                this._-2od.dispose();
                this._-2od = null;
            };
            if (this._-3nL)
            {
                this._-3nL.removeEventListener(Event.COMPLETE, this._-Tk);
                this._-3nL.dispose();
                this._-3nL = null;
            };
        }
        private function _-0hu(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-0hr.INIT:
                    return;
                case _-0hr._-1WR:
                    return;
                case _-0hr._-1Nb:
                    return;
                case _-0hr._-0xg:
                    return;
                case _-0hr._-4kN:
                    return;
                case _-0hr._-1sg:
                    this._-wa();
                    return;
            };
        }
        private function _-3Qe(_arg1:Event):void
        {
            this._-1vh.init();
            if (this._-4E9)
            {
                this._-4E9._-Qq((context.assets as AssetLibraryCollection), "fx", 200);
                this._-4E9._-Qq((context.assets as AssetLibraryCollection), "dance", 200);
            };
            this._-1P5 = true;
            this.events.dispatchEvent(new Event(_-4Xb.AVATAR_RENDERER_ANIMATIONS_INITIALIZED_EVENT));
            this._-3E0();
        }
        private function _-1aw(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (_arg2 != null)
            {
                this._-3fD = (_arg2 as _-4uR);
            };
        }
        private function _-wa():void
        {
            var k:String;
            var k:_-3nD;
            var k:String;
            var k:String;
            var k:String;
            if (this._-4E9 != null)
            {
                k = this._-3fD.getKey("external.figurepartlist.txt", "figure.xml");
                if (assets.hasAsset(k))
                {
                    assets.removeAsset(assets.getAssetByName(k));
                };
                k = new _-3nD(assets, k, (this._-4E9.figureData as _-1Zn));
                k.addEventListener(_-3nD._-2uB, this._-Q0);
                if (this._-3nL == null)
                {
                    k = this._-3fD.getKey("flash.dynamic.avatar.download.configuration", "figuremap.xml");
                    k = this._-3fD.getKey("flash.dynamic.avatar.download.url", "");
                    k = this._-3fD.getKey("flash.dynamic.avatar.download.name.template", "%libname%.swf");
                    this._-3nL = new AvatarAssetDownloadManager(context.assets, k, k, this._-4E9, k);
                    this._-3nL.addEventListener(Event.COMPLETE, this._-Tk);
                    this._-3nL.addEventListener(AvatarAssetDownloadManager.LIBRARY_LOADED, this._-1YZ);
                };
            };
        }
        private function _-1YZ(_arg1:Event=null):void
        {
            this._-1vh.reset();
        }
        private function _-Q0(_arg1:Event=null):void
        {
            var k:_-2kE = assets.getAssetByName(this._-3fD.getKey("external.figurepartlist.txt", "figure.xml"));
            if (k)
            {
                assets.removeAsset(k).dispose();
            };
            this._-4W4 = true;
            this._-3E0();
        }
        private function _-Tk(_arg1:Event=null):void
        {
            this._-3d1 = true;
            this._-3E0();
        }
        private function _-3E0():void
        {
            if (!this._-4ho)
            {
                if (((((this._-1P5) && (this._-3d1))) && (this._-4W4)))
                {
                    this._-4ho = true;
                    this.events.dispatchEvent(new Event(_-0OZ.AVATAR_RENDER_READY));
                };
            };
        }
        public function _-4oc(_arg1:String):_-3FK
        {
            return (new AvatarFigureContainer(_arg1));
        }
        public function _-3wX(_arg1:_-3FK):Boolean
        {
            if (!this._-3nL)
            {
                return (false);
            };
            return (this._-3nL._-1DR(_arg1));
        }
        public function _-2-S(_arg1:_-3FK, _arg2:_-3QA):void
        {
            if (!this._-3nL)
            {
                return;
            };
            this._-3nL._-4VU(_arg1, _arg2);
        }
        public function createAvatarImage(_arg1:String, _arg2:String, _arg3:String=null, _arg4:_-3QA=null):_-40f
        {
            if (this._-4E9 == null)
            {
                return (null);
            };
            if (!this._-3nL)
            {
                return (null);
            };
            var k:AvatarFigureContainer = new AvatarFigureContainer(_arg1);
            if (_arg3)
            {
                this._-0ii(k, _arg3);
            };
            if (this._-3nL._-1DR(k))
            {
                return (new AvatarImage(this._-4E9, this._-1vh, k, _arg2));
            };
            if (!this._-3aM)
            {
                this._-3aM = new AvatarFigureContainer(this._-1tT);
            };
            this._-3nL._-4VU(k, _arg4);
            return (new PlaceholderAvatarImage(this._-4E9, this._-1vh, this._-3aM, _arg2));
        }
        public function _-06O():_-37G
        {
            if (this._-4E9)
            {
                return (this._-4E9.figureData);
            };
            return (null);
        }
        public function _-3cf():_-4nZ
        {
            if (this._-4E9)
            {
                return (this._-4E9._-2UW);
            };
            return (null);
        }
        public function _-3EO(_arg1:String, _arg2:int):Array
        {
            if (this._-4E9)
            {
                return (this._-4E9._-3ME(_arg1, _arg2));
            };
            return (null);
        }
        public function getAssetByName(_arg1:String):_-2kE
        {
            return (this._-1vh.getAssetByName(_arg1));
        }
        public function get mode():String
        {
            return (this._-3Wi);
        }
        public function set mode(_arg1:String):void
        {
            this._-3Wi = _arg1;
        }
        public function _-2p0(_arg1:XML):void
        {
            if (this._-4E9 != null)
            {
                this._-4E9._-2p0(_arg1);
            };
        }
        private function _-0ii(_arg1:AvatarFigureContainer, _arg2:String):Boolean
        {
            var k:Boolean;
            var k:_-37G;
            var k:String;
            var k:_-08d;
            var _local9:_-0rk;
            var _local10:_-08d;
            var k:_-08d;
            if (!this._-4E9)
            {
                ErrorReportStorage._-0QQ("AvatarRenderManager", "validateAvatarFigure: structure is null!");
            };
            var k:int = 2;
            var k:Array = this._-4E9._-3ME(_arg2, k);
            if (k)
            {
                k = this._-4E9.figureData;
                if (!k)
                {
                    ErrorReportStorage._-0QQ("AvatarRenderManager", "validateAvatarFigure: figureData is null!");
                };
                for each (k in k)
                {
                    if (!_arg1._-42u(k))
                    {
                        k = this._-4E9._-01A(k, _arg2);
                        if (k)
                        {
                            _arg1._-0mL(k, k.id, [0]);
                            k = true;
                        };
                    }
                    else
                    {
                        _local9 = k._-2Cc(k);
                        if (!_local9)
                        {
                            ErrorReportStorage._-0QQ("AvatarRenderManager", "validateAvatarFigure: setType is null!");
                        };
                        _local10 = _local9._-2Ey(_arg1.getPartSetId(k));
                        if (!_local10)
                        {
                            k = this._-4E9._-01A(k, _arg2);
                            if (k)
                            {
                                _arg1._-0mL(k, k.id, [0]);
                                k = true;
                            };
                        };
                    };
                };
            };
            return (!(k));
        }
        public function _-D0(_arg1:_-3FK, _arg2:String, _arg3:Array=null):int
        {
            var k:String;
            var k:_-0rk;
            var k:String;
            var k:int;
            var k:_-08d;
            var k:_-2TT;
            var k:Array;
            var k:int;
            var k:_-2OZ;
            var k:int;
            if (!this._-4E9)
            {
                return (0);
            };
            var k:_-37G = this._-4E9.figureData;
            var k:Array = _arg1._-oJ();
            for each (k in k)
            {
                k = k._-2Cc(k);
                k = _arg1.getPartSetId(k);
                k = k._-2Ey(k);
                k = Math.max(k.clubLevel, k);
                k = k._-0yD(k._-3o5);
                k = _arg1._-1xo(k);
                for each (k in k)
                {
                    k = k._-12f(k);
                    k = Math.max(k.clubLevel, k);
                };
            };
            if (_arg3 == null)
            {
                k = this._-4E9._-BB(_-24J._-2YU);
            };
            for each (k in _arg3)
            {
                k = k._-2Cc(k);
                if (k.indexOf(k) == -1)
                {
                    k = Math.max(k._-2ic(_arg2), k);
                };
            };
            return (k);
        }
        public function _-Wc():void
        {
            this._-1vh.reset();
        }
        public function get _-1DR():Boolean
        {
            return (this._-4ho);
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.AvatarStructure

package _-4Kb
{
    import _-0yf.EventDispatcherWrapper;
    import _-0IA.AvatarModelGeometry;
    import _-3o7.AvatarActionManager;
    import _-1A6.FigureData;
    import _-1A6.PartSetsData;
    import _-1A6.AnimationData;
    import _-1kb.AnimationManager;
    import _-3o7.ActionDefinition;
    import flash.utils.Dictionary;
    import _-295._-39L;
    import _-295.AssetLibraryCollection;
    import _-4xH._-0rk;
    import _-4xH._-2TT;
    import _-4xH._-2OZ;
    import _-1kb.AnimationLayerData;
    import _-1kb.Animation;
    import _-3o7._-3yS;
    import _-4xH._-08d;
    import _-1A6.AvatarCanvas;
    import _-0IA.GeometryBodyPart;
    import _-0ok._-1MW;
    import _-1kb.AddDataContainer;
    import _-0se._-aR;
    import _-2c1.AnimationAction;
    import flash.geom.Point;
    import _-2c1.AnimationActionPart;
    import _-0IA.GeometryItem;
    import _-4xH._-0rC;
    import _-3o7._-0kA;
    import _-18r.Map;
    import _-1A6._-37G;
    import flash.display.Shape;
    import flash.display.BitmapData;
    import flash.display.Bitmap;
    import flash.text.TextField;
    import flash.geom.Matrix;
    import flash.display.Stage;
    import _-1A6.*;

    public class AvatarStructure extends EventDispatcherWrapper 
    {

        private var _-1uw:AvatarRenderManager;
        private var _-4zq:AvatarModelGeometry;
        private var _-eh:AvatarActionManager;
        private var _-dS:FigureData;
        private var _-1ys:PartSetsData;
        private var _-3MS:AnimationData;
        private var _-bq:AnimationManager;
        private var _-1pN:ActionDefinition;
        private var _-3i7:Dictionary;

        public function AvatarStructure(_arg1:AvatarRenderManager)
        {
            this._-1uw = _arg1;
            this._-dS = new FigureData();
            this._-1ys = new PartSetsData();
            this._-3MS = new AnimationData();
            this._-bq = new AnimationManager();
            this._-3i7 = new Dictionary();
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                super.dispose();
                this._-1uw = null;
                this._-dS = null;
                this._-1ys = null;
                this._-3MS = null;
                this._-3i7 = null;
            };
        }
        public function _-Eg(_arg1:XML):void
        {
            if (!_arg1)
            {
                _-Nb.log("[AvatarStructure] Could not init Geometry for structure");
                return;
            };
            this._-4zq = new AvatarModelGeometry(_arg1);
        }
        public function _-4Fm(_arg1:_-39L, _arg2:XML):void
        {
            if (!_arg2)
            {
                _-Nb.log("[AvatarStructure] Could not init Actions for structure");
                return;
            };
            this._-eh = new AvatarActionManager(_arg1, _arg2);
            this._-1pN = this._-eh._-0mf();
        }
        public function _-1gW(_arg1:XML):Boolean
        {
            if (!_arg1)
            {
                _-Nb.log("[AvatarStructure] Could not init Part Sets for structure");
                return (false);
            };
            if (this._-1ys.parse(_arg1))
            {
                this._-1ys._-1kk("ri")._-3hy = true;
                this._-1ys._-1kk("li")._-3hy = true;
                return (true);
            };
            return (false);
        }
        public function _-2yG(_arg1:XML):Boolean
        {
            if (!_arg1)
            {
                _-Nb.log("[AvatarStructure] Could not init Animations for structure");
                return (false);
            };
            return (this._-3MS.parse(_arg1));
        }
        public function _-4aH(_arg1:XML):Boolean
        {
            if (!_arg1)
            {
                _-Nb.log("[AvatarStructure] Could not init Figure Data for structure");
                return (false);
            };
            return (this._-dS.parse(_arg1));
        }
        public function _-2p0(_arg1:XML):void
        {
            this._-dS._-1Xb(_arg1);
        }
        public function _-Qq(_arg1:AssetLibraryCollection, _arg2:String="fx", _arg3:int=200):void
        {
            var k:XML;
            var k:int;
            while (k < _arg3)
            {
                if (_arg1.hasAsset((_arg2 + k)))
                {
                    k = (_arg1.getAssetByName((_arg2 + k)).content as XML);
                    this._-bq._-0IW(this, k);
                };
                k++;
            };
        }
        public function _-K6(_arg1:_-3FK, _arg2:String, _arg3:int=0):_-2OZ
        {
            var k:Array = _arg1._-1xo(_arg2);
            if (((!(k)) || ((k.length < _arg3))))
            {
                return (null);
            };
            var k:_-0rk = this._-dS._-2Cc(_arg2);
            if (k == null)
            {
                return (null);
            };
            var k:_-2TT = this._-dS._-0yD(k._-3o5);
            if (!k)
            {
                return (null);
            };
            return (k._-12f(k[_arg3]));
        }
        public function _-AS(_arg1:String, _arg2:int, _arg3:String):AnimationLayerData
        {
            return ((this._-bq._-0JM(_arg1, _arg2, _arg3) as AnimationLayerData));
        }
        public function _-0RO(_arg1:String):Animation
        {
            return ((this._-bq._-0RO(_arg1) as Animation));
        }
        public function _-p6(_arg1:String):ActionDefinition
        {
            return (this._-eh._-p6(_arg1));
        }
        public function _-1DE(_arg1:String):ActionDefinition
        {
            return (this._-eh._-1DE(_arg1));
        }
        public function _-zC(_arg1:String):Boolean
        {
            return (this._-4zq._-zC(_arg1));
        }
        public function _-3y8(_arg1:Array):Array
        {
            return (this._-eh._-3y8(_arg1));
        }
        public function _-X2(_arg1:Array):int
        {
            var k:_-3yS;
            var k:int;
            for each (k in _arg1)
            {
                k = Math.max(k, this._-3MS._-2Ef(k._-0LY));
            };
            return (k);
        }
        public function _-3ME(_arg1:String, _arg2:int):Array
        {
            if (!this._-3i7[_arg1])
            {
                this._-3i7[_arg1] = new Dictionary();
            };
            if (this._-3i7[_arg1][_arg2])
            {
                return (this._-3i7[_arg1][_arg2]);
            };
            this._-3i7[_arg1][_arg2] = this._-dS._-3ME(_arg1, _arg2);
            return (this._-3i7[_arg1][_arg2]);
        }
        public function _-01A(_arg1:String, _arg2:String):_-08d
        {
            return (this._-dS._-01A(_arg1, _arg2));
        }
        public function _-4Dp(_arg1:Array, _arg2:String, _arg3:int):Array
        {
            return (this._-eh._-4Dp(_arg1, _arg2, _arg3));
        }
        public function _-3zT(_arg1:String, _arg2:String):AvatarCanvas
        {
            return (this._-4zq._-3zT(_arg1, _arg2));
        }
        public function _-0Wr(_arg1:_-40f):void
        {
            this._-4zq._-0Wr(_arg1);
        }
        public function _-vN(_arg1:_-3yS, _arg2:_-40f):Array
        {
            var k:GeometryBodyPart;
            var k:String;
            var k:Animation;
            var k:String;
            var k:_-1MW;
            var k:XML;
            var k:XML;
            var k:AddDataContainer;
            var _local14:String;
            var k:Array = [];
            var k:Array = new Array();
            var k:String = _arg1._-0LY._-0it;
            if (_arg1._-0LY._-RX)
            {
                k = ((_arg1._-0LY.state + ".") + _arg1._-5-k);
                k = (this._-bq._-0RO(k) as Animation);
                if (k != null)
                {
                    k = k._-1bV(0, _arg1._-0HT);
                    if (k._-4pf())
                    {
                        k = <item id="" x="0" y="0" z="0" radius="0.01" nx="0" ny="0" nz="-1" double="1"/>
                        ;
                        k = <part/>
                        ;
                        for each (k in k._-3u1)
                        {
                            k = this._-4zq._-pP(k, k.align);
                            if (k != null)
                            {
                                k.@id = k.id;
                                k._-2ci(k, _arg2);
                                k.@["set-type"] = k.id;
                                k = this._-1ys._-4Mp(k);
                                k._-3hy = true;
                                if (k.base == "")
                                {
                                    k._-2vo = 1;
                                };
                                if (k.indexOf(k.id) == -1)
                                {
                                    k.push(k.id);
                                };
                            };
                        };
                    };
                };
                for each (k in k)
                {
                    k = this._-4zq._-pP(k, k);
                    if (k != null)
                    {
                        if (k.indexOf(k.id) == -1)
                        {
                            k.push(k.id);
                        };
                    };
                };
            }
            else
            {
                k = this._-1ys._-59H(_arg1._-0LY);
                for each (_local14 in k)
                {
                    k = this._-4zq._-R-(k, _local14, _arg2);
                    if (k != null)
                    {
                        if (k.indexOf(k.id) == -1)
                        {
                            k.push(k.id);
                        };
                    };
                };
            };
            return (k);
        }
        public function _-BB(_arg1:String):Array
        {
            return (this._-4zq._-1cs(_arg1));
        }
        public function _-1t6(_arg1:String, _arg2:String, _arg3:int):Array
        {
            var k:Number = _-aR._-0NZ[_arg3];
            return (this._-4zq._-Lv(_arg1, k, _arg2));
        }
        public function _-2GB(_arg1:_-3yS, _arg2:int, _arg3:int, _arg4:String):Point
        {
            var k:AnimationAction = this._-3MS._-3tb(_arg1._-0LY);
            if (k)
            {
                return (k._-2GB(_arg2, _arg3, _arg4));
            };
            return (AnimationAction._-01B);
        }
        public function _-43K(_arg1:String, _arg2:_-3FK, _arg3:_-3yS, _arg4:String, _arg5:int, _arg6:Array, _arg7:_-40f, _arg8:Map=null):Array
        {
            var k:Animation;
            var k:String;
            var k:_-1MW;
            var k:String;
            var k:AvatarImagePartContainer;
            var k:AnimationActionPart;
            var k:Array;
            var k:Array;
            var k:AvatarImagePartContainer;
            var k:String;
            var k:String;
            var k:GeometryBodyPart;
            var k:GeometryItem;
            var k:int;
            var k:Array;
            var k:_-0rk;
            var k:_-2TT;
            var k:_-08d;
            var k:_-0rC;
            var k:_-0kA;
            var k:String;
            var k:_-2OZ;
            var k:Boolean;
            var k:Boolean;
            var k:_-2OZ;
            var k:Boolean;
            var k:String;
            var k:int;
            var k:int;
            var k:GeometryBodyPart;
            var k:Boolean;
            var k:Number;
            var k:String;
            var k:AddDataContainer;
            if (_arg3 == null)
            {
                _-Nb.log(("[AvatarStructure] getParts action == NULL!! bodyPartId: " + _arg1));
                return ([]);
            };
            var k:Array = this._-1ys._-59H(_arg3._-0LY);
            var k:Array = new Array();
            var k:Array = [0];
            var k:AnimationAction = this._-3MS._-3tb(_arg3._-0LY);
            if (_arg3._-0LY._-RX)
            {
                k = ((_arg3._-0LY.state + ".") + _arg3._-5-k);
                k = (this._-bq._-0RO(k) as Animation);
                if (k != null)
                {
                    k = this._-1LP(k._-2EV(_arg3._-0HT));
                    for each (k in k._-1bV(0, _arg3._-0HT))
                    {
                        if (k == _arg1)
                        {
                            k = this._-4zq._-pP(_arg4, k);
                            if (k != null)
                            {
                                for each (k in k._-1oq(_arg7))
                                {
                                    k.push(k.id);
                                };
                            };
                        };
                    };
                };
            };
            var k:Array = this._-4zq._-43K(_arg4, _arg1, _arg5, k, _arg7);
            var k:Array = _arg2._-oJ();
            for each (k in k)
            {
                if (_arg8 != null)
                {
                    if (_arg8[k] != null) continue;
                };
                k = _arg2.getPartSetId(k);
                k = _arg2._-1xo(k);
                k = this._-dS._-2Cc(k);
                if (k)
                {
                    k = this._-dS._-0yD(k._-3o5);
                    if (k)
                    {
                        k = k._-2Ey(k);
                        if (k)
                        {
                            k = _arg6.concat(k._-2Xg);
                            for each (k in k._-1xN)
                            {
                                if (k.indexOf(k.type) > -1)
                                {
                                    if (k != null)
                                    {
                                        k = k._-2tI(k.type);
                                        if (k != null)
                                        {
                                            k = k.frames;
                                        }
                                        else
                                        {
                                        };
                                    }
                                    else
                                    {
                                    };
                                    k = _arg3._-0LY;
                                    if (k.indexOf(k.type) == -1)
                                    {
                                        k = this._-1pN;
                                    };
                                    k = this._-1ys._-1kk(k.type);
                                    k = (((k)==null) ? k.type : k._-2av);
                                    if (k == "")
                                    {
                                        k = k.type;
                                    };
                                    if (((k) && ((k.length > (k._-4L0 - 1)))))
                                    {
                                        k = k._-12f(k[(k._-4L0 - 1)]);
                                    };
                                    k = (k._-4L0 > 0);
                                    k = new AvatarImagePartContainer(_arg1, k.type, k.id.toString(), k, k, k, k, k.paletteMap, k);
                                    k.push(k);
                                };
                            };
                        };
                    };
                };
            };
            k = new Array();
            for each (k in k)
            {
                k = false;
                k = null;
                k = ((_arg8) && (_arg8[k]));
                for each (k in k)
                {
                    if (k._-2sV == k)
                    {
                        if (k)
                        {
                            k = k.color;
                        }
                        else
                        {
                            k = true;
                            if (_arg6.indexOf(k) == -1)
                            {
                                k.push(k);
                            };
                        };
                    };
                };
                if (!k)
                {
                    if (k)
                    {
                        k = _arg8[k];
                        k = 0;
                        k = 0;
                        while (k < k.length)
                        {
                            k = (k + k.charCodeAt(k));
                            k++;
                        };
                        if (k != null)
                        {
                            k = k._-2tI(k);
                            if (k != null)
                            {
                                k = k.frames;
                            }
                            else
                            {
                            };
                        }
                        else
                        {
                        };
                        k = new AvatarImagePartContainer(_arg1, k, k, k, k, _arg3._-0LY, !((k == null)), -1, k, false, 1);
                        k.push(k);
                    }
                    else
                    {
                        if (k.indexOf(k) > -1)
                        {
                            k = this._-4zq._-R-(_arg4, k, _arg7);
                            if (_arg1 != k.id)
                            {
                                _-Nb.log(((("BodypartId mismatch:" + _arg1) + " ") + k.id));
                            }
                            else
                            {
                                k = this._-1ys._-1kk(k);
                                k = false;
                                k = 1;
                                if (k._-3hy)
                                {
                                    _-Nb.log(("PART NOT FOUND, ALTHOUGH IT SHOULD HAVE BEEN! Add now? " + k));
                                    k = "1";
                                    if (_arg3._-5-k != "")
                                    {
                                        k = _arg3._-5-k;
                                    };
                                    if (k._-0O-())
                                    {
                                        k = k._-2vo.toString();
                                    };
                                    if (k != null)
                                    {
                                        k = k._-1Ln(k);
                                        if (k != null)
                                        {
                                            k = k._-3L9;
                                            k = k.blend;
                                        };
                                    };
                                    if (k != null)
                                    {
                                        k = k._-2tI(k);
                                        if (k != null)
                                        {
                                            k = k.frames;
                                        }
                                        else
                                        {
                                        };
                                    }
                                    else
                                    {
                                    };
                                    k = new AvatarImagePartContainer(_arg1, k, k, null, k, _arg3._-0LY, false, -1, k, k, k);
                                    k.push(k);
                                };
                            };
                        };
                    };
                };
            };
            return (k);
        }
        public function get figureData():_-37G
        {
            return (this._-dS);
        }
        public function get _-2UW():AnimationManager
        {
            return (this._-bq);
        }
        public function get _-2Lt():AvatarRenderManager
        {
            return (this._-1uw);
        }
        private function _-1LP(_arg1:int):Array
        {
            var k:Array = new Array();
            var k:int;
            while (k < _arg1)
            {
                k.push(k);
                k++;
            };
            return (k);
        }
        public function _-1IJ(_arg1:Stage):void
        {
            var k:String;
            var k:GeometryBodyPart;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Shape;
            var k:BitmapData = new BitmapData(960, 540, false, 0xFFFFFFFF);
            var k:Bitmap = new Bitmap(k);
            _arg1.addChild(k);
            var k:Number = (k.width / 2);
            var k:Number = (k.height / 2);
            var k:Number = 200;
            var k:TextField = new TextField();
            var k:Matrix = new Matrix();
            for each (k in this._-4zq._-1cs("full"))
            {
                k = this._-4zq._-pP("vertical", k);
                _-Nb.log(("Drawing bodypart : " + k));
                if (k != null)
                {
                    k = (k.location.x * k);
                    k = (k.location.z * k);
                    k = (k.radius * k);
                    k = new Shape();
                    k.graphics.lineStyle(1, 0xFFFF0000, 1);
                    k.graphics.drawCircle((k + k), (k + k), k);
                    k.draw(k);
                    k.text = k;
                    k.textColor = 0xFFFF0000;
                    k.identity();
                    k.tx = ((((k + k) + k) - k.textWidth) - 5);
                    k.ty = ((k + k) - 5);
                    k.draw(k, k);
                }
                else
                {
                    _-Nb.log(("Could not draw bodypart : " + k));
                };
            };
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.HabboAvatarEditor

package _-4Kb
{
    import _-1A6._-37G;
    import _-18r.Map;
    import flash.utils.Dictionary;
    import _-Fv._-1Oc;
    import _-Fv._-2vw;
    import _-ZI.FigureData;
    import _-0se._-e7;
    import _-gc.BodyModel;
    import _-5EZ._-0r6;
    import _-4Os._-4Co;
    import _-2WW._-1wW;
    import _-3gY.HotLooksModel;
    import _-37q.EffectsModel;
    import _-0se._-4aD;
    import _-sg.WardrobeModel;
    import _-eM.ClubPromoModel;
    import _-4xH._-0rk;
    import _-4xH._-2TT;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-0Lo._-0wg;
    import _-4xH._-08d;
    import _-Fv.AvatarEditorGridPartItem;
    import _-4xH._-2OZ;
    import _-Fv._-3Bs;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-Fv.CategoryData;

    public class HabboAvatarEditor 
    {

        private static const _-3l9:String = "hr-100.hd-180-7.ch-215-66.lg-270-79.sh-305-62.ha-1002-70.wa-2007";
        private static const _-0cf:String = "hr-515-33.hd-600-1.ch-635-70.lg-716-66-62.sh-735-68";
        private static const _-3Br:int = 2;

        private var _-45U:uint;
        private var _-Ry:_-4b4;
        private var _-3T3:_-37G;
        private var _-Ke:AvatarEditorView;
        private var _-rY:Boolean = false;
        private var _-2Db:Map;
        private var _-ap:Map;
        private var _-1Nf:Dictionary;
        private var _-4Cb:String = "M";
        private var _-Wd:String;
        private var _-2VX:int = 0;
        private var _-3Cp:Boolean;
        private var _-22D:_-PB = null;
        private var _-4CT:Boolean = false;
        private var _-4CX:Boolean = false;

        public function HabboAvatarEditor(_arg1:uint, _arg2:_-4b4)
        {
            this._-45U = _arg1;
            this._-Ry = _arg2;
            this._-3T3 = this._-Ry.avatarRenderManager._-06O();
        }
        public function dispose():void
        {
            var k:_-1Oc;
            var k:_-2vw;
            if (this._-2Db != null)
            {
                for each (k in this._-2Db)
                {
                    k.dispose();
                    k = null;
                };
                this._-2Db = null;
            };
            if (this._-ap != null)
            {
                for each (k in this._-ap)
                {
                    k.dispose();
                    k = null;
                };
                this._-ap = null;
            };
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-3T3 = null;
            this._-1Nf = null;
            this._-22D = null;
        }
        private function init(_arg1:Array=null):void
        {
            if (this._-rY)
            {
                return;
            };
            this._-1Nf = new Dictionary();
            this._-1Nf[FigureData._-0pA] = new FigureData(this);
            this._-1Nf[FigureData._-0Ag] = new FigureData(this);
            var k:FigureData = this._-1Nf[FigureData._-0pA];
            var k:FigureData = this._-1Nf[FigureData._-0Ag];
            k._-58B(_-3l9, FigureData._-0pA);
            k._-58B(_-0cf, FigureData._-0Ag);
            this._-2Db = new Map();
            this._-ap = new Map();
            this._-2Db.add(_-e7._-4Hr, new BodyModel(this));
            this._-2Db.add(_-e7._-0GH, new _-0r6(this));
            this._-2Db.add(_-e7._-a3, new _-4Co(this));
            this._-2Db.add(_-e7._-4a1, new _-1wW(this));
            if ((((_arg1 == null)) || ((_arg1.indexOf(_-e7._-2JB) > -1))))
            {
                this._-2Db.add(_-e7._-2JB, new HotLooksModel(this));
            };
            this._-2Db.add(_-e7._-4ma, new EffectsModel(this));
            this._-ap.add(_-4aD._-2mQ, new WardrobeModel(this));
            this._-ap.add(_-4aD._-0h4, new ClubPromoModel(this));
            this._-rY = true;
        }
        public function loadAvatarInEditor(_arg1:String, _arg2:String, _arg3:int=0):void
        {
            var k:_-1Oc;
            switch (_arg2)
            {
                case FigureData._-0pA:
                case "m":
                case "M":
                    k = FigureData._-0pA;
                    break;
                case FigureData._-0Ag:
                case "f":
                case "F":
                    k = FigureData._-0Ag;
                    break;
            };
            var k:Boolean;
            if (this._-2VX != _arg3)
            {
                this._-2VX = _arg3;
                k = true;
            };
            var k:FigureData = this._-1Nf[_arg2];
            if (k == null)
            {
                return;
            };
            k._-58B(_arg1, _arg2);
            if (_arg2 != this.gender)
            {
                this.gender = _arg2;
                k = true;
            };
            if (this._-Wd != _arg1)
            {
                this._-Wd = _arg1;
                k = true;
            };
            if (((this._-2Db) && (k)))
            {
                for each (k in this._-2Db)
                {
                    k.reset();
                };
            };
            if (this._-Ke != null)
            {
                this._-Ke.update();
            };
        }
        public function _-1aE(_arg1:String):_-0rk
        {
            if (this._-3T3 == null)
            {
                return (null);
            };
            return (this._-3T3._-2Cc(_arg1));
        }
        public function _-0yD(_arg1:int):_-2TT
        {
            if (this._-3T3 == null)
            {
                return (null);
            };
            return (this._-3T3._-0yD(_arg1));
        }
        public function _-2Eq(_arg1:_-PB, _arg2:Array=null, _arg3:Boolean=false, _arg4:String=null, _arg5:String="generic"):IFrameWindow
        {
            this._-22D = _arg1;
            this._-4CT = _arg3;
            this.init(_arg2);
            if (this._-Ke == null)
            {
                this._-Ke = new AvatarEditorView(this, _arg2);
            };
            this._-4HC(_arg2, _arg5);
            return (this._-Ke._-44L(_arg2, _arg4));
        }
        public function _-4Ri(_arg1:IWindowContainer=null, _arg2:_-PB=null, _arg3:Array=null, _arg4:Boolean=false):Boolean
        {
            this._-22D = _arg2;
            this._-4CT = _arg4;
            this.init(_arg3);
            if (this._-Ke == null)
            {
                this._-Ke = new AvatarEditorView(this, _arg3);
            };
            this._-Ke._-4Ri(_arg1, _arg3);
            this._-4HC(_arg3);
            return (true);
        }
        private function _-4HC(_arg1:Array, _arg2:String="generic"):void
        {
            var k:Boolean = ((!((_arg1 == null))) && ((_arg1.length > 0)));
            if (((!((_arg2 == null))) && (((!(k)) || ((_arg1.indexOf(_arg2) >= 0))))))
            {
                this._-2jT(_arg2);
            }
            else
            {
                if (k)
                {
                    this._-2jT(_arg1[0]);
                }
                else
                {
                    this._-2jT(_-e7._-4Hr);
                };
            };
        }
        public function get _-35A():uint
        {
            return (this._-45U);
        }
        public function hide():void
        {
            this._-Ke.hide();
        }
        public function _-3Dg(_arg1:String):IWindowContainer
        {
            var k:_-1Oc = (this._-2Db.getValue(_arg1) as _-1Oc);
            if (k != null)
            {
                return (k.getWindowContainer());
            };
            return (null);
        }
        public function _-0lF(_arg1:String):IWindowContainer
        {
            var k:_-2vw = (this._-ap.getValue(_arg1) as _-2vw);
            if (k != null)
            {
                return (k.getWindowContainer());
            };
            return (null);
        }
        public function _-2jT(_arg1:String):void
        {
            if (this._-Ke)
            {
                this._-Ke._-0zP(_arg1, false);
            };
        }
        public function _-2NS():void
        {
            if (this._-2Db == null)
            {
                return;
            };
            if (this._-3Cp)
            {
                return;
            };
            this._-3Cp = true;
            this.update();
        }
        public function _-4If():void
        {
            if (this._-2Db == null)
            {
                return;
            };
            if (!this._-3Cp)
            {
                return;
            };
            this._-3Cp = false;
            this.update();
        }
        public function get figureData():FigureData
        {
            return (this._-1Nf[this._-4Cb]);
        }
        public function _-3YB():void
        {
            var _local3:_-0wg;
            var k:String = this.figureData._-2q0();
            var k:String = this.figureData.gender;
            if (this._-22D != null)
            {
                this._-22D._-26K(k, k);
            }
            else
            {
                _local3 = new _-0wg(k, k);
                this._-Ry.communication._-4gR(null).send(_local3);
                _local3.dispose();
                _local3 = null;
                if (this._-4CX)
                {
                    if (this.figureData._-574 != -1)
                    {
                        this._-Ry.inventory.setEffectSelected(this.figureData._-574);
                    }
                    else
                    {
                        this._-Ry.inventory._-4nV(true);
                    };
                };
                this._-4CX = false;
            };
        }
        public function _-1F3(_arg1:_-1Oc, _arg2:String):CategoryData
        {
            var k:int;
            var k:_-08d;
            var k:AvatarEditorGridPartItem;
            var k:_-0rk;
            var k:_-2TT;
            var k:Array;
            var k:Array;
            var k:Boolean;
            var k:_-2OZ;
            var k:Array;
            var k:Boolean;
            var k:Boolean;
            var k:Map;
            var k:int;
            var k:int;
            var k:int;
            var k:_-3Bs;
            var k:int;
            var k:int;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Boolean;
            var k:Array;
            if (!_arg1)
            {
                return (null);
            };
            if (!_arg2)
            {
                return (null);
            };
            var k:Array = [];
            var k:Array = new Array();
            k = 0;
            while (k < _-3Br)
            {
                k.push(new Array());
                k++;
            };
            k = this._-1aE(_arg2);
            if (!k)
            {
                return (null);
            };
            if (k != null)
            {
                k = this._-0yD(k._-3o5);
                if (!k)
                {
                    return (null);
                };
                k = this.figureData.getColourIds(_arg2);
                if (!k)
                {
                    k = new Array();
                };
                k = new Array(k.length);
                k = ((this._-1kq()) && (this._-3Cp));
                for each (k in k.colors)
                {
                    if (((k._-06F) && (((k) || ((this._-2VX >= k.clubLevel))))))
                    {
                        k = 0;
                        while (k < _-3Br)
                        {
                            k = new _-3Bs((AvatarEditorView._-1c-.clone() as IWindowContainer), _arg1, k);
                            k[k].push(k);
                            k++;
                        };
                        if (_arg2 != FigureData._-2o8)
                        {
                            k = 0;
                            while (k < k.length)
                            {
                                if (k.id == k[k])
                                {
                                    k[k] = k;
                                };
                                k++;
                            };
                        };
                    };
                };
                if (k)
                {
                    k = 2;
                    k = this._-Ry.avatarRenderManager._-3EO(this.gender, k);
                }
                else
                {
                    k = this._-Ry.avatarRenderManager._-3EO(this.gender, this.clubMemberLevel);
                };
                k = Boolean((k.indexOf(_arg2) == -1));
                if (k)
                {
                    k = (this._-Ry.assets.getAssetByName("removeSelection") as BitmapDataAsset);
                    if (k)
                    {
                        k = (k.content as BitmapData).clone();
                        k = new AvatarEditorGridPartItem((AvatarEditorView._-32I.clone() as IWindowContainer), _arg1, null, null, false);
                        k._-3VJ = k;
                        k.push(k);
                    };
                };
                k = !((_arg2 == FigureData._-2o8));
                k = k._-RM;
                k = k.length;
                k = (k - 1);
                while (k >= 0)
                {
                    k = k.getWithIndex(k);
                    k = false;
                    if (k.gender == FigureData._-1aM)
                    {
                        k = true;
                    }
                    else
                    {
                        if (k.gender == this.gender)
                        {
                            k = true;
                        };
                    };
                    if (((((k._-06F) && (k))) && (((k) || ((this._-2VX >= k.clubLevel))))))
                    {
                        k = new AvatarEditorGridPartItem((AvatarEditorView._-32I.clone() as IWindowContainer), _arg1, k, k, k);
                        k.push(k);
                    };
                    k--;
                };
            };
            k.sort(this._-j3);
            k = 0;
            while (k < _-3Br)
            {
                k = (k[k] as Array);
                k.sort(this._-1cX);
                k++;
            };
            return (new CategoryData(k, k));
        }
        public function _-1kq():Boolean
        {
            return (this._-Ry.configuration.getBoolean("avatareditor.allowclubtryout", false));
        }
        public function _-04I():Boolean
        {
            return (this._-4CT);
        }
        public function _-2MP():Boolean
        {
            var k:_-1Oc;
            var k:Boolean;
            var k:Boolean;
            for each (k in this._-2Db)
            {
                k = k._-0ed(this.clubMemberLevel);
                if (k)
                {
                    k = true;
                };
            };
            return (k);
        }
        public function _-0Ik():void
        {
            var k:_-1Oc;
            for each (k in this._-2Db)
            {
                k._-1LR(this.clubMemberLevel);
            };
            this.figureData._-2D2();
        }
        public function _-9G(_arg1:String):int
        {
            var k:_-2TT;
            var k:_-2OZ;
            var k:_-0rk = this._-1aE(_arg1);
            if (k != null)
            {
                k = this._-0yD(k._-3o5);
                for each (k in k.colors)
                {
                    if (((k._-06F) && ((this._-2VX >= k.clubLevel))))
                    {
                        return (k.id);
                    };
                };
            };
            return (-1);
        }
        private function _-1h4(_arg1:AvatarEditorGridPartItem, _arg2:AvatarEditorGridPartItem):Number
        {
            var k:Number = (((_arg1.partSet)==null) ? -1 : Number(_arg1.partSet.clubLevel));
            var k:Number = (((_arg2.partSet)==null) ? -1 : Number(_arg2.partSet.clubLevel));
            if (k < k)
            {
                return (-1);
            };
            if (k > k)
            {
                return (1);
            };
            if (_arg1.partSet.id < _arg2.partSet.id)
            {
                return (-1);
            };
            if (_arg1.partSet.id > _arg2.partSet.id)
            {
                return (1);
            };
            return (0);
        }
        private function _-j3(_arg1:AvatarEditorGridPartItem, _arg2:AvatarEditorGridPartItem):Number
        {
            var k:Number = (((_arg1.partSet)==null) ? 9999999999 : Number(_arg1.partSet.clubLevel));
            var k:Number = (((_arg2.partSet)==null) ? 9999999999 : Number(_arg2.partSet.clubLevel));
            if (k > k)
            {
                return (-1);
            };
            if (k < k)
            {
                return (1);
            };
            if (_arg1.partSet.id > _arg2.partSet.id)
            {
                return (-1);
            };
            if (_arg1.partSet.id < _arg2.partSet.id)
            {
                return (1);
            };
            return (0);
        }
        private function _-1cX(_arg1:_-3Bs, _arg2:_-3Bs):Number
        {
            var k:Number = (((_arg1._-4r9)==null) ? -1 : (_arg1._-4r9.clubLevel as Number));
            var k:Number = (((_arg2._-4r9)==null) ? -1 : (_arg2._-4r9.clubLevel as Number));
            if (k < k)
            {
                return (-1);
            };
            if (k > k)
            {
                return (1);
            };
            if (_arg1._-4r9.index < _arg2._-4r9.index)
            {
                return (-1);
            };
            if (_arg1._-4r9.index > _arg2._-4r9.index)
            {
                return (1);
            };
            return (0);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function set gender(_arg1:String):void
        {
            var k:_-1Oc;
            if (this._-4Cb == _arg1)
            {
                return;
            };
            this._-4Cb = _arg1;
            for each (k in this._-2Db)
            {
                k.reset();
            };
            if (this._-Ke != null)
            {
                this._-Ke.update();
            };
        }
        public function get handler():_-1mx
        {
            return (this._-Ry.handler);
        }
        public function get wardrobe():WardrobeModel
        {
            if (!this._-rY)
            {
                return (null);
            };
            return (this._-ap.getValue(_-4aD._-2mQ));
        }
        public function get effects():EffectsModel
        {
            if (!this._-rY)
            {
                return (null);
            };
            return (this._-2Db.getValue(_-e7._-4ma));
        }
        public function set clubMemberLevel(_arg1:int):void
        {
            this._-2VX = _arg1;
        }
        public function get clubMemberLevel():int
        {
            return (this._-2VX);
        }
        public function get manager():_-4b4
        {
            return (this._-Ry);
        }
        public function update():void
        {
            var k:_-1Oc;
            var k:_-2vw;
            for each (k in this._-2Db)
            {
                k.reset();
            };
            for each (k in this._-ap)
            {
                k.reset();
            };
            if (this._-Ke)
            {
                this._-Ke.update();
            };
        }
        public function setAvatarEffectType(_arg1:int):void
        {
            this.figureData._-574 = _arg1;
            this.figureData._-2D2();
            this._-4CX = true;
        }
        public function get _-2rk():Boolean
        {
            return (this._-4CX);
        }
        public function set _-2rk(_arg1:Boolean):void
        {
            this._-4CX = _arg1;
        }
        public function get view():AvatarEditorView
        {
            return (this._-Ke);
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kb.PlaceholderAvatarImage

package _-4Kb
{
    import _-18r.Map;
    import _-3Zm.AssetAliasCollection;
    import flash.display.BitmapData;
    import _-0se._-18q;

    public class PlaceholderAvatarImage extends AvatarImage 
    {

        static var _-5Bu:Map = new Map();

        public function PlaceholderAvatarImage(_arg1:AvatarStructure, _arg2:AssetAliasCollection, _arg3:AvatarFigureContainer, _arg4:String)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function dispose():void
        {
            if (!_-4Bk)
            {
                if (_-pY)
                {
                    _-pY.dispose();
                    _-pY = null;
                };
                _-4E9 = null;
                _assets = null;
                _-16z = null;
                _-5AE = null;
                _-28k = null;
                _-Hy = null;
                if (((!(_-294)) && (_-4Gj)))
                {
                    _-4Gj.dispose();
                };
                _-4Gj = null;
                _-2Q6 = null;
                _-4Bk = true;
            };
        }
        override protected function getFullImage(_arg1:String):BitmapData
        {
            return (_-5Bu[_arg1]);
        }
        override protected function cacheFullImage(_arg1:String, _arg2:BitmapData):void
        {
            if (_-5Bu.getValue(_arg1))
            {
                (_-5Bu.getValue(_arg1) as BitmapData).dispose();
                _-5Bu.remove(_arg1);
            };
            _-5Bu[_arg1] = _arg2;
        }
        override public function appendAction(_arg1:String, ... _args):Boolean
        {
            var k:String;
            if (((!((_args == null))) && ((_args.length > 0))))
            {
                k = _args[0];
            };
            switch (_arg1)
            {
                case _-18q._-03o:
                    switch (k)
                    {
                        case _-18q._-13K:
                        case _-18q._-20-:
                        case _-18q._-3TX:
                        case _-18q._-2Vk:
                        case _-18q._-28N:
                        case _-18q._-L9:
                            super.appendAction.apply(null, [_arg1].concat(_args));
                            break;
                    };
                    break;
                case _-18q._-46C:
                case _-18q._-rQ:
                case _-18q._-2xr:
                case _-18q._-Q6:
                case _-18q._-1Cb:
                case _-18q._-4Xg:
                case _-18q._-34A:
                    super._-19p.apply(null, [_arg1].concat(_args));
                    break;
            };
            return (true);
        }
        override public function isPlaceholder():Boolean
        {
            return (true);
        }

    }
}//package _-4Kb

//------------------------------------------------------------
//_-4Kf._-2pC

package _-4Kf
{
    import flash.events.Event;

    public class _-2pC extends Event 
    {

        public static const _-58d:String = "MMME_new";
        public static const _-uG:String = "MMME_unread";

        private var _-4fz:int;

        public function _-2pC(_arg1:String, _arg2:int=-1)
        {
            super(_arg1);
            this._-4fz = _arg2;
        }
        public function get _-45j():int
        {
            return (this._-4fz);
        }

    }
}//package _-4Kf

//------------------------------------------------------------
//_-4kK._-07d

package _-4kK
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-07d implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-07d(_arg1:int, _arg2:int)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
            this._-4Nw.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-4kK

//------------------------------------------------------------
//_-4kp._-3sy

package _-4kp
{
    import _-19Y._-0e3;
    import _-Ew.IWindowContainer;
    import _-19Y.ColorGridCtrl;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IButtonWindow;
    import _-1ae.IItemListWindow;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-3sy 
    {

        public static var _-0bG:int = 0;
        public static var _-3GO:String = "part_edit_list";

        private var _-Ry:_-0e3;
        private var _-3yb:BadgeEditorCtrl;
        private var _-bF:int = 0;
        private var _-4um:_-3um;
        private var _-2kN:IWindowContainer;
        private var _-33v:ColorGridCtrl;
        private var _disposed:Boolean = false;
        private var _-19h:BitmapData;
        private var _-4GP:IBitmapWrapperWindow;
        private var _-0DX:IButtonWindow;
        private var _-0Ng:IWindowContainer;
        private var _-Dw:IBitmapWrapperWindow;
        private var _-qi:IBitmapWrapperWindow;

        public function _-3sy(_arg1:_-0e3, _arg2:BadgeEditorCtrl, _arg3:int)
        {
            this._-Ry = _arg1;
            this._-3yb = _arg2;
            this._-bF = _arg3;
            this._-4um = new _-3um();
            this._-4um._-0ol = _arg3;
            this._-19h = this._-Ry._-1JQ("badge_part_add");
        }
        public function createWindow():void
        {
            if (this._-2kN != null)
            {
                return;
            };
            var k:IItemListWindow = (this._-3yb._-0kR.findChildByName(_-3GO) as IItemListWindow);
            this._-2kN = (this._-Ry.getXmlWindow("badge_layer") as IWindowContainer);
            var k:IWindowContainer = (this._-2kN.findChildByName("preview_container") as IWindowContainer);
            this._-4GP = (k.findChildByName("part_preview") as IBitmapWrapperWindow);
            this._-4GP.bitmap = this._-Ry._-1JQ("badge_part_add");
            this._-0DX = (k.findChildByName("part_button") as IButtonWindow);
            this._-0DX.procedure = this._-03Q;
            this._-0Ng = (this._-2kN.findChildByName("position_container") as IWindowContainer);
            this._-Dw = (this._-0Ng.findChildByName("position_picker") as IBitmapWrapperWindow);
            this._-Dw.bitmap = this._-Ry._-1JQ("position_picker");
            this._-qi = (this._-0Ng.findChildByName("position_grid") as IBitmapWrapperWindow);
            this._-qi.bitmap = this._-Ry._-1JQ("position_grid");
            if (this._-bF == 0)
            {
                this._-qi.visible = false;
                this._-Dw.visible = false;
            }
            else
            {
                this._-qi.procedure = this._-nT;
            };
            this._-33v = new ColorGridCtrl(this._-Ry, this._-3Zz);
            this._-33v._-4Y-(this._-2kN, "color_selector", this._-Ry._-ln._-4oe);
            if (this._-4um._-0ol == _-0bG)
            {
                k.addListItem(this._-2kN);
            }
            else
            {
                k._-kE(this._-2kN, 0);
            };
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-33v)
                {
                    this._-33v.dispose();
                    this._-33v = null;
                };
                if (this._-2kN)
                {
                    this._-2kN.dispose();
                    this._-2kN = null;
                };
                this._-4GP = null;
                this._-0DX = null;
                this._-0Ng = null;
                this._-Dw = null;
                this._-qi = null;
                this._-Ry = null;
                this._disposed = true;
            };
        }
        public function setLayerOptions(_arg1:_-3um):void
        {
            if (_arg1._-0ol != this._-4um._-0ol)
            {
                throw (new Error("Tried to set layer option with invalid layerIndex value"));
            };
            var k:Boolean;
            var k:_-3um = this._-4um;
            this._-4um = _arg1.clone();
            if (!this._-4um._-1PM(k))
            {
                this._-3My(false);
                k = true;
            };
            if (k.colorIndex != this._-4um.colorIndex)
            {
                this._-33v._-1lH(this._-4um.colorIndex, false);
                this._-4um.colorIndex = this._-33v._-4l;
                k = true;
            };
            if (((k) || (!((k._-3-1 == this._-4um._-3-1)))))
            {
                this.updateSelectedPart();
            };
        }
        public function get layerOptions():_-3um
        {
            return (this._-4um);
        }
        public function updateSelectedPart():void
        {
            var k:BitmapData;
            if (this._-3yb._-568)
            {
                k = this._-3yb._-568._-4Lr(this.layerOptions);
            };
            if (k == null)
            {
                k = this._-19h;
            };
            this._-4GP.bitmap.dispose();
            this._-4GP.bitmap = new BitmapData(k.width, k.height);
            this._-4GP.bitmap.copyPixels(k, k.rect, new Point());
            this._-3yb._-17O(this);
        }
        private function _-3My(_arg1:Boolean=true):void
        {
            this._-Dw.x = ((this._-4um._-46b * 14) + 1);
            this._-Dw.y = ((this._-4um._-1E8 * 14) + 1);
            if (_arg1)
            {
                this.updateSelectedPart();
            };
        }
        private function _-nT(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!((_arg1.type == WindowMouseEvent._-90))) || (!(this._-Dw))))
            {
                return;
            };
            var k:WindowMouseEvent = (_arg1 as WindowMouseEvent);
            this._-4um._-46b = Math.min(2, Math.max(0, Math.floor((k.localX / 14))));
            this._-4um._-1E8 = Math.min(2, Math.max(0, Math.floor((k.localY / 14))));
            this._-3My();
        }
        private function _-03Q(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-3yb._-Xs(this);
        }
        public function _-3Zz(_arg1:ColorGridCtrl):void
        {
            if (this._-4um.colorIndex != _arg1._-4l)
            {
                this._-4um.colorIndex = _arg1._-4l;
                this.updateSelectedPart();
            };
        }

    }
}//package _-4kp

//------------------------------------------------------------
//_-4kp._-3um

package _-4kp
{
    public class _-3um 
    {

        private var _-bF:int = -1;
        private var _-1Cs:int = -1;
        private var _-49c:int = -1;
        private var _-3Pd:int = -1;
        private var _-44j:int = -1;

        public function _-0vM(_arg1:int):void
        {
            this._-3Pd = Math.floor((_arg1 % 3));
            this._-44j = Math.floor((_arg1 / 3));
        }
        public function clone():_-3um
        {
            var k:_-3um = new _-3um();
            k._-bF = this._-bF;
            k._-1Cs = this._-1Cs;
            k._-49c = this._-49c;
            k._-3Pd = this._-3Pd;
            k._-44j = this._-44j;
            return (k);
        }
        public function _-3Cf(_arg1:_-3um):Boolean
        {
            if ((((((((_arg1 == null)) || (!((this._-3Pd == _arg1._-46b))))) || (!((this._-44j == _arg1._-1E8))))) || (!((this._-49c == _arg1.colorIndex)))))
            {
                return (false);
            };
            if ((((((this._-bF == 0)) && (!((_arg1._-0ol == 0))))) || (((!((this._-bF == 0))) && ((_arg1._-0ol == 0))))))
            {
                return (false);
            };
            return (true);
        }
        public function _-1PM(_arg1:_-3um):Boolean
        {
            if ((((_arg1._-46b == this._-3Pd)) && ((_arg1._-1E8 == this._-44j))))
            {
                return (true);
            };
            return (false);
        }
        public function get _-0ol():int
        {
            return (this._-bF);
        }
        public function set _-0ol(_arg1:int):void
        {
            this._-bF = _arg1;
        }
        public function get _-3-1():int
        {
            return (this._-1Cs);
        }
        public function set _-3-1(_arg1:int):void
        {
            this._-1Cs = _arg1;
        }
        public function get colorIndex():int
        {
            return (this._-49c);
        }
        public function set colorIndex(_arg1:int):void
        {
            this._-49c = _arg1;
        }
        public function get _-46b():int
        {
            return (this._-3Pd);
        }
        public function set _-46b(_arg1:int):void
        {
            this._-3Pd = _arg1;
        }
        public function get _-1E8():int
        {
            return (this._-44j);
        }
        public function set _-1E8(_arg1:int):void
        {
            this._-44j = _arg1;
        }
        public function get position():int
        {
            return (((this._-1E8 * 3) + this._-46b));
        }

    }
}//package _-4kp

//------------------------------------------------------------
//_-4kp.BadgeEditorCtrl

package _-4kp
{
    import _-19Y._-0e3;
    import _-Ew.IWindowContainer;
    import __AS3__.vec.Vector;
    import _-1ae.IItemGridWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-0nV._-3qA;
    import _-2It._-3wD;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import __AS3__.vec.*;
    import _-19Y.*;
    import _-1B-.*;

    public class BadgeEditorCtrl implements _-1zZ 
    {

        private var _-Ry:_-0e3;
        private var _-0xv:IWindowContainer;
        private var _-3yY:IWindowContainer;
        private var _-5Bd:Array;
        private var _-3ff:BadgeSelectPartCtrl;
        private var _disposed:Boolean = false;
        private var _-5D4:Vector.<_-3sy>;
        private var _-1KQ:_-3um;
        private var _-1UY:IWindowContainer;
        private var _-2tD:IItemGridWindow;
        private var _-2DB:IWindowContainer;
        private var _-Sq:Vector.<IBitmapWrapperWindow>;

        public function BadgeEditorCtrl(_arg1:_-0e3)
        {
            this._-Ry = _arg1;
            this._-Ry.events.addEventListener(_-3qA._-0wu, this._-Ct);
            this._-3ff = new BadgeSelectPartCtrl(this._-Ry, this);
            this._-5D4 = new Vector.<_-3sy>();
            this._-5D4.push(new _-3sy(this._-Ry, this, 0));
            this._-5D4.push(new _-3sy(this._-Ry, this, 1));
            this._-5D4.push(new _-3sy(this._-Ry, this, 2));
            this._-5D4.push(new _-3sy(this._-Ry, this, 3));
            this._-5D4.push(new _-3sy(this._-Ry, this, 4));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-0kR():IWindowContainer
        {
            return (this._-2DB);
        }
        public function get _-0oG():IWindowContainer
        {
            return (this._-1UY);
        }
        public function get _-4OY():IItemGridWindow
        {
            return (this._-2tD);
        }
        public function get _-2-1():_-3um
        {
            return (this._-1KQ);
        }
        public function get _-568():BadgeSelectPartCtrl
        {
            return (this._-3ff);
        }
        public function get _-30q():Boolean
        {
            return (((!((this._-0xv == null))) && (!((this._-5Bd == null)))));
        }
        public function dispose():void
        {
            var k:_-3sy;
            var k:IBitmapWrapperWindow;
            if (!this._disposed)
            {
                if (this._-5D4)
                {
                    for each (k in this._-5D4)
                    {
                        k.dispose();
                    };
                    this._-5D4 = null;
                };
                if (this._-3ff)
                {
                    this._-3ff.dispose();
                    this._-3ff = null;
                };
                if (this._-1UY)
                {
                    this._-1UY.dispose();
                    this._-1UY = null;
                };
                if (this._-2tD)
                {
                    this._-2tD.dispose();
                    this._-2tD = null;
                };
                if (this._-2DB)
                {
                    this._-2DB.dispose();
                    this._-2DB = null;
                };
                if (this._-Sq)
                {
                    for each (k in this._-Sq)
                    {
                        k.dispose();
                    };
                    this._-Sq = null;
                };
                if (this._-0xv)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                this._-5Bd = null;
                this._-1KQ = null;
                this._-0xv = null;
                this._-Ry = null;
                this._disposed = true;
            };
        }
        public function _-Ct(_arg1:_-3qA):void
        {
            this._-3ff._-35r();
            this.createWindow(null, null);
        }
        public function createWindow(_arg1:IWindowContainer, _arg2:Array):void
        {
            if (((!((this._-0xv == null))) || (this._disposed)))
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-3yY = _arg1;
            };
            if (_arg2 != null)
            {
                this._-5Bd = _arg2;
            };
            if ((((((((this._-3yY == null)) || ((this._-5Bd == null)))) || ((this._-Ry == null)))) || ((this._-Ry._-ln == null))))
            {
                return;
            };
            this._-0xv = (this._-Ry.getXmlWindow("badge_editor") as IWindowContainer);
            var k:IWindowContainer = (this._-0xv.findChildByName("guild_badge") as IWindowContainer);
            this._-Sq = new Vector.<IBitmapWrapperWindow>();
            this._-Sq.push((k.findChildByName("layer_0") as IBitmapWrapperWindow));
            this._-Sq.push((k.findChildByName("layer_1") as IBitmapWrapperWindow));
            this._-Sq.push((k.findChildByName("layer_2") as IBitmapWrapperWindow));
            this._-Sq.push((k.findChildByName("layer_3") as IBitmapWrapperWindow));
            this._-Sq.push((k.findChildByName("layer_4") as IBitmapWrapperWindow));
            this._-2DB = (this._-0xv.findChildByName("part_edit") as IWindowContainer);
            this._-1UY = (this._-0xv.findChildByName("part_select") as IWindowContainer);
            this._-1UY.visible = false;
            this._-2tD = (this._-1UY.findChildByName("part_select_grid") as IItemGridWindow);
            var k:int;
            while (k < this._-5D4.length)
            {
                this._-5D4[k].createWindow();
                k++;
            };
            this._-01q(this._-5Bd);
            this._-3yY.addChild(this._-0xv);
        }
        public function _-01q(_arg1:Array):void
        {
            if (!this._-30q)
            {
                return;
            };
            if (this._-1UY.visible)
            {
                this._-1UY.visible = false;
                this._-2DB.visible = true;
            };
            this._-5Bd = _arg1;
            this._-1KQ = null;
            this._-2DB.visible = true;
            this._-1UY.visible = false;
            this._-3ff._-35r();
            var k:int;
            while (k < this._-5D4.length)
            {
                this._-5D4[k].setLayerOptions(this._-4Oy(k));
                this._-5D4[k].updateSelectedPart();
                k++;
            };
        }
        private function _-4Oy(_arg1:int):_-3um
        {
            var k:int;
            var k:_-3wD = (this._-5Bd[_arg1] as _-3wD);
            var k:_-3um = new _-3um();
            k._-0ol = _arg1;
            k.colorIndex = 0;
            k._-0vM(k.position);
            k = 0;
            while (k < this._-Ry._-ln._-4oe.length)
            {
                if (this._-Ry._-ln._-4oe[k].id == k._-2nX)
                {
                    k.colorIndex = k;
                    break;
                };
                k++;
            };
            if (_arg1 == _-3sy._-0bG)
            {
                k = 0;
                while (k < this._-Ry._-ln._-3Pi.length)
                {
                    if (this._-Ry._-ln._-3Pi[k].id == k._-1hb)
                    {
                        k._-3-1 = k;
                        break;
                    };
                    k++;
                };
            }
            else
            {
                k = 0;
                while (k < this._-Ry._-ln._-0Os.length)
                {
                    if (this._-Ry._-ln._-0Os[k].id == k._-1hb)
                    {
                        k._-3-1 = k;
                        break;
                    };
                    k++;
                };
            };
            return (k);
        }
        public function _-593(_arg1:BadgeSelectPartCtrl):void
        {
            this._-1KQ._-3-1 = _arg1._-23z();
            this._-5D4[this._-1KQ._-0ol].setLayerOptions(this._-2-1);
            this._-2DB.visible = true;
            this._-1UY.visible = false;
        }
        public function _-1qO(_arg1:BadgeSelectPartCtrl):void
        {
            this._-1bO(_arg1.layerOptions);
        }
        public function _-17O(_arg1:_-3sy):void
        {
            this._-1bO(_arg1.layerOptions);
        }
        public function _-1bO(_arg1:_-3um):void
        {
            var k:BitmapData = this._-3ff._-4Lr(_arg1);
            if (k != null)
            {
                this._-Sq[_arg1._-0ol].bitmap = k.clone();
                this._-Sq[_arg1._-0ol].visible = true;
            }
            else
            {
                this._-Sq[_arg1._-0ol].visible = false;
            };
        }
        public function _-Xs(_arg1:_-3sy):void
        {
            var k:_-3um = this._-1KQ;
            this._-1KQ = _arg1.layerOptions.clone();
            if (!_arg1.layerOptions._-3Cf(k))
            {
                this._-3ff._-3Fl();
            }
            else
            {
                this._-3ff.layerOptions = this._-1KQ.clone();
            };
            this._-2DB.visible = false;
            this._-1UY.visible = true;
        }
        public function _-4PV():void
        {
            if (((this._-30q) && (this._-1UY.visible)))
            {
                this._-1bO(this._-1KQ);
                this._-2DB.visible = true;
                this._-1UY.visible = false;
            };
        }
        public function _-23Z():Array
        {
            var k:_-3sy;
            var k:int;
            var k:int;
            var k:Array = new Array();
            for each (k in this._-5D4)
            {
                k = this._-1k7(k.layerOptions);
                if (k < 0)
                {
                }
                else
                {
                    k = this._-1Gi(k.layerOptions);
                    if (k < 0)
                    {
                    }
                    else
                    {
                        k.push(k);
                        k.push(k);
                        k.push(k.layerOptions.position);
                    };
                };
            };
            return (k);
        }
        public function get _-ns():int
        {
            var k:_-3sy;
            if (this._-5D4 == null)
            {
                return (0);
            };
            var k:int;
            for each (k in this._-5D4)
            {
                if ((((this._-1k7(k.layerOptions) < 0)) || ((this._-1Gi(k.layerOptions) < 0))))
                {
                }
                else
                {
                    k = k.layerOptions.colorIndex;
                };
            };
            return (k);
        }
        public function get _-0Qn():int
        {
            if (this._-5D4 != null)
            {
                return (this._-5D4[0].layerOptions.colorIndex);
            };
            return (0);
        }
        public function _-3hX():BitmapData
        {
            var k:IBitmapWrapperWindow;
            var k:BitmapData = new BitmapData(BadgeEditorPartItem._-1Ms, BadgeEditorPartItem._-4ta, true, 15329761);
            for each (k in this._-Sq)
            {
                if (k.visible)
                {
                    k.copyPixels(k.bitmap, k.rect, new Point(), null, null, true);
                };
            };
            return (k);
        }
        private function _-1k7(_arg1:_-3um):int
        {
            if (_arg1._-3-1 < 0)
            {
                return (-1);
            };
            if (_arg1._-0ol == _-3sy._-0bG)
            {
                if (_arg1._-3-1 >= this._-Ry._-ln._-3Pi.length)
                {
                    return (-1);
                };
                return (this._-Ry._-ln._-3Pi[_arg1._-3-1].id);
            };
            if (_arg1._-3-1 >= this._-Ry._-ln._-0Os.length)
            {
                return (-1);
            };
            return (this._-Ry._-ln._-0Os[_arg1._-3-1].id);
        }
        private function _-1Gi(_arg1:_-3um):int
        {
            if ((((_arg1.colorIndex < 0)) || ((_arg1.colorIndex >= this._-Ry._-ln._-4oe.length))))
            {
                return (-1);
            };
            return (this._-Ry._-ln._-4oe[_arg1.colorIndex].id);
        }

    }
}//package _-4kp

//------------------------------------------------------------
//_-4kp.BadgeEditorPartItem

package _-4kp
{
    import _-19Y._-0e3;
    import flash.display.BitmapData;
    import flash.geom.ColorTransform;
    import _-2It._-0nT;
    import _-295._-3JR;
    import _-295._-2kE;
    import _-2It._-2eo;
    import flash.geom.Point;
    import _-295.*;
    import _-1B-.*;

    public class BadgeEditorPartItem implements _-1zZ, _-53S 
    {

        public static var _-1ec:int = 0;
        public static var _-3c5:int = 1;
        public static var _-1Ms:Number = 39;
        public static var _-4ta:Number = 39;
        public static var _-Ru:Number = 13;
        public static var _-e-:Number = 13;

        private var _-Ry:_-0e3;
        private var _-3yb:BadgeSelectPartCtrl;
        private var _-1Cs:int;
        private var _-5K:int;
        private var _-PW:String;
        private var _disposed:Boolean;
        private var _-0Mh:String;
        private var _-4Rt:String;
        private var _-4Gj:BitmapData;
        private var _-3n2:BitmapData;
        private var _-16Q:BitmapData;
        private var _-1Cw:ColorTransform;
        private var _-3PC:Boolean = false;
        private var _-4HA:Boolean = false;
        private var _-l3:Boolean = false;

        public function BadgeEditorPartItem(_arg1:_-0e3, _arg2:BadgeSelectPartCtrl, _arg3:int, _arg4:int, _arg5:_-0nT=null)
        {
            this._-1Cw = new ColorTransform(1, 1, 1);
            super();
            this._-1Cs = _arg3;
            this._-Ry = _arg1;
            this._-3yb = _arg2;
            this._-5K = _arg4;
            this._-PW = this._-Ry.configuration.getKey("image.library.badgepart.url", "http://images.habbo.com/c_images/Badgeparts/");
            this._-16Q = new BitmapData(_-1Ms, _-4ta);
            if (_arg5 == null)
            {
                this._-4HA = true;
                this._-l3 = true;
                this._-4Gj = this._-Ry._-1JQ("badge_part_empty");
            }
            else
            {
                this._-0Mh = _arg5._-CK.replace(".gif", "").replace(".png", "");
                this._-4Rt = _arg5._-Vj.replace(".gif", "").replace(".png", "");
                this._-3PC = (this._-4Rt.length > 0);
                this._-16Q = new BitmapData(_-1Ms, _-4ta);
                this._-0Mh = (((this._-PW + "badgepart_") + this._-0Mh) + ".png");
                this._-4Rt = (((this._-PW + "badgepart_") + this._-4Rt) + ".png");
                this._-Ry.windowManager._-3bG.retrieveAsset(this._-0Mh, this);
                this._-Ry.windowManager._-3bG.retrieveAsset(this._-4Rt, this);
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-3-1():int
        {
            return (this._-1Cs);
        }
        public function _-56a(_arg1:_-2kE, _arg2:String):void
        {
            var k:_-3JR = this._-Ry.windowManager._-3bG;
            if (k.isSameAsset(this._-0Mh, _arg2))
            {
                this._-4Gj = (_arg1.content as BitmapData);
            };
            if (k.isSameAsset(this._-4Rt, _arg2))
            {
                this._-3n2 = (_arg1.content as BitmapData);
            };
            this._-5-p();
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-4Gj)
                {
                    this._-4Gj.dispose();
                    this._-4Gj = null;
                };
                if (this._-3n2)
                {
                    this._-3n2.dispose();
                    this._-3n2 = null;
                };
                if (this._-16Q)
                {
                    this._-16Q.dispose();
                    this._-16Q = null;
                };
                this._-0Mh = null;
                this._-4Rt = null;
                this._-1Cw = null;
                this._-3yb = null;
                this._-Ry = null;
                this._disposed = true;
            };
        }
        private function _-5-p():void
        {
            if (this._-4Gj == null)
            {
                return;
            };
            if (((this._-3PC) && ((this._-3n2 == null))))
            {
                return;
            };
            this._-4HA = true;
            if (this._-5K == _-1ec)
            {
                this._-3yb._-0wD(this);
            }
            else
            {
                this._-3yb._-1lB(this);
            };
        }
        public function getComposite(_arg1:_-3um):BitmapData
        {
            if (!this._-4HA)
            {
                return (null);
            };
            if (this._-l3)
            {
                return (this._-4Gj);
            };
            var k:_-2eo = (this._-Ry._-ln._-4oe[_arg1.colorIndex] as _-2eo);
            this._-1Cw.redMultiplier = (k.red / 0xFF);
            this._-1Cw.greenMultiplier = (k.green / 0xFF);
            this._-1Cw.blueMultiplier = (k.blue / 0xFF);
            var k:Point = this._-2HO(_arg1);
            this._-16Q.dispose();
            this._-16Q = new BitmapData(_-1Ms, _-4ta, true, 0);
            this._-16Q.copyPixels(this._-4Gj, this._-4Gj.rect, k);
            this._-16Q.colorTransform(this._-16Q.rect, this._-1Cw);
            if (this._-3PC)
            {
                this._-16Q.copyPixels(this._-3n2, this._-3n2.rect, k, null, null, true);
            };
            return (this._-16Q);
        }
        private function _-2HO(_arg1:_-3um):Point
        {
            var k:Number = (((_-Ru * _arg1._-46b) + (_-Ru / 2)) - (this._-4Gj.width / 2));
            var k:Number = (((_-e- * _arg1._-1E8) + (_-e- / 2)) - (this._-4Gj.height / 2));
            if (k < 0)
            {
                k = 0;
            };
            if ((k + this._-4Gj.width) > _-1Ms)
            {
                k = (_-1Ms - this._-4Gj.width);
            };
            if (k < 0)
            {
                k = 0;
            };
            if ((k + this._-4Gj.height) > _-4ta)
            {
                k = (_-4ta - this._-4Gj.height);
            };
            return (new Point(Math.floor(k), Math.floor(k)));
        }

    }
}//package _-4kp

//------------------------------------------------------------
//_-4kp.BadgeSelectPartCtrl

package _-4kp
{
    import _-19Y._-0e3;
    import __AS3__.vec.Vector;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-2It._-0nT;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-1ae.IBorderWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class BadgeSelectPartCtrl implements _-1zZ 
    {

        private var _-Ry:_-0e3;
        private var _-3yb:BadgeEditorCtrl;
        private var _-4Ms:Vector.<BadgeEditorPartItem>;
        private var _-3BS:Vector.<BadgeEditorPartItem>;
        private var _-4um:_-3um;
        private var _-3En:IWindowContainer;
        private var _-4oE:IBitmapWrapperWindow;
        private var _disposed:Boolean = false;

        public function BadgeSelectPartCtrl(_arg1:_-0e3, _arg2:BadgeEditorCtrl)
        {
            this._-Ry = _arg1;
            this._-3yb = _arg2;
        }
        public function get layerOptions():_-3um
        {
            return (this._-4um);
        }
        public function set layerOptions(_arg1:_-3um):void
        {
            this._-4um = _arg1;
        }
        public function dispose():void
        {
            var k:BadgeEditorPartItem;
            if (!this._disposed)
            {
                if (((!((this._-3yb._-4OY == null))) && ((this._-3yb._-4OY.numGridItems > 0))))
                {
                    this._-3yb._-4OY.destroyGridItems();
                };
                if (this._-3BS)
                {
                    for each (k in this._-3BS)
                    {
                        k.dispose();
                    };
                    this._-3BS = null;
                };
                if (this._-4Ms)
                {
                    for each (k in this._-4Ms)
                    {
                        k.dispose();
                    };
                    this._-4Ms = null;
                };
                this._-4um = null;
                this._-4oE = null;
                this._-3En = null;
                this._-3yb = null;
                this._-Ry = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-23z():int
        {
            var k:int = -1;
            if (((((!((this._-4um == null))) && (!((this._-3yb._-4OY == null))))) && (!((this._-3En == null)))))
            {
                k = this._-3yb._-4OY.getGridItemIndex(this._-3En);
                if (((!((k == -1))) && (!((this._-4um._-0ol == _-3sy._-0bG)))))
                {
                    k--;
                };
            };
            return (k);
        }
        public function _-35r():void
        {
            var k:_-0nT;
            if (((!((this._-3BS == null))) || (!((this._-4Ms == null)))))
            {
                return;
            };
            this._-3BS = new Vector.<BadgeEditorPartItem>();
            for each (k in this._-Ry._-ln._-3Pi)
            {
                this._-3BS.push(new BadgeEditorPartItem(this._-Ry, this, this._-3BS.length, BadgeEditorPartItem._-1ec, k));
            };
            this._-4Ms = new Vector.<BadgeEditorPartItem>();
            this._-4Ms.push(new BadgeEditorPartItem(this._-Ry, this, -1, BadgeEditorPartItem._-3c5));
            for each (k in this._-Ry._-ln._-0Os)
            {
                this._-4Ms.push(new BadgeEditorPartItem(this._-Ry, this, (this._-4Ms.length - 1), BadgeEditorPartItem._-3c5, k));
            };
        }
        public function _-3Fl():void
        {
            var k:BadgeEditorPartItem;
            this._-3En = null;
            this._-4oE = null;
            this._-4um = this._-3yb._-2-1.clone();
            this._-3yb._-4OY.destroyGridItems();
            if (this._-4um._-0ol == _-3sy._-0bG)
            {
                for each (k in this._-3BS)
                {
                    this._-3yb._-4OY._-2-F(this._-1B9(k));
                };
            }
            else
            {
                for each (k in this._-4Ms)
                {
                    this._-3yb._-4OY._-2-F(this._-1B9(k));
                };
            };
        }
        private function _-1B9(_arg1:BadgeEditorPartItem):IWindowContainer
        {
            var k:IWindowContainer = (this._-Ry.getXmlWindow("badge_part_item") as IWindowContainer);
            k.procedure = this._-2t8;
            this._-0yG(k, _arg1);
            return (k);
        }
        public function _-0wD(_arg1:BadgeEditorPartItem):void
        {
            var k:IWindowContainer;
            if (((((!((this._-4um == null))) && ((this._-4um._-0ol == _-3sy._-0bG)))) && (this._-3yb._-0oG.visible)))
            {
                k = (this._-3yb._-4OY._-jx(_arg1._-3-1) as IWindowContainer);
                this._-0yG(k, _arg1);
            };
        }
        public function _-1lB(_arg1:BadgeEditorPartItem):void
        {
            var k:IWindowContainer;
            if (((((!((this._-4um == null))) && (!((this._-4um._-0ol == _-3sy._-0bG))))) && (this._-3yb._-0oG.visible)))
            {
                k = (this._-3yb._-4OY._-jx((_arg1._-3-1 + 1)) as IWindowContainer);
                this._-0yG(k, _arg1);
            };
        }
        private function _-0yG(_arg1:IWindowContainer, _arg2:BadgeEditorPartItem):void
        {
            var k:IBitmapWrapperWindow;
            var k:BitmapData = _arg2.getComposite(this._-4um);
            if (k != null)
            {
                k = (_arg1.findChildByName("part") as IBitmapWrapperWindow);
                k.bitmap = new BitmapData(k.width, k.height);
                k.bitmap.copyPixels(k, k.rect, new Point());
            };
            var k:IBitmapWrapperWindow = (_arg1.findChildByName("selected") as IBitmapWrapperWindow);
            k.bitmap = this._-Ry._-1JQ("badge_part_picker");
            if (_arg2._-3-1 == this._-4um._-3-1)
            {
                k.visible = true;
                this._-4oE = k;
            }
            else
            {
                k.visible = false;
            };
        }
        private function _-2t8(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:IBorderWindow;
            var k:IWindowContainer;
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                if (this._-3En != _arg2)
                {
                    if (this._-3En != null)
                    {
                        k = (this._-3En.findChildByName("background") as IBorderWindow);
                        if (k != null)
                        {
                            k.color = 15329761;
                        };
                    };
                    this._-3En = (_arg2 as IWindowContainer);
                    if (this._-3En != null)
                    {
                        k = (this._-3En.findChildByName("background") as IBorderWindow);
                        if (k != null)
                        {
                            k.color = 14210761;
                        };
                        this._-4um._-3-1 = this._-23z();
                        this._-3yb._-1qO(this);
                    };
                };
            };
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (this._-4oE != null)
                {
                    this._-4oE.visible = false;
                };
                k = (_arg2 as IWindowContainer);
                if (k != null)
                {
                    this._-4oE = (k.findChildByName("selected") as IBitmapWrapperWindow);
                    this._-4oE.visible = true;
                };
                this._-3yb._-593(this);
            };
        }
        public function _-4Lr(_arg1:_-3um):BitmapData
        {
            if ((((_arg1 == null)) || ((_arg1._-3-1 < 0))))
            {
                return (null);
            };
            if (_arg1._-0ol == _-3sy._-0bG)
            {
                if (((!((this._-3BS == null))) && ((_arg1._-3-1 < this._-3BS.length))))
                {
                    return (this._-3BS[_arg1._-3-1].getComposite(_arg1));
                };
            }
            else
            {
                if (((!((this._-4Ms == null))) && (((_arg1._-3-1 + 1) < this._-4Ms.length))))
                {
                    return (this._-4Ms[(_arg1._-3-1 + 1)].getComposite(_arg1));
                };
            };
            return (null);
        }

    }
}//package _-4kp

//------------------------------------------------------------
//_-4lJ._-57M

package _-4lJ
{
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.text.TextFormat;
    import flash.text.TextField;
    import flash.geom.Matrix;

    public class _-57M 
    {

        private var _-06f:BitmapData;
        private var _-3uB:Boolean;
        private var _-mU:BitmapData;
        private var _-18s:int = -1;
        private var _-0PC:int;

        public function _-57M(_arg1:BitmapData, _arg2:Boolean=true)
        {
            this._-06f = _arg1;
            this._-3uB = _arg2;
            if (this._-06f != null)
            {
                this._-mU = this._-06f.clone();
            };
            this._-3HQ(0);
        }
        public function dispose():void
        {
            if (this._-mU)
            {
                this._-mU.dispose();
                this._-mU = null;
            };
            if (this._-06f != null)
            {
                if (this._-3uB)
                {
                    this._-06f.dispose();
                };
                this._-06f = null;
            };
        }
        public function get alpha():int
        {
            return (this._-0PC);
        }
        public function set alpha(_arg1:int):void
        {
            this._-0PC = _arg1;
        }
        public function get image():BitmapData
        {
            return (this._-06f);
        }
        public function _-3HQ(_arg1:int):void
        {
            if ((((this._-18s == _arg1)) || ((this._-06f == null))))
            {
                return;
            };
            this._-06f.copyPixels(this._-mU, this._-mU.rect, new Point(0, 0));
            var k:TextFormat = new TextFormat();
            k.font = "Volter";
            k.color = 0xFFFFFF;
            k.size = 9;
            var k:TextField = new TextField();
            k.embedFonts = true;
            k.width = 30;
            k.height = 12;
            k.background = true;
            k.backgroundColor = 0xE6C0B500;
            k.defaultTextFormat = k;
            k.text = ("+" + _arg1);
            var k:Matrix = new Matrix();
            k.translate(15, 19);
            this._-06f.draw(k, k);
        }

    }
}//package _-4lJ

//------------------------------------------------------------
//_-4lJ.AnimatedPetVisualization

package _-4lJ
{
    import _-1qL._-0Rp;
    import _-0ah.AnimationStateData;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-4rn._-H0;
    import _-0y0._-3q6;
    import _-3V-._-3SU;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import _-4rn._-59O;
    import _-0ah.AnimationData;
    import _-0ah.AnimationFrame;
    import _-022._-2G2;
    import _-0ah._-0Pn;
    import _-1qL.FurnitureVisualizationData;
    import _-0ah.DirectionData;

    public class AnimatedPetVisualization extends _-0Rp 
    {

        private static const _-3LE:String = "head";
        private static const _-3Mb:String = "saddle";
        private static const _-10p:String = "hair";
        private static const _-4-f:int = 1;
        private static const _-3vN:int = 1000;
        private static const _-4JL:String = "pet_experience_bubble_png";
        private static const _-2c9:int = 0;
        private static const _-1c7:int = 1;
        private static const _-2O1:int = 2;

        private var _-53c:String = "";
        private var _-59A:String = "";
        private var _-QF:Boolean = false;
        private var _-2VT:int = 0;
        private var _-3Ql:_-57M;
        private var _-1fS:int = 0;
        private var _-Up:int = 0;
        private var _-3MS:AnimatedPetVisualizationData = null;
        private var _-0oJ:String = "";
        private var _-2IA:int = -1;
        private var _-18Q:Array;
        private var _-04S:Array;
        private var _-UC:Array;
        private var _color:int = 0xFFFFFF;
        private var _-0Le:Boolean = false;
        private var _-2uo:Boolean = false;
        private var _-2Xp:Array;
        private var _-1dU:Boolean = false;
        private var _-4pM:Array;
        private var _-3Wz:Array;
        private var _-4Si:Array;
        private var _-3LA:int = -1;

        public function AnimatedPetVisualization()
        {
            this._-18Q = [];
            this._-04S = [];
            this._-UC = [];
            this._-2Xp = [];
            this._-4pM = [];
            this._-3Wz = [];
            this._-4Si = [];
            super();
            while (this._-2Xp.length < _-2O1)
            {
                this._-2Xp.push(new AnimationStateData());
            };
        }
        override public function dispose():void
        {
            var k:int;
            var k:AnimationStateData;
            super.dispose();
            if (this._-2Xp != null)
            {
                k = 0;
                while (k < this._-2Xp.length)
                {
                    k = (this._-2Xp[k] as AnimationStateData);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-2Xp = null;
            };
            if (this._-3Ql)
            {
                this._-3Ql.dispose();
                this._-3Ql = null;
            };
        }
        override protected function getAnimationId(_arg1:AnimationStateData):int
        {
            return (_arg1.animationId);
        }
        override public function initialize(_arg1:_-H0):Boolean
        {
            var k:BitmapDataAsset;
            if (!(_arg1 is AnimatedPetVisualizationData))
            {
                return (false);
            };
            this._-3MS = (_arg1 as AnimatedPetVisualizationData);
            var k:BitmapData;
            if (this._-3MS._-1al != null)
            {
                k = (this._-3MS._-1al.getAssetByName(_-4JL) as BitmapDataAsset);
                if (k != null)
                {
                    k = (k.content as BitmapData).clone();
                    this._-3Ql = new _-57M(k);
                };
            };
            if (super.initialize(_arg1))
            {
                return (true);
            };
            return (false);
        }
        override public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
            super.update(_arg1, _arg2, _arg3, _arg4);
            this._-2L2(_arg2);
        }
        override protected function updateAnimation(_arg1:Number):int
        {
            var k:int;
            var k:_-3SU = object;
            if (k != null)
            {
                k = k.getDirection().x;
                if (k != this._-3LA)
                {
                    this._-3LA = k;
                    this.resetAllAnimationFrames();
                };
            };
            return (super.updateAnimation(_arg1));
        }
        override protected function updateModel(_arg1:Number):Boolean
        {
            var k:String;
            var k:String;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:int;
            var k:Array;
            var k:Array;
            var k:Array;
            var k:int;
            var k:Number;
            var k:int;
            var k:int;
            var k:_-3SU = object;
            if (k == null)
            {
                return (false);
            };
            var k:_-30N = k.getModel();
            if (k == null)
            {
                return (false);
            };
            if (k._-1Pk() != _-1WO)
            {
                k = k.getString(_-4Wq._-0nJ);
                k = k.getString(_-4Wq._-0Bj);
                k = k.getNumber(_-4Wq._-0nJ);
                if (!isNaN(k))
                {
                    k = this._-3MS._-1-U(_-3RS);
                    if (k > 0)
                    {
                        k = this._-3MS._-01p(_-3RS, (k % k));
                        k = null;
                    };
                };
                k = k.getNumber(_-4Wq._-0Bj);
                if (!isNaN(k))
                {
                    k = this._-3MS._-Vc(_-3RS);
                    if (k > 0)
                    {
                        k = this._-3MS._-4j-(_-3RS, (k % k));
                    };
                };
                this._-4o(k, k);
                k = k.getNumber(_-4Wq._-50W);
                if (isNaN(k))
                {
                    k = 1;
                };
                if (k != _-4GT)
                {
                    _-4GT = k;
                    _-2ji = true;
                };
                this._-QF = (k.getNumber(_-4Wq._-4uh) > 0);
                k = k.getNumber(_-4Wq._-49h);
                if (((!(isNaN(k))) && (this._-3MS._-46d)))
                {
                    this._-2VT = k;
                }
                else
                {
                    this._-2VT = k.getDirection().x;
                };
                this._-1fS = k.getNumber(_-4Wq._-45r);
                this._-Up = k.getNumber(_-4Wq._-3KD);
                k = k.getNumber(_-4Wq._-4QR);
                if (k != this._-2IA)
                {
                    this._-2IA = k;
                    this._-0oJ = this._-2IA.toString();
                };
                k = k.getNumberArray(_-4Wq._-1H7);
                this._-18Q = (((k)!=null) ? k : []);
                k = k.getNumberArray(_-4Wq._-2qV);
                this._-04S = (((k)!=null) ? k : []);
                k = k.getNumberArray(_-4Wq._-4-3);
                this._-UC = (((k)!=null) ? k : []);
                k = k.getNumber(_-4Wq._-dp);
                this._-2uo = ((!(isNaN(k))) && ((k > 0)));
                k = k.getNumber(_-4Wq._-xD);
                if (((!(isNaN(k))) && (!((k == this._color)))))
                {
                    this._color = k;
                };
                this._-0Le = (k.getNumber(_-4Wq._-3Dx) > 0);
                _-1WO = k._-1Pk();
                return (true);
            };
            return (false);
        }
        private function _-2L2(_arg1:int):void
        {
            var k:int;
            var k:_-59O;
            if (this._-3Ql != null)
            {
                this._-3Ql.alpha = 0;
                if (this._-1fS > 0)
                {
                    k = (_arg1 - this._-1fS);
                    if (k < _-3vN)
                    {
                        this._-3Ql.alpha = int((Math.sin(((k / _-3vN) * Math.PI)) * 0xFF));
                        this._-3Ql._-3HQ(this._-Up);
                    }
                    else
                    {
                        this._-1fS = 0;
                    };
                    k = _-2IM((_-18O - 1));
                    if (k != null)
                    {
                        if (this._-3Ql.alpha > 0)
                        {
                            k.asset = this._-3Ql.image;
                            k.offsetX = -20;
                            k.offsetY = -80;
                            k.alpha = this._-3Ql.alpha;
                            k.visible = true;
                        }
                        else
                        {
                            k.asset = null;
                            k.visible = false;
                        };
                    };
                };
            };
        }
        private function _-4o(_arg1:String, _arg2:String):void
        {
            var k:int;
            if (_arg1 != this._-53c)
            {
                this._-53c = _arg1;
                k = this._-3MS._-3Hp(_-3RS, _arg1);
                this._-0D4(_-2c9, k);
            };
            if (this._-3MS. do(_-3RS, _arg1))
            {
                k = null;
            };
            if (_arg2 != this._-59A)
            {
                this._-59A = _arg2;
                k = this._-3MS._-n0(_-3RS, _arg2);
                this._-0D4(_-1c7, k);
            };
        }
        override protected function updateLayerCount(_arg1:int):void
        {
            super.updateLayerCount(_arg1);
            this._-4pM = [];
        }
        override protected function getAdditionalSpriteCount():int
        {
            return ((super.getAdditionalSpriteCount() + _-4-f));
        }
        override protected function setAnimation(_arg1:int):void
        {
        }
        private function _-30K(_arg1:int):AnimationStateData
        {
            var k:AnimationStateData;
            if ((((_arg1 >= 0)) && ((_arg1 < this._-2Xp.length))))
            {
                k = this._-2Xp[_arg1];
                return (k);
            };
            return (null);
        }
        private function _-0D4(_arg1:int, _arg2:int):void
        {
            var k:AnimationStateData = this._-30K(_arg1);
            if (k != null)
            {
                if (_-2Zt(k, _arg2))
                {
                    this._-1dU = false;
                };
            };
        }
        override protected function resetAllAnimationFrames():void
        {
            var k:AnimationStateData;
            this._-1dU = false;
            var k:int = (this._-2Xp.length - 1);
            while (k >= 0)
            {
                k = this._-2Xp[k];
                if (k != null)
                {
                    k._-4v3(layerCount);
                };
                k--;
            };
        }
        override protected function updateAnimations(_arg1:Number):int
        {
            var k:AnimationStateData;
            var k:int;
            if (this._-1dU)
            {
                return (0);
            };
            var k:Boolean = true;
            var k:int;
            var k:int;
            while (k < this._-2Xp.length)
            {
                k = this._-2Xp[k];
                if (k != null)
                {
                    if (!k._-4mC)
                    {
                        k = _-11D(k, _arg1);
                        k = (k | k);
                        if (!k._-4mC)
                        {
                            k = false;
                        }
                        else
                        {
                            if (((AnimationData._-2pL(k.animationId)) || (AnimationData._-2qT(k.animationId))))
                            {
                                this._-0D4(k, k._-2Iy);
                                k = false;
                            };
                        };
                    };
                };
                k++;
            };
            this._-1dU = k;
            return (k);
        }
        override protected function getFrameNumber(_arg1:int, _arg2:int):int
        {
            var k:AnimationStateData;
            var k:AnimationFrame;
            var k:int = (this._-2Xp.length - 1);
            while (k >= 0)
            {
                k = this._-2Xp[k];
                if (k != null)
                {
                    k = k._-44L(_arg2);
                    if (k != null)
                    {
                        return (k.id);
                    };
                };
                k--;
            };
            return (super.getFrameNumber(_arg1, _arg2));
        }
        override protected function getSpriteXOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:AnimationStateData;
            var k:AnimationFrame;
            var k:int = super.getSpriteXOffset(_arg1, _arg2, _arg3);
            var k:int = (this._-2Xp.length - 1);
            while (k >= 0)
            {
                k = this._-2Xp[k];
                if (k != null)
                {
                    k = k._-44L(_arg3);
                    if (k != null)
                    {
                        k = (k + k.x);
                    };
                };
                k--;
            };
            return (k);
        }
        override protected function getSpriteYOffset(_arg1:int, _arg2:int, _arg3:int):int
        {
            var k:AnimationStateData;
            var k:AnimationFrame;
            var k:int = super.getSpriteYOffset(_arg1, _arg2, _arg3);
            var k:int = (this._-2Xp.length - 1);
            while (k >= 0)
            {
                k = this._-2Xp[k];
                if (k != null)
                {
                    k = k._-44L(_arg3);
                    if (k != null)
                    {
                        k = (k + k.y);
                    };
                };
                k--;
            };
            return (k);
        }
        override protected function getAsset(_arg1:String, _arg2:int=-1):_-2G2
        {
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            var k:_-2G2;
            if (_-0-Z != null)
            {
                k = this._-18Q.indexOf(_arg2);
                k = this._-0oJ;
                k = -1;
                k = -1;
                if (k > -1)
                {
                    k = this._-04S[k];
                    k = this._-UC[k];
                    k = (((k)>-1) ? String(k) : this._-0oJ);
                };
                if (((!(isNaN(k))) && ((k > -1))))
                {
                    k = (_arg1 + ("_" + k));
                };
                k = _-0-Z.getAssetWithPalette(_arg1, k);
                return (k);
            };
            return (null);
        }
        override protected function getSpriteZOffset(_arg1:int, _arg2:int, _arg3:int):Number
        {
            if (this._-3MS == null)
            {
                return (_-0Pn._-3Vi);
            };
            var k:Number = this._-3MS._-4yi(_arg1, this.getDirection(_arg1, _arg3), _arg3);
            return (k);
        }
        override protected function getSpriteAssetName(_arg1:int, _arg2:int):String
        {
            var k:int;
            var k:String;
            if (((this._-0Le) && (this._-04(_arg2))))
            {
                return (null);
            };
            if (((this._-2uo) && (this._-0bV(_arg2))))
            {
                return (null);
            };
            var k:int = _-18O;
            if (_arg2 < (k - _-4-f))
            {
                k = _-1jp(_arg1);
                if (_arg2 < (k - (1 + _-4-f)))
                {
                    if (_arg2 >= FurnitureVisualizationData._-3YQ.length)
                    {
                        return (null);
                    };
                    k = FurnitureVisualizationData._-3YQ[_arg2];
                    if (k == 1)
                    {
                        return (((type + "_icon_") + k));
                    };
                    return (((((((((type + "_") + k) + "_") + k) + "_") + this.getDirection(_arg1, _arg2)) + "_") + this.getFrameNumber(k, _arg2)));
                };
                return ((((((type + "_") + k) + "_sd_") + this.getDirection(_arg1, _arg2)) + "_0"));
            };
            return (null);
        }
        override protected function getSpriteColor(_arg1:int, _arg2:int, _arg3:int):int
        {
            if (_arg2 < (_-18O - _-4-f))
            {
                return (this._color);
            };
            return (0xFFFFFF);
        }
        private function getDirection(_arg1:int, _arg2:int):int
        {
            if (this._-4DD(_arg2))
            {
                return (this._-3MS._-28H(_arg1, this._-2VT));
            };
            return (direction);
        }
        private function _-4DD(_arg1:int):Boolean
        {
            var k:Boolean;
            var k:Boolean;
            if (this._-4pM[_arg1] == null)
            {
                k = (this._-3MS._-2Dc(_-3RS, DirectionData._-32P, _arg1) == _-3LE);
                k = (this._-3MS._-2Dc(_-3RS, DirectionData._-32P, _arg1) == _-10p);
                if (((k) || (k)))
                {
                    this._-4pM[_arg1] = true;
                }
                else
                {
                    this._-4pM[_arg1] = false;
                };
            };
            return (this._-4pM[_arg1]);
        }
        private function _-04(_arg1:int):Boolean
        {
            var k:String;
            if (this._-3Wz[_arg1] == null)
            {
                if (_arg1 < (_-18O - (1 + _-4-f)))
                {
                    k = this._-3MS._-2Dc(_-3RS, DirectionData._-32P, _arg1);
                    if (((((((!((k == null))) && ((k.length > 0)))) && (!((k == _-3LE))))) && (!((k == _-10p)))))
                    {
                        this._-3Wz[_arg1] = true;
                    }
                    else
                    {
                        this._-3Wz[_arg1] = false;
                    };
                }
                else
                {
                    this._-3Wz[_arg1] = true;
                };
            };
            return (this._-3Wz[_arg1]);
        }
        private function _-0bV(_arg1:int):Boolean
        {
            if (this._-4Si[_arg1] == null)
            {
                if (this._-3MS._-2Dc(_-3RS, DirectionData._-32P, _arg1) == _-3Mb)
                {
                    this._-4Si[_arg1] = true;
                }
                else
                {
                    this._-4Si[_arg1] = false;
                };
            };
            return (this._-4Si[_arg1]);
        }

    }
}//package _-4lJ

//------------------------------------------------------------
//_-4lJ.AnimatedPetVisualizationData

package _-4lJ
{
    import _-1qL.AnimatedFurnitureVisualizationData;
    import _-295._-39L;
    import _-0ah.SizeData;
    import _-0ah.AnimationSizeData;

    public class AnimatedPetVisualizationData extends AnimatedFurnitureVisualizationData 
    {

        private var _-0lQ:_-39L = null;
        private var _-3uI:Boolean = true;

        public function set _-1al(_arg1:_-39L):void
        {
            this._-0lQ = _arg1;
        }
        public function get _-1al():_-39L
        {
            return (this._-0lQ);
        }
        override protected function defineVisualizations(_arg1:XML):Boolean
        {
            this._-3uI = ((_arg1.hasOwnProperty("@disableheadturn")) ? !((_arg1.@disableheadturn == "1")) : true);
            return (super.defineVisualizations(_arg1));
        }
        override protected function createSizeData(_arg1:int, _arg2:int, _arg3:int):SizeData
        {
            var k:SizeData;
            if (_arg1 > 1)
            {
                k = new PetAnimationSizeData(_arg2, _arg3);
            }
            else
            {
                k = new AnimationSizeData(_arg2, _arg3);
            };
            return (k);
        }
        override protected function processVisualizationElement(_arg1:SizeData, _arg2:XML):Boolean
        {
            var k:PetAnimationSizeData;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (false);
            };
            switch (String(_arg2.name()))
            {
                case "postures":
                    k = (_arg1 as PetAnimationSizeData);
                    if (k != null)
                    {
                        if (!k._-0-A(_arg2))
                        {
                            return (false);
                        };
                    };
                    break;
                case "gestures":
                    k = (_arg1 as PetAnimationSizeData);
                    if (k != null)
                    {
                        if (!k._-2Ew(_arg2))
                        {
                            return (false);
                        };
                    };
                    break;
                default:
                    if (!super.processVisualizationElement(_arg1, _arg2))
                    {
                        return (false);
                    };
            };
            return (true);
        }
        public function _-3Hp(_arg1:int, _arg2:String):int
        {
            var k:PetAnimationSizeData = (_-0TY(_arg1) as PetAnimationSizeData);
            if (k != null)
            {
                return (k._-3Hp(_arg2));
            };
            return (PetAnimationSizeData._-4u6);
        }
        public function  do(_arg1:int, _arg2:String):Boolean
        {
            var k:PetAnimationSizeData = (_-0TY(_arg1) as PetAnimationSizeData);
            if (k != null)
            {
                return (k. do(_arg2));
            };
            return (false);
        }
        public function _-n0(_arg1:int, _arg2:String):int
        {
            var k:PetAnimationSizeData = (_-0TY(_arg1) as PetAnimationSizeData);
            if (k != null)
            {
                return (k._-n0(_arg2));
            };
            return (PetAnimationSizeData._-4u6);
        }
        public function _-01p(_arg1:int, _arg2:int):String
        {
            var k:PetAnimationSizeData = (_-0TY(_arg1) as PetAnimationSizeData);
            if (k != null)
            {
                return (k._-01p(_arg2));
            };
            return (null);
        }
        public function _-4j-(_arg1:int, _arg2:int):String
        {
            var k:PetAnimationSizeData = (_-0TY(_arg1) as PetAnimationSizeData);
            if (k != null)
            {
                return (k._-4j-(_arg2));
            };
            return (null);
        }
        public function _-1-U(_arg1:int):int
        {
            var k:PetAnimationSizeData = (_-0TY(_arg1) as PetAnimationSizeData);
            if (k != null)
            {
                return (k._-1-U());
            };
            return (0);
        }
        public function _-Vc(_arg1:int):int
        {
            var k:PetAnimationSizeData = (_-0TY(_arg1) as PetAnimationSizeData);
            if (k != null)
            {
                return (k._-Vc());
            };
            return (0);
        }
        public function get _-46d():Boolean
        {
            return (this._-3uI);
        }

    }
}//package _-4lJ

//------------------------------------------------------------
//_-4lJ.PetAnimationSizeData

package _-4lJ
{
    import _-0ah.AnimationSizeData;
    import _-18r.Map;
    import _-0y0.XMLValidator;
    import _-0ah.*;

    public class PetAnimationSizeData extends AnimationSizeData 
    {

        public static const _-4u6:int = -1;

        private var _-57h:Map;
        private var _-1Mh:Map;
        private var _-4j8:String;

        public function PetAnimationSizeData(_arg1:int, _arg2:int)
        {
            this._-57h = new Map();
            this._-1Mh = new Map();
            super(_arg1, _arg2);
        }
        public function _-0-A(_arg1:XML):Boolean
        {
            var k:XML;
            var k:String;
            var k:int;
            if (_arg1 == null)
            {
                return (false);
            };
            if (XMLValidator._-4qb(_arg1, ["defaultPosture"]))
            {
                this._-4j8 = _arg1.@defaultPosture;
            }
            else
            {
                this._-4j8 = null;
            };
            var k:Array = ["id", "animationId"];
            var k:XMLList = _arg1.posture;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = String(k.@id);
                k = int(k.@animationId);
                this._-57h.add(k, k);
                if (this._-4j8 == null)
                {
                    this._-4j8 = k;
                };
                k++;
            };
            if (this._-57h.getValue(this._-4j8) == null)
            {
                return (false);
            };
            return (true);
        }
        public function _-2Ew(_arg1:XML):Boolean
        {
            var k:XML;
            var k:String;
            var k:int;
            if (_arg1 == null)
            {
                return (true);
            };
            var k:Array = ["id", "animationId"];
            var k:XMLList = _arg1.gesture;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (!XMLValidator._-4qb(k, k))
                {
                    return (false);
                };
                k = String(k.@id);
                k = int(k.@animationId);
                this._-1Mh.add(k, k);
                k++;
            };
            return (true);
        }
        public function _-3Hp(_arg1:String):int
        {
            if (this._-57h.getValue(_arg1) == null)
            {
                k = this._-4j8;
            };
            var k:int = this._-57h.getValue(_arg1);
            return (k);
        }
        public function  do(_arg1:String):Boolean
        {
            if (_arg1 == "ded")
            {
                return (true);
            };
            return (false);
        }
        public function _-n0(_arg1:String):int
        {
            if (this._-1Mh.getValue(_arg1) == null)
            {
                return (_-4u6);
            };
            var k:int = this._-1Mh.getValue(_arg1);
            return (k);
        }
        public function _-01p(_arg1:int):String
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-57h.length))))
            {
                return (this._-57h.getKey(_arg1));
            };
            return (this._-4j8);
        }
        public function _-4j-(_arg1:int):String
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-1Mh.length))))
            {
                return (this._-1Mh.getKey(_arg1));
            };
            return (null);
        }
        public function _-1-U():int
        {
            return (this._-57h.length);
        }
        public function _-Vc():int
        {
            return (this._-1Mh.length);
        }

    }
}//package _-4lJ

//------------------------------------------------------------
//_-4MD._-2Sc

package _-4MD
{
    import _-FP._-2ul;
    import _-1B-._-Px;
    import _-18r.Map;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-4Iw;
    import flash.events.IEventDispatcher;
    import _-og._-2AE;
    import _-1FD._-0hl;
    import _-3mW._-1IS;
    import _-1FD._-4xB;
    import _-1FD._-4jZ;
    import _-1B-.*;

    public class _-2Sc extends _-2ul implements _-0gI 
    {

        private var _-3Gv:_-Px;
        private var _-3nc:Map;

        public function _-2Sc(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-Px)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-3Gv = _arg5;
            this._-3nc = new Map();
        }
        override public function dispose():void
        {
            var k:_-3fv;
            if (disposed)
            {
                return;
            };
            if (this._-3Gv)
            {
                this._-3Gv.removeUpdateReceiver(this);
                this._-3Gv = null;
            };
            if (this._-3nc)
            {
                for each (k in this._-3nc)
                {
                    k.dispose();
                    k = null;
                };
                this._-3nc.dispose();
                this._-3nc = null;
            };
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (!_arg1)
            {
                return;
            };
            _arg1.addEventListener(_-4Iw._-Li, this._-3go);
            _arg1.addEventListener(_-4Iw._-2-A, this._-3go);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-4Iw._-Li, this._-3go);
            _arg1.removeEventListener(_-4Iw._-2-A, this._-3go);
        }
        private function _-3go(_arg1:_-4Iw):void
        {
            if (!_arg1)
            {
                return;
            };
            switch (_arg1.type)
            {
                case _-4Iw._-Li:
                    this._-ED(_arg1._-0nn, new _-3fv(this, _arg1._-0nn, _arg1.userId, _arg1.userName));
                    break;
                case _-4Iw._-2-A:
                    this._-2PM(_arg1._-0nn);
                    break;
            };
            this._-1Nk();
        }
        public function _-1Nk():void
        {
            if (!this._-3Gv)
            {
                return;
            };
            if (((this._-3nc) && ((this._-3nc.length > 0))))
            {
                this._-3Gv.registerUpdateReceiver(this, 10);
            }
            else
            {
                this._-3Gv.removeUpdateReceiver(this);
            };
        }
        public function update(_arg1:uint):void
        {
            var k:_-3fv;
            var k:_-2AE;
            if (!this._-3nc)
            {
                return;
            };
            for each (k in this._-3nc)
            {
                if (!k)
                {
                }
                else
                {
                    k = (messageListener.processWidgetMessage(new _-0hl(_-0hl._-4wM, k.userId, _-1IS._-0p3)) as _-2AE);
                    if (!k)
                    {
                    }
                    else
                    {
                        k._-0eS = k.rectangle;
                    };
                };
            };
        }
        public function _-4eX(_arg1:int):void
        {
            if (!messageListener)
            {
                return;
            };
            messageListener.processWidgetMessage(new _-4xB(_-4xB._-iL, _arg1));
            this._-2PM(_arg1);
        }
        public function _-4bw(_arg1:int):void
        {
            if (!messageListener)
            {
                return;
            };
            messageListener.processWidgetMessage(new _-4xB(_-4xB._-10k, _arg1));
            this._-2PM(_arg1);
        }
        public function _-CO(_arg1:int):void
        {
            this._-2PM(_arg1);
        }
        private function _-ED(_arg1:int, _arg2:_-3fv):void
        {
            if (((!(this._-3nc)) || (!(_arg2))))
            {
                return;
            };
            this._-3nc.add(_arg1, _arg2);
        }
        private function _-2PM(_arg1:int):void
        {
            if (!this._-3nc)
            {
                return;
            };
            var k:_-3fv = (this._-3nc.getValue(_arg1) as _-3fv);
            if (!k)
            {
                return;
            };
            this._-3nc.remove(_arg1);
            k.dispose();
            this._-1Nk();
        }
        public function showProfile(_arg1:int, _arg2:String):void
        {
            messageListener.processWidgetMessage(new _-4jZ(_-4jZ._-3aE, _arg1, _arg2));
        }

    }
}//package _-4MD

//------------------------------------------------------------
//_-4MD._-3fv

package _-4MD
{
    import _-Ew.IWindowContainer;
    import _-2vN._-3hb;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-0Ie.WindowEvent;
    import _-1ae.IRegionWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IIconWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import flash.geom.Rectangle;

    public class _-3fv 
    {

        private var _-0xv:IWindowContainer;
        private var _-0dg:_-2Sc;
        private var _-by:int;
        private var _-4lu:int;
        private var _-2lb:String;
        private var _-3Ot:Boolean = false;
        private var _-0Ga:Boolean = false;
        private var _-4Vr:Boolean = false;

        public function _-3fv(_arg1:_-2Sc, _arg2:int, _arg3:int, _arg4:String)
        {
            this._-0dg = _arg1;
            this._-by = _arg2;
            this._-4lu = _arg3;
            this._-2lb = _arg4;
        }
        public function dispose():void
        {
            this._-0dg = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
            };
            this._-0xv = null;
        }
        private function _-00i(_arg1:IWindow, _arg2:Function):void
        {
            if (_arg1 != null)
            {
                _arg1.setParamFlag(_-3hb._-0g6, true);
                _arg1.addEventListener(WindowMouseEvent._-90, _arg2);
            };
        }
        private function createWindow():void
        {
            if (((((!(this._-0dg)) || (!(this._-0dg.assets)))) || (!(this._-0dg.windowManager))))
            {
                return;
            };
            var k:_-243 = (this._-0dg.assets.getAssetByName("instant_friend_request") as _-243);
            if (!k)
            {
                return;
            };
            this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML), 0) as IWindowContainer);
            if (!this._-0xv)
            {
                return;
            };
            this._-0xv.addEventListener(WindowEvent._-zQ, this._-1b0);
            var k:IRegionWindow = (this._-0xv.findChildByName("profile_region") as IRegionWindow);
            if (k)
            {
                k.procedure = this._-1Wk;
                k._-2QR = this._-0dg.localizations.getKey("infostand.profile.link.tooltip", "");
                k._-1e = 100;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("text") as ITextWindow);
            if (k)
            {
                k.text = this._-0dg.localizations.registerParameter("widget.friendrequest.from", "username", this._-2lb);
            };
            var k:IWindow = this._-0xv.findChildByName("accept_button");
            this._-00i(k, this._-37F);
            var k:IWindow = this._-0xv.findChildByName("decline_button");
            this._-00i(k, this._-wT);
            var k:IWindow = this._-0xv.findChildByName("close_button");
            this._-00i(k, this._-4F9);
            var k:IIconWindow = (this._-0xv.findChildByName("profile_icon") as IIconWindow);
            k.procedure = this._-2i4;
            this._-0xv.procedure = this._-0Rw;
            this._-0xv.visible = false;
        }
        private function _-0Rw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (!_arg1)
            {
                return;
            };
            switch (_arg1.type)
            {
                case WindowMouseEvent._-4ea:
                    this._-3Ot = true;
                    return;
                case WindowMouseEvent._-4e2:
                    this._-3Ot = false;
                    return;
                case WindowMouseEvent._-3Jy:
                    this._-0Ga = true;
                    return;
                case WindowMouseEvent._-02B:
                case WindowMouseEvent._-2uJ:
                    this._-0Ga = false;
                    return;
            };
        }
        public function _-14m(_arg1:IBitmapWrapperWindow, _arg2:String):void
        {
            if (((((!(_arg1)) || (!(this._-0dg)))) || (!(this._-0dg.assets))))
            {
                return;
            };
            var k:BitmapDataAsset = (this._-0dg.assets.getAssetByName(_arg2) as BitmapDataAsset);
            if (!k)
            {
                return;
            };
            var k:BitmapData = (k.content as BitmapData);
            if (!k)
            {
                return;
            };
            if (_arg1.bitmap)
            {
                _arg1.bitmap.dispose();
            };
            _arg1.bitmap = new BitmapData(_arg1.width, _arg1.height, true, 0);
            _arg1.bitmap.draw(k);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function show():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.visible = true;
                this._-0xv.activate();
            };
        }
        public function set _-0eS(_arg1:Rectangle):void
        {
            var k:Point;
            if (!_arg1)
            {
                this._-0dg._-CO(this._-by);
                return;
            };
            if (((this._-3Ot) || (this._-0Ga)))
            {
                return;
            };
            var k:Boolean = true;
            if (!this._-0xv)
            {
                this.createWindow();
                k = false;
            };
            if (!this._-0xv)
            {
                return;
            };
            var k:Point = new Point(((_arg1.left + (_arg1.width / 2)) - (this._-0xv.width / 2)), ((_arg1.top - this._-0xv.height) + 10));
            var k:Number = Point.distance(this._-0xv.position, k);
            if (((k) && ((k > 5))))
            {
                k = Point.interpolate(this._-0xv.position, k, 0.5);
                this._-0xv.x = k.x;
                this._-0xv.y = k.y;
            }
            else
            {
                this._-0xv.x = k.x;
                this._-0xv.y = k.y;
            };
            if (!this._-0xv.visible)
            {
                this.show();
            };
            if (this._-4Vr)
            {
                this.show();
                this._-4Vr = false;
            };
        }
        private function _-1b0(_arg1:WindowEvent):void
        {
            this._-4Vr = true;
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            if (this._-0dg != null)
            {
                this._-0dg._-CO(this._-by);
            };
        }
        private function _-37F(_arg1:WindowMouseEvent):void
        {
            if (this._-0dg != null)
            {
                this._-0dg._-4eX(this._-by);
            };
        }
        private function _-wT(_arg1:WindowMouseEvent):void
        {
            if (this._-0dg != null)
            {
                this._-0dg._-4bw(this._-by);
            };
        }
        private function _-1Wk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:ITextWindow;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-0dg.showProfile(this._-4lu, "instantFriendRequest_name");
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                k = (this._-0xv.findChildByName("text") as ITextWindow);
                k.underline = true;
            };
            if (_arg1.type == WindowMouseEvent._-4e2)
            {
                k = (this._-0xv.findChildByName("text") as ITextWindow);
                k.underline = false;
            };
        }
        private function _-2i4(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:IIconWindow;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-0dg.showProfile(this._-4lu, "instantFriendRequest_icon");
            };
            if (_arg1.type == WindowMouseEvent._-4ea)
            {
                k = (this._-0xv.findChildByName("profile_icon") as IIconWindow);
                k.style = 22;
                k.invalidate();
            };
            if (_arg1.type == WindowMouseEvent._-4e2)
            {
                k = (this._-0xv.findChildByName("profile_icon") as IIconWindow);
                k.style = 21;
                k.invalidate();
            };
        }

    }
}//package _-4MD

//------------------------------------------------------------
//_-4ME._-0a4

package _-4ME
{
    import _-3yH.RoomSettingsData;
    import _-3yH._-0lY;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0a4 implements _-58N 
    {

        private var _-q0:RoomSettingsData;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-q0 = new RoomSettingsData();
            this._-q0.roomId = _arg1._-2BW();
            this._-q0.name = _arg1.readString();
            this._-q0.description = _arg1.readString();
            this._-q0._-0Qj = _arg1._-2BW();
            this._-q0._-2d- = _arg1._-2BW();
            this._-q0._-0qV = _arg1._-2BW();
            this._-q0._-32C = _arg1._-2BW();
            this._-q0.tags = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-q0.tags.push(_arg1.readString());
                k++;
            };
            this._-q0._-YP = _arg1._-2BW();
            this._-q0._-2l6 = (_arg1._-2BW() == 1);
            this._-q0._-1X = (_arg1._-2BW() == 1);
            this._-q0._-0ow = (_arg1._-2BW() == 1);
            this._-q0._-339 = (_arg1._-2BW() == 1);
            this._-q0._-0DQ = _arg1._-2BW();
            this._-q0._-2yC = _arg1._-2BW();
            this._-q0._-1so = new _-0lY(_arg1);
            return (true);
        }
        public function flush():Boolean
        {
            this._-q0 = null;
            return (true);
        }
        public function get data():RoomSettingsData
        {
            return (this._-q0);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-0xC

package _-4ME
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0xC implements _-58N 
    {

        private var _-1Rt:int;
        private var _-4lu:int;

        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-4lu = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Rt = _arg1._-2BW();
            this._-4lu = _arg1._-2BW();
            return (true);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-1v7

package _-4ME
{
    import _-3yH._-4tj;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1v7 implements _-58N 
    {

        private var _-1Rt:int;
        private var _-08w:Array;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Rt = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-08w.push(new _-4tj(_arg1));
                k++;
            };
            return (true);
        }
        public function flush():Boolean
        {
            this._-08w = [];
            return (true);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get _-5CZ():Array
        {
            return (this._-08w);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-2co

package _-4ME
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2co implements _-58N 
    {

        private var _-1Rt:int;
        private var _-b2:int;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Rt = _arg1._-2BW();
            this._-b2 = _arg1._-2BW();
            return (true);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-b2 = 0;
            return (true);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-2FW

package _-4ME
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2FW implements _-58N 
    {

        private var _-3MG:Boolean;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3MG = _arg1.readBoolean();
            return (true);
        }
        public function get _-4FL():Boolean
        {
            return (this._-3MG);
        }
        public function flush():Boolean
        {
            return ((this._-3MG = null));
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-2GF

package _-4ME
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2GF implements _-58N 
    {

        private var _-1jw:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1jw = _arg1._-2BW();
            return (true);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-2Qn

package _-4ME
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Qn implements _-58N 
    {

        private var _-1jw:int;
        private var _-4lu:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1jw = _arg1._-2BW();
            this._-4lu = _arg1._-2BW();
            return (true);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-2ZC

package _-4ME
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2ZC implements _-58N 
    {

        private var _-1Rt:int;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Rt = _arg1._-2BW();
            return (true);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            return (true);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-3FB

package _-4ME
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3FB implements _-58N 
    {

        public static const _-2Ui:int = 1;
        public static const _-3R5:int = 2;
        public static const _-48W:int = 3;
        public static const _-2Nk:int = 4;
        public static const _-Yf:int = 5;
        public static const _-03h:int = 6;
        public static const _-0mT:int = 7;
        public static const _-3du:int = 8;
        public static const _-1kh:int = 9;
        public static const _-0td:int = 10;
        public static const _-01s:int = 11;
        public static const _-2Ax:int = 12;

        private var _-1Rt:int;
        private var _-b2:int;
        private var _-3CI:String;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Rt = _arg1._-2BW();
            this._-b2 = _arg1._-2BW();
            this._-3CI = _arg1.readString();
            return (true);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function get info():String
        {
            return (this._-3CI);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-4Q3

package _-4ME
{
    import _-3yH._-4tj;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Q3 implements _-58N 
    {

        private var _-1jw:int;
        private var _-0qE:_-4tj;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1jw = _arg1._-2BW();
            this._-0qE = new _-4tj(_arg1);
            return (true);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get data():_-4tj
        {
            return (this._-0qE);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4ME._-HW

package _-4ME
{
    import _-3yH._-4hk;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-HW implements _-58N 
    {

        private var _-1Rt:int;
        private var _-px:Array;

        public function flush():Boolean
        {
            this._-px = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1Rt = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-px.push(new _-4hk(_arg1));
                k++;
            };
            return (true);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get _-3Nk():Array
        {
            return (this._-px);
        }

    }
}//package _-4ME

//------------------------------------------------------------
//_-4MO. try

package _-4MO
{
    import _-3aJ.AvatarVisualization;
    import _-295.BitmapDataAsset;
    import flash.utils.getTimer;
    import flash.display.BitmapData;
    import _-4rn._-59O;

    public class  try implements _-3-K 
    {

        private static const _-3zX:int = 2000;
        private static const _-2iS:int = 2000;
        private static const _-0G5:int = 0;
        private static const _-0Fv:int = 1;
        private static const _-4JD:int = 2;

        protected var _-0Kq:int;
        protected var _-1CY:AvatarVisualization;
        private var _-xd:BitmapDataAsset;
        private var _-4Dy:int;
        private var _-1Mv:int;
        private var _-3Tb:Number;
        private var _-0Ke:int = -1;

        public function  try(_arg1:int, _arg2:AvatarVisualization)
        {
            this._-0Kq = _arg1;
            this._-1CY = _arg2;
            this._-4Dy = getTimer();
            this._-0Ke = 0;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get disposed():Boolean
        {
            return ((this._-1CY == null));
        }
        public function dispose():void
        {
            this._-1CY = null;
            this._-xd = null;
        }
        protected function _-13j(_arg1:int):String
        {
            var k:String = "left";
            if ((((((((this._-1CY.angle == 135)) || ((this._-1CY.angle == 180)))) || ((this._-1CY.angle == 225)))) || ((this._-1CY.angle == 270))))
            {
                k = "right";
            };
            return (((((("user_idle_" + k) + "_") + _arg1) + (((this._-3Tb < 48)) ? "_small" : "")) + "_png"));
        }
        public function animate(_arg1:_-59O):Boolean
        {
            if (!_arg1)
            {
                return (false);
            };
            if (this._-0Ke == _-0G5)
            {
                if ((getTimer() - this._-4Dy) >= _-3zX)
                {
                    this._-0Ke = _-0Fv;
                    this._-4Dy = getTimer();
                    this._-xd = (this._-1CY.getAvatarRendererAsset(this._-13j(1)) as BitmapDataAsset);
                };
            };
            if (this._-0Ke == _-0Fv)
            {
                if ((getTimer() - this._-4Dy) >= _-2iS)
                {
                    this._-0Ke = _-4JD;
                    this._-4Dy = getTimer();
                    this._-xd = (this._-1CY.getAvatarRendererAsset(this._-13j(2)) as BitmapDataAsset);
                };
            };
            if (this._-0Ke == _-4JD)
            {
                if ((getTimer() - this._-4Dy) >= _-2iS)
                {
                    this._-0Ke = _-0Fv;
                    this._-4Dy = getTimer();
                    this._-xd = (this._-1CY.getAvatarRendererAsset(this._-13j(1)) as BitmapDataAsset);
                };
            };
            if (this._-xd)
            {
                _arg1.asset = (this._-xd.content as BitmapData);
                _arg1.alpha = 0xFF;
                _arg1.visible = true;
            }
            else
            {
                _arg1.visible = false;
            };
            return (false);
        }
        public function update(_arg1:_-59O, _arg2:Number):void
        {
            var k:int;
            if (!_arg1)
            {
                return;
            };
            this._-3Tb = _arg2;
            this._-xd = (this._-1CY.getAvatarRendererAsset(this._-13j((((this._-0Ke == _-0Fv)) ? 1 : 2))) as BitmapDataAsset);
            var k:int = 64;
            if (_arg2 < 48)
            {
                if ((((((((this._-1CY.angle == 135)) || ((this._-1CY.angle == 180)))) || ((this._-1CY.angle == 225)))) || ((this._-1CY.angle == 270))))
                {
                    k = 10;
                }
                else
                {
                    k = -16;
                };
                this._-1Mv = -38;
                k = 32;
            }
            else
            {
                if ((((((((this._-1CY.angle == 135)) || ((this._-1CY.angle == 180)))) || ((this._-1CY.angle == 225)))) || ((this._-1CY.angle == 270))))
                {
                    k = 22;
                }
                else
                {
                    k = -30;
                };
                this._-1Mv = -70;
            };
            if (this._-1CY.posture == "sit")
            {
                this._-1Mv = (this._-1Mv + (k / 2));
            }
            else
            {
                if (this._-1CY.posture == "lay")
                {
                    this._-1Mv = (this._-1Mv + (k - (0.3 * k)));
                };
            };
            if (this._-xd != null)
            {
                _arg1.asset = (this._-xd.content as BitmapData);
                _arg1.offsetX = k;
                _arg1.offsetY = this._-1Mv;
                _arg1.relativeDepth = -0.02;
                _arg1.alpha = 0;
            };
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-02b

package _-4MO
{
    import _-295.BitmapDataAsset;
    import _-3aJ.AvatarVisualization;
    import flash.display.BitmapData;
    import _-4rn._-59O;
    import _-0se._-18q;

    public class _-02b implements _-3-K 
    {

        private var _-0Kq:int = -1;
        private var _-xd:BitmapDataAsset;
        private var _-1CY:AvatarVisualization;
        private var _-1jf:Number = 0;

        public function _-02b(_arg1:int, _arg2:AvatarVisualization)
        {
            this._-0Kq = _arg1;
            this._-1CY = _arg2;
        }
        public function set relativeDepth(_arg1:Number):void
        {
            this._-1jf = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get disposed():Boolean
        {
            return ((this._-1CY == null));
        }
        public function dispose():void
        {
            this._-1CY = null;
            this._-xd = null;
        }
        public function animate(_arg1:_-59O):Boolean
        {
            if (((this._-xd) && (_arg1)))
            {
                _arg1.asset = (this._-xd.content as BitmapData);
            };
            return (false);
        }
        public function update(_arg1:_-59O, _arg2:Number):void
        {
            var k:int;
            var k:int;
            if (!_arg1)
            {
                return;
            };
            _arg1.visible = true;
            _arg1.relativeDepth = this._-1jf;
            _arg1.alpha = 0xFF;
            var k:int = 64;
            if (_arg2 < 48)
            {
                this._-xd = (this._-1CY.getAvatarRendererAsset("user_muted_small_png") as BitmapDataAsset);
                k = -12;
                k = -66;
                k = 32;
            }
            else
            {
                this._-xd = (this._-1CY.getAvatarRendererAsset("user_muted_png") as BitmapDataAsset);
                k = -15;
                k = -110;
            };
            if (this._-1CY.posture == _-18q._-L9)
            {
                k = (k + (k / 2));
            }
            else
            {
                if (this._-1CY.posture == _-18q._-13K)
                {
                    k = (k + k);
                };
            };
            if (this._-xd != null)
            {
                _arg1.asset = (this._-xd.content as BitmapData);
                _arg1.offsetX = k;
                _arg1.offsetY = k;
                _arg1.relativeDepth = (-0.02 + 0);
            };
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-0o7

package _-4MO
{
    import _-295.BitmapDataAsset;
    import _-3aJ.AvatarVisualization;
    import flash.display.BitmapData;
    import _-4rn._-59O;
    import _-0se._-0tD;
    import _-0se._-18q;

    public class _-0o7 implements _-3-K 
    {

        private var _-0Kq:int = -1;
        private var _-xd:BitmapDataAsset;
        private var _-1CY:AvatarVisualization;
        private var _-1jf:Number = 0;
        private var _-8R:int;

        public function _-0o7(_arg1:int, _arg2:AvatarVisualization, _arg3:int)
        {
            this._-0Kq = _arg1;
            this._-1CY = _arg2;
            this._-8R = _arg3;
        }
        public function set relativeDepth(_arg1:Number):void
        {
            this._-1jf = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get disposed():Boolean
        {
            return ((this._-1CY == null));
        }
        public function dispose():void
        {
            this._-1CY = null;
            this._-xd = null;
        }
        public function animate(_arg1:_-59O):Boolean
        {
            if (((this._-xd) && (_arg1)))
            {
                _arg1.asset = (this._-xd.content as BitmapData);
            };
            return (false);
        }
        public function update(_arg1:_-59O, _arg2:Number):void
        {
            var k:int;
            var k:int;
            if (!_arg1)
            {
                return;
            };
            _arg1.visible = true;
            _arg1.relativeDepth = this._-1jf;
            _arg1.alpha = 0xFF;
            var k:int = 64;
            var k:String = (((this._-8R == _-0tD.GUIDE)) ? "user_guide_bubble_png" : "user_guide_requester_bubble_png");
            if (_arg2 < 48)
            {
                this._-xd = (this._-1CY.getAvatarRendererAsset(k) as BitmapDataAsset);
                k = -19;
                k = -80;
                k = 32;
            }
            else
            {
                this._-xd = (this._-1CY.getAvatarRendererAsset(k) as BitmapDataAsset);
                k = -19;
                k = -120;
            };
            if (this._-1CY.posture == _-18q._-L9)
            {
                k = (k + (k / 2));
            }
            else
            {
                if (this._-1CY.posture == _-18q._-13K)
                {
                    k = (k + k);
                };
            };
            if (this._-xd != null)
            {
                _arg1.asset = (this._-xd.content as BitmapData);
                _arg1.offsetX = k;
                _arg1.offsetY = k;
                _arg1.relativeDepth = (-0.02 + 0);
            };
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-1MM

package _-4MO
{
    import _-3aJ.AvatarVisualization;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-4rn._-59O;

    public class _-1MM implements _-3-K 
    {

        private var _-0Kq:int = -1;
        private var _-1CY:AvatarVisualization;
        private var _-xd:BitmapDataAsset;
        private var _-3Tb:Number;
        private var _-4m9:int = 0;
        private var _-3c0:int = 0;
        private var _-2hF:Boolean = false;
        private var _-58j:int = 0;

        public function _-1MM(_arg1:int, _arg2:int, _arg3:AvatarVisualization)
        {
            this._-0Kq = _arg1;
            this._-4m9 = _arg2;
            this._-1CY = _arg3;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get disposed():Boolean
        {
            return ((this._-1CY == null));
        }
        public function dispose():void
        {
            this._-1CY = null;
            this._-xd = null;
        }
        public function update(_arg1:_-59O, _arg2:Number):void
        {
            var k:int;
            var k:int;
            var k:int;
            if (!_arg1)
            {
                return;
            };
            this._-3Tb = _arg2;
            if (this._-4m9 > 0)
            {
                k = 64;
                if (_arg2 < 48)
                {
                    this._-xd = (this._-1CY.getAvatarRendererAsset((("number_" + this._-4m9) + "_small_png")) as BitmapDataAsset);
                    k = -6;
                    k = -52;
                    k = 32;
                }
                else
                {
                    this._-xd = (this._-1CY.getAvatarRendererAsset((("number_" + this._-4m9) + "_png")) as BitmapDataAsset);
                    k = -8;
                    k = -105;
                };
                if (this._-1CY.posture == "sit")
                {
                    k = (k + (k / 2));
                }
                else
                {
                    if (this._-1CY.posture == "lay")
                    {
                        k = (k + k);
                    };
                };
                if (this._-xd != null)
                {
                    _arg1.visible = true;
                    _arg1.asset = (this._-xd.content as BitmapData);
                    _arg1.offsetX = k;
                    _arg1.offsetY = k;
                    _arg1.relativeDepth = -0.01;
                    this._-3c0 = 1;
                    this._-2hF = true;
                    this._-58j = 0;
                    _arg1.alpha = 0;
                }
                else
                {
                    _arg1.visible = false;
                };
            }
            else
            {
                if (_arg1.visible)
                {
                    this._-3c0 = -1;
                };
            };
        }
        public function animate(_arg1:_-59O):Boolean
        {
            var _local4:int;
            if (!_arg1)
            {
                return (false);
            };
            if (this._-xd)
            {
                _arg1.asset = (this._-xd.content as BitmapData);
            };
            var k:int = _arg1.alpha;
            var k:Boolean;
            if (this._-2hF)
            {
                this._-58j++;
                if (this._-58j < 10)
                {
                    return (false);
                };
                if (this._-3c0 < 0)
                {
                    if (this._-3Tb < 48)
                    {
                        _arg1.offsetY = (_arg1.offsetY - 2);
                    }
                    else
                    {
                        _arg1.offsetY = (_arg1.offsetY - 4);
                    };
                }
                else
                {
                    _local4 = 4;
                    if (this._-3Tb < 48)
                    {
                        _local4 = 8;
                    };
                    if ((this._-58j % _local4) == 0)
                    {
                        _arg1.offsetY = (_arg1.offsetY - 1);
                        k = true;
                    };
                };
            };
            if (this._-3c0 > 0)
            {
                if (k < 0xFF)
                {
                    k = (k + 32);
                };
                if (k >= 0xFF)
                {
                    k = 0xFF;
                    this._-3c0 = 0;
                };
                _arg1.alpha = k;
                return (true);
            };
            if (this._-3c0 < 0)
            {
                if (k >= 0)
                {
                    k = (k - 32);
                };
                if (k <= 0)
                {
                    this._-3c0 = 0;
                    this._-2hF = false;
                    k = 0;
                    _arg1.visible = false;
                };
                _arg1.alpha = k;
                return (true);
            };
            return (k);
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-1wj

package _-4MO
{
    public interface _-1wj extends _-3-K 
    {

        function get type():int;

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-2Bb

package _-4MO
{
    import _-3aJ.AvatarVisualization;

    public class _-2Bb 
    {

        public static const _-2xr:int = 1;
        public static const _-28W:int = 2;
        public static const _-1VQ:int = 3;
        public static const _-0Wl:int = 4;
        public static const _-4Q4:int = 5;

        public static function _-Zi(_arg1:int, _arg2:int, _arg3:AvatarVisualization):_-1wj
        {
            switch (_arg2)
            {
                case _-28W:
                    return (new _-59q(_arg1, _-28W, _arg3));
                default:
                    return (new _-38F(_arg1, _arg2, _arg3));
            };
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-2xA

package _-4MO
{
    import _-295.BitmapDataAsset;
    import _-3aJ.AvatarVisualization;
    import flash.display.BitmapData;
    import _-4rn._-59O;

    public class _-2xA implements _-3-K 
    {

        private var _-0Kq:int = -1;
        private var _-xd:BitmapDataAsset;
        private var _-1CY:AvatarVisualization;
        private var _-1jf:Number = 0;

        public function _-2xA(_arg1:int, _arg2:AvatarVisualization)
        {
            this._-0Kq = _arg1;
            this._-1CY = _arg2;
        }
        public function set relativeDepth(_arg1:Number):void
        {
            this._-1jf = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get disposed():Boolean
        {
            return ((this._-1CY == null));
        }
        public function dispose():void
        {
            this._-1CY = null;
            this._-xd = null;
        }
        public function animate(_arg1:_-59O):Boolean
        {
            if (((this._-xd) && (_arg1)))
            {
                _arg1.asset = (this._-xd.content as BitmapData);
            };
            return (false);
        }
        public function update(_arg1:_-59O, _arg2:Number):void
        {
            var k:int;
            var k:int;
            if (!_arg1)
            {
                return;
            };
            _arg1.visible = true;
            _arg1.relativeDepth = this._-1jf;
            _arg1.alpha = 0xFF;
            var k:int = 64;
            if (_arg2 < 48)
            {
                this._-xd = (this._-1CY.getAvatarRendererAsset("user_typing_small_png") as BitmapDataAsset);
                k = 3;
                k = -42;
                k = 32;
            }
            else
            {
                this._-xd = (this._-1CY.getAvatarRendererAsset("user_typing_png") as BitmapDataAsset);
                k = 14;
                k = -83;
            };
            if (this._-1CY.posture == "sit")
            {
                k = (k + (k / 2));
            }
            else
            {
                if (this._-1CY.posture == "lay")
                {
                    k = (k + k);
                };
            };
            if (this._-xd != null)
            {
                _arg1.asset = (this._-xd.content as BitmapData);
                _arg1.offsetX = k;
                _arg1.offsetY = k;
                _arg1.relativeDepth = (-0.02 + 0);
            };
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-38F

package _-4MO
{
    import _-3aJ.AvatarVisualization;
    import _-4rn._-59O;

    public class _-38F implements _-1wj 
    {

        protected var _-0Kq:int;
        protected var _-1CY:AvatarVisualization;
        private var _-5K:int = -1;

        public function _-38F(_arg1:int, _arg2:int, _arg3:AvatarVisualization)
        {
            this._-5K = _arg2;
            this._-0Kq = _arg1;
            this._-1CY = _arg3;
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get disposed():Boolean
        {
            return ((this._-1CY == null));
        }
        public function dispose():void
        {
            this._-1CY = null;
        }
        public function update(_arg1:_-59O, _arg2:Number):void
        {
        }
        public function animate(_arg1:_-59O):Boolean
        {
            return (false);
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-3-K

package _-4MO
{
    import _-4rn._-59O;
    import _-1B-.*;

    public interface _-3-K extends _-1zZ 
    {

        function get id():int;
        function update(_arg1:_-59O, _arg2:Number):void;
        function animate(_arg1:_-59O):Boolean;

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-4hR

package _-4MO
{
    import flash.display.BitmapData;
    import _-4rn._-59O;
    import _-3D7._-2fB;

    public class _-4hR implements _-3-K 
    {

        private static const _-38n:int = 46;
        private static const _-0KS:int = 60;
        private static const _-2lB:int = -23;
        private static const _-594:int = -48;

        private var _-0Kq:int = -1;
        private var _bitmap:BitmapData;
        private var _disposed:Boolean;

        public function _-4hR(_arg1:int)
        {
            this._-0Kq = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._bitmap = null;
                this._disposed = true;
            };
        }
        public function animate(_arg1:_-59O):Boolean
        {
            return (false);
        }
        public function update(_arg1:_-59O, _arg2:Number):void
        {
            if (!_arg1)
            {
                return;
            };
            if (!this._bitmap)
            {
                this._bitmap = new BitmapData(_-38n, _-0KS, true, 0);
            };
            _arg1.visible = true;
            _arg1.asset = this._bitmap;
            _arg1.offsetX = _-2lB;
            _arg1.offsetY = _-594;
            _arg1._-4l2 = _-2fB._-3Fh;
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4MO._-59q

package _-4MO
{
    import _-295.BitmapDataAsset;
    import flash.utils.getTimer;
    import _-3aJ.AvatarVisualization;
    import flash.display.BitmapData;
    import _-4rn._-59O;

    public class _-59q extends _-38F 
    {

        private static const _-3zX:int = 300;
        private static const _-0G5:int = 0;
        private static const _-4pq:int = 1;
        private static const _-BS:int = 2;
        private static const _-OT:int = 3;

        private var _-xd:BitmapDataAsset;
        private var _-4Dy:int;
        private var _-0BG:Number = 0;
        private var _-1Mv:int;
        private var _-3Tb:Number;
        private var _-0Ke:int = -1;

        public function _-59q(_arg1:int, _arg2:int, _arg3:AvatarVisualization)
        {
            super(_arg1, _arg2, _arg3);
            this._-4Dy = getTimer();
            this._-0Ke = 0;
        }
        override public function animate(_arg1:_-59O):Boolean
        {
            var k:Number;
            var k:int;
            if (!_arg1)
            {
                return (false);
            };
            if (this._-xd)
            {
                _arg1.asset = (this._-xd.content as BitmapData);
            };
            if (this._-0Ke == _-0G5)
            {
                if ((getTimer() - this._-4Dy) < _-3zX)
                {
                    return (false);
                };
                this._-0Ke = _-4pq;
                _arg1.alpha = 0;
                _arg1.visible = true;
                this._-0BG = 0;
                return (true);
            };
            if (this._-0Ke == _-4pq)
            {
                this._-0BG = (this._-0BG + 0.1);
                _arg1.offsetY = this._-1Mv;
                _arg1.alpha = (Math.pow(this._-0BG, 0.9) * 0xFF);
                if (this._-0BG >= 1)
                {
                    this._-0BG = 0;
                    _arg1.alpha = 0xFF;
                    this._-0Ke = _-BS;
                };
                return (true);
            };
            if (this._-0Ke == _-BS)
            {
                k = Math.pow(this._-0BG, 0.9);
                this._-0BG = (this._-0BG + 0.05);
                k = (((this._-3Tb < 48)) ? -30 : -40);
                _arg1.offsetY = (this._-1Mv + ((((this._-0BG < 1)) ? k : 1) * k));
                _arg1.alpha = ((1 - k) * 0xFF);
                if (_arg1.alpha <= 0)
                {
                    _arg1.visible = false;
                    this._-0Ke = _-OT;
                };
                return (true);
            };
            return (false);
        }
        override public function update(_arg1:_-59O, _arg2:Number):void
        {
            var k:int;
            var k:Number;
            if (!_arg1)
            {
                return;
            };
            this._-3Tb = _arg2;
            var k:int = 64;
            if (_arg2 < 48)
            {
                this._-xd = (_-1CY.getAvatarRendererAsset("user_blowkiss_small_png") as BitmapDataAsset);
                if ((((_-1CY.angle == 90)) || ((_-1CY.angle == 270))))
                {
                    k = 0;
                }
                else
                {
                    if ((((((_-1CY.angle == 135)) || ((_-1CY.angle == 180)))) || ((_-1CY.angle == 225))))
                    {
                        k = 6;
                    }
                    else
                    {
                        k = -6;
                    };
                };
                this._-1Mv = -38;
                k = 32;
            }
            else
            {
                this._-xd = (_-1CY.getAvatarRendererAsset("user_blowkiss_png") as BitmapDataAsset);
                if ((((_-1CY.angle == 90)) || ((_-1CY.angle == 270))))
                {
                    k = -3;
                }
                else
                {
                    if ((((((_-1CY.angle == 135)) || ((_-1CY.angle == 180)))) || ((_-1CY.angle == 225))))
                    {
                        k = 22;
                    }
                    else
                    {
                        k = -30;
                    };
                };
                this._-1Mv = -70;
            };
            if (_-1CY.posture == "sit")
            {
                this._-1Mv = (this._-1Mv + (k / 2));
            }
            else
            {
                if (_-1CY.posture == "lay")
                {
                    this._-1Mv = (this._-1Mv + k);
                };
            };
            if (this._-xd != null)
            {
                _arg1.asset = (this._-xd.content as BitmapData);
                _arg1.offsetX = k;
                _arg1.offsetY = this._-1Mv;
                _arg1.relativeDepth = -0.02;
                _arg1.alpha = 0;
                k = this._-0BG;
                this.animate(_arg1);
                this._-0BG = k;
            };
        }

    }
}//package _-4MO

//------------------------------------------------------------
//_-4n1._-0hX

package _-4n1
{
    public interface _-0hX 
    {

        function get type():String;
        function get id():int;
        function get name():String;
        function get _-1Mp():int;
        function get revision():int;
        function get _-3m-():int;
        function get _-1Bh():int;
        function get _-0Qx():int;
        function get _-2Wk():Array;
        function get title():String;
        function get description():String;
        function get _-7T():String;
        function get catalogPageId():int;
        function get offerId():int;
        function get _-yz():String;
        function get category():int;

    }
}//package _-4n1

//------------------------------------------------------------
//_-4n1._-44P

package _-4n1
{
    import _-1B-.*;

    public interface _-44P extends _-1zZ 
    {

        function _-2bO():void;

    }
}//package _-4n1

//------------------------------------------------------------
//_-4n1._-LQ

package _-4n1
{
    public class _-LQ implements _-0hX 
    {

        public static const _-2kJ:String = "i";
        public static const _-0D:String = "s";

        private var _-5K:String;
        private var _-0Kq:int;
        private var _name:String;
        private var _-3MK:int;
        private var _-WR:int;
        private var _-4Kj:int;
        private var _-18o:int;
        private var _-Qk:int;
        private var _-0Ow:Array;
        private var _-o7:String;
        private var _-1Td:String;
        private var _-2Ay:String;
        private var _-3k2:int;
        private var _-2W3:int;
        private var _-2iI:String;
        private var _-JS:int;

        public function _-LQ(_arg1:String, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:int, _arg7:int, _arg8:int, _arg9:int, _arg10:Array, _arg11:int, _arg12:String, _arg13:int, _arg14:int, _arg15:String, _arg16:int)
        {
            this._-5K = _arg1;
            this._-0Kq = _arg2;
            this._name = _arg3;
            this._-WR = _arg6;
            this._-4Kj = _arg7;
            this._-18o = _arg8;
            this._-Qk = _arg9;
            this._-0Ow = _arg10;
            this._-3MK = _arg11;
            this._-o7 = _arg4;
            this._-1Td = _arg5;
            this._-2Ay = _arg12;
            this._-3k2 = _arg13;
            this._-2W3 = _arg14;
            this._-2iI = _arg15;
            this._-JS = _arg16;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-1Mp():int
        {
            return (this._-3MK);
        }
        public function get revision():int
        {
            return (this._-WR);
        }
        public function get _-3m-():int
        {
            return (this._-4Kj);
        }
        public function get _-1Bh():int
        {
            return (this._-18o);
        }
        public function get _-0Qx():int
        {
            return (this._-Qk);
        }
        public function get _-2Wk():Array
        {
            return (this._-0Ow);
        }
        public function get title():String
        {
            return (this._-o7);
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function get _-7T():String
        {
            return (this._-2Ay);
        }
        public function get catalogPageId():int
        {
            return (this._-3k2);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-yz():String
        {
            return (this._-2iI);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }

    }
}//package _-4n1

//------------------------------------------------------------
//_-4n1.FurnitureDataParser

package _-4n1
{
    import _-0yf.EventDispatcherWrapper;
    import _-18r.Map;
    import _-uF.ICoreLocalizationManager;
    import _-295.AssetLibrary;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-p-.Core;
    import flash.events.Event;
    import _-2ly._-11j;

    public class FurnitureDataParser extends EventDispatcherWrapper 
    {

        public static const _-1AF:String = "FDP_furniture_data_ready";

        private var _-3CB:Map;
        private var _-14o:Map;
        private var _-0NP:Map;
        private var _-cU:ICoreLocalizationManager;
        private var _-1xh:AssetLibrary;

        public function FurnitureDataParser(_arg1:Map, _arg2:Map, _arg3:Map, _arg4:ICoreLocalizationManager)
        {
            this._-3CB = _arg1;
            this._-14o = _arg2;
            this._-0NP = _arg3;
            this._-cU = _arg4;
            this._-1xh = new AssetLibrary("FurniDataParserAssetLib");
        }
        override public function dispose():void
        {
            super.dispose();
            if (this._-1xh)
            {
                this._-1xh.dispose();
                this._-1xh = null;
            };
            this._-cU = null;
            this._-3CB = null;
            this._-14o = null;
            this._-0NP = null;
        }
        public function _-35r(_arg1:String):void
        {
            var k:_-4Rz = this._-1xh.loadAssetFromFile(_arg1, new URLRequest(_arg1), "text/plain");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-2Pf);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-0ba);
        }
        private function _-2Pf(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k == null)
            {
                return;
            };
            if ((((k._-48Y == null)) || ((k._-48Y.content == null))))
            {
                return;
            };
            var k:String = (k._-48Y.content as String);
            if (k.charAt(0) == "<")
            {
                this._-XJ(k);
            }
            else
            {
                this._-Kg(k);
            };
        }
        private function _-XJ(_arg1:String):void
        {
            var categoryTypes:XMLList;
            var itemXml:XML;
            var furniData:_-LQ;
            var xmlData:XML;
            var data:String = _arg1;
            try
            {
                xmlData = new XML(data);
            }
            catch(e:Error)
            {
                Core.error(("XML furni data was malformed: " + data), true, Core._-4WN);
            };
            if (xmlData == null)
            {
                return;
            };
            categoryTypes = xmlData.roomitemtypes;
            for each (itemXml in categoryTypes.furnitype)
            {
                furniData = this._-28G(itemXml);
                this._-17y(furniData);
                this._-5EY(furniData);
            };
            categoryTypes = xmlData.wallitemtypes;
            for each (itemXml in categoryTypes.furnitype)
            {
                furniData = this._-0v1(itemXml);
                this._-17y(furniData);
                this._-5EY(furniData);
            };
            dispatchEvent(new Event(_-1AF));
        }
        private function _-28G(_arg1:XML):_-LQ
        {
            var k:XML;
            var k:String;
            var k:Array;
            var k:String;
            var k:int;
            var k:String;
            var k:int = parseInt(_arg1.@id);
            var k:Array = new Array();
            for each (k in _arg1.partcolors)
            {
                if (k.charAt(0) == "#")
                {
                    k = k.replace("#", "");
                    k.push(parseInt(k, 16));
                }
                else
                {
                    k.push(-(parseInt(k)));
                };
            };
            k = _arg1.@classname;
            k = k.split("*");
            k = k[0];
            k = (((k.length)>1) ? parseInt(k[1]) : 0);
            var k:_-LQ = new _-LQ(_-LQ._-0D, k, k, _arg1.title, _arg1.description, _arg1.revision, _arg1.xdim, _arg1.ydim, 0, k, k, _arg1.adurl, _arg1.catalogpageid, _arg1.offerid, _arg1.customparams, _arg1.specialtype);
            return (k);
        }
        private function _-0v1(_arg1:XML):_-LQ
        {
            var k:int = parseInt(_arg1.@id);
            var k:_-LQ = new _-LQ(_-LQ._-2kJ, k, _arg1.@classname, _arg1.title, _arg1.description, _arg1.revision, 0, 0, 0, null, 0, _arg1.adurl, _arg1.catalogpageid, _arg1.offerid, null, _arg1.specialtype);
            return (k);
        }
        private function _-Kg(_arg1:String):void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:Array;
            var k:String;
            var k:int;
            var k:String;
            var k:Array;
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Array;
            var k:Array;
            var k:int;
            var k:String;
            var k:String;
            var k:String;
            var k:int;
            var k:int;
            var k:String;
            var k:int;
            var k:_-LQ;
            var k:String;
            var k:RegExp = /\n\r{1,}|\n{1,}|\r{1,}/mg;
            var k:RegExp = /^\s+|\s+$/g;
            var k:RegExp = /\[+?((.)*?)\]/g;
            var k:Array = _arg1.split(k);
            var k:int;
            for each (k in k)
            {
                k = k.match(k);
                for each (k in k)
                {
                    k = k.replace(/\[{1,}/mg, "");
                    k = k.replace(/\]{1,}/mg, "");
                    k = k.split('"');
                    this._-03S(k, ", ");
                    this._-03S(k, ",");
                    k.splice(0, 1);
                    k.splice((k.length - 1), 1);
                    k = k[0];
                    k = parseInt(k[1]);
                    k = String(k[2]);
                    k = k.split("*");
                    k = k[0];
                    k = (((k.length)>1) ? parseInt(k[1]) : 0);
                    k = parseInt(k[3]);
                    k = parseInt(k[4]);
                    k = parseInt(k[5]);
                    k = parseInt(k[6]);
                    k = new Array();
                    k = k[7].split(",");
                    k = 0;
                    while (k < k.length)
                    {
                        k = k[k];
                        if (k.charAt(0) == "#")
                        {
                            k = k.replace("#", "");
                            k.push(parseInt(k, 16));
                        }
                        else
                        {
                            k.push(-(parseInt(k)));
                        };
                        k++;
                    };
                    k = k[8];
                    k = k[9];
                    k = k[10];
                    k = parseInt(k[11]);
                    k = parseInt(k[12]);
                    k = k[13];
                    k = parseInt(k[14]);
                    k = new _-LQ(k, k, k, k, k, k, k, k, k, k, k, k, k, k, k, k);
                    this._-17y(k);
                    this._-5EY(k);
                };
                k++;
            };
            dispatchEvent(new Event(_-1AF));
        }
        private function _-17y(_arg1:_-LQ):void
        {
            if (_arg1.type == _-LQ._-0D)
            {
                this._-3CB.add(_arg1.id, _arg1);
            }
            else
            {
                if (_arg1.type == _-LQ._-2kJ)
                {
                    this._-14o.add(_arg1.id, _arg1);
                };
            };
            var k:Array = this._-0NP[_arg1.name];
            if (k == null)
            {
                k = [];
                this._-0NP.add(_arg1.name, k);
            };
            k[_arg1._-1Mp] = _arg1.id;
        }
        private function _-0ba(_arg1:AssetLoaderEvent):void
        {
            _-11j.logEventLog(("furnituredata download error " + _arg1.status));
            Core.error("Could not download furnidata definition", true, Core._-4WN);
        }
        private function _-5EY(_arg1:_-LQ):void
        {
            if (this._-cU != null)
            {
                if (_arg1.type == _-LQ._-0D)
                {
                    this._-cU._-3ch(("roomItem.name." + _arg1.id), _arg1.title);
                    this._-cU._-3ch(("roomItem.desc." + _arg1.id), _arg1.description);
                }
                else
                {
                    if (_arg1.type == _-LQ._-2kJ)
                    {
                        this._-cU._-3ch(("wallItem.name." + _arg1.id), _arg1.title);
                        this._-cU._-3ch(("wallItem.desc." + _arg1.id), _arg1.description);
                    };
                };
            };
        }
        public function _-0eR():void
        {
            var k:_-LQ;
            if (!this._-cU)
            {
                return;
            };
            for each (k in this._-3CB._-0hn())
            {
                this._-cU._-3ch(("roomItem.name." + k.id), k.title);
                this._-cU._-3ch(("roomItem.desc." + k.id), k.description);
            };
            for each (k in this._-14o._-0hn())
            {
                this._-cU._-3ch(("wallItem.name." + k.id), k.title);
                this._-cU._-3ch(("wallItem.desc." + k.id), k.description);
            };
        }
        private function _-03S(_arg1:Array, _arg2:Object):void
        {
            var k:int;
            while (k < _arg1.length)
            {
                if (_arg1[k] == _arg2)
                {
                    _arg1.splice(k, 1);
                    k--;
                };
                k++;
            };
        }
        public function set localization(_arg1:ICoreLocalizationManager):void
        {
            this._-cU = _arg1;
        }

    }
}//package _-4n1

//------------------------------------------------------------
//_-4OG._-06-

package _-4OG
{
    import _-1B-.*;

    public interface _-06- extends _-1zZ 
    {

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-07z

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-4fs;
    import _-4Aj.*;

    public class _-07z extends _-7V implements _-0tL 
    {

        public function _-07z(_arg1:Function)
        {
            super(_arg1, _-4fs);
        }
        public function _-3-5():_-4fs
        {
            return ((this._-515 as _-4fs));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-0bW

package _-4OG
{
    import _-2iw._-4-u;
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-0bW implements _-1zZ 
    {

        private var _-0Hv:int;
        private var _-3P1:int;
        private var _-3HU:String;
        private var _-1jw:int;
        private var _-1Gb:int;
        private var _-8c:String;
        private var _-1B8:String;
        private var _-Xn:String;
        private var _-10c:Date;
        private var _disposed:Boolean;

        public function _-0bW(_arg1:_-0s1)
        {
            this._-0Hv = _arg1._-2BW();
            this._-3P1 = _arg1._-2BW();
            this._-3HU = _arg1.readString();
            this._-1jw = _arg1._-2BW();
            this._-1Gb = _arg1._-2BW();
            this._-8c = _arg1.readString();
            this._-1B8 = _arg1.readString();
            this._-Xn = _arg1.readString();
            this._-10c = _-4-u._-4jJ(_arg1.readString());
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get adId():int
        {
            return (this._-0Hv);
        }
        public function get _-1MB():int
        {
            return (this._-3P1);
        }
        public function get _-2Om():String
        {
            return (this._-3HU);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get _-4y3():int
        {
            return (this._-1Gb);
        }
        public function get eventName():String
        {
            return (this._-8c);
        }
        public function get eventDescription():String
        {
            return (this._-1B8);
        }
        public function get creationTime():String
        {
            return (this._-Xn);
        }
        public function get _-3YT():Date
        {
            return (this._-10c);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-0e5

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-0AO;
    import _-4Aj.*;

    public class _-0e5 extends _-7V implements _-0tL 
    {

        public function _-0e5(_arg1:Function)
        {
            super(_arg1, _-0AO);
        }
        public function _-3-5():_-0AO
        {
            return ((this._-515 as _-0AO));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-0i4

package _-4OG
{
    import _-4Aj._-0s1;

    public class _-0i4 
    {

        private var _-2OX:int;
        private var _-48O:int;
        private var _-4dX:int;

        public function _-0i4(_arg1:_-0s1, _arg2:int=0, _arg3:int=0)
        {
            this._-2OX = _arg2;
            this._-48O = _arg3;
            if (_arg1 != null)
            {
                this._-2OX = _arg1._-2BW();
                this._-48O = _arg1._-2BW();
                this._-4dX = _arg1._-2BW();
            };
        }
        public function get _-2JP():int
        {
            return (this._-2OX);
        }
        public function get _-0WS():int
        {
            return (this._-48O);
        }
        public function get _-Bp():int
        {
            return (this._-4dX);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-0jX

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-QO;
    import _-4Aj.*;

    public class _-0jX extends _-7V implements _-0tL 
    {

        public function _-0jX(_arg1:Function)
        {
            super(_arg1, _-QO);
        }
        public function _-3-5():_-QO
        {
            return ((this._-515 as _-QO));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-0p6

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-1k6;
    import _-4Aj.*;

    public class _-0p6 extends _-7V implements _-0tL 
    {

        public function _-0p6(_arg1:Function)
        {
            super(_arg1, _-1k6);
        }
        public function _-3-5():_-1k6
        {
            return ((this._-515 as _-1k6));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-0Qb

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-0Qb implements _-1zZ 
    {

        private var _-1-8:String;
        private var _-7m:int;
        private var _-2r2:int;
        private var _-2TC:String;
        private var _-0nw:int;
        private var _-4yB:int;
        private var _disposed:Boolean;

        public function _-0Qb(_arg1:_-0s1)
        {
            this._-1-8 = _arg1.readString();
            this._-7m = _arg1._-2BW();
            this._-2r2 = _arg1._-2BW();
            this._-2TC = _arg1.readString();
            this._-0nw = _arg1._-2BW();
            this._-4yB = _arg1._-2BW();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-1DO():String
        {
            return (this._-1-8);
        }
        public function get _-2As():int
        {
            return (this._-7m);
        }
        public function get _-PV():int
        {
            return (this._-2r2);
        }
        public function get _-4Ac():String
        {
            return (this._-2TC);
        }
        public function get _-2DP():int
        {
            return (this._-0nw);
        }
        public function get _-4Lc():int
        {
            return (this._-4yB);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-0R3

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-0R3 implements _-1zZ, _-06- 
    {

        private var _-3gb:Array;
        private var _disposed:Boolean;

        public function _-0R3(_arg1:_-0s1)
        {
            this._-3gb = new Array();
            super();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-3gb.push(new _-4cY(_arg1));
                k++;
            };
        }
        public function dispose():void
        {
            var k:_-4cY;
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-3gb != null)
            {
                for each (k in this._-3gb)
                {
                    k.dispose();
                };
            };
            this._-3gb = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get entries():Array
        {
            return (this._-3gb);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-0vF

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-1m6;
    import _-4Aj.*;

    public class _-0vF extends _-7V implements _-0tL 
    {

        public function _-0vF(_arg1:Function)
        {
            super(_arg1, _-1m6);
        }
        public function _-3-5():_-1m6
        {
            return ((this._-515 as _-1m6));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-134

package _-4OG
{
    import _-4Aj._-0s1;

    public class _-134 
    {

        private var _-4yB:int;
        private var _-2Ak:String;
        private var _-r3:Boolean;

        public function _-134(_arg1:_-0s1)
        {
            this._-4yB = _arg1._-2BW();
            this._-2Ak = _arg1.readString();
            this._-r3 = _arg1.readBoolean();
        }
        public function get _-4Lc():int
        {
            return (this._-4yB);
        }
        public function get _-4Tv():String
        {
            return (this._-2Ak);
        }
        public function get visible():Boolean
        {
            return (this._-r3);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-1Er

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-4mn;
    import _-4Aj.*;

    public class _-1Er extends _-7V implements _-0tL 
    {

        public function _-1Er(_arg1:Function)
        {
            super(_arg1, _-4mn);
        }
        public function _-3-5():_-4mn
        {
            return ((this._-515 as _-4mn));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-1ZY

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-3oY;
    import _-4Aj.*;

    public class _-1ZY extends _-7V implements _-0tL 
    {

        public function _-1ZY(_arg1:Function)
        {
            super(_arg1, _-3oY);
        }
        public function get userName():String
        {
            return ((this._-515 as _-3oY).userName);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-24l

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-0ZU;
    import _-4Aj.*;

    public class _-24l extends _-7V implements _-0tL 
    {

        public function _-24l(_arg1:Function)
        {
            super(_arg1, _-0ZU);
        }
        public function _-3-5():_-0ZU
        {
            return ((this._-515 as _-0ZU));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-2cY

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-2cY implements _-1zZ 
    {

        private var _-2IW:int;
        private var _-1hD:int;
        private var _-2UP:Array;
        private var _disposed:Boolean;

        public function _-2cY(_arg1:_-0s1)
        {
            var k:_-4ph;
            this._-2UP = new Array();
            super();
            if (_arg1 == null)
            {
                return;
            };
            this._-2IW = _arg1._-2BW();
            this._-1hD = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new _-4ph();
                k._-1l6 = _arg1._-2BW();
                k._-jJ = _arg1._-2BW();
                this._-2UP.push(k);
                k++;
            };
            if (this._-2IW == 0)
            {
                this._-40O();
            };
        }
        private function _-40O():void
        {
            this._-2IW = 1;
            this._-1hD = 0;
            var k:_-4ph = new _-4ph();
            k._-1l6 = 4;
            k._-jJ = 1;
            this._-2UP.push(k);
        }
        public function _-3TM():_-2cY
        {
            var k:_-4ph;
            var k:_-2cY = new _-2cY(null);
            k._-2IW = this._-2IW;
            k._-1hD = this._-1hD;
            for each (k in this._-2UP)
            {
                k._-2UP.push(k._-3TM());
            };
            return (k);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-2UP = null;
        }
        public function _-4fX():String
        {
            var k:_-4ph;
            var k = (this._-1hD + ";");
            k = (k + (this._-2IW + ";"));
            for each (k in this._-2UP)
            {
                k = (k + (((k._-jJ + ",") + k._-1l6) + ";"));
            };
            return (k);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-5DI():int
        {
            return (this._-2IW);
        }
        public function get var():int
        {
            return (this._-1hD);
        }
        public function get _-4zM():Array
        {
            return (this._-2UP);
        }
        public function set _-5DI(_arg1:int):void
        {
            this._-2IW = _arg1;
        }
        public function set var(_arg1:int):void
        {
            this._-1hD = _arg1;
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-2oY

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-1Db;
    import _-4Aj.*;

    public class _-2oY extends _-7V implements _-0tL 
    {

        public function _-2oY(_arg1:Function)
        {
            super(_arg1, _-1Db);
        }
        public function _-3-5():_-1Db
        {
            return ((_-515 as _-1Db));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-2Ts

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-2Ts implements _-1zZ, _-06- 
    {

        private var _-3gb:Array;
        private var _disposed:Boolean;

        public function _-2Ts(_arg1:_-0s1)
        {
            this._-3gb = new Array();
            super();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-3gb.push(new _-3FD(_arg1));
                k++;
            };
        }
        public function dispose():void
        {
            var k:_-3FD;
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-3gb != null)
            {
                for each (k in this._-3gb)
                {
                    k.dispose();
                };
            };
            this._-3gb = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get entries():Array
        {
            return (this._-3gb);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-2wD

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-1my;
    import _-4Aj.*;

    public class _-2wD extends _-7V implements _-0tL 
    {

        public function _-2wD(_arg1:Function)
        {
            super(_arg1, _-1my);
        }
    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-3E-

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-27;
    import _-4Aj.*;

    public class _-3E- extends _-7V implements _-0tL 
    {

        public function _-3E-(_arg1:Function)
        {
            super(_arg1, _-27);
        }
        public function _-3-5():_-27
        {
            return ((this._-515 as _-27));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-3FD

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-3FD implements _-1zZ 
    {

        public static const _-4GA:int = 1;
        public static const _-nB:int = 2;
        public static const _-4jF:int = 3;
        public static const _-1-a:int = 4;

        private var _index:int;
        private var _-1B7:String;
        private var _-2xt:String;
        private var _-4sw:Boolean;
        private var _-Rp:String;
        private var _-0qP:String;
        private var _-2zZ:int;
        private var _-15I:int;
        private var _-5K:int;
        private var _-2CI:String;
        private var _-1Kh:_-3pI;
        private var _-Vi:_-0Qb;
        private var _-15J:Boolean;
        private var _disposed:Boolean;

        public function _-3FD(_arg1:_-0s1)
        {
            this._index = _arg1._-2BW();
            this._-1B7 = _arg1.readString();
            this._-2xt = _arg1.readString();
            this._-4sw = (_arg1._-2BW() == 1);
            this._-Rp = _arg1.readString();
            this._-0qP = _arg1.readString();
            this._-2zZ = _arg1._-2BW();
            this._-15I = _arg1._-2BW();
            this._-5K = _arg1._-2BW();
            if (this._-5K == _-4GA)
            {
                this._-2CI = _arg1.readString();
            }
            else
            {
                if (this._-5K == _-4jF)
                {
                    this._-Vi = new _-0Qb(_arg1);
                }
                else
                {
                    if (this._-5K == _-nB)
                    {
                        this._-1Kh = new _-3pI(_arg1);
                    }
                    else
                    {
                        this._-15J = _arg1.readBoolean();
                    };
                };
            };
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-1Kh != null)
            {
                this._-1Kh.dispose();
                this._-1Kh = null;
            };
            if (this._-Vi != null)
            {
                this._-Vi.dispose();
                this._-Vi = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get index():int
        {
            return (this._index);
        }
        public function get _-20y():String
        {
            return (this._-1B7);
        }
        public function get _-5BZ():String
        {
            return (this._-2xt);
        }
        public function get _-a6():Boolean
        {
            return (this._-4sw);
        }
        public function get picText():String
        {
            return (this._-Rp);
        }
        public function get _-1Q4():String
        {
            return (this._-0qP);
        }
        public function get _-4I():int
        {
            return (this._-2zZ);
        }
        public function get tag():String
        {
            return (this._-2CI);
        }
        public function get userCount():int
        {
            return (this._-15I);
        }
        public function get _-3DJ():_-3pI
        {
            return (this._-1Kh);
        }
        public function get _-2zE():_-0Qb
        {
            return (this._-Vi);
        }
        public function get open():Boolean
        {
            return (this._-15J);
        }
        public function _-7I():void
        {
            this._-15J = !(this._-15J);
        }
        public function get _-2DP():int
        {
            if (this.type == _-4GA)
            {
                return (0);
            };
            if (this.type == _-nB)
            {
                return (this._-1Kh._-Te);
            };
            if (this.type == _-4jF)
            {
                return (this._-Vi._-2DP);
            };
            return (0);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-3NA

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-4-Q;
    import _-4Aj.*;

    public class _-3NA extends _-7V implements _-0tL 
    {

        public function _-3NA(_arg1:Function)
        {
            super(_arg1, _-4-Q);
        }
        public function _-3-5():_-4-Q
        {
            return ((this._-515 as _-4-Q));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-3pI

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-3pI implements _-1zZ 
    {

        private var _-1jw:int;
        private var _-14l:String;
        private var _-02i:Boolean;
        private var _-2U6:int;
        private var _-237:String;
        private var _-0Ul:int;
        private var _-15I:int;
        private var _-1yK:int;
        private var _-1Td:String;
        private var _-2b5:int;
        private var _-sG:int;
        private var _-00d:int;
        private var _-1b8:int;
        private var _-4d9:int;
        private var _-4aq:int;
        private var _-3jX:String;
        private var _-4wh:String;
        private var _-1Iz:String;
        private var _-tz:Array;
        private var _-0Rq:_-2cY;
        private var _-27G:Boolean;
        private var _-3m:Boolean;
        private var _-2P0:String;
        private var _-1vm:String;
        private var _-0ne:int;
        private var _-2O8:Boolean;
        private var _-25p:Boolean;
        private var _disposed:Boolean;

        public function _-3pI(_arg1:_-0s1)
        {
            var k:String;
            this._-tz = new Array();
            super();
            this._-1jw = _arg1._-2BW();
            this._-14l = _arg1.readString();
            this._-02i = _arg1.readBoolean();
            this._-2U6 = _arg1._-2BW();
            this._-237 = _arg1.readString();
            this._-0Ul = _arg1._-2BW();
            this._-15I = _arg1._-2BW();
            this._-1yK = _arg1._-2BW();
            this._-1Td = _arg1.readString();
            this._-2b5 = _arg1._-2BW();
            this._-sG = _arg1._-2BW();
            this._-00d = _arg1._-2BW();
            this._-1b8 = _arg1._-2BW();
            this._-4d9 = _arg1._-2BW();
            this._-4aq = _arg1._-2BW();
            this._-3jX = _arg1.readString();
            this._-4wh = _arg1.readString();
            this._-1Iz = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1.readString();
                this._-tz.push(k);
                k++;
            };
            this._-0Rq = new _-2cY(_arg1);
            this._-27G = _arg1.readBoolean();
            this._-3m = _arg1.readBoolean();
            this._-2P0 = _arg1.readString();
            this._-1vm = _arg1.readString();
            this._-0ne = _arg1._-2BW();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-tz = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function get _-2AG():Boolean
        {
            return (this._-02i);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get _-0Qj():int
        {
            return (this._-0Ul);
        }
        public function get userCount():int
        {
            return (this._-15I);
        }
        public function get _-Te():int
        {
            return (this._-1yK);
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function get _-2ui():int
        {
            return (this._-2b5);
        }
        public function get _-YP():int
        {
            return (this._-sG);
        }
        public function get score():int
        {
            return (this._-00d);
        }
        public function get _-4CI():int
        {
            return (this._-1b8);
        }
        public function get _-2d-():int
        {
            return (this._-4d9);
        }
        public function get _-i5():int
        {
            return (this._-4aq);
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function get _-3Bi():String
        {
            return (this._-4wh);
        }
        public function get _-0yM():String
        {
            return (this._-1Iz);
        }
        public function get tags():Array
        {
            return (this._-tz);
        }
        public function get _-5-P():_-2cY
        {
            return (this._-0Rq);
        }
        public function get _-2l6():Boolean
        {
            return (this._-27G);
        }
        public function get _-W9():Boolean
        {
            return (this._-3m);
        }
        public function get _-40W():String
        {
            return (this._-2P0);
        }
        public function get _-44g():String
        {
            return (this._-1vm);
        }
        public function get _-4wQ():int
        {
            return (this._-0ne);
        }
        public function get _-1IY():Boolean
        {
            return (this._-2O8);
        }
        public function set _-1IY(_arg1:Boolean):void
        {
            this._-2O8 = _arg1;
        }
        public function get _-1XE():Boolean
        {
            return (this._-25p);
        }
        public function set _-1XE(_arg1:Boolean):void
        {
            this._-25p = _arg1;
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-3PY

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-0eD;
    import _-4Aj.*;

    public class _-3PY extends _-7V implements _-0tL 
    {

        public function _-3PY(_arg1:Function)
        {
            super(_arg1, _-0eD);
        }
        public function _-3-5():_-0eD
        {
            return ((this._-515 as _-0eD));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-3u9

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-3u9 implements _-1zZ 
    {

        private var _-1-8:String;
        private var _-2r2:int;
        private var _disposed:Boolean;

        public function _-3u9(_arg1:_-0s1)
        {
            this._-1-8 = _arg1.readString();
            this._-2r2 = _arg1._-2BW();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-1DO():String
        {
            return (this._-1-8);
        }
        public function get _-PV():int
        {
            return (this._-2r2);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-3vj

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-564;
    import _-4Aj.*;

    public class _-3vj extends _-7V implements _-0tL 
    {

        public function _-3vj(_arg1:Function)
        {
            super(_arg1, _-564);
        }
        public function _-3-5():_-564
        {
            return ((this._-515 as _-564));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-476

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-0I2;
    import _-4Aj.*;

    public class _-476 extends _-7V implements _-0tL 
    {

        public function _-476(_arg1:Function)
        {
            super(_arg1, _-0I2);
        }
        public function _-3-5():_-0I2
        {
            return ((this._-515 as _-0I2));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-4B9

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-3i-;
    import _-4Aj.*;

    public class _-4B9 extends _-7V implements _-0tL 
    {

        public function _-4B9(_arg1:Function)
        {
            super(_arg1, _-3i-);
        }
        public function _-3-5():_-3i-
        {
            return ((this._-515 as _-3i-));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-4cY

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-4cY implements _-1zZ 
    {

        private var _-0Nf:String;
        private var _-2RK:String;
        private var _-2a7:_-3pI;
        private var _-sT:Array;
        private var _-15J:Boolean;
        private var _-3Jh:Boolean;
        private var _disposed:Boolean;

        public function _-4cY(_arg1:_-0s1)
        {
            this._-sT = new Array();
            super();
            this._-0Nf = _arg1.readString();
            this._-2RK = _arg1.readString();
            var k:int = _arg1._-2BW();
            this._-2a7 = new _-3pI(_arg1);
            var k:int = 1;
            while (k < k)
            {
                this._-sT.push(new _-3pI(_arg1));
                k++;
            };
        }
        public function dispose():void
        {
            var k:_-3pI;
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-2a7)
            {
                this._-2a7.dispose();
                this._-2a7 = null;
            };
            for each (k in this.rooms)
            {
                k.dispose();
            };
            this._-sT = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get code():String
        {
            return (this._-0Nf);
        }
        public function get _-4xu():String
        {
            return (this._-2RK);
        }
        public function get rooms():Array
        {
            return (this._-sT);
        }
        public function get open():Boolean
        {
            return (this._-15J);
        }
        public function set open(_arg1:Boolean):void
        {
            this._-15J = _arg1;
        }
        public function _-7I():void
        {
            this._-15J = !(this._-15J);
        }
        public function get _-2HJ():_-3pI
        {
            return (this._-2a7);
        }
        public function get _-NX():Boolean
        {
            return (this._-3Jh);
        }
        public function set _-NX(_arg1:Boolean):void
        {
            this._-3Jh = _arg1;
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-4df

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-4df implements _-1zZ, _-06- 
    {

        private var _-tz:Array;
        private var _disposed:Boolean;

        public function _-4df(_arg1:_-0s1)
        {
            this._-tz = new Array();
            super();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-tz.push(new _-542(_arg1));
                k++;
            };
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-tz = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get tags():Array
        {
            return (this._-tz);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-4ph

package _-4OG
{
    public class _-4ph 
    {

        private var _-4md:int;
        private var _-4Df:int;

        public function _-3TM():_-4ph
        {
            var k:_-4ph = new _-4ph();
            k._-4md = this._-4md;
            k._-4Df = this._-4Df;
            return (k);
        }
        public function set _-1l6(_arg1:int):void
        {
            this._-4md = _arg1;
        }
        public function set _-jJ(_arg1:int):void
        {
            this._-4Df = _arg1;
        }
        public function get _-1l6():int
        {
            return (this._-4md);
        }
        public function get _-jJ():int
        {
            return (this._-4Df);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-4PU

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-0Hw;
    import _-4Aj.*;

    public class _-4PU extends _-7V implements _-0tL 
    {

        public function _-4PU(_arg1:Function)
        {
            super(_arg1, _-0Hw);
        }
        public function _-3-5():_-0Hw
        {
            return ((this._-515 as _-0Hw));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-4Uo

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-1eZ;
    import _-4Aj.*;

    public class _-4Uo extends _-7V implements _-0tL 
    {

        public function _-4Uo(_arg1:Function)
        {
            super(_arg1, _-1eZ);
        }
        public function _-3-5():_-1eZ
        {
            return ((this._-515 as _-1eZ));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-4x7

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-0J1;
    import _-4Aj.*;

    public class _-4x7 extends _-7V implements _-0tL 
    {

        public function _-4x7(_arg1:Function)
        {
            super(_arg1, _-0J1);
        }
        public function _-3-5():_-0J1
        {
            return ((this._-515 as _-0J1));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-542

package _-4OG
{
    import _-4Aj._-0s1;

    public class _-542 
    {

        private var _-1O5:String;
        private var _-15I:int;

        public function _-542(_arg1:_-0s1)
        {
            this._-1O5 = _arg1.readString();
            this._-15I = _arg1._-2BW();
        }
        public function get _-Df():String
        {
            return (this._-1O5);
        }
        public function get userCount():int
        {
            return (this._-15I);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-5Au

package _-4OG
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-5Au implements _-1zZ, _-06- 
    {

        private var _-3gv:int;
        private var _-22O:String;
        private var _-sT:Array;
        private var _-Hr:_-3FD;
        private var _disposed:Boolean;

        public function _-5Au(_arg1:_-0s1):void
        {
            this._-sT = new Array();
            super();
            this._-3gv = _arg1._-2BW();
            this._-22O = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-sT.push(new _-3pI(_arg1));
                k++;
            };
            var k:Boolean = _arg1.readBoolean();
            if (k)
            {
                this._-Hr = new _-3FD(_arg1);
            };
        }
        public function dispose():void
        {
            var k:_-3pI;
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-sT != null)
            {
                for each (k in this._-sT)
                {
                    k.dispose();
                };
            };
            if (this._-Hr != null)
            {
                this._-Hr.dispose();
                this._-Hr = null;
            };
            this._-sT = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get searchType():int
        {
            return (this._-3gv);
        }
        public function get _-4Ic():String
        {
            return (this._-22O);
        }
        public function get rooms():Array
        {
            return (this._-sT);
        }
        public function get _-2PB():_-3FD
        {
            return (this._-Hr);
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-Ex

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-2Vu;
    import _-4Aj.*;

    public class _-Ex extends _-7V implements _-0tL 
    {

        public function _-Ex(_arg1:Function)
        {
            super(_arg1, _-2Vu);
        }
        public function _-3-5():_-2Vu
        {
            return ((this._-515 as _-2Vu));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-io

package _-4OG
{
    public class _-io 
    {

        public static const _-2xG:int = 0;
        public static const _-1HI:int = 1;
        public static const _-3c4:int = 2;
        public static const _-56H:Array = ["open", "closed", "password"];

        private var _-4xz:Boolean;
        private var _-0Ul:int;
        private var _-0Kq:int;
        private var _-237:String;
        private var _-5K:String;
        private var _name:String;
        private var _-1Td:String;
        private var _-cN:Boolean;
        private var _-4ZC:Boolean;
        private var _-0T8:Boolean;
        private var _-1ZG:String;

        public function get _-2nB():Boolean
        {
            return (this._-4xz);
        }
        public function get _-0Qj():int
        {
            return (this._-0Ul);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function get _-Ah():Boolean
        {
            return (this._-cN);
        }
        public function get _-12m():Boolean
        {
            return (this._-4ZC);
        }
        public function get _-1PW():Boolean
        {
            return (this._-0T8);
        }
        public function get password():String
        {
            return (this._-1ZG);
        }
        public function set _-2nB(_arg1:Boolean):void
        {
            this._-4xz = _arg1;
        }
        public function set _-0Qj(_arg1:int):void
        {
            this._-0Ul = _arg1;
        }
        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function set _-0aC(_arg1:String):void
        {
            this._-237 = _arg1;
        }
        public function set type(_arg1:String):void
        {
            this._-5K = _arg1;
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function set description(_arg1:String):void
        {
            this._-1Td = _arg1;
        }
        public function set _-Ah(_arg1:Boolean):void
        {
            this._-cN = _arg1;
        }
        public function set _-12m(_arg1:Boolean):void
        {
            this._-4ZC = _arg1;
        }
        public function set _-1PW(_arg1:Boolean):void
        {
            this._-0T8 = _arg1;
        }
        public function set password(_arg1:String):void
        {
            this._-1ZG = _arg1;
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4OG._-Sb

package _-4OG
{
    import _-4Aj._-7V;
    import _-55m._-4Bh;
    import _-4Aj.*;

    public class _-Sb extends _-7V implements _-0tL 
    {

        public function _-Sb(_arg1:Function)
        {
            super(_arg1, _-4Bh);
        }
        public function _-3-5():_-4Bh
        {
            return ((this._-515 as _-4Bh));
        }

    }
}//package _-4OG

//------------------------------------------------------------
//_-4Os._-4Co

package _-4Os
{
    import _-Fv.CategoryBaseModel;
    import _-4Kb.HabboAvatarEditor;
    import _-ZI.FigureData;
    import _-Fv.*;

    public class _-4Co extends CategoryBaseModel implements _-1Oc 
    {

        public function _-4Co(_arg1:HabboAvatarEditor)
        {
            super(_arg1);
        }
        override protected function init():void
        {
            super.init();
            _-50c(FigureData._-08r);
            _-50c(FigureData._-3SM);
            _-50c(FigureData._-3vO);
            _-50c(FigureData._-3g6);
            _-rY = true;
            if (!_-Ke)
            {
                _-Ke = new TorsoView(this, controller.manager.windowManager, controller.manager.assets);
                if (_-Ke)
                {
                    _-Ke.init();
                };
            };
        }

    }
}//package _-4Os

//------------------------------------------------------------
//_-4Os.TorsoView

package _-4Os
{
    import _-Fv.CategoryBaseView;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-295._-243;
    import _-Fv._-2A4;
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import _-ZI.FigureData;
    import _-Fv.AvatarEditorGridView;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-Fv.*;

    public class TorsoView extends CategoryBaseView implements _-Om 
    {

        public function TorsoView(_arg1:_-4Co, _arg2:_-3Ts, _arg3:_-39L)
        {
            super(_arg2, _arg3, _arg1);
        }
        override public function init():void
        {
            var k:_-243;
            var _local2:_-2A4;
            if (!_-0xv)
            {
                k = (_-AV.getAssetByName("avatareditor_torso_base") as _-243);
                if (k)
                {
                    _-0xv = IWindowContainer(_-U-.buildFromXML((k.content as XML)));
                    _-0xv.visible = false;
                    _-0xv.procedure = this._-3kk;
                };
            };
            if (!_-4DM)
            {
                _-4DM = new Dictionary();
                _-4DM[FigureData._-08r] = new AvatarEditorGridView(_-3n-, FigureData._-08r, _-U-, _-AV);
                _-4DM[FigureData._-3SM] = new AvatarEditorGridView(_-3n-, FigureData._-3SM, _-U-, _-AV);
                _-4DM[FigureData._-3vO] = new AvatarEditorGridView(_-3n-, FigureData._-3vO, _-U-, _-AV);
                _-4DM[FigureData._-3g6] = new AvatarEditorGridView(_-3n-, FigureData._-3g6, _-U-, _-AV);
            }
            else
            {
                for each (_local2 in _-4DM)
                {
                    _local2._-40Y();
                };
            };
            _-rY = true;
            _-2VB();
            if (((_-3n-) && ((_-3Y2 == ""))))
            {
                _-3n-.switchCategory(FigureData._-3SM);
            };
        }
        override public function dispose():void
        {
            super.dispose();
            _-3n- = null;
        }
        public function switchCategory(_arg1:String):void
        {
            if (_-0xv == null)
            {
                return;
            };
            if (_-0xv.disposed)
            {
                return;
            };
            if (_-3Y2 == _arg1)
            {
                return;
            };
            _-0rr(_-366);
            switch (_arg1)
            {
                case FigureData._-3SM:
                    _-366 = "tab_shirt";
                    break;
                case FigureData._-08r:
                    _-366 = "tab_jacket";
                    break;
                case FigureData._-3g6:
                    _-366 = "tab_prints";
                    break;
                case FigureData._-3vO:
                    _-366 = "tab_accessories";
                    break;
                default:
                    throw (new Error((('[TorsoView] Unknown item category: "' + _arg1) + '"')));
            };
            _-3Y2 = _arg1;
            _-0T4(_-366);
            if (!_-rY)
            {
                this.init();
            };
            _-3YH();
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "tab_jacket":
                        this.switchCategory(FigureData._-08r);
                        break;
                    case "tab_shirt":
                        this.switchCategory(FigureData._-3SM);
                        break;
                    case "tab_accessories":
                        this.switchCategory(FigureData._-3vO);
                        break;
                    case "tab_prints":
                        this.switchCategory(FigureData._-3g6);
                        break;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    switch (_arg2.name)
                    {
                        case "tab_jacket":
                        case "tab_prints":
                        case "tab_shirt":
                        case "tab_accessories":
                            _-0T4(_arg2.name);
                            break;
                    };
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        switch (_arg2.name)
                        {
                            case "tab_jacket":
                            case "tab_prints":
                            case "tab_shirt":
                            case "tab_accessories":
                                if (_-366 != _arg2.name)
                                {
                                    _-0rr(_arg2.name);
                                };
                                return;
                        };
                    };
                };
            };
        }

    }
}//package _-4Os

//------------------------------------------------------------
//_-4ot._-3p5

package _-4ot
{
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;

    public class _-3p5 
    {

        private static const _-23f:int = 0;
        private static const _-2Wz:int = 0xFF;

        private var _-0dg:BackgroundColorFurniWidget;
        private var _-0VQ:IWindowContainer;
        private var _-2IN:String;
        private var _-176:BitmapData;
        private var _-1yu:BitmapData;
        private var _-6i:int;
        private var _-3BY:int;

        public function _-3p5(_arg1:BackgroundColorFurniWidget, _arg2:String, _arg3:IWindowContainer, _arg4:int=0)
        {
            var k:BitmapDataAsset;
            super();
            this._-0dg = _arg1;
            this._-2IN = _arg2;
            this._-0VQ = _arg3;
            k = BitmapDataAsset(_arg1.assets.getAssetByName("dimmer_slider_base"));
            this._-176 = BitmapData(k.content);
            k = BitmapDataAsset(_arg1.assets.getAssetByName("dimmer_slider_button"));
            this._-1yu = BitmapData(k.content);
            this._-2LK();
            this._-4R2(_arg4);
        }
        public function dispose():void
        {
            this._-0dg = null;
            this._-0VQ = null;
            this._-176 = null;
            this._-1yu = null;
        }
        public function _-4R2(_arg1:int):void
        {
            if (this._-0VQ == null)
            {
                return;
            };
            var k:IWindow = this._-0VQ.findChildByName("slider_button");
            if (k != null)
            {
                k.x = this._-4ge(_arg1);
            };
        }
        private function _-4ge(_arg1:int):int
        {
            return (int((this._-6i * (Number((_arg1 - _-23f)) / (_-2Wz - _-23f)))));
        }
        private function getValue(_arg1:Number):int
        {
            return ((int(((_arg1 / this._-6i) * (_-2Wz - _-23f))) + _-23f));
        }
        private function _-18h(_arg1:WindowEvent, _arg2:IWindow):void
        {
            this._-0dg._-3Ak(this._-2IN, this.getValue(_arg2.x));
        }
        private function _-2LK():void
        {
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            if (this._-0VQ == null)
            {
                return;
            };
            k = (this._-0VQ.findChildByName("slider_base") as IBitmapWrapperWindow);
            if (((!((k == null))) && (!((this._-176 == null)))))
            {
                k.bitmap = new BitmapData(this._-176.width, this._-176.height, true, 0xFFFFFF);
                k.bitmap.copyPixels(this._-176, this._-176.rect, new Point(0, 0), null, null, true);
            };
            k = (this._-0VQ.findChildByName("slider_movement_area") as IWindowContainer);
            if (k != null)
            {
                k = (k.findChildByName("slider_button") as IBitmapWrapperWindow);
                if (((!((k == null))) && (!((this._-1yu == null)))))
                {
                    k.bitmap = new BitmapData(this._-1yu.width, this._-1yu.height, true, 0xFFFFFF);
                    k.bitmap.copyPixels(this._-1yu, this._-1yu.rect, new Point(0, 0), null, null, true);
                    k.procedure = this._-18h;
                    this._-6i = (k.width - k.width);
                };
            };
        }

    }
}//package _-4ot

//------------------------------------------------------------
//_-4ot.BackgroundColorFurniWidget

package _-4ot
{
    import _-FP._-2ul;
    import _-1ae.IFrameWindow;
    import __AS3__.vec.Vector;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-4f7._-2f3;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-0y0._-4xU;
    import _-0Ie.WindowMouseEvent;
    import _-Mq._-lv;
    import _-4xL._-0Vv;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import __AS3__.vec.*;

    public class BackgroundColorFurniWidget extends _-2ul 
    {

        private static const _-2BD:String = "hue";
        private static const _-1Bl:String = "saturation";
        private static const _-4Y0:String = "lightness";

        private var _-0xv:IFrameWindow;
        private var _-1Rh:int;
        private var _-1cN:Vector.<_-3p5>;
        private var _-dL:int;
        private var _-0Ro:int;
        private var _-2vx:int;

        public function BackgroundColorFurniWidget(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            this._-1cN = new Vector.<_-3p5>();
            super(_arg1, _arg2, _arg3, _arg4);
            this.handler.widget = this;
        }
        public function get handler():_-2f3
        {
            return ((_-0nf as _-2f3));
        }
        override public function dispose():void
        {
            this._-3Ly();
            super.dispose();
        }
        public function open(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            this._-1Rh = _arg1;
            this._-dL = Math.max(_arg2, 0);
            this._-0Ro = Math.max(_arg3, 0);
            this._-2vx = Math.max(_arg4, 0);
            this.createWindow();
        }
        public function _-3Ak(_arg1:String, _arg2:int):void
        {
            switch (_arg1)
            {
                case _-2BD:
                    this._-dL = _arg2;
                    break;
                case _-1Bl:
                    this._-0Ro = _arg2;
                    break;
                case _-4Y0:
                    this._-2vx = _arg2;
                    break;
            };
            this.include();
        }
        private function createWindow():void
        {
            if (!this._-0xv)
            {
                this._-0xv = IFrameWindow(windowManager.buildFromXML((assets.getAssetByName("background_color_ui_xml").content as XML)));
                this._-0xv.procedure = this._-rA;
                this._-0xv.center();
                this._-1cN.push(new _-3p5(this, _-2BD, IWindowContainer(this._-0xv.findChildByName("hue_container")), this._-dL));
                this._-1cN.push(new _-3p5(this, _-1Bl, IWindowContainer(this._-0xv.findChildByName("saturation_container")), this._-0Ro));
                this._-1cN.push(new _-3p5(this, _-4Y0, IWindowContainer(this._-0xv.findChildByName("lightness_container")), this._-2vx));
            };
        }
        private function _-3Ly():void
        {
            var k:_-3p5;
            for each (k in this._-1cN)
            {
                k.dispose();
            };
            this._-1cN = new Vector.<_-3p5>();
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function include():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = IBitmapWrapperWindow(this._-0xv.findChildByName("color_preview_bitmap"));
            var k:BitmapData = new BitmapData(k.width, k.height, false);
            var k:uint = _-4xU._-Ys(((((this._-dL & 0xFF) << 16) + ((this._-0Ro & 0xFF) << 8)) + (this._-2vx & 0xFF)));
            k.fillRect(k.rect, k);
            k.bitmap = k;
        }
        private function _-rA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((!((_arg2 == null))) && ((_arg1.type == WindowMouseEvent._-90))))
            {
                switch (_arg2.name)
                {
                    case "apply_button":
                        this.handler.container.connection.send(new _-lv(this._-1Rh, this._-dL, this._-0Ro, this._-2vx));
                        return;
                    case "on_off_button":
                        this.handler.container.connection.send(new _-0Vv(this._-1Rh));
                        return;
                    case "header_button_close":
                        this._-3Ly();
                        return;
                };
            };
        }

    }
}//package _-4ot

//------------------------------------------------------------
//_-4P2._-2qn

package _-4P2
{
    import _-0Ai._-nS;
    import _-0mD.HabboCatalog;
    import _-2np._-1ZV;
    import _-48G._-ur;
    import _-2iw._-447;
    import _-1Jd._-1ij;
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-295._-39L;
    import _-293._-5-S;
    import _-32F._-48b;
    import _-2JX._-4gV;

    public class _-2qn 
    {

        private var _visualization:_-nS;
        private var _-3oJ:HabboCatalog;
        private var _-4GM:Array;
        private var _-1xH:_-4gA;
        private var _-51u:_-1ZV;
        private var _disposed:Boolean = false;

        public function _-2qn(_arg1:HabboCatalog, _arg2:_-1ZV)
        {
            this._-3oJ = _arg1;
            this._-51u = _arg2;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (this._visualization != null)
            {
                this._visualization.dispose();
                this._visualization = null;
            };
            this.reset();
            this._-9T();
            this._-3oJ = null;
            this._disposed = true;
        }
        public function get catalog():HabboCatalog
        {
            return (this._-3oJ);
        }
        public function reset():void
        {
            var k:_-I3;
            for each (k in this._-4GM)
            {
                k.dispose();
            };
            this._-4GM = [];
        }
        public function _-56S(_arg1:_-447):void
        {
            var k:_-I3;
            var k:_-ur;
            var k:_-I3;
            var k:Boolean;
            var k:Array;
            var k:_-I3;
            var k:int;
            if (this._disposed)
            {
                return;
            };
            this.reset();
            var k:int;
            for each (k in _arg1.offers)
            {
                k = new _-I3(k.offerId, k._-1A8, k.priceCredits, k.priceActivityPoints, k._-39j, k.vip, k.months, k._-0-x, k._-5-q, k.year, k.month, k.day);
                this._-4GM.push(k);
                if (k.vip)
                {
                    k++;
                };
            };
            if (k == 1)
            {
                k._-535 = true;
            };
            this._-4GM.sort(this._-xG);
            if (this._visualization != null)
            {
                this._visualization.reset();
                this._visualization._-2H8(this._-1o9());
                k = this._visualization.isGift;
                k = this._-1D0(k);
                for each (k in this._-4GM)
                {
                    if (k.months > 0)
                    {
                        if (k.length > 0)
                        {
                            k = k.months;
                            if (k.indexOf(k) == -1)
                            {
                                continue;
                            };
                        };
                        this._visualization._-0oq(k);
                    };
                };
            };
        }
        private function _-1D0(_arg1:Boolean):Array
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:Number;
            var k:Array = new Array();
            var k:String = ((_arg1) ? "catalog.vip.gift.promo" : "catalog.vip.buy.promo");
            if (this._-3oJ.configuration.keyExists(k))
            {
                k = this._-3oJ.configuration.getKey(k, null);
                if (((!((k == null))) && ((k.length > 0))))
                {
                    k = k.split(",");
                    if (k.length > 0)
                    {
                        for each (k in k)
                        {
                            k = parseInt(k);
                            if (((!(isNaN(k))) && ((k > 0))))
                            {
                                k.push(k);
                            };
                        };
                    };
                };
            };
            return (k);
        }
        public function _-3-l(_arg1:_-nS):void
        {
            if (this._visualization == _arg1)
            {
                this._visualization = null;
            };
        }
        public function _-1qp(_arg1:_-nS):void
        {
            var k:_-I3;
            this._visualization = _arg1;
            if (this._visualization != null)
            {
                if (((!((this._-4GM == null))) && ((this._-4GM.length > 0))))
                {
                    this._visualization.reset();
                    this._visualization._-2H8(this._-1o9());
                    for each (k in this._-4GM)
                    {
                        this._visualization._-0oq(k);
                    };
                };
            };
        }
        public function _-3qm(_arg1:int):void
        {
            this._-3oJ._-4aF(_arg1);
        }
        public function _-53A(_arg1:_-I3, _arg2:int):void
        {
            this._-9T();
            this._-1xH = new _-4gA(this, _arg1, _arg2);
        }
        public function _-3O2(_arg1:_-I3, _arg2:int):void
        {
            if (((!(this._-3oJ)) || (!(this._-3oJ.connection))))
            {
                return;
            };
            this._-3oJ._-0SJ(_arg2, _arg1.offerId);
            this._-9T();
        }
        public function _-9T():void
        {
            if (this._-1xH)
            {
                this._-1xH.dispose();
                this._-1xH = null;
            };
        }
        public function _-1o9():int
        {
            var k:int = _-1ij._-42U;
            if (this._-3oJ.getPurse()._-2uV)
            {
                k = ((this._-3oJ.getPurse()._-0Dl) ? _-1ij._-1pk : _-1ij._-12G);
            };
            return (k);
        }
        public function get _-2lD():Boolean
        {
            if (((!(this._-3oJ)) || (!(this._-3oJ.getPurse()))))
            {
                return (false);
            };
            return ((this._-3oJ.getPurse().clubDays > 0));
        }
        public function get windowManager():_-3Ts
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.windowManager);
        }
        public function get localization():_-0hg
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.localization);
        }
        public function get assets():_-39L
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.assets);
        }
        public function get roomEngine():_-5-S
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.roomEngine);
        }
        public function getProductData(_arg1:String):_-48b
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.getProductData(_arg1));
        }
        public function getPurse():_-4gV
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.getPurse());
        }
        private function _-xG(_arg1:_-I3, _arg2:_-I3):Number
        {
            var k:Number = _arg1.months;
            var k:Number = _arg2.months;
            if (k < k)
            {
                return (-1);
            };
            if (k > k)
            {
                return (1);
            };
            return (0);
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-2vp

package _-4P2
{
    import _-1ae.IFrameWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-2vp implements _-1zZ 
    {

        private var _-513:_-3fx;
        private var _-0xv:IFrameWindow;
        private var _disposed:Boolean = false;

        public function _-2vp(_arg1:_-3fx)
        {
            this._-513 = _arg1;
            this.createWindow();
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-0xv != null)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function createWindow():void
        {
            this._-0xv = (this._-513.catalog.utils.createWindow("club_direct_buy_success_xml") as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.procedure = this._-1Uy;
            this._-0xv.center();
        }
        private function _-1Uy(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "button_ok":
                case "header_button_close":
                    this.dispose();
                    return;
            };
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-3AP

package _-4P2
{
    import _-Ew.IWindowContainer;
    import _-0mD.HabboCatalog;
    import _-uF.ILocalization;
    import _-3X8._-0hg;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-1B-.*;

    public class _-3AP implements _-1zZ 
    {

        private var _-mB:_-I3;
        private var _-0xv:IWindowContainer;
        private var _-3oJ:HabboCatalog;
        private var _disposed:Boolean = false;
        private var _-3OJ:String;
        private var _-Oa:Boolean;

        public function _-3AP(_arg1:_-I3, _arg2:HabboCatalog, _arg3:String, _arg4:Boolean=false)
        {
            var k:ILocalization;
            super();
            this._-mB = _arg1;
            this._-3oJ = _arg2;
            this._-3OJ = _arg3;
            this._-Oa = _arg4;
            this._-0xv = (this._-3oJ.utils.createWindow(((_arg4) ? "vip_gift_item" : "vip_buy_item")) as IWindowContainer);
            var k:_-0hg = this._-3oJ.localization;
            if (_arg1.months > 0)
            {
                k.registerParameter("catalog.vip.item.header.months", "num_months", String(_arg1.months));
                k = k.getLocalization("catalog.vip.item.header.months");
            }
            else
            {
                k.registerParameter("catalog.vip.item.header.days", "num_days", String(_arg1._-0-x));
                k = k.getLocalization("catalog.vip.item.header.days");
            };
            this._-0xv.findChildByName("item_header").caption = (((k)!=null) ? k.value : "-");
            this._-3oJ.utils._-2xX((this._-0xv.findChildByName("item_price") as IWindowContainer), this._-mB);
            this._-0xv.findChildByName("item_buy").addEventListener(WindowMouseEvent._-90, this._-31B);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-0xv.dispose();
                this._-0xv = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-31B(_arg1:WindowMouseEvent):void
        {
            this._-3oJ._-2eK(this._-Oa);
            this._-3oJ._-3So(this._-mB, (((this._-mB.page == null)) ? -1 : this._-mB.page.pageId));
            this._-3oJ._-4af();
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-3fx

package _-4P2
{
    import _-0mD.HabboCatalog;
    import _-2JX.Purse;
    import _-4Aj._-0tL;
    import _-48G._-46p;
    import _-Fe._-5CH;
    import _-2Mh._-cF;
    import _-2gz.HabboTracking;
    import _-2Mh._-uV;
    import _-48G._-ur;
    import _-2iw._-447;
    import _-4Wu._-4uR;
    import _-2It._-44B;
    import _-2iw._-05k;
    import _-ta._-mk;
    import _-0Ie.WindowMouseEvent;

    public class _-3fx 
    {

        private var _-3oJ:HabboCatalog;
        private var _-LD:Purse;
        private var _-1qe:_-4yU;
        private var _-cI:_-4ML;
        private var false:Boolean = false;
        private var _-2Nw:String = "";
        private var _-3fQ:String;
        private var _-3SK:int;
        private var _-3Pa:Boolean = false;
        private var _-58o:_-2vp;
        private var _-42I:_-Ca;
        private var _disposed:Boolean = false;
        private var _-3OJ:String;
        private var _-0w0:int;
        private var _-2r7:Boolean;
        private var _-2eu:Boolean;
        private var _-2h8:_-0tL = null;
        private var _-0Jj:_-0tL = null;

        public function _-3fx(_arg1:HabboCatalog, _arg2:Purse)
        {
            this._-3oJ = _arg1;
            this._-LD = _arg2;
            this._-2r7 = this.configuration.getBoolean("catalog.direct.vip.buy.enabled", false);
            this._-2eu = this.configuration.getBoolean("catalog.direct.sms.buy.allowed", false);
            if (((!((this._-3oJ.connection == null))) && (this._-2eu)))
            {
                this._-2h8 = new _-46p(this._-1mG);
                this._-3oJ.connection.addMessageEvent(this._-2h8);
                this._-3oJ.connection.send(new _-5CH(int(this.configuration.getKey("catalog.direct.sms.buy.length.days", "31"))));
            };
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._-2pl();
            this._-1mp();
            this._-4Dv();
            if (this._-58o != null)
            {
                this._-58o.dispose();
                this._-58o = null;
            };
            if (this._-3oJ.connection != null)
            {
                if (this._-2h8)
                {
                    this._-3oJ.connection.removeMessageEvent(this._-2h8);
                };
                if (this._-0Jj)
                {
                    this._-3oJ.connection.removeMessageEvent(this._-0Jj);
                };
            };
            this._-3oJ = null;
            this._-LD = null;
            this._disposed = true;
        }
        public function _-33p(_arg1:String):void
        {
            this._-3OJ = _arg1;
            if (this._-2r7)
            {
                this._-3lO();
            }
            else
            {
                this._-3oJ.openCatalogPage(_-cF._-5Ax);
            };
            if (this.false)
            {
                this._-0Eq();
                HabboTracking._-0ON().trackEventLog("Vip", "", "vip.sms.dialog.shown", _arg1, ((this._-LD.clubPeriods * 31) + this._-LD.clubDays));
            };
        }
        private function _-3lO():void
        {
            if (((!((this._-1qe == null))) && (this._-1qe.visible)))
            {
                return;
            };
            this._-2pl();
            this._-0w0 = (((this._-3OJ == "HabboGameManager")) ? _-uV._-4NV : _-uV._-3vx);
            this._-1qe = new _-4yU(this, this._-0w0);
        }
        private function _-0Eq():void
        {
            if (((((!((this._-cI == null))) && (this._-cI.visible))) && (this.false)))
            {
                return;
            };
            this._-1mp();
            this._-0w0 = (((this._-3OJ == "HabboGameManager")) ? _-uV._-4NV : _-uV._-3ls);
            this._-cI = new _-4ML(this);
        }
        public function _-2pl():void
        {
            if (this._-1qe != null)
            {
                this._-1qe.dispose();
                this._-1qe = null;
            };
        }
        public function _-1mp():void
        {
            if (this._-cI != null)
            {
                this._-cI.dispose();
                this._-cI = null;
            };
        }
        public function _-4Dv():void
        {
            if (this._-42I != null)
            {
                this._-42I.dispose();
                this._-42I = null;
            };
        }
        public function _-56S(_arg1:_-447):void
        {
            var k:_-ur;
            if (((!(this.false)) && (!(this._-2r7))))
            {
                return;
            };
            var k:_-ur;
            var k:int = int(this._-3oJ.configuration.getKey("catalog.direct.vip.buy.promo", "1"));
            for each (k in _arg1.offers)
            {
                if (k.months == k)
                {
                    break;
                };
            };
            if (this._-0w0 == _-uV._-4NV)
            {
                for each (k in _arg1.offers)
                {
                    if (k._-0-x == int(this._-3oJ.configuration.getKey("vip.snowstorm.offer.length.days", "-1")))
                    {
                        break;
                    };
                };
            };
            if (((this._-2r7) && (((!(this.false)) || ((this._-LD.credits >= k.priceCredits))))))
            {
                if (this._-0w0 == _-uV._-3ls)
                {
                    this._-0w0 = _-uV._-3vx;
                };
                this._-1qe._-0oq(new _-I3(k.offerId, k._-1A8, k.priceCredits, k.priceActivityPoints, k._-39j, k.vip, k.months, k._-0-x, k._-5-q, k.year, k.month, k.day));
            }
            else
            {
                this._-2pl();
            };
            if (((this.false) && (((!(this._-2r7)) || ((this._-LD.credits < k.priceCredits))))))
            {
                if (this._-0w0 == _-uV._-3vx)
                {
                    this._-0w0 = _-uV._-3ls;
                };
                this._-cI._-0uT(this._-3fQ, this._-3SK);
            }
            else
            {
                this._-1mp();
            };
        }
        public function _-13t():void
        {
            this._-3oJ._-4aF(this._-0w0);
        }
        public function get catalog():HabboCatalog
        {
            return (this._-3oJ);
        }
        public function get configuration():_-4uR
        {
            if (this._-3oJ == null)
            {
                return (null);
            };
            return (this._-3oJ.configuration);
        }
        public function get _-4Fb():String
        {
            return (this._-3OJ);
        }
        public function _-2BY():void
        {
            if (((!((this._-3oJ == null))) && (!((this._-2Nw == "")))))
            {
                this._-3oJ.utils._-52(this._-2Nw);
                this._-3Pa = true;
                if (((!((this._-3oJ.connection == null))) && (!(this._-0Jj))))
                {
                    this._-0Jj = new _-44B(this._-2z8);
                    this._-3oJ.connection.addMessageEvent(this._-0Jj);
                };
            };
        }
        private function _-1mG(_arg1:_-46p):void
        {
            var k:_-05k = _arg1._-3-5();
            this.false = k.available;
            this._-2Nw = k._-4eM;
            this._-3fQ = k._-1SD;
            this._-3SK = k._-3jd;
        }
        private function _-2z8(_arg1:_-44B):void
        {
            if (_arg1._-3-5()._-Wa == _-mk._-4is)
            {
                this._-3Pa = false;
                this._-0gh();
                if (((!((this._-3oJ.connection == null))) && (this._-0Jj)))
                {
                    this._-3oJ.connection.removeMessageEvent(this._-0Jj);
                    this._-0Jj = null;
                };
            };
        }
        private function _-0gh():void
        {
            if (this._-58o != null)
            {
                this._-58o.dispose();
            };
            this._-58o = new _-2vp(this);
        }
        public function _-2DE(_arg1:WindowMouseEvent):void
        {
            this._-3oJ.utils.showVipBenefits();
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-47N

package _-4P2
{
    import _-1lc.Offer;
    import _-1ae.IFrameWindow;
    import _-1ae.ITextWindow;
    import _-Ew.IWindowContainer;
    import _-32F._-48b;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-295._-243;

    public class _-47N 
    {

        private var _-mB:Offer;
        private var _-513:_-7Z;
        private var _-Ke:IFrameWindow;

        public function _-47N(_arg1:_-7Z, _arg2:Offer)
        {
            this._-mB = _arg2;
            this._-513 = _arg1;
            this._-53A();
        }
        public function dispose():void
        {
            this._-513 = null;
            this._-mB = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function _-53A():void
        {
            if (((!(this._-mB)) || (!(this._-513))))
            {
                return;
            };
            this._-Ke = (this.createWindow("club_gift_confirmation") as IFrameWindow);
            if (!this._-Ke)
            {
                return;
            };
            this._-Ke.procedure = this._-0Rw;
            this._-Ke.center();
            var k:ITextWindow = (this._-Ke.findChildByName("item_name") as ITextWindow);
            if (k)
            {
                k.text = this._-4nW();
            };
            var k:IWindowContainer = (this._-Ke.findChildByName("image_border") as IWindowContainer);
            if (!k)
            {
                return;
            };
            if (!this._-mB.productContainer)
            {
                return;
            };
            this._-mB.productContainer.view = k;
            this._-mB.productContainer.initProductIcon(this._-513.roomEngine);
        }
        private function _-4nW():String
        {
            var k:_-48b;
            if (((((this._-mB) && (this._-mB.productContainer))) && (this._-mB.productContainer._-1YN)))
            {
                k = this._-mB.productContainer._-1YN._-08n;
                if (k)
                {
                    return (k.name);
                };
            };
            return ("");
        }
        private function _-0Rw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((!(_arg1)) || (!(_arg2)))) || (!(this._-513)))) || (!(this._-mB))))
            {
                return;
            };
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "select_button":
                    this._-513._-3O2(this._-mB._-5Dp);
                    return;
                case "header_button_close":
                case "cancel_button":
                    this._-513._-9T();
                    return;
            };
        }
        private function createWindow(_arg1:String):IWindow
        {
            if (((((!(this._-513)) || (!(this._-513.assets)))) || (!(this._-513.windowManager))))
            {
                return (null);
            };
            var k:_-243 = (this._-513.assets.getAssetByName(_arg1) as _-243);
            if (((!(k)) || (!(k.content))))
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (!k)
            {
                return (null);
            };
            return (this._-513.windowManager.buildFromXML(k));
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-4gA

package _-4P2
{
    import _-1ae.IFrameWindow;
    import _-3X8._-0hg;
    import _-2JX._-4gV;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-4gA 
    {

        private var _-mB:_-I3;
        private var _-513:_-2qn;
        private var _-Ke:IFrameWindow;
        private var _-2Aj:int;

        public function _-4gA(_arg1:_-2qn, _arg2:_-I3, _arg3:int)
        {
            this._-mB = _arg2;
            this._-513 = _arg1;
            this._-2Aj = _arg3;
            this._-53A();
        }
        public function dispose():void
        {
            this._-513 = null;
            this._-mB = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function _-53A():void
        {
            if (((!(this._-mB)) || (!(this._-513))))
            {
                return;
            };
            this._-Ke = (this._-513.catalog.utils.createWindow("club_buy_confirmation") as IFrameWindow);
            if (!this._-Ke)
            {
                return;
            };
            this._-Ke.procedure = this._-0Rw;
            this._-Ke.center();
            var k:_-0hg = this._-513.localization;
            var k:_-4gV = this._-513.getPurse();
            var k:String = ((((k._-2uV) && (k._-0Dl))) ? "extension." : "subscription.");
            var k:String = (((this._-mB.months == 0)) ? "days" : "months");
            var k:String = (("catalog.vip.buy.confirm." + k) + k);
            k.registerParameter(k, ("num_" + k), String((((this._-mB.months == 0)) ? this._-mB._-0-x : this._-mB.months)));
            this._-Ke.findChildByName("subscription_name").caption = k.getKey(k);
            k.registerParameter("catalog.vip.buy.confirm.end_date", "day", String(this._-mB.day));
            k.registerParameter("catalog.vip.buy.confirm.end_date", "month", String(this._-mB.month));
            k.registerParameter("catalog.vip.buy.confirm.end_date", "year", String(this._-mB.year));
            this._-513.catalog.utils._-2xX((this._-Ke.findChildByName("purchase_cost_box") as IWindowContainer), this._-mB);
        }
        private function _-0Rw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((!(_arg1)) || (!(_arg2)))) || (!(this._-513)))) || (!(this._-mB))))
            {
                return;
            };
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "select_button":
                    this._-513.catalog._-2WV();
                    this._-513._-3O2(this._-mB, this._-2Aj);
                    return;
                case "header_button_close":
                case "cancel_button":
                    this._-513.catalog._-4ws();
                    this._-513._-9T();
                    return;
            };
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-4ML

package _-4P2
{
    import _-1ae.IFrameWindow;
    import _-0Ie.WindowMouseEvent;
    import _-3X8._-0hg;

    public class _-4ML 
    {

        private var _-513:_-3fx;
        private var _-0xv:IFrameWindow;
        private var _disposed:Boolean = false;

        public function _-4ML(_arg1:_-3fx)
        {
            this._-513 = _arg1;
            this.createWindow();
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-0xv != null)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get visible():Boolean
        {
            return (((!((this._-0xv == null))) && (this._-0xv.visible)));
        }
        private function createWindow():void
        {
            this._-0xv = (this._-513.catalog.utils.createWindow("direct_sms_buy") as IFrameWindow);
            this._-0xv.center();
            this._-0xv.visible = false;
            this._-0xv.findChildByName("header_button_close").addEventListener(WindowMouseEvent._-90, this._-4F9);
            this._-0xv.findChildByName("vip_link").addEventListener(WindowMouseEvent._-90, this._-513._-2DE);
            this._-0xv.findChildByName("vip_link").mouseThreshold = 0;
            this._-0xv.findChildByName("item_buy").addEventListener(WindowMouseEvent._-90, this._-3HF);
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.dispose();
        }
        private function _-3HF(_arg1:WindowMouseEvent):void
        {
            this._-513._-2BY();
            this.dispose();
        }
        public function _-0uT(_arg1:String, _arg2:int):void
        {
            this._-0xv.findChildByName("product_name").caption = (((("${direct.sms.buy.product." + _arg1) + ".") + _arg2) + "}");
            var k:_-0hg = this._-513.catalog.localization;
            if ((_arg2 % 31) == 0)
            {
                this._-0xv.findChildByName("item_header").caption = k._-5CG("catalog.vip.buy.confirm.subscription.months", "", "num_months", String((_arg2 / 31)));
            }
            else
            {
                this._-0xv.findChildByName("item_header").caption = k._-5CG("catalog.vip.buy.confirm.subscription.days", "", "num_days", String(_arg2));
            };
            this._-0xv.visible = true;
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-4ms

package _-4P2
{
    import _-0mD.HabboCatalog;
    import _-48G._-0Zl;
    import _-2iw._-1qG;
    import _-2p5._-2ka;
    import _-48G._-4Np;
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-295._-39L;
    import _-4Wu._-4uR;

    public class _-4ms 
    {

        private var _-3oJ:HabboCatalog;
        private var _-1xH:ClubExtendConfirmationDialog;
        private var _-mB:_-0Zl;
        private var _disposed:Boolean = false;

        public function _-4ms(_arg1:HabboCatalog)
        {
            this._-3oJ = _arg1;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._-9T();
            this._-mB = null;
            this._-3oJ = null;
            this._disposed = true;
        }
        public function _-4hb(_arg1:_-4Np):void
        {
            if (this._disposed)
            {
                return;
            };
            var k:_-1qG = _arg1._-3-5();
            this._-mB = k.offer();
            this._-53A();
            if (this._-3oJ.connection)
            {
                if (this._-mB.vip)
                {
                    this._-3oJ.connection.send(new _-2ka("Catalog", "dialog_show", "vip.membership.extension.purchase"));
                }
                else
                {
                    this._-3oJ.connection.send(new _-2ka("Catalog", "dialog_show", "basic.membership.extension.purchase"));
                };
            };
        }
        public function _-9T():void
        {
            if (this._-1xH)
            {
                this._-1xH.dispose();
                this._-1xH = null;
            };
        }
        public function _-53A():void
        {
            this._-9T();
            this._-1xH = new ClubExtendConfirmationDialog(this, this._-mB);
            this._-1xH._-53A();
        }
        public function _-3O2():void
        {
            if (((((!(this._-3oJ)) || (!(this._-3oJ.connection)))) || (!(this._-mB))))
            {
                return;
            };
            if (this._-mB.vip)
            {
                this._-3oJ._-0Bh(this._-mB.offerId);
            }
            else
            {
                this._-3oJ._-0Rx(this._-mB.offerId);
            };
            this._-9T();
        }
        public function get windowManager():_-3Ts
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.windowManager);
        }
        public function get localization():_-0hg
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.localization);
        }
        public function get assets():_-39L
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.assets);
        }
        public function get config():_-4uR
        {
            return (((this._-3oJ) ? this._-3oJ.configuration : null));
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-4yU

package _-4P2
{
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;

    public class _-4yU 
    {

        private var _-513:_-3fx;
        private var _-0xv:IFrameWindow;
        private var _disposed:Boolean = false;
        private var _-4Ka:_-3AP;
        private var _-0w0:int;

        public function _-4yU(_arg1:_-3fx, _arg2:int)
        {
            this._-513 = _arg1;
            this._-0w0 = _arg2;
            this.createWindow();
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0xv != null)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
                if (this._-4Ka != null)
                {
                    this._-4Ka.dispose();
                    this._-4Ka = null;
                };
                this._-513 = null;
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get visible():Boolean
        {
            return (((!((this._-0xv == null))) && (this._-0xv.visible)));
        }
        public function _-0oq(_arg1:_-I3):void
        {
            if ((((this._-0xv == null)) || ((this._-513 == null))))
            {
                return;
            };
            var k:IWindowContainer = (this._-0xv.findChildByName("purchase_widget_placeholder") as IWindowContainer);
            if (this._-4Ka != null)
            {
                k.removeChild(this._-4Ka.window);
                this._-4Ka.dispose();
            };
            this._-4Ka = new _-3AP(_arg1, this._-513.catalog, this._-513._-4Fb);
            k.addChild(this._-4Ka.window);
            this._-0xv.visible = true;
        }
        private function createWindow():void
        {
            this._-0xv = (this._-513.catalog.utils.createWindow("vip_direct_buy_2") as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.findChildByName("header_button_close").addEventListener(WindowMouseEvent._-90, this._-4F9);
            this._-0xv.center();
            this._-0xv.visible = false;
            this._-513._-13t();
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.dispose();
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-7Z

package _-4P2
{
    import _-0Ai._-2HH;
    import _-18r.Map;
    import _-0mD.HabboCatalog;
    import _-Fe._-0ui;
    import _-1lc.Offer;
    import _-Fe._-4CV;
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-295._-39L;
    import _-293._-5-S;
    import _-32F._-48b;
    import _-2JX._-4gV;

    public class _-7Z 
    {

        private var _-0dg:_-2HH;
        private var _-56f:int;
        private var _-04p:int;
        private var _-4GM:Array;
        private var _-1n-:Map;
        private var _-3oJ:HabboCatalog;
        private var _-1xH:_-47N;

        public function _-7Z(_arg1:HabboCatalog)
        {
            this._-3oJ = _arg1;
        }
        public function dispose():void
        {
            this._-3oJ = null;
            if (this._-1xH)
            {
                this._-1xH.dispose();
                this._-1xH = null;
            };
        }
        public function set widget(_arg1:_-2HH):void
        {
            this._-0dg = _arg1;
            this._-3oJ.connection.send(new _-0ui());
        }
        public function get _-Q8():int
        {
            return (this._-56f);
        }
        public function get _-W7():int
        {
            return (this._-04p);
        }
        public function _-lC(_arg1:int, _arg2:int, _arg3:Array, _arg4:Map):void
        {
            this._-56f = _arg1;
            this._-04p = _arg2;
            this._-4GM = _arg3;
            this._-1n- = _arg4;
            this._-0dg.update();
        }
        public function _-1KY(_arg1:Offer):void
        {
            this._-9T();
            this._-1xH = new _-47N(this, _arg1);
        }
        public function _-3O2(_arg1:String):void
        {
            if (((((!(_arg1)) || (!(this._-3oJ)))) || (!(this._-3oJ.connection))))
            {
                return;
            };
            this._-3oJ.connection.send(new _-4CV(_arg1));
            this._-04p--;
            this._-0dg.update();
            this._-9T();
        }
        public function _-9T():void
        {
            if (this._-1xH)
            {
                this._-1xH.dispose();
                this._-1xH = null;
            };
        }
        public function _-13t():Array
        {
            return (this._-4GM);
        }
        public function _-12F():Map
        {
            return (this._-1n-);
        }
        public function get _-2lD():Boolean
        {
            if (((!(this._-3oJ)) || (!(this._-3oJ.getPurse()))))
            {
                return (false);
            };
            return ((this._-3oJ.getPurse().clubDays > 0));
        }
        public function get windowManager():_-3Ts
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.windowManager);
        }
        public function get localization():_-0hg
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.localization);
        }
        public function get assets():_-39L
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.assets);
        }
        public function get roomEngine():_-5-S
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.roomEngine);
        }
        public function getProductData(_arg1:String):_-48b
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.getProductData(_arg1));
        }
        public function get purse():_-4gV
        {
            if (!this._-3oJ)
            {
                return (null);
            };
            return (this._-3oJ.getPurse());
        }
        public function get catalog():HabboCatalog
        {
            return (this._-3oJ);
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-Ca

package _-4P2
{
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-0mD.HabboCatalog;
    import _-1B-.*;

    public class _-Ca implements _-1zZ 
    {

        private var _disposed:Boolean = false;
        private var _-0xv:IWindowContainer;

        public function _-Ca(_arg1:HabboCatalog)
        {
            this._-0xv = (_arg1.utils.createWindow("vip_benefits") as IWindowContainer);
            this._-0xv.findChildByName("header_button_close").addEventListener(WindowMouseEvent._-90, this._-4F9);
            this._-0xv.center();
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-0xv != null)
                {
                    this._-0xv.dispose();
                    this._-0xv = null;
                };
            };
            this._disposed = true;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.dispose();
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-I3

package _-4P2
{
    import _-1lc._-YK;
    import _-1lc.Offer;
    import _-1lc._-1OU;
    import _-0mD.*;

    public class _-I3 implements _-2tY 
    {

        private var _-2W3:int;
        private var _-03u:String;
        private var _-3Wj:int;
        private var _-4cj:int;
        private var _-19v:int;
        private var _-DM:Boolean;
        private var _-1MG:int;
        private var _-2RL:int;
        private var _-0Wq:_-YK;
        private var _-2qW:int;
        private var _-4P6:int;
        private var _day:int;
        private var _-3JQ:String;
        private var _-2uP:Boolean = false;
        private var _disposed:Boolean = false;
        private var _-3bg:int;

        public function _-I3(_arg1:int, _arg2:String, _arg3:int, _arg4:int, _arg5:int, _arg6:Boolean, _arg7:int, _arg8:int, _arg9:int, _arg10:int, _arg11:int, _arg12:int)
        {
            this._-2W3 = _arg1;
            this._-03u = _arg2;
            this._-3Wj = _arg3;
            this._-4cj = _arg4;
            this._-19v = _arg5;
            this._-DM = _arg6;
            this._-1MG = _arg7;
            this._-3bg = _arg8;
            this._-2RL = _arg9;
            this._-2qW = _arg10;
            this._-4P6 = _arg11;
            this._day = _arg12;
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._disposed = true;
            this._-0Wq = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get extraParameter():String
        {
            return (this._-3JQ);
        }
        public function set extraParameter(_arg1:String):void
        {
            this._-3JQ = _arg1;
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get priceCredits():int
        {
            return (this._-3Wj);
        }
        public function get vip():Boolean
        {
            return (this._-DM);
        }
        public function get months():int
        {
            return (this._-1MG);
        }
        public function get _-5-q():int
        {
            return (this._-2RL);
        }
        public function get year():int
        {
            return (this._-2qW);
        }
        public function get month():int
        {
            return (this._-4P6);
        }
        public function get day():int
        {
            return (this._day);
        }
        public function get _-17D():int
        {
            return (this._-4cj);
        }
        public function get activityPointType():int
        {
            return (this._-19v);
        }
        public function get _-w6():int
        {
            return (this._-3Wj);
        }
        public function get page():_-YK
        {
            return (this._-0Wq);
        }
        public function get _-0bd():String
        {
            return (Offer._-2sv);
        }
        public function get productContainer():_-1OU
        {
            return (null);
        }
        public function get _-5Dp():String
        {
            return (this._-03u);
        }
        public function set page(_arg1:_-YK):void
        {
            this._-0Wq = _arg1;
        }
        public function get _-535():Boolean
        {
            return (this._-2uP);
        }
        public function set _-535(_arg1:Boolean):void
        {
            this._-2uP = _arg1;
        }
        public function get _-0-x():int
        {
            return (this._-3bg);
        }
        public function get _-3by():Boolean
        {
            return (false);
        }
        public function get _-30T():Boolean
        {
            return (false);
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2._-VQ

package _-4P2
{
    import _-Ew.IWindowContainer;
    import _-1lc._-YK;
    import _-uF.ILocalization;
    import _-0mD.HabboCatalog;
    import _-3X8._-0hg;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-295._-243;
    import _-Ew.IWindow;

    public class _-VQ 
    {

        private var _-mB:_-I3;
        private var _-0xv:IWindowContainer;
        private var _-0Wq:_-YK;

        public function _-VQ(_arg1:_-I3, _arg2:_-YK)
        {
            var k:XML;
            var k:ILocalization;
            super();
            this._-mB = _arg1;
            this._-0Wq = _arg2;
            if (_arg1.vip)
            {
                k = this._-2LJ("club_buy_vip_item");
            }
            else
            {
                k = this._-2LJ("club_buy_hc_item");
            };
            this._-0xv = (this._-0Wq.viewer.catalog.windowManager.buildFromXML(k) as IWindowContainer);
            var k:_-0hg = (_arg2.viewer.catalog as HabboCatalog).localization;
            k.registerParameter("catalog.club.item.header", "months", String(_arg1.months));
            k = k.getLocalization("catalog.club.item.header");
            this._-0xv.findChildByName("item_header").caption = k.value;
            k.registerParameter("catalog.club.price", "price", String(_arg1.priceCredits));
            k = k.getLocalization("catalog.club.price");
            this._-0xv.findChildByName("item_price").caption = k.value;
            var k:IButtonWindow = (this._-0xv.findChildByName("item_buy") as IButtonWindow);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-31B);
            };
        }
        public function dispose():void
        {
            this._-0xv.dispose();
        }
        private function _-31B(_arg1:WindowMouseEvent):void
        {
            var k:_-2qn = (this._-0Wq.viewer.catalog as HabboCatalog)._-230();
            (this._-0Wq.viewer.catalog as HabboCatalog)._-3So(this._-mB, this._-0Wq.pageId);
        }
        private function _-2LJ(_arg1:String):XML
        {
            if (((((((!(this._-0Wq)) || (!(this._-0Wq.viewer)))) || (!(this._-0Wq.viewer.catalog)))) || (!(this._-0Wq.viewer.catalog.assets))))
            {
                return (null);
            };
            var k:_-243 = (this._-0Wq.viewer.catalog.assets.getAssetByName(_arg1) as _-243);
            if (k == null)
            {
                return (null);
            };
            return ((k.content as XML));
        }
        public function get window():IWindow
        {
            return (this._-0xv);
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4P2.ClubExtendConfirmationDialog

package _-4P2
{
    import _-1ae.IFrameWindow;
    import _-48G._-0Zl;
    import _-1ae.IRegionWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IBitmapWrapperWindow;
    import __AS3__.vec.Vector;
    import flash.display.BitmapData;
    import flash.utils.Timer;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IIconWindow;
    import _-295.BitmapDataAsset;
    import _-2vN._-39Y;
    import _-3X8._-0hg;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindowContainer;
    import flash.events.TimerEvent;
    import flash.geom.Point;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-295._-243;
    import __AS3__.vec.*;

    public class ClubExtendConfirmationDialog 
    {

        private static const _-53W:int = 7;
        private static const _-4Vm:String = "your_price_icon";
        private static const _-A8:String = "http://images.habbo.com/c_images/catalogue/vip_extend_tsr.png";
        private static const _-4gr:String = "image/png";
        private static const _-KD:int = 2000;
        private static const _-3aB:int = 75;
        private static const _-1z8:uint = 0;
        private static const _-4l7:uint = 9552639;

        private var _-513:_-4ms;
        private var _-Ke:IFrameWindow;
        private var _-mB:_-0Zl;
        private var _-QV:IRegionWindow;
        private var _-3x3:ITextWindow;
        private var _-0vA:IBitmapWrapperWindow;
        private var _-1PS:Vector.<BitmapData>;
        private var _-4nE:Timer;
        private var _-8X:Timer;
        private var _-4Eq:int = 0;
        private var _-2WX:int = 0;
        private var _disposed:Boolean = false;
        private var _-1Oa:String = "catalog.club.extend.";

        public function ClubExtendConfirmationDialog(_arg1:_-4ms, _arg2:_-0Zl)
        {
            this._-513 = _arg1;
            this._-mB = _arg2;
            this._-1PS = new Vector.<BitmapData>(_-53W);
        }
        public function dispose():void
        {
            var k:int;
            if (this._disposed)
            {
                return;
            };
            this._-mB = null;
            this._-513 = null;
            this._-7p();
            if (this._-QV)
            {
                this._-QV.removeEventListener(WindowMouseEvent._-4e2, this._-4ss);
                this._-QV.removeEventListener(WindowMouseEvent._-4ea, this._-1SW);
                this._-QV = null;
            };
            if (this._-3x3)
            {
                this._-3x3 = null;
            };
            if (this._-0vA)
            {
                this._-0vA = null;
            };
            if (this._-1PS)
            {
                while (k < _-53W)
                {
                    this._-1PS[k].dispose();
                    this._-1PS[k] = null;
                    k++;
                };
                this._-1PS = null;
            };
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._disposed = true;
        }
        public function _-53A():void
        {
            var k:String;
            var k:IIconWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            if (((((!(this._-mB)) || (!(this._-513)))) || (this._disposed)))
            {
                return;
            };
            this._-Ke = (this.createWindow("club_extend_confirmation") as IFrameWindow);
            if (!this._-Ke)
            {
                return;
            };
            this._-Ke.procedure = this._-0Rw;
            this._-Ke.center();
            if (!this._-mB.vip)
            {
                this._-1Oa = (this._-1Oa + "basic.");
                k = (this._-Ke.findChildByName("club_level_icon") as IIconWindow);
                if (k)
                {
                    k.style = _-39Y._-0I4;
                    k.x = (k.x + 15);
                };
            };
            var k:_-0hg = this._-513.localization;
            this._-Ke.findChildByName("normal_price_price").caption = this._-mB._-3Yx.toString();
            this._-Ke.findChildByName("you_save_price").caption = this._-mB._-4mK.toString();
            this._-Ke.findChildByName("your_price_price").caption = this._-mB.priceCredits.toString();
            this._-Ke.title.caption = k.getKey((this._-1Oa + "confirm.caption"));
            this._-Ke.findChildByName("extend_title").caption = k.getKey((this._-1Oa + "confirm.title"));
            this._-Ke.findChildByName("normal_price_label").caption = k.getKey((this._-1Oa + "normal.label"));
            this._-Ke.findChildByName("you_save_label").caption = k.getKey((this._-1Oa + "save.label"));
            this._-Ke.findChildByName("your_price_label").caption = k.getKey((this._-1Oa + "price.label"));
            this._-Ke.findChildByName("buy_now_button").caption = k.getKey((this._-1Oa + "buy.button"));
            this._-Ke.findChildByName("maybe_later_link").caption = k.getKey((this._-1Oa + "later.link"));
            if (this._-mB._-59j > 1)
            {
                k.registerParameter((this._-1Oa + "expiration_days_left"), "day", this._-mB._-59j.toString());
                k.registerParameter((this._-1Oa + "expiration_days_left"), "duration", (31 * this._-mB.months).toString());
                k = k.getKey((this._-1Oa + "expiration_days_left"));
            }
            else
            {
                k = k.getKey((this._-1Oa + "expires_today"));
            };
            this._-Ke.findChildByName("offer_expiration").caption = k;
            this._-QV = (this._-Ke.findChildByName("maybe_later_region") as IRegionWindow);
            this._-3x3 = (this._-Ke.findChildByName("maybe_later_link") as ITextWindow);
            if (((!(this._-QV)) || (!(this._-3x3))))
            {
                return;
            };
            this._-QV.addEventListener(WindowMouseEvent._-4e2, this._-4ss);
            this._-QV.addEventListener(WindowMouseEvent._-4ea, this._-1SW);
            var k:BitmapData = this._-45Z("icon_credit_0");
            this._-0T5("normal_price_icon", k);
            this._-0T5("you_save_icon", k);
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName("club_teaser") as IBitmapWrapperWindow);
            k.x = 1;
            k.y = (this._-Ke.height - 144);
            k.height = 144;
            k.width = 133;
            var k:String = _-A8;
            if (this._-513.config)
            {
                k = this._-513.config._-1pT(k);
            };
            this._-51g("club_teaser", "club_teaser", k, _-4gr, this._-2Yr);
            var k:IItemListWindow = (this._-Ke.findChildByName("itemlist_vertical") as IItemListWindow);
            if (!k)
            {
                return;
            };
            var k:IWindowContainer = (this._-Ke.findChildByName("total_amount_line") as IWindowContainer);
            if (!k)
            {
                return;
            };
            var k:IWindowContainer = (this._-Ke.findChildByName("background_container") as IWindowContainer);
            if (!k)
            {
                return;
            };
            k.height = ((k.y + k.height) + k.y);
            this._-0vA = (this._-Ke.findChildByName(_-4Vm) as IBitmapWrapperWindow);
            if (this._-0vA == null)
            {
                return;
            };
            var k:int;
            while (k < _-53W)
            {
                k = (this._-513.assets.getAssetByName(("icon_credit_" + k)) as BitmapDataAsset);
                k = (k.content as BitmapData);
                this._-1PS[k] = k.clone();
                k++;
            };
            this._-3PK();
        }
        private function _-4ss(_arg1:WindowMouseEvent):void
        {
            if (this._-3x3)
            {
                this._-3x3.textColor = _-1z8;
            };
        }
        private function _-1SW(_arg1:WindowMouseEvent):void
        {
            if (this._-3x3)
            {
                this._-3x3.textColor = _-4l7;
            };
        }
        private function _-3PK():void
        {
            if (this._-4nE)
            {
                this._-7p();
            };
            this._-15d();
            this._-4nE = new Timer(_-KD);
            this._-4nE.addEventListener(TimerEvent.TIMER, this._-2Td);
            this._-4nE.start();
        }
        private function _-7p():void
        {
            this._-4Eq = 0;
            this._-2WX = 0;
            if (this._-8X)
            {
                this._-8X.stop();
                this._-8X = null;
            };
            if (this._-4nE)
            {
                this._-4nE.stop();
                this._-4nE = null;
            };
        }
        private function _-15d():void
        {
            if (!this._-0vA)
            {
                return;
            };
            if (this._-0vA.bitmap)
            {
                this._-0vA.bitmap.dispose();
            };
            if (this._-4Eq < _-53W)
            {
                this._-0vA.bitmap = new BitmapData(this._-0vA.width, this._-0vA.height, true, 0);
                this._-0vA.bitmap.copyPixels(this._-1PS[this._-4Eq], this._-1PS[this._-4Eq].rect, new Point(0, 0));
            }
            else
            {
                _-Nb.log(("Animation frame " + this._-4Eq));
            };
        }
        private function _-2Nz():void
        {
            this._-8X = new Timer(_-3aB, (_-53W - 1));
            this._-8X.addEventListener(TimerEvent.TIMER, this._-0Hg);
            this._-8X.addEventListener(TimerEvent.TIMER_COMPLETE, this._-3dx);
            this._-8X.start();
        }
        private function _-2Td(_arg1:TimerEvent):void
        {
            this._-2Nz();
        }
        private function _-0Hg(_arg1:TimerEvent):void
        {
            this._-4Eq = (this._-4Eq + 1);
            this._-15d();
        }
        private function _-3dx(_arg1:TimerEvent):void
        {
            if (this._-8X)
            {
                this._-8X.stop();
                this._-8X = null;
            };
            this._-4Eq = 0;
            this._-15d();
            if (this._-2WX == 0)
            {
                this._-2WX = 1;
                this._-2Nz();
            }
            else
            {
                this._-2WX = 0;
            };
        }
        private function _-45Z(_arg1:String):BitmapData
        {
            var k:BitmapDataAsset = (this._-513.assets.getAssetByName(_arg1) as BitmapDataAsset);
            if (k != null)
            {
                return ((k.content as BitmapData));
            };
            return (null);
        }
        private function _-0T5(_arg1:String, _arg2:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName(_arg1) as IBitmapWrapperWindow);
            if (k.bitmap != null)
            {
                k.bitmap.dispose();
            };
            if (((!((_arg2 == null))) && (!((k == null)))))
            {
                if (k.width != _arg2.width)
                {
                    k.width = _arg2.width;
                };
                if (k.height != _arg2.height)
                {
                    k.height = _arg2.height;
                };
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k.bitmap.copyPixels(_arg2, _arg2.rect, new Point(0, 0));
            };
        }
        private function _-51g(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Function):Boolean
        {
            var k:BitmapData = this._-45Z(_arg2);
            if (k != null)
            {
                this._-0T5(_arg1, k);
                return (true);
            };
            var k:URLRequest = new URLRequest(_arg3);
            var k:_-4Rz = this._-513.assets.loadAssetFromFile(_arg2, k, _arg4);
            if (!k)
            {
                return (false);
            };
            k.addEventListener(AssetLoaderEvent._-1Tr, _arg5);
            return (true);
        }
        private function _-2Yr(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz;
            var k:BitmapData;
            if (!this._disposed)
            {
                k = (_arg1.target as _-4Rz);
                if (k != null)
                {
                    k = this._-45Z(k.assetName);
                    this._-0T5("club_teaser", k);
                };
            };
        }
        private function _-0Rw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (((((((((!(_arg1)) || (!(_arg2)))) || (!(this._-513)))) || (!(this._-mB)))) || (this._disposed)))
            {
                return;
            };
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "buy_now_button":
                    this._-513._-3O2();
                    return;
                case "header_button_close":
                case "maybe_later_region":
                    this._-513._-9T();
                    return;
            };
        }
        private function createWindow(_arg1:String):IWindow
        {
            if (((((((!(this._-513)) || (!(this._-513.assets)))) || (!(this._-513.windowManager)))) || (this._disposed)))
            {
                return (null);
            };
            var k:_-243 = (this._-513.assets.getAssetByName(_arg1) as _-243);
            if (((!(k)) || (!(k.content))))
            {
                return (null);
            };
            var k:XML = (k.content as XML);
            if (!k)
            {
                return (null);
            };
            return (this._-513.windowManager.buildFromXML(k));
        }

    }
}//package _-4P2

//------------------------------------------------------------
//_-4p8._-0QF

package _-4p8
{
    import _-Ew.IWindowContainer;

    public interface _-0QF 
    {

        function _-25h(_arg1:IWindowContainer):void;
        function _-xt():void;
        function _-0pv():void;
        function _-2Mq(_arg1:IWindowContainer):void;
        function get _-1Sd():String;

    }
}//package _-4p8

//------------------------------------------------------------
//_-4p8._-1nh

package _-4p8
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-32h._-1kz;
    import _-2rY.MainViewCtrl;

    public class _-1nh implements _-0QF 
    {

        private var _-2bJ:HabboNavigator;

        public function _-1nh(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function _-25h(_arg1:IWindowContainer):void
        {
        }
        public function _-xt():void
        {
        }
        public function _-2Mq(_arg1:IWindowContainer):void
        {
            this._-2bJ._-0l9._-dz(_arg1);
        }
        public function _-0pv():void
        {
            this._-2bJ._-0NE._-0cR(_-1kz._-0oN, _-1kz._-2jy, "-1", MainViewCtrl._-3Tt);
        }
        public function get _-1Sd():String
        {
            return (null);
        }

    }
}//package _-4p8

//------------------------------------------------------------
//_-4p8._-2cG

package _-4p8
{
    import _-4GV.HabboNavigator;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;

    public class _-2cG implements _-0QF 
    {

        private var _-2bJ:HabboNavigator;

        public function _-2cG(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function _-25h(_arg1:IWindowContainer):void
        {
            this._-2eM(_arg1);
        }
        public function _-xt():void
        {
        }
        public function _-2Mq(_arg1:IWindowContainer):void
        {
        }
        public function _-0pv():void
        {
            this._-2bJ._-0NE.open();
        }
        public function get _-1Sd():String
        {
            return (null);
        }
        private function _-2eM(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = (_arg1.getChildByName("room_competitions_header") as IWindowContainer);
            if ((((this._-2bJ.data == null)) || ((this._-2bJ.data._-45N == null))))
            {
                k.visible = false;
                return;
            };
            var k:int = this._-2bJ.data._-45N._-0WS;
            var k:int = this._-2bJ.data._-45N._-Bp;
            var k:int = (k + 1);
            if (k < 2)
            {
                k.visible = false;
                return;
            };
            k.visible = true;
            this._-2bJ.registerParameter("navigator.roomcompetitionspager", "page", ("" + k));
            this._-2bJ.registerParameter("navigator.roomcompetitionspager", "total", ("" + k));
            var k:IWindow = k.findChildByName("next_button");
            var k:IWindow = k.findChildByName("prev_button");
            k.visible = (k < k);
            k.visible = (k > 1);
            k.procedure = this._-4c4;
            k.procedure = this._-2Fu;
        }
        private function _-4c4(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2bJ._-4TT(this._-2bJ.data._-45N._-2JP, (this._-2bJ.data._-45N._-0WS + 1));
            };
        }
        private function _-2Fu(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                this._-2bJ._-4TT(this._-2bJ.data._-45N._-2JP, (this._-2bJ.data._-45N._-0WS - 1));
            };
        }

    }
}//package _-4p8

//------------------------------------------------------------
//_-4p8.EventsTabPageDecorator

package _-4p8
{
    import _-4GV.HabboNavigator;
    import _-1ae.IDropMenuWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-32h._-1kz;

    public class EventsTabPageDecorator implements _-0QF 
    {

        private var _-2bJ:HabboNavigator;
        private var _-2D4:IDropMenuWindow;

        public function EventsTabPageDecorator(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function _-25h(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = (_arg1.getChildByName("room_ad_header") as IWindowContainer);
            if ((((this._-2D4 == null)) || (this._-2D4.disposed)))
            {
                this._-2D4 = (k.getChildByName("roomAdFilter") as IDropMenuWindow);
                this._-1ti();
                this._-2D4.addEventListener(WindowEvent._-2wB, this._-3Va);
            };
            k.visible = true;
        }
        public function _-xt():void
        {
            if (((!((this._-2D4 == null))) && (!(this._-2D4.disposed))))
            {
                this._-2D4.removeEventListener(WindowEvent._-2wB, this._-3Va);
                this._-2D4.selection = 0;
                this._-2D4.addEventListener(WindowEvent._-2wB, this._-3Va);
            };
        }
        public function _-2Mq(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = (_arg1.getChildByName("room_ads_footer") as IWindowContainer);
            var k:IWindow = k.findChildByName("get_event_but");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2BL);
            };
            k.visible = true;
        }
        public function _-0pv():void
        {
            this._-0cR();
        }
        private function _-1ti():void
        {
            if ((((this._-2D4 == null)) || (this._-2D4.disposed)))
            {
                return;
            };
            var k:Array = new Array();
            k.push(this._-2bJ.getText("navigator.roomad.topads"));
            k.push(this._-2bJ.getText("navigator.roomad.newads"));
            this._-2D4.populate(k);
            this._-2D4.selection = 0;
        }
        private function _-3Va(_arg1:WindowEvent):void
        {
            this._-0cR();
        }
        private function _-2BL(_arg1:WindowEvent):void
        {
            this._-2bJ._-Gj();
        }
        private function _-0cR():void
        {
            var k:int = _-1kz._-1C5;
            if (((!((this._-2D4 == null))) && (!(this._-2D4.disposed))))
            {
                k = this._-0Sn(this._-2D4.selection);
            };
            this._-2bJ._-0NE._-0cR(_-1kz._-4bq, k);
        }
        private function _-0Sn(_arg1:int):int
        {
            switch (_arg1)
            {
                case 0:
                    return (_-1kz._-1C5);
                case 1:
                    return (_-1kz._-2x1);
            };
            _-Nb.log(("Invalid index when searching Room ad search type: " + _arg1));
            return (0);
        }
        public function get _-1Sd():String
        {
            if ((((this._-2D4 == null)) || (this._-2D4.disposed)))
            {
                return (null);
            };
            return (this._-2D4._-2z4()[this._-2D4.selection]);
        }

    }
}//package _-4p8

//------------------------------------------------------------
//_-4p8.MyRoomsTabPageDecorator

package _-4p8
{
    import _-4GV.HabboNavigator;
    import _-1ae.IDropMenuWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0hd._-1kB;
    import _-32h._-1kz;
    import _-0Ie.*;
    import _-09j.*;

    public class MyRoomsTabPageDecorator implements _-0QF 
    {

        private var _-2bJ:HabboNavigator;
        private var _-2D4:IDropMenuWindow;

        public function MyRoomsTabPageDecorator(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function _-25h(_arg1:IWindowContainer):void
        {
            var k:String = "me_header";
            var k:IWindowContainer = (_arg1.getChildByName(k) as IWindowContainer);
            if ((((this._-2D4 == null)) || (this._-2D4.disposed)))
            {
                this._-2D4 = IDropMenuWindow(k.findChildByName("meSubNavi"));
                this._-00s();
                this._-2D4.addEventListener(WindowEvent._-2wB, this._-3Va);
            };
            k.visible = true;
        }
        public function _-xt():void
        {
            if (((!((this._-2D4 == null))) && (!(this._-2D4.disposed))))
            {
                this._-2D4.removeEventListener(WindowEvent._-2wB, this._-3Va);
                this._-2D4.selection = 0;
                this._-2D4.addEventListener(WindowEvent._-2wB, this._-3Va);
            };
        }
        public function _-2Mq(_arg1:IWindowContainer):void
        {
            var k:IWindowContainer = (_arg1.getChildByName("me_footer") as IWindowContainer);
            var k:IWindow = k.findChildByName("create_room_but");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-1C1);
            };
            this._-2bJ.refreshButton(k, "create_room", true, null, 0);
            k.visible = true;
        }
        public function _-0pv():void
        {
            this._-0cR();
        }
        private function _-1C1(_arg1:WindowEvent):void
        {
            this._-2bJ.send(new _-1kB());
        }
        private function _-00s():void
        {
            if ((((this._-2D4 == null)) || (this._-2D4.disposed)))
            {
                return;
            };
            var k:Array = new Array();
            k.push(this._-2bJ.getText("navigator.navisel.myrooms"));
            k.push(this._-2bJ.getText("navigator.navisel.wherearemyfriends"));
            k.push(this._-2bJ.getText("navigator.navisel.myfriendsrooms"));
            k.push(this._-2bJ.getText("navigator.navisel.myfavourites"));
            k.push(this._-2bJ.getText("navigator.navisel.visitedrooms"));
            this._-2D4.populate(k);
            this._-2D4.selection = 0;
        }
        private function _-3Va(_arg1:WindowEvent):void
        {
            this._-0cR();
            var k:IWindow = _arg1.target;
            if ((k is IDropMenuWindow))
            {
                this._-2bJ._-5Cj(IDropMenuWindow(k)._-2z4()[IDropMenuWindow(k).selection], "me.category.view");
            };
        }
        private function _-0cR():void
        {
            var k:int = (((((this._-2D4 == null)) || (this._-2D4.disposed))) ? 0 : this._-2D4.selection);
            _-Nb.log(("Me subNavi selection changed: " + k));
            this._-2bJ._-0NE._-0cR(_-1kz._-13T, this._-bE(k));
        }
        private function _-bE(_arg1:int):int
        {
            if (_arg1 == 1)
            {
                return (_-1kz._-5CB);
            };
            if (_arg1 == 2)
            {
                return (_-1kz._-3wV);
            };
            if (_arg1 == 3)
            {
                return (_-1kz._-0Eh);
            };
            if (_arg1 == 4)
            {
                return (_-1kz._-Xm);
            };
            return (_-1kz._-3rg);
        }
        public function get _-1Sd():String
        {
            return (((((this._-2D4) && (!(this._-2D4.disposed)))) ? this._-2D4._-2z4()[this._-2D4.selection] : null));
        }

    }
}//package _-4p8

//------------------------------------------------------------
//_-4p8.RoomsTabPageDecorator

package _-4p8
{
    import _-4GV.HabboNavigator;
    import _-1ae.IDropMenuWindow;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowEvent;
    import _-4OG._-134;
    import _-32h._-1kz;
    import _-0Ie.*;

    public class RoomsTabPageDecorator implements _-0QF 
    {

        private var _-2bJ:HabboNavigator;
        private var _-2D4:IDropMenuWindow;

        public function RoomsTabPageDecorator(_arg1:HabboNavigator)
        {
            this._-2bJ = _arg1;
        }
        public function _-25h(_arg1:IWindowContainer):void
        {
            var k:String = "rooms_header";
            var k:IWindowContainer = (_arg1.getChildByName(k) as IWindowContainer);
            if ((((this._-2D4 == null)) || (this._-2D4.disposed)))
            {
                this._-2D4 = IDropMenuWindow(k.findChildByName("roomCtgFilter"));
                this._-5AJ();
                this._-2D4.addEventListener(WindowEvent._-2wB, this._-3Va);
            };
            k.visible = true;
        }
        public function _-xt():void
        {
            if (((!((this._-2D4 == null))) && (!(this._-2D4.disposed))))
            {
                this._-2D4.removeEventListener(WindowEvent._-2wB, this._-3Va);
                this._-2D4.selection = 0;
                this._-2D4.addEventListener(WindowEvent._-2wB, this._-3Va);
            };
        }
        public function _-2Mq(_arg1:IWindowContainer):void
        {
            this._-2bJ._-0l9._-dz(_arg1);
        }
        public function _-0pv():void
        {
            this._-0cR();
        }
        public function _-5AJ():void
        {
            var k:_-134;
            if ((((this._-2D4 == null)) || (this._-2D4.disposed)))
            {
                return;
            };
            var k:Array = new Array();
            k.push(this._-2bJ.getText("navigator.navisel.popularrooms"));
            k.push(this._-2bJ.getText("navigator.navisel.highestscore"));
            var k:int = 100;
            for each (k in this._-2bJ.data._-0B0)
            {
                k.push(k._-4Tv);
            };
            this._-2D4.populate(k);
            this._-2D4.selection = 0;
        }
        private function _-3Va(_arg1:WindowEvent):void
        {
            this._-0cR();
        }
        private function _-0cR():void
        {
            var _local2:_-134;
            var _local3:int;
            var k:int = (((((this._-2D4 == null)) || (this._-2D4.disposed))) ? 0 : this._-2D4.selection);
            _-Nb.log(("Room filter changed: " + k));
            if (k == 0)
            {
                this._-2bJ._-0NE._-0cR(_-1kz._-1KO, _-1kz._-1Fr);
            }
            else
            {
                if (k == 1)
                {
                    this._-2bJ._-0NE._-0cR(_-1kz._-1KO, _-1kz._-2Kd);
                }
                else
                {
                    _local2 = this._-2bJ.data._-0B0[(k - 2)];
                    if (_local2 == null)
                    {
                        _-Nb.log(((("No fc found: " + k) + ", ") + this._-2bJ.data._-0B0.length));
                        return;
                    };
                    _local3 = _local2._-4Lc;
                    _-Nb.log(("Searching with catId: " + _local3));
                    this._-2bJ._-0NE._-0cR(_-1kz._-1KO, _-1kz._-1Fr, ("" + _local3));
                };
            };
            if (((this._-2D4) && (!(this._-2D4.disposed))))
            {
                this._-2bJ._-5Cj(this._-2D4._-2z4()[this._-2D4.selection], "category.view");
            };
        }
        public function get _-1Sd():String
        {
            return (((((this._-2D4) && (!(this._-2D4.disposed)))) ? this._-2D4._-2z4()[this._-2D4.selection] : null));
        }

    }
}//package _-4p8

//------------------------------------------------------------
//_-4pF._-3Ts

package _-4pF
{
    import flash.geom.Rectangle;
    import _-Ew.IWindow;
    import _-Ew.IWindowContext;
    import _-3Bn._-1Ii;
    import _-3Bn._-rz;
    import _-3Bn._-1xB;
    import _-Ew._-1Po;
    import _-Ew.IWindowContainer;
    import _-295._-3JR;
    import _-3Bn._-0xN;
    import _-Ew.*;
    import _-1B-.*;

    public interface _-3Ts extends _-4yI, ICoreWindowManager 
    {

        function createWindow(_arg1:String, _arg2:String="", _arg3:uint=0, _arg4:uint=0, _arg5:uint=0, _arg6:Rectangle=null, _arg7:Function=null, _arg8:uint=0, _arg9:uint=1):IWindow;
        function _-0kD(_arg1:String, _arg2:uint=1):void;
        function _-0ih(_arg1:String, _arg2:uint=1):IWindow;
        function _-2x-(_arg1:uint=1):IWindow;
        function getWindowContext(_arg1:uint):IWindowContext;
        function alert(_arg1:String, _arg2:String, _arg3:uint, _arg4:Function):_-1Ii;
        function _-Iv(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:uint, _arg6:Function):_-rz;
        function confirm(_arg1:String, _arg2:String, _arg3:uint, _arg4:Function):_-1xB;
        function registerLocalizationParameter(_arg1:String, _arg2:String, _arg3:String, _arg4:String="%"):void;
        function _-0V6(_arg1:_-1Po):void;
        function _-1Kp(_arg1:_-1Po):void;
        function createUnseenItemCounter():IWindowContainer;
        function get _-3bG():_-3JR;
        function buildModalDialogFromXML(_arg1:XML):_-0xN;
        function simpleAlert(_arg1:String, _arg2:String, _arg3:String, _arg4:String=null, _arg5:String=null, _arg6:String=null, _arg7:Function=null):void;

    }
}//package _-4pF

//------------------------------------------------------------
//_-4pF.HabboWindowManagerComponent

package _-4pF
{
    import _-1B-._-Px;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-Ew.IWindowContext;
    import _-3Qs._-4RO;
    import _-3Qs.SkinContainer;
    import _-185._-2au;
    import _-2Zw.ProfilerAgentTask;
    import flash.events.Event;
    import flash.events.IEventDispatcher;
    import _-1DS.ThemeManager;
    import _-4Kb._-3nt;
    import _-3gx._-4BJ;
    import _-1Jk._-3nT;
    import _-2vN._-0d-;
    import _-18r.FontEnum;
    import _-1ae._-xH;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import flash.utils.getTimer;
    import _-18r.Player;
    import _-295._-2kE;
    import _-3Bn.SkinParserUtil;
    import _-098.WindowRendererPatch;
    import _-3Qs.WindowRenderer;
    import flash.geom.Rectangle;
    import _-Ew.WindowContext;
    import _-1B-._-4yh;
    import _-1B-._-4WH;
    import _-2YR._-4Tn;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1B-._-32Z;
    import _-1B-._-1zZ;
    import _-18r.Map;
    import _-3EM._-4pC;
    import _-1ae.IDesktopWindow;
    import _-3Bn._-2kF;
    import _-3EM._-5Dv;
    import _-3Bn._-1Ii;
    import _-3Bn._-4io;
    import _-3Bn._-rz;
    import _-3Bn._-2ii;
    import _-3Bn._-1xB;
    import _-3EM.MouseCursorControl;
    import _-Ew._-1Po;
    import _-18r.ErrorReportStorage;
    import _-2gz._-232;
    import _-0Ie.WindowEvent;
    import flash.system.Capabilities;
    import _-484._-4iz;
    import _-Ew.IWindowContainer;
    import _-0Ix.WidgetClasses;
    import _-1ae._-3Yi;
    import _-Ew._-2cX;
    import _-295._-3JR;
    import _-3Bn._-1ZL;
    import _-3Bn._-0xN;
    import _-3Bn._-1rH;
    import _-Ew.*;
    import _-0Ie.*;
    import _-1B-.*;
    import _-185.*;

    public class HabboWindowManagerComponent extends _-Px implements _-3Ts, ICoreWindowManager, _-4b-, _-0gI, _-1Po, _-2La 
    {

        private static const _-EX:uint = 4;
        private static const _-05W:uint = 1;

        private var _-cU:_-0hg;
        private var _-3fD:_-4uR;
        private var _-4Mk:Array;
        private var _-9:IWindowContext;
        private var _-2Cl:_-4RO;
        private var _-2HM:SkinContainer;
        private var _-Jd:Boolean = false;
        private var _-8J:_-2au;
        private var _-c5:ProfilerAgentTask;
        private var _-0jt:ProfilerAgentTask;
        private var _-r6:Event;
        private var _-OB:Event;
        private var _-Ap:Event;
        private var _-4Fx:IEventDispatcher;
        private var _-0Hr:ThemeManager;
        private var _-3QX:ResourceManager;
        private var _-21X:_-3nt;
        private var _-0ud:_-4BJ;
        private var _-rY:Boolean = false;
        private var _-521:_-3nT;

        public function HabboWindowManagerComponent(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            this._-r6 = new Event(_-0d-.HABBO_WINDOW_TRACKING_EVENT_INPUT);
            this._-OB = new Event(_-0d-.HABBO_WINDOW_TRACKING_EVENT_RENDER);
            this._-Ap = new Event(_-0d-.HABBO_WINDOW_TRACKING_EVENT_SLEEP);
            super(_arg1, _arg2, _arg3);
            lock();
            FontEnum.refresh();
            this._-4Fx = _arg1.events;
            _-xH._-3c9 = "habboMain";
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            queueInterface(new IIDAvatarRenderManager(), this._-1dv);
            queueInterface(new IIDHabboCommunicationManager(), this._-w);
        }
        private function _-1d3(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-3fD = (_arg2 as _-4uR);
            this._-gA();
        }
        private function _-1dv(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-21X = (_arg2 as _-3nt);
        }
        private function _-w(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0ud = (_arg2 as _-4BJ);
            this._-521 = new _-3nT(this._-0rM);
            this._-0ud.addHabboConnectionMessageEvent(this._-521);
        }
        private function _-gA():void
        {
            if (((((!(this._-rY)) && (this._-cU))) && (this._-3fD)))
            {
                this.initialize();
            };
        }
        private function initialize():void
        {
            var k:int = getTimer();
            var k:Boolean = (((Player.majorVersion == 10)) && ((Player._-29R == 1)));
            var k:_-2kE = assets.getAssetByName("habbo_element_description_xml");
            this._-2HM = new SkinContainer();
            SkinParserUtil.parse((k.content as XML), assets, this._-2HM, k);
            this._-0Hr = new ThemeManager(this._-2HM);
            this._-3QX = new ResourceManager(this);
            this._-2Cl = ((k) ? new WindowRendererPatch(this._-2HM) : new WindowRenderer(this._-2HM));
            this._-4Mk = new Array(_-EX);
            var k:Rectangle = new Rectangle(0, 0, context.displayObjectContainer.stage.stageWidth, context.displayObjectContainer.stage.stageHeight);
            var k:uint;
            while (k < _-EX)
            {
                this._-4Mk[k] = new WindowContext(("layer_" + k), this._-2Cl, this, this, this._-3QX, this._-cU, (this._-3fD as _-4yh), context.displayObjectContainer, k);
                k++;
            };
            assets.removeAsset(k);
            k.dispose();
            this._-9 = this._-4Mk[_-05W];
            this._-0V6(this);
            unlock();
            registerUpdateReceiver(this, 0);
            queueInterface(new _-4WH(), this._-g8);
            k = (getTimer() - k);
            _-Nb.log((("initializing window framework took " + k) + "ms"));
            this._-rY = true;
        }
        private function _-0rM(_arg1:_-3nT):void
        {
            var k:WindowContext;
            var k:Boolean = _arg1._-3-5().isPerkAllowed(_-4Tn.FULL_CHAT);
            if (this._-4Mk != null)
            {
                for each (k in this._-4Mk)
                {
                    k._-3Lc = k;
                };
            };
        }
        private function _-3V9(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-cU = (_arg2 as _-0hg);
            this._-gA();
        }
        private function _-tJ(_arg1:WindowMouseEvent):void
        {
            var k:IWindow;
            _-Nb.log("CRASH!");
            k.background = true;
        }
        private function _-g8(_arg1:_-Wo, _arg2:_-4yI):void
        {
            var k:_-32Z = (_arg2 as _-32Z);
            if (k != null)
            {
                if (!this._-8J)
                {
                    this._-8J = new _-2au(context, this, this._-2Cl);
                };
                this._-8J.profiler = k;
                this._-c5 = new ProfilerAgentTask("Update", "Event processing");
                k._-0Kz(this)._-3rf(this._-c5);
                this._-0jt = new ProfilerAgentTask("Redraw", "Window rasterizer");
                k._-0Kz(this)._-3rf(this._-0jt);
                this._-Jd = true;
            };
        }
        private function _-Mw(_arg1:_-Wo, _arg2:_-4yI):void
        {
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                removeUpdateReceiver(this);
                if (this._-0ud != null)
                {
                    this._-0ud._-3cs(this._-521);
                    this._-0ud = null;
                };
                if (this._-4Mk)
                {
                    while (this._-4Mk.length > 0)
                    {
                        _-1zZ(this._-4Mk.pop()).dispose();
                    };
                };
                this._-4Mk = null;
                if (this._-2Cl)
                {
                    this._-2Cl.dispose();
                    this._-2Cl = null;
                };
                if (this._-2HM)
                {
                    this._-2HM.dispose();
                    this._-2HM = null;
                };
                if (this._-3QX != null)
                {
                    this._-3QX.dispose();
                    this._-3QX = null;
                };
                this._-21X = null;
                this._-cU = null;
                this._-3fD = null;
                super.dispose();
            };
        }
        public function create(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:Rectangle, _arg6:Function=null, _arg7:String="", _arg8:uint=0, _arg9:Array=null, _arg10:IWindow=null, _arg11:Array=null):IWindow
        {
            return (this._-9.create(_arg1, _arg7, _arg2, _arg3, _arg4, _arg5, _arg6, _arg10, _arg8, _arg11, _arg9));
        }
        public function destroy(_arg1:IWindow):void
        {
            _arg1.destroy();
        }
        public function buildFromXML(_arg1:XML, _arg2:uint=1, _arg3:Map=null):IWindow
        {
            return (this.getWindowContext(_arg2).getWindowParser().parseAndConstruct(_arg1, null, _arg3));
        }
        public function _-1fc(_arg1:IWindow):String
        {
            return (this._-9.getWindowParser()._-1fc(_arg1));
        }
        public function _-0tT(_arg1:uint, _arg2:uint):XML
        {
            return (this._-2HM._-FR(_arg1, _arg2));
        }
        public function _-2wN(_arg1:uint, _arg2:uint):_-4pC
        {
            return (this._-2HM._-4Jw(_arg1, _arg2));
        }
        public function createWindow(_arg1:String, _arg2:String="", _arg3:uint=0, _arg4:uint=0, _arg5:uint=0, _arg6:Rectangle=null, _arg7:Function=null, _arg8:uint=0, _arg9:uint=1):IWindow
        {
            return (this._-4Mk[_arg9].create(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, null, _arg8, null, null));
        }
        public function _-0kD(_arg1:String, _arg2:uint=1):void
        {
            var k:IDesktopWindow = this._-4Mk[_arg2].getDesktopWindow();
            var k:IWindow = k.getChildByName(_arg1);
            if (k != null)
            {
                k.destroy();
            };
        }
        public function _-0ih(_arg1:String, _arg2:uint=1):IWindow
        {
            return (this._-4Mk[_arg2].getDesktopWindow().getChildByName(_arg1));
        }
        public function _-2x-(_arg1:uint=1):IWindow
        {
            return (this._-4Mk[_arg1].getDesktopWindow().getChildAt((this._-9.getDesktopWindow().numChildren - 1)));
        }
        public function getWindowContext(_arg1:uint):IWindowContext
        {
            return (this._-4Mk[_arg1]);
        }
        public function getDesktop(_arg1:uint):IDesktopWindow
        {
            var k:IWindowContext = this._-4Mk[_arg1];
            return (((k) ? k.getDesktopWindow() : null));
        }
        public function notify(_arg1:String, _arg2:String, _arg3:Function, _arg4:uint=0):_-5Dv
        {
            var k:_-2kE = assets.getAssetByName("habbo_window_alert_xml");
            if (!k)
            {
                throw (new Error("Failed to initialize alert dialog; missing asset!"));
            };
            var k:XML = (k.content as XML);
            return (new _-2kF(this, k, _arg1, _arg2, _arg4, _arg3));
        }
        public function alert(_arg1:String, _arg2:String, _arg3:uint, _arg4:Function):_-1Ii
        {
            var k:_-2kE = assets.getAssetByName("habbo_window_alert_xml");
            if (!k)
            {
                throw (new Error("Failed to initialize alert dialog; missing asset!"));
            };
            var k:XML = (k.content as XML);
            return (new _-2kF(this, k, _arg1, _arg2, _arg3, _arg4));
        }
        public function _-Iv(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:uint, _arg6:Function):_-rz
        {
            var k:_-2kE = assets.getAssetByName("habbo_window_alert_link_xml");
            if (!k)
            {
                throw (new Error("Failed to initialize alert dialog; missing asset!"));
            };
            var k:XML = (k.content as XML);
            return (new _-4io(this, k, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6));
        }
        public function confirm(_arg1:String, _arg2:String, _arg3:uint, _arg4:Function):_-1xB
        {
            var k:_-2kE = assets.getAssetByName("habbo_window_confirm_xml");
            if (!k)
            {
                throw (new Error("Failed to initialize aleret dialog; missing asset!"));
            };
            var k:XML = (k.content as XML);
            return (new _-2ii(this, k, _arg1, _arg2, _arg3, _arg4));
        }
        public function registerLocalizationParameter(_arg1:String, _arg2:String, _arg3:String, _arg4:String="%"):void
        {
            this._-cU.registerParameter(_arg1, _arg2, _arg3, _arg4);
        }
        public function update(_arg1:uint):void
        {
            var k:int;
            if (this._-Jd)
            {
                this._-c5.start();
            };
            if (WindowContext._-1gG.length > 0)
            {
                this._-4Fx.dispatchEvent(this._-r6);
                k = (_-EX - 1);
                while (k >= 0)
                {
                    this._-4Mk[k].update(_arg1);
                    k--;
                };
            };
            if (this._-Jd)
            {
                this._-c5.stop();
            };
            if (this._-Jd)
            {
                this._-0jt.start();
            };
            this._-4Fx.dispatchEvent(this._-OB);
            k = 0;
            while (k < _-EX)
            {
                this._-4Mk[k].render(_arg1);
                k++;
            };
            if (this._-Jd)
            {
                this._-0jt.stop();
            };
            if (WindowContext._-1gG.length > 0)
            {
                WindowContext._-1gG.flush();
            };
            MouseCursorControl.change();
            this._-4Fx.dispatchEvent(this._-Ap);
        }
        override public function purge():void
        {
            super.purge();
            if (this._-2Cl)
            {
                this._-2Cl.purge();
            };
        }
        public function _-0V6(_arg1:_-1Po):void
        {
            var k:IWindowContext;
            for each (k in this._-4Mk)
            {
                k._-0V6(_arg1);
            };
        }
        public function _-1Kp(_arg1:_-1Po):void
        {
            var k:IWindowContext;
            for each (k in this._-4Mk)
            {
                k._-1Kp(_arg1);
            };
        }
        public function _-0Q7(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg2 != null)
            {
                if (_arg1.type == WindowMouseEvent._-90)
                {
                    ErrorReportStorage._-gN(_-232._-0v8, new Date().getTime().toString());
                    ErrorReportStorage._-gN(_-232._-1nk, ((_arg2.name + ": ") + _arg2.toString()));
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-02B)
                    {
                        ErrorReportStorage._-gN(_-232._-2E5, new Date().getTime().toString());
                        ErrorReportStorage._-gN(_-232._-0tn, ((_arg2.name + ": ") + _arg2.toString()));
                    };
                };
            };
        }
        private function case ():void
        {
            _-Nb.log(((((("type: " + Capabilities.playerType) + " debugger: ") + Capabilities.isDebugger) + " version: ") + Capabilities.version));
        }
        public function _-2mi(_arg1:String):IWindow
        {
            var k:IWindow;
            var k:IWindowContext;
            for each (k in this._-4Mk)
            {
                k = k._-2mi(_arg1);
                if (k)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-0qd(_arg1:String):IWindow
        {
            var k:IWindow;
            var k:IWindowContext;
            for each (k in this._-4Mk)
            {
                k = k._-0qd(_arg1);
                if (k)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-Mj(_arg1:String, _arg2:Array, _arg3:int=0):uint
        {
            var k:IWindowContext;
            var k:uint;
            for each (k in this._-4Mk)
            {
                k = (k + k._-507(_arg1, _arg2, _arg3));
            };
            return (k);
        }
        public function getThemeManager():_-4iz
        {
            return (this._-0Hr);
        }
        public function createUnseenItemCounter():IWindowContainer
        {
            var k:_-2kE = (assets.getAssetByName("unseen_item_counter_xml") as _-2kE);
            var k:XML = (k.content as XML);
            return ((this.buildFromXML(k) as IWindowContainer));
        }
        public function _-2CG(_arg1:String, _arg2:_-3Yi):_-2cX
        {
            var k:Class = WidgetClasses._-1Lv[_arg1];
            if (k != null)
            {
                return (new k(_arg2, this));
            };
            throw (new Error((("Unknown widget type " + _arg1) + "! You might need to update Glaze to be able to work on this layout.")));
        }
        public function get _-uU():_-3nt
        {
            return (this._-21X);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function get _-3bG():_-3JR
        {
            return (this._-3QX);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function buildModalDialogFromXML(_arg1:XML):_-0xN
        {
            return (new _-1ZL(this, _arg1));
        }
        public function get communication():_-4BJ
        {
            return (this._-0ud);
        }
        public function simpleAlert(_arg1:String, _arg2:String, _arg3:String, _arg4:String=null, _arg5:String=null, _arg6:String=null, _arg7:Function=null):void
        {
            new _-1rH(this, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7);
        }

    }
}//package _-4pF

//------------------------------------------------------------
//_-4pF.ResourceManager

package _-4pF
{
    import flash.utils.Dictionary;
    import _-295._-4Rz;
    import _-295._-2kE;
    import flash.net.URLRequest;
    import _-1tB.AssetLoaderEvent;
    import _-295._-53S;
    import _-295.*;

    public class ResourceManager implements _-3JR 
    {

        private var _disposed:Boolean;
        private var _-U-:HabboWindowManagerComponent;
        private var _-4RG:Dictionary;

        public function ResourceManager(_arg1:HabboWindowManagerComponent)
        {
            this._-4RG = new Dictionary();
            super();
            this._-U- = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-U- = null;
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function retrieveAsset(_arg1:String, _arg2:_-53S):void
        {
            var k:_-4Rz;
            if ((((_arg1 == null)) || ((_arg1.length == 0))))
            {
                return;
            };
            var k:String = this._-3MU(_arg1);
            if (k == null)
            {
                return;
            };
            var k:_-2kE = this._-U-.assets.getAssetByName(k);
            if (k == null)
            {
                if ((((k.substr(0, 7) == "http://")) || ((k.substr(0, 8) == "https://"))))
                {
                    k = this._-U-.assets.loadAssetFromFile(k, new URLRequest(k));
                    if (((!((k == null))) && (!(k.disposed))))
                    {
                        if (this._-4RG[k] == null)
                        {
                            this._-4RG[k] = [];
                        };
                        if (_arg2 != null)
                        {
                            this._-4RG[k].push(_arg2);
                        };
                        k.addEventListener(AssetLoaderEvent._-1Tr, this._-2v8);
                    };
                };
            }
            else
            {
                if (_arg2 != null)
                {
                    _arg2._-56a(k, k);
                };
            };
        }
        private function _-2v8(_arg1:AssetLoaderEvent=null):void
        {
            var k:_-53S;
            if (this._disposed)
            {
                return;
            };
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if ((((k == null)) || ((this._-4RG[k.assetName] == null))))
            {
                return;
            };
            var k:_-2kE = this._-U-.assets.getAssetByName(k.assetName);
            for each (k in this._-4RG[k.assetName])
            {
                if (((!((k == null))) && (!(k.disposed))))
                {
                    k._-56a(k, k.url);
                };
            };
            delete this._-4RG[k.assetName];
        }
        public function isSameAsset(_arg1:String, _arg2:String):Boolean
        {
            return ((_arg2 == this._-3MU(_arg1)));
        }
        private function _-3MU(_arg1:String):String
        {
            if (this._-U-.configuration == null)
            {
                return (_arg1);
            };
            return (this._-U-.configuration.interpolate(_arg1));
        }
        public function _-529(_arg1:String, _arg2:Class, _arg3:Object):_-2kE
        {
            var k:_-2kE = new _arg2(this._-U-.assets.getAssetTypeDeclarationByClass(_arg2));
            this._-U-.assets.setAsset(_arg1, k);
            k._-2OI(_arg3);
            return (k);
        }
        public function removeAsset(_arg1:String):void
        {
            var k:String = this._-3MU(_arg1);
            this._-U-.assets.removeAsset(this._-U-.assets.getAssetByName(k));
        }

    }
}//package _-4pF

//------------------------------------------------------------
//_-4pT._-0c8

package _-4pT
{
    import _-4Aj._-7V;
    import _-0TF._-38c;
    import _-4Aj.*;

    public class _-0c8 extends _-7V implements _-0tL 
    {

        public function _-0c8(_arg1:Function)
        {
            super(_arg1, _-38c);
        }
        public function _-3-5():_-38c
        {
            return ((this._-515 as _-38c));
        }

    }
}//package _-4pT

//------------------------------------------------------------
//_-4Q0._-0wP

package _-4Q0
{
    import _-4Aj.*;

    public class _-0wP implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-4Q0

//------------------------------------------------------------
//_-4Q0._-1z

package _-4Q0
{
    import _-4Aj.*;

    public class _-1z implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1z(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-4Q0

//------------------------------------------------------------
//_-4Q0._-34z

package _-4Q0
{
    import _-4Aj.*;

    public class _-34z implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-34z(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-4Q0

//------------------------------------------------------------
//_-4Q0._-3vQ

package _-4Q0
{
    import _-4Aj.*;

    public class _-3vQ implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3vQ(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-4Q0

//------------------------------------------------------------
//_-4Q0._-4us

package _-4Q0
{
    import _-4Aj.*;

    public class _-4us implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4us(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-4Q0

//------------------------------------------------------------
//_-4Q0._-4zH

package _-4Q0
{
    import _-4Aj.*;

    public class _-4zH implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-4zH(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-4Q0

//------------------------------------------------------------
//_-4Q0._-5Bm

package _-4Q0
{
    import _-4Aj.*;

    public class _-5Bm implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-4Q0

//------------------------------------------------------------
//_-4Q0.null

package _-4Q0
{
    import _-4Aj.*;

    public class null implements _-1oF 
    {

        private var _-1QD:int;

        public function null(_arg1:int)
        {
            this._-1QD = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-1QD]);
        }
        public function dispose():void
        {
        }

    }
}//package _-4Q0

//------------------------------------------------------------
//_-4qx._-02r

package _-4qx
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-02r implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _-57p:int = 0;
        private var _-0Wk:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-33s():int
        {
            return (this._-57p);
        }
        public function get _-2Zj():int
        {
            return (this._-0Wk);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-4lu = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-4lu = _arg1._-2BW();
            this._-57p = _arg1._-2BW();
            this._-0Wk = _arg1._-2BW();
            return (true);
        }

    }
}//package _-4qx

//------------------------------------------------------------
//_-4qx._-1wY

package _-4qx
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1wY implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _-iX:Boolean = false;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-1hf():Boolean
        {
            return (this._-iX);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-4lu = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-4lu = _arg1._-2BW();
            this._-iX = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-4qx

//------------------------------------------------------------
//_-4qx._-1Zh

package _-4qx
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Zh implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _-53-:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-15x():int
        {
            return (this._-53-);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-4lu = 0;
            this._-53- = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-4lu = _arg1._-2BW();
            this._-53- = _arg1._-2BW();
            return (true);
        }

    }
}//package _-4qx

//------------------------------------------------------------
//_-4qx._-2Oa

package _-4qx
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Oa implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _-53-:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-15x():int
        {
            return (this._-53-);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-4lu = 0;
            this._-53- = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-4lu = _arg1._-2BW();
            this._-53- = _arg1._-2BW();
            return (true);
        }

    }
}//package _-4qx

//------------------------------------------------------------
//_-4qx._-2Y5

package _-4qx
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Y5 implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _-nc:int = -1;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-0lP():int
        {
            return (this._-nc);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-4lu = 0;
            this._-nc = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-4lu = _arg1._-2BW();
            this._-nc = _arg1._-2BW();
            return (true);
        }

    }
}//package _-4qx

//------------------------------------------------------------
//_-4qx._-4bL

package _-4qx
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4bL implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-4lu:int = 0;
        private var _-0nz:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-Xk():int
        {
            return (this._-0nz);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-4lu = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-4lu = _arg1._-2BW();
            this._-0nz = _arg1._-2BW();
            return (true);
        }

    }
}//package _-4qx

//------------------------------------------------------------
//_-4R4.Game2FullGameStatusMessageEvent

package _-4R4
{
    import _-4Aj._-7V;
    import _-0Hq.Game2FullGameStatusMessageParser;
    import _-4Aj.*;

    public class Game2FullGameStatusMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2FullGameStatusMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2FullGameStatusMessageParser);
        }
        public function _-3-5():Game2FullGameStatusMessageParser
        {
            return ((this._-515 as Game2FullGameStatusMessageParser));
        }

    }
}//package _-4R4

//------------------------------------------------------------
//_-4R4.Game2GameStatusMessageEvent

package _-4R4
{
    import _-4Aj._-7V;
    import _-0Hq.Game2GameStatusMessageParser;
    import _-4Aj.*;

    public class Game2GameStatusMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameStatusMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameStatusMessageParser);
        }
        public function _-3-5():Game2GameStatusMessageParser
        {
            return ((this._-515 as Game2GameStatusMessageParser));
        }

    }
}//package _-4R4

//------------------------------------------------------------
//_-4rn._-09R

package _-4rn
{
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-3D7._-2fB;
    import _-3D7._-1Wb;

    public final class _-09R implements _-59O 
    {

        private static var _-3OK:int = 0;

        private var _-xd:BitmapData = null;
        private var _-1sU:String = "";
        private var _-r3:Boolean = true;
        private var _-2CI:String = "";
        private var _-0PC:int = 0xFF;
        private var _color:int = 0xFFFFFF;
        private var _-56m:String = "normal";
        private var _-4tY:Boolean = false;
        private var _-3VQ:Boolean = false;
        private var _-1fe:Point;
        private var _-0Dz:int = 0;
        private var _height:int = 0;
        private var _-1Fo:Number = 0;
        private var _-1vV:Boolean = false;
        private var _-0Qt:int;
        private var _-4bh:Boolean = false;
        private var _-024:int = 0;
        private var _-45U:int = 0;
        private var _-2gW:Array = null;
        protected var _-2th:int;

        public function _-09R()
        {
            this._-1fe = new Point(0, 0);
            this._-0Qt = _-2fB._-85;
            this._-2th = _-1Wb._-3dr;
            super();
            this._-45U = _-3OK++;
        }
        public function dispose():void
        {
            this._-xd = null;
            this._-0Dz = 0;
            this._height = 0;
        }
        public function get asset():BitmapData
        {
            return (this._-xd);
        }
        public function get assetName():String
        {
            return (this._-1sU);
        }
        public function get visible():Boolean
        {
            return (this._-r3);
        }
        public function get tag():String
        {
            return (this._-2CI);
        }
        public function get alpha():int
        {
            return (this._-0PC);
        }
        public function get color():int
        {
            return (this._color);
        }
        public function get blendMode():String
        {
            return (this._-56m);
        }
        public function get flipV():Boolean
        {
            return (this._-3VQ);
        }
        public function get flipH():Boolean
        {
            return (this._-4tY);
        }
        public function get offsetX():int
        {
            return (this._-1fe.x);
        }
        public function get offsetY():int
        {
            return (this._-1fe.y);
        }
        public function get width():int
        {
            return (this._-0Dz);
        }
        public function get height():int
        {
            return (this._height);
        }
        public function get relativeDepth():Number
        {
            return (this._-1Fo);
        }
        public function get _-2lJ():Boolean
        {
            return (this._-1vV);
        }
        public function get _-0Yj():Boolean
        {
            return (this._-4bh);
        }
        public function get _-35A():int
        {
            return (this._-45U);
        }
        public function get _-3KH():int
        {
            return (this._-024);
        }
        public function get filters():Array
        {
            return (this._-2gW);
        }
        public function get _-y8():int
        {
            return (this._-2th);
        }
        public function set _-y8(_arg1:int):void
        {
            this._-2th = _arg1;
        }
        public function set asset(_arg1:BitmapData):void
        {
            if (_arg1 == this._-xd)
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-0Dz = _arg1.width;
                this._height = _arg1.height;
            };
            this._-xd = _arg1;
            this._-024++;
        }
        public function set assetName(_arg1:String):void
        {
            if (_arg1 == this._-1sU)
            {
                return;
            };
            this._-1sU = _arg1;
            this._-024++;
        }
        public function set visible(_arg1:Boolean):void
        {
            if (_arg1 == this._-r3)
            {
                return;
            };
            this._-r3 = _arg1;
            this._-024++;
        }
        public function set tag(_arg1:String):void
        {
            if (_arg1 == this._-2CI)
            {
                return;
            };
            this._-2CI = _arg1;
            this._-024++;
        }
        public function set alpha(_arg1:int):void
        {
            k = (_arg1 & 0xFF);
            if (k == this._-0PC)
            {
                return;
            };
            this._-0PC = k;
            this._-024++;
        }
        public function set color(_arg1:int):void
        {
            k = (_arg1 & 0xFFFFFF);
            if (k == this._color)
            {
                return;
            };
            this._color = k;
            this._-024++;
        }
        public function set blendMode(_arg1:String):void
        {
            if (_arg1 == this._-56m)
            {
                return;
            };
            this._-56m = _arg1;
            this._-024++;
        }
        public function set filters(_arg1:Array):void
        {
            if (_arg1 == this._-2gW)
            {
                return;
            };
            this._-2gW = _arg1;
            this._-024++;
        }
        public function set flipH(_arg1:Boolean):void
        {
            if (_arg1 == this._-4tY)
            {
                return;
            };
            this._-4tY = _arg1;
            this._-024++;
        }
        public function set flipV(_arg1:Boolean):void
        {
            if (_arg1 == this._-3VQ)
            {
                return;
            };
            this._-3VQ = _arg1;
            this._-024++;
        }
        public function set offsetX(_arg1:int):void
        {
            if (_arg1 == this._-1fe.x)
            {
                return;
            };
            this._-1fe.x = _arg1;
            this._-024++;
        }
        public function set offsetY(_arg1:int):void
        {
            if (_arg1 == this._-1fe.y)
            {
                return;
            };
            this._-1fe.y = _arg1;
            this._-024++;
        }
        public function set relativeDepth(_arg1:Number):void
        {
            if (_arg1 == this._-1Fo)
            {
                return;
            };
            this._-1Fo = _arg1;
            this._-024++;
        }
        public function set _-2lJ(_arg1:Boolean):void
        {
            if (_arg1 == this._-1vV)
            {
                return;
            };
            this._-1vV = _arg1;
            this._-024++;
        }
        public function set _-0Yj(_arg1:Boolean):void
        {
            if (this._-4bh == _arg1)
            {
                return;
            };
            this._-4bh = _arg1;
            this._-024++;
        }
        public function get _-4l2():int
        {
            return (this._-0Qt);
        }
        public function set _-4l2(_arg1:int):void
        {
            if (this._-0Qt == _arg1)
            {
                return;
            };
            this._-0Qt = _arg1;
            this._-024++;
        }

    }
}//package _-4rn

//------------------------------------------------------------
//_-4rn._-2Jg

package _-4rn
{
    import _-022._-2KD;

    public interface _-2Jg extends _-dD 
    {

        function get _-0-Z():_-2KD;
        function set _-0-Z(_arg1:_-2KD):void;

    }
}//package _-4rn

//------------------------------------------------------------
//_-4rn._-59O

package _-4rn
{
    import flash.display.BitmapData;

    public interface _-59O 
    {

        function get asset():BitmapData;
        function set asset(_arg1:BitmapData):void;
        function get assetName():String;
        function set assetName(_arg1:String):void;
        function get visible():Boolean;
        function set visible(_arg1:Boolean):void;
        function get tag():String;
        function set tag(_arg1:String):void;
        function get alpha():int;
        function set alpha(_arg1:int):void;
        function get color():int;
        function set color(_arg1:int):void;
        function get blendMode():String;
        function set blendMode(_arg1:String):void;
        function get filters():Array;
        function set filters(_arg1:Array):void;
        function get flipH():Boolean;
        function set flipH(_arg1:Boolean):void;
        function get flipV():Boolean;
        function set flipV(_arg1:Boolean):void;
        function get offsetX():int;
        function set offsetX(_arg1:int):void;
        function get offsetY():int;
        function set offsetY(_arg1:int):void;
        function get width():int;
        function get height():int;
        function get relativeDepth():Number;
        function set relativeDepth(_arg1:Number):void;
        function get _-2lJ():Boolean;
        function set _-2lJ(_arg1:Boolean):void;
        function get _-0Yj():Boolean;
        function set _-0Yj(_arg1:Boolean):void;
        function get _-35A():int;
        function get _-3KH():int;
        function set _-y8(_arg1:int):void;
        function get _-y8():int;
        function get _-4l2():int;
        function set _-4l2(_arg1:int):void;

    }
}//package _-4rn

//------------------------------------------------------------
//_-4rn._-dD

package _-4rn
{
    import _-3V-._-3SU;
    import _-0y0._-3q6;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;

    public interface _-dD 
    {

        function set object(_arg1:_-3SU):void;
        function get object():_-3SU;
        function dispose():void;
        function initialize(_arg1:_-H0):Boolean;
        function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void;
        function get image():BitmapData;
        function _-2Xc(_arg1:int):BitmapData;
        function get boundingRectangle():Rectangle;
        function getInstanceId():int;
        function _-1Pk():int;

    }
}//package _-4rn

//------------------------------------------------------------
//_-4rn._-E7

package _-4rn
{
    public interface _-E7 extends _-2Jg 
    {

        function get _-18O():int;
        function _-2IM(_arg1:int):_-59O;

    }
}//package _-4rn

//------------------------------------------------------------
//_-4rn._-H0

package _-4rn
{
    public interface _-H0 
    {

        function initialize(_arg1:XML):Boolean;
        function dispose():void;

    }
}//package _-4rn

//------------------------------------------------------------
//_-4rn.RoomObjectSpriteVisualization

package _-4rn
{
    import _-3V-._-3SU;
    import _-022._-2KD;
    import _-0y0._-3q6;
    import flash.display.BitmapData;
    import flash.geom.ColorTransform;
    import flash.geom.Matrix;
    import flash.geom.Rectangle;
    import flash.display.BlendMode;
    import flash.geom.Point;

    public class RoomObjectSpriteVisualization implements _-E7 
    {

        private static var _-3OK:int = 0;

        private var _-eH:Array;
        private var _-XQ:_-3SU;
        private var _-3e3:_-2KD;
        protected var _-0Tt:int = -1;
        protected var _-1WO:int = -1;
        protected var _-3RS:int = -1;
        private var _-45U:int = 0;
        private var _-024:int = 0;

        public function RoomObjectSpriteVisualization()
        {
            this._-45U = _-3OK++;
            this._-eH = [];
            this._-XQ = null;
            this._-3e3 = null;
        }
        public function dispose():void
        {
            var k:_-09R;
            if (this._-eH != null)
            {
                while (this._-eH.length > 0)
                {
                    k = (this._-eH[0] as _-09R);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    this._-eH.pop();
                };
                this._-eH = null;
            };
            this._-XQ = null;
            this._-0-Z = null;
        }
        public function set _-0-Z(_arg1:_-2KD):void
        {
            if (this._-3e3 != null)
            {
                this._-3e3._-5Bb();
            };
            this._-3e3 = _arg1;
            if (this._-3e3 != null)
            {
                this._-3e3._-4EN();
            };
        }
        public function get _-0-Z():_-2KD
        {
            return (this._-3e3);
        }
        public function _-1Pk():int
        {
            return (this._-024);
        }
        public function getInstanceId():int
        {
            return (this._-45U);
        }
        protected function _-2Dm(_arg1:int):void
        {
            var k:_-09R;
            while (this._-eH.length > _arg1)
            {
                k = (this._-eH[(this._-eH.length - 1)] as _-09R);
                if (k != null)
                {
                    k.dispose();
                };
                this._-eH.pop();
            };
            while (this._-eH.length < _arg1)
            {
                k = new _-09R();
                this._-eH.push(k);
            };
        }
        public function _-0iu():_-59O
        {
            return (this._-3-P(this._-eH.length));
        }
        public function _-3-P(_arg1:int):_-59O
        {
            var k:_-59O = new _-09R();
            if (_arg1 >= this._-eH.length)
            {
                this._-eH.push(k);
            }
            else
            {
                this._-eH.splice(_arg1, 0, k);
            };
            return (k);
        }
        public function _-4Ix(_arg1:_-59O):void
        {
            var k:int = this._-eH.indexOf(_arg1);
            if (k == -1)
            {
                throw (new Error("Trying to remove non-existing sprite!"));
            };
            this._-eH.splice(k, 1);
            _-09R(_arg1).dispose();
        }
        public function get _-18O():int
        {
            return (this._-eH.length);
        }
        public function _-2IM(_arg1:int):_-59O
        {
            if ((((_arg1 >= 0)) && ((_arg1 < this._-eH.length))))
            {
                return (this._-eH[_arg1]);
            };
            return (null);
        }
        public function get object():_-3SU
        {
            return (this._-XQ);
        }
        public function set object(_arg1:_-3SU):void
        {
            this._-XQ = _arg1;
        }
        public function update(_arg1:_-3q6, _arg2:int, _arg3:Boolean, _arg4:Boolean):void
        {
        }
        protected function _-3qW():void
        {
            this._-024++;
        }
        protected function reset():void
        {
            this._-0Tt = 0xFFFFFFFF;
            this._-1WO = 0xFFFFFFFF;
            this._-3RS = -1;
        }
        public function initialize(_arg1:_-H0):Boolean
        {
            return (false);
        }
        public function get image():BitmapData
        {
            return (this._-2Xc(0));
        }
        public function _-2Xc(_arg1:int):BitmapData
        {
            var tR:Number;
            var tG:Number;
            var tB:Number;
            var color:int;
            var r:int;
            var g:int;
            var b:int;
            var colorTransform:ColorTransform;
            var matrix:Matrix;
            var bgColor:int = _arg1;
            var boundingRect:Rectangle = this.boundingRectangle;
            if ((boundingRect.width * boundingRect.height) == 0)
            {
                return (null);
            };
            var count:int = this._-18O;
            var objectSprite:_-59O;
            var spriteList:Array = [];
            var index:int;
            var data:BitmapData;
            index = 0;
            while (index < count)
            {
                objectSprite = this._-2IM(index);
                if (((!((objectSprite == null))) && (objectSprite.visible)))
                {
                    data = objectSprite.asset;
                    if (data != null)
                    {
                        spriteList.push(objectSprite);
                    };
                };
                index = (index + 1);
            };
            spriteList.sortOn("relativeDepth", (Array.DESCENDING | Array.NUMERIC));
            var bitmapData:BitmapData;
            try
            {
                bitmapData = new BitmapData(boundingRect.width, boundingRect.height, true, bgColor);
            }
            catch(e:ArgumentError)
            {
                _-Nb.log(("Unable to create BitmapData object! " + e));
            };
            if (!bitmapData)
            {
                return (new BitmapData(1, 1, true));
            };
            index = 0;
            while (index < spriteList.length)
            {
                objectSprite = (spriteList[index] as _-59O);
                data = objectSprite.asset;
                if (data != null)
                {
                    color = objectSprite.color;
                    r = (color >> 16);
                    g = ((color >> 8) & 0xFF);
                    b = (color & 0xFF);
                    colorTransform = null;
                    if ((((((r < 0xFF)) || ((g < 0xFF)))) || ((b < 0xFF))))
                    {
                        tR = (r / 0xFF);
                        tG = (g / 0xFF);
                        tB = (b / 0xFF);
                        colorTransform = new ColorTransform(tR, tG, tB, (objectSprite.alpha / 0xFF));
                    }
                    else
                    {
                        if (objectSprite.alpha < 0xFF)
                        {
                            colorTransform = new ColorTransform(1, 1, 1, (objectSprite.alpha / 0xFF));
                        };
                    };
                    if (bgColor == 0)
                    {
                        if (objectSprite.blendMode == BlendMode.ADD)
                        {
                            if (colorTransform == null)
                            {
                                colorTransform = new ColorTransform(1, 1, 1, 0);
                            }
                            else
                            {
                                colorTransform.alphaMultiplier = 0;
                            };
                        };
                    };
                    matrix = new Matrix();
                    if (objectSprite.flipH)
                    {
                        matrix.scale(-1, 1);
                        matrix.translate(data.width, 0);
                    };
                    if (objectSprite.flipV)
                    {
                        matrix.scale(1, -1);
                        matrix.translate(0, data.height);
                    };
                    matrix.translate((objectSprite.offsetX - boundingRect.left), (objectSprite.offsetY - boundingRect.top));
                    bitmapData.draw(data, matrix, colorTransform, objectSprite.blendMode, null, false);
                };
                index = (index + 1);
            };
            return (bitmapData);
        }
        public function get boundingRectangle():Rectangle
        {
            var k:Point;
            var k:int = this._-18O;
            var k:_-59O;
            var k:Rectangle = new Rectangle();
            var k:int;
            var k:BitmapData;
            k = 0;
            while (k < k)
            {
                k = this._-2IM(k);
                if (((!((k == null))) && (k.visible)))
                {
                    k = k.asset;
                    if (k != null)
                    {
                        k = new Point(k.offsetX, k.offsetY);
                        if (k == 0)
                        {
                            k.left = k.x;
                            k.top = k.y;
                            k.right = (k.x + k.width);
                            k.bottom = (k.y + k.height);
                        }
                        else
                        {
                            if (k.x < k.left)
                            {
                                k.left = k.x;
                            };
                            if (k.y < k.top)
                            {
                                k.top = k.y;
                            };
                            if ((k.x + k.width) > k.right)
                            {
                                k.right = (k.x + k.width);
                            };
                            if ((k.y + k.height) > k.bottom)
                            {
                                k.bottom = (k.y + k.height);
                            };
                        };
                    };
                };
                k++;
            };
            return (k);
        }

    }
}//package _-4rn

//------------------------------------------------------------
//_-4s1.Game2AccountGameStatusMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2AccountGameStatusMessageParser;
    import _-4Aj.*;

    public class Game2AccountGameStatusMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2AccountGameStatusMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2AccountGameStatusMessageParser);
        }
        public function _-3-5():Game2AccountGameStatusMessageParser
        {
            return ((this._-515 as Game2AccountGameStatusMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2GameCancelledMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2GameCancelledMessageParser;
    import _-4Aj.*;

    public class Game2GameCancelledMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameCancelledMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameCancelledMessageParser);
        }
        public function _-3-5():Game2GameCancelledMessageParser
        {
            return ((this._-515 as Game2GameCancelledMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2GameCreatedMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2GameCreatedMessageParser;
    import _-4Aj.*;

    public class Game2GameCreatedMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameCreatedMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameCreatedMessageParser);
        }
        public function _-3-5():Game2GameCreatedMessageParser
        {
            return ((this._-515 as Game2GameCreatedMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2GameDirectoryStatusMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2GameDirectoryStatusMessageParser;
    import _-4Aj.*;

    public class Game2GameDirectoryStatusMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameDirectoryStatusMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameDirectoryStatusMessageParser);
        }
        public function _-3-5():Game2GameDirectoryStatusMessageParser
        {
            return ((this._-515 as Game2GameDirectoryStatusMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2GameLongDataMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2GameLongDataMessageParser;
    import _-4Aj.*;

    public class Game2GameLongDataMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameLongDataMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameLongDataMessageParser);
        }
        public function _-3-5():Game2GameLongDataMessageParser
        {
            return ((this._-515 as Game2GameLongDataMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2GameNotFoundMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2GameNotFoundMessageParser;
    import _-4Aj.*;

    public class Game2GameNotFoundMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameNotFoundMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameNotFoundMessageParser);
        }
        public function _-3-5():Game2GameNotFoundMessageParser
        {
            return ((this._-515 as Game2GameNotFoundMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2GameStartedMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2GameStartedMessageParser;
    import _-4Aj.*;

    public class Game2GameStartedMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2GameStartedMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2GameStartedMessageParser);
        }
        public function _-3-5():Game2GameStartedMessageParser
        {
            return ((this._-515 as Game2GameStartedMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2InArenaQueueMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2InArenaQueueMessageParser;
    import _-4Aj.*;

    public class Game2InArenaQueueMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2InArenaQueueMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2InArenaQueueMessageParser);
        }
        public function _-3-5():Game2InArenaQueueMessageParser
        {
            return ((this._-515 as Game2InArenaQueueMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2JoiningGameFailedMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2JoiningGameFailedMessageParser;
    import _-4Aj.*;

    public class Game2JoiningGameFailedMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2JoiningGameFailedMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2JoiningGameFailedMessageParser);
        }
        public function _-3-5():Game2JoiningGameFailedMessageParser
        {
            return ((this._-515 as Game2JoiningGameFailedMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2StartCounterMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2StartCounterMessageParser;
    import _-4Aj.*;

    public class Game2StartCounterMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2StartCounterMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2StartCounterMessageParser);
        }
        public function _-3-5():Game2StartCounterMessageParser
        {
            return ((this._-515 as Game2StartCounterMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2StartingGameFailedMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2StartingGameFailedMessageParser;
    import _-4Aj.*;

    public class Game2StartingGameFailedMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2StartingGameFailedMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2StartingGameFailedMessageParser);
        }
        public function _-3-5():Game2StartingGameFailedMessageParser
        {
            return ((this._-515 as Game2StartingGameFailedMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2StopCounterMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2StopCounterMessageParser;
    import _-36E.Game2InArenaQueueMessageParser;
    import _-4Aj.*;

    public class Game2StopCounterMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2StopCounterMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2StopCounterMessageParser);
        }
        public function _-3-5():Game2InArenaQueueMessageParser
        {
            return ((this._-515 as Game2InArenaQueueMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2UserBlockedMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2UserBlockedMessageParser;
    import _-4Aj.*;

    public class Game2UserBlockedMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2UserBlockedMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2UserBlockedMessageParser);
        }
        public function _-3-5():Game2UserBlockedMessageParser
        {
            return ((this._-515 as Game2UserBlockedMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2UserJoinedGameMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2UserJoinedGameMessageParser;
    import _-4Aj.*;

    public class Game2UserJoinedGameMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2UserJoinedGameMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2UserJoinedGameMessageParser);
        }
        public function _-3-5():Game2UserJoinedGameMessageParser
        {
            return ((this._-515 as Game2UserJoinedGameMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4s1.Game2UserLeftGameMessageEvent

package _-4s1
{
    import _-4Aj._-7V;
    import _-36E.Game2UserLeftGameMessageParser;
    import _-4Aj.*;

    public class Game2UserLeftGameMessageEvent extends _-7V implements _-0tL 
    {

        public function Game2UserLeftGameMessageEvent(_arg1:Function)
        {
            super(_arg1, Game2UserLeftGameMessageParser);
        }
        public function _-3-5():Game2UserLeftGameMessageParser
        {
            return ((this._-515 as Game2UserLeftGameMessageParser));
        }

    }
}//package _-4s1

//------------------------------------------------------------
//_-4u5._-0O0

package _-4u5
{
    import _-4Aj.*;

    public class _-0O0 implements _-1oF 
    {

        private var _-39v:int;
        private var _-hg:int;

        public function _-0O0(_arg1:int, _arg2:int)
        {
            this._-39v = _arg1;
            this._-hg = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-39v, this._-hg]);
        }

    }
}//package _-4u5

//------------------------------------------------------------
//_-4u5._-20S

package _-4u5
{
    import _-4Aj.*;

    public class _-20S implements _-1oF 
    {

        public static const _-4cV:int = 0;
        public static const _-1NG:int = 1;

        private var _-4qc:int;

        public function _-20S(_arg1:int=0)
        {
            this._-4qc = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4qc]);
        }

    }
}//package _-4u5

//------------------------------------------------------------
//_-4u5._-33e

package _-4u5
{
    import _-4Aj.*;

    public class _-33e implements _-1oF 
    {

        private var _-2md:String = "";

        public function _-33e(_arg1:String)
        {
            this._-2md = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-2md]);
        }

    }
}//package _-4u5

//------------------------------------------------------------
//_-4u5._-3fy

package _-4u5
{
    import _-4Aj.*;

    public class _-3fy implements _-1oF 
    {

        private var _-4qc:Boolean;

        public function _-3fy(_arg1:Boolean)
        {
            this._-4qc = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-4qc]);
        }

    }
}//package _-4u5

//------------------------------------------------------------
//_-4u5._-3j9

package _-4u5
{
    import _-4Aj.*;

    public class _-3j9 implements _-1oF 
    {

        private var _-08O:int;

        public function _-3j9(_arg1:int)
        {
            this._-08O = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-08O]);
        }

    }
}//package _-4u5

//------------------------------------------------------------
//_-4UL._-3Et

package _-4UL
{
    import _-293.RoomEngine;
    import _-293.RoomObjectEventHandler;
    import _-1B-._-5CE;
    import _-3ql._-2Kx;
    import _-3V-._-3SU;
    import _-0y0._-06R;
    import _-3mW._-1sV;
    import _-4hI._-zU;
    import flash.events.MouseEvent;
    import _-071._-4l1;
    import _-59g._-1Ey;

    public class _-3Et extends RoomEngine implements _-5EE 
    {

        private var _-1QR:RoomObjectEventHandler;
        private var _-4ER:int;
        private var _-0aN:int = 1;
        private var _-53F:uint = 3;

        public function _-3Et(_arg1:_-5CE, _arg2:uint=0)
        {
            this._-4ER = (int((Math.random() * 100000)) + 100000);
            super(_arg1, _arg2);
        }
        override protected function createRoomObjectEventHandlerInstance():RoomObjectEventHandler
        {
            this._-1QR = new _-3hg(this);
            return (this._-1QR);
        }
        public function _-54y(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:Boolean=false, _arg6:Boolean=false, _arg7:Boolean=false, _arg8:Boolean=false):Boolean
        {
            var k:_-2Kx = (_-3Ix() as _-2Kx);
            if (k != null)
            {
                return (k._-2Xk(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
            };
            return (false);
        }
        public function _-4fl(_arg1:int, _arg2:int):_-3SU
        {
            return (getRoomObject(activeRoomId, activeRoomCategory, _arg1, _arg2));
        }
        public function _-3ZX(_arg1:_-3k6):void
        {
            var k:_-3hg = (this._-3go as _-3hg);
            if (k != null)
            {
                k._-3ZX(_arg1);
            };
        }
        public function _-Uf(_arg1:String, _arg2:int, _arg3:int, _arg4:Number):_-3SU
        {
            var k:_-3SU;
            var k:_-06R;
            var k:int = getRoomObjectCount(_-3Ex, _-Rn, _-1sV._-0u-);
            var k:int;
            while (k < k)
            {
                k = getRoomObjectWithIndex(_-3Ex, _-Rn, k, _-1sV._-0u-);
                if (((k) && ((k.getType() == _arg1))))
                {
                    k = k.getLocation();
                    if ((((((k.x == _arg2)) && ((k.y == _arg3)))) && (this._-3u-(k.z, _arg4))))
                    {
                        return (k);
                    };
                };
                k++;
            };
            return (null);
        }
        public function _-1oY(_arg1:int, _arg2:int, _arg3:Number):_-3SU
        {
            var k:_-3SU;
            var k:_-06R;
            var k:int = getRoomObjectCount(_-3Ex, _-Rn, _-1sV._-3I0);
            var k:int;
            while (k < k)
            {
                k = getRoomObjectWithIndex(_-3Ex, _-Rn, k, _-1sV._-3I0);
                if (k)
                {
                    k = k.getLocation();
                    if ((((((k.x == _arg1)) && ((k.y == _arg2)))) && (this._-3u-(k.z, _arg3))))
                    {
                        return (k);
                    };
                };
                k++;
            };
            return (null);
        }
        public function _-25H(_arg1:String, _arg2:int):_-3SU
        {
            return (getRoomObject(_-3Ex, _-Rn, _arg2, _-1sV._-20L));
        }
        public function _-Ta(_arg1:String, _arg2:int, _arg3:int, _arg4:Number, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean):Boolean
        {
            var k:_-zU = _-13y(_-3Ex, _-Rn);
            var k:_-3SU = getRoomObject(_-3Ex, _-Rn, _-2nJ, _-1sV._-3Ag);
            var k:String = ((this._-4ER + "_") + this._-0aN++);
            var k:String = "";
            if ((((_arg1 == MouseEvent.MOUSE_MOVE)) || ((_arg1 == MouseEvent.ROLL_OVER))))
            {
                k = _-4l1._-Mb;
            }
            else
            {
                if (_arg1 == MouseEvent.CLICK)
                {
                    k = _-4l1._-se;
                };
            };
            var k:_-1Ey = new _-1Ey(k, k, k, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7);
            this._-1QR.handleRoomObjectEvent((k as _-4l1), activeRoomId, activeRoomCategory);
            return (true);
        }
        private function _-3u-(_arg1:Number, _arg2:Number):Boolean
        {
            var k:String = _arg1.toPrecision(this._-53F);
            var k:String = _arg2.toPrecision(this._-53F);
            return ((k == k));
        }
        public function get _-1B5():uint
        {
            return (this._-53F);
        }

    }
}//package _-4UL

//------------------------------------------------------------
//_-4UL._-3hg

package _-4UL
{
    import _-293.RoomObjectEventHandler;
    import _-293._-3Ic;
    import _-071._-2Z2;
    import _-59g._-1tL;
    import _-3mW._-1sV;

    public class _-3hg extends RoomObjectEventHandler 
    {

        private var _-4Hn:_-3k6;

        public function _-3hg(_arg1:_-3Ic)
        {
            super(_arg1);
        }
        public function _-3ZX(_arg1:_-3k6):void
        {
            this._-4Hn = _arg1;
        }
        override public function handleRoomObjectEvent(_arg1:_-2Z2, _arg2:int, _arg3:int):void
        {
            if (((_arg1) && (this._-4Hn)))
            {
                this._-4Hn._-2gR(_arg1);
            };
            super.handleRoomObjectEvent(_arg1, _arg2, _arg3);
        }
        override protected function handleObjectStateChange(_arg1:_-1tL, _arg2:int, _arg3:int):void
        {
            if (_arg1 != null)
            {
                if (this._-4Hn != null)
                {
                };
            };
            super.handleObjectStateChange(_arg1, _arg2, _arg3);
        }
        override public function setSelectedObject(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:String = this._-2do(_arg4);
            if (k != null)
            {
                if (this._-4Hn != null)
                {
                };
            };
            super.setSelectedObject(_arg1, _arg2, _arg3, _arg4);
        }
        override public function modifyRoomObject(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String):Boolean
        {
            var k:String = this._-2do(_arg4);
            if (k != null)
            {
                if (this._-4Hn != null)
                {
                };
            };
            return (super.modifyRoomObject(_arg1, _arg2, _arg3, _arg4, _arg5));
        }
        private function _-2do(_arg1:int):String
        {
            var k:String;
            switch (_arg1)
            {
                case _-1sV._-0u-:
                    k = "furniture";
                    break;
                case _-1sV._-20L:
                    k = "wallitem";
                    break;
                case _-1sV._-3I0:
                    k = "user";
                    break;
                case _-1sV._-3Ag:
                    k = "room";
                    break;
            };
            return (k);
        }

    }
}//package _-4UL

//------------------------------------------------------------
//_-4UL._-3k6

package _-4UL
{
    import _-071._-2Z2;

    public interface _-3k6 
    {

        function _-2gR(_arg1:_-2Z2):void;

    }
}//package _-4UL

//------------------------------------------------------------
//_-4UL._-5EE

package _-4UL
{
    import _-3V-._-3SU;
    import _-293.*;

    public interface _-5EE extends _-5-S 
    {

        function _-54y(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:Boolean=false, _arg6:Boolean=false, _arg7:Boolean=false, _arg8:Boolean=false):Boolean;
        function _-4fl(_arg1:int, _arg2:int):_-3SU;
        function _-3ZX(_arg1:_-3k6):void;
        function _-Uf(_arg1:String, _arg2:int, _arg3:int, _arg4:Number):_-3SU;
        function _-1oY(_arg1:int, _arg2:int, _arg3:Number):_-3SU;
        function _-25H(_arg1:String, _arg2:int):_-3SU;
        function _-Ta(_arg1:String, _arg2:int, _arg3:int, _arg4:Number, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean):Boolean;
        function get _-1B5():uint;

    }
}//package _-4UL

//------------------------------------------------------------
//_-4Un._-2bB

package _-4Un
{
    import _-FP._-2ul;
    import _-Ew.IWindowContainer;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-4k5;
    import flash.events.IEventDispatcher;
    import _-Ew.IWindow;
    import _-295._-2kE;
    import _-295._-243;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-0aJ;
    import _-2ly._-11j;
    import _-0Ie.WindowEvent;

    public class _-2bB extends _-2ul 
    {

        private static const _-3SS:Number = 100;
        private static const _-OU:Number = 100;

        private var _-0xv:IWindowContainer;
        private var _-4wt:int = -1;
        private var _-09g:Number;

        public function _-2bB(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function dispose():void
        {
            this._-0of();
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-4k5._-57z, this.onObjectUpdate);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-4k5._-57z, this.onObjectUpdate);
        }
        private function onObjectUpdate(_arg1:_-4k5):void
        {
            this._-0of();
            this._-4wt = _arg1._-mx;
            this._-09g = _arg1._-3U9;
            this._-3Zl();
        }
        private function _-3Zl():void
        {
            var k:IWindow;
            if (this._-4wt == -1)
            {
                return;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            windowManager.registerLocalizationParameter("widgets.furniture.credit.redeem.value", "value", String(this._-09g));
            var k:_-2kE = assets.getAssetByName("credit_redeem");
            var k:_-243 = _-243(k);
            if (k == null)
            {
                return;
            };
            this._-0xv = (windowManager.createWindow("creditfurniui_container", "", _-4Pi._-0Dc, _-29z._-3dr, (_-3hb._-0l | _-3hb._-0g6), new Rectangle(_-3SS, _-OU, 2, 2), null, 0) as IWindowContainer);
            this._-0xv.buildFromXML(XML(k.content));
            this._-0xv.background = true;
            this._-0xv.color = 33554431;
            k = this._-0xv.findChildByName("cancel");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            k = this._-0xv.findChildByName("exchange");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            k = this._-0xv.findChildByName("link");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            k = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.procedure = this._-lf;
            };
            this._-0xv.addEventListener(WindowMouseEvent._-90, this._-2yr);
        }
        private function _-0of():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-4wt = -1;
            this._-09g = 0;
        }
        private function _-1-7():void
        {
            var k:_-0aJ;
            if (this._-4wt == -1)
            {
                return;
            };
            if (messageListener != null)
            {
                k = new _-0aJ(_-0aJ._-29i, this._-4wt);
                messageListener.processWidgetMessage(k);
                this._-0of();
            };
        }
        private function _-2yr(_arg1:WindowMouseEvent):void
        {
            var _local4:String;
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "link":
                    _local4 = localizations.getKey("widget.furni.info.url");
                    if (_local4.indexOf("http") == 0)
                    {
                        _-11j.navigateToURL(_local4, "habboMain");
                    };
                    return;
                case "exchange":
                    this._-1-7();
                    return;
                case "cancel":
                case "close":
                    this._-0of();
                    return;
            };
        }
        private function _-lf(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-0of();
        }

    }
}//package _-4Un

//------------------------------------------------------------
//_-4V9._-0zb

package _-4V9
{
    import _-4Aj._-7V;
    import _-0c3._-4fA;
    import _-4Aj.*;

    public class _-0zb extends _-7V implements _-0tL 
    {

        public function _-0zb(_arg1:Function)
        {
            super(_arg1, _-4fA);
        }
        public function _-3-5():_-4fA
        {
            return ((_-515 as _-4fA));
        }

    }
}//package _-4V9

//------------------------------------------------------------
//_-4V9._-2Mj

package _-4V9
{
    import _-4Aj._-7V;
    import _-0c3._-1KZ;
    import _-4Aj.*;

    public class _-2Mj extends _-7V implements _-0tL 
    {

        public function _-2Mj(_arg1:Function)
        {
            super(_arg1, _-1KZ);
        }
        public function _-3-5():_-1KZ
        {
            return ((_-515 as _-1KZ));
        }

    }
}//package _-4V9

//------------------------------------------------------------
//_-4V9._-4A

package _-4V9
{
    import _-4Aj._-7V;
    import _-0c3._-0c9;
    import _-4Aj.*;

    public class _-4A extends _-7V implements _-0tL 
    {

        public function _-4A(_arg1:Function)
        {
            super(_arg1, _-0c9);
        }
        public function _-3-5():_-0c9
        {
            return ((_-515 as _-0c9));
        }

    }
}//package _-4V9

//------------------------------------------------------------
//_-4V9._-4XH

package _-4V9
{
    import _-4Aj._-7V;
    import _-0c3._-0iN;
    import _-4Aj.*;

    public class _-4XH extends _-7V implements _-0tL 
    {

        public function _-4XH(_arg1:Function)
        {
            super(_arg1, _-0iN);
        }
        public function _-3-5():_-0iN
        {
            return ((_-515 as _-0iN));
        }

    }
}//package _-4V9

//------------------------------------------------------------
//_-4VS._-4vp

package _-4VS
{
    import _-FP._-2ul;
    import _-1ae.IFrameWindow;
    import flash.display.BitmapData;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-1df;
    import flash.events.IEventDispatcher;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-295._-2kE;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import flash.geom.Point;
    import _-1ae.IBitmapWrapperWindow;
    import _-1FD._-4Vo;
    import _-1ae.ITextFieldWindow;

    public class _-4vp extends _-2ul 
    {

        private var _-0xv:IFrameWindow;
        private var _-44i:int = -1;
        private var _-kA:BitmapData;
        private var _-32M:Boolean = false;

        public function _-4vp(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function dispose():void
        {
            this._-0of();
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-1df._-jb, this.onObjectUpdate);
            _arg1.addEventListener(_-1df._-3Mz, this.onObjectUpdate);
            _arg1.addEventListener(_-1df._-1Qt, this.onObjectUpdate);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-1df._-jb, this.onObjectUpdate);
            _arg1.removeEventListener(_-1df._-3Mz, this.onObjectUpdate);
            _arg1.removeEventListener(_-1df._-1Qt, this.onObjectUpdate);
            super.unregisterUpdateEvents(_arg1);
        }
        private function onObjectUpdate(_arg1:_-1df):void
        {
            var nameValidationStatus:int;
            var nameValidationInfo:String;
            var error:String;
            var resultMessage:String;
            var event:_-1df = _arg1;
            switch (event.type)
            {
                case _-1df._-jb:
                    this._-0of();
                    this._-44i = event._-mx;
                    this._-kA = event.image;
                    this._-3Zl();
                    this._-5BE();
                    return;
                case _-1df._-3Mz:
                    if (!this._-32M)
                    {
                        return;
                    };
                    this._-32M = false;
                    nameValidationStatus = event.nameValidationStatus;
                    nameValidationInfo = event.nameValidationInfo;
                    switch (nameValidationStatus)
                    {
                        case 0:
                            this._-0of();
                            return;
                        case 1:
                            error = "long";
                            break;
                        case 2:
                            error = "short";
                            break;
                        case 3:
                            error = "chars";
                            break;
                        default:
                            error = "bobba";
                    };
                    resultMessage = this._-3bX(error, nameValidationInfo);
                    windowManager.alert("${widgets.petpackage.alert.petname.title}", resultMessage, 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                    {
                        _arg1.dispose();
                    });
                    return;
                case _-1df._-1Qt:
                    if (event._-mx != this._-44i)
                    {
                        return;
                    };
                    this._-kA = event.image;
                    this._-5BE();
                    return;
            };
        }
        private function _-3bX(_arg1:String, _arg2:String):String
        {
            var k:String = ("catalog.alert.petname." + _arg1);
            var k = (k + ".additionalInfo");
            localizations.registerParameter(k, "additional_info", _arg2);
            var k:String = localizations.getKey(k);
            var k:String = localizations.getKey(k);
            if (((((((!((_arg2 == null))) && ((_arg2.length > 0)))) && (!((k == null))))) && ((k.length > 0))))
            {
            };
            return (k);
        }
        private function _-0of():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-44i = -1;
            this._-32M = false;
            this._-kA = null;
        }
        private function _-3Zl():void
        {
            var k:IWindow;
            if (this._-44i < 0)
            {
                return;
            };
            var k:_-2kE = assets.getAssetByName("petpackage");
            var k:_-243 = _-243(k);
            if (k == null)
            {
                return;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-0xv = (windowManager.buildFromXML(XML(k.content)) as IFrameWindow);
            this._-0xv.center();
            var k:IWindow = this._-0xv.header.findChildByTag("close");
            if (k)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-lf);
            };
            k = this._-0xv.findChildByName("pick_name");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            k = this._-0xv.findChildByName("cancel");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            this._-0xv.addEventListener(WindowMouseEvent._-90, this._-2yr);
            this._-5BE();
        }
        private function _-5BE():void
        {
            var k:Point;
            if ((((this._-kA == null)) || ((this._-0xv == null))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("pet_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
                k = new Point(((k.width - this._-kA.width) / 2), ((k.height - this._-kA.height) / 2));
                k.bitmap.copyPixels(this._-kA, this._-kA.rect, k);
            };
        }
        private function _-lf(_arg1:WindowEvent):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-0of();
        }
        private function _-2yr(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "pick_name":
                    this._-1I3();
                    return;
                case "cancel":
                    this._-0of();
                    return;
            };
        }
        private function _-1I3():void
        {
            var message:_-4Vo;
            if (((this._-32M) || ((this._-44i == -1))))
            {
                return;
            };
            var name:String = this._-4bf();
            if ((((name == null)) || ((name.length < 1))))
            {
                windowManager.alert("${widgets.petpackage.alert.petname.title}", "${catalog.alert.petname.short}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                {
                    _arg1.dispose();
                });
                return;
            };
            if (messageListener != null)
            {
                this._-32M = true;
                message = new _-4Vo(_-4Vo._-3R4, this._-44i, name);
                messageListener.processWidgetMessage(message);
            };
        }
        private function _-4bf():String
        {
            var k:ITextFieldWindow;
            if (this._-0xv)
            {
                k = (this._-0xv.findChildByName("input") as ITextFieldWindow);
                if (k)
                {
                    return (k.text);
                };
            };
            return (null);
        }

    }
}//package _-4VS

//------------------------------------------------------------
//_-4Vx._-2iW

package _-4Vx
{
    import _-0W2.Direction8;
    import _-2b4.Tile;
    import _-4h0._-3W9;
    import _-2b4.SnowWarGameStage;
    import _-4h0.SnowWarGameObjectData;
    import _-2S9.Exception;

    public class _-2iW extends _-VS 
    {

        public static var _-4zP:Array = [1200];

        private var _-4ac:int;
        private var _-5EA:Direction8;

        public function _-2iW(_arg1:_-3W9, _arg2:SnowWarGameStage)
        {
            super(_arg1.id, _arg1._-1mW, _arg2._-0YJ(Tile._-3-Q(_arg1._-0Nb), Tile._-3fR(_arg1._-0PI)), _arg1._-ko);
            this._-4ac = _arg1._-3rz;
            this._-5EA = Direction8._-4DE(_arg1.direction);
            _arg2._-4LA(this);
        }
        override public function dispose():void
        {
            super.dispose();
            this._-5EA = null;
        }
        override public function get numberOfVariables():int
        {
            return (_-3W9._-0uL);
        }
        override public function getVariable(_arg1:int):int
        {
            switch (_arg1)
            {
                case 0:
                    return (SnowWarGameObjectData._-2bu);
                case 1:
                    return (_-4AU);
                case 2:
                    return (_-03T.location.x);
                case 3:
                    return (_-03T.location.y);
                case 4:
                    return (this._-5EA._-33x());
                case 5:
                    return (this._-4ac);
                case 6:
                    return (_-1Ht);
                case 7:
                    return (_-4-8);
            };
            throw (new Exception(("No such variable:" + _arg1)));
        }
        override public function get boundingData():Array
        {
            return (_-4zP);
        }
        public function _-2UI():void
        {
            if (_-1Ht < this._-4ac)
            {
                _-1Ht++;
            };
        }

    }
}//package _-4Vx

//------------------------------------------------------------
//_-4Vx._-4Dz

package _-4Vx
{
    import _-2b4.Tile;
    import _-4h0._-38U;
    import _-2b4.SnowWarGameStage;
    import _-4h0.SnowWarGameObjectData;
    import _-2S9.Exception;

    public class _-4Dz extends _-VS 
    {

        private static const _-3u8:int = 100;

        private var _-2kh:Array;
        private var _-4ac:int;

        public function _-4Dz(_arg1:_-38U, _arg2:SnowWarGameStage)
        {
            super(_arg1.id, _arg1._-1mW, _arg2._-0YJ(Tile._-3-Q(_arg1._-0Nb), Tile._-3fR(_arg1._-0PI)), _arg1._-ko);
            this._-4ac = _arg1._-3rz;
            if (_-1Ht > 0)
            {
                _arg2._-4LA(this);
            };
            this._-2kh = [(_-1Ht * _-3u8)];
        }
        override public function get numberOfVariables():int
        {
            return (_-38U._-0uL);
        }
        override public function getVariable(_arg1:int):int
        {
            switch (_arg1)
            {
                case 0:
                    return (SnowWarGameObjectData._-3HG);
                case 1:
                    return (_-4AU);
                case 2:
                    return (_-03T.location.x);
                case 3:
                    return (_-03T.location.y);
                case 4:
                    return (this._-4ac);
                case 5:
                    return (_-1Ht);
                case 6:
                    return (_-4-8);
            };
            throw (new Exception(("No such variable:" + _arg1)));
        }
        override public function get boundingData():Array
        {
            return (this._-2kh);
        }
        override protected function onSnowballPickup():void
        {
            this._-2kh = [(_-1Ht * _-3u8)];
            if (_-1Ht <= 0)
            {
                _-03T.removeGameObject();
            };
        }
        public function get _-3rz():int
        {
            return (this._-4ac);
        }

    }
}//package _-4Vx

//------------------------------------------------------------
//_-4Vx._-EN

package _-4Vx
{
    import _-0W2._-0IC;
    import _-0W2.Direction360;
    import _-4h0._-0xb;
    import _-0W2._-33Y;
    import _-0W2.SquareRoot;
    import _-4h0.SnowWarGameObjectData;
    import _-2S9.Exception;
    import _-0W2.CollisionDetection;
    import _-2b4.SnowWarGameStage;
    import _-2b4.Tile;
    import _-2b4.SnowWarEngine;
    import _-mv._-2TN;
    import _-48o.SynchronizedGameStage;
    import _-0W2.Direction8;

    public class _-EN extends SnowWarGameObject 
    {

        public static const _-2D1:int = 0;
        public static const _-0IR:int = 1;
        public static const _-3S7:int = 2;
        public static const _-1qu:int = 3;
        public static const _-3At:int = 2000;
        public static const _-0mw:int = 3000;
        public static const _-1h6:Number = ((2 / 1.414) / _-3At);//0.000707213578500707
        public static const _-3qD:Number = ((2.236 / 2) / _-3At);//0.000559
        public static const _-4uC:int = 20000;
        public static const _-3sH:int = 60000;
        public static const _-dA:int = 100000;
        public static const _-15e:int = 42000;
        public static const _-30A:int = 10;
        public static const _-i-:int = 25;
        public static const _-0ey:int = 50;
        public static const _-0XW:int = 3;
        public static const _-24e:int = 15;

        public static var _-4zP:Array = [400];

        private var _-0gW:_-0IC;
        private var _-59a:Direction360;
        private var _-W3:int;
        private var _-3Tq:int;
        private var _-1rz:int;
        private var _-2Ke:HumanGameObject;
        private var _-0j2:int;

        public function _-EN(_arg1:int)
        {
            this._-0gW = new _-0IC(0, 0, 0);
            this._-59a = new Direction360(0);
            super(_arg1, false);
        }
        override public function dispose():void
        {
            super.dispose();
            this._-0gW.dispose();
            this._-0gW = null;
            this._-59a.dispose();
            this._-59a = null;
            this._-W3 = 0;
            this._-3Tq = 0;
            this._-1rz = 0;
            this._-2Ke = null;
            this._-0j2 = 0;
        }
        public function _-0sU(_arg1:_-0xb, _arg2:HumanGameObject):void
        {
            this._-0gW._-02j(_arg1._-0Nb, _arg1._-0PI, _arg1._-2m5);
            this._-59a._-4jt(_arg1._-28R);
            this._-W3 = _arg1._-0Q5;
            this._-3Tq = _arg1._-46V;
            this._-1rz = _arg1._-4Kk;
            this._-2Ke = _arg2;
            this._-0j2 = _arg1._-4X4;
            _active = true;
        }
        public function initialize(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:HumanGameObject):void
        {
            var k:int;
            _active = true;
            this._-0gW._-02j(_arg1, _arg2, _arg3);
            this._-W3 = _arg4;
            var k:int = (_arg5 - _arg1);
            var k:int = (_arg6 - _arg2);
            k = _-33Y._-4x3((k / 200));
            k = _-33Y._-4x3((k / 200));
            this._-59a._-4jt(Direction360._-4uM(k, k));
            k = (SquareRoot._-0yv(((k * k) + (k * k))) * 200);
            this._-Qd(_arg4, k);
            if (this._-W3 == _-2D1)
            {
                this._-1rz = (_-4uC / _-3At);
                this._-3Tq = _-3At;
            }
            else
            {
                if (this._-W3 == _-0IR)
                {
                    k = Math.min(k, _-3sH);
                    this._-1rz = (k * _-3qD);
                    this._-3Tq = (((this._-1rz)==0) ? 0 : _-33Y._-4x3((k / this._-1rz)));
                }
                else
                {
                    if (this._-W3 == _-3S7)
                    {
                        k = Math.min(k, _-dA);
                        this._-1rz = (k * _-1h6);
                        this._-3Tq = (((this._-1rz)==0) ? 0 : _-33Y._-4x3((k / this._-1rz)));
                    };
                };
            };
            this._-0j2 = _-33Y._-4x3((this._-1rz / 2));
            this._-2Ke = _arg7;
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((((((((((((((("Snowball created, id=" + _-4AU) + " ttl:") + this._-1rz) + " deltaX:") + k) + " deltaY:") + k) + " deltaX/200:") + _-33Y._-4x3((k / 200))) + " deltaY/200:") + _-33Y._-4x3((k / 200))) + " deltax^2+deltay^2:") + ((k * k) + (k * k))) + " sqrt(deltax^2+deltay^2):") + SquareRoot._-0yv(((k * k) + (k * k)))) + " sqrt(deltax^2+deltay^2)*200:") + (SquareRoot._-0yv(((k * k) + (k * k))) * 200)));
            };
        }
        private function _-Qd(_arg1:int, _arg2:int):void
        {
            if (_arg1 == _-1qu)
            {
                if (_arg2 <= _-15e)
                {
                    this._-W3 = _-2D1;
                }
                else
                {
                    if (_arg2 <= _-3sH)
                    {
                        this._-W3 = _-0IR;
                    }
                    else
                    {
                        this._-W3 = _-3S7;
                    };
                };
            }
            else
            {
                this._-W3 = _arg1;
            };
        }
        override public function get numberOfVariables():int
        {
            return (_-0xb._-0uL);
        }
        override public function getVariable(_arg1:int):int
        {
            switch (_arg1)
            {
                case 0:
                    return (SnowWarGameObjectData._-3e4);
                case 1:
                    return (_-4AU);
                case 2:
                    return (this._-0gW.x);
                case 3:
                    return (this._-0gW.y);
                case 4:
                    return (this._-0gW.z);
                case 5:
                    return (this._-59a._-33x());
                case 6:
                    return (this._-W3);
                case 7:
                    return (this._-1rz);
                case 8:
                    return ((((this._-2Ke == null)) ? -1 : this._-2Ke._-4b));
                case 9:
                    return (this._-0j2);
                case 10:
                    return (this._-3Tq);
            };
            throw (new Exception(("No such variable:" + _arg1)));
        }
        override public function get direction360():Direction360
        {
            return (this._-59a);
        }
        override public function get boundingType():int
        {
            return (CollisionDetection._-3jI);
        }
        override public function get boundingData():Array
        {
            return (_-4zP);
        }
        override public function get location3D():_-0IC
        {
            return (this._-0gW);
        }
        override public function subturn(_arg1:SynchronizedGameStage):void
        {
            var k:SnowWarGameStage = (_arg1 as SnowWarGameStage);
            if (!_active)
            {
                return;
            };
            this._-1rz--;
            if (this._-W3 == _-2D1)
            {
                this._-2N3(_-30A, true);
            }
            else
            {
                if (this._-W3 == _-0IR)
                {
                    this._-2N3(_-i-, false);
                }
                else
                {
                    this._-2N3(_-0ey, false);
                };
            };
            var k:int = Tile._-3-Q(this._-0gW.x);
            var k:int = Tile._-3fR(this._-0gW.y);
            var k:Tile = k._-0YJ(k, k);
            var k:Boolean = this._-0od(k, k);
            if (!k)
            {
                k = k._-oM(this);
                if (k)
                {
                    SnowWarEngine._-lx(_-2TN._-II);
                };
            };
            if (k)
            {
                k._-2cN(this);
            };
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((((("Snowball " + _-4AU) + " tileX:") + k) + " tileY:") + k) + " collision:") + k));
            };
        }
        private function _-0od(_arg1:SnowWarGameStage, _arg2:Tile):Boolean
        {
            var k:Direction8;
            var k:Boolean;
            if (_arg2)
            {
                k = this._-0UI(_arg1, _arg2);
                if (!k)
                {
                    k = this._-59a.direction8Value();
                    k = this._-0UI(_arg1, _arg2._-0LI(k));
                    if (!k)
                    {
                        k = this._-0UI(_arg1, _arg2._-0LI(k.rotateDirection45Degrees(false)));
                        if (!k)
                        {
                            k = this._-0UI(_arg1, _arg2._-0LI(k.rotateDirection45Degrees(true)));
                        };
                    };
                };
            };
            return (k);
        }
        private function _-0UI(_arg1:SnowWarGameStage, _arg2:Tile):Boolean
        {
            var k:SnowWarGameObject;
            if (_arg2)
            {
                k = _arg2._-Kt;
                if (k)
                {
                    if (HabboGamesCom.logEnabled)
                    {
                        HabboGamesCom.log(((("Snowball " + _-4AU) + " testing collision with ") + k._-4b));
                    };
                    if (k.testSnowBallCollision(this))
                    {
                        k.onSnowBallHit(_arg1, this);
                        return (true);
                    };
                };
            };
            return (false);
        }
        private function _-2N3(_arg1:int, _arg2:Boolean):void
        {
            var k:int = (this._-0gW.x + _-33Y._-4x3(((this._-59a._-06a() * this._-3Tq) / 0xFF)));
            var k:int = (this._-0gW.y + _-33Y._-4x3(((this._-59a._-3VR() * this._-3Tq) / 0xFF)));
            var k:int = (this._-1rz - this._-0j2);
            var k:int = ((((this._-0j2 * this._-0j2) - (k * k)) * _arg1) + _-0mw);
            if (_arg2)
            {
                k = Math.min(k, _-0mw);
            };
            this._-0gW._-02j(k, k, k);
        }
        override public function onSnowBallHit(_arg1:SnowWarGameStage, _arg2:_-EN):void
        {
        }
        public function toString():String
        {
            return (((((((((((((" location=(" + this._-0gW.x) + ",") + this._-0gW.y) + ",") + this._-0gW.z) + ")") + " dir=") + this._-59a) + " paraOffs=") + this._-0j2) + " ttl=") + this._-1rz));
        }
        public function get _-2mL():HumanGameObject
        {
            return (this._-2Ke);
        }

    }
}//package _-4Vx

//------------------------------------------------------------
//_-4Vx._-VS

package _-4Vx
{
    import _-2b4.Tile;
    import _-0W2.Direction360;
    import _-0W2.CollisionDetection;
    import _-0W2._-0IC;
    import _-48o.SynchronizedGameStage;
    import _-2b4.SnowWarGameStage;

    public class _-VS extends SnowWarGameObject 
    {

        protected var _-4-8:int;
        protected var _-1Ht:int;
        protected var _-03T:Tile;

        public function _-VS(_arg1:int, _arg2:int, _arg3:Tile, _arg4:int)
        {
            super(_arg1, false);
            _active = true;
            this._-1Ht = _arg2;
            this._-03T = _arg3;
            this._-4-8 = _arg4;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-03T = null;
        }
        override public function get direction360():Direction360
        {
            return (null);
        }
        override public function get boundingType():int
        {
            return (CollisionDetection._-3jI);
        }
        override public function get location3D():_-0IC
        {
            return (this._-03T.location);
        }
        public function get _-ko():int
        {
            return (this._-4-8);
        }
        public function get _-1mW():int
        {
            return (this._-1Ht);
        }
        override public function subturn(_arg1:SynchronizedGameStage):void
        {
        }
        public function _-4uk(_arg1:int):int
        {
            if (this._-1Ht < _arg1)
            {
                k = this._-1Ht;
            };
            this._-1Ht = (this._-1Ht - _arg1);
            this.onSnowballPickup();
            return (_arg1);
        }
        override public function onSnowBallHit(_arg1:SnowWarGameStage, _arg2:_-EN):void
        {
        }
        protected function onSnowballPickup():void
        {
        }

    }
}//package _-4Vx

//------------------------------------------------------------
//_-4Vx.HumanGameObject

package _-4Vx
{
    import _-2b4.Tile;
    import _-0W2._-0IC;
    import _-0W2.Direction8;
    import _-2b4.SnowWarEngine;
    import _-18r.Map;
    import _-2b4.SnowWarGameStage;
    import _-4h0._-02n;
    import _-4h0.SnowWarGameObjectData;
    import _-2S9.Exception;
    import _-0W2.CollisionDetection;
    import _-0W2.Direction360;
    import _-48o.SynchronizedGameStage;
    import _-0W2._-33Y;
    import _-mv._-2TN;
    import _-2b4._-19O;
    import _-48o.SynchronizedGameArena;
    import _-0se._-18q;
    import _-3mW._-4Wq;

    public class HumanGameObject extends SnowWarGameObject 
    {

        public static const _-iJ:int = 534;
        public static const _-0FC:int = 5;
        public static const _-12a:int = 5;
        public static const _-26U:int = 5;
        public static const _-3Ov:int = 20;
        public static const _-3mM:int = 100;
        public static const _-3RH:int = 60;
        public static const _-1nV:int = 0;
        public static const _-15g:int = 1;
        public static const _-39U:int = 2;
        public static const _-2TZ:int = 3;
        public static const _-16g:int = 5;
        public static const _-4zP:Array = [1600];
        public static const _-2XU:int = 5000;
        private static const _-2z3:int = 5;
        private static const _-2FD:int = 1;

        private var _-03T:Tile;
        private var _-2EM:Tile;
        private var _-3t6:Boolean;
        private var _-0Cl:_-0IC;
        private var _-2Qk:_-0IC;
        private var _-4qr:Direction8;
        private var _-023:int;
        private var _-1Ht:int;
        protected var _-2QL:int;
        private var _-0jE:int;
        private var _-0k9:int;
        private var _-00d:int;
        private var _-49U:int;
        private var _-CW:int;
        private var _name:String;
        private var _-526:String;
        private var _-5AE:String;
        private var _-0o6:String;
        private var _-4lu:int;
        private var _-0Ky:int = 0;
        private var _-346:SnowWarEngine;
        private var _-Z3:Map;

        public function HumanGameObject(_arg1:SnowWarGameStage, _arg2:_-02n, _arg3:Boolean, _arg4:SnowWarEngine)
        {
            this._-0Cl = new _-0IC(0, 0, 0);
            this._-2Qk = new _-0IC(0, 0, 0);
            this._-4qr = Direction8.SE;
            super(_arg2.id, _arg3);
            this._-0o6 = _arg2._-af;
            this._name = _arg2.name;
            this._-526 = _arg2._-2al;
            this._-5AE = _arg2.figure;
            this._-49U = _arg2.team;
            this._-4lu = _arg2.userId;
            this._-0k9 = _arg2._-19E;
            this._-0jE = _arg2._-2F3;
            this._-0Cl._-0ti(_arg2._-4o6, _arg2._-01C);
            this._-4qr = Direction8._-4DE(_arg2._-wX);
            this._-023 = _arg2._-0rW;
            this._-2Qk._-0ti(_arg2._-2Vs, _arg2._-4mY);
            this._-1Ht = _arg2._-Cz;
            this._-00d = _arg2.score;
            this._-03T = _arg1._-0YJ(_arg2._-59I, _arg2._-3bs);
            this._-03T._-2rr(this);
            var k:Tile = _arg1._-0YJ(_arg2._-3UY, _arg2._-18f);
            if (k != this._-03T)
            {
                this._-2EM = k;
                this._-2EM._-2rr(this);
                this._-03T._-2NP();
                this._-3t6 = true;
            };
            this._-346 = _arg4;
            this._-Z3 = new Map();
        }
        public function get _-05n():int
        {
            return (this._-0Ky);
        }
        public function set _-05n(_arg1:int):void
        {
            this._-0Ky = _arg1;
        }
        public function get _-07Y():Boolean
        {
            return ((this._-0k9 == _-2TZ));
        }
        override public function dispose():void
        {
            super.dispose();
            this._-0o6 = "";
            this._name = "";
            this._-526 = "";
            this._-5AE = "";
            this._-49U = 0;
            this._-4lu = 0;
            this._-0Cl = null;
            this._-4qr = null;
            this._-2Qk = null;
            this._-1Ht = 0;
            this._-00d = 0;
            this._-3t6 = false;
            this._-346 = null;
            this._-Z3 = null;
        }
        override public function get numberOfVariables():int
        {
            return (_-02n._-0uL);
        }
        override public function getVariable(_arg1:int):int
        {
            switch (_arg1)
            {
                case 0:
                    return (SnowWarGameObjectData._-2Kr);
                case 1:
                    return (_-4AU);
                case 2:
                    return (this._-0Cl.x);
                case 3:
                    return (this._-0Cl.y);
                case 4:
                    return (this._-03T._-5t[0]);
                case 5:
                    return (this._-03T._-5t[1]);
                case 6:
                    return (this._-4qr._-33x());
                case 7:
                    return (this._-023);
                case 8:
                    return (this._-1Ht);
                case 9:
                    return (this._-2QL);
                case 10:
                    return (this._-0jE);
                case 11:
                    return (this._-0k9);
                case 12:
                    return ((((this._-2EM)!=null) ? this._-2EM._-5t[0] : this._-03T._-5t[0]));
                case 13:
                    return ((((this._-2EM)!=null) ? this._-2EM._-5t[1] : this._-03T._-5t[1]));
                case 14:
                    return (this._-2Qk.x);
                case 15:
                    return (this._-2Qk.y);
                case 16:
                    return (this._-00d);
                case 17:
                    return (this._-49U);
                case 18:
                    return (this._-4lu);
            };
            throw (new Exception(("No such variable:" + _arg1)));
        }
        public function _-3Kb(_arg1:HumanGameObject):void
        {
            this._-0Cl._-0ti(_arg1._-0Cl.x, _arg1._-0Cl.y);
            this._-03T = _arg1._-03T;
            this._-4qr = _arg1._-4qr;
            this._-023 = _arg1._-023;
            this._-1Ht = _arg1._-1Ht;
            this._-2QL = _arg1._-2QL;
            this._-0jE = _arg1._-0jE;
            this._-0k9 = _arg1._-0k9;
            this._-2EM = _arg1._-2EM;
            this._-2Qk._-0ti(_arg1._-2Qk.x, _arg1._-2Qk.y);
            this._-00d = _arg1._-00d;
            this._-49U = _arg1._-49U;
            this._-4lu = _arg1._-4lu;
        }
        public function _-4XK(_arg1:int, _arg2:_-0IC):Boolean
        {
            var k:_-0IC = this._-Z3[_arg1];
            if (k)
            {
                return (k._-Gl(_arg2, Tile._-3GT));
            };
            return (false);
        }
        public function _-5DZ(_arg1:int):void
        {
            var k:_-0IC = new _-0IC(0, 0, 0);
            k._-0ti(this._-0Cl.x, this._-0Cl.y);
            this._-Z3[_arg1] = k;
        }
        public function _-0zf(_arg1:int):void
        {
            this._-Z3.remove(_arg1);
        }
        public function _-4FZ(_arg1:Direction8):void
        {
            this._-4qr = _arg1;
        }
        override public function get boundingType():int
        {
            return (CollisionDetection._-3jI);
        }
        override public function get boundingData():Array
        {
            return (_-4zP);
        }
        override public function get location3D():_-0IC
        {
            return (this._-0Cl);
        }
        override public function get direction360():Direction360
        {
            return (null);
        }
        override public function onRemove():void
        {
            if (((this._-03T) && ((this._-03T._-2kZ == this))))
            {
                this._-03T._-2NP();
            };
            if (((this._-2EM) && ((this._-2EM._-2kZ == this))))
            {
                this._-2EM._-2NP();
            };
            this._-3t6 = false;
        }
        public function _-1Jq():void
        {
            if (this._-0k9 == _-39U)
            {
                this._-023 = _-26U;
                this._-0k9 = _-2TZ;
                this._-0jE = _-3RH;
                return;
            };
            if (this._-0k9 == _-15g)
            {
                this._-1Ht++;
            };
            this._-0k9 = _-1nV;
            this._-346._-51F(_-4b);
        }
        override public function subturn(_arg1:SynchronizedGameStage):void
        {
            var k:int;
            var k:Direction8;
            var k:SnowWarGameStage = (_arg1 as SnowWarGameStage);
            if (this._-0jE > 0)
            {
                if (this._-0jE == 1)
                {
                    this._-1Jq();
                };
                this._-0jE--;
            };
            if (this._-CW > 0)
            {
                this._-CW--;
            };
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((_-4b + " currentTile:") + this._-03T) + " nextTile:") + this._-2EM));
            };
            if (((this._-135()) && (!((this._-03T == null)))))
            {
                if (this._-2EM != null)
                {
                    if (HabboGamesCom.logEnabled)
                    {
                        HabboGamesCom.log(((((_-4b + " Moving towards next tile:") + this._-2EM) + " _currentLocation:") + this._-0Cl));
                    };
                    this._-157();
                }
                else
                {
                    if (!this._-03T._-3Lh(this._-2Qk))
                    {
                        k = Direction360._-4uM((this._-2Qk.x - this._-03T.location.x), (this._-2Qk.y - this._-03T.location.y));
                        k = Direction360.direction360ValueToDirection8(k);
                        this._-2EM = this._-03T._-0LI(k);
                        if ((((this._-2EM == null)) || (!(this._-2EM._-lG(this)))))
                        {
                            if (((!((this._-2EM == null))) && (!(this._-2EM._-lG(this)))))
                            {
                                if (this._-2Qk._-DQ(this._-2EM.location))
                                {
                                    this._-2EM = null;
                                    this._-4fd();
                                    return;
                                };
                            };
                            k = k._-3Sg(-1);
                            this._-2EM = this._-03T._-0LI(k);
                            if ((((this._-2EM == null)) || (!(this._-2EM._-lG(this)))))
                            {
                                k = k._-3Sg(2);
                                this._-2EM = this._-03T._-0LI(k);
                                if (((!((this._-2EM == null))) && (!(this._-2EM._-lG(this)))))
                                {
                                    this._-2EM = null;
                                };
                            };
                        };
                        if (this._-2EM != null)
                        {
                            if (!_-hz)
                            {
                                this._-03T._-2NP();
                                this._-2EM._-2rr(this);
                            };
                            this._-4FZ(k);
                            this._-157();
                        }
                        else
                        {
                            this._-3t6 = false;
                        };
                        if (HabboGamesCom.logEnabled)
                        {
                            HabboGamesCom.log(((((((((_-4b + " Starting to move to next tile in direction360:") + k) + ", nextTile is now ") + this._-2EM) + "_currentLocationn:") + this._-0Cl) + ", moveTarget:") + this._-2Qk));
                        };
                    }
                    else
                    {
                        this._-3t6 = false;
                    };
                };
            }
            else
            {
                this._-3t6 = false;
            };
        }
        private function _-157():void
        {
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((_-4b + " [MoveTowardsNextTile], currentX: ") + this._-0Cl.x) + " currentY: ") + this._-0Cl.y));
            };
            var k:int = this._-2EM.location.x;
            var k:int = this._-0Cl.x;
            var k:int = (k - k);
            if (k != 0)
            {
                if (k < 0)
                {
                    if (k > -(_-iJ))
                    {
                    }
                    else
                    {
                        k = (k + _-iJ);
                    };
                }
                else
                {
                    if (k < _-iJ)
                    {
                    }
                    else
                    {
                        k = (k - _-iJ);
                    };
                };
            };
            var k:int = this._-2EM.location.y;
            var k:int = this._-0Cl.y;
            var k:int = (k - k);
            if (k != 0)
            {
                if (k < 0)
                {
                    if (k > -(_-iJ))
                    {
                    }
                    else
                    {
                        k = (k + _-iJ);
                    };
                }
                else
                {
                    if (k < _-iJ)
                    {
                    }
                    else
                    {
                        k = (k - _-iJ);
                    };
                };
            };
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((_-4b + " [MoveTowardsNextTile], nextX: ") + k) + " nextY: ") + k));
            };
            this._-0Cl._-0ti(k, k);
            if (this._-0Cl.distanceTo(this._-2EM.location) < _-33Y._-4x3((_-iJ / 2)))
            {
                this._-03T = this._-2EM;
                this._-2EM = null;
            };
            this._-3t6 = true;
        }
        public function _-1LC(_arg1:int, _arg2:int):void
        {
            if (this._-0k9 == _-15g)
            {
                this._-0k9 = _-1nV;
                this._-0jE = 0;
                this._-346._-51F(_-4b);
            };
            if ((((this._-0k9 == _-1nV)) || ((this._-0k9 == _-2TZ))))
            {
                this._-2Qk._-0ti(_arg1, _arg2);
            };
        }
        public function get _-2Cq():_-0IC
        {
            return (this._-0Cl);
        }
        public function _-1Sp(_arg1:SnowWarGameStage, _arg2:HumanGameObject, _arg3:int):void
        {
            if (_-2R0)
            {
                return;
            };
            if (this._-49U == _arg2.team)
            {
                return;
            };
            if (this._-023 > 0)
            {
                if (this._-023 == 1)
                {
                    this._-3iC(_arg3);
                    _arg2._-3y5(_arg1, this);
                    SnowWarEngine._-lx(_-2TN.GAMES_SW_HIT3);
                };
                this._-023--;
                this._-346._-hw(this, _arg2);
            };
        }
        public function _-0D0(_arg1:SnowWarGameStage, _arg2:HumanGameObject):void
        {
            if (((!(_arg2._-hz)) && (((!((this.team == _arg2.team))) || (_-19O(_arg1._-2QZ.getExtension())._-2NV())))))
            {
                this._-2h(_arg1._-2QZ, _-2FD);
            };
        }
        public function _-3y5(_arg1:SnowWarGameStage, _arg2:HumanGameObject):void
        {
            if (((!(_arg2._-hz)) && (((!((this.team == _arg2.team))) || (_-19O(_arg1._-2QZ.getExtension())._-2NV())))))
            {
                this._-2h(_arg1._-2QZ, _-2z3);
            };
        }
        public function _-2h(_arg1:SynchronizedGameArena, _arg2:int):void
        {
            this._-00d = (this._-00d + _arg2);
            _arg1._-0Ma(this.team, _arg2);
        }
        public function _-3iC(_arg1:int):void
        {
            this._-0k9 = _-39U;
            this._-0jE = _-3mM;
            this._-4FZ(Direction360.direction360ValueToDirection8(_arg1)._-2ei());
            this._-4fd();
            this._-346._-51F(_-4b);
        }
        public function _-4fd():void
        {
            if (this._-2EM == null)
            {
                this._-2Qk._-4LJ(this._-03T.location);
                this._-0Cl._-4LJ(this._-03T.location);
            }
            else
            {
                this._-03T = this._-2EM;
                this._-0Cl._-4LJ(this._-2EM.location);
                this._-2Qk._-4LJ(this._-2EM.location);
                this._-2EM = null;
            };
            this._-3t6 = false;
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((((((("Stopped. dir:" + this._-4qr) + "_currentTilee:") + this._-03T) + "_nextTilee:") + this._-2EM) + "_currentLocationn:") + this._-0Cl) + "_moveTargett:") + this._-2Qk));
            };
        }
        public function _-4Mg():int
        {
            return (this._-4qr._-33x());
        }
        public function _-3gF():Boolean
        {
            return ((((((this._-1Ht > 0)) && ((this._-CW < 1)))) && ((((this._-0k9 == _-1nV)) || ((this._-0k9 == _-2TZ))))));
        }
        public function _-ma():void
        {
            this._-CW = _-16g;
        }
        public function _-1Xm(_arg1:int, _arg2:int):Boolean
        {
            if (this._-1Ht < 1)
            {
                return (false);
            };
            this._-4fd();
            var k:int = Direction360._-4uM((_arg1 - this._-0Cl.x), (_arg2 - this._-0Cl.y));
            var k:int = Direction360.direction360ValueToDirection8(k)._-33x();
            this._-4FZ(Direction8._-4DE(k));
            if (HabboGamesCom.logEnabled)
            {
                HabboGamesCom.log(((((((((((("Turning to:" + k) + " 360 value:") + k) + " target:") + _arg1) + ",") + _arg2) + " location:") + this._-0Cl.x) + ",") + this._-0Cl.y));
            };
            this._-1Ht--;
            return (true);
        }
        public function _-135():Boolean
        {
            return ((((this._-0k9 == _-1nV)) || ((this._-0k9 == _-2TZ))));
        }
        public function _-4lg():Boolean
        {
            return ((((((this._-0k9 == _-1nV)) || ((this._-0k9 == _-2TZ)))) && ((((this._-1Ht < _-12a)) || (_-hz)))));
        }
        public function _-Z1():void
        {
            if (this._-4lg())
            {
                this._-0k9 = _-15g;
                this._-0jE = _-3Ov;
                this._-4fd();
            };
        }
        public function _-1AQ():int
        {
            return ((_-12a - this._-1Ht));
        }
        public function throw(_arg1:int):void
        {
            this._-1Ht = (this._-1Ht + _arg1);
        }
        public function _-0Mn():Boolean
        {
            return ((this._-0k9 == _-39U));
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-2al():String
        {
            return (this._-526);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-af():String
        {
            return (this._-0o6);
        }
        public function get score():int
        {
            return (this._-00d);
        }
        public function get team():int
        {
            return (this._-49U);
        }
        public function get _-2So():int
        {
            return (this._-1Ht);
        }
        public function get _-0rW():int
        {
            return (this._-023);
        }
        public function get posture():String
        {
            if (this._-CW > 0)
            {
                return (_-18q._-Tz);
            };
            switch (this._-0k9)
            {
                case _-39U:
                    return (_-18q._-Yu);
                case _-15g:
                    return (_-18q._-17t);
            };
            if (this._-3t6)
            {
                return (_-18q._-04Q);
            };
            return (_-18q._-3TX);
        }
        public function get action():String
        {
            switch (this._-0k9)
            {
                case _-2TZ:
                    return (_-4Wq._-10t);
            };
            return (_-4Wq._-10t);
        }
        public function get _-y-():int
        {
            if (this._-CW > 1)
            {
                return (1);
            };
            if (this._-CW == 1)
            {
                return (0);
            };
            switch (this._-0k9)
            {
                case _-2TZ:
                    return (1);
            };
            return (0);
        }
        override public function testSnowBallCollision(_arg1:_-EN):Boolean
        {
            if (((((((((!(_-2R0)) && (!((this._-0k9 == _-39U))))) && (!((this._-0k9 == _-2TZ))))) && (!((_arg1._-2mL == this))))) && (super.testSnowBallCollision(_arg1))))
            {
                return (true);
            };
            return (false);
        }
        override public function onSnowBallHit(_arg1:SnowWarGameStage, _arg2:_-EN):void
        {
            var k:HumanGameObject = _arg2._-2mL;
            this._-1Sp(_arg1, k, _arg2.direction360._-33x());
            k._-0D0(_arg1, this);
            SnowWarEngine._-lx(_-2TN.GAMES_SW_HIT1);
        }
        override public function get collisionHeight():int
        {
            return (_-2XU);
        }
        public function toString():String
        {
            return ((((" ref:" + _-4AU) + "_name:") + this._name));
        }

    }
}//package _-4Vx

//------------------------------------------------------------
//_-4Vx.SnowWarGameObject

package _-4Vx
{
    import _-48o.SynchronizedGameStage;
    import _-0W2._-0IC;
    import _-0W2.Direction360;
    import _-0W2.CollisionDetection;
    import _-2b4.SnowWarGameStage;
    import _-0W2.*;
    import _-48o.*;

    public class SnowWarGameObject implements _-s-, _-1N8 
    {

        protected var _active:Boolean = false;
        protected var _-4AU:int = -1;
        protected var _-2R0:Boolean = false;
        private var _-4Bk:Boolean = false;

        public function SnowWarGameObject(_arg1:int, _arg2:Boolean)
        {
            this._-4AU = ((_arg2) ? -(_arg1) : _arg1);
            this._-2R0 = _arg2;
        }
        public function dispose():void
        {
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get _-3Cm():Boolean
        {
            return (this._active);
        }
        public function set _-3Cm(_arg1:Boolean):void
        {
            this._active = _arg1;
        }
        public function get numberOfVariables():int
        {
            return (-1);
        }
        public function getVariable(_arg1:int):int
        {
            return (-1);
        }
        public function get _-4b():int
        {
            return (this._-4AU);
        }
        public function set _-4b(_arg1:int):void
        {
            this._-4AU = _arg1;
        }
        public function subturn(_arg1:SynchronizedGameStage):void
        {
        }
        public function get boundingType():int
        {
            return (0);
        }
        public function get boundingData():Array
        {
            return (null);
        }
        public function get location3D():_-0IC
        {
            return (null);
        }
        public function get direction360():Direction360
        {
            return (null);
        }
        public function get _-hz():Boolean
        {
            return (this._-2R0);
        }
        public function get _-C6():int
        {
            return (-((this._-4AU + 1)));
        }
        public function onRemove():void
        {
        }
        public function get collisionHeight():int
        {
            return (this.boundingData[0]);
        }
        public function testSnowBallCollision(_arg1:_-EN):Boolean
        {
            return ((((_arg1.location3D.z < this.collisionHeight)) && (CollisionDetection._-41y(this, _arg1))));
        }
        public function onSnowBallHit(_arg1:SnowWarGameStage, _arg2:_-EN):void
        {
        }

    }
}//package _-4Vx

//------------------------------------------------------------
//_-4Vx.TreeGameObject

package _-4Vx
{
    import _-2b4.Tile;
    import _-0W2.Direction8;
    import _-0W2.Direction360;
    import _-4h0._-1OH;
    import _-2b4.SnowWarGameStage;
    import _-4h0.SnowWarGameObjectData;
    import _-2S9.Exception;
    import _-0W2.CollisionDetection;
    import _-48o.SynchronizedGameStage;
    import _-0W2._-0IC;

    public class TreeGameObject extends SnowWarGameObject 
    {

        private static const _-38g:Array = [0];
        private static const _-4zP:Array = [((Tile._-2fT - _-EN._-4zP[0]) - 1)];

        private var _-4-8:int;
        private var _-1cw:Tile;
        private var _direction8:Direction8;
        private var _direction360:Direction360;
        private var _height:int;
        private var _-07g:int;
        private var _-0ai:int;

        public function TreeGameObject(_arg1:_-1OH, _arg2:SnowWarGameStage)
        {
            super(_arg1.id, false);
            _-3Cm = true;
            this._-1cw = _arg2._-0YJ(Tile._-3-Q(_arg1._-0Nb), Tile._-3fR(_arg1._-0PI));
            this._direction8 = Direction8._-4DE(_arg1.direction);
            this._direction360 = new Direction360(Direction360.direction8ToDirection360Value(this._direction8));
            this._-4-8 = _arg1._-ko;
            this._height = _arg1.height;
            this._-0ai = _arg1._-2XH;
            this._-07g = _arg1._-4yX;
            if (this._-0ai < this._-07g)
            {
                _arg2._-4LA(this);
            };
            this._-1cw._-1p2(-(this._height));
            this._-1cw.blocked = true;
        }
        override public function get numberOfVariables():int
        {
            return (_-1OH._-0uL);
        }
        override public function getVariable(_arg1:int):int
        {
            switch (_arg1)
            {
                case 0:
                    return (SnowWarGameObjectData._-2zR);
                case 1:
                    return (_-4b);
                case 2:
                    return (this._-1cw.location.x);
                case 3:
                    return (this._-1cw.location.y);
                case 4:
                    return (this._direction8._-33x());
                case 5:
                    return (this._height);
                case 6:
                    return (this._-4-8);
                case 7:
                    return (this._-07g);
                case 8:
                    return (this._-0ai);
            };
            throw (new Exception(("No such variable:" + _arg1)));
        }
        override public function get boundingType():int
        {
            return (CollisionDetection._-3jI);
        }
        override public function subturn(_arg1:SynchronizedGameStage):void
        {
        }
        override public function get boundingData():Array
        {
            if (this._-0ai < this._-07g)
            {
                return (_-4zP);
            };
            return (_-38g);
        }
        override public function get location3D():_-0IC
        {
            return (this._-1cw.location);
        }
        override public function get direction360():Direction360
        {
            return (this._direction360);
        }
        override public function onSnowBallHit(_arg1:SnowWarGameStage, _arg2:_-EN):void
        {
            if (this._-0ai < this._-07g)
            {
                this._-0ai++;
            };
            if (this._-0ai >= this._-07g)
            {
                this._-1cw.removeGameObject();
            };
        }
        public function get _-4yX():int
        {
            return (this._-07g);
        }
        public function get _-2XH():int
        {
            return (this._-0ai);
        }
        public function get _-ko():int
        {
            return (this._-4-8);
        }
        override public function get collisionHeight():int
        {
            return (this._height);
        }

    }
}//package _-4Vx

//------------------------------------------------------------
//_-4WI._-3at

package _-4WI
{
    public class _-3at 
    {

        public static const HABBO_INVENTORY_TRACKING_EVENT_CLOSED:String = "HABBO_INVENTORY_TRACKING_EVENT_CLOSED";
        public static const HABBO_INVENTORY_TRACKING_EVENT_FURNI:String = "HABBO_INVENTORY_TRACKING_EVENT_FURNI";
        public static const HABBO_INVENTORY_TRACKING_EVENT_POSTERS:String = "HABBO_INVENTORY_TRACKING_EVENT_POSTERS";
        public static const HABBO_INVENTORY_TRACKING_EVENT_BADGES:String = "HABBO_INVENTORY_TRACKING_EVENT_BADGES";
        public static const HABBO_INVENTORY_TRACKING_EVENT_ACHIEVEMENTS:String = "HABBO_INVENTORY_TRACKING_EVENT_ACHIEVEMENTS";
        public static const HABBO_INVENTORY_TRACKING_EVENT_TRADING:String = "HABBO_INVENTORY_TRACKING_EVENT_TRADING";
        public static const HABBO_INVENTORY_TRACKING_EVENT_PETS:String = "HABBO_INVENTORY_TRACKING_EVENT_PETS";
        public static const HABBO_INVENTORY_TRACKING_EVENT_BOTS:String = "HABBO_INVENTORY_TRACKING_EVENT_BOTS";

    }
}//package _-4WI

//------------------------------------------------------------
//_-4WI._-4pP

package _-4WI
{
    import flash.events.Event;

    public class _-4pP extends Event 
    {

        public static const _-U3:String = "HIHCE_HABBO_CLUB_CHANGED";

        public function _-4pP(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-U3, _arg1, _arg2);
        }
    }
}//package _-4WI

//------------------------------------------------------------
//_-4WI._-4yb

package _-4WI
{
    import flash.events.Event;

    public class _-4yb extends Event 
    {

        public static const _-gU:String = "HIEE_EFFECTS_CHANGED";

        private var _-Xa:Array;

        public function _-4yb(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-4WI

//------------------------------------------------------------
//_-4WI._-51i

package _-4WI
{
    import flash.events.Event;

    public class _-51i extends Event 
    {

        public static const HABBO_INVENTORY_ITEM_ADDED:String = "HABBO_INVENTORY_ITEM_ADDED";

        private var _-0xc:int;
        private var _-56P:int;
        private var _-JS:int;

        public function _-51i(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(HABBO_INVENTORY_ITEM_ADDED, _arg4, _arg5);
            this._-0xc = _arg1;
            this._-56P = _arg2;
            this._-JS = _arg3;
        }
        public function get _-YT():int
        {
            return (this._-0xc);
        }
        public function get _-23C():int
        {
            return (this._-56P);
        }
        public function get category():int
        {
            return (this._-JS);
        }

    }
}//package _-4WI

//------------------------------------------------------------
//_-4WI.HabboUnseenItemsUpdatedEvent

package _-4WI
{
    import flash.events.Event;
    import flash.utils.Dictionary;

    public class HabboUnseenItemsUpdatedEvent extends Event 
    {

        public static const _-2bC:String = "HUIUE_UNSEEN_ITEMS_CHANGED";

        private var _-4QB:int;
        private var _-3wz:Dictionary;

        public function HabboUnseenItemsUpdatedEvent(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-2bC);
            this._-3wz = new Dictionary();
        }
        public function _-07k(_arg1:int, _arg2:int):void
        {
            this._-3wz[_arg1.toString()] = _arg2;
        }
        public function _-1TW(_arg1:int):int
        {
            return (this._-3wz[_arg1.toString()]);
        }
        public function set _-2B1(_arg1:int):void
        {
            this._-4QB = _arg1;
        }
        public function get _-2B1():int
        {
            return (this._-4QB);
        }

    }
}//package _-4WI

//------------------------------------------------------------
//_-4Wu._-4uR

package _-4Wu
{
    import flash.utils.Dictionary;
    import _-1B-.*;

    public interface _-4uR extends _-4yI 
    {

        function keyExists(_arg1:String):Boolean;
        function getKey(_arg1:String, _arg2:String="", _arg3:Dictionary=null):String;
        function getBoolean(_arg1:String, _arg2:Boolean):Boolean;
        function interpolate(_arg1:String):String;
        function _-354(_arg1:String, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false):void;
        function _-1pT(_arg1:String):String;

    }
}//package _-4Wu

//------------------------------------------------------------
//_-4Wu.HabboConfigurationManager

package _-4Wu
{
    import _-1B-._-Px;
    import flash.utils.Dictionary;
    import _-1c._-1NX;
    import _-295.TextAsset;
    import flash.display.Stage;
    import _-18r.ErrorReportStorage;
    import flash.system.Security;
    import _-1B-._-5CE;
    import _-295._-39L;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-2ly._-11j;
    import _-p-.Core;
    import flash.events.Event;
    import _-295._-2kE;
    import _-1B-.*;

    public class HabboConfigurationManager extends _-Px implements _-4uR, _-4yh 
    {

        private static const _-56W:String = "url.prefix";

        private static var _-59Y:String = "%";

        private var _-15u:Dictionary;
        private var _-3WC:Boolean = false;
        private var _-0s7:String = "";
        private var _-08f:Array;
        private var _-1Y0:Boolean = false;

        public function HabboConfigurationManager(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            var k:String;
            var k:String;
            var k:Array;
            var k:String;
            this._-08f = [];
            super(_arg1, _arg2, _arg3);
            this._-3WC = ((_arg2 & _-1NX._-3Dt) > 0);
            this._-15u = new Dictionary();
            if (!this._-3WC)
            {
                lock();
            };
            var k:TextAsset = (_arg3.getAssetByName("default_configuration") as TextAsset);
            this.parseConfiguration(k.content.toString());
            k.dispose();
            _arg3.removeAsset(k);
            var k:Stage = _arg1.displayObjectContainer.stage;
            var k:String = k.loaderInfo.url;
            var k:int = k.lastIndexOf("/");
            k = k.substring(0, (k + 1));
            this._-354("flash.client.url", k);
            this._-1Y0 = (k.substr(0, 8) == "https://");
            for (k in k.loaderInfo.parameters)
            {
                ErrorReportStorage._-0QQ("Parsing flashvars", "Parsing flasvars");
                k = k.loaderInfo.parameters[k];
                k = k.replace(/[_]/g, ".");
                _-Nb.log(((("[HabboConfigurationManager] Habbo Configuration: Register HTML Parameter: " + k) + " = ") + k));
                this._-354(k, k, true);
            };
            ErrorReportStorage._-0QQ("Flashvars/host", ("Host: " + this.getKey("connection.info.host", "not found!")));
            ErrorReportStorage._-0QQ("Flashvars/port", ("Port: " + this.getKey("connection.info.port", "not found!")));
            this._-0s7 = this.getKey(_-56W);
            if (((!((this._-0s7 == null))) && ((this._-0s7.length > 0))))
            {
                this._-354("client.fatal.error.url", (this._-0s7 + "/flash_client_error"));
            };
            var k:String = this.getKey("flashclient.crossdomain.policy.files");
            if (((k) && (!((k == "")))))
            {
                k = k.split(",");
                for each (k in k)
                {
                    k = k.replace(" ", "");
                    Security.loadPolicyFile(k);
                };
            };
            this.init();
        }
        override public function dispose():void
        {
            super.dispose();
        }
        private function init():void
        {
            var k:String;
            var k:URLRequest;
            var k:_-4Rz;
            if (!this._-3WC)
            {
                k = this.getKey("external.variables.txt", "external_variables.txt");
                _-Nb.log(("[HabboConfigurationManager] Configuration External Variables: " + k));
                if (assets.hasAsset(k))
                {
                    _-Nb.log(("[HabboConfigurationManager] reload configuration for url: " + k));
                };
                k = new URLRequest(k);
                k = assets.loadAssetFromFile(k, k, "text/plain");
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-0nE);
                k.addEventListener(AssetLoaderEvent._-4ar, this._-r0);
            };
        }
        private function _-r0(_arg1:Event=null):void
        {
            var k:AssetLoaderEvent = (_arg1 as AssetLoaderEvent);
            var k:int;
            if (k != null)
            {
                k = k.status;
            };
            _-11j.logEventLog(("external_variables download error " + k));
            Core.error((((("Could not load external variables. Failed to load URL " + this.getKey("external.variables.txt")) + "HTTP status ") + k) + ". Client startup failed!"), true, Core._-0JA);
        }
        private function _-0nE(_arg1:Event=null):void
        {
            var k:int;
            var k:URLRequest;
            var k:_-4Rz;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k == null)
            {
                return;
            };
            var k:String = (k._-48Y.content as String);
            if (k != null)
            {
                this.parseConfiguration(k);
            };
            var k:_-2kE = assets.getAssetByName(k.assetName);
            if (k)
            {
                assets.removeAsset(k).dispose();
            };
            if ((((k == null)) || ((k.length == 0))))
            {
                k = (((k)!=null) ? k.length : -1);
                Core.error((((("Could not load external variables, got empty data from URL " + this.getKey("external.variables.txt")) + " data length = ") + k) + ". Client startup failed!"), false, Core._-0JA);
            };
            _-Nb.log(("[HabboConfigurationManager] Configuration check: " + this.getKey("connection.info.host")));
            var k:String = this.getKey("external.override.variables.txt");
            if (((k) && (!((k == "")))))
            {
                _-Nb.log(("Override External Variables: " + k));
                if (assets.hasAsset(k))
                {
                    _-Nb.log(("[HabboConfigurationManager] reload configuration for url: " + k));
                };
                k = new URLRequest(k);
                k = assets.loadAssetFromFile(k, k, "text/plain");
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-2xQ);
                k.addEventListener(AssetLoaderEvent._-4ar, this._-5Az);
            }
            else
            {
                if (!this._-3WC)
                {
                    this._-3WC = true;
                    if (locked)
                    {
                        unlock();
                    };
                };
            };
        }
        private function _-5Az(_arg1:Event):void
        {
            var k:AssetLoaderEvent = (_arg1 as AssetLoaderEvent);
            var k:int;
            if (k != null)
            {
                k = k.status;
            };
            _-Nb.log(("[HabboConfigurationManager] Could not load external variables override. HTTP status: " + k));
            this._-3WC = true;
            if (locked)
            {
                unlock();
            };
        }
        private function _-2xQ(_arg1:Event):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k == null)
            {
                return;
            };
            var k:String = (k._-48Y.content as String);
            if (k != null)
            {
                this.parseConfiguration(k);
            };
            var k:_-2kE = assets.getAssetByName(k.assetName);
            if (k)
            {
                assets.removeAsset(k).dispose();
            };
            this._-3WC = true;
            if (locked)
            {
                unlock();
            };
        }
        private function parseConfiguration(_arg1:String):void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:String;
            var k:String;
            var k:int;
            var k:String;
            var k:String;
            var k:RegExp = /\n\r{1,}|\n{1,}|\r{1,}/mg;
            var k:RegExp = /^\s+|\s+$/g;
            var k:Array = _arg1.split(k);
            var k:Boolean;
            for each (k in k)
            {
                if (k.substr(0, 1) == "#")
                {
                }
                else
                {
                    k = k.split("=");
                    if ((((k[0].length > 0)) && ((k[1].length > 0))))
                    {
                        k = k.shift();
                        k = k.join("=");
                        k = k.replace(k, "");
                        k = k.replace(k, "");
                        if ((((k == "configuration.readonly")) && ((k == "true"))))
                        {
                            k = true;
                        };
                        this._-354(k, k, k);
                    };
                };
            };
            if (this.keyExists("environment.default"))
            {
                k = this.getKey("environment.default", "d63");
                _-Nb.log(("[HabboConfigurationManager] Default Environment: " + k));
                for (k in this._-15u)
                {
                    k = k.lastIndexOf(("." + k));
                    if (((!((k == -1))) && ((((k + 1) + k.length) == k.length))))
                    {
                        k = k.substring(0, k);
                        k = this.getKey(k);
                        this._-354(k, k);
                        _-Nb.log(((((("[HabboConfigurationManager] Replacing " + k) + " with value of ") + k) + " = ") + k));
                    };
                };
            };
            this._-0s7 = this.getKey(_-56W);
        }
        private function _-3UW(_arg1:String):Boolean
        {
            var k:int;
            var k:Array = _arg1.split(".");
            if (k.length >= 2)
            {
                k = (k.length - 1);
                if ((((k[k] == "com")) && ((k[(k - 1)] == "sulake"))))
                {
                    return (true);
                };
                if ((((k[k] == "net")) && ((k[(k - 1)] == "varoke"))))
                {
                    return (true);
                };
                if (k[(k - 1)] == "habbo")
                {
                    return (true);
                };
                if (k.length >= 3)
                {
                    if ((((((((k[k] == "br")) || ((k[k] == "tr")))) && ((k[(k - 1)] == "com")))) && ((k[(k - 2)] == "habbo"))))
                    {
                        return (true);
                    };
                };
            };
            return (true);
        }
        public function keyExists(_arg1:String):Boolean
        {
            var k:String = (this._-15u[_arg1] as String);
            return (!((k == null)));
        }
        public function getKey(_arg1:String, _arg2:String="", _arg3:Dictionary=null):String
        {
            var k:String = (this._-15u[_arg1] as String);
            if (k == null)
            {
                k = _arg2;
            };
            if (k != null)
            {
                if (k.indexOf("%predefined%") > -1)
                {
                    k = k.replace("%predefined%", this._-0s7);
                    k = k.replace("http://http://", "http://");
                    k = k.replace("http://https://", "https://");
                };
                if (k.substr(0, 2) == "//")
                {
                    k = (((this._-1Y0) ? "https:" : "http:") + k);
                };
                k = this._-1pT(k);
            };
            if (_arg3 != null)
            {
                k = this._-4IS(k, _arg3);
            };
            return (k);
        }
        public function _-354(_arg1:String, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false):void
        {
            if (_arg4)
            {
                if (this._-15u[_arg1] == null)
                {
                    _-Nb.log(((_arg1 + "=") + _arg2));
                };
            };
            if ((((this._-08f.indexOf(_arg1) < 0)) || (_arg3)))
            {
                this._-15u[_arg1] = _arg2;
                if (_arg1 == _-56W)
                {
                    this._-0s7 = _arg2;
                };
            };
            if (_arg3)
            {
                this._-08f.push(_arg1);
            };
        }
        private function _-4IS(_arg1:String, _arg2:Dictionary):String
        {
            var k:int;
            var k:int;
            var k:String;
            var k:String;
            var k:int;
            while (k < 10)
            {
                k = _arg1.indexOf(_-59Y);
                if (k < 0)
                {
                    break;
                };
                k = _arg1.indexOf(_-59Y, (k + 1));
                if (k < 0)
                {
                    break;
                };
                k = _arg1.substring((k + 1), k);
                k = _arg2[k];
                k = _arg1.replace((("%" + k) + "%"), k);
                k++;
            };
            return (_arg1);
        }
        public function getBoolean(_arg1:String, _arg2:Boolean):Boolean
        {
            var k:String = (this._-15u[_arg1] as String);
            if (k == null)
            {
                return (_arg2);
            };
            return ((((k == "1")) || ((k.toLowerCase() == "true"))));
        }
        public function _-1pT(_arg1:String):String
        {
            var k:String = _arg1;
            if (this._-1Y0)
            {
                k = _arg1.replace("http://", "https://");
                k = k.replace(":8080/", ":8443/");
            };
            return (k);
        }
        public function interpolate(_arg1:String):String
        {
            var k:Object;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:RegExp = /\${([^}]*)}/g;
            var k:int;
            var k:String = "";
            do 
            {
                k = k.exec(_arg1);
                if (k == null)
                {
                    break;
                };
                if (!this.keyExists(k[1]))
                {
                    return (null);
                };
                k = (k + _arg1.substring(k, k.index));
                k = (k + this.getKey(k[1]));
                k = (k.index + k[0].length);
            } while (true);
            k = (k + _arg1.substring(k));
            return (k);
        }

    }
}//package _-4Wu

//------------------------------------------------------------
//_-4xH._-08d

package _-4xH
{
    public interface _-08d 
    {

        function _-2tI(_arg1:String, _arg2:int):_-0rC;
        function get type():String;
        function get id():int;
        function get gender():String;
        function get clubLevel():int;
        function get _-1J8():Boolean;
        function get _-06F():Boolean;
        function get _-1xN():Array;
        function get _-2Xg():Array;

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH._-0rC

package _-4xH
{
    public interface _-0rC 
    {

        function get id():int;
        function get type():String;
        function get breed():int;
        function get _-4L0():int;
        function get index():int;
        function get paletteMap():int;

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH._-0rk

package _-4xH
{
    import _-18r.Map;

    public interface _-0rk 
    {

        function _-2Ey(_arg1:int):_-08d;
        function _-24c(_arg1:String, _arg2:int):Boolean;
        function _-2ic(_arg1:String):int;
        function get type():String;
        function get _-3o5():int;
        function get _-RM():Map;

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH._-2OZ

package _-4xH
{
    import flash.geom.ColorTransform;

    public interface _-2OZ 
    {

        function get colorTransform():ColorTransform;
        function get redMultiplier():Number;
        function get greenMultiplier():Number;
        function get blueMultiplier():Number;
        function get rgb():uint;
        function get r():uint;
        function get g():uint;
        function get b():uint;
        function get id():int;
        function get index():int;
        function get clubLevel():int;
        function get _-06F():Boolean;

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH._-2TT

package _-4xH
{
    import flash.utils.Dictionary;

    public interface _-2TT 
    {

        function get id():int;
        function _-12f(_arg1:int):_-2OZ;
        function get colors():Dictionary;

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH.FigurePart

package _-4xH
{
    public class FigurePart implements _-0rC 
    {

        private var _-0Kq:int;
        private var _-5K:String;
        private var _-0Hz:int = -1;
        private var _-4bb:int;
        private var _index:int;
        private var _-1wm:int = -1;

        public function FigurePart(_arg1:XML)
        {
            this._-0Kq = parseInt(_arg1.@id);
            this._-5K = String(_arg1.@type);
            this._index = parseInt(_arg1.@index);
            this._-4bb = parseInt(_arg1.@colorindex);
            var k:String = _arg1.@palettemapid;
            if (k != "")
            {
                this._-1wm = int(k);
            };
            var k:String = _arg1.@breed;
            if (k != "")
            {
                this._-0Hz = int(k);
            };
        }
        public function dispose():void
        {
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get breed():int
        {
            return (this._-0Hz);
        }
        public function get _-4L0():int
        {
            return (this._-4bb);
        }
        public function get index():int
        {
            return (this._index);
        }
        public function get paletteMap():int
        {
            return (this._-1wm);
        }

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH.FigurePartSet

package _-4xH
{
    public class FigurePartSet implements _-08d 
    {

        private var _-5K:String;
        private var _-0Kq:int;
        private var _-4Cb:String;
        private var _-05-:int;
        private var _-3iB:Boolean;
        private var _-3eA:Boolean;
        private var _-2aI:Array;
        private var _-0Mp:Array;

        public function FigurePartSet(_arg1:XML, _arg2:String)
        {
            var k:XML;
            var k:XML;
            var k:FigurePart;
            var k:int;
            super();
            this._-5K = _arg2;
            this._-0Kq = parseInt(_arg1.@id);
            this._-4Cb = String(_arg1.@gender);
            this._-05- = parseInt(_arg1.@club);
            this._-3iB = Boolean(parseInt(_arg1.@colorable));
            this._-3eA = Boolean(parseInt(_arg1.@selectable));
            this._-2aI = new Array();
            this._-0Mp = new Array();
            for each (k in _arg1.part)
            {
                k = new FigurePart(k);
                k = this._-QL(k);
                if (k != -1)
                {
                    this._-2aI.splice(k, 0, k);
                }
                else
                {
                    this._-2aI.push(k);
                };
            };
            for each (k in _arg1.hiddenlayers.layer)
            {
                this._-0Mp.push(String(k.@parttype));
            };
        }
        public function dispose():void
        {
            var k:FigurePart;
            for each (k in this._-2aI)
            {
                k.dispose();
            };
            this._-2aI = null;
            this._-0Mp = null;
        }
        private function _-QL(_arg1:FigurePart):int
        {
            var k:FigurePart;
            var k:int;
            while (k < this._-2aI.length)
            {
                k = this._-2aI[k];
                if ((((k.type == _arg1.type)) && ((k.index < _arg1.index))))
                {
                    return (k);
                };
                k++;
            };
            return (-1);
        }
        public function _-2tI(_arg1:String, _arg2:int):_-0rC
        {
            var k:FigurePart;
            for each (k in this._-2aI)
            {
                if ((((k.type == _arg1)) && ((k.id == _arg2))))
                {
                    return (k);
                };
            };
            return (null);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get clubLevel():int
        {
            return (this._-05-);
        }
        public function get _-1J8():Boolean
        {
            return (this._-3iB);
        }
        public function get _-06F():Boolean
        {
            return (this._-3eA);
        }
        public function get _-1xN():Array
        {
            return (this._-2aI);
        }
        public function get _-2Xg():Array
        {
            return (this._-0Mp);
        }

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH.Palette

package _-4xH
{
    import flash.utils.Dictionary;

    public class Palette implements _-2TT 
    {

        private var _-0Kq:int;
        private var _-2Yf:Dictionary;

        public function Palette(_arg1:XML)
        {
            this._-0Kq = parseInt(_arg1.@id);
            this._-2Yf = new Dictionary();
            this._-4RZ(_arg1);
        }
        public function _-4RZ(_arg1:XML):void
        {
            var k:XML;
            for each (k in _arg1.color)
            {
                this._-2Yf[String(k.@id)] = new PartColor(k);
            };
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function _-12f(_arg1:int):_-2OZ
        {
            return (this._-2Yf[String(_arg1)]);
        }
        public function get colors():Dictionary
        {
            return (this._-2Yf);
        }

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH.PartColor

package _-4xH
{
    import flash.geom.ColorTransform;

    public class PartColor implements _-2OZ 
    {

        private var _-0Kq:int;
        private var _index:int;
        private var _-05-:int;
        private var _-3eA:Boolean = false;
        private var _-3IR:uint;
        private var _r:uint;
        private var _g:uint;
        private var _b:uint;
        private var _-2Hm:Number;
        private var _-586:Number;
        private var _-28l:Number;
        private var _-1Cw:ColorTransform;

        public function PartColor(_arg1:XML)
        {
            this._-0Kq = parseInt(_arg1.@id);
            this._index = parseInt(_arg1.@index);
            this._-05- = parseInt(_arg1.@club);
            this._-3eA = Boolean(parseInt(_arg1.@selectable));
            var k:String = _arg1.text();
            this._-3IR = parseInt(k, 16);
            this._r = ((this._-3IR >> 16) & 0xFF);
            this._g = ((this._-3IR >> 8) & 0xFF);
            this._b = ((this._-3IR >> 0) & 0xFF);
            this._-2Hm = ((this._r / 0xFF) * 1);
            this._-586 = ((this._g / 0xFF) * 1);
            this._-28l = ((this._b / 0xFF) * 1);
            this._-1Cw = new ColorTransform(this._-2Hm, this._-586, this._-28l);
        }
        public function get colorTransform():ColorTransform
        {
            return (this._-1Cw);
        }
        public function get redMultiplier():Number
        {
            return (this._-2Hm);
        }
        public function get greenMultiplier():Number
        {
            return (this._-586);
        }
        public function get blueMultiplier():Number
        {
            return (this._-28l);
        }
        public function get rgb():uint
        {
            return (this._-3IR);
        }
        public function get r():uint
        {
            return (this._r);
        }
        public function get g():uint
        {
            return (this._g);
        }
        public function get b():uint
        {
            return (this._b);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get index():int
        {
            return (this._index);
        }
        public function get clubLevel():int
        {
            return (this._-05-);
        }
        public function get _-06F():Boolean
        {
            return (this._-3eA);
        }

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xH.SetType

package _-4xH
{
    import _-18r.Map;
    import flash.utils.Dictionary;

    public class SetType implements _-0rk 
    {

        private var _-0XO:Map;
        private var _-5K:String;
        private var _-3pw:int;
        private var _-mH:Dictionary;

        public function SetType(_arg1:XML)
        {
            this._-5K = String(_arg1.@type);
            this._-3pw = parseInt(_arg1.@paletteid);
            this._-mH = new Dictionary();
            this._-mH["F"] = new Array();
            this._-mH["M"] = new Array();
            this._-mH["F"][0] = Boolean(parseInt(_arg1.@mand_f_0));
            this._-mH["F"][1] = Boolean(parseInt(_arg1.@mand_f_1));
            this._-mH["M"][0] = Boolean(parseInt(_arg1.@mand_m_0));
            this._-mH["M"][1] = Boolean(parseInt(_arg1.@mand_m_1));
            this._-0XO = new Map();
            this._-4RZ(_arg1);
        }
        public function dispose():void
        {
            var k:FigurePartSet;
            for each (k in this._-0XO._-0hn())
            {
                k.dispose();
            };
            this._-0XO.dispose();
            this._-0XO = null;
        }
        public function _-0oP(_arg1:XML):void
        {
            var k:XML;
            var k:String;
            var k:FigurePartSet;
            for each (k in _arg1["set"])
            {
                k = String(k.@id);
                k = this._-0XO.getValue(k);
                if (k != null)
                {
                    k.dispose();
                    this._-0XO.remove(k);
                };
            };
        }
        public function _-4RZ(_arg1:XML):void
        {
            var k:XML;
            for each (k in _arg1["set"])
            {
                this._-0XO.add(String(k.@id), new FigurePartSet(k, this._-5K));
            };
        }
        public function _-01A(_arg1:String):_-08d
        {
            var k:_-08d;
            var k:Array = this._-0XO._-18C();
            var k:int = (k.length - 1);
            while (k >= 0)
            {
                k = this._-0XO.getValue(k[k]);
                if (((((k) && ((k.clubLevel == 0)))) && ((((k.gender == _arg1)) || ((k.gender == "U"))))))
                {
                    return (k);
                };
                k--;
            };
            return (null);
        }
        public function _-2Ey(_arg1:int):_-08d
        {
            return (this._-0XO.getValue(String(_arg1)));
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get _-3o5():int
        {
            return (this._-3pw);
        }
        public function _-24c(_arg1:String, _arg2:int):Boolean
        {
            return (this._-mH[_arg1.toUpperCase()][Math.min(_arg2, 1)]);
        }
        public function _-2ic(_arg1:String):int
        {
            var k:Array = this._-mH[_arg1.toUpperCase()];
            return (k.indexOf(false));
        }
        public function get _-RM():Map
        {
            return (this._-0XO);
        }

    }
}//package _-4xH

//------------------------------------------------------------
//_-4xL._-02V

package _-4xL
{
    import _-4Aj.*;

    public class _-02V implements _-1oF 
    {

        private var _-b:int;
        private var _-1Rt:int;
        private var _-0wA:int;

        public function _-02V(_arg1:int, _arg2:int=0, _arg3:int=0)
        {
            this._-b = _arg1;
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-b]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-0BQ

package _-4xL
{
    import _-4Aj.*;

    public class _-0BQ implements _-1oF 
    {

        private var _-1RF:int;
        private var _-2dX:int;
        private var _-4TA:int;
        private var _-1Rt:int;
        private var _-0wA:int;

        public function _-0BQ(_arg1:int, _arg2:int, _arg3:int, _arg4:int=0, _arg5:int=0)
        {
            this._-1RF = _arg1;
            this._-2dX = _arg2;
            this._-4TA = _arg3;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-1RF, this._-2dX, this._-4TA]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-0Hs

package _-4xL
{
    import _-4Aj.*;

    public class _-0Hs implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-44i:int = 0;

        public function _-0Hs(_arg1:int, _arg2:int=0, _arg3:int=0)
        {
            this._-44i = _arg1;
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-0S2

package _-4xL
{
    import _-4Aj.*;

    public class _-0S2 implements _-1oF 
    {

        private var _-b:int;
        private var _-2K7:Boolean;

        public function _-0S2(_arg1:int, _arg2:Boolean)
        {
            this._-b = _arg1;
            this._-2K7 = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-b, this._-2K7]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-0Vv

package _-4xL
{
    import _-4Aj.*;

    public class _-0Vv implements _-1oF 
    {

        private var _-44i:int;
        private var _-4qc:int = 0;
        private var _-1Rt:int;
        private var _-0wA:int = 0;

        public function _-0Vv(_arg1:int, _arg2:int=0, _arg3:int=0, _arg4:int=0)
        {
            this._-44i = _arg1;
            this._-4qc = _arg2;
            this._-1Rt = _arg3;
            this._-0wA = _arg4;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i, this._-4qc]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-1uS

package _-4xL
{
    import _-4Aj.*;

    public class _-1uS implements _-1oF 
    {

        private var _-44i:int;
        private var _-1Rt:int;
        private var _-0wA:int;

        public function _-1uS(_arg1:int, _arg2:int=0, _arg3:int=0)
        {
            this._-44i = _arg1;
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-1ZD

package _-4xL
{
    import _-4Aj.*;

    public class _-1ZD implements _-1oF 
    {

        private var _-b:int;

        public function _-1ZD(_arg1:int)
        {
            this._-b = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-b]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-2dR

package _-4xL
{
    import _-4Aj.*;

    public class _-2dR implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2dR(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-2lZ

package _-4xL
{
    import _-4Aj.*;

    public class _-2lZ implements _-1oF 
    {

        private var _-b:int;

        public function _-2lZ(_arg1:int)
        {
            this._-b = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-b]);
        }
        public function dispose():void
        {
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-2Pp

package _-4xL
{
    import _-4Aj.*;

    public class _-2Pp implements _-1oF 
    {

        private var _-1RF:int;

        public function _-2Pp(_arg1:int)
        {
            this._-1RF = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-1RF]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-2Q2

package _-4xL
{
    import _-4Aj.*;

    public class _-2Q2 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2Q2(_arg1:int, _arg2:int, _arg3:String, _arg4:int=0, _arg5:int=0)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg3);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-2yF

package _-4xL
{
    import _-4Aj.*;

    public class _-2yF implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-44i:int;
        private var _-0qE:String;
        private var _-22L:String;

        public function _-2yF(_arg1:int, _arg2:String="", _arg3:String="", _arg4:int=0, _arg5:int=0)
        {
            this._-44i = _arg1;
            this._-0qE = _arg3;
            this._-22L = _arg2;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i, this._-22L, this._-0qE]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-3Bj

package _-4xL
{
    import _-18r.Map;
    import _-4Aj.*;

    public class _-3Bj implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3Bj(_arg1:int, _arg2:Map, _arg3:int=0, _arg4:int=0)
        {
            var k:String;
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push((_arg2.length * 2));
            for each (k in _arg2._-18C())
            {
                this._-0qE.push(k);
                this._-0qE.push(_arg2.getValue(k));
            };
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-3j6

package _-4xL
{
    import _-3mW._-1sV;
    import _-4Aj.*;

    public class _-3j6 implements _-1oF 
    {

        private var _-44i:int;
        private var _-1pz:int;
        private var _-1-Z:String;
        private var _-2dX:int = 0;
        private var _-4TA:int = 0;
        private var _-ai:int = 0;
        private var _-1Rt:int;
        private var _-0wA:int;

        public function _-3j6(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:int, _arg7:int=0, _arg8:int=0)
        {
            this._-44i = _arg1;
            this._-1pz = _arg2;
            this._-1-Z = _arg3;
            this._-2dX = _arg4;
            this._-4TA = _arg5;
            this._-ai = _arg6;
            this._-1Rt = _arg7;
            this._-0wA = _arg8;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            switch (this._-1pz)
            {
                case _-1sV._-0u-:
                    return ([((((((this._-44i + " ") + this._-2dX) + " ") + this._-4TA) + " ") + this._-ai)]);
                case _-1sV._-20L:
                    return ([((this._-44i + " ") + this._-1-Z)]);
                default:
                    return ([]);
            };
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-3jA

package _-4xL
{
    import _-4Aj.*;

    public class _-3jA implements _-1oF 
    {

        private var _-b:int;

        public function _-3jA(_arg1:int)
        {
            this._-b = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-b]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-4ad

package _-4xL
{
    import _-4Aj.*;

    public class _-4ad implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-4GZ

package _-4xL
{
    import _-4Aj.*;

    public class _-4GZ implements _-1oF 
    {

        private var _-2dX:int;
        private var _-4TA:int;
        private var _-1Rt:int;
        private var _-0wA:int = 0;

        public function _-4GZ(_arg1:int, _arg2:int, _arg3:int=0, _arg4:int=0)
        {
            this._-2dX = _arg1;
            this._-4TA = _arg2;
            this._-1Rt = _arg3;
            this._-0wA = _arg4;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-2dX, this._-4TA]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-4Ib

package _-4xL
{
    import _-4Aj.*;

    public class _-4Ib implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-4Ib(_arg1:int=0, _arg2:int=0)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-4NI

package _-4xL
{
    import _-4Aj.*;

    public class _-4NI implements _-1oF 
    {

        private var _-44i:int;
        private var _-2dX:int;
        private var _-4TA:int;
        private var _-3r2:int;
        private var _-1Rt:int;
        private var _-0wA:int = 0;

        public function _-4NI(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int=0, _arg6:int=0)
        {
            this._-44i = _arg1;
            this._-2dX = _arg2;
            this._-4TA = _arg3;
            this._-3r2 = _arg4;
            this._-1Rt = _arg5;
            this._-0wA = _arg6;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i, this._-2dX, this._-4TA, this._-3r2]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-4qO

package _-4xL
{
    import _-4Aj.*;

    public class _-4qO implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-44i:int;
        private var _-4Cb:String;
        private var _-2vH:String;

        public function _-4qO(_arg1:int, _arg2:String, _arg3:String="", _arg4:int=0, _arg5:int=0)
        {
            this._-44i = _arg1;
            this._-4Cb = _arg2;
            this._-2vH = _arg3;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i, this._-4Cb, this._-2vH]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-7P

package _-4xL
{
    import _-4Aj.*;

    public class _-7P implements _-1oF 
    {

        private var _-b:int;
        private var _-2dX:int;
        private var _-4TA:int;
        private var _-1Rt:int;
        private var _-0wA:int;

        public function _-7P(_arg1:int, _arg2:int, _arg3:int, _arg4:int=0, _arg5:int=0)
        {
            this._-b = _arg1;
            this._-2dX = _arg2;
            this._-4TA = _arg3;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-b, this._-2dX, this._-4TA]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-DO

package _-4xL
{
    import _-4Aj.*;

    public class _-DO implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-DO(_arg1:int, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-gO

package _-4xL
{
    import _-3mW._-1sV;
    import _-4Aj.*;

    public class _-gO implements _-1oF 
    {

        private var _-44i:int;
        private var _-1pz:int;

        public function _-gO(_arg1:int, _arg2:int)
        {
            this._-44i = _arg1;
            this._-1pz = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            if (this._-1pz == _-1sV._-0u-)
            {
                return ([2, this._-44i]);
            };
            return ([1, this._-44i]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-lJ

package _-4xL
{
    import _-3mW._-1sV;
    import _-4Aj.*;

    public class _-lJ implements _-1oF 
    {

        private var _-44i:int;
        private var _-1pz:int;
        private var _-1Rt:int;
        private var _-0wA:int;

        public function _-lJ(_arg1:int, _arg2:int, _arg3:int=0, _arg4:int=0)
        {
            this._-44i = _arg1;
            this._-1pz = _arg2;
            this._-1Rt = _arg3;
            this._-0wA = _arg4;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:int;
            switch (this._-1pz)
            {
                case _-1sV._-0u-:
                    k = 2;
                    break;
                case _-1sV._-20L:
                    k = 1;
                    break;
                    return ([]);
            };
            return ([k, this._-44i]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-nw

package _-4xL
{
    import _-4Aj.*;

    public class _-nw implements _-1oF 
    {

        private var _-44i:int;
        private var _-4qc:int = 0;
        private var _-1Rt:int;
        private var _-0wA:int = 0;

        public function _-nw(_arg1:int, _arg2:int=0, _arg3:int=0, _arg4:int=0)
        {
            this._-44i = _arg1;
            this._-4qc = _arg2;
            this._-1Rt = _arg3;
            this._-0wA = _arg4;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i, this._-4qc]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-tV

package _-4xL
{
    import _-4Aj.*;

    public class _-tV implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-tV(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4xL._-XR

package _-4xL
{
    import _-4Aj.*;

    public class _-XR implements _-1oF 
    {

        private var _-b:int;

        public function _-XR(_arg1:int)
        {
            this._-b = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-b]);
        }

    }
}//package _-4xL

//------------------------------------------------------------
//_-4yl._-0h6

package _-4yl
{
    import flash.net.LocalConnection;
    import flash.system.System;

    public class _-0h6 
    {

        public static function _-1P8():void
        {
            try
            {
                new LocalConnection().connect("foo");
                new LocalConnection().connect("foo");
            }
            catch(e)
            {
            };
        }
        public static function get _-28s():uint
        {
            return (System.totalMemory);
        }

    }
}//package _-4yl

//------------------------------------------------------------
//_-4yl.Hex

package _-4yl
{
    import flash.utils.ByteArray;

    public class Hex 
    {

        public static function _-0pj(_arg1:String):ByteArray
        {
            k = _arg1.replace(/\s|:/gm, "");
            var k:ByteArray = new ByteArray();
            if ((k.length & (1 == 1)))
            {
                k = ("0" + k);
            };
            var k:uint;
            while (k < k.length)
            {
                k[(k / 2)] = parseInt(k.substr(k, 2), 16);
                k = (k + 2);
            };
            return (k);
        }
        public static function _-3-a(_arg1:ByteArray, _arg2:Boolean=false):String
        {
            var k:String = "";
            var k:uint;
            while (k < _arg1.length)
            {
                k = (k + ("0" + _arg1[k].toString(16)).substr(-2, 2));
                if (_arg2)
                {
                    if (k < (_arg1.length - 1))
                    {
                        k = (k + ":");
                    };
                };
                k++;
            };
            return (k);
        }
        public static function toString(_arg1:String):String
        {
            var k:ByteArray = _-0pj(_arg1);
            return (k.readUTFBytes(k.length));
        }
        public static function _-0Y7(_arg1:String, _arg2:Boolean=false):String
        {
            var k:ByteArray = new ByteArray();
            k.writeUTFBytes(_arg1);
            return (_-3-a(k, _arg2));
        }

    }
}//package _-4yl

//------------------------------------------------------------
//_-4yS._-0gu

package _-4yS
{
    public interface _-0gu 
    {

        function get id():int;
        function get name():String;
        function get figure():String;

    }
}//package _-4yS

//------------------------------------------------------------
//_-4yS._-0oL

package _-4yS
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-0oL extends _-4yI 
    {

        function get events():IEventDispatcher;
        function get _-qP():int;
        function _-2w1(_arg1:int):_-1CF;
        function _-1Cg(_arg1:int):_-1CF;
        function _-17H(_arg1:String):_-1CF;
        function get _-11r():int;
        function _-48F(_arg1:int):_-0gu;
        function _-1tN(_arg1:int):_-0gu;
        function _-1WB(_arg1:String):_-0gu;
        function _-2G5():Array;
        function acceptFriendRequest(_arg1:int):void;
        function acceptAllFriendRequests():void;
        function declineFriendRequest(_arg1:int):void;
        function declineAllFriendRequests():void;
        function followToRoom(_arg1:int):void;
        function startConversation(_arg1:int):void;
        function findNewFriends():void;
        function sendGameTabTracking(_arg1:String):void;
        function sendGameButtonTracking(_arg1:String):void;
        function _-2e-():void;
        function _-13o():void;
        function _-kR():void;
        function _-1FU():void;
        function showProfile(_arg1:int):void;

    }
}//package _-4yS

//------------------------------------------------------------
//_-4yS._-1CF

package _-4yS
{
    import __AS3__.vec.Vector;

    public interface _-1CF 
    {

        function get id():int;
        function get name():String;
        function get gender():int;
        function get online():Boolean;
        function get allowFollow():Boolean;
        function get figure():String;
        function get _-2d-():int;
        function get motto():String;
        function get _-vZ():String;
        function get realName():String;
        function get notifications():Vector.<_-1D2>;
        function get logEventId():int;
        function set logEventId(_arg1:int):void;
        function _-LM():int;

    }
}//package _-4yS

//------------------------------------------------------------
//_-4yS._-1D2

package _-4yS
{
    public interface _-1D2 
    {

        function get _-3sS():int;
        function set _-3sS(_arg1:int):void;
        function get message():String;
        function set message(_arg1:String):void;
        function get _-0wQ():Boolean;
        function set _-0wQ(_arg1:Boolean):void;

    }
}//package _-4yS

//------------------------------------------------------------
//_-4yS._-4f9

package _-4yS
{
    public class _-4f9 implements _-1D2 
    {

        public static const _-0t5:int = -1;
        public static const _-1K:int = 0;
        public static const _-1aB:int = 1;
        public static const _-4j5:int = 2;
        public static const _-47T:int = 3;
        public static const _-26c:int = 4;
        public static const _-3aU:int = 5;

        private var _-4zu:int = -1;
        private var _-2md:String;
        private var _-0au:Boolean;

        public function _-4f9(_arg1:int, _arg2:String, _arg3:Boolean)
        {
            this._-4zu = _arg1;
            this._-2md = _arg2;
            this._-0au = _arg3;
        }
        public static function _-1Se(_arg1:int):String
        {
            switch (_arg1)
            {
                case _-0t5:
                    return ("instant_message");
                case _-1K:
                    return ("room_event");
                case _-1aB:
                    return ("achievement");
                case _-4j5:
                    return ("quest");
                case _-47T:
                    return ("playing_game");
                case _-26c:
                    return ("finished_game");
                case _-3aU:
                    return ("game_invite");
            };
            return ("unknown");
        }

        public function get _-3sS():int
        {
            return (this._-4zu);
        }
        public function set _-3sS(_arg1:int):void
        {
            this._-4zu = _arg1;
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function set message(_arg1:String):void
        {
            this._-2md = _arg1;
        }
        public function get _-0wQ():Boolean
        {
            return (this._-0au);
        }
        public function set _-0wQ(_arg1:Boolean):void
        {
            this._-0au = _arg1;
        }

    }
}//package _-4yS

//------------------------------------------------------------
//_-4yS._-6a

package _-4yS
{
    public class _-6a implements _-0gu 
    {

        private var _-0Kq:int;
        private var _name:String;
        private var _-5AE:String;

        public function _-6a(_arg1:int, _arg2:String, _arg3:String)
        {
            this._-0Kq = _arg1;
            this._name = _arg2;
            this._-5AE = _arg3;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }

    }
}//package _-4yS

//------------------------------------------------------------
//_-4yS.FriendEntity

package _-4yS
{
    import __AS3__.vec.Vector;
    import __AS3__.vec.*;

    public class FriendEntity implements _-1CF 
    {

        private static var _-4jD:int = 0;

        private var _-0Kq:int;
        private var _name:String;
        private var _-4Cb:int;
        private var _-1Lo:Boolean;
        private var _-3ND:Boolean;
        private var _-5AE:String;
        private var _-4d9:int;
        private var _-2sb:String;
        private var _-3Oj:String;
        private var _-pj:String;
        private var _-49A:Vector.<_-1D2>;
        private var _-1ai:int = -1;

        public function FriendEntity(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:int, _arg6:Boolean, _arg7:Boolean, _arg8:String, _arg9:int, _arg10:String)
        {
            this._-0Kq = _arg1;
            this._name = _arg2;
            this._-pj = _arg3;
            this._-2sb = _arg4;
            this._-4Cb = _arg5;
            this._-1Lo = _arg6;
            this._-3ND = _arg7;
            this._-5AE = _arg8;
            this._-4d9 = _arg9;
            this._-3Oj = _arg10;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get gender():int
        {
            return (this._-4Cb);
        }
        public function get online():Boolean
        {
            return (this._-1Lo);
        }
        public function get allowFollow():Boolean
        {
            return (this._-3ND);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-2d-():int
        {
            return (this._-4d9);
        }
        public function get motto():String
        {
            return (this._-2sb);
        }
        public function get _-vZ():String
        {
            return (this._-3Oj);
        }
        public function get realName():String
        {
            return (this._-pj);
        }
        public function get logEventId():int
        {
            return (this._-1ai);
        }
        public function get notifications():Vector.<_-1D2>
        {
            if (!this._-49A)
            {
                this._-49A = new Vector.<_-1D2>();
            };
            return (this._-49A);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function set gender(_arg1:int):void
        {
            this._-4Cb = _arg1;
        }
        public function set online(_arg1:Boolean):void
        {
            this._-1Lo = _arg1;
        }
        public function set allowFollow(_arg1:Boolean):void
        {
            this._-3ND = _arg1;
        }
        public function set figure(_arg1:String):void
        {
            this._-5AE = _arg1;
        }
        public function set _-2d-(_arg1:int):void
        {
            this._-4d9 = _arg1;
        }
        public function set motto(_arg1:String):void
        {
            this._-2sb = _arg1;
        }
        public function set _-vZ(_arg1:String):void
        {
            this._-3Oj = _arg1;
        }
        public function set realName(_arg1:String):void
        {
            this._-pj = _arg1;
        }
        public function set logEventId(_arg1:int):void
        {
            this._-1ai = _arg1;
        }
        public function _-LM():int
        {
            return (++_-4jD);
        }

    }
}//package _-4yS

//------------------------------------------------------------
//_-4yS.HabboFriendBarData

package _-4yS
{
    import _-1B-._-Px;
    import _-4Wu._-4uR;
    import _-3gx._-4BJ;
    import _-35b._-a8;
    import _-2W2._-4L8;
    import _-3N5._-2VA;
    import _-2gz._-2UE;
    import _-18r.Map;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboFriendList;
    import com.sulake.iid.IIDHabboMessenger;
    import com.sulake.iid.IIDHabboEventStream;
    import com.sulake.iid.IIDHabboTracking;
    import _-0eb._-1ih;
    import _-295._-39L;
    import _-23M._-2Pi;
    import _-3ly._-0RA;
    import _-0Pi._-RA;
    import _-3ly._-0ie;
    import _-3XR._-1Cd;
    import _-2p5._-2ka;
    import _-3ly._-45I;
    import _-3XR._-46j;
    import _-Ew.IWindowContainer;
    import _-2ly._-F-;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-2JC._-4yr;
    import _-2JC._-47;
    import _-2JC._-2Bw;
    import _-2JC._-4q9;
    import _-2JC._-Fg;
    import _-2JC._-vO;
    import _-2JC._-3JM;
    import _-2JC._-j2;
    import _-4at._-51o;
    import _-4Aj._-0tL;
    import _-2JC._-4mo;
    import _-1Wu.package;
    import _-3ly._-1Wo;
    import _-2JC._-4ni;
    import _-1Wu._-9d;
    import _-1Wu._-0wM;
    import _-1yU._-2HK;
    import _-50-.GameConfigurations;
    import _-1Wu._-0gX;
    import __AS3__.vec.Vector;
    import _-3ly._-3a3;

    public class HabboFriendBarData extends _-Px implements _-0oL 
    {

        private static const _-4Rd:Boolean = false;
        private static const _-144:Boolean = false;
        private static const _-0jF:String = "Navigation";
        private static const _-7F:String = "Friend Bar";
        private static const _-dd:String = "go.friendbar";
        private static const _-8F:String = "chat_btn_click";
        private static const _-3-X:String = "find_friends_btn_click";
        public static const _-Oy:String = "play_snowstorm_tab_click";
        public static const _-4Hd:String = "play_snowstorm_btn_click";
        private static const _-3Hf:String = "Toolbar";
        private static const _-29k:String = "open";
        private static const _-1uO:String = "close";
        private static const _-5f:String = "FRIENDLIST";
        private static const _-0q2:String = "MESSENGER";

        private var _-4Qu:_-4uR;
        private var _-1Uj:_-4BJ;
        private var _-5BL:_-a8;
        private var _-3fb:_-4L8;
        private var _-0OG:_-2VA;
        private var _tracking:_-2UE;
        private var _-US:Array;
        private var _-1E1:Map;
        private var _-2ue:Array;
        private var _-qu:int;
        private var _-4XO:Boolean = false;
        private var _-0qo:Boolean = false;

        public function HabboFriendBarData(_arg1:_-1ih, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-US = new Array();
            this._-1E1 = new Map();
            this._-2ue = new Array();
            queueInterface(new IIDHabboConfigurationManager(), this.onConfigurationAvailable);
            queueInterface(new IIDHabboCommunicationManager(), this._-01z);
            queueInterface(new IIDHabboFriendList(), this._-0Iw);
            queueInterface(new IIDHabboMessenger(), this._-3HW);
            queueInterface(new IIDHabboEventStream(), this._-0Sq);
            queueInterface(new IIDHabboTracking(), this._-4eW);
        }
        override public function dispose():void
        {
            if (!disposed)
            {
                if (this._-4Qu)
                {
                    this._-4Qu.release(new IIDHabboConfigurationManager());
                    this._-4Qu = null;
                };
                if (this._-1Uj)
                {
                    this._-1Uj.release(new IIDHabboCommunicationManager());
                    this._-1Uj = null;
                };
                if (this._-5BL)
                {
                    if (!this._-5BL.disposed)
                    {
                        this._-5BL.events.removeEventListener(_-2Pi._-4C6, this._-0aX);
                        this._-5BL.events.removeEventListener(_-2Pi._-no, this._-0aX);
                    };
                    this._-5BL.release(new IIDHabboFriendList());
                    this._-5BL = null;
                };
                if (this._-3fb)
                {
                    this._-3fb.release(new IIDHabboMessenger());
                    this._-3fb = null;
                };
                if (this._-0OG)
                {
                    this._-0OG.release(new IIDHabboEventStream());
                    this._-0OG = null;
                };
                this._-US = null;
                this._-1E1.dispose();
                this._-1E1 = null;
                this._-2ue = null;
                super.dispose();
            };
        }
        public function get _-qP():int
        {
            return (this._-US.length);
        }
        public function _-2w1(_arg1:int):_-1CF
        {
            return (this._-US[_arg1]);
        }
        public function _-1Cg(_arg1:int):_-1CF
        {
            return (this._-1E1.getValue(_arg1));
        }
        public function _-17H(_arg1:String):_-1CF
        {
            var k:FriendEntity;
            for each (k in this._-US)
            {
                if (k.name == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-0Xm(_arg1:_-1CF, _arg2:int):void
        {
            var k:int = this._-US.indexOf(_arg1);
            if ((((k > -1)) && (!((k == _arg2)))))
            {
                this._-US.splice(k, 1);
                this._-US.splice(_arg2, 0, _arg1);
                events.dispatchEvent(new _-0RA());
            };
        }
        public function get _-11r():int
        {
            return (((this._-2ue) ? this._-2ue.length : 0));
        }
        public function _-48F(_arg1:int):_-0gu
        {
            return (((this._-2ue) ? this._-2ue[_arg1] : null));
        }
        public function _-1tN(_arg1:int):_-0gu
        {
            var k:_-0gu;
            if (this._-2ue)
            {
                for each (k in this._-2ue)
                {
                    if (k.id == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function _-1WB(_arg1:String):_-0gu
        {
            var k:_-0gu;
            if (this._-2ue)
            {
                for each (k in this._-2ue)
                {
                    if (k.name == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function _-2G5():Array
        {
            return (this._-2ue);
        }
        public function acceptFriendRequest(_arg1:int):void
        {
            this._-2qx(_arg1);
            if (this._-5BL)
            {
                if (!this._-5BL.disposed)
                {
                    this._-5BL.acceptFriendRequest(_arg1);
                };
            };
        }
        public function showProfile(_arg1:int):void
        {
            if (this._-1Uj)
            {
                this._-1Uj._-4gR(null).send(new _-RA(_arg1));
            };
        }
        public function acceptAllFriendRequests():void
        {
            this._-2ue = [];
            this._-5BL.acceptAllFriendRequests();
            events.dispatchEvent(new _-0ie());
        }
        public function declineFriendRequest(_arg1:int):void
        {
            this._-2qx(_arg1);
            if (this._-5BL)
            {
                if (!this._-5BL.disposed)
                {
                    this._-5BL.declineFriendRequest(_arg1);
                };
            };
        }
        public function declineAllFriendRequests():void
        {
            this._-2ue = [];
            this._-5BL.declineAllFriendRequests();
            events.dispatchEvent(new _-0ie());
        }
        private function _-2qx(_arg1:int):void
        {
            var k:_-6a;
            if (this._-2ue)
            {
                for each (k in this._-2ue)
                {
                    if (k.id == _arg1)
                    {
                        this._-2ue.splice(this._-2ue.indexOf(k), 1);
                        events.dispatchEvent(new _-0ie());
                        return;
                    };
                };
            };
        }
        public function followToRoom(_arg1:int):void
        {
            if (this._-1Uj)
            {
                this._-1Uj._-4gR(null).send(new _-1Cd(_arg1));
                this._-1Uj._-4gR(null).send(new _-2ka(_-0jF, _-7F, _-dd));
            };
        }
        public function startConversation(_arg1:int):void
        {
            if (this._-3fb)
            {
                this._-3fb.startConversation(_arg1);
                events.dispatchEvent(new _-45I(false, _arg1));
                if (this._-1Uj)
                {
                    this._-1Uj._-4gR(null).send(new _-2ka(_-0jF, _-7F, _-8F));
                };
            };
        }
        public function findNewFriends():void
        {
            if (this._-1Uj)
            {
                this._-1Uj._-4gR(null).send(new _-46j());
                this._-1Uj._-4gR(null).send(new _-2ka(_-0jF, _-7F, _-3-X));
            };
        }
        public function sendGameTabTracking(_arg1:String):void
        {
            this._-1dt(_-Oy, _arg1);
        }
        public function sendGameButtonTracking(_arg1:String):void
        {
            this._-1dt(_-4Hd, _arg1);
        }
        private function _-1dt(_arg1:String, _arg2:String):void
        {
            if (this._-1Uj)
            {
                this._-1Uj._-4gR(null).send(new _-2ka(_-0jF, _-7F, _arg1, _arg2, this._-qP));
            };
        }
        public function _-2e-():void
        {
            var _local1:IWindowContainer;
            if (this._-5BL)
            {
                if (!this._-5BL.disposed)
                {
                    if (!this._-5BL.isOpen())
                    {
                        if (this._-2ue.length > 0)
                        {
                            this._-5BL._-1nl();
                        }
                        else
                        {
                            this._-5BL.openFriendList();
                        };
                    }
                    else
                    {
                        _local1 = this._-5BL.mainWindow;
                        if (((!((_local1 == null))) && (_-F-._-32W(_local1))))
                        {
                            _local1.activate();
                            return;
                        };
                        this._-5BL.close();
                    };
                    if (this._-1Uj)
                    {
                        this._-1Uj._-4gR(null).send(new _-2ka(_-3Hf, _-5f, ((this._-5BL.isOpen()) ? _-29k : _-1uO)));
                    };
                };
            };
        }
        public function _-13o():void
        {
            if (this._-3fb)
            {
                if (!this._-3fb.disposed)
                {
                    this._-3fb._-13o();
                    if (this._-1Uj)
                    {
                        this._-1Uj._-4gR(null).send(new _-2ka(_-3Hf, _-0q2, ((this._-3fb.isOpen()) ? _-29k : _-1uO)));
                    };
                };
            };
        }
        public function _-kR():void
        {
            if (this._-0OG)
            {
                if (!this._-0OG.disposed)
                {
                    this._-0OG.visible = !(this._-0OG.visible);
                };
            };
        }
        public function _-1FU():void
        {
            if (this._-0OG)
            {
                if (!this._-0OG.disposed)
                {
                    this._-0OG._-1ne();
                };
            };
        }
        private function onConfigurationAvailable(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-4Qu = (_arg2 as _-4uR);
            this._-4XO = this._-4Qu.getBoolean("friendbar.notifications.enabled", false);
            this._-0qo = this._-4Qu.getBoolean("friendbar.requests.enabled", false);
        }
        private function _-01z(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-1Uj = (_arg2 as _-4BJ);
            this._-1Uj.addHabboConnectionMessageEvent(new _-4yr(this._-QW));
            this._-1Uj.addHabboConnectionMessageEvent(new _-47(this._-4so));
            this._-1Uj.addHabboConnectionMessageEvent(new _-2Bw(this._-15w));
            this._-1Uj.addHabboConnectionMessageEvent(new _-4q9(this._-3IY));
            this._-1Uj.addHabboConnectionMessageEvent(new _-Fg(this._-07r));
            this._-1Uj.addHabboConnectionMessageEvent(new _-vO(this._-05p));
            this._-1Uj.addHabboConnectionMessageEvent(new _-3JM(this._-LJ));
            this._-1Uj.addHabboConnectionMessageEvent(new _-j2(this._-4-4));
            this._-1Uj.addHabboConnectionMessageEvent(new _-51o(this._-UK));
        }
        private function _-3HW(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-3fb = (_arg2 as _-4L8);
        }
        private function _-0Sq(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-0OG = (_arg2 as _-2VA);
        }
        private function _-4eW(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._tracking = (_arg2 as _-2UE);
        }
        private function _-0Iw(_arg1:_-Wo, _arg2:_-4yI):void
        {
            this._-5BL = (_arg2 as _-a8);
            this._-5BL.events.addEventListener(_-2Pi._-4C6, this._-0aX);
            this._-5BL.events.addEventListener(_-2Pi._-no, this._-0aX);
        }
        private function _-QW(_arg1:_-0tL):void
        {
            this._-1JJ(_-4yr(_arg1)._-3-5().friends);
        }
        private function _-4so(_arg1:_-0tL):void
        {
            var k:FriendEntity;
            var k:_-4mo;
            var k:int;
            var k:package = _-47(_arg1)._-3-5();
            var k:Array = k._-4p5;
            var k:Array = k._-2C1;
            var k:Array = k._-4AX;
            for each (k in k)
            {
                k = this._-1E1.getValue(k);
                if (k)
                {
                    this._-1E1.remove(k);
                    this._-US.splice(this._-US.indexOf(k), 1);
                };
            };
            for each (k in k)
            {
                k = this._-1E1.getValue(k.id);
                if (k)
                {
                    if (((k.online) || (_-4Rd)))
                    {
                        k.name = k.name;
                        k.realName = k.realName;
                        k.motto = k.motto;
                        k.gender = k.gender;
                        k.online = k.online;
                        k.allowFollow = k._-08;
                        k.figure = k.figure;
                        k._-2d- = k._-2d-;
                        k._-vZ = k._-vZ;
                    }
                    else
                    {
                        this._-1E1.remove(k.id);
                        this._-US.splice(this._-US.indexOf(k), 1);
                    };
                }
                else
                {
                    if (((k.online) || (_-4Rd)))
                    {
                        k = new FriendEntity(k.id, k.name, k.realName, k.motto, k.gender, k.online, k._-08, k.figure, k._-2d-, k._-vZ);
                        this._-US.splice(0, 0, k);
                        this._-1E1.add(k.id, k);
                    };
                };
            };
            for each (k in k)
            {
                if (((k.online) || (_-4Rd)))
                {
                    if (this._-1E1.getValue(k.id) == null)
                    {
                        k = new FriendEntity(k.id, k.name, k.realName, k.motto, k.gender, k.online, k._-08, k.figure, k._-2d-, k._-vZ);
                        this._-US.push(k);
                        this._-1E1.add(k.id, k);
                    };
                };
                this._-2qx(k.id);
            };
            if ((((k.length > 0)) || ((k.length > 0))))
            {
                this._-US = ((_-4Rd) ? this._-3RE(this._-US) : this._-421(this._-US));
            };
            events.dispatchEvent(new _-0RA());
        }
        private function _-15w(_arg1:_-2Bw):void
        {
            events.dispatchEvent(new _-1Wo(_arg1.success));
        }
        private function _-3IY(_arg1:_-4q9):void
        {
            var k:_-4ni;
            if (this._-0qo)
            {
                k = _arg1._-3-5().req;
                this._-2ue.push(new _-6a(k._-0nn, k._-0Lf, k._-11I));
                events.dispatchEvent(new _-0ie());
            };
        }
        private function _-07r(_arg1:_-Fg):void
        {
            var k:Array;
            var k:_-4ni;
            if (this._-0qo)
            {
                k = _arg1._-3-5()._-2nf;
                for each (k in k)
                {
                    this._-2ue.push(new _-6a(k._-0nn, k._-0Lf, k._-11I));
                };
                events.dispatchEvent(new _-0ie());
            };
        }
        private function _-0aX(_arg1:_-2Pi):void
        {
            this._-2qx(_arg1._-0nn);
        }
        private function _-05p(_arg1:_-vO):void
        {
            var k:_-9d = _arg1._-3-5();
            this._-qu = k._-2ej;
            var k:Boolean = true;
            if (this._-3fb)
            {
                if (this._-3fb.isOpen())
                {
                    k = false;
                };
            };
            events.dispatchEvent(new _-45I(k, this._-qu));
            if (k)
            {
                this._-1L4(String(this._-qu), _-4f9._-0t5, null, false, false);
            };
        }
        private function _-LJ(_arg1:_-3JM):void
        {
            var k:_-0wM = _arg1._-3-5();
            this._-qu = k._-2ej;
            if (((this._-3fb) && (!(this._-3fb.isOpen()))))
            {
                events.dispatchEvent(new _-45I(true, this._-qu));
                this._-1L4(String(this._-qu), _-4f9._-0t5, null, true, false);
            };
        }
        private function _-UK(_arg1:_-51o):void
        {
            var k:_-2HK = _arg1._-3-5();
            var k:String = GameConfigurations._-3r4(k._-3tJ);
            if (k)
            {
                this._-1L4(String(k._-3Px), _-4f9._-3aU, k, false, true);
            };
        }
        private function _-4-4(_arg1:_-j2):void
        {
            var k:_-0gX = _arg1._-3-5();
            var k = !((k._-3sS == _-4f9._-47T));
            var k = !((k._-3sS == _-4f9._-26c));
            var k = !((k._-3sS == _-4f9._-47T));
            this._-1L4(k._-2hz, k._-3sS, k.message, k, k, k);
        }
        private function _-1L4(_arg1:String, _arg2:int, _arg3:String, _arg4:Boolean, _arg5:Boolean, _arg6:Boolean=true):void
        {
            var k:_-1CF;
            var k:_-4f9;
            var k:Vector.<_-1D2>;
            if (this._-4XO)
            {
                k = this._-1Cg(parseInt(_arg1));
                if (k)
                {
                    k = k.notifications;
                    for each (k in k)
                    {
                        if (k._-3sS == _arg2)
                        {
                            k.message = _arg3;
                            k._-0wQ = _arg4;
                            break;
                        };
                        k = null;
                    };
                    if (!k)
                    {
                        k = new _-4f9(_arg2, _arg3, _arg4);
                        k.push(k);
                    }
                    else
                    {
                        if (!_arg6)
                        {
                            return;
                        };
                    };
                    events.dispatchEvent(new _-3a3(k.id, k));
                    if (_arg5)
                    {
                        this._-0Xm(k, 0);
                    };
                    if (k.logEventId < 0)
                    {
                        k.logEventId = k._-LM();
                    };
                    if (this._tracking)
                    {
                        this._tracking.trackEventLog("FriendBar", _-4f9._-1Se(_arg2), "notified", "", (((k.logEventId > 0)) ? k.logEventId : 0));
                    };
                };
            };
        }
        private function _-1JJ(_arg1:Array):void
        {
            var k:_-4mo;
            var k:FriendEntity;
            for each (k in _arg1)
            {
                if (((k.online) || (_-4Rd)))
                {
                    k = new FriendEntity(k.id, k.name, k.realName, k.motto, k.gender, k.online, k._-08, k.figure, k._-2d-, k._-vZ);
                    this._-US.push(k);
                    this._-1E1.add(k.id, k);
                };
            };
            this._-US = ((_-4Rd) ? this._-3RE(this._-US) : this._-421(this._-US));
            events.dispatchEvent(new _-0RA());
        }
        private function _-421(_arg1:Array):Array
        {
            if (_-144)
            {
                _arg1.sortOn("name", [Array.CASEINSENSITIVE]);
            };
            return (_arg1);
        }
        private function _-3RE(_arg1:Array):Array
        {
            var k:FriendEntity;
            var k:Array = [];
            var k:Array = [];
            var k:int = _arg1.length;
            while (k-- > 0)
            {
                k = _arg1[k];
                if (k.online)
                {
                    k.push(k);
                }
                else
                {
                    k.push(k);
                };
            };
            if (_-144)
            {
                k.sortOn("name", [Array.CASEINSENSITIVE]);
                k.sortOn("name", [(Array.CASEINSENSITIVE | Array.DESCENDING)]);
            };
            k = k.length;
            while (k-- > 0)
            {
                k.push(k.pop());
            };
            return (k);
        }

    }
}//package _-4yS

//------------------------------------------------------------
//_-4Z3._-1t7

package _-4Z3
{
    import _-18r.Map;

    public class _-1t7 
    {

        private var _-0qE:Map = null;
        private var _-1yN:String = "";

        public function _-1t7(_arg1:String)
        {
            this._-1yN = _arg1;
            this._-0qE = new Map();
        }
        public function dispose():void
        {
            var k:int;
            var k:_-3jh;
            if (this._-0qE != null)
            {
                k = 0;
                while (k < this._-0qE.length)
                {
                    k = (this._-0qE.getWithIndex(k) as _-3jh);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-0qE.dispose();
                this._-0qE = null;
            };
        }
        public function _-1yn(_arg1:String):_-3jh
        {
            var k:_-3jh = (this._-0qE.getValue(_arg1) as _-3jh);
            if (k == null)
            {
                k = new _-3jh(this._-1yN);
                this._-0qE.add(_arg1, k);
            };
            return (k);
        }
        public function _-51s(_arg1:String):void
        {
            var k:_-3jh = (this._-0qE.remove(_arg1) as _-3jh);
            if (k != null)
            {
                k.dispose();
            };
        }

    }
}//package _-4Z3

//------------------------------------------------------------
//_-4Z3._-236

package _-4Z3
{
    import  case._-2tl;

    public class _-236 
    {

        private var _-04k:_-2tl = null;
        private var _name:String = "";
        private var _-10o:int = 0;

        public function _-236(_arg1:_-2tl, _arg2:String)
        {
            this._-04k = _arg1;
            this._name = _arg2;
            if (_arg1 != null)
            {
                _arg1._-4EN();
                this._-10o = ((this._-04k.width * this._-04k.height) * 4);
            };
        }
        public function get bitmapData():_-2tl
        {
            return (this._-04k);
        }
        public function get _-1hr():int
        {
            return (this._-10o);
        }
        public function get useCount():int
        {
            if (this._-04k == null)
            {
                return (0);
            };
            return (this._-04k._-44Q);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set bitmapData(_arg1:_-2tl):void
        {
            if (this._-04k != null)
            {
                this._-04k.dispose();
            };
            this._-04k = _arg1;
            if (this._-04k != null)
            {
                this._-04k._-4EN();
                this._-10o = ((this._-04k.width * this._-04k.height) * 4);
            }
            else
            {
                this._-10o = 0;
            };
        }
        public function dispose():void
        {
            if (this._-04k != null)
            {
                this._-04k.dispose();
                this._-04k = null;
            };
            this._-10o = 0;
        }

    }
}//package _-4Z3

//------------------------------------------------------------
//_-4Z3._-3-D

package _-4Z3
{
    import _-0y0._-Xl;
    import _-0y0._-06R;
    import _-3V-._-3SU;
    import _-0y0._-3q6;

    public class _-3-D 
    {

        private var _-1yN:String = "";
        private var _-0h1:int = -1;
        private var _-07W:int = -1;
        private var _-1L:_-Xl;
        private var _-2gN:_-Xl = null;
        private var _-4fp:Boolean = false;

        public function _-3-D(_arg1:String)
        {
            this._-1L = new _-Xl();
            super();
            this._-1yN = _arg1;
            this._-2gN = new _-Xl();
        }
        public function get _-4nk():Boolean
        {
            return (this._-4fp);
        }
        public function dispose():void
        {
            this._-2gN = null;
        }
        public function _-0zN(_arg1:_-3SU, _arg2:_-3q6):_-06R
        {
            var k:_-06R;
            var k:Number;
            var k:_-Xl;
            var k:_-06R;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return (null);
            };
            var k:Boolean;
            var k:_-06R = _arg1.getLocation();
            if (((!((_arg2._-3KH == this._-0h1))) || (!((_arg1._-1Pk() == this._-07W)))))
            {
                this._-07W = _arg1._-1Pk();
                if (((((((!((_arg2._-3KH == this._-0h1))) || (!((k.x == this._-1L.x))))) || (!((k.y == this._-1L.y))))) || (!((k.z == this._-1L.z)))))
                {
                    this._-0h1 = _arg2._-3KH;
                    this._-1L._-3jn(k);
                    k = true;
                };
            };
            this._-4fp = k;
            if (k)
            {
                k = _arg2._-58F(k);
                if (k == null)
                {
                    return (null);
                };
                k = _arg1.getModel().getNumber(this._-1yN);
                if (((isNaN(k)) || ((k == 0))))
                {
                    k = new _-Xl(Math.round(k.x), Math.round(k.y), k.z);
                    if (((!((k.x == k.x))) || (!((k.y == k.y)))))
                    {
                        k = _arg2._-58F(k);
                        this._-2gN._-3jn(k);
                        if (k != null)
                        {
                            this._-2gN.z = k.z;
                        };
                    }
                    else
                    {
                        this._-2gN._-3jn(k);
                    };
                }
                else
                {
                    this._-2gN._-3jn(k);
                };
                this._-2gN.x = Math.round(this._-2gN.x);
                this._-2gN.y = Math.round(this._-2gN.y);
            };
            return (this._-2gN);
        }

    }
}//package _-4Z3

//------------------------------------------------------------
//_-4Z3._-3jh

package _-4Z3
{
    public class _-3jh 
    {

        private var _location:_-3-D = null;
        private var _-eH:RoomObjectSortableSpriteCacheItem = null;

        public function _-3jh(_arg1:String)
        {
            this._location = new _-3-D(_arg1);
            this._-eH = new RoomObjectSortableSpriteCacheItem();
        }
        public function get location():_-3-D
        {
            return (this._location);
        }
        public function get _-2iQ():RoomObjectSortableSpriteCacheItem
        {
            return (this._-eH);
        }
        public function dispose():void
        {
            if (this._location != null)
            {
                this._location.dispose();
                this._location = null;
            };
            if (this._-eH != null)
            {
                this._-eH.dispose();
                this._-eH = null;
            };
        }

    }
}//package _-4Z3

//------------------------------------------------------------
//_-4Z3.BitmapDataCache

package _-4Z3
{
    import _-18r.Map;
    import  case._-2tl;
    import flash.display.BitmapData;

    public class BitmapDataCache 
    {

        private var _-50g:Map;
        private var _-10o:int = 0;
        private var _-Vs:int = 0;
        private var _-OJ:int = 0;
        private var _-4Ww:int = 0;

        public function BitmapDataCache(_arg1:int, _arg2:int, _arg3:int=1)
        {
            this._-50g = new Map();
            this._-Vs = ((_arg1 * 0x0400) * 0x0400);
            this._-OJ = ((_arg2 * 0x0400) * 0x0400);
            this._-4Ww = ((_arg3 * 0x0400) * 0x0400);
            if (this._-4Ww < 0)
            {
                this._-4Ww = 0;
            };
        }
        public function get _-1hr():int
        {
            return (this._-10o);
        }
        public function get _-2dy():int
        {
            return (this._-Vs);
        }
        public function dispose():void
        {
            var k:Array;
            var k:String;
            if (this._-50g != null)
            {
                k = this._-50g._-18C();
                for each (k in k)
                {
                    if (!this._-1UX(k))
                    {
                        _-Nb.log((("Failed to remove item " + k) + " from room canvas bitmap cache!"));
                    };
                };
                this._-50g.dispose();
                this._-50g = null;
            };
        }
        public function compress():void
        {
            var k:Array;
            var k:_-236;
            var k:int;
            if (this._-1hr > this._-2dy)
            {
                k = this._-50g._-0hn();
                k.sortOn("useCount", (Array.DESCENDING | Array.NUMERIC));
                k = (k.length - 1);
                while (k >= 0)
                {
                    k = (k[k] as _-236);
                    if (k.useCount <= 1)
                    {
                        this._-1UX(k.name);
                    }
                    else
                    {
                        break;
                    };
                    k--;
                };
                this._-0zy();
            };
        }
        private function _-0zy():void
        {
            this._-Vs = (this._-Vs + this._-4Ww);
            if (this._-Vs > this._-OJ)
            {
                this._-Vs = this._-OJ;
            };
        }
        private function _-1UX(_arg1:String):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:_-236 = (this._-50g.getValue(_arg1) as _-236);
            if (k != null)
            {
                if (k.useCount <= 1)
                {
                    this._-50g.remove(k.name);
                    this._-10o = (this._-10o - k._-1hr);
                    k.dispose();
                    return (true);
                };
                return (false);
            };
            return (false);
        }
        public function _-xX(_arg1:String):_-2tl
        {
            var k:_-236 = (this._-50g.getValue(_arg1) as _-236);
            if (k == null)
            {
                return (null);
            };
            return (k.bitmapData);
        }
        public function _-2Jb(_arg1:String, _arg2:_-2tl):void
        {
            var k:BitmapData;
            if (_arg2 == null)
            {
                return;
            };
            var k:_-236 = (this._-50g.getValue(_arg1) as _-236);
            if (k != null)
            {
                k = k.bitmapData;
                if (k != null)
                {
                    this._-10o = (this._-10o - ((k.width * k.height) * 4));
                };
                k.bitmapData = _arg2;
            }
            else
            {
                k = new _-236(_arg2, _arg1);
                this._-50g.add(_arg1, k);
            };
            this._-10o = (this._-10o + ((_arg2.width * _arg2.height) * 4));
        }

    }
}//package _-4Z3

//------------------------------------------------------------
//_-4Z3.RoomObjectSortableSpriteCacheItem

package _-4Z3
{
    import  case._-1XM;

    public class RoomObjectSortableSpriteCacheItem 
    {

        private var _-eH:Array;
        private var _updateId1:int = -1;
        private var _updateId2:int = -1;
        private var _-15m:Boolean = false;

        public function RoomObjectSortableSpriteCacheItem()
        {
            this._-eH = [];
            super();
        }
        public function get _-18O():int
        {
            return (this._-eH.length);
        }
        public function get isEmpty():Boolean
        {
            return (this._-15m);
        }
        public function dispose():void
        {
            this._-1sa(0);
        }
        public function _-0iu(_arg1:_-1XM):void
        {
            this._-eH.push(_arg1);
        }
        public function _-2IM(_arg1:int):_-1XM
        {
            return (this._-eH[_arg1]);
        }
        public function _-2G9(_arg1:int, _arg2:int):Boolean
        {
            if (((!((_arg1 == this._updateId1))) || (!((_arg2 == this._updateId2)))))
            {
                this._updateId1 = _arg1;
                this._updateId2 = _arg2;
                return (true);
            };
            return (false);
        }
        public function _-1sa(_arg1:int):void
        {
            var k:int;
            var k:_-1XM;
            if (_arg1 < this._-eH.length)
            {
                k = _arg1;
                while (k < this._-eH.length)
                {
                    k = this._-eH[k];
                    if (k)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-eH.splice(_arg1, (this._-eH.length - _arg1));
            };
            if (this._-eH.length == 0)
            {
                this._-15m = true;
            }
            else
            {
                this._-15m = false;
            };
        }

    }
}//package _-4Z3

//------------------------------------------------------------
//_-4zR._-18t

package _-4zR
{
    import _-4Aj._-7V;
    import _-8p._-2Rv;
    import _-4Aj.*;

    public class _-18t extends _-7V implements _-0tL 
    {

        public function _-18t(_arg1:Function)
        {
            super(_arg1, _-2Rv);
        }
        public function _-3-5():_-2Rv
        {
            return ((_-515 as _-2Rv));
        }

    }
}//package _-4zR

//------------------------------------------------------------
//_-4zR._-1b-

package _-4zR
{
    import _-4Aj._-7V;
    import _-8p._-H3;
    import _-4Aj.*;

    public class _-1b- extends _-7V implements _-0tL 
    {

        public function _-1b-(_arg1:Function)
        {
            super(_arg1, _-H3);
        }
        public function _-3-5():_-H3
        {
            return ((_-515 as _-H3));
        }

    }
}//package _-4zR

//------------------------------------------------------------
//_-4zR._-2y9

package _-4zR
{
    import _-4Aj._-7V;
    import _-8p._-1yH;
    import _-4Aj.*;

    public class _-2y9 extends _-7V implements _-0tL 
    {

        public function _-2y9(_arg1:Function)
        {
            super(_arg1, _-1yH);
        }
        public function _-3-5():_-1yH
        {
            return ((_-515 as _-1yH));
        }

    }
}//package _-4zR

//------------------------------------------------------------
//_-4zR._-33r

package _-4zR
{
    import _-4Aj._-7V;
    import _-8p._-1OS;
    import _-4Aj.*;

    public class _-33r extends _-7V implements _-0tL 
    {

        public function _-33r(_arg1:Function)
        {
            super(_arg1, _-1OS);
        }
        public function _-3-5():_-1OS
        {
            return ((_-515 as _-1OS));
        }

    }
}//package _-4zR

//------------------------------------------------------------
//_-4zR._-4dE

package _-4zR
{
    import _-4Aj._-7V;
    import _-8p._-ei;
    import _-4Aj.*;

    public class _-4dE extends _-7V implements _-0tL 
    {

        public function _-4dE(_arg1:Function)
        {
            super(_arg1, _-ei);
        }
        public function _-3-5():_-ei
        {
            return ((_-515 as _-ei));
        }

    }
}//package _-4zR

//------------------------------------------------------------
//_-4zR._-4uj

package _-4zR
{
    import _-4Aj._-7V;
    import _-8p._-10W;
    import _-4Aj.*;

    public class _-4uj extends _-7V implements _-0tL 
    {

        public function _-4uj(_arg1:Function)
        {
            super(_arg1, _-10W);
        }
        public function _-3-5():_-10W
        {
            return ((_-515 as _-10W));
        }

    }
}//package _-4zR

//------------------------------------------------------------
//_-4ZW._-0j1

package _-4ZW
{
    import _-4Vx.HumanGameObject;
    import _-2b4.SnowWarEngine;
    import _-mv._-2TN;
    import _-48o.SynchronizedGameStage;

    public class _-0j1 extends _-x8 
    {

        private var _-zw:HumanGameObject;
        private var _-54u:HumanGameObject;
        private var _-W3:int;

        public function _-0j1(_arg1:HumanGameObject, _arg2:HumanGameObject, _arg3:int)
        {
            this._-zw = _arg1;
            this._-54u = _arg2;
            this._-W3 = _arg3;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-zw = null;
            this._-54u = null;
            this._-W3 = 0;
        }
        override public function apply(_arg1:SynchronizedGameStage):void
        {
            this._-2AX._-1Xm(this._-54u._-2Cq.x, this._-54u._-2Cq.y);
            this._-2AX._-ma();
            SnowWarEngine._-lx(_-2TN._-0KA);
        }
        public function get _-2AX():HumanGameObject
        {
            return (this._-zw);
        }
        public function get _-43G():HumanGameObject
        {
            return (this._-54u);
        }
        public function get _-0Q5():int
        {
            return (this._-W3);
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-4ZW._-0kN

package _-4ZW
{
    import _-4Vx.HumanGameObject;
    import _-48o.SynchronizedGameStage;

    public class _-0kN extends _-x8 
    {

        private var _-21l:HumanGameObject;
        private var _-2dX:int;
        private var _-4TA:int;

        public function _-0kN(_arg1:HumanGameObject, _arg2:int, _arg3:int)
        {
            this._-21l = _arg1;
            this._-2dX = _arg2;
            this._-4TA = _arg3;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-21l = null;
        }
        override public function apply(_arg1:SynchronizedGameStage):void
        {
            this._-21l._-1LC(this._-2dX, this._-4TA);
        }
        public function get _-0ae():HumanGameObject
        {
            return (this._-21l);
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-4ZW._-1c5

package _-4ZW
{
    import _-4Vx.HumanGameObject;
    import _-2b4.SnowWarEngine;
    import _-mv._-2TN;
    import _-48o.SynchronizedGameStage;

    public class _-1c5 extends _-x8 
    {

        private var _-zw:HumanGameObject;
        private var _-3ev:int;
        private var _-0ev:int;
        private var _-W3:int;

        public function _-1c5(_arg1:HumanGameObject, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-zw = _arg1;
            this._-3ev = _arg2;
            this._-0ev = _arg3;
            this._-W3 = _arg4;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-zw = null;
        }
        override public function apply(_arg1:SynchronizedGameStage):void
        {
            this._-2AX._-1Xm(this.targetX, this._-1uD);
            this._-2AX._-ma();
            SnowWarEngine._-lx(_-2TN._-0KA);
        }
        public function get _-2AX():HumanGameObject
        {
            return (this._-zw);
        }
        public function get targetX():int
        {
            return (this._-3ev);
        }
        public function get _-1uD():int
        {
            return (this._-0ev);
        }
        public function get _-0Q5():int
        {
            return (this._-W3);
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-4ZW._-24L

package _-4ZW
{
    import _-4Vx.HumanGameObject;
    import _-48o.SynchronizedGameStage;

    public class _-24L extends _-x8 
    {

        private var _-zw:HumanGameObject;

        public function _-24L(_arg1:HumanGameObject)
        {
            this._-zw = _arg1;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-zw = null;
        }
        override public function apply(_arg1:SynchronizedGameStage):void
        {
            _arg1._-2cN(this._-zw);
            this._-zw.onRemove();
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-4ZW._-2RO

package _-4ZW
{
    import _-4Vx._-EN;
    import _-4Vx.HumanGameObject;
    import _-48o.SynchronizedGameStage;

    public class _-2RO extends _-x8 
    {

        private var _-w0:_-EN;
        private var _-zw:HumanGameObject;
        private var _-3ev:int;
        private var _-0ev:int;
        private var _-W3:int;

        public function _-2RO(_arg1:int, _arg2:HumanGameObject, _arg3:int, _arg4:int, _arg5:int)
        {
            this._-w0 = new _-EN(_arg1);
            this._-zw = _arg2;
            this._-3ev = _arg3;
            this._-0ev = _arg4;
            this._-W3 = _arg5;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-w0 = null;
            this._-zw = null;
        }
        public function set _-2TA(_arg1:_-EN):void
        {
            this._-w0 = _arg1;
        }
        override public function apply(_arg1:SynchronizedGameStage):void
        {
            _arg1._-2rr(this._-w0._-4b, this._-w0);
            this._-w0._-3Cm = true;
            var k:int = this._-zw._-2Cq.x;
            var k:int = this._-zw._-2Cq.y;
            var k:int = _-EN._-0mw;
            this._-w0.initialize(k, k, k, this._-W3, this._-3ev, this._-0ev, this._-zw);
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-4ZW._-2Vj

package _-4ZW
{
    import _-4Vx.HumanGameObject;
    import _-48o.SynchronizedGameStage;

    public class _-2Vj extends _-x8 
    {

        private var _-zw:HumanGameObject;

        public function _-2Vj(_arg1:HumanGameObject)
        {
            this._-zw = _arg1;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-zw = null;
        }
        override public function apply(_arg1:SynchronizedGameStage):void
        {
            this._-zw._-Z1();
        }
        public function get _-2AX():HumanGameObject
        {
            return (this._-zw);
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-4ZW._-33Z

package _-4ZW
{
    import _-4Vx._-2iW;
    import _-48o.SynchronizedGameStage;

    public class _-33Z extends _-x8 
    {

        private var _-4ht:_-2iW;

        public function _-33Z(_arg1:_-2iW)
        {
            this._-4ht = _arg1;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-4ht = null;
        }
        override public function apply(_arg1:SynchronizedGameStage):void
        {
            if (this._-4ht)
            {
                this._-4ht._-2UI();
            }
            else
            {
                HabboGamesCom.log("Too early for this stuff..");
            };
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-4ZW._-37x

package _-4ZW
{
    import _-4Vx.HumanGameObject;
    import _-4Vx._-VS;
    import _-2b4.SnowWarEngine;
    import _-mv._-2TN;
    import _-48o.SynchronizedGameStage;

    public class _-37x extends _-x8 
    {

        private var _-zw:HumanGameObject;
        private var _-4ht:_-VS;

        public function _-37x(_arg1:HumanGameObject, _arg2:_-VS)
        {
            this._-zw = _arg1;
            this._-4ht = _arg2;
        }
        override public function dispose():void
        {
            super.dispose();
            this._-zw = null;
            this._-4ht = null;
        }
        override public function apply(_arg1:SynchronizedGameStage):void
        {
            var k:int;
            var k:HumanGameObject;
            var k:int = this._-zw._-1AQ();
            if (k > 0)
            {
                k = this._-4ht._-4uk(1);
                if (k > 0)
                {
                    this._-zw.throw(k);
                    k = (_arg1._-4eu(this._-zw._-C6) as HumanGameObject);
                    if (k)
                    {
                        k.throw(k);
                    };
                    SnowWarEngine._-lx(_-2TN._-0mY);
                };
            };
        }
        public function get _-2AX():HumanGameObject
        {
            return (this._-zw);
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-4ZW._-x8

package _-4ZW
{
    import _-48o.SynchronizedGameStage;
    import _-48o.*;

    public class _-x8 implements _-2io 
    {

        private var _-4Bk:Boolean = false;

        public function apply(_arg1:SynchronizedGameStage):void
        {
        }
        public function dispose():void
        {
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }

    }
}//package _-4ZW

//------------------------------------------------------------
//_-50-._-1WG

package _-50-
{
    public class _-1WG 
    {

        private var _-2zr:int;
        private var _-1JK:String;
        private var _-3RZ:uint;
        private var _-1Ug:uint;
        private var _-1f2:String;

        public function _-1WG(_arg1:int, _arg2:String, _arg3:uint, _arg4:uint, _arg5:String)
        {
            this._-2zr = _arg1;
            this._-1JK = _arg2;
            this._-3RZ = _arg3;
            this._-1Ug = _arg4;
            this._-1f2 = _arg5;
        }
        public function get _-4IC():int
        {
            return (this._-2zr);
        }
        public function get _-4HT():String
        {
            return (this._-1JK);
        }
        public function get bgColor():uint
        {
            return (this._-3RZ);
        }
        public function get textColor():uint
        {
            return (this._-1Ug);
        }
        public function get _-2BT():String
        {
            return (this._-1f2);
        }

    }
}//package _-50-

//------------------------------------------------------------
//_-50-._-4Fl

package _-50-
{
    import flash.display.BitmapData;

    public interface _-4Fl 
    {

        function _-3lS(_arg1:String):void;
        function _-4ZP(_arg1:BitmapData):void;
        function _-1rg(_arg1:int):void;
        function _-0av():int;
        function _-3f0(_arg1:Boolean):void;

    }
}//package _-50-

//------------------------------------------------------------
//_-50-._-4mI

package _-50-
{
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-1ae._-4mB;
    import _-1ae._-0C5;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import _-0Ie.WindowMouseEvent;
    import _-0GO._-44Y;
    import _-295._-2kE;
    import _-295._-243;
    import _-1B-.*;

    public class _-4mI implements _-1zZ 
    {

        private static const _-1gu:int = 500;
        private static const _-3Ej:String = "game_center_waiting_game_view_xml";

        private var _disposed:Boolean;
        private var _-3E3:GameCenterView;
        private var _-1j8:_-0xN;
        private var _-12B:IWindowContainer;
        private var _-0MJ:_-4mB;
        private var _-3iA:_-0C5;
        private var _-0FL:int;
        private var _-4KC:Timer;
        private var _-0pE:int = 0;

        public function _-4mI(_arg1:GameCenterView)
        {
            this._-3E3 = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._-1j8)
            {
                this._-1j8.dispose();
                this._-1j8 = null;
            };
            if (this._-4KC)
            {
                this._-4KC.removeEventListener(TimerEvent.TIMER, this._-40g);
                this._-4KC.stop();
                this._-4KC = null;
            };
            if (this._-3iA)
            {
                this._-3iA.removeEventListener(WindowMouseEvent._-90, this._-50H);
            };
            this._-3iA = null;
            this._-0MJ = null;
            this._-3E3 = null;
            this._disposed = true;
            this._-0pE = 0;
        }
        public function activate(_arg1:int):void
        {
            this._-0pE = 0;
            this._-0FL = _arg1;
            if (!this._-1j8)
            {
                this.createWindow();
            };
            this._-12B.invalidate();
            this._-12B.visible = true;
            this._-2EH();
            this._-3E3._-1Bs(GameConfigurations._-3r4(this._-0FL), "waitingGame");
            if (!this._-4KC)
            {
                this._-4KC = new Timer(_-1gu);
                this._-4KC.addEventListener(TimerEvent.TIMER, this._-40g);
            };
            this._-4KC.start();
        }
        private function _-2EH():void
        {
            this._-0MJ.assetUri = null;
            this._-0MJ.assetUri = GameConfigurations._-3DD(this._-0FL, _-44Y._-3J3);
        }
        private function _-40g(_arg1:TimerEvent):void
        {
            if (!this._-12B)
            {
                return;
            };
            var k:String = " ";
            var k:int;
            while (k < (this._-0pE % 4))
            {
                k = (k + ".");
                k++;
            };
            this._-12B.caption = (this._-3E3.localization.getKey("gamecenter.waiting_game_title") + k);
            this._-0pE++;
        }
        public function disable():void
        {
            if (!this._-1j8)
            {
                return;
            };
            this._-1j8.dispose();
            this._-1j8 = null;
            this._-12B = null;
            if (this._-4KC)
            {
                this._-4KC.stop();
            };
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this._-50H(_arg1);
        }
        private function _-50H(_arg1:WindowMouseEvent):void
        {
            this._-3E3._-43D(this._-0FL);
            this.disable();
            this._-3E3.activate(this._-0FL);
            this._-3E3._-1Bs(GameConfigurations._-3r4(this._-0FL), "waitingGameCancel");
        }
        private function createWindow():void
        {
            var k:_-2kE = this._-3E3.assets.getAssetByName(_-3Ej);
            var k:_-243 = _-243(k);
            this._-1j8 = this._-3E3.windowManager.buildModalDialogFromXML(XML(k.content));
            this._-12B = (this._-1j8._-5Ec as IWindowContainer);
            this._-12B.findChildByTag("close").addEventListener(WindowMouseEvent._-90, this._-4F9);
            this._-3iA = (this._-12B.findChildByName("cancel_link") as _-0C5);
            this._-3iA.addEventListener(WindowMouseEvent._-90, this._-50H);
            this._-0MJ = (this._-12B.findChildByName("logo_image") as _-4mB);
        }

    }
}//package _-50-

//------------------------------------------------------------
//_-50-._-4xZ

package _-50-
{
    import flash.events.Event;

    public class _-4xZ extends Event 
    {

        public static const GAME_CONFIGURATIONS_INITIALIZED:String = "GAME_CONFIGURATIONS_INITIALIZED";

        public function _-4xZ(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-50-

//------------------------------------------------------------
//_-50-.GameCenterLayout

package _-50-
{
    import flash.geom.Rectangle;
    import _-Ew.IWindowContainer;
    import _-1ae._-1hm;
    import _-1ae.IScrollbarWindow;
    import _-1ae.IItemListWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae._-4mB;
    import _-1ae.ITextWindow;
    import _-4WI.HabboUnseenItemsUpdatedEvent;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowMouseEvent;
    import _-4at._-31N;
    import _-52-._-29I;
    import _-52-.Game2WeeklyLeaderboardEvent;
    import _-52-._-3iX;
    import _-4s1.Game2AccountGameStatusMessageEvent;
    import _-4at._-4YS;
    import _-3cY._-2Jr;
    import _-1ae.IRegionWindow;
    import _-0GO._-44Y;
    import _-Ew.IWindow;
    import _-3EM._-31r;
    import _-0GO._-3lN;
    import _-4Q0.null;
    import _-31v._-4y1;
    import _-31v.Game2GetWeeklyLeaderboardComposer;
    import _-4Q0._-4zH;
    import _-uw.Game2GetAccountGameStatusMessageComposer;
    import _-31v._-019;
    import flash.display.BitmapData;
    import _-295._-2kE;
    import _-69._-mL;
    import _-0Ix._-aY;
    import _-1yU._-4Mn;
    import _-0W2.WindowUtils;
    import _-1ae._-3Yi;
    import _-4Aj._-0tL;
    import _-53E._-2mg;
    import _-53E.Game2LeaderboardParser;
    import _-53E.Game2WeeklyLeaderboardParser;
    import _-53E._-06l;
    import _-53E._-1qa;
    import _-0Ix._-3La;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-0Ix._-2Zl;
    import _-3X8._-0hg;
    import _-36E.Game2AccountGameStatusMessageParser;
    import _-2vN._-0QE;
    import _-1yU._-534;
    import _-4Kb.*;
    import _-1B-.*;

    public class GameCenterLayout implements _-1zZ, _-3QA, _-4Fl 
    {

        private static const _-3Ej:String = "game_center_view_generic_xml";
        private static const _-58S:Rectangle = new Rectangle(0, 0, 0, 0);
        private static const _-0hG:int = 0;

        private var _-0FL:int = -1;
        private var _-2Za:int = 0;
        private var _-0xI:Boolean = true;
        private var _disposed:Boolean = false;
        private var _-3E3:GameCenterView;
        private var _-47j:IWindowContainer;
        private var extends:IWindowContainer;
        private var _-1a1:_-1hm;
        private var _-1T5:IWindowContainer;
        private var _-30h:IScrollbarWindow;
        private var _-4vV:IItemListWindow;
        private var _-jI:IWindowContainer;
        private var _-1Hx:IBitmapWrapperWindow;
        private var _-3d7:_-4mB;
        private var _-0MJ:_-4mB;
        private var _-3dT:IItemListWindow;
        private var _-1yA:IItemListWindow;
        private var _-0ZQ:IItemListWindow;
        private var _-0GQ:IWindowContainer;
        private var _-4n2:IWindowContainer;
        private var _-2Mg:IWindowContainer;
        private var _-0-e:ITextWindow;
        private var _-2cA:IWindowContainer;
        private var _-1VJ:IWindowContainer;

        public function GameCenterLayout(_arg1:GameCenterView)
        {
            this._-3E3 = _arg1;
            this._-3E3._-eP.inventory.events.addEventListener(HabboUnseenItemsUpdatedEvent._-2bC, this._-3-M);
            this._-3E3._-eP.events.addEventListener(_-4xZ.GAME_CONFIGURATIONS_INITIALIZED, this._-1KJ);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this.disposed)
            {
                if (this._-3dT)
                {
                    this._-3dT.dispose();
                    this._-3dT = null;
                };
                if (this._-1yA)
                {
                    this._-1yA.dispose();
                    this._-1yA = null;
                };
                if (this._-0ZQ)
                {
                    this._-0ZQ.dispose();
                    this._-0ZQ = null;
                };
                if (this._-0GQ)
                {
                    this._-0GQ.dispose();
                    this._-0GQ = null;
                };
                if (this._-1Hx)
                {
                    this._-1Hx.dispose();
                    this._-1Hx = null;
                };
                if (this.extends)
                {
                    this.extends.dispose();
                    this.extends = null;
                };
                if (this._-47j)
                {
                    this._-47j.dispose();
                    this._-47j = null;
                };
                if (((this._-3E3.windowManager) && (!(this._-3E3.windowManager.disposed))))
                {
                    this._-3E3.windowManager.getWindowContext(_-0hG).getDesktopWindow().removeEventListener(WindowEvent._-3K0, this._-0QH);
                };
                if (this._-3E3._-eP.inventory.events)
                {
                    this._-3E3._-eP.inventory.events.removeEventListener(HabboUnseenItemsUpdatedEvent._-2bC, this._-3-M);
                };
                this._-4n2.removeEventListener(WindowMouseEvent._-90, this._-3oh);
                this._-2Mg.removeEventListener(WindowMouseEvent._-90, this._-3oh);
                if (this._-4n2)
                {
                    this._-4n2.dispose();
                    this._-4n2 = null;
                };
                if (this._-2Mg)
                {
                    this._-2Mg.dispose();
                    this._-2Mg = null;
                };
                this._-0-e = null;
                this._-47j.findChildByName("leaderboard_link").removeEventListener(WindowMouseEvent._-90, this._-m);
                this._-47j.findChildByName("teaser_link").removeEventListener(WindowMouseEvent._-90, this._-4-S);
                this._-3d7 = null;
                this._-0MJ = null;
                this._-4vV = null;
                this._-jI = null;
                this._-1T5 = null;
                this._-1a1 = null;
                this._-47j = null;
                this._-3E3 = null;
                this._-30h = null;
                this._disposed = true;
            };
        }
        private function createWindow():void
        {
            var k:IWindowContainer;
            if (!this._-47j)
            {
                this._-47j = (this._-3E3.windowManager.buildFromXML((this._-3E3.assets.getAssetByName(_-3Ej).content as XML), _-0hG) as IWindowContainer);
                this.extends = (this._-47j.findChildByName("game_center_container") as IWindowContainer);
                this._-1a1 = (this._-47j.findChildByName("game_content_container") as _-1hm);
                this._-1T5 = (this._-1a1.getListItemByName("game_content") as IWindowContainer);
                this._-3d7 = (this._-47j.findChildByName("theme_image") as _-4mB);
                this._-0MJ = (this._-47j.findChildByName("logo_image") as _-4mB);
                this._-4n2 = (this._-47j.findChildByName("playnow_limited_button") as IWindowContainer);
                this._-2Mg = (this._-47j.findChildByName("playnow_unlimited_button") as IWindowContainer);
                this._-0-e = (this._-47j.findChildByName("game_offline_description") as ITextWindow);
                this._-4n2.addEventListener(WindowMouseEvent._-90, this._-3oh);
                this._-2Mg.addEventListener(WindowMouseEvent._-90, this._-3oh);
                this._-4vV = (this._-47j.findChildByName("game_icon_list") as IItemListWindow);
                this._-jI = (this._-4vV.getListItemAt(0) as IWindowContainer);
                this._-4vV._-3yK(0);
                this._-1Hx = (this._-jI.findChildByName("selected_icon") as IBitmapWrapperWindow);
                this._-jI.removeChild(this._-1Hx);
                this._-30h = (this._-47j.findChildByName("game_icon_list_scroll") as IScrollbarWindow);
                this._-2Jt();
                this._-qb(this._-1Hx, this._-5Es("game_center_icon_selected"));
                this._-qb((this._-47j.findChildByName("habbo_players_image") as IBitmapWrapperWindow), this._-5Es("game_center_habbo_players"));
                this._-qb((this._-47j.findChildByName("previous_winner_star") as IBitmapWrapperWindow), this._-5Es("game_center_reward_star"));
                this._-3E3.windowManager.getWindowContext(_-0hG).getDesktopWindow().addEventListener(WindowEvent._-3K0, this._-0QH);
                this._-3dT = (this._-47j.findChildByName("achievements_list") as IItemListWindow);
                this._-3E3.communication.addHabboConnectionMessageEvent(new _-31N(this._-Z7));
                this._-1yA = (this._-47j.findChildByName("leaderboard_list") as IItemListWindow);
                this._-3E3.communication.addHabboConnectionMessageEvent(new _-29I(this._-4jB));
                this._-3E3.communication.addHabboConnectionMessageEvent(new Game2WeeklyLeaderboardEvent(this._-57b));
                this._-0ZQ = (this._-47j.findChildByName("lucky_losers_list") as IItemListWindow);
                this._-3E3.communication.addHabboConnectionMessageEvent(new _-3iX(this._-44N));
                this._-47j.findChildByName("leaderboard_link").addEventListener(WindowMouseEvent._-90, this._-m);
                this._-47j.findChildByName("teaser_link").addEventListener(WindowMouseEvent._-90, this._-4-S);
                this._-47j.findChildByName("room_link").addEventListener(WindowMouseEvent._-90, this._-5Cr);
                this._-0GQ = this._-3E3.windowManager.createUnseenItemCounter();
                k = (this._-4n2.findChildByName("games_left_container") as IWindowContainer);
                k.addChild(this._-0GQ);
                this._-3E3.communication.addHabboConnectionMessageEvent(new Game2AccountGameStatusMessageEvent(this._-2Lo));
                this._-3E3.communication.addHabboConnectionMessageEvent(new _-4YS(this._-3EI));
                this._-4wE(this._-3E3._-eP.inventory._-20u._-1TH(_-2Jr.GAMES));
                this._-2cA = (this._-47j.findChildByName("achievements_container") as IWindowContainer);
                this._-1VJ = (this._-47j.findChildByName("leaderboard_container") as IWindowContainer);
            };
        }
        private function _-1KJ(_arg1:_-4xZ):void
        {
            this._-2Jt();
        }
        public function _-2Jt():void
        {
            var k:int;
            this._-4vV._-3mI();
            var k:Array = GameConfigurations._-40q();
            for each (k in k)
            {
                this._-4yo(k);
            };
            this._-x2();
            this._-3J5(this._-0FL);
        }
        private function _-x2():void
        {
            this._-30h.visible = (this._-4vV.maxScrollH > 0);
        }
        private function _-4yo(_arg1:int):void
        {
            var k:String = GameConfigurations._-3r4(_arg1);
            var k:IRegionWindow = (this._-jI.clone() as IRegionWindow);
            var k:String = GameConfigurations._-3DD(_arg1, _-44Y._-sJ);
            k.name = k;
            this._-4vV.addListItem(k);
            k.addEventListener(WindowMouseEvent._-90, this._-56d);
            var k:IWindow = k.findChildByTag("ICON");
            var k:_-4mB = (k as _-4mB);
            k.assetUri = "game_center_loading_icon";
            k.assetUri = k;
            k._-2QR = this._-3E3.localization.getKey((("gamecenter." + k) + ".name"), (("gamecenter." + k) + ".name"));
        }
        public function activate(_arg1:int):void
        {
            if (!this._-47j)
            {
                this.createWindow();
                this._-3E3._-eP._-1Dj();
            };
            this._-0FL = -1;
            this._-47j.invalidate();
            this._-47j.visible = true;
            this.selectGame(_arg1);
            this.resizeWindow();
        }
        public function disable():void
        {
            if (!this._-47j)
            {
                return;
            };
            this._-47j.visible = false;
        }
        private function resizeWindow():void
        {
            if (!this._-47j)
            {
                return;
            };
            this._-47j.x = _-58S.x;
            this._-47j.y = _-58S.y;
            this._-47j.width = (this._-47j.desktop.width - _-58S.right);
            this._-47j.height = (this._-47j.desktop.height - _-58S.bottom);
            this._-47j.invalidate();
            if (!this.extends)
            {
                return;
            };
            var k:_-31r = this.extends._-2rW;
            if (this._-47j.width > k.maxWidth)
            {
                this.extends.width = k.maxWidth;
            }
            else
            {
                if (this._-47j.width < k.minWidth)
                {
                    this.extends.width = k.minWidth;
                }
                else
                {
                    this.extends.width = this.extends.width;
                };
            };
            this.extends.x = ((this._-47j.width - this.extends.width) / 2);
            this._-1T5.height = this._-1a1.height;
            this._-1T5.width = this._-1a1.width;
            this.extends.invalidate();
            this._-x2();
        }
        private function _-0QH(_arg1:WindowEvent):void
        {
            this.resizeWindow();
        }
        private function _-56d(_arg1:WindowMouseEvent):void
        {
            var _local2:int;
            switch (_arg1.type)
            {
                case WindowMouseEvent._-90:
                    _local2 = GameConfigurations.getId(_arg1.target.name);
                    this.selectGame(_local2);
                    this._-3E3._-1Bs(GameConfigurations._-3r4(_local2), "showGameCenter.selectGame");
                    return;
            };
        }
        private function _-3oh(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.type)
            {
                case WindowMouseEvent._-90:
                    if (this._-2Za != 0)
                    {
                        if ((((this._-0FL == _-3lN._-40G)) && (!(this._-3E3._-eP._-3P8()))))
                        {
                            return;
                        };
                        this._-2Mg.disable();
                        this._-4n2.disable();
                        this._-3E3.joinPlayerQueue(this._-0FL);
                    }
                    else
                    {
                        this._-3E3._-1Nz(this._-0FL);
                    };
                    return;
            };
        }
        private function _-2EH():void
        {
            var k:String = GameConfigurations._-3r4(this._-0FL);
            this.extends.color = GameConfigurations.getBgColor(this._-0FL);
            this._-3d7.assetUri = null;
            this._-0MJ.assetUri = null;
            this._-3d7.assetUri = GameConfigurations._-3DD(this._-0FL, _-44Y._-1b3);
            this._-0MJ.assetUri = GameConfigurations._-3DD(this._-0FL, _-44Y._-3J3);
            this._-3kj(this._-47j, "description_title", (("${gamecenter." + k) + ".description_title}"));
            this._-3kj(this._-47j, "game_description", (("${gamecenter." + k) + ".description_content}"));
            this._-3kj(this._-47j, "achievements_title");
            this._-3kj(this._-47j, "leaderboard_title");
            this._-3kj(this._-47j, "leaderboard_link");
            this._-3kj(this._-47j, "teaser_link");
            this._-3kj(this._-47j, "game_offline_description");
            this._-0-e.visible = false;
            this._-3E3.localization.registerParameter("gamecenter.achievements_title", "game", this._-3E3.getLocalization(this._-0FL));
            this._-47j.findChildByName("play_now_unlimited_button_text").caption = "${gamecenter.play_now}";
            var k:String = this._-3E3.localization.getKey(("gamecenter.introduction_video_link." + GameConfigurations._-3r4(this._-0FL)));
            this._-47j.findChildByName("teaser_link").caption = k;
            this._-3dT._-Ls();
            this._-1yA._-Ls();
            this._-2cA.visible = false;
            this._-3E3.send(new null(this._-0FL));
            this._-1VJ.visible = false;
            this._-3E3.send(new _-4y1(this._-0FL, 1));
            this._-3E3.send(new Game2GetWeeklyLeaderboardComposer(this._-0FL, 0, 0, 0, 1, 1));
            this._-3E3.send(new Game2GetWeeklyLeaderboardComposer(this._-0FL, 1, 0, 0, 1, 1));
            this._-3E3.send(new _-4zH(this._-0FL));
            this._-4n2.visible = false;
            this._-2Mg.visible = false;
            this._-47j.findChildByName("playnow_text").caption = "";
            this._-3E3.send(new Game2GetAccountGameStatusMessageComposer(this._-0FL));
            this._-3E3.send(new _-019(this._-0FL));
            this._-4ZP(null);
            this._-3lS("");
            this._-1rg(0);
            this._-3f0(false);
            this._-3E3._-3jR(this);
            var k:String = ("gamecenter.roomlink." + k);
            var k:String = this._-3E3._-eP.config.getKey(k);
            var k:IWindowContainer = (this._-47j.findChildByName("room_link_container") as IWindowContainer);
            k.visible = ((k) && (!((k == ""))));
        }
        private function _-qb(_arg1:IBitmapWrapperWindow, _arg2:BitmapData):void
        {
            if (_arg2)
            {
                _arg1.bitmap = _arg2.clone();
                _arg1.invalidate();
            };
        }
        private function _-3kj(_arg1:IWindowContainer, _arg2:String, _arg3:String=null):void
        {
            var k:ITextWindow = (_arg1.findChildByName(_arg2) as ITextWindow);
            k.textColor = GameConfigurations._-19d(this._-0FL);
            if (_arg3)
            {
                k.caption = _arg3;
            };
        }
        private function selectGame(_arg1:int):void
        {
            if (this._-0FL == _arg1)
            {
                return;
            };
            var k:Array = GameConfigurations._-40q();
            if (((!(k)) || ((k.length == 0))))
            {
                return;
            };
            if (k.indexOf(_arg1) == -1)
            {
                HabboGamesCom.log((((("Game id '" + _arg1) + "' was not enabled, defaulting select to '") + k[0]) + "'!"));
                k = 1;
            };
            this._-0FL = _arg1;
            this._-2Za = 0;
            this._-0GQ.caption = "0";
            this._-3J5(_arg1);
            this._-2EH();
            this._-3E3._-21V(_arg1);
        }
        private function _-3J5(_arg1:int):void
        {
            var k:IWindowContainer = (this._-4vV.getListItemByName(GameConfigurations._-3r4(_arg1)) as IWindowContainer);
            if (k)
            {
                k.removeChild(this._-1Hx);
                k.addChildAt(this._-1Hx, 0);
            };
        }
        private function _-5Es(_arg1:String):BitmapData
        {
            var k:_-2kE = this._-3E3.assets.getAssetByName(_arg1);
            if (k)
            {
                return ((k.content as BitmapData));
            };
            return (null);
        }
        private function _-Z7(_arg1:_-0tL):void
        {
            var k:IWindowContainer;
            var k:_-mL;
            var k:String;
            var k:String;
            var k:String;
            var k:IWindowContainer;
            var k:_-aY;
            var k:_-31N = (_arg1 as _-31N);
            var k:_-4Mn = (k._-3-5() as _-4Mn);
            if (((this._-3dT) && ((k._-3tJ == this._-0FL))))
            {
                this._-3dT._-Ls();
                if (k.achievements.length > 0)
                {
                    this._-2cA.visible = true;
                };
                k = (WindowUtils.createWindow("game_achievement_entry_xml") as IWindowContainer);
                for each (k in k.achievements)
                {
                    k = ((((k._-58U) && (!(k._-IJ)))) ? this._-3E3.localization._-4cQ(k.badgeId) : k.badgeId);
                    k = this._-3E3.localization.getBadgeName(k);
                    k = this._-3E3.localization.getBadgeDesc(k);
                    k = (k.clone() as IWindowContainer);
                    this._-3kj(k, "achievement_name", k);
                    this._-3kj(k, "achievement_desc", k);
                    k = (_-3Yi(k.findChildByName("achievement_image")).widget as _-aY);
                    k.badgeId = k;
                    k.greyscale = !(k._-58U);
                    k.findChildByName("achievement_locked_image").visible = !(k._-58U);
                    this._-3dT.addListItem(k);
                };
            };
        }
        private function _-4jB(_arg1:_-0tL):void
        {
            var k:IWindowContainer;
            var k:_-2mg;
            var k:_-2mg;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:_-29I = (_arg1 as _-29I);
            var k:Game2LeaderboardParser = k._-3-5();
            if (((this._-1yA) && ((k._-3tJ == this._-0FL))))
            {
                this._-1yA._-Ls();
                if (k.leaderboard.length > 0)
                {
                    k = k.leaderboard[0];
                    if (k.score > 0)
                    {
                        this._-1VJ.visible = true;
                    };
                };
                k = (WindowUtils.createWindow("game_leaderboard_entry_xml") as IWindowContainer);
                for each (k in k.leaderboard)
                {
                    k = (k.clone() as IWindowContainer);
                    if (k.leaderboard.length == 1)
                    {
                        k.findChildByName("avatar_rank_name").visible = false;
                        k.findChildByName("avatar_score").visible = false;
                        k.findChildByName("empty_leaderboard_text").visible = true;
                        this._-3kj(k, "empty_leaderboard_text");
                    }
                    else
                    {
                        this._-3kj(k, "avatar_rank_name", ((k.rank + ". ") + k.name));
                        this._-3kj(k, "avatar_score", this._-3E3.localization.registerParameter("gamecenter.leaderboard_score", "score", k.score.toString()));
                    };
                    k.name = k.figure;
                    k = (k.findChildByName("avatar_image") as IBitmapWrapperWindow);
                    this._-4Xd(k, k.figure, k.gender);
                    this._-1yA.addListItem(k);
                };
            };
        }
        private function _-57b(_arg1:_-0tL):void
        {
            var k:_-2mg;
            var k:Game2WeeklyLeaderboardEvent = (_arg1 as Game2WeeklyLeaderboardEvent);
            var k:Game2WeeklyLeaderboardParser = k._-3-5();
            if ((((k._-3tJ == this._-0FL)) && ((k.leaderboard.length > 0))))
            {
                k = k.leaderboard[0];
                if (k.score > 0)
                {
                    this._-1VJ.visible = true;
                };
            };
        }
        private function _-44N(_arg1:_-0tL):void
        {
            var k:IWindowContainer;
            var k:_-06l;
            var _local6:IWindowContainer;
            var k:_-3iX = (_arg1 as _-3iX);
            var k:_-1qa = k._-3-5();
            if (((this._-0ZQ) && ((k._-3tJ == this._-0FL))))
            {
                this._-47j.findChildByName("previous_winner").visible = false;
                this._-0ZQ._-Ls();
                k = (WindowUtils.createWindow("game_center_lucky_loser_entry_xml") as IWindowContainer);
                for each (k in k._-5DR)
                {
                    if (k.rank == 1)
                    {
                        this._-47j.findChildByName("previous_winner").visible = true;
                        this._-47j.findChildByName("previous_winner_name").caption = k.name;
                        this._-47j.findChildByName("previous_winner_score").caption = this._-3E3.localization.registerParameter("gamecenter.featured_player_points", "score", k.score.toString());
                        ((this._-47j.findChildByName("previous_winner_avatar") as _-3Yi).widget as _-3La).figure = k.figure;
                    }
                    else
                    {
                        _local6 = (k.clone() as IWindowContainer);
                        _local6.findChildByName("avatar_rank_name").caption = ((k.rank + ". ") + k.name);
                        _local6.findChildByName("avatar_score").caption = this._-3E3.localization.registerParameter("gamecenter.featured_player_points", "score", k.score.toString());
                        _local6.name = k.figure;
                        this._-0ZQ.addListItem(_local6);
                    };
                };
            };
        }
        private function _-4Xd(_arg1:IBitmapWrapperWindow, _arg2:String, _arg3:String=null):void
        {
            var k:BitmapData;
            var k:_-40f = this._-3E3.avatarRenderManager.createAvatarImage(_arg2, _-1uH._-JU, _arg3, this);
            if (k)
            {
                k.setDirection(_-24J._-2YU, 2);
                k = k._-1hx(_-24J._-0GH);
                WindowUtils._-qb(_arg1, k);
                k.dispose();
            };
        }
        public function _-0-V(_arg1:String):void
        {
            var k:int;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            if (this._-1yA)
            {
                k = 0;
                while (k < this._-1yA.iterator.length)
                {
                    k = (this._-1yA.getListItemAt(k) as IWindowContainer);
                    k = (k.findChildByName("avatar_image") as IBitmapWrapperWindow);
                    if (k.name == _arg1)
                    {
                        this._-4Xd(k, _arg1);
                    };
                    k++;
                };
            };
        }
        public function _-4ZP(_arg1:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-47j.findChildByName("reward_bitmap") as IBitmapWrapperWindow);
            this._-00H(k, _arg1);
        }
        public function _-3lS(_arg1:String):void
        {
        }
        public function _-1rg(_arg1:int):void
        {
            var k:_-2Zl = ((this._-47j.findChildByName("time_counter") as _-3Yi).widget as _-2Zl);
            k.seconds = (_arg1 * 60);
        }
        public function _-0av():int
        {
            return (this._-0FL);
        }
        public function _-3f0(_arg1:Boolean):void
        {
            this._-47j.findChildByName("reward_container").visible = _arg1;
        }
        private function _-00H(_arg1:IBitmapWrapperWindow, _arg2:BitmapData):void
        {
            if (_arg2)
            {
                WindowUtils._-qb(_arg1, _arg2);
            }
            else
            {
                _arg1.bitmap = null;
                _arg1.invalidate();
            };
        }
        private function _-m(_arg1:WindowMouseEvent):void
        {
            this._-3E3.showLeaderboard(this._-0FL);
        }
        private function _-4-S(_arg1:WindowMouseEvent):void
        {
            this._-3E3._-4L9(this._-0FL);
        }
        private function _-5Cr(_arg1:WindowMouseEvent):void
        {
            var k:String = GameConfigurations._-3r4(this._-0FL);
            var k:String = this._-3E3._-eP.config.getKey(("gamecenter.roomlink." + k));
            if (k)
            {
                this._-3E3._-eP.navigator.goToPrivateRoom(parseInt(k));
            };
        }
        private function _-2Lo(_arg1:_-0tL):void
        {
            var k:_-0hg;
            var k:Game2AccountGameStatusMessageEvent = (_arg1 as Game2AccountGameStatusMessageEvent);
            var k:Game2AccountGameStatusMessageParser = k._-3-5();
            if (k._-3tJ == this._-0FL)
            {
                k = this._-3E3.localization;
                this._-2Za = k._-58i;
                if (this._-2Za >= 0)
                {
                    this._-3kj(this._-47j, "playnow_text", k.registerParameter("gamecenter.play_now_desc.limited_games", "games_left", this._-2Za.toString()));
                    (this._-0GQ.findChildByName(_-0QE._-2E9) as ITextWindow).text = this._-2Za.toString();
                    this._-2Mg.visible = false;
                    this._-4n2.visible = this._-0xI;
                }
                else
                {
                    this._-47j.findChildByName("playnow_text").caption = "";
                    this._-2Mg.visible = this._-0xI;
                    this._-4n2.visible = false;
                };
            };
        }
        private function _-3EI(_arg1:_-0tL):void
        {
            var k:_-4YS = (_arg1 as _-4YS);
            var k:_-534 = k._-3-5();
            if (k._-3tJ == this._-0FL)
            {
                if (((k._-2jv) && (!(this._-3E3._-1Tf))))
                {
                    this._-2Mg.enable();
                    this._-4n2.enable();
                    this._-0-e.visible = false;
                    this._-0xI = true;
                }
                else
                {
                    this._-2Mg.disable();
                    this._-4n2.disable();
                    this._-0-e.visible = true;
                    this._-0xI = false;
                };
            };
        }
        private function _-3-M(_arg1:HabboUnseenItemsUpdatedEvent):void
        {
            var k:Array = this._-3E3._-eP.inventory._-20u._-1TH(_-2Jr.GAMES);
            this._-4wE(k);
        }
        private function _-4wE(_arg1:Array):void
        {
            var k:int;
            var k:IWindowContainer;
            var k:IWindowContainer;
            var k:Boolean;
            for each (k in GameConfigurations._-40q())
            {
                k = (this._-4vV.getListItemByName(GameConfigurations._-3r4(k)) as IWindowContainer);
                if (k)
                {
                    k = (k.findChildByName("unseen_item_container") as IWindowContainer);
                    k = ((_arg1) ? (_arg1.indexOf(k) >= 0) : false);
                    if (k)
                    {
                        if (!k)
                        {
                            k = this._-3E3.windowManager.createUnseenItemCounter();
                            k.findChildByName("count").caption = " ! ";
                            k.addChild(k);
                            k.x = (k.width - k.width);
                            k.y = 0;
                        };
                    }
                    else
                    {
                        if (k)
                        {
                            k.removeChild(k);
                        };
                    };
                };
            };
        }

    }
}//package _-50-

//------------------------------------------------------------
//_-50-.GameCenterView

package _-50-
{
    import _-0GO.HabboGameManager;
    import flash.utils.Timer;
    import _-3Bn._-1Ii;
    import _-4pF._-3Ts;
    import _-3gx._-4BJ;
    import _-3X8._-0hg;
    import _-1Jd._-51K;
    import _-4Kb._-3nt;
    import _-4Wu._-4uR;
    import _-295._-39L;
    import _-293._-5-S;
    import flash.events.TimerEvent;
    import _-0GO._-3lN;
    import _-52-._-4v1;
    import _-4Aj._-1oF;
    import _-0Ie.WindowEvent;
    import _-31v._-y1;
    import _-48G._-4hq;
    import _-293._-2Gt;
    import _-4n1._-0hX;
    import _-0y0._-Xl;
    import _-53E._-xK;
    import _-1B-._-1zZ;
    import _-4Aj._-0tL;
    import flash.display.BitmapData;
    import _-293.*;
    import _-1B-.*;

    public class GameCenterView implements _-1zZ, dynamic 
    {

        private static const _-1gu:int = 3000;

        private var _disposed:Boolean;
        private var _-4oB:HabboGameManager;
        private var _-2YF:GameCenterLayout;
        private var _-3df:LeaderboardView;
        private var _-1nU:_-4mI;
        private var _-4ne:TeaserView;
        private var _-4KC:Timer;
        private var _-226:int = -1;
        private var _-X4:_-1Ii;
        private var _-0KV:_-4Fl;
        private var _-0pN:int;

        public function GameCenterView(_arg1:HabboGameManager)
        {
            this._-4oB = _arg1;
        }
        public function get windowManager():_-3Ts
        {
            return (this._-4oB.windowManager);
        }
        public function get communication():_-4BJ
        {
            return (this._-4oB.communication);
        }
        public function get localization():_-0hg
        {
            return (this._-4oB.localization);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-4oB.sessionDataManager);
        }
        public function get avatarRenderManager():_-3nt
        {
            return (this._-4oB._-5-f);
        }
        public function get configuration():_-4uR
        {
            return (this._-4oB.config);
        }
        public function get assets():_-39L
        {
            return (this._-4oB.assets);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-4oB.roomEngine);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-eP():HabboGameManager
        {
            return (this._-4oB);
        }
        public function dispose():void
        {
            if (this._-2YF)
            {
                this._-2YF.dispose();
                this._-2YF = null;
            };
            if (this._-3df)
            {
                this._-3df.dispose();
                this._-3df = null;
            };
            this._-226 = -1;
            if (this._-1nU)
            {
                this._-1nU.dispose();
                this._-1nU = null;
            };
            if (this._-4KC)
            {
                this._-4KC.removeEventListener(TimerEvent.TIMER, this._-40g);
                this._-4KC.stop();
                this._-4KC = null;
            };
            if (this._-4ne)
            {
                this._-4ne.dispose();
                this._-4ne = null;
            };
            this._-2-H();
            this._-4oB = null;
            this._disposed = true;
        }
        public function initialize(_arg1:int):void
        {
            if (!this._-2YF)
            {
                this._-2YF = new GameCenterLayout(this);
            };
            if (GameConfigurations._-4QF(_arg1))
            {
                this.activate(_arg1);
            }
            else
            {
                this.activate(_-3lN._-40G);
            };
            this.communication.addHabboConnectionMessageEvent(new _-4v1(this._-Ip));
        }
        public function activate(_arg1:int):void
        {
            if (this._-2YF)
            {
                this._-2YF.activate(_arg1);
            };
        }
        public function disable():void
        {
            if (this._-2YF)
            {
                this._-2YF.disable();
            };
            if (this._-3df)
            {
                this._-3df.disable();
            };
            if (this._-1nU)
            {
                this._-1nU.disable();
            };
            if (this._-4ne)
            {
                this._-4ne.disable();
            };
        }
        public function _-21V(_arg1:int):void
        {
            if (this._-3df)
            {
                this._-3df._-21V(_arg1);
            };
        }
        public function get _-1Tf():Boolean
        {
            return (this._-4oB._-1Tf);
        }
        public function getLocalization(_arg1:int):String
        {
            var k:String = GameConfigurations._-3r4(_arg1);
            return (this.localization.getKey((("gamecenter." + k) + ".name")));
        }
        public function _-1Bs(_arg1:String, _arg2:String, _arg3:String="", _arg4:int=0):void
        {
            this._-4oB._-1Bs(_arg1, _arg2, _arg3, _arg4);
        }
        public function registerParameter(_arg1:int, _arg2:String):String
        {
            return (this.localization.registerParameter(_arg2, "game", this.getLocalization(_arg1)));
        }
        public function send(_arg1:_-1oF):void
        {
            this._-4oB.send(_arg1);
        }
        public function joinPlayerQueue(_arg1:int):void
        {
            this._-4oB.joinPlayerQueue(_arg1);
        }
        public function _-43D(_arg1:int):void
        {
            this._-4oB._-43D(_arg1);
        }
        public function showLeaderboard(_arg1:int):void
        {
            if (!this._-3df)
            {
                this._-3df = new LeaderboardView(this);
            };
            this._-3df.activate(_arg1);
            this._-1Bs(GameConfigurations._-3r4(_arg1), "showLeaderboard");
        }
        public function _-4L9(_arg1:int):void
        {
            if (!this._-4ne)
            {
                this._-4ne = new TeaserView(this);
            };
            this._-4ne.activate(_arg1);
            this._-1Bs(GameConfigurations._-3r4(_arg1), "showTeaser");
        }
        public function _-07T(_arg1:int):void
        {
            if (this._-226 > -1)
            {
                return;
            };
            if (!this._-1nU)
            {
                this._-1nU = new _-4mI(this);
            };
            if (!this._-4KC)
            {
                this._-4KC = new Timer(_-1gu, 1);
                this._-4KC.addEventListener(TimerEvent.TIMER, this._-40g);
            };
            this._-4KC.start();
            this._-226 = _arg1;
        }
        private function _-40g(_arg1:TimerEvent):void
        {
            if (this._-226 > -1)
            {
                this._-1nU.activate(this._-226);
            };
        }
        public function _-0vS(_arg1:int):void
        {
            this._-226 = -1;
            if (this._-4KC)
            {
                this._-4KC.reset();
            };
            if (this._-1nU)
            {
                this._-1nU.disable();
            };
        }
        public function _-1GS(_arg1:String):void
        {
            this._-2-H();
            this._-X4 = this.windowManager.alert("Game Center Alert", _arg1, 0, this._-498);
        }
        private function _-2-H():void
        {
            if (this._-X4)
            {
                this._-X4.dispose();
                this._-X4 = null;
            };
        }
        private function _-498(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            this._-2-H();
        }
        public function _-1Nz(_arg1:int):void
        {
            var k:String = GameConfigurations._-3r4(_arg1);
            this._-4oB._-4GR(k, "getVip.clicked.playNow");
        }
        public function _-3jR(_arg1:_-4Fl):void
        {
            this._-0KV = _arg1;
            this.send(new _-y1(_arg1._-0av()));
        }
        private function _-Ip(_arg1:_-0tL):void
        {
            var k:_-4hq;
            var k:_-2Gt;
            var k:_-0hX;
            var k:int;
            var k:int;
            var k:_-Xl;
            var k:_-4v1 = (_arg1 as _-4v1);
            var k:_-xK = k._-3-5();
            if (this._-0KV)
            {
                if ((this._-0KV as _-1zZ).disposed)
                {
                    this._-0KV = null;
                    return;
                };
                if (k._-3tJ == this._-0KV._-0av())
                {
                    this._-0KV._-3f0(k._-4K7);
                    this._-0KV._-1rg(k._-0eG);
                    if (k.products.length > 0)
                    {
                        k = k.products[0];
                        k = k._-3Zu;
                        k = 64;
                        k = new _-Xl(45);
                        switch (k._-5DX)
                        {
                            case _-4hq._-5Ds:
                                k = this.roomEngine.getFurnitureImage(k, k, k, this);
                                k = this.sessionDataManager._-LX(k);
                                break;
                            case _-4hq._-0xA:
                                k = this.roomEngine.getWallItemImage(k, k, k, this);
                                k = this.sessionDataManager._-3LT(k);
                                break;
                        };
                        this._-0KV._-3lS(((k) ? k.title : ""));
                        if (((!(k)) || ((k.id == -1))))
                        {
                            return;
                        };
                        if (k.id > 0)
                        {
                            this._-0pN = k.id;
                        }
                        else
                        {
                            if (k.data != null)
                            {
                                this._-0KV._-4ZP(k.data);
                                this._-0KV = null;
                            };
                        };
                    };
                };
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if ((((((this._-0pN == _arg1)) && (this._-0KV))) && (!((this._-0KV as _-1zZ).disposed))))
            {
                this._-0KV._-4ZP(_arg2);
            };
            this._-0pN = -1;
            this._-0KV = null;
        }

    }
}//package _-50-

//------------------------------------------------------------
//_-50-.GameConfigurations

package _-50-
{
    import __AS3__.vec.Vector;
    import _-18r.Map;
    import _-0GO._-44Y;
    import flash.events.IEventDispatcher;
    import __AS3__.vec.*;

    public class GameConfigurations 
    {

        private static const _-3nJ:String = "_icon";
        private static const _-0jd:String = "_small_icon";
        private static const _-2QJ:String = "_logo";
        private static const _-42A:String = "_theme";
        private static const _-4eq:String = ".png";

        private static var _-4Ig:Vector.<_-1WG> = new Vector.<_-1WG>();
        private static var _-38s:Map = new Map();
        private static var _-1SP:Boolean;
        private static var _-0iS:Boolean;

        public static function _-3vv():void
        {
            _-4Ig = new Vector.<_-1WG>();
        }
        public static function _-3Y3():void
        {
            _-38s = new Map();
        }
        public static function _-4Wk(_arg1:_-1WG):void
        {
            _-4Ig.push(_arg1);
        }
        public static function _-bb(_arg1:int, _arg2:String):void
        {
            _-38s.add(_arg2, _arg1);
        }
        public static function _-1tI(_arg1:int):_-1WG
        {
            var k:_-1WG;
            for each (k in _-4Ig)
            {
                if (k._-4IC == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public static function _-40q():Array
        {
            var k:_-1WG;
            var k:Array = new Array();
            for each (k in _-4Ig)
            {
                k.push(k._-4IC);
            };
            return (k);
        }
        public static function getId(_arg1:String):int
        {
            var k:_-1WG;
            for each (k in _-4Ig)
            {
                if (k._-4HT == _arg1)
                {
                    return (k._-4IC);
                };
            };
            return (-1);
        }
        public static function _-3r4(_arg1:int):String
        {
            var k:_-1WG;
            for each (k in _-4Ig)
            {
                if (k._-4IC == _arg1)
                {
                    return (k._-4HT);
                };
            };
            return (null);
        }
        public static function _-4QF(_arg1:int):Boolean
        {
            var k:_-1WG;
            for each (k in _-4Ig)
            {
                if (k._-4IC == _arg1)
                {
                    return (true);
                };
            };
            return (false);
        }
        public static function getBgColor(_arg1:int):uint
        {
            var k:_-1WG;
            for each (k in _-4Ig)
            {
                if (k._-4IC == _arg1)
                {
                    return (k.bgColor);
                };
            };
            return (4287878387);
        }
        public static function _-19d(_arg1:int):uint
        {
            var k:_-1WG;
            for each (k in _-4Ig)
            {
                if (k._-4IC == _arg1)
                {
                    return (k.textColor);
                };
            };
            return (0);
        }
        public static function _-3DD(_arg1:int, _arg2:String):String
        {
            var k:_-1WG = _-1tI(_arg1);
            if (!k)
            {
                return ("");
            };
            var k:String = k._-2BT;
            k = (k + k._-4HT);
            switch (_arg2)
            {
                case _-44Y._-sJ:
                    k = (k + _-3nJ);
                    break;
                case _-44Y._-54V:
                    k = (k + _-0jd);
                    break;
                case _-44Y._-3J3:
                    k = (k + _-2QJ);
                    break;
                case _-44Y._-1b3:
                    k = (k + _-42A);
                    break;
            };
            k = (k + _-4eq);
            return (k);
        }
        public static function _-4p0(_arg1:String):Boolean
        {
            return (!((_-38s._-18C().indexOf(_arg1) == -1)));
        }
        public static function _-4w5(_arg1:String):String
        {
            var k:int = _-38s.getValue(_arg1);
            var k:_-1WG = _-1tI(k);
            if (!k)
            {
                return ("");
            };
            return (((k._-2BT + _arg1) + _-4eq).toLowerCase());
        }
        public static function _-4Ox(_arg1:IEventDispatcher):void
        {
            _-1SP = true;
            _-4Y6(_arg1);
        }
        public static function _-1KL(_arg1:IEventDispatcher):void
        {
            _-0iS = true;
            _-4Y6(_arg1);
        }
        public static function get _-Lj():Boolean
        {
            return (((_-1SP) && (_-0iS)));
        }
        public static function set _-Lj(_arg1:Boolean):void
        {
            _-1SP = _arg1;
            _-0iS = _arg1;
        }
        private static function _-4Y6(_arg1:IEventDispatcher):void
        {
            if (_-Lj)
            {
                _arg1.dispatchEvent(new _-4xZ(_-4xZ.GAME_CONFIGURATIONS_INITIALIZED));
            };
        }

    }
}//package _-50-

//------------------------------------------------------------
//_-50-.LeaderboardView

package _-50-
{
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-1ae._-0C5;
    import _-0Ie.WindowMouseEvent;
    import _-295._-2kE;
    import _-295._-243;
    import _-0W2.WindowUtils;
    import _-52-._-19a;
    import _-52-.Game2WeeklyLeaderboardEvent;
    import _-31v.Game2GetWeeklyLeaderboardComposer;
    import _-31v._-22d;
    import _-4Aj._-0tL;
    import _-53E._-2mg;
    import _-53E.Game2WeeklyLeaderboardParser;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-4Aj._-1oF;
    import _-4Kb.*;
    import _-1B-.*;

    public class LeaderboardView implements _-1zZ, _-3QA, _-4Fl 
    {

        private static const _-3Ej:String = "game_center_leaderboard_view_xml";
        private static const _-3Bo:uint = 4290888129;
        private static const _-4k6:uint = 4292664540;
        private static const _-sp:uint = 0xFFFFFFFF;

        private var _disposed:Boolean;
        private var _-3WC:Boolean;
        private var _-3E3:GameCenterView;
        private var _-04v:_-0xN;
        private var _-1e3:IWindowContainer;
        private var _-2XX:IWindowContainer;
        private var _-z9:IItemListWindow;
        private var _-1PF:_-0C5;
        private var _-1X2:IItemListWindow;
        private var _-0vE:IItemListWindow;
        private var _-0FL:int;
        private var _-0pN:int;
        private var _-3hR:String;
        private var _-4R:Boolean = false;

        public function LeaderboardView(_arg1:GameCenterView)
        {
            this._-3E3 = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._-04v)
            {
                this._-04v.dispose();
                this._-04v = null;
            };
            if (this._-2XX)
            {
                this._-2XX.dispose();
                this._-2XX = null;
            };
            if (this._-1PF)
            {
                this._-1PF.removeEventListener(WindowMouseEvent._-90, this._-3eD);
            };
            this._-z9 = null;
            this._-1X2 = null;
            this._-0vE = null;
            this._-1PF = null;
            this._-3E3 = null;
            this._disposed = true;
            this._-3WC = false;
        }
        public function activate(_arg1:int):void
        {
            this._-0FL = _arg1;
            if (!this._-04v)
            {
                this.createWindow();
            };
            this._-1e3.invalidate();
            this._-1e3.visible = true;
            this._-2EH();
        }
        public function disable():void
        {
            if (!this._-04v)
            {
                return;
            };
            this._-04v.dispose();
            this._-04v = null;
            this._-1e3 = null;
        }
        public function _-21V(_arg1:int):void
        {
            if (((this._-1e3) && (this._-1e3.visible)))
            {
                this.activate(_arg1);
            };
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.disable();
        }
        private function createWindow():void
        {
            var k:_-2kE = this._-3E3.assets.getAssetByName(_-3Ej);
            var k:_-243 = _-243(k);
            this._-04v = this._-3E3.windowManager.buildModalDialogFromXML(XML(k.content));
            this._-1e3 = (this._-04v._-5Ec as IWindowContainer);
            this._-1e3.findChildByTag("close").addEventListener(WindowMouseEvent._-90, this._-4F9);
            this._-z9 = (this._-1e3.findChildByName("this_week_list") as IItemListWindow);
            this._-1PF = (this._-1e3.findChildByName("this_week_toggle") as _-0C5);
            this._-1PF.addEventListener(WindowMouseEvent._-90, this._-3eD);
            this._-1X2 = (this._-1e3.findChildByName("last_week_list") as IItemListWindow);
            this._-0vE = (this._-1e3.findChildByName("own_entry_list") as IItemListWindow);
            if (!this._-3WC)
            {
                this._-2XX = (WindowUtils.createWindow("game_leaderboard_entry_small_xml") as IWindowContainer);
                this._-3E3.communication.addHabboConnectionMessageEvent(new _-19a(this._-2uw));
                this._-3E3.communication.addHabboConnectionMessageEvent(new Game2WeeklyLeaderboardEvent(this._-59y));
                this._-3WC = true;
            };
        }
        private function _-2EH():void
        {
            this._-4ZP(null);
            this._-3lS("");
            this._-1rg(0);
            this._-1vq(null);
            this._-1e3.findChildByName("weekly_top_avatar_name").caption = "";
            this._-1e3.findChildByName("weekly_top_avatar_score").caption = "";
            this._-1e3.findChildByName("weekly_top_avatar_score").caption = "";
            this._-3E3.registerParameter(this._-0FL, "gamecenter.full_leaderboard_title");
            this._-z9._-Ls();
            this._-1X2._-Ls();
            this._-0vE._-Ls();
            this._-4Jz();
            this.send(new Game2GetWeeklyLeaderboardComposer(this._-0FL, 1, 0, 0, 5, 5));
            this._-3E3._-3jR(this);
        }
        private function _-4Jz():void
        {
            if (this._-4R)
            {
                this._-1PF.caption = "${gamecenter.leaderboard_my_ranking_link}";
                this.send(new Game2GetWeeklyLeaderboardComposer(this._-0FL, 0, 0, 0, 10, 10));
            }
            else
            {
                this._-1PF.caption = "${gamecenter.leaderboard_top_scores_link}";
                this.send(new _-22d(this._-0FL, 5));
            };
        }
        private function _-2uw(_arg1:_-0tL):void
        {
            if (!this._-1e3)
            {
                return;
            };
            var k:_-19a = (_arg1 as _-19a);
            this._-2jO(this._-z9, k._-3-5(), 10, false);
        }
        private function _-59y(_arg1:_-0tL):void
        {
            var _local4:_-2mg;
            var k:_-2mg;
            if (!this._-1e3)
            {
                return;
            };
            var k:Game2WeeklyLeaderboardEvent = (_arg1 as Game2WeeklyLeaderboardEvent);
            var k:Game2WeeklyLeaderboardParser = k._-3-5();
            if (k._-5Ab == 0)
            {
                this._-2jO(this._-z9, k, 10, true);
            }
            else
            {
                _local4 = this._-2jO(this._-1X2, k, 5, true);
                if (_local4)
                {
                    this._-2bq(this._-0vE, _local4, _-sp);
                };
                if (k.leaderboard.length > 0)
                {
                    k = (k.leaderboard[0] as _-2mg);
                    this._-1sW(k.figure, k.gender);
                    this._-1e3.findChildByName("weekly_top_avatar_name").caption = k.name;
                    this._-1e3.findChildByName("weekly_top_avatar_score").caption = this._-3E3.localization.registerParameter("gamecenter.leaderboard_score", "score", k.score.toString());
                };
            };
        }
        private function _-2jO(_arg1:IItemListWindow, _arg2:Game2WeeklyLeaderboardParser, _arg3:int, _arg4:Boolean):_-2mg
        {
            var k:_-2mg;
            var k:IWindowContainer;
            var k:int;
            var k:_-2mg;
            var k:uint;
            if (((_arg1) && ((_arg2._-3tJ == this._-0FL))))
            {
                _arg1._-Ls();
                k = (WindowUtils.createWindow("game_leaderboard_entry_small_xml") as IWindowContainer);
                k = 1;
                for each (k in _arg2.leaderboard)
                {
                    if (((((_arg4) && ((k == _arg2.leaderboard.length)))) && ((k.userId == this._-3E3.sessionDataManager.userId))))
                    {
                        break;
                    };
                    if (k > _arg3)
                    {
                        break;
                    };
                    if (k.userId == this._-3E3.sessionDataManager.userId)
                    {
                        k = _-sp;
                    }
                    else
                    {
                        if ((k % 2) == 0)
                        {
                            k = _-4k6;
                        }
                        else
                        {
                            k = _-3Bo;
                        };
                    };
                    this._-2bq(_arg1, k, k);
                    k++;
                };
                return (k);
            };
            return (null);
        }
        private function _-2bq(_arg1:IItemListWindow, _arg2:_-2mg, _arg3:uint):void
        {
            var k:IWindowContainer = (this._-2XX.clone() as IWindowContainer);
            k.color = _arg3;
            k.findChildByName("avatar_rank").caption = (_arg2.rank + ". ");
            k.findChildByName("avatar_name").caption = _arg2.name;
            k.findChildByName("avatar_score").caption = this._-3E3.localization.registerParameter("gamecenter.leaderboard_score", "score", _arg2.score.toString());
            k.name = _arg2.figure;
            var k:IBitmapWrapperWindow = (k.findChildByName("avatar_image") as IBitmapWrapperWindow);
            this._-2-D(k, _arg2.figure, _arg2.gender);
            _arg1.addListItem(k);
        }
        private function _-3eD(_arg1:WindowMouseEvent):void
        {
            if (this._-4R)
            {
                this._-4R = false;
            }
            else
            {
                this._-4R = true;
            };
            this._-4Jz();
        }
        private function _-2-D(_arg1:IBitmapWrapperWindow, _arg2:String, _arg3:String=null):void
        {
            var k:BitmapData;
            var k:_-40f = this._-3E3.avatarRenderManager.createAvatarImage(_arg2, _-1uH._-Pq, _arg3, this);
            if (k)
            {
                k.setDirection(_-24J._-2YU, 2);
                k = k._-1hx(_-24J._-0GH);
                WindowUtils._-qb(_arg1, k);
                k.dispose();
            };
        }
        public function _-0-V(_arg1:String):void
        {
            this._-2Tt(this._-z9, _arg1);
            this._-2Tt(this._-1X2, _arg1);
            this._-2Tt(this._-0vE, _arg1);
            this._-28O(_arg1);
        }
        private function _-2Tt(_arg1:IItemListWindow, _arg2:String):void
        {
            var k:int;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            if (_arg1)
            {
                k = 0;
                while (k < _arg1.iterator.length)
                {
                    k = (_arg1.getListItemAt(k) as IWindowContainer);
                    k = (k.findChildByName("avatar_image") as IBitmapWrapperWindow);
                    if (k.name == _arg2)
                    {
                        this._-2-D(k, _arg2);
                    };
                    k++;
                };
            };
        }
        private function _-28O(_arg1:String):void
        {
            if (this._-3hR == _arg1)
            {
                this._-1sW(_arg1);
            };
        }
        private function _-1sW(_arg1:String, _arg2:String=null):void
        {
            var k:BitmapData;
            var k:_-40f = this._-3E3.avatarRenderManager.createAvatarImage(_arg1, _-1uH._-JU, _arg2, this);
            if (k)
            {
                k.setDirection(_-24J._-2YU, 4);
                k = k._-1hx(_-24J._-2YU);
                this._-1vq(k);
                k.dispose();
            };
        }
        public function _-4ZP(_arg1:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-1e3.findChildByName("weekly_top_reward_image") as IBitmapWrapperWindow);
            this._-00H(k, _arg1);
        }
        public function _-3lS(_arg1:String):void
        {
            this._-1e3.findChildByName("weekly_top_reward_name").caption = _arg1;
        }
        public function _-1rg(_arg1:int):void
        {
        }
        public function _-0av():int
        {
            return (this._-0FL);
        }
        public function _-3f0(_arg1:Boolean):void
        {
            this._-1e3.findChildByName("weekly_top_container").visible = _arg1;
        }
        private function _-1vq(_arg1:BitmapData):void
        {
            var k:IBitmapWrapperWindow = (this._-1e3.findChildByName("weekly_top_avatar_image") as IBitmapWrapperWindow);
            this._-00H(k, _arg1);
        }
        private function _-00H(_arg1:IBitmapWrapperWindow, _arg2:BitmapData):void
        {
            if (_arg2)
            {
                WindowUtils._-qb(_arg1, _arg2);
            }
            else
            {
                _arg1.bitmap = null;
                _arg1.invalidate();
            };
        }
        public function send(_arg1:_-1oF):void
        {
            this._-3E3.send(_arg1);
        }

    }
}//package _-50-

//------------------------------------------------------------
//_-50-.TeaserView

package _-50-
{
    import _-3Bn._-0xN;
    import _-Ew.IWindowContainer;
    import _-1ae.IDisplayObjectWrapper;
    import flash.display.Loader;
    import _-0Ie.WindowMouseEvent;
    import _-295._-2kE;
    import _-295._-243;
    import flash.system.Security;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import flash.display.LoaderInfo;
    import _-1B-.*;

    public class TeaserView implements _-1zZ 
    {

        private static const _-3Ej:String = "game_center_teaser_view_xml";

        private var _disposed:Boolean;
        private var _-3E3:GameCenterView;
        private var _-2Nt:_-0xN;
        private var _-3Ui:IWindowContainer;
        private var _-2T-:IDisplayObjectWrapper;
        private var _-0iz:Object;
        private var _-0FL:int;

        public function TeaserView(_arg1:GameCenterView)
        {
            this._-3E3 = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this.disable();
            this._-3E3 = null;
            this._disposed = true;
        }
        public function activate(_arg1:int):void
        {
            this._-0FL = _arg1;
            if (!this._-2Nt)
            {
                this.createWindow();
            };
            this._-3Ui.invalidate();
            this._-3Ui.visible = true;
            this._-2EH();
        }
        public function disable():void
        {
            var k:Loader;
            if (this._-2T-)
            {
                if (this._-0iz)
                {
                    this._-0iz.destroy();
                    this._-0iz = null;
                };
                k = (this._-2T-.getDisplayObject() as Loader);
                if (k)
                {
                    k.unloadAndStop();
                };
                this._-2T- = null;
            };
            if (this._-2Nt)
            {
                this._-2Nt.dispose();
                this._-2Nt = null;
            };
            this._-3Ui = null;
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.disable();
        }
        private function createWindow():void
        {
            var k:_-2kE = this._-3E3.assets.getAssetByName(_-3Ej);
            var k:_-243 = _-243(k);
            this._-2Nt = this._-3E3.windowManager.buildModalDialogFromXML(XML(k.content));
            this._-3Ui = (this._-2Nt._-5Ec as IWindowContainer);
            this._-3Ui.findChildByTag("close").addEventListener(WindowMouseEvent._-90, this._-4F9);
            this._-2T- = (this._-3Ui.findChildByName("teaser_wrapper") as IDisplayObjectWrapper);
            this._-0ZZ();
        }
        private function _-0ZZ():void
        {
            Security.allowDomain("www.youtube.com");
            var k:Loader = new Loader();
            k.load(new URLRequest((("http://www.youtube.com/v/" + this._-4bR()) + "?version=3&autoplay=1")));
            k.contentLoaderInfo.addEventListener(Event.INIT, this._-ve);
            k.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this._-4mi);
        }
        private function _-2EH():void
        {
            this._-3E3.registerParameter(this._-0FL, "gamecenter.teaser_title");
        }
        private function _-ve(_arg1:Event):void
        {
            var k:Loader;
            var k:LoaderInfo = (_arg1.target as LoaderInfo);
            if (k)
            {
                k = k.loader;
                this._-2T-.setDisplayObject(k);
                k.content.addEventListener("onReady", this._-1a);
            };
        }
        private function _-4bR():String
        {
            return (this._-3E3.configuration.getKey(("gamecenter.teaser." + GameConfigurations._-3r4(this._-0FL))));
        }
        private function _-4mi(_arg1:IOErrorEvent):void
        {
            var k:String;
            if (((this._-3E3._-eP) && (this._-3E3._-eP.context)))
            {
                k = ((("Failed to load teaser " + this._-4bR()) + " for game ") + GameConfigurations._-3r4(this._-0FL));
                this._-3E3._-eP.context.error(k, false, _arg1.errorID);
            };
        }
        private function _-1a(_arg1:Event):void
        {
            this._-0iz = _arg1.target;
            this._-0iz.setSize(this._-2T-.width, this._-2T-.height);
        }

    }
}//package _-50-

//------------------------------------------------------------
//_-50N._-04N

package _-50N
{
    import _-4Aj._-7V;
    import _-352._-0GG;

    public class _-04N extends _-7V 
    {

        public function _-04N(_arg1:Function)
        {
            super(_arg1, _-0GG);
        }
        public function _-3-5():_-0GG
        {
            return ((_-515 as _-0GG));
        }

    }
}//package _-50N

//------------------------------------------------------------
//_-50N._-0Qm

package _-50N
{
    import _-4Aj._-7V;
    import _-352._-4jw;

    public class _-0Qm extends _-7V 
    {

        public function _-0Qm(_arg1:Function)
        {
            super(_arg1, _-4jw);
        }
        public function _-3-5():_-4jw
        {
            return ((_-515 as _-4jw));
        }

    }
}//package _-50N

//------------------------------------------------------------
//_-50N._-3Qo

package _-50N
{
    import _-4Aj._-7V;
    import _-352._-4jw;

    public class _-3Qo extends _-7V 
    {

        public function _-3Qo(_arg1:Function)
        {
            super(_arg1, _-4jw);
        }
        public function _-3-5():_-4jw
        {
            return ((_-515 as _-4jw));
        }

    }
}//package _-50N

//------------------------------------------------------------
//_-50N._-5Dt

package _-50N
{
    import _-4Aj._-7V;
    import _-352._-4jw;

    public class _-5Dt extends _-7V 
    {

        public function _-5Dt(_arg1:Function)
        {
            super(_arg1, _-4jw);
        }
        public function _-3-5():_-4jw
        {
            return ((_-515 as _-4jw));
        }

    }
}//package _-50N

//------------------------------------------------------------
//_-50N._-Wf

package _-50N
{
    import _-4Aj._-7V;
    import _-352._-1NO;

    public class _-Wf extends _-7V 
    {

        public function _-Wf(_arg1:Function)
        {
            super(_arg1, _-1NO);
        }
        public function _-3-5():_-1NO
        {
            return ((_-515 as _-1NO));
        }

    }
}//package _-50N

//------------------------------------------------------------
//_-50q._-1AX

package _-50q
{
    import _-4Aj._-7V;
    import _-1l1._-1mP;
    import _-4Aj.*;

    public class _-1AX extends _-7V implements _-0tL 
    {

        public function _-1AX(_arg1:Function)
        {
            super(_arg1, _-1mP);
        }
        public function _-3-5():_-1mP
        {
            return ((this._-515 as _-1mP));
        }

    }
}//package _-50q

//------------------------------------------------------------
//_-52-._-19a

package _-52-
{
    import _-4Aj._-7V;
    import _-53E.Game2WeeklyLeaderboardParser;

    public class _-19a extends _-7V 
    {

        public function _-19a(_arg1:Function)
        {
            super(_arg1, Game2WeeklyLeaderboardParser);
        }
        public function _-3-5():Game2WeeklyLeaderboardParser
        {
            return ((this._-515 as Game2WeeklyLeaderboardParser));
        }

    }
}//package _-52-

//------------------------------------------------------------
//_-52-._-29I

package _-52-
{
    import _-4Aj._-7V;
    import _-53E.Game2WeeklyLeaderboardParser;

    public class _-29I extends _-7V 
    {

        public function _-29I(_arg1:Function)
        {
            super(_arg1, Game2WeeklyLeaderboardParser);
        }
        public function _-3-5():Game2WeeklyLeaderboardParser
        {
            return ((this._-515 as Game2WeeklyLeaderboardParser));
        }

    }
}//package _-52-

//------------------------------------------------------------
//_-52-._-3iX

package _-52-
{
    import _-4Aj._-7V;
    import _-53E._-1qa;

    public class _-3iX extends _-7V 
    {

        public function _-3iX(_arg1:Function)
        {
            super(_arg1, _-1qa);
        }
        public function _-3-5():_-1qa
        {
            return ((this._-515 as _-1qa));
        }

    }
}//package _-52-

//------------------------------------------------------------
//_-52-._-4v1

package _-52-
{
    import _-4Aj._-7V;
    import _-53E._-xK;

    public class _-4v1 extends _-7V 
    {

        public function _-4v1(_arg1:Function)
        {
            super(_arg1, _-xK);
        }
        public function _-3-5():_-xK
        {
            return ((this._-515 as _-xK));
        }

    }
}//package _-52-

//------------------------------------------------------------
//_-52-.Game2FriendsLeaderboardEvent

package _-52-
{
    import _-4Aj._-7V;
    import _-53E.Game2LeaderboardParser;

    public class Game2FriendsLeaderboardEvent extends _-7V 
    {

        public function Game2FriendsLeaderboardEvent(_arg1:Function)
        {
            super(_arg1, Game2LeaderboardParser);
        }
        public function _-3-5():Game2LeaderboardParser
        {
            return ((this._-515 as Game2LeaderboardParser));
        }

    }
}//package _-52-

//------------------------------------------------------------
//_-52-.Game2TotalLeaderboardEvent

package _-52-
{
    import _-4Aj._-7V;
    import _-53E.Game2LeaderboardParser;

    public class Game2TotalLeaderboardEvent extends _-7V 
    {

        public function Game2TotalLeaderboardEvent(_arg1:Function)
        {
            super(_arg1, Game2LeaderboardParser);
        }
        public function _-3-5():Game2LeaderboardParser
        {
            return ((this._-515 as Game2LeaderboardParser));
        }

    }
}//package _-52-

//------------------------------------------------------------
//_-52-.Game2WeeklyFriendsLeaderboardEvent

package _-52-
{
    import _-4Aj._-7V;
    import _-53E.Game2WeeklyLeaderboardParser;

    public class Game2WeeklyFriendsLeaderboardEvent extends _-7V 
    {

        public function Game2WeeklyFriendsLeaderboardEvent(_arg1:Function)
        {
            super(_arg1, Game2WeeklyLeaderboardParser);
        }
        public function _-3-5():Game2WeeklyLeaderboardParser
        {
            return ((this._-515 as Game2WeeklyLeaderboardParser));
        }

    }
}//package _-52-

//------------------------------------------------------------
//_-52-.Game2WeeklyLeaderboardEvent

package _-52-
{
    import _-4Aj._-7V;
    import _-53E.Game2WeeklyLeaderboardParser;

    public class Game2WeeklyLeaderboardEvent extends _-7V 
    {

        public function Game2WeeklyLeaderboardEvent(_arg1:Function)
        {
            super(_arg1, Game2WeeklyLeaderboardParser);
        }
        public function _-3-5():Game2WeeklyLeaderboardParser
        {
            return ((this._-515 as Game2WeeklyLeaderboardParser));
        }

    }
}//package _-52-

//------------------------------------------------------------
//_-52B._-0Xq

package _-52B
{
    import _-om._-b6;

    public class _-0Xq 
    {

        private var _-55c:Boolean;
        private var _-270:Boolean;
        private var _-3HP:int;
        private var _-3Qr:int;

        public function _-0Xq()
        {
            this._-3HP = _-b6._-Q7;
            this._-3Qr = _-b6._-3Zw;
            super();
        }
        private function _-3Cm():Boolean
        {
            return (((this._-55c) && (!(this._-270))));
        }
        public function _-4PE(_arg1:Boolean):int
        {
            this._-55c = _arg1;
            if (!this._-3Cm())
            {
                return (this._-3xo(_-b6._-Q7));
            };
            return (this._-4RP());
        }
        public function _-lB(_arg1:Boolean):int
        {
            this._-270 = _arg1;
            if (!this._-3Cm())
            {
                return (this._-3xo(_-b6._-Q7));
            };
            return (this._-4RP());
        }
        public function _-0zM():int
        {
            return (this._-3HP);
        }
        public function _-3xo(_arg1:int):int
        {
            if (!this._-3Cm())
            {
                this._-3Qr = _arg1;
                return (this._-3HP);
            };
            this._-3HP = _arg1;
            this._-3Qr = _arg1;
            return (this._-3HP);
        }
        private function _-4RP():int
        {
            var k:int = this._-3Qr;
            if (k == _-b6._-Q7)
            {
                k = _-b6._-3Zw;
            };
            this._-3HP = k;
            this._-3Qr = k;
            return (k);
        }

    }
}//package _-52B

//------------------------------------------------------------
//_-52B._-1DW

package _-52B
{
    import _-om._-2SM;
    import _-2fV._-1gb;
    import _-yT._-7k;
    import _-2fV._-jh;
    import _-Fu._-1Fl;
    import _-2JC.EventStreamData;
    import __AS3__.vec.Vector;
    import _-2ly._-11j;

    public class _-1DW 
    {

        private var _-3Gv:_-2SM;
        private var _-0nv:_-1ig;
        private var _-2Jp:FeedSettings;
        private var _-yQ:_-1gb;

        public function _-1DW(_arg1:_-2SM)
        {
            this._-3Gv = _arg1;
            this._-2Jp = new FeedSettings(this);
            this._-0nv = new _-1ig(this, _arg1);
            this._-yQ = new _-1gb();
            this._-3Gv._-1ED.events.addEventListener(_-7k._-3h9, this._-27K);
            this._-3Gv._-1ED.events.addEventListener(_-7k._-1YC, this._-27K);
            this._-3Gv._-1ED.events.addEventListener(_-7k._-44W, this._-27K);
        }
        public function dispose():void
        {
            if (this._-0nv)
            {
                this._-0nv.dispose();
                this._-0nv = null;
            };
            this._-3Gv._-1ED.events.removeEventListener(_-7k._-3h9, this._-27K);
            this._-3Gv._-1ED.events.removeEventListener(_-7k._-1YC, this._-27K);
            this._-3Gv._-1ED.events.removeEventListener(_-7k._-44W, this._-27K);
            this._-3Gv = null;
            if (this._-2Jp)
            {
                this._-2Jp.dispose();
                this._-2Jp = null;
            };
            if (this._-yQ)
            {
                this._-yQ.dispose();
                this._-yQ = null;
            };
        }
        private function _-27K(_arg1:_-7k):void
        {
            switch (_arg1.type)
            {
                case _-7k._-3h9:
                case _-7k._-1YC:
                case _-7k._-44W:
                    if (this._-0nv)
                    {
                        this._-0nv._-lB(_arg1.session.isGameSession);
                    };
                    return;
            };
        }
        public function _-45D(_arg1:Boolean):void
        {
            if (this._-0nv)
            {
                this._-0nv._-2NB(_arg1);
            };
        }
        public function getSettings():FeedSettings
        {
            return (this._-2Jp);
        }
        public function _-P7():void
        {
        }
        public function _-3HN(_arg1:int, _arg2:_-1Fl):void
        {
            var k:_-jh = this._-yQ._-1xm(_arg2);
            this._-0nv._-3wA(_arg1, k);
        }
        public function _-03i(_arg1:Vector.<EventStreamData>):void
        {
            var k:EventStreamData;
            this._-0nv._-2a3();
            for each (k in _arg1)
            {
                this._-0nv._-3PH(this._-yQ._-2Dz(k));
            };
        }
        public function _-3NG(_arg1:String):void
        {
            if (_arg1.indexOf("http") == 0)
            {
                _-11j._-0D8(_arg1);
            };
        }

    }
}//package _-52B

//------------------------------------------------------------
//_-52B._-1ig

package _-52B
{
    import _-om._-2SM;
    import _-Ew.IWindowContainer;
    import _-18r.Map;
    import _-2fV.FeedEntity;
    import _-0eZ._-2m-;
    import _-om._-b6;
    import _-1B-._-1zZ;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-09j.WindowParam;
    import _-0Ie.WindowMouseEvent;
    import _-0eZ._-3Ps;
    import _-0eZ._-31F;
    import _-0eZ._-Fx;
    import _-0eZ._-55Z;
    import _-0eZ._-5EC;
    import _-0eZ._-3on;
    import _-2fV._-jh;

    public class _-1ig 
    {

        public static const _-460:String = "pane_feeds";
        public static const _-3h3:String = "pane_notifications";
        public static const _-25f:String = "pane_stream";
        public static const _-4jW:String = "pane_settings";
        public static const _-IN:String = "pane_info";
        public static const _-13m:String = "pane_status";
        private static const _-31G:String = "settings_toggle";
        private static const _-Jl:String = "info_toggle";

        private var _-0i5:_-0Xq;
        private var _-3Gv:_-2SM;
        private var _-513:_-1DW;
        private var _-0xv:IWindowContainer;
        private var _-11K:Map;

        public function _-1ig(_arg1:_-1DW, _arg2:_-2SM)
        {
            this._-513 = _arg1;
            this._-3Gv = _arg2;
            this._-0i5 = new _-0Xq();
            FeedEntity._-1s7(this.windowManager, this.assets, this.localization, _arg1);
            this._-3mA();
            this.closePaneLevel(_-2m-.PANE_VIEW_LEVEL_MODAL);
            this.switchToPane(_-3h3);
            this._-4Mm(_-b6._-3Zw);
        }
        public function dispose():void
        {
            var k:_-1zZ;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-11K)
            {
                for each (k in this._-11K)
                {
                    k.dispose();
                };
                this._-11K.dispose();
                this._-11K = null;
            };
            FeedEntity._-2dd();
            this._-513 = null;
            this._-0i5 = null;
            this._-3Gv = null;
        }
        public function get windowManager():_-3Ts
        {
            return (this._-3Gv.windowManager);
        }
        public function get assets():_-39L
        {
            return (this._-3Gv.assets);
        }
        public function get localization():_-0hg
        {
            return (this._-3Gv.localization);
        }
        public function get controller():_-1DW
        {
            return (this._-513);
        }
        private function _-3mA():void
        {
            if (this._-0xv)
            {
                return;
            };
            this._-0xv = (this._-3Gv.windowManager.buildFromXML((this._-3Gv.assets.getAssetByName("feed_display_xml").content as XML)) as IWindowContainer);
            this._-0xv.height = this._-0xv.desktop.height;
            this._-0xv.setParamFlag(WindowParam._-ci);
            this._-0xv.setParamFlag(WindowParam._-0Ef);
            this._-0xv.findChildByName(_-31G).addEventListener(WindowMouseEvent._-90, this._-08K);
            this._-0xv.findChildByName(_-Jl).addEventListener(WindowMouseEvent._-90, this._-23-);
            this._-11K = new Map();
            this._-11K.add(_-3h3, new _-3Ps(_-3h3, this, (this._-0xv.findChildByName(_-3h3) as IWindowContainer)));
            this._-11K.add(_-25f, new _-31F(_-25f, this, (this._-0xv.findChildByName(_-25f) as IWindowContainer)));
            this._-11K.add(_-IN, new _-Fx(_-IN, this, (this._-0xv.findChildByName(_-IN) as IWindowContainer)));
            this._-11K.add(_-4jW, new _-55Z(_-4jW, this, (this._-0xv.findChildByName(_-4jW) as IWindowContainer)));
            this._-11K.add(_-13m, new _-5EC(_-13m, this, (this._-0xv.findChildByName(_-13m) as IWindowContainer)));
        }
        public function toggleMinimized():void
        {
            switch (this._-0i5._-0zM())
            {
                case _-b6._-212:
                    this._-4Mm(_-b6._-3Zw);
                    return;
                case _-b6._-3Zw:
                    this._-4Mm(_-b6._-212);
                    return;
            };
        }
        public function _-4Mm(_arg1:int):void
        {
            var _local3:IWindowContainer;
            var k:int = this._-0i5._-3xo(_arg1);
            switch (k)
            {
                case _-b6._-Q7:
                    this._-0xv.x = this._-0xv.desktop.width;
                    this._-0xv.visible = false;
                    return;
                case _-b6._-3Zw:
                    this._-0xv.visible = true;
                    _local3 = (this._-0xv.findChildByName("main_view") as IWindowContainer);
                    this._-0xv.x = (this._-0xv.desktop.width - (this._-0xv.width - _local3.width));
                    return;
                case _-b6._-212:
                    this._-0xv.visible = true;
                    this._-0xv.x = (this._-0xv.desktop.width - this._-0xv.width);
                    return;
            };
        }
        public function _-2NB(_arg1:Boolean):void
        {
            this._-0i5._-4PE(_arg1);
            this._-4Mm(this._-0i5._-0zM());
        }
        public function _-lB(_arg1:Boolean):void
        {
            this._-0i5._-lB(_arg1);
            this._-4Mm(this._-0i5._-0zM());
        }
        public function switchToPane(_arg1:String):void
        {
            var k:_-3on = this._-11K.getValue(_arg1);
            if (!k)
            {
                return;
            };
            this.closePaneLevel(k._-JW);
            k._-0m7 = true;
        }
        public function closePaneLevel(_arg1:int):void
        {
            var k:_-2m-;
            for each (k in this._-11K)
            {
                if (k._-JW == _arg1)
                {
                    k._-0m7 = false;
                };
            };
        }
        public function _-3wA(_arg1:int, _arg2:_-jh):void
        {
            (this._-11K.getValue(_-3h3) as _-3Ps)._-0df(_arg1, _arg2);
        }
        public function _-3PH(_arg1:_-jh):void
        {
            (this._-11K.getValue(_-25f) as _-31F)._-0df(_arg1);
        }
        public function _-2a3():void
        {
        }
        private function _-08K(_arg1:WindowMouseEvent):void
        {
            var k:_-3on = (this._-11K.getValue(_-4jW) as _-3on);
            if (k)
            {
                if (k._-0m7)
                {
                    this.closePaneLevel(_-2m-.PANE_VIEW_LEVEL_MODAL);
                }
                else
                {
                    this.switchToPane(_-4jW);
                };
            };
        }
        private function _-23-(_arg1:WindowMouseEvent):void
        {
            var k:_-3on = (this._-11K.getValue(_-IN) as _-3on);
            if (k)
            {
                if (k._-0m7)
                {
                    this.closePaneLevel(_-2m-.PANE_VIEW_LEVEL_MODAL);
                }
                else
                {
                    this.switchToPane(_-IN);
                };
            };
        }

    }
}//package _-52B

//------------------------------------------------------------
//_-52B.FeedSettings

package _-52B
{
    import __AS3__.vec.Vector;
    import __AS3__.vec.*;

    public class FeedSettings 
    {

        public static const _-Fz:int = 0;
        public static const _-4SH:int = 1;
        public static const _-0g8:int = 2;
        public static const _-0vH:int = 3;
        public static const _-3GF:int = 0;
        public static const _-zu:int = 1;
        public static const _-130:int = 2;

        private var _-0S5:_-1DW;
        private var _-1ni:Vector.<int>;

        public function FeedSettings(_arg1:_-1DW)
        {
            this._-1ni = new Vector.<int>();
            this._-1ni.push(FeedSettings._-zu);
            this._-1ni.push(FeedSettings._-3GF);
            this._-1ni.push(FeedSettings._-130);
        }
        public function dispose():void
        {
            this._-0S5 = null;
            this._-1ni = null;
        }
        public function _-0hH():Vector.<int>
        {
            return (this._-1ni);
        }
        public function _-4ob(_arg1:int):void
        {
            this._-0S5._-P7();
        }

    }
}//package _-52B

//------------------------------------------------------------
//_-52P._-00B

package _-52P
{
    import _-2b4.SnowWarEngine;
    import _-Ew.IWindowContainer;
    import _-18r.Map;
    import _-1Fi._-2qg;
    import _-0W2.SnowWarAnimatedWindowElement;
    import _-0W2.WindowUtils;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-T7.Game2ExitGameMessageComposer;
    import _-0hd._-3uv;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-2kE;
    import flash.display.BitmapData;
    import _-1Fi._-2jf;
    import _-1ae.IItemListWindow;
    import _-1ae.IRegionWindow;
    import flash.geom.Point;
    import _-4Kb._-3FK;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-4Kb.*;
    import _-1B-.*;

    public class _-00B implements _-1zZ, _-3QA 
    {

        private var _disposed:Boolean;
        private var _-346:SnowWarEngine;
        private var _-0xv:IWindowContainer;
        private var _-3Cq:Map;
        private var _-2kv:_-2qg;
        private var _-1L9:_-gu;
        private var _-454:Array;

        public function _-00B(_arg1:SnowWarEngine)
        {
            this._-454 = [];
            super();
            this._-346 = _arg1;
            this._-3Cq = new Map();
            this._-2pq();
            this._-1L9 = new _-gu(this._-346);
            this._-1L9.background.visible = true;
            this._-346.windowManager.getDesktop(1).visible = false;
            this._-346._-4PF.visible = false;
        }
        public function dispose():void
        {
            var k:SnowWarAnimatedWindowElement;
            if (this._disposed)
            {
                return;
            };
            this._-346.windowManager.getDesktop(1).visible = true;
            this._-346 = null;
            if (this._-3Cq)
            {
                for each (k in this._-3Cq)
                {
                    k.dispose();
                };
                this._-3Cq.dispose();
                this._-3Cq = null;
            };
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-1L9)
            {
                this._-1L9.dispose();
                this._-1L9 = null;
            };
            this._disposed = true;
            this._-454 = [];
        }
        private function _-2pq():void
        {
            this._-0xv = (WindowUtils.createWindow("snowwar_ending") as IWindowContainer);
            this._-0xv.x = ((this._-0xv.desktop.width - this._-0xv.width) / 2);
            this._-0xv.y = (((this._-0xv.desktop.height > 685)) ? 115 : 10);
            WindowUtils._-50j(this._-0xv.findChildByName("endingInformation"), "${snowwar.loading.title}");
            WindowUtils._-1Mx(this._-0xv, "buttonsContainer");
            WindowUtils._-1Mx(this._-0xv, "mostKillsContainer");
            WindowUtils._-1Mx(this._-0xv, "mostHitsContainer");
            WindowUtils._-1Mx(this._-0xv, "team1Score");
            WindowUtils._-1Mx(this._-0xv, "team2Score");
            WindowUtils._-1Mx(this._-0xv, "statusContainer");
            this._-0xv.findChildByName("loadingContainer").visible = true;
            this._-0xv.findChildByName("leave_link_region").procedure = this._-50H;
        }
        private function _-50H(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-4F9();
        }
        private function _-4F9():void
        {
            if (this._-346 != null)
            {
                this._-346._-1sA(true);
                this._-346.send(new Game2ExitGameMessageComposer());
                if (this._-346._-0HJ > -1)
                {
                    this._-346.send(new _-3uv(this._-346._-0HJ, false, true));
                };
                this._-346._-06b();
            };
        }
        public function show(_arg1:_-2qg):void
        {
            this._-2kv = _arg1;
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("arenaPreview") as IBitmapWrapperWindow);
            var k:_-2kE = this._-346.assets.getAssetByName((("arena_" + _arg1._-4dH) + "_preview"));
            if (k)
            {
                k.bitmap = (k.content as BitmapData);
                k._-30Z = false;
            };
            WindowUtils._-50j(this._-0xv.findChildByName("arenaName"), this._-346._-0i8(_arg1));
            this._-3wT();
        }
        private function _-3wT():void
        {
            var k:_-2jf;
            this._-1T6();
            for each (k in this._-2kv._-EZ.sort(_-2jf._-2AM))
            {
                this._-1i4(k);
            };
        }
        private function _-1T6():void
        {
            var k:IItemListWindow;
            var k:int = 1;
            while ((k = (this._-0xv.findChildByName((("team" + k++) + "PlayersList")) as IItemListWindow)) != null)
            {
                k._-Ls();
            };
        }
        private function _-1i4(_arg1:_-2jf):void
        {
            var k:int;
            var k:int = _arg1._-0b0;
            var k:IItemListWindow = (this._-0xv.findChildByName((("team" + k) + "PlayersList")) as IItemListWindow);
            var k:IItemListWindow = (WindowUtils.createWindow(("snowwar_results_player_team_" + k)) as IItemListWindow);
            var k:IWindowContainer = (k.getListItemByName("playerImageContainer") as IWindowContainer);
            var k:IWindowContainer = (k.getListItemByName("playerDataContainer") as IWindowContainer);
            var k:IWindowContainer = (k.getListItemByName("playerScoreContainer") as IWindowContainer);
            if (_arg1.userId == this._-346.sessionDataManager.userId)
            {
                WindowUtils._-qb(k.findChildByName("playerImageBackground"), this._-5Es("green_square"));
            };
            switch (k)
            {
                case 2:
                    k = 4;
                    break;
                case 1:
                default:
                    k = 2;
            };
            WindowUtils._-qb(this._-2vD(k, "playerImage"), this._-3Uh(_arg1._-0b0, _arg1.figure, _arg1.gender, k));
            WindowUtils._-50j(this._-2vD(k, "playerName"), _arg1.name);
            WindowUtils._-1Mx(k, "playerStats");
            WindowUtils._-1Mx(k, "playerScore");
            WindowUtils._-1Mx(k, "playerTotalStats");
            var k:IBitmapWrapperWindow = (k.findChildByName("skillLevel") as IBitmapWrapperWindow);
            if (k.bitmap)
            {
                k.bitmap.dispose();
            };
            k.bitmap = this._-2BZ(_arg1.skillLevel, _arg1._-0b0);
            var k:IRegionWindow = (k.findChildByName("scoreTooltip") as IRegionWindow);
            k._-2QR = ((_arg1._-0aL.toString() + "/") + _arg1._-0hP.toString());
            k.visible = true;
            k.addListItem(k);
            var k:IBitmapWrapperWindow = (k.findChildByName("loadingIcon") as IBitmapWrapperWindow);
            var k:SnowWarAnimatedWindowElement = this._-3Cq.remove(_arg1.userId);
            if (k)
            {
                k.dispose();
            };
            k = new SnowWarAnimatedWindowElement(this._-346.assets, k, "load_", 8);
            this._-3Cq.add(_arg1.userId, k);
            k.visible = true;
        }
        private function _-2BZ(_arg1:int, _arg2:int):BitmapData
        {
            var k:BitmapData;
            var k:Point;
            k = Math.min(_arg1, 30);
            var k:BitmapData = (this._-346.assets.getAssetByName("star_empty").content as BitmapData);
            var k:BitmapData = (this._-346.assets.getAssetByName("star_filled_bronze").content as BitmapData);
            var k:BitmapData = (this._-346.assets.getAssetByName("star_filled_silver").content as BitmapData);
            var k:BitmapData = (this._-346.assets.getAssetByName("star_filled_gold").content as BitmapData);
            var k:int = (((k)>0) ? (((k - 1) % 10) + 1) : 0);
            var k:BitmapData = new BitmapData(150, 13, true, 0);
            var k:int;
            while (k < 10)
            {
                k = (((_arg2 == 1)) ? new Point((k * 15), 0) : new Point(((9 - k) * 15), 0));
                k = (((k)>20) ? var _temp1 = k;
k = (k - 1);
(((_temp1)>0) ? k : k) : (((k)>10) ? var _temp2 = k;
k = (k - 1);
(((_temp2)>0) ? k : k) : var _temp3 = k;
k = (k - 1);
(((_temp3)>0) ? k : k)));
                k.copyPixels(k, k.rect, k);
                k++;
            };
            return (k);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-0-V(_arg1:String):void
        {
            if (this._-454.indexOf(_arg1) == -1)
            {
                this._-3wT();
                this._-454.push(_arg1);
            };
        }
        private function _-2vD(_arg1:IWindowContainer, _arg2:String):IWindow
        {
            return (_arg1.findChildByName(_arg2));
        }
        private function _-5Es(_arg1:String):BitmapData
        {
            return ((this._-346.assets.getAssetByName(_arg1).content as BitmapData));
        }
        private function _-3Uh(_arg1:int, _arg2:String, _arg3:String, _arg4:int):BitmapData
        {
            var k:_-3FK = this._-346._-5-f._-4oc(_arg2);
            switch (_arg1)
            {
                case 1:
                    k._-0mL("ch", 20000, [1]);
                    break;
                case 2:
                    k._-0mL("ch", 20001, [1]);
                    break;
                default:
                    k._-0mL("ch", 20000, [1]);
            };
            var k:_-40f = this._-346._-5-f.createAvatarImage(k._-2q0(), _-1uH._-Pq, _arg3, this);
            if (k)
            {
                k.setDirection(_-24J._-2YU, _arg4);
                return (k._-1hx(_-24J._-2YU));
            };
            return (null);
        }
        public function _-1jI(_arg1:Array):void
        {
            var k:int;
            var k:SnowWarAnimatedWindowElement;
            for each (k in _arg1)
            {
                k = this._-3Cq.remove(k);
                if (k)
                {
                    k.dispose();
                };
            };
            if (this._-3Cq.length == 0)
            {
                this._-3Cq.add(-1, new SnowWarAnimatedWindowElement(this._-346.assets, (this._-0xv.findChildByName("mainLoadingIcon") as IBitmapWrapperWindow), "load_", 8));
                WindowUtils._-50j(this._-0xv.findChildByName("loadingText"), "${snowwar.loading_arena}");
            };
        }

    }
}//package _-52P

//------------------------------------------------------------
//_-52P._-gu

package _-52P
{
    import _-2b4.SnowWarEngine;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import _-1ae.IDesktopWindow;
    import _-0W2.WindowUtils;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-1B-.*;

    public class _-gu implements _-1zZ 
    {

        private var _disposed:Boolean;
        private var _-346:SnowWarEngine;
        private var _-4aE:IWindowContainer;

        public function _-gu(_arg1:SnowWarEngine)
        {
            this._-346 = _arg1;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            this._-346 = null;
            if (this._-4aE)
            {
                this._-4aE.dispose();
                this._-4aE = null;
            };
            this._disposed = true;
        }
        public function get background():IWindow
        {
            if (!this._-4aE)
            {
                this._-4j();
            };
            return (this._-4aE);
        }
        private function _-4j():void
        {
            var k:IBitmapWrapperWindow;
            var k:BitmapDataAsset;
            var k:IDesktopWindow = this._-346.windowManager.getDesktop(0);
            this._-4aE = (WindowUtils.createWindow("snowwar_loading_background_xml", 1) as IWindowContainer);
            this._-4aE.width = k.width;
            this._-4aE.height = k.height;
            k.addChildAt(this._-4aE, 0);
            this._-0W6("bg_sky", "sky", this._-4aE);
            this._-0W6("bg_sunshine", "sunshine", this._-4aE);
            this._-0W6("bg_vista_1", "vista_1", this._-4aE, true);
            this._-0W6("bg_vista_2", "vista_2", this._-4aE, true);
            this._-0W6("bg_vista_3", "vista_3", this._-4aE, true);
        }
        private function _-0W6(_arg1:String, _arg2:String, _arg3:IWindowContainer, _arg4:Boolean=false):void
        {
            var k:BitmapData;
            var k:int;
            var k:BitmapDataAsset = (this._-346.assets.getAssetByName(_arg1) as BitmapDataAsset);
            var k:IBitmapWrapperWindow = (_arg3.findChildByName(_arg2) as IBitmapWrapperWindow);
            var k:BitmapData = (k.content as BitmapData);
            if (_arg4)
            {
                k = new BitmapData(_arg3.width, k.height, true, 0);
                k = 0;
                while (k < ((_arg3.width / k.width) + 1))
                {
                    k.copyPixels(k, k.rect, new Point((k * k.width), 0));
                    k++;
                };
                k.bitmap = k;
            }
            else
            {
                k.bitmap = k;
                k._-30Z = false;
            };
        }

    }
}//package _-52P

//------------------------------------------------------------
//_-52P.GameArenaView

package _-52P
{
    import _-2b4.SnowWarEngine;
    import _-2b4._-4aN;
    import flash.display.Stage;
    import _-3mW._-1sV;
    import flash.events.MouseEvent;
    import _-1Fi._-iq;
    import _-0y0._-Xl;
    import _-293._-4q2;
    import _-2b4.SnowWarGameStage;
    import _-1Fi._-0Iz;
    import _-3mW.RoomPlaneParser;
    import _-293._-56x;
    import _-2b4.Tile;
    import _-48o._-4a8;
    import _-4Vx.SnowWarGameObject;
    import _-0W2.Direction8;
    import _-4Vx.HumanGameObject;
    import _-3V-._-3SU;
    import _-0y0._-06R;
    import _-4Vx._-EN;
    import _-4Vx._-2iW;
    import _-4Vx._-4Dz;
    import _-4Vx.TreeGameObject;
    import flash.utils.getTimer;
    import _-48o._-s-;
    import _-0se._-18q;
    import _-2b4._-19O;
    import _-mv._-2TN;
    import _-4Kb._-3FK;
    import _-4rn._-E7;
    import _-0W2.Direction360;
    import _-3mW._-4Wq;
    import _-3M2._-3qr;
    import _-293._-3Ic;
    import _-293.RoomEngine;
    import _-3V-._-lb;
    import _-4rn._-59O;
    import flash.display.BlendMode;
    import _-1B-.*;

    public class GameArenaView implements _-1zZ 
    {

        private static const _-2hJ:int = 1;
        private static const _-48B:int = 0;
        private static const TILE_CURSOR_STATE_TEAM_1:int = 3;
        private static const TILE_CURSOR_STATE_TEAM_2:int = 2;
        private static const TILE_CURSOR_STATE_TEAM_3:int = 4;
        private static const TILE_CURSOR_STATE_TEAM_4:int = 5;
        private static const _-35E:int = 95;
        private static const _-09i:int = 96;
        private static const _-3Rq:int = 98;
        private static const _-1Sr:int = 500;

        private var _-346:SnowWarEngine;
        private var _-2Ga:Array;
        private var _-4MC:Array;
        private var _-0gx:Array;
        private var _-3Zt:_-4aN;
        private var _-4Bk:Boolean = false;
        private var _-ih:SnowWarUI;
        private var _-0xh:Boolean;
        private var _-55v:Stage;
        private var _-0Zb:Boolean;

        public function GameArenaView(_arg1:SnowWarEngine)
        {
            this._-2Ga = [];
            this._-4MC = [];
            this._-0gx = [];
            super();
            this._-346 = _arg1;
            this._-346.roomEngine._-To(_-1sV._-37l);
        }
        public function dispose():void
        {
            this._-346.roomEngine._-1YJ(_-2hJ, _-48B);
            this._-346.roomEngine._-53K(_-1sV._-37l);
            if (this._-3Zt)
            {
                this._-3Zt.dispose();
                this._-3Zt = null;
            };
            if (this._-55v != null)
            {
                this._-55v.removeEventListener(MouseEvent.MOUSE_MOVE, this._-1nn);
                this._-55v = null;
            };
            this._-346 = null;
            this._-2Ga = null;
            this._-4MC = null;
            if (this._-ih)
            {
                this._-ih.dispose();
                this._-ih = null;
            };
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function init():void
        {
            var k:_-iq;
            var k:int;
            var k:Number;
            var k:_-Xl;
            var k:_-Xl;
            var k:int;
            var k:_-4q2;
            var k:int;
            var k:Number;
            this._-346.roomEngine._-1rr = true;
            var k:SnowWarGameStage = (this._-346._-2QZ._-1LJ() as SnowWarGameStage);
            var k:_-0Iz = k._-2xw;
            var k:Array = k._-PL();
            var k:RoomPlaneParser = new RoomPlaneParser();
            k._-1wG(k.width, k.height);
            var k:int;
            while (k < k.height)
            {
                k = 0;
                while (k < k.width)
                {
                    k._-2sx(k, k, (((k[k][k] == null)) ? RoomPlaneParser._-2pH : 0));
                    k++;
                };
                k++;
            };
            k._-38X();
            this._-346.roomEngine._-3be(_-2hJ, _-48B, k._-4sV());
            (this._-346.roomEngine as _-56x)._-4f0(_-2hJ, _-48B, false);
            k.dispose();
            for each (k in k._-2xw.fuseObjects)
            {
                k = (k._-t1 / Tile._-5-N);
                k = new _-Xl(k.x, k.y, k);
                k = new _-Xl((k.direction * 45));
                k = this._-346.roomEngine._-59n(k.name);
                k = k._-vM;
                k = 0;
                k = parseInt(k.getLegacyString());
                if (!isNaN(k))
                {
                    k = int(k);
                };
                this._-346.roomEngine._-2Pv(_-2hJ, _-48B, k.id, k, k, k, k, k);
            };
            this._-346._-4PF.visible = false;
            this._-55v = this._-346.context.displayObjectContainer.stage;
            this._-55v.addEventListener(MouseEvent.MOUSE_MOVE, this._-1nn);
        }
        private function _-1nn(_arg1:MouseEvent):void
        {
            this._-0Zb = ((_arg1.altKey) || (_arg1.shiftKey));
        }
        public function _-ra(_arg1:int):void
        {
            this._-ih = new SnowWarUI(this._-346);
            this._-ih.init();
            this._-1pw();
        }
        public function _-Zy():void
        {
            if (this._-ih)
            {
                this._-ih.dispose();
                this._-ih = null;
            };
        }
        public function update(_arg1:uint, _arg2:Boolean=false):void
        {
            var k:_-4a8;
            var k:int;
            var k:SnowWarGameObject;
            var k:Direction8;
            var k:HumanGameObject;
            var k:Number;
            var k:Number;
            var k:int;
            var k:int;
            var k:int;
            var k:_-3SU;
            var k:_-06R;
            var k:*;
            var k:HumanGameObject;
            var k:_-EN;
            var k:_-2iW;
            var k:_-4Dz;
            var k:TreeGameObject;
            var k:Boolean;
            var k:int;
            if (((_arg2) && (this._-3Zt)))
            {
                k = this._-3Zt.direction;
                if (k)
                {
                    k = (this._-346._-2QZ._-1LJ()._-4eu(this._-346._-00S) as HumanGameObject);
                    k = (k._-2Cq.x / Number(Tile._-2fT));
                    k = (k._-2Cq.y / Number(Tile._-2fT));
                    k = (k + (k._-1bx() * 2));
                    k = (k + (k._-1M1() * 2));
                    this._-346._-2tj(k, k);
                };
            };
            var k:int = getTimer();
            for each (k in this._-346._-2QZ._-1LJ()._-4zZ())
            {
                k = k._-4b;
                k = this._-2Ga.indexOf(k);
                if (k > -1)
                {
                    this._-346.roomEngine._-2I4(_-2hJ, _-48B, k);
                    this._-2Ga.splice(k, 1);
                };
                k = this._-4MC.indexOf(k);
                if (k > -1)
                {
                    k = this._-346.roomEngine.getRoomObject(_-2hJ, _-48B, k, _-1sV._-2ps);
                    k = k.getLocation();
                    this._-346.roomEngine._-4Ki(_-2hJ, _-48B, k, _-1sV._-2ps);
                    this._-4MC.splice(k, 1);
                    if (!_-s-(k)._-3Cm)
                    {
                        this._-346.roomEngine._-3us(_-2hJ, _-48B, k, k, _-1sV._-37l);
                        this._-0gx.push({
                            id:k,
                            time:k,
                            category:_-1sV._-37l
                        });
                    };
                };
            };
            k = (this._-0gx.length - 1);
            while (k > -1)
            {
                k = this._-0gx[k];
                if ((k - k.time) >= _-1Sr)
                {
                    this._-346.roomEngine._-4Ki(_-2hJ, _-48B, k.id, k.category);
                    this._-0gx.splice(k, 1);
                };
                k--;
            };
            var k:Array = this._-346._-2QZ._-1LJ()._-0G7();
            var k:Boolean;
            for each (k in k)
            {
                k = (k as HumanGameObject);
                if (k)
                {
                    k = (k.posture == _-18q._-04Q);
                    k = ((k) || (k));
                    this._-2zh(k);
                    if (k._-4b == this._-346._-00S)
                    {
                        k = (this._-346._-2QZ.getExtension() as _-19O)._-543();
                        this._-ih.timer = (this._-346._-1wF - ((this._-346._-2bd * k) / 1000));
                        this._-ih._-2ZD = k.score;
                        this._-ih._-2So = k._-2So;
                        this._-ih._-0rW = k._-0rW;
                    };
                };
                k = (k as _-EN);
                if (k)
                {
                    this._-Y-(k);
                };
                k = (k as _-2iW);
                if (k)
                {
                    this._-0ck(k);
                };
                k = (k as _-4Dz);
                if (k)
                {
                    this._-5CL(k);
                };
                k = (k as TreeGameObject);
                if (k)
                {
                    this._-4Nt(k);
                };
            };
            if (this._-ih)
            {
                this._-ih.update(_arg1);
            };
            if (((k) && (!(this._-0xh))))
            {
                this._-0xh = true;
                SnowWarEngine._-lx(_-2TN._-40M, int.MAX_VALUE);
            }
            else
            {
                if (((!(k)) && (this._-0xh)))
                {
                    this._-0xh = false;
                    SnowWarEngine._-4ls(_-2TN._-40M);
                };
            };
            var k:HumanGameObject = this._-346._-3VF();
            this._-346.roomEngine._-20A(_-2hJ, _-48B, k._-4b, (((k.team == 1)) ? _-09i : _-35E));
        }
        private function _-2zh(_arg1:HumanGameObject):void
        {
            var k:_-3FK;
            var _local10:Boolean;
            var k:_-E7;
            var k:Boolean;
            var k:Number = (_arg1._-2Cq.x / Number(Tile._-2fT));
            var k:Number = (_arg1._-2Cq.y / Number(Tile._-2fT));
            var k:int = _arg1._-4b;
            var k:int = _arg1._-4Mg();
            var k:int = Direction360.direction8ToDirection360Value(Direction8._-4DE(k));
            var k:_-06R = new _-Xl(k, 0, 0);
            if (this._-2Ga.indexOf(k) == -1)
            {
                k = this._-346._-5-f._-4oc(_arg1.figure);
                switch (_arg1.team)
                {
                    case 1:
                        k._-0mL("ch", 20000, [1]);
                        break;
                    case 2:
                        k._-0mL("ch", 20001, [1]);
                        break;
                    default:
                        k._-0mL("ch", 20000, [1]);
                };
                this._-346.roomEngine._-Kv(_-2hJ, _-48B, k, new _-Xl(k, k, 0), k, k, 1, k._-2q0());
                this._-346.roomEngine._-2ml(_-2hJ, _-48B, k, "std");
                this._-346.roomEngine._-1fn(_-2hJ, _-48B, k, _-4Wq._-3UC, 1);
                this._-2Ga.push(k);
                switch (_arg1._-05n)
                {
                    case _-3qr._-3Z3:
                        this._-2VW(this._-0GV(k));
                        break;
                    case _-3qr._-55K:
                        this._-19i(this._-0GV(k));
                        break;
                };
            }
            else
            {
                this._-346.roomEngine._-28X(_-2hJ, _-48B, k, new _-Xl(k, k, 0), new _-Xl(k, k, 0), false, 0, k, k);
                this._-346.roomEngine._-2ml(_-2hJ, _-48B, k, _arg1.posture);
                _local10 = ((!((_arg1.posture == _-18q._-Yu))) && (!((_arg1.posture == _-18q._-3PV))));
                this._-346.roomEngine._-1fn(_-2hJ, _-48B, k, _-4Wq._-3UC, int(_local10));
            };
            var k:_-3SU = this._-0GV(k);
            if (k != null)
            {
                k = (k._-1cm() as _-E7);
                k._-2IM(0).alpha = ((_arg1._-07Y) ? 100 : 0xFF);
                k = !((_arg1.team == this._-346._-3VF().team));
                if (k)
                {
                    if (((((((this._-346.roomEngine as _-3Ic)._-4jv == k)) && (!(_arg1._-07Y)))) && (!(_arg1._-0Mn()))))
                    {
                        this._-346.roomEngine._-20A(_-2hJ, _-48B, k, _-3Rq);
                    }
                    else
                    {
                        this._-346.roomEngine._-20A(_-2hJ, _-48B, k, 0);
                    };
                };
            };
        }
        private function _-Y-(_arg1:_-EN):void
        {
            var k:Number = (_arg1.location3D.x / Number(Tile._-2fT));
            var k:Number = (_arg1.location3D.y / Number(Tile._-2fT));
            var k:Number = (_arg1.location3D.z / Number(Tile._-5-N));
            var k:_-Xl = new _-Xl(k, k, k);
            var k:int = _arg1._-4b;
            if (this._-4MC.indexOf(k) == -1)
            {
                this._-346.roomEngine._-3us(_-2hJ, _-48B, k, k, _-1sV._-2ps);
                this._-4MC.push(k);
            }
            else
            {
                this._-346.roomEngine._-4Q9(_-2hJ, _-48B, k, k, _-1sV._-2ps);
            };
        }
        private function _-0ck(_arg1:_-2iW):void
        {
            var k:RoomEngine = (this._-346.roomEngine as RoomEngine);
            var k:_-lb = (k.getRoomObject(_-2hJ, _-48B, _arg1._-ko, _-1sV._-0u-) as _-lb);
            if (k.getState(0) != _arg1._-1mW)
            {
                k._-0xT(_-2hJ, _-48B, _arg1._-ko, null, null, _arg1._-1mW, null);
                k.setState(_arg1._-1mW, 0);
            };
        }
        private function _-5CL(_arg1:_-4Dz):void
        {
            var k:RoomEngine = (this._-346.roomEngine as RoomEngine);
            var k:_-lb = (k.getRoomObject(_-2hJ, _-48B, _arg1._-ko, _-1sV._-0u-) as _-lb);
            var k:int = (_arg1._-3rz - _arg1._-1mW);
            if (((k) && (!((k.getState(0) == k)))))
            {
                k._-0xT(_-2hJ, _-48B, _arg1._-ko, null, null, k, null);
                k.setState(k, 0);
            };
        }
        private function _-4Nt(_arg1:TreeGameObject):void
        {
            var k:RoomEngine = (this._-346.roomEngine as RoomEngine);
            var k:_-lb = (k.getRoomObject(_-2hJ, _-48B, _arg1._-ko, _-1sV._-0u-) as _-lb);
            if (((k) && (!((k.getState(0) == _arg1._-2XH)))))
            {
                k._-0xT(_-2hJ, _-48B, _arg1._-ko, null, null, _arg1._-2XH, null);
                k.setState(_arg1._-2XH, 0);
            };
        }
        private function _-0GV(_arg1:int):_-3SU
        {
            return (this._-346.roomEngine.getRoomObject(_-2hJ, _-48B, _arg1, _-1sV._-3I0));
        }
        private function _-2VW(_arg1:_-3SU):void
        {
            var k:_-E7;
            var k:int;
            var k:_-59O;
            if (_arg1)
            {
                k = (_arg1._-1cm() as _-E7);
                k = 0;
                while (k < k._-18O)
                {
                    k = k._-2IM(k);
                    k.blendMode = BlendMode.HARDLIGHT;
                    k++;
                };
            };
        }
        private function _-19i(_arg1:_-3SU):void
        {
            var k:_-E7;
            var k:int;
            var k:_-59O;
            if (_arg1)
            {
                k = (_arg1._-1cm() as _-E7);
                k = 0;
                while (k < k._-18O)
                {
                    k = k._-2IM(k);
                    k.visible = false;
                    k++;
                };
            };
        }
        public function _-w8(_arg1:uint):void
        {
            this._-ih._-w8(_arg1);
        }
        private function _-1pw():void
        {
            this._-ih._-2PH();
            this._-ih.update(1000);
        }
        public function _-2HE(_arg1:int):void
        {
            var k:int;
            switch (_arg1)
            {
                case 1:
                    k = TILE_CURSOR_STATE_TEAM_1;
                    break;
                case 2:
                    k = TILE_CURSOR_STATE_TEAM_2;
                    break;
                case 3:
                    k = TILE_CURSOR_STATE_TEAM_3;
                    break;
                case 4:
                    k = TILE_CURSOR_STATE_TEAM_4;
                    break;
                default:
                    k = 0;
            };
            this._-346.roomEngine._-Jf(_-2hJ, _-48B, k);
        }
        public function _-51F():void
        {
            if (this._-ih)
            {
                this._-ih._-51F();
            };
        }
        public function _-3KU():void
        {
            if (this._-ih)
            {
                this._-ih._-3KU();
            };
        }
        public function _-22N(_arg1:Boolean):void
        {
            if (this._-ih)
            {
                this._-ih._-22N(_arg1);
            };
        }

    }
}//package _-52P

//------------------------------------------------------------
//_-52P.GameEndingViewController

package _-52P
{
    import _-Ew.IWindowContainer;
    import _-2b4.SnowWarEngine;
    import flash.utils.Dictionary;
    import _-1Fi.Game2GameResult;
    import flash.utils.Timer;
    import _-18r.Map;
    import _-1Fi.Game2TeamScoreData;
    import _-1ae.ITextWindow;
    import _-0W2.WindowUtils;
    import _-uw.Game2GetAccountGameStatusMessageComposer;
    import _-0GO._-3lN;
    import _-1Fi.Game2SnowWarGameStats;
    import _-0W2.SnowWarAnimatedWindowElement;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-uw.Game2LeaveGameMessageComposer;
    import _-0hd._-3uv;
    import _-T7.Game2ExitGameMessageComposer;
    import flash.events.TimerEvent;
    import _-1Fi.Game2TeamPlayerData;
    import _-1ae.IItemListWindow;
    import _-2p5._-2ka;
    import flash.display.BitmapData;
    import _-4Kb._-3FK;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-295._-2kE;
    import _-1ae.IBitmapWrapperWindow;
    import _-1Fi._-2qg;
    import _-1Fi._-2jf;
    import _-1ae.IRegionWindow;
    import flash.geom.Point;
    import _-2HX._-4QU;
    import _-4Kb.*;
    import _-1B-.*;
    import _-0mD.*;

    public class GameEndingViewController implements _-1zZ, _-3QA, _-1vM 
    {

        private static const _-4Px:uint = 2;
        private static const _-nI:int = 0;
        private static const _-3AL:int = 1;
        private static const _-4W7:int = 2;
        private static const _-4id:int = 3;
        private static const _-jT:int = 4;
        private static const _-0OY:int = 5;
        private static const _-0gk:int = 0;
        private static const _-2O2:int = 1;
        private static const _-0wt:int = 2;

        private var _-0xv:IWindowContainer;
        private var _-346:SnowWarEngine;
        private var _-4Bk:Boolean = false;
        private var _-4jA:Array;
        private var _-3lc:Dictionary;
        private var _-1L9:_-gu;
        private var _-hZ:Game2GameResult;
        private var _-5A3:Timer;
        private var _-0pE:int = 0;
        private var _-0Ke:int = 0;
        private var _-2XV:Map;
        private var _-1D6:Map;
        private var _-34D:int = 0;
        private var _-3t0:int = -1;

        public function GameEndingViewController(_arg1:SnowWarEngine, _arg2:Array, _arg3:Game2SnowWarGameStats, _arg4:Game2GameResult, _arg5:int)
        {
            var k:Game2TeamScoreData;
            var k:ITextWindow;
            super();
            this._-4jA = _arg2;
            this._-3lc = new Dictionary();
            this._-346 = _arg1;
            this._-hZ = _arg4;
            this._-1D6 = new Map();
            this._-34D = ((this._-346.config.getBoolean("games.buy.x.games.enabled", false)) ? _-2O2 : _-0gk);
            if (((this._-346.catalog._-33Q.enabled) && (this._-346.config.getBoolean("games.buy.x.games.video.enabled", false))))
            {
                this._-34D = _-0wt;
                this._-346.catalog._-33Q.load(this);
            };
            _arg1._-4PF.visible = false;
            _arg1.windowManager.getDesktop(1).visible = false;
            this._-1L9 = new _-gu(this._-346);
            this._-1L9.background.visible = true;
            this._-KE();
            for each (k in _arg2)
            {
                this._-0jN(k);
            };
            k = (this._-2vD(this._-0xv, "endingInformation") as ITextWindow);
            if (this._-hZ._-0zc == Game2GameResult._-3Da)
            {
                WindowUtils._-3ga(k.parent, this._-2O-());
                WindowUtils._-50j(k, "${snowwar.result.tie}");
            }
            else
            {
                WindowUtils._-3ga(k.parent, this._-48V(this._-hZ._-1MP));
                WindowUtils._-50j(k, ((("$" + "{snowwar.team_") + this._-hZ._-1MP) + "_wins}"));
            };
            this._-579(_arg3._-3Qc);
            this._-2Np(_arg3._-3zD);
            this._-4Cu(_arg5);
            if (this._-346._-0m0)
            {
                WindowUtils._-1Mx(this._-0xv, "statusContainer");
            }
            else
            {
                WindowUtils._-Ny(this._-0xv, "statusContainer");
                this._-346.communication._-4gR(null).send(new Game2GetAccountGameStatusMessageComposer(_-3lN._-40G));
            };
            this._-54E();
        }
        public function dispose():void
        {
            var k:SnowWarAnimatedWindowElement;
            this._-346.windowManager.getDesktop(1).visible = true;
            this._-4aI();
            if (this._-1D6)
            {
                for each (k in this._-1D6)
                {
                    k.dispose();
                };
                this._-1D6.dispose();
                this._-1D6 = null;
            };
            if (this._-1L9)
            {
                this._-1L9.dispose();
                this._-1L9 = null;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-4jA = null;
            this._-3lc = null;
            this._-hZ = null;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        private function _-KE():void
        {
            this._-0xv = (WindowUtils.createWindow("snowwar_ending") as IWindowContainer);
            this._-0xv.x = ((this._-0xv.desktop.width - this._-0xv.width) / 2);
            this._-0xv.y = (((this._-0xv.desktop.height > 685)) ? 115 : 10);
            this._-0xv.findChildByName("leave_link_region").procedure = this._-50H;
            this._-0xv.findChildByName("button_rematch").addEventListener(WindowMouseEvent._-90, this._-1qv);
            this._-0xv.findChildByName("button_play_again").addEventListener(WindowMouseEvent._-90, this._-n7);
            this._-0xv.findChildByName("button_buy_games").addEventListener(WindowMouseEvent._-90, this._-1cJ);
            this._-0xv.findChildByName("button_watch_video").addEventListener(WindowMouseEvent._-90, this._-1cJ);
            this._-0xv.findChildByName("loadingContainer").visible = false;
            this._-0xv.findChildByName("statusContainer").addEventListener(WindowMouseEvent._-90, this._-2R2);
        }
        private function _-1qv(_arg1:WindowMouseEvent=null, _arg2:IWindow=null):void
        {
            var _local3:IWindow;
            if (this._-346._-58i == 0)
            {
                this._-2R2(_arg1);
            }
            else
            {
                this._-0Ke = _-3AL;
                this._-346._-4rf();
                _local3 = this._-0xv.findChildByName("button_rematch");
                _local3.color = 0xCCCCCC;
                _local3.disable();
                this._-0xv.findChildByName("statusContainer").visible = false;
            };
        }
        private function _-n7(_arg1:WindowEvent=null, _arg2:IWindow=null):void
        {
            this._-346._-XB();
            this._-0xv.findChildByName("button_play_again").visible = false;
            this._-0xv.findChildByName("statusContainer").visible = false;
        }
        private function _-1cJ(_arg1:WindowMouseEvent):void
        {
            this._-2R2(_arg1);
        }
        private function _-2OA():void
        {
            var k:IWindow = this._-0xv.findChildByName("button_rematch");
            var k:IWindow = this._-0xv.findChildByName("button_buy_games");
            var k:IWindow = this._-0xv.findChildByName("button_watch_video");
            var k:IWindow = this._-0xv.findChildByName("status.text_get_vip");
            var k:IWindow = this._-0xv.findChildByName("status.text_get_more_games");
            var k:IWindow = this._-0xv.findChildByName("status.text_watch_video");
            k.visible = false;
            k.visible = false;
            k.visible = false;
            k.visible = false;
            k.visible = false;
            k.visible = false;
            switch (this._-34D)
            {
                case _-2O2:
                    if (this._-346._-58i == 0)
                    {
                        k.visible = true;
                    }
                    else
                    {
                        k.visible = true;
                    };
                    k.visible = true;
                    return;
                case _-0wt:
                    if (this._-346._-58i == 0)
                    {
                        k.visible = true;
                    }
                    else
                    {
                        k.visible = true;
                    };
                    if (this._-3t0 > 0)
                    {
                        k.visible = true;
                    };
                    return;
                default:
                    k.visible = true;
                    k.visible = true;
            };
        }
        private function _-50H(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-4F9(true);
        }
        public function _-4F9(_arg1:Boolean):void
        {
            if (_arg1)
            {
                this._-346._-1sA(true);
                if ((((this._-0Ke == _-4id)) || ((this._-0Ke == _-4W7))))
                {
                    this._-346.communication._-4gR(null).send(new Game2LeaveGameMessageComposer());
                    if (this._-346._-0HJ > -1)
                    {
                        this._-346.communication._-4gR(null).send(new _-3uv(this._-346._-0HJ, false, true));
                    };
                }
                else
                {
                    if (this._-0Ke == _-0OY)
                    {
                        if (this._-346._-0HJ > -1)
                        {
                            this._-346.communication._-4gR(null).send(new _-3uv(this._-346._-0HJ, false, true));
                        }
                        else
                        {
                            this._-346.communication._-4gR(null).send(new Game2ExitGameMessageComposer());
                        };
                    }
                    else
                    {
                        this._-346.communication._-4gR(null).send(new Game2ExitGameMessageComposer());
                    };
                };
                this._-4aI();
            };
        }
        private function _-4aI():void
        {
            if (this._-5A3)
            {
                this._-5A3.removeEventListener(TimerEvent.TIMER, this._-1zO);
                this._-5A3.stop();
                this._-5A3 = null;
                this._-0pE = 0;
            };
        }
        private function _-0jN(_arg1:Game2TeamScoreData):void
        {
            var k:Game2TeamPlayerData;
            var k:int = _arg1._-2lR;
            for each (k in _arg1._-EZ)
            {
                this._-4xV(k);
            };
            WindowUtils._-50j(this._-2vD(this._-0xv, (("team" + k) + "Score")), _arg1.score.toString());
        }
        private function _-4xV(_arg1:Game2TeamPlayerData):void
        {
            this._-3lc[_arg1.userId] = _arg1;
            var k:IItemListWindow = (this._-0xv.findChildByName((("team" + _arg1._-0b0) + "PlayersList")) as IItemListWindow);
            var k:IItemListWindow = (WindowUtils.createWindow(("snowwar_results_player_team_" + _arg1._-0b0)) as IItemListWindow);
            var k:IWindowContainer = (k.getListItemByName("playerImageContainer") as IWindowContainer);
            var k:IWindowContainer = (k.getListItemByName("playerDataContainer") as IWindowContainer);
            var k:IWindowContainer = (k.getListItemByName("playerScoreContainer") as IWindowContainer);
            WindowUtils._-qb(this._-2vD(k, "playerImage"), this._-3Uh(_arg1._-0b0, _arg1.figure, _arg1.gender), 0, 0, 0);
            WindowUtils._-50j(this._-2vD(k, "playerName"), _arg1.userName);
            WindowUtils._-1Mx(k, "playerTotalStats");
            WindowUtils._-50j(this._-2vD(k, "playerHits"), _arg1.playerStats._-7o.toString());
            WindowUtils._-50j(this._-2vD(k, "playerKills"), _arg1.playerStats._-1hA.toString());
            WindowUtils._-50j(this._-2vD(k, "playerScore"), _arg1.score.toString());
            var k:IWindowContainer = (k.findChildByName("addFriend") as IWindowContainer);
            if (((this._-346._-4zV._-4QN(_arg1.userId)) && (!((_arg1.userId == this._-346.sessionDataManager.userId)))))
            {
                k.id = _arg1.userId;
                k.getChildAt(0).id = _arg1._-0b0;
                k.addEventListener(WindowMouseEvent._-90, this._-R7);
                k.addEventListener(WindowMouseEvent._-4ea, this._-4nJ);
                k.addEventListener(WindowMouseEvent._-4e2, this._-2GU);
                k.visible = true;
            };
            k.addListItem(k);
            k.name = ("player" + _arg1.userId);
        }
        private function _-R7(_arg1:WindowMouseEvent):void
        {
            var k:int = _arg1.window.id;
            var k:Game2TeamPlayerData = this._-3lc[k];
            if (k)
            {
                this._-346._-4zV._-7a(k, k.userName);
                this._-346.communication._-4gR(null).send(new _-2ka("GameFramework", "SnowStorm", "gameFramework.sendFriendRequest.rematchView"));
                this._-346._-27F(k, "${snowwar.friend_request.sent}", true);
            };
            _arg1.window.visible = false;
        }
        private function _-4nJ(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.window as IWindowContainer).getChildAt(0);
            WindowUtils._-qb(k, this._-5Es("add_friend_icon_green"));
        }
        private function _-2GU(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.window as IWindowContainer).getChildAt(0);
            var k:String = ("add_friend_icon_" + (((k.id == 1)) ? "blue" : "red"));
            WindowUtils._-qb(k, this._-5Es(k));
        }
        private function _-579(_arg1:int):void
        {
            var k:Game2TeamPlayerData = this._-3lc[_arg1];
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-0xv.findChildByName("mostHitsContainer") as IWindowContainer);
            if (k.playerStats._-7o == 0)
            {
                k.visible = false;
                return;
            };
            WindowUtils._-qb(this._-2vD(k, "backgroundImage"), this._-5Es(this._-3qE(k._-0b0)));
            WindowUtils._-qb(this._-2vD(k, "playerImage"), this._-3Uh(k._-0b0, k.figure, k.gender), 0, 0, 0);
            WindowUtils._-50j(this._-2vD(k, "playerName"), k.userName);
            WindowUtils._-3ga(k, this._-48V(k._-0b0));
        }
        private function _-2Np(_arg1:int):void
        {
            var k:Game2TeamPlayerData = this._-3lc[_arg1];
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-0xv.findChildByName("mostKillsContainer") as IWindowContainer);
            if (k.playerStats._-1hA == 0)
            {
                k.visible = false;
                return;
            };
            WindowUtils._-qb(this._-2vD(k, "backgroundImage"), this._-5Es(this._-3qE(k._-0b0)));
            WindowUtils._-qb(this._-2vD(k, "playerImage"), this._-3Uh(k._-0b0, k.figure, k.gender), 0, 0, 0);
            WindowUtils._-50j(this._-2vD(k, "playerName"), k.userName);
            WindowUtils._-3ga(k, this._-48V(k._-0b0));
        }
        private function _-3qE(_arg1:int):String
        {
            var k:String;
            switch (_arg1)
            {
                case 1:
                    k = "blue_square";
                    break;
                case 2:
                    k = "red_square";
                    break;
                default:
                    k = "blue_square";
            };
            return (k);
        }
        private function _-2O-():uint
        {
            return (8227482);
        }
        private function _-48V(_arg1:int):uint
        {
            switch (_arg1)
            {
                case 1:
                    return (4279269292);
                case 2:
                    return (4294797401);
            };
            return (4279269292);
        }
        private function _-1eD(_arg1:int):uint
        {
            switch (_arg1)
            {
                case 1:
                    return (2);
                case 2:
                    return (4);
            };
            return (2);
        }
        private function _-3Uh(_arg1:int, _arg2:String, _arg3:String):BitmapData
        {
            var k:BitmapData;
            var k:_-3FK = this._-346._-5-f._-4oc(_arg2);
            switch (_arg1)
            {
                case 1:
                    k._-0mL("ch", 20000, [1]);
                    break;
                case 2:
                    k._-0mL("ch", 20001, [1]);
                    break;
                default:
                    k._-0mL("ch", 20000, [1]);
            };
            var k:_-40f = this._-346._-5-f.createAvatarImage(k._-2q0(), _-1uH._-Pq, _arg3, this);
            if (k)
            {
                k.setDirection(_-24J._-2YU, this._-1eD(_arg1));
                return (k._-1hx(_-24J._-2YU));
            };
            return (k);
        }
        private function _-2vD(_arg1:IWindowContainer, _arg2:String):IWindow
        {
            return ((((_arg1)!=null) ? _arg1.findChildByName(_arg2) : null));
        }
        private function _-5Es(_arg1:String):BitmapData
        {
            var k:_-2kE = this._-346.assets.getAssetByName(_arg1);
            if (k)
            {
                return ((k.content as BitmapData));
            };
            return (null);
        }
        public function _-0-V(_arg1:String):void
        {
        }
        public function _-0Td(_arg1:int):void
        {
            var k:SnowWarAnimatedWindowElement;
            var k:IItemListWindow = (this._-0xv.findChildByName(("player" + _arg1)) as IItemListWindow);
            if (k == null)
            {
                return;
            };
            var k:Game2TeamPlayerData = this._-3lc[_arg1];
            if (k == null)
            {
                return;
            };
            k._-0A1 = true;
            var k:IWindowContainer = (k.getListItemByName("playerScoreContainer") as IWindowContainer);
            var k:IBitmapWrapperWindow = (this._-2vD(k, "playerScoreGlow") as IBitmapWrapperWindow);
            if (!this._-1D6._-VD(k))
            {
                k = new SnowWarAnimatedWindowElement(this._-346.assets, k, "rematch_", 6, 100, true);
                this._-1D6.add(k, k);
            };
        }
        public function _-3BL(_arg1:Boolean):void
        {
            var k:Game2TeamPlayerData;
            var k:int;
            var k:IItemListWindow;
            var k:IItemListWindow;
            var _local7:IWindowContainer;
            var _local8:IWindowContainer;
            if (!_arg1)
            {
                return (this._-3wo());
            };
            this._-0Ke = _-4W7;
            this._-2yL();
            var k:Array = [];
            for each (k in this._-3lc)
            {
                k = (this._-0xv.findChildByName((("team" + k._-0b0) + "PlayersList")) as IItemListWindow);
                k = (this._-0xv.findChildByName(("player" + k.userId)) as IItemListWindow);
                if (k == null)
                {
                    return;
                };
                if (!k._-0A1)
                {
                    k._-4sE(k);
                    k.push(k.userId);
                }
                else
                {
                    _local7 = (k.getListItemByName("playerDataContainer") as IWindowContainer);
                    _local8 = (k.getListItemByName("playerScoreContainer") as IWindowContainer);
                    _local7.findChildByName("playerStats").visible = false;
                    WindowUtils._-50j(this._-2vD(_local7, "playerName"), k.userName);
                    WindowUtils._-1Mx(_local8, "playerScore");
                };
            };
            for each (k in k)
            {
                delete this._-3lc[k];
            };
            WindowUtils._-1Mx(this._-0xv, "buttonsContainer");
            WindowUtils._-1Mx(this._-0xv, "mostKillsContainer");
            WindowUtils._-1Mx(this._-0xv, "mostHitsContainer");
            WindowUtils._-1Mx(this._-0xv, "team1Score");
            WindowUtils._-1Mx(this._-0xv, "team2Score");
            WindowUtils._-50j(this._-2vD(this._-0xv, "endingInformation"), "${snowwar.lobby_waiting_for_more_players}");
        }
        private function _-3wo():void
        {
            var k:SnowWarAnimatedWindowElement;
            this._-0Ke = _-0OY;
            if (this._-1D6)
            {
                for each (k in this._-1D6)
                {
                    k.dispose();
                };
                this._-1D6.reset();
            };
            this._-4hr();
            if (this._-346._-58i == 0)
            {
                return;
            };
            this._-0xv.findChildByName("button_rematch").visible = false;
            this._-0xv.findChildByName("button_play_again").visible = true;
            var k:IWindow = this._-0xv.findChildByName("button_play_again");
            k.enable();
            k.color = 0x55CC00;
        }
        private function _-1pV():void
        {
            if (this._-4Bk)
            {
                return;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("endingInformation") as ITextWindow);
            var k:ITextWindow = (this._-0xv.findChildByName("endingInformation_stroke") as ITextWindow);
            k.fontSize = 28;
            k.fontSize = 28;
            if (this._-346._-58i == 0)
            {
                WindowUtils._-50j(this._-2vD(this._-0xv, "button_rematch"), "${catalog.vip.buy.title}");
            }
            else
            {
                if (this._-0Ke == _-nI)
                {
                    this._-346.localization.registerParameter("snowwar.rematch", "seconds", this._-0pE.toString());
                    WindowUtils._-50j(this._-2vD(this._-0xv, "button_rematch"), "${snowwar.rematch}");
                }
                else
                {
                    if (this._-0Ke == _-3AL)
                    {
                        this._-346.localization.registerParameter("snowwar.please_wait", "seconds", this._-0pE.toString());
                        WindowUtils._-50j(this._-2vD(this._-0xv, "button_rematch"), "${snowwar.please_wait}");
                    }
                    else
                    {
                        if (this._-0Ke == _-4id)
                        {
                            this._-346.localization.registerParameter("snowwar.lobby_game_start_countdown", "seconds", this._-0pE.toString());
                            WindowUtils._-50j(this._-2vD(this._-0xv, "endingInformation"), "${snowwar.lobby_game_start_countdown}");
                            k.fontSize = 22;
                            k.fontSize = 22;
                        }
                        else
                        {
                            if (this._-0Ke == _-4W7)
                            {
                                WindowUtils._-50j(this._-2vD(this._-0xv, "endingInformation"), "${snowwar.lobby_waiting_for_more_players}");
                                k.fontSize = 22;
                                k.fontSize = 22;
                            };
                        };
                    };
                };
            };
        }
        private function _-3Lp(_arg1:int):void
        {
            this._-4aI();
            this._-5A3 = new Timer(1000, _arg1);
            this._-5A3.addEventListener(TimerEvent.TIMER, this._-1zO);
            this._-5A3.start();
            this._-0pE = _arg1;
        }
        private function _-1zO(_arg1:TimerEvent):void
        {
            if (((this._-0pE) && ((this._-0pE > 0))))
            {
                this._-0pE--;
                HabboGamesCom.log(("On results window tick " + this._-0pE));
                this._-1pV();
            };
        }
        private function _-4Cu(_arg1:int):void
        {
            this._-3Lp(_arg1);
            this._-1pV();
        }
        private function _-2yL():void
        {
            this._-4aI();
            this._-1pV();
        }
        public function _-0qR(_arg1:int):void
        {
            this._-0Ke = _-4id;
            this._-3Lp(_arg1);
            this._-1pV();
        }
        public function _-1bU():void
        {
            this._-4aI();
            this._-1pV();
        }
        public function _-0ff(_arg1:_-2qg):void
        {
            var k:Game2TeamPlayerData;
            var k:int;
            var k:IItemListWindow;
            var k:IItemListWindow;
            this._-0Ke = _-4id;
            this._-2XV = new Map();
            var k:Array = [];
            for each (k in this._-3lc)
            {
                k = (this._-0xv.findChildByName((("team" + k._-0b0) + "PlayersList")) as IItemListWindow);
                k = (this._-0xv.findChildByName(("player" + k.userId)) as IItemListWindow);
                if (k == null)
                {
                    return;
                };
                k._-4sE(k);
                k.push(k.userId);
            };
            for each (k in k)
            {
                delete this._-3lc[k];
            };
            this._-0xv.findChildByName("loadingContainer").visible = true;
            WindowUtils._-1Mx((this._-0xv.findChildByName("loadingContainer") as IWindowContainer), "loadingText");
            WindowUtils._-50j(this._-0xv.findChildByName("arenaName"), this._-346._-0i8(_arg1));
            WindowUtils._-3ga(this._-2vD(this._-0xv, "headerContainer"), this._-48V(1));
            WindowUtils._-qb(this._-0xv.findChildByName("arenaPreview"), this._-5Es((("arena_" + _arg1._-4dH) + "_preview")));
        }
        public function _-1Ep(_arg1:_-2jf):void
        {
            if (_arg1)
            {
                this._-2XV.add(_arg1.userId, _arg1);
                this._-4Wr();
            };
        }
        public function _-4IQ(_arg1:int):void
        {
            var k:_-2jf = this._-2XV[_arg1];
            if (k != null)
            {
                this._-2XV.remove(_arg1);
            };
            this._-4Wr();
        }
        private function _-4Wr():void
        {
            var k:_-2jf;
            this._-1T6();
            var k:Array = this._-2XV._-0hn();
            if (((!((this._-0Ke == _-nI))) && (!((this._-0Ke == _-3AL)))))
            {
                k.sort(_-2jf._-2AM);
            };
            for each (k in k)
            {
                this._-2Af(k);
            };
        }
        private function _-1T6():void
        {
            var k:IItemListWindow;
            var k:int = 1;
            while ((k = (this._-0xv.findChildByName((("team" + k++) + "PlayersList")) as IItemListWindow)) != null)
            {
                k._-Ls();
            };
        }
        private function _-2Af(_arg1:_-2jf):void
        {
            HabboGamesCom.log(("Add Lobby Player: " + [_arg1.name, _arg1.userId, _arg1._-0b0]));
            var k:int = ((this._-2XV._-18C().indexOf(_arg1.userId) % _-4Px) + 1);
            var k:IItemListWindow = (this._-0xv.findChildByName((("team" + k) + "PlayersList")) as IItemListWindow);
            if (k == null)
            {
                return;
            };
            var k:IItemListWindow = (WindowUtils.createWindow(("snowwar_lobby_player_team_" + k)) as IItemListWindow);
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = (k.getListItemByName("playerImageContainer") as IWindowContainer);
            var k:IWindowContainer = (k.getListItemByName("playerDataContainer") as IWindowContainer);
            var k:IWindowContainer = (k.getListItemByName("playerScoreContainer") as IWindowContainer);
            WindowUtils._-qb(this._-2vD(k, "playerImage"), this._-3Uh(k, _arg1.figure, _arg1.gender));
            WindowUtils._-50j(this._-2vD(k, "playerName"), _arg1.name);
            WindowUtils._-1Mx(k, "playerStats");
            WindowUtils._-1Mx(k, "playerScore");
            WindowUtils._-1Mx(k, "playerTotalStats");
            var k:IBitmapWrapperWindow = (k.findChildByName("skillLevel") as IBitmapWrapperWindow);
            if (k.bitmap)
            {
                k.bitmap.dispose();
            };
            k.bitmap = this._-2BZ(_arg1.skillLevel, k);
            var k:IRegionWindow = (k.findChildByName("scoreTooltip") as IRegionWindow);
            k._-2QR = ((_arg1._-0aL.toString() + "/") + _arg1._-0hP.toString());
            k.visible = true;
            k.addListItem(k);
        }
        private function _-2BZ(_arg1:int, _arg2:int):BitmapData
        {
            var k:BitmapData;
            var k:Point;
            k = Math.min(_arg1, 30);
            var k:BitmapData = (this._-346.assets.getAssetByName("star_empty").content as BitmapData);
            var k:BitmapData = (this._-346.assets.getAssetByName("star_filled_bronze").content as BitmapData);
            var k:BitmapData = (this._-346.assets.getAssetByName("star_filled_silver").content as BitmapData);
            var k:BitmapData = (this._-346.assets.getAssetByName("star_filled_gold").content as BitmapData);
            var k:int = (((k)>0) ? (((k - 1) % 10) + 1) : 0);
            var k:BitmapData = new BitmapData(150, 13, true, 0);
            var k:int;
            while (k < 10)
            {
                k = (((_arg2 == 1)) ? new Point((k * 15), 0) : new Point(((9 - k) * 15), 0));
                k = (((k)>20) ? var _temp1 = k;
k = (k - 1);
(((_temp1)>0) ? k : k) : (((k)>10) ? var _temp2 = k;
k = (k - 1);
(((_temp2)>0) ? k : k) : var _temp3 = k;
k = (k - 1);
(((_temp3)>0) ? k : k)));
                k.copyPixels(k, k.rect, k);
                k++;
            };
            return (k);
        }
        public function _-54E():void
        {
            var k:ITextWindow;
            var k:IWindow;
            var k:IWindowContainer = (this._-0xv.findChildByName("buttonsContainer") as IWindowContainer);
            var k:IWindowContainer = (this._-0xv.findChildByName("statusContainer") as IWindowContainer);
            if (((k) && (k)))
            {
                k.visible = true;
                WindowUtils._-50j(k.findChildByName("games_left"), this._-346._-58i.toString());
                k = (k.findChildByName("games_left_stroke") as ITextWindow);
                k = this._-0xv.findChildByName("button_rematch");
                this._-2OA();
                if (this._-346._-0m0)
                {
                    k.enable();
                    k.color = 0x55CC00;
                    k.visible = false;
                    return;
                };
                switch (this._-346._-58i)
                {
                    case -1:
                        k.enable();
                        k.color = 0x55CC00;
                        k.visible = false;
                        return;
                    case 0:
                        k.textColor = 0xFF0000;
                        k.enable();
                        k.color = 0x55CC00;
                        return;
                    default:
                        k.textColor = 1079212;
                        k.enable();
                        k.color = 0x55CC00;
                };
            };
        }
        private function _-2R2(_arg1:WindowMouseEvent):void
        {
            switch (this._-34D)
            {
                case _-2O2:
                    this._-346._-3e("gameFramework.buyTokens.clicked.rematchView");
                    return;
                case _-0wt:
                    if (!this._-346._-N("gameFramework.videoOffer.clicked.rematchView"))
                    {
                        this._-34D = _-0gk;
                        this._-2OA();
                    };
                    return;
                default:
                    this._-4F9(true);
                    this._-346._-4GR("gameFramework.getVip.clicked.rematchView");
            };
        }
        private function _-4hr():void
        {
            this._-346._-4PF._-3IT(_-4QU._-1ve);
        }
        public function offersAvailable(_arg1:int):void
        {
            this._-3t0 = _arg1;
            if (this._-3t0 < 1)
            {
                this._-34D = _-0gk;
            };
            if (this._-0xv)
            {
                this._-2OA();
            };
        }

    }
}//package _-52P

//------------------------------------------------------------
//_-52P.GameLobbyWindowCtrl

package _-52P
{
    import _-2b4.SnowWarEngine;
    import _-Ew.IWindowContainer;
    import flash.utils.Timer;
    import _-18r.Map;
    import flash.geom.Point;
    import _-1ae.IItemGridWindow;
    import _-0W2.WindowUtils;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-uw.Game2LeaveGameMessageComposer;
    import _-0W2.SnowWarAnimatedWindowElement;
    import flash.events.TimerEvent;
    import _-1Fi._-2jf;
    import _-1ae.IRegionWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-4Kb._-40f;
    import flash.display.BitmapData;
    import _-1ae.ITextWindow;
    import _-3X8._-0hg;
    import _-0se._-1uH;
    import _-0se._-24J;
    import _-4Kb.*;
    import _-1B-.*;

    public class GameLobbyWindowCtrl implements _-1zZ, _-3QA 
    {

        private var _-3Dl:GamesMainViewController;
        private var _-346:SnowWarEngine;
        private var _-3gz:String;
        private var _-3li:int;
        private var _-n5:int;
        private var _-2WY:int;
        private var _-05i:IWindowContainer;
        private var _-5A3:Timer;
        private var _-0pE:int = -1;
        private var _-4ua:int = -1;
        private var _-4Bk:Boolean = false;
        private var _-3cD:Array;
        private var _-3Cq:Map;

        public function GameLobbyWindowCtrl(_arg1:GamesMainViewController, _arg2:String, _arg3:int, _arg4:int)
        {
            this._-3cD = [];
            super();
            this._-3Dl = _arg1;
            this._-346 = _arg1._-1EZ;
            this._-3Cq = new Map();
            this._-3gz = _arg2;
            this._-3li = _arg3;
            this._-n5 = this._-4la;
            this._-2WY = _arg4;
        }
        private function _-3cT():void
        {
            var k:Point;
            this._-05i = (this._-3Dl._-5Ec.findChildByName("snowwar_lobby_cont") as IWindowContainer);
            this._-05i.center();
            this._-05i.findChildByName("cancel_link_region").procedure = this._-50H;
            var k:IItemGridWindow = (this._-05i.findChildByName("players_grid") as IItemGridWindow);
            var k:IWindowContainer = (WindowUtils.createWindow("snowwar_lobby_player") as IWindowContainer);
            var k:int;
            while (k < this._-2WY)
            {
                k._-2-F(k.clone());
                k++;
            };
            k.dispose();
            this._-05i.visible = false;
        }
        private function createWindow(_arg1:String):IWindowContainer
        {
            var k:_-243 = (this._-346.assets.getAssetByName(_arg1) as _-243);
            return ((this._-346.windowManager.buildFromXML((k.content as XML)) as IWindowContainer));
        }
        private function _-50H(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            this._-4F9(true);
            if (!this._-346.gameCenterEnabled)
            {
                this._-3Dl._-2uZ(true);
            }
            else
            {
                this._-3Dl.close(true);
            };
        }
        public function _-4F9(_arg1:Boolean):void
        {
            if (_arg1)
            {
                this._-346.communication._-4gR(null).send(new Game2LeaveGameMessageComposer());
            };
            this._-399();
            this._-4ua = -1;
        }
        public function set visible(_arg1:Boolean):void
        {
            if (!this._-05i)
            {
                this._-3cT();
            };
            this._-05i.visible = _arg1;
        }
        public function get visible():Boolean
        {
            if (this._-05i)
            {
                return (this._-05i.visible);
            };
            return (false);
        }
        public function dispose():void
        {
            var k:SnowWarAnimatedWindowElement;
            if (this._-3Cq)
            {
                for each (k in this._-3Cq)
                {
                    k.dispose();
                };
                this._-3Cq.dispose();
                this._-3Cq = null;
            };
            if (this._-05i != null)
            {
                this._-05i.dispose();
                this._-05i = null;
            };
            this._-399();
            this._-3cD = [];
            this._-4Bk = true;
            this._-4ua = -1;
        }
        private function _-399():void
        {
            if (this._-5A3 != null)
            {
                this._-5A3.removeEventListener(TimerEvent.TIMER, this._-1zO);
                this._-5A3.stop();
                this._-5A3 = null;
            };
            this._-0pE = -1;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function _-4IQ(_arg1:int):void
        {
            var k:_-2jf;
            for each (k in this._-3cD)
            {
                if (k.userId == _arg1)
                {
                    this._-3cD.splice(this._-3cD.indexOf(k), 1);
                    break;
                };
            };
            this._-1pV(true);
        }
        public function _-1Ep(_arg1:_-2jf):void
        {
            if (_arg1)
            {
                this._-3cD.push(_arg1);
                this._-1pV(true, _arg1.figure);
            };
        }
        public function _-4S2():void
        {
            if (this._-3cD)
            {
                this._-3cD = [];
            };
        }
        public function _-17z(_arg1:int):void
        {
            this._-399();
            this._-0pE = _arg1;
            this._-5A3 = new Timer(1000, _arg1);
            this._-5A3.addEventListener(TimerEvent.TIMER, this._-1zO);
            this._-5A3.start();
            this._-1pV(false);
        }
        private function _-1zO(_arg1:TimerEvent):void
        {
            if (((this._-0pE) && ((this._-0pE > 0))))
            {
                this._-0pE--;
                HabboGamesCom.log(("on tick " + this._-0pE));
                this._-1pV(false);
            };
        }
        public function _-2W7():void
        {
            this._-399();
            this._-1pV(false);
        }
        public function set _-0vl(_arg1:int):void
        {
            this._-4ua = _arg1;
        }
        private function _-1pV(_arg1:Boolean, _arg2:String=null):void
        {
            var k:String;
            var k:String;
            var k:IRegionWindow;
            var k:IBitmapWrapperWindow;
            var k:SnowWarAnimatedWindowElement;
            var k:_-2jf;
            var k:_-40f;
            var k:BitmapData;
            var k:Point;
            var k:IWindow = (this._-05i.findChildByName("wait_text") as ITextWindow);
            var k:IWindow = (this._-05i.findChildByName("wait_text_stroke") as ITextWindow);
            var k:_-0hg = this._-346.localization;
            if (this._-0pE >= 0)
            {
                k = "snowwar.lobby_game_start_countdown";
                k.registerParameter(k, "seconds", String(this._-0pE));
                k = ((((k + " ") + "%seconds%") + " ") + this._-0pE);
            }
            else
            {
                if (this._-4ua >= 0)
                {
                    k = "snowwar.lobby_arena_queue_position";
                    k.registerParameter(k, "position", String(this._-4ua));
                    k = ((((k + " ") + "%position%") + " ") + this._-4ua);
                }
                else
                {
                    k = "snowwar.lobby_waiting_for_more_players";
                };
            };
            var k:String = k.getKey(k);
            if (k)
            {
                k.caption = k;
                k.caption = k;
            }
            else
            {
                k.caption = k;
                k.caption = k;
            };
            var k:int;
            var k:IItemGridWindow = (this._-05i.findChildByName("players_grid") as IItemGridWindow);
            if (_arg1)
            {
                for each (k in this._-3cD)
                {
                    k = null;
                    if ((((k.figure == _arg2)) || (!(_arg2))))
                    {
                        k = this._-346._-5-f.createAvatarImage(k.figure, _-1uH._-JU, k.gender, this);
                    };
                    if (k)
                    {
                        k.setDirection(_-24J._-0GH, 2);
                        k = k._-1hx(_-24J._-0GH);
                        k = (k._-jx(k) as IRegionWindow);
                        if (k)
                        {
                            k._-2QR = k.name;
                            k.mouseThreshold = 0;
                            k = (k.findChildByName("image") as IBitmapWrapperWindow);
                            k = this._-3Cq.remove(k);
                            if (k)
                            {
                                k.dispose();
                            };
                            if (k.bitmap)
                            {
                                k.bitmap.dispose();
                            };
                            k.bitmap = new BitmapData(k.width, k.height, true, 0);
                            k = new Point(((k.width - k.width) / 2), ((k.height - k.height) / 2));
                            k.bitmap.copyPixels(k, k.rect, k);
                        };
                        k.dispose();
                        k.dispose();
                    };
                    k++;
                };
                while (k < this._-0Ay)
                {
                    k = (k._-jx(k) as IRegionWindow);
                    k = (k.findChildByName("image") as IBitmapWrapperWindow);
                    if (!this._-3Cq._-VD(k))
                    {
                        k = new SnowWarAnimatedWindowElement(this._-346.assets, k, "load_", 8);
                        this._-3Cq.add(k, k);
                    };
                    k++;
                };
            };
        }
        public function _-0-V(_arg1:String):void
        {
            this._-1pV(true, _arg1);
        }
        public function get _-2Na():String
        {
            return (this._-3gz);
        }
        public function get _-0Sk():int
        {
            return (this._-3li);
        }
        public function get _-4la():int
        {
            return (this._-n5);
        }
        public function get _-0Ay():int
        {
            return (this._-2WY);
        }
        public function set _-2Na(_arg1:String):void
        {
            this._-3gz = _arg1;
        }
        public function set _-0Ay(_arg1:int):void
        {
            this._-2WY = _arg1;
        }
        public function set _-0Sk(_arg1:int):void
        {
            this._-3li = _arg1;
        }
        public function set _-4la(_arg1:int):void
        {
            this._-n5 = _arg1;
        }
        public function set counter(_arg1:int):void
        {
            this._-0pE = _arg1;
        }

    }
}//package _-52P

//------------------------------------------------------------
//_-52P.GamesMainViewController

package _-52P
{
    import _-2b4.SnowWarEngine;
    import _-Ew.IWindowContainer;
    import _-0W2.SnowWarAnimatedWindowElement;
    import flash.utils.Timer;
    import _-0W2.WindowUtils;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-2kE;
    import flash.display.BitmapData;
    import flash.events.TimerEvent;
    import _-1ae.ITextWindow;
    import _-1B-.*;
    import _-0mD.*;

    public class GamesMainViewController implements _-1vM, _-1zZ 
    {

        private static const _-0gk:int = 0;
        private static const _-2O2:int = 1;
        private static const _-0wt:int = 2;
        private static const _-0BP:Array = ["move_", "throw_1_", "throw_2_", "throw_3_", "balls_"];
        private static const _-2so:Array = [4, 4, 5, 5, 5];
        private static const _-3dg:int = 1000;

        private var _-346:SnowWarEngine;
        private var _-4Py:IWindowContainer;
        private var _-362:IWindowContainer;
        private var _-Hi:GameLobbyWindowCtrl;
        private var _-4Bk:Boolean;
        private var _-1oR:SnowWarAnimatedWindowElement;
        private var _-4LE:Timer;
        private var _-151:int = 0;
        private var _-34D:int = 0;
        private var _-3t0:int = -1;
        private var _-4Oh:int = 0;

        public function GamesMainViewController(_arg1:SnowWarEngine)
        {
            this._-346 = _arg1;
        }
        public function get _-1EZ():SnowWarEngine
        {
            return (this._-346);
        }
        public function get _-5Ec():IWindowContainer
        {
            return (this._-4Py);
        }
        public function get _-3yR():GameLobbyWindowCtrl
        {
            return (this._-Hi);
        }
        public function _-49():void
        {
            if (this._-4Py)
            {
                this._-4Py.visible = !(this._-5Ec.visible);
            }
            else
            {
                this._-2uZ(true);
            };
        }
        private function createWindow():void
        {
            this._-34D = ((this._-346.config.getBoolean("games.buy.x.games.enabled", false)) ? _-2O2 : _-0gk);
            if (((this._-346.catalog._-33Q.enabled) && (this._-346.config.getBoolean("games.buy.x.games.video.enabled", false))))
            {
                this._-34D = _-0wt;
                this._-346.catalog._-33Q.load(this);
            };
            this._-4Py = (WindowUtils.createWindow("games_main", 1) as IWindowContainer);
            this._-4Py.findChildByTag("close").addEventListener(WindowMouseEvent._-90, this._-4F9);
            this._-4Py.visible = true;
            this._-4Py.center();
            this._-362 = (this._-4Py.findChildByName("quick_play_container") as IWindowContainer);
            this._-362.findChildByName("play.button").addEventListener(WindowMouseEvent._-90, this._-21J);
            this._-362.findChildByName("buy.button").addEventListener(WindowMouseEvent._-90, this._-1cJ);
            this._-362.findChildByName("watch_video.button").addEventListener(WindowMouseEvent._-90, this._-1cJ);
            this._-362.visible = false;
            this._-362.findChildByName("instructions_link").addEventListener(WindowMouseEvent._-90, this._-324);
            this._-362.findChildByName("leaderboard_link").addEventListener(WindowMouseEvent._-90, this._-Ih);
            this._-362.findChildByName("instructions_back").addEventListener(WindowMouseEvent._-90, this._-2A1);
            this._-362.findChildByName("instructions_next").addEventListener(WindowMouseEvent._-90, this._-1rf);
            this._-362.findChildByName("instructions_prev").addEventListener(WindowMouseEvent._-90, this._-5EL);
            this._-362.findChildByName("games_left_region").addEventListener(WindowMouseEvent._-90, this._-2R2);
            this._-362.findChildByName("leaderboard_link").visible = this._-346.config.getBoolean("games.highscores.enabled", false);
            var k:IItemListWindow = (this._-362.findChildByName("page_list") as IItemListWindow);
            var k:int;
            while (k < k.numListItems)
            {
                k.getListItemAt(k).addEventListener(WindowMouseEvent._-90, this._-1Hs);
                k++;
            };
            this._-4Bk = false;
            this._-3mC();
        }
        public function close(_arg1:Boolean):void
        {
            if (((this._-Hi) && (this._-Hi.visible)))
            {
                this._-Hi._-4F9(_arg1);
            };
            this._-ZQ();
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.close(true);
        }
        private function _-21J(_arg1:WindowMouseEvent):void
        {
            if (this._-346._-58i != 0)
            {
                this._-346._-XB();
            }
            else
            {
                this._-2R2(_arg1);
            };
        }
        private function _-1cJ(_arg1:WindowMouseEvent):void
        {
            this._-2R2(_arg1);
        }
        private function _-2OA():void
        {
            var k:IWindow = this._-362.findChildByName("play.button");
            var k:IWindow = this._-362.findChildByName("buy.button");
            var k:IWindow = this._-362.findChildByName("watch_video.button");
            var k:IWindow = this._-362.findChildByName("games.lobby.get.vip");
            var k:IWindow = this._-362.findChildByName("games.lobby.get.games");
            var k:IWindow = this._-362.findChildByName("games.lobby.get.games_for_video");
            k.visible = false;
            k.visible = false;
            k.visible = false;
            k.visible = false;
            k.visible = false;
            k.visible = false;
            switch (this._-34D)
            {
                case _-2O2:
                    if (this._-346._-58i == 0)
                    {
                        k.visible = true;
                    }
                    else
                    {
                        k.visible = true;
                    };
                    k.visible = true;
                    return;
                case _-0wt:
                    if (this._-346._-58i == 0)
                    {
                        k.visible = true;
                    }
                    else
                    {
                        k.visible = true;
                    };
                    if (this._-3t0 > 0)
                    {
                        k.visible = true;
                    };
                    return;
                default:
                    k.visible = true;
                    k.visible = true;
            };
        }
        public function offersAvailable(_arg1:int):void
        {
            this._-3t0 = _arg1;
            if (this._-3t0 < 1)
            {
                this._-34D = _-0gk;
            };
            if (this._-362)
            {
                this._-2OA();
            };
        }
        private function _-324(_arg1:WindowMouseEvent):void
        {
            this._-0Mj(true);
        }
        private function _-Ih(_arg1:WindowMouseEvent):void
        {
            this._-346.showLeaderboard();
        }
        private function _-2A1(_arg1:WindowMouseEvent):void
        {
            this._-0Mj(false);
        }
        private function _-1rf(_arg1:WindowMouseEvent):void
        {
            this._-4Oh++;
            this._-4Oh = (this._-4Oh % _-0BP.length);
            this._-0Mj(true);
        }
        private function _-5EL(_arg1:WindowMouseEvent):void
        {
            this._-4Oh = ((this._-4Oh - 1) + _-0BP.length);
            this._-4Oh = (this._-4Oh % _-0BP.length);
            this._-0Mj(true);
        }
        private function _-1Hs(_arg1:WindowMouseEvent):void
        {
            this._-4Oh = parseInt(_arg1.window.name.replace("page_", ""));
            this._-0Mj(true);
        }
        private function _-0Mj(_arg1:Boolean):void
        {
            var k:IWindowContainer;
            this._-362.findChildByName("teaser_container").visible = !(_arg1);
            this._-362.findChildByName("instructions_container").visible = _arg1;
            if (this._-1oR)
            {
                this._-1oR.dispose();
                this._-1oR = null;
            };
            if (!_arg1)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-362.findChildByName("instructions_image") as IBitmapWrapperWindow);
            var k:String = _-0BP[this._-4Oh];
            var k:int = _-2so[this._-4Oh];
            this._-1oR = new SnowWarAnimatedWindowElement(this._-346.assets, k, k, k, _-3dg);
            this._-362.findChildByName("instruction_text").caption = (("${snowwar.instructions." + (this._-4Oh + 1)) + "}");
            var k:IItemListWindow = (this._-362.findChildByName("page_list") as IItemListWindow);
            var k:int;
            while (k < k.numListItems)
            {
                k = (k.getListItemAt(k) as IWindowContainer);
                k = (((k <= this._-4Oh)) ? "pagination_ball_hilite" : "pagination_ball");
                WindowUtils._-qb(k.getChildAt(0), this._-5Es(k));
                k++;
            };
        }
        private function _-5Es(_arg1:String):BitmapData
        {
            var k:_-2kE = this._-346.assets.getAssetByName(_arg1);
            if (k)
            {
                return ((k.content as BitmapData));
            };
            return (null);
        }
        private function _-2R2(_arg1:WindowMouseEvent):void
        {
            switch (this._-34D)
            {
                case _-2O2:
                    this._-346._-3e("gameFramework.buyTokens.clicked.frontView");
                    return;
                case _-0wt:
                    if (!this._-346._-N("gameFramework.videoOffer.clicked.frontView"))
                    {
                        this._-34D = _-0gk;
                        this._-2OA();
                    };
                    return;
                default:
                    this._-346._-4GR("gameFramework.getVip.clicked.frontView");
            };
        }
        public function _-2uZ(_arg1:Boolean):void
        {
            if (((!(this._-4Py)) && (_arg1)))
            {
                this.createWindow();
            }
            else
            {
                if (((!(this._-5Ec)) && (!(_arg1))))
                {
                    return;
                };
            };
            if (this._-Hi)
            {
                this._-Hi.visible = false;
            };
            this._-362.visible = true;
        }
        public function _-4of(_arg1:String, _arg2:int, _arg3:int):void
        {
            if (!this._-4Py)
            {
                this.createWindow();
            };
            if (!this._-Hi)
            {
                this._-Hi = new GameLobbyWindowCtrl(this, _arg1, _arg2, _arg3);
            }
            else
            {
                this._-Hi._-2Na = _arg1;
                this._-Hi._-0Sk = _arg2;
                this._-Hi._-0Ay = _arg3;
                this._-Hi._-4S2();
            };
            this._-362.visible = false;
            this._-Hi.visible = true;
        }
        public function dispose():void
        {
            if (!this._-4Bk)
            {
                this._-ZQ();
                this._-4Bk = true;
                this._-0SO();
            };
        }
        private function _-ZQ():void
        {
            if (this._-1oR)
            {
                this._-1oR.dispose();
                this._-1oR = null;
            };
            if (this._-Hi)
            {
                this._-Hi.dispose();
                this._-Hi = null;
            };
            if (this._-362)
            {
                this._-362.dispose();
                this._-362 = null;
            };
            if (this._-4Py)
            {
                this._-4Py.dispose();
                this._-4Py = null;
            };
        }
        private function _-0SO():void
        {
            if (this._-4LE)
            {
                this._-4LE.removeEventListener(TimerEvent.TIMER, this._-1zO);
                this._-4LE.stop();
                this._-4LE = null;
            };
            this._-151 = NaN;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function _-3mC():void
        {
            var k:IWindowContainer;
            var k:ITextWindow;
            var k:IWindow;
            if (((this._-362) && (this._-362.visible)))
            {
                WindowUtils._-50j(this._-362.findChildByName("games_left"), this._-346._-58i.toString());
                k = (this._-362.findChildByName("games_left_region") as IWindowContainer);
                k = (this._-362.findChildByName("games_left_stroke") as ITextWindow);
                k = this._-362.findChildByName("play.button");
                k.visible = true;
                this._-2OA();
                if (this._-2Sh(k, k, k))
                {
                    this._-28y(k);
                };
            };
        }
        private function _-2Sh(_arg1:IWindowContainer, _arg2:ITextWindow, _arg3:IWindow):Boolean
        {
            if (this._-346._-0m0)
            {
                _arg1.visible = false;
                return (true);
            };
            _arg1.visible = true;
            var k:IWindow = ITextWindow(this._-362.findChildByName("play_text"));
            _arg3.color = 0x55CC00;
            switch (this._-346._-58i)
            {
                case -1:
                    _arg1.visible = false;
                    WindowUtils._-50j(k, "${snowwar.play}");
                    return (true);
                case 0:
                    _arg1.visible = true;
                    _arg2.textColor = 0xFF0000;
                    WindowUtils._-50j(k, "${catalog.vip.buy.title}");
                    return (false);
                default:
                    _arg1.visible = true;
                    _arg2.textColor = 1079212;
                    WindowUtils._-50j(k, "${snowwar.play}");
                    return (true);
            };
        }
        private function _-28y(_arg1:IWindow):void
        {
            var k:int;
            var k:int;
            var k:IWindow = ITextWindow(this._-362.findChildByName("play_text"));
            if (this._-151 > 0)
            {
                _arg1.disable();
                _arg1.color = 0xCCCCCC;
                k = Math.floor((this._-151 / 60));
                k = (this._-151 % 60);
                k.caption = ((k + ":") + (((k < 10)) ? ("0" + k) : k));
            }
            else
            {
                if (this._-151 <= 0)
                {
                    _arg1.enable();
                    _arg1.color = 0x55CC00;
                    WindowUtils._-50j(k, "${snowwar.play}");
                };
            };
        }
        private function _-1zO(_arg1:TimerEvent):void
        {
            if (((this._-151) && ((this._-151 > 0))))
            {
                this._-151--;
                HabboGamesCom.log(("on block tick " + this._-151));
                this._-3mC();
            };
            if (this._-151 <= 0)
            {
                this._-3mC();
                this._-0SO();
            };
        }
        public function _-0ks(_arg1:int):void
        {
            if (_arg1 > 0)
            {
                this._-151 = _arg1;
                if (!this._-4LE)
                {
                    this._-4LE = new Timer(1000, this._-151);
                    this._-4LE.addEventListener(TimerEvent.TIMER, this._-1zO);
                    this._-4LE.start();
                };
            };
            this._-3mC();
        }

    }
}//package _-52P

//------------------------------------------------------------
//_-52P.SnowWarUI

package _-52P
{
    import _-2b4.SnowWarEngine;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-0W2.SnowWarAnimatedWindowElement;
    import flash.utils.Timer;
    import _-1Jd._-3wh;
    import flash.events.TimerEvent;
    import _-0W2.WindowUtils;
    import _-0Ie.WindowMouseEvent;
    import _-Ew.IWindow;
    import flash.display.BitmapData;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-mv._-2TN;
    import _-T7.Game2ExitGameMessageComposer;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;
    import _-4Kb.*;
    import _-1B-.*;

    public class SnowWarUI implements _-1zZ, _-3QA 
    {

        private static const _-0Mi:int = 4;
        private static const _-4tZ:int = 75;
        private static const _-002:int = 4;
        private static const _-4r6:int = 50;
        private static const _-2C0:int = 5;
        private static const _-3wU:int = 5;

        private var _-346:SnowWarEngine;
        private var _-25u:IWindowContainer;
        private var _-XW:IWindowContainer;
        private var _-11O:IWindowContainer;
        private var _-2J0:IWindowContainer;
        private var _-l-:IWindowContainer;
        private var _-2eq:IWindowContainer;
        private var _-0aM:RGBColor;
        private var _-iF:RGBColor;
        private var _-09-:IBitmapWrapperWindow;
        private var _-4Bk:Boolean = false;
        private var _-3eI:int = 1;
        private var _-0ml:uint;
        private var _-3ta:int = -1;
        private var _-2jS:int = 5;
        private var _-4-0:IBitmapWrapperWindow;
        private var _-1Ol:Boolean = false;
        private var _-0LV:int = 5;
        private var _-1UQ:IBitmapWrapperWindow;
        private var _-1DF:SnowWarAnimatedWindowElement;
        private var _-4qu:IBitmapWrapperWindow;
        private var _-55l:SnowWarAnimatedWindowElement;
        private var _-4wU:IBitmapWrapperWindow;
        private var _-2Ka:int = 0;
        private var _-0Py:String = "";
        private var _-4Wn:Timer;
        private var _-4Wi:Boolean;

        public function SnowWarUI(_arg1:SnowWarEngine)
        {
            this._-346 = _arg1;
            this._-346.windowManager.getDesktop(1).visible = false;
            this._-4Wi = this._-346.sessionDataManager._-2t1(_-3wh._-46t);
            if (this._-4Wi)
            {
                this._-0aM = new RGBColor();
                this._-iF = new RGBColor(0xFFFFFF);
            };
        }
        public function dispose():void
        {
            this._-346.windowManager.getDesktop(1).visible = true;
            this._-346 = null;
            if (this._-25u)
            {
                this._-25u.dispose();
                this._-25u = null;
            };
            if (this._-XW)
            {
                this._-4-0 = null;
                this._-1UQ = null;
                this._-4qu = null;
                this._-XW.dispose();
                this._-XW = null;
            };
            if (this._-11O)
            {
                this._-4wU = null;
                this._-11O.dispose();
                this._-11O = null;
            };
            if (this._-2J0)
            {
                this._-2J0.dispose();
                this._-2J0 = null;
            };
            if (this._-l-)
            {
                this._-l-.dispose();
                this._-l- = null;
            };
            if (this._-09-)
            {
                this._-09-.dispose();
                this._-09- = null;
            };
            if (this._-55l != null)
            {
                this._-55l.dispose();
                this._-55l = null;
            };
            if (this._-2eq)
            {
                this._-2eq.dispose();
                this._-2eq = null;
            };
            if (this._-4Wn)
            {
                this._-4Wn.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-0xR);
                this._-4Wn.stop();
                this._-4Wn = null;
            };
            this._-4Xw();
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function init():void
        {
            this._-25u = (WindowUtils.createWindow("snowwar_exit") as IWindowContainer);
            this._-25u.addEventListener(WindowMouseEvent._-90, this._-3-0);
            this._-25u.x = 0;
            this._-25u.y = 10;
            this._-XW = (WindowUtils.createWindow("snowwar_snowballs") as IWindowContainer);
            var k:IWindow = this._-XW.findChildByName("make_snowball");
            k.addEventListener(WindowMouseEvent._-3Jy, this._-2uM);
            k.addEventListener(WindowMouseEvent._-02B, this._-09O);
            k.addEventListener(WindowMouseEvent._-4e2, this._-09O);
            this._-XW.center();
            this._-XW.x = 10;
            this._-4-0 = (this._-XW.findChildByName("makeSnowballImage") as IBitmapWrapperWindow);
            this._-4qu = (this._-XW.findChildByName("emptyFlashImage") as IBitmapWrapperWindow);
            this._-4qu.visible = false;
            this._-55l = new SnowWarAnimatedWindowElement(this._-346.assets, this._-4qu, "ui_no_balls_", _-0Mi, _-4tZ, true);
            this._-1UQ = (this._-XW.findChildByName("ballProgress") as IBitmapWrapperWindow);
            this._-11O = (WindowUtils.createWindow("snowwar_own_stats") as IWindowContainer);
            this._-11O.x = 10;
            this._-11O.y = ((this._-11O.desktop.height - this._-11O.height) - 10);
            this._-4wU = (this._-11O.findChildByName("backgroundFlashImage") as IBitmapWrapperWindow);
            this._-2Ng();
            this._-l- = (WindowUtils.createWindow("snowwar_team_scores") as IWindowContainer);
            this._-l-.x = ((this._-l-.desktop.width - this._-l-.width) - 10);
            this._-l-.y = 10;
            this._-2J0 = (WindowUtils.createWindow("snowwar_timer") as IWindowContainer);
            this._-2J0.x = ((this._-2J0.desktop.width - this._-2J0.width) - 50);
            this._-2J0.y = 105;
            this.timer = 0;
            this._-09- = (WindowUtils.createWindow("counter") as IBitmapWrapperWindow);
            this._-09-.center();
            if (this._-4Wi)
            {
                this._-2J0.getChildByName("checksumIndicator").visible = true;
                this._-0aM.fromInt(this._-2J0.color);
            };
            this._-2jS = _-3wU;
        }
        public function _-0-V(_arg1:String):void
        {
            this._-2Ng();
        }
        private function _-2Ng():void
        {
            var k:BitmapData;
            var k:String = this._-346.sessionDataManager.figure;
            var k:String = this._-346.sessionDataManager.gender;
            var k:_-40f = this._-346._-5-f.createAvatarImage(k, _-1uH._-JU, k, this);
            if (k != null)
            {
                k.setDirection(_-24J._-2YU, 2);
                k = k._-1hx(_-24J._-0GH);
                k.dispose();
                WindowUtils._-qb(this._-11O.findChildByName("user_image"), k);
                k.dispose();
            };
        }
        private function _-5Es(_arg1:String):BitmapData
        {
            return ((this._-346.assets.getAssetByName(_arg1).content as BitmapData));
        }
        private function _-2vD(_arg1:IWindowContainer, _arg2:String):IWindow
        {
            return (_arg1.findChildByName(_arg2));
        }
        private function _-2uM(_arg1:WindowMouseEvent):void
        {
            this._-2ax(true);
            if (this._-346._-0Bm())
            {
                this._-3KU();
            };
        }
        private function _-09O(_arg1:WindowMouseEvent):void
        {
            this._-2ax(false);
        }
        public function _-3KU():void
        {
            if (this._-1DF != null)
            {
                this._-1DF.dispose();
                this._-1DF = null;
            };
            this._-1DF = new SnowWarAnimatedWindowElement(this._-346.assets, this._-1UQ, "load_", 8);
            SnowWarEngine._-lx(_-2TN._-104);
        }
        public function _-51F():void
        {
            this._-4Xw();
            SnowWarEngine._-4ls(_-2TN._-104);
            if (this._-1Ol)
            {
                this._-2uM(null);
            };
        }
        private function _-4Xw():void
        {
            if (this._-1DF != null)
            {
                this._-1DF.dispose();
                this._-1DF = null;
            };
        }
        private function _-3-0(_arg1:WindowMouseEvent):void
        {
            if (!this._-2eq)
            {
                this._-2eq = (WindowUtils.createWindow("snowwar_exit_confirmation") as IWindowContainer);
                this._-2eq.findChildByName("yes").addEventListener(WindowMouseEvent._-90, this._-4RE);
                this._-2eq.findChildByName("no").addEventListener(WindowMouseEvent._-90, this._-4RE);
                this._-2eq.findChildByTag("close").addEventListener(WindowMouseEvent._-90, this._-4RE);
            }
            else
            {
                this._-2eq.visible = true;
                this._-2eq.activate();
            };
        }
        private function _-4RE(_arg1:WindowMouseEvent):void
        {
            if (_arg1.window.name == "yes")
            {
                this._-346.send(new Game2ExitGameMessageComposer());
                this._-346._-1tu();
                this._-346._-2q1();
            }
            else
            {
                this._-2eq.visible = false;
            };
        }
        public function set _-2So(_arg1:int):void
        {
            var k:int;
            while (k < _-2C0)
            {
                this._-XW.findChildByName(("ball_" + k)).visible = (k < _arg1);
                k++;
            };
            this._-0LV = _arg1;
            var k:IWindow = this._-XW.findChildByName(("ball_" + _arg1));
            if (k != null)
            {
                this._-1UQ.x = k.x;
                this._-1UQ.y = k.y;
            };
        }
        public function set _-2ZD(_arg1:int):void
        {
            WindowUtils._-50j(this._-11O.findChildByName("personal_score"), _arg1.toString());
        }
        public function set timer(_arg1:int):void
        {
            if (this._-4Wi)
            {
                if (this._-0aM)
                {
                    this._-0aM.tweenTo(this._-iF);
                    this._-2J0.getChildByName("checksumIndicator").color = this._-0aM.rgb;
                };
            };
            if (this._-3ta == _arg1)
            {
                return;
            };
            this._-3ta = _arg1;
            var k:String = ("" + int((_arg1 / 60)));
            var k:String = ("" + int((_arg1 % 60)));
            if (int(k) < 10)
            {
                k = ("0" + k);
            };
            if (int(k) < 10)
            {
                k = ("0" + k);
            };
            WindowUtils._-Ny(this._-2J0, "time_left");
            WindowUtils._-50j(this._-2J0.findChildByName("time_left"), ((k + ":") + k));
            if ((((_arg1 <= 5)) && ((_arg1 > 0))))
            {
                SnowWarEngine._-lx(_-2TN._-2OE);
                if (!this._-4Wn)
                {
                    this._-4Wn = new Timer(500, 1);
                    this._-4Wn.addEventListener(TimerEvent.TIMER_COMPLETE, this._-0xR);
                };
                this._-4Wn.reset();
                this._-4Wn.start();
            };
        }
        private function _-0xR(_arg1:TimerEvent):void
        {
            if (this._-2J0)
            {
                WindowUtils._-1Mx(this._-2J0, "time_left");
            };
        }
        public function set _-0rW(_arg1:int):void
        {
            if (this._-2jS != _arg1)
            {
                WindowUtils._-qb(this._-2vD(this._-11O, "energy_bar"), this._-5Es(("ui_me_health_" + _arg1)));
                this._-2jS = _arg1;
            };
        }
        public function _-w8(_arg1:uint):void
        {
            if (this._-4Wi)
            {
                this._-2J0.color = _arg1;
                if (this._-0aM)
                {
                    this._-0aM.fromInt(_arg1);
                };
            };
        }
        public function _-2PH():void
        {
            this._-0ml = 0;
            this._-3eI = 1;
        }
        public function update(_arg1:uint):void
        {
            this._-3mv();
            this._-2gc(_arg1);
            this._-0f6(_arg1);
            this._-0N5();
        }
        private function _-0f6(_arg1:uint):void
        {
            var k:int;
            if (this._-2Ka > 0)
            {
                k = ((this._-2Ka / _-4r6) + 1);
                if (k > _-002)
                {
                    this._-2Ka = 0;
                    this._-4wU.visible = false;
                }
                else
                {
                    this._-2Ka = (this._-2Ka + _arg1);
                    this._-4wU.visible = true;
                    WindowUtils._-qb(this._-4wU, this._-5Es((this._-0Py + k)));
                };
            };
        }
        public function _-22N(_arg1:Boolean):void
        {
            this._-2Ka = 1;
            this._-0Py = ((_arg1) ? "ui_me_plus_" : "ui_me_minus_");
        }
        private function _-3mv():void
        {
            this._-4qu.visible = (((this._-0LV == 0)) && ((this._-1DF == null)));
        }
        private function _-2gc(_arg1:uint):void
        {
            var k:BitmapData;
            var k:Point;
            var k:Boolean;
            this._-0ml = (this._-0ml + _arg1);
            if (this._-3eI < 6)
            {
                if (this._-0ml >= 1000)
                {
                    k = true;
                    this._-0ml = 0;
                };
            }
            else
            {
                if (this._-3eI < 11)
                {
                    if (this._-0ml > 100)
                    {
                        k = true;
                        this._-0ml = 0;
                    };
                }
                else
                {
                    if (this._-09-)
                    {
                        this._-09-.dispose();
                        this._-09- = null;
                    };
                };
            };
            if (((((!(k)) || (this._-4Bk))) || (!(this._-09-))))
            {
                return;
            };
            var k:BitmapDataAsset = (this._-346.assets.getAssetByName(this._-49a("explosion", this._-3eI)) as BitmapDataAsset);
            if (k)
            {
                k = (k.content as BitmapData);
                if (!this._-09-.bitmap)
                {
                    this._-09-.bitmap = new BitmapData(this._-09-.width, this._-09-.height, true, 0xFFFFFF);
                };
                this._-09-.bitmap.fillRect(this._-09-.bitmap.rect, 0xFFFFFF);
                k = new Point(-(k.offset.x), -(k.offset.y));
                this._-09-.bitmap.copyPixels(k, k.rect, k, null, null, true);
                this._-09-.invalidate();
            };
            this._-3eI++;
        }
        private function _-49a(_arg1:String, _arg2:int, _arg3:int=4):String
        {
            var k:String = _arg2.toString();
            while (k.length < _arg3)
            {
                k = ("0" + k);
            };
            return ((_arg1 + k));
        }
        private function _-0N5():void
        {
            var k:Array = this._-346._-2QZ._-3KW();
            if (k.length >= 2)
            {
                WindowUtils._-50j(this._-l-.findChildByName("score_blue"), k[0]);
                WindowUtils._-50j(this._-l-.findChildByName("score_red"), k[1]);
            };
        }
        private function _-2ax(_arg1:Boolean):void
        {
            if (this._-1Ol != _arg1)
            {
                WindowUtils._-qb(this._-4-0, this._-5Es(("ui_make_balls_" + ((_arg1) ? "down" : "up"))));
            };
            this._-1Ol = _arg1;
        }

    }
}//package _-52P

class RGBColor 
{

    private var _r:uint;
    private var _g:uint;
    private var _b:uint;
    private var _a:uint;

    public function RGBColor(_arg1:uint=0)
    {
        this.fromInt(_arg1);
    }
    public function get r():uint
    {
        return (this._r);
    }
    public function get g():uint
    {
        return (this._g);
    }
    public function get b():uint
    {
        return (this._b);
    }
    public function get a():uint
    {
        return (this._a);
    }
    public function fromInt(_arg1:uint):void
    {
        this._a = ((_arg1 >> 24) & 0xFF);
        this._r = ((_arg1 >> 16) & 0xFF);
        this._g = ((_arg1 >> 8) & 0xFF);
        this._b = ((_arg1 >> 0) & 0xFF);
    }
    public function get rgb():uint
    {
        return (((((this._a << 24) | (this._r << 16)) | (this._g << 8)) | this._b));
    }
    public function tweenTo(_arg1:RGBColor):void
    {
        this._a = (this._a + ((_arg1.a - this.a) / 24));
        this._r = (this._r + ((_arg1.r - this.r) / 24));
        this._g = (this._g + ((_arg1.g - this.g) / 24));
        this._b = (this._b + ((_arg1.b - this.b) / 24));
    }

}

//------------------------------------------------------------
//_-53E._-06l

package _-53E
{
    import _-4Aj._-0s1;

    public class _-06l 
    {

        private var _name:String;
        private var _-5AE:String;
        private var _-4Cb:String;
        private var _-2W0:int;
        private var _-00d:int;

        public function _-06l(_arg1:_-0s1)
        {
            this._name = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-4Cb = _arg1.readString();
            this._-2W0 = _arg1._-2BW();
            this._-00d = _arg1._-2BW();
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get rank():int
        {
            return (this._-2W0);
        }
        public function get score():int
        {
            return (this._-00d);
        }

    }
}//package _-53E

//------------------------------------------------------------
//_-53E._-1qa

package _-53E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1qa implements _-58N 
    {

        private var _-1QD:int;
        private var _-079:Array;

        public function _-1qa()
        {
            this._-079 = [];
            super();
        }
        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get _-5DR():Array
        {
            return (this._-079);
        }
        public function flush():Boolean
        {
            this._-1QD = -1;
            this._-079 = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-079.push(new _-06l(_arg1));
                k++;
            };
            return (true);
        }

    }
}//package _-53E

//------------------------------------------------------------
//_-53E._-2mg

package _-53E
{
    import _-4Aj._-0s1;

    public class _-2mg 
    {

        private var _-4lu:int;
        private var _-00d:int;
        private var _-2W0:int;
        private var _name:String;
        private var _-5AE:String;
        private var _-4Cb:String;

        public function _-2mg(_arg1:_-0s1)
        {
            this._-4lu = _arg1._-2BW();
            this._-00d = _arg1._-2BW();
            this._-2W0 = _arg1._-2BW();
            this._name = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-4Cb = _arg1.readString();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get score():int
        {
            return (this._-00d);
        }
        public function get rank():int
        {
            return (this._-2W0);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get name():String
        {
            return (this._name);
        }

    }
}//package _-53E

//------------------------------------------------------------
//_-53E._-xK

package _-53E
{
    import _-48G._-4hq;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-xK implements _-58N 
    {

        private var _-1QD:int;
        private var _-0N9:Array;
        private var _-2Iq:int;
        private var _-3Xp:Boolean;

        public function _-xK()
        {
            this._-0N9 = [];
            super();
        }
        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get products():Array
        {
            return (this._-0N9);
        }
        public function get _-0eG():int
        {
            return (this._-2Iq);
        }
        public function get _-4K7():Boolean
        {
            return (this._-3Xp);
        }
        public function flush():Boolean
        {
            this._-1QD = -1;
            this._-0N9 = [];
            this._-2Iq = 0;
            this._-3Xp = true;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1QD = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-0N9.push(new _-4hq(_arg1));
                k++;
            };
            this._-2Iq = _arg1._-2BW();
            this._-3Xp = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-53E

//------------------------------------------------------------
//_-53E.Game2LeaderboardParser

package _-53E
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class Game2LeaderboardParser implements _-58N 
    {

        private var _-1QD:int;
        private var _-3df:Array;
        private var _-4tu:int;

        public function flush():Boolean
        {
            this._-1QD = -1;
            this._-3df = null;
            this._-4tu = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3df = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-3df.push(new _-2mg(_arg1));
                k++;
            };
            this._-4tu = _arg1._-2BW();
            this._-1QD = _arg1._-2BW();
            return (true);
        }
        public function get _-3tJ():int
        {
            return (this._-1QD);
        }
        public function get leaderboard():Array
        {
            return (this._-3df);
        }
        public function get _-4bu():int
        {
            return (this._-4tu);
        }

    }
}//package _-53E

//------------------------------------------------------------
//_-53E.Game2WeeklyLeaderboardParser

package _-53E
{
    import _-4Aj._-0s1;

    public class Game2WeeklyLeaderboardParser extends Game2LeaderboardParser 
    {

        private var _-2qW:int;
        private var _-0F9:int;
        private var _-51h:int;
        private var _-2sQ:int;
        private var _-0y6:int;

        public function get year():int
        {
            return (this._-2qW);
        }
        public function get _-43t():int
        {
            return (this._-0F9);
        }
        public function get _-3D1():int
        {
            return (this._-51h);
        }
        public function get _-5Ab():int
        {
            return (this._-2sQ);
        }
        public function get _-dI():int
        {
            return (this._-0y6);
        }
        override public function flush():Boolean
        {
            this._-2qW = -1;
            this._-0F9 = -1;
            this._-51h = -1;
            this._-2sQ = -1;
            this._-0y6 = -1;
            return (super.flush());
        }
        override public function parse(_arg1:_-0s1):Boolean
        {
            this._-2qW = _arg1._-2BW();
            this._-0F9 = _arg1._-2BW();
            this._-51h = _arg1._-2BW();
            this._-2sQ = _arg1._-2BW();
            this._-0y6 = _arg1._-2BW();
            return (super.parse(_arg1));
        }

    }
}//package _-53E

//------------------------------------------------------------
//_-55m._-0AO

package _-55m
{
    import _-4OG._-0i4;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0AO implements _-58N 
    {

        private var _-0qE:_-0i4;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-0i4(_arg1);
            return (true);
        }
        public function get data():_-0i4
        {
            return (this._-0qE);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-0eD

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0eD implements _-58N 
    {

        private var _-1jw:int;
        private var _-4yB:int;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1jw = _arg1._-2BW();
            this._-4yB = _arg1._-2BW();
            return (true);
        }
        public function flush():Boolean
        {
            this._-1jw = 0;
            this._-4yB = 0;
            return (true);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get _-4Lc():int
        {
            return (this._-4yB);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-0Hw

package _-55m
{
    import _-4OG._-4df;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Hw implements _-58N 
    {

        private var _-0qE:_-4df;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-4df(_arg1);
            return (true);
        }
        public function get data():_-4df
        {
            return (this._-0qE);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-0I2

package _-55m
{
    import _-4OG._-5Au;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0I2 implements _-58N 
    {

        private var _-0qE:_-5Au;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-5Au(_arg1);
            return (true);
        }
        public function get data():_-5Au
        {
            return (this._-0qE);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-0J1

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0J1 implements _-58N 
    {

        private var _-4Tg:int;
        private var _-3wc:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4Tg = _arg1._-2BW();
            this._-3wc = _arg1._-2BW();
            return (true);
        }
        public function get _-0I7():int
        {
            return (this._-4Tg);
        }
        public function get _-3fN():int
        {
            return (this._-3wc);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-0ZU

package _-55m
{
    import _-4OG._-0bW;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0ZU implements _-58N 
    {

        private var _-0qE:_-0bW;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-0bW(_arg1);
            return (true);
        }
        public function get data():_-0bW
        {
            return (this._-0qE);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-1Db

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Db implements _-58N 
    {

        private var _-2lb:String = null;

        public function get userName():String
        {
            return (this._-2lb);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1.bytesAvailable)
            {
                this._-2lb = _arg1.readString();
            };
            return (true);
        }
        public function flush():Boolean
        {
            this._-2lb = null;
            return (true);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-1eZ

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1eZ implements _-58N 
    {

        private var _-1jw:int;
        private var _-3Bm:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1jw = _arg1._-2BW();
            this._-3Bm = _arg1._-2BW();
            return (true);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get _-rJ():int
        {
            return (this._-3Bm);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-1k6

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1k6 implements _-58N 
    {

        private var _-0sS:Boolean;
        private var _-b2:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0sS = _arg1.readBoolean();
            this._-b2 = _arg1._-2BW();
            return (true);
        }
        public function get _-2eH():Boolean
        {
            return (this._-0sS);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-1m6

package _-55m
{
    import _-4OG._-134;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1m6 implements _-58N 
    {

        private var _-4ID:Array;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4ID = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4ID.push(new _-134(_arg1));
                k++;
            };
            return (true);
        }
        public function flush():Boolean
        {
            this._-4ID = null;
            return (true);
        }
        public function get _-45F():Array
        {
            return (this._-4ID);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-1my

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1my implements _-58N 
    {

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-27

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-27 implements _-58N 
    {

        private var _-2eh:int;
        private var _-4yn:Array;

        public function flush():Boolean
        {
            this._-4yn = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2eh = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4yn.push(_arg1._-2BW());
                k++;
            };
            return (true);
        }
        public function get limit():int
        {
            return (this._-2eh);
        }
        public function get _-38b():Array
        {
            return (this._-4yn);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-2Vu

package _-55m
{
    import _-4OG._-3pI;
    import _-3yH._-0lY;
    import _-4Aj._-0s1;
    import _-1B-.*;
    import _-4Aj.*;

    public class _-2Vu implements _-58N, _-1zZ 
    {

        private var _-4fj:Boolean;
        private var _-0aA:Boolean;
        private var _-16r:Boolean;
        private var _-0qE:_-3pI;
        private var _-8P:Boolean;
        private var _-3In:_-0lY;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4fj = _arg1.readBoolean();
            this._-0qE = new _-3pI(_arg1);
            this._-0aA = _arg1.readBoolean();
            this._-16r = _arg1.readBoolean();
            this._-8P = _arg1.readBoolean();
            var k:Boolean = _arg1.readBoolean();
            this._-3In = new _-0lY(_arg1);
            this._-0qE._-1IY = k;
            this._-0qE._-1XE = _arg1.readBoolean();
            return (true);
        }
        public function dispose():void
        {
            this._-3In = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-3In == null));
        }
        public function get _-278():Boolean
        {
            return (this._-4fj);
        }
        public function get data():_-3pI
        {
            return (this._-0qE);
        }
        public function get _-31S():Boolean
        {
            return (this._-0aA);
        }
        public function get _-4Hf():Boolean
        {
            return (this._-16r);
        }
        public function get _-g():Boolean
        {
            return (this._-8P);
        }
        public function get _-1so():_-0lY
        {
            return (this._-3In);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-3i-

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3i- implements _-58N 
    {

        private var _-4yB:int;
        private var _-2TC:String;
        private var _-7m:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4yB = _arg1._-2BW();
            this._-2TC = _arg1.readString();
            this._-7m = _arg1._-2BW();
            return (true);
        }
        public function get _-4Lc():int
        {
            return (this._-4yB);
        }
        public function get _-4Ac():String
        {
            return (this._-2TC);
        }
        public function get _-2As():int
        {
            return (this._-7m);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-3oY

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3oY implements _-58N 
    {

        private var _-2lb:String;

        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2lb = _arg1.readString();
            return (true);
        }
        public function flush():Boolean
        {
            this._-2lb = null;
            return (true);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-4Bh

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Bh implements _-58N 
    {

        private var _-3RF:int;
        private var _-11T:Boolean;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3RF = _arg1._-2BW();
            this._-11T = _arg1.readBoolean();
            return (true);
        }
        public function get rating():int
        {
            return (this._-3RF);
        }
        public function get _-13C():Boolean
        {
            return (this._-11T);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-4fs

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4fs implements _-58N 
    {

        private var _-1jw:int;
        private var _-0hy:Boolean;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1jw = _arg1._-2BW();
            this._-0hy = _arg1.readBoolean();
            return (true);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get _-3z5():Boolean
        {
            return (this._-0hy);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-4mn

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4mn implements _-58N 
    {

        public static const _-0mZ:int = 0;
        public static const _-i6:int = 1;

        private var _-3Bm:int;
        private var _-1Jj:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Bm = _arg1._-2BW();
            this._-1Jj = _arg1._-2BW();
            return (true);
        }
        public function get _-rJ():int
        {
            return (this._-3Bm);
        }
        public function get _-1wi():int
        {
            return (this._-1Jj);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-4-Q

package _-55m
{
    import _-4OG._-2Ts;
    import _-4OG._-3FD;
    import _-4OG._-0R3;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4-Q implements _-58N 
    {

        private var _-0qE:_-2Ts;
        private var _-tN:_-3FD;
        private var _-3qq:_-0R3;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-2Ts(_arg1);
            var k:int = _arg1._-2BW();
            if (k > 0)
            {
                this._-tN = new _-3FD(_arg1);
            };
            this._-3qq = new _-0R3(_arg1);
            return (true);
        }
        public function get data():_-2Ts
        {
            return (this._-0qE);
        }
        public function get _-4vu():_-3FD
        {
            return (this._-tN);
        }
        public function get _-3f():_-0R3
        {
            return (this._-3qq);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-564

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-564 implements _-58N 
    {

        private var _-1jw:int;
        private var _-4Sm:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1jw = _arg1._-2BW();
            this._-4Sm = _arg1.readString();
            _-Nb.log(((("FLAT CREATED: " + this._-1jw) + ", ") + this._-4Sm));
            return (true);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function get _-jl():String
        {
            return (this._-4Sm);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-55m._-QO

package _-55m
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-QO implements _-58N 
    {

        private var _-1jw:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1jw = _arg1._-2BW();
            return (true);
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }

    }
}//package _-55m

//------------------------------------------------------------
//_-56G._-1Zs

package _-56G
{
    public class _-1Zs 
    {

        private var _name:String;
        private var _-1Td:String;
        private var _-1jw:int;
        private var _-2W3:int;
        private var _-KN:Boolean;
        private var _-1HM:int;
        private var _-14l:String;
        private var _-10c:Date;

        public function clear():void
        {
            this._name = null;
            this._-1Td = null;
            this._-1jw = 0;
            this._-KN = false;
            this._-14l = null;
            this._-1HM = -1;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function set description(_arg1:String):void
        {
            this._-1Td = _arg1;
        }
        public function get _-3EU():int
        {
            return (this._-1jw);
        }
        public function set _-3EU(_arg1:int):void
        {
            this._-1jw = _arg1;
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function set offerId(_arg1:int):void
        {
            this._-2W3 = _arg1;
        }
        public function get _-1tQ():Boolean
        {
            return (this._-KN);
        }
        public function get _-3Hr():int
        {
            return (this._-1HM);
        }
        public function set _-3Hr(_arg1:int):void
        {
            this._-1HM = _arg1;
        }
        public function set _-1tQ(_arg1:Boolean):void
        {
            this._-KN = _arg1;
        }
        public function get roomName():String
        {
            return (this._-14l);
        }
        public function set roomName(_arg1:String):void
        {
            this._-14l = _arg1;
        }
        public function get _-3YT():Date
        {
            return (this._-10c);
        }
        public function set _-3YT(_arg1:Date):void
        {
            this._-10c = _arg1;
        }

    }
}//package _-56G

//------------------------------------------------------------
//_-56G._-2Ra

package _-56G
{
    import _-2iw._-2T9;
    import _-48G._-2HQ;

    public class _-2Ra 
    {

        private var _-55c:Boolean = false;
        private var _-26b:int;
        private var _-33o:Array;
        private var _-0f0:Array;
        private var _-41E:Array;
        private var _-2j2:Array;

        public function _-2Ra(_arg1:_-2HQ)
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-2T9 = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            this._-55c = k._-1jX;
            this._-26b = k._-IU;
            this._-33o = k._-2Zp;
            this._-0f0 = k._-3bz;
            this._-41E = k._-3-T;
            this._-2j2 = k._-4z6;
        }
        public function get _-12O():Boolean
        {
            return (this._-55c);
        }
        public function get price():int
        {
            return (this._-26b);
        }
        public function get _-2Zp():Array
        {
            return (this._-33o);
        }
        public function get _-3bz():Array
        {
            return (this._-0f0);
        }
        public function get _-3-T():Array
        {
            return (this._-41E);
        }
        public function get _-4z6():Array
        {
            return (this._-2j2);
        }

    }
}//package _-56G

//------------------------------------------------------------
//_-56G.PlacedObjectPurchaseData

package _-56G
{
    import _-32F._-48b;
    import _-4n1._-0hX;
    import _-0mD._-2tY;
    import _-1B-.*;

    public class PlacedObjectPurchaseData implements _-1zZ 
    {

        private var _-4Bk:Boolean = false;
        private var _-44i:int;
        private var _-JS:int;
        private var _-1Rt:int;
        private var _-0wA:int;
        private var _-1-Z:String = "";
        private var _-2dX:int = 0;
        private var _-4TA:int = 0;
        private var _-3r2:int = 0;
        private var _-2W3:int;
        private var _-2wF:int;
        private var _-1Ue:_-48b;
        private var _-Or:_-0hX;
        private var _-3JQ:String;

        public function PlacedObjectPurchaseData(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:int, _arg7:int, _arg8:int, _arg9:_-2tY)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
            this._-44i = _arg3;
            this._-JS = _arg4;
            this._-1-Z = _arg5;
            this._-2dX = _arg6;
            this._-4TA = _arg7;
            this._-3r2 = _arg8;
            this._-1We(_arg9);
        }
        public function dispose():void
        {
            this._-4Bk = true;
            this._-1Ue = null;
            this._-Or = null;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        private function _-1We(_arg1:_-2tY):void
        {
            this._-2W3 = _arg1.offerId;
            this._-2wF = _arg1.productContainer._-1YN._-3yk;
            this._-1Ue = _arg1.productContainer._-1YN._-08n;
            this._-Or = _arg1.productContainer._-1YN._-5D1;
            this._-3JQ = _arg1.productContainer._-1YN._-1gg;
        }
        public function toString():String
        {
            return ([this._-0wA, this._-1Rt, this._-44i, this._-JS, this._-1-Z, this._-2dX, this._-4TA, this._-3r2, this._-2W3, this._-2wF].toString());
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-07C():String
        {
            return (this._-1-Z);
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }
        public function get direction():int
        {
            return (this._-3r2);
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-3yk():int
        {
            return (this._-2wF);
        }
        public function get extraParameter():String
        {
            return (this._-3JQ);
        }
        public function get furniData():_-0hX
        {
            return (this._-Or);
        }

    }
}//package _-56G

//------------------------------------------------------------
//_-56G.PurchaseConfirmationDialog

package _-56G
{
    import _-0mD.HabboCatalog;
    import _-293._-5-S;
    import _-3X8._-0hg;
    import _-295._-39L;
    import _-293._-4q2;
    import _-Ew.IWindowContainer;
    import _-1ae.IFrameWindow;
    import _-1lc.Offer;
    import _-4P2._-I3;
    import _-2Mh._-3Uw;
    import _-1lc._-3s;
    import _-0mD._-2Jq;
    import _-0mD._-2tY;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Matrix;
    import _-Ew.IWindow;
    import _-32F._-48b;
    import _-1ae.IItemListWindow;
    import _-295.BitmapDataAsset;
    import _-293._-2Gt;
    import _-1lc._-2eJ;
    import _-4Kb._-40f;
    import _-09j.WindowState;
    import _-0Ie.WindowEvent;
    import _-1ae.ITextWindow;
    import _-1lc.ProductImageConfiguration;
    import _-0y0._-Xl;
    import _-0se._-1uH;
    import _-0se._-24J;
    import _-0se._-18q;
    import _-04Z._-1xf;
    import _-1ae.IButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.ICheckBoxWindow;
    import _-uF.ILocalization;
    import _-1ae.ITextFieldWindow;
    import _-0Ie.WindowKeyboardEvent;
    import _-1ae._-4mB;
    import _-4n1._-0hX;
    import _-1ae.IItemGridWindow;
    import _-1lc._-YK;
    import _-30J._-3pk;
    import _-2gz.HabboTracking;
    import flash.ui.Keyboard;
    import _-3EM._-yZ;
    import _-3EM._-QQ;
    import flash.text.TextFormat;
    import _-3Bn._-1Ii;
    import _-4Kb.*;
    import _-293.*;

    public class PurchaseConfirmationDialog implements _-3QA, dynamic 
    {

        private const _-0SA:int = 10;
        private const _-4T4:uint = 4293848814;
        private const _-3NV:uint = 0xFFFFFFFF;
        private const _-ri:uint = 4291613146;

        private var _-3oJ:HabboCatalog;
        private var _-0tK:_-5-S;
        private var _-cU:_-0hg;
        private var _assets:_-39L;
        private var _-2W3:int;
        private var _-Gu:String = "";
        private var _-2Aj:int;
        private var _-3JQ:String;
        private var _-56Y:_-4q2 = null;
        private var _-CI:Boolean = false;
        private var _-hf:Array;
        private var _-2lb:String;
        private var _-1p1:IWindowContainer;
        private var _-bf:IWindowContainer;
        private var _-267:int = -1;
        private var _-HB:int;
        private var _-4Yt:Boolean = false;
        private var _-1H8:String = "";
        private var _-2gv:int;
        private var _-3A2:int = 0;
        private var _-33o:Array;
        private var _-41E:Array;
        private var _-0f0:Array;
        private var _-0R:int;
        private var _-0kF:int;
        private var _-3Y1:int;
        private var _-0xv:IFrameWindow;
        private var _disposed:Boolean = false;
        private var _-4qm:Boolean;

        public function PurchaseConfirmationDialog(_arg1:_-0hg, _arg2:_-39L)
        {
            this._-33o = [];
            this._-41E = [];
            this._-0f0 = [];
            super();
            this._-cU = _arg1;
            this._assets = _arg2;
        }
        public function _-0oq(_arg1:_-2Jq, _arg2:_-5-S, _arg3:_-2tY, _arg4:int, _arg5:String, _arg6:int, _arg7:_-4q2, _arg8:Array, _arg9:String, _arg10:Boolean, _arg11:BitmapData, _arg12:Boolean):void
        {
            this._-3oJ = (_arg1 as HabboCatalog);
            this._-0tK = _arg2;
            this._-2W3 = _arg3.offerId;
            this._-2Aj = _arg4;
            this._-3JQ = _arg5;
            this._-56Y = _arg7;
            this._-hf = _arg8;
            this._-2lb = _arg9;
            this._-HB = _arg6;
            this._-4Yt = ((this._-3oJ._-B6) ? _arg3._-3by : false);
            this._-4qm = _arg12;
            if ((_arg3 is Offer))
            {
                this._-Gu = _arg3.productContainer._-1YN._-5DX;
            }
            else
            {
                if ((_arg3 is _-I3))
                {
                    this._-Gu = _-3Uw._-0dl;
                }
                else
                {
                    if ((_arg3 is _-3s))
                    {
                        this._-Gu = _-3Uw._-3er;
                    };
                };
            };
            this._-3iW(_arg3, _arg10, _arg11);
            this._-3oJ._-1o4(_arg3);
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._disposed = true;
            this._-3oJ = null;
            this._-0tK = null;
            this._-2W3 = -1;
            this._-2Aj = -1;
            this._-3JQ = "";
            this._-hf = null;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-1p1 = null;
            if (this._-bf != null)
            {
                this._-bf.dispose();
                this._-bf = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-5DX():String
        {
            return (this._-Gu);
        }
        public function _-8u():IBitmapWrapperWindow
        {
            return (((this._-0xv) ? (this._-0xv.findChildByName("product_image") as IBitmapWrapperWindow) : null));
        }
        public function _-10j():Boolean
        {
            return (((!((this._-1H8 == null))) && (!((this._-1H8 == "")))));
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (_arg1 == this._-2gv)
            {
                this._-2gv = 0;
                this._-1xp(_arg2, true);
            };
        }
        private function _-1xp(_arg1:BitmapData, _arg2:Boolean):void
        {
            if ((((((this._-0xv == null)) || ((_arg1 == null)))) || (this.disposed)))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("product_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            if (k.bitmap != null)
            {
                k.bitmap.dispose();
                k.bitmap = null;
            };
            if (k.bitmap == null)
            {
                k.bitmap = new BitmapData(k.width, k.height, true, 0);
            };
            var k:int = ((k.width - _arg1.width) * 0.5);
            var k:int = ((k.height - _arg1.height) * 0.5);
            k.bitmap.draw(_arg1, new Matrix(1, 0, 0, 1, k, k));
            if (_arg2)
            {
                _arg1.dispose();
            };
        }
        private function _-3iW(_arg1:_-2tY, _arg2:Boolean, _arg3:BitmapData):void
        {
            var k:IWindow;
            var _local9:IWindow;
            var k:_-48b;
            var _local11:IItemListWindow;
            var k:Boolean;
            var k:String;
            var k:BitmapDataAsset;
            var k:_-5-S;
            var k:_-2Gt;
            var k:BitmapData;
            var k:int;
            var k:String;
            var k:_-2eJ;
            var _local21:_-40f;
            if (this._-3oJ == null)
            {
                return;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
            };
            this._-0xv = (this._-3oJ.utils.createWindow("purchase_confirmation", 2) as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            this._-3Xe(_arg1);
            var k:IWindowContainer = (this._-0xv.findChildByName("purchase_cost_box") as IWindowContainer);
            this._-3oJ.utils._-2xX(k, _arg1, this._-HB, this._-4qm);
            this._-2gQ("buy_button", this._-0RS);
            this._-2gQ("cancel_button", this._-4F9);
            this._-2gQ("header_button_close", this._-4F9);
            if (_arg2)
            {
                k = this._-0xv.findChildByName("publish_check");
                if (k)
                {
                    k._-1H2(WindowState._-t0, this._-CI);
                    k.addEventListener(WindowEvent._-2wB, this._-1LD);
                };
            }
            else
            {
                _local9 = this._-0xv.findChildByName("publish_container");
                if (_local9)
                {
                    _local9.visible = false;
                };
            };
            this._-0xv.center();
            var k:ITextWindow = (this._-0xv.findChildByName("product_name") as ITextWindow);
            if (k != null)
            {
                k = this._-3oJ.getProductData(_arg1._-5Dp);
                k.text = (((k == null)) ? _arg1._-5Dp : k.name);
            };
            var k:ITextWindow = (this._-0xv.findChildByName("quantity") as ITextWindow);
            if (k != null)
            {
                if (((this._-3oJ._-2bx) && ((this._-HB > 1))))
                {
                    k.text = ("X " + this._-HB);
                }
                else
                {
                    _local11 = IItemListWindow(this._-0xv.findChildByName("properties_itemlist"));
                    if (_local11 != null)
                    {
                        _local11._-4sE(k);
                    };
                };
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("product_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = false;
                if (ProductImageConfiguration._-0H3(_arg1._-5Dp))
                {
                    k = ProductImageConfiguration._-57-[_arg1._-5Dp];
                    k = (this._assets.getAssetByName(k) as BitmapDataAsset);
                    if (k)
                    {
                        this._-1xp((k.content as BitmapData), false);
                        k = true;
                    };
                };
                if (((((!(k)) && (!((_arg1.productContainer == null))))) && (!((_arg1.productContainer._-1YN == null)))))
                {
                    k = _arg1.page.viewer.roomEngine;
                    k = 0;
                    k = "";
                    if ((_arg1 is Offer))
                    {
                        k = _arg1.productContainer._-1YN;
                        k = k._-3yk;
                        k = k._-1gg;
                    };
                    if (_arg3 == null)
                    {
                        switch (this._-5DX)
                        {
                            case _-3Uw._-5Ds:
                                k = k.getFurnitureImage(k, new _-Xl(90, 0, 0), 64, this, 0, k, -1, -1, this._-56Y);
                                break;
                            case _-3Uw._-0xA:
                                k = k.getWallItemImage(k, new _-Xl(90, 0, 0), 64, this, 0, k);
                                break;
                            case _-3Uw._-17R:
                                k = this._-3oJ.getPixelEffectIcon(k);
                                break;
                            case _-3Uw._-0dl:
                                k = this._-3oJ.getSubscriptionProductIcon(k);
                                break;
                            case _-3Uw._-0Z7:
                                _local21 = this._-3oJ.avatarRenderManager.createAvatarImage(k, _-1uH._-JU, null, this);
                                _local21.setDirection(_-24J._-2YU, 3);
                                _local21.appendAction(_-18q._-2xr);
                                _local21.appendAction(_-18q._-4QC, _-18q._-X8);
                                k = _local21._-2Xc(_-24J._-2YU, true);
                                _local21.dispose();
                                break;
                        };
                        if (k != null)
                        {
                            k = k.data;
                            this._-2gv = k.id;
                        };
                    }
                    else
                    {
                        k = _arg3;
                    };
                    this._-1xp(k, true);
                    _-1xf._-2Of(_arg1, (this._-0xv.findChildByName("buy_button") as IButtonWindow));
                };
            };
        }
        private function _-3Xe(_arg1:_-2tY):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-48b = this._-3oJ.getProductData(_arg1._-5Dp);
            var k:String = (((k)==null) ? "" : k.name);
            this._-3oJ.windowManager.registerLocalizationParameter("catalog.purchase.confirmation.dialog.costs", "offer_name", k);
        }
        private function _-2gQ(_arg1:String, _arg2:Function):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, _arg2);
            };
        }
        public function getAvatarFaceBitmap(_arg1:String):BitmapData
        {
            if ((((this._-3oJ == null)) || ((this._-3oJ.avatarRenderManager == null))))
            {
                return (null);
            };
            var k:BitmapData;
            var k:_-40f = this._-3oJ.avatarRenderManager.createAvatarImage(_arg1, _-1uH._-JU, null, this);
            if (k != null)
            {
                k = k._-1hx(_-24J._-0GH);
                k.dispose();
            };
            return (k);
        }
        public function _-0-V(_arg1:String):void
        {
            if ((((((((this._-3oJ == null)) || ((this._-0xv == null)))) || (this._-0xv.disposed))) || (this.disposed)))
            {
                return;
            };
            if (_arg1 == this._-3oJ.sessionDataManager.figure)
            {
                this._-8x();
            };
            var k:_-40f = this._-3oJ.avatarRenderManager.createAvatarImage(_arg1, _-1uH._-JU, null, this);
            k.setDirection(_-24J._-2YU, 3);
            k.appendAction(_-18q._-2xr);
            k.appendAction(_-18q._-4QC, _-18q._-X8);
            var k:BitmapData = k._-2Xc(_-24J._-2YU, true);
            k.dispose();
            this._-1xp(k, true);
        }
        private function _-1Jp(_arg1:Boolean):void
        {
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("avatar_image") as IBitmapWrapperWindow);
            if (k != null)
            {
                if (_arg1)
                {
                    this._-8x();
                }
                else
                {
                    this._-4SA();
                };
            };
            var k:ITextWindow = (this._-0xv.findChildByName("message_from") as ITextWindow);
            if (k != null)
            {
                k.visible = _arg1;
            };
        }
        private function _-8x():void
        {
            var k:BitmapData = this.getAvatarFaceBitmap(this._-3oJ.sessionDataManager.figure);
            if (k != null)
            {
                this._-0OB(k);
            };
        }
        private function _-4SA():void
        {
            var k:BitmapData;
            var k:BitmapDataAsset = (this._assets.getAssetByName("gift_incognito") as BitmapDataAsset);
            if (k != null)
            {
                k = (k.content as BitmapData);
                if (k != null)
                {
                    this._-0OB(k.clone());
                };
            };
        }
        private function _-0OB(_arg1:BitmapData):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("avatar_image") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            k.bitmap = _arg1;
            k.width = _arg1.width;
            k.height = _arg1.height;
        }
        private function _-2Qg(_arg1:WindowEvent):void
        {
            this._-1Jp(true);
            this._-8x();
        }
        private function _-4Mx(_arg1:WindowEvent):void
        {
            this._-1Jp(false);
        }
        private function _-AW():Boolean
        {
            var k:ICheckBoxWindow;
            if (this._-0xv != null)
            {
                k = (this._-0xv.findChildByName("show_face_checkbox") as ICheckBoxWindow);
                if (k != null)
                {
                    return (k._-vX);
                };
            };
            return (false);
        }
        private function _-3xl():void
        {
            var k:IWindow;
            if ((((this._-0xv == null)) || (this._-0xv.disposed)))
            {
                return;
            };
            var k:Boolean = this._-1SL();
            var k:String = "";
            var k:String = "";
            var k:ILocalization;
            var k:ITextWindow = (this._-0xv.findChildByName("pick_box_title") as ITextWindow);
            if (k != null)
            {
                k = ((k) ? "catalog.gift_wrapping_new.box.default" : ("catalog.gift_wrapping_new.box." + this._-0kF));
                k = this._-cU.getLocalization(k);
                if (k != null)
                {
                    k = k.value;
                };
                k.text = k;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("pick_box_price_title") as ITextWindow);
            if (k != null)
            {
                k = ((k) ? "catalog.gift_wrapping_new.freeprice" : "catalog.gift_wrapping_new.price");
                k = this._-cU.getLocalization(k);
                if (k != null)
                {
                    k = k.value;
                };
                k.text = k;
            };
            var k:IItemListWindow = (this._-0xv.findChildByName("price_box_container") as IItemListWindow);
            if (k != null)
            {
                k = k.getListItemByName("small_coin");
                if (k != null)
                {
                    k.visible = !(k);
                    k._-0O3();
                };
            };
            var k:ITextWindow = (this._-0xv.findChildByName("pick_ribbon_title") as ITextWindow);
            if (k != null)
            {
                k = ("catalog.gift_wrapping_new.ribbon." + this._-0R);
                k = this._-cU.getLocalization(k);
                if (k != null)
                {
                    k = k.value;
                };
                k.text = k;
            };
        }
        public function _-2qb():void
        {
            var k:String;
            var k:String;
            var k:String;
            var k:Number;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
            };
            var k:_-2Ra = this._-3oJ._-0go;
            this._-0xv = (this._-3oJ.utils.createWindow("gift_wrapping") as IFrameWindow);
            if (this._-0xv == null)
            {
                return;
            };
            this._-0xv.center();
            this._-2gQ("give_gift_button", this._-3z1);
            this._-2gQ("cancel_link_region", this._-4TD);
            this._-2gQ("header_button_close", this._-4TD);
            var k:ITextFieldWindow = (this._-0xv.findChildByName("name_input") as ITextFieldWindow);
            if (k != null)
            {
                if (this._-2lb != null)
                {
                    this._-2lV(this._-2lb);
                }
                else
                {
                    this._-4Z8();
                };
                this._-3Ie();
                k.addEventListener(WindowEvent._-0cZ, this._-3yZ);
                k.addEventListener(WindowMouseEvent._-3Jy, this._-56b);
                k.addEventListener(WindowKeyboardEvent._-4Wf, this._-0pr);
                k.addEventListener(WindowEvent._-4JH, this._-0a2);
                k.addEventListener(WindowEvent._-1gM, this._-3Nl);
            };
            var k:_-4mB = (this._-0xv.findChildByName("gift_card") as _-4mB);
            if (k)
            {
                k = this._-3oJ.configuration.getKey("catalog.gift_wrapping_new.gift_card", "giftcard_xmas_1");
                k.assetUri = (("${image.library.url}Giftcards/" + k) + ".png");
            };
            var k:ICheckBoxWindow = (this._-0xv.findChildByName("show_face_checkbox") as ICheckBoxWindow);
            if (k)
            {
                k.select();
                k.addEventListener(WindowEvent._-0P3, this._-2Qg);
                k.addEventListener(WindowEvent._-4Yk, this._-4Mx);
            };
            this._-8x();
            var k:ITextFieldWindow = (this._-0xv.findChildByName("message_input") as ITextFieldWindow);
            if (k != null)
            {
                this._-4gX();
                k.addEventListener(WindowEvent._-0cZ, this._-4Lv);
                k.addEventListener(WindowEvent._-4JH, this._-1Dr);
                k.addEventListener(WindowEvent._-1gM, this._-0Ty);
            };
            var k:ITextWindow = (this._-0xv.findChildByName("message_from") as ITextWindow);
            if (k != null)
            {
                k = this._-3oJ.sessionDataManager.userName;
                k = "catalog.gift_wrapping_new.message_from";
                this._-cU.registerParameter(k, "name", k);
                k.text = this._-cU.getKey(k, k);
            };
            this._-2gQ("ribbon_prev", this._-1TQ);
            this._-2gQ("ribbon_next", this._-2zI);
            this._-2gQ("box_prev", this._-47D);
            this._-2gQ("box_next", this._-0oY);
            this._-cU.registerParameter("catalog.gift_wrapping_new.price", "price", k.price.toString());
            if (k._-4z6.length > 0)
            {
                k = Math.floor((Math.random() * k._-4z6.length));
                this._-3A2 = k._-4z6[k];
            };
            this._-33o = k._-2Zp;
            this._-0f0 = this._-0f0.concat(k._-3bz);
            this._-0f0.push(this._-3A2);
            this._-41E = k._-3-T;
            this._-3Y1 = this._-33o[0];
            this._-0kF = this._-0f0[0];
            this._-0R = this._-41E[0];
            this._-51l();
            this._-3aW();
            this._-2HS();
        }
        private function _-1SL():Boolean
        {
            return ((this._-0f0[this._-0kF] == this._-3A2));
        }
        private function _-2HS():void
        {
            if (this._-0R < 0)
            {
                this._-0R = (this._-41E.length - 1);
            };
            if (this._-0R > (this._-41E.length - 1))
            {
                this._-0R = 0;
            };
            if (this._-0kF < 0)
            {
                this._-0kF = (this._-0f0.length - 1);
            };
            if (this._-0kF > (this._-0f0.length - 1))
            {
                this._-0kF = 0;
            };
            var k:int = this._-0f0[this._-0kF];
            var k:int = ((k * 1000) + this._-41E[this._-0R]);
            if (this._-0xv == null)
            {
                return;
            };
            if (this._-0tK == null)
            {
                return;
            };
            var k:String = k.toString();
            var k:int = this._-3Y1;
            var k:Boolean = this._-1SL();
            if (k)
            {
                this._-gZ(false);
                k = this._-3A2;
                k = "";
            }
            else
            {
                this._-gZ(true);
                if ((((k >= 3)) && ((k <= 6))))
                {
                    this._-4GI(false);
                };
            };
            var k:_-2Gt = this._-0tK.getFurnitureImage(k, new _-Xl(180), 64, this, 0, k);
            if (k == null)
            {
                return;
            };
            this._-2gv = k.id;
            this._-1xp(k.data, true);
            this._-7g(false);
            this._-3xl();
        }
        private function _-51l():void
        {
            var k:int;
            var k:_-0hX;
            var k:IWindowContainer;
            if (this._-0xv == null)
            {
                return;
            };
            var k:IItemGridWindow = (this._-0xv.findChildByName("color_grid") as IItemGridWindow);
            k.destroyGridItems();
            var k:IWindowContainer = (this._-3oJ.utils.createWindow("gift_palette_item") as IWindowContainer);
            for each (k in this._-33o)
            {
                k = this._-3oJ._-2QH(k, _-3Uw._-5Ds);
                k = (k.clone() as IWindowContainer);
                if (((!(k)) || (!(k))))
                {
                }
                else
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-0G4);
                    k.findChildByName("color").color = k._-2Wk[0];
                    k.id = k;
                    k._-2-F(k);
                };
            };
        }
        private function _-BX():void
        {
            var k:ITextFieldWindow = (this._-0xv.findChildByName("name_input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            var k:String = k.text;
            var k:ITextFieldWindow = (this._-0xv.findChildByName("message_input") as ITextFieldWindow);
            var k:String = (((k)==null) ? "" : k.text);
            var k:ICheckBoxWindow = (this._-0xv.findChildByName("use_free_checkbox") as ICheckBoxWindow);
            var k:Boolean = this._-1SL();
            var k:int = ((k) ? this._-3A2 : this._-3Y1);
            var k:int = ((k) ? 0 : this._-0f0[this._-0kF]);
            var k:int = ((k) ? 0 : this._-41E[this._-0R]);
            var k:Boolean = this._-AW();
            this._-3oJ._-1q6(this._-2Aj, this._-2W3, this._-3JQ, k, k, k, k, k, k);
        }
        private function _-13r(_arg1:String):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.disable();
            };
        }
        private function _-4mu(_arg1:String):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.enable();
            };
        }
        private function _-0RS(_arg1:WindowEvent):void
        {
            var _local2:_-YK;
            this._-13r("buy_button");
            this._-13r("cancel_button");
            this._-13r("header_button_close");
            this._-13r("publish_check");
            if (this._-Gu == _-3Uw._-3er)
            {
                this._-3oJ._-004();
            }
            else
            {
                this._-3oJ._-0SJ(this._-2Aj, this._-2W3, this._-3JQ, this._-HB, false, this._-4qm);
                _local2 = this._-3oJ._-3bP;
                if (_local2 != null)
                {
                    _local2.dispatchWidgetEvent(new _-3pk());
                };
            };
        }
        private function _-4WV(_arg1:WindowEvent):void
        {
            this._-2qb();
            HabboTracking._-0ON().trackEventLog("Catalog", "clickConfirm", "client.buy_as_gift.clicked");
        }
        private function _-1LD(_arg1:WindowEvent):void
        {
            this._-CI = _arg1.window._-3AV(WindowState._-t0);
        }
        private function _-4F9(_arg1:WindowEvent):void
        {
            this._-3oJ._-265();
            this.dispose();
        }
        private function _-3z1(_arg1:WindowEvent):void
        {
            this._-BX();
            this._-2Rx(false);
            this._-3oJ._-4Y5 = null;
            this._-3oJ._-265();
        }
        private function _-4TD(_arg1:WindowEvent):void
        {
            this._-3oJ._-265();
            this.dispose();
        }
        private function _-1TQ(_arg1:WindowEvent):void
        {
            this._-0R--;
            this._-2HS();
        }
        private function _-2zI(_arg1:WindowEvent):void
        {
            this._-0R++;
            this._-2HS();
        }
        private function _-47D(_arg1:WindowEvent):void
        {
            this._-0kF--;
            this._-2HS();
        }
        private function _-0oY(_arg1:WindowEvent):void
        {
            this._-0kF++;
            this._-2HS();
        }
        private function _-3yZ(_arg1:WindowEvent):void
        {
            var k:String;
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            this._-3Ie();
            if (this._-1H8 == k.text)
            {
                return;
            };
            var k:String = k.text.toLowerCase();
            var k:Array = [];
            for each (k in this._-hf)
            {
                if (k.toLowerCase().search(k) != -1)
                {
                    k.push(k);
                };
                if (k.length >= this._-0SA)
                {
                    break;
                };
            };
            this._-1H8 = k.text;
            this._-4eA(k);
        }
        private function _-56b(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            this._-7g(false);
        }
        private function _-0pr(_arg1:WindowEvent):void
        {
            var k:Boolean;
            var k:WindowKeyboardEvent = (_arg1 as WindowKeyboardEvent);
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            switch (k.keyCode)
            {
                case Keyboard.UP:
                    this._-42n((this._-267 - 1));
                    return;
                case Keyboard.DOWN:
                    this._-42n((this._-267 + 1));
                    if (k != null)
                    {
                        if (k.text.length == 0)
                        {
                            if ((((this._-1p1 == null)) || (!(this._-1p1.visible))))
                            {
                                k = this._-51R();
                                if (k)
                                {
                                    this._-42n(0);
                                };
                            };
                        };
                    };
                    return;
                case Keyboard.ENTER:
                    this._-0Th();
                    return;
                case Keyboard.TAB:
                    this._-5A7();
                    return;
            };
        }
        private function _-51R():Boolean
        {
            var k:Array;
            var k:String;
            if (((!((this._-hf == null))) && ((this._-hf.length > 0))))
            {
                k = [];
                for each (k in this._-hf)
                {
                    k.push(k);
                    if (k.length >= this._-0SA)
                    {
                        break;
                    };
                };
                this._-4eA(k);
                this._-7g(true);
                return (true);
            };
            return (false);
        }
        private function _-4Z8():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextFieldWindow = (this._-0xv.findChildByName("name_input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            k.visible = true;
            k.focus();
        }
        private function _-5A7():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextFieldWindow = (this._-0xv.findChildByName("message_input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            k.visible = true;
            k.focus();
        }
        private function _-0Th():void
        {
            if ((((this._-1p1 == null)) || (!(this._-1p1.visible))))
            {
                return;
            };
            var k:IItemListWindow = (this._-1p1.findChildByName("suggestion_list") as IItemListWindow);
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = (k.getListItemAt(this._-267) as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName("name_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            this._-2lV(k.text);
            this._-7g(false);
        }
        private function _-7g(_arg1:Boolean):void
        {
            if (this._-1p1 == null)
            {
                return;
            };
            this._-1p1.visible = _arg1;
            if (!_arg1)
            {
                this._-mQ(true);
            };
        }
        private function _-mQ(_arg1:Boolean):void
        {
            var k:ITextFieldWindow = (this._-0xv.findChildByName("message_input") as ITextFieldWindow);
            if (k != null)
            {
                k.visible = _arg1;
            };
        }
        private function _-4Lv(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            this._-4gX();
        }
        private function _-0a2(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            this._-3Ie();
        }
        private function _-3Nl(_arg1:WindowEvent):void
        {
            var k:ITextFieldWindow = (_arg1.target as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            this._-3Ie();
        }
        private function _-1Dr(_arg1:WindowEvent):void
        {
            this._-4gX();
            this._-7g(false);
        }
        private function _-0Ty(_arg1:WindowEvent):void
        {
            this._-4gX();
        }
        private function _-3Ie():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextFieldWindow = (this._-0xv.findChildByName("name_input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            var k:String = k.text;
            if ((((k == null)) || ((k.length == 0))))
            {
                this._-1Up(true, "name_input_hint", "catalog.gift_wrapping_new.name_hint");
            }
            else
            {
                this._-1Up(false, "name_input_hint", "catalog.gift_wrapping_new.name_hint");
            };
        }
        private function _-4gX():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextFieldWindow = (this._-0xv.findChildByName("message_input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            var k:String = k.text;
            if ((((k == null)) || ((k.length == 0))))
            {
                this._-1Up(true, "message_input_hint", "catalog.gift_wrapping_new.message_hint");
            }
            else
            {
                this._-1Up(false, "message_input_hint", "catalog.gift_wrapping_new.message_hint");
            };
        }
        private function _-1Up(_arg1:Boolean, _arg2:String, _arg3:String):void
        {
            var k:ITextWindow = (this._-0xv.findChildByName(_arg2) as ITextWindow);
            if (k != null)
            {
                k.text = this._-cU.getKey(_arg3);
                k.visible = _arg1;
            };
        }
        private function _-0ia(_arg1:Boolean):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IWindow = this._-0xv.findChildByName("ribbon_prev");
            this._-1Be(k, _arg1);
            var k:IWindow = this._-0xv.findChildByName("ribbon_next");
            this._-1Be(k, _arg1);
            var k:IWindow = this._-0xv.findChildByName("pick_ribbon_title");
            this._-1Be(k, _arg1);
        }
        private function _-gZ(_arg1:Boolean):void
        {
            this._-4GI(_arg1);
            this._-0ia(_arg1);
        }
        private function _-4GI(_arg1:Boolean):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IWindow = this._-0xv.findChildByName("box_color_title");
            this._-1Be(k, _arg1);
            var k:IWindowContainer = (this._-0xv.findChildByName("color_picker_container") as IWindowContainer);
            if (k != null)
            {
                this._-1Be(k, _arg1);
            };
        }
        private function _-1Be(_arg1:IWindow, _arg2:Boolean):void
        {
            var k:_-yZ;
            var k:int;
            var k:int;
            var k:IWindow;
            this._-3ed(_arg1, _arg2);
            if ((_arg1 is _-QQ))
            {
                k = _-QQ(_arg1).iterator;
                k = k.length;
                if (k > 0)
                {
                    k = 0;
                    while (k < k)
                    {
                        k = (k[k] as IWindow);
                        if (k != null)
                        {
                            this._-3ed(k, _arg2);
                            if ((k is _-QQ))
                            {
                                this._-1Be(k, _arg2);
                            };
                        };
                        k++;
                    };
                };
            };
        }
        private function _-3ed(_arg1:IWindow, _arg2:Boolean):void
        {
            if (_arg2)
            {
                _arg1.blend = 1;
                _arg1.enable();
            }
            else
            {
                _arg1.blend = 0.5;
                _arg1.disable();
            };
        }
        private function _-4eA(_arg1:Array):void
        {
            var k:String;
            var k:IWindowContainer;
            var k:ITextWindow;
            var k:int;
            var k:int;
            var k:TextFormat;
            var k:int;
            if (this._-1p1 == null)
            {
                this._-1p1 = (this._-0xv.findChildByName("suggestion_container") as IWindowContainer);
            };
            if (this._-bf == null)
            {
                this._-bf = (this._-3oJ.utils.createWindow("suggestion_list_item_new") as IWindowContainer);
            };
            if ((((this._-1p1 == null)) || ((this._-bf == null))))
            {
                return;
            };
            var k:IItemListWindow = (this._-1p1.findChildByName("suggestion_list") as IItemListWindow);
            if (k == null)
            {
                return;
            };
            k._-3mI();
            if (_arg1.length == 0)
            {
                this._-7g(false);
                return;
            };
            this._-7g(true);
            var k:int;
            for each (k in _arg1)
            {
                k = (this._-bf.clone() as IWindowContainer);
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-22n);
                    k.addEventListener(WindowMouseEvent._-4ea, this._-20T);
                    k = (k.findChildByName("name_text") as ITextWindow);
                    if (k != null)
                    {
                        k.text = k;
                        if (this._-1H8 != null)
                        {
                            k = this._-1H8.length;
                            if (k > 0)
                            {
                                k = k.toLowerCase().search(this._-1H8.toLowerCase());
                                if (k != -1)
                                {
                                    k = k.getTextFormat();
                                    k.bold = true;
                                    k = (k + k);
                                    if (k > k.length)
                                    {
                                        k = k.length;
                                    };
                                    k.setTextFormat(k, k, k);
                                };
                            };
                        };
                        k.addListItem(k);
                    };
                    k.color = this._-12f(k);
                    k++;
                };
            };
            this._-mQ((_arg1.length < 2));
            this._-42n(0);
        }
        private function _-22n(_arg1:WindowEvent):void
        {
            var k:IWindowContainer = (_arg1.target as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:ITextWindow = (k.findChildByName("name_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            this._-2lV(k.text);
            this._-7g(false);
        }
        private function _-20T(_arg1:WindowEvent):void
        {
            var k:IWindowContainer = (_arg1.target as IWindowContainer);
            if (k == null)
            {
                return;
            };
            var k:IItemListWindow = (this._-1p1.findChildByName("suggestion_list") as IItemListWindow);
            if (k == null)
            {
                return;
            };
            this._-42n(k._-ed(k));
        }
        private function _-42n(_arg1:int):void
        {
            var k:IWindowContainer;
            if (this._-1p1 == null)
            {
                return;
            };
            var k:IItemListWindow = (this._-1p1.findChildByName("suggestion_list") as IItemListWindow);
            if (k == null)
            {
                return;
            };
            k = (k.getListItemAt(this._-267) as IWindowContainer);
            if (k != null)
            {
                k.color = this._-12f(this._-267);
            };
            this._-267 = _arg1;
            if (this._-267 < 0)
            {
                this._-267 = (k.numListItems - 1);
            };
            if (this._-267 >= k.numListItems)
            {
                this._-267 = 0;
            };
            k = (k.getListItemAt(this._-267) as IWindowContainer);
            if (k != null)
            {
                k.color = this._-ri;
            };
        }
        private function _-12f(_arg1:int):uint
        {
            return (((((_arg1 % 2) == 0)) ? this._-4T4 : this._-3NV));
        }
        private function _-2lV(_arg1:String):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextFieldWindow = (this._-0xv.findChildByName("name_input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            k.text = _arg1;
            this._-3Ie();
            this._-5A7();
        }
        private function _-0G4(_arg1:WindowEvent):void
        {
            this._-3Y1 = _arg1.target.id;
            this._-3aW();
            this._-2HS();
        }
        private function _-3aW():void
        {
            var k:IWindowContainer;
            var k:IWindow;
            if (this._-0xv == null)
            {
                return;
            };
            var k:IItemGridWindow = (this._-0xv.findChildByName("color_grid") as IItemGridWindow);
            if (k == null)
            {
                return;
            };
            var k:int;
            while (k < k.numGridItems)
            {
                k = (k._-jx(k) as IWindowContainer);
                if (k == null)
                {
                }
                else
                {
                    k = k.findChildByName("selection");
                    if (k == null)
                    {
                    }
                    else
                    {
                        k.visible = (k.id == this._-3Y1);
                    };
                };
                k++;
            };
        }
        public function _-0bu():void
        {
            if (this.disposed)
            {
                return;
            };
            this._-2Rx(true);
            if (((!(this._-3oJ)) || (!(this._-3oJ.windowManager))))
            {
                return;
            };
            this._-3oJ.windowManager.alert(("$" + "{catalog.gift_wrapping.receiver_not_found.title}"), ("$" + "{catalog.gift_wrapping.receiver_not_found.info}"), 0, this._-yp);
        }
        private function _-yp(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            _arg1.dispose();
            this._-2Rx(true);
        }
        private function _-2Rx(_arg1:Boolean):void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:IButtonWindow = (this._-0xv.findChildByName("give_gift_button") as IButtonWindow);
            if (k != null)
            {
                if (_arg1)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
        }
        public function _-3fP():void
        {
            if (this.disposed)
            {
                return;
            };
            if (this._-0xv == null)
            {
                return;
            };
            this._-2Rx(true);
            this._-4mu("header_button_close");
            var k:ICheckBoxWindow = (this._-0xv.findChildByName("use_free_checkbox") as ICheckBoxWindow);
            if (k != null)
            {
                k.select();
            };
        }
        public function _-3K1():void
        {
            var k:IWindow = this._-0xv.findChildByName("buy_button");
            k.removeEventListener(WindowMouseEvent._-90, this._-0RS);
            k.addEventListener(WindowMouseEvent._-90, this._-4WV);
            k.caption = "${catalog.purchase_confirmation.gift}";
            this._-0xv.caption = "${catalog.purchase_confirmation.gift.title}";
        }

    }
}//package _-56G

//------------------------------------------------------------
//_-58c._-0m3

package _-58c
{
    import _-OR._-2uu;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0m3 implements _-58N 
    {

        private var _-4H0:_-2uu;

        public function flush():Boolean
        {
            this._-4H0 = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4H0 = new _-2uu(_arg1);
            return (true);
        }
        public function get _-4e8():_-2uu
        {
            return (this._-4H0);
        }

    }
}//package _-58c

//------------------------------------------------------------
//_-58c._-1D1

package _-58c
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1D1 implements _-58N 
    {

        private var _-2CO:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2CO = _arg1._-2BW();
            return (true);
        }
        public function get _-2Ds():int
        {
            return (this._-2CO);
        }

    }
}//package _-58c

//------------------------------------------------------------
//_-58c._-2hY

package _-58c
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2hY implements _-58N 
    {

        private var _-3Dw:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            return (true);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }

    }
}//package _-58c

//------------------------------------------------------------
//_-58c._-373

package _-58c
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-373 implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-58c

//------------------------------------------------------------
//_-58c._-3c3

package _-58c
{
    import _-OR._-37B;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3c3 implements _-58N 
    {

        private var _-4H0:_-37B;

        public function flush():Boolean
        {
            this._-4H0 = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4H0 = new _-37B(_arg1);
            return (true);
        }
        public function get _-4e8():_-37B
        {
            return (this._-4H0);
        }

    }
}//package _-58c

//------------------------------------------------------------
//_-58c._-4ll

package _-58c
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4ll implements _-58N 
    {

        private var _-3CI:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3CI = _arg1.readString();
            return (true);
        }
        public function get info():String
        {
            return (this._-3CI);
        }

    }
}//package _-58c

//------------------------------------------------------------
//_-58c._-oz

package _-58c
{
    import _-OR.ActionDefinition;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-oz implements _-58N 
    {

        private var _-4H0:ActionDefinition;

        public function flush():Boolean
        {
            this._-4H0 = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4H0 = new ActionDefinition(_arg1);
            return (true);
        }
        public function get _-4e8():ActionDefinition
        {
            return (this._-4H0);
        }

    }
}//package _-58c

//------------------------------------------------------------
//_-595._-3RQ

package _-595
{
    import _-1mK._-iw;
    import _-4Aj._-0s1;

    public class _-3RQ 
    {

        private var _-5K:int;
        private var _-0VJ:int;
        private var _-CL:Boolean;
        private var _-0UX:String;
        private var _-1h5:String;
        private var _-1Td:String;
        private var _-14l:String;

        public function _-3RQ(_arg1:_-0s1):void
        {
            this._-5K = _arg1._-2BW();
            this._-0VJ = _arg1._-2BW();
            this._-CL = _arg1.readBoolean();
            switch (this._-5K)
            {
                case _-iw._-3Qb:
                case _-iw._-2vR:
                    this._-0UX = _arg1.readString();
                    this._-1h5 = _arg1.readString();
                    return;
                case _-iw._-1tk:
                    if (!this._-4sc)
                    {
                        this._-0UX = _arg1.readString();
                        this._-1h5 = _arg1.readString();
                        this._-14l = _arg1.readString();
                    };
                    return;
                case _-iw._-4IR:
                    this._-0UX = _arg1.readString();
                    this._-1h5 = _arg1.readString();
                    this._-1Td = _arg1.readString();
                    return;
            };
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get _-4Uj():int
        {
            return (this._-0VJ);
        }
        public function get _-4sc():Boolean
        {
            return (this._-CL);
        }
        public function get _-53m():String
        {
            return (this._-0UX);
        }
        public function get _-3Ns():String
        {
            return (this._-1h5);
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function get roomName():String
        {
            return (this._-14l);
        }

    }
}//package _-595

//------------------------------------------------------------
//_-59g._-0f

package _-59g
{
    public class _-0f extends _-2ga 
    {

        public static const _-2m0:String = "REDWME_DRAG_START";
        public static const _-1Ae:String = "REDWME_DRAG_END";

        public function _-0f(_arg1:String, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
        }
    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-10x

package _-59g
{
    public class _-10x extends _-4KP 
    {

        public static const _-1oT:String = "REPSE_PLAY_SOUND";
        public static const _-1JE:String = "REPSE_PLAY_SOUND_AT_PITCH";

        private var _-3F-:String;
        private var _-4Lt:Number;

        public function _-10x(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:String, _arg7:Number=1, _arg8:Boolean=false, _arg9:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
            this._-3F- = _arg6;
            this._-4Lt = _arg7;
        }
        public function get _-0IY():String
        {
            return (this._-3F-);
        }
        public function get _-379():Number
        {
            return (this._-4Lt);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-18n

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-18n extends _-2Z2 
    {

        public static const _-wN:String = "ROFHO_ADD_HOLE";
        public static const _-x3:String = "ROFHO_REMOVE_HOLE";

        public function _-18n(_arg1:String, _arg2:_-3SU, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-1Ey

package _-59g
{
    import _-071._-4l1;
    import _-3V-._-3SU;

    public class _-1Ey extends _-4l1 
    {

        private var _-Ce:Number;
        private var _-2p1:Number;
        private var _-4Hg:Number;

        public function _-1Ey(_arg1:String, _arg2:_-3SU, _arg3:String, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false, _arg8:Boolean=false, _arg9:Boolean=false, _arg10:Boolean=false, _arg11:Boolean=false, _arg12:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12);
            this._-Ce = _arg4;
            this._-2p1 = _arg5;
            this._-4Hg = _arg6;
        }
        public function get _-05J():Number
        {
            return (this._-Ce);
        }
        public function get _-5-x():Number
        {
            return (this._-2p1);
        }
        public function get _-2-M():Number
        {
            return (this._-4Hg);
        }
        public function get _-2ni():int
        {
            return ((this._-Ce + 0.499));
        }
        public function get _-3iP():int
        {
            return ((this._-2p1 + 0.499));
        }
        public function get _-05h():int
        {
            return ((this._-4Hg + 0.499));
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-1Su

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-1Su extends _-2Z2 
    {

        public static const _-w7:String = "ROME_POSITION_CHANGED";
        public static const _-197:String = "ROME_OBJECT_REMOVED";

        public function _-1Su(_arg1:String, _arg2:_-3SU, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-1tL

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-1tL extends _-2Z2 
    {

        public static const _-2zF:String = "ROSCE_STATE_CHANGE";
        public static const _-123:String = "ROSCE_STATE_RANDOM";

        private var _-4qc:int = 0;

        public function _-1tL(_arg1:String, _arg2:_-3SU, _arg3:int=0, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg2, _arg4, _arg5);
            this._-4qc = _arg3;
        }
        public function get param():int
        {
            return (this._-4qc);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-22K

package _-59g
{
    public class _-22K extends _-4KP 
    {

        public static const _-3l-:String = "ROSM_USE_PRODUCT_FROM_ROOM";
        public static const _-WQ:String = "ROSM_USE_PRODUCT_FROM_INVENTORY";

        private var _-0XY:int;
        private var _-8f:int;

        public function _-22K(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int=-1, _arg7:int=-1, _arg8:Boolean=false, _arg9:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg8, _arg9);
            this._-0XY = _arg6;
            this._-8f = _arg7;
        }
        public function get _-gy():int
        {
            return (this._-0XY);
        }
        public function get _-vW():int
        {
            return (this._-8f);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-2f1

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-2f1 extends _-2Z2 
    {

        public static const _-1tS:String = "ROWRE_WIDGET_REQUEST_PLACEHOLDER";
        public static const _-33j:String = "ROWRE_WIDGET_REQUEST_CREDITFURNI";
        public static const _-4c-:String = "ROWRE_WIDGET_REQUEST_STICKIE";
        public static const _-1b:String = "ROWRE_WIDGET_REQUEST_PRESENT";
        public static const _-33A:String = "ROWRE_WIDGET_REQUEST_TROPHY";
        public static const _-Vw:String = "ROWRE_WIDGET_REQUEST_TEASER";
        public static const _-0EU:String = "ROWRE_WIDGET_REQUEST_ECOTRONBOX";
        public static const _-2WP:String = "ROWRE_WIDGET_REQUEST_DIMMER";
        public static const _-46r:String = "ROWRE_WIDGET_REMOVE_DIMMER";
        public static const _-37L:String = "ROWRE_WIDGET_REQUEST_CLOTHING_CHANGE";
        public static const _-2y0:String = "ROWRE_WIDGET_REQUEST_JUKEBOX_PLAYLIST_EDITOR";
        public static const _-2R1:String = "ROWRE_WIDGET_REQUEST_MANNEQUIN";
        public static const _-0sb:String = "ROWRE_WIDGET_REQUEST_PET_PRODUCT_MENU";
        public static const _-3bb:String = "ROWRE_WIDGET_REQUEST_GUILD_FURNI_CONTEXT_MENU";
        public static const _-1rx:String = "ROWRE_WIDGET_REQUEST_RANDOM_TELEPORT_CONTEXT_MENU";
        public static const _-51c:String = "ROWRE_WIDGET_REQUEST_HIDE_FURNI_CONTEXT_MENU";
        public static const _-11B:String = "ROWRE_WIDGET_REQUEST_MONSTERPLANT_SEED_CONTEXT_MENU";
        public static const _-LO:String = "ROWRE_WIDGET_REQUEST_MONSTERPLANT_SEED_PLANT_CONFIRMATION_DIALOG";
        public static const _-1Bx:String = "ROWRE_WIDGET_REQUEST_BACKGROUND_COLOR";

        public function _-2f1(_arg1:String, _arg2:_-3SU, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-2ga

package _-59g
{
    import flash.events.Event;

    public class _-2ga extends Event 
    {

        public static const _-Dl:String = "REE_ENGINE_INITIALIZED";
        public static const _-4sh:String = "REE_INITIALIZED";
        public static const _-1dz:String = "REE_DISPOSED";
        public static const _-2fE:String = "REE_GAME_MODE";
        public static const _-1JB:String = "REE_NORMAL_MODE";
        public static const _-2dl:String = "REE_OBJECTS_INITIALIZED";

        private var _-1Rt:int;
        private var _-0wA:int;

        public function _-2ga(_arg1:String, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-2H9

package _-59g
{
    public class _-2H9 extends _-4KP 
    {

        public static const _-Zs:String = "REOSPE_ROOM_OBJECT_INITIALIZED";
        public static const _-0Ho:String = "REOSPE_ROOM_OBJECT_DISPOSED";
        public static const _-4ut:String = "REOSPE_PLAY_SAMPLE";

        private var _-qM:int;
        private var _-4Lt:Number;

        public function _-2H9(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:Number=1, _arg8:Boolean=false, _arg9:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5);
            this._-qM = _arg6;
            this._-4Lt = _arg7;
        }
        public function get _-4AS():int
        {
            return (this._-qM);
        }
        public function get _-379():Number
        {
            return (this._-4Lt);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-2K9

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-2K9 extends _-2Z2 
    {

        public static const _-45P:String = "ROFCAE_DICE_OFF";
        public static const _-4kx:String = "ROFCAE_DICE_ACTIVATE";
        public static const _-4Yg:String = "ROFCAE_USE_HABBOWHEEL";
        public static const _-2u9:String = "ROFCAE_STICKIE";
        public static const _-4hm:String = "ROFCAE_ENTER_ONEWAYDOOR";
        public static const _-sh:String = "ROFCAE_QUEST_VENDING";
        public static const _-4wS:String = "ROFCAE_SOUND_MACHINE_INIT";
        public static const _-32x:String = "ROFCAE_SOUND_MACHINE_START";
        public static const _-eL:String = "ROFCAE_SOUND_MACHINE_STOP";
        public static const _-4nT:String = "ROFCAE_SOUND_MACHINE_DISPOSE";
        public static const _-01w:String = "ROFCAE_JUKEBOX_INIT";
        public static const _-0Hp:String = "ROFCAE_JUKEBOX_START";
        public static const _-3zG:String = "ROFCAE_JUKEBOX_MACHINE_STOP";
        public static const _-0ZN:String = "ROFCAE_JUKEBOX_DISPOSE";
        public static const _-49J:String = "ROFCAE_MOUSE_BUTTON";
        public static const _-4Wb:String = "ROFCAE_MOUSE_ARROW";

        public function _-2K9(_arg1:String, _arg2:_-3SU, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-2lz

package _-59g
{
    public class _-2lz extends _-2ga 
    {

        public static const _-2di:String = "REDSE_ROOM_COLOR";

        private var _-0Ke:int;
        private var _-W5:int;
        private var _-57p:int;
        private var _color:uint;
        private var _-08E:int;

        public function _-2lz(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:uint, _arg7:uint, _arg8:Boolean=false, _arg9:Boolean=false)
        {
            super(_-2di, _arg1, _arg2, _arg8, _arg9);
            this._-0Ke = _arg3;
            this._-W5 = _arg4;
            this._-57p = _arg5;
            this._color = _arg6;
            this._-08E = _arg7;
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-0Wp():int
        {
            return (this._-W5);
        }
        public function get _-33s():int
        {
            return (this._-57p);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-42j():uint
        {
            return (this._-08E);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-2Oh

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-2Oh extends _-2Z2 
    {

        public static const _-2di:String = "RODSUE_DIMMER_STATE";

        private var _-0Ke:int;
        private var _-W5:int;
        private var _-57p:int;
        private var _color:uint;
        private var _-08E:int;

        public function _-2Oh(_arg1:_-3SU, _arg2:int, _arg3:int, _arg4:int, _arg5:uint, _arg6:int, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_-2di, _arg1, _arg7, _arg8);
            this._-0Ke = _arg2;
            this._-W5 = _arg3;
            this._-57p = _arg4;
            this._color = _arg5;
            this._-08E = _arg6;
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-0Wp():int
        {
            return (this._-W5);
        }
        public function get _-33s():int
        {
            return (this._-57p);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-42j():uint
        {
            return (this._-08E);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-3BG

package _-59g
{
    import _-3V-._-3SU;

    public class _-3BG extends _-2K9 
    {

        public static const _-Zs:String = "ROPSPE_ROOM_OBJECT_INITIALIZED";
        public static const _-0Ho:String = "ROPSPE_ROOM_OBJECT_DISPOSED";
        public static const _-4ut:String = "ROPSPE_PLAY_SAMPLE";

        private var _-qM:int;
        private var _-4Lt:Number;

        public function _-3BG(_arg1:String, _arg2:_-3SU, _arg3:int, _arg4:Number=1, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg2, _arg5, _arg6);
            this._-qM = _arg3;
            this._-4Lt = _arg4;
        }
        public function get _-4AS():int
        {
            return (this._-qM);
        }
        public function get _-379():Number
        {
            return (this._-4Lt);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-3D4

package _-59g
{
    public class _-3D4 extends _-4KP 
    {

        private var _-37o:int;
        private var _-4Nl:int;

        public function _-3D4(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:Boolean=false, _arg9:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg8, _arg9);
            this._-37o = this._-gf;
            this._-4Nl = _arg7;
        }
        public function get _-gf():int
        {
            return (this._-37o);
        }
        public function get _-341():int
        {
            return (this._-4Nl);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-3pp

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-3pp extends _-2Z2 
    {

        public static const _-1l5:String = "ROGBE_LOAD_BADGE";

        private var _-5Dg:String;

        public function _-3pp(_arg1:String, _arg2:_-3SU, _arg3:String, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg2, _arg4, _arg5);
            this._-5Dg = _arg3;
        }
        public function get badgeId():String
        {
            return (this._-5Dg);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-4Bo

package _-59g
{
    import _-071._-4l1;
    import _-0y0._-Xl;
    import _-3V-._-3SU;
    import _-0y0._-06R;

    public class _-4Bo extends _-4l1 
    {

        private var _-2dX:Number;
        private var _-4TA:Number;
        private var _-3r2:Number;
        private var _-2Dx:_-Xl = null;
        private var _-1qc:_-Xl = null;
        private var _-34L:_-Xl = null;

        public function _-4Bo(_arg1:String, _arg2:_-3SU, _arg3:String, _arg4:_-06R, _arg5:_-06R, _arg6:_-06R, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:Boolean=false, _arg11:Boolean=false, _arg12:Boolean=false, _arg13:Boolean=false, _arg14:Boolean=false, _arg15:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg10, _arg11, _arg12, _arg13, _arg14, _arg15);
            this._-2Dx = new _-Xl();
            this._-2Dx._-3jn(_arg4);
            this._-1qc = new _-Xl();
            this._-1qc._-3jn(_arg5);
            this._-34L = new _-Xl();
            this._-34L._-3jn(_arg6);
            this._-2dX = _arg7;
            this._-4TA = _arg8;
            this._-3r2 = _arg9;
        }
        public function get _-07C():_-06R
        {
            return (this._-2Dx);
        }
        public function get _-4rJ():_-06R
        {
            return (this._-1qc);
        }
        public function get wallHeight():_-06R
        {
            return (this._-34L);
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function get direction():Number
        {
            return (this._-3r2);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-4KP

package _-59g
{
    public class _-4KP extends _-2ga 
    {

        public static const _-9h:String = "REOE_OBJECT_SELECTED";
        public static const _-0X8:String = "REOE_OBJECT_DESELECTED";
        public static const _-1MI:String = "REOB_OBJECT_ADDED";
        public static const _-1NF:String = "REOE_OBJECT_REMOVED";
        public static const _-2pN:String = "REOB_OBJECT_PLACED";
        public static const _-3dR:String = "REOB_OBJECT_PLACED_ON_USER";
        public static const _-3i9:String = "REOB_OBJECT_CONTENT_UPDATED";
        public static const _-Sw:String = "REOB_OBJECT_REQUEST_MOVE";
        public static const _-3iY:String = "REOB_OBJECT_MOUSE_ENTER";
        public static const _-Ug:String = "REOB_OBJECT_MOUSE_LEAVE";
        public static const _-1tS:String = "REOE_WIDGET_REQUEST_PLACEHOLDER";
        public static const _-33j:String = "REOE_WIDGET_REQUEST_CREDITFURNI";
        public static const _-4c-:String = "REOE_WIDGET_REQUEST_STICKIE";
        public static const _-1b:String = "REOE_WIDGET_REQUEST_PRESENT";
        public static const _-33A:String = "REOE_WIDGET_REQUEST_TROPHY";
        public static const _-Vw:String = "REOE_WIDGET_REQUEST_TEASER";
        public static const _-0EU:String = "REOE_WIDGET_REQUEST_ECOTRONBOX";
        public static const _-2WP:String = "REOE_WIDGET_REQUEST_DIMMER";
        public static const _-46r:String = "REOR_REMOVE_DIMMER";
        public static const _-37L:String = "REOR_REQUEST_CLOTHING_CHANGE";
        public static const _-2y0:String = "REOR_WIDGET_REQUEST_PLAYLIST_EDITOR";
        public static const _-2R1:String = "REOE_WIDGET_REQUEST_MANNEQUIN";
        public static const _-1rx:String = "ROWRE_WIDGET_REQUEST_RANDOM_TELEPORT_CONTEXT_MENU";
        public static const _-51c:String = "REOE_WIDGET_REQUEST_HIDE_FURNI_CONTEXT_MENU";
        public static const _-11B:String = "ROWRE_WIDGET_REQUEST_MONSTERPLANT_SEED_CONTEXT_MENU";
        public static const _-LO:String = "ROWRE_WIDGET_REQUEST_MONSTERPLANT_SEED_PLANT_CONFIRMATION_DIALOG";
        public static const _-1Bx:String = "REOE_WIDGET_REQUEST_BACKGROUND_COLOR";
        public static const _-4sD:String = "REOE_ROOM_AD_FURNI_CLICK";
        public static const _-5BB:String = "REOE_ROOM_AD_FURNI_DOUBLE_CLICK";
        public static const _-3y3:String = "REOE_ROOM_AD_TOOLTIP_SHOW";
        public static const _-1t1:String = "REOE_ROOM_AD_TOOLTIP_HIDE";

        private var _-44i:int;
        private var _-JS:int;

        public function _-4KP(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg6, _arg7);
            this._-44i = _arg4;
            this._-JS = _arg5;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get category():int
        {
            return (this._-JS);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-4LV

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-4LV extends _-2Z2 
    {

        public static const _-51W:String = "ROHSLCEE_ROOM_BACKGROUND_COLOR";

        private var _-4Gb:Boolean;
        private var _-dL:int;
        private var _-0Ro:int;
        private var _-2vx:int;

        public function _-4LV(_arg1:String, _arg2:_-3SU, _arg3:Boolean, _arg4:int, _arg5:int, _arg6:int, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_arg1, _arg2, _arg7, _arg8);
            this._-4Gb = _arg3;
            this._-dL = _arg4;
            this._-0Ro = _arg5;
            this._-2vx = _arg6;
        }
        public function get enable():Boolean
        {
            return (this._-4Gb);
        }
        public function get hue():int
        {
            return (this._-dL);
        }
        public function get saturation():int
        {
            return (this._-0Ro);
        }
        public function get lightness():int
        {
            return (this._-2vx);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-4r5

package _-59g
{
    public class _-4r5 extends _-2ga 
    {

        public static const _-51W:String = "ROHSLCEE_ROOM_BACKGROUND_COLOR";

        private var _-4Gb:Boolean;
        private var _-dL:int;
        private var _-0Ro:int;
        private var _-2vx:int;

        public function _-4r5(_arg1:String, _arg2:int, _arg3:int, _arg4:Boolean, _arg5:int, _arg6:int, _arg7:int, _arg8:Boolean=false, _arg9:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg8, _arg9);
            this._-4Gb = _arg4;
            this._-dL = _arg5;
            this._-0Ro = _arg6;
            this._-2vx = _arg7;
        }
        public function get enable():Boolean
        {
            return (this._-4Gb);
        }
        public function get hue():int
        {
            return (this._-dL);
        }
        public function get saturation():int
        {
            return (this._-0Ro);
        }
        public function get lightness():int
        {
            return (this._-2vx);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-4sI

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;
    import flash.events.Event;

    public class _-4sI extends _-2Z2 
    {

        public static const _-im:String = "RORAE_ROOM_AD_LOAD_IMAGE";
        public static const _-0DB:String = "RORAE_ROOM_AD_FURNI_CLICK";
        public static const _-3K5:String = "RORAE_ROOM_AD_FURNI_DOUBLE_CLICK";
        public static const _-0hN:String = "RORAE_ROOM_AD_TOOLTIP_SHOW";
        public static const _-3D0:String = "RORAE_ROOM_AD_TOOLTIP_HIDE";

        private var _-4Jn:String = "";
        private var _-03A:String = "";

        public function _-4sI(_arg1:String, _arg2:_-3SU, _arg3:String="", _arg4:String="", _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg2, _arg5, _arg6);
            this._-4Jn = _arg3;
            this._-03A = _arg4;
        }
        public function get clickUrl():String
        {
            return (this._-03A);
        }
        public function get imageUrl():String
        {
            return (this._-4Jn);
        }
        override public function clone():Event
        {
            return (new _-4sI(type, object, this.imageUrl, this.clickUrl, bubbles, cancelable));
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-4UZ

package _-59g
{
    public class _-4UZ extends _-4KP 
    {

        private var _-1-Z:String = "";
        private var _-2dX:Number = 0;
        private var _-4TA:Number = 0;
        private var _-0l1:Number = 0;
        private var _-3r2:int = 0;
        private var _-Y6:Boolean = false;
        private var _-0En:Boolean = false;
        private var _-2JO:Boolean = false;
        private var _-aD:String = null;

        public function _-4UZ(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:String, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:int, _arg11:Boolean, _arg12:Boolean, _arg13:Boolean, _arg14:String, _arg15:Boolean=false, _arg16:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg15, _arg16);
            this._-1-Z = _arg6;
            this._-2dX = _arg7;
            this._-4TA = _arg8;
            this._-0l1 = _arg9;
            this._-3r2 = _arg10;
            this._-Y6 = _arg11;
            this._-0En = _arg12;
            this._-2JO = _arg13;
            this._-aD = _arg14;
        }
        public function get _-07C():String
        {
            return (this._-1-Z);
        }
        public function get x():Number
        {
            return (this._-2dX);
        }
        public function get y():Number
        {
            return (this._-4TA);
        }
        public function get z():Number
        {
            return (this._-0l1);
        }
        public function get direction():int
        {
            return (this._-3r2);
        }
        public function get _-3dZ():Boolean
        {
            return (this._-Y6);
        }
        public function get _-3qh():Boolean
        {
            return (this._-0En);
        }
        public function get _-0v3():Boolean
        {
            return (this._-2JO);
        }
        public function get _-vc():String
        {
            return (this._-aD);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-52y

package _-59g
{
    import _-071._-2Z2;
    import _-3V-._-3SU;

    public class _-52y extends _-2Z2 
    {

        public static const _-4vH:String = "RORAE_LEAVE_ROOM";
        public static const _-0xy:String = "RORAE_CHANGE_ROOM";
        public static const _-2Gm:String = "RORAE_TRY_BUS";

        private var _-4qc:int = 0;

        public function _-52y(_arg1:String, _arg2:_-3SU, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg2, _arg4, _arg5);
            this._-4qc = _arg3;
        }
        public function get param():int
        {
            return (this._-4qc);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-9S

package _-59g
{
    import _-3V-._-3SU;

    public class _-9S extends _-2K9 
    {

        public static const _-1oT:String = "ROPSIE_PLAY_SOUND";
        public static const _-1JE:String = "ROPSIE_PLAY_SOUND_AT_PITCH";

        private var _-3F-:String;
        private var _-4Lt:Number;

        public function _-9S(_arg1:String, _arg2:_-3SU, _arg3:String, _arg4:Number=1, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg2, _arg5, _arg6);
            this._-3F- = _arg3;
            this._-4Lt = _arg4;
        }
        public function get _-0IY():String
        {
            return (this._-3F-);
        }
        public function get _-379():Number
        {
            return (this._-4Lt);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-iV

package _-59g
{
    public class _-iV extends _-4KP 
    {

        public static const _-4pp:String = "ROSM_SOUND_MACHINE_INIT";
        public static const _-4OL:String = "ROSM_SOUND_MACHINE_SWITCHED_ON";
        public static const _-3RY:String = "ROSM_SOUND_MACHINE_SWITCHED_OFF";
        public static const _-4bX:String = "ROSM_SOUND_MACHINE_DISPOSE";
        public static const _-1Dn:String = "ROSM_JUKEBOX_INIT";
        public static const _-3ty:String = "ROSM_JUKEBOX_SWITCHED_ON";
        public static const _-ky:String = "ROSM_JUKEBOX_SWITCHED_OFF";
        public static const _-4uE:String = "ROSM_JUKEBOX_DISPOSE";

        public function _-iV(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7);
        }
    }
}//package _-59g

//------------------------------------------------------------
//_-59g._-SX

package _-59g
{
    public class _-SX extends _-2ga 
    {

        public static const _-09A:String = "REE_ROOM_COLOR";

        private var _color:uint;
        private var _-02O:uint;
        private var _-09C:Boolean;

        public function _-SX(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint, _arg5:Boolean, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_-09A, _arg1, _arg2, _arg6, _arg7);
            this._color = _arg3;
            this._-02O = _arg4;
            this._-09C = _arg5;
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-42j():uint
        {
            return (this._-02O);
        }
        public function get _-2J-():Boolean
        {
            return (this._-09C);
        }

    }
}//package _-59g

//------------------------------------------------------------
//_-59Q._-0AE

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-2Gj;
    import _-4Aj.*;

    public class _-0AE extends _-7V implements _-0tL 
    {

        public function _-0AE(_arg1:Function)
        {
            super(_arg1, _-2Gj);
        }
        public function _-3-5():_-2Gj
        {
            return ((this._-515 as _-2Gj));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-0b6

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-r2;
    import _-4Aj.*;

    public class _-0b6 extends _-7V implements _-0tL 
    {

        public function _-0b6(_arg1:Function)
        {
            super(_arg1, _-r2);
        }
        public function _-3-5():_-r2
        {
            return ((this._-515 as _-r2));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-1DZ

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-27P;
    import _-4Aj.*;

    public class _-1DZ extends _-7V implements _-0tL 
    {

        public function _-1DZ(_arg1:Function)
        {
            super(_arg1, _-27P);
        }
        public function _-3-5():_-27P
        {
            return ((this._-515 as _-27P));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-1LF

package _-59Q
{
    public class _-1LF extends _-33D 
    {

        private var _-0BU:String = "";

        public function _-1LF(_arg1:int, _arg2:int, _arg3:String, _arg4:String, _arg5:String)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-0BU = _arg5;
        }
        public function get data():String
        {
            return (this._-0BU);
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-2KV

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-JT;
    import _-4Aj.*;

    public class _-2KV extends _-7V implements _-0tL 
    {

        public function _-2KV(_arg1:Function)
        {
            super(_arg1, _-JT);
        }
        public function _-3-5():_-JT
        {
            return ((this._-515 as _-JT));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-2lT

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-31D;
    import _-4Aj.*;

    public class _-2lT extends _-7V implements _-0tL 
    {

        public function _-2lT(_arg1:Function)
        {
            super(_arg1, _-31D);
        }
        public function _-3-5():_-31D
        {
            return ((this._-515 as _-31D));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-33D

package _-59Q
{
    public class _-33D 
    {

        protected var _-0hW:int;
        protected var _-1Qd:int;
        protected var _-3vA:String;
        protected var _-27k:String;
        private var _-4P0:Number = 0;

        public function _-33D(_arg1:int, _arg2:int, _arg3:String, _arg4:String)
        {
            this._-0hW = _arg1;
            this._-1Qd = _arg2;
            this._-3vA = _arg3;
            this._-27k = _arg4;
        }
        public function get id():int
        {
            return (this._-0hW);
        }
        public function get length():int
        {
            return (this._-1Qd);
        }
        public function get name():String
        {
            return (this._-3vA);
        }
        public function get creator():String
        {
            return (this._-27k);
        }
        public function get _-0d7():Number
        {
            return (this._-4P0);
        }
        public function set _-0d7(_arg1:Number):void
        {
            this._-4P0 = _arg1;
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-3jQ

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-26i;
    import _-4Aj.*;

    public class _-3jQ extends _-7V implements _-0tL 
    {

        public function _-3jQ(_arg1:Function)
        {
            super(_arg1, _-26i);
        }
        public function _-3-5():_-26i
        {
            return ((this._-515 as _-26i));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-4xw

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-0-H;
    import _-4Aj.*;

    public class _-4xw extends _-7V implements _-0tL 
    {

        public function _-4xw(_arg1:Function)
        {
            super(_arg1, _-0-H);
        }
        public function _-3-5():_-0-H
        {
            return ((this._-515 as _-0-H));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-7v

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-2xL;
    import _-4Aj.*;

    public class _-7v extends _-7V implements _-0tL 
    {

        public function _-7v(_arg1:Function)
        {
            super(_arg1, _-2xL);
        }
        public function _-3-5():_-2xL
        {
            return ((this._-515 as _-2xL));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-59Q._-Cn

package _-59Q
{
    import _-4Aj._-7V;
    import _-45A._-3ym;
    import _-4Aj.*;

    public class _-Cn extends _-7V implements _-0tL 
    {

        public function _-Cn(_arg1:Function)
        {
            super(_arg1, _-3ym);
        }
        public function _-3-5():_-3ym
        {
            return ((this._-515 as _-3ym));
        }

    }
}//package _-59Q

//------------------------------------------------------------
//_-5D5._-02M

package _-5D5
{
    import _-FP._-2ul;
    import _-18r.Map;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-3xt;
    import flash.events.IEventDispatcher;
    import flash.events.Event;
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;

    public class _-02M extends _-2ul 
    {

        private var _-3my:Map;

        public function _-02M(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-3my = new Map();
        }
        override public function dispose():void
        {
            var k:int;
            var k:int;
            var k:_-1xe;
            if (disposed)
            {
                return;
            };
            if (this._-3my != null)
            {
                k = this._-3my.length;
                k = 0;
                while (k < k)
                {
                    k = (this._-3my.getWithIndex(0) as _-1xe);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-3my.dispose();
                this._-3my = null;
            };
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-3xt._-5-I, this._-2Ym);
            _arg1.addEventListener(_-3xt._-080, this._-0Fm);
            _arg1.addEventListener(_-3xt._-4Z-, this._-lU);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-3xt._-5-I, this._-2Ym);
            _arg1.removeEventListener(_-3xt._-080, this._-0Fm);
            _arg1.removeEventListener(_-3xt._-4Z-, this._-lU);
        }
        private function _-2Ym(_arg1:Event):void
        {
            var k:int = _-3xt(_arg1).id;
            var k:_-1xe = (this._-3my.getValue(k) as _-1xe);
            var k:String = _-3xt(_arg1).summary;
            if (!k)
            {
                k = new _-1xe(k, this);
                this._-3my.add(k, k);
                k._-0oq(k);
            }
            else
            {
                _-Nb.log("Poll with given id already exists!");
                k._-0oq(k);
            };
        }
        private function _-0Fm(_arg1:Event):void
        {
            var e:Event = _arg1;
            windowManager.alert("${win_error}", _-3xt(e).summary, 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }
        private function _-lU(_arg1:Event):void
        {
            var k:int;
            var k:_-1xe;
            var k:_-3xt = (_arg1 as _-3xt);
            if (k != null)
            {
                k = k.id;
                k = (this._-3my.getValue(k) as _-1xe);
                if (k != null)
                {
                    k._-37d(k._-42v, k._-1X5, k._-5At);
                };
            };
        }
        public function _-0n6(_arg1:int):void
        {
            var k:_-1xe = (this._-3my.getValue(_arg1) as _-1xe);
            if (k != null)
            {
                k._-0bO();
                k.dispose();
                this._-3my.remove(_arg1);
            };
        }
        public function _-3Si(_arg1:int):void
        {
            var k:_-1xe = (this._-3my.getValue(_arg1) as _-1xe);
            if (k != null)
            {
                k.dispose();
                this._-3my.remove(_arg1);
            };
        }

    }
}//package _-5D5

//------------------------------------------------------------
//_-5D5._-0ZS

package _-5D5
{
    import _-1B-.*;

    public interface _-0ZS extends _-1zZ 
    {

        function start():void;

    }
}//package _-5D5

//------------------------------------------------------------
//_-5D5._-1xe

package _-5D5
{
    import _-3Bn._-1Ii;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class _-1xe implements _-1zZ 
    {

        private var _-0Kq:int = -1;
        private var _-3QW:_-02M;
        private var _-10i:_-0ZS;
        private var _-4uc:_-0ZS;
        private var _-0RV:String = "";
        private var _disposed:Boolean = false;

        public function _-1xe(_arg1:int, _arg2:_-02M)
        {
            this._-0Kq = _arg1;
            this._-3QW = _arg2;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-10i != null)
            {
                this._-10i.dispose();
                this._-10i = null;
            };
            if (this._-4uc != null)
            {
                this._-4uc.dispose();
                this._-4uc = null;
            };
            this._-3QW = null;
            this._disposed = true;
        }
        public function _-0oq(_arg1:String):void
        {
            this._-2h0();
            this._-10i = new each(this._-0Kq, _arg1, this._-3QW);
            this._-10i.start();
        }
        public function _-2h0():void
        {
            if ((this._-10i is each))
            {
                if (!this._-10i.disposed)
                {
                    this._-10i.dispose();
                };
                this._-10i = null;
            };
        }
        public function _-37d(_arg1:String, _arg2:String, _arg3:Array):void
        {
            this._-2h0();
            this._-398();
            this._-0RV = _arg2;
            this._-4uc = new PollContentDialog(this._-0Kq, _arg1, _arg3, this._-3QW);
            this._-4uc.start();
        }
        public function _-398():void
        {
            if ((this._-4uc is PollContentDialog))
            {
                if (!this._-4uc.disposed)
                {
                    this._-4uc.dispose();
                };
                this._-4uc = null;
            };
        }
        public function _-0bO():void
        {
            this._-3QW.windowManager.alert("${poll_thanks_title}", this._-0RV, 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }

    }
}//package _-5D5

//------------------------------------------------------------
//_-5D5.each

package _-5D5
{
    import _-1ae.IFrameWindow;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IItemListWindow;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-0Op;
    import _-0Ie.WindowEvent;

    public class each implements _-0ZS 
    {

        public static const OK:String = "POLL_OFFER_STATE_OK";
        public static const _-4Mq:String = "POLL_OFFER_STATE_CANCEL";
        public static const UNKNOWN:String = "POLL_OFFER_STATE_UNKNOWN";

        private var _disposed:Boolean = false;
        private var _-0xv:IFrameWindow;
        private var _-0Ke:String = "POLL_OFFER_STATE_UNKNOWN";
        private var _-0dg:_-02M;
        private var _-0Kq:int = -1;

        public function each(_arg1:int, _arg2:String, _arg3:_-02M)
        {
            var k:IWindow;
            var k:IWindow;
            var k:IWindow;
            var k:IWindow;
            var k:ITextWindow;
            var k:IItemListWindow;
            super();
            this._-0Kq = _arg1;
            this._-0dg = _arg3;
            var k:_-243 = (this._-0dg.assets.getAssetByName("poll_offer") as _-243);
            if (k != null)
            {
                this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
                if (this._-0xv)
                {
                    this._-0xv.center();
                    k = this._-0xv.findChildByName("poll_offer_button_ok");
                    if (k != null)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-2TI);
                    };
                    k = this._-0xv.findChildByName("poll_offer_button_cancel");
                    if (k != null)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-50H);
                    };
                    k = this._-0xv.findChildByName("poll_offer_button_later");
                    if (k != null)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-57S);
                    };
                    k = this._-0xv.findChildByName("header_button_close");
                    if (k != null)
                    {
                        k.addEventListener(WindowMouseEvent._-90, this._-4F9);
                    };
                    k = (this._-0xv.findChildByName("poll_offer_summary") as ITextWindow);
                    if (k)
                    {
                        k.htmlText = _arg2;
                        k = (this._-0xv.findChildByName("poll_offer_summary_wrapper") as IItemListWindow);
                        if (k)
                        {
                            this._-0xv.height = (this._-0xv.height + (k._-2yI.height - k._-0yi.height));
                        };
                    };
                };
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get state():String
        {
            return (this._-0Ke);
        }
        public function start():void
        {
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-0dg = null;
        }
        private function _-2TI(_arg1:WindowEvent):void
        {
            if (this._-0Ke != UNKNOWN)
            {
                return;
            };
            this._-0Ke = OK;
            this._-0dg.messageListener.processWidgetMessage(new _-0Op(_-0Op._-2Oy, this._-0Kq));
        }
        private function _-50H(_arg1:WindowEvent):void
        {
            if (this._-0Ke != UNKNOWN)
            {
                return;
            };
            this._-0Ke = _-4Mq;
            this._-0dg.messageListener.processWidgetMessage(new _-0Op(_-0Op._-A1, this._-0Kq));
            this._-0dg._-3Si(this._-0Kq);
        }
        private function _-57S(_arg1:WindowEvent):void
        {
            if (this._-0Ke != UNKNOWN)
            {
                return;
            };
            this._-0Ke = _-4Mq;
            this._-0dg._-3Si(this._-0Kq);
        }
        private function _-4F9(_arg1:WindowEvent):void
        {
            if (this._-0Ke != UNKNOWN)
            {
                return;
            };
            this._-0Ke = _-4Mq;
            this._-0dg.messageListener.processWidgetMessage(new _-0Op(_-0Op._-A1, this._-0Kq));
            this._-0dg._-3Si(this._-0Kq);
        }

    }
}//package _-5D5

//------------------------------------------------------------
//_-5D5.PollContentDialog

package _-5D5
{
    import _-1ae.IFrameWindow;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import flash.utils.Dictionary;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-1ae.ISelectorWindow;
    import _-1ae.ISelectableWindow;
    import _-1ae.ICheckBoxWindow;
    import _-09j.WindowState;
    import _-3Bn._-1Ii;
    import _-1FD._-0Op;

    public class PollContentDialog implements _-0ZS 
    {

        private static const _-y0:int = 1;
        private static const _-3sh:int = 2;
        private static const _-4qe:int = 3;
        private static const _-0UV:int = 4;

        private var _-0Kq:int = -1;
        private var _disposed:Boolean = false;
        private var _-0nk:Array;
        private var _-3L4:int = -1;
        private var _-0xv:IFrameWindow;
        private var _-0dg:_-02M;
        private var _-1W6:IFrameWindow;
        private var _-1gB:Boolean = false;

        public function PollContentDialog(_arg1:int, _arg2:String, _arg3:Array, _arg4:_-02M)
        {
            var k:ITextWindow;
            var k:IWindow;
            var k:IWindow;
            var k:IWindow;
            super();
            this._-0Kq = _arg1;
            this._-0nk = _arg3;
            this._-0dg = _arg4;
            var k:_-243 = (this._-0dg.assets.getAssetByName("poll_question") as _-243);
            if (k != null)
            {
                this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
                k = (this._-0xv.findChildByName("poll_question_headline") as ITextWindow);
                if (k)
                {
                    k.text = _arg2;
                };
                this._-0xv.center();
                k = this._-0xv.findChildByName("header_button_close");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-4F9);
                };
                k = this._-0xv.findChildByName("poll_question_button_ok");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-2TI);
                };
                k = this._-0xv.findChildByName("poll_question_cancel");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-50H);
                };
            };
        }
        public function start():void
        {
            if (!this._-1gB)
            {
                this._-1gB = true;
                this._-NE();
            };
        }
        private function _-4F9(_arg1:WindowEvent):void
        {
            this._-gT();
        }
        private function _-2TI(_arg1:WindowEvent):void
        {
            this._-3LO();
        }
        private function _-50H(_arg1:WindowEvent):void
        {
            this._-gT();
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-1W6)
            {
                this._-1W6.dispose();
                this._-1W6 = null;
            };
            this._-0dg = null;
            this._-0nk = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-NE():void
        {
            var k:Dictionary;
            var k:ITextWindow;
            var k:int;
            var k:IWindowContainer;
            var k:IItemListWindow;
            var k:String;
            var k:int;
            this._-3L4++;
            if (this._-3L4 < this._-0nk.length)
            {
                k = (this._-0nk[this._-3L4] as Dictionary);
                if (!k)
                {
                    _-Nb.log("ERROR; Poll question index out of range!");
                };
                if (this._-0xv != null)
                {
                    k = (k["type"] as int);
                    k = (this._-0xv.findChildByName("poll_question_text") as ITextWindow);
                    if (k != null)
                    {
                        k.text = k["content"];
                    };
                    k = (this._-0xv.findChildByName("poll_question_number") as ITextWindow);
                    if (k != null)
                    {
                        k.text = "${poll_question_number}";
                        k = k.text;
                        k = k.replace("%number%", k["number"]);
                        k = k.replace("%count%", this._-0nk.length);
                        k.text = k;
                    };
                    k = (this._-0xv.findChildByName("poll_question_answer_container") as IWindowContainer);
                    if (k != null)
                    {
                        while (k.numChildren > 0)
                        {
                            k.getChildAt(0).dispose();
                        };
                        k.invalidate();
                    };
                    switch (k)
                    {
                        case _-y0:
                            this._-2vb(k, k["selections"]);
                            break;
                        case _-3sh:
                            this._-16t(k, k["selections"]);
                            break;
                        case _-4qe:
                            this._-4tF(k);
                            break;
                        case _-0UV:
                            this._-2Go(k);
                            break;
                        default:
                            throw (new Error((("Unknown poll question type: " + k) + "!")));
                    };
                    k = (this._-0xv.findChildByName("poll_content_wrapper") as IItemListWindow);
                    if (k != null)
                    {
                        k = (k._-2yI.height - k._-0yi.height);
                        this._-0xv.height = (this._-0xv.height + k);
                        this._-0xv.center();
                    };
                };
            }
            else
            {
                this._-0dg._-0n6(this._-0Kq);
            };
        }
        private function _-2vb(_arg1:IWindowContainer, _arg2:Array):void
        {
            var k:_-243 = (this._-0dg.assets.getAssetByName("poll_answer_radiobutton_input") as _-243);
            if (!k)
            {
                throw (new Error('Asset for poll widget hot found: "poll_answer_radiobutton_input"!'));
            };
            var k:IWindowContainer = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k != null)
            {
                this._-3KX(_arg2, k);
                _arg1.addChild(k);
            };
        }
        private function _-02P():Array
        {
            var k:ISelectorWindow;
            var k:ISelectableWindow;
            var k:Array = new Array();
            if (this._-0xv != null)
            {
                k = (this._-0xv.findChildByName("poll_aswer_selector") as ISelectorWindow);
                if (k)
                {
                    k = k._-WM();
                    if (k)
                    {
                        k.push(k.id);
                    };
                };
            };
            return (k);
        }
        private function _-16t(_arg1:IWindowContainer, _arg2:Array):void
        {
            var k:_-243 = (this._-0dg.assets.getAssetByName("poll_answer_checkbox_input") as _-243);
            if (!k)
            {
                throw (new Error('Asset for poll widget hot found: "poll_answer_checkbox_input"!'));
            };
            var k:IWindowContainer = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k != null)
            {
                this._-3KX(_arg2, k);
                _arg1.addChild(k);
            };
        }
        private function _-4pa():Array
        {
            var k:IItemListWindow;
            var k:int;
            var k:IWindowContainer;
            var k:ICheckBoxWindow;
            var k:Array = new Array();
            if (this._-0xv != null)
            {
                k = (this._-0xv.findChildByName("poll_answer_itemlist") as IItemListWindow);
                if (k != null)
                {
                    k = 0;
                    while (k < k.numListItems)
                    {
                        k = (k.getListItemAt(k) as IWindowContainer);
                        if (k != null)
                        {
                            k = (k.findChildByName("poll_answer_checkbox") as ICheckBoxWindow);
                            if (k != null)
                            {
                                if (k._-eg(WindowState._-t0))
                                {
                                    k.push(k);
                                };
                            };
                        };
                        k++;
                    };
                };
            };
            return (k);
        }
        private function _-3KX(_arg1:Array, _arg2:IWindowContainer):void
        {
            var k:IWindowContainer;
            var k:int;
            var k:ITextWindow;
            var k:IWindow;
            var k:IItemListWindow = (_arg2.findChildByName("poll_answer_itemlist") as IItemListWindow);
            if (k != null)
            {
                k = (_arg2.findChildByName("poll_answer_entity") as IWindowContainer);
                if (k != null)
                {
                    k = 0;
                    while (k < (_arg1.length - 1))
                    {
                        k++;
                        k.addListItem(k.clone());
                    };
                    k = 0;
                    while (k < _arg1.length)
                    {
                        k = (k.getListItemAt(k) as IWindowContainer);
                        k = (k.findChildByName("poll_answer_entity_text") as ITextWindow);
                        if (k)
                        {
                            k.text = _arg1[k];
                        };
                        k = k.findChildByTag("POLL_SELECTABLE_ITEM");
                        if (k)
                        {
                            k.id = k;
                        };
                        k++;
                    };
                };
            };
        }
        private function _-4tF(_arg1:IWindowContainer):void
        {
            var k:_-243 = (this._-0dg.assets.getAssetByName("poll_answer_text_input") as _-243);
            if (!k)
            {
                throw (new Error('Asset for poll widget hot found: "poll_answer_text_input"!'));
            };
            _arg1.addChild(this._-0dg.windowManager.buildFromXML((k.content as XML)));
        }
        private function _-4UP():Array
        {
            var k:ITextWindow;
            var k:Array = new Array();
            if (this._-0xv != null)
            {
                k = (this._-0xv.findChildByName("poll_answer_input") as ITextWindow);
                if (k != null)
                {
                    k.push(k.text);
                };
            }
            else
            {
                throw (new Error("Invalid or disposed poll dialog!"));
            };
            return (k);
        }
        private function _-2Go(_arg1:IWindowContainer):void
        {
            this._-4tF(_arg1);
        }
        private function _-pp():Array
        {
            return (this._-4UP());
        }
        private function _-3t4():void
        {
            this._-0dg._-3Si(this._-0Kq);
        }
        private function _-3LO():void
        {
            var answerArray:Array;
            var answers:Array;
            var index:int;
            var question:Dictionary = (this._-0nk[this._-3L4] as Dictionary);
            var type:int = (question["type"] as int);
            switch (type)
            {
                case _-y0:
                    answerArray = this._-02P();
                    if (answerArray.length < int(question["selection_min"]))
                    {
                        this._-0dg.windowManager.alert("${win_error}", "${poll_alert_answer_missing}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                        {
                            _arg1.dispose();
                        });
                        return;
                    };
                    if (answerArray.length > int(question["selection_max"]))
                    {
                        this._-0dg.windowManager.alert("${win_error}", "${poll_alert_invalid_selection}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                        {
                            _arg1.dispose();
                        });
                        return;
                    };
                    break;
                case _-3sh:
                    answerArray = this._-4pa();
                    if (answerArray.length < int(question["selection_min"]))
                    {
                        this._-0dg.windowManager.alert("${win_error}", "${poll_alert_answer_missing}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                        {
                            _arg1.dispose();
                        });
                        return;
                    };
                    if (answerArray.length > int(question["selection_max"]))
                    {
                        this._-0dg.windowManager.alert("${win_error}", "${poll_alert_invalid_selection}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
                        {
                            _arg1.dispose();
                        });
                        return;
                    };
                    break;
                case _-4qe:
                    answerArray = this._-4UP();
                    break;
                case _-0UV:
                    answerArray = this._-pp();
                    break;
                default:
                    throw (new Error((("Unknown poll question type: " + type) + "!")));
            };
            var message:_-0Op = new _-0Op(_-0Op._-4BU, this._-0Kq);
            message._-2Zb = (question["id"] as int);
            var answerValues:Array = question["selection_values"];
            if (answerValues != null)
            {
                answers = new Array();
                for each (index in answerArray)
                {
                    answers.push(answerValues[index]);
                };
                message.answers = answers;
            }
            else
            {
                message.answers = answerArray;
            };
            this._-0dg.messageListener.processWidgetMessage(message);
            this._-NE();
        }
        private function _-gT():void
        {
            var k:_-243;
            var k:IWindow;
            var k:IWindow;
            var k:IWindow;
            if (!this._-1W6)
            {
                k = (this._-0dg.assets.getAssetByName("poll_cancel_confirm") as _-243);
                this._-1W6 = (this._-0dg.windowManager.buildFromXML((k.content as XML), 2) as IFrameWindow);
                this._-1W6.center();
                k = this._-1W6.findChildByName("header_button_close");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-2dV);
                };
                k = this._-1W6.findChildByName("poll_cancel_confirm_button_ok");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-2Us);
                };
                k = this._-1W6.findChildByName("poll_cancel_confirm_button_cancel");
                if (k != null)
                {
                    k.addEventListener(WindowMouseEvent._-90, this._-2Q4);
                };
            };
        }
        private function _-2bl():void
        {
            if (this._-1W6 != null)
            {
                this._-1W6.dispose();
                this._-1W6 = null;
            };
        }
        private function _-2dV(_arg1:WindowEvent):void
        {
            this._-2bl();
        }
        private function _-2Us(_arg1:WindowEvent):void
        {
            this._-2bl();
            this._-3t4();
        }
        private function _-2Q4(_arg1:WindowEvent):void
        {
            this._-2bl();
        }

    }
}//package _-5D5

//------------------------------------------------------------
//_-5D5.VoteWidget

package _-5D5
{
    import _-FP._-2ul;
    import _-1ae.IFrameWindow;
    import _-1ae.IItemListWindow;
    import _-4Wu._-4uR;
    import flash.utils.Timer;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import flash.events.TimerEvent;
    import _-og._-3T0;
    import flash.events.IEventDispatcher;
    import _-Ew.IWindow;
    import flash.geom.Point;
    import _-1ae.ITextWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IDesktopWindow;
    import flash.utils.getTimer;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IButtonWindow;
    import _-1ae.IBorderWindow;
    import _-1FD._-2Zs;
    import _-0Ie.WindowEvent;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Rectangle;

    public class VoteWidget extends _-2ul 
    {

        private var _-0xv:IFrameWindow;
        private var _-3EB:IItemListWindow;
        private var _-0Xx:_-4uR;
        private var _-MK:int = -1;
        private var _-169:int = 30000;
        private var _-4Dy:int;
        private var _-4j6:Timer;

        public function VoteWidget(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg, _arg5:_-4uR)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this._-0Xx = _arg5;
            if (this._-0Xx != null)
            {
                this._-169 = int(this._-0Xx.getKey("vote.time.limit", "30000"));
            };
        }
        override public function dispose():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-4j6)
            {
                this._-4j6.reset();
                this._-4j6.removeEventListener(TimerEvent.TIMER, this._-2nb);
                this._-4j6 = null;
            };
            this._-0Xx = null;
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-3T0._-3Wu, this._-0ZT);
            _arg1.addEventListener(_-3T0._-4MV, this._-3WZ);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-3T0._-3Wu, this._-0ZT);
            _arg1.removeEventListener(_-3T0._-4MV, this._-3WZ);
        }
        private function _-0ZT(_arg1:_-3T0):void
        {
            var k:IWindow;
            var k:Point;
            if (_arg1 == null)
            {
                return;
            };
            if (!this.createWindow())
            {
                return;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("question") as ITextWindow);
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-0xv.findChildByName("list_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k.text = _arg1.question;
            var k:int = Math.max(((k.textHeight + 10) - k.height), 0);
            k.scale(0, k);
            k.offset(0, k);
            var k:Array = _arg1.choices;
            var k:int;
            while (k < k.length)
            {
                k = this._-52i(k, k[k]);
                if (k == null)
                {
                    return;
                };
                this._-3EB.addListItem(k);
                k++;
            };
            var k:int = Math.max((this._-3EB._-2yI.height - this._-3EB.height), 0);
            k.scale(0, k);
            this._-0xv.scale(0, (k + k));
            var k:IWindow = this._-0xv.findChildByName("waiting_text");
            if (k != null)
            {
                k.visible = false;
            };
            var k:IDesktopWindow = this._-0xv.desktop;
            if (k != null)
            {
                k = new Point((k.width - this._-0xv.width), (k.height - this._-0xv.height));
                k.offset(-10, -10);
                this._-0xv._-3gl(k);
            };
            this._-0xv.visible = true;
            this._-MK = -1;
            if (this._-4j6 == null)
            {
                this._-4j6 = new Timer(1000);
                this._-4j6.addEventListener(TimerEvent.TIMER, this._-2nb);
            };
            this._-4Dy = getTimer();
            this._-4j6.reset();
            this._-4j6.start();
            var k:IWindow = this._-0xv.findChildByName("timer");
            if (k != null)
            {
                k.visible = true;
            };
        }
        private function createWindow():Boolean
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
            };
            var k:_-243 = (assets.getAssetByName("vote_question") as _-243);
            this._-0xv = (windowManager.buildFromXML((k.content as XML)) as IFrameWindow);
            if (this._-0xv == null)
            {
                return (false);
            };
            this._-3EB = (this._-0xv.findChildByName("choices") as IItemListWindow);
            if (this._-3EB == null)
            {
                return (false);
            };
            this._-0xv.visible = false;
            var k:IWindow = this._-0xv.findChildByTag("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.close);
            };
            var k:IWindow = this._-0xv.findChildByName("timer");
            if (k != null)
            {
                k.visible = false;
            };
            return (true);
        }
        private function _-52i(_arg1:int, _arg2:String):IWindow
        {
            var k:_-243 = (assets.getAssetByName("vote_choice") as _-243);
            if (k == null)
            {
                return (null);
            };
            var k:IWindowContainer = (windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            if (k == null)
            {
                return (null);
            };
            var k:ITextWindow = (k.findChildByName("text") as ITextWindow);
            if (k == null)
            {
                return (null);
            };
            var k:IButtonWindow = (k.findChildByName("button") as IButtonWindow);
            if (k == null)
            {
                return (null);
            };
            k.id = _arg1;
            k.caption = String.fromCharCode((97 + _arg1));
            k.addEventListener(WindowMouseEvent._-90, this._-4Pp);
            k.text = _arg2;
            var k:IWindowContainer = (k.findChildByName("bg") as IWindowContainer);
            if (k != null)
            {
                k.visible = false;
            };
            return (k);
        }
        private function _-4Pp(_arg1:WindowMouseEvent):void
        {
            if ((((_arg1 == null)) || ((_arg1.window == null))))
            {
                return;
            };
            this.vote(_arg1.window.id);
        }
        private function vote(_arg1:int=-1):void
        {
            var k:IBorderWindow;
            var k:IButtonWindow;
            this._-MK = _arg1;
            if (_arg1 >= 0)
            {
                if (messageListener == null)
                {
                    return;
                };
                messageListener.processWidgetMessage(new _-2Zs((_arg1 + 1)));
            };
            if ((((this._-0xv == null)) || ((this._-3EB == null))))
            {
                return;
            };
            var k:int;
            while (k < this._-3EB.numListItems)
            {
                k = (this._-3EB.getListItemAt(k) as IBorderWindow);
                if (k == null)
                {
                    return;
                };
                if (k != this._-MK)
                {
                    k.blend = 0.5;
                };
                k = (k.findChildByName("button") as IButtonWindow);
                if (k == null)
                {
                    return;
                };
                k.disable();
                k++;
            };
            var k:IWindow = this._-0xv.findChildByName("timer");
            if (k != null)
            {
                k.visible = false;
            };
            var k:IWindow = this._-0xv.findChildByName("waiting_text");
            if (k != null)
            {
                k.visible = true;
            };
            this._-4j6.reset();
        }
        private function close(_arg1:WindowEvent=null):void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-TV():void
        {
            var k:Number;
            var k:BitmapData;
            var k:int;
            if (this._-0xv == null)
            {
                return;
            };
            var k:int = (getTimer() - this._-4Dy);
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("timer_bar") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (Number(k) / this._-169);
                k = new BitmapData(k.width, k.height, true, 0xFF339900);
                if (k > 0)
                {
                    k.fillRect(new Rectangle(0, 0, k.width, int((k.height * k))), 4292006610);
                };
                k.bitmap = k;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("timer_text") as ITextWindow);
            if (k != null)
            {
                k = Math.max(((this._-169 - k) / 1000), 0);
                k.text = (k + " s");
            };
        }
        private function _-2nb(_arg1:TimerEvent):void
        {
            var k:int = (getTimer() - this._-4Dy);
            if (k > this._-169)
            {
                this.vote();
                return;
            };
            this._-TV();
        }
        private function _-3WZ(_arg1:_-3T0):void
        {
            var k:IWindow;
            var k:IWindowContainer;
            var k:IBitmapWrapperWindow;
            var k:IWindowContainer;
            var k:ITextWindow;
            var k:IButtonWindow;
            var k:BitmapData;
            var k:int;
            if ((((this._-0xv == null)) || ((this._-3EB == null))))
            {
                return;
            };
            k = this._-0xv.findChildByName("timer");
            if (k != null)
            {
                k.visible = false;
            };
            k = this._-0xv.findChildByName("waiting_text");
            if (k != null)
            {
                k.visible = false;
            };
            if (this._-3EB.numListItems != _arg1.votes.length)
            {
                return;
            };
            var k:int;
            while (k < this._-3EB.numListItems)
            {
                k = (this._-3EB.getListItemAt(k) as IWindowContainer);
                if (k != null)
                {
                    k = (k.findChildByName("vote_bar") as IBitmapWrapperWindow);
                    if (k != null)
                    {
                        k = new BitmapData(k.width, k.height, true, 0);
                        k = int(((Number(_arg1.votes[k]) / _arg1._-3DO) * k.width));
                        if (k > 0)
                        {
                            k.fillRect(new Rectangle(0, 0, k, k.height), 0xFF339900);
                            k.bitmap = k;
                        };
                    };
                    k = (k.findChildByName("bg") as IWindowContainer);
                    if (k != null)
                    {
                        k.visible = true;
                    };
                    k = (k.findChildByName("text") as ITextWindow);
                    if (k != null)
                    {
                        k.text = (((((k.text + " ( ") + _arg1.votes[k]) + "/") + _arg1._-3DO) + " )");
                    };
                    k = (k.findChildByName("button") as IButtonWindow);
                    if (k != null)
                    {
                        k.disable();
                    };
                };
                k++;
            };
        }

    }
}//package _-5D5

//------------------------------------------------------------
//_-5EZ._-0r6

package _-5EZ
{
    import _-Fv.CategoryBaseModel;
    import _-4Kb.HabboAvatarEditor;
    import _-ZI.FigureData;
    import _-Fv.*;

    public class _-0r6 extends CategoryBaseModel implements _-1Oc 
    {

        public function _-0r6(_arg1:HabboAvatarEditor)
        {
            super(_arg1);
        }
        override protected function init():void
        {
            super.init();
            _-50c(FigureData._-Id);
            _-50c(FigureData._-3RU);
            _-50c(FigureData._-24y);
            _-50c(FigureData._-1hR);
            _-50c(FigureData._-kr);
            _-rY = true;
            if (!_-Ke)
            {
                _-Ke = new HeadView(this, controller.manager.windowManager, controller.manager.assets);
                if (_-Ke)
                {
                    _-Ke.init();
                };
            };
        }

    }
}//package _-5EZ

//------------------------------------------------------------
//_-5EZ.HeadView

package _-5EZ
{
    import _-Fv.CategoryBaseView;
    import _-Fv._-1Oc;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-295._-243;
    import _-Fv._-2A4;
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import _-ZI.FigureData;
    import _-Fv.AvatarEditorGridView;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-Fv.*;

    public class HeadView extends CategoryBaseView implements _-Om 
    {

        public function HeadView(_arg1:_-1Oc, _arg2:_-3Ts, _arg3:_-39L)
        {
            super(_arg2, _arg3, _arg1);
        }
        override public function init():void
        {
            var k:_-243;
            var _local2:_-2A4;
            if (!_-0xv)
            {
                k = (_-AV.getAssetByName("avatareditor_head_base") as _-243);
                if (k)
                {
                    _-0xv = IWindowContainer(_-U-.buildFromXML((k.content as XML)));
                    _-0xv.visible = false;
                    _-0xv.procedure = this._-3kk;
                };
            };
            if (!_-4DM)
            {
                _-4DM = new Dictionary();
                _-4DM[FigureData._-Id] = new AvatarEditorGridView(_-3n-, FigureData._-Id, _-U-, _-AV);
                _-4DM[FigureData._-3RU] = new AvatarEditorGridView(_-3n-, FigureData._-3RU, _-U-, _-AV);
                _-4DM[FigureData._-24y] = new AvatarEditorGridView(_-3n-, FigureData._-24y, _-U-, _-AV);
                _-4DM[FigureData._-1hR] = new AvatarEditorGridView(_-3n-, FigureData._-1hR, _-U-, _-AV);
                _-4DM[FigureData._-kr] = new AvatarEditorGridView(_-3n-, FigureData._-kr, _-U-, _-AV);
            }
            else
            {
                for each (_local2 in _-4DM)
                {
                    _local2._-40Y();
                };
            };
            _-rY = true;
            _-2VB();
            if (((_-3n-) && ((_-3Y2 == ""))))
            {
                _-3n-.switchCategory(FigureData._-Id);
            };
        }
        public function switchCategory(_arg1:String):void
        {
            if (_-0xv == null)
            {
                return;
            };
            if (_-0xv.disposed)
            {
                return;
            };
            if (_-3Y2 == _arg1)
            {
                return;
            };
            _-0rr(_-366);
            switch (_arg1)
            {
                case FigureData._-Id:
                    _-366 = "tab_hair";
                    break;
                case FigureData._-3RU:
                    _-366 = "tab_hat";
                    break;
                case FigureData._-24y:
                    _-366 = "tab_accessories";
                    break;
                case FigureData._-1hR:
                    _-366 = "tab_eyewear";
                    break;
                case FigureData._-kr:
                    _-366 = "tab_masks";
                    break;
                default:
                    throw (new Error((('[HeadView] Unknown item category: "' + _arg1) + '"')));
            };
            _-3Y2 = _arg1;
            _-0T4(_-366);
            if (!_-rY)
            {
                this.init();
            };
            _-3YH();
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "tab_hair":
                        this.switchCategory(FigureData._-Id);
                        break;
                    case "tab_hat":
                        this.switchCategory(FigureData._-3RU);
                        break;
                    case "tab_accessories":
                        this.switchCategory(FigureData._-24y);
                        break;
                    case "tab_eyewear":
                        this.switchCategory(FigureData._-1hR);
                        break;
                    case "tab_masks":
                        this.switchCategory(FigureData._-kr);
                        break;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    switch (_arg2.name)
                    {
                        case "tab_hair":
                        case "tab_hat":
                        case "tab_accessories":
                        case "tab_eyewear":
                        case "tab_masks":
                            _-0T4(_arg2.name);
                            break;
                    };
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        switch (_arg2.name)
                        {
                            case "tab_hair":
                            case "tab_hat":
                            case "tab_accessories":
                            case "tab_eyewear":
                            case "tab_masks":
                                if (_-366 != _arg2.name)
                                {
                                    _-0rr(_arg2.name);
                                };
                                return;
                        };
                    };
                };
            };
        }

    }
}//package _-5EZ

//------------------------------------------------------------
//_-5h._-0bD

package _-5h
{
    import _-2b4.SnowWarEngine;
    import _-31v.Game2GetWeeklyLeaderboardComposer;
    import _-4Aj._-1oF;

    public class _-0bD extends _-5Dd 
    {

        private var _-1fe:int = 0;
        private var _-51h:int = 0;

        public function _-0bD(_arg1:SnowWarEngine)
        {
            super(_arg1);
        }
        public function get offset():int
        {
            return (this._-1fe);
        }
        public function set offset(_arg1:int):void
        {
            if ((((_arg1 >= 0)) && ((_arg1 <= this._-51h))))
            {
                this._-1fe = _arg1;
            };
        }
        public function get _-3D1():int
        {
            return (this._-51h);
        }
        public function set _-3D1(_arg1:int):void
        {
            this._-51h = _arg1;
        }
        override protected function getMessageComposer(_arg1:int, _arg2:int, _arg3:int):_-1oF
        {
            return (new Game2GetWeeklyLeaderboardComposer(_arg1, this._-1fe, _arg2, _arg3, _-0-7, _-4hB));
        }

    }
}//package _-5h

//------------------------------------------------------------
//_-5h._-3yX

package _-5h
{
    import _-2b4.SnowWarEngine;
    import _-31v.Game2GetWeeklyFriendsLeaderboardComposer;
    import _-4Aj._-1oF;

    public class _-3yX extends LeaderboardTable 
    {

        private var _-1fe:int = 0;
        private var _-51h:int = 0;

        public function _-3yX(_arg1:SnowWarEngine)
        {
            super(_arg1);
        }
        public function get offset():int
        {
            return (this._-1fe);
        }
        public function set offset(_arg1:int):void
        {
            if ((((_arg1 >= 0)) && ((_arg1 <= this._-51h))))
            {
                this._-1fe = _arg1;
            };
        }
        public function get _-3D1():int
        {
            return (this._-51h);
        }
        public function set _-3D1(_arg1:int):void
        {
            this._-51h = _arg1;
        }
        override protected function getMessageComposer(_arg1:int, _arg2:int, _arg3:int):_-1oF
        {
            return (new Game2GetWeeklyFriendsLeaderboardComposer(_arg1, this._-1fe, _arg2, _arg3, _-0-7, _-4hB));
        }

    }
}//package _-5h

//------------------------------------------------------------
//_-5h._-5Dd

package _-5h
{
    import _-53E._-2mg;
    import _-2b4.SnowWarEngine;
    import _-31v.Game2GetTotalLeaderboardComposer;
    import _-4Aj._-1oF;

    public class _-5Dd extends LeaderboardTable 
    {

        private var _-2q5:_-2mg;

        public function _-5Dd(_arg1:SnowWarEngine)
        {
            super(_arg1);
            _-0-7 = (_-0-7 - 1);
        }
        override public function dispose():void
        {
            super.dispose();
            this._-2q5 = null;
        }
        override public function addEntries(_arg1:Array, _arg2:int):void
        {
            this._-2q5 = _arg1.pop();
            super.addEntries(_arg1, _arg2);
        }
        override protected function getMessageComposer(_arg1:int, _arg2:int, _arg3:int):_-1oF
        {
            return (new Game2GetTotalLeaderboardComposer(_arg1, _arg2, _arg3, _-0-7, _-4hB));
        }
        override public function getVisibleEntries():Array
        {
            var k:Array = super.getVisibleEntries();
            if (this._-2q5)
            {
                k.push(this._-2q5);
            };
            return (k);
        }
        override protected function initializeList():void
        {
            _-pE = 0;
        }

    }
}//package _-5h

//------------------------------------------------------------
//_-5h.LeaderboardTable

package _-5h
{
    import _-2b4.SnowWarEngine;
    import _-53E._-2mg;
    import _-4Aj._-1oF;
    import _-31v.Game2GetFriendsLeaderboardComposer;

    public class LeaderboardTable 
    {

        public static const _-2OP:int = 0;
        public static const _-1fh:int = 1;

        protected var _-346:SnowWarEngine;
        protected var _-UF:Boolean;
        protected var _-0gv:int;
        protected var _disposed:Boolean;
        protected var _-3gb:Array;
        protected var _-pE:int = -1;
        protected var _-4tu:int;
        protected var _-0-7:int = 8;
        protected var _-4hB:int = 50;
        protected var _-0FQ:Boolean = true;
        protected var _-1Cc:int;

        public function LeaderboardTable(_arg1:SnowWarEngine)
        {
            this._-346 = _arg1;
            this._-0gv = this._-346.sessionDataManager.userId;
            this._-0-7 = int(this._-346.config.getKey("games.highscores.viewSize", "8"));
            this._-4hB = int(this._-346.config.getKey("games.highscores.windowSize", "50"));
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._-1AN();
            this._-346 = null;
            this._-3gb = null;
            this._disposed = true;
        }
        public function _-1AN():void
        {
            this._-pE = -1;
            this._-3gb = null;
            this._-4tu = -1;
            this._-0FQ = true;
        }
        public function addEntries(_arg1:Array, _arg2:int):void
        {
            this._-4tu = _arg2;
            if (!this._-3gb)
            {
                this._-3gb = _arg1;
                this.initializeList();
            }
            else
            {
                this._-3gb = _arg1;
                this._-or();
            };
            this._-0FQ = false;
        }
        protected function initializeList():void
        {
            var k:int;
            var k:int;
            while (k < this._-3gb.length)
            {
                if ((this._-3gb[k] as _-2mg).userId == this._-0gv)
                {
                    break;
                };
                k++;
            };
            if (k >= this._-0-7)
            {
                this._-pE = (k - (this._-0-7 / 2));
            }
            else
            {
                this._-pE = 0;
            };
        }
        private function _-or():void
        {
            if (this._-pE < 0)
            {
                this._-pE = (this._-pE + this._-4hB);
            }
            else
            {
                this._-pE = (this._-pE - this._-4hB);
            };
        }
        public function _-25k():Boolean
        {
            return (!((this._-3gb == null)));
        }
        public function scrollUp():Boolean
        {
            var k:int;
            var k:_-1oF;
            if (this._-0FQ)
            {
                return (false);
            };
            this._-pE = (this._-pE - this._-0-7);
            if (this._-pE < 0)
            {
                if (this._-3gb[0].rank > 1)
                {
                    k = Math.max(1, (this._-3gb[0].rank - this._-4hB));
                    k = this.getMessageComposer(this._-1Cc, k, _-1fh);
                    this._-346.communication._-4gR(null).send(k);
                    this._-0FQ = true;
                    return (false);
                };
                this._-pE = 0;
            };
            return (true);
        }
        protected function getMessageComposer(_arg1:int, _arg2:int, _arg3:int):_-1oF
        {
            return (new Game2GetFriendsLeaderboardComposer(_arg1, _arg2, _arg3, this._-0-7, this._-4hB));
        }
        public function scrollDown():Boolean
        {
            var k:int;
            var k:_-1oF;
            if (this._-0FQ)
            {
                return (false);
            };
            this._-pE = (this._-pE + this._-0-7);
            if ((this._-pE + this._-0-7) >= this._-3gb.length)
            {
                if (this._-3gb[(this._-3gb.length - 1)].rank < this._-4tu)
                {
                    k = (this._-3gb[(this._-3gb.length - 1)].rank + 1);
                    k = this.getMessageComposer(this._-1Cc, k, _-2OP);
                    this._-346.communication._-4gR(null).send(k);
                    this._-0FQ = true;
                    return (false);
                };
            };
            return (true);
        }
        public function _-2ba(_arg1:int):void
        {
            this._-1AN();
            var k:_-1oF = this.getMessageComposer(_arg1, -1, _-2OP);
            this._-346.communication._-4gR(null).send(k);
            this._-0FQ = true;
            this._-1Cc = _arg1;
        }
        public function getVisibleEntries():Array
        {
            var k:Array = [];
            if (!this._-3gb)
            {
                return (k);
            };
            var k:int = Math.min(this._-3gb.length, (this._-pE + this._-0-7));
            var k:int = this._-pE;
            while (k < k)
            {
                k.push(this._-3gb[k]);
                k++;
            };
            return (k);
        }
        public function _-Sh():Boolean
        {
            if (((((this._-0FQ) || (!(this._-3gb)))) || ((this._-3gb.length == 0))))
            {
                return (false);
            };
            if ((((this._-3gb[0].rank == 1)) && ((this._-pE <= 0))))
            {
                return (false);
            };
            return (true);
        }
        public function _-Cx():Boolean
        {
            if (((((this._-0FQ) || (!(this._-3gb)))) || ((this._-3gb.length == 0))))
            {
                return (false);
            };
            if ((((this._-3gb[(this._-3gb.length - 1)].rank >= this._-4tu)) && (((this._-pE + this._-0-7) >= this._-3gb.length))))
            {
                return (false);
            };
            return (true);
        }
        public function get viewSize():int
        {
            return (this._-0-7);
        }

    }
}//package _-5h

//------------------------------------------------------------
//_-5h.LeaderboardViewController

package _-5h
{
    import _-2b4.SnowWarEngine;
    import _-3X8._-0hg;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-Ew.IWindow;
    import _-1ae._-0C5;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IRegionWindow;
    import flash.utils.Timer;
    import _-18r.Map;
    import flash.events.TimerEvent;
    import _-0W2.WindowUtils;
    import _-0Ie.WindowMouseEvent;
    import _-53E._-2mg;
    import flash.display.BitmapData;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-295._-2kE;
    import _-4Kb.*;
    import _-1B-.*;

    public class LeaderboardViewController implements _-1zZ, _-3QA 
    {

        private static const _-2jC:int = 0;
        private static const _-1GV:int = 1;
        private static const _-zS:int = 2;
        private static const _-13i:int = 3;

        private var _-346:SnowWarEngine;
        private var _-cU:_-0hg;
        private var _-0xv:IWindowContainer;
        private var _disposed:Boolean;
        private var _-0Ke:int;
        private var _-3EB:IItemListWindow;
        private var _-0wd:IWindow;
        private var _-4wl:_-0C5;
        private var _-4pm:IBitmapWrapperWindow;
        private var _-qf:ITextWindow;
        private var _-2o5:IBitmapWrapperWindow;
        private var _-2SG:ITextWindow;
        private var _-1jJ:IRegionWindow;
        private var _-54i:IRegionWindow;
        private var _-2R8:IRegionWindow;
        private var _-3bD:IRegionWindow;
        private var _-4z-:String;
        private var _-0gU:int;
        private var _-0ZR:Timer;
        private var _-26a:Map;
        private var _-d1:LeaderboardTable;
        private var _-1Y-:_-5Dd;
        private var _-2EC:_-0bD;
        private var _-4Wa:_-3yX;
        private var _-33B:Boolean;
        private var _-0FL:int = 0;

        public function LeaderboardViewController(_arg1:SnowWarEngine)
        {
            this._-346 = _arg1;
            this._-cU = _arg1.localization;
            this._-26a = new Map();
            this._-33B = this._-346.config.getBoolean("games.highscores.scrolling.enabled", false);
            this._-d1 = new LeaderboardTable(this._-346);
            this._-1Y- = new _-5Dd(this._-346);
            this._-2EC = new _-0bD(this._-346);
            this._-4Wa = new _-3yX(this._-346);
            this._-10U();
        }
        public function set _-2Od(_arg1:int):void
        {
            this._-0FL = _arg1;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._-346 = null;
            this._-3EB = null;
            this._-0wd = null;
            this._-4wl = null;
            this._-4pm = null;
            this._-qf = null;
            this._-2o5 = null;
            this._-2SG = null;
            this._-1jJ = null;
            this._-54i = null;
            this._-2R8 = null;
            this._-3bD = null;
            this._-4z- = null;
            this._-26a.dispose();
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-d1)
            {
                this._-d1.dispose();
                this._-d1 = null;
            };
            if (this._-1Y-)
            {
                this._-1Y-.dispose();
                this._-1Y- = null;
            };
            if (this._-2EC)
            {
                this._-2EC.dispose();
                this._-2EC = null;
            };
            if (this._-4Wa)
            {
                this._-4Wa.dispose();
                this._-4Wa = null;
            };
            this._-Wu();
            this._disposed = true;
        }
        private function _-Wu():void
        {
            if (this._-0ZR != null)
            {
                this._-0ZR.removeEventListener(TimerEvent.TIMER, this._-1zO);
                this._-0ZR.stop();
                this._-0ZR = null;
            };
        }
        private function _-1nf(_arg1:int):void
        {
            this._-0ZR = new Timer(60000, _arg1);
            this._-0ZR.addEventListener(TimerEvent.TIMER, this._-1zO);
            this._-0ZR.start();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-0s8():void
        {
            this._-qf.textColor = 0;
            this._-2SG.textColor = 0xFFFFFF;
            WindowUtils._-qb(this._-4pm, this._-5Es("left_blue"));
            WindowUtils._-qb(this._-2o5, this._-5Es("right_black"));
        }
        private function _-1d9():void
        {
            this._-qf.textColor = 0xFFFFFF;
            this._-2SG.textColor = 0;
            WindowUtils._-qb(this._-4pm, this._-5Es("left_black"));
            WindowUtils._-qb(this._-2o5, this._-5Es("right_blue"));
        }
        public function _-27T():void
        {
            this._-0Ke = _-2jC;
            this._-10U();
            this.visible = true;
            this._-0xv.caption = "${snowwar.leaderboard.friends}";
            this._-4wl.caption = "${snowwar.leaderboard.all}";
            this._-0s8();
            this._-1m-();
            this._-cz();
        }
        public function _-26x():void
        {
            this._-0Ke = _-1GV;
            this._-qd();
            this.visible = true;
            this._-0xv.caption = "${snowwar.leaderboard.all}";
            this._-4wl.caption = "${snowwar.leaderboard.friends}";
            this._-0s8();
            this._-1m-();
            this._-cz();
        }
        public function _-4nD():void
        {
            this._-0Ke = _-zS;
            this._-2EC.offset = 0;
            this._-4c0(0);
            this.visible = true;
            this._-0xv.caption = "${snowwar.leaderboard.all}";
            this._-4wl.caption = "${snowwar.leaderboard.friends}";
            this._-1d9();
            this._-1m-();
            this._-cz();
        }
        public function _-1Fm():void
        {
            this._-0Ke = _-13i;
            this._-4Wa.offset = 0;
            this._-3Ws(0);
            this.visible = true;
            this._-0xv.caption = "${snowwar.leaderboard.friends}";
            this._-4wl.caption = "${snowwar.leaderboard.all}";
            this._-1d9();
            this._-1m-();
            this._-cz();
        }
        public function _-3po(_arg1:Array, _arg2:int):void
        {
            this._-1Y-.addEntries(_arg1, _arg2);
            if ((((this._-0Ke == _-1GV)) && (this.visible)))
            {
                this._-cz();
            };
            this._-1m-();
        }
        public function _-1Zc(_arg1:int, _arg2:int, _arg3:Array, _arg4:int, _arg5:int, _arg6:int):void
        {
            this._-Wu();
            this._-0gU = _arg6;
            this._-4z- = ((_arg1 + "/") + _arg2);
            this._-2EC._-3D1 = _arg5;
            this._-2EC.addEntries(_arg3, _arg4);
            if ((((this._-0Ke == _-zS)) && (this.visible)))
            {
                this._-cz();
            };
            this._-1m-();
        }
        public function _-tY(_arg1:Array, _arg2:int):void
        {
            this._-d1.addEntries(_arg1, _arg2);
            if ((((this._-0Ke == _-2jC)) && (this.visible)))
            {
                this._-cz();
            };
            this._-1m-();
        }
        public function _-25l(_arg1:int, _arg2:int, _arg3:Array, _arg4:int, _arg5:int, _arg6:int):void
        {
            this._-Wu();
            this._-0gU = _arg6;
            this._-4z- = ((_arg1 + "/") + _arg2);
            this._-4Wa._-3D1 = _arg5;
            this._-4Wa.addEntries(_arg3, _arg4);
            if ((((this._-0Ke == _-13i)) && (this.visible)))
            {
                this._-cz();
            };
            this._-1m-();
        }
        public function hide():void
        {
            this.visible = false;
        }
        public function _-0-V(_arg1:String):void
        {
            if (this._disposed)
            {
                return;
            };
            var k:IBitmapWrapperWindow = this._-26a.remove(_arg1);
            if (((k) && (!(k.disposed))))
            {
                this._-4Xd(k, _arg1);
            };
        }
        private function _-10U():void
        {
            this._-d1._-2ba(this._-0FL);
        }
        private function _-qd():void
        {
            this._-1Y-._-2ba(this._-0FL);
        }
        private function _-4c0(_arg1:int):void
        {
            this._-2EC.offset = _arg1;
            this._-2EC._-2ba(this._-0FL);
        }
        private function _-3Ws(_arg1:int):void
        {
            this._-4Wa.offset = _arg1;
            this._-4Wa._-2ba(this._-0FL);
        }
        private function get visible():Boolean
        {
            return (((this._-0xv) && (this._-0xv.visible)));
        }
        private function set visible(_arg1:Boolean):void
        {
            if (((_arg1) && (!(this._-0xv))))
            {
                this._-2pq();
            };
            if (_arg1)
            {
                this._-0xv.visible = true;
                this._-0xv.activate();
            }
            else
            {
                if (this._-0xv)
                {
                    this._-0xv.visible = false;
                };
            };
        }
        private function _-2pq():void
        {
            var k:IWindow;
            var k:IWindow;
            if (!this._-0xv)
            {
                this._-0xv = (WindowUtils.createWindow("snowwar_leaderboard", 1) as IWindowContainer);
                this._-0xv.center();
                this._-0xv.findChildByTag("close").addEventListener(WindowMouseEvent._-90, this._-4F9);
                this._-3EB = (this._-0xv.findChildByName("list") as IItemListWindow);
                this._-0wd = this._-0xv.findChildByName("listBorder");
                this._-4wl = (this._-0xv.findChildByName("changeView") as _-0C5);
                this._-4wl.addEventListener(WindowMouseEvent._-90, this._-2FC);
                k = this._-0xv.findChildByName("all_time_region");
                k.addEventListener(WindowMouseEvent._-3Jy, this._-1kD);
                k = this._-0xv.findChildByName("this_week_region");
                k.addEventListener(WindowMouseEvent._-3Jy, this._-5B9);
                this._-2o5 = (this._-0xv.findChildByName("all_time_image") as IBitmapWrapperWindow);
                this._-4pm = (this._-0xv.findChildByName("this_week_image") as IBitmapWrapperWindow);
                this._-2SG = (this._-0xv.findChildByName("all_time_text") as ITextWindow);
                this._-qf = (this._-0xv.findChildByName("this_week_text") as ITextWindow);
                this._-1jJ = (this._-0xv.findChildByName("scrollUp") as IRegionWindow);
                this._-2Vl(this._-1jJ);
                WindowUtils._-qb(this._-1jJ.getChildAt(0), this._-5Es("scroll_up_normal"));
                this._-54i = (this._-0xv.findChildByName("scrollDown") as IRegionWindow);
                this._-2Vl(this._-54i);
                WindowUtils._-qb(this._-54i.getChildAt(0), this._-5Es("scroll_down_normal"));
                this._-2R8 = (this._-0xv.findChildByName("nextWeek") as IRegionWindow);
                this._-2R8.addEventListener(WindowMouseEvent._-90, this._-0Um);
                this._-2R8.visible = false;
                this._-3bD = (this._-0xv.findChildByName("previousWeek") as IRegionWindow);
                this._-3bD.addEventListener(WindowMouseEvent._-90, this._-1yx);
                this._-3bD.visible = false;
                this._-0js();
                this._-1m-();
            };
        }
        private function _-2Vl(_arg1:IWindow):void
        {
            _arg1.addEventListener(WindowMouseEvent._-90, this._-AI);
            _arg1.addEventListener(WindowMouseEvent._-4ea, this._-AI);
            _arg1.addEventListener(WindowMouseEvent._-4e2, this._-AI);
            _arg1.addEventListener(WindowMouseEvent._-3Jy, this._-AI);
            _arg1.addEventListener(WindowMouseEvent._-02B, this._-AI);
        }
        private function _-4F9(_arg1:WindowMouseEvent):void
        {
            this.hide();
        }
        private function _-2FC(_arg1:WindowMouseEvent):void
        {
            switch (this._-0Ke)
            {
                case _-2jC:
                    this._-26x();
                    return;
                case _-1GV:
                    this._-27T();
                    return;
                case _-zS:
                    this._-1Fm();
                    return;
                case _-13i:
                    this._-4nD();
                    return;
            };
        }
        private function _-1kD(_arg1:WindowMouseEvent):void
        {
            switch (this._-0Ke)
            {
                case _-zS:
                    this._-26x();
                    return;
                case _-13i:
                    this._-27T();
                    return;
            };
        }
        private function _-5B9(_arg1:WindowMouseEvent):void
        {
            switch (this._-0Ke)
            {
                case _-2jC:
                    this._-1Fm();
                    return;
                case _-1GV:
                    this._-4nD();
                    return;
            };
        }
        private function _-Jp():LeaderboardTable
        {
            var k:LeaderboardTable;
            switch (this._-0Ke)
            {
                case _-2jC:
                    k = this._-d1;
                    break;
                case _-1GV:
                    k = this._-1Y-;
                    break;
                case _-zS:
                    k = this._-2EC;
                    break;
                case _-13i:
                    k = this._-4Wa;
                    break;
                default:
                    HabboGamesCom.log(("Invalid state " + this._-0Ke));
            };
            return (k);
        }
        private function _-141():void
        {
            var k:LeaderboardTable = this._-Jp();
            if (((k) && (k.scrollUp())))
            {
                this._-cz();
            };
        }
        private function _-1P():void
        {
            var k:LeaderboardTable = this._-Jp();
            if (((k) && (k.scrollDown())))
            {
                this._-cz();
            };
        }
        private function _-AI(_arg1:WindowMouseEvent):void
        {
            var k:String;
            var k:String = (((_arg1.window == this._-1jJ)) ? "up" : "down");
            switch (_arg1.type)
            {
                case WindowMouseEvent._-90:
                    if ((_arg1.window == this._-1jJ))
                    {
                        this._-141();
                    }
                    else
                    {
                        this._-1P();
                    };
                    return;
                case WindowMouseEvent._-4e2:
                    k = "normal";
                    break;
                case WindowMouseEvent._-4ea:
                    k = "hilite";
                    break;
                case WindowMouseEvent._-3Jy:
                    k = "click";
                    break;
                case WindowMouseEvent._-02B:
                    k = "normal";
                    break;
            };
            var k:String = ((("scroll_" + k) + "_") + k);
            var k:IWindowContainer = (_arg1.window as IWindowContainer);
            WindowUtils._-qb(k.getChildAt(0), this._-5Es(k));
        }
        private function _-0Um(_arg1:WindowMouseEvent):void
        {
            if (this._-2R8.visible)
            {
                switch (this._-0Ke)
                {
                    case _-zS:
                        this._-4c0((this._-2EC.offset - 1));
                        return;
                    case _-13i:
                        this._-3Ws((this._-4Wa.offset - 1));
                        return;
                };
            };
        }
        private function _-1yx(_arg1:WindowMouseEvent):void
        {
            if (this._-3bD.visible)
            {
                switch (this._-0Ke)
                {
                    case _-zS:
                        this._-4c0((this._-2EC.offset + 1));
                        return;
                    case _-13i:
                        this._-3Ws((this._-4Wa.offset + 1));
                        return;
                };
            };
        }
        private function _-1m-():void
        {
            var k:String;
            switch (this._-0Ke)
            {
                case _-zS:
                    if (this._-2EC.offset <= 0)
                    {
                        this._-2R8.visible = false;
                    }
                    else
                    {
                        this._-2R8.visible = true;
                    };
                    if (this._-2EC.offset >= this._-2EC._-3D1)
                    {
                        this._-3bD.visible = false;
                    }
                    else
                    {
                        this._-3bD.visible = true;
                    };
                    break;
                case _-13i:
                    if (this._-4Wa.offset <= 0)
                    {
                        this._-2R8.visible = false;
                    }
                    else
                    {
                        this._-2R8.visible = true;
                    };
                    if (this._-4Wa.offset >= this._-4Wa._-3D1)
                    {
                        this._-3bD.visible = false;
                    }
                    else
                    {
                        this._-3bD.visible = true;
                    };
                    break;
                default:
                    this._-2R8.visible = false;
                    this._-3bD.visible = false;
            };
            if (this._-2R8.visible)
            {
                this._-qf.caption = this._-4z-;
            }
            else
            {
                this._-qf.caption = "${snowwar.leaderboard.this_week}";
            };
            switch (this._-0Ke)
            {
                case _-zS:
                case _-13i:
                    if (!this._-2R8.visible)
                    {
                        this._-UO();
                        if (this._-0ZR == null)
                        {
                            this._-1nf(this._-0gU);
                        };
                        return;
                    };
                default:
                    WindowUtils._-1Mx(this._-0xv, "reset_text");
                    this._-Wu();
            };
        }
        private function _-UO():void
        {
            WindowUtils._-Ny(this._-0xv, "reset_text");
            var k:String = "snowwar.leaderboard.weekly_reset";
            var k:int = this._-1wL(this._-0gU);
            var k:int = this._-1Si(this._-0gU);
            var k:int = this._-4VQ(this._-0gU);
            this._-cU.registerParameter(k, "days", ("" + this._-1wL(this._-0gU)));
            this._-cU.registerParameter(k, "hours", ("" + this._-1Si(this._-0gU)));
            this._-cU.registerParameter(k, "minutes", ("" + this._-4VQ(this._-0gU)));
            WindowUtils._-50j(this._-0xv.findChildByName("reset_text"), (("${" + k) + "}"));
        }
        private function _-1zO(_arg1:TimerEvent):void
        {
            if (((!(this._-2R8.visible)) && ((((this._-0Ke == _-zS)) || ((this._-0Ke == _-13i))))))
            {
                if (this._-0gU > 0)
                {
                    this._-0gU--;
                };
                this._-UO();
            };
        }
        private function _-1wL(_arg1:int):int
        {
            return (Math.floor(((_arg1 / 60) / 24)));
        }
        private function _-1Si(_arg1:int):int
        {
            var k:int = this._-1wL(_arg1);
            return (Math.floor(((_arg1 - ((k * 24) * 60)) / 60)));
        }
        private function _-4VQ(_arg1:int):int
        {
            var k:int = this._-1wL(_arg1);
            var k:int = this._-1Si(_arg1);
            return (((_arg1 - ((k * 24) * 60)) - (k * 60)));
        }
        private function _-4YB():Array
        {
            switch (this._-0Ke)
            {
                case _-2jC:
                    return (this._-d1.getVisibleEntries());
                case _-1GV:
                    return (this._-1Y-.getVisibleEntries());
                case _-zS:
                    return (this._-2EC.getVisibleEntries());
                case _-13i:
                    return (this._-4Wa.getVisibleEntries());
                default:
                    return (null);
            };
        }
        private function _-cz():void
        {
            var k:_-2mg;
            var k:IWindowContainer;
            var k:IWindowContainer;
            var k:IWindow;
            var k:int;
            var k:IWindowContainer;
            var k:IWindowContainer;
            var k:Array = this._-4YB();
            var k:int = this._-346.sessionDataManager.userId;
            if (((!(k)) || ((k.length == 0))))
            {
                this._-3EB.visible = false;
                this._-0wd.visible = false;
                return;
            };
            var k:int;
            this._-3EB._-Ls();
            var k:IWindowContainer = (WindowUtils.createWindow("snowwar_leaderboard_entry") as IWindowContainer);
            while (k < k.length)
            {
                k = k[k];
                if (!k)
                {
                }
                else
                {
                    k = (k.clone() as IWindowContainer);
                    k.findChildByName("rank").caption = k.rank.toString();
                    k.findChildByName("score").caption = k.score.toString();
                    k.findChildByName("name").caption = k.name;
                    this._-4Xd((k.findChildByName("avatarImage") as IBitmapWrapperWindow), k.figure, k.gender);
                    if (((!((k.userId == this._-346.sessionDataManager.userId))) || ((((((this._-0Ke == _-1GV)) && ((k.userId == k)))) && ((k < (k.length - 1)))))))
                    {
                        k.findChildByName("highlight").visible = false;
                        k.findChildByName("divider").visible = false;
                        k = (this._-3EB.getListItemAt((this._-3EB.numListItems - 1)) as IWindowContainer);
                        if (k)
                        {
                            k.findChildByName("divider").visible = false;
                        };
                    };
                    k.findChildByName("imageRegion").id = k.userId;
                    k.findChildByName("imageRegion").addEventListener(WindowMouseEvent._-90, this._-DB);
                    this._-3EB.addListItem(k);
                };
                k++;
            };
            if ((((this._-0Ke == _-1GV)) || ((this._-0Ke == _-zS))))
            {
                if ((k % this._-d1.viewSize) != 0)
                {
                    k = this._-3EB.getListItemAt((this._-3EB.numListItems - 1));
                    k = 0;
                    while (k < ((k % this._-d1.viewSize) - 1))
                    {
                        k = (k.clone() as IWindowContainer);
                        k.findChildByName("rank").caption = "";
                        k.findChildByName("score").caption = "";
                        k.findChildByName("name").caption = "";
                        k.findChildByName("highlight").visible = false;
                        k.findChildByName("divider").visible = false;
                        k = (this._-3EB.getListItemAt((this._-3EB.numListItems - 1)) as IWindowContainer);
                        if (k)
                        {
                            k.findChildByName("divider").visible = false;
                        };
                        k.removeChild(k.findChildByName("imageRegion"));
                        this._-3EB.addListItem(k);
                        k++;
                    };
                    this._-3EB.addListItem(k);
                };
            };
            k.dispose();
            k = (this._-3EB.getListItemAt((this._-3EB.numListItems - 1)) as IWindowContainer);
            if (k)
            {
                k.findChildByName("divider").visible = false;
            };
            this._-3EB.visible = true;
            this._-0wd.visible = true;
            this._-0js();
            this._-0xv.invalidate();
        }
        private function _-4Xd(_arg1:IBitmapWrapperWindow, _arg2:String, _arg3:String=null):void
        {
            var k:BitmapData;
            var k:_-40f = this._-346._-5-f.createAvatarImage(_arg2, _-1uH._-JU, _arg3, this);
            if (k)
            {
                k.setDirection(_-24J._-2YU, 2);
                k = k._-1hx(_-24J._-0GH);
                if (k.isPlaceholder())
                {
                    this._-26a.remove(_arg2);
                    this._-26a.add(_arg2, _arg1);
                };
                k.dispose();
            };
            WindowUtils._-qb(_arg1, k);
            k.dispose();
        }
        private function _-DB(_arg1:WindowMouseEvent):void
        {
            this._-346._-0dU._-SL(_arg1.window.id);
        }
        private function _-0js():void
        {
            var k:LeaderboardTable = this._-Jp();
            if (((k) && (this._-33B)))
            {
                this._-1jJ.visible = k._-Sh();
                this._-54i.visible = k._-Cx();
            };
        }
        private function _-5Es(_arg1:String):BitmapData
        {
            var k:_-2kE = this._-346.assets.getAssetByName(_arg1);
            if (k)
            {
                return ((k.content as BitmapData));
            };
            return (null);
        }

    }
}//package _-5h

//------------------------------------------------------------
//_-5s._-50u

package _-5s
{
    import _-4Aj._-7V;
    import _-2MS._-p8;
    import _-4Aj.*;

    public class _-50u extends _-7V implements _-0tL 
    {

        public function _-50u(_arg1:Function)
        {
            super(_arg1, _-p8);
        }
        public function _-3-5():_-p8
        {
            return ((_-515 as _-p8));
        }

    }
}//package _-5s

//------------------------------------------------------------
//_-69._-0Za

package _-69
{
    import _-4Aj._-7V;
    import _-u-._-1Q7;
    import _-4Aj.*;

    public class _-0Za extends _-7V implements _-0tL 
    {

        public function _-0Za(_arg1:Function)
        {
            super(_arg1, _-1Q7);
        }
        public function _-3-5():_-1Q7
        {
            return ((_-515 as _-1Q7));
        }

    }
}//package _-69

//------------------------------------------------------------
//_-69._-3fY

package _-69
{
    import _-4Aj._-7V;
    import _-u-._-1cc;
    import _-4Aj.*;

    public class _-3fY extends _-7V implements _-0tL 
    {

        public function _-3fY(_arg1:Function)
        {
            super(_arg1, _-1cc);
        }
        public function _-3-5():_-1cc
        {
            return ((_-515 as _-1cc));
        }

    }
}//package _-69

//------------------------------------------------------------
//_-69._-3TK

package _-69
{
    import _-4Aj._-7V;
    import _-u-._-1Xt;
    import _-4Aj.*;

    public class _-3TK extends _-7V implements _-0tL 
    {

        public function _-3TK(_arg1:Function)
        {
            super(_arg1, _-1Xt);
        }
        public function _-3-5():_-1Xt
        {
            return ((_-515 as _-1Xt));
        }

    }
}//package _-69

//------------------------------------------------------------
//_-69._-mL

package _-69
{
    import _-4Aj._-0s1;

    public class _-mL 
    {

        public static const _-Nm:int = -1;
        public static const _-0B4:int = 0;
        public static const _-0Te:int = 1;
        public static const _-Y3:int = 2;

        private var _-2sP:int;
        private var _-55e:int;
        private var _-5Dg:String;
        private var _-aH:int;
        private var _-4B3:int;
        private var _-4g6:int;
        private var _-0nD:int;
        private var _-hW:int;
        private var _-4pX:Boolean;
        private var _-JS:String;
        private var _-3cz:String;
        private var _-Vt:int;
        private var _-2VF:int;

        public function _-mL(_arg1:_-0s1)
        {
            this._-2sP = _arg1._-2BW();
            this._-55e = _arg1._-2BW();
            this._-5Dg = _arg1.readString();
            this._-aH = _arg1._-2BW();
            this._-4B3 = Math.max(1, _arg1._-2BW());
            this._-4g6 = _arg1._-2BW();
            this._-0nD = _arg1._-2BW();
            this._-hW = _arg1._-2BW();
            this._-4pX = _arg1.readBoolean();
            this._-JS = _arg1.readString();
            this._-3cz = _arg1.readString();
            this._-Vt = _arg1._-2BW();
            this._-2VF = _arg1._-2BW();
        }
        public function get _-4Oi():int
        {
            return (this._-2sP);
        }
        public function get badgeId():String
        {
            return (this._-5Dg);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get _-4WU():int
        {
            return (this._-aH);
        }
        public function get _-4TQ():int
        {
            return ((this._-4B3 - this._-aH));
        }
        public function get _-02I():int
        {
            return (this._-4g6);
        }
        public function get _-2M0():int
        {
            return (this._-0nD);
        }
        public function get _-e2():int
        {
            return ((this._-hW - this._-aH));
        }
        public function get _-IJ():Boolean
        {
            return (this._-4pX);
        }
        public function get category():String
        {
            return (this._-JS);
        }
        public function get _-5-A():String
        {
            return (this._-3cz);
        }
        public function get _-1OV():int
        {
            return (this._-Vt);
        }
        public function get _-58U():Boolean
        {
            return ((((this._-55e > 1)) || (this._-4pX)));
        }
        public function _-0-n():void
        {
            this._-hW = this._-4B3;
        }
        public function get _-1f5():int
        {
            return (this._-2VF);
        }

    }
}//package _-69

//------------------------------------------------------------
//_-6S.LocalizationEvent

package _-6S
{
    public class LocalizationEvent 
    {

        public static const _-w5:String = "LOCALIZATION_EVENT_LANGUAGE_CHANGED";
        public static const _-tX:String = "LOCALIZATION_EVENT_LOCALIZATION_LOADED";
        public static const _-3EJ:String = "LOCALIZATION_EVENT_LOCALIZATION_FAILED";
        public static const _-26g:String = "LOCALIZATION_EVENT_SAFE_CHAT_DICTIONARY_LOADED";

    }
}//package _-6S

//------------------------------------------------------------
//_-72._-0Da

package _-72
{
    public class _-0Da extends _-1re 
    {

        private var _-53-:int;

        public function _-0Da(_arg1:int)
        {
            this._-53- = _arg1;
        }
        public function get _-15x():int
        {
            return (this._-53-);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-0iT

package _-72
{
    public class _-0iT extends _-1re 
    {

        private var _-59A:int = 0;

        public function _-0iT(_arg1:int)
        {
            this._-59A = _arg1;
        }
        public function get gesture():int
        {
            return (this._-59A);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-0yk

package _-72
{
    public class _-0yk extends _-1re 
    {

        private var _-45K:Boolean;

        public function _-0yk(_arg1:Boolean=false)
        {
            this._-45K = _arg1;
        }
        public function get _-1cq():Boolean
        {
            return (this._-45K);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-119

package _-72
{
    public class _-119 extends _-1re 
    {

        private var _-3lK:int;

        public function _-119(_arg1:int)
        {
            this._-3lK = _arg1;
        }
        public function get value():int
        {
            return (this._-3lK);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-13G

package _-72
{
    public class _-13G extends _-1re 
    {

        private var _-59A:String;

        public function _-13G(_arg1:String)
        {
            this._-59A = _arg1;
        }
        public function get gesture():String
        {
            return (this._-59A);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-1Gs

package _-72
{
    import _-4bd._-1yr;
    import _-293._-4q2;

    public class _-1Gs extends _-1yr 
    {

        private var _-0Ke:int;
        private var _-0qE:_-4q2 = null;
        private var _-31w:Number = NaN;

        public function _-1Gs(_arg1:int, _arg2:_-4q2, _arg3:Number=NaN)
        {
            super(null, null);
            this._-0Ke = _arg1;
            this._-0qE = _arg2;
            this._-31w = _arg3;
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get data():_-4q2
        {
            return (this._-0qE);
        }
        public function get _-33C():Number
        {
            return (this._-31w);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-1oH

package _-72
{
    public class _-1oH extends _-1re 
    {

        private var _-1-z:int;

        public function _-1oH(_arg1:int)
        {
            this._-1-z = _arg1;
        }
        public function get _-2-():int
        {
            return (this._-1-z);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-1re

package _-72
{
    import _-4bd._-1yr;

    public class _-1re extends _-1yr 
    {

        public function _-1re()
        {
            super(null, null);
        }
    }
}//package _-72

//------------------------------------------------------------
//_-72._-1yS

package _-72
{
    import _-4bd._-1yr;
    import _-0y0._-Xl;
    import _-0y0._-06R;

    public class _-1yS extends _-1yr 
    {

        public static const _-y3:String = "RORMUM_ADD_MASK";
        public static const _-4GN:String = "RORMUM_ADD_MASK";
        public static const _-2x9:String = "door";
        public static const _-qh:String = "window";
        public static const _-1Hh:String = "hole";

        private var _-5K:String = "";
        private var _-2MR:String = "";
        private var _-0Ys:String = "";
        private var _-5Ed:_-Xl = null;
        private var _-0Fb:String = "window";

        public function _-1yS(_arg1:String, _arg2:String, _arg3:String=null, _arg4:_-06R=null, _arg5:String="window")
        {
            super(null, null);
            this._-5K = _arg1;
            this._-2MR = _arg2;
            this._-0Ys = _arg3;
            if (_arg4 != null)
            {
                this._-5Ed = new _-Xl(_arg4.x, _arg4.y, _arg4.z);
            };
            this._-0Fb = _arg5;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get _-zo():String
        {
            return (this._-2MR);
        }
        public function get _-4VX():String
        {
            return (this._-0Ys);
        }
        public function get _-4eI():_-06R
        {
            return (this._-5Ed);
        }
        public function get _-2Sx():String
        {
            return (this._-0Fb);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-2Ht

package _-72
{
    public class _-2Ht extends _-1re 
    {

        private var _-53-:int;
        private var _-CY:String;

        public function _-2Ht(_arg1:int, _arg2:String)
        {
            this._-53- = _arg1;
            this._-CY = _arg2;
        }
        public function get _-15x():int
        {
            return (this._-53-);
        }
        public function get _-1Y1():String
        {
            return (this._-CY);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-2MZ

package _-72
{
    public class _-2MZ extends _-1re 
    {

    }
}//package _-72

//------------------------------------------------------------
//_-72._-2p9

package _-72
{
    public class _-2p9 extends _-1re 
    {

        private var _-2Kh:String;
        private var _-2IN:String;

        public function _-2p9(_arg1:String, _arg2:String="")
        {
            this._-2Kh = _arg1;
            this._-2IN = _arg2;
        }
        public function get _-2VE():String
        {
            return (this._-2Kh);
        }
        public function get _-y-():String
        {
            return (this._-2IN);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-2Qo

package _-72
{
    import _-4bd._-1yr;

    public class _-2Qo extends _-1yr 
    {

        private var _-1Kl:String;

        public function _-2Qo(_arg1:String)
        {
            super(null, null);
            this._-1Kl = _arg1;
        }
        public function get _-2RX():String
        {
            return (this._-1Kl);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-2WC

package _-72
{
    public class _-2WC extends _-1re 
    {

        private var _-2dY:Boolean;

        public function _-2WC(_arg1:Boolean)
        {
            this._-2dY = _arg1;
        }
        public function get selected():Boolean
        {
            return (this._-2dY);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-2ZI

package _-72
{
    import _-4bd._-1yr;

    public class _-2ZI extends _-1yr 
    {

        public static const _-1hI:String = "RORUM_ROOM_WALL_UPDATE";
        public static const _-QZ:String = "RORUM_ROOM_FLOOR_UPDATE";
        public static const _-440:String = "RORUM_ROOM_LANDSCAPE_UPDATE";

        private var _-5K:String = "";
        private var _-3lK:String = "";

        public function _-2ZI(_arg1:String, _arg2:String)
        {
            super(null, null);
            this._-5K = _arg1;
            this._-3lK = _arg2;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get value():String
        {
            return (this._-3lK);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-30X

package _-72
{
    import _-4bd._-1yr;

    public class _-30X extends _-1yr 
    {

        private var _-4dI:String;
        private var _-4F8:int;

        public function _-30X(_arg1:String, _arg2:int)
        {
            super(null, null);
            this._-4dI = _arg1;
            this._-4F8 = _arg2;
        }
        public function get _-4EA():String
        {
            return (this._-4dI);
        }
        public function get _-10P():int
        {
            return (this._-4F8);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-3Ca

package _-72
{
    import _-4bd._-1yr;

    public class _-3Ca extends _-1yr 
    {

        public static const _-2ha:String = "ROVUM_ENABLED";
        public static const _-5A8:String = "ROVUM_DISABLED";

        private var _-5K:String;

        public function _-3Ca(_arg1:String)
        {
            super(null, null);
            this._-5K = _arg1;
        }
        public function get type():String
        {
            return (this._-5K);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-3dX

package _-72
{
    public class _-3dX extends _-1re 
    {

        private var _-0nz:int;

        public function _-3dX(_arg1:int=0)
        {
            this._-0nz = _arg1;
        }
        public function get _-Xk():int
        {
            return (this._-0nz);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-3e9

package _-72
{
    import _-4bd._-1yr;

    public class _-3e9 extends _-1yr 
    {

        public static const _-15r:String = "RORPPUM_WALL_THICKNESS";
        public static const _-Ik:String = "RORPVUM_FLOOR_THICKNESS";

        private var _-5K:String = "";
        private var _-3lK:Number = 0;

        public function _-3e9(_arg1:String, _arg2:Number)
        {
            super(null, null);
            this._-5K = _arg1;
            this._-3lK = _arg2;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get value():Number
        {
            return (this._-3lK);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-3GU

package _-72
{
    public class _-3GU extends _-1re 
    {

        private var _-nc:int = -1;

        public function _-3GU(_arg1:int=-1)
        {
            this._-nc = _arg1;
        }
        public function get _-0lP():int
        {
            return (this._-nc);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-3RT

package _-72
{
    public class _-3RT extends _-1re 
    {

        private var _-6:int;

        public function _-3RT(_arg1:int)
        {
            this._-6 = _arg1;
        }
        public function get _-0x2():int
        {
            return (this._-6);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-3wZ

package _-72
{
    import _-0y0._-06R;

    public class _-3wZ extends _-HN 
    {

        private var _-40l:int;
        private var _-59t:Boolean;
        private var _-038:Number;

        public function _-3wZ(_arg1:_-06R, _arg2:_-06R, _arg3:_-06R, _arg4:int, _arg5:Boolean, _arg6:Number)
        {
            super(_arg1, _arg2, _arg3);
            this._-40l = _arg4;
            this._-59t = _arg5;
            this._-038 = _arg6;
        }
        public function get _-4nG():int
        {
            return (this._-40l);
        }
        public function get _-2Rb():Boolean
        {
            return (this._-59t);
        }
        public function get _-3XQ():Number
        {
            return (this._-038);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-3Xd

package _-72
{
    public class _-3Xd extends _-1re 
    {

        private var _-32f:int;
        private var _-0Wk:int;

        public function _-3Xd(_arg1:int=0, _arg2:int=0)
        {
            this._-32f = _arg1;
            this._-0Wk = _arg2;
        }
        public function get effect():int
        {
            return (this._-32f);
        }
        public function get _-2Zj():int
        {
            return (this._-0Wk);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-3za

package _-72
{
    public class _-3za extends _-1re 
    {

        private var _-2dY:Boolean;

        public function _-3za(_arg1:Boolean)
        {
            this._-2dY = _arg1;
        }
        public function get selected():Boolean
        {
            return (this._-2dY);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-45X

package _-72
{
    import _-4bd._-1yr;
    import flash.display.BitmapData;

    public class _-45X extends _-1yr 
    {

        public static const _-3qI:String = "RORUM_ROOM_AD_ACTIVATE";
        public static const _-22X:String = "RORUM_ROOM_BILLBOARD_IMAGE_LOADED";
        public static const _-2t3:String = "RORUM_ROOM_BILLBOARD_IMAGE_LOADING_FAILED";

        private var _-5K:String;
        private var _-xd:String;
        private var _-03A:String;
        private var _-44i:int;
        private var _-04k:BitmapData;

        public function _-45X(_arg1:String, _arg2:String, _arg3:String, _arg4:int=-1, _arg5:BitmapData=null)
        {
            super(null, null);
            this._-5K = _arg1;
            this._-xd = _arg2;
            this._-03A = _arg3;
            this._-44i = _arg4;
            this._-04k = _arg5;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get asset():String
        {
            return (this._-xd);
        }
        public function get clickUrl():String
        {
            return (this._-03A);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get bitmapData():BitmapData
        {
            return (this._-04k);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-4DO

package _-72
{
    public class _-4DO extends _-1re 
    {

        private var _-3gs:Boolean;

        public function _-4DO(_arg1:Boolean=false)
        {
            this._-3gs = _arg1;
        }
        public function get _-3JH():Boolean
        {
            return (this._-3gs);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-4IZ

package _-72
{
    import _-4bd._-1yr;

    public class _-4IZ extends _-1yr 
    {

        public static const _-4oL:String = "ROGBUM_BADGE_LOADED";

        private var _-5Dg:String;
        private var _-1sU:String;

        public function _-4IZ(_arg1:String, _arg2:String)
        {
            super(null, null);
            this._-5Dg = _arg1;
            this._-1sU = _arg2;
        }
        public function get badgeId():String
        {
            return (this._-5Dg);
        }
        public function get assetName():String
        {
            return (this._-1sU);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-4J9

package _-72
{
    public class _-4J9 extends _-1re 
    {

        private var _-3LF:int;

        public function _-4J9(_arg1:int)
        {
            this._-3LF = _arg1;
        }
        public function get _-1M2():int
        {
            return (this._-3LF);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-4y-

package _-72
{
    public class _-4y- extends _-1re 
    {

        private var _-4H:int;

        public function _-4y-(_arg1:int)
        {
            this._-4H = _arg1;
        }
        public function get _-1Du():int
        {
            return (this._-4H);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-52F

package _-72
{
    public class _-52F extends _-1re 
    {

        private var _-QF:Boolean;

        public function _-52F(_arg1:Boolean=false)
        {
            this._-QF = _arg1;
        }
        public function get _-54Y():Boolean
        {
            return (this._-QF);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-57I

package _-72
{
    import _-4bd._-1yr;
    import _-0y0._-06R;

    public class _-57I extends _-1yr 
    {

        private var _-3Wy:Number;

        public function _-57I(_arg1:_-06R, _arg2:_-06R, _arg3:Number)
        {
            super(_arg1, _arg2);
            this._-3Wy = _arg3;
        }
        public function get _-2bI():Number
        {
            return (this._-3Wy);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-6p

package _-72
{
    public class _-6p extends _-1re 
    {

        private var _-3XG:Boolean;

        public function _-6p(_arg1:Boolean=false)
        {
            this._-3XG = _arg1;
        }
        public function get _-1SB():Boolean
        {
            return (this._-3XG);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-HN

package _-72
{
    import _-4bd._-1yr;
    import _-0y0._-06R;

    public class _-HN extends _-1yr 
    {

        private var _-42r:_-06R;
        private var _-3Mx:Boolean;

        public function _-HN(_arg1:_-06R, _arg2:_-06R, _arg3:_-06R, _arg4:Boolean=false)
        {
            super(_arg1, _arg3);
            this._-3Mx = _arg4;
            this._-42r = _arg2;
        }
        public function get _-LC():_-06R
        {
            if (this._-42r == null)
            {
                return (loc);
            };
            return (this._-42r);
        }
        public function get _-3Yf():_-06R
        {
            return (this._-42r);
        }
        public function get _-3Cr():Boolean
        {
            return (this._-3Mx);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-RI

package _-72
{
    import _-4bd._-1yr;

    public class _-RI extends _-1yr 
    {

        public static const _-0nG:String = "RORCUM_BACKGROUND_COLOR";

        private var _-5K:String = "";
        private var _color:uint = 0;
        private var _-3Ar:int = 0;
        private var _-09C:Boolean = true;

        public function _-RI(_arg1:String, _arg2:uint, _arg3:int, _arg4:Boolean)
        {
            super(null, null);
            this._-5K = _arg1;
            this._color = _arg2;
            this._-3Ar = _arg3;
            this._-09C = _arg4;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-IP():uint
        {
            return (this._-3Ar);
        }
        public function get _-2J-():Boolean
        {
            return (this._-09C);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-SC

package _-72
{
    import _-4bd._-1yr;

    public class _-SC extends _-1yr 
    {

        public static const _-wN:String = "RORPFHUM_ADD";
        public static const _-x3:String = "RORPFHUM_REMOVE";

        private var _-5K:String = "";
        private var _-0Kq:int;
        private var _-2dX:int;
        private var _-4TA:int;
        private var _-0Dz:int;
        private var _height:int;

        public function _-SC(_arg1:String, _arg2:int, _arg3:int=0, _arg4:int=0, _arg5:int=0, _arg6:int=0)
        {
            super(null, null);
            this._-5K = _arg1;
            this._-0Kq = _arg2;
            this._-2dX = _arg3;
            this._-4TA = _arg4;
            this._-0Dz = _arg5;
            this._height = _arg6;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }
        public function get width():int
        {
            return (this._-0Dz);
        }
        public function get height():int
        {
            return (this._height);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-TL

package _-72
{
    public class _-TL extends _-1re 
    {

        private var _-0w:Boolean = false;
        private var _-4Ax:String;

        public function _-TL(_arg1:String)
        {
            this._-4Ax = _arg1;
        }
        public function get _-0W():Boolean
        {
            return (this._-0w);
        }
        public function get _-xe():String
        {
            return (this._-4Ax);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-un

package _-72
{
    public class _-un extends _-1re 
    {

        private var _-5AE:String;
        private var _-z3:String;
        private var _-4Cb:String;
        private var _-2uo:Boolean;

        public function _-un(_arg1:String, _arg2:String=null, _arg3:String=null, _arg4:Boolean=false)
        {
            this._-5AE = _arg1;
            this._-4Cb = _arg2;
            this._-z3 = _arg3;
            this._-2uo = _arg4;
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get race():String
        {
            return (this._-z3);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get _-0mh():Boolean
        {
            return (this._-2uo);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-72._-YH

package _-72
{
    import _-4bd._-1yr;

    public class _-YH extends _-1yr 
    {

        public static const _-tu:String = "RORPVUM_WALL_VISIBILITY";
        public static const _-3Ho:String = "RORPVUM_FLOOR_VISIBILITY";

        private var _-5K:String = "";
        private var _-r3:Boolean = false;

        public function _-YH(_arg1:String, _arg2:Boolean)
        {
            super(null, null);
            this._-5K = _arg1;
            this._-r3 = _arg2;
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get visible():Boolean
        {
            return (this._-r3);
        }

    }
}//package _-72

//------------------------------------------------------------
//_-77._-4jh

package _-77
{
    import _-4Aj.*;

    public class _-4jh implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            return (k);
        }

    }
}//package _-77

//------------------------------------------------------------
//_-8p._-10W

package _-8p
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-10W implements _-58N 
    {

        private var _-1hg:Boolean;
        private var _-4dS:Boolean;

        public function get isOpen():Boolean
        {
            return (this._-1hg);
        }
        public function get _-4f5():Boolean
        {
            return (this._-4dS);
        }
        public function flush():Boolean
        {
            this._-1hg = false;
            this._-4dS = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1hg = _arg1.readBoolean();
            this._-4dS = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-8p

//------------------------------------------------------------
//_-8p._-1OS

package _-8p
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1OS implements _-58N 
    {

        private var _-Ul:int;
        private var _-4hv:int;
        private var _-1sN:Boolean;

        public function get openHour():int
        {
            return (this._-Ul);
        }
        public function get openMinute():int
        {
            return (this._-4hv);
        }
        public function get userThrownOutAtClose():Boolean
        {
            return (this._-1sN);
        }
        public function flush():Boolean
        {
            this._-Ul = 0;
            this._-4hv = 0;
            this._-1sN = false;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-Ul = _arg1._-2BW();
            this._-4hv = _arg1._-2BW();
            this._-1sN = _arg1.readBoolean();
            return (true);
        }

    }
}//package _-8p

//------------------------------------------------------------
//_-8p._-1yH

package _-8p
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1yH implements _-58N 
    {

        private var _-UV:Boolean;
        private var _-2S:int;

        public function get _-0L5():Boolean
        {
            return (this._-UV);
        }
        public function get _-qc():int
        {
            return (this._-2S);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-UV = _arg1.readBoolean();
            this._-2S = _arg1._-2BW();
            return (true);
        }

    }
}//package _-8p

//------------------------------------------------------------
//_-8p._-2Rv

package _-8p
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Rv implements _-58N 
    {

        private var _-1hg:Boolean;
        private var _-3S-:int;

        public function get isOpen():Boolean
        {
            return (this._-1hg);
        }
        public function get _-pU():int
        {
            return (this._-3S-);
        }
        public function flush():Boolean
        {
            this._-1hg = false;
            this._-3S- = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1hg = (_arg1._-2BW() > 0);
            this._-3S- = _arg1._-2BW();
            return (true);
        }

    }
}//package _-8p

//------------------------------------------------------------
//_-8p._-ei

package _-8p
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-ei implements _-58N 
    {

        private var _-Ul:int;
        private var _-4hv:int;

        public function get openHour():int
        {
            return (this._-Ul);
        }
        public function get openMinute():int
        {
            return (this._-4hv);
        }
        public function flush():Boolean
        {
            this._-Ul = 0;
            this._-4hv = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-Ul = _arg1._-2BW();
            this._-4hv = _arg1._-2BW();
            return (true);
        }

    }
}//package _-8p

//------------------------------------------------------------
//_-8p._-H3

package _-8p
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-H3 implements _-58N 
    {

        private var _-3RL:int;

        public function get minutesUntilClosing():int
        {
            return (this._-3RL);
        }
        public function flush():Boolean
        {
            this._-3RL = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3RL = _arg1._-2BW();
            return (true);
        }

    }
}//package _-8p

//------------------------------------------------------------
//_-Aj._-0NG

package _-Aj
{
    import _-4Aj._-7V;
    import _-2gf._-0Oj;
    import _-4Aj.*;

    public class _-0NG extends _-7V implements _-0tL 
    {

        public function _-0NG(_arg1:Function)
        {
            super(_arg1, _-0Oj);
        }
        public function _-3-5():_-0Oj
        {
            return ((_-515 as _-0Oj));
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-Aj._-0SV

package _-Aj
{
    import _-4Aj._-7V;
    import _-2gf._-36a;
    import _-4Aj.*;

    public class _-0SV extends _-7V implements _-0tL 
    {

        public function _-0SV(_arg1:Function)
        {
            super(_arg1, _-36a);
        }
        public function _-3-5():_-36a
        {
            return ((_-515 as _-36a));
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-Aj._-11U

package _-Aj
{
    import _-293._-4q2;

    public class _-11U 
    {

        private var _-2W3:int;
        private var _-1Rh:int;
        private var _-2G6:int;
        private var _-2dD:String;
        private var _-56Y:_-4q2;
        private var _-26b:int;
        private var _-8R:int;
        private var _-4o3:int = -1;
        private var _-58g:int;
        private var _-3Fz:int;

        public function _-11U(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:_-4q2, _arg6:int, _arg7:int, _arg8:int, _arg9:int, _arg10:int=-1)
        {
            this._-2W3 = _arg1;
            this._-1Rh = _arg2;
            this._-2G6 = _arg3;
            this._-2dD = _arg4;
            this._-56Y = _arg5;
            this._-26b = _arg6;
            this._-8R = _arg7;
            this._-4o3 = _arg8;
            this._-58g = _arg9;
            this._-3Fz = _arg10;
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function get _-4Jh():int
        {
            return (this._-1Rh);
        }
        public function get _-0sM():int
        {
            return (this._-2G6);
        }
        public function get extraData():String
        {
            return (this._-2dD);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function get price():int
        {
            return (this._-26b);
        }
        public function get status():int
        {
            return (this._-8R);
        }
        public function get _-016():int
        {
            return (this._-4o3);
        }
        public function get _-4q8():int
        {
            return (this._-58g);
        }
        public function get _-3rE():int
        {
            return (this._-3Fz);
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-Aj._-1Lt

package _-Aj
{
    import _-4Aj._-7V;
    import _-2gf._-2gI;
    import _-4Aj.*;

    public class _-1Lt extends _-7V implements _-0tL 
    {

        public function _-1Lt(_arg1:Function)
        {
            super(_arg1, _-2gI);
        }
        public function _-3-5():_-2gI
        {
            return ((_-515 as _-2gI));
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-Aj._-1-V

package _-Aj
{
    import _-4Aj._-7V;
    import _-2gf._-41l;
    import _-4Aj.*;

    public class _-1-V extends _-7V implements _-0tL 
    {

        public function _-1-V(_arg1:Function)
        {
            super(_arg1, _-41l);
        }
        public function _-3-5():_-41l
        {
            return ((_-515 as _-41l));
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-Aj._-2cw

package _-Aj
{
    import _-4Aj._-7V;
    import _-2gf._-gS;
    import _-4Aj.*;

    public class _-2cw extends _-7V implements _-0tL 
    {

        public function _-2cw(_arg1:Function)
        {
            super(_arg1, _-gS);
        }
        public function _-3-5():_-gS
        {
            return ((_-515 as _-gS));
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-Aj._-2eB

package _-Aj
{
    import _-4Aj._-7V;
    import _-2gf._-0hv;
    import _-4Aj.*;

    public class _-2eB extends _-7V implements _-0tL 
    {

        public function _-2eB(_arg1:Function)
        {
            super(_arg1, _-0hv);
        }
        public function _-3-5():_-0hv
        {
            return ((_-515 as _-0hv));
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-Aj._-3nV

package _-Aj
{
    import _-4Aj._-7V;
    import _-2gf._-0Aq;
    import _-4Aj.*;

    public class _-3nV extends _-7V implements _-0tL 
    {

        public function _-3nV(_arg1:Function)
        {
            super(_arg1, _-0Aq);
        }
        public function _-3-5():_-0Aq
        {
            return ((_-515 as _-0Aq));
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-Aj._-fX

package _-Aj
{
    import _-4Aj._-7V;
    import _-2gf._-4lf;
    import _-4Aj.*;

    public class _-fX extends _-7V implements _-0tL 
    {

        public function _-fX(_arg1:Function)
        {
            super(_arg1, _-4lf);
        }
        public function _-3-5():_-4lf
        {
            return ((_-515 as _-4lf));
        }

    }
}//package _-Aj

//------------------------------------------------------------
//_-b9._-2-6

package _-b9
{
    import _-4Aj.*;

    public class _-2-6 implements _-1oF 
    {

        private var _-3M7:String;

        public function _-2-6(_arg1:String)
        {
            this._-3M7 = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            k.push(this._-3M7);
            return (k);
        }

    }
}//package _-b9

//------------------------------------------------------------
//_-b9._-3W0

package _-b9
{
    import _-4Aj.*;

    public class _-3W0 implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            return (k);
        }

    }
}//package _-b9

//------------------------------------------------------------
//_-b9._-gR

package _-b9
{
    import _-4Aj.*;

    public class _-gR implements _-1oF 
    {

        private var _-4Nw:Array;

        public function _-gR(_arg1:String)
        {
            this._-4Nw = new Array();
            super();
            this._-4Nw.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-b9

//------------------------------------------------------------
//_-b9._-we

package _-b9
{
    import _-4Aj.*;

    public class _-we implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            return (k);
        }

    }
}//package _-b9

//------------------------------------------------------------
//_-b9.SetActivatedBadgesComposer

package _-b9
{
    import _-4Aj.*;

    public class SetActivatedBadgesComposer implements _-1oF 
    {

        private const _-3to:int = 5;

        private var _-1lP:Array;

        public function SetActivatedBadgesComposer()
        {
            this._-1lP = new Array();
        }
        public function _-1tG(_arg1:String):void
        {
            if (this._-1lP.length >= this._-3to)
            {
                return;
            };
            this._-1lP.push(_arg1);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            var k:int = 1;
            while (k <= this._-3to)
            {
                if (k <= this._-1lP.length)
                {
                    k.push(k);
                    k.push(this._-1lP[(k - 1)]);
                }
                else
                {
                    k.push(k);
                    k.push("");
                };
                k++;
            };
            return (k);
        }

    }
}//package _-b9

//------------------------------------------------------------
//_-Bn._-0Ze

package _-Bn
{
    import _-1B-.*;
    import _-2W2.*;

    public class _-0Ze implements _-5Cd, _-1zZ 
    {

        private var _-0Kq:int;
        private var _name:String;
        private var _-3Gu:Boolean;
        private var _-5AE:String;
        private var _-2y6:Array;
        private var _-0Gd:Boolean;
        private var _-2dY:Boolean;
        private var _disposed:Boolean;

        public function _-0Ze(_arg1:int, _arg2:String, _arg3:String, _arg4:Boolean)
        {
            this._-2y6 = new Array();
            super();
            this._-0Kq = _arg1;
            this._name = _arg2;
            this._-5AE = _arg3;
            this._-3Gu = _arg4;
        }
        public function _-1Cn(_arg1:_-1jQ):void
        {
            this._-2y6.push(_arg1);
        }
        public function setSelected(_arg1:Boolean):void
        {
            if (_arg1)
            {
                this._-0Gd = false;
            };
            this._-2dY = _arg1;
        }
        public function _-17V(_arg1:Boolean):void
        {
            if (this._-2dY)
            {
                this._-0Gd = false;
            }
            else
            {
                this._-0Gd = _arg1;
            };
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-2y6 = null;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get selected():Boolean
        {
            return (this._-2dY);
        }
        public function get messages():Array
        {
            return (this._-2y6);
        }
        public function get _-0Vf():Boolean
        {
            return (this._-0Gd);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-08():Boolean
        {
            return (this._-3Gu);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function set _-08(_arg1:Boolean):void
        {
            this._-3Gu = _arg1;
        }

    }
}//package _-Bn

//------------------------------------------------------------
//_-Bn._-1jQ

package _-Bn
{
    public class _-1jQ 
    {

        public static const _-281:int = 1;
        public static const _-1BO:int = 2;
        public static const _-4in:int = 3;
        public static const _-1c0:int = 4;
        public static const _-03p:int = 5;
        public static const _-iT:int = 6;

        private var _-5K:int;
        private var _-4OO:int;
        private var _-1br:String;
        private var _-2wu:String;

        public function _-1jQ(_arg1:int, _arg2:int, _arg3:String, _arg4:String)
        {
            this._-5K = _arg1;
            this._-4OO = _arg2;
            this._-1br = _arg3;
            this._-2wu = _arg4;
        }
        public function get _-0bv():String
        {
            return (this._-1br);
        }
        public function get time():String
        {
            return (this._-2wu);
        }
        public function get _-2ej():int
        {
            return (this._-4OO);
        }
        public function get type():int
        {
            return (this._-5K);
        }

    }
}//package _-Bn

//------------------------------------------------------------
//_-Bn.Conversations

package _-Bn
{
    import _-2W2.HabboMessenger;
    import _-2W2._-3UA;
    import _-2W2.*;

    public class Conversations 
    {

        private var _-4Qe:HabboMessenger;
        private var _-Rm:Array;
        private var _-2D:Array;
        private var _-31V:int;

        public function Conversations(_arg1:HabboMessenger)
        {
            this._-Rm = new Array();
            this._-2D = new Array();
            super();
            this._-4Qe = _arg1;
        }
        public function _-1rv(_arg1:int):void
        {
            this._-31V = (this._-31V + _arg1);
        }
        public function setSelected(_arg1:_-0Ze):void
        {
            this._-Fy();
            _arg1.setSelected(true);
            var k:int = this._-Rm.indexOf(_arg1);
            while ((this._-31V + this._-0OV()) <= k)
            {
                this._-31V++;
            };
        }
        public function _-12h():void
        {
            var k:int;
            var k:_-0Ze = this._-2Va();
            if (k != null)
            {
                k = this._-Rm.indexOf(k);
                _-3UA.remove(this._-Rm, k);
                this._-2D.push(k);
                k.setSelected(false);
                while (k >= 0)
                {
                    if (this._-Rm[k] != null)
                    {
                        this._-Rm[k].setSelected(true);
                        break;
                    };
                    k--;
                };
            };
            this._-3ra();
        }
        public function _-5-T(_arg1:int):_-0Ze
        {
            var k:Boolean = (((this._-2D.length == 0)) && ((this._-Rm.length == 0)));
            var k:_-0Ze = this._-0gC(_arg1);
            if (k == null)
            {
                return (null);
            };
            if (this._-Rm.length == 1)
            {
                this._-Rm[0].setSelected(true);
            };
            if (k)
            {
                k._-1Cn(new _-1jQ(_-1jQ._-4in, 0, this.getText("messenger.moderationinfo"), ""));
            };
            return (k);
        }
        public function _-1mn(_arg1:int):_-0Ze
        {
            var k:_-0Ze;
            for each (k in this._-Rm)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-ru(_arg1:_-1jQ):void
        {
            var k:int = this._-Rm.length;
            var k:_-0Ze = this._-5-T(_arg1._-2ej);
            if (k == null)
            {
                _-Nb.log((("Received message from non friend " + _arg1._-2ej) + ". Ignoring"));
                return;
            };
            var k:Boolean = k._-0Vf;
            k._-17V(true);
            k._-1Cn(_arg1);
            this._-19S(k, _arg1);
            if (((!((k == this._-Rm.length))) || (!((k == k._-0Vf)))))
            {
                this.refresh();
            };
        }
        public function _-4O2(_arg1:int, _arg2:Boolean):void
        {
            var k:_-0Ze = this._-1mn(_arg1);
            if (k == null)
            {
                k = this._-2uH(_arg1);
            };
            if (k == null)
            {
                return;
            };
            var k:_-1jQ = this._-12o(_arg2);
            k._-1Cn(k);
            this._-19S(k, k);
        }
        public function _-32E(_arg1:int, _arg2:Boolean):void
        {
            var k:_-0Ze = this._-1mn(_arg1);
            if (k == null)
            {
                k = this._-2uH(_arg1);
            };
            if (k == null)
            {
                return;
            };
            k._-08 = _arg2;
            if (k.selected)
            {
                this.refresh();
            };
        }
        public function _-2Va():_-0Ze
        {
            var k:_-0Ze;
            for each (k in this._-Rm)
            {
                if (k.selected)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function get _-1BC():Array
        {
            return (this._-Rm);
        }
        public function get startIndex():int
        {
            return (this._-31V);
        }
        private function _-Fy():void
        {
            var k:_-0Ze;
            for each (k in this._-Rm)
            {
                k.setSelected(false);
            };
        }
        private function _-2uH(_arg1:int):_-0Ze
        {
            var k:_-0Ze;
            for each (k in this._-2D)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        private function _-0gC(_arg1:int):_-0Ze
        {
            var k:_-0Ze = this._-1mn(_arg1);
            if (k != null)
            {
                return (k);
            };
            k = this._-2uH(_arg1);
            if (k != null)
            {
                _-3UA.remove(this._-2D, k);
                this._-Rm.push(k);
                return (k);
            };
            k = this._-0un(_arg1);
            if (k == null)
            {
                return (null);
            };
            this._-Rm.push(k);
            return (k);
        }
        private function _-3ra():void
        {
            this._-31V = Math.min(this._-31V, (this._-Rm.length - this._-0OV()));
            this._-31V = Math.max(0, this._-31V);
        }
        private function _-12o(_arg1:Boolean):_-1jQ
        {
            return (new _-1jQ(_-1jQ._-03p, 0, this._-32A(_arg1), _-3UA._-2f8()));
        }
        private function _-32A(_arg1:Boolean):String
        {
            return (this.getText(((_arg1) ? "messenger.notification.online" : "messenger.notification.offline")));
        }
        private function _-0OV():int
        {
            return (this._-4Qe._-1aY());
        }
        private function getText(_arg1:String):String
        {
            return (this._-4Qe.getText(_arg1));
        }
        private function _-0un(_arg1:int):_-0Ze
        {
            return (this._-4Qe._-0un(_arg1));
        }
        private function refresh():void
        {
            this._-4Qe._-3Vb();
        }
        private function _-19S(_arg1:_-0Ze, _arg2:_-1jQ):void
        {
            this._-4Qe._-19S(_arg1, _arg2);
        }

    }
}//package _-Bn

//------------------------------------------------------------
//_-bY._-4U6

package _-bY
{
    import flash.display.BitmapData;
    import flash.geom.Point;

    public class _-4U6 extends BitmapData 
    {

        public static const _-4f2:int = 0xFFFFFF;
        public static const _-4m6:int = 8191;
        public static const _-1hM:int = 8191;
        public static const _-3NZ:int = 1;
        public static const _-3PU:int = 1;
        public static const _-3VC:int = 1;
        private static const _-4XR:Point = new Point();

        private static var _-4YF:uint = 0;
        private static var _-297:uint = 0;

        private var _-3f-:Object;
        private var _disposed:Boolean = false;

        public function _-4U6(_arg1, _arg2:int, _arg3:int, _arg4:Boolean=true, _arg5:uint=0xFFFFFFFF)
        {
            if (_arg2 > _-4m6)
            {
                k = _-4m6;
            }
            else
            {
                if (_arg2 < _-3PU)
                {
                    k = _-3PU;
                };
            };
            if (_arg3 > _-1hM)
            {
                k = _-1hM;
            }
            else
            {
                if (_arg3 < _-3VC)
                {
                    k = _-3VC;
                };
            };
            super(_arg2, _arg3, _arg4, _arg5);
            _-4YF++;
            _-297 = (_-297 + ((_arg2 * _arg3) * 4));
            this._-3f- = _arg1;
        }
        public static function get _-1dy():uint
        {
            return (_-4YF);
        }
        public static function get _-s7():uint
        {
            return (_-297);
        }

        override public function dispose():void
        {
            if (!this._disposed)
            {
                _-297 = (_-297 - ((width * height) * 4));
                _-4YF--;
                this._disposed = true;
                this._-3f- = null;
                super.dispose();
            };
        }
        override public function clone():BitmapData
        {
            if (this._disposed)
            {
                return (null);
            };
            var k:_-4U6 = new _-4U6(this._-3f-, width, height, transparent);
            k.copyPixels(this, rect, _-4XR);
            return (k);
        }

    }
}//package _-bY

//------------------------------------------------------------
//_-cO.SharedEventToGameEnum

package _-cO
{
    public class SharedEventToGameEnum 
    {

        public static const STAGE3D_RESPONSE:String = "stage3d_response";
        public static const STAGE3D_RESPONSE_FAIL:String = "stage3d_response_fail";
        public static const _-4Zg:String = "resize_update";

    }
}//package _-cO

//------------------------------------------------------------
//_-cO.SharedEventToHabboEnum

package _-cO
{
    public class SharedEventToHabboEnum 
    {

        public static const _-41h:String = "stage3d_request";
        public static const _-Tc:String = "resize_updates_request";
        public static const _-4ca:String = "quit_game_event";

    }
}//package _-cO

//------------------------------------------------------------
//_-cO.SharedGameEvent

package _-cO
{
    import flash.events.Event;

    public class SharedGameEvent extends Event 
    {

        public static const _-4Sb:int = 1;
        public static const _-06y:String = "HabboGameAPIEventToHabbo";
        public static const _-1F-:String = "HabboGameAPIEventToGame";

        public var api:int;
        public var name:String;
        public var content;

        public function SharedGameEvent(_arg1:String, _arg2:int, _arg3:String, _arg4=null)
        {
            super(_arg1);
            this.api = _arg2;
            this.name = _arg3;
            this.content = _arg4;
        }
        public static function _-2Ho(_arg1:String, _arg2=null):SharedGameEvent
        {
            return (new SharedGameEvent(_-06y, _-4Sb, _arg1, _arg2));
        }
        public static function _-0OW(_arg1:String, _arg2=null):SharedGameEvent
        {
            return (new SharedGameEvent(_-1F-, _-4Sb, _arg1, _arg2));
        }

    }
}//package _-cO

//------------------------------------------------------------
//_-cO.SharedMessageHandler

package _-cO
{
    import _-0GO.HabboGameManager;
    import flash.events.EventDispatcher;
    import flash.events.Event;
    import flash.display.Stage;
    import _-2ly.PlayerVersionCheck;

    public class SharedMessageHandler 
    {

        private var _-4oB:HabboGameManager;
        private var _-2Te:EventDispatcher;
        private var _-1Ap:int = -1;
        private var _-4Bk:Boolean;

        public function SharedMessageHandler(_arg1:HabboGameManager, _arg2:EventDispatcher)
        {
            this._-4oB = _arg1;
            this._-2Te = _arg2;
            this._-2Te.addEventListener(SharedGameEvent._-06y, this._-1C3);
        }
        public function dispose():void
        {
            this._-2Te.removeEventListener(SharedGameEvent._-06y, this._-1C3);
            this._-2Te = null;
            this._-4oB = null;
            this._-4Bk = true;
        }
        public function get _-4P4():int
        {
            return (this._-1Ap);
        }
        public function send(_arg1:int, _arg2:String, _arg3=null):Boolean
        {
            this._-2Te.dispatchEvent(new SharedGameEvent(SharedGameEvent._-1F-, _arg1, _arg2, _arg3));
            return (true);
        }
        public function _-1C3(_arg1:Event):Boolean
        {
            var k:Boolean;
            if (this._-4Bk)
            {
                _-Nb.log(("Shared event received by disposed message handler: " + _arg1));
                return (false);
            };
            if (_arg1.type != SharedGameEvent._-06y)
            {
                _-Nb.log("Unknown event received as shared event!");
                return (false);
            };
            var k:Object = (_arg1 as Object);
            var k:int = k.api;
            switch (k)
            {
                case 1:
                    k = this._-0IF(k);
                    break;
                default:
                    _-Nb.log("Unknown api version for shared event!");
                    k = false;
            };
            if (((k) && ((this._-1Ap == -1))))
            {
                this._-1Ap = k;
            };
            return (k);
        }
        private function _-0IF(_arg1:Object):Boolean
        {
            var _local4:Object;
            var k:String = _arg1.name;
            var k:int = 1;
            switch (k)
            {
                case SharedEventToHabboEnum._-41h:
                    _local4 = this._-Hm();
                    if (_local4)
                    {
                        this.send(k, SharedEventToGameEnum.STAGE3D_RESPONSE, _local4);
                    }
                    else
                    {
                        this.send(k, SharedEventToGameEnum.STAGE3D_RESPONSE_FAIL, null);
                    };
                    break;
                case SharedEventToHabboEnum._-4ca:
                    this._-4oB._-1xc();
                    break;
                default:
                    _-Nb.log(((("Unknown shared event name for api v" + k) + ": ") + k));
                    return (false);
            };
            return (true);
        }
        private function _-Hm():Object
        {
            var stage:Stage;
            var stage3D:Object;
            var i:int;
            stage = this._-4oB.context.displayObjectContainer.stage;
            try
            {
                if (PlayerVersionCheck.majorVersion < 11)
                {
                    _-Nb.log("Tried to get stage3D with too low player version");
                    return (null);
                };
                if (stage.stage3Ds.length > 0)
                {
                    i = 0;
                    while (i < stage.stage3Ds.length)
                    {
                        stage3D = stage.stage3Ds[i];
                        if (stage3D)
                        {
                            return (stage3D);
                        };
                        i = (i + 1);
                    };
                    if (!stage3D)
                    {
                        _-Nb.log("Stage3D request error: no free instances available");
                        return (null);
                    };
                }
                else
                {
                    _-Nb.log("Stage3D request error: zero instances available");
                    return (null);
                };
            }
            catch(e:Error)
            {
                _-Nb.log(("Stage3D request error: " + e));
                return (null);
            };
            return (null);
        }

    }
}//package _-cO

//------------------------------------------------------------
//_-Co._-0cu

package _-Co
{
    import _-1Q8._-36M;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0cu implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0qE:_-36M;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-0qE = null;
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function get data():_-36M
        {
            var k:_-36M = this._-0qE;
            if (k != null)
            {
                k._-3nQ();
            };
            return (k);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0qE = _-1ad._-2Df(_arg1);
            this._-0qE._-0aC = _arg1.readString();
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-0IM

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0IM implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0Kq:int = 0;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-0Kq = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0Kq = int(_arg1.readString());
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-0Jn

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Jn implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0Kq:int = 0;
        private var _-1Kl:String;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-2RX():String
        {
            return (this._-1Kl);
        }
        public function flush():Boolean
        {
            this._-0Kq = 0;
            this._-1Kl = "";
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:String = _arg1.readString();
            this._-0Kq = int(k);
            this._-1Kl = _arg1.readString();
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-0KW

package _-Co
{
    import _-1Q8._-28C;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0KW implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0F7:_-28C = null;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-0F7 = null;
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function get data():_-28C
        {
            var k:_-28C = this._-0F7;
            if (k != null)
            {
                k._-3nQ();
            };
            return (k);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0F7 = ItemDataParser._-1nO(_arg1);
            this._-0F7._-0aC = _arg1.readString();
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-0Or

package _-Co
{
    import _-1Q8._-28C;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Or implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0F7:_-28C = null;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-0F7 = null;
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function get data():_-28C
        {
            var k:_-28C = this._-0F7;
            if (k != null)
            {
                k._-3nQ();
            };
            return (k);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0F7 = ItemDataParser._-1nO(_arg1);
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-0vw

package _-Co
{
    import _-1Q8._-0AM;
    import _-4Aj._-0s1;

    public class _-0vw 
    {

        public static function _-2Df(_arg1:_-0s1):_-0AM
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:Boolean = Boolean(_arg1._-2BW());
            var k:_-0AM = new _-0AM();
            var k:String = _arg1.readString();
            k.name = k;
            var k:String = _arg1.readString();
            k.type = k;
            k.x = _arg1._-2BW();
            k.y = _arg1._-2BW();
            k.z = _arg1._-2BW();
            if (!k)
            {
                k.dir = ((_arg1._-2BW() % 8) * 45);
            }
            else
            {
                k._-43A = _arg1._-2BW();
                k._-3oN = _arg1._-2BW();
            };
            return (k);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-1ad

package _-Co
{
    import _-1Q8._-36M;
    import _-4Aj._-0s1;
    import _-0F-._-4iQ;
    import _-293._-4q2;

    public class _-1ad 
    {

        public static function _-2Df(_arg1:_-0s1):_-36M
        {
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int = _arg1._-2BW();
            var k:_-36M = new _-36M(k);
            var k:int = _arg1._-2BW();
            k.type = k;
            k.x = _arg1._-2BW();
            k.y = _arg1._-2BW();
            k.dir = ((_arg1._-2BW() % 8) * 45);
            k.z = Number(_arg1.readString());
            k._-33C = _arg1._-2BW();
            k.data = _-7c(_arg1);
            var k:Number = parseFloat(k.data.getLegacyString());
            if (!isNaN(k))
            {
                k.state = int(k.data.getLegacyString());
            };
            k._-49r = _arg1._-2BW();
            k._-26m = _arg1._-2BW();
            k._-nJ = _arg1._-2BW();
            if (k < 0)
            {
                k._-Gb = _arg1.readString();
            };
            return (k);
        }
        public static function _-7c(_arg1:_-0s1):_-4q2
        {
            var k:int = _arg1._-2BW();
            var k:_-4q2 = _-4iQ._-3hY(k);
            k.initializeFromIncomingMessage(_arg1);
            return (k);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-1Gy

package _-Co
{
    import _-1Q8._-36M;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Gy implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0qE:_-36M = null;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-0qE = null;
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function get data():_-36M
        {
            var k:_-36M = this._-0qE;
            if (k != null)
            {
                k._-3nQ();
            };
            return (k);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0qE = _-1ad._-2Df(_arg1);
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-1lZ

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1lZ implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0Kq:int;
        private var _-5AE:String;
        private var _-0o6:String;
        private var _-2Qw:String;
        private var _-1Cz:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-af():String
        {
            return (this._-0o6);
        }
        public function get _-1Yh():String
        {
            return (this._-2Qw);
        }
        public function get _-4pE():int
        {
            return (this._-1Cz);
        }
        public function flush():Boolean
        {
            this._-0Kq = 0;
            this._-5AE = "";
            this._-0o6 = "";
            this._-2Qw = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Kq = _arg1._-2BW();
            this._-5AE = _arg1.readString();
            this._-0o6 = _arg1.readString();
            this._-2Qw = _arg1.readString();
            this._-1Cz = _arg1._-2BW();
            if (this._-0o6)
            {
                this._-0o6 = this._-0o6.toUpperCase();
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-1nZ

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1nZ implements _-58N 
    {

        private var _-0b1:int;
        private var _-4aq:int;
        private var _-8R:int;
        private var _-y2:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0b1 = _arg1._-2BW();
            this._-4aq = _arg1._-2BW();
            this._-8R = _arg1._-2BW();
            this._-y2 = _arg1.readString();
            return (true);
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get _-i5():int
        {
            return (this._-4aq);
        }
        public function get status():int
        {
            return (this._-8R);
        }
        public function get _-5E0():String
        {
            return (this._-y2);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-1Ux

package _-Co
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Ux implements _-58N 
    {

        private var _-OQ:Map = null;

        public function _-1Ux()
        {
            this._-OQ = new Map();
        }
        public function get _-3HK():int
        {
            return (this._-OQ.length);
        }
        public function _-4bf(_arg1:int):String
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-3HK))))
            {
                return (null);
            };
            return (this._-OQ.getKey(_arg1));
        }
        public function _-2Nc(_arg1:int):String
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-3HK))))
            {
                return (null);
            };
            return (this._-OQ.getWithIndex(_arg1));
        }
        public function flush():Boolean
        {
            this._-OQ.reset();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:String;
            var k:String;
            this._-OQ.reset();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1.readString();
                k = _arg1.readString();
                this._-OQ.remove(k);
                this._-OQ.add(k, k);
                k++;
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-2X9

package _-Co
{
    import _-1Q8._-3JI;
    import _-0y0._-Xl;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2X9 implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0Kq:int;
        private var _-0lV:Number;
        private var _-2iM:String;
        private var _-0lC:Array;
        private var _-1CY:_-3JI = null;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get avatar():_-3JI
        {
            return (this._-1CY);
        }
        public function get _-4Hb():Array
        {
            return (this._-0lC);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-0Kq = -1;
            this._-1CY = null;
            this._-0lC = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:_-3JI;
            var k:_-Xl;
            var k:_-Xl;
            var k:Number;
            var k:Number;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:Number = _arg1._-2BW();
            var k:Number = _arg1._-2BW();
            var k:Number = _arg1._-2BW();
            var k:Number = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            this._-0lC = new Array();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = Number(_arg1.readString());
                k = Number(_arg1.readString());
                k = new _-Xl(k, k, k);
                k = new _-Xl(k, k, k);
                k = new _-3JI(k, k, k);
                this._-0lC.push(k);
                k++;
            };
            this._-0Kq = _arg1._-2BW();
            if (!_arg1.bytesAvailable)
            {
                return (true);
            };
            var k:int = _arg1._-2BW();
            switch (k)
            {
                case 0:
                    break;
                case 1:
                    k = _arg1._-2BW();
                    k = Number(_arg1.readString());
                    k = Number(_arg1.readString());
                    k = new _-Xl(k, k, k);
                    k = new _-Xl(k, k, k);
                    this._-1CY = new _-3JI(k, k, k, _-3JI._-2Rh);
                    break;
                case 2:
                    k = _arg1._-2BW();
                    k = Number(_arg1.readString());
                    k = Number(_arg1.readString());
                    k = new _-Xl(k, k, k);
                    k = new _-Xl(k, k, k);
                    this._-1CY = new _-3JI(k, k, k, _-3JI._-0x-);
                    break;
                default:
                    _-Nb.log("** Incompatible character movetype!");
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-3Fw

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3Fw implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-3j8:String = null;
        private var _-8h:String = null;
        private var _-0Rk:String = null;
        private var _-7J:String = null;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-E-():String
        {
            return (this._-3j8);
        }
        public function get _-1ts():String
        {
            return (this._-8h);
        }
        public function get _-Av():String
        {
            return (this._-0Rk);
        }
        public function get _-37Q():String
        {
            return (this._-7J);
        }
        public function flush():Boolean
        {
            this._-3j8 = null;
            this._-8h = null;
            this._-0Rk = null;
            this._-7J = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:String = _arg1.readString();
            var k:String = _arg1.readString();
            switch (k)
            {
                case "floor":
                    this._-3j8 = k;
                    break;
                case "wallpaper":
                    this._-8h = k;
                    break;
                case "landscape":
                    this._-0Rk = k;
                    break;
                case "landscapeanim":
                    this._-7J = k;
                    break;
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-3H5

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3H5 implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0Kq:int;
        private var _-2DD:Boolean;
        private var _-EU:int;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-3iy():Boolean
        {
            return (this._-2DD);
        }
        public function get _-2Ri():int
        {
            return (this._-EU);
        }
        public function flush():Boolean
        {
            this._-0Kq = 0;
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-0Kq = int(_arg1.readString());
            this._-2DD = (_arg1._-2BW() == 1);
            this._-EU = _arg1._-2BW();
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-3I9

package _-Co
{
    import _-293._-4q2;
    import _-0F-._-HJ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3I9 implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-0Kq:int = 0;
        private var _-0Ke:int = 0;
        private var _-0qE:_-4q2;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get data():_-4q2
        {
            return (this._-0qE);
        }
        public function flush():Boolean
        {
            this._-0Ke = 0;
            this._-0qE = (new _-HJ() as _-4q2);
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:String = _arg1.readString();
            this._-0Kq = int(k);
            this._-0qE = _-1ad._-7c(_arg1);
            var k:Number = parseFloat(this._-0qE.getLegacyString());
            if (!isNaN(k))
            {
                this._-0Ke = int(this._-0qE.getLegacyString());
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-3XV

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3XV implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-8k:int = 0;
        private var _-EU:int = -1;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get itemId():int
        {
            return (this._-8k);
        }
        public function get _-2Ri():int
        {
            return (this._-EU);
        }
        public function flush():Boolean
        {
            this._-8k = 0;
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-8k = int(_arg1.readString());
            this._-EU = _arg1._-2BW();
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-4kT

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4kT implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-1nx:Boolean = false;
        private var _-4Bn:Number = 1;
        private var _-bJ:Number = 1;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-2jI():Boolean
        {
            return (this._-1nx);
        }
        public function get _-00q():Number
        {
            return (this._-4Bn);
        }
        public function get _-0F5():Number
        {
            return (this._-bJ);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-1nx = false;
            this._-4Bn = 1;
            this._-bJ = 1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            this._-1nx = _arg1.readBoolean();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            if (k < -2)
            {
                k = -2;
            }
            else
            {
                if (k > 1)
                {
                    k = 1;
                };
            };
            if (k < -2)
            {
                k = -2;
            }
            else
            {
                if (k > 1)
                {
                    k = 1;
                };
            };
            this._-4Bn = Math.pow(2, k);
            this._-bJ = Math.pow(2, k);
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-4SS

package _-Co
{
    import _-4OG._-3u9;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4SS implements _-58N 
    {

        private var _-43a:Boolean;
        private var _-3IQ:int;
        private var _-3f-:Boolean;
        private var _-1gr:_-3u9;

        public function get _-Jj():Boolean
        {
            return (this._-43a);
        }
        public function get _-1At():int
        {
            return (this._-3IQ);
        }
        public function get publicSpace():_-3u9
        {
            return (this._-1gr);
        }
        public function get owner():Boolean
        {
            return (this._-3f-);
        }
        public function flush():Boolean
        {
            if (this._-1gr != null)
            {
                this._-1gr.dispose();
                this._-1gr = null;
            };
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-43a = _arg1.readBoolean();
            if (this._-43a)
            {
                this._-3IQ = _arg1._-2BW();
                this._-3f- = _arg1.readBoolean();
            }
            else
            {
                this._-1gr = new _-3u9(_arg1);
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co._-4Z5

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Z5 implements _-58N 
    {

        private var _-b2:int;

        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function flush():Boolean
        {
            this._-b2 = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1._-2BW();
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.FloorHeightMapMessageParser

package _-Co
{
    import _-3mW.RoomPlaneParser;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class FloorHeightMapMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-258:Array;
        private var _-0Dz:int = 0;
        private var _height:int = 0;
        private var _-3Tb:Number = 0;

        public function FloorHeightMapMessageParser()
        {
            this._-258 = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get width():int
        {
            return (this._-0Dz);
        }
        public function get height():int
        {
            return (this._height);
        }
        public function get scale():Number
        {
            return (this._-3Tb);
        }
        public function _-2Ro(_arg1:int, _arg2:int):int
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this.width)))) || ((_arg2 < 0)))) || ((_arg2 >= this.height))))
            {
                return (RoomPlaneParser._-Vz);
            };
            var k:Array = (this._-258[_arg2] as Array);
            return (k[_arg1]);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-258 = [];
            this._-0Dz = 0;
            this._height = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:String;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:int;
            var k:int;
            var k:String = _arg1.readString();
            var k:Array = k.split("\r");
            var k:int;
            var k:int;
            var k:int;
            var k:Array;
            var k:int = k.length;
            var k:int;
            var k:String;
            k = 0;
            while (k < k)
            {
                k = (k[k] as String);
                if (k.length > k)
                {
                    k = k.length;
                };
                k++;
            };
            this._-258 = [];
            k = 0;
            while (k < k)
            {
                k = [];
                k = 0;
                while (k < k)
                {
                    k.push(RoomPlaneParser._-Vz);
                    k++;
                };
                this._-258.push(k);
                k++;
            };
            this._-0Dz = k;
            this._height = k;
            k = 0;
            while (k < k.length)
            {
                k = (this._-258[k] as Array);
                k = (k[k] as String);
                if (k.length > 0)
                {
                    k = 0;
                    while (k < k.length)
                    {
                        k = k.charAt(k);
                        if (((!((k == "x"))) && (!((k == "X")))))
                        {
                            k = this._-1VX(k);
                        }
                        else
                        {
                            k = RoomPlaneParser._-Vz;
                        };
                        k[k] = k;
                        k++;
                    };
                };
                k++;
            };
            if ((((this._-0Dz >= 20)) || ((this._height >= 20))))
            {
                this._-3Tb = 32;
            }
            else
            {
                this._-3Tb = 64;
            };
            return (true);
        }
        private function _-1VX(_arg1:String):int
        {
            var k:int = parseInt(_arg1, 16);
            k = (k % 10);
            return (k);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.HeightMapMessageParser

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class HeightMapMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-258:Array;
        private var _-0LJ:Array;
        private var _-0L0:Array;
        private var _-0Dz:int = 0;
        private var _height:int = 0;

        public function HeightMapMessageParser()
        {
            this._-258 = [];
            this._-0LJ = [];
            this._-0L0 = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get width():int
        {
            return (this._-0Dz);
        }
        public function get height():int
        {
            return (this._height);
        }
        public function _-2Ro(_arg1:int, _arg2:int):Number
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this.width)))) || ((_arg2 < 0)))) || ((_arg2 >= this.height))))
            {
                return (-1);
            };
            var k:Array = (this._-258[_arg2] as Array);
            return (Number(k[_arg1]));
        }
        public function _-3Tf(_arg1:int, _arg2:int):Boolean
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this.width)))) || ((_arg2 < 0)))) || ((_arg2 >= this.height))))
            {
                return (true);
            };
            var k:Array = (this._-0LJ[_arg2] as Array);
            return (Boolean(k[_arg1]));
        }
        public function _-uS(_arg1:int, _arg2:int):Boolean
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= this.width)))) || ((_arg2 < 0)))) || ((_arg2 >= this.height))))
            {
                return (false);
            };
            var k:Array = (this._-0L0[_arg2] as Array);
            return (Boolean(k[_arg1]));
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-258 = [];
            this._-0LJ = [];
            this._-0L0 = [];
            this._-0Dz = 0;
            this._height = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:String;
            var k:String;
            var k:Number;
            var k:Boolean;
            var k:Boolean;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:int;
            var k:int;
            var k:String = _arg1.readString();
            var k:Array = k.split("\r");
            var k:int;
            var k:int;
            var k:Array = [];
            var k:Array;
            var k:Array = [];
            var k:Array;
            var k:Array = [];
            var k:Array;
            var k:Array;
            var k:int;
            this._-0Dz = 0;
            this._height = 0;
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as String);
                if (k.length > 0)
                {
                    if (k.length > this._-0Dz)
                    {
                        this._-0Dz = k.length;
                    };
                    k = [];
                    k[k] = k;
                    k = [];
                    k[k] = k;
                    k = [];
                    k[k] = k;
                    k = 0;
                    while (k < k.length)
                    {
                        k = k.charAt(k);
                        if (((!((k == "x"))) && (!((k == "X")))))
                        {
                            k = this._-1VX(k);
                            k.push(k);
                            if (this._-2PX(k))
                            {
                                k.push(true);
                            }
                            else
                            {
                                k.push(false);
                            };
                            k.push(true);
                        }
                        else
                        {
                            k.push(-1);
                            k.push(true);
                            k.push(false);
                        };
                        k++;
                    };
                };
                k++;
            };
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as Array);
                while (k.length < this._-0Dz)
                {
                    k.push(-1);
                };
                k++;
            };
            this._-258 = [];
            k = 0;
            while (k < k.length)
            {
                k = [];
                this._-258.push(k);
                k = (k[k] as Array);
                k = 0;
                while (k < this._-0Dz)
                {
                    k = Number(k[k]);
                    k.push(k);
                    k++;
                };
                k++;
            };
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as Array);
                while (k.length < this._-0Dz)
                {
                    k.push(true);
                };
                k++;
            };
            this._-0LJ = [];
            k = 0;
            while (k < k.length)
            {
                k = [];
                this._-0LJ.push(k);
                k = (k[k] as Array);
                k = 0;
                while (k < this._-0Dz)
                {
                    k = Boolean(k[k]);
                    k.push(k);
                    k++;
                };
                k++;
            };
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as Array);
                while (k.length < this._-0Dz)
                {
                    k.push(false);
                };
                k++;
            };
            this._-0L0 = [];
            k = 0;
            while (k < k.length)
            {
                k = [];
                this._-0L0.push(k);
                k = (k[k] as Array);
                k = 0;
                while (k < this._-0Dz)
                {
                    k = Boolean(k[k]);
                    k.push(k);
                    k++;
                };
                k++;
            };
            this._height = this._-258.length;
            return (true);
        }
        private function _-1VX(_arg1:String):int
        {
            var k:int = parseInt(_arg1, 16);
            k = (k % 10);
            return (k);
        }
        private function _-2PX(_arg1:String):Boolean
        {
            var k:int = parseInt(_arg1, 16);
            return ((k >= 10));
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.HeightMapUpdateMessageParser

package _-Co
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class HeightMapUpdateMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-258:Array;
        private var _-0LJ:Array;

        public function HeightMapUpdateMessageParser()
        {
            this._-258 = [];
            this._-0LJ = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function _-2Ro(_arg1:int, _arg2:int, _arg3:Number, _arg4:int, _arg5:int):Number
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= _arg4)))) || ((_arg2 < 0)))) || ((_arg2 >= _arg5))))
            {
                return (_arg3);
            };
            var k:int = (_arg1 + (_arg2 * _arg4));
            if ((((k < 0)) || ((k >= this._-258.length))))
            {
                return (_arg3);
            };
            var k:int = int(this._-258[k]);
            if (k == 0)
            {
                return (_arg3);
            };
            return ((k - 1));
        }
        public function _-3Tf(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:int, _arg5:int):Boolean
        {
            if ((((((((_arg1 < 0)) || ((_arg1 >= _arg4)))) || ((_arg2 < 0)))) || ((_arg2 >= _arg5))))
            {
                return (_arg3);
            };
            var k:int = (_arg1 + (_arg2 * _arg4));
            if ((((((k < 0)) || ((k >= this._-258.length)))) || ((k >= this._-0LJ.length))))
            {
                return (_arg3);
            };
            var k:int = int(this._-258[k]);
            if (k == 0)
            {
                return (_arg3);
            };
            return (this._-0LJ[k]);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-258 = [];
            this._-0LJ = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            if (_arg1 == null)
            {
                return (false);
            };
            var k:int;
            var k:int;
            var k:String = _arg1.readString();
            if ((((k.indexOf("x") == 0)) || ((k.indexOf("X") == 0))))
            {
                return (this._-2S5(k));
            };
            return (this._-1Od(k));
        }
        private function _-1Od(_arg1:String):Boolean
        {
            var k:String;
            var k:int;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:int;
            var k:int;
            this._-258 = [];
            this._-0LJ = [];
            var k:int;
            if (_arg1.length > 0)
            {
                k = 0;
                while (k < _arg1.length)
                {
                    k = _arg1.charAt(k);
                    if (k == "!")
                    {
                        k = (_arg1.charCodeAt(++k) - 32);
                        k = 0;
                        while (k < k)
                        {
                            this._-258.push(0);
                            this._-0LJ.push(false);
                            k++;
                        };
                    }
                    else
                    {
                        k = (this._-1VX(k) + 1);
                        this._-258.push(k);
                        if (this._-2PX(k))
                        {
                            this._-0LJ.push(true);
                        }
                        else
                        {
                            this._-0LJ.push(false);
                        };
                    };
                    k++;
                };
            };
            return (true);
        }
        private function _-2S5(_arg1:String):Boolean
        {
            var k:String;
            var k:String;
            if (String == null)
            {
                return (false);
            };
            var k:Array = _arg1.split("\r");
            var k:int;
            var k:int;
            this._-258 = [];
            this._-0LJ = [];
            var k:int;
            k = 0;
            while (k < k.length)
            {
                k = (k[k] as String);
                k = 0;
                while (k < k.length)
                {
                    k = k.charAt(k);
                    if (((!((k == "x"))) && (!((k == "X")))))
                    {
                        k = (this._-1VX(k) + 1);
                        this._-258.push(k);
                        if (this._-2PX(k))
                        {
                            this._-0LJ.push(true);
                        }
                        else
                        {
                            this._-0LJ.push(false);
                        };
                    }
                    else
                    {
                        this._-258.push(0);
                        this._-0LJ.push(true);
                    };
                    k++;
                };
                k++;
            };
            return (true);
        }
        private function _-1VX(_arg1:String):int
        {
            var k:int = parseInt(_arg1, 16);
            k = (k % 10);
            return (k);
        }
        private function _-2PX(_arg1:String):Boolean
        {
            var k:int = parseInt(_arg1, 16);
            return ((k >= 10));
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.ItemDataParser

package _-Co
{
    import _-1Q8._-28C;
    import _-4Aj._-0s1;

    public class ItemDataParser 
    {

        public static function _-1nO(_arg1:_-0s1):_-28C
        {
            var k:String;
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:Array;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:int = int(_arg1.readString());
            var k:int = _arg1._-2BW();
            var k:String = _arg1.readString();
            var k:String = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            var k:Number = parseFloat(k);
            if (!isNaN(k))
            {
                k = int(k);
            };
            _-Nb.log("\n\n PARSING WALL ITEM: ");
            _-Nb.log(("wallItemId: " + k));
            _-Nb.log(("wallItemTypeId: " + k));
            _-Nb.log(("location: " + k));
            _-Nb.log(("dataStr: " + k));
            _-Nb.log(("state: " + k));
            var k:_-28C;
            var k:Array;
            var k:String;
            if (k.indexOf(":") == 0)
            {
                k = new _-28C(k, k, false);
                k = k.split(" ");
                if (k.length >= 3)
                {
                    k = String(k[0]);
                    k = String(k[1]);
                    k = String(k[2]);
                    if ((((k.length > 3)) && ((k.length > 2))))
                    {
                        k = k.substr(3);
                        k = k.substr(2);
                        k = k.split(",");
                        if (k.length >= 2)
                        {
                            k = int(k[0]);
                            k = int(k[1]);
                            k = k.split(",");
                            if (k.length >= 2)
                            {
                                k = int(k[0]);
                                k = int(k[1]);
                                k._-0iU = k;
                                k._-24r = k;
                                k.localX = k;
                                k.localY = k;
                                k.dir = k;
                                k.data = k;
                                k.state = k;
                            };
                        };
                    };
                };
            }
            else
            {
                k = new _-28C(k, k, true);
                k = k.split(" ");
                if (k.length >= 2)
                {
                    k = String(k[0]);
                    if ((((k == "rightwall")) || ((k == "frontwall"))))
                    {
                        k = "r";
                    }
                    else
                    {
                        k = "l";
                    };
                    k = String(k[1]);
                    k = k.split(",");
                    if (k.length >= 3)
                    {
                        k = 0;
                        k = parseFloat(k[0]);
                        k = parseFloat(k[1]);
                        k.y = k;
                        k.z = k;
                        k.dir = k;
                        k.data = k;
                        k.state = k;
                    };
                };
            };
            k._-26m = k;
            k._-nJ = k;
            return (k);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.ItemsMessageParser

package _-Co
{
    import _-1Q8._-28C;
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class ItemsMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2ZH:Array;

        public function ItemsMessageParser()
        {
            this._-2ZH = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-2ZH = [];
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function _-1Vi():int
        {
            return (this._-2ZH.length);
        }
        public function _-2fQ(_arg1:int):_-28C
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-1Vi()))))
            {
                return (null);
            };
            var k:_-28C = (this._-2ZH[_arg1] as _-28C);
            if (k != null)
            {
                k._-3nQ();
            };
            return (k);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:String;
            var k:_-28C;
            if (_arg1 == null)
            {
                return (false);
            };
            this._-2ZH = [];
            var k:Map = new Map();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                k.add(k, k);
                k++;
            };
            var k:int = _arg1._-2BW();
            _-Nb.log((("We have: " + k) + " items"));
            k = 0;
            while (k < k)
            {
                k = ItemDataParser._-1nO(_arg1);
                k._-0aC = k.getValue(k._-nJ);
                this._-2ZH.push(k);
                k++;
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.ObjectsDataUpdateMessageParser

package _-Co
{
    import _-1Q8._-SO;
    import _-293._-4q2;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class ObjectsDataUpdateMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2UP:Array;

        public function ObjectsDataUpdateMessageParser()
        {
            this._-2UP = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-2B3():int
        {
            return (this._-2UP.length);
        }
        public function _-3Yy(_arg1:int):_-SO
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2B3))))
            {
                return (null);
            };
            return (this._-2UP[_arg1]);
        }
        public function flush():Boolean
        {
            this._-2UP = [];
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:_-4q2;
            var k:int;
            var k:Number;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _-1ad._-7c(_arg1);
                k = 0;
                k = parseFloat(k.getLegacyString());
                if (!isNaN(k))
                {
                    k = int(k.getLegacyString());
                };
                this._-2UP.push(new _-SO(k, k, k));
                k++;
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.ObjectsMessageParser

package _-Co
{
    import _-1Q8._-36M;
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class ObjectsMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2UP:Array;

        public function ObjectsMessageParser()
        {
            this._-2UP = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-2UP = [];
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function _-0h9():int
        {
            return (this._-2UP.length);
        }
        public function _-4UQ(_arg1:int):_-36M
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-0h9()))))
            {
                return (null);
            };
            var k:_-36M = (this._-2UP[_arg1] as _-36M);
            if (k != null)
            {
                k._-3nQ();
            };
            return (k);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:int;
            var k:String;
            var k:_-36M;
            if (_arg1 == null)
            {
                return (false);
            };
            this._-2UP = [];
            var k:Map = new Map();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                k.add(k, k);
                k++;
            };
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                k = _-1ad._-2Df(_arg1);
                if (k != null)
                {
                    k._-0aC = k.getValue(k._-nJ);
                    this._-2UP.push(k);
                };
                k++;
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.PublicRoomObjectsMessageParser

package _-Co
{
    import _-1Q8._-0AM;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class PublicRoomObjectsMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2UP:Array;

        public function PublicRoomObjectsMessageParser()
        {
            this._-2UP = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-2UP = [];
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function _-0h9():int
        {
            return (this._-2UP.length);
        }
        public function _-4UQ(_arg1:int):_-0AM
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-0h9()))))
            {
                return (null);
            };
            var k:_-0AM = (this._-2UP[_arg1] as _-0AM);
            if (k != null)
            {
                k._-3nQ();
            };
            return (k);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:_-0AM;
            if (_arg1 == null)
            {
                return (false);
            };
            this._-2UP = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _-0vw._-2Df(_arg1);
                if (k != null)
                {
                    this._-2UP.push(k);
                };
                k++;
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.UsersMessageParser

package _-Co
{
    import _-1Q8._-2ML;
    import _-3mW._-1IS;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class UsersMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-3a-:Array;

        public function UsersMessageParser()
        {
            this._-3a- = [];
            super();
        }
        public static function _-D6(_arg1:String):String
        {
            var k:int;
            var k:int;
            var k:Array = new Array("FF7B3A", "FF9763", "FFCDB3", "F59500", "FBBD5C", "FEE4B2", "EDD400", "F5E759", "FBF8B1", "84A95F", "B0C993", "DBEFC7", "65B197", "91C7B5", "C5EDDE", "7F89B2", "98A1C5", "CAD2EC", "A47FB8", "C09ED5", "DBC7E9", "BD7E9D", "DA9DBD", "ECC6DB", "DD7B7D", "F08B90", "F9BABF", "ABABAB", "D4D4D4", "FFFFFF", "D98961", "DFA281", "F1D2C2", "D5B35F", "DAC480", "FCFAD3", "EAA7AF", "86BC40", "E8CE25", "8E8839", "888F67", "5E9414", "84CE84", "96E75A", "88E70D", "B99105", "C8D71D", "838851", "C08337", "83A785", "E6AF26", "ECFF99", "94FFF9", "ABC8E5", "F2E5CC", "D2FF00");
            var k:Array = _arg1.split(" ");
            if (k.length < 3)
            {
                return ("");
            };
            var k:int = int(k[0]);
            var k:int = (int(k[1]) + 1);
            var k:String = String(k[2]);
            k = k.substr((k.length - 6), 6);
            var k:int = 25;
            if (k <= 1)
            {
                k = ((k * k) + k);
            }
            else
            {
                k = 64;
            };
            k = (k.indexOf(k.toUpperCase()) + 1);
            var k:String = "";
            k = (k + ((("phd-" + k) + "-") + k));
            k = (k + (((".pbd-" + k) + "-") + k));
            k = (k + (((".ptl-" + k) + "-") + k));
            return (k);
        }

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function flush():Boolean
        {
            this._-3a- = [];
            this._-1Rt = 0;
            this._-0wA = 0;
            return (true);
        }
        public function _-2cL():int
        {
            return (this._-3a-.length);
        }
        public function _-4d0(_arg1:int):_-2ML
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-2cL()))))
            {
                return (null);
            };
            var k:_-2ML = (this._-3a-[_arg1] as _-2ML);
            if (k != null)
            {
                k._-3nQ();
            };
            return (k);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            var k:String;
            var k:String;
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:int;
            var k:int;
            var k:_-2ML;
            var k:String;
            var k:int;
            var k:Array;
            var k:int;
            this._-3a- = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = _arg1.readString();
                k = _arg1.readString();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = new _-2ML(k);
                k.dir = k;
                k.name = k;
                k.custom = k;
                k.x = k;
                k.y = k;
                k.z = Number(k);
                this._-3a-.push(k);
                if (k == 1)
                {
                    k._-2-w = k;
                    k._-5EQ = _-1IS._-0p3;
                    k._-af = this._-0x8(_arg1.readString());
                    k._-2oZ = ("" + _arg1._-2BW());
                    k._-5Bj = _arg1._-2BW();
                    k.groupName = _arg1.readString();
                    k = _arg1.readString();
                    if (k != "")
                    {
                        k = this._-41N(k, k, k._-af);
                    };
                    k.figure = k;
                    k._-4pE = _arg1._-2BW();
                }
                else
                {
                    if (k == 2)
                    {
                        k._-5EQ = _-1IS._-2rN;
                        k.figure = k;
                        k._-2-w = k;
                        k._-4N = _arg1._-2BW().toString();
                        k._-nJ = _arg1._-2BW();
                        k._-0aC = _arg1.readString();
                        k.rarityLevel = _arg1._-2BW();
                        k._-05m = _arg1.readBoolean();
                        k._-0mh = _arg1.readBoolean();
                        k._-4a2 = _arg1.readBoolean();
                        k._-02Z = _arg1.readBoolean();
                        k._-2gH = _arg1.readBoolean();
                        k._-4td = _arg1.readBoolean();
                        k._-4mx = _arg1._-2BW();
                        k._-4T6 = _arg1.readString();
                    }
                    else
                    {
                        if (k == 3)
                        {
                            k._-5EQ = _-1IS._-53b;
                            k._-2-w = (k * -1);
                            if (k.indexOf("/") == -1)
                            {
                                k.figure = k;
                            }
                            else
                            {
                                k.figure = "hr-100-.hd-180-1.ch-876-66.lg-270-94.sh-300-64";
                            };
                            k._-af = _-2ML._-2si;
                        }
                        else
                        {
                            if (k == 4)
                            {
                                k._-5EQ = _-1IS._-qF;
                                k._-2-w = k;
                                k._-af = this._-0x8(_arg1.readString());
                                k.figure = k;
                                k._-nJ = _arg1._-2BW();
                                k._-0aC = _arg1.readString();
                                k = _arg1._-2BW();
                                if (k > 0)
                                {
                                    k = new Array();
                                    k = 0;
                                    while (k < k)
                                    {
                                        k.push(_arg1.readShort().value);
                                        k++;
                                    };
                                    k._-0zR = k;
                                };
                            };
                        };
                    };
                };
                k++;
            };
            return (true);
        }
        private function _-0x8(_arg1:String):String
        {
            if (_arg1.substr(0, 1).toLowerCase() == "f")
            {
                return (_-2ML._-1-Q);
            };
            return (_-2ML._-2si);
        }
        private function _-41N(_arg1:String, _arg2:String, _arg3:String):String
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:int;
            var k:Array = _arg2.split(".");
            var k:int = 1;
            var k:int = 1;
            var k:int = 1;
            var k = 10000;
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = k.split("-");
                if (k.length > 2)
                {
                    k = k[0];
                    if (k == "hd")
                    {
                        k = int(k[2]);
                    };
                };
                k++;
            };
            var k:Array = ["238,238,238", "250,56,49", "253,146,160", "42,199,210", "53,51,44", "239,255,146", "198,255,152", "255,146,90", "157,89,126", "182,243,255", "109,255,51", "51,120,201", "255,182,49", "223,161,233", "249,251,50", "202,175,143", "197,198,197", "71,98,61", "138,131,97", "255,140,51", "84,198,39", "30,108,153", "152,79,136", "119,200,255", "255,192,142", "60,75,135", "124,44,71", "215,255,227", "143,63,28", "255,99,147", "31,155,121", "253,255,51"];
            var k:Array = _arg1.split("=");
            if (k.length > 1)
            {
                k = (k[1] as String).split("/");
                k = k[0];
                k = k[1];
                if (_arg3 == "F")
                {
                    k = 10010;
                }
                else
                {
                    k = 10011;
                };
                k = k.indexOf(k);
                k = ((k + k) + 1);
            };
            var k:String = (((((".bds-10001-" + k) + ".ss-") + k) + "-") + k);
            return ((_arg2 + k));
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-Co.UserUpdateMessageParser

package _-Co
{
    import _-1Q8._-3uw;
    import _-1Q8._-1ls;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class UserUpdateMessageParser implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-3a-:Array;

        public function UserUpdateMessageParser()
        {
            this._-3a- = [];
            super();
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-52n():int
        {
            return (this._-3a-.length);
        }
        public function flush():Boolean
        {
            this._-1Rt = 0;
            this._-0wA = 0;
            this._-3a- = [];
            return (true);
        }
        public function _-33h(_arg1:int):_-3uw
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-52n))))
            {
                return (null);
            };
            return (this._-3a-[_arg1]);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:int;
            var k:int;
            var k:String;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:Array;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Boolean;
            var k:Array;
            var k:int;
            var k:_-3uw;
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var _local27:Array;
            var _local28:Number;
            var _local29:Number;
            if (_arg1 == null)
            {
                return (false);
            };
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = Number(_arg1.readString());
                k = 0;
                k = _arg1._-2BW();
                k = _arg1._-2BW();
                k = _arg1.readString();
                k = false;
                k = ((k % 8) * 45);
                k = ((k % 8) * 45);
                k = [];
                k = 0;
                k = 0;
                k = 0;
                k = false;
                k = k.split("/");
                k = 0;
                while (k < k.length)
                {
                    k = (k[k] as String);
                    k = k.split(" ");
                    k = String(k[0]);
                    k = "";
                    if (k == "")
                    {
                    }
                    else
                    {
                        if (k.length >= 2)
                        {
                            k = String(k[1]);
                            switch (k)
                            {
                                case "mv":
                                    _local27 = k.split(",");
                                    if (_local27.length >= 3)
                                    {
                                        k = int(_local27[0]);
                                        k = int(_local27[1]);
                                        k = Number(_local27[2]);
                                        k = true;
                                    };
                                    break;
                                case "sit":
                                    _local28 = Number(k);
                                    if (k.length >= 3)
                                    {
                                        k = (k[2] == "1");
                                    };
                                    k = _local28;
                                    break;
                                case "lay":
                                    _local29 = Number(k);
                                    if (_local29 < 0)
                                    {
                                    };
                                    k = Math.abs(_local29);
                                    break;
                            };
                        };
                        k.push(new _-1ls(k, k));
                    };
                    k++;
                };
                k = new _-3uw(k, k, k, k, k, k, k, k, k, k, k, k, k);
                this._-3a-.push(k);
                k++;
            };
            return (true);
        }

    }
}//package _-Co

//------------------------------------------------------------
//_-CQ._-1F7

package _-CQ
{
    import _-4Aj._-7V;
    import _-1sn._-1OK;
    import _-4Aj.*;

    public class _-1F7 extends _-7V implements _-0tL 
    {

        public function _-1F7(_arg1:Function)
        {
            super(_arg1, _-1OK);
        }
        public function _-3-5():_-1OK
        {
            return ((this._-515 as _-1OK));
        }

    }
}//package _-CQ

//------------------------------------------------------------
//_-CQ._-3Jb

package _-CQ
{
    import _-293._-4q2;

    public class _-3Jb 
    {

        private var _-56P:int;
        private var _-53-:String;
        private var _-3mX:int;
        private var _-0xc:int;
        private var _-JS:int;
        private var _-56Y:_-4q2;
        private var _-0X1:Boolean;
        private var _-0XA:Boolean;
        private var _-15h:Boolean;
        private var _-n2:Boolean;
        private var _-3AQ:int;
        private var _-31w:int;
        private var _-1-h:String = "";
        private var _-0hW:int = -1;

        public function _-3Jb(_arg1:int, _arg2:String, _arg3:int, _arg4:int, _arg5:int, _arg6:_-4q2, _arg7:Boolean, _arg8:Boolean, _arg9:Boolean, _arg10:Boolean, _arg11:int)
        {
            this._-56P = _arg1;
            this._-53- = _arg2;
            this._-3mX = _arg3;
            this._-0xc = _arg4;
            this._-JS = _arg5;
            this._-56Y = _arg6;
            this._-0X1 = _arg7;
            this._-0XA = _arg8;
            this._-15h = _arg9;
            this._-n2 = _arg10;
            this._-3AQ = _arg11;
        }
        public function _-2ia(_arg1:String, _arg2:int):void
        {
            this._-1-h = _arg1;
            this._-31w = _arg2;
        }
        public function get _-23C():int
        {
            return (this._-56P);
        }
        public function get _-15x():String
        {
            return (this._-53-);
        }
        public function get _-5An():int
        {
            return (this._-3mX);
        }
        public function get _-YT():int
        {
            return (this._-0xc);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function get _-19P():Boolean
        {
            return (this._-0X1);
        }
        public function get _-0DU():Boolean
        {
            return (this._-0XA);
        }
        public function get _-e5():Boolean
        {
            return (this._-15h);
        }
        public function get _-2SZ():Boolean
        {
            return (this._-n2);
        }
        public function get _-49r():int
        {
            return (this._-3AQ);
        }
        public function get slotId():String
        {
            return (this._-1-h);
        }
        public function get _-FX():int
        {
            return (this._-0hW);
        }
        public function get _-33C():int
        {
            return (this._-31w);
        }

    }
}//package _-CQ

//------------------------------------------------------------
//_-CQ._-3WQ

package _-CQ
{
    import _-4Aj._-7V;
    import _-1sn._-4sU;
    import _-4Aj.*;

    public class _-3WQ extends _-7V implements _-0tL 
    {

        public function _-3WQ(_arg1:Function)
        {
            super(_arg1, _-4sU);
        }
        public function _-3-5():_-4sU
        {
            return ((this._-515 as _-4sU));
        }

    }
}//package _-CQ

//------------------------------------------------------------
//_-CQ._-4YR

package _-CQ
{
    import _-4Aj._-7V;
    import _-1sn._-qe;
    import _-4Aj.*;

    public class _-4YR extends _-7V implements _-0tL 
    {

        public function _-4YR(_arg1:Function)
        {
            super(_arg1, _-qe);
        }
        public function _-3-5():_-qe
        {
            return ((this._-515 as _-qe));
        }

    }
}//package _-CQ

//------------------------------------------------------------
//_-CQ._-51S

package _-CQ
{
    import _-4Aj._-7V;
    import _-1sn._-0AW;
    import _-4Aj.*;

    public class _-51S extends _-7V implements _-0tL 
    {

        public function _-51S(_arg1:Function)
        {
            super(_arg1, _-0AW);
        }
        public function _-3-5():_-0AW
        {
            return ((this._-515 as _-0AW));
        }

    }
}//package _-CQ

//------------------------------------------------------------
//_-CQ._-5Bq

package _-CQ
{
    import _-4Aj._-7V;
    import _-1sn._-3sk;
    import _-4Aj.*;

    public class _-5Bq extends _-7V implements _-0tL 
    {

        public function _-5Bq(_arg1:Function)
        {
            super(_arg1, _-3sk);
        }
        public function _-3-5():_-3sk
        {
            return ((this._-515 as _-3sk));
        }

    }
}//package _-CQ

//------------------------------------------------------------
//_-DW._-087

package _-DW
{
    import _-og._-3Sk;

    public class _-087 
    {

        public var age:int = 0;
        public var _-0qy:int = 0;
        public var _-hX:Boolean = false;
        public var energy:int = 0;
        public var _-Ds:int = 0;
        public var experience:int = 0;
        public var _-2fu:int = 0;
        public var id:int = 0;
        public var _-00I:Boolean = false;
        public var level:int = 0;
        public var _-0Cc:int = 0;
        public var name:String = "";
        public var _-4Z1:int = 0;
        public var _-3IJ:int = 0;
        public var _-nJ:int = 0;
        public var _-0aC:String = "";
        public var _-1Jx:int = 0;
        public var _-4pW:int = 0;
        public var _-193:int = 0;
        public var _-1pq:int = 0;
        public var _-2U8:Boolean = false;
        public var _-0mh:Boolean = false;
        public var _-4a2:Boolean = false;
        public var _-02Z:Boolean = false;
        public var _-2gH:Boolean = false;
        public var _-2YM:Array;
        public var _-3fV:int = 0;
        public var _-0E2:int = 0;
        public var _-0Ez:int = 0;
        public var _-35w:int = 0;
        public var _-4td:Boolean = false;

        public function _-087()
        {
            this._-2YM = [];
            super();
        }
        public function populate(_arg1:_-3Sk):void
        {
            this.age = _arg1.age;
            this._-0qy = _arg1._-0qy;
            this._-hX = _arg1._-hX;
            this.energy = _arg1.energy;
            this._-Ds = _arg1._-Ds;
            this.experience = _arg1.experience;
            this._-2fu = _arg1._-2fu;
            this.id = _arg1.id;
            this._-00I = _arg1._-00I;
            this.level = _arg1.level;
            this._-0Cc = _arg1._-0Cc;
            this.name = _arg1.name;
            this._-4Z1 = _arg1._-4Z1;
            this._-3IJ = _arg1._-3IJ;
            this._-nJ = _arg1._-nJ;
            this._-0aC = _arg1._-0aC;
            this._-1Jx = _arg1._-1Jx;
            this._-4pW = _arg1._-4pW;
            this._-193 = _arg1._-193;
            this._-1pq = _arg1._-1pq;
            this._-2U8 = _arg1._-2U8;
            this._-0mh = _arg1._-0mh;
            this._-4a2 = _arg1._-4a2;
            this._-2gH = _arg1._-2gH;
            this._-02Z = _arg1._-02Z;
            this._-2YM = _arg1._-2YM;
            this._-3fV = _arg1._-3fV;
            this._-0E2 = _arg1._-0E2;
            this._-0Ez = _arg1._-0Ez;
            this._-35w = _arg1._-35w;
            this._-4td = _arg1._-4td;
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-0e6

package _-DW
{
    import _-og._-3c;

    public class _-0e6 
    {

        private var _-0Kq:int;
        private var _-0b1:int;
        private var _-21G:Boolean = false;
        private var _-4kI:Boolean = false;
        private var _-1rP:Boolean = false;
        private var _-1NK:int = 0;
        private var _-4PL:Array;

        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function set _-0KC(_arg1:int):void
        {
            this._-0b1 = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get _-3dp():Boolean
        {
            return (this._-21G);
        }
        public function get _-42g():Boolean
        {
            return (this._-4kI);
        }
        public function get _-36A():Boolean
        {
            return (this._-1rP);
        }
        public function get _-Cs():int
        {
            return (this._-1NK);
        }
        public function set _-3dp(_arg1:Boolean):void
        {
            this._-21G = _arg1;
        }
        public function set _-42g(_arg1:Boolean):void
        {
            this._-4kI = _arg1;
        }
        public function set _-36A(_arg1:Boolean):void
        {
            this._-1rP = _arg1;
        }
        public function set _-Cs(_arg1:int):void
        {
            this._-1NK = _arg1;
        }
        public function get _-0zR():Array
        {
            return (this._-4PL);
        }
        public function set _-0zR(_arg1:Array):void
        {
            this._-4PL = _arg1;
        }
        public function populate(_arg1:_-3c):void
        {
            this.id = _arg1._-2-w;
            this._-0KC = _arg1._-1V8;
            this._-42g = _arg1._-42g;
            this._-36A = _arg1._-36A;
            this._-Cs = _arg1._-1sC;
            this._-0zR = _arg1._-0zR;
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-0Nn

package _-DW
{
    import _-og._-0Yz;
    import _-0Ie.WindowMouseEvent;
    import _-4n1._-0hX;
    import _-3mW._-1sV;
    import _-3V-._-3SU;
    import _-3cY._-1mk;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-1FD._-1yP;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-0Nn extends _-2XK 
    {

        private static const _-3rv:int = 0;
        private static const _-4pl:int = 1;
        private static const _-1J1:int = 2;
        private static const _-1x3:int = 3;
        private static const _-4DQ:int = 4;
        private static const _-2NM:int = 5;
        private static const _-0zI:int = 6;
        private static const _-sa:int = 7;

        private var _-3Wi:int;
        private var _-045:_-0Yz;

        public function _-0Nn(_arg1:AvatarInfoWidget)
        {
            super(_arg1);
            _-14p = false;
        }
        public static function setup(_arg1:_-0Nn, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:_-0Yz):void
        {
            _arg1._-045 = _arg6;
            _-2XK.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
        }

        public function get _-mx():int
        {
            return (this._-045.id);
        }
        public function get _-2Ux():int
        {
            return (this._-045._-2Ux);
        }
        override public function dispose():void
        {
            if (_-0xv)
            {
                _-0xv.removeEventListener(WindowMouseEvent._-4ea, _-4ed);
                _-0xv.removeEventListener(WindowMouseEvent._-4e2, _-4ed);
            };
            if (this._-045)
            {
                this._-045.dispose();
            };
            this._-045 = null;
            super.dispose();
        }
        private function _-2TY():void
        {
            var k:_-0hX;
            var k:int = this.widget.handler.roomSession.roomId;
            var k:int = this.widget.handler.roomSession.roomCategory;
            var k:_-3SU = this.widget.handler.roomEngine.getRoomObject(k, k, this._-045._-2Ux, _-1sV._-0u-);
            if (k != null)
            {
                k = this.widget.handler._-co(k);
            }
            else
            {
                k = this.widget.handler.container.sessionDataManager._-LX(this._-045._-2Ux);
            };
            if (!k)
            {
                return;
            };
            this._-3Wi = _-3rv;
            switch (k.category)
            {
                case _-1mk._-06w:
                    this._-3Wi = _-4pl;
                    return;
                case _-1mk._-4cm:
                    this._-3Wi = _-1J1;
                    return;
                case _-1mk._-4yV:
                    this._-3Wi = _-1x3;
                    return;
                case _-1mk._-0b3:
                    this._-3Wi = _-4DQ;
                    return;
                case _-1mk._-4gd:
                    this._-3Wi = _-2NM;
                    return;
                case _-1mk._-30o:
                    this._-3Wi = _-0zI;
                    return;
                case _-1mk._-i2:
                    this._-3Wi = _-sa;
                    return;
                default:
                    _-Nb.log(("[UseProductView.open()] Unsupported furniture category: " + k.category));
            };
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            this._-2TY();
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("use_product_menu")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this.buttonEventProc;
                _-0xv.findChildByName("name").caption = _-2lb;
                _-0xv.visible = false;
                activeView = _-0xv;
                this._-4VN();
            };
        }
        public function _-4VN():void
        {
            if (((!(_-0xv)) || (!(_-0Ib))))
            {
                return;
            };
            _-0Ib.autoArrangeItems = false;
            var k:int = _-0Ib.numListItems;
            var k:int;
            while (k < k)
            {
                _-0Ib.getListItemAt(k).visible = false;
                k++;
            };
            switch (this._-3Wi)
            {
                case _-3rv:
                    _-XT("use_product");
                    break;
                case _-4pl:
                    _-XT("use_product_shampoo");
                    break;
                case _-1J1:
                    _-XT("use_product_custom_part");
                    break;
                case _-1x3:
                    _-XT("use_product_custom_part_shampoo");
                    break;
                case _-4DQ:
                    if (this._-045.replace)
                    {
                        _-XT("replace_product_saddle");
                    }
                    else
                    {
                        _-XT("use_product_saddle");
                    };
                    break;
                case _-2NM:
                    _-XT("revive_monsterplant");
                    break;
                case _-0zI:
                    _-XT("rebreed_monsterplant");
                    break;
                case _-sa:
                    _-XT("fertilize_monsterplant");
                    break;
            };
            _-0Ib.autoArrangeItems = true;
            _-0Ib.visible = true;
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1yP;
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    k = true;
                    switch (_arg2.parent.name)
                    {
                        case "use_product":
                        case "use_product_shampoo":
                        case "use_product_custom_part":
                        case "use_product_custom_part_shampoo":
                        case "use_product_saddle":
                        case "replace_product_saddle":
                        case "revive_monsterplant":
                        case "rebreed_monsterplant":
                        case "fertilize_monsterplant":
                            this.widget._-06n(this._-045._-2Ux, this._-045._-ok, this._-045._-3Ct);
                            break;
                    };
                };
                if (k)
                {
                    _-0dg.messageListener.processWidgetMessage(k);
                };
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                this.widget._-3DI();
            };
        }
        private function _-31K(_arg1:int):void
        {
            this._-3Wi = _arg1;
            this._-4VN();
        }
        private function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-1ir

package _-DW
{
    public class _-1ir extends _-245 
    {

        public static const _-3KM:uint = 4288528218;
        public static const _-1PU:int = 8000;

        private var _-44i:int;
        private var _-04c:Boolean;

        public function _-1ir(_arg1:AvatarInfoWidget, _arg2:Boolean=false)
        {
            super(_arg1);
            this._-04c = _arg2;
        }
        public static function setup(_arg1:_-1ir, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:int, _arg7:uint=4288528218, _arg8:int=8000):void
        {
            _arg1._-44i = _arg6;
            _arg1._-0b7 = _arg8;
            _-245.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
            _arg1._-0xv.color = _arg7;
        }

        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-T3():Boolean
        {
            return (this._-04c);
        }
        override public function get maximumBlend():Number
        {
            if (this._-04c)
            {
                return (0.75);
            };
            return (super.maximumBlend);
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-1K9

package _-DW
{
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-2SY._-3nv;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import flash.geom.Point;
    import flash.geom.Rectangle;
    import _-4xL._-2Pp;
    import _-39k._-1bz;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-1K9 extends _-2XK 
    {

        protected var _-0qE:_-0e6;

        public function _-1K9(_arg1:AvatarInfoWidget)
        {
            super(_arg1);
            _-14p = false;
        }
        public static function setup(_arg1:_-1K9, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:_-0e6):void
        {
            _arg1._-0qE = _arg6;
            _-2XK.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
        }

        override public function dispose():void
        {
            if (_-0xv)
            {
                _-0xv.removeEventListener(WindowMouseEvent._-4ea, _-4ed);
                _-0xv.removeEventListener(WindowMouseEvent._-4e2, _-4ed);
            };
            this._-0qE = null;
            super.dispose();
        }
        protected function _-4VN():void
        {
            if (((!(_-0xv)) || (!(this._-0qE))))
            {
                return;
            };
            var k:IItemListWindow = (_-0xv.findChildByName("buttons") as IItemListWindow);
            if (!k)
            {
                return;
            };
            k.procedure = this.buttonEventProc;
            k.autoArrangeItems = false;
            var k:int = k.numListItems;
            var k:int;
            while (k < k)
            {
                k.getListItemAt(k).visible = false;
                k++;
            };
            _-XT("pick", ((this._-0qE._-42g) || (this._-0qE._-36A)));
            if (((this._-0qE._-42g) && (this._-0qE._-0zR)))
            {
                _-XT("change_bot_name", !((this._-0qE._-0zR.indexOf(_-3nv._-h4) == -1)));
                _-XT("dress_up", !((this._-0qE._-0zR.indexOf(_-3nv._-0EV) == -1)));
                _-XT("random_walk", !((this._-0qE._-0zR.indexOf(_-3nv._-2F6) == -1)));
                _-XT("setup_chat", !((this._-0qE._-0zR.indexOf(_-3nv._-KV) == -1)));
                _-XT("dance", !((this._-0qE._-0zR.indexOf(_-3nv._-rQ) == -1)));
            };
            k.autoArrangeItems = true;
            k.visible = true;
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("avatar_menu_widget")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this.buttonEventProc;
                _-0xv.findChildByName("name").caption = _-2lb;
                _-0xv.visible = false;
                activeView = _-0xv;
                this._-4VN();
            };
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:Point;
            var k:Rectangle;
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    k = null;
                    switch (_arg2.parent.name)
                    {
                        case "pick":
                            k = true;
                            this.widget.handler.container.connection.send(new _-2Pp(this._-0qE.id));
                            break;
                        case "setup_chat":
                            k = true;
                            k = new Rectangle();
                            _-0xv.getGlobalRectangle(k);
                            k = new Point((k.x + (k.width / 2)), (k.y + k.height));
                            this.widget._-1ky(this._-0qE.id, _-3nv._-KV, k);
                            break;
                        case "random_walk":
                            k = true;
                            this.widget.handler.container.connection.send(new _-1bz(this._-0qE.id, _-3nv._-2F6, ""));
                            break;
                        case "dress_up":
                            k = true;
                            this.widget.handler.container.connection.send(new _-1bz(this._-0qE.id, _-3nv._-0EV, ""));
                            break;
                        case "dance":
                            k = true;
                            this.widget.handler.container.connection.send(new _-1bz(this._-0qE.id, _-3nv._-rQ, ""));
                            break;
                        case "change_bot_name":
                            k = true;
                            k = new Rectangle();
                            _-0xv.getGlobalRectangle(k);
                            k = new Point((k.x + (k.width / 2)), (k.y + k.height));
                            this.widget._-1ky(this._-0qE.id, _-3nv._-h4, k);
                            break;
                    };
                };
                this._-4VN();
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        private function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-1VH

package _-DW
{
    public class _-1VH 
    {

        public var _-2Ds:int;
        public var _-YT:int;
        public var _-1A8:String;
        public var userId:int;
        public var userName:String;
        public var rarityLevel:int;
        public var _-2Zg:Boolean;

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-1Yt

package _-DW
{
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;

    public class _-1Yt extends _-2XK 
    {

        private var _-3BO:String = "";

        public function _-1Yt(_arg1:AvatarInfoWidget)
        {
            super(_arg1);
            this._-3BO = _arg1.localization.getKey("room.enter.infostand.caption", "");
            _-0b7 = parseInt(_arg1.configuration.getKey("room.enter.infostand.fade.start.delay", "5000"));
        }
        public static function setup(_arg1:_-2XK, _arg2:int, _arg3:String, _arg4:int, _arg5:int):void
        {
            _-2XK.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
        }

        override protected function updateWindow():void
        {
            var k:XML;
            var k:IWindow;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (!_-0xv)
            {
                k = (_-0dg.assets.getAssetByName("new_user_help").content as XML);
                _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                if (!_-0xv)
                {
                    return;
                };
                k = _-0xv.findChildByName("help");
                k.caption = this._-3BO;
                _-0xv.invalidate();
            };
            activeView = _-0xv;
        }
        public function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-1zy

package _-DW
{
    import _-og._-08b;

    public class _-1zy 
    {

        private var _-21G:Boolean = false;
        private var _-36w:Boolean = false;
        private var _-S2:int = 0;
        private var _-2sS:Boolean = false;
        private var _-Yw:Boolean = false;
        private var _-04g:Boolean = false;
        private var _-18y:Boolean = false;
        private var _-4kI:Boolean = false;
        private var _-1rP:Boolean = false;
        private var _-0MM:int = 0;
        private var _-2Lj:Boolean = false;
        private var _-37w:Boolean = false;
        private var _-pe:Boolean = false;
        private var _-1NK:int = 0;
        private var _-3BD:int = 0;
        private var _-0jo:int = 0;

        public function get _-3dp():Boolean
        {
            return (this._-21G);
        }
        public function get _-3xC():Boolean
        {
            return (this._-36w);
        }
        public function get _-26v():int
        {
            return (this._-S2);
        }
        public function get _-0ab():Boolean
        {
            return (this._-2sS);
        }
        public function get _-1Ny():Boolean
        {
            return (this._-Yw);
        }
        public function get _-l0():Boolean
        {
            return (this._-18y);
        }
        public function get _-42g():Boolean
        {
            return (this._-4kI);
        }
        public function get _-36A():Boolean
        {
            return (this._-1rP);
        }
        public function get _-2Vb():int
        {
            return (this._-0MM);
        }
        public function get _-3xL():Boolean
        {
            return (this._-2Lj);
        }
        public function get _-0Jg():Boolean
        {
            return (this._-37w);
        }
        public function get _-5J():Boolean
        {
            return (this._-pe);
        }
        public function get _-Cs():int
        {
            return (this._-1NK);
        }
        public function get _-2Hi():int
        {
            return (this._-3BD);
        }
        public function get _-2g-():int
        {
            return (this._-0jo);
        }
        public function set _-3dp(_arg1:Boolean):void
        {
            this._-21G = _arg1;
        }
        public function set _-3xC(_arg1:Boolean):void
        {
            this._-36w = _arg1;
        }
        public function set _-26v(_arg1:int):void
        {
            this._-S2 = _arg1;
        }
        public function set _-0ab(_arg1:Boolean):void
        {
            this._-2sS = _arg1;
        }
        public function set _-1Ny(_arg1:Boolean):void
        {
            this._-Yw = _arg1;
        }
        public function get _-3rl():Boolean
        {
            return (this._-04g);
        }
        public function set _-3rl(_arg1:Boolean):void
        {
            this._-04g = _arg1;
        }
        public function set _-l0(_arg1:Boolean):void
        {
            this._-18y = _arg1;
        }
        public function set _-42g(_arg1:Boolean):void
        {
            this._-4kI = _arg1;
        }
        public function set _-36A(_arg1:Boolean):void
        {
            this._-1rP = _arg1;
        }
        public function set _-2Vb(_arg1:int):void
        {
            this._-0MM = _arg1;
        }
        public function set _-3xL(_arg1:Boolean):void
        {
            this._-2Lj = _arg1;
        }
        public function set _-0Jg(_arg1:Boolean):void
        {
            this._-37w = _arg1;
        }
        public function set _-5J(_arg1:Boolean):void
        {
            this._-pe = _arg1;
        }
        public function set _-Cs(_arg1:int):void
        {
            this._-1NK = _arg1;
        }
        public function set _-2Hi(_arg1:int):void
        {
            this._-3BD = _arg1;
        }
        public function set _-2g-(_arg1:int):void
        {
            this._-0jo = _arg1;
        }
        public function populate(_arg1:_-08b):void
        {
            this._-1rP = _arg1._-36A;
            this._-3BD = _arg1._-2Hi;
            this._-4kI = _arg1._-42g;
            this._-18y = _arg1._-l0;
            this._-2sS = _arg1._-0ab;
            this._-Yw = _arg1._-1Ny;
            this._-04g = _arg1._-3rl;
            this._-36w = _arg1._-3xC;
            this._-S2 = _arg1._-26v;
            this._-21G = _arg1._-3dp;
            this._-0MM = _arg1._-2Vb;
            this._-2Lj = (_arg1.type == _-08b._-4v8);
            this._-37w = _arg1._-0Jg;
            this._-pe = _arg1._-5J;
            this._-0jo = _arg1._-2g-;
            this._-1NK = _arg1._-1sC;
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-245

package _-DW
{
    import _-3XW._-1eN;
    import _-3XW._-50z;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-3mW._-1IS;
    import flash.geom.Rectangle;

    public class _-245 extends _-1eN 
    {

        protected var _-4lu:int;
        protected var _-2lb:String;
        protected var _-4mT:int;
        protected var _-37w:Boolean;
        protected var _-0b1:int;

        public function _-245(_arg1:_-50z)
        {
            super(_arg1);
            _-0dg = (_arg1 as AvatarInfoWidget);
        }
        public static function setup(_arg1:_-245, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:Boolean=false):void
        {
            _arg1._-4lu = _arg2;
            _arg1._-2lb = _arg3;
            _arg1._-4mT = _arg5;
            _arg1._-0b1 = _arg4;
            _arg1._-37w = _arg6;
            _-0nx(_arg1);
        }

        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-5EQ():int
        {
            return (this._-4mT);
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get _-0Jg():Boolean
        {
            return (this._-37w);
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (!_-0xv)
            {
                k = (_-0dg.assets.getAssetByName("avatar_info_widget").content as XML);
                _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                if (!_-0xv)
                {
                    return;
                };
            };
            var k:IWindow = _-0xv.findChildByName("name");
            k.caption = this._-2lb;
            _-0xv.findChildByName("change_name_container").visible = false;
            _-0xv.height = 39;
            activeView = _-0xv;
        }
        override protected function getOffset(_arg1:Rectangle):int
        {
            var k:int = -(_-1Ke.height);
            if ((((this._-4mT == _-1IS._-0p3)) || ((this._-4mT == _-1IS._-53b))))
            {
                k = (k + (((_arg1.height > 50)) ? 25 : 0));
            }
            else
            {
                k = (k - 4);
            };
            return (k);
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-2m6

package _-DW
{
    import _-1ae.IFrameWindow;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-18r.Map;
    import _-1Jd._-4LX;
    import flash.display.BitmapData;
    import _-0l8.PetFigureData;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import _-1ae.IItemListWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-2kE;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-293.*;
    import _-1B-.*;

    public class _-2m6 implements _-1zZ, dynamic 
    {

        private static const _-56h:int = 0;
        private static const _-2TS:int = 1;
        private static const _-3O5:String = "element_list";
        private static const _-43Q:String = "preview_list";
        private static const ELEM_PLANT1_ITEMLIST:String = "plant1_itemlist";
        private static const ELEM_PLANT2_ITEMLIST:String = "plant2_itemlist";
        private static const _-1s:String = "description";
        private static const _-50L:String = "request";
        private static const _-Zr:String = "header_button_close";
        private static const _-3Yn:String = "save_button";
        private static const _-36y:String = "accept_button";
        private static const _-H:String = "cancel_button";
        private static const _-sr:String = "ok_button";
        private static const _-4Dj:String = "button_list";

        private var _-0xv:IFrameWindow;
        private var _-4Bk:Boolean = false;
        private var _-0dg:AvatarInfoWidget;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-Za:Map;
        private var _-3n1:int;
        private var _-10Y:int;
        private var _-BJ:_-4LX;
        private var _petData2:_-4LX;
        private var _-0Ke:int = 0;

        public function _-2m6(_arg1:AvatarInfoWidget)
        {
            this._-0dg = _arg1;
            this._-U- = _arg1.windowManager;
            this._assets = this._-0dg.assets;
            this._-Za = new Map();
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._-4Bk = true;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-Za != null)
            {
                this._-Za.dispose();
            };
            this._-Za = null;
        }
        public function get _-2Ux():int
        {
            return (this._-3n1);
        }
        public function get _-ok():int
        {
            return (this._-10Y);
        }
        public function open(_arg1:int, _arg2:int, _arg3:Boolean):void
        {
            this._-3n1 = _arg1;
            this._-10Y = _arg2;
            this._-BJ = this._-0dg.handler.roomSession.userDataManager.getUserDataByIndex(_arg1);
            this._petData2 = this._-0dg.handler.roomSession.userDataManager.getUserDataByIndex(_arg2);
            this._-0Ke = ((_arg3) ? _-2TS : _-56h);
            this._-0-s();
            this._-0xv.visible = true;
        }
        private function _-1wl(_arg1:String, _arg2:String):BitmapData
        {
            var k:BitmapData;
            var k:int;
            var k:PetFigureData = new PetFigureData(_arg1);
            var k:String = "std";
            var k:_-2Gt = this._-0dg.handler.roomEngine._-2s2(k.typeId, k.paletteId, k.color, new _-Xl(90), 64, this, true, 0, k._-uk, k);
            if (k != null)
            {
                k = k.id;
                if (k > 0)
                {
                    this._-Za.add(k, _arg2);
                };
                k = k.data;
            };
            return (k);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (this.disposed)
            {
                return;
            };
            var k:String = this._-Za.getValue(_arg1);
            if (k != null)
            {
                this._-1bO(_arg2, k);
            };
        }
        private function _-0-s():void
        {
            this._-0dg.localizations.registerParameter("breedpets.widget.title", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("breedpets.widget.plant1.name", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("breedpets.widget.plant2.name", "name", this._petData2.name);
            this._-0dg.localizations.registerParameter("breedpets.widget.plant1.description", "name", this._-BJ._-0aC);
            this._-0dg.localizations.registerParameter("breedpets.widget.plant2.description", "name", this._petData2._-0aC);
            this._-0dg.localizations.registerParameter("breedpets.widget.plant1.raritylevel", "level", this._-BJ.rarityLevel.toString());
            this._-0dg.localizations.registerParameter("breedpets.widget.plant2.raritylevel", "level", this._petData2.rarityLevel.toString());
            this._-0dg.localizations.registerParameter("breedpets.widget.request", "name", this._petData2._-0aC);
            if (!this._-0xv)
            {
                this._-0xv = (this._-U-.buildFromXML((this._assets.getAssetByName("breed_pets_confirmation_xml").content as XML)) as IFrameWindow);
                this._-2gQ(_-Zr);
            };
            this._-0xv.center();
            this._-0xv.visible = true;
            this._-2gQ(_-3Yn);
            this._-2gQ(_-36y);
            this._-2gQ(_-H);
            this._-3ed(_-1s, false);
            this._-3ed(_-50L, false);
            this._-3ed(_-3Yn, false);
            this._-3ed(_-3Yn, false);
            this._-3ed(_-36y, false);
            this._-3ed(_-H, true);
            this._-3ed(_-H, true);
            switch (this._-0Ke)
            {
                case _-56h:
                    this._-3ed(_-1s, true);
                    this._-3ed(_-3Yn, true);
                    break;
                case _-2TS:
                    this._-3ed(_-50L, true);
                    this._-3ed(_-36y, true);
                    break;
            };
            var k:BitmapData = this._-1wl(this._-BJ.figure, "preview_image");
            this._-1bO((((k)!=null) ? k : new BitmapData(10, 10)), "preview_image");
            k = this._-1wl(this._petData2.figure, "preview_image2");
            this._-1bO((((k)!=null) ? k : new BitmapData(10, 10)), "preview_image2");
            this._-0O3();
            this._-0xv.invalidate();
        }
        private function _-0O3():void
        {
            this._-Kx(_-4Dj);
            this._-Kx(ELEM_PLANT1_ITEMLIST);
            this._-Kx(ELEM_PLANT2_ITEMLIST);
            this._-Kx(_-43Q);
            this._-Kx(_-3O5);
            this._-0xv._-Ic();
        }
        private function _-Kx(_arg1:String):void
        {
            var k:IItemListWindow = (this._-0xv.findChildByName(_arg1) as IItemListWindow);
            if (k != null)
            {
                k._-0O3();
            };
        }
        private function _-1bO(_arg1:BitmapData, _arg2:String):void
        {
            var k:BitmapData;
            if (((!(this._-0xv)) || (!(_arg1))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg2) as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height);
            var k:_-2kE = (this._assets.getAssetByName("breed_pets_preview_bg_png") as _-2kE);
            if (k)
            {
                k = (k.content as BitmapData);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
            };
            var k:Point = new Point(((k.width - _arg1.width) / 2), ((k.height - _arg1.height) / 2));
            k.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
        }
        private function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        private function _-2gQ(_arg1:String):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.onMouseClick);
            };
        }
        private function _-3ed(_arg1:String, _arg2:Boolean):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.visible = _arg2;
            };
        }
        private function onMouseClick(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.target.name)
            {
                case _-Zr:
                case _-H:
                    this._-0dg._-0hh(this._-3n1, this._-10Y);
                    this.close();
                    return;
                case _-sr:
                    this.close();
                    return;
                case _-36y:
                    this.close();
                    this._-0dg._-2ta(this._-3n1, this._-10Y);
                    return;
                case _-3Yn:
                    this._-0dg._-3D-(this._-3n1, this._-10Y);
                    if (this._-BJ._-nJ != this._petData2._-nJ)
                    {
                        this._-0dg._-0iF(this._-2Ux, this._-10Y);
                    };
                    this.close();
                    return;
            };
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-2SR

package _-DW
{
    import _-0Ie.WindowMouseEvent;
    import _-4f7.AvatarInfoWidgetHandler;
    import _-3V-._-3SU;
    import _-1ae.IItemListWindow;
    import _-og._-08b;
    import _-1ae.IInteractiveWindow;
    import _-Ew.IWindowContainer;
    import _-3mW._-1sV;
    import _-3mW._-4Wq;
    import _-1C6._-4ky;
    import _-295._-243;
    import _-1FD._-1yP;
    import _-1FD._-3VD;
    import _-1FD._-4jZ;
    import _-2gz.HabboTracking;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-2SR extends _-2XK 
    {

        protected static const _-uo:uint = 1;
        protected static const _-32U:uint = 2;
        protected static const _-2bt:uint = 3;
        protected static const _-4qZ:uint = 4;
        protected static const _-256:uint = 5;

        protected static var _-4ny:uint = _-uo;//1

        protected var _-0qE:_-1zy;
        protected var _-3Wi:uint = 1;
        protected var _-m6:Boolean;

        public function _-2SR(_arg1:AvatarInfoWidget)
        {
            super(_arg1);
            _-14p = false;
        }
        public static function setup(_arg1:_-2SR, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:_-1zy):void
        {
            _arg1._-0qE = _arg6;
            _-2XK.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
        }

        override public function dispose():void
        {
            if (_-0xv)
            {
                _-0xv.removeEventListener(WindowMouseEvent._-4ea, _-4ed);
                _-0xv.removeEventListener(WindowMouseEvent._-4e2, _-4ed);
            };
            this._-0qE = null;
            super.dispose();
        }
        protected function _-4VN():void
        {
            var k:int;
            var k:AvatarInfoWidgetHandler;
            var k:Boolean;
            var k:String;
            var k:int;
            var k:_-3SU;
            var k:int;
            if (((!(_-0xv)) || (!(this._-0qE))))
            {
                return;
            };
            var k:IItemListWindow = (_-0xv.findChildByName("buttons") as IItemListWindow);
            if (!k)
            {
                return;
            };
            k.procedure = this.buttonEventProc;
            k.autoArrangeItems = false;
            var k:int = k.numListItems;
            var k:int;
            while (k < k)
            {
                k.getListItemAt(k).visible = false;
                k++;
            };
            if (this._-3Wi == _-uo)
            {
                _-XT("moderate", this._-2iv());
                _-XT("friend", this._-0qE._-l0);
                _-XT("ignore", !(this._-0qE._-3dp));
                _-XT("unignore", this._-0qE._-3dp);
                _-XT("report", ((this.widget.configuration) && (this.widget.configuration.getBoolean("infostand.report.show", false))));
                k = this._-0qE._-2Vb;
                this.widget.localizations.registerParameter("infostand.button.respect", "count", k.toString());
                _-XT("respect", (k > 0));
                k = this.widget.handler;
                k = k.container.sessionDataManager._-3ZA();
                _-XT("trade", ((this._-4wN) || (((!(k)) && (this._-0qE._-3xC)))));
                switch (this._-0qE._-26v)
                {
                    case _-08b._-3gm:
                        k = "${infostand.button.trade.tooltip.shutdown}";
                        break;
                    case _-08b._-3-e:
                        k = "${infostand.button.trade.tooltip.tradingroom}";
                        break;
                    default:
                        k = "";
                };
                IInteractiveWindow(IWindowContainer(k.getListItemByName("trade")).getChildByName("button"))._-2QR = k;
                _-XT("whisper");
                if (this.widget.configuration.getBoolean("handitem.give.enabled", false))
                {
                    k = k.container.roomSession._-1NZ;
                    k = k.container.roomEngine.getRoomObject(k.roomSession.roomId, k.roomSession.roomCategory, k, _-1sV._-3I0);
                    if (k != null)
                    {
                        k = k.getModel().getNumber(_-4Wq._-3kn);
                        if ((((k > 0)) && ((k < 999999))))
                        {
                            _-XT("pass_handitem");
                        };
                    };
                };
            };
            if (this._-3Wi == _-32U)
            {
                _-XT("kick", this._-0qE._-0ab);
                if (((this.widget.configuration) && (this.widget.configuration.getBoolean("room_moderation.improved.enabled", false))))
                {
                    _-XT("ban_with_duration", this._-0qE._-1Ny);
                    _-XT("mute", this._-0qE._-3rl);
                }
                else
                {
                    _-XT("ban", this._-0qE._-1Ny);
                };
                _-XT("give_rights", this._-2oG());
                _-XT("remove_rights", this._-3yU());
                _-XT("actions");
            };
            if (this._-3Wi == _-4qZ)
            {
                _-XT("ban_hour");
                _-XT("ban_day");
                _-XT("perm_ban");
                _-XT("actions");
            };
            if (this._-3Wi == _-256)
            {
                _-XT("mute_2min");
                _-XT("mute_5min");
                _-XT("mute_10min");
                _-XT("actions");
            };
            if (this._-3Wi == _-2bt)
            {
                _-XT("bullying");
                _-XT("cfh_sexual");
                _-XT("cfh_pii");
                _-XT("cfh_other");
                _-XT("actions");
            };
            k.autoArrangeItems = true;
            k.visible = true;
            _-4ny = this._-3Wi;
            this._-m6 = false;
        }
        private function _-2iv():Boolean
        {
            return (((((((((this._-0qE._-0ab) || (this._-0qE._-1Ny))) || (this._-0qE._-3rl))) || (this._-2oG()))) || (this._-3yU())));
        }
        private function _-2oG():Boolean
        {
            return (((((this._-0qE._-42g) && ((this._-0qE._-2g- < _-4ky._-YE)))) && (!(this._-0qE._-5J))));
        }
        private function _-3yU():Boolean
        {
            return (((((this._-0qE._-42g) && ((this._-0qE._-2g- == _-4ky._-YE)))) && (!(this._-0qE._-5J))));
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("avatar_menu_widget")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this.buttonEventProc;
                _-0xv.findChildByName("profile_link").procedure = this.buttonEventProc;
                _-0xv.findChildByName("name").caption = _-2lb;
                _-0xv.visible = false;
                activeView = _-0xv;
                this._-4VN();
            };
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            var _local6:int;
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            var k:_-1yP;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    k = true;
                    switch (_arg2.parent.name)
                    {
                        case "whisper":
                            k = _-3VD._-5Db;
                            break;
                        case "friend":
                            _arg2.disable();
                            this._-0qE._-l0 = false;
                            k = _-3VD._-12e;
                            break;
                        case "respect":
                            this._-0qE._-2Vb = (this._-0qE._-2Vb - 1);
                            _local6 = this._-0qE._-2Vb;
                            this.widget.localizations.registerParameter("infostand.button.respect", "count", _local6.toString());
                            _-XT("respect", (this._-0qE._-2Vb > 0));
                            k = _-3VD._-u4;
                            if (_local6 > 0)
                            {
                                k = false;
                            };
                            break;
                        case "ignore":
                            _arg2.parent.visible = false;
                            _-0xv.findChildByName("unignore").visible = true;
                            this._-0qE._-3dp = true;
                            k = _-3VD._-2nT;
                            break;
                        case "unignore":
                            _arg2.parent.visible = false;
                            _-0xv.findChildByName("ignore").visible = true;
                            this._-0qE._-3dp = false;
                            k = _-3VD._-0AR;
                            break;
                        case "kick":
                            k = _-3VD._-2k0;
                            break;
                        case "ban":
                            k = _-3VD. use;
                            break;
                        case "ban_hour":
                            k = _-3VD._-2wa;
                            break;
                        case "ban_day":
                            k = _-3VD._-05u;
                            break;
                        case "perm_ban":
                            k = _-3VD._-0Ue;
                            break;
                        case "mute_2min":
                            k = _-3VD.MUTE_USER_2MIN;
                            break;
                        case "mute_5min":
                            k = _-3VD.MUTE_USER_5MIN;
                            break;
                        case "mute_10min":
                            k = _-3VD.MUTE_USER_10MIN;
                            break;
                        case "ban_with_duration":
                            this._-3Wi = _-4qZ;
                            this._-m6 = true;
                            k = false;
                            break;
                        case "mute":
                            this._-3Wi = _-256;
                            this._-m6 = true;
                            k = false;
                            break;
                        case "give_rights":
                            _arg2.parent.visible = false;
                            _-0xv.findChildByName("remove_rights").visible = true;
                            this._-0qE._-2Hi = _-4ky._-YE;
                            k = _-3VD._-2qF;
                            break;
                        case "remove_rights":
                            _arg2.parent.visible = false;
                            _-0xv.findChildByName("give_rights").visible = true;
                            this._-0qE._-2Hi = _-4ky._-1uk;
                            k = _-3VD._-2pY;
                            break;
                        case "trade":
                            k = _-3VD._-0tp;
                            break;
                        case "bullying":
                            k = _-3VD._-1lg;
                            break;
                        case "cfh_sexual":
                            k = _-3VD._-214;
                            break;
                        case "cfh_pii":
                            k = _-3VD._-AH;
                            break;
                        case "cfh_other":
                            k = _-3VD._-1Gc;
                            break;
                        case "moderate":
                            this._-3Wi = _-32U;
                            this._-m6 = true;
                            k = false;
                            break;
                        case "report":
                            this._-3Wi = _-2bt;
                            this._-m6 = true;
                            k = false;
                            break;
                        case "actions":
                            this._-3Wi = _-uo;
                            this._-m6 = true;
                            k = false;
                            break;
                        case "pass_handitem":
                            k = _-3VD._-0kH;
                            break;
                    };
                };
                if (_arg2.name == "profile_link")
                {
                    k = true;
                    k = new _-4jZ(_-4jZ._-3aE, _-4lu, "avatarContextMenu");
                };
                if (k != null)
                {
                    k = new _-3VD(k, _-4lu);
                    HabboTracking._-0ON().trackEventLog("InfoStand", "click", k);
                };
                if (k != null)
                {
                    _-0dg.messageListener.processWidgetMessage(k);
                };
                this._-4VN();
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        private function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }
        private function get _-4wN():Boolean
        {
            return (AvatarInfoWidget(_-0dg).configuration.getBoolean("talent.track.citizenship.enabled", false));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-2XK

package _-DW
{
    import _-3XW.ButtonMenuView;
    import _-3XW._-50z;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-3mW._-1IS;
    import flash.geom.Rectangle;

    public class _-2XK extends ButtonMenuView 
    {

        protected var _-4lu:int;
        protected var _-2lb:String;
        protected var _-4mT:int;
        protected var _-37w:Boolean;
        protected var _-0b1:int;

        public function _-2XK(_arg1:_-50z)
        {
            super(_arg1);
        }
        public static function setup(_arg1:_-2XK, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:Boolean=false):void
        {
            _arg1._-4lu = _arg2;
            _arg1._-2lb = _arg3;
            _arg1._-4mT = _arg5;
            _arg1._-0b1 = _arg4;
            _arg1._-37w = _arg6;
            _-0nx(_arg1);
        }

        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-5EQ():int
        {
            return (this._-4mT);
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get _-0Jg():Boolean
        {
            return (this._-37w);
        }
        override protected function updateWindow():void
        {
            var k:XML;
            var _local3:IWindow;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (!_-0xv)
            {
                k = (_-0dg.assets.getAssetByName("avatar_info_widget").content as XML);
                _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                if (!_-0xv)
                {
                    return;
                };
            };
            var k:IWindow = _-0xv.findChildByName("name");
            k.caption = this._-2lb;
            if (!this._-37w)
            {
                _-0xv.findChildByName("change_name_container").visible = false;
                _-0xv.height = 39;
            }
            else
            {
                _local3 = _-0xv.findChildByName("change_name_container");
                _local3.visible = true;
                _-0xv.height = (39 + _local3.height);
                _-00i(_-0xv.findChildByName("change_name_container"), _-0Cq);
            };
            activeView = _-0xv;
        }
        override protected function getOffset(_arg1:Rectangle):int
        {
            var k:int = -(_-1Ke.height);
            if ((((((this._-4mT == _-1IS._-0p3)) || ((this._-4mT == _-1IS._-53b)))) || ((this._-4mT == _-1IS._-qF))))
            {
                k = (k + (((_arg1.height > 50)) ? 25 : 0));
            }
            else
            {
                k = (k - 4);
            };
            return (k);
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-326

package _-DW
{
    import _-1ae.IFrameWindow;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-18r.Map;
    import flash.display.BitmapData;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import _-4n1._-0hX;
    import _-Ew.IWindow;
    import _-1ae.IItemListWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-2kE;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-0ly._-2P9;
    import _-3cY._-503;
    import _-3V-._-3SU;
    import _-3mW._-1sV;
    import _-3mW._-2Ws;
    import _-3Zp._-1bw;
    import _-3cY._-1mk;
    import _-293.*;
    import _-1B-.*;

    public class _-326 implements _-1zZ, dynamic 
    {

        private static const _-3O5:String = "element_list";
        private static const _-43Q:String = "preview_list";
        private static const _-0e4:String = "preview_buttonlist";
        private static const ELEM_SEED1_ITEMLIST:String = "seed1_itemlist";
        private static const ELEM_SEED2_ITEMLIST:String = "seed2_itemlist";
        private static const ELEM_SEED1_BUTTONLIST:String = "seed1_buttonlist";
        private static const ELEM_SEED2_BUTTONLIST:String = "seed2_buttonlist";
        private static const _-216:String = "header_button_close";
        private static const _-Zr:String = "close_button";
        private static const _-3Yn:String = "save_button";
        private static const ELEM_PLACE_BUTTON1:String = "place_button1";
        private static const ELEM_PLACE_BUTTON2:String = "place_button2";
        private static const ELEM_PICK_BUTTON1:String = "pick_button1";
        private static const ELEM_PICK_BUTTON2:String = "pick_button2";
        private static const _-1cY:String = "preview_image";
        private static const ELEM_PREVIEW_IMAGE2:String = "preview_image2";
        private static const _-1Tc:String = "preview_image_region";
        private static const ELEM_PREVIEW_IMAGE_REGION2:String = "preview_image_region2";
        private static const _-120:String = "button_list";
        private static const _-1s:String = "description";
        private static const _-3tv:String = "description_sorry";
        private static const _-4Oo:String = "info";
        private static const _-1ny:String = "info_sorry";
        private static const ELEM_INFO_MUTATE1:String = "info_mutate1";
        private static const ELEM_INFO_MUTATE2:String = "info_mutate2";
        private static const _-sr:String = "ok_button";

        private var _-0xv:IFrameWindow;
        private var _-4Bk:Boolean = false;
        private var _-0dg:AvatarInfoWidget;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-Za:Map;
        private var _-4RU:_-1VH;
        private var _resultData2:_-1VH;
        private var _-18l:Boolean;

        public function _-326(_arg1:AvatarInfoWidget)
        {
            this._-0dg = _arg1;
            this._-U- = _arg1.windowManager;
            this._assets = this._-0dg.assets;
            this._-Za = new Map();
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._-4Bk = true;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-Za != null)
            {
                this._-Za.dispose();
            };
            this._-Za = null;
        }
        public function open(_arg1:_-1VH, _arg2:_-1VH):void
        {
            this._-4RU = _arg1;
            this._resultData2 = _arg2;
            this._-0-s();
            this.show();
        }
        private function _-1wl(_arg1:int, _arg2:String):BitmapData
        {
            var k:BitmapData;
            var k:int;
            var k:_-2Gt = this._-0dg.handler.container.roomEngine.getFurnitureImage(_arg1, new _-Xl(90, 0, 0), 64, this, 0, null, -1, -1, null);
            if (k != null)
            {
                k = k.id;
                if (k > 0)
                {
                    this._-Za.add(k, _arg2);
                };
                k = k.data;
            };
            return (k);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (this.disposed)
            {
                return;
            };
            var k:String = this._-Za.getValue(_arg1);
            if (k != null)
            {
                this._-1bO(_arg2, k);
            };
        }
        private function _-0-s():void
        {
            var k:String;
            var k:_-0hX = this._-0dg.handler.container.sessionDataManager._-LX(this._-4RU._-YT);
            var k:_-0hX = this._-0dg.handler.container.sessionDataManager._-LX(this._resultData2._-YT);
            this._-0dg.localizations.registerParameter("breedpetsresult.widget.seed1.name", "name", (((k)!=null) ? k.title : ""));
            this._-0dg.localizations.registerParameter("breedpetsresult.widget.seed2.name", "name", (((k)!=null) ? k.title : ""));
            this._-0dg.localizations.registerParameter("breedpetsresult.widget.seed1.description", "name", this._-4RU.userName);
            this._-0dg.localizations.registerParameter("breedpetsresult.widget.seed2.description", "name", this._resultData2.userName);
            this._-0dg.localizations.registerParameter("breedpetsresult.widget.seed1.raritylevel", "level", this._-4RU.rarityLevel.toString());
            this._-0dg.localizations.registerParameter("breedpetsresult.widget.seed2.raritylevel", "level", this._resultData2.rarityLevel.toString());
            var k:int = this._-0dg.handler.container.sessionDataManager.userId;
            var k = (this._-4RU.userId == k);
            var k = (this._resultData2.userId == k);
            var k:Boolean = ((k) || (k));
            if (!k)
            {
                k = "";
                if (((!((this._-4RU.userName == null))) && (!((this._-4RU.userName == "")))))
                {
                    k = this._-4RU.userName;
                }
                else
                {
                    if (((!((this._resultData2.userName == null))) && (!((this._resultData2.userName == "")))))
                    {
                        k = this._resultData2.userName;
                    };
                };
                this._-0dg.localization.registerParameter("breedpetsresult.widget.text.sorry", "name", k);
            };
            if (!this._-0xv)
            {
                this._-0xv = (this._-U-.buildFromXML((this._assets.getAssetByName("breed_pets_result_xml").content as XML)) as IFrameWindow);
                this._-2gQ(_-216);
            };
            this._-0xv.center();
            this._-0xv.visible = true;
            this._-3ed(ELEM_SEED1_BUTTONLIST, false);
            this._-3ed(ELEM_SEED2_BUTTONLIST, false);
            this._-3ed(ELEM_PLACE_BUTTON1, false);
            this._-3ed(ELEM_PICK_BUTTON1, false);
            this._-3ed(ELEM_PLACE_BUTTON2, false);
            this._-3ed(ELEM_PICK_BUTTON2, false);
            this._-3ed(_-Zr, false);
            if (k)
            {
                this._-3ed(ELEM_PLACE_BUTTON1, true);
                this._-3ed(ELEM_SEED1_BUTTONLIST, true);
            };
            if (k)
            {
                this._-3ed(ELEM_PLACE_BUTTON2, true);
                this._-3ed(ELEM_SEED2_BUTTONLIST, true);
            };
            if (k)
            {
                this._-3ed(_-0e4, true);
            };
            this._-3ed(ELEM_SEED2_ITEMLIST, true);
            if (this._resultData2._-2Ds == -1)
            {
                this._-3ed(ELEM_SEED2_ITEMLIST, false);
            };
            this._-3ed(_-1s, true);
            this._-3ed(_-4Oo, true);
            this._-3ed(_-3tv, false);
            this._-3ed(_-4Oo, false);
            this._-3ed(_-120, false);
            this._-3ed(_-Zr, false);
            if (!k)
            {
                this._-3ed(_-0e4, false);
                this._-3ed(_-1s, false);
                this._-3ed(_-4Oo, false);
                this._-3ed(_-3Yn, false);
                this._-3ed(ELEM_PLACE_BUTTON1, false);
                this._-3ed(ELEM_PICK_BUTTON1, false);
                this._-3ed(ELEM_PLACE_BUTTON2, false);
                this._-3ed(ELEM_PICK_BUTTON2, false);
                this._-3ed(_-120, true);
                this._-3ed(_-3tv, true);
                this._-3ed(_-1ny, true);
                this._-3ed(_-Zr, true);
            };
            this._-3ed(ELEM_INFO_MUTATE1, false);
            this._-3ed(ELEM_INFO_MUTATE2, false);
            if (this._-4RU._-2Zg)
            {
                this._-3ed(ELEM_INFO_MUTATE1, true);
            };
            if (this._resultData2._-2Zg)
            {
                this._-3ed(ELEM_INFO_MUTATE2, true);
            };
            this._-2gQ(_-3Yn);
            this._-2gQ(_-216);
            this._-2gQ(_-Zr);
            this._-2gQ(ELEM_PLACE_BUTTON1);
            this._-2gQ(ELEM_PLACE_BUTTON2);
            this._-2gQ(ELEM_PICK_BUTTON1);
            this._-2gQ(ELEM_PICK_BUTTON2);
            this._-2gQ(_-1Tc);
            this._-2gQ(ELEM_PREVIEW_IMAGE_REGION2);
            var k:BitmapData = this._-1wl(k.id, _-1cY);
            this._-1bO((((k)!=null) ? k : new BitmapData(10, 10)), _-1cY);
            k = this._-1wl(k.id, ELEM_PREVIEW_IMAGE2);
            this._-1bO((((k)!=null) ? k : new BitmapData(10, 10)), ELEM_PREVIEW_IMAGE2);
            this._-0O3();
            this._-0xv.invalidate();
        }
        private function _-3ed(_arg1:String, _arg2:Boolean):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.visible = _arg2;
            };
        }
        private function _-0O3():void
        {
            this._-Kx(ELEM_SEED1_ITEMLIST);
            this._-Kx(ELEM_SEED2_ITEMLIST);
            this._-Kx(ELEM_SEED1_BUTTONLIST);
            this._-Kx(ELEM_SEED2_BUTTONLIST);
            this._-Kx(_-0e4);
            this._-Kx(_-120);
            this._-Kx(_-43Q);
            this._-Kx(_-3O5);
            this._-0xv._-Ic();
        }
        private function _-Kx(_arg1:String):void
        {
            var k:IItemListWindow = (this._-0xv.findChildByName(_arg1) as IItemListWindow);
            if (k != null)
            {
                k._-0O3();
            };
        }
        private function _-1bO(_arg1:BitmapData, _arg2:String):void
        {
            var k:BitmapData;
            if (((!(this._-0xv)) || (!(_arg1))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg2) as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height);
            var k:_-2kE = (this._assets.getAssetByName("breed_pets_preview_bg_png") as _-2kE);
            if (k)
            {
                k = (k.content as BitmapData);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
            };
            var k:Point = new Point(((k.width - _arg1.width) / 2), ((k.height - _arg1.height) / 2));
            k.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
        }
        public function close():void
        {
            if (this._-0dg)
            {
                this._-0dg._-2qC(this);
            };
        }
        public function show():void
        {
            this._-18l = false;
            if (this._-0xv)
            {
                this._-0xv.visible = true;
            };
        }
        private function hide():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        private function _-2gQ(_arg1:String):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.onMouseClick);
            };
        }
        private function onMouseClick(_arg1:WindowMouseEvent):void
        {
            switch (_arg1.target.name)
            {
                case _-216:
                case _-Zr:
                    this.close();
                    return;
                case ELEM_PLACE_BUTTON1:
                    this._-18l = this._-vP(this._-4RU._-2Ds);
                    if (this._-18l)
                    {
                        this.close();
                    };
                    return;
                case ELEM_PLACE_BUTTON2:
                    this._-18l = this._-vP(this._resultData2._-2Ds);
                    if (this._-18l)
                    {
                        this.close();
                    };
                    return;
                case ELEM_PICK_BUTTON1:
                    this._-1dO(this._-4RU._-2Ds);
                    return;
                case ELEM_PICK_BUTTON2:
                    this._-1dO(this._resultData2._-2Ds);
                    return;
                case _-1Tc:
                    this._-1Fh(this._-4RU._-2Ds);
                    return;
                case ELEM_PREVIEW_IMAGE_REGION2:
                    this._-1Fh(this._resultData2._-2Ds);
                    return;
                case _-sr:
                    this.hide();
                    return;
                case _-3Yn:
                    this.hide();
                    return;
            };
        }
        private function _-1Fh(_arg1:int):Boolean
        {
            var k:int;
            var k:int;
            var k:int;
            var k:_-2P9 = this._-4vC(_arg1);
            if (k != null)
            {
                this._-0dg.handler.container.inventory._-4Op(_-503._-2uv);
                return (true);
            };
            var k:_-3SU = this._-3mh(_arg1);
            if (k != null)
            {
                k = this._-0dg.handler.container.roomSession.roomId;
                k = this._-0dg.handler.container.roomSession.roomCategory;
                k = _-1sV._-0u-;
                this._-0dg.handler.container.roomEngine._-0P5(k, k, k.getId(), k);
                return (true);
            };
            return (false);
        }
        private function _-1dO(_arg1:int):Boolean
        {
            var k:_-3SU = this._-3mh(_arg1);
            if (k != null)
            {
                this._-0dg.handler.container.roomEngine.modifyRoomObject(k.getId(), _-1sV._-0u-, _-2Ws.OBJECT_PICKUP);
                return (true);
            };
            return (false);
        }
        private function _-vP(_arg1:int):Boolean
        {
            var k:_-2P9 = this._-4vC(_arg1);
            return (this._-0kz(k));
        }
        private function _-3mh(_arg1:int):_-3SU
        {
            var k:int = this._-0dg.handler.container.roomSession.roomId;
            var k:int = this._-0dg.handler.container.roomSession.roomCategory;
            var k:int = _-1sV._-0u-;
            var k:_-3SU = this._-0dg.handler.container.roomEngine.getRoomObject(k, k, _arg1, k);
            return (k);
        }
        private function _-4vC(_arg1:int):_-2P9
        {
            if (this._-0dg == null)
            {
                return (null);
            };
            var k:_-1bw = this._-0dg.handler.container.inventory;
            if (k == null)
            {
                return (null);
            };
            var k:_-2P9 = k._-239(-(_arg1));
            return (k);
        }
        private function _-0kz(_arg1:_-2P9):Boolean
        {
            if ((((_arg1 == null)) || ((this._-0dg == null))))
            {
                return (false);
            };
            var k:_-1bw = this._-0dg.handler.container.inventory;
            if (k == null)
            {
                return (false);
            };
            var k:Boolean;
            if ((((((_arg1.category == _-1mk._-3s7)) || ((_arg1.category == _-1mk._-3hq)))) || ((_arg1.category == _-1mk._-48R))))
            {
                k = false;
            }
            else
            {
                k = k._-3P0(_arg1);
            };
            return (k);
        }
        public function _-2fW(_arg1:int):void
        {
            if ((((this._-4RU == null)) || ((this._resultData2 == null))))
            {
                return;
            };
            if ((((this._-4RU._-2Ds == _arg1)) || ((this._resultData2._-2Ds == _arg1))))
            {
                this._-1gc();
                this.show();
            };
        }
        public function _-3H3(_arg1:int):void
        {
            if ((((this._-4RU == null)) || ((this._resultData2 == null))))
            {
                return;
            };
            if ((((this._-4RU._-2Ds == _arg1)) || ((this._resultData2._-2Ds == _arg1))))
            {
                this._-1gc();
                this.show();
            };
        }
        public function _-1gc():void
        {
            this._-4VN(this._-4RU, ELEM_PLACE_BUTTON1, ELEM_PICK_BUTTON1);
            this._-4VN(this._resultData2, ELEM_PLACE_BUTTON2, ELEM_PICK_BUTTON2);
            this._-0O3();
        }
        private function _-4VN(_arg1:_-1VH, _arg2:String, _arg3:String):void
        {
            var k:_-2P9;
            if ((((this._-0xv == null)) || ((_arg1 == null))))
            {
                return;
            };
            var k:int = this._-0dg.handler.container.sessionDataManager.userId;
            var k = (_arg1.userId == k);
            var k:Boolean;
            var k:Boolean;
            var k:_-3SU = this._-3mh(_arg1._-2Ds);
            if (k != null)
            {
                k = true;
            };
            if (!k)
            {
                k = this._-4vC(_arg1._-2Ds);
                if (k != null)
                {
                    k = true;
                };
            };
            var k:IWindow = this._-0xv.findChildByName(_arg2);
            var k:IWindow = this._-0xv.findChildByName(_arg3);
            if (k != null)
            {
                k.visible = false;
                if (k)
                {
                    if (k)
                    {
                        k.visible = true;
                    };
                    if (((!(k)) && (!(k))))
                    {
                        k.visible = true;
                    };
                };
            };
            if (k != null)
            {
                k.visible = false;
                if (k)
                {
                    if (k)
                    {
                        k.visible = true;
                    };
                };
            };
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-3gy

package _-DW
{
    import _-3mW._-1IS;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-3gy extends _-2XK 
    {

        public function _-3gy(_arg1:AvatarInfoWidget, _arg2:int, _arg3:String, _arg4:int)
        {
            super(_arg1);
            _-14p = false;
            _-2XK.setup(this, _arg2, _arg3, _arg4, _-1IS._-0p3);
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (!_-0xv)
            {
                k = (_-243(_-0dg.assets.getAssetByName("own_avatar_decorating")).content as XML);
                _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                if (!_-0xv)
                {
                    return;
                };
                _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this._-xg;
                this._-4VN();
            };
            this.activeView = _-0xv;
        }
        override public function show():void
        {
            if (_-1Ke != null)
            {
                _-1Ke.visible = true;
                _-1Ke.activate();
            };
        }
        override public function hide(_arg1:Boolean):void
        {
            if (_-1Ke != null)
            {
                _-1Ke.visible = false;
            };
            _-3Ot = false;
        }
        override protected function set activeView(_arg1:IWindowContainer):void
        {
            if (!_arg1)
            {
                return;
            };
            _-1Ke = _arg1;
        }
        public function _-0m7():Boolean
        {
            return (((_-1Ke) && (_-1Ke.visible)));
        }
        public function _-4VN():void
        {
            _-XT("decorate");
        }
        private function _-xg(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    switch (_arg2.parent.name)
                    {
                        case "decorate":
                            this.widget._-4bQ = false;
                            break;
                    };
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    super.buttonEventProc(_arg1, _arg2);
                    _-3Ot = true;
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        super.buttonEventProc(_arg1, _arg2);
                        _-3Ot = false;
                    }
                    else
                    {
                        super.buttonEventProc(_arg1, _arg2);
                    };
                };
            };
        }
        override public function get maximumBlend():Number
        {
            return (0.8);
        }
        private function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-3ir

package _-DW
{
    public class _-3ir 
    {

        public static const _-3K3:int = 0;
        public static const _-3ap:int = 1;

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-3Ty

package _-DW
{
    import _-0Ie.WindowMouseEvent;
    import _-4f7.AvatarInfoWidgetHandler;
    import _-3V-._-3SU;
    import _-1ae.IItemListWindow;
    import _-1Jd._-4JJ;
    import _-1Jd._-51K;
    import _-1C6._-4ky;
    import _-3mW._-1sV;
    import _-3mW._-4Wq;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-1FD._-1yP;
    import _-1FD._-3VD;
    import _-1FD._-4jZ;
    import _-2gz.HabboTracking;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-3Ty extends _-2XK 
    {

        protected static const _-3rv:uint = 0;
        private static const _-1zc:int = 1;
        private static const _-21W:int = 2;
        private static const _-4C5:int = 3;

        private var _-0qE:_-087;
        private var _-3Wi:int = 0;

        public function _-3Ty(_arg1:AvatarInfoWidget)
        {
            super(_arg1);
            _-14p = false;
        }
        public static function setup(_arg1:_-3Ty, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:_-087):void
        {
            _arg1._-0qE = _arg6;
            var k:Boolean = _arg1.widget._-2U8;
            var k:Boolean = _arg1.widget._-0mh;
            if (_arg1.widget._-28P())
            {
                _arg1._-3Wi = _-4C5;
            }
            else
            {
                if (((k) && (!(k))))
                {
                    _arg1._-3Wi = _-1zc;
                }
                else
                {
                    if (k)
                    {
                        _arg1._-3Wi = _-21W;
                    }
                    else
                    {
                        _arg1._-3Wi = _-3rv;
                    };
                };
            };
            _-2XK.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
        }

        override public function dispose():void
        {
            if (_-0xv)
            {
                _-0xv.removeEventListener(WindowMouseEvent._-4ea, _-4ed);
                _-0xv.removeEventListener(WindowMouseEvent._-4e2, _-4ed);
            };
            this._-0qE = null;
            super.dispose();
        }
        protected function _-4VN():void
        {
            var k:Number;
            var k:Number;
            var k:AvatarInfoWidgetHandler;
            var k:int;
            var k:_-3SU;
            var k:int;
            if (((!(_-0xv)) || (!(this._-0qE))))
            {
                return;
            };
            var k:IItemListWindow = (_-0xv.findChildByName("buttons") as IItemListWindow);
            if (!k)
            {
                return;
            };
            k.procedure = this.buttonEventProc;
            k.autoArrangeItems = false;
            var k:int = k.numListItems;
            var k:int;
            while (k < k)
            {
                k.getListItemAt(k).visible = false;
                k++;
            };
            var k:_-4JJ = this.widget.handler.roomSession;
            var k:_-51K = this.widget.handler.container.sessionDataManager;
            if (((((k._-49x) || (k._-3eu))) || ((k._-125 >= _-4ky._-YE))))
            {
                _-XT("pick_up");
            };
            switch (this._-3Wi)
            {
                case _-3rv:
                    _-XT("respect", (this._-0qE._-193 > 0));
                    break;
                case _-1zc:
                    if (this.widget.configuration.getBoolean("sharedhorseriding.enabled", false))
                    {
                        _-XT("mount");
                    };
                    _-XT("respect", (this._-0qE._-193 > 0));
                    break;
                case _-21W:
                    if (this.widget.configuration.getBoolean("sharedhorseriding.enabled", false))
                    {
                        _-XT("dismount");
                    };
                    _-XT("respect", (this._-0qE._-193 > 0));
                    break;
                case _-4C5:
                    if (!this._-0qE._-2gH)
                    {
                        _-XT("respect", false);
                        k = (this._-0qE.energy as Number);
                        k = (this._-0qE._-Ds as Number);
                        _-XT("treat", true, ((k / k) < 0.98));
                    };
                    break;
            };
            this.widget.localizations.registerParameter("infostand.button.petrespect", "count", this._-0qE._-193.toString());
            if (this.widget.configuration.getBoolean("handitem.give.pet.enabled", false))
            {
                k = this.widget.handler;
                k = k.container.roomSession._-1NZ;
                k = k.container.roomEngine.getRoomObject(k.roomSession.roomId, k.roomSession.roomCategory, k, _-1sV._-3I0);
                if (k != null)
                {
                    k = k.getModel().getNumber(_-4Wq._-3kn);
                    if ((((k > 0)) && ((k < 999999))))
                    {
                        _-XT("pass_handitem");
                    };
                };
            };
            k.autoArrangeItems = true;
            k.visible = true;
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("pet_menu")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this.buttonEventProc;
                _-0xv.findChildByName("name").caption = _-2lb;
                _-0xv.visible = false;
                activeView = _-0xv;
                this._-4VN();
            };
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            var k:_-1yP;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    k = true;
                    switch (_arg2.parent.name)
                    {
                        case "mount":
                            k = new _-3VD(_-3VD._-44, userId);
                            break;
                        case "dismount":
                            k = new _-3VD(_-3VD._-5As, userId);
                            break;
                        case "respect":
                            this._-0qE._-193 = (this._-0qE._-193 - 1);
                            this._-4VN();
                            k = new _-3VD(_-3VD._-2yN, userId);
                            break;
                        case "treat":
                            k = new _-3VD(_-3VD._-27c, userId);
                            break;
                        case "pass_handitem":
                            k = new _-3VD(_-3VD._-4e1, userId);
                            break;
                        case "pick_up":
                            k = new _-3VD(_-3VD._-09, userId);
                            break;
                    };
                };
                if (_arg2.name == "profile_link")
                {
                    k = new _-4jZ(_-4jZ._-3aE, _-4lu, "petContextMenu");
                };
                if (k != null)
                {
                    k = new _-3VD(k, _-4lu);
                    HabboTracking._-0ON().trackEventLog("InfoStand", "click", k);
                };
                if (k != null)
                {
                    _-0dg.messageListener.processWidgetMessage(k);
                };
                this._-4VN();
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        private function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-4Ha

package _-DW
{
    import _-1ae.IFrameWindow;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-18r.Map;
    import _-1Jd._-4LX;
    import flash.display.BitmapData;
    import _-0l8.PetFigureData;
    import _-0y0._-Xl;
    import _-293._-2Gt;
    import _-og._-318;
    import _-1ae.IItemListWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.ITextFieldWindow;
    import flash.geom.Point;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-293.*;
    import _-1B-.*;

    public class _-4Ha implements _-1zZ, dynamic 
    {

        private static const _-3O5:String = "element_list";
        private static const _-43Q:String = "preview_list";
        private static const ELEM_PET1_ITEMLIST:String = "pet1_itemlist";
        private static const ELEM_PET2_ITEMLIST:String = "pet2_itemlist";
        private static const _-1s:String = "description";
        private static const _-50L:String = "request";
        private static const _-Zr:String = "header_button_close";
        private static const _-3Yn:String = "save_button";
        private static const _-36y:String = "accept_button";
        private static const _-H:String = "cancel_button";
        private static const _-sr:String = "ok_button";
        private static const _-4Dj:String = "button_list";

        private var _-0xv:IFrameWindow;
        private var _-4Bk:Boolean = false;
        private var _-0dg:AvatarInfoWidget;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-Za:Map;
        private var _-3n1:int;
        private var _-10Y:int;
        private var _-BJ:_-4LX;
        private var _petData2:_-4LX;
        private var _-0tO:Boolean = false;
        private var _-2CO:int;
        private var _-15y:Array;
        private var _-0V8:int;

        public function _-4Ha(_arg1:AvatarInfoWidget)
        {
            this._-0dg = _arg1;
            this._-U- = _arg1.windowManager;
            this._assets = this._-0dg.assets;
            this._-Za = new Map();
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._-4Bk = true;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (this._-Za != null)
            {
                this._-Za.dispose();
            };
            this._-Za = null;
        }
        public function get _-2Ux():int
        {
            return (this._-3n1);
        }
        public function get _-ok():int
        {
            return (this._-10Y);
        }
        public function open(_arg1:int, _arg2:int, _arg3:int, _arg4:Array, _arg5:int):void
        {
            this._-3n1 = _arg1;
            this._-10Y = _arg2;
            this._-BJ = this._-0dg.handler.roomSession.userDataManager.getUserDataByIndex(_arg1);
            this._petData2 = this._-0dg.handler.roomSession.userDataManager.getUserDataByIndex(_arg2);
            this._-15y = _arg4;
            this._-0V8 = _arg5;
            this._-2CO = _arg3;
            this._-0-s();
            this._-0xv.visible = true;
        }
        private function _-1wl(_arg1:String, _arg2:String, _arg3:int=64):BitmapData
        {
            var k:BitmapData;
            var k:int;
            var k:PetFigureData = new PetFigureData(_arg1);
            var k:String = "std";
            var k:_-2Gt = this._-0dg.handler.roomEngine._-2s2(k.typeId, k.paletteId, k.color, new _-Xl(90), _arg3, this, true, 0, k._-uk, k);
            if (k != null)
            {
                k = k.id;
                if (k > 0)
                {
                    this._-Za.add(k, _arg2);
                };
                k = k.data;
            };
            return (k);
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (this.disposed)
            {
                return;
            };
            var k:String = this._-Za.getValue(_arg1);
            if (k != null)
            {
                this._-1bO(_arg2, k);
            };
        }
        private function _-0-s():void
        {
            var k:_-318;
            var k:IItemListWindow;
            var k:int;
            var k:PetFigureData;
            var k:IBitmapWrapperWindow;
            this._-0dg.localizations.registerParameter("breedpets.widget.title", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("breedpets.widget.pet1.name", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("breedpets.widget.pet2.name", "name", this._petData2.name);
            this._-0dg.localizations.registerParameter("breedpets.widget.pet1.description", "name", this._-BJ._-0aC);
            this._-0dg.localizations.registerParameter("breedpets.widget.pet2.description", "name", this._petData2._-0aC);
            this._-0dg.localizations.registerParameter("breedpets.widget.pet1.level", "level", this._-BJ._-4mx.toString());
            this._-0dg.localizations.registerParameter("breedpets.widget.pet2.level", "level", this._petData2._-4mx.toString());
            this._-0dg.localizations.registerParameter("breedpets.widget.request", "name", this._petData2._-0aC);
            if (!this._-0xv)
            {
                this._-0xv = (this._-U-.buildFromXML((this._assets.getAssetByName("confirm_pet_breeding_xml").content as XML)) as IFrameWindow);
                this._-2gQ(_-Zr);
            };
            this._-0xv.center();
            this._-0xv.visible = true;
            this._-2gQ(_-3Yn);
            this._-2gQ(_-H);
            this.enable();
            var k:BitmapData = this._-1wl(this._-BJ.figure, "preview_image");
            this._-1bO((((k)!=null) ? k : new BitmapData(10, 10)), "preview_image");
            k = this._-1wl(this._petData2.figure, "preview_image2");
            this._-1bO((((k)!=null) ? k : new BitmapData(10, 10)), "preview_image2");
            var k:IBitmapWrapperWindow = (this._-U-.buildFromXML((this._assets.getAssetByName("pet_breeding_pet_preview_xml").content as XML)) as IBitmapWrapperWindow);
            var k:int = 1;
            for each (k in this._-15y)
            {
                this._-0dg.localizations.registerParameter(("breedpets.confirmation.widget.raritycategory." + k), "percent", k._-2RU.toString());
                k = (this._-0xv.findChildByName(("breeds" + k)) as IItemListWindow);
                k._-3mI();
                for each (k in k.breeds)
                {
                    k = new PetFigureData([this._-0V8, k].join(" "));
                    k = (k.clone() as IBitmapWrapperWindow);
                    k.name = ("breed." + k);
                    k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
                    if (k)
                    {
                        k.addListItem(k);
                    };
                    k = this._-1wl(k._-11I, k.name, 32);
                    this._-1bO((((k)!=null) ? k : new BitmapData(25, 25, true, 0xFFFFFF)), k.name);
                };
                k++;
            };
            this._-0O3();
            (this._-0xv.findChildByName("puppy.name.input") as ITextFieldWindow).setSelection(0, 0);
            this._-0xv.invalidate();
        }
        private function _-0O3():void
        {
            this._-Kx(_-4Dj);
            this._-Kx(ELEM_PET1_ITEMLIST);
            this._-Kx(ELEM_PET2_ITEMLIST);
            this._-Kx(_-43Q);
            this._-Kx(_-3O5);
            this._-0xv._-Ic();
        }
        private function _-Kx(_arg1:String):void
        {
            var k:IItemListWindow = (this._-0xv.findChildByName(_arg1) as IItemListWindow);
            if (k != null)
            {
                k._-0O3();
            };
        }
        private function _-1bO(_arg1:BitmapData, _arg2:String):void
        {
            if (((!(this._-0xv)) || (!(_arg1))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName(_arg2) as IBitmapWrapperWindow);
            k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
            var k:Point = new Point(((k.width - _arg1.width) / 2), ((k.height - _arg1.height) / 2));
            k.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
        }
        public function close():void
        {
            if (this._-0xv)
            {
                this._-0xv.visible = false;
            };
        }
        private function disable():void
        {
            this._-3ed(_-1s, false, false);
            this._-3ed(_-50L, false, false);
            this._-3ed(_-H, false, true);
            this._-3ed(_-1s, false, true);
            this._-3ed(_-3Yn, false, true);
        }
        public function enable():void
        {
            this._-3ed(_-1s, false, false);
            this._-3ed(_-50L, false, false);
            this._-3ed(_-H, true, true);
            this._-3ed(_-1s, true, true);
            this._-3ed(_-3Yn, true, true);
        }
        private function _-2gQ(_arg1:String):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.onMouseClick);
            };
        }
        private function _-3ed(_arg1:String, _arg2:Boolean, _arg3:Boolean):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.visible = _arg3;
                if (_arg2)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
        }
        private function onMouseClick(_arg1:WindowMouseEvent):void
        {
            var _local2:String;
            switch (_arg1.target.name)
            {
                case _-Zr:
                case _-H:
                    this._-0dg._-3I2(this._-2CO);
                    this.close();
                    return;
                case _-sr:
                    this.disable();
                    return;
                case _-3Yn:
                    _local2 = this._-0xv.findChildByName("puppy.name.input").caption;
                    if (_local2.length == 0)
                    {
                        this._-U-.simpleAlert("${breedpets.confirmation.alert.title}", "${breedpets.confirmation.alert.name.required.head}", "${breedpets.confirmation.alert.name.required.desc}");
                    }
                    else
                    {
                        this._-0dg._-2pQ(this._-2CO, _local2, this._-BJ._-2-w, this._petData2._-2-w);
                        this.disable();
                    };
                    return;
            };
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW._-4Nv

package _-DW
{
    import _-og._-0Yz;
    import _-0Ie.WindowMouseEvent;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-1FD._-1yP;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-4Nv extends _-2XK 
    {

        private static const _-3rv:int = 0;

        private var _-3Wi:int;
        private var _-045:_-0Yz;
        private var _-us:Boolean;

        public function _-4Nv(_arg1:AvatarInfoWidget)
        {
            super(_arg1);
            _-14p = false;
        }
        public static function setup(_arg1:_-4Nv, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:_-0Yz, _arg7:Boolean):void
        {
            _arg1._-045 = _arg6;
            _arg1._-us = _arg7;
            _-2XK.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
        }

        public function get _-mx():int
        {
            return (this._-045.id);
        }
        public function get _-2Ux():int
        {
            return (this._-045._-2Ux);
        }
        override public function dispose():void
        {
            if (_-0xv)
            {
                _-0xv.removeEventListener(WindowMouseEvent._-4ea, _-4ed);
                _-0xv.removeEventListener(WindowMouseEvent._-4e2, _-4ed);
            };
            if (this._-045)
            {
                this._-045.dispose();
            };
            this._-045 = null;
            super.dispose();
        }
        private function _-2TY():void
        {
            var k:int = this.widget.handler.roomSession.roomId;
            var k:int = this.widget.handler.roomSession.roomCategory;
            this._-3Wi = _-3rv;
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            this._-2TY();
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("breed_pet_menu")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this.buttonEventProc;
                _-0xv.findChildByName("name").caption = _-2lb;
                _-0xv.visible = false;
                activeView = _-0xv;
                this._-4VN();
            };
        }
        public function _-4VN():void
        {
            if (((!(_-0xv)) || (!(_-0Ib))))
            {
                return;
            };
            _-0Ib.autoArrangeItems = false;
            var k:int = _-0Ib.numListItems;
            var k:int;
            while (k < k)
            {
                _-0Ib.getListItemAt(k).visible = false;
                k++;
            };
            switch (this._-3Wi)
            {
                case _-3rv:
                    if (this._-us)
                    {
                        _-XT("breed");
                    };
                    break;
            };
            _-0Ib.autoArrangeItems = true;
            _-0Ib.visible = true;
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1yP;
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    k = true;
                    switch (_arg2.parent.name)
                    {
                        case "breed":
                            this.widget._-12J(this._-045._-2Ux, this._-045._-ok, false);
                            break;
                    };
                };
                if (k)
                {
                    _-0dg.messageListener.processWidgetMessage(k);
                };
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                this.widget._-2Ek();
            };
        }
        private function _-31K(_arg1:int):void
        {
            this._-3Wi = _arg1;
            this._-4VN();
        }
        private function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW.AvatarInfoWidget

package _-DW
{
    import _-FP._-2ul;
    import _-1B-._-Px;
    import _-4Wu._-4uR;
    import _-18r.Map;
    import _-3Bn._-1Ii;
    import _-0mD._-2Jq;
    import _-59g._-4KP;
    import _-4WI._-4yb;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-4f7.AvatarInfoWidgetHandler;
    import _-1Jd._-4LX;
    import _-3mW._-1sV;
    import _-og._-0Yz;
    import _-1FD._-1m0;
    import _-2SY._-0Fy;
    import _-og._-3c;
    import _-og._-3QH;
    import _-og._-08b;
    import _-og._-4Iz;
    import _-og._-0ER;
    import _-og._-3Sk;
    import _-og._-0D-;
    import _-og._-3Aa;
    import _-og._-4Uf;
    import _-og._-4oW;
    import _-og._-0wf;
    import _-og._-5-J;
    import _-og._-3Uf;
    import _-1FD._-1lN;
    import _-og._-S5;
    import _-og._-4hs;
    import flash.events.IEventDispatcher;
    import _-og._-49d;
    import _-3V-._-3SU;
    import _-3mW._-1IS;
    import _-3V-._-30N;
    import _-3mW._-4Wq;
    import _-0se._-18q;
    import _-0l8._-3iK;
    import _-0y0._-AY;
    import _-3XW._-1eN;
    import _-og._-2AE;
    import _-1FD._-0hl;
    import _-0se._-06U;
    import _-1Jd._-1ij;
    import _-3Mo._-26z;
    import _-og._-2hh;
    import _-0Ie.WindowEvent;
    import _-2Vm._-1GP;
    import _-2SY._-3nv;
    import _-2SY.BotChatterMarkovConfiguration;
    import _-2SY._-Nk;
    import _-2SY._-3AI;
    import flash.geom.Point;
    import _-0S1._-3w3;
    import _-0S1._-0M5;
    import _-1B-.*;
    import _-3XW.*;

    public class AvatarInfoWidget extends _-2ul implements _-0gI, _-50z 
    {

        private static const _-4lo:int = 77;
        private static const _-0su:int = 29;
        private static const _-0qT:int = 30;
        private static const _-35l:String = "use_minimized_own_avatar_menu";

        private var _-3Gv:_-Px;
        private var _-3fD:_-4uR;
        private var _-Ke:_-2XK;
        private var _-1fU:_-3gy;
        private var _-rY:Boolean = false;
        private var _-270:Boolean = false;
        private var _-GA:_-1zy;
        private var _-1Hj:_-0e6;
        private var _-4gw:_-087;
        private var _-2pb:Boolean;
        private var _-4wz:Boolean;
        private var _-3UF:int = -1;
        private var _-1WK:Boolean = false;
        private var _-3b3:_-2XK;
        private var _-3QE:OwnAvatarMenuView;
        private var _-4vY:_-2SR;
        private var _-3VW:_-1K9;
        private var _-3QF:OwnPetMenuView;
        private var _-7d:_-3Ty;
        private var _-LG:_-1Yt;
        private var _-2aL:Map;
        private var _-1rU:Map;
        private var _-1sP:Map;
        private var _-2IO:UseProductConfirmationView;
        private var _-1jq:_-2m6;
        private var _-kG:_-4Ha;
        private var _-1gV:_-326;
        private var _-3r1:_-1Ii;
        private var _-4XQ:int = -1;
        private var _-12n:int = -1;
        private var _-0xV:Boolean = false;
        private var _-2mx:Boolean = true;
        private var _-3oJ:_-2Jq;
        private var _-y4:Map;

        public function AvatarInfoWidget(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-4uR, _arg5:_-0hg, _arg6:_-Px, _arg7:_-2Jq)
        {
            this._-y4 = new Map();
            super(_arg1, _arg2, _arg3, _arg5);
            this._-3Gv = _arg6;
            this._-3oJ = _arg7;
            this._-3fD = _arg4;
            this._-GA = new _-1zy();
            this._-4gw = new _-087();
            this._-1Hj = new _-0e6();
            this._-2pb = this._-3fD.getBoolean("menu.avatar.enabled", false);
            this._-4wz = this._-3fD.getBoolean("menu.own_avatar.enabled", false);
            this._-2aL = new Map();
            this._-1rU = new Map();
            this._-1sP = new Map();
            this.handler.roomEngine.events.addEventListener(_-4KP._-1MI, this._-1rW);
            this.handler.roomEngine.events.addEventListener(_-4KP._-1NF, this._-2xD);
            this.handler.container.inventory.events.addEventListener(_-4yb._-gU, this._-4Q6);
            this.handler.widget = this;
        }
        public function get handler():AvatarInfoWidgetHandler
        {
            return ((_-0nf as AvatarInfoWidgetHandler));
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function get localization():_-0hg
        {
            return (_-3Pe);
        }
        public function set _-01r(_arg1:Boolean):void
        {
            this._-2mx = _arg1;
        }
        private function _-1rW(_arg1:_-4KP):void
        {
            var k:_-4LX;
            if (_arg1.category == _-1sV._-3I0)
            {
                k = this.handler.roomSession.userDataManager.getUserDataByIndex(_arg1._-mx);
                if (k)
                {
                    if (this.handler._-4zV._-3kQ().indexOf(k.name) > -1)
                    {
                        this._-5BQ(k, _arg1._-mx);
                    };
                };
            };
        }
        private function _-2xD(_arg1:_-4KP):void
        {
            var k:int;
            var k:_-1ir;
            var k:Array;
            var k:_-4Nv;
            var k:int;
            var k:Array;
            var k:_-0Nn;
            if (_arg1.category == _-1sV._-3I0)
            {
                for each (k in this._-2aL)
                {
                    if (k._-mx == _arg1._-mx)
                    {
                        this.removeView(k, false);
                    };
                };
                k = [];
                for each (k in this._-1sP)
                {
                    k = k._-2Ux;
                    if (k == k)
                    {
                        k.push(k);
                    };
                };
                for each (k in k)
                {
                    this.removeView(k, false);
                };
                if (this._-1jq != null)
                {
                    if ((((_arg1._-mx == this._-1jq._-2Ux)) || ((_arg1._-mx == this._-1jq._-ok))))
                    {
                        this._-MC();
                    };
                };
                if (this._-kG != null)
                {
                    if ((((_arg1._-mx == this._-kG._-2Ux)) || ((_arg1._-mx == this._-kG._-ok))))
                    {
                        this._-42-();
                    };
                };
                if (this._-2IO != null)
                {
                    if ((((_arg1._-mx == this._-2IO._-3Qk)) || ((_arg1._-mx == this._-2IO._-ok))))
                    {
                        this._-566();
                    };
                };
            };
            if (_arg1.category == _-1sV._-0u-)
            {
                k = _arg1._-mx;
                if (this._-2IO != null)
                {
                    if (this._-2IO._-3Qk == k)
                    {
                        this._-566();
                    };
                };
                if (this._-1gV != null)
                {
                    this._-1gV._-2fW(k);
                };
                k = [];
                for each (k in this._-1rU)
                {
                    k = k._-2Ux;
                    if (k == k)
                    {
                        k.push(k);
                    };
                };
                for each (k in k)
                {
                    this.removeView(k, false);
                };
            };
        }
        public function _-0JB(_arg1:Array):void
        {
            var k:_-0Yz;
            var k:_-4LX;
            this._-3DI();
            this._-566();
            this._-MC();
            for each (k in _arg1)
            {
                k = this.handler.roomSession.userDataManager.getUserDataByIndex(k.id);
                this._-2ZX(k, k);
            };
        }
        public function _-ZD(_arg1:Array):void
        {
            var k:_-0Yz;
            var k:_-4LX;
            this._-2Ek();
            this._-566();
            this._-MC();
            for each (k in _arg1)
            {
                k = this.handler.roomSession.userDataManager.getUserDataByIndex(k.id);
                this._-2Tw(k, k);
            };
        }
        private function _-4Q6(_arg1:_-4yb):void
        {
            if ((this._-Ke is OwnAvatarMenuView))
            {
                (this._-Ke as OwnAvatarMenuView)._-4VN();
            };
        }
        private function _-19f():void
        {
            messageListener.processWidgetMessage(new _-1m0(_-1m0._-0cl, 0, 0));
        }
        override public function dispose():void
        {
            var k:_-1ir;
            var k:_-0Nn;
            var k:_-4Nv;
            var k:int;
            if (disposed)
            {
                return;
            };
            for each (k in this._-2aL)
            {
                k.dispose();
            };
            this._-2aL = null;
            for each (k in this._-1rU)
            {
                k.dispose();
            };
            this._-1rU = null;
            for each (k in this._-1sP)
            {
                k.dispose();
            };
            this._-1sP = null;
            if (this._-3Gv)
            {
                this._-3Gv.removeUpdateReceiver(this);
                this._-3Gv = null;
            };
            if (this._-3b3)
            {
                this._-3b3.dispose();
                this._-3b3 = null;
            };
            if (this._-4vY)
            {
                this._-4vY.dispose();
                this._-4vY = null;
            };
            if (this._-3QE)
            {
                this._-3QE.dispose();
                this._-3QE = null;
            };
            if (this._-3VW)
            {
                this._-3VW.dispose();
                this._-3VW = null;
            };
            if (this._-7d)
            {
                this._-7d.dispose();
                this._-7d = null;
            };
            if (this._-Ke)
            {
                if (!this._-Ke.disposed)
                {
                    this._-Ke.dispose();
                    this._-Ke = null;
                };
            };
            if (this._-1fU)
            {
                this._-1fU.dispose();
                this._-1fU = null;
            };
            if (this._-2IO)
            {
                this._-2IO.dispose();
                this._-2IO = null;
            };
            this._-MC();
            this._-42-();
            if (this._-1gV)
            {
                this._-1gV.dispose();
                this._-1gV = null;
            };
            if (this._-3r1)
            {
                this._-3r1.dispose();
                this._-3r1 = null;
            };
            if (this._-y4)
            {
                for each (k in this._-y4._-18C())
                {
                    _-0Fy(this._-y4.getValue(k)).dispose();
                };
                this._-y4.dispose();
                this._-y4 = null;
            };
            this.handler.roomEngine.events.removeEventListener(_-4KP._-1MI, this._-1rW);
            this.handler.roomEngine.events.removeEventListener(_-4KP._-1NF, this._-2xD);
            this.handler.container.inventory.events.removeEventListener(_-4yb._-gU, this._-4Q6);
            this._-Ke = null;
            this._-3fD = null;
            super.dispose();
        }
        public function close():void
        {
            this.removeView(this._-Ke, false);
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (!_arg1)
            {
                return;
            };
            _arg1.addEventListener(_-3c.RENTABLE_BOT, this._-0Eo);
            _arg1.addEventListener(_-3QH._-1Ky, this._-0Eo);
            _arg1.addEventListener(_-08b._-4v8, this._-0Eo);
            _arg1.addEventListener(_-08b._-0tH, this._-0Eo);
            _arg1.addEventListener(_-4Iz._-1iL, this._-0Eo);
            _arg1.addEventListener(_-4Iz._-4nQ, this._-0Eo);
            _arg1.addEventListener(_-4Iz._-wH, this._-0Eo);
            _arg1.addEventListener(_-0ER._-0Qg, this._-0Eo);
            _arg1.addEventListener(_-08b.BOT, this._-0Eo);
            _arg1.addEventListener(_-3Sk.PET_INFO, this._-0Eo);
            _arg1.addEventListener(_-0D-._-2dF, this._-0Eo);
            _arg1.addEventListener(_-4Iz._-58q, this._-0Eo);
            _arg1.addEventListener(_-3Aa._-2eP, this._-0Eo);
            _arg1.addEventListener(_-3Aa._-2lA, this._-0Eo);
            _arg1.addEventListener(_-4Uf._-2qN, this._-0Eo);
            _arg1.addEventListener(_-4Iz._-0xH, this._-0Eo);
            _arg1.addEventListener(_-4Iz._-0Lm, this._-0Eo);
            _arg1.addEventListener(_-4oW._-559, this._-0Eo);
            _arg1.addEventListener(_-0wf._-3nO, this._-0Eo);
            _arg1.addEventListener(_-5-J._-0lZ, this._-0Eo);
            _arg1.addEventListener(_-3Uf._-1yI, this._-0Eo);
            _arg1.addEventListener(_-1lN._-1nJ, this._-0Eo);
            _arg1.addEventListener(_-S5._-16s, this._-0Eo);
            _arg1.addEventListener(_-4hs._-1e0, this._-0Eo);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-3c.RENTABLE_BOT, this._-0Eo);
            _arg1.removeEventListener(_-3QH._-1Ky, this._-0Eo);
            _arg1.removeEventListener(_-08b._-4v8, this._-0Eo);
            _arg1.removeEventListener(_-08b._-0tH, this._-0Eo);
            _arg1.removeEventListener(_-4Iz._-1iL, this._-0Eo);
            _arg1.removeEventListener(_-4Iz._-4nQ, this._-0Eo);
            _arg1.removeEventListener(_-4Iz._-wH, this._-0Eo);
            _arg1.removeEventListener(_-0ER._-0Qg, this._-0Eo);
            _arg1.removeEventListener(_-08b.BOT, this._-0Eo);
            _arg1.removeEventListener(_-3Sk.PET_INFO, this._-0Eo);
            _arg1.removeEventListener(_-0D-._-2dF, this._-0Eo);
            _arg1.removeEventListener(_-4Iz._-58q, this._-0Eo);
            _arg1.removeEventListener(_-3Aa._-2eP, this._-0Eo);
            _arg1.removeEventListener(_-3Aa._-2lA, this._-0Eo);
            _arg1.removeEventListener(_-4Uf._-2qN, this._-0Eo);
            _arg1.removeEventListener(_-4Iz._-0Lm, this._-0Eo);
            _arg1.removeEventListener(_-4Iz._-0Lm, this._-0Eo);
            _arg1.removeEventListener(_-4oW._-559, this._-0Eo);
            _arg1.removeEventListener(_-0wf._-3nO, this._-0Eo);
            _arg1.removeEventListener(_-5-J._-0lZ, this._-0Eo);
            _arg1.removeEventListener(_-3Uf._-1yI, this._-0Eo);
            _arg1.removeEventListener(_-1lN._-1nJ, this._-0Eo);
            _arg1.removeEventListener(_-S5._-16s, this._-0Eo);
            _arg1.removeEventListener(_-4hs._-1e0, this._-0Eo);
        }
        private function _-0Eo(_arg1:_-49d):void
        {
            var _local2:_-3QH;
            var _local3:_-4oW;
            var _local4:_-0wf;
            var _local5:_-5-J;
            var _local6:_-1VH;
            var _local7:_-1VH;
            var _local8:_-3Uf;
            var _local9:int;
            var _local10:int;
            var _local11:_-S5;
            var _local12:int;
            var _local13:int;
            var _local14:_-4hs;
            var _local15:_-08b;
            var _local16:_-1zy;
            var _local17:_-3c;
            var _local18:_-08b;
            var _local19:_-4Iz;
            var k:_-4LX;
            var k:_-4LX;
            var k:_-3Sk;
            var k:_-1ir;
            switch (_arg1.type)
            {
                case _-3QH._-1Ky:
                    _local2 = (_arg1 as _-3QH);
                    if (((this._-4wz) && (_local2._-0Jg)))
                    {
                        this._-3Y8 = true;
                        this._-2Po();
                    }
                    else
                    {
                        this._-mX(_local2.userId, _local2.userName, _local2._-0KC, _local2._-0Jg, null);
                    };
                    this._-rY = true;
                    break;
                case _-4Uf._-2qN:
                    if (_-4Uf(_arg1).category == _-1sV._-3I0)
                    {
                        this._-mX(_-4Uf(_arg1).userId, _-4Uf(_arg1).userName, _-4Uf(_arg1)._-0KC, false, null);
                    };
                    break;
                case _-4Iz._-1iL:
                    if (_-4Iz(_arg1).category == _-1sV._-0u-)
                    {
                        if (this._-1gV != null)
                        {
                            this._-1gV._-3H3(_-4Iz(_arg1).id);
                        };
                    };
                    break;
                case _-4Iz._-4nQ:
                    if (_-4Iz(_arg1).category == _-1sV._-3I0)
                    {
                        this._-2mx = true;
                    };
                    this._-2Ek();
                    break;
                case _-4Iz._-wH:
                    if (((this._-Ke) && (!((this._-Ke is _-1Yt)))))
                    {
                        this.removeView(this._-Ke, false);
                    };
                    this._-3DI();
                    this._-2Ek();
                    break;
                case _-0ER._-0Qg:
                    if (this._-Ke)
                    {
                        this.removeView(this._-Ke, false);
                    };
                    this._-3DI();
                    this._-2Ek();
                    break;
                case _-4Iz._-0xH:
                    if (!(((((((((this._-Ke is _-2SR)) || ((this._-Ke is OwnAvatarMenuView)))) || ((this._-Ke is OwnPetMenuView)))) || ((this._-Ke is _-1Yt)))) || ((this._-Ke is _-1K9))))
                    {
                        this._-3UF = _-4Iz(_arg1).id;
                        messageListener.processWidgetMessage(new _-1m0(_-1m0._-1lV, _-4Iz(_arg1).id, _-4Iz(_arg1).category));
                    };
                    break;
                case _-4Iz._-0Lm:
                    if (!(((((((((this._-Ke is _-2SR)) || ((this._-Ke is OwnAvatarMenuView)))) || ((this._-Ke is OwnPetMenuView)))) || ((this._-Ke is _-1Yt)))) || ((this._-Ke is _-1K9))))
                    {
                        if (_-4Iz(_arg1).id == this._-3UF)
                        {
                            if (((this._-Ke) && (!(this._-Ke._-0Jg))))
                            {
                                this.removeView(this._-Ke, false);
                                this._-3UF = -1;
                            };
                        };
                    };
                    break;
                case _-4oW._-559:
                    _local3 = (_arg1 as _-4oW);
                    if (((this._-Ke) && ((this._-Ke is OwnPetMenuView))))
                    {
                        if (((!((_local3 == null))) && (!((this._-4gw == null)))))
                        {
                            k = this.handler.roomSession.userDataManager.getUserDataByIndex(_local3._-3yD);
                            if (((!((k == null))) && ((k._-2-w == this._-4gw.id))))
                            {
                                this.removeView(this._-Ke, true);
                            };
                        };
                    };
                    if (_local3 != null)
                    {
                        this._-DL(_local3._-3yD);
                    };
                    break;
                case _-0wf._-3nO:
                    _local4 = (_arg1 as _-0wf);
                    if (((this._-Ke) && ((this._-Ke is OwnPetMenuView))))
                    {
                        if (((!((_local4 == null))) && (!((this._-4gw == null)))))
                        {
                            k = this.handler.roomSession.userDataManager.getUserDataByIndex(_local4._-3yD);
                            if (((!((k == null))) && ((k._-2-w == this._-4gw.id))))
                            {
                                this.removeView(this._-Ke, true);
                            };
                        };
                    };
                    if (_local4 != null)
                    {
                        this._-DL(_local4._-3yD);
                    };
                    break;
                case _-5-J._-0lZ:
                    _local5 = (_arg1 as _-5-J);
                    _local6 = new _-1VH();
                    _local6._-2Ds = _local5.class._-2Ds;
                    _local6._-YT = _local5.class._-YT;
                    _local6._-1A8 = _local5.class._-1A8;
                    _local6.userId = _local5.class.userId;
                    _local6.userName = _local5.class.userName;
                    _local6.rarityLevel = _local5.class.rarityLevel;
                    _local6._-2Zg = _local5.class._-2Zg;
                    _local7 = new _-1VH();
                    _local7._-2Ds = _local5.resultData2._-2Ds;
                    _local7._-YT = _local5.resultData2._-YT;
                    _local7._-1A8 = _local5.resultData2._-1A8;
                    _local7.userId = _local5.resultData2.userId;
                    _local7.userName = _local5.resultData2.userName;
                    _local7.rarityLevel = _local5.resultData2.rarityLevel;
                    _local7._-2Zg = _local5.resultData2._-2Zg;
                    this._-33t(_local6, _local7);
                    break;
                case _-3Uf._-1yI:
                    _local8 = (_arg1 as _-3Uf);
                    _local9 = this._-467(_local8._-4Mj);
                    _local10 = this._-467(_local8._-OO);
                    switch (_local8.state)
                    {
                        case _-3Uf._-2-Y:
                            this._-12J(_local9, _local10, false);
                            break;
                        case _-3Uf._-3Tg:
                            this._-3bq(_local9, _local10);
                            break;
                        case _-3Uf._-64:
                            this._-3bd(_local9, _local10);
                            break;
                        case _-3Uf._-3PT:
                            this._-12J(_local9, _local10, true);
                            break;
                    };
                    break;
                case _-1lN._-1nJ:
                    if (this._-1gV != null)
                    {
                        this._-1gV._-1gc();
                    };
                    break;
                case _-S5._-16s:
                    _local11 = (_arg1 as _-S5);
                    _local12 = this._-467(_local11.pet1._-2HY);
                    _local13 = this._-467(_local11.pet2._-2HY);
                    this._-4i1(_local12, _local13, _local11._-4rm, _local11._-4pB, _local11._-086);
                    break;
                case _-4hs._-1e0:
                    _local14 = (_arg1 as _-4hs);
                    switch (_local14.result)
                    {
                        case _-4hs._-4Ou:
                            this._-42-();
                            break;
                        case _-4hs.INVALID_NAME:
                            windowManager.simpleAlert("${breedpets.confirmation.alert.title}", "${breedpets.confirmation.alert.name.invalid.head}", "${breedpets.confirmation.alert.name.invalid.desc}");
                            if (this._-kG)
                            {
                                this._-kG.enable();
                            };
                            break;
                        case _-4hs._-25I:
                            windowManager.simpleAlert("${breedpets.confirmation.alert.title}", "${breedpets.confirmation.alert.nonest.head}", "${breedpets.confirmation.alert.nonest.desc}");
                            this._-42-();
                            break;
                        case _-4hs._-2H3:
                            windowManager.simpleAlert("${breedpets.confirmation.alert.title}", "${breedpets.confirmation.alert.petsmissing.head}", "${breedpets.confirmation.alert.petsmissing.desc}");
                            this._-42-();
                            break;
                    };
                    break;
                case _-08b._-4v8:
                case _-08b._-0tH:
                    _local15 = (_arg1 as _-08b);
                    this._-GA.populate(_local15);
                    _local16 = ((_local15._-25V) ? null : this._-GA);
                    this._-mX(_local15._-2-w, _local15.name, _local15._-1V8, this._-GA._-0Jg, _local16);
                    break;
                case _-3c.RENTABLE_BOT:
                    _local17 = (_arg1 as _-3c);
                    this._-1Hj.populate(_local17);
                    this._-1at(_local17._-2-w, _local17.name, _local17._-1V8, this._-1Hj);
                    break;
                case _-08b.BOT:
                    _local18 = (_arg1 as _-08b);
                    this._-mX(_local18._-2-w, _local18.name, _local18._-1V8, false, null);
                    break;
                case _-3Sk.PET_INFO:
                    if (this._-2mx)
                    {
                        k = (_arg1 as _-3Sk);
                        this._-4gw.populate(k);
                        this._-0oc(k.id, k.name, k._-0KC, this._-4gw);
                    };
                    break;
                case _-0D-._-2dF:
                    if (!this._-rY)
                    {
                        this._-19f();
                    };
                    break;
                case _-4Iz._-58q:
                    _local19 = (_arg1 as _-4Iz);
                    if (((this._-Ke) && ((this._-Ke._-0KC == _local19.id))))
                    {
                        this.removeView(this._-Ke, false);
                    };
                    for each (k in this._-2aL)
                    {
                        if (k._-mx == _local19.id)
                        {
                            this.removeView(k, false);
                            break;
                        };
                    };
                    this._-DL(_local19.id);
                    break;
                case _-3Aa._-2eP:
                    this._-270 = false;
                    break;
                case _-3Aa._-2lA:
                    this._-270 = true;
                    break;
            };
            this._-1Nk();
        }
        private function _-467(_arg1:int):int
        {
            var k:_-3SU;
            var k:_-4LX;
            var k:int = this.handler.container.roomSession.roomId;
            var k:int = this.handler.container.roomSession.roomCategory;
            var k:int = this.handler.container.roomEngine.getRoomObjectCount(k, k, _-1sV._-3I0);
            var k:int;
            while (k < k)
            {
                k = this.handler.container.roomEngine.getRoomObjectWithIndex(k, k, k, _-1sV._-3I0);
                k = this.handler.container.roomSession.userDataManager.getUserDataByIndex(k.getId());
                if ((((k == null)) || (!((k.type == _-1IS._-2rN)))))
                {
                }
                else
                {
                    if (k._-2-w == _arg1)
                    {
                        return (k.getId());
                    };
                };
                k++;
            };
            return (-1);
        }
        private function _-DL(_arg1:int):void
        {
            var k:_-4Nv;
            var k:_-4Nv;
            var k:Array = new Array();
            for each (k in this._-1sP)
            {
                if ((((k._-mx == _arg1)) || ((k._-2Ux == _arg1))))
                {
                    if (k.indexOf(k) == -1)
                    {
                        k.push(k);
                    };
                };
            };
            for each (k in k)
            {
                this.removeView(k, false);
            };
        }
        public function _-2Po():void
        {
            var k:_-1m0;
            if (((((!(this.handler)) || (!(this.handler.container)))) || (!(this.handler.roomSession))))
            {
                return;
            };
            var k:int = this.handler.container.sessionDataManager.userId;
            var k:_-4LX = this.handler.roomSession.userDataManager._-2Xd(k);
            if (!k)
            {
                return;
            };
            k = new _-1m0(_-1m0._-2Ai, k.roomObjectId, _-1sV._-3I0);
            this.handler.container.processWidgetMessage(k);
        }
        public function get _-Vh():String
        {
            var k:_-30N;
            var k:_-3SU = this._-0jf();
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    return (k.getString(_-4Wq._-0nJ));
                };
            };
            return (_-18q._-3TX);
        }
        public function get _-2Rb():Boolean
        {
            var k:_-30N;
            var k:_-3SU = this._-0jf();
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    return ((k.getNumber(_-4Wq._-4bY) > 0));
                };
            };
            return (false);
        }
        public function get _-4IJ():Boolean
        {
            var k:_-30N;
            var k:Number;
            var k:_-3SU = this._-0jf();
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    k = k.getNumber(_-4Wq._-4AQ);
                    return ((((k == _-0su)) || ((k == _-0qT))));
                };
            };
            return (false);
        }
        private function _-1at(_arg1:int, _arg2:String, _arg3:int, _arg4:_-0e6):void
        {
            if (!_arg4)
            {
                return;
            };
            var k:Boolean = this._-3fD.getBoolean("menu.bot.enabled", false);
            if (((((k) && (this._-Ke))) && (!((((((((((this._-Ke is _-2SR)) || ((this._-Ke is OwnAvatarMenuView)))) || ((this._-Ke is _-3Ty)))) || ((this._-Ke is OwnPetMenuView)))) || ((this._-Ke is _-1K9)))))))
            {
                this.removeView(this._-Ke, false);
            };
            this._-3DI();
            if ((((((((((this._-Ke == null)) || (!((this._-Ke.userId == _arg1))))) || (!((this._-Ke.userName == _arg2))))) || (!((this._-Ke._-0KC == _arg3))))) || (!((this._-Ke._-5EQ == _-1IS._-qF)))))
            {
                if (this._-Ke)
                {
                    this.removeView(this._-Ke, false);
                };
                if (!this._-270)
                {
                    if (!this._-3VW)
                    {
                        this._-3VW = new _-1K9(this);
                    };
                    this._-Ke = this._-3VW;
                    _-1K9.setup((this._-Ke as _-1K9), _arg1, _arg2, _arg3, _-1IS._-qF, _arg4);
                };
            }
            else
            {
                if ((this._-Ke is _-1K9))
                {
                    if (this._-Ke.userName == _arg2)
                    {
                        this.removeView(this._-Ke, false);
                    };
                };
            };
        }
        private function _-0oc(_arg1:int, _arg2:String, _arg3:int, _arg4:_-087):void
        {
            if (!_arg4)
            {
                return;
            };
            var k:Boolean = ((((this._-3fD.getBoolean("menu.pet.enabled", true)) || ((_arg4._-1pq == _-3iK._-3p6)))) ? this._-2pb : false);
            if (((((k) && (this._-Ke))) && (!((((((((((this._-Ke is _-2SR)) || ((this._-Ke is OwnAvatarMenuView)))) || ((this._-Ke is _-3Ty)))) || ((this._-Ke is OwnPetMenuView)))) || ((this._-Ke is _-1K9)))))))
            {
                this.removeView(this._-Ke, false);
            };
            this._-3DI();
            if ((((((((((this._-Ke == null)) || (!((this._-Ke.userId == _arg1))))) || (!((this._-Ke.userName == _arg2))))) || (!((this._-Ke._-0KC == _arg3))))) || (!((this._-Ke._-5EQ == _-1IS._-2rN)))))
            {
                if (this._-Ke)
                {
                    this.removeView(this._-Ke, false);
                };
                if (!this._-270)
                {
                    if (_arg4._-00I)
                    {
                        if (!this._-3QF)
                        {
                            this._-3QF = new OwnPetMenuView(this, this._-3oJ);
                        };
                        this._-Ke = this._-3QF;
                        OwnPetMenuView.setup((this._-Ke as OwnPetMenuView), _arg1, _arg2, _arg3, _-1IS._-2rN, _arg4);
                    }
                    else
                    {
                        if (!this._-7d)
                        {
                            this._-7d = new _-3Ty(this);
                        };
                        this._-Ke = this._-7d;
                        _-3Ty.setup((this._-Ke as _-3Ty), _arg1, _arg2, _arg3, _-1IS._-2rN, _arg4);
                    };
                };
            }
            else
            {
                if ((((this._-Ke is _-2SR)) || ((this._-Ke is OwnAvatarMenuView))))
                {
                    if (this._-Ke.userName == _arg2)
                    {
                        this.removeView(this._-Ke, false);
                    };
                };
            };
        }
        private function _-mX(_arg1:int, _arg2:String, _arg3:int, _arg4:Boolean, _arg5:_-1zy):void
        {
            var k:Boolean;
            var _local7:_-1ir;
            if (_arg5)
            {
                k = ((_arg5._-3xL) ? this._-4wz : this._-2pb);
            };
            if (((((k) && (this._-Ke))) && (!((((((((((this._-Ke is _-2SR)) || ((this._-Ke is OwnAvatarMenuView)))) || ((this._-Ke is _-3Ty)))) || ((this._-Ke is OwnPetMenuView)))) || ((this._-Ke is _-1K9)))))))
            {
                this.removeView(this._-Ke, false);
            };
            this._-3DI();
            if ((((((((((((this._-Ke == null)) || (!((this._-Ke.userId == _arg1))))) || (!((this._-Ke.userName == _arg2))))) || (!((this._-Ke._-0KC == _arg3))))) || (!((this._-Ke._-5EQ == _-1IS._-0p3))))) || (_arg4)))
            {
                if (this._-Ke)
                {
                    this.removeView(this._-Ke, false);
                };
                if (!this._-270)
                {
                    if (k)
                    {
                        if (_arg5._-3xL)
                        {
                            if (this._-4bQ)
                            {
                                return;
                            };
                            if (_-AY._-4Bs())
                            {
                                if (!this._-LG)
                                {
                                    this._-LG = new _-1Yt(this);
                                };
                                this._-Ke = this._-LG;
                                _-1Yt.setup((this._-Ke as _-1Yt), _arg1, _arg2, _arg3, _-1IS._-0p3);
                            }
                            else
                            {
                                if (!this._-3QE)
                                {
                                    this._-3QE = new OwnAvatarMenuView(this);
                                };
                                this._-Ke = this._-3QE;
                                OwnAvatarMenuView.setup((this._-Ke as OwnAvatarMenuView), _arg1, _arg2, _arg3, _-1IS._-0p3, _arg5);
                            };
                        }
                        else
                        {
                            if (!this._-4vY)
                            {
                                this._-4vY = new _-2SR(this);
                            };
                            this._-Ke = this._-4vY;
                            _-2SR.setup((this._-Ke as _-2SR), _arg1, _arg2, _arg3, _-1IS._-0p3, _arg5);
                            for each (_local7 in this._-2aL)
                            {
                                if (_local7.userId == _arg1)
                                {
                                    this.removeView(_local7, false);
                                    break;
                                };
                            };
                        };
                    }
                    else
                    {
                        if (!this.handler.roomEngine._-01G)
                        {
                            if (!this._-3b3)
                            {
                                this._-3b3 = new _-2XK(this);
                            };
                            this._-Ke = this._-3b3;
                            _-2XK.setup(this._-Ke, _arg1, _arg2, _arg3, _-1IS._-0p3, _arg4);
                        };
                    };
                };
            }
            else
            {
                if ((((this._-Ke is _-2SR)) || ((this._-Ke is OwnAvatarMenuView))))
                {
                    if (this._-Ke.userName == _arg2)
                    {
                        this.removeView(this._-Ke, false);
                    };
                };
            };
        }
        public function removeView(_arg1:_-1eN, _arg2:Boolean):void
        {
            if (_arg1)
            {
                if (this._-1WK)
                {
                    _arg1.hide(_arg2);
                }
                else
                {
                    _arg1.dispose();
                    this._-3b3 = null;
                    this._-4vY = null;
                    this._-3QE = null;
                    this._-3QF = null;
                    this._-3VW = null;
                    this._-7d = null;
                    this._-LG = null;
                };
                if (_arg1 == this._-Ke)
                {
                    this._-Ke = null;
                };
                if ((_arg1 is _-1ir))
                {
                    this._-2aL.remove((_arg1 as _-1ir).userName);
                    _arg1.dispose();
                    this._-1Nk();
                };
                if ((_arg1 is _-0Nn))
                {
                    this._-1rU.remove((_arg1 as _-0Nn).userId);
                    _arg1.dispose();
                    this._-1Nk();
                };
                if ((_arg1 is _-4Nv))
                {
                    this._-1sP.remove((_arg1 as _-4Nv).userId);
                    _arg1.dispose();
                    this._-1Nk();
                };
            };
        }
        public function _-3DI():void
        {
            var k:_-0Nn;
            for each (k in this._-1rU)
            {
                k.dispose();
            };
            this._-1rU.reset();
            this._-1Nk();
        }
        public function _-2Ek():void
        {
            var k:_-4Nv;
            for each (k in this._-1sP)
            {
                k.dispose();
            };
            this._-1sP.reset();
            this._-1Nk();
        }
        public function _-5BQ(_arg1:_-4LX, _arg2:int):void
        {
            var k:_-1ir;
            if (this._-2aL[_arg1.name] == null)
            {
                k = new _-1ir(this);
                _-1ir.setup(k, _arg1._-2-w, _arg1.name, -1, _-1IS._-0p3, _arg2);
                this._-2aL[_arg1.name] = k;
                this._-1Nk();
            };
        }
        public function _-3ft(_arg1:int, _arg2:String, _arg3:uint, _arg4:int):void
        {
            var k:_-1ir;
            if (this._-2aL[_arg2] == null)
            {
                k = new _-1ir(this, true);
                _-1ir.setup(k, _arg1, _arg2, _arg1, _-1IS._-0p3, _arg1, _arg3, _arg4);
                this._-2aL[_arg2] = k;
                this._-1Nk();
            };
        }
        private function _-2ZX(_arg1:_-4LX, _arg2:_-0Yz):void
        {
            var k:_-0Nn;
            if (this._-1rU[_arg1._-2-w.toString()] == null)
            {
                k = new _-0Nn(this);
                _-0Nn.setup(k, _arg1._-2-w, _arg1.name, -1, _-1IS._-2rN, _arg2);
                this._-1rU[_arg1._-2-w.toString()] = k;
                this._-1Nk();
            };
        }
        private function _-2Tw(_arg1:_-4LX, _arg2:_-0Yz):void
        {
            var k:_-4Nv;
            if (this._-1sP[_arg1._-2-w.toString()] == null)
            {
                k = new _-4Nv(this);
                _-4Nv.setup(k, _arg1._-2-w, _arg1.name, -1, _-1IS._-2rN, _arg2, _arg1._-4a2);
                this._-1sP[_arg1._-2-w.toString()] = k;
                this._-1Nk();
            };
        }
        public function _-1Nk():void
        {
            if (!this._-3Gv)
            {
                return;
            };
            if (((((((((this._-Ke) || ((this._-2aL.length > 0)))) || ((this._-1rU.length > 0)))) || ((this._-1sP.length > 0)))) || (((this._-1fU) && (this._-1fU._-0m7)))))
            {
                this._-3Gv.registerUpdateReceiver(this, 10);
            }
            else
            {
                this._-3Gv.removeUpdateReceiver(this);
            };
        }
        public function update(_arg1:uint):void
        {
            var k:_-2AE;
            var k:_-1ir;
            var k:_-0Nn;
            var k:_-4Nv;
            if (this._-Ke)
            {
                k = (messageListener.processWidgetMessage(new _-0hl(_-0hl._-4wM, this._-Ke.userId, this._-Ke._-5EQ)) as _-2AE);
                if (!k)
                {
                    return;
                };
                this._-Ke.update(k.rectangle, k._-0u7, _arg1);
            };
            if (((this._-1fU) && (this._-1fU._-0m7())))
            {
                k = (messageListener.processWidgetMessage(new _-0hl(_-0hl._-4wM, this._-1fU.userId, this._-1fU._-5EQ)) as _-2AE);
                if (!k)
                {
                    return;
                };
                this._-1fU.update(k.rectangle, k._-0u7, _arg1);
            };
            for each (k in this._-2aL)
            {
                if (k._-T3)
                {
                    k = (messageListener.processWidgetMessage(new _-0hl(_-0hl._-34O, k.userId, k._-5EQ)) as _-2AE);
                }
                else
                {
                    k = (messageListener.processWidgetMessage(new _-0hl(_-0hl._-4wM, k.userId, k._-5EQ)) as _-2AE);
                };
                if (k)
                {
                    k.update(k.rectangle, k._-0u7, _arg1);
                };
            };
            for each (k in this._-1rU)
            {
                k = (messageListener.processWidgetMessage(new _-0hl(_-0hl._-4wM, k.userId, k._-5EQ)) as _-2AE);
                if (k)
                {
                    k.update(k.rectangle, k._-0u7, _arg1);
                };
            };
            for each (k in this._-1sP)
            {
                k = (messageListener.processWidgetMessage(new _-0hl(_-0hl._-4wM, k.userId, k._-5EQ)) as _-2AE);
                if (k)
                {
                    k.update(k.rectangle, k._-0u7, _arg1);
                };
            };
        }
        public function _-08G():void
        {
            this.handler.container.avatarEditor.openEditor(_-06U._-0g7, null, null, true);
            this.handler.container.avatarEditor.loadOwnAvatarInEditor(_-06U._-0g7);
        }
        public function get _-2lD():Boolean
        {
            return ((this.handler.container.sessionDataManager.clubLevel >= _-1ij._-12G));
        }
        public function get _-0n9():Boolean
        {
            return ((this.handler.container.sessionDataManager.clubLevel >= _-1ij._-1pk));
        }
        public function get _-52s():Boolean
        {
            var k:_-26z;
            var k:Array = this.handler.container.inventory._-41J();
            for each (k in k)
            {
                if (k._-1V2)
                {
                    return (true);
                };
            };
            return (false);
        }
        public function set _-4l0(_arg1:Boolean):void
        {
            this._-0xV = _arg1;
        }
        public function get _-4l0():Boolean
        {
            return (this._-0xV);
        }
        public function get _-2U8():Boolean
        {
            if (this._-4gw != null)
            {
                return (this._-4gw._-2U8);
            };
            return (false);
        }
        public function get _-0mh():Boolean
        {
            if (this._-4gw != null)
            {
                return (this._-4gw._-0mh);
            };
            return (false);
        }
        public function get _-3Hj():Boolean
        {
            var k:_-30N;
            var k:Number;
            var k:_-3SU = this._-0jf();
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    k = k.getNumber(_-4Wq._-4AQ);
                    if (k == _-4lo)
                    {
                        return (true);
                    };
                };
            };
            return (false);
        }
        public function _-4dL():void
        {
            this.handler.container.events.dispatchEvent(new _-49d(_-2hh._-155));
        }
        public function _-0Gq():void
        {
            this.handler.container.events.dispatchEvent(new _-49d(_-2hh._-3rM));
        }
        public function get _-3Y8():Boolean
        {
            return (this.handler.container.config.getBoolean(_-35l, true));
        }
        public function set _-3Y8(_arg1:Boolean):void
        {
            this.handler.container.config._-354(_-35l, ((_arg1) ? "1" : "0"));
        }
        public function _-0Qi(_arg1:int):void
        {
            this.handler.container.roomSession._-59b(_arg1);
        }
        public function _-06n(_arg1:int, _arg2:int, _arg3:int):void
        {
            if (!this._-2IO)
            {
                this._-2IO = new UseProductConfirmationView(this);
            };
            this._-2IO.open(_arg1, _arg2, _arg3);
        }
        private function _-566():void
        {
            if (this._-2IO)
            {
                this._-2IO.dispose();
                this._-2IO = null;
            };
        }
        public function _-0iF(_arg1:int, _arg2:int):void
        {
            this._-aW();
            this._-3r1 = windowManager.confirm("${breedpets.confirmation.notification.title}", "${breedpets.confirmation.notification.text}", 0, this._-2-x);
            this._-4XQ = _arg1;
            this._-12n = _arg2;
        }
        public function _-2-x(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            if (_arg2.type == WindowEvent._-0-9)
            {
            };
            if (_arg2.type == WindowEvent._-4dG)
            {
                if (((!((this._-12n == -1))) && (!((this._-12n == -1)))))
                {
                    this._-0hh(this._-4XQ, this._-12n);
                };
            };
            this._-aW();
        }
        private function _-aW():void
        {
            if (this._-3r1 != null)
            {
                this._-3r1.dispose();
                this._-3r1 = null;
                this._-4XQ = -1;
                this._-12n = -1;
            };
        }
        public function _-3bd(_arg1:int, _arg2:int):void
        {
            if (this._-1jq != null)
            {
                if ((((this._-1jq._-2Ux == _arg1)) && ((this._-1jq._-ok == _arg2))))
                {
                    this._-MC();
                };
            };
            if (this._-3r1 != null)
            {
                this._-3r1.dispose();
            };
        }
        public function _-3bq(_arg1:int, _arg2:int):void
        {
            if (this._-1jq != null)
            {
                if ((((this._-1jq._-2Ux == _arg1)) && ((this._-1jq._-ok == _arg2))))
                {
                    this._-MC();
                };
            };
            this._-aW();
            windowManager.alert("${breedpets.cancel.notification.title}", "${breedpets.cancel.notification.text}", 0, this._-3Yp);
        }
        public function _-3Yp(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            if ((((_arg2.type == WindowEvent._-0-9)) || ((_arg2.type == WindowEvent._-4dG))))
            {
                _arg1.dispose();
            };
        }
        public function _-12J(_arg1:int, _arg2:int, _arg3:Boolean):void
        {
            if (!this._-1jq)
            {
                this._-1jq = new _-2m6(this);
            };
            this._-1jq.open(_arg1, _arg2, _arg3);
        }
        public function _-4i1(_arg1:int, _arg2:int, _arg3:int, _arg4:Array, _arg5:int):void
        {
            if (!this._-kG)
            {
                this._-kG = new _-4Ha(this);
            };
            this._-kG.open(_arg1, _arg2, _arg3, _arg4, _arg5);
        }
        private function _-MC():void
        {
            if (this._-1jq)
            {
                this._-1jq.dispose();
                this._-1jq = null;
            };
        }
        private function _-42-():void
        {
            if (this._-kG)
            {
                this._-kG.dispose();
                this._-kG = null;
            };
        }
        public function _-33t(_arg1:_-1VH, _arg2:_-1VH):void
        {
            if (!this._-1gV)
            {
                this._-1gV = new _-326(this);
            };
            this._-1gV.open(_arg1, _arg2);
        }
        public function _-2qC(_arg1:_-326):void
        {
            if (_arg1 != null)
            {
                if (_arg1 == this._-1gV)
                {
                    this._-1gV.dispose();
                    this._-1gV = null;
                }
                else
                {
                    _arg1.dispose();
                };
            };
        }
        private function _-0jf():_-3SU
        {
            var k:_-3SU;
            var k:_-4LX;
            var k:int = this.handler.container.sessionDataManager.userId;
            var k:int = this.handler.roomEngine.activeRoomId;
            var k:int = this.handler.roomEngine.activeRoomCategory;
            var k:int = _-1sV._-3I0;
            var k:int = this.handler.roomEngine.getRoomObjectCount(k, k, k);
            var k:int;
            while (k < k)
            {
                k = this.handler.roomEngine.getRoomObjectWithIndex(k, k, k, _-1sV._-3I0);
                if (k != null)
                {
                    k = this.handler.roomSession.userDataManager.getUserDataByIndex(k.getId());
                    if (k != null)
                    {
                        if (k._-2-w == k)
                        {
                            return (k);
                        };
                    };
                };
                k++;
            };
            return (null);
        }
        function get _-4bQ():Boolean
        {
            return (this.handler.roomSession._-4bQ);
        }
        function set _-4bQ(_arg1:Boolean):void
        {
            var k:int;
            var k:_-2AE;
            var k:String;
            var k:int;
            this.handler.roomSession._-4bQ = _arg1;
            if (_arg1)
            {
                k = this.handler.container.sessionDataManager.userId;
                if (!this._-1fU)
                {
                    k = this.handler.container.sessionDataManager.userName;
                    k = this.handler.container.roomSession._-1NZ;
                    this._-1fU = new _-3gy(this, k, k, k);
                };
                this._-1fU.show();
                k = (messageListener.processWidgetMessage(new _-0hl(_-0hl._-4wM, k, _-1IS._-0p3)) as _-2AE);
                if (k)
                {
                    this._-1fU.update(k.rectangle, k._-0u7, 0);
                };
            }
            else
            {
                if (this._-1fU)
                {
                    this._-1fU.hide(false);
                };
            };
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function _-28P():Boolean
        {
            if (this._-4gw != null)
            {
                return ((this._-4gw._-1pq == _-3iK._-2CJ));
            };
            return (false);
        }
        public function _-0hh(_arg1:int, _arg2:int):void
        {
            var k:_-4LX = this.handler.container.roomSession.userDataManager.getUserDataByIndex(_arg1);
            var k:_-4LX = this.handler.container.roomSession.userDataManager.getUserDataByIndex(_arg2);
            if (((k) && (k)))
            {
                this.handler.container.connection.send(new _-1GP(_-1GP._-0oQ, k._-2-w, k._-2-w));
            };
        }
        public function _-2ta(_arg1:int, _arg2:int):void
        {
            var k:_-4LX = this.handler.container.roomSession.userDataManager.getUserDataByIndex(_arg1);
            var k:_-4LX = this.handler.container.roomSession.userDataManager.getUserDataByIndex(_arg2);
            if (((k) && (k)))
            {
                this.handler.container.connection.send(new _-1GP(_-1GP._-mh, k._-2-w, k._-2-w));
            };
        }
        public function _-3D-(_arg1:int, _arg2:int):void
        {
            var k:_-4LX = this.handler.container.roomSession.userDataManager.getUserDataByIndex(_arg1);
            var k:_-4LX = this.handler.container.roomSession.userDataManager.getUserDataByIndex(_arg2);
            if (((k) && (k)))
            {
                this.handler.container.connection.send(new _-1GP(_-1GP._-1Vd, k._-2-w, k._-2-w));
            };
        }
        public function _-1ky(_arg1:int, _arg2:int, _arg3:Point=null):void
        {
            if (!this._-y4._-VD(_arg2))
            {
                switch (_arg2)
                {
                    case _-3nv._-KV:
                        this._-y4.add(_-3nv._-KV, new BotChatterMarkovConfiguration(this));
                        break;
                    case _-3nv._-h4:
                        this._-y4.add(_-3nv._-h4, new _-Nk(this));
                        break;
                    default:
                        return;
                };
            };
            var k:_-3AI = this._-y4.getValue(_arg2);
            k.open(_arg1, _arg3);
        }
        public function _-3I2(_arg1:int):void
        {
            this.handler.container.connection.send(new _-3w3(_arg1));
        }
        public function _-2pQ(_arg1:int, _arg2:String, _arg3:int, _arg4:int):void
        {
            this.handler.container.connection.send(new _-0M5(_arg1, _arg2, _arg3, _arg4));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW.OwnAvatarMenuView

package _-DW
{
    import _-3XW._-50z;
    import _-1ae.IItemGridWindow;
    import _-3EM._-yZ;
    import _-1ae.IRegionWindow;
    import _-Ew.IWindowContainer;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-1C6._-4ky;
    import _-0se._-18q;
    import _-2gz.HabboTracking;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-1FD._-1yP;
    import _-2Mh._-3YS;
    import _-1FD._-3VD;
    import _-1FD._-2Fk;
    import _-1FD._-25a;
    import _-2HX._-uu;
    import _-1FD._-3X1;
    import _-1FD._-2CC;
    import _-1FD._-4jZ;

    public class OwnAvatarMenuView extends _-2XK 
    {

        private static const _-3rv:int = 0;
        private static const _-3ZY:int = 1;
        private static const _-38B:int = 2;
        private static const _-5DH:int = 3;
        private static const _-4JA:int = 4;
        private static const _-4Tt:int = 5;

        private static var _-2Z9:Boolean = false;

        private var _-0qE:_-1zy;
        private var _-3Wi:int;

        public function OwnAvatarMenuView(_arg1:AvatarInfoWidget)
        {
            super((_arg1 as _-50z));
            _-14p = false;
        }
        public static function setup(_arg1:OwnAvatarMenuView, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:_-1zy):void
        {
            _arg1._-0qE = _arg6;
            if (((((!(_-2Z9)) && (_arg1.widget.configuration.getBoolean("new.identity", false)))) && (_arg1.widget.configuration.getBoolean("new.user.reception.enabled", false))))
            {
                _arg1._-3Wi = _-4Tt;
                OwnAvatarMenuView._-2Z9 = true;
            }
            else
            {
                if (((((_arg1.widget._-4l0) && (_arg1.widget._-2lD))) && (!(_arg1.widget._-52s))))
                {
                    _arg1._-3Wi = _-3ZY;
                }
                else
                {
                    if (((_arg6._-0Jg) && (_arg1.widget._-3Y8)))
                    {
                        _arg1._-3Wi = _-38B;
                    }
                    else
                    {
                        _arg1._-3Wi = _-3rv;
                    };
                };
            };
            _-2XK.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
        }

        override public function dispose():void
        {
            this._-0qE = null;
            super.dispose();
        }
        override protected function updateWindow():void
        {
            var _local1:IItemGridWindow;
            var _local2:_-yZ;
            var _local3:int;
            var _local4:int;
            var _local5:IRegionWindow;
            var k:XML;
            var k:IWindowContainer;
            var k:IWindowContainer;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("own_avatar_menu")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this.buttonEventProc;
                _local1 = (_-0xv.findChildByName("signs_grid") as IItemGridWindow);
                _local2 = _local1.iterator;
                _local3 = _local2.length;
                _local4 = 0;
                while (_local4 < _local3)
                {
                    k = (_local2[_local4] as IWindowContainer);
                    k = (k.findChildByName("button") as IWindowContainer);
                    k.procedure = this._-2b7;
                    _local4++;
                };
                _local5 = (_-0xv.findChildByName("profile_link") as IRegionWindow);
                if (_local5)
                {
                    _local5.procedure = this.buttonEventProc;
                    _local5._-2QR = this.widget.localizations.getKey("infostand.profile.link.tooltip", "Click to view profile");
                    _local5._-1e = 100;
                };
                _-0xv.findChildByName("name").caption = _-2lb;
                _-0xv.visible = false;
                activeView = _-0xv;
                this._-4VN();
            };
        }
        public function _-4VN():void
        {
            var _local4:Boolean;
            var _local5:Boolean;
            if (((((!(_-0xv)) || (!(this._-0qE)))) || (!(_-0Ib))))
            {
                return;
            };
            _-0Ib.autoArrangeItems = false;
            var k:int = _-0Ib.numListItems;
            var k:int;
            while (k < k)
            {
                _-0Ib.getListItemAt(k).visible = false;
                k++;
            };
            var k:Boolean = this.widget._-3Hj;
            switch (this._-3Wi)
            {
                case _-3rv:
                    _-XT("change_name", this._-0qE._-0Jg);
                    _-XT("decorate", ((this._-4BA()) && ((((this._-0qE._-2Hi >= _-4ky._-YE)) || (this._-0qE._-42g)))));
                    _-XT("change_looks");
                    _-XT("dance_menu", ((this.widget._-2lD) && (!(k))), !(this.widget._-52s));
                    _-XT("dance", ((((!(this.widget._-2lD)) && (!(this.widget._-4l0)))) && (!(k))), !(this.widget._-52s));
                    _-XT("dance_stop", ((((!(this.widget._-2lD)) && (this.widget._-4l0))) && (!(k))));
                    if (!_-0dg.catalog.configuration.getBoolean("memenu.effects.widget.disabled", false))
                    {
                        _-XT("effects", !(k));
                    };
                    _-XT("handitem", (((((this._-0qE._-Cs > 0)) && ((this._-0qE._-Cs < 999999)))) && (this.widget.configuration.getBoolean("handitem.drop.enabled", true))));
                    _local4 = this.widget.configuration.getBoolean("avatar.expressions_menu.enabled", true);
                    _-XT(((_local4) ? "expressions" : "wave"));
                    _local5 = this.widget.configuration.getBoolean("avatar.signs.enabled", true);
                    _-XT("signs", _local5);
                    break;
                case _-3ZY:
                    _-XT("dance_stop", true, this.widget._-4l0);
                    _-XT("dance_1");
                    _-XT("dance_2");
                    _-XT("dance_3");
                    _-XT("dance_4");
                    _-XT("back");
                    break;
                case _-38B:
                    _-XT("change_name");
                    _-XT("more");
                    break;
                case _-4Tt:
                    _-XT("change_looks");
                    _-XT("more");
                    break;
                case _-5DH:
                    _-XT("wave", true, !(this.widget._-4IJ));
                    _-XT("laugh", true, ((((!(this.widget._-52s)) && (!(this.widget._-4IJ)))) && (this.widget._-0n9)), !(this.widget._-0n9));
                    _-XT("blow", true, ((((!(this.widget._-52s)) && (!(this.widget._-4IJ)))) && (this.widget._-0n9)), !(this.widget._-0n9));
                    _-XT("idle", true);
                    if (((((this.widget.configuration.getBoolean("avatar.sitting.enabled", false)) && (!(this.widget._-4IJ)))) && (!(k))))
                    {
                        _-XT("sit", (this.widget._-Vh == _-18q._-3TX));
                        _-XT("stand", this.widget._-2Rb);
                    };
                    _-XT("back");
                    break;
                case _-4JA:
                    _-48n("signs_grid");
                    _-XT("back");
                    break;
            };
            _-0Ib.autoArrangeItems = true;
            _-0Ib.visible = true;
        }
        private function _-2b7(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:String;
            var k:String;
            var k:String;
            var k:int;
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    k = true;
                    k = "_";
                    k = ((_arg2.parent.name) ? _arg2.parent.name : "");
                    k = k.substr(0, k.lastIndexOf(k));
                    k = parseInt(k.substr((k.lastIndexOf(k) + 1)));
                    switch (k)
                    {
                        case "sign":
                            this.widget._-0Qi(k);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "sign", null, k);
                            break;
                    };
                };
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1yP;
            var k:IWindow;
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    k = (_arg2 as IWindowContainer).getChildByName("icon_vip");
                    if (((!((k == null))) && (k.visible)))
                    {
                        _-0dg.catalog.openClubBuy(_-3YS._-36p, "OwnAvatarMenuView");
                        return;
                    };
                    k = true;
                    switch (_arg2.parent.name)
                    {
                        case "change_name":
                            k = new _-3VD(_-3VD._-4Cv);
                            break;
                        case "decorate":
                            if (this._-4BA())
                            {
                                this.widget._-4bQ = true;
                            };
                            break;
                        case "change_looks":
                            this.widget._-08G();
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "clothes");
                            break;
                        case "expressions":
                            k = false;
                            this._-31K(_-5DH);
                            break;
                        case "sit":
                            k = new _-2Fk(_-2Fk._-L9);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "sit");
                            break;
                        case "stand":
                            k = new _-2Fk(_-2Fk._-3TX);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "stand");
                            break;
                        case "wave":
                            k = new _-25a(_-uu._-2xr);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "wave");
                            break;
                        case "blow":
                            k = new _-25a(_-uu._-28W);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "blow");
                            break;
                        case "jump":
                            break;
                        case "laugh":
                            k = new _-25a(_-uu._-1VQ);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "laugh");
                            break;
                        case "idle":
                            k = new _-25a(_-uu._-4Q4);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "idle");
                            break;
                        case "dance_menu":
                            k = false;
                            this._-31K(_-3ZY);
                            break;
                        case "dance":
                            k = new _-3X1(1);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "dance_start");
                            break;
                        case "dance_stop":
                            k = new _-3X1(0);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "dance_stop");
                            break;
                        case "dance_1":
                        case "dance_2":
                        case "dance_3":
                        case "dance_4":
                            k = new _-3X1(parseInt(_arg2.parent.name.charAt((_arg2.parent.name.length - 1))));
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "dance_start");
                            break;
                        case "effects":
                            k = new _-2CC(_-2CC._-34B);
                            HabboTracking._-0ON().trackEventLog("OwnAvatarMenu", "click", "effects");
                            break;
                        case "signs":
                            k = false;
                            this._-31K(_-4JA);
                            break;
                        case "back":
                            k = false;
                            this._-31K(_-3rv);
                            break;
                        case "more":
                            k = false;
                            this.widget._-3Y8 = false;
                            this._-31K(_-3rv);
                            break;
                        case "handitem":
                            k = new _-3VD(_-3VD._-46O, _-4lu);
                            break;
                    };
                };
                if (_arg2.name == "profile_link")
                {
                    k = true;
                    k = new _-4jZ(_-4jZ._-3aE, userId, "ownAvatarContextMenu");
                };
                if (k)
                {
                    _-0dg.messageListener.processWidgetMessage(k);
                };
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        private function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }
        private function _-31K(_arg1:int):void
        {
            this._-3Wi = _arg1;
            this._-4VN();
        }
        private function _-4BA():Boolean
        {
            return (((this.widget.configuration.getBoolean("decorationMode.enabled", false)) && (this.widget._-2lD)));
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW.OwnPetMenuView

package _-DW
{
    import _-4n1._-0hX;
    import _-0mD._-2Jq;
    import _-2gz._-2UE;
    import _-2gz.HabboTracking;
    import _-295._-243;
    import _-Ew.IWindowContainer;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IItemListWindow;
    import _-4f7.AvatarInfoWidgetHandler;
    import _-3V-._-3SU;
    import _-0l8._-3iK;
    import _-3cY._-1mk;
    import _-3mW._-1sV;
    import _-3mW._-4Wq;
    import _-1ye._-G0;
    import _-293._-5-S;
    import _-1ae.ICheckBoxWindow;
    import _-1FD._-1yP;
    import _-1FD._-3VD;
    import _-1FD._-35J;
    import _-1FD._-4jZ;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class OwnPetMenuView extends _-2XK 
    {

        private static const _-3rv:int = 0;
        private static const _-1zc:int = 1;
        private static const _-21W:int = 2;
        private static const _-1Lb:int = 3;

        private var _-0qE:_-087;
        private var _-3Wi:int;
        private var _-1Lp:_-0hX;
        private var _-rH:_-0hX;
        protected var _-3oJ:_-2Jq;
        protected var _-1e8:_-2UE;

        public function OwnPetMenuView(_arg1:AvatarInfoWidget, _arg2:_-2Jq)
        {
            super(_arg1);
            _-14p = false;
            this._-1e8 = HabboTracking._-0ON();
            this._-3oJ = _arg2;
        }
        public static function setup(_arg1:OwnPetMenuView, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:_-087):void
        {
            _arg1._-0qE = _arg6;
            var k:Boolean = _arg1.widget._-2U8;
            var k:Boolean = _arg1.widget._-0mh;
            if (_arg1.widget._-28P())
            {
                _arg1._-3Wi = _-1Lb;
            }
            else
            {
                if (((k) && (!(k))))
                {
                    _arg1._-3Wi = _-1zc;
                }
                else
                {
                    if (k)
                    {
                        _arg1._-3Wi = _-21W;
                    }
                    else
                    {
                        _arg1._-3Wi = _-3rv;
                    };
                };
            };
            _-2XK.setup(_arg1, _arg2, _arg3, _arg4, _arg5, false);
        }

        override public function dispose():void
        {
            this._-0qE = null;
            this._-1Lp = null;
            this._-rH = null;
            this._-3oJ = null;
            this._-1e8 = null;
            super.dispose();
        }
        override protected function updateWindow():void
        {
            var k:XML;
            if (((((!(_-0dg)) || (!(_-0dg.assets)))) || (!(_-0dg.windowManager))))
            {
                return;
            };
            if (_-4EW)
            {
                activeView = _-1G();
            }
            else
            {
                if (!_-0xv)
                {
                    k = (_-243(_-0dg.assets.getAssetByName("own_pet_menu")).content as XML);
                    _-0xv = (_-0dg.windowManager.buildFromXML(k, 0) as IWindowContainer);
                    if (!_-0xv)
                    {
                        return;
                    };
                    _-0xv.addEventListener(WindowMouseEvent._-4ea, _-4ed);
                    _-0xv.addEventListener(WindowMouseEvent._-4e2, _-4ed);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-90, _-3jC);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4ea, _-4Jo);
                    _-0xv.findChildByName("minimize").addEventListener(WindowMouseEvent._-4e2, _-4Jo);
                };
                _-0Ib = (_-0xv.findChildByName("buttons") as IItemListWindow);
                _-0Ib.procedure = this.buttonEventProc;
                _-0xv.findChildByName("name").caption = _-2lb;
                _-0xv.visible = false;
                activeView = _-0xv;
                this._-4VN();
            };
        }
        public function _-4VN():void
        {
            var _local3:Number;
            var _local4:Number;
            var k:AvatarInfoWidgetHandler;
            var k:int;
            var k:_-3SU;
            var k:int;
            if (((((!(_-0xv)) || (!(this._-0qE)))) || (!(_-0Ib))))
            {
                return;
            };
            _-0Ib.autoArrangeItems = false;
            var k:int = _-0Ib.numListItems;
            var k:int;
            while (k < k)
            {
                _-0Ib.getListItemAt(k).visible = false;
                k++;
            };
            this._-1Lp = null;
            switch (this._-3Wi)
            {
                case _-3rv:
                    _-XT("respect", (this._-0qE._-193 > 0));
                    _-XT("train");
                    _-XT("pick_up");
                    if (this._-0qE._-1pq == _-3iK._-3p6)
                    {
                        this._-1Lp = this._-3Hq(_-1mk._-0b3, _-3iK._-3p6);
                        if (this._-1Lp != null)
                        {
                            _-XT("buy_saddle");
                        };
                    };
                    break;
                case _-1zc:
                    _-XT("mount");
                    if (this.widget.configuration.getBoolean("sharedhorseriding.enabled", false))
                    {
                        _-XT("toggle_riding_permission");
                        this._-Rl("toggle_riding_permission", (((this._-0qE)!=null) ? (this._-0qE._-3fV == _-3ir._-3ap) : false));
                    };
                    _-XT("respect", (this._-0qE._-193 > 0));
                    _-XT("train");
                    _-XT("pick_up");
                    _-XT("saddle_off");
                    break;
                case _-21W:
                    _-XT("dismount");
                    _-XT("respect", (this._-0qE._-193 > 0));
                    break;
                case _-1Lb:
                    _-XT("pick_up");
                    if (this._-0qE._-2gH)
                    {
                        this._-rH = this._-3Hq(_-1mk._-4gd, _-3iK._-2CJ);
                        _-XT("revive");
                    }
                    else
                    {
                        _local3 = (this._-0qE.energy as Number);
                        _local4 = (this._-0qE._-Ds as Number);
                        _-XT("treat", true, ((_local3 / _local4) < 0.98));
                        if (this._-0qE.level == this._-0qE._-0Cc)
                        {
                            if (this._-0qE._-4a2)
                            {
                                _-XT("toggle_breeding_permission");
                                this._-Rl("toggle_breeding_permission", this._-0qE._-4td);
                                _-XT("breed");
                            };
                        };
                    };
                    break;
            };
            if (this.widget.configuration.getBoolean("handitem.give.pet.enabled", false))
            {
                k = this.widget.handler;
                k = k.container.roomSession._-1NZ;
                k = k.container.roomEngine.getRoomObject(k.roomSession.roomId, k.roomSession.roomCategory, k, _-1sV._-3I0);
                if (k != null)
                {
                    k = k.getModel().getNumber(_-4Wq._-3kn);
                    if ((((k > 0)) && ((k < 999999))))
                    {
                        _-XT("pass_handitem");
                    };
                };
            };
            this.widget.localizations.registerParameter("infostand.button.petrespect", "count", this._-0qE._-193.toString());
            _-0Ib.autoArrangeItems = true;
            _-0Ib.visible = true;
        }
        private function _-3Hq(_arg1:int, _arg2:int):_-0hX
        {
            var k:_-0hX;
            var k:Array;
            var k:int;
            var k:_-0hX;
            var k:Array = this.widget.handler.container.sessionDataManager._-2ae(_arg1);
            for each (k in k)
            {
                k = k._-yz.split(" ");
                k = ((((k) && ((k.length >= 1)))) ? parseInt(k[0]) : -1);
                if (k == _arg2)
                {
                    break;
                };
            };
            return (k);
        }
        private function openCatalogPage(_arg1:_-0hX):Boolean
        {
            var k:int;
            if ((((this._-3oJ == null)) || ((_arg1 == null))))
            {
                return (false);
            };
            var k:Boolean;
            var k:int = _arg1.catalogPageId;
            if (k > -1)
            {
                k = _arg1.offerId;
                this._-3oJ._-33R(k, k);
                if (((this._-1e8) && (!(this._-1e8.disposed))))
                {
                    this._-1e8.trackGoogle("infostandCatalogButton", "offer", k);
                };
                k = true;
            };
            return (k);
        }
        private function _-3mh(_arg1:_-0hX):_-3SU
        {
            var k:_-3SU;
            var k:int;
            if ((((this.widget == null)) || ((_arg1 == null))))
            {
                return (null);
            };
            var k:_-G0 = this.widget.handler.container;
            if (k == null)
            {
                return (null);
            };
            var k:_-5-S = k.roomEngine;
            if (k == null)
            {
                return (null);
            };
            var k:int = k.roomSession.roomId;
            var k:int = k.roomSession.roomCategory;
            var k:int = k.getRoomObjectCount(k, k, _-1sV._-0u-);
            var k:int;
            while (k < k)
            {
                k = k.getRoomObjectWithIndex(k, k, k, _-1sV._-0u-);
                if (k != null)
                {
                    k = k.getModel().getNumber(_-4Wq._-0z3);
                    if (k == _arg1.id)
                    {
                        return (k);
                    };
                };
                k++;
            };
            return (null);
        }
        private function _-Rl(_arg1:String, _arg2:Boolean):void
        {
            var k:ICheckBoxWindow = this._-4QO(_arg1);
            if (!k)
            {
                return;
            };
            if (_arg2)
            {
                k.select();
            }
            else
            {
                k._-5Aq();
            };
        }
        private function _-4QO(_arg1:String):ICheckBoxWindow
        {
            if (!_-0Ib)
            {
                return (null);
            };
            var k:IWindowContainer = (_-0Ib.getListItemByName(_arg1) as IWindowContainer);
            if (!k)
            {
                return (null);
            };
            return ((k.findChildByName((_arg1 + "_checkbox")) as ICheckBoxWindow));
        }
        override protected function buttonEventProc(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:_-1yP;
            var k:ICheckBoxWindow;
            var _local6:Boolean;
            var k:int;
            var k:String;
            var k:String;
            if (disposed)
            {
                return;
            };
            if (((!(_-0xv)) || (_-0xv.disposed)))
            {
                return;
            };
            var k:Boolean;
            if (_arg1.type == WindowMouseEvent._-90)
            {
                if (_arg2.name == "button")
                {
                    k = true;
                    _-Nb.log(("Own pet menu was clicked: " + _arg2.parent.name));
                    switch (_arg2.parent.name)
                    {
                        case "respect":
                            this._-0qE._-193 = (this._-0qE._-193 - 1);
                            this._-4VN();
                            k = new _-3VD(_-3VD._-2yN, userId);
                            break;
                        case "treat":
                            k = new _-3VD(_-3VD._-27c, userId);
                            break;
                        case "pass_handitem":
                            k = new _-3VD(_-3VD._-4e1, userId);
                            break;
                        case "train":
                            this.widget._-4dL();
                            break;
                        case "pick_up":
                            k = new _-3VD(_-3VD._-09, userId);
                            this.widget._-0Gq();
                            break;
                        case "mount":
                            k = new _-3VD(_-3VD._-44, userId);
                            break;
                        case "toggle_riding_permission":
                            k = new _-3VD(_-3VD._-3L3, userId);
                            k = this._-4QO("toggle_riding_permission");
                            if (k != null)
                            {
                                this._-Rl("toggle_riding_permission", !(k._-vX));
                            };
                            break;
                        case "toggle_breeding_permission":
                            k = new _-3VD(_-3VD._-3ob, userId);
                            k = this._-4QO("toggle_breeding_permission");
                            if (k != null)
                            {
                                this._-Rl("toggle_breeding_permission", !(k._-vX));
                            };
                            break;
                        case "dismount":
                            k = new _-3VD(_-3VD._-5As, userId);
                            break;
                        case "saddle_off":
                            k = new _-3VD(_-3VD._-hN, userId);
                            break;
                        case "breed":
                            if (this._-3Wi == _-3rv)
                            {
                                k = _-35J._-4AF;
                                k = ("pet.command." + k);
                                k = _-0dg.catalog.localization.getKey(k);
                                k = new _-35J(_-35J._-dH, this._-0qE.id, ((this._-0qE.name + " ") + k));
                            }
                            else
                            {
                                if (this._-3Wi == _-1Lb)
                                {
                                    k = new _-3VD(_-3VD._-CM, userId);
                                };
                            };
                            break;
                        case "harvest":
                            k = new _-3VD(_-3VD._-0vh, userId);
                            break;
                        case "revive":
                            _local6 = this.openCatalogPage(this._-rH);
                            if (!_local6)
                            {
                            };
                            k = new _-3VD(_-3VD._-5F5, userId);
                            break;
                        case "buy_saddle":
                            this.openCatalogPage(this._-1Lp);
                            break;
                    };
                }
                else
                {
                    if (_arg2.name == "profile_link")
                    {
                        k = new _-4jZ(_-4jZ._-3aE, userId, "ownPetContextMenu");
                    }
                    else
                    {
                        if (_arg2.name == "toggle_riding_permission_checkbox")
                        {
                            k = true;
                            k = new _-3VD(_-3VD._-3L3, userId);
                        }
                        else
                        {
                            if (_arg2.name == "toggle_breeding_permission_checkbox")
                            {
                                k = true;
                                k = new _-3VD(_-3VD._-3ob, userId);
                            };
                        };
                    };
                };
                if (k)
                {
                    _-0dg.messageListener.processWidgetMessage(k);
                };
            }
            else
            {
                super.buttonEventProc(_arg1, _arg2);
            };
            if (k)
            {
                _-0dg.removeView(this, false);
            };
        }
        public function get widget():AvatarInfoWidget
        {
            return ((_-0dg as AvatarInfoWidget));
        }
        private function _-31K(_arg1:int):void
        {
            this._-3Wi = _arg1;
            this._-4VN();
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-DW.UseProductConfirmationView

package _-DW
{
    import _-Ew.IWindowContainer;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-4n1._-0hX;
    import _-1Jd._-4LX;
    import _-3mW._-1sV;
    import _-3V-._-3SU;
    import _-3cY._-1mk;
    import flash.display.BitmapData;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindow;
    import _-295._-2kE;
    import _-0l8.PetFigureData;
    import _-293._-2Gt;
    import _-0l8._-10A;
    import _-293.PetColorResult;
    import _-0y0._-Xl;
    import _-3mW._-4Wq;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-1yP;
    import _-1FD._-0gH;
    import _-293.*;
    import _-1B-.*;

    public class UseProductConfirmationView implements _-1zZ, dynamic 
    {

        private static const _-4OA:int = -1;
        private static const _-42O:int = 0;
        private static const _-si:int = 1;
        private static const _-4lp:int = 2;
        private static const _-45o:int = 3;
        private static const _-1tZ:int = 4;
        private static const _-0BH:int = 5;
        private static const _-21c:int = 6;
        private static const _-Zr:String = "header_button_close";
        private static const _-3Yn:String = "save_button";
        private static const _-40E:String = "cancel_text";
        private static const _-sr:String = "ok_button";
        private static const _-1Tc:String = "preview_image_region";

        private var _-0xv:IWindowContainer;
        private var _-4Bk:Boolean = false;
        private var _-0dg:AvatarInfoWidget;
        private var _-U-:_-3Ts;
        private var _assets:_-39L;
        private var _-1nK:int = -1;
        private var _-10Y:int = -1;
        private var _-4sC:int;
        private var _-4zT:_-0hX;
        private var _-BJ:_-4LX;

        public function UseProductConfirmationView(_arg1:AvatarInfoWidget)
        {
            this._-0dg = _arg1;
            this._-U- = _arg1.windowManager;
            this._assets = this._-0dg.assets;
        }
        public function get _-3Qk():int
        {
            return (this._-1nK);
        }
        public function get _-ok():int
        {
            return (this._-10Y);
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-4Bk = true;
            this._-4zT = null;
            this._-BJ = null;
        }
        public function open(_arg1:int, _arg2:int, _arg3:int):void
        {
            var k:int = this._-0dg.handler.roomSession.roomId;
            var k:int = this._-0dg.handler.roomSession.roomCategory;
            var k:_-3SU = this._-0dg.handler.roomEngine.getRoomObject(k, k, _arg1, _-1sV._-0u-);
            if (k != null)
            {
                this._-4zT = this._-0dg.handler._-co(k);
                this._-1nK = k.getId();
            }
            else
            {
                this._-4zT = this._-0dg.handler.container.sessionDataManager._-LX(_arg1);
                this._-1nK = _arg3;
            };
            this._-10Y = _arg2;
            this._-BJ = this._-0dg.handler.roomSession.userDataManager.getUserDataByIndex(_arg2);
            var k:int = _-4OA;
            switch (this._-4zT.category)
            {
                case _-1mk._-06w:
                    k = _-42O;
                    break;
                case _-1mk._-4cm:
                    k = _-si;
                    break;
                case _-1mk._-4yV:
                    k = _-4lp;
                    break;
                case _-1mk._-0b3:
                    k = _-45o;
                    break;
                case _-1mk._-4gd:
                    k = _-1tZ;
                    break;
                case _-1mk._-30o:
                    k = _-0BH;
                    break;
                case _-1mk._-i2:
                    k = _-21c;
                    break;
                default:
                    _-Nb.log(("[UseProductConfirmationView.open()] Unsupported furniture category: " + this._-4zT.category));
            };
            this._-0-s(k);
            this._-0xv.center();
            this._-0xv.visible = true;
        }
        private function _-0-s(_arg1:int):void
        {
            var k:String;
            var k:BitmapData = new BitmapData(10, 10);
            this._-0dg.localizations.registerParameter("useproduct.widget.title", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("useproduct.widget.title.monsterplant", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("useproduct.widget.title.monsterplant_rebreed", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("useproduct.widget.title.monsterplant_fertilize", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("useproduct.widget.title.monsterplant_rebreed", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("useproduct.widget.monsterplant.plant.name", "name", this._-BJ.name);
            this._-0dg.localizations.registerParameter("useproduct.widget.monsterplant.plant.raritylevel", "level", this._-BJ.rarityLevel.toString());
            this._-0dg.localizations.registerParameter("useproduct.widget.monsterplant.plant.description", "name", this._-BJ._-0aC);
            if (!this._-0xv)
            {
                k = "use_product_widget_frame_xml";
                switch (_arg1)
                {
                    case _-1tZ:
                        k = "use_product_widget_frame_monsterplant_xml";
                        break;
                    case _-0BH:
                        k = "use_product_widget_frame_monsterplant_rebreed_xml";
                        break;
                    case _-21c:
                        k = "use_product_widget_frame_monsterplant_fertilize_xml";
                        break;
                    default:
                        k = "use_product_widget_frame_xml";
                };
                this._-0xv = (this._-U-.buildFromXML((this._assets.getAssetByName(k).content as XML)) as IWindowContainer);
                this._-2gQ(_-Zr);
            };
            this._-0dg.localizations.registerParameter("useproduct.widget.text.saddle", "productName", this._-4zT.title);
            this._-0dg.localizations.registerParameter("useproduct.widget.text.custompart", "productName", this._-4zT.title);
            this._-0dg.localizations.registerParameter("useproduct.widget.text.custompartshampoo", "productName", this._-4zT.title);
            this._-0dg.localizations.registerParameter("useproduct.widget.text.shampoo", "productName", this._-4zT.title);
            this._-0dg.localizations.registerParameter("useproduct.widget.text.revive_monsterplant", "productName", this._-4zT.title);
            (this._-0xv as IFrameWindow).content.removeChildAt(0);
            var k:IWindow = this.createWindow(_arg1);
            (this._-0xv as IFrameWindow).content.addChild(k);
            (this._-0xv as IFrameWindow)._-Ic();
            switch (_arg1)
            {
                case _-42O:
                case _-si:
                case _-4lp:
                case _-45o:
                case _-1tZ:
                case _-0BH:
                case _-21c:
                    this._-2gQ(_-1Tc);
                    this._-2gQ(_-3Yn);
                    this._-2gQ(_-40E);
                    k = this._-1wl(this._-4zT);
                    break;
                default:
                    throw (new Error(("Invalid type for use product confirmation content apply: " + _arg1)));
            };
            this._-1bO(k);
            this._-0xv.invalidate();
        }
        private function createWindow(_arg1:int):IWindow
        {
            var k:_-2kE;
            var k:IWindow;
            switch (_arg1)
            {
                case _-42O:
                    k = this._assets.getAssetByName("use_product_controller_shampoo_xml");
                    break;
                case _-si:
                    k = this._assets.getAssetByName("use_product_controller_custom_part_xml");
                    break;
                case _-4lp:
                    k = this._assets.getAssetByName("use_product_controller_custom_part_shampoo_xml");
                    break;
                case _-45o:
                    k = this._assets.getAssetByName("use_product_controller_saddle_xml");
                    break;
                case _-1tZ:
                    k = this._assets.getAssetByName("use_product_controller_revive_monsterplant_xml");
                    break;
                case _-0BH:
                    k = this._assets.getAssetByName("use_product_controller_rebreed_monsterplant_xml");
                    break;
                case _-21c:
                    k = this._assets.getAssetByName("use_product_controller_fertilize_monsterplant_xml");
                    break;
                default:
                    throw (new Error(("Invalid type for Use Product View content creation: " + _arg1)));
            };
            k = (this._-U-.buildFromXML((k.content as XML)) as IWindow);
            return (k);
        }
        private function _-1wl(_arg1:_-0hX):BitmapData
        {
            var k:PetFigureData;
            var k:Array;
            var k:_-2Gt;
            var k:int;
            var k:Array;
            var k:Array;
            var k:Array;
            var k:int;
            var k:BitmapData;
            var k:int;
            var k:int;
            var k:int;
            var k:_-10A;
            var _local16:String;
            var _local17:Array;
            var _local18:PetColorResult;
            var _local19:String;
            var k:PetColorResult;
            var k:_-10A;
            var k:_-3SU;
            var k:int;
            if (!_arg1)
            {
                return (null);
            };
            k = new PetFigureData(this._-BJ.figure);
            k = _arg1._-yz.split(" ");
            k = int(k[0]);
            var k:Array = [];
            switch (_arg1.category)
            {
                case _-1mk._-06w:
                    if (k.length < 2)
                    {
                        _-Nb.log(("[UseProductConfirmationView] Invalid custom params: " + k));
                        break;
                    };
                    _local16 = k[1];
                    _local17 = this._-0dg.handler.roomEngine._-0Pw(k, _local16);
                    _local18 = this._-0dg.handler.roomEngine._-1Yb(k, k.paletteId);
                    for each (k in _local17)
                    {
                        if (k.breed == _local18.breed)
                        {
                            k = int(k.id);
                            break;
                        };
                    };
                    k = this._-0dg.handler.roomEngine._-2s2(k.typeId, k, k.color, new _-Xl(90), 64, this, true, 0, k._-uk);
                    break;
                case _-1mk._-4cm:
                    if (k.length < 4)
                    {
                        _-Nb.log(("[UseProductConfirmationView] Invalid custom params: " + k));
                        break;
                    };
                    k = (k[1] as String).split(",");
                    k = (k[2] as String).split(",");
                    k = (k[3] as String).split(",");
                    k = 0;
                    while (k < k.length)
                    {
                        k = k[k];
                        k = k._-18B(k);
                        k = k[k];
                        if (k != null)
                        {
                            k = k.paletteId;
                        };
                        k.push(new _-10A(k, k[k], k));
                        k++;
                    };
                    k = this._-0dg.handler.roomEngine._-2s2(k.typeId, k.paletteId, k.color, new _-Xl(90), 64, this, true, 0, k);
                    break;
                case _-1mk._-4yV:
                    if (k.length < 3)
                    {
                        _-Nb.log(("[UseProductConfirmationView] Invalid custom params: " + k));
                        break;
                    };
                    k = (k[1] as String).split(",");
                    k = (k[2] as String).split(",");
                    k = 0;
                    while (k < k.length)
                    {
                        k = k[k];
                        k = k._-18B(k);
                        k = -1;
                        if (k != null)
                        {
                            k = k._-1hb;
                        };
                        k.push(new _-10A(k[k], k, k[k]));
                        k++;
                    };
                    k = this._-0dg.handler.roomEngine._-2s2(k.typeId, k.paletteId, k.color, new _-Xl(90), 64, this, true, 0, k);
                    break;
                case _-1mk._-0b3:
                    if (k.length < 4)
                    {
                        _-Nb.log(("[UseProductConfirmationView] Invalid custom params: " + k));
                        break;
                    };
                    k = (k[1] as String).split(",");
                    k = (k[2] as String).split(",");
                    k = (k[3] as String).split(",");
                    k = 0;
                    while (k < k.length)
                    {
                        k.push(new _-10A(k[k], k[k], k[k]));
                        k++;
                    };
                    for each (k in k._-uk)
                    {
                        if (k.indexOf(k._-2SJ) == -1)
                        {
                            k.push(k);
                        };
                    };
                    k = this._-0dg.handler.roomEngine._-2s2(k.typeId, k.paletteId, k.color, new _-Xl(90), 64, this, true, 0, k);
                    break;
                case _-1mk._-30o:
                case _-1mk._-4gd:
                case _-1mk._-i2:
                    _local19 = null;
                    if (this._-BJ != null)
                    {
                        _local19 = "rip";
                        k = this._-0GV(this._-BJ.roomObjectId);
                        if (k != null)
                        {
                            _local19 = k.getModel().getString(_-4Wq._-0nJ);
                            if (_local19 == "rip")
                            {
                                k = this._-BJ._-4mx;
                                if (k < 7)
                                {
                                    _local19 = ("grw" + k);
                                }
                                else
                                {
                                    _local19 = "std";
                                };
                            };
                        };
                    };
                    k = this._-0dg.handler.roomEngine._-2s2(k.typeId, k.paletteId, k.color, new _-Xl(90), 64, this, true, 0, k._-uk, _local19);
                    break;
                default:
                    _-Nb.log(("[UseProductConfirmationView] Unsupported furniture category: " + _arg1.category));
            };
            if (k != null)
            {
                this._-4sC = k.id;
                k = k.data;
            };
            return (k);
        }
        private function _-0GV(_arg1:int):_-3SU
        {
            return (this._-0dg.handler.roomEngine.getRoomObject(this._-0dg.handler.roomEngine.activeRoomId, this._-0dg.handler.roomEngine.activeRoomCategory, _arg1, _-1sV._-3I0));
        }
        private function _-1bO(_arg1:BitmapData):void
        {
            var k:BitmapData;
            if (((!(this._-0xv)) || (!(_arg1))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("preview_image") as IBitmapWrapperWindow);
            if (k.bitmap == null)
            {
                k.bitmap = new BitmapData(k.width, k.height);
            };
            var k:_-2kE = (this._assets.getAssetByName("use_product_preview_bg_png") as _-2kE);
            if (k)
            {
                k = (k.content as BitmapData);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
            };
            var k:Point = new Point(((k.width - _arg1.width) / 2), ((k.height - _arg1.height) / 2));
            k.bitmap.copyPixels(_arg1, _arg1.rect, k, null, null, true);
        }
        private function close():void
        {
            this._-0xv.visible = false;
        }
        private function _-2gQ(_arg1:String):void
        {
            var k:IWindow = this._-0xv.findChildByName(_arg1);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this.onMouseClick);
            };
        }
        private function onMouseClick(_arg1:WindowMouseEvent):void
        {
            var k:_-1yP;
            switch (_arg1.target.name)
            {
                case _-1Tc:
                    if (this._-BJ != null)
                    {
                        this._-2-G(this._-BJ.roomObjectId, _-1sV._-3I0);
                    };
                    break;
                case _-Zr:
                case _-40E:
                case _-sr:
                    this.close();
                    break;
                case _-3Yn:
                    k = new _-0gH(_-0gH._-UY, this._-1nK, this._-BJ._-2-w);
                    this.close();
                    break;
            };
            if (k)
            {
                this._-0dg.messageListener.processWidgetMessage(k);
            };
        }
        public function imageReady(_arg1:int, _arg2:BitmapData):void
        {
            if (this.disposed)
            {
                return;
            };
            if (this._-4sC == _arg1)
            {
                this._-1bO(_arg2);
                this._-4sC = 0;
            };
        }
        private function _-2-G(_arg1:int, _arg2:int):Boolean
        {
            var k:int;
            var k:int;
            var k:_-3SU = this._-3mh(_arg1, _arg2);
            if (k != null)
            {
                k = this._-0dg.handler.container.roomSession.roomId;
                k = this._-0dg.handler.container.roomSession.roomCategory;
                this._-0dg.handler.container.roomEngine._-0P5(k, k, k.getId(), _arg2);
                return (true);
            };
            return (false);
        }
        private function _-3mh(_arg1:int, _arg2:int):_-3SU
        {
            var k:int = this._-0dg.handler.container.roomSession.roomId;
            var k:int = this._-0dg.handler.container.roomSession.roomCategory;
            var k:_-3SU = this._-0dg.handler.container.roomEngine.getRoomObject(k, k, _arg1, _arg2);
            return (k);
        }

    }
}//package _-DW

//------------------------------------------------------------
//_-eM.ClubPromoModel

package _-eM
{
    import _-4Kb.HabboAvatarEditor;
    import _-2p5._-2ka;
    import _-Ew.IWindowContainer;
    import _-Fv.*;

    public class ClubPromoModel implements _-2vw 
    {

        private var _-513:HabboAvatarEditor;
        private var _-Ke:ClubPromoView;

        public function ClubPromoModel(_arg1:HabboAvatarEditor)
        {
            this._-513 = _arg1;
        }
        public function dispose():void
        {
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        public function reset():void
        {
        }
        private function init():void
        {
            if (!this._-Ke)
            {
                this._-Ke = new ClubPromoView(this);
            };
        }
        public function _-3k-():void
        {
            this._-Ke._-1Qc();
            if (this._-513)
            {
                this._-513._-2NS();
            };
            if (this._-513.manager.communication)
            {
                this._-513.manager.communication._-4gR(null).send(new _-2ka("AvatarEditor", "click", "try_club_clothes"));
            };
        }
        public function get controller():HabboAvatarEditor
        {
            return (this._-513);
        }
        public function getWindowContainer():IWindowContainer
        {
            this.init();
            if (this._-Ke)
            {
                return (this._-Ke.getWindowContainer());
            };
            return (null);
        }

    }
}//package _-eM

//------------------------------------------------------------
//_-eM.ClubPromoView

package _-eM
{
    import _-Ew.IWindowContainer;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-2Mh._-3YS;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-Fv.*;

    public class ClubPromoView implements _-2aF 
    {

        private var _-3n-:ClubPromoModel;
        private var _-0xv:IWindowContainer;

        public function ClubPromoView(_arg1:ClubPromoModel)
        {
            var k:_-243;
            super();
            this._-3n- = _arg1;
            if (((((this._-3n-) && (this._-3n-.controller))) && (this._-3n-.controller.manager.assets)))
            {
                k = (this._-3n-.controller.manager.assets.getAssetByName("avatareditor_club_promo_try") as _-243);
                if (k)
                {
                    this._-0xv = (this._-3n-.controller.manager.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
                    this._-0xv.visible = false;
                    this._-0xv.procedure = this._-3kk;
                };
            };
        }
        public function dispose():void
        {
            this._-3n- = null;
        }
        public function getWindowContainer():IWindowContainer
        {
            return (this._-0xv);
        }
        public function _-1Qc():void
        {
            var k:_-243;
            if (((((this._-3n-) && (this._-3n-.controller))) && (this._-3n-.controller.manager.assets)))
            {
                k = (this._-3n-.controller.manager.assets.getAssetByName("avatareditor_club_promo_buy") as _-243);
                if (k)
                {
                    this._-0xv = (this._-3n-.controller.manager.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
                    this._-0xv.visible = false;
                    this._-0xv.procedure = this._-3kk;
                };
            };
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case "try_clothes_btn":
                        if (this._-3n-)
                        {
                            this._-3n-._-3k-();
                        };
                        return;
                    case "club_info_btn":
                        if (((((this._-3n-) && (this._-3n-.controller))) && (this._-3n-.controller.manager.catalog)))
                        {
                            this._-3n-.controller.manager.catalog.openClubBuy(_-3YS._-36p, "ClubPromoView");
                        };
                        return;
                    default:
                        _-Nb.log("No event proc for element in Club Promo View");
                };
            };
        }

    }
}//package _-eM

//------------------------------------------------------------
//_-Ew._-1Po

package _-Ew
{
    import _-0Ie.WindowEvent;

    public interface _-1Po 
    {

        function _-0Q7(_arg1:WindowEvent, _arg2:IWindow):void;

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew._-2cX

package _-Ew
{
    import _-3EM.*;
    import _-1B-.*;

    public interface _-2cX extends _-1zZ, _-QQ 
    {

        function get properties():Array;
        function set properties(_arg1:Array):void;

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew._-2La

package _-Ew
{
    import _-1ae._-3Yi;

    public interface _-2La 
    {

        function _-2CG(_arg1:String, _arg2:_-3Yi):_-2cX;

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew._-4b-

package _-Ew
{
    import flash.geom.Rectangle;
    import _-18r.Map;
    import _-3EM._-4pC;
    import _-484._-4iz;

    public interface _-4b- 
    {

        function create(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:Rectangle, _arg6:Function=null, _arg7:String="", _arg8:uint=0, _arg9:Array=null, _arg10:IWindow=null, _arg11:Array=null):IWindow;
        function destroy(_arg1:IWindow):void;
        function buildFromXML(_arg1:XML, _arg2:uint=1, _arg3:Map=null):IWindow;
        function _-1fc(_arg1:IWindow):String;
        function _-0tT(_arg1:uint, _arg2:uint):XML;
        function _-2wN(_arg1:uint, _arg2:uint):_-4pC;
        function getThemeManager():_-4iz;

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew.Classes

package _-Ew
{
    import flash.utils.Dictionary;
    import _-09j.WindowType;
    import _-1ae._-0t2;
    import _-1ae._-Uc;
    import _-1ae._-1J9;
    import _-1ae._-2VO;
    import _-1ae._-tP;
    import _-1ae._-48I;
    import _-1ae._-24S;
    import _-1ae._-Td;
    import _-1ae._-0GK;
    import _-1ae._-2CV;
    import _-1ae._-5AV;
    import _-1ae._-2o2;
    import _-1ae._-55d;
    import _-1ae.DropMenuController;
    import _-1ae._-4B0;
    import _-1ae.DropListController;
    import _-1ae._-52X;
    import _-1ae._-10R;
    import _-1ae._-58v;
    import _-1ae._-4Md;
    import _-1ae._-xH;
    import _-1ae._-0wx;
    import _-1ae._-3C0;
    import _-1ae._-44y;
    import _-1ae.TextLabelController;
    import _-1ae.TextLinkController;
    import _-1ae._-1w7;
    import _-1ae._-0eI;
    import _-1ae.RegionController;
    import _-1ae._-2wW;
    import _-1ae.ScrollBarController;
    import _-1ae._-2yw;
    import _-1ae._-2x6;
    import _-1ae._-3JA;
    import _-1ae._-94;
    import _-1ae._-4PS;
    import _-1ae._-T1;
    import _-1ae._-4e7;
    import _-1ae.TextController;
    import _-1ae.TextFieldController;
    import _-1ae._-2Rl;
    import _-1ae._-1se;
    import _-1ae.*;

    public class Classes 
    {

        protected static var _-0UC:Dictionary;

        public static function init():void
        {
            if (!_-0UC)
            {
                _-0UC = new Dictionary();
                _-0UC[WindowType._-4Jd] = WindowController;
                _-0UC[WindowType._-ke] = _-0t2;
                _-0UC[WindowType._-1Q3] = _-Uc;
                _-0UC[WindowType._-45W] = _-1J9;
                _-0UC[WindowType._-2ks] = _-2VO;
                _-0UC[WindowType._-4f8] = WindowController;
                _-0UC[WindowType._-Jv] = WindowController;
                _-0UC[WindowType._-3sY] = WindowController;
                _-0UC[WindowType._-15O] = WindowController;
                _-0UC[WindowType._-1zW] = _-tP;
                _-0UC[WindowType._-2la] = _-tP;
                _-0UC[WindowType._-4F5] = _-48I;
                _-0UC[WindowType._-iW] = _-48I;
                _-0UC[WindowType._-4T2] = _-48I;
                _-0UC[WindowType._-0HS] = _-24S;
                _-0UC[WindowType._-1-S] = _-Td;
                _-0UC[WindowType._-4q6] = _-0GK;
                _-0UC[WindowType._-CP] = _-2CV;
                _-0UC[WindowType._-3G4] = _-5AV;
                _-0UC[WindowType._-0Nv] = _-2o2;
                _-0UC[WindowType._-Ba] = _-55d;
                _-0UC[WindowType._-1M0] = DropMenuController;
                _-0UC[WindowType._-4Yi] = _-4B0;
                _-0UC[WindowType._-1qf] = DropListController;
                _-0UC[WindowType._-2kj] = _-52X;
                _-0UC[WindowType._-ja] = _-10R;
                _-0UC[WindowType._-1op] = _-58v;
                _-0UC[WindowType._-xo] = _-4Md;
                _-0UC[WindowType._-1Gk] = _-xH;
                _-0UC[WindowType._-047] = _-0wx;
                _-0UC[WindowType._-SD] = _-3C0;
                _-0UC[WindowType._-0BA] = _-3C0;
                _-0UC[WindowType._-1J0] = _-3C0;
                _-0UC[WindowType._-IW] = _-44y;
                _-0UC[WindowType._-cS] = _-44y;
                _-0UC[WindowType._-0bm] = _-44y;
                _-0UC[WindowType._-VE] = TextLabelController;
                _-0UC[WindowType._-3nF] = TextLinkController;
                _-0UC[WindowType._-1Yj] = _-1w7;
                _-0UC[WindowType._-1nH] = _-0eI;
                _-0UC[WindowType._-4Y4] = RegionController;
                _-0UC[WindowType._-1Fv] = _-2wW;
                _-0UC[WindowType._-3tF] = ScrollBarController;
                _-0UC[WindowType._-3hf] = ScrollBarController;
                _-0UC[WindowType._-4z3] = _-tP;
                _-0UC[WindowType._-4mU] = _-tP;
                _-0UC[WindowType._-3UI] = _-tP;
                _-0UC[WindowType._-3lG] = _-tP;
                _-0UC[WindowType._-1Ko] = _-55d;
                _-0UC[WindowType._-0di] = _-55d;
                _-0UC[WindowType._-2AL] = WindowController;
                _-0UC[WindowType._-401] = WindowController;
                _-0UC[WindowType._-0CI] = _-2yw;
                _-0UC[WindowType._-32g] = _-2x6;
                _-0UC[WindowType._-0-a] = _-3JA;
                _-0UC[WindowType._-5Dq] = _-94;
                _-0UC[WindowType._-0jC] = _-4PS;
                _-0UC[WindowType._-1fp] = _-T1;
                _-0UC[WindowType._-0-8] = _-0GK;
                _-0UC[WindowType._-1io] = _-4e7;
                _-0UC[WindowType._-48Q] = _-3JA;
                _-0UC[WindowType._-3va] = TextController;
                _-0UC[WindowType._-4di] = TextFieldController;
                _-0UC[WindowType._-2qK] = _-2Rl;
                _-0UC[WindowType._-5AK] = _-1se;
            };
        }
        public static function _-0n8(_arg1:uint):Class
        {
            return (_-0UC[_arg1]);
        }

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew.ICoreWindowManager

package _-Ew
{
    import flash.geom.Rectangle;
    import _-18r.Map;
    import _-1ae.IDesktopWindow;
    import _-3EM._-5Dv;

    public interface ICoreWindowManager 
    {

        function create(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:Rectangle, _arg6:Function=null, _arg7:String="", _arg8:uint=0, _arg9:Array=null, _arg10:IWindow=null, _arg11:Array=null):IWindow;
        function destroy(_arg1:IWindow):void;
        function buildFromXML(_arg1:XML, _arg2:uint=1, _arg3:Map=null):IWindow;
        function _-1fc(_arg1:IWindow):String;
        function getDesktop(_arg1:uint):IDesktopWindow;
        function notify(_arg1:String, _arg2:String, _arg3:Function, _arg4:uint=0):_-5Dv;
        function _-2mi(_arg1:String):IWindow;
        function _-0qd(_arg1:String):IWindow;
        function _-Mj(_arg1:String, _arg2:Array, _arg3:int=0):uint;

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew.IWindow

package _-Ew
{
    import flash.geom.Point;
    import flash.geom.Rectangle;
    import _-3EM._-31r;
    import _-1ae.IDesktopWindow;
    import _-18r.Map;
    import flash.display.IBitmapDrawable;
    import _-3EM.PropertyStruct;
    import _-1B-.*;

    public interface IWindow extends _-1zZ 
    {

        function get x():int;
        function get y():int;
        function get id():uint;
        function get name():String;
        function get width():int;
        function get height():int;
        function get position():Point;
        function get rectangle():Rectangle;
        function get properties():Array;
        function get procedure():Function;
        function get background():Boolean;
        function get alpha():uint;
        function get color():uint;
        function get blend():Number;
        function get style():uint;
        function get visible():Boolean;
        function get clipping():Boolean;
        function get caption():String;
        function get parent():IWindow;
        function get debug():Boolean;
        function get filters():Array;
        function get mouseThreshold():uint;
        function get type():uint;
        function get state():uint;
        function get param():uint;
        function get _-2rW():_-31r;
        function get context():IWindowContext;
        function get desktop():IDesktopWindow;
        function get host():IWindow;
        function get tags():Array;
        function get left():int;
        function get top():int;
        function get right():int;
        function get bottom():int;
        function set x(_arg1:int):void;
        function set y(_arg1:int):void;
        function set id(_arg1:uint):void;
        function set name(_arg1:String):void;
        function set width(_arg1:int):void;
        function set height(_arg1:int):void;
        function set position(_arg1:Point):void;
        function set rectangle(_arg1:Rectangle):void;
        function set properties(_arg1:Array):void;
        function set procedure(_arg1:Function):void;
        function set background(_arg1:Boolean):void;
        function set alpha(_arg1:uint):void;
        function set color(_arg1:uint):void;
        function set blend(_arg1:Number):void;
        function set style(_arg1:uint):void;
        function set visible(_arg1:Boolean):void;
        function set clipping(_arg1:Boolean):void;
        function set caption(_arg1:String):void;
        function set parent(_arg1:IWindow):void;
        function set debug(_arg1:Boolean):void;
        function set filters(_arg1:Array):void;
        function set mouseThreshold(_arg1:uint):void;
        function toString():String;
        function clone():IWindow;
        function invalidate(_arg1:Rectangle=null):void;
        function _-1o-():uint;
        function buildFromXML(_arg1:XML, _arg2:Map=null):Boolean;
        function center():void;
        function offset(_arg1:Number, _arg2:Number):void;
        function scale(_arg1:Number, _arg2:Number):void;
        function _-gq():IBitmapDrawable;
        function _-1o1(_arg1:Point):void;
        function _-17N(_arg1:Point):void;
        function _-3Eb(_arg1:Rectangle):void;
        function getMouseRegion(_arg1:Rectangle):void;
        function _-4NK(_arg1:Point):void;
        function _-1rB(_arg1:Rectangle):void;
        function _-3ML(_arg1:Point):Boolean;
        function _-1kx(_arg1:Rectangle):Boolean;
        function getGlobalPosition(_arg1:Point):void;
        function _-3gl(_arg1:Point):void;
        function getGlobalRectangle(_arg1:Rectangle):void;
        function _-439(_arg1:Rectangle):void;
        function hitTestGlobalPoint(_arg1:Point):Boolean;
        function _-12x(_arg1:Rectangle):Boolean;
        function _-5-Y():Number;
        function _-4Ve():Number;
        function _-32V(_arg1:Point):void;
        function _-fa(_arg1:Point):void;
        function _-4Ju(_arg1:String):IWindow;
        function _-1H2(_arg1:uint, _arg2:Boolean=true):void;
        function _-3AV(_arg1:uint):Boolean;
        function _-eg(_arg1:uint, _arg2:uint=0):Boolean;
        function _-4FN(_arg1:uint, _arg2:Boolean=true):void;
        function _-4vQ(_arg1:uint):Boolean;
        function _-aQ(_arg1:uint, _arg2:uint=0):Boolean;
        function setParamFlag(_arg1:uint, _arg2:Boolean=true):void;
        function _-52W(_arg1:uint):Boolean;
        function _-1s-(_arg1:uint, _arg2:uint=0):Boolean;
        function destroy():Boolean;
        function minimize():Boolean;
        function _-4Ho():Boolean;
        function _-No():Boolean;
        function activate():Boolean;
        function deactivate():Boolean;
        function lock():Boolean;
        function unlock():Boolean;
        function enable():Boolean;
        function disable():Boolean;
        function addEventListener(_arg1:String, _arg2:Function, _arg3:int=0):void;
        function removeEventListener(_arg1:String, _arg2:Function):void;
        function hasEventListener(_arg1:String):Boolean;
        function _-4wa(_arg1:String, _arg2:Object):PropertyStruct;
        function _-aJ(_arg1:String):PropertyStruct;

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew.IWindowContainer

package _-Ew
{
    import flash.geom.Point;
    import _-3EM.*;

    public interface IWindowContainer extends IWindow, _-QQ 
    {

        function get numChildren():int;
        function addChild(_arg1:IWindow):IWindow;
        function addChildAt(_arg1:IWindow, _arg2:int):IWindow;
        function getChildAt(_arg1:int):IWindow;
        function getChildByID(_arg1:uint):IWindow;
        function _-32X(_arg1:String):IWindow;
        function getChildByName(_arg1:String):IWindow;
        function getChildIndex(_arg1:IWindow):int;
        function findChildByTag(_arg1:String):IWindow;
        function findChildByName(_arg1:String):IWindow;
        function removeChild(_arg1:IWindow):IWindow;
        function removeChildAt(_arg1:int):IWindow;
        function setChildIndex(_arg1:IWindow, _arg2:int):void;
        function swapChildren(_arg1:IWindow, _arg2:IWindow):void;
        function swapChildrenAt(_arg1:int, _arg2:int):void;
        function _-0tX(_arg1:uint, _arg2:Array, _arg3:int=0):uint;
        function _-507(_arg1:String, _arg2:Array, _arg3:int=0):uint;
        function _-0x0(_arg1:Point):IWindow;
        function groupChildrenUnderPoint(_arg1:Point, _arg2:Array):void;

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew.IWindowContext

package _-Ew
{
    import _-25N._-3LV;
    import _-3EM._-1lT;
    import _-1ae.IDesktopWindow;
    import flash.geom.Rectangle;

    public interface IWindowContext 
    {

        function getWindowServices():_-3LV;
        function getWindowParser():_-1lT;
        function getDesktopWindow():IDesktopWindow;
        function registerLocalizationListener(_arg1:String, _arg2:IWindow):void;
        function removeLocalizationListener(_arg1:String, _arg2:IWindow):void;
        function get whiteListFilterActive():Boolean;
        function isSafeWord(_arg1:String):Boolean;
        function isSafePrefix(_arg1:String):Boolean;
        function _-2mi(_arg1:String):IWindow;
        function _-0qd(_arg1:String):IWindow;
        function _-507(_arg1:String, _arg2:Array, _arg3:int=0):uint;
        function create(_arg1:String, _arg2:String, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:Rectangle, _arg7:Function, _arg8:IWindow, _arg9:uint, _arg10:Array=null, _arg11:Array=null):IWindow;
        function destroy(_arg1:IWindow):Boolean;
        function invalidate(_arg1:IWindow, _arg2:Rectangle, _arg3:uint):void;
        function _-1wH():Error;
        function _-391():int;
        function _-0Zg():void;
        function _-0V6(_arg1:_-1Po):void;
        function _-1Kp(_arg1:_-1Po):void;
        function get _-3Lc():Boolean;
        function set _-3Lc(_arg1:Boolean):void;

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew.WindowContext

package _-Ew
{
    import _-3EM._-16d;
    import _-3EM._-4De;
    import _-3Qs._-4RO;
    import flash.display.Stage;
    import __AS3__.vec.Vector;
    import _-3EM._-0vC;
    import _-uF.ICoreLocalizationManager;
    import flash.display.DisplayObjectContainer;
    import _-25N._-3LV;
    import _-3EM._-1lT;
    import _-295._-3JR;
    import _-1ae.IDesktopWindow;
    import _-1ae.SubstituteParentController;
    import _-1B-._-4yh;
    import _-25N._-xR;
    import _-3EM.WindowParser;
    import flash.geom.Rectangle;
    import _-1ae._-52Q;
    import flash.events.Event;
    import _-1B-._-1zZ;
    import _-3EM._-0nI;
    import _-3EM.MouseEventProcessor;
    import _-r7._-0z1;
    import _-r7._-32b;
    import _-3Qs.IGraphicContextHost;
    import flash.display.DisplayObject;
    import _-uF.ILocalizable;
    import _-uF._-3Z;
    import _-09j.WindowParam;
    import _-09j.WindowState;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class WindowContext implements IWindowContext, _-1zZ, _-0gI 
    {

        public static const _-kW:uint = 0;
        public static const _-1rD:uint = 1;
        public static const _-4ZT:int = 0;
        public static const _-2fg:int = 1;
        public static const _-4Zb:int = 2;
        public static const _-1DK:int = 3;
        public static const _-4MB:int = 4;
        public static const _-2Qv:int = 5;

        public static var _-1gG:_-16d;
        private static var _-3-F:_-4De;
        private static var _-4cI:uint = _-kW;//0
        private static var _-3nN:_-4RO;
        private static var stage:Stage;

        private var _-1O1:Boolean = true;
        public var inputEventTrackers:Vector.<_-1Po>;
        private var _-8w:_-0vC;
        protected var _-cU:ICoreLocalizationManager;
        protected var _-0id:DisplayObjectContainer;
        protected var _-4IO:Boolean = true;
        protected var _-oE:Error;
        protected var _-0hL:int = -1;
        protected var _-rk:_-3LV;
        protected var _-1p5:_-1lT;
        protected var _-03E:_-4b-;
        protected var _-0dh:_-2La;
        protected var _-3QX:_-3JR;
        protected var _-0zZ:IDesktopWindow;
        protected var _-0pk:SubstituteParentController;
        private var _disposed:Boolean = false;
        private var _-3Nx:Boolean = false;
        private var _-1zz:Boolean = false;
        private var _name:String;
        private var _-3fD:_-4yh;

        public function WindowContext(_arg1:String, _arg2:_-4RO, _arg3:_-4b-, _arg4:_-2La, _arg5:_-3JR, _arg6:ICoreLocalizationManager, _arg7:_-4yh, _arg8:DisplayObjectContainer, _arg9:Rectangle)
        {
            this._name = _arg1;
            _-3nN = _arg2;
            this._-cU = _arg6;
            this._-3fD = _arg7;
            this._-0id = _arg8;
            this._-rk = new _-xR(this, _arg8);
            this._-03E = _arg3;
            this._-0dh = _arg4;
            this._-3QX = _arg5;
            this._-1p5 = new WindowParser(this);
            this.inputEventTrackers = new Vector.<_-1Po>();
            if (!stage)
            {
                if ((this._-0id is Stage))
                {
                    stage = (this._-0id as Stage);
                }
                else
                {
                    if (this._-0id.stage)
                    {
                        stage = this._-0id.stage;
                    };
                };
            };
            Classes.init();
            if (_arg9 == null)
            {
                k = new Rectangle(0, 0, 800, 600);
            };
            this._-0zZ = new _-52Q(("_CONTEXT_DESKTOP_" + this._name), this, _arg9);
            this._-0zZ._-2rW.maxWidth = _arg9.width;
            this._-0zZ._-2rW.maxHeight = _arg9.height;
            this._-0id.addChild(this._-0zZ.getDisplayObject());
            this._-0id.doubleClickEnabled = true;
            this._-0id.addEventListener(Event.RESIZE, this._-15-);
            this._-8w = new _-0vC(_-3nN, this._-0zZ, this._-0zZ, null, this.inputEventTrackers);
            _-03g = _-kW;
            this._-0pk = new SubstituteParentController(this);
        }
        public static function get _-03g():uint
        {
            return (_-4cI);
        }
        public static function set _-03g(_arg1:uint):void
        {
            if (_-1gG)
            {
                if ((_-1gG is _-1zZ))
                {
                    _-1zZ(_-1gG).dispose();
                };
            };
            if (_-3-F)
            {
                if ((_-3-F is _-1zZ))
                {
                    _-1zZ(_-3-F).dispose();
                };
            };
            switch (_arg1)
            {
                case _-kW:
                    _-1gG = new _-0nI(stage);
                    _-3-F = new MouseEventProcessor();
                    try
                    {
                    }
                    catch(e:Error)
                    {
                    };
                    return;
                case _-1rD:
                    _-1gG = new _-0z1(stage);
                    _-3-F = new _-32b();
                    try
                    {
                    }
                    catch(e:Error)
                    {
                    };
                    return;
                default:
                    _-03g = _-kW;
                    throw (new Error(("Unknown input mode " + _arg1)));
            };
        }

        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._-0id.removeEventListener(Event.RESIZE, this._-15-);
                this._-0id.removeChild((IGraphicContextHost(this._-0zZ).getGraphicContext(true) as DisplayObject));
                this._-0zZ.destroy();
                this._-0zZ = null;
                this._-0pk.destroy();
                this._-0pk = null;
                if ((this._-rk is _-1zZ))
                {
                    _-1zZ(this._-rk).dispose();
                };
                this._-rk = null;
                this._-1p5.dispose();
                this._-1p5 = null;
                _-3nN = null;
                this._-cU = null;
                this._-0id = null;
                this._-03E = null;
                this._-0dh = null;
                this._-3QX = null;
            };
        }
        public function _-1wH():Error
        {
            return (this._-oE);
        }
        public function _-391():int
        {
            return (this._-0hL);
        }
        public function handleError(_arg1:int, _arg2:Error):void
        {
            this._-oE = _arg2;
            this._-0hL = _arg1;
            if (this._-4IO)
            {
                throw (_arg2);
            };
        }
        public function _-0Zg():void
        {
            this._-oE = null;
            this._-0hL = -1;
        }
        public function getWindowServices():_-3LV
        {
            return (this._-rk);
        }
        public function getWindowParser():_-1lT
        {
            return (this._-1p5);
        }
        public function getWindowFactory():_-4b-
        {
            return (this._-03E);
        }
        public function getDesktopWindow():IDesktopWindow
        {
            return (this._-0zZ);
        }
        public function _-2mi(_arg1:String):IWindow
        {
            return (this._-0zZ.findChildByName(_arg1));
        }
        public function _-0qd(_arg1:String):IWindow
        {
            return (this._-0zZ.findChildByTag(_arg1));
        }
        public function _-507(_arg1:String, _arg2:Array, _arg3:int=0):uint
        {
            return (this._-0zZ._-507(_arg1, _arg2, _arg3));
        }
        public function registerLocalizationListener(_arg1:String, _arg2:IWindow):void
        {
            this._-cU._-1EK(_arg1, (_arg2 as ILocalizable));
        }
        public function removeLocalizationListener(_arg1:String, _arg2:IWindow):void
        {
            this._-cU._-4nL(_arg1, (_arg2 as ILocalizable));
        }
        public function get whiteListFilterActive():Boolean
        {
            return (((this._-3fD.getBoolean("safe.chat.client.enabled", false)) && (!(this._-1O1))));
        }
        public function isSafeWord(_arg1:String):Boolean
        {
            return ((this._-cU as _-3Z).isSafeWord(_arg1));
        }
        public function isSafePrefix(_arg1:String):Boolean
        {
            return ((this._-cU as _-3Z).isSafePrefix(_arg1));
        }
        public function create(_arg1:String, _arg2:String, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:Rectangle, _arg7:Function, _arg8:IWindow, _arg9:uint, _arg10:Array=null, _arg11:Array=null):IWindow
        {
            var k:IWindow;
            var k:Class = Classes._-0n8(_arg3);
            if (k == null)
            {
                this.handleError(WindowContext._-4MB, new Error((('Failed to solve implementation for window "' + _arg1) + '"!')));
                return (null);
            };
            if (_arg8 == null)
            {
                if ((_arg5 & WindowParam._-Cp))
                {
                    k = this._-0pk;
                };
            };
            k = new k(_arg1, _arg3, _arg4, _arg5, this, _arg6, (((_arg8)!=null) ? _arg8 : this._-0zZ), _arg7, _arg10, _arg11, _arg9);
            if (((_arg2) && (_arg2.length)))
            {
                k.caption = _arg2;
            };
            return (k);
        }
        public function destroy(_arg1:IWindow):Boolean
        {
            if (_arg1 == this._-0zZ)
            {
                this._-0zZ = null;
            };
            if (_arg1.state != WindowState._-3jl)
            {
                _arg1.destroy();
            };
            return (true);
        }
        public function invalidate(_arg1:IWindow, _arg2:Rectangle, _arg3:uint):void
        {
            if (!this.disposed)
            {
                _-3nN._-1wo(_arg1, _arg2, _arg3);
            };
        }
        public function update(_arg1:uint):void
        {
            var k:Error;
            this._-3Nx = true;
            if (this._-oE)
            {
                k = this._-oE;
                this._-oE = null;
                throw (k);
            };
            _-3-F.process(this._-8w, _-1gG);
            this._-3Nx = false;
        }
        public function render(_arg1:uint):void
        {
            this._-1zz = true;
            _-3nN.render();
            this._-1zz = false;
        }
        private function _-15-(_arg1:Event):void
        {
            if (((!((this._-0zZ == null))) && (!(this._-0zZ.disposed))))
            {
                if ((this._-0id is Stage))
                {
                    this._-0zZ._-2rW.maxWidth = Stage(this._-0id).stageWidth;
                    this._-0zZ._-2rW.maxHeight = Stage(this._-0id).stageHeight;
                    this._-0zZ.width = Stage(this._-0id).stageWidth;
                    this._-0zZ.height = Stage(this._-0id).stageHeight;
                }
                else
                {
                    this._-0zZ._-2rW.maxWidth = this._-0id.width;
                    this._-0zZ._-2rW.maxHeight = this._-0id.height;
                    this._-0zZ.width = this._-0id.width;
                    this._-0zZ.height = this._-0id.height;
                };
            };
        }
        public function _-0V6(_arg1:_-1Po):void
        {
            if (this.inputEventTrackers.indexOf(_arg1) < 0)
            {
                this.inputEventTrackers.push(_arg1);
            };
        }
        public function _-1Kp(_arg1:_-1Po):void
        {
            var k:int = this.inputEventTrackers.indexOf(_arg1);
            if (k > -1)
            {
                this.inputEventTrackers.splice(k, 1);
            };
        }
        public function getResourceManager():_-3JR
        {
            return (this._-3QX);
        }
        public function _-1bg():_-2La
        {
            return (this._-0dh);
        }
        public function _-0ID(_arg1:String):Array
        {
            return ((this._-cU as _-3Z)._-0ID(_arg1));
        }
        public function get _-3Lc():Boolean
        {
            return (this._-1O1);
        }
        public function set _-3Lc(_arg1:Boolean):void
        {
            this._-1O1 = _arg1;
        }

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew.WindowController

package _-Ew
{
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-0Ie.WindowEventDispatcher;
    import _-3Qs.IGraphicContext;
    import __AS3__.vec.Vector;
    import _-3EM._-2MO;
    import _-484._-04P;
    import _-09j.WindowParam;
    import _-3EM._-4pC;
    import _-3Qs._-2b3;
    import _-3EM._-31r;
    import _-1ae.IDesktopWindow;
    import _-0Ie.WindowEvent;
    import _-3Qs._-49b;
    import _-0Ie._-4C7;
    import _-09j.WindowState;
    import _-1B-._-1zZ;
    import flash.utils.getQualifiedClassName;
    import _-18r.Map;
    import flash.display.IBitmapDrawable;
    import _-25N. in;
    import _-0Ie.WindowMouseEvent;
    import _-09j.MouseListenerType;
    import flash.display.BitmapData;
    import _-3Qs.IGraphicContextHost;
    import _-3EM.PropertyStruct;
    import _-3EM.*;
    import __AS3__.vec.*;
    import _-3Qs.*;

    public class WindowController extends WindowModel implements IWindow, IGraphicContextHost, _-L- 
    {

        private static const _-3Sc:Rectangle = new Rectangle();
        public static const TAG_EXCLUDE:String = "_EXCLUDE";
        public static const TAG_INTERNAL:String = "_INTERNAL";
        public static const _-1Jf:String = "_COLORIZE";
        public static const _-4h8:String = "_IGNORE_INHERITED_STYLE";
        private static const _-4kQ:Point = new Point();

        private static var _-53O:uint = 0;

        protected var _-2Te:WindowEventDispatcher;
        protected var _-3in:IGraphicContext;
        protected var _-07S:Function;
        protected var _-2Hw:Boolean = true;
        protected var _parent:WindowController;
        protected var _-16P:Vector.<IWindow>;
        protected var _-2Qq:Boolean = false;
        protected var _-0IB:_-2MO;
        private var _-1eo:Boolean = false;
        private var _-Mk:Rectangle;
        private var _-1YH:uint;
        private var _-0yl:_-04P;

        public function WindowController(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:WindowContext, _arg6:Rectangle, _arg7:IWindow, _arg8:Function=null, _arg9:Array=null, _arg10:Array=null, _arg11:uint=0)
        {
            var k:uint;
            this._-1YH = _-53O++;
            var k:XML = _arg5.getWindowFactory()._-0tT(_arg2, _arg3);
            if (_arg6 == null)
            {
                k = new Rectangle(0, 0, ((k) ? int(k.attribute("width")) : 10), ((k) ? int(k.attribute("height")) : 10));
            };
            this._-0yl = _arg5.getWindowFactory().getThemeManager().getPropertyDefaults(_arg3);
            super(_arg11, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg10);
            if (!this._-3in)
            {
                this._-3in = this.getGraphicContext(!(_-1s-(WindowParam._-Cp)));
            };
            this._-Mk = new Rectangle();
            if (k != null)
            {
                _-1Zx = new Rectangle(0, 0, int(k.attribute("width")), int(k.attribute("height")));
                _-3nn = _-1Zx.clone();
                _-2dX = _-1Zx.x;
                _-4TA = _-1Zx.y;
                _-Eb = _-1Zx.width;
                _-ar = _-1Zx.height;
                _arg5.getWindowParser().parseAndConstruct(k, this, null);
                k = _-4qc;
                _-4qc = (_-4qc & ~(WindowParam._-3TP));
                this.setRectangle(_arg6.x, _arg6.y, _arg6.width, _arg6.height);
                _-4qc = k;
                _-3nn.x = _arg6.x;
                _-3nn.y = _arg6.y;
                _-3nn.width = _arg6.width;
                _-3nn.height = _arg6.height;
            };
            var k:_-4pC = _arg5.getWindowFactory()._-2wN(_arg2, _arg3);
            if (k)
            {
                _-4Ay = k.blend;
                _-0BI = k._-4Sj;
                if (_-4aE != k.background)
                {
                    this.background = k.background;
                };
                if (_-3Fe != k.color)
                {
                    this.color = k.color;
                };
                if (k._-387())
                {
                    _-2MO(this._-2rW)._-3jn(k.width_min, k.width_max, k.height_min, k.height_max);
                };
            };
            if (_arg9)
            {
                this.properties = _arg9;
            };
            this._-07S = _arg8;
            if (_arg7 != null)
            {
                this._parent = (_arg7 as WindowController);
                WindowController(_arg7).addChild(this);
                if (this._-3in)
                {
                    _context.invalidate(this, null, _-2b3._-35h);
                };
            };
        }
        private static function _-1ar(_arg1:WindowController, _arg2:Rectangle):void
        {
            var k:Rectangle = new Rectangle();
            _arg1.getGlobalRectangle(k);
            var k:int = _arg1.numChildren;
            var k:int = k.x;
            var k:int = k.y;
            _arg2.left = (((k)<_arg2.left) ? k : _arg2.left);
            _arg2.top = (((k)<_arg2.top) ? k : _arg2.top);
            _arg2.right = (((k.right)>_arg2.right) ? k.right : _arg2.right);
            _arg2.bottom = (((k.bottom)>_arg2.bottom) ? k.bottom : _arg2.bottom);
            var k:int;
            while (k < k)
            {
                WindowController._-1ar((_arg1.getChildAt(k) as WindowController), _arg2);
                k++;
            };
        }
        public static function _-1DA(_arg1:WindowController, _arg2:IWindow):void
        {
            var k:uint;
            var k:uint;
            var k:uint;
            var k:int;
            var k:int;
            var k:int = _arg1.width;
            var k:int = _arg1.height;
            var k:Boolean;
            if (_arg2.x < 0)
            {
                k = _arg2.x;
                k = (k - k);
                _arg2.x = 0;
                k = true;
            };
            if (_arg2.right > k)
            {
                k = (_arg2.x + _arg2.width);
                k = true;
            };
            if (_arg2.y < 0)
            {
                k = _arg2.y;
                k = (k - k);
                _arg2.y = 0;
                k = true;
            };
            if (_arg2.bottom > k)
            {
                k = (_arg2.y + _arg2.height);
                k = true;
            };
            if (k)
            {
                k = (_arg1.param & (WindowParam._-Bh | WindowParam._-4Uq));
                if (k)
                {
                    _arg1.setParamFlag(k, false);
                };
                _arg1.setRectangle((_arg1.x + k), (_arg1.y + k), k, k);
                if (((!((k == 0))) || (!((k == 0)))))
                {
                    k = _arg1.numChildren;
                    k = 0;
                    while (k < k)
                    {
                        IWindow(_arg1.getChildAt(k)).offset(-(k), -(k));
                        k++;
                    };
                };
                if (k)
                {
                    _arg1.setParamFlag(k, true);
                };
            };
        }
        public static function resizeToAccommodateChildren(_arg1:WindowController):void
        {
            var k:uint;
            var k:IWindow;
            var k:uint;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:int = int.MIN_VALUE;
            var k:int = int.MIN_VALUE;
            var k:Boolean;
            var k:uint = _arg1.numChildren;
            k = 0;
            while (k < k)
            {
                k = _arg1.getChildAt(k);
                if ((k.x + k.width) > k)
                {
                    k = (k.x + k.width);
                    k = true;
                };
                if ((k.y + k.height) > k)
                {
                    k = (k.y + k.height);
                    k = true;
                };
                k++;
            };
            if (k)
            {
                k = (_arg1.param & (WindowParam._-Bh | WindowParam._-4Uq));
                if (k)
                {
                    _arg1.setParamFlag(k, false);
                };
                if (((!((k == 0))) || (!((k == 0)))))
                {
                    k = 0;
                    while (k < k)
                    {
                        k = _arg1.getChildAt(k);
                        k = k._-1s-(WindowParam._-JK);
                        if (k)
                        {
                            k.setParamFlag(WindowParam._-JK, false);
                        };
                        k.offset(-(k), -(k));
                        if (k)
                        {
                            k.setParamFlag(WindowParam._-JK, true);
                        };
                        k++;
                    };
                };
                _arg1.width = k;
                _arg1.height = k;
                if (k)
                {
                    _arg1.setParamFlag(k, true);
                };
            };
        }

        public function get properties():Array
        {
            return ([]);
        }
        public function get procedure():Function
        {
            return ((((this._-07S)!=null) ? this._-07S : (((this._parent)!=null) ? this._parent.procedure : this._-4NZ)));
        }
        public function get filters():Array
        {
            return (((this._-3gg()) ? this.getGraphicContext(true).filters : []));
        }
        public function get parent():IWindow
        {
            return (this._parent);
        }
        public function get debug():Boolean
        {
            return (this._-2Qq);
        }
        public function get _-2rW():_-31r
        {
            return (((this._-0IB) ? this._-0IB : this._-0IB = new _-2MO(this)));
        }
        public function set x(_arg1:int):void
        {
            if (_arg1 != _-2dX)
            {
                this.setRectangle(_arg1, _-4TA, _-Eb, _-ar);
            };
        }
        public function set y(_arg1:int):void
        {
            if (_arg1 != _-4TA)
            {
                this.setRectangle(_-2dX, _arg1, _-Eb, _-ar);
            };
        }
        public function set id(_arg1:uint):void
        {
            _-0Kq = _arg1;
        }
        public function set name(_arg1:String):void
        {
            _name = _arg1;
        }
        public function set width(_arg1:int):void
        {
            if (_arg1 != _-Eb)
            {
                this.setRectangle(_-2dX, _-4TA, _arg1, _-ar);
            };
        }
        public function set height(_arg1:int):void
        {
            if (_arg1 != _-ar)
            {
                this.setRectangle(_-2dX, _-4TA, _-Eb, _arg1);
            };
        }
        public function set position(_arg1:Point):void
        {
            this.setRectangle(_arg1.x, _arg1.y, _-Eb, _-ar);
        }
        public function set rectangle(_arg1:Rectangle):void
        {
            this.setRectangle(_arg1.x, _arg1.y, _arg1.width, _arg1.height);
        }
        public function set background(_arg1:Boolean):void
        {
            _-4aE = _arg1;
            _-3Fe = ((_-4aE) ? (_-3Fe | _-3nf) : (_-3Fe & 0xFFFFFF));
            this._-2Hw = ((this._-2Hw) || (_arg1));
            _context.invalidate(this, null, _-2b3._-35h);
        }
        public function set color(_arg1:uint):void
        {
            _-3nf = (_arg1 & 0xFF000000);
            _-3Fe = ((_-4aE) ? _arg1 : (_arg1 & 0xFFFFFF));
            _context.invalidate(this, null, _-2b3._-35h);
        }
        public function set alpha(_arg1:uint):void
        {
            _-3nf = (_arg1 << 24);
            _-3Fe = ((_-4aE) ? (_-3nf | _-3Fe) : (0xFFFFFF & _-3Fe));
            _context.invalidate(this, null, _-2b3._-35h);
        }
        public function set blend(_arg1:Number):void
        {
            k = (((_arg1 > 1)) ? 1 : (((_arg1 < 0)) ? 0 : _arg1));
            if (k != _-4Ay)
            {
                _-4Ay = k;
                _context.invalidate(this, null, _-2b3._-3yA);
            };
        }
        public function set visible(_arg1:Boolean):void
        {
            if (_arg1 != _-r3)
            {
                _-r3 = _arg1;
                if (((this._-3in) && (!(_arg1))))
                {
                    this._-3in.visible = false;
                };
                _context.invalidate(this, null, _-2b3._-35h);
            };
        }
        public function set type(_arg1:uint):void
        {
            if (_arg1 != _-5K)
            {
                _-5K = _arg1;
                _context.invalidate(this, null, _-2b3._-35h);
            };
        }
        public function set caption(_arg1:String):void
        {
            k = ((_arg1) ? _arg1 : "");
            if (k != caption)
            {
                _-3BO = k;
                _context.invalidate(this, null, _-2b3._-35h);
            };
        }
        public function set tags(_arg1:Array):void
        {
            if (_arg1 != null)
            {
                _-tz = _arg1;
            };
        }
        public function set mouseThreshold(_arg1:uint):void
        {
            _-0BI = (((_arg1 > 0xFF)) ? 0xFF : _arg1);
        }
        public function set procedure(_arg1:Function):void
        {
            this._-07S = _arg1;
        }
        public function set filters(_arg1:Array):void
        {
            if (this._-3gg())
            {
                this.getGraphicContext(true).filters = _arg1;
            };
        }
        public function set debug(_arg1:Boolean):void
        {
            this._-2Qq = _arg1;
        }
        public function set properties(_arg1:Array):void
        {
        }
        public function set state(_arg1:uint):void
        {
            if (_arg1 != _-0Ke)
            {
                _-0Ke = _arg1;
                _context.invalidate(this, null, _-2b3._-2TJ);
            };
        }
        public function set style(_arg1:uint):void
        {
            var k:Array;
            var k:uint;
            var k:WindowController;
            if (_arg1 != _-bl)
            {
                _-bl = _arg1;
                k = new Array();
                this._-507(WindowController.TAG_INTERNAL, k);
                k = k.length;
                while (--k > -1)
                {
                    k = (k[k] as WindowController);
                    if (k.tags.indexOf(_-4h8) == -1)
                    {
                        k.style = _-bl;
                    };
                };
                _context.invalidate(this, null, _-2b3._-35h);
                this._-0yl = _context.getWindowFactory().getThemeManager().getPropertyDefaults(_-bl);
            };
        }
        public function set clipping(_arg1:Boolean):void
        {
            if (_arg1 != _-218)
            {
                _-218 = _arg1;
                _context.invalidate(this, null, _-2b3._-35h);
            };
        }
        public function get host():IWindow
        {
            return ((((this._parent)==this.desktop) ? this : this._parent.host));
        }
        public function get desktop():IDesktopWindow
        {
            return (_context.getDesktopWindow());
        }
        public function set parent(_arg1:IWindow):void
        {
            var k:WindowController;
            var k:WindowEvent;
            if (_arg1 == this)
            {
                throw (new Error("Attempted to assign self as parent!"));
            };
            if (((!((_arg1 == null))) && (!((_arg1.context == _context)))))
            {
                _context = WindowContext(_arg1.context);
                if (this._-16P)
                {
                    for each (k in this._-16P)
                    {
                        k.parent = this;
                    };
                };
            };
            var k:IWindow = this._parent;
            if (this._parent != _arg1)
            {
                if (this._parent != null)
                {
                    this._parent.removeChild(this);
                };
                this._parent = WindowController(_arg1);
                if (this._parent != null)
                {
                    this._-Mk = this._parent.rectangle;
                    _-3nn.x = _-2dX;
                    _-3nn.y = _-4TA;
                    _-3nn.width = _-Eb;
                    _-3nn.height = _-ar;
                    k = WindowEvent._-2W5(WindowEvent._-3g1, this, this._parent);
                    this.update(this, k);
                }
                else
                {
                    this._-Mk.x = 0;
                    this._-Mk.y = 0;
                    this._-Mk.width = 0;
                    this._-Mk.height = 0;
                    k = WindowEvent._-2W5(WindowEvent._-3NU, this, k);
                    this.update(this, k);
                };
                k.recycle();
            };
        }
        public function _-3gg():Boolean
        {
            return (((!((this._-3in == null))) || (!(_-1s-(WindowParam._-Cp)))));
        }
        public function getGraphicContext(_arg1:Boolean):IGraphicContext
        {
            if (((_arg1) && (!(this._-3in))))
            {
                this._-3in = new _-49b((("GC {" + _name) + "}"), _-49b.GC_TYPE_BITMAP, new Rectangle(_-2dX, _-4TA, _-Eb, _-ar));
                this._-3in.visible = _-r3;
            };
            return (this._-3in);
        }
        public function setupGraphicsContext():IGraphicContext
        {
            var k:int;
            var k:WindowController;
            this._-3in = this.getGraphicContext(true);
            if (this._parent)
            {
                this._parent.setupGraphicsContext();
            };
            if (((this._-16P) && ((this._-16P.length > 0))))
            {
                if (this._-3in._-3s- != this.numChildren)
                {
                    k = 0;
                    for each (k in this._-16P)
                    {
                        var _temp1 = k;
                        k = (k + 1);
                        this._-3in._-3yV(k.getGraphicContext(true), _temp1);
                    };
                };
            };
            this._-1eo = true;
            return (this._-3in);
        }
        public function _-2eN():void
        {
            this._-1eo = false;
            if (this._-3in)
            {
            };
        }
        public function clone():IWindow
        {
            var k:Class = Object(this).constructor;
            var k:WindowController = (new k(_name, _-5K, _-bl, _-4qc, _context, new Rectangle(_-2dX, _-4TA, _-Eb, _-ar), null, this._-07S, this.properties, ((_-tz) ? _-tz.concat() : null), _-0Kq) as WindowController);
            k._-0BI = _-0BI;
            k._-2Hw = this._-2Hw;
            k._-2Qq = this._-2Qq;
            k._-Mk = this._-Mk.clone();
            k._-2dX = _-2dX;
            k._-4TA = _-4TA;
            k._-Eb = _-Eb;
            k._-ar = _-ar;
            k._-1Zx = _-1Zx.clone();
            k._-3nn = _-3nn.clone();
            k._-2nS = ((_-2nS) ? _-2nS.clone() : null);
            k._-09F = ((_-09F) ? _-09F.clone() : null);
            k._-0IB = ((this._-0IB) ? this._-0IB.clone(k) : null);
            k._context = _context;
            k._-3Fe = _-3Fe;
            k._-3nf = _-3nf;
            k.clipping = _-218;
            k._-r3 = _-r3;
            k._-4Ay = _-4Ay;
            k._-4qc = _-4qc;
            k._-0Ke = _-0Ke;
            k._name = _name;
            k._-0Kq = _-0Kq;
            k.caption = _-3BO;
            k.background = _-4aE;
            this.cloneChildWindows(k);
            return (k);
        }
        protected function cloneChildWindows(_arg1:WindowController):void
        {
            var k:WindowController;
            if (this._-16P)
            {
                for each (k in this._-16P)
                {
                    if (k.tags.indexOf(WindowController.TAG_EXCLUDE) == -1)
                    {
                        _arg1.addChild(k.clone());
                    };
                };
            };
        }
        override public function dispose():void
        {
            var k:_-4C7;
            if (!_disposed)
            {
                this._-07S = null;
                if (!_context.disposed)
                {
                    if (!this._-0Pf())
                    {
                        if (this._-3AV(WindowState._-143))
                        {
                            this.deactivate();
                        };
                    };
                };
                if (this._-16P)
                {
                    while (this._-16P.length > 0)
                    {
                        _-1zZ(this._-16P.pop()).dispose();
                    };
                };
                this._-16P = null;
                if (this.parent)
                {
                    this.parent = null;
                };
                if (this._-2Te)
                {
                    k = _-4C7._-2W5(this);
                    this._-2Te.dispatchEvent(k);
                    k.recycle();
                    if ((this._-2Te is _-1zZ))
                    {
                        _-1zZ(this._-2Te).dispose();
                        this._-2Te = null;
                    };
                };
                if (this._-3in != null)
                {
                    this._-3in.dispose();
                    this._-3in = null;
                };
                super.dispose();
            };
        }
        public function toString():String
        {
            return (((((((("[" + "Window ") + getQualifiedClassName(this)) + " ") + _name) + " ") + this._-1YH) + "]"));
        }
        override public function invalidate(_arg1:Rectangle=null):void
        {
            _context.invalidate(this, _arg1, _-2b3._-35h);
        }
        public function _-1o-():uint
        {
            return (0);
        }
        public function center():void
        {
            if (this._parent != null)
            {
                this.x = ((this._parent.width / 2) - (_-Eb / 2));
                this.y = ((this._parent.height / 2) - (_-ar / 2));
            };
        }
        public function setRectangle(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:uint;
            var k:WindowEvent;
            if (this._-0IB)
            {
                k = Math.max(this._-0IB.minHeight, _arg4);
                k = Math.min(this._-0IB.maxHeight, k);
                k = Math.max(this._-0IB.minWidth, _arg3);
                k = Math.min(this._-0IB.maxWidth, k);
            };
            var k:Boolean = ((!((_arg1 == _-2dX))) || (!((_arg2 == _-4TA))));
            var k:Boolean = ((!((_arg3 == _-Eb))) || (!((_arg4 == _-ar))));
            if (((k) && (!(k))))
            {
                k = (_-4qc & WindowParam._-1ZE);
                if (k == WindowParam._-1MD)
                {
                    k = (_arg1 - ((_arg3 - _-Eb) / 2));
                    k = true;
                }
                else
                {
                    if (k == WindowParam._-2KQ)
                    {
                        k = (_arg1 - (_arg3 - _-Eb));
                        k = true;
                    };
                };
                k = (_-4qc & WindowParam._-wC);
                if (k == WindowParam._-xz)
                {
                    k = (_arg2 - ((_arg4 - _-ar) / 2));
                    k = true;
                }
                else
                {
                    if (k == WindowParam._-2Xh)
                    {
                        k = (_arg2 - (_arg4 - _-ar));
                        k = true;
                    };
                };
            };
            if (_-1s-(WindowParam._-JK))
            {
                if (this._parent != null)
                {
                    k = (((_arg1)<0) ? 0 : _arg1);
                    k = (((_arg2)<0) ? 0 : _arg2);
                    if (k)
                    {
                        k = (k - ((((k + _arg3))>this._parent.width) ? ((k + _arg3) - this._parent.width) : 0));
                        k = (k - ((((k + _arg4))>this._parent.height) ? ((k + _arg4) - this._parent.height) : 0));
                        k = ((!((k == _-2dX))) || (!((k == _-4TA))));
                    }
                    else
                    {
                        k = (_arg3 - ((((k + _arg3))>this._parent.width) ? ((k + _arg3) - this._parent.width) : 0));
                        k = (_arg4 - ((((k + _arg4))>this._parent.height) ? ((k + _arg4) - this._parent.height) : 0));
                        k = ((!((k == _-Eb))) || (!((k == _-ar))));
                    };
                };
            };
            if (((k) || (k)))
            {
                if (k)
                {
                    k = WindowEvent._-2W5(WindowEvent._-2pA, this, null, true);
                    this.update(this, k);
                    if (k._-UW())
                    {
                        k = false;
                    };
                    k.recycle();
                };
                if (k)
                {
                    k = WindowEvent._-2W5(WindowEvent._-4hh, this, null, true);
                    this.update(this, k);
                    if (k._-UW())
                    {
                        k = false;
                    };
                    k.recycle();
                };
                if (k)
                {
                    _-3nn.x = _-2dX;
                    _-3nn.y = _-4TA;
                    _-3nn.width = _-Eb;
                    _-3nn.height = _-ar;
                    _-2dX = _arg1;
                    _-4TA = _arg2;
                };
                if (k)
                {
                    _-3nn.width = _-Eb;
                    _-3nn.height = _-ar;
                    _-Eb = _arg3;
                    _-ar = _arg4;
                };
                if (k)
                {
                    k = WindowEvent._-2W5(WindowEvent._-4e0, this, null);
                    this.update(this, k);
                    k.recycle();
                };
                if (k)
                {
                    k = WindowEvent._-2W5(WindowEvent._-3K0, this, null);
                    this.update(this, k);
                    k.recycle();
                };
            };
        }
        public function _-5BR(_arg1:Rectangle=null, _arg2:Rectangle=null, _arg3:Rectangle=null, _arg4:Rectangle=null):void
        {
            if (_arg1 != null)
            {
                _arg1.x = _-2dX;
                _arg1.y = _-4TA;
                _arg1.width = _-Eb;
                _arg1.height = _-ar;
            };
            if (_arg2 != null)
            {
                _arg2.x = _-3nn.x;
                _arg2.y = _-3nn.y;
                _arg2.width = _-3nn.width;
                _arg2.height = _-3nn.height;
            };
            if (((!((_arg3 == null))) && (!((_-2nS == null)))))
            {
                _arg3.x = _-2nS.x;
                _arg3.y = _-2nS.y;
                _arg3.width = _-2nS.width;
                _arg3.height = _-2nS.height;
            };
            if (((!((_arg4 == null))) && (!((_-09F == null)))))
            {
                _arg4.x = _-09F.x;
                _arg4.y = _-09F.y;
                _arg4.width = _-09F.width;
                _arg4.height = _-09F.height;
            };
        }
        public function _-2Z7(_arg1:Rectangle=null, _arg2:Rectangle=null, _arg3:Rectangle=null):void
        {
            if (_arg3 != null)
            {
                if ((((_arg3.width < 0)) || ((_arg3.height < 0))))
                {
                    throw (new Error("Invalid rectangle; maximized size can't be less than zero!"));
                };
                if (_-09F == null)
                {
                    _-09F = new Rectangle();
                };
                _-09F.x = _arg3.x;
                _-09F.y = _arg3.y;
                _-09F.width = _arg3.width;
                _-09F.height = _arg3.height;
            };
            if (_arg2 != null)
            {
                if ((((_arg2.width < 0)) || ((_arg2.height < 0))))
                {
                    throw (new Error("Invalid rectangle; minimized size can't be less than zero!"));
                };
                if (_-2nS == null)
                {
                    _-2nS = new Rectangle();
                };
                _-2nS.x = _arg2.x;
                _-2nS.y = _arg2.y;
                _-2nS.width = _arg2.width;
                _-2nS.height = _arg2.height;
            };
            if ((((_arg3.width < _arg2.width)) || ((_arg3.height < _arg2.height))))
            {
                _arg3.width = _arg2.width;
                _arg3.height = _arg2.height;
                throw (new Error("Maximized rectangle can't be smaller than minimized rectangle!"));
            };
            if (_arg1 != null)
            {
                this.setRectangle(_arg1.x, _arg1.y, _arg1.width, _arg1.height);
            };
        }
        public function buildFromXML(_arg1:XML, _arg2:Map=null):Boolean
        {
            return (!((_context.getWindowParser().parseAndConstruct(_arg1, this, _arg2) == null)));
        }
        public function _-gq():IBitmapDrawable
        {
            return (((_-1s-(WindowParam._-Cp)) ? (((this._parent)!=null) ? this._parent._-gq() : null) : this.getGraphicContext(true)._-gq()));
        }
        public function _-3Eb(_arg1:Rectangle):void
        {
            if (!_-1s-(WindowParam._-Cp))
            {
                _arg1.x = 0;
                _arg1.y = 0;
                _arg1.width = _-Eb;
                _arg1.height = _-ar;
            }
            else
            {
                if (this._parent != null)
                {
                    this._parent._-3Eb(_arg1);
                    _arg1.x = (_arg1.x + _-2dX);
                    _arg1.y = (_arg1.y + _-4TA);
                    _arg1.width = _-Eb;
                    _arg1.height = _-ar;
                }
                else
                {
                    _arg1.x = 0;
                    _arg1.y = 0;
                    _arg1.width = 0;
                    _arg1.height = 0;
                };
            };
        }
        public function update(_arg1:WindowController, _arg2:WindowEvent):Boolean
        {
            var k:IWindow;
            var k: in;
            var k:WindowEvent;
            var k:uint;
            if (!_-1s-(WindowParam._-0Sf))
            {
                this.procedure(_arg2, this);
                if (_disposed)
                {
                    return (true);
                };
                if (!_arg2._-UW())
                {
                    if (this.hasEventListener(_arg2.type))
                    {
                        this._-2Te.dispatchEvent(_arg2);
                        if (_disposed)
                        {
                            return (true);
                        };
                    };
                };
                if (_arg2.cancelable)
                {
                    if (_arg2._-UW())
                    {
                        return (true);
                    };
                };
            };
            if ((_arg2 is WindowMouseEvent))
            {
                switch (_arg2.type)
                {
                    case WindowMouseEvent._-3Jy:
                        if (this.activate())
                        {
                            if (_arg2.cancelable)
                            {
                                _arg2.preventDefault();
                            };
                        };
                        if (disposed)
                        {
                            return (true);
                        };
                        this._-1H2(WindowState._-0pb, true);
                        k = _context.getWindowServices().getMouseListenerService();
                        k.begin(this);
                        k._-4QH.push(WindowMouseEvent._-02B);
                        k._-4T = MouseListenerType._-4El;
                        if (_-1s-(WindowParam._-cc))
                        {
                            k = this;
                            while (k != null)
                            {
                                if (k._-1s-(WindowParam._-Oi))
                                {
                                    _context.getWindowServices().getMouseDraggingService().begin(k);
                                    break;
                                };
                                k = k.parent;
                            };
                        };
                        if ((_-4qc & WindowParam._-4by) > 0)
                        {
                            k = this;
                            while (k != null)
                            {
                                if (k._-1s-(WindowParam._-2ZP))
                                {
                                    _context.getWindowServices().getMouseScalingService().begin(k, (_-4qc & WindowParam._-4by));
                                    break;
                                };
                                k = k.parent;
                            };
                        };
                        break;
                    case WindowMouseEvent._-02B:
                        if (_-eg(WindowState._-0pb))
                        {
                            this._-1H2(WindowState._-0pb, false);
                        };
                        _context.getWindowServices().getMouseListenerService().end(this);
                        if (_-1s-(WindowParam._-Oi))
                        {
                            _context.getWindowServices().getMouseDraggingService().end(this);
                        };
                        if (_-1s-(WindowParam._-2ZP))
                        {
                            _context.getWindowServices().getMouseScalingService().end(this);
                        };
                        break;
                    case WindowMouseEvent._-4e2:
                        if (_-eg(WindowState._-1kG))
                        {
                            this._-1H2(WindowState._-1kG, false);
                        };
                        if (_-eg(WindowState._-0pb))
                        {
                            this._-1H2(WindowState._-0pb, false);
                        };
                        break;
                    case WindowMouseEvent._-4ea:
                        if (!_-eg(WindowState._-1kG))
                        {
                            this._-1H2(WindowState._-1kG, true);
                        };
                        break;
                    case WindowMouseEvent._-yk:
                        return (false);
                };
            }
            else
            {
                if ((_arg2 is WindowEvent))
                {
                    switch (_arg2.type)
                    {
                        case WindowEvent._-3K0:
                            if (_arg1 == this)
                            {
                                _-3Sc.x = (((_-2dX < _-3nn.x)) ? _-2dX : _-3nn.x);
                                _-3Sc.y = (((_-4TA < _-3nn.y)) ? _-4TA : _-3nn.y);
                                _-3Sc.right = ((((_-2dX + _-Eb) > _-3nn.right)) ? (_-2dX + _-Eb) : _-3nn.right);
                                _-3Sc.bottom = ((((_-4TA + _-ar) > _-3nn.bottom)) ? (_-4TA + _-ar) : _-3nn.bottom);
                                _-3Sc.offset(-(_-2dX), -(_-4TA));
                                _context.invalidate(this, _-3Sc, _-2b3.RESIZE);
                                k = WindowEvent._-2W5(WindowEvent._-4cR, this, null);
                                this._-3v5(k);
                                k.recycle();
                                if (_-1s-(WindowParam._-07N, WindowParam._-WC))
                                {
                                    this._-3T-();
                                }
                                else
                                {
                                    if (_-1s-(WindowParam._-0LA, WindowParam._-DX))
                                    {
                                        this._-3T-();
                                    };
                                };
                                if (this._parent != null)
                                {
                                    k = _-4qc;
                                    _-4qc = (_-4qc & ~((WindowParam._-WC | WindowParam._-DX)));
                                    if (_-1s-(WindowParam._-0Pb))
                                    {
                                        this._parent.width = (this._parent.width + (_-Eb - _-3nn.width));
                                    };
                                    if (_-1s-(WindowParam._-2a6))
                                    {
                                        this._parent.height = (this._parent.height + (_-ar - _-3nn.height));
                                    };
                                    _-4qc = k;
                                    k = WindowEvent._-2W5(WindowEvent._-jw, this._parent, this);
                                    this._parent.update(this, k);
                                    k.recycle();
                                };
                            };
                            break;
                        case WindowEvent._-4e0:
                            if (_arg1 == this)
                            {
                                _-3Sc.x = (((_-2dX < _-3nn.x)) ? _-2dX : _-3nn.x);
                                _-3Sc.y = (((_-4TA < _-3nn.y)) ? _-4TA : _-3nn.y);
                                _-3Sc.right = ((((_-2dX + _-Eb) > _-3nn.right)) ? (_-2dX + _-Eb) : _-3nn.right);
                                _-3Sc.bottom = ((((_-4TA + _-ar) > _-3nn.bottom)) ? (_-4TA + _-ar) : _-3nn.bottom);
                                _-3Sc.offset(-(_-2dX), -(_-4TA));
                                _context.invalidate(this, _-3Sc, _-2b3._-4Pg);
                                k = WindowEvent._-2W5(WindowEvent._-0Aa, this, null);
                                this._-3v5(k);
                                k.recycle();
                                if (this._parent != null)
                                {
                                    k = WindowEvent._-2W5(WindowEvent._-hr, this._parent, this);
                                    this._parent.update(this, k);
                                    k.recycle();
                                };
                            };
                            break;
                        case WindowEvent._-1M3:
                            if (_arg1 == this)
                            {
                                k = WindowEvent._-2W5(WindowEvent._-1Ty, this, null);
                                this._-3v5(k);
                                k.recycle();
                                if (this._parent != null)
                                {
                                    k = WindowEvent._-2W5(WindowEvent._-0kV, this._parent, this);
                                    this._parent.update(this, k);
                                    k.recycle();
                                };
                            };
                            break;
                        case WindowEvent._-3g1:
                            if (_-1s-(WindowParam._-07N, WindowParam._-WC))
                            {
                                this._-3T-();
                            }
                            else
                            {
                                if (_-1s-(WindowParam._-0LA, WindowParam._-DX))
                                {
                                    this._-3T-();
                                };
                            };
                            _context.invalidate(this, null, _-2b3._-35h);
                            break;
                        case WindowEvent._-4cR:
                            this._parent._-5BR(null, this._-Mk);
                            this._-3T-();
                            break;
                        case WindowEvent._-14K:
                            if (_-1s-(WindowParam._-4Uq))
                            {
                                this._-3LC();
                            }
                            else
                            {
                                if (_-1s-(WindowParam._-Bh))
                                {
                                    _-1DA(this, _arg2._-2JE);
                                };
                            };
                            break;
                        case WindowEvent._-4jq:
                            if (_-1s-(WindowParam._-4Uq))
                            {
                                this._-3LC();
                            };
                            break;
                        case WindowEvent._-0kV:
                            this.activate();
                            break;
                        case WindowEvent._-jw:
                            if (_-1s-(WindowParam._-4Uq))
                            {
                                this._-3LC();
                            }
                            else
                            {
                                if (_-1s-(WindowParam._-Bh))
                                {
                                    _-1DA(this, _arg2._-2JE);
                                };
                            };
                            break;
                        case WindowEvent._-hr:
                            if (_-1s-(WindowParam._-4Uq))
                            {
                                this._-3LC();
                            }
                            else
                            {
                                if (_-1s-(WindowParam._-Bh))
                                {
                                    _-1DA(this, _arg2._-2JE);
                                };
                            };
                            break;
                    };
                };
            };
            return (true);
        }
        protected function _-1WJ(_arg1:WindowEvent):void
        {
            this.procedure(_arg1, this);
            if (!_arg1._-UW())
            {
                if (this.hasEventListener(_arg1.type))
                {
                    this._-2Te.dispatchEvent(_arg1);
                };
            };
        }
        private function _-4NZ(_arg1:WindowEvent, _arg2:IWindow):void
        {
        }
        private function _-3v5(_arg1:WindowEvent):void
        {
            var k:WindowController;
            if (this._-16P)
            {
                for each (k in this._-16P)
                {
                    k.update(this, _arg1);
                };
            };
        }
        public function _-fa(_arg1:Point):void
        {
            var k:Number = _arg1.x;
            var k:Number = _arg1.y;
            if (this._parent == null)
            {
                _arg1.x = _-2dX;
                _arg1.y = _-4TA;
            }
            else
            {
                this._parent.getGlobalPosition(_arg1);
                _arg1.x = (_arg1.x + _-2dX);
                _arg1.y = (_arg1.y + _-4TA);
            };
            _arg1.x = (k - _arg1.x);
            _arg1.y = (k - _arg1.y);
        }
        public function _-32V(_arg1:Point):void
        {
            var k:Number = _arg1.x;
            var k:Number = _arg1.y;
            if (this._parent == null)
            {
                _arg1.x = _-2dX;
                _arg1.y = _-4TA;
            }
            else
            {
                this._parent.getGlobalPosition(_arg1);
                _arg1.x = (_arg1.x + _-2dX);
                _arg1.y = (_arg1.y + _-4TA);
            };
            _arg1.x = (_arg1.x + k);
            _arg1.y = (_arg1.y + k);
        }
        public function _-1o1(_arg1:Point):void
        {
            this.getGlobalPosition(_arg1);
            _arg1.x = (_context.getDesktopWindow().mouseX - _arg1.x);
            _arg1.y = (_context.getDesktopWindow().mouseY - _arg1.y);
        }
        public function _-17N(_arg1:Point):void
        {
            _arg1.x = _context.getDesktopWindow().mouseX;
            _arg1.y = _context.getDesktopWindow().mouseY;
        }
        public function _-4NK(_arg1:Point):void
        {
            _arg1.x = _-2dX;
            _arg1.y = _-4TA;
        }
        public function _-1rB(_arg1:Rectangle):void
        {
            _arg1.x = _-2dX;
            _arg1.y = _-4TA;
            _arg1.width = _-Eb;
            _arg1.height = _-ar;
        }
        public function _-3ML(_arg1:Point):Boolean
        {
            return ((((((((_arg1.x >= _-2dX)) && ((_arg1.x < (_-2dX + _-Eb))))) && ((_arg1.y >= _-4TA)))) && ((_arg1.y < (_-4TA + _-ar)))));
        }
        public function _-1kx(_arg1:Rectangle):Boolean
        {
            return (rectangle.intersects(_arg1));
        }
        public function _-2r4(_arg1:Point, _arg2:BitmapData):Boolean
        {
            return (this._-1GA(_arg1, _arg2, _-0BI));
        }
        public function getGlobalPosition(_arg1:Point):void
        {
            if (this._parent != null)
            {
                this._parent.getGlobalPosition(_arg1);
                _arg1.x = (_arg1.x + _-2dX);
                _arg1.y = (_arg1.y + _-4TA);
            }
            else
            {
                _arg1.x = _-2dX;
                _arg1.y = _-4TA;
            };
        }
        public function _-3gl(_arg1:Point):void
        {
            var k:Point = new Point();
            if (this._parent != null)
            {
                this._parent.getGlobalPosition(k);
                k.x = (k.x + _-2dX);
                k.y = (k.y + _-4TA);
            }
            else
            {
                k.x = _-2dX;
                k.y = _-4TA;
            };
            this.x = (x + (_arg1.x - k.x));
            this.y = (y + (_arg1.y - k.y));
        }
        public function getGlobalRectangle(_arg1:Rectangle):void
        {
            if (this._parent != null)
            {
                this._parent.getGlobalRectangle(_arg1);
                _arg1.x = (_arg1.x + _-2dX);
                _arg1.y = (_arg1.y + _-4TA);
            }
            else
            {
                _arg1.x = _-2dX;
                _arg1.y = _-4TA;
            };
            _arg1.width = _-Eb;
            _arg1.height = _-ar;
        }
        public function _-439(_arg1:Rectangle):void
        {
            var k:Point = new Point();
            if (this._parent != null)
            {
                this._parent.getGlobalPosition(k);
                k.x = (k.x + _-2dX);
                k.y = (k.y + _-4TA);
            }
            else
            {
                k.x = _-2dX;
                k.y = _-4TA;
            };
            this.setRectangle((x + (_arg1.x - k.x)), (y + (_arg1.y - k.y)), _arg1.width, _arg1.height);
        }
        public function hitTestGlobalPoint(_arg1:Point):Boolean
        {
            var k:Rectangle = new Rectangle();
            this.getGlobalRectangle(k);
            return (k.containsPoint(_arg1));
        }
        public function _-12x(_arg1:Rectangle):Boolean
        {
            var k:Rectangle = new Rectangle();
            this.getGlobalRectangle(k);
            return (k.intersects(_arg1));
        }
        public function _-3Ek(_arg1:Point, _arg2:BitmapData):Boolean
        {
            var k:Point = new Point();
            this.getGlobalPosition(k);
            k.x = (_arg1.x - k.x);
            k.y = (_arg1.y - k.y);
            return (this._-1GA(k, _arg2, _-0BI));
        }
        public function getMouseRegion(_arg1:Rectangle):void
        {
            var k:Rectangle;
            this.getGlobalRectangle(_arg1);
            if (_arg1.width < 0)
            {
                _arg1.width = 0;
            };
            if (_arg1.height < 0)
            {
                _arg1.height = 0;
            };
            if (_-1s-(WindowParam._-Cp))
            {
                k = new Rectangle();
                IWindow(this._parent).getMouseRegion(k);
                if (_arg1.left < k.left)
                {
                    _arg1.left = k.left;
                };
                if (_arg1.top < k.top)
                {
                    _arg1.top = k.top;
                };
                if (_arg1.right > k.right)
                {
                    _arg1.right = k.right;
                };
                if (_arg1.bottom > k.bottom)
                {
                    _arg1.bottom = k.bottom;
                };
            };
        }
        protected function _-1GA(_arg1:Point, _arg2:BitmapData, _arg3:uint):Boolean
        {
            var k:BitmapData;
            var k:Boolean;
            if ((((_-Eb < 1)) || ((_-ar < 1))))
            {
                return (false);
            };
            if (((this._-2Hw) && ((_-0BI > 0))))
            {
                if (!_-1s-(WindowParam._-Cp))
                {
                    if ((((_arg1.x <= _-Eb)) && ((_arg1.y <= _-ar))))
                    {
                        k = (this.getGraphicContext(true)._-gq() as BitmapData);
                        if (k != null)
                        {
                            k = k.hitTest(_-4kQ, _arg3, _arg1);
                        };
                    };
                }
                else
                {
                    k = (((_arg2)!=null) ? _arg2.hitTest(_-4kQ, _arg3, _arg1) : false);
                };
            }
            else
            {
                if ((((_arg1.x >= 0)) && ((_arg1.x < _-Eb))))
                {
                    if ((((_arg1.y >= 0)) && ((_arg1.y < _-ar))))
                    {
                        k = true;
                    };
                };
            };
            return (k);
        }
        public function _-2EF():Boolean
        {
            return (true);
        }
        public function _-5-Y():Number
        {
            return ((_-ar / _-1Zx.height));
        }
        public function _-4Ve():Number
        {
            return ((_-Eb / _-1Zx.width));
        }
        public function offset(_arg1:Number, _arg2:Number):void
        {
            this.setRectangle((_-2dX + _arg1), (_-4TA + _arg2), _-Eb, _-ar);
        }
        public function scale(_arg1:Number, _arg2:Number):void
        {
            this.setRectangle(_-2dX, _-4TA, (_-Eb + _arg1), (_-ar + _arg2));
        }
        public function _-3LC():void
        {
            var k:IWindow;
            var k:Array;
            var k:uint;
            if (!this._-16P)
            {
                return;
            };
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:Boolean;
            var k:uint = (param & (WindowParam._-Bh | WindowParam._-4Uq));
            for each (k in this._-16P)
            {
                if (k.x < k)
                {
                    k = (k - (k.x - k));
                    k = k.x;
                    k = true;
                };
                if ((k.x + k.width) > k)
                {
                    k = (k.x + k.width);
                    k = true;
                };
                if (k.y < k)
                {
                    k = (k - (k.y - k));
                    k = k.y;
                    k = true;
                };
                if ((k.y + k.height) > k)
                {
                    k = (k.y + k.height);
                    k = true;
                };
            };
            if (k)
            {
                k = [];
                for each (k in this._-16P)
                {
                    k = (k.param & (WindowParam._-WC | WindowParam._-DX));
                    k.setParamFlag(k, false);
                    k.push(k);
                };
                if (k)
                {
                    this.setParamFlag(k, false);
                };
                this.setRectangle((_-2dX + k), (_-4TA + k), k, k);
                for each (k in this._-16P)
                {
                    k.offset(-(k), -(k));
                    k.setParamFlag(k.shift(), true);
                };
                if (k)
                {
                    this.setParamFlag(k, true);
                };
            };
        }
        public function _-3AV(_arg1:uint):Boolean
        {
            return (!(((_-0Ke & _arg1) == 0)));
        }
        public function _-1H2(_arg1:uint, _arg2:Boolean=true):void
        {
            var k:uint = _-0Ke;
            _-0Ke = ((_arg2) ? _-0Ke = (_-0Ke | _arg1) : _-0Ke = (_-0Ke & ~(_arg1)));
            if (_-0Ke != k)
            {
                _context.invalidate(this, null, _-2b3._-2TJ);
            };
        }
        public function _-4vQ(_arg1:uint):Boolean
        {
            return (!(((_-bl & _arg1) == 0)));
        }
        public function _-4FN(_arg1:uint, _arg2:Boolean=true):void
        {
            var k:Array;
            var k:uint;
            var k:WindowController;
            var k:uint = _-bl;
            _-bl = ((_arg2) ? _-bl = (_-bl | _arg1) : _-bl = (_-bl & ~(_arg1)));
            if (_-bl != k)
            {
                k = new Array();
                this._-507(WindowController.TAG_INTERNAL, k);
                k = k.length;
                while (--k > -1)
                {
                    k = (k[k] as WindowController);
                    if (k.tags.indexOf(_-4h8) == -1)
                    {
                        k.style = _-bl;
                    };
                };
                _context.invalidate(this, null, _-2b3._-35h);
            };
        }
        public function _-52W(_arg1:uint):Boolean
        {
            return (!(((_-4qc & _arg1) == 0)));
        }
        public function setParamFlag(_arg1:uint, _arg2:Boolean=true):void
        {
            var k:uint = _-4qc;
            _-4qc = ((_arg2) ? _-4qc = (_-4qc | _arg1) : _-4qc = (_-4qc & ~(_arg1)));
            if (_-4qc != k)
            {
                if (!(_-4qc & WindowParam._-Cp))
                {
                    if (!this._-3in)
                    {
                        this.setupGraphicsContext();
                        _context.invalidate(this, null, _-2b3._-35h);
                    };
                }
                else
                {
                    if ((_-4qc & WindowParam._-Cp))
                    {
                        if (this._-3in)
                        {
                            _context.invalidate(this, null, _-2b3._-35h);
                        };
                    };
                };
            };
        }
        protected function _-3T-():void
        {
            var k:int;
            var k:uint;
            var k:uint;
            if (this._parent == null)
            {
                return;
            };
            var k = !(_-1s-(WindowParam._-4Gm, WindowParam._-WC));
            var k = !(_-1s-(WindowParam._-2zO, WindowParam._-DX));
            var k:int = _-2dX;
            var k:int = _-4TA;
            var k:int = _-Eb;
            var k:int = _-ar;
            if (((k) || (k)))
            {
                if (k)
                {
                    k = (this._parent.width - this._-Mk.width);
                    k = (_-4qc & WindowParam._-WC);
                    if (k == WindowParam._-170)
                    {
                        k = (k + k);
                    }
                    else
                    {
                        if (k == WindowParam._-ci)
                        {
                            k = (k + k);
                        }
                        else
                        {
                            if (k == WindowParam._-07N)
                            {
                                if ((((this._parent.width < k)) && (this._-52W(WindowParam._-Cp))))
                                {
                                    k = 0;
                                }
                                else
                                {
                                    k = (Math.floor((this._parent.width / 2)) - Math.floor((k / 2)));
                                };
                            };
                        };
                    };
                };
                if (k)
                {
                    k = (this._parent.height - this._-Mk.height);
                    k = (_-4qc & WindowParam._-DX);
                    if (k == WindowParam._-0Ef)
                    {
                        k = (k + k);
                    }
                    else
                    {
                        if (k == WindowParam._-1If)
                        {
                            k = (k + k);
                        }
                        else
                        {
                            if (k == WindowParam._-0LA)
                            {
                                if ((((this._parent.height < k)) && (this._-52W(WindowParam._-Cp))))
                                {
                                    k = 0;
                                }
                                else
                                {
                                    k = (Math.floor((this._parent.height / 2)) - Math.floor((k / 2)));
                                };
                            };
                        };
                    };
                };
                k = _-4qc;
                _-4qc = (_-4qc & ~(((WindowParam._-3TP | WindowParam._-WC) | WindowParam._-DX)));
                this.setRectangle(k, k, k, k);
                _-4qc = k;
            }
            else
            {
                if (_-1s-(WindowParam._-JK))
                {
                    if (this._parent != null)
                    {
                        k = (((k)<0) ? 0 : k);
                        k = (((k)<0) ? 0 : k);
                        k = (k - ((((k + k))>this._parent.width) ? ((k + k) - this._parent.width) : 0));
                        k = (k - ((((k + k))>this._parent.height) ? ((k + k) - this._parent.height) : 0));
                        k = (k - ((((k + k))>this._parent.width) ? ((k + k) - this._parent.width) : 0));
                        k = (k - ((((k + k))>this._parent.height) ? ((k + k) - this._parent.height) : 0));
                        if (((((((!((k == _-2dX))) || (!((k == _-4TA))))) || (!((k == _-Eb))))) || (!((k == _-ar)))))
                        {
                            k = _-4qc;
                            _-4qc = (_-4qc & ~(((WindowParam._-3TP | WindowParam._-WC) | WindowParam._-DX)));
                            this.setRectangle(k, k, k, k);
                            _-4qc = k;
                        };
                    };
                };
            };
        }
        protected function _-0Pf():Boolean
        {
            return (!((this._parent == context.getDesktopWindow())));
        }
        public function destroy():Boolean
        {
            if (_-0Ke == WindowState._-3jl)
            {
                return (true);
            };
            _-0Ke = WindowState._-3jl;
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-31U, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            k = WindowEvent._-2W5(WindowEvent._-Lx, this, null);
            this.update(this, k);
            k.recycle();
            this.dispose();
            return (true);
        }
        public function minimize():Boolean
        {
            if ((_-0Ke & WindowState._-2Rp))
            {
                return (false);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-4h2, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-2Rp, true);
            k = WindowEvent._-2W5(WindowEvent._-3V1, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function _-4Ho():Boolean
        {
            if ((_-0Ke & WindowState._-2Rp))
            {
                return (false);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-4Dr, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-2Rp, true);
            k = WindowEvent._-2W5(WindowEvent._-0N4, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function _-No():Boolean
        {
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-3nw, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-2Rp, false);
            k = WindowEvent._-2W5(WindowEvent._-0Qz, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function activate():Boolean
        {
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-f2, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-143, true);
            k = WindowEvent._-2W5(WindowEvent._-1M3, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function deactivate():Boolean
        {
            if (!this._-3AV(WindowState._-143))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-4Ph, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-143, false);
            k = WindowEvent._-2W5(WindowEvent._-zQ, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function lock():Boolean
        {
            if (this._-3AV(WindowState._-2Rp))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-3U7, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-2Rp, true);
            k = WindowEvent._-2W5(WindowEvent._-0Mo, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function unlock():Boolean
        {
            if (!this._-3AV(WindowState._-2Rp))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-01Q, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-2Rp, false);
            k = WindowEvent._-2W5(WindowEvent._-4Ss, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function enable():Boolean
        {
            if (!this._-3AV(WindowState._-4C-))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-0T3, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-4C-, false);
            k = WindowEvent._-2W5(WindowEvent._-3Z0, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function disable():Boolean
        {
            if (this._-3AV(WindowState._-4C-))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-2YL, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-4C-, true);
            k = WindowEvent._-2W5(WindowEvent._-15U, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function focus():Boolean
        {
            if (this._-3AV(WindowState._-0SB))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-2nP, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-0SB, true);
            k = WindowEvent._-2W5(WindowEvent._-4JH, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function unfocus():Boolean
        {
            if (!this._-3AV(WindowState._-0SB))
            {
                return (true);
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-4vR, this, null);
            this.update(this, k);
            if (k.isDefaultPrevented())
            {
                k.recycle();
                return (false);
            };
            k.recycle();
            this._-1H2(WindowState._-0SB, false);
            k = WindowEvent._-2W5(WindowEvent._-1gM, this, null);
            this.update(this, k);
            k.recycle();
            return (true);
        }
        public function _-0x0(_arg1:Point):IWindow
        {
            var k:Rectangle;
            var k:Boolean;
            var k:IWindow;
            var k:uint;
            if (_-r3)
            {
                k = new Rectangle();
                this.getMouseRegion(k);
                k = k.containsPoint(_arg1);
                k = this.numChildren;
                if (k)
                {
                    while (k > 0)
                    {
                        k = WindowController(this._-16P[(k - 1)])._-0x0(_arg1);
                        if (k != null)
                        {
                            return (k);
                        };
                        k--;
                    };
                };
                if (this._-3Ek(_arg1, null))
                {
                    return (this);
                };
            };
            return (null);
        }
        public function groupChildrenUnderPoint(_arg1:Point, _arg2:Array):void
        {
            var k:WindowController;
            if (_-r3)
            {
                if ((((((((_arg1.x >= _-2dX)) && ((_arg1.x < (_-2dX + _-Eb))))) && ((_arg1.y >= _-4TA)))) && ((_arg1.y < (_-4TA + _-ar)))))
                {
                    _arg2.push(this);
                    if (this._-16P)
                    {
                        _arg1.offset(-(_-2dX), -(_-4TA));
                        for each (k in this._-16P)
                        {
                            k.groupChildrenUnderPoint(_arg1, _arg2);
                        };
                        _arg1.offset(_-2dX, _-4TA);
                    };
                }
                else
                {
                    if (!_-218)
                    {
                        if (this._-16P)
                        {
                            _arg1.offset(-(_-2dX), -(_-4TA));
                            for each (k in this._-16P)
                            {
                                k.groupChildrenUnderPoint(_arg1, _arg2);
                            };
                            _arg1.offset(_-2dX, _-4TA);
                        };
                    };
                };
            };
        }
        public function _-3JT(_arg1:Point, _arg2:Array, _arg3:uint=0):void
        {
            var k:WindowController;
            if (_-r3)
            {
                if ((((((((_arg1.x >= _-2dX)) && ((_arg1.x < (_-2dX + _-Eb))))) && ((_arg1.y >= _-4TA)))) && ((_arg1.y < (_-4TA + _-ar)))))
                {
                    if ((_-4qc & _arg3) == _arg3)
                    {
                        _arg2.push(this);
                    };
                    if (this._-16P)
                    {
                        _arg1.offset(-(_-2dX), -(_-4TA));
                        for each (k in this._-16P)
                        {
                            k._-3JT(_arg1, _arg2, _arg3);
                        };
                        _arg1.offset(_-2dX, _-4TA);
                    };
                }
                else
                {
                    if (!_-218)
                    {
                        if (this._-16P)
                        {
                            _arg1.offset(-(_-2dX), -(_-4TA));
                            for each (k in this._-16P)
                            {
                                k._-3JT(_arg1, _arg2, _arg3);
                            };
                            _arg1.offset(_-2dX, _-4TA);
                        };
                    };
                };
            };
        }
        public function addEventListener(_arg1:String, _arg2:Function, _arg3:int=0):void
        {
            if (!_disposed)
            {
                if (!this._-2Te)
                {
                    this._-2Te = new WindowEventDispatcher(this);
                };
                this._-2Te.addEventListener(_arg1, _arg2, _arg3);
            };
        }
        public function hasEventListener(_arg1:String):Boolean
        {
            return (((((_disposed) || (!(this._-2Te)))) ? false : this._-2Te.hasEventListener(_arg1)));
        }
        public function removeEventListener(_arg1:String, _arg2:Function):void
        {
            if (((!(_disposed)) && (this._-2Te)))
            {
                this._-2Te.removeEventListener(_arg1, _arg2);
            };
        }
        public function get children():Vector.<IWindow>
        {
            return (this._-16P);
        }
        public function get numChildren():int
        {
            return (((this._-16P) ? this._-16P.length : 0));
        }
        public function populate(_arg1:Array):void
        {
            var k:WindowController;
            var k:Boolean;
            if (!this._-16P)
            {
                this._-16P = new Vector.<IWindow>();
            };
            for each (k in _arg1)
            {
                if (((k) && (!((k.parent == this)))))
                {
                    this._-16P.push(k);
                    k.parent = this;
                    k = ((k) || (k._-3gg()));
                };
            };
            if (((this._-1eo) || (k)))
            {
                this.setupGraphicsContext();
            };
        }
        public function addChild(_arg1:IWindow):IWindow
        {
            var k:WindowController = WindowController(_arg1);
            if (k.parent != null)
            {
                WindowController(k.parent).removeChild(k);
            };
            if (!this._-16P)
            {
                this._-16P = new Vector.<IWindow>();
            };
            this._-16P.push(k);
            k.parent = this;
            if (((this._-1eo) || (k._-3gg())))
            {
                this.setupGraphicsContext();
                if (k.getGraphicContext(true).parent != this._-3in)
                {
                    this._-3in._-3mO(k.getGraphicContext(true));
                };
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-14K, this, _arg1);
            this.update(this, k);
            k.recycle();
            return (_arg1);
        }
        public function addChildAt(_arg1:IWindow, _arg2:int):IWindow
        {
            var k:WindowController = WindowController(_arg1);
            if (k.parent != null)
            {
                WindowController(k.parent).removeChild(k);
            };
            if (!this._-16P)
            {
                this._-16P = new Vector.<IWindow>();
            };
            this._-16P.splice(_arg2, 0, k);
            k.parent = this;
            if (((this._-1eo) || (k._-3gg())))
            {
                this.setupGraphicsContext();
                if (k.getGraphicContext(true).parent != this._-3in)
                {
                    this._-3in._-3yV(k.getGraphicContext(true), _arg2);
                };
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-14K, this, _arg1);
            this.update(this, k);
            k.recycle();
            return (_arg1);
        }
        public function getChildAt(_arg1:int):IWindow
        {
            return (((this._-16P) ? (((((_arg1 < this._-16P.length)) && ((_arg1 > -1)))) ? this._-16P[_arg1] : null) : null));
        }
        public function getChildByID(_arg1:uint):IWindow
        {
            var k:IWindow;
            if (this._-16P)
            {
                for each (k in this._-16P)
                {
                    if (k.id == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function getChildByName(_arg1:String):IWindow
        {
            var k:IWindow;
            if (this._-16P)
            {
                for each (k in this._-16P)
                {
                    if (k.name == _arg1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function findChildByName(_arg1:String):IWindow
        {
            var k:WindowController;
            if (this._-16P)
            {
                for each (k in this._-16P)
                {
                    if (k.name == _arg1)
                    {
                        return (k);
                    };
                };
                for each (k in this._-16P)
                {
                    k = (k.findChildByName(_arg1) as WindowController);
                    if (k)
                    {
                        return ((k as IWindow));
                    };
                };
            };
            return (null);
        }
        public function _-32X(_arg1:String):IWindow
        {
            var k:IWindow;
            if (this._-16P)
            {
                for each (k in this._-16P)
                {
                    if (k.tags.indexOf(_arg1) > -1)
                    {
                        return (k);
                    };
                };
            };
            return (null);
        }
        public function findChildByTag(_arg1:String):IWindow
        {
            if (((_-tz) && ((_-tz.indexOf(_arg1) > -1))))
            {
                return (this);
            };
            var k:WindowController = WindowController(this._-32X(_arg1));
            if ((((k == null)) && (this._-16P)))
            {
                for each (k in this._-16P)
                {
                    k = (k.findChildByTag(_arg1) as WindowController);
                    if (k != null) break;
                };
            };
            return ((k as IWindow));
        }
        public function getChildIndex(_arg1:IWindow):int
        {
            return (((this._-16P) ? this._-16P.indexOf(_arg1) : -1));
        }
        public function removeChild(_arg1:IWindow):IWindow
        {
            if (!this._-16P)
            {
                return (null);
            };
            var k:int = this._-16P.indexOf(_arg1);
            if (k < 0)
            {
                return (null);
            };
            this._-16P.splice(k, 1);
            _arg1.parent = null;
            var k:IGraphicContextHost = (_arg1 as IGraphicContextHost);
            if (((k) && (k._-3gg())))
            {
                this._-3in._-1f1(k.getGraphicContext(true));
            };
            var k:WindowEvent = WindowEvent._-2W5(WindowEvent._-4jq, this, _arg1);
            this.update(this, k);
            k.recycle();
            return (_arg1);
        }
        public function removeChildAt(_arg1:int):IWindow
        {
            return (this.removeChild(this.getChildAt(_arg1)));
        }
        public function setChildIndex(_arg1:IWindow, _arg2:int):void
        {
            var k:WindowController;
            if (!this._-16P)
            {
                return;
            };
            var k:int = this._-16P.indexOf(_arg1);
            if ((((k > -1)) && (!((_arg2 == k)))))
            {
                this._-16P.splice(k, 1);
                this._-16P.splice(_arg2, 0, _arg1);
                k = WindowController(_arg1);
                if (k._-3gg())
                {
                    this._-3in._-53j(k.getGraphicContext(true), this.getChildIndex(k));
                };
            };
        }
        public function swapChildren(_arg1:IWindow, _arg2:IWindow):void
        {
            var k:int;
            var k:int;
            var k:IWindow;
            var k:int;
            if (!this._-16P)
            {
                return;
            };
            if (((((!((_arg1 == null))) && (!((_arg2 == null))))) && (!((_arg1 == _arg2)))))
            {
                k = this._-16P.indexOf(_arg1);
                if (k < 0)
                {
                    return;
                };
                k = this._-16P.indexOf(_arg2);
                if (k < 0)
                {
                    return;
                };
                if (k < k)
                {
                    k = _arg1;
                    k = _arg2;
                };
                this._-16P.splice(k, 1);
                this._-16P.splice(k, 1);
                this._-16P.splice(k, 0, _arg2);
                this._-16P.splice(k, 0, _arg1);
                if (((WindowController(_arg1)._-3gg()) || (WindowController(_arg2)._-3gg())))
                {
                    this._-3in._-1iV(WindowController(_arg1).getGraphicContext(true), WindowController(_arg2).getGraphicContext(true));
                };
            };
        }
        public function swapChildrenAt(_arg1:int, _arg2:int):void
        {
            if (!this._-16P)
            {
                return;
            };
            this.swapChildren(this._-16P[_arg1], this._-16P[_arg2]);
            this._-3in._-03j(_arg1, _arg2);
        }
        public function _-0tX(_arg1:uint, _arg2:Array, _arg3:int=0):uint
        {
            var k:WindowController;
            if (!this._-16P)
            {
                return (0);
            };
            var k:uint;
            for each (k in this._-16P)
            {
                if (k.id == _arg1)
                {
                    _arg2.push(k);
                    k++;
                };
                if ((((_arg3 > 0)) || ((_arg3 < 0))))
                {
                    k--;
                    k = (k + k._-0tX(_arg1, _arg2, k));
                };
            };
            return (k);
        }
        public function _-507(_arg1:String, _arg2:Array, _arg3:int=0):uint
        {
            var k:WindowController;
            if (!this._-16P)
            {
                return (0);
            };
            var k:uint;
            for each (k in this._-16P)
            {
                if (k.tags.indexOf(_arg1) > -1)
                {
                    _arg2.push(k);
                    k++;
                };
                if ((((_arg3 > 0)) || ((_arg3 < 0))))
                {
                    k = (k + k._-507(_arg1, _arg2, (_arg3 - 1)));
                };
            };
            return (k);
        }
        public function _-4Ju(_arg1:String):IWindow
        {
            if (_name == _arg1)
            {
                return (this);
            };
            if (this._parent != null)
            {
                if (this._parent.name == _arg1)
                {
                    return (this._parent);
                };
                return (this._parent._-4Ju(_arg1));
            };
            return (null);
        }
        protected function _-2Mm():Boolean
        {
            var k:WindowController;
            if (_-1s-(WindowParam._-Cp))
            {
                if (this._-16P)
                {
                    for each (k in this._-16P)
                    {
                        if (k._-2Mm())
                        {
                            return (true);
                        };
                    };
                };
                return (false);
            };
            return (true);
        }
        public function _-4wa(_arg1:String, _arg2:Object):PropertyStruct
        {
            return (this._-0yl.get(_arg1)._-25t(_arg2));
        }
        public function _-aJ(_arg1:String):PropertyStruct
        {
            return (this._-0yl.get(_arg1));
        }

    }
}//package _-Ew

//------------------------------------------------------------
//_-Ew.WindowModel

package _-Ew
{
    import flash.geom.Rectangle;
    import _-09j.WindowState;
    import flash.geom.Point;
    import _-1B-.*;

    public class WindowModel implements _-1zZ 
    {

        protected var _-2dX:int;
        protected var _-4TA:int;
        protected var _-Eb:int;
        protected var _-ar:int;
        protected var _-1Zx:Rectangle;
        protected var _-3nn:Rectangle;
        protected var _-2nS:Rectangle;
        protected var _-09F:Rectangle;
        protected var _context:WindowContext;
        protected var _-4aE:Boolean = false;
        protected var _-3Fe:uint = 0xFFFFFF;
        protected var _-3nf:uint;
        protected var _-0BI:uint = 10;
        protected var _-218:Boolean = true;
        protected var _-r3:Boolean = true;
        protected var _-4Ay:Number = 1;
        protected var _-4qc:uint;
        protected var _-0Ke:uint;
        protected var _-bl:uint;
        protected var _-5K:uint;
        protected var _-3BO:String = "";
        protected var _name:String;
        protected var _-0Kq:uint;
        protected var _-tz:Array;
        protected var _disposed:Boolean = false;

        public function WindowModel(_arg1:uint, _arg2:String, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:WindowContext, _arg7:Rectangle, _arg8:Array=null)
        {
            this._-0Kq = _arg1;
            this._name = _arg2;
            this._-5K = _arg3;
            this._-4qc = _arg5;
            this._-0Ke = WindowState._-50M;
            this._-bl = _arg4;
            this._-tz = _arg8;
            this._context = _arg6;
            this._-2dX = _arg7.x;
            this._-4TA = _arg7.y;
            this._-Eb = _arg7.width;
            this._-ar = _arg7.height;
            this._-1Zx = _arg7.clone();
            this._-3nn = _arg7.clone();
        }
        public function get x():int
        {
            return (this._-2dX);
        }
        public function get y():int
        {
            return (this._-4TA);
        }
        public function get width():int
        {
            return (this._-Eb);
        }
        public function get height():int
        {
            return (this._-ar);
        }
        public function get position():Point
        {
            return (new Point(this._-2dX, this._-4TA));
        }
        public function get rectangle():Rectangle
        {
            return (new Rectangle(this._-2dX, this._-4TA, this._-Eb, this._-ar));
        }
        public function get context():IWindowContext
        {
            return (this._context);
        }
        public function get mouseThreshold():uint
        {
            return (this._-0BI);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get background():Boolean
        {
            return (this._-4aE);
        }
        public function get clipping():Boolean
        {
            return (this._-218);
        }
        public function get visible():Boolean
        {
            return (this._-r3);
        }
        public function get color():uint
        {
            return (this._-3Fe);
        }
        public function get alpha():uint
        {
            return ((this._-3nf >>> 24));
        }
        public function get blend():Number
        {
            return (this._-4Ay);
        }
        public function get param():uint
        {
            return (this._-4qc);
        }
        public function get state():uint
        {
            return (this._-0Ke);
        }
        public function get style():uint
        {
            return (this._-bl);
        }
        public function get type():uint
        {
            return (this._-5K);
        }
        public function get caption():String
        {
            return (this._-3BO);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get id():uint
        {
            return (this._-0Kq);
        }
        public function get tags():Array
        {
            return (((this._-tz) ? this._-tz : this._-tz = []));
        }
        public function get left():int
        {
            return (this._-2dX);
        }
        public function get top():int
        {
            return (this._-4TA);
        }
        public function get right():int
        {
            return ((this._-2dX + this._-Eb));
        }
        public function get bottom():int
        {
            return ((this._-4TA + this._-ar));
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._disposed = true;
                this._context = null;
                this._-0Ke = WindowState._-3jl;
                this._-tz = null;
                this._-2dX = (this._-4TA = (this._-Eb = (this._-ar = 0)));
            };
        }
        public function invalidate(_arg1:Rectangle=null):void
        {
        }
        public function _-4hZ():int
        {
            return (this._-1Zx.width);
        }
        public function _-h8():int
        {
            return (this._-1Zx.height);
        }
        public function _-kK():int
        {
            return (this._-3nn.width);
        }
        public function _-49o():int
        {
            return (this._-3nn.height);
        }
        public function _-2-j():int
        {
            return (((this._-2nS) ? this._-2nS.width : 0));
        }
        public function _-Jo():int
        {
            return (((this._-2nS) ? this._-2nS.height : 0));
        }
        public function _-0VL():int
        {
            return (((this._-09F) ? this._-09F.width : int.MAX_VALUE));
        }
        public function _-483():int
        {
            return (((this._-09F) ? this._-09F.height : int.MAX_VALUE));
        }
        public function _-59p(_arg1:uint, _arg2:uint=0):Boolean
        {
            if (_arg2 > 0)
            {
                return ((((this._-5K & _arg2) ^ _arg1) == 0));
            };
            return (((this._-5K & _arg1) == _arg1));
        }
        public function _-eg(_arg1:uint, _arg2:uint=0):Boolean
        {
            if (_arg2 > 0)
            {
                return ((((this._-0Ke & _arg2) ^ _arg1) == 0));
            };
            return (((this._-0Ke & _arg1) == _arg1));
        }
        public function _-aQ(_arg1:uint, _arg2:uint=0):Boolean
        {
            if (_arg2 > 0)
            {
                return ((((this._-bl & _arg2) ^ _arg1) == 0));
            };
            return (((this._-bl & _arg1) == _arg1));
        }
        public function _-1s-(_arg1:uint, _arg2:uint=0):Boolean
        {
            if (_arg2 > 0)
            {
                return ((((this._-4qc & _arg2) ^ _arg1) == 0));
            };
            return (((this._-4qc & _arg1) == _arg1));
        }

    }
}//package _-Ew

//------------------------------------------------------------
//_-Fe._-0d

package _-Fe
{
    import _-4Aj.*;

    public class _-0d implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0d()
        {
            this._-0qE = [];
            super();
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-0gB

package _-Fe
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0gB implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;

        public function _-0gB(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-0qE == null));
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-0H

package _-Fe
{
    import _-4Aj.*;

    public class _-0H implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0H(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE = [_arg1];
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-0Ih

package _-Fe
{
    import _-4Aj.*;

    public class _-0Ih implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0Ih(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-0iK

package _-Fe
{
    import _-4Aj.*;

    public class _-0iK implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0iK(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-0mi

package _-Fe
{
    import _-4Aj.*;

    public class _-0mi implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-0mi(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-0q6

package _-Fe
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-0q6 implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;

        public function _-0q6()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-0ui

package _-Fe
{
    import _-4Aj.*;

    public class _-0ui implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-1Ir

package _-Fe
{
    import _-4Aj.*;

    public class _-1Ir implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1Ir(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-1NA

package _-Fe
{
    import _-4Aj.*;

    public class _-1NA implements _-1oF 
    {

        private var _-2W3:int;

        public function _-1NA(_arg1:int)
        {
            this._-2W3 = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-2W3]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-1sO

package _-Fe
{
    import _-4Aj.*;

    public class _-1sO implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-1sO(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-1Vp

package _-Fe
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-1Vp implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;

        public function _-1Vp()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-0qE == null));
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-2s4

package _-Fe
{
    import _-4Aj.*;

    public class _-2s4 implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-2VU

package _-Fe
{
    import _-4Aj.*;

    public class _-2VU implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-2XD

package _-Fe
{
    import _-4Aj.*;

    public class _-2XD implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-2XD(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-34Z

package _-Fe
{
    import _-4Aj.*;

    public class _-34Z implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-3Gg

package _-Fe
{
    import _-4Aj.*;

    public class _-3Gg implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-3Iu

package _-Fe
{
    import _-4Aj.*;

    public class _-3Iu implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3Iu(_arg1:int, _arg2:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-3Wm

package _-Fe
{
    import _-4Aj.*;

    public class _-3Wm implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-3Wm(_arg1:int, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:int, _arg7:int, _arg8:int, _arg9:Boolean)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
            this._-0qE.push(_arg6);
            this._-0qE.push(_arg7);
            this._-0qE.push(_arg8);
            this._-0qE.push(_arg9);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-3Zk

package _-Fe
{
    import _-4Aj.*;

    public class _-3Zk implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-4CV

package _-Fe
{
    import _-4Aj.*;

    public class _-4CV implements _-1oF 
    {

        private var _-03u:String;

        public function _-4CV(_arg1:String)
        {
            this._-03u = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-03u]);
        }
        public function dispose():void
        {
            this._-03u = null;
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-4e4

package _-Fe
{
    import _-4Aj.*;

    public class _-4e4 implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-4Q1

package _-Fe
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-4Q1 implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;

        public function _-4Q1(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE = [_arg1];
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-0qE == null));
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-5CH

package _-Fe
{
    import _-4Aj.*;

    public class _-5CH implements _-1oF 
    {

        private var _-4FT:int;

        public function _-5CH(_arg1:int)
        {
            this._-4FT = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-4FT]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-6G

package _-Fe
{
    import _-4Aj.*;

    public class _-6G implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-6G(_arg1:int, _arg2:int, _arg3:int, _arg4:String, _arg5:Boolean, _arg6:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
            this._-0qE.push(_arg2);
            this._-0qE.push(_arg3);
            this._-0qE.push(_arg4);
            this._-0qE.push(_arg5);
            this._-0qE.push(_arg6);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-G1

package _-Fe
{
    import _-4Aj.*;

    public class _-G1 implements _-1oF 
    {

        private var _-0qE:Array;

        public function _-G1(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-Qu

package _-Fe
{
    import _-4Aj.*;

    public class _-Qu implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-TU

package _-Fe
{
    import _-4Aj.*;

    public class _-TU implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-Fe._-WG

package _-Fe
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-WG implements _-1oF, _-1zZ 
    {

        private var _-0qE:Array;

        public function _-WG()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = null;
        }
        public function get disposed():Boolean
        {
            return (false);
        }

    }
}//package _-Fe

//------------------------------------------------------------
//_-FP._-1CC

package _-FP
{
    import _-1FD._-1yP;
    import _-og._-49d;

    public interface _-1CC 
    {

        function processWidgetMessage(_arg1:_-1yP):_-49d;

    }
}//package _-FP

//------------------------------------------------------------
//_-FP._-1o

package _-FP
{
    import flash.events.IEventDispatcher;
    import _-Ew.IWindow;

    public interface _-1o 
    {

        function get state():int;
        function initialize(_arg1:int=0):void;
        function dispose():void;
        function set messageListener(_arg1:_-1CC):void;
        function registerUpdateEvents(_arg1:IEventDispatcher):void;
        function unregisterUpdateEvents(_arg1:IEventDispatcher):void;
        function get mainWindow():IWindow;

    }
}//package _-FP

//------------------------------------------------------------
//_-FP._-2ul

package _-FP
{
    import _-0yf.EventDispatcherWrapper;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-1ye._-26C;
    import flash.events.IEventDispatcher;
    import _-Ew.IWindow;

    public class _-2ul implements _-1o 
    {

        private var _disposed:Boolean = false;
        private var _-2Te:EventDispatcherWrapper;
        private var _-5Dn:_-1CC;
        private var _-U-:_-3Ts;
        protected var _assets:_-39L;
        protected var _-3Pe:_-0hg;
        protected var _-0nf:_-26C;

        public function _-2ul(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null, _arg4:_-0hg=null)
        {
            this._-0nf = _arg1;
            this._-U- = _arg2;
            this._assets = _arg3;
            this._-3Pe = _arg4;
        }
        public function get state():int
        {
            return (0);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function initialize(_arg1:int=0):void
        {
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._-5Dn = null;
            this._-U- = null;
            if (((!((this._-2Te == null))) && (!(this._-2Te.disposed))))
            {
                this.unregisterUpdateEvents(this._-2Te);
            };
            if (this._-0nf)
            {
                this._-0nf.dispose();
                this._-0nf = null;
            };
            this._-2Te = null;
            this._assets = null;
            this._-3Pe = null;
            this._disposed = true;
        }
        public function set messageListener(_arg1:_-1CC):void
        {
            this._-5Dn = _arg1;
        }
        public function get messageListener():_-1CC
        {
            return (this._-5Dn);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get assets():_-39L
        {
            return (this._assets);
        }
        public function get localizations():_-0hg
        {
            return (this._-3Pe);
        }
        public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if ((_arg1 is EventDispatcherWrapper))
            {
                this._-2Te = (_arg1 as EventDispatcherWrapper);
            };
        }
        public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
        }
        public function get mainWindow():IWindow
        {
            return (null);
        }

    }
}//package _-FP

//------------------------------------------------------------
//_-FP._-3is

package _-FP
{
    import _-1B-._-Px;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-4Wu._-4uR;
    import _-2tv._-03-;
    import _-0mD._-2Jq;
    import _-3Zp._-1bw;
    import _-mv._-54I;
    import _-293._-5-S;
    import _-19Y._-29p;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboInventory;
    import com.sulake.iid.IIDHabboSoundManager;
    import com.sulake.iid.IIDHabboQuestEngine;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboGroupsManager;
    import _-1B-._-5CE;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-2VC.RoomChatWidget;
    import _-2HX._-4QU;
    import _-3fZ._-380;
    import _-3ZF._-3CG;
    import _-3Mo._-4tq;
    import _-1-s._-yf;
    import _-4Un._-2bB;
    import _-2EI.StickieFurniWidget;
    import _-3r6._-3gN;
    import _-ga._-4eY;
    import _-Ux._-0cn;
    import _-4VS._-4vp;
    import _-3DT.DoorbellWidget;
    import _-2DK._-1Py;
    import _-0yt._-3EP;
    import _-5D5.VoteWidget;
    import _-5D5._-02M;
    import _-1Kc._-3Zf;
    import _-1Kc._-1mQ;
    import _-0AI.DimmerFurniWidget;
    import _-4MD._-2Sc;
    import _-00A._-LV;
    import _-DW.AvatarInfoWidget;
    import _-Sx._-2WT;
    import _-33z._-3sl;
    import _-2EI._-0q9;
    import _-1B._-2lY;
    import _-Sz.MannequinWidget;
    import _-0NA._-49m;
    import _-1di._-3vU;
    import _-4ot.BackgroundColorFurniWidget;
    import _-171._-1X-;
    import _-1ye._-26C;
    import _-1ye.*;

    public class _-3is extends _-Px implements _-1dK 
    {

        private var _-U-:_-3Ts;
        private var _-3VY:_-39L;
        private var _-3Pe:_-0hg;
        private var _-2Hg:_-4uR;
        private var _-2EK:_-03-;
        private var _-3oJ:_-2Jq;
        private var _-YX:_-1bw;
        private var _-42G:_-54I;
        private var _-0tK:_-5-S;
        private var _-i0:_-29p;
        private var _-0QG:int = 0;

        public function _-3is(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-3VY = _arg1.root.assets;
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboConfigurationManager(), this._-1aw);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboInventory(), this._-3SD);
            queueInterface(new IIDHabboSoundManager(), this._-4mD);
            queueInterface(new IIDHabboQuestEngine(), this._-of);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboGroupsManager(), this._-iv);
        }
        override public function dispose():void
        {
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-3Pe)
            {
                this._-3Pe.release(new IIDHabboLocalizationManager());
                this._-3Pe = null;
            };
            if (this._-2Hg)
            {
                this._-2Hg.release(new IIDHabboConfigurationManager());
                this._-2Hg = null;
            };
            if (this._-42G)
            {
                this._-42G.release(new IIDHabboSoundManager());
                this._-42G = null;
            };
            if (this._-3oJ)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-YX)
            {
                this._-YX.release(new IIDHabboInventory());
                this._-YX = null;
            };
            if (this._-2EK)
            {
                this._-2EK.release(new IIDHabboQuestEngine());
                this._-2EK = null;
            };
            if (this._-0tK)
            {
                this._-0tK.release(new IIDRoomEngine());
                this._-0tK = null;
            };
            super.dispose();
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = (_arg2 as _-3Ts);
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3Pe = (_arg2 as _-0hg);
        }
        private function _-1aw(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2Hg = (_arg2 as _-4uR);
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-3oJ = (_arg2 as _-2Jq);
        }
        private function _-3SD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-YX = (_arg2 as _-1bw);
        }
        private function _-4mD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-42G = (_arg2 as _-54I);
        }
        private function _-of(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-2EK = (_arg2 as _-03-);
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-0tK = (_arg2 as _-5-S);
        }
        private function _-iv(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-i0 = (_arg2 as _-29p);
        }
        public function _-2CG(_arg1:String, _arg2:_-26C):_-1o
        {
            var k:_-1o;
            if (this._-U- == null)
            {
                return (null);
            };
            switch (_arg1)
            {
                case _-4QU._-3IP:
                    k = new RoomChatWidget(_arg2, this._-U-, assets, this._-3Pe, this._-2Hg, this._-0QG++, this);
                    break;
                case _-4QU._-1ve:
                    k = new _-380(_arg2, this._-U-, assets, this._-3Pe, this._-2Hg, this);
                    break;
                case _-4QU._-0vV:
                    k = new _-3CG(_arg2, this._-U-, assets, this._-3Pe, this._-2Hg, this._-3oJ);
                    break;
                case _-4QU._-0kJ:
                    k = new _-4tq(_arg2, this._-U-, assets, this._-3Pe, events, this._-2Hg);
                    break;
                case _-4QU._-1Wt:
                    k = new _-yf(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-0FK:
                    k = new _-2bB(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-1ca:
                    k = new StickieFurniWidget(_arg2, this._-U-, assets);
                    break;
                case _-4QU._-08H:
                    k = new _-3gN(_arg2, this._-U-, assets, this._-3Pe, this._-2Hg, this._-3oJ, this._-YX, this._-0tK, this);
                    break;
                case _-4QU._-0PY:
                    k = new _-4eY(_arg2, this, this._-U-, assets, this.localizations, this._-3oJ, this._-2Hg);
                    break;
                case _-4QU._-3aQ:
                    k = new _-0cn(_arg2, this._-U-, assets);
                    break;
                case _-4QU._-18I:
                    k = new _-4vp(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-0Dp:
                    k = new DoorbellWidget(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-d6:
                    k = new _-1Py(_arg2, this._-U-, assets, this._-3Pe, this._-2Hg);
                    break;
                case _-4QU._-4tN:
                    k = new _-3EP(_arg2, this._-U-, assets, this._-3Pe, this._-2Hg);
                    break;
                case _-4QU._-2yV:
                    k = new VoteWidget(_arg2, this._-U-, assets, this._-3Pe, this._-2Hg);
                    break;
                case _-4QU._-0hU:
                    k = new _-02M(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-hj:
                    k = new _-3Zf(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-0SZ:
                    k = new _-1mQ(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-j:
                    k = new DimmerFurniWidget(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-Uy:
                    k = new _-2Sc(_arg2, this._-U-, assets, this._-3Pe, this);
                    break;
                case _-4QU._-2ef:
                    k = new _-LV(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-06P:
                    k = new _-2ul(_arg2, this._-U-);
                    break;
                case _-4QU._-1Ky:
                    k = new AvatarInfoWidget(_arg2, this._-U-, assets, this._-2Hg, this._-3Pe, this, this._-3oJ);
                    break;
                case _-4QU._-0iH:
                    k = new _-2WT(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-3xZ:
                    k = new _-3sl(_arg2, this._-U-, this._-42G, assets, this._-3Pe, this._-2Hg, this._-3oJ);
                    break;
                case _-4QU._-AT:
                    k = new _-0q9(_arg2, this._-U-, assets);
                    break;
                case _-4QU._-4ma:
                    k = new _-2lY(_arg2, this._-U-, assets);
                    break;
                case _-4QU._-3Rz:
                    k = new MannequinWidget(_arg2, this._-U-, assets, this._-3Pe);
                    break;
                case _-4QU._-3wf:
                    k = new _-49m(_arg2, this._-U-, assets, this._-2Hg, this._-3Pe, this, this._-i0, this._-3oJ);
                    break;
                case _-4QU._-3HJ:
                    k = new _-3vU(_arg2, this._-U-, assets, this._-2Hg, this._-3Pe, this);
                    break;
                case _-4QU._-51W:
                    k = new BackgroundColorFurniWidget(_arg2, this._-U-, assets);
                    break;
                case _-4QU._-4Om:
                    k = new _-1X-(_arg2, this.windowManager, assets);
                    break;
            };
            return (k);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get localizations():_-0hg
        {
            return (this._-3Pe);
        }
        public function get config():_-4uR
        {
            return (this._-2Hg);
        }

    }
}//package _-FP

//------------------------------------------------------------
//_-Fu._-1Fl

package _-Fu
{
    import flash.display.BitmapData;

    public class _-1Fl 
    {

        private var _-o7:String;
        private var _-1Jv:int;
        private var _-1Td:String;
        private var _-4Ci:BitmapData;
        private var _-52z:BitmapData;
        private var _-19o:String;
        private var _-2Yh:String;

        public function get title():String
        {
            return (this._-o7);
        }
        public function get timeStamp():int
        {
            return (this._-1Jv);
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function get _-2fZ():BitmapData
        {
            return (this._-4Ci);
        }
        public function get _-3VJ():BitmapData
        {
            return (this._-52z);
        }
        public function get _-00k():String
        {
            return (this._-19o);
        }
        public function get _-0lq():String
        {
            return (this._-2Yh);
        }
        public function set title(_arg1:String):void
        {
            this._-o7 = _arg1;
        }
        public function set timeStamp(_arg1:int):void
        {
            this._-1Jv = _arg1;
        }
        public function set description(_arg1:String):void
        {
            this._-1Td = _arg1;
        }
        public function set _-2fZ(_arg1:BitmapData):void
        {
            this._-4Ci = _arg1;
        }
        public function set _-3VJ(_arg1:BitmapData):void
        {
            this._-52z = _arg1;
        }
        public function set _-00k(_arg1:String):void
        {
            this._-19o = _arg1;
        }
        public function set _-0lq(_arg1:String):void
        {
            this._-2Yh = _arg1;
        }

    }
}//package _-Fu

//------------------------------------------------------------
//_-Fv._-1Oc

package _-Fv
{
    import _-4Kb.HabboAvatarEditor;
    import _-Ew.IWindowContainer;

    public interface _-1Oc 
    {

        function dispose():void;
        function reset():void;
        function get controller():HabboAvatarEditor;
        function getWindowContainer():IWindowContainer;
        function switchCategory(_arg1:String):void;
        function getCategoryData(_arg1:String):CategoryData;
        function selectPart(_arg1:String, _arg2:int):void;
        function selectColor(_arg1:String, _arg2:int, _arg3:int):void;
        function _-0ed(_arg1:int):Boolean;
        function _-1LR(_arg1:int):Boolean;

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv._-2A4

package _-Fv
{
    import _-Ew.IWindowContainer;

    public interface _-2A4 
    {

        function dispose():void;
        function get window():IWindowContainer;
        function _-40Y():void;
        function _-4Zf(_arg1:int):void;
        function get _-1nI():Boolean;

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv._-2aF

package _-Fv
{
    import _-Ew.IWindowContainer;

    public interface _-2aF 
    {

        function dispose():void;
        function getWindowContainer():IWindowContainer;

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv._-2vw

package _-Fv
{
    import _-4Kb.HabboAvatarEditor;
    import _-Ew.IWindowContainer;

    public interface _-2vw 
    {

        function dispose():void;
        function reset():void;
        function get controller():HabboAvatarEditor;
        function getWindowContainer():IWindowContainer;

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv._-3Bs

package _-Fv
{
    import _-Ew.IWindowContainer;
    import _-4xH._-2OZ;
    import flash.display.BitmapData;
    import _-295.BitmapDataAsset;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-1ae.IIconWindow;
    import _-1Jd._-1ij;
    import _-2vN._-39Y;

    public class _-3Bs 
    {

        private var _-3n-:_-1Oc;
        private var _-0xv:IWindowContainer;
        private var _-4kD:_-2OZ;
        private var _-208:Boolean = false;
        private var _-35s:BitmapData;
        private var _-4BG:BitmapData;
        private var _-3dK:BitmapData;

        public function _-3Bs(_arg1:IWindowContainer, _arg2:_-1Oc, _arg3:_-2OZ)
        {
            this._-3n- = _arg2;
            this._-0xv = _arg1;
            this._-0xv.background = true;
            this._-4kD = _arg3;
            var k:BitmapDataAsset = (_arg2.controller.manager.assets.getAssetByName("editor_clr_40x32_1") as BitmapDataAsset);
            this._-35s = (k.content as BitmapData);
            var k:BitmapDataAsset = (_arg2.controller.manager.assets.getAssetByName("editor_clr_40x32_2") as BitmapDataAsset);
            this._-4BG = (k.content as BitmapData);
            var k:BitmapDataAsset = (_arg2.controller.manager.assets.getAssetByName("editor_clr_40x32_3") as BitmapDataAsset);
            this._-3dK = (k.content as BitmapData);
            this._-0Vy();
        }
        public function dispose():void
        {
            this._-3n- = null;
            if (this._-0xv != null)
            {
                if (!this._-0xv.disposed)
                {
                    this._-0xv.dispose();
                };
            };
            this._-0xv = null;
            this._-4kD = null;
            this._-35s = null;
            this._-4BG = null;
            this._-3dK = null;
        }
        public function get view():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get _-vX():Boolean
        {
            return (this._-208);
        }
        public function set _-vX(_arg1:Boolean):void
        {
            this._-208 = _arg1;
            this._-0Vy();
        }
        private function _-0Vy():void
        {
            var k:BitmapData;
            if (this._-0xv == null)
            {
                return;
            };
            if (this._-0xv.disposed)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByTag("BG_BORDER") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = new BitmapData(this._-35s.width, this._-35s.height, true, 0);
                k.bitmap.copyPixels(this._-35s, this._-35s.rect, new Point(0, 0));
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByTag("COLOR_IMAGE") as IBitmapWrapperWindow);
            if (k != null)
            {
                k.bitmap = new BitmapData(this._-4BG.width, this._-4BG.height, true, 0);
                k = this._-4BG.clone();
                k.colorTransform(k.rect, this._-4kD.colorTransform);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
                k.dispose();
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByTag("COLOR_CHOSEN") as IBitmapWrapperWindow);
            if (k != null)
            {
                if (this._-208)
                {
                    k.bitmap = new BitmapData(this._-3dK.width, this._-3dK.height, true, 0xFFFFFF);
                    k.bitmap.copyPixels(this._-3dK, this._-3dK.rect, new Point(0, 0), null, null, true);
                    k.visible = true;
                }
                else
                {
                    k.visible = false;
                };
            };
            var k:IIconWindow = (this._-0xv.findChildByTag("CLUB_ICON") as IIconWindow);
            if (k)
            {
                if (this._-4kD)
                {
                    switch (this._-4kD.clubLevel)
                    {
                        case _-1ij._-42U:
                            k.visible = false;
                            break;
                        case _-1ij._-12G:
                            k.style = _-39Y._-4y4;
                            k.visible = true;
                            break;
                        case _-1ij._-1pk:
                            k.style = _-39Y._-qX;
                            k.visible = true;
                            break;
                    };
                }
                else
                {
                    k.visible = false;
                };
            };
        }
        public function get _-4r9():_-2OZ
        {
            return (this._-4kD);
        }

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv._-Om

package _-Fv
{
    import _-Ew.IWindowContainer;

    public interface _-Om 
    {

        function dispose():void;
        function init():void;
        function reset():void;
        function getWindowContainer():IWindowContainer;
        function switchCategory(_arg1:String):void;
        function _-4Zf(_arg1:String, _arg2:int):void;

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv.AvatarEditorGridPartItem

package _-Fv
{
    import flash.display.BitmapData;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-4xH._-08d;
    import flash.geom.Rectangle;
    import _-4Kb._-3nt;
    import _-0se._-37p;
    import _-4xH._-0rC;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-1ae.IIconWindow;
    import _-1Jd._-1ij;
    import _-2vN._-39Y;
    import _-295.BitmapDataAsset;
    import _-4Kb._-3FK;
    import _-ZI.FigureData;
    import _-295._-2kE;
    import flash.geom.ColorTransform;
    import _-4xH._-2OZ;
    import flash.geom.Matrix;
    import _-4Kb.*;

    public class AvatarEditorGridPartItem implements _-3QA 
    {

        private static var _-4KB:BitmapData;
        private static var _-0bQ:Array = [];

        private const _-2y-:int = 0xCCCCCC;
        private const _-3HC:int = 0xFFFFFF;
        private const _-3HR:Array = [2, 6, 0, 4, 3, 1];

        private var _-3n-:_-1Oc;
        private var _-0xv:IWindowContainer;
        private var _-0Vh:IWindow;
        private var _-136:_-08d;
        private var _-2Yf:Array;
        private var _-60:Boolean;
        private var _-208:Boolean = false;
        private var _-52z:BitmapData;
        private var _-U9:Rectangle;
        private var _-1HR:int = 0;
        private var _-1uw:_-3nt;
        private var _-4Bk:Boolean;

        {
            _-0bQ.push(_-37p._-0dd);
            _-0bQ.push(_-37p._-ll);
            _-0bQ.push(_-37p._-3sm);
            _-0bQ.push(_-37p._-0NC);
            _-0bQ.push(_-37p._-150);
            _-0bQ.push(_-37p._-0x);
            _-0bQ.push(_-37p._-4a1);
            _-0bQ.push(_-37p._-07o);
            _-0bQ.push(_-37p._-h3);
            _-0bQ.push(_-37p._-1EM);
            _-0bQ.push(_-37p._-3ck);
            _-0bQ.push(_-37p._-3wN);
            _-0bQ.push(_-37p._-0BZ);
            _-0bQ.push(_-37p._-sw);
            _-0bQ.push(_-37p._-xk);
            _-0bQ.push(_-37p._-0GH);
            _-0bQ.push(_-37p._-2o8);
            _-0bQ.push(_-37p._-12K);
            _-0bQ.push(_-37p._-Id);
            _-0bQ.push(_-37p._-2IF);
            _-0bQ.push(_-37p._-54l);
            _-0bQ.push(_-37p._-4zi);
            _-0bQ.push(_-37p._-1Qp);
            _-0bQ.push(_-37p._-4Jm);
            _-0bQ.push(_-37p._-2i0);
        }
        public function AvatarEditorGridPartItem(_arg1:IWindowContainer, _arg2:_-1Oc, _arg3:_-08d, _arg4:Array, _arg5:Boolean=true)
        {
            var k:_-0rC;
            var k:Array;
            super();
            this._-3n- = _arg2;
            this._-136 = _arg3;
            this._-0xv = _arg1;
            this._-0Vh = this._-0xv.findChildByTag("BG_COLOR");
            this._-2Yf = _arg4;
            this._-60 = _arg5;
            if (_arg3 == null)
            {
                this._-52z = new BitmapData(1, 1, true, 0xFFFFFF);
            };
            if (_arg3 != null)
            {
                k = _arg3._-1xN;
                for each (k in k)
                {
                    this._-1HR = Math.max(this._-1HR, k._-4L0);
                };
            };
            this._-1uw = this._-3n-.controller.manager.avatarRenderManager;
            this._-2mk();
        }
        public function dispose():void
        {
            if (this._-4Bk)
            {
                return;
            };
            this._-3n- = null;
            this._-136 = null;
            if (this._-0xv != null)
            {
                if (!this._-0xv.disposed)
                {
                    this._-0xv.dispose();
                };
            };
            this._-0xv = null;
            if (this._-52z)
            {
                this._-52z.dispose();
            };
            this._-52z = null;
            this._-4Bk = true;
            _-4KB = null;
            this._-0Vh = null;
            this._-U9 = null;
            this._-1uw = null;
            this._-4Bk = true;
            this._-2Yf = null;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function get view():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get _-vX():Boolean
        {
            return (this._-208);
        }
        public function set _-vX(_arg1:Boolean):void
        {
            this._-208 = _arg1;
            this._-2mk();
        }
        public function get id():int
        {
            if (this._-136 == null)
            {
                return (-1);
            };
            return (this._-136.id);
        }
        public function get _-3Ij():int
        {
            return (this._-1HR);
        }
        public function update():void
        {
            this._-2mk();
        }
        public function set _-3VJ(_arg1:BitmapData):void
        {
            this._-52z = _arg1;
            this._-2mk();
        }
        public function get partSet():_-08d
        {
            return (this._-136);
        }
        public function set colors(_arg1:Array):void
        {
            this._-2Yf = _arg1;
            this._-2mk();
        }
        private function _-2mk():void
        {
            var k:BitmapData;
            var k:BitmapData;
            var k:int;
            var k:int;
            if (((!(this._-0xv)) || (this._-0xv.disposed)))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("bitmap") as IBitmapWrapperWindow);
            if (k)
            {
                if (((!((this._-52z == null))) && (!(this._-60))))
                {
                    k = this._-52z;
                }
                else
                {
                    k = this._-433();
                    if (!k)
                    {
                        return;
                    };
                };
                k = ((k.bitmap) ? k.bitmap : new BitmapData(k.width, k.height));
                k.fillRect(k.rect, 0xFFFFFF);
                k = ((k.width - k.width) / 2);
                k = ((k.height - k.height) / 2);
                k.copyPixels(k, k.rect, new Point(k, k), null, null, true);
                k.bitmap = k;
            };
            var k:IIconWindow = (this._-0xv.findChildByTag("CLUB_ICON") as IIconWindow);
            if (k)
            {
                if (this._-136)
                {
                    switch (this._-136.clubLevel)
                    {
                        case _-1ij._-42U:
                            k.visible = false;
                            break;
                        case _-1ij._-12G:
                            k.style = _-39Y._-4y4;
                            break;
                        case _-1ij._-1pk:
                            k.style = _-39Y._-qX;
                            break;
                    };
                }
                else
                {
                    k.visible = false;
                };
            };
            if (this._-0Vh == null)
            {
                return;
            };
            if (this._-vX)
            {
                this._-0Vh.color = this._-2y-;
            }
            else
            {
                this._-0Vh.color = this._-3HC;
            };
            this._-0xv.invalidate();
        }
        private function _-404():Boolean
        {
            var k:_-0rC;
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            if (this._-3n- == null)
            {
                this._-U9 = null;
                return (false);
            };
            if (((((!(this.partSet)) || (!(this.partSet._-1xN)))) || ((this.partSet._-1xN.length == 0))))
            {
                this._-U9 = null;
                return (false);
            };
            if (!this._-1uw)
            {
                return (false);
            };
            var k:_-3FK = this._-1uw._-4oc(((this.partSet.type + "-") + this.partSet.id));
            _-Nb.log(((("QUERYING SET:" + this.partSet.type) + "-") + this.partSet.id));
            if (!this._-1uw._-3wX(k))
            {
                this._-1uw._-2-S(k, this);
                return (false);
            };
            var k:int;
            var k:Boolean;
            var k:Rectangle = new Rectangle();
            for each (k in this.partSet._-1xN)
            {
                if (k)
                {
                    k = ((((((((((FigureData._-1b4 + "_") + FigureData._-27v) + "_") + k.type) + "_") + k.id) + "_") + this._-3HR[k]) + "_") + FigureData._-0fx);
                    k = (this._-1uw.getAssetByName(k) as BitmapDataAsset);
                }
                else
                {
                    k = 0;
                    while (((!(k)) && ((k < this._-3HR.length))))
                    {
                        k = ((((((((((FigureData._-1b4 + "_") + FigureData._-27v) + "_") + k.type) + "_") + k.id) + "_") + this._-3HR[k]) + "_") + FigureData._-0fx);
                        k = (this._-1uw.getAssetByName(k) as BitmapDataAsset);
                        if (((k) && (k.content)))
                        {
                            k = true;
                        }
                        else
                        {
                            k++;
                        };
                    };
                };
                if (((k) && (k.content)))
                {
                    k = (k.content as BitmapData);
                    k = k.union(new Rectangle((-1 * k.offset.x), (-1 * k.offset.y), k.rectangle.width, k.rectangle.height));
                };
            };
            if (((k) && ((k.width > 0))))
            {
                this._-U9 = k;
                return (true);
            };
            return (false);
        }
        private function _-433():BitmapData
        {
            var k:BitmapData;
            var k:_-0rC;
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:_-2kE;
            var k:int;
            var k:int;
            var k:ColorTransform;
            var k:_-2OZ;
            var k:Rectangle;
            if (this.partSet == null)
            {
                return (null);
            };
            if (this._-3n- == null)
            {
                return (null);
            };
            if (this._-U9 == null)
            {
                if (!this._-404())
                {
                    if (!_-4KB)
                    {
                        k = this._-3n-.controller.manager.assets.getAssetByName("avatar_editor_download_icon");
                        _-4KB = (k.content as BitmapData);
                    };
                    return (_-4KB);
                };
            };
            if (!this._-1uw)
            {
                return (null);
            };
            k = new BitmapData(this._-U9.width, this._-U9.height, true, 0xFFFFFF);
            var k:int;
            var k:Boolean;
            var k:Array = this.partSet._-1xN.concat().sort(this._-GR);
            for each (k in k)
            {
                k = null;
                if (k)
                {
                    k = ((((((((((FigureData._-1b4 + "_") + FigureData._-27v) + "_") + k.type) + "_") + k.id) + "_") + this._-3HR[k]) + "_") + FigureData._-0fx);
                    k = (this._-1uw.getAssetByName(k) as BitmapDataAsset);
                }
                else
                {
                    k = 0;
                    while (((!(k)) && ((k < this._-3HR.length))))
                    {
                        k = ((((((((((FigureData._-1b4 + "_") + FigureData._-27v) + "_") + k.type) + "_") + k.id) + "_") + this._-3HR[k]) + "_") + FigureData._-0fx);
                        k = (this._-1uw.getAssetByName(k) as BitmapDataAsset);
                        if (((k) && (k.content)))
                        {
                            k = true;
                        }
                        else
                        {
                            k++;
                        };
                    };
                };
                if (k)
                {
                    k = BitmapData(k.content);
                    k = ((-1 * k.offset.x) - this._-U9.x);
                    k = ((-1 * k.offset.y) - this._-U9.y);
                    k = null;
                    if (((this._-60) && ((k._-4L0 > 0))))
                    {
                        k = this._-2Yf[(k._-4L0 - 1)];
                        if (k != null)
                        {
                            k = k.colorTransform;
                        };
                    };
                    if (k)
                    {
                        k = new Rectangle(k, k, k.rectangle.width, k.rectangle.height);
                        k.draw((k.content as BitmapData), new Matrix(1, 0, 0, 1, (-(k.rectangle.x) + k), (-(k.rectangle.y) + k)), k, null, k);
                    }
                    else
                    {
                        k.copyPixels(k, k.rectangle, new Point(k, k), null, null, true);
                    };
                }
                else
                {
                    _-Nb.log(("Could not find asset: " + k));
                };
            };
            return (k);
        }
        private function _-GR(_arg1:_-0rC, _arg2:_-0rC):Number
        {
            var k:Number = _-0bQ.indexOf(_arg1.type);
            var k:Number = _-0bQ.indexOf(_arg2.type);
            if (k < k)
            {
                return (-1);
            };
            if (k > k)
            {
                return (1);
            };
            if (_arg1.index < _arg2.index)
            {
                return (-1);
            };
            if (_arg1.index > _arg2.index)
            {
                return (1);
            };
            return (0);
        }
        public function _-0-V(_arg1:String):void
        {
            if (!this._-404())
            {
                return;
            };
            this._-2mk();
        }

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv.AvatarEditorGridView

package _-Fv
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-1ae.IItemGridWindow;
    import _-295._-243;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;

    public class AvatarEditorGridView implements _-2A4 
    {

        private const _-3Br:int = 2;

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-Ke:IWindowContainer;
        private var _-3zl:Boolean = true;
        private var _-3n-:_-1Oc;
        private var _-4d9:String;
        private var _-0mP:IItemGridWindow;
        private var _-59U:Array;

        public function AvatarEditorGridView(_arg1:_-1Oc, _arg2:String, _arg3:_-3Ts, _arg4:_-39L)
        {
            this._-3n- = _arg1;
            this._-4d9 = _arg2;
            this._-AV = _arg4;
            this._-U- = _arg3;
            var k:_-243 = (this._-AV.getAssetByName("AvatarEditorGrid") as _-243);
            this._-Ke = IWindowContainer(this._-U-.buildFromXML((k.content as XML)));
            if (this._-Ke != null)
            {
                this._-0mP = (this._-Ke.findChildByName("part_thumbs") as IItemGridWindow);
                this._-59U = new Array();
                this._-59U.push((this._-Ke.findChildByName("palette0") as IItemGridWindow));
                this._-59U.push((this._-Ke.findChildByName("palette1") as IItemGridWindow));
            };
        }
        public function dispose():void
        {
            var k:IItemGridWindow;
            if (this._-0mP)
            {
                this._-0mP.dispose();
                this._-0mP = null;
            };
            if (this._-59U)
            {
                for each (k in this._-59U)
                {
                    if (k != null)
                    {
                        k.dispose();
                        k = null;
                    };
                };
                this._-59U = null;
            };
            this._-3n- = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-U- = null;
            this._-AV = null;
        }
        public function get window():IWindowContainer
        {
            if (this._-Ke == null)
            {
                return (null);
            };
            if (this._-Ke.disposed)
            {
                return (null);
            };
            return (this._-Ke);
        }
        public function _-40Y():void
        {
            var k:AvatarEditorGridPartItem;
            var k:int;
            var k:Array;
            var k:IItemGridWindow;
            var k:_-3Bs;
            var k:CategoryData = this._-3n-.getCategoryData(this._-4d9);
            if (!k)
            {
                return;
            };
            this._-0mP._-360();
            for each (k in k._-1xN)
            {
                if (k)
                {
                    this._-0mP._-2-F(k.view);
                    k.view.procedure = this._-1Vv;
                    if (k._-vX)
                    {
                        this._-4Zf(k._-3Ij);
                    };
                };
            };
            k = 0;
            while (k < this._-3Br)
            {
                k = k._-0yD(k);
                k = (this._-59U[k] as IItemGridWindow);
                if (!((!(k)) || (!(k))))
                {
                    for each (k in k)
                    {
                        k._-2-F(k.view);
                        k.view.procedure = this._-5B;
                    };
                };
                k++;
            };
            this._-3zl = false;
        }
        public function _-4Zf(_arg1:int):void
        {
            var k:IWindowContainer = (this._-Ke.findChildByName("palette_container0") as IWindowContainer);
            var k:IWindowContainer = (this._-Ke.findChildByName("palette_container1") as IWindowContainer);
            if (((!(k)) || (!(k))))
            {
                return;
            };
            var k:ITextWindow = (this._-Ke.findChildByName("palette_desc_0") as ITextWindow);
            var k:ITextWindow = (this._-Ke.findChildByName("palette_desc_1") as ITextWindow);
            if (((!(k)) || (!(k))))
            {
                return;
            };
            var k = 424;
            var k = 212;
            if (_arg1 <= 1)
            {
                k.width = k;
                k.visible = false;
                k.visible = false;
                k.visible = false;
            }
            else
            {
                k.width = k;
                k.width = k;
                k.visible = true;
                k.visible = true;
                k.visible = true;
            };
        }
        public function get _-1nI():Boolean
        {
            return (this._-3zl);
        }
        public function _-0mL(_arg1:int, _arg2:IWindowContainer):void
        {
            var k:IWindow = this._-0mP._-jx(_arg1);
            if (!k)
            {
                return;
            };
            k = _arg2;
        }
        private function _-1Vv(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            if (_arg1.type == WindowMouseEvent._-3Jy)
            {
                k = this._-0mP.getGridItemIndex(_arg1.window);
                this._-3n-.selectPart(this._-4d9, k);
            };
        }
        private function _-5B(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:int;
            var k:IItemGridWindow;
            var k:int;
            var k:IWindow;
            var k:int;
            if (_arg1.type == WindowMouseEvent._-3Jy)
            {
                k = _arg1.window;
                k = 0;
                while (k < this._-3Br)
                {
                    if (this._-59U.length > k)
                    {
                        k = (this._-59U[k] as IItemGridWindow);
                        k = k.getGridItemIndex(k);
                        if (k > -1)
                        {
                            this._-3n-.selectColor(this._-4d9, k, k);
                            return;
                        };
                    };
                    k++;
                };
            };
        }

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv.CategoryBaseModel

package _-Fv
{
    import _-18r.Map;
    import _-4Kb.HabboAvatarEditor;
    import _-Ew.IWindowContainer;

    public class CategoryBaseModel implements _-1Oc 
    {

        protected var _-2Db:Map;
        protected var _-513:HabboAvatarEditor;
        protected var _-rY:Boolean = false;
        protected var _-Ke:_-Om;
        private var _-4Bk:Boolean;

        public function CategoryBaseModel(_arg1:HabboAvatarEditor)
        {
            this._-513 = _arg1;
        }
        public function dispose():void
        {
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
            };
            this._-Ke = null;
            this._-2Db = null;
            this._-513 = null;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        protected function init():void
        {
            if (!this._-2Db)
            {
                this._-2Db = new Map();
            };
        }
        public function reset():void
        {
            var k:CategoryData;
            this._-rY = false;
            for each (k in this._-2Db)
            {
                if (k)
                {
                    k.dispose();
                };
            };
            this._-2Db = new Map();
            if (this._-Ke)
            {
                this._-Ke.reset();
            };
        }
        protected function _-50c(_arg1:String):void
        {
            var k:CategoryData;
            var k:CategoryData = this._-2Db[_arg1];
            if (k == null)
            {
                k = this._-513._-1F3(this, _arg1);
                if (k)
                {
                    this._-2Db[_arg1] = k;
                    this.updateSelectionsFromFigure(_arg1);
                };
            };
        }
        public function switchCategory(_arg1:String):void
        {
            if (!this._-rY)
            {
                this.init();
            };
            if (this._-Ke)
            {
                this._-Ke.switchCategory(_arg1);
            };
        }
        protected function updateSelectionsFromFigure(_arg1:String):void
        {
            if (((((!(this._-2Db)) || (!(this._-513)))) || (!(this._-513.figureData))))
            {
                return;
            };
            var k:CategoryData = this._-2Db[_arg1];
            if (k == null)
            {
                return;
            };
            var k:int = this._-513.figureData.getPartSetId(_arg1);
            var k:Array = this._-513.figureData.getColourIds(_arg1);
            if (!k)
            {
                k = new Array();
            };
            k._-0Q-(k);
            k._-3V0(k);
            if (this._-Ke)
            {
                this._-Ke._-4Zf(_arg1, k.length);
            };
        }
        public function _-0ed(_arg1:int):Boolean
        {
            var k:CategoryData;
            var k:Boolean;
            if (!this._-2Db)
            {
                return (false);
            };
            var k:Boolean;
            for each (k in this._-2Db)
            {
                if (k)
                {
                    k = k._-30F(_arg1);
                    if (k)
                    {
                        k = true;
                    };
                };
            };
            return (k);
        }
        public function _-1LR(_arg1:int):Boolean
        {
            var k:String;
            var k:CategoryData;
            var k:Boolean;
            var k:AvatarEditorGridPartItem;
            if (!this._-2Db)
            {
                return (false);
            };
            var k:Array = this._-2Db._-18C();
            var k:Boolean;
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                k = this._-2Db[k];
                k = false;
                if (k._-1LR(_arg1))
                {
                    k = true;
                };
                if (k._-3z0(_arg1))
                {
                    k = true;
                };
                if (k)
                {
                    k = k._-2mG();
                    if (((((((k) && (this._-513))) && (this._-513.figureData))) && (k)))
                    {
                        this._-513.figureData._-3pW(k, k.id, k._-4oO(), true);
                    };
                    k = true;
                };
                k++;
            };
            return (k);
        }
        public function selectPart(_arg1:String, _arg2:int):void
        {
            var k:CategoryData = this._-2Db[_arg1];
            if (k == null)
            {
                return;
            };
            k._-2h7(_arg2);
            var k:AvatarEditorGridPartItem = k._-2mG();
            if (!k)
            {
                return;
            };
            if (this._-Ke)
            {
                this._-Ke._-4Zf(_arg1, k._-3Ij);
            };
            if (((this._-513) && (this._-513.figureData)))
            {
                this._-513.figureData._-3pW(_arg1, k.id, k._-4oO(), true);
            };
        }
        public function selectColor(_arg1:String, _arg2:int, _arg3:int):void
        {
            var k:CategoryData = this._-2Db[_arg1];
            if (k == null)
            {
                return;
            };
            k._-0P4(_arg2, _arg3);
            if (((this._-513) && (this._-513.figureData)))
            {
                this._-513.figureData.savePartSetColourId(_arg1, k._-4oO(), true);
            };
        }
        public function get controller():HabboAvatarEditor
        {
            return (this._-513);
        }
        public function getWindowContainer():IWindowContainer
        {
            if (!this._-rY)
            {
                this.init();
            };
            if (!this._-Ke)
            {
                return (null);
            };
            return (this._-Ke.getWindowContainer());
        }
        public function getCategoryData(_arg1:String):CategoryData
        {
            if (!this._-rY)
            {
                this.init();
            };
            if (!this._-2Db)
            {
                return (null);
            };
            return (this._-2Db[_arg1]);
        }

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv.CategoryBaseView

package _-Fv
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-3EM.PropertyStruct;
    import flash.geom.Point;
    import _-4Kb.AvatarEditorView;

    public class CategoryBaseView 
    {

        protected var _-U-:_-3Ts;
        protected var _-AV:_-39L;
        protected var _-0xv:IWindowContainer;
        protected var _-4DM:Dictionary;
        protected var _-3Y2:String = "";
        protected var _-366:String = "";
        protected var _-3n-:_-1Oc;
        protected var _-rY:Boolean;

        public function CategoryBaseView(_arg1:_-3Ts, _arg2:_-39L, _arg3:_-1Oc)
        {
            this._-AV = _arg2;
            this._-U- = _arg1;
            this._-3n- = _arg3;
        }
        public function dispose():void
        {
            var k:_-2A4;
            if (this._-4DM)
            {
                for each (k in this._-4DM)
                {
                    k.dispose();
                    k = null;
                };
                this._-4DM = null;
            };
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-AV = null;
            this._-U- = null;
            this._-3n- = null;
            this._-rY = false;
        }
        public function init():void
        {
        }
        public function reset():void
        {
            var k:AvatarEditorGridView;
            for each (k in this._-4DM)
            {
                k.dispose();
            };
            this._-4DM = null;
            this._-3Y2 = "";
            this._-366 = "";
            this._-rY = false;
        }
        public function getWindowContainer():IWindowContainer
        {
            if (!this._-rY)
            {
                this.init();
            };
            return (this._-0xv);
        }
        public function _-4Zf(_arg1:String, _arg2:int):void
        {
            if (!this._-4DM)
            {
                return;
            };
            if (!this._-rY)
            {
                this.init();
            };
            var k:AvatarEditorGridView = (this._-4DM[_arg1] as AvatarEditorGridView);
            if (!k)
            {
                return;
            };
            k._-4Zf(_arg2);
        }
        protected function _-qb(_arg1:IBitmapWrapperWindow, _arg2:Boolean):void
        {
            var asset:BitmapDataAsset;
            var assetName:String;
            var src:BitmapData;
            var bmpWindow:IBitmapWrapperWindow = _arg1;
            var active:Boolean = _arg2;
            if (!this._-AV)
            {
                return;
            };
            if (bmpWindow == null)
            {
                return;
            };
            var result:Array = bmpWindow.properties.filter(function (_arg1, _arg2:int, _arg3:Array):Boolean
            {
                return ((PropertyStruct(_arg1).key == "bitmap_asset_name"));
            });
            var offset:Point = new Point();
            if (((result) && (result.length)))
            {
                assetName = (PropertyStruct(result[0]).value as String);
                if (active)
                {
                    assetName = assetName.replace("_on", "");
                };
                asset = BitmapDataAsset(this._-AV.getAssetByName(assetName));
                if (asset)
                {
                    bmpWindow.bitmap = new BitmapData(bmpWindow.width, bmpWindow.height, false, AvatarEditorView.in);
                    src = (asset.content as BitmapData);
                    offset.x = ((bmpWindow.width - asset.rectangle.width) / 2);
                    offset.y = ((bmpWindow.height - asset.rectangle.height) / 2);
                    bmpWindow.bitmap.copyPixels(src, asset.rectangle, offset);
                };
            };
        }
        protected function _-3YH():void
        {
            var k:IWindowContainer = (this._-0xv.findChildByName("grid_container") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k.removeChildAt(0);
            var k:_-2A4 = this._-4DM[this._-3Y2];
            if (k == null)
            {
                return;
            };
            var k:IWindowContainer = k.window;
            if (k == null)
            {
                return;
            };
            k.visible = true;
            k.addChild(k);
            k.invalidate();
            if (k._-1nI)
            {
                k._-40Y();
            };
        }
        protected function _-0T4(_arg1:String):void
        {
            var k:IBitmapWrapperWindow;
            if (!this._-0xv)
            {
                return;
            };
            var k:IWindowContainer = (this._-0xv.findChildByName(_arg1) as IWindowContainer);
            if (k)
            {
                k = (k.findChildByTag("bitmap") as IBitmapWrapperWindow);
                this._-qb(k, true);
            };
        }
        protected function _-0rr(_arg1:String):void
        {
            var k:IBitmapWrapperWindow;
            if (!this._-0xv)
            {
                return;
            };
            var k:IWindowContainer = (this._-0xv.findChildByName(_arg1) as IWindowContainer);
            if (k)
            {
                k = (k.findChildByTag("bitmap") as IBitmapWrapperWindow);
                this._-qb(k, false);
            };
        }
        protected function _-2VB():void
        {
            var k:IBitmapWrapperWindow;
            if (!this._-0xv)
            {
                return;
            };
            var k:Array = new Array();
            this._-0xv._-507("bitmap", k, -1);
            for each (k in k)
            {
                this._-qb(k, false);
            };
        }

    }
}//package _-Fv

//------------------------------------------------------------
//_-Fv.CategoryData

package _-Fv
{
    import _-4xH._-2OZ;
    import _-4xH._-08d;

    public class CategoryData 
    {

        private const _-1h2:int = 2;

        private var _-2aI:Array;
        private var var :Array;
        private var _-3Eu:int = -1;
        private var _-3sn:Array;

        public function CategoryData(_arg1:Array, _arg2:Array)
        {
            this._-2aI = _arg1;
            this.var  = _arg2;
        }
        public function dispose():void
        {
            var k:AvatarEditorGridPartItem;
            var k:Array;
            var k:_-3Bs;
            if (this._-2aI)
            {
                for each (k in this._-2aI)
                {
                    k.dispose();
                };
                this._-2aI = null;
            };
            if (this.var )
            {
                for each (k in (this.var  as Array))
                {
                    if (k)
                    {
                        for each (k in k)
                        {
                            k.dispose();
                        };
                    };
                };
                this.var  = null;
            };
            this._-3Eu = -1;
            this._-3sn = null;
        }
        public function _-0Q-(_arg1:int):void
        {
            var k:AvatarEditorGridPartItem;
            if (!this._-2aI)
            {
                return;
            };
            var k:int;
            while (k < this._-2aI.length)
            {
                k = this._-2aI[k];
                if (k.id == _arg1)
                {
                    this._-2h7(k);
                    return;
                };
                k++;
            };
        }
        public function _-3V0(_arg1:Array):void
        {
            var k:_-3Bs;
            var k:Array;
            var k:int;
            var k:int;
            var _local7:_-3Bs;
            if (!this.var )
            {
                return;
            };
            if (!_arg1)
            {
                return;
            };
            this._-3sn = new Array(_arg1.length);
            var k:int;
            while (k < this.var .length)
            {
                k = this._-0yD(k);
                if (k)
                {
                    if (_arg1.length > k)
                    {
                        k = _arg1[k];
                    }
                    else
                    {
                        _local7 = (k[0] as _-3Bs);
                        if (((_local7) && (_local7._-4r9)))
                        {
                            k = _local7._-4r9.id;
                        };
                    };
                    k = 0;
                    while (k < k.length)
                    {
                        k = (k[k] as _-3Bs);
                        if (k._-4r9.id == k)
                        {
                            this._-3sn[k] = k;
                            k._-vX = true;
                        }
                        else
                        {
                            k._-vX = false;
                        };
                        k++;
                    };
                };
                k++;
            };
            this._-1tP();
        }
        public function _-2h7(_arg1:int):AvatarEditorGridPartItem
        {
            var k:AvatarEditorGridPartItem;
            var k:AvatarEditorGridPartItem;
            if (!this._-2aI)
            {
                return (null);
            };
            if ((((this._-3Eu >= 0)) && ((this._-2aI.length > this._-3Eu))))
            {
                k = this._-2aI[this._-3Eu];
                if (k)
                {
                    k._-vX = false;
                };
            };
            if (this._-2aI.length > _arg1)
            {
                k = (this._-2aI[_arg1] as AvatarEditorGridPartItem);
                if (k)
                {
                    k._-vX = true;
                    this._-3Eu = _arg1;
                    return (k);
                };
            };
            return (null);
        }
        public function _-0P4(_arg1:int, _arg2:int):_-3Bs
        {
            var k:Array = this._-0yD(_arg2);
            if (!k)
            {
                return (null);
            };
            if (k.length <= _arg1)
            {
                return (null);
            };
            this._-49G(this._-3sn[_arg2], _arg2);
            this._-3sn[_arg2] = _arg1;
            var k:_-3Bs = (k[_arg1] as _-3Bs);
            if (!k)
            {
                return (null);
            };
            k._-vX = true;
            this._-1tP();
            return (k);
        }
        private function _-49G(_arg1:int, _arg2:int):void
        {
            var k:Array = this._-0yD(_arg2);
            if (!k)
            {
                return;
            };
            if (k.length <= _arg1)
            {
                return;
            };
            var k:_-3Bs = (k[_arg1] as _-3Bs);
            if (!k)
            {
                return;
            };
            k._-vX = false;
        }
        public function _-4oO():Array
        {
            var k:Array;
            var k:_-3Bs;
            if (((!(this._-3sn)) || ((this._-3sn.length == 0))))
            {
                return (null);
            };
            if (((!(this.var )) || ((this.var .length == 0))))
            {
                return (null);
            };
            var k:Array = (this.var [0] as Array);
            if (((!(k)) || ((k.length == 0))))
            {
                return (null);
            };
            var k:_-3Bs = (k[0] as _-3Bs);
            if (((!(k)) || (!(k._-4r9))))
            {
                return (null);
            };
            var k:int = k._-4r9.id;
            var k:Array = new Array();
            var k:int;
            while (k < this._-3sn.length)
            {
                k = this.var [k];
                if (!((!(k)) || ((k.length <= k))))
                {
                    if (k.length > this._-3sn[k])
                    {
                        k = (k[this._-3sn[k]] as _-3Bs);
                        if (((k) && (k._-4r9)))
                        {
                            k.push(k._-4r9.id);
                        }
                        else
                        {
                            k.push(k);
                        };
                    }
                    else
                    {
                        k.push(k);
                    };
                };
                k++;
            };
            var k:AvatarEditorGridPartItem = this._-2mG();
            if (!k)
            {
                return (null);
            };
            k = k.slice(0, Math.max(k._-3Ij, 1));
            return (k);
        }
        private function _-02d():Array
        {
            var k:_-3Bs;
            var k:Array = new Array();
            var k:int;
            while (k < this._-3sn.length)
            {
                k = this._-2Ky(k);
                if (k)
                {
                    k.push(k._-4r9);
                }
                else
                {
                    k.push(null);
                };
                k++;
            };
            return (k);
        }
        public function _-2Ky(_arg1:int):_-3Bs
        {
            var k:Array = this._-0yD(_arg1);
            if (((!(k)) || ((k.length <= this._-3sn[_arg1]))))
            {
                return (null);
            };
            return ((k[this._-3sn[_arg1]] as _-3Bs));
        }
        public function _-46Z(_arg1:int):int
        {
            var k:_-3Bs = this._-2Ky(_arg1);
            if (((k) && (k._-4r9)))
            {
                return (k._-4r9.id);
            };
            return (0);
        }
        public function get _-1xN():Array
        {
            return (this._-2aI);
        }
        public function _-0yD(_arg1:int):Array
        {
            if (!this._-3sn)
            {
                return (null);
            };
            if (!this.var )
            {
                return (null);
            };
            if (this.var .length <= _arg1)
            {
                return (null);
            };
            return ((this.var [_arg1] as Array));
        }
        public function _-2mG():AvatarEditorGridPartItem
        {
            return ((this._-2aI[this._-3Eu] as AvatarEditorGridPartItem));
        }
        private function _-1tP():void
        {
            var k:AvatarEditorGridPartItem;
            var k:Array = this._-02d();
            for each (k in this._-2aI)
            {
                if (k)
                {
                    k.colors = k;
                };
            };
        }
        public function _-30F(_arg1:int):Boolean
        {
            var k:int;
            var k:_-2OZ;
            var k:_-08d;
            var k:Boolean;
            var k:Array = this._-02d();
            if (k)
            {
                k = 0;
                while (k < k.length)
                {
                    k = k[k];
                    if (((k) && ((k.clubLevel > _arg1))))
                    {
                        k = true;
                    };
                    k++;
                };
            };
            var k:Boolean;
            var k:AvatarEditorGridPartItem = this._-2mG();
            if (((k) && (k.partSet)))
            {
                k = k.partSet;
                if (((k) && ((k.clubLevel > _arg1))))
                {
                    k = true;
                };
            };
            return (((k) || (k)));
        }
        public function _-1LR(_arg1:int):Boolean
        {
            var k:_-08d;
            var k:AvatarEditorGridPartItem;
            var k:AvatarEditorGridPartItem = this._-2mG();
            if (((k) && (k.partSet)))
            {
                k = k.partSet;
                if (k.clubLevel > _arg1)
                {
                    k = this._-2h7(0);
                    if (((k) && ((k.partSet == null))))
                    {
                        this._-2h7(1);
                    };
                    return (true);
                };
            };
            return (false);
        }
        public function _-3z0(_arg1:int):Boolean
        {
            var k:_-2OZ;
            var k:Array = new Array();
            var k:Array = this._-02d();
            var k:Boolean;
            var k:Array = this._-0yD(0);
            if (((!(k)) || ((k.length == 0))))
            {
                return (false);
            };
            var k:_-3Bs = (k[0] as _-3Bs);
            if (((!(k)) || (k._-4r9)))
            {
                return (false);
            };
            var k:int = k._-4r9.id;
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                if (!k)
                {
                    k.push(k);
                    k = true;
                }
                else
                {
                    if (k.clubLevel > _arg1)
                    {
                        k.push(k);
                        k = true;
                    }
                    else
                    {
                        k.push(k.id);
                    };
                };
                k++;
            };
            if (k)
            {
                this._-3V0(k);
            };
            return (k);
        }

    }
}//package _-Fv

//------------------------------------------------------------
//_-ga._-2cE

package _-ga
{
    public interface _-2cE 
    {

        function dispose():void;
        function _-3MR():void;
        function _-3Zl():Boolean;

    }
}//package _-ga

//------------------------------------------------------------
//_-ga._-4eY

package _-ga
{
    import _-FP._-2ul;
    import _-0mD._-2Jq;
    import _-4Wu._-4uR;
    import _-1B-._-Px;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-og._-4AZ;
    import flash.events.IEventDispatcher;

    public class _-4eY extends _-2ul 
    {

        public static const _-Fh:int = 10;
        public static const _-5D-:int = 20;

        private var _name:String;
        private var _-1py:String;
        private var _-2md:String;
        private var _color:int;
        private var _-3oJ:_-2Jq;
        private var _-3fD:_-4uR;
        private var _-3Gv:_-Px;
        private var _-Ke:_-2cE;
        private var _-1Aw:int;

        public function _-4eY(_arg1:_-26C, _arg2:_-Px, _arg3:_-3Ts, _arg4:_-39L, _arg5:_-0hg, _arg6:_-2Jq, _arg7:_-4uR)
        {
            super(_arg1, _arg3, _arg4, _arg5);
            this._-3Gv = _arg2;
            this._-3oJ = _arg6;
            this._-3fD = _arg7;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get date():String
        {
            return (this._-1py);
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function get color():int
        {
            return (this._color);
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        override public function dispose():void
        {
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-3oJ = null;
            this._-3fD = null;
            this._-3Gv = null;
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-4AZ._-wP, this.onObjectUpdate);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-4AZ._-wP, this.onObjectUpdate);
        }
        private function onObjectUpdate(_arg1:_-4AZ):void
        {
            this._name = _arg1.name;
            this._-1py = _arg1.date;
            this._-2md = _arg1.message;
            this._color = (_arg1.color - 1);
            this._-1Aw = _arg1._-o1;
            if ((((this._color < 0)) || ((this._color > 2))))
            {
                this._color = 0;
            };
            this._-0GR();
        }
        private function _-0GR():void
        {
            if (this._-Ke != null)
            {
                this._-Ke.dispose();
            };
            switch (this._-1Aw)
            {
                case _-5D-:
                case _-Fh:
                    this._-Ke = new _-5DL(this, this._-1Aw);
                    break;
                default:
                    this._-Ke = new TrophyView(this);
            };
            this._-Ke._-3Zl();
        }

    }
}//package _-ga

//------------------------------------------------------------
//_-ga._-5DL

package _-ga
{
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-1ae._-0C5;
    import _-1ae._-4mB;
    import _-295._-2kE;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;
    import _-1ae.IRegionWindow;
    import _-2ly._-11j;

    public class _-5DL implements _-2cE 
    {

        private var _-1Aw:int;
        private var _-0dg:_-4eY;
        private var _-0xv:IWindowContainer;

        public function _-5DL(_arg1:_-4eY, _arg2:int)
        {
            this._-0dg = _arg1;
            this._-1Aw = _arg2;
        }
        public function dispose():void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-0dg = null;
        }
        public function _-3Zl():Boolean
        {
            var k:IWindow;
            var k:ITextWindow;
            var k:_-0C5;
            var k:ITextWindow;
            var k:_-4mB;
            var k:String;
            var k:_-2kE = this._-0dg.assets.getAssetByName("niko_trophy");
            var k:_-243 = _-243(k);
            if (k == null)
            {
                return (false);
            };
            if (this._-0xv == null)
            {
                this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            };
            this._-0xv.center();
            k = this._-0xv.findChildByName("header_button_close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-1SV);
            };
            k = (this._-0xv.findChildByName("html_textbox") as ITextWindow);
            if (k != null)
            {
                switch (this._-1Aw)
                {
                    case _-4eY._-5D-:
                        k.text = this._-0dg.localizations.getKey("niko.trophy.description.gold");
                        break;
                    case _-4eY._-Fh:
                        k.text = this._-0dg.localizations.getKey("niko.trophy.description.silver");
                        break;
                };
            };
            k = (this._-0xv.findChildByName("store_link") as _-0C5);
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-1ep);
            };
            k = (this._-0xv.findChildByName("date") as ITextWindow);
            if (k != null)
            {
                this._-0dg.localizations.registerParameter("trophy.niko.date", "date", this._-0dg.date);
                k.text = this._-0dg.localizations.getKey("trophy.niko.date");
            };
            k = (this._-0xv.findChildByName("preview_image") as _-4mB);
            if (k != null)
            {
                if (this._-1Aw == _-4eY._-5D-)
                {
                    k.assetUri = "${image.library.url}niko/niko_trophy_gold.png";
                }
                else
                {
                    k.assetUri = "${image.library.url}niko/niko_trophy_silver.png";
                };
            };
            k = (this._-0xv.findChildByName("store_image") as _-4mB);
            if (k != null)
            {
                k.assetUri = (("${image.library.url}niko/" + this._-0dg.configuration.getKey("niko.trophy.appstore.image", "niko_appstorebutton_en")) + ".png");
            };
            var k:IRegionWindow = (this._-0xv.findChildByName("appstore_region") as IRegionWindow);
            if (k)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-1ep);
            };
            return (true);
        }
        public function _-3MR():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-1ep(_arg1:WindowMouseEvent):void
        {
            var k:String = this._-0dg.configuration.getKey("niko.appstore.link.url", "http://itunes.apple.com/app/niko/id481670205");
            _-11j._-0D8(k, "habboMain");
        }
        private function _-1SV(_arg1:WindowMouseEvent):void
        {
            this._-3MR();
        }

    }
}//package _-ga

//------------------------------------------------------------
//_-ga.TrophyView

package _-ga
{
    import _-Ew.IWindowContainer;
    import _-Ew.IWindow;
    import _-1ae.ITextWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-2kE;
    import _-295._-243;
    import _-0Ie.WindowMouseEvent;

    public class TrophyView implements _-2cE 
    {

        private static const _-jO:Array = new Array("trophy_bg_gold", "trophy_bg_silver", "trophy_bg_bronze");
        private static const _-1J7:Array = new Array(4293707079, 4291411404, 4290279476);

        private var _-0dg:_-4eY;
        private var _-0xv:IWindowContainer;

        public function TrophyView(_arg1:_-4eY)
        {
            this._-0dg = _arg1;
        }
        public function dispose():void
        {
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-0dg = null;
        }
        public function _-3Zl():Boolean
        {
            var k:IWindow;
            var k:IWindowContainer;
            var k:ITextWindow;
            var k:ITextWindow;
            var k:ITextWindow;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:IBitmapWrapperWindow;
            var k:_-2kE = this._-0dg.assets.getAssetByName("trophy");
            var k:_-243 = _-243(k);
            if (k == null)
            {
                return (false);
            };
            if (this._-0xv == null)
            {
                this._-0xv = (this._-0dg.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            };
            this._-0xv.center();
            k = this._-0xv.findChildByName("close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            k = (this._-0xv.findChildByName("title_bg") as IWindowContainer);
            if (k != null)
            {
                k.color = _-1J7[this._-0dg.color];
            };
            k = (this._-0xv.findChildByName("greeting") as ITextWindow);
            if (k != null)
            {
                k.text = this._-0dg.message.replace(/\\r/g, "\n");
            };
            k = (this._-0xv.findChildByName("date") as ITextWindow);
            if (k != null)
            {
                k.text = this._-0dg.date;
            };
            k = (this._-0xv.findChildByName("name") as ITextWindow);
            if (k != null)
            {
                k.text = this._-0dg.name;
            };
            k = (this._-0dg.assets.getAssetByName(_-jO[this._-0dg.color]) as BitmapDataAsset);
            k = (this._-0xv.findChildByName("trophy_bg") as IBitmapWrapperWindow);
            if (k != null)
            {
                k = (k.content as BitmapData);
                k.bitmap = k;
            };
            return (true);
        }
        public function _-3MR():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-2yr(_arg1:WindowMouseEvent):void
        {
            this._-3MR();
        }

    }
}//package _-ga

//------------------------------------------------------------
//_-gc.BodyModel

package _-gc
{
    import _-Fv.CategoryBaseModel;
    import _-4Kb.HabboAvatarEditor;
    import _-ZI.FigureData;
    import _-Fv.CategoryData;
    import _-Fv.AvatarEditorGridPartItem;
    import _-4Kb._-40f;
    import _-0se._-1uH;
    import _-0se._-24J;
    import _-4Kb.*;
    import _-Fv.*;

    public class BodyModel extends CategoryBaseModel implements _-1Oc, _-3QA 
    {

        private var _-05T:Boolean;

        public function BodyModel(_arg1:HabboAvatarEditor)
        {
            super(_arg1);
        }
        override protected function init():void
        {
            super.init();
            _-50c(FigureData._-2o8);
            _-rY = true;
            if (!_-Ke)
            {
                _-Ke = new BodyView(this, controller.manager.windowManager, controller.manager.assets);
                if (_-Ke)
                {
                    _-Ke.init();
                };
            };
        }
        override public function switchCategory(_arg1:String):void
        {
        }
        override public function selectColor(_arg1:String, _arg2:int, _arg3:int):void
        {
            var k:CategoryData = _-2Db[_arg1];
            if (k == null)
            {
                return;
            };
            k._-0P4(_arg2, _arg3);
            _-513.figureData.savePartSetColourId(_arg1, k._-4oO(), true);
            this.updateSelectionsFromFigure(FigureData._-2o8);
        }
        override protected function updateSelectionsFromFigure(_arg1:String):void
        {
            var k:AvatarEditorGridPartItem;
            var k:String;
            var k:_-40f;
            if (!_-2Db)
            {
                return;
            };
            var k:int = _-513.figureData.getPartSetId(FigureData._-2o8);
            var k:Array = _-513.figureData.getColourIds(FigureData._-2o8);
            var k:CategoryData = _-2Db[_arg1];
            if (k == null)
            {
                return;
            };
            k._-0Q-(k);
            k._-3V0(k);
            for each (k in k._-1xN)
            {
                k = _-513.figureData.getFigureStringWithFace(k.id);
                k = _-513.manager.avatarRenderManager.createAvatarImage(k, _-1uH._-JU, null, this);
                k._-3VJ = k._-1hx(_-24J._-0GH);
                k.dispose();
            };
        }
        public function _-0-V(_arg1:String):void
        {
            if (!this._-05T)
            {
                this._-05T = true;
                this.updateSelectionsFromFigure(FigureData._-2o8);
            };
        }

    }
}//package _-gc

//------------------------------------------------------------
//_-gc.BodyView

package _-gc
{
    import _-Fv.CategoryBaseView;
    import _-ZI.FigureData;
    import _-Fv._-1Oc;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-295._-243;
    import _-Fv._-2A4;
    import _-Ew.IWindowContainer;
    import flash.utils.Dictionary;
    import _-Fv.AvatarEditorGridView;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-Fv.*;

    public class BodyView extends CategoryBaseView implements _-Om 
    {

        private const _-Gd:String = "tab_boy";
        private const _-4QV:String = "tab_girl";

        public function BodyView(_arg1:_-1Oc, _arg2:_-3Ts, _arg3:_-39L)
        {
            super(_arg2, _arg3, _arg1);
            _-3Y2 = FigureData._-2o8;
        }
        override public function reset():void
        {
            super.reset();
            _-3Y2 = FigureData._-2o8;
        }
        override public function init():void
        {
            var k:_-243;
            var _local2:_-2A4;
            if (!_-0xv)
            {
                k = (_-AV.getAssetByName("avatareditor_generic_base") as _-243);
                if (k)
                {
                    _-0xv = IWindowContainer(_-U-.buildFromXML((k.content as XML)));
                    _-0xv.visible = false;
                    _-0xv.procedure = this._-3kk;
                };
            };
            if (!_-4DM)
            {
                _-4DM = new Dictionary();
                _-4DM[FigureData._-2o8] = new AvatarEditorGridView(_-3n-, FigureData._-2o8, _-U-, _-AV);
            }
            else
            {
                for each (_local2 in _-4DM)
                {
                    _local2._-40Y();
                };
            };
            _-rY = true;
            _-3YH();
            _-2VB();
            this._-57();
        }
        override public function getWindowContainer():IWindowContainer
        {
            if (!_-rY)
            {
                this.init();
            };
            this._-57();
            return (_-0xv);
        }
        public function _-57():void
        {
            if (_-3n- == null)
            {
                return;
            };
            switch (_-3n-.controller.gender)
            {
                case FigureData._-0pA:
                    _-0T4(this._-Gd);
                    _-0rr(this._-4QV);
                    return;
                case FigureData._-0Ag:
                    _-0T4(this._-4QV);
                    _-0rr(this._-Gd);
                    return;
            };
        }
        public function switchCategory(_arg1:String):void
        {
            this._-57();
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                switch (_arg2.name)
                {
                    case this._-Gd:
                        _-3n-.controller.gender = FigureData._-0pA;
                        _arg1.stopPropagation();
                        break;
                    case this._-4QV:
                        _-3n-.controller.gender = FigureData._-0Ag;
                        _arg1.stopPropagation();
                        break;
                };
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    switch (_arg2.name)
                    {
                        case this._-Gd:
                        case this._-4QV:
                            _-0T4(_arg2.name);
                            break;
                    };
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        switch (_arg2.name)
                        {
                            case this._-Gd:
                            case this._-4QV:
                                this._-57();
                                return;
                        };
                    };
                };
            };
        }

    }
}//package _-gc

//------------------------------------------------------------
//_-ge._-0Bi

package _-ge
{
    import _-4Aj._-7V;
    import _-lL._-0CH;

    public class _-0Bi extends _-7V 
    {

        public function _-0Bi(_arg1:Function)
        {
            super(_arg1, _-0CH);
        }
        public function _-3-5():_-0CH
        {
            return ((_-515 as _-0CH));
        }

    }
}//package _-ge

//------------------------------------------------------------
//_-ge._-1Io

package _-ge
{
    import _-4Aj._-7V;
    import _-lL._-Ep;

    public class _-1Io extends _-7V 
    {

        public function _-1Io(_arg1:Function)
        {
            super(_arg1, _-Ep);
        }
        public function _-3-5():_-Ep
        {
            return ((_-515 as _-Ep));
        }

    }
}//package _-ge

//------------------------------------------------------------
//_-ge._-1Lx

package _-ge
{
    import _-4Aj._-7V;
    import _-lL._-49y;

    public class _-1Lx extends _-7V 
    {

        public function _-1Lx(_arg1:Function)
        {
            super(_arg1, _-49y);
        }
        public function _-3-5():_-49y
        {
            return ((_-515 as _-49y));
        }

    }
}//package _-ge

//------------------------------------------------------------
//_-ge._-4zN

package _-ge
{
    import _-4Aj._-7V;
    import _-lL._-50w;

    public class _-4zN extends _-7V 
    {

        public function _-4zN(_arg1:Function)
        {
            super(_arg1, _-50w);
        }
        public function _-3-5():_-50w
        {
            return ((_-515 as _-50w));
        }

    }
}//package _-ge

//------------------------------------------------------------
//_-Hq._-43q

package _-Hq
{
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import flash.geom.ColorTransform;

    public class _-43q 
    {

        private var _bitmap:BitmapData;
        private var _-Gw:Rectangle;
        private var _-4TB:Point;
        private var _-4tY:Boolean;
        private var _-1Cw:ColorTransform;

        public function _-43q(_arg1:BitmapData, _arg2:Rectangle, _arg3:Point, _arg4:Boolean, _arg5:ColorTransform)
        {
            this._bitmap = _arg1;
            this._-Gw = _arg2;
            this._-4TB = _arg3;
            this._-4tY = _arg4;
            this._-1Cw = _arg5;
            if (_arg4)
            {
                this._-4TB.x = (-(this._-4TB.x) + _arg2.width);
            };
        }
        public function dispose():void
        {
            this._bitmap = null;
            this._-4TB = null;
            this._-1Cw = null;
        }
        public function get bitmap():BitmapData
        {
            return (this._bitmap);
        }
        public function get rect():Rectangle
        {
            return (this._-Gw);
        }
        public function get _-29t():Point
        {
            return (this._-4TB);
        }
        public function get flipH():Boolean
        {
            return (this._-4tY);
        }
        public function get colorTransform():ColorTransform
        {
            return (this._-1Cw);
        }
        public function get _-0AH():Rectangle
        {
            var k:Rectangle = new Rectangle(0, 0, this._-Gw.width, this._-Gw.height);
            k.offset(-(this._-4TB.x), -(this._-4TB.y));
            return (k);
        }

    }
}//package _-Hq

//------------------------------------------------------------
//_-Hq._-4i7

package _-Hq
{
    import _-18r.Map;
    import flash.utils.getTimer;

    public class _-4i7 
    {

        private var _-pY:Map;
        private var _-0U0:int;

        public function _-4i7()
        {
            this._-pY = new Map();
            this._-44f(getTimer());
        }
        public function dispose():void
        {
            var k:AvatarImageDirectionCache;
            this._-n3("[dispose]");
            if (this._-pY == null)
            {
                return;
            };
            for each (k in this._-pY)
            {
                k.dispose();
            };
            this._-pY.dispose();
        }
        public function _-4go(_arg1:int):AvatarImageDirectionCache
        {
            var k:String = _arg1.toString();
            return ((this._-pY.getValue(k) as AvatarImageDirectionCache));
        }
        public function _-0X-(_arg1:int, _arg2:AvatarImageDirectionCache):void
        {
            var k:String = _arg1.toString();
            this._-pY.add(k, _arg2);
        }
        public function _-44f(_arg1:int):void
        {
            this._-0U0 = _arg1;
        }
        public function _-32():int
        {
            return (this._-0U0);
        }
        private function _-n3(_arg1:String):void
        {
        }

    }
}//package _-Hq

//------------------------------------------------------------
//_-Hq._-WD

package _-Hq
{
    import _-18r.Map;
    import _-3o7._-3yS;

    public class _-WD 
    {

        private var _-pY:Map;
        private var _-1aS:_-3yS;
        private var _-5EA:int;
        private var _disposed:Boolean;

        public function _-WD()
        {
            this._-pY = new Map();
        }
        public function _-sy(_arg1:_-3yS, _arg2:int):void
        {
            if (this._-1aS == null)
            {
                this._-1aS = _arg1;
            };
            var k:_-4i7 = this._-2zL(this._-1aS);
            if (k != null)
            {
                k._-44f(_arg2);
            };
            this._-1aS = _arg1;
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                if (this._-pY == null)
                {
                    return;
                };
                if (this._-pY)
                {
                    this._-1Rz(0, int.MAX_VALUE);
                    this._-pY.dispose();
                    this._-pY = null;
                };
                this._disposed = true;
            };
        }
        public function _-1Rz(_arg1:int, _arg2:int):void
        {
            var k:int;
            var k:_-4i7;
            var k:String;
            if ((((this._-pY == null)) || (this._disposed)))
            {
                return;
            };
            var k:Array = this._-pY._-18C();
            for each (k in k)
            {
                k = (this._-pY.getValue(k) as _-4i7);
                if (k != null)
                {
                    k = k._-32();
                    if ((_arg2 - k) >= _arg1)
                    {
                        k.dispose();
                        this._-pY.remove(k);
                    };
                };
            };
        }
        public function _-3tb():_-3yS
        {
            return (this._-1aS);
        }
        public function setDirection(_arg1:int):void
        {
            this._-5EA = _arg1;
        }
        public function getDirection():int
        {
            return (this._-5EA);
        }
        public function _-2zL(_arg1:_-3yS=null):_-4i7
        {
            if (!this._-1aS)
            {
                return (null);
            };
            if (_arg1 == null)
            {
                k = this._-1aS;
            };
            if (_arg1._-0HT != null)
            {
                return ((this._-pY.getValue(_arg1._-0HT) as _-4i7));
            };
            return ((this._-pY.getValue(_arg1.id) as _-4i7));
        }
        public function _-oc(_arg1:_-3yS, _arg2:_-4i7):void
        {
            if (_arg1._-0HT != null)
            {
                this._-pY.add(_arg1._-0HT, _arg2);
            }
            else
            {
                this._-pY.add(_arg1.id, _arg2);
            };
        }
        private function _-n3(_arg1:String):void
        {
        }

    }
}//package _-Hq

//------------------------------------------------------------
//_-Hq.AvatarImageCache

package _-Hq
{
    import _-4Kb.AvatarStructure;
    import _-4Kb._-40f;
    import _-3Zm.AssetAliasCollection;
    import _-18r.Map;
    import _-1A6.AvatarCanvas;
    import flash.geom.ColorTransform;
    import flash.geom.Matrix;
    import flash.utils.getTimer;
    import _-3o7._-3yS;
    import _-0se._-33;
    import _-1kb.Animation;
    import _-1kb.AnimationLayerData;
    import flash.geom.Point;
    import _-0se._-1uH;
    import _-4Kb._-037;
    import _-4Kb.AvatarImagePartContainer;
    import _-2c1.AnimationFrame;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-0se._-aR;
    import _-0se._-37p;
    import flash.geom.Rectangle;

    public class AvatarImageCache 
    {

        private static const _-1kC:int = 60000;

        private var _-4E9:AvatarStructure;
        private var _-1CY:_-40f;
        private var _assets:AssetAliasCollection;
        private var _-3Tb:String;
        private var _-pY:Map;
        private var _-06f:AvatarCanvas;
        private var _disposed:Boolean;
        private var _-0w-:String;
        private var _-1wU:Array;
        private var _-1Cw:ColorTransform;
        private var _-3xF:Matrix;

        public function AvatarImageCache(_arg1:AvatarStructure, _arg2:_-40f, _arg3:AssetAliasCollection, _arg4:String)
        {
            this._-1wU = new Array();
            this._-1Cw = new ColorTransform();
            this._-3xF = new Matrix();
            super();
            this._-4E9 = _arg1;
            this._-1CY = _arg2;
            this._assets = _arg3;
            this._-3Tb = _arg4;
            this._-pY = new Map();
        }
        public function dispose():void
        {
            var k:_-WD;
            var k:Array;
            var k:String;
            if (this._disposed)
            {
                return;
            };
            this._-4E9 = null;
            this._-1CY = null;
            this._assets = null;
            if (this._-pY != null)
            {
                k = this._-pY._-18C();
                for each (k in k)
                {
                    k = (this._-pY.getValue(k) as _-WD);
                    if (k != null)
                    {
                        k.dispose();
                    };
                };
                this._-pY.dispose();
                this._-pY = null;
            };
            this._-06f = null;
            this._disposed = true;
        }
        public function _-3Su(_arg1:int=60000):void
        {
            var k:_-WD;
            var k:String;
            var k:int = getTimer();
            var k:Array = this._-pY._-18C();
            for each (k in k)
            {
                k = (this._-pY.getValue(k) as _-WD);
                if (k != null)
                {
                    k._-1Rz(_arg1, k);
                };
            };
        }
        public function _-OC(_arg1:_-3yS):void
        {
            var k:_-WD;
            for each (k in this._-pY)
            {
                if (k != null)
                {
                    k._-sy(_arg1, 0);
                };
            };
        }
        public function setDirection(_arg1:String, _arg2:int):void
        {
            var k:_-WD;
            var k:String;
            var k:Array = this._-4E9._-BB(_arg1);
            for each (k in k)
            {
                k = this._-0WO(k);
                if (k != null)
                {
                    k.setDirection(_arg2);
                };
            };
        }
        public function _-sy(_arg1:_-3yS, _arg2:int):void
        {
            var k:String;
            var k:_-WD;
            var k:Array = this._-4E9._-vN(_arg1, this._-1CY);
            for each (k in k)
            {
                k = this._-0WO(k);
                if (k != null)
                {
                    k._-sy(_arg1, _arg2);
                };
            };
        }
        public function _-12X(_arg1:String):void
        {
            if (this._-0w- == _arg1)
            {
                return;
            };
            if ((((((((this._-0w- == _-33._-0qb)) && ((_arg1 == _-33._-4U8)))) || ((((this._-0w- == _-33._-4U8)) && ((_arg1 == _-33._-0qb)))))) || ((((this._-0w- == _-33._-4JV)) || ((_arg1 == _-33._-4JV))))))
            {
                this._-0w- = _arg1;
                this._-06f = null;
                return;
            };
            this._-3Su(0);
            this._-0w- = _arg1;
            this._-06f = null;
        }
        public function _-1x7(_arg1:String, _arg2:int):_-037
        {
            var k:int;
            var k:Animation;
            var k:int;
            var k:AnimationLayerData;
            var k:Array;
            var k:Array;
            var k:_-WD = this._-0WO(_arg1);
            if (k == null)
            {
                k = new _-WD();
                this._-pY.add(_arg1, k);
            };
            var k:int = k.getDirection();
            var k:int = _arg2;
            var k:_-3yS = k._-3tb();
            if (k._-0LY._-3rN)
            {
                k = (k - k._-57G);
            };
            var k:_-3yS = k;
            var k:Array = [];
            var k:Map = new Map();
            var k:Point = new Point();
            if (!((!(k)) || (!(k._-0LY))))
            {
                if (k._-0LY._-RX)
                {
                    k = this._-4E9._-0RO(((k._-0LY.state + ".") + k._-5-k));
                    k = (_arg2 - k._-57G);
                    if (k != null)
                    {
                        k = k._-0JM(k, _arg1, k._-0HT);
                        if (k != null)
                        {
                            k = (k + k._-3J7);
                            if (k._-3J7 < 0)
                            {
                                if (k < 0)
                                {
                                    k = (8 + k);
                                }
                                else
                                {
                                    if (k > 7)
                                    {
                                        k = (8 - k);
                                    };
                                };
                            }
                            else
                            {
                                if (k < 0)
                                {
                                    k = (k + 8);
                                }
                                else
                                {
                                    if (k > 7)
                                    {
                                        k = (k - 8);
                                    };
                                };
                            };
                            if (this._-3Tb == _-1uH._-JU)
                            {
                                k.x = k.dx;
                                k.y = k.dy;
                            }
                            else
                            {
                                k.x = (k.dx / 2);
                                k.y = (k.dy / 2);
                            };
                            k = k._-2Ec;
                            if (k.action != null)
                            {
                                k = k.action;
                            };
                            if (k.type == AnimationLayerData._-11v)
                            {
                                if (k.action != null)
                                {
                                    k = k.action;
                                };
                            }
                            else
                            {
                                if (k.type == AnimationLayerData._-3uP)
                                {
                                };
                            };
                            k = k.items;
                        };
                        k = k._-2CB;
                    };
                };
            };
            var k:_-4i7 = k._-2zL(k);
            if (k == null)
            {
                k = new _-4i7();
                k._-oc(k, k);
            };
            var k:AvatarImageDirectionCache = k._-4go(k);
            if (k == null)
            {
                k = this._-4E9._-43K(_arg1, this._-1CY._-1mO(), k, this._-0w-, k, k, this._-1CY, k);
                k = new AvatarImageDirectionCache(k);
                k._-0X-(k, k);
            };
            var k:_-037 = k._-1x7(k);
            if (k == null)
            {
                k = k._-3Jt();
                k = this._-2mf(k, k, k, k);
                if (k != null)
                {
                    if (k._-1kK)
                    {
                        k._-2Ow(k, k);
                    };
                }
                else
                {
                    return (null);
                };
            };
            k.offset = k.add(this._-4E9._-2GB(k, k, k, _arg1));
            return (k);
        }
        public function _-0WO(_arg1:String):_-WD
        {
            var k:_-WD = (this._-pY.getValue(_arg1) as _-WD);
            if (k == null)
            {
                k = new _-WD();
                this._-pY.add(_arg1, k);
            };
            return (k);
        }
        private function _-2mf(_arg1:int, _arg2:Array, _arg3:int, _arg4:_-3yS):_-037
        {
            var k:Boolean;
            var k:int;
            var k:_-43q;
            var k:AvatarImagePartContainer;
            var k:String;
            var k:String;
            var k:String;
            var k:AnimationFrame;
            var k:int;
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Boolean;
            var k:Point;
            var k:ColorTransform;
            var k:ColorTransform;
            if (_arg2 == null)
            {
                return (null);
            };
            if (_arg2.length == 0)
            {
                return (null);
            };
            if (!this._-06f)
            {
                this._-06f = this._-4E9._-3zT(this._-3Tb, this._-0w-);
                if (!this._-06f)
                {
                    return (null);
                };
            };
            var k:int = _arg1;
            var k:Boolean = _-aR._-1SI[_arg1];
            var k:String = _arg4._-0LY._-27o;
            var k:String = _arg4._-0LY.state;
            var k:Boolean = true;
            var k:int = (_arg2.length - 1);
            while (k >= 0)
            {
                k = (_arg2[k] as AvatarImagePartContainer);
                if (!(((_arg1 == 7)) && ((((k._-2sV == "fc")) || ((k._-2sV == "ey"))))))
                {
                    if (!(((k._-2sV == "ri")) && ((k._-1hb == null))))
                    {
                        k = k._-4r1;
                        k = k._-2sV;
                        k = k._-1hb;
                        k = k._-wz(_arg3);
                        if (k)
                        {
                            k = k.number;
                            if (((k._-27o) && (!((k._-27o == "")))))
                            {
                                k = k._-27o;
                            };
                        }
                        else
                        {
                            k = k._-EG(_arg3);
                        };
                        k = _arg1;
                        k = false;
                        if (k)
                        {
                            if ((((k == "wav")) && ((((((k == _-37p._-ll)) || ((k == _-37p._-3sm)))) || ((k == _-37p._-0NC))))))
                            {
                                k = true;
                            }
                            else
                            {
                                if ((((k == "drk")) && ((((((k == _-37p._-0BZ)) || ((k == _-37p._-sw)))) || ((k == _-37p._-xk))))))
                                {
                                    k = true;
                                }
                                else
                                {
                                    if ((((k == "blw")) && ((k == _-37p._-0BZ))))
                                    {
                                        k = true;
                                    }
                                    else
                                    {
                                        if ((((k == "sig")) && ((k == _-37p._-ll))))
                                        {
                                            k = true;
                                        }
                                        else
                                        {
                                            if ((((k == "respect")) && ((k == _-37p._-ll))))
                                            {
                                                k = true;
                                            }
                                            else
                                            {
                                                if (k == _-37p._-2i0)
                                                {
                                                    k = true;
                                                }
                                                else
                                                {
                                                    if (k == _-37p._-0dd)
                                                    {
                                                        k = true;
                                                    }
                                                    else
                                                    {
                                                        if (k == _-37p._-3ck)
                                                        {
                                                            k = true;
                                                        }
                                                        else
                                                        {
                                                            if (_arg1 == 4)
                                                            {
                                                                k = 2;
                                                            }
                                                            else
                                                            {
                                                                if (_arg1 == 5)
                                                                {
                                                                    k = 1;
                                                                }
                                                                else
                                                                {
                                                                    if (_arg1 == 6)
                                                                    {
                                                                        k = 0;
                                                                    };
                                                                };
                                                            };
                                                            if (k._-2qv != k)
                                                            {
                                                                k = k._-2qv;
                                                            };
                                                        };
                                                    };
                                                };
                                            };
                                        };
                                    };
                                };
                            };
                        };
                        k = ((((((((((this._-3Tb + "_") + k) + "_") + k) + "_") + k) + "_") + k) + "_") + k);
                        k = (this._assets.getAssetByName(k) as BitmapDataAsset);
                        if (k == null)
                        {
                            k = (((((((this._-3Tb + "_std_") + k) + "_") + k) + "_") + k) + "_0");
                            k = (this._assets.getAssetByName(k) as BitmapDataAsset);
                        };
                        if (!k)
                        {
                        }
                        else
                        {
                            k = (k.content as BitmapData);
                            if (k == null)
                            {
                                k = false;
                            }
                            else
                            {
                                k = false;
                                if (((k._-1J8) && (!((k.color == null)))))
                                {
                                    k = k.color.colorTransform;
                                    this._-1Cw.redMultiplier = k.redMultiplier;
                                    this._-1Cw.greenMultiplier = k.greenMultiplier;
                                    this._-1Cw.blueMultiplier = k.blueMultiplier;
                                    this._-1Cw.alphaMultiplier = k.alphaMultiplier;
                                    k = true;
                                }
                                else
                                {
                                    this._-1Cw.redMultiplier = (this._-1Cw.greenMultiplier = (this._-1Cw.blueMultiplier = (this._-1Cw.alphaMultiplier = 1)));
                                };
                                if (k._-5Ep)
                                {
                                    this._-1Cw.concat(k._-es);
                                    k = true;
                                };
                                k = k.offset.clone();
                                if (k)
                                {
                                    k.x = (k.x + (((this._-3Tb)==_-1uH._-JU) ? 65 : 31));
                                };
                                k = null;
                                if (k)
                                {
                                    k = new ColorTransform();
                                    k.concat(this._-1Cw);
                                };
                                this._-1wU.push(new _-43q(k, k.rectangle, k, k, k));
                            };
                        };
                    };
                };
                k--;
            };
            if (this._-1wU.length == 0)
            {
                return (null);
            };
            var k:_-43q = this._-2qD(this._-1wU, k);
            var k:int = (((this._-3Tb)==_-1uH._-JU) ? (this._-06f.height - 16) : (this._-06f.height - 8));
            var k:Point = new Point(-(k._-29t.x), (k - k._-29t.y));
            if (((k) && (!((k == "lay")))))
            {
                k.x = (k.x + (((this._-3Tb)==_-1uH._-JU) ? 67 : 31));
            };
            k = (this._-1wU.length - 1);
            while (k >= 0)
            {
                k = this._-1wU.pop();
                if (k)
                {
                    k.dispose();
                };
                k--;
            };
            return (new _-037(k.bitmap, k, k));
        }
        private function _-2qD(_arg1:Array, _arg2:Boolean):_-43q
        {
            var k:Rectangle;
            var k:_-43q;
            var k:Point;
            var k:Point;
            var k:BitmapData;
            var k:Boolean;
            k = new Rectangle();
            for each (k in _arg1)
            {
                k = k.union(k._-0AH);
            };
            k = new Point(-(k.left), -(k.top));
            k = new BitmapData(k.width, k.height, true, 0xFFFFFF);
            for each (k in _arg1)
            {
                k = k.subtract(k._-29t);
                if (_arg2)
                {
                    k.x = (k.width - (k.x + k.rect.width));
                };
                k = ((!(((_arg2) && (k.flipH)))) && (((_arg2) || (k.flipH))));
                if (k)
                {
                    this._-3xF.a = -1;
                    this._-3xF.tx = ((k.rect.x + k.rect.width) + k.x);
                    this._-3xF.ty = (k.y - k.rect.y);
                    k.x = k.x;
                    k.y = k.y;
                    k.width = k.rect.width;
                    k.height = k.rect.height;
                    k.draw(k.bitmap, this._-3xF, k.colorTransform, null, k);
                }
                else
                {
                    if (k.colorTransform)
                    {
                        this._-3xF.a = 1;
                        this._-3xF.tx = (k.x - k.rect.x);
                        this._-3xF.ty = (k.y - k.rect.y);
                        k.x = k.x;
                        k.y = k.y;
                        k.width = k.rect.width;
                        k.height = k.rect.height;
                        k.draw(k.bitmap, this._-3xF, k.colorTransform, null, k);
                    }
                    else
                    {
                        k.copyPixels(k.bitmap, k.rect, k, null, null, true);
                    };
                };
            };
            return (new _-43q(k, k.rect, k, _arg2, null));
        }
        private function _-RQ(_arg1:BitmapData, _arg2:Rectangle, _arg3:uint):void
        {
            var k:int;
            var k:int = (_arg2.bottom - 1);
            k = _arg2.left;
            while (k < (_arg2.right - 1))
            {
                _arg1.setPixel32(k, 0, _arg3);
                _arg1.setPixel32(k, k, _arg3);
                k++;
            };
            k = _arg2.top;
            while (k < (_arg2.bottom - 1))
            {
                _arg1.setPixel32(0, k, _arg3);
                _arg1.setPixel32(k, k, _arg3);
                k++;
            };
        }
        private function _-n3(_arg1:String):void
        {
            _-Nb.log(("[AvatarImageCache] " + _arg1));
        }

    }
}//package _-Hq

//------------------------------------------------------------
//_-Hq.AvatarImageDirectionCache

package _-Hq
{
    import flash.utils.Dictionary;
    import _-4Kb._-037;
    import _-4Kb.AvatarImagePartContainer;

    public class AvatarImageDirectionCache 
    {

        private var _-lW:Array;
        private var _-2qP:Dictionary;

        public function AvatarImageDirectionCache(_arg1:Array)
        {
            this._-2qP = new Dictionary();
            this._-lW = _arg1;
        }
        public function dispose():void
        {
            var k:_-037;
            for each (k in this._-2qP)
            {
                if (k)
                {
                    k.dispose();
                };
            };
            this._-2qP = null;
        }
        public function _-3Jt():Array
        {
            return (this._-lW);
        }
        public function _-1x7(_arg1:int):_-037
        {
            var k:String = this._-0dN(_arg1);
            return (this._-2qP[k]);
        }
        public function _-2Ow(_arg1:_-037, _arg2:int):void
        {
            var k:_-037;
            var k:String = this._-0dN(_arg2);
            if (this._-2qP[k])
            {
                k = (this._-2qP[k] as _-037);
                if (k)
                {
                    k.dispose();
                };
            };
            this._-2qP[k] = _arg1;
        }
        private function _-0dN(_arg1:int):String
        {
            var k:AvatarImagePartContainer;
            var k:String = "";
            for each (k in this._-lW)
            {
                k = (k + (k._-4oR(_arg1) + "/"));
            };
            return (k);
        }
        private function _-n3(_arg1:String):void
        {
        }

    }
}//package _-Hq

//------------------------------------------------------------
//_-hT._-0Nj

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Nj implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-0RC

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0RC implements _-58N 
    {

        private var _-41:Boolean;

        public function flush():Boolean
        {
            return (false);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-41 = _arg1.readBoolean();
            return (true);
        }
        public function get _-2pm():Boolean
        {
            return (this._-41);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-0Y0

package _-hT
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Y0 implements _-58N 
    {

        private var _-0Ol:Map;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Ol = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-0Ol.add(_arg1._-2BW(), _arg1.readString());
                k++;
            };
            return (true);
        }
        public function get _-4qf():Map
        {
            return (this._-0Ol);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-128

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-128 implements _-58N 
    {

        private var _-0Kq:int;
        private var _name:String;
        private var _-5AE:String;
        private var _-0o6:String;
        private var _-1bc:String;
        private var _-pj:String;
        private var _-1iQ:Boolean;
        private var _-2bg:int;
        private var _-0MM:int;
        private var _-1Zk:int;
        private var _-Ov:Boolean;
        private var _-0J7:String;
        private var _-52w:Boolean;
        private var _-2D5:Boolean = false;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Kq = _arg1._-2BW();
            this._name = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-0o6 = _arg1.readString();
            this._-1bc = _arg1.readString();
            this._-pj = _arg1.readString();
            this._-1iQ = _arg1.readBoolean();
            this._-2bg = _arg1._-2BW();
            this._-0MM = _arg1._-2BW();
            this._-1Zk = _arg1._-2BW();
            this._-Ov = _arg1.readBoolean();
            this._-0J7 = _arg1.readString();
            this._-52w = _arg1.readBoolean();
            this._-2D5 = _arg1.readBoolean();
            return (true);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get _-af():String
        {
            return (this._-0o6);
        }
        public function get _-31():String
        {
            return (this._-1bc);
        }
        public function get realName():String
        {
            return (this._-pj);
        }
        public function get _-2GJ():Boolean
        {
            return (this._-1iQ);
        }
        public function get _-vG():int
        {
            return (this._-2bg);
        }
        public function get _-2Vb():int
        {
            return (this._-0MM);
        }
        public function get _-193():int
        {
            return (this._-1Zk);
        }
        public function get _-dF():Boolean
        {
            return (this._-Ov);
        }
        public function get _-0ZW():String
        {
            return (this._-0J7);
        }
        public function get _-3pl():Boolean
        {
            return (this._-52w);
        }
        public function get _-41s():Boolean
        {
            return (this._-2D5);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-16b

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-16b implements _-58N 
    {

        protected var _-51T:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-51T = _arg1.readString();
            return (true);
        }
        public function get _-3O7():String
        {
            return (this._-51T);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-2Mo

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Mo implements _-58N 
    {

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            return (true);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-3j2

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3j2 implements _-58N 
    {

        private var _-05-:int;
        private var _-2Dy:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-05- = _arg1._-2BW();
            this._-2Dy = _arg1._-2BW();
            return (true);
        }
        public function get clubLevel():int
        {
            return (this._-05-);
        }
        public function get _-0gt():int
        {
            return (this._-2Dy);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-4Xf

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Xf implements _-58N 
    {

        private var _-3Dw:int;

        public function _-4Xf()
        {
            this._-3Dw = -1;
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            return (true);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-53I

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-53I implements _-58N 
    {

        private var _-b2:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1._-2BW();
            return (true);
        }
        public function get errorCode():int
        {
            return (this._-b2);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-Bm

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-Bm implements _-58N 
    {

        protected var _-j9:Boolean;
        protected var _-1Lk:Boolean;
        protected var _-7S:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-7S = _arg1.readString();
            this._-1Lk = _arg1.readBoolean();
            return (true);
        }
        public function get token():String
        {
            return (this._-7S);
        }
        public function get _-4Hq():Boolean
        {
            return (this._-1Lk);
        }
        public function get _-13-():Boolean
        {
            return (this._-j9);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-hT._-uZ

package _-hT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-uZ implements _-58N 
    {

        private var _-mu:String;

        public function _-uZ()
        {
            this._-mu = "";
        }
        public function flush():Boolean
        {
            this._-mu = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-mu = _arg1.readString();
            return (true);
        }
        public function get _-4Nr():String
        {
            return (this._-mu);
        }

    }
}//package _-hT

//------------------------------------------------------------
//_-Ia._-013

package _-Ia
{
    import _-U2._-2Rz;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-013 implements _-58N 
    {

        private var _-0qE:_-2Rz;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-2Rz(_arg1);
            return (true);
        }
        public function get data():_-2Rz
        {
            return (this._-0qE);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-0nh

package _-Ia
{
    import _-U2._-1Yl;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0nh implements _-58N 
    {

        private var _-3oz:_-1Yl;

        public function flush():Boolean
        {
            this._-3oz = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3oz = new _-1Yl(_arg1);
            return (true);
        }
        public function get quest():_-1Yl
        {
            return (this._-3oz);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-0XR

package _-Ia
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0XR implements _-58N 
    {

        private var _-0Ke:int;
        private var _-15I:int;
        private var _-0ki:int;

        public function flush():Boolean
        {
            this._-0Ke = -1;
            this._-15I = -1;
            this._-0ki = -1;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Ke = _arg1._-2BW();
            this._-15I = _arg1._-2BW();
            this._-0ki = _arg1._-2BW();
            return (true);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get userCount():int
        {
            return (this._-15I);
        }
        public function get _-2iR():int
        {
            return (this._-0ki);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-16L

package _-Ia
{
    import _-U2._-1Yl;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-16L implements _-58N 
    {

        private var _-0vv:Array;

        public function flush():Boolean
        {
            this._-0vv = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-0vv.push(new _-1Yl(_arg1));
                k++;
            };
            return (true);
        }
        public function get quests():Array
        {
            return (this._-0vv);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-1s5

package _-Ia
{
    import _-U2._-1Yl;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1s5 implements _-58N 
    {

        private var _-4oj:_-1Yl;
        private var _-2wf:Boolean;

        public function flush():Boolean
        {
            this._-4oj = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4oj = new _-1Yl(_arg1);
            this._-2wf = _arg1.readBoolean();
            return (true);
        }
        public function get _-5Bf():_-1Yl
        {
            return (this._-4oj);
        }
        public function get _-33p():Boolean
        {
            return (this._-2wf);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-4AG

package _-Ia
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4AG implements _-58N 
    {

        private var _-0dr:String;

        public function flush():Boolean
        {
            this._-0dr = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0dr = _arg1.readString();
            return (true);
        }
        public function get _-WJ():String
        {
            return (this._-0dr);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-4Eo

package _-Ia
{
    import _-U2._-05B;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Eo implements _-58N 
    {

        private var _-2j-:Array;

        public function flush():Boolean
        {
            this._-2j- = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-2j-.push(new _-05B(_arg1));
                k++;
            };
            return (true);
        }
        public function get prizes():Array
        {
            return (this._-2j-);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-4K4

package _-Ia
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4K4 implements _-58N 
    {

        private var _-Tp:Boolean;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-Tp = _arg1.readBoolean();
            return (true);
        }
        public function get expired():Boolean
        {
            return (this._-Tp);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-4KI

package _-Ia
{
    import _-U2._-1Yl;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4KI implements _-58N 
    {

        private var _-3oz:_-1Yl;
        private var _-04i:int;
        private var _-2a2:int;

        public function flush():Boolean
        {
            this._-3oz = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:Boolean = _arg1.readBoolean();
            if (k)
            {
                this._-3oz = new _-1Yl(_arg1);
                this._-04i = _arg1._-2BW();
                this._-2a2 = _arg1._-2BW();
            };
            return (true);
        }
        public function get quest():_-1Yl
        {
            return (this._-3oz);
        }
        public function get _-0Ud():int
        {
            return (this._-04i);
        }
        public function get _-2MG():int
        {
            return (this._-2a2);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-4lV

package _-Ia
{
    import _-U2._-4Lx;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4lV implements _-58N 
    {

        private var _-0qE:_-4Lx;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-4Lx(_arg1);
            return (true);
        }
        public function get data():_-4Lx
        {
            return (this._-0qE);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-Ia._-51v

package _-Ia
{
    import _-U2._-1Yl;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-51v implements _-58N 
    {

        private var _-0vv:Array;
        private var _-9E:Boolean;

        public function flush():Boolean
        {
            this._-0vv = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-0vv.push(new _-1Yl(_arg1));
                k++;
            };
            this._-9E = _arg1.readBoolean();
            return (true);
        }
        public function get quests():Array
        {
            return (this._-0vv);
        }
        public function get _-2Eq():Boolean
        {
            return (this._-9E);
        }

    }
}//package _-Ia

//------------------------------------------------------------
//_-iK._-0dZ

package _-iK
{
    import _-4Aj.*;

    public class _-0dZ implements _-1oF 
    {

        private var _-5K:int;

        public function _-0dZ(_arg1:int)
        {
            this._-5K = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            k.push(this._-5K);
            return (k);
        }

    }
}//package _-iK

//------------------------------------------------------------
//_-iK._-3Qf

package _-iK
{
    import _-4Aj.*;

    public class _-3Qf implements _-1oF 
    {

        private var _-5K:int;

        public function _-3Qf(_arg1:int)
        {
            this._-5K = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            var k:Array = new Array();
            k.push(this._-5K);
            return (k);
        }

    }
}//package _-iK

//------------------------------------------------------------
//_-IS._-TI

package _-IS
{
    import _-1B-.*;

    public interface _-TI extends _-4yI 
    {

        function _-41-(_arg1:int, _arg2:String):void;
        function set visible(_arg1:Boolean):void;

    }
}//package _-IS

//------------------------------------------------------------
//_-jM._-0mQ

package _-jM
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-2np._-1ZV;
    import _-4Wu._-4uR;
    import flash.utils.Timer;
    import flash.display.BitmapData;
    import _-18r.Map;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import _-3PZ._-0hr;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1tU._-20E;
    import _-1tU._-50l;
    import flash.events.Event;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import flash.system.Security;
    import _-1tB.AssetLoaderEvent;
    import flash.utils.getTimer;
    import _-3Ee._-2HN;
    import _-MT._-31h;
    import flash.events.TimerEvent;
    import _-1tB._-VL;
    import flash.display.Bitmap;
    import _-1H6._-4DZ;
    import _-3Ee._-3aS;
    import _-MT._-jL;
    import _-1H6._-z2;
    import _-295._-2kE;

    public class _-0mQ extends _-Px implements _-Km 
    {

        private var _-478:_-4BJ;
        private var _-51u:_-1ZV;
        private var _-0Xx:_-4uR;
        private var _-0Hx:Boolean;
        private var _-1cb:String;
        private var _-05L:String;
        private var _-0S3:int = 0;
        private var _-0qB:int = 0;
        private var _-47V:int = 0;
        private var _-gs:int = 0;
        private var _-3Hb:int = 0;
        private var _-4Yw:Timer;
        private var _-4ti:_-49W;
        private var _-4Zn:BitmapData = null;
        private var _-hV:BitmapData = null;
        private var _-1v:Map;

        public function _-0mQ(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-1v = new Map();
            queueInterface(new IIDHabboCommunicationManager(), this._-35Q);
            queueInterface(new IIDHabboConfigurationManager(), this._-1d3);
            _arg1.events.addEventListener(_-0hr._-4kN, this._-0hu);
            _arg1.events.addEventListener(_-0hr._-1sg, this._-0hu);
        }
        override public function dispose():void
        {
            super.dispose();
            this._-51u = null;
            if (this._-1v != null)
            {
                this._-1v.dispose();
                this._-1v = null;
            };
            if (this._-478 != null)
            {
                release(new IIDHabboCommunicationManager());
                this._-478 = null;
            };
            if (this._-0Xx != null)
            {
                release(new IIDHabboConfigurationManager());
                this._-0Xx = null;
            };
            if (this._-4Zn)
            {
                this._-4Zn.dispose();
                this._-4Zn = null;
            };
            if (this._-hV)
            {
                this._-hV.dispose();
                this._-hV = null;
            };
        }
        private function _-35Q(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-478 = (_arg2 as _-4BJ);
            if (this._-478 == null)
            {
                return;
            };
            this._-51u = this._-478._-4gR(this._-1QP);
            if (this._-51u != null)
            {
                this._-1QP(this._-51u);
            };
        }
        private function _-1QP(_arg1:_-1ZV):void
        {
            if (((disposed) || ((_arg1 == null))))
            {
                return;
            };
            this._-51u = _arg1;
            this._-51u.addMessageEvent(new _-20E(this._-24x));
            this._-51u.addMessageEvent(new _-50l(this._-qw));
        }
        private function _-1d3(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0Xx = (_arg2 as _-4uR);
            if (this._-0Xx == null)
            {
                return;
            };
        }
        private function _-0hu(_arg1:Event):void
        {
            switch (_arg1.type)
            {
                case _-0hr.INIT:
                    return;
                case _-0hr._-1WR:
                    return;
                case _-0hr._-1Nb:
                    return;
                case _-0hr._-0xg:
                    return;
                case _-0hr._-4kN:
                    return;
                case _-0hr._-1sg:
                    this.init();
                    return;
            };
        }
        private function init():void
        {
            var k:URLRequest;
            var k:_-4Rz;
            this._-0Hx = (this._-0Xx.getKey("interstitial.enabled", "false") == "true");
            this._-0S3 = int(this._-0Xx.getKey("interstitial.interval", "30000"));
            this._-47V = int(this._-0Xx.getKey("interstitial.show.time", "5000"));
            this._-gs = int(this._-0Xx.getKey("interstitial.max.displays.flash", "-1"));
            var k:String = this._-0Xx.getKey("ads.domain");
            if (k != "")
            {
                Security.loadPolicyFile((("http://" + k) + "/crossdomain.xml"));
            };
            var k:String = this._-0Xx.getKey("billboard.adwarning.left.url");
            var k:String = this._-0Xx.getKey("billboard.adwarning.right.url");
            var k:String = this._-0Xx.getKey("image.library.url");
            if (((!((k == ""))) && (!((k == "")))))
            {
                k = (k + k);
                k = (k + k);
                k = new URLRequest(k);
                k = assets.loadAssetFromFile("adWarningL", k, "image/png");
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-Xf);
                k = new URLRequest(k);
                k = assets.loadAssetFromFile("adWarningRight", k, "image/png");
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-7h);
            };
        }
        public function _-47a():Boolean
        {
            if (!this._-0Hx)
            {
                return (false);
            };
            if (((!((this._-4Yw == null))) && (this._-4Yw.running)))
            {
                this._-4Yw.reset();
                return (false);
            };
            if (this._-0qB == 0)
            {
                this._-0qB = getTimer();
                return (false);
            };
            if ((((this._-gs > 0)) && ((this._-3Hb >= this._-gs))))
            {
                return (false);
            };
            var k:int = (getTimer() - this._-0qB);
            if (k > this._-0S3)
            {
                this._-3Hb++;
                this._-51u.send(new _-2HN());
                return (true);
            };
            return (false);
        }
        private function _-24x(_arg1:_-20E):void
        {
            var k:String;
            var k:URLRequest;
            var k:_-4Rz;
            var k:_-31h = _arg1._-3-5();
            this._-1cb = k.imageUrl;
            this._-05L = k.clickUrl;
            this._-0qB = getTimer();
            if (this._-1cb != "")
            {
                k = this._-1cb;
                if (assets.hasAsset(k))
                {
                    assets.removeAsset(assets.getAssetByName(k));
                };
                if (this._-4Yw == null)
                {
                    this._-4Yw = new Timer(this._-47V, 1);
                    this._-4Yw.addEventListener(TimerEvent.TIMER_COMPLETE, this._-22U);
                };
                if (this._-4Yw.running)
                {
                    this._-4Yw.reset();
                };
                this._-4Yw.start();
                k = new URLRequest(this._-1cb);
                k = assets.loadAssetFromFile(k, k, "image/jpeg");
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-4kY);
                k.addEventListener(AssetLoaderEvent._-4ar, this._-4kY);
            }
            else
            {
                this._-1lp();
            };
        }
        private function _-4kY(_arg1:AssetLoaderEvent):void
        {
            var _local2:_-4Rz;
            var k:_-VL;
            var k:Bitmap;
            if (_arg1 == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case AssetLoaderEvent._-1Tr:
                    _local2 = (_arg1.target as _-4Rz);
                    if (_local2 != null)
                    {
                        k = _local2._-48Y;
                        if (k != null)
                        {
                            k = (k.content as Bitmap);
                            this._-XE(k);
                            return;
                        };
                    };
                    this._-1lp();
                    return;
                case AssetLoaderEvent._-4ar:
                    this._-1lp();
                    return;
            };
        }
        private function _-XE(_arg1:Bitmap):void
        {
            if (((!((this._-4Yw == null))) && (!(this._-4Yw.running))))
            {
                return;
            };
            if (this._-0pL(_arg1))
            {
                events.dispatchEvent(new _-4DZ(_-4DZ._-1Ss, _arg1.bitmapData, this._-05L));
                this._-0qB = getTimer();
            }
            else
            {
                this._-1lp();
            };
        }
        private function _-22U(_arg1:TimerEvent):void
        {
            this._-1lp();
        }
        private function _-1lp():void
        {
            if (((!((this._-4Yw == null))) && (this._-4Yw.running)))
            {
                this._-4Yw.reset();
            };
            if (events != null)
            {
                events.dispatchEvent(new _-4DZ(_-4DZ._-UG));
            };
        }
        public function _-2iP(_arg1:int, _arg2:int):void
        {
            this._-4ti = new _-49W(_arg1, _arg2);
            this._-51u.send(new _-3aS());
        }
        private function _-qw(_arg1:_-50l):void
        {
            var k:String;
            var k:URLRequest;
            var k:_-4Rz;
            var k:_-jL = _arg1._-3-5();
            if (((((!((this._-4ti == null))) && (!((k.imageUrl == ""))))) && (!((k.clickUrl == "")))))
            {
                k = k.imageUrl;
                if (assets.hasAsset(k))
                {
                    assets.removeAsset(assets.getAssetByName(k));
                };
                this._-4ti = new _-49W(this._-4ti.roomId, this._-4ti.roomCategory, k.imageUrl, k.clickUrl);
                k = new URLRequest(k.imageUrl);
                k = assets.loadAssetFromFile(k, k, "image/jpeg");
                k.addEventListener(AssetLoaderEvent._-1Tr, this._-2Xm);
            }
            else
            {
                this._-4ti = null;
            };
        }
        private function _-2Xm(_arg1:AssetLoaderEvent):void
        {
            var k:BitmapData;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            var k:Bitmap = (k._-48Y.content as Bitmap);
            if (((this._-0pL(k)) && (!((this._-4ti == null)))))
            {
                k = this._-32n(k.bitmapData);
                events.dispatchEvent(new _-z2(_-z2._-0X7, this._-4ti.roomId, this._-4ti.roomCategory, k, k.assetName, this._-4ti._-eO, this._-4Zn, this._-hV));
                this._-4ti = null;
            };
        }
        private function _-Xf(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            var k:Bitmap = (k._-48Y.content as Bitmap);
            if (k != null)
            {
                this._-4Zn = this._-32n(k.bitmapData);
            };
        }
        private function _-7h(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            var k:Bitmap = (k._-48Y.content as Bitmap);
            if (k != null)
            {
                this._-hV = this._-32n(k.bitmapData);
            };
        }
        private function _-32n(_arg1:BitmapData):BitmapData
        {
            var k:int;
            var k:uint;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:BitmapData = new BitmapData(_arg1.width, _arg1.height, true, 0);
            var k:int;
            while (k < k.height)
            {
                k = 0;
                while (k < k.width)
                {
                    k = _arg1.getPixel32(k, k);
                    if (k != 0xFFFFFFFF)
                    {
                        k.setPixel32(k, k, k);
                    };
                    k++;
                };
                k++;
            };
            return (k);
        }
        private function _-0pL(_arg1:Bitmap):Boolean
        {
            if (((!((_arg1 == null))) && ((((_arg1.width > 1)) || ((_arg1.height > 1))))))
            {
                return (true);
            };
            return (false);
        }
        public function _-2RW(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:String):void
        {
            var k:_-2kE;
            var k:BitmapData;
            var k:_-49W;
            if ((((_arg5 == null)) || ((_arg5.length == 0))))
            {
                return;
            };
            var k:String = _arg5;
            if (assets.hasAsset(k))
            {
                k = assets.getAssetByName(k);
                if (k != null)
                {
                    k = (k.content as BitmapData);
                    if (k != null)
                    {
                        this._-1aC(k.clone(), _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
                    };
                };
                return;
            };
            var k:Array = this._-1v.getValue(k);
            if (k == null)
            {
                k = new Array();
                this._-1v.add(k, k);
            };
            if (k.length > 0)
            {
                for each (k in k)
                {
                    if ((((((((k.roomId == _arg1)) && ((k.roomCategory == _arg2)))) && ((k._-mx == _arg3)))) && ((k._-4hA == _arg4))))
                    {
                        return;
                    };
                };
            };
            k.push(new _-49W(_arg1, _arg2, _arg5, _arg6, _arg3, _arg4));
            _-Nb.log(("trying to load billboard from url " + k));
            var k:URLRequest = new URLRequest(k);
            var k:_-4Rz = assets.loadAssetFromFile(k, k, "image/png");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-428);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-45);
        }
        private function _-428(_arg1:AssetLoaderEvent):void
        {
            var k:BitmapData;
            var k:_-49W;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            var k:Bitmap = (k._-48Y.content as Bitmap);
            var k:Array = this._-1v.remove(k.assetName);
            if ((((k == null)) || ((k.length == 0))))
            {
                return;
            };
            _-Nb.log(("billboard image loaded from url " + k.assetName));
            if (this._-0pL(k))
            {
                k = k.bitmapData;
                if (k != null)
                {
                    for each (k in k)
                    {
                        this._-1aC(k.clone(), k.roomId, k.roomCategory, k._-mx, k._-4hA, k._-3gE, k._-eO);
                    };
                };
            };
        }
        private function _-1aC(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:String, _arg7:String):void
        {
            if (events != null)
            {
                events.dispatchEvent(new _-z2(_-z2._-3gk, _arg2, _arg3, _arg1, _arg6, _arg7, null, null, _arg4, _arg5));
            };
        }
        private function _-45(_arg1:AssetLoaderEvent):void
        {
            var k:_-49W;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            var k:Array = this._-1v.remove(k.assetName);
            if ((((k == null)) || ((k.length == 0))))
            {
                return;
            };
            for each (k in k)
            {
                _-Nb.log((("failed to load billboard image from url '" + k.assetName) + "'"));
                this._-1aC(null, k.roomId, k.roomCategory, k._-mx, k._-4hA, k._-3gE, k._-eO);
            };
        }

    }
}//package _-jM

//------------------------------------------------------------
//_-jM._-49W

package _-jM
{
    public class _-49W 
    {

        private var _-1Rt:int;
        private var _-0wA:int;
        private var _-44i:int;
        private var _-1pz:int;
        private var _-3fw:String;
        private var _-4L-:String;

        public function _-49W(_arg1:int, _arg2:int, _arg3:String=null, _arg4:String=null, _arg5:int=-1, _arg6:int=-1)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
            this._-44i = _arg5;
            this._-1pz = _arg6;
            this._-3fw = _arg3;
            this._-4L- = _arg4;
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-4hA():int
        {
            return (this._-1pz);
        }
        public function get _-3gE():String
        {
            return (this._-3fw);
        }
        public function get _-eO():String
        {
            return (this._-4L-);
        }

    }
}//package _-jM

//------------------------------------------------------------
//_-jM._-Km

package _-jM
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-Km extends _-4yI 
    {

        function get events():IEventDispatcher;
        function _-47a():Boolean;
        function _-2iP(_arg1:int, _arg2:int):void;
        function _-2RW(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:String):void;

    }
}//package _-jM

//------------------------------------------------------------
//_-lL._-0CH

package _-lL
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0CH implements _-58N 
    {

        private var _-0qE:Array;

        public function flush():Boolean
        {
            this._-0qE = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:String;
            var k:int;
            var k:int;
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1.readString();
                k = _arg1._-2BW();
                k = 0;
                while (k < k)
                {
                    this._-0qE.push(new _-2hT(k, _arg1));
                    k++;
                };
                k++;
            };
            return (true);
        }
        public function get data():Array
        {
            return (this._-0qE);
        }

    }
}//package _-lL

//------------------------------------------------------------
//_-lL._-2hT

package _-lL
{
    import _-4Aj._-0s1;

    public class _-2hT 
    {

        private var _-5Dg:String;
        private var _-2eh:int;

        public function _-2hT(_arg1:String, _arg2:_-0s1)
        {
            this._-5Dg = (("ACH_" + _arg1) + _arg2._-2BW());
            this._-2eh = _arg2._-2BW();
        }
        public function get badgeId():String
        {
            return (this._-5Dg);
        }
        public function get limit():int
        {
            return (this._-2eh);
        }

    }
}//package _-lL

//------------------------------------------------------------
//_-lL._-49y

package _-lL
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-49y implements _-58N 
    {

        private var _-5Dg:int;
        private var _-2gP:String;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-5Dg = _arg1._-2BW();
            this._-2gP = _arg1.readString();
            return (true);
        }
        public function get badgeId():int
        {
            return (this._-5Dg);
        }
        public function get _-3T():String
        {
            return (this._-2gP);
        }

    }
}//package _-lL

//------------------------------------------------------------
//_-lL._-50w

package _-lL
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-50w implements _-58N 
    {

        private var _-We:Array;
        private var _-33M:Array;
        private var _-3E4:Map;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            var k:int;
            this._-We = new Array();
            this._-3E4 = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                this._-3E4.add(k, k);
                this._-We.push(k);
                k++;
            };
            this._-33M = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                this._-33M.push(k);
                k++;
            };
            return (true);
        }
        public function _-2-K(_arg1:String):int
        {
            return (this._-3E4.getValue(_arg1));
        }
        public function _-0Dg():Array
        {
            return (this._-We);
        }
        public function _-35O():Array
        {
            return (this._-33M);
        }

    }
}//package _-lL

//------------------------------------------------------------
//_-lL._-Ep

package _-lL
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-Ep implements _-58N 
    {

        private var _-3M7:String;
        private var _-3Zc:Boolean;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3M7 = _arg1.readString();
            this._-3Zc = _arg1.readBoolean();
            return (true);
        }
        public function get _-547():String
        {
            return (this._-3M7);
        }
        public function get _-2sH():Boolean
        {
            return (this._-3Zc);
        }

    }
}//package _-lL

//------------------------------------------------------------
//_-Lp._-3sQ

package _-Lp
{
    import _-1B-.*;
    import _-4Aj.*;

    public class _-3sQ implements _-1oF, _-1zZ 
    {

        private var _-4Nw:Array;

        public function _-3sQ()
        {
            this._-4Nw = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-4Nw);
        }
        public function dispose():void
        {
            this._-4Nw = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-4Nw == null));
        }

    }
}//package _-Lp

//------------------------------------------------------------
//_-Mq._-0GE

package _-Mq
{
    import _-4Aj.*;

    public class _-0GE implements _-1oF 
    {

        private var _-44i:int;

        public function _-0GE(_arg1:int)
        {
            this._-44i = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-0ot

package _-Mq
{
    import _-4Aj.*;

    public class _-0ot implements _-1oF 
    {

        private var _-44i:int;

        public function _-0ot(_arg1:int)
        {
            this._-44i = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-0vT

package _-Mq
{
    import _-4Aj.*;

    public class _-0vT implements _-1oF 
    {

        private var _-44i:int;
        private var _-0hK:String;

        public function _-0vT(_arg1:int, _arg2:String)
        {
            this._-44i = _arg1;
            this._-0hK = _arg2;
        }
        public function _-43Z():Array
        {
            return ([this._-44i, this._-0hK]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-1aj

package _-Mq
{
    import _-4Aj.*;

    public class _-1aj implements _-1oF 
    {

        private var _-8k:int;
        private var _location:String;

        public function _-1aj(_arg1:int, _arg2:String)
        {
            this._-8k = _arg1;
            this._location = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-8k, this._location]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-1Dm

package _-Mq
{
    import _-4Aj.*;

    public class _-1Dm implements _-1oF 
    {

        private var _-1Rh:int;

        public function _-1Dm(_arg1:int)
        {
            this._-1Rh = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-1Rh]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-1NY

package _-Mq
{
    import _-4Aj.*;

    public class _-1NY implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-1NY(_arg1:int=0, _arg2:int=0)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
        }
        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-1pr

package _-Mq
{
    import _-4Aj.*;

    public class _-1pr implements _-1oF 
    {

        private var _-44i:int;

        public function _-1pr(_arg1:int)
        {
            this._-44i = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-30I

package _-Mq
{
    import _-4Aj.*;

    public class _-30I implements _-1oF 
    {

        private var _-44i:int;

        public function _-30I(_arg1:int)
        {
            this._-44i = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-32c

package _-Mq
{
    import _-4Aj.*;

    public class _-32c implements _-1oF 
    {

        private var _-1Rh:int;

        public function _-32c(_arg1:int)
        {
            this._-1Rh = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-1Rh]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-3VN

package _-Mq
{
    import _-4Aj.*;

    public class _-3VN implements _-1oF 
    {

        private var _-1Rh:int;
        private var _name:String;

        public function _-3VN(_arg1:int, _arg2:String)
        {
            this._-1Rh = _arg1;
            this._name = _arg2;
        }
        public function _-43Z():Array
        {
            return ([this._-1Rh, this._name]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-405

package _-Mq
{
    import _-4Aj.*;

    public class _-405 implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-2a:int;
        private var _-2ib:int;
        private var _-4hp:String;
        private var _-2cm:int;
        private var _-4qv:Boolean;

        public function _-405(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:Boolean, _arg6:int=0, _arg7:int=0)
        {
            this._-1Rt = _arg6;
            this._-0wA = _arg7;
            this._-2a = _arg1;
            this._-2ib = _arg2;
            this._-4hp = _arg3;
            this._-2cm = _arg4;
            this._-4qv = _arg5;
        }
        public function _-43Z():Array
        {
            return ([this._-2a, this._-2ib, this._-4hp, this._-2cm, this._-4qv]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-4N8

package _-Mq
{
    import _-4Aj.*;

    public class _-4N8 implements _-1oF 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-4N8(_arg1:int=0, _arg2:int=0)
        {
            this._-1Rt = _arg1;
            this._-0wA = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-4z0

package _-Mq
{
    import _-4Aj.*;

    public class _-4z0 implements _-1oF 
    {

        private var _-8k:int;
        private var _location:String;
        private var _-2md:String;
        private var _-22L:String;

        public function _-4z0(_arg1:int, _arg2:String, _arg3:String, _arg4:String)
        {
            this._-8k = _arg1;
            this._location = _arg2;
            this._-2md = _arg4;
            this._-22L = _arg3;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-8k, this._location, this._-22L, this._-2md]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-4Zm

package _-Mq
{
    import _-4Aj.*;

    public class _-4Zm implements _-1oF 
    {

        private var _-44i:int;

        public function _-4Zm(_arg1:int)
        {
            this._-44i = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-50t

package _-Mq
{
    import _-4Aj.*;

    public class _-50t implements _-1oF 
    {

        private var _-44i:int;

        public function _-50t(_arg1:int)
        {
            this._-44i = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-lv

package _-Mq
{
    import _-4Aj.*;

    public class _-lv implements _-1oF 
    {

        private var _-1Rh:int;
        private var _-dL:int;
        private var _-0Ro:int;
        private var _-2vx:int;

        public function _-lv(_arg1:int, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-1Rh = _arg1;
            this._-dL = _arg2;
            this._-0Ro = _arg3;
            this._-2vx = _arg4;
        }
        public function _-43Z():Array
        {
            return ([this._-1Rh, this._-dL, this._-0Ro, this._-2vx]);
        }
        public function dispose():void
        {
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-MS

package _-Mq
{
    import _-4Aj.*;

    public class _-MS implements _-1oF 
    {

        private var _-44i:int;
        private var _-4qc:int = 0;
        private var _-1Rt:int;
        private var _-0wA:int = 0;

        public function _-MS(_arg1:int, _arg2:int=0, _arg3:int=0, _arg4:int=0)
        {
            this._-44i = _arg1;
            this._-4qc = _arg2;
            this._-1Rt = _arg3;
            this._-0wA = _arg4;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i, this._-4qc]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-qm

package _-Mq
{
    import _-4Aj.*;

    public class _-qm implements _-1oF 
    {

        private var _-44i:int;
        private var _-0qe:int;

        public function _-qm(_arg1:int, _arg2:int)
        {
            this._-44i = _arg1;
            this._-0qe = _arg2;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i, this._-0qe]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-Mq._-Rd

package _-Mq
{
    import _-4Aj.*;

    public class _-Rd implements _-1oF 
    {

        private var _-44i:int;

        public function _-Rd(_arg1:int)
        {
            this._-44i = _arg1;
        }
        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([this._-44i]);
        }

    }
}//package _-Mq

//------------------------------------------------------------
//_-MT._-31h

package _-MT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-31h implements _-58N 
    {

        private var _-4Jn:String;
        private var _-03A:String;

        public function get imageUrl():String
        {
            return (this._-4Jn);
        }
        public function get clickUrl():String
        {
            return (this._-03A);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4Jn = _arg1.readString();
            this._-03A = _arg1.readString();
            return (true);
        }

    }
}//package _-MT

//------------------------------------------------------------
//_-MT._-4uy

package _-MT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4uy implements _-58N 
    {

        private var _-b2:int = 0;
        private var _-4jE:String;

        public function get errorCode():int
        {
            return (this._-b2);
        }
        public function get _-4mA():String
        {
            return (this._-4jE);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b2 = _arg1._-2BW();
            this._-4jE = _arg1.readString();
            return (true);
        }

    }
}//package _-MT

//------------------------------------------------------------
//_-MT._-jL

package _-MT
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-jL implements _-58N 
    {

        private var _-4Jn:String;
        private var _-03A:String;

        public function get imageUrl():String
        {
            return (this._-4Jn);
        }
        public function get clickUrl():String
        {
            return (this._-03A);
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4Jn = _arg1.readString();
            this._-03A = _arg1.readString();
            return (true);
        }

    }
}//package _-MT

//------------------------------------------------------------
//_-mv._-0Bp

package _-mv
{
    public interface _-0Bp 
    {

        function play(_arg1:Number=0):Boolean;
        function stop():Boolean;
        function set _-04l(_arg1:Number):void;
        function set position(_arg1:Number):void;
        function get _-04l():Number;
        function get position():Number;
        function get length():Number;
        function get ready():Boolean;
        function get finished():Boolean;
        function get _-1V():Number;
        function set _-1V(_arg1:Number):void;
        function get _-1pH():Number;
        function set _-1pH(_arg1:Number):void;

    }
}//package _-mv

//------------------------------------------------------------
//_-mv._-2dU

package _-mv
{
    import flash.media.Sound;
    import flash.utils.ByteArray;
    import flash.events.SampleDataEvent;

    public class _-2dU extends else  
    {

        private var _-4Lt:Number;
        private var _-2ds:Sound;
        private var _-55b:ByteArray;
        private var _-2Yw:int;
        private var _-4vt:Number;

        public function _-2dU(_arg1:Sound, _arg2:Number=1)
        {
            super(_arg1);
            this._-4Lt = _arg2;
            this._-1IL();
        }
        public function set _-379(_arg1:Number):void
        {
            this._-4Lt = _arg1;
        }
        public function get _-379():Number
        {
            return (this._-4Lt);
        }
        public function _-F2(_arg1:Sound):void
        {
            _-3iO = _arg1;
            this._-1IL();
        }
        override public function play(_arg1:Number=0):Boolean
        {
            _-0n(false);
            this._-2ds = new Sound();
            this._-2ds.addEventListener(SampleDataEvent.SAMPLE_DATA, this._-2se);
            this._-4vt = 0;
            _-0QZ(this._-2ds.play());
            this._-04l = _-04l;
            return (true);
        }
        override public function stop():Boolean
        {
            if (_-u1() != null)
            {
                _-u1().stop();
                if (this._-2ds != null)
                {
                    this._-2ds.removeEventListener(SampleDataEvent.SAMPLE_DATA, this._-2se);
                };
                this._-2ds = null;
            };
            return (true);
        }
        private function _-1IL():void
        {
            var k:int;
            var k:Number;
            var k:ByteArray = new ByteArray();
            _-3iO.extract(k, int((_-3iO.length * 44.1)), 0);
            this._-55b = new ByteArray();
            this._-2Yw = (k.length / 8);
            k.position = 0;
            k = 0;
            while (k < this._-2Yw)
            {
                k = k.readFloat();
                k.readFloat();
                this._-55b.writeFloat(k);
                k++;
            };
        }
        private function _-2se(_arg1:SampleDataEvent):void
        {
            var k:Number;
            var k:int;
            while ((((k < 0x0800)) && ((this._-4vt < this._-2Yw))))
            {
                this._-55b.position = (int(this._-4vt) * 4);
                k = this._-55b.readFloat();
                _arg1.data.writeFloat(k);
                _arg1.data.writeFloat(k);
                k++;
                this._-4vt = (this._-4vt + this._-4Lt);
            };
        }

    }
}//package _-mv

//------------------------------------------------------------
//_-mv._-2rt

package _-mv
{
    public class _-2rt 
    {

        public static const _-4w3:int = 0;
        public static const _-3-n:int = 1;
        public static const _-1Ei:int = 2;
        public static const _-kc:int = 3;
        public static const _-1Vc:int = 4;

    }
}//package _-mv

//------------------------------------------------------------
//_-mv._-2TN

package _-mv
{
    public class _-2TN 
    {

        public static const _-2OE:String = "HBST_call_for_help";
        public static const _-La:String = "HBST_purchase";
        public static const _-FE:String = "HBST_pixels";
        public static const _-0DF:String = "HBST_message_sent";
        public static const _-3ic:String = "HBST_message_received";
        public static const _-5DY:String = "HBST_guide_invitation";
        public static const _-SH:String = "HBST_guide_request";
        public static const _-iI:String = "HBST_respect";
        public static const _-0mY:String = "HBSTG_snowwar_get_snowball";
        public static const GAMES_SW_HIT1:String = "HBSTG_snowwar_hit1";
        public static const GAMES_SW_HIT2:String = "HBSTG_snowwar_hit2";
        public static const GAMES_SW_HIT3:String = "HBSTG_snowwar_hit3";
        public static const _-104:String = "HBSTG_snowwar_make_snowball";
        public static const _-II:String = "HBSTG_snowwar_miss";
        public static const _-0KA:String = "HBSTG_snowwar_throw";
        public static const _-40M:String = "HBSTG_snowwar_walk";
        public static const _-4VR:String = "HBSTG_ig_countdown";
        public static const _-4lI:String = "HBSTG_ig_winning";
        public static const _-4CY:String = "HBSTG_ig_losing";
        public static const _-4c6:String = "FURNITURE_cuckoo_clock";

    }
}//package _-mv

//------------------------------------------------------------
//_-mv._-486

package _-mv
{
    public interface _-486 
    {

        function get loaded():Boolean;
        function get id():int;
        function get _-3cX():int;
        function get length():int;
        function get name():String;
        function get creator():String;
        function get _-3MA():String;
        function get _-340():_-0Bp;

    }
}//package _-mv

//------------------------------------------------------------
//_-mv._-4vP

package _-mv
{
    import _-1B-.*;

    public interface _-4vP extends _-1zZ 
    {

        function get priority():int;
        function get length():int;
        function get _-26S():int;
        function get _-1HS():int;
        function get _-3uA():Boolean;
        function _-1mU(_arg1:int):_-486;
        function _-0NS():void;

    }
}//package _-mv

//------------------------------------------------------------
//_-mv._-54I

package _-mv
{
    import flash.events.IEventDispatcher;
    import _-1B-.*;

    public interface _-54I extends _-4yI 
    {

        function set _-1hL(_arg1:Number):void;
        function set _-0nr(_arg1:Number):void;
        function set _-46y(_arg1:Number):void;
        function get _-1hL():Number;
        function get _-0nr():Number;
        function get _-46y():Number;
        function get _-2qH():_-d4;
        function _-lx(_arg1:String, _arg2:int=0):void;
        function _-4ls(_arg1:String):void;
        function _-1O(_arg1:String, _arg2:Number):void;
        function _-4yO(_arg1:int, _arg2:String):_-0Bp;
        function mute(_arg1:Boolean):void;
        function _-5BA(_arg1:Number, _arg2:Number, _arg3:Number):void;
        function get events():IEventDispatcher;

    }
}//package _-mv

//------------------------------------------------------------
//_-mv._-d4

package _-mv
{
    import flash.events.IEventDispatcher;

    public interface _-d4 
    {

        function _-2EL(_arg1:int=-1):_-4vP;
        function _-Xd():int;
        function _-40e(_arg1:int):int;
        function _-4cC(_arg1:int):int;
        function _-rR(_arg1:int):_-486;
        function _-2cx(_arg1:int):int;
        function _-3T9(_arg1:int, _arg2:int, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0.5, _arg6:Number=0.5):Boolean;
        function stop(_arg1:int):void;
        function _-4y0(_arg1:int):void;
        function _-3nW(_arg1:int):void;
        function _-Ci():void;
        function _-31l(_arg1:int):void;
        function _-39N(_arg1:Number):void;
        function _-0O5(_arg1:Array):void;
        function get _-34X():Array;
        function get events():IEventDispatcher;
        function dispose():void;

    }
}//package _-mv

//------------------------------------------------------------
//_-mv.else 

package _-mv
{
    import flash.media.SoundChannel;
    import flash.media.Sound;
    import flash.events.Event;
    import flash.media.SoundTransform;

    public class else  implements _-0Bp 
    {

        private var _-Ai:SoundChannel = null;
        private var _-166:Boolean;
        private var _-494:Number;
        private var _-2Qd:int;
        protected var _-3iO:Sound = null;

        public function else (_arg1:Sound, _arg2:int=0)
        {
            this._-3iO = _arg1;
            this._-3iO.addEventListener(Event.COMPLETE, this._-4eZ);
            this._-494 = 1;
            this._-166 = false;
            this._-2Qd = _arg2;
        }
        protected function _-5Ct():Sound
        {
            return (this._-3iO);
        }
        protected function _-u1():SoundChannel
        {
            return (this._-Ai);
        }
        protected function _-0QZ(_arg1:SoundChannel):void
        {
            this._-Ai = _arg1;
        }
        protected function _-0n(_arg1:Boolean):void
        {
            this._-166 = _arg1;
        }
        public function dispose():void
        {
            this.stop();
            this._-Ai = null;
            this._-3iO = null;
        }
        public function play(_arg1:Number=0):Boolean
        {
            this._-166 = false;
            this._-Ai = this._-3iO.play(0, this._-2Qd);
            this._-04l = this._-494;
            return (true);
        }
        public function stop():Boolean
        {
            if (this._-Ai)
            {
                this._-Ai.stop();
            };
            return (true);
        }
        public function get _-04l():Number
        {
            return (this._-494);
        }
        public function set _-04l(_arg1:Number):void
        {
            this._-494 = _arg1;
            if (this._-Ai != null)
            {
                this._-Ai.soundTransform = new SoundTransform(this._-494);
            };
        }
        public function get position():Number
        {
            return (this._-Ai.position);
        }
        public function set position(_arg1:Number):void
        {
        }
        public function get length():Number
        {
            return (this._-3iO.length);
        }
        public function get ready():Boolean
        {
            return (!(this._-3iO.isBuffering));
        }
        public function get finished():Boolean
        {
            return (!(this._-166));
        }
        public function get _-1V():Number
        {
            return (0);
        }
        public function set _-1V(_arg1:Number):void
        {
        }
        public function get _-1pH():Number
        {
            return (0);
        }
        public function set _-1pH(_arg1:Number):void
        {
        }
        private function _-4eZ(_arg1:Event):void
        {
            this._-166 = true;
        }

    }
}//package _-mv

//------------------------------------------------------------
//_-mv.HabboSoundManagerFlash10

package _-mv
{
    import _-1B-._-Px;
    import _-4Wu._-4uR;
    import _-3gx._-4BJ;
    import _-2np._-1ZV;
    import _-293._-5-S;
    import _-om._-3MJ;
    import _-18r.Map;
    import _-XY.TraxSequencer;
    import _-1-2.TraxSampleManager;
    import _-359._-0mj;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboNotifications;
    import _-1ZZ._-2sw;
    import _-1B-._-5CE;
    import _-295._-39L;
    import _-59g._-10x;
    import flash.media.Sound;
    import _-295._-2kE;
    import _-XY.TraxData;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-1HK._-4Pw;
    import _-59Q._-7v;
    import _-2vq._-5N;
    import _-4Aj._-0tL;
    import _-1-2.HabboMusicController;
    import flash.events.Event;
    import _-2vq._-1LI;
    import _-45A._-2xL;
    import _-1B-.*;

    public class HabboSoundManagerFlash10 extends _-Px implements _-54I, _-0gI 
    {

        private var _-3fD:_-4uR;
        private var _-0ud:_-4BJ;
        private var _-51u:_-1ZV;
        private var _-0tK:_-5-S;
        private var _-49A:_-3MJ;
        private var _-17r:Number = 1;
        private var _-0Kj:Number = 1;
        private var _-fi:Number = 1;
        private var _-u2:Map;
        private var _-1QM:int = -1;
        private var _-2UG:TraxSequencer;
        private var _-3ne:_-d4;
        private var _-4Vg:TraxSampleManager;
        private var _-2EU:_-0mj;
        private var _-2DN:Map;
        private var _-2DU:Boolean = false;

        public function HabboSoundManagerFlash10(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null, _arg4:Boolean=true)
        {
            this._-u2 = new Map();
            this._-2DN = new Map();
            super(_arg1, _arg2, _arg3);
            if (_arg4)
            {
                queueInterface(new IIDHabboConfigurationManager(), this._-1dY);
                queueInterface(new IIDHabboCommunicationManager(), this._-35Q);
                queueInterface(new IIDRoomEngine(), this._-2XA);
                queueInterface(new IIDHabboNotifications(), this._-58Y);
            };
            events.addEventListener(_-2sw._-3Il, this._-22A);
            registerUpdateReceiver(this, 1);
            _-Nb.log("Sound manager 10 init");
        }
        public function get _-2qH():_-d4
        {
            return (this._-3ne);
        }
        public function get _-1hL():Number
        {
            return (this._-17r);
        }
        public function set _-1hL(_arg1:Number):void
        {
            this._-0UM(_arg1, this._-fi, this._-0Kj);
            this._-4tp();
        }
        public function get _-0nr():Number
        {
            return (this._-0Kj);
        }
        public function set _-0nr(_arg1:Number):void
        {
            this._-0UM(this._-17r, this._-fi, _arg1);
            this._-4tp();
        }
        public function get _-46y():Number
        {
            return (this._-fi);
        }
        public function set _-46y(_arg1:Number):void
        {
            this._-0UM(this._-17r, _arg1, this._-0Kj);
            this._-4tp();
        }
        public function _-5BA(_arg1:Number, _arg2:Number, _arg3:Number):void
        {
            this._-0UM(_arg1, _arg2, _arg3);
        }
        override public function dispose():void
        {
            this._-51u = null;
            if (this._-3ne)
            {
                this._-3ne.dispose();
                this._-3ne = null;
            };
            if (this._-4Vg)
            {
                this._-4Vg.dispose();
                this._-4Vg = null;
            };
            if (this._-u2)
            {
                this._-u2.dispose();
                this._-u2 = null;
            };
            if (this._-2EU)
            {
                this._-2EU.dispose();
                this._-2EU = null;
            };
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-3fD)
            {
                this._-3fD.release(new IIDHabboConfigurationManager());
                this._-3fD = null;
            };
            if (this._-0tK)
            {
                this._-0tK.events.removeEventListener(_-10x._-1oT, this._-07B);
                this._-0tK.events.removeEventListener(_-10x._-1JE, this._-07B);
                this._-0tK.release(new IIDRoomEngine());
                this._-0tK = null;
            };
            if (this._-49A)
            {
                this._-49A.release(new IIDHabboNotifications());
                this._-49A = null;
            };
            super.dispose();
        }
        public function _-lx(_arg1:String, _arg2:int=0):void
        {
            var k:Sound;
            var k:_-0Bp = this._-u2.getValue(_arg1);
            if (k == null)
            {
                k = this._-w-(_arg1);
                if (k != null)
                {
                    k = new else (k, _arg2);
                    this._-u2.add(_arg1, _-0Bp(k));
                };
            };
            k._-04l = this._-17r;
            k.play();
        }
        public function _-1O(_arg1:String, _arg2:Number):void
        {
            var k:Sound = this._-w-(_arg1);
            if (k == null)
            {
                return;
            };
            var k:_-0Bp = new _-2dU(k, _arg2);
            k._-04l = this._-17r;
            k.play();
        }
        public function _-4ls(_arg1:String):void
        {
            var k:_-0Bp = this._-u2.getValue(_arg1);
            if (k != null)
            {
                k.stop();
            };
        }
        public function get _-3Xo():int
        {
            return (this._-1QM);
        }
        private function _-1oy():void
        {
            this._-1QM = -1;
            this._-2UG = null;
        }
        private function _-w-(_arg1:String):Sound
        {
            var k:String = "";
            switch (_arg1)
            {
                case _-2TN._-2OE:
                    k = "sound_call_for_help";
                    break;
                case _-2TN._-5DY:
                    k = "sound_guide_received_invitation";
                    break;
                case _-2TN._-SH:
                    k = "sound_guide_help_requested";
                    break;
                case _-2TN._-3ic:
                    k = "sound_console_new_message";
                    break;
                case _-2TN._-0DF:
                    k = "sound_console_message_sent";
                    break;
                case _-2TN._-FE:
                    k = "sound_catalogue_pixels";
                    break;
                case _-2TN._-La:
                    k = "sound_catalogue_cash";
                    break;
                case _-2TN._-iI:
                    k = "sound_respect_received";
                    break;
                case _-2TN._-0mY:
                case _-2TN.GAMES_SW_HIT1:
                case _-2TN.GAMES_SW_HIT2:
                case _-2TN.GAMES_SW_HIT3:
                case _-2TN._-104:
                case _-2TN._-II:
                case _-2TN._-0KA:
                case _-2TN._-40M:
                case _-2TN._-4VR:
                case _-2TN._-4lI:
                case _-2TN._-4CY:
                    k = _arg1;
                    break;
                case _-2TN._-4c6:
                    k = _arg1;
                    break;
                default:
                    _-Nb.log(("HabboSoundManagerFlash10: Unknown sound request: " + _arg1));
                    return (null);
            };
            return (this._-1Lg(k));
        }
        private function _-1Lg(_arg1:String):Sound
        {
            var k:_-2kE = assets.getAssetByName(_arg1);
            return ((k.content as Sound));
        }
        public function _-4yO(_arg1:int, _arg2:String):_-0Bp
        {
            if (this._-2UG != null)
            {
                return (this._-1QV(_arg1, _arg2));
            };
            var k:TraxSequencer = this._-4lS(_arg1, _arg2);
            if (!k.ready)
            {
                this._-2UG = k;
                this._-1QM = _arg1;
            };
            return ((k as _-0Bp));
        }
        private function _-1QV(_arg1:int, _arg2:String):_-0Bp
        {
            var k:TraxSequencer = this._-4lS(_arg1, _arg2, false);
            if (!k.ready)
            {
                this._-2DN.add(_arg1, k);
            };
            return (k);
        }
        private function _-4lS(_arg1:int, _arg2:String, _arg3:Boolean=true):TraxSequencer
        {
            var k:TraxData = new TraxData(_arg2);
            var k:TraxSequencer = new TraxSequencer(_arg1, k, this._-4Vg._-4yK, events);
            k._-04l = this._-17r;
            this._-2Ic(k, _arg3);
            return (k);
        }
        private function _-2Ic(_arg1:TraxSequencer, _arg2:Boolean):void
        {
            var k:TraxData = _arg1._-0zi;
            var k:Array = k._-03e();
            var k:Boolean;
            var k:int;
            while (k < k.length)
            {
                if (this._-4Vg._-4yK.getValue(int(k[k])) == null)
                {
                    if (_arg2)
                    {
                        this._-4Vg._-1-D(int(k[k]));
                    };
                    k = true;
                };
                k++;
            };
            if (k)
            {
                _arg1.ready = false;
            }
            else
            {
                _arg1.ready = true;
            };
        }
        public function _-0jq(_arg1:String, _arg2:String):void
        {
            if (this._-49A == null)
            {
                return;
            };
            this._-49A._-2Mp(_arg1, _arg2);
        }
        private function _-1dY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (_arg2 != null)
            {
                this._-3fD = (_arg2 as _-4uR);
            };
        }
        protected function _-2jJ(_arg1:_-4uR):void
        {
            this._-3fD = _arg1;
        }
        private function _-35Q(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (_arg2 != null)
            {
                this._-0ud = _-4BJ(_arg2);
                this._-0ud.addHabboConnectionMessageEvent(new _-4Pw(this._-4sK));
            };
        }
        private function _-4sK(_arg1:_-0tL):void
        {
            var k:_-1ZV = this._-0ud._-4gR(this._-1QP);
            if (k != null)
            {
                k.addMessageEvent(new _-7v(this._-3mS));
                k.send(new _-5N());
                this._-1QP(k);
                this.init();
            };
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (_arg2 == null)
            {
                return;
            };
            this._-0tK = _-5-S(_arg2);
            this.init();
        }
        private function _-58Y(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (_arg2 == null)
            {
                return;
            };
            this._-49A = _-3MJ(_arg2);
        }
        private function _-1QP(_arg1:_-1ZV):void
        {
            if (disposed)
            {
                return;
            };
            if (_arg1 != null)
            {
                this._-51u = _arg1;
            };
            this.init();
        }
        private function init():void
        {
            if ((((((((this._-3fD == null)) || ((this._-51u == null)))) || ((this._-0tK == null)))) || (!((this._-3ne == null)))))
            {
                return;
            };
            this._-3ne = new HabboMusicController(this, events, this._-0tK.events, this._-51u);
            this._-4Vg = new TraxSampleManager(this, this._-1oy);
            this._-2EU = new _-0mj(this, this._-0tK.events);
            this._-0tK.events.addEventListener(_-10x._-1oT, this._-07B);
            this._-0tK.events.addEventListener(_-10x._-1JE, this._-07B);
        }
        protected function _-0Lg(_arg1:_-d4):void
        {
            this._-3ne = _arg1;
        }
        private function _-22A(_arg1:Event):void
        {
            var k:_-2sw = (_arg1 as _-2sw);
            if (k == null)
            {
                return;
            };
            if (this._-2UG == null)
            {
                return;
            };
            this._-2UG.ready = true;
            if (this._-3ne == null)
            {
                return;
            };
            this._-3ne._-31l(k.id);
            this._-2UG = null;
            this._-1QM = -1;
        }
        private function _-4tp():void
        {
            if (this._-51u != null)
            {
                this._-51u.send(new _-1LI(int((this._-0Kj * 100)), int((this._-fi * 100)), int((this._-17r * 100))));
            };
        }
        private function _-0UM(_arg1:Number, _arg2:Number, _arg3:Number):void
        {
            if (this._-2DU)
            {
                this._-17r = 0;
                this._-fi = 0;
                this._-0Kj = 0;
                this._-3ne._-39N(0);
                this._-2EU._-39N(0);
            }
            else
            {
                this._-17r = _arg1;
                this._-fi = _arg2;
                this._-0Kj = _arg3;
                this._-3ne._-39N(_arg3);
                this._-2EU._-39N(_arg2);
            };
        }
        private function _-3mS(_arg1:_-0tL):void
        {
            var k:_-7v = (_arg1 as _-7v);
            var k:_-2xL = (k._-3-5() as _-2xL);
            var k:Number = k._-2Lw;
            if (k == 1)
            {
                k = 100;
            };
            this._-0UM((k / 100), (k._-46y / 100), (k._-0nr / 100));
        }
        private function _-23d():void
        {
            var k:int;
            var k:TraxSequencer;
            if ((((this._-2UG == null)) && ((this._-2DN.length > 0))))
            {
                k = this._-2DN.getKey(0);
                k = this._-2DN.remove(k);
                if (((!((k == null))) && (!(k.disposed))))
                {
                    this._-2Ic(k, true);
                    if (k.ready)
                    {
                        events.dispatchEvent(new _-2sw(_-2sw._-3Il, k));
                    }
                    else
                    {
                        this._-2UG = k;
                        this._-1QM = k;
                    };
                };
            };
        }
        private function _-07B(_arg1:Event):void
        {
            var k:_-10x = _-10x(_arg1);
            if (_arg1.type == _-10x._-1oT)
            {
                this._-lx(k._-0IY);
            };
            if (_arg1.type == _-10x._-1JE)
            {
                this._-1O(k._-0IY, k._-379);
            };
        }
        public function update(_arg1:uint):void
        {
            if (this._-4Vg != null)
            {
                this._-4Vg.update(_arg1);
            };
            this._-23d();
        }
        public function get configuration():_-4uR
        {
            return (this._-3fD);
        }
        public function mute(_arg1:Boolean):void
        {
            this._-2DU = _arg1;
            this._-0UM(this._-17r, this._-fi, this._-0Kj);
        }

    }
}//package _-mv

//------------------------------------------------------------
//_-nm._-0kX

package _-nm
{
    import _-0jj.HabboHelp;
    import _-1HK._-GF;
    import _-2It._-1r3;
    import _-1rc._-4bH;
    import _-1rc._-3xJ;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-0Ie.WindowEvent;
    import _-2or._-0Yf;
    import _-0Ie.WindowMouseEvent;
    import _-2u6._-2M1;
    import _-2u6._-3ZH;
    import _-3Bn._-1Ii;
    import _-2Zi._-4A3;
    import _-2Zi._-1Wm;
    import _-hT._-128;
    import _-4Aj._-0tL;
    import _-ta._-zs;
    import _-1B-.*;
    import _-0jj.*;

    public class _-0kX implements _-2Lc, _-1zZ 
    {

        public static const _-18M:String = "TUI_NAME_VIEW";

        private var _disposed:Boolean;
        private var _-Je:HabboHelp;
        private var _-01N:_-GT;
        private var _-2LE:String;
        private var _-0gv:int;

        public function _-0kX(_arg1:HabboHelp)
        {
            this._-Je = _arg1;
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-GF(this._-2y3));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-1r3(this._-1LE));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-4bH(this._-61));
            this._-Je.communicationManager.addHabboConnectionMessageEvent(new _-3xJ(this._-03U));
        }
        public function get help():HabboHelp
        {
            return (this._-Je);
        }
        public function get assets():_-39L
        {
            return (this._-Je.assets);
        }
        public function get localization():_-0hg
        {
            return (this._-Je.localization);
        }
        public function get _-2Yd():String
        {
            return (this._-2LE);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-1OD();
                if (this._-Je)
                {
                    this._-Je = null;
                };
                this._disposed = true;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-192():void
        {
            if ((((this._-01N == null)) || (this._-01N.disposed)))
            {
                this._-01N = new _-GT(this);
            };
            this._-01N._-1T4();
            this._-0Ox();
        }
        public function _-5Ca(_arg1:String, _arg2:uint=1):IWindow
        {
            if (this._-Je.assets == null)
            {
                return (null);
            };
            var k:_-243 = _-243(this._-Je.assets.getAssetByName((_arg1 + "_xml")));
            if ((((k == null)) || ((this._-Je.windowManager == null))))
            {
                return (null);
            };
            return (this._-Je.windowManager.buildFromXML(XML(k.content), _arg2));
        }
        private function _-OP(_arg1:WindowEvent=null):void
        {
        }
        public function _-1OD():void
        {
            if (this._-01N != null)
            {
                this._-01N.dispose();
                this._-01N = null;
            };
            this._-OP();
        }
        public function _-1Ex():void
        {
            if (this._-01N != null)
            {
                this._-01N.dispose();
                this._-01N = null;
            };
        }
        public function _-10B(_arg1:Boolean):void
        {
            if (_arg1 == false)
            {
                this._-1OD();
            };
        }
        public function _-0Ox():void
        {
            if ((((this._-Je == null)) || ((this._-Je.events == null))))
            {
                return;
            };
            this._-Je.events.dispatchEvent(new _-0Yf(_-0Yf._-Zd));
        }
        public function _-rA(_arg1:WindowEvent, _arg2:IWindow):void
        {
            switch (_arg1.type)
            {
                case WindowMouseEvent._-90:
                    if (_arg2.name == "header_button_close")
                    {
                        this._-1OD();
                    };
                    return;
            };
        }
        public function _-0MI(_arg1:String):void
        {
            this._-OP();
            this._-Je._-0cM(new _-2M1(_arg1));
        }
        public function checkName(_arg1:String):void
        {
            this._-OP();
            this._-Je._-0cM(new _-3ZH(_arg1));
        }
        public function _-3Lv(_arg1:String):void
        {
            var name:String = _arg1;
            if (((((!(this._-Je)) || (!(this._-Je.localization)))) || (!(this._-Je.windowManager))))
            {
                return;
            };
            this._-Je.localization.registerParameter("help.tutorial.name.changed", "name", name);
            this._-Je.windowManager.alert("${generic.notice}", "${help.tutorial.name.changed}", 0, function (_arg1:_-1Ii, _arg2:WindowEvent):void
            {
                _arg1.dispose();
            });
        }
        private function _-61(_arg1:_-4bH):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-4A3 = _arg1._-3-5();
            if (k == null)
            {
                return;
            };
            if (k._-rJ == _-4bH._-3Mi)
            {
                this._-3Lv(k.name);
                this._-1Ex();
            }
            else
            {
                this._-01N._-2T(k._-rJ, k.name, k._-7);
            };
        }
        private function _-03U(_arg1:_-3xJ):void
        {
            if (!_arg1)
            {
                return;
            };
            var k:_-1Wm = _arg1._-3-5();
            if (k._-rJ == _-4bH._-3Mi)
            {
                this._-01N._-4qM = k.name;
            }
            else
            {
                this._-01N._-2T(k._-rJ, k.name, k._-7);
            };
        }
        private function _-2y3(_arg1:_-0tL):void
        {
            var k:_-128 = _-GF(_arg1)._-3-5();
            this._-0gv = k.id;
            this._-2LE = k.name;
        }
        private function _-1LE(_arg1:_-0tL):void
        {
            var k:_-zs = _-1r3(_arg1)._-3-5();
            if (this._-0gv == k._-2HY)
            {
                this._-2LE = k._-3A7;
            };
        }
        public function get _-1L8():String
        {
            return (this._-2LE);
        }
        public function get _-3UH():int
        {
            return (this._-0gv);
        }

    }
}//package _-nm

//------------------------------------------------------------
//_-nm._-GT

package _-nm
{
    import _-0jj._-2Lc;
    import _-1ae.IFrameWindow;
    import _-Ew.IWindowContainer;
    import _-1ae.IButtonWindow;
    import _-1ae.ITextWindow;
    import _-1ae.ITextFieldWindow;
    import _-Ew.IWindow;
    import _-1rc._-4bH;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-1B-.*;

    public class _-GT implements _-1zZ 
    {

        private static var _-1VS:uint = 13232628;
        private static var _-3m3:uint = 11129827;

        private var _-513:_-2Lc;
        private var _-0xv:IFrameWindow;
        private var _-Lq:String;
        private var _-Pt:String;
        private var _-3Dl:IWindowContainer;
        private var _-0l2:IWindowContainer;
        private var _-3Tw:IWindowContainer;
        private var _-0Dd:IWindowContainer;
        private var _-4AL:Boolean = false;
        private var _-0EP:NameSuggestionListRenderer;
        private var _disposed:Boolean;

        public function _-GT(_arg1:_-2Lc):void
        {
            this._-513 = _arg1;
        }
        public function get id():String
        {
            return (_-0kX._-18M);
        }
        public function set _-4qM(_arg1:String):void
        {
            this._-Lq = _arg1;
            if (this._-Pt == this._-Lq)
            {
                this._-3eg();
                return;
            };
            this._-1-H();
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-OP();
                if (this._-0EP != null)
                {
                    this._-0EP.dispose();
                    this._-0EP = null;
                };
                this._disposed = true;
            };
        }
        private function _-OP():void
        {
            this._-3Dl = null;
            this._-0l2 = null;
            this._-3Tw = null;
            this._-0Dd = null;
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        private function _-192(_arg1:IWindowContainer):void
        {
            this._-4AL = false;
            if (this._-0Dd)
            {
                this._-0Dd.visible = false;
            };
            this._-0Dd = _arg1;
            this._-0Dd.visible = true;
            if (this._-0xv)
            {
                this._-0xv.content.width = this._-0Dd.width;
                this._-0xv.content.height = this._-0Dd.height;
            };
        }
        public function _-1T4():void
        {
            if (!this._-0xv)
            {
                this._-0xv = (this._-513._-5Ca("welcome_name_change") as IFrameWindow);
                this._-0xv.center();
                this._-0xv.procedure = this._-0Rw;
                this._-3Dl = (this._-0xv.content.getChildAt(0) as IWindowContainer);
            };
            this._-513.localization.registerParameter("tutorial.name_change.current", "name", this._-513._-2Yd);
            this._-0xv.caption = this._-513.localization.getKey("tutorial.name_change.title.main");
            this._-192(this._-3Dl);
        }
        private function _-0fn():void
        {
            if (!this._-0l2)
            {
                this._-0l2 = (this._-513._-5Ca("welcome_name_selection") as IWindowContainer);
                if (!this._-0l2)
                {
                    return;
                };
                this._-0xv.content.addChild(this._-0l2);
            };
            this._-0xv.caption = this._-513.localization.getKey("tutorial.name_change.title.select");
            var k:IButtonWindow = (this._-0xv.findChildByName("select_name_button") as IButtonWindow);
            if (k)
            {
                k.disable();
            };
            this._-0cI();
            this._-192(this._-0l2);
        }
        private function _-3eg():void
        {
            if (!this._-3Tw)
            {
                this._-3Tw = (this._-513._-5Ca("welcome_name_confirmation") as IWindowContainer);
                if (!this._-3Tw)
                {
                    return;
                };
                this._-0xv.content.addChild(this._-3Tw);
            };
            this._-0xv.caption = this._-513.localization.getKey("tutorial.name_change.title.confirm");
            var k:ITextWindow = (this._-3Tw.findChildByName("final_name") as ITextWindow);
            if (k)
            {
                k.text = this._-Lq;
            };
            this._-192(this._-3Tw);
        }
        public function get view():IWindowContainer
        {
            return (this._-0xv);
        }
        public function _-0cI():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("info_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            k.text = this._-513.localization.getKey("help.tutorial.name.info");
            var k:IWindowContainer = (this._-0xv.findChildByName("suggestions") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k.visible = false;
        }
        public function _-1-H():void
        {
            if (this._-0xv == null)
            {
                return;
            };
            this._-0Wc(true);
            var k:ITextWindow = (this._-0xv.findChildByName("info_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            this._-513.localization.registerParameter("help.tutorial.name.available", "name", this._-Lq);
            k.text = this._-513.localization.getKey("help.tutorial.name.available");
            var k:ITextFieldWindow = (this._-0xv.findChildByName("input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            k.text = this._-Lq;
            var k:IWindowContainer = (this._-0xv.findChildByName("suggestions") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            k.visible = false;
        }
        public function _-2T(_arg1:int, _arg2:String, _arg3:Array):void
        {
            var k:IWindow;
            this._-0Wc(false);
            if (this._-0Dd != this._-0l2)
            {
                this._-0fn();
            };
            this._-Pt = null;
            this._-Lq = null;
            if (this._-0xv == null)
            {
                return;
            };
            var k:ITextWindow = (this._-0xv.findChildByName("info_text") as ITextWindow);
            if (k == null)
            {
                return;
            };
            switch (_arg1)
            {
                case _-4bH._-3MN:
                    this._-513.localization.registerParameter("help.tutorial.name.taken", "name", _arg2);
                    k.text = this._-513.localization.getKey("help.tutorial.name.taken");
                    break;
                case _-4bH._-19y:
                    this._-513.localization.registerParameter("help.tutorial.name.invalid", "name", _arg2);
                    k.text = this._-513.localization.getKey("help.tutorial.name.invalid");
                    break;
                case _-4bH._-0wT:
                    break;
                case _-4bH._-3Gy:
                    k.text = this._-513.localization.getKey("help.tutorial.name.long");
                    break;
                case _-4bH._-0BE:
                    k.text = this._-513.localization.getKey("help.tutorial.name.short");
                    break;
                case _-4bH._-0qS:
                    k.text = this._-513.localization.getKey("help.tutorial.name.change_not_allowed");
                    break;
                case _-4bH._-1TK:
                    k.text = this._-513.localization.getKey("help.tutorial.name.merge_hotel_down");
                    break;
            };
            var k:IWindowContainer = (this._-0xv.findChildByName("suggestions") as IWindowContainer);
            if (k == null)
            {
                return;
            };
            if ((((_arg1 == _-4bH._-1TK)) || ((_arg1 == _-4bH._-0qS))))
            {
                k.visible = false;
                return;
            };
            k.visible = true;
            this._-0EP = new NameSuggestionListRenderer(this._-513);
            var k:int = this._-0EP.render(_arg3, k);
            var k:int;
            while (k < k.numChildren)
            {
                k = k.getChildAt(k);
                k.color = _-1VS;
                k.addEventListener(WindowMouseEvent._-90, this._-5AQ);
                k.addEventListener(WindowMouseEvent._-4ea, this._-3ei);
                k.addEventListener(WindowMouseEvent._-4e2, this._-va);
                k++;
            };
        }
        private function _-5AQ(_arg1:WindowMouseEvent):void
        {
            this._-0Wc(true);
            var k:ITextWindow = (_arg1.target as ITextWindow);
            if (!k)
            {
                return;
            };
            var k:String = k.text;
            this._-0cI();
            var k:ITextFieldWindow = (this._-0xv.findChildByName("input") as ITextFieldWindow);
            if (k == null)
            {
                return;
            };
            k.text = k;
        }
        private function _-3ei(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow = (_arg1.target as ITextWindow);
            if (k != null)
            {
                k.color = _-3m3;
            };
        }
        private function _-va(_arg1:WindowMouseEvent):void
        {
            var k:ITextWindow = (_arg1.target as ITextWindow);
            if (k != null)
            {
                k.color = _-1VS;
            };
        }
        public function _-c1():void
        {
            var k:IWindow;
            if (((this._-0xv) && (!(this._-0xv.disposed))))
            {
                k = this._-0xv.findChildByName("select_name_button");
                if (k)
                {
                    k.disable();
                };
                k = this._-0xv.findChildByName("check_name_button");
                if (k)
                {
                    k.disable();
                };
                k = this._-0xv.findChildByName("input");
                if (k)
                {
                    k.disable();
                };
                k = this._-0xv.findChildByName("info_text");
                if (k)
                {
                    k.caption = this._-513.localization.getKey("help.tutorial.name.wait_while_checking");
                };
            };
            this._-4AL = true;
        }
        public function _-0Wc(_arg1:Boolean):void
        {
            var k:IWindow;
            if (((this._-0xv) && (!(this._-0xv.disposed))))
            {
                if (_arg1)
                {
                    k = this._-0xv.findChildByName("select_name_button");
                    if (k)
                    {
                        k.enable();
                    };
                };
                k = this._-0xv.findChildByName("check_name_button");
                if (k)
                {
                    k.enable();
                };
                k = this._-0xv.findChildByName("input");
                if (k)
                {
                    k.enable();
                };
            };
            this._-4AL = false;
        }
        private function _-0Rw(_arg1:WindowEvent, _arg2:IWindow):void
        {
            var k:IWindow;
            var k:ITextFieldWindow;
            var _local5:String;
            if (!this._-4AL)
            {
                if (_arg1.type == WindowEvent._-0cZ)
                {
                    if (_arg2.name == "input")
                    {
                        k = this._-0xv.findChildByName("select_name_button");
                        k = (_arg2 as ITextFieldWindow);
                        if (((k) && (k)))
                        {
                            if (k.text.length > 2)
                            {
                                k.enable();
                            }
                            else
                            {
                                k.disable();
                            };
                        };
                    };
                };
            };
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "change_name_button":
                    this._-0fn();
                    return;
                case "keep_name_button":
                    this._-Lq = this._-513._-2Yd;
                    this._-3eg();
                    return;
                case "check_name_button":
                    this._-513.checkName(this._-4bf());
                    this._-c1();
                    return;
                case "select_name_button":
                    _local5 = this._-4bf();
                    if (_local5.length < 1)
                    {
                        return;
                    };
                    if (this._-Lq != _local5)
                    {
                        this._-Pt = _local5;
                        this._-513.checkName(_local5);
                        this._-c1();
                    }
                    else
                    {
                        this._-3eg();
                    };
                    return;
                case "cancel_selection_button":
                    this._-513._-1Ex();
                    return;
                case "confirm_name_button":
                    this._-513._-0MI(this._-Lq);
                    return;
                case "cancel_confirmation_button":
                    this._-513._-1Ex();
                    return;
                case "header_button_close":
                    this._-513._-1Ex();
                    return;
            };
        }
        private function _-4bf():String
        {
            var k:ITextFieldWindow;
            if (this._-0xv)
            {
                k = (this._-0xv.findChildByName("input") as ITextFieldWindow);
                if (k)
                {
                    return (k.text);
                };
            };
            return (null);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package _-nm

//------------------------------------------------------------
//_-nm.NameSuggestionListRenderer

package _-nm
{
    import _-0jj._-2Lc;
    import flash.geom.Rectangle;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;

    public class NameSuggestionListRenderer 
    {

        private const _-1C0:int = 5;
        private const _-1K1:int = 5;

        private var _-1-u:_-2Lc;
        private var _-3jO:int;
        private var _-1Mv:int;
        private var _-Gw:Rectangle = null;
        private var _-2by:int = 0;

        public function NameSuggestionListRenderer(_arg1:_-2Lc)
        {
            this._-1-u = _arg1;
        }
        public function dispose():void
        {
            this._-1-u = null;
        }
        public function render(_arg1:Array, _arg2:IWindowContainer):int
        {
            var k:ITextWindow;
            var k:IWindow;
            while (_arg2.numChildren > 0)
            {
                k = _arg2.removeChildAt(0);
                k.dispose();
            };
            _arg2.parent.invalidate();
            this._-2by = 0;
            this._-3jO = 0;
            this._-1Mv = 0;
            this._-Gw = _arg2.rectangle;
            this._-Gw.height = 150;
            var k:int;
            while (k < _arg1.length)
            {
                k = this._-3Ol((_arg1[k] as String));
                if (this._-15t(k))
                {
                    _arg2.addChild(k);
                }
                else
                {
                    k.dispose();
                };
                k++;
            };
            var k:int = _arg2.numChildren;
            if (k == 0)
            {
                return (0);
            };
            var k:IWindow = _arg2.getChildAt((_arg2.numChildren - 1));
            return (k.bottom);
        }
        private function _-15t(_arg1:IWindow):Boolean
        {
            if ((((_arg1.width > this._-Gw.width)) || ((_arg1.width < 2))))
            {
                return (false);
            };
            if ((this._-1Mv + _arg1.height) > this._-Gw.height)
            {
                return (false);
            };
            if ((this._-3jO + _arg1.width) > this._-Gw.width)
            {
                this._-3jO = 0;
                this._-1Mv = (this._-1Mv + (_arg1.height + this._-1K1));
                return (this._-15t(_arg1));
            };
            _arg1.x = (_arg1.x + this._-3jO);
            _arg1.y = (_arg1.y + this._-1Mv);
            this._-3jO = (this._-3jO + (_arg1.width + this._-1C0));
            return (true);
        }
        private function _-3Ol(_arg1:String):ITextWindow
        {
            var k:ITextWindow = (this._-1-u._-5Ca("welcome_name_suggestion_item") as ITextWindow);
            if (k == null)
            {
                return (null);
            };
            k.text = _arg1;
            return (k);
        }

    }
}//package _-nm

//------------------------------------------------------------
//_-O3._-4e6

package _-O3
{
    import _-0mD.HabboCatalog;
    import _-0Ai.GuildSelectorCatalogWidget;
    import _-0Pi._-2jt;
    import _-2It._-1b5;

    public class _-4e6 
    {

        private var _-3oJ:HabboCatalog;
        private var _-4Al:GuildSelectorCatalogWidget;

        public function _-4e6(_arg1:HabboCatalog)
        {
            this._-3oJ = _arg1;
        }
        public function dispose():void
        {
            this._-3oJ = null;
            this._-4Al = null;
        }
        public function _-1az(_arg1:GuildSelectorCatalogWidget):void
        {
            this._-4Al = _arg1;
            this._-3oJ.connection.send(new _-2jt());
        }
        public function _-3cu(_arg1:GuildSelectorCatalogWidget):void
        {
            if (this._-4Al == _arg1)
            {
                this._-4Al = null;
            }
            else
            {
                _-Nb.log("ERROR: Tried to unregister a nonregistered group selector catalog widget");
            };
        }
        public function _-2FJ(_arg1:_-1b5):void
        {
            var k:Array = _arg1.guilds.slice(0, _arg1.guilds.length);
            if (((this._-4Al) && (!(this._-4Al.disposed))))
            {
                this._-4Al._-0zo(k);
                this._-4Al._-4xi();
            };
        }
        public function _-1G0(_arg1:int):void
        {
            if (this._-4Al != null)
            {
                this._-3oJ.connection.send(new _-2jt());
            };
        }

    }
}//package _-O3

//------------------------------------------------------------
//_-og._-08b

package _-og
{
    public class _-08b extends _-49d 
    {

        public static const _-4v8:String = "RWUIUE_OWN_USER";
        public static const BOT:String = "RWUIUE_BOT";
        public static const _-0tH:String = "RWUIUE_PEER";
        public static const _-2W9:int = 0;
        public static const _-3gm:int = 2;
        public static const _-3-e:int = 3;
        public static const _-9N:String = "BOT";

        private var _name:String = "";
        private var _-2sb:String = "";
        private var _-1Cz:int;
        private var _-4M1:int = 0;
        private var _-2XR:int = 0;
        private var _-5AE:String = "";
        private var _-38s:Array;
        private var _-5CV:int = 0;
        private var _-3jX:String = "";
        private var _-5Ea:String = "";
        private var _-2L7:int = 0;
        private var _-57T:int = 0;
        private var _-0EX:Boolean = false;
        private var _-pj:String = "";
        private var _-37w:Boolean = false;
        private var _-4kI:Boolean = false;
        private var _-1rP:Boolean = false;
        private var _-3BD:int = 0;
        private var _-18y:Boolean = false;
        private var _-2sS:Boolean = false;
        private var _-Yw:Boolean = false;
        private var _-04g:Boolean = false;
        private var _-0MM:int = 0;
        private var _-21G:Boolean = false;
        private var _-pe:Boolean = false;
        private var _-36w:Boolean = false;
        private var _-S2:int = 0;
        private var _-0jo:int = 0;

        public function _-08b(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            this._-38s = [];
            super(_arg1, _arg2, _arg3);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set motto(_arg1:String):void
        {
            this._-2sb = _arg1;
        }
        public function get motto():String
        {
            return (this._-2sb);
        }
        public function set _-4pE(_arg1:int):void
        {
            this._-1Cz = _arg1;
        }
        public function get _-4pE():int
        {
            return (this._-1Cz);
        }
        public function set _-2-w(_arg1:int):void
        {
            this._-4M1 = _arg1;
        }
        public function get _-2-w():int
        {
            return (this._-4M1);
        }
        public function set xp(_arg1:int):void
        {
            this._-2XR = _arg1;
        }
        public function get xp():int
        {
            return (this._-2XR);
        }
        public function set figure(_arg1:String):void
        {
            this._-5AE = _arg1;
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function set badges(_arg1:Array):void
        {
            this._-38s = _arg1;
        }
        public function get badges():Array
        {
            return (this._-38s);
        }
        public function set groupId(_arg1:int):void
        {
            this._-5CV = _arg1;
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function set groupName(_arg1:String):void
        {
            this._-3jX = _arg1;
        }
        public function get groupName():String
        {
            return (this._-3jX);
        }
        public function set _-1lA(_arg1:String):void
        {
            this._-5Ea = _arg1;
        }
        public function get _-1lA():String
        {
            return (this._-5Ea);
        }
        public function set _-l0(_arg1:Boolean):void
        {
            this._-18y = _arg1;
        }
        public function get _-l0():Boolean
        {
            return (this._-18y);
        }
        public function set _-2Vb(_arg1:int):void
        {
            this._-0MM = _arg1;
        }
        public function get _-2Vb():int
        {
            return (this._-0MM);
        }
        public function set _-3dp(_arg1:Boolean):void
        {
            this._-21G = _arg1;
        }
        public function get _-3dp():Boolean
        {
            return (this._-21G);
        }
        public function set _-42g(_arg1:Boolean):void
        {
            this._-4kI = _arg1;
        }
        public function get _-42g():Boolean
        {
            return (this._-4kI);
        }
        public function set _-5J(_arg1:Boolean):void
        {
            this._-pe = _arg1;
        }
        public function get _-5J():Boolean
        {
            return (this._-pe);
        }
        public function set _-2Hi(_arg1:int):void
        {
            this._-3BD = _arg1;
        }
        public function get _-2Hi():int
        {
            return (this._-3BD);
        }
        public function set _-36A(_arg1:Boolean):void
        {
            this._-1rP = _arg1;
        }
        public function get _-36A():Boolean
        {
            return (this._-1rP);
        }
        public function set _-3xC(_arg1:Boolean):void
        {
            this._-36w = _arg1;
        }
        public function get _-3xC():Boolean
        {
            return (this._-36w);
        }
        public function set _-26v(_arg1:int):void
        {
            this._-S2 = _arg1;
        }
        public function get _-26v():int
        {
            return (this._-S2);
        }
        public function set _-0ab(_arg1:Boolean):void
        {
            this._-2sS = _arg1;
        }
        public function get _-0ab():Boolean
        {
            return (this._-2sS);
        }
        public function set _-1Ny(_arg1:Boolean):void
        {
            this._-Yw = _arg1;
        }
        public function get _-1Ny():Boolean
        {
            return (this._-Yw);
        }
        public function get _-3rl():Boolean
        {
            return (this._-04g);
        }
        public function set _-3rl(_arg1:Boolean):void
        {
            this._-04g = _arg1;
        }
        public function set _-2g-(_arg1:int):void
        {
            this._-0jo = _arg1;
        }
        public function get _-2g-():int
        {
            return (this._-0jo);
        }
        public function set _-1sC(_arg1:int):void
        {
            this._-2L7 = _arg1;
        }
        public function get _-1sC():int
        {
            return (this._-2L7);
        }
        public function set _-1V8(_arg1:int):void
        {
            this._-57T = _arg1;
        }
        public function get _-1V8():int
        {
            return (this._-57T);
        }
        public function set _-25V(_arg1:Boolean):void
        {
            this._-0EX = _arg1;
        }
        public function get _-25V():Boolean
        {
            return (this._-0EX);
        }
        public function set realName(_arg1:String):void
        {
            this._-pj = _arg1;
        }
        public function get realName():String
        {
            return (this._-pj);
        }
        public function set _-0Jg(_arg1:Boolean):void
        {
            this._-37w = _arg1;
        }
        public function get _-0Jg():Boolean
        {
            return (this._-37w);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0D-

package _-og
{
    public class _-0D- extends _-49d 
    {

        public static const _-2dF:String = "rwudue_user_data_updated";

        public function _-0D-(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-2dF, _arg1, _arg2);
        }
    }
}//package _-og

//------------------------------------------------------------
//_-og._-0ER

package _-og
{
    import flash.display.BitmapData;
    import _-293._-4q2;

    public class _-0ER extends _-49d 
    {

        public static const _-0Qg:String = "RWFIUE_FURNI";

        private var _-0Kq:int = 0;
        private var _-JS:int = 0;
        private var _name:String = "";
        private var _-1Td:String = "";
        private var _-4Gj:BitmapData = null;
        private var _-1Ar:Boolean = false;
        private var _-28Z:Boolean = false;
        private var _-05R:Boolean = false;
        private var _-2Ge:int = 0;
        private var _-1nL:Boolean = false;
        private var _-4tn:int = -1;
        private var _-3k2:int = -1;
        private var _-2W3:int = -1;
        private var _-2Uq:String = "";
        private var _-0TD:Boolean = false;
        private var _-56Y:_-4q2 = null;
        private var _-5CV:int = 0;
        private var _-2U6:int = 0;
        private var _-237:String = "";
        private var _-bQ:int = 0;

        public function _-0ER(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function set category(_arg1:int):void
        {
            this._-JS = _arg1;
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set description(_arg1:String):void
        {
            this._-1Td = _arg1;
        }
        public function get description():String
        {
            return (this._-1Td);
        }
        public function set image(_arg1:BitmapData):void
        {
            this._-4Gj = _arg1;
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function set _-37N(_arg1:Boolean):void
        {
            this._-1Ar = _arg1;
        }
        public function get _-37N():Boolean
        {
            return (this._-1Ar);
        }
        public function set _-0MR(_arg1:Boolean):void
        {
            this._-28Z = _arg1;
        }
        public function get _-0MR():Boolean
        {
            return (this._-28Z);
        }
        public function set _-49x(_arg1:Boolean):void
        {
            this._-05R = _arg1;
        }
        public function get _-49x():Boolean
        {
            return (this._-05R);
        }
        public function set _-125(_arg1:int):void
        {
            this._-2Ge = _arg1;
        }
        public function get _-125():int
        {
            return (this._-2Ge);
        }
        public function set _-3eu(_arg1:Boolean):void
        {
            this._-1nL = _arg1;
        }
        public function get _-3eu():Boolean
        {
            return (this._-1nL);
        }
        public function set expiration(_arg1:int):void
        {
            this._-4tn = _arg1;
        }
        public function get expiration():int
        {
            return (this._-4tn);
        }
        public function set catalogPageId(_arg1:int):void
        {
            this._-3k2 = _arg1;
        }
        public function get catalogPageId():int
        {
            return (this._-3k2);
        }
        public function set offerId(_arg1:int):void
        {
            this._-2W3 = _arg1;
        }
        public function get offerId():int
        {
            return (this._-2W3);
        }
        public function set _-1gg(_arg1:String):void
        {
            this._-2Uq = _arg1;
        }
        public function get _-1gg():String
        {
            return (this._-2Uq);
        }
        public function set _-M2(_arg1:Boolean):void
        {
            this._-0TD = _arg1;
        }
        public function get _-M2():Boolean
        {
            return (this._-0TD);
        }
        public function set _-vM(_arg1:_-4q2):void
        {
            this._-56Y = _arg1;
        }
        public function get _-vM():_-4q2
        {
            return (this._-56Y);
        }
        public function set groupId(_arg1:int):void
        {
            this._-5CV = _arg1;
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function set _-nJ(_arg1:int):void
        {
            this._-2U6 = _arg1;
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function set _-0aC(_arg1:String):void
        {
            this._-237 = _arg1;
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function set _-26m(_arg1:int):void
        {
            this._-bQ = _arg1;
        }
        public function get _-26m():int
        {
            return (this._-bQ);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0fH

package _-og
{
    public class _-0fH extends _-49d 
    {

        public static const _-WV:String = "RWLBUE_SHOW_LOADING_BAR";
        public static const _-1MR:String = "RWLBUW_HIDE_LOADING_BAR";

        public function _-0fH(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-og

//------------------------------------------------------------
//_-og._-0gO

package _-og
{
    public class _-0gO extends _-49d 
    {

        public static const _-2di:String = "RWDSUE_DIMMER_STATE";

        private var _-0Ke:int;
        private var _-W5:int;
        private var _-57p:int;
        private var _color:uint;
        private var _-08E:int;

        public function _-0gO(_arg1:int, _arg2:int, _arg3:int, _arg4:uint, _arg5:uint, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_-2di, _arg6, _arg7);
            this._-0Ke = _arg1;
            this._-W5 = _arg2;
            this._-57p = _arg3;
            this._color = _arg4;
            this._-08E = _arg5;
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-0Wp():int
        {
            return (this._-W5);
        }
        public function get _-33s():int
        {
            return (this._-57p);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-42j():uint
        {
            return (this._-08E);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0L3

package _-og
{
    public class _-0L3 extends _-49d 
    {

        public static const _-1rN:String = "RWPLEE_SHOW_PLAYLIST_EDITOR";
        public static const _-4BT:String = "RWPLEE_HIDE_PLAYLIST_EDITOR";
        public static const _-1nJ:String = "RWPLEE_INVENTORY_UPDATED";
        public static const _-1W4:String = "RWPLEE_SONG_DISK_INVENTORY_UPDATED";
        public static const _-0t3:String = "RWPLEE_PLAY_LIST_UPDATED";
        public static const _-0lL:String = "RWPLEE_PLAY_LIST_FULL";

        private var _-1Rh:int;

        public function _-0L3(_arg1:String, _arg2:int=-1, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-1Rh = _arg2;
        }
        public function get _-4Jh():int
        {
            return (this._-1Rh);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0LN

package _-og
{
    public class _-0LN extends _-49d 
    {

        public static const _-2F8:String = "RWSWPUE_OPEN_EDITOR";

        private var _-44i:int;
        private var _location:String;
        private var _-39b:String;

        public function _-0LN(_arg1:String, _arg2:int, _arg3:String, _arg4:String, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg5, _arg6);
            this._-44i = _arg2;
            this._location = _arg3;
            this._-39b = _arg4;
        }
        public function get location():String
        {
            return (this._location);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-2zd():String
        {
            return (this._-39b);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0Lw

package _-og
{
    import flash.display.BitmapData;

    public class _-0Lw extends _-49d 
    {

        public static const _-WV:String = "RWIUE_SHOW";
        public static const COMPLETE:String = "RWIUE_COMPLETE";

        private var _-4Gj:BitmapData;
        private var _-03A:String;

        public function _-0Lw(_arg1:String, _arg2:BitmapData, _arg3:String, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
            this._-4Gj = _arg2;
            this._-03A = _arg3;
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function get clickUrl():String
        {
            return (this._-03A);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0t9

package _-og
{
    public class _-0t9 extends _-49d 
    {

        public static const _-1b2:String = "RWBIUE_HABBO_CLUB";

        private var _-1GB:int = 0;
        private var _-4w1:int = 0;
        private var _-4OD:int = 0;
        private var _-58E:Boolean = false;
        private var _-05-:int;

        public function _-0t9(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean, _arg5:int, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_-1b2, _arg6, _arg7);
            this._-1GB = _arg1;
            this._-4w1 = _arg2;
            this._-4OD = _arg3;
            this._-58E = _arg4;
            this._-05- = _arg5;
        }
        public function get _-44q():int
        {
            return (this._-1GB);
        }
        public function get _-2BH():int
        {
            return (this._-4w1);
        }
        public function get _-4iy():int
        {
            return (this._-4OD);
        }
        public function get _-3Wa():Boolean
        {
            return (this._-58E);
        }
        public function get clubLevel():int
        {
            return (this._-05-);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0Uz

package _-og
{
    public class _-0Uz extends _-49d 
    {

        public static const _-3vo:String = "RWUE_REQUEST_ME_MENU_TOOLBAR_CLICKED";
        public static const ICON_TYPE_ME_MENU:String = "ICON_TYPE_ME_MENU";
        public static const ICON_TYPE_ROOM_INFO:String = "ICON_TYPE_ROOM_INFO";

        private var _-4rp:String;
        private var _active:Boolean = false;

        public function _-0Uz(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-3vo, _arg3, _arg4);
            this._-4rp = _arg1;
            this._active = _arg2;
        }
        public function get active():Boolean
        {
            return (this._active);
        }
        public function get _-Pa():String
        {
            return (this._-4rp);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0wf

package _-og
{
    public class _-0wf extends _-49d 
    {

        public static const _-3nO:String = "RWPLUE_PET_LEVEL_UPDATE";

        private var _-b:int;
        private var _-55e:int;

        public function _-0wf(_arg1:int, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-3nO, _arg3, _arg4);
            this._-b = _arg1;
            this._-55e = _arg2;
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get level():int
        {
            return (this._-55e);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-0Yz

package _-og
{
    public class _-0Yz 
    {

        private var _-0Kq:int;
        private var _-JS:int;
        private var _name:String;
        private var _-3n1:int;
        private var _-10Y:int;
        private var _-oW:int;
        private var _-ac:Boolean;

        public function _-0Yz(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:int=-1, _arg7:Boolean=false)
        {
            this._-0Kq = _arg1;
            this._-JS = _arg2;
            this._name = _arg3;
            this._-3n1 = _arg4;
            this._-10Y = _arg5;
            this._-oW = _arg6;
            this._-ac = _arg7;
        }
        public function dispose():void
        {
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-2Ux():int
        {
            return (this._-3n1);
        }
        public function get _-ok():int
        {
            return (this._-10Y);
        }
        public function get _-3Ct():int
        {
            return (this._-oW);
        }
        public function get replace():Boolean
        {
            return (this._-ac);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-19V

package _-og
{
    public class _-19V extends _-49d 
    {

        public static const _-30R:String = "RWUTUE_USER_TAGS";

        private var _-4lu:int;
        private var _-tz:Array;
        private var _-2Lj:Boolean;

        public function _-19V(_arg1:int, _arg2:Array, _arg3:Boolean, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-30R, _arg4, _arg5);
            this._-4lu = _arg1;
            this._-tz = _arg2;
            this._-2Lj = _arg3;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get tags():Array
        {
            return (this._-tz);
        }
        public function get _-3xL():Boolean
        {
            return (this._-2Lj);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-1a6

package _-og
{
    public class _-1a6 extends _-49d 
    {

        public static const _-4KD:String = "RWRQUE_VISITOR_QUEUE_STATUS";
        public static const _-1V4:String = "RWRQUE_SPECTATOR_QUEUE_STATUS";

        private var _-oi:int;
        private var _-2Rw:Boolean;
        private var _-2UT:Boolean;
        private var _-4EF:Boolean;

        public function _-1a6(_arg1:String, _arg2:int, _arg3:Boolean, _arg4:Boolean, _arg5:Boolean, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_arg1, _arg6, _arg7);
            this._-oi = _arg2;
            this._-2Rw = _arg3;
            this._-2UT = _arg4;
            this._-4EF = _arg5;
        }
        public function get position():int
        {
            return (this._-oi);
        }
        public function get _-XH():Boolean
        {
            return (this._-2Rw);
        }
        public function get _-3Cm():Boolean
        {
            return (this._-2UT);
        }
        public function get _-0TQ():Boolean
        {
            return (this._-4EF);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-1df

package _-og
{
    import flash.display.BitmapData;

    public class _-1df extends _-49d 
    {

        public static const _-jb:String = "RWOPPUE_OPEN_PET_PACKAGE_REQUESTED";
        public static const _-3Mz:String = "RWOPPUE_OPEN_PET_PACKAGE_RESULT";
        public static const _-1Qt:String = "RWOPPUE_OPEN_PET_PACKAGE_UPDATE_PET_IMAGE";

        private var _-44i:int = -1;
        private var _-4Gj:BitmapData = null;
        private var _-4gl:int = 0;
        private var _-2dL:String = null;

        public function _-1df(_arg1:String, _arg2:int, _arg3:BitmapData, _arg4:int, _arg5:String, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_arg1, _arg6, _arg7);
            this._-44i = _arg2;
            this._-4Gj = _arg3;
            this._-4gl = _arg4;
            this._-2dL = _arg5;
        }
        public function get nameValidationStatus():int
        {
            return (this._-4gl);
        }
        public function get nameValidationInfo():String
        {
            return (this._-2dL);
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-1ji

package _-og
{
    public class _-1ji extends _-49d 
    {

        public static const _-58d:String = "RWMMUE_new_mini_mail";
        public static const _-43u:String = "RWMMUE_unread_mini_mail";

        public function _-1ji(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-og

//------------------------------------------------------------
//_-og._-1nN

package _-og
{
    import flash.events.Event;

    public class _-1nN extends Event 
    {

        public static const _-0sB:String = "hrwe_hide_room_widget";

        private var _-4V8:String;

        public function _-1nN(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-0sB, _arg2, _arg3);
            this._-4V8 = _arg1;
        }
        public function get _-3cC():String
        {
            return (this._-4V8);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-1o5

package _-og
{
    public class _-1o5 extends _-49d 
    {

        public static const _-2m:String = "RWDE_RINGING";
        public static const _-0Iv:String = "RWDE_REJECTED";
        public static const _-4C6:String = "RWDE_ACCEPTED";

        private var _-2lb:String = "";
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-1o5(_arg1:String, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-2lb = _arg2;
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-224

package _-og
{
    public class _-224 
    {

        public var _-2Ds:int;
        public var _-YT:int;
        public var _-1A8:String;
        public var userId:int;
        public var userName:String;
        public var rarityLevel:int;
        public var _-2Zg:Boolean;

    }
}//package _-og

//------------------------------------------------------------
//_-og._-2A7

package _-og
{
    public class _-2A7 extends _-49d 
    {

        public static const _-4sO:String = "RWSPE_SHOW_PLACEHOLDER";

        public function _-2A7(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-og

//------------------------------------------------------------
//_-og._-2AE

package _-og
{
    import flash.geom.Rectangle;
    import flash.geom.Point;

    public class _-2AE extends _-49d 
    {

        public static const _-Ty:String = "RWULUE_USER_LOCATION_UPDATE";

        private var _-4lu:int;
        private var _-Gw:Rectangle;
        private var _-2tm:Point;

        public function _-2AE(_arg1:int, _arg2:Rectangle, _arg3:Point, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-Ty, _arg4, _arg5);
            this._-4lu = _arg1;
            this._-Gw = _arg2;
            this._-2tm = _arg3;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get rectangle():Rectangle
        {
            return (this._-Gw);
        }
        public function get _-0u7():Point
        {
            return (this._-2tm);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-2C8

package _-og
{
    public class _-2C8 extends _-49d 
    {

        public static const _-0UG:String = "RWCCE_USER_CHOOSER_CONTENT";
        public static const _-31o:String = "RWCCE_FURNI_CHOOSER_CONTENT";

        private var _-2ZH:Array;
        private var _-1nL:Boolean;

        public function _-2C8(_arg1:String, _arg2:Array, _arg3:Boolean=false, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
            this._-2ZH = _arg2.slice();
            this._-1nL = _arg3;
        }
        public function get items():Array
        {
            return (this._-2ZH);
        }
        public function get _-3eu():Boolean
        {
            return (this._-1nL);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-2hh

package _-og
{
    public class _-2hh extends _-49d 
    {

        public static const PET_COMMANDS:String = "RWPCUE_PET_COMMANDS";
        public static const _-155:String = "RWPCUE_OPEN_PET_TRAINING";
        public static const _-3rM:String = "RWPCUE_CLOSE_PET_TRAINING";

        private var _-0Kq:int;
        private var _-Ez:Array;
        private var _-3dF:Array;

        public function _-2hh(_arg1:int, _arg2:Array, _arg3:Array, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-2hh.PET_COMMANDS, _arg4, _arg5);
            this._-0Kq = _arg1;
            this._-Ez = _arg2;
            this._-3dF = _arg3;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-O2():Array
        {
            return (this._-Ez);
        }
        public function get _-1sl():Array
        {
            return (this._-3dF);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-2KU

package _-og
{
    import flash.display.BitmapData;

    public class _-2KU extends _-49d 
    {

        public static const _-1Sl:String = "RWCUE_EVENT_CHAT";
        public static const _-0Js:int = 0;
        public static const _-cB:int = 1;
        public static const _-3Oz:int = 2;
        public static const _-3e-:int = 3;
        public static const _-Gx:int = 4;
        public static const _-47K:int = 5;
        public static const _-2ZO:int = 6;
        public static const _-29a:int = 7;
        public static const _-Kf:int = 8;
        public static const _-003:int = 9;
        public static const _-2He:int = 10;
        public static const _-1dE:int = 11;
        public static const _-3WI:int = 12;

        private var _-4lu:int = 0;
        private var _text:String = "";
        private var _-2Jm:int = 0;
        private var _-2lb:String;
        private var _-vy:Array;
        private var _-4iu:Number;
        private var _-4R-:Number;
        private var _-577:BitmapData;
        private var _-3uK:uint;
        private var _-1Rt:int;
        private var _-0wA:int;
        private var _-2Dl:int;
        private var _-4mT:int;
        private var _-2XJ:int;
        private var _-2mp:int;

        public function _-2KU(_arg1:String, _arg2:int, _arg3:String, _arg4:String, _arg5:int, _arg6:int, _arg7:int, _arg8:Number, _arg9:Number, _arg10:BitmapData, _arg11:uint, _arg12:int, _arg13:int, _arg14:int=0, _arg15:int=0, _arg16:Array=null, _arg17:Boolean=false, _arg18:Boolean=false)
        {
            super(_arg1, _arg17, _arg18);
            this._-4lu = _arg2;
            this._text = _arg3;
            this._-2Jm = _arg14;
            this._-2lb = _arg4;
            this._-2Dl = _arg5;
            this._-4mT = _arg6;
            this._-2XJ = _arg7;
            this._-vy = _arg16;
            this._-4iu = _arg8;
            this._-4R- = _arg9;
            this._-577 = _arg10;
            this._-3uK = _arg11;
            this._-1Rt = _arg12;
            this._-0wA = _arg13;
            this._-2mp = _arg15;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get _-54R():int
        {
            return (this._-2Jm);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get _-4aU():int
        {
            return (this._-2Dl);
        }
        public function get _-5EQ():int
        {
            return (this._-4mT);
        }
        public function get _-1pq():int
        {
            return (this._-2XJ);
        }
        public function get links():Array
        {
            return (this._-vy);
        }
        public function get _-1wD():Number
        {
            return (this._-4iu);
        }
        public function get _-0mE():Number
        {
            return (this._-4R-);
        }
        public function get _-3jD():BitmapData
        {
            return (this._-577);
        }
        public function get _-21():uint
        {
            return (this._-3uK);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get styleId():int
        {
            return (this._-2mp);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-2lU

package _-og
{
    import flash.display.BitmapData;

    public class _-2lU extends _-49d 
    {

        public static const _-16M:String = "RWPDUE_PACKAGEINFO";
        public static const _-4VY:String = "RWPDUE_CONTENTS";
        public static const _-4pN:String = "RWPDUE_CONTENTS_CLUB";
        public static const _-dw:String = "RWPDUE_CONTENTS_FLOOR";
        public static const _-Au:String = "RWPDUE_CONTENTS_LANDSCAPE";
        public static const _-Iy:String = "RWPDUE_CONTENTS_WALLPAPER";
        public static const _-0Xv:String = "RWPDUE_CONTENTS_IMAGE";

        private var _-44i:int = -1;
        private var _-0xc:int = 0;
        private var _-53-:String = "";
        private var _text:String;
        private var _-513:Boolean;
        private var _-4u-:BitmapData;
        private var _-4k-:String;
        private var _-2ym:String;
        private var _-Q3:int = -1;
        private var _-uf:String = "";
        private var _-Y6:Boolean;

        public function _-2lU(_arg1:String, _arg2:int, _arg3:String, _arg4:Boolean=false, _arg5:BitmapData=null, _arg6:String=null, _arg7:String=null, _arg8:Boolean=false, _arg9:Boolean=false)
        {
            super(_arg1, _arg8, _arg9);
            this._-44i = _arg2;
            this._text = _arg3;
            this._-513 = _arg4;
            this._-4u- = _arg5;
            this._-4k- = _arg6;
            this._-2ym = _arg7;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-YT():int
        {
            return (this._-0xc);
        }
        public function set _-YT(_arg1:int):void
        {
            this._-0xc = _arg1;
        }
        public function get _-15x():String
        {
            return (this._-53-);
        }
        public function set _-15x(_arg1:String):void
        {
            this._-53- = _arg1;
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get controller():Boolean
        {
            return (this._-513);
        }
        public function get _-0WZ():BitmapData
        {
            return (this._-4u-);
        }
        public function get _-48X():String
        {
            return (this._-4k-);
        }
        public function get _-1eE():String
        {
            return (this._-2ym);
        }
        public function get _-17T():int
        {
            return (this._-Q3);
        }
        public function set _-17T(_arg1:int):void
        {
            this._-Q3 = _arg1;
        }
        public function get _-3dZ():Boolean
        {
            return (this._-Y6);
        }
        public function set _-3dZ(_arg1:Boolean):void
        {
            this._-Y6 = _arg1;
        }
        public function get _-eZ():String
        {
            return (this._-uf);
        }
        public function set _-eZ(_arg1:String):void
        {
            this._-uf = _arg1;
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-2n5

package _-og
{
    import flash.display.BitmapData;

    public class _-2n5 extends _-49d 
    {

        public static const _-16M:String = "RWEBDUE_PACKAGEINFO";
        public static const _-4VY:String = "RWEBDUE_CONTENTS";

        private var _-44i:int = -1;
        private var _text:String;
        private var _-1UP:String;
        private var _-513:Boolean;
        private var _-4u-:BitmapData;

        public function _-2n5(_arg1:String, _arg2:int, _arg3:String, _arg4:String, _arg5:Boolean=false, _arg6:BitmapData=null, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_arg1, _arg7, _arg8);
            this._-44i = _arg2;
            this._text = _arg3;
            this._-1UP = _arg4;
            this._-513 = _arg5;
            this._-4u- = _arg6;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get controller():Boolean
        {
            return (this._-513);
        }
        public function get _-0WZ():BitmapData
        {
            return (this._-4u-);
        }
        public function get _-0Y5():String
        {
            return (this._-1UP);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-2wl

package _-og
{
    public class _-2wl extends _-49d 
    {

        public static const _-4Xh:String = "RWUE_WAVE";

        public function _-2wl(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-4Xh, _arg1, _arg2);
        }
    }
}//package _-og

//------------------------------------------------------------
//_-og._-2yo

package _-og
{
    public class _-2yo extends _-49d 
    {

        public static const _-bj:String = "RWSUE_SETTINGS";

        private var _-55P:Number;
        private var _-fi:Number;
        private var _-0Kj:Number;

        public function _-2yo(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg5, _arg6);
            this._-55P = _arg4;
            this._-fi = _arg3;
            this._-0Kj = _arg2;
        }
        public function get _-2Lw():Number
        {
            return (this._-55P);
        }
        public function get _-46y():Number
        {
            return (this._-fi);
        }
        public function get _-0nr():Number
        {
            return (this._-0Kj);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-318

package _-og
{
    public class _-318 
    {

        public var _-2RU:int;
        public var breeds:Array;

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3Aa

package _-og
{
    public class _-3Aa extends _-49d 
    {

        public static const _-2lA:String = "RWREUE_GAME_MODE";
        public static const _-2eP:String = "RWREUE_NORMAL_MODE";

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-3Aa(_arg1:String, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
            this._-1Rt = _arg2;
            this._-0wA = _arg3;
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3AZ

package _-og
{
    public class _-3AZ extends _-49d 
    {

        public static const _-3d9:String = "RWSDUE_STICKIE_DATA";

        private var _-44i:int = -1;
        private var _-39b:String;
        private var _text:String;
        private var _-22L:String;
        private var _-513:Boolean;

        public function _-3AZ(_arg1:String, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:Boolean, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_arg1, _arg7, _arg8);
            this._-44i = _arg2;
            this._-39b = _arg3;
            this._text = _arg4;
            this._-22L = _arg5;
            this._-513 = _arg6;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-2zd():String
        {
            return (this._-39b);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get _-2vn():String
        {
            return (this._-22L);
        }
        public function get controller():Boolean
        {
            return (this._-513);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3c

package _-og
{
    public class _-3c extends _-49d 
    {

        public static const RENTABLE_BOT:String = "RWRBIUE_RENTABLE_BOT";
        public static const _-9N:String = "RENTABLE_BOT";

        private var _name:String = "";
        private var _-2sb:String = "";
        private var _-4M1:int = 0;
        private var _-5AE:String = "";
        private var _-38s:Array;
        private var _-2L7:int = 0;
        private var _-57T:int = 0;
        private var _-2U6:int;
        private var _-237:String;
        private var _-4kI:Boolean = false;
        private var _-1rP:Boolean = false;
        private var _-3BD:int = 0;
        private var _-4PL:Array;

        public function _-3c(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            this._-38s = [];
            super(RENTABLE_BOT, _arg1, _arg2);
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function set motto(_arg1:String):void
        {
            this._-2sb = _arg1;
        }
        public function get motto():String
        {
            return (this._-2sb);
        }
        public function set _-2-w(_arg1:int):void
        {
            this._-4M1 = _arg1;
        }
        public function get _-2-w():int
        {
            return (this._-4M1);
        }
        public function set figure(_arg1:String):void
        {
            this._-5AE = _arg1;
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function set badges(_arg1:Array):void
        {
            this._-38s = _arg1;
        }
        public function get badges():Array
        {
            return (this._-38s);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function set _-nJ(_arg1:int):void
        {
            this._-2U6 = _arg1;
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function set _-0aC(_arg1:String):void
        {
            this._-237 = _arg1;
        }
        public function set _-42g(_arg1:Boolean):void
        {
            this._-4kI = _arg1;
        }
        public function get _-42g():Boolean
        {
            return (this._-4kI);
        }
        public function set _-2Hi(_arg1:int):void
        {
            this._-3BD = _arg1;
        }
        public function get _-2Hi():int
        {
            return (this._-3BD);
        }
        public function set _-36A(_arg1:Boolean):void
        {
            this._-1rP = _arg1;
        }
        public function get _-36A():Boolean
        {
            return (this._-1rP);
        }
        public function set _-1sC(_arg1:int):void
        {
            this._-2L7 = _arg1;
        }
        public function get _-1sC():int
        {
            return (this._-2L7);
        }
        public function set _-1V8(_arg1:int):void
        {
            this._-57T = _arg1;
        }
        public function get _-1V8():int
        {
            return (this._-57T);
        }
        public function get _-0zR():Array
        {
            return (this._-4PL);
        }
        public function set _-0zR(_arg1:Array):void
        {
            this._-4PL = _arg1;
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3pq

package _-og
{
    public class _-3pq extends _-49d 
    {

        public static const _-01l:String = "RWCCUE_SHOW_GENDER_SELECTION";
        public static const _-20W:String = "RWCCUE_SHOW_CLOTHING_EDITOR";

        private var _-44i:int = -1;
        private var _-1pz:int = -1;
        private var _-1Rt:int = -1;
        private var _-0wA:int = -1;

        public function _-3pq(_arg1:String, _arg2:int=0, _arg3:int=0, _arg4:int=0, _arg5:int=0, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_arg1, _arg6, _arg7);
            this._-44i = _arg2;
            this._-1pz = _arg3;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get _-4hA():int
        {
            return (this._-1pz);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3PW

package _-og
{
    public class _-3PW extends _-49d 
    {

        public static const _-3vL:String = "rwwgue_welcome_gift_widget_status";

        private var _-1iK:String;
        private var _-4rQ:Boolean;
        private var _-25M:Boolean;
        private var _-1Rh:int;
        private var _-ik:Boolean;

        public function _-3PW(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-3vL, _arg1, _arg2);
        }
        public function get email():String
        {
            return (this._-1iK);
        }
        public function get _-0KL():Boolean
        {
            return (this._-4rQ);
        }
        public function get _-1Hl():Boolean
        {
            return (this._-25M);
        }
        public function get _-4Jh():int
        {
            return (this._-1Rh);
        }
        public function get _-1bd():Boolean
        {
            return (this._-ik);
        }
        public function set email(_arg1:String):void
        {
            this._-1iK = _arg1;
        }
        public function set _-0KL(_arg1:Boolean):void
        {
            this._-4rQ = _arg1;
        }
        public function set _-1Hl(_arg1:Boolean):void
        {
            this._-25M = _arg1;
        }
        public function set _-4Jh(_arg1:int):void
        {
            this._-1Rh = _arg1;
        }
        public function set _-1bd(_arg1:Boolean):void
        {
            this._-ik = _arg1;
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3QH

package _-og
{
    public class _-3QH extends _-49d 
    {

        public static const _-1Ky:String = "RWAIE_AVATAR_INFO";

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-37w:Boolean;
        private var _-0b1:int;

        public function _-3QH(_arg1:int, _arg2:String, _arg3:int, _arg4:Boolean, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_-1Ky, _arg5, _arg6);
            this._-4lu = _arg1;
            this._-2lb = _arg2;
            this._-0b1 = _arg3;
            this._-37w = _arg4;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get _-0Jg():Boolean
        {
            return (this._-37w);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3Sk

package _-og
{
    import flash.display.BitmapData;

    public class _-3Sk extends _-49d 
    {

        public static const PET_INFO:String = "RWPIUE_PET_INFO";

        private var _-55e:int;
        private var _-4dY:int;
        private var _-Up:int;
        private var _-4oD:int;
        private var _-30x:int;
        private var _-5DQ:int;
        private var _-3FW:int;
        private var _-0Su:int;
        private var _-1Zk:int;
        private var _-1yq:int;
        private var _-4tD:int;
        private var _name:String;
        private var _-0Kq:int;
        private var _-4Gj:BitmapData;
        private var _-2XJ:int;
        private var _-cA:int;
        private var _-WO:Boolean;
        private var _-2U6:int;
        private var _-237:String;
        private var _-4uJ:Boolean;
        private var _-0b1:int;
        private var _-1EN:int;
        private var _-0Rn:Boolean;
        private var _-2uo:Boolean;
        private var _-us:Boolean;
        private var _-10S:Array;
        private var _-1BS:int;
        private var _-4PY:Boolean;
        private var _-27p:Boolean;
        private var _-1KD:int;
        private var _-2S6:int;
        private var _-1Sx:int;
        private var _-3r-:int;
        private var _-2Yx:Boolean;

        public function _-3Sk(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:BitmapData, _arg6:Boolean, _arg7:int, _arg8:String, _arg9:int, _arg10:int, _arg11:Boolean=false, _arg12:Boolean=false)
        {
            super(_-3Sk.PET_INFO, _arg11, _arg12);
            this._-2XJ = _arg1;
            this._-cA = _arg2;
            this._name = _arg3;
            this._-0Kq = _arg4;
            this._-4Gj = _arg5;
            this._-WO = _arg6;
            this._-2U6 = _arg7;
            this._-237 = _arg8;
            this._-0b1 = _arg9;
            this._-1EN = _arg10;
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-1pq():int
        {
            return (this._-2XJ);
        }
        public function get _-1Jx():int
        {
            return (this._-cA);
        }
        public function get _-00I():Boolean
        {
            return (this._-WO);
        }
        public function get _-nJ():int
        {
            return (this._-2U6);
        }
        public function get _-0aC():String
        {
            return (this._-237);
        }
        public function get _-hX():Boolean
        {
            return (this._-4uJ);
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get age():int
        {
            return (this._-4tD);
        }
        public function get _-0qy():int
        {
            return (this._-1EN);
        }
        public function get _-2U8():Boolean
        {
            return (this._-0Rn);
        }
        public function get _-0mh():Boolean
        {
            return (this._-2uo);
        }
        public function get _-4a2():Boolean
        {
            return (this._-us);
        }
        public function get _-02Z():Boolean
        {
            return (this._-4PY);
        }
        public function get _-2gH():Boolean
        {
            return (this._-27p);
        }
        public function get rarityLevel():int
        {
            return (this._-1KD);
        }
        public function get _-2YM():Array
        {
            return (this._-10S);
        }
        public function get _-3fV():int
        {
            return (this._-1BS);
        }
        public function get level():int
        {
            return (this._-55e);
        }
        public function get _-0Cc():int
        {
            return (this._-4dY);
        }
        public function get experience():int
        {
            return (this._-Up);
        }
        public function get _-2fu():int
        {
            return (this._-4oD);
        }
        public function get energy():int
        {
            return (this._-30x);
        }
        public function get _-Ds():int
        {
            return (this._-5DQ);
        }
        public function get _-4Z1():int
        {
            return (this._-3FW);
        }
        public function get _-3IJ():int
        {
            return (this._-0Su);
        }
        public function get _-193():int
        {
            return (this._-1Zk);
        }
        public function get _-4pW():int
        {
            return (this._-1yq);
        }
        public function set level(_arg1:int):void
        {
            this._-55e = _arg1;
        }
        public function set _-0Cc(_arg1:int):void
        {
            this._-4dY = _arg1;
        }
        public function set experience(_arg1:int):void
        {
            this._-Up = _arg1;
        }
        public function set _-2fu(_arg1:int):void
        {
            this._-4oD = _arg1;
        }
        public function set energy(_arg1:int):void
        {
            this._-30x = _arg1;
        }
        public function set _-Ds(_arg1:int):void
        {
            this._-5DQ = _arg1;
        }
        public function set _-4Z1(_arg1:int):void
        {
            this._-3FW = _arg1;
        }
        public function set _-3IJ(_arg1:int):void
        {
            this._-0Su = _arg1;
        }
        public function set _-193(_arg1:int):void
        {
            this._-1Zk = _arg1;
        }
        public function set _-hX(_arg1:Boolean):void
        {
            this._-4uJ = _arg1;
        }
        public function set _-4pW(_arg1:int):void
        {
            this._-1yq = _arg1;
        }
        public function set age(_arg1:int):void
        {
            this._-4tD = _arg1;
        }
        public function set _-2U8(_arg1:Boolean):void
        {
            this._-0Rn = _arg1;
        }
        public function set _-0mh(_arg1:Boolean):void
        {
            this._-2uo = _arg1;
        }
        public function set _-4a2(_arg1:Boolean):void
        {
            this._-us = _arg1;
        }
        public function set _-2YM(_arg1:Array):void
        {
            this._-10S = _arg1;
        }
        public function set _-3fV(_arg1:int):void
        {
            this._-1BS = _arg1;
        }
        public function set _-02Z(_arg1:Boolean):void
        {
            this._-4PY = _arg1;
        }
        public function set _-2gH(_arg1:Boolean):void
        {
            this._-27p = _arg1;
        }
        public function set rarityLevel(_arg1:int):void
        {
            this._-1KD = _arg1;
        }
        public function get _-0E2():int
        {
            return (this._-2S6);
        }
        public function set _-0E2(_arg1:int):void
        {
            this._-2S6 = _arg1;
        }
        public function get _-0Ez():int
        {
            return (this._-1Sx);
        }
        public function set _-0Ez(_arg1:int):void
        {
            this._-1Sx = _arg1;
        }
        public function get _-35w():int
        {
            return (this._-3r-);
        }
        public function set _-35w(_arg1:int):void
        {
            this._-3r- = _arg1;
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }
        public function set _-4td(_arg1:Boolean):void
        {
            this._-2Yx = _arg1;
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3T0

package _-og
{
    public class _-3T0 extends _-49d 
    {

        public static const _-3Wu:String = "RWPUE_VOTE_QUESTION";
        public static const _-4MV:String = "RWPUE_VOTE_RESULT";

        private var _-3L4:String;
        private var _-2vg:Array;
        private var _-0by:Array;
        private var _-3wQ:int;

        public function _-3T0(_arg1:String, _arg2:String, _arg3:Array, _arg4:Array=null, _arg5:int=0, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_arg1, _arg6, _arg7);
            this._-3L4 = _arg2;
            this._-2vg = _arg3;
            this._-0by = _arg4;
            if (this._-0by == null)
            {
                this._-0by = [];
            };
            this._-3wQ = _arg5;
        }
        public function get question():String
        {
            return (this._-3L4);
        }
        public function get choices():Array
        {
            return (this._-2vg.slice());
        }
        public function get votes():Array
        {
            return (this._-0by.slice());
        }
        public function get _-3DO():int
        {
            return (this._-3wQ);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3tl

package _-og
{
    public class _-3tl extends _-49d 
    {

        public static const _-4KM:String = "rwcere_change_email_result";

        private var _result:int;

        public function _-3tl(_arg1:int, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-4KM, _arg2, _arg3);
            this._result = _arg1;
        }
        public function get result():int
        {
            return (this._result);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3Uf

package _-og
{
    public class _-3Uf extends _-49d 
    {

        public static const _-2-Y:int = 0;
        public static const _-3Tg:int = 1;
        public static const _-64:int = 2;
        public static const _-3PT:int = 3;
        public static const _-1yI:String = "RWPPBE_PET_BREEDING_";

        private var _-0Ke:int;
        private var _-J:int;
        private var _-Js:int;

        public function _-3Uf(_arg1:Boolean=false, _arg2:Boolean=false)
        {
            super(_-1yI, _arg1, _arg2);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function set state(_arg1:int):void
        {
            this._-0Ke = _arg1;
        }
        public function get _-4Mj():int
        {
            return (this._-J);
        }
        public function set _-4Mj(_arg1:int):void
        {
            this._-J = _arg1;
        }
        public function get _-OO():int
        {
            return (this._-Js);
        }
        public function set _-OO(_arg1:int):void
        {
            this._-Js = _arg1;
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-3xt

package _-og
{
    public class _-3xt extends _-49d 
    {

        public static const _-5-I:String = "RWPUW_OFFER";
        public static const _-080:String = "RWPUW_ERROR";
        public static const _-4Z-:String = "RWPUW_CONTENT";

        private var _-0Kq:int = -1;
        private var _-fg:String;
        private var _-4Qf:int = 0;
        private var _-3Hv:String = "";
        private var _-0RV:String = "";
        private var _-s4:Array = null;

        public function _-3xt(_arg1:int, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            this._-0Kq = _arg1;
            super(_arg2, _arg3, _arg4);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get summary():String
        {
            return (this._-fg);
        }
        public function set summary(_arg1:String):void
        {
            this._-fg = _arg1;
        }
        public function get _-2ez():int
        {
            return (this._-4Qf);
        }
        public function set _-2ez(_arg1:int):void
        {
            this._-4Qf = _arg1;
        }
        public function get _-42v():String
        {
            return (this._-3Hv);
        }
        public function set _-42v(_arg1:String):void
        {
            this._-3Hv = _arg1;
        }
        public function get _-1X5():String
        {
            return (this._-0RV);
        }
        public function set _-1X5(_arg1:String):void
        {
            this._-0RV = _arg1;
        }
        public function get _-5At():Array
        {
            return (this._-s4);
        }
        public function set _-5At(_arg1:Array):void
        {
            this._-s4 = _arg1;
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-49d

package _-og
{
    import flash.events.Event;

    public class _-49d extends Event 
    {

        public static const _-AE:String = "RWUE_EVENT_TEST";

        public function _-49d(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-og

//------------------------------------------------------------
//_-og._-4AZ

package _-og
{
    public class _-4AZ extends _-49d 
    {

        public static const _-wP:String = "RWTDUE_TROPHY_DATA";

        private var _color:Number;
        private var _name:String;
        private var _-1py:String;
        private var _-2md:String;
        private var _-1Aw:int;

        public function _-4AZ(_arg1:String, _arg2:Number, _arg3:String, _arg4:String, _arg5:String, _arg6:int, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_arg1, _arg7, _arg8);
            this._color = _arg2;
            this._name = _arg3;
            this._-1py = _arg4;
            this._-2md = _arg5;
            this._-1Aw = _arg6;
        }
        public function get color():Number
        {
            return (this._color);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get date():String
        {
            return (this._-1py);
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function get _-o1():int
        {
            return (this._-1Aw);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4HQ

package _-og
{
    public class _-4HQ extends _-49d 
    {

        public static const _-0zO:String = "RWPLENPE_USER_PLAY_SONG";
        public static const _-3x8:String = "RWPLENPW_USER_STOP_SONG";
        public static const _-47G:String = "RWPLENPE_SONG_CHANGED";

        private var _-0Kq:int;
        private var _-oi:int;
        private var _priority:int;

        public function _-4HQ(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg5, _arg6);
            this._-0Kq = _arg2;
            this._-oi = _arg3;
            this._priority = _arg4;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get position():int
        {
            return (this._-oi);
        }
        public function get priority():int
        {
            return (this._priority);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4hs

package _-og
{
    public class _-4hs extends _-49d 
    {

        public static const _-1e0:String = "RWPPBE_CONFIRM_PET_BREEDING_RESULT";
        public static const _-4Ou:int = 0;
        public static const _-25I:int = 1;
        public static const _-2H3:int = 2;
        public static const INVALID_NAME:int = 3;

        private var _-03H:int;
        private var _result:int;

        public function _-4hs(_arg1:int, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-1e0, _arg3, _arg4);
            this._-03H = _arg1;
            this._result = _arg2;
        }
        public function get _-0YR():int
        {
            return (this._-03H);
        }
        public function get result():int
        {
            return (this._result);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4Iw

package _-og
{
    public class _-4Iw extends _-49d 
    {

        public static const _-Li:String = "RWFRUE_SHOW_FRIEND_REQUEST";
        public static const _-2-A:String = "RWFRUE_HIDE_FRIEND_REQUEST";

        private var _-by:int;
        private var _-4lu:int;
        private var _-2lb:String;

        public function _-4Iw(_arg1:String, _arg2:int, _arg3:int=0, _arg4:String=null, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg5, _arg6);
            this._-by = _arg2;
            this._-4lu = _arg3;
            this._-2lb = _arg4;
        }
        public function get _-0nn():int
        {
            return (this._-by);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4Iz

package _-og
{
    public class _-4Iz extends _-49d 
    {

        public static const _-4nQ:String = "RWROUE_OBJECT_SELECTED";
        public static const _-wH:String = "RWROUE_OBJECT_DESELECTED";
        public static const _-58q:String = "RWROUE_USER_REMOVED";
        public static const _-1AW:String = "RWROUE_FURNI_REMOVED";
        public static const _-1iL:String = "RWROUE_FURNI_ADDED";
        public static const _-4g3:String = "RWROUE_USER_ADDED";
        public static const _-0xH:String = "RWROUE_OBJECT_ROLL_OVER";
        public static const _-0Lm:String = "RWROUE_OBJECT_ROLL_OUT";

        private var _-0Kq:int = 0;
        private var _-JS:int = 0;
        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;

        public function _-4Iz(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_arg1, _arg6, _arg7);
            this._-0Kq = _arg2;
            this._-JS = _arg3;
            this._-1Rt = _arg4;
            this._-0wA = _arg5;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4k5

package _-og
{
    public class _-4k5 extends _-49d 
    {

        public static const _-57z:String = "RWCFUE_CREDIT_FURNI_UPDATE";

        private var _-44i:int;
        private var _-0NB:Number;

        public function _-4k5(_arg1:String, _arg2:int, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
            this._-0NB = _arg3;
            this._-44i = _arg2;
        }
        public function get _-3U9():Number
        {
            return (this._-0NB);
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4mJ

package _-og
{
    public class _-4mJ 
    {

        private var _-0Kq:int;
        private var _-JS:int;
        private var _name:String;

        public function _-4mJ(_arg1:int, _arg2:int, _arg3:String)
        {
            this._-0Kq = _arg1;
            this._-JS = _arg2;
            this._name = _arg3;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get name():String
        {
            return (this._name);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4oW

package _-og
{
    public class _-4oW extends _-49d 
    {

        public static const _-559:String = "RWPIUE_PET_STATUS_UPDATE";

        private var _-b:int;
        private var _-us:Boolean;
        private var _-4PY:Boolean;
        private var _-27p:Boolean;
        private var _-2Yx:Boolean;

        public function _-4oW(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:Boolean, _arg5:Boolean, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_-559, _arg6, _arg7);
            this._-b = _arg1;
            this._-us = _arg2;
            this._-4PY = _arg3;
            this._-27p = _arg4;
            this._-2Yx = _arg5;
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get _-4a2():Boolean
        {
            return (this._-us);
        }
        public function get _-02Z():Boolean
        {
            return (this._-4PY);
        }
        public function get _-2gH():Boolean
        {
            return (this._-27p);
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4Uf

package _-og
{
    public class _-4Uf extends _-49d 
    {

        public static const _-2qN:String = "RWONE_TYPE";

        private var _-4lu:int;
        private var _-JS:int;
        private var _-2lb:String;
        private var _-0b1:int;

        public function _-4Uf(_arg1:int, _arg2:int, _arg3:String, _arg4:int)
        {
            this._-4lu = _arg1;
            this._-JS = _arg2;
            this._-2lb = _arg3;
            this._-0b1 = _arg4;
            super(_-2qN, false, false);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get category():int
        {
            return (this._-JS);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4wy

package _-og
{
    public class _-4wy 
    {

        private var _-0Kq:int = 0;
        private var _-5K:int = 0;
        private var _color:uint = 0;
        private var _-3Ar:uint = 0;

        public function _-4wy(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint)
        {
            this._-0Kq = _arg1;
            this._-5K = _arg2;
            this._color = _arg3;
            this._-3Ar = _arg4;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-IP():int
        {
            return (this._-3Ar);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4XG

package _-og
{
    import flash.display.BitmapData;

    public class _-4XG extends _-49d 
    {

        public static const _-18W:String = "RWPIUE_PET_FIGURE_UPDATE";

        private var _-b:int;
        private var _-4Gj:BitmapData;

        public function _-4XG(_arg1:int, _arg2:BitmapData, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-18W, _arg3, _arg4);
            this._-b = _arg1;
            this._-4Gj = _arg2;
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get image():BitmapData
        {
            return (this._-4Gj);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-4yE

package _-og
{
    public class _-4yE extends _-49d 
    {

        public static const _-Zd:String = "HHTPNUFWE_AE_STARTED";
        public static const _-1cg:String = "HHTPNUFWE_AE_HIGHLIGHT";

        public function _-4yE(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-og

//------------------------------------------------------------
//_-og._-50A

package _-og
{
    import flash.geom.Rectangle;
    import flash.geom.Point;

    public class _-50A extends _-49d 
    {

        public static const _-4OE:String = "RWRVUE_ROOM_VIEW_SIZE_CHANGED";
        public static const _-bZ:String = "RWRVUE_ROOM_VIEW_SCALE_CHANGED";
        public static const _-4At:String = "RWRVUE_ROOM_VIEW_POSITION_CHANGED";

        private var _-1PX:Rectangle;
        private var _-3FE:Point;
        private var _-3Tb:Number = 0;

        public function _-50A(_arg1:String, _arg2:Rectangle=null, _arg3:Point=null, _arg4:Number=0, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg5, _arg6);
            this._-1PX = _arg2;
            this._-3FE = _arg3;
            this._-3Tb = _arg4;
        }
        public function get rect():Rectangle
        {
            if (this._-1PX != null)
            {
                return (this._-1PX.clone());
            };
            return (null);
        }
        public function get _-kf():Point
        {
            if (this._-3FE != null)
            {
                return (this._-3FE.clone());
            };
            return (null);
        }
        public function get scale():Number
        {
            return (this._-3Tb);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-5-J

package _-og
{
    public class _-5-J extends _-49d 
    {

        public static const _-0lZ:String = "RWPBRE_PET_BREEDING_RESULT";

        private var _-4RU:_-224;
        private var _resultData2:_-224;

        public function _-5-J(_arg1:_-224, _arg2:_-224, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-0lZ, _arg3, _arg4);
            this._-4RU = _arg1;
            this._resultData2 = _arg2;
        }
        public function get class():_-224
        {
            return (this._-4RU);
        }
        public function get resultData2():_-224
        {
            return (this._resultData2);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-8o

package _-og
{
    public class _-8o 
    {

        public var name:String;
        public var level:int;
        public var figure:String;
        public var owner:String;
        public var _-2HY:int;

    }
}//package _-og

//------------------------------------------------------------
//_-og._-9m

package _-og
{
    public class _-9m extends _-49d 
    {

        public static const _-2Mz:String = "RWUEUE_UPDATE_EFFECTS";

        private var _-Xa:Array;

        public function _-9m(_arg1:Array=null, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-2Mz, _arg2, _arg3);
            this._-Xa = _arg1;
        }
        public function get effects():Array
        {
            return (this._-Xa);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-B1

package _-og
{
    public class _-B1 extends _-49d 
    {

        public static const _-3-q:String = "RWPUE_CREDIT_BALANCE";
        public static const _-2Jv:String = "RWPUE_PIXEL_BALANCE";
        public static const _-Zk:String = "RWPUE_SHELL_BALANCE";

        private var _-04q:int;

        public function _-B1(_arg1:String, _arg2:int, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-04q = _arg2;
        }
        public function get balance():int
        {
            return (this._-04q);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-d0

package _-og
{
    public class _-d0 extends _-49d 
    {

        public static const _-28B:String = "RWFCE_FLOOD_CONTROL";

        private var _-0X:int = 0;

        public function _-d0(_arg1:int)
        {
            super(_-28B, false, false);
            this._-0X = _arg1;
        }
        public function get seconds():int
        {
            return (this._-0X);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-KP

package _-og
{
    public class _-KP extends _-49d 
    {

        public static const _-1rj:String = "RWUE_HIDE_AVATAR_EDITOR";
        public static const _-4Zi:String = "RWUE_AVATAR_EDITOR_CLOSED";

        public function _-KP(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package _-og

//------------------------------------------------------------
//_-og._-Rz

package _-og
{
    public class _-Rz extends _-49d 
    {

        public static const _-2gi:String = "RWWCIDE_CHAT_INPUT_CONTENT";
        public static const _-87:String = "whisper";
        public static const _-1Bc:String = "shout";

        private var _-1v2:String = "";
        private var _-2lb:String = "";

        public function _-Rz(_arg1:String, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-2gi, _arg3, _arg4);
            this._-1v2 = _arg1;
            this._-2lb = _arg2;
        }
        public function get _-1LL():String
        {
            return (this._-1v2);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-S5

package _-og
{
    public class _-S5 extends _-49d 
    {

        public static const _-16s:String = "RWPPBE_CONFIRM_PET_BREEDING_";

        private var _-2lc:int;
        private var _pet1:_-8o;
        private var _pet2:_-8o;
        private var _-15y:Array;
        private var _-0V8:int;

        public function _-S5(_arg1:int, _arg2:_-8o, _arg3:_-8o, _arg4:Array, _arg5:int, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_-16s, _arg6, _arg7);
            this._-2lc = _arg1;
            this._pet1 = _arg2;
            this._pet2 = _arg3;
            this._-15y = _arg4;
            this._-0V8 = _arg5;
        }
        public function get _-4pB():Array
        {
            return (this._-15y);
        }
        public function get _-4rm():int
        {
            return (this._-2lc);
        }
        public function get pet1():_-8o
        {
            return (this._pet1);
        }
        public function get pet2():_-8o
        {
            return (this._pet2);
        }
        public function get _-086():int
        {
            return (this._-0V8);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-Ve

package _-og
{
    public class _-Ve extends _-49d 
    {

        public static const _-0lg:String = "RWUE_DANCE";

        private var _-bl:int;

        public function _-Ve(_arg1:int, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-0lg, _arg2, _arg3);
            this._-bl = _arg1;
        }
        public function get style():int
        {
            return (this._-bl);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og._-Zn

package _-og
{
    public class _-Zn extends _-49d 
    {

        public static const _-4Jx:String = "RWSUE_PLAYING_CHANGED";
        public static const _-1uK:String = "RWSUE_DATA_RECEIVED";

        private var _-0hW:int;
        private var _-3vA:String;
        private var _-4w-:String;

        public function _-Zn(_arg1:String, _arg2:int, _arg3:String, _arg4:String, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_arg1, _arg5, _arg6);
            this._-0hW = _arg2;
            this._-3vA = _arg3;
            this._-4w- = _arg4;
        }
        public function get _-FX():int
        {
            return (this._-0hW);
        }
        public function get _-cq():String
        {
            return (this._-3vA);
        }
        public function get _-0Hj():String
        {
            return (this._-4w-);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-og.RoomWidgetDimmerUpdateEvent

package _-og
{
    public class RoomWidgetDimmerUpdateEvent extends _-49d 
    {

        public static const _-1oZ:String = "RWDUE_PRESETS";
        public static const _-Ne:String = "RWDUE_HIDE";

        private var _-39n:int = 0;
        private var _-0HN:Array;

        public function RoomWidgetDimmerUpdateEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            this._-0HN = new Array();
            super(_arg1, _arg2, _arg3);
        }
        public function get _-39D():int
        {
            return (this._-39n);
        }
        public function get _-Mr():int
        {
            return (this._-0HN.length);
        }
        public function get _-VR():Array
        {
            return (this._-0HN);
        }
        public function set _-39D(_arg1:int):void
        {
            this._-39n = _arg1;
        }
        public function _-5ER(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:_-4wy = new _-4wy(_arg1, _arg2, _arg3, _arg4);
            this._-0HN[(_arg1 - 1)] = k;
        }
        public function _-1I7(_arg1:int):_-4wy
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-0HN.count))))
            {
                return (null);
            };
            return (this._-0HN[_arg1]);
        }

    }
}//package _-og

//------------------------------------------------------------
//_-om._-2SM

package _-om
{
    import _-1B-._-Px;
    import _-3gx._-4BJ;
    import _-1Jd._-51K;
    import _-4pF._-3Ts;
    import _-3X8._-0hg;
    import _-3Zp._-1bw;
    import _-35b._-a8;
    import _-4Kb._-3nt;
    import _-293._-5-S;
    import _-4Wu._-4uR;
    import _-0mD._-2Jq;
    import _-3vb._-3b;
    import _-295._-39L;
    import _-2Gc._-1eu;
    import _-2Gc._-56A;
    import _-1Jd._-45k;
    import _-52B._-1DW;
    import _-2yg.SingularNotificationController;
    import com.sulake.iid.IIDHabboInventory;
    import com.sulake.iid.IIDHabboFriendList;
    import com.sulake.iid.IIDSessionDataManager;
    import com.sulake.iid.IIDAvatarRenderManager;
    import com.sulake.iid.IIDHabboCommunicationManager;
    import com.sulake.iid.IIDRoomEngine;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import com.sulake.iid.IIDHabboCatalog;
    import com.sulake.iid.IIDHabboToolbar;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDHabboRoomSessionManager;
    import _-1B-._-5CE;
    import _-1B-._-Wo;
    import _-1B-._-4yI;
    import _-0Pi._-4tk;

    public class _-2SM extends _-Px implements _-3MJ 
    {

        private var _-0ud:_-4BJ;
        private var _-0pW:_-51K;
        private var _-U-:_-3Ts;
        private var _-cU:_-0hg;
        private var _-YX:_-1bw;
        private var _-Ie:_-a8;
        private var _-47n:_-3nt;
        private var _-0tK:_-5-S;
        private var _-0Xx:_-4uR;
        private var _-3oJ:_-2Jq;
        private var _-2lI:_-3b;
        private var _-AV:_-39L;
        private var _-LL:_-1eu;
        private var _-2Yj:_-56A;
        private var _-16k:_-45k;
        private var _-S3:_-1DW;
        private var _-4da:SingularNotificationController;
        private var _-0G9:IncomingMessages;
        private var _-CN:Boolean;
        private var _-3WC:Boolean;

        public function _-2SM(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
            this._-AV = _arg3;
            this._-CN = false;
            queueInterface(new IIDHabboInventory(), this._-3SD);
            queueInterface(new IIDHabboFriendList(), this._-2Xx);
            queueInterface(new IIDSessionDataManager(), this._-2fz);
            queueInterface(new IIDAvatarRenderManager(), this._-PS);
            queueInterface(new IIDHabboCommunicationManager(), this._-0tq);
            queueInterface(new IIDRoomEngine(), this._-2XA);
            queueInterface(new IIDHabboConfigurationManager(), this._-nh);
            queueInterface(new IIDHabboCatalog(), this._-0VH);
            queueInterface(new IIDHabboToolbar(), this._-WY);
            queueInterface(new IIDHabboLocalizationManager(), this._-3V9);
            queueInterface(new IIDHabboWindowManager(), this._-1bB);
            queueInterface(new IIDHabboRoomSessionManager(), this._-412);
        }
        public function get assetLibrary():_-39L
        {
            return (this._-AV);
        }
        public function get windowManager():_-3Ts
        {
            return (this._-U-);
        }
        public function get localization():_-0hg
        {
            return (this._-cU);
        }
        public function get sessionDataManager():_-51K
        {
            return (this._-0pW);
        }
        public function get _-1ED():_-45k
        {
            return (this._-16k);
        }
        public function get roomEngine():_-5-S
        {
            return (this._-0tK);
        }
        public function get catalog():_-2Jq
        {
            return (this._-3oJ);
        }
        public function get _-ae():_-3b
        {
            return (this._-2lI);
        }
        public function get config():_-4uR
        {
            return (this._-0Xx);
        }
        public function get _-4zV():_-a8
        {
            return (this._-Ie);
        }
        public function get inventory():_-1bw
        {
            return (this._-YX);
        }
        public function get _-1md():SingularNotificationController
        {
            return (this._-4da);
        }
        public function get _-1n():_-1DW
        {
            return (this._-S3);
        }
        public function get disabled():Boolean
        {
            return (this._-CN);
        }
        public function set disabled(_arg1:Boolean):void
        {
            this._-CN = _arg1;
        }
        public function get _-3i5():_-1eu
        {
            if (!this._-3WC)
            {
                return (null);
            };
            if (!this._-LL)
            {
                this._-LL = new _-1eu(this._-0tK, this._-YX);
            };
            return (this._-LL);
        }
        public function get _-4D7():_-56A
        {
            if (!this._-3WC)
            {
                return (null);
            };
            if (!this._-2Yj)
            {
                this._-2Yj = new _-56A(this._-0tK);
            };
            return (this._-2Yj);
        }
        override public function dispose():void
        {
            if (this._-47n)
            {
                this._-47n.release(new IIDAvatarRenderManager());
                this._-47n = null;
            };
            if (this._-3oJ)
            {
                this._-3oJ.release(new IIDHabboCatalog());
                this._-3oJ = null;
            };
            if (this._-0ud)
            {
                this._-0ud.release(new IIDHabboCommunicationManager());
                this._-0ud = null;
            };
            if (this._-0Xx)
            {
                this._-0Xx.release(new IIDHabboConfigurationManager());
                this._-0Xx = null;
            };
            if (this._-Ie)
            {
                this._-Ie.release(new IIDHabboFriendList());
                this._-Ie = null;
            };
            if (this._-YX)
            {
                this._-YX.release(new IIDHabboInventory());
                this._-YX = null;
            };
            if (this._-cU)
            {
                this._-cU.release(new IIDHabboLocalizationManager());
                this._-cU = null;
            };
            if (this._-0tK)
            {
                this._-0tK.release(new IIDRoomEngine());
                this._-0tK = null;
            };
            if (this._-0pW)
            {
                this._-0pW.release(new IIDSessionDataManager());
                this._-0pW = null;
            };
            if (this._-U-)
            {
                this._-U-.release(new IIDHabboWindowManager());
                this._-U- = null;
            };
            if (this._-16k)
            {
                this._-16k.release(new IIDHabboRoomSessionManager());
                this._-16k = null;
            };
            if (this._-0G9)
            {
                this._-0G9.dispose();
                this._-0G9 = null;
            };
            if (this._-S3)
            {
                this._-S3.dispose();
                this._-S3 = null;
            };
            if (this._-2Yj)
            {
                this._-2Yj.dispose();
                this._-2Yj = null;
            };
            if (this._-LL)
            {
                this._-LL.dispose();
                this._-LL = null;
            };
            this._-3WC = false;
            super.dispose();
        }
        private function _-412(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-16k = (_arg2 as _-45k);
            this._-gA();
        }
        private function _-0tq(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0ud = _-4BJ(_arg2);
            this._-gA();
        }
        private function _-1bB(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-U- = _-3Ts(_arg2);
            this._-gA();
        }
        private function _-3V9(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-cU = (_arg2 as _-0hg);
            this._-gA();
        }
        private function _-3SD(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-YX = (_arg2 as _-1bw);
            this._-gA();
        }
        private function _-2Xx(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-Ie = (_arg2 as _-a8);
            this._-gA();
        }
        private function _-PS(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            if (disposed)
            {
                return;
            };
            this._-47n = (_arg2 as _-3nt);
            this._-gA();
        }
        private function _-2fz(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0pW = (_arg2 as _-51K);
            this._-gA();
        }
        private function _-2XA(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0tK = (_arg2 as _-5-S);
            this._-gA();
        }
        private function _-nh(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-0Xx = (_arg2 as _-4uR);
            this._-gA();
        }
        private function _-0VH(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-3oJ = (_arg2 as _-2Jq);
            this._-gA();
        }
        private function _-WY(_arg1:_-Wo=null, _arg2:_-4yI=null):void
        {
            this._-2lI = (_arg2 as _-3b);
            this._-gA();
        }
        private function _-gA():void
        {
            if (((((((((((((((((((((((!(this._-3WC)) && (this._-0tK))) && (this._-0Xx))) && (this._-2lI))) && (this._-0pW))) && (this._-AV))) && (this._-47n))) && (this._-0ud))) && (this._-3oJ))) && (this._-YX))) && (this._-cU))) && (this._-16k)))
            {
                this._-3WC = true;
                this._-4da = new SingularNotificationController(this);
                this._-0G9 = new IncomingMessages(this, this._-0ud);
            };
        }
        public function activate():void
        {
            if (this._-S3)
            {
                this._-S3._-45D(true);
            };
            this._-0ud._-4gR(null).send(new _-4tk());
        }
        public function _-13P(_arg1:String):void
        {
            this._-4da._-13P(_arg1);
        }
        public function _-2Mp(_arg1:String, _arg2:String):void
        {
            this._-4da._-2Mp(_arg1, _arg2);
        }

    }
}//package _-om

//------------------------------------------------------------
//_-om._-2sU

package _-om
{
    public class _-2sU 
    {

        public static const _-3bp:String = "friendoffline";
        public static const _-0QW:String = "friendonline";
        public static const _-34Y:String = "thirdpartyfriendoffline";
        public static const _-1wd:String = "thirdpartyfriendonline";
        public static const _-1lQ:String = "achievement";
        public static const _-as:String = "badge_received";
        public static const _-4Ei:String = "info";
        public static const _-FM:String = "recyclerok";
        public static const _-4P8:String = "respect";
        public static const _-1b2:String = "club";
        public static const _-4cl:String = "soundmachine";
        public static const _-ib:String = "petlevel";
        public static const _-0Vo:String = "clubgift";
        public static const _-21A:String = "buyfurni";
        public static const _-1pk:String = "vip";
        public static const _-2sY:String = "roommessagesposted";

    }
}//package _-om

//------------------------------------------------------------
//_-om._-3MJ

package _-om
{
    import _-1B-.*;

    public interface _-3MJ extends _-4yI 
    {

        function _-13P(_arg1:String):void;
        function _-2Mp(_arg1:String, _arg2:String):void;

    }
}//package _-om

//------------------------------------------------------------
//_-om._-b6

package _-om
{
    public class _-b6 
    {

        public static const _-Q7:int = 0;
        public static const _-3Zw:int = 1;
        public static const _-212:int = 2;

    }
}//package _-om

//------------------------------------------------------------
//_-om.IncomingMessages

package _-om
{
    import _-3gx._-4BJ;
    import _-1HK._-4Pw;
    import _-0Yg._-0pH;
    import _-0Yg._-0nq;
    import _-0Yg._-2Iz;
    import _-0Yg._-1iU;
    import _-2It._-0G3;
    import _-48G._-EM;
    import _-1pi._-1wP;
    import _-0Yg._-0XG;
    import _-1Vw._-OM;
    import _-1Vw._-4Dg;
    import _-4zR._-1b-;
    import _-4zR._-33r;
    import _-4zR._-4dE;
    import _-wm._-3LQ;
    import _-1Q8._-567;
    import _-0Yg._-4Sc;
    import _-0Yi._-4kA;
    import _-0Z1._-6D;
    import _-0Yg._-3vt;
    import _-48G._-1dA;
    import _-1LV._-4j2;
    import _-2JC._-2k3;
    import _-Fu._-1Fl;
    import _-2qO._-4lw;
    import _-2yg._-4EL;
    import flash.utils.getTimer;
    import _-52B.FeedSettings;
    import _-4Aj._-0tL;
    import _-2yg._-2FM;
    import _-uF.ILocalization;
    import _-3wI._-3Bv;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-48G._-4hq;
    import _-4n1._-0hX;
    import _-32F._-48b;
    import _-2iw._-ji;
    import _-48G._-16p;
    import _-28d._-4Js;
    import _-0qO._-0U4;
    import _-0qO._-2KC;
    import _-8p._-H3;
    import _-8p._-1OS;
    import _-8p._-ei;
    import _-0B2._-0Pa;
    import _-Os.PetFigureData;
    import _-2qO._-4qF;
    import _-Os._-21K;
    import _-Os._-1eS;
    import _-2qO._-vi;
    import _-2vN._-41m;
    import _-2qO._-3TG;
    import _-3wm._-f4;
    import _-0Ie.WindowEvent;
    import _-3Bn._-1Ii;
    import _-2qO._-vn;
    import _-2iw._-0en;

    public class IncomingMessages 
    {

        private var _-49A:_-2SM;
        private var _-0ud:_-4BJ;

        public function IncomingMessages(_arg1:_-2SM, _arg2:_-4BJ)
        {
            this._-49A = _arg1;
            this._-0ud = _arg2;
            this._-0ud.addHabboConnectionMessageEvent(new _-4Pw(this._-4dy));
            this._-0ud.addHabboConnectionMessageEvent(new _-0pH(this._-0Eg));
            this._-0ud.addHabboConnectionMessageEvent(new _-0nq(this._-2Fg));
            this._-0ud.addHabboConnectionMessageEvent(new _-2Iz(this._-0LT));
            this._-0ud.addHabboConnectionMessageEvent(new _-1iU(this._-4t2));
            this._-0ud.addHabboConnectionMessageEvent(new _-0G3(this._-23D));
            this._-0ud.addHabboConnectionMessageEvent(new _-EM(this._-26f));
            this._-0ud.addHabboConnectionMessageEvent(new _-1wP(this._-43r));
            this._-0ud.addHabboConnectionMessageEvent(new _-0XG(this._-9p));
            this._-0ud.addHabboConnectionMessageEvent(new _-OM(this._-3Zh));
            this._-0ud.addHabboConnectionMessageEvent(new _-4Dg(this._-1lK));
            this._-0ud.addHabboConnectionMessageEvent(new _-1b-(this._-4Q5));
            this._-0ud.addHabboConnectionMessageEvent(new _-33r(this._-2c5));
            this._-0ud.addHabboConnectionMessageEvent(new _-4dE(this._-4zB));
            this._-0ud.addHabboConnectionMessageEvent(new _-3LQ(this._-3WH));
            this._-0ud.addHabboConnectionMessageEvent(new _-567(this._-0TW));
            this._-0ud.addHabboConnectionMessageEvent(new _-4Sc(this._-2V6));
            this._-0ud.addHabboConnectionMessageEvent(new _-4kA(this._-3KJ));
            this._-0ud.addHabboConnectionMessageEvent(new _-6D(this._-0D9));
            this._-0ud.addHabboConnectionMessageEvent(new _-3vt(this._-4RW));
            this._-0ud.addHabboConnectionMessageEvent(new _-1dA(this._-3Gs));
            this._-0ud.addHabboConnectionMessageEvent(new _-4j2(this._-0OI));
            if (this._-1-d())
            {
                this._-0ud.addHabboConnectionMessageEvent(new _-2k3(this._-2Ry));
            };
        }
        public function dispose():void
        {
            this._-49A = null;
            this._-0ud = null;
        }
        private function _-1-d():Boolean
        {
            return (this._-49A.config.getBoolean("notification.feed.enabled", false));
        }
        private function _-Z4():Boolean
        {
            return (this._-49A.config.getBoolean("notification.items.enabled", true));
        }
        function _-0Eg(_arg1:_-0tL):void
        {
            var k:String;
            var k:_-1Fl;
            var k:_-0pH = (_arg1 as _-0pH);
            var k:_-4lw = (k._-3-5() as _-4lw);
            if (((k.messages) && ((k.messages.length > 0))))
            {
                if (this._-Z4())
                {
                    new _-4EL(k.messages, this._-49A.assetLibrary, this._-49A.windowManager);
                };
                if (this._-1-d())
                {
                    for each (k in k.messages)
                    {
                        k = new _-1Fl();
                        k.title = k;
                        k.timeStamp = getTimer();
                        this._-49A._-1n._-3HN(FeedSettings._-0vH, k);
                    };
                };
            };
        }
        function _-4dy(_arg1:_-0tL):void
        {
            this._-49A.activate();
        }
        function _-4t2(_arg1:_-0tL):void
        {
            var k:_-1iU = (_arg1 as _-1iU);
            new _-2FM(k._-3xk, k.realName, this._-49A.assets, this._-49A.windowManager, this._-49A.localization);
        }
        function _-23D(_arg1:_-0tL):void
        {
            var k:ILocalization;
            var k:ILocalization;
            var k:_-0G3 = (_arg1 as _-0G3);
            if (this._-49A.sessionDataManager.userId == k.userId)
            {
                this._-49A.localization.registerParameter("notifications.text.respect.2", "count", String(k._-vG));
                k = this._-49A.localization.getLocalization("notifications.text.respect.1");
                k = this._-49A.localization.getLocalization("notifications.text.respect.2");
                if (k)
                {
                    this._-49A._-1md._-0df(k.value, _-2sU._-4P8, null);
                };
                if (k)
                {
                    this._-49A._-1md._-0df(k.value, _-2sU._-4P8, null);
                };
            };
        }
        private function _-0OI(_arg1:_-4j2):void
        {
            var k:ILocalization;
            var k:_-3Bv = _arg1._-3-5();
            var k:String = _-2sU._-2sY;
            this._-49A.localization.registerParameter("notifications.text.room.messages.posted", "room_name", k.roomName);
            this._-49A.localization.registerParameter("notifications.text.room.messages.posted", "messages_count", k._-4Vw.toString());
            k = this._-49A.localization.getLocalization("notifications.text.room.messages.posted");
            var k:BitmapDataAsset = (this._-49A.assets.getAssetByName("if_icon_temp_png") as BitmapDataAsset);
            var k:BitmapData = (k.content as BitmapData);
            if (k)
            {
                this._-49A._-1md._-0df(k.value, k, k.clone());
            };
        }
        private function _-26f(_arg1:_-0tL):void
        {
            var k:_-4hq;
            var k:_-0hX;
            var k:ILocalization;
            var _local9:_-48b;
            var k:_-1Fl;
            var k:_-EM = (_arg1 as _-EM);
            var k:_-ji = k._-3-5();
            var k:_-16p = k.offer;
            var k:BitmapData;
            if (k == null)
            {
                return;
            };
            for each (k in k.products)
            {
                if (k)
                {
                    if (k._-5DX == _-4hq._-5Ds)
                    {
                        k = this._-49A.sessionDataManager._-LX(k._-3Zu);
                    }
                    else
                    {
                        if (k._-5DX == _-4hq._-0xA)
                        {
                            k = this._-49A.sessionDataManager._-3LT(k._-3Zu);
                        };
                    };
                    k = this._-49A._-3i5._-0uo(k._-5DX, k._-3Zu, k._-1gg);
                    if (((k) && (!((k.title == "")))))
                    {
                        this._-49A.localization.registerParameter("notifications.text.purchase.ok", "productName", k.title);
                    }
                    else
                    {
                        _local9 = this._-49A.sessionDataManager.getProductData(k._-5Dp);
                        if (_local9)
                        {
                            this._-49A.localization.registerParameter("notifications.text.purchase.ok", "productName", _local9.name);
                        };
                    };
                    k = this._-49A.localization.getLocalization("notifications.text.purchase.ok");
                    if (k)
                    {
                        if (this._-Z4())
                        {
                            this._-49A._-1md._-0df(k.value, _-2sU._-21A, k);
                        };
                        if (this._-1-d())
                        {
                            k = new _-1Fl();
                            k.title = k.value;
                            k._-3VJ = k;
                            k.timeStamp = getTimer();
                            this._-49A._-1n._-3HN(FeedSettings._-0vH, k);
                        };
                    };
                };
            };
            _-Nb.log("[HabboNotifications] purchase ok");
        }
        private function _-43r(_arg1:_-0tL):void
        {
            var k:_-4Js = (_arg1 as _-1wP)._-3-5();
            if ((((k == null)) || (!((k._-U8 == _-1wP._-1UG)))))
            {
                return;
            };
            var k:ILocalization = this._-49A.localization.getLocalization("notifications.text.recycle.ok");
            if (k)
            {
                this._-49A._-1md._-0df(k.value, _-2sU._-FM, null);
            };
            _-Nb.log("[HabboNotifications] recycle ok");
        }
        private function _-9p(_arg1:_-0tL):void
        {
            var k:_-0XG = (_arg1 as _-0XG);
            if (k != null)
            {
                this._-49A.disabled = !(k.enabled);
            };
        }
        private function _-3Zh(_arg1:_-0tL):void
        {
            var k:_-1Fl;
            var k:_-0U4 = (_arg1 as _-OM)._-3-5();
            if ((((k == null)) || ((this._-49A._-1md._-4Cj == null))))
            {
                return;
            };
            if (this._-Z4())
            {
                this._-49A._-1md._-4Cj._-0nt(k.message, k.url);
            };
            if (this._-1-d())
            {
                k = new _-1Fl();
                k.title = k.message;
                k._-00k = k.url;
                k._-0lq = k.url;
                k.timeStamp = getTimer();
                this._-49A._-1n._-3HN(FeedSettings._-0vH, k);
            };
        }
        private function _-1lK(_arg1:_-0tL):void
        {
            var k:_-2KC = (_arg1 as _-4Dg)._-3-5();
            if ((((k == null)) || ((this._-49A._-1md._-4Cj == null))))
            {
                return;
            };
            this._-49A._-1md._-4Cj._-0EK(k.message);
        }
        private function _-4Q5(_arg1:_-0tL):void
        {
            var k:_-H3 = (_arg1 as _-1b-)._-3-5();
            if ((((k == null)) || ((this._-49A._-1md._-4Cj == null))))
            {
                return;
            };
            this._-49A._-1md._-4Cj._-0k3(k.minutesUntilClosing);
        }
        private function _-2c5(_arg1:_-0tL):void
        {
            var k:_-1OS = (_arg1 as _-33r)._-3-5();
            if ((((k == null)) || ((this._-49A._-1md._-4Cj == null))))
            {
                return;
            };
            this._-49A._-1md._-4Cj._-1Qe(k.openHour, k.openMinute, k.userThrownOutAtClose);
        }
        private function _-4zB(_arg1:_-0tL):void
        {
            var k:_-ei = (_arg1 as _-4dE)._-3-5();
            if ((((k == null)) || ((this._-49A._-1md._-4Cj == null))))
            {
                return;
            };
            this._-49A._-1md._-4Cj._-4c2(k.openHour, k.openMinute);
        }
        private function _-3WH(_arg1:_-0tL):void
        {
            var k:_-0Pa = (_arg1 as _-3LQ)._-3-5();
            this._-49A._-1md._-0e9(k.reason);
        }
        private function _-2V6(_arg1:_-4Sc):void
        {
            var k:PetFigureData;
            var k:BitmapData;
            if (_arg1 == null)
            {
                return;
            };
            var k:_-4qF = _arg1._-3-5();
            this._-49A.localization.registerParameter("notifications.text.petlevel", "pet_name", k.petName);
            this._-49A.localization.registerParameter("notifications.text.petlevel", "level", k.level.toString());
            var k:ILocalization = this._-49A.localization.getLocalization("notifications.text.petlevel");
            if (k)
            {
                k = k.figureData;
                k = this._-49A._-4D7._-2s2(k.typeId, k.paletteId, k.color);
                this._-49A._-1md._-0df(k.value, _-2sU._-ib, k);
            };
        }
        private function _-3KJ(_arg1:_-4kA):void
        {
            var k:ILocalization;
            var k:_-21K;
            var k:BitmapData;
            if (_arg1 == null)
            {
                return;
            };
            var k:_-1eS = _arg1._-3-5();
            if (k._-3rt)
            {
                k = this._-49A.localization.getLocalization("notifications.text.petbought");
            }
            else
            {
                k = this._-49A.localization.getLocalization("notifications.text.petreceived");
            };
            if (k)
            {
                k = k.pet;
                k = this._-49A._-4D7._-2s2(k.typeId, k.paletteId, k.color);
                this._-49A._-1md._-0df(k.value, _-2sU._-ib, k);
            };
        }
        private function _-0TW(_arg1:_-0tL):void
        {
            this._-49A._-1md._-12v();
        }
        private function _-2Fg(_arg1:_-0tL):void
        {
            var k:_-vi = (_arg1 as _-0nq)._-3-5();
            var k:String = k._-0bv;
            var k:RegExp = /\\r/g;
            k = k.replace(k, "\r");
            this._-49A.windowManager.simpleAlert("${notifications.broadcast.title}", "", k, "", "", _-41m._-3ph);
        }
        private function _-0LT(_arg1:_-2Iz):void
        {
            var k:_-3TG = _arg1._-3-5();
            this._-49A.windowManager.simpleAlert(k.caption, k._-1IZ, k.message.replace(/\\r/g, "\r"), k._-4N9, k._-1Qa, k.illustration);
        }
        private function _-0D9(_arg1:_-0tL):void
        {
            var k:_-f4 = (_arg1 as _-6D)._-3-5();
            this._-49A.localization.registerParameter("room.error.pets.respectfailed", "required_age", ("" + k._-3Gh));
            this._-49A.localization.registerParameter("room.error.pets.respectfailed", "avatar_age", ("" + k._-2X8));
            this._-49A.windowManager.alert("${error.title}", "${room.error.pets.respectfailed}", 0, this._-23e);
        }
        public function _-23e(_arg1:_-1Ii, _arg2:WindowEvent):void
        {
            if ((((_arg2.type == WindowEvent._-0-9)) || ((_arg2.type == WindowEvent._-4dG))))
            {
                _arg1.dispose();
            };
        }
        private function _-4RW(_arg1:_-3vt):void
        {
            if (!_arg1)
            {
                return;
            };
            var k:_-vn = _arg1._-3-5();
            if (!k)
            {
                return;
            };
            if (k._-0YY < 1)
            {
                return;
            };
            this._-49A._-1md._-F8(k._-0YY);
        }
        private function _-3Gs(_arg1:_-1dA):void
        {
            if (((!(_arg1)) || (!(this._-49A.localization))))
            {
                return;
            };
            var k:_-0en = _arg1._-3-5();
            if (!k)
            {
                return;
            };
            var k:Array = k.products;
            if (((!(k)) || ((k.length == 0))))
            {
                return;
            };
            var k:_-4hq = (k[0] as _-4hq);
            if (!k)
            {
                return;
            };
            var k:String = this._-49A.localization.getKey("notifications.text.club_gift.received");
            var k:BitmapData = this._-49A._-3i5._-0uo(k._-5DX, k._-3Zu, k._-1gg);
            this._-49A._-1md._-0df(k, _-2sU._-4Ei, k);
        }
        private function _-2Ry(_arg1:_-2k3):void
        {
            if (this._-1-d())
            {
                this._-49A._-1n._-03i(_arg1.events);
            };
        }

    }
}//package _-om

//------------------------------------------------------------
//_-OR._-0oZ

package _-OR
{
    import _-4Aj._-7V;
    import _-58c._-373;
    import _-4Aj.*;

    public class _-0oZ extends _-7V implements _-0tL 
    {

        public function _-0oZ(_arg1:Function)
        {
            super(_arg1, _-373);
        }
        public function _-3-5():_-373
        {
            return ((this._-515 as _-373));
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR._-1jm

package _-OR
{
    import _-4Aj._-7V;
    import _-58c._-4ll;
    import _-4Aj.*;

    public class _-1jm extends _-7V implements _-0tL 
    {

        public function _-1jm(_arg1:Function)
        {
            super(_arg1, _-4ll);
        }
        public function _-3-5():_-4ll
        {
            return ((this._-515 as _-4ll));
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR._-22E

package _-OR
{
    import _-4Aj._-7V;
    import _-58c._-3c3;
    import _-4Aj.*;

    public class _-22E extends _-7V implements _-0tL 
    {

        public function _-22E(_arg1:Function)
        {
            super(_arg1, _-3c3);
        }
        public function _-3-5():_-3c3
        {
            return ((this._-515 as _-3c3));
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR._-26G

package _-OR
{
    import _-4Aj._-7V;
    import _-58c._-2hY;
    import _-4Aj.*;

    public class _-26G extends _-7V implements _-0tL 
    {

        public static const _-0PN:int = 6;
        public static const _-4NN:int = 7;

        public function _-26G(_arg1:Function)
        {
            super(_arg1, _-2hY);
        }
        public function _-3-5():_-2hY
        {
            return ((this._-515 as _-2hY));
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR._-2uu

package _-OR
{
    import _-4Aj._-0s1;

    public class _-2uu extends Triggerable 
    {

        private var _-4kJ:int;
        private var _-3Ut:Array;

        public function _-2uu(_arg1:_-0s1)
        {
            this._-3Ut = new Array();
            super(_arg1);
            this._-4kJ = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-3Ut.push(_arg1._-2BW());
                k++;
            };
        }
        public function get _-1j1():int
        {
            return (this._-4kJ);
        }
        override public function get code():int
        {
            return (this._-4kJ);
        }
        public function get _-3lq():Array
        {
            return (this._-3Ut);
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR._-2zQ

package _-OR
{
    import _-4Aj._-7V;
    import _-58c._-oz;
    import _-4Aj.*;

    public class _-2zQ extends _-7V implements _-0tL 
    {

        public function _-2zQ(_arg1:Function)
        {
            super(_arg1, _-oz);
        }
        public function _-3-5():_-oz
        {
            return ((this._-515 as _-oz));
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR._-37B

package _-OR
{
    import _-4Aj._-0s1;

    public class _-37B extends Triggerable 
    {

        private var _-5K:int;

        public function _-37B(_arg1:_-0s1)
        {
            super(_arg1);
            this._-5K = _arg1._-2BW();
        }
        public function get type():int
        {
            return (this._-5K);
        }
        override public function get code():int
        {
            return (this._-5K);
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR._-3rO

package _-OR
{
    import _-4Aj._-7V;
    import _-58c._-0m3;
    import _-4Aj.*;

    public class _-3rO extends _-7V implements _-0tL 
    {

        public function _-3rO(_arg1:Function)
        {
            super(_arg1, _-0m3);
        }
        public function _-3-5():_-0m3
        {
            return ((this._-515 as _-0m3));
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR._-47m

package _-OR
{
    import _-4Aj._-7V;
    import _-58c._-1D1;
    import _-4Aj.*;

    public class _-47m extends _-7V implements _-0tL 
    {

        public function _-47m(_arg1:Function)
        {
            super(_arg1, _-1D1);
        }
        public function _-3-5():_-1D1
        {
            return ((this._-515 as _-1D1));
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR.ActionDefinition

package _-OR
{
    import _-4Aj._-0s1;

    public class ActionDefinition extends Triggerable 
    {

        private var _-5K:int;
        private var _-424:int;
        private var _-03m:Array;

        public function ActionDefinition(_arg1:_-0s1)
        {
            this._-03m = new Array();
            super(_arg1);
            this._-5K = _arg1._-2BW();
            this._-424 = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-03m.push(_arg1._-2BW());
                k++;
            };
        }
        public function get type():int
        {
            return (this._-5K);
        }
        override public function get code():int
        {
            return (this._-5K);
        }
        public function get _-1XP():int
        {
            return (this._-424);
        }
        public function get _-38h():Array
        {
            return (this._-03m);
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-OR.Triggerable

package _-OR
{
    import _-4Aj._-0s1;

    public class Triggerable 
    {

        private var _-XP:Boolean;
        private var _-2ai:int;
        private var _-4zx:Array;
        private var _-0Kq:int;
        private var while:String;
        private var _-0vb:Array;
        private var _-1dV:int;
        private var _-21B:int;

        public function Triggerable(_arg1:_-0s1)
        {
            var k:int;
            this._-4zx = new Array();
            this._-0vb = new Array();
            super();
            this._-XP = _arg1.readBoolean();
            this._-2ai = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                this._-4zx.push(k);
                k++;
            };
            this._-1dV = _arg1._-2BW();
            this._-0Kq = _arg1._-2BW();
            this.while = _arg1.readString();
            var k:int = _arg1._-2BW();
            k = 0;
            while (k < k)
            {
                this._-0vb.push(_arg1._-2BW());
                k++;
            };
            this._-21B = _arg1._-2BW();
        }
        public function get _-4JB():Boolean
        {
            return (this._-XP);
        }
        public function get _-3Ry():int
        {
            return (this._-21B);
        }
        public function set _-3Ry(_arg1:int):void
        {
            this._-21B = _arg1;
        }
        public function get _-tG():int
        {
            return (this._-2ai);
        }
        public function get _-39Z():Array
        {
            return (this._-4zx);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-2f6():String
        {
            return (this.while);
        }
        public function get _-2Hj():Array
        {
            return (this._-0vb);
        }
        public function get code():int
        {
            return (0);
        }
        public function get _-4p4():int
        {
            return (this._-1dV);
        }
        public function getBoolean(_arg1:int):Boolean
        {
            return ((this._-0vb[_arg1] == 1));
        }

    }
}//package _-OR

//------------------------------------------------------------
//_-Os._-0Pr

package _-Os
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Pr implements _-58N 
    {

        protected var _-aa:int;
        protected var _-Mx:int;
        private var _-2Az:Map;

        public function flush():Boolean
        {
            if (this._-2Az)
            {
                this._-2Az = null;
            };
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:_-21K;
            this._-aa = _arg1._-2BW();
            this._-Mx = _arg1._-2BW();
            this._-2Az = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = new _-21K(_arg1);
                this._-2Az.add(k.id, k);
                k++;
            };
            return (true);
        }
        public function get _-0hz():Map
        {
            return (this._-2Az);
        }
        public function get _-0Ao():int
        {
            return (this._-aa);
        }
        public function get _-2nV():int
        {
            return (this._-Mx);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os._-1eS

package _-Os
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1eS implements _-58N 
    {

        private var _-0-G:Boolean;
        private var _-1vY:_-21K;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0-G = _arg1.readBoolean();
            this._-1vY = new _-21K(_arg1);
            _-Nb.log(((((((((((((((("Got PetReceived: " + this._-0-G) + ", ") + this._-1vY.id) + ", ") + this._-1vY.name) + ", ") + this._-1vY.typeId) + ", ") + this._-1vY.paletteId) + ", ") + this.pet.color) + ", ") + this.pet._-0qy) + ", ") + this.pet.level));
            return (true);
        }
        public function get _-3rt():Boolean
        {
            return (this._-0-G);
        }
        public function get pet():_-21K
        {
            return (this._-1vY);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os._-1g4

package _-Os
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1g4 implements _-58N 
    {

        private var _-1vY:_-21K;
        private var _-3nI:Boolean;

        public function flush():Boolean
        {
            this._-1vY = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1vY = new _-21K(_arg1);
            this._-3nI = _arg1.readBoolean();
            return (true);
        }
        public function get pet():_-21K
        {
            return (this._-1vY);
        }
        public function _-wR():Boolean
        {
            return (this._-3nI);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os._-1kL

package _-Os
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1kL implements _-58N 
    {

        private var _-03H:int;
        private var _result:int;

        public function flush():Boolean
        {
            this._-03H = 0;
            this._result = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-03H = _arg1._-2BW();
            this._result = _arg1._-2BW();
            return (true);
        }
        public function get _-0YR():int
        {
            return (this._-03H);
        }
        public function get result():int
        {
            return (this._result);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os._-1S4

package _-Os
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1S4 implements _-58N 
    {

        private var _-b:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b = _arg1._-2BW();
            return (true);
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os._-21K

package _-Os
{
    import _-4Aj._-0s1;

    public class _-21K 
    {

        private var _-0Kq:int;
        private var _name:String;
        private var _-dS:PetFigureData;
        private var _-55e:int;

        public function _-21K(_arg1:_-0s1)
        {
            this._-0Kq = _arg1._-2BW();
            this._name = _arg1.readString();
            this._-dS = new PetFigureData(_arg1);
            this._-55e = _arg1._-2BW();
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get typeId():int
        {
            return (this._-dS.typeId);
        }
        public function get paletteId():int
        {
            return (this._-dS.paletteId);
        }
        public function get color():String
        {
            return (this._-dS.color);
        }
        public function get _-0qy():int
        {
            return (this._-dS._-0qy);
        }
        public function get _-Lo():int
        {
            return (this._-dS._-Lo);
        }
        public function get _-11I():String
        {
            return (this._-dS._-11I);
        }
        public function get figureData():PetFigureData
        {
            return (this._-dS);
        }
        public function get level():int
        {
            return (this._-55e);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os._-406

package _-Os
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-406 implements _-58N 
    {

        public static const _-0oQ:int = 1;
        public static const _-mh:int = 2;
        public static const _-1Ub:int = 3;

        private var _-0Ke:int;
        private var _-J:int;
        private var _-Js:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0Ke = _arg1._-2BW();
            this._-J = _arg1._-2BW();
            this._-Js = _arg1._-2BW();
            return (true);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-4Mj():int
        {
            return (this._-J);
        }
        public function get _-OO():int
        {
            return (this._-Js);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os._-IF

package _-Os
{
    import _-0Z1._-4ZX;
    import _-0Z1._-0v7;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-IF implements _-58N 
    {

        private var _-2lc:int;
        private var _pet1:_-4ZX;
        private var _pet2:_-4ZX;
        private var _-15y:Array;
        private var _-3O:int;

        public function flush():Boolean
        {
            var k:_-0v7;
            this._-2lc = 0;
            if (this._pet1)
            {
                this._pet1.dispose();
                this._pet1 = null;
            };
            if (this._pet2)
            {
                this._pet2.dispose();
                this._pet2 = null;
            };
            for each (k in this._-15y)
            {
                k.dispose();
            };
            this._-15y = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2lc = _arg1._-2BW();
            this._pet1 = new _-4ZX(_arg1);
            this._pet2 = new _-4ZX(_arg1);
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-15y.push(new _-0v7(_arg1));
                k++;
            };
            this._-3O = _arg1._-2BW();
            return (true);
        }
        public function get _-4rm():int
        {
            return (this._-2lc);
        }
        public function get pet1():_-4ZX
        {
            return (this._pet1);
        }
        public function get pet2():_-4ZX
        {
            return (this._pet2);
        }
        public function get _-4pB():Array
        {
            return (this._-15y);
        }
        public function get _-0Bx():int
        {
            return (this._-3O);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os._-Il

package _-Os
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-Il implements _-58N 
    {

        public static const _-3H7:int = 6;

        private var _-3Dw:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            return (true);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-Os.PetFigureData

package _-Os
{
    import _-4Aj._-0s1;

    public class PetFigureData 
    {

        private var _-3Gp:int;
        private var _-28U:int;
        private var _color:String;
        private var _-1EN:int;
        private var _-5BW:int;
        private var _-3W6:Array;

        public function PetFigureData(_arg1:_-0s1)
        {
            this._-3Gp = _arg1._-2BW();
            this._-28U = _arg1._-2BW();
            this._color = _arg1.readString();
            this._-1EN = _arg1._-2BW();
            this._-3W6 = [];
            this._-5BW = _arg1._-2BW();
            var k:int;
            while (k < this._-5BW)
            {
                this._-3W6.push(_arg1._-2BW());
                this._-3W6.push(_arg1._-2BW());
                this._-3W6.push(_arg1._-2BW());
                k++;
            };
        }
        public function get typeId():int
        {
            return (this._-3Gp);
        }
        public function get paletteId():int
        {
            return (this._-28U);
        }
        public function get color():String
        {
            return (this._color);
        }
        public function get _-0qy():int
        {
            return (this._-1EN);
        }
        public function get _-11I():String
        {
            var k:int;
            var k:String = ((((this.typeId + " ") + this.paletteId) + " ") + this.color);
            k = (k + (" " + this._-Lo));
            for each (k in this._-uk)
            {
                k = (k + (" " + k));
            };
            return (k);
        }
        public function get _-uk():Array
        {
            return (this._-3W6);
        }
        public function get _-Lo():int
        {
            return (this._-5BW);
        }

    }
}//package _-Os

//------------------------------------------------------------
//_-p-.Core

package _-p-
{
    import _-1B-._-vx;
    import _-1B-.CoreComponentContext;
    import flash.display.DisplayObjectContainer;

    public final class Core 
    {

        public static const _-Dr:uint = 0;
        public static const _-0d1:uint = 1;
        public static const _-0XS:uint = 2;
        public static const _-2Je:uint = 4;
        public static const _-2HV:uint = 15;
        public static const CORE_SETUP_DEBUG:uint = 15;
        public static const _-3Qt:int = 1;
        public static const _-1QF:int = 2;
        public static const _-9U:int = 3;
        public static const _-ak:int = 4;
        public static const _-0T-:int = 5;
        public static const _-T:int = 6;
        public static const  set:int = 7;
        public static const _-2Qb:int = 8;
        public static const ERROR_CATEGORY_FINALIZE_PRELOADING:int = 9;
        public static const _-0wr:int = 10;
        public static const ERROR_CATEGORY_DOWNLOAD_FONT:int = 11;
        public static const _-4WN:int = 12;
        public static const _-3Gm:int = 13;
        public static const _-0JA:int = 20;
        public static const _-1Ml:int = 21;
        public static const _-0QA:int = 29;
        public static const _-np:int = 30;
        public static const _-0xJ:int = 99;

        private static var _-0vJ:_-vx;

        public static function get version():String
        {
            return ("0.0.3");
        }
        public static function get _-1ey():_-vx
        {
            return (_-0vJ);
        }
        public static function _-1nd(_arg1:DisplayObjectContainer, _arg2:uint):_-vx
        {
            if (_-0vJ == null)
            {
                _-0vJ = new CoreComponentContext(_arg1, _arg2);
            };
            return (_-0vJ);
        }
        public static function error(_arg1:String, _arg2:Boolean, _arg3:int=-1, _arg4:Error=null):void
        {
            if (_-0vJ)
            {
                _-0vJ.error(_arg1, _arg2, _arg3, _arg4);
            };
        }
        public static function warning(_arg1:String):void
        {
            if (_-0vJ)
            {
                _-0vJ.warning(_arg1);
            };
        }
        public static function debug(_arg1:String):void
        {
            if (_-0vJ)
            {
                _-0vJ.debug(_arg1);
            };
        }
        public static function _-4Tm(_arg1:String, _arg2:int, _arg3:Error=null):void
        {
            if (_-0vJ)
            {
                _-0vJ.error(_arg1, true, _arg2, _arg3);
            };
        }
        public static function purge():void
        {
            if (_-0vJ)
            {
                _-0vJ.purge();
            };
        }
        public static function dispose():void
        {
            if (_-0vJ != null)
            {
                _-0vJ.dispose();
                _-0vJ = null;
            };
        }

    }
}//package _-p-

//------------------------------------------------------------
//_-Ph._-1AJ

package _-Ph
{
    public class _-1AJ 
    {

        public static const HABBO_ROOM_SETTINGS_TRACKING_EVENT_CLOSED:String = "HABBO_ROOM_SETTINGS_TRACKING_EVENT_CLOSED";
        public static const HABBO_ROOM_SETTINGS_TRACKING_EVENT_DEFAULT:String = "HABBO_ROOM_SETTINGS_TRACKING_EVENT_DEFAULT";
        public static const HABBO_ROOM_SETTINGS_TRACKING_EVENT_ADVANCED:String = "HABBO_ROOM_SETTINGS_TRACKING_EVENT_ADVANCED";
        public static const HABBO_ROOM_SETTINGS_TRACKING_EVENT_THUMBS:String = "HABBO_ROOM_SETTINGS_TRACKING_EVENT_THUMBS";

    }
}//package _-Ph

//------------------------------------------------------------
//_-Ph._-1i5

package _-Ph
{
    public class _-1i5 
    {

        public static const HABBO_NAVIGATOR_TRACKING_EVENT_CLOSED:String = "HABBO_NAVIGATOR_TRACKING_EVENT_CLOSED";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_EVENTS:String = "HABBO_NAVIGATOR_TRACKING_EVENT_EVENTS";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_ROOMS:String = "HABBO_NAVIGATOR_TRACKING_EVENT_ROOMS";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_ME:String = "HABBO_NAVIGATOR_TRACKING_EVENT_ME";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCH:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCH";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_OFFICIAL:String = "HABBO_NAVIGATOR_TRACKING_EVENT_OFFICIAL";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_LATEST_EVENTS:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_LATEST_EVENTS";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FAVOURITES:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FAVOURITES";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FRIENDS_ROOMS:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_FRIENDS_ROOMS";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_HISTORY:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_HISTORY";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_ROOMS:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_MY_ROOMS";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_OFFICIALROOMS:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_OFFICIALROOMS";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_POPULAR_ROOMS:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_POPULAR_ROOMS";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WHERE_MY_FRIENDS_ARE:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WHERE_MY_FRIENDS_ARE";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WITH_HIGHEST_SCORE:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_ROOMS_WITH_HIGHEST_SCORE";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TAG_SEARCH:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TAG_SEARCH";
        public static const HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TEXT_SEARCH:String = "HABBO_NAVIGATOR_TRACKING_EVENT_SEARCHTYPE_TEXT_SEARCH";

    }
}//package _-Ph

//------------------------------------------------------------
//_-Qf._-05X

package _-Qf
{
    import _-59g._-1tL;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-05X extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-1tL._-2zF];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    switch (_arg1._-3u)
                    {
                        case "off":
                            k = new _-1tL(_-1tL._-2zF, object, 3);
                            break;
                    };
                    break;
                case MouseEvent.CLICK:
                    switch (_arg1._-3u)
                    {
                        case "inc":
                            k = new _-1tL(_-1tL._-2zF, object, 2);
                            break;
                        case "dec":
                            k = new _-1tL(_-1tL._-2zF, object, 1);
                            break;
                    };
                    break;
            };
            if (((!((_-2g3 == null))) && (!((k == null)))))
            {
                _-2g3.dispatchEvent(k);
            }
            else
            {
                super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (object != null)
            {
                k = new _-1tL(_-1tL._-2zF, object, 3);
                if (_-2g3 != null)
                {
                    _-2g3.dispatchEvent(k);
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-0c0

package _-Qf
{
    import _-3mW._-4Wq;
    import _-59g._-4sI;
    import _-72._-45X;
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import _-0F-.MapStuffData;
    import _-2HX._-1Vb;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-0c0 extends FurnitureLogic 
    {

        public static const _-e:String = "state";
        public static const _-3Nm:String = "imageUrl";
        public static const _-40z:String = "clickUrl";
        public static const _-4or:String = "offsetX";
        public static const _-2Ig:String = "offsetY";
        public static const _-3Aj:String = "offsetZ";

        protected var _-0xB:Boolean;
        protected var _-4D0:Boolean;

        public function _-0c0()
        {
            this._-0xB = true;
            this._-4D0 = false;
        }
        override public function initialize(_arg1:XML):void
        {
            super.initialize(_arg1);
            if (this._-0xB)
            {
                object.getModelController().setNumber(_-4Wq._-4Ro, 1);
            };
        }
        override public function getEventTypes():Array
        {
            var k:Array = [_-4sI._-im];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-45X;
            super.processUpdateMessage(_arg1);
            if ((_arg1 is _-1Gs))
            {
                this._-1LK();
            };
            if ((_arg1 is _-45X))
            {
                k = (_arg1 as _-45X);
                switch (k.type)
                {
                    case _-45X._-22X:
                        object.getModelController().setNumber(_-4Wq._-ag, 1, false);
                        return;
                    case _-45X._-2t3:
                        object.getModelController().setNumber(_-4Wq._-ag, -1);
                        _-Nb.log(("failed to load billboard image from url " + object.getModelController().getString(_-4Wq._-4JK)));
                        return;
                };
            };
        }
        private function _-1LK():Boolean
        {
            var k:MapStuffData;
            var k:Number;
            var k:String;
            var k:String;
            var k:int;
            var k:String;
            var k:String;
            var k:Boolean;
            if (object != null)
            {
                k = new MapStuffData();
                k.initializeFromRoomObjectModel(object.getModel());
                k = parseInt(k.getValue(_-e));
                if (!isNaN(k))
                {
                    k = int(k);
                    if (object.getState(0) != k)
                    {
                        object.setState(k, 0);
                        k = true;
                    };
                };
                k = k.getValue(_-3Nm);
                if (k != null)
                {
                    k = object.getModelController().getString(_-4Wq._-4JK);
                    if ((((k == null)) || (!((k == k)))))
                    {
                        object.getModelController().setString(_-4Wq._-4JK, k, false);
                        object.getModelController().setNumber(_-4Wq._-ag, 0, false);
                        k = true;
                    };
                };
                k = k.getValue(_-40z);
                if (k != null)
                {
                    k = object.getModelController().getString(_-4Wq._-3Qv);
                    if ((((k == null)) || (!((k == k)))))
                    {
                        object.getModelController().setString(_-4Wq._-3Qv, k);
                        k = true;
                    };
                };
                if (!isNaN(parseInt(k.getValue(_-4or))))
                {
                    k = this._-26n(_-4Wq._-1oe, object.getModelController().getNumber(_-4Wq._-1oe), parseInt(k.getValue(_-4or)));
                };
                if (!isNaN(parseInt(k.getValue(_-2Ig))))
                {
                    k = this._-26n(_-4Wq._-2Wq, object.getModelController().getNumber(_-4Wq._-2Wq), parseInt(k.getValue(_-2Ig)));
                };
                if (!isNaN(parseInt(k.getValue(_-3Aj))))
                {
                    k = this._-26n(_-4Wq._-0rn, object.getModelController().getNumber(_-4Wq._-0rn), parseInt(k.getValue(_-3Aj)));
                };
            };
            var k:String = object.getModelController().getString(_-4Wq._-4JK);
            var k:String = object.getModelController().getString(_-4Wq._-3Qv);
            var k:int = object.getModelController().getNumber(_-4Wq._-1oe);
            var k:int = object.getModelController().getNumber(_-4Wq._-2Wq);
            var k:int = object.getModelController().getNumber(_-4Wq._-0rn);
            if (k != null)
            {
                _-2g3.dispatchEvent(new _-4sI(_-4sI._-im, object, k, k));
            };
            var k = (((_-3Nm + "=") + (((k)!=null) ? k : "")) + "\t");
            if (this._-4D0)
            {
                k = (k + (((_-40z + "=") + (((k)!=null) ? k : "")) + "\t"));
            };
            k = (k + (((_-4or + "=") + k) + "\t"));
            k = (k + (((_-2Ig + "=") + k) + "\t"));
            k = (k + (((_-3Aj + "=") + k) + "\t"));
            object.getModelController().setString(_-1Vb._-1AY, (_-1Vb._-0d5 + k));
            return (k);
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (_arg1.type == MouseEvent.MOUSE_MOVE)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        private function _-26n(_arg1:String, _arg2:int, _arg3:int):Boolean
        {
            if (((!(isNaN(_arg3))) && (!((_arg2 == _arg3)))))
            {
                object.getModelController().setNumber(_arg1, _arg3);
                return (true);
            };
            return (false);
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-0jw

package _-Qf
{
    import _-59g._-1tL;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-0jw extends _-1w1 
    {

        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.CLICK:
                    if (_-2g3 != null)
                    {
                        _-2g3.dispatchEvent(new _-1tL(_-1tL._-2zF, object));
                    };
                    break;
            };
            super.mouseEvent(_arg1, _arg2);
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-0KY

package _-Qf
{
    import _-59g._-2K9;
    import _-72._-1Gs;
    import _-3mW._-4Wq;
    import _-4bd._-1yr;

    public class _-0KY extends _-1w1 
    {

        private var _-1Sq:Boolean;
        private var _-rY:Boolean = false;
        private var _-3HP:int = -1;

        override public function getEventTypes():Array
        {
            var k:Array = [_-2K9._-32x, _-2K9._-eL, _-2K9._-4nT, _-2K9._-4wS];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function dispose():void
        {
            this._-3qV();
            super.dispose();
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-1Gs;
            var k:int;
            super.processUpdateMessage(_arg1);
            if (object == null)
            {
                return;
            };
            if (object.getModelController().getNumber(_-4Wq._-3lu) == 1)
            {
                if (!this._-rY)
                {
                    this._-aI();
                };
                k = (_arg1 as _-1Gs);
                if (k == null)
                {
                    return;
                };
                k = object.getState(0);
                if (k != this._-3HP)
                {
                    this._-3HP = k;
                    if (k == 1)
                    {
                        this._-0NS();
                    }
                    else
                    {
                        if (k == 0)
                        {
                            this._-2um();
                        };
                    };
                };
            };
        }
        private function _-aI():void
        {
            if ((((object == null)) || ((_-2g3 == null))))
            {
                return;
            };
            this._-1Sq = true;
            var k:_-2K9 = new _-2K9(_-2K9._-4wS, object);
            _-2g3.dispatchEvent(k);
            this._-rY = true;
        }
        private function _-0NS():void
        {
            if ((((object == null)) || ((_-2g3 == null))))
            {
                return;
            };
            this._-1Sq = true;
            var k:_-2K9 = new _-2K9(_-2K9._-32x, object);
            _-2g3.dispatchEvent(k);
        }
        private function _-2um():void
        {
            if ((((object == null)) || ((_-2g3 == null))))
            {
                return;
            };
            var k:_-2K9 = new _-2K9(_-2K9._-eL, object);
            _-2g3.dispatchEvent(k);
        }
        private function _-3qV():void
        {
            if (!this._-1Sq)
            {
                return;
            };
            var k:_-2K9 = new _-2K9(_-2K9._-4nT, object);
            _-2g3.dispatchEvent(k);
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-0N6

package _-Qf
{
    import _-59g._-2f1;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-3mW._-4Wq;
    import _-2HX._-1Vb;
    import _-4bd._-1yr;
    import _-071._-2Z2;

    public class _-0N6 extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [];
            k.push(_-2f1._-0sb);
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            super.processUpdateMessage(_arg1);
            if (object == null)
            {
                return;
            };
            if (object.getModelController().getNumber(_-4Wq._-3lu) == 1)
            {
                object.getModelController().setString(_-1Vb._-1AY, _-1Vb._-3VZ);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-0sb, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-0Rb

package _-Qf
{
    import _-0y0._-Xl;
    import _-59g._-18n;
    import _-72._-1Gs;
    import _-0y0._-06R;
    import _-4bd._-1yr;
    import _-3V-._-30N;
    import _-3V-._-3SU;
    import _-3mW._-4Wq;

    public class _-0Rb extends _-1w1 
    {

        private static const _-2ff:int = 0;

        private var _-3HP:int = -1;
        private var _-HM:_-Xl = null;

        override public function dispose():void
        {
            if (this._-3HP == _-2ff)
            {
                _-2g3.dispatchEvent(new _-18n(_-18n._-x3, object));
            };
            super.dispose();
        }
        override public function getEventTypes():Array
        {
            var k:Array = [_-18n._-wN, _-18n._-x3];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-1Gs;
            var k:_-06R;
            var k:int;
            super.processUpdateMessage(_arg1);
            if (object != null)
            {
                k = (_arg1 as _-1Gs);
                if (k != null)
                {
                    k = object.getState(0);
                    this._-u0(k);
                };
                k = object.getLocation();
                if (this._-HM == null)
                {
                    this._-HM = new _-Xl();
                }
                else
                {
                    if (((!((k.x == this._-HM.x))) || (!((k.y == this._-HM.y)))))
                    {
                        if (this._-3HP == _-2ff)
                        {
                            if (_-2g3 != null)
                            {
                                _-2g3.dispatchEvent(new _-18n(_-18n._-wN, object));
                            };
                        };
                    };
                };
                this._-HM._-3jn(k);
            };
        }
        private function _-u0(_arg1:int):void
        {
            if (_arg1 != this._-3HP)
            {
                if (_-2g3 != null)
                {
                    if (_arg1 == _-2ff)
                    {
                        _-2g3.dispatchEvent(new _-18n(_-18n._-wN, object));
                    }
                    else
                    {
                        if (this._-3HP == _-2ff)
                        {
                            _-2g3.dispatchEvent(new _-18n(_-18n._-x3, object));
                        };
                    };
                };
                this._-3HP = _arg1;
            };
        }
        private function _-1FS():void
        {
            var k:_-30N;
            var k:Number;
            var k:int;
            var k:_-3SU = object;
            if (k != null)
            {
                k = k.getModel();
                if (k != null)
                {
                    k = k.getNumber(_-4Wq._-45n);
                    if (!isNaN(k))
                    {
                        k = (k % 2);
                        this._-u0(k);
                    };
                };
            };
        }
        override public function update(_arg1:int):void
        {
            super.update(_arg1);
            this._-1FS();
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-17p

package _-Qf
{
    import _-3mW._-4Wq;

    public class _-17p extends _-1w1 
    {

        override public function initialize(_arg1:XML):void
        {
            super.initialize(_arg1);
            object.getModelController().setNumber(_-4Wq._-3-s, 1, true);
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-19Q

package _-Qf
{
    import _-59g._-1tL;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class _-19Q extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-1tL._-123];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-1tL(_-1tL._-123, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-1Bo

package _-Qf
{
    import _-3mW._-4Wq;
    import _-2HX._-1Vb;
    import _-4bd._-1yr;

    public class _-1Bo extends FurnitureLogic 
    {

        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:String;
            var k:int;
            super.processUpdateMessage(_arg1);
            if (object == null)
            {
                return;
            };
            if (object.getModelController().getNumber(_-4Wq._-3lu) == 1)
            {
                k = object.getModelController().getString(_-4Wq._-3HL);
                k = int(k);
                object.getModelController().setString(_-1Vb._-1AY, (_-1Vb._-0WK + k));
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-1e4

package _-Qf
{
    import _-59g._-2K9;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-1e4 extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2K9._-sh];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                _-2g3.dispatchEvent(new _-2K9(_-2K9._-sh, object));
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-1gP

package _-Qf
{
    import _-59g._-3pp;
    import _-59g._-2f1;
    import _-0F-.StringArrayStuffData;
    import _-071._-2Z2;
    import _-72._-1Gs;
    import _-72._-4IZ;
    import _-3mW._-4Wq;
    import flash.utils.getTimer;
    import _-72._-2WC;
    import _-4bd._-1yr;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-1gP extends _-1w1 
    {

        public static const _-40j:int = 1;
        public static const _-3I5:int = 2;
        public static const COLOR_1_STUFFDATA_KEY:int = 3;
        public static const COLOR_2_STUFFDATA_KEY:int = 4;

        override public function getEventTypes():Array
        {
            var k:Array = [_-3pp._-1l5, _-2f1._-3bb, _-2f1._-51c];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:StringArrayStuffData;
            var k:_-2Z2;
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                k = (k.data as StringArrayStuffData);
                if (k != null)
                {
                    this._-40p(k.getValue(_-40j));
                    this._-1vk(k.getValue(_-3I5));
                    this._-1s2(k.getValue(COLOR_1_STUFFDATA_KEY), k.getValue(COLOR_2_STUFFDATA_KEY));
                };
            };
            var k:_-4IZ = (_arg1 as _-4IZ);
            if (k != null)
            {
                if (k.assetName != "loading_icon")
                {
                    object.getModelController().setString(_-4Wq._-44z, k.assetName);
                    object.getModelController().setNumber(_-4Wq._-33f, 1);
                    this.update(getTimer());
                };
            };
            var k:_-2WC = (_arg1 as _-2WC);
            if (k)
            {
                if (((!((_-2g3 == null))) && (!((object == null)))))
                {
                    if (!k.selected)
                    {
                        k = new _-2f1(_-2f1._-51c, object);
                        _-2g3.dispatchEvent(k);
                    };
                };
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var _local3:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.CLICK:
                    _local3 = new _-2f1(_-2f1._-3bb, object);
                    _-2g3.dispatchEvent(_local3);
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        private function _-1s2(_arg1:String, _arg2:String):void
        {
            object.getModelController().setNumber(_-4Wq.FURNITURE_GUILD_CUSTOMIZED_COLOR_1, parseInt(_arg1, 16));
            object.getModelController().setNumber(_-4Wq.FURNITURE_GUILD_CUSTOMIZED_COLOR_2, parseInt(_arg2, 16));
        }
        private function _-1vk(_arg1:String):void
        {
            _-2g3.dispatchEvent(new _-3pp(_-3pp._-1l5, object, _arg1));
        }
        private function _-40p(_arg1:String):void
        {
            object.getModelController().setNumber(_-4Wq._-51d, parseInt(_arg1));
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-1SZ

package _-Qf
{
    import _-59g._-1tL;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-1SZ extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-1tL._-2zF];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    switch (_arg1._-3u)
                    {
                        case "start_stop":
                            k = new _-1tL(_-1tL._-2zF, object, 1);
                            break;
                        case "reset":
                            k = new _-1tL(_-1tL._-2zF, object, 2);
                            break;
                    };
                    if (((!((_-2g3 == null))) && (!((k == null)))))
                    {
                        _-2g3.dispatchEvent(k);
                        return;
                    };
                    break;
            };
            super.mouseEvent(_arg1, _arg2);
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (object != null)
            {
                k = new _-1tL(_-1tL._-2zF, object, 1);
                if (_-2g3 != null)
                {
                    _-2g3.dispatchEvent(k);
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-1UE

package _-Qf
{
    import _-3mW._-4Wq;
    import _-3V-._-4s6;
    import _-2ly._-11j;
    import _-59g._-4sI;

    public class _-1UE extends _-0c0 
    {

        public function _-1UE()
        {
            _-4D0 = true;
        }
        override protected function getAdClickUrl(_arg1:_-4s6):String
        {
            return (_arg1.getString(_-4Wq._-3Qv));
        }
        override protected function handleAdClick(_arg1:int, _arg2:String, _arg3:String):void
        {
            if (_arg3.indexOf("http") == 0)
            {
                _-11j._-0D8(_arg3);
            }
            else
            {
                if (_-2g3 != null)
                {
                    _-2g3.dispatchEvent(new _-4sI(_-4sI._-0DB, object, "", _arg3));
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-1w1

package _-Qf
{
    import _-59g._-2K9;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-1w1 extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2K9._-49J, _-2K9._-4Wb];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.ROLL_OVER:
                    _-2g3.dispatchEvent(new _-2K9(_-2K9._-49J, object));
                    break;
                case MouseEvent.ROLL_OUT:
                    _-2g3.dispatchEvent(new _-2K9(_-2K9._-4Wb, object));
                    break;
            };
            super.mouseEvent(_arg1, _arg2);
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-1Z3

package _-Qf
{
    import _-59g._-2f1;
    import _-59g._-4LV;
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import _-0F-.IntArrayStuffData;
    import _-3mW._-4Wq;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-1Z3 extends _-1w1 
    {

        private var _-0Nu:Boolean = false;

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-1Bx, _-4LV._-51W];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (((!((k == null))) && (!((k.data == null)))))
            {
                k.data.writeRoomObjectModel(object.getModelController());
                if (k.state != -1)
                {
                    this._-3ag();
                };
            };
        }
        private function _-3ag():void
        {
            if ((((object == null)) || ((object.getModelController() == null))))
            {
                return;
            };
            var k:IntArrayStuffData = new IntArrayStuffData();
            k.initializeFromRoomObjectModel(object.getModel());
            var k:int = k.getValue(0);
            var k:int = k.getValue(1);
            var k:int = k.getValue(2);
            var k:int = k.getValue(3);
            if ((((((((k > -1)) && ((k > -1)))) && ((k > -1)))) && ((k > -1))))
            {
                object.getModelController().setNumber(_-4Wq._-42y, k);
                object.getModelController().setNumber(_-4Wq._-27l, k);
                object.getModelController().setNumber(_-4Wq._-Ln, k);
                object.setState(k, 0);
                if (((!((_-2g3 == null))) && (!((object == null)))))
                {
                    _-2g3.dispatchEvent(new _-4LV(_-4LV._-51W, object, Boolean(k), k, k, k));
                };
                this._-0Nu = true;
            };
        }
        override public function dispose():void
        {
            if (this._-0Nu)
            {
                if (((!((_-2g3 == null))) && (!((object == null)))))
                {
                    _-2g3.dispatchEvent(new _-4LV(_-4LV._-51W, object, false, 0, 0, 0));
                };
                this._-0Nu = false;
            };
            super.dispose();
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    if (((!((_-2g3 == null))) && (!((object == null)))))
                    {
                        k = new _-2f1(_-2f1._-1Bx, object);
                        _-2g3.dispatchEvent(k);
                    };
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-2CR

package _-Qf
{
    import _-59g._-2K9;
    import _-59g._-2f1;
    import _-72._-1Gs;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;
    import _-2HX._-1Vb;
    import _-4bd._-1yr;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;
    import _-59g._-1tL;

    public class _-2CR extends _-1w1 
    {

        private var _-1Sq:Boolean;
        private var _-rY:Boolean = false;
        private var _-3HP:int = -1;

        override public function getEventTypes():Array
        {
            var k:Array = [_-2K9._-0Hp, _-2K9._-3zG, _-2K9._-0ZN, _-2K9._-01w, _-2f1._-2y0];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function dispose():void
        {
            this._-3qV();
            super.dispose();
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-1Gs;
            var k:_-4s6;
            var k:int;
            super.processUpdateMessage(_arg1);
            if (object == null)
            {
                return;
            };
            if (object.getModelController().getNumber(_-4Wq._-3lu) == 1)
            {
                if (!this._-rY)
                {
                    this._-1Dl();
                };
                object.getModelController().setString(_-1Vb._-1AY, _-1Vb._-2dB);
                k = (_arg1 as _-1Gs);
                if (k == null)
                {
                    return;
                };
                k = object.getModelController();
                if (k == null)
                {
                    return;
                };
                k = object.getState(0);
                if (k != this._-3HP)
                {
                    this._-3HP = k;
                    if (k == 1)
                    {
                        this._-0NS();
                    }
                    else
                    {
                        if (k == 0)
                        {
                            this._-2um();
                        };
                    };
                };
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-2y0, object);
                _-2g3.dispatchEvent(k);
                _-2g3.dispatchEvent(new _-1tL(_-1tL._-2zF, object, -1));
            };
        }
        private function _-1Dl():void
        {
            if ((((object == null)) || ((_-2g3 == null))))
            {
                return;
            };
            this._-1Sq = true;
            var k:_-2K9 = new _-2K9(_-2K9._-01w, object);
            _-2g3.dispatchEvent(k);
            this._-rY = true;
        }
        private function _-0NS():void
        {
            if ((((object == null)) || ((_-2g3 == null))))
            {
                return;
            };
            this._-1Sq = true;
            var k:_-2K9 = new _-2K9(_-2K9._-0Hp, object);
            _-2g3.dispatchEvent(k);
        }
        private function _-2um():void
        {
            if ((((object == null)) || ((_-2g3 == null))))
            {
                return;
            };
            var k:_-2K9 = new _-2K9(_-2K9._-3zG, object);
            _-2g3.dispatchEvent(k);
        }
        private function _-3qV():void
        {
            if (!this._-1Sq)
            {
                return;
            };
            if ((((object == null)) || ((_-2g3 == null))))
            {
                return;
            };
            var k:_-2K9 = new _-2K9(_-2K9._-0ZN, object);
            _-2g3.dispatchEvent(k);
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-2go

package _-Qf
{
    import _-0y0._-Xl;
    import _-0y0._-06R;
    import _-72._-HN;
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import _-0F-._-HJ;

    public class _-2go extends _-1w1 
    {

        private static const _-343:int = 0;
        private static const _-2J5:int = 1;
        private static const _-2om:int = 10;

        private var _-11Q:_-Xl = null;

        public function _-2go()
        {
            _-1Kw = _-46X;
            this._-11Q = new _-Xl();
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-06R;
            var k:_-06R;
            var k:_-06R;
            if (_arg1 == null)
            {
                return;
            };
            var k:_-HN = (_arg1 as _-HN);
            if (((!((object == null))) && ((k == null))))
            {
                if (_arg1.loc != null)
                {
                    k = object.getLocation();
                    k = _-Xl._-4gy(_arg1.loc, k);
                    if (k != null)
                    {
                        if ((((Math.abs(k.x) < 2)) && ((Math.abs(k.y) < 2))))
                        {
                            if ((((Math.abs(k.x) > 1)) || ((Math.abs(k.y) > 1))))
                            {
                                k = _-Xl._-3SY(k, _-Xl.product(k, 0.5));
                            };
                            k = new _-HN(k, _arg1.loc, _arg1.dir);
                            super.processUpdateMessage(k);
                            return;
                        };
                    };
                };
            };
            if (((!((_arg1.loc == null))) && ((k == null))))
            {
                k = new _-HN(_arg1.loc, _arg1.loc, _arg1.dir);
                super.processUpdateMessage(k);
            };
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                if (k.state > 0)
                {
                    _-1Kw = (_-46X / this._-5-W(k.state));
                }
                else
                {
                    _-1Kw = 1;
                };
                this._-15C(k);
                return;
            };
            if (((k) && (k._-3Cr)))
            {
                _-1Kw = _-46X;
            };
            super.processUpdateMessage(_arg1);
        }
        protected function _-5-W(_arg1:int):int
        {
            return ((_arg1 / _-2om));
        }
        protected function _-13U(_arg1:int):int
        {
            return ((_arg1 % _-2om));
        }
        private function _-15C(_arg1:_-1Gs):void
        {
            var k:_-HJ;
            var k:int = this._-13U(_arg1.state);
            if (k != _arg1.state)
            {
                k = new _-HJ();
                k.setString(String(k));
                k = new _-1Gs(k, k, _arg1._-33C);
            };
            super.processUpdateMessage(_arg1);
        }
        override public function update(_arg1:int):void
        {
            if (object != null)
            {
                this._-11Q._-3jn(object.getLocation());
                super.update(_arg1);
                if (_-Xl._-4gy(object.getLocation(), this._-11Q).length == 0)
                {
                    if (object.getState(0) != _-343)
                    {
                        object.setState(_-343, 0);
                    };
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-2kC

package _-Qf
{
    import _-0y0._-06R;
    import _-59g._-9S;
    import _-72._-1Gs;
    import _-4bd._-1yr;

    public class _-2kC extends _-1w1 
    {

        private var _-0Ke:int = -1;
        private var _-0cX:_-06R;

        override public function getEventTypes():Array
        {
            var k:Array = [_-9S._-1JE];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                if (((!((this._-0Ke == -1))) && (!((k.state == this._-0Ke)))))
                {
                    this._-2bD(this._-0cX.z);
                };
                this._-0Ke = k.state;
            }
            else
            {
                this._-0cX = _arg1.loc;
            };
        }
        private function _-2bD(_arg1:Number):void
        {
            var k:Number = Math.pow(2, (_arg1 - 1.2));
            _-2g3.dispatchEvent(new _-9S(_-9S._-1JE, object, "FURNITURE_cuckoo_clock", k));
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-2MH

package _-Qf
{
    import _-0F-._-1Uz;
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import _-3mW._-4Wq;
    import flash.utils.getTimer;

    public class _-2MH extends _-1w1 
    {

        private static const _-37v:int = 33;
        private static const _-2G4:int = 1000;

        private var _-1td:int = 0;
        private var _-4vv:int = 0;
        private var _-1yC:int = 33;

        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-1Uz;
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                k = (k.data as _-1Uz);
                if (k != null)
                {
                    this._-3--(k.result);
                };
            };
        }
        private function get _-4PN():int
        {
            return (int(object.getModelController().getNumber(_-4Wq._-4Uk)));
        }
        private function _-3--(_arg1:int):void
        {
            var k:int;
            this._-1td = _arg1;
            if (this._-4vv == 0)
            {
                object.getModelController().setNumber(_-4Wq._-4Uk, _arg1);
                this._-4vv = getTimer();
                return;
            };
            if (this._-1td != this._-4PN)
            {
                k = Math.abs((this._-1td - this._-4PN));
                if ((k * _-37v) > _-2G4)
                {
                    this._-1yC = (_-2G4 / k);
                }
                else
                {
                    this._-1yC = _-37v;
                };
                this._-4vv = getTimer();
            };
        }
        override public function update(_arg1:int):void
        {
            var k:int;
            var k:int;
            var k:int;
            super.update(_arg1);
            if (object != null)
            {
                if (((!((this._-4PN == this._-1td))) && ((_arg1 >= (this._-4vv + this._-1yC)))))
                {
                    k = (_arg1 - this._-4vv);
                    k = (k / this._-1yC);
                    k = 1;
                    if (this._-1td < this._-4PN)
                    {
                        k = -1;
                    };
                    if (k > (k * (this._-1td - this._-4PN)))
                    {
                        k = (k * (this._-1td - this._-4PN));
                    };
                    object.getModelController().setNumber(_-4Wq._-4Uk, (this._-4PN + (k * k)));
                    this._-4vv = (_arg1 - (k - (k * this._-1yC)));
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-2ne

package _-Qf
{
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import flash.utils.getTimer;

    public class _-2ne extends FurnitureLogic 
    {

        private static const _-37v:int = 50;
        private static const _-2G4:int = 3000;

        private var _-00d:int = 0;
        private var _-4vv:int = 0;
        private var _-1yC:int = 50;

        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                this._-3mb(k.state);
                return;
            };
            super.processUpdateMessage(_arg1);
        }
        private function _-3mb(_arg1:int):void
        {
            var k:int;
            this._-00d = _arg1;
            var k:int = object.getState(0);
            if (this._-00d != k)
            {
                k = (this._-00d - k);
                if (k < 0)
                {
                    k = -(k);
                };
                if ((k * _-37v) > _-2G4)
                {
                    this._-1yC = (_-2G4 / k);
                }
                else
                {
                    this._-1yC = _-37v;
                };
                this._-4vv = getTimer();
            };
        }
        override public function update(_arg1:int):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            super.update(_arg1);
            if (object != null)
            {
                k = object.getState(0);
                if (((!((k == this._-00d))) && ((_arg1 >= (this._-4vv + this._-1yC)))))
                {
                    k = (_arg1 - this._-4vv);
                    k = (k / this._-1yC);
                    k = 1;
                    if (this._-00d < k)
                    {
                        k = -1;
                    };
                    if (k > (k * (this._-00d - k)))
                    {
                        k = (k * (this._-00d - k));
                    };
                    object.setState((k + (k * k)), 0);
                    this._-4vv = (_arg1 - (k - (k * this._-1yC)));
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-2Tx

package _-Qf
{
    import _-59g._-2K9;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class _-2Tx extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2K9._-4hm];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2K9(_-2K9._-4hm, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-44T

package _-Qf
{
    import _-59g._-2f1;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class _-44T extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-0EU];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-0EU, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-4Dk

package _-Qf
{
    import _-59g._-2f1;
    import _-59g._-2K9;
    import _-3mW._-4Wq;
    import _-72._-2Qo;
    import _-4bd._-1yr;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class _-4Dk extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-4c-, _-2K9._-2u9];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function initialize(_arg1:XML):void
        {
            super.initialize(_arg1);
            this._-sM();
            if (object != null)
            {
                object.getModelController().setString(_-4Wq._-0xF, "");
            };
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-2f1;
            super.processUpdateMessage(_arg1);
            if ((_arg1 is _-2Qo))
            {
                k = new _-2f1(_-2f1._-4c-, object);
                if (k != null)
                {
                    _-2g3.dispatchEvent(k);
                };
            };
            this._-sM();
        }
        protected function _-sM():void
        {
            var k:String;
            var k:Array;
            var k:int;
            if (object != null)
            {
                k = object.getModel().getString(_-4Wq._-3jB);
                k = new Array("9CCEFF", "FF9CFF", "9CFF9C", "FFFF33");
                k = k.indexOf(k);
                if (k < 0)
                {
                    k = 3;
                };
                object.getModelController().setNumber(_-4Wq._-44K, (k + 1));
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2K9(_-2K9._-2u9, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-4F3

package _-Qf
{
    import _-0F-._-1Uz;
    import _-72._-1Gs;
    import _-3mW._-4Wq;
    import _-4bd._-1yr;

    public class _-4F3 extends _-1w1 
    {

        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-1Uz;
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                k = (k.data as _-1Uz);
                if (k != null)
                {
                    object.getModelController().setNumber(_-4Wq._-0SQ, k.result);
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-4j3

package _-Qf
{
    import _-59g._-2f1;
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import _-0F-.MapStuffData;
    import _-3mW._-4Wq;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class _-4j3 extends FurnitureLogic 
    {

        private static const _-0aT:String = "GENDER";
        private static const _-38u:String = "FIGURE";
        private static const _-4g:String = "OUTFIT_NAME";

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-2R1];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (((!((k == null))) && (!((k.data == null)))))
            {
                k.data.writeRoomObjectModel(object.getModelController());
                this._-1Mm();
            };
        }
        private function _-1Mm():void
        {
            if ((((object == null)) || ((object.getModelController() == null))))
            {
                return;
            };
            var k:MapStuffData = new MapStuffData();
            k.initializeFromRoomObjectModel(object.getModel());
            object.getModelController().setString(_-4Wq._-3tN, k.getValue(_-0aT));
            object.getModelController().setString(_-4Wq._-8L, k.getValue(_-38u));
            object.getModelController().setString(_-4Wq._-0Xu, k.getValue(_-4g));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-2R1, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-4Vv

package _-Qf
{
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import _-0F-._-HJ;

    public class _-4Vv extends _-1w1 
    {

        private var _-1xO:int = 0;
        private var _-0J3:Number = 0;
        private var _-0pD:int = 0;

        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            if (_arg1 == null)
            {
                return;
            };
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                this._-15C(k);
                return;
            };
            super.processUpdateMessage(_arg1);
        }
        private function _-15C(_arg1:_-1Gs):void
        {
            var k:_-HJ;
            var k:int = (_arg1.state / 1000);
            var k:int = (_arg1.state % 1000);
            if (k == 0)
            {
                this._-0pD = 0;
                k = new _-HJ();
                k.setString(String(k));
                k = new _-1Gs(k, k, _arg1._-33C);
                super.processUpdateMessage(k);
            }
            else
            {
                this._-1xO = k;
                this._-0J3 = _arg1._-33C;
                this._-0pD = (_-27I + k);
            };
        }
        override public function update(_arg1:int):void
        {
            var k:_-HJ;
            var k:_-1Gs;
            if ((((this._-0pD > 0)) && ((_arg1 >= this._-0pD))))
            {
                this._-0pD = 0;
                k = new _-HJ();
                k.setString(String(this._-1xO));
                k = new _-1Gs(this._-1xO, k, this._-0J3);
                super.processUpdateMessage(k);
            };
            super.update(_arg1);
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-51r

package _-Qf
{
    import _-59g._-2f1;
    import _-72._-2WC;
    import _-4bd._-1yr;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-51r extends _-1w1 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-1rx, _-2f1._-51c];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:String;
            super.processUpdateMessage(_arg1);
            var k:_-2WC = (_arg1 as _-2WC);
            if (k)
            {
                if (((!((_-2g3 == null))) && (!((object == null)))))
                {
                    k = ((k.selected) ? _-2f1._-1rx : _-2f1._-51c);
                    _-2g3.dispatchEvent(new _-2f1(k, object));
                };
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var _local3:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.CLICK:
                    _local3 = new _-2f1(_-2f1._-1rx, object);
                    _-2g3.dispatchEvent(_local3);
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-5C2

package _-Qf
{
    import _-59g._-2f1;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class _-5C2 extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-33A];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-33A, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-Ao

package _-Qf
{
    import _-59g._-2f1;
    import _-72._-2WC;
    import _-4bd._-1yr;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class _-Ao extends _-1w1 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-11B, _-2f1._-LO, _-2f1._-51c];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:String;
            super.processUpdateMessage(_arg1);
            var k:_-2WC = (_arg1 as _-2WC);
            if (k)
            {
                if (((!((_-2g3 == null))) && (!((object == null)))))
                {
                    k = ((k.selected) ? _-2f1._-11B : _-2f1._-51c);
                    _-2g3.dispatchEvent(new _-2f1(k, object));
                };
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var _local3:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.CLICK:
                    _local3 = new _-2f1(_-2f1._-11B, object);
                    _-2g3.dispatchEvent(_local3);
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-LO, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-Kq

package _-Qf
{
    import _-3V-._-4s6;

    public class _-Kq extends _-0c0 
    {

        override protected function getAdClickUrl(_arg1:_-4s6):String
        {
            return (null);
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-Ns

package _-Qf
{
    import _-59g._-2K9;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class _-Ns extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2K9._-4Yg];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2K9(_-2K9._-4Yg, object);
                if (k != null)
                {
                    _-2g3.dispatchEvent(k);
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-PR

package _-Qf
{
    import _-59g._-2f1;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class _-PR extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-1tS];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-1tS, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf._-R3

package _-Qf
{
    import _-59g._-9S;
    import _-72._-1Gs;
    import _-4bd._-1yr;

    public class _-R3 extends _-1w1 
    {

        private var _-0Ke:int = -1;

        override public function getEventTypes():Array
        {
            var k:Array = [_-9S._-1oT];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                if (((!((this._-0Ke == -1))) && (!((k.state == this._-0Ke)))))
                {
                    this._-2bD();
                };
                this._-0Ke = k.state;
            };
        }
        private function _-2bD():void
        {
            _-2g3.dispatchEvent(new _-9S(_-9S._-1oT, object, "HBST_pixels"));
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurnitureClothingChangeLogic

package _-Qf
{
    import _-59g._-2f1;
    import _-3mW._-4Wq;
    import _-293._-4q2;
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class FurnitureClothingChangeLogic extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-37L];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function initialize(_arg1:XML):void
        {
            super.initialize(_arg1);
            if ((((object == null)) || ((object.getModel() == null))))
            {
                return;
            };
            var k:String = object.getModel().getString(_-4Wq._-3jB);
            this._-Le(k);
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-4q2;
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                k = k.data;
                if (k != null)
                {
                    this._-Le(k.getLegacyString());
                };
            };
        }
        private function _-Le(_arg1:String):void
        {
            var k:Array;
            if (((!((_arg1 == null))) && ((_arg1.length > 0))))
            {
                k = _arg1.split(",");
                if (k.length > 0)
                {
                    object.getModelController().setString(_-4Wq._-4Mh, k[0]);
                };
                if (k.length > 1)
                {
                    object.getModelController().setString(_-4Wq._-1xd, k[1]);
                };
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-37L, object);
                _-2g3.dispatchEvent(k);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurnitureCreditLogic

package _-Qf
{
    import _-59g._-2f1;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;

    public class FurnitureCreditLogic extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-33j];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function dispose():void
        {
            super.dispose();
        }
        override public function initialize(_arg1:XML):void
        {
            var k:_-4s6;
            super.initialize(_arg1);
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.credits;
            if (k.length() == 0)
            {
                return;
            };
            var k:Number = Number(k[0].@value);
            if (object != null)
            {
                k = object.getModelController();
                if (k != null)
                {
                    k.setNumber(_-4Wq._-512, k);
                };
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-33j, object);
                _-2g3.dispatchEvent(k);
            };
            super.useObject();
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurnitureDiceLogic

package _-Qf
{
    import _-59g._-2K9;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;

    public class FurnitureDiceLogic extends FurnitureLogic 
    {

        private var _-0o0:Boolean = false;
        private var _-2LL:Boolean = false;

        override public function getEventTypes():Array
        {
            var k:Array = [_-2K9._-4kx, _-2K9._-45P];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function initialize(_arg1:XML):void
        {
            super.initialize(_arg1);
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.allspritesactivate;
            if (k.length() == 0)
            {
                this._-0o0 = false;
            }
            else
            {
                this._-0o0 = true;
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    if (_-2g3 != null)
                    {
                        if (this._-0o0)
                        {
                            if (((((!(this._-2LL)) || ((object.getState(0) == 0)))) || ((object.getState(0) == 100))))
                            {
                                k = new _-2K9(_-2K9._-4kx, object);
                                this._-2LL = true;
                            }
                            else
                            {
                                k = new _-2K9(_-2K9._-45P, object);
                                this._-2LL = false;
                            };
                        }
                        else
                        {
                            if ((((((_arg1._-3u == "activate")) || ((object.getState(0) == 0)))) || ((object.getState(0) == 100))))
                            {
                                k = new _-2K9(_-2K9._-4kx, object);
                            }
                            else
                            {
                                if (_arg1._-3u == "deactivate")
                                {
                                    k = new _-2K9(_-2K9._-45P, object);
                                };
                            };
                        };
                        if (k != null)
                        {
                            _-2g3.dispatchEvent(k);
                        };
                    };
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurnitureFireworksLogic

package _-Qf
{
    import _-59g._-1tL;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-3V-._-4s6;
    import _-3mW._-4Wq;

    public class FurnitureFireworksLogic extends FurnitureLogic 
    {

        override public function getEventTypes():Array
        {
            var k:Array = [_-1tL._-2zF];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    switch (_arg1._-3u)
                    {
                        case "start_stop":
                            k = new _-1tL(_-1tL._-2zF, object, 1);
                            break;
                        case "reset":
                            k = new _-1tL(_-1tL._-2zF, object, 2);
                            break;
                    };
                    break;
            };
            if (((!((_-2g3 == null))) && (!((k == null)))))
            {
                _-2g3.dispatchEvent(k);
            }
            else
            {
                super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (object != null)
            {
                k = new _-1tL(_-1tL._-2zF, object, 0);
                if (_-2g3 != null)
                {
                    _-2g3.dispatchEvent(k);
                };
            };
        }
        override public function initialize(_arg1:XML):void
        {
            var k:_-4s6;
            super.initialize(_arg1);
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.particlesystems;
            if (k.length() == 0)
            {
                return;
            };
            if (object != null)
            {
                k = object.getModelController();
                if (k != null)
                {
                    k.setString(_-4Wq._-4nh, String(k));
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurnitureLogic

package _-Qf
{
    import _-1Fd._-3P5;
    import _-4bd._-1yr;
    import _-0y0._-Xl;
    import _-59g._-4sI;
    import _-59g._-1tL;
    import _-071._-4l1;
    import _-3V-._-lb;
    import _-0y0.XMLValidator;
    import _-3mW._-4Wq;
    import _-3V-._-4s6;
    import _-071._-2Z2;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-72._-1Gs;
    import _-72._-2Qo;
    import _-0y0._-06R;
    import _-72._-HN;

    public class FurnitureLogic extends _-3P5 
    {

        private static const _-43y:int = 8;
        private static const _-4kS:Number = (1 / 16);//0.0625

        private var _-3uW:Boolean = false;
        private var _-24E:Number = 0;
        private var _-LN:Number = 0;
        private var _-00:Number = 0;
        private var _-07J:Number = 0;
        private var _-Fo:Number = 0;
        private var _-4WK:Number = 0;
        private var _-3lo:Boolean = false;
        private var _-4Dc:int = 0;
        private var _-3JP:_-1yr;
        private var _-1rk:_-Xl;
        private var _-0r7:Array;

        public function FurnitureLogic()
        {
            this._-1rk = new _-Xl();
            this._-0r7 = [];
            super();
        }
        override public function getEventTypes():Array
        {
            var k:Array = [_-4sI._-0hN, _-4sI._-3D0, _-4sI._-3K5, _-1tL._-2zF, _-4l1._-se, _-4sI._-0DB, _-4l1._-01d];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function dispose():void
        {
            super.dispose();
            this._-3JP = null;
            this._-0r7 = null;
        }
        override public function set object(_arg1:_-lb):void
        {
            super.object = _arg1;
            if (((!((_arg1 == null))) && ((_arg1.getLocation().length > 0))))
            {
                this._-3lo = true;
            };
        }
        override public function initialize(_arg1:XML):void
        {
            var k:XML;
            var k:int;
            if (_arg1 == null)
            {
                return;
            };
            this._-24E = 0;
            this._-LN = 0;
            this._-00 = 0;
            this._-0r7 = [];
            var k:XMLList = _arg1.model.dimensions;
            if (k.length() == 0)
            {
                return;
            };
            var k:XMLList = k.@x;
            if (k.length() == 1)
            {
                this._-24E = Number(k);
            };
            k = k.@y;
            if (k.length() == 1)
            {
                this._-LN = Number(k);
            };
            k = k.@z;
            if (k.length() == 1)
            {
                this._-00 = Number(k);
            };
            this._-07J = (this._-24E / 2);
            this._-Fo = (this._-LN / 2);
            k = k.@centerZ;
            if (k.length() == 1)
            {
                this._-4WK = Number(k);
            }
            else
            {
                this._-4WK = (this._-00 / 2);
            };
            var k:XMLList = _arg1.model.directions.direction;
            var k:Array = ["id"];
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, k))
                {
                    k = parseInt(k.@id);
                    this._-0r7.push(k);
                };
                k++;
            };
            this._-0r7.sort(Array.NUMERIC);
            if ((((object == null)) || ((object.getModelController() == null))))
            {
                return;
            };
            object.getModelController().setNumber(_-4Wq._-1VR, this._-24E, true);
            object.getModelController().setNumber(_-4Wq._-1mA, this._-LN, true);
            object.getModelController().setNumber(_-4Wq._-Mt, this._-00, true);
            object.getModelController().setNumber(_-4Wq._-3M0, this._-07J, true);
            object.getModelController().setNumber(_-4Wq._-2CA, this._-Fo, true);
            object.getModelController().setNumber(_-4Wq._-3iL, this._-4WK, true);
            object.getModelController().setNumberArray(_-4Wq._-3gh, this._-0r7, true);
            object.getModelController().setNumber(_-4Wq._-50W, 1);
        }
        protected function getAdClickUrl(_arg1:_-4s6):String
        {
            return (_arg1.getString(_-4Wq._-YY));
        }
        protected function handleAdClick(_arg1:int, _arg2:String, _arg3:String):void
        {
            if (_-2g3 != null)
            {
                _-2g3.dispatchEvent(new _-4sI(_-4sI._-0DB, object));
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            var k:_-2Z2;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (_arg1.type == MouseEvent.MOUSE_MOVE)
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            var k:_-4s6 = (object.getModel() as _-4s6);
            if (k == null)
            {
                return;
            };
            var k:String = this.getAdClickUrl(k);
            switch (_arg1.type)
            {
                case MouseEvent.ROLL_OVER:
                    if (!this._-3uW)
                    {
                        if (((((!((_-2g3 == null))) && (!((k == null))))) && ((k.indexOf("http") == 0))))
                        {
                            _-2g3.dispatchEvent(new _-4sI(_-4sI._-0hN, object));
                        };
                        this._-3uW = true;
                    };
                    return;
                case MouseEvent.ROLL_OUT:
                    if (this._-3uW)
                    {
                        if (((((!((_-2g3 == null))) && (!((k == null))))) && ((k.indexOf("http") == 0))))
                        {
                            _-2g3.dispatchEvent(new _-4sI(_-4sI._-3D0, object));
                        };
                        this._-3uW = false;
                    };
                    return;
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                case MouseEvent.CLICK:
                    if (_-2g3 != null)
                    {
                        k = new _-4l1(_-4l1._-se, object, _arg1._-F7, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey, _arg1.buttonDown);
                        _-2g3.dispatchEvent(k);
                    };
                    if (((!((_-2g3 == null))) && (!((k == null)))))
                    {
                        this.handleAdClick(object.getId(), object.getType(), k);
                    };
                    return;
                case MouseEvent.MOUSE_DOWN:
                    if (_-2g3 != null)
                    {
                        k = new _-4l1(_-4l1._-01d, object, _arg1._-F7, _arg1.altKey, _arg1.ctrlKey, _arg1.shiftKey, _arg1.buttonDown);
                        _-2g3.dispatchEvent(k);
                    };
                    return;
            };
        }
        override public function useObject():void
        {
            var k:_-4s6;
            var k:String;
            if (object != null)
            {
                k = (object.getModel() as _-4s6);
                if (k != null)
                {
                    k = this.getAdClickUrl(k);
                    if (((((!((_-2g3 == null))) && (!((k == null))))) && ((k.length > 0))))
                    {
                        _-2g3.dispatchEvent(new _-4sI(_-4sI._-3K5, object, null, k));
                    };
                };
                if (_-2g3 != null)
                {
                    _-2g3.dispatchEvent(new _-1tL(_-1tL._-2zF, object));
                };
            };
        }
        private function _-15C(_arg1:_-1Gs):void
        {
            var k:_-4s6 = object.getModelController();
            object.setState(_arg1.state, 0);
            if (k != null)
            {
                if (_arg1.data != null)
                {
                    _arg1.data.writeRoomObjectModel(k);
                };
                if (!isNaN(_arg1._-33C))
                {
                    k.setString(_-4Wq._-3HL, String(_arg1._-33C));
                };
                k.setNumber(_-4Wq._-4MJ, _-27I);
            };
        }
        private function _-4L(_arg1:_-2Qo):void
        {
            var k:_-4s6 = object.getModelController();
            if (k != null)
            {
                k.setString(_-4Wq._-3cj, _arg1._-2RX);
            };
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:_-06R;
            var k:_-06R;
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                this._-15C(k);
                return;
            };
            var k:_-2Qo = (_arg1 as _-2Qo);
            if (k != null)
            {
                this._-4L(k);
                return;
            };
            this._-3uW = false;
            if (((!((_arg1.dir == null))) && (!((_arg1.loc == null)))))
            {
                if (!(_arg1 is _-HN))
                {
                    k = object.getDirection();
                    k = object.getLocation();
                    if (((((((((((((!((k == null))) && (!((k.x == _arg1.dir.x))))) && (this._-3lo))) && (!((k == null))))) && ((k.x == _arg1.loc.x)))) && ((k.y == _arg1.loc.y)))) && ((k.z == _arg1.loc.z))))
                    {
                        this._-4Dc = 1;
                        this._-3JP = new _-1yr(_arg1.loc, _arg1.dir);
                        k = null;
                    };
                };
                this._-3lo = true;
            };
            super.processUpdateMessage(_arg1);
        }
        override protected function getLocationOffset():_-06R
        {
            if (this._-4Dc > 0)
            {
                this._-1rk.x = 0;
                this._-1rk.y = 0;
                if (this._-4Dc <= (_-43y / 2))
                {
                    this._-1rk.z = (_-4kS * this._-4Dc);
                }
                else
                {
                    if (this._-4Dc <= _-43y)
                    {
                        if (this._-3JP)
                        {
                            super.processUpdateMessage(this._-3JP);
                            this._-3JP = null;
                        };
                        this._-1rk.z = (_-4kS * (_-43y - this._-4Dc));
                    };
                };
                return (this._-1rk);
            };
            return (null);
        }
        override public function update(_arg1:int):void
        {
            super.update(_arg1);
            if (this._-4Dc > 0)
            {
                this._-4Dc++;
                if (this._-4Dc > _-43y)
                {
                    this._-4Dc = 0;
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurniturePlanetSystemLogic

package _-Qf
{
    import _-3V-._-4s6;
    import _-3mW._-4Wq;

    public class FurniturePlanetSystemLogic extends FurnitureLogic 
    {

        override public function initialize(_arg1:XML):void
        {
            var k:_-4s6;
            super.initialize(_arg1);
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.planetsystem;
            if (k.length() == 0)
            {
                return;
            };
            if (object != null)
            {
                k = object.getModelController();
                if (k != null)
                {
                    k.setString(_-4Wq._-4m1, String(k));
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurniturePresentLogic

package _-Qf
{
    import _-59g._-2f1;
    import _-72._-1Gs;
    import _-72._-30X;
    import _-3mW._-4Wq;
    import _-4bd._-1yr;
    import _-0F-.MapStuffData;
    import _-59g._-2K9;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;
    import _-3V-._-4s6;

    public class FurniturePresentLogic extends FurnitureLogic 
    {

        private static const MESSAGE:String = "MESSAGE";
        private static const PRODUCT_CODE:String = "PRODUCT_CODE";
        private static const EXTRA_PARAM:String = "EXTRA_PARAM";
        private static const PURCHASER_NAME:String = "PURCHASER_NAME";
        private static const PURCHASER_FIGURE:String = "PURCHASER_FIGURE";

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-1b];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            super.processUpdateMessage(_arg1);
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (((!((k == null))) && (!((k.data == null)))))
            {
                k.data.writeRoomObjectModel(object.getModelController());
                this._-1Mm();
            };
            var k:_-30X = (_arg1 as _-30X);
            if (k != null)
            {
                if (k._-4EA == _-4Wq._-17J)
                {
                    object.getModelController().setNumber(_-4Wq._-17J, k._-10P);
                };
            };
        }
        private function _-1Mm():void
        {
            if ((((object == null)) || ((object.getModelController() == null))))
            {
                return;
            };
            var k:MapStuffData = new MapStuffData();
            k.initializeFromRoomObjectModel(object.getModel());
            var k:String = k.getValue(MESSAGE);
            var k:String = object.getModel().getString(_-4Wq._-3jB);
            if ((((k == null)) && (!((k == null)))))
            {
                object.getModelController().setString(_-4Wq._-3jB, k.substr(1));
            }
            else
            {
                object.getModelController().setString(_-4Wq._-3jB, k.getValue(MESSAGE));
            };
            this._-17u(_-4Wq._-0z3, k.getValue(PRODUCT_CODE));
            this._-17u(_-4Wq._-3Dm, k.getValue(PURCHASER_NAME));
            this._-17u(_-4Wq._-4xc, k.getValue(PURCHASER_FIGURE));
        }
        private function _-17u(_arg1:String, _arg2:String):void
        {
            if (_arg2 != null)
            {
                object.getModelController().setString(_arg1, _arg2);
            };
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.ROLL_OVER:
                    _-2g3.dispatchEvent(new _-2K9(_-2K9._-49J, object));
                    super.mouseEvent(_arg1, _arg2);
                    return;
                case MouseEvent.ROLL_OUT:
                    _-2g3.dispatchEvent(new _-2K9(_-2K9._-4Wb, object));
                    super.mouseEvent(_arg1, _arg2);
                    return;
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-1b, object);
                _-2g3.dispatchEvent(k);
            };
        }
        override public function initialize(_arg1:XML):void
        {
            var k:_-4s6;
            super.initialize(_arg1);
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.particlesystems;
            if ((((k == null)) || ((k.length() == 0))))
            {
                return;
            };
            if (object != null)
            {
                k = object.getModelController();
                if (k != null)
                {
                    k.setString(_-4Wq._-4nh, String(k));
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurnitureRoomDimmerLogic

package _-Qf
{
    import _-59g._-2f1;
    import _-59g._-2Oh;
    import flash.events.MouseEvent;
    import _-071._-3gM;
    import _-0y0._-3q6;
    import _-071._-2Z2;
    import _-3V-._-4s6;
    import _-72._-1Gs;
    import _-4bd._-1yr;
    import _-3mW._-4Wq;

    public class FurnitureRoomDimmerLogic extends FurnitureLogic 
    {

        private var _-0Nu:Boolean = false;

        override public function getEventTypes():Array
        {
            var k:Array = [_-2f1._-2WP, _-2f1._-46r, _-2Oh._-2di];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function mouseEvent(_arg1:_-3gM, _arg2:_-3q6):void
        {
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            if (object == null)
            {
                return;
            };
            switch (_arg1.type)
            {
                case MouseEvent.DOUBLE_CLICK:
                    this.useObject();
                    return;
                default:
                    super.mouseEvent(_arg1, _arg2);
            };
        }
        override public function useObject():void
        {
            var k:_-2Z2;
            if (((!((_-2g3 == null))) && (!((object == null)))))
            {
                k = new _-2f1(_-2f1._-2WP, object);
                _-2g3.dispatchEvent(k);
            };
        }
        override public function dispose():void
        {
            var k:_-2Oh;
            var k:uint;
            var k:int;
            var k:_-2Z2;
            if (this._-0Nu)
            {
                if (((!((_-2g3 == null))) && (!((object == null)))))
                {
                    k = 0xFFFFFF;
                    k = 0xFF;
                    k = new _-2Oh(object, 0, 1, 1, k, k);
                    _-2g3.dispatchEvent(k);
                    k = new _-2f1(_-2f1._-46r, object);
                    _-2g3.dispatchEvent(k);
                };
                this._-0Nu = false;
            };
            super.dispose();
        }
        private function _-1FN(_arg1:String):void
        {
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:uint;
            var k:int;
            var k:_-2Oh;
            if (_arg1 == null)
            {
                return;
            };
            var k:Array = _arg1.split(",");
            if (k.length >= 5)
            {
                k = this._-0GZ(_arg1);
                k = parseInt(k[1]);
                k = parseInt(k[2]);
                k = k[3];
                k = parseInt(k.substr(1), 16);
                k = parseInt(k[4]);
                if (k == 0)
                {
                    k = 0xFFFFFF;
                    k = 0xFF;
                };
                if (((!((_-2g3 == null))) && (!((object == null)))))
                {
                    k = null;
                    k = new _-2Oh(object, k, k, k, k, k);
                    _-2g3.dispatchEvent(k);
                    this._-0Nu = true;
                };
            };
        }
        private function _-0GZ(_arg1:String):int
        {
            var k:int;
            if (_arg1 == null)
            {
                return (0);
            };
            var k:Array = _arg1.split(",");
            if (k.length >= 5)
            {
                k = (parseInt(k[0]) - 1);
                return (k);
            };
            return (0);
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            var k:int;
            var k:_-4s6 = object.getModelController();
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                if (k.data != null)
                {
                    this._-1FN(k.data.getLegacyString());
                    k = this._-0GZ(k.data.getLegacyString());
                    k = new _-1Gs(k, k.data);
                    super.processUpdateMessage(k);
                };
                return;
            };
            super.processUpdateMessage(_arg1);
        }
        override public function update(_arg1:int):void
        {
            var k:String;
            super.update(_arg1);
            if (((!((object == null))) && (!((object.getModelController() == null)))))
            {
                k = object.getModelController().getString(_-4Wq._-3jB);
                if (((!((k == null))) && ((k.length > 0))))
                {
                    object.getModelController().setString(_-4Wq._-3jB, "");
                    this._-1FN(k);
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurnitureSoundBlockLogic

package _-Qf
{
    import _-59g._-3BG;
    import _-3mW._-4Wq;
    import _-0y0._-06R;
    import _-72._-1Gs;
    import _-4bd._-1yr;

    public class FurnitureSoundBlockLogic extends _-1w1 
    {

        private static const _-1jE:int = 12;
        private static const _-0Nl:int = -12;
        private static const _-4R5:Number = 2.5;
        private static const _-46F:int = -1;

        private var _-0Ke:int = -1;
        private var _-qM:int = -1;

        override public function dispose():void
        {
            if (this._-0Ke != -1)
            {
                _-2g3.dispatchEvent(new _-3BG(_-3BG._-0Ho, object, this._-qM));
            };
            super.dispose();
        }
        override public function getEventTypes():Array
        {
            var k:Array = [_-3BG._-4ut, _-3BG._-0Ho, _-3BG._-Zs];
            return (_-Jz(super.getEventTypes(), k));
        }
        override public function initialize(_arg1:XML):void
        {
            super.initialize(_arg1);
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.sound;
            if (k.length() == 0)
            {
                return;
            };
            var k:XMLList = _arg1.sound.sample;
            if (k.length() == 0)
            {
                return;
            };
            this._-qM = int(k.@id);
            var k:Number = Number(k.@length);
            object.getModelController().setNumber(_-4Wq._-1AK, 1);
        }
        override public function processUpdateMessage(_arg1:_-1yr):void
        {
            super.processUpdateMessage(_arg1);
            var k:_-06R = object.getLocation();
            var k:_-1Gs = (_arg1 as _-1Gs);
            if (k != null)
            {
                if (((!((k.state == -1))) && ((this._-0Ke == _-46F))))
                {
                    _-2g3.dispatchEvent(new _-3BG(_-3BG._-Zs, object, this._-qM));
                };
                if (((((!((this._-0Ke == _-46F))) && (!((k.state == this._-0Ke))))) && (!((k == null)))))
                {
                    this._-2bD(k.z);
                };
                this._-0Ke = k.state;
            };
        }
        private function _-2bD(_arg1:Number):void
        {
            var k:int = (_arg1 * 2);
            if (k > _-1jE)
            {
                k = Math.min(0, (_-0Nl + ((k - _-1jE) - 1)));
            };
            var k:Number = Math.pow(2, (k / 12));
            object.getModelController().setNumber(_-4Wq._-1AK, k);
            _-2g3.dispatchEvent(new _-3BG(_-3BG._-4ut, object, this._-qM, k));
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qf.FurnitureWindowLogic

package _-Qf
{
    import _-0y0.XMLValidator;
    import _-3mW._-4Wq;

    public class FurnitureWindowLogic extends _-1w1 
    {

        override public function initialize(_arg1:XML):void
        {
            var k:XML;
            var k:String;
            super.initialize(_arg1);
            if (_arg1 == null)
            {
                return;
            };
            var k:XMLList = _arg1.mask;
            if (k.length() > 0)
            {
                k = k[0];
                if (XMLValidator._-4qb(k, ["type"]))
                {
                    k = k.@type;
                    object.getModelController().setNumber(_-4Wq._-0gF, 1, true);
                    object.getModelController().setString(_-4Wq._-1T9, k, true);
                };
            };
        }

    }
}//package _-Qf

//------------------------------------------------------------
//_-Qj._-0DY

package _-Qj
{
    import _-35b._-4ze;
    import _-2W2._-4L8;
    import _-om._-3MJ;

    public interface _-0DY 
    {

        function get view():_-4ze;
        function get messenger():_-4L8;
        function get notifications():_-3MJ;

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-0eC

package _-Qj
{
    import _-35b.HabboFriendList;

    public interface _-0eC 
    {

        function _-0VN():HabboFriendList;
        function _-0f5():int;

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-0zr

package _-Qj
{
    import _-35b._-3UA;

    public class _-0zr 
    {

        private var _-1rJ:_-4lT;
        private var _-3nc:Array;
        private var _-2eh:int;
        private var _-5Ci:int;
        private var _-2Mb:int;

        public function _-0zr(_arg1:_-4lT, _arg2:int, _arg3:int, _arg4:int)
        {
            this._-3nc = new Array();
            super();
            this._-1rJ = _arg1;
            this._-2eh = _arg2;
            this._-5Ci = _arg3;
            this._-2Mb = _arg4;
        }
        public function _-4aO(_arg1:Boolean):void
        {
            var k:_-6a;
            var k:_-6a;
            var k:Array = new Array();
            for each (k in this._-3nc)
            {
                if (((!(_arg1)) || (!((k.state == _-6a._-06T)))))
                {
                    k.push(k);
                };
            };
            for each (k in k)
            {
                _-3UA.remove(this._-3nc, k);
                if (this._-1rJ.view != null)
                {
                    this._-1rJ.view._-2PM(k);
                };
                k.dispose();
            };
            this._-45h();
        }
        public function _-0ns(_arg1:int):void
        {
            var k:_-6a = this._-1av(_arg1);
            if (k == null)
            {
                _-Nb.log((("No friedrequest found " + k._-0Lf) + " when error received"));
                return;
            };
            k.state = _-6a._-3zp;
            this._-1rJ.view._-2N4(k);
        }
        public function _-ED(_arg1:_-6a):void
        {
            this._-3nc.push(_arg1);
        }
        public function _-0m9(_arg1:_-6a):void
        {
            this._-3nc.push(_arg1);
            this._-1rJ.view._-ED(_arg1);
        }
        public function _-3k1(_arg1:int):_-6a
        {
            var k:_-6a;
            for each (k in this._-3nc)
            {
                if (k._-0nn == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-1av(_arg1:int):_-6a
        {
            var k:_-6a;
            for each (k in this._-3nc)
            {
                if (k._-4pt == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-45h():void
        {
            var k:_-6a;
            var k:Boolean = true;
            for each (k in this._-3nc)
            {
                k = !(k);
                this._-1rJ.view._-45h(k, k);
            };
        }
        public function _-2e2():int
        {
            var k:_-6a;
            var k:int;
            for each (k in this.requests)
            {
                if (k.state == _-6a._-06T)
                {
                    k++;
                };
            };
            return (k);
        }
        public function get requests():Array
        {
            return (this._-3nc);
        }
        public function get limit():int
        {
            return (this._-2eh);
        }
        public function get _-00U():int
        {
            return (this._-5Ci);
        }
        public function get _-3fl():int
        {
            return (this._-2Mb);
        }
        public function set limit(_arg1:int):void
        {
            this._-2eh = _arg1;
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-1cK

package _-Qj
{
    import _-Ew.IWindowContainer;
    import flash.display.BitmapData;
    import _-2JC._-4mo;
    import _-35b.*;
    import _-1B-.*;

    public class _-1cK implements _-4A9, _-1zZ 
    {

        public static const _-27s:int = "F".charCodeAt(0);
        public static const _-2mT:int = "M".charCodeAt(0);

        private var _-0Kq:int;
        private var _name:String;
        private var _-4Cb:int;
        private var _-1Lo:Boolean;
        private var _-3Gu:Boolean;
        private var _-5AE:String;
        private var _-2sb:String;
        private var _-3Oj:String;
        private var _-4d9:int;
        private var _-2dY:Boolean;
        private var _disposed:Boolean;
        private var _-Ke:IWindowContainer;
        private var _-1ip:BitmapData;
        private var _-pj:String;
        private var _-17q:Boolean;
        private var _-3MQ:Boolean;
        private var _-5Ee:Boolean;

        public function _-1cK(_arg1:_-4mo)
        {
            if (_arg1 == null)
            {
                return;
            };
            this._-0Kq = _arg1.id;
            this._name = _arg1.name;
            this._-4Cb = _arg1.gender;
            this._-1Lo = _arg1.online;
            this._-3Gu = ((_arg1._-08) && (_arg1.online));
            this._-5AE = _arg1.figure;
            this._-2sb = _arg1.motto;
            this._-3Oj = _arg1._-vZ;
            this._-4d9 = _arg1._-2d-;
            this._-pj = _arg1.realName;
            this._-17q = _arg1.persistedMessageUser;
            this._-5Ee = _arg1._-0y3;
            this._-3MQ = _arg1._-0s;
            _-Nb.log(((((((((((((("Creating friend: " + this.id) + ", ") + this.name) + ", ") + this.gender) + ", ") + this.online) + ", ") + this._-08) + ", ") + this.figure) + ", ") + this._-2d-));
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (this._-1ip != null)
            {
                this._-1ip.dispose();
                this._-1ip = null;
            };
            this._disposed = true;
            this._-Ke = null;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get gender():int
        {
            return (this._-4Cb);
        }
        public function get online():Boolean
        {
            return (this._-1Lo);
        }
        public function get _-08():Boolean
        {
            return (this._-3Gu);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get motto():String
        {
            return (this._-2sb);
        }
        public function get _-vZ():String
        {
            return (this._-3Oj);
        }
        public function get _-2d-():int
        {
            return (this._-4d9);
        }
        public function get selected():Boolean
        {
            return (this._-2dY);
        }
        public function get view():IWindowContainer
        {
            return (this._-Ke);
        }
        public function get face():BitmapData
        {
            return (this._-1ip);
        }
        public function get realName():String
        {
            return (this._-pj);
        }
        public function get persistedMessageUser():Boolean
        {
            return (this._-17q);
        }
        public function get _-0s():Boolean
        {
            return (this._-3MQ);
        }
        public function get _-0y3():Boolean
        {
            return (this._-5Ee);
        }
        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function set gender(_arg1:int):void
        {
            this._-4Cb = _arg1;
        }
        public function set online(_arg1:Boolean):void
        {
            this._-1Lo = _arg1;
        }
        public function set _-08(_arg1:Boolean):void
        {
            this._-3Gu = _arg1;
        }
        public function set figure(_arg1:String):void
        {
            this._-5AE = _arg1;
        }
        public function set motto(_arg1:String):void
        {
            this._-2sb = _arg1;
        }
        public function set _-vZ(_arg1:String):void
        {
            this._-3Oj = _arg1;
        }
        public function set _-2d-(_arg1:int):void
        {
            this._-4d9 = _arg1;
        }
        public function set selected(_arg1:Boolean):void
        {
            this._-2dY = _arg1;
        }
        public function set view(_arg1:IWindowContainer):void
        {
            this._-Ke = _arg1;
        }
        public function set face(_arg1:BitmapData):void
        {
            this._-1ip = _arg1;
        }
        public function set realName(_arg1:String):void
        {
            this._-pj = _arg1;
        }
        public function set persistedMessageUser(_arg1:Boolean):void
        {
            this._-17q = _arg1;
        }
        public function set _-0s(_arg1:Boolean):void
        {
            this._-3MQ = _arg1;
        }
        public function set _-0y3(_arg1:Boolean):void
        {
            this._-5Ee = _arg1;
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-1up

package _-Qj
{
    import _-35b._-1sE;
    import _-Ew.IWindowContainer;
    import _-35b.HabboFriendList;

    public class _-1up 
    {

        public static const _-me:int = 1;
        public static const _-1sw:int = 2;
        public static const _-1SN:int = 3;

        private var _-0Kq:int;
        private var _name:String;
        private var _-4LF:String;
        private var _-4IV:String;
        private var _-1oI:_-1sE;
        private var _-0Gd:Boolean;
        private var _-2dY:Boolean;
        private var _-Ke:IWindowContainer;

        public function _-1up(_arg1:HabboFriendList, _arg2:int, _arg3:_-1sE, _arg4:String, _arg5:String, _arg6:String)
        {
            this._-0Kq = _arg2;
            this._name = _arg4;
            this._-1oI = _arg3;
            this._-4LF = _arg5;
            this._-4IV = _arg6;
            this._-1oI.init(_arg1);
        }
        public function setSelected(_arg1:Boolean):void
        {
            if (_arg1)
            {
                this._-0Gd = false;
            };
            this._-2dY = _arg1;
        }
        public function _-17V(_arg1:Boolean):void
        {
            if (this.selected)
            {
                this._-0Gd = false;
            }
            else
            {
                this._-0Gd = _arg1;
            };
        }
        public function get _-0Vf():Boolean
        {
            return (this._-0Gd);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get _-2J1():String
        {
            return (this._-4LF);
        }
        public function get _-5Dy():String
        {
            return (this._-4IV);
        }
        public function get selected():Boolean
        {
            return (this._-2dY);
        }
        public function get _-4rw():_-1sE
        {
            return (this._-1oI);
        }
        public function get view():IWindowContainer
        {
            return (this._-Ke);
        }
        public function set view(_arg1:IWindowContainer):void
        {
            this._-Ke = _arg1;
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-2AF

package _-Qj
{
    import _-Ew.IWindowContainer;
    import _-35b._-3UA;
    import _-1B-.*;

    public class _-2AF implements _-1zZ 
    {

        public static const _-350:int = 100;
        public static const _-UA:int = 0;
        public static const _-1uy:int = -1;

        private var _-0Kq:int;
        private var _name:String;
        private var _-15J:Boolean;
        private var _-hf:Array;
        private var implements:Boolean;
        private var _disposed:Boolean;
        private var _-Ke:IWindowContainer;
        private var _-48O:int;

        public function _-2AF(_arg1:int, _arg2:String)
        {
            this._-hf = [];
            super();
            this._-0Kq = _arg1;
            this._name = _arg2;
            this._-15J = !((this._-0Kq == _-1uy));
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            this._-Ke = null;
        }
        public function addFriend(_arg1:_-1cK):void
        {
            if (this._-hf.indexOf(_arg1) >= 0)
            {
                return;
            };
            this._-hf.push(_arg1);
            this._-hf.sortOn(["persistedMessageUser", "name"], [(Array.NUMERIC | Array.DESCENDING), Array.CASEINSENSITIVE]);
        }
        public function _-069(_arg1:Array):void
        {
            var k:_-1cK;
            for each (k in this._-hf)
            {
                if (k.selected)
                {
                    _arg1.push(k);
                };
            };
        }
        public function _-4F0(_arg1:int):_-1cK
        {
            var k:_-1cK;
            for each (k in this._-hf)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-0ux(_arg1:Boolean, _arg2:Boolean=false):int
        {
            var k:_-1cK;
            var k:int;
            for each (k in this._-hf)
            {
                if (((((!(_arg1)) || (k.online))) && (((!(_arg2)) || (k._-08)))))
                {
                    k = (k + 1);
                };
            };
            return (k);
        }
        public function _-2W4(_arg1:int):_-1cK
        {
            var k:_-1cK = this._-4F0(_arg1);
            if (k != null)
            {
                _-3UA.remove(this._-hf, k);
                return (k);
            };
            return (null);
        }
        private function _-3kU():void
        {
            if (this._-48O >= this._-0z6())
            {
                this._-48O = Math.max(0, (this._-0z6() - 1));
            };
        }
        public function _-0z6():int
        {
            return (Math.ceil((this._-hf.length / _-350)));
        }
        public function _-22():int
        {
            this._-3kU();
            return ((this._-48O * _-350));
        }
        public function _-3rS():int
        {
            this._-3kU();
            return (Math.min(((this._-48O + 1) * _-350), this._-hf.length));
        }
        public function _-41r(_arg1:Boolean):void
        {
            var k:_-1cK;
            this._-15J = _arg1;
            if (!_arg1)
            {
                for each (k in this._-hf)
                {
                    k.selected = false;
                };
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get received():Boolean
        {
            return (this.implements);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get friends():Array
        {
            return (this._-hf);
        }
        public function get view():IWindowContainer
        {
            return (this._-Ke);
        }
        public function get open():Boolean
        {
            return (this._-15J);
        }
        public function get _-0WS():int
        {
            return (this._-48O);
        }
        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function set name(_arg1:String):void
        {
            this._name = _arg1;
        }
        public function set view(_arg1:IWindowContainer):void
        {
            this._-Ke = _arg1;
        }
        public function set received(_arg1:Boolean):void
        {
            this.implements = _arg1;
        }
        public function set _-0WS(_arg1:int):void
        {
            this._-48O = _arg1;
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-33g

package _-Qj
{
    import _-35b.HabboFriendList;
    import _-35b._-4ze;
    import _-2W2._-4L8;
    import _-om._-3MJ;

    public class _-33g implements _-0DY 
    {

        private var _-Ie:HabboFriendList;

        public function _-33g(_arg1:HabboFriendList)
        {
            this._-Ie = _arg1;
        }
        public function get view():_-4ze
        {
            return ((this._-Ie.tabs._-307(_-1up._-me)._-4rw as _-4ze));
        }
        public function get messenger():_-4L8
        {
            return (this._-Ie.messenger);
        }
        public function get notifications():_-3MJ
        {
            return (this._-Ie.notifications);
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-3Oc

package _-Qj
{
    import _-35b._-ZN;

    public interface _-3Oc 
    {

        function get view():_-ZN;

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-48y

package _-Qj
{
    import _-35b.HabboFriendList;
    import _-35b._-ZN;

    public class _-48y implements _-3Oc 
    {

        private var _-Ie:HabboFriendList;

        public function _-48y(_arg1:HabboFriendList)
        {
            this._-Ie = _arg1;
        }
        public function get view():_-ZN
        {
            return ((this._-Ie.tabs._-307(_-1up._-1SN)._-4rw as _-ZN));
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-4lT

package _-Qj
{
    import _-35b._-w9;

    public interface _-4lT 
    {

        function get view():_-w9;

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-4Xc

package _-Qj
{
    import _-35b.HabboFriendList;

    public class _-4Xc implements _-0eC 
    {

        private var _-Ie:HabboFriendList;

        public function _-4Xc(_arg1:HabboFriendList)
        {
            this._-Ie = _arg1;
        }
        public function _-0VN():HabboFriendList
        {
            return (this._-Ie);
        }
        public function _-0f5():int
        {
            return (this._-Ie.view.mainWindow.height);
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-6a

package _-Qj
{
    import _-Ew.IWindowContainer;
    import _-2JC._-4ni;
    import _-1B-.*;

    public class _-6a implements _-1zZ 
    {

        public static const _-06T:int = 1;
        public static const _-3n0:int = 2;
        public static const _-2sC:int = 3;
        public static const _-3zp:int = 4;

        private var _-by:int;
        private var _-4Fr:String;
        private var _-52r:int;
        private var _-0Ke:int = 1;
        private var _disposed:Boolean;
        private var _-Ke:IWindowContainer;

        public function _-6a(_arg1:_-4ni)
        {
            this._-by = _arg1._-0nn;
            this._-4Fr = _arg1._-0Lf;
            this._-52r = _arg1._-4pt;
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._disposed = true;
            if (this.view != null)
            {
                this.view.destroy();
                this.view = null;
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function get _-0nn():int
        {
            return (this._-by);
        }
        public function get _-0Lf():String
        {
            return (this._-4Fr);
        }
        public function get _-4pt():int
        {
            return (this._-52r);
        }
        public function get view():IWindowContainer
        {
            return (this._-Ke);
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function set view(_arg1:IWindowContainer):void
        {
            this._-Ke = _arg1;
        }
        public function set state(_arg1:int):void
        {
            this._-0Ke = _arg1;
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj._-re

package _-Qj
{
    import _-35b.HabboFriendList;
    import _-35b._-w9;

    public class _-re implements _-4lT 
    {

        private var _-Ie:HabboFriendList;

        public function _-re(_arg1:HabboFriendList)
        {
            this._-Ie = _arg1;
        }
        public function get view():_-w9
        {
            return ((this._-Ie.tabs._-307(_-1up._-1sw)._-4rw as _-w9));
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj.AvatarSearchResults

package _-Qj
{
    import flash.utils.Dictionary;
    import _-2JC._-1zU;

    public class AvatarSearchResults 
    {

        private var _-1rJ:_-3Oc;
        private var _-hf:Array;
        private var _-4fQ:Array;
        private var _-59F:Dictionary;

        public function AvatarSearchResults(_arg1:_-3Oc)
        {
            this._-59F = new Dictionary();
            super();
            this._-1rJ = _arg1;
        }
        public function _-3sT(_arg1:int):_-1zU
        {
            var k:_-1zU;
            var k:_-1zU;
            for each (k in this._-hf)
            {
                if (k._-2hz == _arg1)
                {
                    return (k);
                };
            };
            for each (k in this._-4fQ)
            {
                if (k._-2hz == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-4Td(_arg1:Array, _arg2:Array):void
        {
            this._-hf = _arg1;
            this._-4fQ = _arg2;
            this._-1rJ.view._-I8();
        }
        public function get friends():Array
        {
            return (this._-hf);
        }
        public function get _-BG():Array
        {
            return (this._-4fQ);
        }
        public function _-1cM(_arg1:int):void
        {
            this._-59F[_arg1] = "yes";
        }
        public function _-0CB(_arg1:int):Boolean
        {
            return (!((this._-59F[_arg1] == null)));
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj.FriendCategories

package _-Qj
{
    import flash.utils.Dictionary;
    import _-1Wu.package;
    import _-2JC._-4mo;
    import _-4Aj._-0tL;
    import _-2JC._-47;
    import _-18r.ErrorReportStorage;
    import _-2JC._-1vn;
    import _-35b._-3UA;
    import _-2JC.*;
    import _-1Wu.*;

    public class FriendCategories 
    {

        private var _-1rJ:_-0DY;
        private var _-2Db:Array;
        private var _-1aF:Dictionary;

        public function FriendCategories(_arg1:_-0DY)
        {
            this._-2Db = new Array();
            this._-1aF = new Dictionary();
            super();
            this._-1rJ = _arg1;
        }
        public function addFriend(_arg1:_-1cK):_-2AF
        {
            var k:int = ((_arg1.online) ? _arg1._-2d- : _-2AF._-1uy);
            var k:_-2AF = this._-0hI(k);
            if (k != null)
            {
                k.addFriend(_arg1);
                this._-1aF[_arg1.id] = _arg1;
                return (k);
            };
            _-Nb.log((((("No category " + k) + " found for friend ") + _arg1.id) + ". Ignoring"));
            return (null);
        }
        public function _-069():Array
        {
            var k:_-2AF;
            var k:Array = new Array();
            for each (k in this._-2Db)
            {
                k._-069(k);
            };
            return (k);
        }
        public function _-106():_-1cK
        {
            var k:Array = this._-069();
            return ((((k.length == 1)) ? k[0] : null));
        }
        public function _-2pg():Dictionary
        {
            return (this._-1aF);
        }
        public function _-0ux(_arg1:Boolean, _arg2:Boolean=false):int
        {
            var k:_-2AF;
            var k:int;
            for each (k in this._-2Db)
            {
                k = (k + k._-0ux(_arg1, _arg2));
            };
            return (k);
        }
        public function _-4YG():Array
        {
            return (this._-2Db);
        }
        public function _-4fi(_arg1:_-2AF):void
        {
            this._-2Db.push(_arg1);
        }
        public function _-2gu(_arg1:int):_-1cK
        {
            return (this._-1aF[_arg1]);
        }
        public function _-0hI(_arg1:int):_-2AF
        {
            var k:_-2AF;
            for each (k in this._-2Db)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-4so(_arg1:_-0tL):void
        {
            var status:int;
            var p:package;
            var removedFriendId:int;
            var updatedFriend:_-4mo;
            var addedFriend:_-4mo;
            var currentlyOnline:Boolean;
            var wasSelected:Boolean;
            var friend:_-1cK;
            var event:_-0tL = _arg1;
            _-Nb.log("Received friend list update");
            status = 0;
            try
            {
                p = (event as _-47)._-3-5();
                status = 1;
                this._-2Ch(p._-4-X);
                status = 2;
                for each (removedFriendId in p._-4p5)
                {
                    this._-2W4(removedFriendId, true);
                };
                status = 3;
                for each (updatedFriend in p._-2C1)
                {
                    _-Nb.log(((((((("Got UPDATE: " + updatedFriend.id) + ", ") + updatedFriend.online) + ", ") + updatedFriend.name) + ", ") + updatedFriend._-08));
                    this._-1rJ.messenger._-p9(updatedFriend.id, ((updatedFriend._-08) && (updatedFriend.online)));
                    currentlyOnline = this._-0cJ(updatedFriend.id);
                    if (((currentlyOnline) && (!(updatedFriend.online))))
                    {
                        this._-1rJ.messenger._-4Ap(updatedFriend.id, updatedFriend.online);
                    };
                    if (((!(currentlyOnline)) && (updatedFriend.online)))
                    {
                        this._-1rJ.messenger._-4Ap(updatedFriend.id, updatedFriend.online);
                        this._-1rJ.view._-17V();
                    };
                    wasSelected = this._-2W4(updatedFriend.id, true);
                    friend = new _-1cK(updatedFriend);
                    friend.selected = wasSelected;
                    this.addFriend(friend);
                };
                status = 4;
                for each (addedFriend in p._-4AX)
                {
                    _-Nb.log(((("Got INSERT: " + addedFriend.id) + ", ") + addedFriend.name));
                    this._-2W4(addedFriend.id, true);
                    this.addFriend(new _-1cK(addedFriend));
                };
                status = 5;
                this._-1rJ.view._-I8();
                status = 6;
            }
            catch(e:Error)
            {
                ErrorReportStorage._-0QQ("FriendCategories", (("onFriendListUpdate crashed, status = " + String(status)) + "!"));
                throw (e);
            };
        }
        private function _-2Ch(_arg1:Array):void
        {
            var k:_-1vn;
            var k:_-2AF;
            var k:_-2AF;
            var _local5:_-2AF;
            this._-4a();
            this._-0hI(_-2AF._-1uy).received = true;
            this._-0hI(_-2AF._-UA).received = true;
            for each (k in _arg1)
            {
                k = this._-0hI(k.id);
                if (k != null)
                {
                    k.received = true;
                    if (k.name != k.name)
                    {
                        k.name = k.name;
                    };
                }
                else
                {
                    _local5 = new _-2AF(k.id, k.name);
                    _local5.received = true;
                    this._-4fi(_local5);
                };
            };
            for each (k in this._-4Er())
            {
                if (k.friends.length > 0)
                {
                }
                else
                {
                    _-3UA.remove(this._-2Db, k);
                    k.dispose();
                };
            };
        }
        private function _-2W4(_arg1:int, _arg2:Boolean):Boolean
        {
            var k:_-2AF;
            var k:_-1cK;
            if (_arg2)
            {
                this._-1aF[_arg1] = null;
            };
            var k:Boolean;
            for each (k in this._-2Db)
            {
                k = k._-2W4(_arg1);
                if (k != null)
                {
                    k = k.selected;
                    if (_arg2)
                    {
                        k.dispose();
                    };
                };
            };
            return (k);
        }
        private function _-4a():void
        {
            var k:_-2AF;
            for each (k in this._-2Db)
            {
                k.received = false;
            };
        }
        private function _-4Er():Array
        {
            var k:_-2AF;
            var k:Array = new Array();
            for each (k in this._-2Db)
            {
                if (!k.received)
                {
                    k.push(k);
                };
            };
            return (k);
        }
        private function _-0cJ(_arg1:int):Boolean
        {
            var k:_-1cK = this._-2gu(_arg1);
            return ((((k == null)) ? false : k.online));
        }
        public function _-3kQ():Array
        {
            var k:_-1cK;
            if (this._-1aF == null)
            {
                return ([]);
            };
            var k:Array = [];
            for each (k in this._-1aF)
            {
                if (k != null)
                {
                    k.push(k.name);
                };
            };
            return (k);
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-Qj.FriendListTabs

package _-Qj
{
    import _-35b.FriendsView;
    import _-35b._-2SI;
    import _-35b.SearchView;
    import _-35b.*;

    public class FriendListTabs 
    {

        private var _-1rJ:_-0eC;
        private var _-BY:Array;
        private var _-26I:_-1up;
        private var _-3a7:int = 200;
        private var _-RZ:int = 200;
        private var _-0MD:int = 200;

        public function FriendListTabs(_arg1:_-0eC)
        {
            this._-BY = new Array();
            super();
            this._-1rJ = _arg1;
            this._-BY.push(new _-1up(this._-1rJ._-0VN(), _-1up._-me, new FriendsView(), "${friendlist.friends}", "friends_footer", "hdr_friends"));
            this._-BY.push(new _-1up(this._-1rJ._-0VN(), _-1up._-1sw, new _-2SI(), "${friendlist.tab.friendrequests}", "friend_requests_footer", "hdr_friend_requests"));
            this._-BY.push(new _-1up(this._-1rJ._-0VN(), _-1up._-1SN, new SearchView(), "${generic.search}", "search_footer", "hdr_search"));
            this._-py(null);
        }
        public function _-2GL():Array
        {
            return (this._-BY);
        }
        public function _-307(_arg1:int):_-1up
        {
            var k:_-1up;
            for each (k in this._-BY)
            {
                if (k.id == _arg1)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-Fy():void
        {
            var k:_-1up;
            for each (k in this._-BY)
            {
                k.setSelected(false);
            };
        }
        public function _-1eL():_-1up
        {
            var k:_-1up;
            for each (k in this._-BY)
            {
                if (k.selected)
                {
                    return (k);
                };
            };
            return (null);
        }
        public function _-py(_arg1:_-1up):void
        {
            var k:_-1up = this._-1eL();
            if (k == null)
            {
                this._-3a7 = this._-RZ;
                this.setSelected(this._-Ib(_arg1), true);
            }
            else
            {
                if ((((k == _arg1)) || ((_arg1 == null))))
                {
                    this._-RZ = this._-3a7;
                    this._-3a7 = 0;
                    this._-Fy();
                }
                else
                {
                    this.setSelected(this._-Ib(_arg1), true);
                };
            };
        }
        private function setSelected(_arg1:_-1up, _arg2:Boolean):void
        {
            var k:_-1up = this._-1eL();
            this._-Fy();
            _arg1.setSelected(_arg2);
            if (_arg2)
            {
                this._-26I = _arg1;
            };
        }
        private function _-Ib(_arg1:_-1up):_-1up
        {
            if (_arg1 != null)
            {
                return (_arg1);
            };
            if (this._-26I != null)
            {
                return (this._-26I);
            };
            return (this._-BY[0]);
        }
        public function get _-3YF():int
        {
            return (this._-3a7);
        }
        public function get _-3BQ():int
        {
            return (this._-0MD);
        }
        public function get _-3Cw():int
        {
            return ((this._-0MD - 2));
        }
        public function set _-3YF(_arg1:int):void
        {
            this._-3a7 = _arg1;
        }
        public function set _-3BQ(_arg1:int):void
        {
            this._-0MD = _arg1;
        }

    }
}//package _-Qj

//------------------------------------------------------------
//_-r7._-0AT

package _-r7
{
    public interface _-0AT 
    {

    }
}//package _-r7

//------------------------------------------------------------
//_-r7._-0z1

package _-r7
{
    import _-3EM.GenericEventQueue;
    import flash.geom.Point;
    import flash.events.IEventDispatcher;

    public class _-0z1 extends GenericEventQueue 
    {

        protected var _-3JJ:Point;

        public function _-0z1(_arg1:IEventDispatcher)
        {
            super(_arg1);
            this._-3JJ = new Point();
        }
        public function get _-2gh():Point
        {
            return (this._-3JJ);
        }
        override public function dispose():void
        {
            if (!_disposed)
            {
                super.dispose();
            };
        }

    }
}//package _-r7

//------------------------------------------------------------
//_-r7._-32b

package _-r7
{
    import _-3EM.MouseEventProcessor;
    import _-Ew.WindowController;
    import _-3EM._-0vC;
    import _-3EM._-16d;

    public class _-32b extends MouseEventProcessor 
    {

        private var _-0LU:String = "";

        override public function process(_arg1:_-0vC, _arg2:_-16d):void
        {
            if (_arg2.length == 0)
            {
                return;
            };
            _-0zZ = _arg1.desktop;
            _-3r9 = (_arg1._-3g2 as WindowController);
            _-118 = (_arg1._-1N2 as WindowController);
            _-3nN = _arg1.renderer;
            _-02v = _arg1._-38A;
            _arg2.begin();
            _arg2.end();
            _arg1.desktop = _-0zZ;
            _arg1._-3g2 = _-3r9;
            _arg1._-1N2 = _-118;
            _arg1.renderer = _-3nN;
            _arg1._-38A = _-02v;
        }

    }
}//package _-r7

//------------------------------------------------------------
//_-sg._-03R

package _-sg
{
    import _-4Kb.HabboAvatarEditor;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-ZI.FigureData;
    import _-295._-243;
    import flash.display.BitmapData;
    import _-4Kb._-40f;
    import _-295.BitmapDataAsset;
    import _-0se._-1uH;
    import _-0se._-24J;
    import flash.geom.Matrix;
    import _-1ae.IContainerButtonWindow;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;
    import _-4Kb.*;

    public class _-03R implements _-cD, _-3QA 
    {

        private var _-513:HabboAvatarEditor;
        private var _-5AE:String;
        private var _-4Cb:String;
        private var _-55c:Boolean;
        private var _-Ke:IWindowContainer;
        private var _-1uu:IBitmapWrapperWindow;
        private var _-1-h:int;
        private var _-4Bk:Boolean;

        public function _-03R(_arg1:HabboAvatarEditor, _arg2:int, _arg3:Boolean, _arg4:String=null, _arg5:String=null)
        {
            this._-513 = _arg1;
            this._-1-h = _arg2;
            this._-4j();
            this.update(_arg4, _arg5, _arg3);
        }
        public function get id():int
        {
            return (this._-1-h);
        }
        public function update(_arg1:String, _arg2:String, _arg3:Boolean):void
        {
            switch (_arg2)
            {
                case FigureData._-0pA:
                case "m":
                case "M":
                    k = FigureData._-0pA;
                    break;
                case FigureData._-0Ag:
                case "f":
                case "F":
                    k = FigureData._-0Ag;
                    break;
            };
            this._-5AE = _arg1;
            this._-4Cb = _arg2;
            this._-55c = _arg3;
            this._-2D2();
        }
        private function _-4j():void
        {
            var k:_-243 = (this._-513.manager.assets.getAssetByName("wardrobe_slot") as _-243);
            if (!k)
            {
                return;
            };
            this._-Ke = (this._-513.manager.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            this._-Ke.procedure = this._-3go;
            this._-Ke.visible = false;
            this._-1uu = (this._-Ke.findChildByName("image") as IBitmapWrapperWindow);
        }
        public function dispose():void
        {
            this._-513 = null;
            this._-5AE = null;
            this._-4Cb = null;
            this._-1uu = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function _-2D2():void
        {
            var k:BitmapData;
            var k:_-40f;
            var _local6:BitmapDataAsset;
            var k:int;
            var k:int;
            var k:Boolean = true;
            if (((this._-5AE) && (this._-55c)))
            {
                k = this._-513.manager.avatarRenderManager.createAvatarImage(this.figure, _-1uH._-Pq, this._-4Cb, this);
                if (k)
                {
                    k.setDirection(_-24J._-2YU, parseInt(FigureData._-1lw));
                    k = k._-1hx(_-24J._-2YU);
                    k.dispose();
                };
            }
            else
            {
                _local6 = (this._-513.manager.assets.getAssetByName("wardrobe_empty_slot") as BitmapDataAsset);
                if (_local6)
                {
                    k = (_local6.content as BitmapData);
                    k = false;
                };
            };
            if (!k)
            {
                return;
            };
            if (this._-1uu)
            {
                if (this._-1uu.bitmap)
                {
                    this._-1uu.bitmap.dispose();
                };
                this._-1uu.bitmap = new BitmapData(this._-1uu.width, this._-1uu.height, true, 0);
                k = ((this._-1uu.width - k.width) / 2);
                k = ((this._-1uu.height - k.height) / 2);
                this._-1uu.bitmap.draw(k, new Matrix(1, 0, 0, 1, k, k));
            };
            if (k)
            {
                k.dispose();
            };
            var k:IContainerButtonWindow = (this._-Ke.findChildByName("set_button") as IContainerButtonWindow);
            if (k)
            {
                k.visible = this._-55c;
            };
            var k:IContainerButtonWindow = (this._-Ke.findChildByName("get_button") as IContainerButtonWindow);
            if (k)
            {
                k.visible = ((this._-55c) && (!((this._-5AE == null))));
            };
        }
        private function _-3go(_arg1:WindowEvent, _arg2:IWindow):void
        {
            if (_arg1.type != WindowMouseEvent._-90)
            {
                return;
            };
            switch (_arg2.name)
            {
                case "set_button":
                    this._-5AE = this._-513.figureData._-2q0();
                    this._-4Cb = this._-513.gender;
                    this._-513.handler._-290(this._-1-h, this);
                    this._-2D2();
                    return;
                case "get_button":
                    if (this._-5AE)
                    {
                        this._-513.loadAvatarInEditor(this._-5AE, this._-4Cb, this._-513.clubMemberLevel);
                    };
                    return;
            };
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get view():IWindowContainer
        {
            return (this._-Ke);
        }
        public function _-0-V(_arg1:String):void
        {
            this._-2D2();
        }

    }
}//package _-sg

//------------------------------------------------------------
//_-sg._-58x

package _-sg
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import _-295._-243;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowEvent;
    import _-Ew.IWindow;

    public class _-58x 
    {

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-0xv:IWindowContainer;
        private var _-3Qh:IBitmapWrapperWindow;

        public function _-58x(_arg1:_-3Ts, _arg2:_-39L, _arg3:Boolean)
        {
            this._-U- = _arg1;
            this._-AV = _arg2;
            var k:_-243 = (this._-AV.getAssetByName("Outfit") as _-243);
            this._-0xv = IWindowContainer(this._-U-.buildFromXML((k.content as XML)));
            if (this._-0xv != null)
            {
                this._-3Qh = (this._-0xv.findChildByName("bitmap") as IBitmapWrapperWindow);
            };
            if (!_arg3)
            {
                this._-0xv.findChildByName("button").disable();
            };
        }
        public function dispose():void
        {
            this._-U- = null;
            this._-AV = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
            };
            this._-0xv = null;
            if (this._-3Qh)
            {
                this._-3Qh.dispose();
            };
            this._-3Qh = null;
        }
        public function _-34-(_arg1:BitmapData):void
        {
            this._-3Qh.bitmap = new BitmapData(this._-3Qh.width, this._-3Qh.height, true, 0xFFFFFF);
            var k:int = ((this._-3Qh.width - _arg1.width) / 2);
            var k:int = (this._-3Qh.height - _arg1.height);
            this._-3Qh.bitmap.copyPixels(_arg1, _arg1.rect, new Point(k, k));
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        private function _-3kk(_arg1:WindowEvent, _arg2:IWindow=null):void
        {
            if (_arg1.type == WindowMouseEvent._-90)
            {
                _-Nb.log("[OutfitView] Click! This should be over-ridden!");
            }
            else
            {
                if (_arg1.type == WindowMouseEvent._-4ea)
                {
                    this._-0xv.color = 0xCCCCCC;
                }
                else
                {
                    if (_arg1.type == WindowMouseEvent._-4e2)
                    {
                        this._-0xv.color = 0x666666;
                    };
                };
            };
        }

    }
}//package _-sg

//------------------------------------------------------------
//_-sg.Outfit

package _-sg
{
    import _-4Kb.HabboAvatarEditor;
    import _-ZI.FigureData;
    import flash.display.BitmapData;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-4Kb.*;

    public class Outfit implements _-cD, _-3QA 
    {

        private var _-513:HabboAvatarEditor;
        private var _-5AE:String;
        private var _-4Cb:String;
        private var _-Ke:_-58x;
        private var _-4Bk:Boolean;

        public function Outfit(_arg1:HabboAvatarEditor, _arg2:String, _arg3:String)
        {
            this._-513 = _arg1;
            this._-Ke = new _-58x(_arg1.manager.windowManager, _arg1.manager.assets, !((_arg2 == "")));
            switch (_arg3)
            {
                case FigureData._-0pA:
                case "m":
                case "M":
                    k = FigureData._-0pA;
                    break;
                case FigureData._-0Ag:
                case "f":
                case "F":
                    k = FigureData._-0Ag;
                    break;
            };
            this._-5AE = _arg2;
            this._-4Cb = _arg3;
            this.update();
        }
        public function dispose():void
        {
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-5AE = null;
            this._-4Cb = null;
            this._-4Bk = true;
            this._-513 = null;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        public function update():void
        {
            var k:BitmapData;
            var k:_-40f = this._-513.manager.avatarRenderManager.createAvatarImage(this.figure, _-1uH._-Pq, this._-4Cb, this);
            if (k)
            {
                k.setDirection(_-24J._-2YU, int(FigureData._-1lw));
                k = k._-2Xc(_-24J._-2YU, true);
                if (this._-Ke)
                {
                    this._-Ke._-34-(k);
                };
                k.dispose();
            };
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get view():_-58x
        {
            return (this._-Ke);
        }
        public function _-0-V(_arg1:String):void
        {
            this.update();
        }

    }
}//package _-sg

//------------------------------------------------------------
//_-sg.WardrobeModel

package _-sg
{
    import _-4Kb.HabboAvatarEditor;
    import _-18r.Map;
    import _-Ew.IWindowContainer;
    import _-1rc._-0GM;
    import _-18r.ErrorReportStorage;
    import _-1Jd._-1ij;
    import _-Fv.*;

    public class WardrobeModel implements _-2vw 
    {

        private var _-513:HabboAvatarEditor;
        private var _-Ke:WardrobeView;
        private var _-er:Map;
        private var _-rY:Boolean = false;

        public function WardrobeModel(_arg1:HabboAvatarEditor)
        {
            this._-513 = _arg1;
        }
        public function dispose():void
        {
            var k:_-03R;
            this._-513 = null;
            for each (k in this._-er)
            {
                k.dispose();
                k = null;
            };
            this._-er = null;
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
            this._-rY = false;
        }
        public function reset():void
        {
            this._-rY = false;
        }
        private function init():void
        {
            var k:_-03R;
            if (this._-513.handler != null)
            {
                this._-513.handler._-2ZJ();
            };
            if (this._-er)
            {
                for each (k in this._-er)
                {
                    k.dispose();
                    k = null;
                };
            };
            this._-er = new Map();
            var k:int = 1;
            while (k <= 10)
            {
                this._-er.add(k, new _-03R(this._-513, k, this._-0zx(k)));
                k++;
            };
            if (this._-Ke)
            {
                this._-Ke.dispose();
            };
            this._-Ke = new WardrobeView(this);
            this._-rY = true;
            this._-2D2();
        }
        public function get controller():HabboAvatarEditor
        {
            return (this._-513);
        }
        public function getWindowContainer():IWindowContainer
        {
            if (!this._-rY)
            {
                this.init();
            };
            return (this._-Ke.getWindowContainer());
        }
        public function _-2D2():void
        {
            this._-Ke.update();
        }
        public function _-1dc(_arg1:int, _arg2:Array):void
        {
            var k:_-03R;
            var k:_-0GM;
            if (!this._-rY)
            {
                return;
            };
            if (!_arg2)
            {
                ErrorReportStorage._-0QQ("WardrobeModel", "updateSlots: outfits is null!");
            };
            if (!this._-er)
            {
                ErrorReportStorage._-0QQ("WardrobeModel", "updateSlots: _slots is null!");
            };
            for each (k in _arg2)
            {
                k = (this._-er.getValue(k.slotId) as _-03R);
                if (k)
                {
                    k.update(k._-11I, k.gender, this._-0zx(k.id));
                };
            };
        }
        private function _-0zx(_arg1:int):Boolean
        {
            if (_arg1 <= 5)
            {
                return ((this._-513.manager._-cT.clubLevel >= _-1ij._-12G));
            };
            return ((this._-513.manager._-cT.clubLevel >= _-1ij._-1pk));
        }
        public function get _-0r4():Array
        {
            return (this._-er._-0hn());
        }

    }
}//package _-sg

//------------------------------------------------------------
//_-sg.WardrobeView

package _-sg
{
    import _-Ew.IWindowContainer;
    import _-1ae.IItemListWindow;
    import _-295._-243;
    import _-Fv.*;

    public class WardrobeView implements _-2aF 
    {

        private var _-0xv:IWindowContainer;
        private var _-3n-:WardrobeModel;
        private var _-1JV:IItemListWindow;
        private var _-2dc:IItemListWindow;

        public function WardrobeView(_arg1:WardrobeModel)
        {
            this._-3n- = _arg1;
            var k:_-243 = (this._-3n-.controller.manager.assets.getAssetByName("avatareditor_wardrobe_base") as _-243);
            this._-0xv = (this._-3n-.controller.manager.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            this._-1JV = (this._-0xv.findChildByName("hc_slots") as IItemListWindow);
            this._-2dc = (this._-0xv.findChildByName("vip_slots") as IItemListWindow);
            this._-0xv.findChildByName("hc_icon").style = 12;
            this._-0xv.visible = false;
            this.update();
        }
        public function dispose():void
        {
            this._-3n- = null;
            this._-1JV = null;
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
        }
        public function update():void
        {
            var k:_-03R;
            if (this._-1JV)
            {
                this._-1JV._-3mI();
            };
            if (this._-2dc)
            {
                this._-2dc._-3mI();
            };
            var k:Array = this._-3n-._-0r4;
            var k:int;
            while (k < k.length)
            {
                k = k[k];
                if (k < 5)
                {
                    if (this._-1JV)
                    {
                        this._-1JV.addListItem(k.view);
                        k.view.visible = true;
                    };
                }
                else
                {
                    if (this._-2dc)
                    {
                        this._-2dc.addListItem(k.view);
                        k.view.visible = true;
                    };
                };
                k++;
            };
        }
        public function getWindowContainer():IWindowContainer
        {
            return (this._-0xv);
        }

    }
}//package _-sg

//------------------------------------------------------------
//_-Sx._-2WT

package _-Sx
{
    import _-FP._-2ul;
    import _-Ew.IWindowContainer;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-295._-243;
    import _-Ew.IWindow;
    import _-1ae.ITextFieldWindow;
    import _-09j.WindowParam;
    import _-1ae.IBitmapWrapperWindow;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-2ve;
    import _-1FD._-45L;
    import _-1ae.IButtonWindow;
    import _-og._-3PW;
    import _-og._-3tl;
    import flash.events.IEventDispatcher;

    public class _-2WT extends _-2ul 
    {

        private const _-0GC:String = "welcome_gift_email_unverified";
        private const _-lq:String = "welcome_gift_email_verified";
        private const _-0M9:String = "welcome_gift_email_change";
        private const _-33m:int = 4;

        private var _-4Bk:Boolean = false;
        private var _-Ke:IWindowContainer;
        private var _-1iK:String;
        private var _-27-:String;
        private var _-4rQ:Boolean;
        private var _-25M:Boolean;
        private var _-1Rh:int;
        private var _-3ay:String;

        public function _-2WT(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        override public function dispose():void
        {
            if (this._-4Bk)
            {
                return;
            };
            if (this._-Ke)
            {
                this._-Ke.dispose();
            };
            super.dispose();
            this._-4Bk = true;
        }
        private function _-KE():void
        {
            if (this._-Ke)
            {
                this._-Ke.dispose();
            };
            this._-Ke = (this._-4j("welcome_gift_widget") as IWindowContainer);
            this._-Ke.center();
            this._-0W6("image_bg", "yellow_highlight");
            this._-0W6("gift_image", "giftbox_full");
            if (this._-4rQ)
            {
                this._-2r5(this._-lq);
            }
            else
            {
                this._-2r5(this._-0GC);
            };
        }
        private function _-4j(_arg1:String):IWindow
        {
            var k:_-243 = (assets.getAssetByName(_arg1) as _-243);
            if (!k)
            {
                return (null);
            };
            return (windowManager.buildFromXML((k.content as XML)));
        }
        private function _-1OD():void
        {
            if (this._-Ke)
            {
                this._-Ke.dispose();
                this._-Ke = null;
            };
        }
        private function _-2r5(_arg1:String):void
        {
            var _local6:ITextFieldWindow;
            if (this._-Ke == null)
            {
                return;
            };
            var k:IWindowContainer = (this._-Ke.findChildByName("state_content") as IWindowContainer);
            while (k.numChildren > 0)
            {
                k.removeChildAt(0);
            };
            var k:IWindow = this._-4j(_arg1);
            if (!k)
            {
                _-Nb.log(("invalid welcome gift widget state: " + _arg1));
                return;
            };
            k.addChild(k);
            k.height = k.height;
            switch (_arg1)
            {
                case this._-0GC:
                    this._-3Wl(this._-Ke.findChildByName("edit"), this._-4-C);
                    this._-0W6("email_icon", "email_icon");
                    this._-50j("title", "${welcome.gift.title.email.unverified}");
                    this._-50j("text", "${welcome.gift.text.email.unverified}");
                    this._-Ke.findChildByName("edit_text").visible = this._-25M;
                    this._-Ke.findChildByName("edit").setParamFlag(WindowParam._-55Y, this._-25M);
                    break;
                case this._-lq:
                    this._-0W6("email_icon", "ok_icon");
                    this._-50j("title", "${welcome.gift.title.email.verified}");
                    this._-50j("text", "${welcome.gift.text.email.verified}");
                    break;
                case this._-0M9:
                    this._-3Wl(this._-Ke.findChildByName("cancel_email_change"), this._-2nk);
                    this._-3Wl(this._-Ke.findChildByName("save_email"), this._-3Hc);
                    this._-0W6("email_icon", "email_icon");
                    this._-3iZ("save_email", this._-25M);
                    _local6 = (this._-Ke.findChildByName("email_input") as ITextFieldWindow);
                    _local6.caption = this._-1iK;
                    _local6.focus();
                    _local6.setSelection(0, int.MAX_VALUE);
                    break;
            };
            var k:IWindow = this._-Ke.findChildByName("email");
            if (k)
            {
                k.caption = this._-1iK;
            };
            var k:IWindow = this._-Ke.findChildByName("open");
            if (k)
            {
                if (this._-4rQ)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
            this._-3Wl(this._-Ke.findChildByName("close"), this.close);
            this._-3Wl(this._-Ke.findChildByTag("close"), this.close);
            this._-3Wl(this._-Ke.findChildByName("open"), this._-0d2);
            this._-3ay = _arg1;
        }
        private function _-50j(_arg1:String, _arg2:String):void
        {
            if (!this._-Ke)
            {
                return;
            };
            var k:IWindow = this._-Ke.findChildByName(_arg1);
            if (k)
            {
                k.caption = _arg2;
            };
        }
        private function _-0W6(_arg1:String, _arg2:String):void
        {
            var k:IBitmapWrapperWindow = (this._-Ke.findChildByName(_arg1) as IBitmapWrapperWindow);
            var k:BitmapDataAsset = (_assets.getAssetByName(_arg2) as BitmapDataAsset);
            if (((!(k)) || (!(k))))
            {
                return;
            };
            var k:BitmapData = (k.content as BitmapData);
            if (k.bitmap)
            {
                k.bitmap.dispose();
            };
            k.bitmap = k.clone();
        }
        private function _-3Wl(_arg1:IWindow, _arg2:Function):void
        {
            if (_arg1)
            {
                _arg1.addEventListener(WindowMouseEvent._-90, _arg2);
            };
        }
        private function close(_arg1:WindowMouseEvent):void
        {
            this._-1OD();
        }
        private function _-4-C(_arg1:WindowMouseEvent):void
        {
            this._-2r5(this._-0M9);
        }
        private function _-0d2(_arg1:WindowMouseEvent):void
        {
            messageListener.processWidgetMessage(new _-2ve(_-2ve._-PG, this._-1Rh, 0));
            this._-1OD();
        }
        private function _-2nk(_arg1:WindowMouseEvent):void
        {
            this._-2r5(((this._-4rQ) ? this._-lq : this._-0GC));
        }
        private function _-3Hc(_arg1:WindowMouseEvent):void
        {
            if (!this._-25M)
            {
                return;
            };
            var k:ITextFieldWindow = (this._-Ke.findChildByName("email_input") as ITextFieldWindow);
            this._-Ke.findChildByName("cancel_email_change").setParamFlag(WindowParam._-55Y, false);
            this._-3iZ("save_email", false);
            k.editable = false;
            k.selectable = false;
            this._-27- = k.text;
            messageListener.processWidgetMessage(new _-45L(this._-27-));
        }
        private function _-3iZ(_arg1:String, _arg2:Boolean):void
        {
            if (!this._-Ke)
            {
                return;
            };
            var k:IButtonWindow = (this._-Ke.findChildByName(_arg1) as IButtonWindow);
            if (k)
            {
                if (_arg2)
                {
                    k.enable();
                }
                else
                {
                    k.disable();
                };
            };
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (!_arg1)
            {
                return;
            };
            _arg1.addEventListener(_-3PW._-3vL, this._-0Eo);
            _arg1.addEventListener(_-3tl._-4KM, this._-4xs);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-3PW._-3vL, this._-0Eo);
            _arg1.removeEventListener(_-3tl._-4KM, this._-4xs);
        }
        private function _-0Eo(_arg1:_-3PW):void
        {
            switch (_arg1.type)
            {
                case _-3PW._-3vL:
                    this._-1iK = _arg1.email;
                    this._-4rQ = _arg1._-0KL;
                    this._-25M = _arg1._-1Hl;
                    if (_arg1._-1bd)
                    {
                        this._-1Rh = _arg1._-4Jh;
                        this._-KE();
                    }
                    else
                    {
                        this._-2D2();
                    };
                    return;
            };
        }
        private function _-2D2():void
        {
            if (!this._-Ke)
            {
                return;
            };
            if (this._-4rQ)
            {
                this._-2r5(this._-lq);
            }
            else
            {
                this._-2r5(this._-0GC);
            };
        }
        private function _-4xs(_arg1:_-3tl):void
        {
            if (_arg1.result == 0)
            {
                this._-1iK = this._-27-;
                this._-2r5(this._-0GC);
            }
            else
            {
                if (_arg1.result == this._-33m)
                {
                    this._-25M = false;
                };
                this._-1I0(_arg1.result);
            };
        }
        private function _-1I0(_arg1:int):void
        {
            if (!this._-Ke)
            {
                return;
            };
            this._-2r5(this._-0M9);
            var k:IWindow = this._-Ke.findChildByName("email_input_container");
            if (k)
            {
                k.color = 0xFFFF8888;
            };
            this._-50j("email_input", this._-27-);
            this._-50j("email_change_instructions", ((("$" + "{welcome.gift.email.error.") + _arg1) + "}"));
        }

    }
}//package _-Sx

//------------------------------------------------------------
//_-Sz.MannequinWidget

package _-Sz
{
    import _-FP._-2ul;
    import _-0se._-37p;
    import _-Ew.IWindowContainer;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-3X8._-0hg;
    import _-4f7._-52h;
    import _-1Jd._-4JJ;
    import _-1Jd._-51K;
    import _-1C6._-4ky;
    import _-4Kb._-3nt;
    import _-4Kb._-3FK;
    import flash.display.BitmapData;
    import _-1ae.IFrameWindow;
    import _-295._-2kE;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-1ae.IIconWindow;
    import _-1Jd._-1ij;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-295.BitmapDataAsset;
    import _-1ae.ITextWindow;
    import _-Mq._-1Dm;
    import _-Mq._-3VN;
    import _-0Ie.WindowMouseEvent;
    import _-0Ie.WindowKeyboardEvent;
    import _-4xL._-0Vv;
    import _-2Mh._-3YS;

    public class MannequinWidget extends _-2ul 
    {

        private static const _-TG:int = 0;
        private static const _-4B-:int = 1;
        private static const _-3rp:int = 2;
        private static const _-0Wx:int = 3;
        private static const _-0lf:int = 4;
        private static const _-Zr:String = "header_button_close";
        private static const _-3Yn:String = "save_button";
        private static const _-1HO:String = "wear_button";
        private static const _-0QD:String = "configure_button";
        private static const _-51O:String = "get_club_button";
        private static const _-40E:String = "cancel_text";
        private static const _-4Ji:String = "back_region";
        private static const _-sr:String = "ok_button";
        private static const _-1pc:String = "outfit_name_set";
        private static const _-0fi:String = "outfit_name_show";
        private static const _-14B:int = 0;
        private static const _-54z:int = 1;
        private static const _-4a3:int = 2;
        private static const _-5F7:uint = 0;
        private static const _-05t:uint = 8956552;
        private static const _-y7:uint = 0x777777;
        private static const _-1sp:Array = new Array(_-37p._-h3, _-37p._-1EM, _-37p._-07o, _-37p._-4a1, _-37p._-0x, _-37p._-3wN);
        private static const _-113:Array = ["hd", 99999, [99998]];
        private static const _-1AM:int = 13;
        private static const _-4nz:int = 14;

        private var _-0xv:IWindowContainer;
        private var _-1Rh:int;
        private var _-2nO:String;
        private var _-1ZB:String;
        private var _-4qs:int;
        private var _-1y:String;
        private var _-4Il:int = -1;

        public function MannequinWidget(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L, _arg4:_-0hg)
        {
            super(_arg1, _arg2, _arg3, _arg4);
            this.handler.widget = this;
        }
        public function get handler():_-52h
        {
            return ((_-0nf as _-52h));
        }
        override public function dispose():void
        {
            if (disposed)
            {
                return;
            };
            if (this._-0xv)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            super.dispose();
        }
        public function open(_arg1:int, _arg2:String, _arg3:String, _arg4:String):void
        {
            this._-1Rh = _arg1;
            this._-2nO = _arg2;
            this._-1ZB = _arg3;
            this._-1y = _arg4;
            var k:_-4JJ = (_-0nf as _-52h).container.roomSession;
            var k:_-51K = (_-0nf as _-52h).container.sessionDataManager;
            var k:Boolean = ((((k._-49x) || ((k._-125 >= _-4ky._-YE)))) || (k._-3eu));
            var k:_-3nt = (_-0nf as _-52h).container.avatarRenderManager;
            var k:_-3FK = k._-4oc(_arg2);
            this._-4qs = k._-D0(k, this._-1ZB, _-1sp);
            var k:int = this._-3BI(k, k.gender, k.clubLevel, _arg3, this._-4qs);
            this._-0-s(k);
            var k:int = ((((this._-1y) && (!((this._-1y == ""))))) ? _-4a3 : _-14B);
            this._-22V(k);
            this._-0xv.visible = true;
        }
        private function _-3BI(_arg1:Boolean, _arg2:String, _arg3:int, _arg4:String, _arg5:int):int
        {
            if (_arg1)
            {
                return (_-TG);
            };
            if (_arg2.toLowerCase() != _arg4.toLowerCase())
            {
                return (_-0lf);
            };
            if (_arg3 < _arg5)
            {
                return (_-0Wx);
            };
            return (_-3rp);
        }
        private function _-0-s(_arg1:int):void
        {
            var k:BitmapData;
            var k:_-3FK;
            var k:_-51K = (_-0nf as _-52h).container.sessionDataManager;
            var k:String = k.figure;
            var k:_-3nt = (_-0nf as _-52h).container.avatarRenderManager;
            var k:int = ((((this._-1y) && (!((this._-1y == ""))))) ? _-4a3 : _-14B);
            if (!this._-0xv)
            {
                this._-0xv = (windowManager.buildFromXML((assets.getAssetByName("mannequin_widget_frame_xml").content as XML)) as IWindowContainer);
                this._-2gQ(_-Zr);
                this._-0xv.center();
            };
            (this._-0xv as IFrameWindow).content.removeChildAt(0);
            var k:IWindowContainer = this.createWindow(_arg1);
            (this._-0xv as IFrameWindow).content.addChild(k);
            switch (_arg1)
            {
                case _-TG:
                    this._-2gQ(_-0QD);
                    this._-2gQ(_-1HO);
                    this._-3ho(_-1pc);
                    this._-2gQ(_-1pc);
                    k = k._-4oc(this._-2nO);
                    this._-0NY(k);
                    k = this.createAvatarImage(k._-2q0());
                    this._-3zQ(this._-4qs);
                    this._-22V(k);
                    this._-17k();
                    break;
                case _-4B-:
                    this._-2gQ(_-3Yn);
                    this._-2gQ(_-4Ji);
                    k = k._-4oc(k);
                    this._-0NY(k);
                    k = this.createAvatarImage(k._-2q0());
                    this._-3zQ(k._-D0(k, k.gender, _-1sp));
                    this._-22V(k);
                    break;
                case _-3rp:
                    this._-2gQ(_-1HO);
                    k = this._-Pc(k, this._-2nO);
                    k = this.createAvatarImage(k._-2q0());
                    this._-3zQ(this._-4qs);
                    this._-22V(k);
                    break;
                case _-0Wx:
                    this._-2gQ(_-51O);
                    k = this._-Pc(k, this._-2nO);
                    k = this.createAvatarImage(k._-2q0());
                    this._-3zQ(this._-4qs);
                    break;
                case _-0lf:
                    this._-2gQ(_-sr);
                    k = k._-4oc(this._-2nO);
                    this._-0NY(k);
                    k = this.createAvatarImage(k._-2q0());
                    this._-3zQ(this._-4qs);
                    break;
                default:
                    throw (new Error(("Invalid type for mannequin widget content apply: " + _arg1)));
            };
            this._-1bO(k, k);
        }
        private function createWindow(_arg1:int):IWindowContainer
        {
            var k:_-2kE;
            var k:IWindowContainer;
            switch (_arg1)
            {
                case _-TG:
                    k = _assets.getAssetByName("mannequin_controller_main_xml");
                    break;
                case _-4B-:
                    k = _assets.getAssetByName("mannequin_controller_save_xml");
                    break;
                case _-3rp:
                    k = _assets.getAssetByName("mannequin_peer_main_xml");
                    break;
                case _-0Wx:
                    k = _assets.getAssetByName("mannequin_no_club_xml");
                    break;
                case _-0lf:
                    k = _assets.getAssetByName("mannequin_wrong_gender_xml");
                    break;
                default:
                    throw (new Error(("Invalid type for mannequin widget content creation: " + _arg1)));
            };
            k = ((_-0nf as _-52h).container.windowManager.buildFromXML((k.content as XML)) as IWindowContainer);
            return (k);
        }
        private function _-0NY(_arg1:_-3FK):void
        {
            var k:String;
            for each (k in _arg1._-oJ())
            {
                if (_-1sp.indexOf(k) == -1)
                {
                    _arg1._-3PM(k);
                };
            };
            _arg1._-0mL(_-113[0], _-113[1], _-113[2]);
        }
        private function createAvatarImage(_arg1:String):BitmapData
        {
            var k:_-3nt = (_-0nf as _-52h).container.avatarRenderManager;
            var k:_-40f = k.createAvatarImage(_arg1, _-1uH._-JU);
            var k:BitmapData = k._-1hx(_-24J._-2YU);
            k.dispose();
            return (k);
        }
        private function _-Pc(_arg1:String, _arg2:String):_-3FK
        {
            var k:String;
            var k:_-3nt = (_-0nf as _-52h).container.avatarRenderManager;
            var k:_-3FK = k._-4oc(_arg1);
            var k:_-3FK = k._-4oc(_arg2);
            for each (k in _-1sp)
            {
                k._-3PM(k);
            };
            for each (k in k._-oJ())
            {
                k._-0mL(k, k.getPartSetId(k), k._-1xo(k));
            };
            return (k);
        }
        private function _-3zQ(_arg1:int):void
        {
            var k:IIconWindow = (this._-0xv.findChildByName("club_icon") as IIconWindow);
            if (!k)
            {
                return;
            };
            switch (_arg1)
            {
                case _-1ij._-42U:
                    k.visible = false;
                    return;
                case _-1ij._-12G:
                    k.style = _-1AM;
                    k.visible = true;
                    return;
                case _-1ij._-1pk:
                    k.style = _-4nz;
                    k.visible = true;
                    return;
            };
        }
        private function _-1bO(_arg1:IWindowContainer, _arg2:BitmapData):void
        {
            var k:BitmapData;
            if (((!(_arg1)) || (!(_arg2))))
            {
                return;
            };
            var k:IBitmapWrapperWindow = (_arg1.findChildByName("preview_image") as IBitmapWrapperWindow);
            if (k.bitmap == null)
            {
                k.bitmap = new BitmapData(k.width, k.height);
            };
            var k:_-2kE = (assets.getAssetByName("mannequin_preview_bg_png") as _-2kE);
            if (k)
            {
                k = (k.content as BitmapData);
                k.bitmap.copyPixels(k, k.rect, new Point(0, 0));
            };
            var k:Point = new Point(((k.width - _arg2.width) / 2), ((k.height - _arg2.height) / 2));
            k.bitmap.copyPixels(_arg2, _arg2.rect, k, null, null, true);
        }
        private function _-17k():void
        {
            var k:BitmapDataAsset;
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("write_deco") as IBitmapWrapperWindow);
            if (k)
            {
                k = (_assets.getAssetByName("small_pen") as BitmapDataAsset);
                k.bitmap = (k.content as BitmapData);
                k._-30Z = false;
            };
        }
        private function close():void
        {
            this._-0xv.visible = false;
        }
        private function _-22V(_arg1:int):void
        {
            this._-4Il = _arg1;
            var k:ITextWindow = (this._-0xv.findChildByName(_-1pc) as ITextWindow);
            if (k)
            {
                switch (_arg1)
                {
                    case _-14B:
                        k.text = this.handler.container.localization.getKey("mannequin.widget.set_name_hint");
                        k.textColor = _-y7;
                        k.italic = true;
                        break;
                    case _-54z:
                        k.textColor = _-05t;
                        k.italic = false;
                        break;
                    case _-4a3:
                        k.text = this._-1y;
                        k.textColor = _-5F7;
                        k.italic = false;
                        break;
                    default:
                        k.text = this.handler.container.localization.getKey("mannequin.widget.set_name_hint");
                        k.textColor = _-y7;
                };
            };
            var k:ITextWindow = (this._-0xv.findChildByName(_-0fi) as ITextWindow);
            if (((((k) && (this._-1y))) && (!((this._-1y == "")))))
            {
                k.text = (("'" + this._-1y) + "'");
            };
        }
        private function _-3zM():void
        {
            var k:ITextWindow = (this._-0xv.findChildByName(_-1pc) as ITextWindow);
            if (k)
            {
                k.text = "";
            };
        }
        private function _-4ke():void
        {
            this.handler.container.connection.send(new _-1Dm(this._-1Rh));
        }
        private function _-1ci():void
        {
            var k:String = this._-0cg();
            this.handler.container.connection.send(new _-3VN(this._-1Rh, k));
            this._-1y = k;
            this._-22V(_-4a3);
        }
        private function _-0cg():String
        {
            var k:String = (this._-0xv.findChildByName(_-1pc) as ITextWindow).text;
            var k:String = this.handler.container.localization.getKey("mannequin.widget.set_name_hint");
            return ((((k)==k) ? "" : k));
        }
        private function _-2gQ(_arg1:String):void
        {
            this._-0xv.findChildByName(_arg1).addEventListener(WindowMouseEvent._-90, this.onMouseClick);
        }
        private function _-3ho(_arg1:String):void
        {
            this._-0xv.findChildByName(_arg1).addEventListener(WindowKeyboardEvent._-4Wf, this._-3TC);
        }
        private function _-3TC(_arg1:WindowKeyboardEvent):void
        {
            if (_arg1.keyCode == 13)
            {
                this._-1ci();
            }
            else
            {
                if (this._-4Il != _-54z)
                {
                    this._-22V(_-54z);
                };
            };
        }
        private function onMouseClick(_arg1:WindowMouseEvent):void
        {
            var k:_-51K = (_-0nf as _-52h).container.sessionDataManager;
            switch (_arg1.target.name)
            {
                case _-Zr:
                case _-40E:
                case _-sr:
                    this.close();
                    return;
                case _-3Yn:
                    this._-4ke();
                    this.close();
                    return;
                case _-1HO:
                    if (k.clubLevel < this._-4qs)
                    {
                        this._-0-s(_-0Wx);
                    }
                    else
                    {
                        if (k.gender.toLowerCase() != this._-1ZB.toLowerCase())
                        {
                            this._-0-s(_-0lf);
                        }
                        else
                        {
                            this.handler.container.connection.send(new _-0Vv(this._-1Rh));
                            this.close();
                        };
                    };
                    return;
                case _-0QD:
                    this._-1ci();
                    this._-0-s(_-4B-);
                    return;
                case _-4Ji:
                    this._-0-s(_-TG);
                    return;
                case _-51O:
                    (_-0nf as _-52h).container.catalog.openClubBuy(_-3YS._-36p, "MannequinWidget");
                    this.close();
                    return;
                case _-1pc:
                    if (this._-4Il == _-14B)
                    {
                        this._-3zM();
                        this._-22V(_-54z);
                    }
                    else
                    {
                        if (this._-4Il == _-4a3)
                        {
                            this._-22V(_-54z);
                        };
                    };
                    return;
            };
        }

    }
}//package _-Sz

//------------------------------------------------------------
//_-T7.Game2ExitGameMessageComposer

package _-T7
{
    import _-4Aj.*;

    public class Game2ExitGameMessageComposer implements _-1oF 
    {

        private var _-3VA:Boolean;

        public function Game2ExitGameMessageComposer(_arg1:Boolean=true)
        {
            this._-3VA = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-3VA]);
        }
        public function dispose():void
        {
        }

    }
}//package _-T7

//------------------------------------------------------------
//_-T7.Game2GameChatMessageComposer

package _-T7
{
    import _-4Aj.*;

    public class Game2GameChatMessageComposer implements _-1oF 
    {

        private var _-kn:String;

        public function Game2GameChatMessageComposer(_arg1:String)
        {
            this._-kn = _arg1;
        }
        public function _-43Z():Array
        {
            return ([this._-kn]);
        }
        public function dispose():void
        {
            this._-kn = null;
        }

    }
}//package _-T7

//------------------------------------------------------------
//_-T7.Game2LoadStageReadyMessageComposer

package _-T7
{
    import _-4Aj.*;

    public class Game2LoadStageReadyMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2LoadStageReadyMessageComposer(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-T7

//------------------------------------------------------------
//_-T7.Game2PlayAgainMessageComposer

package _-T7
{
    import _-4Aj.*;

    public class Game2PlayAgainMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2PlayAgainMessageComposer()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-T7

//------------------------------------------------------------
//_-ta._-0IP

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0IP implements _-58N 
    {

        public static const _-1q2:int = 0;

        private var _result:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._result = _arg1._-2BW();
            return (true);
        }
        public function get result():int
        {
            return (this._result);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-0Np

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0Np implements _-58N 
    {

        private var _-b:int;
        private var _-4lu:int;
        private var _-59e:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-b = _arg1._-2BW();
            this._-4lu = _arg1._-2BW();
            this._-59e = _arg1._-2BW();
            return (true);
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-4yu():int
        {
            return (this._-59e);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-0R8

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-0R8 implements _-58N 
    {

        private var _result:int;
        private var _-2dL:String;

        public function get result():int
        {
            return (this._result);
        }
        public function get nameValidationInfo():String
        {
            return (this._-2dL);
        }
        public function flush():Boolean
        {
            this._result = -1;
            this._-2dL = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._result = _arg1._-2BW();
            this._-2dL = _arg1.readString();
            return (true);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-1KA

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1KA implements _-58N 
    {

        public static const _-0Rs:int = 4;

        private var _-3Dw:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            return (true);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-1pA

package _-ta
{
    import _-2It.GuildEditorData;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1pA implements _-58N 
    {

        private var _-0qE:GuildEditorData;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new GuildEditorData(_arg1);
            return (true);
        }
        public function get data():GuildEditorData
        {
            return (this._-0qE);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-20D

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-20D implements _-58N 
    {

        public static const _-3Nu:int = 0;
        public static const _-458:int = 1;

        private var _-8R:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-8R = _arg1._-2BW();
            return (true);
        }
        public function get status():int
        {
            return (this._-8R);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-2Dv

package _-ta
{
    import _-2It.GuildMemberData;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Dv implements _-58N 
    {

        private var _-0qE:GuildMemberData;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new GuildMemberData(_arg1);
            return (true);
        }
        public function get data():GuildMemberData
        {
            return (this._-0qE);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-2Gv

package _-ta
{
    import _-2It._-2DY;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2Gv implements _-58N 
    {

        private var _-0qE:_-2DY;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-2DY(_arg1);
            return (true);
        }
        public function get data():_-2DY
        {
            return (this._-0qE);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-2OQ

package _-ta
{
    import _-2It._-2CF;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2OQ implements _-58N 
    {

        private var _-4vK:Array;

        public function _-2OQ()
        {
            this._-4vK = new Array();
            super();
        }
        public function flush():Boolean
        {
            this._-4vK = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-4vK.push(new _-2CF(_arg1));
                k++;
            };
            return (true);
        }
        public function get guilds():Array
        {
            return (this._-4vK);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-2YY

package _-ta
{
    import _-2It._-0SN;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-2YY implements _-58N 
    {

        private var _-0qE:_-0SN;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-0SN(_arg1);
            return (true);
        }
        public function get data():_-0SN
        {
            return (this._-0qE);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-3e2

package _-ta
{
    import _-2It._-2SQ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3e2 implements _-58N 
    {

        private var _-5CV:int;
        private var _-11g:_-2SQ;

        public function flush():Boolean
        {
            this._-11g = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-5CV = _arg1._-2BW();
            this._-11g = new _-2SQ(_arg1);
            return (true);
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }
        public function get requester():_-2SQ
        {
            return (this._-11g);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-3R0

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3R0 implements _-58N 
    {

        private var _-0qe:int;
        private var _-3Dw:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qe = _arg1._-2BW();
            this._-3Dw = _arg1._-2BW();
            return (true);
        }
        public function get _-2Jo():int
        {
            return (this._-0qe);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-3RA

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-3RA implements _-58N 
    {

        private var _-4lu:int;
        private var _-38s:Array;

        public function flush():Boolean
        {
            this._-4lu = -1;
            this._-38s = [];
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            this._-4lu = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                this._-38s.push(k);
                k++;
            };
            return (true);
        }
        public function get badges():Array
        {
            return (this._-38s);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-40t

package _-ta
{
    import _-2It._-2am;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-40t implements _-58N 
    {

        private var _-0qE:_-2am;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-2am(_arg1);
            return (true);
        }
        public function get data():_-2am
        {
            return (this._-0qE);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-48z

package _-ta
{
    import _-2It._-2SQ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-48z implements _-58N 
    {

        private var _-0qe:int;
        private var _-0qE:_-2SQ;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qe = _arg1._-2BW();
            this._-0qE = new _-2SQ(_arg1);
            return (true);
        }
        public function get _-2Jo():int
        {
            return (this._-0qe);
        }
        public function get data():_-2SQ
        {
            return (this._-0qE);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-4Cf

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Cf implements _-58N 
    {

        private var _-4lu:int = 0;
        private var _-2bg:int = 0;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            this._-2bg = _arg1._-2BW();
            return (true);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-vG():int
        {
            return (this._-2bg);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-4kg

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4kg implements _-58N 
    {

        protected var _-0mC:Array = null;

        public function _-4kg()
        {
            this._-0mC = [];
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0mC = [];
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-0mC.push(_arg1.readString());
                k++;
            };
            return (true);
        }
        public function get _-2be():Array
        {
            return (this._-0mC.slice());
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-4Sl

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4Sl implements _-58N 
    {

        private var _result:int;
        private var _name:String;

        public function _-4Sl()
        {
            this._result = -1;
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._result = _arg1._-2BW();
            this._name = _arg1.readString();
            return (true);
        }
        public function get result():int
        {
            return (this._result);
        }
        public function get name():String
        {
            return (this._name);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-4vW

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4vW implements _-58N 
    {

        private var _-4lu:int;
        private var _-3TF:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            this._-3TF = _arg1._-2BW();
            return (true);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-1UL():int
        {
            return (this._-3TF);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-4ZD

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-4ZD implements _-58N 
    {

        private var _-5CV:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-5CV = _arg1._-2BW();
            return (true);
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-52c

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-52c implements _-58N 
    {

        private var _-1oG:int;
        private var _-5CV:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1oG = _arg1._-2BW();
            this._-5CV = _arg1._-2BW();
            return (true);
        }
        public function get _-1me():int
        {
            return (this._-1oG);
        }
        public function get groupId():int
        {
            return (this._-5CV);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-56C

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-56C implements _-58N 
    {

        protected var _-tz:Array;
        protected var _-4lu:int = 0;

        public function _-56C()
        {
            this._-tz = [];
            super();
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-tz = [];
            this._-4lu = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-tz.push(_arg1.readString());
                k++;
            };
            return (true);
        }
        public function get tags():Array
        {
            return (this._-tz.slice());
        }
        public function get userId():int
        {
            return (this._-4lu);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-585

package _-ta
{
    import _-Os._-21K;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-585 implements _-58N 
    {

        public static const _-1Og:int = 16;

        private var _-G5:int;
        private var _-0t-:int;
        private var _-BJ:_-21K;

        public function flush():Boolean
        {
            this._-BJ = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-G5 = _arg1._-2BW();
            this._-0t- = _arg1._-2BW();
            this._-BJ = new _-21K(_arg1);
            return (true);
        }
        public function get _-59h():int
        {
            return (this._-0t-);
        }
        public function get respect():int
        {
            return (this._-G5);
        }
        public function get _-0FP():_-21K
        {
            return (this._-BJ);
        }
        public function _-0XH():Boolean
        {
            return ((this._-BJ.typeId == _-1Og));
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-5CW

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-5CW implements _-58N 
    {

        private var _-2aX:int = -1;
        private var _-1ag:int = 0;

        public function get _-Xt():int
        {
            return (this._-2aX);
        }
        public function get _-3Oa():int
        {
            return (this._-1ag);
        }
        public function flush():Boolean
        {
            this._-2aX = -1;
            this._-1ag = 0;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-2aX = _arg1._-2BW();
            this._-1ag = _arg1._-2BW();
            return (true);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-7b

package _-ta
{
    import _-18r.Map;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-7b implements _-58N 
    {

        protected var _-38s:Map;

        public function _-7b()
        {
            this._-38s = new Map();
        }
        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            var k:int;
            var k:String;
            this._-38s.dispose();
            this._-38s = new Map();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                k = _arg1._-2BW();
                k = _arg1.readString();
                this._-38s.add(k, k);
                k++;
            };
            return (true);
        }
        public function get badges():Map
        {
            var k:Map = new Map();
            var k:int;
            while (k < this._-38s.length)
            {
                k.add(this._-38s.getKey(k), this._-38s.getWithIndex(k));
                k++;
            };
            return (k);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-iN

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-iN implements _-58N 
    {

        private var _-1iK:String;
        private var _-4rQ:Boolean;
        private var _-3GV:Boolean;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-1iK = _arg1.readString();
            this._-4rQ = _arg1.readBoolean();
            this._-3GV = _arg1.readBoolean();
            return (true);
        }
        public function get email():String
        {
            return (this._-1iK);
        }
        public function get _-0KL():Boolean
        {
            return (this._-4rQ);
        }
        public function get _-W6():Boolean
        {
            return (this._-3GV);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-mk

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-mk implements _-58N 
    {

        public static const _-2Cj:int = 1;
        public static const _-4is:int = 2;
        public static const _-0WE:int = 3;
        public static const _-2bs:int = 4;

        private var _-4V6:String;
        private var _-3fW:int;
        private var _-4kW:int;
        private var _-00-:int;
        private var _-4N7:int;
        private var _-3YP:Boolean;
        private var _-2Ll:Boolean;
        private var _-Di:int;
        private var _-3R2:int;
        private var _-4cu:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4V6 = _arg1.readString();
            this._-3fW = _arg1._-2BW();
            this._-4kW = _arg1._-2BW();
            this._-00- = _arg1._-2BW();
            this._-4N7 = _arg1._-2BW();
            this._-3YP = _arg1.readBoolean();
            this._-2Ll = _arg1.readBoolean();
            this._-Di = _arg1._-2BW();
            this._-3R2 = _arg1._-2BW();
            this._-4cu = _arg1._-2BW();
            return (true);
        }
        public function get productName():String
        {
            return (this._-4V6);
        }
        public function get _-2Kk():int
        {
            return (this._-3fW);
        }
        public function get _-2L0():int
        {
            return (this._-4kW);
        }
        public function get _-2yA():int
        {
            return (this._-00-);
        }
        public function get _-Wa():int
        {
            return (this._-4N7);
        }
        public function get _-33w():Boolean
        {
            return (this._-3YP);
        }
        public function get _-0Dl():Boolean
        {
            return (this._-2Ll);
        }
        public function get _-4pc():int
        {
            return (this._-Di);
        }
        public function get _-0pO():int
        {
            return (this._-3R2);
        }
        public function get _-2J():int
        {
            return (this._-4cu);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-nD

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-nD implements _-58N 
    {

        private var _-0qe:int;
        private var _-4lu:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qe = _arg1._-2BW();
            this._-4lu = _arg1._-2BW();
            return (true);
        }
        public function get _-2Jo():int
        {
            return (this._-0qe);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-nr

package _-ta
{
    import _-2It._-1XZ;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-nr implements _-58N 
    {

        private var _-0qE:_-1XZ;

        public function flush():Boolean
        {
            this._-0qE = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-0qE = new _-1XZ(_arg1);
            return (true);
        }
        public function get data():_-1XZ
        {
            return (this._-0qE);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-Oc

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-Oc implements _-58N 
    {

        public static const _-0Rs:int = 2;

        private var _-3Dw:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Dw = _arg1._-2BW();
            return (true);
        }
        public function get reason():int
        {
            return (this._-3Dw);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-oX

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-oX implements _-58N 
    {

        private var _result:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._result = _arg1._-2BW();
            return (true);
        }
        public function get result():int
        {
            return (this._result);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta._-zs

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-zs implements _-58N 
    {

        private var _-1Rt:int = 0;
        private var _-0wA:int = 0;
        private var _-3Z9:int;
        private var _-0Kq:int;
        private var _-1v0:String;

        public function get roomId():int
        {
            return (this._-1Rt);
        }
        public function get roomCategory():int
        {
            return (this._-0wA);
        }
        public function get _-2HY():int
        {
            return (this._-3Z9);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get _-3A7():String
        {
            return (this._-1v0);
        }
        public function flush():Boolean
        {
            this._-3Z9 = -1;
            this._-0Kq = -1;
            this._-1v0 = "";
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-3Z9 = _arg1._-2BW();
            this._-0Kq = _arg1._-2BW();
            this._-1v0 = _arg1.readString();
            return (true);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-ta.default

package _-ta
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class default implements _-58N 
    {

        private var _-4lu:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-4lu = _arg1._-2BW();
            return (true);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }

    }
}//package _-ta

//------------------------------------------------------------
//_-tn._-3f4

package _-tn
{
    import _-022._-2G2;

    public class _-3f4 
    {

        public static const _-2E3:Number = -1;
        public static const _-3Bb:Number = 1;

        private var _-xd:_-2G2 = null;
        private var _-2XZ:Number = -1;
        private var _-5E9:Number = 1;
        private var _-19-:Number = -1;
        private var _-v:Number = 1;

        public function _-3f4(_arg1:_-2G2, _arg2:Number=-1, _arg3:Number=1, _arg4:Number=-1, _arg5:Number=1)
        {
            this._-2XZ = _arg2;
            this._-5E9 = _arg3;
            this._-19- = _arg4;
            this._-v = _arg5;
            this._-xd = _arg1;
        }
        public function get asset():_-2G2
        {
            return (this._-xd);
        }
        public function get normalMinX():Number
        {
            return (this._-2XZ);
        }
        public function get normalMaxX():Number
        {
            return (this._-5E9);
        }
        public function get normalMinY():Number
        {
            return (this._-19-);
        }
        public function get normalMaxY():Number
        {
            return (this._-v);
        }
        public function dispose():void
        {
            this._-xd = null;
        }

    }
}//package _-tn

//------------------------------------------------------------
//_-tn.PlaneMask

package _-tn
{
    import _-18r.Map;
    import _-022._-2G2;
    import _-0y0._-06R;

    public class PlaneMask 
    {

        private var _-332:Map;
        private var _-4Xn:Array;
        private var _-5ET:PlaneMaskVisualization = null;
        private var _-3Xk:int = -1;

        public function PlaneMask()
        {
            this._-4Xn = [];
            super();
            this._-332 = new Map();
        }
        public function dispose():void
        {
            var k:PlaneMaskVisualization;
            var k:int;
            if (this._-332 != null)
            {
                k = null;
                k = 0;
                while (k < this._-332.length)
                {
                    k = (this._-332.getWithIndex(k) as PlaneMaskVisualization);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-332.dispose();
                this._-332 = null;
            };
            this._-5ET = null;
            this._-4Xn = null;
        }
        public function _-1oJ(_arg1:int):PlaneMaskVisualization
        {
            if (this._-332.getValue(String(_arg1)) != null)
            {
                return (null);
            };
            var k:PlaneMaskVisualization = new PlaneMaskVisualization();
            this._-332.add(String(_arg1), k);
            this._-4Xn.push(_arg1);
            this._-4Xn.sort();
            return (k);
        }
        private function _-2ek(_arg1:int):int
        {
            var k:int;
            var k:int = 1;
            while (k < this._-4Xn.length)
            {
                if (this._-4Xn[k] > _arg1)
                {
                    if ((this._-4Xn[k] - _arg1) < (_arg1 - this._-4Xn[(k - 1)]))
                    {
                    };
                    break;
                };
                k++;
            };
            return (k);
        }
        protected function _-0FR(_arg1:int):PlaneMaskVisualization
        {
            if (_arg1 == this._-3Xk)
            {
                return (this._-5ET);
            };
            var k:int = this._-2ek(_arg1);
            if (k < this._-4Xn.length)
            {
                this._-5ET = (this._-332.getValue(String(this._-4Xn[k])) as PlaneMaskVisualization);
            }
            else
            {
                this._-5ET = null;
            };
            this._-3Xk = _arg1;
            return (this._-5ET);
        }
        public function _-42k(_arg1:Number, _arg2:_-06R):_-2G2
        {
            var k:PlaneMaskVisualization = this._-0FR(_arg1);
            if (k == null)
            {
                return (null);
            };
            var k:_-2G2 = k.getAsset(_arg2);
            return (k);
        }

    }
}//package _-tn

//------------------------------------------------------------
//_-tn.PlaneMaskManager

package _-tn
{
    import _-022._-2KD;
    import _-18r.Map;
    import _-0y0.XMLValidator;
    import _-022._-2G2;
    import _-295.BitmapDataAsset;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.geom.Matrix;
    import _-0y0._-06R;

    public class PlaneMaskManager 
    {

        private var _-3e3:_-2KD = null;
        private var _-1MT:Map = null;
        private var _-0qE:XML = null;

        public function PlaneMaskManager()
        {
            this._-1MT = new Map();
        }
        public function get data():XML
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            var k:int;
            var k:PlaneMask;
            this._-3e3 = null;
            this._-0qE = null;
            if (this._-1MT != null)
            {
                k = 0;
                while (k < this._-1MT.length)
                {
                    k = (this._-1MT.getWithIndex(k) as PlaneMask);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-1MT.dispose();
            };
        }
        public function initialize(_arg1:XML):void
        {
            this._-0qE = _arg1;
        }
        public function initializeAssetCollection(_arg1:_-2KD):void
        {
            if (this.data == null)
            {
                return;
            };
            this._-3e3 = _arg1;
            this._-4u9(this.data, _arg1);
        }
        private function _-4u9(_arg1:XML, _arg2:_-2KD):void
        {
            var k:XML;
            var k:String;
            var k:PlaneMask;
            var k:XMLList;
            var k:int;
            var k:XML;
            var k:int;
            var k:PlaneMaskVisualization;
            var k:XMLList;
            if ((((_arg1 == null)) || ((_arg2 == null))))
            {
                return;
            };
            var k:Array = ["id"];
            var k:Array = ["size"];
            var k:XMLList = _arg1.mask;
            var k:int;
            while (k < k.length())
            {
                k = k[k];
                if (XMLValidator._-4qb(k, k))
                {
                    k = k.@id;
                    if (this._-1MT.getValue(k) == null)
                    {
                        k = new PlaneMask();
                        k = k.maskVisualization;
                        k = 0;
                        while (k < k.length())
                        {
                            k = k[k];
                            if (XMLValidator._-4qb(k, k))
                            {
                                k = parseInt(k.@size);
                                k = k._-1oJ(k);
                                if (k != null)
                                {
                                    k = k.bitmap;
                                    this._-5E-(k, k, _arg2);
                                };
                            };
                            k++;
                        };
                        this._-1MT.add(k, k);
                    };
                };
                k++;
            };
        }
        private function _-5E-(_arg1:XMLList, _arg2:PlaneMaskVisualization, _arg3:_-2KD):void
        {
            var k:XML;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:String;
            var k:_-2G2;
            if (_arg1 == null)
            {
                return;
            };
            var k:int;
            while (k < _arg1.length())
            {
                k = _arg1[k];
                if (XMLValidator._-4qb(k, ["assetName"]))
                {
                    k = PlaneMaskVisualization._-2E3;
                    k = PlaneMaskVisualization._-3Bb;
                    k = PlaneMaskVisualization._-2E3;
                    k = PlaneMaskVisualization._-3Bb;
                    if (String(k.@normalMinX) != "")
                    {
                        k = parseFloat(k.@normalMinX);
                    };
                    if (String(k.@normalMaxX) != "")
                    {
                        k = parseFloat(k.@normalMaxX);
                    };
                    if (String(k.@normalMinY) != "")
                    {
                        k = parseFloat(k.@normalMinY);
                    };
                    if (String(k.@normalMaxY) != "")
                    {
                        k = parseFloat(k.@normalMaxY);
                    };
                    k = k.@assetName;
                    k = _arg3.getAsset(k);
                    if (k != null)
                    {
                        _arg2._-3By(k, k, k, k, k);
                    };
                };
                k++;
            };
        }
        public function _-05N(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:_-06R, _arg5:int, _arg6:int):Boolean
        {
            var k:_-2G2;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Point;
            var k:Matrix;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:PlaneMask = (this._-1MT.getValue(_arg2) as PlaneMask);
            if (k != null)
            {
                k = k._-42k(_arg3, _arg4);
                if (k != null)
                {
                    k = (k.asset as BitmapDataAsset);
                    if (k != null)
                    {
                        k = (k.content as BitmapData);
                        if (k != null)
                        {
                            k = new Point((_arg5 + k.offsetX), (_arg6 + k.offsetY));
                            k = new Matrix();
                            k = 1;
                            k = 1;
                            k = 0;
                            k = 0;
                            if (k.flipH)
                            {
                                k = -1;
                                k = k.width;
                            };
                            if (k.flipV)
                            {
                                k = -1;
                                k = k.height;
                            };
                            k.scale(k, k);
                            k.translate((k.x + k), (k.y + k));
                            _arg1.draw(k, k);
                        };
                    };
                };
            };
            return (true);
        }

    }
}//package _-tn

//------------------------------------------------------------
//_-tn.PlaneMaskVisualization

package _-tn
{
    import _-022._-2G2;
    import _-0y0._-06R;

    public class PlaneMaskVisualization 
    {

        public static const _-2E3:Number = -1;
        public static const _-3Bb:Number = 1;

        private var _-4FB:Array;

        public function PlaneMaskVisualization()
        {
            this._-4FB = [];
            super();
        }
        public function dispose():void
        {
            var k:int;
            var k:_-3f4;
            if (this._-4FB != null)
            {
                k = 0;
                while (k < this._-4FB.length)
                {
                    k = (this._-4FB[k] as _-3f4);
                    if (k != null)
                    {
                        k.dispose();
                    };
                    k++;
                };
                this._-4FB = null;
            };
        }
        public function _-3By(_arg1:_-2G2, _arg2:Number=-1, _arg3:Number=1, _arg4:Number=-1, _arg5:Number=1):void
        {
            var k:_-3f4 = new _-3f4(_arg1, _arg2, _arg3, _arg4, _arg5);
            this._-4FB.push(k);
        }
        public function getAsset(_arg1:_-06R):_-2G2
        {
            var k:_-3f4;
            if (_arg1 == null)
            {
                return (null);
            };
            var k:int;
            while (k < this._-4FB.length)
            {
                k = (this._-4FB[k] as _-3f4);
                if (k != null)
                {
                    if ((((((((_arg1.x >= k.normalMinX)) && ((_arg1.x <= k.normalMaxX)))) && ((_arg1.y >= k.normalMinY)))) && ((_arg1.y <= k.normalMaxY))))
                    {
                        return (k.asset);
                    };
                };
                k++;
            };
            return (null);
        }

    }
}//package _-tn

//------------------------------------------------------------
//_-Tx._-4UH

package _-Tx
{
    import _-4Aj.*;

    public class _-4UH implements _-1oF 
    {

        public function dispose():void
        {
        }
        public function _-43Z():Array
        {
            return ([]);
        }

    }
}//package _-Tx

//------------------------------------------------------------
//_-u-._-1cc

package _-u-
{
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1cc implements _-58N 
    {

        private var _-00d:int;

        public function flush():Boolean
        {
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-00d = _arg1._-2BW();
            return (true);
        }
        public function get score():int
        {
            return (this._-00d);
        }

    }
}//package _-u-

//------------------------------------------------------------
//_-u-._-1Q7

package _-u-
{
    import _-69._-mL;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Q7 implements _-58N 
    {

        private var _-020:Array;
        private var _-0BN:String;

        public function flush():Boolean
        {
            this._-020 = new Array();
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-020 = new Array();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-020.push(new _-mL(_arg1));
                k++;
            };
            this._-0BN = _arg1.readString();
            return (true);
        }
        public function get achievements():Array
        {
            return (this._-020);
        }
        public function get _-4Bl():String
        {
            return (this._-0BN);
        }

    }
}//package _-u-

//------------------------------------------------------------
//_-u-._-1Xt

package _-u-
{
    import _-69._-mL;
    import _-4Aj._-0s1;
    import _-4Aj.*;

    public class _-1Xt implements _-58N 
    {

        private var _-ah:_-mL;

        public function flush():Boolean
        {
            this._-ah = null;
            return (true);
        }
        public function parse(_arg1:_-0s1):Boolean
        {
            this._-ah = new _-mL(_arg1);
            return (true);
        }
        public function get achievement():_-mL
        {
            return (this._-ah);
        }

    }
}//package _-u-

//------------------------------------------------------------
//_-U2._-05B

package _-U2
{
    import _-4Aj._-0s1;

    public class _-05B 
    {

        private var _-1Ha:int;
        private var _-291:String;
        private var _-1qI:int;
        private var _-01o:String;
        private var _-59c:Boolean;
        private var _-306:String;

        public function _-05B(_arg1:_-0s1)
        {
            this._-1Ha = _arg1._-2BW();
            this._-291 = _arg1.readString();
            this._-1qI = _arg1._-2BW();
            this._-01o = _arg1.readString();
            this._-59c = _arg1.readBoolean();
            this._-306 = _arg1.readString();
        }
        public function get _-4Vc():int
        {
            return (this._-1Ha);
        }
        public function get _-16G():String
        {
            return (this._-291);
        }
        public function get userRank():int
        {
            return (this._-1qI);
        }
        public function get _-5X():String
        {
            return (this._-01o);
        }
        public function get badge():Boolean
        {
            return (this._-59c);
        }
        public function get _-0Fe():String
        {
            return (this._-306);
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-0KQ

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-4KI;
    import _-4Aj.*;

    public class _-0KQ extends _-7V implements _-0tL 
    {

        public function _-0KQ(_arg1:Function)
        {
            super(_arg1, _-4KI);
        }
        public function _-3-5():_-4KI
        {
            return ((_-515 as _-4KI));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-0S8

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-16L;
    import _-4Aj.*;

    public class _-0S8 extends _-7V implements _-0tL 
    {

        public function _-0S8(_arg1:Function)
        {
            super(_arg1, _-16L);
        }
        public function _-3-5():_-16L
        {
            return ((_-515 as _-16L));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-1F2

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-4Eo;
    import _-4Aj.*;

    public class _-1F2 extends _-7V implements _-0tL 
    {

        public function _-1F2(_arg1:Function)
        {
            super(_arg1, _-4Eo);
        }
        public function _-3-5():_-4Eo
        {
            return ((this._-515 as _-4Eo));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-1fW

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-4K4;
    import _-4Aj.*;

    public class _-1fW extends _-7V implements _-0tL 
    {

        public function _-1fW(_arg1:Function)
        {
            super(_arg1, _-4K4);
        }
        public function _-3-5():_-4K4
        {
            return ((_-515 as _-4K4));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-1Yl

package _-U2
{
    import _-4Aj._-0s1;

    public class _-1Yl 
    {

        private var null :String;
        private var _-1mm:int;
        private var _-1Tj:int;
        private var _-05f:int;
        private var _-0Kq:int;
        private var _-4Ii:Boolean;
        private var _-5K:String;
        private var _-1Ps:String;
        private var _-2r1:int;
        private var _-X6:String;
        private var _-3On:int;
        private var _-qR:int;
        private var _-0La:int;
        private var _-3Vc:int;
        private var _-0zp:String;
        private var _-4xP:String;
        private var _-TZ:Boolean;
        private var _-0rB:Date;

        public function _-1Yl(_arg1:_-0s1)
        {
            this._-0rB = new Date();
            super();
            this.null  = _arg1.readString();
            this._-1mm = _arg1._-2BW();
            this._-1Tj = _arg1._-2BW();
            this._-05f = _arg1._-2BW();
            this._-0Kq = _arg1._-2BW();
            this._-4Ii = _arg1.readBoolean();
            this._-5K = _arg1.readString();
            this._-1Ps = _arg1.readString();
            this._-2r1 = _arg1._-2BW();
            this._-X6 = _arg1.readString();
            this._-3On = _arg1._-2BW();
            this._-qR = _arg1._-2BW();
            this._-3Vc = _arg1._-2BW();
            this._-0zp = _arg1.readString();
            this._-4xP = _arg1.readString();
            this._-TZ = _arg1.readBoolean();
        }
        public static function _-2KM(_arg1:String):String
        {
            return (("quests." + _arg1));
        }

        public function get _-0-l():String
        {
            return (this.null );
        }
        public function get _-Sy():String
        {
            return (this._-X6);
        }
        public function get _-1K8():int
        {
            return (this._-1mm);
        }
        public function get _-27q():int
        {
            return (this._-1Tj);
        }
        public function get activityPointType():int
        {
            return (this._-05f);
        }
        public function get accepted():Boolean
        {
            return (this._-4Ii);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get type():String
        {
            return (this._-5K);
        }
        public function get _-12M():String
        {
            return (this._-1Ps);
        }
        public function get _-28D():int
        {
            return (this._-2r1);
        }
        public function get _-2oD():int
        {
            return (this._-3On);
        }
        public function get _-4wb():int
        {
            return (this._-qR);
        }
        public function get get ():Boolean
        {
            return ((this._-3On == this._-qR));
        }
        public function get _-1UI():int
        {
            if (this._-0La < 1)
            {
                return (0);
            };
            var k:Date = new Date();
            var k:int = (k.getTime() - this._-0rB.getTime());
            var k:int = Math.max(0, (this._-0La - Math.floor((k / 1000))));
            return (k);
        }
        public function _-25Z():String
        {
            return (_-2KM(this._-0-l));
        }
        public function _-1PR():String
        {
            return (((this._-25Z() + ".") + this._-X6));
        }
        public function get _-H1():Boolean
        {
            return ((this._-0Kq < 1));
        }
        public function set id(_arg1:int):void
        {
            this._-0Kq = _arg1;
        }
        public function set accepted(_arg1:Boolean):void
        {
            this._-4Ii = _arg1;
        }
        public function get _-0P0():Boolean
        {
            return ((this._-1mm >= this._-1Tj));
        }
        public function get _-2zG():Date
        {
            return (this._-0rB);
        }
        public function set _-1UI(_arg1:int):void
        {
            this._-0La = _arg1;
        }
        public function get sortOrder():int
        {
            return (this._-3Vc);
        }
        public function get _-Z6():String
        {
            return (this._-0zp);
        }
        public function get _-1G6():String
        {
            return (this._-4xP);
        }
        public function get easy():Boolean
        {
            return (this._-TZ);
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-2Pr

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-4AG;
    import _-4Aj.*;

    public class _-2Pr extends _-7V implements _-0tL 
    {

        public function _-2Pr(_arg1:Function)
        {
            super(_arg1, _-4AG);
        }
        public function _-3-5():_-4AG
        {
            return ((_-515 as _-4AG));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-2Rz

package _-U2
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-2Rz implements _-1zZ 
    {

        private var _-HU:String;
        private var _-3Lm:Array;

        public function _-2Rz(_arg1:_-0s1):void
        {
            this._-3Lm = [];
            super();
            this._-HU = _arg1.readString();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-3Lm.push(new _-2vV(_arg1));
                k++;
            };
        }
        public function dispose():void
        {
            this._-3Lm = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-3Lm == null));
        }
        public function get hof():Array
        {
            return (this._-3Lm);
        }
        public function get _-0Tu():String
        {
            return (this._-HU);
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-2Vp

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-013;
    import _-4Aj.*;

    public class _-2Vp extends _-7V implements _-0tL 
    {

        public function _-2Vp(_arg1:Function)
        {
            super(_arg1, _-013);
        }
        public function _-3-5():_-013
        {
            return ((_-515 as _-013));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-2vV

package _-U2
{
    import _-4Aj._-0s1;

    public class _-2vV implements _-SA 
    {

        private var _-4lu:int;
        private var _-2lb:String;
        private var _-5AE:String;
        private var _-2W0:int;
        private var _-4eC:int;

        public function _-2vV(_arg1:_-0s1)
        {
            this._-4lu = _arg1._-2BW();
            this._-2lb = _arg1.readString();
            this._-5AE = _arg1.readString();
            this._-2W0 = _arg1._-2BW();
            this._-4eC = _arg1._-2BW();
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get rank():int
        {
            return (this._-2W0);
        }
        public function get _-Db():int
        {
            return (this._-4eC);
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-3fH

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-51v;
    import _-4Aj.*;

    public class _-3fH extends _-7V implements _-0tL 
    {

        public function _-3fH(_arg1:Function)
        {
            super(_arg1, _-51v);
        }
        public function _-3-5():_-51v
        {
            return ((_-515 as _-51v));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-3kM

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-4lV;
    import _-4Aj.*;

    public class _-3kM extends _-7V implements _-0tL 
    {

        public function _-3kM(_arg1:Function)
        {
            super(_arg1, _-4lV);
        }
        public function _-3-5():_-4lV
        {
            return ((_-515 as _-4lV));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-4Lx

package _-U2
{
    import _-4Aj._-0s1;
    import _-1B-.*;

    public class _-4Lx implements _-1zZ 
    {

        private var _-2Xe:Boolean;
        private var _-4HD:int;
        private var _-wh:int;
        private var _-2r3:int;
        private var _-1if:int;
        private var _-1U6:int;
        private var _-3Y4:int;
        private var _-HU:String;
        private var _-3Oq:int;
        private var _-1AO:Array;

        public function _-4Lx(_arg1:_-0s1):void
        {
            this._-1AO = [];
            super();
            this._-2Xe = _arg1.readBoolean();
            this._-4HD = _arg1._-2BW();
            this._-wh = _arg1._-2BW();
            this._-2r3 = _arg1._-2BW();
            this._-1if = _arg1._-2BW();
            this._-1U6 = _arg1._-2BW();
            this._-3Y4 = _arg1._-2BW();
            this._-HU = _arg1.readString();
            this._-3Oq = _arg1._-2BW();
            var k:int = _arg1._-2BW();
            var k:int;
            while (k < k)
            {
                this._-1AO.push(_arg1._-2BW());
                k++;
            };
        }
        public function dispose():void
        {
            this._-1AO = null;
        }
        public function get disposed():Boolean
        {
            return ((this._-1AO == null));
        }
        public function get _-0Bn():Boolean
        {
            return (this._-2Xe);
        }
        public function get _-182():int
        {
            return (this._-4HD);
        }
        public function get _-0bg():int
        {
            return (this._-wh);
        }
        public function get _-58V():int
        {
            return (this._-2r3);
        }
        public function get _-3qk():int
        {
            return (this._-1if);
        }
        public function get _-41W():int
        {
            return (this._-1U6);
        }
        public function get _-au():int
        {
            return (this._-3Y4);
        }
        public function get _-0fg():int
        {
            return (this._-3Oq);
        }
        public function get _-4a6():Array
        {
            return (this._-1AO);
        }
        public function get _-0Tu():String
        {
            return (this._-HU);
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-b5

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-1s5;
    import _-4Aj.*;

    public class _-b5 extends _-7V implements _-0tL 
    {

        public function _-b5(_arg1:Function)
        {
            super(_arg1, _-1s5);
        }
        public function _-3-5():_-1s5
        {
            return ((_-515 as _-1s5));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-KQ

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-0XR;
    import _-4Aj.*;

    public class _-KQ extends _-7V implements _-0tL 
    {

        public function _-KQ(_arg1:Function)
        {
            super(_arg1, _-0XR);
        }
        public function _-3-5():_-0XR
        {
            return ((_-515 as _-0XR));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-N6

package _-U2
{
    import _-4Aj._-7V;
    import _-Ia._-0nh;
    import _-4Aj.*;

    public class _-N6 extends _-7V implements _-0tL 
    {

        public function _-N6(_arg1:Function)
        {
            super(_arg1, _-0nh);
        }
        public function _-3-5():_-0nh
        {
            return ((_-515 as _-0nh));
        }

    }
}//package _-U2

//------------------------------------------------------------
//_-U2._-SA

package _-U2
{
    public interface _-SA 
    {

        function get userId():int;
        function get userName():String;
        function get figure():String;

    }
}//package _-U2

//------------------------------------------------------------
//_-uF._-3Z

package _-uF
{
    public interface _-3Z 
    {

        function isSafeWord(_arg1:String):Boolean;
        function isSafePrefix(_arg1:String):Boolean;
        function _-0ID(_arg1:String):Array;

    }
}//package _-uF

//------------------------------------------------------------
//_-uF.CoreLocalizationManager

package _-uF
{
    import _-1B-._-Px;
    import _-0ld.TrieTree;
    import flash.utils.Dictionary;
    import _-18r.Map;
    import _-1B-._-5CE;
    import _-295._-39L;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-295._-2kE;
    import flash.events.Event;
    import _-6S.LocalizationEvent;
    import _-18r.ErrorReportStorage;
    import _-p-.Core;
    import _-1B-.*;

    public class CoreLocalizationManager extends _-Px implements _-1zZ, ICoreLocalizationManager, _-3Z 
    {

        private var _-3TO:TrieTree;
        private var _-p1:TrieTree;
        private var _-2eV:Dictionary;
        private var _-3Pe:Dictionary;
        private var _-3zP:Map;
        private var _-3gq:String;
        private var _-2Kv:String = "";
        private var _-4ev:Array;

        public function CoreLocalizationManager(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            this._-4ev = [];
            super(_arg1, _arg2, _arg3);
            this._-3Pe = new Dictionary();
            this._-3zP = new Map();
            this._-2eV = new Dictionary();
        }
        private static function _-28g(_arg1:String):String
        {
            k = _arg1.toLocaleLowerCase();
            var k:RegExp = /^\s+|\s+$/g;
            k = k.replace(k, "");
            return (k);
        }
        private static function _-1mS(_arg1:String, _arg2:String):Number
        {
            var k:uint = _-1Je(_arg1, _arg2);
            var k:uint = Math.max(_arg1.length, _arg2.length);
            if (k == 0)
            {
                return (100);
            };
            return (((1 - (k / k)) * 100));
        }
        private static function _-1Je(_arg1:String, _arg2:String):uint
        {
            var k:uint;
            var k:uint;
            var k:uint;
            var k:String;
            var k:String;
            if (_arg1 == null)
            {
                k = "";
            };
            if (_arg2 == null)
            {
                k = "";
            };
            if (_arg1 == _arg2)
            {
                return (0);
            };
            var k:Array = new Array();
            var k:uint = _arg1.length;
            var k:uint = _arg2.length;
            if (k == 0)
            {
                return (k);
            };
            if (k == 0)
            {
                return (k);
            };
            k = 0;
            while (k <= k)
            {
                k[k] = new Array();
                k++;
            };
            k = 0;
            while (k <= k)
            {
                k[k][0] = k;
                k++;
            };
            k = 0;
            while (k <= k)
            {
                k[0][k] = k;
                k++;
            };
            k = 1;
            while (k <= k)
            {
                k = _arg1.charAt((k - 1));
                k = 1;
                while (k <= k)
                {
                    k = _arg2.charAt((k - 1));
                    if (k == k)
                    {
                        k = 0;
                    }
                    else
                    {
                        k = 1;
                    };
                    k[k][k] = _-0C((k[(k - 1)][k] + 1), (k[k][(k - 1)] + 1), (k[(k - 1)][(k - 1)] + k));
                    k++;
                };
                k++;
            };
            return (k[k][k]);
        }
        private static function _-0C(_arg1:uint, _arg2:uint, _arg3:uint):uint
        {
            return (Math.min(_arg1, Math.min(_arg2, Math.min(_arg3, _arg1))));
        }

        override public function dispose():void
        {
            this._-3TO = null;
            this._-2eV = null;
            this._-p1 = null;
            this._-3Pe = null;
            if (this._-3zP != null)
            {
                this._-3zP.dispose();
            };
            this._-3zP = null;
            this._-4ev = null;
            super.dispose();
        }
        public function _-0Pg(_arg1:String, _arg2:String, _arg3:String):void
        {
            var k:LocalizationDefinition = this._-3zP[_arg1];
            if (k == null)
            {
                k = new LocalizationDefinition(_arg1, _arg2, _arg3);
                this._-3zP[_arg1] = k;
            };
        }
        public function _-19R(_arg1:String):Boolean
        {
            var k:LocalizationDefinition = this._-3zP[_arg1];
            if (k != null)
            {
                this._-3gq = _arg1;
                this._-3ab(k.url);
                return (true);
            };
            return (false);
        }
        public function _-2lN():Map
        {
            return (this._-3zP);
        }
        public function _-0BM(_arg1:String):ILocalizationDefinition
        {
            return ((this._-3zP[_arg1] as ILocalizationDefinition));
        }
        public function _-2Nb():ILocalizationDefinition
        {
            return (this._-0BM(this._-3gq));
        }
        public function _-3ab(_arg1:String):void
        {
            var k:String = _arg1;
            if (assets.hasAsset(k))
            {
                _-Nb.log(("[CoreLocalizationManager] reload localization for url: " + _arg1));
            };
            var k:URLRequest = new URLRequest(_arg1);
            var k:_-4Rz = assets.loadAssetFromFile(k, k, "text/plain");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-3V9);
            k.addEventListener(AssetLoaderEvent._-4ar, this.onLocalizationFailed);
        }
        private function _-3V9(_arg1:AssetLoaderEvent):void
        {
            var k:String;
            var k:_-2kE;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                k = k.assetName;
                this._-2G1((k._-48Y.content as String));
                this.events.dispatchEvent(new Event(LocalizationEvent._-tX));
                k = assets.getAssetByName(k);
                if (k)
                {
                    assets.removeAsset(k).dispose();
                };
            };
        }
        protected function onLocalizationFailed(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            ErrorReportStorage._-0QQ("Localization name", k.assetName);
            ErrorReportStorage._-0QQ("Localization url", k._-48Y.url);
            ErrorReportStorage._-0QQ("Localization error", ("Code: " + k._-48Y.errorCode));
            Core.error("Failed to download localization", true, Core._-2Qb);
        }
        public function _-VD(_arg1:String):Boolean
        {
            var k:Localization = (this._-3Pe[_arg1] as Localization);
            return (!((k == null)));
        }
        public function getKey(_arg1:String, _arg2:String=""):String
        {
            var k:Localization = (this._-3Pe[_arg1] as Localization);
            if (k == null)
            {
                this._-4ev.push(_arg1);
                return (_arg2);
            };
            return (k.value);
        }
        public function _-5Dc(_arg1:String, _arg2:String=""):String
        {
            var k:Localization = (this._-3Pe[_arg1] as Localization);
            if (k == null)
            {
                this._-4ev.push(_arg1);
                return (_arg2);
            };
            return (k._-ad);
        }
        public function _-3ch(_arg1:String, _arg2:String):void
        {
            var k:Localization = this._-3Pe[_arg1];
            if (k == null)
            {
                k = new Localization(_arg2);
                this._-3Pe[_arg1] = k;
            }
            else
            {
                k._-4R2(_arg2);
            };
            if (_arg2.indexOf("%predefined%") >= 0)
            {
                k.registerParameter("predefined", this._-2Kv);
            };
        }
        private function _-54H():void
        {
            var k:Localization;
            for each (k in this._-3Pe)
            {
                k._-06Y();
            };
        }
        public function _-1EK(_arg1:String, _arg2:ILocalizable):Boolean
        {
            var k:Localization = this._-3Pe[_arg1];
            if (k == null)
            {
                this._-4ev.push(_arg1);
                k = new Localization(_arg1);
                this._-3Pe[_arg1] = k;
            };
            k._-1EK(_arg2);
            return (true);
        }
        public function _-4nL(_arg1:String, _arg2:ILocalizable):Boolean
        {
            var k:Localization = this._-3Pe[_arg1];
            if (k != null)
            {
                k._-4nL(_arg2);
            };
            return (true);
        }
        public function registerParameter(_arg1:String, _arg2:String, _arg3:String, _arg4:String="%"):String
        {
            var k:Localization = this._-3Pe[_arg1];
            if (k == null)
            {
                k = new Localization();
                this._-3Pe[_arg1] = k;
            };
            k.registerParameter(_arg2, _arg3, _arg4);
            return (k.value);
        }
        public function getLocalization(_arg1:String):ILocalization
        {
            return ((this._-3Pe[_arg1] as ILocalization));
        }
        public function _-18C():Array
        {
            var k:String;
            var k:Array = new Array();
            for (k in this._-3Pe)
            {
                k.push(k);
            };
            return (k);
        }
        public function _-3RI():void
        {
            var k:String;
            var k:String = "";
            for each (k in this._-4ev)
            {
                k = (k + (k + "\n"));
            };
            _-Nb.log(k);
        }
        protected function _-2G1(_arg1:String):void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:String;
            var k:RegExp = /\n\r{1,}|\n{1,}|\r{1,}/mg;
            var k:RegExp = /^\s+|\s+$/g;
            var k:Array = _arg1.split(k);
            var k:RegExp = /\\n/mg;
            for each (k in k)
            {
                if (k.charAt(0) == "#")
                {
                }
                else
                {
                    k = k.split("=");
                    if (k[0].length > 0)
                    {
                        if (k.length > 1)
                        {
                            k = k.shift();
                            k = k.join("=");
                            k = k.replace(k, "");
                            k = k.replace(k, "");
                            k = k.replace(k, "\n");
                            if (k.length > 0)
                            {
                                this._-3ch(k, k);
                            };
                        };
                    };
                };
            };
            this._-54H();
        }
        protected function _-53g(_arg1:String):void
        {
            var k:Localization;
            var k:String;
            this._-2Kv = _arg1;
            for each (k in this._-3Pe)
            {
                k = k._-ad;
                if (((!((k == null))) && ((k.indexOf("%predefined%") >= 0))))
                {
                    k.registerParameter("predefined", this._-2Kv);
                };
            };
        }
        public function _-02k(_arg1:String):void
        {
            var k:String = _arg1;
            if (assets.hasAsset(k))
            {
                _-Nb.log(("[CoreLocalizationManager] reload safe chat dictionary for url: " + _arg1));
            };
            var k:URLRequest = new URLRequest(_arg1);
            var k:_-4Rz = assets.loadAssetFromFile(k, k, "text/plain");
            k.addEventListener(AssetLoaderEvent._-1Tr, this._-310);
            k.addEventListener(AssetLoaderEvent._-4ar, this._-3Kl);
        }
        private function _-310(_arg1:AssetLoaderEvent):void
        {
            var k:String;
            var k:_-2kE;
            var k:_-4Rz = (_arg1.target as _-4Rz);
            if (k != null)
            {
                k = k.assetName;
                this._-3Uo((k._-48Y.content as String));
                this.events.dispatchEvent(new Event(LocalizationEvent._-26g));
                k = (((assets)!=null) ? assets.getAssetByName(k) : null);
                if (k)
                {
                    assets.removeAsset(k).dispose();
                };
            };
        }
        private function _-3Kl(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz = (_arg1.target as _-4Rz);
            ErrorReportStorage._-0QQ("Safe Chat Dictionary name", k.assetName);
            ErrorReportStorage._-0QQ("Safe Chat Dictionary url", k._-48Y.url);
            ErrorReportStorage._-0QQ("Safe Chat Dictionary error", ("Code: " + k._-48Y.errorCode));
            Core.error("Failed to download safe-chat dictionary", true, Core._-3Gm);
        }
        private function _-3Uo(_arg1:String):void
        {
            var k:String;
            this._-3TO = new TrieTree();
            this._-p1 = new TrieTree();
            var k:RegExp = /^\s+|\s+$/g;
            var k:int;
            var k:Array = _arg1.split(",");
            for each (k in k)
            {
                if (k.charAt(0) == "#")
                {
                }
                else
                {
                    k = k.replace(k, "");
                    this._-3TO.add(k);
                    k++;
                };
            };
        }
        public function _-0ID(_arg1:String):Array
        {
            var k:String;
            k = _-28g(_arg1);
            if (k.length < 3)
            {
                return ([]);
            };
            var k:String = "";
            var k:int = 2;
            while (k <= k.length)
            {
                k = k.substr(0, k);
                if (!this.isSafePrefix(k))
                {
                    break;
                };
                k++;
            };
            var k:Array = this._-3TO._-0ID(k, (((k.length > 3)) ? k.length : 3));
            return (k);
        }
        public function isSafeWord(_arg1:String):Boolean
        {
            k = _-28g(_arg1);
            return (((this._-3TO._-0zF(k)) || (this._-p1._-0zF(k))));
        }
        public function isSafePrefix(_arg1:String):Boolean
        {
            k = _-28g(_arg1);
            return (((this._-3TO._-3dH(k)) || (this._-p1._-3dH(k))));
        }
        protected function _-3tX():void
        {
            this._-p1 = new TrieTree();
        }
        protected function _-3XP(_arg1:int, _arg2:String):void
        {
            this._-2eV[_arg1.toString()] = _arg2;
            this._-p1.add(_arg2);
        }
        protected function _-ee(_arg1:int):void
        {
            var k:int;
            var k:String;
            var k:String = this._-2eV[_arg1.toString()];
            if (k != null)
            {
                k = 0;
                for each (k in this._-2eV)
                {
                    if (k == k)
                    {
                        k++;
                    };
                };
                if (k == 1)
                {
                    this._-p1.remove(k);
                };
                delete this._-2eV[_arg1.toString()];
            };
        }

    }
}//package _-uF

//------------------------------------------------------------
//_-uF.ICoreLocalizationManager

package _-uF
{
    import _-18r.Map;
    import _-1B-.*;

    public interface ICoreLocalizationManager extends _-4yI 
    {

        function _-1EK(_arg1:String, _arg2:ILocalizable):Boolean;
        function _-4nL(_arg1:String, _arg2:ILocalizable):Boolean;
        function _-3ab(_arg1:String):void;
        function _-VD(_arg1:String):Boolean;
        function getKey(_arg1:String, _arg2:String=""):String;
        function _-5Dc(_arg1:String, _arg2:String=""):String;
        function _-3ch(_arg1:String, _arg2:String):void;
        function registerParameter(_arg1:String, _arg2:String, _arg3:String, _arg4:String="%"):String;
        function getLocalization(_arg1:String):ILocalization;
        function _-18C():Array;
        function _-0Pg(_arg1:String, _arg2:String, _arg3:String):void;
        function _-19R(_arg1:String):Boolean;
        function _-2lN():Map;
        function _-0BM(_arg1:String):ILocalizationDefinition;
        function _-2Nb():ILocalizationDefinition;
        function _-3RI():void;

    }
}//package _-uF

//------------------------------------------------------------
//_-uF.ILocalizable

package _-uF
{
    public interface ILocalizable 
    {

        function set localization(_arg1:String):void;

    }
}//package _-uF

//------------------------------------------------------------
//_-uF.ILocalization

package _-uF
{
    public interface ILocalization 
    {

        function get _-25k():Boolean;
        function get value():String;
        function get _-ad():String;

    }
}//package _-uF

//------------------------------------------------------------
//_-uF.ILocalizationDefinition

package _-uF
{
    public interface ILocalizationDefinition 
    {

        function get id():String;
        function get _-3k3():String;
        function get _-Wb():String;
        function get _-0vp():String;
        function get name():String;
        function get url():String;

    }
}//package _-uF

//------------------------------------------------------------
//_-uF.Localization

package _-uF
{
    import flash.utils.Dictionary;

    public class Localization implements ILocalization 
    {

        private var _-3lK:String;
        private var _-4ak:Dictionary;
        private var _-3tq:Array;
        private var _-rY:Boolean = false;

        public function Localization(_arg1:String=null)
        {
            this._-3lK = _arg1;
        }
        public function get _-25k():Boolean
        {
            return (!((this._-3lK == null)));
        }
        public function get value():String
        {
            return (this._-3b1());
        }
        public function get _-ad():String
        {
            return (this._-3lK);
        }
        public function _-4R2(_arg1:String):void
        {
            this._-3lK = _arg1;
            this._-06Y();
        }
        public function _-1EK(_arg1:ILocalizable):void
        {
            if (!this._-3tq)
            {
                this._-3tq = [];
            };
            if (this._-3tq.indexOf(_arg1) == -1)
            {
                this._-3tq.push(_arg1);
            };
            _arg1.localization = this.value;
        }
        public function _-4nL(_arg1:ILocalizable):void
        {
            var k:int;
            if (this._-3tq)
            {
                k = this._-3tq.indexOf(_arg1);
                if (k >= 0)
                {
                    this._-3tq.splice(k, 1);
                };
            };
        }
        public function registerParameter(_arg1:String, _arg2:String, _arg3:String="%"):void
        {
            if (!this._-4ak)
            {
                this._-4ak = new Dictionary();
            };
            this._-4ak[_arg1] = {
                id:_arg3,
                value:_arg2
            };
            this._-06Y();
        }
        public function _-06Y():void
        {
            var k:ILocalizable;
            if (this._-3tq)
            {
                for each (k in this._-3tq)
                {
                    k.localization = this.value;
                };
            };
        }
        private function _-3b1():String
        {
            var k:String;
            var k:Object;
            var k:String;
            var k:String;
            var k:RegExp;
            var k:int;
            var k:RegExp;
            var k:RegExp;
            var k:String = this._-3lK;
            if (k == null)
            {
                return (null);
            };
            if (this._-4ak)
            {
                for (k in this._-4ak)
                {
                    k = this._-4ak[k];
                    k = ((k.id + k) + k.id);
                    k = k.value;
                    k = new RegExp(k, "gim");
                    k = k.replace(k, k);
                    if (k.toLowerCase().indexOf(((k.id + "{") + k)) >= 0)
                    {
                        switch (int(k))
                        {
                            case 0:
                                k = 1;
                                break;
                            case 1:
                                k = 2;
                                break;
                            default:
                                k = 3;
                        };
                        k = new RegExp((((k.id + "\\{") + k) + "\\|([^|]*)\\|([^|]*)\\|([^}]*)\\}"), "gim");
                        k = new RegExp((k.id + k.id), "gim");
                        k = k.replace(k, ("$" + k));
                        k = k.replace(k, k);
                    };
                };
            };
            return (k);
        }

    }
}//package _-uF

//------------------------------------------------------------
//_-uF.LocalizationDefinition

package _-uF
{
    public class LocalizationDefinition implements ILocalizationDefinition 
    {

        private var _-2xs:String;
        private var _-4dj:String;
        private var _-3re:String;
        private var _name:String;
        private var _-5Q:String;

        public function LocalizationDefinition(_arg1:String, _arg2:String, _arg3:String)
        {
            var k:Array = _arg1.split("_");
            this._-2xs = k[0];
            var k:Array = String(k[1]).split(".");
            this._-4dj = k[0];
            this._-3re = k[1];
            this._name = _arg2;
            this._-5Q = _arg3;
        }
        public function get id():String
        {
            return (((((this._-2xs + "_") + this._-4dj) + ".") + this._-3re));
        }
        public function get _-3k3():String
        {
            return (this._-2xs);
        }
        public function get _-Wb():String
        {
            return (this._-4dj);
        }
        public function get _-0vp():String
        {
            return (this._-3re);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get url():String
        {
            return (this._-5Q);
        }

    }
}//package _-uF

//------------------------------------------------------------
//_-Un._-0Ln

package _-Un
{
    import flash.events.Event;

    public class _-0Ln extends Event 
    {

        public static const _-1i:String = "gce_game_chat";

        private var _-4lu:int;
        private var _-2md:String;
        private var _-3PP:int;
        private var _color:uint;
        private var _-5AE:String;
        private var _-4Cb:String;
        private var _name:String;
        private var _-3zz:Boolean;

        public function _-0Ln(_arg1:String, _arg2:int, _arg3:String, _arg4:int, _arg5:uint, _arg6:String, _arg7:String, _arg8:String, _arg9:Boolean, _arg10:Boolean=false, _arg11:Boolean=false)
        {
            super(_arg1, _arg10, _arg11);
            this._-4lu = _arg2;
            this._-2md = _arg3;
            this._-3PP = _arg4;
            this._color = _arg5;
            this._-5AE = _arg6;
            this._-4Cb = _arg7;
            this._name = _arg8;
            this._-3zz = _arg9;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get message():String
        {
            return (this._-2md);
        }
        public function get _-dY():int
        {
            return (this._-3PP);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get name():String
        {
            return (this._name);
        }
        public function get notify():Boolean
        {
            return (this._-3zz);
        }

    }
}//package _-Un

//------------------------------------------------------------
//_-uw.Game2CheckGameDirectoryStatusMessageComposer

package _-uw
{
    import _-4Aj.*;

    public class Game2CheckGameDirectoryStatusMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2CheckGameDirectoryStatusMessageComposer()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-uw

//------------------------------------------------------------
//_-uw.Game2GetAccountGameStatusMessageComposer

package _-uw
{
    import _-4Aj.*;

    public class Game2GetAccountGameStatusMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2GetAccountGameStatusMessageComposer(_arg1:int)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
        }

    }
}//package _-uw

//------------------------------------------------------------
//_-uw.Game2LeaveGameMessageComposer

package _-uw
{
    import _-4Aj.*;

    public class Game2LeaveGameMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2LeaveGameMessageComposer()
        {
            this._-0qE = [];
            super();
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-uw

//------------------------------------------------------------
//_-uw.Game2QuickJoinGameMessageComposer

package _-uw
{
    import _-4Aj.*;

    public class Game2QuickJoinGameMessageComposer implements _-1oF 
    {

        public function _-43Z():Array
        {
            return ([]);
        }
        public function dispose():void
        {
        }

    }
}//package _-uw

//------------------------------------------------------------
//_-uw.Game2StartSnowWarMessageComposer

package _-uw
{
    import _-4Aj.*;

    public class Game2StartSnowWarMessageComposer implements _-1oF 
    {

        private var _-0qE:Array;

        public function Game2StartSnowWarMessageComposer(_arg1:String)
        {
            this._-0qE = [];
            super();
            this._-0qE.push(_arg1);
        }
        public function _-43Z():Array
        {
            return (this._-0qE);
        }
        public function dispose():void
        {
            this._-0qE = [];
        }

    }
}//package _-uw

//------------------------------------------------------------
//_-Ux._-0cn

package _-Ux
{
    import _-FP._-2ul;
    import _-Ew.IWindowContainer;
    import _-18r.Map;
    import _-1ye._-26C;
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-og._-2n5;
    import _-og._-4Iz;
    import _-og._-2lU;
    import flash.events.IEventDispatcher;
    import flash.display.BitmapData;
    import _-1ae.IBitmapWrapperWindow;
    import flash.geom.Point;
    import _-1ae.ITextWindow;
    import _-Ew.IWindow;
    import _-295._-2kE;
    import _-295._-243;
    import _-2vN._-4Pi;
    import _-2vN._-29z;
    import _-2vN._-3hb;
    import flash.geom.Rectangle;
    import _-0Ie.WindowMouseEvent;
    import _-1FD._-2Lv;

    public class _-0cn extends _-2ul 
    {

        private static const _-3SS:Number = 100;
        private static const _-OU:Number = 100;

        private var _-0xv:IWindowContainer;
        private var _-44i:int = -1;
        private var _text:String;
        private var _-513:Boolean;
        private var _-6b:Boolean = false;
        private var _-1UP:String = "ecotron_box";
        private var _-3NX:Map;

        public function _-0cn(_arg1:_-26C, _arg2:_-3Ts, _arg3:_-39L=null)
        {
            this._-3NX = new Map();
            super(_arg1, _arg2, _arg3);
            this._-3NX.add("", "ecotronbox_card");
            this._-3NX.add("ecotron_box", "ecotronbox_card");
            this._-3NX.add("matic_box", "ecotronbox_card_furnimatic");
        }
        override public function dispose():void
        {
            this._-0of();
            super.dispose();
        }
        override public function registerUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.addEventListener(_-2n5._-16M, this.onObjectUpdate);
            _arg1.addEventListener(_-2n5._-4VY, this.onObjectUpdate);
            _arg1.addEventListener(_-4Iz._-1AW, this._-2xD);
            _arg1.addEventListener(_-2lU._-16M, this._-0gm);
            super.registerUpdateEvents(_arg1);
        }
        override public function unregisterUpdateEvents(_arg1:IEventDispatcher):void
        {
            if (_arg1 == null)
            {
                return;
            };
            _arg1.removeEventListener(_-2n5._-16M, this.onObjectUpdate);
            _arg1.removeEventListener(_-2n5._-4VY, this.onObjectUpdate);
            _arg1.removeEventListener(_-2lU._-16M, this._-0gm);
            _arg1.removeEventListener(_-4Iz._-1AW, this._-2xD);
        }
        private function onObjectUpdate(_arg1:_-2n5):void
        {
            this._-0of();
            switch (_arg1.type)
            {
                case _-2n5._-16M:
                    this._-6b = false;
                    this._-44i = _arg1._-mx;
                    this._text = _arg1.text;
                    this._-513 = _arg1.controller;
                    this._-1UP = _arg1._-0Y5;
                    this._-3Zl();
                    return;
                case _-2n5._-4VY:
                    if (!this._-6b)
                    {
                        return;
                    };
                    this._-44i = _arg1._-mx;
                    this._-3Zl();
                    this._-2iB(_arg1._-0WZ);
                    this._-1Jo(_arg1.text);
                    this._-jC(false);
                    return;
            };
        }
        private function _-2xD(_arg1:_-4Iz):void
        {
            if (_arg1.id == this._-44i)
            {
                this._-0of();
            };
        }
        private function _-0gm(_arg1:_-2lU):void
        {
            switch (_arg1.type)
            {
                case _-2lU._-16M:
                    this._-0of();
                    return;
            };
        }
        private function _-2iB(_arg1:BitmapData):void
        {
            if (_arg1 == null)
            {
                k = new BitmapData(1, 1);
            };
            if (this._-0xv == null)
            {
                return;
            };
            var k:IBitmapWrapperWindow = (this._-0xv.findChildByName("ecotronbox_card_preview") as IBitmapWrapperWindow);
            if (k == null)
            {
                return;
            };
            var k:int = ((k.width - _arg1.width) / 2);
            var k:int = ((k.height - _arg1.height) / 2);
            if (k.bitmap == null)
            {
                k.bitmap = new BitmapData(k.width, k.height, true, 0xFFFFFF);
            };
            k.bitmap.fillRect(k.bitmap.rect, 0xFFFFFF);
            k.bitmap.copyPixels(_arg1, _arg1.rect, new Point(k, k), null, null, false);
        }
        private function _-1Jo(_arg1:String):void
        {
            var k:ITextWindow;
            k = (this._-0xv.findChildByName("ecotronbox_card_msg") as ITextWindow);
            if (((!((k == null))) && (!((_arg1 == null)))))
            {
                k.caption = _arg1;
            };
        }
        private function _-3Zl():void
        {
            var k:ITextWindow;
            var k:IWindow;
            if (this._-44i < 0)
            {
                return;
            };
            var k:_-2kE = assets.getAssetByName(this._-3NX.getValue(this._-1UP));
            var k:_-243 = _-243(k);
            if (k == null)
            {
                return;
            };
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            this._-0xv = (windowManager.createWindow("ecotronboxcardui_container", "", _-4Pi._-0Dc, _-29z._-3dr, (_-3hb._-0l | _-3hb._-0g6), new Rectangle(_-3SS, _-OU, 2, 2), null, 0) as IWindowContainer);
            this._-0xv.buildFromXML(XML(k.content));
            k = (this._-0xv.findChildByName("ecotronbox_card_date") as ITextWindow);
            if (((!((k == null))) && (!((this._text == null)))))
            {
                k.caption = this._text;
            };
            k = this._-0xv.findChildByName("ecotronbox_card_btn_close");
            if (k != null)
            {
                k.addEventListener(WindowMouseEvent._-90, this._-2yr);
            };
            this._-jC(true);
        }
        private function _-jC(_arg1:Boolean):void
        {
            var k:IWindow;
            if (this._-0xv == null)
            {
                return;
            };
            k = this._-0xv.findChildByName("ecotronbox_card_btn_open");
            if (k != null)
            {
                if (((this._-513) && (_arg1)))
                {
                    k.visible = true;
                    k.addEventListener(WindowMouseEvent._-90, this._-2yr);
                }
                else
                {
                    k.visible = false;
                };
            };
        }
        private function _-0of():void
        {
            if (this._-0xv != null)
            {
                this._-0xv.dispose();
                this._-0xv = null;
            };
            if (!this._-6b)
            {
                this._-44i = -1;
            };
            this._text = "";
            this._-513 = false;
        }
        private function _-0wR():void
        {
            var k:_-2Lv;
            if (((((this._-6b) || ((this._-44i == -1)))) || (!(this._-513))))
            {
                return;
            };
            this._-6b = true;
            if (messageListener != null)
            {
                k = new _-2Lv(_-2Lv._-3zj, this._-44i);
                messageListener.processWidgetMessage(k);
            };
        }
        private function _-2yr(_arg1:WindowMouseEvent):void
        {
            var k:IWindow = (_arg1.target as IWindow);
            var k:String = k.name;
            switch (k)
            {
                case "ecotronbox_card_btn_open":
                    this._-0wR();
                    return;
                case "ecotronbox_card_btn_close":
                default:
                    this._-6b = false;
                    this._-0of();
            };
        }

    }
}//package _-Ux

//------------------------------------------------------------
//_-WH._-1PE

package _-WH
{
    import flash.events.Event;

    public class _-1PE extends Event 
    {

        public static const _-4EE:String = "qe_quests";

        private var _-0vv:Array;

        public function _-1PE(_arg1:String, _arg2:Array, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg3, _arg4);
            this._-0vv = _arg2;
        }
        public function get quests():Array
        {
            return (this._-0vv);
        }

    }
}//package _-WH

//------------------------------------------------------------
//_-wm._-1CR

package _-wm
{
    import _-4Aj._-7V;
    import _-0B2._-2BC;

    public class _-1CR extends _-7V 
    {

        public function _-1CR(_arg1:Function)
        {
            super(_arg1, _-2BC);
        }
        public function _-3-5():_-2BC
        {
            return ((_-515 as _-2BC));
        }

    }
}//package _-wm

//------------------------------------------------------------
//_-wm._-2yt

package _-wm
{
    import _-4Aj._-7V;
    import _-0B2._-44R;

    public class _-2yt extends _-7V 
    {

        public function _-2yt(_arg1:Function)
        {
            super(_arg1, _-44R);
        }
        public function _-3-5():_-44R
        {
            return ((_-515 as _-44R));
        }

    }
}//package _-wm

//------------------------------------------------------------
//_-wm._-3LQ

package _-wm
{
    import _-4Aj._-7V;
    import _-0B2._-0Pa;
    import _-4Aj.*;

    public class _-3LQ extends _-7V implements _-0tL 
    {

        public function _-3LQ(_arg1:Function)
        {
            super(_arg1, _-0Pa);
        }
        public function _-3-5():_-0Pa
        {
            return ((_-515 as _-0Pa));
        }

    }
}//package _-wm

//------------------------------------------------------------
//_-XY._-2TK

package _-XY
{
    import __AS3__.vec.Vector;

    public class _-2TK 
    {

        private var _-2Ku:TraxSample = null;
        private var _-1fe:int = 0;

        public function _-2TK(_arg1:TraxSample, _arg2:int)
        {
            this._-2Ku = _arg1;
            this._-1fe = _arg2;
        }
        public function _-2ys(_arg1:Vector.<int>, _arg2:int, _arg3:int):void
        {
            this._-1fe = this._-2Ku._-2ys(_arg1, _arg2, _arg3, this._-1fe);
        }
        public function _-03l(_arg1:Vector.<int>, _arg2:int, _arg3:int):void
        {
            this._-1fe = this._-2Ku._-03l(_arg1, _arg2, _arg3, this._-1fe);
        }

    }
}//package _-XY

//------------------------------------------------------------
//_-XY._-43C

package _-XY
{
    public class _-43C 
    {

        private var _-0Kq:int;
        private var _-0p1:int;

        public function _-43C(_arg1:int, _arg2:int)
        {
            this._-0Kq = _arg1;
            this._-0p1 = _arg2;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get length():int
        {
            return (this._-0p1);
        }

    }
}//package _-XY

//------------------------------------------------------------
//_-XY.TraxChannel

package _-XY
{
    public class TraxChannel 
    {

        private var _-0Kq:int;
        private var _-2ZH:Array;

        public function TraxChannel(_arg1:int)
        {
            this._-0Kq = _arg1;
            this._-2ZH = [];
        }
        public function get _-3Z7():int
        {
            return (this._-2ZH.length);
        }
        public function _-3l4(_arg1:_-43C):void
        {
            this._-2ZH.push(_arg1);
        }
        public function _-2fQ(_arg1:int):_-43C
        {
            return ((this._-2ZH[_arg1] as _-43C));
        }

    }
}//package _-XY

//------------------------------------------------------------
//_-XY.TraxData

package _-XY
{
    import _-18r.Map;

    public class TraxData 
    {

        private var _-mq:Array;
        private var _-3kB:Map;

        public function TraxData(_arg1:String)
        {
            var k:Array;
            var k:Array;
            var k:int;
            var k:String;
            var k:String;
            var k:int;
            var k:Array;
            var k:TraxChannel;
            var k:int;
            var k:Array;
            var k:int;
            var k:int;
            this._-3kB = new Map();
            super();
            this._-mq = [];
            var k:Array = _arg1.split(":");
            var k:String = String(k[(k.length - 1)]);
            if (k.indexOf("meta") != -1)
            {
                k = k.split(";");
                k = 0;
                while (k < k.length)
                {
                    k = String(k[k]).split(",")[0];
                    k = String(k[k]).split(",")[1];
                    this._-3kB.add(k, k);
                    k++;
                };
                k = k.slice(0, (k.length - 1));
            }
            else
            {
            };
            var k:int;
            while (k < (k.length / 2))
            {
                if (k[(k * 2)].toString().length > 0)
                {
                    k = int(k[(k * 2)]);
                    k = k[((k * 2) + 1)].toString().split(";");
                    k = new TraxChannel(k);
                    k = 0;
                    while (k < k.length)
                    {
                        k = k[k].toString().split(",");
                        if (k.length != 2)
                        {
                            _-Nb.log("Trax load error: invalid song data string");
                            return;
                        };
                        k = int(k[0]);
                        k = int(k[1]);
                        k._-3l4(new _-43C(k, k));
                        k++;
                    };
                    this._-mq.push(k);
                };
                k++;
            };
        }
        public function get _-2me():Array
        {
            return (this._-mq);
        }
        public function _-03e():Array
        {
            var k:TraxChannel;
            var k:int;
            var k:_-43C;
            var k:Array = [];
            var k:int;
            while (k < this._-mq.length)
            {
                k = (this._-mq[k] as TraxChannel);
                k = 0;
                while (k < k._-3Z7)
                {
                    k = k._-2fQ(k);
                    if (k.indexOf(k.id) == -1)
                    {
                        k.push(k.id);
                    };
                    k++;
                };
                k++;
            };
            return (k);
        }
        public function get _-2s1():Boolean
        {
            return (!((this._-3kB["meta"] == null)));
        }
        public function get _-0K3():Boolean
        {
            return ((this._-3kB["c"] == "1"));
        }
        public function get _-2Rf():int
        {
            return ((this._-3kB["t"] as int));
        }

    }
}//package _-XY

//------------------------------------------------------------
//_-XY.TraxSample

package _-XY
{
    import __AS3__.vec.Vector;
    import flash.utils.ByteArray;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class TraxSample implements _-1zZ 
    {

        public static const SAMPLE_FREQUENCY_44KHZ:String = "sample_44khz";
        public static const SAMPLE_FREQUENCY_22KHZ:String = "sample_22khz";
        public static const SAMPLE_FREQUENCY_11KHZ:String = "sample_11khz";
        public static const SAMPLE_SCALE_16BIT:String = "sample_16bit";
        public static const SAMPLE_SCALE_8BIT:String = "sample_8bit";
        public static const _-M8:Number = (1 / 0x8000);//3.0517578125E-5
        private static const _-o8:int = 32;
        private static const MASK_8BIT:int = 0xFF;
        private static const MASK_16BIT:int = 0xFFFF;
        private static const OFFSET_8BIT:int = 127;
        private static const OFFSET_16BIT:int = 32767;

        private var _disposed:Boolean = false;
        private var _-1Tg:Vector.<int> = null;
        private var _-0Kq:int;
        private var _-1wy:int = 2;
        private var _-1Eu:int = 1;
        private var _-50F:Array;
        private var _-7A:uint;

        public function TraxSample(_arg1:ByteArray, _arg2:int, _arg3:String="sample_44khz", _arg4:String="sample_16bit")
        {
            var k:Number;
            var k:int;
            var k:int;
            var k:Number;
            var k:Number;
            this._-50F = [];
            super();
            this._-0Kq = _arg2;
            var k = 65536;
            switch (_arg3)
            {
                case SAMPLE_FREQUENCY_22KHZ:
                    this._-1Eu = 2;
                    break;
                case SAMPLE_FREQUENCY_11KHZ:
                    this._-1Eu = 4;
                    break;
                default:
                    this._-1Eu = 1;
            };
            switch (_arg4)
            {
                case SAMPLE_SCALE_8BIT:
                    this._-1wy = 4;
                    k = 0x0100;
                    break;
                default:
                    this._-1wy = 2;
                    k = 65536;
            };
            var k:int = (this._-1wy * this._-1Eu);
            var k:int = (_arg1.length / 8);
            k = (int((k / k)) * k);
            this._-1Tg = new Vector.<int>((k / k), true);
            var k:Number = (1 / (Number(k) / 2));
            _arg1.position = 0;
            var k:int;
            var k:int = (k / this._-1Eu);
            var k:int;
            while (k < k)
            {
                k = _arg1.readFloat();
                _arg1.readFloat();
                k = 2;
                while (k <= this._-1Eu)
                {
                    k = _arg1.readFloat();
                    _arg1.readFloat();
                    k = Number(k);
                    k = (((k * (k - 1)) / k) + (Number(k) / k));
                    k++;
                };
                if (k >= ((k - 1) - _-o8))
                {
                    k = (k * (((k - k) - 1) / Number(_-o8)));
                };
                k = ((k + 1) / k);
                if (k < 0)
                {
                    k = 0;
                }
                else
                {
                    if (k >= k)
                    {
                        k = (k - 1);
                    };
                };
                k = (k * k);
                k = (k + k);
                if ((k % this._-1wy) == (this._-1wy - 1))
                {
                    this._-1Tg[int((k / this._-1wy))] = k;
                    k = 0;
                };
                k++;
            };
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get length():uint
        {
            return (((this._-1Tg.length * this._-1wy) * this._-1Eu));
        }
        public function get _-2Pl():int
        {
            return (this._-50F.length);
        }
        public function get _-3kI():int
        {
            return (this._-7A);
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-1Tg = null;
                this._-50F = null;
            };
        }
        public function _-2ys(_arg1:Vector.<int>, _arg2:int, _arg3:int, _arg4:int):int
        {
            var k:int;
            var k:int;
            var k:int;
            if ((((_arg1 == null)) || ((this._-1Tg == null))))
            {
                return (_arg4);
            };
            var k:int = (this._-1wy * this._-1Eu);
            k = (_arg4 / k);
            if (_arg2 < 0)
            {
                k = (_arg3 + _arg2);
                k = 0;
            };
            if (_arg3 > (_arg1.length - _arg2))
            {
                k = (_arg1.length - _arg2);
            };
            var k:int = (_arg3 / k);
            var k:int;
            if (k > (this._-1Tg.length - k))
            {
                k = ((k - (this._-1Tg.length - k)) * k);
                k = (this._-1Tg.length - k);
                if (k > (_arg1.length - _arg2))
                {
                    k = (_arg1.length - _arg2);
                };
            };
            if (this._-1Eu == 1)
            {
                if (this._-1wy == 2)
                {
                    while (k-- > 0)
                    {
                        k = this._-1Tg[k++];
                        var _local11 = k++;
                        _arg1[_local11] = (((k >> 16) & MASK_16BIT) - OFFSET_16BIT);
                        var _local12 = k++;
                        _arg1[_local12] = ((k & MASK_16BIT) - OFFSET_16BIT);
                    };
                }
                else
                {
                    if (this._-1wy == 4)
                    {
                        while (k-- > 0)
                        {
                            k = this._-1Tg[k++];
                            _local11 = k++;
                            _arg1[_local11] = ((((k >> 24) & MASK_8BIT) - OFFSET_8BIT) << 8);
                            _local12 = k++;
                            _arg1[_local12] = ((((k >> 16) & MASK_8BIT) - OFFSET_8BIT) << 8);
                            var _local13 = k++;
                            _arg1[_local13] = ((((k >> 8) & MASK_8BIT) - OFFSET_8BIT) << 8);
                            var _local14 = k++;
                            _arg1[_local14] = (((k & MASK_8BIT) - OFFSET_8BIT) << 8);
                        };
                    };
                };
            }
            else
            {
                if (this._-1Eu >= 2)
                {
                    k = 0;
                    k = 0;
                    if (this._-1wy == 2)
                    {
                        while (k-- > 0)
                        {
                            k = this._-1Tg[k++];
                            k = (((k >> 16) & MASK_16BIT) - OFFSET_16BIT);
                            k = this._-1Eu;
                            while (k > 0)
                            {
                                _local11 = k++;
                                _arg1[_local11] = k;
                                k--;
                            };
                            k = ((k & MASK_16BIT) - OFFSET_16BIT);
                            k = this._-1Eu;
                            while (k > 0)
                            {
                                _local11 = k++;
                                _arg1[_local11] = k;
                                k--;
                            };
                        };
                    }
                    else
                    {
                        if (this._-1wy == 4)
                        {
                            while (k-- > 0)
                            {
                                k = this._-1Tg[k++];
                                k = ((((k >> 24) & MASK_8BIT) - OFFSET_8BIT) << 8);
                                k = this._-1Eu;
                                while (k > 0)
                                {
                                    _local11 = k++;
                                    _arg1[_local11] = k;
                                    k--;
                                };
                                k = ((((k >> 16) & MASK_8BIT) - OFFSET_8BIT) << 8);
                                k = this._-1Eu;
                                while (k > 0)
                                {
                                    _local11 = k++;
                                    _arg1[_local11] = k;
                                    k--;
                                };
                                k = ((((k >> 8) & MASK_8BIT) - OFFSET_8BIT) << 8);
                                k = this._-1Eu;
                                while (k > 0)
                                {
                                    _local11 = k++;
                                    _arg1[_local11] = k;
                                    k--;
                                };
                                k = (((k & MASK_8BIT) - OFFSET_8BIT) << 8);
                                k = this._-1Eu;
                                while (k > 0)
                                {
                                    _local11 = k++;
                                    _arg1[_local11] = k;
                                    k--;
                                };
                            };
                        };
                    };
                };
            };
            while (k-- > 0)
            {
                _local11 = k++;
                _arg1[_local11] = 0;
            };
            return ((k * k));
        }
        public function _-03l(_arg1:Vector.<int>, _arg2:int, _arg3:int, _arg4:int):int
        {
            var k:int;
            var k:int;
            var k:int;
            if ((((_arg1 == null)) || ((this._-1Tg == null))))
            {
                return (_arg4);
            };
            var k:int = (this._-1wy * this._-1Eu);
            k = (_arg4 / k);
            if (_arg2 < 0)
            {
                k = (_arg3 + _arg2);
                k = 0;
            };
            if (_arg3 > (_arg1.length - _arg2))
            {
                k = (_arg1.length - _arg2);
            };
            var k:int = (_arg3 / k);
            if (k > (this._-1Tg.length - k))
            {
                k = (this._-1Tg.length - k);
            };
            if (this._-1Eu == 1)
            {
                if (this._-1wy == 2)
                {
                    while (k-- > 0)
                    {
                        k = this._-1Tg[k++];
                        var _local10 = k++;
                        _arg1[_local10] = (_arg1[_local10] + (((k >> 16) & MASK_16BIT) - OFFSET_16BIT));
                        var _local11 = k++;
                        _arg1[_local11] = (_arg1[_local11] + ((k & MASK_16BIT) - OFFSET_16BIT));
                    };
                }
                else
                {
                    if (this._-1wy == 4)
                    {
                        while (k-- > 0)
                        {
                            k = this._-1Tg[k++];
                            _local10 = k++;
                            _arg1[_local10] = (_arg1[_local10] + ((((k >> 24) & MASK_8BIT) - OFFSET_8BIT) << 8));
                            _local11 = k++;
                            _arg1[_local11] = (_arg1[_local11] + ((((k >> 16) & MASK_8BIT) - OFFSET_8BIT) << 8));
                            var _local12 = k++;
                            _arg1[_local12] = (_arg1[_local12] + ((((k >> 8) & MASK_8BIT) - OFFSET_8BIT) << 8));
                            var _local13 = k++;
                            _arg1[_local13] = (_arg1[_local13] + (((k & MASK_8BIT) - OFFSET_8BIT) << 8));
                        };
                    };
                };
            }
            else
            {
                if (this._-1Eu >= 2)
                {
                    k = 0;
                    k = 0;
                    if (this._-1wy == 2)
                    {
                        while (k-- > 0)
                        {
                            k = this._-1Tg[k++];
                            k = (((k >> 16) & MASK_16BIT) - OFFSET_16BIT);
                            k = this._-1Eu;
                            while (k > 0)
                            {
                                _local10 = k++;
                                _arg1[_local10] = (_arg1[_local10] + k);
                                k--;
                            };
                            k = ((k & MASK_16BIT) - OFFSET_16BIT);
                            k = this._-1Eu;
                            while (k > 0)
                            {
                                _local10 = k++;
                                _arg1[_local10] = (_arg1[_local10] + k);
                                k--;
                            };
                        };
                    }
                    else
                    {
                        if (this._-1wy == 4)
                        {
                            while (k-- > 0)
                            {
                                k = this._-1Tg[k++];
                                k = ((((k >> 24) & MASK_8BIT) - OFFSET_8BIT) << 8);
                                k = this._-1Eu;
                                while (k > 0)
                                {
                                    _local10 = k++;
                                    _arg1[_local10] = (_arg1[_local10] + k);
                                    k--;
                                };
                                k = ((((k >> 16) & MASK_8BIT) - OFFSET_8BIT) << 8);
                                k = this._-1Eu;
                                while (k > 0)
                                {
                                    _local10 = k++;
                                    _arg1[_local10] = (_arg1[_local10] + k);
                                    k--;
                                };
                                k = ((((k >> 8) & MASK_8BIT) - OFFSET_8BIT) << 8);
                                k = this._-1Eu;
                                while (k > 0)
                                {
                                    _local10 = k++;
                                    _arg1[_local10] = (_arg1[_local10] + k);
                                    k--;
                                };
                                k = (((k & MASK_8BIT) - OFFSET_8BIT) << 8);
                                k = this._-1Eu;
                                while (k > 0)
                                {
                                    _local10 = k++;
                                    _arg1[_local10] = (_arg1[_local10] + k);
                                    k--;
                                };
                            };
                        };
                    };
                };
            };
            return ((k * k));
        }
        public function _-pW(_arg1:int, _arg2:uint):void
        {
            if (this._-50F == null)
            {
                return;
            };
            if (this._-50F.indexOf(_arg1) == -1)
            {
                this._-50F.push(_arg1);
            };
            this._-7A = _arg2;
        }
        public function _-2pG(_arg1:int):Boolean
        {
            if (this._-50F == null)
            {
                return (false);
            };
            return (!((this._-50F.indexOf(_arg1) == -1)));
        }

    }
}//package _-XY

//------------------------------------------------------------
//_-XY.TraxSequencer

package _-XY
{
    import __AS3__.vec.Vector;
    import flash.events.IEventDispatcher;
    import flash.media.Sound;
    import flash.media.SoundChannel;
    import _-18r.Map;
    import flash.utils.Timer;
    import flash.media.SoundTransform;
    import flash.utils.getTimer;
    import flash.events.SampleDataEvent;
    import flash.events.TimerEvent;
    import flash.utils.ByteArray;
    import _-1ZZ._-21f;
    import __AS3__.vec.*;
    import _-1B-.*;
    import _-mv.*;

    public class TraxSequencer implements _-0Bp, _-1zZ 
    {

        private static const _-4NS:Number = 44100;
        private static const _-1Oe:uint = 0x2000;
        private static const _-CE:uint = 88000;
        private static const _-4JI:uint = 88000;
        private static const _-0y2:Vector.<int> = new Vector.<int>(_-1Oe, true);
        private static const _-2Wl:Vector.<int> = new Vector.<int>(_-1Oe, true);

        private var _disposed:Boolean = false;
        private var _-2Te:IEventDispatcher;
        private var _-494:Number;
        private var _-NH:Sound;
        private var _-Ai:SoundChannel;
        private var _-1kR:TraxData;
        private var _-0TX:Map;
        private var _-2v:Boolean;
        private var _-0hW:int;
        private var _-42p:int = 0;
        private var _-4vt:uint;
        private var _-0yn:Array;
        private var _-3VU:Boolean;
        private var _-3YR:Boolean = true;
        private var _-3v1:uint;
        private var _-24P:uint;
        private var _-1u2:Boolean;
        private var _-31M:Boolean;
        private var _-3Pn:int;
        private var _-3eT:int;
        private var _-2ze:int;
        private var _-0ZY:int;
        private var _-3RP:Timer;
        private var _-4UK:Timer;
        private var _-1Uv:Boolean;
        private var _-0Bt:int = 0;
        private var _-1ei:int = 0;

        public function TraxSequencer(_arg1:int, _arg2:TraxData, _arg3:Map, _arg4:IEventDispatcher)
        {
            this._-24P = uint(30);
            super();
            this._-2Te = _arg4;
            this._-0hW = _arg1;
            this._-494 = 1;
            this._-NH = new Sound();
            this._-Ai = null;
            this._-0TX = _arg3;
            this._-1kR = _arg2;
            this._-2v = true;
            this._-4vt = 0;
            this._-0yn = [];
            this._-3VU = false;
            this._-3v1 = 0;
            this._-3YR = false;
            this._-1u2 = false;
            this._-31M = false;
            this._-3Pn = 0;
            this._-3eT = 0;
            this._-2ze = 0;
            this._-0ZY = 0;
        }
        public function set position(_arg1:Number):void
        {
            this._-4vt = uint((_arg1 * _-4NS));
        }
        public function get _-04l():Number
        {
            return (this._-494);
        }
        public function get position():Number
        {
            return ((this._-4vt / _-4NS));
        }
        public function get ready():Boolean
        {
            return (this._-2v);
        }
        public function set ready(_arg1:Boolean):void
        {
            this._-2v = _arg1;
        }
        public function get finished():Boolean
        {
            return (this._-3YR);
        }
        public function get _-1V():Number
        {
            return ((this._-3eT / _-4NS));
        }
        public function set _-1V(_arg1:Number):void
        {
            this._-3eT = int((_arg1 * _-4NS));
        }
        public function get _-1pH():Number
        {
            return ((this._-3Pn / _-4NS));
        }
        public function set _-1pH(_arg1:Number):void
        {
            this._-3Pn = int((_arg1 * _-4NS));
        }
        public function get _-0zi():TraxData
        {
            return (this._-1kR);
        }
        public function set _-04l(_arg1:Number):void
        {
            this._-494 = _arg1;
            if (this._-Ai != null)
            {
                this._-Ai.soundTransform = new SoundTransform(this._-494);
            };
        }
        public function get length():Number
        {
            return ((this._-3v1 / _-4NS));
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function dispose():void
        {
            if (!this._disposed)
            {
                this._-482();
                this._-1kR = null;
                this._-0TX = null;
                this._-0yn = null;
                this._-2Te = null;
                this._-NH = null;
                this._disposed = true;
            };
        }
        public function prepare():Boolean
        {
            if (!this._-2v)
            {
                _-Nb.log("Cannot start trax playback until samples ready!");
                return (false);
            };
            if (!this._-3VU)
            {
                if (this._-1kR != null)
                {
                    this._-1Uv = false;
                    if (this._-1kR._-2s1)
                    {
                        this._-1Uv = this._-1kR._-0K3;
                    };
                    if (this._-1Uv)
                    {
                        if (!this._-329())
                        {
                            _-Nb.log("Cannot start playback, prepare sequence failed!");
                            return (false);
                        };
                    }
                    else
                    {
                        if (!this._-2hW())
                        {
                            _-Nb.log("Cannot start playback, prepare legacy sequence failed!");
                            return (false);
                        };
                    };
                };
            };
            return (true);
        }
        private function _-2hW():Boolean
        {
            var k:Map;
            var k:TraxChannel;
            var k:uint;
            var k:uint;
            var k:int;
            var k:int;
            var k:TraxSample;
            var k:int;
            var k:int;
            var k:int;
            if (this._-0yn == null)
            {
                return (false);
            };
            var k:uint = getTimer();
            var k:int;
            while (k < this._-1kR._-2me.length)
            {
                k = new Map();
                k = (this._-1kR._-2me[k] as TraxChannel);
                k = 0;
                k = 0;
                k = 0;
                while (k < k._-3Z7)
                {
                    k = k._-2fQ(k).id;
                    k = (this._-0TX.getValue(k) as TraxSample);
                    k._-pW(this._-0hW, k);
                    if (k != null)
                    {
                        k = this._-1TO(k.length);
                        k = (k._-2fQ(k).length / k);
                        k = 0;
                        while (k < k)
                        {
                            if (k != 0)
                            {
                                k.add(k, k);
                            };
                            k = (k + k);
                            k = (k * _-4JI);
                            k++;
                        };
                    }
                    else
                    {
                        _-Nb.log("Error in prepareLegacySequence(), sample was null!");
                        return (false);
                    };
                    if (this._-3v1 < k)
                    {
                        this._-3v1 = k;
                    };
                    k++;
                };
                this._-0yn.push(k);
                k++;
            };
            this._-3VU = true;
            return (true);
        }
        private function _-329():Boolean
        {
            var k:Map;
            var k:TraxChannel;
            var k:uint;
            var k:uint;
            var k:Boolean;
            var k:int;
            var k:int;
            var k:TraxSample;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            if (this._-0yn == null)
            {
                return (false);
            };
            var k:uint = getTimer();
            var k:int;
            while (k < this._-1kR._-2me.length)
            {
                k = new Map();
                k = (this._-1kR._-2me[k] as TraxChannel);
                k = 0;
                k = 0;
                k = false;
                k = 0;
                while (k < k._-3Z7)
                {
                    k = k._-2fQ(k).id;
                    k = (this._-0TX.getValue(k) as TraxSample);
                    k._-pW(this._-0hW, k);
                    if (k != null)
                    {
                        k = this._-1TO(k.length);
                        k = k._-2fQ(k).length;
                        while (k < (k + k))
                        {
                            if (((!((k == 0))) || (k)))
                            {
                                k.add(k, k);
                                k = false;
                            };
                            k = (k + k);
                            k = (k * _-4JI);
                            if (k > (k + k))
                            {
                                k = true;
                            };
                        };
                        k = (k + k._-2fQ(k).length);
                        k = (k * _-4JI);
                    }
                    else
                    {
                        _-Nb.log("Error in prepareSequence(), sample was null!");
                        return (false);
                    };
                    if (this._-3v1 < k)
                    {
                        this._-3v1 = k;
                    };
                    k++;
                };
                this._-0yn.push(k);
                k++;
            };
            this._-3VU = true;
            return (true);
        }
        public function play(_arg1:Number=0):Boolean
        {
            if (!this.prepare())
            {
                return (false);
            };
            this._-Ec();
            if (this._-Ai != null)
            {
                this._-482();
            };
            if (this._-3Pn > 0)
            {
                this._-1u2 = true;
                this._-2ze = 0;
            };
            this._-31M = false;
            this._-0ZY = 0;
            this._-3YR = false;
            this._-NH.addEventListener(SampleDataEvent.SAMPLE_DATA, this._-2se);
            this._-42p = (_arg1 * _-4NS);
            this._-0Bt = 0;
            this._-1ei = 0;
            this._-Ai = this._-NH.play();
            this._-04l = this._-494;
            return (true);
        }
        public function render(_arg1:SampleDataEvent):Boolean
        {
            if (!this.prepare())
            {
                return (false);
            };
            while (!(this._-3YR))
            {
                this._-2se(_arg1);
            };
            return (true);
        }
        public function stop():Boolean
        {
            if ((((this._-3eT > 0)) && (!(this._-3YR))))
            {
                this._-58H();
            }
            else
            {
                this._-D2();
            };
            return (true);
        }
        private function _-482():void
        {
            this._-1v9();
            if (this._-Ai != null)
            {
                this._-Ai.stop();
                this._-Ai = null;
            };
            if (this._-NH != null)
            {
                this._-NH.removeEventListener(SampleDataEvent.SAMPLE_DATA, this._-2se);
            };
        }
        private function _-58H():void
        {
            if (this._-3RP == null)
            {
                this._-31M = true;
                this._-0ZY = 0;
                this._-3RP = new Timer((this._-24P + (this._-3eT / (_-4NS / 1000))), 1);
                this._-3RP.start();
                this._-3RP.addEventListener(TimerEvent.TIMER_COMPLETE, this._-0Jt);
            };
        }
        private function _-1TO(_arg1:uint):int
        {
            if (this._-1Uv)
            {
                return (Math.round((_arg1 / _-CE)));
            };
            return (Math.ceil((_arg1 / _-CE)));
        }
        private function _-4p1():Array
        {
            var k:int;
            var k:int;
            var k:Map;
            var k:int;
            var k:Array = [];
            if (this._-0yn != null)
            {
                k = this._-0yn.length;
                k = 0;
                while (k < k)
                {
                    k = this._-0yn[k];
                    k = 0;
                    while ((((k < k.length)) && ((k.getKey(k) < this._-4vt))))
                    {
                        k++;
                    };
                    k.push((k - 1));
                    k++;
                };
            };
            return (k);
        }
        private function _-5Ak():void
        {
            var k:Map;
            var k:int;
            var k:TraxSample;
            var k:int;
            var k:int;
            var _local10:int;
            var _local11:int;
            var k:int;
            var k:int;
            var _local14:int;
            if (this._-0yn == null)
            {
                return;
            };
            var k:Array = this._-4p1();
            var k:int = this._-0yn.length;
            var k:_-2TK;
            var k:int = (k - 1);
            while (k >= 0)
            {
                k = this._-0yn[k];
                k = k[k];
                k = k.getWithIndex(k);
                if (k == null)
                {
                    k = null;
                }
                else
                {
                    _local10 = k.getKey(k);
                    _local11 = (this._-4vt - _local10);
                    if ((((k.id == 0)) || ((_local11 < 0))))
                    {
                        k = null;
                    }
                    else
                    {
                        k = new _-2TK(k, _local11);
                    };
                };
                k = _-1Oe;
                if ((this._-3v1 - this._-4vt) < k)
                {
                    k = (this._-3v1 - this._-4vt);
                };
                k = 0;
                while (k < k)
                {
                    if (k < (k.length - 1))
                    {
                        k = k.getKey((k + 1));
                        if ((k + this._-4vt) >= k)
                        {
                            k = (k - this._-4vt);
                        };
                    };
                    if (k > (k - k))
                    {
                        k = (k - k);
                    };
                    if (k == (k - 1))
                    {
                        if (k != null)
                        {
                            k._-2ys(_-0y2, k, k);
                            k = (k + k);
                        }
                        else
                        {
                            _local14 = 0;
                            while (_local14 < k)
                            {
                                var _local15 = k++;
                                _-0y2[_local15] = 0;
                                _local14++;
                            };
                        };
                    }
                    else
                    {
                        if (k != null)
                        {
                            k._-03l(_-0y2, k, k);
                        };
                        k = (k + k);
                    };
                    if (k < k)
                    {
                        k = k.getWithIndex(++k);
                        if ((((k == null)) || ((k.id == 0))))
                        {
                            k = null;
                        }
                        else
                        {
                            k = new _-2TK(k, 0);
                        };
                    };
                };
                k--;
            };
        }
        private function _-EV():void
        {
            var k:int = (((this._-3v1 < this._-42p)) ? this._-3v1 : (((this._-42p > 0)) ? this._-42p : this._-3v1));
            if ((((this._-4vt > (k + (this._-24P * (_-4NS / 1000))))) && (!(this._-3YR))))
            {
                this._-3YR = true;
                if (this._-4UK != null)
                {
                    this._-4UK.reset();
                    this._-4UK.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-0mt);
                };
                this._-4UK = new Timer(2, 1);
                this._-4UK.start();
                this._-4UK.addEventListener(TimerEvent.TIMER_COMPLETE, this._-0mt);
            }
            else
            {
                if ((((this._-4vt > (k - this._-3eT))) && (!(this._-31M))))
                {
                    this._-1u2 = false;
                    this._-31M = true;
                    this._-0ZY = 0;
                };
            };
        }
        private function _-2se(_arg1:SampleDataEvent):void
        {
            if (_arg1.position > this._-0Bt)
            {
                this._-1ei++;
                _-Nb.log("Audio buffer under run...");
                this._-0Bt = _arg1.position;
            };
            if (this._-04l > 0)
            {
                this._-5Ak();
            };
            var k:int = _-1Oe;
            if ((this._-3v1 - this._-4vt) < k)
            {
                k = (this._-3v1 - this._-4vt);
                if (k < 0)
                {
                    k = 0;
                };
            };
            if (this._-04l <= 0)
            {
                k = 0;
            };
            this._-0b(_arg1.data, k);
            this._-4vt = (this._-4vt + _-1Oe);
            this._-0Bt = (this._-0Bt + _-1Oe);
            if (this._-Ai != null)
            {
                this._-24P = (((_arg1.position / _-4NS) * 1000) - this._-Ai.position);
            };
            this._-EV();
        }
        private function _-0b(_arg1:ByteArray, _arg2:int):void
        {
            var _local5:Number;
            var _local6:Number;
            if (_arg2 > 0)
            {
                if (((!(this._-1u2)) && (!(this._-31M))))
                {
                    this._-205(_arg1, _arg2);
                }
                else
                {
                    if (this._-1u2)
                    {
                        _local5 = (1 / this._-3Pn);
                        _local6 = (this._-2ze / Number(this._-3Pn));
                        this._-2ze = (this._-2ze + _-1Oe);
                        if (this._-2ze > this._-3Pn)
                        {
                            this._-1u2 = false;
                        };
                    }
                    else
                    {
                        if (this._-31M)
                        {
                            _local5 = (-1 / this._-3eT);
                            _local6 = (1 - (this._-0ZY / Number(this._-3eT)));
                            this._-0ZY = (this._-0ZY + _-1Oe);
                            if (this._-0ZY > this._-3eT)
                            {
                                this._-0ZY = this._-3eT;
                            };
                        };
                    };
                    this._-23Q(_arg1, _arg2, _local6, _local5);
                };
            };
            var k:Number = 0;
            var k:int = _arg2;
            while (k < _-1Oe)
            {
                _arg1.writeFloat(k);
                _arg1.writeFloat(k);
                k++;
            };
        }
        private function _-205(_arg1:ByteArray, _arg2:int):void
        {
            var k:Number = 0;
            var k:int;
            while (k < _arg2)
            {
                k = (Number(_-0y2[k]) * TraxSample._-M8);
                _arg1.writeFloat(k);
                _arg1.writeFloat(k);
                k++;
            };
        }
        private function _-23Q(_arg1:ByteArray, _arg2:int, _arg3:Number, _arg4:Number):void
        {
            var k:Number = 0;
            var k:int;
            k = 0;
            while (k < _arg2)
            {
                if ((((_arg3 < 0)) || ((_arg3 > 1))))
                {
                    break;
                };
                k = ((Number(_-0y2[k]) * TraxSample._-M8) * _arg3);
                k = (_arg3 + _arg4);
                _arg1.writeFloat(k);
                _arg1.writeFloat(k);
                k++;
            };
            if (_arg3 < 0)
            {
                while (k < _arg2)
                {
                    _arg1.writeFloat(0);
                    _arg1.writeFloat(0);
                    k++;
                };
            }
            else
            {
                if (_arg3 > 1)
                {
                    while (k < _arg2)
                    {
                        k = (Number(_-0y2[k]) * TraxSample._-M8);
                        k = (_arg3 + _arg4);
                        _arg1.writeFloat(k);
                        _arg1.writeFloat(k);
                        k++;
                    };
                };
            };
        }
        private function _-0mt(_arg1:TimerEvent):void
        {
            if (this._-3YR)
            {
                this._-D2();
            };
        }
        private function _-0Jt(_arg1:TimerEvent):void
        {
            this._-Ec();
            this._-D2();
        }
        private function _-D2():void
        {
            this._-482();
            this._-2Te.dispatchEvent(new _-21f(_-21f._-041, this._-0hW));
        }
        private function _-Ec():void
        {
            if (this._-3RP != null)
            {
                this._-3RP.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-0Jt);
                this._-3RP.reset();
                this._-3RP = null;
            };
        }
        private function _-1v9():void
        {
            if (this._-4UK != null)
            {
                this._-4UK.reset();
                this._-4UK.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-0mt);
                this._-4UK = null;
            };
        }

    }
}//package _-XY

//------------------------------------------------------------
//_-yT._-04X

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-04X extends _-7k 
    {

        public static const _-1e0:String = "RSPFUE_CONFIRM_PET_BREEDING_RESULT";

        private var _-03H:int;
        private var _result:int;

        public function _-04X(_arg1:_-4JJ, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-1e0, _arg1, _arg4, _arg5);
            this._-03H = _arg2;
            this._result = _arg3;
        }
        public function get _-0YR():int
        {
            return (this._-03H);
        }
        public function get result():int
        {
            return (this._result);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-0at

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-0at extends _-7k 
    {

        public static const PET_COMMANDS:String = "RSPIUE_ENABLED_PET_COMMANDS";

        private var _-b:int;
        private var _-479:Array;
        private var _-0bT:Array;

        public function _-0at(_arg1:_-4JJ, _arg2:int, _arg3:Array, _arg4:Array, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_-0at.PET_COMMANDS, _arg1, _arg5, _arg6);
            this._-b = _arg2;
            this._-479 = _arg3;
            this._-0bT = _arg4;
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get _-O2():Array
        {
            return (this._-479);
        }
        public function get _-1sl():Array
        {
            return (this._-0bT);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-0QM

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-0QM extends _-7k 
    {

        public static const _-3Wu:String = "RSPE_VOTE_QUESTION";
        public static const _-4MV:String = "RSPE_VOTE_RESULT";

        private var _-3L4:String = "";
        private var _-2vg:Array;
        private var _-0by:Array;
        private var _-3wQ:int = 0;

        public function _-0QM(_arg1:String, _arg2:_-4JJ, _arg3:String, _arg4:Array, _arg5:Array=null, _arg6:int=0, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            this._-2vg = [];
            this._-0by = [];
            super(_arg1, _arg2, _arg7, _arg8);
            this._-3L4 = _arg3;
            this._-2vg = _arg4;
            this._-0by = _arg5;
            if (this._-0by == null)
            {
                this._-0by = [];
            };
            this._-3wQ = _arg6;
        }
        public function get question():String
        {
            return (this._-3L4);
        }
        public function get choices():Array
        {
            return (this._-2vg.slice());
        }
        public function get votes():Array
        {
            return (this._-0by.slice());
        }
        public function get _-3DO():int
        {
            return (this._-3wQ);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-0Re

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-0Re extends _-7k 
    {

        public static const _-1yI:String = "RSPFUE_PET_BREEDING";

        private var _-0Ke:int;
        private var _-J:int;
        private var _-Js:int;

        public function _-0Re(_arg1:_-4JJ, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_-1yI, _arg1, _arg5, _arg6);
            this._-0Ke = _arg2;
            this._-J = _arg3;
            this._-Js = _arg4;
        }
        public function get state():int
        {
            return (this._-0Ke);
        }
        public function get _-4Mj():int
        {
            return (this._-J);
        }
        public function get _-OO():int
        {
            return (this._-Js);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-0vO

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-0vO extends _-7k 
    {

        public static const _-3nO:String = "RSPLUE_PET_LEVEL_UPDATE";

        private var _-b:int;
        private var _-55e:int;

        public function _-0vO(_arg1:_-4JJ, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-3nO, _arg1, _arg4, _arg5);
            this._-b = _arg2;
            this._-55e = _arg3;
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get level():int
        {
            return (this._-55e);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-1eF

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-1eF extends _-7k 
    {

        public static const _-0Dp:String = "RSDE_DOORBELL";
        public static const _-0Iv:String = "RSDE_REJECTED";
        public static const _-4C6:String = "RSDE_ACCEPTED";

        private var _-2lb:String = "";

        public function _-1eF(_arg1:String, _arg2:_-4JJ, _arg3:String, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg2, _arg4, _arg5);
            this._-2lb = _arg3;
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-1-M

package _-yT
{
    import flash.events.Event;

    public class _-1-M extends Event 
    {

        public static const _-0Et:String = "unue_name_updated";

        private var _name:String;

        public function _-1-M(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-0Et, _arg2, _arg3);
            this._name = _arg1;
        }
        public function get name():String
        {
            return (this._name);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-1P7

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-1P7 extends _-7k 
    {

        public static const _-1iG:String = "RSEME_DOOR_OTHER_DELETED";
        public static const _-V7:String = "RSEME_DOOR_NOT_INSTALLED";
        public static const _-0Jz:String = "RSEME_CANT_TRADE_STUFF";
        public static const _-4c9:String = "RSEME_INVALID_ITEM_LOC";
        public static const _-04H:String = "RSEME_CANT_SET_NOT_OWNER";
        public static const _-FU:String = "RSEME_MAX_STICKIES";
        public static const _-2Ae:String = "RSEME_MAX_FURNITURE";
        public static const _-1RA:String = "RSEME_MAX_QUEUE";
        public static const _-2iG:String = "RSEME_MAX_SOUND";
        public static const _-4St:String = "RSEME_KICKED";
        public static const _-ha:String = "RSEME_PETS_FORBIDDEN_IN_HOTEL";
        public static const _-3v8:String = "RSEME_PETS_FORBIDDEN_IN_FLAT";
        public static const _-4Eg:String = "RSEME_MAX_PETS";
        public static const _-0mm:String = "RSEME_MAX_NUMBER_OF_OWN_PETS";
        public static const _-2da:String = "RSEME_NO_FREE_TILES_FOR_PET";
        public static const _-4UN:String = "RSEME_SELECTED_TILE_NOT_FREE_FOR_PET";
        public static const _-59P:String = "RSEME_BOTS_FORBIDDEN_IN_HOTEL";
        public static const _-3zE:String = "RSEME_BOTS_FORBIDDEN_IN_FLAT";
        public static const _-3lI:String = "RSEME_BOT_LIMIT_REACHED";
        public static const _-3KK:String = "RSEME_SELECTED_TILE_NOT_FREE_FOR_BOT";
        public static const _-1YU:String = "RSEME_BOT_NAME_NOT_ACCEPTED";

        private var _-2md:String;

        public function _-1P7(_arg1:String, _arg2:_-4JJ, _arg3:String=null, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg2, _arg4, _arg5);
            this._-2md = _arg3;
        }
        public function get message():String
        {
            return (this._-2md);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-1Rr

package _-yT
{
    import _-Os.PetFigureData;
    import _-1Jd._-4JJ;

    public class _-1Rr extends _-7k 
    {

        public static const _-0AQ:String = "RSOPPE_OPEN_PET_PACKAGE_REQUESTED";
        public static const _-0zD:String = "RSOPPE_OPEN_PET_PACKAGE_RESULT";

        private var _-44i:int = -1;
        private var _-dS:PetFigureData;
        private var _-4gl:int = 0;
        private var _-2dL:String = null;

        public function _-1Rr(_arg1:String, _arg2:_-4JJ, _arg3:int, _arg4:PetFigureData, _arg5:int, _arg6:String, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_arg1, _arg2, _arg7, _arg8);
            this._-44i = _arg3;
            this._-dS = _arg4;
            this._-4gl = _arg5;
            this._-2dL = _arg6;
        }
        public function get _-mx():int
        {
            return (this._-44i);
        }
        public function get figureData():PetFigureData
        {
            return (this._-dS);
        }
        public function get nameValidationStatus():int
        {
            return (this._-4gl);
        }
        public function get nameValidationInfo():String
        {
            return (this._-2dL);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-1W3

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-1W3 extends _-7k 
    {

        public static const _-559:String = "RSPFUE_PET_STATUS_UPDATE";

        private var _-b:int;
        private var _-us:Boolean;
        private var _-4PY:Boolean;
        private var _-27p:Boolean;
        private var _-2Yx:Boolean;

        public function _-1W3(_arg1:_-4JJ, _arg2:int, _arg3:Boolean, _arg4:Boolean, _arg5:Boolean, _arg6:Boolean, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_-559, _arg1, _arg7, _arg8);
            this._-b = _arg2;
            this._-us = _arg3;
            this._-4PY = _arg4;
            this._-27p = _arg5;
            this._-2Yx = _arg6;
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get _-4a2():Boolean
        {
            return (this._-us);
        }
        public function get _-02Z():Boolean
        {
            return (this._-4PY);
        }
        public function get _-2gH():Boolean
        {
            return (this._-27p);
        }
        public function get _-4td():Boolean
        {
            return (this._-2Yx);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-25b

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-25b extends _-7k 
    {

        public static const _-rQ:String = "RSDE_DANCE";

        private var _-4lu:int;
        private var _-0nz:int;

        public function _-25b(_arg1:_-4JJ, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-rQ, _arg1, _arg4, _arg5);
            this._-4lu = _arg2;
            this._-0nz = _arg3;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get _-Xk():int
        {
            return (this._-0nz);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-27a

package _-yT
{
    import _-0Z1._-4ZX;
    import _-1Jd._-4JJ;

    public class _-27a extends _-7k 
    {

        public static const _-16s:String = "RSPFUE_CONFIRM_PET_BREEDING";

        private var _-2lc:int;
        private var _pet1:_-4ZX;
        private var _pet2:_-4ZX;
        private var _-15y:Array;
        private var _-0V8:int;

        public function _-27a(_arg1:_-4JJ, _arg2:int, _arg3:_-4ZX, _arg4:_-4ZX, _arg5:Array, _arg6:int, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_-16s, _arg1, _arg7, _arg8);
            this._-2lc = _arg2;
            this._pet1 = _arg3;
            this._pet2 = _arg4;
            this._-15y = _arg5;
            this._-0V8 = _arg6;
        }
        public function get _-4pB():Array
        {
            return (this._-15y);
        }
        public function get _-4rm():int
        {
            return (this._-2lc);
        }
        public function get pet1():_-4ZX
        {
            return (this._pet1);
        }
        public function get pet2():_-4ZX
        {
            return (this._pet2);
        }
        public function get _-086():int
        {
            return (this._-0V8);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-28F

package _-yT
{
    public class _-28F 
    {

        private var _-0Kq:int = 0;
        private var _-5K:int = 0;
        private var _color:uint = 0;
        private var _-3Ar:uint = 0;

        public function _-28F(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint)
        {
            this._-0Kq = _arg1;
            this._-5K = _arg2;
            this._color = _arg3;
            this._-3Ar = _arg4;
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get type():int
        {
            return (this._-5K);
        }
        public function get color():uint
        {
            return (this._color);
        }
        public function get _-IP():int
        {
            return (this._-3Ar);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-2f7

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-2f7 extends _-7k 
    {

        public static const _-5-I:String = "RSPE_POLL_OFFER";
        public static const _-080:String = "RSPE_POLL_ERROR";
        public static const _-4Z-:String = "RSPE_POLL_CONTENT";

        private var _-0Kq:int = -1;
        private var _-fg:String;
        private var _-4Qf:int = 0;
        private var _-3Hv:String = "";
        private var _-0RV:String = "";
        private var _-s4:Array = null;

        public function _-2f7(_arg1:String, _arg2:_-4JJ, _arg3:int)
        {
            this._-0Kq = _arg3;
            super(_arg1, _arg2);
        }
        public function get id():int
        {
            return (this._-0Kq);
        }
        public function get summary():String
        {
            return (this._-fg);
        }
        public function set summary(_arg1:String):void
        {
            this._-fg = _arg1;
        }
        public function get _-2ez():int
        {
            return (this._-4Qf);
        }
        public function set _-2ez(_arg1:int):void
        {
            this._-4Qf = _arg1;
        }
        public function get _-42v():String
        {
            return (this._-3Hv);
        }
        public function set _-42v(_arg1:String):void
        {
            this._-3Hv = _arg1;
        }
        public function get _-1X5():String
        {
            return (this._-0RV);
        }
        public function set _-1X5(_arg1:String):void
        {
            this._-0RV = _arg1;
        }
        public function get _-5At():Array
        {
            return (this._-s4);
        }
        public function set _-5At(_arg1:Array):void
        {
            this._-s4 = _arg1;
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-2Ny

package _-yT
{
    import _-0Z1._-4wI;
    import _-1Jd._-4JJ;

    public class _-2Ny extends _-7k 
    {

        public static const _-0lZ:String = "RSPFUE_PET_BREEDING_RESULT";

        private var _-4RU:_-4wI;
        private var _-3Th:_-4wI;

        public function _-2Ny(_arg1:_-4JJ, _arg2:_-4wI, _arg3:_-4wI, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-0lZ, _arg1, _arg4, _arg5);
            this._-4RU = _arg2;
            this._-3Th = _arg3;
        }
        public function get class():_-4wI
        {
            return (this._-4RU);
        }
        public function get _-0GL():_-4wI
        {
            return (this._-3Th);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-2o-

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-2o- extends _-7k 
    {

        public static const _-1zi:String = "RSUBE_BADGES";

        private var _-4lu:int = 0;
        private var _-38s:Array;

        public function _-2o-(_arg1:_-4JJ, _arg2:int, _arg3:Array, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            this._-38s = [];
            super(_-1zi, _arg1, _arg4, _arg5);
            this._-4lu = _arg2;
            this._-38s = _arg3;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get badges():Array
        {
            return (this._-38s);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-2vm

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-2vm extends _-7k 
    {

        public static const _-0zH:String = "RSDUE_ALLOW_PETS";

        public function _-2vm(_arg1:String, _arg2:_-4JJ, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_arg1, _arg2, _arg3, _arg4);
        }
    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-3GX

package _-yT
{
    import flash.events.Event;

    public class _-3GX extends Event 
    {

        public static const _-30R:String = "UTRE_USER_TAGS_RECEIVED";

        private var _-4lu:int;
        private var _-tz:Array;

        public function _-3GX(_arg1:int, _arg2:Array, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-30R, _arg3, _arg4);
            this._-4lu = _arg1;
            this._-tz = _arg2;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get tags():Array
        {
            return (this._-tz);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-3r

package _-yT
{
    import _-1Jd._-2oa;
    import _-1Jd._-4JJ;

    public class _-3r extends _-7k 
    {

        public static const PET_INFO:String = "RSPIUE_PET_INFO";

        private var _-B:_-2oa;

        public function _-3r(_arg1:_-4JJ, _arg2:_-2oa, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-3r.PET_INFO, _arg1, _arg3, _arg4);
            this._-B = _arg2;
        }
        public function get _-4DG():_-2oa
        {
            return (this._-B);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-3Yq

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-3Yq extends _-7k 
    {

        public static const _-2dF:String = "rsudue_user_data_updated";

        public function _-3Yq(_arg1:_-4JJ, _arg2:Boolean=false, _arg3:Boolean=false)
        {
            super(_-2dF, _arg1, _arg2, _arg3);
        }
    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-4Ky

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-4Ky extends _-7k 
    {

        public static const _-2p2:String = "rsfgue_favourite_group_update";

        private var _-0b1:int;
        private var _-4aq:int;
        private var _-y2:String;
        private var _-8R:int;

        public function _-4Ky(_arg1:_-4JJ, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:Boolean=false, _arg7:Boolean=false)
        {
            super(_-2p2, _arg1, _arg6, _arg7);
            this._-0b1 = _arg2;
            this._-4aq = _arg3;
            this._-y2 = _arg5;
            this._-8R = _arg4;
        }
        public function get _-0KC():int
        {
            return (this._-0b1);
        }
        public function get _-i5():int
        {
            return (this._-4aq);
        }
        public function get _-5E0():String
        {
            return (this._-y2);
        }
        public function get status():int
        {
            return (this._-8R);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-4l5

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-4l5 extends _-7k 
    {

        public static const _-18W:String = "RSPFUE_PET_FIGURE_UPDATE";

        private var _-b:int;
        private var _-5AE:String;

        public function _-4l5(_arg1:_-4JJ, _arg2:int, _arg3:String, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-18W, _arg1, _arg4, _arg5);
            this._-b = _arg2;
            this._-5AE = _arg3;
        }
        public function get _-3yD():int
        {
            return (this._-b);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-54q

package _-yT
{
    import flash.events.Event;

    public class _-54q extends Event 
    {

        public static const _-0Fq:String = "HABBO_SESSION_FIGURE_UPDATE";

        private var _-4lu:int;
        private var _-5AE:String;
        private var _-4Cb:String;

        public function _-54q(_arg1:int, _arg2:String, _arg3:String, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_-0Fq, _arg4, _arg5);
            this._-4lu = _arg1;
            this._-5AE = _arg2;
            this._-4Cb = _arg3;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-56t

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-56t extends _-7k 
    {

        public static const _-2g7:String = "RSUBE_FIGURE";

        private var _-4lu:int = 0;
        private var _-5AE:String = "";
        private var _-4Cb:String = "";
        private var _-2Qw:String = "";
        private var _-1Cz:int;

        public function _-56t(_arg1:_-4JJ, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:int, _arg7:Boolean=false, _arg8:Boolean=false)
        {
            super(_-2g7, _arg1, _arg7, _arg8);
            this._-4lu = _arg2;
            this._-5AE = _arg3;
            this._-4Cb = _arg4;
            this._-2Qw = _arg5;
            this._-1Cz = _arg6;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get figure():String
        {
            return (this._-5AE);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function get _-1Yh():String
        {
            return (this._-2Qw);
        }
        public function get _-4pE():int
        {
            return (this._-1Cz);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-6C

package _-yT
{
    import _-18r.Map;
    import _-1Jd._-4JJ;

    public class _-6C extends _-7k 
    {

        public static const _-4ud:String = "RSQE_QUEUE_STATUS";
        public static const _-3Dj:String = "c";
        public static const _-29D:String = "d";
        public static const _-2jn:int = 2;
        public static const _-2M:int = 1;

        private var _name:String;
        private var _-1hZ:int;
        private var _-0K0:Map;
        private var _-2UT:Boolean;
        private var _-1n4:String;

        public function _-6C(_arg1:_-4JJ, _arg2:String, _arg3:int, _arg4:Boolean=false, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_-4ud, _arg1, _arg5, _arg6);
            this._name = _arg2;
            this._-1hZ = _arg3;
            this._-0K0 = new Map();
            this._-2UT = _arg4;
        }
        public function get _-3Cm():Boolean
        {
            return (this._-2UT);
        }
        public function get _-2tp():String
        {
            return (this._name);
        }
        public function get _-JL():int
        {
            return (this._-1hZ);
        }
        public function get _-08-():Array
        {
            return (this._-0K0._-18C());
        }
        public function _-0E9(_arg1:String):int
        {
            return (this._-0K0.getValue(_arg1));
        }
        public function _-1Co(_arg1:String, _arg2:int):void
        {
            this._-0K0.add(_arg1, _arg2);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-7k

package _-yT
{
    import flash.events.Event;
    import _-1Jd._-4JJ;

    public class _-7k extends Event 
    {

        public static const _-3h9:String = "RSE_CREATED";
        public static const _-1YC:String = "RSE_STARTED";
        public static const _-44W:String = "RSE_ENDED";

        private var _-2Mi:_-4JJ;
        private var _-3y0:Boolean;

        public function _-7k(_arg1:String, _arg2:_-4JJ, _arg3:Boolean=true, _arg4:Boolean=false, _arg5:Boolean=false)
        {
            super(_arg1, _arg4, _arg5);
            this._-2Mi = _arg2;
            this._-3y0 = _arg3;
        }
        public function get session():_-4JJ
        {
            return (this._-2Mi);
        }
        public function get _-54p():Boolean
        {
            return (this._-3y0);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-a5

package _-yT
{
    import flash.events.Event;
    import flash.display.BitmapData;

    public class _-a5 extends Event 
    {

        public static const _-4pG:String = "BIRE_BADGE_IMAGE_READY";

        private var _-5Dg:String;
        private var _-4Gj:BitmapData;

        public function _-a5(_arg1:String, _arg2:BitmapData, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            super(_-4pG, _arg3, _arg4);
            this._-5Dg = _arg1;
            this._-4Gj = _arg2;
        }
        public function get badgeId():String
        {
            return (this._-5Dg);
        }
        public function get _-0tr():BitmapData
        {
            return (this._-4Gj);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-Gi

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-Gi extends _-7k 
    {

        public static const _-3Li:String = "RSCE_CHAT_EVENT";
        public static const _-0oo:String = "RSCE_FLOOD_EVENT";
        public static const _-0Js:int = 0;
        public static const _-cB:int = 1;
        public static const _-3Oz:int = 2;
        public static const _-3e-:int = 3;
        public static const _-Gx:int = 4;
        public static const _-3Mt:int = 5;
        public static const _-2ZO:int = 6;
        public static const _-29a:int = 7;
        public static const _-Kf:int = 8;
        public static const _-003:int = 9;

        private var _-4lu:int = 0;
        private var _text:String = "";
        private var _-2Jm:int = 0;
        private var _-vy:Array;
        private var _-2Uq:int;
        private var _-bl:int;

        public function _-Gi(_arg1:String, _arg2:_-4JJ, _arg3:int, _arg4:String, _arg5:int=0, _arg6:int=0, _arg7:Array=null, _arg8:int=-1)
        {
            super(_arg1, _arg2, false, false);
            this._-4lu = _arg3;
            this._text = _arg4;
            this._-2Jm = _arg5;
            this._-vy = _arg7;
            this._-2Uq = _arg8;
            this._-bl = _arg6;
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get text():String
        {
            return (this._text);
        }
        public function get _-54R():int
        {
            return (this._-2Jm);
        }
        public function get links():Array
        {
            return (this._-vy);
        }
        public function get _-1gg():int
        {
            return (this._-2Uq);
        }
        public function get style():int
        {
            return (this._-bl);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-gk

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-gk extends _-7k 
    {

        public static const _-1JI:String = "RSPE_PRESENT_OPENED";

        private var _-0xc:int = 0;
        private var _-53-:String = "";
        private var _-03u:String;
        private var _-Q3:int = 0;
        private var _-uf:String = "";
        private var _-Y6:Boolean;
        private var _-3bN:String;

        public function _-gk(_arg1:String, _arg2:_-4JJ, _arg3:int, _arg4:String, _arg5:String, _arg6:int, _arg7:String, _arg8:Boolean, _arg9:String, _arg10:Boolean=false, _arg11:Boolean=false)
        {
            super(_arg1, _arg2, _arg10, _arg11);
            this._-0xc = _arg3;
            this._-53- = _arg4;
            this._-03u = _arg5;
            this._-Q3 = _arg6;
            this._-uf = _arg7;
            this._-Y6 = _arg8;
            this._-3bN = _arg9;
        }
        public function get _-YT():int
        {
            return (this._-0xc);
        }
        public function get _-15x():String
        {
            return (this._-53-);
        }
        public function get _-1A8():String
        {
            return (this._-03u);
        }
        public function get _-17T():int
        {
            return (this._-Q3);
        }
        public function get _-3dZ():Boolean
        {
            return (this._-Y6);
        }
        public function get _-eZ():String
        {
            return (this._-uf);
        }
        public function get _-uc():String
        {
            return (this._-3bN);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT._-X3

package _-yT
{
    import _-1Jd._-4JJ;

    public class _-X3 extends _-7k 
    {

        public static const _-Uy:String = "RSFRE_FRIEND_REQUEST";

        private var _-by:int = 0;
        private var _-4lu:int = 0;
        private var _-2lb:String;

        public function _-X3(_arg1:_-4JJ, _arg2:int, _arg3:int, _arg4:String, _arg5:Boolean=false, _arg6:Boolean=false)
        {
            super(_-Uy, _arg1, _arg5, _arg6);
            this._-by = _arg2;
            this._-4lu = _arg3;
            this._-2lb = _arg4;
        }
        public function get _-0nn():int
        {
            return (this._-by);
        }
        public function get userId():int
        {
            return (this._-4lu);
        }
        public function get userName():String
        {
            return (this._-2lb);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-yT.RoomSessionDimmerPresetsEvent

package _-yT
{
    import _-1Jd._-4JJ;

    public class RoomSessionDimmerPresetsEvent extends _-7k 
    {

        public static const _-3Qp:String = "RSDPE_PRESETS";

        private var _-39n:int = 0;
        private var _-0HN:Array;

        public function RoomSessionDimmerPresetsEvent(_arg1:String, _arg2:_-4JJ, _arg3:Boolean=false, _arg4:Boolean=false)
        {
            this._-0HN = new Array();
            super(_arg1, _arg2, _arg3, _arg4);
        }
        public function get _-39D():int
        {
            return (this._-39n);
        }
        public function get _-Mr():int
        {
            return (this._-0HN.length);
        }
        public function set _-39D(_arg1:int):void
        {
            this._-39n = _arg1;
        }
        public function _-5ER(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void
        {
            var k:_-28F = new _-28F(_arg1, _arg2, _arg3, _arg4);
            this._-0HN[(_arg1 - 1)] = k;
        }
        public function _-1I7(_arg1:int):_-28F
        {
            if ((((_arg1 < 0)) || ((_arg1 >= this._-0HN.count))))
            {
                return (null);
            };
            return (this._-0HN[_arg1]);
        }

    }
}//package _-yT

//------------------------------------------------------------
//_-ZI._-2aq

package _-ZI
{
    import _-4pF._-3Ts;
    import _-295._-39L;
    import _-Ew.IWindowContainer;
    import _-1ae.IBitmapWrapperWindow;
    import flash.display.BitmapData;
    import _-295._-243;
    import _-295.BitmapDataAsset;
    import flash.geom.Point;

    public class _-2aq 
    {

        private var _-U-:_-3Ts;
        private var _-AV:_-39L;
        private var _-0xv:IWindowContainer;
        private var _-3Qh:IBitmapWrapperWindow;
        private var _-19M:BitmapData;

        public function _-2aq(_arg1:_-3Ts, _arg2:_-39L)
        {
            this._-AV = _arg2;
            this._-U- = _arg1;
            var k:_-243 = (this._-AV.getAssetByName("AvatarEditorImage") as _-243);
            if (k)
            {
                this._-0xv = IWindowContainer(this._-U-.buildFromXML((k.content as XML)));
            };
            var k:BitmapDataAsset = (this._-AV.getAssetByName("platform") as BitmapDataAsset);
            if (k)
            {
                this._-19M = (k.content as BitmapData);
            };
            if (this._-0xv != null)
            {
                this._-3Qh = (this._-0xv.findChildByName("bitmap") as IBitmapWrapperWindow);
            };
        }
        public function _-34-(_arg1:BitmapData):void
        {
            if (((!(this._-3Qh)) || (!(this._-19M))))
            {
                return;
            };
            if (!this._-3Qh.bitmap)
            {
                this._-3Qh.bitmap = new BitmapData(this._-3Qh.width, this._-3Qh.height, true, 0);
            }
            else
            {
                this._-3Qh.bitmap.fillRect(this._-3Qh.bitmap.rect, 0);
            };
            var k:BitmapData = this._-3Qh.bitmap;
            var k:int = 8;
            k.copyPixels(this._-19M, this._-19M.rect, new Point(((k.width - this._-19M.width) / 2), ((k.height - this._-19M.height) - k)));
            var k:int = 24;
            k.copyPixels(_arg1, _arg1.rect, new Point(((k.width - _arg1.width) / 2), ((k.height - _arg1.height) - k)), null, null, true);
            this._-3Qh.invalidate();
        }
        public function get window():IWindowContainer
        {
            return (this._-0xv);
        }
        public function get _-4eD():IBitmapWrapperWindow
        {
            return (this._-3Qh);
        }

    }
}//package _-ZI

//------------------------------------------------------------
//_-ZI.FigureData

package _-ZI
{
    import _-4Kb.HabboAvatarEditor;
    import flash.utils.Dictionary;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import _-1kb._-Gh;
    import _-1kb._-cH;
    import _-1kb._-oL;
    import _-0se._-1uH;
    import _-4Kb._-40f;
    import _-0se._-24J;
    import _-0se._-18q;
    import _-295.BitmapDataAsset;
    import flash.geom.Matrix;
    import flash.display.BitmapDataChannel;
    import flash.geom.ColorTransform;
    import flash.display.BlendMode;
    import _-4Kb.*;

    public class FigureData implements _-3QA 
    {

        public static const _-0pA:String = "M";
        public static const _-0Ag:String = "F";
        public static const _-1aM:String = "U";
        public static const _-1b4:String = "h";
        public static const _-27v:String = "std";
        public static const _-1lw:String = "4";
        public static const _-0fx:String = "0";
        public static const _-2o8:String = "hd";
        public static const _-Id:String = "hr";
        public static const _-3RU:String = "ha";
        public static const _-24y:String = "he";
        public static const _-1hR:String = "ea";
        public static const _-kr:String = "fa";
        public static const _-08r:String = "cc";
        public static const _-3SM:String = "ch";
        public static const _-3vO:String = "ca";
        public static const _-3g6:String = "cp";
        public static const _-3vy:String = "lg";
        public static const _-0x:String = "sh";
        public static const _-2R3:String = "wa";
        private static const _-12b:Array = [28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 68];

        private var _-31b:HabboAvatarEditor;
        private var _-Ke:_-2aq;
        private var _-0qE:Dictionary;
        private var _-2Yf:Dictionary;
        private var _-4Cb:String = "M";
        private var _-4Bk:Boolean;
        private var _-38Z:int = -1;

        public function FigureData(_arg1:HabboAvatarEditor)
        {
            this._-31b = _arg1;
            this._-Ke = new _-2aq(_arg1.manager.windowManager, _arg1.manager.assets);
        }
        public function _-58B(_arg1:String, _arg2:String):void
        {
            this._-0qE = new Dictionary();
            this._-2Yf = new Dictionary();
            this._-4Cb = _arg2;
            this._-7f(_arg1);
            this._-2D2();
        }
        public function dispose():void
        {
            this._-31b = null;
            this._-Ke = null;
            this._-0qE = null;
            this._-2Yf = null;
            this._-4Bk = true;
        }
        public function get disposed():Boolean
        {
            return (this._-4Bk);
        }
        private function _-7f(_arg1:String):void
        {
            var k:String;
            var k:Array;
            var k:String;
            var k:int;
            var k:Array;
            var k:int;
            if (_arg1 == null)
            {
                return;
            };
            for each (k in _arg1.split("."))
            {
                k = k.split("-");
                if (k.length > 0)
                {
                    k = String(k[0]);
                    k = parseInt(k[1]);
                    k = new Array();
                    k = 2;
                    while (k < k.length)
                    {
                        k.push(k[k]);
                        k++;
                    };
                    if (k.length == 0)
                    {
                        k.push(0);
                    };
                    this._-2cV(k, k, false);
                    this.savePartSetColourId(k, k, false);
                };
            };
        }
        public function getPartSetId(_arg1:String):int
        {
            if (this._-0qE[_arg1] != null)
            {
                return (this._-0qE[_arg1]);
            };
            return (-1);
        }
        public function getColourIds(_arg1:String):Array
        {
            if (this._-2Yf[_arg1] != null)
            {
                return (this._-2Yf[_arg1]);
            };
            return ([this._-31b._-9G(_arg1)]);
        }
        public function _-2q0():String
        {
            var k:String;
            var k:int;
            var k:String;
            var k:Array;
            var k:String;
            var k:int;
            var k:String = "";
            var k:Array = [];
            for (k in this._-0qE)
            {
                if (this._-0qE[k] != null)
                {
                    k = this._-0qE[k];
                    k = (this._-2Yf[k] as Array);
                    k = ((k + "-") + k);
                    if (k)
                    {
                        k = 0;
                        while (k < k.length)
                        {
                            k = (k + ("-" + k[k]));
                            k++;
                        };
                    };
                    k.push(k);
                };
            };
            k = 0;
            while (k < k.length)
            {
                k = (k + k[k]);
                if (k < (k.length - 1))
                {
                    k = (k + ".");
                };
                k++;
            };
            return (k);
        }
        public function _-3pW(_arg1:String, _arg2:int, _arg3:Array, _arg4:Boolean=false):void
        {
            this._-2cV(_arg1, _arg2, _arg4);
            this.savePartSetColourId(_arg1, _arg3, _arg4);
        }
        private function _-2cV(_arg1:String, _arg2:int, _arg3:Boolean=true):void
        {
            switch (_arg1)
            {
                case _-2o8:
                case _-Id:
                case _-3RU:
                case _-24y:
                case _-1hR:
                case _-kr:
                case _-3SM:
                case _-08r:
                case _-3vO:
                case _-3g6:
                case _-3vy:
                case _-0x:
                case _-2R3:
                    if (_arg2 >= 0)
                    {
                        this._-0qE[_arg1] = _arg2;
                    }
                    else
                    {
                        delete this._-0qE[_arg1];
                    };
                    break;
                default:
                    _-Nb.log(((("[FigureData] Unknown partset: " + _arg1) + ", can not store id: ") + _arg2));
            };
            if (_arg3)
            {
                this._-2D2();
            };
        }
        public function savePartSetColourId(_arg1:String, _arg2:Array, _arg3:Boolean=true):void
        {
            switch (_arg1)
            {
                case _-2o8:
                case _-Id:
                case _-3RU:
                case _-24y:
                case _-1hR:
                case _-kr:
                case _-3SM:
                case _-08r:
                case _-3vO:
                case _-3g6:
                case _-3vy:
                case _-0x:
                case _-2R3:
                    this._-2Yf[_arg1] = _arg2;
                    break;
                default:
                    _-Nb.log((("[FigureData] Unknown partset: " + _arg1) + ", can not store color-ids"));
            };
            if (_arg3)
            {
                this._-2D2();
            };
        }
        public function getFigureStringWithFace(_arg1:int):String
        {
            var k:String;
            var k:int;
            var k:int;
            var k:Array;
            var k:String;
            var k:int;
            var k:Array = [];
            k.push(_-2o8);
            var k:String = "";
            var k:Array = [];
            for each (k in k)
            {
                if (this._-2Yf[k] != null)
                {
                    k = this._-0qE[k];
                    k = (this._-2Yf[k] as Array);
                    if (k == _-2o8)
                    {
                        k = _arg1;
                    };
                    k = ((k + "-") + k);
                    if (k >= 0)
                    {
                        k = 0;
                        while (k < k.length)
                        {
                            k = (k + ("-" + k[k]));
                            k++;
                        };
                    };
                    k.push(k);
                };
            };
            k = 0;
            while (k < k.length)
            {
                k = (k + k[k]);
                if (k < (k.length - 1))
                {
                    k = (k + ".");
                };
                k++;
            };
            return (k);
        }
        public function _-2D2():void
        {
            var k:BitmapData;
            var k:BitmapData;
            var k:Point;
            var k:Point;
            var k:int;
            var k:Point;
            var k:_-Gh;
            var k:_-cH;
            var k:_-oL;
            var _local12:BitmapData;
            var k:String = this._-2q0();
            var k:_-40f = this._-31b.manager.avatarRenderManager.createAvatarImage(k, _-1uH._-JU, this.gender, this);
            if (k)
            {
                k.setDirection(_-24J._-2YU, int(_-1lw));
                if (((!((this._-38Z == -1))) && ((_-12b.indexOf(this._-38Z) == -1))))
                {
                    k = new BitmapData(this._-Ke._-4eD.width, this._-Ke._-4eD.height, true, 0xFFFFFF);
                    k.appendAction(_-18q._-46C, this._-38Z);
                    k._-1Z0();
                    k._-4CN(1);
                    k._-4CN(1);
                    k = k._-2Xc(_-24J._-2YU, true);
                    k = new Point(0, 0);
                    k = new Point(0, 0);
                    if (k != null)
                    {
                        k = k._-4iV;
                        if (k != null)
                        {
                        };
                        k.x = ((k.width - k.width) / 2);
                        k.y = ((k.height - k.height) / 2);
                        for each (k in k._-3YU())
                        {
                            if (k.id == "avatar")
                            {
                                k = k._-0JM(k);
                                if (k)
                                {
                                    k.x = k.dx;
                                    k.y = k.dy;
                                };
                            };
                        };
                    };
                    k = 64;
                    k = new Point(((k.width - k) / 2), (k.height - (k / 4)));
                    this._-5Bg(k, k, k, k.add(k), false);
                    k.copyPixels(k, k.rect, k, null, null, true);
                    this._-5Bg(k, k, k, k.add(k));
                    this._-Ke._-34-(k);
                }
                else
                {
                    k = k._-2Xc(_-24J._-2YU, true);
                    this._-Ke._-34-(k);
                };
                k.dispose();
            }
            else
            {
                _-Nb.log("Unable to create avatar image for the preview in avatar editor!");
                _local12 = new BitmapData(1, 1);
                this._-Ke._-34-(_local12);
            };
        }
        public function get view():_-2aq
        {
            return (this._-Ke);
        }
        public function get gender():String
        {
            return (this._-4Cb);
        }
        public function _-0-V(_arg1:String):void
        {
            this._-2D2();
        }
        public function set _-574(_arg1:int):void
        {
            this._-38Z = _arg1;
        }
        public function get _-574():int
        {
            return (this._-38Z);
        }
        private function _-5Bg(_arg1:BitmapData, _arg2:_-40f, _arg3:Point, _arg4:Point, _arg5:Boolean=true):void
        {
            var k:_-cH;
            var k:_-oL;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:String;
            var k:BitmapDataAsset;
            var k:BitmapData;
            var k:Number;
            var k:Number;
            var k:Number;
            var k:Matrix;
            var k:BitmapData;
            var k:BitmapData;
            var k:Point;
            var k:Point;
            var k:BitmapData;
            for each (k in _arg2._-3YU())
            {
                k = _arg2._-0JM(k);
                k = 0;
                k = k._-xO(_arg2.getDirection());
                k = k._-1je(_arg2.getDirection());
                k = k._-bi(_arg2.getDirection());
                k = 0;
                if (!_arg5)
                {
                    if (k >= 0)
                    {
                        continue;
                    };
                }
                else
                {
                    if (k < 0)
                    {
                        continue;
                    };
                };
                if (k._-2MN)
                {
                    k = _arg2.getDirection();
                };
                if (k != null)
                {
                    k = k._-2Ec;
                    k = (k + k.dx);
                    k = (k + k.dy);
                    k = (k + k._-3J7);
                };
                if (k < 0)
                {
                    k = (k + 8);
                };
                if (k > 7)
                {
                    k = (k - 8);
                };
                k = ((((((_arg2._-Z8() + "_") + k.member) + "_") + k) + "_") + k);
                k = _arg2.getAsset(k);
                if (k == null)
                {
                }
                else
                {
                    k = (k.content as BitmapData).clone();
                    k = 1;
                    k = ((_arg4.x - (1 * k.offset.x)) + k);
                    k = ((_arg4.y - (1 * k.offset.y)) + k);
                    if (k.ink == 33)
                    {
                        k = new BitmapData(_arg1.width, _arg1.height, true, 0xFFFFFF);
                        k = new BitmapData(_arg1.width, _arg1.height, true, 0);
                        k = new Point((k - _arg3.x), (k - _arg3.y));
                        k = new Point(0, 0);
                        k = new Matrix(1, 0, 0, 1, (k - _arg3.x), (k - _arg3.y));
                        k.copyChannel(k, k.rect, k, BitmapDataChannel.RED, BitmapDataChannel.ALPHA);
                        k.draw(k, null, new ColorTransform(0, 0, 0, 0.3), BlendMode.ADD, null, false);
                        k.copyChannel(k, k.rect, k, BitmapDataChannel.GREEN, BitmapDataChannel.ALPHA);
                        k.draw(k, null, new ColorTransform(0, 0, 0, 0.4), BlendMode.ADD, null, false);
                        k.copyChannel(k, k.rect, k, BitmapDataChannel.BLUE, BitmapDataChannel.ALPHA);
                        k.draw(k, null, new ColorTransform(0, 0, 0, 0.3), BlendMode.ADD, null, false);
                        k = new BitmapData(_arg1.width, _arg1.height, true, 0);
                        k.copyPixels(k, k.rect, k);
                        k.copyChannel(k, k.rect, k, BitmapDataChannel.ALPHA, BitmapDataChannel.ALPHA);
                        _arg1.copyPixels(k, k.rect, k, null, null, true);
                    }
                    else
                    {
                        _arg1.copyPixels(k, k.rect, new Point((k - _arg3.x), (k - _arg3.y)), null, null, true);
                    };
                };
            };
        }

    }
}//package _-ZI

//------------------------------------------------------------
//_-ZK._-1IF

package _-ZK
{
    public class _-1IF 
    {

        public static const _-1f8:String = "FlashExternalGameInterface.sendGameEvent";

    }
}//package _-ZK

//------------------------------------------------------------
//_-ZK._-46x

package _-ZK
{
    public class _-46x 
    {

        public static const _-0ja:String = "HabboGameJsAPIEventToHabbo";
        public static const _-2Bs:String = "HabboGameAPI_game_loaded";
        public static const _-4ca:String = "HabboGameAPI_exit_game";

    }
}//package _-ZK

//------------------------------------------------------------
//_-ZK._-vJ

package _-ZK
{
    import _-0GO.HabboGameManager;
    import flash.external.ExternalInterface;

    public class _-vJ 
    {

        private var _-Ry:HabboGameManager;
        private var _-4Bk:Boolean;
        private var _-4gj:Boolean;

        public function _-vJ(_arg1:HabboGameManager, _arg2:Boolean=false)
        {
            this._-Ry = _arg1;
            this._-4gj = _arg2;
            if (ExternalInterface.available)
            {
                ExternalInterface.addCallback(_-46x._-0ja, this._-09M);
            };
        }
        public function dispose():void
        {
            this._-Ry = null;
            this._-4Bk = true;
        }
        private function _-09M(_arg1:String=null):void
        {
            if (this._-4Bk)
            {
                return;
            };
            var k:Boolean = ExternalInterface.marshallExceptions;
            ExternalInterface.marshallExceptions = this._-4gj;
            var k:int = _arg1.indexOf(";");
            var k:String = _arg1.substr(0, (k + 1));
            var k:String = _arg1.substr((k + 1));
            switch (k)
            {
                case _-46x._-4ca:
                    this._-Ry._-1xc();
                    break;
                case _-46x._-2Bs:
                    this._-Ry._-ii();
                    break;
            };
            ExternalInterface.marshallExceptions = k;
        }
        public function sendGameEvent(_arg1:String):void
        {
            var preValue:Boolean;
            var event:String = _arg1;
            try
            {
                if (ExternalInterface.available)
                {
                    preValue = ExternalInterface.marshallExceptions;
                    ExternalInterface.marshallExceptions = this._-4gj;
                    ExternalInterface.call(_-1IF._-1f8, event);
                    ExternalInterface.marshallExceptions = preValue;
                };
            }
            catch(e:Error)
            {
                _-Nb.log(("Failed to send event to game: " + e));
            };
        }

    }
}//package _-ZK

//------------------------------------------------------------
//adobe.serialization.json.JSON

package adobe.serialization.json
{
    public final class JSON 
    {

        public static function encode(_arg1:Object):String
        {
            return (new JSONEncoder(_arg1).getString());
        }
        public static function decode(_arg1:String, _arg2:Boolean=true)
        {
            return (new JSONDecoder(_arg1, _arg2).getValue());
        }

    }
}//package adobe.serialization.json

//------------------------------------------------------------
//adobe.serialization.json.JSONDecoder

package adobe.serialization.json
{
    public class JSONDecoder 
    {

        private var strict:Boolean;
        private var value;
        private var tokenizer:JSONTokenizer;
        private var token:JSONToken;

        public function JSONDecoder(_arg1:String, _arg2:Boolean)
        {
            this.strict = _arg2;
            this.tokenizer = new JSONTokenizer(_arg1, _arg2);
            this.nextToken();
            this.value = this.parseValue();
            if (((_arg2) && (!((this.nextToken() == null)))))
            {
                this.tokenizer.parseError("Unexpected characters left in input stream");
            };
        }
        public function getValue()
        {
            return (this.value);
        }
        final private function nextToken():JSONToken
        {
            return ((this.token = this.tokenizer.getNextToken()));
        }
        final private function nextValidToken():JSONToken
        {
            this.token = this.tokenizer.getNextToken();
            this.checkValidToken();
            return (this.token);
        }
        final private function checkValidToken():void
        {
            if (this.token == null)
            {
                this.tokenizer.parseError("Unexpected end of input");
            };
        }
        final private function parseArray():Array
        {
            var a:Array = new Array();
            this.nextValidToken();
            if (this.token.type == JSONTokenType.RIGHT_BRACKET)
            {
                return (a);
            };
            if (((!(this.strict)) && ((this.token.type == JSONTokenType.COMMA))))
            {
                this.nextValidToken();
                if (this.token.type == JSONTokenType.RIGHT_BRACKET)
                {
                    return (a);
                };
                this.tokenizer.parseError(("Leading commas are not supported.  Expecting ']' but found " + this.token.value));
            };
            while (true)
            {
                a.push(this.parseValue());
                this.nextValidToken();
                if (this.token.type == JSONTokenType.RIGHT_BRACKET)
                {
                    return (a);
                };
                if (this.token.type == JSONTokenType.COMMA)
                {
                    this.nextToken();
                    if (!this.strict)
                    {
                        this.checkValidToken();
                        if (this.token.type == JSONTokenType.RIGHT_BRACKET)
                        {
                            return (a);
                        };
                    };
                }
                else
                {
                    this.tokenizer.parseError(("Expecting ] or , but found " + this.token.value));
                };
            };
            return (null);
        }
        final private function parseObject():Object
        {
            var key:String;
            var o:Object = new Object();
            this.nextValidToken();
            if (this.token.type == JSONTokenType.RIGHT_BRACE)
            {
                return (o);
            };
            if (((!(this.strict)) && ((this.token.type == JSONTokenType.COMMA))))
            {
                this.nextValidToken();
                if (this.token.type == JSONTokenType.RIGHT_BRACE)
                {
                    return (o);
                };
                this.tokenizer.parseError(("Leading commas are not supported.  Expecting '}' but found " + this.token.value));
            };
            while (true)
            {
                if (this.token.type == JSONTokenType.STRING)
                {
                    key = String(this.token.value);
                    this.nextValidToken();
                    if (this.token.type == JSONTokenType.COLON)
                    {
                        this.nextToken();
                        o[key] = this.parseValue();
                        this.nextValidToken();
                        if (this.token.type == JSONTokenType.RIGHT_BRACE)
                        {
                            return (o);
                        };
                        if (this.token.type == JSONTokenType.COMMA)
                        {
                            this.nextToken();
                            if (!this.strict)
                            {
                                this.checkValidToken();
                                if (this.token.type == JSONTokenType.RIGHT_BRACE)
                                {
                                    return (o);
                                };
                            };
                        }
                        else
                        {
                            this.tokenizer.parseError(("Expecting } or , but found " + this.token.value));
                        };
                    }
                    else
                    {
                        this.tokenizer.parseError(("Expecting : but found " + this.token.value));
                    };
                }
                else
                {
                    this.tokenizer.parseError(("Expecting string but found " + this.token.value));
                };
            };
            return (null);
        }
        final private function parseValue():Object
        {
            this.checkValidToken();
            switch (this.token.type)
            {
                case JSONTokenType.LEFT_BRACE:
                    return (this.parseObject());
                case JSONTokenType.LEFT_BRACKET:
                    return (this.parseArray());
                case JSONTokenType.STRING:
                case JSONTokenType.NUMBER:
                case JSONTokenType.TRUE:
                case JSONTokenType.FALSE:
                case JSONTokenType.NULL:
                    return (this.token.value);
                case JSONTokenType.NAN:
                    if (!this.strict)
                    {
                        return (this.token.value);
                    };
                    this.tokenizer.parseError(("Unexpected " + this.token.value));
                default:
                    this.tokenizer.parseError(("Unexpected " + this.token.value));
            };
            return (null);
        }

    }
}//package adobe.serialization.json

//------------------------------------------------------------
//adobe.serialization.json.JSONEncoder

package adobe.serialization.json
{
    import flash.utils.describeType;

    public class JSONEncoder 
    {

        private var jsonString:String;

        public function JSONEncoder(_arg1)
        {
            this.jsonString = this.convertToString(_arg1);
        }
        public function getString():String
        {
            return (this.jsonString);
        }
        private function convertToString(_arg1):String
        {
            if ((_arg1 is String))
            {
                return (this.escapeString((_arg1 as String)));
            };
            if ((_arg1 is Number))
            {
                return (((isFinite((_arg1 as Number))) ? _arg1.toString() : "null"));
            };
            if ((_arg1 is Boolean))
            {
                return (((_arg1) ? "true" : "false"));
            };
            if ((_arg1 is Array))
            {
                return (this.arrayToString((_arg1 as Array)));
            };
            if ((((_arg1 is Object)) && (!((_arg1 == null)))))
            {
                return (this.objectToString(_arg1));
            };
            return ("null");
        }
        private function escapeString(_arg1:String):String
        {
            var ch:String;
            var hexCode:String;
            var zeroPad:String;
            var s:String = "";
            var len:Number = _arg1.length;
            var i:int;
            while (i < len)
            {
                ch = _arg1.charAt(i);
                switch (ch)
                {
                    case '"':
                        s = (s + '\\"');
                        break;
                    case "\\":
                        s = (s + "\\\\");
                        break;
                    case "\b":
                        s = (s + "\\b");
                        break;
                    case "\f":
                        s = (s + "\\f");
                        break;
                    case "\n":
                        s = (s + "\\n");
                        break;
                    case "\r":
                        s = (s + "\\r");
                        break;
                    case "\t":
                        s = (s + "\\t");
                        break;
                    default:
                        if (ch < " ")
                        {
                            hexCode = ch.charCodeAt(0).toString(16);
                            zeroPad = (((hexCode.length == 2)) ? "00" : "000");
                            s = (s + (("\\u" + zeroPad) + hexCode));
                        }
                        else
                        {
                            s = (s + ch);
                        };
                };
                i++;
            };
            return ((('"' + s) + '"'));
        }
        private function arrayToString(_arg1:Array):String
        {
            var s:String = "";
            var length:int = _arg1.length;
            var i:int;
            while (i < length)
            {
                if (s.length > 0)
                {
                    s = (s + ",");
                };
                s = (s + this.convertToString(_arg1[i]));
                i++;
            };
            return ((("[" + s) + "]"));
        }
        private function objectToString(_arg1:Object):String
        {
            var value:Object;
            var key:String;
            var v:XML;
            var o:Object = _arg1;
            var s:String = "";
            var classInfo:XML = describeType(o);
            if (classInfo.@name.toString() == "Object")
            {
                for (key in o)
                {
                    value = o[key];
                    if ((value is Function))
                    {
                    }
                    else
                    {
                        if (s.length > 0)
                        {
                            s = (s + ",");
                        };
                        s = (s + ((this.escapeString(key) + ":") + this.convertToString(value)));
                    };
                };
            }
            else
            {
                for each (v in classInfo..*.(((name() == "variable")) || ((((name() == "accessor")) && ((attribute("access").charAt(0) == "r"))))))
                {
                    if (((v.metadata) && ((v.metadata.(@name == "Transient").length() > 0))))
                    {
                    }
                    else
                    {
                        if (s.length > 0)
                        {
                            s = (s + ",");
                        };
                        s = (s + ((this.escapeString(v.@name.toString()) + ":") + this.convertToString(o[v.@name])));
                    };
                };
            };
            return ((("{" + s) + "}"));
        }

    }
}//package adobe.serialization.json

//------------------------------------------------------------
//adobe.serialization.json.JSONParseError

package adobe.serialization.json
{
    public class JSONParseError extends Error 
    {

        private var _location:int;
        private var _text:String;

        public function JSONParseError(_arg1:String="", _arg2:int=0, _arg3:String="")
        {
            super(_arg1);
            name = "JSONParseError";
            this._location = _arg2;
            this._text = _arg3;
        }
        public function get location():int
        {
            return (this._location);
        }
        public function get text():String
        {
            return (this._text);
        }

    }
}//package adobe.serialization.json

//------------------------------------------------------------
//adobe.serialization.json.JSONToken

package adobe.serialization.json
{
    public final class JSONToken 
    {

        static const token:JSONToken = new (JSONToken)();

        public var type:int;
        public var value:Object;

        public function JSONToken(_arg1:int=-1, _arg2:Object=null)
        {
            this.type = _arg1;
            this.value = _arg2;
        }
        static function create(_arg1:int=-1, _arg2:Object=null):JSONToken
        {
            token.type = _arg1;
            token.value = _arg2;
            return (token);
        }

    }
}//package adobe.serialization.json

//------------------------------------------------------------
//adobe.serialization.json.JSONTokenizer

package adobe.serialization.json
{
    public class JSONTokenizer 
    {

        private const controlCharsRegExp:RegExp = /[\x00-\x1F]/;

        private var strict:Boolean;
        private var obj:Object;
        private var jsonString:String;
        private var loc:int;
        private var ch:String;

        public function JSONTokenizer(_arg1:String, _arg2:Boolean)
        {
            this.jsonString = _arg1;
            this.strict = _arg2;
            this.loc = 0;
            this.nextChar();
        }
        public function getNextToken():JSONToken
        {
            var _local2:String;
            var _local3:String;
            var _local4:String;
            var _local5:String;
            var token:JSONToken;
            this.skipIgnored();
            switch (this.ch)
            {
                case "{":
                    token = JSONToken.create(JSONTokenType.LEFT_BRACE, this.ch);
                    this.nextChar();
                    break;
                case "}":
                    token = JSONToken.create(JSONTokenType.RIGHT_BRACE, this.ch);
                    this.nextChar();
                    break;
                case "[":
                    token = JSONToken.create(JSONTokenType.LEFT_BRACKET, this.ch);
                    this.nextChar();
                    break;
                case "]":
                    token = JSONToken.create(JSONTokenType.RIGHT_BRACKET, this.ch);
                    this.nextChar();
                    break;
                case ",":
                    token = JSONToken.create(JSONTokenType.COMMA, this.ch);
                    this.nextChar();
                    break;
                case ":":
                    token = JSONToken.create(JSONTokenType.COLON, this.ch);
                    this.nextChar();
                    break;
                case "t":
                    _local2 = ((("t" + this.nextChar()) + this.nextChar()) + this.nextChar());
                    if (_local2 == "true")
                    {
                        token = JSONToken.create(JSONTokenType.TRUE, true);
                        this.nextChar();
                    }
                    else
                    {
                        this.parseError(("Expecting 'true' but found " + _local2));
                    };
                    break;
                case "f":
                    _local3 = (((("f" + this.nextChar()) + this.nextChar()) + this.nextChar()) + this.nextChar());
                    if (_local3 == "false")
                    {
                        token = JSONToken.create(JSONTokenType.FALSE, false);
                        this.nextChar();
                    }
                    else
                    {
                        this.parseError(("Expecting 'false' but found " + _local3));
                    };
                    break;
                case "n":
                    _local4 = ((("n" + this.nextChar()) + this.nextChar()) + this.nextChar());
                    if (_local4 == "null")
                    {
                        token = JSONToken.create(JSONTokenType.NULL, null);
                        this.nextChar();
                    }
                    else
                    {
                        this.parseError(("Expecting 'null' but found " + _local4));
                    };
                    break;
                case "N":
                    _local5 = (("N" + this.nextChar()) + this.nextChar());
                    if (_local5 == "NaN")
                    {
                        token = JSONToken.create(JSONTokenType.NAN, NaN);
                        this.nextChar();
                    }
                    else
                    {
                        this.parseError(("Expecting 'NaN' but found " + _local5));
                    };
                    break;
                case '"':
                    token = this.readString();
                    break;
                default:
                    if (((this.isDigit(this.ch)) || ((this.ch == "-"))))
                    {
                        token = this.readNumber();
                    }
                    else
                    {
                        if (this.ch == "")
                        {
                            token = null;
                        }
                        else
                        {
                            this.parseError((("Unexpected " + this.ch) + " encountered"));
                        };
                    };
            };
            return (token);
        }
        final private function readString():JSONToken
        {
            var backspaceCount:int;
            var backspaceIndex:int;
            var quoteIndex:int = this.loc;
            do 
            {
                quoteIndex = this.jsonString.indexOf('"', quoteIndex);
                if (quoteIndex >= 0)
                {
                    backspaceCount = 0;
                    backspaceIndex = (quoteIndex - 1);
                    while (this.jsonString.charAt(backspaceIndex) == "\\")
                    {
                        backspaceCount++;
                        backspaceIndex--;
                    };
                    if ((backspaceCount & 1) == 0)
                    {
                        break;
                    };
                    quoteIndex++;
                }
                else
                {
                    this.parseError("Unterminated string literal");
                };
            } while (true);
            var token:JSONToken = JSONToken.create(JSONTokenType.STRING, this.unescapeString(this.jsonString.substr(this.loc, (quoteIndex - this.loc))));
            this.loc = (quoteIndex + 1);
            this.nextChar();
            return (token);
        }
        public function unescapeString(_arg1:String):String
        {
            var nextSubstringStartPosition:int;
            var escapedChar:String;
            var _local7:String;
            var _local8:int;
            var i:int;
            var possibleHexChar:String;
            if (((this.strict) && (this.controlCharsRegExp.test(_arg1))))
            {
                this.parseError("String contains unescaped control character (0x00-0x1F)");
            };
            var result:String = "";
            var backslashIndex:int;
            nextSubstringStartPosition = 0;
            var len:int = _arg1.length;
            do 
            {
                backslashIndex = _arg1.indexOf("\\", nextSubstringStartPosition);
                if (backslashIndex >= 0)
                {
                    result = (result + _arg1.substr(nextSubstringStartPosition, (backslashIndex - nextSubstringStartPosition)));
                    nextSubstringStartPosition = (backslashIndex + 2);
                    escapedChar = _arg1.charAt((backslashIndex + 1));
                    switch (escapedChar)
                    {
                        case '"':
                            result = (result + escapedChar);
                            break;
                        case "\\":
                            result = (result + escapedChar);
                            break;
                        case "n":
                            result = (result + "\n");
                            break;
                        case "r":
                            result = (result + "\r");
                            break;
                        case "t":
                            result = (result + "\t");
                            break;
                        case "u":
                            _local7 = "";
                            _local8 = (nextSubstringStartPosition + 4);
                            if (_local8 > len)
                            {
                                this.parseError("Unexpected end of input.  Expecting 4 hex digits after \\u.");
                            };
                            i = nextSubstringStartPosition;
                            while (i < _local8)
                            {
                                possibleHexChar = _arg1.charAt(i);
                                if (!this.isHexDigit(possibleHexChar))
                                {
                                    this.parseError(("Excepted a hex digit, but found: " + possibleHexChar));
                                };
                                _local7 = (_local7 + possibleHexChar);
                                i++;
                            };
                            result = (result + String.fromCharCode(parseInt(_local7, 16)));
                            nextSubstringStartPosition = _local8;
                            break;
                        case "f":
                            result = (result + "\f");
                            break;
                        case "/":
                            result = (result + "/");
                            break;
                        case "b":
                            result = (result + "\b");
                            break;
                        default:
                            result = (result + ("\\" + escapedChar));
                    };
                }
                else
                {
                    result = (result + _arg1.substr(nextSubstringStartPosition));
                    break;
                };
            } while (nextSubstringStartPosition < len);
            return (result);
        }
        final private function readNumber():JSONToken
        {
            var input:String = "";
            if (this.ch == "-")
            {
                input = (input + "-");
                this.nextChar();
            };
            if (!this.isDigit(this.ch))
            {
                this.parseError("Expecting a digit");
            };
            if (this.ch == "0")
            {
                input = (input + this.ch);
                this.nextChar();
                if (this.isDigit(this.ch))
                {
                    this.parseError("A digit cannot immediately follow 0");
                }
                else
                {
                    if (((!(this.strict)) && ((this.ch == "x"))))
                    {
                        input = (input + this.ch);
                        this.nextChar();
                        if (this.isHexDigit(this.ch))
                        {
                            input = (input + this.ch);
                            this.nextChar();
                        }
                        else
                        {
                            this.parseError('Number in hex format require at least one hex digit after "0x"');
                        };
                        while (this.isHexDigit(this.ch))
                        {
                            input = (input + this.ch);
                            this.nextChar();
                        };
                    };
                };
            }
            else
            {
                while (this.isDigit(this.ch))
                {
                    input = (input + this.ch);
                    this.nextChar();
                };
            };
            if (this.ch == ".")
            {
                input = (input + ".");
                this.nextChar();
                if (!this.isDigit(this.ch))
                {
                    this.parseError("Expecting a digit");
                };
                while (this.isDigit(this.ch))
                {
                    input = (input + this.ch);
                    this.nextChar();
                };
            };
            if ((((this.ch == "e")) || ((this.ch == "E"))))
            {
                input = (input + "e");
                this.nextChar();
                if ((((this.ch == "+")) || ((this.ch == "-"))))
                {
                    input = (input + this.ch);
                    this.nextChar();
                };
                if (!this.isDigit(this.ch))
                {
                    this.parseError("Scientific notation number needs exponent value");
                };
                while (this.isDigit(this.ch))
                {
                    input = (input + this.ch);
                    this.nextChar();
                };
            };
            var num:Number = Number(input);
            if (((isFinite(num)) && (!(isNaN(num)))))
            {
                return (JSONToken.create(JSONTokenType.NUMBER, num));
            };
            this.parseError((("Number " + num) + " is not valid!"));
            return (null);
        }
        final private function nextChar():String
        {
            return ((this.ch = this.jsonString.charAt(this.loc++)));
        }
        final private function skipIgnored():void
        {
            var originalLoc:int;
            do 
            {
                originalLoc = this.loc;
                this.skipWhite();
                this.skipComments();
            } while (originalLoc != this.loc);
        }
        private function skipComments():void
        {
            if (this.ch == "/")
            {
                this.nextChar();
                switch (this.ch)
                {
                    case "/":
                        do 
                        {
                            this.nextChar();
                        } while (((!((this.ch == "\n"))) && (!((this.ch == "")))));
                        this.nextChar();
                        return;
                    case "*":
                        this.nextChar();
                        while (true)
                        {
                            if (this.ch == "*")
                            {
                                this.nextChar();
                                if (this.ch == "/")
                                {
                                    this.nextChar();
                                    break;
                                };
                            }
                            else
                            {
                                this.nextChar();
                            };
                            if (this.ch == "")
                            {
                                this.parseError("Multi-line comment not closed");
                            };
                        };
                        return;
                    default:
                        this.parseError((("Unexpected " + this.ch) + " encountered (expecting '/' or '*' )"));
                };
            };
        }
        final private function skipWhite():void
        {
            while (this.isWhiteSpace(this.ch))
            {
                this.nextChar();
            };
        }
        final private function isWhiteSpace(_arg1:String):Boolean
        {
            if ((((((((_arg1 == " ")) || ((_arg1 == "\t")))) || ((_arg1 == "\n")))) || ((_arg1 == "\r"))))
            {
                return (true);
            };
            if (((!(this.strict)) && ((_arg1.charCodeAt(0) == 160))))
            {
                return (true);
            };
            return (false);
        }
        final private function isDigit(_arg1:String):Boolean
        {
            return ((((_arg1 >= "0")) && ((_arg1 <= "9"))));
        }
        final private function isHexDigit(_arg1:String):Boolean
        {
            return (((((this.isDigit(_arg1)) || ((((_arg1 >= "A")) && ((_arg1 <= "F")))))) || ((((_arg1 >= "a")) && ((_arg1 <= "f"))))));
        }
        final public function parseError(_arg1:String):void
        {
            throw (new JSONParseError(_arg1, this.loc, this.jsonString));
        }

    }
}//package adobe.serialization.json

//------------------------------------------------------------
//adobe.serialization.json.JSONTokenType

package adobe.serialization.json
{
    public final class JSONTokenType 
    {

        public static const UNKNOWN:int = -1;
        public static const COMMA:int = 0;
        public static const LEFT_BRACE:int = 1;
        public static const RIGHT_BRACE:int = 2;
        public static const LEFT_BRACKET:int = 3;
        public static const RIGHT_BRACKET:int = 4;
        public static const COLON:int = 6;
        public static const TRUE:int = 7;
        public static const FALSE:int = 8;
        public static const NULL:int = 9;
        public static const STRING:int = 10;
        public static const NUMBER:int = 11;
        public static const NAN:int = 12;

    }
}//package adobe.serialization.json

//------------------------------------------------------------
//com.sulake.bootstrap.AdManagerBootstrap

package com.sulake.bootstrap
{
    import _-jM._-0mQ;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class AdManagerBootstrap extends _-0mQ 
    {

        public function AdManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.AvatarRenderManagerBootstrap

package com.sulake.bootstrap
{
    import _-4Kb.AvatarRenderManager;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class AvatarRenderManagerBootstrap extends AvatarRenderManager 
    {

        public function AvatarRenderManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.CoreCommunicationManagerBootstrap

package com.sulake.bootstrap
{
    import _-1pF.CoreCommunicationManager;
    import _-1B-._-5CE;

    public class CoreCommunicationManagerBootstrap extends CoreCommunicationManager 
    {

        public function CoreCommunicationManagerBootstrap(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboAvatarEditorManagerBootstrap

package com.sulake.bootstrap
{
    import _-4Kb._-4b4;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboAvatarEditorManagerBootstrap extends _-4b4 
    {

        public function HabboAvatarEditorManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboCatalogBootstrap

package com.sulake.bootstrap
{
    import _-0mD.HabboCatalog;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboCatalogBootstrap extends HabboCatalog 
    {

        public function HabboCatalogBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboCommunicationDemoBootstrap

package com.sulake.bootstrap
{
    import _-2zo.HabboCommunicationDemo;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboCommunicationDemoBootstrap extends HabboCommunicationDemo 
    {

        public function HabboCommunicationDemoBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboCommunicationManagerBootstrap

package com.sulake.bootstrap
{
    import _-3gx.HabboCommunicationManager;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboCommunicationManagerBootstrap extends HabboCommunicationManager 
    {

        public function HabboCommunicationManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboConfigurationManagerBootstrap

package com.sulake.bootstrap
{
    import _-4Wu.HabboConfigurationManager;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboConfigurationManagerBootstrap extends HabboConfigurationManager 
    {

        public function HabboConfigurationManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboFriendBarBootstrap

package com.sulake.bootstrap
{
    import _-0eb._-1ih;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboFriendBarBootstrap extends _-1ih 
    {

        public function HabboFriendBarBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboFriendListBootstrap

package com.sulake.bootstrap
{
    import _-35b.HabboFriendList;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboFriendListBootstrap extends HabboFriendList 
    {

        public function HabboFriendListBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboGameManagerBootstrap

package com.sulake.bootstrap
{
    import _-0GO.HabboGameManager;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboGameManagerBootstrap extends HabboGameManager 
    {

        public function HabboGameManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboGroupsManagerBootstrap

package com.sulake.bootstrap
{
    import _-19Y._-0e3;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboGroupsManagerBootstrap extends _-0e3 
    {

        public function HabboGroupsManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboHelpBootstrap

package com.sulake.bootstrap
{
    import _-0jj.HabboHelp;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboHelpBootstrap extends HabboHelp 
    {

        public function HabboHelpBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboInventoryBootstrap

package com.sulake.bootstrap
{
    import _-3Zp.HabboInventory;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboInventoryBootstrap extends HabboInventory 
    {

        public function HabboInventoryBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboLocalizationManagerBootstrap

package com.sulake.bootstrap
{
    import _-3X8.HabboLocalizationManager;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboLocalizationManagerBootstrap extends HabboLocalizationManager 
    {

        public function HabboLocalizationManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboMessengerBootstrap

package com.sulake.bootstrap
{
    import _-2W2.HabboMessenger;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboMessengerBootstrap extends HabboMessenger 
    {

        public function HabboMessengerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboNavigatorBootstrap

package com.sulake.bootstrap
{
    import _-4GV.HabboNavigator;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboNavigatorBootstrap extends HabboNavigator 
    {

        public function HabboNavigatorBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboNotificationsBootstrap

package com.sulake.bootstrap
{
    import _-om._-2SM;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboNotificationsBootstrap extends _-2SM 
    {

        public function HabboNotificationsBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboQuestEngineBootstrap

package com.sulake.bootstrap
{
    import _-2tv.HabboQuestEngine;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboQuestEngineBootstrap extends HabboQuestEngine 
    {

        public function HabboQuestEngineBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboSoundManagerFlash10Bootstrap

package com.sulake.bootstrap
{
    import _-mv.HabboSoundManagerFlash10;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboSoundManagerFlash10Bootstrap extends HabboSoundManagerFlash10 
    {

        public function HabboSoundManagerFlash10Bootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboToolbarBootstrap

package com.sulake.bootstrap
{
    import _-3vb.HabboToolbar;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboToolbarBootstrap extends HabboToolbar 
    {

        public function HabboToolbarBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboTrackingBootstrap

package com.sulake.bootstrap
{
    import _-2gz.HabboTracking;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboTrackingBootstrap extends HabboTracking 
    {

        public function HabboTrackingBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboUserDefinedRoomEventsBootstrap

package com.sulake.bootstrap
{
    import _-0jG._-5i;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboUserDefinedRoomEventsBootstrap extends _-5i 
    {

        public function HabboUserDefinedRoomEventsBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.HabboWindowManagerComponentBootstrap

package com.sulake.bootstrap
{
    import _-4pF.HabboWindowManagerComponent;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class HabboWindowManagerComponentBootstrap extends HabboWindowManagerComponent 
    {

        public function HabboWindowManagerComponentBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.ModerationManagerBootstrap

package com.sulake.bootstrap
{
    import _-1FI._-2lC;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class ModerationManagerBootstrap extends _-2lC 
    {

        public function ModerationManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.RoomEngineBootstrap

package com.sulake.bootstrap
{
    import _-293.RoomEngine;
    import _-1B-._-5CE;

    public class RoomEngineBootstrap extends RoomEngine 
    {

        public function RoomEngineBootstrap(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.RoomManagerBootstrap

package com.sulake.bootstrap
{
    import _-4hI.RoomManager;
    import _-1B-._-5CE;

    public class RoomManagerBootstrap extends RoomManager 
    {

        public function RoomManagerBootstrap(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.RoomObjectFactoryBootstrap

package com.sulake.bootstrap
{
    import _-293._-0OX;
    import _-1B-._-5CE;

    public class RoomObjectFactoryBootstrap extends _-0OX 
    {

        public function RoomObjectFactoryBootstrap(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.RoomObjectVisualizationFactoryBootstrap

package com.sulake.bootstrap
{
    import _-3mW._-0fh;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class RoomObjectVisualizationFactoryBootstrap extends _-0fh 
    {

        public function RoomObjectVisualizationFactoryBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.RoomRendererFactoryBootstrap

package com.sulake.bootstrap
{
    import _-4Fh._-aE;
    import _-1B-._-5CE;

    public class RoomRendererFactoryBootstrap extends _-aE 
    {

        public function RoomRendererFactoryBootstrap(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.RoomSessionManagerBootstrap

package com.sulake.bootstrap
{
    import _-1Jd.RoomSessionManager;
    import _-1B-._-5CE;

    public class RoomSessionManagerBootstrap extends RoomSessionManager 
    {

        public function RoomSessionManagerBootstrap(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.RoomUIBootstrap

package com.sulake.bootstrap
{
    import _-1ye._-3DN;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class RoomUIBootstrap extends _-3DN 
    {

        public function RoomUIBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.SessionDataManagerBootstrap

package com.sulake.bootstrap
{
    import _-1Jd.SessionDataManager;
    import _-1B-._-5CE;
    import _-295._-39L;

    public class SessionDataManagerBootstrap extends SessionDataManager 
    {

        public function SessionDataManagerBootstrap(_arg1:_-5CE, _arg2:uint=0, _arg3:_-39L=null)
        {
            super(_arg1, _arg2, _arg3);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.TestableRoomEngineBootstrap

package com.sulake.bootstrap
{
    import _-4UL._-3Et;
    import _-1B-._-5CE;

    public class TestableRoomEngineBootstrap extends _-3Et 
    {

        public function TestableRoomEngineBootstrap(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.bootstrap.TestableRoomRendererFactoryBootstrap

package com.sulake.bootstrap
{
    import _-3ql._-0Ov;
    import _-1B-._-5CE;

    public class TestableRoomRendererFactoryBootstrap extends _-0Ov 
    {

        public function TestableRoomRendererFactoryBootstrap(_arg1:_-5CE, _arg2:uint=0)
        {
            super(_arg1, _arg2);
        }
    }
}//package com.sulake.bootstrap

//------------------------------------------------------------
//com.sulake.iid.IIDAvatarRenderManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDAvatarRenderManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDCoreCommunicationManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDCoreCommunicationManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDCoreLocalizationManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDCoreLocalizationManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDCoreWindowManager

package com.sulake.iid
{
    import _-1B-.*;

    public final class IIDCoreWindowManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboAdManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboAdManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboAvatarEditor

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboAvatarEditor implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboCatalog

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboCatalog implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboCommunicationManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboCommunicationManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboConfigurationManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboConfigurationManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboEpicPopupView

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboEpicPopupView implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboEventStream

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboEventStream implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboFriendBar

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboFriendBar implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboFriendBarData

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboFriendBarData implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboFriendBarView

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboFriendBarView implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboFriendList

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboFriendList implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboGameManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboGameManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboGroupsManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboGroupsManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboHelp

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboHelp implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboInventory

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboInventory implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboLandingView

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboLandingView implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboLocalizationManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboLocalizationManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboMessenger

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboMessenger implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboModeration

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboModeration implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboNavigator

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboNavigator implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboNotifications

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboNotifications implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboQuestEngine

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboQuestEngine implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboRoomSessionManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboRoomSessionManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboRoomUI

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboRoomUI implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboSoundManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboSoundManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboTalent

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboTalent implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboToolbar

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboToolbar implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboTracking

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboTracking implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboUserDefinedRoomEvents

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboUserDefinedRoomEvents implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDHabboWindowManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDHabboWindowManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDRoomEngine

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDRoomEngine implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDRoomManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDRoomManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDRoomObjectFactory

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDRoomObjectFactory implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDRoomObjectVisualizationFactory

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDRoomObjectVisualizationFactory implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDRoomRendererFactory

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDRoomRendererFactory implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//com.sulake.iid.IIDSessionDataManager

package com.sulake.iid
{
    import _-1B-.*;

    public class IIDSessionDataManager implements _-Wo 
    {

    }
}//package com.sulake.iid

//------------------------------------------------------------
//mx.core.BitmapAsset

package mx.core
{
    import flash.system.ApplicationDomain;
    import flash.events.Event;
    import flash.display.BitmapData;
    import flash.geom.Point;
    import flash.display.DisplayObjectContainer;

    public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject, ILayoutDirectionElement 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

        private static var FlexVersionClass:Class;
        private static var MatrixUtilClass:Class;

        private var layoutFeaturesClass:Class;
        private var layoutFeatures:IAssetLayoutFeatures;
        private var _height:Number;
        private var _layoutDirection:String = "ltr";

        public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false)
        {
            var appDomain:ApplicationDomain;
            super(_arg1, _arg2, _arg3);
            if (FlexVersionClass == null)
            {
                appDomain = ApplicationDomain.currentDomain;
                if (appDomain.hasDefinition("mx.core::FlexVersion"))
                {
                    FlexVersionClass = Class(appDomain.getDefinition("mx.core::FlexVersion"));
                };
            };
            if (((FlexVersionClass) && ((FlexVersionClass["compatibilityVersion"] >= FlexVersionClass["VERSION_4_0"]))))
            {
                this.addEventListener(Event.ADDED, this.addedHandler);
            };
        }
        override public function get x():Number
        {
            return ((((this.layoutFeatures)==null) ? super.x : this.layoutFeatures.layoutX));
        }
        override public function set x(_arg1:Number):void
        {
            if (this.x == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.x = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutX = _arg1;
                this.validateTransformMatrix();
            };
        }
        override public function get y():Number
        {
            return ((((this.layoutFeatures)==null) ? super.y : this.layoutFeatures.layoutY));
        }
        override public function set y(_arg1:Number):void
        {
            if (this.y == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.y = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutY = _arg1;
                this.validateTransformMatrix();
            };
        }
        override public function get z():Number
        {
            return ((((this.layoutFeatures)==null) ? super.z : this.layoutFeatures.layoutZ));
        }
        override public function set z(_arg1:Number):void
        {
            if (this.z == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.z = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutZ = _arg1;
                this.validateTransformMatrix();
            };
        }
        override public function get width():Number
        {
            var p:Point;
            if (this.layoutFeatures == null)
            {
                return (super.width);
            };
            if (MatrixUtilClass != null)
            {
                p = MatrixUtilClass["transformSize"](this.layoutFeatures.layoutWidth, this._height, transform.matrix);
            };
            return (((p) ? p.x : super.width));
        }
        override public function set width(_arg1:Number):void
        {
            if (this.width == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.width = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutWidth = _arg1;
                this.layoutFeatures.layoutScaleX = (((this.measuredWidth)!=0) ? (_arg1 / this.measuredWidth) : 0);
                this.validateTransformMatrix();
            };
        }
        override public function get height():Number
        {
            var p:Point;
            if (this.layoutFeatures == null)
            {
                return (super.height);
            };
            if (MatrixUtilClass != null)
            {
                p = MatrixUtilClass["transformSize"](this.layoutFeatures.layoutWidth, this._height, transform.matrix);
            };
            return (((p) ? p.y : super.height));
        }
        override public function set height(_arg1:Number):void
        {
            if (this.height == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.height = _arg1;
            }
            else
            {
                this._height = _arg1;
                this.layoutFeatures.layoutScaleY = (((this.measuredHeight)!=0) ? (_arg1 / this.measuredHeight) : 0);
                this.validateTransformMatrix();
            };
        }
        override public function get rotationX():Number
        {
            return ((((this.layoutFeatures)==null) ? super.rotationX : this.layoutFeatures.layoutRotationX));
        }
        override public function set rotationX(_arg1:Number):void
        {
            if (this.rotationX == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.rotationX = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutRotationX = _arg1;
                this.validateTransformMatrix();
            };
        }
        override public function get rotationY():Number
        {
            return ((((this.layoutFeatures)==null) ? super.rotationY : this.layoutFeatures.layoutRotationY));
        }
        override public function set rotationY(_arg1:Number):void
        {
            if (this.rotationY == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.rotationY = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutRotationY = _arg1;
                this.validateTransformMatrix();
            };
        }
        override public function get rotationZ():Number
        {
            return ((((this.layoutFeatures)==null) ? super.rotationZ : this.layoutFeatures.layoutRotationZ));
        }
        override public function set rotationZ(_arg1:Number):void
        {
            if (this.rotationZ == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.rotationZ = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutRotationZ = _arg1;
                this.validateTransformMatrix();
            };
        }
        override public function get rotation():Number
        {
            return ((((this.layoutFeatures)==null) ? super.rotation : this.layoutFeatures.layoutRotationZ));
        }
        override public function set rotation(_arg1:Number):void
        {
            if (this.rotation == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.rotation = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutRotationZ = _arg1;
                this.validateTransformMatrix();
            };
        }
        override public function get scaleX():Number
        {
            return ((((this.layoutFeatures)==null) ? super.scaleX : this.layoutFeatures.layoutScaleX));
        }
        override public function set scaleX(_arg1:Number):void
        {
            if (this.scaleX == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.scaleX = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutScaleX = _arg1;
                this.layoutFeatures.layoutWidth = (Math.abs(_arg1) * this.measuredWidth);
                this.validateTransformMatrix();
            };
        }
        override public function get scaleY():Number
        {
            return ((((this.layoutFeatures)==null) ? super.scaleY : this.layoutFeatures.layoutScaleY));
        }
        override public function set scaleY(_arg1:Number):void
        {
            if (this.scaleY == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.scaleY = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutScaleY = _arg1;
                this._height = (Math.abs(_arg1) * this.measuredHeight);
                this.validateTransformMatrix();
            };
        }
        override public function get scaleZ():Number
        {
            return ((((this.layoutFeatures)==null) ? super.scaleZ : this.layoutFeatures.layoutScaleZ));
        }
        override public function set scaleZ(_arg1:Number):void
        {
            if (this.scaleZ == _arg1)
            {
                return;
            };
            if (this.layoutFeatures == null)
            {
                super.scaleZ = _arg1;
            }
            else
            {
                this.layoutFeatures.layoutScaleZ = _arg1;
                this.validateTransformMatrix();
            };
        }
        public function get layoutDirection():String
        {
            return (this._layoutDirection);
        }
        public function set layoutDirection(_arg1:String):void
        {
            if (_arg1 == this._layoutDirection)
            {
                return;
            };
            this._layoutDirection = _arg1;
            this.invalidateLayoutDirection();
        }
        public function get measuredHeight():Number
        {
            if (bitmapData)
            {
                return (bitmapData.height);
            };
            return (0);
        }
        public function get measuredWidth():Number
        {
            if (bitmapData)
            {
                return (bitmapData.width);
            };
            return (0);
        }
        public function invalidateLayoutDirection():void
        {
            var mirror:Boolean;
            var p:DisplayObjectContainer = parent;
            while (p)
            {
                if ((p is ILayoutDirectionElement))
                {
                    mirror = ((((!((this._layoutDirection == null))) && (!((ILayoutDirectionElement(p).layoutDirection == null))))) && (!((this._layoutDirection == ILayoutDirectionElement(p).layoutDirection))));
                    if (((mirror) && ((this.layoutFeatures == null))))
                    {
                        this.initAdvancedLayoutFeatures();
                        if (this.layoutFeatures != null)
                        {
                            this.layoutFeatures.mirror = mirror;
                            this.validateTransformMatrix();
                        };
                    }
                    else
                    {
                        if (((!(mirror)) && (this.layoutFeatures)))
                        {
                            this.layoutFeatures.mirror = mirror;
                            this.validateTransformMatrix();
                            this.layoutFeatures = null;
                        };
                    };
                    return;
                };
                p = p.parent;
            };
        }
        public function move(_arg1:Number, _arg2:Number):void
        {
            this.x = _arg1;
            this.y = _arg2;
        }
        public function setActualSize(_arg1:Number, _arg2:Number):void
        {
            this.width = _arg1;
            this.height = _arg2;
        }
        private function addedHandler(_arg1:Event):void
        {
            this.invalidateLayoutDirection();
        }
        private function initAdvancedLayoutFeatures():void
        {
            var appDomain:ApplicationDomain;
            var features:IAssetLayoutFeatures;
            if (this.layoutFeaturesClass == null)
            {
                appDomain = ApplicationDomain.currentDomain;
                if (appDomain.hasDefinition("mx.core::AdvancedLayoutFeatures"))
                {
                    this.layoutFeaturesClass = Class(appDomain.getDefinition("mx.core::AdvancedLayoutFeatures"));
                };
                if (MatrixUtilClass == null)
                {
                    if (appDomain.hasDefinition("mx.utils::MatrixUtil"))
                    {
                        MatrixUtilClass = Class(appDomain.getDefinition("mx.utils::MatrixUtil"));
                    };
                };
            };
            if (this.layoutFeaturesClass != null)
            {
                features = new this.layoutFeaturesClass();
                features.layoutScaleX = this.scaleX;
                features.layoutScaleY = this.scaleY;
                features.layoutScaleZ = this.scaleZ;
                features.layoutRotationX = this.rotationX;
                features.layoutRotationY = this.rotationY;
                features.layoutRotationZ = this.rotation;
                features.layoutX = this.x;
                features.layoutY = this.y;
                features.layoutZ = this.z;
                features.layoutWidth = this.width;
                this._height = this.height;
                this.layoutFeatures = features;
            };
        }
        private function validateTransformMatrix():void
        {
            if (this.layoutFeatures != null)
            {
                if (this.layoutFeatures.is3D)
                {
                    super.transform.matrix3D = this.layoutFeatures.computedMatrix3D;
                }
                else
                {
                    super.transform.matrix = this.layoutFeatures.computedMatrix;
                };
            };
        }

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.ByteArrayAsset

package mx.core
{
    import flash.utils.ByteArray;
    use namespace mx_internal;

    public class ByteArrayAsset extends ByteArray implements IFlexAsset 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.FlexBitmap

package mx.core
{
    import flash.display.Bitmap;
    import mx.utils.NameUtil;
    import flash.display.BitmapData;

    public class FlexBitmap extends Bitmap 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

        public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false)
        {
            super(_arg1, _arg2, _arg3);
            try
            {
                name = NameUtil.createUniqueName(this);
            }
            catch(e:Error)
            {
            };
        }
        override public function toString():String
        {
            return (NameUtil.displayObjectToString(this));
        }

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.FontAsset

package mx.core
{
    import flash.text.Font;

    public class FontAsset extends Font implements IFlexAsset 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.IAssetLayoutFeatures

package mx.core
{
    import flash.geom.Matrix;
    import flash.geom.Matrix3D;

    public interface IAssetLayoutFeatures 
    {

        function set layoutX(_arg1:Number):void;
        function get layoutX():Number;
        function set layoutY(_arg1:Number):void;
        function get layoutY():Number;
        function set layoutZ(_arg1:Number):void;
        function get layoutZ():Number;
        function get layoutWidth():Number;
        function set layoutWidth(_arg1:Number):void;
        function set transformX(_arg1:Number):void;
        function get transformX():Number;
        function set transformY(_arg1:Number):void;
        function get transformY():Number;
        function set transformZ(_arg1:Number):void;
        function get transformZ():Number;
        function set layoutRotationX(_arg1:Number):void;
        function get layoutRotationX():Number;
        function set layoutRotationY(_arg1:Number):void;
        function get layoutRotationY():Number;
        function set layoutRotationZ(_arg1:Number):void;
        function get layoutRotationZ():Number;
        function set layoutScaleX(_arg1:Number):void;
        function get layoutScaleX():Number;
        function set layoutScaleY(_arg1:Number):void;
        function get layoutScaleY():Number;
        function set layoutScaleZ(_arg1:Number):void;
        function get layoutScaleZ():Number;
        function set layoutMatrix(_arg1:Matrix):void;
        function get layoutMatrix():Matrix;
        function set layoutMatrix3D(_arg1:Matrix3D):void;
        function get layoutMatrix3D():Matrix3D;
        function get is3D():Boolean;
        function get layoutIs3D():Boolean;
        function get mirror():Boolean;
        function set mirror(_arg1:Boolean):void;
        function get stretchX():Number;
        function set stretchX(_arg1:Number):void;
        function get stretchY():Number;
        function set stretchY(_arg1:Number):void;
        function get computedMatrix():Matrix;
        function get computedMatrix3D():Matrix3D;

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.IFlexAsset

package mx.core
{
    public interface IFlexAsset 
    {

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.IFlexDisplayObject

package mx.core
{
    import flash.display.DisplayObject;
    import flash.display.Stage;
    import flash.display.DisplayObjectContainer;
    import flash.geom.Rectangle;
    import flash.geom.Transform;
    import flash.geom.Point;
    import flash.display.LoaderInfo;
    import flash.accessibility.AccessibilityProperties;
    import flash.display.*;
    import flash.events.*;

    public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher 
    {

        function get root():DisplayObject;
        function get stage():Stage;
        function get name():String;
        function set name(_arg1:String):void;
        function get parent():DisplayObjectContainer;
        function get mask():DisplayObject;
        function set mask(_arg1:DisplayObject):void;
        function get visible():Boolean;
        function set visible(_arg1:Boolean):void;
        function get x():Number;
        function set x(_arg1:Number):void;
        function get y():Number;
        function set y(_arg1:Number):void;
        function get scaleX():Number;
        function set scaleX(_arg1:Number):void;
        function get scaleY():Number;
        function set scaleY(_arg1:Number):void;
        function get mouseX():Number;
        function get mouseY():Number;
        function get rotation():Number;
        function set rotation(_arg1:Number):void;
        function get alpha():Number;
        function set alpha(_arg1:Number):void;
        function get width():Number;
        function set width(_arg1:Number):void;
        function get height():Number;
        function set height(_arg1:Number):void;
        function get cacheAsBitmap():Boolean;
        function set cacheAsBitmap(_arg1:Boolean):void;
        function get opaqueBackground():Object;
        function set opaqueBackground(_arg1:Object):void;
        function get scrollRect():Rectangle;
        function set scrollRect(_arg1:Rectangle):void;
        function get filters():Array;
        function set filters(_arg1:Array):void;
        function get blendMode():String;
        function set blendMode(_arg1:String):void;
        function get transform():Transform;
        function set transform(_arg1:Transform):void;
        function get scale9Grid():Rectangle;
        function set scale9Grid(_arg1:Rectangle):void;
        function globalToLocal(_arg1:Point):Point;
        function localToGlobal(_arg1:Point):Point;
        function getBounds(_arg1:DisplayObject):Rectangle;
        function getRect(_arg1:DisplayObject):Rectangle;
        function get loaderInfo():LoaderInfo;
        function hitTestObject(_arg1:DisplayObject):Boolean;
        function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean;
        function get accessibilityProperties():AccessibilityProperties;
        function set accessibilityProperties(_arg1:AccessibilityProperties):void;
        function get measuredHeight():Number;
        function get measuredWidth():Number;
        function move(_arg1:Number, _arg2:Number):void;
        function setActualSize(_arg1:Number, _arg2:Number):void;

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.ILayoutDirectionElement

package mx.core
{
    public interface ILayoutDirectionElement 
    {

        function get layoutDirection():String;
        function set layoutDirection(_arg1:String):void;
        function invalidateLayoutDirection():void;

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.IRepeaterClient

package mx.core
{
    public interface IRepeaterClient 
    {

        function get instanceIndices():Array;
        function set instanceIndices(_arg1:Array):void;
        function get isDocument():Boolean;
        function get repeaterIndices():Array;
        function set repeaterIndices(_arg1:Array):void;
        function get repeaters():Array;
        function set repeaters(_arg1:Array):void;
        function initializeRepeaterArrays(_arg1:IRepeaterClient):void;

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.mx_internal

package mx.core
{
    public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core

//------------------------------------------------------------
//mx.core.SimpleApplication

package mx.core
{
    import flash.display.MovieClip;
    use namespace mx_internal;

    public class SimpleApplication extends MovieClip 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

    }
}//package mx.core

//------------------------------------------------------------
//mx.core.SoundAsset

package mx.core
{
    import flash.media.Sound;
    use namespace mx_internal;

    public class SoundAsset extends Sound implements IFlexAsset 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

    }
}//package mx.core

//------------------------------------------------------------
//mx.graphics.codec.IImageEncoder

package mx.graphics.codec
{
    import flash.display.BitmapData;
    import flash.utils.ByteArray;

    public interface IImageEncoder 
    {

        function get contentType():String;
        function encode(_arg1:BitmapData):ByteArray;
        function encodeByteArray(_arg1:ByteArray, _arg2:int, _arg3:int, _arg4:Boolean=true):ByteArray;

    }
}//package mx.graphics.codec

//------------------------------------------------------------
//mx.graphics.codec.PNGEncoder

package mx.graphics.codec
{
    import flash.display.BitmapData;
    import flash.utils.ByteArray;
    use namespace mx_internal;

    public class PNGEncoder implements IImageEncoder 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";
        private static const CONTENT_TYPE:String = "image/png";

        private var crcTable:Array;

        public function PNGEncoder()
        {
            this.initializeCRCTable();
        }
        public function get contentType():String
        {
            return (CONTENT_TYPE);
        }
        public function encode(_arg1:BitmapData):ByteArray
        {
            return (this.internalEncode(_arg1, _arg1.width, _arg1.height, _arg1.transparent));
        }
        public function encodeByteArray(_arg1:ByteArray, _arg2:int, _arg3:int, _arg4:Boolean=true):ByteArray
        {
            return (this.internalEncode(_arg1, _arg2, _arg3, _arg4));
        }
        private function initializeCRCTable():void
        {
            var c:uint;
            var k:uint;
            this.crcTable = [];
            var n:uint;
            while (n < 0x0100)
            {
                c = n;
                k = 0;
                while (k < 8)
                {
                    if ((c & 1))
                    {
                        c = uint((uint(3988292384) ^ uint((c >>> 1))));
                    }
                    else
                    {
                        c = uint((c >>> 1));
                    };
                    k++;
                };
                this.crcTable[n] = c;
                n++;
            };
        }
        private function internalEncode(_arg1:Object, _arg2:int, _arg3:int, _arg4:Boolean=true):ByteArray
        {
            var x:int;
            var pixel:uint;
            var sourceBitmapData:BitmapData = (_arg1 as BitmapData);
            var sourceByteArray:ByteArray = (_arg1 as ByteArray);
            if (sourceByteArray)
            {
                sourceByteArray.position = 0;
            };
            var png:ByteArray = new ByteArray();
            png.writeUnsignedInt(2303741511);
            png.writeUnsignedInt(218765834);
            var IHDR:ByteArray = new ByteArray();
            IHDR.writeInt(_arg2);
            IHDR.writeInt(_arg3);
            IHDR.writeByte(8);
            IHDR.writeByte(6);
            IHDR.writeByte(0);
            IHDR.writeByte(0);
            IHDR.writeByte(0);
            this.writeChunk(png, 1229472850, IHDR);
            var IDAT:ByteArray = new ByteArray();
            var y:int;
            while (y < _arg3)
            {
                IDAT.writeByte(0);
                if (!_arg4)
                {
                    x = 0;
                    while (x < _arg2)
                    {
                        if (sourceBitmapData)
                        {
                            pixel = sourceBitmapData.getPixel(x, y);
                        }
                        else
                        {
                            pixel = sourceByteArray.readUnsignedInt();
                        };
                        IDAT.writeUnsignedInt(uint((((pixel & 0xFFFFFF) << 8) | 0xFF)));
                        x++;
                    };
                }
                else
                {
                    x = 0;
                    while (x < _arg2)
                    {
                        if (sourceBitmapData)
                        {
                            pixel = sourceBitmapData.getPixel32(x, y);
                        }
                        else
                        {
                            pixel = sourceByteArray.readUnsignedInt();
                        };
                        IDAT.writeUnsignedInt(uint((((pixel & 0xFFFFFF) << 8) | (pixel >>> 24))));
                        x++;
                    };
                };
                y++;
            };
            IDAT.compress();
            this.writeChunk(png, 1229209940, IDAT);
            this.writeChunk(png, 1229278788, null);
            png.position = 0;
            return (png);
        }
        private function writeChunk(_arg1:ByteArray, _arg2:uint, _arg3:ByteArray):void
        {
            var len:uint;
            if (_arg3)
            {
                len = _arg3.length;
            };
            _arg1.writeUnsignedInt(len);
            var typePos:uint = _arg1.position;
            _arg1.writeUnsignedInt(_arg2);
            if (_arg3)
            {
                _arg1.writeBytes(_arg3);
            };
            var crcPos:uint = _arg1.position;
            _arg1.position = typePos;
            var crc:uint = 0xFFFFFFFF;
            var i:uint = typePos;
            while (i < crcPos)
            {
                crc = uint((this.crcTable[((crc ^ _arg1.readUnsignedByte()) & uint(0xFF))] ^ uint((crc >>> 8))));
                i++;
            };
            crc = uint((crc ^ uint(0xFFFFFFFF)));
            _arg1.position = crcPos;
            _arg1.writeUnsignedInt(crc);
        }

    }
}//package mx.graphics.codec

//------------------------------------------------------------
//mx.utils.ColorUtil

package mx.utils
{
    use namespace mx_internal;

    public class ColorUtil 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

        public static function adjustBrightness(_arg1:uint, _arg2:Number):uint
        {
            var r:Number = Math.max(Math.min((((_arg1 >> 16) & 0xFF) + _arg2), 0xFF), 0);
            var g:Number = Math.max(Math.min((((_arg1 >> 8) & 0xFF) + _arg2), 0xFF), 0);
            var b:Number = Math.max(Math.min(((_arg1 & 0xFF) + _arg2), 0xFF), 0);
            return ((((r << 16) | (g << 8)) | b));
        }
        public static function adjustBrightness2(_arg1:uint, _arg2:Number):uint
        {
            var r:Number;
            var g:Number;
            var b:Number;
            if (_arg2 == 0)
            {
                return (_arg1);
            };
            if (_arg2 < 0)
            {
                brite = ((100 + _arg2) / 100);
                r = (((_arg1 >> 16) & 0xFF) * brite);
                g = (((_arg1 >> 8) & 0xFF) * brite);
                b = ((_arg1 & 0xFF) * brite);
            }
            else
            {
                brite = (_arg2 / 100);
                r = ((_arg1 >> 16) & 0xFF);
                g = ((_arg1 >> 8) & 0xFF);
                b = (_arg1 & 0xFF);
                r = (r + ((0xFF - r) * brite));
                g = (g + ((0xFF - g) * brite));
                b = (b + ((0xFF - b) * brite));
                r = Math.min(r, 0xFF);
                g = Math.min(g, 0xFF);
                b = Math.min(b, 0xFF);
            };
            return ((((r << 16) | (g << 8)) | b));
        }
        public static function rgbMultiply(_arg1:uint, _arg2:uint):uint
        {
            var r1:Number = ((_arg1 >> 16) & 0xFF);
            var g1:Number = ((_arg1 >> 8) & 0xFF);
            var b1:Number = (_arg1 & 0xFF);
            var r2:Number = ((_arg2 >> 16) & 0xFF);
            var g2:Number = ((_arg2 >> 8) & 0xFF);
            var b2:Number = (_arg2 & 0xFF);
            return ((((((r1 * r2) / 0xFF) << 16) | (((g1 * g2) / 0xFF) << 8)) | ((b1 * b2) / 0xFF)));
        }

    }
}//package mx.utils

//------------------------------------------------------------
//mx.utils.NameUtil

package mx.utils
{
    import mx.core.mx_internal;
    import flash.utils.getQualifiedClassName;
    import flash.display.DisplayObject;
    import mx.core.IRepeaterClient;
    use namespace mx_internal;

    public class NameUtil 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

        private static var counter:int = 0;

        public static function createUniqueName(_arg1:Object):String
        {
            if (!_arg1)
            {
                return (null);
            };
            var name:String = getQualifiedClassName(_arg1);
            var index:int = name.indexOf("::");
            if (index != -1)
            {
                name = name.substr((index + 2));
            };
            var charCode:int = name.charCodeAt((name.length - 1));
            if ((((charCode >= 48)) && ((charCode <= 57))))
            {
                name = (name + "_");
            };
            return ((name + counter++));
        }
        public static function displayObjectToString(_arg1:DisplayObject):String
        {
            var result:String;
            var o:DisplayObject;
            var s:String;
            var indices:Array;
            try
            {
                o = _arg1;
                while (o != null)
                {
                    if (((((o.parent) && (o.stage))) && ((o.parent == o.stage))))
                    {
                        break;
                    };
                    s = ((((("id" in o)) && (o["id"]))) ? o["id"] : o.name);
                    if ((o is IRepeaterClient))
                    {
                        indices = IRepeaterClient(o).instanceIndices;
                        if (indices)
                        {
                            s = (s + (("[" + indices.join("][")) + "]"));
                        };
                    };
                    result = (((result == null)) ? s : ((s + ".") + result));
                    o = o.parent;
                };
            }
            catch(e:SecurityError)
            {
            };
            return (result);
        }
        public static function getUnqualifiedClassName(_arg1:Object):String
        {
            var name:String;
            if ((_arg1 is String))
            {
                name = (_arg1 as String);
            }
            else
            {
                name = getQualifiedClassName(_arg1);
            };
            var index:int = name.indexOf("::");
            if (index != -1)
            {
                name = name.substr((index + 2));
            };
            return (name);
        }

    }
}//package mx.utils

//------------------------------------------------------------
//mx.utils.StringUtil

package mx.utils
{
    use namespace mx_internal;

    public class StringUtil 
    {

        mx_internal static const VERSION:String = "4.6.0.23201";

        public static function trim(_arg1:String):String
        {
            if (_arg1 == null)
            {
                return ("");
            };
            var startIndex:int;
            while (isWhitespace(_arg1.charAt(startIndex)))
            {
                startIndex++;
            };
            var endIndex:int = (_arg1.length - 1);
            while (isWhitespace(_arg1.charAt(endIndex)))
            {
                endIndex--;
            };
            if (endIndex >= startIndex)
            {
                return (_arg1.slice(startIndex, (endIndex + 1)));
            };
            return ("");
        }
        public static function trimArrayElements(_arg1:String, _arg2:String):String
        {
            var items:Array;
            var len:int;
            var i:int;
            if (((!((_arg1 == ""))) && (!((_arg1 == null)))))
            {
                items = _arg1.split(_arg2);
                len = items.length;
                i = 0;
                while (i < len)
                {
                    items[i] = StringUtil.trim(items[i]);
                    i++;
                };
                if (len > 0)
                {
                    value = items.join(_arg2);
                };
            };
            return (_arg1);
        }
        public static function isWhitespace(_arg1:String):Boolean
        {
            switch (_arg1)
            {
                case " ":
                case "\t":
                case "\r":
                case "\n":
                case "\f":
                    return (true);
                default:
                    return (false);
            };
        }
        public static function substitute(_arg1:String, ... _args):String
        {
            var args:Array;
            if (_arg1 == null)
            {
                return ("");
            };
            var len:uint = _args.length;
            if ((((len == 1)) && ((_args[0] is Array))))
            {
                args = (_args[0] as Array);
                len = args.length;
            }
            else
            {
                args = _args;
            };
            var i:int;
            while (i < len)
            {
                str = _arg1.replace(new RegExp((("\\{" + i) + "\\}"), "g"), args[i]);
                i++;
            };
            return (_arg1);
        }
        public static function repeat(_arg1:String, _arg2:int):String
        {
            if (_arg2 == 0)
            {
                return ("");
            };
            var s:String = _arg1;
            var i:int = 1;
            while (i < _arg2)
            {
                s = (s + _arg1);
                i++;
            };
            return (s);
        }
        public static function restrict(_arg1:String, _arg2:String):String
        {
            var charCode:uint;
            if (_arg2 == null)
            {
                return (_arg1);
            };
            if (_arg2 == "")
            {
                return ("");
            };
            var charCodes:Array = [];
            var n:int = _arg1.length;
            var i:int;
            while (i < n)
            {
                charCode = _arg1.charCodeAt(i);
                if (testCharacter(charCode, _arg2))
                {
                    charCodes.push(charCode);
                };
                i++;
            };
            return (String.fromCharCode.apply(null, charCodes));
        }
        private static function testCharacter(_arg1:uint, _arg2:String):Boolean
        {
            var code:uint;
            var acceptCode:Boolean;
            var allowIt:Boolean;
            var inBackSlash:Boolean;
            var inRange:Boolean;
            var setFlag:Boolean = true;
            var lastCode:uint;
            var n:int = _arg2.length;
            if (n > 0)
            {
                code = _arg2.charCodeAt(0);
                if (code == 94)
                {
                    allowIt = true;
                };
            };
            var i:int;
            while (i < n)
            {
                code = _arg2.charCodeAt(i);
                acceptCode = false;
                if (!inBackSlash)
                {
                    if (code == 45)
                    {
                        inRange = true;
                    }
                    else
                    {
                        if (code == 94)
                        {
                            setFlag = !(setFlag);
                        }
                        else
                        {
                            if (code == 92)
                            {
                                inBackSlash = true;
                            }
                            else
                            {
                                acceptCode = true;
                            };
                        };
                    };
                }
                else
                {
                    acceptCode = true;
                    inBackSlash = false;
                };
                if (acceptCode)
                {
                    if (inRange)
                    {
                        if ((((lastCode <= _arg1)) && ((_arg1 <= code))))
                        {
                            allowIt = setFlag;
                        };
                        inRange = false;
                        lastCode = 0;
                    }
                    else
                    {
                        if (_arg1 == code)
                        {
                            allowIt = setFlag;
                        };
                        lastCode = code;
                    };
                };
                i++;
            };
            return (allowIt);
        }

    }
}//package mx.utils

//------------------------------------------------------------
//ui._-0Jo

package ui
{
    import mx.core.BitmapAsset;

    public class _-0Jo extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-1c8

package ui
{
    import mx.core.BitmapAsset;

    public class _-1c8 extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-1Ma

package ui
{
    import mx.core.BitmapAsset;

    public class _-1Ma extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-1XJ

package ui
{
    import flash.display.Sprite;
    import flash.geom.Rectangle;
    import flash.display.Bitmap;
    import flash.text.TextField;
    import flash.display.BitmapData;
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.geom.Point;
    import flash.filters.GlowFilter;

    public class _-1XJ extends Sprite 
    {

        private var _-3BO:String;
        private var _-0vG:Rectangle;
        private var _-1eA:Boolean;
        private var _-yV:Boolean;
        private var _-0iA:Function;
        private var _-0vD:uint;
        private var _-4aE:Bitmap;
        private var _-4le:TextField;
        private var _-407:BitmapData;
        private var _-3w4:BitmapData;
        private var _-4yv:BitmapData;
        private var _-3ou:Boolean;
        private var _hover:Boolean;
        private var _active:Boolean;

        public function _-1XJ(_arg1:String, _arg2:Rectangle, _arg3:Boolean, _arg4:Function, _arg5:uint=0xFFFFFF)
        {
            this._-3BO = _arg1;
            this._-0vG = _arg2;
            this._-1eA = _arg3;
            this._-0iA = _arg4;
            this._-0vD = _arg5;
            this.active = true;
            mouseChildren = false;
            addEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            addEventListener(Event.REMOVED_FROM_STAGE, this._-59z);
        }
        private function _-59z(_arg1:Event):void
        {
            stage.removeEventListener(MouseEvent.MOUSE_UP, this._-4DV);
            removeEventListener(MouseEvent.MOUSE_DOWN, this._-3gd);
            removeEventListener(MouseEvent.MOUSE_UP, this._-4dW);
            removeEventListener(MouseEvent.MOUSE_OVER, this._-1hF);
            removeEventListener(MouseEvent.MOUSE_OUT, this._-45Q);
            this._-407 = null;
            this._-3w4 = null;
            this._-4yv = null;
        }
        private function onAddedToStage(_arg1:Event):void
        {
            x = this._-0vG.x;
            this.y = this._-0vG.y;
            this._-4le = LoaderUI._-R5(this._-3BO, 11, 0, true);
            LoaderUI._-2pS(this._-4le);
            if (this._-1eA)
            {
                this._-0vG.width = (this._-4le.textWidth + 24);
            };
            this._-407 = NineSplitSprite.BUTTON.render(this._-0vG.width, this._-0vG.height).bitmapData;
            this._-407.copyPixels(NineSplitSprite.BUTTON.bitmapData, new Rectangle(1, 14, 3, 5), new Point(1, (int((this._-0vG.height / 2)) - 3)));
            this._-407.copyPixels(NineSplitSprite.BUTTON.bitmapData, new Rectangle(7, 14, 3, 5), new Point((this._-0vG.width - 4), (int((this._-0vG.height / 2)) - 3)));
            this._-3w4 = NineSplitSprite._-2WM.render(this._-0vG.width, this._-0vG.height).bitmapData;
            this._-4yv = NineSplitSprite._-2v7.render(this._-0vG.width, this._-0vG.height).bitmapData;
            this._-4yv.copyPixels(NineSplitSprite._-2v7.bitmapData, new Rectangle(1, 13, 3, 4), new Point(1, (int((this._-0vG.height / 2)) - 1)));
            this._-4yv.copyPixels(NineSplitSprite._-2v7.bitmapData, new Rectangle(6, 13, 3, 4), new Point((this._-0vG.width - 4), (int((this._-0vG.height / 2)) - 1)));
            while (numChildren > 0)
            {
                removeChildAt(0);
            };
            this._-4aE = new Bitmap();
            addChild(this._-4aE);
            addChild(this._-4le);
            this._-4le.x = (((this._-0vG.width - this._-4le.textWidth) / 2) - 2);
            this._-4le.y = (((this._-0vG.height - this._-4le.textHeight) / 2) - 1);
            this.refresh();
            width = this._-0vG.width;
            height = this._-0vG.height;
            if (this._-4Yf)
            {
                x = int(((parent.width - width) / 2));
            };
            addEventListener(MouseEvent.MOUSE_DOWN, this._-3gd);
            addEventListener(MouseEvent.MOUSE_OVER, this._-1hF);
            addEventListener(MouseEvent.MOUSE_OUT, this._-45Q);
        }
        private function _-45Q(_arg1:MouseEvent):void
        {
            this._hover = false;
            this.refresh();
        }
        private function _-1hF(_arg1:MouseEvent):void
        {
            if (!this._active)
            {
                return;
            };
            this._hover = true;
            this.refresh();
        }
        private function _-3gd(_arg1:MouseEvent):void
        {
            if (!this._active)
            {
                return;
            };
            stage.addEventListener(MouseEvent.MOUSE_UP, this._-4DV);
            addEventListener(MouseEvent.MOUSE_UP, this._-4dW);
            this._-3ou = true;
            this.refresh();
        }
        private function _-4dW(_arg1:MouseEvent):void
        {
            _arg1.stopImmediatePropagation();
            stage.removeEventListener(MouseEvent.MOUSE_UP, this._-4DV);
            removeEventListener(MouseEvent.MOUSE_UP, this._-4dW);
            this._-3ou = false;
            this.refresh();
            this._-0iA();
        }
        private function _-4DV(_arg1:MouseEvent):void
        {
            stage.removeEventListener(MouseEvent.MOUSE_UP, this._-4DV);
            removeEventListener(MouseEvent.MOUSE_UP, this._-4dW);
            this._-3ou = false;
            this.refresh();
        }
        private function refresh():void
        {
            if (this._-4aE == null)
            {
                return;
            };
            this._-4aE.bitmapData = ((this._active) ? ((((this._-3ou) && (this._hover))) ? this._-3w4 : this._-407) : this._-4yv);
            filters = ((this._hover) ? [new GlowFilter(this._-0vD, 0.7, 10, 10)] : []);
            this._-4le.textColor = ((this._active) ? 0 : 0x999999);
        }
        public function get _-4Yf():Boolean
        {
            return (this._-yV);
        }
        public function set _-4Yf(_arg1:Boolean):void
        {
            this._-yV = _arg1;
        }
        override public function set y(_arg1:Number):void
        {
            super.y = _arg1;
            this._-0vG.y = _arg1;
        }
        public function get active():Boolean
        {
            return (this._active);
        }
        public function set active(_arg1:Boolean):void
        {
            this._active = _arg1;
            buttonMode = this._active;
            this.refresh();
        }

    }
}//package ui

//------------------------------------------------------------
//ui._-23P

package ui
{
    import mx.core.BitmapAsset;

    public class _-23P extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-2aN

package ui
{
    import mx.core.BitmapAsset;

    public class _-2aN extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-2ju

package ui
{
    import mx.core.BitmapAsset;

    public class _-2ju extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-35Z

package ui
{
    import flash.display.Sprite;
    import flash.display.BitmapData;
    import flash.events.Event;

    public class _-35Z extends Sprite 
    {

        private var _-1Zf:BitmapData;

        public function _-35Z()
        {
            var k:Number = 0.75;
            var k:Number = 0.06;
            var k:Number = (1 - ((1 - k) * (1 - k)));
            var k:uint = uint(((0xFF * k) / k));
            this._-1Zf = new BitmapData(2, 2, true, (uint((k * 0xFF)) << 24));
            this._-1Zf.setPixel32(0, 0, ((uint((k * 0xFF)) << 24) + (k * 65793)));
            addEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            addEventListener(Event.REMOVED_FROM_STAGE, this._-59z);
        }
        private function _-59z(_arg1:Event):void
        {
            stage.removeEventListener(Event.RESIZE, this._-2tV);
        }
        private function onAddedToStage(_arg1:Event):void
        {
            stage.addEventListener(Event.RESIZE, this._-2tV);
            this._-2tV(null);
        }
        private function _-2tV(_arg1:Event):void
        {
            graphics.clear();
            graphics.beginBitmapFill(this._-1Zf);
            graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
            graphics.endFill();
            width = stage.stageWidth;
            height = stage.stageHeight;
            x = -(int((width / 2)));
            y = -(int((height / 2)));
        }

    }
}//package ui

//------------------------------------------------------------
//ui._-3bQ

package ui
{
    import mx.core.BitmapAsset;

    public class _-3bQ extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-47p

package ui
{
    import mx.core.BitmapAsset;

    public class _-47p extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-hi

package ui
{
    import mx.core.BitmapAsset;

    public class _-hi extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-y6

package ui
{
    import mx.core.BitmapAsset;

    public class _-y6 extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui._-yd

package ui
{
    import mx.core.BitmapAsset;

    public class _-yd extends BitmapAsset 
    {

    }
}//package ui

//------------------------------------------------------------
//ui.LoaderUI

package ui
{
    import flash.filters.DropShadowFilter;
    import flash.text.TextFormat;
    import flash.text.TextField;
    import flash.text.AntiAliasType;
    import flash.text.TextFieldType;
    import flash.text.TextFieldAutoSize;
    import flash.display.DisplayObject;
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import flash.geom.ColorTransform;
    import flash.display.Sprite;
    import flash.filters.GlowFilter;

    public class LoaderUI 
    {

        private static const _-4Ld:DropShadowFilter = new DropShadowFilter(1, 90, 0xFFFFFF, 1, 1, 1);
        private static const _-0fp:DropShadowFilter = new DropShadowFilter(1, 270, 0, 0.7, 1, 1);

        public static function _-R5(_arg1:String, _arg2:int, _arg3:uint, _arg4:Boolean=false, _arg5:Boolean=false, _arg6:Boolean=false):TextField
        {
            var k:TextFormat = new TextFormat("Ubuntu", _arg2, _arg3, _arg4);
            var k:TextField = new TextField();
            k.embedFonts = true;
            k.antiAliasType = AntiAliasType.ADVANCED;
            k.defaultTextFormat = k;
            k.multiline = _arg5;
            k.wordWrap = _arg5;
            k.type = ((_arg6) ? TextFieldType.INPUT : TextFieldType.DYNAMIC);
            k.selectable = _arg6;
            k.htmlText = _arg1;
            k.autoSize = TextFieldAutoSize.LEFT;
            k.width = k.textWidth;
            k.height = k.textHeight;
            return (k);
        }
        public static function _-2pS(_arg1:DisplayObject, _arg2:Boolean=false):void
        {
            _arg1.filters = [((_arg2) ? _-0fp.clone() : _-4Ld.clone())];
        }
        public static function _-Ax(_arg1:DisplayObject, ... _args):void
        {
            var k:int;
            var k:DisplayObject;
            var k:int = (_args.length / 2);
            var k:int;
            while (k < k)
            {
                k = _args[(k * 2)];
                k = _args[((k * 2) + 1)];
                k.y = ((_arg1.y + _arg1.height) + k);
                k++;
            };
        }
        public static function _-4o1(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean, _arg5:uint=0xFFFFFF, _arg6:Boolean=false):Bitmap
        {
            var k:int = 6;
            var k:Bitmap = new Bitmap(new BitmapData(_arg1, ((_arg2 + k) - 1), true, 0xFFFFFF));
            if (_arg3 < 0)
            {
                k = int(((_arg1 - 9) / 2));
            };
            var k:NineSplitSprite = ((_arg4) ? NineSplitSprite._-1Wd : NineSplitSprite._-Dt);
            if (_arg6)
            {
                k._-2V3(k, new Rectangle(0, (k - 1), _arg1, _arg2));
                k.bitmapData.copyPixels(k.bitmapData, new Rectangle(0, 17, 9, 6), new Point(_arg3, 0));
            }
            else
            {
                k._-2V3(k, new Rectangle(0, 0, _arg1, _arg2));
                k.bitmapData.copyPixels(k.bitmapData, new Rectangle(0, 23, 9, 6), new Point(_arg3, (_arg2 - 1)));
            };
            k.bitmapData.colorTransform(k.bitmapData.rect, new ColorTransform((((_arg5 >> 16) & 0xFF) / 0xFF), (((_arg5 >> 8) & 0xFF) / 0xFF), ((_arg5 & 0xFF) / 0xFF)));
            return (k);
        }
        public static function _-3J8(_arg1:String, _arg2:String, _arg3:Rectangle):Sprite
        {
            var k:TextField;
            var k:Sprite = new Sprite();
            k.x = _arg3.x;
            k.y = _arg3.y;
            k.addChild(NineSplitSprite._-2rs.render(_arg3.width, _arg3.height));
            var k:TextField = _-R5(_arg1, 22, 0xFFFFFF, true);
            k.x = 8;
            k.y = -38;
            k.autoSize = TextFieldAutoSize.LEFT;
            k.addChild(k);
            if (((!((_arg2 == null))) && (!((_arg2 == "")))))
            {
                k = _-R5(_arg2, 10, 0xAAAAAA, true);
                k.x = 8;
                k.y = -54;
                k.autoSize = TextFieldAutoSize.LEFT;
                k.addChild(k);
            };
            k.filters = [new GlowFilter(0, 1, 150, 150, 1)];
            return (k);
        }
        public static function _-YR(_arg1:Sprite, _arg2:int, _arg3:int):void
        {
            _arg1.removeChildAt(0);
            _arg1.addChildAt(NineSplitSprite._-2rs.render(_arg2, _arg3), 0);
        }

    }
}//package ui

//------------------------------------------------------------
//ui.NineSplitSprite

package ui
{
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import __AS3__.vec.Vector;
    import flash.geom.Rectangle;
    import flash.geom.Point;
    import _-2ly._-0d3;
    import __AS3__.vec.*;

    public class NineSplitSprite 
    {

        private static const _-0CL:Class = _-1Ma;
        private static const _-188:Class = _-0Jo;
        private static const _-0cy:Class = _-1c8;
        private static const _-iS:Class = _-2aN;
        private static const _-2Cg:Class = _-47p;
        private static const _-05e:Class = _-y6;
        private static const _-2QS:Class = _-3bQ;
        private static const _-3p2:Class = _-hi;
        private static const _-0zJ:Class = _-2ju;
        private static const _-1Th:Class = _-23P;
        private static const _-0lW:Class = _-yd;
        private static const _-0XF:Bitmap = new _-0CL();
        private static const _-2t7:Bitmap = new _-188();
        private static const _-13g:Bitmap = new _-0cy();
        private static const _-0Pl:Bitmap = new _-iS();
        private static const _-57K:Bitmap = new _-2Cg();
        private static const _-26e:Bitmap = new _-05e();
        private static const _-2qe:Bitmap = new _-2QS();
        private static const _-4Db:Bitmap = new _-3p2();
        private static const _-2xn:Bitmap = new _-0zJ();
        private static const _-31W:Bitmap = new _-1Th();
        private static const _-0bN:Bitmap = new _-0lW();

        public static var _-1Wd:NineSplitSprite = new NineSplitSprite(_-0bN.bitmapData, new <int>[5, 4, 5], new <int>[11, 1, 5]);
        public static var _-Dt:NineSplitSprite = new NineSplitSprite(_-0bN.bitmapData, new <int>[5, 4, 5], new <int>[5, 1, 11]);
        public static var _-42e:NineSplitSprite = new NineSplitSprite(_-0XF.bitmapData, new <int>[12, 2, 6], new <int>[14, 2, 4]);
        public static var BUTTON:NineSplitSprite = new NineSplitSprite(_-2t7.bitmapData, new <int>[4, 3, 4], new <int>[4, 4, 5]);
        public static var _-2v7:NineSplitSprite = new NineSplitSprite(_-13g.bitmapData, new <int>[4, 2, 4], new <int>[5, 2, 5]);
        public static var _-2WM:NineSplitSprite = new NineSplitSprite(_-0Pl.bitmapData, new <int>[6, 1, 4], new <int>[9, 4, 5]);
        public static var _-ZR:NineSplitSprite = new NineSplitSprite(_-57K.bitmapData, new <int>[5, 5, 5], new <int>[5, 12, 5]);
        public static var _-2wJ:NineSplitSprite = new NineSplitSprite(_-26e.bitmapData, new <int>[2, 2, 2], new <int>[8, 0, 0]);
        public static var _-2rs:NineSplitSprite = new NineSplitSprite(_-2qe.bitmapData, new <int>[4, 3, 4], new <int>[5, 1, 7]);
        public static var _-0ma:NineSplitSprite = new NineSplitSprite(_-4Db.bitmapData, new <int>[5, 2, 5], new <int>[5, 2, 6]);
        public static var _-1dM:NineSplitSprite = new NineSplitSprite(_-2xn.bitmapData, new <int>[5, 2, 5], new <int>[5, 2, 6]);
        public static var _-0Kn:NineSplitSprite = new NineSplitSprite(_-31W.bitmapData, new <int>[5, 4, 5], new <int>[7, 2, 5]);

        private var _-04k:BitmapData;
        private var _-Fd:Vector.<int>;
        private var _-5F-:Vector.<int>;

        public function NineSplitSprite(_arg1:BitmapData, _arg2:Vector.<int>, _arg3:Vector.<int>)
        {
            this._-04k = _arg1;
            this._-Fd = _arg2;
            this._-5F- = _arg3;
        }
        public function render(_arg1:int, _arg2:int):Bitmap
        {
            var k:Bitmap = new Bitmap(new BitmapData(_arg1, _arg2, true, 0xFFFFFF));
            this._-2V3(k, new Rectangle(0, 0, _arg1, _arg2));
            return (k);
        }
        public function _-2V3(_arg1:Bitmap, _arg2:Rectangle):void
        {
            var k:int;
            var k:Rectangle;
            var _local18:Rectangle;
            var k:int = _arg2.x;
            var k:int = _arg2.y;
            var k:int = _arg2.width;
            var k:int = _arg2.height;
            var k:Vector.<int> = new <int>[0, this._-Fd[0], (this._-Fd[0] + this._-Fd[1])];
            var k:Vector.<int> = new <int>[0, this._-5F-[0], (this._-5F-[0] + this._-5F-[1])];
            var k:Vector.<int> = this._-Fd;
            var k:Vector.<int> = this._-5F-;
            var k:Vector.<int> = new <int>[k, (k + this._-Fd[0]), ((k + k) - this._-Fd[2])];
            var k:Vector.<int> = new <int>[k, (k + this._-5F-[0]), ((k + k) - this._-5F-[2])];
            var k:Vector.<int> = new <int>[this._-Fd[0], ((k - this._-Fd[0]) - this._-Fd[2]), this._-Fd[2]];
            var k:Vector.<int> = new <int>[this._-5F-[0], ((k - this._-5F-[0]) - this._-5F-[2]), this._-5F-[2]];
            var k:int;
            while (k < 3)
            {
                k = 0;
                while (k < 3)
                {
                    if ((((((((k[k] < 1)) || ((k[k] < 1)))) || ((k[k] < 1)))) || ((k[k] < 1))))
                    {
                    }
                    else
                    {
                        k = new Rectangle(k[k], k[k], k[k], k[k]);
                        if (((!((k == 1))) && (!((k == 1)))))
                        {
                            _arg1.bitmapData.copyPixels(this._-04k, k, new Point(k[k], k[k]));
                        }
                        else
                        {
                            _local18 = new Rectangle(k[k], k[k], k[k], k[k]);
                            _arg1.bitmapData.draw(this._-04k, _-0d3._-0Z-(k, _local18), null, null, _local18, false);
                        };
                    };
                    k++;
                };
                k++;
            };
        }
        public function get bitmapData():BitmapData
        {
            return (this._-04k);
        }

    }
}//package ui

//------------------------------------------------------------
//ui.WaitIndicator

package ui
{
    import flash.display.Sprite;
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import flash.geom.Rectangle;
    import flash.events.Event;
    import flash.utils.getTimer;
    import flash.geom.ColorTransform;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class WaitIndicator extends Sprite implements _-1zZ 
    {

        private static const _-3lA:int = 8;

        private var _disposed:Boolean;

        public function WaitIndicator()
        {
            var k:Bitmap;
            super();
            var k:uint = 0xFFFFFFFF;
            var k:BitmapData = new BitmapData(4, 4, true, 0);
            k.setVector(new Rectangle(0, 0, 4, 4), new <uint>[0, k, k, 0, k, k, k, k, k, k, k, k, 0, k, k, 0]);
            var k:int;
            while (k < _-3lA)
            {
                k = new Bitmap(k);
                addChild(k);
                k.x = (int((12 * Math.sin((((k * Math.PI) * 2) / _-3lA)))) - 3);
                k.y = (int((12 * Math.cos((((k * Math.PI) * 2) / _-3lA)))) - 3);
                k++;
            };
            addEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
        }
        private static function _-4EJ(_arg1:int):Number
        {
            var k:Number = ((_arg1 / _-3lA) - (getTimer() * 0.001));
            k = (k - Math.floor(k));
            k = ((48 + (192 * k)) / 0xFF);
            return (k);
        }

        private function onAddedToStage(_arg1:Event):void
        {
            removeEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            stage.addEventListener(Event.ENTER_FRAME, this.onEnterFrame);
        }
        private function onEnterFrame(_arg1:Event):void
        {
            var k:Number;
            graphics.clear();
            var k:int;
            while (k < _-3lA)
            {
                k = _-4EJ(k);
                getChildAt(k).transform.colorTransform = new ColorTransform(k, k, k);
                k++;
            };
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            if (stage != null)
            {
                stage.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
            };
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }

    }
}//package ui

//------------------------------------------------------------
// true

package 
{
    import mx.core.ByteArrayAsset;

    public class  true extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
// var

package 
{
    import mx.core.ByteArrayAsset;

    public class  var extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-

package 
{
    import mx.core.ByteArrayAsset;

    public class _- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-005

package 
{
    import mx.core.BitmapAsset;

    public class _-005 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-00u

package 
{
    import mx.core.BitmapAsset;

    public class _-00u extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-01

package 
{
    import mx.core.BitmapAsset;

    public class _-01 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-011

package 
{
    import mx.core.BitmapAsset;

    public class _-011 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-017

package 
{
    import mx.core.BitmapAsset;

    public class _-017 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-01M

package 
{
    import mx.core.BitmapAsset;

    public class _-01M extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-027

package 
{
    import mx.core.FontAsset;

    public class _-027 extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-02N

package 
{
    import mx.core.ByteArrayAsset;

    public class _-02N extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-02t

package 
{
    import mx.core.BitmapAsset;

    public class _-02t extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-031

package 
{
    import mx.core.ByteArrayAsset;

    public class _-031 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-03M

package 
{
    import mx.core.BitmapAsset;

    public class _-03M extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0-4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0-4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-043

package 
{
    import mx.core.BitmapAsset;

    public class _-043 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-04a

package 
{
    import mx.core.BitmapAsset;

    public class _-04a extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-04h

package 
{
    import mx.core.ByteArrayAsset;

    public class _-04h extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-04n

package 
{
    import mx.core.BitmapAsset;

    public class _-04n extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-04t

package 
{
    import mx.core.ByteArrayAsset;

    public class _-04t extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-04u

package 
{
    import mx.core.ByteArrayAsset;

    public class _-04u extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-05

package 
{
    import mx.core.BitmapAsset;

    public class _-05 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-05P

package 
{
    import mx.core.ByteArrayAsset;

    public class _-05P extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0-6

package 
{
    import mx.core.BitmapAsset;

    public class _-0-6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-06B

package 
{
    import mx.core.BitmapAsset;

    public class _-06B extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-06D

package 
{
    import mx.core.BitmapAsset;

    public class _-06D extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-06M

package 
{
    import mx.core.BitmapAsset;

    public class _-06M extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-075

package 
{
    import mx.core.BitmapAsset;

    public class _-075 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-076

package 
{
    import mx.core.ByteArrayAsset;

    public class _-076 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-07A

package 
{
    import mx.core.ByteArrayAsset;

    public class _-07A extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-07E

package 
{
    import mx.core.BitmapAsset;

    public class _-07E extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-07I

package 
{
    import mx.core.ByteArrayAsset;

    public class _-07I extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-07L

package 
{
    import mx.core.ByteArrayAsset;

    public class _-07L extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-07x

package 
{
    import mx.core.ByteArrayAsset;

    public class _-07x extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-084

package 
{
    import mx.core.BitmapAsset;

    public class _-084 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-08B

package 
{
    import mx.core.ByteArrayAsset;

    public class _-08B extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-08j

package 
{
    import mx.core.BitmapAsset;

    public class _-08j extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-08s

package 
{
    import mx.core.ByteArrayAsset;

    public class _-08s extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-08X

package 
{
    import mx.core.ByteArrayAsset;

    public class _-08X extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-093

package 
{
    import mx.core.ByteArrayAsset;

    public class _-093 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-09a

package 
{
    import mx.core.ByteArrayAsset;

    public class _-09a extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-09b

package 
{
    import mx.core.ByteArrayAsset;

    public class _-09b extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-09D

package 
{
    import mx.core.ByteArrayAsset;

    public class _-09D extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-09K

package 
{
    import mx.core.BitmapAsset;

    public class _-09K extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-09r

package 
{
    import mx.core.ByteArrayAsset;

    public class _-09r extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-09V

package 
{
    import mx.core.ByteArrayAsset;

    public class _-09V extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-09X

package 
{
    import mx.core.ByteArrayAsset;

    public class _-09X extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-09z

package 
{
    import mx.core.ByteArrayAsset;

    public class _-09z extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0a

package 
{
    import mx.core.BitmapAsset;

    public class _-0a extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0a8

package 
{
    import mx.core.BitmapAsset;

    public class _-0a8 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0aQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0aQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0aS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0aS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0AY

package 
{
    import mx.core.BitmapAsset;

    public class _-0AY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0-b

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0-b extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ba

package 
{
    import mx.core.BitmapAsset;

    public class _-0Ba extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Bd

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Bd extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Be

package 
{
    import mx.core.BitmapAsset;

    public class _-0Be extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0bI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0bI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0bM

package 
{
    import mx.core.BitmapAsset;

    public class _-0bM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0BS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0BS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0bt

package 
{
    import mx.core.BitmapAsset;

    public class _-0bt extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Bw

package 
{
    import mx.core.BitmapAsset;

    public class _-0Bw extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0c-

package 
{
    import mx.core.BitmapAsset;

    public class _-0c- extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0C4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0C4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0CE

package 
{
    import mx.core.BitmapAsset;

    public class _-0CE extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0cF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0cF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ci

package 
{
    import mx.core.BitmapAsset;

    public class _-0Ci extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0CJ

package 
{
    import mx.core.BitmapAsset;

    public class _-0CJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ck

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Ck extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0cP

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0cP extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0ct

package 
{
    import mx.core.BitmapAsset;

    public class _-0ct extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ct

package 
{
    import mx.core.BitmapAsset;

    public class _-0Ct extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0cU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0cU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0CU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0CU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0cv

package 
{
    import mx.core.BitmapAsset;

    public class _-0cv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0cV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0cV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0-d

package 
{
    import mx.core.BitmapAsset;

    public class _-0-d extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0D1

package 
{
    import mx.core.BitmapAsset;

    public class _-0D1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0dB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0dB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0dF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0dF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0dJ

package 
{
    import mx.core.BitmapAsset;

    public class _-0dJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0dm

package 
{
    import mx.core.BitmapAsset;

    public class _-0dm extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0DN

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0DN extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0dt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0dt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0dw

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0dw extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0dz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0dz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0E4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0E4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0E7

package 
{
    import mx.core.BitmapAsset;

    public class _-0E7 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0ee

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0ee extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0ej

package 
{
    import mx.core.BitmapAsset;

    public class _-0ej extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0eo

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0eo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0EO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0EO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0eU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0eU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0EW

package 
{
    import mx.core.BitmapAsset;

    public class _-0EW extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0F2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0F2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0f8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0f8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Fc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Fc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0fF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0fF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0fK

package 
{
    import mx.core.BitmapAsset;

    public class _-0fK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0fM

package 
{
    import mx.core.BitmapAsset;

    public class _-0fM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0FM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0FM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Fw

package 
{
    import mx.core.BitmapAsset;

    public class _-0Fw extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0fy

package 
{
    import mx.core.BitmapAsset;

    public class _-0fy extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0fZ

package 
{
    import mx.core.BitmapAsset;

    public class _-0fZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Fz

package 
{
    import mx.core.BitmapAsset;

    public class _-0Fz extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0G

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0G extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0GA

package 
{
    import mx.core.BitmapAsset;

    public class _-0GA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0GF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0GF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0gK

package 
{
    import mx.core.BitmapAsset;

    public class _-0gK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0gQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0gQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0H7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0H7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0HD

package 
{
    import mx.core.BitmapAsset;

    public class _-0HD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0hf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0hf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Hf

package 
{
    import mx.core.BitmapAsset;

    public class _-0Hf extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0hR

package 
{
    import mx.core.BitmapAsset;

    public class _-0hR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ht

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Ht extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0HU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0HU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0i0

package 
{
    import mx.core.BitmapAsset;

    public class _-0i0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0i1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0i1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0I5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0I5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0iv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0iv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0iY

package 
{
    import mx.core.BitmapAsset;

    public class _-0iY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0iZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0iZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0j4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0j4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0J8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0J8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0jB

package 
{
    import mx.core.BitmapAsset;

    public class _-0jB extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Jf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Jf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0JF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0JF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0JK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0JK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0K1

package 
{
    import mx.core.BitmapAsset;

    public class _-0K1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0K5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0K5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0K6

package 
{
    import mx.core.BitmapAsset;

    public class _-0K6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0K7

package 
{
    import mx.core.BitmapAsset;

    public class _-0K7 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0kl

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0kl extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0ku

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0ku extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Lb

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Lb extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0LG

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0LG extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Lk

package 
{
    import mx.core.BitmapAsset;

    public class _-0Lk extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0M3

package 
{
    import mx.core.BitmapAsset;

    public class _-0M3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0mb

package 
{
    import mx.core.BitmapAsset;

    public class _-0mb extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0MF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0MF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Mg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Mg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0mK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0mK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0MK

package 
{
    import mx.core.BitmapAsset;

    public class _-0MK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0mS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0mS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ms

package 
{
    import mx.core.BitmapAsset;

    public class _-0Ms extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Mu

package 
{
    import mx.core.BitmapAsset;

    public class _-0Mu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0mz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0mz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0n-

package 
{
    import mx.core.BitmapAsset;

    public class _-0n- extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0nA

package 
{
    import mx.core.BitmapAsset;

    public class _-0nA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0nH

package 
{
    import mx.core.BitmapAsset;

    public class _-0nH extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0ni

package 
{
    import mx.core.BitmapAsset;

    public class _-0ni extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Nm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Nm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0NM

package 
{
    import mx.core.BitmapAsset;

    public class _-0NM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0nN

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0nN extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0o

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0o extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0O4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0O4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0oa

package 
{
    import mx.core.BitmapAsset;

    public class _-0oa extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Oa

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Oa extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0OC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0OC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0OE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0OE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Og

package 
{
    import mx.core.BitmapAsset;

    public class _-0Og extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0OH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0OH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0or

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0or extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0OR

package 
{
    import mx.core.BitmapAsset;

    public class _-0OR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ou

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Ou extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0p0

package 
{
    import mx.core.BitmapAsset;

    public class _-0p0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Pd

package 
{
    import mx.core.BitmapAsset;

    public class _-0Pd extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0pn

package 
{
    import mx.core.BitmapAsset;

    public class _-0pn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0PQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0PQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Pt

package 
{
    import mx.core.BitmapAsset;

    public class _-0Pt extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0px

package 
{
    import mx.core.BitmapAsset;

    public class _-0px extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Pz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Pz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0-q

package 
{
    import mx.core.BitmapAsset;

    public class _-0-q extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0-Q

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0-Q extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0q1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0q1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Q2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Q2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0qf

package 
{
    import mx.core.BitmapAsset;

    public class _-0qf extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0qi

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0qi extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0ql

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0ql extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0qL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0qL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Qr

package 
{
    import mx.core.BitmapAsset;

    public class _-0Qr extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0QS

package 
{
    import mx.core.BitmapAsset;

    public class _-0QS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0QT

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0QT extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0QV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0QV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0R9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0R9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0rD

package 
{
    import mx.core.BitmapAsset;

    public class _-0rD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0re

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0re extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0rO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0rO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0RY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0RY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0rz

package 
{
    import mx.core.BitmapAsset;

    public class _-0rz extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Sd

package 
{
    import mx.core.BitmapAsset;

    public class _-0Sd extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0sG

package 
{
    import mx.core.BitmapAsset;

    public class _-0sG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Sg

package 
{
    import mx.core.BitmapAsset;

    public class _-0Sg extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Si

package 
{
    import mx.core.BitmapAsset;

    public class _-0Si extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0SI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0SI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0SK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0SK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0sm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0sm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Sm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Sm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0so

package 
{
    import mx.core.BitmapAsset;

    public class _-0so extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0SR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0SR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0sX

package 
{
    import mx.core.BitmapAsset;

    public class _-0sX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ta

package 
{
    import mx.core.BitmapAsset;

    public class _-0Ta extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0tb

package 
{
    import mx.core.BitmapAsset;

    public class _-0tb extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Tb

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Tb extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Tf

package 
{
    import mx.core.BitmapAsset;

    public class _-0Tf extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Tj

package 
{
    import mx.core.BitmapAsset;

    public class _-0Tj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Tk

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Tk extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0to

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0to extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0ts

package 
{
    import mx.core.BitmapAsset;

    public class _-0ts extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ts

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Ts extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0TT

package 
{
    import mx.core.BitmapAsset;

    public class _-0TT extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0tv

package 
{
    import mx.core.BitmapAsset;

    public class _-0tv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0TZ

package 
{
    import mx.core.BitmapAsset;

    public class _-0TZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0U

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0U extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0U5

package 
{
    import mx.core.BitmapAsset;

    public class _-0U5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0U8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0U8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ua

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Ua extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0uC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0uC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Ug

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Ug extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0UJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0UJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0uS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0uS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0UW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0UW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0uy

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0uy extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0V3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0V3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0vB

package 
{
    import mx.core.FontAsset;

    public class _-0vB extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0VF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0VF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0vL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0vL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0vP

package 
{
    import mx.core.BitmapAsset;

    public class _-0vP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0VP

package 
{
    import mx.core.BitmapAsset;

    public class _-0VP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0VY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0VY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0WH

package 
{
    import mx.core.BitmapAsset;

    public class _-0WH extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0wJ

package 
{
    import mx.core.BitmapAsset;

    public class _-0wJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0wN

package 
{
    import mx.core.BitmapAsset;

    public class _-0wN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0WT

package 
{
    import mx.core.BitmapAsset;

    public class _-0WT extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Wu

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Wu extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0wW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0wW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0-X

package 
{
    import mx.core.BitmapAsset;

    public class _-0-X extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0x5

package 
{
    import mx.core.BitmapAsset;

    public class _-0x5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0xE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0xE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0xM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0xM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0xQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0xQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0xW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0xW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0yo

package 
{
    import mx.core.BitmapAsset;

    public class _-0yo extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0yO

package 
{
    import mx.core.BitmapAsset;

    public class _-0yO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Yt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Yt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0YZ

package 
{
    import mx.core.BitmapAsset;

    public class _-0YZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0zL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0zL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Zp

package 
{
    import mx.core.BitmapAsset;

    public class _-0Zp extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0ZP

package 
{
    import mx.core.BitmapAsset;

    public class _-0ZP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Zu

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Zu extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0zw

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0zw extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Zx

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Zx extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-0Zy

package 
{
    import mx.core.ByteArrayAsset;

    public class _-0Zy extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1

package 
{
    import mx.core.BitmapAsset;

    public class _-1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1-0

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1-0 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-10D

package 
{
    import mx.core.BitmapAsset;

    public class _-10D extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-10e

package 
{
    import mx.core.BitmapAsset;

    public class _-10e extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-10G

package 
{
    import mx.core.ByteArrayAsset;

    public class _-10G extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-10J

package 
{
    import mx.core.ByteArrayAsset;

    public class _-10J extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-10N

package 
{
    import mx.core.BitmapAsset;

    public class _-10N extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-10s

package 
{
    import mx.core.ByteArrayAsset;

    public class _-10s extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-11C

package 
{
    import mx.core.ByteArrayAsset;

    public class _-11C extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-11H

package 
{
    import mx.core.ByteArrayAsset;

    public class _-11H extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-11o

package 
{
    import mx.core.BitmapAsset;

    public class _-11o extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-11p

package 
{
    import mx.core.ByteArrayAsset;

    public class _-11p extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-11s

package 
{
    import mx.core.BitmapAsset;

    public class _-11s extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-11w

package 
{
    import mx.core.BitmapAsset;

    public class _-11w extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-122

package 
{
    import mx.core.FontAsset;

    public class _-122 extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-12y

package 
{
    import mx.core.ByteArrayAsset;

    public class _-12y extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-13b

package 
{
    import mx.core.ByteArrayAsset;

    public class _-13b extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-13M

package 
{
    import mx.core.BitmapAsset;

    public class _-13M extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-13p

package 
{
    import mx.core.BitmapAsset;

    public class _-13p extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-13V

package 
{
    import mx.core.BitmapAsset;

    public class _-13V extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-13w

package 
{
    import mx.core.ByteArrayAsset;

    public class _-13w extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-14b

package 
{
    import mx.core.ByteArrayAsset;

    public class _-14b extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-14M

package 
{
    import mx.core.ByteArrayAsset;

    public class _-14M extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-14T

package 
{
    import mx.core.BitmapAsset;

    public class _-14T extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-14U

package 
{
    import mx.core.BitmapAsset;

    public class _-14U extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-14y

package 
{
    import mx.core.ByteArrayAsset;

    public class _-14y extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-15a

package 
{
    import mx.core.ByteArrayAsset;

    public class _-15a extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-15M

package 
{
    import mx.core.BitmapAsset;

    public class _-15M extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-15T

package 
{
    import mx.core.BitmapAsset;

    public class _-15T extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-15V

package 
{
    import mx.core.ByteArrayAsset;

    public class _-15V extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-15z

package 
{
    import mx.core.ByteArrayAsset;

    public class _-15z extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-16

package 
{
    import mx.core.ByteArrayAsset;

    public class _-16 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-160

package 
{
    import mx.core.BitmapAsset;

    public class _-160 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-16D

package 
{
    import mx.core.BitmapAsset;

    public class _-16D extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-16e

package 
{
    import mx.core.BitmapAsset;

    public class _-16e extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-16J

package 
{
    import mx.core.ByteArrayAsset;

    public class _-16J extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-16R

package 
{
    import mx.core.BitmapAsset;

    public class _-16R extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-17a

package 
{
    import mx.core.BitmapAsset;

    public class _-17a extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-17b

package 
{
    import mx.core.BitmapAsset;

    public class _-17b extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-17e

package 
{
    import mx.core.BitmapAsset;

    public class _-17e extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-17E

package 
{
    import mx.core.ByteArrayAsset;

    public class _-17E extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-17i

package 
{
    import mx.core.ByteArrayAsset;

    public class _-17i extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-183

package 
{
    import mx.core.BitmapAsset;

    public class _-183 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-184

package 
{
    import mx.core.BitmapAsset;

    public class _-184 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-18E

package 
{
    import mx.core.ByteArrayAsset;

    public class _-18E extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-18P

package 
{
    import mx.core.ByteArrayAsset;

    public class _-18P extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-190

package 
{
    import mx.core.BitmapAsset;

    public class _-190 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-19l

package 
{
    import mx.core.BitmapAsset;

    public class _-19l extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-19N

package 
{
    import mx.core.ByteArrayAsset;

    public class _-19N extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-19u

package 
{
    import mx.core.ByteArrayAsset;

    public class _-19u extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1A7

package 
{
    import mx.core.BitmapAsset;

    public class _-1A7 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1aA

package 
{
    import mx.core.BitmapAsset;

    public class _-1aA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ab

package 
{
    import mx.core.BitmapAsset;

    public class _-1ab extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1aD

package 
{
    import mx.core.BitmapAsset;

    public class _-1aD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1aH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1aH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1AI

package 
{
    import mx.core.BitmapAsset;

    public class _-1AI extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1aL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1aL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1aP

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1aP extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Aq

package 
{
    import mx.core.BitmapAsset;

    public class _-1Aq extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1AS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1AS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1aW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1aW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Ay

package 
{
    import mx.core.BitmapAsset;

    public class _-1Ay extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1BD

package 
{
    import mx.core.BitmapAsset;

    public class _-1BD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Bg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Bg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Bj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Bj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1bL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1bL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Bm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Bm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1BM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1BM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1bN

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1bN extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1bo

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1bo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1bS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1bS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1BW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1BW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1by

package 
{
    import mx.core.BitmapAsset;

    public class _-1by extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1-c

package 
{
    import mx.core.BitmapAsset;

    public class _-1-c extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Cf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Cf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1CH

package 
{
    import mx.core.BitmapAsset;

    public class _-1CH extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1cp

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1cp extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1cS

package 
{
    import mx.core.BitmapAsset;

    public class _-1cS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1CV

package 
{
    import mx.core.BitmapAsset;

    public class _-1CV extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1D

package 
{
    import mx.core.BitmapAsset;

    public class _-1D extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1D3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1D3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1D9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1D9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1dD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1dD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Dg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Dg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1dl

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1dl extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1dm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1dm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1dq

package 
{
    import mx.core.BitmapAsset;

    public class _-1dq extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1dQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1dQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1E

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1E extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1e9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1e9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1eG

package 
{
    import mx.core.BitmapAsset;

    public class _-1eG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1eP

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1eP extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Eq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Eq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ew

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1ew extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1F

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1F extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1-F

package 
{
    import mx.core.BitmapAsset;

    public class _-1-F extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1F0

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1F0 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1FL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1FL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1FP

package 
{
    import mx.core.BitmapAsset;

    public class _-1FP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1fu

package 
{
    import mx.core.BitmapAsset;

    public class _-1fu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1G4

package 
{
    import mx.core.BitmapAsset;

    public class _-1G4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ga

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1ga extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1gC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1gC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Gr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Gr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1H

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1H extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1hH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1hH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Hk

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Hk extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1hs

package 
{
    import mx.core.BitmapAsset;

    public class _-1hs extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1hS

package 
{
    import mx.core.BitmapAsset;

    public class _-1hS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1hV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1hV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1hX

package 
{
    import mx.core.BitmapAsset;

    public class _-1hX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1I-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1I- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1I2

package 
{
    import mx.core.BitmapAsset;

    public class _-1I2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1i3

package 
{
    import mx.core.BitmapAsset;

    public class _-1i3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1I4

package 
{
    import mx.core.BitmapAsset;

    public class _-1I4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1I5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1I5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1I8

package 
{
    import mx.core.BitmapAsset;

    public class _-1I8 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1iA

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1iA extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1IE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1IE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1IG

package 
{
    import mx.core.BitmapAsset;

    public class _-1IG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1il

package 
{
    import mx.core.BitmapAsset;

    public class _-1il extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1iP

package 
{
    import mx.core.BitmapAsset;

    public class _-1iP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1iu

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1iu extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Iv

package 
{
    import mx.core.BitmapAsset;

    public class _-1Iv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1iY

package 
{
    import mx.core.BitmapAsset;

    public class _-1iY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Iy

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Iy extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1J4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1J4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1jc

package 
{
    import mx.core.BitmapAsset;

    public class _-1jc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Jh

package 
{
    import mx.core.BitmapAsset;

    public class _-1Jh extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1jK

package 
{
    import mx.core.BitmapAsset;

    public class _-1jK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1JO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1JO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1jV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1jV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1K2

package 
{
    import mx.core.BitmapAsset;

    public class _-1K2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1k8

package 
{
    import mx.core.BitmapAsset;

    public class _-1k8 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1kc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1kc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Kg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Kg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ki

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1ki extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Ki

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Ki extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1kJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1kJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1km

package 
{
    import mx.core.BitmapAsset;

    public class _-1km extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1kO

package 
{
    import mx.core.BitmapAsset;

    public class _-1kO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Kr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Kr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ku

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1ku extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1lD

package 
{
    import mx.core.BitmapAsset;

    public class _-1lD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1lG

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1lG extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1LG

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1LG extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Lh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Lh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1lm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1lm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ln

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1ln extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1lx

package 
{
    import mx.core.BitmapAsset;

    public class _-1lx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Ly

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Ly extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1lz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1lz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1-m

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1-m extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1M

package 
{
    import mx.core.BitmapAsset;

    public class _-1M extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1M7

package 
{
    import mx.core.BitmapAsset;

    public class _-1M7 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1MA

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1MA extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1mC

package 
{
    import mx.core.BitmapAsset;

    public class _-1mC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1mE

package 
{
    import mx.core.BitmapAsset;

    public class _-1mE extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1mh

package 
{
    import mx.core.FontAsset;

    public class _-1mh extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1mM

package 
{
    import mx.core.BitmapAsset;

    public class _-1mM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1mR

package 
{
    import mx.core.BitmapAsset;

    public class _-1mR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Mu

package 
{
    import mx.core.BitmapAsset;

    public class _-1Mu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1N5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1N5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1NN

package 
{
    import mx.core.BitmapAsset;

    public class _-1NN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1nQ

package 
{
    import mx.core.BitmapAsset;

    public class _-1nQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Nr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Nr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1o2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1o2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1oa

package 
{
    import mx.core.BitmapAsset;

    public class _-1oa extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1oc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1oc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1OC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1OC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Ok

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Ok extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Om

package 
{
    import mx.core.BitmapAsset;

    public class _-1Om extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Op

package 
{
    import mx.core.BitmapAsset;

    public class _-1Op extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Ou

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Ou extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ow

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1ow extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1P4

package 
{
    import mx.core.BitmapAsset;

    public class _-1P4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1PA

package 
{
    import mx.core.BitmapAsset;

    public class _-1PA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Pb

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Pb extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Pd

package 
{
    import mx.core.BitmapAsset;

    public class _-1Pd extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Pq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Pq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1pU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1pU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Pu

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Pu extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Px

package 
{
    import mx.core.BitmapAsset;

    public class _-1Px extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1q4

package 
{
    import mx.core.BitmapAsset;

    public class _-1q4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1q9

package 
{
    import mx.core.BitmapAsset;

    public class _-1q9 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1qC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1qC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Qh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Qh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1QH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1QH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1qj

package 
{
    import mx.core.BitmapAsset;

    public class _-1qj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Qj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Qj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1QO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1QO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Qv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Qv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Qx

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Qx extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1qY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1qY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1-r

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1-r extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1R5

package 
{
    import mx.core.BitmapAsset;

    public class _-1R5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1rb

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1rb extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Rd

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Rd extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1rF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1rF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1RV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1RV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1rZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1rZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1S

package 
{
    import mx.core.BitmapAsset;

    public class _-1S extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1s3

package 
{
    import mx.core.BitmapAsset;

    public class _-1s3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1sF

package 
{
    import mx.core.BitmapAsset;

    public class _-1sF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1sh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1sh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Sh

package 
{
    import mx.core.BitmapAsset;

    public class _-1Sh extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1si

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1si extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1SJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1SJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Sk

package 
{
    import mx.core.BitmapAsset;

    public class _-1Sk extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1t2

package 
{
    import mx.core.BitmapAsset;

    public class _-1t2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1tA

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1tA extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1tc

package 
{
    import mx.core.BitmapAsset;

    public class _-1tc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1tE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1tE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Tm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Tm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1tp

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1tp extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Tq

package 
{
    import mx.core.BitmapAsset;

    public class _-1Tq extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1tR

package 
{
    import mx.core.BitmapAsset;

    public class _-1tR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1tv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1tv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1TZ

package 
{
    import mx.core.BitmapAsset;

    public class _-1TZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1U3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1U3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ub

package 
{
    import mx.core.BitmapAsset;

    public class _-1ub extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1UB

package 
{
    import mx.core.BitmapAsset;

    public class _-1UB extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1uN

package 
{
    import mx.core.BitmapAsset;

    public class _-1uN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1UO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1UO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1UT

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1UT extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1UU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1UU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1UZ

package 
{
    import mx.core.BitmapAsset;

    public class _-1UZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1V3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1V3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1V6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1V6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1VO

package 
{
    import mx.core.BitmapAsset;

    public class _-1VO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1vP

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1vP extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1vt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1vt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1VT

package 
{
    import mx.core.BitmapAsset;

    public class _-1VT extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1W2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1W2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1W7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1W7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Wj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Wj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1wN

package 
{
    import mx.core.BitmapAsset;

    public class _-1wN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1WX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1WX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1x

package 
{
    import mx.core.BitmapAsset;

    public class _-1x extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1x4

package 
{
    import mx.core.BitmapAsset;

    public class _-1x4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1X7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1X7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1XC

package 
{
    import mx.core.BitmapAsset;

    public class _-1XC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Xf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Xf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1xr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1xr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1xu

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1xu extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Xz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Xz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1y0

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1y0 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1YF

package 
{
    import mx.core.BitmapAsset;

    public class _-1YF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1yj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1yj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1yJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1yJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1YL

package 
{
    import mx.core.BitmapAsset;

    public class _-1YL extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1yR

package 
{
    import mx.core.BitmapAsset;

    public class _-1yR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1YW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1YW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1yX

package 
{
    import mx.core.BitmapAsset;

    public class _-1yX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1yZ

package 
{
    import mx.core.BitmapAsset;

    public class _-1yZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1z5

package 
{
    import mx.core.BitmapAsset;

    public class _-1z5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Z8

package 
{
    import mx.core.BitmapAsset;

    public class _-1Z8 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1zC

package 
{
    import mx.core.BitmapAsset;

    public class _-1zC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ZI

package 
{
    import mx.core.BitmapAsset;

    public class _-1ZI extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Zl

package 
{
    import mx.core.BitmapAsset;

    public class _-1Zl extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1zM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1zM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Zm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Zm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1zN

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1zN extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1zp

package 
{
    import mx.core.BitmapAsset;

    public class _-1zp extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1ZW

package 
{
    import mx.core.BitmapAsset;

    public class _-1ZW extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-1Zy

package 
{
    import mx.core.ByteArrayAsset;

    public class _-1Zy extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-20k

package 
{
    import mx.core.ByteArrayAsset;

    public class _-20k extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-215

package 
{
    import mx.core.BitmapAsset;

    public class _-215 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-21E

package 
{
    import mx.core.BitmapAsset;

    public class _-21E extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-21q

package 
{
    import mx.core.BitmapAsset;

    public class _-21q extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-21Q

package 
{
    import mx.core.BitmapAsset;

    public class _-21Q extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-21u

package 
{
    import mx.core.ByteArrayAsset;

    public class _-21u extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-22C

package 
{
    import mx.core.ByteArrayAsset;

    public class _-22C extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-22f

package 
{
    import mx.core.BitmapAsset;

    public class _-22f extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-22g

package 
{
    import mx.core.BitmapAsset;

    public class _-22g extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-22i

package 
{
    import mx.core.ByteArrayAsset;

    public class _-22i extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-22t

package 
{
    import mx.core.BitmapAsset;

    public class _-22t extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2-3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2-3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-23i

package 
{
    import mx.core.ByteArrayAsset;

    public class _-23i extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-23x

package 
{
    import mx.core.ByteArrayAsset;

    public class _-23x extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2-4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2-4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-246

package 
{
    import mx.core.BitmapAsset;

    public class _-246 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-24A

package 
{
    import mx.core.ByteArrayAsset;

    public class _-24A extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-24U

package 
{
    import mx.core.BitmapAsset;

    public class _-24U extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-24v

package 
{
    import mx.core.ByteArrayAsset;

    public class _-24v extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-25A

package 
{
    import mx.core.ByteArrayAsset;

    public class _-25A extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-25S

package 
{
    import mx.core.ByteArrayAsset;

    public class _-25S extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-25w

package 
{
    import mx.core.BitmapAsset;

    public class _-25w extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-26

package 
{
    import mx.core.ByteArrayAsset;

    public class _-26 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-262

package 
{
    import mx.core.BitmapAsset;

    public class _-262 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-269

package 
{
    import mx.core.ByteArrayAsset;

    public class _-269 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-26E

package 
{
    import mx.core.ByteArrayAsset;

    public class _-26E extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-26k

package 
{
    import mx.core.BitmapAsset;

    public class _-26k extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-26O

package 
{
    import mx.core.BitmapAsset;

    public class _-26O extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-26u

package 
{
    import mx.core.BitmapAsset;

    public class _-26u extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-26y

package 
{
    import mx.core.BitmapAsset;

    public class _-26y extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-27m

package 
{
    import mx.core.ByteArrayAsset;

    public class _-27m extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-27r

package 
{
    import mx.core.ByteArrayAsset;

    public class _-27r extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-28z

package 
{
    import mx.core.ByteArrayAsset;

    public class _-28z extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-296

package 
{
    import mx.core.BitmapAsset;

    public class _-296 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2AA

package 
{
    import mx.core.BitmapAsset;

    public class _-2AA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2aB

package 
{
    import mx.core.BitmapAsset;

    public class _-2aB extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Ag

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Ag extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ak

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2ak extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2aM

package 
{
    import mx.core.BitmapAsset;

    public class _-2aM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2AO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2AO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2as

package 
{
    import mx.core.BitmapAsset;

    public class _-2as extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2b9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2b9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2BA

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2BA extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2bb

package 
{
    import mx.core.BitmapAsset;

    public class _-2bb extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2bh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2bh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Bh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Bh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Bq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Bq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Br

package 
{
    import mx.core.BitmapAsset;

    public class _-2Br extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2bz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2bz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2bZ

package 
{
    import mx.core.BitmapAsset;

    public class _-2bZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2c6

package 
{
    import mx.core.BitmapAsset;

    public class _-2c6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2c7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2c7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2cB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2cB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Cb

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Cb extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2cJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2cJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2cQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2cQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2cS

package 
{
    import mx.core.BitmapAsset;

    public class _-2cS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2cu

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2cu extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2De

package 
{
    import mx.core.BitmapAsset;

    public class _-2De extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2dJ

package 
{
    import mx.core.BitmapAsset;

    public class _-2dJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2dK

package 
{
    import mx.core.BitmapAsset;

    public class _-2dK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2du

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2du extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2dv

package 
{
    import mx.core.BitmapAsset;

    public class _-2dv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2e

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2e extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2-E

package 
{
    import mx.core.BitmapAsset;

    public class _-2-E extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ed

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2ed extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ee

package 
{
    import mx.core.BitmapAsset;

    public class _-2ee extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2eL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2eL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2El

package 
{
    import mx.core.BitmapAsset;

    public class _-2El extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Eo

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Eo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2EO

package 
{
    import mx.core.BitmapAsset;

    public class _-2EO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2EP

package 
{
    import mx.core.BitmapAsset;

    public class _-2EP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ER

package 
{
    import mx.core.BitmapAsset;

    public class _-2ER extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Ex

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Ex extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ey

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2ey extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2F4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2F4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2f5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2f5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2FB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2FB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2fc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2fc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Ff

package 
{
    import mx.core.BitmapAsset;

    public class _-2Ff extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2FG

package 
{
    import mx.core.BitmapAsset;

    public class _-2FG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2FI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2FI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2fS

package 
{
    import mx.core.BitmapAsset;

    public class _-2fS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Fv

package 
{
    import mx.core.BitmapAsset;

    public class _-2Fv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2FV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2FV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2g5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2g5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2g9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2g9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2gM

package 
{
    import mx.core.BitmapAsset;

    public class _-2gM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2GO

package 
{
    import mx.core.BitmapAsset;

    public class _-2GO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Gp

package 
{
    import mx.core.BitmapAsset;

    public class _-2Gp extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2GP

package 
{
    import mx.core.BitmapAsset;

    public class _-2GP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2GR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2GR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2H4

package 
{
    import mx.core.FontAsset;

    public class _-2H4 extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ht

package 
{
    import mx.core.BitmapAsset;

    public class _-2ht extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2I5

package 
{
    import mx.core.BitmapAsset;

    public class _-2I5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2i9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2i9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2IB

package 
{
    import mx.core.BitmapAsset;

    public class _-2IB extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ig

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2ig extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ij

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2ij extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2IK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2IK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2il

package 
{
    import mx.core.BitmapAsset;

    public class _-2il extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2In

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2In extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2is

package 
{
    import mx.core.BitmapAsset;

    public class _-2is extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Is

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Is extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2iT

package 
{
    import mx.core.BitmapAsset;

    public class _-2iT extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2iX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2iX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2iz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2iz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2IZ

package 
{
    import mx.core.BitmapAsset;

    public class _-2IZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2JH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2JH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2jj

package 
{
    import mx.core.BitmapAsset;

    public class _-2jj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Jj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Jj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2JJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2JJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2JM

package 
{
    import mx.core.BitmapAsset;

    public class _-2JM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2K3

package 
{
    import mx.core.BitmapAsset;

    public class _-2K3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2k5

package 
{
    import mx.core.BitmapAsset;

    public class _-2k5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2kD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2kD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2KJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2KJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Kl

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Kl extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2kn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2kn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2kX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2kX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2KZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2KZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2L

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2L extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2-L

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2-L extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2lK

package 
{
    import mx.core.BitmapAsset;

    public class _-2lK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2lo

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2lo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2lQ

package 
{
    import mx.core.BitmapAsset;

    public class _-2lQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2lr

package 
{
    import mx.core.BitmapAsset;

    public class _-2lr extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Ls

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Ls extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2LY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2LY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2m2

package 
{
    import mx.core.BitmapAsset;

    public class _-2m2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2mC

package 
{
    import mx.core.BitmapAsset;

    public class _-2mC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ME

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2ME extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2mS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2mS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2mU

package 
{
    import mx.core.BitmapAsset;

    public class _-2mU extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Mw

package 
{
    import mx.core.BitmapAsset;

    public class _-2Mw extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2My

package 
{
    import mx.core.BitmapAsset;

    public class _-2My extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2n1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2n1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2N2

package 
{
    import mx.core.BitmapAsset;

    public class _-2N2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2nc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2nc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2NE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2NE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2nn

package 
{
    import mx.core.BitmapAsset;

    public class _-2nn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Nn

package 
{
    import mx.core.BitmapAsset;

    public class _-2Nn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2NR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2NR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2nv

package 
{
    import mx.core.BitmapAsset;

    public class _-2nv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2O7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2O7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Oi

package 
{
    import mx.core.BitmapAsset;

    public class _-2Oi extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2os

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2os extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2p7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2p7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Pd

package 
{
    import mx.core.BitmapAsset;

    public class _-2Pd extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2pf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2pf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2PG

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2PG extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2PU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2PU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2PY

package 
{
    import mx.core.BitmapAsset;

    public class _-2PY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Pz

package 
{
    import mx.core.BitmapAsset;

    public class _-2Pz extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2PZ

package 
{
    import mx.core.BitmapAsset;

    public class _-2PZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Q5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Q5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Q7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Q7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2QB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2QB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2qf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2qf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2qL

package 
{
    import mx.core.BitmapAsset;

    public class _-2qL extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2QQ

package 
{
    import mx.core.BitmapAsset;

    public class _-2QQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2r

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2r extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2rI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2rI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2rO

package 
{
    import mx.core.BitmapAsset;

    public class _-2rO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Rr

package 
{
    import mx.core.BitmapAsset;

    public class _-2Rr extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2rS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2rS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2rv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2rv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2rw

package 
{
    import mx.core.BitmapAsset;

    public class _-2rw extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2S-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2S- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2s6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2s6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2SA

package 
{
    import mx.core.BitmapAsset;

    public class _-2SA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2sB

package 
{
    import mx.core.BitmapAsset;

    public class _-2sB extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2sE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2sE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2sF

package 
{
    import mx.core.BitmapAsset;

    public class _-2sF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Sg

package 
{
    import mx.core.BitmapAsset;

    public class _-2Sg extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Sj

package 
{
    import mx.core.BitmapAsset;

    public class _-2Sj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Sr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Sr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2t-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2t- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2t2

package 
{
    import mx.core.BitmapAsset;

    public class _-2t2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2tC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2tC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Tg

package 
{
    import mx.core.BitmapAsset;

    public class _-2Tg extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Tn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Tn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2tq

package 
{
    import mx.core.BitmapAsset;

    public class _-2tq extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Tq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Tq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2TQ

package 
{
    import mx.core.BitmapAsset;

    public class _-2TQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2tt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2tt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2uL

package 
{
    import mx.core.BitmapAsset;

    public class _-2uL extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2uO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2uO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Up

package 
{
    import mx.core.BitmapAsset;

    public class _-2Up extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2UQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2UQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Ur

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Ur extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2UR

package 
{
    import mx.core.BitmapAsset;

    public class _-2UR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2V0

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2V0 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2v4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2v4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2vh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2vh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2vJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2vJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Vn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Vn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2VN

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2VN extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Vq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Vq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Vv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Vv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2W-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2W- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2w2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2w2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2W6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2W6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Wj

package 
{
    import mx.core.BitmapAsset;

    public class _-2Wj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2wS

package 
{
    import mx.core.BitmapAsset;

    public class _-2wS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Wt

package 
{
    import mx.core.BitmapAsset;

    public class _-2Wt extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Wu

package 
{
    import mx.core.BitmapAsset;

    public class _-2Wu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Ww

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Ww extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2x4

package 
{
    import mx.core.BitmapAsset;

    public class _-2x4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2X5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2X5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2x7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2x7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2XE

package 
{
    import mx.core.BitmapAsset;

    public class _-2XE extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2xf

package 
{
    import mx.core.BitmapAsset;

    public class _-2xf extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2XG

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2XG extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Xi

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Xi extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Xj

package 
{
    import mx.core.BitmapAsset;

    public class _-2Xj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2XL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2XL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2xN

package 
{
    import mx.core.BitmapAsset;

    public class _-2xN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2xO

package 
{
    import mx.core.BitmapAsset;

    public class _-2xO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2xR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2xR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2XS

package 
{
    import mx.core.BitmapAsset;

    public class _-2XS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2xY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2xY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2y

package 
{
    import mx.core.BitmapAsset;

    public class _-2y extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2YE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2YE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2YZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2YZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2z0

package 
{
    import mx.core.BitmapAsset;

    public class _-2z0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2z5

package 
{
    import mx.core.BitmapAsset;

    public class _-2z5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Zn

package 
{
    import mx.core.BitmapAsset;

    public class _-2Zn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2zu

package 
{
    import mx.core.BitmapAsset;

    public class _-2zu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Zu

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2Zu extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2zW

package 
{
    import mx.core.BitmapAsset;

    public class _-2zW extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2Zx

package 
{
    import mx.core.BitmapAsset;

    public class _-2Zx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2zY

package 
{
    import mx.core.BitmapAsset;

    public class _-2zY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-2ZZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-2ZZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-30m

package 
{
    import mx.core.BitmapAsset;

    public class _-30m extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-30u

package 
{
    import mx.core.ByteArrayAsset;

    public class _-30u extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-30W

package 
{
    import mx.core.ByteArrayAsset;

    public class _-30W extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-316

package 
{
    import mx.core.BitmapAsset;

    public class _-316 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-31A

package 
{
    import mx.core.BitmapAsset;

    public class _-31A extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-31E

package 
{
    import mx.core.ByteArrayAsset;

    public class _-31E extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-31J

package 
{
    import mx.core.ByteArrayAsset;

    public class _-31J extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-31m

package 
{
    import mx.core.ByteArrayAsset;

    public class _-31m extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-328

package 
{
    import mx.core.ByteArrayAsset;

    public class _-328 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-32J

package 
{
    import mx.core.BitmapAsset;

    public class _-32J extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-32m

package 
{
    import mx.core.ByteArrayAsset;

    public class _-32m extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-32T

package 
{
    import mx.core.ByteArrayAsset;

    public class _-32T extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-32w

package 
{
    import mx.core.ByteArrayAsset;

    public class _-32w extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-32y

package 
{
    import mx.core.ByteArrayAsset;

    public class _-32y extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-342

package 
{
    import mx.core.ByteArrayAsset;

    public class _-342 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-34s

package 
{
    import mx.core.BitmapAsset;

    public class _-34s extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-35d

package 
{
    import mx.core.ByteArrayAsset;

    public class _-35d extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-35M

package 
{
    import mx.core.BitmapAsset;

    public class _-35M extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-36d

package 
{
    import mx.core.BitmapAsset;

    public class _-36d extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-36D

package 
{
    import mx.core.ByteArrayAsset;

    public class _-36D extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-36H

package 
{
    import mx.core.BitmapAsset;

    public class _-36H extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-36J

package 
{
    import mx.core.ByteArrayAsset;

    public class _-36J extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-37j

package 
{
    import mx.core.BitmapAsset;

    public class _-37j extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-37t

package 
{
    import mx.core.BitmapAsset;

    public class _-37t extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-37T

package 
{
    import mx.core.ByteArrayAsset;

    public class _-37T extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-37u

package 
{
    import mx.core.BitmapAsset;

    public class _-37u extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-38d

package 
{
    import mx.core.ByteArrayAsset;

    public class _-38d extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-38D

package 
{
    import mx.core.ByteArrayAsset;

    public class _-38D extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-38k

package 
{
    import mx.core.BitmapAsset;

    public class _-38k extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-38S

package 
{
    import mx.core.ByteArrayAsset;

    public class _-38S extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-38T

package 
{
    import mx.core.BitmapAsset;

    public class _-38T extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-39I

package 
{
    import mx.core.ByteArrayAsset;

    public class _-39I extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-39m

package 
{
    import mx.core.ByteArrayAsset;

    public class _-39m extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3a6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3a6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3aa

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3aa extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3ad

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3ad extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3aD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3aD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3AK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3AK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3An

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3An extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3av

package 
{
    import mx.core.BitmapAsset;

    public class _-3av extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3aV

package 
{
    import mx.core.BitmapAsset;

    public class _-3aV extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3aX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3aX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Ax

package 
{
    import mx.core.BitmapAsset;

    public class _-3Ax extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3b5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3b5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3b9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3b9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3bc

package 
{
    import mx.core.BitmapAsset;

    public class _-3bc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3BC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3BC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Bd

package 
{
    import mx.core.BitmapAsset;

    public class _-3Bd extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3bE

package 
{
    import mx.core.BitmapAsset;

    public class _-3bE extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3bf

package 
{
    import mx.core.BitmapAsset;

    public class _-3bf extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3bj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3bj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Bp

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Bp extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3bT

package 
{
    import mx.core.BitmapAsset;

    public class _-3bT extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3bV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3bV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3bx

package 
{
    import mx.core.BitmapAsset;

    public class _-3bx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3BX

package 
{
    import mx.core.BitmapAsset;

    public class _-3BX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3C7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3C7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3ce

package 
{
    import mx.core.BitmapAsset;

    public class _-3ce extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Ch

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Ch extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3cK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3cK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3cM

package 
{
    import mx.core.BitmapAsset;

    public class _-3cM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Co

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Co extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Cv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Cv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Cx

package 
{
    import mx.core.BitmapAsset;

    public class _-3Cx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3CY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3CY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3cZ

package 
{
    import mx.core.BitmapAsset;

    public class _-3cZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3DB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3DB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3dc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3dc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3DG

package 
{
    import mx.core.BitmapAsset;

    public class _-3DG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3DR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3DR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3DS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3DS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3dy

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3dy extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3E8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3E8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3el

package 
{
    import mx.core.BitmapAsset;

    public class _-3el extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3eL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3eL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3eM

package 
{
    import mx.core.BitmapAsset;

    public class _-3eM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Em

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Em extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3eo

package 
{
    import mx.core.BitmapAsset;

    public class _-3eo extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Eo

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Eo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3F4

package 
{
    import mx.core.BitmapAsset;

    public class _-3F4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3F6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3F6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3fc

package 
{
    import mx.core.BitmapAsset;

    public class _-3fc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3FC

package 
{
    import mx.core.BitmapAsset;

    public class _-3FC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3fo

package 
{
    import mx.core.BitmapAsset;

    public class _-3fo extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3FS

package 
{
    import mx.core.BitmapAsset;

    public class _-3FS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Fv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Fv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3FZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3FZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3g4

package 
{
    import mx.core.BitmapAsset;

    public class _-3g4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3ge

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3ge extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Gn

package 
{
    import mx.core.BitmapAsset;

    public class _-3Gn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3gr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3gr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3gu

package 
{
    import mx.core.BitmapAsset;

    public class _-3gu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3h

package 
{
    import mx.core.BitmapAsset;

    public class _-3h extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3h4

package 
{
    import mx.core.BitmapAsset;

    public class _-3h4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3H6

package 
{
    import mx.core.BitmapAsset;

    public class _-3H6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3hS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3hS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Hx

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Hx extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3iD

package 
{
    import mx.core.BitmapAsset;

    public class _-3iD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3iE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3iE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3ik

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3ik extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3il

package 
{
    import mx.core.BitmapAsset;

    public class _-3il extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3IV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3IV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3IW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3IW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3ix

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3ix extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3J2

package 
{
    import mx.core.BitmapAsset;

    public class _-3J2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3j4

package 
{
    import mx.core.BitmapAsset;

    public class _-3j4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3j5

package 
{
    import mx.core.BitmapAsset;

    public class _-3j5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Je

package 
{
    import mx.core.BitmapAsset;

    public class _-3Je extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3JF

package 
{
    import mx.core.BitmapAsset;

    public class _-3JF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3jm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3jm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3jM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3jM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3jo

package 
{
    import mx.core.BitmapAsset;

    public class _-3jo extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3jT

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3jT extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3ju

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3ju extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3JW

package 
{
    import mx.core.BitmapAsset;

    public class _-3JW extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Kc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Kc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3kd

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3kd extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Ke

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Ke extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3kF

package 
{
    import mx.core.BitmapAsset;

    public class _-3kF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3km

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3km extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3kr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3kr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3kS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3kS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3kt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3kt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3l7

package 
{
    import mx.core.BitmapAsset;

    public class _-3l7 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3lb

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3lb extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3lD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3lD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3LI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3LI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3lj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3lj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3lL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3lL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3ln

package 
{
    import mx.core.BitmapAsset;

    public class _-3ln extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3lR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3lR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3lU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3lU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3lv

package 
{
    import mx.core.BitmapAsset;

    public class _-3lv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3lw

package 
{
    import mx.core.BitmapAsset;

    public class _-3lw extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3M-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3M- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3mc

package 
{
    import mx.core.BitmapAsset;

    public class _-3mc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3md

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3md extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3mn

package 
{
    import mx.core.BitmapAsset;

    public class _-3mn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3mR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3mR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Mv

package 
{
    import mx.core.BitmapAsset;

    public class _-3Mv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3N4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3N4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3nh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3nh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3nH

package 
{
    import mx.core.BitmapAsset;

    public class _-3nH extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3NI

package 
{
    import mx.core.BitmapAsset;

    public class _-3NI extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Nj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Nj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3nu

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3nu extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Nw

package 
{
    import mx.core.BitmapAsset;

    public class _-3Nw extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3nZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3nZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3O0

package 
{
    import mx.core.BitmapAsset;

    public class _-3O0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3o2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3o2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3o8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3o8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3oE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3oE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3OH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3OH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3oL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3oL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3OP

package 
{
    import mx.core.BitmapAsset;

    public class _-3OP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3oT

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3oT extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3OZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3OZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3p-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3p- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3p1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3p1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3p7

package 
{
    import mx.core.BitmapAsset;

    public class _-3p7 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3pC

package 
{
    import mx.core.BitmapAsset;

    public class _-3pC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3pf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3pf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3pg

package 
{
    import mx.core.BitmapAsset;

    public class _-3pg extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3PI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3PI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3pn

package 
{
    import mx.core.BitmapAsset;

    public class _-3pn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Pq

package 
{
    import mx.core.BitmapAsset;

    public class _-3Pq extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Pr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Pr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3pS

package 
{
    import mx.core.BitmapAsset;

    public class _-3pS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3PS

package 
{
    import mx.core.BitmapAsset;

    public class _-3PS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Pv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Pv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3pY

package 
{
    import mx.core.BitmapAsset;

    public class _-3pY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Q0

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Q0 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3q2

package 
{
    import mx.core.BitmapAsset;

    public class _-3q2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Q4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Q4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3q8

package 
{
    import mx.core.BitmapAsset;

    public class _-3q8 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3qd

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3qd extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Qd

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Qd extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3qi

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3qi extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3QK

package 
{
    import mx.core.BitmapAsset;

    public class _-3QK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3qQ

package 
{
    import mx.core.BitmapAsset;

    public class _-3qQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3qR

package 
{
    import mx.core.BitmapAsset;

    public class _-3qR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3qy

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3qy extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3-R

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3-R extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Rd

package 
{
    import mx.core.BitmapAsset;

    public class _-3Rd extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Rm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Rm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3rq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3rq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3rQ

package 
{
    import mx.core.BitmapAsset;

    public class _-3rQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3rT

package 
{
    import mx.core.BitmapAsset;

    public class _-3rT extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3RX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3RX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3S3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3S3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3s5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3s5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3SJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3SJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3sp

package 
{
    import mx.core.BitmapAsset;

    public class _-3sp extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3t7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3t7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3TE

package 
{
    import mx.core.BitmapAsset;

    public class _-3TE extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3tL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3tL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3tP

package 
{
    import mx.core.BitmapAsset;

    public class _-3tP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3-U

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3-U extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3UM

package 
{
    import mx.core.BitmapAsset;

    public class _-3UM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3UO

package 
{
    import mx.core.BitmapAsset;

    public class _-3UO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3uU

package 
{
    import mx.core.BitmapAsset;

    public class _-3uU extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3uX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3uX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3V8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3V8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3vf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3vf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3vG

package 
{
    import mx.core.BitmapAsset;

    public class _-3vG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3vM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3vM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3VP

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3VP extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3w9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3w9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3wa

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3wa extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Wc

package 
{
    import mx.core.BitmapAsset;

    public class _-3Wc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Wd

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Wd extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Wf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Wf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3WG

package 
{
    import mx.core.BitmapAsset;

    public class _-3WG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3WK

package 
{
    import mx.core.BitmapAsset;

    public class _-3WK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3X4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3X4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3xA

package 
{
    import mx.core.BitmapAsset;

    public class _-3xA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3XF

package 
{
    import mx.core.BitmapAsset;

    public class _-3XF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3XU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3XU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3xw

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3xw extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3XX

package 
{
    import mx.core.BitmapAsset;

    public class _-3XX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3YD

package 
{
    import mx.core.BitmapAsset;

    public class _-3YD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Yg

package 
{
    import mx.core.BitmapAsset;

    public class _-3Yg extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Yh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Yh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3yi

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3yi extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3YK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3YK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3yn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3yn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3yN

package 
{
    import mx.core.BitmapAsset;

    public class _-3yN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3yp

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3yp extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3yt

package 
{
    import mx.core.FontAsset;

    public class _-3yt extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3yT

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3yT extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Yv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3Yv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3z-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3z- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Z4

package 
{
    import mx.core.BitmapAsset;

    public class _-3Z4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3z7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3z7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3z9

package 
{
    import mx.core.BitmapAsset;

    public class _-3z9 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3zI

package 
{
    import mx.core.BitmapAsset;

    public class _-3zI extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Zj

package 
{
    import mx.core.BitmapAsset;

    public class _-3Zj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3ZK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-3ZK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3zm

package 
{
    import mx.core.BitmapAsset;

    public class _-3zm extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-3Zo

package 
{
    import mx.core.BitmapAsset;

    public class _-3Zo extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-40w

package 
{
    import mx.core.ByteArrayAsset;

    public class _-40w extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-41k

package 
{
    import mx.core.BitmapAsset;

    public class _-41k extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-41L

package 
{
    import mx.core.BitmapAsset;

    public class _-41L extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-42x

package 
{
    import mx.core.ByteArrayAsset;

    public class _-42x extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-42Y

package 
{
    import mx.core.BitmapAsset;

    public class _-42Y extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-438

package 
{
    import mx.core.BitmapAsset;

    public class _-438 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-43h

package 
{
    import mx.core.BitmapAsset;

    public class _-43h extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-43j

package 
{
    import mx.core.BitmapAsset;

    public class _-43j extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-43n

package 
{
    import mx.core.ByteArrayAsset;

    public class _-43n extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-43p

package 
{
    import mx.core.ByteArrayAsset;

    public class _-43p extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-43X

package 
{
    import mx.core.BitmapAsset;

    public class _-43X extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-446

package 
{
    import mx.core.BitmapAsset;

    public class _-446 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-449

package 
{
    import mx.core.BitmapAsset;

    public class _-449 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-44J

package 
{
    import mx.core.BitmapAsset;

    public class _-44J extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-44w

package 
{
    import mx.core.BitmapAsset;

    public class _-44w extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-44Z

package 
{
    import mx.core.BitmapAsset;

    public class _-44Z extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-453

package 
{
    import mx.core.ByteArrayAsset;

    public class _-453 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-455

package 
{
    import mx.core.BitmapAsset;

    public class _-455 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-45c

package 
{
    import mx.core.BitmapAsset;

    public class _-45c extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-45g

package 
{
    import mx.core.ByteArrayAsset;

    public class _-45g extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-45v

package 
{
    import mx.core.FontAsset;

    public class _-45v extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-45y

package 
{
    import mx.core.BitmapAsset;

    public class _-45y extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-46c

package 
{
    import mx.core.ByteArrayAsset;

    public class _-46c extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-46J

package 
{
    import mx.core.ByteArrayAsset;

    public class _-46J extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-46M

package 
{
    import mx.core.ByteArrayAsset;

    public class _-46M extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-46n

package 
{
    import mx.core.ByteArrayAsset;

    public class _-46n extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-46S

package 
{
    import mx.core.ByteArrayAsset;

    public class _-46S extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-47-

package 
{
    import mx.core.BitmapAsset;

    public class _-47- extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-47b

package 
{
    import mx.core.BitmapAsset;

    public class _-47b extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-47h

package 
{
    import mx.core.ByteArrayAsset;

    public class _-47h extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-48e

package 
{
    import mx.core.BitmapAsset;

    public class _-48e extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-48K

package 
{
    import mx.core.BitmapAsset;

    public class _-48K extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-48S

package 
{
    import mx.core.BitmapAsset;

    public class _-48S extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-48U

package 
{
    import mx.core.ByteArrayAsset;

    public class _-48U extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-490

package 
{
    import mx.core.ByteArrayAsset;

    public class _-490 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-491

package 
{
    import mx.core.ByteArrayAsset;

    public class _-491 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-49k

package 
{
    import mx.core.ByteArrayAsset;

    public class _-49k extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-49l

package 
{
    import mx.core.BitmapAsset;

    public class _-49l extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-49O

package 
{
    import mx.core.BitmapAsset;

    public class _-49O extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4AD

package 
{
    import mx.core.BitmapAsset;

    public class _-4AD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Af

package 
{
    import mx.core.BitmapAsset;

    public class _-4Af extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4aG

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4aG extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4AK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4AK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4an

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4an extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4An

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4An extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4As

package 
{
    import mx.core.BitmapAsset;

    public class _-4As extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Au

package 
{
    import mx.core.BitmapAsset;

    public class _-4Au extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4aV

package 
{
    import mx.core.BitmapAsset;

    public class _-4aV extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4AY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4AY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4-b

package 
{
    import mx.core.BitmapAsset;

    public class _-4-b extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4BB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4BB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4bg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4bg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4bM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4bM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4bT

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4bT extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4bW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4bW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Bx

package 
{
    import mx.core.BitmapAsset;

    public class _-4Bx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4C0

package 
{
    import mx.core.BitmapAsset;

    public class _-4C0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4ck

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4ck extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Cl

package 
{
    import mx.core.BitmapAsset;

    public class _-4Cl extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4cM

package 
{
    import mx.core.BitmapAsset;

    public class _-4cM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4cO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4cO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4CQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4CQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4CS

package 
{
    import mx.core.BitmapAsset;

    public class _-4CS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4cy

package 
{
    import mx.core.BitmapAsset;

    public class _-4cy extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4-d

package 
{
    import mx.core.BitmapAsset;

    public class _-4-d extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4D1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4D1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4D3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4D3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4D9

package 
{
    import mx.core.BitmapAsset;

    public class _-4D9 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Dm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Dm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4dO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4dO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4DR

package 
{
    import mx.core.BitmapAsset;

    public class _-4DR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4dU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4dU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4dz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4dz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Eb

package 
{
    import mx.core.BitmapAsset;

    public class _-4Eb extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4ef

package 
{
    import mx.core.BitmapAsset;

    public class _-4ef extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Eh

package 
{
    import mx.core.BitmapAsset;

    public class _-4Eh extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4eL

package 
{
    import mx.core.BitmapAsset;

    public class _-4eL extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4en

package 
{
    import mx.core.BitmapAsset;

    public class _-4en extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4En

package 
{
    import mx.core.BitmapAsset;

    public class _-4En extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4eQ

package 
{
    import mx.core.BitmapAsset;

    public class _-4eQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4er

package 
{
    import mx.core.BitmapAsset;

    public class _-4er extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4F-

package 
{
    import mx.core.BitmapAsset;

    public class _-4F- extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Fc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Fc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4fD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4fD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4FD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4FD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4fE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4fE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4ff

package 
{
    import mx.core.BitmapAsset;

    public class _-4ff extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Fi

package 
{
    import mx.core.BitmapAsset;

    public class _-4Fi extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4fL

package 
{
    import mx.core.BitmapAsset;

    public class _-4fL extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4fq

package 
{
    import mx.core.BitmapAsset;

    public class _-4fq extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4fr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4fr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Ft

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Ft extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4g1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4g1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4GG

package 
{
    import mx.core.BitmapAsset;

    public class _-4GG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4gK

package 
{
    import mx.core.BitmapAsset;

    public class _-4gK extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4gS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4gS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4gW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4gW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4H1

package 
{
    import mx.core.BitmapAsset;

    public class _-4H1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4h5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4h5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4HF

package 
{
    import mx.core.BitmapAsset;

    public class _-4HF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4hj

package 
{
    import mx.core.BitmapAsset;

    public class _-4hj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4HO

package 
{
    import mx.core.BitmapAsset;

    public class _-4HO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4HS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4HS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4I1

package 
{
    import mx.core.BitmapAsset;

    public class _-4I1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4i2

package 
{
    import mx.core.BitmapAsset;

    public class _-4i2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Ie

package 
{
    import mx.core.BitmapAsset;

    public class _-4Ie extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4if

package 
{
    import mx.core.BitmapAsset;

    public class _-4if extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4IF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4IF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4ih

package 
{
    import mx.core.BitmapAsset;

    public class _-4ih extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4im

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4im extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4IN

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4IN extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Ip

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Ip extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4IP

package 
{
    import mx.core.BitmapAsset;

    public class _-4IP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4J-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4J- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4J0

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4J0 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4J1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4J1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4J3

package 
{
    import mx.core.BitmapAsset;

    public class _-4J3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Jb

package 
{
    import mx.core.BitmapAsset;

    public class _-4Jb extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Jc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Jc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Jp

package 
{
    import mx.core.BitmapAsset;

    public class _-4Jp extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4JY

package 
{
    import mx.core.BitmapAsset;

    public class _-4JY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4jz

package 
{
    import mx.core.BitmapAsset;

    public class _-4jz extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4K

package 
{
    import mx.core.BitmapAsset;

    public class _-4K extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4k1

package 
{
    import mx.core.BitmapAsset;

    public class _-4k1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4kb

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4kb extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Kc

package 
{
    import mx.core.BitmapAsset;

    public class _-4Kc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Ke

package 
{
    import mx.core.BitmapAsset;

    public class _-4Ke extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4kH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4kH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Kh

package 
{
    import mx.core.BitmapAsset;

    public class _-4Kh extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4kO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4kO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4kV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4kV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4-L

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4-L extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4L4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4L4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4L6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4L6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4l8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4l8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4lB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4lB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Lh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Lh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4LK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4LK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4ln

package 
{
    import mx.core.BitmapAsset;

    public class _-4ln extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4lX

package 
{
    import mx.core.BitmapAsset;

    public class _-4lX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Lz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Lz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4M3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4M3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4M4

package 
{
    import mx.core.BitmapAsset;

    public class _-4M4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4M9

package 
{
    import mx.core.BitmapAsset;

    public class _-4M9 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Mc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Mc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4me

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4me extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4mE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4mE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4mj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4mj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4n-

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4n- extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4n6

package 
{
    import mx.core.BitmapAsset;

    public class _-4n6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4nA

package 
{
    import mx.core.BitmapAsset;

    public class _-4nA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Ne

package 
{
    import mx.core.BitmapAsset;

    public class _-4Ne extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Nj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Nj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4NQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4NQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4nr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4nr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4ns

package 
{
    import mx.core.BitmapAsset;

    public class _-4ns extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4nS

package 
{
    import mx.core.BitmapAsset;

    public class _-4nS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4o4

package 
{
    import mx.core.BitmapAsset;

    public class _-4o4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4o5

package 
{
    import mx.core.BitmapAsset;

    public class _-4o5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4oC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4oC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4oJ

package 
{
    import mx.core.BitmapAsset;

    public class _-4oJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4oq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4oq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4oT

package 
{
    import mx.core.BitmapAsset;

    public class _-4oT extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4oU

package 
{
    import mx.core.BitmapAsset;

    public class _-4oU extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4OU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4OU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4OZ

package 
{
    import mx.core.BitmapAsset;

    public class _-4OZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4p3

package 
{
    import mx.core.BitmapAsset;

    public class _-4p3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4p6

package 
{
    import mx.core.BitmapAsset;

    public class _-4p6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4PC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4PC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Pe

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Pe extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4pI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4pI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Pn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Pn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4po

package 
{
    import mx.core.BitmapAsset;

    public class _-4po extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4qJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4qJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Qs

package 
{
    import mx.core.BitmapAsset;

    public class _-4Qs extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Qx

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Qx extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4qY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4qY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4-R

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4-R extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4r2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4r2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4r3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4r3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4r4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4r4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4rE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4rE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4rh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4rh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4RI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4RI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Rj

package 
{
    import mx.core.BitmapAsset;

    public class _-4Rj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Rk

package 
{
    import mx.core.BitmapAsset;

    public class _-4Rk extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Rm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Rm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4RT

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4RT extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4rY

package 
{
    import mx.core.BitmapAsset;

    public class _-4rY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4rZ

package 
{
    import mx.core.BitmapAsset;

    public class _-4rZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4s0

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4s0 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4S8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4S8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Sk

package 
{
    import mx.core.BitmapAsset;

    public class _-4Sk extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4SO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4SO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Su

package 
{
    import mx.core.FontAsset;

    public class _-4Su extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4sy

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4sy extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4tc

package 
{
    import mx.core.BitmapAsset;

    public class _-4tc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4TC

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4TC extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4tS

package 
{
    import mx.core.BitmapAsset;

    public class _-4tS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4tv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4tv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Tz

package 
{
    import mx.core.BitmapAsset;

    public class _-4Tz extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Uc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Uc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Uh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Uh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Uu

package 
{
    import mx.core.BitmapAsset;

    public class _-4Uu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4uZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4uZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Uz

package 
{
    import mx.core.BitmapAsset;

    public class _-4Uz extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4v2

package 
{
    import mx.core.BitmapAsset;

    public class _-4v2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4V3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4V3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4V5

package 
{
    import mx.core.BitmapAsset;

    public class _-4V5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4vD

package 
{
    import mx.core.BitmapAsset;

    public class _-4vD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4VE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4VE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4vf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4vf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4vg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4vg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4VI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4VI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4VL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4VL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4vS

package 
{
    import mx.core.BitmapAsset;

    public class _-4vS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Vu

package 
{
    import mx.core.BitmapAsset;

    public class _-4Vu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4VW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4VW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4W2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4W2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4w6

package 
{
    import mx.core.BitmapAsset;

    public class _-4w6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4w9

package 
{
    import mx.core.BitmapAsset;

    public class _-4w9 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4wB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4wB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4wF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4wF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4WF

package 
{
    import mx.core.BitmapAsset;

    public class _-4WF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4WG

package 
{
    import mx.core.BitmapAsset;

    public class _-4WG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4wL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4wL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4WM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4WM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4wx

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4wx extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4x8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4x8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4XC

package 
{
    import mx.core.BitmapAsset;

    public class _-4XC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4XF

package 
{
    import mx.core.BitmapAsset;

    public class _-4XF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4xo

package 
{
    import mx.core.BitmapAsset;

    public class _-4xo extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4XU

package 
{
    import mx.core.BitmapAsset;

    public class _-4XU extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4xv

package 
{
    import mx.core.BitmapAsset;

    public class _-4xv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Y

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Y extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4y8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4y8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Y9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Y9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Yc

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Yc extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4yf

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4yf extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4yj

package 
{
    import mx.core.BitmapAsset;

    public class _-4yj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4YK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4YK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Yq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Yq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4YQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4YQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4yR

package 
{
    import mx.core.BitmapAsset;

    public class _-4yR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Yr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Yr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4YV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4YV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4yx

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4yx extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4YX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4YX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Yy

package 
{
    import mx.core.BitmapAsset;

    public class _-4Yy extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4zg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4zg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Zh

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Zh extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4zY

package 
{
    import mx.core.BitmapAsset;

    public class _-4zY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4Zz

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4Zz extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-4ZZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-4ZZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-50O

package 
{
    import mx.core.ByteArrayAsset;

    public class _-50O extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-50U

package 
{
    import mx.core.BitmapAsset;

    public class _-50U extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-50y

package 
{
    import mx.core.BitmapAsset;

    public class _-50y extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-50Y

package 
{
    import mx.core.ByteArrayAsset;

    public class _-50Y extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-510

package 
{
    import mx.core.ByteArrayAsset;

    public class _-510 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-511

package 
{
    import mx.core.ByteArrayAsset;

    public class _-511 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-51a

package 
{
    import mx.core.ByteArrayAsset;

    public class _-51a extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-51j

package 
{
    import mx.core.BitmapAsset;

    public class _-51j extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-51w

package 
{
    import mx.core.ByteArrayAsset;

    public class _-51w extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-523

package 
{
    import mx.core.ByteArrayAsset;

    public class _-523 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-527

package 
{
    import mx.core.ByteArrayAsset;

    public class _-527 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-52k

package 
{
    import mx.core.ByteArrayAsset;

    public class _-52k extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-53e

package 
{
    import mx.core.BitmapAsset;

    public class _-53e extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-53q

package 
{
    import mx.core.ByteArrayAsset;

    public class _-53q extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-54a

package 
{
    import mx.core.ByteArrayAsset;

    public class _-54a extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-54m

package 
{
    import mx.core.BitmapAsset;

    public class _-54m extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-54o

package 
{
    import mx.core.ByteArrayAsset;

    public class _-54o extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-54t

package 
{
    import mx.core.BitmapAsset;

    public class _-54t extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-54v

package 
{
    import mx.core.BitmapAsset;

    public class _-54v extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-551

package 
{
    import mx.core.ByteArrayAsset;

    public class _-551 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-552

package 
{
    import mx.core.ByteArrayAsset;

    public class _-552 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-55f

package 
{
    import mx.core.BitmapAsset;

    public class _-55f extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-56B

package 
{
    import mx.core.ByteArrayAsset;

    public class _-56B extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-56N

package 
{
    import mx.core.ByteArrayAsset;

    public class _-56N extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-56Q

package 
{
    import mx.core.BitmapAsset;

    public class _-56Q extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-57A

package 
{
    import mx.core.ByteArrayAsset;

    public class _-57A extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-57H

package 
{
    import mx.core.BitmapAsset;

    public class _-57H extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-57l

package 
{
    import mx.core.ByteArrayAsset;

    public class _-57l extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-57L

package 
{
    import mx.core.ByteArrayAsset;

    public class _-57L extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-57u

package 
{
    import mx.core.BitmapAsset;

    public class _-57u extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-57y

package 
{
    import mx.core.BitmapAsset;

    public class _-57y extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-580

package 
{
    import mx.core.ByteArrayAsset;

    public class _-580 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-58D

package 
{
    import mx.core.ByteArrayAsset;

    public class _-58D extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-58L

package 
{
    import mx.core.ByteArrayAsset;

    public class _-58L extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-58Q

package 
{
    import mx.core.ByteArrayAsset;

    public class _-58Q extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-58s

package 
{
    import mx.core.ByteArrayAsset;

    public class _-58s extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-58u

package 
{
    import mx.core.BitmapAsset;

    public class _-58u extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-591

package 
{
    import mx.core.ByteArrayAsset;

    public class _-591 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-59C

package 
{
    import mx.core.ByteArrayAsset;

    public class _-59C extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-59f

package 
{
    import mx.core.ByteArrayAsset;

    public class _-59f extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-59J

package 
{
    import mx.core.BitmapAsset;

    public class _-59J extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-59S

package 
{
    import mx.core.BitmapAsset;

    public class _-59S extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-59T

package 
{
    import mx.core.ByteArrayAsset;

    public class _-59T extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-59u

package 
{
    import mx.core.BitmapAsset;

    public class _-59u extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-59V

package 
{
    import mx.core.BitmapAsset;

    public class _-59V extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-59W

package 
{
    import mx.core.BitmapAsset;

    public class _-59W extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5A1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5A1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Ao

package 
{
    import mx.core.BitmapAsset;

    public class _-5Ao extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Av

package 
{
    import mx.core.BitmapAsset;

    public class _-5Av extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5AX

package 
{
    import mx.core.BitmapAsset;

    public class _-5AX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5AZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5AZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Bi

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5Bi extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5BT

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5BT extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Bx

package 
{
    import mx.core.BitmapAsset;

    public class _-5Bx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5C1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5C1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5C3

package 
{
    import mx.core.BitmapAsset;

    public class _-5C3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5C6

package 
{
    import mx.core.BitmapAsset;

    public class _-5C6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5CS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5CS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Cu

package 
{
    import mx.core.BitmapAsset;

    public class _-5Cu extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Cz

package 
{
    import mx.core.FontAsset;

    public class _-5Cz extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Dr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5Dr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5E3

package 
{
    import mx.core.BitmapAsset;

    public class _-5E3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Eg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5Eg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Ei

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5Ei extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5EK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5EK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5Er

package 
{
    import mx.core.BitmapAsset;

    public class _-5Er extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5ES

package 
{
    import mx.core.BitmapAsset;

    public class _-5ES extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5EV

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5EV extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5EW

package 
{
    import mx.core.BitmapAsset;

    public class _-5EW extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5-i

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5-i extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5n

package 
{
    import mx.core.BitmapAsset;

    public class _-5n extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5p

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5p extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5R

package 
{
    import mx.core.ByteArrayAsset;

    public class _-5R extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-5-y

package 
{
    import mx.core.BitmapAsset;

    public class _-5-y extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-6-

package 
{
    import mx.core.BitmapAsset;

    public class _-6- extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-6g

package 
{
    import mx.core.BitmapAsset;

    public class _-6g extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-6m

package 
{
    import mx.core.ByteArrayAsset;

    public class _-6m extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-6t

package 
{
    import mx.core.ByteArrayAsset;

    public class _-6t extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-6U

package 
{
    import mx.core.ByteArrayAsset;

    public class _-6U extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-6v

package 
{
    import mx.core.BitmapAsset;

    public class _-6v extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-7C

package 
{
    import mx.core.BitmapAsset;

    public class _-7C extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-7D

package 
{
    import mx.core.ByteArrayAsset;

    public class _-7D extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-7L

package 
{
    import mx.core.BitmapAsset;

    public class _-7L extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-83

package 
{
    import mx.core.BitmapAsset;

    public class _-83 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-88

package 
{
    import mx.core.BitmapAsset;

    public class _-88 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-8A

package 
{
    import mx.core.ByteArrayAsset;

    public class _-8A extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-8N

package 
{
    import mx.core.BitmapAsset;

    public class _-8N extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-8W

package 
{
    import mx.core.ByteArrayAsset;

    public class _-8W extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-97

package 
{
    import mx.core.BitmapAsset;

    public class _-97 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-98

package 
{
    import mx.core.BitmapAsset;

    public class _-98 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-99

package 
{
    import mx.core.BitmapAsset;

    public class _-99 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-9e

package 
{
    import mx.core.BitmapAsset;

    public class _-9e extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-9f

package 
{
    import mx.core.BitmapAsset;

    public class _-9f extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-9I

package 
{
    import mx.core.BitmapAsset;

    public class _-9I extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-9y

package 
{
    import mx.core.BitmapAsset;

    public class _-9y extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-aB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-aB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ab

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Ab extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-aF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-aF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Af

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Af extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-AQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-AQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-b1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-b1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-BL

package 
{
    import mx.core.BitmapAsset;

    public class _-BL extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-bn

package 
{
    import mx.core.BitmapAsset;

    public class _-bn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-bN

package 
{
    import mx.core.BitmapAsset;

    public class _-bN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Bq

package 
{
    import mx.core.BitmapAsset;

    public class _-Bq extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-br

package 
{
    import mx.core.ByteArrayAsset;

    public class _-br extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-bt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-bt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-C2

package 
{
    import mx.core.BitmapAsset;

    public class _-C2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-cC

package 
{
    import mx.core.BitmapAsset;

    public class _-cC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-cg

package 
{
    import mx.core.BitmapAsset;

    public class _-cg extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-CG

package 
{
    import mx.core.ByteArrayAsset;

    public class _-CG extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ch

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Ch extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Cj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Cj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-cL

package 
{
    import mx.core.BitmapAsset;

    public class _-cL extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-cM

package 
{
    import mx.core.ByteArrayAsset;

    public class _-cM extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Cm

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Cm extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-cn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-cn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-cr

package 
{
    import mx.core.ByteArrayAsset;

    public class _-cr extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-CX

package 
{
    import mx.core.BitmapAsset;

    public class _-CX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-cY

package 
{
    import mx.core.BitmapAsset;

    public class _-cY extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-d3

package 
{
    import mx.core.BitmapAsset;

    public class _-d3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-d9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-d9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Da

package 
{
    import mx.core.BitmapAsset;

    public class _-Da extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-DD

package 
{
    import mx.core.BitmapAsset;

    public class _-DD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-dE

package 
{
    import mx.core.BitmapAsset;

    public class _-dE extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-dJ

package 
{
    import mx.core.BitmapAsset;

    public class _-dJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-dk

package 
{
    import mx.core.BitmapAsset;

    public class _-dk extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-DK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-DK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-e0

package 
{
    import mx.core.BitmapAsset;

    public class _-e0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ef

package 
{
    import mx.core.ByteArrayAsset;

    public class _-ef extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-EF

package 
{
    import mx.core.BitmapAsset;

    public class _-EF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-eG

package 
{
    import mx.core.BitmapAsset;

    public class _-eG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-EK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-EK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-El

package 
{
    import mx.core.ByteArrayAsset;

    public class _-El extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-EL

package 
{
    import mx.core.BitmapAsset;

    public class _-EL extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-en

package 
{
    import mx.core.BitmapAsset;

    public class _-en extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-EQ

package 
{
    import mx.core.BitmapAsset;

    public class _-EQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Es

package 
{
    import mx.core.BitmapAsset;

    public class _-Es extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-EY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-EY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-fe

package 
{
    import mx.core.BitmapAsset;

    public class _-fe extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Fi

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Fi extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Fk

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Fk extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-fn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-fn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-FN

package 
{
    import mx.core.BitmapAsset;

    public class _-FN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-fR

package 
{
    import mx.core.BitmapAsset;

    public class _-fR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-fU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-fU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-fV

package 
{
    import mx.core.BitmapAsset;

    public class _-fV extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-fw

package 
{
    import mx.core.ByteArrayAsset;

    public class _-fw extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-fx

package 
{
    import mx.core.BitmapAsset;

    public class _-fx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-G

package 
{
    import mx.core.BitmapAsset;

    public class _-G extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-G4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-G4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-GC

package 
{
    import mx.core.BitmapAsset;

    public class _-GC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ge

package 
{
    import mx.core.BitmapAsset;

    public class _-Ge extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-GH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-GH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-gJ

package 
{
    import mx.core.BitmapAsset;

    public class _-gJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-GK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-GK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Go

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Go extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-gp

package 
{
    import mx.core.ByteArrayAsset;

    public class _-gp extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Gt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Gt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Gv

package 
{
    import mx.core.BitmapAsset;

    public class _-Gv extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-h7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-h7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ha

package 
{
    import mx.core.BitmapAsset;

    public class _-Ha extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-hc

package 
{
    import mx.core.BitmapAsset;

    public class _-hc extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-HD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-HD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ho

package 
{
    import mx.core.BitmapAsset;

    public class _-ho extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-HZ

package 
{
    import mx.core.BitmapAsset;

    public class _-HZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-i3

package 
{
    import mx.core.BitmapAsset;

    public class _-i3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-I7

package 
{
    import mx.core.ByteArrayAsset;

    public class _-I7 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-I9

package 
{
    import mx.core.BitmapAsset;

    public class _-I9 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ia

package 
{
    import mx.core.ByteArrayAsset;

    public class _-ia extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ID

package 
{
    import mx.core.BitmapAsset;

    public class _-ID extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ii

package 
{
    import mx.core.BitmapAsset;

    public class _-Ii extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-iR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-iR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-IR

package 
{
    import mx.core.BitmapAsset;

    public class _-IR extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-J3

package 
{
    import mx.core.BitmapAsset;

    public class _-J3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-J4

package 
{
    import mx.core.BitmapAsset;

    public class _-J4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-J6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-J6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-jG

package 
{
    import mx.core.BitmapAsset;

    public class _-jG extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-JI

package 
{
    import mx.core.BitmapAsset;

    public class _-JI extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-jp

package 
{
    import mx.core.ByteArrayAsset;

    public class _-jp extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-jt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-jt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-jU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-jU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-jY

package 
{
    import mx.core.ByteArrayAsset;

    public class _-jY extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-k5

package 
{
    import mx.core.BitmapAsset;

    public class _-k5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-k6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-k6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-KB

package 
{
    import mx.core.BitmapAsset;

    public class _-KB extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-KC

package 
{
    import mx.core.BitmapAsset;

    public class _-KC extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-kD

package 
{
    import mx.core.BitmapAsset;

    public class _-kD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-kH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-kH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-KH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-KH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-kI

package 
{
    import mx.core.BitmapAsset;

    public class _-kI extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-KI

package 
{
    import mx.core.BitmapAsset;

    public class _-KI extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-kk

package 
{
    import mx.core.ByteArrayAsset;

    public class _-kk extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Kr

package 
{
    import mx.core.BitmapAsset;

    public class _-Kr extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ku

package 
{
    import mx.core.BitmapAsset;

    public class _-ku extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-kw

package 
{
    import mx.core.ByteArrayAsset;

    public class _-kw extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-KX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-KX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ky

package 
{
    import mx.core.BitmapAsset;

    public class _-Ky extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-kz

package 
{
    import mx.core.BitmapAsset;

    public class _-kz extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-l5

package 
{
    import mx.core.BitmapAsset;

    public class _-l5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-L5

package 
{
    import mx.core.BitmapAsset;

    public class _-L5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-l8

package 
{
    import mx.core.ByteArrayAsset;

    public class _-l8 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ld

package 
{
    import mx.core.BitmapAsset;

    public class _-ld extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-LF

package 
{
    import mx.core.ByteArrayAsset;

    public class _-LF extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-lg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-lg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-lP

package 
{
    import mx.core.ByteArrayAsset;

    public class _-lP extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-lQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-lQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ls

package 
{
    import mx.core.ByteArrayAsset;

    public class _-ls extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-LW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-LW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-M3

package 
{
    import mx.core.BitmapAsset;

    public class _-M3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-mb

package 
{
    import mx.core.BitmapAsset;

    public class _-mb extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-md

package 
{
    import mx.core.ByteArrayAsset;

    public class _-md extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-mD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-mD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-mG

package 
{
    import mx.core.ByteArrayAsset;

    public class _-mG extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-mi

package 
{
    import mx.core.ByteArrayAsset;

    public class _-mi extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-MJ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-MJ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-mn

package 
{
    import mx.core.BitmapAsset;

    public class _-mn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Mo

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Mo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-MQ

package 
{
    import mx.core.BitmapAsset;

    public class _-MQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-mS

package 
{
    import mx.core.BitmapAsset;

    public class _-mS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-N-

package 
{
    import mx.core.BitmapAsset;

    public class _-N- extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-nA

package 
{
    import mx.core.ByteArrayAsset;

    public class _-nA extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Nb

package 
{
    import _-1B-._-5AI;

    public class _-Nb 
    {

        public static var _-3z4:_-5AI;

        public static function log(... _args):void
        {
        }

    }
}//package 

//------------------------------------------------------------
//_-NF

package 
{
    import mx.core.BitmapAsset;

    public class _-NF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ng

package 
{
    import mx.core.BitmapAsset;

    public class _-ng extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-NJ

package 
{
    import mx.core.BitmapAsset;

    public class _-NJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-nL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-nL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-NM

package 
{
    import mx.core.BitmapAsset;

    public class _-NM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-nN

package 
{
    import mx.core.BitmapAsset;

    public class _-nN extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-nq

package 
{
    import mx.core.BitmapAsset;

    public class _-nq extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-NS

package 
{
    import mx.core.BitmapAsset;

    public class _-NS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-NU

package 
{
    import mx.core.BitmapAsset;

    public class _-NU extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-nZ

package 
{
    import mx.core.BitmapAsset;

    public class _-nZ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Nz

package 
{
    import mx.core.BitmapAsset;

    public class _-Nz extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-o-

package 
{
    import mx.core.BitmapAsset;

    public class _-o- extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-oF

package 
{
    import mx.core.BitmapAsset;

    public class _-oF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-oh

package 
{
    import mx.core.BitmapAsset;

    public class _-oh extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-OH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-OH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ol

package 
{
    import mx.core.BitmapAsset;

    public class _-ol extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ol

package 
{
    import mx.core.BitmapAsset;

    public class _-Ol extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Op

package 
{
    import mx.core.BitmapAsset;

    public class _-Op extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-os

package 
{
    import mx.core.BitmapAsset;

    public class _-os extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-OS

package 
{
    import mx.core.ByteArrayAsset;

    public class _-OS extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-oU

package 
{
    import mx.core.BitmapAsset;

    public class _-oU extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-OX

package 
{
    import mx.core.BitmapAsset;

    public class _-OX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-p4

package 
{
    import mx.core.ByteArrayAsset;

    public class _-p4 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-PH

package 
{
    import mx.core.ByteArrayAsset;

    public class _-PH extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-pI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-pI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Pn

package 
{
    import mx.core.BitmapAsset;

    public class _-Pn extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-pQ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-pQ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Q1

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Q1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-q5

package 
{
    import mx.core.BitmapAsset;

    public class _-q5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Q5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Q5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Q9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Q9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Qb

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Qb extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-qD

package 
{
    import mx.core.BitmapAsset;

    public class _-qD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Qh

package 
{
    import mx.core.BitmapAsset;

    public class _-Qh extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-QP

package 
{
    import mx.core.BitmapAsset;

    public class _-QP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-qq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-qq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-qs

package 
{
    import mx.core.BitmapAsset;

    public class _-qs extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-qt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-qt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-qx

package 
{
    import mx.core.ByteArrayAsset;

    public class _-qx extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-R2

package 
{
    import mx.core.BitmapAsset;

    public class _-R2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-r5

package 
{
    import mx.core.ByteArrayAsset;

    public class _-r5 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-rB

package 
{
    import mx.core.ByteArrayAsset;

    public class _-rB extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-RD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-RD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Rg

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Rg extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ri

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Ri extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-rn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-rn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-rq

package 
{
    import mx.core.ByteArrayAsset;

    public class _-rq extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-RR

package 
{
    import mx.core.ByteArrayAsset;

    public class _-RR extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Rs

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Rs extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-rt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-rt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-rW

package 
{
    import mx.core.BitmapAsset;

    public class _-rW extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-rX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-rX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ry

package 
{
    import mx.core.ByteArrayAsset;

    public class _-ry extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-sE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-sE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-sH

package 
{
    import mx.core.BitmapAsset;

    public class _-sH extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Si

package 
{
    import mx.core.BitmapAsset;

    public class _-Si extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Sj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Sj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Sl

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Sl extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-SN

package 
{
    import mx.core.ByteArrayAsset;

    public class _-SN extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-sP

package 
{
    import mx.core.ByteArrayAsset;

    public class _-sP extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-SP

package 
{
    import mx.core.ByteArrayAsset;

    public class _-SP extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-SQ

package 
{
    import mx.core.BitmapAsset;

    public class _-SQ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ss

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Ss extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-sU

package 
{
    import mx.core.ByteArrayAsset;

    public class _-sU extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-sx

package 
{
    import mx.core.BitmapAsset;

    public class _-sx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-t3

package 
{
    import mx.core.ByteArrayAsset;

    public class _-t3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-t6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-t6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-t9

package 
{
    import mx.core.BitmapAsset;

    public class _-t9 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-T9

package 
{
    import mx.core.ByteArrayAsset;

    public class _-T9 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-TA

package 
{
    import mx.core.BitmapAsset;

    public class _-TA extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-TM

package 
{
    import mx.core.BitmapAsset;

    public class _-TM extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Tv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Tv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ua

package 
{
    import mx.core.ByteArrayAsset;

    public class _-ua extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-uA

package 
{
    import mx.core.ByteArrayAsset;

    public class _-uA extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-uD

package 
{
    import mx.core.ByteArrayAsset;

    public class _-uD extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ud

package 
{
    import mx.core.BitmapAsset;

    public class _-Ud extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-UE

package 
{
    import mx.core.ByteArrayAsset;

    public class _-UE extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Uo

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Uo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-up

package 
{
    import mx.core.ByteArrayAsset;

    public class _-up extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ur

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Ur extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Ut

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Ut extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Uv

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Uv extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-UX

package 
{
    import mx.core.BitmapAsset;

    public class _-UX extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-v0

package 
{
    import mx.core.BitmapAsset;

    public class _-v0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-v2

package 
{
    import mx.core.ByteArrayAsset;

    public class _-v2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-V2

package 
{
    import mx.core.BitmapAsset;

    public class _-V2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-v5

package 
{
    import mx.core.BitmapAsset;

    public class _-v5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-V6

package 
{
    import mx.core.ByteArrayAsset;

    public class _-V6 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-VF

package 
{
    import mx.core.BitmapAsset;

    public class _-VF extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-VI

package 
{
    import mx.core.ByteArrayAsset;

    public class _-VI extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-vm

package 
{
    import mx.core.BitmapAsset;

    public class _-vm extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-vo

package 
{
    import mx.core.ByteArrayAsset;

    public class _-vo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-VO

package 
{
    import mx.core.BitmapAsset;

    public class _-VO extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-VP

package 
{
    import mx.core.BitmapAsset;

    public class _-VP extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-vt

package 
{
    import mx.core.ByteArrayAsset;

    public class _-vt extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-W

package 
{
    import mx.core.ByteArrayAsset;

    public class _-W extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-W-

package 
{
    import mx.core.BitmapAsset;

    public class _-W- extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-wD

package 
{
    import mx.core.BitmapAsset;

    public class _-wD extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Wj

package 
{
    import mx.core.BitmapAsset;

    public class _-Wj extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Wk

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Wk extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-WK

package 
{
    import mx.core.ByteArrayAsset;

    public class _-WK extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-wU

package 
{
    import mx.core.BitmapAsset;

    public class _-wU extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-WW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-WW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-WX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-WX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-x5

package 
{
    import mx.core.BitmapAsset;

    public class _-x5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Xi

package 
{
    import mx.core.BitmapAsset;

    public class _-Xi extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-xj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-xj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-xJ

package 
{
    import mx.core.BitmapAsset;

    public class _-xJ extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-XL

package 
{
    import mx.core.ByteArrayAsset;

    public class _-XL extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-xN

package 
{
    import mx.core.ByteArrayAsset;

    public class _-xN extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Xw

package 
{
    import mx.core.BitmapAsset;

    public class _-Xw extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Xx

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Xx extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-XZ

package 
{
    import mx.core.ByteArrayAsset;

    public class _-XZ extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Y4

package 
{
    import mx.core.BitmapAsset;

    public class _-Y4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-YB

package 
{
    import mx.core.BitmapAsset;

    public class _-YB extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Yn

package 
{
    import mx.core.ByteArrayAsset;

    public class _-Yn extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-yO

package 
{
    import mx.core.ByteArrayAsset;

    public class _-yO extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-YS

package 
{
    import mx.core.BitmapAsset;

    public class _-YS extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-YW

package 
{
    import mx.core.ByteArrayAsset;

    public class _-YW extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Yx

package 
{
    import mx.core.BitmapAsset;

    public class _-Yx extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-z5

package 
{
    import mx.core.BitmapAsset;

    public class _-z5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-zj

package 
{
    import mx.core.ByteArrayAsset;

    public class _-zj extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-zm

package 
{
    import mx.core.FontAsset;

    public class _-zm extends FontAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-Zp

package 
{
    import mx.core.BitmapAsset;

    public class _-Zp extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//_-ZX

package 
{
    import mx.core.ByteArrayAsset;

    public class _-ZX extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//case

package 
{
    import mx.core.ByteArrayAsset;

    public class case extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//CoreCommunicationFrameworkLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.CoreCommunicationManagerBootstrap;
    import com.sulake.iid.IIDCoreCommunicationManager;

    public class CoreCommunicationFrameworkLib extends SimpleApplication 
    {

        public static var manifest:Class = _-4Pn;
        public static var requiredClasses:Array = new Array(CoreCommunicationManagerBootstrap, IIDCoreCommunicationManager);

    }
}//package 

//------------------------------------------------------------
//CoreWindowFrameworkLib

package 
{
    import mx.core.SimpleApplication;
    import _-Ew.Classes;
    import _-Ew.WindowModel;
    import _-Ew.WindowController;
    import _-3Qs.IGraphicContext;
    import _-3Qs.IGraphicContextHost;
    import _-2eC.ISkinLayout;
    import _-2eC.ISkinRenderer;
    import _-2eC.ISkinTemplate;
    import _-2eC.ISkinTemplateEntity;

    public class CoreWindowFrameworkLib extends SimpleApplication 
    {

        public static var ICoreWindowFrameworkLib:Class = ICoreWindowFrameworkLib;
        public static var Classes:Class = Classes;
        public static var WindowModel:Class = WindowModel;
        public static var WindowController:Class = WindowController;
        public static var IGraphicContext:Class = IGraphicContext;
        public static var IGraphicContextHost:Class = IGraphicContextHost;
        public static var ISkinLayout:Class = ISkinLayout;
        public static var ISkinRenderer:Class = ISkinRenderer;
        public static var ISkinTemplate:Class = ISkinTemplate;
        public static var ISkinTemplateEntity:Class = ISkinTemplateEntity;

    }
}//package 

//------------------------------------------------------------
//Habbo

package 
{
    import flash.display.MovieClip;
    import _-2rX._-3Og;
    import flash.events.Event;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    import flash.net.URLVariables;
    import flash.system.Capabilities;
    import flash.system.System;
    import flash.net.URLRequestMethod;
    import flash.net.navigateToURL;
    import flash.system.Security;
    import flash.display.StageScaleMode;
    import flash.display.StageQuality;
    import flash.display.StageAlign;
    import flash.events.ProgressEvent;
    import flash.events.HTTPStatusEvent;
    import flash.events.IOErrorEvent;
    import flash.display.DisplayObject;
    import flash.utils.getDefinitionByName;

    public class Habbo extends MovieClip 
    {

        private static const RECEPTION_LOG_STEP_FUNCTION:String = "NewUserReception.logStep";
        private static const STEP_RECEPTION_ENTERED:String = "RECEPTION_ENTERED";
        private static const STEP_RECEPTION_EXITED:String = "RECEPTION_EXITED";
        private static const STEP_CLIENT_LOADED:String = "CLIENT_LOADED";
        public static const CORE_RATIO:Number = 0.7;
        public static const TRACK_CLIENT_START:String = "client.init.start";
        public static const TRACK_SWF_ERROR:String = "client.init.swf.error";
        public static const TRACK_SWF_COMPLETE:String = "client.init.swf.loaded";
        private static const CLIENT_STARTING:String = "client.starting";
        public static const CORE_INIT:String = "client.init.core.init";
        public static const CORE_ERROR:String = "client.init.core.fail";
        private static const NEW_USER_RECEPTION_ENABLED:String = "new.user.reception.enabled";
        public static const ERROR_VARIABLE_CLIENT_CRASH_TIME:String = "crash_time";
        public static const ERROR_VARIABLE_CONTEXT:String = "error_ctx";
        public static const ERROR_VARIABLE_FLASH_VERSION:String = "flash_version";
        public static const ERROR_VARIABLE_AVERAGE_UPDATE_INTERVAL:String = "avg_update";
        public static const ERROR_VARIABLE_DEBUG:String = "debug";
        public static const ERROR_VARIABLE_DESCRIPTION:String = "error_desc";
        public static const ERROR_VARIABLE_CATEGORY:String = "error_cat";
        public static const ERROR_VARIABLE_DATA:String = "error_data";
        public static const ERROR_CATEGORY_FINALIZE_PRELOADING:int = 9;
        public static const ERROR_CATEGORY_DOWNLOAD_FONT:int = 11;

        protected static var PROCESSLOG_ENABLED:Boolean = false;
        private static var _crashed:Boolean = false;
        private static var _crashURL:String = "";

        private var _disposed:Boolean = false;
        private var _preLoadingComplete:Boolean = false;
        private var _newUserReception:NewUserReception = null;
        private var _loadingScreen:IHabboLoadingScreen;
        private var _httpStatus:int = 0;

        public function Habbo()
        {
            if (!_-3Og._-0Yk(this))
            {
                return;
            };
            super();
            stop();
            if (stage)
            {
                this.onAddedToStage(null);
            }
            else
            {
                addEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            };
            this.enableAccessFromJavascipt();
        }
        private static function isValidHabboDomain(_arg1:String):Boolean
        {
            return (((((((!((_arg1.match(/^([a-z0-9.]+\.)?sulake\.com$/) == null))) || (!((_arg1.match(/^([a-z0-9.]+\.)?varoke\.net$/) == null))))) || (!((_arg1.match(/^([a-z0-9.]+\.)?habbo\.(com|de|dk|es|fi|fr|it|nl|no|se)$/) == null))))) || (!((_arg1.match(/^([a-z0-9.]+\.)?habbo\.com\.(br|tr)$/) == null)))));
        }
        public static function trackLoginStep(_arg1:String):void
        {
            if (Habbo.PROCESSLOG_ENABLED)
            {
                _-Nb.log(("* HabboMain Login Step: " + _arg1));
                try
                {
                    if (ExternalInterface.available)
                    {
                        ExternalInterface.call("FlashExternalInterface.logLoginStep", _arg1);
                    }
                    else
                    {
                        _-Nb.log("HabboMain: ExternalInterface is not available, tracking is disabled");
                    };
                }
                catch(e:Error)
                {
                };
            };
        }
        public static function reportCrash(_arg1:String, _arg2:int, _arg3:Error):void
        {
            var k:String;
            var k:URLRequest;
            var k:URLVariables;
            var k:String;
            if (!Habbo._crashed)
            {
                Habbo._crashed = true;
                k = Habbo._crashURL;
                k = new URLRequest(k);
                k = new URLVariables();
                k[ERROR_VARIABLE_CLIENT_CRASH_TIME] = new Date().getTime().toString();
                k = "";
                k[ERROR_VARIABLE_CONTEXT] = k;
                k[ERROR_VARIABLE_FLASH_VERSION] = Capabilities.version;
                k[ERROR_VARIABLE_AVERAGE_UPDATE_INTERVAL] = 0;
                k[ERROR_VARIABLE_DESCRIPTION] = _arg1;
                k[ERROR_VARIABLE_CATEGORY] = String(_arg2);
                if (_arg3 != null)
                {
                    k[ERROR_VARIABLE_DATA] = String(_arg3.getStackTrace());
                };
                k[ERROR_VARIABLE_DEBUG] = (("Memory usage: " + Math.round((System.totalMemory / (0x0400 * 0x0400)))) + " MB");
                k.data = k;
                k.method = URLRequestMethod.POST;
                navigateToURL(k, "_self");
            };
        }

        private function enableAccessFromJavascipt():void
        {
            var k:String;
            var k:int;
            if (ExternalInterface.available)
            {
                k = stage.loaderInfo.parameters["url.prefix"];
                if (k != null)
                {
                    k = k.replace("http://", "").replace("https://", "");
                    k = k.indexOf(":");
                    if (k != -1)
                    {
                        k = k.substring(0, k);
                    };
                    if (isValidHabboDomain(k))
                    {
                        Security.allowDomain(k);
                    };
                };
                return;
            };
        }
        private function onAddedToStage(_arg1:Event):void
        {
            var _local3:String;
            removeEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            Habbo.PROCESSLOG_ENABLED = (stage.loaderInfo.parameters["processlog.enabled"] == "1");
            trackLoginStep(TRACK_CLIENT_START);
            var k:String = stage.loaderInfo.parameters["client.fatal.error.url"];
            if (k != null)
            {
                Habbo._crashURL = k;
            }
            else
            {
                _local3 = stage.loaderInfo.parameters["url.prefix"];
                if (_local3 != null)
                {
                    Habbo._crashURL = (_local3 + "/flash_client_error");
                };
            };
            stage.scaleMode = StageScaleMode.NO_SCALE;
            stage.quality = StageQuality.LOW;
            stage.align = StageAlign.TOP_LEFT;
            root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, this.onPreLoadingProgress);
            root.loaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, this.onPreLoadingStatus);
            root.loaderInfo.addEventListener(Event.COMPLETE, this.onPreLoadingCompleted);
            root.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.onPreLoadingFailed);
            this.createNewUserLobbyOrLoadingScreen();
            addEventListener(Event.ENTER_FRAME, this.onEnterFrame);
            this.checkPreLoadingStatus();
        }
        private function dispose():void
        {
            removeEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
            if (!this._disposed)
            {
                this._disposed = true;
                if (this._loadingScreen != null)
                {
                    this._loadingScreen = null;
                };
                if (parent)
                {
                    parent.removeChild(this);
                };
            };
        }
        private function onPreLoadingProgress(_arg1:Event):void
        {
            this.updateLoadingBarProgress();
            this.checkPreLoadingStatus();
        }
        private function updateLoadingBarProgress():void
        {
            var k:Number;
            if (this._loadingScreen != null)
            {
                k = ((root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal) * CORE_RATIO);
                this._loadingScreen.updateLoadingBar(k);
            };
        }
        private function onPreLoadingStatus(_arg1:HTTPStatusEvent):void
        {
            this._httpStatus = _arg1.status;
        }
        private function onPreLoadingCompleted(_arg1:Event):void
        {
            var event:Event = _arg1;
            try
            {
                this.checkPreLoadingStatus();
            }
            catch(error:Error)
            {
                trackLoginStep(TRACK_SWF_ERROR);
                reportCrash(("Failed to finalize main swf preloading: " + error.message), ERROR_CATEGORY_FINALIZE_PRELOADING, error);
            };
        }
        private function onPreLoadingFailed(_arg1:IOErrorEvent):void
        {
            trackLoginStep(TRACK_SWF_ERROR);
            reportCrash(((((("Failed to finalize main swf preloading: " + _arg1.text) + " / URL: ") + root.loaderInfo.loaderURL) + " / HTTP status: ") + this._httpStatus), ERROR_CATEGORY_FINALIZE_PRELOADING, null);
        }
        private function checkPreLoadingStatus():void
        {
            if (this._preLoadingComplete)
            {
                return;
            };
            if (((!((this._newUserReception == null))) || ((root.loaderInfo.bytesLoaded < root.loaderInfo.bytesTotal))))
            {
                return;
            };
            this._preLoadingComplete = true;
            this.finalizePreloading();
        }
        private function finalizePreloading():void
        {
            var k:Class;
            var k:DisplayObject;
            this.trackNewReceptionStep(STEP_CLIENT_LOADED);
            trackLoginStep(TRACK_SWF_COMPLETE);
            root.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, this.onPreLoadingProgress);
            root.loaderInfo.removeEventListener(HTTPStatusEvent.HTTP_STATUS, this.onPreLoadingStatus);
            root.loaderInfo.removeEventListener(Event.COMPLETE, this.onPreLoadingCompleted);
            root.loaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, this.onPreLoadingFailed);
            nextFrame();
            k = Class(getDefinitionByName("HabboMain"));
            if (k)
            {
                k = (new k(this._loadingScreen) as DisplayObject);
                if (k)
                {
                    k.addEventListener(Event.REMOVED, this.onMainRemoved);
                    addChild(k);
                };
            };
        }
        private function trackNewReceptionStep(_arg1:String):void
        {
            if (((ExternalInterface.available) && (this.newUserReceptionEnabled)))
            {
                ExternalInterface.call(RECEPTION_LOG_STEP_FUNCTION, _arg1);
            };
        }
        private function onEnterFrame(_arg1:Event):void
        {
            parent.setChildIndex(this, (parent.numChildren - 1));
        }
        private function onMainRemoved(_arg1:Event):void
        {
            this.dispose();
        }
        private function get newUserReceptionEnabled():Boolean
        {
            return ((((stage.loaderInfo.parameters[NEW_USER_RECEPTION_ENABLED] == "1")) || ((stage.loaderInfo.parameters[NEW_USER_RECEPTION_ENABLED] == "true"))));
        }
        private function createNewUserLobbyOrLoadingScreen():void
        {
            if (this.newUserReceptionEnabled)
            {
                this._newUserReception = new NewUserReception();
                this._newUserReception.addEventListener(NewUserReception._-3d2, this.onNewUserReceptionFinished);
                stage.addChild(DisplayObject(this._newUserReception));
                this._newUserReception.init();
                this.trackNewReceptionStep(STEP_RECEPTION_ENTERED);
                return;
            };
            this.createLoadingScreen();
        }
        private function onNewUserReceptionFinished(_arg1:Event):void
        {
            this._newUserReception.removeEventListener(NewUserReception._-3d2, this.onNewUserReceptionFinished);
            this._newUserReception.dispose();
            this._newUserReception = null;
            this.trackNewReceptionStep(STEP_RECEPTION_EXITED);
            this.createLoadingScreen();
            this.checkPreLoadingStatus();
        }
        public function createLoadingScreen():void
        {
            var k:String = stage.loaderInfo.parameters[CLIENT_STARTING];
            if (k == null)
            {
                k = CLIENT_STARTING;
            };
            this._loadingScreen = new HabboLoadingScreen(stage.stageWidth, stage.stageHeight, k);
            this.updateLoadingBarProgress();
            stage.addChild(DisplayObject(this._loadingScreen));
        }

    }
}//package 

//------------------------------------------------------------
//HabboAdManagerCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.AdManagerBootstrap;
    import com.sulake.iid.IIDHabboAdManager;

    public class HabboAdManagerCom extends SimpleApplication 
    {

        public static var manifest:Class = _-2FB;
        public static var requiredClasses:Array = new Array(AdManagerBootstrap, IIDHabboAdManager);

    }
}//package 

//------------------------------------------------------------
//HabboAvatarEditorCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboAvatarEditorManagerBootstrap;
    import com.sulake.iid.IIDHabboAvatarEditor;

    public class HabboAvatarEditorCom extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(HabboAvatarEditorManagerBootstrap, IIDHabboAvatarEditor);
        public static var manifest:Class = _-lg;
        public static var AvatarEditor:Class = _-40w;
        public static var AvatarEditorFrame:Class = _-2du;
        public static var AvatarEditorContent:Class = _-4NQ;
        public static var AvatarEditorGrid:Class = _-0vL;
        public static var AvatarEditorGridEffects:Class = _-4ZZ;
        public static var AvatarEditorImage:Class = _-46S;
        public static var AvatarEditorThumb:Class = _-3pf;
        public static var ViewConfiguration:Class = _-54a;
        public static var StripClubItemsInfo:Class = _-4kH;
        public static var color_chooser_cell:Class = _-4Qx;
        public static var avatareditor_generic_base:Class = _-04t;
        public static var avatareditor_head_base:Class = _-0Ou;
        public static var avatareditor_legs_base:Class = _-07x;
        public static var avatareditor_club_promo_try:Class = _-2Tn;
        public static var avatareditor_club_promo_buy:Class = _-1bo;
        public static var avatareditor_torso_base:Class = _-0E4;
        public static var Outfit:Class = _-4qJ;
        public static var Selector:Class = _-2cu;
        public static var avatareditor_wardrobe_base:Class = _-1U3;
        public static var wardrobe_slot:Class = _-1UT;
        public static var avatareditor_hotlooks_base:Class = _-1MA;
        public static var avatar_editor_effect_griditem_xml:Class = _-2vJ;
        public static var avatareditor_effects_base:Class = _-HD;
        public static var avatar_editor_download_icon:Class = _-09K;
        public static var editor_clr_40x32_1:Class = HabboAvatarEditorCom_editor_clr_40x32_1;
        public static var editor_clr_40x32_2:Class = HabboAvatarEditorCom_editor_clr_40x32_2;
        public static var editor_clr_40x32_3:Class = HabboAvatarEditorCom_editor_clr_40x32_3;
        public static var platform:Class = _-en;
        public static var removeSelection:Class = _-dJ;
        public static var ae_tabs_generic:Class = _-17a;
        public static var ae_tabs_head:Class = _-4WF;
        public static var ae_tabs_legs:Class = _-4-b;
        public static var ae_tabs_torso:Class = _-0AY;
        public static var ae_tabs_hotlooks:Class = _-4i2;
        public static var ae_tabs_wardrobe:Class = _-0Fz;
        public static var ae_tabs_effects:Class = _-44J;
        public static var bottom_accessories:Class = _-1wN;
        public static var bottom_accessories_on:Class = _-075;
        public static var bottom_shoes:Class = _-49O;
        public static var bottom_shoes_on:Class = _-SQ;
        public static var bottom_trousers:Class = _-KB;
        public static var bottom_trousers_on:Class = _-3ce;
        public static var gender_female:Class = _-1FP;
        public static var gender_female_on:Class = _-9y;
        public static var gender_male:Class = _-NU;
        public static var gender_male_on:Class = _-1I8;
        public static var head_accessories:Class = _-1hS;
        public static var head_accessories_on:Class = _-31A;
        public static var head_eyewear:Class = _-4rZ;
        public static var head_eyewear_on:Class = _-043;
        public static var head_face_accessories:Class = _-0OR;
        public static var head_face_accessories_on:Class = _-Kr;
        public static var head_hair:Class = _-0Ci;
        public static var head_hair_on:Class = _-4Tz;
        public static var head_hats:Class = _-2nn;
        public static var head_hats_on:Class = _-4tc;
        public static var top_accessories:Class = _-2IZ;
        public static var top_accessories_on:Class = _-2nv;
        public static var top_shirt:Class = _-1ZI;
        public static var top_jacket_on:Class = _-0p0;
        public static var top_jacket:Class = _-1il;
        public static var top_prints_on:Class = _-2De;
        public static var top_prints:Class = _-EQ;
        public static var top_shirt_on:Class = _-4tS;
        public static var effects_costumes:Class = _-017;
        public static var effects_costumes_on:Class = _-4hj;
        public static var effects_fx:Class = _-48K;
        public static var effects_fx_on:Class = _-2lK;
        public static var selectOutfit:Class = _-4Rk;
        public static var selectOutfit_over:Class = _-2N2;
        public static var wardrobe_empty_slot:Class = _-ng;
        public static var effect_params_xml:Class = _-4Pe;

    }
}//package 

//------------------------------------------------------------
//HabboAvatarEditorCom_editor_clr_40x32_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarEditorCom_editor_clr_40x32_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarEditorCom_editor_clr_40x32_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarEditorCom_editor_clr_40x32_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarEditorCom_editor_clr_40x32_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarEditorCom_editor_clr_40x32_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.AvatarRenderManagerBootstrap;
    import com.sulake.iid.IIDAvatarRenderManager;

    public class HabboAvatarRenderLib extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(AvatarRenderManagerBootstrap, IIDAvatarRenderManager);
        public static var manifest:Class = _-1Qj;
        public static var user_typing_png:Class = _-0Fw;
        public static var user_typing_small_png:Class = _-455;
        public static var user_muted_png:Class = _-3YD;
        public static var user_muted_small_png:Class = _-2PY;
        public static var user_blowkiss_png:Class = _-3Pq;
        public static var user_blowkiss_small_png:Class = _-1Jh;
        public static var user_guide_bubble_png:Class = _-1tR;
        public static var user_guide_requester_bubble_png:Class = _-2xf;
        public static var user_idle_left_1_png:Class = HabboAvatarRenderLib_user_idle_left_1_png;
        public static var user_idle_left_2_png:Class = HabboAvatarRenderLib_user_idle_left_2_png;
        public static var user_idle_left_1_small_png:Class = HabboAvatarRenderLib_user_idle_left_1_small_png;
        public static var user_idle_left_2_small_png:Class = HabboAvatarRenderLib_user_idle_left_2_small_png;
        public static var user_idle_right_1_png:Class = HabboAvatarRenderLib_user_idle_right_1_png;
        public static var user_idle_right_2_png:Class = HabboAvatarRenderLib_user_idle_right_2_png;
        public static var user_idle_right_1_small_png:Class = HabboAvatarRenderLib_user_idle_right_1_small_png;
        public static var user_idle_right_2_small_png:Class = HabboAvatarRenderLib_user_idle_right_2_small_png;
        public static var number_1_png:Class = HabboAvatarRenderLib_number_1_png;
        public static var number_2_png:Class = HabboAvatarRenderLib_number_2_png;
        public static var number_3_png:Class = HabboAvatarRenderLib_number_3_png;
        public static var number_4_png:Class = HabboAvatarRenderLib_number_4_png;
        public static var number_5_png:Class = HabboAvatarRenderLib_number_5_png;
        public static var number_1_small_png:Class = HabboAvatarRenderLib_number_1_small_png;
        public static var number_2_small_png:Class = HabboAvatarRenderLib_number_2_small_png;
        public static var number_3_small_png:Class = HabboAvatarRenderLib_number_3_small_png;
        public static var number_4_small_png:Class = HabboAvatarRenderLib_number_4_small_png;
        public static var number_5_small_png:Class = HabboAvatarRenderLib_number_5_small_png;
        public static var pet_experience_bubble_png:Class = _-0nA;
        public static var action_offset_lay:Class = _-0cV;
        public static var action_offset_swim:Class = _-1Lh;
        public static var HabboAvatarActions:Class = _-2g9;
        public static var HabboAvatarAnimation:Class = _-1tp;
        public static var HabboAvatarFigure:Class = _-2n1;
        public static var HabboAvatarGeometry:Class = _-0i1;
        public static var HabboAvatarPartSets:Class = _-0wW;

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_1_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_1_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_2_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_2_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_3_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_3_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_3_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_3_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_4_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_4_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_4_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_4_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_5_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_5_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_number_5_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_number_5_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_user_idle_left_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_user_idle_left_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_user_idle_left_1_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_user_idle_left_1_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_user_idle_left_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_user_idle_left_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_user_idle_left_2_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_user_idle_left_2_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_user_idle_right_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_user_idle_right_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_user_idle_right_1_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_user_idle_right_1_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_user_idle_right_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_user_idle_right_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboAvatarRenderLib_user_idle_right_2_small_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboAvatarRenderLib_user_idle_right_2_small_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboCatalogBootstrap;
    import com.sulake.iid.IIDHabboCatalog;

    public class HabboCatalogCom extends SimpleApplication 
    {

        public static const bot_thumb_bg:Class = _-438;
        public static const bot_thumb_bg_selected:Class = _-3vG;
        public static const ctlg_clr_27x22_1:Class = HabboCatalogCom_ctlg_clr_27x22_1;
        public static const ctlg_clr_27x22_2:Class = HabboCatalogCom_ctlg_clr_27x22_2;
        public static const ctlg_clr_27x22_3:Class = HabboCatalogCom_ctlg_clr_27x22_3;
        public static const ctlg_clr_40x32_1:Class = HabboCatalogCom_ctlg_clr_40x32_1;
        public static const ctlg_clr_40x32_2:Class = HabboCatalogCom_ctlg_clr_40x32_2;
        public static const ctlg_clr_40x32_3:Class = HabboCatalogCom_ctlg_clr_40x32_3;
        public static const ctlg_pic_DEV_fx_explosion:Class = _-4Vu;
        public static const ctlg_pic_DEV_fx_flare:Class = _-3jo;
        public static const ctlg_pic_fx_bubble:Class = _-2mC;
        public static const ctlg_arrow_down:Class = _-4C0;
        public static const ctlg_arrow_next:Class = _-0Sd;
        public static const ctlg_arrow_prev:Class = _-34s;
        public static const ctlg_arrow_right:Class = _-4nA;
        public static const ctlg_dyndeal_background:Class = _-4Jp;
        public static const ctlg_icon_deal_hc:Class = _-1UB;
        public static const ctlg_pic_deal_icon_narrow:Class = _-4Au;
        public static const events_confirm_purchase:Class = _-5C6;
        public static const ctlg_recycler_slot_bg:Class = _-05;
        public static const purse_club_small:Class = _-4H1;
        public static const purse_coins_small:Class = _-4DR;
        public static const purse_pixels_small:Class = _-4Ne;
        public static const testarrow_down:Class = _-08j;
        public static const testarrow_right:Class = _-3kF;
        public static const vip_icon_medium:Class = _-4D9;
        public static const icon_credit_0:Class = HabboCatalogCom_icon_credit_0;
        public static const icon_credit_1:Class = HabboCatalogCom_icon_credit_1;
        public static const icon_credit_2:Class = HabboCatalogCom_icon_credit_2;
        public static const icon_credit_3:Class = HabboCatalogCom_icon_credit_3;
        public static const icon_credit_4:Class = HabboCatalogCom_icon_credit_4;
        public static const icon_credit_5:Class = HabboCatalogCom_icon_credit_5;
        public static const icon_credit_6:Class = HabboCatalogCom_icon_credit_6;
        public static const icon_pixel_0:Class = _-4xv;
        public static const icon_shell_0:Class = _-os;
        public static const icon_bg_img_2:Class = _-3mn;
        public static const icon_bg_img:Class = _-0Pd;
        public static const icon_duck_vipwhite:Class = _-0QS;
        public static const layout_bg:Class = _-190;
        public static const thumb_bg:Class = _-0ZP;
        public static const thumb_bg_selected:Class = _-0Qr;
        public static const catalog:Class = _-rq;
        public static const club_extend_confirmation:Class = _-3o8;
        public static const club_buy_confirmation:Class = _-3jM;
        public static const club_buy_hc_item:Class = _-fw;
        public static const club_buy_info_item:Class = _-1lG;
        public static const club_buy_vip_item:Class = _-0Ht;
        public static const club_buy_vip_upgrade_item:Class = _-0SK;
        public static const club_gift_confirmation:Class = _-1pU;
        public static const club_gift_list_item:Class = _-5EV;
        public static const club_gift_preview:Class = _-0f8;
        public static const direct_sms_buy:Class = _-1Wj;
        public static const vip_direct_buy:Class = _-3M-;
        public static const vip_buy_item:Class = _-3OH;
        public static const vip_gift_item:Class = _-0U8;
        public static const vip_benefits:Class = _-43n;
        public static const touchscreen_phone:Class = _-01M;
        public static const snowwar_tokens_10:Class = _-2PZ;
        public static const color_chooser_cell:Class = _-0K5;
        public static const configuration_catalog_spaces:Class = _-2lo;
        public static const gridItem:Class = _-WW;
        public static const ctlg_camera1:Class = HabboCatalogCom_ctlg_camera1;
        public static const ctlg_camera2:Class = HabboCatalogCom_ctlg_camera2;
        public static const ctlg_cars:Class = _-02N;
        public static const ctlg_club1:Class = HabboCatalogCom_ctlg_club1;
        public static const ctlg_club2:Class = HabboCatalogCom_ctlg_club2;
        public static const ctlg_club_buy:Class = _-0G;
        public static const ctlg_club_gifts:Class = _-3Fv;
        public static const ctlg_collectibles:Class = _-mi;
        public static const ctlg_default_3x3_extrainfo:Class = HabboCatalogCom_ctlg_default_3x3_extrainfo;
        public static const ctlg_default_3x3:Class = HabboCatalogCom_ctlg_default_3x3;
        public static const ctlg_default_3x3_larger:Class = HabboCatalogCom_ctlg_default_3x3_larger;
        public static const ctlg_frontpage1:Class = HabboCatalogCom_ctlg_frontpage1;
        public static const ctlg_frontpage2:Class = HabboCatalogCom_ctlg_frontpage2;
        public static const ctlg_frontpage3:Class = HabboCatalogCom_ctlg_frontpage3;
        public static const ctlg_info_credits:Class = _-1Eq;
        public static const ctlg_info_pixels:Class = _-1Iy;
        public static const ctlg_mad_money:Class = _-pQ;
        public static const ctlg_monkey:Class = _-1qY;
        public static const ctlg_niko:Class = _-2V0;
        public static const ctlg_marketplace_own_items:Class = _-45g;
        public static const ctlg_marketplace:Class = _-4D3;
        public static const ctlg_petcustomization:Class = _-VI;
        public static const ctlg_pets2:Class = HabboCatalogCom_ctlg_pets2;
        public static const ctlg_pets3:Class = HabboCatalogCom_ctlg_pets3;
        public static const ctlg_pets:Class = _-4x8;
        public static const ctlg_roomads:Class = _-093;
        public static const ctlg_bots:Class = _-1FL;
        public static const ctlg_pixeldeals:Class = _-0Yt;
        public static const ctlg_pixeleffects:Class = _-19u;
        public static const ctlg_pixelrent:Class = _-4Yq;
        public static const ctlg_plasto:Class = _-0QV;
        public static const ctlg_presents:Class = _-1J4;
        public static const ctlg_purse:Class = _-3ix;
        public static const ctlg_recycler_info:Class = _-4nr;
        public static const ctlg_recycler_prizes:Class = _-1X7;
        public static const ctlg_recycler:Class = _-0Ug;
        public static const ctlg_soundmachine:Class = _-2Ww;
        public static const ctlg_spaces:Class = _-4rh;
        public static const ctlg_spaces_new:Class = _-lQ;
        public static const ctlg_trophies:Class = _-0iZ;
        public static const ctlg_vip_buy:Class = _-1BW;
        public static const ctlg_vip_gift:Class = _-WK;
        public static const ctlg_infopage1:Class = HabboCatalogCom_ctlg_infopage1;
        public static const ctlg_infopage2:Class = HabboCatalogCom_ctlg_infopage2;
        public static const ctlg_layout1:Class = HabboCatalogCom_ctlg_layout1;
        public static const ctlg_layout2:Class = HabboCatalogCom_ctlg_layout2;
        public static const ctlg_layout3:Class = HabboCatalogCom_ctlg_layout3;
        public static const ctlg_loading:Class = _-qt;
        public static const ctlg_norares:Class = _-0MF;
        public static const ctlg_pixelsdeals:Class = _-0FM;
        public static const ctlg_productpage1:Class = HabboCatalogCom_ctlg_productpage1;
        public static const ctlg_productpage2b:Class = HabboCatalogCom_ctlg_productpage2b;
        public static const ctlg_productpage2:Class = HabboCatalogCom_ctlg_productpage2;
        public static const ctlg_productpage3b:Class = HabboCatalogCom_ctlg_productpage3b;
        public static const ctlg_productpage3:Class = HabboCatalogCom_ctlg_productpage3;
        public static const ctrl_info_credits:Class = _-0-b;
        public static const habbo_orderinfo_cantbuycredits:Class = _-gp;
        public static const habbo_orderinfo_dialog:Class = _-2XL;
        public static const habbo_orderinfo_gift_checked:Class = _-4L4;
        public static const habbo_orderinfo_gift_unchecked:Class = _-4dz;
        public static const habbo_orderinfo_nocredits:Class = _-jU;
        public static const habbo_orderinfo_receiver_suggestion:Class = _-2rI;
        public static const bundleGridWidget:Class = _-4dU;
        public static const clubBuyWidget:Class = _-1Zy;
        public static const clubGiftWidget:Class = _-mD;
        public static const effectViewWidget:Class = _-58s;
        public static const itemGridWidget:Class = _-3rq;
        public static const marketPlaceOwnItemsWidget:Class = _-ry;
        public static const marketPlaceWidget:Class = _-4l8;
        public static const petPreviewWidget:Class = _-Yn;
        public static const productViewWidget:Class = _-4D1;
        public static const purchaseWidget:Class = _-0Wu;
        public static const purseWidget:Class = _-1Pu;
        public static const recyclerPrizesWidgetLevelItem:Class = _-3Yh;
        public static const recyclerWidgetInactive:Class = _-1y0;
        public static const recyclerWidgetTimeout:Class = _-38d;
        public static const recyclerWidget:Class = _-1QH;
        public static const redeemItemCodeWidget:Class = _-4Uc;
        public static const singleViewWidget:Class = _-0H7;
        public static const specialInfoWidget:Class = _-3IW;
        public static const textInputWidget:Class = _-r5;
        public static const traxPreviewWidget:Class = _-3Nj;
        public static const trophyWidget:Class = _-ls;
        public static const list_item_list:Class = _-1gC;
        public static const marketplace_expired_item:Class = _-51w;
        public static const marketplace_offer_details:Class = _-1aH;
        public static const marketplace_offers_item:Class = _-1hV;
        public static const marketplace_ongoing_item:Class = _-3Ch;
        public static const marketplace_purchase_confirmation:Class = _-0UW;
        public static const marketplace_search_advanced:Class = _-0eU;
        public static const marketplace_search_simple:Class = _-1Pb;
        public static const marketplace_sold_item:Class = _-1Qh;
        public static const navigation_list_item:Class = _-0LG;
        public static const navigation_list_subitem:Class = _-4YV;
        public static const gift_palette_item:Class = _-14y;
        public static const price_display:Class = _-3lj;
        public static const priceDisplayWidget:Class = _-jp;
        public static const purchase_confirmation:Class = _-7D;
        public static const gift_wrapping:Class = _-3yn;
        public static const gift_incognito:Class = _-0Lk;
        public static const suggestion_list_item:Class = _-24v;
        public static const suggestion_list_item_new:Class = _-1Kg;
        public static const spaces:Class = _-3ik;
        public static const purchaseButtons:Class = _-2VN;
        public static const purchaseWidgetBuyVipStub:Class = _-SN;
        public static const guildSelectorWidget:Class = _-0dw;
        public static const guildBadgeViewWidget:Class = _-Mo;
        public static const ctlg_guild_custom_furni:Class = _-0aS;
        public static const guild_selector_widget_item:Class = _-2Tq;
        public static const ctlg_guild_frontpage:Class = _-1Ou;
        public static const club_direct_buy_xml:Class = _-23i;
        public static const club_direct_buy_success_xml:Class = _-0VY;
        public static const catalog_icon_badge_included:Class = _-2bZ;
        public static const catalog_icon_ninja_effect_included:Class = _-0tv;
        public static const badgeDisplayWidget:Class = _-2sE;
        public static const spinnerWidget:Class = _-49k;
        public static const catalog_larger:Class = _-1Nr;
        public static const layout_bg_larger:Class = _-3zI;
        public static const discountPromoItem:Class = _-Ri;
        public static const discountValueItem:Class = _-0HU;
        public static const totalPriceWidget:Class = _-491;
        public static const bundle_discount_star_sheet:Class = _-11o;
        public static const thumb_up:Class = _-1z5;
        public static const bundlesInfoItem:Class = _-RD;
        public static const soldLtdItemsWidget:Class = _-1Xz;
        public static const ctlg_sold_ltd_items:Class = _-4AK;
        public static const ctlg_sold_ltd_items_larger:Class = _-4Uh;
        public static const ctlg_plasto_larger:Class = _-2YZ;
        public static const vip_direct_buy_2:Class = _-2iX;

        public static var requiredClasses:Array = new Array(HabboCatalogBootstrap, IIDHabboCatalog);
        public static var manifest:Class = _-1ow;

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_camera1

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_camera1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_camera2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_camera2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_clr_27x22_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_ctlg_clr_27x22_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_clr_27x22_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_ctlg_clr_27x22_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_clr_27x22_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_ctlg_clr_27x22_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_clr_40x32_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_ctlg_clr_40x32_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_clr_40x32_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_ctlg_clr_40x32_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_clr_40x32_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_ctlg_clr_40x32_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_club1

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_club1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_club2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_club2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_default_3x3

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_default_3x3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_default_3x3_extrainfo

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_default_3x3_extrainfo extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_default_3x3_larger

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_default_3x3_larger extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_frontpage1

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_frontpage1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_frontpage2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_frontpage2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_frontpage3

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_frontpage3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_infopage1

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_infopage1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_infopage2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_infopage2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_layout1

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_layout1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_layout2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_layout2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_layout3

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_layout3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_pets2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_pets2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_pets3

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_pets3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_productpage1

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_productpage1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_productpage2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_productpage2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_productpage2b

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_productpage2b extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_productpage3

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_productpage3 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_ctlg_productpage3b

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboCatalogCom_ctlg_productpage3b extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_icon_credit_0

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_icon_credit_0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_icon_credit_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_icon_credit_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_icon_credit_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_icon_credit_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_icon_credit_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_icon_credit_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_icon_credit_4

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_icon_credit_4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_icon_credit_5

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_icon_credit_5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCatalogCom_icon_credit_6

package 
{
    import mx.core.BitmapAsset;

    public class HabboCatalogCom_icon_credit_6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboCommunicationCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboCommunicationManagerBootstrap;
    import com.sulake.iid.IIDHabboCommunicationManager;

    public class HabboCommunicationCom extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(HabboCommunicationManagerBootstrap, IIDHabboCommunicationManager);
        public static var manifest:Class = _-1bN;

    }
}//package 

//------------------------------------------------------------
//HabboCommunicationDemoCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboCommunicationDemoBootstrap;

    public class HabboCommunicationDemoCom extends SimpleApplication 
    {

        public static var manifest:Class = _-0Ck;
        public static var requiredClasses:Array = new Array(HabboCommunicationDemoBootstrap);
        public static var login_window:Class = _-1vP;
        public static var hotel_view_window:Class = _-cM;
        public static var hotel_view_welcome_window:Class = _-DK;
        public static var platform_image:Class = _-4Af;
        public static var habbologo_whiteR:Class = _-1VT;
        public static var login_user_list_item:Class = _-3bj;
        public static var message_tester:Class = _-31E;

    }
}//package 

//------------------------------------------------------------
//HabboConfigurationCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboConfigurationManagerBootstrap;
    import com.sulake.iid.IIDHabboConfigurationManager;
    import _-4Wu.HabboConfigurationManager;

    public class HabboConfigurationCom extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(HabboConfigurationManagerBootstrap, IIDHabboConfigurationManager, HabboConfigurationManager);
        public static var manifest:Class = _-0uS;
        public static var default_configuration:Class = _-23x;

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboFriendBarBootstrap;
    import com.sulake.iid.IIDHabboFriendBar;

    public class HabboFriendBarCom extends SimpleApplication 
    {

        public static var manifest:Class = _-1ku;
        public static var bar_xml:Class = _-5Bi;
        public static var entity_xml:Class = _-3dy;
        public static var add_friends_tab_xml:Class = _-Ur;
        public static var friend_requests_tab_xml:Class = _-J6;
        public static var friend_request_tab_xml:Class = _-4tv;
        public static var toggle_xml:Class = _-xN;
        public static var facebook_piece_xml:Class = _-Xx;
        public static var controls_piece_xml:Class = _-30u;
        public static var message_piece_xml:Class = _-3V8;
        public static var event_stream_display_xml:Class = _-RR;
        public static var event_stream_entity_xml:Class = _-1cp;
        public static var play_snowstorm_tab_xml:Class = _-aB;
        public static var stream_welcome_png:Class = _-14U;
        public static var stream_empty_png:Class = _-2XS;
        public static var stream_thumb_png:Class = _-0TT;
        public static var habbo_h_logo_png:Class = _-0px;
        public static var stream_info_icon_default_png:Class = _-3WG;
        public static var stream_info_icon_hover_png:Class = _-Qh;
        public static var stream_info_icon_pressed_png:Class = _-5ES;
        public static var room_activity_icon_0_png:Class = HabboFriendBarCom_room_activity_icon_0_png;
        public static var room_activity_icon_1_png:Class = HabboFriendBarCom_room_activity_icon_1_png;
        public static var room_activity_icon_2_png:Class = HabboFriendBarCom_room_activity_icon_2_png;
        public static var room_activity_icon_3_png:Class = HabboFriendBarCom_room_activity_icon_3_png;
        public static var room_activity_icon_4_png:Class = HabboFriendBarCom_room_activity_icon_4_png;
        public static var ach_notification_icon_png:Class = _-3l7;
        public static var plus_friend_icon_png:Class = _-13M;
        public static var add_friends_icon_png:Class = _-3iD;
        public static var find_friends_icon_png:Class = _-53e;
        public static var fb_icon_small_png:Class = _-1UZ;
        public static var friends_icon_png:Class = _-4if;
        public static var icon_friendlist_png:Class = _-BL;
        public static var icon_friendlist_notify_0_png:Class = HabboFriendBarCom_icon_friendlist_notify_0_png;
        public static var icon_friendlist_notify_1_png:Class = HabboFriendBarCom_icon_friendlist_notify_1_png;
        public static var icon_friendlist_hover_0_png:Class = HabboFriendBarCom_icon_friendlist_hover_0_png;
        public static var icon_friendlist_hover_1_png:Class = HabboFriendBarCom_icon_friendlist_hover_1_png;
        public static var icon_friendlist_hover_2_png:Class = HabboFriendBarCom_icon_friendlist_hover_2_png;
        public static var icon_friendlist_hover_3_png:Class = HabboFriendBarCom_icon_friendlist_hover_3_png;
        public static var icon_messenger_png:Class = _-4Uu;
        public static var icon_messenger_notify_0_png:Class = HabboFriendBarCom_icon_messenger_notify_0_png;
        public static var icon_messenger_notify_1_png:Class = HabboFriendBarCom_icon_messenger_notify_1_png;
        public static var icon_stream_png:Class = _-2fS;
        public static var icon_stream_hover_png:Class = _-3OP;
        public static var icon_stream_new_png:Class = _-4vD;
        public static var icon_stream_new_hover_png:Class = _-fV;
        public static var play_snowstorm_icon_png:Class = _-3gu;
        public static var user_list_xml:Class = _-1eP;
        public static var user_entry_xml:Class = _-3p-;
        public static var competition_user_popup_xml:Class = _-3ad;
        public static var on_duty_guide_user_popup_xml:Class = _-1Tm;
        public static var achievement_competition_prizes_xml:Class = _-2QB;
        public static var avatar_image_xml:Class = _-2ed;
        public static var avatar_info_xml:Class = _-LF;
        public static var community_goal_xml:Class = _-3lR;
        public static var daily_quest_xml:Class = _-1-m;
        public static var element_dailyquest_xml:Class = _-2eL;
        public static var expiring_catalog_page_xml:Class = _-1ew;
        public static var expiring_catalog_page_small_xml:Class = _-1Hk;
        public static var home_room_button_xml:Class = _-18E;
        public static var landing_view_generic_reception_xml:Class = _-2NE;
        public static var personal_messages_xml:Class = _-0SR;
        public static var twitter_feed_xml:Class = _-591;
        public static var catalog_promo_xml:Class = _-0R9;
        public static var catalog_promo_small_xml:Class = _-0j4;
        public static var campaign_promo_xml:Class = _-2ak;
        public static var moving_object_xml:Class = _-t3;
        public static var next_ltd_available_xml:Class = _-4Zz;
        public static var safety_quiz_promo_xml:Class = _-LW;
        public static var citizenship_welcome_xml:Class = _-1Kr;
        public static var level_up_xml:Class = _-1H;
        public static var talent_track_xml:Class = _-4VL;
        public static var track_promo_xml:Class = _-2X5;
        public static var task_progress_dialog_xml:Class = _-1Bg;
        public static var tour_task_progress_dialog_xml:Class = _-4J0;
        public static var landing_view_default_dynamic_layout_xml:Class = _-EK;
        public static var habbo_moderation_promo_xml:Class = _-Sl;
        public static var habbo_talents_promo_xml:Class = _-1hH;
        public static var habbo_way_promo_xml:Class = _-2UQ;
        public static var dynamic_widget_grid_xml:Class = _-342;
        public static var pixel_removal_credit_promo_xml:Class = _-0SI;
        public static var pixel_removal_promo_xml:Class = _-17E;
        public static var fast_food_game_promo_xml:Class = _-46M;
        public static var room_hopper_network_xml:Class = _-32w;
        public static var landing_view_jetset_xml:Class = _-0ql;
        public static var twitter_feed_fixed_size_wide_xml:Class = _-8A;
        public static var twitter_feed_fixed_size_small_xml:Class = _-51a;
        public static var generic_widget_xml:Class = _-2In;
        public static var widget_container_widget_xml:Class = _-22i;
        public static var element_bodytext_xml:Class = _-3Eo;
        public static var element_button_xml:Class = _-5R;
        public static var element_caption_xml:Class = _-0Pz;
        public static var element_image_xml:Class = _-2Vn;
        public static var element_link_xml:Class = _-2Eo;
        public static var element_spacing_xml:Class = _-1Ly;
        public static var element_subcaption_xml:Class = _-3oE;
        public static var element_timer_xml:Class = _-25S;
        public static var element_title_xml:Class = _-4oC;
        public static var element_rewardbadge_xml:Class = _-0I5;
        public static var element_concurrentusersmeter_xml:Class = _-0Ts;
        public static var element_concurrentusersinfo_xml:Class = _-4J-;
        public static var dynamic_widget_grid_separator_xml:Class = _-27r;
        public static var epic_popup_frame_xml:Class = _-4OU;
        public static var landing_view_furnimatic_xml:Class = _-1YW;
        public static var initialization_error_xml:Class = _-08X;
        public static var element_community_goal_score_xml:Class = _-1o2;
        public static var landing_view_xmas2012_xml:Class = _-57L;
        public static var xmas_calendar_door_widget_xml:Class = _-kk;
        public static var xmas_calendar_layout_xml:Class = _-YW;
        public static var xmas_calendar_switcher_button_xml:Class = _-2-L;
        public static var xmas2012_calendar_glare:Class = _-2lr;
        public static var requiredClasses:Array = new Array(HabboFriendBarBootstrap, IIDHabboFriendBar);

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_icon_friendlist_hover_0_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_icon_friendlist_hover_0_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_icon_friendlist_hover_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_icon_friendlist_hover_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_icon_friendlist_hover_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_icon_friendlist_hover_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_icon_friendlist_hover_3_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_icon_friendlist_hover_3_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_icon_friendlist_notify_0_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_icon_friendlist_notify_0_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_icon_friendlist_notify_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_icon_friendlist_notify_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_icon_messenger_notify_0_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_icon_messenger_notify_0_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_icon_messenger_notify_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_icon_messenger_notify_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_room_activity_icon_0_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_room_activity_icon_0_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_room_activity_icon_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_room_activity_icon_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_room_activity_icon_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_room_activity_icon_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_room_activity_icon_3_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_room_activity_icon_3_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendBarCom_room_activity_icon_4_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboFriendBarCom_room_activity_icon_4_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboFriendListCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboFriendListBootstrap;
    import com.sulake.iid.IIDHabboFriendList;

    public class HabboFriendListCom extends SimpleApplication 
    {

        public static var manifest:Class = _-;
        public static var arrow_down_black_png:Class = _-4-d;
        public static var arrow_down_white_png:Class = _-QP;
        public static var arrow_right_black_png:Class = _-1tc;
        public static var arrow_right_white_png:Class = _-4K;
        public static var ask_for_friend_png:Class = _-1t2;
        public static var follow_friend_png:Class = _-3il;
        public static var hdr_friend_requests_png:Class = _-3j4;
        public static var hdr_friends_png:Class = _-3NI;
        public static var hdr_hilite_png:Class = _-mn;
        public static var hdr_search_png:Class = _-1M7;
        public static var minimail_png:Class = _-0bM;
        public static var offline_png:Class = _-t9;
        public static var open_edit_ctgs_png:Class = _-3Z4;
        public static var open_homepage_png:Class = _-2TQ;
        public static var open_inbox_png:Class = _-35M;
        public static var open_minimail_png:Class = _-48e;
        public static var opened_to_web_png:Class = _-6-;
        public static var popup_arrow_left_png:Class = _-4eQ;
        public static var popup_arrow_right_png:Class = _-1zC;
        public static var remove_friend_png:Class = _-0Ba;
        public static var room_invite_png:Class = _-2ee;
        public static var start_chat_png:Class = _-1fu;
        public static var search_png:Class = _-0YZ;
        public static var avatar_popup_xml:Class = _-ef;
        public static var friend_entry_xml:Class = _-4-R;
        public static var friend_remove_confirm_xml:Class = _-1rb;
        public static var friend_request_entry_xml:Class = _-4rE;
        public static var friend_requests_footer_xml:Class = _-0Zy;
        public static var friends_footer_xml:Class = _-I7;
        public static var opened_to_web_popup_xml:Class = _-3p1;
        public static var pagelink_xml:Class = _-26;
        public static var main_window_xml:Class = _-4bg;
        public static var room_invite_confirm_xml:Class = _-0dt;
        public static var search_entry_xml:Class = _-vo;
        public static var search_footer_xml:Class = _-13b;
        public static var simple_alert_xml:Class = _-0xE;
        public static var tab_content_xml:Class = _-h7;
        public static var requiredClasses:Array = new Array(HabboFriendListBootstrap, IIDHabboFriendList);

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboGameManagerBootstrap;
    import com.sulake.iid.IIDHabboGameManager;

    public class HabboGamesCom extends SimpleApplication 
    {

        public static const explosion0001:Class = HabboGamesCom_explosion0001;
        public static const explosion0002:Class = HabboGamesCom_explosion0002;
        public static const explosion0003:Class = HabboGamesCom_explosion0003;
        public static const explosion0004:Class = HabboGamesCom_explosion0004;
        public static const explosion0005:Class = HabboGamesCom_explosion0005;
        public static const explosion0006:Class = HabboGamesCom_explosion0006;
        public static const explosion0007:Class = HabboGamesCom_explosion0007;
        public static const explosion0008:Class = HabboGamesCom_explosion0008;
        public static const explosion0009:Class = HabboGamesCom_explosion0009;
        public static const explosion0010:Class = HabboGamesCom_explosion0010;
        public static const explosion0011:Class = HabboGamesCom_explosion0011;
        public static const explosion0012:Class = HabboGamesCom_explosion0012;
        public static const games_main:Class = _-2PU;
        public static const instructions_list_item:Class = _-1Xf;
        public static const counter:Class = _-31J;
        public static const figure:Class = _-0mS;
        public static const snowwar_ending:Class = _-2IK;
        public static const snowwar_exit:Class = _-yO;
        public static const snowwar_lobby_player:Class = _-1lm;
        public static const snowwar_lobby_player_team_1:Class = HabboGamesCom_snowwar_lobby_player_team_1;
        public static const snowwar_lobby_player_team_2:Class = HabboGamesCom_snowwar_lobby_player_team_2;
        public static const snowwar_results_player_team_1:Class = HabboGamesCom_snowwar_results_player_team_1;
        public static const snowwar_results_player_team_2:Class = HabboGamesCom_snowwar_results_player_team_2;
        public static const snowwar_own_stats:Class = _-2cQ;
        public static const snowwar_snowballs:Class = _-3md;
        public static const snowwar_team_scores:Class = _-0uy;
        public static const snowwar_timer:Class = _-39I;
        public static const game_center_icon_selected:Class = _-0Be;
        public static const game_center_habbo_players:Class = _-Bq;
        public static const game_center_speech_bubble:Class = _-0-X;
        public static const game_center_reward_star:Class = _-CX;

        public static var manifest:Class = _-Qb;
        public static var snowwar_loading_background_xml:Class = _-54o;
        public static var snowwar_exit_confirmation:Class = _-5BT;
        public static var snowwar_leaderboard:Class = _-3AK;
        public static var snowwar_leaderboard_entry:Class = _-5EK;
        public static var game_center_view_generic_xml:Class = _-Fk;
        public static var game_center_leaderboard_view_xml:Class = _-3xw;
        public static var game_center_teaser_view_xml:Class = _-cn;
        public static var game_center_waiting_game_view_xml:Class = _-58L;
        public static var game_achievement_entry_xml:Class = _-4TC;
        public static var game_leaderboard_entry_xml:Class = _-2v4;
        public static var game_leaderboard_entry_small_xml:Class = _-0Oa;
        public static var game_center_lucky_loser_entry_xml:Class = _-13w;
        private static var _logEnabled:Boolean = true;
        public static var requiredClasses:Array = new Array(HabboGameManagerBootstrap, IIDHabboGameManager);

        public static function set logEnabled(_arg1:Boolean):void
        {
            _logEnabled = _arg1;
        }
        public static function get logEnabled():Boolean
        {
            return (false);
        }
        public static function log(... _args):void
        {
        }

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0001

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0001 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0002

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0002 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0003

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0003 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0004

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0004 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0005

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0005 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0006

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0006 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0007

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0007 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0008

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0008 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0009

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0009 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0010

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0010 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0011

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0011 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_explosion0012

package 
{
    import mx.core.BitmapAsset;

    public class HabboGamesCom_explosion0012 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_snowwar_lobby_player_team_1

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboGamesCom_snowwar_lobby_player_team_1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_snowwar_lobby_player_team_2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboGamesCom_snowwar_lobby_player_team_2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_snowwar_results_player_team_1

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboGamesCom_snowwar_results_player_team_1 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGamesCom_snowwar_results_player_team_2

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboGamesCom_snowwar_results_player_team_2 extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboGroupsCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboGroupsManagerBootstrap;
    import com.sulake.iid.IIDHabboGroupsManager;

    public class HabboGroupsCom extends SimpleApplication 
    {

        public static var manifest:Class = _-0JK;
        public static var group:Class = _-1RV;
        public static var guild_members_window:Class = _-4dO;
        public static var group_entry:Class = _-1SJ;
        public static var member_entry:Class = _-1xr;
        public static var group_info_window:Class = _-1-0;
        public static var group_management_window:Class = _-0OC;
        public static var extended_profile_window:Class = _-4g1;
        public static var club_required:Class = _-14b;
        public static var group_created_window:Class = _-38D;
        public static var group_room_info:Class = _-3vM;
        public static var make_favourite:Class = _-3yN;
        public static var clear_favourite:Class = _-59V;
        public static var badge_color_item:Class = _-0-4;
        public static var badge_editor:Class = _-4J1;
        public static var badge_layer:Class = _-0DN;
        public static var badge_part_item:Class = _-sU;
        public static var color_chooser_bg:Class = _-2c6;
        public static var color_chooser_fg:Class = _-22g;
        public static var color_chooser_selected:Class = _-3XF;
        public static var part_preview_bg:Class = _-2Sg;
        public static var position_grid:Class = _-dE;
        public static var position_picker:Class = _-1hs;
        public static var badge_part_add:Class = _-4OZ;
        public static var badge_part_empty:Class = _-v0;
        public static var badge_part_picker:Class = _-0rz;
        public static var requiredClasses:Array = new Array(HabboGroupsManagerBootstrap, IIDHabboGroupsManager);

    }
}//package 

//------------------------------------------------------------
//HabboHelpCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboHelpBootstrap;
    import com.sulake.iid.IIDHabboHelp;

    public class HabboHelpCom extends SimpleApplication 
    {

        public static var manifest:Class = _-4Y;
        public static var welcome_name_change_xml:Class = _-4sy;
        public static var welcome_name_selection_xml:Class = _-3ju;
        public static var welcome_name_suggestion_item_xml:Class = _-4mE;
        public static var welcome_name_confirmation_xml:Class = _-27m;
        public static var welcome_screen_xml:Class = _-16;
        public static var welcome_tour_popup_xml:Class = _-XZ;
        public static var main_help_xml:Class = _-mG;
        public static var main_xml:Class = _-2Xi;
        public static var user_create_xml:Class = _-11p;
        public static var user_pending_xml:Class = _-3DB;
        public static var user_ongoing_xml:Class = _-4Yr;
        public static var user_feedback_xml:Class = _-4HS;
        public static var user_thanks_xml:Class = _-10J;
        public static var user_guide_disconnected_xml:Class = _-4An;
        public static var guide_tool_xml:Class = _-08B;
        public static var guide_tool_with_ticket_selection_xml:Class = _-25A;
        public static var guide_accept_xml:Class = _-2Sr;
        public static var guide_ongoing_xml:Class = _-50O;
        public static var guide_closed_xml:Class = _-4qY;
        public static var guardian_chat_review_accept_xml:Class = _-0Nm;
        public static var guardian_chat_review_results_xml:Class = _-3IV;
        public static var guardian_chat_review_vote_xml:Class = _-0kl;
        public static var guardian_chat_review_wait_for_results_xml:Class = _-1F0;
        public static var guardian_chat_review_wait_for_voters_xml:Class = _-4Mc;
        public static var report_window_xml:Class = _-07L;
        public static var error_window_xml:Class = _-2c7;
        public static var chat_msg_xml:Class = _-2tt;
        public static var chat_msg_notification_xml:Class = _-4oq;
        public static var chat_msg_reminder_xml:Class = _-4M3;
        public static var rejected_window_xml:Class = _-3DR;
        public static var pending_bully_request_xml:Class = _-2W6;
        public static var pending_guide_session_xml:Class = _-0VF;
        public static var pending_instructions_request_xml:Class = _-031;
        public static var pending_tour_request_xml:Class = _-2Bq;
        public static var chat_review_reporter_feedback_xml:Class = _-Q1;
        public static var abusive_notice_xml:Class = _-1iA;
        public static var bully_report_xml:Class = _-58D;
        public static var emergency_help_request_xml:Class = _-1kJ;
        public static var pending_request_xml:Class = _-qx;
        public static var habbo_way_xml:Class = _-0to;
        public static var habbo_way_quiz_xml:Class = _-2xR;
        public static var safety_booklet_xml:Class = _-1Qx;
        public static var requiredClasses:Array = new Array(HabboHelpBootstrap, IIDHabboHelp);

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboInventoryBootstrap;
    import com.sulake.iid.IIDHabboInventory;

    public class HabboInventoryCom extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(HabboInventoryBootstrap, IIDHabboInventory);
        public static var manifest:Class = _-38S;
        public static var inventory_icon_png:Class = _-48S;
        public static var inventory_empty_png:Class = _-16R;
        public static var download_icon_png:Class = _-4I1;
        public static var thumb_bg_png:Class = _-21E;
        public static var thumb_bg_selected_png:Class = _-26k;
        public static var no_recycle_icon_png:Class = _-4XF;
        public static var recycle_icon_png:Class = _-1dq;
        public static var no_trade_icon_png:Class = _-2Wj;
        public static var trade_icon_png:Class = _-I9;
        public static var trading_locked_icon_png:Class = _-0K7;
        public static var trading_unlocked_icon_png:Class = _-2Ff;
        public static var inventory_xml:Class = _-0ku;
        public static var inventory_furni_base_xml:Class = _-3Yv;
        public static var inventory_furni_grid_xml:Class = _-48U;
        public static var inventory_furni_preview_xml:Class = _-3Em;
        public static var inventory_badges_xml:Class = _-1E;
        public static var inventory_effects_xml:Class = _-Cm;
        public static var inventory_trading_xml:Class = _-0-;
        public static var inventory_trading_minimized_xml:Class = _-4ck;
        public static var inventory_thumb_xml:Class = _-2tC;
        public static var inventory_pets_view_xml:Class = _-5CS;
        public static var inventory_bots_view_xml:Class = _-58Q;
        public static var buy_marketplace_tokens_xml:Class = _-uA;
        public static var make_marketplace_offer_xml:Class = _-3PI;
        public static var marketplace_no_credits_xml:Class = _-1Zm;
        public static var unseen_item_symbol_xml:Class = _-3mR;
        public static var fx_icon_1_png:Class = HabboInventoryCom_fx_icon_1_png;
        public static var fx_icon_2_png:Class = HabboInventoryCom_fx_icon_2_png;
        public static var fx_icon_3_png:Class = HabboInventoryCom_fx_icon_3_png;
        public static var fx_icon_4_png:Class = HabboInventoryCom_fx_icon_4_png;
        public static var fx_icon_5_png:Class = HabboInventoryCom_fx_icon_5_png;
        public static var fx_icon_6_png:Class = HabboInventoryCom_fx_icon_6_png;
        public static var fx_icon_7_png:Class = HabboInventoryCom_fx_icon_7_png;
        public static var fx_icon_8_png:Class = HabboInventoryCom_fx_icon_8_png;
        public static var fx_icon_9_png:Class = HabboInventoryCom_fx_icon_9_png;
        public static var fx_icon_10_png:Class = HabboInventoryCom_fx_icon_10_png;
        public static var fx_icon_11_png:Class = HabboInventoryCom_fx_icon_11_png;
        public static var fx_icon_12_png:Class = HabboInventoryCom_fx_icon_12_png;
        public static var fx_icon_13_png:Class = HabboInventoryCom_fx_icon_13_png;
        public static var fx_icon_14_png:Class = HabboInventoryCom_fx_icon_14_png;
        public static var fx_icon_15_png:Class = HabboInventoryCom_fx_icon_15_png;
        public static var fx_icon_16_png:Class = HabboInventoryCom_fx_icon_16_png;
        public static var fx_icon_17_png:Class = HabboInventoryCom_fx_icon_17_png;
        public static var fx_icon_18_png:Class = HabboInventoryCom_fx_icon_18_png;
        public static var fx_icon_19_png:Class = HabboInventoryCom_fx_icon_19_png;
        public static var fx_icon_20_png:Class = HabboInventoryCom_fx_icon_20_png;
        public static var fx_icon_21_png:Class = HabboInventoryCom_fx_icon_21_png;
        public static var fx_icon_22_png:Class = HabboInventoryCom_fx_icon_22_png;
        public static var fx_icon_23_png:Class = HabboInventoryCom_fx_icon_23_png;
        public static var fx_icon_24_png:Class = HabboInventoryCom_fx_icon_24_png;
        public static var fx_icon_25_png:Class = HabboInventoryCom_fx_icon_25_png;
        public static var fx_icon_26_png:Class = HabboInventoryCom_fx_icon_26_png;
        public static var fx_icon_27_png:Class = HabboInventoryCom_fx_icon_27_png;
        public static var fx_icon_31_png:Class = HabboInventoryCom_fx_icon_31_png;
        public static var fx_icon_32_png:Class = HabboInventoryCom_fx_icon_32_png;
        public static var fx_icon_44_png:Class = HabboInventoryCom_fx_icon_44_png;
        public static var fx_icon_47_png:Class = HabboInventoryCom_fx_icon_47_png;
        public static var fx_icon_48_png:Class = HabboInventoryCom_fx_icon_48_png;
        public static var fx_icon_53_png:Class = HabboInventoryCom_fx_icon_53_png;
        public static var fx_icon_54_png:Class = HabboInventoryCom_fx_icon_54_png;
        public static var fx_icon_59_png:Class = HabboInventoryCom_fx_icon_59_png;
        public static var fx_icon_60_png:Class = HabboInventoryCom_fx_icon_60_png;
        public static var fx_icon_61_png:Class = HabboInventoryCom_fx_icon_61_png;
        public static var fx_icon_62_png:Class = HabboInventoryCom_fx_icon_62_png;
        public static var fx_icon_63_png:Class = HabboInventoryCom_fx_icon_63_png;
        public static var fx_icon_64_png:Class = HabboInventoryCom_fx_icon_64_png;
        public static var fx_icon_65_png:Class = HabboInventoryCom_fx_icon_65_png;
        public static var fx_icon_66_png:Class = HabboInventoryCom_fx_icon_66_png;
        public static var fx_icon_67_png:Class = HabboInventoryCom_fx_icon_67_png;
        public static var fx_icon_69_png:Class = HabboInventoryCom_fx_icon_69_png;
        public static var fx_icon_70_png:Class = HabboInventoryCom_fx_icon_70_png;
        public static var fx_icon_71_png:Class = HabboInventoryCom_fx_icon_71_png;
        public static var fx_icon_72_png:Class = HabboInventoryCom_fx_icon_72_png;
        public static var fx_icon_73_png:Class = HabboInventoryCom_fx_icon_73_png;
        public static var fx_icon_74_png:Class = HabboInventoryCom_fx_icon_74_png;
        public static var fx_icon_75_png:Class = HabboInventoryCom_fx_icon_75_png;
        public static var fx_icon_76_png:Class = HabboInventoryCom_fx_icon_76_png;
        public static var fx_icon_78_png:Class = HabboInventoryCom_fx_icon_78_png;
        public static var fx_icon_79_png:Class = HabboInventoryCom_fx_icon_79_png;
        public static var fx_icon_80_png:Class = HabboInventoryCom_fx_icon_80_png;
        public static var fx_icon_81_png:Class = HabboInventoryCom_fx_icon_81_png;
        public static var fx_icon_82_png:Class = HabboInventoryCom_fx_icon_82_png;
        public static var fx_icon_83_png:Class = HabboInventoryCom_fx_icon_83_png;
        public static var fx_icon_84_png:Class = HabboInventoryCom_fx_icon_84_png;
        public static var fx_icon_85_png:Class = HabboInventoryCom_fx_icon_85_png;
        public static var fx_icon_86_png:Class = HabboInventoryCom_fx_icon_86_png;
        public static var fx_icon_87_png:Class = HabboInventoryCom_fx_icon_87_png;
        public static var fx_icon_88_png:Class = HabboInventoryCom_fx_icon_88_png;
        public static var fx_icon_89_png:Class = HabboInventoryCom_fx_icon_89_png;
        public static var fx_icon_90_png:Class = HabboInventoryCom_fx_icon_90_png;
        public static var fx_icon_91_png:Class = HabboInventoryCom_fx_icon_91_png;
        public static var fx_icon_92_png:Class = HabboInventoryCom_fx_icon_92_png;
        public static var fx_icon_93_png:Class = HabboInventoryCom_fx_icon_93_png;
        public static var fx_icon_94_png:Class = HabboInventoryCom_fx_icon_94_png;
        public static var fx_icon_99_png:Class = HabboInventoryCom_fx_icon_99_png;
        public static var fx_icon_100_png:Class = HabboInventoryCom_fx_icon_100_png;
        public static var fx_icon_104_png:Class = HabboInventoryCom_fx_icon_104_png;
        public static var fx_icon_105_png:Class = HabboInventoryCom_fx_icon_105_png;
        public static var fx_icon_106_png:Class = HabboInventoryCom_fx_icon_106_png;
        public static var fx_icon_107_png:Class = HabboInventoryCom_fx_icon_107_png;
        public static var fx_icon_108_png:Class = HabboInventoryCom_fx_icon_108_png;
        public static var fx_icon_109_png:Class = HabboInventoryCom_fx_icon_109_png;
        public static var fx_icon_110_png:Class = HabboInventoryCom_fx_icon_110_png;
        public static var fx_icon_111_png:Class = HabboInventoryCom_fx_icon_111_png;
        public static var fx_icon_112_png:Class = HabboInventoryCom_fx_icon_112_png;
        public static var fx_icon_113_png:Class = HabboInventoryCom_fx_icon_113_png;
        public static var fx_icon_114_png:Class = HabboInventoryCom_fx_icon_114_png;
        public static var fx_icon_115_png:Class = HabboInventoryCom_fx_icon_115_png;
        public static var fx_icon_116_png:Class = HabboInventoryCom_fx_icon_116_png;
        public static var fx_icon_117_png:Class = HabboInventoryCom_fx_icon_117_png;
        public static var fx_icon_118_png:Class = HabboInventoryCom_fx_icon_118_png;
        public static var fx_icon_119_png:Class = HabboInventoryCom_fx_icon_119_png;
        public static var fx_icon_120_png:Class = HabboInventoryCom_fx_icon_120_png;
        public static var fx_icon_121_png:Class = HabboInventoryCom_fx_icon_121_png;
        public static var fx_icon_122_png:Class = HabboInventoryCom_fx_icon_122_png;
        public static var fx_icon_123_png:Class = HabboInventoryCom_fx_icon_123_png;
        public static var fx_icon_124_png:Class = HabboInventoryCom_fx_icon_124_png;
        public static var fx_icon_125_png:Class = HabboInventoryCom_fx_icon_125_png;
        public static var fx_icon_126_png:Class = HabboInventoryCom_fx_icon_126_png;
        public static var fx_icon_127_png:Class = HabboInventoryCom_fx_icon_127_png;
        public static var fx_icon_128_png:Class = HabboInventoryCom_fx_icon_128_png;
        public static var fx_icon_129_png:Class = HabboInventoryCom_fx_icon_129_png;
        public static var fx_icon_130_png:Class = HabboInventoryCom_fx_icon_130_png;
        public static var fx_icon_131_png:Class = HabboInventoryCom_fx_icon_131_png;
        public static var fx_icon_132_png:Class = HabboInventoryCom_fx_icon_132_png;
        public static var fx_icon_133_png:Class = HabboInventoryCom_fx_icon_133_png;
        public static var fx_icon_134_png:Class = HabboInventoryCom_fx_icon_134_png;
        public static var fx_icon_135_png:Class = HabboInventoryCom_fx_icon_135_png;
        public static var fx_icon_136_png:Class = HabboInventoryCom_fx_icon_136_png;
        public static var fx_icon_137_png:Class = HabboInventoryCom_fx_icon_137_png;
        public static var fx_icon_138_png:Class = HabboInventoryCom_fx_icon_138_png;
        public static var fx_icon_139_png:Class = HabboInventoryCom_fx_icon_139_png;
        public static var fx_icon_140_png:Class = HabboInventoryCom_fx_icon_140_png;
        public static var icon_wallpaper_png:Class = _-KC;
        public static var icon_floor_png:Class = _-0CE;
        public static var icon_landscape_png:Class = _-13p;
        public static var item_popup_xml:Class = _-490;
        public static var popup_arrow_left_png:Class = _-2Up;
        public static var popup_arrow_right_png:Class = _-4jz;

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_10_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_10_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_100_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_100_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_104_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_104_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_105_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_105_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_106_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_106_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_107_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_107_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_108_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_108_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_109_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_109_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_11_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_11_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_110_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_110_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_111_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_111_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_112_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_112_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_113_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_113_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_114_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_114_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_115_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_115_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_116_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_116_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_117_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_117_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_118_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_118_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_119_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_119_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_12_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_12_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_120_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_120_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_121_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_121_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_122_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_122_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_123_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_123_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_124_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_124_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_125_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_125_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_126_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_126_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_127_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_127_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_128_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_128_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_129_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_129_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_13_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_13_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_130_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_130_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_131_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_131_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_132_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_132_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_133_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_133_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_134_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_134_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_135_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_135_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_136_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_136_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_137_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_137_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_138_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_138_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_139_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_139_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_14_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_14_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_140_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_140_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_15_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_15_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_16_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_16_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_17_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_17_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_18_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_18_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_19_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_19_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_20_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_20_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_21_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_21_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_22_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_22_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_23_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_23_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_24_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_24_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_25_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_25_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_26_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_26_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_27_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_27_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_3_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_3_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_31_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_31_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_32_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_32_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_4_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_4_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_44_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_44_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_47_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_47_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_48_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_48_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_5_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_5_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_53_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_53_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_54_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_54_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_59_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_59_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_6_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_6_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_60_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_60_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_61_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_61_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_62_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_62_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_63_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_63_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_64_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_64_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_65_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_65_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_66_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_66_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_67_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_67_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_69_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_69_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_7_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_7_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_70_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_70_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_71_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_71_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_72_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_72_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_73_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_73_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_74_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_74_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_75_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_75_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_76_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_76_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_78_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_78_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_79_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_79_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_8_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_8_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_80_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_80_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_81_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_81_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_82_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_82_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_83_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_83_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_84_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_84_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_85_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_85_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_86_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_86_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_87_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_87_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_88_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_88_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_89_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_89_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_9_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_9_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_90_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_90_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_91_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_91_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_92_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_92_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_93_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_93_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_94_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_94_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboInventoryCom_fx_icon_99_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboInventoryCom_fx_icon_99_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboLoadingScreen

package 
{
    import flash.display.Sprite;
    import flash.display.Bitmap;
    import flash.text.TextFormat;
    import flash.text.TextField;
    import flash.text.AntiAliasType;
    import flash.text.TextFieldAutoSize;
    import flash.events.Event;
    import _-0yf._-2zT;
    import flash.display.DisplayObject;
    import flash.display.Stage;
    import _-1B-.*;

    public class HabboLoadingScreen extends Sprite implements _-1zZ, IHabboLoadingScreen 
    {

        public static const _-0ur:int = 200;
        public static const _-4Zk:int = 20;
        public static const _-3yP:int = 1;
        public static const _-4dg:int = 1;
        public static const _-0Dc:String = "container";
        public static const _-4Tl:String = "fileLoadingBar";
        public static const _-0PB:String = "fileBarSprite";
        public static const _-4j4:String = "background";
        public static const _-1eH:String = "habboLogo";
        public static const _-0qh:String = "textField";

        private var _-2Ev:Class;
        private var _-24B:String;
        private var _disposed:Boolean = false;

        public function HabboLoadingScreen(_arg1:int, _arg2:int, _arg3:String)
        {
            var k:Sprite;
            var k:Sprite;
            this._-2Ev = _-4oT;
            super();
            this._-24B = _arg3;
            var k:Sprite = new Sprite();
            k.name = _-4j4;
            k.graphics.clear();
            k.graphics.beginFill(0xFF000000);
            k.graphics.drawRect(0, 0, _arg1, _arg2);
            addChild(k);
            var k:Bitmap = (new this._-2Ev() as Bitmap);
            k.name = _-1eH;
            addChild(k);
            var k:TextFormat = new TextFormat();
            k.font = "Verdana";
            k.color = 0xFFFFFF;
            k.size = 9;
            var k:TextField = new TextField();
            k.name = _-0qh;
            k.antiAliasType = AntiAliasType.ADVANCED;
            k.defaultTextFormat = k;
            k.text = _arg3;
            k.autoSize = TextFieldAutoSize.LEFT;
            addChild(k);
            k = new Sprite();
            k.name = _-4Tl;
            k.graphics.lineStyle(1, 0xFFFFFF, 1, true);
            k.graphics.beginFill(2500143);
            k.graphics.drawRect(1, 0, (200 - 1), 0);
            k.graphics.drawRect(200, 1, 0, (20 - 1));
            k.graphics.drawRect(1, 20, (200 - 1), 0);
            k.graphics.drawRect(0, 1, 0, (20 - 1));
            k.graphics.endFill();
            addChild(k);
            k = new Sprite();
            k.name = _-0PB;
            k.addChild(k);
            k.visible = true;
            addEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
        }
        private function onAddedToStage(_arg1:Event):void
        {
            removeEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            stage.addEventListener(Event.RESIZE, this._-4zo);
            stage.addEventListener(_-2zT.HOTEL_VIEW_READY, this._-4B);
            this._-1BF();
        }
        private function _-4zo(_arg1:Event):void
        {
            this._-1BF();
        }
        private function _-4B(_arg1:Event):void
        {
            this.dispose();
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        public function _-1-e():void
        {
            this._-4K2(_-0qh);
            this._-4K2(_-1eH);
            this._-4K2(_-4Tl);
            this._-4K2(_-0Dc);
        }
        private function _-4K2(_arg1:String):void
        {
            var k:DisplayObject = getChildByName(_arg1);
            if (k != null)
            {
                removeChild(k);
            };
        }
        public function dispose():void
        {
            if (this.disposed)
            {
                return;
            };
            this._disposed = true;
            var k:Stage = stage;
            if (k != null)
            {
                k.removeEventListener(Event.RESIZE, this._-4zo);
            };
            removeEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            removeEventListener(_-2zT.HOTEL_VIEW_READY, this._-4B);
            this._-4K2(_-4j4);
            this._-4K2(_-0qh);
            this._-4K2(_-1eH);
            this._-4K2(_-4Tl);
            this._-4K2(_-0Dc);
            if (parent != null)
            {
                parent.removeChild(this);
            };
        }
        public function _-1BF():void
        {
            var k:int;
            var k:int;
            var k:Stage = this.stage;
            if (k != null)
            {
                k = k.stageWidth;
                k = k.stageHeight;
            }
            else
            {
                k = this.width;
                k = this.height;
            };
            var k:Sprite = (getChildByName(_-4j4) as Sprite);
            if (k != null)
            {
                k.x = 0;
                k.y = 0;
                k.graphics.clear();
                k.graphics.beginFill(0xFF000000);
                k.graphics.drawRect(0, 0, k, k);
            };
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int;
            var k:int = 10;
            var k:Bitmap = (getChildByName(_-1eH) as Bitmap);
            if (k != null)
            {
                k.x = ((k - k.width) / 2);
                k.y = ((k - k.height) / 2);
                k = ((k.y + k.height) + k);
                k = k.width;
                k = k.x;
            };
            var k:TextField = (getChildByName(_-0qh) as TextField);
            if (k != null)
            {
                k.x = ((k - k.width) / 2);
                if (k)
                {
                    k.y = k;
                    k = ((k.y + k.height) + k);
                };
                if (k.width > k)
                {
                    k = k.width;
                    k = k.x;
                };
            };
            var k:Sprite = (getChildByName(_-4Tl) as Sprite);
            if (k != null)
            {
                k.x = ((k - k.width) / 2);
                k.y = k;
                k = (k.y + k.height);
                if (k.width > k)
                {
                    k = k.width;
                    k = k.x;
                };
            };
            k = (k - (((k)!=null) ? k.y : 0));
            k = ((k - k) / 2);
            k = (k - (k * 2));
            if (k != null)
            {
                k.y = k;
                k = ((k.y + k.height) + k);
                k = k.y;
            };
            if (k != null)
            {
                k.y = k;
                k = ((k.y + k.height) + k);
            };
            if (k != null)
            {
                k.y = k;
            };
        }
        public function updateLoadingBar(_arg1:Number):void
        {
            var k:int = _-0ur;
            var k:int = _-4Zk;
            var k:int = _-3yP;
            var k:int = _-4dg;
            var k:Sprite = (getChildByName(_-4Tl) as Sprite);
            if (k == null)
            {
                return;
            };
            var k:Sprite = (k.getChildByName(_-0PB) as Sprite);
            if (k == null)
            {
                return;
            };
            k.x = (k + k);
            k.y = (k + k);
            k.graphics.clear();
            var k:int = ((k - (k * 2)) - (k * 2));
            var k:int = (((k - (k * 2)) - (k * 2)) * _arg1);
            k.graphics.beginFill(12241619);
            k.graphics.drawRect(0, 0, k, (k / 2));
            k.graphics.endFill();
            k.graphics.beginFill(9216429);
            k.graphics.drawRect(0, (k / 2), k, ((k / 2) + 1));
            k.graphics.endFill();
            this._-0ZK((_arg1 * 100));
        }
        public function _-0ZK(_arg1:Number):void
        {
            var k:TextField = (getChildByName(_-0qh) as TextField);
            if (k != null)
            {
                k.text = (((this._-24B + " (") + Math.round(_arg1)) + "%)");
            };
        }

    }
}//package 

//------------------------------------------------------------
//HabboLocalizationCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboLocalizationManagerBootstrap;
    import com.sulake.iid.IIDCoreLocalizationManager;
    import com.sulake.iid.IIDHabboLocalizationManager;
    import _-uF.ICoreLocalizationManager;
    import _-3X8._-0hg;
    import _-3X8.HabboLocalizationManager;

    public class HabboLocalizationCom extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(HabboLocalizationManagerBootstrap, IIDCoreLocalizationManager, IIDHabboLocalizationManager, ICoreLocalizationManager, _-0hg, HabboLocalizationManager);
        public static var manifest:Class = _-0qi;

    }
}//package 

//------------------------------------------------------------
//HabboMain

package 
{
    import flash.display.Sprite;
    import _-1B-._-vx;
    import _-2gz.HabboTracking;
    import flash.events.Event;
    import flash.events.ProgressEvent;
    import _-p-.Core;
    import flash.external.ExternalInterface;
    import _-18r.ErrorReportStorage;
    import _-1B-._-Px;
    import flash.net.URLRequest;
    import _-295._-4Rz;
    import _-1tB.AssetLoaderEvent;
    import _-295._-243;

    public class HabboMain extends Sprite 
    {

        private var _core:_-vx;
        private var _isFading:Boolean = false;
        private var _loadingScreen:IHabboLoadingScreen;
        private var _tracking:HabboTracking;

        public function HabboMain(_arg1:IHabboLoadingScreen)
        {
            this._loadingScreen = _arg1;
            this._loadingScreen.addEventListener(Event.COMPLETE, this.onCompleteEvent);
            this._loadingScreen.addEventListener(ProgressEvent.PROGRESS, this.onProgressEvent);
            addEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            addEventListener(Event.ENTER_FRAME, this.onEnterFrame);
            _-Nb.log(("Core version: " + Core.version));
        }
        private function dispose():void
        {
            removeEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);
            removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
            if (this._loadingScreen)
            {
                this._loadingScreen.removeEventListener(Event.COMPLETE, this.onCompleteEvent);
                this._loadingScreen.removeEventListener(ProgressEvent.PROGRESS, this.onProgressEvent);
                this._loadingScreen._-1-e();
                this._loadingScreen = null;
            };
            if (parent)
            {
                parent.removeChild(this);
            };
        }
        private function initializeCore():void
        {
            try
            {
                this._core.initialize();
                if (ExternalInterface.available)
                {
                    ExternalInterface.addCallback("unloading", this.unloading);
                };
            }
            catch(error:Error)
            {
                Habbo.trackLoginStep(Habbo.CORE_ERROR);
                Core._-4Tm(("Failed to initialize the core: " + error.message), Core._-0wr, error);
            };
        }
        public function unloading():void
        {
            if (((this._core) && (!(this._core.disposed))))
            {
                ErrorReportStorage._-0QQ("Unload", "Client unloading started");
                this._core.events.dispatchEvent(new Event(Event.UNLOAD));
            };
        }
        protected function onAddedToStage(_arg1:Event=null):void
        {
            var event = _arg1;
            try
            {
                this.prepareCore();
            }
            catch(error:Error)
            {
                Habbo.trackLoginStep(Habbo.CORE_ERROR);
                Habbo.reportCrash(("Failed to prepare the core: " + error.message), Core._-0wr, error);
                Core.dispose();
            };
        }
        private function prepareCore():void
        {
            Habbo.trackLoginStep(Habbo.CORE_INIT);
            this._core = Core._-1nd(stage, Core._-0d1);
            this._core.events.addEventListener(_-Px.COMPONENT_EVENT_ERROR, this.onCoreError);
            this._core._-3rC(CoreCommunicationFrameworkLib);
            this._core._-3rC(HabboRoomObjectLogicLib);
            this._core._-3rC(HabboRoomObjectVisualizationLib);
            this._core._-3rC(RoomManagerLib);
            this._core._-3rC(RoomSpriteRendererLib);
            this._core._-3rC(HabboRoomSessionManagerLib);
            this._core._-3rC(HabboAvatarRenderLib);
            this._core._-3rC(HabboSessionDataManagerLib);
            this._core._-3rC(HabboTrackingLib);
            this._core._-3rC(HabboConfigurationCom);
            this._core._-3rC(HabboLocalizationCom);
            this._core._-3rC(HabboWindowManagerCom);
            this._core._-3rC(HabboCommunicationCom);
            this._core._-3rC(HabboCommunicationDemoCom);
            this._core._-3rC(HabboNavigatorCom);
            this._core._-3rC(HabboFriendListCom);
            this._core._-3rC(HabboMessengerCom);
            this._core._-3rC(HabboInventoryCom);
            this._core._-3rC(HabboToolbarCom);
            this._core._-3rC(HabboCatalogCom);
            this._core._-3rC(HabboRoomEngineCom);
            this._core._-3rC(HabboRoomUICom);
            this._core._-3rC(HabboAvatarEditorCom);
            this._core._-3rC(HabboNotificationsCom);
            this._core._-3rC(HabboHelpCom);
            this._core._-3rC(HabboAdManagerCom);
            this._core._-3rC(HabboModerationCom);
            this._core._-3rC(HabboUserDefinedRoomEventsCom);
            this._core._-3rC(HabboSoundManagerFlash10Com);
            this._core._-3rC(HabboQuestEngineCom);
            this._core._-3rC(HabboFriendBarCom);
            this._core._-3rC(HabboGroupsCom);
            this._core._-3rC(HabboGamesCom);
            this._tracking = HabboTracking._-0ON();
            var k:_-4Rz = this._core.assets.loadAssetFromFile("config.xml", new URLRequest("config_habbo.xml"));
            if (k._-48Y.ready)
            {
                this.setupCoreConfigFromLoader(k);
            }
            else
            {
                k.addEventListener(AssetLoaderEvent._-1Tr, this.configLoadedHandler);
                k.addEventListener(AssetLoaderEvent._-4ar, this.configLoadedHandler);
            };
        }
        private function configLoadedHandler(_arg1:AssetLoaderEvent):void
        {
            var k:_-4Rz;
            k = (_arg1.target as _-4Rz);
            k.removeEventListener(AssetLoaderEvent._-1Tr, this.configLoadedHandler);
            k.removeEventListener(AssetLoaderEvent._-4ar, this.configLoadedHandler);
            if (_arg1.type == AssetLoaderEvent._-1Tr)
            {
                this.setupCoreConfigFromLoader(k);
            }
            else
            {
                Habbo.reportCrash((("Failed to download external configuration document " + k._-48Y.url) + "!"), Core._-3Qt, null);
            };
        }
        private function setupCoreConfigFromLoader(_arg1:_-4Rz):void
        {
            var k:_-243 = (this._core.assets.getAssetByName(_arg1.assetName) as _-243);
            if (((!(k)) || (!(k.content))))
            {
                Habbo.reportCrash("Download external configuration document is null!", Core._-3Qt, null);
            };
            if (this._core)
            {
                this._core._-0O2(XML(k.content), this._loadingScreen);
            }
            else
            {
                Habbo.reportCrash("Core vanished while downloading config document!", Core._-3Qt, null);
            };
        }
        private function onEnterFrame(_arg1:Event):void
        {
            if (this._isFading)
            {
                this._isFading = false;
                this.dispose();
            };
        }
        private function onCompleteEvent(_arg1:Event):void
        {
            this.updateLoadingBar();
            this.initializeCore();
            this._isFading = true;
        }
        private function onProgressEvent(_arg1:ProgressEvent):void
        {
            this.updateLoadingBar();
        }
        private function updateLoadingBar():void
        {
            var k:uint;
            var k:int;
            var k:Number;
            if (this._loadingScreen != null)
            {
                k = this._core._-3SA();
                k = (this._core._-1WY() + k);
                k = (Habbo.CORE_RATIO + ((k / k) * (1 - Habbo.CORE_RATIO)));
                this._loadingScreen.updateLoadingBar(k);
            };
        }
        public function onCoreError(_arg1:Event):void
        {
            Habbo.trackLoginStep(Habbo.CORE_ERROR);
        }

    }
}//package 

//------------------------------------------------------------
//HabboMessengerCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboMessengerBootstrap;
    import com.sulake.iid.IIDHabboMessenger;

    public class HabboMessengerCom extends SimpleApplication 
    {

        public static var manifest:Class = _-3C7;
        public static var close_png:Class = _-005;
        public static var convo_bg_png:Class = _-32J;
        public static var follow_friend_png:Class = _-0Pt;
        public static var minimail_png:Class = _-0yo;
        public static var next_png:Class = _-184;
        public static var prev_png:Class = _-5Er;
        public static var resize_png:Class = _-0-6;
        public static var tab_bg_hilite_png:Class = _-0vP;
        public static var tab_bg_next_png:Class = _-06D;
        public static var tab_bg_sel_png:Class = _-3p7;
        public static var tab_bg_unsel_png:Class = _-0Mu;
        public static var main_window_xml:Class = _-2FI;
        public static var msg_entry_xml:Class = _-2b9;
        public static var tab_entry_xml:Class = _-0Lb;
        public static var messenger_xml:Class = _-0O4;
        public static var requiredClasses:Array = new Array(HabboMessengerBootstrap, IIDHabboMessenger);

    }
}//package 

//------------------------------------------------------------
//HabboModerationCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.ModerationManagerBootstrap;
    import com.sulake.iid.IIDHabboModeration;

    public class HabboModerationCom extends SimpleApplication 
    {

        public static var manifest:Class = _-0mz;
        public static var requiredClasses:Array = new Array(ModerationManagerBootstrap, IIDHabboModeration);
        public static var chatlog_chatline_xml:Class = _-14M;
        public static var chatlog_frame_xml:Class = _-1Qv;
        public static var chatlog_roomheader_xml:Class = _-2Bh;
        public static var issue_browser_xml:Class = _-3iE;
        public static var open_issues_list_item_xml:Class = _-28z;
        public static var modact_offence_xml:Class = _-W;
        public static var modact_offencectg_xml:Class = _-1kc;
        public static var modact_summary_xml:Class = _-2XG;
        public static var my_issues_list_item_xml:Class = _-bt;
        public static var my_issues_xml:Class = _-Ab;
        public static var open_issues_xml:Class = _-4gS;
        public static var send_msgs_xml:Class = _-4bW;
        public static var start_panel_xml:Class = _-527;
        public static var user_info_xml:Class = _-2r;
        public static var user_info_frame_xml:Class = _-2-4;
        public static var issue_handler_xml:Class = _-Gt;
        public static var picked_issues_xml:Class = _-4WM;
        public static var picked_issues_list_item_xml:Class = _-0eo;
        public static var roomtool_frame_xml:Class = _-4kO;
        public static var roomtool_roomdata_xml:Class = _-3S3;
        public static var roomvisits_frame_xml:Class = _-3vf;
        public static var roomvisits_row_xml:Class = _-32T;
        public static var issue_handler_issue_info_xml:Class = _-KH;
        public static var issue_handler_message_list_item_xml:Class = _-2W-;
        public static var auto_issue_handler_xml:Class = use ;
        public static var auto_issue_handler_chat_line_xml:Class = _-4Jc;
        public static var auto_issue_handler_match_xml:Class = _-07A;
        public static var auto_issue_handler_offence_button_xml:Class = _-1Pq;
        public static var room_icon_png:Class = _-2Pz;
        public static var user_icon_png:Class = _-YS;

    }
}//package 

//------------------------------------------------------------
//HabboNavigatorCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboNavigatorBootstrap;
    import com.sulake.iid.IIDHabboNavigator;

    public class HabboNavigatorCom extends SimpleApplication 
    {

        public static var manifest:Class = _-v2;
        public static var arrow_down_white_png:Class = _-4n6;
        public static var arrow_right_white_png:Class = _-nZ;
        public static var create_room_png:Class = _-56Q;
        public static var doormode_doorbell_png:Class = _-1-F;
        public static var doormode_doorbell_small_png:Class = _-3PS;
        public static var doormode_password_png:Class = _-1CH;
        public static var doormode_password_small_png:Class = _-43j;
        public static var enter_room_png:Class = _-36H;
        public static var enter_room_l_png:Class = _-G;
        public static var enter_room_m_png:Class = _-98;
        public static var enter_room_r_png:Class = _-4Eh;
        public static var enter_room_a_png:Class = _-0fM;
        public static var favourite_png:Class = _-3nH;
        public static var facebook_logo_small_png:Class = _-0Tj;
        public static var group_base_icon_png:Class = _-316;
        public static var make_favourite_png:Class = _-3Zo;
        public static var home_png:Class = _-2I5;
        public static var make_home_png:Class = _-0K1;
        public static var icon_weblink_png:Class = _-4ns;
        public static var icon_hotelview_png:Class = _-0i0;
        public static var icon_hotelview_reactive_png:Class = _-NJ;
        public static var model_a_png:Class = _-OX;
        public static var model_b_png:Class = _-2Wu;
        public static var model_c_png:Class = _-50U;
        public static var model_d_png:Class = _-5E3;
        public static var model_e_png:Class = _-3Cx;
        public static var model_f_png:Class = _-5Bx;
        public static var model_g_png:Class = _-1ub;
        public static var model_h_png:Class = _-2as;
        public static var model_i_png:Class = _-15M;
        public static var model_j_png:Class = _-NS;
        public static var model_k_png:Class = _-58u;
        public static var model_l_png:Class = _-9e;
        public static var model_m_png:Class = _-0GA;
        public static var model_n_png:Class = _-1M;
        public static var model_o_png:Class = _-2zW;
        public static var model_p_png:Class = _-4ff;
        public static var model_q_png:Class = _-0Bw;
        public static var model_r_png:Class = _-15T;
        public static var model_t_png:Class = _-1ZW;
        public static var model_u_png:Class = _-nN;
        public static var model_v_png:Class = _-qD;
        public static var model_w_png:Class = _-2Pd;
        public static var model_x_png:Class = _-4rY;
        public static var model_y_png:Class = _-mb;
        public static var model_z_png:Class = _-2El;
        public static var model_0_png:Class = _-3BX;
        public static var model_snowwar1_png:Class = HabboNavigatorCom_model_snowwar1_png;
        public static var model_snowwar2_png:Class = HabboNavigatorCom_model_snowwar2_png;
        public static var navi_room_favourite_png:Class = _-1oa;
        public static var navi_room_friends_png:Class = _-4Qs;
        public static var navi_room_icon_png:Class = _-3DG;
        public static var navi_room_official_png:Class = _-rW;
        public static var navi_room_own_png:Class = _-4HF;
        public static var navi_room_popular_png:Class = _-0qf;
        public static var navi_tag_hot_1_png:Class = HabboNavigatorCom_navi_tag_hot_1_png;
        public static var navi_tag_hot_2_png:Class = HabboNavigatorCom_navi_tag_hot_2_png;
        public static var navi_tag_hot_3_png:Class = HabboNavigatorCom_navi_tag_hot_3_png;
        public static var popup_arrow_down_png:Class = _-54v;
        public static var popup_arrow_left_png:Class = _-UX;
        public static var popup_arrow_right_png:Class = _-2SA;
        public static var trading_allowed_png:Class = _-xJ;
        public static var rico_rnd_m_png:Class = _-21Q;
        public static var rico_rnd_l_png:Class = _-07E;
        public static var rico_rnd_l_b_png:Class = _-ol;
        public static var rico_rnd_r_png:Class = _-4lX;
        public static var rico_rnd_r_b_png:Class = _-2Rr;
        public static var select_arrow_png:Class = _-2gM;
        public static var tag_l_png:Class = _-3H6;
        public static var tag_m_png:Class = _-0iY;
        public static var tag_r_png:Class = _-4o4;
        public static var tag_l_reactive_png:Class = _-0gK;
        public static var tag_m_reactive_png:Class = _-1D;
        public static var tag_r_reactive_png:Class = _-2My;
        public static var thumb_up_png:Class = _-2xO;
        public static var tile_icon_black_png:Class = _-4oJ;
        public static var tile_icon_white_png:Class = _-10N;
        public static var usercount_fixed_b_png:Class = _-kD;
        public static var usercount_fixed_g_png:Class = _-4ln;
        public static var usercount_fixed_o_png:Class = _-2Zx;
        public static var usercount_fixed_r_png:Class = _-VF;
        public static var usercount_fixed_y_png:Class = _-N-;
        public static var grs_front_page_search_big_xml:Class = _-30W;
        public static var grs_front_page_search_small_xml:Class = _-4r4;
        public static var grs_guest_room_details_short_xml:Class = _-0V3;
        public static var grs_guest_room_details_long_xml:Class = _-EY;
        public static var grs_guest_room_thumbnail_xml:Class = _-4IN;
        public static var grs_room_ads_details_short_xml:Class = _-SP;
        public static var grs_hot_room_details_xml:Class = _-2mS;
        public static var grs_main_window_xml:Class = _-2t-;
        public static var grs_official_room_row_xml:Class = _-3CY;
        public static var grs_popular_tag_row_xml:Class = _-1IE;
        public static var grs_promoted_room_category_xml:Class = _-1Rd;
        public static var grs_usercount_xml:Class = _-3YK;
        public static var nav_error_popup_xml:Class = _-Rg;
        public static var nav_simple_alert_xml:Class = _-2uO;
        public static var nav_promo_alert_xml:Class = _-32y;
        public static var iro_event_settings_xml:Class = _-2fc;
        public static var iro_event_info_xml:Class = _-0cF;
        public static var iro_room_details_framed_xml:Class = _-1I5;
        public static var iro_tag_xml:Class = _-2Q5;
        public static var roc_create_room_xml:Class = _-2cJ;
        public static var roc_vip_promo_xml:Class = _-sP;
        public static var roc_room_thumbnail_xml:Class = _-4L6;
        public static var ros_flat_controller_xml:Class = _-0qL;
        public static var ros_banned_user_xml:Class = _-3lL;
        public static var ros_friend_xml:Class = _-3hS;
        public static var ros_room_settings_xml:Class = _-3aX;
        public static var ros_confirm_xml:Class = _-1D9;
        public static var password_input_xml:Class = _-0cU;
        public static var doorbell_xml:Class = _-46J;
        public static var guild_info_xml:Class = _-4YQ;
        public static var requiredClasses:Array = new Array(HabboNavigatorBootstrap, IIDHabboNavigator);

    }
}//package 

//------------------------------------------------------------
//HabboNavigatorCom_model_snowwar1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboNavigatorCom_model_snowwar1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboNavigatorCom_model_snowwar2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboNavigatorCom_model_snowwar2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboNavigatorCom_navi_tag_hot_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboNavigatorCom_navi_tag_hot_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboNavigatorCom_navi_tag_hot_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboNavigatorCom_navi_tag_hot_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboNavigatorCom_navi_tag_hot_3_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboNavigatorCom_navi_tag_hot_3_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboNotificationsCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboNotificationsBootstrap;
    import com.sulake.iid.IIDHabboNotifications;

    public class HabboNotificationsCom extends SimpleApplication 
    {

        public static var manifest:Class = _-1JO;
        public static var habbo_notifications_config_xml:Class = _-1tv;
        public static var achievement_bg_001_png:Class = _-2qL;
        public static var if_icon_temp_png:Class = _-4p3;
        public static var if_icon_hc_png:Class = _-4As;
        public static var if_icon_vip_png:Class = _-q5;
        public static var if_icon_recycler_png:Class = _-262;
        public static var if_icon_friend_bg_blue_png:Class = _-3Yg;
        public static var motd_notification_xml:Class = _-2ig;
        public static var motd_notification_item_xml:Class = _-2rS;
        public static var layout_notification_xml:Class = _-3F6;
        public static var layout_notifications_browser_xml:Class = _-2Cb;
        public static var layout_parkbus_notification_xml:Class = _-4cO;
        public static var achievement_notification_bonus_xml:Class = _-4LK;
        public static var club_gift_notification_xml:Class = _-0nN;
        public static var requiredClasses:Array = new Array(HabboNotificationsBootstrap, IIDHabboNotifications);

    }
}//package 

//------------------------------------------------------------
//HabboQuestEngineCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboQuestEngineBootstrap;
    import com.sulake.iid.IIDHabboQuestEngine;

    public class HabboQuestEngineCom extends SimpleApplication 
    {

        public static const icon_quest_hidden:Class = _-2dK;
        public static const Campaign:Class = _-4bT;
        public static const CampaignCompleted:Class = _-0dF;
        public static const EntryArrows:Class = _-3ge;
        public static const QuestEntry:Class = _-5A1;
        public static const Quest:Class = _-1AS;
        public static const QuestDetails:Class = _-G4;
        public static const Quests:Class = _-3Bp;
        public static const QuestTracker:Class = _-1OC;
        public static const QuestCompletedDialog:Class = _-4FD;
        public static const QuestHelp:Class = _-3XU;
        public static const AchievementCategory:Class = _-kw;
        public static const Achievements:Class = _-46n;
        public static const Achievement:Class = _-26E;
        public static const AchievementLevelUp:Class = _-b1;
        public static const ProgressBar:Class = _-17i;
        public static const NextQuestTimer:Class = _-3X4;
        public static const SeasonalCalendar:Class = _-aF;
        public static const RoomCompetition:Class = _-PH;
        public static const calendar_quest_complete:Class = _-03M;
        public static const arrow_back_active:Class = _-2AA;
        public static const arrow_back_inactive:Class = _-4v2;
        public static const arrow_back_hilite:Class = _-1-c;
        public static const arrow_next_active:Class = _-4F-;
        public static const arrow_next_inactive:Class = _-4w9;
        public static const arrow_next_hilite:Class = _-5AX;
        public static const stripe_mask_L:Class = _-4Ke;
        public static const stripe_mask_R:Class = _-2rO;

        public static var manifest:Class =  var;
        public static var requiredClasses:Array = new Array(HabboQuestEngineBootstrap, IIDHabboQuestEngine);

    }
}//package 

//------------------------------------------------------------
//HabboRoomEngineCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.RoomEngineBootstrap;
    import com.sulake.bootstrap.TestableRoomEngineBootstrap;
    import com.sulake.iid.IIDRoomEngine;

    public class HabboRoomEngineCom extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(RoomEngineBootstrap, TestableRoomEngineBootstrap, IIDRoomEngine);
        public static var manifest:Class = _-0hf;

    }
}//package 

//------------------------------------------------------------
//HabboRoomObjectLogicLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.RoomObjectFactoryBootstrap;
    import com.sulake.iid.IIDRoomObjectFactory;

    public class HabboRoomObjectLogicLib extends SimpleApplication 
    {

        public static var manifest:Class = _-1Cf;
        public static var requiredClasses:Array = new Array(RoomObjectFactoryBootstrap, IIDRoomObjectFactory);

    }
}//package 

//------------------------------------------------------------
//HabboRoomObjectVisualizationLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.RoomObjectVisualizationFactoryBootstrap;
    import com.sulake.iid.IIDRoomObjectVisualizationFactory;

    public class HabboRoomObjectVisualizationLib extends SimpleApplication 
    {

        public static var manifest:Class = _-6U;
        public static var pet_experience_bubble_png:Class = _-1aA;
        public static var snowball_small_png:Class = _-2Mw;
        public static var snowball_small_shadow_png:Class = _-16D;
        public static var snowball_big_png:Class = _-2Gp;
        public static var snowball_splash_1:Class = HabboRoomObjectVisualizationLib_snowball_splash_1;
        public static var snowball_splash_2:Class = HabboRoomObjectVisualizationLib_snowball_splash_2;
        public static var snowball_splash_3:Class = HabboRoomObjectVisualizationLib_snowball_splash_3;
        public static var requiredClasses:Array = new Array(RoomObjectVisualizationFactoryBootstrap, IIDRoomObjectVisualizationFactory);

    }
}//package 

//------------------------------------------------------------
//HabboRoomObjectVisualizationLib_snowball_splash_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomObjectVisualizationLib_snowball_splash_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomObjectVisualizationLib_snowball_splash_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomObjectVisualizationLib_snowball_splash_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomObjectVisualizationLib_snowball_splash_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomObjectVisualizationLib_snowball_splash_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomSessionManagerLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.RoomSessionManagerBootstrap;
    import com.sulake.iid.IIDHabboRoomSessionManager;

    public class HabboRoomSessionManagerLib extends SimpleApplication 
    {

        public static var manifest:Class = _-2Q7;
        public static var requiredClasses:Array = new Array(RoomSessionManagerBootstrap, IIDHabboRoomSessionManager);

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.RoomUIBootstrap;
    import _-FP._-3is;
    import com.sulake.iid.IIDHabboRoomUI;

    public class HabboRoomUICom extends SimpleApplication 
    {

        public static const gift_icon_background:Class = _-3g4;
        public static const giftcard_blank:Class = _-2XE;
        public static const gift_incognito:Class = _-4En;
        public static const pet_skill_level_0:Class = HabboRoomUICom_pet_skill_level_0;
        public static const pet_skill_level_1:Class = HabboRoomUICom_pet_skill_level_1;
        public static const pet_skill_level_2:Class = HabboRoomUICom_pet_skill_level_2;
        public static const pet_skill_level_3:Class = HabboRoomUICom_pet_skill_level_3;
        public static const pet_skill_level_4:Class = HabboRoomUICom_pet_skill_level_4;
        public static const roomchat_styles_normal_chat_bubble_left:Class = _-4XC;
        public static const roomchat_styles_normal_chat_bubble_left_color:Class = _-1mM;
        public static const roomchat_styles_normal_chat_bubble_middle:Class = _-4er;
        public static const roomchat_styles_normal_chat_bubble_right:Class = _-kz;
        public static const roomchat_styles_normal_chat_bubble_pointer:Class = _-4w6;
        public static const roomchat_styles_normal_selector_preview:Class = _-2cS;
        public static const roomchat_styles_generic_chat_bubble_left:Class = _-47-;
        public static const roomchat_styles_generic_chat_bubble_middle:Class = _-4aV;
        public static const roomchat_styles_generic_chat_bubble_right:Class = _-3bT;
        public static const roomchat_styles_generic_chat_bubble_pointer:Class = _-2il;
        public static const roomchat_styles_bot_bot_chat_bubble_left:Class = _-19l;
        public static const roomchat_styles_bot_bot_chat_bubble_middle:Class = _-44Z;
        public static const roomchat_styles_bot_bot_chat_bubble_right:Class = _-2FG;
        public static const roomchat_styles_bot_bot_chat_bubble_pointer:Class = _-Es;
        public static const roomchat_styles_firingmylazer_chat_bubble_left:Class = _-11s;
        public static const roomchat_styles_firingmylazer_chat_bubble_middle:Class = _-3FS;
        public static const roomchat_styles_firingmylazer_chat_bubble_right:Class = _-3Rd;
        public static const roomchat_styles_firingmylazer_chat_bubble_pointer:Class = _-eG;
        public static const roomchat_styles_firingmylazer_selector_preview:Class = _-57H;
        public static const roomchat_styles_gothicrose_chat_bubble_left:Class = _-0K6;
        public static const roomchat_styles_gothicrose_chat_bubble_middle:Class = _-2iT;
        public static const roomchat_styles_gothicrose_chat_bubble_right:Class = _-0so;
        public static const roomchat_styles_gothicrose_chat_bubble_pointer:Class = _-9I;
        public static const roomchat_styles_gothicrose_selector_preview:Class = _-36d;
        public static const roomchat_styles_piglet_chat_bubble_left:Class = _-42Y;
        public static const roomchat_styles_piglet_chat_bubble_middle:Class = _-0MK;
        public static const roomchat_styles_piglet_chat_bubble_right:Class = _-59W;
        public static const roomchat_styles_piglet_chat_bubble_pointer:Class = _-45y;
        public static const roomchat_styles_piglet_selector_preview:Class = _-37j;
        public static const roomchat_styles_sausagedog_chat_bubble_left:Class = _-bn;
        public static const roomchat_styles_sausagedog_chat_bubble_middle:Class = _-z5;
        public static const roomchat_styles_sausagedog_chat_bubble_right:Class = _-4Uz;
        public static const roomchat_styles_sausagedog_chat_bubble_pointer:Class = _-4ih;
        public static const roomchat_styles_sausagedog_selector_preview:Class = _-Wj;
        public static const roomchat_styles_dragon_chat_bubble_left:Class = _-C2;
        public static const roomchat_styles_dragon_chat_bubble_middle:Class = _-3cZ;
        public static const roomchat_styles_dragon_chat_bubble_right:Class = _-2Zn;
        public static const roomchat_styles_dragon_chat_bubble_pointer:Class = _-0rD;
        public static const roomchat_styles_dragon_selector_preview:Class = _-4CS;
        public static const roomchat_styles_hearts_chat_bubble_left:Class = _-26y;
        public static const roomchat_styles_hearts_chat_bubble_middle:Class = _-1K2;
        public static const roomchat_styles_hearts_chat_bubble_right:Class = _-4Yy;
        public static const roomchat_styles_hearts_chat_bubble_pointer:Class = _-nq;
        public static const roomchat_styles_hearts_selector_preview:Class = _-4vS;
        public static const roomchat_styles_normal_dark_turquoise_chat_bubble_left:Class = _-4Sk;
        public static const roomchat_styles_normal_dark_turquoise_chat_bubble_middle:Class = _-44w;
        public static const roomchat_styles_normal_dark_turquoise_chat_bubble_right:Class = _-2Oi;
        public static const roomchat_styles_normal_dark_turquoise_chat_bubble_pointer:Class = _-0ni;
        public static const roomchat_styles_normal_dark_turquoise_selector_preview:Class = _-3h4;
        public static const roomchat_styles_normal_dark_yellow_chat_bubble_left:Class = _-45c;
        public static const roomchat_styles_normal_dark_yellow_chat_bubble_middle:Class = _-4HO;
        public static const roomchat_styles_normal_dark_yellow_chat_bubble_right:Class = _-bN;
        public static const roomchat_styles_normal_dark_yellow_chat_bubble_pointer:Class = _-1I2;
        public static const roomchat_styles_normal_dark_yellow_selector_preview:Class = _-1Aq;
        public static const roomchat_styles_normal_green_chat_bubble_left:Class = _-fe;
        public static const roomchat_styles_normal_green_chat_bubble_middle:Class = _-2-E;
        public static const roomchat_styles_normal_green_chat_bubble_right:Class = _-5Av;
        public static const roomchat_styles_normal_green_chat_bubble_pointer:Class = _-2zu;
        public static const roomchat_styles_normal_green_selector_preview:Class = _-1ab;
        public static const roomchat_styles_normal_pink_chat_bubble_left:Class = _-2is;
        public static const roomchat_styles_normal_pink_chat_bubble_middle:Class = _-1Zl;
        public static const roomchat_styles_normal_pink_chat_bubble_right:Class = _-11w;
        public static const roomchat_styles_normal_pink_chat_bubble_pointer:Class = _-3zm;
        public static const roomchat_styles_normal_pink_selector_preview:Class = _-2Wt;
        public static const roomchat_styles_normal_purple_chat_bubble_left:Class = _-2GP;
        public static const roomchat_styles_normal_purple_chat_bubble_middle:Class = _-3tP;
        public static const roomchat_styles_normal_purple_chat_bubble_right:Class = _-1zp;
        public static const roomchat_styles_normal_purple_chat_bubble_pointer:Class = _-1yZ;
        public static const roomchat_styles_normal_purple_selector_preview:Class = _-4k1;
        public static const roomchat_styles_normal_sky_blue_chat_bubble_left:Class = _-NF;
        public static const roomchat_styles_normal_sky_blue_chat_bubble_middle:Class = _-l5;
        public static const roomchat_styles_normal_sky_blue_chat_bubble_right:Class = _-37t;
        public static const roomchat_styles_normal_sky_blue_chat_bubble_pointer:Class = _-1iY;
        public static const roomchat_styles_normal_sky_blue_selector_preview:Class = _-0c-;
        public static const roomchat_styles_normal_yellow_chat_bubble_left:Class = _-VP;
        public static const roomchat_styles_normal_yellow_chat_bubble_middle:Class = _-6g;
        public static const roomchat_styles_normal_yellow_chat_bubble_right:Class = _-2y;
        public static const roomchat_styles_normal_yellow_chat_bubble_pointer:Class = _-JI;
        public static const roomchat_styles_normal_yellow_selector_preview:Class = _-4eL;
        public static const roomchat_styles_sticking_plaster_chat_bubble_left:Class = _-1iP;
        public static const roomchat_styles_sticking_plaster_chat_bubble_middle:Class = _-4Fi;
        public static const roomchat_styles_sticking_plaster_chat_bubble_right:Class = _-0Hf;
        public static const roomchat_styles_sticking_plaster_chat_bubble_pointer:Class = _-2EO;
        public static const roomchat_styles_sticking_plaster_selector_preview:Class = _-wU;
        public static const roomchat_styles_normal_red_chat_bubble_left:Class = _-1I4;
        public static const roomchat_styles_normal_red_chat_bubble_middle:Class = _-0ts;
        public static const roomchat_styles_normal_red_chat_bubble_right:Class = _-1jc;
        public static const roomchat_styles_normal_red_chat_bubble_pointer:Class = _-2K3;
        public static const roomchat_styles_normal_red_selector_preview:Class = _-TA;
        public static const roomchat_styles_normal_blue_chat_bubble_left:Class = _-0TZ;
        public static const roomchat_styles_normal_blue_chat_bubble_middle:Class = _-0dJ;
        public static const roomchat_styles_normal_blue_chat_bubble_right:Class = _-4Jb;
        public static const roomchat_styles_normal_blue_chat_bubble_pointer:Class = _-4ef;
        public static const roomchat_styles_normal_blue_selector_preview:Class = _-3FC;
        public static const roomchat_styles_normal_grey_chat_bubble_left:Class = _-1jK;
        public static const roomchat_styles_normal_grey_chat_bubble_middle:Class = _-1R5;
        public static const roomchat_styles_normal_grey_chat_bubble_right:Class = _-3Gn;
        public static const roomchat_styles_normal_grey_chat_bubble_pointer:Class = _-2Sj;
        public static const roomchat_styles_normal_grey_selector_preview:Class = _-3Nw;
        public static const roomchat_styles_fortune_teller_left:Class = _-4Bx;
        public static const roomchat_styles_fortune_teller_mid:Class = _-1eG;
        public static const roomchat_styles_fortune_teller_right:Class = _-d3;
        public static const roomchat_styles_fortune_teller_pointer:Class = _-50y;
        public static const roomchat_styles_zombie_hand_left:Class = _-22t;
        public static const roomchat_styles_zombie_hand_middle:Class = _-ld;
        public static const roomchat_styles_zombie_hand_right:Class = _-0dm;
        public static const roomchat_styles_zombie_hand_pointer:Class = _-2z5;
        public static const roomchat_styles_zombie_hand_preview:Class = _-2x4;
        public static const roomchat_styles_skeleton_left:Class = _-DD;
        public static const roomchat_styles_skeleton_middle:Class = _-4M9;
        public static const roomchat_styles_skeleton_right:Class = _-26u;
        public static const roomchat_styles_skeleton_preview:Class = _-3rQ;

        public static var manifest:Class = _-AQ;
        public static var room_desktop_layout_xml:Class = _-Uv;
        public static var room_view_container_xml:Class = _-0xW;
        public static var spectator_mode_xml:Class = _-0uC;
        public static var spec_top_left_png:Class = _-1x4;
        public static var spec_top_middle_png:Class = _-41k;
        public static var spec_top_right_png:Class = _-246;
        public static var spec_middle_left_png:Class = _-4xo;
        public static var spec_middle_right_png:Class = _-4IP;
        public static var spec_bottom_left_png:Class = _-0U5;
        public static var spec_bottom_middle_png:Class = _-1TZ;
        public static var spec_bottom_right_png:Class = _-1VO;
        public static var requiredClasses:Array = new Array(RoomUIBootstrap, _-3is, IIDHabboRoomUI);
        public static var chatinput_bubble_left:Class = _-2lQ;
        public static var chatinput_bubble_middle:Class = _-4AD;
        public static var chatinput_bubble_right:Class = _-TM;
        public static var packagecard_icon_hc:Class = _-88;
        public static var packagecard_icon_floor:Class = _-1qj;
        public static var packagecard_icon_landscape:Class = _-2IB;
        public static var packagecard_icon_wallpaper:Class = _-jG;
        public static var stickie_blanco:Class = _-0hR;
        public static var stickie_close:Class = _-1G4;
        public static var stickie_remove:Class = _-57y;
        public static var stickie_vd:Class = _-1mR;
        public static var trophy_bg_bronze:Class = _-4yj;
        public static var trophy_bg_gold:Class = _-1nQ;
        public static var trophy_bg_silver:Class = _-3rT;
        public static var dimmer_color_button:Class = _-ID;
        public static var dimmer_color_frame:Class = _-38T;
        public static var dimmer_color_selected:Class = _-0oa;
        public static var dimmer_slider_base:Class = _-2ht;
        public static var dimmer_slider_button:Class = _-3UM;
        public static var dimmer_info:Class = _-2t2;
        public static var icon_home:Class = _-0tb;
        public static var badges_color:Class = _-0Sg;
        public static var badges_white:Class = _-1by;
        public static var clothes_color:Class = _-k5;
        public static var clothes_highlighter:Class = _-13V;
        public static var clothes_white:Class = _-kI;
        public static var clothes_highlighter_blue:Class = _-W-;
        public static var dance_color:Class = _-Gv;
        public static var dance_white:Class = _-3mc;
        public static var effects_color:Class = _-4yR;
        public static var effects_white:Class = _-oh;
        public static var gohome_color:Class = _-1yX;
        public static var gohome_white:Class = _-3pC;
        public static var compass_color:Class = _-1hX;
        public static var compass_white:Class = _-cC;
        public static var memenu_fx_pause:Class = _-2Xj;
        public static var memenu_fx_play:Class = _-0HD;
        public static var wave_color:Class = _-0jB;
        public static var wave_white:Class = _-10D;
        public static var settings_color:Class = _-MQ;
        public static var settings_white:Class = _-59J;
        public static var sounds_off_color:Class = _-2ER;
        public static var sounds_off_white:Class = _-3lw;
        public static var sounds_on_color:Class = _-3q8;
        public static var sounds_on_white:Class = _-1S;
        public static var achievements_color:Class = _-4Kc;
        public static var achievements_white:Class = _-0n-;
        public static var lighthouse_color:Class = _-7L;
        public static var lighthouse_white:Class = _-160;
        public static var memenu_settings_slider_base:Class = _-1mE;
        public static var memenu_settings_slider_button:Class = _-8N;
        public static var chat_grapbar_bg:Class = _-V2;
        public static var chat_grapbar_grip:Class = _-2Tg;
        public static var chat_grapbar_handle:Class = _-2m2;
        public static var chat_grapbar_x:Class = _-1uN;
        public static var chat_grapbar_x_hi:Class = _-4cM;
        public static var chat_grapbar_x_pr:Class = _-4fq;
        public static var chat_history_bg:Class = _-gJ;
        public static var icon_petrespect:Class = _-0cv;
        public static var icon_pet_skill:Class = _-9f;
        public static var icon_pet_wellbeing:Class = _-v5;
        public static var jb_icon_composer:Class = _-0Ct;
        public static var jb_icon_disc:Class = _-0-q;
        public static var small_pen:Class = _-38k;
        public static var credits_color:Class = _-5EW;
        public static var credits_white:Class = _-3xA;
        public static var minimail_color:Class = _-1Iv;
        public static var minimail_white:Class = _-99;
        public static var club_color:Class = _-2sB;
        public static var club_white:Class = _-1i3;
        public static var vip_color:Class = _-3eo;
        public static var vip_white:Class = _-0x5;
        public static var icon_pet_energy:Class = _-3sp;
        public static var icon_pet_experience:Class = _-1Sh;
        public static var icon_pet_happiness:Class = _-3JF;
        public static var edit_pen_icon:Class = _-IR;
        public static var email_icon:Class = _-3ln;
        public static var ok_icon:Class = _-Da;
        public static var gift_background:Class = _-4Ie;
        public static var giftbox_full:Class = _-oF;
        public static var progressbar_100:Class = HabboRoomUICom_progressbar_100;
        public static var progressbar_50:Class = HabboRoomUICom_progressbar_50;
        public static var yellow_highlight:Class = _-sx;
        public static var icon_arrow:Class = _-14T;
        public static var icon_arrow_left:Class = _-0Ms;
        public static var icon_cd_big:Class = _-0wJ;
        public static var icon_cd_small:Class = _-3J2;
        public static var icon_notes_small:Class = _-Si;
        public static var icon_pause:Class = _-3el;
        public static var icon_play:Class = _-KI;
        public static var icon_pause_large:Class = _-Pn;
        public static var icon_download:Class = _-446;
        public static var title_fader:Class = _-084;
        public static var profile_color:Class = _-2aM;
        public static var profile_white:Class = _-1Ay;
        public static var chatinput_window:Class = _-1Bm;
        public static var chooser_item:Class = _-5C1;
        public static var chooser_view:Class = _-WX;
        public static var doorbell:Class = _-1F;
        public static var doorbell_list_entry:Class = _-511;
        public static var credit_redeem:Class = _-1D3;
        public static var ecotronbox_card:Class = _-Wk;
        public static var ecotronbox_card_furnimatic:Class = _-rX;
        public static var petpackage:Class = _-Cj;
        public static var placeholder:Class = _-11C;
        public static var packagecard:Class = _-1LG;
        public static var packagecard_new:Class = _-4AY;
        public static var packagecard_new_opened:Class = _-36J;
        public static var stickie:Class = _-3ZK;
        public static var notification_teaser:Class = _-l8;
        public static var notification_gift_locked:Class = _-31m;
        public static var notification_gift_unlocked:Class = _-0zL;
        public static var notification_gift_unlocked_notify:Class = _-nA;
        public static var notification_gift_received:Class = _-2JJ;
        public static var notification_gift_alert:Class = _-3bV;
        public static var trophy:Class = _-3lb;
        public static var niko_trophy:Class = _-2NR;
        public static var dimmer_ui:Class = _-3Hx;
        public static var dimmer_color_chooser_cell:Class = _-ua;
        public static var badge_details:Class = _-4BB;
        public static var furni_view:Class = _-57A;
        public static var furni_view_branding_element:Class = _-T9;
        public static var user_tag:Class = _-05P;
        public static var user_tag_highlighted:Class = _-Q9;
        public static var user_view:Class = _-1Ki;
        public static var bot_view:Class = _-2Kl;
        public static var rentable_bot_view:Class = _-4Ft;
        public static var badge_entity:Class = _-0xQ;
        public static var room_loading_bar:Class = _-0re;
        public static var memenu:Class = _-2Vv;
        public static var memenu_dance:Class = _-0zw;
        public static var memenu_dance_button:Class = _-523;
        public static var memenu_effect_inactive:Class = _-3E8;
        public static var memenu_effect_selected:Class = _-2i9;
        public static var memenu_effect_unselected:Class = _-3VP;
        public static var memenu_effects:Class = _-10G;
        public static var memenu_main:Class = _-zj;
        public static var memenu_main_simple:Class = _-0PQ;
        public static var memenu_settings:Class = _-0Tb;
        public static var memenu_settings_menu:Class = _-4yx;
        public static var notification:Class = _-3w9;
        public static var chat_history_pulldown:Class = _-0Zx;
        public static var room_queue:Class = _-1UO;
        public static var vote_question:Class = _-2FV;
        public static var vote_choice:Class = _-4im;
        public static var poll_offer:Class = _-453;
        public static var poll_question:Class = _-1lz;
        public static var poll_answer_text_input:Class = _-3o2;
        public static var poll_answer_checkbox_input:Class = _-4VW;
        public static var poll_answer_radiobutton_input:Class = _-09a;
        public static var poll_cancel_confirm:Class = _-2g5;
        public static var pet_commands:Class = _-3kt;
        public static var pet_command:Class = _-3Q4;
        public static var pet_commands_info:Class = _-nL;
        public static var pet_view:Class = _-3Cv;
        public static var instant_friend_request:Class = _-1ki;
        public static var boygirl:Class = _-0Fc;
        public static var avatar_info_widget:Class = _-3uX;
        public static var avatar_menu_widget:Class = _-4YK;
        public static var own_avatar_menu:Class = _-5Eg;
        public static var own_avatar_decorating:Class = _-3qi;
        public static var new_user_help:Class = _-56B;
        public static var own_pet_menu:Class = _-1zN;
        public static var pet_menu:Class = _-4wF;
        public static var use_product_menu:Class = _-11H;
        public static var breed_pet_menu:Class = _-3eL;
        public static var breed_pets_confirmation_xml:Class = _-0CU;
        public static var confirm_pet_breeding_xml:Class = _-XL;
        public static var pet_breeding_pet_preview_xml:Class = _-07I;
        public static var breed_pets_result_xml:Class = _-CG;
        public static var use_product_widget_frame_xml:Class = _-1tE;
        public static var use_product_controller_custom_part_xml:Class = _-0RY;
        public static var use_product_controller_shampoo_xml:Class = _-4me;
        public static var use_product_controller_custom_part_shampoo_xml:Class = _-3aD;
        public static var use_product_controller_saddle_xml:Class = _-up;
        public static var use_product_widget_frame_monsterplant_xml:Class = _-1jV;
        public static var use_product_widget_frame_monsterplant_rebreed_xml:Class = _-0iv;
        public static var use_product_widget_frame_monsterplant_fertilize_xml:Class = _-2iz;
        public static var use_product_controller_revive_monsterplant_xml:Class = _-Uo;
        public static var use_product_controller_rebreed_monsterplant_xml:Class = _-18P;
        public static var use_product_controller_fertilize_monsterplant_xml:Class = _-d9;
        public static var use_product_preview_bg_png:Class = _-26O;
        public static var breed_pets_preview_bg_png:Class = _-4JY;
        public static var plant_seed_preview_bg_png:Class = _-17b;
        public static var plant_seed_preview_png:Class = _-16e;
        public static var minimized_menu:Class = _-4gW;
        public static var welcome_gift_widget:Class = _-4wL;
        public static var welcome_gift_email_unverified:Class = _-3kd;
        public static var welcome_gift_email_verified:Class = _-0Sm;
        public static var welcome_gift_email_change:Class = _-269;
        public static var jukebox_view:Class = _-md;
        public static var songdisk_view:Class = _-3jT;
        public static var playlisteditor_inventory_subwindow_get_more_music:Class = _-4Dm;
        public static var playlisteditor_inventory_subwindow_play_preview:Class = _-4Lh;
        public static var playlisteditor_main_window:Class = _-4PC;
        public static var playlisteditor_music_inventory_item:Class = _-3-R;
        public static var playlisteditor_playlist_item:Class = _-0aQ;
        public static var playlisteditor_playlist_subwindow_add_songs:Class = _-xj;
        public static var playlisteditor_playlist_subwindow_nowplaying:Class = _-2kn;
        public static var playlisteditor_playlist_subwindow_play_now:Class = _-4YX;
        public static var effects_widget:Class = _-4r2;
        public static var effect_selector:Class = _-08s;
        public static var mannequin_widget_frame_xml:Class = _-09V;
        public static var mannequin_controller_main_xml:Class = _-0C4;
        public static var mannequin_controller_save_xml:Class = _-12y;
        public static var mannequin_peer_main_xml:Class = _-0dB;
        public static var mannequin_no_club_xml:Class = _-0JF;
        public static var mannequin_wrong_gender_xml:Class = _-4Zh;
        public static var mannequin_preview_bg_png:Class = _-NM;
        public static var guild_furni_menu:Class = _-Tv;
        public static var random_teleport_menu:Class = _-3yT;
        public static var monsterplant_seed_menu:Class = _-59T;
        public static var use_product_widget_frame_plant_seed_xml:Class = _-3s5;
        public static var use_product_controller_plant_seed_xml:Class = _-El;
        public static var sign_icon_heart:Class = _-3h;
        public static var sign_icon_skull:Class = _-1NN;
        public static var sign_icon_13:Class = HabboRoomUICom_sign_icon_13;
        public static var sign_icon_14:Class = HabboRoomUICom_sign_icon_14;
        public static var sign_icon_15:Class = HabboRoomUICom_sign_icon_15;
        public static var sign_icon_16:Class = HabboRoomUICom_sign_icon_16;
        public static var sign_icon_17:Class = HabboRoomUICom_sign_icon_17;
        public static var camera_interface_xml:Class = _-3km;
        public static var camera_photolab_xml:Class = _-4zg;
        public static var background_color_ui_xml:Class = _-0Mg;
        public static var viphopper_viprequired_xml:Class = _-3b5;
        public static var costumehopper_costumerequired_xml:Class = _-4V3;
        public static var respect_giving_failed_notification_xml:Class = _-3OZ;
        public static var chatinput_chatstyle_template_xml:Class = _-0Zu;
        public static var roomchat_styles_chatstyles_xml:Class = _-1ln;
        public static var roomchat_styles_normal_style_xml:Class = _-0OH;
        public static var roomchat_styles_normal_bubble_shout_xml:Class = _-076;
        public static var roomchat_styles_normal_bubble_speak_xml:Class = _-4y8;
        public static var roomchat_styles_normal_bubble_whisper_xml:Class = _-2Jj;
        public static var roomchat_styles_generic_style_xml:Class = _-1Dg;
        public static var roomchat_styles_generic_bubble_generic_xml:Class = _-2GR;
        public static var roomchat_styles_bot_style_xml:Class = _-57l;
        public static var roomchat_styles_bot_bubble_bot_shout_xml:Class = _-09b;
        public static var roomchat_styles_bot_bubble_bot_speak_xml:Class = _-16J;
        public static var roomchat_styles_bot_bubble_bot_whisper_xml:Class = _-4lB;
        public static var roomchat_styles_firingmylazer_style_xml:Class = _-0F2;
        public static var roomchat_styles_firingmylazer_bubble_shout_xml:Class = _-3qd;
        public static var roomchat_styles_firingmylazer_bubble_speak_xml:Class = _-04u;
        public static var roomchat_styles_firingmylazer_bubble_whisper_xml:Class = _-1N5;
        public static var roomchat_styles_gothicrose_style_xml:Class = _-0UJ;
        public static var roomchat_styles_gothicrose_bubble_shout_xml:Class = _-3yp;
        public static var roomchat_styles_gothicrose_bubble_speak_xml:Class = _-09D;
        public static var roomchat_styles_gothicrose_bubble_whisper_xml:Class = _-Sj;
        public static var roomchat_styles_piglet_style_xml:Class = _-3Rm;
        public static var roomchat_styles_piglet_bubble_shout_xml:Class = _-1vt;
        public static var roomchat_styles_piglet_bubble_speak_xml:Class = _-1V6;
        public static var roomchat_styles_piglet_bubble_whisper_xml:Class = _-1tA;
        public static var roomchat_styles_sausagedog_style_xml:Class = _-4Yc;
        public static var roomchat_styles_sausagedog_bubble_shout_xml:Class = _-1yj;
        public static var roomchat_styles_sausagedog_bubble_speak_xml:Class = _-1oc;
        public static var roomchat_styles_sausagedog_bubble_whisper_xml:Class = _-1W7;
        public static var roomchat_styles_dragon_style_xml:Class = _-4wB;
        public static var roomchat_styles_dragon_bubble_shout_xml:Class = _-1Gr;
        public static var roomchat_styles_dragon_bubble_speak_xml:Class = _-3lU;
        public static var roomchat_styles_dragon_bubble_whisper_xml:Class = _-0mK;
        public static var roomchat_styles_hearts_style_xml:Class = _-2O7;
        public static var roomchat_styles_hearts_bubble_shout_xml:Class = _-3dc;
        public static var roomchat_styles_hearts_bubble_speak_xml:Class = _-2bh;
        public static var roomchat_styles_hearts_bubble_whisper_xml:Class = _-59C;
        public static var roomchat_styles_normal_dark_turquoise_style_xml:Class = _-3kr;
        public static var roomchat_styles_normal_dark_turquoise_bubble_shout_xml:Class = _-1dl;
        public static var roomchat_styles_normal_dark_turquoise_bubble_speak_xml:Class = _-Ch;
        public static var roomchat_styles_normal_dark_turquoise_bubble_whisper_xml:Class = _-vt;
        public static var roomchat_styles_normal_dark_yellow_style_xml:Class = _-24A;
        public static var roomchat_styles_normal_dark_yellow_bubble_shout_xml:Class = _-Ss;
        public static var roomchat_styles_normal_dark_yellow_bubble_speak_xml:Class = _-3Qd;
        public static var roomchat_styles_normal_dark_yellow_bubble_whisper_xml:Class = _-4mj;
        public static var roomchat_styles_normal_green_style_xml:Class = _-jt;
        public static var roomchat_styles_normal_green_bubble_shout_xml:Class = _-4an;
        public static var roomchat_styles_normal_green_bubble_speak_xml:Class = _-0EO;
        public static var roomchat_styles_normal_green_bubble_whisper_xml:Class = _-1Bj;
        public static var roomchat_styles_normal_pink_style_xml:Class = _-2vh;
        public static var roomchat_styles_normal_pink_bubble_shout_xml:Class = _-2ME;
        public static var roomchat_styles_normal_pink_bubble_speak_xml:Class = _-3nu;
        public static var roomchat_styles_normal_pink_bubble_whisper_xml:Class = _-36D;
        public static var roomchat_styles_normal_purple_style_xml:Class = _-4wx;
        public static var roomchat_styles_normal_purple_bubble_shout_xml:Class = _-Q5;
        public static var roomchat_styles_normal_purple_bubble_speak_xml:Class = _-5AZ;
        public static var roomchat_styles_normal_purple_bubble_whisper_xml:Class = _-pI;
        public static var roomchat_styles_normal_sky_blue_style_xml:Class = _-3nZ;
        public static var roomchat_styles_normal_sky_blue_bubble_shout_xml:Class = _-4vg;
        public static var roomchat_styles_normal_sky_blue_bubble_speak_xml:Class = _-39m;
        public static var roomchat_styles_normal_sky_blue_bubble_whisper_xml:Class = _-OS;
        public static var roomchat_styles_normal_yellow_style_xml:Class = _-4VE;
        public static var roomchat_styles_normal_yellow_bubble_shout_xml:Class = _-3nh;
        public static var roomchat_styles_normal_yellow_bubble_speak_xml:Class = _-6m;
        public static var roomchat_styles_normal_yellow_bubble_whisper_xml:Class = _-1zM;
        public static var roomchat_styles_sticking_plaster_style_xml:Class = _-0BS;
        public static var roomchat_styles_sticking_plaster_bubble_shout_xml:Class = _-1ga;
        public static var roomchat_styles_sticking_plaster_bubble_speak_xml:Class = _-3An;
        public static var roomchat_styles_sticking_plaster_bubble_whisper_xml:Class = _-3Pr;
        public static var roomchat_styles_normal_red_style_xml:Class = _-0Tk;
        public static var roomchat_styles_normal_red_bubble_shout_xml:Class = _-0cP;
        public static var roomchat_styles_normal_red_bubble_speak_xml:Class = _-22C;
        public static var roomchat_styles_normal_red_bubble_whisper_xml:Class = _-kH;
        public static var roomchat_styles_normal_blue_style_xml:Class = _-09z;
        public static var roomchat_styles_normal_blue_bubble_shout_xml:Class = _-0or;
        public static var roomchat_styles_normal_blue_bubble_speak_xml:Class = _-Go;
        public static var roomchat_styles_normal_blue_bubble_whisper_xml:Class = _-15V;
        public static var roomchat_styles_normal_grey_style_xml:Class = _-3Wd;
        public static var roomchat_styles_normal_grey_bubble_shout_xml:Class = _-OH;
        public static var roomchat_styles_normal_grey_bubble_speak_xml:Class = _-3Pv;
        public static var roomchat_styles_normal_grey_bubble_whisper_xml:Class = _-42x;
        public static var roomchat_styles_fortune_teller_style_xml:Class = _-3Wf;
        public static var roomchat_styles_fortune_teller_bubble_shout_xml:Class = _-4fr;
        public static var roomchat_styles_fortune_teller_bubble_speak_xml:Class = _-2e;
        public static var roomchat_styles_fortune_teller_bubble_whisper_xml:Class = _-2p7;
        public static var roomchat_styles_zombie_hand_style_xml:Class = _-qq;
        public static var roomchat_styles_zombie_hand_bubble_shout_xml:Class = _-2BA;
        public static var roomchat_styles_zombie_hand_bubble_speak_xml:Class = _-5p;
        public static var roomchat_styles_zombie_hand_bubble_whisper_xml:Class = _-3jm;
        public static var roomchat_styles_skeleton_style_xml:Class = _-04h;
        public static var roomchat_styles_skeleton_bubble_shout_xml:Class = _-3tL;
        public static var roomchat_styles_skeleton_bubble_speak_xml:Class = _-0J8;
        public static var roomchat_styles_skeleton_bubble_whisper_xml:Class = _-1si;
        public static var gate_viprequired_xml:Class = _-4-L;
        public static var styleselector_menu_xml:Class = _-4uZ;
        public static var chatter_configuration_xml:Class = _-1iu;
        public static var name_configuration_xml:Class = _-43p;

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_pet_skill_level_0

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_pet_skill_level_0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_pet_skill_level_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_pet_skill_level_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_pet_skill_level_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_pet_skill_level_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_pet_skill_level_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_pet_skill_level_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_pet_skill_level_4

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_pet_skill_level_4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_progressbar_100

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_progressbar_100 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_progressbar_50

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_progressbar_50 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_sign_icon_13

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_sign_icon_13 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_sign_icon_14

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_sign_icon_14 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_sign_icon_15

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_sign_icon_15 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_sign_icon_16

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_sign_icon_16 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboRoomUICom_sign_icon_17

package 
{
    import mx.core.BitmapAsset;

    public class HabboRoomUICom_sign_icon_17 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSessionDataManagerLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.SessionDataManagerBootstrap;
    import com.sulake.iid.IIDSessionDataManager;

    public class HabboSessionDataManagerLib extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(SessionDataManagerBootstrap, IIDSessionDataManager);
        public static var manifest:Class = _-3Q0;
        public static var loading_icon:Class = _-1;

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboSoundManagerFlash10Bootstrap;
    import com.sulake.iid.IIDHabboSoundManager;

    public class HabboSoundManagerFlash10Com extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(HabboSoundManagerFlash10Bootstrap, IIDHabboSoundManager);
        public static var manifest:Class = HabboSoundManagerFlash10Com_manifest;
        public static var sound_call_for_help:Class = HabboSoundManagerFlash10Com_sound_call_for_help;
        public static var sound_catalogue_cash:Class = HabboSoundManagerFlash10Com_sound_catalogue_cash;
        public static var sound_catalogue_pixels:Class = HabboSoundManagerFlash10Com_sound_catalogue_pixels;
        public static var sound_console_message_sent:Class = HabboSoundManagerFlash10Com_sound_console_message_sent;
        public static var sound_console_new_message:Class = HabboSoundManagerFlash10Com_sound_console_new_message;
        public static var sound_guide_received_invitation:Class = HabboSoundManagerFlash10Com_sound_guide_received_invitation;
        public static var sound_guide_help_requested:Class = HabboSoundManagerFlash10Com_sound_guide_help_requested;
        public static var sound_respect_received:Class = HabboSoundManagerFlash10Com_sound_respect_received;
        public static var HBSTG_snowwar_get_snowball:Class = HabboSoundManagerFlash10Com_HBSTG_snowwar_get_snowball;
        public static var HBSTG_snowwar_hit1:Class = HabboSoundManagerFlash10Com_HBSTG_snowwar_hit1;
        public static var HBSTG_snowwar_hit2:Class = HabboSoundManagerFlash10Com_HBSTG_snowwar_hit2;
        public static var HBSTG_snowwar_hit3:Class = HabboSoundManagerFlash10Com_HBSTG_snowwar_hit3;
        public static var HBSTG_snowwar_make_snowball:Class = HabboSoundManagerFlash10Com_HBSTG_snowwar_make_snowball;
        public static var HBSTG_snowwar_miss:Class = HabboSoundManagerFlash10Com_HBSTG_snowwar_miss;
        public static var HBSTG_snowwar_throw:Class = HabboSoundManagerFlash10Com_HBSTG_snowwar_throw;
        public static var HBSTG_snowwar_walk:Class = HabboSoundManagerFlash10Com_HBSTG_snowwar_walk;
        public static var HBSTG_ig_countdown:Class = HabboSoundManagerFlash10Com_HBSTG_ig_countdown;
        public static var HBSTG_ig_losing:Class = HabboSoundManagerFlash10Com_HBSTG_ig_losing;
        public static var HBSTG_ig_winning:Class = HabboSoundManagerFlash10Com_HBSTG_ig_winning;
        public static var FURNITURE_cuckoo_clock:Class = HabboSoundManagerFlash10Com_FURNITURE_cuckoo_clock;

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_FURNITURE_cuckoo_clock

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_FURNITURE_cuckoo_clock extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_ig_countdown

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_ig_countdown extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_ig_losing

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_ig_losing extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_ig_winning

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_ig_winning extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_snowwar_get_snowball

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_snowwar_get_snowball extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_snowwar_hit1

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_snowwar_hit1 extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_snowwar_hit2

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_snowwar_hit2 extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_snowwar_hit3

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_snowwar_hit3 extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_snowwar_make_snowball

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_snowwar_make_snowball extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_snowwar_miss

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_snowwar_miss extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_snowwar_throw

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_snowwar_throw extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_HBSTG_snowwar_walk

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_HBSTG_snowwar_walk extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_manifest

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboSoundManagerFlash10Com_manifest extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_sound_call_for_help

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_sound_call_for_help extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_sound_catalogue_cash

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_sound_catalogue_cash extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_sound_catalogue_pixels

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_sound_catalogue_pixels extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_sound_console_message_sent

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_sound_console_message_sent extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_sound_console_new_message

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_sound_console_new_message extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_sound_guide_help_requested

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_sound_guide_help_requested extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_sound_guide_received_invitation

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_sound_guide_received_invitation extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboSoundManagerFlash10Com_sound_respect_received

package 
{
    import mx.core.SoundAsset;

    public class HabboSoundManagerFlash10Com_sound_respect_received extends SoundAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboToolbarBootstrap;
    import com.sulake.iid.IIDHabboToolbar;

    public class HabboToolbarCom extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(HabboToolbarBootstrap, IIDHabboToolbar);
        public static var manifest:Class = _-ia;
        public static var toolbar_view_xml:Class = _-2JH;
        public static var panic_button_xml:Class = _-2Zu;
        public static var new_items_label_xml:Class = _-0gQ;
        public static var logout_xml:Class = _-6t;
        public static var logout_confirmation_xml:Class = _-1qC;
        public static var roominfo_icon:Class = _-4GG;
        public static var purse_xml:Class = _-37T;
        public static var purse_indicator_credits_xml:Class = _-Rs;
        public static var purse_indicator_pixels_xml:Class = _-32m;
        public static var purse_indicator_seasonal_xml:Class = _-09X;
        public static var club_discount_promotion_xml:Class = _-2Ur;
        public static var extend_hilite_png:Class = _-2aB;
        public static var icon_credit_0_png:Class = HabboToolbarCom_icon_credit_0_png;
        public static var icon_credit_1_png:Class = HabboToolbarCom_icon_credit_1_png;
        public static var icon_credit_2_png:Class = HabboToolbarCom_icon_credit_2_png;
        public static var icon_credit_3_png:Class = HabboToolbarCom_icon_credit_3_png;
        public static var icon_credit_4_png:Class = HabboToolbarCom_icon_credit_4_png;
        public static var icon_credit_5_png:Class = HabboToolbarCom_icon_credit_5_png;
        public static var icon_credit_6_png:Class = HabboToolbarCom_icon_credit_6_png;
        public static var icon_pixel_0_png:Class = HabboToolbarCom_icon_pixel_0_png;
        public static var icon_pixel_1_png:Class = HabboToolbarCom_icon_pixel_1_png;
        public static var icon_pixel_2_png:Class = HabboToolbarCom_icon_pixel_2_png;
        public static var icon_pixel_3_png:Class = HabboToolbarCom_icon_pixel_3_png;
        public static var extension_grid_xml:Class = _-3FZ;
        public static var purse_indicator_club_xml:Class = _-4IF;
        public static var video_offer_promotion_xml:Class = _-3Kc;
        public static var offer_icon_png:Class = _-2EP;
        public static var camera_xml:Class = _-sE;
        public static var vip_discount_promotion_v2_xml:Class = _-2-3;
        public static var vip_quests_promo_xml:Class = _-0xM;

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_credit_0_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_credit_0_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_credit_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_credit_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_credit_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_credit_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_credit_3_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_credit_3_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_credit_4_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_credit_4_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_credit_5_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_credit_5_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_credit_6_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_credit_6_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_pixel_0_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_pixel_0_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_pixel_1_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_pixel_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_pixel_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_pixel_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboToolbarCom_icon_pixel_3_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboToolbarCom_icon_pixel_3_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboTrackingLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboTrackingBootstrap;
    import com.sulake.iid.IIDHabboTracking;

    public class HabboTrackingLib extends SimpleApplication 
    {

        public static var manifest:Class = _-4fE;
        public static var requiredClasses:Array = new Array(HabboTrackingBootstrap, IIDHabboTracking);

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboUserDefinedRoomEventsBootstrap;
    import com.sulake.iid.IIDHabboUserDefinedRoomEvents;

    public class HabboUserDefinedRoomEventsCom extends SimpleApplication 
    {

        public static var icon_action_png:Class = _-0a;
        public static var icon_condition_png:Class = _-2jj;
        public static var icon_trigger_png:Class = _-1Px;
        public static var move_0_png:Class = HabboUserDefinedRoomEventsCom_move_0_png;
        public static var move_2_png:Class = HabboUserDefinedRoomEventsCom_move_2_png;
        public static var move_4_png:Class = HabboUserDefinedRoomEventsCom_move_4_png;
        public static var move_6_png:Class = HabboUserDefinedRoomEventsCom_move_6_png;
        public static var move_diag_png:Class = _-54m;
        public static var move_rnd_png:Class = _-Ha;
        public static var move_vrt_png:Class = _-3j5;
        public static var rotate_ccw_png:Class = _-0VP;
        public static var rotate_cw_png:Class = _-GC;
        public static var slider_bg_png:Class = _-06M;
        public static var slider_obj_png:Class = _-2QQ;
        public static var manifest:Class = _-GK;
        public static var ude_main_xml:Class = _-2Is;
        public static var ude_help_xml:Class = _-4SO;
        public static var ude_slider_xml:Class = _-V6;
        public static var ude_trigger_inputs_0_xml:Class = HabboUserDefinedRoomEventsCom_ude_trigger_inputs_0_xml;
        public static var ude_trigger_inputs_3_xml:Class = HabboUserDefinedRoomEventsCom_ude_trigger_inputs_3_xml;
        public static var ude_trigger_inputs_6_xml:Class = HabboUserDefinedRoomEventsCom_ude_trigger_inputs_6_xml;
        public static var ude_trigger_inputs_7_xml:Class = HabboUserDefinedRoomEventsCom_ude_trigger_inputs_7_xml;
        public static var ude_trigger_inputs_10_xml:Class = HabboUserDefinedRoomEventsCom_ude_trigger_inputs_10_xml;
        public static var ude_action_inputs_3_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_3_xml;
        public static var ude_action_inputs_4_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_4_xml;
        public static var ude_action_inputs_6_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_6_xml;
        public static var ude_action_inputs_7_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_7_xml;
        public static var ude_action_inputs_9_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_9_xml;
        public static var ude_action_inputs_13_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_13_xml;
        public static var ude_action_inputs_14_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_14_xml;
        public static var ude_action_inputs_16_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_16_xml;
        public static var ude_action_inputs_17_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_17_xml;
        public static var ude_action_inputs_17_reward_xml:Class = HabboUserDefinedRoomEventsCom_ude_action_inputs_17_reward_xml;
        public static var ude_condition_inputs_0_xml:Class = HabboUserDefinedRoomEventsCom_ude_condition_inputs_0_xml;
        public static var ude_condition_inputs_3_xml:Class = HabboUserDefinedRoomEventsCom_ude_condition_inputs_3_xml;
        public static var ude_condition_inputs_4_xml:Class = HabboUserDefinedRoomEventsCom_ude_condition_inputs_4_xml;
        public static var ude_condition_inputs_5_xml:Class = HabboUserDefinedRoomEventsCom_ude_condition_inputs_5_xml;
        public static var ude_condition_inputs_6_xml:Class = HabboUserDefinedRoomEventsCom_ude_condition_inputs_6_xml;
        public static var ude_condition_inputs_7_xml:Class = HabboUserDefinedRoomEventsCom_ude_condition_inputs_7_xml;
        public static var ude_condition_inputs_9_xml:Class = HabboUserDefinedRoomEventsCom_ude_condition_inputs_9_xml;
        public static var requiredClasses:Array = new Array(HabboUserDefinedRoomEventsBootstrap, IIDHabboUserDefinedRoomEvents);

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_move_0_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboUserDefinedRoomEventsCom_move_0_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_move_2_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboUserDefinedRoomEventsCom_move_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_move_4_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboUserDefinedRoomEventsCom_move_4_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_move_6_png

package 
{
    import mx.core.BitmapAsset;

    public class HabboUserDefinedRoomEventsCom_move_6_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_13_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_13_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_14_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_14_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_16_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_16_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_17_reward_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_17_reward_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_17_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_17_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_3_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_3_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_4_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_4_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_6_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_6_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_7_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_7_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_action_inputs_9_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_action_inputs_9_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_condition_inputs_0_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_condition_inputs_0_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_condition_inputs_3_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_condition_inputs_3_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_condition_inputs_4_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_condition_inputs_4_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_condition_inputs_5_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_condition_inputs_5_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_condition_inputs_6_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_condition_inputs_6_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_condition_inputs_7_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_condition_inputs_7_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_condition_inputs_9_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_condition_inputs_9_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_trigger_inputs_0_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_trigger_inputs_0_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_trigger_inputs_10_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_trigger_inputs_10_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_trigger_inputs_3_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_trigger_inputs_3_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_trigger_inputs_6_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_trigger_inputs_6_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboUserDefinedRoomEventsCom_ude_trigger_inputs_7_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboUserDefinedRoomEventsCom_ude_trigger_inputs_7_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.HabboWindowManagerComponentBootstrap;
    import com.sulake.iid.IIDHabboWindowManager;
    import com.sulake.iid.IIDCoreWindowManager;
    import _-4pF.HabboWindowManagerComponent;

    public class HabboWindowManagerCom extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(HabboWindowManagerComponentBootstrap, IIDHabboWindowManager, IIDCoreWindowManager, HabboWindowManagerComponent, ICoreLocalizationFrameworkLib, ICoreWindowFrameworkLib, CoreWindowFrameworkLib);
        public static var manifest:Class = _-jY;
        public static var habbo_element_description_xml:Class = _-2KJ;
        public static var habbo_window_layout_alert_xml:Class = _-5-i;
        public static var habbo_window_layout_bubble_xml:Class = _-19N;
        public static var habbo_window_layout_button_xml:Class = _-iR;
        public static var habbo_window_layout_button_thick_xml:Class = _-3Co;
        public static var habbo_window_layout_button_black_xml:Class = _-1aL;
        public static var habbo_window_layout_button_thick_black_xml:Class = _-4fD;
        public static var habbo_window_layout_button_shiny_xml:Class = case;
        public static var habbo_window_layout_button_shiny_thick_xml:Class = _-3oT;
        public static var habbo_window_layout_button_shiny_large_xml:Class = _-3a6;
        public static var habbo_window_layout_button_shiny_large_5_xml:Class = _-1-r;
        public static var habbo_window_layout_button_shiny_black_xml:Class = _-551;
        public static var habbo_window_layout_button_shiny_thick_black_xml:Class = _-4s0;
        public static var habbo_window_layout_dropmenu_xml:Class = _-0-Q;
        public static var habbo_window_layout_dropmenu_3_xml:Class = _-0o;
        public static var habbo_window_layout_dropmenu_black_xml:Class = _-1UU;
        public static var habbo_window_layout_dropmenu_item_xml:Class = _-1V3;
        public static var habbo_window_layout_dropmenu_item_3_xml:Class = _-4Ip;
        public static var habbo_window_layout_dropmenu_item_black_xml:Class = _-09r;
        public static var habbo_window_layout_droplist_xml:Class = _-4W2;
        public static var habbo_window_layout_frame_xml:Class = _-fU;
        public static var habbo_window_layout_frame_3_xml:Class = _-2nc;
        public static var habbo_window_layout_header_xml:Class = _-0rO;
        public static var habbo_window_layout_header_black_xml:Class = _-2rv;
        public static var habbo_window_layout_header_3_xml:Class = _-4S8;
        public static var habbo_window_layout_scaler_xml:Class = _-3z-;
        public static var habbo_window_layout_scaler_3_xml:Class = _-1bS;
        public static var habbo_window_layout_scrollbar_horizontal_xml:Class = _-ZX;
        public static var habbo_window_layout_scrollbar_vertical_xml:Class = _-t6;
        public static var habbo_window_layout_scrollable_itemlist_vertical_xml:Class = _-GH;
        public static var habbo_window_layout_simple_xml:Class = _-3cK;
        public static var habbo_window_layout_tab_button_xml:Class = _-Ut;
        public static var habbo_window_layout_tab_button_black_xml:Class = _-3-U;
        public static var habbo_window_layout_tab_button_3_xml:Class = _-2kX;
        public static var habbo_window_layout_tab_context_xml:Class = _-1I-;
        public static var habbo_window_layout_tab_context_3_xml:Class = _-k6;
        public static var habbo_window_layout_tooltip_xml:Class = _-15z;
        public static var tablet_window_layout_button_xml:Class = _-4bM;
        public static var tablet_window_layout_button_thick_xml:Class = _-2cB;
        public static var tablet_window_layout_tab_button_xml:Class = _-4aG;
        public static var tablet_window_layout_tab_context_xml:Class = _-2ey;
        public static var tablet_window_layout_dropmenu_xml:Class = _-2f5;
        public static var tablet_window_layout_dropmenu_item_xml:Class = _-4Lz;
        public static var habbo_skin_frame_xml:Class = _-1rF;
        public static var habbo_skin_frame_3_xml:Class = _-4RT;
        public static var habbo_skin_bubble_xml:Class = _-2Ls;
        public static var habbo_skin_bubble_pointer_up_xml:Class = _-1WX;
        public static var habbo_skin_bubble_pointer_right_xml:Class = _-328;
        public static var habbo_skin_bubble_pointer_down_xml:Class = _-UE;
        public static var habbo_skin_bubble_pointer_left_xml:Class = _-4Fc;
        public static var habbo_skin_button_default_xml:Class = _-p4;
        public static var habbo_skin_button_default_black_xml:Class = _-3SJ;
        public static var habbo_skin_button_default_white_xml:Class = _-1dQ;
        public static var habbo_skin_button_shiny_default_xml:Class = _-2LY;
        public static var habbo_skin_button_shiny_black_xml:Class = _-552;
        public static var habbo_skin_button_shiny_thick_xml:Class = _-5Dr;
        public static var habbo_skin_button_shiny_large_xml:Class = _-0ee;
        public static var habbo_skin_button_shiny_thick_black_xml:Class = _-46c;
        public static var habbo_skin_button_thick_xml:Class = _-3kS;
        public static var habbo_skin_button_thick_black_xml:Class = _-1sh;
        public static var habbo_skin_button_thick_white_xml:Class = _-3LI;
        public static var habbo_skin_button_group_left_xml:Class = _-2ZZ;
        public static var habbo_skin_button_group_left_black_xml:Class = _-0sm;
        public static var habbo_skin_button_group_left_white_xml:Class = _-0QT;
        public static var habbo_skin_button_group_center_xml:Class = _-1W2;
        public static var habbo_skin_button_group_center_black_xml:Class = _-0dz;
        public static var habbo_skin_button_group_center_white_xml:Class = _-5Ei;
        public static var habbo_skin_button_group_right_xml:Class = _-2bz;
        public static var habbo_skin_button_group_right_black_xml:Class = _-4kV;
        public static var habbo_skin_button_group_right_white_xml:Class = _-0GF;
        public static var habbo_skin_button_checkbox_xml:Class = _-35d;
        public static var habbo_skin_button_checkbox_black_xml:Class = _-10s;
        public static var habbo_skin_button_checkbox_white_xml:Class = _-1Ok;
        public static var habbo_skin_button_close_xml:Class = _-4yf;
        public static var habbo_skin_button_close_black_xml:Class = _-rt;
        public static var habbo_skin_button_close_white_xml:Class = _-Fi;
        public static var habbo_skin_button_close_3_xml:Class = _-580;
        public static var habbo_skin_button_radio_xml:Class = _-2PG;
        public static var habbo_skin_button_radio_black_xml:Class = _-510;
        public static var habbo_skin_button_radio_white_xml:Class = _-2x7;
        public static var habbo_skin_button_tab_xml:Class = _-1BM;
        public static var habbo_skin_button_tab_black_xml:Class = _-4Rm;
        public static var habbo_skin_button_tab_white_xml:Class = _-4h5;
        public static var habbo_skin_button_tab_3_xml:Class = _-53q;
        public static var habbo_skin_tab_content_3_xml:Class = _-lP;
        public static var habbo_skin_scaler_xml:Class = _-3yi;
        public static var habbo_skin_scaler_black_xml:Class = _-rn;
        public static var habbo_skin_scaler_white_xml:Class = _-3aa;
        public static var habbo_skin_scaler_3_xml:Class = _-2os;
        public static var habbo_skin_scrollbar_xml:Class = _-3RX;
        public static var habbo_skin_scrollbar_black_xml:Class = _-4CQ;
        public static var habbo_skin_scrollbar_3_xml:Class = _-0U;
        public static var habbo_skin_header_xml:Class = _-Af;
        public static var habbo_skin_header_3_xml:Class = _-1dD;
        public static var habbo_skin_icon_set_xml:Class = _-uD;
        public static var habbo_skin_dropmenu_xml:Class = _-1dm;
        public static var habbo_skin_dropmenu_3_xml:Class = _-4;
        public static var habbo_skin_dropmenu_black_xml:Class = _-15a;
        public static var habbo_skin_droplist_xml:Class = _-3N4;
        public static var habbo_skin_droplist_thick_xml:Class = _-2L;
        public static var habbo_skin_tab_context_xml:Class = _-21u;
        public static var habbo_skin_border_black_xml:Class = _-2AO;
        public static var habbo_skin_border_colorless_xml:Class = _-fn;
        public static var habbo_skin_border_white_xml:Class = _-br;
        public static var habbo_skin_border_slot_xml:Class = _-3BC;
        public static var habbo_skin_border_4_xml:Class = HabboWindowManagerCom_habbo_skin_border_4_xml;
        public static var habbo_skin_border_5_xml:Class = HabboWindowManagerCom_habbo_skin_border_5_xml;
        public static var habbo_skin_border_6_xml:Class = HabboWindowManagerCom_habbo_skin_border_6_xml;
        public static var habbo_skin_border_7_xml:Class = HabboWindowManagerCom_habbo_skin_border_7_xml;
        public static var habbo_skin_border_8_xml:Class = HabboWindowManagerCom_habbo_skin_border_8_xml;
        public static var habbo_skin_text_xml:Class = _-3wa;
        public static var habbo_skin_tooltip_xml:Class = _-2pf;
        public static var text_styles_css:Class =  true;
        public static var habbo_bitmap_skin_png:Class = _-51j;
        public static var habbo_bitmap_skin2_png:Class = _-3O0;
        public static var habbo_cursor_link_png:Class = _-Ol;
        public static var habbo_cursor_drag_png:Class = _-mS;
        public static var habbo_icons_png:Class = _-fx;
        public static var placeholder_avatar_png:Class = _-Xw;
        public static var placeholder_avatar_head_png:Class = _-2Br;
        public static var placeholder_avatar_cropped_png:Class = _-Ud;
        public static var placeholder_avatar_head_cropped_png:Class = _-wD;
        public static var placeholder_avatar_small_png:Class = _-2JM;
        public static var placeholder_avatar_small_head_png:Class = _-3Ax;
        public static var placeholder_avatar_small_cropped_png:Class = _-3cM;
        public static var placeholder_avatar_small_head_cropped_png:Class = _-83;
        public static var volter:Class = _-3yt;
        public static var volterb:Class = _-zm;
        public static var ubuntu_regular:Class = _-4Su;
        public static var ubuntu_bold:Class = _-5Cz;
        public static var ubuntuThick_bold:Class = _-45v;
        public static var ubuntu_italic:Class = _-2H4;
        public static var ubuntu_bold_italic:Class = _-122;
        public static var ubuntuMedium:Class = _-0vB;
        public static var habbo_window_alert_xml:Class = _-2s6;
        public static var habbo_window_alert_link_xml:Class = _-59f;
        public static var habbo_window_confirm_xml:Class = _-0q1;
        public static var habbo_crasher_dialog_xml:Class = _-2S-;
        public static var unseen_item_counter_xml:Class = _-1QO;
        public static var illumina_alert_xml:Class = _-1xu;
        public static var illumina_alert_illustrations_frank_neutral_png:Class = _-4Eb;
        public static var illumina_light_png:Class = _-49l;
        public static var illumina_light_balloon_png:Class = _-1q4;
        public static var illumina_light_border_etched_png:Class = _-2sF;
        public static var illumina_light_border_frame_png:Class = _-0a8;
        public static var illumina_light_border_infobox_png:Class = _-1PA;
        public static var illumina_light_border_light_png:Class = _-1kO;
        public static var illumina_light_border_raised_png:Class = _-3pY;
        public static var illumina_light_border_sunk_png:Class = _-3WK;
        public static var illumina_light_bubble_chat_arrow_png:Class = _-1lD;
        public static var illumina_light_bubble_chat_bg_png:Class = _-59u;
        public static var illumina_light_button_default_png:Class = _-43h;
        public static var illumina_light_button_frame_close_png:Class = _-1km;
        public static var illumina_light_button_unetched_png:Class = _-4cy;
        public static var illumina_light_checkbox_basic_png:Class = _-06B;
        public static var illumina_light_clock_background_png:Class = _-2mU;
        public static var illumina_light_clock_background_left_png:Class = _-M3;
        public static var illumina_light_clock_background_mid_png:Class = _-1BD;
        public static var illumina_light_clock_background_right_png:Class = _-4gK;
        public static var illumina_light_icons_png:Class = _-Xi;
        public static var illumina_light_input_chat_png:Class = _-5Cu;
        public static var illumina_light_progress_indicator_etched_png:Class = _-5-y;
        public static var illumina_light_progress_indicator_flat_png:Class = _-Nz;
        public static var illumina_light_radio_button_png:Class = _-4J3;
        public static var illumina_light_scrollbar_horizontal_png:Class = _-54t;
        public static var illumina_light_scrollbar_vertical_png:Class = _-hc;
        public static var illumina_light_separator_png:Class = _-1IG;
        public static var illumina_light_switch_png:Class = _-1x;
        public static var illumina_light_skin_border_xml:Class = _-1e9;
        public static var illumina_light_skin_border_sunk_xml:Class = _-4RI;
        public static var illumina_light_skin_border_light_xml:Class = _-4vf;
        public static var illumina_light_skin_border_raised_xml:Class = _-3gr;
        public static var illumina_light_skin_border_input_xml:Class = _-3qy;
        public static var illumina_light_skin_border_chat_bubble_xml:Class = _-cr;
        public static var illumina_light_skin_border_balloon_xml:Class = _-0Q2;
        public static var illumina_light_skin_border_infobox_xml:Class = _-3t7;
        public static var illumina_light_frame_xml:Class = _-1bL;
        public static var illumina_light_frame_modal_xml:Class = _-4n-;
        public static var illumina_light_skin_frame_xml:Class = _-4kb;
        public static var illumina_light_button_xml:Class = _-2qf;
        public static var illumina_light_button_plain_xml:Class = _-3DS;
        public static var illumina_light_skin_button_xml:Class = _-2ij;
        public static var illumina_light_skin_button_plain_xml:Class = _-4VI;
        public static var illumina_light_skin_button_unetched_xml:Class = _-2kD;
        public static var illumina_light_checkbox_basic_xml:Class = _-0Ua;
        public static var illumina_light_skin_checkbox_basic_xml:Class = _-3z7;
        public static var illumina_light_switch_xml:Class = _-52k;
        public static var illumina_light_skin_switch_xml:Class = _-3lD;
        public static var illumina_light_radio_button_xml:Class = _-4r3;
        public static var illumina_light_skin_radio_button_xml:Class = _-2KZ;
        public static var illumina_light_scrollbar_horizontal_xml:Class = _-56N;
        public static var illumina_light_scrollbar_vertical_xml:Class = _-0Jf;
        public static var illumina_light_skin_scrollbar_xml:Class = _-1aW;
        public static var illumina_light_scrollable_itemlist_vertical_xml:Class = _-2w2;
        public static var illumina_dark_png:Class = _-3aV;
        public static var illumina_dark_skin_border_xml:Class = _-2Vq;
        public static var illumina_dark_frame_xml:Class = _-MJ;
        public static var illumina_dark_skin_frame_xml:Class = _-1aP;
        public static var illumina_dark_header_xml:Class = _-1rZ;
        public static var illumina_dark_skin_header_xml:Class = _-2F4;
        public static var illumina_dark_button_xml:Class = _-3oL;
        public static var illumina_dark_skin_button_xml:Class = _-4Nj;
        public static var camera_camera_btn:Class = _-cL;
        public static var camera_camera_btn_down:Class = _-011;
        public static var camera_camera_icon:Class = _-3bf;
        public static var camera_habbo_camera:Class = _-1lx;
        public static var catalogue_badge_background:Class = _-01;
        public static var catalogue_clakboard:Class = _-37u;
        public static var catalogue_color_picker_27x22_border:Class = HabboWindowManagerCom_catalogue_color_picker_27x22_border;
        public static var catalogue_color_picker_27x22_color:Class = HabboWindowManagerCom_catalogue_color_picker_27x22_color;
        public static var catalogue_color_picker_27x22_selection:Class = HabboWindowManagerCom_catalogue_color_picker_27x22_selection;
        public static var catalogue_effects_ninja:Class = _-4nS;
        public static var catalogue_giftcard_blank:Class = _-e0;
        public static var common_chat_indicator:Class = _-24U;
        public static var common_chisel:Class = _-6v;
        public static var common_info_icon_grey:Class = _-Ge;
        public static var common_loading_icon:Class = _-3Bd;
        public static var common_maximize:Class = _-43X;
        public static var common_small_coin:Class = _-o-;
        public static var common_small_pen:Class = _-3pn;
        public static var common_welcome_screen_arrow:Class = _-0D1;
        public static var friend_bar_event_notification_icon:Class = _-1Om;
        public static var game_center_achievement_locked_icon:Class = _-0fK;
        public static var game_center_loading_icon:Class = _-3Wc;
        public static var group_guild_color_btm:Class = _-2dv;
        public static var group_guild_color_top:Class = _-1YF;
        public static var help_accept_icon:Class = _-0Ta;
        public static var help_bandaid:Class = _-2k5;
        public static var help_chat_review_anonymous:Class = _-Op;
        public static var help_chat_review_avatar_anonymous:Class = _-1aD;
        public static var help_chat_review_avatar_perpetrator:Class = _-17e;
        public static var help_chat_review_decision_bad:Class = _-1Tq;
        public static var help_chat_review_decision_ok:Class = _-4Kh;
        public static var help_chat_review_decision_refused:Class = _-1CV;
        public static var help_chat_review_decision_searching_1:Class = HabboWindowManagerCom_help_chat_review_decision_searching_1;
        public static var help_chat_review_decision_searching_2:Class = HabboWindowManagerCom_help_chat_review_decision_searching_2;
        public static var help_chat_review_decision_undecided:Class = _-215;
        public static var help_chat_review_decision_very_bad:Class = _-2rw;
        public static var help_chat_review_decision_waiting_1:Class = HabboWindowManagerCom_help_chat_review_decision_waiting_1;
        public static var help_chat_review_decision_waiting_2:Class = HabboWindowManagerCom_help_chat_review_decision_waiting_2;
        public static var help_chat_review_perpetrator:Class = _-1AI;
        public static var help_chat_review_progress_big_1:Class = HabboWindowManagerCom_help_chat_review_progress_big_1;
        public static var help_chat_review_progress_big_2:Class = HabboWindowManagerCom_help_chat_review_progress_big_2;
        public static var help_chat_review_progress_big_3:Class = HabboWindowManagerCom_help_chat_review_progress_big_3;
        public static var help_chat_review_progress_big_4:Class = HabboWindowManagerCom_help_chat_review_progress_big_4;
        public static var help_chat_review_vote_bad:Class = _-04a;
        public static var help_chat_review_vote_bad_down:Class = _-EL;
        public static var help_chat_review_vote_bad_over:Class = _-1A7;
        public static var help_chat_review_vote_ok:Class = _-0Tf;
        public static var help_chat_review_vote_ok_down:Class = _-7C;
        public static var help_chat_review_vote_ok_over:Class = _-3bE;
        public static var help_chat_review_vote_very_bad:Class = _-22f;
        public static var help_chat_review_vote_very_bad_down:Class = _-4Rj;
        public static var help_chat_review_vote_very_bad_over:Class = _-Yx;
        public static var help_decline_icon:Class = _-00u;
        public static var help_error_state:Class = _-183;
        public static var help_feeling_confused:Class = _-Ky;
        public static var help_feeling_confused_coming_up:Class = _-x5;
        public static var help_frank_greeting:Class = _-0CJ;
        public static var help_guide_accept:Class = _-1P4;
        public static var help_guide_icon:Class = _-3z9;
        public static var help_habboway_correct:Class = _-3qQ;
        public static var help_habboway_dove_off:Class = _-1sF;
        public static var help_habboway_dove_on:Class = _-10e;
        public static var help_habboway_dove_quizz:Class = _-0-d;
        public static var help_habboway_next:Class = _-04n;
        public static var help_habboway_prev:Class = _-J4;
        public static var help_habboway_wrong:Class = _-5C3;
        public static var help_illustrations_bully:Class = _-R2;
        public static var help_illustrations_question:Class = _-4en;
        public static var help_illustrations_tour:Class = _-oU;
        public static var help_need_help:Class = _-4XU;
        public static var help_notification:Class = _-3qR;
        public static var help_poor_frank:Class = _-3TE;
        public static var citizenship_default:Class = _-4o5;
        public static var help_requester_icon:Class = _-97;
        public static var help_safe_chat_notification:Class = _-02t;
        public static var help_safetybooklet_page_0:Class = HabboWindowManagerCom_help_safetybooklet_page_0;
        public static var help_safetybooklet_page_1:Class = HabboWindowManagerCom_help_safetybooklet_page_1;
        public static var help_safetybooklet_page_2:Class = HabboWindowManagerCom_help_safetybooklet_page_2;
        public static var help_safetybooklet_page_3:Class = HabboWindowManagerCom_help_safetybooklet_page_3;
        public static var help_safetybooklet_page_4:Class = HabboWindowManagerCom_help_safetybooklet_page_4;
        public static var help_safetybooklet_page_5:Class = HabboWindowManagerCom_help_safetybooklet_page_5;
        public static var help_safetybooklet_page_6:Class = HabboWindowManagerCom_help_safetybooklet_page_6;
        public static var help_safetybooklet_question_illustration:Class = _-2wS;
        public static var help_safetybooklet_result_failure:Class = _-2tq;
        public static var help_safetybooklet_result_success:Class = _-1s3;
        public static var help_safetybooklet_safety_off:Class = _-296;
        public static var help_safetybooklet_safety_on:Class = _-0pn;
        public static var help_safetybooklet_start_quiz:Class = _-2zY;
        public static var help_user_create:Class = _-3Je;
        public static var help_user_feedback:Class = _-qs;
        public static var help_user_pending:Class = _-1mC;
        public static var icons_close:Class = _-2dJ;
        public static var icons_go_to_room_icon:Class = _-3QK;
        public static var icons_panic:Class = _-1cS;
        public static var icons_star:Class = _-fR;
        public static var icons_tickmark:Class = _-1Op;
        public static var icons_toolbar_achievements_hover:Class = _-3fo;
        public static var icons_toolbar_achievements_normal:Class = _-4fL;
        public static var icons_toolbar_catalogue_hover:Class = _-Zp;
        public static var icons_toolbar_catalogue_normal:Class = _-57u;
        public static var icons_toolbar_divider:Class = _-25w;
        public static var icons_toolbar_games_hover:Class = _-3XX;
        public static var icons_toolbar_games_normal:Class = _-1XC;
        public static var icons_toolbar_inventory_hover:Class = _-HZ;
        public static var icons_toolbar_inventory_normal:Class = _-1Sk;
        public static var icons_toolbar_me_menu_placeholder:Class = _-4zY;
        public static var icons_toolbar_minimail_hover:Class = _-0NM;
        public static var icons_toolbar_minimail_normal:Class = _-4M4;
        public static var icons_toolbar_navigator_hover:Class = _-0Zp;
        public static var icons_toolbar_navigator_normal:Class = _-2Fv;
        public static var icons_toolbar_quests_hover:Class = _-0E7;
        public static var icons_toolbar_quests_normal:Class = _-3JW;
        public static var icons_toolbar_reception_hover:Class = _-4WG;
        public static var icons_toolbar_reception_normal:Class = _-0WH;
        public static var icons_toolbar_valentines_hover:Class = _-5n;
        public static var icons_toolbar_valentines_normal:Class = _-0fZ;
        public static var icons_toolbar_xmas_hover:Class = _-0mb;
        public static var icons_toolbar_xmas_normal:Class = _-1YL;
        public static var illumina_horizontal_separator:Class = _-ku;
        public static var infostand_bot_info_bg:Class = _-41L;
        public static var inventory_thumb_icon_recycle:Class = _-3fc;
        public static var inventory_thumb_selected_outline:Class = _-5Ao;
        public static var landing_view_avatar_info_background:Class = _-i3;
        public static var landing_view_generic_reception_generic_reception_back:Class = _-2Nn;
        public static var landing_view_generic_reception_generic_reception_dive:Class = _-0ct;
        public static var landing_view_generic_reception_generic_reception_front:Class = _-4Cl;
        public static var landing_view_meter_level_0:Class = HabboWindowManagerCom_landing_view_meter_level_0;
        public static var landing_view_meter_level_1:Class = HabboWindowManagerCom_landing_view_meter_level_1;
        public static var landing_view_meter_level_2:Class = HabboWindowManagerCom_landing_view_meter_level_2;
        public static var landing_view_meter_level_3:Class = HabboWindowManagerCom_landing_view_meter_level_3;
        public static var landing_view_needle_meter_needle0:Class = HabboWindowManagerCom_landing_view_needle_meter_needle0;
        public static var landing_view_needle_meter_needle1:Class = HabboWindowManagerCom_landing_view_needle_meter_needle1;
        public static var landing_view_needle_meter_needle10:Class = HabboWindowManagerCom_landing_view_needle_meter_needle10;
        public static var landing_view_needle_meter_needle11:Class = HabboWindowManagerCom_landing_view_needle_meter_needle11;
        public static var landing_view_needle_meter_needle12:Class = HabboWindowManagerCom_landing_view_needle_meter_needle12;
        public static var landing_view_needle_meter_needle13:Class = HabboWindowManagerCom_landing_view_needle_meter_needle13;
        public static var landing_view_needle_meter_needle14:Class = HabboWindowManagerCom_landing_view_needle_meter_needle14;
        public static var landing_view_needle_meter_needle15:Class = HabboWindowManagerCom_landing_view_needle_meter_needle15;
        public static var landing_view_needle_meter_needle16:Class = HabboWindowManagerCom_landing_view_needle_meter_needle16;
        public static var landing_view_needle_meter_needle17:Class = HabboWindowManagerCom_landing_view_needle_meter_needle17;
        public static var landing_view_needle_meter_needle18:Class = HabboWindowManagerCom_landing_view_needle_meter_needle18;
        public static var landing_view_needle_meter_needle19:Class = HabboWindowManagerCom_landing_view_needle_meter_needle19;
        public static var landing_view_needle_meter_needle2:Class = HabboWindowManagerCom_landing_view_needle_meter_needle2;
        public static var landing_view_needle_meter_needle20:Class = HabboWindowManagerCom_landing_view_needle_meter_needle20;
        public static var landing_view_needle_meter_needle21:Class = HabboWindowManagerCom_landing_view_needle_meter_needle21;
        public static var landing_view_needle_meter_needle22:Class = HabboWindowManagerCom_landing_view_needle_meter_needle22;
        public static var landing_view_needle_meter_needle23:Class = HabboWindowManagerCom_landing_view_needle_meter_needle23;
        public static var landing_view_needle_meter_needle3:Class = HabboWindowManagerCom_landing_view_needle_meter_needle3;
        public static var landing_view_needle_meter_needle4:Class = HabboWindowManagerCom_landing_view_needle_meter_needle4;
        public static var landing_view_needle_meter_needle5:Class = HabboWindowManagerCom_landing_view_needle_meter_needle5;
        public static var landing_view_needle_meter_needle6:Class = HabboWindowManagerCom_landing_view_needle_meter_needle6;
        public static var landing_view_needle_meter_needle7:Class = HabboWindowManagerCom_landing_view_needle_meter_needle7;
        public static var landing_view_needle_meter_needle8:Class = HabboWindowManagerCom_landing_view_needle_meter_needle8;
        public static var landing_view_needle_meter_needle9:Class = HabboWindowManagerCom_landing_view_needle_meter_needle9;
        public static var landing_view_reception_bottom_left:Class = _-J3;
        public static var landing_view_reception_bottom_right:Class = _-cg;
        public static var landing_view_reception_gradient_stretch:Class = _-0WT;
        public static var landing_view_reception_homebutton_hover:Class = _-3eM;
        public static var landing_view_reception_homebutton_normal:Class = _-3Mv;
        public static var landing_view_reception_horizontal:Class = _-1q9;
        public static var landing_view_reception_hotelli_stretch:Class = _-0bt;
        public static var landing_view_twitter_footer_icons:Class = _-0wN;
        public static var messenger_caution:Class = _-0M3;
        public static var messenger_minimize_button:Class = _-VO;
        public static var messenger_notification_icon:Class = _-3lv;
        public static var messenger_profile_icon:Class = _-59S;
        public static var messenger_visit_icon:Class = _-4p6;
        public static var rarity_item_rarity_item_plaque:Class = _-4oU;
        public static var rarity_item_rarity_preview_bg:Class = _-0EW;
        public static var talent_achieved_div:Class = _-vm;
        public static var talent_achieved_left:Class = _-3bc;
        public static var talent_achieved_mid:Class = _-1Mu;
        public static var talent_achieved_right:Class = _-2z0;
        public static var talent_action_overlay:Class = _-sH;
        public static var talent_avatar_glow:Class = _-2uL;
        public static var talent_check_mark_circle:Class = _-1yR;
        public static var talent_citizenship_accomplished:Class = _-0nH;
        public static var talent_helper_icon:Class = _-47b;
        public static var talent_locked_achievement:Class = _-cY;
        public static var talent_locked_stripe:Class = _-1Z8;
        public static var talent_mask_left:Class = _-3bx;
        public static var talent_mask_right:Class = _-0sG;
        public static var talent_progress_lower:Class = _-3av;
        public static var talent_progress_upper:Class = _-449;
        public static var talent_register_cutout_character:Class = _-2UR;
        public static var talent_task_progress_bg:Class = _-4V5;
        public static var talent_task_progress_fg:Class = _-L5;
        public static var talent_task_progress_left:Class = _-30m;
        public static var talent_task_progress_right:Class = _-2bb;
        public static var talent_unachieved_div:Class = _-dk;
        public static var talent_unachieved_left:Class = _-55f;
        public static var talent_unachieved_mid:Class = _-ho;
        public static var talent_unachieved_right:Class = _-1Pd;
        public static var talent_vip_reward:Class = _-3UO;
        public static var unique_item_label_1:Class = _-Y4;
        public static var unique_item_label_glass_shine:Class = _-0Og;
        public static var unique_item_label_number_glyphs:Class = _-4po;
        public static var unique_item_label_plaque_border:Class = _-2xN;
        public static var unique_item_label_plaque_metal:Class = _-3F4;
        public static var unique_item_label_studs:Class = _-0ej;
        public static var unique_item_large_background_wide:Class = _-1k8;
        public static var unique_item_large_glass_bottom:Class = _-2GO;
        public static var unique_item_large_glass_mid:Class = _-3Zj;
        public static var unique_item_large_glass_shine:Class = _-3q2;
        public static var unique_item_large_glass_top:Class = _-0Si;
        public static var unique_item_large_iron:Class = _-21q;
        public static var unique_item_large_na_button:Class = _-Ii;
        public static var unique_item_large_tile_upright:Class = _-0fy;
        public static var unique_item_sold_out_label:Class = _-0sX;
        public static var unique_item_sold_out_tile:Class = _-3uU;
        public static var avatar_image_xml:Class = _-8W;
        public static var badge_image_xml:Class = _-KX;
        public static var balloon_xml:Class = _-0bI;
        public static var clock_base_xml:Class = _-4pI;
        public static var hover_bitmap_xml:Class = _-3b9;
        public static var illumina_border_xml:Class = _-2Ex;
        public static var illumina_chat_bubble_xml:Class = _-0fF;
        public static var illumina_input_xml:Class = _-47h;
        public static var updating_timestamp_xml:Class = _-0OE;
        public static var progress_indicator_xml:Class = _-rB;
        public static var separator_xml:Class = _-20k;
        public static var running_number_xml:Class = _-0Bd;
        public static var unique_item_overlay_griditem_xml:Class = _-2YE;
        public static var unique_item_overlay_supply_xml:Class = _-4Y9;
        public static var unique_item_overlay_preview_xml:Class = _-50Y;
        public static var rarity_item_overlay_griditem_xml:Class = _-1yJ;
        public static var rarity_item_overlay_preview_xml:Class = _-2xY;

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_catalogue_color_picker_27x22_border

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_catalogue_color_picker_27x22_border extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_catalogue_color_picker_27x22_color

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_catalogue_color_picker_27x22_color extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_catalogue_color_picker_27x22_selection

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_catalogue_color_picker_27x22_selection extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_habbo_skin_border_4_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboWindowManagerCom_habbo_skin_border_4_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_habbo_skin_border_5_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboWindowManagerCom_habbo_skin_border_5_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_habbo_skin_border_6_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboWindowManagerCom_habbo_skin_border_6_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_habbo_skin_border_7_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboWindowManagerCom_habbo_skin_border_7_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_habbo_skin_border_8_xml

package 
{
    import mx.core.ByteArrayAsset;

    public class HabboWindowManagerCom_habbo_skin_border_8_xml extends ByteArrayAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_chat_review_decision_searching_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_chat_review_decision_searching_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_chat_review_decision_searching_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_chat_review_decision_searching_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_chat_review_decision_waiting_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_chat_review_decision_waiting_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_chat_review_decision_waiting_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_chat_review_decision_waiting_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_chat_review_progress_big_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_chat_review_progress_big_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_chat_review_progress_big_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_chat_review_progress_big_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_chat_review_progress_big_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_chat_review_progress_big_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_chat_review_progress_big_4

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_chat_review_progress_big_4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_safetybooklet_page_0

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_safetybooklet_page_0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_safetybooklet_page_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_safetybooklet_page_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_safetybooklet_page_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_safetybooklet_page_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_safetybooklet_page_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_safetybooklet_page_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_safetybooklet_page_4

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_safetybooklet_page_4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_safetybooklet_page_5

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_safetybooklet_page_5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_help_safetybooklet_page_6

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_help_safetybooklet_page_6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_meter_level_0

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_meter_level_0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_meter_level_1

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_meter_level_1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_meter_level_2

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_meter_level_2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_meter_level_3

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_meter_level_3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle0

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle0 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle1

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle1 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle10

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle10 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle11

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle11 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle12

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle12 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle13

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle13 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle14

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle14 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle15

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle15 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle16

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle16 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle17

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle17 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle18

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle18 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle19

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle19 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle2

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle2 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle20

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle20 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle21

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle21 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle22

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle22 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle23

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle23 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle3

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle3 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle4

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle4 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle5

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle5 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle6

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle6 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle7

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle7 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle8

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle8 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//HabboWindowManagerCom_landing_view_needle_meter_needle9

package 
{
    import mx.core.BitmapAsset;

    public class HabboWindowManagerCom_landing_view_needle_meter_needle9 extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//ICoreLocalizationFrameworkLib

package 
{
    import com.sulake.iid.IIDCoreLocalizationManager;
    import _-uF.ICoreLocalizationManager;
    import _-uF.ILocalizationDefinition;
    import _-uF.ILocalizable;
    import _-uF.ILocalization;
    import _-6S.LocalizationEvent;

    public class ICoreLocalizationFrameworkLib 
    {

        public static var IIDCoreLocalizationManager:Class = IIDCoreLocalizationManager;
        public static var ICoreLocalizationManager:Class = ICoreLocalizationManager;
        public static var ILocalizationDefinition:Class = ILocalizationDefinition;
        public static var ILocalizable:Class = ILocalizable;
        public static var ILocalization:Class = ILocalization;
        public static var LocalizationEvent:Class = LocalizationEvent;

    }
}//package 

//------------------------------------------------------------
//ICoreWindowFrameworkLib

package 
{
    import com.sulake.iid.IIDCoreWindowManager;
    import _-Ew.ICoreWindowManager;
    import _-Ew.IWindow;
    import _-Ew.IWindowContainer;
    import _-Ew.IWindowContext;
    import _-1ae.IBackgroundWindow;
    import _-1ae.IBitmapWrapperWindow;
    import _-1ae.IBorderWindow;
    import _-1ae.IButtonWindow;
    import _-1ae.ICaptionWindow;
    import _-1ae.ICheckBoxWindow;
    import _-1ae.IContainerButtonWindow;
    import _-1ae.IDesktopWindow;
    import _-1ae.IDisplayObjectWrapper;
    import _-1ae.IDragBarWindow;
    import _-1ae._-37V;
    import _-1ae.IDropMenuWindow;
    import _-1ae.IFrameWindow;
    import _-1ae.IHeaderWindow;
    import _-1ae.IIconWindow;
    import _-1ae.IInteractiveWindow;
    import _-1ae.IItemGridWindow;
    import _-1ae.IItemListWindow;
    import _-1ae.INotifyWindow;
    import _-1ae.IPasswordFieldWindow;
    import _-1ae.IRadioButtonSelectionWindow;
    import _-1ae.IRadioButtonWindow;
    import _-1ae.IRegionWindow;
    import _-1ae.IScalerWindow;
    import _-1ae.IScrollableWindow;
    import _-1ae.IScrollbarWindow;
    import _-1ae.ISelectableWindow;
    import _-1ae.ISelectorWindow;
    import _-1ae.ITabButtonWindow;
    import _-1ae.ITabContentWindow;
    import _-1ae.ITabContextWindow;
    import _-1ae.ISelectorListWindow;
    import _-1ae.ITextFieldWindow;
    import _-1ae.ITextWindow;
    import _-1ae.IToolBarWindow;
    import _-09j.MouseListenerType;
    import _-09j.WindowParam;
    import _-09j.WindowState;
    import _-09j.WindowStyle;
    import _-09j.WindowType;
    import _-0Ie.WindowEvent;
    import _-0Ie.WindowKeyboardEvent;
    import _-0Ie.WindowMessage;
    import _-0Ie.WindowMouseEvent;
    import _-3EM.IMargins;

    public class ICoreWindowFrameworkLib 
    {

        public static var IIDCoreWindowManager:Class = IIDCoreWindowManager;
        public static var ICoreWindowManager:Class = ICoreWindowManager;
        public static var IWindow:Class = IWindow;
        public static var IWindowContainer:Class = IWindowContainer;
        public static var IWindowContext:Class = IWindowContext;
        public static var IBackgroundWindow:Class = IBackgroundWindow;
        public static var IBitmapWrapperWindow:Class = IBitmapWrapperWindow;
        public static var IBorderWindow:Class = IBorderWindow;
        public static var IButtonWindow:Class = IButtonWindow;
        public static var ICaptionWindow:Class = ICaptionWindow;
        public static var ICheckBoxWindow:Class = ICheckBoxWindow;
        public static var IContainerButtonWindow:Class = IContainerButtonWindow;
        public static var IDesktopWindow:Class = IDesktopWindow;
        public static var IDisplayObjectWrapper:Class = IDisplayObjectWrapper;
        public static var IDragBarWindow:Class = IDragBarWindow;
        public static var IDropMenuItemWindow:Class = _-37V;
        public static var IDropMenuWindow:Class = IDropMenuWindow;
        public static var IFrameWindow:Class = IFrameWindow;
        public static var IHeaderWindow:Class = IHeaderWindow;
        public static var IIconWindow:Class = IIconWindow;
        public static var IInteractiveWindow:Class = IInteractiveWindow;
        public static var IItemGridWindow:Class = IItemGridWindow;
        public static var IItemListWindow:Class = IItemListWindow;
        public static var INotifyWindow:Class = INotifyWindow;
        public static var IPasswordFieldWindow:Class = IPasswordFieldWindow;
        public static var IRadioButtonSelectionWindow:Class = IRadioButtonSelectionWindow;
        public static var IRadioButtonWindow:Class = IRadioButtonWindow;
        public static var IRegionWindow:Class = IRegionWindow;
        public static var IScalerWindow:Class = IScalerWindow;
        public static var IScrollableWindow:Class = IScrollableWindow;
        public static var IScrollbarWindow:Class = IScrollbarWindow;
        public static var ISelectableWindow:Class = ISelectableWindow;
        public static var ISelectorWindow:Class = ISelectorWindow;
        public static var ITabButtonWindow:Class = ITabButtonWindow;
        public static var ITabContentWindow:Class = ITabContentWindow;
        public static var ITabContextWindow:Class = ITabContextWindow;
        public static var ISelectorListWindow:Class = ISelectorListWindow;
        public static var ITextFieldWindow:Class = ITextFieldWindow;
        public static var ITextWindow:Class = ITextWindow;
        public static var IToolBarWindow:Class = IToolBarWindow;
        public static var MouseListenerType:Class = MouseListenerType;
        public static var WindowParam:Class = WindowParam;
        public static var WindowState:Class = WindowState;
        public static var WindowStyle:Class = WindowStyle;
        public static var WindowType:Class = WindowType;
        public static var WindowEvent:Class = WindowEvent;
        public static var WindowKeyboardEvent:Class = WindowKeyboardEvent;
        public static var WindowMessage:Class = WindowMessage;
        public static var WindowMouseEvent:Class = WindowMouseEvent;
        public static var IMargins:Class = IMargins;

    }
}//package 

//------------------------------------------------------------
//IHabboLoadingScreen

package 
{
    import flash.events.*;
    import _-1B-.*;

    public interface IHabboLoadingScreen extends _-1zZ, IEventDispatcher 
    {

        function updateLoadingBar(_arg1:Number):void;
        function _-1-e():void;

    }
}//package 

//------------------------------------------------------------
//NewUserReception

package 
{
    import flash.display.Sprite;
    import flash.display.Bitmap;
    import __AS3__.vec.Vector;
    import _-4H5._-2t6;
    import flash.events.Event;
    import flash.events.KeyboardEvent;
    import flash.events.MouseEvent;
    import ui.LoaderUI;
    import flash.text.TextField;
    import ui.NineSplitSprite;
    import flash.filters.GlowFilter;
    import ui._-1XJ;
    import flash.utils.getTimer;
    import flash.geom.Rectangle;
    import __AS3__.vec.*;
    import _-1B-.*;

    public class NewUserReception extends Sprite implements _-1zZ 
    {

        public static const _-3d2:String = "NewUserReceptionFinished";
        private static const _-22m:Array = [{
            targetX:47,
            velocityX:3,
            velocityY:-1.5
        }, {
            targetX:-4,
            velocityX:-3,
            velocityY:-1.5
        }, {
            targetX:-60,
            velocityX:-3,
            velocityY:-3
        }, {
            targetX:-120,
            velocityX:-3,
            velocityY:-1.5
        }, {
            targetX:-120,
            velocityX:3,
            velocityY:-1.5
        }, {
            targetX:-120,
            velocityX:3,
            velocityY:0
        }];

        public static var ubuntu_regular:Class = _-1mh;
        public static var ubuntu_bold:Class = _-027;

        private var _-3TI:Class;
        private var _-4N5:Class;
        private var _-48a:Class;
        private var _-4mW:Class;
        private var _-4eV:Class;
        private var avatar_walk_1_png:Class;
        private var avatar_walk_2_png:Class;
        private var avatar_walk_3_png:Class;
        private var avatar_walk_4_png:Class;
        private var _-0N3:Class;
        private var _-0KU:Bitmap;
        private var _-2US:Vector.<Bitmap>;
        private var _disposed:Boolean = false;
        private var _-2PQ:Sprite;
        private var _-2i-:_-2t6;
        private var _-4Z7:Sprite;
        private var _-17x:Sprite;
        private var _-3Xj:Sprite;
        private var _-01W:Sprite;
        private var _-1CY:Sprite;
        private var _-3C9:Bitmap;
        private var _-3Y5:Boolean;
        private var _-2Ph:int;
        private var _-0Q:Bitmap;

        public function NewUserReception()
        {
            this._-3TI = _-3pg;
            this._-4N5 = _-YB;
            this._-48a = _-FN;
            this._-4mW = _-3pS;
            this._-4eV = _-EF;
            this.avatar_walk_1_png = NewUserReception_avatar_walk_1_png;
            this.avatar_walk_2_png = NewUserReception_avatar_walk_2_png;
            this.avatar_walk_3_png = NewUserReception_avatar_walk_3_png;
            this.avatar_walk_4_png = NewUserReception_avatar_walk_4_png;
            this._-0N3 = _-0yO;
            this._-0KU = new this._-4eV();
            this._-2US = new <Bitmap>[new this.avatar_walk_1_png(), new this.avatar_walk_2_png(), new this.avatar_walk_3_png(), new this.avatar_walk_4_png()];
            super();
        }
        public function init():void
        {
            var k:Bitmap;
            stage.addEventListener(Event.RESIZE, this._-2tV);
            stage.addEventListener(KeyboardEvent.KEY_DOWN, this._-5C);
            stage.addEventListener(Event.ENTER_FRAME, this.onEnterFrame);
            this._-2PQ = new Sprite();
            addChild(this._-2PQ);
            var k:Bitmap = new this._-3TI();
            this._-2PQ.addChild(k);
            k.x = -(int((k.width / 2)));
            k.y = -(int((k.height / 2)));
            this._-Yo();
            this._-4Z7 = new Sprite();
            this._-4Z7.addChild(new this._-48a());
            this._-2PQ.addChild(this._-4Z7);
            this._-4Z7.x = 41;
            this._-4Z7.y = 83;
            this._-4Z7.addEventListener(MouseEvent.MOUSE_DOWN, this._-kY);
            this._-4Z7.buttonMode = true;
            this._-0Q = new this._-4mW();
            this._-2PQ.addChild(this._-0Q);
            this._-0Q.x = -135;
            this._-0Q.y = -379;
            this._-0Q.alpha = 0;
            this._-1CY = new Sprite();
            var k:Bitmap = new this._-0N3();
            this._-1CY.addChild(k);
            k.y = 67;
            this._-3C9 = new Bitmap();
            this._-3C9.bitmapData = this._-0KU.bitmapData;
            this._-1CY.addChild(this._-3C9);
            this._-2PQ.addChild(this._-1CY);
            this._-1CY.x = -132;
            this._-1CY.y = 117;
            k = new this._-4N5();
            this._-2PQ.addChild(k);
            k.x = -126;
            k.y = 187;
            k = new this._-4N5();
            this._-2PQ.addChild(k);
            k.x = 15;
            k.y = 117;
            this._-17x = new Sprite();
            var k:TextField = LoaderUI._-R5(this.getString("tile.click.popup", "Click the highlighted tile to walk up to the desk."), 11, 0xFFFFFF, false, true);
            k.x = 15;
            k.y = 12;
            k.width = 120;
            this._-17x.addChild(NineSplitSprite._-ZR.render((k.textWidth + 32), (k.textHeight + 30)));
            this._-17x.addChild(k);
            this._-2PQ.addChild(this._-17x);
            this._-17x.x = 98;
            this._-17x.y = 111;
            this._-3Xj = new Sprite();
            var k:TextField = LoaderUI._-R5(this.getString("receptionist.start.title", "Hiya!"), 18, 0, true);
            k.x = 18;
            k.y = 18;
            k.defaultTextFormat.kerning = -10;
            var k:TextField = LoaderUI._-R5(this.getString("receptionist.start.text", "Step on over to check in!"), 11, 0x424242, true);
            k.x = k.x;
            LoaderUI._-Ax(k, -2, k);
            this._-3Xj.addChild(LoaderUI._-4o1((k.width + 36), ((k.y + k.height) + 20), 50, false));
            this._-3Xj.addChild(k);
            this._-3Xj.addChild(k);
            this._-2PQ.addChild(this._-3Xj);
            this._-3Xj.x = 88;
            this._-3Xj.y = -123;
            this._-3Xj.filters = [new GlowFilter(0, 0.12, 20, 20)];
        }
        private function _-kY(_arg1:MouseEvent):void
        {
            this._-3Y5 = true;
            if (this._-17x != null)
            {
                this._-2PQ.removeChild(this._-17x);
                this._-4Z7.removeEventListener(MouseEvent.MOUSE_DOWN, this._-kY);
                this._-17x = null;
            };
        }
        private function onEnterFrame(_arg1:Event):void
        {
            var _local5:TextField;
            var _local6:TextField;
            var _local7:TextField;
            var _local8:_-1XJ;
            var _local9:int;
            if (((!((this._-4Z7 == null))) && ((this._-0Q.alpha < 0.1))))
            {
                this._-4Z7.filters = [new GlowFilter(0xFFFFFF, (0.5 + (0.5 * Math.sin((getTimer() * 0.005)))), 10, 10, 1.5)];
            };
            if ((((((this._-1CY == null)) || (!(this._-3Y5)))) || ((this._-2Ph >= _-22m.length))))
            {
                return;
            };
            var k:Bitmap = this._-2US[(int((getTimer() / 120)) % this._-2US.length)];
            this._-1CY.x = (this._-1CY.x + _-22m[this._-2Ph].velocityX);
            this._-1CY.y = (this._-1CY.y + _-22m[this._-2Ph].velocityY);
            var k:int = _-22m[this._-2Ph].targetX;
            var k:Boolean = (((_-22m[this._-2Ph].velocityX > 0)) ? (this._-1CY.x >= k) : (this._-1CY.x <= k));
            if (k)
            {
                this._-1CY.x = k;
                switch (this._-2Ph)
                {
                    case 0:
                        k = this._-0KU;
                        this._-3Y5 = false;
                        this._-0Q.alpha = 1;
                        this._-4Z7.filters = [new GlowFilter(0xFFFFFF, 1, 10, 10, 1.5)];
                        this._-2PQ.removeChild(this._-3Xj);
                        _local5 = LoaderUI._-R5(this.getString("receptionist.welcome.title", "Good job!"), 24, 0, true);
                        _local5.x = 26;
                        _local5.y = 26;
                        _local5.defaultTextFormat.kerning = -10;
                        _local6 = LoaderUI._-R5(this.getString("receptionist.welcome.subtitle", "Welcome to Habbo Hotel. :)"), 13, 0x242424, true);
                        _local6.x = _local5.x;
                        _local7 = LoaderUI._-R5(this.getString("receptionist.welcome.text", "Now that you've arrived, let's get you all checked in. It's real easy, fun, and doesn't take you longer than a couple of minutes."), 11, 0, false, true);
                        _local7.x = _local5.x;
                        _local7.width = 328;
                        _local8 = new _-1XJ(this.getString("receptionist.welcome.submit", "Let's do this thing!"), new Rectangle(_local5.x, 0, 0, 32), true, this._-js, 0xD8D8D8);
                        LoaderUI._-Ax(_local5, 0, _local6, 6, _local7, 22, _local8);
                        this._-01W = new Sprite();
                        _local9 = (Math.max(_local5.textWidth, _local6.textWidth, _local7.textWidth) + 52);
                        this._-01W.addChild(LoaderUI._-4o1(_local9, (_local8.y + 60), -1, false));
                        this._-01W.addChild(_local5);
                        this._-01W.addChild(_local6);
                        this._-01W.addChild(_local7);
                        this._-01W.addChild(_local8);
                        this._-2PQ.addChild(this._-01W);
                        this._-01W.x = (143 - int((this._-01W.width / 2)));
                        this._-01W.y = (-38 - int(this._-01W.height));
                        this._-01W.filters = [new GlowFilter(0, 0.12, 20, 20)];
                        break;
                    case 3:
                        this._-1CY.scaleX = 1;
                        this._-1CY.x = (this._-1CY.x - this._-1CY.width);
                        break;
                    case 4:
                        k = this._-0KU;
                        break;
                };
                this._-2Ph++;
            };
            this._-3C9.bitmapData = k.bitmapData;
            if (this._-2Ph == _-22m.length)
            {
                dispatchEvent(new Event(_-3d2));
            };
        }
        private function _-js():void
        {
            this._-2i- = new _-2t6(this);
        }
        private function _-5C(_arg1:KeyboardEvent):void
        {
        }
        private function _-k9():void
        {
        }
        private function _-2tV(_arg1:Event):void
        {
            this._-Yo();
        }
        private function _-Yo():void
        {
            this._-2PQ.x = int((stage.stageWidth / 2));
            this._-2PQ.y = int((stage.stageHeight / 2));
        }
        public function dispose():void
        {
            if (this._disposed)
            {
                return;
            };
            this._-xE();
            stage.removeChild(this);
            this._disposed = true;
        }
        private function _-xE():void
        {
            if (this._-2i- != null)
            {
                this._-2i-.dispose();
                this._-2i- = null;
            };
        }
        public function _-1gD():void
        {
            this._-xE();
            if (this._-01W != null)
            {
                this._-2PQ.removeChild(this._-01W);
                this._-01W = null;
            };
            this._-3Y5 = true;
            this._-1CY.scaleX = -1;
            this._-1CY.x = 96;
            this._-1CY.y = 27;
        }
        public function get disposed():Boolean
        {
            return (this._disposed);
        }
        private function _-0u0(_arg1:Event):void
        {
            if (_arg1.target != _arg1.currentTarget)
            {
                return;
            };
            dispatchEvent(new Event(_-3d2));
        }
        public function get _-0X4():Sprite
        {
            return (this._-2PQ);
        }
        public function getString(_arg1:String, _arg2:String):String
        {
            var k:String = stage.loaderInfo.parameters[("new.user.reception." + _arg1)];
            if ((((k == null)) || ((k == ""))))
            {
                return (_arg2);
            };
            return (k);
        }
        public function getNumber(_arg1:String, _arg2:int):int
        {
            var k:String = stage.loaderInfo.parameters[("new.user.reception." + _arg1)];
            if ((((k == null)) || ((k == ""))))
            {
                return (_arg2);
            };
            return (int(k));
        }

    }
}//package 

//------------------------------------------------------------
//NewUserReception_avatar_walk_1_png

package 
{
    import mx.core.BitmapAsset;

    public class NewUserReception_avatar_walk_1_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//NewUserReception_avatar_walk_2_png

package 
{
    import mx.core.BitmapAsset;

    public class NewUserReception_avatar_walk_2_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//NewUserReception_avatar_walk_3_png

package 
{
    import mx.core.BitmapAsset;

    public class NewUserReception_avatar_walk_3_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//NewUserReception_avatar_walk_4_png

package 
{
    import mx.core.BitmapAsset;

    public class NewUserReception_avatar_walk_4_png extends BitmapAsset 
    {

    }
}//package 

//------------------------------------------------------------
//RoomManagerLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.RoomManagerBootstrap;
    import com.sulake.iid.IIDRoomManager;

    public class RoomManagerLib extends SimpleApplication 
    {

        public static var manifest:Class = _-3Ke;
        public static var requiredClasses:Array = new Array(RoomManagerBootstrap, IIDRoomManager);

    }
}//package 

//------------------------------------------------------------
//RoomSpriteRendererLib

package 
{
    import mx.core.SimpleApplication;
    import com.sulake.bootstrap.RoomRendererFactoryBootstrap;
    import com.sulake.bootstrap.TestableRoomRendererFactoryBootstrap;
    import com.sulake.iid.IIDRoomRendererFactory;

    public class RoomSpriteRendererLib extends SimpleApplication 
    {

        public static var requiredClasses:Array = new Array(RoomRendererFactoryBootstrap, TestableRoomRendererFactoryBootstrap, IIDRoomRendererFactory);
        public static var manifest:Class = _-2Ag;

    }
}//package 

//------------------------------------------------------------
//use 

package 
{
    import mx.core.ByteArrayAsset;

    public class use  extends ByteArrayAsset 
    {

    }
}//package 

